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

Plugin render hooks may only produce five element types

You'll notice
Useful2 Signal3
Plugins

Plugin UI hooks can only draw five element types; anything else is reported as a hook error.

What

A plugin hook that draws UI can build elements only from Box, Text, div, span and b, plus lowercase box and text aliases. Anything else throws inside the plugin's sandbox, so Claude Code reports it as a hook error rather than trying to render it.

Details
  • Keys, refs and props whose value is null are stripped from the element before it is frozen.
  • This applies to every render hook on this build; there is no setting to widen the tag set.
Evidence

a render hook draws those and what next(e) returned

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 →