- Add IPC and runtime plumbing for preview annotation theming - Generate and ship annotation CSS for the desktop overlay - Add pointer and artifact handling for browser preview interactions
7 lines
234 B
TypeScript
7 lines
234 B
TypeScript
export type BrowserController = "human" | "agent" | "none";
|
|
|
|
export function agentBrowserCursorOpacity(active: boolean, controller: BrowserController): number {
|
|
if (active) return 1;
|
|
return controller === "human" ? 0.18 : 0.35;
|
|
}
|