Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.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

TierYou'll noticehow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaHookswhat it touches
KindBug Fixesin v2.1.271,
You'll notice

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

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 →