Proposal: integrate persistent token-usage tracking into DeepSeek Harness #1530
LeemanCheung
started this conversation in
Ideas
Replies: 1 comment
|
官方内置是条好路,进程外是另一条:一个独立于 dsh 的本地桌面监测器,不依赖插件 API(不随 rc 版本漂移),还能把 dsh、claude、codex 等工具的用量统一到一个视图。我们 metera 走的就是这条路(本地优先、跨工具):https://github.com/Sutera-Diffusus/metera |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Proposal
I built dsh-token-usage, an MIT-licensed DeepSeek Harness plugin that provides persistent, privacy-preserving token-usage analytics. I would like to propose integrating this capability into the official project—either as an officially maintained optional plugin or as a built-in feature.
What it provides
reasoningTokensis already part of output usage and is not double-counted.Why upstream integration could help
Token usage is fundamental observability for both personal and team DSH deployments. A first-party implementation would make the data model stable across providers, eliminate the need for each user to install and maintain a separate plugin, and give users visibility into cache effectiveness and consumption trends without compromising session privacy.
The plugin is already packaged as a standard DSH host projection plus Web settings UI and can be installed today with:
Suggested path
I am happy to contribute the implementation, adapt it to the project conventions, split it into reviewable PRs, or transfer ownership if that makes integration easier. Feedback on the preferred scope and architecture would be very welcome.
Source: https://github.com/LeemanCheung/dsh-token-usage
All reactions