Claude Code v2.1.299 auto-compacts 200K-token chats after 54 min idle

ashwin-ant · ghdev · 2026-10-14

anthropic shipped Claude Code v2.1.299. The headline feature is idle compaction: a 200K+ token conversation left idle for 54 minutes gets compacted before its one-hour prompt cache expires, so the next message doesn't reprocess the whole context. The threshold can be changed via CLAUDECODEIDLECOMPACTMINTOKENS, or disabled with "idleCompaction": false in settings..

Other changes:

Original post →

More from coding & agent

coding & agent channel →