Translucent window background for DSH Desktop — a slider sets the page tint opacity (0-62%) and a switch picks the acrylic (blurred) or transparent (no blur) window material; the material switch rewrites the desktop shell's app.asar and needs one restart.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Lemon357/dsh-transparent
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
dsh-transparent — 透明背景
给 DeepSeek Harness 桌面版加上可调透明度的亚克力毛玻璃窗口背景,让桌面壁纸透出来。
本 bundle 自带桌面壳补丁:安装后自动打补丁,无需再单独运行 acrylic/ 里的脚本。
截图
磨砂(亚克力)

无磨砂(原始壁纸)

调节透明度

安装
- 下载仓库:
git clone https://github.com/Lemon357/dsh-transparent.git,或下载 ZIP 解压。 - 打开 DSH → 左侧「插件」→ 右上「添加插件」→ 选择该目录;也可用
plugin_manager install_bundle <目录绝对路径>。 - 首次加载后插件会给桌面壳
resources/app.asar打补丁(可逆,原版备份为resources/app.asar.original)。 - 重启一次 DSH,窗口即变为半透明毛玻璃。
使用
- 点窗口右侧中部的「◐」按钮打开面板:滑杆 0%–62%,预设 全透 0% / 更透 22% / 推荐 34% / 更实 46%,数值自动记住。
- 面板里的「窗口材质」可切换 磨砂(亚克力)/ 无磨砂(透明窗口),切换后需重启一次 DSH 生效。
桌面补丁
窗口材质(backgroundMaterial / backgroundColor)只能由 Electron 主进程设置,DSH 没有向页面暴露这类 IPC,所以必须改桌面壳。本插件在 Host 半边做这件事:
desktop/patch.mjs:不重打包 asar,把新的lib/main.js追加到末尾并原地改写头部(DSH 的 asar 完整性校验 fuse 为关闭状态)。- 改动 4 处:主窗口
backgroundColor/backgroundMaterial/标题栏色、nativeTheme重设、enterWorkspace重设、标题栏颜色同步 IPC。 - 备份:
resources/app.asar.original;恢复:node desktop/patch.mjs restore。 - 关闭自动补丁:环境变量
DSH_TRANSPARENT_SKIP_PATCH=1。 - 手动操作:
node desktop/patch.mjs status|apply|restore [--root <安装目录>]。
应用内升级会覆盖 app.asar,下次启动插件会重新打补丁(同样需要再重启一次才生效)。若大版本改了 main.js 锚点,补丁会安全失败并在 Host 日志留下 [dsh-transparent] desktop patch skipped: ...,窗口保持原样。
目录
package.json # bundle manifest:patch / client / files / icon
cordis.patch.yml # 插入 dsh-transparent 行
index.js # Host 半边:首次加载自动打桌面补丁
desktop/patch.mjs # 桌面补丁工具(asar 原地改写;status/apply/restore)
client.js # Client 半边:token、控件、持久化
locale/{zh,en}.json # 名称 / 描述 / 详情文档
docs/ # DETAIL.md + preview.svg + screenshots/(README 截图)
icon.svg # 商店图标
卸载
插件页禁用或移除即可;桌面补丁若想一并撤销,运行 node desktop/patch.mjs restore 后重启 DSH。
localStorage["dsh-transparent.alpha"] 会保留,重新安装后沿用。
无磨砂(原始壁纸)
默认材质是 Windows 亚克力(壁纸模糊)。想要不模糊的原始壁纸,把桌面壳补丁切换成透明窗口:
node desktop/patch.mjs apply --material none --root "<DSH 安装目录>"
切换后重启一次 DSH。恢复磨砂:
node desktop/patch.mjs apply --material acrylic --root "<DSH 安装目录>"
说明:none 模式使用 Electron transparent: true + backgroundColor: "#00000000",
保留原生标题栏按钮;部分显卡/远程桌面下透明窗口可能没有系统阴影,属于平台行为。
磨砂开关(面板内)
点「◐」面板里的 窗口材质 两个按钮即可切换:
- 磨砂:亚克力毛玻璃(壁纸模糊);
- 无磨砂:
transparent: true透明窗口(原始壁纸,不模糊,保留原生按钮)。
切换会立刻改写桌面壳补丁(app.asar),重启 DSH 后生效;面板只负责切换,重启请用托盘菜单/快捷键或重新打开 DSH。
Host 半边在本地 127.0.0.1:39124 提供 status / material / restart 三个接口供面板调用;
它需要本机有 Node.js(用于执行 desktop/patch.mjs),没有 Node 时面板会提示「桌面 Host 未响应」。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10669
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10669
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8366
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7489
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5362
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1070
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.