Refactor subagent delegation to be one tool per agent (#17346)

This commit is contained in:
Christian Gunderman
2026-01-23 02:18:31 +00:00
committed by GitHub
parent 07bd89399d
commit 2c6781d134
18 changed files with 247 additions and 720 deletions

View File

@@ -23,7 +23,6 @@ export const MEMORY_TOOL_NAME = 'save_memory';
export const GET_INTERNAL_DOCS_TOOL_NAME = 'get_internal_docs';
export const ACTIVATE_SKILL_TOOL_NAME = 'activate_skill';
export const EDIT_TOOL_NAMES = new Set([EDIT_TOOL_NAME, WRITE_FILE_TOOL_NAME]);
export const DELEGATE_TO_AGENT_TOOL_NAME = 'delegate_to_agent';
export const ASK_USER_TOOL_NAME = 'ask_user';
/** Prefix used for tools discovered via the toolDiscoveryCommand. */
@@ -46,7 +45,6 @@ export const ALL_BUILTIN_TOOL_NAMES = [
LS_TOOL_NAME,
MEMORY_TOOL_NAME,
ACTIVATE_SKILL_TOOL_NAME,
DELEGATE_TO_AGENT_TOOL_NAME,
ASK_USER_TOOL_NAME,
] as const;