Bridge Transport v1 vs v2

Description

Two transport generations in the bridge layer. v1 is env-based (WebSocket reads via Session-Ingress, HTTP POST writes, negotiated through the Environments API poll/ack/dispatch lifecycle). v2 is env-less (SSE stream via SSETransport reads, CCRClient writes to /worker/* endpoints, negotiated via direct POST /v1/code/sessions/{id}/bridge returning a worker JWT). Both are wrapped behind the ReplBridgeTransport interface in replBridgeTransport.ts.

Key claims

Relations

Sources

src-20260420-6c8c272379b4