/** * @license * Copyright 2025 Vybestack LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box, Text } from 'ink'; import { Colors } from '../../colors.js'; import { RadioButtonSelect, type RadioSelectItem, } from '../shared/RadioButtonSelect.js'; export type WelcomeChoice = 'setup' | 'skip'; interface WelcomeStepProps { onSelect: (choice: WelcomeChoice) => void; isFocused?: boolean; } export const WelcomeStep: React.FC = ({ onSelect, isFocused = true, }) => { const options: Array> = [ { label: 'Set up now (recommended)', value: 'setup', key: 'setup', }, { label: "Skip setup (I know what I'm doing)", value: 'skip', key: 'skip', }, ]; return ( Welcome to llxprt! {"Let's get you set up in just a few steps."} {"You'll choose an AI provider and configure authentication"} so llxprt can work its magic. What would you like to do? Use ↑↓ to navigate, Enter to select, Esc to skip ); };