dsh-api-balance
通过复核未声明依赖v1.2.1用量与可观测
DeepSeek Harness web widget: API balance badge with today/month token usage, cache-hit donut chart and cost estimate. Hosts GET /api-balance and injects a bottom-right badge into the dsh web UI.[作者原文(英文)]
安装
dsh plugin --profile web add dsh-api-balance把 web 换成你自己的 profile 名。首次使用会自动初始化该 profile。
复核结果
- declares-bundle声明了 dsh.bundle.patch → patch.yml
- patch-shippedpatch 文件确实打进了 tarball
- patch-parsespatch 解析正常,挂载 1 个插件行
- rows-resolvable每个插件行都能解析到已发布的包
- entry-shipped入口模块已打包:index.js
- prebuilt预构建 —— 安装时无需执行构建脚本
它挂载了什么
insertdsh-api-balancedsh-api-balance
这些是插件的 cordis.patch.yml 往你的配置树里插入的行。装进去之后,dsh --profile <名字> --dump-config 会原样打印它们。