mirror of
https://github.com/block/buzz.git
synced 2026-11-12 20:31:12 +00:00
The 20s margin between the 600s max shell timeout and the 620s idle timeout caused spurious session kills during legitimate long-running tool calls. This changeset addresses the problem from four angles: - Raise DEFAULT_IDLE_TIMEOUT_SECS from 620 to 900 (300s margin) - Reset idle clock explicitly on tool_call session updates with observability logging - Post a visible channel message (death notice) when a session ends due to idle timeout or unexpected agent exit - Emit a keepalive session update every 30s while waiting on the LLM provider response, preventing idle timeout during slow completions Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>