前言¶
在 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