Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.221 Home All releases olderv2.1.220 v2.1.222newer

New --autocompact flag for the auto-compact window

Use it now
Useful5 Signal0
Compaction Notable not in their notes

You can set the auto-compact window at launch with --autocompact, using auto or 100k to 1M.

--autocompactautoCompactWindow
What

A CLI option sets the auto-compact window size directly at launch.

Details
  • Accepts auto or a token count from 100k to 1M, including shorthand forms; anything else is rejected with an explicit message.
  • Backs the existing autoCompactWindow setting, described as "Auto-compact window size" and clamped to 1e5 to 1e6.
Evidence

--autocompact <auto|tokens>

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

Usage
claude --autocompact 200k

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.221 →