Theia API Documentation v1.75.0
    Preparing search index...
    interface AiConfigurationItemRowProps {
        description?: string;
        iconClass?: string;
        label: string;
        labelTooltip?: string;
        modified?: boolean;
        monospaceLabel?: boolean;
        onActivateLabel?: () => void;
        onOpenMenu?: (gear: HTMLElement) => void;
        onSelect?: () => void;
        origins?: AiConfigurationOrigin[];
        rowId?: string;
        status?: AiConfigurationItemStatus;
        tags?: string[];
        trailing?: ReactNode;
    }
    Index

    Properties

    description?: string
    iconClass?: string

    codicon(...) class shown before the label.

    label: string
    labelTooltip?: string

    Tooltip for an onActivateLabel label, explaining where the link goes.

    modified?: boolean

    true reveals the modified edge (left indicator bar), matching AiConfigurationSettingRow.

    monospaceLabel?: boolean

    Renders the label in the code/monospace font (e.g. for shell command patterns), like the Variables list.

    onActivateLabel?: () => void

    Turns the label into a link that navigates somewhere related to the row without being the row's own detail, e.g. an agent capability pointing at the (globally shared) snippet it pulls in. Distinct from onSelect: the row itself stays non-navigable, so a row can keep hosting its own control.

    onOpenMenu?: (gear: HTMLElement) => void

    Opens the row's gear context menu (e.g. "Reset Setting") anchored at the cog, which appears on hover in the row's left gutter (mirroring AiConfigurationSettingRow). Wired the same way as AiConfigurationSettingRow.onOpenMenu (typically to AiSettingsRowService.openResetMenu). Omit to hide the gear.

    onSelect?: () => void

    Invoked when the row is clicked or activated via keyboard; typically ctx.navigate(...). When provided the whole row is a navigable control ending in a chevron. Omit it for rows that only host an inline control (e.g. the Tools page's per-tool confirmation select): the row is then not clickable and shows no chevron.

    Where the item came from, shown after the tags as AiConfigurationOriginBadges.

    rowId?: string

    Anchors the row for deep links: rendered as data-ai-config-row-id, which is what a AiConfigurationSelection.highlight scrolls to and flashes.

    Status badge shown on the right (e.g. an alias' resolved model).

    tags?: string[]

    Short badges shown after the label, for what the item is. Use origins for where it came from.

    trailing?: ReactNode

    Optional trailing content (extra stats, or an inline control such as a select) shown on the right.