@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
@@ -0,0 +1,150 @@
1
+ import { s as e, t } from "./react-BIs9pQ3H.js";
2
+ import { d as n, l as r, sr as i, u as a } from "./input-C2OBd4PJ.js";
3
+ import { t as o } from "./jsx-runtime-CIxvMpEo.js";
4
+ import { S as s } from "./dialog-BsDpuJd3.js";
5
+ import { f as c, i as l, l as u, o as d, r as f, t as p, u as m } from "./ConnectionSettingsForm-BFsZpwK4.js";
6
+ import { n as h } from "./dist-DaMB0Su9.js";
7
+ import { t as g } from "./inspector-settings-layout-0VDsjeqb.js";
8
+ import { n as _ } from "./ListTabHeader-Cv-GmtGF.js";
9
+ //#region src/client/hooks/useConnectionFormState.ts
10
+ var v = /* @__PURE__ */ e(t(), 1);
11
+ function y(e, t) {
12
+ let [n, r] = (0, v.useState)(""), [i, a] = (0, v.useState)(""), [o, s] = (0, v.useState)("auto"), [p, g] = (0, v.useState)("auto"), [_, y] = (0, v.useState)([]), [b, x] = (0, v.useState)("10000"), [S, C] = (0, v.useState)("True"), [w, T] = (0, v.useState)("60000"), [E, D] = (0, v.useState)(l()), [O, k] = (0, v.useState)(""), [A, j] = (0, v.useState)(""), [M, N] = (0, v.useState)("");
13
+ return (0, v.useEffect)(() => {
14
+ if (!e || !t) return;
15
+ let n = c(e, d(e.id));
16
+ a(n.url), r(n.name || n.url);
17
+ let i = n.proxyConfig?.proxyAddress || (typeof n.autoProxyFallback == "object" ? n.autoProxyFallback.proxyAddress : void 0);
18
+ s(n.connectionMode || "auto"), g(u(n.protocolNegotiation)), D(i || l());
19
+ let o = n.headers || {};
20
+ y(Object.entries(o).map(([e, t], n) => ({
21
+ id: `header-${n}`,
22
+ name: e,
23
+ value: String(t)
24
+ }))), k(n.oauth?.clientId || ""), j(n.oauth?.clientSecret || ""), N(n.oauth?.scope || ""), n.requestTimeout !== void 0 && x(String(n.requestTimeout)), n.resetTimeoutOnProgress !== void 0 && C(n.resetTimeoutOnProgress ? "True" : "False"), n.maxTotalTimeout !== void 0 && T(String(n.maxTotalTimeout));
25
+ }, [e, t]), {
26
+ alias: n,
27
+ setAlias: r,
28
+ url: i,
29
+ setUrl: a,
30
+ connectionMode: o,
31
+ setConnectionMode: s,
32
+ protocolMode: p,
33
+ setProtocolMode: g,
34
+ customHeaders: _,
35
+ setCustomHeaders: y,
36
+ requestTimeout: b,
37
+ setRequestTimeout: x,
38
+ resetTimeoutOnProgress: S,
39
+ setResetTimeoutOnProgress: C,
40
+ maxTotalTimeout: w,
41
+ setMaxTotalTimeout: T,
42
+ proxyAddress: E,
43
+ setProxyAddress: D,
44
+ clientId: O,
45
+ setClientId: k,
46
+ clientSecret: A,
47
+ setClientSecret: j,
48
+ scope: M,
49
+ setScope: N,
50
+ buildConfig: () => {
51
+ if (!i.trim()) return null;
52
+ let e = i.trim();
53
+ try {
54
+ let t = new URL(e);
55
+ if (!(t.protocol === "http:" || t.protocol === "https:")) return h.error("Invalid URL protocol. Please use http:// or https://"), null;
56
+ } catch {
57
+ try {
58
+ let t = `https://${e}`, n = new URL(t);
59
+ if (!(n.protocol === "http:" || n.protocol === "https:")) return h.error("Invalid URL protocol. Please use http:// or https://"), null;
60
+ e = t;
61
+ } catch {
62
+ return h.error("Invalid URL format. Please enter a valid URL."), null;
63
+ }
64
+ }
65
+ let t = _.reduce((e, t) => (t.name && t.value && (e[t.name] = t.value), e), {}), r = o === "proxy" && E.trim() ? {
66
+ proxyAddress: E.trim(),
67
+ headers: t
68
+ } : void 0, a = o === "auto" && E.trim() ? {
69
+ enabled: !0,
70
+ proxyAddress: E.trim()
71
+ } : !1, s = f(O, A, M), c = Number.parseInt(b, 10), l = Number.parseInt(w, 10);
72
+ return {
73
+ url: e,
74
+ name: n.trim() || e,
75
+ transportType: "http",
76
+ connectionMode: o,
77
+ protocolNegotiation: m(p),
78
+ proxyConfig: r,
79
+ headers: Object.keys(t).length > 0 ? t : void 0,
80
+ autoProxyFallback: a,
81
+ ...s ? { oauth: s } : {},
82
+ ...Number.isFinite(c) ? { requestTimeout: c } : {},
83
+ resetTimeoutOnProgress: S === "True",
84
+ ...Number.isFinite(l) ? { maxTotalTimeout: l } : {}
85
+ };
86
+ }
87
+ };
88
+ }
89
+ //#endregion
90
+ //#region src/client/components/ConnectionSettingsTab.tsx
91
+ var b = o();
92
+ function x({ connection: e, onSave: t }) {
93
+ let o = y(e, !0), [c, l] = (0, v.useState)(!1);
94
+ return /* @__PURE__ */ (0, b.jsxs)("div", {
95
+ className: "h-full overflow-y-auto overscroll-none",
96
+ onScroll: (e) => l(e.currentTarget.scrollTop > 0),
97
+ children: [/* @__PURE__ */ (0, b.jsxs)("div", {
98
+ className: `${r(c)} flex flex-row items-center justify-between gap-2 ${a}`,
99
+ children: [/* @__PURE__ */ (0, b.jsxs)("h2", {
100
+ className: `${n} flex items-center gap-1.5`,
101
+ children: [/* @__PURE__ */ (0, b.jsx)(s, {
102
+ className: _,
103
+ "aria-hidden": !0
104
+ }), "Connection Settings"]
105
+ }), /* @__PURE__ */ (0, b.jsx)(i, {
106
+ "data-testid": "connection-form-save-button",
107
+ size: "sm",
108
+ onClick: () => {
109
+ let e = o.buildConfig();
110
+ e && t(e);
111
+ },
112
+ children: "Save"
113
+ })]
114
+ }), /* @__PURE__ */ (0, b.jsx)("div", {
115
+ className: g,
116
+ children: /* @__PURE__ */ (0, b.jsx)(p, {
117
+ alias: o.alias,
118
+ setAlias: o.setAlias,
119
+ url: o.url,
120
+ setUrl: o.setUrl,
121
+ connectionMode: o.connectionMode,
122
+ setConnectionMode: o.setConnectionMode,
123
+ protocolMode: o.protocolMode,
124
+ setProtocolMode: o.setProtocolMode,
125
+ customHeaders: o.customHeaders,
126
+ setCustomHeaders: o.setCustomHeaders,
127
+ requestTimeout: o.requestTimeout,
128
+ setRequestTimeout: o.setRequestTimeout,
129
+ resetTimeoutOnProgress: o.resetTimeoutOnProgress,
130
+ setResetTimeoutOnProgress: o.setResetTimeoutOnProgress,
131
+ maxTotalTimeout: o.maxTotalTimeout,
132
+ setMaxTotalTimeout: o.setMaxTotalTimeout,
133
+ proxyAddress: o.proxyAddress,
134
+ setProxyAddress: o.setProxyAddress,
135
+ clientId: o.clientId,
136
+ setClientId: o.setClientId,
137
+ clientSecret: o.clientSecret,
138
+ setClientSecret: o.setClientSecret,
139
+ scope: o.scope,
140
+ setScope: o.setScope,
141
+ showConnectButton: !1,
142
+ showExportButton: !1,
143
+ inlineSections: !0,
144
+ cardSections: !0
145
+ })
146
+ })]
147
+ });
148
+ }
149
+ //#endregion
150
+ export { x as ConnectionSettingsTab };
@@ -1,23 +1,23 @@
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, a as i, n as a, r as o, sr as s, t as c } from "./input-BLxOA7V-.js";
4
- import { t as l } from "./label-CBvG613A.js";
2
+ import { Pr as n, a as r, n as i, r as a, sr as o, t as s } from "./input-C2OBd4PJ.js";
3
+ import { t as c } from "./jsx-runtime-CIxvMpEo.js";
4
+ import { t as l } from "./label-B9Jmm9be.js";
5
5
  import { a as u, i as d, r as f, t as p } from "./browser-CbQIH4w2.js";
6
- import { a as m, t as h } from "./JSONDisplay-D3RcyO9z.js";
6
+ import { a as m, t as h } from "./JSONDisplay-BFxf5oEu.js";
7
7
  import { t as g } from "./external-link-CjmfT6rW.js";
8
- import { a as _, i as v, n as y, o as b, r as x, t as S } from "./shared-uMiV6Fx1.js";
8
+ import { a as _, i as v, n as y, o as b, r as x, t as S } from "./shared-DaILIQPP.js";
9
9
  import { t as C } from "./maximize-2-CH5Lq90B.js";
10
10
  import { t as w } from "./square-check-big-BvwQ17Bl.js";
11
11
  import { t as T } from "./x-C3vRQIYu.js";
12
- import { t as E } from "./not-found-BcNNsTjS.js";
13
- import { n as D } from "./dist-DjXr_YO3.js";
14
- import { n as O } from "./InspectorContext-DzXtgyTx.js";
15
- import { t as k } from "./textarea-Bj-CT7hC.js";
16
- import { t as A } from "./checkbox-B4oUG6Rr.js";
12
+ import { t as E } from "./not-found-DEtSM_Wd.js";
13
+ import { n as D } from "./dist-DaMB0Su9.js";
14
+ import { n as O } from "./InspectorContext-UjtEbNod.js";
15
+ import { t as k } from "./textarea-DSbwcFVt.js";
16
+ import { t as A } from "./checkbox-By0FklhG.js";
17
17
  import { n as j, t as M } from "./schemaHelpers-DTV38jGq.js";
18
18
  //#region src/client/components/elicitation/ElicitationRequestsList.tsx
19
- var N = /* @__PURE__ */ e(t(), 1), P = n();
20
- function F({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex: i, formatRelativeTime: a }) {
19
+ var N = /* @__PURE__ */ e(t(), 1), P = c();
20
+ function F({ requests: e, selectedRequest: t, onRequestSelect: r, focusedIndex: i, formatRelativeTime: a }) {
21
21
  return e.length === 0 ? /* @__PURE__ */ (0, P.jsx)("div", {
22
22
  className: "flex flex-1 flex-col items-center justify-center p-4 text-center",
23
23
  children: /* @__PURE__ */ (0, P.jsx)(E, {
@@ -34,7 +34,7 @@ function F({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex:
34
34
  isFocused: i === o,
35
35
  title: /* @__PURE__ */ (0, P.jsxs)("span", {
36
36
  className: "flex items-center gap-3",
37
- children: [e.serverName, /* @__PURE__ */ (0, P.jsx)(r, {
37
+ children: [e.serverName, /* @__PURE__ */ (0, P.jsx)(n, {
38
38
  variant: "outline",
39
39
  className: s === "url" ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border-blue-500/50" : "bg-green-500/20 text-green-600 dark:text-green-400 border-green-500/50",
40
40
  children: s
@@ -44,13 +44,13 @@ function F({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex:
44
44
  let t = a(e.timestamp), n = [];
45
45
  return c && n.push("with schema"), s === "url" && n.push("external action"), t + (n.length > 0 ? ` | ${n.join(", ")}` : "");
46
46
  })(),
47
- onClick: () => n(e)
47
+ onClick: () => r(e)
48
48
  }, e.id);
49
49
  }) });
50
50
  }
51
51
  //#endregion
52
52
  //#region src/client/components/elicitation/shared/ElicitationFormFields.tsx
53
- function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefix: i, fieldContainerClassName: a = "space-y-2", textareaRows: o = 4, showOuterLabelForBoolean: s = !0, emptyFallback: u }) {
53
+ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefix: i, fieldContainerClassName: a = "space-y-2", textareaRows: o = 4, showOuterLabelForBoolean: c = !0, emptyFallback: u }) {
54
54
  return /* @__PURE__ */ (0, P.jsx)(P.Fragment, { children: (0, N.useMemo)(() => {
55
55
  if (!("requestedSchema" in e.request)) return null;
56
56
  let d = e.request.requestedSchema;
@@ -66,7 +66,7 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
66
66
  return /* @__PURE__ */ (0, P.jsxs)("div", {
67
67
  className: a,
68
68
  children: [
69
- (m !== "boolean" || s) && /* @__PURE__ */ (0, P.jsxs)(l, {
69
+ (m !== "boolean" || c) && /* @__PURE__ */ (0, P.jsxs)(l, {
70
70
  htmlFor: w,
71
71
  children: [h, f && /* @__PURE__ */ (0, P.jsx)("span", {
72
72
  className: "text-red-500 ml-1",
@@ -87,12 +87,12 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
87
87
  }), /* @__PURE__ */ (0, P.jsxs)(l, {
88
88
  htmlFor: w,
89
89
  className: "text-sm font-normal cursor-pointer",
90
- children: [h, !s && f && /* @__PURE__ */ (0, P.jsx)("span", {
90
+ children: [h, !c && f && /* @__PURE__ */ (0, P.jsx)("span", {
91
91
  className: "text-red-500 ml-1",
92
92
  children: "*"
93
93
  })]
94
94
  })]
95
- }) : m === "number" || m === "integer" ? /* @__PURE__ */ (0, P.jsx)(c, {
95
+ }) : m === "number" || m === "integer" ? /* @__PURE__ */ (0, P.jsx)(s, {
96
96
  id: w,
97
97
  "data-testid": T,
98
98
  type: "number",
@@ -175,7 +175,7 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
175
175
  onChange: (t) => n(e, t.target.value),
176
176
  placeholder: d.default || "",
177
177
  rows: o
178
- }) : /* @__PURE__ */ (0, P.jsx)(c, {
178
+ }) : /* @__PURE__ */ (0, P.jsx)(s, {
179
179
  id: w,
180
180
  "data-testid": T,
181
181
  type: "text",
@@ -195,7 +195,7 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
195
195
  i,
196
196
  a,
197
197
  o,
198
- s,
198
+ c,
199
199
  u
200
200
  ]) });
201
201
  }
@@ -235,7 +235,7 @@ function L(e) {
235
235
  }
236
236
  //#endregion
237
237
  //#region src/client/components/elicitation/ElicitationRequestDisplay.tsx
238
- function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p, onTogglePreview: _, isCopied: v, onCopy: y, onDownload: b, onFullscreen: x }) {
238
+ function R({ request: t, onApprove: s, onReject: c, onClose: f, previewMode: p, onTogglePreview: _, isCopied: v, onCopy: y, onDownload: b, onFullscreen: x }) {
239
239
  let { formData: S, setFieldValue: w, getMissingRequiredFields: E, urlCompleted: O, setUrlCompleted: k, mode: j, isFormMode: M, isUrlMode: N } = L(t);
240
240
  return t ? /* @__PURE__ */ (0, P.jsxs)("div", {
241
241
  className: "flex flex-col h-full",
@@ -249,7 +249,7 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
249
249
  className: "font-medium text-gray-900 dark:text-gray-100",
250
250
  children: t.serverName
251
251
  }),
252
- /* @__PURE__ */ (0, P.jsx)(r, {
252
+ /* @__PURE__ */ (0, P.jsx)(n, {
253
253
  variant: "outline",
254
254
  className: N ? "bg-blue-500/20 text-blue-600 dark:text-blue-400 border-blue-500/50" : "bg-green-500/20 text-green-600 dark:text-green-400 border-green-500/50",
255
255
  children: j
@@ -262,8 +262,8 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
262
262
  }), /* @__PURE__ */ (0, P.jsxs)("div", {
263
263
  className: "flex items-center gap-2",
264
264
  children: [
265
- /* @__PURE__ */ (0, P.jsxs)(a, { children: [/* @__PURE__ */ (0, P.jsx)(i, {
266
- render: /* @__PURE__ */ (0, P.jsx)(s, {
265
+ /* @__PURE__ */ (0, P.jsxs)(i, { children: [/* @__PURE__ */ (0, P.jsx)(r, {
266
+ render: /* @__PURE__ */ (0, P.jsx)(o, {
267
267
  variant: "ghost",
268
268
  size: "sm",
269
269
  onClick: y,
@@ -271,9 +271,9 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
271
271
  children: v ? /* @__PURE__ */ (0, P.jsx)(u, { className: "h-4 w-4 text-green-600" }) : /* @__PURE__ */ (0, P.jsx)(d, { className: "h-4 w-4" })
272
272
  }),
273
273
  nativeButton: !0
274
- }), /* @__PURE__ */ (0, P.jsx)(o, { children: "Copy request" })] }),
275
- /* @__PURE__ */ (0, P.jsxs)(a, { children: [/* @__PURE__ */ (0, P.jsx)(i, {
276
- render: /* @__PURE__ */ (0, P.jsx)(s, {
274
+ }), /* @__PURE__ */ (0, P.jsx)(a, { children: "Copy request" })] }),
275
+ /* @__PURE__ */ (0, P.jsxs)(i, { children: [/* @__PURE__ */ (0, P.jsx)(r, {
276
+ render: /* @__PURE__ */ (0, P.jsx)(o, {
277
277
  variant: "ghost",
278
278
  size: "sm",
279
279
  onClick: b,
@@ -281,9 +281,9 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
281
281
  children: /* @__PURE__ */ (0, P.jsx)(m, { className: "h-4 w-4" })
282
282
  }),
283
283
  nativeButton: !0
284
- }), /* @__PURE__ */ (0, P.jsx)(o, { children: "Download request" })] }),
285
- /* @__PURE__ */ (0, P.jsxs)(a, { children: [/* @__PURE__ */ (0, P.jsx)(i, {
286
- render: /* @__PURE__ */ (0, P.jsx)(s, {
284
+ }), /* @__PURE__ */ (0, P.jsx)(a, { children: "Download request" })] }),
285
+ /* @__PURE__ */ (0, P.jsxs)(i, { children: [/* @__PURE__ */ (0, P.jsx)(r, {
286
+ render: /* @__PURE__ */ (0, P.jsx)(o, {
287
287
  variant: "ghost",
288
288
  size: "sm",
289
289
  onClick: x,
@@ -291,8 +291,8 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
291
291
  children: /* @__PURE__ */ (0, P.jsx)(C, { className: "h-4 w-4" })
292
292
  }),
293
293
  nativeButton: !0
294
- }), /* @__PURE__ */ (0, P.jsx)(o, { children: "Fullscreen" })] }),
295
- /* @__PURE__ */ (0, P.jsx)(s, {
294
+ }), /* @__PURE__ */ (0, P.jsx)(a, { children: "Fullscreen" })] }),
295
+ /* @__PURE__ */ (0, P.jsx)(o, {
296
296
  variant: "ghost",
297
297
  size: "sm",
298
298
  onClick: f,
@@ -332,7 +332,7 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
332
332
  children: [/* @__PURE__ */ (0, P.jsx)("code", {
333
333
  className: "flex-1 text-xs font-mono break-all",
334
334
  children: t.request.url
335
- }), /* @__PURE__ */ (0, P.jsxs)(s, {
335
+ }), /* @__PURE__ */ (0, P.jsxs)(o, {
336
336
  size: "sm",
337
337
  variant: "outline",
338
338
  onClick: () => {
@@ -389,7 +389,7 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
389
389
  /* @__PURE__ */ (0, P.jsxs)("div", {
390
390
  className: "flex gap-2 p-4 border-t dark:border-zinc-700",
391
391
  children: [
392
- /* @__PURE__ */ (0, P.jsx)(s, {
392
+ /* @__PURE__ */ (0, P.jsx)(o, {
393
393
  onClick: () => {
394
394
  if (t) {
395
395
  if (M) {
@@ -398,11 +398,11 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
398
398
  D.error("Missing required fields", { description: `Please fill in: ${e.join(", ")}` });
399
399
  return;
400
400
  }
401
- n(t.id, {
401
+ s(t.id, {
402
402
  action: "accept",
403
403
  content: S
404
404
  });
405
- } else N && n(t.id, { action: "accept" });
405
+ } else N && s(t.id, { action: "accept" });
406
406
  f(), import("./react-BIs9pQ3H.js").then((t) => /* @__PURE__ */ e(t.t(), 1)).then((e) => {
407
407
  let t = D(e.createElement("div", { className: "space-y-3" }, e.createElement("div", null, e.createElement("strong", null, "Elicitation 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", {
408
408
  "data-testid": "elicitation-view-tool-result",
@@ -420,16 +420,16 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
420
420
  "data-testid": "elicitation-accept-button",
421
421
  children: "Accept"
422
422
  }),
423
- /* @__PURE__ */ (0, P.jsx)(s, {
423
+ /* @__PURE__ */ (0, P.jsx)(o, {
424
424
  onClick: () => {
425
- t && (n(t.id, { action: "decline" }), f());
425
+ t && (s(t.id, { action: "decline" }), f());
426
426
  },
427
427
  variant: "outline",
428
428
  className: "flex-1",
429
429
  "data-testid": "elicitation-decline-button",
430
430
  children: "Decline"
431
431
  }),
432
- /* @__PURE__ */ (0, P.jsx)(s, {
432
+ /* @__PURE__ */ (0, P.jsx)(o, {
433
433
  onClick: () => {
434
434
  t && (c(t.id, "User cancelled elicitation request"), f());
435
435
  },
@@ -1,5 +1,5 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { Sr as n, br as r, mr as i, pr as a, wr as o } from "./input-BLxOA7V-.js";
2
+ import { Sr as n, br as r, mr as i, pr as a, wr as o } from "./input-C2OBd4PJ.js";
3
3
  //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/react/internals/useValueChanged.mjs
4
4
  var s = /* @__PURE__ */ e(t(), 1);
5
5
  function c(e, t) {
@@ -71,27 +71,7 @@ function o({ children: e }) {
71
71
  embeddedConfig: t
72
72
  }));
73
73
  }, []), _ = (0, r.useCallback)((e, t, n) => {
74
- fetch("http://127.0.0.1:7371/ingest/4e7482c5-571f-4071-bd09-762c357289f4", {
75
- method: "POST",
76
- headers: {
77
- "Content-Type": "application/json",
78
- "X-Debug-Session-Id": "831b88"
79
- },
80
- body: JSON.stringify({
81
- sessionId: "831b88",
82
- location: "InspectorContext.tsx:navigateToItem",
83
- message: "context navigateToItem",
84
- data: {
85
- serverId: e,
86
- tab: t,
87
- itemIdentifier: n ?? null,
88
- selectedToolName: t === "tools" ? n ?? null : null,
89
- selectedResourceUri: t === "resources" ? n ?? null : null
90
- },
91
- timestamp: Date.now(),
92
- hypothesisId: "H5"
93
- })
94
- }).catch(() => {}), console.warn("[InspectorContext] navigateToItem called:", {
74
+ console.warn("[InspectorContext] navigateToItem called:", {
95
75
  serverId: e,
96
76
  tab: t,
97
77
  itemIdentifier: n
@@ -1,6 +1,6 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
- import { K as r, Rr as i, sr as a } from "./input-BLxOA7V-.js";
2
+ import { K as n, Rr as r, sr as i } from "./input-C2OBd4PJ.js";
3
+ import { t as a } from "./jsx-runtime-CIxvMpEo.js";
4
4
  import { t as o } from "./createLucideIcon-C5fZZ6oB.js";
5
5
  var s = o("download", [
6
6
  ["path", {
@@ -79,7 +79,7 @@ function h(e, t) {
79
79
  }
80
80
  //#endregion
81
81
  //#region src/client/utils/highlightJson.tsx
82
- var g = n(), _ = {
82
+ var g = a(), _ = {
83
83
  key: "text-sky-600 dark:text-sky-400",
84
84
  string: "text-emerald-600 dark:text-emerald-400",
85
85
  number: "text-amber-600 dark:text-amber-400",
@@ -174,13 +174,13 @@ function S(e) {
174
174
  function C(e) {
175
175
  return Array.isArray(e) ? `[${e.length}]` : `{${Object.keys(e).length}}`;
176
176
  }
177
- function w({ label: e, value: t, depth: n, defaultExpanded: a }) {
178
- let o = typeof t == "object" && t && !Array.isArray(t) ? Object.keys(t).length > 0 : Array.isArray(t) ? t.length > 0 : !1, [s, c] = (0, b.useState)(o && (a || n === 0));
177
+ function w({ label: e, value: t, depth: i, defaultExpanded: a }) {
178
+ let o = typeof t == "object" && t && !Array.isArray(t) ? Object.keys(t).length > 0 : Array.isArray(t) ? t.length > 0 : !1, [s, c] = (0, b.useState)(o && (a || i === 0));
179
179
  if (!o) {
180
- let r = Array.isArray(t) ? "[]" : "{}";
180
+ let n = Array.isArray(t) ? "[]" : "{}";
181
181
  return typeof t == "object" && t ? /* @__PURE__ */ (0, g.jsxs)("div", {
182
182
  className: "font-mono text-[0.8rem] leading-relaxed",
183
- style: { paddingLeft: n * 12 },
183
+ style: { paddingLeft: i * 12 },
184
184
  children: [e != null && /* @__PURE__ */ (0, g.jsxs)(g.Fragment, { children: [/* @__PURE__ */ (0, g.jsx)("span", {
185
185
  className: x.key,
186
186
  children: JSON.stringify(e)
@@ -189,11 +189,11 @@ function w({ label: e, value: t, depth: n, defaultExpanded: a }) {
189
189
  children: ": "
190
190
  })] }), /* @__PURE__ */ (0, g.jsx)("span", {
191
191
  className: x.punctuation,
192
- children: r
192
+ children: n
193
193
  })]
194
194
  }) : /* @__PURE__ */ (0, g.jsxs)("div", {
195
195
  className: "font-mono text-[0.8rem] leading-relaxed",
196
- style: { paddingLeft: n * 12 },
196
+ style: { paddingLeft: i * 12 },
197
197
  children: [e != null && /* @__PURE__ */ (0, g.jsxs)(g.Fragment, { children: [/* @__PURE__ */ (0, g.jsx)("span", {
198
198
  className: x.key,
199
199
  children: JSON.stringify(e)
@@ -208,13 +208,13 @@ function w({ label: e, value: t, depth: n, defaultExpanded: a }) {
208
208
  className: "font-mono text-[0.8rem] leading-relaxed",
209
209
  children: [/* @__PURE__ */ (0, g.jsxs)("div", {
210
210
  className: "flex items-start gap-0.5",
211
- style: { paddingLeft: n * 12 },
211
+ style: { paddingLeft: i * 12 },
212
212
  children: [/* @__PURE__ */ (0, g.jsx)("button", {
213
213
  type: "button",
214
214
  "aria-expanded": s,
215
215
  onClick: () => c((e) => !e),
216
216
  className: "mt-0.5 inline-flex shrink-0 items-center justify-center rounded-sm text-muted-foreground hover:text-foreground",
217
- children: /* @__PURE__ */ (0, g.jsx)(r, { className: i("h-3.5 w-3.5 transition-transform", s && "rotate-90") })
217
+ children: /* @__PURE__ */ (0, g.jsx)(n, { className: r("h-3.5 w-3.5 transition-transform", s && "rotate-90") })
218
218
  }), /* @__PURE__ */ (0, g.jsxs)("div", {
219
219
  className: "min-w-0 flex-1",
220
220
  children: [
@@ -243,10 +243,10 @@ function w({ label: e, value: t, depth: n, defaultExpanded: a }) {
243
243
  }), s && /* @__PURE__ */ (0, g.jsxs)("div", { children: [l.map(([e, t]) => /* @__PURE__ */ (0, g.jsx)(w, {
244
244
  label: e,
245
245
  value: t,
246
- depth: n + 1,
246
+ depth: i + 1,
247
247
  defaultExpanded: a
248
- }, `${n}-${e}`)), /* @__PURE__ */ (0, g.jsx)("div", {
249
- style: { paddingLeft: n * 12 },
248
+ }, `${i}-${e}`)), /* @__PURE__ */ (0, g.jsx)("div", {
249
+ style: { paddingLeft: i * 12 },
250
250
  children: /* @__PURE__ */ (0, g.jsx)("span", {
251
251
  className: x.punctuation,
252
252
  children: f
@@ -256,7 +256,7 @@ function w({ label: e, value: t, depth: n, defaultExpanded: a }) {
256
256
  }
257
257
  function T({ data: e, defaultExpanded: t = !0, className: n }) {
258
258
  return /* @__PURE__ */ (0, g.jsx)("div", {
259
- className: i("text-gray-900 dark:text-gray-100 [overflow-wrap:anywhere]", n),
259
+ className: r("text-gray-900 dark:text-gray-100 [overflow-wrap:anywhere]", n),
260
260
  "data-testid": "collapsible-json",
261
261
  children: /* @__PURE__ */ (0, g.jsx)(w, {
262
262
  value: e,
@@ -268,7 +268,7 @@ function T({ data: e, defaultExpanded: t = !0, className: n }) {
268
268
  //#endregion
269
269
  //#region src/client/components/shared/JSONDisplay.tsx
270
270
  var E = "font-mono text-[0.8rem] text-gray-900 dark:text-gray-100 whitespace-pre-wrap break-words [overflow-wrap:anywhere]";
271
- function D({ data: e, filename: t, className: n, collapsible: r = !1, defaultExpanded: i = !0, ...o }) {
271
+ function D({ data: e, filename: t, className: n, collapsible: r = !1, defaultExpanded: a = !0, ...o }) {
272
272
  let c = m(e), l = p(e), u = c.isLarge ? /* @__PURE__ */ (0, g.jsx)("div", {
273
273
  className: "mb-3 p-3 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg",
274
274
  children: /* @__PURE__ */ (0, g.jsxs)("div", {
@@ -286,7 +286,7 @@ function D({ data: e, filename: t, className: n, collapsible: r = !1, defaultExp
286
286
  className: "text-xs text-yellow-700 dark:text-yellow-400",
287
287
  children: "Showing full structure with truncated values. Download the full JSON file to see complete values."
288
288
  })]
289
- }), /* @__PURE__ */ (0, g.jsxs)(a, {
289
+ }), /* @__PURE__ */ (0, g.jsxs)(i, {
290
290
  variant: "outline",
291
291
  size: "sm",
292
292
  onClick: () => {
@@ -302,7 +302,7 @@ function D({ data: e, filename: t, className: n, collapsible: r = !1, defaultExp
302
302
  ...o,
303
303
  children: [u, /* @__PURE__ */ (0, g.jsx)(T, {
304
304
  data: l,
305
- defaultExpanded: i
305
+ defaultExpanded: a
306
306
  })]
307
307
  }) : c.isLarge ? /* @__PURE__ */ (0, g.jsxs)("div", {
308
308
  className: n,
@@ -1,25 +1,25 @@
1
- import { t as e } from "./jsx-runtime-CIxvMpEo.js";
2
- import { G as t, Pr as n, Rr as r, a as i, d as a, l as o, n as s, r as c, sr as l, t as u, u as d } from "./input-BLxOA7V-.js";
1
+ import { G as e, Pr as t, Rr as n, a as r, d as i, l as a, n as o, r as s, sr as c, t as l, u } from "./input-C2OBd4PJ.js";
2
+ import { t as d } from "./jsx-runtime-CIxvMpEo.js";
3
3
  import { t as f } from "./refresh-cw-BXY-Pa0U.js";
4
4
  //#region src/client/components/ui/kbd.tsx
5
- var p = e();
5
+ var p = d();
6
6
  function m({ className: e, ...t }) {
7
7
  return /* @__PURE__ */ (0, p.jsx)("kbd", {
8
8
  "data-slot": "kbd",
9
- className: r("bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", e),
9
+ className: n("bg-muted text-muted-foreground pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none", "[&_svg:not([class*='size-'])]:size-3", "[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background dark:[[data-slot=tooltip-content]_&]:bg-background/10", e),
10
10
  ...t
11
11
  });
12
12
  }
13
13
  //#endregion
14
14
  //#region src/client/components/shared/ListTabHeader.tsx
15
15
  var h = "h-3.5 w-3.5 shrink-0 text-muted-foreground";
16
- function g({ activeTab: e, isSearchExpanded: r, searchQuery: g, primaryTabTitle: _, secondaryTabTitle: v, primaryCount: y, secondaryCount: b, secondaryIcon: x, primaryIcon: S, searchPlaceholder: C = "Search...", onSearchExpand: w, onSearchChange: T, onSearchBlur: E, onTabSwitch: D, searchInputRef: O, primaryTabName: k, onRefresh: A, isRefreshing: j = !1, isScrolled: M = !1 }) {
17
- let N = e === k, P = N ? S : x, F = N ? _ : v;
16
+ function g({ activeTab: n, isSearchExpanded: d, searchQuery: g, primaryTabTitle: _, secondaryTabTitle: v, primaryCount: y, secondaryCount: b, secondaryIcon: x, primaryIcon: S, searchPlaceholder: C = "Search...", onSearchExpand: w, onSearchChange: T, onSearchBlur: E, onTabSwitch: D, searchInputRef: O, primaryTabName: k, onRefresh: A, isRefreshing: j = !1, isScrolled: M = !1 }) {
17
+ let N = n === k, P = N ? S : x, F = N ? _ : v;
18
18
  return /* @__PURE__ */ (0, p.jsxs)("div", {
19
- className: `flex flex-row items-center justify-between gap-2 ${o(M)} ${d}`,
19
+ className: `flex flex-row items-center justify-between gap-2 ${a(M)} ${u}`,
20
20
  children: [/* @__PURE__ */ (0, p.jsx)("div", {
21
21
  className: "flex items-center gap-2 flex-1 min-w-0",
22
- children: r ? /* @__PURE__ */ (0, p.jsx)(u, {
22
+ children: d ? /* @__PURE__ */ (0, p.jsx)(l, {
23
23
  ref: O,
24
24
  placeholder: C,
25
25
  value: g,
@@ -27,33 +27,33 @@ function g({ activeTab: e, isSearchExpanded: r, searchQuery: g, primaryTabTitle:
27
27
  onBlur: E,
28
28
  className: "h-8 border-gray-300 dark:border-zinc-600"
29
29
  }) : /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [/* @__PURE__ */ (0, p.jsxs)("h2", {
30
- className: `${a} flex items-center gap-1.5`,
30
+ className: `${i} flex items-center gap-1.5`,
31
31
  children: [/* @__PURE__ */ (0, p.jsx)(P, {
32
32
  className: h,
33
33
  "aria-hidden": !0
34
34
  }), F]
35
35
  }), N && /* @__PURE__ */ (0, p.jsxs)(p.Fragment, { children: [
36
- /* @__PURE__ */ (0, p.jsx)(n, {
36
+ /* @__PURE__ */ (0, p.jsx)(t, {
37
37
  className: "bg-zinc-500/20 text-zinc-600 dark:text-zinc-400 border-transparent",
38
38
  variant: "outline",
39
39
  children: y
40
40
  }),
41
- /* @__PURE__ */ (0, p.jsxs)(s, { children: [/* @__PURE__ */ (0, p.jsx)(i, {
42
- render: /* @__PURE__ */ (0, p.jsx)(l, {
41
+ /* @__PURE__ */ (0, p.jsxs)(o, { children: [/* @__PURE__ */ (0, p.jsx)(r, {
42
+ render: /* @__PURE__ */ (0, p.jsx)(c, {
43
43
  variant: "ghost",
44
44
  size: "sm",
45
45
  onClick: w,
46
46
  className: "h-8 w-8 p-0",
47
- children: /* @__PURE__ */ (0, p.jsx)(t, { className: "h-4 w-4" })
47
+ children: /* @__PURE__ */ (0, p.jsx)(e, { className: "h-4 w-4" })
48
48
  }),
49
49
  nativeButton: !0
50
- }), /* @__PURE__ */ (0, p.jsxs)(c, {
50
+ }), /* @__PURE__ */ (0, p.jsxs)(s, {
51
51
  side: "bottom",
52
52
  className: "flex gap-2",
53
53
  children: ["Search", /* @__PURE__ */ (0, p.jsx)(m, { children: "F" })]
54
54
  })] }),
55
- A && /* @__PURE__ */ (0, p.jsxs)(s, { children: [/* @__PURE__ */ (0, p.jsx)(i, {
56
- render: /* @__PURE__ */ (0, p.jsx)(l, {
55
+ A && /* @__PURE__ */ (0, p.jsxs)(o, { children: [/* @__PURE__ */ (0, p.jsx)(r, {
56
+ render: /* @__PURE__ */ (0, p.jsx)(c, {
57
57
  variant: "ghost",
58
58
  size: "sm",
59
59
  onClick: A,
@@ -62,13 +62,13 @@ function g({ activeTab: e, isSearchExpanded: r, searchQuery: g, primaryTabTitle:
62
62
  children: /* @__PURE__ */ (0, p.jsx)(f, { className: `h-4 w-4 ${j ? "animate-spin" : ""}` })
63
63
  }),
64
64
  nativeButton: !0
65
- }), /* @__PURE__ */ (0, p.jsxs)(c, {
65
+ }), /* @__PURE__ */ (0, p.jsxs)(s, {
66
66
  side: "bottom",
67
67
  className: "flex gap-2",
68
68
  children: ["Refresh list", /* @__PURE__ */ (0, p.jsx)(m, { children: "R" })]
69
69
  })] })
70
70
  ] })] })
71
- }), /* @__PURE__ */ (0, p.jsxs)(l, {
71
+ }), /* @__PURE__ */ (0, p.jsxs)(c, {
72
72
  variant: "ghost",
73
73
  size: "sm",
74
74
  onClick: D,
@@ -76,7 +76,7 @@ function g({ activeTab: e, isSearchExpanded: r, searchQuery: g, primaryTabTitle:
76
76
  children: [/* @__PURE__ */ (0, p.jsx)("span", {
77
77
  className: "hidden sm:inline",
78
78
  children: N ? v : _
79
- }), N && b > 0 && /* @__PURE__ */ (0, p.jsx)(n, {
79
+ }), N && b > 0 && /* @__PURE__ */ (0, p.jsx)(t, {
80
80
  className: "bg-purple-500/20 text-purple-600 dark:text-purple-400 border-transparent",
81
81
  variant: "outline",
82
82
  children: b
@@ -1,7 +1,7 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
2
  import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
3
  import { t as r } from "./loader-circle-BLy9A_pp.js";
4
- import { t as i } from "./manufact-auth-0TVxpeTA.js";
4
+ import { t as i } from "./manufact-auth-BQMHhbLV.js";
5
5
  //#region src/client/components/ManufactOAuthCallback.tsx
6
6
  var a = /* @__PURE__ */ e(t(), 1), o = n();
7
7
  function s() {