@threadplane/ag-uiInterfacev0.3.4

InterruptSessionSnapshot

Interrupt batch state containing its phase, generation, native or legacy interrupts, and any retained resume attempt.

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

Declaration

export interface InterruptSessionSnapshot  {
  attempt?: ResumeAttempt;
  generation: number;
  interrupts: Interrupt[];
  legacy?: AgentInterrupt;
  phase: InterruptSessionPhase;
  runId?: string;
}

Members

attempt

attempt?: ResumeAttempt;

generation

generation: number;

interrupts

interrupts: Interrupt[];

legacy

legacy?: AgentInterrupt;

phase

runId

runId?: string;