yu502950715yang/dsh-use-wallpaper0

@dsh-use/wallpaper-engine

为 DSH(DeepSeek Harness)Web GUI 提供 Wallpaper Engine 壁纸背景:Scene 壁纸由 Three.js / WebGPU(wasm)在浏览器实时渲染,视频壁纸直接播放、Web 壁纸加载,其余回退 preview 图 + Ken Burns。

包名
@dsh-use/wallpaper-engine
版本
0.1.0
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yu502950715yang/dsh-use-wallpaper

⚙️ 配置

设置 → 壁纸 面板(侧边栏「壁纸」菜单):

  • 壁纸目录 wallpaperDir:Steam workshop 壁纸目录(自动探测候选,或手动填写)。未配置时回退默认 D:/Steam/steamapps/workshop/content/431960
  • 引擎目录 weAssetsDir:Wallpaper Engine 安装目录(供 /wallpapers/particle-texture 读取内置粒子纹理)。
  • 透明度 overlayOpacity、模糊 blurEnabled / blurRadius、Ken Burns 开关。

也可在 profile 的 cordis.patch.yml 中覆盖(优先级:用户设置 > config > 缺省)。


🖱 使用

  1. 重启 dsh web,打开 http://127.0.0.1:3080
  2. 右下角出现「WP」浮动按钮,点击展开壁纸选择面板(缩略图网格)。
  3. 选择壁纸:scene 壁纸实时渲染、视频循环播放、图片 Ken Burns。
  4. 验证:http://127.0.0.1:3080/wallpapers/list 返回 JSON 壁纸数组;DevTools Console 存在 window.__wallpaperEngine