Skip to content

[WIP] [CLI-Update] Sync Codex CLI upstream changes#7

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/sync-codex-cli-upstream-changes
Draft

[WIP] [CLI-Update] Sync Codex CLI upstream changes#7
Copilot wants to merge 2 commits intomainfrom
copilot/sync-codex-cli-upstream-changes

Conversation

Copy link

Copilot AI commented Mar 17, 2026

  • Explore repository and understand current structure
  • Update submodule from 6638558b to 4b4f61d3
  • Create CodexSharpSDK/Models/CodexFeatureKeys.cs with all known feature key constants (including new tool_call_mcp_elicitation)
  • Update CodexExecTests.cs to use feature key constants instead of inline strings
  • Create CodexSharpSDK.Tests/Unit/CodexFeatureKeysTests.cs to validate new constants
  • Build and test
  • Code review and security scan
Original 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/codex affecting CLI surface tracking.

  • Submodule path: submodules/openai-codex
  • Watched branch: main
  • Current pinned commit: 6638558b8807328e852b54580b010be7034699b7
  • Latest upstream commit: 4b4f61d37965b7a37ef1462f7dc5aa927618c9ae
  • Compare: openai/codex@6638558...4b4f61d
  • Latest commit: openai/codex@4b4f61d

Changed files (CLI-relevant)

  • codex-rs/Cargo.lock
  • codex-rs/app-server-protocol/schema/json/ClientRequest.json
  • codex-rs/app-server-protocol/schema/json/EventMsg.json
  • codex-rs/app-server-protocol/schema/json/McpServerElicitationRequestParams.json
  • codex-rs/app-server-protocol/schema/json/McpServerElicitationRequestResponse.json
  • codex-rs/app-server-protocol/schema/json/ServerNotification.json
  • codex-rs/app-server-protocol/schema/json/ServerRequest.json
  • codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.schemas.json
  • codex-rs/app-server-protocol/schema/json/codex_app_server_protocol.v2.schemas.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecOutputDeltaNotification.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecParams.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecResizeParams.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecResizeResponse.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecResponse.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecTerminateParams.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecTerminateResponse.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecWriteParams.json
  • codex-rs/app-server-protocol/schema/json/v2/CommandExecWriteResponse.json
  • codex-rs/app-server-protocol/schema/json/v2/ConfigReadResponse.json
  • codex-rs/app-server-protocol/schema/json/v2/PluginListParams.json
  • codex-rs/app-server-protocol/schema/json/v2/PluginListResponse.json
  • codex-rs/app-server-protocol/schema/json/v2/RawResponseItemCompletedNotification.json
  • codex-rs/app-server-protocol/schema/json/v2/ThreadResumeParams.json
  • codex-rs/app-server-protocol/schema/json/v2/WindowsSandboxSetupStartParams.json
  • codex-rs/app-server-protocol/schema/typescript/ClientRequest.ts
  • codex-rs/app-server-protocol/schema/typescript/ElicitationRequest.ts
  • codex-rs/app-server-protocol/schema/typescript/ElicitationRequestEvent.ts
  • codex-rs/app-server-protocol/schema/typescript/ImageGenerationEndEvent.ts
  • codex-rs/app-server-protocol/schema/typescript/ImageGenerationItem.ts
  • codex-rs/app-server-protocol/schema/typescript/ServerNotification.ts
  • codex-rs/app-server-protocol/schema/typescript/WebSearchContextSize.ts
  • codex-rs/app-server-protocol/schema/typescript/WebSearchLocation.ts
  • codex-rs/app-server-protocol/schema/typescript/WebSearchToolConfig.ts
  • codex-rs/app-server-protocol/schema/typescript/index.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecOutputDeltaNotification.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecOutputStream.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecParams.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecResizeParams.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecResizeResponse.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecResponse.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecTerminalSize.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecTerminateParams.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecTerminateResponse.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecWriteParams.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/CommandExecWriteResponse.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationArrayType.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationBooleanSchema.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationBooleanType.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationConstOption.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationEnumSchema.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationLegacyTitledEnumSchema.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationMultiSelectEnumSchema.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationNumberSchema.ts
  • codex-rs/app-server-protocol/schema/typescript/v2/McpElicitationNumberType.ts
  • `codex-rs/app-serv...

🔒 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.

Co-authored-by: KSemenenko <4385716+KSemenenko@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sync Codex CLI upstream changes (6638558 -> 4b4f61d)

2 participants