decocms 4.22.2 → 4.23.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 (225) hide show
  1. package/dist/client/assets/{AlertCircle-BWfyWgiw.js → AlertCircle-CLapFvcx.js} +1 -1
  2. package/dist/client/assets/{ArrowUpRight-h5-lNOU3.js → ArrowUpRight-DYI4ZFTv.js} +1 -1
  3. package/dist/client/assets/{Check-B2t3_u8j.js → Check-CWR2GX_4.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-Cd9sCPj_.js → CheckCircle-BJr7jKsb.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-CJGVvA9G.js → ChevronDown-BOnFs3ZP.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-SxNLyRA0.js → ChevronRight--Sw9cfbS.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-Cfv8kwOP.js → ChevronUp-CkMhjJB_.js} +1 -1
  8. package/dist/client/assets/{Circle-CmWJQsR2.js → Circle-CSNCa0Ai.js} +1 -1
  9. package/dist/client/assets/{Copy01-C_1mrR9P.js → Copy01-C_vDrK62.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-DQ-r-KXk.js → DotsVertical-CVxu5D2B.js} +1 -1
  11. package/dist/client/assets/{Eye-Jd91Hda4.js → Eye-DCiEQJIv.js} +1 -1
  12. package/dist/client/assets/{FilterLines-C7Zdp7-q.js → FilterLines-YtMlMBJN.js} +1 -1
  13. package/dist/client/assets/{Globe01-4bI1LBPk.js → Globe01-pYyw4zjF.js} +1 -1
  14. package/dist/client/assets/{Globe04-CPnbhr3e.js → Globe04-B5LRDZX0.js} +1 -1
  15. package/dist/client/assets/{HardDrive-WT4IA8YF.js → HardDrive-Bt_8Ilkp.js} +1 -1
  16. package/dist/client/assets/{Key01-_0kmrESm.js → Key01-BGm5x2_7.js} +1 -1
  17. package/dist/client/assets/{LayoutLeft-D_5UU_fl.js → LayoutLeft-WEbo8J87.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-CYx_LjKe.js → LinkExternal01-C9wAno25.js} +1 -1
  19. package/dist/client/assets/{List-5nWMXvgZ.js → List-wZrVQa3Y.js} +1 -1
  20. package/dist/client/assets/{Loading02-D5Q9o2ML.js → Loading02-BY5Z_ytL.js} +1 -1
  21. package/dist/client/assets/{Monitor01-EVfMwGgl.js → Monitor01-CjaozmNA.js} +1 -1
  22. package/dist/client/assets/{Palette-Cg2Il5Mo.js → Palette-DX20ptpQ.js} +1 -1
  23. package/dist/client/assets/{Play-C4pBBuTc.js → Play-DrXY2oRx.js} +1 -1
  24. package/dist/client/assets/{Plus-Cj9kK9tN.js → Plus-j1oUcvSs.js} +1 -1
  25. package/dist/client/assets/{SearchLg-JSkDDvk4.js → SearchLg-Dt-H4O3z.js} +1 -1
  26. package/dist/client/assets/{SearchMd-CP9WApAb.js → SearchMd-Cmh57xGa.js} +1 -1
  27. package/dist/client/assets/{Settings02-Bs74lw7T.js → Settings02-CtgBTtnW.js} +1 -1
  28. package/dist/client/assets/{Shield01-DMFwBOtF.js → Shield01-BsAF4snY.js} +1 -1
  29. package/dist/client/assets/{Star01-CC3gyOop.js → Star01-DgFqZM1H.js} +1 -1
  30. package/dist/client/assets/{Stars01-DKD-uu49.js → Stars01-Ch3VikRv.js} +1 -1
  31. package/dist/client/assets/{Stars02-DGriyPK-.js → Stars02-C0LkLtPv.js} +1 -1
  32. package/dist/client/assets/{Sun-DszeKWvN.js → Sun-D-D5LZ02.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-a_i15cCW.js → SwitchHorizontal01-DAV6AujY.js} +1 -1
  34. package/dist/client/assets/{Tool01-iIXzQIf6.js → Tool01-Csfd8Wry.js} +1 -1
  35. package/dist/client/assets/{Trash01-D_xTnQtW.js → Trash01-Bf3SN1nH.js} +1 -1
  36. package/dist/client/assets/{Upload01-COCQSA6j.js → Upload01-BYEqY1Ay.js} +1 -1
  37. package/dist/client/assets/{User01-DBHhpCM7.js → User01-C7pBq15o.js} +1 -1
  38. package/dist/client/assets/{Users01-BymojQtX.js → Users01-9SoD8uT4.js} +1 -1
  39. package/dist/client/assets/{Users03-Dnn-6pZq.js → Users03-kFy3UJPi.js} +1 -1
  40. package/dist/client/assets/{X-DY9hR308.js → X-C0ZgGoQb.js} +1 -1
  41. package/dist/client/assets/{XCircle-DofnF94J.js → XCircle-DRgrnFcC.js} +1 -1
  42. package/dist/client/assets/{XClose-CmiCfuv_.js → XClose-CmJ8_Kxi.js} +1 -1
  43. package/dist/client/assets/{Zap-BwbZR_TW.js → Zap-CjHl9Hth.js} +1 -1
  44. package/dist/client/assets/{ZapSquare-B7pUKk1h.js → ZapSquare-BtUSi6w5.js} +1 -1
  45. package/dist/client/assets/{ZoomOut-B3kimgA9.js → ZoomOut-B4weRH-H.js} +1 -1
  46. package/dist/client/assets/{access-gate-BOS773UI.js → access-gate-DPOW1JQt.js} +1 -1
  47. package/dist/client/assets/{add-section-modal-Z7yIxDfk.js → add-section-modal-2t6y9pJq.js} +1 -1
  48. package/dist/client/assets/{agent-capabilities-DRUNyKs6.js → agent-capabilities-UH4_NDRB.js} +1 -1
  49. package/dist/client/assets/{agent-icon-K57A0DzY.js → agent-icon-CRPqtjX6.js} +1 -1
  50. package/dist/client/assets/{agents-list-DdfrpJA4.js → agents-list-C3JbHbWL.js} +1 -1
  51. package/dist/client/assets/{ai-providers-ZlX0S41Y.js → ai-providers-KhClLvY9.js} +1 -1
  52. package/dist/client/assets/{alert-D12iE_jh.js → alert-BSFVY_ft.js} +1 -1
  53. package/dist/client/assets/{alert-dialog-BuY0O9iQ.js → alert-dialog-DseQ_eoR.js} +1 -1
  54. package/dist/client/assets/{app-editor-B6oORsVZ.js → app-editor-C9SM21Xh.js} +1 -1
  55. package/dist/client/assets/{auth-D1xUzxIp.js → auth-YT0L3u0f.js} +1 -1
  56. package/dist/client/assets/{auth-catchall-BTjXPhNI.js → auth-catchall-Ch0KjyC5.js} +1 -1
  57. package/dist/client/assets/{auth-entry-Bg2Xb6tT.js → auth-entry-BpZO7T6i.js} +1 -1
  58. package/dist/client/assets/{auth-split-layout-CzHLXrwa.js → auth-split-layout-C37u8WlO.js} +1 -1
  59. package/dist/client/assets/{authenticate-and-persist-oauth-CbQ04gTK.js → authenticate-and-persist-oauth-D8TojuXv.js} +1 -1
  60. package/dist/client/assets/{automation-list-row-3xTUT0sz.js → automation-list-row-d7ebkZcP.js} +1 -1
  61. package/dist/client/assets/{automation-runs-B5QugYRM.js → automation-runs-Bo90h8_b.js} +1 -1
  62. package/dist/client/assets/{automations-DpLONqEv.js → automations-COxs7MJo.js} +1 -1
  63. package/dist/client/assets/{avatar-b6IKYKQs.js → avatar-DN0SQ2YP.js} +1 -1
  64. package/dist/client/assets/{badge-DGFEVFje.js → badge-CYqiGv_0.js} +1 -1
  65. package/dist/client/assets/{block-document-CLPFDPat.js → block-document-Tux1C7cf.js} +1 -1
  66. package/dist/client/assets/{brand-context-Ba-On5d-.js → brand-context-DYaR7ozG.js} +1 -1
  67. package/dist/client/assets/{breadcrumb-8G_CoEun.js → breadcrumb-Ca0mTftR.js} +1 -1
  68. package/dist/client/assets/{buckets-pXaevYUV.js → buckets-DwYOYKjz.js} +1 -1
  69. package/dist/client/assets/{bulk-category-panel-OTFFglhS.js → bulk-category-panel-IzdJ5QQ_.js} +1 -1
  70. package/dist/client/assets/{capability-load-error-CEmXpgFG.js → capability-load-error-DIVlJMVm.js} +1 -1
  71. package/dist/client/assets/{card-dPxA0RCs.js → card-D9G2yXrJ.js} +1 -1
  72. package/dist/client/assets/{category-editor-B2KWZmpg.js → category-editor-9mLUM1gN.js} +1 -1
  73. package/dist/client/assets/{chat-context-COllONR2.js → chat-context-DIUSa9Jr.js} +1 -1
  74. package/dist/client/assets/{checkbox-5y5TSI8u.js → checkbox-DCa6681A.js} +1 -1
  75. package/dist/client/assets/{cli-auth-success-DY-Hf-b0.js → cli-auth-success-Dlh4FD0T.js} +1 -1
  76. package/dist/client/assets/collection-detail-BqYrcVNr.js +1 -0
  77. package/dist/client/assets/{collection-display-button-B4kpKs3o.js → collection-display-button-C5acvrDe.js} +1 -1
  78. package/dist/client/assets/{collection-search-SaKzAiAF.js → collection-search-DT12aqMT.js} +1 -1
  79. package/dist/client/assets/{collection-table-wrapper-CJ-K0eS_.js → collection-table-wrapper-DroBY1GW.js} +1 -1
  80. package/dist/client/assets/{collection-tabs-CZb_AY94.js → collection-tabs-2clxo3lG.js} +1 -1
  81. package/dist/client/assets/{command-DDwBnk4S.js → command-qHaitSxv.js} +1 -1
  82. package/dist/client/assets/{commerce-onboarding-Cj6KuavN.js → commerce-onboarding-zByXwUoa.js} +1 -1
  83. package/dist/client/assets/{connect-desktop-dialog-uu1uNLI_.js → connect-desktop-dialog-RWUM4LPN.js} +1 -1
  84. package/dist/client/assets/{connection-card-BsaY572f.js → connection-card-COE4b4Kl.js} +1 -1
  85. package/dist/client/assets/{connection-detail-CVTulNyz.js → connection-detail-B4q53uMa.js} +1 -1
  86. package/dist/client/assets/{connection-form-helpers-CHdocTpm.js → connection-form-helpers-D9d9jQ9S.js} +1 -1
  87. package/dist/client/assets/{connections-JYGKhfuk.js → connections--zriX-8H.js} +1 -1
  88. package/dist/client/assets/{decopilot-B6qg2Op3.js → decopilot-BmUbIKrs.js} +1 -1
  89. package/dist/client/assets/{decopilot-sse-pool-D8tR3MTD.js → decopilot-sse-pool-Ct1_UW6D.js} +1 -1
  90. package/dist/client/assets/{dialog-RRPWwqaQ.js → dialog-fRprLEhn.js} +1 -1
  91. package/dist/client/assets/{domain-settings-CtXa1jf3.js → domain-settings-z8x2a3yI.js} +1 -1
  92. package/dist/client/assets/{drawer-DJfZ0VmD.js → drawer-BK13Nuy8.js} +1 -1
  93. package/dist/client/assets/{dropdown-menu-DDhytuEd.js → dropdown-menu-sPU_Xw0y.js} +1 -1
  94. package/dist/client/assets/{empty-state-CtsFp5nF.js → empty-state-D4vz7sAz.js} +1 -1
  95. package/dist/client/assets/{extract-connection-data-DI_Hy6px.js → extract-connection-data-UsNBmqW8.js} +1 -1
  96. package/dist/client/assets/{file-explorer-D1P9uacX.js → file-explorer-Bd_22RPw.js} +1 -1
  97. package/dist/client/assets/{file-type-icon-CBM2EyFd.js → file-type-icon-QdIQBEjI.js} +1 -1
  98. package/dist/client/assets/{files-DdTksaS8.js → files-BkGmR0AO.js} +1 -1
  99. package/dist/client/assets/{form-BylSC3lX.js → form-Cciq6tIX.js} +1 -1
  100. package/dist/client/assets/{general-DGX6oTcl.js → general-DcAHMO7L.js} +1 -1
  101. package/dist/client/assets/{github-repo-picker-J64_EPEa.js → github-repo-picker-Bo3EK1uO.js} +1 -1
  102. package/dist/client/assets/{hooks-B4JA5-D1.js → hooks-G0kJppE-.js} +1 -1
  103. package/dist/client/assets/{index-jUZDCPpZ.js → index-5tWfdRb-.js} +1 -1
  104. package/dist/client/assets/{index-B3JJ62uP.js → index-B1h3Rb7u.js} +1 -1
  105. package/dist/client/assets/{index-CC3_vx1n.js → index-B4ybF-Jh.js} +1 -1
  106. package/dist/client/assets/{index-DHu9eqr8.js → index-BJ4F5Cgi.js} +1 -1
  107. package/dist/client/assets/{index-8heN4TLW.js → index-BOeQzDmj.js} +1 -1
  108. package/dist/client/assets/{index-DACIolxc.js → index-BURNjU1u.js} +1 -1
  109. package/dist/client/assets/{index-5AaNNafz.js → index-BUtSNxMV.js} +3 -3
  110. package/dist/client/assets/{index-DTx-RDv5.js → index-BzYmCclH.js} +1 -1
  111. package/dist/client/assets/{index-DKXcf6uO.js → index-C8pUNf9d.js} +1 -1
  112. package/dist/client/assets/{index-CZfoQE-0.js → index-CG-jn-0q.js} +1 -1
  113. package/dist/client/assets/index-CLM-5yf3.js +513 -0
  114. package/dist/client/assets/{index-C7SCPFX7.js → index-CMw-30pH.js} +1 -1
  115. package/dist/client/assets/{index-DEenRZAo.js → index-D8DZXmXW.js} +1 -1
  116. package/dist/client/assets/{index-Bxu03H5X.js → index-SinsnlPg.js} +1 -1
  117. package/dist/client/assets/{index-redirect-KOsw3DwK.js → index-redirect-CnIqCBs5.js} +1 -1
  118. package/dist/client/assets/{input-BAz505sI.js → input-CVpmA2Kz.js} +1 -1
  119. package/dist/client/assets/{integration-icon-DtLxCtgy.js → integration-icon-DN2_9kxR.js} +1 -1
  120. package/dist/client/assets/{invite-member-dialog-BDVAAQIu.js → invite-member-dialog-DoItRcGW.js} +1 -1
  121. package/dist/client/assets/{label-BALEyZ3d.js → label-CHYsX_t_.js} +1 -1
  122. package/dist/client/assets/{library-tab-Ds5fpIQF.js → library-tab-Bsgpjy35.js} +1 -1
  123. package/dist/client/assets/{login-DPGDZC34.js → login-eX2LrEPi.js} +1 -1
  124. package/dist/client/assets/{mcp-oauth-CXxRaWx9.js → mcp-oauth-SYbSLgYN.js} +1 -1
  125. package/dist/client/assets/{members-Bape-XGh.js → members-DdtN3bGm.js} +1 -1
  126. package/dist/client/assets/{monaco-editor-qr3YxpgD.js → monaco-editor-DdObp8MJ.js} +1 -1
  127. package/dist/client/assets/{monitoring-stats-row-DHs40KAy.js → monitoring-stats-row-CLTH09T0.js} +1 -1
  128. package/dist/client/assets/{oauth-callback-DAEXXBSA.js → oauth-callback-CTAFn26d.js} +1 -1
  129. package/dist/client/assets/{oauth-callback-ai-provider-DGzIC1E3.js → oauth-callback-ai-provider-Ba2WeI6r.js} +1 -1
  130. package/dist/client/assets/{onboarding-BQNZ1j24.js → onboarding-DlHZ-Su3.js} +1 -1
  131. package/dist/client/assets/{org-install-cdxFoHPK.js → org-install-DI0N3Yqx.js} +1 -1
  132. package/dist/client/assets/{org-layout-MlmaWu50.js → org-layout-CsvIFjMG.js} +1 -1
  133. package/dist/client/assets/{organization-choice-CCNhBIVu.js → organization-choice-uMvBpR1W.js} +1 -1
  134. package/dist/client/assets/{page-seo-form-B9WRtqtD.js → page-seo-form-DkJGxvT4.js} +1 -1
  135. package/dist/client/assets/page-seo-sheet-e5hks3lZ.js +1 -0
  136. package/dist/client/assets/{popover-QpTPPo-c.js → popover-leYVnzzq.js} +1 -1
  137. package/dist/client/assets/{post-editor-DrsCS-yJ.js → post-editor-BbMPNeY8.js} +1 -1
  138. package/dist/client/assets/{primitives-BjlgEPjn.js → primitives-BMqbH9T1.js} +1 -1
  139. package/dist/client/assets/{profile-BJ8vtOlo.js → profile-DJtsX_gg.js} +1 -1
  140. package/dist/client/assets/project-app-view-4fI2e2P9.js +1 -0
  141. package/dist/client/assets/record-editor-DuRqUeJW.js +1 -0
  142. package/dist/client/assets/registry-BOBWp4Rn.js +2 -0
  143. package/dist/client/assets/{registry-layout-ksLcOWzv.js → registry-layout-DUqvgFRD.js} +1 -1
  144. package/dist/client/assets/{require-capability-C2pr3gWk.js → require-capability-B4WZYZM4.js} +1 -1
  145. package/dist/client/assets/{required-auth-layout-BIsgDBTS.js → required-auth-layout-BGUbgKtE.js} +1 -1
  146. package/dist/client/assets/{reset-password-5xoBMew1.js → reset-password-BmozYPOY.js} +1 -1
  147. package/dist/client/assets/{roles-CTVYbrPK.js → roles-DaQkY_HN.js} +1 -1
  148. package/dist/client/assets/{scroll-area-B7g9A0xO.js → scroll-area-dCf_ML-5.js} +1 -1
  149. package/dist/client/assets/{search-input-Cn-k-Sr0.js → search-input-CgRadFHi.js} +1 -1
  150. package/dist/client/assets/{secrets-01-N-EoG.js → secrets-BK3hZvS4.js} +1 -1
  151. package/dist/client/assets/{sections-editor-FTn-qJ5h.js → sections-editor-CRAmv7O4.js} +1 -1
  152. package/dist/client/assets/{select-DMOL9nTa.js → select-CRwP8DNI.js} +1 -1
  153. package/dist/client/assets/{select-model-DJ7qLHls.js → select-model-vYsEfmhg.js} +1 -1
  154. package/dist/client/assets/{seo-editor-CJg20m-v.js → seo-editor-sG5N6UB0.js} +1 -1
  155. package/dist/client/assets/{settings-layout-C-lnHpnd.js → settings-layout-CkBMH0P4.js} +1 -1
  156. package/dist/client/assets/{settings-section-knuBYiSB.js → settings-section-uwWu-APP.js} +1 -1
  157. package/dist/client/assets/{sheet-B1hdeTXZ.js → sheet-DtNuWaQa.js} +1 -1
  158. package/dist/client/assets/{shell-controls-DGQEgSmu.js → shell-controls-BF0ZsNdF.js} +1 -1
  159. package/dist/client/assets/{shell-layout-BzrEGgvG.js → shell-layout-CFR90kZQ.js} +1 -1
  160. package/dist/client/assets/{sidebar-BZHqZbJ1.js → sidebar-IpepvLp_.js} +1 -1
  161. package/dist/client/assets/{skeleton-C1g3sLzc.js → skeleton-Dp2Vqkiu.js} +1 -1
  162. package/dist/client/assets/{sso-BRP47dTR.js → sso-DVCuwIPw.js} +1 -1
  163. package/dist/client/assets/{store-COqKQ01f.js → store-DdDejNZs.js} +1 -1
  164. package/dist/client/assets/store-registry-BcIIOkiT.js +2 -0
  165. package/dist/client/assets/{studio-tools-CK3O9apC.js → studio-tools-BBJKqBLb.js} +1 -1
  166. package/dist/client/assets/{switch-CTqoacsA.js → switch-CGRWKftH.js} +1 -1
  167. package/dist/client/assets/{table-D9O3xZPm.js → table-CES495US.js} +1 -1
  168. package/dist/client/assets/{tabs-OKKf4LAY.js → tabs-CF8uQ85g.js} +1 -1
  169. package/dist/client/assets/{task-row-mk4G9x-_.js → task-row-Bh0ziHfN.js} +1 -1
  170. package/dist/client/assets/{task-status-gvDe4NpG.js → task-status-BgxqbUD3.js} +1 -1
  171. package/dist/client/assets/{textarea-BwMDBTqD.js → textarea-DXtj6szK.js} +1 -1
  172. package/dist/client/assets/{toggle-group-CqoGi-AW.js → toggle-group-D2VkNZ7z.js} +1 -1
  173. package/dist/client/assets/{toolbar-Do7hu99P.js → toolbar-BL6j7wlL.js} +1 -1
  174. package/dist/client/assets/{toolbar-icon-button-D8xZWaZ4.js → toolbar-icon-button-zRIr6s4s.js} +1 -1
  175. package/dist/client/assets/{tools-list-D7bHk7AU.js → tools-list-XTSk446L.js} +1 -1
  176. package/dist/client/assets/{tooltip-jwNiafJz.js → tooltip-PSiaLaWJ.js} +1 -1
  177. package/dist/client/assets/{types-Z9nbiCM2.js → types-dxyE9Hx8.js} +1 -1
  178. package/dist/client/assets/{use-ai-providers-CaFOP2gL.js → use-ai-providers-BfSwDb4T.js} +1 -1
  179. package/dist/client/assets/{use-automations-BYB1tBxg.js → use-automations-b_vrwPQ_.js} +1 -1
  180. package/dist/client/assets/{use-capability-BJgOQ1dM.js → use-capability-BrY7n9pF.js} +1 -1
  181. package/dist/client/assets/{use-clock-tick-DiuTRa3m.js → use-clock-tick-DCObx26s.js} +1 -1
  182. package/dist/client/assets/{use-collections-D9VCe-RD.js → use-collections-BkB7fOzG.js} +1 -1
  183. package/dist/client/assets/{use-connection-BsHhz007.js → use-connection-BTrFuX_N.js} +1 -1
  184. package/dist/client/assets/{use-copy-BhkveYAE.js → use-copy-CUt0RcPi.js} +1 -1
  185. package/dist/client/assets/{use-create-virtual-mcp-DL7SpS9p.js → use-create-virtual-mcp-FIJSHCtF.js} +1 -1
  186. package/dist/client/assets/{use-debounced-autosave-CP4G_DMm.js → use-debounced-autosave-DT9RTx36.js} +1 -1
  187. package/dist/client/assets/{use-debounced-value-qurf1YAB.js → use-debounced-value-tBjolHlG.js} +1 -1
  188. package/dist/client/assets/{use-decopilot-events-89JO9cLA.js → use-decopilot-events-CB_ilHxh.js} +1 -1
  189. package/dist/client/assets/{use-delete-connection-CPcnCL2Y.js → use-delete-connection-DRxNkjYZ.js} +1 -1
  190. package/dist/client/assets/{use-file-configs-C37Mzz_w.js → use-file-configs-B_Y4Bta1.js} +1 -1
  191. package/dist/client/assets/{use-infinite-scroll-Dzaxo4bN.js → use-infinite-scroll-ziAI3qTA.js} +1 -1
  192. package/dist/client/assets/{use-join-requests-CPgcKwb5.js → use-join-requests-Cw33iAqx.js} +1 -1
  193. package/dist/client/assets/{use-mcp-client-DAdRU1cY.js → use-mcp-client-ytX3rIBe.js} +1 -1
  194. package/dist/client/assets/{use-mcp-prompts-DbP7dBZf.js → use-mcp-prompts-DGlgK9Vf.js} +1 -1
  195. package/dist/client/assets/{use-mcp-tools-s0H1m2Ok.js → use-mcp-tools-Pie2rBqX.js} +1 -1
  196. package/dist/client/assets/{use-members-BT2wuks0.js → use-members-BFNAbzwS.js} +1 -1
  197. package/dist/client/assets/{use-mobile-CCjACM_-.js → use-mobile-dwrFF7Ga.js} +1 -1
  198. package/dist/client/assets/{use-navigate-to-agent-CMFaBfX6.js → use-navigate-to-agent-3AMa0O2a.js} +1 -1
  199. package/dist/client/assets/{use-org-auth-client-BSqoqb51.js → use-org-auth-client-BUcY_yRN.js} +1 -1
  200. package/dist/client/assets/{use-org-sso-CZi5R7ze.js → use-org-sso--qDPTafN.js} +1 -1
  201. package/dist/client/assets/{use-organization-roles-amhmG5-6.js → use-organization-roles-DDZE7ylp.js} +1 -1
  202. package/dist/client/assets/{use-organization-settings-DJLfSIHV.js → use-organization-settings-DLQ_RcCc.js} +1 -1
  203. package/dist/client/assets/{use-registry-connections-DPtEZCsY.js → use-registry-connections-CE2j8i_H.js} +1 -1
  204. package/dist/client/assets/{use-secrets-CTWIslZA.js → use-secrets-BcayTN5e.js} +1 -1
  205. package/dist/client/assets/{use-status-sounds-Du5pinlF.js → use-status-sounds-DqsU9cpf.js} +1 -1
  206. package/dist/client/assets/{use-view-mode-C9H3mYaP.js → use-view-mode-DaspnYvg.js} +1 -1
  207. package/dist/client/assets/{use-virtual-mcp-B0Bq3-Jt.js → use-virtual-mcp-DoBqiTt8.js} +1 -1
  208. package/dist/client/assets/useInfiniteQuery-DX_yJgCV.js +1 -0
  209. package/dist/client/assets/useSuspenseInfiniteQuery-COveRdn6.js +1 -0
  210. package/dist/client/assets/{useSuspenseQueries-BQ3vTQtS.js → useSuspenseQueries-BeEuUcyy.js} +1 -1
  211. package/dist/client/assets/{variant-calendar-DKaaO6xE.js → variant-calendar-Czyjsj57.js} +1 -1
  212. package/dist/client/assets/{view-mode-toggle-B6q9qYR8.js → view-mode-toggle-Bl026rsL.js} +1 -1
  213. package/dist/client/index.html +1 -1
  214. package/dist/server/cli.js +12 -17
  215. package/dist/server/server.js +2 -2
  216. package/package.json +1 -1
  217. package/dist/client/assets/collection-detail-bmPgPvem.js +0 -1
  218. package/dist/client/assets/index-FLLcVjP1.js +0 -513
  219. package/dist/client/assets/page-seo-sheet-Da6XfVR0.js +0 -1
  220. package/dist/client/assets/project-app-view-DseQWbDi.js +0 -1
  221. package/dist/client/assets/record-editor-DbGexVfp.js +0 -1
  222. package/dist/client/assets/registry-DeMcmcPG.js +0 -2
  223. package/dist/client/assets/store-registry-DkYzijdd.js +0 -2
  224. package/dist/client/assets/useInfiniteQuery-C7fx2naq.js +0 -1
  225. package/dist/client/assets/useSuspenseInfiniteQuery-DpHAMt5e.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decocms",
3
- "version": "4.22.2",
3
+ "version": "4.23.0",
4
4
  "description": "Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools",
5
5
  "author": "Deco team",
6
6
  "repository": {
@@ -1 +0,0 @@
1
- import{c as O,j as t,B as F,i as Y,o as Ge,s as te,E as Pe,r as $,D as re,p as Qe,u as Ye,T as K,t as Xe,l as je,e as le,aW as ke}from"./index-5AaNNafz.js";import{E as Ee}from"./empty-state-CtsFp5nF.js";import{u as Ze,a as Ae}from"./use-collections-D9VCe-RD.js";import{u as ae}from"./use-mcp-client-DAdRU1cY.js";import{F as se,a as et,b as ce,d as de}from"./form-BylSC3lX.js";import{I as me}from"./input-BAz505sI.js";import{T as ie}from"./textarea-BwMDBTqD.js";import{a as tt,b as st,V as ue,O as nt,M as ot}from"./index-jUZDCPpZ.js";import{an as it,C as rt,ac as lt,ao as at,a0 as ct,ap as dt,L as be}from"./agent-icon-K57A0DzY.js";import{g as mt,M as ut,a as Ne}from"./types-Z9nbiCM2.js";import{A as xt,a as pt,b as ft}from"./alert-D12iE_jh.js";import{d as ve,S as Se,a as ye,b as we,c as ne}from"./select-DMOL9nTa.js";import{c as ht,T as Ce,a as Ie,b as $e}from"./tooltip-jwNiafJz.js";import{i as gt}from"./AlertCircle-BWfyWgiw.js";import{s as jt}from"./Stars02-DGriyPK-.js";import{a as bt}from"./Copy01-C_1mrR9P.js";import{i as Nt}from"./Play-C4pBBuTc.js";import{a as Oe,b as Re,B as J,c as G,d as Q,e as _e}from"./breadcrumb-8G_CoEun.js";import{g as vt}from"./connection-slug-eyAPH6o3.js";import{u as St,T as yt}from"./tools-list-D7bHk7AU.js";import{a as De,u as Me}from"./use-connection-BsHhz007.js";import{a as wt}from"./use-mcp-tools-s0H1m2Ok.js";import{c as Ct}from"./content-blocks-o63cs2vh.js";import{I as Te}from"./integration-icon-DtLxCtgy.js";import{j as It,m as $t}from"./chat-context-COllONR2.js";import{b as Tt}from"./shell-layout-BzrEGgvG.js";import{M as Pt}from"./monaco-editor-qr3YxpgD.js";import{n as kt}from"./XCircle-DofnF94J.js";import"./constants-C8_Swa4x.js";import"./auth-D1xUzxIp.js";import"./label-BALEyZ3d.js";import"./index-CC3_vx1n.js";import"./sidebar-BZHqZbJ1.js";import"./LayoutLeft-D_5UU_fl.js";import"./use-mobile-CCjACM_-.js";import"./sheet-B1hdeTXZ.js";import"./X-DY9hR308.js";import"./ZoomOut-B3kimgA9.js";import"./Key01-_0kmrESm.js";import"./extract-connection-data-DI_Hy6px.js";import"./use-registry-connections-DPtEZCsY.js";import"./use-organization-settings-DJLfSIHV.js";import"./studio-tools-CK3O9apC.js";import"./Plus-Cj9kK9tN.js";import"./index-DKXcf6uO.js";import"./index-DEenRZAo.js";import"./index-DHu9eqr8.js";import"./popover-QpTPPo-c.js";import"./use-virtual-mcp-B0Bq3-Jt.js";import"./Check-B2t3_u8j.js";import"./SearchMd-CP9WApAb.js";import"./Users03-Dnn-6pZq.js";import"./use-create-virtual-mcp-DL7SpS9p.js";import"./use-navigate-to-agent-CMFaBfX6.js";import"./Tool01-iIXzQIf6.js";import"./SwitchHorizontal01-a_i15cCW.js";import"./Settings02-Bs74lw7T.js";import"./ArrowUpRight-h5-lNOU3.js";import"./ZapSquare-B7pUKk1h.js";import"./CheckCircle-Cd9sCPj_.js";import"./ChevronDown-CJGVvA9G.js";import"./ChevronRight-SxNLyRA0.js";import"./ChevronUp-Cfv8kwOP.js";import"./Circle-CmWJQsR2.js";import"./Loading02-D5Q9o2ML.js";import"./DotsVertical-DQ-r-KXk.js";import"./Globe01-4bI1LBPk.js";import"./Eye-Jd91Hda4.js";import"./FilterLines-C7Zdp7-q.js";import"./Star01-CC3gyOop.js";import"./Globe04-CPnbhr3e.js";import"./HardDrive-WT4IA8YF.js";import"./LinkExternal01-CYx_LjKe.js";import"./List-5nWMXvgZ.js";import"./Monitor01-EVfMwGgl.js";import"./Sun-DszeKWvN.js";import"./Palette-Cg2Il5Mo.js";import"./SearchLg-JSkDDvk4.js";import"./Shield01-DMFwBOtF.js";import"./Stars01-DKD-uu49.js";import"./Trash01-D_xTnQtW.js";import"./Upload01-COCQSA6j.js";import"./User01-DBHhpCM7.js";import"./Users01-BymojQtX.js";import"./XClose-CmiCfuv_.js";import"./Zap-BwbZR_TW.js";import"./mcp-oauth-CXxRaWx9.js";import"./badge-DGFEVFje.js";import"./hooks-B4JA5-D1.js";import"./decopilot-sse-pool-D8tR3MTD.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-CaFOP2gL.js";import"./use-decopilot-events-89JO9cLA.js";import"./tab-id-CLpu897Q.js";import"./avatar-b6IKYKQs.js";import"./dialog-RRPWwqaQ.js";import"./alert-dialog-BuY0O9iQ.js";import"./required-auth-layout-BIsgDBTS.js";import"./use-org-sso-CZi5R7ze.js";import"./index-8heN4TLW.js";function Et(s){const e=O.c(15),{onSave:r,onUndo:o,isDirty:l,isSaving:i,saveLabel:c,undoLabel:d}=s,n=c===void 0?"Save":c,u=d===void 0?"Undo":d;if(!l)return null;let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(it,{size:14}),e[0]=x):x=e[0];let m;e[1]!==i||e[2]!==o||e[3]!==u?(m=t.jsxs(F,{variant:"outline",size:"sm",onClick:o,disabled:i,"aria-label":u,children:[x,u]}),e[1]=i,e[2]=o,e[3]=u,e[4]=m):m=e[4];let p;e[5]!==i?(p=i?t.jsx(Y,{size:14,className:"animate-spin"}):t.jsx(rt,{size:14}),e[5]=i,e[6]=p):p=e[6];let f;e[7]!==i||e[8]!==r||e[9]!==n||e[10]!==p?(f=t.jsxs(F,{variant:"default",size:"sm",onClick:r,disabled:i,"aria-label":n,children:[p,n]}),e[7]=i,e[8]=r,e[9]=n,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:te().min(1),description:te().nullable(),body:te()});function oe(s){for(const e of s.messages??[])if(e.role==="user"&&e.content?.type==="text")return e.content.text??"";return""}function At(){const s=window.location.pathname.split("/").filter(Boolean),e=s.findIndex(o=>o==="mcps"),r=e>=0?s[e+1]:void 0;return r?decodeURIComponent(r):void 0}function Ot(s){const e=O.c(13),{form:r}=s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Details"}),e[0]=o):o=e[0];let l;e[1]!==r.control?(l=t.jsxs("div",{className:"flex flex-col gap-4",children:[o,t.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[t.jsx(se,{control:r.control,name:"title",render:Dt}),t.jsx(se,{control:r.control,name:"description",render:_t})]})]}),e[1]=r.control,e[2]=l):l=e[2];let i,c;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx("div",{className:"text-sm font-medium text-foreground",children:"Message"}),c=t.jsx("div",{className:"text-xs text-muted-foreground",children:"This becomes the user message in the prompt."}),e[3]=i,e[4]=c):(i=e[3],c=e[4]);let d;e[5]!==r.control?(d=t.jsxs("div",{className:"flex flex-col gap-2",children:[i,c,t.jsx(se,{control:r.control,name:"body",render:Rt})]}),e[5]=r.control,e[6]=d):d=e[6];let n;e[7]!==l||e[8]!==d?(n=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:[l,d]}),e[7]=l,e[8]=d,e[9]=n):n=e[9];let u;return e[10]!==r||e[11]!==n?(u=t.jsx(et,{...r,children:n}),e[10]=r,e[11]=n,e[12]=u):u=e[12],u}function Rt(s){const{field:e}=s;return t.jsx(ce,{children:t.jsx(de,{children:t.jsx(ie,{...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 _t(s){const{field:e}=s;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Description"}),t.jsx(de,{children:t.jsx(me,{...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 Dt(s){const{field:e}=s;return t.jsxs(ce,{children:[t.jsx("div",{className:"text-xs text-muted-foreground",children:"Title"}),t.jsx(de,{children:t.jsx(me,{...e,placeholder:"Untitled prompt",className:"h-9 rounded-lg border border-border bg-muted/20 shadow-none focus-visible:ring-0"})})]})}function Mt(s){const e=O.c(36),{providerId:r,promptId:o}=s,{org:l}=re(),i=r||null;let c;e[0]!==l.id||e[1]!==l.slug||e[2]!==i?(c={connectionId:i,orgId:l.id,orgSlug:l.slug},e[0]=l.id,e[1]=l.slug,e[2]=i,e[3]=c):c=e[3];const d=ae(c),n=Ze(r,"PROMPT",o,d),u=Ae(r,"PROMPT",d),x=u.update.isPending;let m;e[4]!==n?(m=n?{title:n.title,description:n.description??null,body:oe(n)}:void 0,e[4]=n,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]!==n?(g=()=>{n&&f.reset({title:n.title,description:n.description??null,body:oe(n)})},e[8]=f,e[9]=n,e[10]=g):g=e[10];const S=g;let C;e[11]!==u.update||e[12]!==f||e[13]!==o?(C=f.handleSubmit(async N=>{const E=await u.update.mutateAsync({id:o,data:{title:N.title,description:N.description,arguments:[],icons:[],messages:[{role:"user",content:{type:"text",text:N.body}}]}});f.reset({title:E.title,description:E.description??null,body:oe(E)})}),e[11]=u.update,e[12]=f,e[13]=o,e[14]=C):C=e[14];const R=C;if(!n){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 I;e[16]!==n.title?(I=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:n.title}),e[16]=n.title,e[17]=I):I=e[17];let k;e[18]!==n.description?(k=n.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:n.description})]}):null,e[18]=n.description,e[19]=k):k=e[19];let T;e[20]!==I||e[21]!==k?(T=t.jsx(st,{children:t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[I,k]})}),e[20]=I,e[21]=k,e[22]=T):T=e[22];let b;e[23]!==R?(b=()=>{R()},e[23]=R,e[24]=b):b=e[24];let y;e[25]!==f.formState.isDirty||e[26]!==x||e[27]!==S||e[28]!==b?(y=t.jsx(tt,{children:t.jsx(Et,{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]=y):y=e[29];let w;e[30]!==f?(w=t.jsx("div",{className:"h-full",children:t.jsx(Ot,{form:f})}),e[30]=f,e[31]=w):w=e[31];let P;return e[32]!==y||e[33]!==w||e[34]!==T?(P=t.jsxs(ue,{children:[T,y,w]}),e[32]=y,e[33]=w,e[34]=T,e[35]=P):P=e[35],P}function zt(s){const e=O.c(4),{itemId:r}=s;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=At(),e[0]=o):o=e[0];const l=o;if(!l){let c;return e[1]===Symbol.for("react.memo_cache_sentinel")?(c=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]=c):c=e[1],c}let i;return e[2]!==r?(i=t.jsx(Pe,{children:t.jsx($.Suspense,{fallback:null,children:t.jsx(Mt,{providerId:l,promptId:r})})}),e[2]=r,e[3]=i):i=e[3],i}const Lt=s=>s.replace(/_/g," ").replace(/\b\w/g,e=>e.toLocaleLowerCase());function Ut(s){const e=O.c(11),{toolName:r,connectionId:o,siblings:l,onSelectInstance:i,onBack:c}=s;let d;e[0]!==o?(d={connectionId:o},e[0]=o,e[1]=d):d=e[1];const n=St(d);if(!n.isAuthenticated){let m;return e[2]!==n.supportsOAuth||e[3]!==c?(m=t.jsx("div",{className:"flex h-full items-center justify-center",children:n.supportsOAuth?t.jsx(nt,{onAuthenticate:()=>c(),buttonText:"Go back to authenticate"}):t.jsx(ot,{hasReadme:!1})}),e[2]=n.supportsOAuth,e[3]=c,e[4]=m):m=e[4],m}const u=`${o}:${r}`;let x;return e[5]!==o||e[6]!==i||e[7]!==l||e[8]!==u||e[9]!==r?(x=t.jsx(Bt,{toolName:r,connectionId:o,siblings:l,onSelectInstance:i},u),e[5]=o,e[6]=i,e[7]=l,e[8]=u,e[9]=r,e[10]=x):x=e[10],x}function Bt({toolName:s,connectionId:e,siblings:r,onSelectInstance:o}){const{replayId:l}=Ye({strict:!1}),i=(()=>{if(!l)return null;const a=`replay-${l}`,h=sessionStorage.getItem(a);if(!h)return null;sessionStorage.removeItem(a);try{return JSON.parse(h)}catch{return null}})(),c=(()=>{if(!i)return null;const a={};for(const[h,v]of Object.entries(i))v!==null&&typeof v=="object"?a[h]=JSON.stringify(v,null,2):a[h]=v;return a})(),[d,n]=$.useState(c??{}),[u,x]=$.useState(i?JSON.stringify(i,null,2):"{}"),[m,p]=$.useState(null),[f,g]=$.useState(null),[S,C]=$.useState(null),[R,I]=$.useState(null),[k,T]=$.useState(!1),[b,y]=$.useState(null),{org:w}=re(),P=De(e),N=It(),E=$t(),{setChatOpen:U}=Tt(),z=`${e}:${s}`,_=ae({connectionId:e,orgId:w.id,orgSlug:w.slug}),L=wt({client:_}),j=L.data?.tools?.find(a=>a.name===s),A=mt(j?._meta),V=a=>{if(!N)return;const h=Ct(a.content);h.content.length>0&&(U(!0),N.sendMessage({tiptapDoc:h}))},[D,X]=$.useState("json"),[ze,Le]=$.useState(!1);A&&!ze&&(X("ui"),Le(!0));const xe=j?.inputSchema?.properties,pe=xe?Object.keys(xe):[],q=pe.length>0,H={};if(q&&j?.inputSchema?.properties)for(const a of pe)H[a]=j.inputSchema.required?.includes(a)?"":void 0;const Z=a=>Object.prototype.hasOwnProperty.call(d,a),Ue=async()=>{T(!0),I(null),p(null),g(null),C(null),y(null);const a=performance.now();try{if(!_)throw new Error("MCP client is not available");const h=q?{...H,...d}:(()=>{const M=u.trim();if(!M)return{};const B=JSON.parse(M);if(B&&typeof B=="object")return B;throw new Error("Raw JSON input must be an object.")})();q&&j?.inputSchema?.properties&&Object.entries(j.inputSchema.properties).forEach(([M,B])=>{if((B.type==="object"||B.type==="array")&&typeof h[M]=="string")try{h[M]=JSON.parse(h[M])}catch{}else if((B.type==="number"||B.type==="integer")&&typeof h[M]=="string"&&h[M]!==""){const ge=Number(h[M]);Number.isNaN(ge)||(h[M]=ge)}});const v=await _.callTool({name:s,arguments:h}),W=v.structuredContent??v,He=performance.now(),We=Math.round(He-a);p(W),g(v),C(h);const Ke=JSON.stringify(W),he=new TextEncoder().encode(Ke).length;y({duration:`${We}ms`,bytes:`${he} bytes`,tokens:`~${Math.ceil(he/4)} tokens`,cost:"$0.0000"})}catch(h){const v=h instanceof Error?h.message:String(h);I(v||"Unknown error occurred");const W=performance.now();y({duration:`${Math.round(W-a)}ms`})}finally{T(!1)}},ee=(a,h)=>{n(v=>({...v,[a]:h}))},Be=()=>{p(null),g(null),C(null),I(null),y(null)},Fe=j?.name??Lt(s),Ve=t.jsx(Oe,{children:t.jsxs(Re,{children:[t.jsx(J,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections",params:{org:w.slug},children:"Connections"})})}),t.jsx(Q,{}),P&&t.jsxs(t.Fragment,{children:[t.jsx(J,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections/$appSlug",params:{org:w.slug,appSlug:vt(P)},search:{tab:"tools"},children:P.title})})}),t.jsx(Q,{})]}),t.jsx(J,{children:t.jsx(_e,{children:Fe})})]})}),fe=r.length>1&&t.jsxs(ve,{value:e,onValueChange:o,children:[t.jsx(Se,{className:"h-8 w-auto min-w-[200px]",children:t.jsx(ye,{})}),t.jsx(we,{children:r.map(a=>t.jsx(ne,{value:a.id,children:t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx(Te,{icon:a.icon,name:a.title,size:"xs",className:"shrink-0"}),a.title]})},a.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-red-500",children:"*"})," Required"]})]}),t.jsx("div",{className:"space-y-4",children:q&&j?.inputSchema?.properties?Object.entries(j.inputSchema.properties).map(([a,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:[a,j.inputSchema?.required?.includes(a)&&t.jsx("span",{className:"text-red-500 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(ie,{className:"font-mono text-xs",value:Z(a)?d[a]??"":H[a]??"",onChange:v=>ee(a,v.target.value),placeholder:`Enter ${a} as JSON...`,rows:3}):h.type==="boolean"?t.jsxs(ve,{value:Z(a)?String(d[a]??""):"",onValueChange:v=>ee(a,v==="true"),children:[t.jsx(Se,{children:t.jsx(ye,{placeholder:"Select true or false..."})}),t.jsxs(we,{children:[t.jsx(ne,{value:"true",children:"true"}),t.jsx(ne,{value:"false",children:"false"})]})]}):t.jsx(me,{value:Z(a)?d[a]??"":H[a]??"",onChange:v=>ee(a,v.target.value),placeholder:`Enter ${a}...`})]},a)):j?.inputSchema&&!q?t.jsxs("div",{className:"space-y-2",children:[t.jsx("label",{className:"text-sm font-medium",children:"Raw JSON Input"}),t.jsx(ie,{className:"font-mono text-xs min-h-[120px]",value:u,onChange:a=>x(a.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:k?t.jsxs(F,{size:"sm",variant:"destructive",className:"h-8 gap-2",onClick:Be,children:[t.jsx(lt,{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(Nt,{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(jt,{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(at,{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(ct,{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})})]}),A&&t.jsx(ht,{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:D==="ui"?"secondary":"ghost",className:"h-8 w-8",onClick:()=>X("ui"),children:t.jsx(dt,{size:14})})}),t.jsx($e,{children:"Interactive view"})]}),t.jsxs(Ce,{children:[t.jsx(Ie,{asChild:!0,children:t.jsx(F,{size:"icon",variant:D==="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(xt,{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(gt,{className:"h-4 w-4"}),t.jsx(pt,{className:"mb-0",children:"Execution Failed"})]}),t.jsx(ft,{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:A&&D==="ui"&&_?t.jsx($.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(ut,{resourceURI:A,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:V,onUpdateModelContext:a=>E?.setAppContext(z,a),onTeardown:()=>E?.clearAppContext(z),className:"h-full"})}):m?t.jsxs(t.Fragment,{children:[t.jsx(Pt,{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(bt,{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(ue,{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:P?.icon||null,name:P?.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-green-500 animate-pulse shrink-0"}):L.isLoading?t.jsx(Y,{size:10,className:"animate-spin text-yellow-500 shrink-0"}):t.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-red-500 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(yt,{annotations:j?.annotations,_meta:j?._meta}),t.jsx("div",{className:"hidden @3xl:flex items-center ml-auto shrink-0",children:fe})]}),t.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:j?.description||"No description available"})]}),r.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"}),fe]}),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 Ft(s){const e=O.c(10),{itemId:r,siblings:o,onBack:l}=s,[i,c]=$.useState(o[0]?.id??"");let d;e[0]!==i||e[1]!==o?(d=o.find(p=>p.id===i)?.id??o[0]?.id??"",e[0]=i,e[1]=o,e[2]=d):d=e[2];const n=d;if(!De(n||void 0)||!n){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]!==n||e[6]!==l||e[7]!==o||e[8]!==r?(m=t.jsx($.Suspense,{fallback:x,children:t.jsx(Ut,{toolName:r,connectionId:n,siblings:o,onSelectInstance:c,onBack:l})}),e[5]=n,e[6]=l,e[7]=o,e[8]=r,e[9]=m):m=e[9],m}function Vt(s){const e=O.c(21),{icon:r,illustration:o,title:l,description:i,buttonProps:c,buttonComponent:d,className:n,children:u}=s;let x;e[0]!==n?(x=je("flex flex-col items-center justify-center py-16 text-center",n),e[0]=n,e[1]=x):x=e[1];let m;e[2]!==r||e[3]!==o?(m=o?t.jsx("div",{className:"mb-4 text-muted-foreground/50",children:o}):r?t.jsx("div",{className:"mb-4 flex h-12 w-12 items-center justify-center rounded-xl bg-muted/50 text-muted-foreground",children:r}):null,e[2]=r,e[3]=o,e[4]=m):m=e[4];let p;e[5]!==l?(p=t.jsx("h3",{className:"text-sm font-semibold text-foreground",children:l}),e[5]=l,e[6]=p):p=e[6];let f;e[7]!==i?(f=i&&t.jsx("div",{className:"text-sm text-muted-foreground",children:i}),e[7]=i,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]!==d||e[13]!==c?(S=(d??c)&&t.jsx("div",{className:"mt-4",children:d??(c&&t.jsx(F,{size:"sm",className:je(c?.className),...c}))}),e[12]=d,e[13]=c,e[14]=S):S=e[14];let C;return e[15]!==u||e[16]!==x||e[17]!==m||e[18]!==g||e[19]!==S?(C=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]=C):C=e[20],C}const Jt={prompt:zt};function qt(){const s=O.c(9),e=ke();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=le(r),l=decodeURIComponent(o.itemId);let i;s[1]!==o.appSlug?(i={slug:o.appSlug},s[1]=o.appSlug,s[2]=i):i=s[2];const c=Me(i);let d;s[3]!==e.history?(d=()=>{e.history.back()},s[3]=e.history,s[4]=d):d=s[4];const n=d,u=Ht;let x;return s[5]!==n||s[6]!==l||s[7]!==c?(x=t.jsx(Ft,{itemId:l,siblings:c,onBack:n,onUpdate:u}),s[5]=n,s[6]=l,s[7]=c,s[8]=x):x=s[8],x}async function Ht(s){return Promise.resolve()}function Wt(s){return s.toLowerCase().split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function Kt(){const s=O.c(41),e=ke();let r;s[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/connections/$appSlug/$collectionName/$itemId"},s[0]=r):r=s[0];const o=le(r),l=decodeURIComponent(o.collectionName),i=decodeURIComponent(o.itemId);let c;s[1]!==e.history?(c=()=>{e.history.back()},s[1]=e.history,s[2]=c):c=s[2];const d=c,{org:n}=re();let u;s[3]!==o.appSlug?(u={slug:o.appSlug},s[3]=o.appSlug,s[4]=u):u=s[4];const m=Me(u)[0]??null,p=m?.id??"",f=p||"no-connection",g=p??null;let S;s[5]!==n.id||s[6]!==n.slug||s[7]!==g?(S={connectionId:g,orgId:n.id,orgSlug:n.slug},s[5]=n.id,s[6]=n.slug,s[7]=g,s[8]=S):S=s[8];const C=ae(S),R=Ae(f,l,C);let I;s[9]!==R||s[10]!==i?(I=async D=>{i&&await R.update.mutateAsync({id:i,data:D})},s[9]=R,s[10]=i,s[11]=I):I=s[11];const k=I;let T;s[12]!==l?(T=l?.toLowerCase(),s[12]=l,s[13]=T):T=s[13];const b=T,y=b&&Jt[b];let w;s[14]!==l?(w=Wt(l),s[14]=l,s[15]=w):w=s[15];const P=w;let N;s[16]!==n.slug?(N=t.jsx(J,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections",params:{org:n.slug},children:"Connections"})})}),s[16]=n.slug,s[17]=N):N=s[17];let E;s[18]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsx(Q,{}),s[18]=E):E=s[18];let U;s[19]!==l||s[20]!==m||s[21]!==n.slug||s[22]!==o.appSlug?(U=m&&t.jsxs(t.Fragment,{children:[t.jsx(J,{children:t.jsx(G,{asChild:!0,children:t.jsx(K,{to:"/$org/settings/connections/$appSlug",params:{org:n.slug,appSlug:o.appSlug},search:{tab:l},children:m.title})})}),t.jsx(Q,{})]}),s[19]=l,s[20]=m,s[21]=n.slug,s[22]=o.appSlug,s[23]=U):U=s[23];let z;s[24]!==P?(z=t.jsx(J,{children:t.jsx(_e,{children:P})}),s[24]=P,s[25]=z):z=s[25];let _;s[26]!==U||s[27]!==z||s[28]!==N?(_=t.jsx(Oe,{children:t.jsxs(Re,{children:[N,E,U,z]})}),s[26]=U,s[27]=z,s[28]=N,s[29]=_):_=s[29];const L=_;if(y){let D;return s[30]!==y||s[31]!==d||s[32]!==k||s[33]!==i?(D=t.jsx(y,{itemId:i,onBack:d,onUpdate:k}),s[30]=y,s[31]=d,s[32]=k,s[33]=i,s[34]=D):D=s[34],D}let j;s[35]===Symbol.for("react.memo_cache_sentinel")?(j=t.jsx(kt,{size:36,className:"text-muted-foreground"}),s[35]=j):j=s[35];let A;s[36]!==d?(A=t.jsx(Vt,{icon:j,title:"No component defined",description:"No component for this collection was defined",buttonProps:{onClick:d,children:"Go back"}}),s[36]=d,s[37]=A):A=s[37];let V;return s[38]!==L||s[39]!==A?(V=t.jsx(ue,{breadcrumb:L,children:A}),s[38]=L,s[39]=A,s[40]=V):V=s[40],V}function Gt(){const s=O.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 r=le(e);if(decodeURIComponent(r.collectionName)==="tools"){let c;return s[1]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(qt,{}),s[1]=c):c=s[1],c}let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(Kt,{}),s[2]=i):i=s[2],i}function Jn(){const s=O.c(1);let e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=t.jsx(Pe,{children:t.jsx($.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(Gt,{})})}),s[0]=e):e=s[0],e}export{Jn as default};