/** * Represents a user-facing interruption emitted by an agent that requires * input before execution can continue. * * Used to pause an agent flow and request clarification, confirmation, * or additional information from the user. */ export interface UiInterrupt { /** Unique identifier for this interrupt instance */ id: string; /** Identifier of the agent requesting input (e.g. "navigation", "layerFilter") */ agentId: string; /** Type of input being requested */ kind: "booleanChoice" | "multipleSelection" | "singleSelection" | "textInput"; /** Optional message shown to the user */ message?: string; /** Additional data required to render or handle the interrupt */ metadata?: unknown; } export interface HITLResponse { id: string; agentId: string; payload: unknown; }