Unclear It is not clear which message type carries the new hook_source field.
What
A hook is a script or command that runs automatically at a set point, for example when you submit a prompt. When a hook blocks or stops something, Claude Code now records where that hook came from.
- The message sent when a prompt submission ends now carries
hook_sourcewhen one is set. UserPromptSubmithook blocks and stops now carryhookSource.- The hook-blocked event format gains an optional
hook_sourcefield. Its value isplugin:<name>,plugin,skill:<name>orskill. - A
no_verdictresult is now reported only when the hook fails or times out. Before, it always carried the reason the prompt ended. - Interrupt messages now carry a cancellation stamp instead of setting
interruptedMessageId.
Why
Programs built on the Agent SDK, which lets developers drive Claude Code from their own code, may see these new fields. They can use them to show which plugin or skill blocked a prompt or an action. Code that read interruptedMessageId from interrupt messages should check for the new form.
Names in the bundlehook_source
Documented inclaude-code/monitoring-usage
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear which message type carries the new `hook_source` field.