Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
// This file has been generated by Specta. Do not edit this file manually.
/** A route id or entity type defined in app code, never user text. */
export type CodeName = string;
export type DiagnosticEvent = {
sequence: number,
timestampMs: number,
frontendInstanceId: string | null,
event: Event,
};
export type Event = FrontendEvent | NativeEvent;
export type EventSnapshot = {
events: DiagnosticEvent[],
currentFrontendInstanceId: string | null,
heartbeat: DiagnosticEvent | null,
dropped: number,
memoryWarningReporting: boolean,
};
/** Closed schema: never accept arbitrary text, URLs, or message content. */
export type FrontendEvent = { kind: "started"; previous_instance_id: string | null } | { kind: "heartbeat"; visible: boolean; online: boolean } | { kind: "visibility"; visible: boolean } | { kind: "connectivity"; online: boolean } | { kind: "reload_requested"; reload_id: string; reason: ReloadReason } |
/**
* A pane started navigating; recorded before the destination loads so a
* termination while it loads still names it.
*/
{ kind: "navigated"; cause: NavigationCause; route: CodeName; from_route: CodeName | null; entity_type: CodeName | null } |
/** Clears identifiers before another account can take over the WebView. */
{ kind: "account_cleared" };
export type NativeEvent = { kind: "foreground" } | { kind: "background" } | { kind: "memory_warning" } | { kind: "web_content_terminated" };
export type NavigationCause = "initial" | "external" | "navigate" | "history" | "search";
export type ReloadReason = "cache_replaced_automatic" | "update_accepted" | "failed_load_recovery" | "user_recovery" | "logout";