@moonsand/dsh-ui-optimize 0.9.26 → 0.9.28

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 CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  English | [中文](README.zh.md)
4
4
 
5
- Three independent features for the DeepSeek Harness web interface, each with its own switch: a **theme gallery** of eight minimalist themes (each defining one palette for light and one for dark), the **desktop Reload/Restart buttons** at the sidebar foot, and **sidebar panel folding** — the panel rows collapse into a single **Panels** entry that opens a two-column launcher.
5
+ A collection of switches that tune how DeepSeek Harness looks and behaves — the whole interface, not a few named screens. Each switch works on its own, and more arrive as the shell grows.
6
+
7
+ Today: a **theme gallery** of eight minimalist themes (each defining one palette for light and one for dark), **sidebar panel folding** — the panel rows collapse into a single **Panels** entry that opens a two-column launcher — and the **desktop Reload/Restart buttons** at the sidebar foot.
6
8
 
7
9
  Colours travel only through `ctx.theme.overrideTokens`, as a single layer of theme variables. No structural CSS is injected and no other plugin's DOM is read, so an upstream redesign can at worst make the colours inert — it cannot break the layout.
8
10
 
@@ -33,20 +35,17 @@ The entry calls the shell's own panel-selection API instead of synthesising clic
33
35
 
34
36
  The **More** row keeps its own line. Folding it in was tried and dropped: the shell's overflow menu only opens from a trusted click, which a plugin cannot produce, and the synthetic pointer events that came close also closed the launcher through the shell's click-outside handler.
35
37
 
36
- ## Relationship to dsh-desktop-restart
37
-
38
- The desktop actions are ported from [`@moonsand/dsh-desktop-restart`](https://github.com/MoonSand/dsh-desktop-restart) and use their own route prefix, `/ui-optimize/desktop`.
39
-
40
- Both plugins can be installed at the same time without crashing, but you would get two sets of buttons. When the old plugin is detected, a notice appears at the top of the settings page suggesting you uninstall it.
38
+ The launcher follows the pattern of the community plugin [dsh-sidebar-shelf](https://github.com/wumouren114/dsh-sidebar-shelf): register a real rail row, hide the rest with one scoped CSS rule, enumerate entries through the slot API, and select a panel through the shell's own API rather than by faking clicks.
41
39
 
42
40
  ## Known limitations
43
41
 
44
42
  - The theme choice lives in browser `localStorage`; it is lost with the browser profile or site data
45
43
  - Restart works only in the desktop app; a browser session can only reload
46
- - Restart logs still go to `%TEMP%\dsh-desktop-restart.log`, inherited from the ported source
47
44
  - The restart action is a process-level operation that cannot be verified automatically
48
45
  - The **More** row is not folded; it stays in the native rail
49
46
  - The launcher keeps the shell's own panel order — it does not sort, pin or reorder
47
+ - The **More** row is not folded; it stays in the native rail
48
+ - The launcher keeps the shell's own panel order — it does not sort, pin or reorder
50
49
  - Sidebar folding and `dsh-sidebar-shelf` rewrite the same rail; enable one of them, not both
51
50
 
52
51
  ## Development
@@ -55,7 +54,7 @@ Both plugins can be installed at the same time without crashing, but you would g
55
54
  node scripts/smoke.mjs
56
55
  ```
57
56
 
58
- The smoke test covers the assembly contract only: the three runtime files parse, the theme table is complete (8 themes × 10 tokens × 2 schemes), and the published identity plus `engines.dsh` are intact. It does **not** check whether the palettes look right or whether restart actually restarts.
57
+ The smoke test covers the assembly contract only: the three runtime files parse, the theme table is complete (8 themes × 10 tokens × 2 schemes), and the published identity plus `engines.dsh` are intact. It does **not** check whether the palettes look right or whether the sidebar launcher opens.
59
58
 
60
59
  ## License
61
60
 
package/README.zh.md CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- 给 DeepSeek Harness 界面换主题、把「刷新界面 / 重启应用」收进同一个插件,并把侧栏的面板列表收成一个入口——三个功能各自独立开关。
5
+ 一组用来调 DeepSeek Harness 观感与操作的开关——管的是整套界面,不是某几块屏幕。每个开关单独生效,宿主长出新能力时会继续增加。
6
6
 
7
- - **主题画廊**:8 套极简主题,浅色与深色各定义一组配色,点一张卡片整套配色生效
8
- - **桌面操作**:侧栏底部的刷新与重启按钮,可分别关掉
9
- - **侧栏收纳**:面板行收成一个「面板」入口,点开是两列启动面板
7
+ 目前包含:**主题画廊**(8 套极简主题,浅色与深色各定义一组配色)、**侧栏收纳**(面板行收成一个「面板」入口,点开是两列启动面板),以及侧栏底部的**桌面刷新/重启按钮**。
10
8
 
11
9
  配色只通过 `ctx.theme.overrideTokens` 以**单层**覆盖主题变量,不注入任何结构性 CSS、不读写其他插件的 DOM,所以宿主改版最多让颜色不生效,不会把界面layout弄坏。
12
10
 
@@ -39,10 +37,10 @@ dsh plugin 或 GUI 插件管理:安装 @moonsand/dsh-ui-optimize
39
37
 
40
38
  ### 桌面操作
41
39
 
42
- 两个开关分别控制侧栏底部的「刷新界面」和「重启应用」按钮:
40
+ 两个开关分别控制侧栏底部的「刷新界面」与「重启应用」按钮:
43
41
 
44
42
  - **刷新界面**:只重新加载页面与客户端插件,Host 与正在跑的任务不受影响
45
- - **重启应用**:重启整个应用(含 Host),会中断当前对话;**仅桌面端可用**,网页端会降级为刷新页面
43
+ - **重启应用**:重启整个应用(含 Host),会中断当前对话;**仅桌面端可用**,网页端降级为刷新页面
46
44
 
47
45
  ### 侧栏
48
46
 
@@ -52,17 +50,12 @@ dsh plugin 或 GUI 插件管理:安装 @moonsand/dsh-ui-optimize
52
50
 
53
51
  「更多」保持独立一行。把它也收进去试过并放弃了:宿主的溢出菜单只认真实点击,插件造不出来;而伪造的指针事件又会被宿主的「点外部即关闭」吃掉,刚打开的弹层立刻被关掉。
54
52
 
55
- ## 与 dsh-desktop-restart 的关系
56
-
57
- 本插件的桌面操作移植自 [`@moonsand/dsh-desktop-restart`](https://github.com/MoonSand/dsh-desktop-restart),并已改用独立的路由前缀 `/ui-optimize/desktop`。
58
-
59
- 两个插件**可以同时安装而不会崩溃**,但会出现两套刷新/重启按钮。检测到旧插件仍在运行时,设置页顶部会给出提示,建议卸载它。
53
+ 启动面板的做法参考社区插件 [dsh-sidebar-shelf](https://github.com/wumouren114/dsh-sidebar-shelf):注册一根真实的竖栏行、用一条 scoped CSS 规则隐藏其余行、通过槽位 API 枚举条目,并用宿主自己的接口选中面板,而不是伪造点击。
60
54
 
61
55
  ## 已知限制
62
56
 
63
57
  - 主题选择保存在浏览器 `localStorage`,换机器或清站点数据会丢失
64
58
  - 重启只适用于桌面端;网页端只能刷新
65
- - 重启日志仍写在 `%TEMP%\dsh-desktop-restart.log`(沿用移植来源的路径)
66
59
  - 重启动作为进程级操作,无法在自动化测试中验证,只能人工点一次确认
67
60
  - 「更多」没有收进弹层,仍在原生竖栏里
68
61
  - 弹层沿用宿主自己的面板顺序,不排序、不置顶、不重排
@@ -74,7 +67,7 @@ dsh plugin 或 GUI 插件管理:安装 @moonsand/dsh-ui-optimize
74
67
  node scripts/smoke.mjs
75
68
  ```
76
69
 
77
- 冒烟只验证装配契约:三个运行时文件可解析、主题表结构完整(8 套 × 10 个变量 × 浅/深两组)、包身份与 `engines.dsh` 完好。**它不验证配色观感,也不验证重启是否真的重启。**
70
+ 冒烟只验证装配契约:三个运行时文件可解析、主题表结构完整(8 套 × 10 个变量 × 浅/深两组)、包身份与 `engines.dsh` 完好。**它不验证配色观感,也不验证侧栏弹层能否正常打开。**
78
71
 
79
72
  ## 许可
80
73
 
package/client.js CHANGED
@@ -34,8 +34,7 @@ window.__ModuleLoader__.load({
34
34
  const DICT = {
35
35
  en: {
36
36
  title: 'UI Optimize',
37
- subtitle:
38
- 'Pick one theme and the whole interface follows. Each theme defines one palette for light and one for dark; switching Appearance between them carries the theme along — no separate version to pick.',
37
+ subtitle: 'Making the DSH interface pleasant to live in, one switch at a time.',
39
38
  defaultName: 'Default',
40
39
  defaultHint: 'Keep the current look',
41
40
  'section.theme': 'Theme',
@@ -65,7 +64,8 @@ window.__ModuleLoader__.load({
65
64
  'sidebar.hint': '↑↓ move · ↵ open · Esc close',
66
65
  'sidebar.more': 'More',
67
66
  'sidebar.switch': 'Fold the sidebar menu into one Panels entry',
68
- 'sidebar.switchHint': 'The menu rows collapse into a single launcher that lists every panel; panels a future plugin registers show up on their own. Also narrows the New Session button',
67
+ 'sidebar.switchHint': 'The menu rows collapse into a single launcher that lists every panel; panels a future plugin registers show up on their own. Also makes the New Session button shorter',
68
+ 'sidebar.unavailable': 'This build does not expose the slot API the launcher needs, so folding stays off.',
69
69
  'desktop.label': 'Restart app',
70
70
  'desktop.hint': 'Restart DeepSeek Harness (app and Host)',
71
71
  'desktop.refresh': 'Reload UI',
@@ -91,8 +91,7 @@ window.__ModuleLoader__.load({
91
91
  },
92
92
  zh: {
93
93
  title: '界面优化',
94
- subtitle:
95
- '选一个主题,整个界面跟着换。每套主题为浅色与深色各定义一组配色,切换「外观」时自动跟随,不需要为两种模式各选一次。',
94
+ subtitle: '把 DSH 界面调得顺眼顺手,一个开关一件事。',
96
95
  defaultName: '默认',
97
96
  defaultHint: '保持当前外观',
98
97
  'section.theme': '主题',
@@ -122,7 +121,8 @@ window.__ModuleLoader__.load({
122
121
  'sidebar.hint': '↑↓ 选择 · ↵ 打开 · Esc 关闭',
123
122
  'sidebar.more': '更多',
124
123
  'sidebar.switch': '把侧栏菜单收进「面板」',
125
- 'sidebar.switchHint': '菜单行合并成一个入口,点开列出全部面板;新插件注册的面板会自动出现。同时把「新会话」按钮收窄',
124
+ 'sidebar.switchHint': '菜单行合并成一个入口,点开列出全部面板;新插件注册的面板会自动出现。同时把「新会话」按钮压低一点',
125
+ 'sidebar.unavailable': '当前版本取不到槽位接口,收纳功能用不了,所以保持关闭。',
126
126
  'desktop.label': '重启应用',
127
127
  'desktop.hint': '重启 DeepSeek Harness(应用与 Host)',
128
128
  'desktop.refresh': '刷新界面',
@@ -450,8 +450,39 @@ window.__ModuleLoader__.load({
450
450
  }
451
451
  }
452
452
 
453
+ /* Which shell this page is running in, and therefore what it can actually do.
454
+ *
455
+ * A feature is only offered when the current environment can honour it: the
456
+ * desktop app can restart its own process, a browser session cannot. The rule
457
+ * lives in one table so a new feature declares its requirement instead of
458
+ * each switch inventing its own check. */
459
+ const FEATURES = {
460
+ theme: { envs: ['desktop', 'web'] },
461
+ reload: { envs: ['desktop', 'web'] },
462
+ restart: { envs: ['desktop'], reason: 'desktop.restartNotDesktop' },
463
+ sidebar: { envs: ['desktop', 'web'], reason: 'sidebar.unavailable' },
464
+ }
465
+
466
+ /* The single answer to "can this shell run this feature". Callers render the
467
+ * switch greyed out and print `reason` when `available` is false.
468
+ *
469
+ * `unknown` means the probe has not answered yet (or its route is missing);
470
+ * features stay usable then, because a transient network failure must not
471
+ * disable a working feature. */
472
+ function featureGate(name, env) {
473
+ const spec = FEATURES[name]
474
+ if (!spec) return { available: true, reason: '' }
475
+ if (env !== 'desktop' && env !== 'web') return { available: true, reason: '' }
476
+ if (spec.envs.indexOf(env) === -1) {
477
+ return { available: false, reason: translate(spec.reason) }
478
+ }
479
+ return { available: true, reason: '' }
480
+ }
481
+
453
482
  const store = {
454
483
  state: normalize(readStored()),
484
+ /* Describes the running process, not a preference — never persisted. */
485
+ env: 'unknown',
455
486
  listeners: new Set(),
456
487
  subscribe(listener) {
457
488
  store.listeners.add(listener)
@@ -459,6 +490,24 @@ window.__ModuleLoader__.load({
459
490
  store.listeners.delete(listener)
460
491
  }
461
492
  },
493
+ notify() {
494
+ /* Fresh identity so subscribers that store the state object re-render. */
495
+ store.state = Object.assign({}, store.state)
496
+ const snapshot = Array.from(store.listeners)
497
+ for (let i = 0; i < snapshot.length; i += 1) {
498
+ try {
499
+ snapshot[i]()
500
+ } catch (err) {
501
+ /* a broken subscriber must not block the others */
502
+ }
503
+ }
504
+ },
505
+ setEnv(value) {
506
+ if (value !== 'desktop' && value !== 'web') return
507
+ if (store.env === value) return
508
+ store.env = value
509
+ store.notify()
510
+ },
462
511
  setTheme(key) {
463
512
  publish(
464
513
  Object.assign({}, store.state, {
@@ -468,6 +517,9 @@ window.__ModuleLoader__.load({
468
517
  )
469
518
  },
470
519
  setFlag(name, value) {
520
+ /* Hard gate: a feature this shell cannot run never turns on, even when
521
+ * something other than the switch calls this directly. */
522
+ if (value === true && !featureGate(name, store.env).available) return
471
523
  const next = Object.assign({}, store.state, { version: 3 })
472
524
  next[name] = value === true
473
525
  publish(next)
@@ -627,6 +679,8 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
627
679
  role: 'switch',
628
680
  'aria-checked': props.checked ? 'true' : 'false',
629
681
  'aria-label': props.label,
682
+ 'aria-disabled': disabled ? 'true' : 'false',
683
+ title: disabled && props.title ? props.title : props.hint || props.label,
630
684
  disabled: disabled,
631
685
  className:
632
686
  'dsuik-switch' + (props.checked ? ' is-on' : '') + (disabled ? ' is-disabled' : ''),
@@ -666,8 +720,14 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
666
720
 
667
721
  function SettingsPage() {
668
722
  const [state, setState] = React.useState(store.state)
669
- const [restartUnavailable, setRestartUnavailable] = React.useState(false)
670
723
  const [legacyPresent, setLegacyPresent] = React.useState(false)
724
+ const env = store.env
725
+ const restartGate = featureGate('restart', env)
726
+ /* The shelf also needs the slot API: without it the switch stays off and
727
+ * says why, instead of offering something that cannot work. */
728
+ const sidebarGate = slotsCoreApi
729
+ ? featureGate('sidebar', env)
730
+ : { available: false, reason: translate('sidebar.unavailable') }
671
731
 
672
732
  React.useEffect(function () {
673
733
  return store.subscribe(function () {
@@ -675,21 +735,22 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
675
735
  })
676
736
  }, [])
677
737
 
678
- /* Ask the Host once whether this page is the desktop shell. A browser session
679
- * cannot restart anything, so the switch should say so up front instead of
680
- * leaving the user to discover it on the first click. */
738
+ /* The probe runs at plugin start; if it failed there (a transient network
739
+ * error), retry once when the settings page opens — but never override a
740
+ * known answer. */
681
741
  React.useEffect(function () {
742
+ if (env !== 'unknown') return undefined
682
743
  let alive = true
683
744
  void readStatus().then(function (status) {
684
745
  if (!alive) return
685
746
  if (status && typeof status.desktop === 'boolean') {
686
- setRestartUnavailable(status.desktop !== true)
747
+ store.setEnv(status.desktop === true ? 'desktop' : 'web')
687
748
  }
688
749
  })
689
750
  return function () {
690
751
  alive = false
691
752
  }
692
- }, [])
753
+ }, [env])
693
754
 
694
755
  /* The standalone plugin owns the original route prefix. If it is still
695
756
  * loaded, both plugins draw footer buttons — say so instead of leaving the
@@ -793,15 +854,16 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
793
854
  h('span', { className: 'dsuik-rowname' }, translate('desktop.restartSwitch')),
794
855
  h(
795
856
  'span',
796
- { className: 'dsuik-rowhint' + (restartUnavailable ? ' is-warn' : '') },
797
- restartUnavailable
798
- ? translate('desktop.restartNotDesktop')
799
- : translate('desktop.restartSwitchHint'),
857
+ { className: 'dsuik-rowhint' + (restartGate.available ? '' : ' is-warn') },
858
+ restartGate.available
859
+ ? translate('desktop.restartSwitchHint')
860
+ : restartGate.reason,
800
861
  ),
801
862
  ),
802
863
  h(Switch, {
803
864
  checked: state.restart === true,
804
- disabled: restartUnavailable,
865
+ disabled: !restartGate.available,
866
+ title: restartGate.reason,
805
867
  label: translate('desktop.restartSwitch'),
806
868
  onChange: function (next) {
807
869
  store.setFlag('restart', next)
@@ -820,11 +882,18 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
820
882
  'div',
821
883
  { className: 'dsuik-rowtext' },
822
884
  h('span', { className: 'dsuik-rowname' }, translate('sidebar.switch')),
823
- h('span', { className: 'dsuik-rowhint' }, translate('sidebar.switchHint')),
885
+ h(
886
+ 'span',
887
+ { className: 'dsuik-rowhint' + (sidebarGate.available ? '' : ' is-warn') },
888
+ sidebarGate.available
889
+ ? translate('sidebar.switchHint')
890
+ : sidebarGate.reason,
891
+ ),
824
892
  ),
825
893
  h(Switch, {
826
894
  checked: state.sidebar === true,
827
- disabled: !slotsCoreApi,
895
+ disabled: !sidebarGate.available,
896
+ title: sidebarGate.reason,
828
897
  label: translate('sidebar.switch'),
829
898
  onChange: function (next) {
830
899
  store.setFlag('sidebar', next)
@@ -1153,6 +1222,7 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
1153
1222
  }
1154
1223
 
1155
1224
  function onClick() {
1225
+ if (props.unavailable === true) return
1156
1226
  if (phase === 'restarting') return
1157
1227
  if (phase === 'confirm') {
1158
1228
  void restart()
@@ -1185,9 +1255,14 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
1185
1255
  type: 'button',
1186
1256
  className: 'dsuik-dsr-btn',
1187
1257
  'data-phase': phase,
1188
- disabled: phase === 'restarting',
1258
+ disabled: phase === 'restarting' || props.unavailable === true,
1189
1259
  'aria-label': translate('desktop.label'),
1190
- title: note === '' ? translate('desktop.hint') : note,
1260
+ title:
1261
+ props.unavailable === true
1262
+ ? props.reason || translate('desktop.restartNotDesktop')
1263
+ : note === ''
1264
+ ? translate('desktop.hint')
1265
+ : note,
1191
1266
  onClick: onClick,
1192
1267
  onKeyDown: onKeyDown,
1193
1268
  },
@@ -1232,12 +1307,19 @@ body:not([data-ds-dark-theme]) .dsuik-mc > .dsuik-mc-b{display:none;}
1232
1307
  const wide = props.wide !== false
1233
1308
  const showReload = state.reload === true
1234
1309
  const showRestart = state.restart === true
1310
+ const restartGate = featureGate('restart', store.env)
1235
1311
  if (!showReload && !showRestart) return null
1236
1312
  return h(
1237
1313
  'div',
1238
1314
  { className: 'dsuik-dsr-group' },
1239
1315
  showReload ? h(RefreshButton, { wide: wide }) : null,
1240
- showRestart ? h(RestartButton, { wide: wide }) : null,
1316
+ showRestart
1317
+ ? h(RestartButton, {
1318
+ wide: wide,
1319
+ unavailable: !restartGate.available,
1320
+ reason: restartGate.reason,
1321
+ })
1322
+ : null,
1241
1323
  )
1242
1324
  }
1243
1325
 
@@ -1748,6 +1830,23 @@ button.muik-shelf-row:focus-visible{outline:2px solid var(--dsw-alias-brand-prim
1748
1830
  /* keep the built-in dictionary */
1749
1831
  }
1750
1832
 
1833
+ /* Detect the shell once, before anything is drawn: a desktop app can
1834
+ * restart its own process, a browser session cannot. Switches read this
1835
+ * from the store, so the first render already greys out what this
1836
+ * environment cannot do and prints the reason next to it. */
1837
+ ctx.effect(function () {
1838
+ let alive = true
1839
+ void readStatus().then(function (status) {
1840
+ if (!alive) return
1841
+ if (status && typeof status.desktop === 'boolean') {
1842
+ store.setEnv(status.desktop === true ? 'desktop' : 'web')
1843
+ }
1844
+ })
1845
+ return function () {
1846
+ alive = false
1847
+ }
1848
+ })
1849
+
1751
1850
  /* The client tree may still be composing when this plugin mounts, so the
1752
1851
  * theme service can be unreachable on the first attempt. Retry briefly
1753
1852
  * instead of staying silently unapplied for the whole page session, and
package/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "dsh-ui-optimize",
4
- "description": "Minimalist theme gallery for the DSH interface: pick one card in Settings and the whole UI re-colours at once — no per-token tuning. Eight themes — Celadon, Linen, Cream, Graphite, Indigo, Slate, Sage, Rose — each define one palette for light and one for dark and follow the Appearance setting automatically. Choosing Default restores the original look. Colours travel only through the theme token layer, so an upstream redesign cannot break the layout or the plugin. The same page also folds the sidebar panel rows into one Panels entry that opens a two-column launcher with search and keyboard control, and adds the desktop Reload/Restart buttons at the sidebar foot — each feature has its own switch."
4
+ "description": "Optimizes how DeepSeek Harness looks and behaves across the whole interface, not just a few screens: the switches are meant to grow with the shell, and every one of them can be turned off on its own. Today it carries a minimalist theme gallery — Celadon, Linen, Cream, Graphite, Indigo, Slate, Sage, Rose — where each theme defines one palette for light and one for dark, follows the Appearance setting, and re-colours the interface through a single theme-token layer so an upstream redesign cannot break the layout; plus folding the sidebar panel rows into one Panels entry that opens a two-column launcher with search and keyboard control."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "dsh-ui-optimize",
4
- "description": "给 DSH 界面换主题的极简插件:设置页里只有一排主题卡片,点一下整套界面配色跟着换,不必逐个去调颜色。内置 8 套主题——青瓷、亚麻、奶油、石墨、靛蓝、雾蓝、苔绿、玫瑰,每套为浅色与深色各定义一组配色、切换外观时自动跟随;选「默认」即恢复原生外观。配色只走主题变量层、不注入结构性样式,上游改版不会把界面弄坏。同一页里还能把侧栏面板行收成一个「面板」入口(点开是两列启动面板,带搜索与键盘操作),并在侧栏底部加上刷新/重启按钮——三个功能各有独立开关。"
4
+ "description": "优化的是 DeepSeek Harness 的整体观感与操作,不局限于某几个界面;开关会随宿主长出的新能力继续增加,每一项都能单独关掉。目前包含:8 套极简主题的画廊——青瓷、亚麻、奶油、石墨、靛蓝、雾蓝、苔绿、玫瑰,每套为浅色与深色各定义一组配色并跟随「外观」设置,配色只走单一主题变量层,上游改版不会把界面弄坏;以及把侧栏面板行收成一个「面板」入口,点开是两列启动面板,带搜索与键盘操作。"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@moonsand/dsh-ui-optimize",
3
- "version": "0.9.26",
3
+ "version": "0.9.28",
4
4
  "type": "module",
5
- "description": "Three features for the DSH web interface, each with its own switch: a minimalist theme gallery (eight themes, one palette for light and one for dark), the desktop Reload/Restart actions at the sidebar foot, and folding the sidebar panel rows into one Panels launcher. · DSH 界面优化:8 套极简主题(浅色与深色各一组配色)+ 侧栏底部的刷新/重启按钮 + 侧栏面板收成一个「面板」入口,三个功能各有独立开关。",
5
+ "description": "Switches that tune how DeepSeek Harness looks and behaves across the whole interface, not just a few screens — each works on its own and more arrive as the shell grows. · 调 DeepSeek Harness 整体观感与操作的开关集合,管的是整套界面而不只是某几块;每个开关独立生效,随宿主能力增长继续增加。",
6
6
  "license": "MIT",
7
7
  "author": "MoonSand",
8
8
  "publishConfig": {