Settings

idleCompaction

Prevents Claude Code from automatically compacting an inactive chat session.

Where it goes: Any file

Syntax

idleCompaction

Type to search the reference, templates and lessons.