Commit 52f81e8
feat(acp): implement ACP server and
Add Agent Client Protocol (ACP) server capability to Amazon Q CLI,
allowing editors like Zed and Neovim to use Q as an AI coding assistant
through a standardized JSON-RPC interface.
Core implementation:
- Actor-based ACP server architecture with session management
- Complete ACP protocol support (initialize, sessions, prompts, streaming)
- `q acp --agent profile` command with feature gating (acp.enabled setting)
- Integration with existing Q CLI conversation and tool systems
- Transport over stdio with proper async handling
The ACP server reuses Q CLI's existing ConversationState, API client,
and tool systems, providing the same models and capabilities as
`q chat` but accessible from editors through the standardized protocol.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>q acp command1 parent 37a77e0 commit 52f81e8
File tree
21 files changed
+1833
-104
lines changed- crates/chat-cli
- src
- api_client
- cli
- acp
- chat
- database
- mcp_client
- util
21 files changed
+1833
-104
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
0 commit comments