dsh-web
zhu1090093659
DeepSeek Harness (DSH) Web 插件聚合生态 · 万物皆插件,通过创意工坊分发||DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:du-u-uck/DSH-Transparent-UI-Plugin
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Aqua is a highly customizable glassmorphism theme for the DeepSeek Harness web UI. The header, sidebar, composer, stats line, and trajectory view all become panes of frosted glass. you can put video for wallpaper and Switch it off and the stock UI comes back exactly, with no source changes to DSH itself.




dsh plugin --profile web add dsh-client-ui-aqua
Installs the latest version from npm and registers it as a profile plugin layer (dsh.bundle patch) — works on every platform. Reload the web UI and it is on.
No npm account and no git needed (falls back to a plain zip download).
Windows (one command):
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest 'https://github.com/WYH66666666/DSH-Transparent-UI-Plugin/raw/main/install.ps1' -OutFile install.ps1; .\install.ps1"
Installs the latest release by default. The script links the plugin into the profile's node_modules and registers ui-aqua in cordis.patch.yml (idempotent — safe to run again).
Pin a version or track the dev branch:
.\install.ps1 -Version 'v1.1.0' # a specific release
.\install.ps1 -Version 'main' # the development branch
macOS / Linux (manual, three steps):
git clone --depth 1 --branch v1.1.0 https://github.com/WYH66666666/DSH-Transparent-UI-Plugin.git
ln -s "$PWD/DSH" "$DSH_HOME/profiles/node_modules/@deepseek-ai/dsh-client-ui-aqua"
then append to $DSH_HOME/profiles/web/cordis.patch.yml:
- insert:
- id: ui-aqua
name: '@deepseek-ai/dsh-client-ui-aqua'
Reload the web UI. Aqua is on by default; the master switch lives in Settings → Plugins → Glass theme (same shape as the other plugin cards), and every other control sits directly under Settings → General → Appearance (no title of its own): mode, blur/frost (Mica mode), fluid color, background brightness, backdrop (fluid/wallpaper) with its wallpaper controls, and the particle-whale toggle. With the master switch off, the whole control block under Appearance is hidden.
English | 中文
Aqua 是一层高自由度的玻璃质感主题,套在 DeepSeek Harness 网页端。顶栏、侧边栏、输入框、统计行、轨迹视图都成了磨砂玻璃片,你还可以添加视频和图片作为背景。关掉开关就回到原生界面,不改 DSH 任何一行源码。




dsh plugin --profile web add dsh-client-ui-aqua
从 npm 安装最新版,自动注册为 profile 插件层(dsh.bundle 补丁),所有平台通用。刷新 Web 界面即可。
不需要 npm、不需要 git(自动退回 zip 下载)。
Windows(一条命令):
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest 'https://github.com/WYH66666666/DSH-Transparent-UI-Plugin/raw/main/install.ps1' -OutFile install.ps1; .\install.ps1"
默认安装最新发布版。脚本会把插件链接进 profile 的 node_modules,并在 cordis.patch.yml 里登记 ui-aqua(幂等,重复跑不会重复登记)。
指定版本或跟随开发分支:
.\install.ps1 -Version 'v1.1.0' # 指定某个发布版
.\install.ps1 -Version 'main' # 开发分支
macOS / Linux(手动,三步):
git clone --depth 1 --branch v1.1.0 https://github.com/WYH66666666/DSH-Transparent-UI-Plugin.git
ln -s "$PWD/DSH" "$DSH_HOME/profiles/node_modules/@deepseek-ai/dsh-client-ui-aqua"
然后往 $DSH_HOME/profiles/web/cordis.patch.yml 追加:
- insert:
- id: ui-aqua
name: '@deepseek-ai/dsh-client-ui-aqua'
刷新 Web 界面。Aqua 默认开启;总开关在 设置 → 插件 → 玻璃主题(形状与其他插件卡片一致),其余全部调节在 设置 → 通用设置 → 外观 的正下方(无独立标题):模式、模糊度/磨砂度(云母模式)、流体颜色、背景亮度、背景(流体/壁纸)、壁纸设置,以及粒子鲸鱼开关。总开关关闭时,外观下方的整块调节自动隐藏。
本分发包已针对 DeepSeek Harness 0.1.1-rc.2 完成 API 适配,可直接安装使用。
0.1.1-rc.2 对客户端插件 API 做了破坏性变更(Theme / Store / Invariant / Locale 不变):
settings.plugin.item 槽位由 list 改为 keyed:插件主卡片必须用 key: 'settings.aqua' 注册,不再用 id / order。ctx.settingsScope.bind({ namespace: 'settings.aqua' }),否则 Aqua 主卡片不会出现在「插件」页。ctx.slots.inject 已移除:改用 ctx.effect(() => ctx.slots.register({...}, Comp), label) 注册卡片与外观行。settings.general.item 仍是 list:id / order 不变(外观调节行照旧)。lib/(保留 window.__ModuleLoader__.load(...) 包裹格式与 CSS 内联注入),再对 lib/client.js 做最小 API 修补:"settingsScope";new AquaLayer(ctx) 之后调用 ctx.settingsScope.bind({ namespace: 'settings.aqua' });ctx.slots.inject(...) 替换为 ctx.effect(() => ctx.slots.register(...));settings.plugin.item 用 key: 'settings.aqua'(去掉 id / order);settings.general.item 维持 id: 'aqua', order: 11。src/client/index.ts 同步上述改动,供未来在 monorepo 内用原厂预设重建。tsconfig.standalone.json + tsdown.standalone.config.ts,可在 monorepo 之外做类型校验;package.json 加入 @tsdown/css 与 overrides(钉死 tinyexec / @rolldown/pluginutils 版本)以保证可复现。为什么不直接用
tsdown重新构建client.js?主机要求的 bundle 形态(CSS 内联注入)由 DSH 未对外发布的 client 构建预设产生;公开可用的@tsdown/css只会把 CSS 抽成独立的style.css+import,主机无法识别。因此采用「还原 v1 预构建 + 最小 API 修补」的可靠路径。
通过一份基于 mock 运行时的冒烟测试(vm 沙箱加载 lib/client.js,mock 一整套 DSH Web 运行时 + 浏览器 DOM,激活插件后断言新 API 表面)验证:
window.__ModuleLoader__.load 包裹与内联 CSS 注入完整;ctx.settingsScope.bind 被调用且仅调用一次,namespace === 'settings.aqua';settings.plugin.item 以 key: 'settings.aqua' 注册且无 id(list→keyed 迁移);settings.general.item 仍为 id: 'aqua', order: 11。全部断言通过。该验证脚本位于完整开发仓库的 scripts/ 下,未纳入本精简分发包(不影响运行)。
由于原作者已在 README 中声明难以跟进 DSH API 更新,npm 发布版仍未适配 0.1.1-rc.2 的旧版;因此推荐直接安装本文件夹(已适配的副本),而不是 dsh plugin add 拉取 npm 版。
Windows(PowerShell,下载本仓库zip包后在本文件夹或任意目录执行;把路径改成你实际放置本文件夹的位置):
powershell -ExecutionPolicy Bypass -Command ".\install.ps1 -Source '绝对路径\DSH-Transparent-UI-Plugin' -Profile web"
DSH 不在默认 %USERPROFILE%\.dsh 时,追加 -DshHome '你的DSH路径'。脚本会:① 取源码(本地路径直接链接,不走下载);② 在 profiles\node_modules\@deepseek-ai\dsh-client-ui-aqua 建立 junction 软链(实时生效,之后在本文件夹里微调会直接反映到 DSH,无需重装);③ 在 profiles\web\cordis.patch.yml 登记 ui-aqua(幂等,重复运行安全)。完成后刷新 Web 界面即可。
macOS / Linux(手动三步):
ln -s "/绝对路径/DSH-Transparent-UI-Plugin" "$DSH_HOME/profiles/node_modules/@deepseek-ai/dsh-client-ui-aqua"
再往 $DSH_HOME/profiles/web/cordis.patch.yml 追加:
- insert:
- id: ui-aqua
name: '@deepseek-ai/dsh-client-ui-aqua'
dsh plugin --profile web add dsh-client-ui-aqua(可能拉到未适配新版 API 的旧版,谨慎使用)。powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest 'https://github.com/WYH66666666/DSH-Transparent-UI-Plugin/raw/main/install.ps1' -OutFile install.ps1; .\install.ps1"(默认装最新发布版,可 -Version 指定版本或 main 分支)。刷新 Web 界面。Aqua 默认开启:
若刷新后「插件」页未出现 Aqua 卡片,重启 dsh web 进程后再试。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: theme、ui。