dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Session-level token usage & cost panel plugin for DeepSeek Harness (DSH)
DeepSeek Harness(DSH)会话级 Token 用量与费用统计面板插件:解析本机会话存档,在 Web GUI 内回答「今天/本月烧了多少 token、多少钱、烧在哪」。
official 官网牌价快照(cache 分档计价,来源与更新时间可见)community 社区源可选刷新(OpenRouter / LiteLLM,显式手动触发)shadow 订阅/中转线按背后模型官方牌价折算,标注「订阅线·影子成本」unpriced 显式未定价,绝不显示 ¥0since / until / group_by)dsh plugin add github:qikairo7/dsh-usage-panel --profile <你的profile>
安装后刷新 Web GUI,侧栏出现「用量」面板。
_caveats 字段记录注意事项(如限时价到期时间、待确认模型)npm run check # lint(tsc strict) && test && build
node scripts/smoke-corpus.mjs # 真实全库冒烟(读取本机 DSH 数据目录)
dsh-usage-panel is a session-level token usage & cost dashboard plugin for DeepSeek Harness (DSH). It parses local session archives (multi-frame zstd JSONL) with incremental watermark scanning and renders an Apple-style UI in the DSH Web GUI: a sidebar dashboard (daily trends, model × provider breakdown, session top-N with sub-agent rollup, main/sub-agent split, cache hit rate, call-level detail table, web-router ledger section), a composer status bar, and a persistent dock.
Costs use a four-mode pricing model — official snapshot, optional community refresh (OpenRouter/LiteLLM), shadow pricing for subscription/relay lines, and explicit unpriced (never silently zero). An agent-facing usage_query tool is included. Local-first: no telemetry, no data leaves your machine.
Install: dsh plugin add github:qikairo7/dsh-usage-panel --profile <profile>