claude-code-best/packages/acp-link/package.json
James Feng 0174a8edca chore(typecheck): tsc 基线 62→26,补 @agentclientprotocol/sdk,daemon 可用
变化:
- 添加 @agentclientprotocol/sdk@^0.19.0 依赖(Codex 操作)
- 修复 win32.ts 跨包导入 → 构建恢复(CC_Pure Linux stub)
- 固定 @stricli/core@1.2.6 消除部分 acp-link 类型错误(Codex 操作)
- ExecuteTool / searchExtraTools / udsClient / udsMessaging 类型补全
- tsc 错误:62 → 26(-58%)
- bun run build:  562 files
- bun test:  3346 pass / 4 fail / 2 errors / 4 skip
- strace:  零外连(遥测完全清除)
- daemon supervisor:  可用(需先信任 workspace)

剩余 26 个 tsc 错误全在 Bridge/UDS/TCP/ACP 远程控制层,
不影响本地 CLI + daemon 持久会话功能。
2026-06-02 11:12:38 +08:00

43 lines
1.2 KiB
JSON

{
"name": "acp-link",
"version": "2.0.0",
"description": "ACP proxy server that bridges WebSocket clients to ACP agents",
"author": "claude-code-best",
"type": "module",
"main": "./dist/server.js",
"types": "./dist/server.d.ts",
"bin": {
"acp-link": "dist/cli/bin.js"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"dev": "ACP_RCS_URL=http://localhost:3000 ACP_RCS_TOKEN=test-my-key bun run src/cli/bin.ts ccb-bun -- --acp",
"dev:remote": "ACP_RCS_URL=https://remote-control.claude-code-best.win/ ACP_RCS_TOKEN=test-my-key bun run src/cli/bin.ts ccb-bun -- --acp",
"dev:manager": "ACP_RCS_URL=http://localhost:3000 ACP_RCS_TOKEN=test-my-key bun run src/cli/bin.ts --manager",
"prepublishOnly": "bun run build"
},
"devDependencies": {
"@types/selfsigned": "^2.0.4",
"@types/ws": "^8.18.1",
"@types/bun": "^1.3.12"
},
"dependencies": {
"@agentclientprotocol/sdk": "^0.19.0",
"@hono/node-server": "^2.0.0",
"@hono/node-ws": "^1.0.5",
"@stricli/auto-complete": "^1.2.4",
"@stricli/core": "1.2.6",
"hono": "^4.12.15",
"pino": "^10.3.0",
"pino-pretty": "^13.1.3",
"selfsigned": "^5.5.0"
},
"engines": {
"node": ">=18"
},
"license": "MIT"
}