[Bug] ESC key restarts Claude with previous plan after completion

Resolved 💬 3 comments Opened Mar 11, 2026 by magnusnoeddegaard Closed Mar 15, 2026

Bug Description
The first time i click the "esc" button after accepting a plan, or when it has completed implementing the plan, then it starts claude again with the plan again.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.72
  • Feedback ID: 5ef369e2-3a1a-41d5-a150-8c6b505ff7cb

Errors

[{"error":"MaxFileReadTokenExceededError: File content (39260 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ls7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1545:8060)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async is7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1549:2466)\n    at async Object.call (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1554:5606)\n    at async CCY (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:4023:15020)","timestamp":"2026-03-11T13:04:57.712Z"},{"error":"MaxFileReadTokenExceededError: File content (39260 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ls7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1545:8060)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async is7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1549:2466)\n    at async Object.call (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1554:5606)\n    at async CCY (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:4023:15020)","timestamp":"2026-03-11T13:05:00.991Z"},{"error":"MaxFileReadTokenExceededError: File content (39260 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ls7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1545:8060)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async is7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1549:2466)\n    at async Object.call (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1554:5606)\n    at async CCY (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:4023:15020)","timestamp":"2026-03-11T13:10:43.663Z"},{"error":"Error: Request was aborted.\n    at PS.makeRequest (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:366:3940)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:520:9)","timestamp":"2026-03-11T13:14:26.302Z"},{"error":"MaxFileReadTokenExceededError: File content (29228 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at ls7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1545:8060)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async is7 (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1549:2466)\n    at async Object.call (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:1554:5606)\n    at async CCY (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:4023:15020)","timestamp":"2026-03-11T13:15:07.509Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: spawn typescript-language-server ENOENT\n    at Object.start (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:3132:22365)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Object.O [as start] (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:3132:24663)\n    at async w (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:3132:33764)\n    at async H (file:///C:/Users/hanse/AppData/Local/nvm/v22.19.0/node_modules/@anthropic-ai/claude-code/cli.js:3132:34107)","timestamp":"2026-03-11T13:23:04.134Z"},{"error":"Error: spawn…

Note: Content was truncated.

View original on GitHub ↗

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