What
When a hook that runs on your prompt hits its time limit, Claude Code logs a warning naming the hook event and records a timeout event with the event name, the limit and the actual duration. Previously a timed-out prompt hook left no trace. The limit is still 30000ms unless the hook sets its own timeout.
Details
- The evaluator stamps a start time and reports only when its own signal aborts while the session is still running, so ordinary session cancellation is not counted as a hook timeout.
Evidence
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundletimeout
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 timeout, on Batches.
- `type: "timeout_error"`api/messages/batches see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up timeout, on Batches.