whitefirer/dsh-niulai-pet 预览 preview

whitefirer/dsh-niulai-pet

牛来桌宠:agent 任务完成它就蹦出来喊「妈~~妈~~」——dsh 纯客户端桌宠插件(6 皮肤/签名动作/合成叫声)

Project Overview项目介绍

dsh-niulai-pet is a native plugin built exclusively for DeepSeek Harness (DSH). It adds a cute interactive desktop pet to the corner of the DSH web interface, with a default Niulai calf that performs various idle behaviors like breathing, blinking, pacing, and napping when there is no active task. When a DSH agent task completes, the pet will automatically jump out and shout "Mom~" to celebrate the finished work. It supports drag interactions, multiple skins, custom role imports, and voice-activated stopping of repeated shouts from the pet. You can also customize the pet's size, opacity, color, and behavior settings to fit your interface.

To install the plugin, you can run dsh plugin --profile web add dsh-niulai-pet to install it from the public npm registry, which is the recommended installation method. Alternatively, you can install it directly from the GitHub repository with the command dsh plugin --profile web add github:whitefirer/dsh-niulai-pet. You need to restart DSH web after the first installation, but only a simple page refresh is required for any subsequent updates. There is also a standalone demo page available online for you to try out all core features before installing it into your local DSH instance.

The plugin is released under the open-source MIT license, and it comes with 9 default built-in skins right out of the box. There is also an additional free collection of 30 pre-built character packs that you can download and import, and you can also create your own custom character packs following the project's detailed guide. The voice stop feature uses a lightweight offline WASM recognition model by default, with a template matching fallback for older environments, and it only accesses your microphone when the shout loop is active. DSH versions rc.7 and newer get a full persistent configuration panel, while older DSH versions still work correctly with browser local storage.

牛来桌宠是专为 DeepSeek Harness (DSH) 开发的原生插件,可让你在 DSH 的网页界面角落养一只《牛来》的小牛。小牛平时会做呼吸、眨眼、踱步、打盹等休闲动作,还会偶尔弹出气泡唠叨;当 DSH 代理任务完成时,它会蹦出来喊一声「妈~~妈~~」,支持拖拽互动、多皮肤切换、自定义角色导入和语音停喊功能。

普通用户可通过 DSH 命令行直接安装,推荐从 npm 源安装,也可从 GitHub 仓库安装。安装后首次需要重启 DSH Web,后续更新只需刷新页面即可生效。项目提供了免安装的在线试玩页面,可先体验核心功能再安装到 DSH 中,适合想要给开发界面增加趣味交互的 DSH 用户。

插件采用 MIT 许可证开源,自带 9 个默认皮肤和免费的 30 个角色包合集可供下载导入,支持自定义角色包制作。语音停唤功能默认使用离线轻量 WASM 识别模型,也支持模板匹配回退方案,仅在循环喊叫声开启时调用麦克风,不会常驻占用权限。DSH rc.7+ 支持持久化配置面板,旧版本也可正常运行。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 17 stars - an early-stage project星标 17,属于早期项目
  • 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 dsh-niulai-pet

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

READMEREADME

dsh-niulai-pet

中文 | English

npm license: MIT Awesome DSH Plugin

牛来桌宠 —— 在 dsh web 界面角落里养一头《牛来》的小牛。平时呼吸、眨眼、踱步、 打盹、气泡唠叨;agent 任务一完成,它就蹦出来喊一声「妈妈」。

桌宠本体在浏览器端(client 半);host 半(index.js)只负责注册 settings 命名空间——dsh rc.7+ 的设置页「插件配置」区因此有一张牛来桌宠设置卡片, 配置由 dsh host 持久化(~/.dsh/settings.yaml)。rc.6 及更早没有该能力, 插件照常工作,配置留在 localStorage,只是没有设置卡片。 更新后刷新页面即生效,免重启。

在线试玩(免安装) —— 同一套代码的 standalone 页面,模拟任务驱动庆祝;想真养在 dsh 里再往下看安装。

九个皮肤

层次合影

演示

皮肤

皮肤 素材 叫声 签名动作
牛来 抠图 + PIL 精修 原声(已降噪) 连跳
牛来原皮 AI 生图三视图抠图(无角幼年造型) 同上 连跳
小黄 牛来幼年皮(去角+黄亮) 同上 翻滚
熊猫 手绘 合成吱声 翻滚
蓝鲸 手绘(DeepSeek 蓝 + 虎鲸眼斑) 合成鲸鸣 跃出水面(弧顶喷水)
奶龙 三视图抠图(AI 生图)+ 视频切片抠帧 原片大笑声(已降噪) 摇摆(喊叫有捧腹大笑到打滚的帧演出)
小奶龙 奶龙宝宝造型(AI 生图动作条切帧) 「我才是奶龙」原声切片 摇摆(喊叫有逐帧演出)
大狗 Dagou-Tap-New 立绘(自带 alpha) 「大狗大狗叫叫叫」链式合成 连跳
赛博猫 AI 生图抠图(一站一趴) 真猫叫 摇摆(趴睡常态:平时趴着,喊叫才站起,声止再站 2.5s)

行为

交互 反应
待着不动 呼吸浮动;随机眨眼 / 小跳 / 踱步 / 扭身子;偶尔气泡吐槽(趴下打盹需在设置面板开启,默认关)
AI 会话在跑 气泡报时「AI 已经跑了 X分X秒…」
点击(戳) 喊一声 + 绑定动作;循环喊在跑时戳 = 应声停它,不再复读「妈妈」
拖拽 拎着走(垂直 1:1 跟随),松手重力坠落 + 水平抛掷惯性,落地压扁回弹;位置记忆(localStorage)
变色 菜单/设置面板「色相」滑杆 0-360° 任意调色(hue-rotate,按只存;单色角色效果最佳)
流光变色 设置面板按只开启:色相绕圈缓慢流转(~22s 一圈,纯显示不落盘),史莱姆系绝配
连戳红温 连戳会积火:皮肤逐渐变红(红色剪影跟随体型),满格爆发扭头哼唧不理人,随后缓慢退火;前 3 戳不红,可在设置面板整体关闭
多只 主宠菜单「再添一只」(上限可配,默认连主 10 只);皮肤/大小/色相/语录按只存,设置面板选「配置对象」按只调
物理碰撞 设置面板开启后:走近互挤、撞狠弹飞、拎着越过头顶不推人、砸中别只按落差弹开,落地/重撞有闷响
右键 菜单:静音+音量(滑杆)/ 气泡开关 + 大小 / 透明度 / 色相(滑杆)+ 皮肤(下拉,选即换)+ 飞一圈 / 表演一下(喊 + 签名动作)/ 全家福 / 再添一只 / 设置(定位打开设置面板并高亮本宠)/ 关于;低频配置(完成喊几声/打盹/碰撞/动作绑定等)全归设置面板
全家福 主宠菜单「👪 全家福」:均匀列队(牛来 C 位、奶龙/小奶龙对称)→ 层次合影(高个靠后矮个往前、叠压出纵深)→ 收起,循环切换;期间主宠钉住置顶,收起原位恢复
任务完成 提示音(可连播/可循环到互动停止,可导入自定义提示音替代角色叫声)+ 气泡 + 嘴型开-合-开保持到尾音结束 + 绑定动作(6s 节流,可配延迟——延迟期间你戳它/拎它/发了新任务,就当你已处理过,不再提示)。多只/全家福列队时全员广播

动作库:飞行(向上抛物线)/ 摇摆舞 / 转圈 / 连跳 / 翻滚 / 跃出水面 / 摇摆, 任意皮肤可绑任意动作,「签名动作」= 跟随当前皮肤,「随机」= 现场抽。 动作绑定按皮肤记:切换皮肤不清空另一皮肤的绑定,没配过的皮肤用默认 (完成=签名动作,戳一下=连跳)。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-desktop 下一个 Next dsh-composer-history →