import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from "ink";
import { SelectList } from "../../../design/SelectList.js";
export function memoryStepOptions(enabled) {
    return [
        {
            id: "enabled",
            label: "Use project memory",
            detail: "include stable guidance",
            description: "Good for agents that should follow repository conventions.",
            selected: enabled,
            tone: "success",
        },
        {
            id: "disabled",
            label: "No memory",
            detail: "smaller prompt",
            description: "Useful for cache-sensitive one-off agents.",
            selected: !enabled,
            tone: "muted",
        },
    ];
}
export function MemoryStep(props) {
    return (_jsxs(Box, { flexDirection: "column", children: [_jsx(Text, { color: "cyan", children: "Project memory" }), _jsx(SelectList, { options: memoryStepOptions(props.enabled), width: props.width })] }));
}
