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.

Usage Balance — DSH Plugin for DeepSeek Harness
← Plugins
U

dsh-usage-balance

Usage Balance

DeepSeek Harness 侧边栏用量/余额插件:在设置按钮上方显示简洁「用量/余额」标签行,悬停右侧展开玻璃详情卡(运行时长/Token/估算金额/官方账户余额),滑杆开关控制详情常驻。Sidebar usage/balance plugin: a compact label row above Settings with a glass details card (runtime, tokens, estimated cost, official balance) and a slide-switch pin.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:zdjmrq/dsh-usage-balance#f0e6a0d4fbd5ac0435d785274df9d5667af8b6a8
READMECompatibilityVersions

Compatibility and provenance

Usage Balance is published as dsh-usage-balance and currently resolves to version 1.0.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
10/4/2026

Versions

1.0.0stable
10/4/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
10/4/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in models-usage.

Whale 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@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 a compact price glance card above the sidebar's Settings rowClient Ui Model Capabilities@linxin666/dsh-client-ui-model-capabilitiesPer-model capability declarations (image input and reasoning efforts) for custom pi-ai providers, edited in place on the Models settings cards; writes the official llm-pi-ai settings namespace, no DSH source changes.Plugin@opencode2dsh/dsh-pluginFree OpenCode Zen models for DeepSeek Harness (DSH): native dsh-llm adapter plugin, no API key.

README

[!WARNING] 本仓库已废弃 —— 相关能力已随 dsh 正式版本内置发布,无需再安装本插件;仓库仅作历史存档,不再维护。

dsh-usage-balance

DeepSeek Harness 侧边栏「用量 / 余额」插件

在侧边栏底部「设置」按钮上方显示一条简洁的 用量 | 余额 标签行,鼠标悬停时在右侧展开玻璃拟态详情卡。

功能

  • 标签行:仪表盘图标 + 「用量 / 余额」标签(跟随界面中英文),与设置、Cordis 面板同一排位风格;与 Cordis 面板纵向堆叠、互不冲突
  • 详情卡(悬停展开):
    • 运行时长(xxmxxs,每秒跳动)
    • Token(输入/输出)
    • 估算金额(≈,按内置价格表计算)
    • 官方账户余额(真实接口数据)
  • 门帘式滑杆开关:卡片底部的椭圆滑杆控制详情「悬停显示 ↔ 固定常驻」
  • 自适应:详情卡不超出桌面范围,右侧空间不足时自动翻转到左侧展开;侧边栏折叠成竖条时显示 ¥ 徽标
  • 风格:全部使用 DSH 主题变量(--dsw-*),跟随亮/暗主题;玻璃拟态(高级灰 + 透明度 + 背景模糊)

数据说明

  • 用量:读取会话的 tokenUsage 投影(与内置统计同源)
  • 金额:按内置价格表估算(src/index.js 顶部可修改单价)
  • 余额:调用官方 GET {baseURL}/user/balance,复用 llm-deepseek 设置里的同一把 API Key,60 秒缓存;优先 Node fetch,失败自动回退 curl

安装

需求:Node.js ≥ 20 + DeepSeek Harness(带 dsh plugin 命令)

dsh plugin --profile web add github:zdjmrq/dsh-usage-balance

安装后重启 dsh web 生效。

更新 / 卸载:

dsh plugin --profile web update dsh-usage-balance   # 更新
dsh plugin --profile web remove dsh-usage-balance   # 卸载

已知限制

  • 金额为估算值,实际账单以官方为准
  • 余额查询需要可访问 api.deepseek.com 的网络与有效 API Key

📖 文字开源描述

本插件在「文字开源」枢纽仓库 dsh-text-open-source 中配有完整描述(功能 / 技术路线 / 结构 / 关键实现 / 复刻提示词,不依赖代码即可复刻、便于理解与微调):plugins/dsh-usage-balance.md。

License

MIT