ChatSubagentCardComponent
Displays a subagent’s status, reasoning, markdown messages, and message-scoped tool calls in a collapsible trace.
import { ChatSubagentCardComponent } from '@threadplane/chat';Declaration
export declare class ChatSubagentCardComponent {
constructor();
readonly state: import("@angular/core").Signal<TraceState>;
readonly subagent: import("@angular/core").InputSignal<Subagent>;
readonly toolLabel: import("@angular/core").InputSignal<((name: string) => string | undefined) | undefined>;
readonly toolOutcome: import("@angular/core").InputSignal<((activity: ToolActivityInfo) => ToolActivityOutcome | undefined) | undefined>;
}Angular template API
Selector: chat-subagent-card
Inputs
subagent· requiredSubagenttoolLabel((name: string) => string | undefined) | undefinedtoolOutcome((activity: ToolActivityInfo) => ToolActivityOutcome | undefined) | undefined
Members
Constructor · overload 1
Constructs a new instance of the ChatSubagentCardComponent class
constructor();state
readonly state: import("@angular/core").Signal<TraceState>;subagent
readonly subagent: import("@angular/core").InputSignal<Subagent>;toolLabel
App-owned readable labels for the subagent's own tool calls. Technical names stay inside each opened call.
readonly toolLabel: import("@angular/core").InputSignal<((name: string) => string | undefined) | undefined>;toolOutcome
App-authored outcomes for the subagent's own completed calls, the same callback <chat> takes.
Sources an outcome declares are listed in the Sources panel of the message that started the subagent.
readonly toolOutcome: import("@angular/core").InputSignal<((activity: ToolActivityInfo) => ToolActivityOutcome | undefined) | undefined>;