dshbase

Plugin directory / Developer / dsh-balance-window

dsh-balance-window

Verified · install-tested on dsh sixtysevenlf

✓ Actively maintained

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-18Last push
Cross-platformPlatform

What it does

dsh 左下角余额悬浮窗:实时显示 DeepSeek 官方 API 余额与预计剩余 token,可拖动、自动刷新

✅
Our take
Works — verified, early-stage project

dsh 左下角余额悬浮窗:实时显示 DeepSeek 官方 API 余额与预计剩余 token,可拖动、自动刷新 It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-balance-window(余额悬浮窗)

为 DeepSeek Harness(dsh)桌面端/Web 端打造的左下角余额悬浮窗:实时显示 DeepSeek 账户余额与预计剩余 token 量,可随意拖动,自动刷新。

plugin

✨ 功能

  • 🪟 悬浮小窗默认位于左下角,按住任意位置可拖动到屏幕任何地方
  • 💰 实时余额:调用 DeepSeek 官方 GET /user/balance 接口
  • 🔢 预计剩余 token:按当前模型与设定单价(默认 ¥4/百万 token 混合价)估算
  • 🔄 每 60 秒自动刷新,点击窗口或 ↻ 按钮立即刷新
  • 🟢 绿色呼吸圆点 = 数据正常;失败自动重试,不会闪断
  • 💾 拖动位置记忆(localStorage),重启后还在原位
  • 🔒 隐私安全:API Key 只在使用者自己的环境中读取,插件不含任何密钥

📦 安装

🔧 自定义

  • 修改 lib/index.js 中的 PRICE_PER_MILLION 可调整 token 估算单价
  • 修改 lib/client.js 中的刷新间隔(默认 60000ms)与默认位置
  • 改完保存即可热加载,无需重启

📄 License

MIT

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-balance-window for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:sixtysevenlf/dsh-balance-window

Headless (CLI) profile:

dsh plugin --profile headless add github:sixtysevenlf/dsh-balance-window

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →