Commit 76a1587
feat: add PermissionRequest hook support for IDE users
The Notification hook (permission_prompt) only fires in the CLI, not in
VSCode/IDE. The PermissionRequest hook fires in both environments. This
adds PermissionRequest handling so IDE users hear the permission sound
and get notifications when Claude needs approval.
Closes #11
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3bc7038 commit 76a1587
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
471 | 482 | | |
472 | 483 | | |
473 | 484 | | |
| |||
0 commit comments