Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.246 ·

Hooks modules are read and linked before they run, with file and size caps

Hooks modules now load up front and refuse if they link too many files or grow too large.

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

A hooks module's imports are now resolved and read up front rather than during evaluation, and two limits apply to every load: a module may link at most a fixed number of files, and the combined size of all its sources has a byte ceiling. Exceeding either refuses the load with its own message. No flag turns this off.

Details
  • Imports are pre-read into a map keyed by the importing file plus the exact import text, so the same spelling from different files resolves independently.
  • Refusing an import, spotting a module importing itself, and resolving an import path all moved into shared helpers new in this build.
Evidence

is past the

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.246 →

Feedback