You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What
A hook is a command you set up to run automatically at certain moments, for example after Claude uses a tool. A tool call is one action Claude takes, such as editing a file.
For tool calls that hooks may act on, Claude Code now adds them to the session record as they happen and keeps track of their results. When a hook rewrites a result, the rewritten version is the one shown to the program displaying the session. Before, the result was always rebuilt from the tool's own output. This does not apply when hooks are turned off in settings.
The way Claude Code reads the paths a hook asks to watch now uses a shared step.
Why
A hook can now change the tool result that clients display, not just observe it.