You can set the auto-compact window at launch with --autocompact, using auto or 100k to 1M.
What's wrong with this entry?
A CLI option sets the auto-compact window size directly at launch.
- Accepts
autoor 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.
--autocompact <auto|tokens>
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
claude --autocompact 200kRelated
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.235
Context-limit banner tells you auto-compact is switched off
Both mention auto compact compaction