@threadplane/a2uiInterfacev0.3.4

A2uiCreateSurface

Agent-to-client payload that creates a surface with its catalog, theme, and data-model sharing preference.

import type { A2uiCreateSurface } from '@threadplane/a2ui';

Declaration

export interface A2uiCreateSurface  {
  catalogId: string;
  sendDataModel?: boolean;
  surfaceId: string;
  theme?: A2uiTheme;
}

Members

catalogId

catalogId: string;

sendDataModel

When true, the client attaches the surface's full data model to every outbound message.

sendDataModel?: boolean;

surfaceId

surfaceId: string;

theme

theme?: A2uiTheme;