@michengai/dsh-codex-ui 1.1.44 → 1.1.45
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 +5 -0
- package/CHANGELOG.zh-CN.md +5 -0
- package/lib/client.js +7 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.45 (2026-10-20)
|
|
4
|
+
|
|
5
|
+
- Restore macOS window-drag regions in the sidebar header and the top safe area of Settings, while keeping buttons and inputs interactive (#46).
|
|
6
|
+
- Remove the full-window no-drag region applied to the Settings overlay by the host. Add browser regression coverage for the drag-region styles, fullscreen transitions, and other platforms. Native macOS window movement has not been tested on hardware.
|
|
7
|
+
|
|
3
8
|
## 1.1.44 (2026-10-20)
|
|
4
9
|
|
|
5
10
|
- Keep the settings navigation's Back and Search controls visible while the section list scrolls (#53).
|
package/CHANGELOG.zh-CN.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -7562,7 +7562,9 @@ body[data-we-sidebar-glass] .dcu-expanded-shell,body[data-we-sidebar-glass] .dcu
|
|
|
7562
7562
|
.dcu-root.dcu-compact .dcu-compact-shell{animation:none}
|
|
7563
7563
|
/* 原生交通灯覆盖网页顶部;宽态、窄轨和动画层共用宿主安全区,保持页脚在窗口内。 */
|
|
7564
7564
|
.dcu-root{--dcu-sidebar-top-clearance:0px}
|
|
7565
|
-
html[data-platform=darwin]:not([data-fullscreen]) .dcu-root{
|
|
7565
|
+
html[data-platform=darwin]:not([data-fullscreen]) .dcu-root{position:relative;--dcu-sidebar-top-clearance:var(--dsh-frame-top-clearance,48px);padding-top:var(--dcu-sidebar-top-clearance)}
|
|
7566
|
+
/* 只开放顶部空白安全区,不让项目列表、窄轨按钮成为窗口拖动区域。 */
|
|
7567
|
+
html[data-platform=darwin]:not([data-fullscreen]) .dcu-root::after{content:"";position:absolute;inset:0 0 auto;height:var(--dcu-sidebar-top-clearance);pointer-events:none;-webkit-app-region:drag}
|
|
7566
7568
|
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)}
|
|
7567
7569
|
[data-dcu-codex-sidebar-initialized]{transition:grid-template-columns 500ms cubic-bezier(.16,1,.3,1)}
|
|
7568
7570
|
/* dsh-better-sidebar 的 #root 布局规则会覆盖 transition 简写;合并两侧过渡而非只争抢左栏。 */
|
|
@@ -8194,6 +8196,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
8194
8196
|
children: [
|
|
8195
8197
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
|
|
8196
8198
|
className: "dcu-head",
|
|
8199
|
+
"data-window-drag": true,
|
|
8197
8200
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8198
8201
|
type: "button",
|
|
8199
8202
|
className: "dcu-brand",
|
|
@@ -10344,6 +10347,9 @@ body[data-ds-dark-theme] .dcu-settings-page{--sp-bg:#181818;--sp-nav:var(--dcu-s
|
|
|
10344
10347
|
/* 返回、插槽头与搜索框常驻,只有分区列表滚动。 */
|
|
10345
10348
|
.dcu-settings-nav>*{flex:none}
|
|
10346
10349
|
.dcu-settings-nav>.dcu-settings-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--sp-border) transparent}
|
|
10350
|
+
/* body 直属浮层被宿主整层标为 no-drag;撤销整层扣除,仅开放顶部安全区。 */
|
|
10351
|
+
html[data-platform=darwin] body>.dcu-settings-page:not(#root){-webkit-app-region:initial}
|
|
10352
|
+
html[data-platform=darwin]:not([data-fullscreen]) .dcu-settings-page::after{content:"";position:absolute;inset:0 0 auto;height:var(--dsh-frame-top-clearance,48px);pointer-events:none;-webkit-app-region:drag}
|
|
10347
10353
|
/* macOS 普通窗口的原生按钮覆盖 Web 内容;沿用宿主标题栏安全区,仅抬高设置导航。 */
|
|
10348
10354
|
html[data-platform=darwin]:not([data-fullscreen]) .dcu-settings-nav{padding-top:calc(var(--dsh-frame-top-clearance,48px) + 8px)}
|
|
10349
10355
|
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))}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-codex-ui",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.45",
|
|
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-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",
|
|
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 && node scripts/verify-window-drag.mjs",
|
|
76
76
|
"test:compat": "node scripts/run-compat-host.mjs",
|
|
77
77
|
"test:fallback-host": "node scripts/verify-plugin-fallback-host.mjs"
|
|
78
78
|
},
|