|
15 | 15 |
|
16 | 16 | import { useEffect, useState } from 'react'; |
17 | 17 | import { Switch, useToast, ToastContainer } from '@mcpmux/ui'; |
18 | | -import { |
19 | | - Sparkles, |
20 | | - Brain, |
21 | | - BookOpen, |
22 | | - Puzzle, |
23 | | - Webhook, |
24 | | - Wrench, |
25 | | - Eye, |
26 | | - Pencil, |
27 | | - Boxes, |
28 | | - Loader2, |
29 | | - ShieldCheck, |
30 | | -} from 'lucide-react'; |
| 18 | +import { Sparkles, Brain, Wrench, Eye, Pencil, Boxes, Loader2, ShieldCheck } from 'lucide-react'; |
31 | 19 | import { listen } from '@tauri-apps/api/event'; |
32 | 20 | import { |
33 | 21 | listBuiltinServers, |
@@ -56,24 +44,6 @@ const COMING_SOON: ComingSoonServer[] = [ |
56 | 44 | description: 'Notes and recall your AI can read and write across every app.', |
57 | 45 | icon: <Brain className="h-5 w-5" />, |
58 | 46 | }, |
59 | | - { |
60 | | - id: 'skills', |
61 | | - name: 'Skills', |
62 | | - description: 'Install skills from a catalog and target them per Space.', |
63 | | - icon: <BookOpen className="h-5 w-5" />, |
64 | | - }, |
65 | | - { |
66 | | - id: 'hooks', |
67 | | - name: 'Hooks', |
68 | | - description: 'Run your own automations before or after tool calls.', |
69 | | - icon: <Webhook className="h-5 w-5" />, |
70 | | - }, |
71 | | - { |
72 | | - id: 'plugins', |
73 | | - name: 'Plugins', |
74 | | - description: 'Community plugins exposed as first-class tools.', |
75 | | - icon: <Puzzle className="h-5 w-5" />, |
76 | | - }, |
77 | 47 | ]; |
78 | 48 |
|
79 | 49 | export function BuiltinServersPage() { |
@@ -171,14 +141,23 @@ export function BuiltinServersPage() { |
171 | 141 | <h1 className="text-2xl font-bold tracking-tight lg:text-3xl">Built-in</h1> |
172 | 142 | <p className="mt-1.5 max-w-2xl text-sm leading-relaxed text-[rgb(var(--muted))] lg:text-base"> |
173 | 143 | Built-in tools and additional features McpMux gives your AI apps — no install needed. |
174 | | - Self-management ships today; Memory, Skills, Hooks, and Plugins are next. Toggle |
175 | | - everything <span className="font-medium text-[rgb(var(--foreground))]">per Space</span>; |
176 | | - these settings apply to{' '} |
177 | | - <span className="font-semibold text-[rgb(var(--foreground))]"> |
| 144 | + Self-management ships today; Memory is next. Toggle everything{' '} |
| 145 | + <span className="font-medium text-[rgb(var(--foreground))]">per Space</span>. |
| 146 | + </p> |
| 147 | + {/* Active-Space scope — made prominent so toggles aren't applied to |
| 148 | + the wrong Space. Built-in config is per-Space, but clients route |
| 149 | + to a Space via their workspace-root binding, which may differ |
| 150 | + from the Space selected here. */} |
| 151 | + <div |
| 152 | + className="mt-3 inline-flex items-center gap-2 rounded-lg border border-[rgb(var(--primary))]/30 bg-[rgb(var(--primary))]/10 px-3 py-2" |
| 153 | + data-testid="builtin-active-space" |
| 154 | + > |
| 155 | + <Boxes className="h-4 w-4 flex-shrink-0 text-[rgb(var(--primary))]" /> |
| 156 | + <span className="text-sm text-[rgb(var(--muted))]">These settings apply to</span> |
| 157 | + <span className="text-sm font-semibold text-[rgb(var(--foreground))]"> |
178 | 158 | {space?.name ?? '…'} |
179 | 159 | </span> |
180 | | - . |
181 | | - </p> |
| 160 | + </div> |
182 | 161 | </div> |
183 | 162 | </header> |
184 | 163 |
|
|
0 commit comments