Introduction¶
DeepSeek Harness (DSH) uses a plugin-based architecture with strong extensibility. When using GLM Coding Plan, multi-account management often involves frequently switching API keys, manually configuring routing, and difficulty visually tracking quota consumption. dsh-plugin-zquota is designed to address these pain points by providing users with a multi-account quota monitoring dashboard and one-click account switching.
Plugin Positioning¶
This is a GLM Coding Plan quota monitoring dashboard plugin for DeepSeek Harness.
* Developer: wuyan19
* Positioning: A client-side plugin that solves multi-account quota tracking and automatic routing configuration issues.
* License: MIT
Core Features¶
- Multi-dimensional quota monitoring: Supports viewing quota details for each account across the 5-hour window, weekly, and monthly periods. MCP details can be viewed on hover. The UI changes color based on thresholds (orange at ≥70%, red at ≥90%).
- One-click switching and automatic routing configuration: Click Set active to switch accounts, while model routing is configured automatically (supports domestic and international endpoints). For a fresh installation where no providers are configured, the first click can automatically create complete provider routes.
- Themes and data: Automatically adapts to DSH’s light/dark themes. All data is stored locally, with keys in
.credentials.yamland state inzquota-state.json.
Installation and Enablement¶
Installing the plugin requires a Node.js environment. npx will automatically fetch the dsh CLI.
npx @deepseek-ai/dsh plugin --profile web add github:wuyan19/dsh-plugin-zquota
After installation, refresh the browser page. The panel usually appears under Settings -> GLM Coding Plan.
Typical Usage¶
- Switch account: Select an account in the panel and click Set active. The system automatically writes the API key to the corresponding credential reference (domestic endpoint:
ZAI_CODING_CN_API_KEY-> routezai-coding-cn; international endpoint:ZAI_API_KEY-> routezai) and configures model settings automatically. No restart is required for the changes to take effect. - View details: Hover over a quota bar to see detailed MCP information.
- Initialize configuration: For a fresh DSH installation where no providers are configured, after adding an account and clicking to switch, the plugin automatically creates complete provider routes and a
glm-5.3model entry.
Applicable Scenarios and Notes¶
- Applicable scenarios: Suitable for developers who need to use both domestic and international GLM Coding Plan endpoints or manage multiple accounts.
- Security notes: API keys are stored only in the local
$DSH_HOME/.credentials.yamlfile (permissions 0600). Key material is not sent to the browser. The/zquota-apiendpoint provided by the plugin only accepts loopback requests with anx-zquota-clientheader. - Dependencies: Installation depends on Node.js.
npxautomatically handles fetching the dsh CLI.
Conclusion¶
This plugin reduces the onboarding cost of GLM Coding Plan through local data management and automated configuration. More details can be found in the Community Catalog or the GitHub Repository.