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.333 ·

Plugin hooks can stop a turn or move it to the background

Plugin hooks gain $.turn.abort and $.turn.background, and asking for some plugin abilities now implies the ones they depend on

Under the hood New Features
JSON All of v2.1.333
Under the hoodTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
New FeaturesKind: in v2.1.333,
New FeaturesSection of the release
What

A hook is a point where a plugin's own code runs during a session. A turn is one round of Claude working on your message. Plugin hooks get two new calls:

  • $.turn.abort: stops a turn.
  • $.turn.background: moves a turn into the background.

Claude Code checks these calls against the turn that the hook was told about when that turn started.

Plugins also have to declare which abilities they use. Declaring certain abilities, such as fs.copy or model.stream, now also counts as declaring the other abilities they rely on.

Why

Plugin authors get more control over a running turn, and fewer surprises when one ability quietly needs another.

See this entry in the whole of v2.1.333 →

Feedback