import { ChevronDown } from 'lucide-react'; import { useState } from 'react'; import type { AgentCommand } from '@/api/types'; import { cn } from '@/lib/utils'; interface Props { commands: AgentCommand[]; } export function AgentCommandsHint({ commands }: Props) { const [open, setOpen] = useState(false); const [expanded, setExpanded] = useState(null); if (commands.length === 0) return null; return (
{open && ( )}
); }