Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

/add-dir refuses folders whose names the system would cut short

/add-dir now refuses a folder if the end of its name would be dropped, such as trailing spaces, since that would point to a different folder

Use it now Improvements
JSON All of v2.1.331
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Slash CommandsArea: what it touches
ImprovementsKind: in v2.1.331,
What probably matters to youSection of the release
What

/add-dir gives Claude access to another folder during your session. Claude Code can now refuse a folder whose name the operating system would quietly shorten, for example a name ending in a space, or a name matching a pattern that Windows handles this way. In that case you see: "can't be added: the end of its name would be dropped, and that names a different folder. Rename the folder."

/add-dir also no longer adds a second time a folder that is already listed through --add-dir.

Why

This is a safety fix. It stops Claude from getting access to a different folder from the one you named.

Read from
Names in the bundle/add-dir

See this entry in the whole of v2.1.331 →

Feedback