Commit eb41ddf
committed
Fix notifications not firing for PermissionRequest waiting states
The NOTIFY_TOOLS whitelist in checkAndNotify only included interactive
tools (ExitPlanMode, AskUserQuestion, Write, Edit, NotebookEdit), so
PermissionRequest events for tools like Bash never triggered browser
notifications despite correctly showing "waiting" status. Removed the
NOTIFY_TOOLS filter since the state machine already correctly determines
when user input is needed.
Fixes #511 parent 45eeef0 commit eb41ddf
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
520 | | - | |
521 | 519 | | |
522 | 520 | | |
523 | 521 | | |
| |||
583 | 581 | | |
584 | 582 | | |
585 | 583 | | |
586 | | - | |
| 584 | + | |
587 | 585 | | |
588 | 586 | | |
589 | 587 | | |
| |||
0 commit comments