import { SettingsPageClient } from './settings-page-client.js';
import { createDefaultSettings } from '../../../../../../packages/core/src/domain/factories/settings-defaults.factory.js';
import { AgentType } from '../../../../../../packages/core/src/domain/generated/output.js';
const defaultSettings = createDefaultSettings();
const meta = {
    title: 'Features/Settings/SettingsPageClient',
    component: SettingsPageClient,
    tags: ['autodocs'],
    parameters: {
        layout: 'padded',
    },
};
export default meta;
export const Default = {
    args: {
        settings: defaultSettings,
        shepHome: '/home/user/.shep',
        dbFileSize: '2.4 MB',
    },
};
export const AllSections = {
    args: {
        settings: {
            ...defaultSettings,
            agent: {
                ...defaultSettings.agent,
                type: AgentType.GeminiCli,
            },
            featureFlags: {
                envDeploy: true,
                debug: false,
                reactFileManager: false,
                projects: false,
                codeReview: false,
                collaboration: false,
                bedrockIntegration: false,
            },
        },
        shepHome: '/opt/shep',
        dbFileSize: '12.8 MB',
    },
};
export const EvidenceEnabled = {
    args: {
        settings: {
            ...defaultSettings,
            workflow: {
                ...defaultSettings.workflow,
                enableEvidence: true,
                commitEvidence: true,
            },
        },
        shepHome: '/home/user/.shep',
        dbFileSize: '2.4 MB',
    },
};
export const CustomTimeouts = {
    args: {
        settings: {
            ...defaultSettings,
            workflow: {
                ...defaultSettings.workflow,
                stageTimeouts: {
                    analyzeMs: 300000,
                    requirementsMs: 600000,
                    researchMs: 900000,
                    planMs: 600000,
                    implementMs: 1800000,
                    fastImplementMs: 1800000,
                    mergeMs: 600000,
                },
                analyzeRepoTimeouts: {
                    analyzeMs: 300000,
                },
            },
        },
        shepHome: '/home/user/.shep',
        dbFileSize: '2.4 MB',
    },
};
