@michengai/dsh-codex-ui 1.1.43 → 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 +11 -0
- package/CHANGELOG.zh-CN.md +11 -0
- package/lib/client.js +82 -46
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
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
|
+
|
|
8
|
+
## 1.1.44 (2026-10-20)
|
|
9
|
+
|
|
10
|
+
- Keep the settings navigation's Back and Search controls visible while the section list scrolls (#53).
|
|
11
|
+
- Prevent client initialization from failing when mirrored slot registrations have no component (#54).
|
|
12
|
+
- Keep the collapsed-sidebar conversation header clear of macOS window controls and prevent title controls and tabs from overflowing in narrow columns (#55).
|
|
13
|
+
|
|
3
14
|
## 1.1.43 (2026-10-19)
|
|
4
15
|
|
|
5
16
|
- Guard archived and released session references before opening, so clicking an archived conversation no longer blanks the renderer or triggers a reload loop. Archived deep links are cleaned up before they can be retried.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 1.1.45 (2026-10-20)
|
|
4
|
+
|
|
5
|
+
- 恢复 macOS 侧栏顶部与设置页顶部安全区的窗口拖动区域,保留按钮点击和输入框交互(#46)。
|
|
6
|
+
- 撤销宿主施加在设置浮层上的整窗不可拖动区域,新增拖动区域样式、全屏切换及其他平台的浏览器回归检查。尚未在 macOS 实机验证原生窗口移动。
|
|
7
|
+
|
|
8
|
+
## 1.1.44 (2026-10-20)
|
|
9
|
+
|
|
10
|
+
- 设置页左栏的「返回应用」与搜索框保持可见,仅设置分区列表滚动(#53)。
|
|
11
|
+
- 修复插槽镜像遇到无组件注册项时导致客户端初始化失败的问题(#54)。
|
|
12
|
+
- 修复 macOS 折叠侧栏下会话顶栏遮挡窗口控制区,以及窄栏中标题控件和页签溢出的问题(#55)。
|
|
13
|
+
|
|
3
14
|
## 1.1.43 (2026-10-19)
|
|
4
15
|
|
|
5
16
|
- 打开已归档或已释放的会话引用前先拦截,点击已归档会话不再导致整页空白或重载循环;归档深链会在重试前清理。
|
package/lib/client.js
CHANGED
|
@@ -2558,13 +2558,19 @@ window.__ModuleLoader__.load({
|
|
|
2558
2558
|
const CONVERSATION_HEADER_STYLE = `
|
|
2559
2559
|
header:has([data-dcu-inline-tabs]){box-sizing:border-box;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-height:var(--dcu-header-height,34px);padding-top:calc((var(--dcu-header-height,34px) - 28px)/2);padding-bottom:calc((var(--dcu-header-height,34px) - 28px)/2);border-bottom:0}
|
|
2560
2560
|
header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]){box-sizing:border-box;display:flex;flex-wrap:nowrap;align-items:center;gap:10px;min-height:var(--dcu-header-height,34px);padding-top:calc((var(--dcu-header-height,34px) - 28px)/2);padding-bottom:calc((var(--dcu-header-height,34px) - 28px)/2);border-bottom:0}
|
|
2561
|
+
/* titleRow 被摊平后不再生成盒子,宿主写在上面的窗口安全区内边距会整体丢失:
|
|
2562
|
+
macOS 折叠时顶栏内容会滑到红绿灯和 shell.leading 的打开/新建按钮下面。
|
|
2563
|
+
这里把等价留白补到 header 上,并用运行时窄轨宽度换算回同一绝对位置。 */
|
|
2564
|
+
header:has([data-dcu-inline-tabs]),
|
|
2565
|
+
header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]){padding-left:max(20px,calc(var(--dsh-frame-leading-clearance,0px) - var(--dcu-sidebar-rail-width,0px)))}
|
|
2561
2566
|
header:has([data-dcu-inline-tabs]):after{display:none;content:none}
|
|
2562
2567
|
header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]):after{display:none;content:none}
|
|
2563
2568
|
header:has([data-dcu-inline-tabs]) [class*="titleRow"],header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="titleRow"],header:has([data-dcu-inline-tabs]) [class*="titleCluster"],header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="titleCluster"]{display:contents}
|
|
2564
|
-
header:has([data-dcu-inline-tabs]) [class*="crumbs"],header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="crumbs"]{order:1;flex:0
|
|
2569
|
+
header:has([data-dcu-inline-tabs]) [class*="crumbs"],header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="crumbs"]{order:1;flex:0 999 auto;min-width:24px}
|
|
2570
|
+
header:has([data-dcu-inline-tabs]) [class*="crumbSeg"],header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="crumbSeg"]{flex:none}
|
|
2565
2571
|
header:has([data-dcu-inline-tabs]) [class*="headerActions"],header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="headerActions"]{order:2;flex:none}
|
|
2566
2572
|
header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="headerActions"]{margin-right:auto}
|
|
2567
|
-
header [data-dcu-inline-tabs]{box-sizing:border-box;order:3;flex:
|
|
2573
|
+
header [data-dcu-inline-tabs]{box-sizing:border-box;order:3;flex:0 1 auto;min-width:0;display:flex;align-items:center;gap:0;margin:0 0 0 auto;padding:0;height:28px;position:relative;z-index:1;overflow:hidden;border:1px solid var(--dsw-alias-border-subtle,rgba(255,255,255,.12));border-radius:8px;background:var(--dsw-alias-background-secondary,rgba(255,255,255,.025))}
|
|
2568
2574
|
header:has([data-dcu-inline-tabs]) [class*="headerUtilities"]{order:4;flex:none}
|
|
2569
2575
|
header:not(:has([data-dcu-inline-tabs])):has([class*="crumbCurrent"]) [class*="headerUtilities"]{order:4;flex:none}
|
|
2570
2576
|
/* 新版角落插槽被 display:contents 摊平后,需要独立排序并撤销嵌套布局的边距补偿。 */
|
|
@@ -6760,6 +6766,13 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6760
6766
|
}
|
|
6761
6767
|
const visibleSidebarWidths = /* @__PURE__ */ new WeakMap();
|
|
6762
6768
|
const hostSidebarSnapshots = /* @__PURE__ */ new WeakMap();
|
|
6769
|
+
/** 会话顶栏用它把宿主发布的窗口 chrome 安全区换算回窄轨之外的左内边距。 */
|
|
6770
|
+
const SIDEBAR_RAIL_WIDTH_VAR = "--dcu-sidebar-rail-width";
|
|
6771
|
+
/** 值不变时不再重写 style,避免与宿主重绘叠加时反复触发 style 监听。 */
|
|
6772
|
+
function writeSidebarRailWidth(frame, width) {
|
|
6773
|
+
const value = `${width}px`;
|
|
6774
|
+
if (frame.style.getPropertyValue(SIDEBAR_RAIL_WIDTH_VAR) !== value) frame.style.setProperty(SIDEBAR_RAIL_WIDTH_VAR, value);
|
|
6775
|
+
}
|
|
6763
6776
|
/** 记下插件改写前的宿主列宽。已经带初始化标记的列宽是本插件留下的,不能当成宿主原值。 */
|
|
6764
6777
|
function rememberHostSidebar(frame) {
|
|
6765
6778
|
if (hostSidebarSnapshots.has(frame) || frame.hasAttribute("data-dcu-codex-sidebar-initialized")) return;
|
|
@@ -6774,6 +6787,7 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6774
6787
|
function restoreHostSidebar(frame) {
|
|
6775
6788
|
frame.removeAttribute("data-dcu-codex-sidebar-initialized");
|
|
6776
6789
|
frame.style.removeProperty("--dcu-sidebar-expanded-width");
|
|
6790
|
+
frame.style.removeProperty(SIDEBAR_RAIL_WIDTH_VAR);
|
|
6777
6791
|
const html = frame.ownerDocument.documentElement;
|
|
6778
6792
|
const tracks = parseSidebarGrid(frame.style.gridTemplateColumns);
|
|
6779
6793
|
if (frame.hasAttribute("data-sidebar-collapsed")) {
|
|
@@ -6828,6 +6842,7 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6828
6842
|
const tracks = parseSidebarGrid(frame.style.gridTemplateColumns);
|
|
6829
6843
|
if (tracks === void 0 || frame.hasAttribute("data-sidebar-collapsed")) return false;
|
|
6830
6844
|
visibleSidebarWidths.set(frame, width);
|
|
6845
|
+
writeSidebarRailWidth(frame, 0);
|
|
6831
6846
|
const next = `${width}px ${tracks.middle} ${tracks.details}`;
|
|
6832
6847
|
const changed = frame.style.gridTemplateColumns !== next;
|
|
6833
6848
|
if (changed) frame.style.gridTemplateColumns = next;
|
|
@@ -6848,6 +6863,7 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6848
6863
|
const next = `56px ${tracks.middle} ${tracks.details}`;
|
|
6849
6864
|
const changed = frame.style.gridTemplateColumns !== next;
|
|
6850
6865
|
if (changed) frame.style.gridTemplateColumns = next;
|
|
6866
|
+
writeSidebarRailWidth(frame, 56);
|
|
6851
6867
|
if (frame.ownerDocument.documentElement.hasAttribute("data-windows-titlebar") && frame.style.getPropertyValue("--dsh-windows-sidebar-width") !== `56px`) frame.style.setProperty("--dsh-windows-sidebar-width", `56px`);
|
|
6852
6868
|
return changed;
|
|
6853
6869
|
}
|
|
@@ -6897,7 +6913,11 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
6897
6913
|
if (frame === void 0 || !frame.isConnected) watchFrame(findSidebarFrame(document));
|
|
6898
6914
|
if (frame !== void 0) {
|
|
6899
6915
|
rememberHostSidebar(frame);
|
|
6900
|
-
if (!canApplySlimSidebar(frame))
|
|
6916
|
+
if (!canApplySlimSidebar(frame)) {
|
|
6917
|
+
const rail = frame.hasAttribute("data-sidebar-collapsed") ? parseSidebarGrid(frame.style.gridTemplateColumns)?.sidebar ?? 0 : 0;
|
|
6918
|
+
writeSidebarRailWidth(frame, rail);
|
|
6919
|
+
return;
|
|
6920
|
+
}
|
|
6901
6921
|
if (frame.hasAttribute("data-sidebar-collapsed")) {
|
|
6902
6922
|
applySlimSidebar(frame);
|
|
6903
6923
|
return;
|
|
@@ -7542,7 +7562,9 @@ body[data-we-sidebar-glass] .dcu-expanded-shell,body[data-we-sidebar-glass] .dcu
|
|
|
7542
7562
|
.dcu-root.dcu-compact .dcu-compact-shell{animation:none}
|
|
7543
7563
|
/* 原生交通灯覆盖网页顶部;宽态、窄轨和动画层共用宿主安全区,保持页脚在窗口内。 */
|
|
7544
7564
|
.dcu-root{--dcu-sidebar-top-clearance:0px}
|
|
7545
|
-
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}
|
|
7546
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)}
|
|
7547
7569
|
[data-dcu-codex-sidebar-initialized]{transition:grid-template-columns 500ms cubic-bezier(.16,1,.3,1)}
|
|
7548
7570
|
/* dsh-better-sidebar 的 #root 布局规则会覆盖 transition 简写;合并两侧过渡而非只争抢左栏。 */
|
|
@@ -8174,6 +8196,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
8174
8196
|
children: [
|
|
8175
8197
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("header", {
|
|
8176
8198
|
className: "dcu-head",
|
|
8199
|
+
"data-window-drag": true,
|
|
8177
8200
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
8178
8201
|
type: "button",
|
|
8179
8202
|
className: "dcu-brand",
|
|
@@ -9788,9 +9811,10 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
|
|
|
9788
9811
|
//#region src/client/slot-mirror.tsx
|
|
9789
9812
|
const bridges = /* @__PURE__ */ new WeakMap();
|
|
9790
9813
|
const wrappers = /* @__PURE__ */ new WeakMap();
|
|
9791
|
-
/** Keep a real React component boundary and its hooks; translate only renderer-owned bindings. */
|
|
9792
9814
|
function withSlotAliases(Component, aliases) {
|
|
9815
|
+
if (typeof Component !== "function" && (typeof Component !== "object" || Component === null)) return Component;
|
|
9793
9816
|
const pairs = Object.entries(aliases).sort(([a], [b]) => a.localeCompare(b));
|
|
9817
|
+
if (pairs.length === 0) return Component;
|
|
9794
9818
|
const signature = JSON.stringify(pairs);
|
|
9795
9819
|
let cached = wrappers.get(Component);
|
|
9796
9820
|
if (!cached) wrappers.set(Component, cached = /* @__PURE__ */ new Map());
|
|
@@ -10319,7 +10343,13 @@ body[data-ds-dark-theme] .dcu-settings-page{--sp-bg:#181818;--sp-nav:var(--dcu-s
|
|
|
10319
10343
|
.dcu-settings-page button,.dcu-settings-page input{font:inherit}
|
|
10320
10344
|
.dcu-settings-page button{cursor:pointer}
|
|
10321
10345
|
.dcu-settings-page :focus-visible{outline:2px solid #459cff;outline-offset:3px}
|
|
10322
|
-
.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
|
|
10346
|
+
.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:hidden}
|
|
10347
|
+
/* 返回、插槽头与搜索框常驻,只有分区列表滚动。 */
|
|
10348
|
+
.dcu-settings-nav>*{flex:none}
|
|
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}
|
|
10323
10353
|
/* macOS 普通窗口的原生按钮覆盖 Web 内容;沿用宿主标题栏安全区,仅抬高设置导航。 */
|
|
10324
10354
|
html[data-platform=darwin]:not([data-fullscreen]) .dcu-settings-nav{padding-top:calc(var(--dsh-frame-top-clearance,48px) + 8px)}
|
|
10325
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))}
|
|
@@ -10421,6 +10451,7 @@ html[data-dsh-native-backdrop=mica] .dcu-settings-page,html[data-dsh-native-back
|
|
|
10421
10451
|
|
|
10422
10452
|
@media(max-width:900px){.dcu-settings-inner{padding:32px 28px}.dcu-settings-heading{align-items:flex-start;flex-direction:column;gap:12px}}
|
|
10423
10453
|
@media(max-width:600px){.dcu-settings-page{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.dcu-settings-nav{padding:8px 12px;max-height:220px;border-right:0;border-bottom:1px solid var(--sp-border)}.dcu-settings-search{margin:6px 0}.dcu-settings-groups{display:flex;gap:8px;overflow-x:auto;flex:none}.dcu-settings-group{display:flex;gap:4px;margin:0;flex:none}.dcu-settings-group-label{display:none}.dcu-settings-link{width:auto;min-height:40px;flex:none}.dcu-settings-link+.dcu-settings-link{margin-top:0}.dcu-settings-inner{padding:32px 16px}.dcu-settings-heading{margin-bottom:28px}.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"]){font-size:22px}.dcu-settings-card{padding:0 12px}.dcu-settings-row>[data-slot]>*{flex-wrap:wrap;gap:12px!important}.dcu-settings-general-group{margin-bottom:32px}}
|
|
10454
|
+
@media(max-height:180px){.dcu-settings-nav{overflow-y:auto}.dcu-settings-nav>.dcu-settings-scroll{flex:0 0 auto;overflow:visible}}
|
|
10424
10455
|
`;
|
|
10425
10456
|
//#endregion
|
|
10426
10457
|
//#region src/client/settings-focus.ts
|
|
@@ -10732,47 +10763,52 @@ html[data-dsh-native-backdrop=mica] .dcu-settings-page,html[data-dsh-native-back
|
|
|
10732
10763
|
}
|
|
10733
10764
|
})]
|
|
10734
10765
|
}),
|
|
10735
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
10736
|
-
className: "dcu-settings-
|
|
10766
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10767
|
+
className: "dcu-settings-scroll",
|
|
10737
10768
|
children: [
|
|
10738
|
-
"
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10774
|
-
|
|
10775
|
-
|
|
10769
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10770
|
+
className: "dcu-settings-groups",
|
|
10771
|
+
children: [
|
|
10772
|
+
"personal",
|
|
10773
|
+
"integrations",
|
|
10774
|
+
"records"
|
|
10775
|
+
].map((group) => {
|
|
10776
|
+
const entries = visible.filter((row) => settingsGroup(row.id) === group);
|
|
10777
|
+
return entries.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10778
|
+
className: "dcu-settings-group",
|
|
10779
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
|
|
10780
|
+
className: "dcu-settings-group-label",
|
|
10781
|
+
children: t(groupLabels[group])
|
|
10782
|
+
}), entries.map((row) => {
|
|
10783
|
+
const Icon = sectionIcon(row.id);
|
|
10784
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
10785
|
+
type: "button",
|
|
10786
|
+
className: "dcu-settings-link",
|
|
10787
|
+
"aria-current": row.id === active?.id ? "page" : void 0,
|
|
10788
|
+
onClick: () => {
|
|
10789
|
+
setActiveId(row.id);
|
|
10790
|
+
},
|
|
10791
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, {
|
|
10792
|
+
size: 16,
|
|
10793
|
+
strokeWidth: 1.6,
|
|
10794
|
+
"aria-hidden": "true"
|
|
10795
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: row.id === "general" ? t("settings.general") : row.label })]
|
|
10796
|
+
}, row.id);
|
|
10797
|
+
})]
|
|
10798
|
+
}, group);
|
|
10799
|
+
})
|
|
10800
|
+
}),
|
|
10801
|
+
visible.length > 0 && !visible.some((row) => row.id === active?.id) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10802
|
+
className: "dcu-settings-empty",
|
|
10803
|
+
role: "status",
|
|
10804
|
+
children: t("settings.filterHint")
|
|
10805
|
+
}),
|
|
10806
|
+
visible.length === 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
10807
|
+
className: "dcu-settings-empty",
|
|
10808
|
+
role: "status",
|
|
10809
|
+
children: t("settings.noResults")
|
|
10810
|
+
})
|
|
10811
|
+
]
|
|
10776
10812
|
})
|
|
10777
10813
|
]
|
|
10778
10814
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
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
|
},
|