Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Background rewake hooks filter their output lines before reading them

Output lines from asyncRewake hooks must now pass a check before being read as JSON, and their summary is kept correctly

You'll notice Bug Fixes
JSON All of v2.1.296
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.296,
Bug FixesSection of the release

Unclear It is not stated what the new check requires of an output line, so hook authors cannot tell which lines are read.

What

Hooks are commands Claude Code runs at set moments, and asyncRewake hooks run in the background. For these hooks, each line of output now has to pass a check before Claude Code reads it as JSON. Before, every line starting with { was read. The summary such a hook produces is now stored in the right place.

Why

In practice, the summary from a rewake hook should now be kept instead of going missing.

Read from
Names in the bundleasyncRewake
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up asyncRewake, on Error reference. This notification in the conversation view means a hook's script didn't run because its path has a space and isn't quoted. That hook is an [`asyncRewake`](/docs/en/hooks#run-hooks-in-the-background) hook in shell form. In its `command`, an… errors see the edit
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 doubtIt is not stated what the new check requires of an output line, so hook authors cannot tell which lines are read.
Anthropic's documentation agreesAnthropic's documentation has since written up asyncRewake, on Error reference.

See this entry in the whole of v2.1.296 →

Feedback