@michengai/dsh-codex-ui 2.0.4 → 2.0.5
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 -7
- package/CHANGELOG.zh-CN.md +14 -7
- package/lib/client.js +52 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.0.5 (2026-10-29)
|
|
4
|
+
|
|
5
|
+
- **Fix Chat History Bleeding Through Composer (#69)**: Restore an opaque ground-aligned occlusion base and smooth top fade for the composer seat in glass and mica modes, eliminating text overlap and visual clutter where scrolled messages bled through the input card and status dock, while ensuring the last message remains fully legible when scrolled to the bottom.
|
|
6
|
+
- **Eliminate Scrolled Content Bleeding Under Floating Mica Header**: Prevent conversation messages and pills from bleeding through the floating header, top margin, and rounded corners during scroll, gracefully fading out overlapped content while keeping the header's native border, drop shadow, and frosted glass texture intact.
|
|
7
|
+
|
|
3
8
|
## 2.0.4 (2026-10-29)
|
|
4
9
|
|
|
5
|
-
- **Support Latest Host
|
|
6
|
-
- **Fix Settings
|
|
7
|
-
- **
|
|
8
|
-
- **
|
|
9
|
-
- **
|
|
10
|
-
-
|
|
11
|
-
-
|
|
10
|
+
- **Support Latest Host Versions**: Expand the host support matrix to officially support DeepSeek Harness latest RC (`0.2.1-rc.4`) and alpha (`0.2.2-alpha.2`).
|
|
11
|
+
- **Fix Settings Layout Fragmentation (#68)**: Adapt to the latest host settings structure, eliminating horizontal multi-column tearing, content width overflow, and title overlap to restore clean two-column layout and header bar.
|
|
12
|
+
- **Protect Theme Preferences & Dark Mode**: Prevent the UI from inadvertently reverting to a white/light theme when disabling theme enhancements or switching to default under "Follow System (Dark)" or custom dark palettes.
|
|
13
|
+
- **Eliminate Settings Modal Resize Flicker**: Ensure settings skin does not cause modal expand/shrink resize flickers when the skin is disabled.
|
|
14
|
+
- **Refine Visual Details & Layout Polishing**:
|
|
15
|
+
- Fix float mode right header alignment with content cards;
|
|
16
|
+
- Remove dirty gray smudges behind composer bottom stats pills;
|
|
17
|
+
- Restore trajectory view to full-bleed width in mica mode;
|
|
18
|
+
- Eliminate the sticky header color seam in the plugin manager.
|
|
12
19
|
|
|
13
20
|
## 2.0.3 (2026-10-28)
|
|
14
21
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
+
## 2.0.5 (2026-10-29)
|
|
4
|
+
|
|
5
|
+
- **修复输入框向上滚动历史文字穿透与遮挡缺失 (#69)**:在玻璃与云母浮动模式下,为底部输入框座舱还原与全局底盘无缝对齐的遮光底板,并保留上沿平滑渐隐,彻底解决向上浏览历史消息时正文透过输入框卡片和状态栏重叠穿透的问题;同时保证滚至底部时最后一条消息完整可见不被遮蔽。
|
|
6
|
+
- **消除云母浮动顶栏正文穿透**:修复悬浮标题栏在滚动时底层正文透过标题卡片、顶部外边距和圆角切角露出的问题,通过平滑渐隐优雅阻断穿透内容,并完整保留标题栏边框、阴影与磨砂微质感。
|
|
7
|
+
|
|
3
8
|
## 2.0.4 (2026-10-29)
|
|
4
9
|
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
10
|
+
- **支持最新宿主版本**:拓展宿主兼容矩阵,正式支持 DeepSeek Harness 最新 RC(`0.2.1-rc.4`)与 alpha 版本(`0.2.2-alpha.2`)。
|
|
11
|
+
- **修复设置页排版错位与多列撕裂 (#68)**:适配最新宿主设置页布局,解决设置弹窗横向撕裂为多列、内容宽度异常以及标题折行重叠的问题,恢复标准左右双栏与顶栏展示。
|
|
12
|
+
- **保护用户主题偏好与深色显示**:解决在跟随系统深色或自选深色主题时,停用主题插件或切回默认导致界面意外变白的问题,准确保留用户的暗色偏好。
|
|
13
|
+
- **消除设置弹窗开窗闪烁**:修复设置皮肤在停用状态下打开设置弹窗时出现的窗口缩放闪屏现象。
|
|
14
|
+
- **优化界面细节与排版瑕疵**:
|
|
15
|
+
- 修复云母浮动模式下设置顶栏与内容卡片的右侧对齐;
|
|
16
|
+
- 消除输入框底部统计栏背后的灰色斑块;
|
|
17
|
+
- 恢复会话轨迹视图的满宽铺展,避免在云母模式下被异常缩窄;
|
|
18
|
+
- 消除插件管理页滚动吸顶时的灰蓝色色差条带。
|
|
12
19
|
|
|
13
20
|
## 2.0.3 (2026-10-28)
|
|
14
21
|
|
package/lib/client.js
CHANGED
|
@@ -292,6 +292,7 @@ window.__ModuleLoader__.load({
|
|
|
292
292
|
const GLASS_FLOAT_ATTRIBUTE = "data-dsh-glass-float";
|
|
293
293
|
const GLASS_COMPAT_ATTRIBUTE = "data-dsh-glass-compat";
|
|
294
294
|
const STYLE_TAG_ID = "dsh-codex-ui-glass-style";
|
|
295
|
+
/** 玻璃层追加样式(拼在生成 CSS 之后,同特异性下后者胜出);导出以便契约测试断言 */
|
|
295
296
|
const GLASS_EXTRA_CSS = `
|
|
296
297
|
/* 插件页顶栏色差彻底消除:静止与滚动吸顶均保持底板透明,与全局背景底色与渐变自然融为一体;吸顶时呈现纯净磨砂与细线悬浮效果 */
|
|
297
298
|
[data-dsh-glass] [data-plugin-bar]:before,
|
|
@@ -347,6 +348,57 @@ window.__ModuleLoader__.load({
|
|
|
347
348
|
backdrop-filter: none !important;
|
|
348
349
|
-webkit-backdrop-filter: none !important;
|
|
349
350
|
}
|
|
351
|
+
|
|
352
|
+
/* 底盘渐变(与 body 上那份逐字一致)抽成变量挂在 body 上,供「座舱底板」和「云母浮动顶栏」共用:
|
|
353
|
+
这两处都需要一块与页面底色完全一致的实底来遮挡滚过的正文,而 background-attachment: fixed
|
|
354
|
+
能把渐变钉到视口上,画出来与页面底色逐像素一致(实测 RGB 通道差 0),不会产生横向色差。 */
|
|
355
|
+
[data-dsh-glass] body {
|
|
356
|
+
--dsh-glass-ground-layers:
|
|
357
|
+
radial-gradient(58% 46% at 18% 6%, color-mix(in srgb, var(--dsw-alias-brand-primary-new-colorprimary-new-color) calc(12% * var(--dsh-glass-ambience) * var(--dsh-glass-glow,0)), transparent), transparent 68%),
|
|
358
|
+
radial-gradient(48% 42% at 86% 14%, color-mix(in srgb, var(--dsw-alias-state-success-tertiary) calc(10% * var(--dsh-glass-ambience) * var(--dsh-glass-glow,0)), transparent), transparent 62%),
|
|
359
|
+
linear-gradient(165deg, color-mix(in srgb, var(--dsh-glass-ground), var(--dsh-glass-wash-tint) calc(var(--dsh-glass-wash-mix) * var(--dsh-glass-ambience))) 0%, var(--dsh-glass-ground) 55%, color-mix(in srgb, var(--dsh-glass-ground), #000 calc(5% * var(--dsh-glass-ambience))) 100%);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/* 输入框座舱遮挡(Issue #69):玻璃层把宿主 composerSeat 的原生 36px 渐变底板覆盖成了透明,
|
|
363
|
+
向上回看历史时正文会直接穿过输入卡片与底部 dock 区域;参考插件那条 dock 遮罩带又因色差被移除,
|
|
364
|
+
于是两层遮挡同时缺失。这里补回遮挡,拆成「座舱底板 + 上沿渐隐带」两段:
|
|
365
|
+
底板铺与页面底色逐像素一致的底盘(见上),彻底挡住正文且无色带;
|
|
366
|
+
渐隐带用 mask 淡出同一块底盘,高度 16px 是因为实测最后一条消息底部与座舱顶部正好留白 16px,
|
|
367
|
+
只覆盖这段空白,滚到底时不会把最后一条消息一起淡掉。 */
|
|
368
|
+
[data-dsh-glass] [data-phase=active] [class*="composerSeat"][class*="composerSeat"],
|
|
369
|
+
[data-dsh-glass] [data-content-phase=active] [class*="composerSeat"][class*="composerSeat"] {
|
|
370
|
+
background: var(--dsh-glass-ground-layers);
|
|
371
|
+
background-attachment: fixed;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
[data-dsh-glass] [data-phase=active] [class*="composerSeat"][class*="composerSeat"]::before,
|
|
375
|
+
[data-dsh-glass] [data-content-phase=active] [class*="composerSeat"][class*="composerSeat"]::before {
|
|
376
|
+
content: "";
|
|
377
|
+
position: absolute;
|
|
378
|
+
inset-inline: 0;
|
|
379
|
+
bottom: 100%;
|
|
380
|
+
height: 16px;
|
|
381
|
+
z-index: -1;
|
|
382
|
+
pointer-events: none;
|
|
383
|
+
background: var(--dsh-glass-ground-layers);
|
|
384
|
+
background-attachment: fixed;
|
|
385
|
+
-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 100%);
|
|
386
|
+
mask-image: linear-gradient(180deg, transparent 0, #000 100%);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* 云母浮动顶栏同一缺陷:浮动排版把滚动内容上提 95px,让它从顶栏下方穿过(padding-top:107px 只保证
|
|
390
|
+
滚到顶部时内容起始于顶栏下方)。而顶栏底色只有 52% × frost(clear 预设仅 8.3%)、blur 为 0,
|
|
391
|
+
于是正文在「窗口顶部 12px 留白」「20px 圆角切角」「顶栏本体」三处都会透出来。
|
|
392
|
+
做法:不动顶栏本身(边框、阴影、磨砂全部保留),而是让滚动内容在顶栏区域内淡出。
|
|
393
|
+
注意 mask 的原点是滚动容器的 border box,不是视口:
|
|
394
|
+
- 容器顶 = 顶栏底边 97px − 95px(margin-top) = 2px
|
|
395
|
+
- 96px → 绝对 y=98,刚好压在顶栏底边 97 之下(alpha=0,顶栏内不留任何正文)
|
|
396
|
+
- 106px → 绝对 y=108,而内容最早从 y=109 开始(容器顶 2 + 宿主 padding-top 107)
|
|
397
|
+
所以渐入既盖满顶栏区域,又不会压暗任何正文。改这两个常量前先重算这三个数。 */
|
|
398
|
+
[data-dsh-glass-float] [data-phase=active] [data-conversation-scroll] {
|
|
399
|
+
-webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 96px, #000 106px);
|
|
400
|
+
mask-image: linear-gradient(180deg, transparent 0, transparent 96px, #000 106px);
|
|
401
|
+
}
|
|
350
402
|
`;
|
|
351
403
|
let styleTag = null;
|
|
352
404
|
let seamDisposer;
|
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.5",
|
|
4
4
|
"description": "DSH Codex UI — 为 DeepSeek Harness 提供极速历史召回、全屏设置皮肤、原生物理毛玻璃换肤与模块化侧栏 · Input enhancement, settings skin, native glass theme, and modular sidebar for DSH",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|