Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

New environment variable tells a resumed cloud session its files were kept

Setting CLAUDE_CODE_RESUME_FILES_KEPT stops a resumed remote session from assuming its files may be gone

Use it now Notable No documentation found New Features
JSON All of v2.1.337
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
New FeaturesKind: in v2.1.337,
What probably matters to youSection of the release
What

When Claude Code resumes a remote session (one that runs in the cloud rather than on your own computer), it decides whether the files from that session may have been lost. A new environment variable, CLAUDE_CODE_RESUME_FILES_KEPT, now feeds that decision. An environment variable is a named setting you give a program when you start it.

If you set CLAUDE_CODE_RESUME_FILES_KEPT, the resume treats the files as kept instead of assuming they may be gone. An earlier signal that the files are gone still wins, so setting the variable does not override it.

Why

This controls how a restored cloud session treats files it might otherwise assume it has lost. If you know the files are still there, the variable lets you tell Claude Code so.

Read from

See this entry in the whole of v2.1.337 →

Feedback