Components (172)
Run Controls
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Run Controls…
Usage
import { RunControls } from "ui-kit/components/run-controls";Props
| Prop | Type | Default | Description |
|---|---|---|---|
agent | { id: string; name: string } | — | — |
prompt | string | — | — |
answer | string | "" | — |
status | RunStatus | "idle" | — |
steers | RunSteer[] | [] | — |
queue | RunQueued[] | [] | — |
mode | RunMode | — | — |
defaultMode | RunMode | "act" | — |
onModeChange | (mode: RunMode) => void | — | — |
permission | RunPermission | — | — |
defaultPermission | RunPermission | "ask" | — |
onPermissionChange | (permission: RunPermission) => void | — | — |
context | number | — | — |
took | number | — | — |
onSend | (text: string) => void | — | — |
onSteer | (text: string) => void | — | — |
onQueue | (text: string) => void | — | — |
onUnqueue | (id: string) => void | — | — |
onStop | () => void | — | — |
onResume | () => void | — | — |
onRetry | () => void | — | — |
onDismiss | () => void | — | — |
placeholder | string | — | — |
className | string | — | — |