Repository navigation
- Honor the
autoCompactWindowsetting from~/.claude/settings.json(Claude Code 2.1.311+, also written by/autocompact): env var first, then the per-modelmodelSettingsentry, then the top-level value. Previously onlyCLAUDE_CODE_AUTO_COMPACT_WINDOWwas read, so line 2 kept measuring against the full window.