ec3c97b200
- Add ws-protocol.ts with WsRequest/WsResponse types + parsers - AgentSocket DO: proxy POST handler, pending request map, 30s timeout - /api/agents/:agent/* routes through DO WS when connected, falls back to HTTP - ws-client handles incoming WsRequest, fetches local serve, returns WsResponse - startGatewayWsClient accepts localPort for request handling Testing: #213
22 lines
424 B
JSON
22 lines
424 B
JSON
{
|
|
"name": "@uncaged/workflow-gateway",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./ws-protocol": "./src/ws-protocol.ts"
|
|
},
|
|
"scripts": {
|
|
"dev": "wrangler dev",
|
|
"deploy": "wrangler deploy"
|
|
},
|
|
"dependencies": {
|
|
"hono": "^4.7.11"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/workers-types": "^4.20260425.1",
|
|
"wrangler": "^4.20.0"
|
|
}
|
|
}
|