[BUG] Can not search the files within a symlink directory
Resolved 💬 5 comments Opened Sep 1, 2025 by DI-HUO-MING-YI Closed Jan 5, 2026
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.98<!-- output of
claude --version--> - Operating System: macOS 15.6.1<!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
- Terminal: iTerm2 <!-- e.g. iTerm2, Terminal App -->
Bug Description
I'm using a symlink to link to a directory, but I cannot use a @ to add a file inside that directory, and the Search tool isn't able to find the files inside it.
The directory structure is shown below:
workspace
|- admin-api -> ../backend/admin-api
|- admin-web -> ../backend/admin-web
|- CLAUDE.md
|- docs
|- README.md
Expected Behavior
<!-- What you expected to happen -->
I can use a @ to add a specific file.
The Search tool can locate files within the symlink directory.
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗