Progress
import { ProgressBlock, steps } from '@hanzo/ui/agents'
No examples yet.
Types
export type StepKind = 'think' | 'search' | 'read' | 'run' | 'write' | 'error' | 'step'
export interface Step {key: stringkind: StepKind/** The claim — one line, always visible. */label: string/** The evidence, one line each. Absent means nothing to open. */detail?: string[]/** Open on first render — for the step being worked on right now. */open?: boolean}
export interface ProgressBlockProps extends Col {steps: Step[]/** The work has stopped. Draws the tick. */done?: booleandoneLabel?: string/** The agent's message, at full size under the steps. */children?: ReactNode}
export interface Event {seq?: numberid?: stringkind?: stringactor?: stringpayload?: unknown}
Exports
ProgressBlockstepstype Eventtype ProgressBlockPropstype Steptype StepKind