@linkdesk/contracts 0.1.48 → 0.1.50
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/linkdesk.d.ts +13 -2
- package/package.json +1 -1
package/linkdesk.d.ts
CHANGED
|
@@ -208,9 +208,14 @@ export interface ThemeSurface {
|
|
|
208
208
|
saturate?: number;
|
|
209
209
|
/** Color layered over the glass surface */
|
|
210
210
|
tint?: string;
|
|
211
|
-
/** Glass surface opacity (the compositing-layer baseline)—1 = opaque / 0 = fully see-through to the background.
|
|
212
|
-
* opacity
|
|
211
|
+
/** Glass surface opacity (the compositing-layer baseline)—1 = opaque / 0 = fully see-through to the background.
|
|
212
|
+
* Written to --glass-opacity and used by the engine as the surface alpha in follow-theme mode; a user-written
|
|
213
|
+
* app.glassOpacity overrides it in custom mode. Surface colors are treated as opaque base colors (their own
|
|
214
|
+
* alpha is ignored once glass is declared); themes without glass keep their per-surface alpha as authored. */
|
|
213
215
|
opacity?: number;
|
|
216
|
+
/** Tint overlay opacity (the glass tint layer)—defaults to `opacity`. Decouple the tint thickness from the
|
|
217
|
+
* surface alpha: e.g. surface 0.55 + tintOpacity 0.275 keeps a strong glass but a light tint. */
|
|
218
|
+
tintOpacity?: number;
|
|
214
219
|
/** Liquid-glass top highlight intensity—0 = off */
|
|
215
220
|
specular?: number;
|
|
216
221
|
/** top highlight base color (the hairline-light edge color)—omitted = white; alpha still goes through specular */
|
|
@@ -1433,6 +1438,12 @@ export interface DialogOpenOptions {
|
|
|
1433
1438
|
name: string;
|
|
1434
1439
|
extensions: string[];
|
|
1435
1440
|
}[];
|
|
1441
|
+
/**
|
|
1442
|
+
* 2026-11-23:初始目录的**已知文件夹令牌**(⚠️ 不接受插件给绝对路径)。
|
|
1443
|
+
* `"appearance"` = userData/appearance(受控外观图缓存,背景图选择用)——主进程解析并建目录。
|
|
1444
|
+
* 旧壳忽略本字段(无初始目录),插件可安全传入。
|
|
1445
|
+
*/
|
|
1446
|
+
defaultPathKind?: "appearance";
|
|
1436
1447
|
}
|
|
1437
1448
|
/** rich-content confirm dialog open params—pool plugin → shell DialogService (addressed by content view declaration).
|
|
1438
1449
|
* title/message are fallbacks—when the content view fails to resolve, the shell falls back to a plain-text confirm (the dialog still shows; it does not silently die). */
|