docs: improve skin installation options

This commit is contained in:
kingOfSoySauce
2026-08-18 19:14:44 +08:00
parent 08f60e8ef3
commit 6fd5b80e8d

View File

@@ -1,14 +1,32 @@
# 滑动变祖 · DeepSeek Harness 皮肤 # 滑动变祖 · DeepSeek Harness 皮肤
### 方式一:原版安装 ## 安装
复制给你的 DSH,一键安装: ##### 一、提示词安装:
<details>
<summary>&emsp;&emsp;点击展开</summary>
复制以下提示词给 DSH;会先排查冲突再安装,所以较长:
```text ```text
帮我安装这个仓库的皮肤到我的 DSH,地址:https://github.com/kingOfSoySauce/dsh-liang-skin 请把“滑动变祖”皮肤安装到 DSH 的 web profile。必须先检查冲突,确认可以继续后再安装。
1. 安装前只读检查 web profile 的 package.json(dependencies 与 dsh.profile.bundles)、profile 的 cordis.patch.yml 和 $DSH_HOME/cordis.patch.yml(如有)。
2. 从当前启用的 bundles 中识别其他皮肤、主题或外观插件:排除 @deepseek-ai/dsh-base、@deepseek-ai/dsh-web-app、dsh-skin-market 和本次目标 dsh-client-liang-intensity-skin;读取候选 package.json 的名称、描述、dsh.client/dsh.bundle 声明,必要时再读 README。
3. 如果发现其他已启用的皮肤插件,列出它们并停在安装前,提醒我先停用;未经我确认不得修改任何 profile 文件,也不得执行安装。
4. 如果没有冲突,明确说“未检测到其他已启用的皮肤插件”,然后执行:
dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin'
5. 安装后读取 web profile 的 package.json,确认 dependencies 和 dsh.profile.bundles 中都有 dsh-client-liang-intensity-skin;再检查目标 package.json 的 dsh.client/dsh.bundle 声明和 liang-intensity-skin loader 注册项。任一缺失都要报告安装或注册失败。
6. 告诉我如何重启 DSH Web。不要替我安装、停用或卸载其他皮肤。
``` ```
### 方式二:插件市场一键安装(推荐) </details>
##### 二、或者[命令安装](#cli-install);运行前请关闭其他皮肤插件,避免冲突
##### 三、或者通过皮肤市场一键安装(推荐)
打开 DSH 的「设置 → 皮肤市场」,搜索“滑动变祖”,点击“一键安装”,按提示重启 DSH Web 即可。尚未安装皮肤市场?请先按[安装说明](https://github.com/kingOfSoySauce/dsh-skin-market#安装皮肤市场)完成安装。 打开 DSH 的「设置 → 皮肤市场」,搜索“滑动变祖”,点击“一键安装”,按提示重启 DSH Web 即可。尚未安装皮肤市场?请先按[安装说明](https://github.com/kingOfSoySauce/dsh-skin-market#安装皮肤市场)完成安装。
@@ -54,19 +72,21 @@
“原生”只对当前 Liang client 激活周期生效;从皮肤市场切换到其他皮肤后再切回,梁祖皮肤会重新显示。该选择不会改动模型配置。 “原生”只对当前 Liang client 激活周期生效;从皮肤市场切换到其他皮肤后再切回,梁祖皮肤会重新显示。该选择不会改动模型配置。
## 安装 <a id="cli-install"></a>
## 命令安装
需要先安装 DeepSeek Harness CLI;当前版本已在 `0.1.0-rc.6` 上验证。安装本身可以在 DSH 运行时执行(只改动磁盘配置),重启后生效。三种方式任选其一: 需要先安装 DeepSeek Harness CLI;当前版本已在 `0.1.0-rc.6` 上验证。安装本身可以在 DSH 运行时执行(只改动磁盘配置),重启后生效。三种方式任选其一:
### 方式一:从 GitHub 安装(固定 release tag) > 安装前请确保已关闭其他皮肤插件,避免冲突。
### 方式一:从 GitHub 安装最新版(推荐)
```sh ```sh
dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin#v0.1.4' dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin'
dsh --profile web --dump-config | grep -B1 -A2 liang-intensity dsh --profile web --dump-config | grep -B1 -A2 liang-intensity
``` ```
版本号固定为已验证的 release tag,之后推送到 `main` 的改动不会静默改变已安装代码。
### 方式二:从 GitHub Release tarball 安装 ### 方式二:从 GitHub Release tarball 安装
从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `dsh-client-liang-intensity-skin-0.1.4.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后: 从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `dsh-client-liang-intensity-skin-0.1.4.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后: