export type EmbeddedContextFile = { path: string; content: string; }; export type FailoverReason = "auth" | "format" | "rate_limit" | "billing" /** The model BACKEND is down on our side (e.g. the shared service account is * unfunded) — an infra outage, not the user's balance or a rate limit. Still * triggers fallover, but never advertises self-healing "retry in a moment". */ | "service_unavailable" | "timeout" | "unknown";