@antmanler/claude-code-acp 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +222 -0
- package/README.md +53 -0
- package/dist/acp-agent.js +908 -0
- package/dist/index.js +20 -0
- package/dist/lib.js +6 -0
- package/dist/mcp-server.js +731 -0
- package/dist/settings.js +422 -0
- package/dist/tests/acp-agent.test.js +753 -0
- package/dist/tests/extract-lines.test.js +79 -0
- package/dist/tests/replace-and-calculate-location.test.js +266 -0
- package/dist/tests/settings.test.js +462 -0
- package/dist/tools.js +555 -0
- package/dist/utils.js +150 -0
- package/package.json +73 -0
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@antmanler/claude-code-acp",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"version": "0.12.6",
|
|
7
|
+
"description": "An ACP-compatible coding agent powered by the Claude Code SDK (TypeScript)",
|
|
8
|
+
"main": "dist/lib.js",
|
|
9
|
+
"bin": {
|
|
10
|
+
"claude-code-acp": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"type": "module",
|
|
13
|
+
"files": [
|
|
14
|
+
"dist/",
|
|
15
|
+
"README.md",
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"package.json"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "tsc",
|
|
21
|
+
"start": "node dist/index.js",
|
|
22
|
+
"dev": "npm run build && npm run start",
|
|
23
|
+
"lint": "eslint src --ext .ts",
|
|
24
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
25
|
+
"format": "prettier --write .",
|
|
26
|
+
"format:check": "prettier --check .",
|
|
27
|
+
"check": "npm run lint && npm run format:check",
|
|
28
|
+
"test": "vitest",
|
|
29
|
+
"test:integration": "RUN_INTEGRATION_TESTS=true vitest run",
|
|
30
|
+
"test:run": "vitest run",
|
|
31
|
+
"test:coverage": "vitest run --coverage",
|
|
32
|
+
"prepublishOnly": "npm run build"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"claude",
|
|
36
|
+
"acp",
|
|
37
|
+
"agent",
|
|
38
|
+
"anthropic",
|
|
39
|
+
"typescript",
|
|
40
|
+
"sdk",
|
|
41
|
+
"code"
|
|
42
|
+
],
|
|
43
|
+
"homepage": "https://github.com/zed-industries/claude-code-acp#readme",
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://github.com/zed-industries/claude-code-acp/issues"
|
|
46
|
+
},
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "git+https://github.com/zed-industries/claude-code-acp.git"
|
|
50
|
+
},
|
|
51
|
+
"author": "Zed Industries",
|
|
52
|
+
"license": "Apache-2.0",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@agentclientprotocol/sdk": "0.12.0",
|
|
55
|
+
"@anthropic-ai/claude-agent-sdk": "0.1.73",
|
|
56
|
+
"@modelcontextprotocol/sdk": "1.25.1",
|
|
57
|
+
"diff": "8.0.2",
|
|
58
|
+
"minimatch": "10.1.1"
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@anthropic-ai/sdk": "0.71.2",
|
|
62
|
+
"@types/node": "25.0.3",
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "8.50.0",
|
|
64
|
+
"@typescript-eslint/parser": "8.50.0",
|
|
65
|
+
"eslint": "9.39.2",
|
|
66
|
+
"eslint-config-prettier": "10.1.8",
|
|
67
|
+
"globals": "16.5.0",
|
|
68
|
+
"prettier": "3.7.4",
|
|
69
|
+
"ts-node": "10.9.2",
|
|
70
|
+
"typescript": "5.9.3",
|
|
71
|
+
"vitest": "4.0.16"
|
|
72
|
+
}
|
|
73
|
+
}
|