Repository navigation
Conversation
EugeneTheDev
pushed a commit
that referenced
this pull request
Nov 11, 2026
I maintain the [nixpkg](https://github.com/NixOS/nixpkgs/blob/1a04a224938e97a7a4d4d5bfb36a4099f9c6ab21/pkgs/by-name/co/codex-acp/package.nix#L65) of codex-acp, and I'm trying to [upgrade](NixOS/nixpkgs#582790) from v2.1.1 to v2.5.0. Linux x86-64 builds are currently failing for a few reasons, which I plan to file PRs to fix here upstream. From Codex: > The supervisor tests generate executable scripts with `#!/usr/bin/env node`. > These fail to start in the Nix Linux build sandbox, where `/usr/bin/env` > is absent, causing three output-draining tests to fail. > > Use `process.execPath` in the generated shebangs so fixtures run with the > same Node executable as the test runner. Related to #742
Contributor
Author
|
@EugeneTheDev could I please get a review of this as well? Thanks. |
EugeneTheDev
requested changes
Nov 17, 2026
EugeneTheDev
approved these changes
Nov 18, 2026
benbrandt
pushed a commit
that referenced
this pull request
Nov 19, 2026
🤖 I have created a release *beep* *boop* --- ## [2.8.0](v2.7.0...v2.8.0) (2026-11-19) ### Features * report ACP v2 background work and cancel individual terminals ([#777](#777)) ([74dffa0](74dffa0)) * support MCP-over-ACP in the Codex adapter ([#771](#771)) ([b9503ae](b9503ae)) ### Bug Fixes * align adapter with ACP SDK 2.7 and current protocol rules ([#769](#769)) ([887aab6](887aab6)) * align adapter with ACP SDK 2.8 and current protocol rules ([#775](#775)) ([0a17129](0a17129)) * avoid stack overflow when snapshotting deeply nested JSON ([#742](#742)) ([06425cc](06425cc)) * put model settings first in session config options ([#778](#778)) ([3645fab](3645fab)) * update codex to 0.170.0 ([#780](#780)) ([77b12a1](77b12a1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: acp-release-bot[bot] <246668977+acp-release-bot[bot]@users.noreply.github.com>
nyssance
added a commit
to nyssance/codex-acp
that referenced
this pull request
Nov 19, 2026
…ings first Upstream since agentclientprotocol#771: ACP SDK 2.8 alignment (agentclientprotocol#775), v2 background work and terminal cancellation (agentclientprotocol#777), model settings first in config options (agentclientprotocol#778), the deeply nested JSON snapshot fix (agentclientprotocol#742), Codex 0.170.0 (agentclientprotocol#780). Kept from this adapter: - An ordinary v2 prompt during a running turn is still steered into it. A keyed prompt takes upstream's derived message ID and shared receipt and is steered once; a prompt cannot set both an idempotencyKey and _meta.alwith.messageId. - Child interruption still goes through requestTurnInterrupt and its retry. It now reports whether the turn stopped, so a v2 close can require it. - The generated app-server types (--experimental), the image and audio input mapping, the gateway-aware model provider, typed turn failures. Taken from upstream: - A v2 session/cancel stops the foreground and leaves children listed as background work running until they are cancelled themselves or the session closes. The parent-cancellation test follows that rule on v2. - Upstream's field order in shared test fixtures. The deep-nesting snapshot test gets a longer timeout: Bun serializes values about ten times deeper than Node before its stack runs out. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01RaizxxJBbHnYoG9L4g1u5b
mrmans0n
added a commit
to mrmans0n/codex-acp
that referenced
this pull request
Nov 19, 2026
Upstream v2.8.0 changed four places next to 904a70d's lines: - agentclientprotocol#775 rejects a fork at a session cursor at the top of forkSession, where the patch maps the ACP v1 _meta.systemPrompt.append alias. The cursor check stays first; the alias mapping follows it unchanged. - agentclientprotocol#778 puts the model options first in session configOptions and notes it in the scenario baseline comment and in docs/air-extensions.md, next to the patch's notes on the opt-in system prompt append capability. Both notes are kept. - agentclientprotocol#771 (MCP-over-ACP) rewrites the README line after the patch's system prompt append line. Both lines are kept. - agentclientprotocol#742 replaces JsonSnapshot's recursive walk with an explicit container stack, so the snapshot walk no longer uses call stack per level. The patch's MAX_DEPTH 64 headroom for native JSON.stringify existed only because of that recursion. On darwin-arm64 (Node 26), upstream's new test (the deepest value JSON.stringify accepts) fails with a RangeError on the v2.7.0 recursive walk both at 256 and with the downstream 64, and passes on agentclientprotocol#742's walk at 256. The adaptation drops that hunk and follows upstream's MAX_DEPTH 256. Apart from the dropped JsonSnapshot hunk (one removed and three added lines), the sorted added and removed lines are identical to 904a70d (originally fc0eb68). Upstream v2.8.0 does not change the systemPrompt conversion that the alias feeds; newSessionV2, resumeSessionV2 and forkSessionV2 only drop configOptions.
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.
I maintain the nixpkg of codex-acp, and I'm trying to upgrade from v2.1.1 to v2.5.0. Linux x86-64 builds are currently failing for a few reasons, which I plan to file PRs to fix here upstream.
From Codex:
Related to #741