Skip to content

Releases

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 19:46
v1.0.1
8f4977a

Fixed

  • npm installations (opencode plugin add opencode-zai-limits) no longer fail with
    Cannot find package 'react' imported from .../src/tui.tsx. The TUI part is now precompiled to dist/tui.js
    at build time and the ./tui export points there. OpenCode transforms local .tsx plugin parts with its
    Solid/OpenTUI preset, but that transform skips files under node_modules, so the shipped source fell through
    to Bun's default React JSX transform. Local plugin folders were not affected.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 23:34
v1.0.0
f30666e

Changed

  • The footer meter shows the percentage of credits used instead of the percentage left, matching the
    Usage column of /zai-limits: z.ai | 3h 33m : 45% | 2d : 20%. The green/yellow/red color still follows
    the remaining 5h credits.
  • A 5-hour window that has not started (nothing used) is left out of the meter (z.ai | 2d : 20%) instead of
    showing 5h : 100%, and the meter reads z.ai | full when nothing is used in either window.

Full Changelog: v0.9.1...v1.0.0

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:51
v0.9.1
42cbc7f

Technical release to validate an nmp trusted publisher.

Full Changelog: v0.9.0...v0.9.1

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:31
v0.9.0
8376fb1

Initial release.

Derived from guyinwonder168/opencode-glm-quota (as of PR #52 by @itelyatnikov80, commit dafcf639),
security-reviewed and then reworked into its own zero-dependency project.
Not a fork and not intended to be merged back.

THE BIGGEST IMPROVEMENT FOR THE END USER: Neither the footer meter nor /zai-limits spends credits or tokens:
both only make plain monitoring GETs, with no agent and no model call.

Full Changelog: https://github.com/ManeFunction/opencode-zai-limits/commits/v0.9.0

Features:

  • improved /zai-limits TUI popup structure
  • added opencode bun:sqlite support to remove external sqlite dependency
  • Renamed glm-limits to zai-limits
  • /glm-limits do not launch subagent anymore
  • initial rework

Fixes:

  • rename glm leftovers
  • share MCP tool labels and format MCP usage numbers
  • fall back to per-model tokens when 24h totals read zero
  • drop the 40M token sentinel and its fallback loop
  • surface API errors instead of an empty report
  • decode response body as a UTF-8 stream

Refactor:

  • move the report renderer into src/report/
  • one duration helper for the report and the meter
  • parse the quota response into one typed model