Commit f10e448
committed
fix(tui): auto-dismiss skill loaded notices after 3 seconds
Transient notices (skill loaded, memory, signal, subagent logs) were
piling up because every new event reset the single expiry sweep timer.
Now each transient notice gets its own 3-second sweep, so expired
notices are pruned independently instead of waiting for a quiet gap.
- Reduce noticeTTL from 5s to 3s.
- Always prune on noticeExpireMsg; drop the stale-sequence guard that
delayed expiry when newer notices arrived.1 parent 883482c commit f10e448
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
| 290 | + | |
| 291 | + | |
294 | 292 | | |
295 | 293 | | |
296 | 294 | | |
| |||
0 commit comments