ankesu/dsh-live2d-pet3

dsh-live2d-pet

Live2D companion for DeepSeek Harness: render a Cubism model (e.g. the official Haru sample) in the web UI with state-driven expressions and mouse tracking. · DSH 桌宠的 Live2D 渲染插件

包名
dsh-live2d-pet
版本
0.1.2
许可证
NOASSERTION
最近更新
2026年8月27日

安装

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

Configuration / 配置

cordis.patch.yml (in the plugin package):

- insert:
    - id: live2d-pet
      name: dsh-live2d-pet
      config:
        model: haru/haru_greeter_t03.model3.json  # path under assets/live2d/
        size: 320                                  # canvas size, px
        right: 24                                  # distance from right edge, px
        bottom: 100                                # distance from bottom edge, px
        offsetX: 0                                 # extra horizontal shift, px
        offsetY: 0                                 # extra vertical shift, px
KeyMeaning / 含义Default / 默认
modelPath to the .model3.json under assets/live2d/haru/haru_greeter_t03.model3.json
sizeCanvas size in px (the model is scaled to fit by height)320
rightDistance from the right edge when not anchored24
bottomDistance from the bottom edge when not anchored20
offsetX / offsetYExtra shift applied on top of the anchor position (for fine-tuning)0

The pet anchors to the chat composer ([data-composer-seat]) every frame and follows internal chat scrolling; right/bottom are only used as fallbacks. offsetX/offsetY are the knobs for final fine-tuning.

宠物每帧锚定到聊天输入框([data-composer-seat])并跟随内部滚动;right/bottom 只是兜底位置。微调用 offsetX/offsetY