refactor: use @agentclientprotocol/sdk instead of hand-rolled JSON-RPC

Replace 250-line custom ACP client with official TypeScript SDK.
Uses ClientSideConnection + ndJsonStream for stdio transport.
Same public API (connect/prompt/close), 115 lines, zero custom protocol code.

Ref #398
This commit is contained in:
2026-05-22 12:58:55 +00:00
parent 96584e481f
commit 025695dbe9
3 changed files with 63 additions and 181 deletions
@@ -21,6 +21,7 @@
"test": "bun test"
},
"dependencies": {
"@agentclientprotocol/sdk": "^0.22.1",
"@uncaged/json-cas": "^0.4.0",
"@uncaged/workflow-agent-kit": "workspace:^"
},