s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Agents · Components

AgentSettingsShell

No summary has been written for AgentSettingsShell. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { AgentSettingsShell } from '@happyvertical/smrt-agents/svelte/admin';
Import path
@happyvertical/smrt-agents/svelte/admin
Props
7
Props described
7 of 7
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
registryAgentUIComponentRegistryYesThe registry to look up components from
agentsAgentData[]YesList of agents to display (serialized data, not instances)
configsRecord<string, Record<string, unknown>>YesConfig data for each agent and slot: agentId -> slotId -> config
onSave(agentId: string, slotId: string, config: unknown) => Promise<void>NoCallback when a config is saved
readonlybooleanNoWhether all panels are read-only
fileConfigsRecord<string, Record<string, unknown>>NoFile configs: agentId -> slotId -> config
dbConfigsRecord<string, Record<string, unknown>>NoDatabase configs: agentId -> slotId -> config

Bindable state

This component has no bindable public state.

Callback events

  • onSave(agentId: string, slotId: string, config: unknown) => Promise<void>

Examples and explanation