Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix: lots of UI/UX improvements

Miguelon Peluchon3e3d3e7412d4
diff --git a/control-ui/app/globals.css b/control-ui/app/globals.css
index c0344abe0..81d014803 100644
--- a/control-ui/app/globals.css
+++ b/control-ui/app/globals.css
@@ -5646,10 +5646,21 @@ textarea.cu-input {
outline-offset: 2px;
}
+.cu-selection-dropdown__button[aria-invalid='true'] {
+ border-color: var(--cu-danger);
+}
+
.cu-selection-dropdown__button--placeholder {
color: var(--cu-text-soft);
}
+.cu-selection-dropdown__button-value {
+ display: flex;
+ align-items: center;
+ gap: var(--cu-space-2);
+ min-width: 0;
+}
+
.cu-selection-dropdown__button-copy {
min-width: 0;
overflow: hidden;
@@ -5803,6 +5814,12 @@ textarea.cu-input {
outline: none;
}
+.cu-selection-dropdown__option-leading {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--cu-space-2);
+}
+
.cu-selection-dropdown__check {
display: inline-flex;
align-items: center;
@@ -6759,6 +6776,46 @@ textarea.cu-input {
gap: 0.75rem;
}
+.cu-llm-provider-icon {
+ display: inline-grid;
+ place-items: center;
+ width: 1.45rem;
+ height: 1.45rem;
+ flex: 0 0 1.45rem;
+ overflow: hidden;
+ border: 1px solid var(--cu-border-subtle);
+ border-radius: 0.35rem;
+ background: var(--cu-bg-panel);
+ color: var(--cu-text-muted);
+ font-size: 0.6875rem;
+ font-weight: 700;
+ line-height: 1;
+}
+
+.cu-llm-provider-icon img {
+ display: block;
+ width: 100%;
+ height: 100%;
+ padding: 0.18rem;
+ object-fit: contain;
+}
+
+:root[data-theme='dark']
+ .cu-llm-provider-icon:is(
+ [data-provider='nebius'],
+ [data-provider='moonshot'],
+ [data-provider='xai'],
+ [data-provider='groq'],
+ [data-provider='openrouter']
+ )
+ img {
+ filter: brightness(0) invert(1);
+}
+
+:root[data-theme='light'] .cu-llm-provider-icon[data-provider='zai'] img {
+ filter: brightness(0);
+}
+
.cu-llm-config__fallback-creds {
display: flex;
flex-direction: column;
diff --git a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
index e0c0d49db..4140b19b1 100644
--- a/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
+++ b/control-ui/app/workflow-recipes/[namespace]/[name]/page.tsx
@@ -718,13 +718,12 @@ function WorkflowRecipeDetailContent() {
activeTab={activeTab}
backLabel="Back to plugins"
contentMode="plain"
- eyebrow={recipe?.metadata?.namespace ?? namespace}
icon={<IconWorkflow />}
notice={detailNotice}
onBack={backToList}
onTabChange={selectTab}
overlays={detailOverlays}
- subtitle="WorkflowRecipe details and runtime status."
+ subtitle="Plugin details and runtime status."
tabAriaLabel="Plugin detail sections"
tabClassName="cu-tabs--compact"
tabs={detailTabs}
diff --git a/control-ui/components/HostWizard/index.tsx b/control-ui/components/HostWizard/index.tsx
index 5244082ab..59317e454 100644
--- a/control-ui/components/HostWizard/index.tsx
+++ b/control-ui/components/HostWizard/index.tsx
@@ -57,6 +57,10 @@ const CHANNEL_PROVIDER_OPTIONS: Array<{ value: ChannelProvider; label: string; m
{ value: 'slack', label: 'Slack', meta: 'Slack app' },
]
+// Stateless lifecycle support remains intact in the API and existing-agent UI;
+// only creation through this wizard is temporarily unavailable.
+const SHOW_STATELESS_AGENT_SELECTOR = false
+
function createNewChannelDraft(): NewChannelDraft {
return {
slackBotHandle: '',
@@ -999,48 +1003,50 @@ export function HostWizard({
</span>
</Field>
<div className="cu-agent-namespace">Namespace: {HOST_NAMESPACE}</div>
- <div className="cu-agent-access-section">
- <strong id="agent-type-label">Agent type</strong>
- <span className="cu-muted cu-agent-access-hint">
- Stateless agents suspend after the idle window and wake on demand. Communication
- channels keep stateless agents always-on unless the cluster explicitly enables
- wake-on-interaction; desktop still requires a stateful agent.
- </span>
- <div
- className="cu-agent-radio-group"
- role="radiogroup"
- aria-labelledby="agent-type-label"
- >
- <label className="cu-agent-radio cu-agent-radio--card">
- <input
- type="radio"
- name="agent-type"
- checked={!stateless}
- onChange={() => setStateless(false)}
- />
- <span className="cu-agent-radio__copy">
- <span className="cu-agent-radio__title">Stateful (always on)</span>
- <span className="cu-agent-radio__description">
- The agent keeps running continuously and responds immediately.
+ {SHOW_STATELESS_AGENT_SELECTOR ? (
+ <div className="cu-agent-access-section">
+ <strong id="agent-type-label">Agent type</strong>
+ <span className="cu-muted cu-agent-access-hint">
+ Stateless agents suspend after the idle window and wake on demand. Communication
+ channels keep stateless agents always-on unless the cluster explicitly enables
+ wake-on-interaction; desktop still requires a stateful agent.
+ </span>
+ <div
+ className="cu-agent-radio-group"
+ role="radiogroup"
+ aria-labelledby="agent-type-label"
+ >
+ <label className="cu-agent-radio cu-agent-radio--card">
+ <input
+ type="radio"
+ name="agent-type"
+ checked={!stateless}
+ onChange={() => setStateless(false)}
+ />
+ <span className="cu-agent-radio__copy">
+ <span className="cu-agent-radio__title">Stateful (always on)</span>
+ <span className="cu-agent-radio__description">
+ The agent keeps running continuously and responds immediately.
+ </span>
</span>
- </span>
- </label>
- <label className="cu-agent-radio cu-agent-radio--card">
- <input
- type="radio"
- name="agent-type"
- checked={stateless}
- onChange={() => setStateless(true)}
- />
- <span className="cu-agent-radio__copy">
- <span className="cu-agent-radio__title">Stateless (suspends when idle)</span>
- <span className="cu-agent-radio__description">
- The platform suspends the agent when idle and wakes it on demand.
+ </label>
+ <label className="cu-agent-radio cu-agent-radio--card">
+ <input
+ type="radio"
+ name="agent-type"
+ checked={stateless}
+ onChange={() => setStateless(true)}
+ />
+ <span className="cu-agent-radio__copy">
+ <span className="cu-agent-radio__title">Stateless (suspends when idle)</span>
+ <span className="cu-agent-radio__description">
+ The platform suspends the agent when idle and wakes it on demand.
+ </span>
</span>
- </span>
- </label>
+ </label>
+ </div>
</div>
- </div>
+ ) : null}
<div className="cu-agent-info-card">
<IconInfoCircle width={16} height={16} />
<div>
@@ -1451,7 +1457,7 @@ export function HostWizard({
onChange={() => setSecretMode('new')}
/>
<span className="cu-agent-radio__copy">
- <span className="cu-agent-radio__title">This agent&apos;s credentials</span>
+ <span className="cu-agent-radio__title">New credential</span>
<span className="cu-agent-radio__description">
Create a new Secret for this agent. Its name is derived from the agent name.
</span>
diff --git a/control-ui/components/LlmProviderConfig/index.tsx b/control-ui/components/LlmProviderConfig/index.tsx
index 26b9c22ed..ab11eea16 100644
--- a/control-ui/components/LlmProviderConfig/index.tsx
+++ b/control-ui/components/LlmProviderConfig/index.tsx
@@ -5,7 +5,8 @@ import Link from 'next/link'
import { CONTROL_ROUTES } from '@constants/routes'
import { LlmPolicyEditor } from '@/components/LlmPolicyEditor'
import { SelectionDropdown } from '@/components/SelectionDropdown'
-import { Button, Field, SelectInput, TextAreaInput, TextInput } from '@/components/ui'
+import type { SelectionDropdownOption } from '@/components/SelectionDropdown/types'
+import { Button, Field, TextAreaInput, TextInput } from '@/components/ui'
import { cn } from '@/lib/cn'
import {
LLM_PROVIDER_OPTIONS,
@@ -33,6 +34,22 @@ import type { LlmCredentialWiring, LlmProviderConfigProps } from './types'
// links to it, it never duplicates that editor (spec R4.5.4).
const HOST_ENV_HREF = CONTROL_ROUTES.agents.root
+function LlmProviderIcon({ provider, label }: { provider: LlmProvider; label: string }) {
+ const [failed, setFailed] = React.useState(false)
+
+ React.useEffect(() => setFailed(false), [provider])
+
+ return (
+ <span className="cu-llm-provider-icon" aria-hidden="true" data-provider={provider}>
+ {failed ? (
+ <span>{label.slice(0, 1).toUpperCase()}</span>
+ ) : (
+ <img src={`/provider-icons/${provider}.svg`} alt="" onError={() => setFailed(true)} />
+ )}
+ </span>
+ )
+}
+
// A synthetic slot definition for a fallback's chosen extra credentialSlot when
// that key is NOT one of the provider's canonical registry slots (e.g.
// `claude-api-key-fb1`). Extra slots are always a single api-key-style value.
@@ -113,6 +130,30 @@ export function LlmProviderConfig({
[catalog, allowedModels, provider]
)
const primaryModelOutOfAllowlist = Boolean(model) && !primaryModelOptions.includes(model)
+ const primaryProviderOptions = useMemo(
+ () =>
+ LLM_PROVIDER_OPTIONS.map(option => ({
+ ...option,
+ icon: <LlmProviderIcon provider={option.value} label={option.label} />,
+ })),
+ []
+ )
+ const primaryModelSelectOptions = useMemo(() => {
+ const options: SelectionDropdownOption[] = primaryModelOptions.map(option => ({
+ value: option,
+ label: option,
+ icon: <LlmProviderIcon provider={provider} label={getProviderLabel(provider)} />,
+ }))
+ if (primaryModelOutOfAllowlist) {
+ options.push({
+ value: model,
+ label: model,
+ icon: <LlmProviderIcon provider={provider} label={getProviderLabel(provider)} />,
+ badge: 'out of allowlist',
+ })
+ }
+ return options
+ }, [model, primaryModelOptions, primaryModelOutOfAllowlist, provider])
// Replace every entry for one provider with the operator's new selection,
// leaving the other providers' subsets untouched. Selecting none removes the
@@ -192,12 +233,21 @@ export function LlmProviderConfig({
<div className="cu-llm-config__model-row">
<Field htmlFor="llm-primary-provider" label="Provider">
- <SelectInput
+ <SelectionDropdown
id="llm-primary-provider"
- value={provider}
+ className="cu-llm-config__primary-select"
+ value={[provider]}
+ options={primaryProviderOptions}
+ placeholder="Select provider…"
+ searchPlaceholder="Search providers…"
+ selectionLabel="provider"
+ multiple={false}
+ showSelectedChips={false}
disabled={disabled}
- onChange={e => {
- const nextProvider = normalizeProvider(e.target.value)
+ onChange={next => {
+ const nextProviderValue = next[0]
+ if (!nextProviderValue) return
+ const nextProvider = normalizeProvider(nextProviderValue)
// Default within this provider's per-host subset when it has one
// (matches the fallback rows), so switching to a provider that is
// already restricted never auto-selects an out-of-subset model.
@@ -209,37 +259,28 @@ export function LlmProviderConfig({
),
})
}}
- >
- {LLM_PROVIDER_OPTIONS.map(option => (
- <option key={option.value} value={option.value}>
- {option.label}
- </option>
- ))}
- </SelectInput>
+ />
</Field>
<Field htmlFor="llm-primary-model" label="Model">
- <SelectInput
+ <SelectionDropdown
id="llm-primary-model"
- value={model}
+ className="cu-llm-config__primary-select"
+ value={model ? [model] : []}
+ options={primaryModelSelectOptions}
+ placeholder={primaryModelOptions.length === 0 ? 'No enabled models' : 'Select model…'}
+ searchPlaceholder="Search models…"
+ selectionLabel="model"
+ multiple={false}
+ showSelectedChips={false}
disabled={disabled}
invalid={primaryModelOutOfAllowlist}
- onChange={e => onPrimaryChange({ provider, model: e.target.value })}
- >
- {!model ? (
- <option value="">
- {primaryModelOptions.length === 0 ? 'No enabled models' : 'Select model…'}
- </option>
- ) : null}
- {primaryModelOptions.map(option => (
- <option key={option} value={option}>
- {option}
- </option>
- ))}
- {primaryModelOutOfAllowlist ? (
- <option value={model}>{model} (out of allowlist)</option>
- ) : null}
- </SelectInput>
+ onChange={next => {
+ const nextModel = next[0]
+ if (!nextModel) return
+ onPrimaryChange({ provider, model: nextModel })
+ }}
+ />
</Field>
</div>
diff --git a/control-ui/components/RegistryCatalog.tsx b/control-ui/components/RegistryCatalog.tsx
index 8595cfdcf..34083a585 100644
--- a/control-ui/components/RegistryCatalog.tsx
+++ b/control-ui/components/RegistryCatalog.tsx
@@ -38,7 +38,6 @@ const REGISTRY_COLUMNS: TableHeaderColumn[] = [
{ key: 'version', label: 'Version' },
{ key: 'visibility', label: 'Visibility' },
{ key: 'downloads', label: 'Downloads' },
- { key: 'details', align: 'right', ariaLabel: 'View details' },
{ key: 'install', align: 'right', ariaLabel: 'Installation' },
{ key: 'actions', align: 'right', ariaLabel: 'Edit or remove' },
]
@@ -201,10 +200,6 @@ export default function RegistryCatalog() {
})
}
- function entryDetailHref(entry: RegistryEntry): string {
- return CONTROL_ROUTES.marketplace.entry(entry.name, entry.version)
- }
-
const showConnectBanner =
connectionMode === 'self-hosted' &&
(connectionState === 'disconnected' || connectionState === 'rejected')
@@ -403,19 +398,6 @@ export default function RegistryCatalog() {
)}
</td>
<td>{entry.downloads}</td>
- <td
- className="cu-table__cell-actions cu-marketplace-action-cell"
- onClick={event => event.stopPropagation()}
- onKeyDown={event => event.stopPropagation()}
- >
- <button
- type="button"
- className="cu-btn cu-btn--sm cu-btn--secondary"
- onClick={() => router.push(entryDetailHref(entry))}
- >
- View details
- </button>
- </td>
<td
className="cu-table__cell-actions cu-marketplace-action-cell"
onClick={event => event.stopPropagation()}
@@ -504,9 +486,6 @@ export default function RegistryCatalog() {
<td colSpan={REGISTRY_COLUMNS.length}>
<div className="cu-expandable-detail cu-marketplace-row-detail">
<div className="cu-expandable-detail__fields">
- <div className="cu-expandable-field">
- <span>{entry.category || 'Uncategorized'}</span>
- </div>
<div className="cu-expandable-field">
<span className="cu-expandable-field__label">Type</span>
<span className="cu-registry-type-meta">{typeMeta}</span>
diff --git a/control-ui/components/SelectionDropdown/index.tsx b/control-ui/components/SelectionDropdown/index.tsx
index 7c48b5747..a610fcb3b 100644
--- a/control-ui/components/SelectionDropdown/index.tsx
+++ b/control-ui/components/SelectionDropdown/index.tsx
@@ -14,10 +14,12 @@ function optionMatches(option: SelectionDropdownOption, query: string): boolean
}
export function SelectionDropdown({
+ className,
disabled = false,
emptyLabel = 'No options available.',
id,
inline = false,
+ invalid = false,
multiple = true,
onChange,
onSearchQueryChange,
@@ -85,7 +87,7 @@ export function SelectionDropdown({
)
return
}
- onChange(selectedSet.has(optionValue) ? [] : [optionValue])
+ onChange([optionValue])
if (!inline) setOpen(false)
}
@@ -102,7 +104,7 @@ export function SelectionDropdown({
return (
<div
- className={cn('cu-selection-dropdown', inline && 'cu-selection-dropdown--inline')}
+ className={cn('cu-selection-dropdown', inline && 'cu-selection-dropdown--inline', className)}
ref={rootRef}
>
{inline ? null : (
@@ -115,10 +117,14 @@ export function SelectionDropdown({
)}
aria-expanded={open}
aria-haspopup="listbox"
+ aria-invalid={invalid || undefined}
disabled={disabled}
onClick={() => setOpen(current => !current)}
>
- <span className="cu-selection-dropdown__button-copy">{buttonLabel}</span>
+ <span className="cu-selection-dropdown__button-value">
+ {selectedOptions.length === 1 ? selectedOptions[0]?.icon : null}
+ <span className="cu-selection-dropdown__button-copy">{buttonLabel}</span>
+ </span>
<span className="cu-selection-dropdown__chevron" aria-hidden="true" />
</button>
)}
@@ -127,6 +133,7 @@ export function SelectionDropdown({
<div className="cu-selection-dropdown__chips" aria-label={selectionLabel}>
{selectedOptions.map(option => (
<span className="cu-selection-dropdown__chip" key={option.value}>
+ {option.icon}
<span className="cu-selection-dropdown__chip-label">{option.label}</span>
<button
type="button"
@@ -179,8 +186,11 @@ export function SelectionDropdown({
data-selected={selected ? 'true' : undefined}
onClick={() => toggleOption(option.value)}
>
- <span className="cu-selection-dropdown__check" aria-hidden="true">
- {selected ? <IconCheck width={14} height={14} /> : null}
+ <span className="cu-selection-dropdown__option-leading" aria-hidden="true">
+ <span className="cu-selection-dropdown__check">
+ {selected ? <IconCheck width={14} height={14} /> : null}
+ </span>
+ {option.icon}
</span>
<span className="cu-selection-dropdown__option-copy">
<span className="cu-selection-dropdown__option-label">{option.label}</span>
diff --git a/control-ui/components/SelectionDropdown/types.ts b/control-ui/components/SelectionDropdown/types.ts
index 0b5053288..19d7b9749 100644
--- a/control-ui/components/SelectionDropdown/types.ts
+++ b/control-ui/components/SelectionDropdown/types.ts
@@ -3,11 +3,13 @@ import type { ReactNode } from 'react'
export type SelectionDropdownOption = {
value: string
label: string
+ icon?: ReactNode
description?: string
badge?: string
}
export type SelectionDropdownProps = {
+ className?: string
id?: string
options: SelectionDropdownOption[]
value: string[]
@@ -20,5 +22,6 @@ export type SelectionDropdownProps = {
selectionLabel?: string
multiple?: boolean
inline?: boolean
+ invalid?: boolean
showSelectedChips?: boolean
}
diff --git a/control-ui/components/Sidebar/constants.tsx b/control-ui/components/Sidebar/constants.tsx
index 67713bfaf..5a1767e0a 100644
--- a/control-ui/components/Sidebar/constants.tsx
+++ b/control-ui/components/Sidebar/constants.tsx
@@ -16,7 +16,6 @@ import {
IconRobot,
IconRunReplay,
IconSettings,
- IconSharedFiles,
IconStore,
IconTokenBudgets,
IconTraceDashboard,
@@ -41,9 +40,9 @@ export const SIDEBAR_TABS: Record<SidebarTab, SidebarItem> = {
icon: <IconUsage />,
children: [
{
- label: 'LLM Prices',
- href: CONTROL_ROUTES.costAndUsage.llmPrices,
- icon: <IconLlmPrices />,
+ label: 'Usage',
+ href: CONTROL_ROUTES.costAndUsage.usage,
+ icon: <IconUsageHistory />,
},
{
label: 'Token Budgets',
@@ -51,9 +50,9 @@ export const SIDEBAR_TABS: Record<SidebarTab, SidebarItem> = {
icon: <IconTokenBudgets />,
},
{
- label: 'Usage',
- href: CONTROL_ROUTES.costAndUsage.usage,
- icon: <IconUsageHistory />,
+ label: 'LLM Prices',
+ href: CONTROL_ROUTES.costAndUsage.llmPrices,
+ icon: <IconLlmPrices />,
},
],
},
@@ -62,11 +61,6 @@ export const SIDEBAR_TABS: Record<SidebarTab, SidebarItem> = {
href: CONTROL_ROUTES.agentFiles.root,
icon: <IconPaperclip />,
children: [
- {
- label: 'Agent Files',
- href: CONTROL_ROUTES.agentFiles.root,
- icon: <IconSharedFiles />,
- },
{
label: 'Agent Outputs',
href: CONTROL_ROUTES.agentOutputs.root,
diff --git a/control-ui/components/__tests__/CostSection.test.tsx b/control-ui/components/__tests__/CostSection.test.tsx
index 7952a3523..65a7602c6 100644
--- a/control-ui/components/__tests__/CostSection.test.tsx
+++ b/control-ui/components/__tests__/CostSection.test.tsx
@@ -85,6 +85,12 @@ describe('Cost & Usage sidebar entry', () => {
'href',
'/cost-and-usage/token-budgets'
)
+ expect(
+ screen
+ .getAllByRole('link')
+ .filter(link => link.getAttribute('href')?.startsWith('/cost-and-usage/'))
+ .map(link => link.textContent)
+ ).toEqual(['Usage', 'Token Budgets', 'LLM Prices'])
})
it.each([
diff --git a/control-ui/components/__tests__/HostWizard.test.tsx b/control-ui/components/__tests__/HostWizard.test.tsx
index dcfac1c18..8386a4ab6 100644
--- a/control-ui/components/__tests__/HostWizard.test.tsx
+++ b/control-ui/components/__tests__/HostWizard.test.tsx
@@ -469,17 +469,14 @@ describe('HostWizard — baseline render', () => {
})
describe('HostWizard — Agent type (stateless lifecycle)', () => {
- it('renders the Agent type selector on step 0 with Stateful selected by default', async () => {
+ it('hides the Agent type selector from the create flow', async () => {
await renderWizard()
- const stateful = screen.getByRole('radio', { name: /Stateful \(always on\)/i })
- const stateless = screen.getByRole('radio', { name: /Stateless \(suspends when idle\)/i })
- expect(stateful).toBeChecked()
- expect(stateless).not.toBeChecked()
+ expect(screen.queryByText('Agent type')).not.toBeInTheDocument()
+ expect(screen.queryByRole('radio', { name: /Stateful \(always on\)/i })).not.toBeInTheDocument()
expect(
- screen.getByText(/communication channels keep stateless agents always-on/i)
- ).toBeInTheDocument()
- expect(screen.queryByText(/requires no active communication channels/i)).not.toBeInTheDocument()
+ screen.queryByRole('radio', { name: /Stateless \(suspends when idle\)/i })
+ ).not.toBeInTheDocument()
})
it('omits spec.lifecycle from the created Host when Stateful is kept (absent = disabled)', async () => {
@@ -503,25 +500,4 @@ describe('HostWizard — Agent type (stateless lifecycle)', () => {
expect('lifecycle' in payload.spec).toBe(false)
expect('workflowControl' in payload.spec).toBe(false)
})
-
- it('carries spec.lifecycle.stateless=true on the created Host when Stateless is selected', async () => {
- await renderWizard()
-
- fireEvent.click(screen.getByRole('radio', { name: /Stateless \(suspends when idle\)/i }))
- expect(screen.getByRole('radio', { name: /Stateless \(suspends when idle\)/i })).toBeChecked()
-
- await walkToAccessStep({ agentName: 'stateless-agent' })
- await continueFromAccessToChannels()
- fireEvent.click(screen.getByRole('button', { name: /Skip channel setup/i }))
-
- await waitFor(() => {
- expect(api.apiSend).toHaveBeenCalledWith(
- 'PUT',
- '/api/v1/admin/hosts/stateless-agent',
- expect.objectContaining({
- spec: expect.objectContaining({ lifecycle: { stateless: true } }),
- })
- )
- })
- })
})
diff --git a/control-ui/components/__tests__/LlmProviderConfig.test.tsx b/control-ui/components/__tests__/LlmProviderConfig.test.tsx
index 54a2beb16..c1e8e425d 100644
--- a/control-ui/components/__tests__/LlmProviderConfig.test.tsx
+++ b/control-ui/components/__tests__/LlmProviderConfig.test.tsx
@@ -122,7 +122,7 @@ describe('LlmProviderConfig (spec Topic 1b — domain projection + usable gate)'
// Provider + model selection still render.
expect(
screen.getByLabelText('Provider', { selector: '#llm-primary-provider' })
- ).toBeInTheDocument()
+ ).toHaveTextContent('OpenAI')
expect(screen.getByLabelText('Model', { selector: '#llm-primary-model' })).toBeInTheDocument()
})
})
@@ -132,8 +132,8 @@ describe('LlmProviderConfig (spec Topic 3a — per-host allowed-models subset)',
render(<Harness />)
expect(screen.getByText(/this host offers every enabled OpenAI model/i)).toBeInTheDocument()
// No restriction yet — the model dropdown still offers the full enabled list.
- const modelSelect = screen.getByLabelText('Model', { selector: '#llm-primary-model' })
- expect(within(modelSelect).getByRole('option', { name: 'gpt-5.4-mini' })).toBeInTheDocument()
+ fireEvent.click(screen.getByLabelText('Model', { selector: '#llm-primary-model' }))
+ expect(screen.getByRole('option', { name: 'gpt-5.4-mini' })).toBeInTheDocument()
})
it('constrains the primary model dropdown to a pre-loaded subset (edit hydration)', () => {
@@ -143,12 +143,11 @@ describe('LlmProviderConfig (spec Topic 3a — per-host allowed-models subset)',
expect(
screen.getByText(/Restricted — this host offers only the 1 selected OpenAI model/i)
).toBeInTheDocument()
- const modelSelect = screen.getByLabelText('Model', {
- selector: '#llm-primary-model',
- }) as HTMLSelectElement
+ const modelSelect = screen.getByLabelText('Model', { selector: '#llm-primary-model' })
+ fireEvent.click(modelSelect)
// The subset drives the dropdown: gpt-5.4-mini stays, gpt-5.4 is excluded.
- expect(within(modelSelect).getByRole('option', { name: 'gpt-5.4-mini' })).toBeInTheDocument()
- expect(within(modelSelect).queryByRole('option', { name: 'gpt-5.4' })).not.toBeInTheDocument()
+ expect(screen.getByRole('option', { name: 'gpt-5.4-mini' })).toBeInTheDocument()
+ expect(screen.queryByRole('option', { name: 'gpt-5.4' })).not.toBeInTheDocument()
})
it('warns (non-disruptive) when the saved primary model falls outside the subset', () => {
@@ -160,12 +159,8 @@ describe('LlmProviderConfig (spec Topic 3a — per-host allowed-models subset)',
)
// The saved model stays selectable but the operator is warned it won't be offered.
expect(screen.getByText(/gpt-5\.4 isn.t in the models offered for OpenAI/i)).toBeInTheDocument()
- const modelSelect = screen.getByLabelText('Model', {
- selector: '#llm-primary-model',
- }) as HTMLSelectElement
- expect(
- within(modelSelect).getByRole('option', { name: /gpt-5\.4 \(out of allowlist\)/i })
- ).toBeInTheDocument()
+ fireEvent.click(screen.getByLabelText('Model', { selector: '#llm-primary-model' }))
+ expect(screen.getByRole('option', { name: 'gpt-5.4' })).toHaveTextContent('out of allowlist')
})
it('shows an allowed-models control for a fallback provider on a different provider', () => {
diff --git a/control-ui/components/__tests__/RegistryCatalog.test.tsx b/control-ui/components/__tests__/RegistryCatalog.test.tsx
index 4881521eb..b5eb3896b 100644
--- a/control-ui/components/__tests__/RegistryCatalog.test.tsx
+++ b/control-ui/components/__tests__/RegistryCatalog.test.tsx
@@ -150,9 +150,10 @@ describe('RegistryCatalog tabs and columns', () => {
for (const heading of ['Name', 'Version', 'Visibility', 'Downloads']) {
expect(screen.getByRole('columnheader', { name: heading })).toBeInTheDocument()
}
- for (const actionHeading of ['View details', 'Installation', 'Edit or remove']) {
+ for (const actionHeading of ['Installation', 'Edit or remove']) {
expect(screen.getByRole('columnheader', { name: actionHeading })).toBeInTheDocument()
}
+ expect(screen.queryByRole('columnheader', { name: 'View details' })).not.toBeInTheDocument()
for (const removed of ['Type', 'Category', 'Trust', 'Quality']) {
expect(screen.queryByRole('columnheader', { name: removed })).not.toBeInTheDocument()
}
@@ -175,19 +176,17 @@ describe('RegistryCatalog tabs and columns', () => {
})
describe('RegistryCatalog expansion and actions', () => {
- it('keeps details, installation, and metadata actions in separate columns', async () => {
+ it('keeps installation and metadata actions in separate columns', async () => {
mockApiSuccess()
render(<RegistryCatalog />)
const row = (await screen.findByText('brave-search')).closest('tr')!
- const detailsCell = within(row).getByRole('button', { name: 'View details' }).closest('td')
const installCell = within(row).getByRole('button', { name: 'Install' }).closest('td')
const editCell = within(row)
.getByRole('button', { name: 'Edit Marketplace metadata for brave-search v1.0.0' })
.closest('td')
- expect(detailsCell).not.toBe(installCell)
expect(installCell).not.toBe(editCell)
- expect(detailsCell).not.toBe(editCell)
+ expect(within(row).queryByRole('button', { name: 'View details' })).not.toBeInTheDocument()
})
it('reveals metadata only after the full row is expanded', async () => {
@@ -200,7 +199,7 @@ describe('RegistryCatalog expansion and actions', () => {
expect(screen.getByText('Type')).toBeInTheDocument()
const detailRow = screen.getByText('Type').closest('tr')!
- expect(within(detailRow).getAllByText('search')).toHaveLength(2)
+ expect(within(detailRow).getAllByText('search')).toHaveLength(1)
expect(screen.getByText('HIGH')).toBeInTheDocument()
expect(screen.getByText('verified')).toBeInTheDocument()
expect(screen.getByText('web')).toBeInTheDocument()
@@ -208,17 +207,6 @@ describe('RegistryCatalog expansion and actions', () => {
expect(row).toHaveAttribute('aria-expanded', 'true')
})
- it('opens details explicitly without expanding the row', async () => {
- mockApiSuccess()
- render(<RegistryCatalog />)
- const row = (await screen.findByText('brave-search')).closest('tr')!
-
- fireEvent.click(within(row).getByRole('button', { name: 'View details' }))
-
- expect(navigation.push).toHaveBeenCalledWith('/marketplace/entries/brave-search/1.0.0')
- expect(row).toHaveAttribute('aria-expanded', 'false')
- })
-
it('opens the connector install flow without expanding the row', async () => {
mockApiSuccess()
render(<RegistryCatalog />)
@@ -331,11 +319,11 @@ describe('RegistryCatalog controls', () => {
})
describe('RegistryCatalog state handling', () => {
- it('renders forty skeleton cells for the eight-column table', () => {
+ it('renders thirty-five skeleton cells for the seven-column table', () => {
vi.mocked(api.getRegistryCatalog).mockReturnValue(new Promise(() => {}))
const { container } = render(<RegistryCatalog />)
- expect(container.querySelectorAll('.cu-skeleton')).toHaveLength(40)
+ expect(container.querySelectorAll('.cu-skeleton')).toHaveLength(35)
expect(screen.getByPlaceholderText('Search connectors...')).toBeDisabled()
})
diff --git a/control-ui/components/__tests__/Sidebar.test.tsx b/control-ui/components/__tests__/Sidebar.test.tsx
index 90baa7293..4468300fc 100644
--- a/control-ui/components/__tests__/Sidebar.test.tsx
+++ b/control-ui/components/__tests__/Sidebar.test.tsx
@@ -102,7 +102,6 @@ describe('Sidebar publisher gating', () => {
})
it.each([
- ['/agent-files/example', 'Agent Files', '/agent-files'],
['/agent-outputs/recipe-artifacts', 'Agent Outputs', '/agent-outputs/recipe-artifacts'],
['/agent-outputs/desktop-app-artifacts', 'Agent Outputs', '/agent-outputs/recipe-artifacts'],
['/global-file-system', 'Global File System', '/global-file-system'],
@@ -123,12 +122,21 @@ describe('Sidebar publisher gating', () => {
vi.mocked(hook.usePublishScope).mockReturnValue({ scope: null, loading: false, error: false })
render(<Sidebar currentTab="directories" />)
- for (const label of ['Agent Files', 'Agent Outputs', 'Global File System']) {
+ for (const label of ['Agent Outputs', 'Global File System']) {
const child = screen.getByRole('link', { name: label })
expect(child.querySelector('.cu-sidebar__subitem-icon svg')).toBeInTheDocument()
}
})
+ it('hides Agent Files from the sidebar without changing its route', () => {
+ vi.mocked(hook.usePublishScope).mockReturnValue({ scope: null, loading: false, error: false })
+ navigationState.pathname = '/agent-files/example'
+ render(<Sidebar currentTab="directories" />)
+
+ expect(screen.queryByRole('link', { name: 'Agent Files' })).not.toBeInTheDocument()
+ expect(SIDEBAR_TABS.directories.href).toBe('/agent-files')
+ })
+
it('uses the shared Desktop paperclip glyph for Global File System', () => {
vi.mocked(hook.usePublishScope).mockReturnValue({ scope: null, loading: false, error: false })
navigationState.pathname = '/global-file-system'
@@ -147,11 +155,18 @@ describe('Sidebar publisher gating', () => {
}
})
- it('sorts every sidebar group by the displayed child label', () => {
- for (const item of Object.values(SIDEBAR_TABS)) {
+ it('sorts standard sidebar groups by the displayed child label', () => {
+ for (const [tab, item] of Object.entries(SIDEBAR_TABS)) {
+ if (tab === 'cost') continue
const labels = item.children?.map(child => child.label) ?? []
expect(labels).toEqual([...labels].sort((first, second) => first.localeCompare(second)))
}
+
+ expect(SIDEBAR_TABS.cost.children?.map(child => child.label)).toEqual([
+ 'Usage',
+ 'Token Budgets',
+ 'LLM Prices',
+ ])
})
it('selects hidden Trace children by their nested routes', () => {
diff --git a/control-ui/next-env.d.ts b/control-ui/next-env.d.ts
index 9edff1c7c..c4b7818fb 100644
--- a/control-ui/next-env.d.ts
+++ b/control-ui/next-env.d.ts
@@ -1,6 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
-import "./.next/types/routes.d.ts";
+import "./.next/dev/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
diff --git a/control-ui/next.config.js b/control-ui/next.config.js
index 9288b148f..ef024383c 100644
--- a/control-ui/next.config.js
+++ b/control-ui/next.config.js
@@ -1,6 +1,13 @@
+const path = require('path')
+
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
+ // Keep Turbopack rooted at the monorepo so it can resolve the linked
+ // @clerum packages without guessing from whichever lockfile it finds first.
+ turbopack: {
+ root: path.join(__dirname, '..'),
+ },
async rewrites() {
const controlApiDestination = process.env.CONTROL_API_INTERNAL_URL || 'http://127.0.0.1:8090'
return [
diff --git a/control-ui/package-lock.json b/control-ui/package-lock.json
index ebdcfde2b..f09224d3a 100644
--- a/control-ui/package-lock.json
+++ b/control-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-control-ui",
- "version": "0.1.345",
+ "version": "0.1.346",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-control-ui",
- "version": "0.1.345",
+ "version": "0.1.346",
"dependencies": {
"@clerum/llm-providers": "file:../packages/llm-providers",
"@clerum/workflow-recipe-capability-policy": "file:../packages/workflow-recipe-capability-policy",
diff --git a/control-ui/package.json b/control-ui/package.json
index d2e7b9c55..8668a66d3 100644
--- a/control-ui/package.json
+++ b/control-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-control-ui",
- "version": "0.1.345",
+ "version": "0.1.346",
"private": true,
"scripts": {
"dev": "NEXT_IGNORE_INCORRECT_LOCKFILE=1 next dev",
diff --git a/control-ui/public/provider-icons/azure.svg b/control-ui/public/provider-icons/azure.svg
new file mode 100644
index 000000000..c38b15950
--- /dev/null
+++ b/control-ui/public/provider-icons/azure.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>AzureAI</title><path clip-rule="evenodd" d="M16.233 0c.713 0 1.345.551 1.572 1.329.227.778 1.555 5.59 1.555 5.59v9.562h-4.813L14.645 0h1.588z" fill="url(#lobe-icons-azure-ai-0-_R_0_)" fill-rule="evenodd"></path><path d="M23.298 7.47c0-.34-.275-.6-.6-.6h-2.835a3.617 3.617 0 00-3.614 3.615v5.996h3.436a3.617 3.617 0 003.613-3.614V7.47z" fill="url(#lobe-icons-azure-ai-1-_R_0_)"></path><path clip-rule="evenodd" d="M16.233 0a.982.982 0 00-.989.989l-.097 18.198A4.814 4.814 0 0110.334 24H1.6a.597.597 0 01-.567-.794l7-19.981A4.819 4.819 0 0112.57 0h3.679-.016z" fill="url(#lobe-icons-azure-ai-2-_R_0_)" fill-rule="evenodd"></path><defs><linearGradient gradientUnits="userSpaceOnUse" id="lobe-icons-azure-ai-0-_R_0_" x1="18.242" x2="14.191" y1="16.837" y2=".616"><stop stop-color="#712575"></stop><stop offset=".09" stop-color="#9A2884"></stop><stop offset=".18" stop-color="#BF2C92"></stop><stop offset=".27" stop-color="#DA2E9C"></stop><stop offset=".34" stop-color="#EB30A2"></stop><stop offset=".4" stop-color="#F131A5"></stop><stop offset=".5" stop-color="#EC30A3"></stop><stop offset=".61" stop-color="#DF2F9E"></stop><stop offset=".72" stop-color="#C92D96"></stop><stop offset=".83" stop-color="#AA2A8A"></stop><stop offset=".95" stop-color="#83267C"></stop><stop offset="1" stop-color="#712575"></stop></linearGradient><linearGradient gradientUnits="userSpaceOnUse" id="lobe-icons-azure-ai-1-_R_0_" x1="19.782" x2="19.782" y1=".34" y2="23.222"><stop stop-color="#DA7ED0"></stop><stop offset=".08" stop-color="#B17BD5"></stop><stop offset=".19" stop-color="#8778DB"></stop><stop offset=".3" stop-color="#6276E1"></stop><stop offset=".41" stop-color="#4574E5"></stop><stop offset=".54" stop-color="#2E72E8"></stop><stop offset=".67" stop-color="#1D71EB"></stop><stop offset=".81" stop-color="#1471EC"></stop><stop offset="1" stop-color="#1171ED"></stop></linearGradient><linearGradient gradientUnits="userSpaceOnUse" id="lobe-icons-azure-ai-2-_R_0_" x1="18.404" x2="3.236" y1=".859" y2="25.183"><stop stop-color="#DA7ED0"></stop><stop offset=".05" stop-color="#B77BD4"></stop><stop offset=".11" stop-color="#9079DA"></stop><stop offset=".18" stop-color="#6E77DF"></stop><stop offset=".25" stop-color="#5175E3"></stop><stop offset=".33" stop-color="#3973E7"></stop><stop offset=".42" stop-color="#2772E9"></stop><stop offset=".54" stop-color="#1A71EB"></stop><stop offset=".68" stop-color="#1371EC"></stop><stop offset="1" stop-color="#1171ED"></stop></linearGradient></defs></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/bailian.svg b/control-ui/public/provider-icons/bailian.svg
new file mode 100644
index 000000000..9acccd083
--- /dev/null
+++ b/control-ui/public/provider-icons/bailian.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>BaiLian</title><path d="M6.336 8.919v6.162l5.335-3.083L6.337 8.92z" fill="#1C54E3"></path><path d="M21.394 5.288s-.006-.006-.01-.006L17.01 2.754 6.336 8.92l5.335 3.082 9.701-5.6.016-.01a.635.635 0 00.006-1.1v-.003z" fill="#AA9AFF"></path><path d="M21.71 12.465a.62.62 0 00-.316.085s-.006 0-.009.003l-4.375 2.528 5.05 2.915h.006a2.06 2.06 0 00.28-1.04v-3.855a.637.637 0 00-.636-.636z" fill="#00EAD1"></path><path d="M22.06 17.996l-5.05-2.915L6.34 21.242l4.27 2.465s.016.006.022.012a2.102 2.102 0 002.093 0c.006-.003.016-.006.022-.012l8.538-4.93c.003 0 .006-.003.01-.006.321-.183.589-.45.775-.772h-.006l-.004-.003z" fill="#00CEC9"></path><path d="M11.672 11.998l-5.336 3.083-1.444.832-3.605 2.083H1.28c.173.303.416.555.709.738l.078.044.016.01.02.012 4.232 2.442 10.671-6.161-5.335-3.082z" fill="#00EAD1"></path><path d="M12.74.29c-.1-.06-.208-.107-.315-.148-.02-.006-.038-.016-.057-.022a2.121 2.121 0 00-.7-.12c-.233 0-.457.038-.668.11l-.031.01a2.196 2.196 0 00-.372.17L2.068 5.222s-.003 0-.006.003c-.324.183-.592.451-.781.773h.006l5.049 2.918L17.01 2.758 12.74.29z" fill="#7347FF"></path><path d="M1.287 6.001H1.28A2.06 2.06 0 001 7.041v9.915c0 .378.1.735.28 1.043h.007l5.049-2.918V8.919l-5.05-2.918z" fill="#0423DA"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/bedrock.svg b/control-ui/public/provider-icons/bedrock.svg
new file mode 100644
index 000000000..610805e51
--- /dev/null
+++ b/control-ui/public/provider-icons/bedrock.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Bedrock</title><defs><linearGradient id="lobe-icons-bedrock-_R_0_" x1="80%" x2="20%" y1="20%" y2="80%"><stop offset="0%" stop-color="#6350FB"></stop><stop offset="50%" stop-color="#3D8FFF"></stop><stop offset="100%" stop-color="#9AD8F8"></stop></linearGradient></defs><path d="M13.05 15.513h3.08c.214 0 .389.177.389.394v1.82a1.704 1.704 0 011.296 1.661c0 .943-.755 1.708-1.685 1.708-.931 0-1.686-.765-1.686-1.708 0-.807.554-1.484 1.297-1.662v-1.425h-2.69v4.663a.395.395 0 01-.188.338l-2.69 1.641a.385.385 0 01-.405-.002l-4.926-3.086a.395.395 0 01-.185-.336V16.3L2.196 14.87A.395.395 0 012 14.555L2 14.528V9.406c0-.14.073-.27.192-.34l2.465-1.462V4.448c0-.129.062-.249.165-.322l.021-.014L9.77 1.058a.385.385 0 01.407 0l2.69 1.675a.395.395 0 01.185.336V7.6h3.856V5.683a1.704 1.704 0 01-1.296-1.662c0-.943.755-1.708 1.685-1.708.931 0 1.685.765 1.685 1.708 0 .807-.553 1.484-1.296 1.662v2.311a.391.391 0 01-.389.394h-4.245v1.806h6.624a1.69 1.69 0 011.64-1.313c.93 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708a1.69 1.69 0 01-1.64-1.314H13.05v1.937h4.953l.915 1.18a1.66 1.66 0 01.84-.227c.931 0 1.685.764 1.685 1.707 0 .943-.754 1.708-1.685 1.708-.93 0-1.685-.765-1.685-1.708 0-.346.102-.668.276-.937l-.724-.935H13.05v1.806zM9.973 1.856L7.93 3.122V6.09h-.778V3.604L5.435 4.669v2.945l2.11 1.36L9.712 7.61V5.334h.778V7.83c0 .136-.07.263-.184.335L7.963 9.638v2.081l1.422 1.009-.446.646-1.406-.998-1.53 1.005-.423-.66 1.605-1.055v-1.99L5.038 8.29l-2.26 1.34v1.676l1.972-1.189.398.677-2.37 1.429V14.3l2.166 1.258 2.27-1.368.397.677-2.176 1.311V19.3l1.876 1.175 2.365-1.426.398.678-2.017 1.216 1.918 1.201 2.298-1.403v-5.78l-4.758 2.893-.4-.675 5.158-3.136V3.289L9.972 1.856zM16.13 18.47a.913.913 0 00-.908.92c0 .507.406.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zm3.63-3.81a.913.913 0 00-.908.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92zm1.555-4.99a.913.913 0 00-.908.92c0 .507.407.918.908.918a.913.913 0 00.907-.919.913.913 0 00-.907-.92zM17.296 3.1a.913.913 0 00-.907.92c0 .508.406.92.907.92a.913.913 0 00.908-.92.913.913 0 00-.908-.92z" fill="url(#lobe-icons-bedrock-_R_0_)" fill-rule="nonzero"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/cerebras.svg b/control-ui/public/provider-icons/cerebras.svg
new file mode 100644
index 000000000..c8bab7b77
--- /dev/null
+++ b/control-ui/public/provider-icons/cerebras.svg
@@ -0,0 +1 @@
+<svg fill="currentColor" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Cerebras</title><path clip-rule="evenodd" d="M14.121 2.701a9.299 9.299 0 000 18.598V22.7c-5.91 0-10.7-4.791-10.7-10.701S8.21 1.299 14.12 1.299V2.7zm4.752 3.677A7.353 7.353 0 109.42 17.643l-.901 1.074a8.754 8.754 0 01-1.08-12.334 8.755 8.755 0 0112.335-1.08l-.901 1.075zm-2.255.844a5.407 5.407 0 00-5.048 9.563l-.656 1.24a6.81 6.81 0 016.358-12.043l-.654 1.24zM14.12 8.539a3.46 3.46 0 100 6.922v1.402a4.863 4.863 0 010-9.726v1.402z" fill="#F15A29" fill-rule="evenodd"></path><path d="M15.407 10.836a2.24 2.24 0 00-.51-.409 1.084 1.084 0 00-.544-.152c-.255 0-.483.047-.684.14a1.58 1.58 0 00-.84.912c-.074.203-.11.416-.11.631 0 .218.036.43.11.631a1.594 1.594 0 00.84.913c.2.093.43.14.684.14.216 0 .417-.046.602-.135.188-.09.35-.225.475-.392l.928 1.006c-.14.14-.3.261-.482.363a3.367 3.367 0 01-1.083.38c-.17.026-.317.04-.44.04a3.315 3.315 0 01-1.182-.21 2.825 2.825 0 01-.961-.597 2.816 2.816 0 01-.644-.929 2.987 2.987 0 01-.238-1.21c0-.444.08-.847.238-1.21.15-.35.368-.666.643-.929.278-.261.605-.464.962-.596a3.315 3.315 0 011.182-.21c.355 0 .712.068 1.072.204.361.138.685.36.944.649l-.962.97z"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/claude.svg b/control-ui/public/provider-icons/claude.svg
new file mode 100644
index 000000000..879ad8126
--- /dev/null
+++ b/control-ui/public/provider-icons/claude.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated by Pixelmator Pro 3.6.17 -->
+<svg width="1200" height="1200" viewBox="0 0 1200 1200" xmlns="http://www.w3.org/2000/svg">
+ <g id="g314">
+ <path id="path147" fill="#d97757" stroke="none" d="M 233.959793 800.214905 L 468.644287 668.536987 L 472.590637 657.100647 L 468.644287 650.738403 L 457.208069 650.738403 L 417.986633 648.322144 L 283.892639 644.69812 L 167.597321 639.865845 L 54.926208 633.825623 L 26.577238 627.785339 L 3.3e-05 592.751709 L 2.73832 575.27533 L 26.577238 559.248352 L 60.724873 562.228149 L 136.187973 567.382629 L 249.422867 575.194763 L 331.570496 580.026978 L 453.261841 592.671082 L 472.590637 592.671082 L 475.328857 584.859009 L 468.724915 580.026978 L 463.570557 575.194763 L 346.389313 495.785217 L 219.543671 411.865906 L 153.100723 363.543762 L 117.181267 339.060425 L 99.060455 316.107361 L 91.248367 266.01355 L 123.865784 230.093994 L 167.677887 233.073853 L 178.872513 236.053772 L 223.248367 270.201477 L 318.040283 343.570496 L 441.825592 434.738342 L 459.946411 449.798706 L 467.194672 444.64447 L 468.080597 441.020203 L 459.946411 427.409485 L 392.617493 305.718323 L 320.778564 181.932983 L 288.80542 130.630859 L 280.348999 99.865845 C 277.369171 87.221436 275.194641 76.590698 275.194641 63.624268 L 312.322174 13.20813 L 332.8591 6.604126 L 382.389313 13.20813 L 403.248352 31.328979 L 434.013519 101.71814 L 483.865753 212.537048 L 561.181274 363.221497 L 583.812134 407.919434 L 595.892639 449.315491 L 600.40271 461.959839 L 608.214783 461.959839 L 608.214783 454.711609 L 614.577271 369.825623 L 626.335632 265.61084 L 637.771851 131.516846 L 641.718201 93.745117 L 660.402832 48.483276 L 697.530334 24.000122 L 726.52356 37.852417 L 750.362549 72 L 747.060486 94.067139 L 732.886047 186.201416 L 705.100708 330.52356 L 686.979919 427.167847 L 697.530334 427.167847 L 709.61084 415.087341 L 758.496704 350.174561 L 840.644348 247.490051 L 876.885925 206.738342 L 919.167847 161.71814 L 946.308838 140.29541 L 997.61084 140.29541 L 1035.38269 196.429626 L 1018.469849 254.416199 L 965.637634 321.422852 L 921.825562 378.201538 L 859.006714 462.765259 L 819.785278 530.41626 L 823.409424 535.812073 L 832.75177 534.92627 L 974.657776 504.724915 L 1051.328979 490.872559 L 1142.818848 475.167786 L 1184.214844 494.496582 L 1188.724854 514.147644 L 1172.456421 554.335693 L 1074.604126 578.496765 L 959.838989 601.449829 L 788.939636 641.879272 L 786.845764 643.409485 L 789.261841 646.389343 L 866.255127 653.637634 L 899.194702 655.409424 L 979.812134 655.409424 L 1129.932861 666.604187 L 1169.154419 692.537109 L 1192.671265 724.268677 L 1188.724854 748.429688 L 1128.322144 779.194641 L 1046.818848 759.865845 L 856.590759 714.604126 L 791.355774 698.335754 L 782.335693 698.335754 L 782.335693 703.731567 L 836.69812 756.885986 L 936.322205 846.845581 L 1061.073975 962.81897 L 1067.436279 991.490112 L 1051.409424 1014.120911 L 1034.496704 1011.704712 L 924.885986 929.234924 L 882.604126 892.107544 L 786.845764 811.48999 L 780.483276 811.48999 L 780.483276 819.946289 L 802.550415 852.241699 L 919.087341 1027.409424 L 925.127625 1081.127686 L 916.671204 1098.604126 L 886.469849 1109.154419 L 853.288696 1103.114136 L 785.073914 1007.355835 L 714.684631 899.516785 L 657.906067 802.872498 L 650.979858 806.81897 L 617.476624 1167.704834 L 601.771851 1186.147705 L 565.530212 1200 L 535.328857 1177.046997 L 519.302124 1139.919556 L 535.328857 1066.550537 L 554.657776 970.792053 L 570.362488 894.68457 L 584.536926 800.134277 L 592.993347 768.724976 L 592.429626 766.630859 L 585.503479 767.516968 L 514.22821 865.369263 L 405.825531 1011.865906 L 320.053711 1103.677979 L 299.516815 1111.812256 L 263.919525 1093.369263 L 267.221497 1060.429688 L 287.114136 1031.114136 L 405.825531 880.107361 L 477.422913 786.52356 L 523.651062 732.483276 L 523.328918 724.671265 L 520.590698 724.671265 L 205.288605 929.395935 L 149.154434 936.644409 L 124.993355 914.01355 L 127.973183 876.885986 L 139.409409 864.80542 L 234.201385 799.570435 L 233.879227 799.8927 Z"/>
+ </g>
+</svg>
diff --git a/control-ui/public/provider-icons/deepinfra.svg b/control-ui/public/provider-icons/deepinfra.svg
new file mode 100644
index 000000000..565c8095b
--- /dev/null
+++ b/control-ui/public/provider-icons/deepinfra.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>DeepInfra</title><path d="M3.294 7.821A2.297 2.297 0 011 5.527a2.297 2.297 0 012.294-2.295A2.297 2.297 0 015.59 5.527 2.297 2.297 0 013.294 7.82zm0-3.688a1.396 1.396 0 000 2.79 1.396 1.396 0 000-2.79zM3.294 14.293A2.297 2.297 0 011 11.998a2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294 2.297 2.297 0 01-2.295 2.295zm0-3.688a1.395 1.395 0 000 2.788 1.395 1.395 0 100-2.788zM3.294 20.761A2.297 2.297 0 011 18.467a2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.295 2.294zm0-3.688a1.396 1.396 0 000 2.79 1.396 1.396 0 000-2.79zM20.738 7.821a2.297 2.297 0 01-2.295-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.294 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM20.738 14.293a2.297 2.297 0 01-2.295-2.295 2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688c-.769 0-1.395.625-1.395 1.393a1.396 1.396 0 002.79 0c0-.77-.626-1.393-1.395-1.393zM20.738 20.761a2.297 2.297 0 01-2.295-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.294 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.016 11.057a2.297 2.297 0 01-2.294-2.294 2.297 2.297 0 012.294-2.295 2.297 2.297 0 012.295 2.295 2.297 2.297 0 01-2.295 2.294zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.625-1.395-1.395-1.395zM12.017 4.589a2.297 2.297 0 01-2.295-2.295A2.297 2.297 0 0112.017 0a2.297 2.297 0 012.294 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.017 17.529a2.297 2.297 0 01-2.295-2.295 2.297 2.297 0 012.295-2.294 2.297 2.297 0 012.294 2.294 2.297 2.297 0 01-2.294 2.295zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.626-1.395-1.395-1.395zM12.016 24a2.297 2.297 0 01-2.294-2.295 2.297 2.297 0 012.294-2.294 2.297 2.297 0 012.295 2.294A2.297 2.297 0 0112.016 24zm0-3.688a1.396 1.396 0 101.395 1.395c0-.77-.625-1.395-1.395-1.395z" fill="#2A3275"></path><path d="M8.363 8.222a.742.742 0 01-.277-.053l-1.494-.596a.75.75 0 11.557-1.392l1.493.595a.75.75 0 01-.278 1.446h-.001zM8.363 14.566a.743.743 0 01-.277-.053l-1.494-.595a.75.75 0 11.557-1.393l1.493.596a.75.75 0 01-.278 1.445h-.001zM17.124 11.397a.741.741 0 01-.277-.054l-1.493-.595a.75.75 0 11.555-1.392l1.493.595a.75.75 0 01-.278 1.446zM17.124 5.05a.744.744 0 01-.277-.054L15.354 4.4a.75.75 0 01.555-1.392l1.493.596a.75.75 0 01-.278 1.445zM17.124 17.739a.743.743 0 01-.277-.053l-1.494-.596a.75.75 0 11.556-1.392l1.493.596a.75.75 0 01-.278 1.445zM6.91 17.966a.75.75 0 01-.279-1.445l1.494-.595a.749.749 0 11.556 1.392l-1.493.595a.743.743 0 01-.277.053H6.91zM6.91 11.66a.75.75 0 01-.279-1.446l1.494-.595a.75.75 0 01.556 1.392l-1.493.595a.743.743 0 01-.277.053H6.91zM6.91 5.033a.75.75 0 01-.279-1.446l1.494-.595a.75.75 0 01.556 1.392l-1.493.596a.744.744 0 01-.277.053H6.91zM8.363 21.364a.743.743 0 01-.277-.053l-1.494-.596a.75.75 0 01.555-1.392l1.494.595a.75.75 0 01-.278 1.446zM15.63 8.223a.75.75 0 01-.278-1.447l1.494-.595a.75.75 0 01.556 1.393l-1.494.595a.744.744 0 01-.276.054h-.002zM15.63 14.567a.75.75 0 01-.278-1.446l1.494-.596a.75.75 0 01.556 1.394l-1.494.595a.743.743 0 01-.276.053h-.002zM15.63 21.363a.749.749 0 01-.278-1.445l1.494-.595a.75.75 0 11.555 1.392l-1.494.595a.741.741 0 01-.277.053z" fill="#5699DB"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/deepseek.svg b/control-ui/public/provider-icons/deepseek.svg
new file mode 100644
index 000000000..d1ba06b94
--- /dev/null
+++ b/control-ui/public/provider-icons/deepseek.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 377.1 277.86">
+ <defs>
+ <style>
+ .cls-1 {
+ fill: #4d6bfe;
+ stroke-width: 0px;
+ }
+ </style>
+ </defs>
+ <g id="Layer_1-2" data-name="Layer 1">
+ <path id="path" class="cls-1" d="M373.15,23.32c-4-1.95-5.72,1.77-8.06,3.66-.79.62-1.47,1.43-2.14,2.14-5.85,6.26-12.67,10.36-21.57,9.86-13.04-.71-24.16,3.38-33.99,13.37-2.09-12.31-9.04-19.66-19.6-24.38-5.54-2.45-11.13-4.9-14.99-10.23-2.71-3.78-3.44-8-4.81-12.16-.85-2.51-1.72-5.09-4.6-5.52-3.13-.5-4.36,2.14-5.58,4.34-4.93,8.99-6.82,18.92-6.65,28.97.43,22.58,9.97,40.56,28.89,53.37,2.16,1.46,2.71,2.95,2.03,5.09-1.29,4.4-2.82,8.68-4.19,13.09-.85,2.82-2.14,3.44-5.15,2.2-10.39-4.34-19.37-10.76-27.29-18.55-13.46-13.02-25.63-27.41-40.81-38.67-3.57-2.64-7.12-5.09-10.81-7.41-15.49-15.07,2.03-27.45,6.08-28.9,4.25-1.52,1.47-6.79-12.23-6.73-13.69.06-26.24,4.65-42.21,10.76-2.34.93-4.79,1.61-7.32,2.14-14.5-2.73-29.55-3.35-45.29-1.58-29.62,3.32-53.28,17.34-70.68,41.28C1.29,88.2-3.63,120.88,2.39,155c6.33,35.91,24.64,65.68,52.8,88.94,29.18,24.1,62.8,35.91,101.15,33.65,23.29-1.33,49.23-4.46,78.48-29.24,7.38,3.66,15.12,5.12,27.97,6.23,9.89.93,19.41-.5,26.79-2.02,11.55-2.45,10.75-13.15,6.58-15.13-33.87-15.78-26.44-9.36-33.2-14.54,17.21-20.41,43.15-41.59,53.3-110.19.79-5.46.11-8.87,0-13.3-.06-2.67.54-3.72,3.61-4.03,8.48-.96,16.72-3.29,24.28-7.47,21.94-12,30.78-31.69,32.87-55.33.31-3.6-.06-7.35-3.86-9.24ZM181.96,235.97c-32.83-25.83-48.74-34.33-55.31-33.96-6.14.34-5.04,7.38-3.69,11.97,1.41,4.53,3.26,7.66,5.85,11.63,1.78,2.64,3.01,6.57-1.78,9.49-10.57,6.58-28.95-2.2-29.82-2.64-21.38-12.59-39.26-29.24-51.87-52.01-12.16-21.92-19.23-45.43-20.39-70.52-.31-6.08,1.47-8.22,7.49-9.3,7.92-1.46,16.11-1.77,24.03-.62,33.49,4.9,62.01,19.91,85.9,43.63,13.65,13.55,23.97,29.71,34.61,45.49,11.3,16.78,23.48,32.75,38.97,45.84,5.46,4.59,9.83,8.09,14,10.67-12.59,1.4-33.62,1.71-47.99-9.68ZM197.69,134.65c0-2.7,2.15-4.84,4.87-4.84.6,0,1.16.12,1.66.31.67.25,1.29.62,1.77,1.18.87.84,1.36,2.08,1.36,3.35,0,2.7-2.15,4.84-4.85,4.84s-4.81-2.14-4.81-4.84ZM246.55,159.77c-3.13,1.27-6.26,2.39-9.27,2.51-4.67.22-9.77-1.68-12.55-4-4.3-3.6-7.36-5.61-8.67-11.94-.54-2.7-.23-6.85.25-9.24,1.12-5.15-.12-8.44-3.74-11.44-2.96-2.45-6.7-3.1-10.82-3.1-1.54,0-2.95-.68-4-1.24-1.72-.87-3.13-3.01-1.78-5.64.43-.84,2.53-2.92,3.02-3.29,5.58-3.19,12.03-2.14,18,.25,5.54,2.26,9.71,6.42,15.72,12.28,6.16,7.1,7.26,9.09,10.76,14.39,2.76,4.19,5.29,8.47,7.01,13.37,1.04,3.04-.31,5.55-3.94,7.1Z"/>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/fireworks.svg b/control-ui/public/provider-icons/fireworks.svg
new file mode 100644
index 000000000..a23445cf9
--- /dev/null
+++ b/control-ui/public/provider-icons/fireworks.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Fireworks</title><path clip-rule="evenodd" d="M14.8 5l-2.801 6.795L9.195 5H7.397l3.072 7.428a1.64 1.64 0 003.038.002L16.598 5H14.8zm1.196 10.352l5.124-5.244-.699-1.669-5.596 5.739a1.664 1.664 0 00-.343 1.807 1.642 1.642 0 001.516 1.012L16 17l8-.02-.699-1.669-7.303.041h-.002zM2.88 10.104l.699-1.669 5.596 5.739c.468.479.603 1.189.343 1.807a1.643 1.643 0 01-1.516 1.012l-8-.018-.002.002.699-1.669 7.303.042-5.122-5.246z" fill="#5019C5" fill-rule="evenodd"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/gemini.svg b/control-ui/public/provider-icons/gemini.svg
new file mode 100644
index 000000000..62681dfa7
--- /dev/null
+++ b/control-ui/public/provider-icons/gemini.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Gemini</title><path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="#3186FF"></path><path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="url(#lobe-icons-gemini-0-_R_0_)"></path><path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="url(#lobe-icons-gemini-1-_R_0_)"></path><path d="M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z" fill="url(#lobe-icons-gemini-2-_R_0_)"></path><defs><linearGradient gradientUnits="userSpaceOnUse" id="lobe-icons-gemini-0-_R_0_" x1="7" x2="11" y1="15.5" y2="12"><stop stop-color="#08B962"></stop><stop offset="1" stop-color="#08B962" stop-opacity="0"></stop></linearGradient><linearGradient gradientUnits="userSpaceOnUse" id="lobe-icons-gemini-1-_R_0_" x1="8" x2="11.5" y1="5.5" y2="11"><stop stop-color="#F94543"></stop><stop offset="1" stop-color="#F94543" stop-opacity="0"></stop></linearGradient><linearGradient gradientUnits="userSpaceOnUse" id="lobe-icons-gemini-2-_R_0_" x1="3.5" x2="17.5" y1="13.5" y2="12"><stop stop-color="#FABC12"></stop><stop offset=".46" stop-color="#FABC12" stop-opacity="0"></stop></linearGradient></defs></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/groq.svg b/control-ui/public/provider-icons/groq.svg
new file mode 100644
index 000000000..7294646b9
--- /dev/null
+++ b/control-ui/public/provider-icons/groq.svg
@@ -0,0 +1 @@
+<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Groq</title><path d="M12.036 2c-3.853-.035-7 3-7.036 6.781-.035 3.782 3.055 6.872 6.908 6.907h2.42v-2.566h-2.292c-2.407.028-4.38-1.866-4.408-4.23-.029-2.362 1.901-4.298 4.308-4.326h.1c2.407 0 4.358 1.915 4.365 4.278v6.305c0 2.342-1.944 4.25-4.323 4.279a4.375 4.375 0 01-3.033-1.252l-1.851 1.818A7 7 0 0012.029 22h.092c3.803-.056 6.858-3.083 6.879-6.816v-6.5C18.907 4.963 15.817 2 12.036 2z"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/mistral.svg b/control-ui/public/provider-icons/mistral.svg
new file mode 100644
index 000000000..ccad4e9e1
--- /dev/null
+++ b/control-ui/public/provider-icons/mistral.svg
@@ -0,0 +1,11 @@
+<svg xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" id="svg" version="1.1" sodipodi:docname="mistral.svg" inkscape:export-filename="mistral.png" inkscape:export-xdpi="96" inkscape:export-ydpi="96" inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)" viewBox="0 0 397.46 281.64">
+ <defs id="defs1"/>
+ <sodipodi:namedview id="namedview1" pagecolor="#ffffff" bordercolor="#000000" borderopacity="0.25" inkscape:showpageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" inkscape:zoom="1.0702075" inkscape:cx="239.20595" inkscape:cy="6.0735885" inkscape:window-width="2648" inkscape:window-height="1418" inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" inkscape:current-layer="svg"/>
+ <g id="svgg">
+ <path id="path0" d="M340.814 84.181 C 340.814 99.640,340.848 105.964,340.890 98.234 C 340.932 90.505,340.932 77.857,340.890 70.127 C 340.848 62.398,340.814 68.722,340.814 84.181 M170.339 112.147 C 170.069 112.321,149.330 112.422,113.206 112.425 L 56.497 112.429 56.497 140.494 L 56.497 168.558 106.285 168.691 C 157.316 168.827,261.045 168.838,312.147 168.714 L 340.819 168.644 340.746 140.537 L 340.673 112.429 283.771 112.429 C 246.141 112.429,226.810 112.334,226.695 112.147 C 226.459 111.765,170.929 111.765,170.339 112.147 " stroke="none" fill="#fc8304" fill-rule="evenodd"/>
+ <path id="path1" d="M340.814 140.395 C 340.814 155.855,340.848 162.179,340.890 154.449 C 340.932 146.720,340.932 134.071,340.890 126.342 C 340.848 118.612,340.814 124.936,340.814 140.395 M56.566 196.679 L 56.638 224.718 84.605 224.795 C 99.986 224.838,112.857 224.803,113.208 224.719 L 113.845 224.565 113.773 196.675 L 113.701 168.785 85.097 168.713 L 56.494 168.641 56.566 196.679 M169.962 168.832 C 169.555 169.240,169.748 224.485,170.158 224.826 C 170.438 225.058,178.144 225.125,198.759 225.072 L 226.977 225.000 227.049 196.822 L 227.121 168.644 198.636 168.644 C 182.969 168.644,170.066 168.729,169.962 168.832 M283.464 168.997 C 283.389 169.191,283.362 181.808,283.402 197.034 L 283.475 224.718 312.006 224.718 L 340.537 224.718 340.678 196.681 L 340.819 168.644 312.209 168.644 C 289.580 168.644,283.570 168.718,283.464 168.997 " stroke="none" fill="#fc4c04" fill-rule="evenodd"/>
+ <path id="path2" d="M340.814 27.966 C 340.814 43.425,340.848 49.749,340.890 42.020 C 340.932 34.290,340.932 21.642,340.890 13.912 C 340.848 6.183,340.814 12.507,340.814 27.966 M113.702 55.930 C 113.586 56.118,103.890 56.215,85.012 56.215 L 56.497 56.215 56.497 84.322 L 56.497 112.429 113.112 112.429 C 144.251 112.429,169.929 112.352,170.175 112.258 C 170.630 112.083,170.900 57.271,170.452 56.102 C 170.246 55.566,114.032 55.396,113.702 55.930 M226.869 56.033 C 226.637 56.314,226.570 63.946,226.623 84.353 L 226.695 112.288 283.757 112.359 L 340.819 112.431 340.746 84.323 L 340.673 56.215 312.161 56.215 C 293.458 56.215,283.589 56.118,283.475 55.932 C 283.178 55.452,227.269 55.552,226.869 56.033 " stroke="none" fill="#fcb404" fill-rule="evenodd"/>
+ <path id="path3" d="M56.497 28.109 L 56.497 56.217 85.099 56.145 L 113.701 56.073 113.773 28.037 L 113.845 0.000 85.171 0.000 L 56.497 0.000 56.497 28.109 M283.403 28.037 L 283.475 56.073 312.147 56.145 L 340.819 56.217 340.746 28.109 L 340.673 0.000 312.002 -0.000 L 283.331 -0.000 283.403 28.037 M226.407 84.181 C 226.407 99.484,226.441 105.745,226.483 98.093 C 226.525 90.441,226.525 77.920,226.483 70.268 C 226.441 62.617,226.407 68.877,226.407 84.181 " stroke="none" fill="#fcdb04" fill-rule="evenodd"/>
+ <path id="path4" d="M340.677 196.751 L 340.537 224.718 284.084 224.613 C 238.408 224.529,227.501 224.578,226.951 224.873 L 226.271 225.237 226.271 253.099 C 226.271 274.392,226.351 281.040,226.610 281.299 C 226.872 281.562,246.271 281.638,312.203 281.638 L 397.458 281.638 397.458 253.107 L 397.458 224.576 369.210 224.576 L 340.963 224.576 340.891 196.681 L 340.818 168.785 340.677 196.751 M0.000 253.155 L 0.000 281.639 85.240 281.568 L 170.480 281.497 170.552 253.420 C 170.599 235.209,170.526 225.225,170.345 225.007 C 170.129 224.748,150.516 224.670,85.033 224.670 L 0.000 224.670 0.000 253.155 " stroke="none" fill="#e40404" fill-rule="evenodd"/>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/moonshot.svg b/control-ui/public/provider-icons/moonshot.svg
new file mode 100644
index 000000000..fb56ac106
--- /dev/null
+++ b/control-ui/public/provider-icons/moonshot.svg
@@ -0,0 +1 @@
+<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>MoonshotAI</title><path d="M1.052 16.916l9.539 2.552a21.007 21.007 0 00.06 2.033l5.956 1.593a11.997 11.997 0 01-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605 11.605 0 01-.157-.02l-.107-.014-.11-.016a11.962 11.962 0 01-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293 6.293 0 01-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655 5.655 0 01-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49 6.49 0 01-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785 7.785 0 01-.054-.036l-.044-.03-.044-.03a6.066 6.066 0 01-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516 7.516 0 01-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28 13.28 0 01-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457 6.457 0 01-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175 7.175 0 01-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99 11.99 0 01-1.44-2.402zm-1.02-5.794l11.353 3.037a20.468 20.468 0 00-.469 2.011l10.817 2.894a12.076 12.076 0 01-1.845 2.005L.657 15.923l-.016-.046-.035-.104a11.965 11.965 0 01-.05-.153l-.007-.023a11.896 11.896 0 01-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01 12.01 0 01-.019-.161l-.005-.047a12.12 12.12 0 01-.034-2.145zm1.593-5.15l11.948 3.196c-.368.605-.705 1.231-1.01 1.875l11.295 3.022c-.142.82-.368 1.612-.668 2.365l-11.55-3.09L.124 10.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896 11.896 0 011.01-2.232zm4.442-4.4L17.352 4.59a20.77 20.77 0 00-1.688 1.721l7.823 2.093c.267.852.442 1.744.513 2.665L2.106 5.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084 12.084 0 012.272-1.677zM12.017 0h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6 1.353 1.283 1.909 2.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/nebius.svg b/control-ui/public/provider-icons/nebius.svg
new file mode 100644
index 000000000..eb7a4f5e3
--- /dev/null
+++ b/control-ui/public/provider-icons/nebius.svg
@@ -0,0 +1 @@
+<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Nebius</title><path d="M20 2.306v16.797s4-.242 4-4.815V2.306h-4zM4 22.001V5.204s-4 .242-4 4.816V22h4z"></path><path d="M16.318 16.51L11.286 4.94c-.824-1.872-2.168-2.926-4.077-2.926-1.908 0-3.211 1.54-3.211 3.19 0 0 2.405-.333 3.68 2.593l5.036 11.57c.821 1.87 2.168 2.926 4.075 2.926 1.905 0 3.211-1.541 3.211-3.19 0 0-2.406.333-3.682-2.594z"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/novita.svg b/control-ui/public/provider-icons/novita.svg
new file mode 100644
index 000000000..0658ce0f0
--- /dev/null
+++ b/control-ui/public/provider-icons/novita.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Novita AI</title><path clip-rule="evenodd" d="M9.167 4.17v5.665L0 19.003h9.167v-5.666l5.666 5.666H24L9.167 4.17z" fill="#23D57C" fill-rule="evenodd"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/openai.svg b/control-ui/public/provider-icons/openai.svg
new file mode 100644
index 000000000..67e79e275
--- /dev/null
+++ b/control-ui/public/provider-icons/openai.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" fill="#fff" viewBox="0 0 24 24"><path fill="#ffffff000" d="M22.282 9.821a6 6 0 0 0-.516-4.91 6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a6 6 0 0 0-3.998 2.9 6.05 6.05 0 0 0 .743 7.097 5.98 5.98 0 0 0 .51 4.911 6.05 6.05 0 0 0 6.515 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206 6 6 0 0 0 3.997-2.9 6.06 6.06 0 0 0-.747-7.073M13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081 4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085 4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667m2.01-3.023-.141-.085-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.8.8 0 0 0-.393.681zm1.097-2.365 2.602-1.5 2.607 1.5v2.999l-2.597 1.5-2.607-1.5Z"/></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/openrouter.svg b/control-ui/public/provider-icons/openrouter.svg
new file mode 100644
index 000000000..dc8e40e9b
--- /dev/null
+++ b/control-ui/public/provider-icons/openrouter.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 512 512"><path d="M353.9 293.8v47.3c-52.5 2.4-86.4 1.9-132.6-30.9-48.9-34.7-60.3-42.8-78.2-53.3 19.8-11.5 29.7-18.5 81.2-55.1 46.1-32.7 80.1-33.2 132.6-30.9v47.3L512 128.7 356.9 39.1v41.8C298 78.4 241 79.7 172.3 128.5c-60.1 42.6-60.1 42.6-88.1 58.5C62.6 199.2 15 210.4 3 211h.5v.1c-1 0-2-.1-3-.1v90H0c12 .6 59.6 11.8 81.2 24.1 28 15.9 28 15.9 88.1 58.5 57.2 40.6 106.3 48.3 155.1 48.3 9.8 0 19.6-.3 29.5-.7V473l154.3-89.1.7-.4-154.3-89.1z"/></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/perplexity.svg b/control-ui/public/provider-icons/perplexity.svg
new file mode 100644
index 000000000..5f5a5ab5c
--- /dev/null
+++ b/control-ui/public/provider-icons/perplexity.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Perplexity</title><path d="M19.785 0v7.272H22.5V17.62h-2.935V24l-7.037-6.194v6.145h-1.091v-6.152L4.392 24v-6.465H1.5V7.188h2.884V0l7.053 6.494V.19h1.09v6.49L19.786 0zm-7.257 9.044v7.319l5.946 5.234V14.44l-5.946-5.397zm-1.099-.08l-5.946 5.398v7.235l5.946-5.234V8.965zm8.136 7.58h1.844V8.349H13.46l6.105 5.54v2.655zm-8.982-8.28H2.59v8.195h1.8v-2.576l6.192-5.62zM5.475 2.476v4.71h5.115l-5.115-4.71zm13.219 0l-5.115 4.71h5.115v-4.71z" fill="#22B8CD" fill-rule="nonzero"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/together.svg b/control-ui/public/provider-icons/together.svg
new file mode 100644
index 000000000..8c9ec117b
--- /dev/null
+++ b/control-ui/public/provider-icons/together.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>together.ai</title><path d="M23.197 4.503A6 6 0 0015 2.307a5.973 5.973 0 00-2.995 4.933l5.996.008v.515h-5.996c.039.937.298 1.87.8 2.74a6 6 0 1010.39-6z" fill="#EF2CC1"></path><path d="M.805 4.5A6 6 0 003 12.697a5.972 5.972 0 005.77.127L5.779 7.627l.446-.257 2.997 5.192A6 6 0 10.804 4.5z" fill="#CAAEF5"></path><path d="M12 23.894a6 6 0 005.999-6c0-2.13-1.1-3.996-2.775-5.06l-3.005 5.189-.444-.258 2.997-5.192A6 6 0 1012 23.894z" fill="#FC4C02"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/vertex.svg b/control-ui/public/provider-icons/vertex.svg
new file mode 100644
index 000000000..e721368de
--- /dev/null
+++ b/control-ui/public/provider-icons/vertex.svg
@@ -0,0 +1 @@
+<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>VertexAI</title><path d="M11.995 20.216a1.892 1.892 0 100 3.785 1.892 1.892 0 000-3.785zm0 2.806a.927.927 0 11.927-.914.914.914 0 01-.927.914z" fill="#4285F4"></path><path clip-rule="evenodd" d="M21.687 14.144c.237.038.452.16.605.344a.978.978 0 01-.18 1.3l-8.24 6.082a1.892 1.892 0 00-1.147-1.508l8.28-6.08a.991.991 0 01.682-.138z" fill="#669DF6" fill-rule="evenodd"></path><path clip-rule="evenodd" d="M10.122 21.842l-8.217-6.066a.952.952 0 01-.206-1.287.978.978 0 011.287-.206l8.28 6.08a1.893 1.893 0 00-1.144 1.479z" fill="#AECBFA" fill-rule="evenodd"></path><path d="M4.273 4.475a.978.978 0 01-.965-.965V1.09a.978.978 0 111.943 0v2.42a.978.978 0 01-.978.965zM4.247 13.034a.978.978 0 100-1.956.978.978 0 000 1.956zM4.247 10.19a.978.978 0 100-1.956.978.978 0 000 1.956zM4.247 7.332a.978.978 0 100-1.956.978.978 0 000 1.956z" fill="#AECBFA"></path><path d="M19.718 7.307a.978.978 0 01-.965-.979v-2.42a.965.965 0 011.93 0v2.42a.964.964 0 01-.965.979zM19.743 13.047a.978.978 0 100-1.956.978.978 0 000 1.956zM19.743 10.151a.978.978 0 100-1.956.978.978 0 000 1.956zM19.743 2.068a.978.978 0 100-1.956.978.978 0 000 1.956z" fill="#4285F4"></path><path d="M11.995 15.917a.978.978 0 01-.965-.965v-2.459a.978.978 0 011.943 0v2.433a.976.976 0 01-.978.991zM11.995 18.762a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 10.64a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 7.783a.978.978 0 100-1.956.978.978 0 000 1.956z" fill="#669DF6"></path><path d="M15.856 10.177a.978.978 0 01-.965-.965v-2.42a.977.977 0 011.702-.763.979.979 0 01.241.763v2.42a.978.978 0 01-.978.965zM15.869 4.913a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 12.996a.978.978 0 100-1.956.978.978 0 000 1.956z" fill="#4285F4"></path><path d="M8.121 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 7.783a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 4.913a.978.978 0 100-1.957.978.978 0 000 1.957zM8.134 12.996a.978.978 0 01-.978-.94V9.611a.965.965 0 011.93 0v2.445a.966.966 0 01-.952.94z" fill="#AECBFA"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/xai.svg b/control-ui/public/provider-icons/xai.svg
new file mode 100644
index 000000000..536e71390
--- /dev/null
+++ b/control-ui/public/provider-icons/xai.svg
@@ -0,0 +1 @@
+<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>Grok</title><path d="M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"></path></svg>
\ No newline at end of file
diff --git a/control-ui/public/provider-icons/zai.svg b/control-ui/public/provider-icons/zai.svg
new file mode 100644
index 000000000..cb34372ae
--- /dev/null
+++ b/control-ui/public/provider-icons/zai.svg
@@ -0,0 +1,215 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" style="enable-background:new 0 0 30 30;" xml:space="preserve" viewBox="1.17 1.17 27.66 27.65">
+<style type="text/css">
+ .st0{opacity:0.3;fill:#E2E4E7;}
+ .st1{opacity:0.8;fill:#E2E4E7;stroke:#FFFFFF;stroke-width:5;stroke-miterlimit:10;}
+ .st2{fill:url(#SVGID_1_);}
+ .st3{fill:none;stroke:#E0E4E9;stroke-width:0.25;stroke-miterlimit:10;}
+ .st4{fill:none;}
+ .st5{fill:#9DA1A5;}
+ .st6{fill-rule:evenodd;clip-rule:evenodd;fill:none;}
+ .st7{fill-rule:evenodd;clip-rule:evenodd;fill:#DFE2E7;}
+ .st8{fill-rule:evenodd;clip-rule:evenodd;fill:#CDD4DA;}
+ .st9{fill-rule:evenodd;clip-rule:evenodd;fill:#B3BCC7;}
+ .st10{fill-rule:evenodd;clip-rule:evenodd;fill:#9DAAB7;}
+ .st11{fill-rule:evenodd;clip-rule:evenodd;fill:#8698A8;}
+ .st12{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_2_);}
+ .st13{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_3_);}
+ .st14{fill:#1F63EC;}
+ .st15{fill:#2D2D2D;}
+ .st16{fill:none;stroke:#E0E4E9;stroke-width:0.5;stroke-miterlimit:10;}
+ .st17{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_4_);}
+ .st18{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_5_);}
+ .st19{fill:none;stroke:#677380;stroke-width:0.5;stroke-miterlimit:10;}
+ .st20{fill:none;stroke:url(#SVGID_6_);stroke-width:2;stroke-miterlimit:10;}
+ .st21{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_7_);}
+ .st22{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_8_);}
+ .st23{fill:#FFFFFF;}
+ .st24{fill-rule:evenodd;clip-rule:evenodd;fill:#2D2D2D;}
+ .st25{clip-path:url(#SVGID_10_);}
+ .st26{clip-path:url(#SVGID_12_);}
+ .st27{fill:url(#SVGID_13_);}
+ .st28{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_14_);}
+ .st29{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_15_);}
+ .st30{clip-path:url(#SVGID_17_);}
+ .st31{clip-path:url(#SVGID_19_);}
+ .st32{fill:url(#SVGID_20_);}
+ .st33{fill:none;stroke:url(#SVGID_21_);stroke-width:2;stroke-miterlimit:10;}
+ .st34{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_22_);}
+ .st35{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_23_);}
+ .st36{clip-path:url(#SVGID_25_);}
+ .st37{clip-path:url(#SVGID_27_);}
+ .st38{fill:url(#SVGID_28_);}
+ .st39{clip-path:url(#SVGID_30_);}
+ .st40{clip-path:url(#SVGID_32_);}
+ .st41{fill:url(#SVGID_33_);}
+ .st42{fill-rule:evenodd;clip-rule:evenodd;fill:#126EF6;}
+ .st43{fill-rule:evenodd;clip-rule:evenodd;fill:#FFFFFF;}
+ .st44{clip-path:url(#SVGID_35_);}
+ .st45{clip-path:url(#SVGID_37_);}
+ .st46{fill:url(#SVGID_38_);}
+ .st47{fill-rule:evenodd;clip-rule:evenodd;fill:#9DA1A5;}
+ .st48{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_39_);}
+ .st49{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_40_);}
+ .st50{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_41_);}
+ .st51{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_42_);}
+ .st52{fill:none;stroke:url(#SVGID_43_);stroke-width:2;stroke-miterlimit:10;}
+ .st53{fill-rule:evenodd;clip-rule:evenodd;fill:none;stroke:#E0E4E9;stroke-width:0.5;stroke-miterlimit:10;}
+ .st54{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_44_);}
+ .st55{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_45_);}
+ .st56{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_46_);}
+ .st57{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_47_);}
+ .st58{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_48_);}
+ .st59{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_49_);}
+ .st60{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_50_);}
+ .st61{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_51_);}
+ .st62{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_52_);}
+ .st63{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_53_);}
+ .st64{clip-path:url(#SVGID_55_);}
+ .st65{clip-path:url(#SVGID_57_);}
+ .st66{fill:url(#SVGID_58_);}
+ .st67{clip-path:url(#SVGID_60_);}
+ .st68{clip-path:url(#SVGID_62_);}
+ .st69{fill:url(#SVGID_63_);}
+ .st70{fill:none;stroke:url(#SVGID_64_);stroke-width:2;stroke-miterlimit:10;}
+ .st71{clip-path:url(#SVGID_66_);}
+ .st72{clip-path:url(#SVGID_68_);}
+ .st73{fill:url(#SVGID_69_);}
+ .st74{clip-path:url(#SVGID_71_);}
+ .st75{clip-path:url(#SVGID_73_);}
+ .st76{fill:url(#SVGID_74_);}
+ .st77{clip-path:url(#SVGID_76_);}
+ .st78{clip-path:url(#SVGID_78_);}
+ .st79{fill:url(#SVGID_79_);}
+ .st80{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_80_);}
+ .st81{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_81_);}
+ .st82{clip-path:url(#SVGID_83_);}
+ .st83{clip-path:url(#SVGID_85_);}
+ .st84{fill:url(#SVGID_86_);}
+ .st85{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_87_);}
+ .st86{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_88_);}
+ .st87{clip-path:url(#SVGID_90_);}
+ .st88{clip-path:url(#SVGID_92_);}
+ .st89{fill:url(#SVGID_93_);}
+ .st90{fill:none;stroke:url(#SVGID_94_);stroke-width:2;stroke-miterlimit:10;}
+ .st91{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_95_);}
+ .st92{fill-rule:evenodd;clip-rule:evenodd;fill:url(#SVGID_96_);}
+ .st93{clip-path:url(#SVGID_98_);}
+ .st94{clip-path:url(#SVGID_100_);}
+ .st95{fill:url(#SVGID_101_);}
+ .st96{clip-path:url(#SVGID_103_);}
+ .st97{clip-path:url(#SVGID_105_);}
+ .st98{fill:url(#SVGID_106_);}
+ .st99{clip-path:url(#SVGID_108_);}
+ .st100{clip-path:url(#SVGID_110_);}
+ .st101{fill:url(#SVGID_111_);}
+ .st102{fill:#FFFFFF;stroke:#B3BCC7;stroke-width:0.275;stroke-miterlimit:10;}
+ .st103{clip-path:url(#SVGID_113_);}
+ .st104{fill:#FDD138;}
+ .st105{fill:#FCA62F;}
+ .st106{fill:#FB7927;}
+ .st107{fill:#F44B22;}
+ .st108{fill:#D81915;}
+ .st109{fill:#2D2D2D;stroke:#FFFFFF;stroke-width:0.3354;stroke-miterlimit:10;}
+ .st110{fill:none;stroke:#65727F;stroke-width:2;stroke-miterlimit:10;}
+ .st111{fill:none;stroke:#65727F;stroke-width:0.75;stroke-miterlimit:10;}
+ .st112{fill:url(#SVGID_114_);}
+ .st113{fill:#D06C50;}
+ .st114{fill:#2D2D2D;stroke:#B3BCC7;stroke-width:0.275;stroke-miterlimit:10;}
+ .st115{opacity:0.2;}
+ .st116{fill:none;stroke:#677380;stroke-width:0.3564;stroke-miterlimit:10;}
+ .st117{fill:none;stroke:#677380;stroke-width:0.3564;stroke-miterlimit:10;stroke-dasharray:1.0212,1.0212;}
+ .st118{fill:none;stroke:#677380;stroke-width:0.3564;stroke-miterlimit:10;stroke-dasharray:1.0205,1.0205;}
+ .st119{opacity:0.2;fill:none;}
+ .st120{fill:none;stroke:#677380;stroke-width:0.3689;stroke-miterlimit:10;}
+ .st121{fill:none;stroke:#677380;stroke-width:0.3689;stroke-miterlimit:10;stroke-dasharray:1.0509,1.0509;}
+ .st122{opacity:0.3;fill:#1F63EC;}
+ .st123{fill:#2D2D2D;stroke:#FFFFFF;stroke-width:0.3162;stroke-miterlimit:10;}
+ .st124{fill:#FFFFFF;stroke:#B3BCC7;stroke-width:0.3162;stroke-miterlimit:10;}
+ .st125{clip-path:url(#SVGID_118_);}
+ .st126{fill:url(#SVGID_119_);}
+ .st127{fill:none;stroke:#DFE2E7;stroke-width:0.75;stroke-miterlimit:10;}
+ .st128{fill:#9DA1A5;stroke:#FFFFFF;stroke-miterlimit:10;}
+ .st129{fill:url(#SVGID_120_);}
+ .st130{fill:none;stroke:#677380;stroke-width:0.75;stroke-miterlimit:10;}
+ .st131{opacity:0.4;}
+ .st132{clip-path:url(#SVGID_122_);}
+ .st133{clip-path:url(#SVGID_124_);}
+ .st134{fill:url(#SVGID_125_);}
+ .st135{fill:none;stroke:#8392A3;stroke-width:0.35;stroke-miterlimit:10;}
+ .st136{fill:none;stroke:#8392A3;stroke-width:0.35;stroke-miterlimit:10;stroke-dasharray:0.9951,0.9951;}
+ .st137{fill:none;stroke:#8392A3;stroke-width:0.35;stroke-miterlimit:10;stroke-dasharray:1.004,1.004;}
+ .st138{fill:none;stroke:url(#SVGID_126_);stroke-width:1.5;stroke-miterlimit:10;}
+ .st139{fill:url(#SVGID_127_);}
+ .st140{fill:none;stroke:#DDE0E4;stroke-width:0.35;stroke-miterlimit:10;}
+ .st141{fill:#2D2D2D;stroke:#A9B3BE;stroke-width:0.275;stroke-miterlimit:10;}
+ .st142{fill-rule:evenodd;clip-rule:evenodd;fill:#126EF4;}
+ .st143{fill:#FFFFFF;stroke:#B1BAC4;stroke-width:0.275;stroke-miterlimit:10;}
+ .st144{fill:#CE6C50;}
+ .st145{fill:#5B5B5B;}
+ .st146{fill:#8392A3;}
+ .st147{fill:none;stroke:url(#SVGID_128_);stroke-width:1.5;stroke-miterlimit:10;}
+ .st148{fill:url(#SVGID_129_);}
+ .st149{fill:none;stroke:#B5BDC4;stroke-width:0.7;stroke-miterlimit:10;}
+ .st150{opacity:0.6;fill:none;stroke:#78838E;stroke-width:0.35;stroke-miterlimit:10;}
+ .st151{opacity:0.2;fill:none;stroke:#8392A3;stroke-width:0.35;stroke-miterlimit:10;stroke-dasharray:1,1;}
+ .st152{fill:none;stroke:#DDE0E4;stroke-width:0.75;stroke-miterlimit:10;}
+ .st153{fill:none;stroke:#8392A3;stroke-width:0.5;stroke-miterlimit:10;}
+ .st154{opacity:0.2;fill:none;stroke:#677380;stroke-width:0.3564;stroke-miterlimit:10;stroke-dasharray:1.0182,1.0182;}
+ .st155{fill:none;stroke:#DDE0E4;stroke-width:0.765;stroke-miterlimit:10;}
+ .st156{fill:url(#SVGID_130_);}
+ .st157{fill:url(#SVGID_131_);}
+ .st158{fill:#B1BAC4;}
+ .st159{fill:#CBD1D8;}
+ .st160{fill:#0B1B2B;}
+ .st161{fill:#91D119;}
+ .st162{opacity:0.7;}
+ .st163{fill:#FFFFFF;stroke:#000000;stroke-width:0.4418;stroke-miterlimit:10;}
+ .st164{fill:none;stroke:#939CAA;stroke-width:0.2209;stroke-miterlimit:10;}
+ .st165{fill:none;stroke:#FFFFFF;stroke-width:3.0924;stroke-miterlimit:10;}
+ .st166{fill:url(#SVGID_132_);}
+ .st167{fill:none;stroke:url(#SVGID_133_);stroke-width:1.714;stroke-miterlimit:10;}
+ .st168{fill:url(#SVGID_134_);}
+ .st169{fill:url(#SVGID_135_);}
+ .st170{fill:url(#SVGID_136_);}
+ .st171{fill:url(#SVGID_137_);}
+ .st172{fill:url(#SVGID_138_);}
+ .st173{fill:url(#SVGID_139_);}
+ .st174{fill:url(#SVGID_140_);}
+ .st175{fill:url(#SVGID_141_);}
+ .st176{fill:url(#SVGID_142_);}
+ .st177{fill:url(#SVGID_143_);}
+ .st178{fill:url(#SVGID_144_);}
+ .st179{fill:none;stroke:#1F63EC;stroke-width:4;stroke-miterlimit:10;}
+ .st180{fill:none;stroke:#0B1B2B;stroke-width:4;stroke-miterlimit:10;}
+ .st181{fill:none;stroke:#677380;stroke-width:0.3989;stroke-miterlimit:10;}
+ .st182{fill:none;stroke:#677380;stroke-width:0.3989;stroke-miterlimit:10;stroke-dasharray:1.14,1.14;}
+ .st183{fill:#257AF1;}
+ .st184{opacity:0.3;fill:#FFFFFF;}
+ .st185{fill:none;stroke:#98A5B2;stroke-width:4;stroke-miterlimit:10;}
+ .st186{fill:none;stroke:#65727F;stroke-width:0.3989;stroke-miterlimit:10;}
+ .st187{fill:none;stroke:#65727F;stroke-width:0.3989;stroke-miterlimit:10;stroke-dasharray:1.14,1.14;}
+ .st188{fill:none;stroke:#DDDFE4;stroke-width:0.75;stroke-miterlimit:10;}
+ .st189{fill:#9A9EA2;}
+ .st190{fill-rule:evenodd;clip-rule:evenodd;fill:#3267AC;}
+ .st191{fill:#FFFFFF;stroke:#AFB8C3;stroke-width:0.275;stroke-miterlimit:10;}
+ .st192{fill:#C5694E;}
+ .st193{fill:#8192A2;}
+ .st194{fill:#2D2D2D;stroke:#FFFFFF;stroke-width:0.6317;stroke-miterlimit:10;}
+</style>
+<g id="图层_2">
+</g>
+<g id="图层_1">
+ <path class="st194" d="M24.51,28.51H5.49c-2.21,0-4-1.79-4-4V5.49c0-2.21,1.79-4,4-4h19.03c2.21,0,4,1.79,4,4v19.03 C28.51,26.72,26.72,28.51,24.51,28.51z"/>
+ <g>
+ <g>
+ <g>
+ <g>
+ <path class="st23" d="M15.47,7.1l-1.3,1.85c-0.2,0.29-0.54,0.47-0.9,0.47h-7.1V7.09C6.16,7.1,15.47,7.1,15.47,7.1z"/>
+ <polygon class="st23" points="24.3,7.1 13.14,22.91 5.7,22.91 16.86,7.1 "/>
+ <path class="st23" d="M14.53,22.91l1.31-1.86c0.2-0.29,0.54-0.47,0.9-0.47h7.09v2.33H14.53z"/>
+ </g>
+ </g>
+ </g>
+ </g>
+</g>
+</svg>
\ No newline at end of file
diff --git a/desktop-app/package-lock.json b/desktop-app/package-lock.json
index f5fad84ae..35e07cd19 100644
--- a/desktop-app/package-lock.json
+++ b/desktop-app/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "evenfire",
- "version": "0.1.313",
+ "version": "0.1.314",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "evenfire",
- "version": "0.1.313",
+ "version": "0.1.314",
"license": "MPL-2.0",
"dependencies": {
"@tanstack/react-query": "5.100.10",
diff --git a/desktop-app/package.json b/desktop-app/package.json
index ba540b0c3..3c04f428a 100644
--- a/desktop-app/package.json
+++ b/desktop-app/package.json
@@ -1,7 +1,7 @@
{
"name": "evenfire",
"productName": "Evenfire",
- "version": "0.1.313",
+ "version": "0.1.314",
"private": true,
"license": "MPL-2.0",
"description": "Evenfire desktop client for secure agent and workflow access",
diff --git a/desktop-app/ui/src/components/SidebarNav/index.tsx b/desktop-app/ui/src/components/SidebarNav/index.tsx
index 91510c840..87a547924 100644
--- a/desktop-app/ui/src/components/SidebarNav/index.tsx
+++ b/desktop-app/ui/src/components/SidebarNav/index.tsx
@@ -178,7 +178,7 @@ export function SidebarNav({
},
{
id: DESKTOP_ROUTES.files,
- label: 'Files',
+ label: 'Global File System',
testId: 'nav-files',
icon: <IconAttachFile />,
},
diff --git a/desktop-app/ui/src/components/__tests__/SidebarNav.test.tsx b/desktop-app/ui/src/components/__tests__/SidebarNav.test.tsx
index 92c37d2ab..b424bfeb5 100644
--- a/desktop-app/ui/src/components/__tests__/SidebarNav.test.tsx
+++ b/desktop-app/ui/src/components/__tests__/SidebarNav.test.tsx
@@ -104,6 +104,15 @@ describe('SidebarNav logo', () => {
expect(container.querySelector('.sidebar-logo-text')).toBeNull()
expect(container.querySelector('.sidebar-logo-copy')).toBeNull()
})
+
+ it('labels the Files destination as Global File System in Resources', () => {
+ render(<SidebarNav {...baseProps()} />)
+
+ fireEvent.click(screen.getByTestId('nav-settings-menu'))
+
+ expect(screen.getByTestId('nav-files').textContent).toContain('Global File System')
+ expect(screen.queryByRole('menuitem', { name: 'Files' })).toBeNull()
+ })
})
describe('SidebarNav new-chat affordance', () => {
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index cf7a9429a..14f6c0ad2 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.101",
+ "version": "0.1.102",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.101",
+ "version": "0.1.102",
"dependencies": {
"next": "16.2.6",
"react": "^18.3.1",
@@ -661,6 +661,7 @@
"integrity": "sha512-z9VXpC7MWrhfWipitjNdgCauoMLRdIILQsAEV+ZesIzBq/oUlxk0m3ApZuMFCXdnS4U7KrI+l3WRUEGQ8K1QKw==",
"dev": true,
"license": "MIT",
+ "peer": true,
"dependencies": {
"@types/prop-types": "*",
"csstype": "^3.2.2"
@@ -859,6 +860,7 @@
"resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz",
"integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"loose-envify": "^1.1.0"
},
@@ -871,6 +873,7 @@
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",
"integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==",
"license": "MIT",
+ "peer": true,
"dependencies": {
"loose-envify": "^1.1.0",
"scheduler": "^0.23.2"
diff --git a/profile-ui/package.json b/profile-ui/package.json
index 8b58d506a..d9f0a014e 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.101",
+ "version": "0.1.102",
"private": true,
"scripts": {
"dev": "next dev",