dsh-live2d-pet
DeepSeek Harness 的 Live2D 桌面宠物:把鲸语(jingyu-live2d-agent)舞台裁成一块透明浮窗停在桌面上,AI 可以用工具让她说话、抬眼、点头、换表情;设置页里能调大小、透明度、头像、待机节奏和全部动作。模型自备(大肥鱼公皮禁止重新分发)。
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:11454zaw/dsh-live2d-petREADME
Read the full README ↗配置
$DSH_HOME/live2d-pet/config.json(首次加载时自动建目录,文件没写就用默认值):
{
"stageUrl": "http://127.0.0.1:61942",
"electron": "",
"launchScript": "",
"autoStart": false,
"avatar": "",
"width": 435,
"opacity": 1,
"follow": true,
"idleEnabled": true,
"idleMinMs": 22000,
"idleSpreadMs": 45000,
"idleActions": [],
"bubbleHoldMs": 9000
}
| 字段 | 说明 |
|---|---|
stageUrl | 鲸语地址,端口不对就改这里 |
electron | Electron 可执行文件;留空则找 $DSH_HOME/electron/electron.exe |
launchScript | 「全部拉起」先跑这个脚本(.ps1 / .cmd) |
autoStart | DSH 起来时是否顺带拉起外壳(默认关) |
avatar | 左上角圆形头像的图片路径;留空用内置的 |
width / opacity | 窗口宽度(260–900)与不透明度(0.25–1) |
follow | 视线是否跟着鼠标 |
idleEnabled / idleMinMs / idleSpreadMs | 待机动作开关与节奏(毫秒) |
idleActions | 允许的待机动作名字;空数组 = 全部允许 |
bubbleHoldMs | 气泡停留毫秒数 |
外壳自己还有两份状态:shell/pet-window.json(位置、是否置顶/穿透)与 shell/pet-settings.json(设置页写进去的、给外壳读的那份)。