// Scarf Sidebar — sectioned nav matching SidebarView.swift // Sections: Monitor / Projects / Interact / Configure / Manage const SIDEBAR_SECTIONS = [ { title: 'Monitor', items: [ { id: 'dashboard', label: 'Dashboard', icon: 'layout-dashboard' }, { id: 'insights', label: 'Insights', icon: 'bar-chart-3' }, { id: 'sessions', label: 'Sessions', icon: 'messages-square' }, { id: 'activity', label: 'Activity', icon: 'activity' }, ]}, { title: 'Projects', items: [ { id: 'projects', label: 'Projects', icon: 'folder' }, ]}, { title: 'Interact', items: [ { id: 'chat', label: 'Chat', icon: 'sparkles' }, { id: 'memory', label: 'Memory', icon: 'database' }, { id: 'skills', label: 'Skills', icon: 'wand-2' }, ]}, { title: 'Configure', items: [ { id: 'platforms', label: 'Platforms', icon: 'cloud' }, { id: 'personalities', label: 'Personalities', icon: 'user-circle' }, { id: 'quickCommands', label: 'Quick Commands', icon: 'zap' }, { id: 'credentialPools', label: 'Credentials', icon: 'key' }, { id: 'plugins', label: 'Plugins', icon: 'puzzle' }, { id: 'webhooks', label: 'Webhooks', icon: 'webhook' }, { id: 'profiles', label: 'Profiles', icon: 'users' }, ]}, { title: 'Manage', items: [ { id: 'tools', label: 'Tools', icon: 'wrench' }, { id: 'mcpServers', label: 'MCP Servers', icon: 'server' }, { id: 'gateway', label: 'Gateway', icon: 'network' }, { id: 'cron', label: 'Cron', icon: 'clock' }, { id: 'health', label: 'Health', icon: 'stethoscope' }, { id: 'logs', label: 'Logs', icon: 'file-text' }, { id: 'settings', label: 'Settings', icon: 'settings' }, ]}, ]; function ScarfSidebar({ active, onSelect }) { return ( ); } window.ScarfSidebar = ScarfSidebar; window.SIDEBAR_SECTIONS = SIDEBAR_SECTIONS;