import { jsx as _jsx } from "react/jsx-runtime";
import { Bot, Brain, Layers, Sparkles, Type, Wrench } from "lucide-react";
import { GroupedFieldConfigPanel, } from "./GroupedFieldConfigPanel";
const FIELD_GROUPS = [
    {
        title: "Identity",
        description: "How the profile presents itself to users.",
        icon: _jsx(Type, { className: "h-4 w-4", strokeWidth: 1.5 }),
        fieldNames: [
            ["Display Title"],
            ["Agent User Display Name"],
            ["Description"],
            ["Greeting Message"],
        ],
    },
    {
        title: "Models",
        description: "Default model and available model set.",
        icon: _jsx(Sparkles, { className: "h-4 w-4", strokeWidth: 1.5 }),
        fieldNames: [["Default Model"], ["Models"]],
    },
    {
        title: "Tools",
        description: "Which tools this profile may use and tool-call behavior.",
        icon: _jsx(Wrench, { className: "h-4 w-4", strokeWidth: 1.5 }),
        fieldNames: [
            ["Allowed Tools"],
            ["Ask Mode Tools", "Read-Only Mode Tools"],
            ["Max Tool Calls"],
            ["Disable Tool Call Pruning"],
        ],
    },
    {
        title: "Skills",
        description: "Skill packs and which profiles the agent may switch to.",
        icon: _jsx(Layers, { className: "h-4 w-4", strokeWidth: 1.5 }),
        fieldNames: [
            ["Allowed Skills"],
            ["Available Skills"],
            ["Preload Skills"],
            ["Allowed Switch Profiles"],
        ],
    },
    {
        title: "Behavior",
        description: "Controls how the profile operates in the editor.",
        icon: _jsx(Brain, { className: "h-4 w-4", strokeWidth: 1.5 }),
        fieldNames: [
            ["Instructions"],
            ["Include Editor Context"],
            ["Enable Quick Actions"],
            ["Sitecore Allowances"],
            ["Filesystem Allowances"],
            ["Hidden from Overview"],
        ],
    },
];
export function AgentProfileConfigPanel({ itemId, title, onClose, actions, refreshToken = 0, }) {
    return (_jsx(GroupedFieldConfigPanel, { itemId: itemId, title: title, onClose: onClose, actions: actions, refreshToken: refreshToken, fieldGroups: FIELD_GROUPS, headerIcon: _jsx(Bot, { className: "h-4 w-4", strokeWidth: 1.5 }), loadErrorTitle: "Unable to load agent profile", emptyMessage: "No editable settings were found for this profile.", fallbackTitle: "Agent Profile", footerLeadingText: "For temperature, cost limits, document upload, and other advanced options use the " }));
}
export default AgentProfileConfigPanel;
//# sourceMappingURL=AgentProfileConfigPanel.js.map