@mcp-use/inspector 12.0.4-canary.0 → 20.0.0-beta.0

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 (816) hide show
  1. package/README.md +39 -6
  2. package/dist/cdn/AnimatePresence-B4HhIdgq.js +393 -0
  3. package/dist/cdn/ChatTab-5ya_YTFV.js +13218 -0
  4. package/dist/cdn/CheckboxIndicator-BF2cKfbA.js +251 -0
  5. package/dist/cdn/ConnectionSettingsForm-iwNW86ZU.js +873 -0
  6. package/dist/cdn/ConnectionSettingsTab-CeK83dxn.js +145 -0
  7. package/dist/cdn/ElicitationTab-upPXq2q7.js +654 -0
  8. package/dist/cdn/FormContext-Cl51-7O7.js +135 -0
  9. package/dist/cdn/InspectorContext-DzXtgyTx.js +143 -0
  10. package/dist/cdn/JSONDisplay-D3RcyO9z.js +324 -0
  11. package/dist/cdn/ListTabHeader-8lULn-90.js +88 -0
  12. package/dist/cdn/ManufactOAuthCallback-DEM8mhWD.js +31 -0
  13. package/dist/cdn/NotificationsTab-CWopTIzT.js +290 -0
  14. package/dist/cdn/OAuthCallback-BxuOVgdb.js +58 -0
  15. package/dist/cdn/PromptsTab-Cspfnl6n.js +4400 -0
  16. package/dist/cdn/ResourcesTab-BczUMFil.js +584 -0
  17. package/dist/cdn/SamplingTab-6u5s845G.js +658 -0
  18. package/dist/cdn/ServerMetadataTab-DS0eiyyD.js +244 -0
  19. package/dist/cdn/StatusIcon-BGXOEU2u.js +66 -0
  20. package/dist/cdn/ToolsTab-CUhwP4rZ.js +2067 -0
  21. package/dist/cdn/ViewPreview-CxJc1Kht.js +237 -0
  22. package/dist/cdn/WidgetDebugContext-D4usL_MA.js +324 -0
  23. package/dist/cdn/WidgetWrapper-BJJtLqMb.js +2211 -0
  24. package/dist/cdn/apple-touch-icon.png +0 -0
  25. package/dist/cdn/basePath-B8HuhIMu.js +25 -0
  26. package/dist/cdn/bell-CGjAO_0s.js +10 -0
  27. package/dist/cdn/browser-CbQIH4w2.js +42 -0
  28. package/dist/cdn/brush-B_mKhyxG.js +17 -0
  29. package/dist/cdn/bundle-mjs-B0nmHDtp.js +1953 -0
  30. package/dist/cdn/card-DqjqAq0o.js +41 -0
  31. package/dist/cdn/cfWorker-Bxcs9rNe.js +10799 -0
  32. package/dist/cdn/checkbox-B4oUG6Rr.js +20 -0
  33. package/dist/cdn/chunk-BO2N2NFS-Cy167e0X.js +17500 -0
  34. package/dist/cdn/chunk-QUQL4437-XnDcYQEx.js +1508 -0
  35. package/dist/cdn/clock-CmUbSx_B.js +12 -0
  36. package/dist/cdn/code-V_0nf5rg.js +10 -0
  37. package/dist/cdn/createLucideIcon-C5fZZ6oB.js +38 -0
  38. package/dist/cdn/dialog-Dnl-pZsY.js +1028 -0
  39. package/dist/cdn/dist-DjXr_YO3.js +616 -0
  40. package/dist/cdn/dist-mRDqCgKU.js +2305 -0
  41. package/dist/cdn/external-link-CjmfT6rW.js +17 -0
  42. package/dist/cdn/eye-B7H96av8.js +29 -0
  43. package/dist/cdn/favicon-96x96.png +0 -0
  44. package/dist/cdn/favicon-black.svg +5 -8
  45. package/dist/cdn/favicon-white.svg +4 -7
  46. package/dist/cdn/favicon.ico +0 -0
  47. package/dist/cdn/favicon.svg +5 -0
  48. package/dist/cdn/folder-open-B3lu2rG_.js +7 -0
  49. package/dist/cdn/hash-BVQnWi7q.js +33 -0
  50. package/dist/cdn/highlighted-body-OFNGDK62-CoReNbTX.js +36 -0
  51. package/dist/cdn/history-Csw4rb44.js +17 -0
  52. package/dist/cdn/index-browser-CVUwR-Bu.js +1934 -0
  53. package/dist/cdn/info-CNiOwqkf.js +19 -0
  54. package/dist/cdn/input-BLxOA7V-.js +10215 -0
  55. package/dist/cdn/inspector-settings-layout-0VDsjeqb.js +4 -0
  56. package/dist/cdn/inspector.css +1 -2
  57. package/dist/cdn/inspector.js +10854 -133726
  58. package/dist/cdn/jsx-runtime-CIxvMpEo.js +180 -0
  59. package/dist/cdn/label-CBvG613A.js +60 -0
  60. package/dist/cdn/loader-circle-BLy9A_pp.js +7 -0
  61. package/dist/cdn/manufact-auth-0TVxpeTA.js +387 -0
  62. package/dist/cdn/maximize-2-CH5Lq90B.js +21 -0
  63. package/dist/cdn/maximize-BALCV_ep.js +21 -0
  64. package/dist/cdn/mermaid-GHXKKRXX-DgVIbk-D.js +2 -0
  65. package/dist/cdn/message-square-BnxdpJxZ.js +7 -0
  66. package/dist/cdn/not-found-BcNNsTjS.js +34 -0
  67. package/dist/cdn/pdf-CxFT9FER.js +16291 -0
  68. package/dist/cdn/play-vuZ5PLnI.js +7 -0
  69. package/dist/cdn/popover-C_SSrXT0.js +2005 -0
  70. package/dist/cdn/react-BIs9pQ3H.js +926 -0
  71. package/dist/cdn/react-yUi9mVK4.js +5411 -0
  72. package/dist/cdn/refresh-cw-BXY-Pa0U.js +21 -0
  73. package/dist/cdn/save-Tgil_AJZ.js +34 -0
  74. package/dist/cdn/schemaHelpers-DTV38jGq.js +16 -0
  75. package/dist/cdn/select-BZ_IoKxg.js +2594 -0
  76. package/dist/cdn/servers-Dm72iTpY.js +26 -0
  77. package/dist/cdn/shared-uMiV6Fx1.js +1700 -0
  78. package/dist/cdn/sheet-CerCdhxz.js +78 -0
  79. package/dist/cdn/site.webmanifest +21 -0
  80. package/dist/cdn/sparkles-BntO2rDR.js +23 -0
  81. package/dist/cdn/spinner-CWcJhIY_.js +15 -0
  82. package/dist/cdn/square-check-big-BvwQ17Bl.js +10 -0
  83. package/dist/cdn/switch-DtQOLb9R.js +664 -0
  84. package/dist/cdn/tabs-subtle-C5cy35sY.js +787 -0
  85. package/dist/cdn/telemetry-Ct6pVkM1.js +240 -0
  86. package/dist/cdn/textarea-Bj-CT7hC.js +14 -0
  87. package/dist/cdn/trash-2-RwpJY5SL.js +25 -0
  88. package/dist/cdn/useAriaLabelledBy-Bm9qHGK6.js +29 -0
  89. package/dist/cdn/useCompositeItem-CNJ6MXdi.js +26 -0
  90. package/dist/cdn/useConfig-CwxZ6Quj.js +208 -0
  91. package/dist/cdn/useHostedSession-BA39Aegc.js +153 -0
  92. package/dist/cdn/useMCPPrompts-D3_Hla_z.js +104 -0
  93. package/dist/cdn/useSavedRequests-Ci2I919u.js +51 -0
  94. package/dist/cdn/useViewHostProps-C7vjco2m.js +348 -0
  95. package/dist/cdn/web-app-manifest-192x192.png +0 -0
  96. package/dist/cdn/web-app-manifest-512x512.png +0 -0
  97. package/dist/cdn/wrench-DzGmCfnb.js +7 -0
  98. package/dist/cdn/x-C3vRQIYu.js +10 -0
  99. package/dist/cdn/zap-Mb-pbw2X.js +10 -0
  100. package/dist/cli.js +1060 -3601
  101. package/dist/client/auth/manufact-auth.d.ts +30 -0
  102. package/dist/client/auth/manufact-auth.d.ts.map +1 -0
  103. package/dist/client/chat-history/ChatHistoryHeader.d.ts +4 -0
  104. package/dist/client/chat-history/ChatHistoryHeader.d.ts.map +1 -0
  105. package/dist/client/chat-history/ChatHistoryPanel.d.ts +28 -0
  106. package/dist/client/chat-history/ChatHistoryPanel.d.ts.map +1 -0
  107. package/dist/client/chat-history/ChatHistoryRail.d.ts +5 -0
  108. package/dist/client/chat-history/ChatHistoryRail.d.ts.map +1 -0
  109. package/dist/client/chat-history/ChatList.d.ts +18 -0
  110. package/dist/client/chat-history/ChatList.d.ts.map +1 -0
  111. package/dist/client/chat-history/ChatTitleReveal.d.ts +10 -0
  112. package/dist/client/chat-history/ChatTitleReveal.d.ts.map +1 -0
  113. package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts +13 -0
  114. package/dist/client/chat-history/chat-events-to-inspector-messages.d.ts.map +1 -0
  115. package/dist/client/chat-history/chat-title.d.ts +10 -0
  116. package/dist/client/chat-history/chat-title.d.ts.map +1 -0
  117. package/dist/client/chat-history/providers/local-storage.d.ts +21 -0
  118. package/dist/client/chat-history/providers/local-storage.d.ts.map +1 -0
  119. package/dist/client/chat-history/types.d.ts +39 -0
  120. package/dist/client/chat-history/types.d.ts.map +1 -0
  121. package/dist/client/chat-history/useChatHistory.d.ts +20 -0
  122. package/dist/client/chat-history/useChatHistory.d.ts.map +1 -0
  123. package/dist/client/chat-history/useChatTitleGeneration.d.ts +17 -0
  124. package/dist/client/chat-history/useChatTitleGeneration.d.ts.map +1 -0
  125. package/dist/client/components/AddToClientDropdown.d.ts.map +1 -1
  126. package/dist/client/components/ChatTab.d.ts +28 -3
  127. package/dist/client/components/ChatTab.d.ts.map +1 -1
  128. package/dist/client/components/IframeConsole.d.ts.map +1 -1
  129. package/dist/client/components/MCPAppsDebugControls.d.ts +2 -18
  130. package/dist/client/components/MCPAppsDebugControls.d.ts.map +1 -1
  131. package/dist/client/components/PromptsTab.d.ts +1 -1
  132. package/dist/client/components/PromptsTab.d.ts.map +1 -1
  133. package/dist/client/components/ResourcesTab.d.ts +1 -1
  134. package/dist/client/components/ResourcesTab.d.ts.map +1 -1
  135. package/dist/client/components/ToolsTab.d.ts +3 -3
  136. package/dist/client/components/ToolsTab.d.ts.map +1 -1
  137. package/dist/client/components/chat/AssistantMessage.d.ts +2 -1
  138. package/dist/client/components/chat/AssistantMessage.d.ts.map +1 -1
  139. package/dist/client/components/chat/ChatHeader.d.ts +20 -2
  140. package/dist/client/components/chat/ChatHeader.d.ts.map +1 -1
  141. package/dist/client/components/chat/ChatInput.d.ts +6 -2
  142. package/dist/client/components/chat/ChatInput.d.ts.map +1 -1
  143. package/dist/client/components/chat/ChatInputArea.d.ts +31 -3
  144. package/dist/client/components/chat/ChatInputArea.d.ts.map +1 -1
  145. package/dist/client/components/chat/ChatLandingForm.d.ts +5 -42
  146. package/dist/client/components/chat/ChatLandingForm.d.ts.map +1 -1
  147. package/dist/client/components/chat/ChatScrollToBottomButton.d.ts +7 -0
  148. package/dist/client/components/chat/ChatScrollToBottomButton.d.ts.map +1 -0
  149. package/dist/client/components/chat/ChatTraceView.d.ts +7 -0
  150. package/dist/client/components/chat/ChatTraceView.d.ts.map +1 -0
  151. package/dist/client/components/chat/ConfigurationDialog.d.ts +12 -2
  152. package/dist/client/components/chat/ConfigurationDialog.d.ts.map +1 -1
  153. package/dist/client/components/chat/ConfigureEmptyState.d.ts +2 -5
  154. package/dist/client/components/chat/ConfigureEmptyState.d.ts.map +1 -1
  155. package/dist/client/components/chat/CopyButton.d.ts.map +1 -1
  156. package/dist/client/components/chat/FloatingChatElicitation.d.ts +10 -0
  157. package/dist/client/components/chat/FloatingChatElicitation.d.ts.map +1 -0
  158. package/dist/client/components/chat/MessageList.d.ts +6 -11
  159. package/dist/client/components/chat/MessageList.d.ts.map +1 -1
  160. package/dist/client/components/chat/MessageMetaActions.d.ts +7 -0
  161. package/dist/client/components/chat/MessageMetaActions.d.ts.map +1 -0
  162. package/dist/client/components/chat/PromptsDropdown.d.ts +1 -1
  163. package/dist/client/components/chat/PromptsDropdown.d.ts.map +1 -1
  164. package/dist/client/components/chat/StreamingAssistantContent.d.ts +7 -0
  165. package/dist/client/components/chat/StreamingAssistantContent.d.ts.map +1 -0
  166. package/dist/client/components/chat/SystemPromptButton.d.ts +11 -0
  167. package/dist/client/components/chat/SystemPromptButton.d.ts.map +1 -0
  168. package/dist/client/components/chat/ToolCallDisplay.d.ts.map +1 -1
  169. package/dist/client/components/chat/ToolResultRenderer.d.ts +2 -9
  170. package/dist/client/components/chat/ToolResultRenderer.d.ts.map +1 -1
  171. package/dist/client/components/chat/ToolSelector.d.ts.map +1 -1
  172. package/dist/client/components/chat/UserMessage.d.ts +2 -1
  173. package/dist/client/components/chat/UserMessage.d.ts.map +1 -1
  174. package/dist/client/components/chat/chat-bar-styles.d.ts +6 -0
  175. package/dist/client/components/chat/chat-bar-styles.d.ts.map +1 -0
  176. package/dist/client/components/chat/conversion.d.ts +1 -1
  177. package/dist/client/components/chat/conversion.d.ts.map +1 -1
  178. package/dist/client/components/chat/freeTier.d.ts +11 -0
  179. package/dist/client/components/chat/freeTier.d.ts.map +1 -1
  180. package/dist/client/components/chat/providerMeta.d.ts +10 -1
  181. package/dist/client/components/chat/providerMeta.d.ts.map +1 -1
  182. package/dist/client/components/chat/streamdown-code-slim.d.ts +4 -0
  183. package/dist/client/components/chat/streamdown-code-slim.d.ts.map +1 -0
  184. package/dist/client/components/chat/system-prompt/local-storage.d.ts +5 -0
  185. package/dist/client/components/chat/system-prompt/local-storage.d.ts.map +1 -0
  186. package/dist/client/components/chat/system-prompt/types.d.ts +8 -0
  187. package/dist/client/components/chat/system-prompt/types.d.ts.map +1 -0
  188. package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts +3 -0
  189. package/dist/client/components/chat/system-prompt/useLocalSystemPrompt.d.ts.map +1 -0
  190. package/dist/client/components/chat/system-prompt-default.d.ts +2 -0
  191. package/dist/client/components/chat/system-prompt-default.d.ts.map +1 -0
  192. package/dist/client/components/chat/trace.d.ts +84 -0
  193. package/dist/client/components/chat/trace.d.ts.map +1 -0
  194. package/dist/client/components/chat/types.d.ts +2 -1
  195. package/dist/client/components/chat/types.d.ts.map +1 -1
  196. package/dist/client/components/chat/useChatMessages.d.ts +4 -0
  197. package/dist/client/components/chat/useChatMessages.d.ts.map +1 -1
  198. package/dist/client/components/chat/useChatMessagesClientSide.d.ts +14 -2
  199. package/dist/client/components/chat/useChatMessagesClientSide.d.ts.map +1 -1
  200. package/dist/client/components/chat/useChatScrollToBottom.d.ts +13 -0
  201. package/dist/client/components/chat/useChatScrollToBottom.d.ts.map +1 -0
  202. package/dist/client/components/chat/useConfig.d.ts +2 -2
  203. package/dist/client/components/chat/useConfig.d.ts.map +1 -1
  204. package/dist/client/components/chat/useHostedChatMode.d.ts +14 -0
  205. package/dist/client/components/chat/useHostedChatMode.d.ts.map +1 -0
  206. package/dist/client/components/chat/useManagedCloudModel.d.ts +14 -0
  207. package/dist/client/components/chat/useManagedCloudModel.d.ts.map +1 -0
  208. package/dist/client/components/chat/utils.d.ts +0 -4
  209. package/dist/client/components/chat/utils.d.ts.map +1 -1
  210. package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts +12 -0
  211. package/dist/client/components/elicitation/shared/ElicitationAskUserPanel.d.ts.map +1 -0
  212. package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts +9 -0
  213. package/dist/client/components/elicitation/shared/elicitationToAskUserQuestions.d.ts.map +1 -0
  214. package/dist/client/components/prompts/PromptExecutionPanel.d.ts +1 -1
  215. package/dist/client/components/prompts/PromptExecutionPanel.d.ts.map +1 -1
  216. package/dist/client/components/prompts/PromptInputForm.d.ts +1 -1
  217. package/dist/client/components/prompts/PromptInputForm.d.ts.map +1 -1
  218. package/dist/client/components/prompts/PromptResultDisplay.d.ts +1 -1
  219. package/dist/client/components/prompts/PromptResultDisplay.d.ts.map +1 -1
  220. package/dist/client/components/prompts/PromptsList.d.ts +1 -1
  221. package/dist/client/components/prompts/PromptsList.d.ts.map +1 -1
  222. package/dist/client/components/prompts/SavedPromptsList.d.ts.map +1 -1
  223. package/dist/client/components/resources/PropsConfigDialog.d.ts +1 -1
  224. package/dist/client/components/resources/PropsConfigDialog.d.ts.map +1 -1
  225. package/dist/client/components/resources/ResourceResultDisplay.d.ts +1 -1
  226. package/dist/client/components/resources/ResourceResultDisplay.d.ts.map +1 -1
  227. package/dist/client/components/resources/ResourcesList.d.ts +1 -1
  228. package/dist/client/components/resources/ResourcesList.d.ts.map +1 -1
  229. package/dist/client/components/shared/CollapsibleJSON.d.ts +6 -0
  230. package/dist/client/components/shared/CollapsibleJSON.d.ts.map +1 -0
  231. package/dist/client/components/shared/InspectorScrollArea.d.ts +9 -0
  232. package/dist/client/components/shared/InspectorScrollArea.d.ts.map +1 -0
  233. package/dist/client/components/shared/JSONDisplay.d.ts +5 -1
  234. package/dist/client/components/shared/JSONDisplay.d.ts.map +1 -1
  235. package/dist/client/components/shared/ListItem.d.ts +1 -3
  236. package/dist/client/components/shared/ListItem.d.ts.map +1 -1
  237. package/dist/client/components/shared/ListTabHeader.d.ts +4 -1
  238. package/dist/client/components/shared/ListTabHeader.d.ts.map +1 -1
  239. package/dist/client/components/shared/MarkdownRenderer.d.ts.map +1 -1
  240. package/dist/client/components/shared/SearchTabHeader.d.ts +28 -0
  241. package/dist/client/components/shared/SearchTabHeader.d.ts.map +1 -0
  242. package/dist/client/components/shared/StatusIcon.d.ts +12 -0
  243. package/dist/client/components/shared/StatusIcon.d.ts.map +1 -0
  244. package/dist/client/components/shared/index.d.ts +4 -1
  245. package/dist/client/components/shared/index.d.ts.map +1 -1
  246. package/dist/client/components/tools/SavedRequestsList.d.ts.map +1 -1
  247. package/dist/client/components/tools/ToolExecutionPanel.d.ts +1 -1
  248. package/dist/client/components/tools/ToolExecutionPanel.d.ts.map +1 -1
  249. package/dist/client/components/tools/ToolInputForm.d.ts +1 -1
  250. package/dist/client/components/tools/ToolInputForm.d.ts.map +1 -1
  251. package/dist/client/components/tools/ToolResultDisplay.d.ts +0 -6
  252. package/dist/client/components/tools/ToolResultDisplay.d.ts.map +1 -1
  253. package/dist/client/components/tools/ToolsList.d.ts +1 -1
  254. package/dist/client/components/tools/ToolsList.d.ts.map +1 -1
  255. package/dist/client/components/tools/useToolExecution.d.ts +26 -0
  256. package/dist/client/components/tools/useToolExecution.d.ts.map +1 -0
  257. package/dist/client/components/tools/useToolsTabNavigation.d.ts +35 -0
  258. package/dist/client/components/tools/useToolsTabNavigation.d.ts.map +1 -0
  259. package/dist/client/components/ui/WidgetWrapper.d.ts +2 -2
  260. package/dist/client/components/ui/WidgetWrapper.d.ts.map +1 -1
  261. package/dist/client/components/ui/alert-dialog.d.ts +8 -5
  262. package/dist/client/components/ui/alert-dialog.d.ts.map +1 -1
  263. package/dist/client/components/ui/ask-user-questions.d.ts +80 -0
  264. package/dist/client/components/ui/ask-user-questions.d.ts.map +1 -0
  265. package/dist/client/components/ui/badge.d.ts +32 -7
  266. package/dist/client/components/ui/badge.d.ts.map +1 -1
  267. package/dist/client/components/ui/button.d.ts +31 -11
  268. package/dist/client/components/ui/button.d.ts.map +1 -1
  269. package/dist/client/components/ui/chat-message.d.ts +23 -0
  270. package/dist/client/components/ui/chat-message.d.ts.map +1 -0
  271. package/dist/client/components/ui/checkbox.d.ts +2 -3
  272. package/dist/client/components/ui/checkbox.d.ts.map +1 -1
  273. package/dist/client/components/ui/client-icons.d.ts +0 -4
  274. package/dist/client/components/ui/client-icons.d.ts.map +1 -1
  275. package/dist/client/components/ui/command.d.ts +13 -64
  276. package/dist/client/components/ui/command.d.ts.map +1 -1
  277. package/dist/client/components/ui/dialog.d.ts +36 -12
  278. package/dist/client/components/ui/dialog.d.ts.map +1 -1
  279. package/dist/client/components/ui/dropdown-menu.d.ts +17 -48
  280. package/dist/client/components/ui/dropdown-menu.d.ts.map +1 -1
  281. package/dist/client/components/ui/dropdown.d.ts +30 -0
  282. package/dist/client/components/ui/dropdown.d.ts.map +1 -0
  283. package/dist/client/components/ui/file-thumbnail.d.ts +9 -0
  284. package/dist/client/components/ui/file-thumbnail.d.ts.map +1 -0
  285. package/dist/client/components/ui/label.d.ts +1 -2
  286. package/dist/client/components/ui/label.d.ts.map +1 -1
  287. package/dist/client/components/ui/menu-item.d.ts +52 -0
  288. package/dist/client/components/ui/menu-item.d.ts.map +1 -0
  289. package/dist/client/components/ui/mesh-tab-background.d.ts +10 -0
  290. package/dist/client/components/ui/mesh-tab-background.d.ts.map +1 -0
  291. package/dist/client/components/ui/not-found.d.ts.map +1 -1
  292. package/dist/client/components/ui/popover.d.ts +4 -5
  293. package/dist/client/components/ui/popover.d.ts.map +1 -1
  294. package/dist/client/components/ui/scroll-area.d.ts +4 -0
  295. package/dist/client/components/ui/scroll-area.d.ts.map +1 -0
  296. package/dist/client/components/ui/select.d.ts +50 -9
  297. package/dist/client/components/ui/select.d.ts.map +1 -1
  298. package/dist/client/components/ui/sheet.d.ts +9 -7
  299. package/dist/client/components/ui/sheet.d.ts.map +1 -1
  300. package/dist/client/components/ui/skeleton.d.ts +4 -0
  301. package/dist/client/components/ui/skeleton.d.ts.map +1 -0
  302. package/dist/client/components/ui/spinner.d.ts +1 -1
  303. package/dist/client/components/ui/spinner.d.ts.map +1 -1
  304. package/dist/client/components/ui/switch.d.ts +19 -7
  305. package/dist/client/components/ui/switch.d.ts.map +1 -1
  306. package/dist/client/components/ui/tabs-subtle.d.ts +25 -0
  307. package/dist/client/components/ui/tabs-subtle.d.ts.map +1 -0
  308. package/dist/client/components/ui/tooltip.d.ts +41 -6
  309. package/dist/client/components/ui/tooltip.d.ts.map +1 -1
  310. package/dist/client/context/InspectorContext.d.ts +6 -10
  311. package/dist/client/context/InspectorContext.d.ts.map +1 -1
  312. package/dist/client/context/WidgetDebugContext.d.ts +2 -3
  313. package/dist/client/context/WidgetDebugContext.d.ts.map +1 -1
  314. package/dist/client/hooks/use-merge-split.d.ts +36 -0
  315. package/dist/client/hooks/use-merge-split.d.ts.map +1 -0
  316. package/dist/client/hooks/use-proximity-hover-index.d.ts +27 -0
  317. package/dist/client/hooks/use-proximity-hover-index.d.ts.map +1 -0
  318. package/dist/client/hooks/use-proximity-hover.d.ts +26 -0
  319. package/dist/client/hooks/use-proximity-hover.d.ts.map +1 -0
  320. package/dist/client/hooks/use-touch-primary.d.ts +2 -0
  321. package/dist/client/hooks/use-touch-primary.d.ts.map +1 -0
  322. package/dist/client/hooks/useHostedSession.d.ts +4 -14
  323. package/dist/client/hooks/useHostedSession.d.ts.map +1 -1
  324. package/dist/client/hooks/useMCPPrompts.d.ts +1 -1
  325. package/dist/client/hooks/useMCPPrompts.d.ts.map +1 -1
  326. package/dist/client/hooks/useMcpAppsHostContext.d.ts +2 -2
  327. package/dist/client/hooks/useMcpAppsHostContext.d.ts.map +1 -1
  328. package/dist/client/hooks/usePropsLLM.d.ts +1 -1
  329. package/dist/client/hooks/usePropsLLM.d.ts.map +1 -1
  330. package/dist/client/hooks/useSavedRequests.d.ts +6 -0
  331. package/dist/client/hooks/useSavedRequests.d.ts.map +1 -0
  332. package/dist/client/hooks/useViewHostProps.d.ts +19 -0
  333. package/dist/client/hooks/useViewHostProps.d.ts.map +1 -0
  334. package/dist/client/index.d.ts +19 -2
  335. package/dist/client/index.d.ts.map +1 -1
  336. package/dist/client/index.js +19306 -16141
  337. package/dist/client/lib/elevated.d.ts +28 -0
  338. package/dist/client/lib/elevated.d.ts.map +1 -0
  339. package/dist/client/lib/font-weight.d.ts +10 -0
  340. package/dist/client/lib/font-weight.d.ts.map +1 -0
  341. package/dist/client/lib/icon-context.d.ts +15 -0
  342. package/dist/client/lib/icon-context.d.ts.map +1 -0
  343. package/dist/client/lib/shape-context.d.ts +21 -0
  344. package/dist/client/lib/shape-context.d.ts.map +1 -0
  345. package/dist/client/lib/springs.d.ts +32 -0
  346. package/dist/client/lib/springs.d.ts.map +1 -0
  347. package/dist/client/lib/surface-classes.d.ts +2 -0
  348. package/dist/client/lib/surface-classes.d.ts.map +1 -0
  349. package/dist/client/lib/surface-context.d.ts +7 -0
  350. package/dist/client/lib/surface-context.d.ts.map +1 -0
  351. package/dist/client/lib/utils.d.ts +1 -1
  352. package/dist/client/lib/utils.d.ts.map +1 -1
  353. package/dist/client/mcp-apps/csp.d.ts +26 -0
  354. package/dist/client/mcp-apps/csp.d.ts.map +1 -0
  355. package/dist/client/mcp-apps/debug/csp-suggestions.d.ts +17 -0
  356. package/dist/client/mcp-apps/debug/csp-suggestions.d.ts.map +1 -0
  357. package/dist/client/mcp-apps/logging-transport.d.ts +13 -0
  358. package/dist/client/mcp-apps/logging-transport.d.ts.map +1 -0
  359. package/dist/client/rpc-traffic-coalesce.d.ts +7 -0
  360. package/dist/client/rpc-traffic-coalesce.d.ts.map +1 -0
  361. package/dist/client/rpc-traffic-store.d.ts +37 -0
  362. package/dist/client/rpc-traffic-store.d.ts.map +1 -0
  363. package/dist/client/telemetry/capture.d.ts +7 -0
  364. package/dist/client/telemetry/capture.d.ts.map +1 -0
  365. package/dist/client/telemetry/events.d.ts +1 -1
  366. package/dist/client/telemetry/events.d.ts.map +1 -1
  367. package/dist/client/telemetry/index.d.ts +2 -1
  368. package/dist/client/telemetry/index.d.ts.map +1 -1
  369. package/dist/client/telemetry/init.d.ts +2 -0
  370. package/dist/client/telemetry/init.d.ts.map +1 -0
  371. package/dist/client/telemetry/utils.d.ts +5 -0
  372. package/dist/client/telemetry/utils.d.ts.map +1 -1
  373. package/dist/client/types/message-content-block.d.ts +19 -0
  374. package/dist/client/types/message-content-block.d.ts.map +1 -0
  375. package/dist/client/types/pending-requests.d.ts +17 -0
  376. package/dist/client/types/pending-requests.d.ts.map +1 -0
  377. package/dist/client/utils/basePath.d.ts +34 -0
  378. package/dist/client/utils/basePath.d.ts.map +1 -0
  379. package/dist/client/utils/browser.d.ts +5 -0
  380. package/dist/client/utils/browser.d.ts.map +1 -0
  381. package/dist/client/utils/format.d.ts +4 -0
  382. package/dist/client/utils/format.d.ts.map +1 -0
  383. package/dist/client/utils/highlightJson.d.ts +11 -0
  384. package/dist/client/utils/highlightJson.d.ts.map +1 -0
  385. package/dist/client/utils/jsonUtils.d.ts +4 -0
  386. package/dist/client/utils/jsonUtils.d.ts.map +1 -1
  387. package/dist/client/utils/mcpClientUtils.d.ts.map +1 -1
  388. package/dist/client/utils/servers.d.ts +14 -0
  389. package/dist/client/utils/servers.d.ts.map +1 -0
  390. package/dist/server/cdn-shell.d.ts +18 -0
  391. package/dist/server/cdn-shell.d.ts.map +1 -0
  392. package/dist/server/cdn-shell.js +10 -0
  393. package/dist/server/chunk-5B3SXGZP.js +43 -0
  394. package/dist/server/chunk-6XWDZEFF.js +194 -0
  395. package/dist/server/chunk-ESODOPDD.js +50 -0
  396. package/dist/server/chunk-IKTZUWSX.js +0 -0
  397. package/dist/server/{chunk-57KIBVKX.js → chunk-J67FVPHF.js} +27 -26
  398. package/dist/server/chunk-K2F2AJOI.js +619 -0
  399. package/dist/server/chunk-K2V2SDQD.js +40 -0
  400. package/dist/server/{chunk-ZPHNDECP.js → chunk-THQ67TSE.js} +31 -32
  401. package/dist/server/chunk-TPHRVELX.js +130 -0
  402. package/dist/server/chunk-WFT4JHYI.js +24 -0
  403. package/dist/server/cli.js +23 -25
  404. package/dist/server/create-dev-api-app.d.ts +4 -0
  405. package/dist/server/create-dev-api-app.d.ts.map +1 -0
  406. package/dist/server/create-dev-api-app.js +11 -0
  407. package/dist/server/favicon-links.d.ts +12 -0
  408. package/dist/server/favicon-links.d.ts.map +1 -0
  409. package/dist/server/favicon-links.js +11 -0
  410. package/dist/server/favicon-static.d.ts +4 -0
  411. package/dist/server/favicon-static.d.ts.map +1 -0
  412. package/dist/server/favicon-static.js +8 -0
  413. package/dist/server/index.d.ts +3 -4
  414. package/dist/server/index.d.ts.map +1 -1
  415. package/dist/server/index.js +13 -17
  416. package/dist/server/middleware.d.ts +14 -3
  417. package/dist/server/middleware.d.ts.map +1 -1
  418. package/dist/server/middleware.js +9 -9
  419. package/dist/server/proxy/index.d.ts +3 -0
  420. package/dist/server/proxy/index.d.ts.map +1 -0
  421. package/dist/server/proxy/index.js +12 -0
  422. package/dist/server/proxy/mcp-proxy.d.ts +99 -0
  423. package/dist/server/proxy/mcp-proxy.d.ts.map +1 -0
  424. package/dist/server/proxy/mcp-proxy.js +8 -0
  425. package/dist/server/proxy/oauth-proxy.d.ts +26 -0
  426. package/dist/server/proxy/oauth-proxy.d.ts.map +1 -0
  427. package/dist/server/proxy/oauth-proxy.js +9 -0
  428. package/dist/server/proxy-routes.d.ts +16 -0
  429. package/dist/server/proxy-routes.d.ts.map +1 -0
  430. package/dist/server/proxy-routes.js +10 -0
  431. package/dist/server/rpc-log-bus.js +73 -3
  432. package/dist/server/server.d.ts +3 -8
  433. package/dist/server/server.d.ts.map +1 -1
  434. package/dist/server/server.js +15 -92
  435. package/dist/server/version.js +1 -1
  436. package/dist/server/vite-dev-api-plugin.d.ts +4 -0
  437. package/dist/server/vite-dev-api-plugin.d.ts.map +1 -0
  438. package/dist/server/vite-dev-api-plugin.js +30 -0
  439. package/dist/web/apple-touch-icon.png +0 -0
  440. package/dist/web/assets/AnimatePresence-CthXziG2.js +9 -0
  441. package/dist/web/assets/ChatTab-CiAqtqhj.js +460 -0
  442. package/dist/web/assets/ConnectionSettingsTab-CTh6MFKE.js +1 -0
  443. package/dist/web/assets/ElicitationTab-B3Eg0_Jm.js +1 -0
  444. package/dist/web/assets/FormContext-Cqc_A12u.js +1 -0
  445. package/dist/web/assets/ListTabHeader-G-nQX18m.js +1 -0
  446. package/dist/web/assets/ManufactOAuthCallback-B-tdkUA2.js +1 -0
  447. package/dist/web/assets/NotificationsTab-BgLjxuos.js +1 -0
  448. package/dist/web/assets/OAuthCallback-Bp-jLoQs.js +1 -0
  449. package/dist/web/assets/PromptsTab-CA-SZs43.js +61 -0
  450. package/dist/web/assets/ResourcesTab-DdMIW_af.js +2 -0
  451. package/dist/web/assets/SamplingTab-DjyDG01W.js +1 -0
  452. package/dist/web/assets/ServerMetadataTab-Q4PlqP_B.js +1 -0
  453. package/dist/web/assets/ToolsTab-BHk8GCmd.js +8 -0
  454. package/dist/web/assets/ViewPreview-DWtmwzCb.js +1 -0
  455. package/dist/web/assets/WidgetWrapper-B43lqbld.js +34 -0
  456. package/dist/web/assets/brush--0LobUi4.js +1 -0
  457. package/dist/web/assets/bundle-mjs-8puS6ou7.js +1 -0
  458. package/dist/web/assets/checkbox-_GzEPQic.js +1 -0
  459. package/dist/web/assets/chunk-BO2N2NFS-BdIeB5Lr.js +131 -0
  460. package/dist/web/assets/code-tME-5H6D.js +1 -0
  461. package/dist/web/assets/createLucideIcon-B3b8EU0b.js +1 -0
  462. package/dist/web/assets/dist-DQjEDTKs.js +21 -0
  463. package/dist/web/assets/highlighted-body-OFNGDK62-Dp3e1QHL.js +1 -0
  464. package/dist/web/assets/index-Bbn-6QR2.js +475 -0
  465. package/dist/web/assets/index-BjH-Qp85.css +1 -0
  466. package/dist/web/assets/input-CjmxOFr6.js +1 -0
  467. package/dist/web/assets/inspector-settings-layout-yjKRJDai.js +1 -0
  468. package/dist/web/assets/jsx-runtime-Cjj9sGSy.js +1 -0
  469. package/dist/web/assets/label-B5Q_Zr8M.js +1 -0
  470. package/dist/web/assets/maximize-2-BTT9QQU9.js +1 -0
  471. package/dist/web/assets/maximize-_O55kFcr.js +1 -0
  472. package/dist/web/assets/mermaid-GHXKKRXX-yq1lkD3x.js +1 -0
  473. package/dist/web/assets/pdf-C3cfS_Ha.js +54 -0
  474. package/dist/web/assets/react-CU_d2d5K.js +1 -0
  475. package/dist/web/assets/refresh-cw-C9wQl8_d.js +1 -0
  476. package/dist/web/assets/save-B-MsgxX9.js +1 -0
  477. package/dist/web/assets/schemaHelpers-DLNTQr_6.js +1 -0
  478. package/dist/web/assets/select-C0xlfLAa.js +1 -0
  479. package/dist/web/assets/shared-Dfwy7nyg.js +1 -0
  480. package/dist/web/assets/sheet-CRPrEqAa.js +1 -0
  481. package/dist/web/assets/sparkles-2OAsc1aP.js +1 -0
  482. package/dist/web/assets/tabs-subtle-Dxgism9f.js +1 -0
  483. package/dist/web/assets/textarea-Ci09-en6.js +1 -0
  484. package/dist/web/assets/useConfig-b1f_iVFH.js +1 -0
  485. package/dist/web/assets/useMCPPrompts-CPskz9af.js +1 -0
  486. package/dist/web/assets/useViewHostProps-BgsQ2yYl.js +1 -0
  487. package/dist/web/assets/zap-Du2Uc5pa.js +1 -0
  488. package/dist/web/favicon-96x96.png +0 -0
  489. package/dist/web/favicon-black.svg +5 -8
  490. package/dist/web/favicon-white.svg +4 -7
  491. package/dist/web/favicon.ico +0 -0
  492. package/dist/web/favicon.svg +5 -0
  493. package/dist/web/index.html +13 -20
  494. package/dist/web/site.webmanifest +21 -0
  495. package/dist/web/web-app-manifest-192x192.png +0 -0
  496. package/dist/web/web-app-manifest-512x512.png +0 -0
  497. package/package.json +29 -30
  498. package/dist/client/components/FullscreenNavbar.d.ts +0 -9
  499. package/dist/client/components/FullscreenNavbar.d.ts.map +0 -1
  500. package/dist/client/components/LoginModal.d.ts +0 -11
  501. package/dist/client/components/LoginModal.d.ts.map +0 -1
  502. package/dist/client/components/MCPAppsRenderer.d.ts +0 -53
  503. package/dist/client/components/MCPAppsRenderer.d.ts.map +0 -1
  504. package/dist/client/components/McpUIRenderer.d.ts +0 -19
  505. package/dist/client/components/McpUIRenderer.d.ts.map +0 -1
  506. package/dist/client/components/OpenAIComponentRenderer.d.ts +0 -51
  507. package/dist/client/components/OpenAIComponentRenderer.d.ts.map +0 -1
  508. package/dist/client/components/chat/InlineElicitationCard.d.ts +0 -10
  509. package/dist/client/components/chat/InlineElicitationCard.d.ts.map +0 -1
  510. package/dist/client/components/chat/MCPUIResource.d.ts +0 -11
  511. package/dist/client/components/chat/MCPUIResource.d.ts.map +0 -1
  512. package/dist/client/components/elicitation/shared/ElicitationFormFields.d.ts +0 -21
  513. package/dist/client/components/elicitation/shared/ElicitationFormFields.d.ts.map +0 -1
  514. package/dist/client/components/elicitation/shared/index.d.ts +0 -3
  515. package/dist/client/components/elicitation/shared/index.d.ts.map +0 -1
  516. package/dist/client/components/elicitation/shared/useElicitationForm.d.ts +0 -23
  517. package/dist/client/components/elicitation/shared/useElicitationForm.d.ts.map +0 -1
  518. package/dist/client/components/logging/JsonRpcLoggerView.d.ts +0 -20
  519. package/dist/client/components/logging/JsonRpcLoggerView.d.ts.map +0 -1
  520. package/dist/client/components/prompts/PromptsTabHeader.d.ts +0 -17
  521. package/dist/client/components/prompts/PromptsTabHeader.d.ts.map +0 -1
  522. package/dist/client/components/prompts/index.d.ts +0 -6
  523. package/dist/client/components/prompts/index.d.ts.map +0 -1
  524. package/dist/client/components/resources/ResourcesTabHeader.d.ts +0 -16
  525. package/dist/client/components/resources/ResourcesTabHeader.d.ts.map +0 -1
  526. package/dist/client/components/resources/index.d.ts +0 -4
  527. package/dist/client/components/resources/index.d.ts.map +0 -1
  528. package/dist/client/components/shared/RpcPanel.d.ts +0 -21
  529. package/dist/client/components/shared/RpcPanel.d.ts.map +0 -1
  530. package/dist/client/components/tools/ToolsTabHeader.d.ts +0 -17
  531. package/dist/client/components/tools/ToolsTabHeader.d.ts.map +0 -1
  532. package/dist/client/components/tools/index.d.ts +0 -7
  533. package/dist/client/components/tools/index.d.ts.map +0 -1
  534. package/dist/client/components/ui/SandboxedIframe.d.ts +0 -64
  535. package/dist/client/components/ui/SandboxedIframe.d.ts.map +0 -1
  536. package/dist/client/components/ui/aurora-background.d.ts +0 -9
  537. package/dist/client/components/ui/aurora-background.d.ts.map +0 -1
  538. package/dist/client/constants/iframe.d.ts +0 -9
  539. package/dist/client/constants/iframe.d.ts.map +0 -1
  540. package/dist/client/constants/index.d.ts +0 -7
  541. package/dist/client/constants/index.d.ts.map +0 -1
  542. package/dist/client/constants/mcp-apps.d.ts +0 -39
  543. package/dist/client/constants/mcp-apps.d.ts.map +0 -1
  544. package/dist/client/hooks/usePrismTheme.d.ts +0 -5
  545. package/dist/client/hooks/usePrismTheme.d.ts.map +0 -1
  546. package/dist/client/lib/use-sandbox-remount-generation.d.ts +0 -9
  547. package/dist/client/lib/use-sandbox-remount-generation.d.ts.map +0 -1
  548. package/dist/client/lib/widget-fullscreen.d.ts +0 -17
  549. package/dist/client/lib/widget-fullscreen.d.ts.map +0 -1
  550. package/dist/client/telemetry/telemetry.d.ts +0 -42
  551. package/dist/client/telemetry/telemetry.d.ts.map +0 -1
  552. package/dist/client/types/elicitation.d.ts +0 -9
  553. package/dist/client/types/elicitation.d.ts.map +0 -1
  554. package/dist/client/utils/clipboard.d.ts +0 -6
  555. package/dist/client/utils/clipboard.d.ts.map +0 -1
  556. package/dist/client/utils/iframeConsoleInterceptor.d.ts +0 -6
  557. package/dist/client/utils/iframeConsoleInterceptor.d.ts.map +0 -1
  558. package/dist/client/utils/widget-detection.d.ts +0 -31
  559. package/dist/client/utils/widget-detection.d.ts.map +0 -1
  560. package/dist/llm/__tests__/messageFormat.test.d.ts +0 -2
  561. package/dist/llm/__tests__/messageFormat.test.d.ts.map +0 -1
  562. package/dist/llm/__tests__/providerToolResults.test.d.ts +0 -2
  563. package/dist/llm/__tests__/providerToolResults.test.d.ts.map +0 -1
  564. package/dist/llm/__tests__/toolResultParts.test.d.ts +0 -2
  565. package/dist/llm/__tests__/toolResultParts.test.d.ts.map +0 -1
  566. package/dist/llm/messageFormat.d.ts +0 -48
  567. package/dist/llm/messageFormat.d.ts.map +0 -1
  568. package/dist/llm/ndjson.d.ts +0 -5
  569. package/dist/llm/ndjson.d.ts.map +0 -1
  570. package/dist/llm/providers/anthropic.d.ts +0 -19
  571. package/dist/llm/providers/anthropic.d.ts.map +0 -1
  572. package/dist/llm/providers/google.d.ts +0 -19
  573. package/dist/llm/providers/google.d.ts.map +0 -1
  574. package/dist/llm/providers/index.d.ts +0 -19
  575. package/dist/llm/providers/index.d.ts.map +0 -1
  576. package/dist/llm/providers/ollama/index.d.ts +0 -18
  577. package/dist/llm/providers/ollama/index.d.ts.map +0 -1
  578. package/dist/llm/providers/ollama/utils.d.ts +0 -7
  579. package/dist/llm/providers/ollama/utils.d.ts.map +0 -1
  580. package/dist/llm/providers/openai.d.ts +0 -19
  581. package/dist/llm/providers/openai.d.ts.map +0 -1
  582. package/dist/llm/schemaUtils.d.ts +0 -2
  583. package/dist/llm/schemaUtils.d.ts.map +0 -1
  584. package/dist/llm/sse.d.ts +0 -15
  585. package/dist/llm/sse.d.ts.map +0 -1
  586. package/dist/llm/toolLoop.d.ts +0 -40
  587. package/dist/llm/toolLoop.d.ts.map +0 -1
  588. package/dist/llm/toolResultParts.d.ts +0 -28
  589. package/dist/llm/toolResultParts.d.ts.map +0 -1
  590. package/dist/llm/types.d.ts +0 -102
  591. package/dist/llm/types.d.ts.map +0 -1
  592. package/dist/server/chunk-63EJEHRP.js +0 -71
  593. package/dist/server/chunk-A4VH7AIP.js +0 -738
  594. package/dist/server/chunk-CVECQ7BJ.js +0 -78
  595. package/dist/server/chunk-IDMHJUEM.js +0 -42
  596. package/dist/server/chunk-KIJYOTYZ.js +0 -322
  597. package/dist/server/chunk-PJNKFX2R.js +0 -2351
  598. package/dist/server/chunk-QQ37LGLJ.js +0 -127
  599. package/dist/server/chunk-R4ISUE7T.js +0 -164
  600. package/dist/server/chunk-UTW44YSH.js +0 -322
  601. package/dist/server/file-utils.d.ts +0 -11
  602. package/dist/server/file-utils.d.ts.map +0 -1
  603. package/dist/server/file-utils.js +0 -11
  604. package/dist/server/routes/mcp-apps.d.ts +0 -12
  605. package/dist/server/routes/mcp-apps.d.ts.map +0 -1
  606. package/dist/server/shared-routes.d.ts +0 -11
  607. package/dist/server/shared-routes.d.ts.map +0 -1
  608. package/dist/server/shared-routes.js +0 -11
  609. package/dist/server/shared-static.d.ts +0 -57
  610. package/dist/server/shared-static.d.ts.map +0 -1
  611. package/dist/server/shared-static.js +0 -11
  612. package/dist/server/shared-utils.d.ts +0 -175
  613. package/dist/server/shared-utils.d.ts.map +0 -1
  614. package/dist/server/shared-utils.js +0 -21
  615. package/dist/server/transport-wrapper.d.ts +0 -6
  616. package/dist/server/transport-wrapper.d.ts.map +0 -1
  617. package/dist/server/transport-wrapper.js +0 -68
  618. package/dist/server/tunnel.d.ts +0 -11
  619. package/dist/server/tunnel.d.ts.map +0 -1
  620. package/dist/server/tunnel.js +0 -13
  621. package/dist/web/assets/1c-D19GPo3L.js +0 -1
  622. package/dist/web/assets/abnf-BR1TaWs-.js +0 -1
  623. package/dist/web/assets/accesslog-CZxiyYuK.js +0 -1
  624. package/dist/web/assets/actionscript-BS1fMZ9M.js +0 -1
  625. package/dist/web/assets/ada-Dhy1EabM.js +0 -1
  626. package/dist/web/assets/angelscript-Gjldi7xi.js +0 -1
  627. package/dist/web/assets/apache-Cx8TUABI.js +0 -1
  628. package/dist/web/assets/applescript-JfBNOabq.js +0 -1
  629. package/dist/web/assets/arcade-E6zGzFSx.js +0 -1
  630. package/dist/web/assets/arduino-D7Y37T_-.js +0 -1
  631. package/dist/web/assets/armasm-vpTNgAzt.js +0 -1
  632. package/dist/web/assets/asciidoc-DaVECsQY.js +0 -1
  633. package/dist/web/assets/aspectj-CdRAuqVM.js +0 -1
  634. package/dist/web/assets/autohotkey-DvZQekH9.js +0 -1
  635. package/dist/web/assets/autoit-oLytjhLA.js +0 -1
  636. package/dist/web/assets/avrasm-5Cf9yIw9.js +0 -1
  637. package/dist/web/assets/awk-Bf_S2P0n.js +0 -1
  638. package/dist/web/assets/axapta-DrOS6bUw.js +0 -1
  639. package/dist/web/assets/bash-DCVWALRV.js +0 -1
  640. package/dist/web/assets/basic-D0GZ3REU.js +0 -1
  641. package/dist/web/assets/bnf-D74FvP-b.js +0 -1
  642. package/dist/web/assets/brainfuck-DwUXsIlY.js +0 -3
  643. package/dist/web/assets/c-CPGbDsng.js +0 -1
  644. package/dist/web/assets/c-like-DLj4FsHF.js +0 -1
  645. package/dist/web/assets/cal-Czm5e2Qe.js +0 -1
  646. package/dist/web/assets/capnproto-CVJ2fID7.js +0 -1
  647. package/dist/web/assets/ceylon-DR5D2yFU.js +0 -1
  648. package/dist/web/assets/clean-CkIuagdM.js +0 -1
  649. package/dist/web/assets/clojure-VwyIEQaz.js +0 -1
  650. package/dist/web/assets/clojure-repl-jCSr2ntH.js +0 -1
  651. package/dist/web/assets/cmake-D2Zl_q65.js +0 -1
  652. package/dist/web/assets/coffeescript-C7Hfrw9O.js +0 -1
  653. package/dist/web/assets/coq-DAxtVI93.js +0 -1
  654. package/dist/web/assets/core-ICctFm9I.js +0 -4
  655. package/dist/web/assets/cos-0GHB8yn1.js +0 -1
  656. package/dist/web/assets/cpp-DdlDGc99.js +0 -1
  657. package/dist/web/assets/crmsh-C0vbH3xd.js +0 -1
  658. package/dist/web/assets/crystal-BloCCkus.js +0 -1
  659. package/dist/web/assets/csharp-YhN72Cls.js +0 -1
  660. package/dist/web/assets/csp-OAeIWScz.js +0 -1
  661. package/dist/web/assets/css-D1ih01yA.js +0 -1
  662. package/dist/web/assets/d-yGrz2xEC.js +0 -1
  663. package/dist/web/assets/dart-C3qG0xpq.js +0 -1
  664. package/dist/web/assets/delphi-CvoiTamH.js +0 -1
  665. package/dist/web/assets/diff-zDaBDf86.js +0 -1
  666. package/dist/web/assets/django-DBYOwnaY.js +0 -1
  667. package/dist/web/assets/dns-BWy_Oa_w.js +0 -1
  668. package/dist/web/assets/dockerfile-Cj5YqQiP.js +0 -1
  669. package/dist/web/assets/dos-AaJBzvG4.js +0 -1
  670. package/dist/web/assets/dsconfig-BgEbyf_A.js +0 -1
  671. package/dist/web/assets/dts-z64kku76.js +0 -1
  672. package/dist/web/assets/dust-C-6seNMG.js +0 -1
  673. package/dist/web/assets/ebnf-DC6yB_8o.js +0 -1
  674. package/dist/web/assets/elixir-DVZgqY4T.js +0 -1
  675. package/dist/web/assets/elm-Css3uC5x.js +0 -1
  676. package/dist/web/assets/erb-C538Iixw.js +0 -1
  677. package/dist/web/assets/erlang-DyDPiXgX.js +0 -1
  678. package/dist/web/assets/erlang-repl-CVIWmQKC.js +0 -1
  679. package/dist/web/assets/excel-BLHu7SPw.js +0 -1
  680. package/dist/web/assets/fix-JPCm4C-u.js +0 -1
  681. package/dist/web/assets/flix-DejUTEwL.js +0 -1
  682. package/dist/web/assets/fortran-CK7Rlzc4.js +0 -1
  683. package/dist/web/assets/fsharp-ZgHvh-ZT.js +0 -1
  684. package/dist/web/assets/gams-BIBfDr3x.js +0 -1
  685. package/dist/web/assets/gauss-DttPF6Qr.js +0 -1
  686. package/dist/web/assets/gcode-BXL931mb.js +0 -1
  687. package/dist/web/assets/gherkin-B7qFZ0rb.js +0 -1
  688. package/dist/web/assets/glsl-BSKhKy8T.js +0 -1
  689. package/dist/web/assets/gml-BcbsDsfr.js +0 -1
  690. package/dist/web/assets/go-BksciLaM.js +0 -1
  691. package/dist/web/assets/golo-D2QFLiUq.js +0 -1
  692. package/dist/web/assets/gradle-BH3VzvYn.js +0 -1
  693. package/dist/web/assets/groovy-Bv9ooqes.js +0 -1
  694. package/dist/web/assets/haml-CacWyVgj.js +0 -1
  695. package/dist/web/assets/handlebars-Cpp3MUlG.js +0 -1
  696. package/dist/web/assets/haskell-BQM3-EaA.js +0 -1
  697. package/dist/web/assets/haxe-Df4nG9sq.js +0 -1
  698. package/dist/web/assets/hsp-sHEckFHE.js +0 -1
  699. package/dist/web/assets/htmlbars-shnKLbrr.js +0 -1
  700. package/dist/web/assets/http-CNJ01fsj.js +0 -1
  701. package/dist/web/assets/hy-B3oY6sFO.js +0 -1
  702. package/dist/web/assets/index-C4BqUITd.css +0 -2
  703. package/dist/web/assets/index-DB2yAAMO.js +0 -848
  704. package/dist/web/assets/inform7-CNEOVpOE.js +0 -1
  705. package/dist/web/assets/ini-q6ZmK_Ll.js +0 -1
  706. package/dist/web/assets/irpf90-CHcNzzFG.js +0 -1
  707. package/dist/web/assets/isbl-ClZ-43Pe.js +0 -1
  708. package/dist/web/assets/java-C63Whuw3.js +0 -1
  709. package/dist/web/assets/javascript-BAgDYvOy.js +0 -1
  710. package/dist/web/assets/jboss-cli-qjpm-ZOy.js +0 -1
  711. package/dist/web/assets/json-DT8at3fD.js +0 -1
  712. package/dist/web/assets/julia-B3hjMqCS.js +0 -1
  713. package/dist/web/assets/julia-repl-BWC_EUt4.js +0 -1
  714. package/dist/web/assets/kotlin-DnDhVR1g.js +0 -2
  715. package/dist/web/assets/lasso-7_9jkuWm.js +0 -1
  716. package/dist/web/assets/latex-7NcBU-sp.js +0 -1
  717. package/dist/web/assets/ldif-BKsNETfE.js +0 -1
  718. package/dist/web/assets/leaf-Dr24XSMP.js +0 -1
  719. package/dist/web/assets/less-Da52wdLB.js +0 -1
  720. package/dist/web/assets/lisp-CxEhJv_S.js +0 -1
  721. package/dist/web/assets/livecodeserver-DyLLEQa3.js +0 -1
  722. package/dist/web/assets/livescript-DuMxIrKU.js +0 -1
  723. package/dist/web/assets/llvm-M9yuLNva.js +0 -1
  724. package/dist/web/assets/lsl-BP2wVZAx.js +0 -1
  725. package/dist/web/assets/lua-B0U8rByV.js +0 -1
  726. package/dist/web/assets/makefile-DL3DBvu0.js +0 -1
  727. package/dist/web/assets/markdown-jLDab-Ns.js +0 -1
  728. package/dist/web/assets/mathematica-2lChxOtk.js +0 -1
  729. package/dist/web/assets/matlab-BbPZe1tR.js +0 -1
  730. package/dist/web/assets/maxima-BdT1lNyu.js +0 -1
  731. package/dist/web/assets/mel-CxSMh57a.js +0 -1
  732. package/dist/web/assets/mercury-e3yoICSq.js +0 -1
  733. package/dist/web/assets/mipsasm--tpOiQ5I.js +0 -1
  734. package/dist/web/assets/mizar-DN4-ri-A.js +0 -1
  735. package/dist/web/assets/module-3nkmv-tD.js +0 -4
  736. package/dist/web/assets/mojolicious-lKYGBrCw.js +0 -1
  737. package/dist/web/assets/monkey-CvEgDQbs.js +0 -1
  738. package/dist/web/assets/moonscript-BgjEcnsm.js +0 -1
  739. package/dist/web/assets/n1ql-CtsXVmUQ.js +0 -1
  740. package/dist/web/assets/nginx-C6tprI2e.js +0 -1
  741. package/dist/web/assets/nim-B3y0lYop.js +0 -1
  742. package/dist/web/assets/nix-BczA7CjW.js +0 -1
  743. package/dist/web/assets/node-repl-DGgD94SZ.js +0 -1
  744. package/dist/web/assets/nsis-C_SmguFH.js +0 -1
  745. package/dist/web/assets/objectivec-2mUTCw1f.js +0 -1
  746. package/dist/web/assets/ocaml-Cn7F37_9.js +0 -1
  747. package/dist/web/assets/openscad-CkenTSp3.js +0 -1
  748. package/dist/web/assets/oxygene-D7pQi21T.js +0 -1
  749. package/dist/web/assets/parser3--pt_dbbu.js +0 -1
  750. package/dist/web/assets/perl-C0job7Qz.js +0 -1
  751. package/dist/web/assets/pf-CfWQAyKz.js +0 -1
  752. package/dist/web/assets/pgsql-CKshFhGu.js +0 -1
  753. package/dist/web/assets/php-CNUWaUh2.js +0 -1
  754. package/dist/web/assets/php-template-BCrABFi4.js +0 -1
  755. package/dist/web/assets/plaintext-ChYroSk0.js +0 -1
  756. package/dist/web/assets/pony-Bh4zwDWt.js +0 -1
  757. package/dist/web/assets/powershell-BuAlXUWx.js +0 -1
  758. package/dist/web/assets/processing-Bb5btTkH.js +0 -1
  759. package/dist/web/assets/profile-BOk16iWu.js +0 -1
  760. package/dist/web/assets/prolog-MHE4b3nq.js +0 -1
  761. package/dist/web/assets/properties-CZfxER-Q.js +0 -1
  762. package/dist/web/assets/protobuf-C_54DU4K.js +0 -1
  763. package/dist/web/assets/puppet-Z-t3L629.js +0 -1
  764. package/dist/web/assets/purebasic-CZKfEDHv.js +0 -1
  765. package/dist/web/assets/python-BvGG_JZE.js +0 -1
  766. package/dist/web/assets/python-repl-DaUVEuDx.js +0 -1
  767. package/dist/web/assets/q-CvWis_nQ.js +0 -1
  768. package/dist/web/assets/qml-2XPxalcH.js +0 -1
  769. package/dist/web/assets/r-DTTPbRAt.js +0 -1
  770. package/dist/web/assets/reasonml-CyJw_qBZ.js +0 -1
  771. package/dist/web/assets/rib-GYMKCC1Y.js +0 -1
  772. package/dist/web/assets/roboconf-CV_6N_o7.js +0 -1
  773. package/dist/web/assets/routeros-C11OKG9F.js +0 -1
  774. package/dist/web/assets/rpc-logger-TPNV75J4-CvwEntuM.js +0 -1
  775. package/dist/web/assets/rsl-rez9LEUy.js +0 -1
  776. package/dist/web/assets/ruby-_B4GQ_7D.js +0 -1
  777. package/dist/web/assets/ruleslanguage-jRg89I6w.js +0 -1
  778. package/dist/web/assets/rust-qdkaNniS.js +0 -1
  779. package/dist/web/assets/sas-BNjYSnSg.js +0 -1
  780. package/dist/web/assets/scala-CVLdU51z.js +0 -1
  781. package/dist/web/assets/scheme-Cneig3hI.js +0 -1
  782. package/dist/web/assets/scilab-DxKCNrof.js +0 -1
  783. package/dist/web/assets/scss-DQ23aG9u.js +0 -1
  784. package/dist/web/assets/shell-BgVIEdPP.js +0 -1
  785. package/dist/web/assets/smali-KZ0XB6tA.js +0 -2
  786. package/dist/web/assets/smalltalk-CYsrtMqX.js +0 -1
  787. package/dist/web/assets/sml-CwPjhShZ.js +0 -1
  788. package/dist/web/assets/sqf-Dyh-UyfR.js +0 -1
  789. package/dist/web/assets/sql-BqwecpD_.js +0 -1
  790. package/dist/web/assets/sql_more-CUF5pbmY.js +0 -1
  791. package/dist/web/assets/stan-Ddf5JFRA.js +0 -1
  792. package/dist/web/assets/stata-XlPupwqv.js +0 -3
  793. package/dist/web/assets/step21-CucMyzRd.js +0 -1
  794. package/dist/web/assets/stylus-nj6mAxkC.js +0 -1
  795. package/dist/web/assets/subunit-CiXRLQcz.js +0 -3
  796. package/dist/web/assets/swift-CIdqZMKK.js +0 -1
  797. package/dist/web/assets/taggerscript-m6_DnfoH.js +0 -1
  798. package/dist/web/assets/tap-DbEec7Q2.js +0 -1
  799. package/dist/web/assets/tcl-n8aGQ2H6.js +0 -1
  800. package/dist/web/assets/thrift-J1PtwUUl.js +0 -1
  801. package/dist/web/assets/tp-CnbYKLYQ.js +0 -1
  802. package/dist/web/assets/twig-BEBOjZvM.js +0 -1
  803. package/dist/web/assets/typescript-BwvhN9Dw.js +0 -1
  804. package/dist/web/assets/vala-BSRZa9oU.js +0 -1
  805. package/dist/web/assets/vbnet-BhOhpmOF.js +0 -1
  806. package/dist/web/assets/vbscript-BpRpQGFw.js +0 -1
  807. package/dist/web/assets/vbscript-html-z-0GWV6e.js +0 -1
  808. package/dist/web/assets/verilog-CE-mWkfc.js +0 -1
  809. package/dist/web/assets/vhdl-hkUj0_K7.js +0 -1
  810. package/dist/web/assets/vim-XK7W3JN3.js +0 -1
  811. package/dist/web/assets/x86asm-D0cmZUWd.js +0 -1
  812. package/dist/web/assets/xl-dRKa8VcI.js +0 -1
  813. package/dist/web/assets/xml-BGrFHpDb.js +0 -1
  814. package/dist/web/assets/xquery-B7qeO1Sf.js +0 -1
  815. package/dist/web/assets/yaml-DErfnXTM.js +0 -1
  816. package/dist/web/assets/zephir-O2ApOQbM.js +0 -1
@@ -0,0 +1,180 @@
1
+ import { n as e, t } from "./react-BIs9pQ3H.js";
2
+ //#region ../../node_modules/.pnpm/react@19.2.4/node_modules/react/cjs/react-jsx-runtime.production.js
3
+ var n = /* @__PURE__ */ e(((e) => {
4
+ var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
5
+ function r(e, n, r) {
6
+ var i = null;
7
+ if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
8
+ else r = n;
9
+ return n = r.ref, {
10
+ $$typeof: t,
11
+ type: e,
12
+ key: i,
13
+ ref: n === void 0 ? null : n,
14
+ props: r
15
+ };
16
+ }
17
+ e.Fragment = n, e.jsx = r, e.jsxs = r;
18
+ })), r = /* @__PURE__ */ e(((e) => {
19
+ process.env.NODE_ENV !== "production" && (function() {
20
+ function n(e) {
21
+ if (e == null) return null;
22
+ if (typeof e == "function") return e.$$typeof === k ? null : e.displayName || e.name || null;
23
+ if (typeof e == "string") return e;
24
+ switch (e) {
25
+ case v: return "Fragment";
26
+ case b: return "Profiler";
27
+ case y: return "StrictMode";
28
+ case w: return "Suspense";
29
+ case T: return "SuspenseList";
30
+ case O: return "Activity";
31
+ }
32
+ if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
33
+ case _: return "Portal";
34
+ case S: return e.displayName || "Context";
35
+ case x: return (e._context.displayName || "Context") + ".Consumer";
36
+ case C:
37
+ var t = e.render;
38
+ return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
39
+ case E: return t = e.displayName || null, t === null ? n(e.type) || "Memo" : t;
40
+ case D:
41
+ t = e._payload, e = e._init;
42
+ try {
43
+ return n(e(t));
44
+ } catch {}
45
+ }
46
+ return null;
47
+ }
48
+ function r(e) {
49
+ return "" + e;
50
+ }
51
+ function i(e) {
52
+ try {
53
+ r(e);
54
+ var t = !1;
55
+ } catch {
56
+ t = !0;
57
+ }
58
+ if (t) {
59
+ t = console;
60
+ var n = t.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
61
+ return n.call(t, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", i), r(e);
62
+ }
63
+ }
64
+ function a(e) {
65
+ if (e === v) return "<>";
66
+ if (typeof e == "object" && e && e.$$typeof === D) return "<...>";
67
+ try {
68
+ var t = n(e);
69
+ return t ? "<" + t + ">" : "<...>";
70
+ } catch {
71
+ return "<...>";
72
+ }
73
+ }
74
+ function o() {
75
+ var e = A.A;
76
+ return e === null ? null : e.getOwner();
77
+ }
78
+ function s() {
79
+ return Error("react-stack-top-frame");
80
+ }
81
+ function c(e) {
82
+ if (j.call(e, "key")) {
83
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
84
+ if (t && t.isReactWarning) return !1;
85
+ }
86
+ return e.key !== void 0;
87
+ }
88
+ function l(e, t) {
89
+ function n() {
90
+ P || (P = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
91
+ }
92
+ n.isReactWarning = !0, Object.defineProperty(e, "key", {
93
+ get: n,
94
+ configurable: !0
95
+ });
96
+ }
97
+ function u() {
98
+ var e = n(this.type);
99
+ return F[e] || (F[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
100
+ }
101
+ function d(e, t, n, r, i, a) {
102
+ var o = n.ref;
103
+ return e = {
104
+ $$typeof: g,
105
+ type: e,
106
+ key: t,
107
+ props: n,
108
+ _owner: r
109
+ }, (o === void 0 ? null : o) === null ? Object.defineProperty(e, "ref", {
110
+ enumerable: !1,
111
+ value: null
112
+ }) : Object.defineProperty(e, "ref", {
113
+ enumerable: !1,
114
+ get: u
115
+ }), e._store = {}, Object.defineProperty(e._store, "validated", {
116
+ configurable: !1,
117
+ enumerable: !1,
118
+ writable: !0,
119
+ value: 0
120
+ }), Object.defineProperty(e, "_debugInfo", {
121
+ configurable: !1,
122
+ enumerable: !1,
123
+ writable: !0,
124
+ value: null
125
+ }), Object.defineProperty(e, "_debugStack", {
126
+ configurable: !1,
127
+ enumerable: !1,
128
+ writable: !0,
129
+ value: i
130
+ }), Object.defineProperty(e, "_debugTask", {
131
+ configurable: !1,
132
+ enumerable: !1,
133
+ writable: !0,
134
+ value: a
135
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
136
+ }
137
+ function f(e, t, r, a, s, u) {
138
+ var f = t.children;
139
+ if (f !== void 0) if (a) if (M(f)) {
140
+ for (a = 0; a < f.length; a++) p(f[a]);
141
+ Object.freeze && Object.freeze(f);
142
+ } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
143
+ else p(f);
144
+ if (j.call(t, "key")) {
145
+ f = n(e);
146
+ var m = Object.keys(t).filter(function(e) {
147
+ return e !== "key";
148
+ });
149
+ a = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", R[f + a] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", a, f, m, f), R[f + a] = !0);
150
+ }
151
+ if (f = null, r !== void 0 && (i(r), f = "" + r), c(t) && (i(t.key), f = "" + t.key), "key" in t) for (var h in r = {}, t) h !== "key" && (r[h] = t[h]);
152
+ else r = t;
153
+ return f && l(r, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), d(e, f, r, o(), s, u);
154
+ }
155
+ function p(e) {
156
+ m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === D && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
157
+ }
158
+ function m(e) {
159
+ return typeof e == "object" && !!e && e.$$typeof === g;
160
+ }
161
+ var h = t(), g = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), k = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, M = Array.isArray, N = console.createTask ? console.createTask : function() {
162
+ return null;
163
+ };
164
+ h = { react_stack_bottom_frame: function(e) {
165
+ return e();
166
+ } };
167
+ var P, F = {}, I = h.react_stack_bottom_frame.bind(h, s)(), L = N(a(s)), R = {};
168
+ e.Fragment = v, e.jsx = function(e, t, n) {
169
+ var r = 1e4 > A.recentlyCreatedOwnerStacks++;
170
+ return f(e, t, n, !1, r ? Error("react-stack-top-frame") : I, r ? N(a(e)) : L);
171
+ }, e.jsxs = function(e, t, n) {
172
+ var r = 1e4 > A.recentlyCreatedOwnerStacks++;
173
+ return f(e, t, n, !0, r ? Error("react-stack-top-frame") : I, r ? N(a(e)) : L);
174
+ };
175
+ })();
176
+ })), i = /* @__PURE__ */ e(((e, t) => {
177
+ process.env.NODE_ENV === "production" ? t.exports = n() : t.exports = r();
178
+ }));
179
+ //#endregion
180
+ export { i as t };
@@ -0,0 +1,60 @@
1
+ import { s as e, t } from "./react-BIs9pQ3H.js";
2
+ import { t as n } from "./jsx-runtime-CIxvMpEo.js";
3
+ import { Cr as r, Rr as i } from "./input-BLxOA7V-.js";
4
+ //#region ../../node_modules/.pnpm/@base-ui+utils@0.3.1_@types+react@19.2.17_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@base-ui/utils/useControlled.mjs
5
+ var a = /* @__PURE__ */ e(t(), 1);
6
+ function o({ controlled: e, default: t, name: n, state: i = "value" }) {
7
+ let { current: o } = a.useRef(e !== void 0), [c, l] = a.useState(t), u = o ? e : c;
8
+ if (process.env.NODE_ENV !== "production") {
9
+ a.useEffect(() => {
10
+ o !== (e !== void 0) && r([
11
+ `A component is changing the ${o ? "" : "un"}controlled ${i} state of ${n} to be ${o ? "un" : ""}controlled.`,
12
+ "Elements should not switch from uncontrolled to controlled (or vice versa).",
13
+ `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,
14
+ "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
15
+ "More info: https://fb.me/react-controlled-components"
16
+ ].join("\n"));
17
+ }, [
18
+ i,
19
+ n,
20
+ e
21
+ ]);
22
+ let { current: c } = a.useRef(t);
23
+ a.useEffect(() => {
24
+ !o && s(c) !== s(t) && r([`A component is changing the default ${i} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"));
25
+ }, [t]);
26
+ }
27
+ return [u, a.useCallback((e) => {
28
+ o || l(e);
29
+ }, [])];
30
+ }
31
+ function s(e) {
32
+ let t = 0, n = /* @__PURE__ */ new WeakMap();
33
+ try {
34
+ return JSON.stringify(e, function(e, r) {
35
+ if (!(e === "_owner" && this != null && typeof this == "object" && "$$typeof" in this)) {
36
+ if (typeof r == "bigint") return `__bigint__:${r}`;
37
+ if (typeof r == "object" && r) {
38
+ let e = n.get(r);
39
+ if (e !== void 0) return `__object__:${e}`;
40
+ n.set(r, t), t += 1;
41
+ }
42
+ return r;
43
+ }
44
+ }) ?? `__top__:${typeof e}`;
45
+ } catch {
46
+ return "__unserializable__";
47
+ }
48
+ }
49
+ //#endregion
50
+ //#region src/client/components/ui/label.tsx
51
+ var c = n();
52
+ function l({ className: e, ...t }) {
53
+ return /* @__PURE__ */ (0, c.jsx)("label", {
54
+ "data-slot": "label",
55
+ className: i("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
56
+ ...t
57
+ });
58
+ }
59
+ //#endregion
60
+ export { o as n, l as t };
@@ -0,0 +1,7 @@
1
+ import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
2
+ var t = e("loader-circle", [["path", {
3
+ d: "M21 12a9 9 0 1 1-6.219-8.56",
4
+ key: "13zald"
5
+ }]]);
6
+ //#endregion
7
+ export { t };
@@ -0,0 +1,387 @@
1
+ import { s as e, t } from "./react-BIs9pQ3H.js";
2
+ import { n } from "./basePath-B8HuhIMu.js";
3
+ //#region src/client/auth/manufact-auth.ts
4
+ var r = /* @__PURE__ */ e(t(), 1), i = "openid profile email offline_access", a = "mcp-inspector:manufact-auth", o = "manufact:session-changed", s = {
5
+ loaded: !0,
6
+ authorizing: !1,
7
+ accessToken: null,
8
+ user: null,
9
+ mode: null
10
+ }, c = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
11
+ function f(e) {
12
+ let t = c.get(e);
13
+ if (t) return t;
14
+ let n = {
15
+ ...s,
16
+ loaded: !1
17
+ };
18
+ return c.set(e, n), n;
19
+ }
20
+ function p() {
21
+ return typeof window > "u" ? null : window.localStorage;
22
+ }
23
+ function m(e) {
24
+ return new URL(e).origin;
25
+ }
26
+ function h(e, t) {
27
+ let n = new URL(e), r = new URL(t), i = new Set(["localhost", "127.0.0.1"]);
28
+ return i.has(n.hostname) && i.has(r.hostname) ? n.origin === r.origin : (n.hostname === "manufact.com" || n.hostname.endsWith(".manufact.com")) && (r.hostname === "manufact.com" || r.hostname.endsWith(".manufact.com"));
29
+ }
30
+ function g(e) {
31
+ let t = window.__MANUFACT_LOGIN_URL__;
32
+ if (t) return new URL(t).origin;
33
+ let n = new URL(e);
34
+ return n.hostname === "localhost" || n.hostname === "127.0.0.1" ? `${n.protocol}//${n.hostname}:3000` : `${n.protocol}//manufact.com`;
35
+ }
36
+ function _(e) {
37
+ return `${g(e)}/login`;
38
+ }
39
+ function v(e) {
40
+ return `${g(e)}/auth/embedded-sign-out`;
41
+ }
42
+ function y(e, t) {
43
+ return `${a}:${t}:${e}`;
44
+ }
45
+ function b(e) {
46
+ return p()?.getItem(y(e, "skip-session")) === "1";
47
+ }
48
+ function x(e, t) {
49
+ let n = y(e, "skip-session");
50
+ t ? p()?.setItem(n, "1") : p()?.removeItem(n);
51
+ }
52
+ function S(e) {
53
+ return `${a}:state:${e}`;
54
+ }
55
+ function C(e) {
56
+ let t = p()?.getItem(e);
57
+ if (!t) return null;
58
+ try {
59
+ return JSON.parse(t);
60
+ } catch {
61
+ return p()?.removeItem(e), null;
62
+ }
63
+ }
64
+ function w(e, t) {
65
+ p()?.setItem(e, JSON.stringify(t));
66
+ }
67
+ function T(e, t) {
68
+ c.set(e, {
69
+ ...c.get(e) ?? s,
70
+ ...t
71
+ }), l.forEach((e) => e()), window.dispatchEvent(new CustomEvent(o));
72
+ }
73
+ function E(e) {
74
+ let t = "";
75
+ return e.forEach((e) => {
76
+ t += String.fromCharCode(e);
77
+ }), btoa(t).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
78
+ }
79
+ function D(e = 32) {
80
+ let t = new Uint8Array(e);
81
+ return crypto.getRandomValues(t), E(t);
82
+ }
83
+ async function O(e) {
84
+ let t = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(e));
85
+ return E(new Uint8Array(t));
86
+ }
87
+ async function k(e) {
88
+ let t = await fetch(`${e}/api/auth/.well-known/openid-configuration`);
89
+ if (!t.ok) throw Error("Manufact OAuth discovery failed");
90
+ return await t.json();
91
+ }
92
+ function A() {
93
+ return `${window.location.origin}${n()}/auth/callback`;
94
+ }
95
+ async function j(e, t) {
96
+ let n = A(), r = y(e, "client"), a = C(r);
97
+ if (a?.client_id && a.redirect_uri === n) return a;
98
+ if (!t.registration_endpoint) throw Error("Manufact OAuth registration is unavailable");
99
+ let o = await fetch(t.registration_endpoint, {
100
+ method: "POST",
101
+ headers: { "Content-Type": "application/json" },
102
+ body: JSON.stringify({
103
+ client_name: "mcp-use Inspector",
104
+ redirect_uris: [n],
105
+ grant_types: ["authorization_code", "refresh_token"],
106
+ response_types: ["code"],
107
+ token_endpoint_auth_method: "none",
108
+ scope: i
109
+ })
110
+ });
111
+ if (!o.ok) throw Error("Could not register Inspector with Manufact");
112
+ let s = await o.json();
113
+ if (!s.client_id) throw Error("Manufact returned no OAuth client ID");
114
+ let c = {
115
+ ...s,
116
+ redirect_uri: n
117
+ };
118
+ return w(r, c), c;
119
+ }
120
+ async function M(e, t) {
121
+ let n = await fetch(e, {
122
+ method: "POST",
123
+ headers: { "Content-Type": "application/x-www-form-urlencoded" },
124
+ body: new URLSearchParams(t)
125
+ }), r = await n.json().catch(() => ({}));
126
+ if (!n.ok || !r.access_token) throw Error(r.error_description ?? "Manufact token exchange failed");
127
+ return {
128
+ access_token: r.access_token,
129
+ refresh_token: r.refresh_token,
130
+ token_type: r.token_type,
131
+ expires_at: Date.now() + (r.expires_in ?? 3600) * 1e3
132
+ };
133
+ }
134
+ async function N(e, t) {
135
+ if (!t.refresh_token) return null;
136
+ let n = d.get(e);
137
+ if (n) return n;
138
+ let r = (async () => {
139
+ try {
140
+ let n = await k(e), r = C(y(e, "client"));
141
+ if (!r?.client_id) return null;
142
+ let i = await M(n.token_endpoint, {
143
+ grant_type: "refresh_token",
144
+ refresh_token: t.refresh_token,
145
+ client_id: r.client_id
146
+ }), a = {
147
+ ...i,
148
+ refresh_token: i.refresh_token ?? t.refresh_token
149
+ };
150
+ return w(y(e, "tokens"), a), a;
151
+ } catch {
152
+ return p()?.removeItem(y(e, "tokens")), null;
153
+ } finally {
154
+ d.delete(e);
155
+ }
156
+ })();
157
+ return d.set(e, r), r;
158
+ }
159
+ async function P(e) {
160
+ let t = C(y(e, "tokens"));
161
+ return t?.access_token ? t.expires_at > Date.now() + 3e4 ? t : N(e, t) : null;
162
+ }
163
+ async function F(e, t) {
164
+ let n = await k(e);
165
+ if (!n.userinfo_endpoint) return null;
166
+ let r = await fetch(n.userinfo_endpoint, { headers: { Authorization: `Bearer ${t}` } });
167
+ if (!r.ok) return null;
168
+ let i = await r.json();
169
+ return i.sub ? {
170
+ id: i.sub,
171
+ name: i.name,
172
+ email: i.email,
173
+ image: i.picture
174
+ } : null;
175
+ }
176
+ async function I(e) {
177
+ try {
178
+ let t = await fetch(`${e}/api/auth/get-session`, { credentials: "include" });
179
+ return t.ok ? (await t.json())?.user ?? null : null;
180
+ } catch {
181
+ return null;
182
+ }
183
+ }
184
+ async function L(e) {
185
+ let t = u.get(e);
186
+ if (t) return t;
187
+ c.set(e, {
188
+ ...c.get(e) ?? s,
189
+ loaded: !1
190
+ });
191
+ let n = (async () => {
192
+ try {
193
+ let t = h(typeof window < "u" ? window.location.href : e, e), n = b(e), r = await P(e), i = r ? await F(e, r.access_token) : null;
194
+ if (i && r) {
195
+ x(e, !1), T(e, {
196
+ loaded: !0,
197
+ accessToken: r.access_token,
198
+ user: i,
199
+ mode: "oauth"
200
+ });
201
+ return;
202
+ }
203
+ r && !i && p()?.removeItem(y(e, "tokens"));
204
+ let a = t && !n ? await I(e) : null;
205
+ if (a) {
206
+ T(e, {
207
+ loaded: !0,
208
+ accessToken: null,
209
+ user: a,
210
+ mode: "session"
211
+ });
212
+ return;
213
+ }
214
+ T(e, {
215
+ loaded: !0,
216
+ accessToken: null,
217
+ user: null,
218
+ mode: null
219
+ });
220
+ } catch {
221
+ T(e, {
222
+ loaded: !0,
223
+ accessToken: null,
224
+ user: null,
225
+ mode: null
226
+ });
227
+ }
228
+ })().finally(() => u.delete(e));
229
+ return u.set(e, n), n;
230
+ }
231
+ async function R(e) {
232
+ let t = m(e);
233
+ x(t, !1);
234
+ let n = window.open("", "manufact-oauth", "width=600,height=700,resizable=yes,scrollbars=yes");
235
+ if (!n) throw Error("Allow popups to sign in with Manufact");
236
+ if (T(t, { authorizing: !0 }), h(window.location.href, t)) {
237
+ n.location.href = _(t);
238
+ let e = window.setInterval(async () => {
239
+ if (n.closed) {
240
+ window.clearInterval(e), T(t, { authorizing: !1 });
241
+ return;
242
+ }
243
+ let r = await I(t);
244
+ r && (window.clearInterval(e), n.close(), T(t, {
245
+ loaded: !0,
246
+ authorizing: !1,
247
+ accessToken: null,
248
+ user: r,
249
+ mode: "session"
250
+ }));
251
+ }, 1e3);
252
+ return;
253
+ }
254
+ try {
255
+ let e = await k(t), r = await j(t, e), a = D(64), o = D(), s = A();
256
+ w(S(o), {
257
+ authOrigin: t,
258
+ clientId: r.client_id,
259
+ redirectUri: s,
260
+ codeVerifier: a,
261
+ expiresAt: Date.now() + 600 * 1e3
262
+ });
263
+ let c = new URL(e.authorization_endpoint);
264
+ c.searchParams.set("response_type", "code"), c.searchParams.set("client_id", r.client_id), c.searchParams.set("redirect_uri", s), c.searchParams.set("scope", i), c.searchParams.set("state", o), c.searchParams.set("code_challenge", await O(a)), c.searchParams.set("code_challenge_method", "S256"), c.searchParams.set("prompt", "consent"), n.location.href = c.toString();
265
+ let l = window.setInterval(() => {
266
+ n.closed && (window.clearInterval(l), L(t).finally(() => T(t, { authorizing: !1 })));
267
+ }, 500);
268
+ } catch (e) {
269
+ throw n.close(), T(t, { authorizing: !1 }), e;
270
+ }
271
+ }
272
+ async function z(e = new URL(window.location.href)) {
273
+ let t = e.searchParams.get("state"), n = e.searchParams.get("code"), r = e.searchParams.get("error_description") ?? e.searchParams.get("error");
274
+ if (r) throw Error(r);
275
+ if (!t || !n) throw Error("Missing OAuth code or state");
276
+ let i = S(t), a = C(i);
277
+ if (p()?.removeItem(i), !a || a.expiresAt < Date.now()) throw Error("OAuth state is invalid or expired");
278
+ let o = await M((await k(a.authOrigin)).token_endpoint, {
279
+ grant_type: "authorization_code",
280
+ code: n,
281
+ redirect_uri: a.redirectUri,
282
+ client_id: a.clientId,
283
+ code_verifier: a.codeVerifier
284
+ });
285
+ w(y(a.authOrigin, "tokens"), o), x(a.authOrigin, !1);
286
+ let s = await F(a.authOrigin, o.access_token);
287
+ T(a.authOrigin, {
288
+ loaded: !0,
289
+ authorizing: !1,
290
+ accessToken: o.access_token,
291
+ user: s,
292
+ mode: "oauth"
293
+ }), window.opener?.postMessage({
294
+ type: "manufact:oauth-complete",
295
+ authOrigin: a.authOrigin
296
+ }, window.location.origin);
297
+ }
298
+ function B(e) {
299
+ let t = m(e);
300
+ p()?.removeItem(y(t, "tokens")), T(t, {
301
+ loaded: !0,
302
+ authorizing: !1,
303
+ accessToken: null,
304
+ user: null,
305
+ mode: null
306
+ });
307
+ }
308
+ async function V(e) {
309
+ let t = C(y(e, "tokens")), n = C(y(e, "client")), r = t?.refresh_token ?? t?.access_token;
310
+ if (!n?.client_id || !r) return null;
311
+ try {
312
+ let i = (await k(e)).revocation_endpoint ?? `${e}/api/auth/oauth2/revoke`;
313
+ return (await fetch(i, {
314
+ method: "POST",
315
+ headers: { "Content-Type": "application/x-www-form-urlencoded" },
316
+ body: new URLSearchParams({
317
+ client_id: n.client_id,
318
+ token: r,
319
+ token_type_hint: t?.refresh_token ? "refresh_token" : "access_token"
320
+ })
321
+ })).status;
322
+ } catch {
323
+ return -1;
324
+ }
325
+ }
326
+ async function H(e) {
327
+ let t = g(e), n = window.open(v(e), "manufact-sign-out", "width=420,height=320");
328
+ return n ? new Promise((r) => {
329
+ let i = !1, a = (e) => {
330
+ i || (i = !0, window.clearTimeout(o), window.clearInterval(c), window.removeEventListener("message", s), r(e));
331
+ }, o = window.setTimeout(() => {
332
+ a({
333
+ attempted: !0,
334
+ signOutOk: !1,
335
+ signOutStatus: null
336
+ });
337
+ }, 3e4), s = (e) => {
338
+ e.origin === t && e.data?.type === "manufact:sign-out-complete" && a({
339
+ attempted: !0,
340
+ signOutOk: !0,
341
+ signOutStatus: 200
342
+ });
343
+ }, c = window.setInterval(() => {
344
+ n.closed && I(e).then((e) => {
345
+ a({
346
+ attempted: !0,
347
+ signOutOk: !e,
348
+ signOutStatus: e ? 401 : 200
349
+ });
350
+ });
351
+ }, 500);
352
+ window.addEventListener("message", s);
353
+ }) : {
354
+ attempted: !0,
355
+ signOutOk: !1,
356
+ signOutStatus: null
357
+ };
358
+ }
359
+ async function U(e, t) {
360
+ let n = m(e), r = !!C(y(n, "tokens"))?.access_token;
361
+ t === "oauth" || r ? (await V(n), x(n, !0)) : t === "session" && (await H(n), x(n, !1)), B(e);
362
+ }
363
+ function W(e) {
364
+ let t = e ? m(e) : null, n = (0, r.useSyncExternalStore)((0, r.useCallback)((e) => (l.add(e), () => l.delete(e)), []), (0, r.useCallback)(() => t ? f(t) : s, [t]), () => s);
365
+ return (0, r.useEffect)(() => {
366
+ if (!t) return;
367
+ L(t);
368
+ let e = (e) => {
369
+ e.origin === window.location.origin && e.data?.type === "manufact:oauth-complete" && e.data.authOrigin === t && L(t).finally(() => T(t, { authorizing: !1 }));
370
+ }, n = (e) => {
371
+ e.key !== y(t, "tokens") || !e.newValue || L(t).finally(() => T(t, { authorizing: !1 }));
372
+ };
373
+ return window.addEventListener("message", e), window.addEventListener("storage", n), () => {
374
+ window.removeEventListener("message", e), window.removeEventListener("storage", n);
375
+ };
376
+ }, [t]), {
377
+ ...n,
378
+ authorize: (0, r.useCallback)(async () => {
379
+ e && await R(e);
380
+ }, [e]),
381
+ logout: (0, r.useCallback)(async () => {
382
+ e && await U(e, n.mode);
383
+ }, [e, n.mode])
384
+ };
385
+ }
386
+ //#endregion
387
+ export { W as n, z as t };
@@ -0,0 +1,21 @@
1
+ import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
2
+ var t = e("maximize-2", [
3
+ ["path", {
4
+ d: "M15 3h6v6",
5
+ key: "1q9fwt"
6
+ }],
7
+ ["path", {
8
+ d: "m21 3-7 7",
9
+ key: "1l2asr"
10
+ }],
11
+ ["path", {
12
+ d: "m3 21 7-7",
13
+ key: "tjx5ai"
14
+ }],
15
+ ["path", {
16
+ d: "M9 21H3v-6",
17
+ key: "wtvkvv"
18
+ }]
19
+ ]);
20
+ //#endregion
21
+ export { t };
@@ -0,0 +1,21 @@
1
+ import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
2
+ var t = e("maximize", [
3
+ ["path", {
4
+ d: "M8 3H5a2 2 0 0 0-2 2v3",
5
+ key: "1dcmit"
6
+ }],
7
+ ["path", {
8
+ d: "M21 8V5a2 2 0 0 0-2-2h-3",
9
+ key: "1e4gt3"
10
+ }],
11
+ ["path", {
12
+ d: "M3 16v3a2 2 0 0 0 2 2h3",
13
+ key: "wsl5sc"
14
+ }],
15
+ ["path", {
16
+ d: "M16 21h3a2 2 0 0 0 2-2v-3",
17
+ key: "18trek"
18
+ }]
19
+ ]);
20
+ //#endregion
21
+ export { t };
@@ -0,0 +1,2 @@
1
+ import { o as e } from "./chunk-BO2N2NFS-Cy167e0X.js";
2
+ export { e as Mermaid };
@@ -0,0 +1,7 @@
1
+ import { t as e } from "./createLucideIcon-C5fZZ6oB.js";
2
+ var t = e("message-square", [["path", {
3
+ d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",
4
+ key: "18887p"
5
+ }]]);
6
+ //#endregion
7
+ export { t };