dshbase

Plugin directory / Developer / dsh-quota-hub

dsh-quota-hub

Verified · install-tested on dsh penguin-oo

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-17Last push
Cross-platformPlatform

What it does

A plugin in the Developer category for DeepSeek Harness.

✅
Our take
Works — verified, early-stage project

A plugin in the Developer category for DeepSeek Harness. It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-quota-hub

English · 中文

Unified real-time quota dashboard for DeepSeek Harness.

One collapsible glass panel shows every provider quota/balance you care about —
OpenCodeGo rolling/weekly/monthly windows, DeepSeek official balance,
OpenRouter credits, SiliconFlow and Moonshot balances — refreshed on a timer,
with a live health dot on the sidebar button. API keys stay on the host:
the browser only ever receives parsed numbers.

Features

  • Auto-detect — built-in adapters appear as soon as the matching
    credential exists (OPENCODE_GO_API_KEY, DEEPSEEK_API_KEY,
    OPENROUTER_API_KEY, SILICONFLOW_API_KEY, MOONSHOT_API_KEY in DSH
    credentials / env). Unconfigured providers show collapsed as “未配置”.
  • Collapsible & compact — every provider card collapses to one line;
    “全部收起/展开” in one click; auto-refresh with per-card updated time.
  • Health colors — sidebar dot and progress bars turn green (>50% left),
    yellow (20–50%), red (<20%).
  • Custom providers — any HTTP endpoint with JSON quota fields can be
    added in ~/.dsh/dsh-quota-hub.json (dot-path field extraction).
  • Host-side only — all fetching happens in a host service; keys never
    cross the browser boundary.

Install

dsh plugin --profile web add dsh-quota-hub

Restart DSH afterwards. The 💰 额度 button appears in the sidebar footer.

Custom providers

~/.dsh/dsh-quota-hub.json:

{
  "refreshMs": 120000,
  "providers": [
    {
      "id": "my-relay",
      "label": "My Relay",
      "url": "https://relay.example.com/v1/usage",
      "credential": "MY_RELAY_API_KEY",
      "fields": [
        { "key": "used", "label": "已用", "path": "usage.used", "unit": "USD" },
        { "key": "percent", "label": "用量", "path": "usage.percent", "percent": true }
      ]
    }
  ]
}

credential names a DSH credential/env var (Bearer auth). Or drop
credential and put a static headers object on the entry instead — note
that stores the token in the config file in plain text.

How it works

Host: a top-level quotaHub Remote service resolves each adapter's
credential via ctx.credentials, fetches the provider endpoint (10 s timeout,
refreshMs cache, shared in-flight requests), and returns normalized
snapshots. Client: the panel double-unwraps the transport envelope exactly
like the core messageFeedback remote and renders provider cards.

License

MIT

Acknowledgements

Built for the DeepSeek Harness plugin ecosystem — thanks to the community on
LINUX DO for feedback and testing.

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-quota-hub for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:penguin-oo/dsh-quota-hub

Headless (CLI) profile:

dsh plugin --profile headless add github:penguin-oo/dsh-quota-hub

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →