Syd OS: SSE keepalive heartbeats on all four streaming routes

↗ view on GitHub · emileriksenkeev · 2026-07-11 · b60d872d

Long tool-JSON generation (wiki page writes, tabular cell generation) streams
no visible bytes for minutes; Cloudflare drops proxied connections after
~100s of silence, surfacing as 'Sorry, something went wrong' while the
backend kept working. Send an SSE comment every 15s; the client parser only
reads 'data:' lines so comments are ignored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Repository emileriksenkeev/sydOS
Author emileriksenkeev <emil@keev.co>
Authored
Parents 823d76aa
Stats 3 files changed , +46
Part of Agentic chat run reliability and long-run streaming

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-b60d872d.md from inside the repo you want the change in.

⬇ Download capture-commit-b60d872d.md