← Catalog

avtc-pi-zai-continue

Auto-continue after Z.ai usage limit resets, with a live countdown and retry suppression.

Extension

Install

Install with PiG

pig install npm:avtc-pi-zai-continue

Install with Pi

pi install npm:avtc-pi-zai-continue
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 1.0.7 (README.md). PiG does not review it.

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:

  1. Detects the quota error and marks it non-retryable so pi stops its built-in retry loop
  2. Parses when the quota resets from the error message
  3. Schedules an automatic "continue" for shortly after the reset (with a small buffer, so it doesn't fire exactly on the boundary)
  4. 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