@threadplane/coreTypeAliasv0.0.0

AgentInterruptResponse

Unpublished development API. This package is under development and is not available as a published release.

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/core';

Declaration

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