- Add intelligent-router.sh hook for automatic agent routing - Add AUTO-TRIGGER-SUMMARY.md documentation - Add FINAL-INTEGRATION-SUMMARY.md documentation - Complete Prometheus integration (6 commands + 4 tools) - Complete Dexto integration (12 commands + 5 tools) - Enhanced Ralph with access to all agents - Fix /clawd command (removed disable-model-invocation) - Update hooks.json to v5 with intelligent routing - 291 total skills now available - All 21 commands with automatic routing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import React from 'react';
|
|
import { Plus } from 'lucide-react';
|
|
import { Button } from './ui/button';
|
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './ui/tooltip';
|
|
|
|
type Props = {
|
|
onClick: () => void;
|
|
className?: string;
|
|
variant?: 'outline' | 'ghost';
|
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
};
|
|
|
|
export function NewChatButton({ onClick, className, variant = 'outline', side = 'bottom' }: Props) {
|
|
return (
|
|
<TooltipProvider>
|
|
<Tooltip>
|
|
<TooltipTrigger asChild>
|
|
<Button
|
|
variant={variant}
|
|
size="sm"
|
|
onClick={onClick}
|
|
className={['h-8 w-8 p-0', className].filter(Boolean).join(' ')}
|
|
aria-label="New chat"
|
|
>
|
|
<Plus className="h-4 w-4" />
|
|
</Button>
|
|
</TooltipTrigger>
|
|
<TooltipContent side={side}>New Chat (⌘K)</TooltipContent>
|
|
</Tooltip>
|
|
</TooltipProvider>
|
|
);
|
|
}
|
|
|
|
export default NewChatButton;
|