-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Description
Description
Description of Issue:
I am reporting a critical failure in the account synchronization and TUI session management workflow. After exhausting my free tier, I added $42.48 in credits and increased my monthly limit to $250. Despite these updates being visible on the Zen dashboard, the TUI continued to return "Usage Exceeded" errors for over 30 minutes.
Key Points of Failure:
Gateway Sync Lag: The API gateway failed to recognize a positive credit balance and updated monthly limit in a reasonable timeframe (5-15 mins).
TUI Session Persistence: The TUI remained in a "Blocked" state despite account changes. No mechanism exists to refresh the billing status or rotate API keys without interrupting the session.
Loss of Context: Attempting to force a refresh using /new (as a last resort) resulted in a total wipe of the terminal scrollback and session history, with no local log recovery.
Requested Improvements:
Implement a /refresh-billing or /auth-sync command in the TUI to force a gateway handshake without clearing session history.
Improve the propagation speed of "Monthly Limit" changes to the API gateway.
Ensure the /new command does not clear the terminal's native scrollback buffer.
Provide a warning alert before reaching a billing limit, so users don't get into a deadlock like I experienced.
Environment:
Model: Big Pickle
Timestamp: Feb 23, 2026, approx. 4:30 PM - 5:05 PM PST
Workspace ID: wrk_01KGXRHYG436QRJSA68TAN63J9
Plugins
none
OpenCode version
1.21.10
Steps to reproduce
Use OpenCode? ;). Seriously, I can't say much beyond what's in the report above.