import { DashboardLayout } from "@/components/layout/sidebar"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Badge } from "@/components/ui/badge"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Wrench, Plus, FileCode, Terminal, Globe, Database, Mail, Calendar, CheckCircle2, } from "lucide-react"; const installedTools = [ { id: 1, name: "File System Assistant", description: "Organize, search, and manage local files", category: "system", status: "active", lastUsed: "Today", }, { id: 2, name: "Browser Automation", description: "Web research, screenshots, form filling", category: "web", status: "active", lastUsed: "Yesterday", }, { id: 3, name: "Calendar Assistant", description: "Apple Calendar + Google Calendar integration", category: "calendar", status: "active", lastUsed: "Today", }, { id: 4, name: "Email Assistant", description: "Apple Mail + Gmail integration", category: "email", status: "active", lastUsed: "Today", }, { id: 5, name: "Daily Automation", description: "Morning briefing orchestration", category: "automation", status: "active", lastUsed: "Today", }, ]; const toolTemplates = [ { name: "API Integration", description: "Connect to external APIs", icon: Globe, category: "integration", }, { name: "Database Tool", description: "Query and manage databases", icon: Database, category: "data", }, { name: "Script Runner", description: "Execute custom scripts", icon: Terminal, category: "automation", }, { name: "Email Processor", description: "Process and route emails", icon: Mail, category: "email", }, { name: "Calendar Sync", description: "Sync multiple calendars", icon: Calendar, category: "calendar", }, ]; const categoryColors: Record = { system: "bg-blue-500/10 text-blue-500", web: "bg-purple-500/10 text-purple-500", calendar: "bg-green-500/10 text-green-500", email: "bg-yellow-500/10 text-yellow-500", automation: "bg-pink-500/10 text-pink-500", integration: "bg-orange-500/10 text-orange-500", data: "bg-cyan-500/10 text-cyan-500", }; export default function ToolsPage() { return (

Tool Builder

Create and manage custom tools and skills.

Installed ({installedTools.length}) Templates Quick Builder
{installedTools.map((tool) => (
{tool.category}
{tool.name}

{tool.description}

{tool.status} Last used: {tool.lastUsed}
))}
{toolTemplates.map((template, i) => { const Icon = template.icon; return (
Template
{template.name}

{template.description}

); })}
Quick Tool Builder