decocms 4.90.0 → 4.91.1

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 (239) hide show
  1. package/dist/client/assets/{AlertCircle-B0URQgGd.js → AlertCircle-D9tn-Woh.js} +1 -1
  2. package/dist/client/assets/{AreaChart-Dx-hGqfv.js → AreaChart-CvEzY2Yt.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-CcPNkpAT.js → ArrowUp-DYsGPTFX.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-D2bw5Lw6.js → ArrowUpRight-Br8HAam7.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-o2uf3wpa.js → CheckCircle-B9wJ6LgZ.js} +1 -1
  6. package/dist/client/assets/{ChevronDown-BNIjPnvj.js → ChevronDown-D6unpfOr.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-BojPmzaA.js → ChevronRight-8fsC-kE5.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-PvPV8lxF.js → ChevronUp-vH-RG5sL.js} +1 -1
  9. package/dist/client/assets/{Copy01-BTRY-XwC.js → Copy01-DU6gVFb8.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-BHzrfCsv.js → DotsVertical-D6qJyBvX.js} +1 -1
  11. package/dist/client/assets/{Eye-TQRrToj1.js → Eye-oz8Gujoo.js} +1 -1
  12. package/dist/client/assets/{FilterLines-DN6zcl6c.js → FilterLines-DpuMGl-8.js} +1 -1
  13. package/dist/client/assets/{Globe01-B92n43Uc.js → Globe01-CjHJkqlv.js} +1 -1
  14. package/dist/client/assets/{Globe04-D7iKFord.js → Globe04-C6pdbhRA.js} +1 -1
  15. package/dist/client/assets/{HardDrive-DCmES8wO.js → HardDrive-CL7eqs0b.js} +1 -1
  16. package/dist/client/assets/{Image01-BAtXWLly.js → Image01-DUXtN8U8.js} +1 -1
  17. package/dist/client/assets/{Key01-1cVYuGX5.js → Key01-CXuP0WxY.js} +1 -1
  18. package/dist/client/assets/{LayoutLeft-BwOz9Bsk.js → LayoutLeft-BuTdsgA-.js} +1 -1
  19. package/dist/client/assets/{LinkExternal01-C8ysKQ12.js → LinkExternal01-dmXOIGAd.js} +1 -1
  20. package/dist/client/assets/{Monitor01-CxqZxGb9.js → Monitor01-C3txgXnF.js} +1 -1
  21. package/dist/client/assets/{Package-CbSVYZzS.js → Package-B2AsEcFb.js} +1 -1
  22. package/dist/client/assets/{Palette-D8YZNJjv.js → Palette-mVHHYGDH.js} +1 -1
  23. package/dist/client/assets/{Play-8-8n1yTh.js → Play-Do0DCxId.js} +1 -1
  24. package/dist/client/assets/{Plus-DU0xlr3N.js → Plus-aZYY_GNL.js} +1 -1
  25. package/dist/client/assets/{SearchLg-DAhqRaHb.js → SearchLg-z5m0zlCs.js} +1 -1
  26. package/dist/client/assets/{SearchMd-B2yxnQNH.js → SearchMd-T_TKt3hp.js} +1 -1
  27. package/dist/client/assets/{Settings02-DuZTT6Bi.js → Settings02-CbcFBBXg.js} +1 -1
  28. package/dist/client/assets/{Shield01-xQBpc_L5.js → Shield01-BnLccT5a.js} +1 -1
  29. package/dist/client/assets/{Star01-CqU1Oqdx.js → Star01-CZ_ItIUv.js} +1 -1
  30. package/dist/client/assets/{Stars01-CrKz3LKP.js → Stars01-DUEpz405.js} +1 -1
  31. package/dist/client/assets/{Stars02-CBeuyfLt.js → Stars02-BuxuzshT.js} +1 -1
  32. package/dist/client/assets/{Sun--xZWnTaM.js → Sun-BH9xT6G7.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-eo8rqjTs.js → SwitchHorizontal01-B7Yz71Ds.js} +1 -1
  34. package/dist/client/assets/{Tool01-DPJl1z7j.js → Tool01-Cj6nbfFX.js} +1 -1
  35. package/dist/client/assets/{Tool02-CBUPoyp_.js → Tool02-BZCGUAo0.js} +1 -1
  36. package/dist/client/assets/{Trash01-CIV6X3VS.js → Trash01-BB7Svk0s.js} +1 -1
  37. package/dist/client/assets/{TrendUp01-BPLw8NRL.js → TrendUp01-yoohw-CM.js} +1 -1
  38. package/dist/client/assets/{Upload01-BTji0mxL.js → Upload01-DToi-502.js} +1 -1
  39. package/dist/client/assets/{User01-CHz378m6.js → User01-gzz0PXMF.js} +1 -1
  40. package/dist/client/assets/{Users01-A7f5XOKL.js → Users01-DYezhys5.js} +1 -1
  41. package/dist/client/assets/{Users03-Cptqh2Hn.js → Users03-BAUHLljC.js} +1 -1
  42. package/dist/client/assets/{X-DoMMsRYG.js → X-CBhCVsaG.js} +1 -1
  43. package/dist/client/assets/{XCircle-Br99XnAD.js → XCircle-_ypjCh0O.js} +1 -1
  44. package/dist/client/assets/{XClose-By06I_bu.js → XClose-acz8rp1z.js} +1 -1
  45. package/dist/client/assets/{Zap-DsNmjI7C.js → Zap-H4bPTCAd.js} +1 -1
  46. package/dist/client/assets/{ZapSquare-Dq1V7J01.js → ZapSquare-CzN40QkO.js} +1 -1
  47. package/dist/client/assets/{ZoomOut-CqtPRrPx.js → ZoomOut-CINeXS9-.js} +1 -1
  48. package/dist/client/assets/{access-gate-DlQZ0dUP.js → access-gate-CHbKDmXh.js} +1 -1
  49. package/dist/client/assets/{add-section-modal-EIdXf0Xu.js → add-section-modal-DPAv0gRT.js} +1 -1
  50. package/dist/client/assets/{agent-icon-D8Fm5tYm.js → agent-icon-CjIY1zoo.js} +1 -1
  51. package/dist/client/assets/{agents-list-Dg7zR092.js → agents-list-DYf1e97s.js} +1 -1
  52. package/dist/client/assets/{ai-providers-C_Bg3HCA.js → ai-providers-7PA54Hw4.js} +1 -1
  53. package/dist/client/assets/{alert-CC1_oXQl.js → alert-BE-7gV2f.js} +1 -1
  54. package/dist/client/assets/{alert-dialog-BffhJ_7p.js → alert-dialog-CNZfGfud.js} +1 -1
  55. package/dist/client/assets/{app-editor-CgYm4eVL.js → app-editor-C1ZVK716.js} +1 -1
  56. package/dist/client/assets/{auth-B4mBZTYm.js → auth-5Od9n6t_.js} +1 -1
  57. package/dist/client/assets/{auth-catchall-DSSyXNZA.js → auth-catchall-CCW6fFZr.js} +1 -1
  58. package/dist/client/assets/{auth-entry-i4kd-NkP.js → auth-entry-C5RYfVod.js} +1 -1
  59. package/dist/client/assets/{auth-split-layout-DtETNpSL.js → auth-split-layout-Lh8Eql7c.js} +1 -1
  60. package/dist/client/assets/{authenticate-and-persist-oauth-Dpw3eku0.js → authenticate-and-persist-oauth-Cy26QYTH.js} +1 -1
  61. package/dist/client/assets/{automation-list-row-DeDkjOYB.js → automation-list-row-DfaPGVfb.js} +1 -1
  62. package/dist/client/assets/{automation-runs-s8c1tWRE.js → automation-runs-B3LaPutW.js} +1 -1
  63. package/dist/client/assets/{automations-D1pnwL1M.js → automations-BsX_PzRW.js} +1 -1
  64. package/dist/client/assets/{autosend-nd6NfSt7.js → autosend-DjRuMkVV.js} +1 -1
  65. package/dist/client/assets/{avatar-Cxj-66ni.js → avatar-2mpPsloj.js} +1 -1
  66. package/dist/client/assets/{badge-DSyzmApw.js → badge-CgOeEsUS.js} +1 -1
  67. package/dist/client/assets/{block-document-DXMHDTlQ.js → block-document-Dmav1PEf.js} +1 -1
  68. package/dist/client/assets/{brand-context-BcnkoR0d.js → brand-context-Djpwfyfn.js} +1 -1
  69. package/dist/client/assets/{buckets-DdBrgyC-.js → buckets-BrPhZ0d1.js} +1 -1
  70. package/dist/client/assets/{bulk-category-panel-BIJpn-iZ.js → bulk-category-panel-embcnFuJ.js} +1 -1
  71. package/dist/client/assets/{calendar-D1wDIBlL.js → calendar-DpdqsAsO.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-B452fzft.js → capability-load-error-DRg9gkJW.js} +1 -1
  73. package/dist/client/assets/{card-D7H9MxP9.js → card-BNmTt0nI.js} +1 -1
  74. package/dist/client/assets/{category-editor-CSy_jTtu.js → category-editor-BKEtk8dh.js} +1 -1
  75. package/dist/client/assets/{chat-context-DcmiS1aH.js → chat-context-BhpTEOvE.js} +1 -1
  76. package/dist/client/assets/{checkbox-DMjSK8lZ.js → checkbox-BtzUhv-t.js} +1 -1
  77. package/dist/client/assets/{cli-auth-success-B-6g1Tzq.js → cli-auth-success-DMkBkfoZ.js} +1 -1
  78. package/dist/client/assets/collection-detail-CaLcTD6Z.js +1 -0
  79. package/dist/client/assets/{collection-display-button-BdQvST7-.js → collection-display-button-ybV81cE3.js} +1 -1
  80. package/dist/client/assets/{collection-search-CnfkqC4S.js → collection-search-CjA3Wlh_.js} +1 -1
  81. package/dist/client/assets/{collection-table-wrapper-CdtevO_0.js → collection-table-wrapper-D8lyAlw1.js} +1 -1
  82. package/dist/client/assets/{collection-tabs-DRIUqH5V.js → collection-tabs-DBssmH_Q.js} +1 -1
  83. package/dist/client/assets/{command-OhE2G5BR.js → command-BKADsXzN.js} +1 -1
  84. package/dist/client/assets/{commerce-onboarding-BBffEECj.js → commerce-onboarding-CkAVNoGv.js} +1 -1
  85. package/dist/client/assets/{companions-core-BgnmKH6B.js → companions-core-CD8Jlf6e.js} +1 -1
  86. package/dist/client/assets/{connect-desktop-dialog-D6xzOtOk.js → connect-desktop-dialog-Deh18Nyb.js} +1 -1
  87. package/dist/client/assets/{connection-card-BXJkPT-6.js → connection-card-CCNh_aB_.js} +1 -1
  88. package/dist/client/assets/{connection-detail-DXv_wt3b.js → connection-detail-DwKxpY8J.js} +1 -1
  89. package/dist/client/assets/{connection-form-helpers-dtgDs3bL.js → connection-form-helpers-337Op2tm.js} +1 -1
  90. package/dist/client/assets/{connections-wuzO_CYF.js → connections-BJJB7QUM.js} +1 -1
  91. package/dist/client/assets/{decopilot-sse-pool-Do0EBPg6.js → decopilot-sse-pool-CXNyQJkl.js} +1 -1
  92. package/dist/client/assets/{dialog-DV6wzW_l.js → dialog-bzLVaJt6.js} +1 -1
  93. package/dist/client/assets/{domain-settings-CoV3rLv2.js → domain-settings-DLHfzLcr.js} +1 -1
  94. package/dist/client/assets/{drawer-BMeTlfMj.js → drawer-DneRIdVS.js} +1 -1
  95. package/dist/client/assets/{dropdown-menu-C_gaW3LP.js → dropdown-menu-CG3hlKTK.js} +1 -1
  96. package/dist/client/assets/{empty-state-r3Ua2HeC.js → empty-state-B2QkdkYB.js} +1 -1
  97. package/dist/client/assets/{extract-connection-data-BFYmcR-x.js → extract-connection-data-BvXaEFOA.js} +1 -1
  98. package/dist/client/assets/{file-explorer-BbUwC6n6.js → file-explorer-DvWtgiB7.js} +1 -1
  99. package/dist/client/assets/{file-type-icon-v-Z0agLN.js → file-type-icon-Bk09iIYM.js} +1 -1
  100. package/dist/client/assets/{files-CqB5MsDt.js → files-CI0uXUWX.js} +1 -1
  101. package/dist/client/assets/{form-Bf1mCLCM.js → form-3rvAFky4.js} +1 -1
  102. package/dist/client/assets/{general-C-02zJNf.js → general-D3futh_5.js} +1 -1
  103. package/dist/client/assets/{github-repo-picker-Wq9R0m-7.js → github-repo-picker-BIR2SPU0.js} +1 -1
  104. package/dist/client/assets/{hooks-DzO3IVwA.js → hooks-BwvtlS77.js} +1 -1
  105. package/dist/client/assets/{index-BoqZq5yc.js → index-B-WGav8V.js} +1 -1
  106. package/dist/client/assets/{index-BpKHjnpA.js → index-B0x_VY7_.js} +1 -1
  107. package/dist/client/assets/{index-ZxxPztil.js → index-BH5Okqtj.js} +1 -1
  108. package/dist/client/assets/{index-D3VfQcL7.js → index-CAr_G1ta.js} +1 -1
  109. package/dist/client/assets/{index-BTK5hGZP.js → index-CId2x1iT.js} +6 -6
  110. package/dist/client/assets/{index-e4E7qYRG.js → index-CaND_uxG.js} +5 -5
  111. package/dist/client/assets/{index--9j6P9bM.js → index-CkmqGbNQ.js} +1 -1
  112. package/dist/client/assets/index-Cnxkx0iV.js +1 -0
  113. package/dist/client/assets/{index-BsWyF3Nu.js → index-DFtYqHg-.js} +2 -2
  114. package/dist/client/assets/{index-SWTxJVo3.js → index-DQkzQrcP.js} +1 -1
  115. package/dist/client/assets/{index-8s5nz1GZ.js → index-DdkgjjRD.js} +3 -3
  116. package/dist/client/assets/index-DxTnZ0Oo.css +1 -0
  117. package/dist/client/assets/{index-Bu-YK2jZ.js → index-DxitaEK6.js} +1 -1
  118. package/dist/client/assets/{index-B3nGIiNR.js → index-k83QdG48.js} +1 -1
  119. package/dist/client/assets/{index-DVSaKuSk.js → index-lCwAJPoB.js} +2 -2
  120. package/dist/client/assets/{index-redirect-QI5CM6GE.js → index-redirect-C_sYXG6z.js} +1 -1
  121. package/dist/client/assets/{input-DdvT4oFx.js → input-BeG8aMWb.js} +1 -1
  122. package/dist/client/assets/{integration-icon-DRWJ2a2r.js → integration-icon--pzfJRRr.js} +1 -1
  123. package/dist/client/assets/{invite-member-dialog-CBlNb3mw.js → invite-member-dialog-CFpgxvAy.js} +1 -1
  124. package/dist/client/assets/{label-NOuCbhAn.js → label-DLqwqzsr.js} +1 -1
  125. package/dist/client/assets/{layout-BejZT_vF.js → layout-Dh-H1Cqq.js} +1 -1
  126. package/dist/client/assets/{login-BDEQQcKA.js → login-DKMg1MiD.js} +1 -1
  127. package/dist/client/assets/{mcp-oauth-D5MXhCB5.js → mcp-oauth-CsehcNYQ.js} +1 -1
  128. package/dist/client/assets/{members-DPYJQ0wF.js → members-CwjUly9n.js} +1 -1
  129. package/dist/client/assets/{monaco-editor-CQbHR17m.js → monaco-editor-CqdWvrDh.js} +1 -1
  130. package/dist/client/assets/{monitoring-stats-row-BtTrEMmS.js → monitoring-stats-row-6OYjLSh4.js} +1 -1
  131. package/dist/client/assets/{multi-select-DQRzD5eQ.js → multi-select-Bmp8vq5H.js} +1 -1
  132. package/dist/client/assets/{oauth-callback-B_ZDwcVk.js → oauth-callback-D5UnokHB.js} +1 -1
  133. package/dist/client/assets/{oauth-callback-ai-provider-Dm1OXo7k.js → oauth-callback-ai-provider-DUnLquDt.js} +1 -1
  134. package/dist/client/assets/{onboarding-TrjwvrBw.js → onboarding-DOZ1sSgP.js} +1 -1
  135. package/dist/client/assets/{org-install-P7AxoLR8.js → org-install-CCFDsX2M.js} +1 -1
  136. package/dist/client/assets/{org-layout-BwVftCmQ.js → org-layout-BCN2m8u-.js} +1 -1
  137. package/dist/client/assets/{organization-choice-Dsn24fVB.js → organization-choice-CgeIJNEi.js} +1 -1
  138. package/dist/client/assets/{orgs-CN9Puf3O.js → orgs-i-2o-D2A.js} +1 -1
  139. package/dist/client/assets/{page-seo-form-AWATSby2.js → page-seo-form-B2d5awAc.js} +1 -1
  140. package/dist/client/assets/page-seo-sheet-B3X5JL_M.js +1 -0
  141. package/dist/client/assets/{popover-CAhKlVf9.js → popover-BeCF60OF.js} +1 -1
  142. package/dist/client/assets/{post-editor-Csgf7ki7.js → post-editor-C9U1p1KR.js} +1 -1
  143. package/dist/client/assets/{primitives-CX-hU7KU.js → primitives-CYTXaXFJ.js} +1 -1
  144. package/dist/client/assets/{profile-BEkaz-GQ.js → profile-K1Bw-wfo.js} +1 -1
  145. package/dist/client/assets/project-app-view-B4Hi8OPQ.js +1 -0
  146. package/dist/client/assets/record-editor-Dhu00xxH.js +1 -0
  147. package/dist/client/assets/redirect-editor-CTBxKs5d.js +1 -0
  148. package/dist/client/assets/registry-EzqYdryU.js +2 -0
  149. package/dist/client/assets/registry-layout-BxliwQX_.js +27 -0
  150. package/dist/client/assets/{reports-DI6BcSyM.js → reports-P72pe4Az.js} +1 -1
  151. package/dist/client/assets/{require-capability-DN-a_DIB.js → require-capability-D6Da5iZs.js} +1 -1
  152. package/dist/client/assets/{required-auth-layout-DN4Wjshy.js → required-auth-layout-Dg4Aekek.js} +1 -1
  153. package/dist/client/assets/{reset-password-CDOtqEeQ.js → reset-password-eZAFc6CJ.js} +1 -1
  154. package/dist/client/assets/{roles-PrOPvs2-.js → roles-CNTeWgR0.js} +1 -1
  155. package/dist/client/assets/{search-input-alvUaxMK.js → search-input-PNFh7cDe.js} +1 -1
  156. package/dist/client/assets/{secrets--y-HaPrF.js → secrets-hJzBO1WQ.js} +1 -1
  157. package/dist/client/assets/{sections-editor-qn31Ya7F.js → sections-editor-CYoucoKZ.js} +1 -1
  158. package/dist/client/assets/{select-XCaY2RuM.js → select-B9wyd5b0.js} +1 -1
  159. package/dist/client/assets/{select-model-B5tydj-K.js → select-model-Ux1pEFwm.js} +1 -1
  160. package/dist/client/assets/{self-tool-result-BlSax-kV.js → self-tool-result-9RccBl_4.js} +1 -1
  161. package/dist/client/assets/{seo-editor-qL1Whfxr.js → seo-editor-COae0t7q.js} +1 -1
  162. package/dist/client/assets/{settings-layout-Ckn5w25R.js → settings-layout-BDvfTmf6.js} +1 -1
  163. package/dist/client/assets/{settings-section-jGSJ0WMF.js → settings-section-Bk9aGpP7.js} +1 -1
  164. package/dist/client/assets/{shell-controls-BVJWCW3Y.js → shell-controls-BE5vaTy3.js} +1 -1
  165. package/dist/client/assets/shell-layout-MbS12NHE.js +1 -0
  166. package/dist/client/assets/{sidebar-DJyr4LaE.js → sidebar-zFP0ijUl.js} +1 -1
  167. package/dist/client/assets/{skeleton-CPQ2mAgV.js → skeleton-rCXVzRc6.js} +1 -1
  168. package/dist/client/assets/{sso-DM_JX1px.js → sso-CMk_Vv63.js} +1 -1
  169. package/dist/client/assets/{store-CAG21TlC.js → store-DjK5AmwE.js} +1 -1
  170. package/dist/client/assets/store-registry-BUfMXWdR.js +2 -0
  171. package/dist/client/assets/{studio-tools-bpvT2WVs.js → studio-tools-D7FdkK0t.js} +1 -1
  172. package/dist/client/assets/{switch-uvTTYTZa.js → switch-BgZEM-CU.js} +1 -1
  173. package/dist/client/assets/{table-BAl0-wJs.js → table-D0ujpI9o.js} +1 -1
  174. package/dist/client/assets/{tabs-Cna1qPC4.js → tabs-CznNPjqh.js} +1 -1
  175. package/dist/client/assets/{textarea-DuNE-Cm2.js → textarea-DTgWs-0T.js} +1 -1
  176. package/dist/client/assets/{toggle-group-BesyXd7e.js → toggle-group-C6oUwO6B.js} +1 -1
  177. package/dist/client/assets/{toolbar-icon-button-Ds2YleaT.js → toolbar-icon-button-ByNrwIhF.js} +1 -1
  178. package/dist/client/assets/{toolbar-1EZfYNtV.js → toolbar-wyRg_7Rb.js} +1 -1
  179. package/dist/client/assets/{tooltip-BEYSB6_U.js → tooltip-BqUdyLV7.js} +1 -1
  180. package/dist/client/assets/{use-ai-providers-CMVm57gp.js → use-ai-providers-CzFYUbLG.js} +1 -1
  181. package/dist/client/assets/{use-automations-CDQHZlaz.js → use-automations-yeSdy4pv.js} +1 -1
  182. package/dist/client/assets/{use-autosave-BDtDtAGq.js → use-autosave-Bj9k9EbD.js} +1 -1
  183. package/dist/client/assets/{use-capability-BO7tWRH0.js → use-capability-Dj6neF4z.js} +1 -1
  184. package/dist/client/assets/{use-clock-tick-ZW6OdOh-.js → use-clock-tick-DPs42asb.js} +1 -1
  185. package/dist/client/assets/{use-collections-DzQsQfCo.js → use-collections-Ceifv2vB.js} +1 -1
  186. package/dist/client/assets/{use-connection-C8o3isYh.js → use-connection-BVaYIIjq.js} +1 -1
  187. package/dist/client/assets/{use-copy-BcbxJz1l.js → use-copy-BbwXC44w.js} +1 -1
  188. package/dist/client/assets/{use-create-virtual-mcp-C5LGKLfr.js → use-create-virtual-mcp-Dj3IjDYy.js} +1 -1
  189. package/dist/client/assets/{use-debounced-autosave-CYrhre1r.js → use-debounced-autosave-Bu8WmQTq.js} +1 -1
  190. package/dist/client/assets/{use-debounced-value-DkdwFP-N.js → use-debounced-value-z9kMZMkY.js} +1 -1
  191. package/dist/client/assets/{use-deco-credits-D4soViX_.js → use-deco-credits-CNOY6Dcr.js} +1 -1
  192. package/dist/client/assets/{use-decopilot-events-Brp2zRko.js → use-decopilot-events-i9CtEJT2.js} +1 -1
  193. package/dist/client/assets/{use-delete-connection-BRVf1fw-.js → use-delete-connection-5u8nJbco.js} +1 -1
  194. package/dist/client/assets/{use-deployment-admin-Br8h7Bky.js → use-deployment-admin-DX2GA9ZC.js} +1 -1
  195. package/dist/client/assets/{use-file-configs-DiCpgKMc.js → use-file-configs-BUhoF-RK.js} +1 -1
  196. package/dist/client/assets/{use-infinite-scroll-BlCvGIWj.js → use-infinite-scroll-oy43Ne-d.js} +1 -1
  197. package/dist/client/assets/{use-join-requests-HaKUFXXR.js → use-join-requests-qoBxK8xT.js} +1 -1
  198. package/dist/client/assets/{use-mcp-auth-status-CndpvL7p.js → use-mcp-auth-status-CJaGrNf9.js} +1 -1
  199. package/dist/client/assets/{use-mcp-client-12oCENzi.js → use-mcp-client-BKIAMXNj.js} +1 -1
  200. package/dist/client/assets/{use-mcp-tools-DnE0k3F3.js → use-mcp-tools-JaBAd0Nq.js} +1 -1
  201. package/dist/client/assets/{use-members-nBm0U6j8.js → use-members-Fy15d24k.js} +1 -1
  202. package/dist/client/assets/{use-mobile-DayAwrkC.js → use-mobile-DIzVPTLS.js} +1 -1
  203. package/dist/client/assets/{use-navigate-to-agent-BsFkQXFv.js → use-navigate-to-agent-D7llNgP7.js} +1 -1
  204. package/dist/client/assets/{use-org-auth-client-DZCRi5OY.js → use-org-auth-client-BTbKPomF.js} +1 -1
  205. package/dist/client/assets/{use-org-sso-Dd-6OVA0.js → use-org-sso-BQ8mS2C4.js} +1 -1
  206. package/dist/client/assets/{use-organization-roles--YSPaHir.js → use-organization-roles-Cs1nVIPc.js} +1 -1
  207. package/dist/client/assets/{use-organization-settings-CncY7EWt.js → use-organization-settings-diAvCcCN.js} +1 -1
  208. package/dist/client/assets/{use-registry-app-B-Mbm9QR.js → use-registry-app-DOKS_bui.js} +1 -1
  209. package/dist/client/assets/{use-registry-connections-DgBLdllo.js → use-registry-connections-DFNDdQeV.js} +1 -1
  210. package/dist/client/assets/{use-secrets-BVFAq9nK.js → use-secrets-CBd6vseb.js} +1 -1
  211. package/dist/client/assets/{use-status-sounds-CnGuhDhm.js → use-status-sounds-4irjan7Q.js} +1 -1
  212. package/dist/client/assets/use-t-CZX2q4XY.js +1 -0
  213. package/dist/client/assets/{use-view-mode-_OQdnLwY.js → use-view-mode-AACw6Ups.js} +1 -1
  214. package/dist/client/assets/{use-virtual-mcp-C-ISLlF9.js → use-virtual-mcp-Ckh_Rlak.js} +1 -1
  215. package/dist/client/assets/useInfiniteQuery-BMkKURk3.js +1 -0
  216. package/dist/client/assets/{useRouterState-_dw9xY9x.js → useRouterState-DznwbRux.js} +1 -1
  217. package/dist/client/assets/useSuspenseInfiniteQuery-WRR81GfF.js +1 -0
  218. package/dist/client/assets/{users-CsUVCZWg.js → users-D8xewmqi.js} +1 -1
  219. package/dist/client/assets/variant-calendar-klsSV1GY.js +1 -0
  220. package/dist/client/assets/{view-mode-toggle-VqwSnJy7.js → view-mode-toggle-vCPHZfLW.js} +1 -1
  221. package/dist/client/index.html +2 -2
  222. package/dist/server/cli.js +2 -2
  223. package/dist/server/server.js +2 -2
  224. package/package.json +1 -1
  225. package/dist/client/assets/collection-detail-r04peAwE.js +0 -1
  226. package/dist/client/assets/index-BtiM-Rn6.css +0 -1
  227. package/dist/client/assets/index-tfZhXx_G.js +0 -1
  228. package/dist/client/assets/page-seo-sheet-C--QscJo.js +0 -1
  229. package/dist/client/assets/project-app-view-wVhZVQFC.js +0 -1
  230. package/dist/client/assets/record-editor-CR_f_LeJ.js +0 -1
  231. package/dist/client/assets/redirect-editor-vlgwE56S.js +0 -1
  232. package/dist/client/assets/registry-B7Fw5COb.js +0 -2
  233. package/dist/client/assets/registry-layout-Dn15kyZf.js +0 -27
  234. package/dist/client/assets/shell-layout-BGwalXGU.js +0 -1
  235. package/dist/client/assets/store-registry-Wn5jXeQ0.js +0 -2
  236. package/dist/client/assets/use-t-99c5H7RN.js +0 -1
  237. package/dist/client/assets/useInfiniteQuery-BqEB_u0b.js +0 -1
  238. package/dist/client/assets/useSuspenseInfiniteQuery-DflSaD8l.js +0 -1
  239. package/dist/client/assets/variant-calendar-XRZpiPfb.js +0 -1
@@ -1 +0,0 @@
1
- import{c as y,j as t,B as F,i as Y,H as Ge,I as se,E as Pe,r as T,C as re,M as Qe,l as V,bd as Ze,u as Ye,L as G,t as Xe,e as ae,aZ as ke}from"./index-8s5nz1GZ.js";import{E as Ee}from"./empty-state-r3Ua2HeC.js";import{u as et,a as Ae}from"./use-collections-DzQsQfCo.js";import{u as ce}from"./use-mcp-client-12oCENzi.js";import{F as ne,a as tt,b as de,d as me}from"./form-Bf1mCLCM.js";import{I as ue}from"./input-DdvT4oFx.js";import{T as le}from"./textarea-DuNE-Cm2.js";import{a as st,b as nt,V as xe,O as ot,M as it}from"./index-B3nGIiNR.js";import{ax as lt,O as rt,an as at,V as ct,a4 as dt,ay as mt,Z as be}from"./agent-icon-D8Fm5tYm.js";import{g as ut,M as xt,a as Ne}from"./index-Bu-YK2jZ.js";import{A as pt,a as ft,b as ht}from"./alert-CC1_oXQl.js";import{S as ve,a as Se,b as ye,c as we,d as oe}from"./select-XCaY2RuM.js";import{c as gt,b as Ce,T as Ie,a as $e}from"./tooltip-BEYSB6_U.js";import{i as jt}from"./AlertCircle-B0URQgGd.js";import{s as bt}from"./Stars02-CBeuyfLt.js";import{a as Nt}from"./Copy01-BTRY-XwC.js";import{i as vt}from"./Play-8-8n1yTh.js";import{i as St}from"./ChevronRight-BojPmzaA.js";import{g as yt}from"./connection-slug-eyAPH6o3.js";import{u as wt,T as Ct}from"./use-mcp-auth-status-CndpvL7p.js";import{a as Oe,u as Re}from"./use-connection-C8o3isYh.js";import{a as It}from"./use-mcp-tools-DnE0k3F3.js";import{M as $t,c as Tt}from"./monaco-editor-CQbHR17m.js";import{I as Te}from"./integration-icon-DRWJ2a2r.js";import{h as Pt,m as kt}from"./chat-context-DcmiS1aH.js";import{u as Et}from"./shell-layout-BGwalXGU.js";import{n as At}from"./Tool02-CBUPoyp_.js";import"./auth-B4mBZTYm.js";import"./label-NOuCbhAn.js";import"./index-D3VfQcL7.js";import"./sidebar-DJyr4LaE.js";import"./LayoutLeft-BwOz9Bsk.js";import"./use-mobile-DayAwrkC.js";import"./X-DoMMsRYG.js";import"./ZoomOut-CqtPRrPx.js";import"./Key01-1cVYuGX5.js";import"./extract-connection-data-BFYmcR-x.js";import"./use-registry-connections-DgBLdllo.js";import"./use-organization-settings-CncY7EWt.js";import"./studio-tools-bpvT2WVs.js";import"./Plus-DU0xlr3N.js";import"./index-BpKHjnpA.js";import"./index-BoqZq5yc.js";import"./popover-CAhKlVf9.js";import"./use-virtual-mcp-C-ISLlF9.js";import"./ChevronUp-PvPV8lxF.js";import"./SearchMd-B2yxnQNH.js";import"./Users03-Cptqh2Hn.js";import"./use-create-virtual-mcp-C5LGKLfr.js";import"./use-navigate-to-agent-BsFkQXFv.js";import"./hooks-DzO3IVwA.js";import"./decopilot-sse-pool-Do0EBPg6.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./Tool01-DPJl1z7j.js";import"./ArrowUp-CcPNkpAT.js";import"./Settings02-DuZTT6Bi.js";import"./XCircle-Br99XnAD.js";import"./ArrowUpRight-D2bw5Lw6.js";import"./TrendUp01-BPLw8NRL.js";import"./ZapSquare-Dq1V7J01.js";import"./CheckCircle-o2uf3wpa.js";import"./ChevronDown-BNIjPnvj.js";import"./DotsVertical-BHzrfCsv.js";import"./Globe01-B92n43Uc.js";import"./Eye-TQRrToj1.js";import"./FilterLines-DN6zcl6c.js";import"./Star01-CqU1Oqdx.js";import"./Globe04-D7iKFord.js";import"./SwitchHorizontal01-eo8rqjTs.js";import"./HardDrive-DCmES8wO.js";import"./Image01-BAtXWLly.js";import"./LinkExternal01-C8ysKQ12.js";import"./Monitor01-CxqZxGb9.js";import"./Sun--xZWnTaM.js";import"./Package-CbSVYZzS.js";import"./Palette-D8YZNJjv.js";import"./SearchLg-DAhqRaHb.js";import"./Shield01-xQBpc_L5.js";import"./Stars01-CrKz3LKP.js";import"./Trash01-CIV6X3VS.js";import"./Upload01-BTji0mxL.js";import"./User01-CHz378m6.js";import"./Users01-A7f5XOKL.js";import"./XClose-By06I_bu.js";import"./Zap-DsNmjI7C.js";import"./badge-DSyzmApw.js";import"./mcp-oauth-D5MXhCB5.js";import"./index--9j6P9bM.js";import"./autosend-nd6NfSt7.js";import"./use-ai-providers-CMVm57gp.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-Brp2zRko.js";import"./avatar-Cxj-66ni.js";import"./dialog-DV6wzW_l.js";import"./required-auth-layout-DN4Wjshy.js";import"./use-org-sso-Dd-6OVA0.js";function Ot(s){const e=y.c(15),{onSave:o,onUndo:n,isDirty:i,isSaving:l,saveLabel:a,undoLabel:c}=s,r=a===void 0?"Save":a,u=c===void 0?"Undo":c;if(!i)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(lt,{size:14}),e[0]=x):x=e[0];let m;e[1]!==l||e[2]!==n||e[3]!==u?(m=t.jsxs(F,{variant:"outline",size:"sm",onClick:n,disabled:l,"aria-label":u,children:[x,u]}),e[1]=l,e[2]=n,e[3]=u,e[4]=m):m=e[4];let p;e[5]!==l?(p=l?t.jsx(Y,{size:14,className:"animate-spin"}):t.jsx(rt,{size:14}),e[5]=l,e[6]=p):p=e[6];let f;e[7]!==l||e[8]!==o||e[9]!==r||e[10]!==p?(f=t.jsxs(F,{variant:"default",size:"sm",onClick:o,disabled:l,"aria-label":r,children:[p,r]}),e[7]=l,e[8]=o,e[9]=r,e[10]=p,e[11]=f):f=e[11];let g;return e[12]!==m||e[13]!==f?(g=t.jsxs(t.Fragment,{children:[m,f]}),e[12]=m,e[13]=f,e[14]=g):g=e[14],g}Ge({title:se().min(1),description:se().nullable(),body:se()});function ie(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function Rt(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(n=>n==="mcps"),o=e>=0?s[e+1]:void 0;return o?decodeURIComponent(o):void 0}function _t(s){const e=y.c(13),{form:o}=s;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Details"}),e[0]=n):n=e[0];let i;e[1]!==o.control?(i=t.jsxs("div",{className:"flex flex-col gap-4",children:[n,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsx(ne,{control:o.control,name:"title",render:zt}),t.jsx(ne,{control:o.control,name:"description",render:Dt})]})]}),e[1]=o.control,e[2]=i):i=e[2];let l,a;e[3]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Message"}),a=t.jsx("div",{className:"text-xs text-muted-foreground",children:"This becomes the user message in the prompt."}),e[3]=l,e[4]=a):(l=e[3],a=e[4]);let c;e[5]!==o.control?(c=t.jsxs("div",{className:"flex flex-col gap-2",children:[l,a,t.jsx(ne,{control:o.control,name:"body",render:Mt})]}),e[5]=o.control,e[6]=c):c=e[6];let r;e[7]!==i||e[8]!==c?(r=t.jsxs("div",{className:"h-full py-6 flex flex-col max-w-3xl mx-auto w-full min-w-0 gap-8 overflow-y-auto px-4",children:[i,c]}),e[7]=i,e[8]=c,e[9]=r):r=e[9];let u;return e[10]!==o||e[11]!==r?(u=t.jsx(tt,{...o,children:r}),e[10]=o,e[11]=r,e[12]=u):u=e[12],u}function Mt(s){const{field:e}=s;return t.jsx(de,{children:t.jsx(me,{children:t.jsx(le,{...e,value:e.value??"",placeholder:"Write the prompt message…",className:"min-h-[240px] resize-none text-base leading-relaxed font-normal rounded-xl border border-border bg-muted/20 px-4 py-3 shadow-none focus-visible:ring-0"})})})}function Dt(s){const{field:e}=s;return t.jsxs(de,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Description"}),t.jsx(me,{children:t.jsx(ue,{...e,value:e.value??"",placeholder:"Add a description…",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function zt(s){const{field:e}=s;return t.jsxs(de,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Title"}),t.jsx(me,{children:t.jsx(ue,{...e,placeholder:"Untitled prompt",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Lt(s){const e=y.c(36),{providerId:o,promptId:n}=s,{org:i}=re(),l=o||null;let a;e[0]!==i.id||e[1]!==i.slug||e[2]!==l?(a={connectionId:l,orgId:i.id,orgSlug:i.slug},e[0]=i.id,e[1]=i.slug,e[2]=l,e[3]=a):a=e[3];const c=ce(a),r=et(o,"PROMPT",n,c),u=Ae(o,"PROMPT",c),x=u.update.isPending;let m;e[4]!==r?(m=r?{title:r.title,description:r.description??null,body:ie(r)}:void 0,e[4]=r,e[5]=m):m=e[5];let p;e[6]!==m?(p={values:m},e[6]=m,e[7]=p):p=e[7];const f=Qe(p);let g;e[8]!==f||e[9]!==r?(g=()=>{r&&f.reset({title:r.title,description:r.description??null,body:ie(r)})},e[8]=f,e[9]=r,e[10]=g):g=e[10];const S=g;let I;e[11]!==u.update||e[12]!==f||e[13]!==n?(I=f.handleSubmit(async N=>{const A=await u.update.mutateAsync({id:n,data:{title:N.title,description:N.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:N.body}}]}});f.reset({title:A.title,description:A.description??null,body:ie(A)})}),e[11]=u.update,e[12]=f,e[13]=n,e[14]=I):I=e[14];const R=I;if(!r){let N;return e[15]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ee,{title:"Prompt not found",description:"This prompt may have been deleted or you may not have access to it."})}),e[15]=N):N=e[15],N}let $;e[16]!==r.title?($=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:r.title}),e[16]=r.title,e[17]=$):$=e[17];let E;e[18]!==r.description?(E=r.description?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-xs text-muted-foreground font-normal",children:"•"}),t.jsx("span",{className:"text-xs text-muted-foreground font-normal truncate min-w-0 max-w-[20ch]",children:r.description})]}):null,e[18]=r.description,e[19]=E):E=e[19];let P;e[20]!==$||e[21]!==E?(P=t.jsx(nt,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[$,E]})}),e[20]=$,e[21]=E,e[22]=P):P=e[22];let b;e[23]!==R?(b=()=>{R()},e[23]=R,e[24]=b):b=e[24];let w;e[25]!==f.formState.isDirty||e[26]!==x||e[27]!==S||e[28]!==b?(w=t.jsx(st,{children:t.jsx(Ot,{onSave:b,onUndo:S,isDirty:f.formState.isDirty,isSaving:x})}),e[25]=f.formState.isDirty,e[26]=x,e[27]=S,e[28]=b,e[29]=w):w=e[29];let C;e[30]!==f?(C=t.jsx("div",{className:"h-full",children:t.jsx(_t,{form:f})}),e[30]=f,e[31]=C):C=e[31];let k;return e[32]!==w||e[33]!==C||e[34]!==P?(k=t.jsxs(xe,{children:[P,w,C]}),e[32]=w,e[33]=C,e[34]=P,e[35]=k):k=e[35],k}function Ut(s){const e=y.c(4),{itemId:o}=s;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=Rt(),e[0]=n):n=e[0];const i=n;if(!i){let a;return e[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx("div",{className:"flex h-full w-full bg-background",children:t.jsx(Ee,{title:"Prompt not found",description:"Missing connection information in the current route."})}),e[1]=a):a=e[1],a}let l;return e[2]!==o?(l=t.jsx(Pe,{children:t.jsx(T.Suspense,{fallback:null,children:t.jsx(Lt,{providerId:i,promptId:o})})}),e[2]=o,e[3]=l):l=e[3],l}function _e(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=V("min-w-0 overflow-hidden",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function Me(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=V("flex items-center gap-1.5 text-sm sm:gap-2 overflow-hidden",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("ol",{"data-slot":"breadcrumb-list",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function q(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=V("inline-flex items-center gap-1.5 min-w-0",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("li",{"data-slot":"breadcrumb-item",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function Q(s){const e=y.c(10);let o,n,i;e[0]!==s?({asChild:o,className:n,...i}=s,e[0]=s,e[1]=o,e[2]=n,e[3]=i):(o=e[1],n=e[2],i=e[3]);const l=o?Ze:"a";let a;e[4]!==n?(a=V("hover:text-foreground transition-colors truncate",n),e[4]=n,e[5]=a):a=e[5];let c;return e[6]!==l||e[7]!==i||e[8]!==a?(c=t.jsx(l,{"data-slot":"breadcrumb-link",className:a,...i}),e[6]=l,e[7]=i,e[8]=a,e[9]=c):c=e[9],c}function De(s){const e=y.c(8);let o,n;e[0]!==s?({className:o,...n}=s,e[0]=s,e[1]=o,e[2]=n):(o=e[1],n=e[2]);let i;e[3]!==o?(i=V("text-foreground font-medium truncate",o),e[3]=o,e[4]=i):i=e[4];let l;return e[5]!==n||e[6]!==i?(l=t.jsx("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:i,...n}),e[5]=n,e[6]=i,e[7]=l):l=e[7],l}function Z(s){const e=y.c(12);let o,n,i;e[0]!==s?({children:o,className:n,...i}=s,e[0]=s,e[1]=o,e[2]=n,e[3]=i):(o=e[1],n=e[2],i=e[3]);let l;e[4]!==n?(l=V("[&>svg]:size-3.5 text-muted-foreground opacity-50 list-none shrink-0",n),e[4]=n,e[5]=l):l=e[5];let a;e[6]!==o?(a=o??t.jsx(St,{}),e[6]=o,e[7]=a):a=e[7];let c;return e[8]!==i||e[9]!==l||e[10]!==a?(c=t.jsx("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:l,...i,children:a}),e[8]=i,e[9]=l,e[10]=a,e[11]=c):c=e[11],c}const Bt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Ft(s){const e=y.c(11),{toolName:o,connectionId:n,siblings:i,onSelectInstance:l,onBack:a}=s;let c;e[0]!==n?(c={connectionId:n},e[0]=n,e[1]=c):c=e[1];const r=wt(c);if(!r.isAuthenticated){let m;return e[2]!==r.supportsOAuth||e[3]!==a?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:r.supportsOAuth?t.jsx(ot,{onAuthenticate:()=>a(),buttonText:"Go back to authenticate"}):t.jsx(it,{hasReadme:!1})}),e[2]=r.supportsOAuth,e[3]=a,e[4]=m):m=e[4],m}const u=`${n}:${o}`;let x;return e[5]!==n||e[6]!==l||e[7]!==i||e[8]!==u||e[9]!==o?(x=t.jsx(Vt,{toolName:o,connectionId:n,siblings:i,onSelectInstance:l},u),e[5]=n,e[6]=l,e[7]=i,e[8]=u,e[9]=o,e[10]=x):x=e[10],x}function Vt({toolName:s,connectionId:e,siblings:o,onSelectInstance:n}){const{replayId:i}=Ye({strict:!1}),l=(()=>{if(!i)return null;const d=`replay-${i}`,h=sessionStorage.getItem(d);if(!h)return null;sessionStorage.removeItem(d);try{return JSON.parse(h)}catch{return null}})(),a=(()=>{if(!l)return null;const d={};for(const[h,v]of Object.entries(l))v!==null&&typeof v=="object"?d[h]=JSON.stringify(v,null,2):d[h]=v;return d})(),[c,r]=T.useState(a??{}),[u,x]=T.useState(l?JSON.stringify(l,null,2):"{}"),[m,p]=T.useState(null),[f,g]=T.useState(null),[S,I]=T.useState(null),[R,$]=T.useState(null),[E,P]=T.useState(!1),[b,w]=T.useState(null),{org:C}=re(),k=Oe(e),N=Pt(),A=kt(),{openSidePanel:U}=Et(),z=`${e}:${s}`,_=ce({connectionId:e,orgId:C.id,orgSlug:C.slug}),L=It({client:_}),j=L.data?.tools?.find(d=>d.name===s),O=ut(j?._meta),J=d=>{if(!N)return;const h=Tt(d.content);h.content.length>0&&(U("chat"),N.sendMessage({tiptapDoc:h}))},[M,X]=T.useState("json"),[ze,Le]=T.useState(!1);O&&!ze&&(X("ui"),Le(!0));const pe=j?.inputSchema?.properties,fe=pe?Object.keys(pe):[],H=fe.length>0,K={};if(H&&j?.inputSchema?.properties)for(const d of fe)K[d]=j.inputSchema.required?.includes(d)?"":void 0;const ee=d=>Object.prototype.hasOwnProperty.call(c,d),Ue=async()=>{P(!0),$(null),p(null),g(null),I(null),w(null);const d=performance.now();try{if(!_)throw new Error("MCP client is not available");const h=H?{...K,...c}:(()=>{const D=u.trim();if(!D)return{};const B=JSON.parse(D);if(B&&typeof B=="object")return B;throw new Error("Raw JSON input must be an object.")})();H&&j?.inputSchema?.properties&&Object.entries(j.inputSchema.properties).forEach(([D,B])=>{if((B.type==="object"||B.type==="array")&&typeof h[D]=="string")try{h[D]=JSON.parse(h[D])}catch{}else if((B.type==="number"||B.type==="integer")&&typeof h[D]=="string"&&h[D]!==""){const je=Number(h[D]);Number.isNaN(je)||(h[D]=je)}});const v=await _.callTool({name:s,arguments:h}),W=v.structuredContent??v,He=performance.now(),Ke=Math.round(He-d);p(W),g(v),I(h);const We=JSON.stringify(W),ge=new TextEncoder().encode(We).length;w({duration:`${Ke}ms`,bytes:`${ge} bytes`,tokens:`~${Math.ceil(ge/4)} tokens`,cost:"$0.0000"})}catch(h){const v=h instanceof Error?h.message:String(h);$(v||"Unknown error occurred");const W=performance.now();w({duration:`${Math.round(W-d)}ms`})}finally{P(!1)}},te=(d,h)=>{r(v=>({...v,[d]:h}))},Be=()=>{p(null),g(null),I(null),$(null),w(null)},Fe=j?.name??Bt(s),Ve=t.jsx(_e,{children:t.jsxs(Me,{children:[t.jsx(q,{children:t.jsx(Q,{asChild:!0,children:t.jsx(G,{to:"/$org/settings/connections",params:{org:C.slug},children:"Connections"})})}),t.jsx(Z,{}),k&&t.jsxs(t.Fragment,{children:[t.jsx(q,{children:t.jsx(Q,{asChild:!0,children:t.jsx(G,{to:"/$org/settings/connections/$appSlug",params:{org:C.slug,appSlug:yt(k)},search:{tab:"tools"},children:k.title})})}),t.jsx(Z,{})]}),t.jsx(q,{children:t.jsx(De,{children:Fe})})]})}),he=o.length>1&&t.jsxs(ve,{value:e,onValueChange:n,children:[t.jsx(Se,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(ye,{})}),t.jsx(we,{children:o.map(d=>t.jsx(oe,{value:d.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Te,{icon:d.icon,name:d.title,size:"xs",className:"shrink-0"}),d.title]})},d.id))})]}),Je=t.jsxs("div",{className:"flex flex-col p-6 gap-4 overflow-auto",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsx("h2",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"Parameters"}),j?.inputSchema?.required&&j.inputSchema.required.length>0&&t.jsxs("span",{className:"text-xs text-muted-foreground",children:[t.jsx("span",{className:"text-destructive",children:"*"})," Required"]})]}),t.jsx("div",{className:"space-y-4",children:H&&j?.inputSchema?.properties?Object.entries(j.inputSchema.properties).map(([d,h])=>t.jsxs("div",{className:"space-y-2",children:[t.jsxs("div",{className:"flex items-center justify-between",children:[t.jsxs("label",{className:"text-sm font-medium leading-none flex items-center gap-1.5",children:[d,j.inputSchema?.required?.includes(d)&&t.jsx("span",{className:"text-destructive text-xs",children:"*"})]}),t.jsx("span",{className:"text-xs text-muted-foreground font-mono",children:h.type})]}),h.description&&t.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:h.description}),h.type==="object"||h.type==="array"?t.jsx(le,{className:"font-mono text-xs",value:ee(d)?c[d]??"":K[d]??"",onChange:v=>te(d,v.target.value),placeholder:`Enter ${d} as JSON...`,rows:3}):h.type==="boolean"?t.jsxs(ve,{value:ee(d)?String(c[d]??""):"",onValueChange:v=>te(d,v==="true"),children:[t.jsx(Se,{children:t.jsx(ye,{placeholder:"Select true or false..."})}),t.jsxs(we,{children:[t.jsx(oe,{value:"true",children:"true"}),t.jsx(oe,{value:"false",children:"false"})]})]}):t.jsx(ue,{value:ee(d)?c[d]??"":K[d]??"",onChange:v=>te(d,v.target.value),placeholder:`Enter ${d}...`})]},d)):j?.inputSchema&&!H?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:"Raw JSON Input"}),t.jsx(le,{className:"font-mono text-xs min-h-[120px]",value:u,onChange:d=>x(d.target.value),placeholder:'e.g. { "foo": "bar" }'})]}):t.jsx("div",{className:"flex items-center justify-center p-8 bg-muted/30 rounded-lg border border-dashed border-border",children:t.jsx("p",{className:"text-sm text-muted-foreground",children:"No parameters required"})})}),t.jsx("div",{className:"flex items-center gap-2 pt-2",children:E?t.jsxs(F,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Be,children:[t.jsx(at,{className:"h-3.5 w-3.5"}),"Cancel"]}):t.jsxs(F,{size:"sm",variant:"default",className:"h-8 gap-2",onClick:Ue,children:[t.jsx(vt,{className:"h-3.5 w-3.5 fill-current"}),"Execute Tool"]})})]}),qe=t.jsxs("div",{className:"flex flex-col @3xl:h-full @3xl:overflow-hidden",children:[t.jsxs("div",{className:"flex items-center justify-between px-4 h-14 border-b border-border bg-background",children:[t.jsx("h2",{className:"text-sm font-medium text-foreground uppercase tracking-wide",children:"Result"}),t.jsxs("div",{className:"flex items-center gap-3",children:[b&&t.jsxs("div",{className:"flex items-center gap-3 text-xs",children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(bt,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.duration})]}),b.tokens&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(ct,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.tokens})]}),b.bytes&&t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx(dt,{className:"h-3 w-3 text-muted-foreground"}),t.jsx("span",{className:"font-mono text-foreground",children:b.bytes})]}),b.cost&&t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsx("span",{className:"font-mono text-foreground",children:b.cost})})]}),O&&t.jsx(gt,{children:t.jsxs("div",{className:"flex items-center gap-1",children:[t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:M==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("ui"),children:t.jsx(mt,{size:14})})}),t.jsx($e,{children:"Interactive view"})]}),t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:M==="json"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("json"),children:t.jsx(be,{size:14})})}),t.jsx($e,{children:"JSON view"})]})]})})]})]}),R&&t.jsx("div",{className:"px-6 py-4 bg-background",children:t.jsx(pt,{variant:"destructive",children:t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(jt,{className:"h-4 w-4"}),t.jsx(ft,{className:"mb-0",children:"Execution Failed"})]}),t.jsx(ht,{className:"text-xs text-destructive",children:R})]})})}),t.jsx("div",{className:"relative flex-1 min-h-[400px] @3xl:min-h-0 @3xl:overflow-auto bg-muted/50",children:O&&M==="ui"&&_?t.jsx(T.Suspense,{fallback:t.jsx("div",{className:"flex items-center justify-center h-48",children:t.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[t.jsx("div",{className:"size-4 border-2 border-current border-t-transparent rounded-full animate-spin"}),t.jsx("span",{className:"text-sm",children:"Loading app..."})]})}),children:t.jsx(xt,{resourceURI:O,toolInfo:j?{tool:j}:void 0,toolInput:S??void 0,toolResult:f??void 0,displayMode:"fullscreen",minHeight:Ne.view.minHeight,maxHeight:Ne.view.maxHeight,client:_,onMessage:J,onUpdateModelContext:d=>A?.setAppContext(z,d),onTeardown:()=>A?.clearAppContext(z),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx($t,{code:JSON.stringify(m,null,2),language:"json",height:"100%",readOnly:!0}),t.jsx(F,{size:"icon",variant:"ghost",className:"absolute top-4 right-4 h-8 w-8 bg-background/80 hover:bg-background border border-border shadow-sm",onClick:()=>{navigator.clipboard.writeText(JSON.stringify(m,null,2)),Xe.success("Copied to clipboard")},children:t.jsx(Nt,{className:"h-3.5 w-3.5"})})]}):t.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-muted-foreground",children:[t.jsx(be,{className:"h-12 w-12 mb-3 opacity-40"}),t.jsx("p",{className:"text-sm",children:"Run the tool to see results"})]})})]});return t.jsx(xe,{breadcrumb:Ve,children:t.jsxs("div",{className:"flex flex-col h-full overflow-hidden @container",children:[t.jsxs("div",{className:"flex flex-col gap-3 py-7 px-8 bg-background border-b border-border shrink-0",children:[t.jsxs("div",{className:"flex items-center gap-4",children:[t.jsx(Te,{icon:k?.icon||null,name:k?.title||s,size:"xl",className:"shrink-0"}),t.jsx("h1",{className:"text-xl font-semibold tracking-tight text-foreground leading-none truncate",children:s}),t.jsxs("div",{className:"flex items-center gap-2 px-2.5 py-1 bg-muted/50 rounded-md h-fit shrink-0",children:[L.isSuccess?t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-success animate-pulse shrink-0"}):L.isLoading?t.jsx(Y,{size:10,className:"animate-spin text-warning shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-destructive shrink-0"}),t.jsx("span",{className:"font-mono text-xs capitalize text-muted-foreground leading-none",children:L.isSuccess?"ready":L.isLoading?"connecting":"error"})]}),t.jsx(Ct,{annotations:j?.annotations,_meta:j?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:he})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:j?.description||"No description available"})]}),o.length>1&&t.jsxs("div",{className:"flex @3xl:hidden items-center gap-3 px-8 py-3 border-b border-border",children:[t.jsx("span",{className:"text-xs font-medium text-muted-foreground shrink-0",children:"Instance"}),he]}),t.jsx("div",{className:"flex-1 overflow-auto @3xl:overflow-hidden",children:t.jsxs("div",{className:"grid grid-cols-1 @3xl:grid-cols-[minmax(0,2fr)_minmax(0,5fr)] @3xl:h-full @3xl:grid-rows-1",children:[t.jsx("div",{className:"@3xl:border-r border-border @3xl:overflow-auto",children:Je}),qe]})})]})})}function Jt(s){const e=y.c(10),{itemId:o,siblings:n,onBack:i}=s,[l,a]=T.useState(n[0]?.id??"");let c;e[0]!==l||e[1]!==n?(c=n.find(p=>p.id===l)?.id??n[0]?.id??"",e[0]=l,e[1]=n,e[2]=c):c=e[2];const r=c;if(!Oe(r||void 0)||!r){let p;return e[3]===Symbol.for("react.memo_cache_sentinel")?(p=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsxs("div",{className:"flex flex-col items-center gap-2 text-center",children:[t.jsx("h3",{className:"text-lg font-semibold",children:"Connection not found"}),t.jsx("p",{className:"text-sm text-muted-foreground",children:"This connection may have been deleted or you may not have access."})]})}),e[3]=p):p=e[3],p}let x;e[4]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Y,{size:32,className:"animate-spin text-muted-foreground"})}),e[4]=x):x=e[4];let m;return e[5]!==r||e[6]!==i||e[7]!==n||e[8]!==o?(m=t.jsx(T.Suspense,{fallback:x,children:t.jsx(Ft,{toolName:o,connectionId:r,siblings:n,onSelectInstance:a,onBack:i})}),e[5]=r,e[6]=i,e[7]=n,e[8]=o,e[9]=m):m=e[9],m}function qt(s){const e=y.c(21),{icon:o,illustration:n,title:i,description:l,buttonProps:a,buttonComponent:c,className:r,children:u}=s;let x;e[0]!==r?(x=V("flex flex-col items-center justify-center py-16 text-center",r),e[0]=r,e[1]=x):x=e[1];let m;e[2]!==o||e[3]!==n?(m=n?t.jsx("div",{className:"mb-4 text-muted-foreground/50",children:n}):o?t.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50 text-muted-foreground",children:o}):null,e[2]=o,e[3]=n,e[4]=m):m=e[4];let p;e[5]!==i?(p=t.jsx("h3",{className:"text-sm font-semibold text-foreground",children:i}),e[5]=i,e[6]=p):p=e[6];let f;e[7]!==l?(f=l&&t.jsx("div",{className:"text-sm text-muted-foreground",children:l}),e[7]=l,e[8]=f):f=e[8];let g;e[9]!==p||e[10]!==f?(g=t.jsxs("div",{className:"flex flex-col items-center gap-1 max-w-sm",children:[p,f]}),e[9]=p,e[10]=f,e[11]=g):g=e[11];let S;e[12]!==c||e[13]!==a?(S=(c??a)&&t.jsx("div",{className:"mt-4",children:c??(a&&t.jsx(F,{size:"sm",className:V(a?.className),...a}))}),e[12]=c,e[13]=a,e[14]=S):S=e[14];let I;return e[15]!==u||e[16]!==x||e[17]!==m||e[18]!==g||e[19]!==S?(I=t.jsxs("div",{className:x,children:[m,g,S,u]}),e[15]=u,e[16]=x,e[17]=m,e[18]=g,e[19]=S,e[20]=I):I=e[20],I}const Ht={prompt:Ut};function Kt(){const s=y.c(9),e=ke();let o;s[0]===Symbol.for("react.memo_cache_sentinel")?(o={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=o):o=s[0];const n=ae(o),i=decodeURIComponent(n.itemId);let l;s[1]!==n.appSlug?(l={slug:n.appSlug},s[1]=n.appSlug,s[2]=l):l=s[2];const a=Re(l);let c;s[3]!==e.history?(c=()=>{e.history.back()},s[3]=e.history,s[4]=c):c=s[4];const r=c,u=Wt;let x;return s[5]!==r||s[6]!==i||s[7]!==a?(x=t.jsx(Jt,{itemId:i,siblings:a,onBack:r,onUpdate:u}),s[5]=r,s[6]=i,s[7]=a,s[8]=x):x=s[8],x}async function Wt(s){return Promise.resolve()}function Gt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Qt(){const s=y.c(41),e=ke();let o;s[0]===Symbol.for("react.memo_cache_sentinel")?(o={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=o):o=s[0];const n=ae(o),i=decodeURIComponent(n.collectionName),l=decodeURIComponent(n.itemId);let a;s[1]!==e.history?(a=()=>{e.history.back()},s[1]=e.history,s[2]=a):a=s[2];const c=a,{org:r}=re();let u;s[3]!==n.appSlug?(u={slug:n.appSlug},s[3]=n.appSlug,s[4]=u):u=s[4];const m=Re(u)[0]??null,p=m?.id??"",f=p||"no-connection",g=p??null;let S;s[5]!==r.id||s[6]!==r.slug||s[7]!==g?(S={connectionId:g,orgId:r.id,orgSlug:r.slug},s[5]=r.id,s[6]=r.slug,s[7]=g,s[8]=S):S=s[8];const I=ce(S),R=Ae(f,i,I);let $;s[9]!==R||s[10]!==l?($=async M=>{l&&await R.update.mutateAsync({id:l,data:M})},s[9]=R,s[10]=l,s[11]=$):$=s[11];const E=$;let P;s[12]!==i?(P=i?.toLowerCase(),s[12]=i,s[13]=P):P=s[13];const b=P,w=b&&Ht[b];let C;s[14]!==i?(C=Gt(i),s[14]=i,s[15]=C):C=s[15];const k=C;let N;s[16]!==r.slug?(N=t.jsx(q,{children:t.jsx(Q,{asChild:!0,children:t.jsx(G,{to:"/$org/settings/connections",params:{org:r.slug},children:"Connections"})})}),s[16]=r.slug,s[17]=N):N=s[17];let A;s[18]===Symbol.for("react.memo_cache_sentinel")?(A=t.jsx(Z,{}),s[18]=A):A=s[18];let U;s[19]!==i||s[20]!==m||s[21]!==r.slug||s[22]!==n.appSlug?(U=m&&t.jsxs(t.Fragment,{children:[t.jsx(q,{children:t.jsx(Q,{asChild:!0,children:t.jsx(G,{to:"/$org/settings/connections/$appSlug",params:{org:r.slug,appSlug:n.appSlug},search:{tab:i},children:m.title})})}),t.jsx(Z,{})]}),s[19]=i,s[20]=m,s[21]=r.slug,s[22]=n.appSlug,s[23]=U):U=s[23];let z;s[24]!==k?(z=t.jsx(q,{children:t.jsx(De,{children:k})}),s[24]=k,s[25]=z):z=s[25];let _;s[26]!==U||s[27]!==z||s[28]!==N?(_=t.jsx(_e,{children:t.jsxs(Me,{children:[N,A,U,z]})}),s[26]=U,s[27]=z,s[28]=N,s[29]=_):_=s[29];const L=_;if(w){let M;return s[30]!==w||s[31]!==c||s[32]!==E||s[33]!==l?(M=t.jsx(w,{itemId:l,onBack:c,onUpdate:E}),s[30]=w,s[31]=c,s[32]=E,s[33]=l,s[34]=M):M=s[34],M}let j;s[35]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(At,{size:36,className:"text-muted-foreground"}),s[35]=j):j=s[35];let O;s[36]!==c?(O=t.jsx(qt,{icon:j,title:"No component defined",description:"No component for this collection was defined",buttonProps:{onClick:c,children:"Go back"}}),s[36]=c,s[37]=O):O=s[37];let J;return s[38]!==L||s[39]!==O?(J=t.jsx(xe,{breadcrumb:L,children:O}),s[38]=L,s[39]=O,s[40]=J):J=s[40],J}function Zt(){const s=y.c(3);let e;s[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=e):e=s[0];const o=ae(e);if(decodeURIComponent(o.collectionName)==="tools"){let a;return s[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(Kt,{}),s[1]=a):a=s[1],a}let l;return s[2]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx(Qt,{}),s[2]=l):l=s[2],l}function Jn(){const s=y.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Pe,{children:t.jsx(T.Suspense,{fallback:t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(Y,{size:32,className:"animate-spin text-muted-foreground"})}),children:t.jsx(Zt,{})})}),s[0]=e):e=s[0],e}export{Jn as default};