zoyluoblue/deepseek-harness-token ↗★ 0
@zoytown/dsh-token
用于统计整机 Token 使用情况的 DeepSeek Harness 插件。提供包含总量、贡献热力图、连续使用天数和单模型细分的设置页面。读取所有 DSH 目录的会话日志。
AI 分析
核心用途是统计和可视化多 DSH 目录下的 Token 消耗历史。适合需要分析模型使用频次、额度趋势的用户。需要 Node ^22.19 或 >=24 以及 pnpm 环境。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zoyluoblue/deepseek-harness-token说明文档
阅读完整 README ↗Configuration
Set on the dsh-token row in the profile's cordis.patch.yml:
| Key | Default | Meaning |
|---|---|---|
extraSessionRoots | [] | Extra dsh home directories to scan. Discovery covers ~/.dsh and ~/.dsh_desktop/; a home reached through a $DSH_HOME that is not currently set needs listing here. |
includeCompaction | true | Count tokens spent generating compaction summaries — real spend the harness's own tokenUsage projection cannot see. Set false to reconcile 1:1 with it. |
refreshIntervalMs | 30000 | How often to re-scan for appended sessions. |
indexChunkYieldMs | 16 | Cooperative yield interval during a scan. |