dsh-token-usage:DeepSeek Harness Web UI 的会话 Token 用量条
`dsh-token-usage` 是一款由 `hashdiana` 维护的 DeepSeek Harness (DSH) 社区纯客户端插件(MIT 许可)。该插件旨在替代 Web UI 中默认的纯文本 Token 统计行,提供更直观的可视化体验。其核心功能包括:用颜色动态显示上下文占用率;将输入 Token 细分为缓存读取、写入及未缓存部分,并展示缓存命中率;实时显示解码吞吐率 (tok/s) 与首字延迟 (TTFT);以及通过点击展开详情面板,查看完整的上下文组成及会话统计信息。插件适配明暗主题及中英文,读取持久投影数据,无数据时自动隐藏。用户可通过 `dsh plugin` 命令从 Gi
Read Moredsh-token-usage: Adding an LLM API Call Usage Statistics Panel to DSH
@wycto/dsh-token-usage is a DeepSeek Harness (DSH) plugin designed to address the challenge of quickly verifying sessions, statuses, token usage, and costs after model calls. By reading DSH session logs rather than intercepting requests, this plugin consolidates scattered API call information into a full-screen statistics panel. Core features include: multi-condition filtering by time, session ID, model, provider, and status code; a detailed table with 15 columns, supporting click-to-sort by column headers and quick filtering by session ID; grouped statistics by provider, model, status, and effort dimensions; and CSV export for secondary analysis. Cost display supports dual-currency estimation in USD and RMB, with a default exchange rate of 7.2, configurable via s
Read More