[WIP] Sync Codex CLI upstream changes to latest commit#9
Draft
[WIP] Sync Codex CLI upstream changes to latest commit#9
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.
3b5fe5ca35d914645a818d454a3931f6748b7e77CodexSharpSDK/Models/CodexFeatures.cswith all canonical feature flag constants (including newguardian_approvalandtool_call_mcp_elicitation)CodexSharpSDK.Tests/Unit/CodexFeaturesTests.csto validate SDK constants against upstream config schemaOriginal prompt
This section details on the original issue you should resolve
<issue_title>Sync Codex CLI upstream changes (6638558 -> 3b5fe5c)</issue_title>
<issue_description>
Detected upstream updates in
openai/codexaffecting CLI surface tracking.submodules/openai-codexmain6638558b8807328e852b54580b010be7034699b73b5fe5ca35d914645a818d454a3931f6748b7e77Changed 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💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.