feat: subagent phase 2 implementation

This commit is contained in:
tanzhenxin
2025-09-03 19:17:29 +08:00
parent c49e4f6e8a
commit 5d8874205d
33 changed files with 2435 additions and 21 deletions

View File

@@ -388,7 +388,7 @@ export class MemoryTool
constructor() {
super(
MemoryTool.Name,
'Save Memory',
'SaveMemory',
memoryToolDescription,
Kind.Think,
memoryToolSchemaData.parametersJsonSchema as Record<string, unknown>,

View File

@@ -407,7 +407,7 @@ export class TodoWriteTool extends BaseDeclarativeTool<
constructor(private readonly config: Config) {
super(
TodoWriteTool.Name,
'Todo Write',
'TodoWrite',
todoWriteToolDescription,
Kind.Think,
todoWriteToolSchemaData.parametersJsonSchema as Record<string, unknown>,

View File

@@ -157,7 +157,7 @@ export class WebSearchTool extends BaseDeclarativeTool<
constructor(private readonly config: Config) {
super(
WebSearchTool.Name,
'TavilySearch',
'WebSearch',
'Performs a web search using the Tavily API and returns a concise answer with sources. Requires the TAVILY_API_KEY environment variable.',
Kind.Search,
{