Tools & Capabilities
deepseek_harness_ui_schema_fix
sixsixla/deepseek_harness_ui_schema_fix · ★ 0
A DSH 0.1.0-rc.6 compatibility bundle for the full DSH Web UI plugin and skin set, fixing three rc.6 issues and retaining only the Blue Fantasy skin by default.
README body is shown in Chinese.
安装
dsh plugin --profile web add github:sixsixla/deepseek_harness_ui_schema_fixGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
For install and environment setup, plus plugin development tutorials, see DSH community docs ↗
README
DSH Web UI 全家桶的 dsh 0.1.0-rc.6 兼容修复版:把 dsh-web-ui 的全部功能插件与皮肤装上 dsh web,并修复其在 rc.6 上的三个兼容性问题。皮肤只保留 Blue Fantasy(默认应用)。
修复了什么
| 问题 | 表现 | 修复 |
|---|---|---|
| 皮肤中心打包缺陷 | /api/skin-center/state 500、/apply 400,皮肤无法应用 |
皮肤资产目录 skins 作为独立包随聚合包装入;xp 元数据修正 |
| Windows + pnpm hoisted 符号链接 | apply 报 exists and is not a symlink |
skin-center 宿主端补丁:真实目录视为已安装 |
| 插槽命名漂移(插件按新版 DSH 源码构建) | 桌面宠物 / Git 图谱不渲染(无报错),移动端远程按钮不出现 | pet → shell.overlay;git-graph → conversation.input.dock;remote-web-ui → sidebar.footer.action |
| pnpm 11 拦截原生构建脚本 | ERR_PNPM_IGNORED_BUILDS 安装失败 |
install.ps1 预写 allowBuilds(cloudflared / cpu-features / ssh2) |
包含内容
- 功能插件(npm 原版):任务看板、SSH 远程连接、实时令牌统计、右侧面板(AionUI)、设置中心
- 修复版插件(本仓库 packages/):桌面宠物、Git 图谱、移动端远程、皮肤中心
- 皮肤:仅 Blue Fantasy(安装时默认应用;皮肤中心可恢复官方默认外观)
安装(目标电脑)
前置:Node.js >= 22、可用的 dsh 命令(npm install -g @deepseek-ai/dsh,或与平时一样用 npx @deepseek-ai/dsh)。
Windows 额外前置(编译 ssh2 / cpu-features 原生模块需要,缺了安装会失败):
- Visual Studio Build Tools(勾选“使用 C++ 的桌面开发”工作负载);
- Python 3.x(node-gyp 使用)。
git clone git@github.com:sixsixla/deepseek_harness_ui_schema_fix.git
cd deepseek_harness_ui_schema_fix
powershell -ExecutionPolicy Bypass -File .\install.ps1
然后重启 dsh web 并刷新页面。
不想默认应用皮肤:install.ps1 -NoSkin。
手动安装(不用脚本,等价的 dsh 插件命令)
# 1) 预开原生构建白名单(把下面三行加进 %USERPROFILE%\.dsh\profiles\web\pnpm-workspace.yaml)
# allowBuilds:
# cloudflared: true
# cpu-features: true
# ssh2: true
# 2) 一条命令安装全部插件(注意: file: 协议, 不能用 link:)
dsh plugin --profile web add file:C:\path\to\deepseek_harness_ui_schema_fix
# 3) 想默认应用 Blue Fantasy,把下面内容追加到 %USERPROFILE%\.dsh\cordis.patch.yml
# (与皮肤中心 apply 的写入一致;不写则保持官方默认外观)
# --- dsh-skin managed (auto-generated; do not edit) ---
# - insert:
# - id: ui-skin-blue-fantasy
# name: '@linxin666/dsh-client-ui-skin-blue-fantasy'
# --- end dsh-skin managed ---
注意
- 安装命令必须用
file:协议;link:是 pnpm 的“不透明”协议,会跳过依赖安装,导致插件不完整。 - 若目标机器的 profile 已安装过上游聚合包
@linxin666/dsh-web-ui-all或@linxin666/dsh-skins,请先dsh plugin --profile web remove <包名>再安装本包(两者的补丁行 id 相同,会冲突)。
卸载
dsh plugin --profile web remove @sixsixla/dsh-web-ui-schema-fix
目录结构
packages/
dsh-pet/ 修复版桌面宠物(插槽改为 shell.overlay)
dsh-client-ui-git-graph/ 修复版 Git 图谱(插槽改为 conversation.input.dock)
dsh-remote-web-ui/ 修复版移动端远程(插槽改为 sidebar.footer.action)
dsh-client-ui-skin-center/ 修复版皮肤中心(Windows hoisted 目录兼容)
skins/blue-fantasy/ 皮肤资产(skin.json + lib + preview),仅 Blue Fantasy
cordis.patch.yml 聚合补丁层(插入全部插件行)
install.ps1 一键安装脚本
版权
插件与皮肤源自 zhu1090093659/dsh-web-ui(BSD-3-Clause,作者 zhu1090093659 及 dsh-web-ui 贡献者);本仓库仅在其发布包基础上做 rc.6 兼容修补与皮肤裁剪,保留各包 LICENSE 与署名。