dsh-chat-mode-preset 1.1.0 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # 更新记录
2
2
 
3
+ ## 1.1.1 — 2026-11-22
4
+
5
+ - 修复:设置页开关在默认浅色主题下「看不见」的问题。其余与 1.1.0 完全相同。
6
+
3
7
  ## 1.1.0 — 2026-11-22
4
8
 
5
9
  首个公开发布版。
package/INSTALL.md CHANGED
@@ -3,7 +3,7 @@
3
3
  零依赖、无构建步骤的 DSH bundle:把本目录(或解压后的 `dsh-chat-mode-preset/`)装进目标机器的 profile 即可。
4
4
 
5
5
  - 包名:`dsh-chat-mode-preset`
6
- - 版本:1.1.0
6
+ - 版本:1.1.1
7
7
  - 适用:DeepSeek Harness **0.2.2-rc.x**(`engines.dsh: >=0.2.2-rc.1 <0.3.0`),Web / Desktop 形态
8
8
  - 人设卡由使用者自建(初始为空)
9
9
  - 不改 DSH 源码,不改你的 `cordis.patch.yml`,只往 profile 里 `insert` 两行
@@ -23,7 +23,7 @@
23
23
  ## 方式 B:tarball
24
24
 
25
25
  ```text
26
- dsh plugin add <路径>\dsh-chat-mode-preset-1.1.0.tgz --profile <profile>
26
+ dsh plugin add <路径>\dsh-chat-mode-preset-1.1.1.tgz --profile <profile>
27
27
  ```
28
28
 
29
29
  或用 `plugin_manager` 工具 `install_bundle`,`target` 传 `.tgz` 绝对路径。tarball 是**拷贝**进 profile,不依赖源目录;后续改插件要重新打包重装。
package/README.md CHANGED
@@ -23,7 +23,7 @@
23
23
  **npm 包 / tarball**
24
24
 
25
25
  ```text
26
- dsh plugin add <路径>/dsh-chat-mode-preset-1.1.0.tgz --profile <profile>
26
+ dsh plugin add <路径>/dsh-chat-mode-preset-1.1.1.tgz --profile <profile>
27
27
  ```
28
28
 
29
29
  GitHub Release 里附了 `.zip`、`.tgz` 和 `SHA256SUMS.txt`。
package/client.js CHANGED
@@ -241,11 +241,14 @@ window.__ModuleLoader__.load({
241
241
  width: 16,
242
242
  height: 16,
243
243
  borderRadius: '50%',
244
- background: 'var(--dsw-alias-label-primary-inverted)',
244
+ // 关闭态用次级文字色:白色圆点在默认浅色背景/浅色轨道上会完全看不见(自定义背景时才能看见)。
245
+ // label-secondary 在浅色主题是深灰、深色主题是浅灰,两种主题下都与轨道有对比。
246
+ background: 'var(--dsw-alias-label-secondary, #6b7280)',
247
+ boxShadow: '0 1px 2px rgba(0, 0, 0, 0.25)',
245
248
  transform: 'translateX(0)',
246
- transition: 'transform 120ms ease',
249
+ transition: 'transform 120ms ease, background 120ms ease',
247
250
  },
248
- switchKnobOn: { transform: 'translateX(18px)' },
251
+ switchKnobOn: { background: 'var(--dsw-alias-label-primary-inverted, #ffffff)', transform: 'translateX(18px)' },
249
252
  row: {
250
253
  display: 'flex',
251
254
  alignItems: 'center',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-chat-mode-preset",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "description": "闲聊模式:一个只陪聊、只留联网的 DSH agent 预设,附带独立设置页(工具开关、Agent/用户人设卡、/remember 记忆)。",
6
6
  "license": "MIT",