Steer

import { MemberRow, Steer } from '@hanzo/ui/agents'

No examples yet.

Types

export type Command = 'pause' | 'resume' | 'stop'
export interface SteerProps extends Row {
onCommand?: (command: Command) => void
/**
* Verbs to withhold — a finished run cannot be paused.
*
* NOT `disabled`: that is gui's own boolean on the underlying stack, and
* taking the name means the row and the primitive disagree about the type of
* one prop.
*/
withhold?: Command[]
/** The last thing that happened, in the surface's words. */
note?: ReactNode
}
export type MemberKind = 'agent' | 'bot' | 'human'
export interface MemberRowProps extends Row {
name: string
kind: MemberKind
/** A line under the name — what it does, or where it is. */
detail?: string
onPress?: () => void
}

Exports

MemberRowSteertype Commandtype MemberKindtype MemberRowPropstype SteerProps