You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.329,
ImprovementsSection of the release
What
A hook is your own script that runs at a set point. A PreToolUse hook runs before Claude uses a tool and can block it or defer it, meaning hold it for later.
Headless sessions: if a PreToolUse hook returns defer in a headless session (no one at the keyboard) or a remote-call session, the tool call is now denied with a message. Before, defer was not handled there.
Script calls: a new message says a PreToolUse hook deferred a call made from a script: "A call from a script can't be resumed later, so it did not run."
Rewritten input: when a canUseTool callback, PermissionRequest hook or permission-prompt tool returns updatedInput (a changed version of what Claude asked the tool to do), it is now checked against the tool's input format before running. If it fails, an error says the model's original input was valid and "This is a configuration issue in your canUseTool callback, PermissionRequest hook, or permission-prompt tool".
A validation path for reading PDFs and other files was also reworked.
Why
Automation that uses defer hooks without a person present now gets a clear denial instead of unclear behaviour. If you write SDK callbacks or hooks that rewrite tool input, a bad rewrite is now caught and pinned on your handler rather than on Claude.