AgentInputBlock
Why a session refuses an ordinary submission for now, such as a pause that
must be answered or a recovery that must finish first. Commands that resolve
the block, such as resume, stay available.
import type { AgentInputBlock } from '@threadplane/core';Declaration
export interface AgentInputBlock {
readonly message?: string;
readonly reason: string;
}Members
message
Display text for the person waiting, when the session supplies one.
readonly message?: string;reason
The cause in the backend's own words, such as interrupt or reconciling.
readonly reason: string;