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.247 Home All releases olderv2.1.246 v2.1.248newer
Claude Code v2.1.247

Plugins cannot forge another plugin's buttons or rewrite the render envelope

You'll notice
Useful2 Signal3
Plugins

Plugins can no longer forge another plugin's buttons or rewrite the rendering envelope around them.

What

Plugin hooks that alter the UI are now validated. A hook that returns a button it did not itself draw throws, and any rewrite must keep the surface, component and request id the engine set, keep the plugin identity, and preserve the origin on a user-message row. Hooks that answer with an origin or a wait the engine never set are rejected the same way.

Details
  • Applies to the chain of hooks plugins register on rendered UI, not to a specific plugin type.
  • The rejection names which field changed and states that the envelope belongs to the engine.
Evidence

a changed ${r} (the envelope is the engine's; a rewrite keeps surface, component and requestId)

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.247 →