cesarX-AI/dsh-zhipu-codingbar ↗★ 1
dsh-zhipu-codingbar
DSH web status bar for Zhipu GLM Coding Plan quotas
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cesarX-AI/dsh-zhipu-codingbar说明文档
阅读完整 README ↗配置
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