@michengai/dsh-codex-ui 2.0.13 → 2.0.16
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 +18 -0
- package/CHANGELOG.zh-CN.md +18 -0
- package/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/lib/client.js +703 -348
- package/lib/composer-plugin.d.mts +18 -4
- package/lib/composer-plugin.mjs +19 -8
- package/lib/session-title-plugin.mjs +10 -0
- package/package.json +31 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.16 (2026-11-04)
|
|
4
|
+
|
|
5
|
+
- **Scoped Settings Sidebar Styles to Direct Children**: Restricted capsule navigation styles strictly to the direct left sidebar container of the settings workbench, completely preventing style bleed into the right-hand options content area. Third-party plugins with internal tabs or button navigations now preserve their native button dimensions and flex layout without being stretched to 100% full-width rows.
|
|
6
|
+
- **Added an inline-prediction switch**: a new "Composer Enhancements" card in settings toggles inline suggestions on and off. Turning it off takes effect immediately, clears the current ghost, and **issues no further requests at all**, so no model tokens are spent. `↑`/`↓` history recall, width handles, and starter suggestion cards are unaffected.
|
|
7
|
+
- **Added a site-level config flag**: a Profile can set `config.prediction: false` on `codex-ui-composer` in `cordis.patch.yml` to disable predictions wholesale. The Host then does not register the prediction routes (direct hits return 404), and the settings switch is locked off with an explanatory hint.
|
|
8
|
+
|
|
9
|
+
## 2.0.15 (2026-11-04)
|
|
10
|
+
|
|
11
|
+
- **Fixed Input Prediction & Inline Continuation Never Appearing**: The auxiliary model call was issued without a session id, so OpenCode-compatible gateways — which route on the `x-opencode-session` header — rejected every prediction request with `400 MissingSessionID` and no suggestion ever appeared at the caret. The owning session id is now forwarded with the prepared call, restoring the inline suggestion together with `Tab` acceptance, `Alt + ↓/↑` candidate cycling and `Esc` dismissal.
|
|
12
|
+
|
|
13
|
+
## 2.0.14 (2026-11-04)
|
|
14
|
+
|
|
15
|
+
- **Enhanced Sidebar Section Submenu Stability & Hover Transitions**: Resolved an issue where moving the pointer onto the "Partition" submenu could unexpectedly close the menu chain. Seamlessly supports hover transitions and click expansions across both expanded and collapsed sidebar states, ensuring the flyout menu layer always renders above sidebar rows without clipping.
|
|
16
|
+
- **Full Keyboard Accessibility for Flyout Menus**: Comprehensive keyboard navigation within the section flyout menu. Press `Home` / `End` to jump directly to the first and last menu items, navigate with `Up` / `Down` arrow keys without focus escaping back to the parent menu, and press `Escape` to cleanly dismiss and reset menu state.
|
|
17
|
+
- **Host-Native Menu Surface & Precision Anchor Matching**: Reused host-native glass materials and button primitives for the section flyout menu, aligning 100% with native context menus; accurately detects row action triggers and prevents misplaced menu anchors on ungrouped rows.
|
|
18
|
+
- **Composer & Dock Mica Backdrop Masking Refinement**: Eliminated scroller mask conflicts to restore glass backdrop blurring across the bottom of the transcript. Solidified the composer card and dock surface to stop ghost text leakage when scrolling long sessions, and scoped the bottom blur mask strictly to the centered dock area.
|
|
19
|
+
- **Adaptive Multi-Host Settings Layout & Icon Alignment**: Seamlessly adapted settings layout across different host generations, standardizing the left rail to 280px and centering options cards at 800px max width without stretched horizontal layouts. Enhanced icon slot detection to prevent missing or duplicate navigation icons.
|
|
20
|
+
|
|
3
21
|
## 2.0.13 (2026-11-03)
|
|
4
22
|
|
|
5
23
|
- **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.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 2.0.16 (2026-11-04)
|
|
4
|
+
|
|
5
|
+
- **隔离设置皮肤侧栏样式,消除第三方插件布局误伤**:将全屏设置界面的侧栏胶囊导航样式严格限定在模态框直属的左侧导航容器内,杜绝规则向右侧内容区域扩散。安装包含标签页或按钮导航的第三方插件时,插件内部的选项卡与功能按钮完全保持其原生尺寸与排版,不再被强制拉伸变形或撑满整行。
|
|
6
|
+
- **新增智能输入预测开关**:设置页「输入框增强」卡片可一键开启或关闭行内预测建议,关闭后立即生效、光标处建议瞬间消失,并且**完全不再发起任何请求**,不消耗模型额度;`↑`/`↓` 历史召回、宽度拖拽手柄、新会话建议卡片等其余输入框能力不受影响。
|
|
7
|
+
- **补充站点级配置位**:Profile 的 `cordis.patch.yml` 可给 `codex-ui-composer` 配置 `config.prediction: false` 做整体关闭;此时 Host 不注册预测路由(直连返回 404),设置页开关置灰并给出原因说明,用户无法自行开启。
|
|
8
|
+
|
|
9
|
+
## 2.0.15 (2026-11-04)
|
|
10
|
+
|
|
11
|
+
- **修复智能输入预测与行内续写完全不出现**:辅助模型调用此前没有携带会话 ID,OpenCode 兼容网关按 `x-opencode-session` 头路由,直接以 400(MissingSessionID)拒绝,于是打字停顿后光标处始终没有任何建议。补齐会话 ID 后,预测建议恢复正常浮现,`Tab` 一键采纳、`Alt + ↓/↑` 切换候选、`Esc` 忽略均可用。
|
|
12
|
+
|
|
13
|
+
## 2.0.14 (2026-11-04)
|
|
14
|
+
|
|
15
|
+
- **侧栏工作区分组飞出菜单交互与稳定性全面加固**:彻底解决鼠标移向「分区」二级菜单时菜单链偶发意外关闭的问题,支持顺畅的鼠标悬停穿梭与点击展开;即使在桌面端侧边栏收起抽屉模式下也能稳定展开,二级面板层级优先,绝不被侧边栏列边缘裁切或压在文字下方。
|
|
16
|
+
- **完善二级飞出菜单键盘无障碍交互**:二级菜单内全面支持键盘操作,按 `Home` / `End` 键焦点直接定位至菜单首项与末项,按 `↑` / `↓` 方向键在菜单边界平滑循环且不逃逸到外层主菜单,按 `Escape` 键平滑收起菜单并准确清理状态。
|
|
17
|
+
- **对齐宿主原生菜单质感与操作规范**:分区二级菜单全面复用宿主原生磨砂材质与按钮原语,视觉质感与原生上下文菜单 100% 保持一致;精准识别工作区操作按钮,防止在无操作菜单的行上出现无效定位。
|
|
18
|
+
- **输入框与磨砂座舱视觉优化**:修复滚动容器遮罩冲突,恢复会话历史文本底部的磨砂模糊效果;强化输入框卡片底板材质,彻底终结长文本滚动时穿透卡片底部的漏字与重影;将遮罩严格收拢至居中 dock 区域,移除多余全宽渐变色块。
|
|
19
|
+
- **设置面板跨宿主版本排版与导航自适应**:全面适配不同宿主版本的设置页架构,左侧导航栏规范锁定 280px 宽度,右侧选项卡片规范收束至 800px 居中对齐,消除宽屏拉伸;精准适配各版本导航图标槽,防止导航图标缺失或重复展示。
|
|
20
|
+
|
|
3
21
|
## 2.0.13 (2026-11-03)
|
|
4
22
|
|
|
5
23
|
- **新增智能输入预测与行内续写**:打字停顿时在光标后自动呈现高置信度的后续输入建议,按下 `Tab` 键一键采纳,告别重复键入。
|
package/README.md
CHANGED
|
@@ -124,7 +124,7 @@ Quick actions directly on session rows: Pin, Rename, Unread marker, Archive, For
|
|
|
124
124
|
## Host Compatibility
|
|
125
125
|
|
|
126
126
|
* **Supported Generations**: Full DeepSeek Harness `0.2.x` line (`>=0.2.0-rc.1 <0.3.0-0`);
|
|
127
|
-
* **Verified Builds**:
|
|
127
|
+
* **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`) plus the latest `0.2.2` alpha (`0.2.2-alpha.3`); intermediate alphas are not part of the support matrix;
|
|
128
128
|
* **Runtime Requirements**: Node.js `^22.19.0 || >=24.0.0`, pnpm `^11.0.0`.
|
|
129
129
|
|
|
130
130
|
> ⚠️ **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.
|
|
@@ -163,6 +163,7 @@ Once installed, restart your DSH Web instance and hard-refresh your browser (`Ct
|
|
|
163
163
|
| Feature | How to Use |
|
|
164
164
|
| :--- | :--- |
|
|
165
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. |
|
|
166
|
+
| **Toggle Predictions** | Go to **Settings → Codex UI** and toggle the switch in the "Composer Enhancements" card. Can also be locked off wholesale across a profile by setting `config.prediction: false` in `cordis.patch.yml`. |
|
|
166
167
|
| **Recall Input History** | Press `↑` / `↓` in an empty composer to cycle through past inputs submitted in the current workspace (up to 200 items). |
|
|
167
168
|
| **Resize Composer Width** | Hover over either lateral border of the composer and drag the blue handles. |
|
|
168
169
|
| **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
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
## 宿主兼容性
|
|
125
125
|
|
|
126
126
|
* **支持范围**:DeepSeek Harness `0.2.x` 全系列(`>=0.2.0-rc.1 <0.3.0-0`);
|
|
127
|
-
*
|
|
127
|
+
* **实测验证**:支持矩阵为全部 `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` 阿尔法版(`0.2.2-alpha.3`);中间版本阿尔法不在支持范围内;
|
|
128
128
|
* **环境要求**:Node.js `^22.19.0 || >=24.0.0`,pnpm `^11.0.0`。
|
|
129
129
|
|
|
130
130
|
> ⚠️ **互斥提示**:请勿同时启用 Codex UI 与 `ds-bot`。两者均重塑侧栏与主会话插槽,功能重叠。启用前请先停用或卸载另一个。
|
|
@@ -163,6 +163,7 @@ dsh --profile web --dump-config
|
|
|
163
163
|
| 场景 | 操作方式 |
|
|
164
164
|
| :--- | :--- |
|
|
165
165
|
| **采纳输入预测续写** | 打字停顿弹出高亮候选项时,按 `Tab` 键一键采纳补全;按 `Alt + ↓` / `Alt + ↑` 循环切换多条候选,按 `Esc` 退出。 |
|
|
166
|
+
| **启闭输入预测功能** | 打开「设置 → Codex UI」,在「输入框增强」卡片切换「智能输入预测与行内续写」开关;支持在 Profile 的 `cordis.patch.yml` 中配置 `config.prediction: false` 实现站点级统一锁定。 |
|
|
166
167
|
| **找回历史输入** | 输入框为空时按键盘 `↑` / `↓` 方向键,即时召回在当前工作区提交过的历史文本(按工作区隔离存储 200 条)。 |
|
|
167
168
|
| **调节输入框宽度** | 悬停至输入框左右边缘,拖拽蓝色手柄即可自定义最舒适的编写宽度。 |
|
|
168
169
|
| **切换主题与质感** | 打开「设置 → Codex UI」,在「界面外观与换肤」卡片单选 7 款主题,直选原版/云母模式与材质预设。 |
|