refactor: implement DelegateToAgentTool with discriminated union (#14769)

This commit is contained in:
Abhi
2025-12-10 16:14:13 -05:00
committed by GitHub
parent d4506e0fc0
commit 91b15fc9dc
12 changed files with 544 additions and 45 deletions
+1
View File
@@ -21,3 +21,4 @@ export const READ_FILE_TOOL_NAME = 'read_file';
export const LS_TOOL_NAME = 'list_directory';
export const MEMORY_TOOL_NAME = 'save_memory';
export const EDIT_TOOL_NAMES = new Set([EDIT_TOOL_NAME, WRITE_FILE_TOOL_NAME]);
export const DELEGATE_TO_AGENT_TOOL_NAME = 'delegate_to_agent';