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.248 Home All releases olderv2.1.247 v2.1.250newer
Claude Code v2.1.248

DISABLE_COMPACT now takes effect mid-session

Use it now
Useful4 Signal2
Compaction Notable

Setting or clearing DISABLE_COMPACT now takes effect immediately, not just at startup.

DISABLE_COMPACT/compact
What

The auto-compact suggestion and the /compact command read DISABLE_COMPACT from the environment each time they are checked, instead of a snapshot taken at startup. Setting or clearing it during a session now changes behaviour immediately.

Details
  • Decides whether the context-limit banner offers "/clear to continue" or "/compact or /clear to continue".
  • The value goes through a truthiness helper at the point of use.
  • Separately, a startup check that read CI now passes a literal false.
Evidence

/compact or /clear to continue, Context exceeds the ${l}-token limit by ${t} tokens, Free up context by summarizing the conversation so far, process.env.DISABLE_COMPACT

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

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.248 →