avtc-pi-zai-continue
v1.0.4
Published
Auto-continue after Z.ai usage limit resets, with a live countdown and retry suppression.
Readme
avtc-pi-zai-continue
Auto-continue after Z.ai usage limit resets, with a live countdown and retry suppression.
What it does
When Z.ai hits a 5-hour usage limit (error code 1308), this extension:
- Detects the quota error and marks it non-retryable so pi stops its built-in retry loop
- Parses when the quota resets from the error message
- Schedules an automatic "continue" for shortly after the reset (with a small buffer, so it doesn't fire exactly on the boundary)
- Shows a live countdown in the status bar, plus a one-shot notification with the wait time
Installation
pi install npm:avtc-pi-zai-continueUsage
No configuration needed. The extension activates automatically when installed. When a quota error is detected, you'll see a notification like:
⏳ Z.ai quota exhausted. Auto-continue in 2h 9m 32sFull suite
Check out the full suite of related extensions, avtc-pi — deterministic feature development, subagent delegation, working-memory, behavioral learning, parallel-work guardrails, durable decisions, notifications, and more.
Developed with Z.ai — get 10% off your subscription via this referral link.
License
MIT
