dsh-desktop-whale
Verifieddsh-desktop-whale · v0.1.4 · MIT
把 DSH 里的小鲸鱼娘和余额挂到桌面:透明置顶小窗、逐轮伤害飘字、API Key 实时余额
Install
dsh plugin add dsh-desktop-whale Confirm the layer applied with dsh --profile default --dump-config — see the install guide.
Source
Published to npm without a public repository. Inspect the package contents before installing.
Tags
Creators
Readme
dsh-desktop-whale
把 DSH 里的小鲸鱼娘和余额挂到桌面上:透明、置顶、可拖动的独立小窗,不占任务栏,DSH 窗口最小化也照样显示。
装好之后由 DSH 自己管理:DSH 启动时出现,退出时消失,不用另开脚本。
能做什么
- 余额:用 DeepSeek API Key 直接查官方余额(每 55 秒刷新,两次拉取之间按账本消耗实时递减);没有 Key 时退回手动校准或按消耗估算。
- 今日 / 近 7 天 / 本轮:从
dsh-damage-pulse的usage.jsonl逐笔统计。 - 伤害飘字:每次扣费拆成「命中 / 输出 / 未命中」三条红字,尺寸、颜色、节奏与
dsh-damage-pulse一致。 - 鲸鱼娘:默认用
dsh-whale-widget的立绘,右键可切回dsh-damage-pulse的帧动画版(待机 / 眨眼 / 小动作 / 挨打表情)。 - 交互:拖动、四边吸附、四档大小、总在最前开关、点击穿透(只有鲸鱼和气泡拦截鼠标)。
安装
已发布到 npm,在 DSH 插件页的安装框里填 dsh-desktop-whale 即可,装完重启 DSH。
离线安装(本地 .tgz / 安装脚本)见 INSTALL.md。
第一次启动时如果本机没有 Electron 运行时,会自动下载一份到 ~/.dsh/electron(和 dsh-pet 共用,装过就秒开)。
用法
| 操作 | 效果 |
|---|---|
| 拖动鲸鱼 / 气泡 | 挪位置,松手记住;离屏幕边缘 24px 内自动吸附 |
| 单击 | 切换气泡:余额 → 近 7 天 → 本轮 → 当前计价 |
| 右键 | 刷新数据 / 打开 DSH / 切换形象 / 校准余额 / 设置 API Key / 大小 / 总在最前 / 显示隐藏气泡 / 退出 |
右键 →「设置 API Key…」填 sk-...(在 https://platform.deepseek.com/api_keys 建),余额就会以接口为准。Key 存在 ~/.dsh/desktop-whale/config.json,只在本机。
数据放在哪
~/.dsh/desktop-whale/:
| 文件 | 内容 |
|---|---|
state.json |
窗口位置、大小、形象、是否置顶 |
config.json |
API Key、轮询间隔 |
balance.json |
手动校准的余额 |
boot.log |
启动与接口日志(排查用) |
卸载
DSH 插件页里移除 dsh-desktop-whale,或者删掉 profile 里对应的依赖与 bundles 条目。~/.dsh/desktop-whale/ 可以保留(下次装回来还是原来的位置和 Key)。
许可
MIT。鲸鱼娘帧素材裁自 dsh-damage-pulse(MIT)随包资源,立绘来自 dsh-whale-widget(MIT);仅本机自用,再分发请遵守原插件许可。