前言¶
在 DSH 的“一切皆插件”机制里,Web UI 的外观可以以插件形式接入。对于智能体开发者来说,常见诉求不是改 DSH 源码,而是先换一套可演示、可回退的界面;dsh-theme-mineradio 解决的就是这个问题:它把 DeepSeek Harness web UI 变成 Mineradio private visual radio 风格的玻璃拟态界面,关闭后可以恢复 stock UI。
这是什么¶
dsh-theme-mineradio 由 dhicoc 维护,许可证为 MIT。它面向 DeepSeek Harness web UI,复刻 Mineradio “private visual radio” 外观,并提供可开关的主题效果。
核心功能¶
两种外观模式¶
Mica:将布局重排为浮动玻璃卡片,blur和frost可调。Compatibility Mode:保持 stock layoutbyte-for-byte,只把材质换成通用玻璃。
自由背景¶
- 可选
living fluid board,hue可调。 - 可选自定义壁纸,支持
image/video,带blur和frost。 - 背景亮度跟随当前
scheme:dark mode降低(0–50),light mode提高(50–100),50 不变。
氛围与交互¶
Ambient decor:粒子鲸、星粒、可交互点阵网格,均可开关。Champagne glow:玻璃上的指针跟随光晕,并有hover按压反馈。
Looks 面板¶
提供 Studio / Deep sea / Midnight / Mist / Rainbow 场景,以及 Performance / Balanced / Vivid 性能预设。
安装与启用¶
插件市场 / npm 方式¶
先执行插件安装命令:
dsh plugin --profile web add dsh-theme-mineradio
也可以在 DSH 中打开:
Settings → Plugin market
搜索 dsh-theme-mineradio。
经过上面的步骤后,重启 web UI。关闭插件时打开:
Settings → Plugins → Mineradio
Windows 安装脚本¶
在 Windows 中运行:
powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest 'https://github.com/dhicoc/dsh-theme-mineradio/raw/main/install.ps1' -OutFile install.ps1; .\install.ps1"
该脚本默认安装 latest release,把插件链接到 profile 的 node_modules,并在 cordis.patch.yml 注册 ui-mineradio,可重复运行。
如果需要固定版本或跟踪开发分支:
.\install.ps1 -Version 'v1.0.0'
.\install.ps1 -Version 'main'
避免 git spec¶
不要使用:
github:dhicoc/dsh-theme-mineradio
dsh plugin add https://github.com/dhicoc/dsh-theme-mineradio
git / tarball spec 会使 pnpm 阻止 build scripts,并导致 market updates 失败。如果已有 git spec,改用:
dsh plugin --profile web add dsh-theme-mineradio@latest
注册方式¶
npm 包没有 prepare / postinstall script;dsh.bundle manifest 会自动注册 ui-mineradio。
典型用法¶
1、用插件市场 / npm 方式安装:
dsh plugin --profile web add dsh-theme-mineradio
2、安装后重启 web UI。
3、在 Settings → Plugin market 搜索 dsh-theme-mineradio,核对插件名。
4、若之前使用 git spec,执行切换:
dsh plugin --profile web add dsh-theme-mineradio@latest
5、关闭时打开:
Settings → Plugins → Mineradio
适用场景与注意¶
适合:快速改变 DeepSeek Harness web UI 外观、演示 Mineradio 风格、在 Compatibility Mode 下保留原有布局兼容性。
注意不要把社区目录理解为官方应用商店;社区目录是独立站点,与 DeepSeek / 幻方无官方从属关系。
使用注意:
- 插件以当前
dsh进程权限运行,安装前应检查源码与许可证。 - 许可证为 MIT;Mineradio 视觉标识是对
XxHuberrr项目的 faithful re-skin,原项目为 GPL-3.0。 - 本文不展开未完整核实的依赖和权限细节。
链接¶
- 社区目录:
https://www.skillhub.cn/plugins/dhicoc/dsh-theme-mineradio - GitHub:
https://github.com/dhicoc/dsh-theme-mineradio