gawuwuwu/dsh-live2d ↗★ 0

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.

套件
dsh-live2d-plugin
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年11月6日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gawuwuwu/dsh-live2d

配置项

大部分不需要手改,设置页就是它的界面。完整字段(越界一律回落默认 + 告警):

参数默认范围 / 取值
modelPath空模型目录(探测不到只降级成占位,不改值)
modelScalePct10050 ~ 200(以完整装进窗口为 100%,脚底锚定)
modelLayoutModefitfit 气泡不压模型 / zoom-overlay 允许放大后盖住
windowWidth / windowHeight320 / 420160800 / 2001000
windowX / windowYnull±10000
bubbleDurationMs50001000 ~ 120000
bubbleFixedSize / bubbleHeightPxfalse / 200布尔 / 80~900
replyStylebubblebubble / card
replyFontSize / replyOpacity15 / 0.91224 / 0.31
modeautoauto(界面「手动」)/ semi / manual(界面「AI 自动」)
boundSessionId空绑定的会话 id;空 = 绑定的会话优先
chatTimeoutMs / showLateReply90000 / false10~300 秒 / 布尔
animCooldownMs / animTimeoutMs3000 / 2000010000 / 10005000
screenReadEnabledfalse读前台标题
screenWatchIntervalMs3000015000~300000
screenCaptureEnabledfalse允许截图
screenCaptureAutoConfirmfalse免确认(需先开总开关)
screenCaptureIntervalMs300005000~300000
wakeEnabled / wakeIntervalMsfalse / 30000定时唤醒 / 15000~600000
wakeCaptureEnabledtrue唤醒时是否附图
wakeMaxPerHour601~360(滚动 60 分钟)
autoInteract / idlePresetstrue / true点模型有反应 / 空闲小动作
ttsEnabled / ttsAutoSpeakfalse / false语音 / 自动朗读
ttsUrlhttp://127.0.0.1:7890/ttsCosyVoice2 地址
ttsPrompt / ttsPromptText空 / 空参考音 .wav / 参考文本
aiMoveEnabledfalse允许 AI 移动/缩放窗口(仅「AI 自动」模式)

两种「越界」语义不同:配置里越界 → 回落默认 + 告警;拖动窗口越界 → 夹到屏幕边界。