@threadplane/coreTypeAliasv0.3.7

AgentResumeOptions

Options for resume: the cancellation signal, and what a caller may send in the same request as the answers. state is merged before the paused work continues, and message or blocks appends a user message, as in submit. A session that cannot combine them with a resume rejects without sending.

import type { AgentResumeOptions } from '@threadplane/core';

Declaration

export type AgentResumeOptions<TState = unknown> = AgentSubmitOptions & {
    readonly message?: string;
    readonly blocks?: readonly ContentBlock[];
    readonly state?: AgentStateUpdate<TState>;
};

Type parameters

TState
Default: unknown