dsh-token-usage-ledger
Persistent token-usage ledger and Web Usage dashboard for DeepSeek Harness.
为 DeepSeek Harness 提供持久化 token 用量账本和 Web Usage 仪表盘。
How to install
dsh plugin add github:xie-tj/dsh-token-usage-ledger About
dsh Usage Ledger Plugin dsh-plugin-usage-ledger 为 DeepSeek Harness Web profile 提供持久化用量账本和可视化 Usage 仪表盘。它记录每次 provider dispatch(包括失败与重试),保存输入、输出和缓存 token,用 session 历史回填数据,并在 Settings → Usage 中按提供方、模型和时间范围查看用量。 核心能力: 独立持久化账本:重启后保留历史,并对已有 session 执行 best-effort 回填; 精确统计:曲线、柱状图和 API 请求次数保留精确值,模型明细使用 K/M/B/T 紧凑单位; 日级明细:Token 流量图表的悬停提示显示当日输入、输出、缓存和总计; 灵活筛选:支持提供方、模型和最近 7 天/30 天筛选,模型明细默认按具体模型聚合; 缓存可见:单独展示缓存命中 token,并保留失败、未计量和重试请求。 当前版本按 @deepseek-ai/dsh 0.1.0-rc.8 依赖线构建,要求 Node.js ^22.19.0 || >=24.0.0。 安装与启动 从 Git 安装到 Web profile;生产环境应将 Git spec 固定到 commit SHA: sh dsh plugin --profile web add github:x…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 3
- mo. downloads
- –
- Last push
- 2026-08-28
- Created
- 2026-08-20
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh-plugin, usage-dashboard
Related plugins
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-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.
dsh-usage-stats
Ychris12138/dsh-usage-stats
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
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.