(props: { onManageConnections: () => void })
| 703 | } |
| 704 | |
| 705 | function ToolkitContentsEmpty(props: { onManageConnections: () => void }) { |
| 706 | return ( |
| 707 | <div className="flex h-full items-center justify-center px-6 py-10"> |
| 708 | <div className="max-w-sm text-center"> |
| 709 | <div className="mx-auto flex size-11 items-center justify-center rounded-md border border-border/70 bg-muted/30 text-muted-foreground"> |
| 710 | <PlugIcon className="size-5" /> |
| 711 | </div> |
| 712 | <h3 className="mt-4 text-sm font-semibold text-foreground">No connections added</h3> |
| 713 | <p className="mt-1.5 text-sm leading-6 text-muted-foreground"> |
| 714 | Add a connection to decide what this toolkit exposes. |
| 715 | </p> |
| 716 | <Button type="button" size="sm" onClick={props.onManageConnections} className="mt-4"> |
| 717 | Manage connections |
| 718 | </Button> |
| 719 | </div> |
| 720 | </div> |
| 721 | ); |
| 722 | } |
| 723 | |
| 724 | function ToolkitToolsPanel(props: { |
| 725 | tools: readonly ToolSummary[]; |
nothing calls this directly
no outgoing calls
no test coverage detected