mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 16:02:24 +00:00
Claude Code has no 'permission replied' hook, so after the user approved a mid-turn permission prompt the dot stayed amber for the rest of the turn. Install a PostToolUse hook mapped to a new tool-complete sentinel event: the first tool that finishes after approval flips the state back to Working (guarded on Waiting, so completions during normal work are a no-op and a straggler can't overwrite Done). Same shape as Warp's ToolComplete transition. Old daemons drop the unknown event; existing installs surface as Outdated in Settings -> Agents with an Update button, so the stale 'points at another tty7' copy is reworded.