Commit 2c1a17b
committed
fix(ai-chat): forward replace_all from Edit tool to buffer applier
The PreToolUse hook intercepting Claude's Edit tool was dropping the
replace_all flag, so buffer/plan edits only ever replaced the first
occurrence even when Claude requested replace_all=true.1 parent cf881f0 commit 2c1a17b
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
526 | 532 | | |
527 | 533 | | |
528 | 534 | | |
| |||
550 | 556 | | |
551 | 557 | | |
552 | 558 | | |
553 | | - | |
| 559 | + | |
| 560 | + | |
554 | 561 | | |
555 | 562 | | |
556 | 563 | | |
| |||
0 commit comments