[Feature Request] Add session limit warning and graceful termination with resumable checkpoints

Resolved 💬 7 comments Opened Nov 29, 2025 by tdrozdowski Closed Mar 13, 2026

Bug Description
So you guys REALLY need to think through the experience of hitting session limits; last night I was literally half way through executing a plan when you cut me off. and now this morning Claude is messing things up seriously. we were on a great track last night only to have no way to put our work in a good state before locking down the session. If you're not going to be gracious and let claude finish what its working on and then terminate the session, you need to warn us at 98% or something and claude should offer to park the current effort leaving notes so it can resume nicely later. This is the biggest issue I have with this tool. Cursor lets you go over but switching to a different model. I don't see why you guys can do the same since you own the models!

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.55
  • Feedback ID: bff0acfb-f3bd-4fd0-b001-cd61847bef19

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at kj (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1137)\n    at IncomingMessage.<anonymous> (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9864)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at EVA.request (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Bj2 (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2139:5280)","timestamp":"2025-11-28T23:32:58.213Z"},{"error":"AxiosError: Request failed with status code 401\n    at kj (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1137)\n    at IncomingMessage.<anonymous> (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9864)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at EVA.request (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async TP3 (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3483:2192)\n    at async file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3483:2742","timestamp":"2025-11-28T23:32:58.214Z"},{"error":"AxiosError: Request failed with status code 401\n    at kj (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1137)\n    at IncomingMessage.<anonymous> (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9864)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1696:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at EVA.request (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2130)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async TP3 (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3483:2192)\n    at async file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:3483:2742","timestamp":"2025-11-28T23:32:58.471Z"},{"error":"Error: Request was aborted.\n    at Bt._createMessage (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:463:3151)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-11-28T23:36:08.748Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at Module.readFileSync (node:fs:443:20)\n    at Object.readFileSync (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:9:299)\n    at i22 (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:4242:17034)\n    at Object.call (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1514:909)\n    at Hm5 (file:///Users/terry/.nvm/versions/node/v23.10.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:2284:16741)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","time

Note: Error logs were truncated.

View original on GitHub ↗

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