Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v1.0.41 ·

Enhanced Hook System with Per-Command Timeouts

Entry
JSON All of v1.0.41
EntryKind: in v1.0.41,
ChangesSection of the release

The hook execution system now supports individual timeout configurations for each command within a hook. Previously, all commands shared a single global timeout, but now each command can specify its own timeout value.

Usage Example: When configuring hooks, you can now specify a timeout for individual commands:

{
  "hook_event_name": "pre-commit",
  "commands": [
    {
      "command": "npm test",
      "timeout": 30  // 30 seconds timeout
    },
    {
      "command": "npm run lint",
      "timeout": 10  // 10 seconds timeout
    }
  ]
}
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeHooks: Added "hook_event_name" to hook input

See this entry in the whole of v1.0.41 →

Feedback