orange-v-soda/dsh-token-usage ↗★ 1

@orange-v-soda/dsh-token-usage

Today's token usage and cache hit rate in the DeepSeek Harness sidebar, with a per-model breakdown.

Package
@orange-v-soda/dsh-token-usage
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Nov 6, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:orange-v-soda/dsh-token-usage

dsh-token-usage

简单美观的token用量展示插件

安装

在插件管理器的目标里填任意一个:

@orange-v-soda/dsh-token-usage          # npm
github:orange-v-soda/dsh-token-usage    # GitHub

npm 包:https://www.npmjs.com/package/@orange-v-soda/dsh-token-usage

适配的需求

  • 希望简单,美观的每日token用量统计,缓存比例
  • 想看到近期的用量,模型占比

效果

侧边栏点开面板

侧边栏中的今日用量与缓存率

|

展开后的近 30 日用量、6 周热力图与模型占比

|

技术说明

docs/technical.md —— 数据来源、聚合算法、增量缓存策略、接口契约与渲染结构。建议交给agent阅读。

声明

  • 适配版本:DSH >= 0.2.1-rc.2
  • 开源协议:MIT
  • 纯本地:只读本机会话日志,不联网、不上传,不写入任何会话数据