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.