dsh-dafeiyu README

The project's README from github.com/QCYTSN/dsh-dafeiyu. As one markdown file: README.md.

DSH 大肥鱼 🐋

在桌面上陪你工作的 DeepSeek Harness 伴侣。

English · npm · 下载最新版 · 更新日志

npm Release

大肥鱼由 DSH 插件启动,随 DSH 一起退出。透明、无边框、始终置顶的原生窗口,让你在编辑器、浏览器或其他应用中也能看到 Agent 的工作状态。

当前稳定版:0.1.23。 修复 Linux arm64 / 无随架构 Helper 时 Python 回退未给出 PySide6 安装指引的问题;同时包含 0.1.22 的审批提示音与场景开关、0.1.21 的跨显示器拖动与菜单设置兜底、0.1.20 的透明区域点击穿透与 0.1.19 的 Helper 冷启动诊断。安装时填写 [email protected],离线安装请从最新版下载页选择 dsh-dafeiyu-0.1.23.tgz;Windows、Linux 与 macOS 共用这一个包。GitHub 自动生成的 Source code (zip / tar.gz) 是源码,不是安装包。

大肥鱼在任务状态卡底部显示 API 余额

原生 Windows 窗口实拍;余额为演示数据。当前角色素材来自 PC2005-cloud/dsh-pet。

能做什么

状态来自 DSH 会话事件。大肥鱼不会读取屏幕;推理强度与进度只显示上游实际提供的信息。

先选你的 DSH 客户端

使用方式 安装位置 设置入口(DSH 0.2) 角色右键菜单的打开目标
浏览器 WebUI web profile 左侧插件 → dsh-dafeiyu WebUI,默认 http://127.0.0.1:3080/
官方桌面端 desktop profile 左侧插件 → dsh-dafeiyu 通过 dsh://open 唤起桌面应用

WebUI 中安装的插件不会自动出现在桌面端。 两边都启用会各自启动原生角色,可以在其中一个 profile 关闭“大肥鱼”。第三方桌面包装器可能仍使用 web profile,请以它的实际启动方式为准。

客户端包中的 platform: web 也适用于官方桌面端:官方 Electron 应用使用同一套 Web 客户端。原生角色由对应 Host 启动。

安装

使用命令行安装、升级或移除前,先完全退出对应 DSH Host;操作后重新启动。通过桌面应用内的插件管理操作时,按应用提示重启。

浏览器 WebUI

已全局安装 DSH:

dsh plugin --profile web add [email protected]
dsh web

使用 npx,无需全局安装 DSH:

npx -y @deepseek-ai/dsh plugin --profile web add [email protected]
npx -y @deepseek-ai/dsh web

从 DeepSeek Harness 源码运行的用户,在 Harness 仓库中执行:

pnpm dsh plugin --profile web add [email protected]
pnpm dsh web

官方桌面端

推荐直接在应用内安装:

  1. 打开官方 DeepSeek Harness 桌面应用,点击左侧 插件。
  2. 点击 添加插件,输入 [email protected],点击 安装。
  3. 安装成功后点击 立即启用,大肥鱼会出现在桌面上。
  4. 在插件列表打开 dsh-dafeiyu,调整角色、气泡和余额设置,修改实时生效。

这套流程使用桌面应用自带的安装环境,用户无需安装 Node.js 或执行 npm 命令。若应用提示刷新或重启,按提示操作;失败时展开 查看安装详情 并保留日志。

也可以只填 dsh-dafeiyu 获取安装源中的最新版。新版本刚发布时,默认安装源可能仍返回旧版;指定版本可以避免装错。安装后核对详情页中的版本号。

使用命令安装时:

  1. 先启动一次官方桌面应用,让它初始化 desktop profile,然后完全退出。

  2. 使用桌面应用自带的 dsh 命令。支持命令注册的版本可从应用菜单的 Manage dsh command… / 管理 dsh 命令入口配置;也可直接调用安装目录的 resources/runtime/cli/bin/dsh(Windows 为 dsh.cmd)。

  3. 执行:

    dsh plugin --profile desktop add [email protected]
    
  4. 重新打开桌面应用,在左侧插件 → dsh-dafeiyu 调整角色。

这里的 dsh 必须来自桌面应用。 独立安装的 npm / npx @deepseek-ai/dsh CLI 不能修改官方桌面端的 profile。请参考 DSH 官方桌面端说明。

使用 Release 安装包

打开最新版下载页,在 Assets 中下载 dsh-dafeiyu-0.1.23.tgz,用对应客户端的命令安装;无需解压。不要选择历史版本,也不要下载 Source code 作为安装包:

# WebUI;文件路径替换为实际下载路径
npx -y @deepseek-ai/dsh plugin --profile web add "C:\Downloads\dsh-dafeiyu-0.1.23.tgz"

# 官方桌面端;必须使用应用自带的 dsh
dsh plugin --profile desktop add "C:\Downloads\dsh-dafeiyu-0.1.23.tgz"

桌面端也可在 添加插件 的输入框填写 .tgz 的完整路径。

余额显示

余额默认出现在大肥鱼状态气泡底部和设置页,查询逻辑由两个客户端共用。设置页可查看总余额、赠送和充值,并手动刷新。

来源 凭据来自哪里 查询内容
自动(默认) 优先使用 DSH 模型设置中的 DeepSeek API Key;未配置时尝试已登录账户 对应来源的余额
API Key DSH 的凭据服务;旧 Host 无该服务时读取启动环境 DeepSeek /user/balance
已登录账户 DSH 的 DeepSeek 账户服务 账户充值与赠送钱包

账户余额和 API 余额的查询方式参考了 keshing/balance-display 与 DSH 的公开账户服务。插件不会发起模型调用。

常用设置

设置 作用
启用大肥鱼 开关当前 profile 的原生角色
角色大小 / 气泡大小 独立调整;小气泡保留基本字号
安静 / 标准 / 活泼 每次待机动作结束后,分别休息 45~90 / 25~45 / 12~22 秒
减少动态 固定角色姿势,停止待机与点击动画;状态和提示仍实时更新
提示音 所有提示的总开关(只影响声音)
提示音与通知场景 分别开启“对话完成”“工具出错”“等待审批”提示。取消后该场景不再播放声音;macOS 同时不再弹系统通知横幅,Windows / Linux 只播放声音
气泡显示 常驻、隐藏,或仅在指定状态显示
子 Agent 允许子 Agent 状态参与显示
页面内角色 在 DSH 页面右下角显示轻量角色
打开目标 自动、WebUI 或官方桌面端
显示余额 / 余额来源 开关与选择余额查询来源

设置页修改实时生效。右键菜单可调整大小、减少动态、打开对应 DSH 客户端,或仅在本次运行隐藏/关闭角色。

点击动作会完整播完,再回到当前任务状态;新任务可立即打断装饰动作。拖拽期间只播放悬空姿势,松手后完整落地。具体触发、频率和衔接规则见 动作说明。

若 WebUI 使用自定义地址,可在启动 Host 时设置 DSH_DAFEIYU_WEBUI_URL;它优先于自动推断的默认地址。

平台与运行环境

平台 原生角色
Windows 10 / 11 x64 随包提供 Helper;WSL2 可通过 Windows 互操作启动
Linux x64 随包提供 Qt Helper,需要图形桌面;glibc 2.35+,Ubuntu 24.04 有验收记录
Linux arm64 包里没有随架构 Helper,会自动回退到 Python Helper,需要 python3 与 PySide6>=6.7,<7;缺失时会写明确日志
macOS 12+ 原生 Swift / AppKit Helper,Universal 构建;实验性支持

标准安装包已包含 Helper,不需要自己安装 Python 或运行 Helper。从源码使用时需自行构建。macOS 小字号与拖动边缘已修复并通过 CI,仍需真实机器验证视觉效果与多屏操作。

原生角色显示在 Host 所在的桌面:远程服务器、无图形环境和浏览器客户端不在同一台机器时,请先确认 Host 的运行位置。页面内角色可在浏览器中显示。

更新与排错

WebUI 用户完全退出 DSH 后执行:

npx -y @deepseek-ai/dsh plugin --profile web update dsh-dafeiyu

官方桌面端 0.2.0-rc.2 暂不支持应用内自动更新。在插件页面卸载大肥鱼,再添加 [email protected] 并立即启用;也可以完全退出应用后使用自带的命令:

dsh plugin --profile desktop update dsh-dafeiyu

然后重新启动对应客户端。回退、移除、DSH 迁移后恢复大小,以及 Windows EPERM 的处理见 更新与回退。

GitHub issue / PR 处理清单记录已处理和仍需补充证据的问题;验收记录保留实际测试结果。这些记录中的旧版本号用于追溯,不是安装建议。

源码开发

pnpm install --frozen-lockfile
npm test
npm run test:python
npm run build:helper
npm run test:helper:packaged

开发 Python Helper 需要 requirements.txt 中的依赖;macOS Helper 需要 Xcode Command Line Tools。纯 Swift 核心测试运行 swift test。修改原生代码后应重新构建 Helper,再安装本地打包产物。

CI 还会隔离安装 DSH 0.2.0-rc.2 并运行 scripts/test-dsh-settings.mjs,验证新设置接口。该检查不读取用户 profile 或凭据,文件写入使用测试适配器。

项目通过 GitHub Actions 构建三个平台的 Helper 并发布;维护者操作见 发布说明。

素材与授权

当前动态素材来自 PC2005-cloud/dsh-pet,以来源的 24 fps 转成透明 WebP 帧。当前清单含 16 组动作、3,444 帧,帧画布为 412 × 344;清单记录了上游版本、视频校验值和取帧范围。

软件代码与角色素材适用不同授权,请完整阅读 ASSET_LICENSE.md、素材来源许可证和 LICENSE。旧版素材及社区拖拽图片保留于 legacy/,不随当前 npm 包分发。

感谢社区在动画、macOS、WSL 和兼容性方面的贡献。想接收更新通知,请订阅仓库 Watch → Custom → Releases;Star 只收藏项目。

dsh-dafeiyu (QCYTSN/dsh-dafeiyu)

Searching Database…

What is this?DSH BigFish (大肥鱼) is a desktop companion character that lives on your screen and visually reflects the real-time working status of DeepSeek Harness (DSH) agent sessions - thinking, working, waiting, error or done - shown as an always-on-top transparent window.
Is this a standalone desktop-pet app or does it need DSH installed?It is not a standalone desktop-pet app - it is a plugin enabled by DSH itself. It starts and exits together with the DSH Host process and only renders as a native overlay window; closing the browser tab does not close it.
What do I need before installing it?You need a working DeepSeek Harness WebUI already installed, with a CLI that supports the plugin --profile web command. Regular users don't need Python, PySide6, or Xcode - the Windows, Linux and macOS Helper binaries are already bundled inside the release package.
Does it work the same way on every platform?No - Windows 10/11 and WSL2 are the primary targets, Linux desktop support requires glibc 2.35+ and has only been verified on Ubuntu 24.04, and macOS support (Apple Silicon or Intel, 12.0+) is explicitly experimental, shipped as an ad-hoc-signed build that isn't notarized.
How does BigFish know what DSH is doing?It only reacts to DSH's own agent events - project name, current phase, active to-do, and real completion counts - it never watches VS Code, the browser, other windows, or takes screenshots.
What can I customize?Character size (55%-140%), status bubble size and visibility, idle-animation activity level, a 'reduce motion' mode, completion/error sound alerts, and whether sub-agent status affects priority; all settings are saved by DSH itself.
Why might macOS Gatekeeper block it?Only if you unzip the downloaded .app with Finder, which adds a quarantine flag. Installing via npm, downloading through the terminal, or running the .tgz installer directly never triggers Gatekeeper.
What happens if I close the DSH browser tab?Nothing - BigFish is tied to the DSH Host process lifecycle, not the browser tab, so it keeps running on the desktop until DSH Host itself fully quits.
Creator
QCYTSN
Size
95.9 MB
Stars
626
Age
3mo
Commits · 90 Days