Hyperflow UI
Reference

@hyperflow/chakra-ui

Application props, related types, and default component contracts.

Reading this reference

Read from the application root down to the part you want to replace. You do not need to read every supporting type to use a component.

SectionStart here when you want to…
HyperflowAppConfigure the connection, routes, navigation, or application-wide replacements.
Default application componentsCustomize Layout, Login, RuntimeReload, or the Chakra Provider.
Default layout componentsCustomize the sidebar, top bar, or background-task drawer inside Layout.
ComposerCustomize message input, attachments, submission, and session controls.
TimelineCustomize conversation entries, messages, tools, and feedback states.
Human-in-the-loopCustomize input, approval, and authorization panels.
Knowledge baseCustomize the document collection, document items, and progress.
Base primitivesCompose custom surfaces with reusable visual building blocks.

Each component lists its props, types, and default values. Follow the links to view type definitions and default components. Types from other packages link to their package reference.

HyperflowApp

HyperflowApp sets up the default Hyperflow application. Use the props below to configure it and replace its default components.

PropDefaultType
config—ClientConfig
Required. Runtime connection and authentication configuration.
routes[]HyperflowRoute[]
Adds pages or replaces a default page with the same normalized path. Supplied routes retain their array order. System routes remain reserved.
navItems[]NavItem[]
Links rendered by the default sidebar.
fallback—ReactNode
Content rendered while the client initializes.
layoutComponentLayoutReact.ComponentType<{ children: React.ReactNode }>
Replaces the frame around protected routes.
loginComponentLoginReact.ComponentType
Replaces the login screen.
runtimeReloadComponentRuntimeReloadReact.ComponentType
Replaces the runtime recovery screen.
chakraProviderProviderReact.ComponentType<{ children: React.ReactNode }>
Replaces the root Chakra provider.

HyperflowAppProps

Extends AppCoreProps with Chakra UI defaults.

export interface HyperflowAppProps
  extends Omit<
    AppCoreProps,
    "layoutComponent" | "loginComponent" | "runtimeReloadComponent"
  > {
  layoutComponent?: React.ComponentType<{ children: React.ReactNode }>;
  loginComponent?: React.ComponentType;
  runtimeReloadComponent?: React.ComponentType;
  chakraProvider?: React.ComponentType<{ children: React.ReactNode }>;
}

Default application components

HyperflowApp uses these components by default. To customize one, create a component that renders it with your chosen props, then pass your component to the corresponding HyperflowApp prop.

Choose a component: Layout · Login · RuntimeReload · Provider.

Layout

The application frame around protected routes. It renders page content alongside the sidebar, top bar, and background-task drawer.

PropDefaultType
children—React.ReactNode
Required. Main routed content rendered inside the layout.
sidebarComponentSessionSidebarReact.ComponentType<SidebarComponentProps>
Optional sidebar component used to replace the default SessionSidebar implementation.
topbarComponentSessionTopBarReact.ComponentType
Optional top bar component used to replace the default SessionTopBar implementation.
drawerComponentSessionBackgroundTasksDrawerReact.ComponentType
Optional drawer component used to replace the default background-task drawer.

LayoutProps

Defined in @hyperflow/chakra-ui.

/**
 * Default Chakra UI layout shell for Hyperflow applications.
 *
 * Renders the active sidebar component on the left, the top bar and routed
 * page content in the main area on the right.
 *
 * Pass this as the `layoutComponent` to `HyperflowApp` from `@hyperflow/chakra-ui`.
 * The router will inject the active route as `children` automatically.
 */
export interface LayoutProps {
    /** Main routed content rendered inside the layout. */
    children: React.ReactNode;
    /**
     * Optional sidebar component used to replace the default `SessionSidebar`
     * implementation.
     */
    sidebarComponent?: React.ComponentType<SidebarComponentProps>;
    /**
     * Optional top bar component used to replace the default `SessionTopBar`
     * implementation.
     */
    topbarComponent?: React.ComponentType;
    /**
     * Optional drawer component used to replace the default background-task
     * drawer.
     */
    drawerComponent?: React.ComponentType;
}

Related types: SidebarComponentProps.

SidebarComponentProps

Defined in @hyperflow/chakra-ui.

/**
 * Props accepted by sidebar components used in {@link Layout}.
 */
export type SidebarComponentProps = BaseSidebarProps | SessionSidebarProps;

Related types: BaseSidebarProps, SessionSidebarProps.

BaseSidebarProps

Defined in @hyperflow/chakra-ui.

interface BaseSidebarProps {
    /**
     * Optional custom content rendered between the navigation section and the footer.
     */
    children?: React.ReactNode;
    /**
     * Custom header component used to render the top section of the sidebar.
     */
    headerComponent?: React.ComponentType<SidebarHeaderProps>;
    /**
     * Custom footer component used to render the bottom section of the sidebar.
     */
    footerComponent?: React.ComponentType<SidebarFooterProps>;
}

Related types: SidebarHeaderProps, SidebarFooterProps.

Login

The screen rendered at /login. Its props customize the default form without replacing its authentication behavior.

PropDefaultType
logo—string
Optional logo URL shown above the form.
title"Accedi ad Hyperflow"string
Screen title displayed above the form.
redirectTo"/sessions/new"string
Route navigated to after successful login.

LoginProps

Defined in @hyperflow/chakra-ui.

type LoginProps = {
    /** Optional logo URL shown above the form. */
    logo?: string;
    /** Screen title displayed above the form. */
    title?: string;
    /** Route navigated to after successful login. */
    redirectTo?: string;
};

RuntimeReload

The runtime recovery screen. It waits for the backend to become available and returns to the requested application route.

PropDefaultType
———
No props.

Provider

The root Chakra provider. It installs the Hyperflow Chakra system and color-mode support. Its ColorModeProviderProps contract extends ThemeProviderProps from next-themes.

PropDefaultType
children—ReactNode
Application content.
defaultTheme"system"string
Initial theme when no saved preference is available.
enableSystemtrueboolean
Enables the system color-scheme preference.
forcedTheme—string
Forces a theme for the current page.
storageKey"theme"string
Local-storage key for the theme preference.
attribute"class""class" | `data-${string}` | Array<"class" | `data-${string}`>
HTML attribute updated when the theme changes.
disableTransitionOnChangetrueboolean
Disables transitions while switching themes.
enableColorSchemetrueboolean
Applies the active color scheme to browser controls.
themes["light", "dark"]string[]
Available theme names.
value—Record<string, string>
Maps theme names to attribute values.
nonce—string
Nonce applied to the theme script.
scriptProps—ScriptProps
Additional theme-script attributes.

ColorModeProviderProps

interface ColorModeProviderProps extends ThemeProviderProps {}

ColorModeButtonProps

interface ColorModeButtonProps extends Omit<IconButtonProps, "aria-label"> {
}

Default layout components

These components implement the regions exposed by Layout. Replace one region through its corresponding layout prop, or wrap its default component to customize the props below.

SessionSidebar

Session navigation and application links. The header and footer are replaceable independently.

PropDefaultType
headerComponentSidebarHeaderReact.ComponentType<SidebarHeaderProps>
Custom header component used to render the top section of the sidebar.
footerComponentSidebarFooterReact.ComponentType<SidebarFooterProps>
Custom footer component used to render the bottom section of the sidebar.
customUngroupedDisplayName—string
Display label for sessions not assigned to a custom group.
statusGroupLabels—Record<string, string>
Display labels for status-group headers, keyed by normalized status.

SessionSidebarProps

Defined in @hyperflow/chakra-ui.

/**
 * Props for the session-oriented sidebar preset.
 */
export interface SessionSidebarProps {
    /** Custom header component used to render the top section of the sidebar. */
    headerComponent?: React.ComponentType<SidebarHeaderProps>;
    /** Custom footer component used to render the bottom section of the sidebar. */
    footerComponent?: React.ComponentType<SidebarFooterProps>;
    /** Display label for sessions not assigned to a custom group. */
    customUngroupedDisplayName?: string;
    /** Display labels for status-group headers, keyed by normalized status. */
    statusGroupLabels?: Record<string, string>;
}

Related types: SidebarHeaderProps, SidebarFooterProps.

SidebarHeaderProps

Defined in @hyperflow/chakra-ui.

interface SidebarHeaderProps {
    /**
     * Custom title component used to render the sidebar title.
     */
    titleComponent?: React.ComponentType;
}

SidebarFooterProps

Defined in @hyperflow/chakra-ui.

type SidebarFooterProps = {
    /** Custom account menu rendered at the bottom of the sidebar. */
    accountMenuComponent?: ComponentType<SidebarAccountMenuProps>;
};

Related types: SidebarAccountMenuProps.

SidebarAccountMenuProps

Defined in @hyperflow/chakra-ui.

type SidebarAccountMenuProps = {
    items?: SidebarAccountMenuItemConfig[];
    showDisplayName?: boolean;
    collapseLabel?: boolean;
    positioning?: ComponentProps<typeof Menu.Root>["positioning"];
};

Related types: SidebarAccountMenuItemConfig.

SessionTopBar

Page-level navigation and session actions above the active page.

PropDefaultType
moreMenuComponentSessionMoreMenuComponentType<SessionMoreMenuProps> | undefined
Session action menu. Defaults to SessionMoreMenu.
moreMenuLabels—SessionMoreMenuLabels | undefined
Overrides visible copy in the default session action menu.

SessionTopBarProps

Defined in @hyperflow/chakra-ui.

type SessionTopBarProps = {
    /** Session action menu. Defaults to {@link SessionMoreMenu}. */
    moreMenuComponent?: ComponentType<SessionMoreMenuProps> | undefined;
    /** Overrides visible copy in the default session action menu. */
    moreMenuLabels?: SessionMoreMenuLabels | undefined;
};

Related types: SessionMoreMenuProps, SessionMoreMenuLabels.

SessionMoreMenuProps

Defined in @hyperflow/chakra-ui.

type SessionMoreMenuProps = {
    session: Session;
    customGroups?: SessionCustomGroup[] | undefined;
    onRename: (title: string) => Promise<void>;
    onMoveToGroup?: ((customGroupId: string | null) => void | Promise<void>) | undefined;
    onDelete: () => Promise<void>;
    /** Overrides visible copy in the session action menu and dialogs. */
    labels?: SessionMoreMenuLabels | undefined;
};

Related types: Session, SessionCustomGroup, SessionMoreMenuLabels.

SessionMoreMenuLabels

Defined in @hyperflow/chakra-ui.

type SessionMoreMenuLabels = {
    backgroundTasks?: string;
    moveToGroup?: string;
    removeFromGroup?: string;
    rename?: string;
    delete?: string;
    options?: string;
    renameDialogTitle?: string;
    deleteDialogTitle?: string;
    titleLabel?: string;
    deleteConfirmation?: string;
};

SessionBackgroundTasksDrawer

The background-task panel, with customizable labels for tasks and their transcripts.

PropDefaultType
labels—BackgroundTasksPanelLabels | undefined
Overrides visible copy in the default task panel.
conversationLabels—BackgroundTaskConversationLabels | undefined
Overrides visible copy in conversation transcripts.
terminalLabels—BackgroundTaskTerminalLabels | undefined
Overrides visible copy in terminal transcripts.

SessionBackgroundTasksDrawerProps

Defined in @hyperflow/chakra-ui.

type SessionBackgroundTasksDrawerProps = {
    /** Overrides visible copy in the default task panel. */
    labels?: BackgroundTasksPanelLabels | undefined;
    /** Overrides visible copy in conversation transcripts. */
    conversationLabels?: BackgroundTaskConversationLabels | undefined;
    /** Overrides visible copy in terminal transcripts. */
    terminalLabels?: BackgroundTaskTerminalLabels | undefined;
};

Related types: BackgroundTasksPanelLabels, BackgroundTaskConversationLabels, BackgroundTaskTerminalLabels.

BackgroundTasksPanelLabels

Defined in @hyperflow/chakra-ui.

type BackgroundTasksPanelLabels = {
    title?: string;
    close?: string;
    running?: string;
    finishedOne?: string;
    finishedMany?: string;
    clearFinished?: string;
    empty?: string;
    defaultLabel?: string;
    cancelTask?: string;
    removeTask?: string;
    cancel?: string;
    remove?: string;
    back?: string;
    tool?: string;
    pending?: string;
    inputTokens?: string;
    outputTokens?: string;
};

BackgroundTaskConversationLabels

Defined in @hyperflow/chakra-ui.

type BackgroundTaskConversationLabels = {
    tool?: string;
    pending?: string;
};

BackgroundTaskTerminalLabels

Defined in @hyperflow/chakra-ui.

type BackgroundTaskTerminalLabels = {
    title?: string;
    waiting?: string;
};

SidebarHeader

PropDefaultType
titleComponentSidebarTitleReact.ComponentType
Custom title component used to render the sidebar title.

SidebarFooter

PropDefaultType
accountMenuComponentSidebarAccountMenuComponentType<SidebarAccountMenuProps>
Custom account menu rendered at the bottom of the sidebar.

Related types: SidebarAccountMenuProps.

SidebarAccountMenuItemConfig

type SidebarAccountMenuItemConfig = {
    key: string;
    component: ComponentType<SidebarAccountMenuItemProps>;
    separatorBefore?: boolean;
};

Related types: SidebarAccountMenuItemProps.

SessionMoreMenu

PropDefaultType
session—Session
Required.
customGroups—SessionCustomGroup[] | undefined
onRename—(title: string) => Promise<void>
Required.
onMoveToGroup—((customGroupId: string | null) => void | Promise<void>) | undefined
onDelete—() => Promise<void>
Required.
labels—SessionMoreMenuLabels | undefined
Overrides visible copy in the session action menu and dialogs.

Related types: Session, SessionCustomGroup, SessionMoreMenuLabels.

TriggerButtonLayout

type TriggerButtonLayout = "compact" | "panel";

SelectionMenuPlacement

type SelectionMenuPlacement = "top-start" | "top-end" | "left-start";

SidebarAccountMenuItemProps

type SidebarAccountMenuItemProps = {
    onCloseMenu?: () => void;
};

Composer

Compose messages, attachments, and session controls. Start with Composer; replace an input, button, attachment surface, or control only when needed.

Components: Composer · ComposerTextInput · ComposerSendButton · ComposerAttachmentMenu · ComposerAttachmentPreview · AgentSelector · ModelReasoningSelector · ToolhostSelector · ContextWindowMeter · SessionOptionsPanel.

Composer

PropDefaultType
inputComponentComposerTextInputComponentType<ComposerTextInputProps> | undefined
sendButtonComponentComposerSendButtonComponentType<ComposerSendButtonProps> | undefined
attachmentMenuComponentComposerAttachmentMenu| ComponentType<ComposerAttachmentMenuProps> | undefined
attachmentPreviewComponentComposerAttachmentPreview| ComponentType<ComposerAttachmentPreviewProps> | undefined
slotRenderers—ComposerSlotRenderers | undefined
onSubmitOverride—| (( composer: UseComposer, ) => Promise<ComposerSubmitResult | void> | ComposerSubmitResult | void) | undefined
submittingfalseboolean | undefined
slotSurfaceVariant—ComposerSlotSurfaceVariant | undefined
Visual treatment for top and bottom slot regions. Defaults to the neutral rows.
placement"standalone"ComposerPlacement | undefined
Visual context for the composer. Defaults to the standalone new-session placement.
dropTarget—HTMLElement | null | undefined
Positioned element that accepts dropped files. Defaults to the composer itself.

ComposerProps

interface ComposerProps {
    inputComponent?: ComponentType<ComposerTextInputProps> | undefined;
    sendButtonComponent?: ComponentType<ComposerSendButtonProps> | undefined;
    attachmentMenuComponent?: ComponentType<ComposerAttachmentMenuProps> | undefined;
    attachmentPreviewComponent?: ComponentType<ComposerAttachmentPreviewProps> | undefined;
    slotRenderers?: ComposerSlotRenderers | undefined;
    onSubmitOverride?: ((composer: UseComposer) => Promise<ComposerSubmitResult | void> | ComposerSubmitResult | void) | undefined;
    submitting?: boolean | undefined;
    /** Visual treatment for top and bottom slot regions. Defaults to the neutral rows. */
    slotSurfaceVariant?: ComposerSlotSurfaceVariant | undefined;
    /** Visual context for the composer. Defaults to the standalone new-session placement. */
    placement?: ComposerPlacement | undefined;
    /** Positioned element that accepts dropped files. Defaults to the composer itself. */
    dropTarget?: HTMLElement | null | undefined;
}

Related types: ComposerTextInputProps, ComposerSendButtonProps, ComposerAttachmentMenuProps, ComposerAttachmentPreviewProps, ComposerSlotRenderers, UseComposer, ComposerSubmitResult, ComposerSlotSurfaceVariant, ComposerPlacement.

ComposerTextInput

Controlled composer input with CSS-based auto-grow behavior. Enter submits the composer; Shift+Enter inserts a newline.

PropDefaultType
value—string
Required.
disabled—boolean
Required.
onChange—ChangeEventHandler<HTMLTextAreaElement>
Required.
onKeyDown—KeyboardEventHandler<HTMLTextAreaElement>
Required.
onDragOver—DragEventHandler<HTMLElement> | undefined
onDrop—DragEventHandler<HTMLElement> | undefined
onPaste—ClipboardEventHandler<HTMLTextAreaElement> | undefined
placeholder"Scrivi un messaggio..."string | undefined
Placeholder shown while the draft is empty.

ComposerTextInputProps

interface ComposerTextInputProps {
    value: string;
    disabled: boolean;
    onChange: ChangeEventHandler<HTMLTextAreaElement>;
    onKeyDown: KeyboardEventHandler<HTMLTextAreaElement>;
    onDragOver?: DragEventHandler<HTMLElement> | undefined;
    onDrop?: DragEventHandler<HTMLElement> | undefined;
    onPaste?: ClipboardEventHandler<HTMLTextAreaElement> | undefined;
    /** Placeholder shown while the draft is empty. */
    placeholder?: string | undefined;
}

ComposerSendButton

PropDefaultType
submitLabel"Invia"string | undefined
canSubmit—boolean
Required.
isBusy—boolean
Required.
isGeneratingfalseboolean
isStoppingfalseboolean | undefined
onStop—MouseEventHandler<HTMLButtonElement>

ComposerSendButtonProps

interface ComposerSendButtonProps {
    submitLabel?: string | undefined;
    canSubmit: boolean;
    isBusy: boolean;
    isGenerating?: boolean;
    isStopping?: boolean | undefined;
    onStop?: MouseEventHandler<HTMLButtonElement>;
}

ComposerAttachmentMenu

PropDefaultType
inputProps—Pick< InputHTMLAttributes<HTMLInputElement>, "disabled" | "onChange" | "accept" >
Required. Native file input props supplied by useComposer().draft.

ComposerAttachmentMenuProps

type ComposerAttachmentMenuProps = {
    /** Native file input props supplied by `useComposer().draft`. */
    inputProps: Pick<InputHTMLAttributes<HTMLInputElement>, "disabled" | "onChange" | "accept">;
};

ComposerAttachmentPreview

PropDefaultType
attachments—readonly ComposerAttachmentItem[]
Required.

ComposerAttachmentPreviewProps

type ComposerAttachmentPreviewProps = {
    attachments: readonly ComposerAttachmentItem[];
};

Related types: ComposerAttachmentItem.

AgentSelector

Agent selection slot backed by the active composer state.

PropDefaultType
slot—ComposerSlotControls["agent"]
Required.
disabledfalseboolean
labels—AgentSelectorLabels | undefined
Optional labels for the trigger, menu title, and empty state.
triggerProps—SelectionMenuProps["triggerProps"]
layout—SelectionMenuProps["layout"] | undefined
Visual layout used by the trigger and menu.

AgentSelectorProps

type AgentSelectorProps = ComponentProps<SlotRenderer<ComposerSlotControls["agent"]>> & {
    /** Optional labels for the trigger, menu title, and empty state. */
    labels?: AgentSelectorLabels | undefined;
    triggerProps?: SelectionMenuProps["triggerProps"];
    /** Visual layout used by the trigger and menu. */
    layout?: SelectionMenuProps["layout"] | undefined;
};

Related types: SlotRenderer, ComposerSlotControls, AgentSelectorLabels, SelectionMenuProps.

ModelReasoningSelector

Nested provider, model, and reasoning selector slot. The available menu structure comes from the active composer state.

PropDefaultType
slot—ComposerSlotControls["model"]
Required.
disabledfalseboolean
labels—ModelReasoningSelectorLabels | undefined
Optional labels for the trigger and provider/model/reasoning sections.
triggerProps—| Partial<Pick<TriggerButtonProps, "bg" | "_hover" | "labelProps">> | undefined
layout"compact"TriggerButtonProps["layout"] | undefined
Visual layout used by the trigger and menu.

ModelReasoningSelectorProps

type ModelReasoningSelectorProps = ComponentProps<SlotRenderer<ComposerSlotControls["model"]>> & {
    /** Optional labels for the trigger and provider/model/reasoning sections. */
    labels?: ModelReasoningSelectorLabels | undefined;
    triggerProps?: Partial<Pick<TriggerButtonProps, "bg" | "_hover" | "labelProps">> | undefined;
    /** Visual layout used by the trigger and menu. */
    layout?: TriggerButtonProps["layout"] | undefined;
};

Related types: SlotRenderer, ComposerSlotControls, ModelReasoningSelectorLabels, TriggerButtonProps.

ToolhostSelector

Toolhost selection slot backed by the active composer state.

PropDefaultType
slot—ComposerSlotControls["toolhost"]
Required.
disabledfalseboolean
labels—ToolhostSelectorLabels | undefined
Optional labels for the trigger, title, and empty state.
triggerProps—| Partial<Pick<TriggerButtonProps, "bg" | "_hover" | "labelProps">> | undefined
currentToolhostId—string | undefined
Runtime id of the current desktop toolhost, used to label it as the local computer.
categoryOrder—readonly ToolhostCategory[] | undefined
Preferred display order for the built-in toolhost categories.
layout"compact"TriggerButtonProps["layout"] | undefined
Visual layout used by the trigger and menu.

ToolhostSelectorProps

type ToolhostSelectorProps = ComponentProps<SlotRenderer<ComposerSlotControls["toolhost"]>> & {
    /** Optional labels for the trigger, title, and empty state. */
    labels?: ToolhostSelectorLabels | undefined;
    triggerProps?: Partial<Pick<TriggerButtonProps, "bg" | "_hover" | "labelProps">> | undefined;
    /** Runtime id of the current desktop toolhost, used to label it as the local computer. */
    currentToolhostId?: string | undefined;
    /** Preferred display order for the built-in toolhost categories. */
    categoryOrder?: readonly ToolhostCategory[] | undefined;
    /** Visual layout used by the trigger and menu. */
    layout?: TriggerButtonProps["layout"] | undefined;
};

Related types: SlotRenderer, ComposerSlotControls, ToolhostSelectorLabels, ToolhostCategory, TriggerButtonProps.

ContextWindowMeter

Shows context-window usage and provider limits.

PropDefaultType
slot—ComposerSlotControls["contextWindow"]
Required.
disabledfalseboolean
usageSettingsPath"/settings/usage"string | null | undefined
Settings route opened from the plan-usage header. Pass null to hide the action.
onOpenUsage—(() => void) | undefined
Custom action opened from the plan-usage header. Overrides usageSettingsPath.

ContextWindowMeterProps

type ContextWindowMeterProps = ComponentProps<SlotRenderer<ComposerSlotControls["contextWindow"]>> & {
    /** Settings route opened from the plan-usage header. Pass `null` to hide the action. */
    usageSettingsPath?: string | null | undefined;
    /** Custom action opened from the plan-usage header. Overrides `usageSettingsPath`. */
    onOpenUsage?: (() => void) | undefined;
};

Related types: SlotRenderer, ComposerSlotControls.

SessionOptionsPanel

PropDefaultType
composer—UseComposer
Required.

SessionOptionsPanelProps

type SessionOptionsPanelProps = {
    composer: UseComposer;
};

Related types: UseComposer.

ComposerSlotRenderers

type ComposerSlotRenderers = Partial<ComposerSlotRendererMap>;

Related types: ComposerSlotRendererMap.

ComposerSlotSurfaceVariant

type ComposerSlotSurfaceVariant = "plain" | "appendix";

ComposerPlacement

type ComposerPlacement = "standalone" | "floating";

ComposerSlotRendererMap

type ComposerSlotRendererMap = {
    [K in ComposerPositionableSlotKey]: SlotRenderer<ComposerSlotControls[K]>;
};

Related types: ComposerPositionableSlotKey, SlotRenderer, ComposerSlotControls.

ComposerAttachmentItem

type ComposerAttachmentItem = {
    id: string;
    file: File;
    name: string;
    remove: () => void;
    preparation?: DocumentAttachmentState | undefined;
    retry?: (() => void) | undefined;
};

Related types: DocumentAttachmentState.

AgentSelectorLabels

type AgentSelectorLabels = {
    trigger?: string;
    title?: string;
    empty?: string;
};

ModelReasoningSelectorLabels

type ModelReasoningSelectorLabels = {
    trigger?: string;
    reasoning?: string;
    effort?: string;
    provider?: string;
    models?: string;
};

ToolhostSelectorLabels

type ToolhostSelectorLabels = {
    trigger?: string;
    title?: string;
    empty?: string;
};

ToolhostCategory

type ToolhostCategory = ComposerToolhostCategory;

Related types: ComposerToolhostCategory.

ComposerPositionableSlotKey

type ComposerPositionableSlotKey = Exclude<keyof ComposerSlotControls, "status">;

Related types: ComposerSlotControls.

Timeline

Render the conversation with ActTimeline. Its viewport selects entry renderers, which compose messages, live output, tool groups, and feedback states.

Components: ActTimeline · TimelineViewport · TimelineEntryView · UserMessage · AssistantMessage · MessageAttachments · MessageActions · TimelineThinking · TimelineStreamingMessage · TimelineWorkDuration · TimelineLoading · TimelineHistoryLoading · TimelineEmptyState · TimelineError · TimelineSessionError · TimelineActError · TimelineActNote · ToolGroupItem · ReasoningItem · ReasoningCollapsible · CompactionItem · SessionChangeItem · BackgroundTaskGroup · BackgroundTaskCompletion · BackgroundTaskConversation · BackgroundTaskTerminal.

ActTimeline

PropDefaultType
viewportComponent—ComponentType<TimelineViewportProps> | undefined
Scroll and history container. Defaults to TimelineViewport.
loadingComponent—ComponentType | undefined
Initial history loading feedback.
errorComponent—ComponentType<TimelineErrorProps> | undefined
Blocking initial history error feedback.
emptyStateComponent—ComponentType<TimelineEmptyStateProps> | undefined
Feedback shown when no semantic entries are available.
entryComponent—ComponentType<TimelineEntryViewProps> | undefined
Stable semantic entry renderer. Stable entry renderer receiving caller-owned props.
entryProps—never
Additional typed props. The timeline supplies entry.

ActTimelineProps

type ActTimelineProps<EntryProps extends object = Record<never, never>> = {
    /** Scroll and history container. Defaults to {@link TimelineViewport}. */
    viewportComponent?: ComponentType<TimelineViewportProps> | undefined;
    /** Initial history loading feedback. */
    loadingComponent?: ComponentType | undefined;
    /** Blocking initial history error feedback. */
    errorComponent?: ComponentType<TimelineErrorProps> | undefined;
    /** Feedback shown when no semantic entries are available. */
    emptyStateComponent?: ComponentType<TimelineEmptyStateProps> | undefined;
} & TimelineEntryRendererProps<EntryProps>;

Related types: TimelineViewportProps, TimelineEmptyStateProps, TimelineErrorProps, TimelineEntryRendererProps.

TimelineViewport

PropDefaultType
entries—readonly TimelineEntry[]
Required. Entries used as the scroll anchoring signal.
history—TimelineHistory
Required. Older-history state and pagination action.
children—ReactNode
Custom content, or feedback displayed after entries when entryComponent is provided.
historyLoadingComponentTimelineHistoryLoadingComponentType | undefined
Loading feedback shown while older history is loading.
entryComponent—ComponentType<TimelineEntryViewProps> | undefined
Stable semantic entry renderer. Stable entry renderer receiving caller-owned props.
entryProps—never
Additional typed props. The timeline supplies entry.

TimelineViewportProps

type TimelineViewportProps<EntryProps extends object = Record<never, never>> = {
    /** Entries used as the scroll anchoring signal. */
    entries: readonly TimelineEntry[];
    /** Older-history state and pagination action. */
    history: TimelineHistory;
    /** Custom content, or feedback displayed after entries when entryComponent is provided. */
    children?: ReactNode;
    /** Loading feedback shown while older history is loading. */
    historyLoadingComponent?: ComponentType | undefined;
} & TimelineEntryRendererProps<EntryProps>;

Related types: TimelineEntry, TimelineHistory, TimelineEntryRendererProps.

TimelineEntryView

PropDefaultType
entry—TimelineEntry
Required. Semantic entry to render.
userMessageComponentUserMessageComponentType<UserMessageProps> | undefined
Renderer for user_message entries.
assistantMessageComponentAssistantMessageComponentType<AssistantMessageProps> | undefined
Renderer for assistant_message entries.
compactionComponentCompactionItemComponentType<CompactionItemProps> | undefined
Renderer for compaction entries.
sessionChangeComponentSessionChangeItemComponentType<SessionChangeItemProps> | undefined
Renderer for session_change entries.
toolGroupComponentToolGroupItemComponentType<ToolGroupItemProps> | undefined
Renderer for tool_group entries.
thinkingComponentTimelineThinkingComponentType<TimelineThinkingProps> | undefined
Renderer for thinking entries.
streamingMessageComponentTimelineStreamingMessage| ComponentType<TimelineStreamingMessageProps> | undefined
Renderer for streaming_message entries.
workDurationComponentTimelineWorkDurationComponentType<TimelineWorkDurationProps> | undefined
Renderer for work_duration entries.
sessionErrorComponentTimelineSessionErrorComponentType<TimelineSessionErrorProps> | undefined
actErrorComponentTimelineActErrorComponentType<TimelineActErrorProps> | null | undefined
Renderer for act_error entries. Pass null to hide them.
actNoteComponentTimelineActNoteComponentType<TimelineActNoteProps> | undefined
Renderer for act_note entries.
backgroundTaskComponentBackgroundTaskGroupComponentType<BackgroundTaskGroupProps> | undefined
Renderer for background_task_group entries.
backgroundTaskCompletionComponentBackgroundTaskCompletion| ComponentType<BackgroundTaskCompletionProps> | undefined
Renderer for background_task_completed entries.

TimelineEntryViewProps

type TimelineEntryViewProps = {
    /** Semantic entry to render. */
    entry: TimelineEntry;
    /** Renderer for `user_message` entries. */
    userMessageComponent?: ComponentType<UserMessageProps> | undefined;
    /** Renderer for `assistant_message` entries. */
    assistantMessageComponent?: ComponentType<AssistantMessageProps> | undefined;
    /** Renderer for `compaction` entries. */
    compactionComponent?: ComponentType<CompactionItemProps> | undefined;
    /** Renderer for `session_change` entries. */
    sessionChangeComponent?: ComponentType<SessionChangeItemProps> | undefined;
    /** Renderer for `tool_group` entries. */
    toolGroupComponent?: ComponentType<ToolGroupItemProps> | undefined;
    /** Renderer for `draft` entries. */
    /** Renderer for `thinking` entries. */
    thinkingComponent?: ComponentType<TimelineThinkingProps> | undefined;
    /** Renderer for `streaming_message` entries. */
    streamingMessageComponent?: ComponentType<TimelineStreamingMessageProps> | undefined;
    /** Renderer for `work_duration` entries. */
    workDurationComponent?: ComponentType<TimelineWorkDurationProps> | undefined;
    sessionErrorComponent?: ComponentType<TimelineSessionErrorProps> | undefined;
    /** Renderer for `act_error` entries. Pass `null` to hide them. */
    actErrorComponent?: ComponentType<TimelineActErrorProps> | null | undefined;
    /** Renderer for `act_note` entries. */
    actNoteComponent?: ComponentType<TimelineActNoteProps> | undefined;
    /** Renderer for `background_task_group` entries. */
    backgroundTaskComponent?: ComponentType<BackgroundTaskGroupProps> | undefined;
    /** Renderer for `background_task_completed` entries. */
    backgroundTaskCompletionComponent?: ComponentType<BackgroundTaskCompletionProps> | undefined;
};

Related types: TimelineEntry, UserMessageProps, AssistantMessageProps, TimelineThinkingProps, TimelineStreamingMessageProps, TimelineWorkDurationProps, TimelineSessionErrorProps, TimelineActErrorProps, TimelineActNoteProps, ToolGroupItemProps, CompactionItemProps, SessionChangeItemProps, BackgroundTaskGroupProps, BackgroundTaskCompletionProps.

UserMessage

PropDefaultType
item—SessionItem
Required.
textextractTextContent(item.content)string
attachmentsComponentMessageAttachmentsComponentType<MessageAttachmentsProps>
Custom attachments below the message. Defaults to MessageAttachments.
bubbleProps—BoxProps | undefined
Extra props for the message bubble container.
actionsComponent—ComponentType<MessageActionsProps> | undefined
Custom actions below the message. Defaults to MessageActions. Stable actions component receiving additional caller-owned props.
actionsProps—never
Additional typed props. The message supplies item, text, and align.

UserMessageProps

type UserMessageProps<ActionsProps extends object = Record<never, never>> = {
    item: SessionItem;
    text?: string;
    /** Custom attachments below the message. Defaults to {@link MessageAttachments}. */
    attachmentsComponent?: ComponentType<MessageAttachmentsProps>;
    /** Extra props for the message bubble container. */
    bubbleProps?: BoxProps | undefined;
} & MessageActionsSlotProps<ActionsProps>;

Related types: SessionItem, MessageAttachmentsProps, MessageActionsSlotProps.

AssistantMessage

PropDefaultType
item—SessionItem
Required.
text—string
Required.
isLastInTurn—boolean | undefined
Retained semantic turn metadata; actions render for every message.
attachmentsComponentMessageAttachmentsComponentType<MessageAttachmentsProps>
Custom attachments below the message. Defaults to MessageAttachments.
actionsComponent—ComponentType<MessageActionsProps> | undefined
Custom actions below the message. Defaults to MessageActions. Stable actions component receiving additional caller-owned props.
actionsProps—never
Additional typed props. The message supplies item, text, and align.

AssistantMessageProps

type AssistantMessageProps<ActionsProps extends object = Record<never, never>> = {
    item: SessionItem;
    text: string;
    /** Retained semantic turn metadata; actions render for every message. */
    isLastInTurn?: boolean | undefined;
    /** Custom attachments below the message. Defaults to {@link MessageAttachments}. */
    attachmentsComponent?: ComponentType<MessageAttachmentsProps>;
} & MessageActionsSlotProps<ActionsProps>;

Related types: SessionItem, MessageAttachmentsProps, MessageActionsSlotProps.

MessageAttachments

PropDefaultType
item—SessionItem
Required.

MessageAttachmentsProps

type MessageAttachmentsProps = {
    item: SessionItem;
};

Related types: SessionItem.

MessageActions

PropDefaultType
item—SessionItem
Required.
textextractTextContent(item.content)string
align"start""start" | "end"
Align timestamp/copy under the bubble.
forceVisiblefalseboolean | undefined
Keeps actions visible outside hover, for composed active states.
children—ReactNode
Extra controls rendered before copy/timestamp.

MessageActionsProps

type MessageActionsProps = {
    item: SessionItem;
    text?: string;
    /** Align timestamp/copy under the bubble. */
    align?: "start" | "end";
    /** Keeps actions visible outside hover, for composed active states. */
    forceVisible?: boolean | undefined;
    /** Extra controls rendered before copy/timestamp. */
    children?: ReactNode;
};

Related types: SessionItem.

TimelineThinking

PropDefaultType
text—string
Required.
streaming—boolean
Required.

TimelineThinkingProps

type TimelineThinkingProps = {
    text: string;
    streaming: boolean;
};

TimelineStreamingMessage

PropDefaultType
content—string
Required.

TimelineStreamingMessageProps

type TimelineStreamingMessageProps = {
    content: string;
};

TimelineWorkDuration

Displays the elapsed duration of the active turn.

PropDefaultType
startedAt—string | undefined
hiddenfalseboolean | undefined

TimelineWorkDurationProps

type TimelineWorkDurationProps = {
    startedAt?: string | undefined;
    hidden?: boolean | undefined;
};

TimelineLoading

PropDefaultType
———
No props.

TimelineHistoryLoading

PropDefaultType
———
No props.

TimelineEmptyState

PropDefaultType
message"Nessun messaggio."string
Message shown when the timeline has no visible content.

TimelineEmptyStateProps

type TimelineEmptyStateProps = {
    /** Message shown when the timeline has no visible content. */
    message?: string;
};

TimelineError

PropDefaultType
error—Error
Required.
message"Storico messaggi non disponibile via WebSocket."string
Message shown when the initial act history load fails.

TimelineErrorProps

type TimelineErrorProps = {
    error: Error;
    /** Message shown when the initial act history load fails. */
    message?: string;
};

TimelineSessionError

PropDefaultType
message—string
Required.

TimelineSessionErrorProps

type TimelineSessionErrorProps = {
    message: string;
};

TimelineActError

PropDefaultType
actId—string
Required.
message—string
Required.

TimelineActErrorProps

type TimelineActErrorProps = {
    actId: string;
    message: string;
};

TimelineActNote

PropDefaultType
actId—string
Required.
message—string
Required.

TimelineActNoteProps

type TimelineActNoteProps = {
    actId: string;
    message: string;
};

ToolGroupItem

PropDefaultType
pairs—ToolCallPair[]
Required.
toolResources—Record<string, ResourceLink>
Required.
localetypeof navigator !== "undefined" ? navigator.language : "en"string
inputRequiredMessage"input_required (in attesa di risposta)"string
Text shown when a tool requests input without question metadata.
streamingfalseboolean
When true, animates the group or active tool label during streaming.
labelContext—ToolLabelContext

ToolGroupItemProps

type ToolGroupItemProps = {
    pairs: ToolCallPair[];
    toolResources: Record<string, ResourceLink>;
    locale?: string;
    /** Text shown when a tool requests input without question metadata. */
    inputRequiredMessage?: string;
    /** When true, animates the group or active tool label during streaming. */
    streaming?: boolean;
    labelContext?: ToolLabelContext;
};

Related types: ToolCallPair, ResourceLink, ToolLabelContext.

ReasoningItem

PropDefaultType
item—SessionItem
Required.

ReasoningItemProps

type ReasoningItemProps = {
    item: SessionItem;
};

Related types: SessionItem.

ReasoningCollapsible

PropDefaultType
text—string
Required.
label"Ragionamento"string
streamingfalseboolean
Streaming mode adds the in-progress label and scrollable body.

ReasoningCollapsibleProps

type ReasoningCollapsibleProps = {
    text: string;
    label?: string;
    /** Streaming mode adds the in-progress label and scrollable body. */
    streaming?: boolean;
};

CompactionItem

PropDefaultType
item—SessionItem
Required.
labels—CompactionItemLabels | undefined
Overrides visible copy in the context-compaction marker.

CompactionItemProps

type CompactionItemProps = {
    item: SessionItem;
    /** Overrides visible copy in the context-compaction marker. */
    labels?: CompactionItemLabels | undefined;
};

Related types: SessionItem, CompactionItemLabels.

SessionChangeItem

PropDefaultType
item—SessionItem
Required.
labels—SessionChangeItemLabels | undefined
Overrides visible copy in the session-change marker.

SessionChangeItemProps

type SessionChangeItemProps = {
    item: SessionItem;
    /** Overrides visible copy in the session-change marker. */
    labels?: SessionChangeItemLabels | undefined;
};

Related types: SessionItem, SessionChangeItemLabels.

BackgroundTaskGroup

Renders one compact task row or a collapsible group of consecutive tasks.

PropDefaultType
tasks—Array<{ item: SessionItem; taskId: string; task?: BackgroundTask | undefined; }>
Required.
live—boolean | undefined
Whether the task was received through a live update in this page lifetime.
labels—BackgroundTaskGroupLabels | undefined
Overrides visible copy in the task-group trigger.

BackgroundTaskGroupProps

type BackgroundTaskGroupProps = {
    tasks: Array<{
        item: SessionItem;
        taskId: string;
        task?: BackgroundTask | undefined;
    }>;
    /** Whether the task was received through a live update in this page lifetime. */
    live?: boolean | undefined;
    /** Overrides visible copy in the task-group trigger. */
    labels?: BackgroundTaskGroupLabels | undefined;
};

Related types: SessionItem, BackgroundTask, BackgroundTaskGroupLabels.

BackgroundTaskCompletion

Renders the event emitted when a background task reaches a terminal state.

PropDefaultType
item—SessionItem
Required.
task—BackgroundTask | undefined
taskId—string | undefined
labels—BackgroundTaskCompletionLabels | undefined
Overrides visible copy in the completion marker.

BackgroundTaskCompletionProps

type BackgroundTaskCompletionProps = {
    item: SessionItem;
    task?: BackgroundTask | undefined;
    taskId?: string | undefined;
    /** Overrides visible copy in the completion marker. */
    labels?: BackgroundTaskCompletionLabels | undefined;
};

Related types: SessionItem, BackgroundTask, BackgroundTaskCompletionLabels.

BackgroundTaskConversation

Conversation transcript selected by versioned background-task metadata.

PropDefaultType
output—string
Required.
labels—BackgroundTaskConversationLabels | undefined

Related types: BackgroundTaskConversationLabels.

BackgroundTaskTerminal

Terminal transcript selected by versioned background-task metadata.

PropDefaultType
output—string
Required.
result—unknown
Required.
labels—BackgroundTaskTerminalLabels | undefined

Related types: BackgroundTaskTerminalLabels.

TimelineEntryRendererProps

type TimelineEntryRendererProps<EntryProps extends object> = DefaultEntryProps | CustomEntryProps<EntryProps>;

Related types: DefaultEntryProps, CustomEntryProps.

DefaultEntryProps

type DefaultEntryProps = {
    /** Stable semantic entry renderer. */
    entryComponent?: ComponentType<TimelineEntryViewProps> | undefined;
    entryProps?: never;
};

Related types: TimelineEntryViewProps.

CustomEntryProps

type CustomEntryProps<EntryProps extends object> = {
    /** Stable entry renderer receiving caller-owned props. */
    entryComponent: ComponentType<TimelineEntryViewProps & EntryProps>;
    /** Additional typed props. The timeline supplies `entry`. */
    entryProps: EntryProps;
};

Related types: TimelineEntryViewProps.

DraftViewProps

type DraftViewProps = {
    draft: StreamingDraft;
};

Related types: StreamingDraft.

MessageActionsSlotProps

type MessageActionsSlotProps<ActionsProps extends object> = DefaultActionsSlotProps | CustomActionsSlotProps<ActionsProps>;

Related types: DefaultActionsSlotProps, CustomActionsSlotProps.

DefaultActionsSlotProps

type DefaultActionsSlotProps = {
    /** Custom actions below the message. Defaults to {@link MessageActions}. */
    actionsComponent?: ComponentType<MessageActionsProps> | undefined;
    actionsProps?: never;
};

Related types: MessageActionsProps.

CustomActionsSlotProps

type CustomActionsSlotProps<ActionsProps extends object> = {
    /** Stable actions component receiving additional caller-owned props. */
    actionsComponent: ComponentType<MessageActionsProps & ActionsProps>;
    /** Additional typed props. The message supplies `item`, `text`, and `align`. */
    actionsProps: ActionsProps;
};

Related types: MessageActionsProps.

CompactionItemLabels

type CompactionItemLabels = {
    running?: ReactNode;
    completed?: (duration: string) => ReactNode;
    duration?: (seconds: number) => string;
};

SessionChangeItemLabels

type SessionChangeItemLabels = {
    defaultValue?: string;
    enabled?: string;
    disabled?: string;
    activeAgent?: (previous: string, current: string) => string;
    model?: (previous: string, current: string) => string;
};

BackgroundTaskGroupLabels

type BackgroundTaskGroupLabels = {
    running?: (count: number) => string;
    total?: (count: number) => string;
    defaultTaskLabel?: string;
};

BackgroundTaskCompletionLabels

type BackgroundTaskCompletionLabels = {
    task?: string;
    failed?: string;
    cancelled?: string;
    timedOut?: string;
    finished?: string;
    durationPrefix?: string;
};

Human-in-the-loop

HitlOverlay selects the appropriate request panel. Panels compose input content and actions while keeping the request lifecycle in the headless contract.

Components: HitlOverlay · InputPanel · ApprovalPanel · AgentAuthPanel · InputPanelContent · FreeformInputContent · SingleQuestionInputContent · StructuredQuestionInputContent · WizardInputContent · InputActions · ApprovalActions · ApprovalSelector · AgentAuthLinkButton · AgentAuthResumeButton.

HitlOverlay

Session HITL overlay — maps HitlGate state to Chakra panels. Override panels via inputPanelComponent, approvalPanelComponent, or agentAuthPanelComponent.

PropDefaultType
inputPanelComponentInputPanelComponentType
Custom panel for tool input requests. Defaults to InputPanel.
approvalPanelComponentApprovalPanelComponentType<ApprovalPanelProps>
Custom panel for tool approval requests. Defaults to ApprovalPanel.
agentAuthPanelComponentAgentAuthPanelComponentType<AgentAuthPanelProps>
Custom panel for agent auth requests. Defaults to AgentAuthPanel.

HitlOverlayProps

type HitlOverlayProps = {
    /**
     * Custom panel for tool input requests.
     * Defaults to {@link InputPanel}.
     */
    inputPanelComponent?: ComponentType;
    /**
     * Custom panel for tool approval requests.
     * Defaults to {@link ApprovalPanel}.
     */
    approvalPanelComponent?: ComponentType<ApprovalPanelProps>;
    /**
     * Custom panel for agent auth requests.
     * Defaults to {@link AgentAuthPanel}.
     */
    agentAuthPanelComponent?: ComponentType<AgentAuthPanelProps>;
};

Related types: ApprovalPanelProps, AgentAuthPanelProps.

InputPanel

Default HITL panel for collecting one or more tool-input answers. Its content and footer actions can be replaced independently while sharing the same request and wizard state.

PropDefaultType
title—ReactNode
placeholder"Scrivi la risposta..."string
submitLabel"Invia e continua"ReactNode
skipLabel"Salta"ReactNode
continueLabel"Continua"ReactNode
contentComponentInputPanelContentComponentType<InputPanelContentProps>
actionsComponentInputActionsComponentType<InputActionsProps>
previousQuestionLabel"Domanda precedente"string
nextQuestionLabel"Domanda successiva"string
singleChoiceHint" (scegli una)"ReactNode
multiChoiceHint" (scegli una o piu)"ReactNode
otherPlaceholder"Altro..."string
questionProgressLabel(current, total) => $&#123;current&#125; di $&#123;total&#125;(current: number, total: number) => ReactNode

InputPanelProps

type InputPanelProps = {
    title?: ReactNode;
    placeholder?: string;
    submitLabel?: ReactNode;
    skipLabel?: ReactNode;
    continueLabel?: ReactNode;
    contentComponent?: ComponentType<InputPanelContentProps>;
    actionsComponent?: ComponentType<InputActionsProps>;
    previousQuestionLabel?: string;
    nextQuestionLabel?: string;
    singleChoiceHint?: ReactNode;
    multiChoiceHint?: ReactNode;
    otherPlaceholder?: string;
    questionProgressLabel?: (current: number, total: number) => ReactNode;
};

Related types: InputPanelContentProps, InputActionsProps.

ApprovalPanel

Default HITL panel for reviewing a tool call before approving it.

PropDefaultType
title"Approvazione tool"ReactNode
approveLabel"Continua"ReactNode
actionsComponentApprovalActionsComponentType<ApprovalActionsProps>

ApprovalPanelProps

type ApprovalPanelProps = {
    title?: ReactNode;
    approveLabel?: ReactNode;
    actionsComponent?: ComponentType<ApprovalActionsProps>;
};

Related types: ApprovalActionsProps.

AgentAuthPanel

Default HITL panel for completing an agent OAuth authorization flow.

PropDefaultType
title"Autenticazione richiesta"ReactNode
authorizationLabel"Accedi al tuo account"ReactNode
deviceVerificationLabel"Apri verifica"ReactNode
resumeLabel"Continua"ReactNode
deviceCodeLabel"Codice dispositivo"ReactNode
completedLabel"Completato"ReactNode
authorizationDescription"Accedi al tuo account nel browser, poi clicca Continua."ReactNode
providerLabel—ReactNode
linkButtonComponentAgentAuthLinkButtonComponentType<AgentAuthLinkButtonProps>
resumeButtonComponentAgentAuthResumeButtonComponentType<AgentAuthResumeButtonProps>

AgentAuthPanelProps

type AgentAuthPanelProps = {
    title?: ReactNode;
    authorizationLabel?: ReactNode;
    deviceVerificationLabel?: ReactNode;
    resumeLabel?: ReactNode;
    deviceCodeLabel?: ReactNode;
    completedLabel?: ReactNode;
    authorizationDescription?: ReactNode;
    providerLabel?: ReactNode;
    linkButtonComponent?: ComponentType<AgentAuthLinkButtonProps>;
    resumeButtonComponent?: ComponentType<AgentAuthResumeButtonProps>;
};

Related types: AgentAuthLinkButtonProps, AgentAuthResumeButtonProps.

InputPanelContent

Default content slot for tool-input requests. It renders the normalized content flow exposed by useToolInput, with independently replaceable content components.

PropDefaultType
toolInput—InputPanelContentState
Required.
placeholder"Scrivi la risposta..."string
otherPlaceholder"Altro..."string
singleChoiceHint" (scegli una)"ReactNode
multiChoiceHint" (scegli una o piu)"ReactNode
freeformContentComponentFreeformInputContentComponentType<InputPanelContentComponentProps>
singleQuestionContentComponentSingleQuestionInputContentComponentType<InputPanelContentComponentProps>
structuredQuestionContentComponentStructuredQuestionInputContentComponentType<InputPanelContentComponentProps>
wizardContentComponentWizardInputContentComponentType<InputPanelContentComponentProps>

InputPanelContentProps

type InputPanelContentProps = InputPanelContentComponentProps & {
    freeformContentComponent?: ComponentType<InputPanelContentComponentProps>;
    singleQuestionContentComponent?: ComponentType<InputPanelContentComponentProps>;
    structuredQuestionContentComponent?: ComponentType<InputPanelContentComponentProps>;
    wizardContentComponent?: ComponentType<InputPanelContentComponentProps>;
};

Related types: InputPanelContentComponentProps.

FreeformInputContent

Default content for a freeform tool-input request.

PropDefaultType
toolInput—InputPanelContentState
Required.
placeholder"Scrivi la risposta..."string
otherPlaceholder"Altro..."string
singleChoiceHint" (scegli una)"ReactNode
multiChoiceHint" (scegli una o piu)"ReactNode

InputPanelContentComponentProps

type InputPanelContentComponentProps = {
    toolInput: InputPanelContentState;
    placeholder?: string;
    otherPlaceholder?: string;
    singleChoiceHint?: ReactNode;
    multiChoiceHint?: ReactNode;
};

Related types: InputPanelContentState.

SingleQuestionInputContent

Default content for one free-text question.

PropDefaultType
toolInput—InputPanelContentState
Required.
placeholder"Scrivi la risposta..."string
otherPlaceholder"Altro..."string
singleChoiceHint" (scegli una)"ReactNode
multiChoiceHint" (scegli una o piu)"ReactNode

Related types: InputPanelContentState.

StructuredQuestionInputContent

Default content for one structured question.

PropDefaultType
toolInput—InputPanelContentState
Required.
placeholder"Scrivi la risposta..."string
otherPlaceholder"Altro..."string
singleChoiceHint" (scegli una)"ReactNode
multiChoiceHint" (scegli una o piu)"ReactNode

Related types: InputPanelContentState.

WizardInputContent

Default content for the active step in a multi-question wizard.

PropDefaultType
toolInput—InputPanelContentState
Required.
placeholder"Scrivi la risposta..."string
otherPlaceholder"Altro..."string
singleChoiceHint" (scegli una)"ReactNode
multiChoiceHint" (scegli una o piu)"ReactNode

Related types: InputPanelContentState.

InputActions

Default actions for navigating and submitting the HITL input form.

PropDefaultType
toolInput—InputPanelActionState
Required.
submitLabel"Invia e continua"ReactNode
skipLabel"Salta"ReactNode
continueLabel"Continua"ReactNode

InputActionsProps

type InputActionsProps = {
    toolInput: InputPanelActionState;
    submitLabel?: ReactNode;
    skipLabel?: ReactNode;
    continueLabel?: ReactNode;
};

Related types: InputPanelActionState.

ApprovalActions

Default actions for selecting the approval scope and approving a tool call.

PropDefaultType
approveLabel"Continua"ReactNode

ApprovalActionsProps

type ApprovalActionsProps = {
    approveLabel?: ReactNode;
};

ApprovalSelector

Approval policy selection slot backed by the active composer state.

PropDefaultType
slot—ComposerSlotControls["approvalPolicy"]
Required.
disabledfalseboolean
labels—ApprovalSelectorLabels | undefined
Optional labels for the trigger, title, and individual policies.
triggerProps—SelectionMenuProps["triggerProps"]
layout—SelectionMenuProps["layout"] | undefined
Visual layout used by the trigger and menu.

ApprovalSelectorProps

type ApprovalSelectorProps = ComponentProps<SlotRenderer<ComposerSlotControls["approvalPolicy"]>> & {
    /** Optional labels for the trigger, title, and individual policies. */
    labels?: ApprovalSelectorLabels | undefined;
    triggerProps?: SelectionMenuProps["triggerProps"];
    /** Visual layout used by the trigger and menu. */
    layout?: SelectionMenuProps["layout"] | undefined;
};

Related types: SlotRenderer, ComposerSlotControls, ApprovalSelectorLabels, SelectionMenuProps.

AgentAuthLinkButton

Default link action for opening the provider authorization flow.

PropDefaultType
label—ReactNode
authorizationUri—string | undefined
disabled—boolean | undefined
onOpen—() => void

AgentAuthLinkButtonProps

type AgentAuthLinkButtonProps = {
    label?: ReactNode;
    authorizationUri?: string | undefined;
    disabled?: boolean | undefined;
    onOpen?: () => void;
};

AgentAuthResumeButton

Default action for resuming an act after agent authorization.

PropDefaultType
label—ReactNode
submittingfalseboolean | undefined
error—Error | undefined
disabled—boolean | undefined
onResume—(() => void) | undefined

AgentAuthResumeButtonProps

type AgentAuthResumeButtonProps = {
    label?: ReactNode;
    submitting?: boolean | undefined;
    error?: Error | undefined;
    disabled?: boolean | undefined;
    onResume?: (() => void) | undefined;
};

InputPanelContentState

type InputPanelContentState = Pick<ReturnType<typeof useToolInput>, "input" | "formState" | "formActions">;

Related types: useToolInput.

InputPanelActionState

type InputPanelActionState = Pick<ReturnType<typeof useToolInput>, "formState" | "formActions" | "skip" | "submitting" | "error">;

Related types: useToolInput.

ApprovalSelectorLabels

type ApprovalSelectorLabels = {
    trigger?: string;
    title?: string;
    options?: Partial<Record<ApprovalPolicy, {
        label?: string;
        description?: string;
    }>>;
};

Related types: ApprovalPolicy.

Knowledge base

LibraryPage is the complete routed surface. Library renders the document collection; DocumentItem and DocumentProgress render individual documents and processing feedback.

Components: LibraryPage · Library · DocumentItem · DocumentProgress.

LibraryPage

PropDefaultType
———
No props.

Library

Route shell for Files and Knowledge Base destinations.

PropDefaultType
———
No props.

DocumentItem

One document card or row in the Knowledge Base library.

PropDefaultType
document—KnowledgeBaseDocument
Required.
onDelete—(document: KnowledgeBaseDocument) => void
Required.
onRetry—(document: KnowledgeBaseDocument) => void
Required.
view—LibraryView
Required.
snippet—string | undefined
labels—DocumentItemLabels
Overrides visible copy for document state and actions.
progressLabels—DocumentProgressLabels
Overrides accessible copy for document progress.

DocumentItemProps

type DocumentItemProps = Omit<DocumentActionsProps, "labels"> & {
    view: LibraryView;
    snippet?: string | undefined;
    /** Overrides visible copy for document state and actions. */
    labels?: DocumentItemLabels;
    /** Overrides accessible copy for document progress. */
    progressLabels?: DocumentProgressLabels;
};

Related types: LibraryView (chakra-ui), DocumentItemLabels, DocumentProgressLabels, DocumentActionsProps.

DocumentProgress

Visual progress overlay for uploads and Knowledge Base indexing.

PropDefaultType
document—KnowledgeBaseDocument
Required.
view—"grid" | "list"
Required.
labels—DocumentProgressLabels
Overrides accessible labels for upload and indexing progress.

DocumentProgressProps

type DocumentProgressProps = {
    document: KnowledgeBaseDocument;
    view: "grid" | "list";
    /** Overrides accessible labels for upload and indexing progress. */
    labels?: DocumentProgressLabels;
};

Related types: KnowledgeBaseDocument (react), DocumentProgressLabels, KnowledgeBaseDocument (react).

LibraryView

type LibraryView = "grid" | "list";

DocumentItemLabels

type DocumentItemLabels = {
    uploading?: string;
    queued?: string;
    indexing?: string;
    indexingProgress?: string;
    failed?: string;
    unindexed?: string;
    indexed?: string;
    actions?: string;
    retry?: string;
    remove?: string;
    dateLocale?: string;
};

DocumentProgressLabels

type DocumentProgressLabels = {
    uploading?: string;
    indexing?: string;
};

DocumentActionsProps

type DocumentActionsProps = {
    document: KnowledgeBaseDocument;
    onDelete: (document: KnowledgeBaseDocument) => void;
    onRetry: (document: KnowledgeBaseDocument) => void;
    labels: Required<DocumentItemLabels>;
};

Related types: KnowledgeBaseDocument (react), DocumentItemLabels, KnowledgeBaseDocument (react).

Base primitives

Reusable presentation and interaction components for custom surfaces. Framework styling and DOM props are inherited where the contract declares them.

Components: BaseDialog · BaseDrawer · BaseSidebar · BaseTopBar · Tooltip · IconButton · TriggerButton · ConfirmMenuItem · SelectionMenu · SegmentedBar · MarkdownContent · CollapsibleItem · ShimmerText · StreamingCaret · Toaster · ColorModeProvider · ColorModeButton · ColorModeIcon · LightMode · DarkMode.

BaseDialog

Shared dialog shell with centered placement, themed styling, and optional standard footer.

PropDefaultType
open—boolean
Required.
onOpenChange—(details: { open: boolean }) => void
Required.
title—ReactNode
Required.
headerActions—ReactNode
Optional controls aligned to the right of the title, wrapping below on mobile.
initialFocusEl—ComponentProps<typeof ChakraDialog.Root>["initialFocusEl"]
Resolves the element to focus when the dialog opens.
finalFocusEl—ComponentProps<typeof ChakraDialog.Root>["finalFocusEl"]
Resolves the element to focus after the dialog closes.
children—ReactNode
cancelLabel"Annulla"ReactNode
confirmLabel—ReactNode
onConfirm—() => void | Promise<void>
onCancel—() => void
confirmLoading—boolean
confirmDisabled—boolean
confirmTone"default"BaseDialogConfirmTone
closeOnConfirmtrueboolean
footer—ReactNode | null
closeAriaLabel"Chiudi dialog"string
contentMaxW"md"string
Optional maximum width for the dialog content.
scrollableBodyfalseboolean
Keeps large dialog bodies scrollable inside the viewport.
scrollBehavior"body""body" | "children"
Chooses whether the dialog body or its children manage scrolling.

BaseDialogProps

/**
 * Props for the shared Hyperflow dialog shell.
 */
export interface BaseDialogProps {
    open: boolean;
    onOpenChange: (details: {
        open: boolean;
    }) => void;
    title: ReactNode;
    /** Optional controls aligned to the right of the title, wrapping below on mobile. */
    headerActions?: ReactNode;
    /** Resolves the element to focus when the dialog opens. */
    initialFocusEl?: ComponentProps<typeof ChakraDialog.Root>["initialFocusEl"];
    /** Resolves the element to focus after the dialog closes. */
    finalFocusEl?: ComponentProps<typeof ChakraDialog.Root>["finalFocusEl"];
    children?: ReactNode;
    cancelLabel?: ReactNode;
    confirmLabel?: ReactNode;
    onConfirm?: () => void | Promise<void>;
    onCancel?: () => void;
    confirmLoading?: boolean;
    confirmDisabled?: boolean;
    confirmTone?: BaseDialogConfirmTone;
    closeOnConfirm?: boolean;
    footer?: ReactNode | null;
    closeAriaLabel?: string;
    /** Optional maximum width for the dialog content. */
    contentMaxW?: string;
    /** Keeps large dialog bodies scrollable inside the viewport. */
    scrollableBody?: boolean;
    /** Chooses whether the dialog body or its children manage scrolling. */
    scrollBehavior?: "body" | "children";
}

Related types: BaseDialogConfirmTone.

BaseDrawer

PropDefaultType
children—ReactNode
Required.
isOpen—boolean
Required.
width—number
Required.
isResizing—boolean
Required.
onResizeStart—(event: PointerEvent<HTMLDivElement>) => void
Required.
onResizeBy—(difference: number) => void
Required.

BaseDrawerProps

type BaseDrawerProps = {
    children: ReactNode;
    isOpen: boolean;
    width: number;
    isResizing: boolean;
    onResizeStart: (event: PointerEvent<HTMLDivElement>) => void;
    onResizeBy: (difference: number) => void;
};

BaseSidebar

Default sidebar shell used by Hyperflow layouts. Renders the standard sidebar frame, header, navigation section, optional custom middle content, and footer.

PropDefaultType
children—React.ReactNode
Optional custom content rendered between the navigation section and the footer.
headerComponentSidebarHeaderReact.ComponentType<SidebarHeaderProps>
Custom header component used to render the top section of the sidebar.
footerComponentSidebarFooterReact.ComponentType<SidebarFooterProps>
Custom footer component used to render the bottom section of the sidebar.

Related types: SidebarHeaderProps, SidebarFooterProps.

BaseTopBar

Default top bar shell used by Hyperflow layouts. Renders the standard top bar frame. Product content is supplied by a self-wired preset such as SessionTopBar or AccountTopBar .

PropDefaultType
children—ReactNode
Trailing content rendered on the right side of the top bar.

BaseTopBarProps

type BaseTopBarProps = {
    /**
     * Trailing content rendered on the right side of the top bar.
     */
    children?: ReactNode;
};

Tooltip

Tooltip wrapper that adds portal and arrow conveniences.

PropDefaultType
showArrow—boolean
portalled—boolean
portalRef—React.RefObject<HTMLElement | null>
content—React.ReactNode
Required.
contentProps—ChakraTooltip.ContentProps
disabled—boolean
Whether the tooltip is disabled

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

IconButton

Icon button wired to the Hyperflow iconButton recipe.

PropDefaultType
context—"toolbar" | "rowAction" | "compactAction"

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

TriggerButton

Shared pill-shaped trigger used by selection menus.

PropDefaultType
label—string | ReactNode
Required.
labelSecondary—string | ReactNode | undefined
icon—ReactNode
iconProps—Omit<IconProps, "children"> | undefined
active—boolean | undefined
hideChevron—boolean | undefined
labelProps—Omit<TextProps, "children"> | undefined
layout"compact"TriggerButtonLayout | undefined

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

ConfirmMenuItem

Menu item that opens a confirmation dialog before running an action.

PropDefaultType
onCloseMenu—() => void
Called when the confirmation dialog closes.
label"Confirm"ReactNode
Menu item label.
icon—ReactNode
Leading icon next to the label.
value"confirm"string
Chakra menu item value.
disabled—boolean
Disables the action when true.
dialogTitle"Confirm"ReactNode
Title shown in the confirmation dialog.
dialogDescription—ReactNode
Description shown in the confirmation dialog.
cancelLabel"Annulla"ReactNode
Label for the cancel button.
confirmLabel"Confirm"ReactNode
Label for the confirm button.
confirmTone"default"BaseDialogConfirmTone
Confirm button tone.
onConfirm—() => void | Promise<void>
Required. Runs when the user confirms the dialog.

ConfirmMenuItemProps

type ConfirmMenuItemProps = {
    /** Called when the confirmation dialog closes. */
    onCloseMenu?: () => void;
    /** Menu item label. */
    label?: ReactNode;
    /** Leading icon next to the label. */
    icon?: ReactNode;
    /** Chakra menu item value. */
    value?: string;
    /** Disables the action when true. */
    disabled?: boolean;
    /** Title shown in the confirmation dialog. */
    dialogTitle?: ReactNode;
    /** Description shown in the confirmation dialog. */
    dialogDescription?: ReactNode;
    /** Label for the cancel button. */
    cancelLabel?: ReactNode;
    /** Label for the confirm button. */
    confirmLabel?: ReactNode;
    /** Confirm button tone. */
    confirmTone?: BaseDialogConfirmTone;
    /** Runs when the user confirms the dialog. */
    onConfirm: () => void | Promise<void>;
};

Related types: BaseDialogConfirmTone.

SelectionMenu

Shared menu primitive used by compact composer selectors and panel actions. It owns menu open state and closes the menu after an option is selected.

PropDefaultType
title—string
Required.
selectedLabel—string
Required.
selectedContent—ReactNode
Custom trigger content; selectedLabel remains its accessible name.
selectedValue—string
Required.
options[]SelectionOption[]
onSelect—(value: string) => void | Promise<void>
Required.
triggerIcon—ReactNode
triggerProps—| Partial<Pick<TriggerButtonProps, "bg" | "_hover" | "labelProps">> | undefined
layout"compact"TriggerButtonProps["layout"] | undefined
menuPlacement—SelectionMenuPlacement | undefined
Menu placement. Defaults to the placement normally used by the selected layout.
disabled—boolean | undefined
loading—boolean | undefined
emptyText"Nessuna opzione disponibile"string

SelectionMenuProps

type SelectionMenuProps = {
    title: string;
    selectedLabel: string;
    /** Custom trigger content; `selectedLabel` remains its accessible name. */
    selectedContent?: ReactNode;
    selectedValue: string;
    options?: SelectionOption[];
    onSelect: (value: string) => void | Promise<void>;
    triggerIcon?: ReactNode;
    triggerProps?: Partial<Pick<TriggerButtonProps, "bg" | "_hover" | "labelProps">> | undefined;
    layout?: TriggerButtonProps["layout"] | undefined;
    /** Menu placement. Defaults to the placement normally used by the selected layout. */
    menuPlacement?: SelectionMenuPlacement | undefined;
    disabled?: boolean | undefined;
    loading?: boolean | undefined;
    emptyText?: string;
};

Related types: SelectionMenuPlacement, TriggerButtonProps, SelectionOption.

SegmentedBar

PropDefaultType
segments—readonly SegmentedBarSegment[]
Required.
trackBg—string
Required.
fillPercent100number
Filled track width from 0 to 100. Segments compose inside this area.

SegmentedBarProps

type SegmentedBarProps = {
    segments: readonly SegmentedBarSegment[];
    trackBg: string;
    /** Filled track width from 0 to 100. Segments compose inside this area. */
    fillPercent?: number;
};

Related types: SegmentedBarSegment.

MarkdownContent

Renders GitHub-flavored Markdown with Chakra styling and HTML sanitization.

PropDefaultType
children—string
fontSize"md"string
className—string
trailing—ReactNode
animatefalseboolean
Streaming mode: newly appended words fade in.
preserveLineBreaksfalseboolean
Renders soft line breaks as visible breaks while preserving code and math.

MarkdownContentProps

type MarkdownContentProps = {
    children?: string;
    fontSize?: string;
    className?: string;
    trailing?: ReactNode;
    /** Streaming mode: newly appended words fade in. */
    animate?: boolean;
    /** Renders soft line breaks as visible breaks while preserving code and math. */
    preserveLineBreaks?: boolean;
};

CollapsibleItem

PropDefaultType
label—string
Required.
children—ReactNode
Required.

CollapsibleItemProps

type CollapsibleItemProps = {
    label: string;
    children: ReactNode;
};

ShimmerText

PropDefaultType
shimmerfalseboolean

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

ShimmerTextProps

type ShimmerTextProps = TextProps & {
    shimmer?: boolean;
};

StreamingCaret

PropDefaultType
———
No props.

Toaster

Renders the global toast stack.

PropDefaultType
———
No props.

ColorModeProvider

Provides Chakra color-mode state through next-themes.

Props type: ColorModeProviderProps.

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

ColorModeButton

Props type: ColorModeButtonProps & React.RefAttributes<HTMLButtonElement>.

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

ColorModeIcon

Icon reflecting the current color mode.

PropDefaultType
———
No props.

LightMode

Renders children in light mode only.

Props type: SpanProps & React.RefAttributes<HTMLSpanElement>.

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

DarkMode

Renders children in dark mode only.

Props type: SpanProps & React.RefAttributes<HTMLSpanElement>.

Also accepts inherited framework props. See the TypeScript declaration and the Chakra UI styling props, React DOM props, or provider props for the corresponding base type.

TriggerButtonProps

type TriggerButtonProps = Omit<ButtonProps, "children" | "layout"> & {
    label: string | ReactNode;
    labelSecondary?: string | ReactNode | undefined;
    icon?: ReactNode;
    iconProps?: Omit<IconProps, "children"> | undefined;
    active?: boolean | undefined;
    hideChevron?: boolean | undefined;
    labelProps?: Omit<TextProps, "children"> | undefined;
    layout?: TriggerButtonLayout | undefined;
};

Related types: TriggerButtonLayout.

BaseDialogConfirmTone

/**
 * Confirm button tone for the shared dialog footer.
 */
export type BaseDialogConfirmTone = "default" | "danger";

TooltipProps

/**
 * Props for the Hyperflow tooltip wrapper.
 */
export interface TooltipProps extends ChakraTooltip.RootProps {
    showArrow?: boolean;
    portalled?: boolean;
    portalRef?: React.RefObject<HTMLElement | null>;
    content: React.ReactNode;
    contentProps?: ChakraTooltip.ContentProps;
    disabled?: boolean;
}

SelectionOption

type SelectionOption = {
    /** Stable option value passed to `onSelect`. */
    value: string;
    /** Primary option label. */
    label: string;
    /** Custom visual label; `label` remains the accessible name and text value. */
    content?: ReactNode;
    /** Optional secondary description. */
    description?: string | undefined;
    /** Optional leading icon. */
    icon?: ReactNode;
    /** Prevents selection while keeping the option visible. */
    disabled?: boolean | undefined;
};

SegmentedBarSegment

type SegmentedBarSegment = {
    key: string;
    color: string;
    widthPercent: number;
};

On this page

Reading this referenceHyperflowAppHyperflowAppPropsDefault application componentsLayoutLayoutPropsSidebarComponentPropsBaseSidebarPropsLoginLoginPropsRuntimeReloadProviderColorModeProviderPropsColorModeButtonPropsDefault layout componentsSessionSidebarSessionSidebarPropsSidebarHeaderPropsSidebarFooterPropsSidebarAccountMenuPropsSessionTopBarSessionTopBarPropsSessionMoreMenuPropsSessionMoreMenuLabelsSessionBackgroundTasksDrawerSessionBackgroundTasksDrawerPropsBackgroundTasksPanelLabelsBackgroundTaskConversationLabelsBackgroundTaskTerminalLabelsSidebarHeaderSidebarFooterSidebarAccountMenuItemConfigSessionMoreMenuTriggerButtonLayoutSelectionMenuPlacementSidebarAccountMenuItemPropsComposerComposerComposerPropsComposerTextInputComposerTextInputPropsComposerSendButtonComposerSendButtonPropsComposerAttachmentMenuComposerAttachmentMenuPropsComposerAttachmentPreviewComposerAttachmentPreviewPropsAgentSelectorAgentSelectorPropsModelReasoningSelectorModelReasoningSelectorPropsToolhostSelectorToolhostSelectorPropsContextWindowMeterContextWindowMeterPropsSessionOptionsPanelSessionOptionsPanelPropsComposerSlotRenderersComposerSlotSurfaceVariantComposerPlacementComposerSlotRendererMapComposerAttachmentItemAgentSelectorLabelsModelReasoningSelectorLabelsToolhostSelectorLabelsToolhostCategoryComposerPositionableSlotKeyTimelineActTimelineActTimelinePropsTimelineViewportTimelineViewportPropsTimelineEntryViewTimelineEntryViewPropsUserMessageUserMessagePropsAssistantMessageAssistantMessagePropsMessageAttachmentsMessageAttachmentsPropsMessageActionsMessageActionsPropsTimelineThinkingTimelineThinkingPropsTimelineStreamingMessageTimelineStreamingMessagePropsTimelineWorkDurationTimelineWorkDurationPropsTimelineLoadingTimelineHistoryLoadingTimelineEmptyStateTimelineEmptyStatePropsTimelineErrorTimelineErrorPropsTimelineSessionErrorTimelineSessionErrorPropsTimelineActErrorTimelineActErrorPropsTimelineActNoteTimelineActNotePropsToolGroupItemToolGroupItemPropsReasoningItemReasoningItemPropsReasoningCollapsibleReasoningCollapsiblePropsCompactionItemCompactionItemPropsSessionChangeItemSessionChangeItemPropsBackgroundTaskGroupBackgroundTaskGroupPropsBackgroundTaskCompletionBackgroundTaskCompletionPropsBackgroundTaskConversationBackgroundTaskTerminalTimelineEntryRendererPropsDefaultEntryPropsCustomEntryPropsDraftViewPropsMessageActionsSlotPropsDefaultActionsSlotPropsCustomActionsSlotPropsCompactionItemLabelsSessionChangeItemLabelsBackgroundTaskGroupLabelsBackgroundTaskCompletionLabelsHuman-in-the-loopHitlOverlayHitlOverlayPropsInputPanelInputPanelPropsApprovalPanelApprovalPanelPropsAgentAuthPanelAgentAuthPanelPropsInputPanelContentInputPanelContentPropsFreeformInputContentInputPanelContentComponentPropsSingleQuestionInputContentStructuredQuestionInputContentWizardInputContentInputActionsInputActionsPropsApprovalActionsApprovalActionsPropsApprovalSelectorApprovalSelectorPropsAgentAuthLinkButtonAgentAuthLinkButtonPropsAgentAuthResumeButtonAgentAuthResumeButtonPropsInputPanelContentStateInputPanelActionStateApprovalSelectorLabelsKnowledge baseLibraryPageLibraryDocumentItemDocumentItemPropsDocumentProgressDocumentProgressPropsLibraryViewDocumentItemLabelsDocumentProgressLabelsDocumentActionsPropsBase primitivesBaseDialogBaseDialogPropsBaseDrawerBaseDrawerPropsBaseSidebarBaseTopBarBaseTopBarPropsTooltipIconButtonTriggerButtonConfirmMenuItemConfirmMenuItemPropsSelectionMenuSelectionMenuPropsSegmentedBarSegmentedBarPropsMarkdownContentMarkdownContentPropsCollapsibleItemCollapsibleItemPropsShimmerTextShimmerTextPropsStreamingCaretToasterColorModeProviderColorModeButtonColorModeIconLightModeDarkModeTriggerButtonPropsBaseDialogConfirmToneTooltipPropsSelectionOptionSegmentedBarSegment