@@ -3,19 +3,20 @@ import { Tool } from '../core/types.js';
33
44// Import tools
55import { agentDoneTool } from './agent/agentDone.js' ;
6- import { agentExecuteTool } from './agent/agentExecute.js' ;
6+ import { agentMessageTool } from './agent/agentMessage.js' ;
7+ import { agentStartTool } from './agent/agentStart.js' ;
78import { listAgentsTool } from './agent/listAgents.js' ;
9+ import { fetchTool } from './fetch/fetch.js' ;
810import { userPromptTool } from './interaction/userPrompt.js' ;
9- import { fetchTool } from './io/fetch.js' ;
10- import { textEditorTool } from './io/textEditor.js' ;
1111import { createMcpTool } from './mcp.js' ;
1212import { listSessionsTool } from './session/listSessions.js' ;
1313import { sessionMessageTool } from './session/sessionMessage.js' ;
1414import { sessionStartTool } from './session/sessionStart.js' ;
1515import { listShellsTool } from './shell/listShells.js' ;
1616import { shellMessageTool } from './shell/shellMessage.js' ;
1717import { shellStartTool } from './shell/shellStart.js' ;
18- import { sleepTool } from './system/sleep.js' ;
18+ import { sleepTool } from './sleep/sleep.js' ;
19+ import { textEditorTool } from './textEditor/textEditor.js' ;
1920
2021// Import these separately to avoid circular dependencies
2122
@@ -31,20 +32,24 @@ export function getTools(options?: GetToolsOptions): Tool[] {
3132 // Force cast to Tool type to avoid TypeScript issues
3233 const tools : Tool [ ] = [
3334 textEditorTool as unknown as Tool ,
34- agentExecuteTool as unknown as Tool ,
35- listSessionsTool as unknown as Tool ,
36- /*agentStartTool as unknown as Tool,
37- agentMessageTool as unknown as Tool,*/
35+
36+ //agentExecuteTool as unknown as Tool,
37+ agentStartTool as unknown as Tool ,
38+ agentMessageTool as unknown as Tool ,
39+ listAgentsTool as unknown as Tool ,
3840 agentDoneTool as unknown as Tool ,
41+
3942 fetchTool as unknown as Tool ,
43+
4044 shellStartTool as unknown as Tool ,
4145 shellMessageTool as unknown as Tool ,
46+ listShellsTool as unknown as Tool ,
47+
4248 sessionStartTool as unknown as Tool ,
4349 sessionMessageTool as unknown as Tool ,
44- //respawnTool as unknown as Tool, this is a confusing tool for now.
50+ listSessionsTool as unknown as Tool ,
51+
4552 sleepTool as unknown as Tool ,
46- listShellsTool as unknown as Tool ,
47- listAgentsTool as unknown as Tool ,
4853 ] ;
4954
5055 // Only include userPrompt tool if enabled
0 commit comments