@michengai/dsh-codex-ui 2.2.0 → 2.2.1

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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.2.1] - 2026-11-13
4
+
5
+ - **Sidebar New Session & Navigation Visibility Fix (Issue #96)**: Fixed an issue where the "New Session" button and custom sidebar navigation items (Tasks, Channels, Scheduled, etc.) disappeared and left a blank area on DeepSeek Harness `0.2.2-rc.3`; added fallback safeguards to ensure native sidebar controls remain visible and functional in all conditions.
6
+ - **Host Compatibility & Support Matrix Alignment**: Verified full compatibility with DeepSeek Harness `0.2.2-rc.3` (covering all `0.2.x` RC hosts from `0.2.0-rc.1` through `0.2.2-rc.3`), aligned development dependencies with `0.2.2-rc.3`, and updated verified host lists across all documentation.
7
+
3
8
  ## [2.2.0] - 2026-11-13
4
9
 
5
10
  - **Mobile Web & Touch Experience Upgrade (PR #93)**:
@@ -1,5 +1,10 @@
1
1
  # 更新日志
2
2
 
3
+ ## [2.2.1] - 2026-11-13
4
+
5
+ - **侧栏新会话与导航栏显示修复(Issue #96)**:修复了在 DeepSeek Harness `0.2.2-rc.3` 宿主环境下,展开侧栏时左上角「新建会话」按钮及同组导航项(任务/频道/定时等)消失不见、呈现大面积空白的问题;优化了挂载容错保障,确保在任何异常情况下侧栏原生入口均能平稳回退并保持可用。
6
+ - **宿主兼容性与支持矩阵对齐**:完成 DeepSeek Harness `0.2.2-rc.3` 全量兼容性验证,全面覆盖 `0.2.0-rc.1` 至 `0.2.2-rc.3` 全系列 RC 宿主,开发依赖与多语言说明文档中的支持矩阵同步更新。
7
+
3
8
  ## [2.2.0] - 2026-11-13
4
9
 
5
10
  - **移动端与触屏体验全面升级(PR #93)**:
package/README.de.md CHANGED
@@ -142,7 +142,7 @@ Direkte Aktionen an jeder Konversation: Anheften, Umbenennen, Als ungelesen/gele
142
142
  ## Host-Kompatibilität
143
143
 
144
144
  * **Unterstützte Generationen**: Vollständige DeepSeek Harness `0.2.x`-Reihe (`>=0.2.0-rc.1 <0.3.0-0`);
145
- * **Geprüfte Builds**: Alle `0.2.x` Release Candidates (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`);
145
+ * **Geprüfte Builds**: Alle `0.2.x` Release Candidates (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`–`0.2.2-rc.3`);
146
146
  * **Laufzeit-Anforderungen**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
147
147
 
148
148
  > ⚠️ **Wichtiger Hinweis**: Aktivieren Sie Codex UI und `ds-bot` nicht gleichzeitig, da beide Modifikationen an der Seitenleiste vornehmen.
package/README.en.md CHANGED
@@ -147,7 +147,7 @@ Quick actions directly on session rows: Pin, Rename, Unread marker, Archive, For
147
147
  ## Host Compatibility
148
148
 
149
149
  * **Supported Generations**: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`);
150
- * **Verified Builds**: Supports every `0.2.x` RC (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`, and `0.2.2-rc.2`); intermediate alphas are not part of the support matrix;
150
+ * **Verified Builds**: Supports every `0.2.x` RC (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`–`0.2.2-rc.3`); intermediate alphas are not part of the support matrix;
151
151
  * **Runtime Requirements**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
152
152
 
153
153
  > ⚠️ **Notice**: Do not enable Codex UI and `ds-bot` concurrently. Both redesign sidebar and session slots with overlapping layout mechanics. Disable or uninstall one before enabling the other.
package/README.es.md CHANGED
@@ -142,7 +142,7 @@ Acciones inmediatas en cada conversación: Fijar, Renombrar, Marcar como no leí
142
142
  ## Compatibilidad del Host
143
143
 
144
144
  * **Versiones Soportadas**: Familia DeepSeek Harness `0.2.x` (`>=0.2.0-rc.1 <0.3.0-0`);
145
- * **Compilaciones Verificadas**: Todos los RC de `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`);
145
+ * **Compilaciones Verificadas**: Todos los RC de `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`–`0.2.2-rc.3`);
146
146
  * **Requisitos de Entorno**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
147
147
 
148
148
  > ⚠️ **Aviso**: No active simultáneamente Codex UI y `ds-bot`. Ambos rediseñan ranuras de la barra lateral con mecánicas que pueden solaparse.
package/README.fr.md CHANGED
@@ -142,7 +142,7 @@ Actions rapides sur chaque session : Épingler, Renommer, Marquer non lu/lu, Arc
142
142
  ## Compatibilité avec l'Hôte
143
143
 
144
144
  * **Générations Prises en Charge** : Famille DeepSeek Harness `0.2.x` (`>=0.2.0-rc.1 <0.3.0-0`) ;
145
- * **Versions Validées** : Toutes les versions RC de `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`) ;
145
+ * **Versions Validées** : Toutes les versions RC de `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`–`0.2.2-rc.3`) ;
146
146
  * **Prérequis d'Exécution** : Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
147
147
 
148
148
  > ⚠️ **Attention** : N'activez pas simultanément Codex UI et `ds-bot`. Les deux extensions modifient les emplacements de la barre latérale avec des risques d'interférence.
package/README.ja.md CHANGED
@@ -142,7 +142,7 @@ Ambient Ground の拡散光グラデーションを採用した Codex Light 配
142
142
  ## ホスト互換性
143
143
 
144
144
  * **サポート対象世代**:DeepSeek Harness `0.2.x` 全系(`>=0.2.0-rc.1 <0.3.0-0`);
145
- * **検証済みビルド**:すべての `0.2.x` RC(`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`~`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`);
145
+ * **検証済みビルド**:すべての `0.2.x` RC(`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`~`0.2.1-rc.5`, `0.2.2-rc.1`~`0.2.2-rc.3`);
146
146
  * **実行要件**:Node.js `^22.19.0 || >=24.0.0`、pnpm `^11.0.0`。
147
147
 
148
148
  > ⚠️ **注意事項**:Codex UI と `ds-bot` を同時に有効化しないでください。サイドバーやセッションスロットの再設計が競合します。一方を有効にする前に、もう一方を無効化またはアンインストールしてください。
package/README.md CHANGED
@@ -147,7 +147,7 @@
147
147
  ## 宿主兼容性
148
148
 
149
149
  * **支持范围**:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`);
150
- * **实测验证**:支持矩阵为全部 `0.2.x` RC(`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`);中间版本阿尔法不在支持范围内;
150
+ * **实测验证**:支持矩阵为全部 `0.2.x` RC(`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`~`0.2.2-rc.3`);中间版本阿尔法不在支持范围内;
151
151
  * **环境要求**:Node.js `^22.19.0 || >=24.0.0`,pnpm `^11.0.0`。
152
152
 
153
153
  > ⚠️ **互斥提示**:请勿同时启用 Codex UI 与 `ds-bot`。两者均重塑侧栏与主会话插槽,功能重叠。启用前请先停用或卸载另一个。
package/README.pt.md CHANGED
@@ -142,7 +142,7 @@ Ações imediatas na lista de conversas: Fixar, Renomear, Marcar como não lido/
142
142
  ## Compatibilidade com o Host
143
143
 
144
144
  * **Gerações Suportadas**: Linha completa DeepSeek Harness `0.2.x` (`>=0.2.0-rc.1 <0.3.0-0`);
145
- * **Compilações Verificadas**: Todas as versões Release Candidate `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`);
145
+ * **Compilações Verificadas**: Todas as versões Release Candidate `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`–`0.2.2-rc.3`);
146
146
  * **Requisitos de Execução**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
147
147
 
148
148
  > ⚠️ **Aviso**: Não habilite o Codex UI e o `ds-bot` simultaneamente, pois ambos alteram os slots da barra lateral com potenciais conflitos.
package/README.ru.md CHANGED
@@ -142,7 +142,7 @@
142
142
  ## Совместимость с хостом
143
143
 
144
144
  * **Поддерживаемые поколения**: Семейство DeepSeek Harness `0.2.x` (`>=0.2.0-rc.1 <0.3.0-0`);
145
- * **Проверенные сборки**: Все релиз-кандидаты `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`, `0.2.2-rc.2`);
145
+ * **Проверенные сборки**: Все релиз-кандидаты `0.2.x` (`0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`–`0.2.1-rc.5`, `0.2.2-rc.1`–`0.2.2-rc.3`);
146
146
  * **Требования к окружению**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
147
147
 
148
148
  > ⚠️ **Предупреждение**: Не включайте одновременно Codex UI и `ds-bot`, так как они оба модифицируют боковую панель.
package/README.zh-CN.md CHANGED
@@ -147,7 +147,7 @@
147
147
  ## 宿主兼容性
148
148
 
149
149
  * **支持范围**:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`);
150
- * **实测验证**:支持矩阵为全部 `0.2.x` RC(`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`、`0.2.2-rc.2`);中间版本阿尔法不在支持范围内;
150
+ * **实测验证**:支持矩阵为全部 `0.2.x` RC(`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`~`0.2.1-rc.5`、`0.2.2-rc.1`~`0.2.2-rc.3`);中间版本阿尔法不在支持范围内;
151
151
  * **环境要求**:Node.js `^22.19.0 || >=24.0.0`,pnpm `^11.0.0`。
152
152
 
153
153
  > ⚠️ **互斥提示**:请勿同时启用 Codex UI 与 `ds-bot`。两者均重塑侧栏与主会话插槽,功能重叠。启用前请先停用或卸载另一个。
package/lib/client.js CHANGED
@@ -12189,7 +12189,8 @@ html[data-dcu-mobile-web] [data-shortcut-modal="settings"][role="dialog"] {
12189
12189
  const SIDEBAR_STYLES_ID = "michengai-codex-ui-sidebar-styles";
12190
12190
  const SIDEBAR_ACTIVE_ATTR = "data-dcu-sidebar-active";
12191
12191
  const SIDEBAR_CSS = `
12192
- /* 仅在展开态隐藏宿主原生 newSession 和 panelList;折叠收缩态 100% 对齐宿主官方 56px 原生导轨 */
12192
+ /* 仅在展开态隐藏宿主原生 newSession/newSessionRow 和 panelList;折叠收缩态 100% 对齐宿主官方 56px 原生导轨 */
12193
+ [${SIDEBAR_ACTIVE_ATTR}]:not([class*="collapsed"]) [class*="newSessionRow"],
12193
12194
  [${SIDEBAR_ACTIVE_ATTR}]:not([class*="collapsed"]) button[class*="newSession"],
12194
12195
  [${SIDEBAR_ACTIVE_ATTR}]:not([class*="collapsed"]) nav[class*="panelList"] {
12195
12196
  display: none !important;
@@ -12548,15 +12549,28 @@ html[data-dcu-mobile-web] [data-shortcut-modal="settings"][role="dialog"] {
12548
12549
  if (!nativeNewSession) return;
12549
12550
  const sidebarRoot = nativeNewSession.closest("[class*=\"root\"]") || nativeNewSession.parentElement;
12550
12551
  if (!sidebarRoot) return;
12552
+ let mountAnchor = nativeNewSession;
12553
+ while (mountAnchor.parentElement && mountAnchor.parentElement !== sidebarRoot) mountAnchor = mountAnchor.parentElement;
12554
+ if (mountAnchor.parentElement !== sidebarRoot) return;
12551
12555
  if (!cleanupStyles) cleanupStyles = injectSidebarStyles();
12552
- sidebarRoot.setAttribute(SIDEBAR_ACTIVE_ATTR, "true");
12553
- currentSidebarRoot = sidebarRoot;
12554
12556
  const container = document.createElement("div");
12555
12557
  container.className = CONTAINER_CLASS;
12556
12558
  container.setAttribute("data-dcu-managed", "true");
12557
- sidebarRoot.insertBefore(container, nativeNewSession);
12558
- currentContainer = container;
12559
- (0, react_dom.render)(react.default.createElement(SidebarNav, { ctx }), container);
12559
+ try {
12560
+ sidebarRoot.insertBefore(container, mountAnchor);
12561
+ currentContainer = container;
12562
+ (0, react_dom.render)(react.default.createElement(SidebarNav, { ctx }), container);
12563
+ sidebarRoot.setAttribute(SIDEBAR_ACTIVE_ATTR, "true");
12564
+ currentSidebarRoot = sidebarRoot;
12565
+ } catch {
12566
+ try {
12567
+ (0, react_dom.unmountComponentAtNode)(container);
12568
+ } catch {}
12569
+ container.remove();
12570
+ currentContainer = null;
12571
+ sidebarRoot.removeAttribute(SIDEBAR_ACTIVE_ATTR);
12572
+ currentSidebarRoot = null;
12573
+ }
12560
12574
  };
12561
12575
  const scheduleCheck = () => {
12562
12576
  if (disposed || rafPending) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "DSH Codex UI — 为 DeepSeek Harness 提供极速历史召回、全屏设置皮肤、原生物理毛玻璃换肤、模块化侧栏与桌面原生窗口菜单 · Input enhancement, settings skin, native glass theme, modular sidebar, and desktop titlebar menu for DSH",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -154,32 +154,32 @@
154
154
  },
155
155
  "devDependencies": {
156
156
  "@deepseek-ai/cordis": "4.1.0",
157
- "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.2",
158
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.2",
159
- "@deepseek-ai/dsh-attachment": "0.2.2-rc.2",
160
- "@deepseek-ai/dsh-client-connection": "0.2.2-rc.2",
161
- "@deepseek-ai/dsh-client-locale": "0.2.2-rc.2",
162
- "@deepseek-ai/dsh-client-store": "0.2.2-rc.2",
163
- "@deepseek-ai/dsh-client-test-runtime": "0.2.2-rc.2",
164
- "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.2",
165
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.2",
166
- "@deepseek-ai/dsh-client-ui-input-trigger": "0.2.2-rc.2",
167
- "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.2",
168
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.2",
169
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.2",
170
- "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.2",
171
- "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.2",
172
- "@deepseek-ai/dsh-client-ui-settings-general": "0.2.2-rc.2",
173
- "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.2",
174
- "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.2",
175
- "@deepseek-ai/dsh-client-ui-theme": "0.2.2-rc.2",
176
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.2",
177
- "@deepseek-ai/dsh-scope": "0.2.2-rc.2",
178
- "@deepseek-ai/dsh-session": "0.2.2-rc.2",
179
- "@deepseek-ai/dsh-subagent": "0.2.2-rc.2",
180
- "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.2",
181
- "@deepseek-ai/dsh-util-workspace-path": "0.2.2-rc.2",
182
- "@deepseek-ai/dsh-workspace": "0.2.2-rc.2",
157
+ "@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.3",
158
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.3",
159
+ "@deepseek-ai/dsh-attachment": "0.2.2-rc.3",
160
+ "@deepseek-ai/dsh-client-connection": "0.2.2-rc.3",
161
+ "@deepseek-ai/dsh-client-locale": "0.2.2-rc.3",
162
+ "@deepseek-ai/dsh-client-store": "0.2.2-rc.3",
163
+ "@deepseek-ai/dsh-client-test-runtime": "0.2.2-rc.3",
164
+ "@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.3",
165
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.3",
166
+ "@deepseek-ai/dsh-client-ui-input-trigger": "0.2.2-rc.3",
167
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.3",
168
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.3",
169
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.3",
170
+ "@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.3",
171
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.3",
172
+ "@deepseek-ai/dsh-client-ui-settings-general": "0.2.2-rc.3",
173
+ "@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.3",
174
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.3",
175
+ "@deepseek-ai/dsh-client-ui-theme": "0.2.2-rc.3",
176
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.3",
177
+ "@deepseek-ai/dsh-scope": "0.2.2-rc.3",
178
+ "@deepseek-ai/dsh-session": "0.2.2-rc.3",
179
+ "@deepseek-ai/dsh-subagent": "0.2.2-rc.3",
180
+ "@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.3",
181
+ "@deepseek-ai/dsh-util-workspace-path": "0.2.2-rc.3",
182
+ "@deepseek-ai/dsh-workspace": "0.2.2-rc.3",
183
183
  "@types/jsdom": "^30.0.0",
184
184
  "@types/node": "^26.0.0",
185
185
  "@types/react": "~18.3.1",