You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.328,
Bug FixesSection of the release
What
A hook is a command you set up to run automatically at a set moment. Claude Code can start a shell hook early, ahead of when its answer is needed, to save time.
That early-started process now:
is waited on only for a capped time
expires after a timeout
is killed when Claude Code no longer needs it
Previously, discarding it only closed its input, and it was force-killed only when it gave no answer in time. Output that matches a set pattern now also marks the command as given up.
Why
Hook processes that were no longer needed could be left running in the background. They are now cleaned up.