{"version":"2.1.221","anchor":"autocompact-ungated-plus-an-autocompact-cli-option","canonical_anchor":"autocompact-ungated-plus-an-autocompact-cli-option","heading":"\/autocompact ungated, plus an --autocompact CLI option","tier":"use","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221\/e\/autocompact-ungated-plus-an-autocompact-cli-option","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.221","markdown":"### \/autocompact ungated, plus an --autocompact CLI option\n\nYou can now set when auto-compaction kicks in with a new --autocompact flag, and \/autocompact works for everyone.\n\n**What**\n\nThe autocompact slash command no longer checks remote config, and there is now a real `--autocompact` flag whose value is applied to the session instead of being discarded.\n\n**Details**\n\n- `isEnabled` for the slash command dropped its remote-config check, which previously required tengu_amber_redwood2 or tengu_amber_redwood3; it is now enabled outside the thin-client case.\n- New CLI option `--autocompact <auto|tokens>` sets how full the context gets before auto-summarizing.\n- The parsed value now reaches the session's auto-compact window; the previous code hardcoded undefined and always fell back to the stored setting.\n\n**Usage**\n\n`claude --autocompact auto claude --autocompact 120000` **Evidence** `Set how full the context gets before auto-summarizing`\n\n- Flag `tengu_amber_redwood2`: Not enough to say (read for one account on one subscription tier against v2.1.221; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Flag `tengu_amber_redwood3`: Not enough to say (read for one account on one subscription tier against v2.1.221; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Compaction\n- Names: `--autocompact`, `\/autocompact`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 0\/5"}