@threadplane/chatInterfacev0.3.4

AgentInterrupt

A runtime interrupt payload, its identifier, and whether the agent can resume it.

import type { AgentInterrupt } from '@threadplane/chat';

Declaration

export interface AgentInterrupt  {
  id: string;
  resumable: boolean;
  value: unknown;
}

Members

id

Stable identifier for this interrupt instance.

id: string;

resumable

True when the runtime supports resuming via submit({ resume }).

resumable: boolean;

value

Opaque payload the app renders. Runtime-specific shape.

value: unknown;