← 返回列表
未验证
在会话头部实时查看智谱 Coding Plan 剩余额度与重置倒计时
尚未跑自动兼容性验证,可查看页面内的依赖与入口分析。 · 最近上游提交 2026/8/21 · 已提供中文文档
智谱 GLM 编码套餐配额的 DSH 网页状态栏
综合分
28.1
GitHub 分
28.1
用户评分
—
★ Stars
1
周下载量
—
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add cesarX-AI/dsh-zhipu-codingbar该插件未发布到 npm,走 GitHub 源安装(pnpm 若拦截 prepare 脚本,按其提示在 pnpm-workspace.yaml 的 allowBuilds 中放行后重跑)
数据截至 2026/9/16(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动
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
扫码进群