This skill adds resilient SSE stream management to a web backend. It provides a Redis-backed stream registry to track active streams, periodic heartbeat updates to detect stale or orphaned connections, a small completion store to persist terminal events for client recovery, and a background guardian process that cleans up abandoned streams. Together these pieces reduce lost terminal events, prevent resource leaks, and make client reconnection deterministic.
Use this when your application exposes long-lived SSE connections for real-time updates (progress, streaming generations, logs) and you need: reliable recovery when clients disconnect and reconnect, detection of silent disconnects, and automatic cleanup of abandoned server-side resources. It's suitable for generators, progress streams, live logs, or any system where clients may drop and later reconnect.
Best fit for TypeScript/Node.js agents and developer workflows that can run server-side TypeScript. Integrates naturally with backend frameworks that can use Redis (Express/Next.js/Cloud functions).
This skill has not been reviewed by our automated audit pipeline yet.