@michengai/dsh-codex-ui 1.1.5 → 1.1.7
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 +60 -0
- package/CHANGELOG.zh-CN.md +60 -0
- package/lib/client.js +6 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,66 @@
|
|
|
4
4
|
|
|
5
5
|
This changelog records recent releases of DSH Codex UI and its one-click installer. Earlier changes remain available in the [Git history](https://github.com/MichengAI/dsh-codex-ui/commits/main).
|
|
6
6
|
|
|
7
|
+
## 1.1.7 - 2026-09-14
|
|
8
|
+
|
|
9
|
+
- Restore the billing plugin's native sidebar entry styles by removing Codex UI overrides for its card, icons, text, and expanded/collapsed appearance. Clicking the entry still opens the existing usage statistics settings page.
|
|
10
|
+
|
|
11
|
+
## suite-installer-v1.0.9 - 2026-09-14
|
|
12
|
+
|
|
13
|
+
Install or maintain 11 first-party plugins in one step. Included plugins and versions:
|
|
14
|
+
|
|
15
|
+
- `@michengai/dsh-archive-manager@0.1.41`
|
|
16
|
+
- `@michengai/dsh-codex-ui@1.1.6`
|
|
17
|
+
- `@michengai/dsh-skills-manager@0.1.50`
|
|
18
|
+
- `@michengai/dsh-agency-agents@0.1.42`
|
|
19
|
+
- `@michengai/dsh-im-connect@0.1.48`
|
|
20
|
+
- `@michengai/dsh-automation@0.1.41`
|
|
21
|
+
- `@michengai/dsh-btw@0.1.7`
|
|
22
|
+
- `@michengai/dsh-simplify@0.1.4`
|
|
23
|
+
- `@michengai/dsh-pua@0.3.11`
|
|
24
|
+
- `@michengai/dsh-code-review@0.1.0`
|
|
25
|
+
- `@michengai/dsh-codex-pet@0.1.5`
|
|
26
|
+
|
|
27
|
+
The installer uses these exact versions for reproducible installation.
|
|
28
|
+
|
|
29
|
+
## 1.1.6 - 2026-09-14
|
|
30
|
+
|
|
31
|
+
- Fix the Web page freezing on initial load or refresh in a narrow window when the sidebar starts collapsed.
|
|
32
|
+
|
|
33
|
+
## suite-installer-v1.0.8 - 2026-09-14
|
|
34
|
+
|
|
35
|
+
Install or maintain 11 first-party plugins in one step. Included plugins and versions:
|
|
36
|
+
|
|
37
|
+
- `@michengai/dsh-archive-manager@0.1.40`
|
|
38
|
+
- `@michengai/dsh-codex-ui@1.1.5`
|
|
39
|
+
- `@michengai/dsh-skills-manager@0.1.50`
|
|
40
|
+
- `@michengai/dsh-agency-agents@0.1.42`
|
|
41
|
+
- `@michengai/dsh-im-connect@0.1.47`
|
|
42
|
+
- `@michengai/dsh-automation@0.1.40`
|
|
43
|
+
- `@michengai/dsh-btw@0.1.7`
|
|
44
|
+
- `@michengai/dsh-simplify@0.1.4`
|
|
45
|
+
- `@michengai/dsh-pua@0.3.11`
|
|
46
|
+
- `@michengai/dsh-code-review@0.1.0`
|
|
47
|
+
- `@michengai/dsh-codex-pet@0.1.5`
|
|
48
|
+
|
|
49
|
+
The installer uses these exact versions for reproducible installation.
|
|
50
|
+
|
|
51
|
+
## suite-installer-v1.0.7 - 2026-09-14
|
|
52
|
+
|
|
53
|
+
Resolved and pinned the following member versions from the official npm registry:
|
|
54
|
+
|
|
55
|
+
- `@michengai/dsh-archive-manager@0.1.40`
|
|
56
|
+
- `@michengai/dsh-codex-ui@1.1.5`
|
|
57
|
+
- `@michengai/dsh-skills-manager@0.1.50`
|
|
58
|
+
- `@michengai/dsh-agency-agents@0.1.42`
|
|
59
|
+
- `@michengai/dsh-im-connect@0.1.47`
|
|
60
|
+
- `@michengai/dsh-automation@0.1.40`
|
|
61
|
+
- `@michengai/dsh-btw@0.1.7`
|
|
62
|
+
- `@michengai/dsh-simplify@0.1.4`
|
|
63
|
+
- `@michengai/dsh-codex-pet@0.1.5`
|
|
64
|
+
|
|
65
|
+
The installer uses these exact versions for reproducible installation.
|
|
66
|
+
|
|
7
67
|
## 1.1.5 - 2026-09-14
|
|
8
68
|
|
|
9
69
|
- Click a plugin title or full package name on the About page to open its project homepage in a new tab; App Market opens its official website.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,66 @@
|
|
|
4
4
|
|
|
5
5
|
本日志记录 DSH Codex UI 及其一键安装器的最近发布;更早的变更可查看 [Git 提交历史](https://github.com/MichengAI/dsh-codex-ui/commits/main)。
|
|
6
6
|
|
|
7
|
+
## 1.1.7 - 2026-09-14
|
|
8
|
+
|
|
9
|
+
- 恢复侧栏用量入口的插件原生样式,移除 Codex UI 对卡片、图标、文字和宽窄态外观的覆盖;点击入口仍打开现有用量统计设置页。
|
|
10
|
+
|
|
11
|
+
## suite-installer-v1.0.9 - 2026-09-14
|
|
12
|
+
|
|
13
|
+
一键维护安装 11 个自研插件。包含以下插件及版本:
|
|
14
|
+
|
|
15
|
+
- `@michengai/dsh-archive-manager@0.1.41`
|
|
16
|
+
- `@michengai/dsh-codex-ui@1.1.6`
|
|
17
|
+
- `@michengai/dsh-skills-manager@0.1.50`
|
|
18
|
+
- `@michengai/dsh-agency-agents@0.1.42`
|
|
19
|
+
- `@michengai/dsh-im-connect@0.1.48`
|
|
20
|
+
- `@michengai/dsh-automation@0.1.41`
|
|
21
|
+
- `@michengai/dsh-btw@0.1.7`
|
|
22
|
+
- `@michengai/dsh-simplify@0.1.4`
|
|
23
|
+
- `@michengai/dsh-pua@0.3.11`
|
|
24
|
+
- `@michengai/dsh-code-review@0.1.0`
|
|
25
|
+
- `@michengai/dsh-codex-pet@0.1.5`
|
|
26
|
+
|
|
27
|
+
安装器使用这些精确版本执行安装,确保可复现。
|
|
28
|
+
|
|
29
|
+
## 1.1.6 - 2026-09-14
|
|
30
|
+
|
|
31
|
+
- 修复窄窗口下首次打开或刷新 Web 时,侧栏初始收起可能导致页面卡住的问题。
|
|
32
|
+
|
|
33
|
+
## suite-installer-v1.0.8 - 2026-09-14
|
|
34
|
+
|
|
35
|
+
一键维护安装 11 个自研插件。包含以下插件及版本:
|
|
36
|
+
|
|
37
|
+
- `@michengai/dsh-archive-manager@0.1.40`
|
|
38
|
+
- `@michengai/dsh-codex-ui@1.1.5`
|
|
39
|
+
- `@michengai/dsh-skills-manager@0.1.50`
|
|
40
|
+
- `@michengai/dsh-agency-agents@0.1.42`
|
|
41
|
+
- `@michengai/dsh-im-connect@0.1.47`
|
|
42
|
+
- `@michengai/dsh-automation@0.1.40`
|
|
43
|
+
- `@michengai/dsh-btw@0.1.7`
|
|
44
|
+
- `@michengai/dsh-simplify@0.1.4`
|
|
45
|
+
- `@michengai/dsh-pua@0.3.11`
|
|
46
|
+
- `@michengai/dsh-code-review@0.1.0`
|
|
47
|
+
- `@michengai/dsh-codex-pet@0.1.5`
|
|
48
|
+
|
|
49
|
+
安装器使用这些精确版本执行安装,确保可复现。
|
|
50
|
+
|
|
51
|
+
## suite-installer-v1.0.7 - 2026-09-14
|
|
52
|
+
|
|
53
|
+
从官方 npm 解析并锁定以下成员版本:
|
|
54
|
+
|
|
55
|
+
- `@michengai/dsh-archive-manager@0.1.40`
|
|
56
|
+
- `@michengai/dsh-codex-ui@1.1.5`
|
|
57
|
+
- `@michengai/dsh-skills-manager@0.1.50`
|
|
58
|
+
- `@michengai/dsh-agency-agents@0.1.42`
|
|
59
|
+
- `@michengai/dsh-im-connect@0.1.47`
|
|
60
|
+
- `@michengai/dsh-automation@0.1.40`
|
|
61
|
+
- `@michengai/dsh-btw@0.1.7`
|
|
62
|
+
- `@michengai/dsh-simplify@0.1.4`
|
|
63
|
+
- `@michengai/dsh-codex-pet@0.1.5`
|
|
64
|
+
|
|
65
|
+
安装器使用这些精确版本执行安装,确保可复现。
|
|
66
|
+
|
|
7
67
|
## 1.1.5 - 2026-09-14
|
|
8
68
|
|
|
9
69
|
- 关于页支持点击插件标题或完整包名,在新标签页打开项目主页;应用市场跳转至官网。
|
package/lib/client.js
CHANGED
|
@@ -5894,9 +5894,12 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
5894
5894
|
if (handle !== null && handle.style.left !== contentWidth) handle.style.left = contentWidth;
|
|
5895
5895
|
return changed;
|
|
5896
5896
|
}
|
|
5897
|
+
/** 自动宽度调整与初始化过渡共用前置条件;手动拖拽不受此限制。 */
|
|
5898
|
+
function canApplySlimSidebar(frame) {
|
|
5899
|
+
return !frame.hasAttribute("data-dragging") && !frame.hasAttribute("data-sidebar-collapsed") && parseSidebarGrid(frame.style.gridTemplateColumns) !== void 0;
|
|
5900
|
+
}
|
|
5897
5901
|
function applySlimSidebar(frame) {
|
|
5898
|
-
if (frame
|
|
5899
|
-
if (parseSidebarGrid(frame.style.gridTemplateColumns) === void 0 || frame.hasAttribute("data-sidebar-collapsed")) return false;
|
|
5902
|
+
if (!canApplySlimSidebar(frame)) return false;
|
|
5900
5903
|
const initialized = frame.hasAttribute("data-dcu-codex-sidebar-initialized");
|
|
5901
5904
|
const changed = applySidebarWidth(frame, initialized ? visibleSidebarWidths.get(frame) ?? 240 : 240);
|
|
5902
5905
|
if (!initialized) frame.setAttribute("data-dcu-codex-sidebar-initialized", "");
|
|
@@ -5942,6 +5945,7 @@ header [data-dcu-title-folder] svg,header [data-dcu-title-more] svg{display:bloc
|
|
|
5942
5945
|
try {
|
|
5943
5946
|
if (frame === void 0 || !frame.isConnected) watchFrame(findSidebarFrame(document));
|
|
5944
5947
|
if (frame !== void 0) {
|
|
5948
|
+
if (!canApplySlimSidebar(frame)) return;
|
|
5945
5949
|
const restoreTransition = frame.hasAttribute("data-dcu-codex-sidebar-initialized") ? void 0 : pauseInitialSidebarTransition(frame);
|
|
5946
5950
|
const changed = applySlimSidebar(frame);
|
|
5947
5951
|
if (restoreTransition !== void 0) {
|
|
@@ -6404,24 +6408,8 @@ body[data-we-sidebar-glass] .dcu-expanded-shell,body[data-we-sidebar-glass] .dcu
|
|
|
6404
6408
|
.dcu-menu-icon{display:grid;place-items:center start;width:20px;height:20px}.dcu-menu-icon svg,.dcu-footer-link svg{display:block;width:16px;height:16px;color:var(--dcu-sidebar-icon)}.dcu-menu button:disabled{color:var(--dcu-sidebar-secondary);cursor:default;opacity:1}.dcu-menu button:disabled svg{color:var(--dcu-sidebar-secondary)}
|
|
6405
6409
|
.dcu-extensions-group{display:grid}.dcu-extension-leading{position:relative;display:block;width:16px;height:16px}.dcu-extension-leading svg{position:absolute;inset:0;transition:opacity 140ms ease-out,transform 220ms cubic-bezier(.16,1,.3,1)}.dcu-extension-default-icon{opacity:1}.dcu-extension-state-arrow{opacity:0;transform:rotate(0)}.dcu-extensions-group:hover .dcu-extension-default-icon,.dcu-extensions-toggle:focus-visible .dcu-extension-default-icon{opacity:0}.dcu-extensions-group:hover .dcu-extension-state-arrow,.dcu-extensions-toggle:focus-visible .dcu-extension-state-arrow{opacity:1}.dcu-extensions-toggle[aria-expanded=true] .dcu-extension-state-arrow{transform:rotate(90deg)}.dcu-extension-panel{display:grid;grid-template-rows:1fr;opacity:1;transition:grid-template-rows 220ms cubic-bezier(.16,1,.3,1),opacity 160ms ease-out}.dcu-extension-panel[data-open=false]{grid-template-rows:0fr;opacity:0;pointer-events:none}.dcu-extension-panel-inner{position:relative;min-height:0;overflow:hidden}.dcu-extension-items{position:relative;display:grid;gap:1px;margin:1px 0 4px 28px}.dcu-extension-items::before{content:"";position:absolute;left:-16px;top:0;bottom:4px;width:1px;background:var(--dcu-sidebar-border)}.dcu-extension-items button{grid-template-columns:minmax(0,1fr);min-height:32px;color:var(--dcu-sidebar-secondary);font-size:13px;font-weight:400}.dcu-extension-items .dcu-menu-icon{display:none}
|
|
6406
6410
|
.dcu-workspaces{display:flex;min-height:0;flex:1;flex-direction:column;margin-top:2px;padding-top:8px;border-top:1px solid var(--dcu-sidebar-border)}.dcu-workspaces.dcu-workspaces-tabs{padding-top:0;border-top:0}.dcu-im-tabs{display:flex;gap:16px;margin:0 8px 12px;padding:0;border-bottom:1px solid var(--dcu-sidebar-border)}.dcu-im-tab{appearance:none;border:0;background:transparent;color:var(--dcu-sidebar-secondary);padding:8px 0 7px;font:14px/22px var(--dcu-font);font-weight:500;cursor:pointer}.dcu-im-tab[data-on=true]{color:var(--dcu-sidebar-primary);font-weight:600;box-shadow:inset 0 -2px 0 currentColor}.dcu-native-workspaces{display:flex;min-height:0;flex:1}.dcu-native-workspaces>*{min-width:0;flex:1}.dcu-native-workspaces .ima-tabs,.dcu-native-workspaces [role=tablist]{display:none!important}.dcu-schedule-browser{display:flex;min-height:0;flex:1;flex-direction:column}.dcu-native-workspaces .dcu-schedule-views{display:flex!important;flex:none;min-height:30px;margin:0 8px 8px;padding:2px;border:1px solid var(--dcu-sidebar-border);border-radius:8px;background:rgba(255,255,255,.025)}.dcu-schedule-views button{appearance:none;flex:1;min-width:0;height:24px;border:0;border-radius:6px;background:transparent;color:var(--dcu-sidebar-secondary);font:600 12px/18px var(--dcu-font);cursor:pointer}.dcu-schedule-views button[aria-selected=true]{background:var(--dcu-sidebar-hover);color:var(--dcu-sidebar-primary);box-shadow:inset 0 0 0 1px var(--dcu-sidebar-border)}.dcu-schedule-pane{display:flex;min-height:0;flex:1}.dcu-schedule-pane>*{min-width:0;flex:1}.dcu-schedule-pane>[data-slot="sidebar.schedule"]{display:flex!important;width:100%;min-width:0;flex:1}.dcu-schedule-pane>[data-slot="sidebar.schedule"]>.dsh-st-rail{width:100%;min-width:0;padding-right:8px;scrollbar-gutter:auto}.dcu-schedule-pane .dsh-st-overview{padding-right:8px}.dcu-foot{display:grid;width:100%;gap:4px;padding:8px 6px 12px;border-top:1px solid var(--dcu-sidebar-border);transition:opacity 500ms cubic-bezier(.16,1,.3,1),transform 500ms cubic-bezier(.16,1,.3,1)}.dcu-root.dcu-collapsing>.dcu-foot{opacity:0;transform:translateX(-4px);pointer-events:none}.dcu-footer-actions:empty,.dcu-settings-seat:empty{display:none}.dcu-settings-seat>button{width:100%;min-height:36px;padding-left:4px!important;color:var(--dcu-sidebar-navigation);font:14px/20px var(--dcu-font);font-weight:400}.dcu-compact{width:100%;align-items:flex-start;overflow:hidden;padding:10px 0 8px}.dcu-compact-nav{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;gap:2px;overflow:auto;padding:6px 0}.dcu-compact .dcu-icon{width:36px;height:36px;flex:none}.dcu-compact .dcu-foot{width:36px;margin-top:auto;margin-left:10px;padding:8px 0;border-top:0}.dcu-compact .dcu-settings-seat{width:36px;overflow:hidden}.dcu-compact .dcu-settings-seat>button{display:grid;place-items:center;width:36px;min-height:36px;padding:0!important;font-size:0!important;line-height:0}.dcu-compact .dcu-settings-seat>button svg{width:16px;height:16px}.dcu-compact .dcu-footer-link{display:flex;justify-content:center;width:36px;padding:0;font-size:0}.dcu-compact .dcu-footer-link svg{width:16px;height:16px}
|
|
6407
|
-
/* 仅适配费用插件入口;通过标记及入口结构定位,保留原生统计、浮层和容器查询。 */
|
|
6408
|
-
.dcu-footer-actions [data-testid="billing-trigger"]{box-sizing:border-box;width:100%;min-width:0;min-height:52px;padding:8px 6px;gap:8px;border:0;border-radius:6px;background:transparent;color:var(--dcu-sidebar-primary);font-family:var(--dcu-font);box-shadow:none;transform:none;transition:background-color 120ms ease-out,color 120ms ease-out}
|
|
6409
|
-
.dcu-footer-actions :is([data-testid="billing-trigger"],[data-testid="billing-rail-button"]):hover{border-color:transparent;background:var(--dcu-sidebar-hover);box-shadow:none;transform:none}
|
|
6410
|
-
.dcu-footer-actions :is([data-testid="billing-trigger"],[data-testid="billing-rail-button"]):focus-visible{background:var(--dcu-sidebar-hover);outline:2px solid var(--dcu-sidebar-icon);outline-offset:-2px;box-shadow:none;transform:none}
|
|
6411
|
-
.dcu-footer-actions [data-testid="billing-trigger-icon"]{flex:none;width:16px;height:20px;border:0;border-radius:0;background:transparent;color:var(--dcu-sidebar-icon);opacity:1}
|
|
6412
|
-
/* 费用图形仅占 24px 画布中的 16px;补偿内部留白,使可见宽度与设置图标一致。 */
|
|
6413
|
-
.dcu-footer-actions [data-testid="billing-trigger-icon"] svg{flex:none;width:24px;height:24px;stroke-width:1.5px}
|
|
6414
|
-
.dcu-footer-actions [data-testid="billing-trigger-icon"]+span{min-width:0;gap:2px;margin-left:4px}
|
|
6415
|
-
.dcu-footer-actions [data-testid="billing-trigger-icon"]+span>span:first-child{gap:4px;min-width:0}
|
|
6416
|
-
.dcu-footer-actions [data-testid="billing-trigger-icon"]+span>span:first-child>span{color:var(--dcu-sidebar-navigation);font-size:12px;line-height:20px;letter-spacing:0}
|
|
6417
|
-
.dcu-footer-actions [data-testid="billing-trigger-icon"]+span>span:first-child>span:last-child{color:var(--dcu-sidebar-navigation);font-size:16px;font-weight:600;line-height:20px;letter-spacing:0;font-variant-numeric:tabular-nums}
|
|
6418
|
-
.dcu-footer-actions [data-testid="billing-trigger-today"]{color:var(--dcu-sidebar-navigation);font-size:12px;line-height:16px}
|
|
6419
|
-
.dcu-footer-actions [data-testid="billing-trigger-spark"]>span{background:var(--dcu-sidebar-secondary)}
|
|
6420
|
-
.dcu-footer-actions [data-testid="billing-rail-button"]{box-sizing:border-box;display:grid;place-items:center;width:36px;height:36px;min-width:0;padding:0;border:0;border-radius:8px;background:transparent;color:var(--dcu-sidebar-icon);box-shadow:none;transform:none;transition:background-color 120ms ease-out,color 120ms ease-out}
|
|
6421
|
-
.dcu-footer-actions [data-testid="billing-rail-button"] svg{flex:none;width:24px;height:24px;stroke-width:1.5px}
|
|
6422
6411
|
.dcu-settings-seat [data-slot="settings.trigger"]{color:var(--dcu-sidebar-navigation)}
|
|
6423
6412
|
.dcu-settings-seat [data-slot="settings.trigger"]>svg{color:var(--dcu-sidebar-icon)}
|
|
6424
|
-
@media (prefers-reduced-motion:reduce){.dcu-footer-actions :is([data-testid="billing-trigger"],[data-testid="billing-rail-button"]){transition:none}}
|
|
6425
6413
|
/* 宿主列负责缩放,宽态内容保持展开宽度,避免中文竖排与工作区逐帧重排。 */
|
|
6426
6414
|
.dcu-expanded-shell,.dcu-root:not(.dcu-compact)>.dcu-foot{width:var(--dcu-sidebar-expanded-width,240px);flex-shrink:0}
|
|
6427
6415
|
/* 对齐 Codex 的半秒布局节奏;显式声明避免依赖宿主主题的动画 token。 */
|