"@-reference Broken in Chat Interface"
Bug Description I can no longer use the @ tag to reference files inline in the chat. it isn't recognized the same way other tags are like the "#" "/" etc. It's just treated as a standard character.
Environment Info
- Platform: macos
- Terminal: cursor
- Version: 1.0.18
- Feedback ID: 8397d815-96d8-4961-95b6-f97797c17e21
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 JZ (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n at file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11795\n at Q (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n at aJ (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10941)\n at AS (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10022)\n at L6 (file:///Users/joeljanov/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:14134)","timestamp":"2025-06-11T12:26:00.510Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:481:14)\n at Socket.emit (node:events:518:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-06-11T12:26:02.565Z"},{"error":"RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded\n at Socket.onChildStdout (node:child_process:481:14)\n at Socket.emit (node:events:518:28)\n at Socket.emit (node:domain:489:12)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at Pipe.onStreamRead (node:internal/stream_base_commons:189:23)","timestamp":"2025-06-11T12:46:05.283Z"}]
Cannot repro this - could you record a video? If this only in a specific repo?
This is a huge regression. I was working on a specific repo, restart to apply new update. Then it stopped working.
https://www.loom.com/share/300a1fcf98e343969eb744b38d3da858?sid=cba88fc7-4497-4e6b-ae60-b316cee1b231
However, I test on other repo it is working.
Thanks for the report - we'll take a look.
On Wed, Jun 11, 2025 at 9:14 PM leeweisern @.***> wrote:
leeweisern left a comment (anthropics/claude-code#1951) https://github.com/anthropics/claude-code/issues/1951#issuecomment-2965056288
This is a huge regression. I was working on a specific repo, restart to apply new update. Then it stopped working.
https://www.loom.com/share/300a1fcf98e343969eb744b38d3da858?sid=cba88fc7-4497-4e6b-ae60-b316cee1b231
However, I test on other repo it is working.
— Reply to this email directly, view it on GitHub https://github.com/anthropics/claude-code/issues/1951#issuecomment-2965056288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSWQUHA6ZLWW76KMGBCOT3DD5EDAVCNFSM6AAAAAB7COW6B6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNRVGA2TMMRYHA . You are receiving this because you commented.Message ID: @.***>
We still haven't been able to repro. Does it work for you in latest? What version are you on? If not, does it work in subfolders of the repo? Any idea what's special about the repo where it doesn't work?
I figured out the issue, if the repository gets too large, we can't tag files. As in, if a specific file gets too nested it is, it is also not searchable using @.
I decided to use opencode for files that are too nested instead.
Not sure if my issues is the same or how to repro, but on large projects (I work on pytorch) ~33,000 code files the @-reference does not work, is this expected?
Should be fixed in todays release!
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.