Repository navigation
Commit 5d16c83
fix(agent-bridge): require permission for all tools in default mode
PreToolUse hook now returns 'ask' instead of empty object to bypass
SDK's built-in Allow Rules that auto-approve read-only tools (Read,
Glob, Grep, WebSearch, etc.). This ensures all tools prompt for
permission in default mode, not just write operations.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 440f7cf commit 5d16c83
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
546 | | - | |
547 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
548 | 555 | | |
549 | 556 | | |
550 | 557 | | |
| |||
0 commit comments