export type Os = "darwin" | "linux" | "win32" | "other"; export type Outcome = "ok" | "error" | "timeout"; export type EventType = "init.run" | "init.detected.claude-code" | "init.detected.cursor" | "init.detected.windsurf" | "init.detected.vscode" | "init.detected.jetbrains" | "init.detected.antigravity" | "init.detected.codex" | "init.detected.copilot" | "init.detected.copilot-cli" | "doctor.run" | "doctor.issue" | "index.cold_start" | "index.refresh" | "tool.call" | "memory.write" | "memory.read" | "memory.staleness_detected" | "session.heartbeat" | "opt_in" | "opt_out"; export interface Event { install_id: string; version: string; os: Os; node_major: number; event: EventType; tool: string | null; outcome: Outcome; duration_ms: number; }