Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Session message cache can be kept across clears

A new internal switch can keep a session's stored message list from being cleared

Nothing to try yet In Development
JSON All of v2.1.281
Nothing to try yetTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
In DevelopmentKind: in v2.1.281,
In DevelopmentSection of the release

Unclear The finding does not say what turns this switch on.

What

Claude Code keeps an in-memory copy of a session's messages, called a cache. A new switch, keepSessionMessagesCache, is off by default and is set through setKeepSessionMessagesCache. While it is on, clearSessionMessagesCache does nothing, so the stored messages are kept.

Why

This is internal behavior with no visible change by default. It lets some part of Claude Code keep a session's messages that would otherwise be cleared.

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 doubtThe finding does not say what turns this switch on.

See this entry in the whole of v2.1.281 →

Feedback