[WIP] [CLI-Update] Sync Codex CLI upstream changes#7
Draft
Conversation
Co-authored-by: KSemenenko <4385716+KSemenenko@users.noreply.github.com>
Copilot stopped work on behalf of
KSemenenko due to an error
March 17, 2026 21:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
6638558bto4b4f61d3CodexSharpSDK/Models/CodexFeatureKeys.cswith all known feature key constants (including newtool_call_mcp_elicitation)CodexExecTests.csto use feature key constants instead of inline stringsCodexSharpSDK.Tests/Unit/CodexFeatureKeysTests.csto validate new constantsOriginal prompt
This section details on the original issue you should resolve
<issue_title>Sync Codex CLI upstream changes (6638558 -> 4b4f61d)</issue_title>
<issue_description>
Detected upstream updates in
openai/codexaffecting CLI surface tracking.submodules/openai-codexmain6638558b8807328e852b54580b010be7034699b74b4f61d37965b7a37ef1462f7dc5aa927618c9aeChanged files (CLI-relevant)
codex-rs/Cargo.lockcodex-rs/app-server-protocol/schema/json/ClientRequest.jsoncodex-rs/app-server-protocol/schema/json/EventMsg.jsoncodex-rs/app-server-protocol/schema/json/McpServerElicitationRequestParams.jsoncodex-rs/app-server-protocol/schema/json/McpServerElicitationRequestResponse.jsoncodex-rs/app-server-protocol/schema/json/ServerNotification.jsoncodex-rs/app-server-protocol/schema/json/ServerRequest.jsoncodex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.jsoncodex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecOutputDeltaNotification.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecParams.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecResizeParams.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecResizeResponse.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecResponse.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecTerminateParams.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecTerminateResponse.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecWriteParams.jsoncodex-rs/app-server-protocol/schema/json/v2/CommandExecWriteResponse.jsoncodex-rs/app-server-protocol/schema/json/v2/ConfigReadResponse.jsoncodex-rs/app-server-protocol/schema/json/v2/PluginListParams.jsoncodex-rs/app-server-protocol/schema/json/v2/PluginListResponse.jsoncodex-rs/app-server-protocol/schema/json/v2/RawResponseItemCompletedNotification.jsoncodex-rs/app-server-protocol/schema/json/v2/ThreadResumeParams.jsoncodex-rs/app-server-protocol/schema/json/v2/WindowsSandboxSetupStartParams.jsoncodex-rs/app-server-protocol/schema/typescript/ClientRequest.tscodex-rs/app-server-protocol/schema/typescript/ElicitationRequest.tscodex-rs/app-server-protocol/schema/typescript/ElicitationRequestEvent.tscodex-rs/app-server-protocol/schema/typescript/ImageGenerationEndEvent.tscodex-rs/app-server-protocol/schema/typescript/ImageGenerationItem.tscodex-rs/app-server-protocol/schema/typescript/ServerNotification.tscodex-rs/app-server-protocol/schema/typescript/WebSearchContextSize.tscodex-rs/app-server-protocol/schema/typescript/WebSearchLocation.tscodex-rs/app-server-protocol/schema/typescript/WebSearchToolConfig.tscodex-rs/app-server-protocol/schema/typescript/index.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecOutputDeltaNotification.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecOutputStream.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecParams.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecResizeParams.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecResizeResponse.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecResponse.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecTerminalSize.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecTerminateParams.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecTerminateResponse.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecWriteParams.tscodex-rs/app-server-protocol/schema/typescript/v2/CommandExecWriteResponse.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationArrayType.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationBooleanSchema.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationBooleanType.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationConstOption.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationEnumSchema.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationLegacyTitledEnumSchema.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationMultiSelectEnumSchema.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationNumberSchema.tscodex-rs/app-server-protocol/schema/typescript/v2/McpElicitationNumberType.ts🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.