Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.257 ·

Hooks module scanning now flags PreToolUse/PermissionRequest declared outside the hooks object

Permission hooks declared at the top level of hooks.json now give a message pointing at the misconfiguration.

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

Plugin hooks.json validation now has a dedicated error path for PreToolUse/PermissionRequest entries declared at the top level instead of nested under "hooks". This produces a clear message pointing at the misconfiguration instead of a generic schema-parse failure.

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.

Added since A small documentation edit on Debug your configuration touched a line naming hooks.json after this was published. | Hook never fires | Hooks are defined in a standalone file instead of `settings.json` | There is no standalone hooks file for project or user config. Define hooks under the `"hooks"` key in `settings.json`. Only [plugins](/docs/en/plugins… debug-your-config see the edit
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 →

Feedback