Files
opencode/packages
Kit Langton 39288a6953 feat(httpapi-listener): workspace-proxy WS forwarding
Bridge workspace-proxy WebSocket upgrades inside the Bun.serve listener so
the Hono path's WorkspaceRouterMiddleware → ServerProxy.websocket flow has
a native equivalent. The HttpApi handler still owns HTTP; the listener now
also resolves the workspace target inline (?workspace=… or session lookup),
upgrades the client connection, and bridges it to a remote WebSocket with
queueing, subprotocol forwarding, and close-code propagation.

This unblocks flipping Server.listen() over to the new listener but does
not flip it — the Hono path remains canonical. Bun-only; node:http + ws
adapter is a follow-up (TODO inline).
2026-05-03 09:18:28 -04:00
..
2026-05-02 19:53:06 +00:00
2026-05-02 19:53:06 +00:00
2026-05-03 13:07:30 +00:00
2026-05-02 19:53:06 +00:00
2026-05-02 19:53:06 +00:00
2026-05-03 00:10:53 +00:00