zoyluoblue/deepseek-harness-token ↗★ 0
@zoytown/dsh-token
DeepSeek Harness (dsh) plugin for machine-wide token usage statistics — a Settings page with totals, a contribution heatmap, streaks, and a per-model breakdown. Reads session logs from every dsh home; no cost estimates.
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. |