@michengai/dsh-codex-ui 2.0.6 → 2.0.8

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 CHANGED
@@ -1,14 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.8 (2026-10-31)
4
+
5
+ - **Align Sidebar Menu Item Cursor Interaction (#73)**: Removed the default `grab` hand cursor on draggable sidebar items to match the host application's standard click pointer (`pointer`), displaying the grabbing cursor only during active drag-and-drop reordering.
6
+
7
+ ## 2.0.7 (2026-10-31)
8
+
9
+ - **Fix Slash Command Palette Ghost Text Transparency (#72)**: Enhanced surface opacity to 88% and applied 24px backdrop blur to the slash trigger command palette (`[data-trigger-menu]`), eliminating overlapping ghost text and visual clutter when selecting commands over long conversation text.
10
+ - **Restore Glassmorphism Master Switch**: Restored the master toggle for "Glassmorphism & Mica" in Appearance Settings, allowing users to fold all frosted glass decorations and cleanly fall back to native solid colors when preferred.
11
+
3
12
  ## 2.0.6 (2026-10-30)
4
13
 
5
- - **Workspace Sections and Pinning Management (#70)**:
6
- - Introduce a lightweight, non-intrusive workspace sectioning and pinning system that fully preserves the official native workspace tree lifecycle and in-section drag-and-drop reordering;
7
- - Support workspace pinning/unpinning, custom sections creation, section renaming, and removal, with persistent state stored in the host's `plugin-data/`;
8
- - Driven by explicit move transactions with synchronized three-phase layout (host snapshot, DOM tree, and smooth motion animations), preventing bounce, visual jitter, and ghost residues during section moves;
9
- - Add robust failure and delay tolerance: 8-second pending status feedback and 20-second safety timeout rollback to prevent concurrency conflicts and queue deadlocks;
10
- - Support partial workspace list projections (such as the archive-only filter) via ordered subset validation, preventing synchronization hangs during view transitions;
11
- - Fix menu item label truncation and spurious \"Settings\" text leakage when cloning host menu rows with shortcut slots.
14
+ - **Workspace Pinning and Custom Sections (#70)**:
15
+ - Add "Pin" and "Section" options to the workspace context menu, allowing you to keep key projects at the top of the sidebar or organize them into custom sections;
16
+ - Support creating, renaming, and removing custom sections directly from section headers;
17
+ - Fully preserve native drag-and-drop reordering within each section.
12
18
 
13
19
  ## 2.0.5 (2026-10-29)
14
20
 
@@ -1,14 +1,20 @@
1
1
  # 更新日志
2
2
 
3
+ ## 2.0.8 (2026-10-31)
4
+
5
+ - **对齐侧栏菜单项鼠标光标交互体验 (#73)**:移除侧栏可拖拽项默认的抓手手势(`grab`),保持与宿主原生一致的标准点击指针(`pointer`);仅在实际按住并发生拖拽排序时呈现抓取状态(`grabbing`),避免非拖拽状态下的视觉突兀。
6
+
7
+ ## 2.0.7 (2026-10-31)
8
+
9
+ - **修复输入框斜杠快捷指令候选菜单半透明透光与字叠字穿透 (#72)**:为斜杠指令菜单面板(`[data-trigger-menu]`)注入 88% 高浓度底色与 24px 背景磨砂虚化,彻底解决在密集长对话文本上方悬浮呼出指令时背景透光导致的文字重叠遮挡问题。
10
+ - **恢复「玻璃质感与云母外观」总开关**:在外观设置卡片中恢复玻璃效果总控开关,支持用户一键折叠毛玻璃排版与材质选项,纯净回退到原生纯色模式。
11
+
3
12
  ## 2.0.6 (2026-10-30)
4
13
 
5
- - **正式上线工作区分区与置顶管理功能 (#70)**:
6
- - 带来轻量、无侵入的工作区「置顶 + 自定义分区」体系,完整保留宿主官方原生工作区树的生命周期与同分区内拖拽排序;
7
- - 支持工作区置顶与取消置顶、新建自定义分区、分区改名与移除,状态自动持久化到宿主 `plugin-data/`;
8
- - 采用显式移动事务驱动,实现宿主快照、DOM 列表与动效的三阶段严密同步,彻底杜绝分区操作过程中的项目跳动、回弹与旧位置残留;
9
- - 完善极端网络与响应容灾:对挂起的宿主请求引入 8 秒状态提示与 20 秒安全超时熔断撤销,避免并发冲突与侧栏死锁;
10
- - 支持会话归档过滤(`only`)等部分项目可见场景,自动做有序子集比对,防止在视图切换时卡死;
11
- - 修复克隆宿主带快捷键菜单项时的文字错位与“设置”文本残留缺陷。
14
+ - **支持工作区置顶与自定义分区管理 (#70)**:
15
+ - 在工作区操作菜单中新增「置顶」与「分区」选项,可将常用项目固定在列表最上方,或归类至自定义命名的分组中;
16
+ - 支持直接在分组标题上新建分区、重命名与移除分区;
17
+ - 完整保留原生工作区列表的拖拽排序体验,同分区内依然可以随心自由调整项目顺序。
12
18
 
13
19
  ## 2.0.5 (2026-10-29)
14
20
 
package/lib/client.js CHANGED
@@ -400,6 +400,20 @@ window.__ModuleLoader__.load({
400
400
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent 96px, #000 106px);
401
401
  mask-image: linear-gradient(180deg, transparent 0, transparent 96px, #000 106px);
402
402
  }
403
+
404
+ /* 斜杠指令/快捷指令候选面板([data-trigger-menu] / Issue #72):
405
+ 该菜单悬浮在输入卡片上方、直接压在滚动消息正文与代码块上。
406
+ 通用菜单 raised 填充(约 45%~58%)在密集文字流上无法有效阻断文字穿透(幽灵字叠字)。
407
+ 对齐参考插件模型菜单加浓规范,将表面材质提浓至 layer-2 @ 88% 并强化磨砂与边缘描边,同时同步渐隐阴影。 */
408
+ [data-trigger-menu] {
409
+ --dsw-menu-surface-fill: color-mix(in srgb, var(--dsw-alias-bg-layer-2, #1e1e2e) 88%, transparent) !important;
410
+ --dsw-specific-menu: color-mix(in srgb, var(--dsw-alias-bg-layer-2, #1e1e2e) 88%, transparent) !important;
411
+ --dsw-menu-backdrop-filter: blur(24px) saturate(140%) !important;
412
+ }
413
+ [data-dsh-glass] [data-trigger-menu] {
414
+ outline: 1px solid var(--dsh-glass-rim-soft, rgba(255, 255, 255, 0.12));
415
+ outline-offset: -1px;
416
+ }
403
417
  `;
404
418
  let styleTag = null;
405
419
  let seamDisposer;
@@ -1841,6 +1855,14 @@ window.__ModuleLoader__.load({
1841
1855
  backdrop-filter: none !important;
1842
1856
  -webkit-backdrop-filter: none !important;
1843
1857
  }
1858
+
1859
+ /* 斜杠指令/快捷指令候选面板([data-trigger-menu] / Issue #72):
1860
+ 在选用自定义主题时,无论是否开启毛玻璃,提升面板材质浓度,杜绝悬浮在消息流上时的字叠字穿透 */
1861
+ [data-trigger-menu] {
1862
+ --dsw-menu-surface-fill: color-mix(in srgb, var(--dsw-alias-bg-layer-2, #1e1e2e) 88%, transparent) !important;
1863
+ --dsw-specific-menu: color-mix(in srgb, var(--dsw-alias-bg-layer-2, #1e1e2e) 88%, transparent) !important;
1864
+ --dsw-menu-backdrop-filter: blur(24px) saturate(140%) !important;
1865
+ }
1844
1866
  `;
1845
1867
  doc.head.appendChild(tag);
1846
1868
  }
@@ -2010,6 +2032,7 @@ window.__ModuleLoader__.load({
2010
2032
  if (!enabled) {
2011
2033
  setThemeSubPluginEnabled(false);
2012
2034
  disposeGlassMode();
2035
+ removeThemeSurfaceStyles();
2013
2036
  for (const name of lastAppliedTokens) document.body.style.removeProperty(name);
2014
2037
  lastAppliedTokens = [];
2015
2038
  if (hasAppliedCustomTheme) {
@@ -2322,6 +2345,7 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
2322
2345
  border: 1px solid var(--dsw-alias-border-l1, rgba(255, 255, 255, 0.06));
2323
2346
  border-radius: 8px;
2324
2347
  }
2348
+ .dcu-theme-row,
2325
2349
  .dcu-theme-sub-row {
2326
2350
  display: flex;
2327
2351
  align-items: center;
@@ -2398,6 +2422,25 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card {
2398
2422
  })]
2399
2423
  }),
2400
2424
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2425
+ className: "dcu-theme-row",
2426
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2427
+ className: "dcu-theme-row-label",
2428
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2429
+ className: "dcu-theme-row-title",
2430
+ children: t("theme.glassEnable")
2431
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
2432
+ className: "dcu-theme-row-hint",
2433
+ children: t("theme.glassHint")
2434
+ })]
2435
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Switch, {
2436
+ label: t("theme.glassEnable"),
2437
+ checked: state.glassEnabled,
2438
+ onChange: (checked) => {
2439
+ changeGlass({ enabled: checked });
2440
+ }
2441
+ })]
2442
+ }),
2443
+ state.glassEnabled && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
2401
2444
  className: "dcu-theme-sub-group",
2402
2445
  children: [
2403
2446
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -3189,6 +3232,8 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card{background
3189
3232
  "theme.presetClear": "清透 (高透光)",
3190
3233
  "theme.presetStandard": "标准 (适中)",
3191
3234
  "theme.presetFrosted": "磨砂 (强虚化)",
3235
+ "theme.glassEnable": "玻璃质感与云母外观",
3236
+ "theme.glassHint": "启用毛玻璃与背景微透质感。关闭后主界面回退至纯色,不进行背景虚化与浮动卡片修饰",
3192
3237
  "theme.glassGlow": "地面光斑",
3193
3238
  "theme.glassGlowHint": "在渐变地面上叠加两枚柔光反射斑。开启后主页与背景会有漫反射光晕"
3194
3239
  };
@@ -3356,6 +3401,8 @@ html[data-dsh-glass] body:not([data-ds-dark-theme]) .dcu-section-card{background
3356
3401
  "theme.presetClear": "Clear",
3357
3402
  "theme.presetStandard": "Standard",
3358
3403
  "theme.presetFrosted": "Frosted",
3404
+ "theme.glassEnable": "Glassmorphism & Mica",
3405
+ "theme.glassHint": "Enable frosted glassmorphism and subtle background translucency. Turning it off restores solid colors on the main layout without blur or floating cards",
3359
3406
  "theme.glassGlow": "Ground glows",
3360
3407
  "theme.glassGlowHint": "Adds soft radial glows on top of the gradient ground. Turning it on brightens the top-left corner"
3361
3408
  };
@@ -6567,14 +6614,6 @@ html[data-dsh-glass-float] [data-shortcut-modal="settings"]:has(> [class*="optio
6567
6614
  -webkit-app-region: no-drag !important;
6568
6615
  }
6569
6616
 
6570
- .dcu-sb-row[draggable="true"] {
6571
- cursor: grab;
6572
- }
6573
-
6574
- .dcu-sb-row[draggable="true"]:active {
6575
- cursor: grabbing;
6576
- }
6577
-
6578
6617
  /* 鼠标悬停胶囊态:对齐宿主交互 hover 底色 */
6579
6618
  .dcu-sb-row:hover {
6580
6619
  background: var(--dsw-alias-interactive-bg-hover, rgba(255, 255, 255, 0.08));
@@ -163,6 +163,8 @@ const zh = {
163
163
  "theme.presetClear": "清透 (高透光)",
164
164
  "theme.presetStandard": "标准 (适中)",
165
165
  "theme.presetFrosted": "磨砂 (强虚化)",
166
+ "theme.glassEnable": "玻璃质感与云母外观",
167
+ "theme.glassHint": "启用毛玻璃与背景微透质感。关闭后主界面回退至纯色,不进行背景虚化与浮动卡片修饰",
166
168
  "theme.glassGlow": "地面光斑",
167
169
  "theme.glassGlowHint": "在渐变地面上叠加两枚柔光反射斑。开启后主页与背景会有漫反射光晕"
168
170
  };
@@ -330,6 +332,8 @@ const en = {
330
332
  "theme.presetClear": "Clear",
331
333
  "theme.presetStandard": "Standard",
332
334
  "theme.presetFrosted": "Frosted",
335
+ "theme.glassEnable": "Glassmorphism & Mica",
336
+ "theme.glassHint": "Enable frosted glassmorphism and subtle background translucency. Turning it off restores solid colors on the main layout without blur or floating cards",
333
337
  "theme.glassGlow": "Ground glows",
334
338
  "theme.glassGlowHint": "Adds soft radial glows on top of the gradient ground. Turning it on brightens the top-left corner"
335
339
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-codex-ui",
3
- "version": "2.0.6",
3
+ "version": "2.0.8",
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": {