Home/Plugins/PC2005-cloud/dsh-pet/Setup

How to install dsh-pet

Install command, configuration and the one gotcha — taken from PC2005-cloud/dsh-pet's own README, not invented here.

Repo: PC2005-cloud/dsh-pet · Stars: 3717 · Category: UI & Themes

Install

Copy from your project's README (source: upstream). The README gives 2 install paths — pick the one matching your setup.

① 提示词(配方)    →  ② 素材生成链(引擎)  →  ③ 插件(成品)
AI 生成动画的配方     源视频 → 透明动画的管线    运行在 DSH 里的宠物
# ① clone 本仓库,进入插件目录
git clone https://github.com/PC2005-cloud/dsh-pet.git
cd dsh-pet/dsh-pet

# ② 安装依赖
npm install

# ③ 构建(完整 lib:tsdown → lib + 桌面共享核心 + 类型声明)
npm run build       # 必须手动跑一次(克隆后 npm install 不再自动构建)

# ④ 安装到 DSH(file: 指向**插件目录**——上面 cd 进去的那一层,用构建好的 lib)
#    --profile 填实际在用的那个:dsh web → web;
#    桌面应用(Electron 版)改用应用内「插件管理」安装,见上方快速开始
dsh plugin --profile web add file:D:/path/to/dsh-pet/dsh-pet

After installing, restart the DSH session. A plugin that is installed but does not load is almost always a profile mismatch — see nine causes of "plugin installed but not loading".

What it does

一只住在 DeepSeek Harness 里的桌面宠物:待机呼吸、随机动作(打瞌睡、玩魔方、吃火锅……)、左右转向、屏幕漫游、点击 Q 弹、拖拽甩抛反弹、右键菜单点播——一百余个透明动画随时无缝衔接;还能跟随 DSH 会话事件切换工作状态动画、按档位播放余额动画 + 头顶气泡、碎碎念与对话聊天、窗口失焦时弹系统通知。可多开同屏,能脱离浏览器住上桌面(透明置顶小窗),也能自己添加全新宠物种类(pet pack)。

注:npm run build(即 scripts/prepare.js)才产出完整可安装的 lib——除 tsdown 构建外还构建桌面共享核心(shared-core.js)、生成类型声明并收敛发布 files 清单;裸 tsdown 构建会缺桌面运行时与类型。发布与打包(npm publish / npm pack)时由 prepack 自动调用它,克隆仓库后需手动跑一次。

Caveats before you install

Related