Context
Part of #6230 (chat interface spec, groundwork alongside the already-filed ui-primitives inventory issue #6244). A conversational chat surface needs to stream an agent's response incrementally rather than waiting for a full completion — this is standard for any chat UI. Before the chat interface's scope/backend decision lands, it's useful to know what streaming infrastructure this codebase already has to build on.
Requirements
- Audit
src/api/routes.ts and any existing SSE/streaming implementation in this codebase — this session's earlier audit already found one real precedent: workers/mcp-session-hub.mjs-equivalent-style Durable Object SSE streaming exists in metagraphed's sibling repo for a comparable use case (resources/subscribe); check whether loopover has an equivalent pattern anywhere (a long-running Worker response, an existing SSE endpoint for any feature).
- Produce a short written inventory: what streaming infrastructure exists and is reusable, what would need to be built from scratch, and any Cloudflare Workers-specific constraints on long-lived streaming responses relevant to this repo's deployment model (self-hosted Worker + optional hosted).
- Do not build anything new — this is a research/audit deliverable only.
Deliverables
Expected Outcome
Whoever eventually implements streaming chat responses (once #6230's scope is decided) starts from an accurate picture of what's reusable and what Workers-specific limits apply.
Links & Resources
Context
Part of #6230 (chat interface spec, groundwork alongside the already-filed ui-primitives inventory issue #6244). A conversational chat surface needs to stream an agent's response incrementally rather than waiting for a full completion — this is standard for any chat UI. Before the chat interface's scope/backend decision lands, it's useful to know what streaming infrastructure this codebase already has to build on.
Requirements
src/api/routes.tsand any existing SSE/streaming implementation in this codebase — this session's earlier audit already found one real precedent:workers/mcp-session-hub.mjs-equivalent-style Durable Object SSE streaming exists in metagraphed's sibling repo for a comparable use case (resources/subscribe); check whether loopover has an equivalent pattern anywhere (a long-running Worker response, an existing SSE endpoint for any feature).Deliverables
Expected Outcome
Whoever eventually implements streaming chat responses (once #6230's scope is decided) starts from an accurate picture of what's reusable and what Workers-specific limits apply.
Links & Resources
src/api/routes.ts