Skip to content

[WIP] Sync Codex CLI upstream changes to latest commit#9

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

[WIP] Sync Codex CLI upstream changes to latest commit#9
Copilot wants to merge 2 commits intomainfrom
copilot/sync-codex-cli-upstream-changes-another-one

Conversation

Copy link

Copilot AI commented Mar 17, 2026

  • Explore repo structure and understand what needs to change
  • Update submodule to 3b5fe5ca35d914645a818d454a3931f6748b7e77
  • Create CodexSharpSDK/Models/CodexFeatures.cs with all canonical feature flag constants (including new guardian_approval and tool_call_mcp_elicitation)
  • Create CodexSharpSDK.Tests/Unit/CodexFeaturesTests.cs to validate SDK constants against upstream config schema
  • Run tests to verify changes
  • Update docs (docs/Features/ if needed)
  • Run code review and security checks
Original 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/codex affecting CLI surface tracking.

  • Submodule path: submodules/openai-codex
  • Watched branch: main
  • Current pinned commit: 6638558b8807328e852b54580b010be7034699b7
  • Latest upstream commit: 3b5fe5ca35d914645a818d454a3931f6748b7e77
  • Compare: openai/codex@6638558...3b5fe5c
  • Latest commit: openai/codex@3b5fe5c

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

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

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 -> 3b5fe5c)

2 participants