dsh-cost
Evidence-first token cost ledger and budget checks for DeepSeek Harness
AI 분석
核心用途是提供会话级别的 Token 成本报告、路由分解及预算超支检查。适合需要监控大模型调用成本、实施 fail-open/fail-closed 预算控制的 DSH 管理员。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dongsheng123132/dsh-costInstall
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 currentctx.tokenMeterpressure snapshot.dsh_cost_check— explicit fail-open/fail-closed budget decision. It does not claim to intercept future calls automatically.