diff --git a/src/components/plugins/PluginSettingsTab.tsx b/src/components/plugins/PluginSettingsTab.tsx index a285ed7c..a918a879 100644 --- a/src/components/plugins/PluginSettingsTab.tsx +++ b/src/components/plugins/PluginSettingsTab.tsx @@ -1,9 +1,11 @@ import { useState } from 'react'; -import { Trash2, RefreshCw, GitBranch, Loader2, ServerCrash, ChevronRight, ShieldAlert, ExternalLink, BookOpen } from 'lucide-react'; +import { Trash2, RefreshCw, GitBranch, Loader2, ServerCrash, ChevronRight, ShieldAlert, ExternalLink, BookOpen, Download, BarChart3 } from 'lucide-react'; import { usePlugins } from '../../contexts/PluginsContext'; import PluginIcon from './PluginIcon'; import type { Plugin } from '../../contexts/PluginsContext'; +const STARTER_PLUGIN_URL = 'https://github.com/cloudcli-ai/cloudcli-plugin-starter'; + /* ─── Toggle Switch ─────────────────────────────────────────────────────── */ function ToggleSwitch({ checked, onChange }: { checked: boolean; onChange: (v: boolean) => void }) { return ( @@ -186,6 +188,49 @@ function PluginCard({ ); } +/* ─── Starter Plugin Card ───────────────────────────────────────────────── */ +function StarterPluginCard({ onInstall, installing }: { onInstall: () => void; installing: boolean }) { + return ( +
+ File counts, lines of code, file-type breakdown, and recent activity for your project. +
+
- Extend the interface with custom tabs. Drop a folder in{' '}
-
- ~/.claude-code-ui/plugins/
+ Extend the interface with custom plugins. Install from{' '}
+
+ git
{' '}
- or install from git.
+ or drop a folder in{' '}
+
+ ~/.claude-code-ui/plugins/
+
{installError}
- )} - -
-
- Build your own plugin or start from an example. -
-{installError}
+ )} + +
+