doremifaso12345/dsh-token-ledger ↗★ 0
dsh-token-ledger
按本地日期监控每日未缓存、缓存及输出token消耗。 适合需要详细统计每日Token用量、分析缓存命中率的用户。
同名套件的其他儲存庫
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:doremifaso12345/dsh-token-ledger說明文件
閱讀完整 README ↗配置
cordis.patch.yml 里可调:
- insert:
- id: dsh-token-ledger
name: 'dsh-token-ledger'
config:
enabled: true # 总开关
cacheTtlMs: 5000 # 结果 TTL(毫秒)
root: null # 显式指定 harness home,默认跟随 DSH_HOME
未知配置键会抛错而非静默忽略,避免拼写错误被默认值掩盖。