@threadplane/ag-uiInterfacev0.3.4

AgUiThreadRecord

Versioned persisted thread snapshot and interrupt session, scoped by namespace and thread ID with a compare-and-swap revision.

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

Declaration

export interface AgUiThreadRecord  {
  committed: ThreadSnapshot;
  namespace: string;
  resumeInput?: ThreadSnapshot;
  revision: number;
  session: InterruptSessionSnapshot;
  threadId: string;
  version: 1;
}

Members

committed

committed: ThreadSnapshot;

namespace

namespace: string;

resumeInput

resumeInput?: ThreadSnapshot;

revision

revision: number;

session

threadId

threadId: string;

version

version: 1;