Releases: vbgate/opencode-mystatus
v1.2.4
v1.2.3
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
v1.2.1
v1.2.0
v1.1.0
π 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.jsonunderzai-coding-plankey
- Query quota for Z.ai platform via
π§ Improvements
-
Refactor Zhipu Module
- Extracted shared logic to support multiple platforms (Zhipu AI & Z.ai)
- Added
PlatformConfiginterface 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/pluginto v1.1.14
π Internationalization
Added i18n strings for Z.ai (both English and Chinese):
zaiTitle- "## Z.ai Account Quota"zaiApiError- Error message templatezaiAccountName- "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, addedqueryZaiUsage()plugin/lib/types.ts- Addedzai-coding-plantoAuthDatainterfaceplugin/lib/i18n.ts- Added Z.ai-related strings (zh/en)plugin/mystatus.ts- Integrated Z.ai query, updated descriptionREADME.md- Documentation updatesREADME.zh-CN.md- Chinese documentation updatespackage.json- Version bump, description, keywords, dependency upgrade
Dependency Updates:
@opencode-ai/plugin:1.1.13β1.1.14
v1.0.1
v1.0.0
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