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

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 (276) hide show
  1. package/README.md +7 -18
  2. package/dist/cdn/{AnimatePresence-B4HhIdgq.js → AnimatePresence-D1bZ5_-l.js} +80 -79
  3. package/dist/cdn/ChatTab-KJDI5ycl.js +6811 -0
  4. package/dist/cdn/{CheckboxIndicator-BF2cKfbA.js → CheckboxIndicator-BjF73mGX.js} +74 -73
  5. package/dist/cdn/ConnectionSettingsForm-CAvpobCm.js +929 -0
  6. package/dist/cdn/ConnectionSettingsTab-Nhdvdpk5.js +151 -0
  7. package/dist/cdn/{ElicitationTab-upPXq2q7.js → ElicitationTab-PEmEDvC5.js} +48 -47
  8. package/dist/cdn/{FormContext-Cl51-7O7.js → FormContext-NtUiZclE.js} +26 -26
  9. package/dist/cdn/{InspectorContext-DzXtgyTx.js → InspectorContext-BBKCdfmK.js} +2 -22
  10. package/dist/cdn/{JSONDisplay-D3RcyO9z.js → JSONDisplay-BJqMz7Ny.js} +23 -23
  11. package/dist/cdn/{ListTabHeader-8lULn-90.js → ListTabHeader-DzmTtN1e.js} +21 -20
  12. package/dist/cdn/{WidgetWrapper-D29YDxIu.js → MCPAppsDebugControls-BIiauZ_A.js} +583 -620
  13. package/dist/cdn/{ManufactOAuthCallback-DEM8mhWD.js → ManufactOAuthCallback-ChbbjFIT.js} +3 -3
  14. package/dist/cdn/MarkdownRenderer-DZuWYsja.js +3610 -0
  15. package/dist/cdn/McpAppsViewPanel-BTOKcnV3.js +56 -0
  16. package/dist/cdn/{NotificationsTab-CWopTIzT.js → NotificationsTab-B7uebqMV.js} +13 -13
  17. package/dist/cdn/{OAuthCallback-k3oeLtIC.js → OAuthCallback-CBWWNg2N.js} +3 -3
  18. package/dist/cdn/PromptsTab-DuP66kUg.js +902 -0
  19. package/dist/cdn/{ResourcesTab-KfamsM6-.js → ResourcesTab-BJxaJgKU.js} +106 -124
  20. package/dist/cdn/{SamplingTab-vcufuK24.js → SamplingTab-Bfnd-TZ-.js} +43 -42
  21. package/dist/cdn/{ServerMetadataTab-DS0eiyyD.js → ServerMetadataTab-BM3VhSLf.js} +14 -14
  22. package/dist/cdn/{StatusIcon-BGXOEU2u.js → StatusIcon-Q3n3YRtE.js} +8 -9
  23. package/dist/cdn/{ToolsTab-DRjcZnpu.js → ToolsTab-DGBRXBW-.js} +671 -693
  24. package/dist/cdn/{ViewPreview-B_onhcUB.js → ViewPreview-DPWKMeND.js} +5 -4
  25. package/dist/cdn/{WidgetDebugContext-D4usL_MA.js → WidgetDebugContext-B6yoOVVV.js} +1 -11
  26. package/dist/cdn/WidgetWrapper-BlbQAh_X.js +12 -0
  27. package/dist/cdn/{bell-CGjAO_0s.js → bell-GrTZcnD2.js} +1 -1
  28. package/dist/cdn/{browser-CbQIH4w2.js → browser-DG2Z8392.js} +1 -1
  29. package/dist/cdn/{brush-B_mKhyxG.js → brush-CelVvMGp.js} +1 -1
  30. package/dist/cdn/button-CB4uOoUV.js +2509 -0
  31. package/dist/cdn/{card-DqjqAq0o.js → card-BA-DQk-G.js} +2 -2
  32. package/dist/cdn/{checkbox-B4oUG6Rr.js → checkbox-kwVa4gRX.js} +4 -4
  33. package/dist/cdn/{clock-CmUbSx_B.js → clock-YMF8Gtw5.js} +1 -1
  34. package/dist/cdn/{code-V_0nf5rg.js → code-C8sN2OGR.js} +1 -1
  35. package/dist/cdn/{jsx-runtime-CIxvMpEo.js → createLucideIcon-BONxC1L5.js} +57 -24
  36. package/dist/cdn/{dialog-Dnl-pZsY.js → dialog-CJGnC5Ag.js} +165 -165
  37. package/dist/cdn/{dist-mRDqCgKU.js → dist-BgB6gR-d.js} +116 -114
  38. package/dist/cdn/{dist-DjXr_YO3.js → dist-CTJnCYmk.js} +1 -1
  39. package/dist/cdn/{external-link-CjmfT6rW.js → external-link-Bo4lQxr1.js} +1 -1
  40. package/dist/cdn/{eye-B7H96av8.js → eye-pSGG7nvf.js} +1 -1
  41. package/dist/cdn/{folder-open-B3lu2rG_.js → folder-open-aM8CPtBO.js} +1 -1
  42. package/dist/cdn/{hash-BVQnWi7q.js → hash-DDs2vE1k.js} +1 -1
  43. package/dist/cdn/{history-Csw4rb44.js → history-BfUFpL1d.js} +1 -1
  44. package/dist/cdn/{index-browser-CVUwR-Bu.js → index-browser-Ds41Irtb.js} +120 -201
  45. package/dist/cdn/{info-CNiOwqkf.js → info-BMkB68mB.js} +1 -1
  46. package/dist/cdn/{input-BLxOA7V-.js → input-BCpgLXU1.js} +3039 -3600
  47. package/dist/cdn/inspector.css +1 -1
  48. package/dist/cdn/inspector.js +7797 -7857
  49. package/dist/cdn/{label-CBvG613A.js → label-A0UGV8FE.js} +8 -8
  50. package/dist/cdn/{loader-circle-BLy9A_pp.js → loader-circle-BKRHJEB7.js} +1 -1
  51. package/dist/cdn/{manufact-auth-0TVxpeTA.js → manufact-auth-BQMHhbLV.js} +142 -106
  52. package/dist/cdn/{maximize-2-CH5Lq90B.js → maximize-2-DdrB_spi.js} +1 -1
  53. package/dist/cdn/{maximize-BALCV_ep.js → maximize-hSOCz133.js} +1 -1
  54. package/dist/cdn/{message-square-BnxdpJxZ.js → message-square-D3tKB3uJ.js} +1 -1
  55. package/dist/cdn/{not-found-BcNNsTjS.js → not-found-BajFyZpp.js} +4 -6
  56. package/dist/cdn/{play-vuZ5PLnI.js → play-B1leulYf.js} +1 -1
  57. package/dist/cdn/providerMeta-CjGU4rID.js +436 -0
  58. package/dist/cdn/{react-BxO-uEDZ.js → react-BtzXvzGh.js} +855 -853
  59. package/dist/cdn/{refresh-cw-BXY-Pa0U.js → refresh-cw-CyvXrS91.js} +1 -1
  60. package/dist/cdn/{save-Tgil_AJZ.js → save-CmdEPUAm.js} +1 -1
  61. package/dist/cdn/{select-BZ_IoKxg.js → select-CCFHjOGk.js} +843 -842
  62. package/dist/cdn/{servers-Dm72iTpY.js → servers-Dd0Vcp81.js} +5 -1
  63. package/dist/cdn/{shared-uMiV6Fx1.js → shared-CJVHJhag.js} +35 -35
  64. package/dist/cdn/sheet-oyq1mIyg.js +2078 -0
  65. package/dist/cdn/{sparkles-BntO2rDR.js → sparkles-CxeZpVtX.js} +1 -1
  66. package/dist/cdn/{spinner-CWcJhIY_.js → spinner-Be1GlSGX.js} +3 -3
  67. package/dist/cdn/{square-check-big-BvwQ17Bl.js → square-check-big-C_4wbfwF.js} +1 -1
  68. package/dist/cdn/{switch-DtQOLb9R.js → switch-DHXEA_N5.js} +211 -210
  69. package/dist/cdn/{tabs-subtle-C5cy35sY.js → tabs-subtle-Dubd6Kj8.js} +259 -258
  70. package/dist/cdn/{telemetry-Ct6pVkM1.js → telemetry-B6Xh2ktb.js} +38 -70
  71. package/dist/cdn/{textarea-Bj-CT7hC.js → textarea-CwmI8_uI.js} +2 -2
  72. package/dist/cdn/{trash-2-RwpJY5SL.js → trash-2-BhumJAFE.js} +1 -1
  73. package/dist/cdn/{useAriaLabelledBy-Bm9qHGK6.js → useAriaLabelledBy-Cra6w3YY.js} +2 -1
  74. package/dist/cdn/{useCompositeItem-CNJ6MXdi.js → useCompositeItem-Dhnm-7el.js} +3 -3
  75. package/dist/cdn/{useConfig-CwxZ6Quj.js → useConfig-CLBnK-B4.js} +73 -46
  76. package/dist/cdn/{useSavedRequests-Ci2I919u.js → useSavedRequests-mSIsDd4c.js} +1 -1
  77. package/dist/cdn/{useViewHostProps-Dr6W2ooF.js → useViewHostProps-DRWpI0-w.js} +124 -108
  78. package/dist/cdn/{wrench-DzGmCfnb.js → wrench-DvK20LUT.js} +1 -1
  79. package/dist/cdn/{x-C3vRQIYu.js → x-EilKPiCX.js} +1 -1
  80. package/dist/cdn/{zap-Mb-pbw2X.js → zap-0Wr9QO7N.js} +1 -1
  81. package/dist/cli.js +87 -14
  82. package/dist/client/auth/manufact-auth.d.ts +3 -1
  83. package/dist/client/auth/manufact-auth.d.ts.map +1 -1
  84. package/dist/client/components/ChatTab.d.ts +1 -8
  85. package/dist/client/components/ChatTab.d.ts.map +1 -1
  86. package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
  87. package/dist/client/components/ResourcesTab.d.ts.map +1 -1
  88. package/dist/client/components/ToolsTab.d.ts.map +1 -1
  89. package/dist/client/components/chat/ChatHeader.d.ts +7 -2
  90. package/dist/client/components/chat/ChatHeader.d.ts.map +1 -1
  91. package/dist/client/components/chat/ChatLandingForm.d.ts +4 -2
  92. package/dist/client/components/chat/ChatLandingForm.d.ts.map +1 -1
  93. package/dist/client/components/chat/ChatManagedNotice.d.ts +10 -0
  94. package/dist/client/components/chat/ChatManagedNotice.d.ts.map +1 -0
  95. package/dist/client/components/chat/ChatScrollTopFade.d.ts +7 -0
  96. package/dist/client/components/chat/ChatScrollTopFade.d.ts.map +1 -0
  97. package/dist/client/components/chat/ConfigurationDialog.d.ts +11 -9
  98. package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
  99. package/dist/client/components/chat/ConfigureEmptyState.d.ts +1 -6
  100. package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +1 -1
  101. package/dist/client/components/chat/MessageList.d.ts +1 -0
  102. package/dist/client/components/chat/MessageList.d.ts.map +1 -1
  103. package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +1 -1
  104. package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
  105. package/dist/client/components/chat/chatModeStorage.d.ts +11 -0
  106. package/dist/client/components/chat/chatModeStorage.d.ts.map +1 -0
  107. package/dist/client/components/chat/managedChatNotice.d.ts +16 -0
  108. package/dist/client/components/chat/managedChatNotice.d.ts.map +1 -0
  109. package/dist/client/components/chat/partialToolArgs.d.ts +10 -0
  110. package/dist/client/components/chat/partialToolArgs.d.ts.map +1 -0
  111. package/dist/client/components/chat/providerMeta.d.ts +11 -0
  112. package/dist/client/components/chat/providerMeta.d.ts.map +1 -1
  113. package/dist/client/components/chat/types.d.ts +1 -0
  114. package/dist/client/components/chat/types.d.ts.map +1 -1
  115. package/dist/client/components/chat/useChatMessages.d.ts +7 -5
  116. package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
  117. package/dist/client/components/chat/useChatMessagesClientSide.d.ts +4 -6
  118. package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
  119. package/dist/client/components/chat/useChatScrollToBottom.d.ts +1 -0
  120. package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +1 -1
  121. package/dist/client/components/chat/useConfig.d.ts +1 -1
  122. package/dist/client/components/chat/useConfig.d.ts.map +1 -1
  123. package/dist/client/components/chat/useHostedChatMode.d.ts +1 -1
  124. package/dist/client/components/chat/useHostedChatMode.d.ts.map +1 -1
  125. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts +29 -0
  126. package/dist/client/components/mcp-apps/McpAppsViewPanel.d.ts.map +1 -0
  127. package/dist/client/components/shared/MarkdownRenderer.d.ts +2 -1
  128. package/dist/client/components/shared/MarkdownRenderer.d.ts.map +1 -1
  129. package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
  130. package/dist/client/components/tools/ToolResultDisplay.d.ts +2 -1
  131. package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
  132. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -1
  133. package/dist/client/components/ui/MeshGradientCanvas.d.ts +13 -0
  134. package/dist/client/components/ui/MeshGradientCanvas.d.ts.map +1 -0
  135. package/dist/client/components/ui/chat-message.d.ts +1 -1
  136. package/dist/client/components/ui/chat-message.d.ts.map +1 -1
  137. package/dist/client/components/ui/file-thumbnail.d.ts.map +1 -1
  138. package/dist/client/components/ui/mesh-animation-pause.d.ts +14 -0
  139. package/dist/client/components/ui/mesh-animation-pause.d.ts.map +1 -0
  140. package/dist/client/components/ui/mesh-gradient-colors.d.ts +6 -0
  141. package/dist/client/components/ui/mesh-gradient-colors.d.ts.map +1 -0
  142. package/dist/client/components/ui/mesh-tab-background.d.ts +3 -1
  143. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -1
  144. package/dist/client/components/ui/not-found.d.ts.map +1 -1
  145. package/dist/client/context/InspectorContext.d.ts.map +1 -1
  146. package/dist/client/context/WidgetDebugContext.d.ts +1 -11
  147. package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
  148. package/dist/client/hooks/useDeviceViewport.d.ts +1 -5
  149. package/dist/client/hooks/useDeviceViewport.d.ts.map +1 -1
  150. package/dist/client/hooks/useViewHostProps.d.ts +1 -1
  151. package/dist/client/hooks/useViewHostProps.d.ts.map +1 -1
  152. package/dist/client/index.js +4202 -3491
  153. package/dist/client/telemetry/init.d.ts.map +1 -1
  154. package/dist/client/telemetry/utils.d.ts.map +1 -1
  155. package/dist/client/utils/servers.d.ts +5 -0
  156. package/dist/client/utils/servers.d.ts.map +1 -1
  157. package/dist/server/asset-urls.d.ts +4 -0
  158. package/dist/server/asset-urls.d.ts.map +1 -1
  159. package/dist/server/asset-urls.js +7 -3
  160. package/dist/server/cdn-shell.d.ts.map +1 -1
  161. package/dist/server/cdn-shell.js +3 -3
  162. package/dist/server/{chunk-Y2GBQOQW.js → chunk-7BTEIKSA.js} +2 -9
  163. package/dist/server/{chunk-VDUV6LR6.js → chunk-FJ7P3RIU.js} +75 -5
  164. package/dist/server/{chunk-KBVKS4J5.js → chunk-H6ZCIKBS.js} +10 -0
  165. package/dist/server/{chunk-K2V2SDQD.js → chunk-OWR2BIBW.js} +1 -1
  166. package/dist/server/{chunk-IXYK6ZOY.js → chunk-PY5HM5DW.js} +2 -2
  167. package/dist/server/{chunk-5B3SXGZP.js → chunk-UJLXHNQP.js} +1 -1
  168. package/dist/server/{chunk-6XWDZEFF.js → chunk-XCNS5CIW.js} +8 -3
  169. package/dist/server/cli.js +5 -5
  170. package/dist/server/create-dev-api-app.js +3 -3
  171. package/dist/server/dev-callback-redirect.d.ts +3 -0
  172. package/dist/server/dev-callback-redirect.d.ts.map +1 -0
  173. package/dist/server/dev-callback-redirect.js +18 -0
  174. package/dist/server/index.js +6 -6
  175. package/dist/server/middleware.js +6 -6
  176. package/dist/server/proxy/index.js +1 -1
  177. package/dist/server/proxy/mcp-proxy.d.ts +2 -0
  178. package/dist/server/proxy/mcp-proxy.d.ts.map +1 -1
  179. package/dist/server/proxy/mcp-proxy.js +3 -1
  180. package/dist/server/proxy-routes.js +2 -2
  181. package/dist/server/server.js +3 -3
  182. package/dist/server/version.js +1 -1
  183. package/dist/server/vite-dev-api-plugin.js +3 -3
  184. package/dist/web/assets/AnimatePresence-FfDQQNFJ.js +9 -0
  185. package/dist/web/assets/ChatTab-B_CvwC4L.js +18 -0
  186. package/dist/web/assets/ConnectionSettingsTab-OhY1ex8u.js +1 -0
  187. package/dist/web/assets/ElicitationTab-CwkUbGUo.js +1 -0
  188. package/dist/web/assets/FormContext-sV-yByKz.js +1 -0
  189. package/dist/web/assets/ListTabHeader-CrGae306.js +1 -0
  190. package/dist/web/assets/MCPAppsDebugControls-SlpRw9KD.js +34 -0
  191. package/dist/web/assets/{ManufactOAuthCallback-DCLbW-mz.js → ManufactOAuthCallback-DgIxvi85.js} +1 -1
  192. package/dist/web/assets/MarkdownRenderer-B_n2JuA3.js +47 -0
  193. package/dist/web/assets/McpAppsViewPanel-CR8zhRi4.js +1 -0
  194. package/dist/web/assets/{NotificationsTab-JevzvJTg.js → NotificationsTab-DeGCkKLB.js} +1 -1
  195. package/dist/web/assets/{OAuthCallback-BjcRxLh5.js → OAuthCallback-DhFgvjS_.js} +1 -1
  196. package/dist/web/assets/PromptsTab-DZVkm_vn.js +15 -0
  197. package/dist/web/assets/ResourcesTab-5mZflymU.js +2 -0
  198. package/dist/web/assets/SamplingTab-TWoyNn8-.js +1 -0
  199. package/dist/web/assets/ServerMetadataTab-DZZpijCY.js +1 -0
  200. package/dist/web/assets/ToolsTab-DEZiEf9V.js +8 -0
  201. package/dist/web/assets/ViewPreview-ymDMBa0M.js +1 -0
  202. package/dist/web/assets/WidgetWrapper-cv_BM1bY.js +1 -0
  203. package/dist/web/assets/{brush--0LobUi4.js → brush-DX0UZ_pI.js} +1 -1
  204. package/dist/web/assets/button-C8Xa2k4x.js +1 -0
  205. package/dist/web/assets/checkbox-Wgm0SaKL.js +1 -0
  206. package/dist/web/assets/code-B14rVdNt.js +1 -0
  207. package/dist/web/assets/createLucideIcon-BEHeJH0M.js +1 -0
  208. package/dist/web/assets/dist-Bl7zPiY1.js +21 -0
  209. package/dist/web/assets/index-CpswgjB5.js +499 -0
  210. package/dist/web/assets/index-bCIH1Sdx.css +1 -0
  211. package/dist/web/assets/input-C0OQCUZy.js +1 -0
  212. package/dist/web/assets/{label-B5Q_Zr8M.js → label-CI7JWQOo.js} +1 -1
  213. package/dist/web/assets/{maximize-2-BTT9QQU9.js → maximize-2-Br1WQzT2.js} +1 -1
  214. package/dist/web/assets/{maximize-_O55kFcr.js → maximize-CJNgRe6S.js} +1 -1
  215. package/dist/web/assets/{refresh-cw-C9wQl8_d.js → refresh-cw-B5iaAZKn.js} +1 -1
  216. package/dist/web/assets/{save-B-MsgxX9.js → save-TM6fvNrt.js} +1 -1
  217. package/dist/web/assets/select-D6jzbLJn.js +1 -0
  218. package/dist/web/assets/shared-BtvKT_T4.js +1 -0
  219. package/dist/web/assets/{sparkles-2OAsc1aP.js → sparkles-BGYTDThM.js} +1 -1
  220. package/dist/web/assets/tabs-subtle-C5J9sUzi.js +1 -0
  221. package/dist/web/assets/textarea-CRTXuRmE.js +1 -0
  222. package/dist/web/assets/useConfig-CZkuy4Iy.js +1 -0
  223. package/dist/web/assets/useViewHostProps-nCaYmcbd.js +1 -0
  224. package/dist/web/assets/{zap-Du2Uc5pa.js → zap-BDWHCVHU.js} +1 -1
  225. package/dist/web/index.html +10 -11
  226. package/package.json +5 -12
  227. package/dist/cdn/ChatTab-D8uwCHAf.js +0 -13218
  228. package/dist/cdn/ConnectionSettingsForm-BNS6bOMD.js +0 -873
  229. package/dist/cdn/ConnectionSettingsTab-B97gPPJW.js +0 -145
  230. package/dist/cdn/PromptsTab-Cspfnl6n.js +0 -4400
  231. package/dist/cdn/bundle-mjs-B0nmHDtp.js +0 -1953
  232. package/dist/cdn/chunk-BO2N2NFS-Cy167e0X.js +0 -17500
  233. package/dist/cdn/createLucideIcon-C5fZZ6oB.js +0 -38
  234. package/dist/cdn/highlighted-body-OFNGDK62-CoReNbTX.js +0 -36
  235. package/dist/cdn/mermaid-GHXKKRXX-DgVIbk-D.js +0 -2
  236. package/dist/cdn/pdf-CxFT9FER.js +0 -16291
  237. package/dist/cdn/popover-C_SSrXT0.js +0 -2005
  238. package/dist/cdn/sheet-CerCdhxz.js +0 -78
  239. package/dist/cdn/useHostedSession-BA39Aegc.js +0 -153
  240. package/dist/cdn/useMCPPrompts-D3_Hla_z.js +0 -104
  241. package/dist/client/components/chat/streamdown-code-slim.d.ts +0 -4
  242. package/dist/client/components/chat/streamdown-code-slim.d.ts.map +0 -1
  243. package/dist/web/assets/AnimatePresence-CthXziG2.js +0 -9
  244. package/dist/web/assets/ChatTab-Cy8eyFYI.js +0 -460
  245. package/dist/web/assets/ConnectionSettingsTab-sDZGaUJn.js +0 -1
  246. package/dist/web/assets/ElicitationTab-wDKgU1qL.js +0 -1
  247. package/dist/web/assets/FormContext-Cqc_A12u.js +0 -1
  248. package/dist/web/assets/ListTabHeader-G-nQX18m.js +0 -1
  249. package/dist/web/assets/PromptsTab-DsQVOjKH.js +0 -61
  250. package/dist/web/assets/ResourcesTab-Bw8_p6M1.js +0 -2
  251. package/dist/web/assets/SamplingTab-BrcF1zJF.js +0 -1
  252. package/dist/web/assets/ServerMetadataTab-Bydeh1Po.js +0 -1
  253. package/dist/web/assets/ToolsTab-DJWF7Q_x.js +0 -8
  254. package/dist/web/assets/ViewPreview-jgeU7bY9.js +0 -1
  255. package/dist/web/assets/WidgetWrapper-B_vJU9uF.js +0 -34
  256. package/dist/web/assets/bundle-mjs-8puS6ou7.js +0 -1
  257. package/dist/web/assets/checkbox-BA-XURSj.js +0 -1
  258. package/dist/web/assets/chunk-BO2N2NFS-CGbd3eLY.js +0 -131
  259. package/dist/web/assets/code-tME-5H6D.js +0 -1
  260. package/dist/web/assets/createLucideIcon-B3b8EU0b.js +0 -1
  261. package/dist/web/assets/dist-BcAQZluc.js +0 -21
  262. package/dist/web/assets/highlighted-body-OFNGDK62-BBJFbIMp.js +0 -1
  263. package/dist/web/assets/index-BjH-Qp85.css +0 -1
  264. package/dist/web/assets/index-D2UxaT9v.js +0 -475
  265. package/dist/web/assets/input-CjmxOFr6.js +0 -1
  266. package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +0 -1
  267. package/dist/web/assets/mermaid-GHXKKRXX-B4MKVODA.js +0 -1
  268. package/dist/web/assets/pdf-CuwKm9zO.js +0 -54
  269. package/dist/web/assets/select-C0xlfLAa.js +0 -1
  270. package/dist/web/assets/shared-DQE60Op-.js +0 -1
  271. package/dist/web/assets/sheet-7TIkLdpr.js +0 -1
  272. package/dist/web/assets/tabs-subtle-AkJZvdxS.js +0 -1
  273. package/dist/web/assets/textarea-Ci09-en6.js +0 -1
  274. package/dist/web/assets/useConfig-Qglo4xs1.js +0 -1
  275. package/dist/web/assets/useMCPPrompts-USLYc1I4.js +0 -1
  276. package/dist/web/assets/useViewHostProps-DXAD1g7g.js +0 -1
@@ -0,0 +1,151 @@
1
+ import { s as e, t } from "./react-BIs9pQ3H.js";
2
+ import { d as n, l as r, u as i } from "./input-BCpgLXU1.js";
3
+ import { n as a } from "./createLucideIcon-BONxC1L5.js";
4
+ import { t as o } from "./button-CB4uOoUV.js";
5
+ import { S as s } from "./dialog-CJGnC5Ag.js";
6
+ import { f as c, i as l, l as u, o as d, r as f, t as p, u as m } from "./ConnectionSettingsForm-CAvpobCm.js";
7
+ import { n as h } from "./dist-CTJnCYmk.js";
8
+ import { t as g } from "./inspector-settings-layout-0VDsjeqb.js";
9
+ import { n as _ } from "./ListTabHeader-DzmTtN1e.js";
10
+ //#region src/client/hooks/useConnectionFormState.ts
11
+ var v = /* @__PURE__ */ e(t(), 1);
12
+ function y(e, t) {
13
+ 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)("");
14
+ return (0, v.useEffect)(() => {
15
+ if (!e || !t) return;
16
+ let n = c(e, d(e.id));
17
+ a(n.url), r(n.name || n.url);
18
+ let i = n.proxyConfig?.proxyAddress || (typeof n.autoProxyFallback == "object" ? n.autoProxyFallback.proxyAddress : void 0);
19
+ s(n.connectionMode || "auto"), g(u(n.protocolNegotiation)), D(i || l());
20
+ let o = n.headers || {};
21
+ y(Object.entries(o).map(([e, t], n) => ({
22
+ id: `header-${n}`,
23
+ name: e,
24
+ value: String(t)
25
+ }))), 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));
26
+ }, [e, t]), {
27
+ alias: n,
28
+ setAlias: r,
29
+ url: i,
30
+ setUrl: a,
31
+ connectionMode: o,
32
+ setConnectionMode: s,
33
+ protocolMode: p,
34
+ setProtocolMode: g,
35
+ customHeaders: _,
36
+ setCustomHeaders: y,
37
+ requestTimeout: b,
38
+ setRequestTimeout: x,
39
+ resetTimeoutOnProgress: S,
40
+ setResetTimeoutOnProgress: C,
41
+ maxTotalTimeout: w,
42
+ setMaxTotalTimeout: T,
43
+ proxyAddress: E,
44
+ setProxyAddress: D,
45
+ clientId: O,
46
+ setClientId: k,
47
+ clientSecret: A,
48
+ setClientSecret: j,
49
+ scope: M,
50
+ setScope: N,
51
+ buildConfig: () => {
52
+ if (!i.trim()) return null;
53
+ let e = i.trim();
54
+ try {
55
+ let t = new URL(e);
56
+ if (!(t.protocol === "http:" || t.protocol === "https:")) return h.error("Invalid URL protocol. Please use http:// or https://"), null;
57
+ } catch {
58
+ try {
59
+ let t = `https://${e}`, n = new URL(t);
60
+ if (!(n.protocol === "http:" || n.protocol === "https:")) return h.error("Invalid URL protocol. Please use http:// or https://"), null;
61
+ e = t;
62
+ } catch {
63
+ return h.error("Invalid URL format. Please enter a valid URL."), null;
64
+ }
65
+ }
66
+ let t = _.reduce((e, t) => (t.name && t.value && (e[t.name] = t.value), e), {}), r = o === "proxy" && E.trim() ? {
67
+ proxyAddress: E.trim(),
68
+ headers: t
69
+ } : void 0, a = o === "auto" && E.trim() ? {
70
+ enabled: !0,
71
+ proxyAddress: E.trim()
72
+ } : !1, s = f(O, A, M), c = Number.parseInt(b, 10), l = Number.parseInt(w, 10);
73
+ return {
74
+ url: e,
75
+ name: n.trim() || e,
76
+ transportType: "http",
77
+ connectionMode: o,
78
+ protocolNegotiation: m(p),
79
+ proxyConfig: r,
80
+ headers: Object.keys(t).length > 0 ? t : void 0,
81
+ autoProxyFallback: a,
82
+ ...s ? { oauth: s } : {},
83
+ ...Number.isFinite(c) ? { requestTimeout: c } : {},
84
+ resetTimeoutOnProgress: S === "True",
85
+ ...Number.isFinite(l) ? { maxTotalTimeout: l } : {}
86
+ };
87
+ }
88
+ };
89
+ }
90
+ //#endregion
91
+ //#region src/client/components/ConnectionSettingsTab.tsx
92
+ var b = a();
93
+ function x({ connection: e, onSave: t }) {
94
+ let a = y(e, !0), [c, l] = (0, v.useState)(!1);
95
+ return /* @__PURE__ */ (0, b.jsxs)("div", {
96
+ className: "h-full overflow-y-auto overscroll-none",
97
+ onScroll: (e) => l(e.currentTarget.scrollTop > 0),
98
+ children: [/* @__PURE__ */ (0, b.jsxs)("div", {
99
+ className: `${r(c)} flex flex-row items-center justify-between gap-2 ${i}`,
100
+ children: [/* @__PURE__ */ (0, b.jsxs)("h2", {
101
+ className: `${n} flex items-center gap-1.5`,
102
+ children: [/* @__PURE__ */ (0, b.jsx)(s, {
103
+ className: _,
104
+ "aria-hidden": !0
105
+ }), "Connection Settings"]
106
+ }), /* @__PURE__ */ (0, b.jsx)(o, {
107
+ "data-testid": "connection-form-save-button",
108
+ size: "sm",
109
+ onClick: () => {
110
+ let e = a.buildConfig();
111
+ e && t(e);
112
+ },
113
+ children: "Save"
114
+ })]
115
+ }), /* @__PURE__ */ (0, b.jsx)("div", {
116
+ className: g,
117
+ children: /* @__PURE__ */ (0, b.jsx)(p, {
118
+ alias: a.alias,
119
+ setAlias: a.setAlias,
120
+ url: a.url,
121
+ setUrl: a.setUrl,
122
+ connectionMode: a.connectionMode,
123
+ setConnectionMode: a.setConnectionMode,
124
+ protocolMode: a.protocolMode,
125
+ setProtocolMode: a.setProtocolMode,
126
+ customHeaders: a.customHeaders,
127
+ setCustomHeaders: a.setCustomHeaders,
128
+ requestTimeout: a.requestTimeout,
129
+ setRequestTimeout: a.setRequestTimeout,
130
+ resetTimeoutOnProgress: a.resetTimeoutOnProgress,
131
+ setResetTimeoutOnProgress: a.setResetTimeoutOnProgress,
132
+ maxTotalTimeout: a.maxTotalTimeout,
133
+ setMaxTotalTimeout: a.setMaxTotalTimeout,
134
+ proxyAddress: a.proxyAddress,
135
+ setProxyAddress: a.setProxyAddress,
136
+ clientId: a.clientId,
137
+ setClientId: a.setClientId,
138
+ clientSecret: a.clientSecret,
139
+ setClientSecret: a.setClientSecret,
140
+ scope: a.scope,
141
+ setScope: a.setScope,
142
+ showConnectButton: !1,
143
+ showExportButton: !1,
144
+ inlineSections: !0,
145
+ cardSections: !0
146
+ })
147
+ })]
148
+ });
149
+ }
150
+ //#endregion
151
+ export { x as ConnectionSettingsTab };
@@ -1,23 +1,24 @@
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";
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";
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";
9
- import { t as C } from "./maximize-2-CH5Lq90B.js";
10
- import { t as w } from "./square-check-big-BvwQ17Bl.js";
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";
2
+ import { a as n, n as r, r as i, sr as a, t as o } from "./input-BCpgLXU1.js";
3
+ import { n as s } from "./createLucideIcon-BONxC1L5.js";
4
+ import { t as c } from "./button-CB4uOoUV.js";
5
+ import { t as l } from "./label-A0UGV8FE.js";
6
+ import { a as u, i as d, r as f, t as p } from "./browser-DG2Z8392.js";
7
+ import { a as m, t as h } from "./JSONDisplay-BJqMz7Ny.js";
8
+ import { t as g } from "./external-link-Bo4lQxr1.js";
9
+ import { a as _, i as v, n as y, o as b, r as x, t as S } from "./shared-CJVHJhag.js";
10
+ import { t as C } from "./maximize-2-DdrB_spi.js";
11
+ import { t as w } from "./square-check-big-C_4wbfwF.js";
12
+ import { t as T } from "./x-EilKPiCX.js";
13
+ import { t as E } from "./not-found-BajFyZpp.js";
14
+ import { n as D } from "./dist-CTJnCYmk.js";
15
+ import { n as O } from "./InspectorContext-BBKCdfmK.js";
16
+ import { t as k } from "./textarea-CwmI8_uI.js";
17
+ import { t as A } from "./checkbox-kwVa4gRX.js";
17
18
  import { n as j, t as M } from "./schemaHelpers-DTV38jGq.js";
18
19
  //#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 }) {
20
+ var N = /* @__PURE__ */ e(t(), 1), P = s();
21
+ function F({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex: r, formatRelativeTime: i }) {
21
22
  return e.length === 0 ? /* @__PURE__ */ (0, P.jsx)("div", {
22
23
  className: "flex flex-1 flex-col items-center justify-center p-4 text-center",
23
24
  children: /* @__PURE__ */ (0, P.jsx)(E, {
@@ -31,17 +32,17 @@ function F({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex:
31
32
  id: `elicitation-request-${e.id}`,
32
33
  "data-testid": `elicitation-request-item-${o}`,
33
34
  isSelected: t?.id === e.id,
34
- isFocused: i === o,
35
+ isFocused: r === o,
35
36
  title: /* @__PURE__ */ (0, P.jsxs)("span", {
36
37
  className: "flex items-center gap-3",
37
- children: [e.serverName, /* @__PURE__ */ (0, P.jsx)(r, {
38
+ children: [e.serverName, /* @__PURE__ */ (0, P.jsx)(a, {
38
39
  variant: "outline",
39
40
  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
41
  children: s
41
42
  })]
42
43
  }),
43
44
  description: (() => {
44
- let t = a(e.timestamp), n = [];
45
+ let t = i(e.timestamp), n = [];
45
46
  return c && n.push("with schema"), s === "url" && n.push("external action"), t + (n.length > 0 ? ` | ${n.join(", ")}` : "");
46
47
  })(),
47
48
  onClick: () => n(e)
@@ -50,7 +51,7 @@ function F({ requests: e, selectedRequest: t, onRequestSelect: n, focusedIndex:
50
51
  }
51
52
  //#endregion
52
53
  //#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 }) {
54
+ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefix: i, fieldContainerClassName: a = "space-y-2", textareaRows: s = 4, showOuterLabelForBoolean: c = !0, emptyFallback: u }) {
54
55
  return /* @__PURE__ */ (0, P.jsx)(P.Fragment, { children: (0, N.useMemo)(() => {
55
56
  if (!("requestedSchema" in e.request)) return null;
56
57
  let d = e.request.requestedSchema;
@@ -66,7 +67,7 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
66
67
  return /* @__PURE__ */ (0, P.jsxs)("div", {
67
68
  className: a,
68
69
  children: [
69
- (m !== "boolean" || s) && /* @__PURE__ */ (0, P.jsxs)(l, {
70
+ (m !== "boolean" || c) && /* @__PURE__ */ (0, P.jsxs)(l, {
70
71
  htmlFor: w,
71
72
  children: [h, f && /* @__PURE__ */ (0, P.jsx)("span", {
72
73
  className: "text-red-500 ml-1",
@@ -87,12 +88,12 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
87
88
  }), /* @__PURE__ */ (0, P.jsxs)(l, {
88
89
  htmlFor: w,
89
90
  className: "text-sm font-normal cursor-pointer",
90
- children: [h, !s && f && /* @__PURE__ */ (0, P.jsx)("span", {
91
+ children: [h, !c && f && /* @__PURE__ */ (0, P.jsx)("span", {
91
92
  className: "text-red-500 ml-1",
92
93
  children: "*"
93
94
  })]
94
95
  })]
95
- }) : m === "number" || m === "integer" ? /* @__PURE__ */ (0, P.jsx)(c, {
96
+ }) : m === "number" || m === "integer" ? /* @__PURE__ */ (0, P.jsx)(o, {
96
97
  id: w,
97
98
  "data-testid": T,
98
99
  type: "number",
@@ -174,8 +175,8 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
174
175
  value: t[e] || "",
175
176
  onChange: (t) => n(e, t.target.value),
176
177
  placeholder: d.default || "",
177
- rows: o
178
- }) : /* @__PURE__ */ (0, P.jsx)(c, {
178
+ rows: s
179
+ }) : /* @__PURE__ */ (0, P.jsx)(o, {
179
180
  id: w,
180
181
  "data-testid": T,
181
182
  type: "text",
@@ -194,8 +195,8 @@ function I({ request: e, formData: t, onFieldChange: n, idPrefix: r, testIdPrefi
194
195
  r,
195
196
  i,
196
197
  a,
197
- o,
198
198
  s,
199
+ c,
199
200
  u
200
201
  ]) });
201
202
  }
@@ -235,7 +236,7 @@ function L(e) {
235
236
  }
236
237
  //#endregion
237
238
  //#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 }) {
239
+ function R({ request: t, onApprove: o, onReject: s, onClose: f, previewMode: p, onTogglePreview: _, isCopied: v, onCopy: y, onDownload: b, onFullscreen: x }) {
239
240
  let { formData: S, setFieldValue: w, getMissingRequiredFields: E, urlCompleted: O, setUrlCompleted: k, mode: j, isFormMode: M, isUrlMode: N } = L(t);
240
241
  return t ? /* @__PURE__ */ (0, P.jsxs)("div", {
241
242
  className: "flex flex-col h-full",
@@ -249,7 +250,7 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
249
250
  className: "font-medium text-gray-900 dark:text-gray-100",
250
251
  children: t.serverName
251
252
  }),
252
- /* @__PURE__ */ (0, P.jsx)(r, {
253
+ /* @__PURE__ */ (0, P.jsx)(a, {
253
254
  variant: "outline",
254
255
  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
256
  children: j
@@ -262,8 +263,8 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
262
263
  }), /* @__PURE__ */ (0, P.jsxs)("div", {
263
264
  className: "flex items-center gap-2",
264
265
  children: [
265
- /* @__PURE__ */ (0, P.jsxs)(a, { children: [/* @__PURE__ */ (0, P.jsx)(i, {
266
- render: /* @__PURE__ */ (0, P.jsx)(s, {
266
+ /* @__PURE__ */ (0, P.jsxs)(r, { children: [/* @__PURE__ */ (0, P.jsx)(n, {
267
+ render: /* @__PURE__ */ (0, P.jsx)(c, {
267
268
  variant: "ghost",
268
269
  size: "sm",
269
270
  onClick: y,
@@ -271,9 +272,9 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
271
272
  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
273
  }),
273
274
  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, {
275
+ }), /* @__PURE__ */ (0, P.jsx)(i, { children: "Copy request" })] }),
276
+ /* @__PURE__ */ (0, P.jsxs)(r, { children: [/* @__PURE__ */ (0, P.jsx)(n, {
277
+ render: /* @__PURE__ */ (0, P.jsx)(c, {
277
278
  variant: "ghost",
278
279
  size: "sm",
279
280
  onClick: b,
@@ -281,9 +282,9 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
281
282
  children: /* @__PURE__ */ (0, P.jsx)(m, { className: "h-4 w-4" })
282
283
  }),
283
284
  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, {
285
+ }), /* @__PURE__ */ (0, P.jsx)(i, { children: "Download request" })] }),
286
+ /* @__PURE__ */ (0, P.jsxs)(r, { children: [/* @__PURE__ */ (0, P.jsx)(n, {
287
+ render: /* @__PURE__ */ (0, P.jsx)(c, {
287
288
  variant: "ghost",
288
289
  size: "sm",
289
290
  onClick: x,
@@ -291,8 +292,8 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
291
292
  children: /* @__PURE__ */ (0, P.jsx)(C, { className: "h-4 w-4" })
292
293
  }),
293
294
  nativeButton: !0
294
- }), /* @__PURE__ */ (0, P.jsx)(o, { children: "Fullscreen" })] }),
295
- /* @__PURE__ */ (0, P.jsx)(s, {
295
+ }), /* @__PURE__ */ (0, P.jsx)(i, { children: "Fullscreen" })] }),
296
+ /* @__PURE__ */ (0, P.jsx)(c, {
296
297
  variant: "ghost",
297
298
  size: "sm",
298
299
  onClick: f,
@@ -332,7 +333,7 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
332
333
  children: [/* @__PURE__ */ (0, P.jsx)("code", {
333
334
  className: "flex-1 text-xs font-mono break-all",
334
335
  children: t.request.url
335
- }), /* @__PURE__ */ (0, P.jsxs)(s, {
336
+ }), /* @__PURE__ */ (0, P.jsxs)(c, {
336
337
  size: "sm",
337
338
  variant: "outline",
338
339
  onClick: () => {
@@ -389,7 +390,7 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
389
390
  /* @__PURE__ */ (0, P.jsxs)("div", {
390
391
  className: "flex gap-2 p-4 border-t dark:border-zinc-700",
391
392
  children: [
392
- /* @__PURE__ */ (0, P.jsx)(s, {
393
+ /* @__PURE__ */ (0, P.jsx)(c, {
393
394
  onClick: () => {
394
395
  if (t) {
395
396
  if (M) {
@@ -398,11 +399,11 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
398
399
  D.error("Missing required fields", { description: `Please fill in: ${e.join(", ")}` });
399
400
  return;
400
401
  }
401
- n(t.id, {
402
+ o(t.id, {
402
403
  action: "accept",
403
404
  content: S
404
405
  });
405
- } else N && n(t.id, { action: "accept" });
406
+ } else N && o(t.id, { action: "accept" });
406
407
  f(), import("./react-BIs9pQ3H.js").then((t) => /* @__PURE__ */ e(t.t(), 1)).then((e) => {
407
408
  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
409
  "data-testid": "elicitation-view-tool-result",
@@ -420,18 +421,18 @@ function R({ request: t, onApprove: n, onReject: c, onClose: f, previewMode: p,
420
421
  "data-testid": "elicitation-accept-button",
421
422
  children: "Accept"
422
423
  }),
423
- /* @__PURE__ */ (0, P.jsx)(s, {
424
+ /* @__PURE__ */ (0, P.jsx)(c, {
424
425
  onClick: () => {
425
- t && (n(t.id, { action: "decline" }), f());
426
+ t && (o(t.id, { action: "decline" }), f());
426
427
  },
427
428
  variant: "outline",
428
429
  className: "flex-1",
429
430
  "data-testid": "elicitation-decline-button",
430
431
  children: "Decline"
431
432
  }),
432
- /* @__PURE__ */ (0, P.jsx)(s, {
433
+ /* @__PURE__ */ (0, P.jsx)(c, {
433
434
  onClick: () => {
434
- t && (c(t.id, "User cancelled elicitation request"), f());
435
+ t && (s(t.id, "User cancelled elicitation request"), f());
435
436
  },
436
437
  variant: "outline",
437
438
  className: "flex-1",
@@ -1,13 +1,13 @@
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 { c as n, g as r, m as i, s as a, v as o } from "./button-CB4uOoUV.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) {
6
- let r = s.useRef(e), i = o(t);
7
- n(() => {
8
- r.current !== e && i(r.current);
9
- }, [e, i]), n(() => {
10
- r.current = e;
6
+ let n = s.useRef(e), i = o(t);
7
+ r(() => {
8
+ n.current !== e && i(n.current);
9
+ }, [e, i]), r(() => {
10
+ n.current = e;
11
11
  }, [e]);
12
12
  }
13
13
  //#endregion
@@ -47,51 +47,51 @@ var l = /*#__PURE__*/ function(e) {
47
47
  value: "",
48
48
  initialValue: null
49
49
  },
50
- setValidityData: i,
50
+ setValidityData: n,
51
51
  disabled: void 0,
52
52
  touched: d.touched,
53
- setTouched: i,
53
+ setTouched: n,
54
54
  dirty: d.dirty,
55
- setDirty: i,
55
+ setDirty: n,
56
56
  filled: d.filled,
57
- setFilled: i,
57
+ setFilled: n,
58
58
  focused: d.focused,
59
- setFocused: i,
59
+ setFocused: n,
60
60
  validate: () => null,
61
61
  validationMode: "onSubmit",
62
62
  validationDebounceTime: 0,
63
63
  shouldValidateOnChange: () => !1,
64
64
  state: f,
65
65
  markedDirtyRef: { current: !1 },
66
- registerFieldControl: i,
66
+ registerFieldControl: n,
67
67
  validation: {
68
68
  getValidationProps: (e, t = a) => t,
69
69
  inputRef: { current: null },
70
- registerInput: i,
70
+ registerInput: n,
71
71
  commit: async () => {},
72
- change: i
72
+ change: n
73
73
  }
74
74
  }, h = /*#__PURE__*/ s.createContext(m);
75
75
  process.env.NODE_ENV !== "production" && (h.displayName = "FieldRootContext");
76
76
  function g(e = !0) {
77
77
  let t = s.useContext(h);
78
- if (t.setValidityData === i && !e) throw Error(process.env.NODE_ENV === "production" ? r(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
78
+ if (t.setValidityData === n && !e) throw Error(process.env.NODE_ENV === "production" ? i(28) : "Base UI: FieldRootContext is missing. Field parts must be placed within <Field.Root>.");
79
79
  return t;
80
80
  }
81
81
  //#endregion
82
82
  //#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/field-register-control/useRegisterFieldControl.mjs
83
- function _(e, t, r, i, a = !0, o) {
83
+ function _(e, t, n, i, a = !0, o) {
84
84
  let { registerFieldControl: c } = g(), l = s.useRef(null);
85
- l.current ||= Symbol(), n(() => {
86
- let n = l.current;
87
- if (!(!n || !a)) return c(n, {
85
+ l.current ||= Symbol(), r(() => {
86
+ let r = l.current;
87
+ if (!(!r || !a)) return c(r, {
88
88
  controlRef: e,
89
89
  getValue: i,
90
90
  id: t,
91
91
  name: o,
92
- value: r
92
+ value: n
93
93
  }), () => {
94
- c(n, void 0);
94
+ c(r, void 0);
95
95
  };
96
96
  }, [
97
97
  e,
@@ -100,18 +100,18 @@ function _(e, t, r, i, a = !0, o) {
100
100
  t,
101
101
  o,
102
102
  c,
103
- r
103
+ n
104
104
  ]);
105
105
  }
106
106
  //#endregion
107
107
  //#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/labelable-provider/LabelableContext.mjs
108
108
  var v = /*#__PURE__*/ s.createContext({
109
109
  controlId: void 0,
110
- registerControlId: i,
110
+ registerControlId: n,
111
111
  labelId: void 0,
112
- setLabelId: i,
112
+ setLabelId: n,
113
113
  messageIds: [],
114
- setMessageIds: i,
114
+ setMessageIds: n,
115
115
  getDescriptionProps: (e) => e
116
116
  });
117
117
  process.env.NODE_ENV !== "production" && (v.displayName = "LabelableContext");
@@ -123,7 +123,7 @@ function y() {
123
123
  var b = /*#__PURE__*/ s.createContext({
124
124
  formRef: { current: { fields: /* @__PURE__ */ new Map() } },
125
125
  errors: {},
126
- clearErrors: i,
126
+ clearErrors: n,
127
127
  validationMode: "onSubmit",
128
128
  submitAttemptedRef: { current: !1 }
129
129
  });
@@ -1,5 +1,5 @@
1
1
  import { s as e, t } from "./react-BIs9pQ3H.js";
2
- import { t as n } from "./jsx-runtime-CIxvMpEo.js";
2
+ import { n } from "./createLucideIcon-BONxC1L5.js";
3
3
  //#region src/client/context/InspectorContext.tsx
4
4
  var r = /* @__PURE__ */ e(t(), 1), i = n(), a = (0, r.createContext)(void 0);
5
5
  function o({ children: e }) {
@@ -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