@threadplane/chatInterfacev0.3.4

A2uiSurfaceState

Chat-side state for a surface — wraps the wire-format A2uiSurface with the per-component projection the progressive renderer consumes. Both maps are kept in sync; the wire shape preserves existing surfaceToSpec semantics, the view shape carries readiness.

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

Declaration

export interface A2uiSurfaceState  {
  readonly componentViews: ReadonlyMap<string, A2uiComponentView>;
  readonly surface: A2uiSurface;
}

Members

componentViews

readonly componentViews: ReadonlyMap<string, A2uiComponentView>;

surface

readonly surface: A2uiSurface;