"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.renderInitToastMessage = renderInitToastMessage;
exports.renderGettingStartedChecklist = renderGettingStartedChecklist;
exports.renderValidateOnboardingGuidance = renderValidateOnboardingGuidance;
exports.renderFixFollowUpGuidance = renderFixFollowUpGuidance;
exports.renderNoSupportedFixGuidance = renderNoSupportedFixGuidance;
function renderInitToastMessage() {
    return 'ArchPilot initialized.';
}
function renderGettingStartedChecklist() {
    return [
        'Getting Started',
        '1. Validate your repo: `archpilot validate`',
        '2. Apply safe automatic fixes: `archpilot fix` (safe fixes only, no overwrite)',
        '3. Bootstrap missing setup artifacts when needed: `archpilot bootstrap --with-contracts`',
        '4. Open details in VS Code: `ArchPilot: Open Architecture Inspector`',
    ].join('\n');
}
function renderValidateOnboardingGuidance(input) {
    if (input.errors === 0 && input.warnings === 0 && input.setupGaps === 0) {
        return [
            'Architecture validated successfully.',
            'No setup gaps detected.',
            "You are ready to use ArchPilot in CI and pull requests.",
        ].join('\n');
    }
    const lines = ['Suggested Next Steps'];
    lines.push('1. Run `archpilot fix` to apply safe automatic fixes (no overwrite).');
    if (input.fixableQuickFixes === 0) {
        lines.push('2. No supported safe quick fixes are available for the current findings.');
    }
    else {
        lines.push('2. Re-run `archpilot validate` to verify what changed.');
    }
    if (input.setupGaps > 0) {
        lines.push('3. Run `archpilot bootstrap --with-contracts` for missing setup artifacts and contracts.');
        lines.push('4. Open the Architecture Inspector for detailed findings.');
    }
    else if (input.fixableQuickFixes === 0) {
        lines.push('3. Open the Architecture Inspector for detailed findings.');
    }
    else {
        lines.push('3. Open the Architecture Inspector for detailed findings.');
    }
    return lines.join('\n');
}
function renderFixFollowUpGuidance() {
    return [
        'Suggested Next Steps',
        '1. Run `archpilot validate` to confirm remaining findings.',
        '2. Open the Architecture Inspector for detailed remediation guidance.',
    ].join('\n');
}
function renderNoSupportedFixGuidance(input) {
    if (input.errors === 0 && input.warnings === 0 && input.setupGaps === 0) {
        return [
            'Architecture is already healthy.',
            'No additional safe automatic fixes are needed.',
            "You are ready to use ArchPilot in CI and pull requests.",
        ].join('\n');
    }
    const lines = ['Suggested Next Steps'];
    lines.push('1. No supported safe quick fixes are available for the current findings.');
    if (input.setupGaps > 0) {
        lines.push('2. Run `archpilot bootstrap --with-contracts` for missing setup artifacts and contracts.');
        lines.push('3. Re-run `archpilot validate` and review details in the Architecture Inspector.');
    }
    else {
        lines.push('2. Re-run `archpilot validate` and review details in the Architecture Inspector.');
    }
    return lines.join('\n');
}
//# sourceMappingURL=onboardingGuidance.js.map