glm-coding-quota
Manifest validGLM Coding Plan usage quota ring in the composer dock - 5-hour and weekly credit windows with level, auto-refresh and one-click retry. Requires a GLM Coding Plan subscription and key, plus your BigMod
glm-coding-quota
A DeepSeek Harness plugin that shows your GLM Coding Plan quota right in the composer — the 5-hour rolling window and the weekly credit window, straight from the BigModel team monitoring API.
输入框底栏常驻一个刻度环显示 5 小时窗口余量,悬停展开完整额度卡片(5 小时 / 每周两列:剩余百分比、重置时间、彩色刻度条)。数据来自 open.bigmodel.cn 团队监控接口,5 分钟轮询 + 服务端缓存,不占请求额度。
Features
- Segmented tick ring beside the model selector — tracks the 5-hour window at a glance (green / amber / red as it drains)
- Hover card with one row per quota window: label, remaining %, reset time, color-coded tick bar
- Optional plan-level badge (
level) from the team API - 5-minute client polling, 5-minute server cache, in-flight dedup — one API hit per refresh no matter how many UIs ask
- Works with any GLM Coding Plan key: reads
ZAI_CODING_CN_API_KEYfrom env or~/.dsh/.credentials.yaml
Install
dsh plugin --profile <your-profile> add glm-coding-quota
Then restart DeepSeek Harness. The ring appears next to the model selector in the composer.
Configuration
Two values are needed: your BigModel organization and project IDs (the team quota API answers empty without them). Three ways to provide them, first match wins:
1. Plugin config — in your profile's cordis.patch.yml:
- id: glm-coding-quota
name: glm-coding-quota
config:
organization: org-xxxxxxxx
project: proj_xxxxxxxx
2. User-level config file — ~/.dsh/glm-coding-quota.json (simplest):
{ "organization": "org-xxxxxxxx", "project": "proj_xxxxxxxx" }
3. Env vars — BIGMODEL_ORGANIZATION / BIGMODEL_PROJECT.
The API key is picked up automatically (env ZAI_CODING_CN_API_KEY, or the same key DSH already stores in ~/.dsh/.credentials.yaml for the GLM provider — no extra setup if you already use GLM models).
Where to find your IDs: the BigModel console (open.bigmodel.cn) — organization & project management pages.
Requirements
- DeepSeek Harness
>= 0.2.0-rc.1 - A GLM Coding Plan subscription (team API access)
Debug
GET /api/glm-coding-quota/quota on your DSH web-server port returns the raw mapped payload; add ?force=1 to bypass the cache. Useful for verifying the key/scope without the UI.
License
Comments
Loading…
Similar plugins
by Everglow28
GLM Coding Plan quota pill for the DeepSeek Harness web GUI - real-time per-window usage in the composer stats row
★ 0
MIT
JavaScript
Oct 9, 2026
dsh plugin --profile web add dsh-glm-quota-dockby Jovan1666
Command Code plan quota in your DeepSeek Harness (dsh) sidebar: 5-hour, weekly and monthly credit windows with reset countdowns. Works with Go, GOAT, Pro, Max and Provider plans.
★ 1
↓ 353/wk
MIT
JavaScript
Oct 26, 2026
dsh plugin --profile web add dsh-commandcode-quotaby sxwer001
Quota ring in the DSH composer bar that tracks OpenCode Go and 14 other coding-plan quotas or balances, cycles 5-hour weekly and monthly windows on click, and colours itself by urgency.
★ 0
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-coding-plan-quotaby Dogtiti
Provider usage panel for DeepSeek Harness: shows the remaining share of each quota window (GLM Coding Plan today) as a chip beside the model selector, with a detail popover.
★ 0
JavaScript
Oct 26, 2026
dsh plugin --profile web add dsh-plugin-usage-panelby iasiv5
DSH 插件:常驻悬浮胶囊,直观展示 GLM Coding Plan 与 GitHub Copilot 额度快照、订阅用量详情。
★ 2
↓ 591/wk
MIT
JavaScript
Oct 28, 2026
dsh plugin --profile web add @iasiv5/dsh-quota-watchInline Command Code plan usage badge in the DSH composer toolbar beside the model selector: 5h and weekly window usage plus remaining credits, clicking the badge opens an upward detail popover with re
★ 0
dsh plugin --profile web add dsh-commandcode-usage-inline