HandoffSpec
Defined in: agents/src/handoff.ts:26
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
unknown |
Properties
Section titled “Properties”description
Section titled “description”description: string;Defined in: agents/src/handoff.ts:28
history?
Section titled “history?”optional history?: | "conversation" | "full" | ((context) => readonly AgentMessage[]);Defined in: agents/src/handoff.ts:34
Full history is trusted server data and may contain provider-private fields. A custom filter must be pure: it runs before the first child checkpoint, never for a saved child.
name: string;Defined in: agents/src/handoff.ts:27
to: | Agent<T> | (() => Agent<T>);Defined in: agents/src/handoff.ts:31
A lazy reference permits cycles. It resolves once per descriptor, not once per call. After a restart, the resolved identity must match the saved handoff.