dsh-token-ledger:跨项目汇总 DSH 计费 Token

dsh-token-ledger 是 u-fw 维护的 DSH admin-security 插件,读取当前 profile 下全部持久化会话,按工作目录汇总 provider 四类计费桶(未命中缓存、缓存读/写、输出)。面板提供精确去重与快速投影两种模式、按项目/模型路由视图、时间筛选与 CSV 导出,入口在设置 Token 统计与侧边栏。安装需通过 plugin_manager 或 link 依赖指向仓库检出,Web 服务须运行,Node >=22.15。

Read More
dsh-token-ledger: DeepSeek Harness Token Consumption Monitoring

`dsh-token-ledger` is a DeepSeek Harness plugin maintained by `doremifaso12345` for accurately monitoring daily token consumption. It does not rely on projection caches; instead, it directly parses local session logs to ensure data accuracy. The plugin provides four interaction entry points: a dashboard, an input box badge, chat commands, and model tools. The dashboard displays four non-overlapping usage buckets—uncached input, cache reads, cache writes, and output—and offers detailed metrics such as cache hit rate, cumulative/peak token counts, an activity heatmap, and tool rankings. Installation requires no build step and Node.js `^22.15.0` or later. It supports multi-frame zstd log decompression. Configuration options allow adjusting cache duration and specifying data sources. The plugin has zero third-party dependencies and supports CSV export.

Read More
dsh-token-ledger: A Transparent Token Ledger for DeepSeek Harness

`dsh-token-ledger` is a token-counting verification plugin designed for DeepSeek Harness (DSH). It folds persistent session logs into aggregate token totals, ensuring restart safety. Core features include an audit command (validating data consistency through diff), billing report generation (with CSV/JSON export support), and a lightweight, zero-dependency architecture. The tool is suitable for scenarios requiring defensive validation of token statistics, audit logs, or exportable billing reports, ensuring data accuracy by recomputing from raw logs.

Read More