New release

Claude Code 2.1.302 adds an idle compaction switch

Claude Code 2.1.302 lets you turn idle compaction off in /config, changes the start mode of some script sessions, and fixes exFAT and FAT32 drives.

Date
Works with
Claude Code

What’s new

Claude Code 2.1.302 came out on 16 October 2026. /config has a new Idle compaction row. It turns idle compaction off or back on. The notice after an idle compaction now says how to turn it off.

The changelog also says: "Changed claude -p and Agent SDK sessions with no permission mode to start in default mode on third-party providers, with telemetry off or on a fresh install; --permission-mode auto keeps auto." This applies to sessions that cannot fetch Anthropic's feature flags. Add --permission-mode auto to keep auto mode.

On Windows, projects on exFAT or FAT32 drives no longer have every file write refused or asked about. The Read tool now refuses image sources over 128 MB.

Why it matters

If Claude Code shortened a chat while you were away and you did not want that, you can now switch it off from /config, without editing settings.json. Since Claude Code 2.1.299, the setting "idleCompaction": false in settings.json already did this.

People who keep projects on a USB stick or SD card on Windows can save files again.

How to try it

Run this command: see the command below. Then type /config and look for the Idle compaction row. Users on the stable update channel get this version later.

claude update

Source

Checked against the source on 17 Oct 2026

All updates