@leon___/dsh-client-liang-intensity-skin 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -7
- package/lib/client.js +389 -331
- package/lib/client.js.map +4 -4
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -56,18 +56,21 @@ dsh plugin --profile web add 'github:kingOfSoySauce/dsh-liang-skin'
|
|
|
56
56
|
|
|
57
57
|
## 外观开关
|
|
58
58
|
|
|
59
|
-
入口位于 `设置 → 通用设置 →
|
|
59
|
+
入口位于 `设置 → 通用设置 → 外观`:
|
|
60
60
|
|
|
61
61
|
- `滑动变祖`:显示滑块并启用人物、背景和自适应配色。
|
|
62
|
-
-
|
|
62
|
+
- 点击原生的 `浅色`、`深色` 或 `跟随系统`:移除背景层、皮肤变量和滑块,切回对应的 Harness 原生外观。
|
|
63
|
+
- `滑动变祖绑定思考等级`:使用 DSH 原生开关,关闭后滑块只切换人物和配色,不修改模型的推理等级;仅点击开关切换,标题文字不触发切换。
|
|
63
64
|
|
|
64
|
-
|
|
65
|
+
皮肤保持启用时,人物与背景配色由滑块档位决定;切换 DSH 原生深浅主题不会改变当前档位的背景。
|
|
66
|
+
|
|
67
|
+
绑定开关保存在当前浏览器本地。切回原生外观只对本次客户端激活有效;刷新页面或重新激活插件后默认开启皮肤。外观选择的跨刷新记忆暂未实现。绑定开启时,滑块会提交模型的推理档位;关闭绑定后只改变外观。
|
|
65
68
|
|
|
66
69
|
<a id="cli-install"></a>
|
|
67
70
|
|
|
68
71
|
## 命令安装
|
|
69
72
|
|
|
70
|
-
需要先安装 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)
|
|
73
|
+
需要先安装 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness);本轮已在 DSH Web `0.1.7-rc.2` 检查原生控件,macOS Desktop 由用户试用;Windows Desktop 仍需更新后的实机反馈。安装本身可以在 DSH 运行时执行(只改动磁盘配置),重启后生效。三种方式任选其一:
|
|
71
74
|
|
|
72
75
|
> 安装前请确保已关闭其他皮肤插件,避免冲突。
|
|
73
76
|
|
|
@@ -80,10 +83,10 @@ dsh --profile web --dump-config | grep -B1 -A2 liang-intensity
|
|
|
80
83
|
|
|
81
84
|
### 方式二:从 GitHub Release tarball 安装
|
|
82
85
|
|
|
83
|
-
从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `dsh-client-liang-intensity-skin-0.1.
|
|
86
|
+
从本仓库 [Releases](https://github.com/kingOfSoySauce/dsh-liang-skin/releases) 页面下载 `leon___-dsh-client-liang-intensity-skin-0.1.11.tgz`(包内已包含构建好的 `lib/client.js`,安装时不需要执行任何 prepare 脚本),然后:
|
|
84
87
|
|
|
85
88
|
```sh
|
|
86
|
-
dsh plugin --profile web add ./dsh-client-liang-intensity-skin-0.1.
|
|
89
|
+
dsh plugin --profile web add ./leon___-dsh-client-liang-intensity-skin-0.1.11.tgz
|
|
87
90
|
```
|
|
88
91
|
|
|
89
92
|
|
|
@@ -114,7 +117,7 @@ dsh plugin --profile web add .
|
|
|
114
117
|
### 卸载
|
|
115
118
|
|
|
116
119
|
```sh
|
|
117
|
-
dsh plugin --profile web remove dsh-client-liang-intensity-skin
|
|
120
|
+
dsh plugin --profile web remove @leon___/dsh-client-liang-intensity-skin
|
|
118
121
|
```
|
|
119
122
|
|
|
120
123
|
`remove` 会自动把插件从 `dsh.profile.bundles` 中摘除;重启后设置入口完全移除。
|
|
@@ -132,10 +135,13 @@ dsh plugin --profile web remove dsh-client-liang-intensity-skin
|
|
|
132
135
|
npm install
|
|
133
136
|
npm test
|
|
134
137
|
npm run build
|
|
138
|
+
npm run test:compatibility
|
|
135
139
|
```
|
|
136
140
|
|
|
137
141
|
修改 client 源码后需要运行 `npm run build`,并一起提交更新后的 `lib/client.js` 和 source map。
|
|
138
142
|
|
|
143
|
+
浏览器兼容性回归使用本机 Chrome / Chromium;可通过 `CHROME_PATH` 指定浏览器可执行文件,不会自动下载浏览器。测试使用宿主布局夹具,不能代替官方 Desktop 真机验收。本轮兼容性修复的验证步骤见 [兼容性验证说明](docs/compatibility-validation.md)。
|
|
144
|
+
|
|
139
145
|
## 灵感与素材来源
|
|
140
146
|
|
|
141
147
|
本插件的“滑动变祖”视觉概念与人物图片素材源自
|