Skip to content

dsh-background-customizer

Verified

dsh-background-customizer · v1.0.0 · MIT · Web UI

Background customizer: image backgrounds, glassmorphism with shadows, persisted browser settings.

Install

dsh plugin add dsh-background-customizer

Confirm the layer applied with dsh --profile default --dump-config — see the install guide.

Source

Published to npm without a public repository. Inspect the package contents before installing.

Tags

Creators

Readme

dsh-background-customizer

给 DeepSeek Harness Web 界面换背景的插件包:纯色 / 图片背景、毛玻璃(含阴影)、 自适应明暗亮度,配置存在浏览器 localStorage 里。

安装

本包是一个 dsh bundle,通过 profile 的依赖 + bundles 列表启用:

// ~/.dsh/profiles/web/package.json
{
  "dependencies": {
    "dsh-background-customizer": "link:../../plugins/dsh-background-customizer"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-background-customizer"
      ]
    }
  }
}

包内的 cordis.patch.yml 由 dsh 自动合成,不要在 profile 的 cordis.patch.yml 里再写一遍同名 insert。

结构

文件 作用
host.mjs 宿主侧入口(空实现,插件只有客户端部分)
client.js 浏览器侧模块,window.__ModuleLoader__ 注册 dsh-background-customizer
cordis.patch.yml 本包向 profile 注入的 Loader 行

客户端依赖的 cordis 服务:slots、theme、timer;模块级依赖只有 react (由 Web 外壳的静态模块表提供)。