@codebolt/codeboltjs 2.2.1 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/Readme.md +3 -0
  2. package/dist/core/Codebolt.d.ts +212 -165
  3. package/dist/core/Codebolt.js +267 -6
  4. package/dist/core/websocket.js +9 -11
  5. package/dist/index.d.ts +1 -1
  6. package/dist/modules/agent.d.ts +2 -16
  7. package/dist/modules/agent.js +15 -33
  8. package/dist/modules/browser.d.ts +1 -1
  9. package/dist/modules/browser.js +52 -51
  10. package/dist/modules/chat.d.ts +2 -2
  11. package/dist/modules/chat.js +20 -18
  12. package/dist/modules/codeutils.d.ts +1 -9
  13. package/dist/modules/codeutils.js +13 -111
  14. package/dist/modules/dbmemory.d.ts +3 -3
  15. package/dist/modules/dbmemory.js +8 -7
  16. package/dist/modules/debug.d.ts +1 -1
  17. package/dist/modules/fs.d.ts +59 -28
  18. package/dist/modules/fs.js +86 -45
  19. package/dist/modules/git.d.ts +1 -1
  20. package/dist/modules/git.js +31 -30
  21. package/dist/modules/history.d.ts +1 -1
  22. package/dist/modules/history.js +7 -6
  23. package/dist/modules/llm.d.ts +13 -20
  24. package/dist/modules/llm.js +16 -15
  25. package/dist/modules/mcp.d.ts +4 -4
  26. package/dist/modules/mcp.js +25 -25
  27. package/dist/modules/outputparsers.d.ts +22 -22
  28. package/dist/modules/outputparsers.js +7 -5
  29. package/dist/modules/project.d.ts +1 -1
  30. package/dist/modules/project.js +15 -13
  31. package/dist/modules/state.d.ts +1 -1
  32. package/dist/modules/state.js +16 -15
  33. package/dist/modules/task.d.ts +136 -92
  34. package/dist/modules/task.js +354 -205
  35. package/dist/modules/terminal.d.ts +1 -1
  36. package/dist/modules/terminal.js +12 -11
  37. package/dist/modules/tokenizer.d.ts +1 -1
  38. package/dist/modules/tokenizer.js +7 -6
  39. package/dist/modules/user-message-manager.d.ts +165 -0
  40. package/dist/modules/user-message-manager.js +308 -0
  41. package/dist/modules/user-message-utilities.d.ts +111 -0
  42. package/dist/modules/user-message-utilities.js +115 -0
  43. package/dist/modules/utils.d.ts +1 -1
  44. package/dist/modules/utils.js +4 -3
  45. package/dist/modules/vectordb.d.ts +1 -1
  46. package/dist/modules/vectordb.js +13 -12
  47. package/dist/notificationfunctions/agent.js +7 -6
  48. package/dist/notificationfunctions/browser.js +9 -8
  49. package/dist/notificationfunctions/chat.js +9 -8
  50. package/dist/notificationfunctions/codeutils.js +9 -8
  51. package/dist/notificationfunctions/crawler.js +9 -8
  52. package/dist/notificationfunctions/dbmemory.js +9 -8
  53. package/dist/notificationfunctions/fs.js +45 -44
  54. package/dist/notificationfunctions/git.d.ts +2 -2
  55. package/dist/notificationfunctions/git.js +111 -51
  56. package/dist/notificationfunctions/history.js +9 -8
  57. package/dist/notificationfunctions/llm.js +9 -8
  58. package/dist/notificationfunctions/mcp.js +17 -16
  59. package/dist/notificationfunctions/search.js +13 -12
  60. package/dist/notificationfunctions/system.js +5 -4
  61. package/dist/notificationfunctions/terminal.js +5 -4
  62. package/dist/notificationfunctions/todo.js +13 -12
  63. package/dist/types/commonTypes.d.ts +4 -0
  64. package/dist/types/index.d.ts +1 -1
  65. package/dist/types/libFunctionTypes.d.ts +918 -29
  66. package/dist/types/libFunctionTypes.js +33 -0
  67. package/dist/types/notificationFunctions/git.d.ts +40 -1
  68. package/dist/types/notificationFunctions/index.d.ts +1 -0
  69. package/dist/types/notificationFunctions/index.js +1 -0
  70. package/package.json +17 -25
  71. package/dist/modules/codeparsers.d.ts +0 -37
  72. package/dist/modules/codeparsers.js +0 -329
@@ -12,6 +12,7 @@ exports.sendInferenceResponse = sendInferenceResponse;
12
12
  exports.getTokenCount = getTokenCount;
13
13
  exports.sendTokenCountResponse = sendTokenCountResponse;
14
14
  const utils_1 = require("./utils");
15
+ const enum_1 = require("@codebolt/types/enum");
15
16
  // ===== LLM INFERENCE FUNCTIONS =====
16
17
  /**
17
18
  * Sends an LLM inference request notification
@@ -21,8 +22,8 @@ const utils_1 = require("./utils");
21
22
  function sendInferenceRequest(data, toolUseId) {
22
23
  const notification = {
23
24
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
24
- type: "llmnotify",
25
- action: "inferenceRequest",
25
+ type: enum_1.NotificationEventType.LLM_NOTIFY,
26
+ action: enum_1.LlmNotificationAction.INFERENCE_REQUEST,
26
27
  data
27
28
  };
28
29
  (0, utils_1.sendNotification)(notification, 'llm-inference-request');
@@ -40,8 +41,8 @@ function sendInferenceResponse(content, isError = false, toolUseId) {
40
41
  }
41
42
  const notification = {
42
43
  toolUseId,
43
- type: "llmnotify",
44
- action: "inferenceResult",
44
+ type: enum_1.NotificationEventType.LLM_NOTIFY,
45
+ action: enum_1.LlmNotificationAction.INFERENCE_RESULT,
45
46
  content,
46
47
  isError
47
48
  };
@@ -60,8 +61,8 @@ function getTokenCount(data, toolUseId) {
60
61
  }
61
62
  const notification = {
62
63
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
63
- type: "llmnotify",
64
- action: "getTokenCountRequest",
64
+ type: enum_1.NotificationEventType.LLM_NOTIFY,
65
+ action: enum_1.LlmNotificationAction.GET_TOKEN_COUNT_REQUEST,
65
66
  data
66
67
  };
67
68
  (0, utils_1.sendNotification)(notification, 'llm-token-count-request');
@@ -80,8 +81,8 @@ function sendTokenCountResponse(content, isError = false, toolUseId, data) {
80
81
  }
81
82
  const notification = {
82
83
  toolUseId,
83
- type: "llmnotify",
84
- action: "getTokenCountResult",
84
+ type: enum_1.NotificationEventType.LLM_NOTIFY,
85
+ action: enum_1.LlmNotificationAction.GET_TOKEN_COUNT_RESULT,
85
86
  content,
86
87
  isError,
87
88
  ...(data && { data })
@@ -16,6 +16,7 @@ exports.GetToolsResultNotify = GetToolsResultNotify;
16
16
  exports.ExecuteToolRequestNotify = ExecuteToolRequestNotify;
17
17
  exports.ExecuteToolResultNotify = ExecuteToolResultNotify;
18
18
  const utils_1 = require("./utils");
19
+ const enum_1 = require("@codebolt/types/enum");
19
20
  // ===== GET ENABLED MCP SERVERS FUNCTIONS =====
20
21
  /**
21
22
  * Sends a get enabled MCP servers request notification
@@ -24,8 +25,8 @@ const utils_1 = require("./utils");
24
25
  function GetEnabledMCPServersRequestNotify(toolUseId) {
25
26
  const notification = {
26
27
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
27
- type: "mcpnotify",
28
- action: "getEnabledMCPServersRequest",
28
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
29
+ action: enum_1.McpNotificationAction.GET_ENABLED_MCP_SERVERS_REQUEST,
29
30
  data: {}
30
31
  };
31
32
  (0, utils_1.sendNotification)(notification, 'mcp-get-enabled-servers');
@@ -43,8 +44,8 @@ function GetEnabledMCPServersResultNotify(content, isError = false, toolUseId) {
43
44
  }
44
45
  const notification = {
45
46
  toolUseId,
46
- type: "mcpnotify",
47
- action: "getEnabledMCPServersResult",
47
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
48
+ action: enum_1.McpNotificationAction.GET_ENABLED_MCP_SERVERS_RESULT,
48
49
  content,
49
50
  isError
50
51
  };
@@ -63,8 +64,8 @@ function ListToolsFromMCPServersRequestNotify(toolboxes, toolUseId) {
63
64
  }
64
65
  const notification = {
65
66
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
66
- type: "mcpnotify",
67
- action: "listToolsFromMCPServersRequest",
67
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
68
+ action: enum_1.McpNotificationAction.LIST_TOOLS_FROM_MCP_SERVERS_REQUEST,
68
69
  data: {
69
70
  toolboxes: toolboxes
70
71
  }
@@ -84,8 +85,8 @@ function ListToolsFromMCPServersResultNotify(content, isError = false, toolUseId
84
85
  }
85
86
  const notification = {
86
87
  toolUseId,
87
- type: "mcpnotify",
88
- action: "listToolsFromMCPServersResult",
88
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
89
+ action: enum_1.McpNotificationAction.LIST_TOOLS_FROM_MCP_SERVERS_RESULT,
89
90
  content,
90
91
  isError
91
92
  };
@@ -104,8 +105,8 @@ function GetToolsRequestNotify(tools, toolUseId) {
104
105
  }
105
106
  const notification = {
106
107
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
107
- type: "mcpnotify",
108
- action: "getToolsRequest",
108
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
109
+ action: enum_1.McpNotificationAction.GET_TOOLS_REQUEST,
109
110
  data: {
110
111
  tools: tools
111
112
  }
@@ -125,8 +126,8 @@ function GetToolsResultNotify(content, isError = false, toolUseId) {
125
126
  }
126
127
  const notification = {
127
128
  toolUseId,
128
- type: "mcpnotify",
129
- action: "getToolsResult",
129
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
130
+ action: enum_1.McpNotificationAction.GET_TOOLS_RESULT,
130
131
  content,
131
132
  isError
132
133
  };
@@ -147,8 +148,8 @@ function ExecuteToolRequestNotify(toolbox, toolName, params, toolUseId) {
147
148
  }
148
149
  const notification = {
149
150
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
150
- type: "mcpnotify",
151
- action: "executeToolRequest",
151
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
152
+ action: enum_1.McpNotificationAction.EXECUTE_TOOL_REQUEST,
152
153
  data: {
153
154
  toolbox: toolbox,
154
155
  toolName: toolName,
@@ -170,8 +171,8 @@ function ExecuteToolResultNotify(content, isError = false, toolUseId) {
170
171
  }
171
172
  const notification = {
172
173
  toolUseId,
173
- type: "mcpnotify",
174
- action: "executeToolResult",
174
+ type: enum_1.NotificationEventType.MCP_NOTIFY,
175
+ action: enum_1.McpNotificationAction.EXECUTE_TOOL_RESULT,
175
176
  content,
176
177
  isError
177
178
  };
@@ -14,6 +14,7 @@ exports.SearchResultNotify = SearchResultNotify;
14
14
  exports.GetFirstLinkRequestNotify = GetFirstLinkRequestNotify;
15
15
  exports.GetFirstLinkResultNotify = GetFirstLinkResultNotify;
16
16
  const utils_1 = require("./utils");
17
+ const enum_1 = require("@codebolt/types/enum");
17
18
  // ===== SEARCH INIT FUNCTIONS =====
18
19
  /**
19
20
  * Sends a search init request notification
@@ -23,8 +24,8 @@ const utils_1 = require("./utils");
23
24
  function SearchInitRequestNotify(engine, toolUseId) {
24
25
  const notification = {
25
26
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
26
- type: "searchnotify",
27
- action: "searchInitRequest",
27
+ type: enum_1.NotificationEventType.SEARCH_NOTIFY,
28
+ action: enum_1.SearchNotificationAction.SEARCH_INIT_REQUEST,
28
29
  data: {
29
30
  engine: engine
30
31
  }
@@ -44,8 +45,8 @@ function SearchInitResultNotify(content, isError = false, toolUseId) {
44
45
  }
45
46
  const notification = {
46
47
  toolUseId,
47
- type: "searchnotify",
48
- action: "searchInitResult",
48
+ type: enum_1.NotificationEventType.SEARCH_NOTIFY,
49
+ action: enum_1.SearchNotificationAction.SEARCH_INIT_RESULT,
49
50
  content,
50
51
  isError
51
52
  };
@@ -64,8 +65,8 @@ function SearchRequestNotify(query, toolUseId) {
64
65
  }
65
66
  const notification = {
66
67
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
67
- type: "searchnotify",
68
- action: "searchRequest",
68
+ type: enum_1.NotificationEventType.SEARCH_NOTIFY,
69
+ action: enum_1.SearchNotificationAction.SEARCH_REQUEST,
69
70
  data: {
70
71
  query: query
71
72
  }
@@ -85,8 +86,8 @@ function SearchResultNotify(content, isError = false, toolUseId) {
85
86
  }
86
87
  const notification = {
87
88
  toolUseId,
88
- type: "searchnotify",
89
- action: "searchResult",
89
+ type: enum_1.NotificationEventType.SEARCH_NOTIFY,
90
+ action: enum_1.SearchNotificationAction.SEARCH_RESULT,
90
91
  content,
91
92
  isError
92
93
  };
@@ -105,8 +106,8 @@ function GetFirstLinkRequestNotify(query, toolUseId) {
105
106
  }
106
107
  const notification = {
107
108
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
108
- type: "searchnotify",
109
- action: "getFirstLinkRequest",
109
+ type: enum_1.NotificationEventType.SEARCH_NOTIFY,
110
+ action: enum_1.SearchNotificationAction.GET_FIRST_LINK_REQUEST,
110
111
  data: {
111
112
  query: query
112
113
  }
@@ -126,8 +127,8 @@ function GetFirstLinkResultNotify(content, isError = false, toolUseId) {
126
127
  }
127
128
  const notification = {
128
129
  toolUseId,
129
- type: "searchnotify",
130
- action: "getFirstLinkResult",
130
+ type: enum_1.NotificationEventType.SEARCH_NOTIFY,
131
+ action: enum_1.SearchNotificationAction.GET_FIRST_LINK_RESULT,
131
132
  content,
132
133
  isError
133
134
  };
@@ -10,6 +10,7 @@ exports.systemNotifications = void 0;
10
10
  exports.AgentInitNotify = AgentInitNotify;
11
11
  exports.AgentCompletionNotify = AgentCompletionNotify;
12
12
  const utils_1 = require("./utils");
13
+ const enum_1 = require("@codebolt/types/enum");
13
14
  // ===== AGENT INIT FUNCTIONS =====
14
15
  /**
15
16
  * Sends an agent init notification
@@ -19,8 +20,8 @@ const utils_1 = require("./utils");
19
20
  function AgentInitNotify(onStopClicked, toolUseId) {
20
21
  const notification = {
21
22
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
22
- type: "chatnotify",
23
- action: "processStartedRequest",
23
+ type: enum_1.NotificationEventType.CHAT_NOTIFY,
24
+ action: enum_1.SystemNotificationAction.PROCESS_STARTED_REQUEST,
24
25
  data: {
25
26
  onStopClicked: onStopClicked
26
27
  }
@@ -38,8 +39,8 @@ function AgentInitNotify(onStopClicked, toolUseId) {
38
39
  function AgentCompletionNotify(resultString, sessionId, duration, toolUseId) {
39
40
  const notification = {
40
41
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
41
- type: "chatnotify",
42
- action: "processStoppedRequest",
42
+ type: enum_1.NotificationEventType.CHAT_NOTIFY,
43
+ action: enum_1.SystemNotificationAction.PROCESS_STOPPED_REQUEST,
43
44
  data: {
44
45
  sessionId: sessionId,
45
46
  duration: duration || "0ms",
@@ -10,6 +10,7 @@ exports.terminalNotifications = void 0;
10
10
  exports.CommandExecutionRequestNotify = CommandExecutionRequestNotify;
11
11
  exports.CommandExecutionResponseNotify = CommandExecutionResponseNotify;
12
12
  const utils_1 = require("./utils");
13
+ const enum_1 = require("@codebolt/types/enum");
13
14
  // ===== COMMAND EXECUTION FUNCTIONS =====
14
15
  /**
15
16
  * Sends a command execution request notification
@@ -25,8 +26,8 @@ function CommandExecutionRequestNotify(command, returnEmptyStringOnSuccess, exec
25
26
  }
26
27
  const notification = {
27
28
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
28
- type: "terminalnotify",
29
- action: "executeCommandRequest",
29
+ type: enum_1.NotificationEventType.TERMINAL_NOTIFY,
30
+ action: enum_1.TerminalNotificationAction.EXECUTE_COMMAND_REQUEST,
30
31
  data: {
31
32
  command: command,
32
33
  returnEmptyStringOnSuccess: returnEmptyStringOnSuccess,
@@ -48,8 +49,8 @@ function CommandExecutionResponseNotify(content, isError = false, toolUseId) {
48
49
  }
49
50
  const notification = {
50
51
  toolUseId,
51
- type: "terminalnotify",
52
- action: "executeCommandResult",
52
+ type: enum_1.NotificationEventType.TERMINAL_NOTIFY,
53
+ action: enum_1.TerminalNotificationAction.EXECUTE_COMMAND_RESULT,
53
54
  content,
54
55
  isError
55
56
  };
@@ -14,6 +14,7 @@ exports.GetTodoResponseNotify = GetTodoResponseNotify;
14
14
  exports.EditTodoTaskRequestNotify = EditTodoTaskRequestNotify;
15
15
  exports.EditTodoTaskResponseNotify = EditTodoTaskResponseNotify;
16
16
  const utils_1 = require("./utils");
17
+ const enum_1 = require("@codebolt/types/enum");
17
18
  // ===== ADD TODO FUNCTIONS =====
18
19
  /**
19
20
  * Sends an add todo request notification
@@ -29,8 +30,8 @@ const utils_1 = require("./utils");
29
30
  function AddTodoRequestNotify(title, agentId, description, phase, category, priority, tags, toolUseId) {
30
31
  const notification = {
31
32
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
32
- type: "tasknotify",
33
- action: "addTaskRequest",
33
+ type: enum_1.NotificationEventType.TASK_NOTIFY,
34
+ action: enum_1.TaskNotificationAction.ADD_TASK_REQUEST,
34
35
  data: {
35
36
  title: title,
36
37
  agentId: agentId,
@@ -56,8 +57,8 @@ function AddTodoResponseNotify(content, isError = false, toolUseId) {
56
57
  }
57
58
  const notification = {
58
59
  toolUseId,
59
- type: "tasknotify",
60
- action: "addTaskResult",
60
+ type: enum_1.NotificationEventType.TASK_NOTIFY,
61
+ action: enum_1.TaskNotificationAction.ADD_TASK_RESULT,
61
62
  content,
62
63
  isError
63
64
  };
@@ -72,8 +73,8 @@ function AddTodoResponseNotify(content, isError = false, toolUseId) {
72
73
  function GetTodoRequestNotify(filters, toolUseId) {
73
74
  const notification = {
74
75
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
75
- type: "tasknotify",
76
- action: "getTasksRequest",
76
+ type: enum_1.NotificationEventType.TASK_NOTIFY,
77
+ action: enum_1.TaskNotificationAction.GET_TASKS_REQUEST,
77
78
  data: {
78
79
  filters: filters
79
80
  }
@@ -93,8 +94,8 @@ function GetTodoResponseNotify(content, isError = false, toolUseId) {
93
94
  }
94
95
  const notification = {
95
96
  toolUseId,
96
- type: "tasknotify",
97
- action: "getTasksResult",
97
+ type: enum_1.NotificationEventType.TASK_NOTIFY,
98
+ action: enum_1.TaskNotificationAction.GET_TASKS_RESULT,
98
99
  content,
99
100
  isError
100
101
  };
@@ -116,8 +117,8 @@ function GetTodoResponseNotify(content, isError = false, toolUseId) {
116
117
  function EditTodoTaskRequestNotify(taskId, title, description, phase, category, priority, tags, status, toolUseId) {
117
118
  const notification = {
118
119
  toolUseId: toolUseId || (0, utils_1.generateToolUseId)(),
119
- type: "tasknotify",
120
- action: "updateTaskRequest",
120
+ type: enum_1.NotificationEventType.TASK_NOTIFY,
121
+ action: enum_1.TaskNotificationAction.UPDATE_TASK_REQUEST,
121
122
  data: {
122
123
  taskId: taskId,
123
124
  title: title,
@@ -144,8 +145,8 @@ function EditTodoTaskResponseNotify(content, isError = false, toolUseId) {
144
145
  }
145
146
  const notification = {
146
147
  toolUseId,
147
- type: "tasknotify",
148
- action: "updateTaskResult",
148
+ type: enum_1.NotificationEventType.TASK_NOTIFY,
149
+ action: enum_1.TaskNotificationAction.UPDATE_TASK_RESULT,
149
150
  content,
150
151
  isError
151
152
  };
@@ -54,10 +54,14 @@ export interface DiffResult {
54
54
  insertions: number;
55
55
  deletions: number;
56
56
  binary: boolean;
57
+ status?: 'added' | 'modified' | 'deleted' | 'renamed' | 'copied';
58
+ oldFile?: string;
59
+ diff?: string;
57
60
  }>;
58
61
  insertions: number;
59
62
  deletions: number;
60
63
  changed: number;
64
+ rawDiff?: string;
61
65
  }
62
66
  export interface AgentFunction {
63
67
  type: 'function';
@@ -11,5 +11,5 @@
11
11
  * import type { LLMChatOptions, BrowserScreenshotOptions } from 'codeboltjs/types';
12
12
  * ```
13
13
  */
14
- export type { Message, ToolCall, Tool, UserMessage, LLMInferenceParams, APIResponse, CodeboltConfig, ProgressCallback, ErrorCallback, SuccessCallback, CompletionCallback, OpenAIMessage, OpenAITool, ConversationEntry, ToolResult, ToolDetails, UserMessageContent, CodeboltAPI, ReadFileOptions, WriteFileOptions, ListFilesOptions, SearchFilesOptions, GrepSearchOptions, BrowserNavigationOptions, BrowserScreenshotOptions, BrowserElementSelector, TerminalExecuteOptions, GitCommitOptions, GitLogOptions, LLMChatOptions, VectorAddOptions, VectorQueryOptions, AgentMessageHandler, AgentConfiguration, MemorySetOptions, MemoryGetOptions, TaskCreateOptions, TaskUpdateOptions, AddSubTaskOptions, UpdateSubTaskOptions, TaskFilterOptions, TaskMarkdownImportOptions, TaskMarkdownExportOptions, CodeAnalysisOptions, CodeParseOptions, DebugLogOptions, ProjectInfo, CrawlerOptions, MCPExecuteOptions, MCPConfigureOptions, StateUpdateOptions, ChatSendOptions, ChatHistoryOptions, NotificationOptions, PaginationOptions, FilterOptions, AsyncOperationOptions, APIEventMap } from './libFunctionTypes';
14
+ export type { Message, ToolCall, Tool, UserMessage, LLMInferenceParams, APIResponse, CodeboltConfig, ProgressCallback, ErrorCallback, SuccessCallback, CompletionCallback, OpenAIMessage, OpenAITool, ConversationEntry, ToolResult, ToolDetails, UserMessageContent, CodeboltAPI, ReadFileOptions, WriteFileOptions, ListFilesOptions, SearchFilesOptions, GrepSearchOptions, BrowserNavigationOptions, BrowserScreenshotOptions, BrowserElementSelector, TerminalExecuteOptions, LLMChatOptions, VectorAddOptions, VectorQueryOptions, AgentMessageHandler, AgentConfiguration, MemorySetOptions, MemoryGetOptions, TaskCreateOptions, TaskUpdateOptions, AddSubTaskOptions, UpdateSubTaskOptions, TaskFilterOptions, TaskMarkdownImportOptions, TaskMarkdownExportOptions, CodeAnalysisOptions, CodeParseOptions, DebugLogOptions, ProjectInfo, CrawlerOptions, MCPExecuteOptions, MCPConfigureOptions, StateUpdateOptions, ChatSendOptions, ChatHistoryOptions, NotificationOptions, PaginationOptions, FilterOptions, AsyncOperationOptions, APIEventMap } from './libFunctionTypes';
15
15
  export type { GitFileStatus, StatusResult, CommitSummary, DiffResult, AgentFunction, AgentDetail, Agent, Task, SubTask, TaskResponse, VectorItem, VectorQueryResult, FileEntry, SearchMatch, SearchResult, BrowserElement, CodeIssue, CodeAnalysis, CodeMatcher, MCPTool, MCPServer, ASTNode, Notification, DeepPartial, DeepRequired, Optional, Required } from './commonTypes';