tsja2001/dsh-zhipu-coding-plan0

dsh-zhipu-coding-plan

GLM Coding Plan quota and usage as a conversation view tab (额度) for DeepSeek Harness web: 5-hour/weekly token windows, monthly MCP tool quota, and per-model/tool usage over the Zhipu monitor API

AI Analysis

核心用途是监控智谱 GLM 代码计划的 API 消耗。适合使用智谱 API 进行开发、需要实时查看额度限制与用量分布的用户。

Package
dsh-zhipu-coding-plan
Version
0.1.0
License
MIT
Last updated
Aug 18, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tsja2001/dsh-zhipu-coding-plan

Configuration

The inserted row carries no config; defaults live in the plugin schema. Override by row id from any user patch layer (profile cordis.patch.yml, $DSH_HOME/cordis.patch.yml, or --patch):

- id: zhipu-coding-plan
  config:
    apiKeyEnv: ZHIPU_API_KEY   # credential reference to resolve
    baseURL: https://open.bigmodel.cn
    cacheTtlMs: 30000          # refresh cache per window
    timeoutMs: 20000           # per-request timeout

Disable the tab entirely with - id: zhipu-coding-plan, disabled: true. Remember a patch replaces the row's whole config — restate every key you need.