dsh-live2d-plugin
Live2D desktop pet for DeepSeek Harness: multi-instance transparent always-on-top windows, chat bubbles, AI-controlled expressions and motions, screen reading, TTS with lip sync, and proactive wake-up.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gawuwuwu/dsh-live2d说明文档
阅读完整 README ↗配置项
大部分不需要手改,设置页就是它的界面。完整字段(越界一律回落默认 + 告警):
| 参数 | 默认 | 范围 / 取值 |
|---|---|---|
modelPath | 空 | 模型目录(探测不到只降级成占位,不改值) |
modelScalePct | 100 | 50 ~ 200(以完整装进窗口为 100%,脚底锚定) |
modelLayoutMode | fit | fit 气泡不压模型 / zoom-overlay 允许放大后盖住 |
windowWidth / windowHeight | 320 / 420 | 160 |
windowX / windowY | null | ±10000 |
bubbleDurationMs | 5000 | 1000 ~ 120000 |
bubbleFixedSize / bubbleHeightPx | false / 200 | 布尔 / 80~900 |
replyStyle | bubble | bubble / card |
replyFontSize / replyOpacity | 15 / 0.9 | 12 |
mode | auto | auto(界面「手动」)/ semi / manual(界面「AI 自动」) |
boundSessionId | 空 | 绑定的会话 id;空 = 绑定的会话优先 |
chatTimeoutMs / showLateReply | 90000 / false | 10~300 秒 / 布尔 |
animCooldownMs / animTimeoutMs | 3000 / 2000 | 0 |
screenReadEnabled | false | 读前台标题 |
screenWatchIntervalMs | 30000 | 15000~300000 |
screenCaptureEnabled | false | 允许截图 |
screenCaptureAutoConfirm | false | 免确认(需先开总开关) |
screenCaptureIntervalMs | 30000 | 5000~300000 |
wakeEnabled / wakeIntervalMs | false / 30000 | 定时唤醒 / 15000~600000 |
wakeCaptureEnabled | true | 唤醒时是否附图 |
wakeMaxPerHour | 60 | 1~360(滚动 60 分钟) |
autoInteract / idlePresets | true / true | 点模型有反应 / 空闲小动作 |
ttsEnabled / ttsAutoSpeak | false / false | 语音 / 自动朗读 |
ttsUrl | http://127.0.0.1:7890/tts | CosyVoice2 地址 |
ttsPrompt / ttsPromptText | 空 / 空 | 参考音 .wav / 参考文本 |
aiMoveEnabled | false | 允许 AI 移动/缩放窗口(仅「AI 自动」模式) |
两种「越界」语义不同:配置里越界 → 回落默认 + 告警;拖动窗口越界 → 夹到屏幕边界。