Implement handoff to human functionality in workflow executor and update registry output schema

This commit is contained in:
mlogclub
2026-06-23 21:48:20 +08:00
parent ec9e4a852a
commit 8992f263aa
3 changed files with 247 additions and 10 deletions
@@ -151,6 +151,11 @@ func DefaultRegistry() *Registry {
},
OutputSchema: []VariableSpec{
output("handoffId", VariableTypeInteger, "Handoff operation ID."),
output("reason", VariableTypeString, "Handoff reason."),
output("decision", VariableTypeString, "Handoff dispatch decision."),
output("teamId", VariableTypeInteger, "Assigned or pending team ID."),
output("assigneeId", VariableTypeInteger, "Assigned agent user ID."),
output("message", VariableTypeString, "Customer-visible handoff notice."),
},
},
NodeSpec{