import { Select } from 'src/components/CustomSelect/index.js'; import { Box, Text } from '@anthropic/ink'; interface ExistingWorkflowStepProps { repoName: string; onSelectAction: (action: 'update' | 'skip' | 'exit') => void; } export function ExistingWorkflowStep({ repoName, onSelectAction }: ExistingWorkflowStepProps) { const options = [ { label: 'Update workflow file with latest version', value: 'update', }, { label: 'Skip workflow update (configure secrets only)', value: 'skip', }, { label: 'Exit without making changes', value: 'exit', }, ]; const handleSelect = (value: string) => { onSelectAction(value as 'update' | 'skip' | 'exit'); }; const handleCancel = () => { onSelectAction('exit'); }; return ( Existing Workflow Found Repository: {repoName} A Claude workflow file already exists at .github/workflows/claude.yml What would you like to do?