Skip to content

v1.0.5 - Auto-detect plan tier, add screenshots and API docs#1

Open
evalor wants to merge 1 commit intomelon-hub:mainfrom
evalor:main
Open

v1.0.5 - Auto-detect plan tier, add screenshots and API docs#1
evalor wants to merge 1 commit intomelon-hub:mainfrom
evalor:main

Conversation

@evalor
Copy link

@evalor evalor commented Feb 21, 2026

This pull request introduces a significant update for the Z.ai Usage Tracker extension, focusing on automatic plan tier detection, improved API response handling, and enhanced UI and documentation. The extension now dynamically detects your account plan from the API, removes manual plan configuration, and displays richer usage information. Debugging and development are also improved with new VS Code configuration files.

Feature and UI Enhancements:

  • Automatic plan tier detection: The extension no longer requires manual plan tier configuration; it now auto-detects your account level (Lite/Pro/Max) from the API response and displays it in the tooltip. (package.json, readme.md, src/api/zaiService.ts) [1] [2] [3] [4] [5]
  • Improved API response parsing: Enhanced logic to dynamically fetch and display all quota windows (5-hour, 1-week, 1-month), MCP tool limits, and plan level, with precise reset times and richer status bar/tooltip display. (src/api/zaiService.ts, readme.md) [1] [2] [3] [4] [5]

Documentation and Debugging Improvements:

  • Added screenshots section to readme.md for better visual preview and clarified features, usage, and troubleshooting instructions. [1] [2]
  • Added comprehensive API documentation reference in readme.md and changelog.md. [1] [2]
  • Added VS Code debug and build configuration files (.vscode/launch.json, .vscode/tasks.json) for easier development and debugging. [1] [2]

Bug Fixes:

  • Fixed status bar display issues and improved tooltip rendering for clearer usage statistics.

Miscellaneous:

  • Updated package.json version to 1.0.5 and removed obsolete manual plan tier configuration from extension settings. [1] [2]

These changes streamline configuration, provide more accurate usage tracking, and improve both user experience and developer workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant