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 4Use it nowNotableNo documentation foundImprovements
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.