@mcp-use/inspector 20.0.0-beta.5 → 20.0.0-beta.7

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/dist/cdn/{AnimatePresence-Dcw-FOy8.js → AnimatePresence-D1bZ5_-l.js} +79 -78
  2. package/dist/cdn/{ChatTab-B255lH5i.js → ChatTab-DtUGK07C.js} +1628 -1561
  3. package/dist/cdn/CheckboxIndicator-BjF73mGX.js +252 -0
  4. package/dist/cdn/{ConnectionSettingsForm-DF-NS58d.js → ConnectionSettingsForm-CNuMa6jp.js} +202 -202
  5. package/dist/cdn/{ConnectionSettingsTab-dI-Cqe79.js → ConnectionSettingsTab-qSVQ1aIF.js} +36 -35
  6. package/dist/cdn/{ElicitationTab-CL1KJ0bz.js → ElicitationTab-PEmEDvC5.js} +47 -46
  7. package/dist/cdn/{FormContext-tmgN_Vdr.js → FormContext-NtUiZclE.js} +26 -26
  8. package/dist/cdn/{InspectorContext-UjtEbNod.js → InspectorContext-BBKCdfmK.js} +1 -1
  9. package/dist/cdn/{JSONDisplay-BFxf5oEu.js → JSONDisplay-BJqMz7Ny.js} +22 -22
  10. package/dist/cdn/{ListTabHeader-Cv-GmtGF.js → ListTabHeader-DzmTtN1e.js} +20 -19
  11. package/dist/cdn/{WidgetWrapper-B4H3Fek7.js → MCPAppsDebugControls-BpP-Ifap.js} +514 -550
  12. package/dist/cdn/{ManufactOAuthCallback-B98kSYCj.js → ManufactOAuthCallback-ChbbjFIT.js} +2 -2
  13. package/dist/cdn/{MarkdownRenderer-Ba7nA4Ie.js → MarkdownRenderer-bX1BrKgI.js} +23 -23
  14. package/dist/cdn/McpAppsViewPanel-jlsYQ7uS.js +56 -0
  15. package/dist/cdn/{NotificationsTab-CeImSrhx.js → NotificationsTab-B7uebqMV.js} +21 -21
  16. package/dist/cdn/{OAuthCallback-Blc2Asxc.js → OAuthCallback--NZdLoWx.js} +3 -3
  17. package/dist/cdn/PromptsTab-BlXDcau3.js +902 -0
  18. package/dist/cdn/{ResourcesTab-BGualKW-.js → ResourcesTab-D45_JojP.js} +116 -114
  19. package/dist/cdn/{SamplingTab-BeZBUeni.js → SamplingTab-r7tImM6L.js} +34 -33
  20. package/dist/cdn/{ServerMetadataTab-CvrKX8fz.js → ServerMetadataTab-BM3VhSLf.js} +9 -9
  21. package/dist/cdn/{StatusIcon-D0-ARyOh.js → StatusIcon-Q3n3YRtE.js} +10 -11
  22. package/dist/cdn/{ToolsTab-j6n4O_3s.js → ToolsTab-DOAO8HnS.js} +664 -652
  23. package/dist/cdn/{ViewPreview-DihyG6Qd.js → ViewPreview-CBhrVdwx.js} +3 -3
  24. package/dist/cdn/{WidgetDebugContext-D4usL_MA.js → WidgetDebugContext-B6yoOVVV.js} +1 -11
  25. package/dist/cdn/WidgetWrapper-BlbQAh_X.js +12 -0
  26. package/dist/cdn/{bell-CGjAO_0s.js → bell-GrTZcnD2.js} +1 -1
  27. package/dist/cdn/{browser-CbQIH4w2.js → browser-DG2Z8392.js} +1 -1
  28. package/dist/cdn/{brush-B_mKhyxG.js → brush-CelVvMGp.js} +1 -1
  29. package/dist/cdn/button-CB4uOoUV.js +2509 -0
  30. package/dist/cdn/card-BA-DQk-G.js +41 -0
  31. package/dist/cdn/{checkbox-By0FklhG.js → checkbox-kwVa4gRX.js} +7 -7
  32. package/dist/cdn/{clock-CmUbSx_B.js → clock-YMF8Gtw5.js} +1 -1
  33. package/dist/cdn/{code-V_0nf5rg.js → code-C8sN2OGR.js} +1 -1
  34. package/dist/cdn/{jsx-runtime-CIxvMpEo.js → createLucideIcon-BONxC1L5.js} +57 -24
  35. package/dist/cdn/{dialog-BsDpuJd3.js → dialog-CJGnC5Ag.js} +171 -171
  36. package/dist/cdn/{dist-DaMB0Su9.js → dist-CTJnCYmk.js} +1 -1
  37. package/dist/cdn/{dist-DbX5yidW.js → dist-SxRsB1iS.js} +5 -4
  38. package/dist/cdn/{external-link-CjmfT6rW.js → external-link-Bo4lQxr1.js} +1 -1
  39. package/dist/cdn/{eye-B7H96av8.js → eye-pSGG7nvf.js} +1 -1
  40. package/dist/cdn/{folder-open-B3lu2rG_.js → folder-open-aM8CPtBO.js} +1 -1
  41. package/dist/cdn/{hash-BVQnWi7q.js → hash-DDs2vE1k.js} +1 -1
  42. package/dist/cdn/{history-Csw4rb44.js → history-BfUFpL1d.js} +1 -1
  43. package/dist/cdn/{index-browser-DkQOzkvX.js → index-browser-Dm3R1Mfe.js} +1 -1
  44. package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
  45. package/dist/cdn/{input-C2OBd4PJ.js → input-BCpgLXU1.js} +2993 -5499
  46. package/dist/cdn/inspector.css +1 -1
  47. package/dist/cdn/inspector.js +7106 -7140
  48. package/dist/cdn/{label-B9Jmm9be.js → label-A0UGV8FE.js} +9 -9
  49. package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
  50. package/dist/cdn/{maximize-2-CH5Lq90B.js → maximize-2-DdrB_spi.js} +1 -1
  51. package/dist/cdn/{maximize-BALCV_ep.js → maximize-hSOCz133.js} +1 -1
  52. package/dist/cdn/{message-square-BnxdpJxZ.js → message-square-D3tKB3uJ.js} +1 -1
  53. package/dist/cdn/{not-found-DEtSM_Wd.js → not-found-BajFyZpp.js} +9 -11
  54. package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
  55. package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
  56. package/dist/cdn/{react-BajV-X4P.js → react-Bl-hSkvn.js} +628 -571
  57. package/dist/cdn/{refresh-cw-BXY-Pa0U.js → refresh-cw-CyvXrS91.js} +1 -1
  58. package/dist/cdn/{save-Tgil_AJZ.js → save-CmdEPUAm.js} +1 -1
  59. package/dist/cdn/{select-DDdiIPR2.js → select-CCFHjOGk.js} +808 -807
  60. package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
  61. package/dist/cdn/{shared-DaILIQPP.js → shared-CJVHJhag.js} +36 -36
  62. package/dist/cdn/{sheet-Br_l2kry.js → sheet-oyq1mIyg.js} +620 -619
  63. package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
  64. package/dist/cdn/spinner-Be1GlSGX.js +15 -0
  65. package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
  66. package/dist/cdn/{switch-C3IyQuid.js → switch-DHXEA_N5.js} +190 -189
  67. package/dist/cdn/{tabs-subtle-CkdI6Mac.js → tabs-subtle-Dubd6Kj8.js} +269 -268
  68. package/dist/cdn/{telemetry-DabTAQ8x.js → telemetry-TwPKZlFf.js} +2 -2
  69. package/dist/cdn/{textarea-DSbwcFVt.js → textarea-CwmI8_uI.js} +6 -6
  70. package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
  71. package/dist/cdn/{useAriaLabelledBy-DqAdnppm.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
  72. package/dist/cdn/{useCompositeItem-BRqEzYh-.js → useCompositeItem-Dhnm-7el.js} +3 -3
  73. package/dist/cdn/{useConfig-Btmh8wjJ.js → useConfig-leHVjdjl.js} +2 -2
  74. package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
  75. package/dist/cdn/{useViewHostProps-B6SKeeH9.js → useViewHostProps-CDOm2w6u.js} +124 -109
  76. package/dist/cdn/{wrench-DzGmCfnb.js → wrench-DvK20LUT.js} +1 -1
  77. package/dist/cdn/{x-C3vRQIYu.js → x-EilKPiCX.js} +1 -1
  78. package/dist/cdn/{zap-Mb-pbw2X.js → zap-0Wr9QO7N.js} +1 -1
  79. package/dist/cli.js +1 -1
  80. package/dist/client/components/ChatTab.d.ts.map +1 -1
  81. package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
  82. package/dist/client/components/ToolsTab.d.ts.map +1 -1
  83. package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
  84. package/dist/client/components/chat/MessageList.d.ts +1 -0
  85. package/dist/client/components/chat/MessageList.d.ts.map +1 -1
  86. package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
  87. package/dist/client/components/chat/partialToolArgs.d.ts +10 -0
  88. package/dist/client/components/chat/partialToolArgs.d.ts.map +1 -0
  89. package/dist/client/components/chat/types.d.ts +1 -0
  90. package/dist/client/components/chat/types.d.ts.map +1 -1
  91. package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
  92. package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
  93. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
  94. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
  95. package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
  96. package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
  97. package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
  98. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
  99. package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -1
  100. package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
  101. package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
  102. package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
  103. package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
  104. package/dist/client/components/ui/mesh-tab-background.d.ts +1 -1
  105. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
  106. package/dist/client/components/ui/not-found.d.ts.map +1 -1
  107. package/dist/client/context/WidgetDebugContext.d.ts +1 -11
  108. package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
  109. package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
  110. package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
  111. package/dist/client/hooks/useViewHostProps.d.ts +1 -1
  112. package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
  113. package/dist/client/index.js +2238 -1935
  114. package/dist/client/utils/servers.d.ts +5 -0
  115. package/dist/client/utils/servers.d.ts.map +1 -1
  116. package/dist/server/cdn-shell.js +2 -2
  117. package/dist/server/{chunk-ZCGLU5T7.js → chunk-5GVQGIAX.js} +1 -1
  118. package/dist/server/{chunk-DSTNUYWX.js → chunk-UZZDBVKF.js} +1 -1
  119. package/dist/server/{chunk-SQ4XNMLT.js → chunk-VFVFLXKP.js} +1 -1
  120. package/dist/server/cli.js +2 -2
  121. package/dist/server/index.js +3 -3
  122. package/dist/server/middleware.js +3 -3
  123. package/dist/server/version.js +1 -1
  124. package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
  125. package/dist/web/assets/ChatTab-B6ubLbeA.js +18 -0
  126. package/dist/web/assets/ConnectionSettingsTab-Cb2eDgEu.js +1 -0
  127. package/dist/web/assets/ElicitationTab-CbnCrmu9.js +1 -0
  128. package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
  129. package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
  130. package/dist/web/assets/MCPAppsDebugControls-sRglMhat.js +34 -0
  131. package/dist/web/assets/{ManufactOAuthCallback-CS3ydSZg.js → ManufactOAuthCallback-D4uYGigW.js} +1 -1
  132. package/dist/web/assets/{MarkdownRenderer-BeeBfQhv.js → MarkdownRenderer-Cwxp9fLj.js} +2 -2
  133. package/dist/web/assets/McpAppsViewPanel-jQYFoZNX.js +1 -0
  134. package/dist/web/assets/{NotificationsTab-Uj0_DrmK.js → NotificationsTab-DuSm762_.js} +1 -1
  135. package/dist/web/assets/{OAuthCallback-C0ljgCiw.js → OAuthCallback-VLHlUe2c.js} +1 -1
  136. package/dist/web/assets/PromptsTab-DK6XZxR8.js +15 -0
  137. package/dist/web/assets/ResourcesTab-CUE4MAtJ.js +2 -0
  138. package/dist/web/assets/SamplingTab-BYNkVCTu.js +1 -0
  139. package/dist/web/assets/ServerMetadataTab-DWjNFMbq.js +1 -0
  140. package/dist/web/assets/ToolsTab-BisWWY2p.js +8 -0
  141. package/dist/web/assets/{ViewPreview-Ba1Ec5uA.js → ViewPreview-COrmPpRr.js} +1 -1
  142. package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
  143. package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
  144. package/dist/web/assets/button-C8Xa2k4x.js +1 -0
  145. package/dist/web/assets/checkbox-B6dtF73d.js +1 -0
  146. package/dist/web/assets/code-B14rVdNt.js +1 -0
  147. package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
  148. package/dist/web/assets/{dist-C5JjLJN9.js → dist-9Oy7e0v8.js} +5 -5
  149. package/dist/web/assets/index-BMaSsizY.js +499 -0
  150. package/dist/web/assets/index-D7TVTIt9.css +1 -0
  151. package/dist/web/assets/input-C0OQCUZy.js +1 -0
  152. package/dist/web/assets/{label-Cdim77Jw.js → label-CI7JWQOo.js} +1 -1
  153. package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
  154. package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
  155. package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
  156. package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
  157. package/dist/web/assets/select-D6jzbLJn.js +1 -0
  158. package/dist/web/assets/shared-CFs9CZfB.js +1 -0
  159. package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
  160. package/dist/web/assets/tabs-subtle-D2XkWhLL.js +1 -0
  161. package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
  162. package/dist/web/assets/{useConfig-BAgALiZg.js → useConfig-B6tXvJOb.js} +1 -1
  163. package/dist/web/assets/useViewHostProps-DZqOwiAm.js +1 -0
  164. package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
  165. package/dist/web/index.html +10 -10
  166. package/package.json +4 -4
  167. package/dist/cdn/CheckboxIndicator-Bt4IICtv.js +0 -251
  168. package/dist/cdn/PromptsTab-BYKnY7Rp.js +0 -901
  169. package/dist/cdn/card-DgiYnSg-.js +0 -41
  170. package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
  171. package/dist/cdn/providerMeta-BQIfHuNL.js +0 -379
  172. package/dist/cdn/spinner-jQtC7EBj.js +0 -15
  173. package/dist/web/assets/AnimatePresence-C5p0yiY1.js +0 -9
  174. package/dist/web/assets/ChatTab-BCobuZDc.js +0 -18
  175. package/dist/web/assets/ConnectionSettingsTab-BjGkLwVu.js +0 -1
  176. package/dist/web/assets/ElicitationTab-D3ZUKHND.js +0 -1
  177. package/dist/web/assets/FormContext-DH2caWKO.js +0 -1
  178. package/dist/web/assets/ListTabHeader-R17w_JsB.js +0 -1
  179. package/dist/web/assets/PromptsTab-Bns2u0G-.js +0 -15
  180. package/dist/web/assets/ResourcesTab-CO24312V.js +0 -2
  181. package/dist/web/assets/SamplingTab-7gtN7FwU.js +0 -1
  182. package/dist/web/assets/ServerMetadataTab-CQwqYSjL.js +0 -1
  183. package/dist/web/assets/ToolsTab-bDdRxI1b.js +0 -8
  184. package/dist/web/assets/WidgetWrapper-CYHfzrtb.js +0 -34
  185. package/dist/web/assets/checkbox-CzBkaNKa.js +0 -1
  186. package/dist/web/assets/code-tME-5H6D.js +0 -1
  187. package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
  188. package/dist/web/assets/index-TQ5V7cM9.js +0 -492
  189. package/dist/web/assets/index-fBX3akc8.css +0 -1
  190. package/dist/web/assets/input-CLYhA7PK.js +0 -1
  191. package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
  192. package/dist/web/assets/select-CJ57-Bor.js +0 -1
  193. package/dist/web/assets/shared-BF0rJNdE.js +0 -1
  194. package/dist/web/assets/tabs-subtle-6D79T1xd.js +0 -1
  195. package/dist/web/assets/textarea-DLAmNVf_.js +0 -1
  196. package/dist/web/assets/useViewHostProps-BYitt_6K.js +0 -1
@@ -1,19 +1,19 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { Rr as n, sr as r, t 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 { a as s, i as c, n as l, r as u, t as d } from "./select-DDdiIPR2.js";
6
- import { t as f } from "./createLucideIcon-C5fZZ6oB.js";
7
- import { c as p, l as m, n as h, o as g, r as _, t as v, w as y, x as b } from "./dialog-BsDpuJd3.js";
8
- import { i as ee, t as te } from "./browser-CbQIH4w2.js";
9
- import { n as x, t as S } from "./eye-B7H96av8.js";
10
- import { t as C } from "./trash-2-RwpJY5SL.js";
11
- import { t as w } from "./react-BajV-X4P.js";
2
+ import { t as n } from "./input-BCpgLXU1.js";
3
+ import { n as r, t as i } from "./createLucideIcon-BONxC1L5.js";
4
+ import { U as a, t as o } from "./button-CB4uOoUV.js";
5
+ import { t as s } from "./label-A0UGV8FE.js";
6
+ import { a as c, i as l, n as u, r as d, t as f } from "./select-CCFHjOGk.js";
7
+ import { c as p, l as m, n as h, o as g, r as _, t as v, w as y, x as b } from "./dialog-CJGnC5Ag.js";
8
+ import { i as ee, t as te } from "./browser-DG2Z8392.js";
9
+ import { n as x, t as S } from "./eye-pSGG7nvf.js";
10
+ import { t as C } from "./trash-2-BhumJAFE.js";
11
+ import { t as w } from "./react-Bl-hSkvn.js";
12
12
  import { r as T } from "./basePath-B8HuhIMu.js";
13
- import { i as E, r as D } from "./servers-Dm72iTpY.js";
14
- import { n as O } from "./dist-DaMB0Su9.js";
15
- import { a as k, i as A, n as j, r as M, t as N } from "./card-DgiYnSg-.js";
16
- var ne = f("cog", [
13
+ import { a as ne, i as re } from "./servers-Dd0Vcp81.js";
14
+ import { n as E } from "./dist-CTJnCYmk.js";
15
+ import { a as D, i as O, n as k, r as A, t as j } from "./card-BA-DQk-G.js";
16
+ var ie = i("cog", [
17
17
  ["path", {
18
18
  d: "M11 10.27 7 3.34",
19
19
  key: "16pf9h"
@@ -74,7 +74,7 @@ var ne = f("cog", [
74
74
  r: "8",
75
75
  key: "46899m"
76
76
  }]
77
- ]), re = f("file-text", [
77
+ ]), ae = i("file-text", [
78
78
  ["path", {
79
79
  d: "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",
80
80
  key: "1oefj6"
@@ -95,18 +95,18 @@ var ne = f("cog", [
95
95
  d: "M16 17H8",
96
96
  key: "z1uh3a"
97
97
  }]
98
- ]), P = /* @__PURE__ */ e(t(), 1), F = a(), I = "2026-07-28";
99
- function ie(e) {
98
+ ]), M = /* @__PURE__ */ e(t(), 1), N = r(), P = "2026-07-28";
99
+ function oe(e) {
100
100
  switch (e) {
101
101
  case "v1": return "legacy";
102
- case "v2": return { pin: I };
102
+ case "v2": return { pin: P };
103
103
  default: return "auto";
104
104
  }
105
105
  }
106
- function ae(e) {
106
+ function F(e) {
107
107
  return e === "legacy" ? "v1" : typeof e == "object" && e?.pin ? "v2" : "auto";
108
108
  }
109
- function oe() {
109
+ function I() {
110
110
  if (typeof window > "u") return "";
111
111
  let e = window.__MCP_PROXY_URL__;
112
112
  return e === null ? "" : `${window.location.origin}${e || T("proxy")}`;
@@ -227,7 +227,7 @@ function Y(e) {
227
227
  requestTimeout: "requestTimeout" in e ? e.requestTimeout : void 0,
228
228
  resetTimeoutOnProgress: "resetTimeoutOnProgress" in e ? e.resetTimeoutOnProgress : void 0,
229
229
  maxTotalTimeout: "maxTotalTimeout" in e ? e.maxTotalTimeout : void 0,
230
- protocolMode: ae(e.protocolNegotiation)
230
+ protocolMode: F(e.protocolNegotiation)
231
231
  };
232
232
  }
233
233
  function X(e, t) {
@@ -239,7 +239,7 @@ var se = class extends w {
239
239
  let t = this.readRawStoredServers(), n = Object.fromEntries(Object.entries(e).map(([e, n]) => [e, {
240
240
  ...B(t[e]),
241
241
  ...n,
242
- ...D(e) && typeof n.url == "string" && E(n.url) ? { url: e } : {}
242
+ ...re(e) && typeof n.url == "string" && ne(n.url) ? { url: e } : {}
243
243
  }]));
244
244
  super.setServers(n);
245
245
  }
@@ -261,9 +261,9 @@ var se = class extends w {
261
261
  };
262
262
  //#endregion
263
263
  //#region src/client/components/CustomHeadersEditor.tsx
264
- function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Custom Headers", description: l = "Headers with both name and value will be sent", maxHeaders: u = 50 }) {
265
- let [d, f] = (0, P.useState)({}), [p, m] = (0, P.useState)(null), h = (0, P.useRef)({});
266
- (0, P.useEffect)(() => {
264
+ function ce({ headers: e, onChange: t, onSave: r, className: i, title: c = "Custom Headers", description: l = "Headers with both name and value will be sent", maxHeaders: u = 50 }) {
265
+ let [d, f] = (0, M.useState)({}), [p, m] = (0, M.useState)(null), h = (0, M.useRef)({});
266
+ (0, M.useEffect)(() => {
267
267
  p && h.current[p] && (h.current[p]?.focus(), m(null));
268
268
  }, [p, e]);
269
269
  let g = () => Math.random().toString(36).slice(2, 11), _ = () => {
@@ -287,29 +287,29 @@ function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Cust
287
287
  [e]: !t[e]
288
288
  }));
289
289
  };
290
- return /* @__PURE__ */ (0, F.jsxs)("div", {
291
- className: n("space-y-3", s),
290
+ return /* @__PURE__ */ (0, N.jsxs)("div", {
291
+ className: a("space-y-3", i),
292
292
  children: [
293
- /* @__PURE__ */ (0, F.jsxs)("div", {
293
+ /* @__PURE__ */ (0, N.jsxs)("div", {
294
294
  className: "space-y-2",
295
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
295
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
296
296
  className: "text-base font-medium",
297
297
  children: c
298
- }), /* @__PURE__ */ (0, F.jsx)("p", {
298
+ }), /* @__PURE__ */ (0, N.jsx)("p", {
299
299
  className: "text-sm text-muted-foreground",
300
300
  children: l
301
301
  })]
302
302
  }),
303
- /* @__PURE__ */ (0, F.jsxs)("div", {
303
+ /* @__PURE__ */ (0, N.jsxs)("div", {
304
304
  className: "space-y-2",
305
305
  children: [
306
- /* @__PURE__ */ (0, F.jsxs)("div", {
306
+ /* @__PURE__ */ (0, N.jsxs)("div", {
307
307
  className: "grid grid-cols-[1fr_1fr] gap-4 text-sm font-medium text-muted-foreground",
308
- children: [/* @__PURE__ */ (0, F.jsx)("div", { children: "Name" }), /* @__PURE__ */ (0, F.jsx)("div", { children: "Value" })]
308
+ children: [/* @__PURE__ */ (0, N.jsx)("div", { children: "Name" }), /* @__PURE__ */ (0, N.jsx)("div", { children: "Value" })]
309
309
  }),
310
- e.length === 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
310
+ e.length === 0 ? /* @__PURE__ */ (0, N.jsxs)("div", {
311
311
  className: "grid grid-cols-[1fr_1fr] gap-4 items-center",
312
- children: [/* @__PURE__ */ (0, F.jsx)(i, {
312
+ children: [/* @__PURE__ */ (0, N.jsx)(n, {
313
313
  placeholder: "Authorization",
314
314
  value: "",
315
315
  onChange: (e) => {
@@ -324,10 +324,10 @@ function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Cust
324
324
  },
325
325
  className: "text-sm",
326
326
  autoComplete: "off"
327
- }), /* @__PURE__ */ (0, F.jsxs)("div", {
327
+ }), /* @__PURE__ */ (0, N.jsxs)("div", {
328
328
  className: "flex items-center gap-2",
329
329
  children: [
330
- /* @__PURE__ */ (0, F.jsx)(i, {
330
+ /* @__PURE__ */ (0, N.jsx)(n, {
331
331
  placeholder: "Bearer token...",
332
332
  value: "",
333
333
  onChange: () => {},
@@ -336,27 +336,27 @@ function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Cust
336
336
  autoComplete: "off",
337
337
  disabled: !0
338
338
  }),
339
- /* @__PURE__ */ (0, F.jsx)(r, {
339
+ /* @__PURE__ */ (0, N.jsx)(o, {
340
340
  type: "button",
341
341
  variant: "ghost",
342
342
  size: "icon-sm",
343
343
  className: "h-8 w-8 p-0",
344
344
  disabled: !0,
345
- children: /* @__PURE__ */ (0, F.jsx)(S, { className: "h-4 w-4" })
345
+ children: /* @__PURE__ */ (0, N.jsx)(S, { className: "h-4 w-4" })
346
346
  }),
347
- /* @__PURE__ */ (0, F.jsx)(r, {
347
+ /* @__PURE__ */ (0, N.jsx)(o, {
348
348
  type: "button",
349
349
  variant: "ghost",
350
350
  size: "icon-sm",
351
351
  className: "h-8 w-8 p-0",
352
352
  disabled: !0,
353
- children: /* @__PURE__ */ (0, F.jsx)(C, { className: "h-4 w-4" })
353
+ children: /* @__PURE__ */ (0, N.jsx)(C, { className: "h-4 w-4" })
354
354
  })
355
355
  ]
356
356
  })]
357
- }) : e.map((e) => /* @__PURE__ */ (0, F.jsxs)("div", {
357
+ }) : e.map((e) => /* @__PURE__ */ (0, N.jsxs)("div", {
358
358
  className: "grid grid-cols-[1fr_1fr] gap-4 items-center",
359
- children: [/* @__PURE__ */ (0, F.jsx)(i, {
359
+ children: [/* @__PURE__ */ (0, N.jsx)(n, {
360
360
  ref: (t) => {
361
361
  h.current[e.id] = t;
362
362
  },
@@ -365,10 +365,10 @@ function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Cust
365
365
  onChange: (t) => b(e.id, "name", t.target.value),
366
366
  className: "text-sm",
367
367
  autoComplete: "off"
368
- }), /* @__PURE__ */ (0, F.jsxs)("div", {
368
+ }), /* @__PURE__ */ (0, N.jsxs)("div", {
369
369
  className: "flex items-center gap-2",
370
370
  children: [
371
- /* @__PURE__ */ (0, F.jsx)(i, {
371
+ /* @__PURE__ */ (0, N.jsx)(n, {
372
372
  placeholder: "",
373
373
  value: e.value,
374
374
  onChange: (t) => b(e.id, "value", t.target.value),
@@ -376,44 +376,44 @@ function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Cust
376
376
  className: "font-mono text-sm",
377
377
  autoComplete: "off"
378
378
  }),
379
- /* @__PURE__ */ (0, F.jsx)(r, {
379
+ /* @__PURE__ */ (0, N.jsx)(o, {
380
380
  type: "button",
381
381
  variant: "ghost",
382
382
  size: "icon-sm",
383
383
  onClick: () => ee(e.id),
384
384
  className: "h-8 w-8 p-0",
385
- children: d[e.id] ? /* @__PURE__ */ (0, F.jsx)(x, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, F.jsx)(S, { className: "h-4 w-4" })
385
+ children: d[e.id] ? /* @__PURE__ */ (0, N.jsx)(x, { className: "h-4 w-4" }) : /* @__PURE__ */ (0, N.jsx)(S, { className: "h-4 w-4" })
386
386
  }),
387
- /* @__PURE__ */ (0, F.jsx)(r, {
387
+ /* @__PURE__ */ (0, N.jsx)(o, {
388
388
  type: "button",
389
389
  variant: "ghost",
390
390
  size: "icon-sm",
391
391
  onClick: () => v(e.id),
392
392
  className: "h-8 w-8 p-0",
393
- children: /* @__PURE__ */ (0, F.jsx)(C, { className: "h-4 w-4" })
393
+ children: /* @__PURE__ */ (0, N.jsx)(C, { className: "h-4 w-4" })
394
394
  })
395
395
  ]
396
396
  })]
397
397
  }, e.id)),
398
- /* @__PURE__ */ (0, F.jsx)("div", {
398
+ /* @__PURE__ */ (0, N.jsx)("div", {
399
399
  className: "flex justify-start mt-4",
400
- children: /* @__PURE__ */ (0, F.jsxs)(r, {
400
+ children: /* @__PURE__ */ (0, N.jsxs)(o, {
401
401
  type: "button",
402
402
  variant: "outline",
403
403
  size: "sm",
404
404
  onClick: _,
405
405
  disabled: e.length >= u,
406
406
  className: "flex items-center gap-2",
407
- children: [/* @__PURE__ */ (0, F.jsx)(y, { className: "h-4 w-4" }), "Add"]
407
+ children: [/* @__PURE__ */ (0, N.jsx)(y, { className: "h-4 w-4" }), "Add"]
408
408
  })
409
409
  })
410
410
  ]
411
411
  }),
412
- a && /* @__PURE__ */ (0, F.jsx)("div", {
412
+ r && /* @__PURE__ */ (0, N.jsx)("div", {
413
413
  className: "flex justify-end",
414
- children: /* @__PURE__ */ (0, F.jsx)(r, {
414
+ children: /* @__PURE__ */ (0, N.jsx)(o, {
415
415
  type: "button",
416
- onClick: a,
416
+ onClick: r,
417
417
  className: "bg-black text-white hover:bg-gray-800",
418
418
  children: "Save"
419
419
  })
@@ -423,18 +423,18 @@ function ce({ headers: e, onChange: t, onSave: a, className: s, title: c = "Cust
423
423
  }
424
424
  //#endregion
425
425
  //#region src/client/components/ConnectionSettingsForm.tsx
426
- function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setConnectionMode: x, protocolMode: S, setProtocolMode: C, customHeaders: w, setCustomHeaders: T, requestTimeout: E, setRequestTimeout: D, resetTimeoutOnProgress: I, setResetTimeoutOnProgress: oe, maxTotalTimeout: R, setMaxTotalTimeout: z, proxyAddress: B, setProxyAddress: V, clientId: H, setClientId: U, clientSecret: W, setClientSecret: G, scope: K, setScope: q, onConnect: J, onSave: Y, onCancel: X, variant: se = "default", showConnectButton: le = !1, showSaveButton: ue = !1, showExportButton: de = !1, isConnecting: fe = !1, inlineSections: Z = !1, cardSections: Q = !1 }) {
427
- let [pe, me] = (0, P.useState)(!1), [he, ge] = (0, P.useState)(!1), [_e, ve] = (0, P.useState)(!1), ye = (0, P.useRef)(!1), be = async () => {
428
- if (!a.trim()) {
429
- O.error("Please enter a URL first");
426
+ function le({ alias: e, setAlias: t, url: r, setUrl: i, connectionMode: y, setConnectionMode: x, protocolMode: S, setProtocolMode: C, customHeaders: w, setCustomHeaders: T, requestTimeout: ne, setRequestTimeout: re, resetTimeoutOnProgress: P, setResetTimeoutOnProgress: I, maxTotalTimeout: R, setMaxTotalTimeout: z, proxyAddress: B, setProxyAddress: V, clientId: H, setClientId: U, clientSecret: W, setClientSecret: G, scope: K, setScope: q, onConnect: J, onSave: Y, onCancel: X, variant: se = "default", showConnectButton: le = !1, showSaveButton: ue = !1, showExportButton: de = !1, isConnecting: fe = !1, inlineSections: Z = !1, cardSections: Q = !1 }) {
427
+ let [pe, me] = (0, M.useState)(!1), [he, ge] = (0, M.useState)(!1), [_e, ve] = (0, M.useState)(!1), ye = (0, M.useRef)(!1), be = async () => {
428
+ if (!r.trim()) {
429
+ E.error("Please enter a URL first");
430
430
  return;
431
431
  }
432
432
  let t = {
433
- url: a,
433
+ url: r,
434
434
  ...e.trim() ? { name: e.trim() } : {},
435
435
  transportType: "http",
436
436
  connectionMode: y,
437
- protocolNegotiation: ie(S),
437
+ protocolNegotiation: oe(S),
438
438
  connectionType: y === "proxy" ? "Via Proxy" : "Direct",
439
439
  proxyConfig: y === "proxy" && B.trim() ? {
440
440
  proxyAddress: B.trim(),
@@ -445,8 +445,8 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
445
445
  proxyAddress: B.trim()
446
446
  } : void 0,
447
447
  customHeaders: w.reduce((e, t) => (t.name && t.value && (e[t.name] = t.value), e), {}),
448
- requestTimeout: Number.parseInt(E, 10),
449
- resetTimeoutOnProgress: I === "True",
448
+ requestTimeout: Number.parseInt(ne, 10),
449
+ resetTimeoutOnProgress: P === "True",
450
450
  maxTotalTimeout: Number.parseInt(R, 10),
451
451
  oauth: H || K ? {
452
452
  clientId: H,
@@ -455,73 +455,73 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
455
455
  } : void 0
456
456
  };
457
457
  try {
458
- await te(JSON.stringify(t, null, 2)), O.success("Configuration copied to clipboard");
458
+ await te(JSON.stringify(t, null, 2)), E.success("Configuration copied to clipboard");
459
459
  } catch {
460
- O.error("Failed to copy configuration to clipboard");
460
+ E.error("Failed to copy configuration to clipboard");
461
461
  }
462
462
  }, $ = se === "styled", xe = $ ? "bg-white/10 border-white/20 text-white placeholder:text-white/50" : "", Se = $ ? "text-white/90" : "", Ce = $ ? "bg-white/10 border-white/20 text-white hover:bg-white/20" : "", we = async (e) => {
463
463
  let n = e.clipboardData.getData("text");
464
464
  try {
465
465
  let r = JSON.parse(n);
466
466
  if (r.url && typeof r.url == "string") {
467
- e.preventDefault(), f(r.url), t(typeof r.name == "string" && r.name !== r.url ? r.name : "");
467
+ e.preventDefault(), i(r.url), t(typeof r.name == "string" && r.name !== r.url ? r.name : "");
468
468
  let n = r.proxyConfig?.proxyAddress || (typeof r.autoProxyFallback == "object" ? r.autoProxyFallback.proxyAddress : void 0);
469
- x(L(r.connectionMode, r.connectionType, !!n)), C(ae(r.protocolNegotiation)), n && V(n);
470
- let i = r.proxyConfig?.customHeaders || r.proxyConfig?.headers || r.customHeaders || r.headers || {};
471
- Object.keys(i).length > 0 && T(Object.entries(i).map(([e, t], n) => ({
469
+ x(L(r.connectionMode, r.connectionType, !!n)), C(F(r.protocolNegotiation)), n && V(n);
470
+ let a = r.proxyConfig?.customHeaders || r.proxyConfig?.headers || r.customHeaders || r.headers || {};
471
+ Object.keys(a).length > 0 && T(Object.entries(a).map(([e, t], n) => ({
472
472
  id: `header-${n}`,
473
473
  name: e,
474
474
  value: String(t)
475
- }))), r.requestTimeout && D(String(r.requestTimeout)), r.resetTimeoutOnProgress !== void 0 && oe(r.resetTimeoutOnProgress ? "True" : "False"), r.maxTotalTimeout && z(String(r.maxTotalTimeout)), r.oauth && (U(r.oauth.clientId || ""), G(r.oauth.clientSecret || ""), q(r.oauth.scope || "")), O.success("Configuration pasted and form populated");
475
+ }))), r.requestTimeout && re(String(r.requestTimeout)), r.resetTimeoutOnProgress !== void 0 && I(r.resetTimeoutOnProgress ? "True" : "False"), r.maxTotalTimeout && z(String(r.maxTotalTimeout)), r.oauth && (U(r.oauth.clientId || ""), G(r.oauth.clientSecret || ""), q(r.oauth.scope || "")), E.success("Configuration pasted and form populated");
476
476
  }
477
477
  } catch {}
478
478
  }, Te = (e) => {
479
- ye.current || e.nativeEvent.isComposing || e.keyCode === 229 || e.key === "Enter" && !e.shiftKey && !e.metaKey && !e.ctrlKey && e.target.tagName !== "TEXTAREA" && (e.preventDefault(), J && a.trim() && J());
480
- }, Ee = /* @__PURE__ */ (0, F.jsxs)("div", {
479
+ ye.current || e.nativeEvent.isComposing || e.keyCode === 229 || e.key === "Enter" && !e.shiftKey && !e.metaKey && !e.ctrlKey && e.target.tagName !== "TEXTAREA" && (e.preventDefault(), J && r.trim() && J());
480
+ }, Ee = /* @__PURE__ */ (0, N.jsxs)("div", {
481
481
  className: "grid gap-4 sm:grid-cols-2",
482
482
  children: [
483
- !Q && /* @__PURE__ */ (0, F.jsx)("h4", {
483
+ !Q && /* @__PURE__ */ (0, N.jsx)("h4", {
484
484
  className: "text-sm font-medium sm:col-span-2",
485
485
  children: "OAuth 2.0"
486
486
  }),
487
- /* @__PURE__ */ (0, F.jsxs)("div", {
487
+ /* @__PURE__ */ (0, N.jsxs)("div", {
488
488
  className: "space-y-2",
489
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
489
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
490
490
  className: "text-sm",
491
491
  children: "Client ID"
492
- }), /* @__PURE__ */ (0, F.jsx)(i, {
492
+ }), /* @__PURE__ */ (0, N.jsx)(n, {
493
493
  "data-testid": "auth-dialog-client-id-input",
494
494
  placeholder: "Client ID",
495
495
  value: H,
496
496
  onChange: (e) => U(e.target.value)
497
497
  })]
498
498
  }),
499
- /* @__PURE__ */ (0, F.jsxs)("div", {
499
+ /* @__PURE__ */ (0, N.jsxs)("div", {
500
500
  className: "space-y-2",
501
501
  children: [
502
- /* @__PURE__ */ (0, F.jsx)(o, {
502
+ /* @__PURE__ */ (0, N.jsx)(s, {
503
503
  className: "text-sm",
504
504
  children: "Client Secret"
505
505
  }),
506
- /* @__PURE__ */ (0, F.jsx)(i, {
506
+ /* @__PURE__ */ (0, N.jsx)(n, {
507
507
  "data-testid": "auth-dialog-client-secret-input",
508
508
  type: "password",
509
509
  placeholder: "Client Secret (optional)",
510
510
  value: W,
511
511
  onChange: (e) => G(e.target.value)
512
512
  }),
513
- /* @__PURE__ */ (0, F.jsx)("p", {
513
+ /* @__PURE__ */ (0, N.jsx)("p", {
514
514
  className: "text-xs text-muted-foreground",
515
515
  children: "Stored in your browser's localStorage."
516
516
  })
517
517
  ]
518
518
  }),
519
- /* @__PURE__ */ (0, F.jsxs)("div", {
519
+ /* @__PURE__ */ (0, N.jsxs)("div", {
520
520
  className: "space-y-2 sm:col-span-2",
521
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
521
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
522
522
  className: "text-sm",
523
523
  children: "Scope"
524
- }), /* @__PURE__ */ (0, F.jsx)(i, {
524
+ }), /* @__PURE__ */ (0, N.jsx)(n, {
525
525
  "data-testid": "auth-dialog-scope-input",
526
526
  placeholder: "Scope (space-separated)",
527
527
  value: K,
@@ -529,171 +529,171 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
529
529
  })]
530
530
  })
531
531
  ]
532
- }), De = /* @__PURE__ */ (0, F.jsx)(ce, {
533
- title: /* @__PURE__ */ (0, F.jsx)(F.Fragment, {}),
532
+ }), De = /* @__PURE__ */ (0, N.jsx)(ce, {
533
+ title: /* @__PURE__ */ (0, N.jsx)(N.Fragment, {}),
534
534
  headers: w,
535
535
  onChange: T
536
- }), Oe = /* @__PURE__ */ (0, F.jsxs)("div", {
536
+ }), Oe = /* @__PURE__ */ (0, N.jsxs)("div", {
537
537
  className: "grid gap-4 sm:grid-cols-2",
538
538
  children: [
539
- /* @__PURE__ */ (0, F.jsxs)("div", {
539
+ /* @__PURE__ */ (0, N.jsxs)("div", {
540
540
  className: "space-y-2",
541
541
  children: [
542
- /* @__PURE__ */ (0, F.jsx)(o, {
542
+ /* @__PURE__ */ (0, N.jsx)(s, {
543
543
  className: "text-sm",
544
544
  children: "Connection Mode"
545
545
  }),
546
- /* @__PURE__ */ (0, F.jsxs)(d, {
546
+ /* @__PURE__ */ (0, N.jsxs)(f, {
547
547
  value: y,
548
548
  onValueChange: (e) => x(e),
549
- children: [/* @__PURE__ */ (0, F.jsx)(c, {
549
+ children: [/* @__PURE__ */ (0, N.jsx)(l, {
550
550
  className: "w-full",
551
551
  "data-testid": "config-dialog-connection-mode-select",
552
- children: /* @__PURE__ */ (0, F.jsx)(s, {})
553
- }), /* @__PURE__ */ (0, F.jsxs)(l, { children: [
554
- /* @__PURE__ */ (0, F.jsx)(u, {
552
+ children: /* @__PURE__ */ (0, N.jsx)(c, {})
553
+ }), /* @__PURE__ */ (0, N.jsxs)(u, { children: [
554
+ /* @__PURE__ */ (0, N.jsx)(d, {
555
555
  value: "auto",
556
556
  children: "Auto"
557
557
  }),
558
- /* @__PURE__ */ (0, F.jsx)(u, {
558
+ /* @__PURE__ */ (0, N.jsx)(d, {
559
559
  value: "direct",
560
560
  children: "Direct"
561
561
  }),
562
- /* @__PURE__ */ (0, F.jsx)(u, {
562
+ /* @__PURE__ */ (0, N.jsx)(d, {
563
563
  value: "proxy",
564
564
  children: "Proxy"
565
565
  })
566
566
  ] })]
567
567
  }),
568
- /* @__PURE__ */ (0, F.jsx)("p", {
568
+ /* @__PURE__ */ (0, N.jsx)("p", {
569
569
  className: "text-xs text-muted-foreground",
570
570
  children: "Auto tries a direct connection first and falls back to the proxy. Direct bypasses the proxy; Proxy always routes through it."
571
571
  })
572
572
  ]
573
573
  }),
574
- /* @__PURE__ */ (0, F.jsxs)("div", {
574
+ /* @__PURE__ */ (0, N.jsxs)("div", {
575
575
  className: "space-y-2",
576
576
  children: [
577
- /* @__PURE__ */ (0, F.jsx)(o, {
577
+ /* @__PURE__ */ (0, N.jsx)(s, {
578
578
  className: "text-sm",
579
579
  children: "Protocol"
580
580
  }),
581
- /* @__PURE__ */ (0, F.jsxs)(d, {
581
+ /* @__PURE__ */ (0, N.jsxs)(f, {
582
582
  value: S,
583
583
  onValueChange: (e) => C(e),
584
- children: [/* @__PURE__ */ (0, F.jsx)(c, {
584
+ children: [/* @__PURE__ */ (0, N.jsx)(l, {
585
585
  className: "w-full",
586
586
  "data-testid": "config-dialog-protocol-mode-select",
587
- children: /* @__PURE__ */ (0, F.jsx)(s, {})
588
- }), /* @__PURE__ */ (0, F.jsxs)(l, { children: [
589
- /* @__PURE__ */ (0, F.jsx)(u, {
587
+ children: /* @__PURE__ */ (0, N.jsx)(c, {})
588
+ }), /* @__PURE__ */ (0, N.jsxs)(u, { children: [
589
+ /* @__PURE__ */ (0, N.jsx)(d, {
590
590
  value: "auto",
591
591
  children: "Auto (recommended)"
592
592
  }),
593
- /* @__PURE__ */ (0, F.jsx)(u, {
593
+ /* @__PURE__ */ (0, N.jsx)(d, {
594
594
  value: "v1",
595
595
  children: "Force v1 (2024/2025)"
596
596
  }),
597
- /* @__PURE__ */ (0, F.jsx)(u, {
597
+ /* @__PURE__ */ (0, N.jsx)(d, {
598
598
  value: "v2",
599
599
  children: "Force v2 (2026-07-28)"
600
600
  })
601
601
  ] })]
602
602
  }),
603
- /* @__PURE__ */ (0, F.jsx)("p", {
603
+ /* @__PURE__ */ (0, N.jsx)("p", {
604
604
  className: "text-xs text-muted-foreground",
605
605
  children: "Auto probes for v2 and falls back to the legacy v1 initialize flow. Forced modes fail when the server is incompatible."
606
606
  })
607
607
  ]
608
608
  }),
609
- /* @__PURE__ */ (0, F.jsxs)("div", {
609
+ /* @__PURE__ */ (0, N.jsxs)("div", {
610
610
  className: "space-y-2",
611
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
611
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
612
612
  className: "text-sm",
613
613
  children: "Proxy Endpoint"
614
- }), /* @__PURE__ */ (0, F.jsx)(i, {
614
+ }), /* @__PURE__ */ (0, N.jsx)(n, {
615
615
  "data-testid": "config-dialog-proxy-address-input",
616
616
  value: B,
617
617
  onChange: (e) => V(e.target.value)
618
618
  })]
619
619
  }),
620
- /* @__PURE__ */ (0, F.jsxs)("div", {
620
+ /* @__PURE__ */ (0, N.jsxs)("div", {
621
621
  className: "space-y-2",
622
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
622
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
623
623
  className: "text-sm",
624
624
  children: "Request Timeout"
625
- }), /* @__PURE__ */ (0, F.jsx)(i, {
625
+ }), /* @__PURE__ */ (0, N.jsx)(n, {
626
626
  "data-testid": "config-dialog-request-timeout-input",
627
627
  type: "number",
628
- value: E,
629
- onChange: (e) => D(e.target.value)
628
+ value: ne,
629
+ onChange: (e) => re(e.target.value)
630
630
  })]
631
631
  }),
632
- /* @__PURE__ */ (0, F.jsxs)("div", {
632
+ /* @__PURE__ */ (0, N.jsxs)("div", {
633
633
  className: "space-y-2",
634
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
634
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
635
635
  className: "text-sm",
636
636
  children: "Maximum Total Timeout"
637
- }), /* @__PURE__ */ (0, F.jsx)(i, {
637
+ }), /* @__PURE__ */ (0, N.jsx)(n, {
638
638
  "data-testid": "config-dialog-max-timeout-input",
639
639
  type: "number",
640
640
  value: R,
641
641
  onChange: (e) => z(e.target.value)
642
642
  })]
643
643
  }),
644
- /* @__PURE__ */ (0, F.jsxs)("div", {
644
+ /* @__PURE__ */ (0, N.jsxs)("div", {
645
645
  className: "space-y-2",
646
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
646
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
647
647
  className: "text-sm",
648
648
  children: "Reset Timeout on Progress"
649
- }), /* @__PURE__ */ (0, F.jsxs)(d, {
650
- value: I,
651
- onValueChange: oe,
652
- children: [/* @__PURE__ */ (0, F.jsx)(c, {
649
+ }), /* @__PURE__ */ (0, N.jsxs)(f, {
650
+ value: P,
651
+ onValueChange: I,
652
+ children: [/* @__PURE__ */ (0, N.jsx)(l, {
653
653
  className: "w-full",
654
654
  "data-testid": "config-dialog-reset-timeout-select",
655
- children: /* @__PURE__ */ (0, F.jsx)(s, {})
656
- }), /* @__PURE__ */ (0, F.jsxs)(l, { children: [/* @__PURE__ */ (0, F.jsx)(u, {
655
+ children: /* @__PURE__ */ (0, N.jsx)(c, {})
656
+ }), /* @__PURE__ */ (0, N.jsxs)(u, { children: [/* @__PURE__ */ (0, N.jsx)(d, {
657
657
  value: "True",
658
658
  children: "True"
659
- }), /* @__PURE__ */ (0, F.jsx)(u, {
659
+ }), /* @__PURE__ */ (0, N.jsx)(d, {
660
660
  value: "False",
661
661
  children: "False"
662
662
  })] })]
663
663
  })]
664
664
  })
665
665
  ]
666
- }), ke = /* @__PURE__ */ (0, F.jsxs)("div", {
666
+ }), ke = /* @__PURE__ */ (0, N.jsxs)("div", {
667
667
  className: Z || Q ? "grid gap-4 sm:grid-cols-2" : "space-y-4",
668
- children: [/* @__PURE__ */ (0, F.jsxs)("div", {
668
+ children: [/* @__PURE__ */ (0, N.jsxs)("div", {
669
669
  className: "space-y-2",
670
- children: [/* @__PURE__ */ (0, F.jsx)(o, {
670
+ children: [/* @__PURE__ */ (0, N.jsx)(s, {
671
671
  className: Se,
672
672
  children: "Alias"
673
- }), /* @__PURE__ */ (0, F.jsx)(i, {
673
+ }), /* @__PURE__ */ (0, N.jsx)(n, {
674
674
  "data-testid": "connection-form-alias-input",
675
675
  placeholder: "Optional server alias",
676
676
  value: e,
677
677
  onChange: (e) => t(e.target.value),
678
678
  className: xe
679
679
  })]
680
- }), /* @__PURE__ */ (0, F.jsxs)("div", {
680
+ }), /* @__PURE__ */ (0, N.jsxs)("div", {
681
681
  className: "space-y-2",
682
682
  children: [
683
- /* @__PURE__ */ (0, F.jsx)(o, {
683
+ /* @__PURE__ */ (0, N.jsx)(s, {
684
684
  className: Se,
685
685
  children: "URL"
686
686
  }),
687
- /* @__PURE__ */ (0, F.jsx)(i, {
687
+ /* @__PURE__ */ (0, N.jsx)(n, {
688
688
  "data-testid": "connection-form-url-input",
689
689
  placeholder: "http://localhost:3000",
690
- value: a,
691
- onChange: (e) => f(e.target.value),
690
+ value: r,
691
+ onChange: (e) => i(e.target.value),
692
692
  onPaste: we,
693
693
  className: xe
694
694
  }),
695
- /* @__PURE__ */ (0, F.jsx)("p", {
696
- className: n("text-xs text-muted-foreground", $ ? "text-white/60" : ""),
695
+ /* @__PURE__ */ (0, N.jsx)("p", {
696
+ className: a("text-xs text-muted-foreground", $ ? "text-white/60" : ""),
697
697
  children: "Tip: You can paste a copied connection config (JSON) to auto-populate the form"
698
698
  })
699
699
  ]
@@ -706,120 +706,120 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
706
706
  ye.current = !1;
707
707
  },
708
708
  onKeyDown: Te
709
- }, je = de ? /* @__PURE__ */ (0, F.jsxs)(r, {
709
+ }, je = de ? /* @__PURE__ */ (0, N.jsxs)(o, {
710
710
  "data-testid": "connection-form-copy-config-button",
711
711
  variant: "ghost",
712
712
  onClick: be,
713
- className: n($ ? "absolute top-0 right-0 z-10 text-white hover:bg-white/20 dark:hover:bg-white/20" : "w-full", !$ && "mb-2"),
714
- children: [/* @__PURE__ */ (0, F.jsx)(ee, { className: "mr-2 h-4 w-4" }), "Copy Config"]
713
+ className: a($ ? "absolute top-0 right-0 z-10 text-white hover:bg-white/20 dark:hover:bg-white/20" : "w-full", !$ && "mb-2"),
714
+ children: [/* @__PURE__ */ (0, N.jsx)(ee, { className: "mr-2 h-4 w-4" }), "Copy Config"]
715
715
  }) : null;
716
- return Z && Q ? /* @__PURE__ */ (0, F.jsxs)("div", {
716
+ return Z && Q ? /* @__PURE__ */ (0, N.jsxs)("div", {
717
717
  className: "relative space-y-6 @container",
718
718
  ...Ae,
719
719
  children: [
720
720
  je,
721
- /* @__PURE__ */ (0, F.jsxs)(N, {
721
+ /* @__PURE__ */ (0, N.jsxs)(j, {
722
722
  className: "border",
723
- children: [/* @__PURE__ */ (0, F.jsxs)(A, { children: [/* @__PURE__ */ (0, F.jsx)(k, {
723
+ children: [/* @__PURE__ */ (0, N.jsxs)(O, { children: [/* @__PURE__ */ (0, N.jsx)(D, {
724
724
  className: "text-base font-medium",
725
725
  children: "Endpoint"
726
- }), /* @__PURE__ */ (0, F.jsx)(M, { children: "MCP server URL and display alias" })] }), /* @__PURE__ */ (0, F.jsx)(j, {
726
+ }), /* @__PURE__ */ (0, N.jsx)(A, { children: "MCP server URL and display alias" })] }), /* @__PURE__ */ (0, N.jsx)(k, {
727
727
  className: "pt-0",
728
728
  children: ke
729
729
  })]
730
730
  }),
731
- /* @__PURE__ */ (0, F.jsxs)(N, {
731
+ /* @__PURE__ */ (0, N.jsxs)(j, {
732
732
  className: "border",
733
- children: [/* @__PURE__ */ (0, F.jsxs)(A, { children: [/* @__PURE__ */ (0, F.jsx)(k, {
733
+ children: [/* @__PURE__ */ (0, N.jsxs)(O, { children: [/* @__PURE__ */ (0, N.jsx)(D, {
734
734
  className: "text-base font-medium",
735
735
  children: "Authentication"
736
- }), /* @__PURE__ */ (0, F.jsx)(M, { children: "OAuth 2.0 client credentials" })] }), /* @__PURE__ */ (0, F.jsx)(j, {
736
+ }), /* @__PURE__ */ (0, N.jsx)(A, { children: "OAuth 2.0 client credentials" })] }), /* @__PURE__ */ (0, N.jsx)(k, {
737
737
  className: "pt-0",
738
738
  children: Ee
739
739
  })]
740
740
  }),
741
- /* @__PURE__ */ (0, F.jsxs)(N, {
741
+ /* @__PURE__ */ (0, N.jsxs)(j, {
742
742
  className: "border",
743
- children: [/* @__PURE__ */ (0, F.jsxs)(A, { children: [/* @__PURE__ */ (0, F.jsx)(k, {
743
+ children: [/* @__PURE__ */ (0, N.jsxs)(O, { children: [/* @__PURE__ */ (0, N.jsx)(D, {
744
744
  className: "text-base font-medium",
745
745
  children: "Custom Headers"
746
- }), /* @__PURE__ */ (0, F.jsx)(M, { children: "Extra HTTP headers sent with MCP requests" })] }), /* @__PURE__ */ (0, F.jsx)(j, {
746
+ }), /* @__PURE__ */ (0, N.jsx)(A, { children: "Extra HTTP headers sent with MCP requests" })] }), /* @__PURE__ */ (0, N.jsx)(k, {
747
747
  className: "pt-0",
748
748
  children: De
749
749
  })]
750
750
  }),
751
- /* @__PURE__ */ (0, F.jsxs)(N, {
751
+ /* @__PURE__ */ (0, N.jsxs)(j, {
752
752
  className: "border",
753
- children: [/* @__PURE__ */ (0, F.jsxs)(A, { children: [/* @__PURE__ */ (0, F.jsx)(k, {
753
+ children: [/* @__PURE__ */ (0, N.jsxs)(O, { children: [/* @__PURE__ */ (0, N.jsx)(D, {
754
754
  className: "text-base font-medium",
755
755
  children: "Configuration"
756
- }), /* @__PURE__ */ (0, F.jsx)(M, { children: "Connection mode, proxy, and request timeouts" })] }), /* @__PURE__ */ (0, F.jsx)(j, {
756
+ }), /* @__PURE__ */ (0, N.jsx)(A, { children: "Connection mode, proxy, and request timeouts" })] }), /* @__PURE__ */ (0, N.jsx)(k, {
757
757
  className: "pt-0",
758
758
  children: Oe
759
759
  })]
760
760
  })
761
761
  ]
762
- }) : /* @__PURE__ */ (0, F.jsxs)("div", {
762
+ }) : /* @__PURE__ */ (0, N.jsxs)("div", {
763
763
  className: "relative space-y-4 @container",
764
764
  ...Ae,
765
765
  children: [
766
- !Z && /* @__PURE__ */ (0, F.jsx)("h3", {
766
+ !Z && /* @__PURE__ */ (0, N.jsx)("h3", {
767
767
  className: "mb-4 text-xl font-semibold text-white",
768
768
  children: "Connect"
769
769
  }),
770
770
  je,
771
771
  ke,
772
- Z && !Q && /* @__PURE__ */ (0, F.jsxs)("div", {
772
+ Z && !Q && /* @__PURE__ */ (0, N.jsxs)("div", {
773
773
  className: "space-y-8 pt-2",
774
774
  children: [
775
- /* @__PURE__ */ (0, F.jsxs)("section", {
775
+ /* @__PURE__ */ (0, N.jsxs)("section", {
776
776
  className: "space-y-4",
777
- children: [/* @__PURE__ */ (0, F.jsx)("h3", {
777
+ children: [/* @__PURE__ */ (0, N.jsx)("h3", {
778
778
  className: "text-xs font-medium uppercase tracking-wide text-muted-foreground",
779
779
  children: "Authentication"
780
780
  }), Ee]
781
781
  }),
782
- /* @__PURE__ */ (0, F.jsxs)("section", {
782
+ /* @__PURE__ */ (0, N.jsxs)("section", {
783
783
  className: "space-y-4",
784
- children: [/* @__PURE__ */ (0, F.jsx)("h3", {
784
+ children: [/* @__PURE__ */ (0, N.jsx)("h3", {
785
785
  className: "text-xs font-medium uppercase tracking-wide text-muted-foreground",
786
786
  children: "Custom Headers"
787
787
  }), De]
788
788
  }),
789
- /* @__PURE__ */ (0, F.jsxs)("section", {
789
+ /* @__PURE__ */ (0, N.jsxs)("section", {
790
790
  className: "space-y-4",
791
- children: [/* @__PURE__ */ (0, F.jsx)("h3", {
791
+ children: [/* @__PURE__ */ (0, N.jsx)("h3", {
792
792
  className: "text-xs font-medium uppercase tracking-wide text-muted-foreground",
793
793
  children: "Configuration"
794
794
  }), Oe]
795
795
  })
796
796
  ]
797
797
  }),
798
- !Z && /* @__PURE__ */ (0, F.jsxs)("div", {
798
+ !Z && /* @__PURE__ */ (0, N.jsxs)("div", {
799
799
  className: "flex flex-row gap-3 @lg:flex-col",
800
800
  children: [
801
- /* @__PURE__ */ (0, F.jsxs)(v, {
801
+ /* @__PURE__ */ (0, N.jsxs)(v, {
802
802
  open: he,
803
803
  onOpenChange: ge,
804
- children: [/* @__PURE__ */ (0, F.jsx)(m, {
805
- render: /* @__PURE__ */ (0, F.jsx)("div", {
804
+ children: [/* @__PURE__ */ (0, N.jsx)(m, {
805
+ render: /* @__PURE__ */ (0, N.jsx)("div", {
806
806
  className: "relative flex-1 ",
807
- children: /* @__PURE__ */ (0, F.jsxs)(r, {
807
+ children: /* @__PURE__ */ (0, N.jsxs)(o, {
808
808
  "data-testid": "connection-form-auth-button",
809
809
  variant: "outline",
810
- className: n((H || W || K) && "border-2", "w-full justify-center hover:text-white cursor-pointer", Ce),
811
- children: [/* @__PURE__ */ (0, F.jsx)(b, { className: "w-4 h-4 mr-0" }), "Authentication"]
810
+ className: a((H || W || K) && "border-2", "w-full justify-center hover:text-white cursor-pointer", Ce),
811
+ children: [/* @__PURE__ */ (0, N.jsx)(b, { className: "w-4 h-4 mr-0" }), "Authentication"]
812
812
  })
813
813
  }),
814
814
  nativeButton: !1
815
- }), /* @__PURE__ */ (0, F.jsxs)(_, {
815
+ }), /* @__PURE__ */ (0, N.jsxs)(_, {
816
816
  scrollable: !0,
817
817
  className: "w-[calc(100vw-2rem)] sm:w-full max-w-2xl max-h-[80vh]",
818
- children: [/* @__PURE__ */ (0, F.jsx)(g, { children: /* @__PURE__ */ (0, F.jsx)(p, { children: "Authentication" }) }), /* @__PURE__ */ (0, F.jsxs)(h, {
818
+ children: [/* @__PURE__ */ (0, N.jsx)(g, { children: /* @__PURE__ */ (0, N.jsx)(p, { children: "Authentication" }) }), /* @__PURE__ */ (0, N.jsxs)(h, {
819
819
  className: "space-y-4",
820
- children: [Ee, /* @__PURE__ */ (0, F.jsx)("div", {
820
+ children: [Ee, /* @__PURE__ */ (0, N.jsx)("div", {
821
821
  className: "flex justify-end",
822
- children: /* @__PURE__ */ (0, F.jsx)(r, {
822
+ children: /* @__PURE__ */ (0, N.jsx)(o, {
823
823
  onClick: () => ge(!1),
824
824
  children: "Save"
825
825
  })
@@ -827,50 +827,50 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
827
827
  })]
828
828
  })]
829
829
  }),
830
- /* @__PURE__ */ (0, F.jsxs)(v, {
830
+ /* @__PURE__ */ (0, N.jsxs)(v, {
831
831
  open: pe,
832
832
  onOpenChange: me,
833
- children: [/* @__PURE__ */ (0, F.jsx)(m, {
834
- render: /* @__PURE__ */ (0, F.jsx)("div", {
833
+ children: [/* @__PURE__ */ (0, N.jsx)(m, {
834
+ render: /* @__PURE__ */ (0, N.jsx)("div", {
835
835
  className: "relative flex-1 ",
836
- children: /* @__PURE__ */ (0, F.jsxs)(r, {
836
+ children: /* @__PURE__ */ (0, N.jsxs)(o, {
837
837
  "data-testid": "connection-form-headers-button",
838
838
  variant: "outline",
839
- className: n("w-full justify-center hover:text-white cursor-pointer", Ce),
840
- children: [/* @__PURE__ */ (0, F.jsx)(re, { className: "w-4 h-4" }), "Custom Headers"]
839
+ className: a("w-full justify-center hover:text-white cursor-pointer", Ce),
840
+ children: [/* @__PURE__ */ (0, N.jsx)(ae, { className: "w-4 h-4" }), "Custom Headers"]
841
841
  })
842
842
  }),
843
843
  nativeButton: !1
844
- }), /* @__PURE__ */ (0, F.jsxs)(_, {
844
+ }), /* @__PURE__ */ (0, N.jsxs)(_, {
845
845
  scrollable: !0,
846
846
  className: "w-full max-w-2xl max-h-[80vh]",
847
- children: [/* @__PURE__ */ (0, F.jsx)(g, { children: /* @__PURE__ */ (0, F.jsx)(p, { children: "Custom Headers" }) }), /* @__PURE__ */ (0, F.jsx)(h, { children: /* @__PURE__ */ (0, F.jsx)(ce, {
848
- title: /* @__PURE__ */ (0, F.jsx)(F.Fragment, {}),
847
+ children: [/* @__PURE__ */ (0, N.jsx)(g, { children: /* @__PURE__ */ (0, N.jsx)(p, { children: "Custom Headers" }) }), /* @__PURE__ */ (0, N.jsx)(h, { children: /* @__PURE__ */ (0, N.jsx)(ce, {
848
+ title: /* @__PURE__ */ (0, N.jsx)(N.Fragment, {}),
849
849
  headers: w,
850
850
  onChange: T,
851
851
  onSave: () => me(!1)
852
852
  }) })]
853
853
  })]
854
854
  }),
855
- /* @__PURE__ */ (0, F.jsxs)(v, {
855
+ /* @__PURE__ */ (0, N.jsxs)(v, {
856
856
  open: _e,
857
857
  onOpenChange: ve,
858
- children: [/* @__PURE__ */ (0, F.jsx)(m, {
859
- render: /* @__PURE__ */ (0, F.jsxs)(r, {
858
+ children: [/* @__PURE__ */ (0, N.jsx)(m, {
859
+ render: /* @__PURE__ */ (0, N.jsxs)(o, {
860
860
  "data-testid": "connection-form-config-button",
861
861
  variant: "outline",
862
- className: n("flex-1 justify-center hover:text-white cursor-pointer", Ce),
863
- children: [/* @__PURE__ */ (0, F.jsx)(ne, { className: "w-4 h-4" }), "Configuration"]
862
+ className: a("flex-1 justify-center hover:text-white cursor-pointer", Ce),
863
+ children: [/* @__PURE__ */ (0, N.jsx)(ie, { className: "w-4 h-4" }), "Configuration"]
864
864
  }),
865
865
  nativeButton: !0
866
- }), /* @__PURE__ */ (0, F.jsxs)(_, {
866
+ }), /* @__PURE__ */ (0, N.jsxs)(_, {
867
867
  scrollable: !0,
868
868
  className: "w-full max-w-2xl max-h-[80vh]",
869
- children: [/* @__PURE__ */ (0, F.jsx)(g, { children: /* @__PURE__ */ (0, F.jsx)(p, { children: "Configuration" }) }), /* @__PURE__ */ (0, F.jsxs)(h, {
869
+ children: [/* @__PURE__ */ (0, N.jsx)(g, { children: /* @__PURE__ */ (0, N.jsx)(p, { children: "Configuration" }) }), /* @__PURE__ */ (0, N.jsxs)(h, {
870
870
  className: "space-y-4",
871
- children: [Oe, /* @__PURE__ */ (0, F.jsx)("div", {
871
+ children: [Oe, /* @__PURE__ */ (0, N.jsx)("div", {
872
872
  className: "flex justify-end",
873
- children: /* @__PURE__ */ (0, F.jsx)(r, {
873
+ children: /* @__PURE__ */ (0, N.jsx)(o, {
874
874
  onClick: () => ve(!1),
875
875
  children: "Save"
876
876
  })
@@ -880,29 +880,29 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
880
880
  })
881
881
  ]
882
882
  }),
883
- le && /* @__PURE__ */ (0, F.jsx)(r, {
883
+ le && /* @__PURE__ */ (0, N.jsx)(o, {
884
884
  "data-testid": "connection-form-connect-button",
885
885
  onClick: J,
886
- disabled: !a.trim() || fe,
886
+ disabled: !r.trim() || fe,
887
887
  size: $ ? "lg" : void 0,
888
- className: n("w-full font-semibold", $ ? "rounded-full text-black [&_[aria-hidden]]:bg-white hover:[&_[aria-hidden]]:bg-white/90 group-active:[&_[aria-hidden]]:bg-white/80" : ""),
889
- children: fe ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("svg", {
888
+ className: a("w-full font-semibold", $ ? "rounded-full text-black [&_[aria-hidden]]:bg-white hover:[&_[aria-hidden]]:bg-white/90 group-active:[&_[aria-hidden]]:bg-white/80" : ""),
889
+ children: fe ? /* @__PURE__ */ (0, N.jsxs)(N.Fragment, { children: [/* @__PURE__ */ (0, N.jsx)("svg", {
890
890
  className: "w-4 h-4 mr-2 animate-spin",
891
891
  fill: "none",
892
892
  stroke: "currentColor",
893
893
  viewBox: "0 0 24 24",
894
- children: /* @__PURE__ */ (0, F.jsx)("path", {
894
+ children: /* @__PURE__ */ (0, N.jsx)("path", {
895
895
  strokeLinecap: "round",
896
896
  strokeLinejoin: "round",
897
897
  strokeWidth: 2,
898
898
  d: "M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
899
899
  })
900
- }), "Connecting..."] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("svg", {
900
+ }), "Connecting..."] }) : /* @__PURE__ */ (0, N.jsxs)(N.Fragment, { children: [/* @__PURE__ */ (0, N.jsx)("svg", {
901
901
  className: "w-4 h-4 mr-2",
902
902
  fill: "none",
903
903
  stroke: "currentColor",
904
904
  viewBox: "0 0 24 24",
905
- children: /* @__PURE__ */ (0, F.jsx)("path", {
905
+ children: /* @__PURE__ */ (0, N.jsx)("path", {
906
906
  strokeLinecap: "round",
907
907
  strokeLinejoin: "round",
908
908
  strokeWidth: 2,
@@ -910,13 +910,13 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
910
910
  })
911
911
  }), "Connect"] })
912
912
  }),
913
- ue && /* @__PURE__ */ (0, F.jsxs)("div", {
913
+ ue && /* @__PURE__ */ (0, N.jsxs)("div", {
914
914
  className: "flex justify-end gap-2",
915
- children: [X && /* @__PURE__ */ (0, F.jsx)(r, {
915
+ children: [X && /* @__PURE__ */ (0, N.jsx)(o, {
916
916
  variant: "outline",
917
917
  onClick: X,
918
918
  children: "Cancel"
919
- }), /* @__PURE__ */ (0, F.jsx)(r, {
919
+ }), /* @__PURE__ */ (0, N.jsx)(o, {
920
920
  "data-testid": "connection-form-save-button",
921
921
  onClick: Y,
922
922
  children: "Save Connection Options"
@@ -926,4 +926,4 @@ function le({ alias: e, setAlias: t, url: a, setUrl: f, connectionMode: y, setCo
926
926
  });
927
927
  }
928
928
  //#endregion
929
- export { U as a, L as c, V as d, K as f, oe as i, ae as l, re as m, se as n, q as o, G as p, H as r, X as s, le as t, ie as u };
929
+ export { U as a, L as c, V as d, K as f, I as i, F as l, ae as m, se as n, q as o, G as p, H as r, X as s, le as t, oe as u };