dshbase

插件目录 / Developer / dsh-zhipu-coding-plan

dsh-zhipu-coding-plan

未验证 tsja2001

✓ 持续维护 基于 7 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-18最近推送
跨平台平台

功能简介

GLM Coding Plan quota & usage as a conversation view tab (额度) for DeepSeek Harness web — 5h/weekly token windows, monthly MCP tool quota, model & tool usage

我们的评价
未验证 — 尚未实测

GLM Coding Plan quota & usage as a conversation view tab (额度) for DeepSeek Harness web — 5h/weekly token windows, monthly MCP tool quota, model & tool usage 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

dsh-zhipu-coding-plan

让智谱 GLM Coding Plan 的额度一目了然。

在 DSH Web 中直接查看 Coding Plan 的 Token 窗口、MCP 工具额度与模型 / 工具用量。

npm version CI status MIT license Node.js 22.19+ DSH plugin

简体中文 · English


dsh-zhipu-coding-plan 额度页签

无需离开编码会话,即可掌握 Coding Plan 还剩多少额度。

核心能力

能力 说明
⏱️ Token 窗口 5 小时 / 每周 Token 额度进度与重置倒计时,高占用自动变色提醒。
🔧 MCP 工具额度 本月工具额度已用 / 总量 / 剩余,含联网搜索、网页读取、Zread 等分项明细。
🤖 模型用量 近 24 小时 / 7 天的调用次数、Token 总量与按模型占比。
🔑 Key 页内配置 面板里直接保存 API Key,保存前自动校验;也可走 ZHIPU_API_KEY 环境变量。
🛡️ 错误可读 Key 无效、限流、断网等分类提示,明细接口异常不影响额度展示。

快速开始

从 npm 安装(推荐)

dsh plugin --profile web add dsh-zhipu-coding-plan

[!IMPORTANT]
安装完成后请重启 DSH Web。随后 额度 / Quota 选项卡会出现在对话、轨迹和统计选项卡旁边。首次打开可在面板中直接保存智谱 API Key。

从 GitHub 安装或卸载
# 从 GitHub 安装
dsh plugin --profile web add github:tsja2001/dsh-zhipu-coding-plan

# 卸载
dsh plugin --profile web remove dsh-zhipu-coding-plan

你会看到什么

额度窗口

  • **5 小时 / 每周 Token:**已用百分比进度条,≥80% 转警示色,≥95% 转错误色,并显示窗口重置倒计时。
  • **本月 MCP 工具:**已用 / 总量 / 剩余次数,附分工具用量明细。

用量明细

  • **模型用量:**近 24 小时 / 7 天可切换;调用次数、Token 总量、时序柱状图与按模型占比排行。
  • **工具用量:**同一时间窗内联网搜索、网页读取、Zread、搜索 MCP 的调用次数。

API Key 与隐私

[!NOTE]
Key 只保存在本机 DSH 凭据存储(~/.dsh/.credentials.yaml)或环境变量中,面板永不显示 Key 值。额度查询直连智谱官方监控接口(open.bigmodel.cn),无第三方中转、无遥测。

  • 解析优先级:启动环境 ZHIPU_API_KEY → DSH 凭据存储 → 启动目录 .env
  • 每次查询重新解析,换 Key 无需重启。
  • 仅支持个人版套餐;其他平台的 Key(如 DeepSeek)会被明确提示为无效,不会误报数据。

兼容性

  • 需要可以正常运行的 DSH Web。
  • 需要 Node.js ^22.19.0>=24.0.0
  • 数据来自智谱监控接口,Token 窗口仅提供百分比(接口不返回绝对值),面板如实呈现。

License

MIT © tsja2001

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-zhipu-coding-plan」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:tsja2001/dsh-zhipu-coding-plan

Headless(CLI)profile:

dsh plugin --profile headless add github:tsja2001/dsh-zhipu-coding-plan

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26 · 标记 webonly
备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →