← 返回列表
D

@yokesky/dsh-usage-lens

v0.1.3 · 2 天前发布

DSH web plugin: a usage statistics dashboard (basic info, activity heatmap, daily token trend, model usage donut) with provider/model drill-down, following the DSH theme system.

dshdsh-plugindeepseekdeepseek-harnessusage-statisticstoken-usagedashboardanalyticsheatmapcordis

README

dsh-usage-lens

![npm](https://www.npmjs.com/package/@yokesky/dsh-usage-lens)
![license](./LICENSE)
![stars](https://github.com/yokesky/dsh-usage-lens)

DeepSeek Harness(DSH)Web UI 的用量统计面板,风格参考作者喜欢的 ZCode Harness 设计。
安装后,设置面板会新增「用量统计」页面,直观展示你的使用情况。

预览

<img src="assets/demo.gif" width="80%" alt="dsh-usage-lens demo" />

<details>
<summary>静态截图</summary>

<img src="assets/preview/预览1.png" width="90%" alt="预览1" />

<img src="assets/preview/预览2.png" width="90%" alt="预览2" />

</details>

功能

  • 总览卡片:tokens 用量、会话数量、消息数量、活跃天数、当前连续天数、最常用模型。

  • 活跃热力图:GitHub 风格的 280 天活跃热力图,一眼看清使用节奏。

  • **每
  • 查看完整 README →

    版本兼容矩阵

    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
    @yokesky/dsh-usage-lens
    Repo
    git+https://github.com/yokesky/dsh-usage-lens.git
    Engines
    {"node":">=24"}
    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-ui-slots"],"platform":"web"}}