dsh-pet
PC2005-cloud/dsh-petDSH Web UI 桌面宠物,Windows / macOS / Linux 三端可用:浏览器浮层或透明置顶桌面窗口,106 个透明动画、带挤压与粒子的甩抛反弹物理、随会话事件实时联动的工作状态气泡、碎碎念与带持久记忆的对话、余额展示、表情包配图、多开同屏,并支持直接放入的自定义动画与宠物种类(pet pack)。
DSH Web GUI 的 Live2D 桌宠悬浮层:镜像 agent 思考/空闲/出错/完成/待审批状态,配动画与气泡,支持分部位触摸反应、拖动停靠、切换人设,以及通过 URL 或本地路径加载自定义模型。
English | 简体中文
A Live2D desk girl for DeepSeek Harness (DSH): it tilts its head when you think, celebrates when you finish, and you can pet it!
.model3.json over https / http, or an absolute local path (e.g. C:/models/foo/foo.model3.json) served by the plugin Host through a same-origin route; custom models support animation mapping to bind native motion groups to pet states / touch interactions~/.dsh/settings.yaml, while custom personas and custom models live in ~/.dsh/live2d-pet/ plugin-owned JSONC files; applies immediatelyCopy this into a DSH Web GUI chat and let the agent install and verify:
Please install the dsh-live2d-pets plugin (Live2D desk pet for DSH):
1. Run: dsh plugin --profile web add dsh-live2d-pets
2. Run: dsh plugin --profile web list and confirm dsh-live2d-pets is installed
3. Report the result; if it fails, include the error output
dsh plugin --profile web add dsh-live2d-pets
The plugin is enabled by default after install. Start DSH:
dsh web
Open the browser — a default pet (160px) appears at the bottom-right. Default model is Hiyori (Live2D sample); first load needs network.
Custom models: Settings → “Pet config” → “My models”, add a name + .model3.json URL (CDN, self-hosted static, local HTTP, or an absolute local path such as C:/models/foo/foo.model3.json; local paths are served by the plugin Host via /pet-local-models/...). Expand Spatial tap override to tune the five rectangles (0–1; leave blank for defaults), or expand Animation mapping to parse the model’s native motion groups and bind them to states / touch interactions. Pair with developer option Show tap zones. Built-in Hiyori ships with a centered preset.
Open DSH Settings → “Pet config”. Changes apply immediately — no restart.
$DSH_HOME/live2d-pet/personas.jsonc, then hit “↻ Reload”.model3.json URL under “My models” (optional spatial-tap / animation mapping); custom models live in $DSH_HOME/live2d-pet/custom-models.jsoncdsh plugin --profile web remove dsh-live2d-pets
| Need | Doc |
|---|---|
| Chinese README | README.md |
| Product intent | docs/intent/live2d-pet-plugin.md (Chinese) |
| Behavior spec | docs/spec/live2d-pet-v01.md (Chinese) |
| Architecture decisions | docs/adr/ (rendering stack: ADR-003) |
| Research notes | docs/research/ (settings panel: settings-tab.md) |
shell.overlay (Popover top layer, ADR-005); settings section on settings.section (ADR-002)agent/* → same-origin SSE /api/live2d-pet/events (ADR-006); pause when tab hidden / blurredctx.settings (~/.dsh/settings.yaml over base); custom personas at ~/.dsh/live2d-pet/personas.jsonc, custom models at ~/.dsh/live2d-pet/custom-models.jsonc are read/written by the plugin; transport via plugin API /api/live2d-pet/settings (settingsScope wire allowlist limits — research 3.4/3.5)src/presets/presets.jsonc)