Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Hooks receive an extra value before their input

Claude Code now writes an extra value ahead of the JSON input it sends to a hook, and handles output from hooks that succeed differently

Under the hood Internal Changes
JSON All of v2.1.327
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.

See this entry in the whole of v2.1.327 →

Feedback