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

Terminal output is routed through a rendering hook that nothing currently answers

Not switched on
Useful2 Signal5
Terminal UI Notable

Nine parts of the terminal ask a hook before drawing, but nothing can answer yet.

Render hooks exist for messages, tool results, spinner, mode line and question prompt, answerable only by plugin hook modules, which are disabled.

What

Nine parts of the terminal interface now ask a hook whether it wants to draw them before drawing them the normal way: user and assistant messages, tool calls and results, turn duration, notices, the spinner, the session mode line and the question prompt. Only a plugin hooks module can answer, and those are disabled in this build, so everything renders exactly as before.

Details
  • A hook may return a small tree of boxes, text and basic formatting with hex colours; it is rebuilt into real terminal elements, and if the returned tree fails validation Claude Code falls back to its own drawing.
  • The whole path short-circuits when no loaded hook module handles the render event, which is always the case while tengu_plugin_hooks_modules is off.
Evidence

useRenderInput

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 →