Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

File writes can now be staged in memory with an in_memory option

Chunked and archive file writes accept an in_memory option to stage data in memory when possible, falling back to the disk

Group of 2 Under the hood Internal Changes
JSON All of v2.1.336
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
File WritesArea: what it touches
Internal ChangesKind: in v2.1.336,
Internal ChangesSection of the release

Unclear It is not clear what turns the in-memory option on.

What

When Claude Code writes a file in pieces (a chunked or archive write, used for things like artifacts and file transfers), the data is first staged, meaning held somewhere temporary before being put in its final place. Before, staging always went to disk through a directory handle. Now:

  • The write and abandon requests accept a new in_memory option.
  • A mode passed as "if_possible" lets the write be staged in memory, with a fallback to the disk when it cannot (for example, when the write has already begun on the disk).
  • The write's output now includes an in_memory field saying how it was staged.
  • The final placing step now tracks the path of a kept file and checks willWrite before writing.

Why

This changes where files are held while they are being written. In practice, some writes can now skip a temporary copy on disk, and the reported in_memory field shows which path a given write took.

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 what turns the in-memory option on.

See this entry in the whole of v2.1.336 →

Feedback