dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
余额水桶:水位就是你的 DeepSeek API 余额,出水口流出的是正在花的钱。A bucket that drains while your DeepSeek API balance is being spent (DeepSeek Harness plugin).
A little bucket that drains while your DeepSeek API balance is being spent.

一只挂在窗口角落的小水桶。水是你的余额,漏出去的是正在花的钱。
Version 0.1.1.
GET https://api.deepseek.com/user/balance with the same DEEPSEEK_API_KEY that DSH chats with, so the bucket shows the money you actually have.vibe coding session eat your credit.Move it, resize it, tuck it away — right-click for settings, drag to reposition, arrow keys to nudge.
| Look | Meaning |
|---|---|
| Pale layer on top | Granted balance (spent first) |
| Deep layer below | Topped-up balance |
| Blue water | Above 30% of the highest balance seen |
| Amber water | Between 10% and 30% |
| Red water, gentle wobble | Below 10% |
| Amber outline, no stream | The last read failed; the level is the last known one |
Grey water, — | No API key configured, or the key was rejected |
Hover the bucket for the numbers, or open the settings panel for balance, granted/topped-up split, spent since start, added since start, burn rate, bucket size and the age of the last reading.
Package page: dsh-plugin-token-bucket on npm.
dsh-plugin-token-bucket
Or pin this release:
github:youchai2016/dsh-plugin-token-bucket#v0.1.0
The plugin needs the credential DSH already manages for chat. If the Models page has a working DeepSeek API key, the bucket works; if not, it says so instead of guessing.
GET on the documented balance endpoint. No model calls, no telemetry, no listening port, no third-party service.pnpm install --frozen-lockfile
pnpm run build
npm test
preview/index.html is a single offline file: open it in a browser, no server and no network needed. Its buttons fabricate balance samples, so every state can be inspected without an API key.
The Host half is bundled to lib/index.js, the strict browser/Host contract to lib/remote.js, and the browser half to lib/client.js by pnpm run build. Prebuilt files are committed so a Git install needs no build step.
Code is MIT. No third-party artwork is bundled: the bucket is drawn with CSS and one inline SVG.