import { Link } from "react-router-dom" import { Terminal } from "lucide-react" import type { ToolSummary } from "@/types" import { runnerLabel } from "@/lib/labels" interface ToolCardProps { tool: ToolSummary } export function ToolCard({ tool }: ToolCardProps) { return (
{tool.id} {tool.installed && ( installed )}
{tool.description && (

{tool.description}

)}
{tool.runner && ( {runnerLabel(tool.runner)} )} {tool.version && ( v{tool.version} )}
{tool.system_dependencies.length > 0 && (
{tool.system_dependencies.map((dep) => ( {dep} ))}
)}
) }