dsh-plugin-cost-ledger:把每次模型调用记入月度 JSONL 成本台账
dsh-plugin-cost-ledger 是 DeepSeek Harness 插件,在 accounting: own 下监听 session usage,按 DeepSeek 官方价与 token 桶计价,按月写入 JSONL。提供 /ledger 月报、/ledger-export CSV 与 ledger_query 工具;无价模型丢弃不猜价。安装需 dsh plugin add、合并 cordis.patch.yml 并重启。与 price-aware 分工为持久账本 vs 实时用量。README 注明尚未 live mount 验证;插件以 dsh 进程权限读写 ~/.dsh/cost-ledger。
阅读全文