interface SetupWarningBannerProps { /** Whether an AI provider is connected */ hasAiProvider: boolean; /** Whether GitHub is connected */ hasGithub: boolean; /** Optional: compact mode for inline use (QuickEntryBox) */ compact?: boolean; } interface WarningItem { key: "ai" | "github"; title: string; description: string; } export function SetupWarningBanner({ hasAiProvider, hasGithub, compact = false, }: SetupWarningBannerProps) { if (hasAiProvider && hasGithub) { return null; } if (compact) { return (
⚠ Setup incomplete — AI and/or GitHub features will be limited.
{warning.description}