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.335 ·

CLAUDE_CODE_ATTACHMENTS_BY_PATH now works with uploads beside the path

With CLAUDE_CODE_ATTACHMENTS_BY_PATH set, attachments can upload beside the path under conditions, SDK-hosted attachments turn off, and a message is shorter

Group of 4 Use it now Notable No documentation found Improvements
JSON All of v2.1.335
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
AttachmentsArea: what it touches
ImprovementsKind: in v2.1.335,
What probably matters to youSection of the release

What

CLAUDE_CODE_ATTACHMENTS_BY_PATH is an environment variable, a named value you set in your shell before starting Claude Code, that makes attachments be handled by their file path. It now changes more than before:

  • Uploads: with it set, the attachment upload choice used to always be "none". It is now "none" only unless uploadsBesidePath is set, a session check passes and the tengu_atomic_whale flag is on. The flag's built-in default is on.
  • When those conditions pass, the environment-based upload routes (env_brief_upload, env_ccr, env_byoc) are skipped, while the repl route is still allowed.
  • SDK-hosted attachments: the sdk_hosted attachment source is now only used when the variable is unset. With it set, that check returns false.
  • Skill message: when a file is refused because claude.ai would not save it as a skill, the message with the variable set drops the "not sent:" prefix and the "Fix the file and send it again" advice.

Why

If you set this variable, attachments can now be uploaded next to their path in hosted sessions where that was not possible before, and SDK-hosted attachment handling is switched off.

Read from

See this entry in the whole of v2.1.335 →

Feedback