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

The --add-dir rejection message now names the session's working directory

A directory outside the allowed area is now rejected with wording about the session's working directory instead of "cwd"

You'll notice Improvements
JSON All of v2.1.287
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.287,
ImprovementsSection of the release

Unclear It is not clear whether the rewritten check now accepts or rejects any paths differently.

What

--add-dir lets Claude read and edit files in extra folders. When a directory is rejected because it is outside the allowed area, the message now says it is not a subdirectory of the session's working directory or of a launch-time --add-dir root. Before, it said "cwd".

The check behind it was also rewritten. It now compares against the session's own working directory and uses a shared comparison step.

Why

If you hit this error, the message says plainly which folder it compared against.

Read from
Names in the bundle--add-dir
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Error reference touched a line naming --add-dir after this was published. * On Windows, map the share to a drive letter and pass the drive at launch. In PowerShell, for example, run `net use Z: \\server\share` and then `claude --add-dir Z:\`. errors see the edit
Confirmed since Anthropic's documentation has since written up --add-dir, on Share session output as artifacts. Claude reads files in your session's [working directories](/docs/en/permissions#working-directories), and in the temporary directory it writes pages to, without asking. To let Claude publish from another folder without the prompt, add the … artifacts see the edit
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 whether the rewritten check now accepts or rejects any paths differently.
Anthropic's documentation agreesAnthropic's documentation has since written up --add-dir, on Share session output as artifacts.

See this entry in the whole of v2.1.287 →

Feedback