@michengai/dsh-codex-ui 1.1.29 → 1.1.31

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
@@ -6,6 +6,15 @@ This changelog records recent releases of DSH Codex UI. Earlier changes remain a
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.1.31 - 2026-10-08
10
+
11
+ - On macOS, the main sidebar stays below the traffic lights in a normal window, including the brand, search, collapse controls, and the compact rail (#38). Fullscreen, Windows, and the browser are unchanged.
12
+
13
+ ## 1.1.30 - 2026-10-07
14
+
15
+ - On macOS, the settings Back button and search stay below the traffic lights in a normal window (#37). Fullscreen, Windows, and the browser are unchanged.
16
+ - The Model Pro settings page uses the available column width instead of the 864px reading width. Other settings pages stay the same. Model Pro's own cards still have a width limit until that plugin is updated.
17
+
9
18
  ## 1.1.29 - 2026-10-06
10
19
 
11
20
  - Account-launcher settings navigation reports missing sections immediately, supports late launcher registration, and reads Settings shortcut hints when the shortcuts service becomes ready.
@@ -6,6 +6,15 @@
6
6
 
7
7
  ## 未发布
8
8
 
9
+ ## 1.1.31 - 2026-10-08
10
+
11
+ - macOS 普通窗口里,主侧栏不再被红绿灯挡住,包括品牌、搜索、收起按钮和窄轨(#38)。全屏、Windows 和浏览器不受影响。
12
+
13
+ ## 1.1.30 - 2026-10-07
14
+
15
+ - macOS 普通窗口里,设置页的返回和搜索不再被红绿灯挡住(#37)。全屏、Windows 和浏览器不受影响。
16
+ - 模型 Pro 设置页改用主栏可用宽度,不再限制在 864px。其他设置页宽度不变。模型 Pro 自己的卡片仍有宽度上限,要等该插件更新后才会完全拉开。
17
+
9
18
  ## 1.1.29 - 2026-10-06
10
19
 
11
20
  - 账号入口下的设置导航立即处理缺失分区,支持账号入口晚注册,并在快捷键服务就绪后显示设置快捷键提示。
package/lib/client.js CHANGED
@@ -7421,10 +7421,14 @@ body[data-we-sidebar-glass] .dcu-expanded-shell,body[data-we-sidebar-glass] .dcu
7421
7421
  .dcu-expanded-shell,.dcu-root:not(.dcu-compact)>.dcu-foot{width:var(--dcu-sidebar-expanded-width,240px);flex-shrink:0}
7422
7422
  /* 对齐 Codex 的半秒布局节奏;显式声明避免依赖宿主主题的动画 token。 */
7423
7423
  .dcu-root{position:relative}
7424
- .dcu-root.dcu-collapsing .dcu-compact-shell{position:absolute;left:0;top:calc((var(--dcu-header-height,34px) - 28px)/2);bottom:8px;display:flex;flex-direction:column;align-items:center;animation:dcu-sidebar-compact-in 500ms cubic-bezier(.16,1,.3,1)}
7424
+ .dcu-root.dcu-collapsing .dcu-compact-shell{position:absolute;left:0;top:calc(var(--dcu-sidebar-top-clearance,0px) + (var(--dcu-header-height,34px) - 28px)/2);bottom:8px;display:flex;flex-direction:column;align-items:center;animation:dcu-sidebar-compact-in 500ms cubic-bezier(.16,1,.3,1)}
7425
7425
  .dcu-root.dcu-collapsing .dcu-compact-shell .dcu-icon{width:36px;height:36px;flex:none}.dcu-root .dcu-compact-shell>.dcu-icon,.dcu-root.dcu-collapsing .dcu-compact-shell>.dcu-icon{width:28px;height:28px;flex:none;margin:0;padding:0;border-radius:50%}
7426
7426
  /* 收尾仅移除宽态层,窄轨不重复淡入,否则会在半秒处闪烁。 */
7427
7427
  .dcu-root.dcu-compact .dcu-compact-shell{animation:none}
7428
+ /* 原生交通灯覆盖网页顶部;宽态、窄轨和动画层共用宿主安全区,保持页脚在窗口内。 */
7429
+ .dcu-root{--dcu-sidebar-top-clearance:0px}
7430
+ html[data-platform=darwin]:not([data-fullscreen]) .dcu-root{--dcu-sidebar-top-clearance:var(--dsh-frame-top-clearance,48px);padding-top:var(--dcu-sidebar-top-clearance)}
7431
+ html[data-platform=darwin]:not([data-fullscreen]) .dcu-root.dcu-compact{padding-top:calc(var(--dcu-sidebar-top-clearance) + (var(--dcu-header-height,34px) - 28px)/2)}
7428
7432
  [data-dcu-codex-sidebar-initialized]{transition:grid-template-columns 500ms cubic-bezier(.16,1,.3,1)}
7429
7433
  /* dsh-better-sidebar 的 #root 布局规则会覆盖 transition 简写;合并两侧过渡而非只争抢左栏。 */
7430
7434
  #root [data-dcu-codex-sidebar-initialized]:not([data-dragging]){transition:grid-template-columns 500ms cubic-bezier(.16,1,.3,1),padding-right var(--ds-transition-duration-slow,.3s) var(--ds-ease-in-out,cubic-bezier(.4,0,.2,1))}
@@ -9889,6 +9893,8 @@ body[data-ds-dark-theme] .dcu-settings-page{--sp-bg:#181818;--sp-nav:var(--dcu-s
9889
9893
  .dcu-settings-page button{cursor:pointer}
9890
9894
  .dcu-settings-page :focus-visible{outline:2px solid #459cff;outline-offset:3px}
9891
9895
  .dcu-settings-nav{--sp-text:var(--dcu-sidebar-navigation,#4e5253);--sp-muted:var(--dcu-sidebar-secondary,#676b6c);--sp-hover:var(--dcu-sidebar-hover,#dfe8e5);--sp-active:var(--dcu-sidebar-hover,#dfe8e5);--sp-border:var(--dcu-sidebar-border,rgba(37,46,41,.10));display:flex;flex-direction:column;min-height:0;padding:18px 8px;background:var(--sp-nav);box-shadow:inset -1px 0 var(--sp-border);overflow-y:auto}
9896
+ /* macOS 普通窗口的原生按钮覆盖 Web 内容;沿用宿主标题栏安全区,仅抬高设置导航。 */
9897
+ html[data-platform=darwin]:not([data-fullscreen]) .dcu-settings-nav{padding-top:calc(var(--dsh-frame-top-clearance,48px) + 8px)}
9892
9898
  body[data-ds-dark-theme] .dcu-settings-nav{--sp-text:var(--dcu-sidebar-navigation,#b9bab9);--sp-muted:var(--dcu-sidebar-secondary,#909191);--sp-hover:var(--dcu-sidebar-hover,#303432);--sp-active:var(--dcu-sidebar-hover,#303432);--sp-border:var(--dcu-sidebar-border,rgba(255,255,255,.08))}
9893
9899
  .dcu-settings-back{display:flex;align-items:center;flex-shrink:0;gap:8px;width:100%;height:30px;padding:5px 8px;border:0;border-radius:10px;background:transparent;color:var(--sp-text);text-align:left}
9894
9900
  .dcu-settings-back:hover,.dcu-settings-link:hover{background:var(--sp-hover)}
@@ -9911,6 +9917,8 @@ body[data-ds-dark-theme] .dcu-settings-nav{--sp-text:var(--dcu-sidebar-navigatio
9911
9917
  .dcu-settings-empty{padding:8px;color:var(--sp-muted);font-size:13px}
9912
9918
  .dcu-settings-main{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;background:var(--sp-bg);scrollbar-width:thin;scrollbar-color:var(--sp-border) transparent}
9913
9919
  .dcu-settings-inner{width:min(100%,864px);margin:0 auto;padding:48px 48px}
9920
+ /* 模型 Pro 的多列表格按主栏宽度伸展;其他设置页仍保持易读的常规宽度。 */
9921
+ .dcu-settings-inner[data-settings-section=dsh-model-pro]{width:100%}
9914
9922
  .dcu-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
9915
9923
  .dcu-settings-heading h1,.dcu-settings-inner:is([data-settings-section=models],[data-settings-section=plugins],[data-settings-section=agent-presets]) [class$="_section"]>h2:is([class$="_title"],[class$="_heading"]){margin:0;font-size:24px;line-height:32px;font-weight:600;letter-spacing:-.4px}
9916
9924
  .dcu-settings-inner:is([data-settings-section=models],[data-settings-section=plugins],[data-settings-section=agent-presets]) [class$="_section"]>p[class$="_intro"]{margin:0;font-size:14px;line-height:22px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "1.1.29",
3
+ "version": "1.1.31",
4
4
  "description": "DSH Codex UI — 为 DeepSeek Harness Web 提供 Codex 风格侧栏、工作区会话树、全局搜索和轮次导航 · A Codex-style sidebar, workspace session tree, global search, and turn navigation for DSH Web",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -72,7 +72,7 @@
72
72
  "test": "pnpm run typecheck && vitest run && tsdown && node tests/run-assertions.mjs && pnpm run test:layout",
73
73
  "test:host": "node scripts/verify-settings-exit.mjs",
74
74
  "test:settings-backdrop": "node scripts/verify-settings-backdrop.mjs",
75
- "test:layout": "node scripts/verify-workspace-drop-layout.mjs --run && node scripts/verify-sidebar-transition.mjs && node scripts/verify-sidebar-expand-control.mjs && node scripts/verify-composer-style.mjs && node scripts/verify-new-conversation.mjs && node scripts/verify-composer-tools.mjs && node scripts/verify-hero-width.mjs && node scripts/verify-settings-backdrop.mjs && node scripts/verify-upstream-style-regressions.mjs",
75
+ "test:layout": "node scripts/verify-workspace-drop-layout.mjs --run && node scripts/verify-sidebar-transition.mjs && node scripts/verify-sidebar-expand-control.mjs && node scripts/verify-sidebar-titlebar.mjs && node scripts/verify-composer-style.mjs && node scripts/verify-new-conversation.mjs && node scripts/verify-composer-tools.mjs && node scripts/verify-hero-width.mjs && node scripts/verify-settings-backdrop.mjs && node scripts/verify-settings-geometry.mjs && node scripts/verify-upstream-style-regressions.mjs",
76
76
  "test:compat": "node scripts/run-compat-host.mjs"
77
77
  },
78
78
  "peerDependencies": {