Skip to content

Revert "fix(acp): update Claude ACP adapter to @agentclientprotocol scope"#448

Merged
theahura merged 1 commit intomainfrom
revert-447-auto/update-acp-adapter-from-upstream-20260421-050430
Apr 21, 2026
Merged

Revert "fix(acp): update Claude ACP adapter to @agentclientprotocol scope"#448
theahura merged 1 commit intomainfrom
revert-447-auto/update-acp-adapter-from-upstream-20260421-050430

Conversation

@theahura
Copy link
Copy Markdown
Contributor

Reverts #447

@theahura theahura merged commit 5a5eba2 into main Apr 21, 2026
3 checks passed
@theahura theahura deleted the revert-447-auto/update-acp-adapter-from-upstream-20260421-050430 branch April 21, 2026 05:50
theahura added a commit that referenced this pull request Apr 21, 2026
…scope (#449)

## Summary
🤖 Generated with [Nori](https://www.npmjs.com/package/nori-ai)

- Re-applies the Claude ACP adapter package rename from
`@zed-industries/claude-agent-acp` (frozen at 0.23.1) to
`@agentclientprotocol/claude-agent-acp` (active, latest 0.30.0)
- The original upgrade (PR #447) was reverted in PR #448 due to a
"Failed to create ACP session" error
- Root cause investigation showed the error was transient — the new
adapter v0.30.0 is fully protocol-compatible with our
`agent-client-protocol-schema v0.11.6`

## Investigation Details

The "Failed to create ACP session" error was traced through the full
error chain (`sacp_connection.rs:507` → `spawn_and_relay.rs:59-78` →
`agent.rs:273`). Manual protocol testing with v0.30.0 confirmed:
- `initialize` handshake succeeds (protocol version V1 negotiation)
- `session/new` request succeeds (schema fields `cwd` and `mcpServers`
are correct)
- `NewSessionResponse` deserializes correctly despite new fields
(`modes`, `configOptions`)

End-to-end TUI verification with `NORI_MANAGED_BY_NPM=1` (to force npx
and the real v0.30.0 adapter) confirmed full round-trip: spawn →
handshake → session → prompt → response.

## Test Plan
- [x] `test_get_claude_code_config` verifies the built-in Claude config
uses the new package name
- [x] All 443 passing ACP crate tests still pass (14 pre-existing
failures in `backend::tests::part3` are unrelated — they require a mock
ACP binary)
- [x] End-to-end TUI verification: built nori binary, launched via tmux
with real Claude adapter v0.30.0, sent a message and received a response
- [x] Clippy clean

Share Nori with your team: https://www.npmjs.com/package/nori-skillsets

---------

Co-authored-by: Nori <contact@tilework.tech>
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.

1 participant