Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Office file uploads can include a kept PDF preview in sandboxed deployments

New SANDBOX_OFFICE_PDF_DIR and SANDBOX_OFFICE_PDF_SEND variables let .docx and .pptx uploads attach a kept PDF preview, and join the host-owned env var list

Group of 2 Use it now No documentation found Internal Changes
JSON All of v2.1.326
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
EnvironmentArea: what it touches
Internal ChangesKind: in v2.1.326,
What probably matters to youSection of the release

Unclear What being on this list does to these variables is not stated.

What

Environment variables are named settings that a program reads when it starts. Claude Code adds three new ones, and adds all three to the set of host-owned variables. That set already held CLAUDE_CODE_ENTRYPOINT and the program use-case variables, and it appears to list variables that belong to the host program that starts Claude Code:

  • CLAUDE_CODE_HOST_OWNED_SPAWN_ENV, a new host-owned variable.
  • SANDBOX_OFFICE_PDF_DIR, a folder of kept PDF copies. When it is set, on any system except Windows, uploading a .docx or .pptx file makes Claude Code look in that folder for a PDF named after the sha256 fingerprint of the file. A sha256 fingerprint is a code worked out from the file's contents.
  • SANDBOX_OFFICE_PDF_SEND, a list of file types. The PDF that was found is attached to the upload as an office_preview part only if this variable lists that file's type.

Why

The change applies to sandboxed bridge deployments and to SDK and host programs that start Claude Code, not to ordinary use. A sandbox is a walled-off environment that Claude Code runs in. In those setups, a Word or PowerPoint upload can carry a ready-made PDF preview alongside the original file.

Read from
Names in the bundleCLAUDE_CODE_ENTRYPOINT
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 doubtWhat being on this list does to these variables is not stated.

See this entry in the whole of v2.1.326 →

Feedback