fix(core): propagate subagent context to policy engine (#22086)

This commit is contained in:
N. Taylor Mullen
2026-03-11 16:01:45 -07:00
committed by GitHub
parent 1a7f50661a
commit 4a6d1fad9d
6 changed files with 44 additions and 1 deletions
@@ -1099,6 +1099,7 @@ export class LocalAgentExecutor<TOutput extends z.ZodTypeAny> {
toolRequests,
{
schedulerId: this.agentId,
subagent: this.definition.name,
parentCallId: this.parentCallId,
toolRegistry: this.toolRegistry,
signal,