'use client'; /** * Step 3: Client Mode Selection * * Allows users to choose how they want to interact with Syndarix agents. * Skipped for script complexity projects. */ import { Check, CheckCircle2 } from 'lucide-react'; import { Separator } from '@/components/ui/separator'; import { cn } from '@/lib/utils'; import { SelectableCard } from '../SelectableCard'; import { clientModeOptions } from '../constants'; import type { WizardState, ClientMode } from '../types'; interface ClientModeStepProps { state: WizardState; updateState: (updates: Partial) => void; } export function ClientModeStep({ state, updateState }: ClientModeStepProps) { const handleSelect = (clientMode: ClientMode) => { updateState({ clientMode }); }; return (

How Would You Like to Work?

Choose how you want to interact with Syndarix agents.

{clientModeOptions.map((option) => { const Icon = option.icon; const isSelected = state.clientMode === option.id; return ( handleSelect(option.id)} className="h-full" aria-label={`${option.label}: ${option.description}`} >
{isSelected && (
)}

{option.label}

{option.description}

    {option.details.map((detail) => (
  • ))}
); })}
); }