DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-live2d

h

dsh-live2d

Manifest valid

DSH web plugin: show a Live2D character at the bottom corner of the DeepSeek Harness web page, with a load progress bar and a settings section that controls the whole widget behavior (model URL, size, position, scale, opacity, drag, volume, …) through the official settings channel (powered by l2d). / DSH Web plugin: display a Live2D character at the bottom-right corner of the DeepSeek Harness web page (load progress bar + settings panel to configure all widget behaviors, using the official settings channel, based on the l2d library)

UI (client)hasBundlePatchMachine translated

dsh-live2d

npm version license MIT

让 DeepSeek Harness 的 Web 界面右下角多一只 Live2D 看板娘——带加载进度条的模型、可以随手拖到任意位置,尺寸、位置、透明度、音量……全部行为都在 Web 可视化设置界面进行调整。

dsh-live2d 在 DSH 页面右下角展示 Live2D 角色

特性

  • 右下角 Live2D 角色:默认内置模型(Cubism 6),支持任意 .model.json(Cubism 2)与 .model3.json(Cubism 6)
  • 加载进度条:模型资源下载时显示进度,加载完成自动隐藏
  • 可拖拽:拖到屏幕任意位置;不想要拖拽也能关
  • 全量配置 Web 化:模型地址、尺寸、位置、锚定边、缩放、透明度、层级、音量、日志级别、总开关——13 个字段全部在「设置 → Live2D」里完成,保存即生效,无需重启、无需改文件
  • 跟随主题:面板配色与 DSH 界面(浅色/深色)自动一致
  • 零依赖安装:l2d 运行时已打进插件包,用户装完即用
  • 配置安全:多开页面/外部修改冲突时自动刷新为最新值,不会静默互相覆盖

安装

dsh plugin --profile web add dsh-live2d
dsh web

想先本地体验?git clone 后在包目录 pnpm install && pnpm run build,再 dsh plugin --profile web add /path/to/dsh-live2d,最后 dsh web。

使用

打开 DSH Web → 左下角侧边栏 → 设置 → Live2D。

Live2D 设置分区

分组支持配置
开关总开关 enabled(关闭后不显示角色)
模型模型地址 modelUrl
外观宽度、高度、透明度、层级
位置锚定边(右下/左下)、水平/底部间距
渲染模型缩放、动作音量、日志级别
交互可拖拽

几点说明:

  • 保存即生效:改完点「保存」,尺寸/位置类改动原地应用,模型地址等改动会自动重载模型,无需重启。
  • 恢复默认:一键清除你的自定义,回到部署默认值。
  • 实时同步:其他标签页或外部对配置文件的修改,会自动热更到所有已打开页面。

卸载

dsh plugin --profile web remove dsh-live2d

配置(进阶)

插件采用 DSH 官方 settings 通道,「三层解析,后层优先」:

  1. schema 默认(内置)
  2. base 层:部署者的组合配置(cordis.patch.yml 的 live2d 行)
  3. user 层:~/.dsh/settings.yaml 的 dsh-live2d 段——由设置面板写入,优先级最高
# ~/.dsh/settings.yaml(正常不需要手改,设置面板会代管)
dsh-live2d:
  modelUrl: "https://example.com/model.model3.json"
  width: 320

开发

pnpm install
pnpm run typecheck   # tsc --noEmit
pnpm run build       # tsdown → lib/index.mjs(Node 半)+ lib/client.js(浏览器半,l2d 内联)

浏览器端到端验证(需先安装进 web profile 并 dsh web --port 3090 运行,本机装有 Chrome;headless 软件渲染下请先换成 Cubism 2 模型如 shizuku 再验证画面):

"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --headless=new \
  --no-sandbox --disable-gpu --enable-unsafe-swiftshader --use-angle=swiftshader-webgl \
  --disable-dev-shm-usage --no-first-run --user-data-dir=/tmp/dsh-chrome \
  --remote-debugging-port=9224 about:blank &

DEBUG_PORT=9224 node scripts/e2e-verify-v2.mjs

scripts/e2e-verify-v2.mjs 覆盖:默认挂载定位、加载进度条、改模型地址 → 挂件重载、改尺寸/锚定/总开关 → 原地生效,结束后自动恢复默认配置。

架构速览

  • Node half(src/index.ts):Cordis entry,用 installSettingsSection(@deepseek-ai/dsh-settings)注册 dsh-live2d settings namespace,组合配置作 base 层;schema 同时承担持久层校验。
  • Browser half(src/client/):__ModuleLoader__ CJS bundle。挂件订阅 ctx.settingsScope 快照——布局字段原地更新 DOM(不重载模型),渲染字段重建 l2d;设置面板向官方 settings.section 注入全字段表单(逐字段 set,恢复默认 unset)。

免责声明

本插件不包含、不分发任何 Live2D 模型资源。默认模型 URL 指向模型 CDN,请确认你有权使用所配置的模型(商用需遵循模型许可与 Live2D Proprietary Software License)。

License

MIT

Comments

Loading…

Similar plugins

dsh-live2d-pet

by ankesu

Live2D companion for DeepSeek Harness: render a Cubism model in the Web UI with state-driven expressions and mouse tracking. · DSH 桌宠的 Live2D 渲染插件

UI & ExperienceManifest valid

★ 3

↓ 184/wk

NOASSERTION

JavaScript

Sep 3, 2026

dsh plugin --profile web add dsh-live2d-pet

by cyanfish-x

Live2D 桌宠插件 for DeepSeek Harness:Agent 状态镜像 + 互动陪伴,内置宽松许可预设模型 / Live2D pet plugin: agent state mirror + interactive companion with curated permissive-license presets

Tools & CapabilitiesJust for FunManifest valid

★ 27

↓ 483/wk

TypeScript

Sep 24, 2026

dsh plugin --profile web add dsh-live2d-pets

by LX2000WASD

在 Web UI 中一键管理 DeepSeek Harness (DSH) 插件:查看、实时启停、安装/卸载、更新检测、健康检查(依赖/冲突/兼容性分析)、环境管理、插件市场。bundle 与非 bundle 插件全覆盖

Terminal & ClientsDevelopment & InfrastructureUI & ExperienceManifest valid

★ 69

MIT

TypeScript

Sep 20, 2026

dsh plugin --profile web add dsh-web-plugin-manager

by w2831120407

DeepSeek Harness (dsh) Web control plugin: restart/shutdown the dsh web process from the Settings panel, plus a treat (小鱼干) top-up for the whale-girl pet. / dsh 系统控制插件:设置页一键重启/关闭 dsh web,并为鲸鱼娘宠物补给小鱼干。

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-ctl

by Andersen216

鲸鱼娘桌宠:DSH Web 界面里的 Live2D 桌宠(模型素材非商业,CC BY-NC-SA 4.0)

Development & InfrastructureJust for FunTools & CapabilitiesManifest valid

★ 11

NOASSERTION

JavaScript

Sep 27, 2026

dsh plugin --profile web add dsh-whale-girl-live2d

by sky-unicorn

DeepSeek Harness(DSH)一站式增强套件,基于公开插件扩展点构建,无需修改 DSH Core。提供 Windows Launcher、桌面通知与动态桌宠、Plugin Community、MCP Server Manager、模型输入类型配置、最后一条消息编辑与重新生成,以及 Claude Code / Codex Subagents 实时控制。所有功能均可独立安装,支持全量部署、

Sessions & MessagesManifest valid

★ 4

MIT

TypeScript

Sep 28, 2026

dsh plugin --profile web add dsh-enhanced-plugins