Unclear It is not clear whether plugin hook modules are themselves behind a switch.
What
Hooks are pieces of code that run when something happens in Claude Code, such as a tool being used. Plugin hooks run in a separate background process called the hooks worker. If that worker ends or is replaced partway through an event, Claude Code now waits for the replacement and runs the plugin's error handler (its .catch) there. Before, the failure simply passed through.
Other changes to hooks:
- Text a hook writes to the log is now shortened
- Claude Code now records which tool a hook ran for, and whether it ran for account memory
- Claude Code now records when a hook starts in the folder Claude Code was launched from
Why
Plugin hooks are less likely to fail outright just because their worker restarted.
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 plugin hook modules are themselves behind a switch.