AgentInterruptResponse

The answer to one pending interrupt. resolved continues the paused work with value; cancelled declines it and carries no value.

import type { AgentInterruptResponse } from '@threadplane/angular/chat';

Declaration

export type AgentInterruptResponse = {
    readonly interruptId: string;
    readonly status: 'resolved';
    readonly value?: PlainValue;
} | {
    readonly interruptId: string;
    readonly status: 'cancelled';
    readonly value?: never;
};