Commit d40da30
fix: suppress unseen badges for Claude tabs restored during startup (#63)
When Deckard restarts, resumed Claude sessions may fire processing
events (thinking → stop) before session-start arrives. Since most tabs
aren't visible during restore, this incorrectly marks them as
completedUnseen (unvisited).
Add a suppressUnseen flag set on Claude tabs created during restore,
checked in updateBadgeToIdleOrUnseen, and cleared when hook.session-start
fires (meaning the tab has been fully restored).
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>1 parent cbfa374 commit d40da30
File tree
2 files changed
+9
-2
lines changed- Sources
- Detection
- Window
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
650 | 655 | | |
651 | 656 | | |
652 | 657 | | |
| |||
1141 | 1146 | | |
1142 | 1147 | | |
1143 | 1148 | | |
1144 | | - | |
| 1149 | + | |
1145 | 1150 | | |
1146 | | - | |
| 1151 | + | |
1147 | 1152 | | |
1148 | 1153 | | |
1149 | 1154 | | |
| |||
0 commit comments