@michengai/dsh-codex-ui 2.0.10 → 2.0.12
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 +14 -0
- package/CHANGELOG.zh-CN.md +14 -0
- package/README.md +5 -3
- package/README.zh-CN.md +5 -3
- package/cordis.patch.yml +2 -0
- package/lib/client.js +1096 -119
- package/lib/composer-plugin.mjs +1 -1
- package/lib/desktop-menu-plugin.d.mts +21 -0
- package/lib/desktop-menu-plugin.mjs +582 -0
- package/lib/index.mjs +1 -1
- package/lib/{profile-resolver-D81fBy52.mjs → profile-resolver-B1VNepo_.mjs} +5 -2
- package/lib/session-title-plugin.mjs +36 -2
- package/lib/settings-skin-plugin.mjs +1 -1
- package/lib/sidebar-plugin.mjs +1 -1
- package/lib/theme-plugin.mjs +1 -1
- package/locale/desktop-menu/en.json +6 -0
- package/locale/desktop-menu/zh.json +6 -0
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +8 -3
- package/lib/business-api-CSNUY-u5.mjs +0 -11
- package/lib/profile-resolver-9ws-Evm5.mjs +0 -73
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.12 (2026-11-02)
|
|
4
|
+
|
|
5
|
+
- **Add Desktop App Titlebar Menu**: Injected a clean "Help" menu into the official Windows desktop titlebar, providing instant page reload and seamless application restart capabilities.
|
|
6
|
+
- **Reliable App & Host Restart Engine**: Resolved the Windows issue where closing the desktop app only minimized it to the system tray without exiting, cleanly terminating the old instance and relaunching cleanly with live progress toast feedback.
|
|
7
|
+
- **Full WAI-ARIA Accessible Keyboard Navigation**: Comprehensive keyboard support across menubar buttons with seamless arrow-key roving tab loops and accurate focus restoration upon pressing Escape.
|
|
8
|
+
- **Complete Sub-Plugin Metadata & Feature Descriptions**: Displayed localized names and descriptions for "Codex Desktop Menu" in the DSH plugin manager, aligning feature summaries across the About workbench.
|
|
9
|
+
|
|
10
|
+
## 2.0.11 (2026-11-01)
|
|
11
|
+
|
|
12
|
+
- **Decouple plain flat settings mode from mica float mode**: When mica glass is disabled, the settings modal (both expanded and collapsed) renders with seamless flat backgrounds, aligning perfectly with the home view and eliminating redundant margins, border-radius, and shadows.
|
|
13
|
+
- **Eliminate duplicate top bars and parallel curved borders**: Integrated standalone about header and actions into the first feature card header, and made the host titlebar borderless and transparent, resolving button overlap and dual parallel border strokes.
|
|
14
|
+
- **Normalize vertical card offsets across host architectures**: Handled both tiled Grid host (0.2.2-alpha.2+) and legacy nested Flex host (0.2.1-rc.5) geometries, harmonizing the first card baseline (y=84px) in collapsed mode and eliminating stray divider lines inside the 56px icon rail.
|
|
15
|
+
- **Auto-hide empty pinned section in sidebar (#76)**: Automatically hide the pinned header when no workspaces are pinned, and reset collapsed state when all workspaces are removed.
|
|
16
|
+
|
|
3
17
|
## 2.0.10 (2026-11-01)
|
|
4
18
|
|
|
5
19
|
- **Align Collapsed Settings Sidebar with Homepage 56px Icon Rail**: Replicate the host homepage collapsed sidebar design language inside the settings modal. Replace the cramped narrow view with a clean 56px floating Mica icon rail, centering icons along the vertical axis with hidden scrollbars and seamlessly integrating the back button.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 2.0.12 (2026-11-02)
|
|
4
|
+
|
|
5
|
+
- **新增官方桌面端原生窗口菜单**:在 Windows 桌面应用系统标题栏平滑注入「帮助」菜单,提供一键刷新当前渲染页面与安全重启应用功能。
|
|
6
|
+
- **真实可靠的应用与宿主重启**:彻底解决官方桌面端在 Windows 下关闭只收进托盘而无法真正退出的问题,自动清理遗留占用并快速唤起新实例,支持状态进度卡片实时反馈。
|
|
7
|
+
- **完整对齐无障碍键盘操作规范**:标题栏菜单与下拉项全面支持键盘 Tab 导航与方向键无缝双向循环,按 Esc 键关闭下拉菜单时自动准确归还焦点,操作体验如原生应用般行云流水。
|
|
8
|
+
- **补全子插件元数据与功能简介**:在插件管理列表中完整呈现「Codex 桌面窗口菜单」的中文名称与模块功能说明,并将核心能力同步对齐至关于页面。
|
|
9
|
+
|
|
10
|
+
## 2.0.11 (2026-11-01)
|
|
11
|
+
|
|
12
|
+
- **设置面板普通模式与云母磨砂模式严格解耦**:未开启云母悬浮时,设置页(展开与收起)完全恢复平铺纯色底板,与首页无云母状态绝对对齐,消除多余的外边距、圆角与投影。
|
|
13
|
+
- **根治设置页顶部双层伪顶栏与平行圆角双边框**:将关于页中独立的标题与操作区收拢整合至首张功能卡片内,宿主原生顶栏改为无边框完全透明,彻底解决「打开配置文件」与插件操作按钮重叠、以及右侧顶部两条平行圆角线的视觉撕裂。
|
|
14
|
+
- **完善双宿主架构下的首卡纵向定位与间距自适应**:精准处理平铺 Grid 宿主(0.2.2-alpha.2+)与嵌套 Flex 宿主(0.2.1-rc.5)下的不同顶栏机制,统一各端折叠态下首张卡片的渲染基线(y=84px),消灭 56px 导轨内部横向残留短线。
|
|
15
|
+
- **侧栏置顶区智能联动隐藏 (#76)**:当所有工作区均未置顶时,侧栏「置顶」分区标题与占位自动隐形,并在清空全部工作区时主动复位折叠记忆。
|
|
16
|
+
|
|
3
17
|
## 2.0.10 (2026-11-01)
|
|
4
18
|
|
|
5
19
|
- **设置侧边栏收缩态完整对齐首页 56px 纯图标导轨**:在设置弹窗中完整复刻宿主首页侧栏的云母悬浮设计语言。将收缩态由简陋的挤压视图升级为 56px 独立磨砂悬浮导轨,隐形原生滚动条并实现图标与顶部返回按钮在中轴线上绝对居中。
|
package/README.md
CHANGED
|
@@ -24,13 +24,14 @@
|
|
|
24
24
|
|
|
25
25
|
## Why Codex UI 2.0?
|
|
26
26
|
|
|
27
|
-
When working across complex projects in DeepSeek Harness, users often encounter cramped settings modals, plain monocolor palettes, unstructured sidebars, and lost prompt history. **Codex UI 2.0 rearchitects the entire frontend experience through
|
|
27
|
+
When working across complex projects in DeepSeek Harness, users often encounter cramped settings modals, plain monocolor palettes, unstructured sidebars, and lost prompt history. **Codex UI 2.0 rearchitects the entire frontend experience through seven decoupled sub-plugins**, delivering a high-performance, non-intrusive, native-grade modern design:
|
|
28
28
|
|
|
29
29
|
* 🚀 **Instant Prompt Recall**: Terminal-style input history (`↑` / `↓` quick recall) with isolated workspace memory and adaptive width sizing;
|
|
30
30
|
* 🪟 **Full-Screen Dual-Island Settings**: Replaces cramped dialogs with Ambient Ground diffuse lighting canvas and dual floating island cards;
|
|
31
31
|
* 🎨 **Native Physical Glass Themes**: 7 built-in high-quality color schemes (featuring Codex Dark & Paper Light), dual layout modes (Stock Flat vs. Mica Floating), 3-tier material presets, and ground glow switch;
|
|
32
32
|
* 🧭 **Modular Dynamic Sidebar**: In-place smooth accordion drawer and fluid drag-and-drop reordering; **100% aligned with host official 56px native rail** when collapsed, keeping all icons crisp and New Session permanently visible;
|
|
33
33
|
* 🧠 **Intelligent Session Titles**: Semantic understanding of initial user prompts, supporting 4096-token reasoning model contexts;
|
|
34
|
+
* 🖥️ **Desktop Native Menus**: Injects a clean Help menu into the official desktop app titlebar, supporting native page reload and reliable cross-platform app/Host restart;
|
|
34
35
|
* 📦 **Ecosystem Companion Hub**: Centralized inspection, version checking, and 1-click batch upgrades for all official and third-party companion plugins.
|
|
35
36
|
|
|
36
37
|
---
|
|
@@ -48,14 +49,14 @@ In the early days of the DeepSeek Harness (DSH) plugin ecosystem, host frontend
|
|
|
48
49
|
### 2. The 2.0.0 Rearchitecture Decision: Fully Embracing Host Natives
|
|
49
50
|
Faced with these compounding challenges, we made the decisive choice in v2.0.0 to **completely scrap all 1.x component override code** and establish a new baseline: **zero-intrusion, micro-kernel decoupling, and native-first engineering**:
|
|
50
51
|
* 🏛️ **Strict Adoption of Official Primitives & Slots**: Prohibited custom hand-drawn CSS widgets; strictly leveraged official `Switch`, `SegmentedControl`, and `Button` primitives. When collapsed, the sidebar strictly aligns with the official 56px native icon rail;
|
|
51
|
-
* 🧩 **
|
|
52
|
+
* 🧩 **Seven Decoupled Micro-Kernel Sub-Plugins**: Broken down into 7 self-contained, high-cohesion sub-plugins with explicit boundaries, enabling independent lifecycle management and streamlined code audits;
|
|
52
53
|
* 🛡️ **Fail-Closed Circuit Breaker & Adaptive UI**: Implemented strict fail-closed safety contracts. When a sub-plugin is disabled or unreachable, the runtime physically cleanses all injected tokens/root attributes, while the settings UI **completely hides the defunct card (0 DOM nodes)**, reverting instantly to pristine host defaults without visual clutter;
|
|
53
54
|
* 🔒 **Authoritative Profile Isolation & Self-Healing**: Unambiguous Profile directory resolution eliminates cross-profile contamination, backed by window-focus self-healing probes for resilient network handling;
|
|
54
55
|
* 🎨 **Authentic Codex Tech Aesthetic**: Purged legacy green color pollution, strictly adhering to `#339cff` tech-blue, minimalist paper, and charcoal dark tones with dual layout modes and ambient ground reflection glows.
|
|
55
56
|
|
|
56
57
|
---
|
|
57
58
|
|
|
58
|
-
## Architecture:
|
|
59
|
+
## Architecture: 7 Core Sub-Plugins
|
|
59
60
|
|
|
60
61
|
| Sub-Plugin ID | Name | Capabilities |
|
|
61
62
|
| :--- | :--- | :--- |
|
|
@@ -64,6 +65,7 @@ Faced with these compounding challenges, we made the decisive choice in v2.0.0 t
|
|
|
64
65
|
| `theme` | **Theme & Glassmorphism** | 7 built-in themes with Appearance Cubes, Stock Flat vs. Mica Floating modes, 3 material presets, and ground glow switch. |
|
|
65
66
|
| `sidebar` | **Modular Sidebar** | In-place accordion expansion, smooth drag-and-drop reordering; collapses cleanly into host native 56px icon rail. |
|
|
66
67
|
| `session-title` | **Intelligent Session Title** | Generates standardized session titles from initial prompt semantics, handling reasoning model outputs up to 4096 tokens. |
|
|
68
|
+
| `desktop-menu` | **Desktop Native Menus** | Official desktop app titlebar menu integration with instant view reload and reliable cross-platform app/Host restart. |
|
|
67
69
|
| `dependencies` | **Companion Management** | Centralized dashboard for official/third-party DSH companion plugins with live npm download counts and 1-click updates. |
|
|
68
70
|
|
|
69
71
|
---
|
package/README.zh-CN.md
CHANGED
|
@@ -24,13 +24,14 @@
|
|
|
24
24
|
|
|
25
25
|
## 为什么选择 Codex UI 2.0?
|
|
26
26
|
|
|
27
|
-
在日常使用 DeepSeek Harness 时,原生界面可能存在设置窗口狭小局促、主题配色单一、侧栏长插件列表不易整理、输入历史丢失等痛点。**Codex UI 2.0
|
|
27
|
+
在日常使用 DeepSeek Harness 时,原生界面可能存在设置窗口狭小局促、主题配色单一、侧栏长插件列表不易整理、输入历史丢失等痛点。**Codex UI 2.0 经历了从底层架构到视觉体系的全面重塑**,以**七大独立子插件**构建起一套高性能、低侵入、官方原生的现代化界面增强体系:
|
|
28
28
|
|
|
29
29
|
* 🚀 **极速输入召回**:终端风格输入框历史(`↑` / `↓` 快捷召回),支持自适应宽度微调;
|
|
30
30
|
* 🪟 **全屏悬浮双岛设置**:告别局促模态框,接入 Ambient Ground 漫反射画布与双岛卡片工作台;
|
|
31
31
|
* 🎨 **物理级毛玻璃换肤**:内置 7 款高品质主题配色(含 Codex 炭黑与极简纸白),支持原版平铺玻璃与云母悬浮双排版模态、三档材质预设与独立地面光斑;
|
|
32
32
|
* 🧭 **模块化侧边栏**:展开态支持原位平滑折叠抽屉与自由拖拽排序;收缩折叠态 **100% 对齐宿主官方 56px 原生导轨**,所有图标整齐排列、新会话常驻高对比度;
|
|
33
33
|
* 🧠 **智能会话标题**:首条消息语义解析,自动提炼精炼标题,完美适配推理大模型长上下文;
|
|
34
|
+
* 🖥️ **桌面原生窗口菜单**:在官方桌面端系统标题栏无缝注入帮助菜单,提供原生视图刷新与跨端可靠的应用与 Host 重启能力;
|
|
34
35
|
* 📦 **生态配套管理**:官方与第三方生态插件集中看护、版本检测与一键批量升级。
|
|
35
36
|
|
|
36
37
|
---
|
|
@@ -48,14 +49,14 @@
|
|
|
48
49
|
### 2. 2.0.0 的彻底重构决策:全面拥抱官方原生体系
|
|
49
50
|
面对维护困局,我们在 2.0.0 版本痛定思痛,**彻底推翻了 1.x 的全部“组件覆盖”代码**,确立了**“零侵入、微内核解耦、全面拥抱官方原生”**的全新技术路线:
|
|
50
51
|
* 🏛️ **严格复用官方原生原语与标准 Slots**:坚决禁止用 CSS 自行手绘宿主已有控件,全面接入官方 `Switch`、`SegmentedControl`、`Button` 原生原语库;侧栏收起时 100% 严丝合缝退回官方原生 56px 导轨规范,真正做到与宿主体系同生共荣;
|
|
51
|
-
* 🧩
|
|
52
|
+
* 🧩 **七大微内核子插件物理解耦**:将臃肿的单体代码彻底拆解为 7 个高内聚、自闭环的独立子插件,彼此边界分明、支持按需独立启停,极大提升了工程可维护性与审计透明度;
|
|
52
53
|
* 🛡️ **严格的 Fail-Closed 熔断与动态隐匿 UI**:建立标准的高可用防御契约。一旦探测到子插件在当前 Profile 被停用或服务端不可达,底层不仅物理熔断 Token 注入并彻底清空根属性,前台设置面板更会**直接整体隐匿对应卡片(0 DOM 节点)**,绝不残留任何置灰死项,瞬间 100% 干净回退至官方原生;
|
|
53
54
|
* 🔒 **严格 Profile 隔离与无缝自愈机制**:统一权威的 Profile 路径解析,彻底杜绝跨环境串读与配置污染;同时接入 `focus` 窗口重获焦点自愈探活,兼顾极致安全与网络抖动下的高可用性;
|
|
54
55
|
* 🎨 **纯正 Codex 科技蓝黑美学**:彻底清洗历史残留的绿色硬编码,精准还原官方 `#339cff` 科技蓝、极简纸白与沉浸炭黑质感,辅以双排版模态与地面柔光反射光斑。
|
|
55
56
|
|
|
56
57
|
---
|
|
57
58
|
|
|
58
|
-
##
|
|
59
|
+
## 七大核心子插件架构
|
|
59
60
|
|
|
60
61
|
| 子插件 ID | 模块名称 | 核心能力说明 |
|
|
61
62
|
| :--- | :--- | :--- |
|
|
@@ -64,6 +65,7 @@
|
|
|
64
65
|
| `theme` | **主题与界面换肤** | 内置 7 款主题配色(含 Appearance Cube 色彩方块)、原版平铺/云母悬浮双排版、三档材质预设与地面光斑开关。 |
|
|
65
66
|
| `sidebar` | **模块化侧栏导航** | 模块化侧边栏导航、手风琴原位平滑折叠抽屉、自由拖拽排序;折叠态 100% 对齐宿主官方 56px 原生导轨。 |
|
|
66
67
|
| `session-title` | **会话智能标题** | 基于首条消息语义提取并生成规范的会话标题,支持推理模型 4096 tokens 上下文,防止乱码截断。 |
|
|
68
|
+
| `desktop-menu` | **桌面窗口菜单** | 官方桌面端系统原生标题栏菜单无缝增强,提供视图快速重载与跨端高可靠的应用与 Host 优雅重启。 |
|
|
67
69
|
| `dependencies` | **配套生态管理** | 深度集成 DSH 官方与第三方生态插件集中管理,实时显示 npm 下载量、安装状态与一键批量升级。 |
|
|
68
70
|
|
|
69
71
|
---
|
package/cordis.patch.yml
CHANGED