Inconsistent File Linking with @ in Nested Directories with Hyphens

Resolved 💬 2 comments Opened Jun 16, 2025 by jpjagt Closed Nov 30, 2025

Bug Description
cannot link files with @ if it's in a nested directory with a hyphen. e.g. foundation-webapp/app/components/feature-components doesn't work, while foundation-webapp/app/components/featurecomponents does work. but in another case of testing, that also didn't work. it's a bit inconsistent.

example:

➜  test tree .
.
└── foundation-webapp
    └── app
        └── components
            ├── feature-components
            │   ├── test.txt
            │   └── test.txt~
            └── featurecomponents
                └── test2.txt

running claude in this dir, writing @test leads to no auto-completions at all.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.24
  • Feedback ID: 0a06387c-f855-4d75-bad6-9b498732fae4

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:891:11)\n    at execSync (node:child_process:963:15)\n    at HZ (file:///Users/jeroen/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///Users/jeroen/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8863\n    at Q (file:///Users/jeroen/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at tJ (file:///Users/jeroen/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:8009)\n    at HS (file:///Users/jeroen/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:7090)\n    at T6 (file:///Users/jeroen/.volta/tools/image/packages/@anthropic-ai/claude-code/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11202)","timestamp":"2025-06-16T18:02:22.244Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗