@@ -3,19 +3,20 @@ import { Tool } from '../core/types.js';
3
3
4
4
// Import tools
5
5
import { 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' ;
7
8
import { listAgentsTool } from './agent/listAgents.js' ;
9
+ import { fetchTool } from './fetch/fetch.js' ;
8
10
import { userPromptTool } from './interaction/userPrompt.js' ;
9
- import { fetchTool } from './io/fetch.js' ;
10
- import { textEditorTool } from './io/textEditor.js' ;
11
11
import { createMcpTool } from './mcp.js' ;
12
12
import { listSessionsTool } from './session/listSessions.js' ;
13
13
import { sessionMessageTool } from './session/sessionMessage.js' ;
14
14
import { sessionStartTool } from './session/sessionStart.js' ;
15
15
import { listShellsTool } from './shell/listShells.js' ;
16
16
import { shellMessageTool } from './shell/shellMessage.js' ;
17
17
import { 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' ;
19
20
20
21
// Import these separately to avoid circular dependencies
21
22
@@ -31,20 +32,24 @@ export function getTools(options?: GetToolsOptions): Tool[] {
31
32
// Force cast to Tool type to avoid TypeScript issues
32
33
const tools : Tool [ ] = [
33
34
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 ,
38
40
agentDoneTool as unknown as Tool ,
41
+
39
42
fetchTool as unknown as Tool ,
43
+
40
44
shellStartTool as unknown as Tool ,
41
45
shellMessageTool as unknown as Tool ,
46
+ listShellsTool as unknown as Tool ,
47
+
42
48
sessionStartTool as unknown as Tool ,
43
49
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
+
45
52
sleepTool as unknown as Tool ,
46
- listShellsTool as unknown as Tool ,
47
- listAgentsTool as unknown as Tool ,
48
53
] ;
49
54
50
55
// Only include userPrompt tool if enabled
0 commit comments