avtc-pi-zai-continue
Auto-continue after Z.ai usage limit resets, with a live countdown and retry suppression.
Package details
Install avtc-pi-zai-continue from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:avtc-pi-zai-continue- Package
avtc-pi-zai-continue- Version
1.0.4- Published
- Jul 13, 2026
- Downloads
- 855/mo · 261/wk
- Author
- avtc
- License
- MIT
- Types
- extension
- Size
- 14 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
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-continue
Usage
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 32s
Full 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