ChatTimelineSliderComponent

Lists agent checkpoints and emits replay or fork requests for their identifiers.

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

Declaration

export declare class ChatTimelineSliderComponent  {
  readonly agent: import("@angular/core").InputSignal<AgentWithHistory<unknown>>;
  fork(cp: AgentCheckpoint, index: number): void;
  readonly forkRequested: import("@angular/core").OutputEmitterRef<string>;
  readonly history: import("@angular/core").Signal<AgentCheckpoint[]>;
  replay(cp: AgentCheckpoint): void;
  readonly replayRequested: import("@angular/core").OutputEmitterRef<string>;
  readonly selectedIndex: import("@angular/core").WritableSignal<number>;
}

Angular template API

Selector: chat-timeline-slider

Inputs

agent · required
AgentWithHistory<unknown>

Outputs

forkRequested
string
replayRequested
string

Members

agent

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

fork · overload 1

fork(cp: AgentCheckpoint, index: number): void;

Parameters

cp · required
AgentCheckpoint
index · required
number

Returns

void

forkRequested

readonly forkRequested: import("@angular/core").OutputEmitterRef<string>;

history

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

replay · overload 1

replay(cp: AgentCheckpoint): void;

Parameters

cp · required
AgentCheckpoint

Returns

void

replayRequested

readonly replayRequested: import("@angular/core").OutputEmitterRef<string>;

selectedIndex

readonly selectedIndex: import("@angular/core").WritableSignal<number>;