/**
 * Onboarding command hints.
 *
 * The commands shown to a user after setup must be limited to the workflows
 * their profile actually installs, otherwise we advertise slash commands that
 * were correctly never generated.
 *
 * This module decides WHICH hints to show. How each one is spelled for a given
 * tool — command, skill, or a tool-specific skill prefix — is decided by
 * src/utils/command-references.ts at the call site.
 */
/**
 * Longest description the welcome screen can render. It shows these beside a
 * 24-column art column and only animates at MIN_WIDTH (60) columns or wider; a
 * longer line wraps, and the animation's cursor-up count assumes unwrapped
 * lines. See src/ui/welcome-screen.ts.
 */
export const DESCRIPTION_BUDGET = 17;
/**
 * Ordered onboarding hints. Each entry is shown only when its workflow is
 * installed, so the list follows the change lifecycle: start, then build,
 * then implement.
 */
const ONBOARDING_COMMANDS = [
    { workflow: 'propose', command: '/opsx:propose', description: 'Start a change' },
    { workflow: 'new', command: '/opsx:new', description: 'Scaffold a change' },
    { workflow: 'continue', command: '/opsx:continue', description: 'Next artifact' },
    { workflow: 'apply', command: '/opsx:apply', description: 'Implement tasks' },
];
/**
 * Returns the onboarding hints for the installed workflows, in lifecycle order.
 * Returns an empty array when none of the onboarding workflows are installed.
 */
export function getOnboardingCommands(workflows) {
    const installed = new Set(workflows);
    return ONBOARDING_COMMANDS.filter((entry) => installed.has(entry.workflow));
}
//# sourceMappingURL=onboarding-commands.js.map