Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Hook results now name the plugin or skill whose hook acted

Prompt-submit endings and hook-blocked events now carry a hook source naming the plugin or skill behind the hook, plus related reporting changes

Group of 3 Under the hood Internal Changes
JSON All of v2.1.337
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.337,
Internal ChangesSection of the release

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_source when one is set.
  • UserPromptSubmit hook blocks and stops now carry hookSource.
  • The hook-blocked event format gains an optional hook_source field. Its value is plugin:<name>, plugin, skill:<name> or skill.
  • A no_verdict result 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.

Read from
Names in the bundlehook_source
What the documentation says
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which message type carries the new `hook_source` field.

See this entry in the whole of v2.1.337 →

Feedback