Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Hook runner can run hook types other than shell commands

The part of Claude Code that runs hooks can now run hook types other than shell commands, where before it ran only command hooks

Under the hood Internal Changes
JSON All of v2.1.317
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.317,
What probably matters to youSection of the release

Unclear It is not clear when Claude Code runs hooks through this path for non-command hooks, so whether your own hooks are affected is unknown.

What

Hooks are your own actions that Claude Code runs automatically at set moments. The part of Claude Code that runs them used to handle only command hooks, which run a shell command. It can now handle other hook types too:

  • Prompt and agent hooks: reported as applying, without being run on this path.
  • Other non-command hooks: run directly, with an exit status returned.

For hooks that do not come from a command, Claude Code may first wait for your settings to finish loading.

Why

On this path, hooks other than command hooks can now actually be run.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear when Claude Code runs hooks through this path for non-command hooks, so whether your own hooks are affected is unknown.

See this entry in the whole of v2.1.317 →

Feedback