CyberWei922/dsh-cyberwhale 预览 preview

CyberWei922/dsh-cyberwhale

一只随 Harness 工作状态变化、陪你使用 DeepSeek Harness 官方 Desktop 的蓝色大肥鱼桌宠

Project Overview项目介绍

dsh-cyberwhale is a desktop-pet plugin built specifically for DeepSeek Harness Desktop, rendered as a blue chubby fish whose pose changes with task state and whose speech bubble surfaces the active session title plus current progress. The plugin is installed from inside Harness itself via the sidebar's Plugins → Add Plugin flow, accepting an npm name (dsh-cyberwhale), the GitHub repo URL, or a .tgz from the Releases page, after which an independent Electron runtime window is spawned alongside the main client; dragging, right-click greetings, resizing, and remembered window position are all supported natively.

The intended workflow starts with launching Harness Desktop 0.2.0-rc.2 once to finish initialization, then installing the plugin through the UI. If no @electron/get cache is present on the machine, enabling the plugin surfaces a guided "Go install" prompt that opens the plugin detail page, where users click "Download & Prepare" to fetch and verify the runtime; the runtime download source can be set to the default npmmirror China mirror or the official registry, and the same action is also reachable from Settings → Desktop Pet → Prepare Runtime. After preparation, toggling "Enable desktop pet" in that same panel brings the fish onto the screen, right-click plays a waving animation, and idle eye-tracking follows the cursor for up to ten seconds when hovered.

Runtime dependencies include the Harness-bundled CLI plus a separately downloaded 100–150 MB Electron runtime depending on platform; the command-line install path additionally requires Node.js 22+ and git, while the in-app path needs neither. macOS and Windows 11 x64 are the only verified targets, with Linux and other Windows builds explicitly untested, no in-place plugin auto-update is provided (reinstall after uninstall is required), and multi-session state, hybrid-DPI dragging, and hot-plug scenarios remain unverified per docs/windows-adaptation.md. The project ships under MIT with third-party notices in THIRD_PARTY_NOTICES.md and is intended for individual developers who want a companion overlay on their Harness sessions.

dsh-cyberwhale 是一只为 DeepSeek Harness Desktop 量身打造的电子桌宠插件,以一只蓝色大肥鱼为视觉形象,随任务切换动作并通过气泡显示会话标题与当前进度。插件以 npm 包、GitHub 仓库或本地 .tgz 三种方式在 Harness 侧栏的「插件 → 添加插件」中安装,启用后会拉起独立的 Electron 运行时窗口,并支持拖动、打招呼、调整大小与记忆窗口位置等交互。

典型使用流程是:先启动 Harness Desktop 0.2.0-rc.2 完成初始化,再安装插件;若本机没有 Electron 缓存,启用后会弹出「前往安装」引导,按提示在插件详情页点「下载并准备」,运行时源可在 npmmirror 镜像或官方源之间二选一。安装完成后在「设置 → 桌宠」中开启即可看到桌宠,右键可触发招手动画,待机时眼睛会跟随鼠标最多 10 秒,适合希望 Harness 工作过程更具陪伴感的个人开发者。

运行环境依赖 Harness 自带 CLI 与一份 100–150 MB 的 Electron 运行时,命令行安装额外需要 Node.js 22+ 与 git;目前已验证 macOS 与 Windows 11 x64,Linux 与其他 Windows 版本未验证,且不支持插件内自动升级,常见问题与排障详见 docs/usage.md。项目以 MIT 协议开源,第三方依赖在 THIRD_PARTY_NOTICES.md 中单独声明。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:CyberWei922/dsh-cyberwhale

把 CyberWei922/dsh-cyberwhale 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-cyberwhale 🐋

一只随 Harness 工作状态变化、陪你使用 DeepSeek Harness 官方 Desktop 的蓝色大肥鱼桌宠。

  • 随任务切换动作,气泡显示会话标题和当前进度。
  • 支持拖动、打招呼、调整大小和记住位置。
  • 待机时眼睛跟随鼠标;气泡和眼睛跟随均可关闭。

招手动画预览

招手动作预览,桌面窗口为透明背景。

支持 macOS、Windows 11 x64,已验证 Harness Desktop 0.2.0-rc.2。其他 Windows 版本及 Linux 尚未验证。

安装

需要 Harness Desktop。先启动一次 Harness 完成初始化。

只有用下面的命令行安装才需要额外的 Node.js 22+ 和 git;应用内安装不需要它们 —— 安装、下载运行时都由 Harness 自己完成。

1. 在 Harness 里安装插件

侧栏 → 插件 → 添加插件,下面三选一填进输入框:

填什么 内容
npm 包名(最省事) dsh-cyberwhale
仓库地址 https://github.com/CyberWei922/dsh-cyberwhale
压缩包 Releases 里 .tgz 的直链或本地路径

点安装,装完点立即启用。安装源保持默认即可。

git 不可用或访问不了 GitHub 时用 npm 包名;npm 也不方便时(比如纯粹离线),到 Releases 下 .tgz 再粘本地路径。都装不上就改用命令行从本地目录安装,见下方折叠块。

2. 准备运行环境

桌宠需要一个独立的 Electron 运行时(100–150 MB,随平台而定),安装包里不含它。

  • 本机已有 Electron 缓存时会自动复用(@electron/get 的公共缓存,装过别的 Electron 项目就有),这一步什么都不用做。
  • 缓存里没有时,启用插件后会弹出引导:点 前往安装 跳到插件详情页,在「运行环境」里点 下载并准备。它会下载并校验运行时,进度和步骤就在同一块面板上。 下载源可在同一页的「运行时下载源」里选:国内镜像(默认,npmmirror)或官方源。两者只走一个、不自动切换。
  • 也可以在 设置 → 桌宠 → 准备运行时 做同一件事 —— 两个入口共用同一份状态。

3. 启用桌宠

同一个设置页里打开启用桌宠,大肥鱼就会出现。

如果设置里没有「桌宠」,完全退出 Harness 再重新打开 —— 只关主窗口可能没有结束后台进程。

命令行安装(不常用,排障或离线时用)
git clone https://github.com/CyberWei922/dsh-cyberwhale.git
cd dsh-cyberwhale

node tools/ensure-electron.mjs        # 提前准备运行时,也可以之后在设置页点按钮

"/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh" \
  plugin --profile desktop add "$PWD"

Windows 11 把最后一行换成:

& "$env:LOCALAPPDATA\Programs\DeepSeek Harness\resources\runtime\cli\bin\dsh.cmd" `
  plugin --profile desktop add "$($PWD.Path)"

这种方式用 link: 指向你的工作目录,适合改代码;改完重启 Harness 即可看到效果。命令使用 Harness 的默认安装位置,自定义安装请替换路径。

使用

操作 效果
按住身体拖动 移动桌宠
右键 → 打个招呼 播放招手动画
设置 → 桌宠 调整大小、开关气泡和眼睛跟随、隐藏桌宠
设置 → 桌宠 → 重置位置 找回移到边缘的桌宠

眼睛跟随只在待机、鼠标停在身体上时生效,最多持续 10 秒。退出 Harness 时桌宠一起退出。

常见问题

  • 没有设置页? 确认安装成功,完全退出并重开 Harness。
  • 桌宠没出现? 看设置页的运行状态和错误提示;提示缺少运行环境时点准备运行时,位置异常时点重置位置。
  • 插件页说安装失败? 见 使用与排障。
  • 更新怎么做? 插件目前不支持自动升级:在插件页卸载后重新安装新版,再完全重开 Harness。

更多排障与卸载说明 · Windows 安装指南 · 分发与发布 · 反馈问题

目前多会话共用桌宠状态;Windows 混合 DPI 拖拽、热插拔等场景尚未充分验证。详见 验证范围。

贡献与许可

开发指南 · MIT License · 第三方声明

← 上一个 Prev dsh-deepseek-chat 下一个 Next dsh-headroom →