NativeDecision
A pause this session can answer: its interrupts, how the answer is sent and the attempt to answer it, once one was made.
import type { NativeDecision } from '@threadplane/ag-ui';Declaration
export type NativeDecision = {
readonly kind: 'native';
readonly id: PauseId;
readonly sourceRunId: string;
readonly interrupts: readonly OwnedInterrupt[];
readonly command?: {
readonly transport: Exclude<InterruptTransport, 'protocol'>;
readonly notice?: PlainValue;
};
readonly attempt?: {
readonly runId: string;
readonly responses: readonly NativeResponse[];
readonly forwardedProps?: CommandProps;
readonly acknowledged?: true;
};
};