What
Plugins can add hooks, which are pieces of code that run automatically at set points while Claude Code works. Some of these hooks are written as functions, and Claude Code prepares a set of type definitions for them. Type definitions are descriptions of what the hook code can expect to receive. Two things are different:
- Type definition setup: Claude Code now passes the list of available tools, not only the version. Tools are the actions Claude can take, such as reading a file or running a command.
- Failure messages: when setup fails, the logged message now starts with the error code, unless the message already contains it.
Why
The type definitions for these hooks can now reflect which tools exist. When setup goes wrong, the error code in the log makes the failure easier to identify.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear whether hook authors see any difference beyond the extra error code in failure messages.