DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

dsh-balance-usage-widget

Balance Usage Widget

DeepSeek Harness 的 Composer-dock 小组件:账户余额以及本次会话的 token 用量。在输入框下方显示账户余额与本会话的 token 用量。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:XiongBangze/dsh-balance-usage-widget#e725de2f6a32fa4890bab29594d6b04b960660a6
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.0stable
2026/10/19

相关插件

正在加载相关插件…

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

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

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

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

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

相关插件

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

Connect Traedsh-connect-trae把本机登录的 Trae 模型接入 DeepSeek Harness:国内版与国际版双供应商并行,提供用量/积分概览与每日签到领取。Deepseek Web Logindsh-deepseek-web-login非官方 DSH 插件:将 chat.deepseek.com 网页模型用作 DSH LLM 提供商(浏览器登录捕获 + PoW 求解 + SSE 流式传输 + 基于提示的工具调用),提供商路由为 deepseek-webDamage Pulsedsh-damage-pulseDeepSeek Harness 余额监控器,配有鲸鱼女孩伙伴,并为每次令牌消耗提供感知缓存的伤害动画。Chatgpt Subscription@eddyskywalker/dsh-chatgpt-subscription通过 ChatGPT 订阅访问 Codex 的 DSH 提供商插件。

README

dsh-balance-usage-widget

A tiny composer-dock widget for DeepSeek Harness (DSH). It shows your DeepSeek account balance and the current session's token usage in one line:

¥12.34 · 12.3K tok

Hover for the breakdown: topped-up balance, granted balance, uncached input, cache reads, cache writes, output tokens and cache-hit rate.

Community plugin. Not affiliated with or endorsed by DeepSeek.

中文说明

在 DSH 输入框下方的状态行显示“账户余额 + 本会话 token 用量”。

  • 左边:DeepSeek 账号的充值余额(多币种用 / 分隔;低于 0.01 显示 <0.01)。
  • 右边:本会话累计 token(未命中输入 + 缓存命中 + 缓存写入 + 输出)。
  • 悬停:充值余额、赠金余额、本会话 token 分项和缓存命中率。
  • 未登录或余额查询失败时显示 余额 --,token 仍正常显示。

安装

从 npm 安装(desktop profile 由桌面端独占管理时,请在界面里安装):

dsh plugin --profile desktop add dsh-balance-usage-widget

或在 侧栏 → 插件 → 添加插件 中填写包名 dsh-balance-usage-widget,安装后重启 DSH。

本地开发时可在安装对话框里粘贴本目录的绝对路径。

隐私与边界

  • 余额通过 DSH 客户端已有的 ctx.remote.account.getBalance 读取,与 设置 → 账号 同源;只读,不写文件。
  • Token 来自 DSH 的 tokenUsage 会话投影,与“性能与用量 → 详细”同源。
  • 不发起额外网络请求、不读取会话正文、不写任何文件。
  • 余额每 60 秒刷新一次,页面重新可见时也会刷新。

How it works

  • Host half: an empty bundle patch that inserts one row.
  • Client half: a browser module that registers a conversation.composer.dock entry.
    • balance: ctx.remote.account.getBalance({ version, locale, timezoneOffsetSeconds })
    • tokens: useProjection('tokenUsage')
  • No build step; client.js is the published browser artifact.

Compatibility

  • DSH Web / Desktop 0.2.x (dsh.client bundle).
  • Balance requires a DeepSeek account login. API-key-only setups show 余额 --, because the built-in account service does not expose balance for API keys.

Development

# local install into a throwaway profile
dsh plugin --profile <profile> add /absolute/path/to/dsh-balance-usage-widget

The package is plain ESM plus one browser module; there is nothing to compile.

License

MIT. See LICENSE.