skr311/dsh-codex-pet
dsh-codex-pet · DSH 桌面宠物插件 — 导入精灵图序列帧宠物,悬浮浮层渲染 + Agent 状态联动
Project Overview项目介绍
dsh-codex-pet is a native pet plugin built specifically for DeepSeek Harness (DSH). It allows users to import and upload Codex-style sprite sequence frame pets, which are rendered via a floating overlay layer directly on the DSH Web GUI. Core features include built-in pet gallery management, basic user interaction, and automatic linkage to DSH Agent working status. All styling follows DSH’s --dsw-* theme tokens, so the plugin automatically adapts to both light and dark DSH interface themes. There are two common installation methods: the recommended way is using pnpm to run dsh plugin --profile web add dsh-codex-pet, or users can clone the public GitHub repository and install the plugin from local source code.
After installation, you will need to restart the DSH Web GUI to activate the plugin, then navigate to the settings menu in DSH to access the pet gallery page. From there, you can upload a local zip package of your pet sprite, or import a pet directly from a public URL. Once you select the pet you want and click the enable button, the pet will appear in the lower left corner of the DSH interface, pinned next to the sidebar. You can drag the pet anywhere on the screen, and its position will be saved automatically when you release it. Clicking the pet triggers a custom waving animation.
The plugin links pet animations directly to DSH Agent working status, so the pet changes its animation automatically based on what the Agent is doing. When the Agent is actively running a task, the pet will display a running animation continuously. When the Agent is waiting for user approval or input, the pet will show a waiting idle animation. When a task completes successfully, the pet plays a short celebration animation, and if a task fails, it shows a dejected animation. The plugin is released under the open source MIT license, and does not include any copyrighted sample pet sprites in the repository. Local development can be done with zero external dependencies, relying only on Node and a vendored copy of fflate.
dsh-codex-pet 是一款专为 DeepSeek Harness(DSH)打造的原生桌面宠物插件,支持用户导入、上传 Codex 风格的精灵图序列帧宠物,在 DSH 的 Web GUI 中通过 shell.overlay 悬浮浮层渲染展示。插件自带图库管理、基础交互、DSH Agent 状态联动等核心功能,全部样式遵循 DSH 主题令牌,自动适配 DSH 深浅主题。安装方式推荐使用 pnpm 执行 dsh plugin --profile web add dsh-codex-pet,也可从 GitHub 克隆源码本地安装。
安装完成后需要重启 DSH Web GUI,之后打开 DSH 的设置页面进入宠物图库,即可上传本地 zip 压缩包或通过 URL 导入宠物,选中喜欢的宠物点击启用即可开始使用。启用后宠物会常驻在界面左下角,紧贴侧边栏,用户可拖拽调整位置,松手后位置自动保存,点击宠物还会触发挥手动作。
插件支持将宠物动画与 DSH Agent 的工作状态联动:Agent 工作时宠物持续跑动,等待用户审批时显示待机,任务完成触发得意动作,任务失败则显示沮丧。项目采用 MIT 开源许可,仓库不附带带版权的示例精灵图,支持零第三方依赖进行本地开发测试。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-codex-pet(skr311/dsh-codex-pet)
仓库:https://github.com/skr311/dsh-codex-pet
本站详情页:https://www.yhbd.top/plugins/skr311-dsh-codex-pet/
本站登记:类型 client · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-21 · 主语言 JavaScript · 未检测到 DSH 插件清单
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
- No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
- 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-codex-pet
把 skr311/dsh-codex-pet 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
English · 简体中文
dsh-codex-pet
DeepSeek Harness(DSH)桌面宠物插件:导入/上传 codex 风格的精灵图序列帧宠物,在 DSH Web GUI 以 shell.overlay 悬浮浮层渲染,含图库管理、基础交互与 Agent 状态联动。
📸 预览


✨ 核心特性
- 序列帧播放:单 WebP 精灵图(格式 A),逐帧毫秒时长,行=动画(idle / running / waiting / review / failed / 移动 / 挥手 / 跳跃)。
- 悬浮浮层交互:左下角常驻(贴着侧边栏),可拖拽(视口钳制 + 位置持久化)、点击挥手、空闲随机小动作。
- 图库管理:设置 → 宠物图库——zip 上传 / URL 导入 / 启用 / 停用 / 删除 / 首帧预览。
- Agent 状态联动:订阅 DSH 会话状态——工作中→跑动(常驻);审批/提问→等待(脉冲一次);任务完成→得意(脉冲一次);任务失败→沮丧(脉冲一次)。
- 深/浅主题:全部样式走
--dsw-*主题令牌,自动适配 DSH 主题。
🎮 操作指南
- 打开 DSH Web GUI(默认 http://127.0.0.1:3080)。
- 设置 → 宠物图库 → 上传/导入宠物 zip(或从 URL 导入)→ 点「启用」。
- 左下角出现宠物浮层(贴着侧边栏):
- 拖拽:按住移动,松手后位置自动保存。
- 点击:宠物挥手。
- Agent 联动:Agent 干活时宠物跑动;等你确认/回答时发呆一次;任务完成得意一次;失败沮丧一次。
- 想隐藏宠物:图库页点「停用宠物」。
📦 安装
方式一:pnpm(推荐)
dsh plugin --profile web add dsh-codex-pet
方式二:GitHub clone
git clone https://github.com/skr311/dsh-codex-pet.git
cd dsh-codex-pet
dsh plugin --profile web add ./packages/dsh-codex-pet
安装后重启 DSH Web GUI(宿主半改动需重启;客户端 bundle 改完热更免重启),再刷新页面。
✅ 兼容性
- Node.js:
>=20 - 已确认兼容的 DSH 版本:
0.1.5-rc.2 - 其他 DSH 版本的精确兼容状态见
package.json中的dsh.compatibility.dshReleases。
🛠️ 开发
项目结构:
packages/dsh-codex-pet/(宿主半lib/index.js+pet-library.js;客户端半lib/client.js;vendoredlib/vendor/fflate.mjs)。测试(零依赖,纯 Node + vendored fflate):
node scripts/test-m2.js node scripts/test-m2-routes.js开发流程:客户端 bundle 改完 HMR 热更、免重启;宿主半改动需重启 DSH Web GUI。开发规范见
docs/development-spec.md,工作指引见AGENTS.md。参与贡献:见 CONTRIBUTING.md。
📚 文档
- docs/README.md:标准文件索引;
AGENTS.md:开发工作指引;docs/execution-steps.md:里程碑状态。 - 资产格式见 docs/asset-spec.md。仓库不附带示例精灵图(版权),测试用运行时合成 WebP。
License
MIT
MemTensor/memmy-agent
OpenPetsHQ/openpets
PC2005-cloud/dsh-pet
zenstory-ai/oh-story-dsh
QCYTSN/dsh-dafeiyu
vlln/whale-girl
Ayase34/gal-view
ChisaAlter/WhaleIsle