@douglarek/dsh-statistics
Token usage, cost, budget, and CPU statistics for the conversations in this DeepSeek Harness profile
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:douglarek/dsh-statistics說明文件
閱讀完整 README ↗Configuration
Set these on the statistics row of the bundle patch
(~/.dsh/profiles/desktop/cordis.patch.yml) to override the defaults.
| Key | Default | Meaning |
|---|---|---|
rates | see cordis.patch.yml | Rate rules matched against provider/model and model, * wildcards allowed. Values are USD per 1,000,000 tokens. |
fallbackRate | 0.27 / 1.10 / 0.07 | Applied to models no rule matches. |
budgetUsd | 20 | Budget for the current period. |
budgetPeriod | month | day, week, month, or all. |
cpuIntervalMs | 2000 | CPU sampling interval. |
cpuHistorySize | 120 | Samples retained for the sparkline. |
refreshMs | 4000 | Panel polling interval. |
statsTtlMs | 15000 | Minimum age before the log scan is repeated. |
includeSubagents | true | Count subagent conversations. |
maxSessions | 500 | Upper bound on logs read per scan. |