Files
hermes-agent/tui_gateway
Halldrix 2f45f4d043 fix(tui): drive /heartbeat firing from the session-owner process (#102056)
/heartbeat is parsed by the slash-worker process, which starts its own
heartbeat watchdog thread there — but that process never runs turns, so
the queued prompt is armed-but-dead (countdown froze at ~0s, no turn ever
injected). Mirror the existing /loop driver: poll for due heartbeats in
the per-session notification poller and re-enter the live session through
_run_prompt_submit as a plain user turn, preserving alternation and prompt
caching.

(cherry picked from commit 23ae971075f2d8156642f4c268dd010510a7af41)
2026-09-06 07:20:24 -07:00
..