mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Replace Hono's streamSSE with manual stream implementation to avoid sending duplicate Transfer-Encoding: chunked headers which cause nginx/Cloudflare to reject responses with 502 errors. Manually formats SSE messages with proper event/data structure and sets Content-Type: text/event-stream headers.