@threadplane/ag-uiInterfacev0.3.7

SubagentObservation

The protocol evidence of one child agent: how it started and how it ended.

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

Declaration

export interface SubagentObservation  {
  readonly started: DeepReadonly<ChildStart>;
  readonly terminal?: DeepReadonly<ChildFinish | ChildError>;
}

Members

started

The SUBAGENT_STARTED event's fields.

readonly started: DeepReadonly<ChildStart>;

terminal

The SUBAGENT_FINISHED or SUBAGENT_ERROR event's fields, once the child ended.

readonly terminal?: DeepReadonly<ChildFinish | ChildError>;