Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Groundwork for announcing a lower 'auto' auto-compact window

New autoWindow fields let Claude Code report an experiment-sized auto-compact window and show a one-time notice about it

Group of 2 You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

Unclear It is not clear which accounts get the lower auto window and so would see this notice.

What

Auto-compact is when Claude Code shortens the conversation once the context window (how much text the model can hold at once) gets full enough. /autocompact sets how full that is. New fields prepare for telling you that auto now means a lower window.

  • The session state shared with programs built on the SDK gains autoWindow and autoWindowAnnouncement. These let an app show a one-time notice that auto is a lower window, with choices such as /autocompact auto all and /autocompact keep all.
  • The calculation behind context usage can take a new showsWindowAhead option. When it is set, it works out a window from an experiment, reports autocompactSource as "experiment", and adds an autoWindow field to the result. Which parts of Claude Code turn this option on was not checked.

Why

If you leave /autocompact on auto, compaction may start earlier than you are used to on some accounts. The notice is meant to let you choose between the new auto window and keeping what you had.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which accounts get the lower auto window and so would see this notice.
Anthropic's release notes agreeAdded an Auto-compact window row to /config to see and change the size that /autocompact sets

See this entry in the whole of v2.1.334 →

Feedback