dsh plugins中文
← Back to popular plugin directory

Dsh Cost Guard

chenzhiyong1994/dsh-cost-guard · productivity

Live DSH cost estimates from actual token usage & configurable pricing.

★ 5GitHub stars
0Forks
2026-09-01Last updated
JavaScriptLanguage
MITLicense

Key features

  • Actual usage, not prompt-size guessing — reads inputTokens, outputTokens, cacheReadTokens, and cacheWriteTokens from DSH session events.
  • Host half listens to agent/request and session/event, attributes usage to turns, rolls up subagents, and exposes private RPC handlers.
  • No outbound requests, telemetry, credential reads, or API key storage.
  • Live and glanceable — keeps task cost and token mix beside the composer where decisions happen.
  • Subagent-aware — rolls subagent usage into the active root-session turn.

Requirements

  • DeepSeek Harness with the dynamic Cordis tools available.
  • DSH Web UI for the HUD and settings panel.

Install command

dsh plugin --profile web add github:chenzhiyong1994/dsh-cost-guard
View GitHub repository ↗Back to popular plugin directory