DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Ds Balance — DSH Plugin for DeepSeek Harness
← Plugins
D

@dsh-external/ds-balance

Ds Balance

A minimal DeepSeek account balance widget for the DeepSeek Harness web GUI

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:JovanHE/ds-balance#99635a9f132c70428c2e69bed700761402544543
READMECompatibilityVersions
ds-balance widget in the session header

Compatibility and provenance

Ds Balance is published as @dsh-external/ds-balance and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
8/22/2026

Versions

0.1.0stable
8/22/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 1
Weekly downloads
0
Last push
9/5/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Usage@linxin666/dsh-usageUsage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with the current session provider's today usage on the sidebar entryWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinUsage Stats@ychris12138/dsh-usage-statsToken usage heatmap, provider balances, and subscription quotas for the dsh web GUICodex Connectdsh-codex-connectChatGPT OAuth and Codex models for DeepSeek Harness.

README

ds-balance

A minimal DeepSeek account balance widget for the DeepSeek Harness (dsh) web GUI. A compact pill in the session header shows your current DeepSeek account balance, auto-refreshes, and updates on click.

ds-balance widget in the session header

Features

  • Live balance pill in the session header (right side): shows currency and total balance, e.g. DS CNY 3.65.
  • Auto-refresh every 60 seconds; click to refresh immediately.
  • Hover for details — total / granted / topped-up breakdown, multi-currency aware.
  • Secret-safe — reads DEEPSEEK_API_KEY from the DSH credential seam (~/.dsh/.credentials.yaml or the environment). The key travels only in the subprocess environment, never in the command line, source, or browser.
  • Read-only & idempotent — a single HTTPS GET to the balance endpoint.

Install

dsh plugin --profile web add github:JovanHE/ds-balance

Or from a local checkout:

dsh plugin --profile web add /path/to/ds-balance

Restart dsh web after installing — client plugin discovery only runs at process start.

Usage

Zero configuration. As long as DEEPSEEK_API_KEY is set (in the DSH credential store, a .env, or the environment), the widget appears at the right of every session header.

  • Click the pill to refresh.
  • Hover it to see the full breakdown.
  • If the key is missing or the request fails, the pill turns red and shows the reason in its tooltip.

How it works

client (browser)                         host (dsh process)
─────────────────                        ─────────────────
header pill  ── ctx.remote.commands ──>  /ds-balance command
   │                                             │
   └── parse JSON  <── result text ──────────────┘
                                              resolve DEEPSEEK_API_KEY (ctx.get("credentials"))
                                              GET https://api.deepseek.com/user/balance
                                              (ctx.shell / pwsh Invoke-RestMethod)
  • Host half (lib/index.js) resolves the key via ctx.get("credentials"), then calls the DeepSeek balance endpoint through ctx.shell — the endpoint needs an Authorization header that the fetch seam cannot carry, so it runs Invoke-RestMethod in a subprocess under an explicit danger-full-access policy (the deployment's default confinement has no usable sandbox backend on Windows, and this call only reads). It registers a /ds-balance command.
  • Client half (lib/client.js) registers a pill in the conversation.session.header.utilities slot and reaches the host through ctx.remote.commands, then parses the returned JSON. In a bundle client the host/styles globals are not available (those are dynamic-plugin builtins), so it injects its stylesheet via document and uses ctx.remote — mirroring the shipped bundle conventions.

Project structure

lib/
  index.js          Host half: resolve key → call balance API → register /ds-balance command
  client.js         Client half: header pill widget (bundle loader contract)
assets/
  widget-screenshot.png   Screenshot of the widget in the GUI
package.json        declares dsh.bundle + dsh.client
cordis.patch.yml    inserts the host plugin row

Requirements

  • DeepSeek Harness (dsh) web profile
  • Node.js ≥ 20
  • A configured DEEPSEEK_API_KEY credential

License

MIT