What
autoCompactWindow sets how full the context, the conversation Claude can see at once, gets before Claude Code compacts it, meaning it summarises older parts to make room. When checking this setting, Claude Code used to require a whole number between a minimum and a maximum. It now requires a whole number above a minimum only, with no maximum.
Why
You can now set larger values than before without the setting being rejected.
Names in the bundleautoCompactWindow
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up autoCompactWindow, on All settings.
* `autoCompactWindow`: a token count of `100000` or more, or `"auto"` for the window tuned for the model. [`/autocompact`](https://code.claude.com/docs/en/model-config#set-the-auto-compact-window) saves here. For that model, the value take…settings-reference see the edit
Added since
A small documentation edit on Subagents in the SDK touched a line naming autoCompactWindow after this was published.
| `autoCompactWindow` | `number` | No | Lower the [auto-compact window](https://code.claude.com/docs/en/sub-agents.md#subagent-auto-compact-window) for this agent when it runs as a subagent, to a token count of `100000` or more. Requires T…agent-sdk/subagents see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
A small documentation edit on Subagents in the SDK touched a line naming autoCompactWindow after this was published.