@threadplane/chatInterfacev0.3.4

AgentCustomEvent

Escape hatch for runtime-specific or user-defined events that do not (yet) have a well-known structured variant. name carries the runtime event name; data carries the payload verbatim.

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

Declaration

export interface AgentCustomEvent  {
  readonly data: unknown;
  readonly name: string;
  readonly type: 'custom';
}

Members

data

readonly data: unknown;

name

readonly name: string;

type

readonly type: 'custom';