import type { ReactNode } from "react"; import { IntegrationsPanel } from "../integrations/IntegrationsPanel.js"; import { OnboardingPanel } from "../onboarding/OnboardingPanel.js"; import { SecretsSection } from "../settings/SecretsSection.js"; import { cn } from "../utils.js"; import { BuilderConnectCard } from "./BuilderConnectCard.js"; export interface SetupConnectionsPageProps { title?: string; description?: string; onboardingTitle?: string; focusSecretKey?: string; providerReadiness?: ReactNode; workspaceConnections?: ReactNode; children?: ReactNode; showOnboarding?: boolean; showBuilderConnect?: boolean; showSecrets?: boolean; showIntegrations?: boolean; className?: string; } export function SetupConnectionsPage({ title = "Setup & connections", description = "Manage setup status, Builder connect, app secrets, and workspace connections from one standard surface.", onboardingTitle = "Setup checklist", focusSecretKey, providerReadiness, workspaceConnections, children, showOnboarding = true, showBuilderConnect = true, showSecrets = true, showIntegrations = false, className, }: SetupConnectionsPageProps) { return (

{title}

{description}

{showOnboarding ? ( ) : null} {workspaceConnections ? (
{workspaceConnections}
) : null} {providerReadiness ? (
{providerReadiness}
) : null} {children}
); }