[Bug] Prompt lost when using @ file path syntax with long inputs

Resolved 💬 5 comments Opened Jan 16, 2026 by jkaster Closed Feb 27, 2026

Bug Description
Prompt destruction when using @ for file paths. Happened twice when I had a really long prompt and I wanted to provide some file references at the end of it. I hit enter and everything I had just typed was irrecoverably wiped out and only a partial file pattern match was left

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.9
  • Feedback ID: 652bccd8-e3e7-41c7-91ad-220ef4f2e22c

Errors

[{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: spawn typescript-language-server ENOENT\n    at Object.start (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:22355)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.X [as start] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:24795)","timestamp":"2026-01-16T19:50:36.354Z"},{"error":"Error: spawn typescript-language-server ENOENT\n    at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2026-01-16T19:50:36.354Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: spawn typescript-language-server ENOENT\n    at file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:32592\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2026-01-16T19:50:36.354Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at Object.K [as sendNotification] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:27013)\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:33883)","timestamp":"2026-01-16T19:55:57.447Z"},{"error":"Error: Failed to sync file open /Users/jkaster/flow/waves/src/app/(authenticated)/api/billing/agreementFid/[leaseId]/route.test.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:34059)","timestamp":"2026-01-16T19:55:57.447Z"},{"error":"Error: Failed to sync file open /Users/jkaster/flow/waves/src/app/(authenticated)/api/billing/agreementFid/[leaseId]/route.test.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:34059)","timestamp":"2026-01-16T19:55:57.448Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at Object.K [as sendNotification] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:27013)\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:33883)","timestamp":"2026-01-16T19:55:57.489Z"},{"error":"Error: Failed to sync file open /Users/jkaster/flow/waves/src/app/(authenticated)/api/charges/lease/[leaseId]/list/route.test.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:34059)","timestamp":"2026-01-16T19:55:57.489Z"},{"error":"Error: Failed to sync file open /Users/jkaster/flow/waves/src/app/(authenticated)/api/charges/lease/[leaseId]/list/route.test.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:34059)","timestamp":"2026-01-16T19:55:57.490Z"},{"error":"Error: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at Object.K [as sendNotification] (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:27013)\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:33883)","timestamp":"2026-01-16T19:56:18.138Z"},{"error":"Error: Failed to sync file open /Users/jkaster/flow/waves/src/app/(authenticated)/api/billing/agreementFid/[leaseId]/route.test.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:typescript': server is error\n    at W (file:///Users/jkaster/.nvm/versions/node/v24.6.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1699:34059)","timestamp":"2026-01-16T19:56:18.138Z"},{"error":"Error: Failed to sync file open /Users/jkaster/flow/waves/src/app/(authenticated)/api/billing/agreementFid/[leaseId]/route.test.ts: Cannot send notification to LSP server 'plugin:typescript-lsp:

Note: Error logs were truncated.

View original on GitHub ↗

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