Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

idleCompaction

setting never mined documented JSON

A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.

Stop Claude Code from compacting a long conversation that you've stepped away from

Anthropic's own wording. Read off All settings, captured 2026-11-21.

First seen — never in a mined build
Last seen — never in a mined build
Builds0 / 169on this box, as of v2.1.330
Written about v2.1.290 first named in a changelog, 5 Oct 2026

In the changelogs

6

Releases whose published page names idleCompaction.

  1. v2.1.327
    Server setting no longer picks the new renderer; settings screen checks where values come from

    The new renderer is no longer chosen by a server-controlled setting here, and the settings screen now checks whether some values come only from your user settings

    found in this entry's text

  2. v2.1.302
    The config panel now reads the idleCompaction setting

    Claude Code's config panel now looks up the idleCompaction setting and where it came from, to tell whether you set it yourself

    found in this entry's text, named in this entry

  3. v2.1.302
    idleCompaction now sits with the on/off compaction settings

    The idleCompaction setting now appears beside precomputeCompactionEnabled in Claude Code's lists of settings and on/off toggles

    found in this entry's text, named in this entry

  4. v2.1.302
    Idle compaction messages now explain the timing and how to turn it off

    When Claude Code compacts while you are idle, it now says it did so before the prompt cache expired and how to turn this off

    found in this entry's text, named in this entry

  5. v2.1.290
    Idle compaction can be turned off with a setting and tuned with an environment variable

    A new idleCompaction setting turns off background compaction while you're idle, and CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS sets its size threshold

    found in this entry's text

  6. v2.1.290
    New idleCompaction setting stops compaction while a session is idle

    Set idleCompaction to false to stop Claude Code compacting a long conversation while the session sits idle

    named in this entry, found in this entry's text

First cited

3

The earliest release whose published evidence quoted idleCompaction was v2.1.302, 16 Oct 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.

ReleaseDateThe span that was quoted
v2.1.30216 Oct 2026"idleCompaction"
v2.1.30216 Oct 2026idleCompaction
v2.1.30216 Oct 2026turn off with "idleCompaction": false in settings.json

Presence across releases

0

The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.

Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.

Feedback