dsh-pet
Windows desktop pet plugin for DeepSeek Harness. Renders Codex-compatible pets (pet.json + spritesheet.webp) as a layered overlay, with a Plugins settings card.
AI Analysis
核心用途是在 Windows 系统桌面上渲染悬浮的互动宠物。适合希望将 DSH 状态与系统级桌面宠物联动、支持自定义 Codex 宠物素材的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置页
设置 → 插件 → 展开「桌面宠物」:
| 项 | 说明 |
|---|---|
| 启动桌面宠物 | 卡片标题栏开关,打开即拉起桌面悬浮窗,关闭即退出。开关会立刻写入设置,不必点保存 |
| 桌面缩放 | 0.5~4,保存后立即生效 |
| 桌面动画每帧毫秒 | 30~1000,越小越快 |
| 默认宠物 | 桌面未手动选过宠物时使用;空 = 清单第一只 |
配置页保存写入 DSH 的 settings.yaml(pet: 节),不必再改 cordis.patch.yml。
配置项
cordis.patch.yml 的 config: 与设置页用户层叠加后生效。
| 键 | 默认 | 说明 |
|---|---|---|
enabled | true | 插件总开关 |
routeBase | /dsh-pet | HTTP 路由前缀 |
sourceDirs | [] | 自定义宠物目录;空则用 ~/.codex/pets + $DSH_HOME/pets |
defaultPet | "" | 默认宠物 id |
desktop | false | 是否启动桌面悬浮窗 |
desktopScale | 2 | 桌面缩放 |
desktopFrameMs | 150 | 桌面每帧毫秒 |
columns / rows | 8 / 9 | 图集列 / 行 |
cellWidth / cellHeight | 192 / 208 | 单格尺寸 |
states | idle=0, working=1, … | 全局状态 → 行号 |
petStates | {} | 按宠物 id 覆盖行映射(不改宠物文件) |
desktopLauncher | "" | 可选:自定义 .ps1 / .cmd 绝对路径;空 = 包内 desktop/dsh-pet-desktop.ps1 |
以下键仍可出现在旧配置里以免解码失败,但网页宠物已关闭,界面不再提供:inject、scale、position、frameMs。