DeepSeek Harness 余额与 Token 用量监控面板 (dsh-usage-panel)

DSH(DeepSeek Harness)智能体开发框架的 Web 插件 dsh-usage-panel,由 Mysterious Mark 维护,旨在解决调试与长时任务中手动查询余额和 Token 的痛点。该插件通过在会话头部展示彩色胶囊,实时监控 DeepSeek 账户余额及 Token 用量(含缓存命中率),并提供三级余额预警与充值入口。插件支持宿主端与浏览器端兼容,具备页面可见时轮询、指数退避及宿主端 30s 缓存等优化策略。用户可通过命令行安装,并可在 patch 中配置接口与缓存参数,适用于需要在 Web 界面持续监控成本的 DSH 用户。

Read More
DSH Usage Panel: DeepSeek Harness Consumption Statistics Plugin

dsh-usage-panel is an MIT-licensed plugin designed specifically for the DeepSeek Harness (DSH) web profile, aimed at addressing the challenge of scattered and difficult-to-monitor token usage in multi-model, multi-provider environments. The plugin provides a visual "Usage Statistics" panel on the settings page, with core features including displaying cumulative total usage, cache hit rate, the proportion of the most frequently used models, and an activity heatmap for the past six months. It supports toggling daily token trends at the model level across time periods (7/14/30 days) and lists the Top 10 high-consumption sessions to distinguish between primary sessions and sub-agents. Additionally, the plugin displays token distribution across providers and models, and supports exporting complete JSON data as well as data compliant with the RFC 4180 standard.

Read More