@mcp-use/inspector 20.0.0-beta.1 → 20.0.0-beta.3

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 (196) hide show
  1. package/README.md +5 -0
  2. package/dist/cdn/{AnimatePresence-B4HhIdgq.js → AnimatePresence-Dcw-FOy8.js} +50 -50
  3. package/dist/cdn/ChatTab-BS5Tlm2y.js +6744 -0
  4. package/dist/cdn/{CheckboxIndicator-BF2cKfbA.js → CheckboxIndicator-Bt4IICtv.js} +77 -77
  5. package/dist/cdn/{ConnectionSettingsForm-BNS6bOMD.js → ConnectionSettingsForm-BFsZpwK4.js} +348 -292
  6. package/dist/cdn/ConnectionSettingsTab-DDk06dhT.js +150 -0
  7. package/dist/cdn/{ElicitationTab-upPXq2q7.js → ElicitationTab-CL1KJ0bz.js} +39 -39
  8. package/dist/cdn/{FormContext-Cl51-7O7.js → FormContext-tmgN_Vdr.js} +1 -1
  9. package/dist/cdn/{InspectorContext-DzXtgyTx.js → InspectorContext-UjtEbNod.js} +1 -21
  10. package/dist/cdn/{JSONDisplay-D3RcyO9z.js → JSONDisplay-BFxf5oEu.js} +18 -18
  11. package/dist/cdn/{ListTabHeader-8lULn-90.js → ListTabHeader-Cv-GmtGF.js} +19 -19
  12. package/dist/cdn/{ManufactOAuthCallback-DEM8mhWD.js → ManufactOAuthCallback-B98kSYCj.js} +1 -1
  13. package/dist/cdn/MarkdownRenderer-_aYcof42.js +3610 -0
  14. package/dist/cdn/{NotificationsTab-CWopTIzT.js → NotificationsTab-CeImSrhx.js} +13 -13
  15. package/dist/cdn/{OAuthCallback-k3oeLtIC.js → OAuthCallback-C4n2hqKU.js} +1 -1
  16. package/dist/cdn/PromptsTab-BajHFLa3.js +901 -0
  17. package/dist/cdn/{ResourcesTab-KfamsM6-.js → ResourcesTab-BgeMlTdR.js} +35 -55
  18. package/dist/cdn/{SamplingTab-vcufuK24.js → SamplingTab-CnJB229N.js} +35 -35
  19. package/dist/cdn/{ServerMetadataTab-DS0eiyyD.js → ServerMetadataTab-CvrKX8fz.js} +12 -12
  20. package/dist/cdn/{StatusIcon-BGXOEU2u.js → StatusIcon-D0-ARyOh.js} +6 -6
  21. package/dist/cdn/{ToolsTab-DRjcZnpu.js → ToolsTab-ACLxPxR6.js} +103 -137
  22. package/dist/cdn/{ViewPreview-B_onhcUB.js → ViewPreview-DsPwZAwO.js} +2 -2
  23. package/dist/cdn/{WidgetWrapper-D29YDxIu.js → WidgetWrapper-CwlpDv17.js} +529 -530
  24. package/dist/cdn/card-DgiYnSg-.js +41 -0
  25. package/dist/cdn/{checkbox-B4oUG6Rr.js → checkbox-By0FklhG.js} +6 -6
  26. package/dist/cdn/{dialog-Dnl-pZsY.js → dialog-BsDpuJd3.js} +151 -151
  27. package/dist/cdn/{dist-mRDqCgKU.js → dist-B0eL32Gb.js} +114 -113
  28. package/dist/cdn/{dist-DjXr_YO3.js → dist-DaMB0Su9.js} +1 -1
  29. package/dist/cdn/{index-browser-CVUwR-Bu.js → index-browser-QDjRGsPo.js} +1 -1
  30. package/dist/cdn/{input-BLxOA7V-.js → input-C2OBd4PJ.js} +4787 -2842
  31. package/dist/cdn/inspector.css +1 -1
  32. package/dist/cdn/inspector.js +7419 -7445
  33. package/dist/cdn/{label-CBvG613A.js → label-B9Jmm9be.js} +10 -10
  34. package/dist/cdn/{manufact-auth-0TVxpeTA.js → manufact-auth-BQMHhbLV.js} +142 -106
  35. package/dist/cdn/{not-found-BcNNsTjS.js → not-found-DEtSM_Wd.js} +7 -7
  36. package/dist/cdn/providerMeta-BQIfHuNL.js +379 -0
  37. package/dist/cdn/{react-BxO-uEDZ.js → react-Dn8PWXwP.js} +1 -1
  38. package/dist/cdn/{select-BZ_IoKxg.js → select-DDdiIPR2.js} +726 -726
  39. package/dist/cdn/{shared-uMiV6Fx1.js → shared-DaILIQPP.js} +29 -29
  40. package/dist/cdn/{popover-C_SSrXT0.js → sheet-Br_l2kry.js} +694 -622
  41. package/dist/cdn/{spinner-CWcJhIY_.js → spinner-jQtC7EBj.js} +5 -5
  42. package/dist/cdn/{switch-DtQOLb9R.js → switch-C3IyQuid.js} +104 -104
  43. package/dist/cdn/{tabs-subtle-C5cy35sY.js → tabs-subtle-CkdI6Mac.js} +147 -147
  44. package/dist/cdn/{telemetry-Ct6pVkM1.js → telemetry-gHF-tMli.js} +3 -3
  45. package/dist/cdn/{textarea-Bj-CT7hC.js → textarea-DSbwcFVt.js} +6 -6
  46. package/dist/cdn/{useAriaLabelledBy-Bm9qHGK6.js → useAriaLabelledBy-DqAdnppm.js} +1 -1
  47. package/dist/cdn/{useCompositeItem-CNJ6MXdi.js → useCompositeItem-BRqEzYh-.js} +2 -2
  48. package/dist/cdn/{useConfig-CwxZ6Quj.js → useConfig-BWcNCqwi.js} +73 -46
  49. package/dist/cdn/{useViewHostProps-Dr6W2ooF.js → useViewHostProps-DIIlz3tJ.js} +1 -1
  50. package/dist/cli.js +27 -13
  51. package/dist/client/auth/manufact-auth.d.ts +3 -1
  52. package/dist/client/auth/manufact-auth.d.ts.map +1 -1
  53. package/dist/client/components/ChatTab.d.ts +1 -8
  54. package/dist/client/components/ChatTab.d.ts.map +1 -1
  55. package/dist/client/components/ResourcesTab.d.ts.map +1 -1
  56. package/dist/client/components/chat/ChatHeader.d.ts +7 -2
  57. package/dist/client/components/chat/ChatHeader.d.ts.map +1 -1
  58. package/dist/client/components/chat/ChatLandingForm.d.ts +4 -2
  59. package/dist/client/components/chat/ChatLandingForm.d.ts.map +1 -1
  60. package/dist/client/components/chat/ChatManagedNotice.d.ts +10 -0
  61. package/dist/client/components/chat/ChatManagedNotice.d.ts.map +1 -0
  62. package/dist/client/components/chat/ChatScrollTopFade.d.ts +7 -0
  63. package/dist/client/components/chat/ChatScrollTopFade.d.ts.map +1 -0
  64. package/dist/client/components/chat/ConfigurationDialog.d.ts +11 -9
  65. package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
  66. package/dist/client/components/chat/ConfigureEmptyState.d.ts +1 -6
  67. package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +1 -1
  68. package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +1 -1
  69. package/dist/client/components/chat/chatModeStorage.d.ts +11 -0
  70. package/dist/client/components/chat/chatModeStorage.d.ts.map +1 -0
  71. package/dist/client/components/chat/managedChatNotice.d.ts +16 -0
  72. package/dist/client/components/chat/managedChatNotice.d.ts.map +1 -0
  73. package/dist/client/components/chat/providerMeta.d.ts +11 -0
  74. package/dist/client/components/chat/providerMeta.d.ts.map +1 -1
  75. package/dist/client/components/chat/useChatMessages.d.ts +7 -5
  76. package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
  77. package/dist/client/components/chat/useChatMessagesClientSide.d.ts +4 -6
  78. package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
  79. package/dist/client/components/chat/useChatScrollToBottom.d.ts +1 -0
  80. package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +1 -1
  81. package/dist/client/components/chat/useConfig.d.ts +1 -1
  82. package/dist/client/components/chat/useConfig.d.ts.map +1 -1
  83. package/dist/client/components/chat/useHostedChatMode.d.ts +1 -1
  84. package/dist/client/components/chat/useHostedChatMode.d.ts.map +1 -1
  85. package/dist/client/components/shared/MarkdownRenderer.d.ts +2 -1
  86. package/dist/client/components/shared/MarkdownRenderer.d.ts.map +1 -1
  87. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
  88. package/dist/client/components/ui/MeshGradientCanvas.d.ts +13 -0
  89. package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -0
  90. package/dist/client/components/ui/chat-message.d.ts +1 -1
  91. package/dist/client/components/ui/chat-message.d.ts.map +1 -1
  92. package/dist/client/components/ui/file-thumbnail.d.ts.map +1 -1
  93. package/dist/client/components/ui/mesh-tab-background.d.ts +3 -1
  94. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
  95. package/dist/client/context/InspectorContext.d.ts.map +1 -1
  96. package/dist/client/index.js +2577 -2165
  97. package/dist/client/telemetry/utils.d.ts.map +1 -1
  98. package/dist/server/asset-urls.d.ts +4 -0
  99. package/dist/server/asset-urls.d.ts.map +1 -1
  100. package/dist/server/asset-urls.js +7 -3
  101. package/dist/server/cdn-shell.d.ts.map +1 -1
  102. package/dist/server/cdn-shell.js +3 -3
  103. package/dist/server/{chunk-KBVKS4J5.js → chunk-H6ZCIKBS.js} +10 -0
  104. package/dist/server/{chunk-Y2GBQOQW.js → chunk-H7UBATRR.js} +2 -9
  105. package/dist/server/{chunk-VDUV6LR6.js → chunk-HGPQON3P.js} +15 -4
  106. package/dist/server/{chunk-K2V2SDQD.js → chunk-OWR2BIBW.js} +1 -1
  107. package/dist/server/{chunk-5B3SXGZP.js → chunk-UJLXHNQP.js} +1 -1
  108. package/dist/server/{chunk-IXYK6ZOY.js → chunk-W3PVQLOP.js} +2 -2
  109. package/dist/server/{chunk-6XWDZEFF.js → chunk-XCNS5CIW.js} +8 -3
  110. package/dist/server/cli.js +5 -5
  111. package/dist/server/create-dev-api-app.js +3 -3
  112. package/dist/server/dev-callback-redirect.d.ts +3 -0
  113. package/dist/server/dev-callback-redirect.d.ts.map +1 -0
  114. package/dist/server/dev-callback-redirect.js +18 -0
  115. package/dist/server/index.js +6 -6
  116. package/dist/server/middleware.js +6 -6
  117. package/dist/server/proxy/index.js +1 -1
  118. package/dist/server/proxy/mcp-proxy.d.ts +2 -0
  119. package/dist/server/proxy/mcp-proxy.d.ts.map +1 -1
  120. package/dist/server/proxy/mcp-proxy.js +3 -1
  121. package/dist/server/proxy-routes.js +2 -2
  122. package/dist/server/server.js +3 -3
  123. package/dist/server/version.js +1 -1
  124. package/dist/server/vite-dev-api-plugin.js +3 -3
  125. package/dist/web/assets/{AnimatePresence-CthXziG2.js → AnimatePresence-C5p0yiY1.js} +2 -2
  126. package/dist/web/assets/ChatTab-C2FtENBM.js +18 -0
  127. package/dist/web/assets/ConnectionSettingsTab-B2sUjytG.js +1 -0
  128. package/dist/web/assets/ElicitationTab-DwH08kDC.js +1 -0
  129. package/dist/web/assets/{FormContext-Cqc_A12u.js → FormContext-DH2caWKO.js} +1 -1
  130. package/dist/web/assets/ListTabHeader-R17w_JsB.js +1 -0
  131. package/dist/web/assets/{ManufactOAuthCallback-DCLbW-mz.js → ManufactOAuthCallback-Btu4B6u6.js} +1 -1
  132. package/dist/web/assets/MarkdownRenderer-DpIEt9wb.js +47 -0
  133. package/dist/web/assets/{NotificationsTab-JevzvJTg.js → NotificationsTab-CHB8mtSz.js} +1 -1
  134. package/dist/web/assets/{OAuthCallback-BjcRxLh5.js → OAuthCallback-DV4MgX4Z.js} +1 -1
  135. package/dist/web/assets/PromptsTab-0GIapoSs.js +15 -0
  136. package/dist/web/assets/ResourcesTab-N9xjsI_b.js +2 -0
  137. package/dist/web/assets/SamplingTab-Dw0vpi4t.js +1 -0
  138. package/dist/web/assets/ServerMetadataTab-D-eQpLBF.js +1 -0
  139. package/dist/web/assets/ToolsTab-BMrMJ5JV.js +8 -0
  140. package/dist/web/assets/ViewPreview-N_cpEO0W.js +1 -0
  141. package/dist/web/assets/WidgetWrapper-pDgNVq9y.js +34 -0
  142. package/dist/web/assets/checkbox-CrnXSMh2.js +1 -0
  143. package/dist/web/assets/dist-CeWSydFI.js +21 -0
  144. package/dist/web/assets/index-Cfuv_gb3.js +475 -0
  145. package/dist/web/assets/index-fBX3akc8.css +1 -0
  146. package/dist/web/assets/input-CLYhA7PK.js +1 -0
  147. package/dist/web/assets/{label-B5Q_Zr8M.js → label-Cdim77Jw.js} +1 -1
  148. package/dist/web/assets/select-CJ57-Bor.js +1 -0
  149. package/dist/web/assets/shared-B1GD9FMm.js +1 -0
  150. package/dist/web/assets/{tabs-subtle-AkJZvdxS.js → tabs-subtle-CG5cjC_N.js} +1 -1
  151. package/dist/web/assets/textarea-DLAmNVf_.js +1 -0
  152. package/dist/web/assets/useConfig-BTp15Lle.js +1 -0
  153. package/dist/web/assets/{useViewHostProps-DXAD1g7g.js → useViewHostProps-BQlaFC2Q.js} +1 -1
  154. package/dist/web/index.html +8 -9
  155. package/package.json +5 -12
  156. package/dist/cdn/ChatTab-D8uwCHAf.js +0 -13218
  157. package/dist/cdn/ConnectionSettingsTab-B97gPPJW.js +0 -145
  158. package/dist/cdn/PromptsTab-Cspfnl6n.js +0 -4400
  159. package/dist/cdn/bundle-mjs-B0nmHDtp.js +0 -1953
  160. package/dist/cdn/card-DqjqAq0o.js +0 -41
  161. package/dist/cdn/chunk-BO2N2NFS-Cy167e0X.js +0 -17500
  162. package/dist/cdn/highlighted-body-OFNGDK62-CoReNbTX.js +0 -36
  163. package/dist/cdn/mermaid-GHXKKRXX-DgVIbk-D.js +0 -2
  164. package/dist/cdn/pdf-CxFT9FER.js +0 -16291
  165. package/dist/cdn/sheet-CerCdhxz.js +0 -78
  166. package/dist/cdn/useHostedSession-BA39Aegc.js +0 -153
  167. package/dist/cdn/useMCPPrompts-D3_Hla_z.js +0 -104
  168. package/dist/client/components/chat/streamdown-code-slim.d.ts +0 -4
  169. package/dist/client/components/chat/streamdown-code-slim.d.ts.map +0 -1
  170. package/dist/web/assets/ChatTab-Cy8eyFYI.js +0 -460
  171. package/dist/web/assets/ConnectionSettingsTab-sDZGaUJn.js +0 -1
  172. package/dist/web/assets/ElicitationTab-wDKgU1qL.js +0 -1
  173. package/dist/web/assets/ListTabHeader-G-nQX18m.js +0 -1
  174. package/dist/web/assets/PromptsTab-DsQVOjKH.js +0 -61
  175. package/dist/web/assets/ResourcesTab-Bw8_p6M1.js +0 -2
  176. package/dist/web/assets/SamplingTab-BrcF1zJF.js +0 -1
  177. package/dist/web/assets/ServerMetadataTab-Bydeh1Po.js +0 -1
  178. package/dist/web/assets/ToolsTab-DJWF7Q_x.js +0 -8
  179. package/dist/web/assets/ViewPreview-jgeU7bY9.js +0 -1
  180. package/dist/web/assets/WidgetWrapper-B_vJU9uF.js +0 -34
  181. package/dist/web/assets/bundle-mjs-8puS6ou7.js +0 -1
  182. package/dist/web/assets/checkbox-BA-XURSj.js +0 -1
  183. package/dist/web/assets/chunk-BO2N2NFS-CGbd3eLY.js +0 -131
  184. package/dist/web/assets/dist-BcAQZluc.js +0 -21
  185. package/dist/web/assets/highlighted-body-OFNGDK62-BBJFbIMp.js +0 -1
  186. package/dist/web/assets/index-BjH-Qp85.css +0 -1
  187. package/dist/web/assets/index-D2UxaT9v.js +0 -475
  188. package/dist/web/assets/input-CjmxOFr6.js +0 -1
  189. package/dist/web/assets/mermaid-GHXKKRXX-B4MKVODA.js +0 -1
  190. package/dist/web/assets/pdf-CuwKm9zO.js +0 -54
  191. package/dist/web/assets/select-C0xlfLAa.js +0 -1
  192. package/dist/web/assets/shared-DQE60Op-.js +0 -1
  193. package/dist/web/assets/sheet-7TIkLdpr.js +0 -1
  194. package/dist/web/assets/textarea-Ci09-en6.js +0 -1
  195. package/dist/web/assets/useConfig-Qglo4xs1.js +0 -1
  196. package/dist/web/assets/useMCPPrompts-USLYc1I4.js +0 -1
@@ -1,25 +1,25 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
- import { Pr as r, f as i, sr as a } from "./input-BLxOA7V-.js";
4
- import { t as o } from "./AnimatePresence-B4HhIdgq.js";
5
- import { n as s, r as c, t as l } from "./WidgetWrapper-D29YDxIu.js";
2
+ import { Pr as n, f as r, sr as i } from "./input-C2OBd4PJ.js";
3
+ import { t as a } from "./jsx-runtime-CIxvMpEo.js";
4
+ import { t as o } from "./AnimatePresence-Dcw-FOy8.js";
5
+ import { n as s, r as c, t as l } from "./WidgetWrapper-CwlpDv17.js";
6
6
  import { t as u } from "./brush-B_mKhyxG.js";
7
7
  import { a as d, i as f, t as p } from "./browser-CbQIH4w2.js";
8
8
  import { n as m, t as h } from "./zap-Mb-pbw2X.js";
9
9
  import { t as g } from "./clock-CmUbSx_B.js";
10
10
  import { t as _ } from "./code-V_0nf5rg.js";
11
- import { a as v, t as y } from "./JSONDisplay-D3RcyO9z.js";
11
+ import { a as v, t as y } from "./JSONDisplay-BFxf5oEu.js";
12
12
  import { t as b } from "./folder-open-B3lu2rG_.js";
13
- import { a as x, i as S, n as C, o as w, r as T, t as E } from "./shared-uMiV6Fx1.js";
13
+ import { a as x, i as S, n as C, o as w, r as T, t as E } from "./shared-DaILIQPP.js";
14
14
  import { t as D } from "./maximize-BALCV_ep.js";
15
- import { d as O, t as k } from "./telemetry-Ct6pVkM1.js";
16
- import { c as A, r as j, s as M } from "./react-BxO-uEDZ.js";
17
- import { t as N } from "./spinner-CWcJhIY_.js";
18
- import { n as P } from "./InspectorContext-DzXtgyTx.js";
19
- import { t as F } from "./useConfig-CwxZ6Quj.js";
20
- import { t as I } from "./useViewHostProps-Dr6W2ooF.js";
15
+ import { d as O, t as k } from "./telemetry-gHF-tMli.js";
16
+ import { c as A, r as j, s as M } from "./react-Dn8PWXwP.js";
17
+ import { t as N } from "./spinner-jQtC7EBj.js";
18
+ import { n as P } from "./InspectorContext-UjtEbNod.js";
19
+ import { t as F } from "./useConfig-BWcNCqwi.js";
20
+ import { t as I } from "./useViewHostProps-DIIlz3tJ.js";
21
21
  //#region src/client/components/resources/ResourceResultDisplay.tsx
22
- var L = /* @__PURE__ */ e(t(), 1), R = n();
22
+ var L = /* @__PURE__ */ e(t(), 1), R = a();
23
23
  function z(e) {
24
24
  if ("error" in e && e.error && typeof e.error == "string") return e.error;
25
25
  if (!("isError" in e && e.isError)) return null;
@@ -60,7 +60,7 @@ function B({ serverId: e, viewId: t, resourceUri: n, toolOutput: r, toolMetadata
60
60
  }, p)
61
61
  });
62
62
  }
63
- function V({ result: e, isLoading: t, previewMode: n, serverId: i, readResource: o, onTogglePreview: c, onCopy: l, onDownload: p, onFullscreen: m, isCopied: b = !1, selectedResource: x, llmConfig: S }) {
63
+ function V({ result: e, isLoading: t, previewMode: r, serverId: a, readResource: o, onTogglePreview: c, onCopy: l, onDownload: p, onFullscreen: m, isCopied: b = !1, selectedResource: x, llmConfig: S }) {
64
64
  let [C, w] = (0, L.useState)(null), T = (0, L.useCallback)((e) => {
65
65
  w(e);
66
66
  }, []), [E, O] = (0, L.useState)("inline"), k = e?.result && "contents" in e.result && Array.isArray(e.result.contents) && e.result.contents[0]?._meta || {}, j = {
@@ -126,7 +126,7 @@ function V({ result: e, isLoading: t, previewMode: n, serverId: i, readResource:
126
126
  })]
127
127
  });
128
128
  })(),
129
- H && /* @__PURE__ */ (0, R.jsx)(r, {
129
+ H && /* @__PURE__ */ (0, R.jsx)(n, {
130
130
  variant: "outline",
131
131
  className: "text-xs bg-green-50 dark:bg-green-900/20 border-none border-green-200 dark:border-green-800/50 text-green-600 dark:text-green-400",
132
132
  children: "MCP Apps"
@@ -135,26 +135,26 @@ function V({ result: e, isLoading: t, previewMode: n, serverId: i, readResource:
135
135
  }), /* @__PURE__ */ (0, R.jsxs)("div", {
136
136
  className: "flex items-center gap-1",
137
137
  children: [
138
- H && /* @__PURE__ */ (0, R.jsxs)(a, {
138
+ H && /* @__PURE__ */ (0, R.jsxs)(i, {
139
139
  variant: "ghost",
140
140
  size: "sm",
141
141
  onClick: c,
142
- className: n ? "" : "text-purple-600 dark:text-purple-400",
143
- children: [n ? /* @__PURE__ */ (0, R.jsx)(_, { className: "h-4 w-4 mr-1" }) : /* @__PURE__ */ (0, R.jsx)(u, { className: "h-4 w-4 mr-1" }), n ? "JSON" : "Preview"]
142
+ className: r ? "" : "text-purple-600 dark:text-purple-400",
143
+ children: [r ? /* @__PURE__ */ (0, R.jsx)(_, { className: "h-4 w-4 mr-1" }) : /* @__PURE__ */ (0, R.jsx)(u, { className: "h-4 w-4 mr-1" }), r ? "JSON" : "Preview"]
144
144
  }),
145
- /* @__PURE__ */ (0, R.jsx)(a, {
145
+ /* @__PURE__ */ (0, R.jsx)(i, {
146
146
  variant: "ghost",
147
147
  size: "sm",
148
148
  onClick: l,
149
149
  children: b ? /* @__PURE__ */ (0, R.jsx)(d, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, R.jsx)(f, { className: "h-4 w-4" })
150
150
  }),
151
- /* @__PURE__ */ (0, R.jsx)(a, {
151
+ /* @__PURE__ */ (0, R.jsx)(i, {
152
152
  variant: "ghost",
153
153
  size: "sm",
154
154
  onClick: p,
155
155
  children: /* @__PURE__ */ (0, R.jsx)(v, { className: "h-4 w-4" })
156
156
  }),
157
- /* @__PURE__ */ (0, R.jsx)(a, {
157
+ /* @__PURE__ */ (0, R.jsx)(i, {
158
158
  variant: "ghost",
159
159
  size: "sm",
160
160
  onClick: m,
@@ -164,7 +164,7 @@ function V({ result: e, isLoading: t, previewMode: n, serverId: i, readResource:
164
164
  })]
165
165
  }), /* @__PURE__ */ (0, R.jsx)("div", {
166
166
  className: "flex-1 overflow-y-auto relative",
167
- children: H && i && o && V ? n ? /* @__PURE__ */ (0, R.jsxs)("div", {
167
+ children: H && a && o && V ? r ? /* @__PURE__ */ (0, R.jsxs)("div", {
168
168
  className: "flex flex-1 h-full relative flex-col min-h-0",
169
169
  "data-testid": "resource-widget-preview",
170
170
  children: [/* @__PURE__ */ (0, R.jsx)("div", {
@@ -188,7 +188,7 @@ function V({ result: e, isLoading: t, previewMode: n, serverId: i, readResource:
188
188
  children: "This widget requires props, set or generate them in the props debugger"
189
189
  })
190
190
  }) : /* @__PURE__ */ (0, R.jsx)(B, {
191
- serverId: i,
191
+ serverId: a,
192
192
  viewId: `resource-${e.timestamp}`,
193
193
  resourceUri: V,
194
194
  toolOutput: e.result,
@@ -249,7 +249,7 @@ function H({ resources: e, selectedResource: t, onResourceSelect: n, focusedInde
249
249
  }
250
250
  //#endregion
251
251
  //#region src/client/components/ResourcesTab.tsx
252
- function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s, mcpServerUrl: c, refreshResources: l }) {
252
+ function U({ ref: e, resources: t, readResource: n, serverId: a, isConnected: s, mcpServerUrl: c, refreshResources: l }) {
253
253
  let [u, d] = (0, L.useState)(!1), [f, h] = (0, L.useState)(null), { selectedResourceUri: g, setSelectedResourceUri: _ } = P(), { llmConfig: v } = F({ mcpServerUrl: c }), [y, T] = (0, L.useState)(null), [D, A] = (0, L.useState)(!1), [j, M] = (0, L.useState)(""), [N] = (0, L.useState)("resources"), [I, z] = (0, L.useState)(!0), [B, U] = (0, L.useState)(!1), [W, G] = (0, L.useState)(-1), [K, q] = (0, L.useState)(!1), J = (0, L.useRef)(null), Y = (0, L.useRef)(null), [ee, te] = (0, L.useState)(!1), [X, Z] = (0, L.useState)("list");
254
254
  (0, L.useEffect)(() => {
255
255
  let e = () => {
@@ -290,14 +290,14 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
290
290
  A(!0);
291
291
  let t = Date.now();
292
292
  try {
293
- let i = await n(e.uri);
293
+ let r = await n(e.uri);
294
294
  k(new O({
295
295
  resourceUri: e.uri,
296
- serverId: r,
296
+ serverId: a,
297
297
  success: !0
298
298
  })).catch(() => {}), T({
299
299
  uri: e.uri,
300
- result: i,
300
+ result: r,
301
301
  timestamp: t,
302
302
  resourceAnnotations: {
303
303
  ...e.annotations,
@@ -307,7 +307,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
307
307
  } catch (n) {
308
308
  k(new O({
309
309
  resourceUri: e.uri,
310
- serverId: r,
310
+ serverId: a,
311
311
  success: !1,
312
312
  error: n instanceof Error ? n.message : "Unknown error"
313
313
  })).catch(() => {}), T({
@@ -329,7 +329,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
329
329
  }
330
330
  }, [
331
331
  n,
332
- r,
332
+ a,
333
333
  s
334
334
  ]);
335
335
  (0, L.useEffect)(() => {
@@ -369,27 +369,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
369
369
  }, [W, Q]), (0, L.useEffect)(() => {
370
370
  if (g && t.length > 0) {
371
371
  let e = t.find((e) => e.uri === g);
372
- fetch("http://127.0.0.1:7371/ingest/4e7482c5-571f-4071-bd09-762c357289f4", {
373
- method: "POST",
374
- headers: {
375
- "Content-Type": "application/json",
376
- "X-Debug-Session-Id": "831b88"
377
- },
378
- body: JSON.stringify({
379
- sessionId: "831b88",
380
- location: "ResourcesTab.tsx:auto-select",
381
- message: "resources auto-select effect",
382
- data: {
383
- selectedResourceUri: g,
384
- resourcesCount: t.length,
385
- resourceFound: !!e,
386
- willSelect: !!(e && f?.uri !== e.uri),
387
- currentSelected: f?.uri ?? null
388
- },
389
- timestamp: Date.now(),
390
- hypothesisId: "H2-compare"
391
- })
392
- }).catch(() => {}), e && f?.uri !== e.uri && (_(null), setTimeout(() => {
372
+ e && f?.uri !== e.uri && (_(null), setTimeout(() => {
393
373
  $(e);
394
374
  let t = document.getElementById(`resource-${e.uri}`);
395
375
  t && t.scrollIntoView({
@@ -434,7 +414,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
434
414
  className: "h-full flex flex-col overflow-hidden relative bg-background",
435
415
  children: [X !== "list" && /* @__PURE__ */ (0, R.jsxs)("div", {
436
416
  className: "flex items-center gap-2 p-2 border-b shrink-0 bg-background z-10",
437
- children: [/* @__PURE__ */ (0, R.jsx)(a, {
417
+ children: [/* @__PURE__ */ (0, R.jsx)(i, {
438
418
  variant: "ghost",
439
419
  size: "sm",
440
420
  onClick: () => {
@@ -463,7 +443,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
463
443
  children: /* @__PURE__ */ (0, R.jsxs)(o, {
464
444
  initial: !1,
465
445
  mode: "popLayout",
466
- children: [X === "list" && /* @__PURE__ */ (0, R.jsx)(i.div, {
446
+ children: [X === "list" && /* @__PURE__ */ (0, R.jsx)(r.div, {
467
447
  initial: { x: "-100%" },
468
448
  animate: { x: 0 },
469
449
  exit: { x: "-100%" },
@@ -493,7 +473,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
493
473
  onResourceSelect: $,
494
474
  focusedIndex: W
495
475
  })] }) })
496
- }, "list"), X === "detail" && /* @__PURE__ */ (0, R.jsx)(i.div, {
476
+ }, "list"), X === "detail" && /* @__PURE__ */ (0, R.jsx)(r.div, {
497
477
  initial: { x: "100%" },
498
478
  animate: { x: 0 },
499
479
  exit: { x: "100%" },
@@ -510,7 +490,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
510
490
  result: y,
511
491
  isLoading: D,
512
492
  previewMode: I,
513
- serverId: r,
493
+ serverId: a,
514
494
  readResource: n,
515
495
  onTogglePreview: () => z(!I),
516
496
  onCopy: ie,
@@ -564,7 +544,7 @@ function U({ ref: e, resources: t, readResource: n, serverId: r, isConnected: s,
564
544
  result: y,
565
545
  isLoading: D,
566
546
  previewMode: I,
567
- serverId: r,
547
+ serverId: a,
568
548
  readResource: n,
569
549
  onTogglePreview: () => z(!I),
570
550
  onCopy: ie,
@@ -1,27 +1,27 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
- import { a as r, n as i, r as a, sr as o, t as s } from "./input-BLxOA7V-.js";
4
- import { t as c } from "./label-CBvG613A.js";
5
- import { a as l, i as u, n as d, r as f, t as p } from "./select-BZ_IoKxg.js";
2
+ import { a as n, n as r, r as i, sr as a, t as o } from "./input-C2OBd4PJ.js";
3
+ import { t as s } from "./jsx-runtime-CIxvMpEo.js";
4
+ import { t as c } from "./label-B9Jmm9be.js";
5
+ import { a as l, i as u, n as d, r as f, t as p } from "./select-DDdiIPR2.js";
6
6
  import { a as m, i as h, r as g, t as _ } from "./browser-CbQIH4w2.js";
7
- import { a as v, t as y } from "./JSONDisplay-D3RcyO9z.js";
8
- import { a as b, i as ee, n as x, o as S, r as C, t as te } from "./shared-uMiV6Fx1.js";
7
+ import { a as v, t as y } from "./JSONDisplay-BFxf5oEu.js";
8
+ import { a as b, i as ee, n as x, o as S, r as C, t as te } from "./shared-DaILIQPP.js";
9
9
  import { t as w } from "./hash-BVQnWi7q.js";
10
10
  import { t as T } from "./loader-circle-BLy9A_pp.js";
11
11
  import { t as E } from "./maximize-2-CH5Lq90B.js";
12
12
  import { t as D } from "./sparkles-BntO2rDR.js";
13
13
  import { t as O } from "./trash-2-RwpJY5SL.js";
14
14
  import { t as k } from "./x-C3vRQIYu.js";
15
- import { t as A } from "./not-found-BcNNsTjS.js";
15
+ import { t as A } from "./not-found-DEtSM_Wd.js";
16
16
  import { u as j } from "./cfWorker-Bxcs9rNe.js";
17
- import "./react-BxO-uEDZ.js";
18
- import { n as M } from "./dist-DjXr_YO3.js";
19
- import { n as N } from "./InspectorContext-DzXtgyTx.js";
20
- import { a as P } from "./dist-mRDqCgKU.js";
21
- import { t as F } from "./useConfig-CwxZ6Quj.js";
22
- import { t as I } from "./textarea-Bj-CT7hC.js";
17
+ import "./react-Dn8PWXwP.js";
18
+ import { n as M } from "./dist-DaMB0Su9.js";
19
+ import { n as N } from "./InspectorContext-UjtEbNod.js";
20
+ import { a as P } from "./dist-B0eL32Gb.js";
21
+ import { t as F } from "./useConfig-BWcNCqwi.js";
22
+ import { t as I } from "./textarea-DSbwcFVt.js";
23
23
  //#region src/client/components/sampling/SamplingRequestsList.tsx
24
- var L = /* @__PURE__ */ e(t(), 1), R = n();
24
+ var L = /* @__PURE__ */ e(t(), 1), R = s();
25
25
  function z({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex: r, formatRelativeTime: i }) {
26
26
  return e.length === 0 ? /* @__PURE__ */ (0, R.jsx)("div", {
27
27
  className: "flex flex-1 flex-col items-center justify-center p-4 text-center",
@@ -91,7 +91,7 @@ function B({ llmConfig: e }) {
91
91
  }
92
92
  //#endregion
93
93
  //#region src/client/components/sampling/SamplingRequestDisplay.tsx
94
- function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b, onTogglePreview: ee, isCopied: x, onCopy: S, onDownload: C, onFullscreen: te, llmConfig: w }) {
94
+ function V({ request: t, onApprove: s, onReject: g, onClose: _, previewMode: b, onTogglePreview: ee, isCopied: x, onCopy: S, onDownload: C, onFullscreen: te, llmConfig: w }) {
95
95
  let [O, A] = (0, L.useState)("manual"), [N, P] = (0, L.useState)("stub-model"), [F, z] = (0, L.useState)("endTurn"), [V, H] = (0, L.useState)("assistant"), [U, W] = (0, L.useState)("text"), [G, K] = (0, L.useState)("positive"), [q, J] = (0, L.useState)(""), [Y, X] = (0, L.useState)("image/png"), [Z, ne] = (0, L.useState)(!1), [re, Q] = (0, L.useState)(null), { generateResponse: ie, isAvailable: $ } = B({ llmConfig: w });
96
96
  (0, L.useEffect)(() => {
97
97
  t && (P(O === "llm" && w?.model ? w.model : "stub-model"), z("endTurn"), H("assistant"), W("text"), K("positive"), J(""), X("image/png"), Q(null));
@@ -173,8 +173,8 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
173
173
  }), /* @__PURE__ */ (0, R.jsxs)("div", {
174
174
  className: "flex items-center gap-2",
175
175
  children: [
176
- /* @__PURE__ */ (0, R.jsxs)(i, { children: [/* @__PURE__ */ (0, R.jsx)(r, {
177
- render: /* @__PURE__ */ (0, R.jsx)(o, {
176
+ /* @__PURE__ */ (0, R.jsxs)(r, { children: [/* @__PURE__ */ (0, R.jsx)(n, {
177
+ render: /* @__PURE__ */ (0, R.jsx)(a, {
178
178
  variant: "ghost",
179
179
  size: "sm",
180
180
  onClick: S,
@@ -182,9 +182,9 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
182
182
  children: x ? /* @__PURE__ */ (0, R.jsx)(m, { className: "h-4 w-4 text-green-600" }) : /* @__PURE__ */ (0, R.jsx)(h, { className: "h-4 w-4" })
183
183
  }),
184
184
  nativeButton: !0
185
- }), /* @__PURE__ */ (0, R.jsx)(a, { children: "Copy request" })] }),
186
- /* @__PURE__ */ (0, R.jsxs)(i, { children: [/* @__PURE__ */ (0, R.jsx)(r, {
187
- render: /* @__PURE__ */ (0, R.jsx)(o, {
185
+ }), /* @__PURE__ */ (0, R.jsx)(i, { children: "Copy request" })] }),
186
+ /* @__PURE__ */ (0, R.jsxs)(r, { children: [/* @__PURE__ */ (0, R.jsx)(n, {
187
+ render: /* @__PURE__ */ (0, R.jsx)(a, {
188
188
  variant: "ghost",
189
189
  size: "sm",
190
190
  onClick: C,
@@ -192,9 +192,9 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
192
192
  children: /* @__PURE__ */ (0, R.jsx)(v, { className: "h-4 w-4" })
193
193
  }),
194
194
  nativeButton: !0
195
- }), /* @__PURE__ */ (0, R.jsx)(a, { children: "Download request" })] }),
196
- /* @__PURE__ */ (0, R.jsxs)(i, { children: [/* @__PURE__ */ (0, R.jsx)(r, {
197
- render: /* @__PURE__ */ (0, R.jsx)(o, {
195
+ }), /* @__PURE__ */ (0, R.jsx)(i, { children: "Download request" })] }),
196
+ /* @__PURE__ */ (0, R.jsxs)(r, { children: [/* @__PURE__ */ (0, R.jsx)(n, {
197
+ render: /* @__PURE__ */ (0, R.jsx)(a, {
198
198
  variant: "ghost",
199
199
  size: "sm",
200
200
  onClick: te,
@@ -202,8 +202,8 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
202
202
  children: /* @__PURE__ */ (0, R.jsx)(E, { className: "h-4 w-4" })
203
203
  }),
204
204
  nativeButton: !0
205
- }), /* @__PURE__ */ (0, R.jsx)(a, { children: "Fullscreen" })] }),
206
- /* @__PURE__ */ (0, R.jsx)(o, {
205
+ }), /* @__PURE__ */ (0, R.jsx)(i, { children: "Fullscreen" })] }),
206
+ /* @__PURE__ */ (0, R.jsx)(a, {
207
207
  variant: "ghost",
208
208
  size: "sm",
209
209
  onClick: _,
@@ -262,7 +262,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
262
262
  className: "space-y-2 p-3 bg-muted rounded-lg",
263
263
  children: [$ ? /* @__PURE__ */ (0, R.jsxs)("div", {
264
264
  className: "flex items-center gap-2",
265
- children: [/* @__PURE__ */ (0, R.jsx)(o, {
265
+ children: [/* @__PURE__ */ (0, R.jsx)(a, {
266
266
  onClick: ae,
267
267
  disabled: Z,
268
268
  size: "sm",
@@ -297,7 +297,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
297
297
  children: [/* @__PURE__ */ (0, R.jsx)(c, {
298
298
  htmlFor: `model-${t.id}`,
299
299
  children: "Model"
300
- }), /* @__PURE__ */ (0, R.jsx)(s, {
300
+ }), /* @__PURE__ */ (0, R.jsx)(o, {
301
301
  id: `model-${t.id}`,
302
302
  value: N,
303
303
  onChange: (e) => P(e.target.value),
@@ -311,7 +311,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
311
311
  children: [/* @__PURE__ */ (0, R.jsx)(c, {
312
312
  htmlFor: `stopReason-${t.id}`,
313
313
  children: "Stop Reason"
314
- }), /* @__PURE__ */ (0, R.jsx)(s, {
314
+ }), /* @__PURE__ */ (0, R.jsx)(o, {
315
315
  id: `stopReason-${t.id}`,
316
316
  value: F,
317
317
  onChange: (e) => z(e.target.value),
@@ -397,7 +397,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
397
397
  children: [/* @__PURE__ */ (0, R.jsx)(c, {
398
398
  htmlFor: `mimeType-${t.id}`,
399
399
  children: "MIME Type"
400
- }), /* @__PURE__ */ (0, R.jsx)(s, {
400
+ }), /* @__PURE__ */ (0, R.jsx)(o, {
401
401
  id: `mimeType-${t.id}`,
402
402
  value: Y,
403
403
  onChange: (e) => X(e.target.value),
@@ -410,15 +410,15 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
410
410
  }),
411
411
  /* @__PURE__ */ (0, R.jsxs)("div", {
412
412
  className: "flex gap-2 p-4 border-t dark:border-zinc-700",
413
- children: [/* @__PURE__ */ (0, R.jsx)(o, {
413
+ children: [/* @__PURE__ */ (0, R.jsx)(a, {
414
414
  onClick: () => {
415
415
  if (!t) return;
416
- let r = j.CreateMessageResult["~standard"].validate(oe);
417
- if (r.issues) {
418
- M.error("Invalid response", { description: `Validation failed: ${r.issues.map((e) => e.message).join(", ")}` });
416
+ let n = j.CreateMessageResult["~standard"].validate(oe);
417
+ if (n.issues) {
418
+ M.error("Invalid response", { description: `Validation failed: ${n.issues.map((e) => e.message).join(", ")}` });
419
419
  return;
420
420
  }
421
- n(t.id, r.value), _(), import("./react-BIs9pQ3H.js").then((t) => /* @__PURE__ */ e(t.t(), 1)).then((e) => {
421
+ s(t.id, n.value), _(), import("./react-BIs9pQ3H.js").then((t) => /* @__PURE__ */ e(t.t(), 1)).then((e) => {
422
422
  let n = M(e.createElement("div", { className: "space-y-3" }, e.createElement("div", null, e.createElement("strong", null, "Sampling Response Sent"), e.createElement("p", { className: "text-sm text-muted-foreground mt-1" }, "The tool will continue executing.")), e.createElement("div", { className: "flex gap-2" }, e.createElement("button", {
423
423
  "data-testid": "sampling-view-tool-result",
424
424
  className: "px-3 py-1.5 text-xs font-medium rounded-md bg-primary text-primary-foreground hover:bg-primary/90",
@@ -433,7 +433,7 @@ function V({ request: t, onApprove: n, onReject: g, onClose: _, previewMode: b,
433
433
  disabled: O === "llm" && Z,
434
434
  "data-testid": "sampling-approve-button",
435
435
  children: "Approve"
436
- }), /* @__PURE__ */ (0, R.jsx)(o, {
436
+ }), /* @__PURE__ */ (0, R.jsx)(a, {
437
437
  onClick: () => {
438
438
  t && (g(t.id, "User rejected sampling request"), _());
439
439
  },
@@ -1,14 +1,14 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
- import { d as r, l as i, u as a } from "./input-BLxOA7V-.js";
4
- import { t as o } from "./label-CBvG613A.js";
5
- import { t as s } from "./JSONDisplay-D3RcyO9z.js";
2
+ import { d as n, l as r, u as i } from "./input-C2OBd4PJ.js";
3
+ import { t as a } from "./jsx-runtime-CIxvMpEo.js";
4
+ import { t as o } from "./label-B9Jmm9be.js";
5
+ import { t as s } from "./JSONDisplay-BFxf5oEu.js";
6
6
  import { t as c } from "./info-CNiOwqkf.js";
7
7
  import { n as l, t as u } from "./servers-Dm72iTpY.js";
8
- import { a as d, i as f, n as p, r as m, t as h } from "./card-DqjqAq0o.js";
9
- import { n as g, r as _, t as v } from "./tabs-subtle-C5cy35sY.js";
8
+ import { a as d, i as f, n as p, r as m, t as h } from "./card-DgiYnSg-.js";
9
+ import { n as g, r as _, t as v } from "./tabs-subtle-CkdI6Mac.js";
10
10
  import { t as y } from "./inspector-settings-layout-0VDsjeqb.js";
11
- import { n as b } from "./ListTabHeader-8lULn-90.js";
11
+ import { n as b } from "./ListTabHeader-Cv-GmtGF.js";
12
12
  //#region src/client/utils/serverMetadata.ts
13
13
  function x(e) {
14
14
  let t = {};
@@ -20,7 +20,7 @@ function x(e) {
20
20
  }
21
21
  //#endregion
22
22
  //#region src/client/components/ServerCapabilitiesList.tsx
23
- var S = /* @__PURE__ */ e(t(), 1), C = n();
23
+ var S = /* @__PURE__ */ e(t(), 1), C = a();
24
24
  function w({ connection: e }) {
25
25
  let t = e.capabilities;
26
26
  return t && Object.keys(t).length > 0 ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -182,18 +182,18 @@ function D({ connection: e, inDialog: t = !1 }) {
182
182
  //#region src/client/components/ServerMetadataTab.tsx
183
183
  var O = "server-metadata";
184
184
  function k({ connection: e }) {
185
- let [t, n] = (0, S.useState)(0), [o, u] = (0, S.useState)(!1), d = x(e);
185
+ let [t, a] = (0, S.useState)(0), [o, u] = (0, S.useState)(!1), d = x(e);
186
186
  return /* @__PURE__ */ (0, C.jsxs)("div", {
187
187
  "data-testid": "server-info-modal",
188
188
  className: "h-full overflow-y-auto overscroll-none",
189
189
  onScroll: (e) => u(e.currentTarget.scrollTop > 0),
190
190
  children: [
191
191
  /* @__PURE__ */ (0, C.jsx)("div", {
192
- className: `${i(o)} flex flex-row items-center justify-between gap-2 ${a}`,
192
+ className: `${r(o)} flex flex-row items-center justify-between gap-2 ${i}`,
193
193
  children: /* @__PURE__ */ (0, C.jsxs)("div", {
194
194
  className: "flex min-w-0 flex-col gap-2 sm:flex-row sm:items-center sm:gap-4",
195
195
  children: [/* @__PURE__ */ (0, C.jsxs)("h2", {
196
- className: `${r} flex items-center gap-1.5`,
196
+ className: `${n} flex items-center gap-1.5`,
197
197
  "data-testid": "server-info-modal-title",
198
198
  children: [/* @__PURE__ */ (0, C.jsx)(c, {
199
199
  className: b,
@@ -201,7 +201,7 @@ function k({ connection: e }) {
201
201
  }), "Server Metadata"]
202
202
  }), /* @__PURE__ */ (0, C.jsxs)(v, {
203
203
  selectedIndex: t,
204
- onSelect: n,
204
+ onSelect: a,
205
205
  idPrefix: O,
206
206
  className: "shrink-0",
207
207
  children: [/* @__PURE__ */ (0, C.jsx)(g, {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./jsx-runtime-CIxvMpEo.js";
2
- import { Rr as t } from "./input-BLxOA7V-.js";
1
+ import { Rr as e } from "./input-C2OBd4PJ.js";
2
+ import { t } from "./jsx-runtime-CIxvMpEo.js";
3
3
  import { t as n } from "./createLucideIcon-C5fZZ6oB.js";
4
4
  import { a as r } from "./browser-CbQIH4w2.js";
5
5
  import { t as i } from "./loader-circle-BLy9A_pp.js";
@@ -31,15 +31,15 @@ var a = n("circle-x", [
31
31
  d: "M12 17h.01",
32
32
  key: "p32p05"
33
33
  }]
34
- ]), s = e(), c = {
34
+ ]), s = t(), c = {
35
35
  success: "border-emerald-700/20 bg-emerald-700/10 text-emerald-700 dark:border-emerald-400/30 dark:bg-emerald-400/10 dark:text-emerald-400",
36
36
  failed: "border-red-500/20 bg-red-500/10 text-red-500 dark:border-red-400/30 dark:bg-red-400/10 dark:text-red-400",
37
37
  warning: "border-amber-700/20 bg-amber-700/10 text-amber-700 dark:border-amber-400/30 dark:bg-amber-400/10 dark:text-amber-400",
38
38
  loading: "border-purple-500/20 bg-purple-500/10 text-purple-500 dark:border-purple-400/30 dark:bg-purple-400/10 dark:text-purple-400 animate-spin"
39
39
  }, l = "size-4 shrink-0 rounded-full border p-0.5";
40
- function u({ state: e, className: n }) {
41
- let u = t(l, c[e], n);
42
- switch (e) {
40
+ function u({ state: t, className: n }) {
41
+ let u = e(l, c[t], n);
42
+ switch (t) {
43
43
  case "success": return /* @__PURE__ */ (0, s.jsx)(r, {
44
44
  className: u,
45
45
  "aria-hidden": !0