import { InterstitialTerminalScreen } from '../InterstitialTerminalScreen' import type { SecretsState } from './McpSecrets.types' import { getSecretsCopy } from './McpSecrets.utils' import { McpSecretsForm } from './McpSecretsForm' import { McpSecretsSkeleton } from './McpSecretsSkeleton' import { McpSecretsWrongAccount } from './McpSecretsWrongAccount' export const McpSecretsCard = ({ state, isSaving, onSave, onCancel, onSwitchAccount, }: { state: SecretsState isSaving: boolean onSave: (secret: string) => void onCancel: () => void onSwitchAccount: () => void }) => { if (state.status === 'loading') return if (state.status === 'form') { return ( ) } if (state.status === 'wrong-account') { return ( ) } return }