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

Plugin hooks worker moved onto shared messaging helpers

Under the hood
Useful2 Signal3
Plugins

Plugin hook calls now carry a caller chain, so a call can be traced to what triggered it.

What

The worker that runs plugin hooks dropped its own bookkeeping for message ports, pending replies and counters in favour of shared helpers, and its messages now carry which side is serving plus a caller chain, so a call into a plugin interface can be attributed to what triggered it.

Details
  • Unhandled promise rejections in the worker are now picked up by a shared handler.
  • Callers are passed alongside a call identifier into the interface dispatch.
  • Unloading still reports through the existing message about the plugin's environment being unloaded.
Evidence

the plugin's environment is unloaded

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 →