@threadplane/ag-uiTypeAliasv0.3.7

InterruptResponse

One answer for resume: the core response, which names a pending interrupt and resolves it with an optional value or cancels it, plus the protocol's optional metadata.

import type { InterruptResponse } from '@threadplane/ag-ui';

Declaration

export type InterruptResponse = AgentInterruptResponse & {
    readonly metadata?: Readonly<Record<string, PlainValue>>;
    readonly payload?: never;
};