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.

Account Balance — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
A

dsh-account-balance

Account Balance

DeepSeek account balance dashboard for dsh web: shows your DeepSeek API balance above the chat window, auto-refreshed.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:ls-cool-123/dsh-account-balance#e7e17a67eb81389cd68bb8e2cc8a051ef8485c26
READMECompatibilityVersions

Compatibility and provenance

Account Balance is published as dsh-account-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
8/22/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

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

dsh-account-balance

一个给 dsh Web 界面实时显示 DeepSeek 模型账户余额的插件。余额以一个小胶囊显示在聊天窗口上方(会话头部的工具区),鼠标悬停可查看「总余额 / 赠送余额 / 充值余额」明细,支持手动刷新,并每 60 秒自动刷新。

工作原理

  • Host 半(lib/index.js):在 Web 服务器上注册一个本地路由 /api/account-balance。它通过凭证服务(ctx.credentials,也就是 web 模型设置页 / DEEPSEEK_API_KEY 环境变量写入的那个来源)解析 API Key,再代理 DeepSeek 官方的 GET /user/balance 接口。API Key 只留在本机进程里,绝不暴露给浏览器。
  • Client 半(lib/client.js):在 conversation.session.header.utilities 槽位注册余额组件,轮询 /api/account-balance 并渲染。

安装

在插件目录(本目录)下运行:

dsh plugin --profile web add .

等价于手动方式:把 dsh-account-balance 加进 $DSH_HOME/profiles/web/package.json 的 dependencies 与 dsh.profile.bundles。

生效

重启 web 服务即可看到余额:

# 停掉当前 dsh web,再启动
dsh web

配置

插件复用 DeepSeek 官方适配器的凭证来源,无需额外配置:

配置说明
DEEPSEEK_API_KEYAPI Key(web 模型设置页写入的托管凭证、.env、或环境变量均可)
DEEPSEEK_BASE_URL可选,覆盖余额接口基地址,默认 https://api.deepseek.com

余额接口返回格式以 DeepSeek 官方文档 为准。