import { jsx as _jsx } from "react/jsx-runtime";
import { getSkills } from '../../lib/skills.js';
import { SkillsPageClient } from '../../components/features/skills/index.js';
import { getSettings } from '../../../../../packages/core/src/infrastructure/services/settings.service.js';
import { createDefaultSettings } from '../../../../../packages/core/src/domain/factories/settings-defaults.factory.js';
const defaultInjectionConfig = createDefaultSettings().workflow.skillInjection;
export default async function SkillsPage() {
    const skills = await getSkills();
    const settings = getSettings();
    const injectionConfig = settings.workflow.skillInjection ?? defaultInjectionConfig;
    return _jsx(SkillsPageClient, { skills: skills, injectionConfig: injectionConfig });
}
