import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from "ink";
import { SelectList } from "../../../design/SelectList.js";
export function methodStepOptions(method) {
    return [
        {
            id: "generate",
            label: "Generate",
            detail: "goal to draft",
            description: "Use DeepSeekCode's cache-friendly agent generator from a short goal.",
            selected: method === "generate",
            tone: "success",
        },
        {
            id: "manual",
            label: "Manual",
            detail: "write fields yourself",
            description: "Best when you already know the exact prompt and tool policy.",
            selected: method === "manual",
            tone: "brand",
        },
    ];
}
export function MethodStep(props) {
    return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { color: "cyan", children: "Creation method" }), _jsx(SelectList, { options: methodStepOptions(props.method), width: props.width })] }));
}
