dsh-usage-monitor
其他 活跃维护

dsh-usage-monitor

NOirBRight/dsh-usage-monitor

轻量级会话日志用量可视化监控看板,支持多维度用量统计、会话趋势分析与异常告警,部署简单无需复杂配置,可快速接入现有工具链查看全量会话资源消耗情况。

2
Stars 标星
0
Forks 分支
2
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
252 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:NOirBRight/dsh-usage-monitor
git clone https://github.com/NOirBRight/dsh-usage-monitor.git
git clone git@github.com:NOirBRight/dsh-usage-monitor.git
README.md master

dsh-usage-monitor

English | 中文

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

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.1
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.