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

Turns emit start and complete events, and a plugin can append to the final answer

Not switched on
Useful2 Signal4
Plugins

Each turn now emits start and complete events a plugin module can hook and append text to.

turn.start, turn.step and turn.complete events exist but only the disabled plugin hook modules can answer them.

What

Every interactive turn now opens a turn id, emits turn.start with the text you submitted, and on finishing emits turn.complete with the last real assistant message, elapsed milliseconds, whether it was aborted, and the turn id. A module handler that returns text differing from the model's answer has that text appended to the transcript as a system notice prefixed with the names of the handlers that contributed. turn.step exists as a third event.

Details
  • The events are emitted unconditionally for interactive turns; nothing happens unless a plugin module registers handlers for them.
Evidence

turn.complete

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 →