Dot-Prefixed Incorrectly Ignored During File Search and Mention
Resolved 💬 3 comments Opened Jul 17, 2025 by yifanzz Closed Aug 20, 2025
Bug Description
When using @ to mention files, claude doesn't search through any dot prefixed files, even ones committed in the repo like the github workflows in the .github/ folder
Environment Info
- Platform: darwin
- Terminal: webstorm
- Version: 1.0.53
- Feedback ID:
Errors
[{"error":"Error: {\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\\n at h92._doRun (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:154377)\\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\\n at async h92._runOnce (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:153625)\",\"message\":\"PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\",\"name\":\"Error\"}\n at S1A.error (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:27795)\n at pa1.error (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:14930)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:63780\n at Object.fdQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:64322)\n at h92._runOnce (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:153833)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T22:36:59.719Z"},{"error":"Error: Error opening file /Users/yifan/.claude/projects/-Users-yifan-code-claude-code-yolo/ca795e01-afeb-45bb-b492-f10423be98cb.jsonl: Error: ENOENT: no such file or directory, open '/Users/yifan/.claude/projects/-Users-yifan-code-claude-code-yolo/ca795e01-afeb-45bb-b492-f10423be98cb.jsonl'\n at Zv1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:636:176)\n at async Ya1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:643:3325)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:643:3739\n at async Ic0.appendEntry (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:641:43)\n at async Ic0.insertMessageChain (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:34586)\n at async wX1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:643:1902)","timestamp":"2025-07-17T22:45:34.008Z"},{"error":"Error: {\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\\n at h92._doRun (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:154377)\\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\\n at async h92._runOnce (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:153625)\",\"message\":\"PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\",\"name\":\"Error\"}\n at S1A.error (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:27795)\n at pa1.error (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:14930)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:63780\n at Object.fdQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:64322)\n at h92._runOnce (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:153833)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T22:45:34.103Z"},{"error":"Error: {\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\\n at h92._doRun (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:154377)\\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\\n at async h92._runOnce (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:153625)\",\"message\":\"PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\",\"name\":\"Error\"}\n at S1A.error (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:747:27795)\n at pa1.error (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:14930)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:63780\n at Object.fdQ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:64322)\n at h92._runOnce (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:153833)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-07-17T22:45:35.138Z"},{"error":"Error: {\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error OTLPExporterError: Bad Request)\\n at h92._doRun (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:308:154377)\\n
Note: Error logs were truncated.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗