Hidden Directory Listing Failure in LS Tool Compared to Bash ls
Bug Description
It appears that when Claude uses its internal LS tool wrapper it is unable to list contents of hidden directories (starting with .). When instructed to instead use the standard ls command directly, it functions correctly.
Environment Info
- Platform: linux
- Terminal: tmux
- Version: 0.2.53
- Feedback ID: 21a8bb82-9980-41f9-bcfd-b47fa5f235c5
Relatedly, I notice that when I use the @ command to import a file, files within hidden directories are not included. I have become partial to creating an .ai directory to store agent context and directives, as well as project planning documentation. Claude Code does not seem to see these files nor is it able to interact with them.
This one is getting pretty annoying for me. Might be time for a all-time CLAUDE.md way up high that is always ingested...
big time annoying for sure, lots of configuration files are stored in hidden directories
Linking related issues for visibility - please upvote if you're experiencing this too:
- #2336
- #1818
- #611
Hey all, hidden files should be available now for searching in the latest release (v1.0.64) :)
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.