feat(FN-3327): add agent delegation and org hierarchy tools to pi extension
Adds `list_agents` and `delegate_task` tools to the pi extension for inter-agent delegation, along with supporting reference docs and 248 new tests. The sync script was also updated to keep the skill tools in sync with the extension implementation. Fusion-Task-Id: FN-3327
This commit is contained in:
@@ -75,7 +75,13 @@ function categorize(name) {
|
||||
) {
|
||||
return "Mission";
|
||||
}
|
||||
if (name.startsWith("fn_agent_")) return "Agent";
|
||||
if (
|
||||
name.startsWith("fn_agent_") ||
|
||||
name === "fn_list_agents" ||
|
||||
name === "fn_delegate_task"
|
||||
) {
|
||||
return "Agent";
|
||||
}
|
||||
if (name.startsWith("fn_skills_")) return "Skills";
|
||||
if (name.startsWith("fn_insight_")) return "Insight";
|
||||
return "Other";
|
||||
|
||||
Reference in New Issue
Block a user