refactor(core): 整理工具描述文件目录结构

将 checkpoint 和 repomap 相关的描述文件移动到各自的子目录
This commit is contained in:
2025-12-17 12:11:24 +08:00
parent 31e246f629
commit bb3d42e6bf
7 changed files with 8 additions and 0 deletions
@@ -40,6 +40,14 @@ const TOOL_CATEGORY_MAP: Record<string, string> = {
// task
task: 'task',
agent_output: 'task',
// checkpoint
checkpoint_create: 'checkpoint',
checkpoint_list: 'checkpoint',
checkpoint_diff: 'checkpoint',
checkpoint_restore: 'checkpoint',
undo: 'checkpoint',
// repomap
repo_map: 'repomap',
};
export function loadDescription(toolName: string): string {