diff options
| author | Adam Malczewski <[email protected]> | 2026-06-25 15:28:13 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-25 15:28:13 +0900 |
| commit | 3647acfb7f078b2f035dd325f6959980c5b46c9a (patch) | |
| tree | 59d78d8c503a590f4c49481b0454163b921b39da /bun.lock | |
| parent | eb6adc405fab9b55590af6b235106dcabab5946e (diff) | |
| download | dispatch-3647acfb7f078b2f035dd325f6959980c5b46c9a.tar.gz dispatch-3647acfb7f078b2f035dd325f6959980c5b46c9a.zip | |
feat(ssh): wave 4 — computer HTTP/WS endpoints + chat computerId threading
Wave 4 of transparent SSH support (3 parallel owner-agents on disjoint packages).
- transport-http: computer routes — GET /computers, GET /computers/:alias,
GET /computers/:alias/status, POST /computers/:alias/test (all delegate to a
new ComputerService seam, graceful []/disconnected when ssh not loaded);
GET/PUT/DELETE /conversations/:id/computer; PUT /workspaces/:id/default-computer
(mirror the cwd/default-cwd routes); /chat threads computerId into the
orchestrator. Defines ComputerService interface + computerServiceHandle
(defineService<ComputerService>('ssh')) in seam.ts — the seam the ssh package
provides via host.provideService in wave 5.
- transport-ws: chat.send + chat.queue thread computerId onto the route result
(mirrors cwd/workspaceId), forwarded to the orchestrator input.
- mcp: CR-1 fix — filterMcpTools now preserves computerId on the returned
ToolAssembly (mirrors cwd preservation), so the filter chain stays consistent.
- orchestrator: added @dispatch/wire dep to transport-http (build/config, my lane)
so its seam.ts Computer/ComputerEntry import resolves.
Verified: tsc -b EXIT 0, biome clean, 1641 vitest pass (was 1620, +21).
Refs: notes/ssh-support-plan.md (decisions §0.5/§13). No merge or push.
Diffstat (limited to 'bun.lock')
| -rw-r--r-- | bun.lock | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -310,6 +310,7 @@ "@dispatch/system-prompt": "workspace:*", "@dispatch/throughput-store": "workspace:*", "@dispatch/transport-contract": "workspace:*", + "@dispatch/wire": "workspace:*", "hono": "^4.0.0", }, }, |
