ChatToolActivityGroupComponent

Opt-in group for related tools; does not group custom views or manage their lifecycle.

import { ChatToolActivityGroupComponent } from '@threadplane/angular/chat';

Declaration

export declare class ChatToolActivityGroupComponent  {
  constructor();
  readonly activities: import("@angular/core").InputSignal<readonly ToolActivityInfo[]>;
  readonly context: import("@angular/core").InputSignal<readonly ToolActivityInfo[] | undefined>;
  readonly failed: import("@angular/core").Signal<boolean>;
  readonly label: import("@angular/core").InputSignal<string | undefined>;
  readonly phase: import("@angular/core").Signal<ToolActivityPhase>;
  readonly phaseLabel: import("@angular/core").Signal<string>;
  readonly plan: import("@angular/core").InputSignal<readonly AgentPlanStep[] | undefined>;
  readonly progress: import("@angular/core").Signal<string>;
  readonly stop: import("@angular/core").OutputEmitterRef<void>;
  readonly stoppable: import("@angular/core").InputSignal<boolean>;
  readonly summary: import("@angular/core").Signal<{
        readonly label: string;
        readonly cue: string;
        readonly active: boolean;
        readonly phase: ToolActivityPhase;
        readonly status: string;
    }>;
  readonly toolRetry: import("@angular/core").OutputEmitterRef<ToolActivityInfo>;
}

Angular template API

Selector: chat-tool-activity-group

Inputs

activities · required
readonly ToolActivityInfo[]
context
readonly ToolActivityInfo[] | undefined
label
string | undefined
plan
readonly AgentPlanStep[] | undefined
stoppable
boolean

Outputs

stop
void
toolRetry
ToolActivityInfo

Members

Constructor · overload 1

Constructs a new instance of the ChatToolActivityGroupComponent class

constructor();

activities

readonly activities: import("@angular/core").InputSignal<readonly ToolActivityInfo[]>;

context

Every observed call in transcript order, so a retry stops being offered once a later call repeats it or work is running. Defaults to this group's activities.

readonly context: import("@angular/core").InputSignal<readonly ToolActivityInfo[] | undefined>;

failed

readonly failed: import("@angular/core").Signal<boolean>;

label

readonly label: import("@angular/core").InputSignal<string | undefined>;

phase

readonly phase: import("@angular/core").Signal<ToolActivityPhase>;

phaseLabel

readonly phaseLabel: import("@angular/core").Signal<string>;

plan

Steps the agent declared, such as agent.plan(). While the group runs and is open, its pending steps follow the calls, dimmed.

readonly plan: import("@angular/core").InputSignal<readonly AgentPlanStep[] | undefined>;

progress

readonly progress: import("@angular/core").Signal<string>;

stop

Emits when Stop is activated. The application owns what stopping does, usually agent.stop().

readonly stop: import("@angular/core").OutputEmitterRef<void>;

stoppable

Offers a Stop button beside the elapsed time while the group runs. Pair it with (stop).

readonly stoppable: import("@angular/core").InputSignal<boolean>;

summary

readonly summary: import("@angular/core").Signal<{
        readonly label: string;
        readonly cue: string;
        readonly active: boolean;
        readonly phase: ToolActivityPhase;
        readonly status: string;
    }>;

toolRetry

Emits the failed activity when its declared retry is activated. The application owns what a retry does.

readonly toolRetry: import("@angular/core").OutputEmitterRef<ToolActivityInfo>;