Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Headless sessions free memory when you start typing after a long pause

After 2.5 minutes idle, a headless session now cleans up memory as you start typing so your next prompt is handled sooner

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

A headless session runs without the usual interactive screen. When you start typing in one after at least 150,000 milliseconds (2.5 minutes) of no activity, Claude Code now runs a full memory cleanup so it is ready for your next prompt. It skips the cleanup if the program is already using more than 268,435,456 bytes (256 MB) of memory.

This is controlled by a server-side switch that is on unless it is turned off remotely.

Why

It is meant to cut the wait before a headless session starts responding after it has been idle.

Read from
Feature flag
tengu_sunny_squid Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.331: on

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.331. It isn't a statement about your account. What a flag value here can and cannot tell you

See this entry in the whole of v2.1.331 →

Feedback