[BUG] File auto complete disappears when typing special character like `(` and `[`
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other:
- Claude CLI version: 1.0.21
- Operating System: macOS 15.5
- Terminal: Cursor integrated terminal
Steps to Reproduce
I have a file in our project which has path: src/app/(dashboard)/admin/profile/[id]/page.tsx. When I type @\src\app\(, the auto complete just disappears.
I also tried @\src\app\/(, but it does not work
Expected Behavior
The auto complete option list correctly displays every option
Actual Behavior
The whole auto complete option list is not shown
Additional Context
Special character like ( and [ are common in nextjs projects.
Confirmed repro on another environment.
- Exist claude code
- Create a directory [test]
- Start claude code
- @ does not find [test] directory
Environment
- OS: Ubuntu 24.04 LTS
- Claude Code 1.0.24 (Claude Code)
- Terminal: Windows Terminal
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.