Hotfix: long tasks no longer false-fail with "session error"
Claude Code changed its working-spinner format — it dropped the esc to interrupt hint and now shows a live timer (✢ … (44s · ↓1.8k tokens)). The stall detector matched only the old string, so it went blind on every turn and interrupted any reply that took longer than the 180s stall window, surfacing as ❌ Ошибка сессии on long tasks while the work itself completed.
Fixes
is_working()now recognizes the new elapsed-time spinner alongside the legacy hint- Version-proof liveness fallback: a growing
pane.logtranscript counts as an active turn regardless of any on-screen text — so a future spinner change can never again false-stall a live turn - Stall detection for genuinely wedged turns is unchanged (verified by test)
Anyone on a current Claude Code build should upgrade: cd agent-second-brain && git pull && bash upgrade.sh