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:
Fusion
2026-05-04 02:05:32 -07:00
committed by gsxdsm
parent d38dd9bae1
commit 49368d876d
7 changed files with 669 additions and 2 deletions

View File

@@ -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";