dsh-token-stat
Cumulative token usage tracking for DeepSeek Harness, with per-model and per-day breakdowns, a settings-page dashboard and an online-changeable data directory.
统计 DeepSeek Harness 累计 token 用量并按模型/日期区分,附设置页用量看板,数据保存目录可在线更改。
How to install
dsh plugin add github:Anna-la/token-stat About
dsh-token-stat DeepSeek Harness 插件:统计使用 DSH 以来**累计 token 用量**,并按**模型 / 日期**区分明细;统计结果在**设置页**直接点击查看,**数据保存目录可在设置页在线更改**。 零运行时依赖(不 import 任何 @deepseek-ai/*,dsh plugin add 后无需构建、无需 allowBuilds 授权) 不修改任何会话数据,只读会话日志做折叠统计 数据来自会话日志中供应商上报的精确 usage(与官方 dsh-token-meter 同一数据源) 同一 (turn, step) 步内的重试/重复上报只计最后一次采样,不重复计数 **数据隔离**:报告默认写入 ~/.dsh-token-stat(可用 $DSH_TOKEN_STAT_DATA_DIR 覆盖), 完全位于 DSH_HOME 之外 —— 官方对 profiles / storages / sessions 等目录的任何清理、重装都不会误删本插件的数据 安装(粘贴仓库地址即装) 本仓库根 package.json 声明了 dsh.bundle(补丁层 cordis.patch.yml)与 dsh.client(浏览器半面,设置页卡片)。因此在 DeepSeek Harness 里**粘贴本仓库地址** 即可安装,无需构建: bash 方式 1…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-08-27
- Created
- 2026-08-27
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh, dsh-plugin, token-usage
Related plugins
TokenLedger
zh667/TokenLedger
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.
dsh-context
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
dsh-quota-panel
wenzetan/dsh-quota-panel
Bottom-right quota capsule that auto-discovers every configured provider (DeepSeek, OpenRouter, SiliconFlow, GLM, one-api/new-api, coding plans) and shows balance or rolling 5-hour and weekly usage, with per-provider visibility, alert thresholds and proxy support; also queries Volcengine Ark Agent Plan / Coding Plan usage via AK/SK-signed OpenAPI, and ChatGPT Plus/Pro subscription usage via in-plugin device-code login or the Codex CLI auth file.
dsh-cost-meter
Han-1413141/dsh-cost-meter
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.