MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ToolkitContentsEmpty

Function ToolkitContentsEmpty

packages/plugins/toolkits/src/page.tsx:705–722  ·  view source on GitHub ↗
(props: { onManageConnections: () => void })

Source from the content-addressed store, hash-verified

703}
704
705function 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
724function ToolkitToolsPanel(props: {
725 tools: readonly ToolSummary[];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected