Publish Claude Code Binaries / Stage and publish binaries (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-arm64 (push) Canceled after 0s
Publish Tutti App Runtime / Build darwin-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build linux-amd64 (push) Canceled after 0s
Publish Tutti App Runtime / Build windows-amd64 (push) Canceled after 0s
Sync Tutti Agent Skills / sync (push) Canceled after 0s
Windows Agent Adapters / Test Windows agent adapters (push) Canceled after 0s
Windows Daemon Adapters / Test Windows daemon adapters (push) Canceled after 0s
Publish Tutti App Runtime / Publish runtime catalog (push) Canceled after 0s
23 lines
796 B
TypeScript
23 lines
796 B
TypeScript
/**
|
||
* Surface that owns the traffic-light alignment row.
|
||
*
|
||
* - `entry`:Dashboard / 登录 / 加载等首页类窗口;圆点只需对齐到行视觉中心(仅扣按钮半径)。
|
||
* - `workspace`:房间窗口;在按钮半径之外再额外抬一个视觉微调,使圆点视觉中心略高于行几何中心,
|
||
* 与设计师在房间窗口里确认的位置一致。
|
||
*
|
||
* 不传则按 `entry` 处理,保持向后兼容。
|
||
*/
|
||
export type ShellDarwinTrafficLightsSurface = "workspace" | "entry";
|
||
|
||
export type ShellDarwinTrafficLightsLayoutInput =
|
||
| {
|
||
mode: "workspace-row";
|
||
rowCenterYPx: number;
|
||
surface?: ShellDarwinTrafficLightsSurface;
|
||
}
|
||
| { mode: "fallback" };
|
||
|
||
export interface ShellDarwinNativeTrafficLightsVisibleInput {
|
||
visible: boolean;
|
||
}
|