import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from "ink";
import { SelectList } from "../../../design/SelectList.js";
import { agentLocationOptions } from "../../agentFileUtils.js";
export function LocationStep(props) {
    return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { color: "cyan", children: "Agent location" }), _jsx(SelectList, { options: agentLocationOptions({
                    projectPath: props.projectPath,
                    userAgentsPath: props.userAgentsPath,
                    selected: props.location,
                }), width: props.width })] }));
}
