DeepSeek Harness 插件

dsh-usage-monitor

设置页用量仪表盘:从会话日志汇总 token、请求、输出 token 与缓存命中率,含堆叠图,并按供应商、模型或工作区分组列表。

跳到安装方式

来源信息

GitHub 仓库
NOirBRight/dsh-usage-monitor
最近更新
2026年8月18日
分类
用量与账单
GitHub stars
2

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/NOirBRight/dsh-usage-monitor
GitHub:https://github.com/NOirBRight/dsh-usage-monitor
插件名:dsh-usage-monitor
作者:NOirBRight
安装命令:dsh plugin --profile web add github:NOirBRight/dsh-usage-monitor

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-usage-monitor

English | [中文](README.zh.md)

Usage dashboard for DeepSeek Harness. It folds provider-reported token usage out of session logs and charts it in Settings.

![Settings → Usage: tiles, stacked chart, and provider table](docs/screenshots/settings-usage.png)

What it shows

  • Tokens, requests, output tokens, and cache-hit rate
  • Stacked chart with Metric (token / request), By (provider / model / workspace), Group (day / week)
  • Week, month, and custom ranges
  • A breakdown table that follows the current By grouping

Subscription quotas are not fetched.

Installation

DeepSeek Harness 0.1.0-rc.6 or later is required. Install directly from GitHub:

dsh plugin --profile web add github:NOirBRight/dsh-usage-monitor#v0.1.0
dsh web

The repository tracks release-ready lib artifacts, so GitHub installation needs no build-script allowlist. A source checkout can use a link installation after running pnpm run build.

Then open Settings → Usage.

Data

Reads ctx.sessionQuery (live + persisted sessions). Does not scan session.jsonl.zstd itself and does not read leftover community cache files.