DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
V

dsh-video-bg

Video Bg

将本地视频作为 DeepSeek Harness Web/Desktop 聊天背景播放,并提供播放/暂停、不透明度和遮罩控制。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:zhang-guangjie/dsh-video-bg#c466b7c879f206413315ae61610faa277a89d20e
README兼容性版本
Background video with the floating control panel openCollapsed control; more of the video is visible

兼容性与来源证明

Video Bg 以 dsh-video-bg 发布,当前版本为 0.4.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/19

版本

0.4.0stable
2026/10/19

相关插件

正在加载相关插件…

最新版
0.4.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 1
周下载
0
最近提交
2026/10/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-video-bg

English | 中文

Loop a local video as the background of the DeepSeek Harness chat UI — on the plain Web surface (dsh web) and inside DSH Desktop, which renders the same web app. The panels become translucent so the video shows through, while chat bubbles and the composer stay readable.

Background video with the floating control panel open

Features

  • Background video: a fixed, full-viewport <video> painted at z-index: -1 and streamed from the host over HTTP, so a multi-hundred-MB file plays without ever being uploaded. HTTP Range (206/416) support lets the browser seek and read ahead.
  • Translucent UI: the shell's design tokens (--dsw-alias-bg-base, --dsw-specific-sidebar-fill, --dsw-specific-input-major, …) are remapped to semi-transparent colors for both light and dark themes, so every surface that uses a token becomes translucent automatically. Chat bubbles and the composer keep near-opaque fills.
  • Floating control (top-right): play/pause, video opacity, dark scrim for contrast, fit (cover/contain), and collapse. Choices persist in localStorage (dsh.videoBg.v3); the video pauses when the window is hidden.
  • Clear failures: a missing or unreadable file shows a warning badge and a console diagnostic instead of silently doing nothing.
  • Local only: video bytes never leave the machine. The plugin registers two loopback HTTP routes on the existing DSH web server; no external service, no telemetry.

Collapsed control; more of the video is visible

Requirements

  • DeepSeek Harness 0.2.x (engines.dsh in package.json), Web or Desktop. The bundle is validated against the installed runtime before it loads.
  • Node 20+ (the host half only uses node:fs, node:path, node:url).
  • A video file readable by the host process (not the browser). MP4/WebM/MOV/ MKV/AVI/OGG/TS are recognized; anything else is served as video/mp4.

Install

The package is a normal DSH bundle, so any of these work:

# From GitHub (plain JavaScript — no build step, no build-script approval)
dsh plugin --profile desktop add github:zhang-guangjie/dsh-video-bg
dsh plugin --profile web add github:zhang-guangjie/dsh-video-bg

# From a local checkout (useful while developing)
dsh plugin --profile desktop add link:/absolute/path/to/dsh-video-bg

# From npm, once published
dsh plugin --profile desktop add dsh-video-bg

You can also install it from the GUI's plugin manager (Plugins → install / browse). Installing a bundle selects it in dsh.profile.bundles automatically — do not add the row by hand.

Desktop note: with the shipped profile, a newly installed bundle is applied live (the running composition recomposes and the page receives the new client entry). If your profile is startup-only, fully quit and restart DSH Desktop once.

Configure the video

Resolution order for the file:

  1. plugin row config videoPath;
  2. environment variable DSH_VIDEO_BG_PATH;
  3. the bundled media/background.mp4 (a small default clip).

Set videoPath in your profile's own patch layer ($DSH_HOME/profiles/<profile>/cordis.patch.yml):

- id: ui-video-bg
  config:
    videoPath: 'D:\my-video.mp4'   # any local path; ~ is expanded
    fit: cover                     # cover | contain
    opacity: 55                    # initial video opacity, 0-100
    veil: 25                       # initial scrim, 0-100
  • videoPath and fit are read by the host; opacity/veil are only defaults for a browser that has no saved slider values yet (the control's own values win afterwards).
  • The row id is ui-video-bg; changing the config hot-reloads the plugin when HMR is enabled.
  • Environment alternative: set DSH_VIDEO_BG_PATH before starting DSH.

Using it

The floating control at the top-right has:

ControlEffect
▶ / ⏸Pause / resume the background video
不透明度 / OpacityVideo opacity (0–100%), persisted
遮罩 / ScrimDark veil between video and UI (0–100%), persisted
填充 / Fitcover (fill the window) or contain (show the whole frame)
▴ / ▾Collapse / expand the settings panel

The badge next to the toggle reports buffering and file errors. A missing file is also reported by GET /video-bg/status and logged by the host.

How it works

  • Host half (lib/index.js, exported from the package root) declares inject = ['webServer'] and registers a prefix route:
    • GET/HEAD /video-bg/media — streams the configured file with single-range support and a revision-based cache key (?v=<size>-<mtime>), so a changed file is fetched again instead of served from a stale media cache.
    • GET /video-bg/status — JSON with ok, rev, size, mime, the effective path/source and the configured defaults.
  • Client half (lib/client.js, exported as ./client) is a lazy window.__ModuleLoader__.load({ id, factory }) bundle. apply(ctx) mounts everything inside ctx.effect(...), so disabling the plugin or hot-replacing it removes the attribute, styles, video, scrim and control.
  • Both surfaces: the browser requests the routes same-origin; DSH Desktop serves the document from dsh-app://app/ and forwards every other path to the same authenticated loopback host, so both work unchanged. All URLs in the client are document-relative (video-bg/media), never absolute.

Privacy and security

  • The video is read by the host process and served only on the loopback web server that DSH already runs for the GUI. Nothing is uploaded, and the plugin makes no outbound requests.
  • No credentials, cookies, or environment values are read or exposed. The status endpoint reveals the local path of the configured video, which the GUI already shows in the control tooltip.
  • videoPath is configuration, not user input: treat the profile patch as trusted configuration, like any other DSH row config.

Compatibility and market metadata

  • dsh.bundle.patch → cordis.patch.yml inserts the ui-video-bg row.
  • dsh.client.platform: "web" + exports["./client"] → served by the client module system.
  • engines.dsh and peerDependencies gate the bundle to the matching DSH runtime; the host half imports no @deepseek-ai/* package, it only consumes the injected webServer service.
  • Display metadata lives in locale/en.json / locale/zh.json, the icon in assets/icon.svg, and the storefront screenshots in screenshots.json.
  • No build step is required, so GitHub installs need no allowBuilds approval.

Troubleshooting

SymptomCheck
Warning badge, no videoGET /video-bg/status — error: "missing"/"unreadable" names the cause; fix videoPath
Video plays but is barely visibleraise opacity, lower the scrim, or pick contain/a brighter clip
Another skin/plugin covers the videoskins that hardcode opaque surfaces can out-paint the token remap; disable the skin or the other plugin
Just installed, nothing appearsthe profile may be startup-only — fully restart DSH; on Web reload the page
Large file takes a moment to startthe browser fetches the first ranges from disk; the rest streams with range requests

Development

# syntax check (plain JavaScript, no build)
node --check lib/index.js
node --check lib/client.js

# install into a test profile and boot the Web surface on a spare port
dsh plugin --profile mytest add link:/absolute/path/to/dsh-video-bg
dsh --profile mytest --no-open --port 0

The host and client contracts are documented in the official DSH references for client modules and the web server; this package intentionally has no runtime dependencies.

License

MIT