@michengai/dsh-codex-ui 2.0.16 → 2.0.18
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 +13 -0
- package/CHANGELOG.zh-CN.md +13 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +12 -2
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.18] - 2026-11-05
|
|
4
|
+
|
|
5
|
+
- **Decoupled Composer Glass Layer to Prevent Decorative Skin Collisions (Issue #83)**: Migrated the composer card's frosted glass background and backdrop filters from the shared `[data-composer-card]::before` pseudo-element to a dedicated, scoped surface element (`[data-dcu-glass-composer-surface]`). When third-party skins use `::before` to draw expanded frames, borders, or ribbons outside the input box, the decorative layer is no longer contaminated with dark background tints or blur filters, completely eliminating unwanted frosted rectangles and text occlusion.
|
|
6
|
+
|
|
7
|
+
## [2.0.17] - 2026-11-04
|
|
8
|
+
|
|
9
|
+
### Compatibility & Dependencies
|
|
10
|
+
|
|
11
|
+
- Align with official DSH `0.2.2-rc.1` release; upgrade development dependencies to `0.2.2-rc.1`.
|
|
12
|
+
- Clean up obsolete alpha versions from the host compatibility matrix; support all `0.2.x` RC hosts (`0.2.0-rc.1` through `0.2.2-rc.1`).
|
|
13
|
+
- Update documentation badges and verified build ranges.
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
## 2.0.16 (2026-11-04)
|
|
4
17
|
|
|
5
18
|
- **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.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## [2.0.18] - 2026-11-05
|
|
4
|
+
|
|
5
|
+
- **解耦输入卡片玻璃材质层,消除与第三方装饰皮肤冲突(Issue #83)**:将输入框的玻璃磨砂与背景层从共享的 `[data-composer-card]::before` 伪元素迁移至专属的独立表面节点(`[data-dcu-glass-composer-surface]`),四边始终精准贴合卡片并置于内容底层。安装并在输入卡片外扩绘制边框、花纹或装饰元素的第三方皮肤时,装饰图层不再被强制叠上深色背景与模糊滤镜,杜绝输入框周围出现方角磨砂矩形或文字遮挡。
|
|
6
|
+
|
|
7
|
+
## [2.0.17] - 2026-11-04
|
|
8
|
+
|
|
9
|
+
### 兼容性与依赖升级
|
|
10
|
+
|
|
11
|
+
- 对齐官方最新发布宿主 `0.2.2-rc.1`,更新开发依赖至 `0.2.2-rc.1`。
|
|
12
|
+
- 优化宿主兼容支持矩阵,移除过时的阿尔法版本,支持全部 `0.2.x` RC 宿主环境(`0.2.0-rc.1`~`0.2.2-rc.1`)。
|
|
13
|
+
- 更新文档支持矩阵与徽章说明。
|
|
14
|
+
|
|
15
|
+
|
|
3
16
|
## 2.0.16 (2026-11-04)
|
|
4
17
|
|
|
5
18
|
- **隔离设置皮肤侧栏样式,消除第三方插件布局误伤**:将全屏设置界面的侧栏胶囊导航样式严格限定在模态框直属的左侧导航容器内,杜绝规则向右侧内容区域扩散。安装包含标签页或按钮导航的第三方插件时,插件内部的选项卡与功能按钮完全保持其原生尺寸与排版,不再被强制拉伸变形或撑满整行。
|
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**: 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
|
|
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`, and `0.2.2-rc.1`); 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.
|
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
|
-
* **实测验证**:支持矩阵为全部 `0.2.x` RC(`0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1
|
|
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-rc.1`);中间版本阿尔法不在支持范围内;
|
|
128
128
|
* **环境要求**:Node.js `^22.19.0 || >=24.0.0`,pnpm `^11.0.0`。
|
|
129
129
|
|
|
130
130
|
> ⚠️ **互斥提示**:请勿同时启用 Codex UI 与 `ds-bot`。两者均重塑侧栏与主会话插槽,功能重叠。启用前请先停用或卸载另一个。
|
package/lib/client.js
CHANGED
|
@@ -342,8 +342,16 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
|
|
|
342
342
|
}
|
|
343
343
|
for (const el of document.querySelectorAll(seam.selector)) if (!el.hasAttribute(seam.attribute)) el.setAttribute(seam.attribute, "");
|
|
344
344
|
}
|
|
345
|
+
const COMPOSER_SURFACE_ATTRIBUTE = "data-dcu-glass-composer-surface";
|
|
345
346
|
function stampAll() {
|
|
346
347
|
for (const seam of SEAMS) stamp(seam);
|
|
348
|
+
for (const card of document.querySelectorAll("[data-composer-card]")) {
|
|
349
|
+
if (card.querySelector(`:scope > [${COMPOSER_SURFACE_ATTRIBUTE}]`)) continue;
|
|
350
|
+
const surface = document.createElement("div");
|
|
351
|
+
surface.setAttribute(COMPOSER_SURFACE_ATTRIBUTE, "");
|
|
352
|
+
surface.setAttribute("aria-hidden", "true");
|
|
353
|
+
card.prepend(surface);
|
|
354
|
+
}
|
|
347
355
|
}
|
|
348
356
|
/**
|
|
349
357
|
* Stamp the seams once, then keep them stamped as React remounts nodes.
|
|
@@ -395,6 +403,7 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
|
|
|
395
403
|
if (frame !== void 0) cancelAnimationFrame(frame);
|
|
396
404
|
frame = void 0;
|
|
397
405
|
dirty = false;
|
|
406
|
+
for (const surface of document.querySelectorAll(`[${COMPOSER_SURFACE_ATTRIBUTE}]`)) surface.remove();
|
|
398
407
|
};
|
|
399
408
|
}
|
|
400
409
|
//#endregion
|
|
@@ -424,6 +433,7 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
|
|
|
424
433
|
const GLASS_FLOAT_ATTRIBUTE = "data-dsh-glass-float";
|
|
425
434
|
const GLASS_COMPAT_ATTRIBUTE = "data-dsh-glass-compat";
|
|
426
435
|
const STYLE_TAG_ID = "dsh-codex-ui-glass-style";
|
|
436
|
+
const GLASS_COMPOSER_CSS = GLASS_CSS_TEXT.replaceAll("[data-dsh-glass-float] [data-composer-card]:before", "[data-dsh-glass-float] [data-composer-card] > [data-dcu-glass-composer-surface]").replaceAll("[data-dsh-glass-compat] [data-composer-card]:before", "[data-dsh-glass-compat] [data-composer-card] > [data-dcu-glass-composer-surface]");
|
|
427
437
|
/** 玻璃层追加样式(拼在生成 CSS 之后,同特异性下后者胜出);导出以便契约测试断言 */
|
|
428
438
|
const GLASS_EXTRA_CSS = `
|
|
429
439
|
/* 插件页顶栏色差彻底消除:静止与滚动吸顶均保持底板透明,与全局背景底色与渐变自然融为一体;吸顶时呈现纯净磨砂与细线悬浮效果 */
|
|
@@ -484,7 +494,7 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
|
|
|
484
494
|
|
|
485
495
|
/* 对齐平铺风格(Compat)防漏字规范:将云母输入框卡片底色提升为高遮蔽度的 card-raised,
|
|
486
496
|
并锁定至少 12px 高斯磨砂,将底层滚动的历史文字彻底化开为淡淡的柔和色块,杜绝锐利笔画穿透叠字 */
|
|
487
|
-
[data-dsh-glass-float] [data-composer-card]
|
|
497
|
+
[data-dsh-glass-float] [data-composer-card] > [data-dcu-glass-composer-surface] {
|
|
488
498
|
background: var(--dsh-glass-card-raised) !important;
|
|
489
499
|
backdrop-filter: blur(max(var(--dsh-glass-blur, 12px), 12px)) !important;
|
|
490
500
|
-webkit-backdrop-filter: blur(max(var(--dsh-glass-blur, 12px), 12px)) !important;
|
|
@@ -532,7 +542,7 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
|
|
|
532
542
|
if (!styleTag) {
|
|
533
543
|
styleTag = document.createElement("style");
|
|
534
544
|
styleTag.id = STYLE_TAG_ID;
|
|
535
|
-
styleTag.textContent =
|
|
545
|
+
styleTag.textContent = GLASS_COMPOSER_CSS + GLASS_EXTRA_CSS;
|
|
536
546
|
}
|
|
537
547
|
}
|
|
538
548
|
if (!styleTag.isConnected) document.head.appendChild(styleTag);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-codex-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
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": {
|
|
@@ -123,32 +123,32 @@
|
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
125
|
"@deepseek-ai/cordis": "4.0.5",
|
|
126
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.
|
|
127
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.2.
|
|
128
|
-
"@deepseek-ai/dsh-attachment": "0.2.
|
|
129
|
-
"@deepseek-ai/dsh-client-connection": "0.2.
|
|
130
|
-
"@deepseek-ai/dsh-client-locale": "0.2.
|
|
131
|
-
"@deepseek-ai/dsh-client-store": "0.2.
|
|
132
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.2.
|
|
133
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.
|
|
134
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.
|
|
135
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.
|
|
136
|
-
"@deepseek-ai/dsh-client-ui-layout": "0.2.
|
|
137
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.
|
|
138
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.
|
|
139
|
-
"@deepseek-ai/dsh-client-ui-session": "0.2.
|
|
140
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.
|
|
141
|
-
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.
|
|
142
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.
|
|
143
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.
|
|
144
|
-
"@deepseek-ai/dsh-client-ui-theme": "0.2.
|
|
145
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.2.
|
|
146
|
-
"@deepseek-ai/dsh-scope": "0.2.
|
|
147
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
148
|
-
"@deepseek-ai/dsh-subagent": "0.2.
|
|
149
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.
|
|
150
|
-
"@deepseek-ai/dsh-util-workspace-path": "0.2.
|
|
151
|
-
"@deepseek-ai/dsh-workspace": "0.2.
|
|
126
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-rc.1",
|
|
127
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.2.2-rc.1",
|
|
128
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-rc.1",
|
|
129
|
+
"@deepseek-ai/dsh-client-connection": "0.2.2-rc.1",
|
|
130
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-rc.1",
|
|
131
|
+
"@deepseek-ai/dsh-client-store": "0.2.2-rc.1",
|
|
132
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.2-rc.1",
|
|
133
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.2-rc.1",
|
|
134
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.2-rc.1",
|
|
135
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.2-rc.1",
|
|
136
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.2.2-rc.1",
|
|
137
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-rc.1",
|
|
138
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-rc.1",
|
|
139
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.2-rc.1",
|
|
140
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-rc.1",
|
|
141
|
+
"@deepseek-ai/dsh-client-ui-settings-general": "0.2.2-rc.1",
|
|
142
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.2-rc.1",
|
|
143
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-rc.1",
|
|
144
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.2.2-rc.1",
|
|
145
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.2-rc.1",
|
|
146
|
+
"@deepseek-ai/dsh-scope": "0.2.2-rc.1",
|
|
147
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.1",
|
|
148
|
+
"@deepseek-ai/dsh-subagent": "0.2.2-rc.1",
|
|
149
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.1",
|
|
150
|
+
"@deepseek-ai/dsh-util-workspace-path": "0.2.2-rc.1",
|
|
151
|
+
"@deepseek-ai/dsh-workspace": "0.2.2-rc.1",
|
|
152
152
|
"@types/jsdom": "^30.0.0",
|
|
153
153
|
"@types/node": "^26.0.0",
|
|
154
154
|
"@types/react": "~18.3.1",
|