cesarX-AI/dsh-zhipu-codingbar1

dsh-zhipu-codingbar

用于智谱 GLM 代码计划额度显示的 DSH Web 状态栏插件。

AI 分析

核心用途是在 DSH Web 状态栏实时轮询并展示智谱 GLM 代码计划的剩余额度。适合频繁使用智谱 API 并需要监控额度消耗的开发者。

套件
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