Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Tool calls and turn steps dispatched through the plugin event bus

Under the hood
Useful3 Signal4
Plugins

Tool calls and turn steps now flow through the plugin event bus, so plugins can observe a running turn.

What

Tool invocation and turn stepping now go through the same event dispatch that plugins observe, rather than being called in line. This is the plumbing that lets a plugin see and act within a running turn.

Details
  • Each tool call builds an event input, dispatches through core and managed handlers, and does open/close bookkeeping around the call.
  • The interactive session subscribes to turn events and dispatches turn steps, appending their results as messages.
Evidence

createTurnEventTail

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.242 →