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

Plugins that withhold a hook interface are now tracked and their stray calls refused

You'll notice
Useful2 Signal3
Plugins

Plugins that decline an interface are tracked, and later stray calls to it are refused with a warning.

What

The host that runs plugin function hooks was rebuilt around a record of what each plugin withheld. A plugin that withholds an interface when the engine is created now has that withholding tracked against it and lifted only when that plugin reloads or is disabled. Calls that reach the host past the withheld stub are refused, with one warning per plugin and interface, so a misbehaving plugin cannot quietly keep using something it declined.

Details
  • Suppressed interfaces are published to the registry marked with the plugin that suppressed them, and plugins that crashed while withholding are tracked separately.
  • Interface calls now carry a caller chain through the worker frame, so refusals name the path that made the call.
  • Hooks still run in a worker unless the environment variable CLAUDE_CODE_HOOKS_SAME_THREAD is set.
Evidence

withheld at engine.create; the call reached the host past $'s stub

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