[Bug] @ path completion does not expand properly, defaults to ~/.claude

Resolved 💬 1 comment Opened May 6, 2026 by sanjarcode Closed Jun 3, 2026

Bug Description
@ mention path completion has a bug. It does not show me entry for '@~/.dotfiles' until I type '@/.dotfiles/', and defaults to showing ~/.claude directory instead.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.128
  • Feedback ID: c6d1d791-3da7-46e2-8021-a4791b11547f

Errors

[{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server postman invalid: Missing environment variables: POSTMAN_API_KEY\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.746Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.746Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server pinecone invalid: Missing environment variables: PINECONE_API_KEY\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.746Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server pinecone invalid: Missing environment variables: PINECONE_API_KEY\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6363:11865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.884Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6363:11865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.884Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server postman invalid: Missing environment variables: POSTMAN_API_KEY\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at async L (/$bunfs/root/src/entrypoints/cli.js:6363:11865)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.884Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server postman invalid: Missing environment variables: POSTMAN_API_KEY\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6363:12751)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.885Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server github invalid: Missing environment variables: GITHUB_PERSONAL_ACCESS_TOKEN\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6363:12751)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.885Z"},{"error":"Error: Plugin MCP server error - mcp-config-invalid: MCP server pinecone invalid: Missing environment variables: PINECONE_API_KEY\n    at BGH (/$bunfs/root/src/entrypoints/cli.js:2765:35021)\n    at async N (/$bunfs/root/src/entrypoints/cli.js:6363:12751)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:24:51.885Z"},{"error":"Error: 400 {\"error\":{\"message\":\"Failed to deserialize the JSON body into the target type: missing field `max_tokens` at line 1 column 44670\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":\"invalid_request_error\"}}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58059)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:25:59.679Z"},{"error":"Error: 400 {\"error\":{\"message\":\"Failed to deserialize the JSON body into the target type: missing field `max_tokens` at line 1 column 27822\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":\"invalid_request_error\"}}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58059)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:26:43.758Z"},{"error":"Error: 400 {\"error\":{\"message\":\"Failed to deserialize the JSON body into the target type: missing field `max_tokens` at line 1 column 44670\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":\"invalid_request_error\"}}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:58059)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4949)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-06T05:26:44.474Z"},{"error":"Error: 400 {\"error\":{\"message\":\"Faile…

Note: Content was truncated.

Screenshots

The path completion is wrong until I enter a suffix '/'
<img width="842" height="148" alt="Image" src="https://github.com/user-attachments/assets/7897c494-1955-4843-bef9-236ed61136e4" />

<img width="863" height="149" alt="Image" src="https://github.com/user-attachments/assets/2a0453e4-238a-4ae4-b9b7-f8311ffc5eac" />

<img width="556" height="205" alt="Image" src="https://github.com/user-attachments/assets/ba064dbb-d9df-4eb6-9cb7-af92ae46d1e0" />

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗