refactor(core): 整理工具描述文件目录结构
将 checkpoint 和 repomap 相关的描述文件移动到各自的子目录
This commit is contained in:
@@ -40,6 +40,14 @@ const TOOL_CATEGORY_MAP: Record<string, string> = {
|
|||||||
// task
|
// task
|
||||||
task: 'task',
|
task: 'task',
|
||||||
agent_output: '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 {
|
export function loadDescription(toolName: string): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user