dsh plugins中文
← Back to popular plugin directory

Balance · DSH plugin

deepforce/dsh-balance · productivity

DSH plugin: /balance command, composer-dock balance readout with top-up link, session-cost estimate.

★ 2GitHub stars
0Forks
2026-08-24Last updated
TypeScriptLanguage
MITLicense

Key features

  • /balance — human slash command that prints the full balance breakdown in the session.
  • apiKeyEnv is a credential reference: resolved through the dsh credential service first, then the environment.
  • Web GUI readout — the conversation stats area (below the cache-hit figure) shows a compact Balance: ¥… line with hover details (topped-up / granted), a Top up link to the DeepSeek platform top-up page, a manual refresh button, and an estimated Session ≈ ¥… spend figure (hover shows the token buckets × unit prices).
  • The readout copy is bilingual and follows the active dsh language (Chinese / English).
  • The browser fetches the host's /dsh-balance route

Requirements

  • Tested against DeepSeek Harness 0.1.0-rc.6 (web profile, Windows 11) — the /balance command and the composer-dock readout were both verified live on 2026-08-14.
  • if a newer dsh version changes the conversation.composer.dock slot or the webServer service, re-run the check below and file an issue.

Install command

dsh plugin --profile web add github:deepforce/dsh-balance
View GitHub repository ↗Back to popular plugin directory