diff --git a/ui/src/ui/views/config-form.render.ts b/ui/src/ui/views/config-form.render.ts index e007426a9..441abc318 100644 --- a/ui/src/ui/views/config-form.render.ts +++ b/ui/src/ui/views/config-form.render.ts @@ -14,7 +14,7 @@ export type ConfigFormProps = { onPatch: (path: Array, value: unknown) => void; }; -// SVG Icons for section cards +// SVG Icons for section cards (Lucide-style) const sectionIcons = { env: html``, update: html``, @@ -28,59 +28,55 @@ const sectionIcons = { tools: html``, gateway: html``, wizard: html``, + // Additional sections + meta: html``, + logging: html``, + browser: html``, + ui: html``, + models: html``, + bindings: html``, + broadcast: html``, + audio: html``, + session: html``, + cron: html``, + web: html``, + discovery: html``, + canvasHost: html``, + talk: html``, + plugins: html``, default: html``, }; // Section metadata const SECTION_META: Record = { - env: { - label: "Environment Variables", - description: "Environment variables passed to the gateway process" - }, - update: { - label: "Updates", - description: "Auto-update settings and release channel" - }, - agents: { - label: "Agents", - description: "Agent configurations, models, and identities" - }, - auth: { - label: "Authentication", - description: "API keys and authentication profiles" - }, - channels: { - label: "Channels", - description: "Messaging channels (Telegram, Discord, Slack, etc.)" - }, - messages: { - label: "Messages", - description: "Message handling and routing settings" - }, - commands: { - label: "Commands", - description: "Custom slash commands" - }, - hooks: { - label: "Hooks", - description: "Webhooks and event hooks" - }, - skills: { - label: "Skills", - description: "Skill packs and capabilities" - }, - tools: { - label: "Tools", - description: "Tool configurations (browser, search, etc.)" - }, - gateway: { - label: "Gateway", - description: "Gateway server settings (port, auth, binding)" - }, - wizard: { - label: "Setup Wizard", - description: "Setup wizard state and history" - }, + env: { label: "Environment Variables", description: "Environment variables passed to the gateway process" }, + update: { label: "Updates", description: "Auto-update settings and release channel" }, + agents: { label: "Agents", description: "Agent configurations, models, and identities" }, + auth: { label: "Authentication", description: "API keys and authentication profiles" }, + channels: { label: "Channels", description: "Messaging channels (Telegram, Discord, Slack, etc.)" }, + messages: { label: "Messages", description: "Message handling and routing settings" }, + commands: { label: "Commands", description: "Custom slash commands" }, + hooks: { label: "Hooks", description: "Webhooks and event hooks" }, + skills: { label: "Skills", description: "Skill packs and capabilities" }, + tools: { label: "Tools", description: "Tool configurations (browser, search, etc.)" }, + gateway: { label: "Gateway", description: "Gateway server settings (port, auth, binding)" }, + wizard: { label: "Setup Wizard", description: "Setup wizard state and history" }, + // Additional sections + meta: { label: "Metadata", description: "Gateway metadata and version information" }, + logging: { label: "Logging", description: "Log levels and output configuration" }, + browser: { label: "Browser", description: "Browser automation settings" }, + ui: { label: "UI", description: "User interface preferences" }, + models: { label: "Models", description: "AI model configurations and providers" }, + bindings: { label: "Bindings", description: "Key bindings and shortcuts" }, + broadcast: { label: "Broadcast", description: "Broadcast and notification settings" }, + audio: { label: "Audio", description: "Audio input/output settings" }, + session: { label: "Session", description: "Session management and persistence" }, + cron: { label: "Cron", description: "Scheduled tasks and automation" }, + web: { label: "Web", description: "Web server and API settings" }, + discovery: { label: "Discovery", description: "Service discovery and networking" }, + canvasHost: { label: "Canvas Host", description: "Canvas rendering and display" }, + talk: { label: "Talk", description: "Voice and speech settings" }, + plugins: { label: "Plugins", description: "Plugin management and extensions" }, }; function getSectionIcon(key: string) { diff --git a/ui/src/ui/views/config.ts b/ui/src/ui/views/config.ts index 316400059..616489549 100644 --- a/ui/src/ui/views/config.ts +++ b/ui/src/ui/views/config.ts @@ -30,7 +30,7 @@ export type ConfigProps = { onUpdate: () => void; }; -// SVG Icons for sidebar +// SVG Icons for sidebar (Lucide-style) const sidebarIcons = { all: html``, env: html``, @@ -45,6 +45,22 @@ const sidebarIcons = { tools: html``, gateway: html``, wizard: html``, + // Additional sections + meta: html``, + logging: html``, + browser: html``, + ui: html``, + models: html``, + bindings: html``, + broadcast: html``, + audio: html``, + session: html``, + cron: html``, + web: html``, + discovery: html``, + canvasHost: html``, + talk: html``, + plugins: html``, default: html``, };