DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Account Balance — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
A

@lovstudio/dsh-account-balance

Account Balance

DeepSeek Harness 全局账户余额卡片:显示实时会话/任务状态,以及 GLM / KIMI 配额时间窗口和 OpenRouter / DeepSeek 余额,固定在 Shell 覆盖层右下角

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

npx -y @deepseek-ai/dsh plugin --profile web add github:lovstudio/dsh-account-balance#3c3fee177f18a2c5e90badffc3de80d1dbc31b87
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.3stable
2026/9/4
0.1.2stable
2026/9/4
0.1.0stable
2026/8/29

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

README

@lovstudio/dsh-account-balance

English | 中文

A persistent bottom-right status card for the DeepSeek Harness web surface. It pins into the root shell.overlay seat and shows, across the whole process:

  • a status dot plus 「空闲 / N 会话 · M 任务」 (idle, or live session and running background-job counts), polled every 3 seconds;
  • GLM / KIMI rows with two 5px quota bars — the 5-hour window and the weekly allowance — colored green (<50%), orange (≥50%) or red (≥80%) with a hover tooltip showing usage, remaining, and the reset countdown;
  • OpenRouter (US$) and DeepSeek (¥) remaining balances, polled every 60 seconds through a 55-second Host cache.

The Host half exposes two Typert Remote faces — accountBalance.status and accountBalance.quotas. status is a pure in-memory snapshot over ctx.agents.list() and ctx.jobs.list(); it never scans session logs, so the 3-second browser poll stays sub-millisecond and cannot stall a user message. quotas fans the four provider requests out in parallel and caches the result for 55 seconds; every external number is normalized at the wire boundary and rows are shaped strictly by mode, so the Remote JSON never carries an undefined field. Provider credentials resolve per operation through ctx.credentials (ZAI_CODING_CN_API_KEY, KIMI_CODING_API_KEY, OPENROUTER_API_KEY, DEEPSEEK_API_KEY) and never leave the Host.

Install

Prerequisites: Node.js 22.19+ or 24+, pnpm 11 (corepack enable or npm i -g pnpm) — dsh plugin forwards to pnpm inside the profile directory.

From a DeepSeek Harness source checkout (recommended — you get the harness source too):

git clone --depth 1 --branch dsh-v0.1.2-rc.1 https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness && pnpm install && pnpm run build
pnpm dsh plugin --profile web add -w github:lovstudio/dsh-account-balance#v0.1.3
pnpm dsh web

Without a checkout (npx; compiled harness only):

npx @deepseek-ai/dsh plugin --profile web add -w github:lovstudio/dsh-account-balance#v0.1.3
npx @deepseek-ai/dsh web

web is the profile dsh web boots. The tag pins a commit whose lib/ is prebuilt and committed, so nothing is compiled on your machine. Verified on 2026-09-04 against dsh-v0.1.2-rc.1 in both forms. Remove with dsh plugin --profile web remove @lovstudio/dsh-account-balance.

Service API

accountBalance.status(): Promise<RemoteResult<AccountBalanceStatusSnapshot>>

Live process status: { sessions, tasks } — distinct live session ids and background jobs currently in the running state.

accountBalance.quotas(): Promise<RemoteResult<AccountBalanceQuotaSnapshot>>

Four-provider snapshot: { at, rows: { glm, kimi, or, ds } }. Window rows (glm, kimi) carry mode: 'windows' with windows.w5 and windows.week; balance rows (or, ds) carry mode: 'balance' with balance and detail. Every row carries a status of ok | no-key | no-data | error.

Config

No configuration. The four provider credentials are read from the credential service by reference; a missing key renders the row as 「—」 with a tooltip reason.

Local development

Install dependencies and keep the Host and Client artifacts current from this repository:

pnpm install
pnpm run watch

Mount the checkout into an isolated development profile rather than editing the DeepSeek Harness workspace or the default ~/.dsh profile:

DSH_HOME=/Users/mark/.dsh-lov-dev pnpm --dir /path/to/deepseek-harness dsh plugin --profile web add -w link:/path/to/dsh-account-balance

Extension points

None — the card is a leaf surface. Consumers may read the same two Remote faces for their own status/quota displays.

Model Experience

What the model sees

Nothing. The card is browser-only UI; both Remote calls run outside model turns and their results never enter a prompt.

Token effect

Zero — the plugin performs no model calls.

KV Cache effect

None — no prompt prefix is contributed.

Known Limitations and Deferred Work

  • jobs.list() visibility — the Host status handler lists jobs without a caller, so jobs owned by another session may not be counted as tasks; unowned and visible jobs are counted.
  • Quota shape drift — GLM and KIMI wire formats are extracted defensively; an API shape change surfaces as no-data rows rather than a crash.
  • Page reload / restart — the plugin is a composition row, so it survives both once installed; before install it behaves like any other plugin package in this workspace.

相关插件

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

Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义Usage Stats@ychris12138/dsh-usage-statsdsh Web GUI 的令牌使用热力图、提供商余额和订阅配额Codex Connectdsh-codex-connect用于 DeepSeek Harness 的 ChatGPT OAuth 和 Codex 模型。Ui Usage Billing@kenz1117/dsh-ui-usage-billingDeepSeek Harness 的用量计费仪表板:侧边栏成本指标和完整的仪表板模态窗口,依据当前多提供商目录定价,并汇总会话日志中的实际用量。