@michengai/dsh-codex-ui 1.1.39 → 1.1.40

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.40 - 2026-10-15
8
+
9
+ - The Tasks tab shows workspace projects again. Channel conversations stay on the Channels tab.
10
+ - Settings keeps a stable section order: Account, General; Models, Agent presets, Built-in plugins, Plugin configuration, Experts, Skills, Pet, Connectors, Scheduled tasks, IM assistant; Archive, About. Unknown sections follow the known items in the same group.
11
+
7
12
  ## 1.1.39 - 2026-10-15
8
13
 
9
14
  - 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).
@@ -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.40 - 2026-10-15
8
+
9
+ - 「任务」页签重新显示工作区项目。频道会话仍留在「频道」页签。
10
+ - 设置页分区顺序固定为:账号、常规;模型、Agent 预设、内置插件、插件配置、专家、技能、宠物、连接器、定时任务、IM 助理;归档、关于。同组里不认识的项排在已知项后面。
11
+
7
12
  ## 1.1.39 - 2026-10-15
8
13
 
9
14
  - 插件注册的侧栏面板现在显示在「扩展」里,排在专家、技能、插件、连接器、定时任务和 IM 助理后面,并保留各插件自己的顺序。窄轨也有对应图标。未知面板不再被丢掉,也不再单独占在「新建任务」上面(#44)。
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.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.
27
+ Version `1.1.40` 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.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`。兼容范围声明不代表本次发布重新完成了所有宿主版本的实机测试。
27
+ `1.1.40` 已显式声明支持 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
@@ -9688,6 +9688,7 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
9688
9688
  ...renderSlotChain && { renderSlotChain }
9689
9689
  });
9690
9690
  }
9691
+ SlotAliases.displayName = Component.displayName;
9691
9692
  cached.set(signature, SlotAliases);
9692
9693
  return SlotAliases;
9693
9694
  }
@@ -10107,11 +10108,48 @@ html[data-dcu-official-turn-navigator-supported=true] .dcu-turn-navigator,html:h
10107
10108
  }
10108
10109
  //#endregion
10109
10110
  //#region src/client/settings-page-model.ts
10111
+ /** 已知分区的显示顺序由 UI 插件固定。各插件自带 order 只用于同组未知项之间。 */
10112
+ const SETTINGS_NAV = {
10113
+ personal: ["account", "general"],
10114
+ integrations: [
10115
+ "models",
10116
+ "agent-presets",
10117
+ "plugins",
10118
+ "plugin-config",
10119
+ "agency-agents",
10120
+ "skills-manager",
10121
+ "codex-pet",
10122
+ "connectors",
10123
+ "scheduled-tasks",
10124
+ "im-assistant"
10125
+ ],
10126
+ records: ["archived-sessions", "about"]
10127
+ };
10128
+ const GROUP_INDEX = {
10129
+ personal: 0,
10130
+ integrations: 1,
10131
+ records: 2
10132
+ };
10110
10133
  function settingsGroup(id) {
10134
+ for (const group of [
10135
+ "personal",
10136
+ "integrations",
10137
+ "records"
10138
+ ]) if (SETTINGS_NAV[group].includes(id)) return group;
10111
10139
  if (/archive|about/.test(id)) return "records";
10112
10140
  if (/^(general|appearance|theme|language|shortcuts|voice|account)$/.test(id)) return "personal";
10113
10141
  return "integrations";
10114
10142
  }
10143
+ /** 先按 UI 插件的固定顺位,未知项跟在同组已知项之后,彼此仍保持原 order。 */
10144
+ function orderSettingsRows(rows) {
10145
+ const rank = (row) => {
10146
+ const group = settingsGroup(row.id);
10147
+ const known = SETTINGS_NAV[group].indexOf(row.id);
10148
+ const item = known >= 0 ? known : SETTINGS_NAV[group].length + Math.min(Math.max(row.order, 0), 1e6) / 1e9;
10149
+ return GROUP_INDEX[group] * 1e3 + item;
10150
+ };
10151
+ return [...rows].sort((left, right) => rank(left) - rank(right) || left.id.localeCompare(right.id));
10152
+ }
10115
10153
  function filterSettingsRows(rows, query) {
10116
10154
  const needle = query.trim().toLocaleLowerCase();
10117
10155
  return needle === "" ? rows : rows.filter((row) => `${row.label} ${row.id}`.toLocaleLowerCase().includes(needle));
@@ -10466,7 +10504,7 @@ html[data-dsh-native-backdrop=mica] .dcu-settings-page,html[data-dsh-native-back
10466
10504
  (0, react.useEffect)(() => {
10467
10505
  if (main.current !== null) main.current.scrollTop = 0;
10468
10506
  }, [active?.id]);
10469
- const visible = filterSettingsRows(rows, query);
10507
+ const visible = orderSettingsRows(filterSettingsRows(rows, query));
10470
10508
  const ownTitle = active?.id === "general" ? t("settings.general") : active?.id === "plugin-config" ? t("settings.pluginConfig") : void 0;
10471
10509
  const connectionIndicator = connection === "disconnected" ? "disconnected" : connection === "connecting" ? "connecting" : recovered ? "recovered" : void 0;
10472
10510
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "1.1.39",
3
+ "version": "1.1.40",
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": {