Bundle
beauticode-dsh
Cordis plugin: image/video backgrounds for DeepSeek Harness web.
- License
- MIT
- Updated
- Updated 7 days ago
Readme
# DeepSeek Harness 桥接插件 该 Cordis 插件向 DSH Web 注入 beautiCode 浏览器客户端,并提供本机鉴权接口。支持图片、MP4、播放位置、静音、摸鱼模式以及清除背景。 装好插件并运行 `dsh web` 后,侧栏「设置」上方会出现「背景」:在 Windows 上点击图片或视频会打开系统文件选择器,选好后在页面内命名,背景立即应用并进入已保存主题;也可以清除、开关声音、切换或删除主题,以及打开「皮肤中心」安装已审核的社区皮肤。本地导入只在 Node 端保存绝对路径,并通过带 Range 支持的回环媒体服务读取原文件,不复制用户选择的图片或整段视频主文件。Windows 强制使用本地引用;原生选择器不可用时会明确报错,不会静默上传或复制媒体。非 Windows 环境保留兼容上传,并明确提示该模式会保存托管副本。网页控制台没有摸鱼;浅色/深色跟 DSH 自己的外观走。下次打开会恢复上次背景。设置 `BEAUTICODE_SKIN_CENTER` 或填写 `skin-center.json` 后,皮肤中心才会显示远程目录。 插件也会注册对话工具(`beauticode_*`)和斜杠命令(`/bg`、`/bg-theme`、`/bg-clear`)。不需要托盘;托盘若已在跑则复用它。 beautiCode **不启动** DeepSeek Harness。请先自己运行 `dsh web`。 不需要 fork 仓库。一行安装: ```sh npx beauticode-dsh npx @deepseek-ai/dsh web ``` 已有 pnpm 时也可以: ```sh npx @deepseek-ai/dsh plugin --profile web add beauticode-dsh npx @deepseek-ai/dsh web ``` 在仓库根目录一键写入插件(不需要 pnpm): ```powershell powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\install-dsh-plugin.ps1 npx @deepseek-ai/dsh web ``` 也可以手动(`dsh plugin add` 需要 pnpm): ```sh dsh plugin --profile web add file:%CD%/integrations/deepseek-harness # 或 npx @deepseek-ai/dsh plugin --profile web add file:%CD%/integrations/deepseek-harness npx @deepseek-ai/dsh web ``` 手动接入时: 1. 修改 `cordis.patch.yml` 中的插件接入项;优先使用上面的安装命令自动完成接线。 2. 确保 DSH 和 beautiCode 使用相同的 `BEAUTICODE_DATA_ROOT`。 3. 自己运行 `dsh web`(或带 `--patch`)。 4. 打开页面后用侧栏「背景」,或输入 `/bg <本机绝对路径>`,或直接跟 AI 说把某个视频/图片设为背景。 安全边界:DSH Web 必须绑定本机回环地址;控制端点需要随机令牌;媒体 URL 仅允许带令牌的回环 HTTP 地址;浏览器回执只接受同源请求。
Install
dsh plugin --profile web add beauticode-dsh@1.0.23
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install beauticode-dsh from the hub