dsh-plugin-usage
通过复核版本当前含界面v0.1.4用量与可观测
Token usage statistics for DeepSeek Harness — daily/custom-range views, model filters, call counts and cost, inspired by CC Switch statistics.[作者原文(英文)]
安装
dsh plugin --profile web add dsh-plugin-usage把 web 换成你自己的 profile 名。首次使用会自动初始化该 profile。
复核结果
- declares-bundle声明了 dsh.bundle.patch → cordis.patch.yml
- patch-shippedpatch 文件确实打进了 tarball
- patch-parsespatch 解析正常,挂载 1 个插件行
- rows-resolvable每个插件行都能解析到已发布的包
- entry-shipped入口模块已打包:lib/host/index.js
- prebuilt预构建 —— 安装时无需执行构建脚本
- client-half-shipped浏览器半侧已打包:lib/client/index.js
它挂载了什么
insertusagedsh-plugin-usage
这些是插件的 cordis.patch.yml 往你的配置树里插入的行。装进去之后,dsh --profile <名字> --dump-config 会原样打印它们。
版本兼容
@deepseek-ai/cordis^4.0.1→ 4.0.1版本当前
dsh 三天里从 0.0.1-rc.1 走到 0.1.0-rc.6。注意:dsh 库包的当前版本发布在 next 标签上,latest 标签仍停在首日版本。