@michengai/dsh-codex-ui 1.1.38 → 1.1.39

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
@@ -4,6 +4,11 @@
4
4
 
5
5
  This changelog records recent releases of DSH Codex UI. Earlier changes remain available in the [Git history](https://github.com/MichengAI/dsh-codex-ui/commits/main).
6
6
 
7
+ ## 1.1.39 - 2026-10-15
8
+
9
+ - Plugin sidebar panels now appear inside Extensions, after Experts, Skills, Plugins, Connectors, Scheduled tasks, and the IM assistant. They keep each plugin's own order, including on the compact rail. Unknown panels are no longer dropped, and they no longer sit above New task (#44).
10
+ - The footer still skips dsh-context's old `context-overview` button. The per-session Context tab is unchanged. The official Plugins panel stays hidden because Extensions already has Plugins. Context Insights from dsh-context 0.64.0 or newer shows up in Extensions.
11
+
7
12
  ## 1.1.38 - 2026-10-15
8
13
 
9
14
  - Support DSH `0.2.1-alpha.3` while retaining all existing supported versions; pin development `@deepseek-ai/dsh*` dependencies to host `0.2.1-alpha.3` and Cordis to `4.0.5-alpha.2`.
@@ -4,6 +4,11 @@
4
4
 
5
5
  本日志记录 DSH Codex UI 的最近发布;更早的变更可查看 [Git 提交历史](https://github.com/MichengAI/dsh-codex-ui/commits/main)。
6
6
 
7
+ ## 1.1.39 - 2026-10-15
8
+
9
+ - 插件注册的侧栏面板现在显示在「扩展」里,排在专家、技能、插件、连接器、定时任务和 IM 助理后面,并保留各插件自己的顺序。窄轨也有对应图标。未知面板不再被丢掉,也不再单独占在「新建任务」上面(#44)。
10
+ - 底部仍跳过 dsh-context 旧的 `context-overview` 按钮。会话里的上下文页没有变。官方插件面板仍不重复显示,因为扩展里已经有「插件」。dsh-context 0.64.0 及以上的「上下文洞察」会出现在扩展里。
11
+
7
12
  ## 1.1.38 - 2026-10-15
8
13
 
9
14
  - 支持 DSH `0.2.1-alpha.3`,继续兼容既有已支持版本;开发依赖中的 `@deepseek-ai/dsh*` 钉到宿主 `0.2.1-alpha.3`,Cordis 钉到 `4.0.5-alpha.2`。
package/README.md CHANGED
@@ -24,7 +24,7 @@ Working across several projects and conversations in DSH Web? DSH Codex UI helps
24
24
 
25
25
  ## Host compatibility
26
26
 
27
- Version `1.1.38` explicitly declares support for DSH `0.1.2-rc.1`, `0.1.5-rc.1`, `0.1.5-rc.2`, `0.1.5-rc.3`, `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.2`, and `0.2.1-alpha.3`. Development dependencies are pinned to `0.2.1-alpha.3`. Compatibility declarations do not imply that every supported host received a fresh live test in this release.
27
+ Version `1.1.39` explicitly declares support for DSH `0.1.2-rc.1`, `0.1.5-rc.1`, `0.1.5-rc.2`, `0.1.5-rc.3`, `0.1.7-rc.1`, `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-alpha.2`, and `0.2.1-alpha.3`. Development dependencies are pinned to `0.2.1-alpha.3`. Compatibility declarations do not imply that every supported host received a fresh live test in this release.
28
28
 
29
29
  **Do not enable Codex UI and `ds-bot` together.** Both redesign the sidebar and conversation interface, so their slot ownership and layout styles overlap. Disable or uninstall one before using the other.
30
30
 
package/README.zh-CN.md CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  ## 宿主兼容性
26
26
 
27
- `1.1.38` 已显式声明支持 DSH `0.1.2-rc.1`、`0.1.5-rc.1`、`0.1.5-rc.2`、`0.1.5-rc.3`、`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.2` 和 `0.2.1-alpha.3`。开发依赖钉在 `0.2.1-alpha.3`。兼容范围声明不代表本次发布重新完成了所有宿主版本的实机测试。
27
+ `1.1.39` 已显式声明支持 DSH `0.1.2-rc.1`、`0.1.5-rc.1`、`0.1.5-rc.2`、`0.1.5-rc.3`、`0.1.7-rc.1`、`0.1.7-rc.2`、`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-alpha.2` 和 `0.2.1-alpha.3`。开发依赖钉在 `0.2.1-alpha.3`。兼容范围声明不代表本次发布重新完成了所有宿主版本的实机测试。
28
28
 
29
29
  **不要同时启用 Codex UI 与 `ds-bot`。** 两者都重绘侧栏与会话界面,插槽归属和布局样式高度重叠。使用其中一个前,请先停用或卸载另一个。
30
30
 
package/lib/client.js CHANGED
@@ -531,23 +531,6 @@ window.__ModuleLoader__.load({
531
531
  }
532
532
  };
533
533
  }
534
- /** 展开和紧凑侧栏只列出宿主注册的全局面板,不额外插入返回会话的任务入口。 */
535
- function GlobalPanelButtons({ panels, activeId, wide, selectPanel, renderIcon }) {
536
- if (panels.length === 0) return null;
537
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: panels.map((panel) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
538
- type: "button",
539
- className: wide ? "dcu-global-panel" : "dcu-icon dcu-global-panel",
540
- "aria-label": panel.label,
541
- title: wide ? void 0 : panel.label,
542
- "aria-current": activeId === panel.id ? "page" : void 0,
543
- onClick: () => selectPanel(panel.id),
544
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
545
- className: "dcu-menu-icon",
546
- "aria-hidden": "true",
547
- children: renderIcon(panel.id, activeId === panel.id)
548
- }), wide && panel.label]
549
- }, panel.id)) });
550
- }
551
534
  /** 按用户要求用最窄宽度替代宿主自适应默认;已有有效偏好不重置,拖拽起点沿用宿主存储。 */
552
535
  function initializeComposerWidth(storage) {
553
536
  const key = "dsh.conversation.contentWidth";
@@ -7494,7 +7477,6 @@ html[data-windows-titlebar][data-fullscreen] .dcu-desktop-navigation{display:non
7494
7477
  const getEmptyPanels = () => emptyPanels;
7495
7478
  const useLegacyPanelInfo = (selector) => selector({ activePanelId: null });
7496
7479
  const stylesheet$3 = `
7497
- .dcu-global-panel[aria-current=page]{background:var(--dcu-sidebar-hover);font-weight:600}
7498
7480
 
7499
7481
  .dcu-root{--dcu-sidebar-background:#eef7f5;--dcu-sidebar-primary:#393d3e;--dcu-sidebar-secondary:#676b6c;--dcu-sidebar-tertiary:#9a9f9f;--dcu-sidebar-navigation:#4e5253;--dcu-sidebar-icon:#4e5253;--dcu-sidebar-hover:#dfe8e5;--dcu-sidebar-border:rgba(37,46,41,.10);--dcu-tip-bg:#ffffff;--dcu-tip-shadow:0 10px 32px rgba(31,39,36,.22);width:100%;height:100%;min-width:0;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;background:var(--dcu-sidebar-background);color:var(--dcu-sidebar-primary);font:14px/20px var(--dsw-font-family)}body[data-ds-dark-theme] .dcu-root{--dcu-sidebar-background:#1d2120;--dcu-sidebar-primary:#b9bab9;--dcu-sidebar-secondary:#909191;--dcu-sidebar-tertiary:#666867;--dcu-sidebar-navigation:#b9bab9;--dcu-sidebar-icon:#afafaf;--dcu-sidebar-hover:#303432;--dcu-sidebar-border:rgba(255,255,255,.08);--dcu-tip-bg:#2a2a2a;--dcu-tip-shadow:0 10px 30px rgba(0,0,0,.28)}
7500
7482
  /* 滤镜只作用于背景,避免为设置和搜索等 fixed 后代创建侧栏包含块。 */
@@ -7876,22 +7858,10 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
7876
7858
  });
7877
7859
  /** Codex 风格的 DSH 侧栏,只替换导航外观,项目浏览和设置仍由 DSH 官方组件提供。 */
7878
7860
  function CodexSidebar({ workspaceShortcuts, navigationHistory, globalPanels, footerActions, selectPanel, usePanelInfo = useLegacyPanelInfo, collapsed, width, openSession, startSession, toggleSidebar, archiveSession, canDeleteSession, deleteSession, forkSession, moveSession, renameSession, openPath, companionSlots, renderSlot, t, useSessions, useSessionPendingInteraction, useSessionStatus, useWorkspaces, prefillNewConversation, newConversationDraft }) {
7879
- const panels = (0, react.useSyncExternalStore)(globalPanels?.subscribe ?? subscribeEmptyCompanionTabs, globalPanels?.getSnapshot ?? getEmptyPanels, globalPanels?.getSnapshot ?? getEmptyPanels);
7880
- const extensionPanels = panels.filter((panel) => panel.id === "schedules");
7881
- const topPanels = panels.filter((panel) => panel.id !== "schedules");
7861
+ const extensionPanels = [...(0, react.useSyncExternalStore)(globalPanels?.subscribe ?? subscribeEmptyCompanionTabs, globalPanels?.getSnapshot ?? getEmptyPanels, globalPanels?.getSnapshot ?? getEmptyPanels)].sort((left, right) => left.order - right.order);
7882
7862
  const visibleFooterActions = (0, react.useSyncExternalStore)(footerActions?.subscribe ?? subscribeEmptyCompanionTabs, footerActions?.getSnapshot ?? getEmptyFooterActions, footerActions?.getSnapshot ?? getEmptyFooterActions);
7883
7863
  const activePanelId = usePanelInfo((info) => info.activePanelId);
7884
7864
  const panelActive = activePanelId !== null && activePanelId !== "";
7885
- const panelButtons = (wide) => selectPanel === void 0 ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GlobalPanelButtons, {
7886
- panels: topPanels,
7887
- activeId: activePanelId,
7888
- wide,
7889
- selectPanel,
7890
- renderIcon: (id, active) => renderSlot("sidebar.panellist", {
7891
- size: 16,
7892
- active
7893
- }, { only: id })
7894
- });
7895
7865
  const compact = collapsed || width < 80;
7896
7866
  const [visualCompact, setVisualCompact] = (0, react.useState)(compact);
7897
7867
  const [collapsing, setCollapsing] = (0, react.useState)(false);
@@ -8126,110 +8096,106 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
8126
8096
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
8127
8097
  className: "dcu-menu",
8128
8098
  "aria-label": t("sidebar.mainMenu"),
8129
- children: [
8130
- panelButtons(true),
8131
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8099
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8100
+ type: "button",
8101
+ onClick: () => {
8102
+ beginSession();
8103
+ },
8104
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconNewChatOutlineMedium, { size: 16 }) }), t("sidebar.newTask")]
8105
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
8106
+ className: "dcu-extensions-group",
8107
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8132
8108
  type: "button",
8109
+ className: "dcu-extensions-toggle",
8110
+ "aria-expanded": extensionsOpen,
8111
+ "aria-controls": "dcu-extension-items",
8133
8112
  onClick: () => {
8134
- beginSession();
8113
+ setExtensionsOpen((open) => {
8114
+ const next = !open;
8115
+ writeExtensionsOpen(next);
8116
+ return next;
8117
+ });
8135
8118
  },
8136
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconNewChatOutlineMedium, { size: 16 }) }), t("sidebar.newTask")]
8137
- }),
8138
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
8139
- className: "dcu-extensions-group",
8140
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8141
- type: "button",
8142
- className: "dcu-extensions-toggle",
8143
- "aria-expanded": extensionsOpen,
8144
- "aria-controls": "dcu-extension-items",
8145
- onClick: () => {
8146
- setExtensionsOpen((open) => {
8147
- const next = !open;
8148
- writeExtensionsOpen(next);
8149
- return next;
8150
- });
8151
- },
8152
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
8153
- className: "dcu-extension-leading",
8154
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconEnhanceOutlineMedium, {
8155
- className: "dcu-extension-default-icon",
8156
- size: 16
8157
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutlineMedium, { className: "dcu-extension-state-arrow" })]
8158
- }) }), t("sidebar.extensions")]
8159
- }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
8160
- id: "dcu-extension-items",
8161
- className: "dcu-extension-panel",
8162
- "data-open": extensionsOpen,
8163
- "aria-hidden": !extensionsOpen,
8164
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
8165
- className: "dcu-extension-panel-inner",
8166
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
8167
- className: "dcu-extension-items",
8168
- children: [
8169
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8170
- type: "button",
8171
- tabIndex: extensionsOpen ? 0 : -1,
8172
- onClick: () => {
8173
- selectExternalSection(t("sidebar.experts"));
8174
- },
8175
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconUserOutlineMedium, { size: 16 }) }), t("sidebar.experts")]
8176
- }),
8177
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8178
- type: "button",
8179
- tabIndex: extensionsOpen ? 0 : -1,
8180
- onClick: () => {
8181
- selectExternalSection(t("sidebar.skills"));
8182
- },
8183
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSkillOutlineMedium, { size: 16 }) }), t("sidebar.skills")]
8184
- }),
8185
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8186
- type: "button",
8187
- tabIndex: extensionsOpen ? 0 : -1,
8188
- onClick: () => {
8189
- openPlugins();
8190
- },
8191
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconPersonalizationOutlineMedium, { size: 16 }) }), t("sidebar.plugins")]
8192
- }),
8193
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8194
- type: "button",
8195
- tabIndex: extensionsOpen ? 0 : -1,
8196
- onClick: () => {
8197
- selectSection(t("sidebar.connectors"));
8198
- },
8199
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutlineMedium, { size: 16 }) }), t("sidebar.connectors")]
8200
- }),
8201
- extensionPanels.map((panel) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8202
- type: "button",
8203
- tabIndex: extensionsOpen ? 0 : -1,
8204
- "aria-current": activePanelId === panel.id ? "page" : void 0,
8205
- onClick: () => {
8206
- selectPanel?.(panel.id);
8207
- },
8208
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: renderSlot("sidebar.panellist", {
8209
- size: 16,
8210
- active: activePanelId === panel.id
8211
- }, { only: panel.id }) }), panel.label]
8212
- }, panel.id)),
8213
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8214
- type: "button",
8215
- tabIndex: extensionsOpen ? 0 : -1,
8216
- onClick: () => {
8217
- selectExternalSection(t("sidebar.schedule"));
8218
- },
8219
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScheduleIcon, {}) }), t("sidebar.schedule")]
8220
- }),
8221
- /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8222
- type: "button",
8223
- tabIndex: extensionsOpen ? 0 : -1,
8224
- onClick: openImSettings,
8225
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImAssistantIcon, {}) }), t("sidebar.assistant")]
8226
- })
8227
- ]
8228
- })
8119
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
8120
+ className: "dcu-extension-leading",
8121
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconEnhanceOutlineMedium, {
8122
+ className: "dcu-extension-default-icon",
8123
+ size: 16
8124
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutlineMedium, { className: "dcu-extension-state-arrow" })]
8125
+ }) }), t("sidebar.extensions")]
8126
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
8127
+ id: "dcu-extension-items",
8128
+ className: "dcu-extension-panel",
8129
+ "data-open": extensionsOpen,
8130
+ "aria-hidden": !extensionsOpen,
8131
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
8132
+ className: "dcu-extension-panel-inner",
8133
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
8134
+ className: "dcu-extension-items",
8135
+ children: [
8136
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8137
+ type: "button",
8138
+ tabIndex: extensionsOpen ? 0 : -1,
8139
+ onClick: () => {
8140
+ selectExternalSection(t("sidebar.experts"));
8141
+ },
8142
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconUserOutlineMedium, { size: 16 }) }), t("sidebar.experts")]
8143
+ }),
8144
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8145
+ type: "button",
8146
+ tabIndex: extensionsOpen ? 0 : -1,
8147
+ onClick: () => {
8148
+ selectExternalSection(t("sidebar.skills"));
8149
+ },
8150
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSkillOutlineMedium, { size: 16 }) }), t("sidebar.skills")]
8151
+ }),
8152
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8153
+ type: "button",
8154
+ tabIndex: extensionsOpen ? 0 : -1,
8155
+ onClick: () => {
8156
+ openPlugins();
8157
+ },
8158
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconPersonalizationOutlineMedium, { size: 16 }) }), t("sidebar.plugins")]
8159
+ }),
8160
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8161
+ type: "button",
8162
+ tabIndex: extensionsOpen ? 0 : -1,
8163
+ onClick: () => {
8164
+ selectSection(t("sidebar.connectors"));
8165
+ },
8166
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutlineMedium, { size: 16 }) }), t("sidebar.connectors")]
8167
+ }),
8168
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8169
+ type: "button",
8170
+ tabIndex: extensionsOpen ? 0 : -1,
8171
+ onClick: () => {
8172
+ selectExternalSection(t("sidebar.schedule"));
8173
+ },
8174
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScheduleIcon, {}) }), t("sidebar.schedule")]
8175
+ }),
8176
+ /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8177
+ type: "button",
8178
+ tabIndex: extensionsOpen ? 0 : -1,
8179
+ onClick: openImSettings,
8180
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImAssistantIcon, {}) }), t("sidebar.assistant")]
8181
+ }),
8182
+ extensionPanels.map((panel) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
8183
+ type: "button",
8184
+ tabIndex: extensionsOpen ? 0 : -1,
8185
+ "aria-current": activePanelId === panel.id ? "page" : void 0,
8186
+ onClick: () => {
8187
+ selectPanel?.(panel.id);
8188
+ },
8189
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuIcon, { children: renderSlot("sidebar.panellist", {
8190
+ size: 16,
8191
+ active: activePanelId === panel.id
8192
+ }, { only: panel.id }) }), panel.label]
8193
+ }, panel.id))
8194
+ ]
8229
8195
  })
8230
- })]
8231
- })
8232
- ]
8196
+ })
8197
+ })]
8198
+ })]
8233
8199
  }),
8234
8200
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
8235
8201
  className: showCompanionTabs ? "dcu-workspaces dcu-workspaces-tabs" : "dcu-workspaces",
@@ -8326,7 +8292,6 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
8326
8292
  className: "dcu-compact-nav",
8327
8293
  "aria-label": t("sidebar.mainMenu"),
8328
8294
  children: [
8329
- panelButtons(false),
8330
8295
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
8331
8296
  type: "button",
8332
8297
  className: "dcu-icon",
@@ -8379,19 +8344,6 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
8379
8344
  },
8380
8345
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutlineMedium, { size: 16 })
8381
8346
  }),
8382
- extensionPanels.map((panel) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
8383
- type: "button",
8384
- className: "dcu-icon",
8385
- "aria-label": panel.label,
8386
- title: panel.label,
8387
- onClick: () => {
8388
- selectPanel?.(panel.id);
8389
- },
8390
- children: renderSlot("sidebar.panellist", {
8391
- size: 16,
8392
- active: activePanelId === panel.id
8393
- }, { only: panel.id })
8394
- }, panel.id)),
8395
8347
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
8396
8348
  type: "button",
8397
8349
  className: "dcu-icon",
@@ -8407,7 +8359,20 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
8407
8359
  "aria-label": t("sidebar.assistant"),
8408
8360
  onClick: openImSettings,
8409
8361
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ImAssistantIcon, {})
8410
- })
8362
+ }),
8363
+ extensionPanels.map((panel) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
8364
+ type: "button",
8365
+ className: "dcu-icon",
8366
+ "aria-label": panel.label,
8367
+ title: panel.label,
8368
+ onClick: () => {
8369
+ selectPanel?.(panel.id);
8370
+ },
8371
+ children: renderSlot("sidebar.panellist", {
8372
+ size: 16,
8373
+ active: activePanelId === panel.id
8374
+ }, { only: panel.id })
8375
+ }, panel.id))
8411
8376
  ]
8412
8377
  })]
8413
8378
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
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": {