feat(core): 新增 glob 工具,支持文件模式匹配
- 新增 glob 工具,支持 **/*.ts 等 glob 模式匹配文件 - 结果按修改时间排序,限制返回 100 个结果 - 自动忽略 node_modules、.git 等目录 - 更新 Plan Agent 提示词使用 glob 替代 search_files - 在 Plan Agent 工具列表中启用 glob
This commit is contained in:
@@ -17,6 +17,7 @@ const TOOL_CATEGORY_MAP: Record<string, string> = {
|
||||
list_directory: 'filesystem',
|
||||
create_directory: 'filesystem',
|
||||
search_files: 'filesystem',
|
||||
glob: 'filesystem',
|
||||
grep_content: 'filesystem',
|
||||
get_file_info: 'filesystem',
|
||||
move_file: 'filesystem',
|
||||
|
||||
Reference in New Issue
Block a user