mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-09-22 08:02:24 +00:00
With both fixes on main, the replayed status adopted as a baseline made `status == last_agent_status` return before the read-mark lookup ran, so every rebuild (workspace switch, tray reopen, both of which reattach) skipped #888: an unread badge was dropped and a turn that finished while away never badged. A replay is now only a baseline when the pane has no mark, i.e. this app never watched an agent in it (the restart case #890 is about). Marks are kept for every status, not just Done, so a turn that was running when the old view went still badges, and the restore path checks the mark was a finished turn. Also adds `turns` to #890's unix-only remote.rs tests, which no longer compiled against #888's field. Claude-Session: https://claude.ai/code/session_01JRqYZ9E153WpSHGS2AW3BM