Files
tutti/packages/agent/gui/shared/contracts/dto/shellDarwinTrafficLightsLayout.ts
agent-radar 2ed3415fb7
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
源码快照 @ 2026-09-01 (source-only, 剔除非源码素材)
2026-09-01 20:17:27 +08:00

23 lines
796 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 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;
}