Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Hooks with very long output are now cut short or ignored

Over-long hook output is now trimmed, and a too-long updatedToolOutput is dropped so Claude reads the tool's original result

You'll notice Improvements
JSON All of v2.1.311
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.311,
ImprovementsSection of the release
What

A hook is a script Claude Code runs at set points, for example after a tool finishes. It can also rewrite the tool's result with updatedToolOutput. Claude Code now limits how much a hook can pass back:

  • hook output fields longer than a set length are trimmed
  • an updatedToolOutput that is too long is dropped, and Claude is told: "A hook changed a tool's result, and the change was too long to pass on, so Claude read the result as the tool gave it."

Hooks run in remote sessions can now also find skills that come from catalogs, not only skills that come from plugins.

Why

A hook that produces a very large rewrite no longer breaks or bloats the result Claude sees. If you rely on a hook to replace a tool's result, keep the replacement short, or Claude will see the original result instead.

Read from
Names in the bundleupdatedToolOutput

See this entry in the whole of v2.1.311 →

Feedback