Skip to content

Update codex to 0.114.0 - #70

Merged
slapoguzov merged 4 commits into
mainfrom
codex-update/0.114.0
Mar 19, 2026
Merged

Update codex to 0.114.0#70
slapoguzov merged 4 commits into
mainfrom
codex-update/0.114.0

Conversation

@codex-acp-ci-app

Copy link
Copy Markdown

What's new

Previously failed test and reason:

  1. src/__tests__/CodexACPAgent/CodexAcpClient.test.ts -> ACP server test > should authenticate with key failed because the model/list snapshot no longer matched the updated Codex response shape and content (new gpt-5.4 entry plus updated upgradeInfo.migrationMarkdown text/order).

What I changed and why:

  1. Updated CodexEventHandler.ts to explicitly handle new notification variants (command/exec/outputDelta, hook/started, hook/completed) with explicit no-op cases.
    Reason: the generated ServerNotification union changed after the update, and the switch needed explicit handling to remain exhaustive and type-safe.

  2. Updated auth-with-key.json snapshot data for the model/list response.
    Reason: post-update model metadata changed (including gpt-5.4 and revised upgrade messaging), so the expected test fixture had to reflect the new protocol output.

@ishulgin
ishulgin force-pushed the codex-update/0.114.0 branch from 51bc998 to daa4ef4 Compare March 11, 2026 13:22
* Request initiated from the server and sent to the client.
*/
export type ServerRequest = { "method": "item/commandExecution/requestApproval", id: RequestId, params: CommandExecutionRequestApprovalParams, } | { "method": "item/fileChange/requestApproval", id: RequestId, params: FileChangeRequestApprovalParams, } | { "method": "item/tool/requestUserInput", id: RequestId, params: ToolRequestUserInputParams, } | { "method": "mcpServer/elicitation/request", id: RequestId, params: McpServerElicitationRequestParams, } | { "method": "item/tool/call", id: RequestId, params: DynamicToolCallParams, } | { "method": "account/chatgptAuthTokens/refresh", id: RequestId, params: ChatgptAuthTokensRefreshParams, } | { "method": "applyPatchApproval", id: RequestId, params: ApplyPatchApprovalParams, } | { "method": "execCommandApproval", id: RequestId, params: ExecCommandApprovalParams, };
export type ServerRequest = { "method": "item/commandExecution/requestApproval", id: RequestId, params: CommandExecutionRequestApprovalParams, } | { "method": "item/fileChange/requestApproval", id: RequestId, params: FileChangeRequestApprovalParams, } | { "method": "item/tool/requestUserInput", id: RequestId, params: ToolRequestUserInputParams, } | { "method": "mcpServer/elicitation/request", id: RequestId, params: McpServerElicitationRequestParams, } | { "method": "item/permissions/requestApproval", id: RequestId, params: PermissionsRequestApprovalParams, } | { "method": "item/tool/call", id: RequestId, params: DynamicToolCallParams, } | { "method": "account/chatgptAuthTokens/refresh", id: RequestId, params: ChatgptAuthTokensRefreshParams, } | { "method": "applyPatchApproval", id: RequestId, params: ApplyPatchApprovalParams, } | { "method": "execCommandApproval", id: RequestId, params: ExecCommandApprovalParams, };

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.

I almost skipped . I think we need to create a switch/case with supported and unsupported requests as we do with notifications

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.

LLM-25722 Add support for item/permissions/requestApproval in codex-acp adapter - created to support this

@slapoguzov
slapoguzov merged commit 626b1f6 into main Mar 19, 2026
3 checks passed
@ishulgin
ishulgin deleted the codex-update/0.114.0 branch April 29, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant