Commit e5714fe
committed
fix(bridge): use synchronous hooks for Stop and PostToolUse drain
asyncRewake queues a task-notification that Claude may silently consume
when idle at the REPL. Synchronous exit-2 on Stop/PostToolUse injects
content directly, forcing an in-place response. UserPromptSubmit keeps
asyncRewake to avoid blocking the user's prompt.1 parent f013396 commit e5714fe
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
0 commit comments