A focused single step indicating current tool execution with real-time source retrieval indicators.
An action and approval step requesting user authorization before proceeding with critical operations.
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | "Thinking..." | Title describing the current thought or action step. |
description | string | — | Additional supporting status text or details. |
status | "pending" | "running" | "completed" | "error" | "awaiting_approval" | "running" | Current execution status of the thinking phase. |
sources | ThinkingSourceItem[] | — | List of tools or integrations being queried. |
activeSourceId | string | — | Identifier of the source currently being searched. |
steps | ThinkingStepItem[] | — | Array of thinking steps for multi-step agent flows. |
showDetails | boolean | true | Whether to display the source badges list. |
headerSlot | React.ReactNode | — | Optional custom action or control rendered on the right side of the header. |
actions | React.ReactNode | — | Action controls rendered at the bottom of the steps. |
onRecreateStep | (stepId: string) => void | — | Callback fired when user triggers recreation on a step. |
className | string | — | Optional class overrides for the container card. |
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the step. |
title | string | Title of the step. |
description | string | Optional supporting description or summary. |
status | "pending" | "running" | "completed" | "error" | "awaiting_approval" | Status of the step. |
sources | ThinkingSourceItem[] | Sources/tools queried in this step. |
activeSourceId | string | ID of the source currently being queried. |
approval | ThinkingStepApproval | Configuration for approval prompt. |
actions | React.ReactNode | Optional custom action buttons for this step. |
| Field | Type | Description |
|---|---|---|
title | string | Header title of the approval prompt. |
description | string | Detailed description or context for the requested action. |
confirmLabel | string | Custom label for confirm button (default: "Approve"). |
declineLabel | string | Custom label for decline button (default: "Decline"). |
status | "pending" | "approved" | "declined" | Current status of the approval. |
onApprove | () => void | Callback fired on approval button click. |
onDecline | () => void | Callback fired on decline button click. |
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the source or tool. |
label | string | Display label for the source (e.g., Slack, Notion). |
iconSrc | string | Optional URL or path to the integration logo. |
status | "pending" | "running" | "completed" | "error" | Status of the individual source step. |
aria-live="polite" regions so screen readers receive updates without interrupting focus.<LayoutGroup> to protect against sudden layout shifts.stiffness: 450, damping: 22).