The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tui_gateway): publish the /loop snapshot when a wakeup fires and when a slash tick completes
Tekniumbbf9ce47073e
diff --git a/tui_gateway/session_notifications.py b/tui_gateway/session_notifications.pyindex ee96b64cdc7..b79ac3dd419 100644--- a/tui_gateway/session_notifications.py+++ b/tui_gateway/session_notifications.py@@ -203,6 +203,7 @@ def _notif_slash_loop_tick(rid: str, sid: str, session: dict, mgr, wakeup: str)decision = mgr.complete_tick("")if decision.get("message"):_notif_loop_status(sid, decision["message"])+ _publish_session_control_snapshot(sid, session) # next_due_at moved: clients re-anchor the countdowndef _notif_gateway_owns_heartbeat(session: dict, session_key: str) -> bool:@@ -311,6 +312,7 @@ def _maybe_fire_tui_loop_tick(sid: str, session: dict) -> None:_notif_release_turn(session)returnrid = f"__loop__{int(time.time() * 1000)}"+ _publish_session_control_snapshot(sid, session) # awaiting_response: clients swap the countdown for "running"try:_notif_loop_status(sid, f"↻ /loop wakeup #{mgr.state.ticks_fired if mgr.state else '?'} firing…")if wakeup.lstrip().startswith("/"):