diff --git a/ui/src/ui/views/config-form.render.ts b/ui/src/ui/views/config-form.render.ts index 60f2feb75..149b40801 100644 --- a/ui/src/ui/views/config-form.render.ts +++ b/ui/src/ui/views/config-form.render.ts @@ -54,7 +54,7 @@ const sectionIcons = { }; // Section metadata -const SECTION_META: Record = { +export 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" }, diff --git a/ui/src/ui/views/config-form.ts b/ui/src/ui/views/config-form.ts index 6675bef26..0bcfe0a9c 100644 --- a/ui/src/ui/views/config-form.ts +++ b/ui/src/ui/views/config-form.ts @@ -1,4 +1,4 @@ -export { renderConfigForm, type ConfigFormProps } from "./config-form.render"; +export { renderConfigForm, type ConfigFormProps, SECTION_META } from "./config-form.render"; export { analyzeConfigSchema, type ConfigSchemaAnalysis, diff --git a/ui/src/ui/views/config.ts b/ui/src/ui/views/config.ts index 9af992024..53b550efe 100644 --- a/ui/src/ui/views/config.ts +++ b/ui/src/ui/views/config.ts @@ -1,6 +1,6 @@ import { html, nothing } from "lit"; import type { ConfigUiHints } from "../types"; -import { analyzeConfigSchema, renderConfigForm } from "./config-form"; +import { analyzeConfigSchema, renderConfigForm, SECTION_META } from "./config-form"; import { hintForPath, humanize,