zoyluoblue/deepseek-harness-token0

@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 环境。

패키지
@zoytown/dsh-token
버전
0.1.2
라이선스
MIT
최근 업데이트
2026. 8. 17.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zoyluoblue/deepseek-harness-token

Configuration

Set on the dsh-token row in the profile's cordis.patch.yml:

KeyDefaultMeaning
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.
includeCompactiontrueCount tokens spent generating compaction summaries — real spend the harness's own tokenUsage projection cannot see. Set false to reconcile 1:1 with it.
refreshIntervalMs30000How often to re-scan for appended sessions.
indexChunkYieldMs16Cooperative yield interval during a scan.