claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Unclear Time Limit Warning with Insufficient Reset Information

Open taylorsatula opened this issue 4 months ago • 3 comments

Bug Description "Approaching 5 hour limit" tells me NOTHING. It doesn't state when the window will reset or give me any information.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.93
  • Feedback ID: a2b6455c-f323-4bed-b9ea-3682e6a03577

Errors

[{"error":"SyntaxError: Expected double-quoted property name in JSON at position 73 (line 3 column 1)\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:704:9932\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:671:13288)\n    at fFA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:30769)\n    at hY9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:32618)\n    at $N (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:33002)\n    at f2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:32934)\n    at MN2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:771:13531)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1989:290\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:671:13288)","timestamp":"2025-08-27T18:21:40.393Z"},{"error":"Error: Invalid settings\n    at vY9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:30092)\n    at fFA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:30814)\n    at hY9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:32618)\n    at $N (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:33002)\n    at f2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:32934)\n    at MN2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:771:13531)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1989:290\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:671:13288)\n    at mP5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3614:10178)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3657:1373","timestamp":"2025-08-27T18:21:40.396Z"},{"error":"Error: Invalid settings\n    at vY9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:30092)\n    at fFA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:30814)\n    at KG (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:741:31586)\n    at Xi (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:727:1521)\n    at oH1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:727:1484)\n    at Rj2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:842:11843)\n    at fT0.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:3627:145)\n    at fT0.B [as _actionHandler] (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:661:528)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:665:3127\n    at fT0._chainOrCall (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:665:1694)","timestamp":"2025-08-27T18:21:40.490Z"}]

taylorsatula avatar Aug 27 '25 18:08 taylorsatula

I came here to say the same, context would be really helpful here:

 Approaching 5-hour limit

vs

 Approaching 5-hour limit (resets at 1pm GMT)

The second is much more helpful, as it allows you to make judgement calls like:

ah well, let's plough on through, as when it runs out I can go for lunch, and it'll have reset by the time I'm done.

vs

yikes, that's not for hours!! <hits escape to stop Claude burning credit ASAP>. Right, let's think through what is most important to delegate to Claude, and what I should do myself.

lukens avatar Aug 28 '25 11:08 lukens

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 04 '25 10:12 github-actions[bot]

It now seems to show a percent used and when it will reset, so I suspect this can be closed now. @taylorsatula - agree?

lukens avatar Dec 04 '25 19:12 lukens