cjz-wr/background-plugin 预览 preview

cjz-wr/background-plugin

DeepSeek Harness plugin: Background plugin. Supports local or online images/videos, and allows adjusting the opacity.

catalog 简介 / catalog descriptioncatalog description:修改DSH的背景,支持静态动态背景,支持网页图片视频,支持修改透明度

项目介绍Project Overview

dsh-background 是 DeepSeek Harness 的背景插件,支持本地或在线图片、视频作为背景,并可调节不透明度,通过设置界面配置。适合想自定义 Web 界面背景的场景。注意:若现有构建已包含 id 为 ui-background 的加载行,安装会因重复条目启动失败,需装入不含该行的配置。

dsh-background is a DeepSeek Harness plugin that sets local or online images and videos as the background, with adjustable opacity via a settings UI. Use it to customize the web interface backdrop. Caveat: if a build already composes a loader row with id ui-background, installing this bundle causes a duplicate-entry boot error; install it into a profile without that row.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:cjz-wr/background-plugin

cjz-wr/background-plugin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-background

English | 中文

DeepSeek Harness plugin: Background plugin. Supports local or online images/videos, and allows adjusting the opacity.

Global Demo

Settings UI Settings

Install

From the Web 插件 (Plugins) settings surface, search this repository and click install, or from the CLI:

dsh plugin --profile <name> add github:cjz-wr/background-plugin

Replace <name> with your own profile, usually web, for example:

dsh plugin --profile web add github:cjz-wr/background-plugin

A newly installed bundle layer composes on the next process boot.

Build output is committed on purpose. Git installs pull the repository as it is — nothing runs your build script. lib/ is therefore committed so git/npm/tarball installs all work with zero build authorization; there is no prepare script. Rebuild locally with npm run build and commit the new lib/ whenever src/ changes.

⚠️ Conflict only with builds that already compose this row. The official DeepSeek Harness does NOT ship it — this bundle is a standalone add-on and installs cleanly into any profile. The one exception: this package was extracted from a repo whose packages/bundle/web-app/cordis.patch.yml already composes a row with the id ui-background. Mounting this bundle on top of such a build fails at boot with duplicate loader entry id: ui-background; install it into a profile that does not include that built-in row instead.

Contents

  • src/ — TypeScript sources (Host gateway + client settings face).
  • cordis.patch.yml — the dsh.bundle patch layer (one loader row).
  • lib/ — build output, committed (see note above).
  • node_modules/ — local SDK junction links, git-ignored (not needed by users).

Build

npm run build

Requires the harness toolchain (typescript + tsdown) resolvable at build time; the extracted folder links the SDK packages it peers on.

上一个 Prev dsh-figma-to-lottie 下一个 Next dsh-data-insight