Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.271 ·

Clearer error for hooks that only run in the plugin sandbox

Error message for hooks that only run in the plugin sandbox now explains why, and its check was fixed

You'll notice Bug Fixes
JSON All of v2.1.271
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.271,
Bug FixesSection of the release
What

When Claude Code fails to find a hook (a script that runs automatically at certain points, like before a tool runs) as a native module, the error it throws now explains that the module isn't built into the binary and instead loads inside the plugin sandbox, not natively. The lookup that triggers this error also switched from a void-check to a truthy check.

Why

The new wording makes it clearer why a hook lookup failed, instead of leaving the reader to guess whether it's a bug.

See this entry in the whole of v2.1.271 →

Feedback