SubagentForkPolicy
Defined in: agents/src/subagents.ts:65
Only selected, already-sanitized messages can cross the fork boundary.
Properties
Section titled “Properties”identity
Section titled “identity”identity: string;Defined in: agents/src/subagents.ts:66
maxBytes
Section titled “maxBytes”maxBytes: number;Defined in: agents/src/subagents.ts:68
maxMessages
Section titled “maxMessages”maxMessages: number;Defined in: agents/src/subagents.ts:67
select
Section titled “select”select: (messages, context) => readonly number[] | Promise<readonly number[]>;Defined in: agents/src/subagents.ts:70
Pure host policy. Return increasing message indices, never model-selected indices.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
messages |
readonly AgentMessage[] |
context |
SubagentContext |
Returns
Section titled “Returns”readonly number[] | Promise<readonly number[]>