Use it now
Async hook handlers can now attach a .catch(handler) to react to a failed downstream call
What
The system plugins use to hook into Claude Code's behavior now lets an asynchronous hook registration chain a .catch(handler) onto itself, giving hook authors a way to respond when a downstream call times out or errors, instead of the failure simply being thrown.
Why
This gives plugin developers a way to gracefully handle a failure in their hook rather than crashing the operation it's attached to. Hooks created with engine.create are the exception: they have no grace budget, and .catch doesn't apply to them, since their failure always fails the load.