chore: bump codex and claude ACP adapter ranges#163
chore: bump codex and claude ACP adapter ranges#163dutifulbob merged 2 commits intoopenclaw:mainfrom
Conversation
claude-agent-acp 0.21.0 (SDK 0.2.71) has a bug where `session/new` fails with "Query closed before response received" — the inner Claude Code subprocess closes during initialization. This was fixed upstream in 0.22.0 (SDK 0.2.76), but the ^0.21.0 semver range prevents resolving to 0.22.x. Verified: adapter 0.22.2 creates sessions successfully, full round-trip prompt/response works. All 253 tests pass.
There was a problem hiding this comment.
Pull request overview
This PR updates the default semver range used for the built-in Claude ACP adapter command to pick up an upstream fix that prevents session/new failures (“Query closed before response received”).
Changes:
- Bump
@zed-industries/claude-agent-acpadapter range from^0.21.0to^0.22.0in the built-in agent registry.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Triage resultHuman attention: Quick readThis PR is a one-line built-in adapter bump in The change is right-shaped for the reported problem, and the initial conflict gate against IntentUpdate acpx's built-in Claude adapter version range so new Claude sessions use a fixed upstream adapter and work by default. WhyThe underlying issue is that acpx currently resolves the built-in Claude command to Codex reviewNo Codex review findings were produced on this handoff path. The solution assessment so far is that the PR is likely correct because it changes the exact built-in version range implicated by the bug and does not broaden scope beyond that default registry mapping. CI/CDInitial conflict status: clean against CI/CD status was not evaluated in this handoff step, and no final conflict gate result is available yet. RecommendationA human should decide whether the author's stated manual verification is enough evidence for this bug-fix PR, or provide a concrete reproduction and verification path before continuing. If a maintainer is satisfied that the upstream adapter fix is the real root cause and the range bump is the intended product behavior, this can continue after that human judgment. |
Problem
The built-in ACP adapter ranges for Codex and Claude were behind the latest npm releases.
As of March 28, 2026, npm reports:
@zed-industries/codex-acp:0.10.0@zed-industries/claude-agent-acp:0.23.1Fix
Update the built-in adapter package ranges in
src/agent-registry.ts:codex:^0.9.5->^0.10.0claude:^0.21.0->^0.23.1Verification
npm view @zed-industries/codex-acp dist-tags --jsonnpm view @zed-industries/claude-agent-acp dist-tags --jsonpnpm run buildpnpm exec tsx --test test/agent-registry.test.tspnpm exec tsx --test test/version.test.tsNotes
pnpm run build:testis currently failing on this branch due to an existing ACP SDK typing mismatch unrelated to this adapter-range change:src/client.ts: missingKillTerminalRequest/KillTerminalResponseexports from@agentclientprotocol/sdksrc/terminal.ts: missingKillTerminalRequest/KillTerminalResponseexports from@agentclientprotocol/sdk