What's wrong with this entry?
Hooks can now interrupt and abort tool execution. When a hook returns a response with the interrupt flag set, the tool's abort controller is triggered, stopping the in-progress operation.
- Applies to both pre-tool and post-tool hooks
- When a hook signals interrupt, the tool execution is aborted via
abortController.abort() - The interrupt is logged with tool name and hook message for debugging
- This also applies to SDK permission prompts: a deny with interrupt will abort the controller
Hook abort on interrupt (search for "Hook interrupt: tool=") and SDK deny+interrupt (search for "SDK permission prompt deny+interrupt: tool=")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.