D
@y2zyyr/dsh-token-usage-sidebar
v1.1.1 · 1 天前发布
Persistent Token Usage insights for DeepSeek Harness, backed by a scalable durable SQLite ledger.
README
dsh-token-usage-sidebar
English | 简体中文
这是一个面向 DeepSeek Harness(DSH)Web Profile 的社区插件,在侧边栏显示由 provider/runtime 上报并持久化保存的 Token 用量,并在原生设置中提供完整的 Token 用量 页面。
text
TOKEN USAGE
Today 今日
Yesterday 昨日
Total 累计
这是社区插件,并非 DeepSeek 官方插件。
功能
node:sqlite、WAL 日志),取代单一大 JSON 文件。每次新调用只是一次小的行级 upsert,无论历史记录有多少条,写入延迟都基本保持平稳。版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- @y2zyyr/dsh-token-usage-sidebar
- Repo
- git+https://github.com/y2zyyr/dsh-token-usage-sidebar.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-connection","@deepseek-ai/dsh-client-ui-slots","@deepseek-ai/dsh-client-ui-sidebar","@deepseek-ai/dsh-client-ui-settings-general"],"platform":"web"}}