UNPKG

capsule-ai-cli

Version:

The AI Model Orchestrator - Intelligent multi-model workflows with device-locked licensing

42 lines 2 kB
import { FileReadTool } from './file-read.js'; import { FileWriteTool } from './file-write.js'; import { FileEditTool } from './file-edit.js'; import { FileListTool } from './file-list.js'; import { FileEditWithConfirmationTool, FileWriteWithConfirmationTool } from './file-edit-with-confirmation.js'; import { TodoListTool } from './todo-list.js'; import { SubAgentTool } from './sub-agent.js'; import { BashTool } from './bash.js'; import { BashWithConfirmationTool } from './bash-with-confirmation.js'; import { SearchTool } from './search.js'; import { GitTool } from './git.js'; import { WebFetchTool } from './web-fetch.js'; import { GoogleSearchTool } from './google-search.js'; import { toolRegistry } from '../registry.js'; export function registerBuiltinToolsForTaskMode() { toolRegistry.register(new FileListTool()); toolRegistry.register(new FileReadTool()); toolRegistry.register(new FileWriteTool()); toolRegistry.register(new FileEditTool()); toolRegistry.register(new SearchTool()); toolRegistry.register(new TodoListTool()); toolRegistry.register(new SubAgentTool()); toolRegistry.register(new BashTool()); toolRegistry.register(new GitTool()); toolRegistry.register(new WebFetchTool()); toolRegistry.register(new GoogleSearchTool()); } export function registerBuiltinTools() { toolRegistry.register(new FileListTool()); toolRegistry.register(new FileReadTool()); toolRegistry.register(new FileWriteWithConfirmationTool()); toolRegistry.register(new FileEditWithConfirmationTool()); toolRegistry.register(new SearchTool()); toolRegistry.register(new TodoListTool()); toolRegistry.register(new SubAgentTool()); toolRegistry.register(new BashWithConfirmationTool()); toolRegistry.register(new GitTool()); toolRegistry.register(new WebFetchTool()); toolRegistry.register(new GoogleSearchTool()); } export { FileReadTool, FileWriteTool, FileEditTool, BashTool }; //# sourceMappingURL=index.js.map