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.257 ·

Same top-level-hooks guard extended to plugin hooks.json files

A plugin hooks.json with permission hooks outside the hooks key now throws instead of loading malformed config.

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaHookswhat it touches
KindBug Fixesin v2.1.257,
You'll notice

A plugin hooks.json with permission hooks outside the hooks key now throws instead of loading malformed config.

The same guard now applies to plugin hooks.json manifests: if PreToolUse or PermissionRequest appear outside the hooks key, or hooks isn't a proper object mapping event names to matcher arrays, loading now throws instead of proceeding with malformed config.

Read from
Names in the bundlehooks.json
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up hooks.json, on Plugins reference. | `hooks` | string\|array\|object | Hook config paths or inline config | `"./my-extra-hooks.json"` | plugins-reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up hooks.json, on Plugins reference.

See this entry in the whole of v2.1.257 →