@burdenoff/microfe-botmanor 2026.1127.1 → 2026.1127.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/botlit/BotmanorRootInner.js +45 -44
  2. package/dist/botlit/BotmanorRootInner.js.map +1 -1
  3. package/dist/botlit/components/AgentA2APanel.js +63 -62
  4. package/dist/botlit/components/AgentA2APanel.js.map +1 -1
  5. package/dist/botlit/components/AgentBindingsPanel.js +125 -124
  6. package/dist/botlit/components/AgentBindingsPanel.js.map +1 -1
  7. package/dist/botlit/components/AgentFallbackModelsPicker.js +56 -55
  8. package/dist/botlit/components/AgentFallbackModelsPicker.js.map +1 -1
  9. package/dist/botlit/components/AiOperationsPanel.js.map +1 -1
  10. package/dist/botlit/components/AssistantChannelPanel.js +40 -39
  11. package/dist/botlit/components/AssistantChannelPanel.js.map +1 -1
  12. package/dist/botlit/components/AssistantRuntimeSetupPanel.js +36 -35
  13. package/dist/botlit/components/AssistantRuntimeSetupPanel.js.map +1 -1
  14. package/dist/botlit/components/BotAgentsPanel.js +104 -103
  15. package/dist/botlit/components/BotAgentsPanel.js.map +1 -1
  16. package/dist/botlit/components/BotFormFields.js +118 -117
  17. package/dist/botlit/components/BotFormFields.js.map +1 -1
  18. package/dist/botlit/components/BucketDialogs.js +110 -110
  19. package/dist/botlit/components/BucketDialogs.js.map +1 -1
  20. package/dist/botlit/components/ChannelRoutesPanel.js +29 -28
  21. package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -1
  22. package/dist/botlit/components/CreateChannelRouteDialog.js +105 -105
  23. package/dist/botlit/components/CreateChannelRouteDialog.js.map +1 -1
  24. package/dist/botlit/components/DescribeBotDialog.js +86 -86
  25. package/dist/botlit/components/DescribeBotDialog.js.map +1 -1
  26. package/dist/botlit/components/EmptyState.d.ts +8 -0
  27. package/dist/botlit/components/EmptyState.js +43 -30
  28. package/dist/botlit/components/EmptyState.js.map +1 -1
  29. package/dist/botlit/components/HandoffConfigPanel.js +125 -124
  30. package/dist/botlit/components/HandoffConfigPanel.js.map +1 -1
  31. package/dist/botlit/components/HandoffTargetPickers.js +42 -41
  32. package/dist/botlit/components/HandoffTargetPickers.js.map +1 -1
  33. package/dist/botlit/components/KnowledgeBackendMigrationPanel.js +106 -105
  34. package/dist/botlit/components/KnowledgeBackendMigrationPanel.js.map +1 -1
  35. package/dist/botlit/components/KnowledgeRetrievalTestPanel.js +76 -75
  36. package/dist/botlit/components/KnowledgeRetrievalTestPanel.js.map +1 -1
  37. package/dist/botlit/components/KnowledgeSourceImportPanel.js +76 -75
  38. package/dist/botlit/components/KnowledgeSourceImportPanel.js.map +1 -1
  39. package/dist/botlit/components/ModelRegistrationPanel.js +70 -69
  40. package/dist/botlit/components/ModelRegistrationPanel.js.map +1 -1
  41. package/dist/botlit/components/StorePackageDraftCard.js +87 -86
  42. package/dist/botlit/components/StorePackageDraftCard.js.map +1 -1
  43. package/dist/botlit/components/SuggestionsPanel.js.map +1 -1
  44. package/dist/botlit/pages/A2AAgentDetailPage.js +263 -262
  45. package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
  46. package/dist/botlit/pages/A2ARegistryPage.js +47 -46
  47. package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
  48. package/dist/botlit/pages/AgentBuilderPage.js +426 -425
  49. package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
  50. package/dist/botlit/pages/AgentDetailPage.js +1 -0
  51. package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
  52. package/dist/botlit/pages/AgentsListPage.js +248 -247
  53. package/dist/botlit/pages/AgentsListPage.js.map +1 -1
  54. package/dist/botlit/pages/BotChannelsTab.js +324 -310
  55. package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
  56. package/dist/botlit/pages/BotDetailPage.js +1 -0
  57. package/dist/botlit/pages/BotDetailPage.js.map +1 -1
  58. package/dist/botlit/pages/BotWorkflowTab.js +126 -121
  59. package/dist/botlit/pages/BotWorkflowTab.js.map +1 -1
  60. package/dist/botlit/pages/BotsListPage.js +1 -0
  61. package/dist/botlit/pages/BotsListPage.js.map +1 -1
  62. package/dist/botlit/pages/BucketDetailPage.js +1 -0
  63. package/dist/botlit/pages/BucketDetailPage.js.map +1 -1
  64. package/dist/botlit/pages/BucketsPage.js +1 -0
  65. package/dist/botlit/pages/BucketsPage.js.map +1 -1
  66. package/dist/botlit/pages/ChannelDetailPage.js +267 -266
  67. package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
  68. package/dist/botlit/pages/ChannelsPage.js +187 -186
  69. package/dist/botlit/pages/ChannelsPage.js.map +1 -1
  70. package/dist/botlit/pages/ChatPage.js +69 -68
  71. package/dist/botlit/pages/ChatPage.js.map +1 -1
  72. package/dist/botlit/pages/ExecutionDetailPage.js +1 -0
  73. package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
  74. package/dist/botlit/pages/ExecutionsPage.js +191 -191
  75. package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
  76. package/dist/botlit/pages/HandoffsPage.js +65 -64
  77. package/dist/botlit/pages/HandoffsPage.js.map +1 -1
  78. package/dist/botlit/pages/InstalledPackagesPage.js +146 -145
  79. package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
  80. package/dist/botlit/pages/KnowledgeBaseDetailPage.js +235 -234
  81. package/dist/botlit/pages/KnowledgeBaseDetailPage.js.map +1 -1
  82. package/dist/botlit/pages/KnowledgeBasesPage.js +152 -151
  83. package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
  84. package/dist/botlit/pages/MCPServerDetailPage.js +180 -179
  85. package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -1
  86. package/dist/botlit/pages/MCPServersPage.js +145 -145
  87. package/dist/botlit/pages/MCPServersPage.js.map +1 -1
  88. package/dist/botlit/pages/PoliciesPage.js.map +1 -1
  89. package/dist/botlit/pages/PolicyDetailPage.js +293 -292
  90. package/dist/botlit/pages/PolicyDetailPage.js.map +1 -1
  91. package/dist/botlit/pages/PromptStudioPage.js +229 -229
  92. package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
  93. package/dist/botlit/pages/PromptTemplateDetailPage.js +280 -279
  94. package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -1
  95. package/dist/botlit/pages/PromptTemplatesPage.js +31 -30
  96. package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -1
  97. package/dist/botlit/pages/RetrievalProfileDetailPage.js +204 -203
  98. package/dist/botlit/pages/RetrievalProfileDetailPage.js.map +1 -1
  99. package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
  100. package/dist/botlit/pages/SettingsPage.js +153 -153
  101. package/dist/botlit/pages/SettingsPage.js.map +1 -1
  102. package/dist/botlit/pages/SkillDetailPage.js +305 -304
  103. package/dist/botlit/pages/SkillDetailPage.js.map +1 -1
  104. package/dist/botlit/pages/SkillsPage.js.map +1 -1
  105. package/dist/botlit/pages/StorePackageDetailPage.js +1 -0
  106. package/dist/botlit/pages/StorePackageDetailPage.js.map +1 -1
  107. package/dist/botlit/pages/StorePage.js +173 -173
  108. package/dist/botlit/pages/StorePage.js.map +1 -1
  109. package/dist/botlit/utils/confirmAction.d.ts +13 -11
  110. package/dist/botlit/utils/confirmAction.js +26 -4
  111. package/dist/botlit/utils/confirmAction.js.map +1 -1
  112. package/package.json +3 -3
@@ -1,8 +1,8 @@
1
1
  import { useBotlit as e } from "../providers/BotlitProvider.js";
2
- import { isMCPServerHealthy as t, mcpServerDescription as n, mcpServerEndpoint as r, useCreateMCPServer as ee, useDeleteMCPServer as i, useMCPResources as a, useMCPServer as o, useMCPTools as te, useTestMCPConnection as ne, useUpdateMCPServer as re, useUpdateMCPTool as ie } from "../hooks/useMCPServers.js";
3
- import { isNative as s, nativeImpact as ae, nativeNotify as c } from "../../utils/nativeBridge.js";
4
- import { BOTMANOR_PERMISSIONS as l } from "../permissions/botmanorPermissions.js";
5
- import { BotmanorPermissionGate as u, useBotmanorCan as oe } from "../permissions/useBotmanorPermissions.js";
2
+ import { isMCPServerHealthy as t, mcpServerDescription as n, mcpServerEndpoint as r, useCreateMCPServer as ee, useDeleteMCPServer as te, useMCPResources as i, useMCPServer as a, useMCPTools as ne, useTestMCPConnection as re, useUpdateMCPServer as ie, useUpdateMCPTool as ae } from "../hooks/useMCPServers.js";
3
+ import { isNative as o, nativeImpact as oe, nativeNotify as s } from "../../utils/nativeBridge.js";
4
+ import { BOTMANOR_PERMISSIONS as c } from "../permissions/botmanorPermissions.js";
5
+ import { BotmanorPermissionGate as l, useBotmanorCan as u } from "../permissions/useBotmanorPermissions.js";
6
6
  import { PageLayout as d } from "../components/PageLayout.js";
7
7
  import { Card as f, CardContent as p, CardDescription as m, CardHeader as h, CardTitle as g } from "../components/Card.js";
8
8
  import { Button as _ } from "../components/Button.js";
@@ -13,10 +13,10 @@ import "../hooks/index.js";
13
13
  import { formatRelativeTime as C } from "../utils/formatters.js";
14
14
  import "../permissions/index.js";
15
15
  import { useMemo as ce, useState as w } from "react";
16
- import { GlassCard as le, PagePurpose as ue } from "@burdenoff/fe-libs/ui";
17
- import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
16
+ import { GlassCard as le, PagePurpose as ue, ThemedSelect as T } from "@burdenoff/fe-libs/ui";
17
+ import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
18
18
  import { useParams as de } from "react-router";
19
- import { AlertTriangle as fe, ArrowLeft as pe, CheckCircle as me, Clock as he, Edit as ge, ExternalLink as O, Plug as k, PlugZap as A, RefreshCw as j, Save as M, Server as N, Settings as P, Trash2 as F, Wrench as I, XCircle as L } from "lucide-react";
19
+ import { AlertTriangle as fe, ArrowLeft as pe, CheckCircle as me, Clock as he, Edit as ge, ExternalLink as k, Plug as A, PlugZap as j, RefreshCw as M, Save as N, Server as P, Settings as F, Trash2 as I, Wrench as L, XCircle as _e } from "lucide-react";
20
20
  import { toast as R } from "sonner";
21
21
  // src/botlit/pages/MCPServerDetailPage.tsx
22
22
  function z(e, t) {
@@ -24,16 +24,16 @@ function z(e, t) {
24
24
  return typeof n == "string" && n !== "" ? n : void 0;
25
25
  }
26
26
  var B = ({ isNew: B }) => {
27
- let { serverId: V } = de(), { navigateTo: H } = e(), _e = oe(), { data: U, loading: ve, refetch: W } = o(B ? void 0 : V), { data: G } = te(B ? void 0 : V), { data: K } = a(B ? void 0 : V), [ye, be] = ee(), [xe, Se] = re(), [Ce, we] = i(), [Te, Ee] = ne(), [De, Oe] = ie(), [ke, q] = w(!1), [Ae, J] = w(!1), [Y, X] = w({
27
+ let { serverId: V } = de(), { navigateTo: H } = e(), ve = u(), { data: U, loading: ye, refetch: W } = a(B ? void 0 : V), { data: G } = ne(B ? void 0 : V), { data: K } = i(B ? void 0 : V), [be, xe] = ee(), [Se, Ce] = ie(), [we, Te] = te(), [Ee, De] = re(), [Oe, ke] = ae(), [Ae, q] = w(!1), [je, J] = w(!1), [Y, X] = w({
28
28
  name: "",
29
29
  description: "",
30
30
  transport: "HTTP_JSON",
31
31
  baseUrl: "",
32
32
  authMethod: "NONE",
33
33
  secretRefId: ""
34
- }), [Z, je] = w(null), Q = ce(() => G.find((e) => e.name === Z) ?? null, [G, Z]), Me = async () => {
34
+ }), [Z, Me] = w(null), Q = ce(() => G.find((e) => e.name === Z) ?? null, [G, Z]), Ne = async () => {
35
35
  if (Y.name && Y.baseUrl) try {
36
- let e = await ye({
36
+ let e = await be({
37
37
  name: Y.name,
38
38
  type: Y.transport,
39
39
  config: {
@@ -47,15 +47,15 @@ var B = ({ isNew: B }) => {
47
47
  } catch (e) {
48
48
  R.error(e instanceof Error ? e.message : "Failed to connect MCP server");
49
49
  }
50
- }, Ne = async () => {
50
+ }, Pe = async () => {
51
51
  if (V) try {
52
- await Te(V) ? R.success("MCP server is reachable") : R.error("MCP server did not respond"), W();
52
+ await Ee(V) ? R.success("MCP server is reachable") : R.error("MCP server did not respond"), W();
53
53
  } catch (e) {
54
54
  R.error(e instanceof Error ? e.message : "Failed to test MCP connection");
55
55
  }
56
- }, Pe = async () => {
56
+ }, Fe = async () => {
57
57
  if (V && Y.name) try {
58
- await xe({
58
+ await Se({
59
59
  serverId: V,
60
60
  input: {
61
61
  name: Y.name,
@@ -70,13 +70,13 @@ var B = ({ isNew: B }) => {
70
70
  } catch (e) {
71
71
  R.error(e instanceof Error ? e.message : "Failed to update MCP server");
72
72
  }
73
- }, Fe = async () => {
73
+ }, Ie = async () => {
74
74
  if (V) try {
75
- await Ce(V), s() && c("success"), R.success("MCP server disconnected"), H("mcp");
75
+ await we(V), o() && s("success"), R.success("MCP server disconnected"), H("mcp");
76
76
  } catch (e) {
77
- s() && c("error"), R.error(e instanceof Error ? e.message : "Failed to disconnect MCP server");
77
+ o() && s("error"), R.error(e instanceof Error ? e.message : "Failed to disconnect MCP server");
78
78
  }
79
- }, Ie = () => {
79
+ }, Le = () => {
80
80
  U && (X({
81
81
  name: U.name,
82
82
  description: n(U) ?? "",
@@ -91,9 +91,9 @@ var B = ({ isNew: B }) => {
91
91
  case "MEDIUM": return "warning";
92
92
  default: return "success";
93
93
  }
94
- }, Le = async (e, t) => {
94
+ }, Re = async (e, t) => {
95
95
  try {
96
- await De({
96
+ await Oe({
97
97
  toolId: e,
98
98
  input: { riskLevel: t }
99
99
  }), R.success("Tool risk level updated");
@@ -101,32 +101,32 @@ var B = ({ isNew: B }) => {
101
101
  R.error(e instanceof Error ? e.message : "Failed to update tool risk level");
102
102
  }
103
103
  };
104
- return B ? /* @__PURE__ */ E(d, {
104
+ return B ? /* @__PURE__ */ D(d, {
105
105
  title: "Add MCP Server",
106
106
  description: "Connect a new Model Context Protocol server",
107
- actions: /* @__PURE__ */ D("div", {
107
+ actions: /* @__PURE__ */ O("div", {
108
108
  className: "flex gap-2",
109
- children: [/* @__PURE__ */ E(_, {
109
+ children: [/* @__PURE__ */ D(_, {
110
110
  variant: "outline",
111
111
  onClick: () => H("mcp"),
112
112
  children: "Cancel"
113
- }), /* @__PURE__ */ E(_, {
114
- leftIcon: /* @__PURE__ */ E(M, { size: 16 }),
115
- onClick: Me,
116
- isLoading: be.loading,
113
+ }), /* @__PURE__ */ D(_, {
114
+ leftIcon: /* @__PURE__ */ D(N, { size: 16 }),
115
+ onClick: Ne,
116
+ isLoading: xe.loading,
117
117
  disabled: !Y.name || !Y.baseUrl,
118
118
  children: "Connect"
119
119
  })]
120
120
  }),
121
- children: /* @__PURE__ */ E("div", {
121
+ children: /* @__PURE__ */ D("div", {
122
122
  className: "max-w-2xl space-y-6",
123
- children: /* @__PURE__ */ D(f, { children: [/* @__PURE__ */ E(h, { children: /* @__PURE__ */ E(g, { children: "Server Configuration" }) }), /* @__PURE__ */ D(p, {
123
+ children: /* @__PURE__ */ O(f, { children: [/* @__PURE__ */ D(h, { children: /* @__PURE__ */ D(g, { children: "Server Configuration" }) }), /* @__PURE__ */ O(p, {
124
124
  className: "space-y-4",
125
125
  children: [
126
- /* @__PURE__ */ E(v, {
126
+ /* @__PURE__ */ D(v, {
127
127
  label: "Server Name",
128
128
  required: !0,
129
- children: /* @__PURE__ */ E(y, {
129
+ children: /* @__PURE__ */ D(y, {
130
130
  placeholder: "e.g., GitHub MCP Server",
131
131
  value: Y.name,
132
132
  onChange: (e) => X({
@@ -135,9 +135,9 @@ var B = ({ isNew: B }) => {
135
135
  })
136
136
  })
137
137
  }),
138
- /* @__PURE__ */ E(v, {
138
+ /* @__PURE__ */ D(v, {
139
139
  label: "Description",
140
- children: /* @__PURE__ */ E(b, {
140
+ children: /* @__PURE__ */ D(b, {
141
141
  placeholder: "What capabilities does this server provide?",
142
142
  value: Y.description,
143
143
  onChange: (e) => X({
@@ -147,12 +147,12 @@ var B = ({ isNew: B }) => {
147
147
  rows: 3
148
148
  })
149
149
  }),
150
- /* @__PURE__ */ D("div", {
150
+ /* @__PURE__ */ O("div", {
151
151
  className: "grid grid-cols-2 gap-4",
152
- children: [/* @__PURE__ */ E(v, {
152
+ children: [/* @__PURE__ */ D(v, {
153
153
  label: "Transport",
154
154
  required: !0,
155
- children: /* @__PURE__ */ D("select", {
155
+ children: /* @__PURE__ */ O(T, {
156
156
  className: "flex h-10 w-full rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm",
157
157
  value: Y.transport,
158
158
  onChange: (e) => X({
@@ -160,27 +160,27 @@ var B = ({ isNew: B }) => {
160
160
  transport: e.target.value
161
161
  }),
162
162
  children: [
163
- /* @__PURE__ */ E("option", {
163
+ /* @__PURE__ */ D("option", {
164
164
  value: "HTTP_JSON",
165
165
  children: "HTTP JSON"
166
166
  }),
167
- /* @__PURE__ */ E("option", {
167
+ /* @__PURE__ */ D("option", {
168
168
  value: "JSON_RPC",
169
169
  children: "JSON RPC"
170
170
  }),
171
- /* @__PURE__ */ E("option", {
171
+ /* @__PURE__ */ D("option", {
172
172
  value: "SSE",
173
173
  children: "Server-Sent Events"
174
174
  }),
175
- /* @__PURE__ */ E("option", {
175
+ /* @__PURE__ */ D("option", {
176
176
  value: "CUSTOM",
177
177
  children: "Custom"
178
178
  })
179
179
  ]
180
180
  })
181
- }), /* @__PURE__ */ E(v, {
181
+ }), /* @__PURE__ */ D(v, {
182
182
  label: "Auth Method",
183
- children: /* @__PURE__ */ D("select", {
183
+ children: /* @__PURE__ */ O(T, {
184
184
  className: "flex h-10 w-full rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm",
185
185
  value: Y.authMethod,
186
186
  onChange: (e) => X({
@@ -188,19 +188,19 @@ var B = ({ isNew: B }) => {
188
188
  authMethod: e.target.value
189
189
  }),
190
190
  children: [
191
- /* @__PURE__ */ E("option", {
191
+ /* @__PURE__ */ D("option", {
192
192
  value: "NONE",
193
193
  children: "None"
194
194
  }),
195
- /* @__PURE__ */ E("option", {
195
+ /* @__PURE__ */ D("option", {
196
196
  value: "API_KEY",
197
197
  children: "API Key"
198
198
  }),
199
- /* @__PURE__ */ E("option", {
199
+ /* @__PURE__ */ D("option", {
200
200
  value: "OAUTH",
201
201
  children: "OAuth"
202
202
  }),
203
- /* @__PURE__ */ E("option", {
203
+ /* @__PURE__ */ D("option", {
204
204
  value: "CUSTOM_HEADER",
205
205
  children: "Custom Header"
206
206
  })
@@ -208,10 +208,10 @@ var B = ({ isNew: B }) => {
208
208
  })
209
209
  })]
210
210
  }),
211
- /* @__PURE__ */ E(v, {
211
+ /* @__PURE__ */ D(v, {
212
212
  label: "Base URL",
213
213
  required: !0,
214
- children: /* @__PURE__ */ E(y, {
214
+ children: /* @__PURE__ */ D(y, {
215
215
  placeholder: "e.g., https://mcp.example.com",
216
216
  value: Y.baseUrl,
217
217
  onChange: (e) => X({
@@ -220,9 +220,9 @@ var B = ({ isNew: B }) => {
220
220
  })
221
221
  })
222
222
  }),
223
- Y.authMethod !== "NONE" && /* @__PURE__ */ E(v, {
223
+ Y.authMethod !== "NONE" && /* @__PURE__ */ D(v, {
224
224
  label: "Secret Reference ID",
225
- children: /* @__PURE__ */ E(y, {
225
+ children: /* @__PURE__ */ D(y, {
226
226
  placeholder: "e.g., secret-mcp-github",
227
227
  value: Y.secretRefId,
228
228
  onChange: (e) => X({
@@ -234,297 +234,297 @@ var B = ({ isNew: B }) => {
234
234
  ]
235
235
  })] })
236
236
  })
237
- }) : ve ? /* @__PURE__ */ E(d, {
237
+ }) : ye ? /* @__PURE__ */ D(d, {
238
238
  title: "Loading...",
239
- children: /* @__PURE__ */ E("div", { className: "h-96 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" })
240
- }) : U ? /* @__PURE__ */ E(d, {
241
- title: /* @__PURE__ */ D("div", {
239
+ children: /* @__PURE__ */ D("div", { className: "h-96 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" })
240
+ }) : U ? /* @__PURE__ */ D(d, {
241
+ title: /* @__PURE__ */ O("div", {
242
242
  className: "flex items-center gap-3",
243
243
  children: [
244
- /* @__PURE__ */ E(_, {
244
+ /* @__PURE__ */ D(_, {
245
245
  variant: "ghost",
246
246
  size: "icon",
247
247
  onClick: () => H("mcp"),
248
- children: /* @__PURE__ */ E(pe, { size: 20 })
248
+ children: /* @__PURE__ */ D(pe, { size: 20 })
249
249
  }),
250
- /* @__PURE__ */ E("div", {
250
+ /* @__PURE__ */ D("div", {
251
251
  className: "p-2 rounded-lg bg-action-primary-bg/10",
252
- children: t(U.status) ? /* @__PURE__ */ E(A, { className: "h-6 w-6 text-status-success-text" }) : /* @__PURE__ */ E(k, { className: "h-6 w-6 text-text-secondary" })
252
+ children: t(U.status) ? /* @__PURE__ */ D(j, { className: "h-6 w-6 text-status-success-text" }) : /* @__PURE__ */ D(A, { className: "h-6 w-6 text-text-secondary" })
253
253
  }),
254
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("div", {
254
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ O("div", {
255
255
  className: "flex items-center gap-2",
256
- children: [/* @__PURE__ */ E("span", { children: U.name }), /* @__PURE__ */ E(se, { status: U.status })]
257
- }), /* @__PURE__ */ E("p", {
256
+ children: [/* @__PURE__ */ D("span", { children: U.name }), /* @__PURE__ */ D(se, { status: U.status })]
257
+ }), /* @__PURE__ */ D("p", {
258
258
  className: "text-sm font-normal text-text-secondary",
259
259
  children: n(U)
260
260
  })] })
261
261
  ]
262
262
  }),
263
- actions: /* @__PURE__ */ D("div", {
263
+ actions: /* @__PURE__ */ O("div", {
264
264
  className: "flex gap-2",
265
- children: [/* @__PURE__ */ E(u, {
266
- permission: l.MCP_TEST,
267
- children: /* @__PURE__ */ E(_, {
265
+ children: [/* @__PURE__ */ D(l, {
266
+ permission: c.MCP_TEST,
267
+ children: /* @__PURE__ */ D(_, {
268
268
  variant: "outline",
269
- leftIcon: /* @__PURE__ */ E(j, { size: 16 }),
270
- onClick: Ne,
271
- isLoading: Ee.loading,
269
+ leftIcon: /* @__PURE__ */ D(M, { size: 16 }),
270
+ onClick: Pe,
271
+ isLoading: De.loading,
272
272
  children: "Test"
273
273
  })
274
- }), ke ? /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(_, {
274
+ }), Ae ? /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(_, {
275
275
  variant: "outline",
276
276
  onClick: () => q(!1),
277
277
  children: "Cancel"
278
- }), /* @__PURE__ */ E(_, {
279
- leftIcon: /* @__PURE__ */ E(M, { size: 16 }),
280
- onClick: Pe,
281
- isLoading: Se.loading,
278
+ }), /* @__PURE__ */ D(_, {
279
+ leftIcon: /* @__PURE__ */ D(N, { size: 16 }),
280
+ onClick: Fe,
281
+ isLoading: Ce.loading,
282
282
  children: "Save"
283
- })] }) : /* @__PURE__ */ D(T, { children: [/* @__PURE__ */ E(u, {
284
- permission: l.MCP_UPDATE,
285
- children: /* @__PURE__ */ E(_, {
283
+ })] }) : /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D(l, {
284
+ permission: c.MCP_UPDATE,
285
+ children: /* @__PURE__ */ D(_, {
286
286
  variant: "outline",
287
- leftIcon: /* @__PURE__ */ E(ge, { size: 16 }),
288
- onClick: Ie,
287
+ leftIcon: /* @__PURE__ */ D(ge, { size: 16 }),
288
+ onClick: Le,
289
289
  children: "Edit"
290
290
  })
291
- }), Ae ? /* @__PURE__ */ D("div", {
291
+ }), je ? /* @__PURE__ */ O("div", {
292
292
  className: "flex gap-2",
293
- children: [/* @__PURE__ */ E(_, {
293
+ children: [/* @__PURE__ */ D(_, {
294
294
  variant: "outline",
295
295
  size: "sm",
296
296
  onClick: () => J(!1),
297
297
  children: "Cancel"
298
- }), /* @__PURE__ */ E(_, {
298
+ }), /* @__PURE__ */ D(_, {
299
299
  variant: "destructive",
300
300
  size: "sm",
301
301
  onClick: () => {
302
- ae("medium"), Fe();
302
+ oe("medium"), Ie();
303
303
  },
304
- isLoading: we.loading,
304
+ isLoading: Te.loading,
305
305
  children: "Confirm"
306
306
  })]
307
- }) : /* @__PURE__ */ E(u, {
308
- permission: l.MCP_DELETE,
309
- children: /* @__PURE__ */ E(_, {
307
+ }) : /* @__PURE__ */ D(l, {
308
+ permission: c.MCP_DELETE,
309
+ children: /* @__PURE__ */ D(_, {
310
310
  variant: "destructive",
311
- leftIcon: /* @__PURE__ */ E(F, { size: 16 }),
311
+ leftIcon: /* @__PURE__ */ D(I, { size: 16 }),
312
312
  onClick: () => J(!0),
313
313
  children: "Delete"
314
314
  })
315
315
  })] })]
316
316
  }),
317
- children: /* @__PURE__ */ D("div", {
317
+ children: /* @__PURE__ */ O("div", {
318
318
  className: "space-y-6",
319
319
  children: [
320
- /* @__PURE__ */ E(ue, {
321
- icon: /* @__PURE__ */ E(N, { size: 18 }),
320
+ /* @__PURE__ */ D(ue, {
321
+ icon: /* @__PURE__ */ D(P, { size: 18 }),
322
322
  children: "This is one connected MCP server and everything it exposes to your agents — its health, the tools and resources it provides, and its connection settings. Check that it is healthy and that the right tools are available, then your agents can call them (subject to your tool policies) to take real actions."
323
323
  }),
324
- /* @__PURE__ */ D("div", {
324
+ /* @__PURE__ */ O("div", {
325
325
  className: "grid grid-cols-2 md:grid-cols-4 gap-4",
326
326
  children: [
327
- /* @__PURE__ */ D(le, {
327
+ /* @__PURE__ */ O(le, {
328
328
  treatment: "glass",
329
329
  glow: !0,
330
330
  className: "p-6 text-center",
331
331
  children: [
332
- /* @__PURE__ */ E("div", {
332
+ /* @__PURE__ */ D("div", {
333
333
  className: "p-3 rounded-full bg-action-primary-bg/10 w-fit mx-auto mb-2",
334
334
  children: ((e) => {
335
335
  switch (e) {
336
- case "CONNECTED": return /* @__PURE__ */ E(me, { className: "h-5 w-5 text-status-success-text" });
337
- case "CONNECTING": return /* @__PURE__ */ E(fe, { className: "h-5 w-5 text-status-warning-text" });
336
+ case "CONNECTED": return /* @__PURE__ */ D(me, { className: "h-5 w-5 text-status-success-text" });
337
+ case "CONNECTING": return /* @__PURE__ */ D(fe, { className: "h-5 w-5 text-status-warning-text" });
338
338
  case "ERROR":
339
- case "DISCONNECTED": return /* @__PURE__ */ E(L, { className: "h-5 w-5 text-status-error-text" });
340
- default: return /* @__PURE__ */ E(he, { className: "h-5 w-5 text-text-secondary" });
339
+ case "DISCONNECTED": return /* @__PURE__ */ D(_e, { className: "h-5 w-5 text-status-error-text" });
340
+ default: return /* @__PURE__ */ D(he, { className: "h-5 w-5 text-text-secondary" });
341
341
  }
342
342
  })(U.status)
343
343
  }),
344
- /* @__PURE__ */ E("p", {
344
+ /* @__PURE__ */ D("p", {
345
345
  className: "text-lg font-bold capitalize text-text-primary",
346
346
  children: U.status.toLowerCase()
347
347
  }),
348
- /* @__PURE__ */ E("p", {
348
+ /* @__PURE__ */ D("p", {
349
349
  className: "text-sm text-text-secondary",
350
350
  children: "Health Status"
351
351
  })
352
352
  ]
353
353
  }),
354
- /* @__PURE__ */ E(f, { children: /* @__PURE__ */ D(p, {
354
+ /* @__PURE__ */ D(f, { children: /* @__PURE__ */ O(p, {
355
355
  className: "pt-6 text-center",
356
- children: [/* @__PURE__ */ E("p", {
356
+ children: [/* @__PURE__ */ D("p", {
357
357
  className: "text-3xl font-bold text-text-primary",
358
358
  children: G.length
359
- }), /* @__PURE__ */ E("p", {
359
+ }), /* @__PURE__ */ D("p", {
360
360
  className: "text-sm text-text-secondary",
361
361
  children: "Tools Available"
362
362
  })]
363
363
  }) }),
364
- /* @__PURE__ */ E(f, { children: /* @__PURE__ */ D(p, {
364
+ /* @__PURE__ */ D(f, { children: /* @__PURE__ */ O(p, {
365
365
  className: "pt-6 text-center",
366
- children: [/* @__PURE__ */ E("p", {
366
+ children: [/* @__PURE__ */ D("p", {
367
367
  className: "text-3xl font-bold text-text-primary",
368
368
  children: K.length
369
- }), /* @__PURE__ */ E("p", {
369
+ }), /* @__PURE__ */ D("p", {
370
370
  className: "text-sm text-text-secondary",
371
371
  children: "Resources"
372
372
  })]
373
373
  }) }),
374
- /* @__PURE__ */ E(f, { children: /* @__PURE__ */ D(p, {
374
+ /* @__PURE__ */ D(f, { children: /* @__PURE__ */ O(p, {
375
375
  className: "pt-6 text-center",
376
- children: [/* @__PURE__ */ E("p", {
376
+ children: [/* @__PURE__ */ D("p", {
377
377
  className: "text-3xl font-bold text-text-primary",
378
378
  children: U.lastConnectedAt ? C(U.lastConnectedAt) : "Never"
379
- }), /* @__PURE__ */ E("p", {
379
+ }), /* @__PURE__ */ D("p", {
380
380
  className: "text-sm text-text-secondary",
381
381
  children: "Last Connected"
382
382
  })]
383
383
  }) })
384
384
  ]
385
385
  }),
386
- /* @__PURE__ */ D(f, { children: [/* @__PURE__ */ E(h, { children: /* @__PURE__ */ D(g, {
386
+ /* @__PURE__ */ O(f, { children: [/* @__PURE__ */ D(h, { children: /* @__PURE__ */ O(g, {
387
387
  className: "flex items-center gap-2",
388
- children: [/* @__PURE__ */ E(N, { size: 18 }), "Connection Details"]
389
- }) }), /* @__PURE__ */ D(p, { children: [/* @__PURE__ */ D("div", {
388
+ children: [/* @__PURE__ */ D(P, { size: 18 }), "Connection Details"]
389
+ }) }), /* @__PURE__ */ O(p, { children: [/* @__PURE__ */ O("div", {
390
390
  className: "grid grid-cols-2 md:grid-cols-4 gap-6",
391
391
  children: [
392
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
392
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
393
393
  className: "text-sm text-text-secondary",
394
394
  children: "Transport"
395
- }), /* @__PURE__ */ E(x, {
395
+ }), /* @__PURE__ */ D(x, {
396
396
  variant: "outline",
397
397
  className: "capitalize mt-1",
398
398
  children: U.type.toLowerCase().replace("_", " ")
399
399
  })] }),
400
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
400
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
401
401
  className: "text-sm text-text-secondary",
402
402
  children: "Base URL"
403
- }), /* @__PURE__ */ E("p", {
403
+ }), /* @__PURE__ */ D("p", {
404
404
  className: "font-medium text-sm truncate",
405
405
  children: r(U) ?? "—"
406
406
  })] }),
407
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
407
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
408
408
  className: "text-sm text-text-secondary",
409
409
  children: "Auth Method"
410
- }), /* @__PURE__ */ E(x, {
410
+ }), /* @__PURE__ */ D(x, {
411
411
  variant: "outline",
412
412
  className: "capitalize mt-1",
413
413
  children: (z(U.config, "authMethod") ?? "NONE").toLowerCase().replace("_", " ")
414
414
  })] }),
415
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
415
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
416
416
  className: "text-sm text-text-secondary",
417
417
  children: "Last Tested"
418
- }), /* @__PURE__ */ E("p", {
418
+ }), /* @__PURE__ */ D("p", {
419
419
  className: "font-medium",
420
420
  children: U.lastErrorAt ? C(U.lastErrorAt) : "Never"
421
421
  })] })
422
422
  ]
423
- }), U.errorMessage && /* @__PURE__ */ D("div", {
423
+ }), U.errorMessage && /* @__PURE__ */ O("div", {
424
424
  className: "mt-4 p-3 bg-status-error-bg-subtle rounded-lg text-sm text-status-error-text",
425
425
  children: [
426
- /* @__PURE__ */ E("strong", { children: "Error:" }),
426
+ /* @__PURE__ */ D("strong", { children: "Error:" }),
427
427
  " ",
428
428
  U.errorMessage
429
429
  ]
430
430
  })] })] }),
431
- /* @__PURE__ */ D("div", {
431
+ /* @__PURE__ */ O("div", {
432
432
  className: "grid grid-cols-12 gap-6",
433
- children: [/* @__PURE__ */ E("div", {
433
+ children: [/* @__PURE__ */ D("div", {
434
434
  className: "col-span-5",
435
- children: /* @__PURE__ */ D(f, {
435
+ children: /* @__PURE__ */ O(f, {
436
436
  className: "h-full",
437
- children: [/* @__PURE__ */ D(h, { children: [/* @__PURE__ */ D(g, {
437
+ children: [/* @__PURE__ */ O(h, { children: [/* @__PURE__ */ O(g, {
438
438
  className: "flex items-center gap-2",
439
439
  children: [
440
- /* @__PURE__ */ E(I, { size: 18 }),
440
+ /* @__PURE__ */ D(L, { size: 18 }),
441
441
  "Tools (",
442
442
  G.length,
443
443
  ")"
444
444
  ]
445
- }), /* @__PURE__ */ E(m, { children: "Available tools from this MCP server" })] }), /* @__PURE__ */ E(p, {
445
+ }), /* @__PURE__ */ D(m, { children: "Available tools from this MCP server" })] }), /* @__PURE__ */ D(p, {
446
446
  className: "p-0",
447
- children: G.length > 0 ? /* @__PURE__ */ E("div", {
447
+ children: G.length > 0 ? /* @__PURE__ */ D("div", {
448
448
  className: "divide-y divide-border-subtle max-h-96 overflow-auto",
449
- children: G.map((e) => /* @__PURE__ */ D("button", {
449
+ children: G.map((e) => /* @__PURE__ */ O("button", {
450
450
  type: "button",
451
451
  className: `w-full text-left p-4 hover:bg-accent transition-colors ${Q?.id === e.id ? "bg-accent" : ""}`,
452
- onClick: () => je(e.name),
453
- children: [/* @__PURE__ */ D("div", {
452
+ onClick: () => Me(e.name),
453
+ children: [/* @__PURE__ */ O("div", {
454
454
  className: "flex items-center justify-between gap-2",
455
- children: [/* @__PURE__ */ E("p", {
455
+ children: [/* @__PURE__ */ D("p", {
456
456
  className: "font-medium truncate",
457
457
  children: e.name
458
- }), /* @__PURE__ */ E(x, {
458
+ }), /* @__PURE__ */ D(x, {
459
459
  variant: $(e.riskLevel),
460
460
  className: "shrink-0",
461
461
  children: e.riskLevel
462
462
  })]
463
- }), /* @__PURE__ */ E("p", {
463
+ }), /* @__PURE__ */ D("p", {
464
464
  className: "text-sm text-text-secondary line-clamp-1",
465
465
  children: e.description
466
466
  })]
467
467
  }, e.id))
468
- }) : /* @__PURE__ */ D("div", {
468
+ }) : /* @__PURE__ */ O("div", {
469
469
  className: "p-8 text-center text-text-secondary",
470
- children: [/* @__PURE__ */ E(I, { className: "h-8 w-8 mx-auto mb-2 opacity-50" }), /* @__PURE__ */ E("p", { children: "No tools available" })]
470
+ children: [/* @__PURE__ */ D(L, { className: "h-8 w-8 mx-auto mb-2 opacity-50" }), /* @__PURE__ */ D("p", { children: "No tools available" })]
471
471
  })
472
472
  })]
473
473
  })
474
- }), /* @__PURE__ */ E("div", {
474
+ }), /* @__PURE__ */ D("div", {
475
475
  className: "col-span-7",
476
- children: Q ? /* @__PURE__ */ D(f, {
476
+ children: Q ? /* @__PURE__ */ O(f, {
477
477
  className: "h-full",
478
- children: [/* @__PURE__ */ E(h, { children: /* @__PURE__ */ D("div", {
478
+ children: [/* @__PURE__ */ D(h, { children: /* @__PURE__ */ O("div", {
479
479
  className: "flex items-start justify-between gap-4",
480
- children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E(g, { children: Q.name }), /* @__PURE__ */ E(m, { children: Q.description })] }), /* @__PURE__ */ E(x, {
480
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D(g, { children: Q.name }), /* @__PURE__ */ D(m, { children: Q.description })] }), /* @__PURE__ */ D(x, {
481
481
  variant: $(Q.riskLevel),
482
482
  children: Q.riskLevel
483
483
  })]
484
- }) }), /* @__PURE__ */ D(p, {
484
+ }) }), /* @__PURE__ */ O(p, {
485
485
  className: "space-y-4",
486
- children: [/* @__PURE__ */ D("div", { children: [
487
- /* @__PURE__ */ E("p", {
486
+ children: [/* @__PURE__ */ O("div", { children: [
487
+ /* @__PURE__ */ D("p", {
488
488
  className: "text-sm font-medium mb-2",
489
489
  children: "Risk Level"
490
490
  }),
491
- /* @__PURE__ */ D("select", {
491
+ /* @__PURE__ */ O(T, {
492
492
  className: "flex h-10 w-full rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm",
493
493
  value: Q.riskLevel,
494
- disabled: Oe.loading || !_e(l.MCP_UPDATE),
495
- onChange: (e) => void Le(Q.id, e.target.value),
494
+ disabled: ke.loading || !ve(c.MCP_UPDATE),
495
+ onChange: (e) => void Re(Q.id, e.target.value),
496
496
  children: [
497
- /* @__PURE__ */ E("option", {
497
+ /* @__PURE__ */ D("option", {
498
498
  value: "LOW",
499
499
  children: "Low — safe read/notify actions"
500
500
  }),
501
- /* @__PURE__ */ E("option", {
501
+ /* @__PURE__ */ D("option", {
502
502
  value: "MEDIUM",
503
503
  children: "Medium — state-changing actions"
504
504
  }),
505
- /* @__PURE__ */ E("option", {
505
+ /* @__PURE__ */ D("option", {
506
506
  value: "HIGH",
507
507
  children: "High — destructive or sensitive actions"
508
508
  })
509
509
  ]
510
510
  }),
511
- /* @__PURE__ */ E("p", {
511
+ /* @__PURE__ */ D("p", {
512
512
  className: "text-xs text-text-secondary mt-1",
513
513
  children: "Agents can only invoke tools up to the maximum risk level allowed by your workspace tool policies."
514
514
  })
515
- ] }), /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
515
+ ] }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
516
516
  className: "text-sm font-medium mb-2",
517
517
  children: "Input Schema"
518
- }), /* @__PURE__ */ E("div", {
518
+ }), /* @__PURE__ */ D("div", {
519
519
  className: "p-3 bg-bg-sunken rounded-lg font-mono text-xs overflow-auto max-h-96",
520
- children: /* @__PURE__ */ E("pre", { children: JSON.stringify(Q.inputSchema, null, 2) })
520
+ children: /* @__PURE__ */ D("pre", { children: JSON.stringify(Q.inputSchema, null, 2) })
521
521
  })] })]
522
522
  })]
523
- }) : /* @__PURE__ */ E(f, {
523
+ }) : /* @__PURE__ */ D(f, {
524
524
  className: "h-full",
525
- children: /* @__PURE__ */ E(p, {
525
+ children: /* @__PURE__ */ D(p, {
526
526
  className: "h-full flex items-center justify-center",
527
- children: /* @__PURE__ */ E(S, {
527
+ children: /* @__PURE__ */ D(S, {
528
528
  illustration: "onboarding",
529
529
  title: "Select a tool",
530
530
  description: "Choose a tool from the list to view its details"
@@ -533,66 +533,66 @@ var B = ({ isNew: B }) => {
533
533
  })
534
534
  })]
535
535
  }),
536
- K.length > 0 && /* @__PURE__ */ D(f, { children: [/* @__PURE__ */ D(h, { children: [/* @__PURE__ */ E(g, { children: "Resources" }), /* @__PURE__ */ E(m, { children: "Available resources exposed by this server" })] }), /* @__PURE__ */ E(p, { children: /* @__PURE__ */ E("div", {
536
+ K.length > 0 && /* @__PURE__ */ O(f, { children: [/* @__PURE__ */ O(h, { children: [/* @__PURE__ */ D(g, { children: "Resources" }), /* @__PURE__ */ D(m, { children: "Available resources exposed by this server" })] }), /* @__PURE__ */ D(p, { children: /* @__PURE__ */ D("div", {
537
537
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
538
- children: K.map((e) => /* @__PURE__ */ D("div", {
538
+ children: K.map((e) => /* @__PURE__ */ O("div", {
539
539
  className: "p-4 border border-border-subtle rounded-lg hover:bg-accent/50 transition-colors",
540
- children: [/* @__PURE__ */ D("div", {
540
+ children: [/* @__PURE__ */ O("div", {
541
541
  className: "flex items-start justify-between",
542
- children: [/* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
542
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
543
543
  className: "font-medium",
544
544
  children: e.name
545
- }), /* @__PURE__ */ E("p", {
545
+ }), /* @__PURE__ */ D("p", {
546
546
  className: "text-sm text-text-secondary",
547
547
  children: e.description
548
- })] }), /* @__PURE__ */ E(O, {
548
+ })] }), /* @__PURE__ */ D(k, {
549
549
  size: 14,
550
550
  className: "text-text-secondary"
551
551
  })]
552
- }), /* @__PURE__ */ D("div", {
552
+ }), /* @__PURE__ */ O("div", {
553
553
  className: "mt-2 flex items-center gap-2",
554
- children: [/* @__PURE__ */ E(x, {
554
+ children: [/* @__PURE__ */ D(x, {
555
555
  variant: "outline",
556
556
  className: "text-xs font-mono",
557
557
  children: e.mimeType || "unknown"
558
- }), /* @__PURE__ */ E("span", {
558
+ }), /* @__PURE__ */ D("span", {
559
559
  className: "text-xs text-text-secondary truncate",
560
560
  children: e.uri
561
561
  })]
562
562
  })]
563
563
  }, e.uri))
564
564
  }) })] }),
565
- /* @__PURE__ */ D(f, { children: [/* @__PURE__ */ E(h, { children: /* @__PURE__ */ D(g, {
565
+ /* @__PURE__ */ O(f, { children: [/* @__PURE__ */ D(h, { children: /* @__PURE__ */ O(g, {
566
566
  className: "flex items-center gap-2",
567
- children: [/* @__PURE__ */ E(P, { size: 18 }), "Metadata"]
568
- }) }), /* @__PURE__ */ E(p, { children: /* @__PURE__ */ D("div", {
567
+ children: [/* @__PURE__ */ D(F, { size: 18 }), "Metadata"]
568
+ }) }), /* @__PURE__ */ D(p, { children: /* @__PURE__ */ O("div", {
569
569
  className: "grid grid-cols-2 md:grid-cols-4 gap-6 text-sm",
570
570
  children: [
571
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
571
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
572
572
  className: "text-text-secondary",
573
573
  children: "Created"
574
- }), /* @__PURE__ */ E("p", {
574
+ }), /* @__PURE__ */ D("p", {
575
575
  className: "font-medium",
576
576
  children: C(U.createdAt)
577
577
  })] }),
578
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
578
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
579
579
  className: "text-text-secondary",
580
580
  children: "Updated"
581
- }), /* @__PURE__ */ E("p", {
581
+ }), /* @__PURE__ */ D("p", {
582
582
  className: "font-medium",
583
583
  children: C(U.updatedAt)
584
584
  })] }),
585
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
585
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
586
586
  className: "text-text-secondary",
587
587
  children: "Last Connected"
588
- }), /* @__PURE__ */ E("p", {
588
+ }), /* @__PURE__ */ D("p", {
589
589
  className: "font-medium",
590
590
  children: U.lastConnectedAt ? C(U.lastConnectedAt) : "Never"
591
591
  })] }),
592
- /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
592
+ /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
593
593
  className: "text-text-secondary",
594
594
  children: "Credentials"
595
- }), /* @__PURE__ */ E(x, {
595
+ }), /* @__PURE__ */ D(x, {
596
596
  variant: U.credentialsHash ? "success" : "secondary",
597
597
  children: U.credentialsHash ? "Configured" : "None"
598
598
  })] })
@@ -600,13 +600,14 @@ var B = ({ isNew: B }) => {
600
600
  }) })] })
601
601
  ]
602
602
  })
603
- }) : /* @__PURE__ */ E(d, {
603
+ }) : /* @__PURE__ */ D(d, {
604
604
  title: "Server Not Found",
605
- children: /* @__PURE__ */ E(S, {
605
+ children: /* @__PURE__ */ D(S, {
606
+ kind: "not-found",
606
607
  illustration: "empty-generic",
607
608
  title: "Server Not Found",
608
609
  description: "This MCP server doesn't exist.",
609
- action: /* @__PURE__ */ E(_, {
610
+ action: /* @__PURE__ */ D(_, {
610
611
  onClick: () => H("mcp"),
611
612
  children: "Back to MCP Servers"
612
613
  })