@kangyishuai/dsh-session-delete 0.4.8 → 0.4.9
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/README.md +1 -0
- package/README.zh-CN.md +1 -0
- package/lib/client.js +11 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,7 @@ Capability grades:
|
|
|
120
120
|
|
|
121
121
|
| Plugin | Verified on DSH | Notes |
|
|
122
122
|
| ------ | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
123
|
+
| 0.4.8 | **0.2.2-rc.2** (desktop) | macOS window-drag fix: the self-drawn dialog fallback mask declares `data-window-drag-exclude`. Desktop read-only regression on the published build: 14/14; runtime probe 67/67. |
|
|
123
124
|
| 0.4.7 | **0.2.2-rc.2** (throwaway home) | `pnpm smoke:session-delete`: 24/24 on a throwaway DSH home, after fixing the smoke's row selection (it had counted the unsaved “new chat” row as a session — see [runtime 0.2.2-rc.2 §7](../../docs/runtime/0.2.2-rc.2.md)). Desktop read-only regression on the installed 0.4.6 (same code except one Biome template literal): 14/14. |
|
|
124
125
|
| 0.4.2 | **0.2.2-rc.1** (desktop) | `pnpm smoke:session-delete`: 24 assertions green; plugin active with no bundle error on the same host version. |
|
|
125
126
|
| 0.4.2 | 0.2.1-rc.5 (desktop) | `pnpm smoke:session-delete`: 24 assertions green; manual GUI pass on the same host version. |
|
package/README.zh-CN.md
CHANGED
|
@@ -120,6 +120,7 @@ dsh plugin --profile desktop add /tmp/kangyishuai-dsh-session-delete-*.tgz
|
|
|
120
120
|
|
|
121
121
|
| 插件版本 | 已验证的 DSH 版本 | 说明 |
|
|
122
122
|
| -------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
123
|
+
| 0.4.8 | **0.2.2-rc.2**(桌面版) | macOS 窗口拖动修复:自绘确认框 fallback 的遮罩声明 `data-window-drag-exclude`。桌面只读回归在发布版上复跑 14/14,宿主探针 67/67。 |
|
|
123
124
|
| 0.4.7 | **0.2.2-rc.2**(临时 DSH home) | `pnpm smoke:session-delete` 24/24(临时 DSH home);此前 23/24 是冒烟把「新会话」临时行当成会话计数,修好行选择与按 ID 断言后全绿(见 [runtime 0.2.2-rc.2 §7](../../docs/runtime/0.2.2-rc.2.md))。桌面只读回归跑在已装的 0.4.6 上(与 0.4.7 只差一处 Biome 模板字符串):14/14。 |
|
|
124
125
|
| 0.4.2 | **0.2.2-rc.1**(桌面版) | `pnpm smoke:session-delete` 24 项断言全绿,并确认同一版本桌面版里插件正常激活、没有 bundle 错误。 |
|
|
125
126
|
| 0.4.2 | 0.2.1-rc.5(桌面版) | `pnpm smoke:session-delete` 24 项断言全绿,并在同一版本桌面版做过人工 GUI 验收。 |
|
package/lib/client.js
CHANGED
|
@@ -35,6 +35,9 @@ window.__ModuleLoader__.load({
|
|
|
35
35
|
border: "var(--dsw-alias-border-l2, rgba(128,128,128,0.35))",
|
|
36
36
|
hover: "var(--dsw-alias-interactive-bg-hover, rgba(128,128,128,0.12))",
|
|
37
37
|
danger: "var(--dsw-alias-state-error-primary, #d9534f)",
|
|
38
|
+
// 与 danger 成对:反色实心填充必须配宿主的前景色 token,不能写死白。
|
|
39
|
+
// 深色主题下宿主 error 是浅红 #f25a5a,白字只有 3.29:1;配 label-primary-foreground 是 5.75:1。
|
|
40
|
+
dangerText: "var(--dsw-alias-label-primary-foreground, #fff)",
|
|
38
41
|
mask: "var(--dsw-alias-bg-mask-1, rgba(0,0,0,0.45))",
|
|
39
42
|
toastBg: "var(--dsw-alias-toast-bg, Canvas)",
|
|
40
43
|
toastText: "var(--dsw-alias-toast-label, CanvasText)",
|
|
@@ -467,7 +470,7 @@ window.__ModuleLoader__.load({
|
|
|
467
470
|
padding: "0 4px",
|
|
468
471
|
borderRadius: "8px",
|
|
469
472
|
background: T.danger,
|
|
470
|
-
color:
|
|
473
|
+
color: T.dangerText,
|
|
471
474
|
fontSize: "10px",
|
|
472
475
|
lineHeight: "16px",
|
|
473
476
|
textAlign: "center",
|
|
@@ -1643,6 +1646,13 @@ window.__ModuleLoader__.load({
|
|
|
1643
1646
|
);
|
|
1644
1647
|
};
|
|
1645
1648
|
|
|
1649
|
+
// 供 node:vm 单测读取的内部出口(非枚举,不影响运行时)。
|
|
1650
|
+
Object.defineProperty(exports, "__test", {
|
|
1651
|
+
value: Object.freeze({
|
|
1652
|
+
tokens: T,
|
|
1653
|
+
}),
|
|
1654
|
+
});
|
|
1655
|
+
|
|
1646
1656
|
return module.exports;
|
|
1647
1657
|
},
|
|
1648
1658
|
});
|