Skip to content

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 18:31
· 6 commits to main since this release
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