ChatTimelineComponent

Projects agent history checkpoints through a supplied template and emits selections dispatched through selectCheckpoint().

import { ChatTimelineComponent } from '@threadplane/chat';

Declaration

export declare class ChatTimelineComponent  {
  readonly agent: import("@angular/core").InputSignal<AgentWithHistory<unknown>>;
  readonly checkpointSelected: import("@angular/core").OutputEmitterRef<AgentCheckpoint>;
  readonly history: import("@angular/core").Signal<AgentCheckpoint[]>;
  selectCheckpoint(cp: AgentCheckpoint): void;
  readonly templateRef: import("@angular/core").Signal<TemplateRef<any> | undefined>;
}

Angular template API

Selector: chat-timeline

Inputs

agent · required
AgentWithHistory<unknown>

Outputs

checkpointSelected
AgentCheckpoint

Members

agent

readonly agent: import("@angular/core").InputSignal<AgentWithHistory<unknown>>;

checkpointSelected

readonly checkpointSelected: import("@angular/core").OutputEmitterRef<AgentCheckpoint>;

history

readonly history: import("@angular/core").Signal<AgentCheckpoint[]>;

selectCheckpoint · overload 1

selectCheckpoint(cp: AgentCheckpoint): void;

Parameters

cp · required
AgentCheckpoint

Returns

void

templateRef

readonly templateRef: import("@angular/core").Signal<TemplateRef<any> | undefined>;