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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
D

dsh-ds-whale

Ds Whale

DeepSeek balance / usage widget (DSH plugin): balance, today’s usage according to the official website, personified announcements of per-round consumption, peak/off-peak pricing countdown, right-click weather and startup greetings, and six state illustrations.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:Iceseas/dsh-ds-whale#ffc2d90c989f2fe8a5b81f73cb08982993fa4b76
READMECompatibilityVersions

Compatibility and provenance

Ds Whale is published as dsh-ds-whale and currently resolves to version 0.9.6. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
11/3/2026

Versions

0.9.6stable
11/3/2026
0.9.5stable
11/2/2026
0.9.3stable
10/31/2026
Show 1 more versionCollapse versions
0.9.1stable
10/31/2026

Related plugins

Loading related plugins…

Latest
0.9.6
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
11/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

Related plugins

More verified plugins in models-usage.

Connect Workbuddydsh-connect-workbuddyConnects locally signed-in WorkBuddy models (domestic and international versions) to DeepSeek Harness, automatically reading each model’s points multiplier from the upstream catalog on every refresh, with per-model image input toggles, multi-account switching, automatic account rotation from an accoCost Meterdsh-cost-meterDeepSeek Harness session cost statistics plugin: tracks current session costs, today’s expenses, and historical records, with synchronization to official pricing. Supports billing across multiple vendors and models, with a built-in catalog of prices for 170+ model IDs and automatic matching. Also suModel Router@ljwei-stak/dsh-model-routerA unified DS Bot workspace for DeepSeek Harness Desktop: model and Bot routing, private libraries, recorded desktop routines and scoped remote computer control.Codex Subscriptiondsh-codex-subscriptionUse ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images and Fast mode, and control DSH from the ChatGPT mobile app (Beta)

README

dsh-ds-whale

🐳 dsh-ds-whale

DeepSeek 余额 / 用量小鲸鱼挂件 · DSH Web UI 插件 Whale balance & usage widget for DeepSeek — a DSH Web UI plugin

右下角常驻一只会说话的小鲸鱼:余额、官网口径的今日用量、每轮花掉多少钱、峰谷倒计时,全都用拟人语气告诉你。 A tiny whale docked in the bottom-right corner: balance, today's official spend, per-turn cost, peak/off-peak countdown — all narrated in character.


English TL;DR — Install the bundle into your DSH profile, reload, and a whale appears in the bottom-right corner. She greets you by nickname on startup, refreshes on left click (rate-limited), opens a right-click menu (refresh / balance detail / today's weather / settings), reads your balance from the DSH credential DEEPSEEK_API_KEY (or your DSH DeepSeek sign-in), pulls today's real spend from the official usage API (the same numbers as platform.deepseek.com/usage), narrates every turn's cost in a cute voice, and switches between six hand-drawn expressions. Weather is fetched straight from Open-Meteo by the host process — zero tokens, never through a model. Everything is stored locally in $DSH_HOME/.dsh-ds-whale.json. UI is available in 中文 / English, auto-selected from your system locale.

✨ 它做什么 / What it does

能力说明
💰余额可用余额(总额 / 充值 / 赠金),默认 60s 自动刷新;左键点一下立刻刷新(默认 6s 冷却,连点也不会打爆接口),刷新中有光环 + 转圈进度环 + 「刷新中…」角标。宿主刚启动时凭据服务还没就绪导致的失败会自动退避重试(4s→60s,最多 8 次)
📊今日已用(官网口径)直接调 DeepSeek 官网用量接口 /api/v0/usage/by_api_key/{amount,cost},金额 / 请求数 / tokens 与 platform.deepseek.com/usage 页面同源同数字;接口不通时自动退回「余额下降」口径并在标签上标明
🗣️拟人播报每轮对话结束,用小鲸鱼的口吻把本轮花了多少钱说出来(按金额分 5 档台词),副行给模型与入/出 token;必须点「知道啦~」才关闭,不会自己消失
🎭六种状态立绘平静 / 气鼓鼓(点击受击)/ 脸红(说话中)/ 慌张(余额告警)/ 挥手打招呼(开机问候) / 托腮思考(在看天气)
🖱️左键刷新 · 右键菜单右键(不触发受击抖动)弹出菜单:立即刷新余额 / 查看余额详情 / 今日天气 / 打开小鲸鱼设置;菜单项有明显的悬停高亮与过渡动画
🌤️今日天气右键菜单里的「今日天气」:宿主直连 Open-Meteo,零 token;给当前温度、今日区间、降雨概率、接下来三小时的走向,外加一句该带伞还是该补水。第一次用会先请你在设置里填城市
👋开机问候每次打开 DSH,按你设定的昵称用同一套可爱语气问好(按时段分六档台词),配挥手立绘与提示音
💬常驻气泡头像旁常驻一个纵向小气泡,显示你勾选的 1–3 个参数(余额 / 今日已用 / 本机估算 / 本轮消耗 / 峰谷倒计时)
⏰峰谷定价工作日 9:00–12:00、14:00–18:00 为高峰,空闲价是高峰价一半;周末全天谷价,面板上有实时倒计时
🚨余额 / 预算告警低于预警线或超出今日预算时换慌张脸,拟人播报 + 「去充值」/「看用量」+「知道啦」双按钮
📒用量记录今日 / 近 7 天 / 全部、模型占比、按模型名或日期搜索;可清空今日、清空全部、重置基线
⚙️设置页在 DSH 设置 → 左侧导航 里有独立一页「小鲸鱼 / Whale」(就在「喵记忆」下方);同时也在 DSH 设置 → 插件 → dsh-ds-whale 由宿主按 schema 自动生成表单。右键菜单里的「打开小鲸鱼设置」会直接跳到这一页
🖱️手感拖拽移动 + 位置记忆、以页面中线判定左右吸附、大小滑块;鲸鱼可以拖到窗口最上面,此时播报气泡与详情面板会自动翻到下方(按实测高度判断),常驻小气泡垂直居中跟随,都不会被窗口边缘裁掉
blushing pouting panicking waving hello thinking

👋 三种新动作 / New gestures

什么时候立绘台词(节选)
打开 DSH挥手打招呼「小蓝,早上好呀!余额我盯好了,随时可以开工。」
点「今日天气」托腮思考「北京 · 7°C 晴」/ 今天 4~16°C · 大致晴朗 · 降雨 0%
还没填城市就点天气托腮思考「先告诉我在哪座城市嘛~」→ 按钮「去填城市」直达设置页
blushing pouting pouting

🚀 安装 / Install

前置:DSH 桌面端或 dsh web,Node ≥ 20。

方式一:从 GitHub 装(推荐)

# 把整个仓库装进当前 profile 的插件目录
dsh plugin add github:Iceseas/dsh-ds-whale

装完重启 DSH(或重载插件),右下角出现小鲸鱼。若你的 DSH 版本没有 plugin add,用一次性的本地安装:

git clone https://github.com/Iceseas/dsh-ds-whale.git
# 然后在 DSH 里执行 plugin_manager action=install_bundle,target 填上面这个目录的绝对路径

方式二:手动放进去

  1. 把仓库复制到 <DSH_PROFILE_DIR>/node_modules/dsh-ds-whale(DSH_PROFILE_DIR 一般是 ~/.dsh/profiles/desktop);
  2. 在该 profile 的 package.json 的 dsh.profile.bundles 里加 "dsh-ds-whale";
  3. 重启 DSH。

安装即用的前提:DSH 里已经配好 DeepSeek 凭据(DEEPSEEK_API_KEY)或已经登录 DeepSeek 账号。两者都没有时挂件仍会出现,只是余额一栏会提示需要凭据。

🔐 数据与隐私 / Privacy

  • 唯一数据文件:$DSH_HOME/.dsh-ds-whale.json(Windows 默认 C:\Users\<你>\.dsh\.dsh-ds-whale.json),只存在本机。
  • 只保存:余额观测、官网用量缓存、每日汇总、每轮金额。不保存任何对话内容,不上传任何数据。
  • 外部请求只有三条,都用你本机已有的凭据(第三条不带任何凭据):
    1. GET https://api.deepseek.com/user/balance(Bearer DEEPSEEK_API_KEY)
    2. 官网用量 GET https://platform.deepseek.com/api/v0/usage/by_api_key/{amount,cost}(带 DSH 登录态的 x-dsh-auth-token)
    3. 天气(仅当你点「今日天气」时):geocoding-api.open-meteo.com 把你的城市名换成经纬度,api.open-meteo.com 取预报。不带凭据、不带 token、不带你填的城市以外的任何信息,结果在宿主进程内缓存 10 分钟
  • 代码里没有任何硬编码密钥;仓库不含 .env / 凭据 / 个人路径。
  • 记录页底部「清空今日 / 清空全部 / 重置基线」可随时抹掉账本。

⚙️ 设置项 / Settings

字段说明
界面语言 languageauto 跟随系统区域 / zh 中文 / en English,英文下界面与播报全英文
昵称 nickname播报里怎么称呼你(最多 16 字,留空则不喊名字)
形象大小 scale0.6–2 倍
常驻气泡参数 miniFieldsbalance / today / estimate / turn / peak,最多 3 个
每轮消耗播报 turnPop关掉就不弹播报
余额预警线 warnBelow低于该值换慌张脸提醒,0 = 关闭
今日预算 dailyBudget超出时提醒一次,0 = 不限
刷新间隔 refreshMs余额自动刷新周期(15s–1h)
提示音 soundOn / soundVolume轮末提示音与音量
中线吸附 snap拖拽结束后贴到最近一侧(按页面中线判定)
峰谷倒计时 showPeak是否显示峰谷状态与倒计时
点击刷新间隔 clickCooldownMs左键点鲸鱼刷新的最小间隔(2000–120000ms,默认 6000),防止连点打爆余额接口
开机打招呼 greetOnStart每次打开 DSH 是否按昵称问好
天气城市 weatherCity天气用的城市名(例如 上海 / Tokyo)。必填:没填时点「今日天气」会先请你去填,填好存下后再点一次即可
缓存口径 cacheInInputinputTokens 是否已含缓存命中,DeepSeek 不含,保持关闭

🧮 定价与算法 / Pricing

元 / 百万 tokens,格式 [空闲, 高峰]:

模型族缓存命中未命中输入输出
deepseek-flash(含 v4-flash 系列)0.02 / 0.041 / 24 / 8
deepseek-v4-pro(含 pro / reasoner / r1)0.15 / 0.304.5 / 9.013.5 / 27.0

金额 = (缓存命中 × 命中价 + 未命中输入 × 输入价 + 输出 × 输出价) / 1e6

DeepSeek 的 usage 里 totalTokens = inputTokens + outputTokens + cacheReadTokens,即 inputTokens 不含缓存命中,所以「未命中输入」直接取 inputTokens;只有当某个 provider 把缓存算进 inputTokens 时,才需要打开 cacheInInput。

三种口径的关系:官网用量(权威,主数字)→ 余额差观测(旁证)→ 本机 token 估算(对照)。面板把三者的差写成「偏差」,用来发现价格表漂移。

🧩 路由 / Routes

前缀 /api/dsh-ds-whale,同源 POST(仅本机浏览器可用):

路由作用
/state余额 + 今日(含官网用量)+ 峰谷 + 设置 + 最近记录(自动补刷过期数据)
/refresh强制刷新余额与官网用量
/weather今日天气({force?, city?}):走 Open-Meteo,零 token;设置里没城市时返回 {ok:false, error:"need-city"}
/settings写设置:{"patch":{...}} 改运行时,{"config":{...}} 写进 profile 的 cordis.patch.yml
/ledgerclear-today / clear-all / ack-adjust / rebaseline
/history按模型名或日期检索历史
/client-hello前端自检回报(build / 当前情绪),用于排查
GET /avatar.png形象 PNG,支持 ?size=128、&mood=angry|blush|panic|greet|think,带 ETag

🛠️ 开发 / Development

dsh-ds-whale/
├── lib/index.js      # Host 半:取余额、官网用量、记账、HTTP 路由、Config schema
├── lib/client.js     # Client 半:挂件 UI、情绪动画、播报、设置页组件
├── assets/           # 六种状态立绘 + 小尺寸
├── locale/           # meta.title / meta.description
├── tools/make-avatar.py  # 把贴纸原图去白底并裁切导出(第三个参数是名字前缀)
├── cordis.patch.yml  # 插件行声明
└── package.json
  • 改 lib/client.js:DSH 的 client-hmr 会热重载(必要时 Ctrl+Shift+R 硬刷新一次,避免旧模块实例叠在新实例下面)。
  • 改 lib/index.js:需要重载 Host 半(插件管理器里关/开一次该插件)。
  • 立绘:把原图丢给 tools/make-avatar.py <原图> <输出目录> [名字前缀],会做边缘泛洪去白底 + 裁 bbox + 导出 512/128/64,然后覆盖 assets/。情绪图的前缀用 whale-angry / whale-blush / whale-panic / whale-greet / whale-think,宿主按 MOOD_FILES 里的文件名直接发图(mood=greet / mood=think)。

📄 License

MIT © 2026 Iceseas

非官方项目。DeepSeek、DeepSeek Harness 相关名称与商标归其各自所有者。