dsh plugins中文
← Back to popular plugin directory

meter · DSH Usage and Cost Panel

J-Chien/dsh-meter · skills

Per-session billing plugin for DeepSeek Harness: token buckets, cache hit rate, and peak-aware cost in the session header + a price-table settings page.

★ 1GitHub stars
0Forks
2026-08-17Last updated
TypeScriptLanguage
License

Project overview

DeepSeek Harness 的按会话计费插件:在每个会话右上角展示当前会话的 token 用量与费用(含缓存命中/未命中/写入区分、缓存命中率、按请求时刻归属的高峰/空闲计价、按请求长度取档的分段计价),并提供 GUI 设置页编辑价格表。

第三方 bundle:装进任意 dsh profile 即可,不改主仓库任何代码。复用 dsh-better-sidebar 的成熟第三方模式(自建 fenced /billing/api 路由 + session-projection 单元 + 纯平台模块的 client bundle)。 效果展示

npx @deepseek-ai/dsh plugin add 会自动初始化 profile、pnpm install(prepare 脚本自动构建 lib/)、并把 dsh-meter 追加进 dsh.profile.bundles。 方式 B:打包 tarball(对方只装、不改源码)

Install command

dsh plugin --profile web add github:J-Chien/dsh-meter
View GitHub repository ↗Back to popular plugin directory