dshbase

插件目录 / Developer / dsh-zhipu-codingbar

dsh-zhipu-codingbar

未验证 cesarX-AI

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-21最近推送
跨平台平台

功能简介

DSH web status bar for Zhipu GLM Coding Plan quotas

我们的评价
未验证 — 尚未实测

DSH web status bar for Zhipu GLM Coding Plan quotas 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-zhipu-codingbar

DSH Web 会话头部状态栏:显示 智谱 GLM Coding Plan 额度。

样式与交互模仿 dsh-codingbar,数据源只保留智谱。

显示

  • 智谱 Coding Plan:5 小时 / 每周 / MCP 工具额度,剩余百分比、重置时间、倒计时
  • 剩余 <20% 变黄,<5% 变红

窄条在会话头部,点击在胶囊下方展开详情卡。右侧边栏打开时,卡片会保持宽度并左移,避免被挡住。

安装

dsh plugin --profile web add github:cesarX-AI/dsh-zhipu-codingbar --config.minimumReleaseAge=0

然后重启 dsh web。确认层已挂上:

dsh --profile web --dump-config | grep -A20 zhipu-codingbar

本地开发(clone 后用路径安装,改源码只需重启 dsh web):

git clone https://github.com/cesarX-AI/dsh-zhipu-codingbar.git
dsh plugin --profile web add ./dsh-zhipu-codingbar --config.minimumReleaseAge=0

配置

cordis.patch.yml 插入 id: zhipu-codingbar 行。后一层 patch 会整行替换 config,不会深合并,所以覆盖时要把需要保留的键一起写上。schema 会补未提供的默认值。

字段 默认 说明
refreshMs 60000 智谱额度轮询间隔(毫秒,≥1000)
zaiQuotaUrl 智谱官方额度接口 一般不用改
zaiApiKey 可选;空则读 ZAI_CODING_CN_API_KEY~/.dsh/.credentials.yaml

在 profile 的 cordis.patch.yml 覆盖示例:

- id: zhipu-codingbar
  config:
    refreshMs: 30000

凭据

数据 接口 密钥
智谱额度 open.bigmodel.cn/api/monitor/usage/quota/limit ZAI_CODING_CN_API_KEY

密钥只在服务端使用,路由只返回派生数字。

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-zhipu-codingbar」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:cesarX-AI/dsh-zhipu-codingbar

Headless(CLI)profile:

dsh plugin --profile headless add github:cesarX-AI/dsh-zhipu-codingbar

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26 · 标记 webonly
备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →