refactor(core): 重命名 grep_content 工具为 grep
- 重命名 grep_content.ts 为 grep.ts - 更新工具名称从 grep_content 改为 grep - 更新所有引用该工具的代码和测试文件 - 更新描述文件名称
This commit is contained in:
@@ -5,7 +5,7 @@ import type { AgentInfo } from '../types.js';
|
||||
*
|
||||
* 使用 ${variable} 语法支持动态变量替换:
|
||||
* - ${tools.glob} -> glob
|
||||
* - ${tools.grep} -> grep_content
|
||||
* - ${tools.grep} -> grep
|
||||
* - ${tools.read} -> read_file
|
||||
* - ${tools.bash} -> bash
|
||||
* - ${plan.planFilePath} -> 计划文件路径
|
||||
@@ -92,7 +92,7 @@ export const planAgent: Omit<AgentInfo, 'name'> = {
|
||||
'list_directory',
|
||||
'search_files',
|
||||
'glob',
|
||||
'grep_content',
|
||||
'grep',
|
||||
'get_file_info',
|
||||
// Git 只读
|
||||
'git_status',
|
||||
|
||||
Reference in New Issue
Block a user