Search the documentation
4 pages for autocompactenabled.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…tokens: number; }[]; }; autoCompactThreshold?: number; isAutoCompactEnabled: boolean; messageBreakdown?: { toolCallTokens: number; toolResultTokens: number; attachmentTokens…
Error reference
Claude Code CLI · in the page
errors
…auto-compact off in your [user settings](/docs/en/settings-reference#autocompactenabled), the line also says so: ```text theme={null} Context limit reached · /compact or /clear to continue · auto-co…
Claude Code settings
Claude Code CLI · in the page
settings
…| | `autoCompactEnabled` | **Default**: `true`. Automatically compact the conversation when context approaches the limit.…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…| Git and attribution | Any file | | [`autoCompactEnabled`](#autocompactenabled) | Turn [automatic compaction](/docs/…