Skip to content

Support openai/form extended form elicitations#27500

Merged
gpeal merged 13 commits into
mainfrom
gpeal/openai-form-app-server
Jun 18, 2026
Merged

Support openai/form extended form elicitations#27500
gpeal merged 13 commits into
mainfrom
gpeal/openai-form-app-server

Conversation

@gpeal

@gpeal gpeal commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Allow App Server clients to opt into openai/form MCP elicitations.

@gpeal gpeal changed the title Support OpenAI extended form elicitations [WIP] Support OpenAI extended form elicitations Jun 11, 2026
@gpeal gpeal force-pushed the gpeal/openai-form-app-server branch 2 times, most recently from 65a1e46 to 780037c Compare June 12, 2026 21:38
@gpeal gpeal force-pushed the gpeal/openai-form-app-server branch from 780037c to 0e9a4ea Compare June 16, 2026 19:10
@gpeal gpeal changed the title [WIP] Support OpenAI extended form elicitations Support OpenAI extended form elicitations Jun 16, 2026
@gpeal gpeal changed the title Support OpenAI extended form elicitations Support openai/form extended form elicitations Jun 16, 2026
Comment thread codex-rs/app-server-protocol/src/protocol/v1.rs
Comment thread codex-rs/app-server/src/request_processors/initialize_processor.rs Outdated
Comment thread codex-rs/rmcp-client/src/rmcp_client.rs Outdated
Comment thread codex-rs/codex-mcp/src/rmcp_client.rs Outdated
Comment thread codex-rs/app-server/src/request_processors/thread_processor.rs
Comment thread codex-rs/core/src/session/mcp.rs Outdated
Comment thread codex-rs/app-server/tests/suite/v2/mcp_server_elicitation.rs Outdated

@pakrym-oai pakrym-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only blocking comments is please let's not store the setting in extension data and add more core (test_codex()) integration tests for new capability.

@gpeal gpeal marked this pull request as ready for review June 17, 2026 21:36
@gpeal gpeal requested a review from a team as a code owner June 17, 2026 21:36

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7dc91138b0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/app-server/src/request_processors/thread_processor.rs Outdated
@gpeal gpeal requested a review from pakrym-oai June 17, 2026 23:06
@gpeal

gpeal commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review this

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b1a2fb4d5f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

)
.await?;
existing_thread
.set_openai_form_elicitation_support(supports_openai_form_elicitation)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep openai/form support tied to the active connection

When a second connection resumes an already loaded thread, this overwrites the session-wide MCP capability with that connection's initialize bit. Because subsequent turn/start requests do not pass the caller's mcpServerOpenaiFormElicitation value, a non-supporting connection that resumes a shared thread leaves the next MCP refresh advertising no openai/form, even if the supporting client later starts the turn; the reverse can also leave the extension enabled for subscribers that never opted in. Keep this negotiation per connection/turn, or refresh it from the turn-starting connection before reconnecting MCP servers.

AGENTS.md reference: AGENTS.md:L103-L110

Useful? React with 👍 / 👎.

Comment thread codex-rs/app-server-client/src/lib.rs Outdated
@gpeal gpeal merged commit 21a599f into main Jun 18, 2026
31 checks passed
@gpeal gpeal deleted the gpeal/openai-form-app-server branch June 18, 2026 18:54
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants