import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from "ink";
import { Workbench } from "../components/Workbench.js";
import { Pane } from "../components/design/Pane.js";
export function ResumeConversation(props) {
    if (props.config && props.state) {
        return _jsx(Workbench, { config: props.config, state: props.state, provider: props.provider ?? null });
    }
    return (_jsx(Box, { flexDirection: "column", marginBottom: 1, children: _jsxs(Pane, { width: 72, title: "resume", tone: "brand", paddingX: 1, children: [_jsx(Text, { bold: true, color: "cyan", children: "Resume conversation" }), _jsx(Text, { color: "gray", children: "Use /resume or /sessions to select a local DeepSeekCode transcript." })] }) }));
}
export default ResumeConversation;
