Files
metona-ai-desktop/electron/harness/tools/built-in/index.ts
T

65 lines
2.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* 内置工具导出
*
* v0.3.13: 删除 todo_write 工具(零价值 + 死代码 clearSession + 与 task_manager 功能重叠)
* 工具总数:30 个(29 + DelegateTaskTool
*
* v0.3.3: 从 27 个工具扩展到 29 个工具
* 新增:file_move, file_info
*
* v0.3.2: 从 26 个工具扩展到 27 个工具
* 新增:delete_file
*
* v0.3.1: 从 15 个工具扩展到 26 个工具
* 新增:git_status, git_diff, git_log, git_commit, lint_code, run_tests,
* project_info, http_request, think, view_image
*
* v0.2.0: 从 11 个工具扩展到 15 个工具
* 新增:file_editor, code_search, task_manager, diff_viewer
*
* @see docs/MetonaAI-Desktop 架构与交互设计.html — 9 个基础工具
*/
// 文件系统工具(7 个)
export { ReadFileTool, WriteFileTool, ListDirectoryTool, SearchFilesTool, DeleteFileTool, FileMoveTool, FileInfoTool } from './filesystem';
// v0.2.0: 精准文件编辑工具
export { FileEditorTool } from './file-editor';
// v0.2.0: ripgrep 代码搜索工具
export { CodeSearchTool } from './code-search';
// v0.2.0: 文件差异对比工具
export { DiffViewerTool } from './diff-viewer';
// 网络工具(2 个)
export { WebSearchTool, WebFetchTool } from './network';
// 记忆工具(2 个)
export { MemoryStoreTool, MemorySearchTool } from './memory';
// 命令工具(1 个)
export { RunCommandTool } from './command';
// 浏览器工具(1 个)
export { WebBrowserTool, cleanupBrowser, getBrowserManager } from './browser';
// 委派工具(1 个)
export { DelegateTaskTool } from './delegate-task';
// v0.2.0: 任务管理工具(1 个)
export { TaskManagerTool } from './task-manager';
// v0.3.1: Git 工具集(4 个)
export { GitStatusTool, GitDiffTool, GitLogTool, GitCommitTool } from './git';
// v0.3.1: 开发工具集(3 个)
export { LintCodeTool, RunTestsTool, ProjectInfoTool } from './dev-tools';
// v0.3.1: HTTP 请求工具(1 个)
export { HttpRequestTool } from './http-request';
// v0.3.1: 结构化思考工具(1 个)
export { ThinkTool } from './think';
// v0.3.1: 图片查看工具(1 个)
export { ViewImageTool } from './view-image';