mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
One controller (store/live-sync.ts, the workspace-events twin for gateway state): gateway-event.ts routes pet.changed / cron.changed / sessions.changed into tick atoms, gated on the active profile like skin.changed; gateway.ready's change_events flag arms them; a gateway wipe resets the capability. Consumers subscribe to ticks and demote their polls to slow backstops (legacy cadence is kept verbatim against older backends): - session.active_list 1.5s → sessions.changed + 30s backstop - cron list 30s → cron.changed + 5min backstop - messaging lists 10s → trailing sessions.changed refresh + legacy poll only when events are unavailable - open messaging transcript 5s → sessions.changed + 30s backstop - pet.info 3s/15s → pet.changed, NO timer on event-capable backends (users with no pet used to poll hardest); enabled=false broadcasts clear the mascot with zero round-trips - cron runs page/peek 8s → cron.changed + 60s backstop Idle renderer traffic drops from ~89 req/min to the backstops (~5/min). Part of #73618. |
||
|---|---|---|
| .. | ||
| bootstrap-installer | ||
| desktop | ||
| shared | ||