Follow Discord
Sweep 02 Oct 2026 · 18:55Z Build v2.1.288 509 read Stable v2.1.285 Latest v2.1.287 Next v2.1.288 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.287 ·

cleanupPeriodDays now also clears old files in .claude/state/served-calls

Claude Code now deletes old files under .claude/state/served-calls after the number of days set by cleanupPeriodDays

You'll notice Improvements
JSON All of v2.1.287
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SettingsArea: what it touches
ImprovementsKind: in v2.1.287,
ImprovementsSection of the release
What

The cleanupPeriodDays setting decides how many days Claude Code keeps certain files before deleting them. It now also applies to the files in the .claude/state/served-calls folder, both the finished .jsonl files and their temporary .jsonl.tmp copies.

The internal helper that works out how long to keep files used to read only the desktop session cleanup setting. It now reads whichever setting it is given, which is how cleanupPeriodDays can cover this folder.

Why

These files had no retention period before, so they could build up indefinitely. They are now cleared on the same schedule you set for cleanupPeriodDays.

Read from
Names in the bundlecleanupPeriodDays
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the served-calls files existed before this release or what they record.

See this entry in the whole of v2.1.287 →

Feedback