Incorrect low funds warning on all responses when launched from Windows Explorer -> WSL (API usage plan)
Description
Claude Code incorrectly displays a low funds warning on every response when launched from Windows Explorer into WSL, despite the user being on an API usage plan (not actually low on funds).
Environment
- Claude Code Version: 2.0.31
- Platform: Windows with WSL2
- WSL Distribution: Ubuntu
- Account Type: API usage plan
Steps to Reproduce
- Open Windows Explorer
- Navigate to a directory in WSL (e.g.,
\wsl$\Ubuntu\...) - Launch Claude Code from that WSL directory via Explorer
- Claude Code launches successfully
- Send a request/prompt to Claude
- Observe low funds warning appears in Claude's response
- Send additional requests
- Observe warning continues to appear on all subsequent responses
Expected Behavior
Claude Code should correctly detect the API usage plan and not display low funds warnings.
Actual Behavior
Claude Code consistently shows a low funds warning on every single response throughout the entire session when launched via Explorer -> WSL.
Frequency
This occurs every time when launching from Explorer -> WSL, and persists for all responses in the session.
Additional Context
- The application launches without issue
- The warning appears on the first response and continues on all subsequent responses
- This appears to be an API plan detection issue specific to the Windows Explorer -> WSL launch path
- The API plan information is not being properly retrieved or recognized throughout the session
Impact
Users on API plans are repeatedly warned about low funds on every interaction, causing confusion about their account status and disrupting the user experience.
This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗