Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.327,
Internal ChangesSection of the release
Unclear What the extra value written before the JSON is, and whether hooks that read their input as plain JSON still work, is not clear.
What
A hook is a script you set up to run at certain points while Claude Code works. Claude Code passes it details as JSON on standard input, the stream a program reads its input from. Before, that input was only the JSON followed by a new line. Claude Code now writes an extra value in front of it. What a hook prints after it succeeds is now passed to a separate step inside Claude Code.
Why
If you write hooks, this may change how your hook should read its input.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat the extra value written before the JSON is, and whether hooks that read their input as plain JSON still work, is not clear.