Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2ec0047
Add session methods and SSE stream functions
federicociner May 17, 2026
3d1964b
Add server implementation with Node HTTP adapter, only support POST a…
federicociner May 18, 2026
ae4a199
Add SSE routing and session/new
federicociner May 18, 2026
a68df26
Add session SSE and prompt streaming
federicociner May 18, 2026
a78318c
Add tool permission request support
federicociner May 18, 2026
74a74a4
Add ACP HTTP client transport
federicociner May 18, 2026
0feffce
Add WebSocket server impl
federicociner May 18, 2026
47537ac
Add WebSocket client SDK and split out shared methods into ws-utils, …
federicociner May 19, 2026
e1add64
Add docstrings
federicociner May 19, 2026
4271517
Add examples and update imports
federicociner May 19, 2026
96c4220
Add RFD-compliant websocket upgrade handling
federicociner May 19, 2026
445d56d
Only accept text frames or Node-style buffers with isBinary
federicociner May 19, 2026
58007d9
Tighten up POST request validation and JSON content-type validation
federicociner May 19, 2026
8aed9de
fix: route session/load resume streams correctly
federicociner May 19, 2026
49f8a83
Add connection-scoped cookie support
federicociner May 19, 2026
2dc3a83
Update examples and README
federicociner May 19, 2026
99df922
Enforce ACP transport routing validation
federicociner May 19, 2026
e56a6f9
fix: Align HTTP session routing with RFD
federicociner May 19, 2026
19bc47a
Support per-connection agent factories
federicociner May 20, 2026
c8a84c5
Add session affinity using cookie store
federicociner Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
986 changes: 986 additions & 0 deletions acp-web-transport/design.md

Large diffs are not rendered by default.

402 changes: 402 additions & 0 deletions acp-web-transport/rfd.md

Large diffs are not rendered by default.

1,701 changes: 1,701 additions & 0 deletions acp-web-transport/tasks.md

Large diffs are not rendered by default.

833 changes: 833 additions & 0 deletions acp-web-transport/testing.md

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,34 @@
"type": "module",
"main": "dist/acp.js",
"types": "dist/acp.d.ts",
"exports": {
".": {
"types": "./dist/acp.d.ts",
"import": "./dist/acp.js",
"default": "./dist/acp.js"
},
"./http-client": {
"types": "./dist/http-stream.d.ts",
"import": "./dist/http-stream.js",
"default": "./dist/http-stream.js"
},
"./ws-client": {
"types": "./dist/ws-stream.d.ts",
"import": "./dist/ws-stream.js",
"default": "./dist/ws-stream.js"
},
"./server": {
"types": "./dist/server.d.ts",
"import": "./dist/server.js",
"default": "./dist/server.js"
},
"./node": {
"types": "./dist/node-adapter.d.ts",
"import": "./dist/node-adapter.js",
"default": "./dist/node-adapter.js"
},
"./schema/schema.json": "./schema/schema.json"
},
"directories": {
"example": "examples"
},
Expand All @@ -44,12 +72,19 @@
"docs:ts:verify": "cd src && typedoc --emit none && echo 'TypeDoc verification passed'"
},
"peerDependencies": {
"ws": ">=8.0.0",
"zod": "^3.25.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"ws": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@hey-api/openapi-ts": "^0.98.0",
"@types/node": "^25.5.0",
"@types/ws": "^8.5.13",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"concurrently": "^10.0.0",
Expand All @@ -63,6 +98,7 @@
"typedoc-github-theme": "^0.4.0",
"typescript": "^6.0.2",
"vitest": "^4.1.0",
"ws": "^8.18.0",
"zod": "^3.25.0 || ^4.0.0"
}
}
Loading