DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Balance Chip — DeepSeek Harness 插件(DSH Plugin)
← Plugins
B

dsh-balance-chip

Balance Chip

DSH 侧边栏页脚中的 DeepSeek API 余额——实时状态圆点及余额,60 秒刷新,密钥保留在本地。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:AKUSH99/dsh-balance-chip#a2080e0f5024f95d35439988107183f024ba034d
README兼容性版本
Screenshot: DeepSeek balance pill in the bottom-right corner of the DSH app

兼容性与来源证明

Balance Chip 以 dsh-balance-chip 发布,当前版本为 1.0.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/26

版本

1.0.2
stable
2026/8/26
1.0.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
1.0.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

README

dsh-balance-chip

Show your DeepSeek API balance directly inside the DSH app, in two places:

  1. Bottom-right pill – always visible, non-blocking (pointer-events: none), dot + amount, auto-refresh every 60 s
  2. Sidebar footer – beside Settings (dot in rail mode)

Screenshot: DeepSeek balance pill in the bottom-right corner of the DSH app

  • 🟢 green ≥ $5 · 🟠 orange < $5 · 🔴 red on errors
  • Tooltip shows currency and last update time
  • Your API key never ships with this plugin – it is read at runtime from your local DSH credential store, and the only network call goes to the official api.deepseek.com/user/balance endpoint from the host side.

Prerequisites

Your DeepSeek API key must be stored in the DSH credential store under the reference DEEPSEEK_API_KEY (this is the same place the built-in DeepSeek provider uses – the web UI's Models page writes it there). If the reference is missing, the displays show Key?.

Install

dsh plugin --profile web add github:AKUSH99/dsh-balance-chip

Restart dsh web (or use the market's one-click restart). No build step, no dependencies.

Requires dsh web 0.1.0-rc.6 or newer (same base as the plugin market).

Installation alternatives

  • Plugin Market: once listed, open Settings → Plugin Market in the app, search "balance", one-click install.
  • Prebuilt package: the latest release ships a ready tarball – the market offers it as the faster install path without any build step.

How it works

PartWhat it does
lib/index.js (host)Resolves the key via the credentials service, polls GET https://api.deepseek.com/user/balance every 60 s, serves the cached state at GET /dsh-balance
client/client.js (web)Registers a sidebar.footer.action item and a shell.overlay pill that fetch /dsh-balance and render dot + amount

No telemetry, no external dependencies, everything stays on your machine.

Troubleshooting

  • Key? in the chip/pill – no DEEPSEEK_API_KEY reference in your credential store. Store your key via the web UI's Models page (or the credentials service), then reload.
  • … while loading – the first poll hasn't finished yet; wait a few seconds.
  • Red dot / error – the host couldn't reach api.deepseek.com/user/balance; check your network and key validity.

中文说明

在 DSH 应用内实时显示 DeepSeek API 余额:右下角常驻胶囊(不阻挡点击)+ 侧边栏底部状态点,每 60 秒自动刷新。余额低于 5 美元显示橙色,出错显示红色,悬停可见币种与更新时间。API Key 绝不内置:运行时从本机 DSH 凭证库读取,仅向官方余额接口发起请求。使用前请确认凭证库中存在 DEEPSEEK_API_KEY 引用(与内置 DeepSeek 提供方相同,网页端模型页面会写入)。

FAQ

Why two displays? The sidebar chip is subtle and always in reach; the bottom-right pill gives an at-a-glance status without blocking clicks (pointer-events: none). How fresh is the value? The host polls the official balance endpoint every 60 seconds; both displays refresh from that cached state. Does polling cost tokens? No – the balance endpoint is separate from the chat API and does not consume paid tokens. Currency? The official API reports the account currency; the displays show it as-is.

License

MIT

相关插件

继续浏览 models-usage 分类下经过校验的插件。

Usage@linxin666/dsh-usagedsh Web GUI 的使用统计插件:检测各提供商余额和编码计划配额,并提供实时令牌使用记录,以及当前提供商的专属宠物气泡Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。