mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-27 04:30:59 +00:00
c95fc884e82e5a297d1b17b8965690260867835b
The Claude Agent SDK changed the timing of `canUseTool` — it now runs *before* the assistant message's `tool_use` block streams to us. As a result we sent a permission request (and `AskUserQuestion` elicitation) referencing a `toolCallId` the client had not yet seen via a `tool_call` update, so clients couldn't associate the prompt with a tool call. This supersedes #815, which fixed the ordering by blocking `canUseTool` until the stream emitted the `tool_call`. That approach could deadlock on cancellation (the `await` had no signal/timeout) and woke the waiter from only one branch, so suppressed tools never resolved it. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ACP adapter for the Claude Agent SDK
Use Claude Agent SDK from ACP-compatible clients!
This tool implements an ACP agent by using the official Claude Agent SDK, supporting:
- Context @-mentions
- Images
- Tool calls (with permission requests)
- Following
- Edit review
- TODO lists
- Interactive (and background) terminals
- Custom Slash commands
- Client MCP servers
Learn more about the Agent Client Protocol.
Contribution Policy
This project does not require a Contributor License Agreement (CLA). Instead, contributions are accepted under the following terms:
By contributing to this project, you agree that your contributions will be licensed under the Apache License, Version 2.0. You affirm that you have the legal right to submit your work, that you are not including code you do not have rights to, and that you understand contributions are made without requiring a Contributor License Agreement (CLA).
Description
Pull mirror of agentclientprotocol/claude-agent-acp (Apache-2.0): the ACP bridge that lets Buzz drive Claude Code
Languages
TypeScript
99.2%
JavaScript
0.6%
Shell
0.2%