[BUG] Visual Studio Code plugin shows incorrect limit when hitting 5 hour limit at end of week
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When hitting the 5hr limit at the end of the week, the error message in VSCode Claude Code plugin shows the wrong reset time (shows the week reset time).
This image captures the inconsistency - the Account/Usage widget shows that the session resets in 2 hours but the weekly limit is ok, while the error message (visible in the background shows the limit will reset in 6 days+22hrs.
<img width="1020" height="516" alt="Image" src="https://github.com/user-attachments/assets/56961e45-0542-4ac9-b2d6-be8d87fbd12c" />
What Should Happen?
The usage limit in the claude code plugin should provide accurate limit reset information.
Error Messages/Logs
Steps to Reproduce
Start a new session within 5 hours of the weekly limit reset.
Trigger session limit but not the weekly limit.
Limit message says the limit resets as if the weekly limit were hit.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.42 (Claude Code for VS Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗