doremifaso12345/dsh-token-ledger ↗★ 0

dsh-token-ledger

Token 账本:按本地日期监控 DSH 的每日 token 消耗(未缓存输入/缓存读取/输出),带设置页卡片、输入框徽标、/tokens 命令与 token_usage 模型工具。 适合需要详细统计每日Token用量、分析缓存命中率的用户。

패키지
dsh-token-ledger
호환성
미검증
버전
1.0.5
라이선스
MIT
최근 업데이트
2026. 9. 20.

같은 패키지 이름의 다른 저장소

설치

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

配置

cordis.patch.yml 里可调:

- insert:
    - id: dsh-token-ledger
      name: 'dsh-token-ledger'
      config:
        enabled: true       # 总开关
        cacheTtlMs: 5000    # 结果 TTL(毫秒)
        root: null          # 显式指定 harness home,默认跟随 DSH_HOME

未知配置键会抛错而非静默忽略,避免拼写错误被默认值掩盖。