cesarX-AI/dsh-zhipu-codingbar1

dsh-zhipu-codingbar

DSH web status bar for Zhipu GLM Coding Plan quotas

包名
dsh-zhipu-codingbar
版本
0.1.0
许可证
MIT
最近更新
2026年8月21日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cesarX-AI/dsh-zhipu-codingbar

配置

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

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

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

- id: zhipu-codingbar
  config:
    refreshMs: 30000