Window Stats:DeepSeek Harness Web 的跨会话统计插件

wellorbetter/dsh-plugin-window-stats 是一个面向 DSH Web 的 MIT 许可证本地只读插件,旨在解决多会话并行运行时缺乏全局观察面板的问题。该插件无需外部网络请求,不写入会话数据,提供全窗口概览、会话分析及右侧抽屉视图。核心功能包括实时监控所有会话的进度、Token 用量及基于 DeepSeek 官方定价(区分 V4-Flash/Pro 及缓存命中状态)的成本估算,支持 USD、CNY 等多种货币切换。此外,插件提供 Token 趋势图、工具耗时分布、热力图及每轮任务摘要,侧栏底部持续显示运行计数与总消耗。安装简单,通过 `dsh plugin` 命令

Read More
dsh-token-cost:在 DSH 网页端查看 DeepSeek 用量、花费与余额

dsh-token-cost 是一款用于 DSH 网页端的插件,旨在解决 DeepSeek 会话中 Token 用量、费用及余额分散的问题。该插件在浏览器中提供一个可拖动的鲸鱼悬浮球,用户悬停即可通过环形进度查看剩余余额百分比,点击则展开详细卡片,显示本次会话费用、输入/缓存读/写/输出四类 Token 用量、累计花费及 DeepSeek 官方账号余额(含赠送与充值构成)。 核心优势在于服务端精确记账:插件注册会话投影单元,在 DSH 服务端逐事件回放日志,按每个请求实际使用的模型单价计费,避免了前端估算误差,支持会话中途切换模型时的准确核算。此外,它复用 DSH 配置的 DEEPSEEK_A

Read More
dsh-cost: Evidence-First Token Cost Ledger for DeepSeek Harness

dsh-cost is a plugin for DeepSeek Harness (DSH), designed to address the ambiguity of cost accounting caused by the mixing of information from different sources, by establishing an evidence-first token cost ledger based on persisted `assistant/message.usage` events. This plugin separates routing splits, evidence completeness, budget status, and current context pressure snapshots for clear presentation, and provides explicit fail-open/fail-closed budget checking mechanisms. Its core features include offline CLI cost calculation, a built-in stdio MCP server (exposing `cost_report` and `cost_check` interfaces), and a user-maintained price book support, with prices calculated per million tokens and differentiated between input and output.

Read More