Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

New Interrupt hook event, with interrupts marked by who caused them

Hooks can now run when a turn is interrupted, and interrupts can be marked as coming from a user, the session or the system

Group of 2 Use it now No documentation found New Features
JSON All of v2.1.335
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.335,
What probably matters to youSection of the release

What

A hook is a command you configure to run automatically when something happens in Claude Code. A new hook event, Interrupt, fires once when an interrupt ends the main conversation's turn.

  • Matching: the hook is matched on the interrupt's source, which is user, session or system, the same way SessionStart is matched on its source.
  • Input: the hook receives JSON with hook_event_name set to "Interrupt", a source, a reason (stop, permission_denied, rewind or other) and, where known, via (terminal or client).
  • Output: the hook's output and exit code are ignored, so it cannot block or change the interrupt.
  • Skipped: it does not run for subagents (helpers Claude Code starts for part of a task), when settings hooks are turned off, or when no Interrupt hook is registered.
  • Remote switch: the hook stops running only if the switch tengu_jolly_tulip is explicitly set to false. Nothing has been read about this switch.
  • Control requests: messages that remote and SDK senders use to control a session gain an optional, internal interrupted_by field with values session or system, marking an interrupt that no person asked for.

Why

You can now attach your own actions to interrupts, and tell an interrupt you caused apart from one triggered by the session or the system.

Read from
Names in the bundleinterrupted_by

See this entry in the whole of v2.1.335 →

Feedback