sessionSubagents
Unpublished development API. This package is under development and is not available as a published release.
Card data for the child agents a session reports in snapshot.subagents.
A child whose reference is unchanged keeps its card's reference, and an
unchanged list keeps its own, while the two callbacks stay the same.
import { sessionSubagents } from '@threadplane/react/chat';Declaration · overload 1
export declare function sessionSubagents(children: readonly AgentSubagent[], options?: SessionSubagentOptions): readonly SubagentInfo[];Parameters
children· requiredreadonly AgentSubagent[]options· optionalSessionSubagentOptions
Returns
readonly SubagentInfo[]