brittanistrehlowll-oss/dsh-quota-panel

Provider quota/balance corner panel for the dsh web surface (DeepSeek Harness plugin): server-side credential

Provider quota/balance status widget for the dsh web surface: for every configured provider it registers a server-side proxy route /api/quota/<id> (API key resolved through the credentials seam, never reaches the browser) and injects a Harness-native widget bottom-right with two sizes — collapsed capsule (one status dot + value pair per account, e.g. ● ¥58.36 · ● 45%) and expanded card (structured rows per provider with progress bars, refresh/collapse buttons). Usage percentages are battery-colored (green/amber/red); both sizes auto-refresh (paused while hidden). Ships deepseek-balance and opencode-usage renderers, configurable via cordis.patch.yml.

Coding & Development ★ 4 updated 2026-09-14 ✅ runtime-tested
View on GitHub ↗

Install

dsh plugin --profile web add "github:brittanistrehlowll-oss/dsh-quota-panel"

GitHub install per README: dsh plugin --profile web add "github:brittanistrehlowll-oss/dsh-quota-panel" then restart dsh web (bundle layers apply at boot). npm package dsh-quota-panel 0.9.0 exists (registry-verified 2026-08-26) but the README documents the github install. Zero-dependency host plugin.

Compatibility

DeepSeek Harness web surface. Styled with Harness design tokens (--dsw-alias-, --dsw-static-, --dsw-shadow-, --dsw-font-) so it follows the product theme.

Details

Recent updates

v0.9.0: collapsed capsule + expanded card; per-provider proxy routes; battery-colored usage; auto-refresh with hidden-page pause; token-based styling.

FAQ

Does the browser see my API keys?
No — each provider is proxied through a server-side route /api/quota/<id>; the API key is resolved through the credentials seam and never reaches the browser.
Which providers are supported?
Any provider with a quota JSON endpoint — shipped renderers cover DeepSeek balance (deepseek-balance) and OpenCode Go usage (opencode-usage), and you can add more via cordis.patch.yml.
How do I configure it?
Override the shipped defaults in the profile's cordis.patch.yml (refreshMs, providers with id/label/credential/endpoint/format/tiers).

Alternatives

crazywoola/dsh-balance · jelly-000/dsh-balance-monitor · Han-1413141/dsh-cost-meter

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins