"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createRerouteCard = exports.devRerouteCard = exports.docRerouteCard = exports.testRerouteCard = exports.pairProgrammingModeOff = exports.pairProgrammingModeOn = exports.pairProgrammingPromptInput = exports.programmerModeCard = void 0;
const mynah_ui_1 = require("@aws/mynah-ui");
exports.programmerModeCard = {
    type: mynah_ui_1.ChatItemType.ANSWER,
    title: 'NEW FEATURE',
    header: {
        icon: 'code-block',
        iconStatus: 'primary',
        body: '### An interactive, agentic coding experience',
    },
    messageId: 'programmerModeCardId',
    fullWidth: true,
    canBeDismissed: true,
    body: 'Amazon Q can now help you write, modify, and maintain code by combining the power of natural language understanding with the ability to take actions on your behalf such as directly making code changes, modifying files, and running commands.',
};
exports.pairProgrammingPromptInput = {
    type: 'switch',
    id: 'pair-programmer-mode',
    tooltip: 'Turn OFF agentic coding',
    alternateTooltip: 'Turn ON agentic coding',
    value: 'true',
    icon: 'code-block',
};
exports.pairProgrammingModeOn = {
    type: mynah_ui_1.ChatItemType.DIRECTIVE,
    contentHorizontalAlignment: 'center',
    fullWidth: true,
    body: 'Agentic coding - ON',
};
exports.pairProgrammingModeOff = {
    type: mynah_ui_1.ChatItemType.DIRECTIVE,
    contentHorizontalAlignment: 'center',
    fullWidth: true,
    body: 'Agentic coding - OFF',
};
exports.testRerouteCard = {
    type: mynah_ui_1.ChatItemType.ANSWER,
    border: true,
    header: {
        padding: true,
        iconForegroundStatus: 'warning',
        icon: mynah_ui_1.MynahIcons.INFO,
        body: 'You can now ask to generate unit tests directly in the chat.',
    },
    body: `You don't need to explicitly use /test. We've redirected your request to chat.
Ask me to do things like:
• Add unit tests for highlighted functions in my active file
• Generate tests for null and empty inputs in my project`,
};
exports.docRerouteCard = {
    type: mynah_ui_1.ChatItemType.ANSWER,
    border: true,
    header: {
        padding: true,
        iconForegroundStatus: 'warning',
        icon: mynah_ui_1.MynahIcons.INFO,
        body: 'You can now ask to generate documentation directly in the chat.',
    },
    body: `You don't need to explicitly use /doc. We've redirected your request to chat.`,
};
exports.devRerouteCard = {
    type: mynah_ui_1.ChatItemType.ANSWER,
    border: true,
    header: {
        padding: true,
        iconForegroundStatus: 'warning',
        icon: mynah_ui_1.MynahIcons.INFO,
        body: 'You can now ask to generate code directly in the chat.',
    },
    body: `You don't need to explicitly use /dev. We've redirected your request to chat.
Ask me to do things like:
1. Create a project
2. Add a feature
3. Modify your files`,
};
const createRerouteCard = (command) => {
    switch (command) {
        case '/test':
            return exports.testRerouteCard;
        case '/doc':
            return exports.docRerouteCard;
        case '/dev':
            return exports.devRerouteCard;
        default:
            return exports.devRerouteCard; // Default fallback
    }
};
exports.createRerouteCard = createRerouteCard;
//# sourceMappingURL=pairProgramming.js.map