Commit Graph
2 Commits
Author SHA1 Message Date
danparkandCursor 39a5d2062c fix(gateway_watcher): park idle poll loop when no SSE subscribers
Stop the permanent ~7% core burn from re-fingerprinting state.db every 5s
and spinning on 0.1s stop-checks while nobody is listening. Block on
Event.wait for the poll interval, and sleep on _idle_wake until the first
subscriber arrives (maint #3035).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-22 05:38:49 +00:00
danpark 1a7b82d41e fix: preserve access logs during agent stdout capture (#2684)
Own a private stdout descriptor before agent imports and serialize request log writes. Keep logging failures isolated from HTTP responses. Add successful chat/start subprocess delivery regressions and document header-latency semantics and cron ownership.
2026-09-19 07:26:12 -04:00