ChatTimelineComponent
Projects the agent's saved history (agent.checkpoints()), newest first, through a supplied template and emits selections dispatched through selectCheckpoint().
import { ChatTimelineComponent } from '@threadplane/angular/chat';Declaration
export declare class ChatTimelineComponent {
readonly agent: import("@angular/core").InputSignal<Agent>;
readonly checkpointSelected: import("@angular/core").OutputEmitterRef<AgentCheckpoint>;
readonly history: import("@angular/core").Signal<readonly AgentCheckpoint[]>;
selectCheckpoint(cp: AgentCheckpoint): void;
readonly templateRef: import("@angular/core").Signal<TemplateRef<any> | undefined>;
}Angular template API
Selector: chat-timeline
Inputs
agent· requiredAgent
Outputs
checkpointSelectedAgentCheckpoint
Members
agent
readonly agent: import("@angular/core").InputSignal<Agent>;checkpointSelected
readonly checkpointSelected: import("@angular/core").OutputEmitterRef<AgentCheckpoint>;history
The checkpoints as rendered: newest first, so template index 0 is the
latest one. agent.checkpoints() itself is oldest first.
readonly history: import("@angular/core").Signal<readonly AgentCheckpoint[]>;selectCheckpoint · overload 1
selectCheckpoint(cp: AgentCheckpoint): void;Parameters
cp· requiredAgentCheckpoint
Returns
voidtemplateRef
readonly templateRef: import("@angular/core").Signal<TemplateRef<any> | undefined>;