DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-plugin-api-quota

g

dsh-plugin-api-quota

Manifest valid★ 1

DSH Web UI plugin: check your DeepSeek API key balance/quota (GET /user/balance) from the sidebar, with a GUI panel showing total/granted/topped-up balance.

UI (client)hasBundlePatch

dsh-plugin-api-quota

DSH Web UI plugin — check your DeepSeek API key balance from the sidebar.

中文

What It Does

Adds an API Quota entry to the Web sidebar footer (next to Settings). Clicking it opens a panel that queries the DeepSeek official balance endpoint (GET /user/balance) and shows:

  • Total balance, granted balance, topped-up balance
  • Currency and availability
  • Query time, with a refresh button

The API key never crosses into the browser: the browser half fetches a same-origin route (/api-quota/balance) served by the plugin's host half, which resolves the key through the credential seam (ctx.credentials) and talks to DeepSeek server-side.

How It Works

HalfResponsibility
Host (src/index.ts)Registers GET /api-quota/balance on the web server; resolves DEEPSEEK_API_KEY via ctx.credentials, calls https://api.deepseek.com/user/balance
Browser (src/client/)Registers the sidebar.footer.action slot entry; fetches the route and renders the balance panel (Modal)

The credential reference and endpoint are configurable via the plugin config (apiKeyEnv, baseURL, balancePath), defaulting to DEEPSEEK_API_KEY / https://api.deepseek.com / /user/balance.

Quick Start

DSH plugins install into a profile (dsh web → web profile). Install, restart dsh web, done.

# from the plugin repo root
npm install && npm run build
# register in the profile patch layer (~/.dsh/profiles/web/cordis.patch.yml):
#   - insert:
#       - id: plugin-api-quota
#         name: dsh-plugin-api-quota
# symlink into the profile's node_modules:
#   ln -s "$PWD" ~/.dsh/profiles/web/node_modules/dsh-plugin-api-quota

Configuration

FieldDefaultMeaning
apiKeyEnvDEEPSEEK_API_KEYCredential reference (environment-variable-shaped) holding the API key
baseURLhttps://api.deepseek.comDeepSeek API base URL
balancePath/user/balanceBalance endpoint path appended to baseURL

License

MIT

Compatibility

DSH 0.2.2-alpha.2: failedDSH 0.1.7-alpha.2: failedDSH 0.2.1-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——

Comments

Loading…

From the same category

dsh-desktop

by anywhere-labs

为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。

UI & ExperienceManifest valid

★ 35.2k

↓ 154/wk

MIT

TypeScript

Nov 6, 2026

dsh plugin --profile web add dsh-plugin-desktop

by zhu1090093659

DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop

UI & ExperienceManifest valid

★ 10.2k

↓ 171/wk

Apache-2.0

TypeScript

Nov 6, 2026

dsh plugin --profile web add dsh-web

A collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.

UI & ExperienceManifest valid

★ 8.6k

↓ 171/wk

Apache-2.0

TypeScript

dsh plugin --profile web add dsh-web

by PC2005-cloud

DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物

UI & ExperienceManifest valid

★ 5.8k

↓ 167.2k/wk

MIT

TypeScript

Nov 7, 2026

dsh plugin --profile web add dsh-pet

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

UI & ExperienceManifest valid

★ 5k

↓ 76.5k/wk

MIT

TypeScript

Nov 5, 2026

dsh plugin --profile web add dsh-better-sidebar

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 4.4k

↓ 147.3k/wk

Apache-2.0

TypeScript

Nov 6, 2026

dsh plugin --profile web add dsh-context