feat(quickjs): implement default task primitive in code interpreter for programmatic subagent calling (#592)
### Summary This PR adds a default task primitive to the code interpreter that allows the agent to natively write code to programmatically dispatch subagents. The task primitive supports passing response schemas for dynamic structured output that helps with more complex orchestration patterns. This PR also removes the swarm task tool in favor of the task primitive. --------- Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
C
Colin Francis committed
72cfb0c0384b30059b5e8028139a2e167c1be882
Parent: 773cac5
Committed by GitHub <noreply@github.com>
on 6/11/2026, 10:36:01 PM