smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Svelte · Onboarding

FirstRunOnboarding

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

Public export

typescript
import { FirstRunOnboarding } from '@happyvertical/smrt-svelte/onboarding';
Import path
@happyvertical/smrt-svelte/onboarding
Props
10
Props described
10 of 10
Bindable state
0
Callback events
1
Verified release
0.70.2

Props

NameTypeRequiredDescription
clientOnboardingClientYesReads and advances the saved onboarding progress on the server.
connectAiConnectAiClientYesTransport for the AI connection step, usually `createConnectAiClient`.
approvalTransportAssistantTransportYesConnection used to show and decide the owner approval a template needs.
initialStateOnboardingStateYesServer-loaded progress the first screen renders; refreshed after each action.
appNamestringYesApp name shown in the welcome heading.
descriptionstringYesOne-paragraph introduction under the welcome heading.
apiKeyHrefstringYesHost's inference settings or API-key form, linked from the AI step.
oncomplete() => void | Promise<void>YesCalled once onboarding finishes; not called when re-running it from Settings.
backHrefstringNoWhere the back-to-settings links go. Default `/settings`.
aiAlternativeInferenceEngineActionNoHost-owned alternative connection link, inside the AI step card.

Bindable state

This component has no bindable public state.

Callback events

  • oncomplete() => void | Promise<void>

Examples and explanation