mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-27 04:30:59 +00:00
798844726f140221d43a4065fcac2bd9fd002498
## Summary Follow-up cleanup to #649. Two small changes: - **Tighten the comment block** above the marker-strip branch in `acp-agent.ts:1119`. The original 15-line block restated history that already lives in the PR description; replaced with a 5-line "what this does, and why the no-op case is preserved" comment that points at the replay path for parallel context. - **Forward `clientCapabilities`, `parentToolUseId`, `cwd`, and `taskState`** to `toAcpNotifications` so the new strip-and-render call matches the sibling call below it at `acp-agent.ts:1192`. Without these the rendered output loses threading under a wrapping tool use and skips terminal-output detection. - **Only log the raw payload when nothing renders** — previously every marker-containing message was logged AND rendered. Now we render the stripped prose if anything remains, and fall back to logging only the pure-marker case (e.g. `/compact`). ## Test plan - [x] `npm run check` (lint + format) — passes - [x] `npm run build` (tsc) — passes - [x] `stripLocalCommandMetadata` unit tests — 8 passed 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.7 <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%