Use ACP terminal support when available (#8)

When the `terminal` client capability is available, we'll now replace
Claude Code's bash tools with our own that go over ACP. This includes
support for background terminals.

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
Agus Zubiaga
2025-09-01 12:01:50 -03:00
committed by GitHub
parent f79a121c9c
commit 6d1711cfa4
5 changed files with 372 additions and 14 deletions

12
package-lock.json generated
View File

@@ -1,18 +1,18 @@
{
"name": "@zed-industries/claude-code-acp",
"version": "0.1.5",
"version": "0.1.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@zed-industries/claude-code-acp",
"version": "0.1.5",
"version": "0.1.6",
"license": "Apache-2.0",
"dependencies": {
"@anthropic-ai/claude-code": "^1.0.96",
"@modelcontextprotocol/sdk": "^1.17.4",
"@types/express": "^5.0.3",
"@zed-industries/agent-client-protocol": "0.1.2",
"@zed-industries/agent-client-protocol": "0.2.0-alpha.3",
"express": "^5.1.0",
"minimist": "^1.2.8",
"uuid": "11.1.0"
@@ -1353,9 +1353,9 @@
}
},
"node_modules/@zed-industries/agent-client-protocol": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/@zed-industries/agent-client-protocol/-/agent-client-protocol-0.1.2.tgz",
"integrity": "sha512-A1RCN7Uf09vngbhBVLiZENenKYOYD2OGiILLGXPaSBloDbem8xmLaDmrKQuYl0kjLJ1DcWmVaHUv97n1l5vJ6w==",
"version": "0.2.0-alpha.3",
"resolved": "https://registry.npmjs.org/@zed-industries/agent-client-protocol/-/agent-client-protocol-0.2.0-alpha.3.tgz",
"integrity": "sha512-fWt5bD4nUIcDZ185R3ozsBuzQCqlgmHxjbMruL5Q0nmlKeRrk2WP4wAjUBzb9xcHNBJvhePozETcWzA4Vsi6nA==",
"license": "Apache-2.0",
"dependencies": {
"zod": "^3.0.0"