"@-file Search Autocomplete Regression: Inconsistent Path Completion"

Status Fixed / completed
Maintainer reply ✓ Yes — igorkofman
Activity 10 comments · opened Jun 16, 2025 · closed Jun 20, 2025
💡 Likely answer: A maintainer (igorkofman, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
there's been a bad regression in terms of using @ for adding files. the search is nowhere near as good as it was a week ago, and when i hit tab, it only sometimes fills in the entire path. other times, it will only add one part of a long path, which is infuriating because then i need to add things segment by segment.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.24
  • Feedback ID: 2c433a7b-ce80-4893-a0c4-6286db741ef8

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at HZ (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8863\n    at Q (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at tJ (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8009)\n    at HS (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7090)\n    at T6 (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11202)","timestamp":"2025-06-14T19:48:39.292Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at pD (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1493:1173)\n    at file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1493:907\n    at Array.map (<anonymous>)\n    at SK (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1493:898)\n    at c$2 (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1938:9109)\n    at LE (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:19798)\n    at jT (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:42555)\n    at ST (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:38104)\n    at Kq (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:38032)\n    at pE (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:37886)","timestamp":"2025-06-14T19:56:17.984Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at pD (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1493:1173)\n    at file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1493:907\n    at Array.map (<anonymous>)\n    at SK (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1493:898)\n    at c$2 (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1938:9109)\n    at LE (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:142:19798)\n    at jT (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:42555)\n    at ST (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:38104)\n    at Kq (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:38032)\n    at pE (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:144:37886)","timestamp":"2025-06-14T19:56:17.988Z"},{"error":"Error: Request was aborted.\n    at Lw.makeRequest (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1344:3784)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-14T20:02:30.651Z"},{"error":"SyntaxError: Unexpected non-whitespace character after JSON at position 58 (line 6 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:573:9978\n    at Q (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at SO2 (file:///Users/willriley/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1977:689)\n    at process.processTicksAndReject

Note: Error logs were truncated.

View original on GitHub ↗

10 Comments

serpent213 · 1 year ago

Yes, very broken with 1.0.22 and still 1.0.25. Finding files by typing @{filename} does not work anymore, and it apparently pulls in unrelated MCP data.

╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > @S                                                                                                                   │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
  scripts/
  settings.gradle.kts
  graphiti:http://graphiti/status                                      get_status - Get the status of the Graphiti MCP
                                                                       server and Neo4j connection.
  app/src/
speza · 1 year ago

This is very broken for me too (version 1.0.25). The file search is practically unusable.
That is with the @ and also just when tabbing for files.

digitalmagnets · 1 year ago

Mine is completely broken for a few versions now, possibly related to amount of files in my dirs.

adamkwhite · 1 year ago
Yes, very broken with 1.0.22 and still 1.0.25. Finding files by typing @{filename} does not work anymore, and it apparently pulls in unrelated MCP data. `` ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ > @S │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ scripts/ settings.gradle.kts graphiti:http://graphiti/status get_status - Get the status of the Graphiti MCP server and Neo4j connection. app/src/ ``

I just tried this out myself. It looks like it's matching <characters>. This might explain why you are seeing "graphiti:http://graphiti/status" and "/app/src"

!Image

!Image

serpent213 · 1 year ago

I wouldn't mind the MCP entries, maybe that somehow makes sense. But it doesn't find the files I'm looking for – maybe because they are 11 levels deep...?

E.g. @app/src/androidTest/kotlin/com/example/timetracker/ui/features/timetracking/TimeTrackingScreenTest.kt

Worked fine with earlier versions...

MidnightTinge · 1 year ago

yeah this seems to keep breaking in unexpected ways. finally got around to digging through the sea of open errors today and, according to https://github.com/anthropics/claude-code/issues/1397, the most recent filename regression was introduced in 1.0.19. if you're not experiencing the symlink bug you can downgrade to 1.0.18 temporarily. if you're hitting the symlink bug, then you have to go down to 1.0.4.

that thread has a lot of good info and steps for downgrade. fingers crossed anthropic will fix things soon 🤞

serpent213 · 1 year ago
fingers crossed anthropic will fix things soon 🤞

...without breaking other things! 😅

speza · 1 year ago

This is looking fixed in version 1.0.30 🙌

igorkofman collaborator · 1 year ago

Yep!

github-actions[bot] · 1 year ago

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.