agent-contracts 0.16.0 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -54541,7 +54541,9 @@ function buildPerAgentContext(dsl, agent) {
54541
54541
  const handoffKinds = /* @__PURE__ */ new Set([
54542
54542
  ...agent.can_return_handoffs,
54543
54543
  ...receivableTasks.map((t3) => t3.invocation_handoff),
54544
- ...receivableTasks.map((t3) => t3.result_handoff)
54544
+ ...receivableTasks.map((t3) => t3.result_handoff),
54545
+ ...delegatableTasks.map((t3) => t3.invocation_handoff),
54546
+ ...delegatableTasks.map((t3) => t3.result_handoff)
54545
54547
  ]);
54546
54548
  const relatedHandoffTypes = {};
54547
54549
  for (const [kind, ht] of Object.entries(dsl.handoff_types)) {