gameswu/dsh-plugin-background
DeepSeek Harness Web 界面的背景插件:为对话区、轨迹区、侧边栏、设置页等界面区域设置独立背景,支持图片轮播与静音视频。灵感来自 VSCode 的 background 扩展。
catalog descriptioncatalog 简介 / catalog description:dsh壁纸插件
Project Overview项目介绍
This is a native UI plugin built exclusively for the DeepSeek Harness web interface. Its core function is to let users set custom independent backgrounds for multiple interface areas including the conversation panel, track area, sidebar, and settings page. It supports two types of background media: image carousels and muted looping videos, and draws design inspiration from the popular VSCode Background extension. It is compatible with DeepSeek Harness 0.1.5-rc.1 and newer versions, and works alongside the companion dsh-plugin-vscode-sidebar plugin. Users can add the same set of media to multiple selected areas at once to speed up configuration.
To configure backgrounds, users open the plugin settings panel from the DeepSeek Harness settings menu, select the areas they want to customize, then add media by pasting URLs, selecting local files, or loading an entire local folder. Local files are preserved after page refreshes, so users do not need to re-add them after restarting the interface. Each image can be adjusted individually for display mode, opacity, and blur, and carousels support custom intervals, ordered or random playback, and preloaded crossfade transitions. You can also drag one area onto another to merge them into a single large cross-region background, and drag apart to split.
The plugin can be installed directly via the DSH CLI from a local directory or the GitHub repository, and users just need to restart the DSH web interface after installation for changes to take effect. If you install from GitHub with pnpm 10 or newer, you will need to add an entry to your pnpm-workspace.yaml to allow the build script to run. The project uses esbuild as its build dependency, while TypeScript and React 18 type dependencies are only used for development time type checking. It is released under the open source MIT license, so anyone can use or modify it freely per the license terms.
这是专为 DeepSeek Harness 网页界面开发的原生背景自定义插件,可为对话区、轨迹区、侧边栏、设置页等多个界面区域分别配置独立背景,支持图片轮播播放和静音视频循环播放两种背景形式,设计灵感来源于 VSCode 广受欢迎的同名背景扩展,兼容 DSH 0.1.5-rc.1 及以上版本,也适配同作者开发的侧边栏插件。
支持直接粘贴逗号分隔的媒体URL,也可选择本地图片、视频或者整个文件夹批量添加,添加完成后本地文件在刷新页面后仍会保留。用户可独立配置每张图片的显示模式、不透明度和模糊效果,支持自定义轮播间隔、调整播放顺序,切换时会预加载并做淡入过渡,拖拽区域即可合并为跨区域大图,拖出即可拆分。
可通过 DSH CLI 直接从 GitHub 或本地路径安装,安装后重启 DSH 网页界面即可生效。项目依赖 esbuild 进行打包,TypeScript 和 React 相关依赖仅用于开发阶段的类型检查,使用 MIT 许可证开源。安装时若使用 pnpm ≥10,需要手动授权允许构建脚本执行。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-background(gameswu/dsh-plugin-background)
仓库:https://github.com/gameswu/dsh-plugin-background
本站详情页:https://www.yhbd.top/plugins/gameswu-dsh-plugin-background/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 10 · 最近提交 2026-09-10 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- 10 stars - an early-stage project星标 10,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:gameswu/dsh-plugin-background
把 gameswu/dsh-plugin-background 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-background
DeepSeek Harness Web 界面的背景插件:为对话区、轨迹区、侧边栏、设置页等界面区域设置独立背景,支持图片轮播与静音视频。灵感来自 VSCode 的 background 扩展。
兼容性:v0.5.0 起要求 DSH ≥ 0.1.5-rc.1(客户端继续使用平台基线模块
@deepseek-ai/dsh-client-store与@deepseek-ai/dsh-client-ui-primitives;0.1.5-rc.1 的平台基线新增@deepseek-ai/dsh-client-ui-dockkit,本插件不导入它)。背景区域仍为对话区、轨迹区、左侧栏与设置面板;0.1.5-rc.1 新增的官方右侧栏没有对应的背景层需求,本兼容版本不为其增加新区域(存在 dsh-plugin-vscode-sidebar 时,其右侧面板与标签页区域照旧可用)。
它能做什么
- 每个区域一套独立背景:图片组像 PPT 一样轮播切换,视频组静音循环播放(每组只含一种媒体)
- 支持粘贴 URL(逗号分隔多张)、选择本地图片/视频、或整个文件夹;本地文件刷新后保留
- 每张图独立设置:显示模式(填充/适应/拉伸/平铺/居中/自定义)、不透明度、模糊
- 轮播间隔、顺序/随机、下一张;切换前预加载并交叉淡入,不会闪空
- 勾选多个区域后添加,同一批图可一次落到多个区域
- 拖拽两个区域可合并为一张跨区域大图(多显示器壁纸效果),拖出即拆分
- 兼容 dsh-plugin-vscode-sidebar:其右侧面板、下侧面板整体以及其中每个标签页都可作为独立背景区域
安装
本插件是一个自带补丁层的组合包(dsh.bundle + cordis.patch.yml)。用 dsh plugin 安装即可——它把参数转发给 profile 的 pnpm,并自动把包挂载进 dsh.profile.bundles,无需手动编辑任何配置文件:
# 从本地路径安装(<路径>/background 为本仓库目录)
dsh plugin --profile web add <路径>/background
# 或从 GitHub 安装(建议锁定 commit)
dsh plugin --profile web add github:gameswu/dsh-plugin-background#<sha>
从 GitHub 安装时,pnpm 会在安装后运行本包的 prepare 脚本构建 lib/client.js;pnpm ≥10 默认拒绝执行,首次 add 会失败并提示把包键加入该 profile 的 pnpm-workspace.yaml 后重试:
allowBuilds:
dsh-plugin-background: true
授权构建意味着安装时会在你的机器上执行本包的构建脚本——请只对可信来源授权。
安装完成后重启 Web 界面(dsh web)即可生效。
使用
打开 设置 → 插件 → 背景:
- 在表面列表中点击要配置的区域(勾选多行可一次添加到多个区域)
- 粘贴图片/视频链接,或选择本地文件
- 点击缩略图进入编辑器调整显示模式与参数
- 把一个区域行拖到另一个区域行上,即可合并为跨区域大图
更新与开发
pnpm install # 安装依赖(esbuild 为构建依赖;typescript、React 18/@types、0.1.5-rc.1 client 类型仅开发/typecheck 用)
pnpm build # 打包 → lib/client.js
pnpm typecheck # 类型检查
本地路径安装(pnpm link)会直接使用本仓库的构建产物:重新构建后硬刷新浏览器(Ctrl+Shift+R)即可,无需重启服务。
swordordead/dsh-Veneer
Small-tailqwq/dsh-deep-whale
d-dev0101/open-sea-skin
kingOfSoySauce/dsh-liang-skin
RevolutionLA/dsh-dream-skin
Fishquito7/dsh-skill-mcp-panel
01Virex/dsh-status-rotator