Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.45 ·

Improved Sandbox Temporary Directory Documentation

Entry
JSON All of v2.1.45
EntryKind: in v2.1.45,
ChangesSection of the release
What

The Bash tool system prompt now provides clearer guidance on using temporary directories in sandbox mode.

Details
  • Now recommends using $TMPDIR environment variable instead of hardcoded /tmp/claude
  • Notes that TMPDIR is automatically set to the correct sandbox-writable directory
  • Advises that most programs respecting TMPDIR will automatically use the correct directory
Evidence

Updated bash system prompt (search for "TMPDIR is automatically set to the correct sandbox-writable directory")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.45 →

Feedback