| export const DEFAULT_AGENTPRESS_TOOLS: Record<string, { enabled: boolean; description: string; icon: string; color: string }> = { |
| 'sb_shell_tool': { enabled: true, description: 'Execute shell commands in tmux sessions for terminal operations, CLI tools, and system management', icon: 'π»', color: 'bg-slate-100 dark:bg-slate-800' }, |
| 'sb_files_tool': { enabled: true, description: 'Create, read, update, and delete files in the workspace with comprehensive file management', icon: 'π', color: 'bg-blue-100 dark:bg-blue-800/50' }, |
| 'sb_browser_tool': { enabled: true, description: 'Browser automation for web navigation, clicking, form filling, and page interaction', icon: 'π', color: 'bg-indigo-100 dark:bg-indigo-800/50' }, |
| 'sb_deploy_tool': { enabled: true, description: 'Deploy applications and services with automated deployment capabilities', icon: 'π', color: 'bg-green-100 dark:bg-green-800/50' }, |
| 'sb_expose_tool': { enabled: true, description: 'Expose services and manage ports for application accessibility', icon: 'π', color: 'bg-orange-100 dark:bg-orange-800/20' }, |
| 'web_search_tool': { enabled: true, description: 'Search the web using Tavily API and scrape webpages with Firecrawl for research', icon: 'π', color: 'bg-yellow-100 dark:bg-yellow-800/50' }, |
| 'sb_vision_tool': { enabled: true, description: 'Vision and image processing capabilities for visual content analysis', icon: 'ποΈ', color: 'bg-pink-100 dark:bg-pink-800/50' }, |
| 'data_providers_tool': { enabled: true, description: 'Access to data providers and external APIs (requires RapidAPI key)', icon: 'π', color: 'bg-cyan-100 dark:bg-cyan-800/50' }, |
| }; |
|
|
| export const getToolDisplayName = (toolName: string): string => { |
| const displayNames: Record<string, string> = { |
| 'sb_shell_tool': 'Terminal', |
| 'sb_files_tool': 'File Manager', |
| 'sb_browser_tool': 'Browser Automation', |
| 'sb_deploy_tool': 'Deploy Tool', |
| 'sb_expose_tool': 'Port Exposure', |
| 'web_search_tool': 'Web Search', |
| 'sb_vision_tool': 'Image Processing', |
| 'data_providers_tool': 'Data Providers', |
| }; |
| |
| return displayNames[toolName] || toolName.replace(/_/g, ' ').replace(/\b\w/g, l => l.toUpperCase()); |
| }; |