@michengai/dsh-codex-ui 2.0.11 → 2.0.13
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 +8 -5
- package/README.zh-CN.md +8 -5
- package/cordis.patch.yml +2 -0
- package/lib/client.js +1342 -11
- package/lib/composer-plugin.d.mts +2 -6
- package/lib/composer-plugin.mjs +745 -12
- 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-BkTv7lmZ.mjs} +7 -2
- package/lib/session-title-plugin.mjs +42 -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/composer/en.json +1 -1
- package/locale/composer/zh.json +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.13 (2026-11-03)
|
|
4
|
+
|
|
5
|
+
- **Smart Input Prediction & Inline Continuation**: Automatically displays high-confidence follow-up suggestions directly behind the caret when pausing mid-draft; press `Tab` to accept seamlessly without re-typing.
|
|
6
|
+
- **Effortless Candidate Cycling**: Press `Alt + Down` / `Alt + Up` to cycle through multiple predictive recommendations, or press `Escape` anytime to dismiss.
|
|
7
|
+
- **Turn-Aware Activity Gating**: Automatically pauses suggestions while the agent is running or executing tools to prevent distractions, instantly resuming smart recommendations once the turn settles.
|
|
8
|
+
- **Universal Model Compatibility & Clean Insertion**: Intelligently adapts across diverse conversation models, stripping duplicate draft prefixes upon acceptance to deliver clean, natural prompt continuations.
|
|
9
|
+
|
|
10
|
+
## 2.0.12 (2026-11-02)
|
|
11
|
+
|
|
12
|
+
- **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.
|
|
13
|
+
- **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.
|
|
14
|
+
- **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.
|
|
15
|
+
- **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.
|
|
16
|
+
|
|
3
17
|
## 2.0.11 (2026-11-01)
|
|
4
18
|
|
|
5
19
|
- **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.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 2.0.13 (2026-11-03)
|
|
4
|
+
|
|
5
|
+
- **新增智能输入预测与行内续写**:打字停顿时在光标后自动呈现高置信度的后续输入建议,按下 `Tab` 键一键采纳,告别重复键入。
|
|
6
|
+
- **流畅的多候选项循环切换**:支持按 `Alt + ↓` / `Alt + ↑` 快捷键在不同推荐方向之间切换,按 `Esc` 键随时退出建议,回归原生打字状态。
|
|
7
|
+
- **智能运行态感知与交互避让**:在 Agent 回复或执行工具操作期间自动保持静默,绝不干扰输入;待助手回答完毕即刻提供切合上下文的后续行动建议。
|
|
8
|
+
- **全模型自适应与精准采纳**:自动适配各类模型,采纳补全时智能剥离重复前缀,输入过渡自然顺畅。
|
|
9
|
+
|
|
10
|
+
## 2.0.12 (2026-11-02)
|
|
11
|
+
|
|
12
|
+
- **新增官方桌面端原生窗口菜单**:在 Windows 桌面应用系统标题栏平滑注入「帮助」菜单,提供一键刷新当前渲染页面与安全重启应用功能。
|
|
13
|
+
- **真实可靠的应用与宿主重启**:彻底解决官方桌面端在 Windows 下关闭只收进托盘而无法真正退出的问题,自动清理遗留占用并快速唤起新实例,支持状态进度卡片实时反馈。
|
|
14
|
+
- **完整对齐无障碍键盘操作规范**:标题栏菜单与下拉项全面支持键盘 Tab 导航与方向键无缝双向循环,按 Esc 键关闭下拉菜单时自动准确归还焦点,操作体验如原生应用般行云流水。
|
|
15
|
+
- **补全子插件元数据与功能简介**:在插件管理列表中完整呈现「Codex 桌面窗口菜单」的中文名称与模块功能说明,并将核心能力同步对齐至关于页面。
|
|
16
|
+
|
|
3
17
|
## 2.0.11 (2026-11-01)
|
|
4
18
|
|
|
5
19
|
- **设置面板普通模式与云母磨砂模式严格解耦**:未开启云母悬浮时,设置页(展开与收起)完全恢复平铺纯色底板,与首页无云母状态绝对对齐,消除多余的外边距、圆角与投影。
|
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
|
-
* 🚀 **Instant Prompt Recall**:
|
|
29
|
+
* 🚀 **Instant Prompt Recall & Smart Prediction**: Intelligent inline input prediction (`Tab` to accept, `Alt+Down/Up` to cycle), 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,22 +49,23 @@ 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
|
| :--- | :--- | :--- |
|
|
62
|
-
| `composer` | **Composer Enhancement** |
|
|
63
|
+
| `composer` | **Composer Enhancement** | Smart inline input prediction (`Tab` to accept, `Alt+Down/Up` to cycle), terminal-style input history (`↑`/`↓`), workspace-isolated storage, dual drag-resize handles, and contextual prompt hints. |
|
|
63
64
|
| `settings-skin` | **Native Settings Skin** | Full-screen workbench layout, dual floating island system, Ambient Ground lighting canvas, and native search. |
|
|
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
|
---
|
|
@@ -160,6 +162,7 @@ Once installed, restart your DSH Web instance and hard-refresh your browser (`Ct
|
|
|
160
162
|
|
|
161
163
|
| Feature | How to Use |
|
|
162
164
|
| :--- | :--- |
|
|
165
|
+
| **Accept Input Prediction** | Press `Tab` when predictive ghost text appears behind the caret; press `Alt + Down` / `Alt + Up` to cycle recommendations, or `Escape` to dismiss. |
|
|
163
166
|
| **Recall Input History** | Press `↑` / `↓` in an empty composer to cycle through past inputs submitted in the current workspace (up to 200 items). |
|
|
164
167
|
| **Resize Composer Width** | Hover over either lateral border of the composer and drag the blue handles. |
|
|
165
168
|
| **Switch Themes & Blur** | Navigate to **Settings → Codex UI**, choose from 7 palettes, and toggle Stock/Mica or blur presets. |
|
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
|
+
* 🚀 **极速输入召回与智能预测**:智能行内意图预测与续写(`Tab` 一键采纳,`Alt+↓/↑` 切换候选项),终端风格输入框历史(`↑` / `↓` 快捷召回),支持自适应宽度微调;
|
|
30
30
|
* 🪟 **全屏悬浮双岛设置**:告别局促模态框,接入 Ambient Ground 漫反射画布与双岛卡片工作台;
|
|
31
31
|
* 🎨 **物理级毛玻璃换肤**:内置 7 款高品质主题配色(含 Codex 炭黑与极简纸白),支持原版平铺玻璃与云母悬浮双排版模态、三档材质预设与独立地面光斑;
|
|
32
32
|
* 🧭 **模块化侧边栏**:展开态支持原位平滑折叠抽屉与自由拖拽排序;收缩折叠态 **100% 对齐宿主官方 56px 原生导轨**,所有图标整齐排列、新会话常驻高对比度;
|
|
33
33
|
* 🧠 **智能会话标题**:首条消息语义解析,自动提炼精炼标题,完美适配推理大模型长上下文;
|
|
34
|
+
* 🖥️ **桌面原生窗口菜单**:在官方桌面端系统标题栏无缝注入帮助菜单,提供原生视图刷新与跨端可靠的应用与 Host 重启能力;
|
|
34
35
|
* 📦 **生态配套管理**:官方与第三方生态插件集中看护、版本检测与一键批量升级。
|
|
35
36
|
|
|
36
37
|
---
|
|
@@ -48,22 +49,23 @@
|
|
|
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
|
| :--- | :--- | :--- |
|
|
62
|
-
| `composer` | **输入框增强** |
|
|
63
|
+
| `composer` | **输入框增强** | 智能输入预测与行内续写(`Tab` 采纳、`Alt+↓/↑` 候选循环)、终端风格历史记录(`↑`/`↓`)快捷召回、工作区隔离存储、自适应宽度拖拽手柄与快捷提示。 |
|
|
63
64
|
| `settings-skin` | **原生设置皮肤** | 全屏设置工作台美化、悬浮双岛架构、Ambient Ground 自然光漫反射底板、分类导航与原生输入框搜索。 |
|
|
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
|
---
|
|
@@ -160,6 +162,7 @@ dsh --profile web --dump-config
|
|
|
160
162
|
|
|
161
163
|
| 场景 | 操作方式 |
|
|
162
164
|
| :--- | :--- |
|
|
165
|
+
| **采纳输入预测续写** | 打字停顿弹出高亮候选项时,按 `Tab` 键一键采纳补全;按 `Alt + ↓` / `Alt + ↑` 循环切换多条候选,按 `Esc` 退出。 |
|
|
163
166
|
| **找回历史输入** | 输入框为空时按键盘 `↑` / `↓` 方向键,即时召回在当前工作区提交过的历史文本(按工作区隔离存储 200 条)。 |
|
|
164
167
|
| **调节输入框宽度** | 悬停至输入框左右边缘,拖拽蓝色手柄即可自定义最舒适的编写宽度。 |
|
|
165
168
|
| **切换主题与质感** | 打开「设置 → Codex UI」,在「界面外观与换肤」卡片单选 7 款主题,直选原版/云母模式与材质预设。 |
|
package/cordis.patch.yml
CHANGED