f9869ada6d
Claude Code skips the Stop hook in roughly one turn in fifteen (only the prompt-suggestion helper's SubagentStop arrives), so the main agent stayed "working" until the idle Notification a minute later and the chat kept showing Stop on a finished answer. The transcript's turn_duration entry is now an end of turn too: one newer than the session's last prompt, read while main still works with no tool open, lands it in Waiting like Stop. The chat's Stop button now drops to Send only after every busy signal has been quiet for 2.5 s (Stop pressed still drops at once), so a spinner line that comes and goes while the CLI redraws no longer flips it back and forth, and only the newest "working" read is applied.
4.0 KiB
4.0 KiB