Skip to content

Releases

v1.0.1

Choose a tag to compare

@Yelloooooow Yelloooooow released this 09 Sep 03:19

dsh-whale-pet v1.0.1

余额查询通道迁移,兼容新版 DSH。

修复

  • 余额查询改用进程内 fetch:旧版通过 subprocess.spawn 派生 curl → node 双通道子进程查询余额;新版 DSH 的 subprocess 服务契约变更后两条通道都会崩溃(both-failed → 气泡显示"获取失败")。现改为 host 插件内直接 fetch + AbortController(20s 超时),不再依赖 subprocess,对新旧版本 dsh 均兼容。
  • 顺带清理:乱码文件头注释、未使用的 readBody、形象图路径随插件包解析(上一版已加入)。

兼容性

  • 新版 DSH(更新后的 loader/web 组合):余额、形象图路由实测正常。
  • 旧版 DSH:插件只使用跨版本稳定的面(webServer、credentials、node:fs、全局 fetch),旧版同样可用。

功能(不变)

  • 右下角常驻鲸鱼娘 + DeepSeek 余额气泡(60s 自动刷新,单击手动刷新)
  • 双击鲸鱼娘打开用量页(platform.deepseek.com/usage)
  • 可拖动 + 位置记忆(localStorage),下次打开还原
  • 形象图随插件包解析,支持从 GitHub 直接安装

安装

dsh plugin --profile web add github:Yelloooooow/dsh-whale-pet#v1.0.1

装完重启 Harness、刷新页面即出现鲸鱼娘。手动安装:把 plugin/ 四个文件与 whale_pet_b64.txt 放入 <DSH_HOME>/profiles/web/node_modules/dsh-whale-pet/,在 profile package.json 的 dsh.profile.bundles 加入 "dsh-whale-pet",重启 Harness。

许可

  • 代码:MIT License
  • 形象素材:基于 fornarwhal/deepseek-whale-girl-icon(CC BY-NC-SA 4.0)的二创,按 CC BY-NC-SA 4.0 分发(详见 README「许可与署名」)

v1.0.0

Choose a tag to compare

@Yelloooooow Yelloooooow released this 08 Sep 11:06

dsh-whale-pet v1.0.0

DeepSeek Harness 鲸鱼娘余额桌宠插件 —— 首个正式版本。

功能

  • 右下角常驻鲸鱼娘 + DeepSeek 余额气泡(每 60s 自动刷新,单击手动刷新)
  • 双击鲸鱼娘打开 DeepSeek 用量页(platform.deepseek.com/usage)
  • 可拖动摆放,位置自动记忆(localStorage),下次打开自动还原;若记忆位置移出视口则回到默认右下角
  • 余额经 Host 端路由查询,API Key 只存在 Harness 凭据服务中,浏览器零密钥
  • 形象图路径随插件包解析,支持直接从 GitHub 安装

安装

dsh plugin --profile web add github:Yelloooooow/dsh-whale-pet#v1.0.0

装完重启 Harness、刷新页面即出现鲸鱼娘。

也可以手动安装:把 plugin/ 四个文件与 whale_pet_b64.txt 放入
<DSH_HOME>/profiles/web/node_modules/dsh-whale-pet/,在 profile package.json
的 dsh.profile.bundles 中加入 "dsh-whale-pet",重启 Harness。

许可

  • 代码:MIT License
  • 形象素材:基于 fornarwhal/deepseek-whale-girl-icon(CC BY-NC-SA 4.0)的二创,按 CC BY-NC-SA 4.0 分发(详见 README「许可与署名」)