dongsheng123132/dsh-cost0

dsh-cost

Evidence-first token cost ledger and budget checks for DeepSeek Harness

AI 分析

核心用途是提供会话级别的 Token 成本报告、路由分解及预算超支检查。适合需要监控大模型调用成本、实施 fail-open/fail-closed 预算控制的 DSH 管理员。

パッケージ
dsh-cost
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/13

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dongsheng123132/dsh-cost

ドキュメント

README 全文を読む ↗

Install

dsh plugin --profile  add github:dongsheng123132/dsh-cost

The bundle mounts two tools:

  • dsh_cost_report — durable session cost, route breakdown, evidence completeness, optional budget status, and the current ctx.tokenMeter pressure snapshot.
  • dsh_cost_check — explicit fail-open/fail-closed budget decision. It does not claim to intercept future calls automatically.