Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: vbgate/opencode-mystatus

v1.2.4

20 Jan 16:08

Choose a tag to compare

What's Changed

Bug Fixes

  • Remove unused COPILOT_API_BASE_URL constant causing lint error

Full Changelog: v1.2.3...v1.2.4

v1.2.3

20 Jan 16:05

Choose a tag to compare

What's Changed

Bug Fixes

  • Copilot: Refactored quota query to use GitHub's public billing API to accommodate the OpenCode OAuth integration change in January 2026

Enhancements

  • Added support for subscription tiers (free, pro, pro+, business, enterprise)
  • Improved output format with progress bar, model breakdown, and billing period
  • Added bilingual (EN/ZH) error messages with setup instructions

Dependencies

  • Upgrade @opencode-ai/plugin to 1.1.27

Full Changelog: v1.2.2...v1.2.3

v1.2.2

13 Jan 18:32

Choose a tag to compare

Documentation

  • Updated installation instructions in README.md and README.zh-CN.md to remove version constraints, allowing for automatic updates.

v1.2.1

13 Jan 18:12

Choose a tag to compare

Fixed

  • Remove unused maskString import in copilot.ts to fix lint error

v1.2.0

13 Jan 18:07

Choose a tag to compare

Added

  • Support for GitHub Copilot account quota tracking (Premium requests)
  • New copilot.ts module for GitHub internal API integration
  • Updated README.md and README.zh-CN.md with Copilot documentation

v1.1.0

12 Jan 17:38

Choose a tag to compare

πŸŽ‰ What's New in v1.1.0

✨ New Features

  • Add Z.ai (Coding Plan) Support
    • Query quota for Z.ai platform via https://api.z.ai/api/monitor/usage/quota/limit
    • Supports token limit and MCP usage display
    • Credentials read from ~/.local/share/opencode/auth.json under zai-coding-plan key

πŸ”§ Improvements

  • Refactor Zhipu Module

    • Extracted shared logic to support multiple platforms (Zhipu AI & Z.ai)
    • Added PlatformConfig interface for platform-specific configuration
    • Reduced code duplication through queryUsage() internal function
  • Better Account Labels

    • Zhipu AI: Now shows "Coding Plan" instead of "API Key (Coding Plan)"
    • Z.ai: Shows "Z.ai" label for clarity

πŸ“š Documentation Updates

  • Updated README.md:

    • Added Z.ai to supported platforms table
    • Added Z.ai usage example output
    • Updated security section with Z.ai API endpoint
    • Updated "Supported account types" section
  • Updated README.zh-CN.md (Chinese version):

    • Same changes as English README
    • Properly translated new content
  • Updated package.json:

    • Description now mentions Z.ai support
    • Added "zai" to keywords
    • Upgraded @opencode-ai/plugin to v1.1.14

🌍 Internationalization

Added i18n strings for Z.ai (both English and Chinese):

  • zaiTitle - "## Z.ai Account Quota"
  • zaiApiError - Error message template
  • zaiAccountName - "Z.ai"

πŸ”’ Security

Z.ai API endpoint is official and read-only:

  • Endpoint: https://api.z.ai/api/monitor/usage/quota/limit
  • No data storage or caching
  • API keys masked in output

πŸ“ Migration Notes

No breaking changes. Existing users can upgrade seamlessly.

For Z.ai users:
Ensure your Z.ai API key is stored in ~/.local/share/opencode/auth.json:

{
  "zai-coding-plan": {
    "type": "api",
    "key": "your-zai-api-key"
  }
}

πŸ™ Acknowledgments

Special thanks to @ChaosJiang for contributing Z.ai support!

πŸ“¦ Full Changelog

Files Changed:

  • plugin/lib/zhipu.ts - Refactored for multi-platform support, added queryZaiUsage()
  • plugin/lib/types.ts - Added zai-coding-plan to AuthData interface
  • plugin/lib/i18n.ts - Added Z.ai-related strings (zh/en)
  • plugin/mystatus.ts - Integrated Z.ai query, updated description
  • README.md - Documentation updates
  • README.zh-CN.md - Chinese documentation updates
  • package.json - Version bump, description, keywords, dependency upgrade

Dependency Updates:

  • @opencode-ai/plugin: 1.1.13 β†’ 1.1.14

v1.0.1

11 Jan 09:35

Choose a tag to compare

Fixed

  • Include command/ directory in npm package for slash command support

v1.0.0

11 Jan 09:20

Choose a tag to compare

Initial release
Query OpenAI account quota (Plus/Team/Pro)
Query Zhipu AI account quota (Coding Plan)
Query Google Cloud account quota (Antigravity)
Visual progress bars for quota display
Multi-language support (Chinese/English)
API key masking for security