decocms 4.39.2 → 4.40.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 (222) hide show
  1. package/dist/client/assets/{AlertCircle-BW1-B4Md.js → AlertCircle-BQoAJ7Pc.js} +1 -1
  2. package/dist/client/assets/{ArrowUpRight-vob7XflZ.js → ArrowUpRight-CfcRtZ8o.js} +1 -1
  3. package/dist/client/assets/{Check-DC6De1xk.js → Check-ByMMRPdN.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-BULeFBaI.js → CheckCircle-uSDvDj68.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-QXGqDUHD.js → ChevronDown-Ds93wwRe.js} +1 -1
  6. package/dist/client/assets/{ChevronRight-CjQUacTD.js → ChevronRight-BUqzT2AZ.js} +1 -1
  7. package/dist/client/assets/{ChevronUp-BQ8y4zrW.js → ChevronUp-hSMVM7_9.js} +1 -1
  8. package/dist/client/assets/{Circle-Dr-DwW_m.js → Circle-CIBa1C-R.js} +1 -1
  9. package/dist/client/assets/{Copy01-B2wQaSyc.js → Copy01-Dn74k5DV.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-OkDrvocZ.js → DotsVertical-OqISO6nN.js} +1 -1
  11. package/dist/client/assets/{Eye-Q0QOTjpD.js → Eye-DMTaYgfE.js} +1 -1
  12. package/dist/client/assets/{FilterLines-SlKhWVjw.js → FilterLines-BmSHEouM.js} +1 -1
  13. package/dist/client/assets/{Globe01-DJ_01fPZ.js → Globe01-DCyvmziv.js} +1 -1
  14. package/dist/client/assets/{Globe04-DLHCNtA1.js → Globe04-iXXVu6cY.js} +1 -1
  15. package/dist/client/assets/{HardDrive-BGy2akhQ.js → HardDrive-BOMqphCJ.js} +1 -1
  16. package/dist/client/assets/{Key01-CppfmHRV.js → Key01-CyxwtgAw.js} +1 -1
  17. package/dist/client/assets/{LayoutLeft-CyfVmOH-.js → LayoutLeft-Lv2ZhZwN.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-BgcxK-6I.js → LinkExternal01-CqYi3PbY.js} +1 -1
  19. package/dist/client/assets/{List-vl1Tuhcg.js → List-CjQLqVV2.js} +1 -1
  20. package/dist/client/assets/{Loading02-BbHSmcdb.js → Loading02-Br4Qsbis.js} +1 -1
  21. package/dist/client/assets/{Monitor01-Cyak-pL7.js → Monitor01-Dj7mHFbg.js} +1 -1
  22. package/dist/client/assets/{Palette-BGDcb2dN.js → Palette-CYfpdldc.js} +1 -1
  23. package/dist/client/assets/{Play-BrciZ_ES.js → Play-Ct1jkZWO.js} +1 -1
  24. package/dist/client/assets/{Plus-4YDlLdcR.js → Plus-BdYdKkzh.js} +1 -1
  25. package/dist/client/assets/{SearchLg-BzsaRPRS.js → SearchLg-BKceB_7Q.js} +1 -1
  26. package/dist/client/assets/{SearchMd-DkvUgk4F.js → SearchMd-CIebSZD2.js} +1 -1
  27. package/dist/client/assets/{Settings02-CvJhDLPL.js → Settings02-CO032VQ5.js} +1 -1
  28. package/dist/client/assets/{Shield01-BrpI1XTc.js → Shield01-BOKAaJ_3.js} +1 -1
  29. package/dist/client/assets/{Star01-B2SpR9-B.js → Star01-BEjXt6EU.js} +1 -1
  30. package/dist/client/assets/{Stars01-DGruFhqr.js → Stars01-CCdr3QPh.js} +1 -1
  31. package/dist/client/assets/{Stars02-DMQbYCW7.js → Stars02-RAKDMyiv.js} +1 -1
  32. package/dist/client/assets/{Sun-j7hnH45x.js → Sun-CZYFQMTR.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-1HzKyQaU.js → SwitchHorizontal01-ypxOAaEV.js} +1 -1
  34. package/dist/client/assets/{Tool01-t0na3VHE.js → Tool01-BjsyNNOX.js} +1 -1
  35. package/dist/client/assets/{Trash01-BsNNEw27.js → Trash01-CkdTj_48.js} +1 -1
  36. package/dist/client/assets/{Upload01-BfcIJ6YO.js → Upload01-pwMs2gu0.js} +1 -1
  37. package/dist/client/assets/{User01-Dl3NdwOo.js → User01-CJUJXUar.js} +1 -1
  38. package/dist/client/assets/{Users01-is60yTkE.js → Users01-DXfhOPWM.js} +1 -1
  39. package/dist/client/assets/{Users03-VDMI_ZLU.js → Users03-BgboQghl.js} +1 -1
  40. package/dist/client/assets/{X-CkvuVj9B.js → X-BsHMY5bm.js} +1 -1
  41. package/dist/client/assets/{XCircle-DgrryBB2.js → XCircle-C_yScwcR.js} +1 -1
  42. package/dist/client/assets/{XClose-CrWOaDuR.js → XClose-CAJh-urJ.js} +1 -1
  43. package/dist/client/assets/{Zap-P5Rm-aKx.js → Zap-dPP-v905.js} +1 -1
  44. package/dist/client/assets/{ZapSquare-DvH0N_BR.js → ZapSquare-BXCU0Zkc.js} +1 -1
  45. package/dist/client/assets/{ZoomOut-OxfhRJxZ.js → ZoomOut-Z_A5DKtk.js} +1 -1
  46. package/dist/client/assets/{access-gate-D3TdoD4u.js → access-gate-AdoS_2mp.js} +1 -1
  47. package/dist/client/assets/{add-section-modal-C70lNwgc.js → add-section-modal-D_ZZ5oen.js} +1 -1
  48. package/dist/client/assets/{agent-capabilities-D5kVLG8R.js → agent-capabilities-Bbkrqncd.js} +1 -1
  49. package/dist/client/assets/{agent-icon-Bs0BuVkl.js → agent-icon-7Bw2_U9B.js} +1 -1
  50. package/dist/client/assets/{agents-list-B1vwPp0U.js → agents-list-B7x2LOrI.js} +1 -1
  51. package/dist/client/assets/{ai-providers-T0bKWbMi.js → ai-providers-Dz-kVb5L.js} +1 -1
  52. package/dist/client/assets/{alert-Bz6z4Rey.js → alert-Bkzkh_iw.js} +1 -1
  53. package/dist/client/assets/{alert-dialog-DB9S8FUA.js → alert-dialog-Byb-84-w.js} +1 -1
  54. package/dist/client/assets/{app-editor-CMpjaqC3.js → app-editor-BHj37cnk.js} +1 -1
  55. package/dist/client/assets/{auth-DYClk83I.js → auth-B4QHxlg3.js} +1 -1
  56. package/dist/client/assets/{auth-catchall-CHNQtUzu.js → auth-catchall-BzSqMvEC.js} +1 -1
  57. package/dist/client/assets/{auth-entry-8gLDaE94.js → auth-entry-D_mlfJVE.js} +1 -1
  58. package/dist/client/assets/{auth-split-layout-CspPJbKo.js → auth-split-layout-B8OLwRqq.js} +1 -1
  59. package/dist/client/assets/{authenticate-and-persist-oauth-DALefCwW.js → authenticate-and-persist-oauth-BnshO0o5.js} +1 -1
  60. package/dist/client/assets/{automation-list-row-xhf9RSAC.js → automation-list-row-BaV_jeUH.js} +1 -1
  61. package/dist/client/assets/{automation-runs-B7odhVhx.js → automation-runs-BTJrtjXJ.js} +1 -1
  62. package/dist/client/assets/{automations-opT2Swfa.js → automations-Biqrif9W.js} +1 -1
  63. package/dist/client/assets/{autosend-C9kWlZNv.js → autosend-DQZl8KyP.js} +1 -1
  64. package/dist/client/assets/{avatar-CvwxVYvX.js → avatar-Btcoxp_w.js} +1 -1
  65. package/dist/client/assets/{badge-D93soDf_.js → badge-Be_N2FuK.js} +1 -1
  66. package/dist/client/assets/{block-document-BtBAsdhb.js → block-document-DxWYxLCB.js} +1 -1
  67. package/dist/client/assets/{brand-context-BlpWyyJn.js → brand-context-Dgf9CN4T.js} +1 -1
  68. package/dist/client/assets/{breadcrumb-DoxO65qP.js → breadcrumb-C8UiQMDq.js} +1 -1
  69. package/dist/client/assets/{buckets-CD0U2qmz.js → buckets-CybWqIzM.js} +1 -1
  70. package/dist/client/assets/{bulk-category-panel-BqMYBzD3.js → bulk-category-panel-BoL-CJ9Q.js} +1 -1
  71. package/dist/client/assets/{calendar-ybcZx_Ro.js → calendar-C4lHCPAe.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-DE4ayr9R.js → capability-load-error-pQOhA0uu.js} +1 -1
  73. package/dist/client/assets/{card-Hloq5yRq.js → card-DhyAaYbH.js} +1 -1
  74. package/dist/client/assets/{category-editor-DY3xQaP1.js → category-editor-Bf6cCUx0.js} +1 -1
  75. package/dist/client/assets/{chat-context-GsoBwl5E.js → chat-context-CSDQ2V59.js} +1 -1
  76. package/dist/client/assets/{checkbox-gNuA5V7Y.js → checkbox-CAOM_6bX.js} +1 -1
  77. package/dist/client/assets/{cli-auth-success-C_-3CP5i.js → cli-auth-success-Dpmw0i2r.js} +1 -1
  78. package/dist/client/assets/{collection-detail-DC6Iulss.js → collection-detail-Dn9SOp1e.js} +1 -1
  79. package/dist/client/assets/{collection-display-button-DkWLtDDR.js → collection-display-button-CHYrGfBD.js} +1 -1
  80. package/dist/client/assets/{collection-search-ve8qWMbx.js → collection-search-Dq5OTSM6.js} +1 -1
  81. package/dist/client/assets/{collection-table-wrapper-CCxnu4Ti.js → collection-table-wrapper-VRqIBkXR.js} +1 -1
  82. package/dist/client/assets/{collection-tabs-Bbz1d_r7.js → collection-tabs-C-L6t4af.js} +1 -1
  83. package/dist/client/assets/{command-CGJwwfWB.js → command-CzaPqse4.js} +1 -1
  84. package/dist/client/assets/{commerce-onboarding-JNI98sJJ.js → commerce-onboarding-CCMdnsEm.js} +1 -1
  85. package/dist/client/assets/{connect-desktop-dialog-BfK5P8nV.js → connect-desktop-dialog-B05P9T9A.js} +1 -1
  86. package/dist/client/assets/{connection-card-Do7Cpr6X.js → connection-card-uIsG5TxJ.js} +1 -1
  87. package/dist/client/assets/{connection-detail-CEL21J6D.js → connection-detail-BdYVs7Y7.js} +1 -1
  88. package/dist/client/assets/{connection-form-helpers-DIbopZD5.js → connection-form-helpers-BEcWB5x3.js} +1 -1
  89. package/dist/client/assets/{connections-ZVDxyDYH.js → connections-Can6s0sB.js} +1 -1
  90. package/dist/client/assets/{decopilot-sse-pool-BT9lg0Dy.js → decopilot-sse-pool-C_JJ7Vcr.js} +1 -1
  91. package/dist/client/assets/{dialog-CobPBEs7.js → dialog-DCS2OMH4.js} +1 -1
  92. package/dist/client/assets/{domain-settings-kQGt2lwQ.js → domain-settings-DWf_GZRj.js} +1 -1
  93. package/dist/client/assets/{drawer-5JNtj6A5.js → drawer-3OE7N_2G.js} +1 -1
  94. package/dist/client/assets/{dropdown-menu-BV_GIL2m.js → dropdown-menu-DcvaX3-F.js} +1 -1
  95. package/dist/client/assets/{empty-state-Coto3adU.js → empty-state-hC3dFQXj.js} +1 -1
  96. package/dist/client/assets/{extract-connection-data-vwDZJGL0.js → extract-connection-data-qlF7ZWrt.js} +1 -1
  97. package/dist/client/assets/{file-explorer-CU6wI7Xx.js → file-explorer-QRM6gqgi.js} +1 -1
  98. package/dist/client/assets/{file-type-icon-ANQHL2V8.js → file-type-icon-DOhIggRJ.js} +1 -1
  99. package/dist/client/assets/{files-D3TsopOn.js → files-DMPByaM3.js} +1 -1
  100. package/dist/client/assets/{form-B-TW6fpF.js → form-TXHpDJV5.js} +1 -1
  101. package/dist/client/assets/{general-2InKCbEb.js → general-CBUVeNez.js} +1 -1
  102. package/dist/client/assets/{github-repo-picker-MGilncKc.js → github-repo-picker-ks7lf0Ye.js} +1 -1
  103. package/dist/client/assets/{hooks-DCNOmeRd.js → hooks-BQcGIBer.js} +1 -1
  104. package/dist/client/assets/{index-Bpi-Lza9.js → index-2kogngRp.js} +1 -1
  105. package/dist/client/assets/{index-BwfCj1On.js → index-7o2IzKac.js} +1 -1
  106. package/dist/client/assets/{index-Cz-bHuP4.js → index-AQ-qvM9M.js} +28 -28
  107. package/dist/client/assets/{index-uBaz9lco.js → index-BS7P87_E.js} +1 -1
  108. package/dist/client/assets/{index-Bd1ICC2Y.js → index-B_hBmOqK.js} +1 -1
  109. package/dist/client/assets/{index-BFtsPi4U.js → index-BbP2mJoY.js} +1 -1
  110. package/dist/client/assets/{index-5mkPDxy9.js → index-BveuunA1.js} +1 -1
  111. package/dist/client/assets/index-C2ybUFaX.css +1 -0
  112. package/dist/client/assets/{index-BMJOqYc5.js → index-CN-uq_6E.js} +1 -1
  113. package/dist/client/assets/{index-chZlr3-f.js → index-CXah3T6b.js} +1 -1
  114. package/dist/client/assets/{index-C9Gl6KeA.js → index-CZiyq9bL.js} +10 -10
  115. package/dist/client/assets/{index-W_YJRAbC.js → index-CbYZTRTc.js} +1 -1
  116. package/dist/client/assets/{index-BXb6AEaP.js → index-DBpZEK7p.js} +1 -1
  117. package/dist/client/assets/{index-CRztbfUj.js → index-Jx11C7Wo.js} +1 -1
  118. package/dist/client/assets/{index-redirect-DDnAukA4.js → index-redirect-D0BYIrK2.js} +1 -1
  119. package/dist/client/assets/{index-BT3K9z3D.js → index-v5fWJqXW.js} +1 -1
  120. package/dist/client/assets/{input-C5DOJlr2.js → input-DnW5bl5u.js} +1 -1
  121. package/dist/client/assets/{integration-icon-BC2bEVKO.js → integration-icon-BSkS97aB.js} +1 -1
  122. package/dist/client/assets/{invite-member-dialog-X1GaExMM.js → invite-member-dialog-BaE04Tgl.js} +1 -1
  123. package/dist/client/assets/{label-B3wl5KEi.js → label-DeNhnW1K.js} +1 -1
  124. package/dist/client/assets/{login-Ceb1iqmQ.js → login-D7-Umlvc.js} +1 -1
  125. package/dist/client/assets/{mcp-oauth-B89F3ulG.js → mcp-oauth-B6n4lY5H.js} +1 -1
  126. package/dist/client/assets/{members-DQcFe6qJ.js → members-D6b_SyPY.js} +1 -1
  127. package/dist/client/assets/{monaco-editor-C3wWC33S.js → monaco-editor-CP8nMfPS.js} +1 -1
  128. package/dist/client/assets/{monitoring-stats-row-B4NHA3Ou.js → monitoring-stats-row-Bx24pOuR.js} +1 -1
  129. package/dist/client/assets/{oauth-callback-BjukFdCM.js → oauth-callback-DpPxlohU.js} +1 -1
  130. package/dist/client/assets/{oauth-callback-ai-provider-DchzZC6a.js → oauth-callback-ai-provider-DI_CjOsa.js} +1 -1
  131. package/dist/client/assets/{onboarding-Dg-EwJ1A.js → onboarding-DatxqVBu.js} +1 -1
  132. package/dist/client/assets/{org-install-CqtIl69y.js → org-install-CN9xltsE.js} +1 -1
  133. package/dist/client/assets/{org-layout-CDk_Jkdx.js → org-layout-CkUoNFto.js} +1 -1
  134. package/dist/client/assets/{organization-choice-Bzj2QVm7.js → organization-choice-DsGaGCSI.js} +1 -1
  135. package/dist/client/assets/{page-seo-form-BQlnOT7W.js → page-seo-form-BAwWoCrB.js} +1 -1
  136. package/dist/client/assets/page-seo-sheet-DlP_RlkU.js +1 -0
  137. package/dist/client/assets/{popover-CDaR8_aF.js → popover-BtkVBk9O.js} +1 -1
  138. package/dist/client/assets/{post-editor-C4vMvdM0.js → post-editor-DSGnoUmA.js} +1 -1
  139. package/dist/client/assets/{primitives-DMKe753B.js → primitives-DaNtYP9L.js} +1 -1
  140. package/dist/client/assets/{profile-DkoAxZyq.js → profile-C0fMGjjc.js} +1 -1
  141. package/dist/client/assets/project-app-view-D3NA74TU.js +1 -0
  142. package/dist/client/assets/record-editor-BDKvL12x.js +1 -0
  143. package/dist/client/assets/registry-DqY4gr9J.js +2 -0
  144. package/dist/client/assets/{registry-layout-BRFpX0Ng.js → registry-layout-BOz2CQvs.js} +1 -1
  145. package/dist/client/assets/{require-capability-mCuPV-Jy.js → require-capability-x8Fj1OOf.js} +1 -1
  146. package/dist/client/assets/{required-auth-layout-CRnSP1uR.js → required-auth-layout-DGg5Hfsv.js} +1 -1
  147. package/dist/client/assets/{reset-password-B6oODUhR.js → reset-password-DS17zoPA.js} +1 -1
  148. package/dist/client/assets/{roles-BUhz3h6o.js → roles-Dkepi16W.js} +1 -1
  149. package/dist/client/assets/{search-input-BO7EKx19.js → search-input-DbIhh1K9.js} +1 -1
  150. package/dist/client/assets/{secrets-BwSfV61V.js → secrets-D3_ZBUEY.js} +1 -1
  151. package/dist/client/assets/{sections-editor-whwzc2Lv.js → sections-editor-BXA6IVl3.js} +1 -1
  152. package/dist/client/assets/{select-XaSsjhL4.js → select-BloW6tH6.js} +1 -1
  153. package/dist/client/assets/{select-model-BfItAUGD.js → select-model-CXs0fKE0.js} +1 -1
  154. package/dist/client/assets/{seo-editor-CDUoXdMC.js → seo-editor-gYApNiNE.js} +1 -1
  155. package/dist/client/assets/{settings-layout-BFoL4wXA.js → settings-layout-Dijgs1Xz.js} +1 -1
  156. package/dist/client/assets/{settings-section-Cklvl4zO.js → settings-section-C9xZekaQ.js} +1 -1
  157. package/dist/client/assets/{shell-controls-CIJBDpDl.js → shell-controls--WEatP4X.js} +1 -1
  158. package/dist/client/assets/shell-layout-DzGqfR6q.js +1 -0
  159. package/dist/client/assets/{sidebar-DddhbUIY.js → sidebar-Dvoriw7V.js} +1 -1
  160. package/dist/client/assets/{skeleton-DYQa65hQ.js → skeleton-Ky3jBeUP.js} +1 -1
  161. package/dist/client/assets/{sso-DqLoAd-d.js → sso-DQVCony7.js} +1 -1
  162. package/dist/client/assets/{store-BSbbKecw.js → store-6qk4XsXB.js} +1 -1
  163. package/dist/client/assets/store-registry-CBjkyCS6.js +2 -0
  164. package/dist/client/assets/{studio-tools-D7_6CoxV.js → studio-tools-rhnNh1x_.js} +1 -1
  165. package/dist/client/assets/{switch-fOl2nASH.js → switch-BSaVqgeH.js} +1 -1
  166. package/dist/client/assets/{tab-id-DAJ8K7VA.js → tab-id-C4S0EPFu.js} +1 -1
  167. package/dist/client/assets/{table-Bvnvje0a.js → table-BPvxLDuP.js} +1 -1
  168. package/dist/client/assets/{tabs-BtInDI-J.js → tabs-BwxHAAl0.js} +1 -1
  169. package/dist/client/assets/{textarea-DcZUnt8J.js → textarea-ByYUJCqn.js} +1 -1
  170. package/dist/client/assets/{toggle-group-DoxinWJm.js → toggle-group-Dh7bEZa1.js} +1 -1
  171. package/dist/client/assets/{toolbar-C1hPtC5h.js → toolbar-BR5ie4nh.js} +1 -1
  172. package/dist/client/assets/{toolbar-icon-button-Dzy6uTZF.js → toolbar-icon-button-CD0nzSrw.js} +1 -1
  173. package/dist/client/assets/{tools-list-kaLCV1pK.js → tools-list-CfZBf99o.js} +1 -1
  174. package/dist/client/assets/{tooltip-CzOOdQoL.js → tooltip-BvZsaZo1.js} +1 -1
  175. package/dist/client/assets/{types-BysSIMiZ.js → types-tGK3rxv3.js} +1 -1
  176. package/dist/client/assets/{use-ai-providers-Br-AWQVr.js → use-ai-providers-Df_6Lv76.js} +1 -1
  177. package/dist/client/assets/{use-automations-D0kRcrDS.js → use-automations-CX4ke4Gn.js} +1 -1
  178. package/dist/client/assets/{use-capability-Blhq30si.js → use-capability-WrhvLN3Q.js} +1 -1
  179. package/dist/client/assets/{use-clock-tick-fkS7_3Mg.js → use-clock-tick-Co2laZ_v.js} +1 -1
  180. package/dist/client/assets/{use-collections-D8zYgQAG.js → use-collections-0y8z6h6B.js} +1 -1
  181. package/dist/client/assets/{use-connection-DTeAtYiI.js → use-connection-D6vKxP6c.js} +1 -1
  182. package/dist/client/assets/{use-copy-BTX4ZWdv.js → use-copy-DEsN1JWA.js} +1 -1
  183. package/dist/client/assets/{use-create-virtual-mcp-ga1hn3MU.js → use-create-virtual-mcp-CjfdEFEm.js} +1 -1
  184. package/dist/client/assets/{use-debounced-autosave-DtP2FeSL.js → use-debounced-autosave-ykAA77u8.js} +1 -1
  185. package/dist/client/assets/{use-debounced-value-kvvubcvc.js → use-debounced-value-BpYGxCFi.js} +1 -1
  186. package/dist/client/assets/{use-decopilot-events-ueI_Wz1L.js → use-decopilot-events-DepdMgPX.js} +1 -1
  187. package/dist/client/assets/{use-delete-connection-CdmDm9H_.js → use-delete-connection-DRyaCpbw.js} +1 -1
  188. package/dist/client/assets/{use-file-configs-DNDcnIgx.js → use-file-configs-DKRnyJ3w.js} +1 -1
  189. package/dist/client/assets/{use-infinite-scroll-DJjCAEzH.js → use-infinite-scroll-CAwsvAnT.js} +1 -1
  190. package/dist/client/assets/{use-join-requests-DTaFTO4S.js → use-join-requests-DDC__CaF.js} +1 -1
  191. package/dist/client/assets/{use-mcp-client-CN4QmRP6.js → use-mcp-client-B3WRhZdt.js} +1 -1
  192. package/dist/client/assets/{use-mcp-prompts-B9zwJrZP.js → use-mcp-prompts-C1R-WVFz.js} +1 -1
  193. package/dist/client/assets/{use-mcp-tools-D-9o-UKj.js → use-mcp-tools-BVxAk373.js} +1 -1
  194. package/dist/client/assets/{use-members-RCOTxDH6.js → use-members-Cf18JViN.js} +1 -1
  195. package/dist/client/assets/{use-mobile-Brd5_-y3.js → use-mobile-Cpcc36Em.js} +1 -1
  196. package/dist/client/assets/{use-navigate-to-agent-V9rJWW63.js → use-navigate-to-agent-IHN5iTDI.js} +1 -1
  197. package/dist/client/assets/{use-org-auth-client-CFqcz9Qv.js → use-org-auth-client-C3YxdmcM.js} +1 -1
  198. package/dist/client/assets/{use-org-sso-CO6APMXe.js → use-org-sso-reL-KJxj.js} +1 -1
  199. package/dist/client/assets/{use-organization-roles-DVhvujcS.js → use-organization-roles--3C-OX-U.js} +1 -1
  200. package/dist/client/assets/{use-organization-settings-DvmEv1tG.js → use-organization-settings-D6NjaCfk.js} +1 -1
  201. package/dist/client/assets/{use-registry-connections-D9E16HHC.js → use-registry-connections-Cs9PospA.js} +1 -1
  202. package/dist/client/assets/{use-secrets-Dh7wsLO2.js → use-secrets-kk5sLuVp.js} +1 -1
  203. package/dist/client/assets/{use-status-sounds-BSH5-AoR.js → use-status-sounds-I1tajHMm.js} +1 -1
  204. package/dist/client/assets/{use-view-mode-Bbyaf4iy.js → use-view-mode-CEB4Lc4b.js} +1 -1
  205. package/dist/client/assets/{use-virtual-mcp-CDkzIx4W.js → use-virtual-mcp-vpIsUoOg.js} +1 -1
  206. package/dist/client/assets/useInfiniteQuery-oZPFa0FQ.js +1 -0
  207. package/dist/client/assets/useSuspenseInfiniteQuery-fOtFcKQk.js +1 -0
  208. package/dist/client/assets/{variant-calendar-BxOG3mJG.js → variant-calendar-BMmdw5vi.js} +1 -1
  209. package/dist/client/assets/{view-mode-toggle-rTxeKM1m.js → view-mode-toggle-CjXL0rHJ.js} +1 -1
  210. package/dist/client/index.html +2 -2
  211. package/dist/server/cli.js +1 -1
  212. package/dist/server/server.js +1 -1
  213. package/package.json +1 -1
  214. package/dist/client/assets/index-DhHJ9QL9.css +0 -1
  215. package/dist/client/assets/page-seo-sheet-X59-QApu.js +0 -1
  216. package/dist/client/assets/project-app-view-BynbRxnh.js +0 -1
  217. package/dist/client/assets/record-editor-DdlaQFPx.js +0 -1
  218. package/dist/client/assets/registry-DcOzTv4Q.js +0 -2
  219. package/dist/client/assets/shell-layout-DZbTLKi2.js +0 -1
  220. package/dist/client/assets/store-registry-DAs6nYNq.js +0 -2
  221. package/dist/client/assets/useInfiniteQuery-BPa2AlRk.js +0 -1
  222. package/dist/client/assets/useSuspenseInfiniteQuery-DQz1YyC8.js +0 -1
@@ -1 +0,0 @@
1
- import{c as it,r as b,j as e,i as rt}from"./index-C9Gl6KeA.js";import{m as mt,o as pt,p as st,q as at}from"./sidebar-DddhbUIY.js";import{B as nt}from"./automation-runs-B7odhVhx.js";import{r as lt,c as ct,u as dt,a as St,i as ft,f as ut,d as vt,P as ht,S as gt}from"./page-seo-form-BQlnOT7W.js";import{v as xt}from"./index-Cz-bHuP4.js";import"./LayoutLeft-CyfVmOH-.js";import"./use-mobile-Brd5_-y3.js";import"./X-CkvuVj9B.js";import"./tooltip-CzOOdQoL.js";import"./select-XaSsjhL4.js";import"./Check-DC6De1xk.js";import"./ChevronDown-QXGqDUHD.js";import"./ChevronUp-BQ8y4zrW.js";import"./useInfiniteQuery-BPa2AlRk.js";import"./use-infinite-scroll-DJjCAEzH.js";import"./use-connection-DTeAtYiI.js";import"./use-collections-D8zYgQAG.js";import"./use-mcp-client-CN4QmRP6.js";import"./constants-B72Xmt_K.js";import"./auth-DYClk83I.js";import"./use-virtual-mcp-CDkzIx4W.js";import"./card-Hloq5yRq.js";import"./table-Bvnvje0a.js";import"./empty-state-Coto3adU.js";import"./use-members-RCOTxDH6.js";import"./use-org-auth-client-CFqcz9Qv.js";import"./use-clock-tick-fkS7_3Mg.js";import"./AlertCircle-BW1-B4Md.js";import"./CheckCircle-BULeFBaI.js";import"./Circle-Dr-DwW_m.js";import"./agent-icon-Bs0BuVkl.js";import"./Tool01-t0na3VHE.js";import"./SwitchHorizontal01-1HzKyQaU.js";import"./Settings02-CvJhDLPL.js";import"./XCircle-DgrryBB2.js";import"./ArrowUpRight-vob7XflZ.js";import"./ZapSquare-DvH0N_BR.js";import"./Users03-VDMI_ZLU.js";import"./Loading02-BbHSmcdb.js";import"./ChevronRight-CjQUacTD.js";import"./Stars02-DMQbYCW7.js";import"./Copy01-B2wQaSyc.js";import"./ZoomOut-OxfhRJxZ.js";import"./DotsVertical-OkDrvocZ.js";import"./Globe01-DJ_01fPZ.js";import"./Eye-Q0QOTjpD.js";import"./FilterLines-SlKhWVjw.js";import"./Star01-B2SpR9-B.js";import"./Globe04-DLHCNtA1.js";import"./HardDrive-BGy2akhQ.js";import"./Key01-CppfmHRV.js";import"./LinkExternal01-BgcxK-6I.js";import"./List-vl1Tuhcg.js";import"./Monitor01-Cyak-pL7.js";import"./Sun-j7hnH45x.js";import"./Palette-BGDcb2dN.js";import"./Play-BrciZ_ES.js";import"./Plus-4YDlLdcR.js";import"./SearchLg-BzsaRPRS.js";import"./SearchMd-DkvUgk4F.js";import"./Shield01-BrpI1XTc.js";import"./Stars01-DGruFhqr.js";import"./Trash01-BsNNEw27.js";import"./Upload01-BfcIJ6YO.js";import"./User01-Dl3NdwOo.js";import"./Users01-is60yTkE.js";import"./XClose-CrWOaDuR.js";import"./Zap-P5Rm-aKx.js";import"./use-automations-D0kRcrDS.js";import"./studio-tools-D7_6CoxV.js";import"./useSuspenseInfiniteQuery-DQz1YyC8.js";import"./badge-D93soDf_.js";import"./checkbox-gNuA5V7Y.js";import"./command-CGJwwfWB.js";import"./index-BXb6AEaP.js";import"./dialog-CobPBEs7.js";import"./popover-CDaR8_aF.js";import"./avatar-CvwxVYvX.js";import"./format-time-Cy7tTmZp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BTX4ZWdv.js";import"./file-type-icon-ANQHL2V8.js";import"./tab-id-DAJ8K7VA.js";import"./monaco-editor-C3wWC33S.js";import"./index-uBaz9lco.js";import"./chat-context-GsoBwl5E.js";import"./autosend-C9kWlZNv.js";import"./hooks-DCNOmeRd.js";import"./decopilot-sse-pool-BT9lg0Dy.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-ai-providers-Br-AWQVr.js";import"./use-decopilot-events-ueI_Wz1L.js";import"./use-organization-settings-DvmEv1tG.js";import"./types-BysSIMiZ.js";import"./shell-layout-DZbTLKi2.js";import"./alert-dialog-DB9S8FUA.js";import"./required-auth-layout-CRnSP1uR.js";import"./use-org-sso-CO6APMXe.js";import"./integration-icon-BC2bEVKO.js";import"./use-navigate-to-agent-V9rJWW63.js";import"./reusable-new-chat-qqWu133U.js";import"./use-mcp-prompts-B9zwJrZP.js";import"./form-B-TW6fpF.js";import"./label-B3wl5KEi.js";import"./input-C5DOJlr2.js";import"./switch-fOl2nASH.js";import"./drawer-5JNtj6A5.js";import"./collection-search-ve8qWMbx.js";import"./tabs-BtInDI-J.js";import"./toggle-group-DoxinWJm.js";import"./agent-capabilities-D5kVLG8R.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-Do7Cpr6X.js";import"./use-registry-connections-D9E16HHC.js";import"./extract-connection-data-vwDZJGL0.js";import"./collection-tabs-Bbz1d_r7.js";import"./textarea-DcZUnt8J.js";import"./connection-form-helpers-DIbopZD5.js";import"./authenticate-and-persist-oauth-DALefCwW.js";import"./mcp-oauth-B89F3ulG.js";import"./connect-desktop-dialog-BfK5P8nV.js";import"./select-model-BfItAUGD.js";import"./skeleton-DYQa65hQ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cklvl4zO.js";import"./dropdown-menu-BV_GIL2m.js";import"./index-BMJOqYc5.js";import"./toolbar-C1hPtC5h.js";import"./use-debounced-value-kvvubcvc.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BSH5-AoR.js";import"./use-mcp-tools-D-9o-UKj.js";import"./use-capability-Blhq30si.js";import"./tools-list-kaLCV1pK.js";import"./use-debounced-autosave-DtP2FeSL.js";import"./index-BT3K9z3D.js";import"./search-input-BO7EKx19.js";import"./github-repo-picker-MGilncKc.js";import"./github-installations-DzN1UQ4x.js";import"./use-secrets-Dh7wsLO2.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./index-BFtsPi4U.js";import"./get-initials-D-f_fDFw.js";import"./calendar-ybcZx_Ro.js";import"./toolbar-icon-button-Dzy6uTZF.js";import"./automation-list-row-xhf9RSAC.js";import"./use-file-configs-DNDcnIgx.js";function ni(u){const t=it.c(46),{open:N,onOpenChange:P,orgSlug:Q,virtualMcpId:U,branch:W,decofile:G,meta:s,target:m,onSaved:X}=u,o=lt(G,m,s),k=m.kind==="site"?"site":m.pageKey,[Y,Z]=b.useState(k),[tt,i]=b.useState(null),[J,g]=b.useState(void 0),[x,y]=b.useState(0);Y!==k&&(Z(k),i(null),g(void 0),y(wt));const{persistSeo:a,persistRawSeo:I,flush:K,isPending:D}=ct({orgSlug:Q,virtualMcpId:U,branch:W,target:m,resolved:o,onSaved:X}),w=m.kind==="page",ot=w?o?.rawSeoData:void 0,v=J!==void 0?J:ot,et=w?dt(v)??void 0:void 0,h=tt??et??o?.seoData??{},p=o?St(h,o):null,n=p&&(!w||ft(v))?xt(p,s):null,_=m.kind==="page"?ut(G,s)?.seoData??void 0:void 0;let j;t[0]!==s?(j=vt(s),t[0]=s,t[1]=j):j=t[1];const B=j;let R;t[2]!==a||t[3]!==o||t[4]!==i?(R=r=>{if(!o)return;const L=r;i(L),a(L)},t[2]=a,t[3]=o,t[4]=i,t[5]=R):R=t[5];const M=R;let F;t[6]!==K||t[7]!==P?(F=r=>{r||K(),P(r)},t[6]=K,t[7]=P,t[8]=F):F=t[8];const V=F,q=m.kind==="site"?"Site SEO":"Page SEO",T=w&&o,z=m.kind==="site"&&o&&n,A=m.kind==="site"?"No site-level SEO block found.":o?"SEO schema not found for this page.":"Could not load page SEO.";let C;t[9]!==i?(C=()=>i(null),t[9]=i,t[10]=C):C=t[10];const H=C;let O;t[11]!==y?(O=()=>y(yt),t[11]=y,t[12]=O):O=t[12];const $=O;let l;t[13]!==q?(l=e.jsx(mt,{className:"text-sm font-semibold",children:q}),t[13]=q,t[14]=l):l=t[14];let c;t[15]!==D?(c=D&&e.jsx(rt,{size:14,className:"animate-spin text-muted-foreground"}),t[15]=D,t[16]=c):c=t[16];let d;t[17]!==l||t[18]!==c?(d=e.jsxs(pt,{className:"px-4 py-3 border-b flex-row items-center justify-between space-y-0",children:[l,c]}),t[17]=l,t[18]=c,t[19]=d):d=t[19];let S;t[20]!==p||t[21]!==$||t[22]!==H||t[23]!==B||t[24]!==v||t[25]!==h||t[26]!==A||t[27]!==x||t[28]!==M||t[29]!==I||t[30]!==a||t[31]!==o||t[32]!==n||t[33]!==i||t[34]!==g||t[35]!==T||t[36]!==z||t[37]!==_?(S=!o||!T&&!z?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:A}):e.jsx(nt,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:e.jsx("div",{className:"px-6 py-4",children:e.jsx("div",{className:"mx-auto max-w-sm",children:T?e.jsx(ht,{rawSeo:v,innerSeo:h,defaultResolveType:B,seoSchema:n,activeResolveType:p,seoTypeOptions:o.seoTypeOptions,formResetKey:x,siteDefaultSeo:_,onPersistRaw:r=>{g(r),I(r)},onInnerChange:r=>{i(r),a(r)},onClearForm:H,onBumpFormKey:$}):n&&p&&e.jsx(gt,{schema:n,resolveType:p,value:h,formResetKey:x,onChange:M})})})}),t[20]=p,t[21]=$,t[22]=H,t[23]=B,t[24]=v,t[25]=h,t[26]=A,t[27]=x,t[28]=M,t[29]=I,t[30]=a,t[31]=o,t[32]=n,t[33]=i,t[34]=g,t[35]=T,t[36]=z,t[37]=_,t[38]=S):S=t[38];let f;t[39]!==d||t[40]!==S?(f=e.jsxs(st,{side:"right",className:"w-[400px] sm:max-w-[440px] p-0 gap-0",children:[d,S]}),t[39]=d,t[40]=S,t[41]=f):f=t[41];let E;return t[42]!==V||t[43]!==N||t[44]!==f?(E=e.jsx(at,{open:N,onOpenChange:V,children:f}),t[42]=V,t[43]=N,t[44]=f,t[45]=E):E=t[45],E}function yt(u){return u+1}function wt(u){return u+1}export{ni as SeoSheet};
@@ -1 +0,0 @@
1
- import{c as w,$ as H,j as A}from"./index-C9Gl6KeA.js";import{a as L,g as E,s as b}from"./automation-runs-B7odhVhx.js";import{u as O}from"./use-mcp-client-CN4QmRP6.js";import{p as k}from"./constants-B72Xmt_K.js";import{b as q,c as B}from"./use-mcp-tools-D-9o-UKj.js";import{u as Y}from"./index-Cz-bHuP4.js";import{c as G}from"./monaco-editor-C3wWC33S.js";import{g as K,M as V,a as $}from"./types-BysSIMiZ.js";import{a as z,u as F}from"./chat-context-GsoBwl5E.js";import{u as J}from"./shell-layout-DZbTLKi2.js";import"./select-XaSsjhL4.js";import"./tooltip-CzOOdQoL.js";import"./Check-DC6De1xk.js";import"./ChevronDown-QXGqDUHD.js";import"./ChevronUp-BQ8y4zrW.js";import"./useInfiniteQuery-BPa2AlRk.js";import"./use-infinite-scroll-DJjCAEzH.js";import"./use-connection-DTeAtYiI.js";import"./use-collections-D8zYgQAG.js";import"./use-virtual-mcp-CDkzIx4W.js";import"./card-Hloq5yRq.js";import"./sidebar-DddhbUIY.js";import"./LayoutLeft-CyfVmOH-.js";import"./use-mobile-Brd5_-y3.js";import"./X-CkvuVj9B.js";import"./table-Bvnvje0a.js";import"./empty-state-Coto3adU.js";import"./use-members-RCOTxDH6.js";import"./use-org-auth-client-CFqcz9Qv.js";import"./use-clock-tick-fkS7_3Mg.js";import"./AlertCircle-BW1-B4Md.js";import"./CheckCircle-BULeFBaI.js";import"./Circle-Dr-DwW_m.js";import"./agent-icon-Bs0BuVkl.js";import"./Tool01-t0na3VHE.js";import"./SwitchHorizontal01-1HzKyQaU.js";import"./Settings02-CvJhDLPL.js";import"./XCircle-DgrryBB2.js";import"./ArrowUpRight-vob7XflZ.js";import"./ZapSquare-DvH0N_BR.js";import"./Users03-VDMI_ZLU.js";import"./Loading02-BbHSmcdb.js";import"./ChevronRight-CjQUacTD.js";import"./Stars02-DMQbYCW7.js";import"./Copy01-B2wQaSyc.js";import"./ZoomOut-OxfhRJxZ.js";import"./DotsVertical-OkDrvocZ.js";import"./Globe01-DJ_01fPZ.js";import"./Eye-Q0QOTjpD.js";import"./FilterLines-SlKhWVjw.js";import"./Star01-B2SpR9-B.js";import"./Globe04-DLHCNtA1.js";import"./HardDrive-BGy2akhQ.js";import"./Key01-CppfmHRV.js";import"./LinkExternal01-BgcxK-6I.js";import"./List-vl1Tuhcg.js";import"./Monitor01-Cyak-pL7.js";import"./Sun-j7hnH45x.js";import"./Palette-BGDcb2dN.js";import"./Play-BrciZ_ES.js";import"./Plus-4YDlLdcR.js";import"./SearchLg-BzsaRPRS.js";import"./SearchMd-DkvUgk4F.js";import"./Shield01-BrpI1XTc.js";import"./Stars01-DGruFhqr.js";import"./Trash01-BsNNEw27.js";import"./Upload01-BfcIJ6YO.js";import"./User01-Dl3NdwOo.js";import"./Users01-is60yTkE.js";import"./XClose-CrWOaDuR.js";import"./Zap-P5Rm-aKx.js";import"./use-automations-D0kRcrDS.js";import"./studio-tools-D7_6CoxV.js";import"./useSuspenseInfiniteQuery-DQz1YyC8.js";import"./badge-D93soDf_.js";import"./checkbox-gNuA5V7Y.js";import"./command-CGJwwfWB.js";import"./index-BXb6AEaP.js";import"./dialog-CobPBEs7.js";import"./popover-CDaR8_aF.js";import"./avatar-CvwxVYvX.js";import"./format-time-Cy7tTmZp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BTX4ZWdv.js";import"./file-type-icon-ANQHL2V8.js";import"./tab-id-DAJ8K7VA.js";import"./hooks-DCNOmeRd.js";import"./decopilot-sse-pool-BT9lg0Dy.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./integration-icon-BC2bEVKO.js";import"./use-navigate-to-agent-V9rJWW63.js";import"./reusable-new-chat-qqWu133U.js";import"./use-mcp-prompts-B9zwJrZP.js";import"./form-B-TW6fpF.js";import"./label-B3wl5KEi.js";import"./input-C5DOJlr2.js";import"./auth-DYClk83I.js";import"./drawer-5JNtj6A5.js";import"./collection-search-ve8qWMbx.js";import"./autosend-C9kWlZNv.js";import"./tabs-BtInDI-J.js";import"./toggle-group-DoxinWJm.js";import"./agent-capabilities-D5kVLG8R.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-Do7Cpr6X.js";import"./use-registry-connections-D9E16HHC.js";import"./use-organization-settings-DvmEv1tG.js";import"./extract-connection-data-vwDZJGL0.js";import"./collection-tabs-Bbz1d_r7.js";import"./textarea-DcZUnt8J.js";import"./connection-form-helpers-DIbopZD5.js";import"./authenticate-and-persist-oauth-DALefCwW.js";import"./mcp-oauth-B89F3ulG.js";import"./use-ai-providers-Br-AWQVr.js";import"./connect-desktop-dialog-BfK5P8nV.js";import"./select-model-BfItAUGD.js";import"./skeleton-DYQa65hQ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cklvl4zO.js";import"./dropdown-menu-BV_GIL2m.js";import"./index-BMJOqYc5.js";import"./alert-dialog-DB9S8FUA.js";import"./toolbar-C1hPtC5h.js";import"./use-debounced-value-kvvubcvc.js";import"./index-uBaz9lco.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BSH5-AoR.js";import"./use-decopilot-events-ueI_Wz1L.js";import"./use-capability-Blhq30si.js";import"./tools-list-kaLCV1pK.js";import"./switch-fOl2nASH.js";import"./use-debounced-autosave-DtP2FeSL.js";import"./index-BT3K9z3D.js";import"./search-input-BO7EKx19.js";import"./github-repo-picker-MGilncKc.js";import"./github-installations-DzN1UQ4x.js";import"./use-secrets-Dh7wsLO2.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./index-BFtsPi4U.js";import"./get-initials-D-f_fDFw.js";import"./calendar-ybcZx_Ro.js";import"./toolbar-icon-button-Dzy6uTZF.js";import"./automation-list-row-xhf9RSAC.js";import"./use-file-configs-DNDcnIgx.js";import"./required-auth-layout-CRnSP1uR.js";import"./use-org-sso-CO6APMXe.js";const Q={};function W(S){const t=w.c(37),{client:e,resourceURI:h,tool:o,connectionId:p,orgId:l,args:M}=S,{sendMessage:I}=z(),{setAppContext:d,clearAppContext:n}=F(),{setChatOpen:f,openTab:g}=J(),r=`${p}:${o.name}`;let a;t[0]!==g?(a=C=>C==="inline"?(g("0"),"inline"):"fullscreen",t[0]=g,t[1]=a):a=t[1];const m=a,s=M??Q;let c;t[2]!==e||t[3]!==o.name||t[4]!==s?(c={client:e,toolName:o.name,toolArguments:s},t[2]=e,t[3]=o.name,t[4]=s,t[5]=c):c=t[5];const{data:i}=B(c);let x;if(t[6]!==o._meta||t[7]!==o.name){const C=E(o._meta);x=b(o.name,C),t[6]=o._meta,t[7]=o.name,t[8]=x}else x=t[8];const U=x;let u;t[9]!==o.inputSchema?(u=o.inputSchema??{type:"object"},t[9]=o.inputSchema,t[10]=u):u=t[10];let N;t[11]!==U||t[12]!==u||t[13]!==o?(N={...o,name:U,inputSchema:u},t[11]=U,t[12]=u,t[13]=o,t[14]=N):N=t[14];const j=N;let _;t[15]!==I||t[16]!==f?(_=C=>{const D=G(C.content);D.content.length>0&&(f(!0),I({tiptapDoc:D}))},t[15]=I,t[16]=f,t[17]=_):_=t[17];const y=_;let P;t[18]!==j?(P={tool:j},t[18]=j,t[19]=P):P=t[19];let T;t[20]!==d||t[21]!==r?(T=C=>d(r,C),t[20]=d,t[21]=r,t[22]=T):T=t[22];let R;t[23]!==n||t[24]!==r?(R=()=>n(r),t[23]=n,t[24]=r,t[25]=R):R=t[25];let v;return t[26]!==e||t[27]!==y||t[28]!==m||t[29]!==l||t[30]!==h||t[31]!==P||t[32]!==T||t[33]!==R||t[34]!==s||t[35]!==i?(v=A.jsx(V,{resourceURI:h,orgId:l,toolInfo:P,toolInput:s,toolResult:i,displayMode:"fullscreen",minHeight:$.fullscreen.minHeight,maxHeight:$.fullscreen.maxHeight,client:e,onMessage:y,onUpdateModelContext:T,onTeardown:R,onRequestDisplayMode:m,className:"h-full"}),t[26]=e,t[27]=y,t[28]=m,t[29]=l,t[30]=h,t[31]=P,t[32]=T,t[33]=R,t[34]=s,t[35]=i,t[36]=v):v=t[36],v}function Lr(S){const t=w.c(24),{connectionId:e,toolName:h,args:o}=S,{org:p}=H(),l=Y();let M;t[0]!==e||t[1]!==l?(M=k(e)&&l.vmEntry?.sandboxProviderKind==="user-desktop"&&l.previewUrl?`${l.previewUrl.replace(/\/+$/,"")}/api/mcp`:void 0,t[0]=e,t[1]=l,t[2]=M):M=t[2];const I=M;let d;t[3]!==e||t[4]!==I||t[5]!==p.id||t[6]!==p.slug?(d={connectionId:e,orgId:p.id,orgSlug:p.slug,mcpUrl:I},t[3]=e,t[4]=I,t[5]=p.id,t[6]=p.slug,t[7]=d):d=t[7];const n=O(d);let f;t[8]!==n?(f={client:n},t[8]=n,t[9]=f):f=t[9];const{data:g}=q(f);let r,a,m;t[10]!==h||t[11]!==g.tools?(r=L(decodeURIComponent(h)),m=g.tools.find(i=>i.name===r)??g.tools.find(i=>{const x=E(i._meta);if(!x)return!1;if(b(i.name,x)===r)return!0;const u=b(r,x);return u!==r&&i.name===u}),a=m?._meta?K(m._meta):void 0,t[10]=h,t[11]=g.tools,t[12]=r,t[13]=a,t[14]=m):(r=t[12],a=t[13],m=t[14]);const s=a;if(!m||!s){let i;return t[15]!==r?(i=A.jsx("div",{className:"flex items-center justify-center h-full w-full",children:A.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',r,'" not found or has no UI']})}),t[15]=r,t[16]=i):i=t[16],i}let c;return t[17]!==o||t[18]!==n||t[19]!==e||t[20]!==p.id||t[21]!==s||t[22]!==m?(c=A.jsx(W,{client:n,resourceURI:s,tool:m,connectionId:e,orgId:p.id,args:o}),t[17]=o,t[18]=n,t[19]=e,t[20]=p.id,t[21]=s,t[22]=m,t[23]=c):c=t[23],c}export{Lr as AppViewContent};
@@ -1 +0,0 @@
1
- import{c as F,j as r}from"./index-C9Gl6KeA.js";import{I as T}from"./input-C5DOJlr2.js";import{L as C}from"./label-B3wl5KEi.js";import{T as L}from"./textarea-DcZUnt8J.js";import{k as A,l as R,S as D,m as J,I as K}from"./index-Cz-bHuP4.js";import{u as M,s as P}from"./primitives-DMKe753B.js";import"./SwitchHorizontal01-1HzKyQaU.js";import"./chat-context-GsoBwl5E.js";import"./autosend-C9kWlZNv.js";import"./hooks-DCNOmeRd.js";import"./use-mcp-client-CN4QmRP6.js";import"./constants-B72Xmt_K.js";import"./auth-DYClk83I.js";import"./decopilot-sse-pool-BT9lg0Dy.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./use-virtual-mcp-CDkzIx4W.js";import"./use-collections-D8zYgQAG.js";import"./use-ai-providers-Br-AWQVr.js";import"./studio-tools-D7_6CoxV.js";import"./use-decopilot-events-ueI_Wz1L.js";import"./tab-id-DAJ8K7VA.js";import"./use-organization-settings-DvmEv1tG.js";import"./automation-runs-B7odhVhx.js";import"./select-XaSsjhL4.js";import"./tooltip-CzOOdQoL.js";import"./Check-DC6De1xk.js";import"./ChevronDown-QXGqDUHD.js";import"./ChevronUp-BQ8y4zrW.js";import"./useInfiniteQuery-BPa2AlRk.js";import"./use-infinite-scroll-DJjCAEzH.js";import"./use-connection-DTeAtYiI.js";import"./card-Hloq5yRq.js";import"./sidebar-DddhbUIY.js";import"./LayoutLeft-CyfVmOH-.js";import"./use-mobile-Brd5_-y3.js";import"./X-CkvuVj9B.js";import"./table-Bvnvje0a.js";import"./empty-state-Coto3adU.js";import"./use-members-RCOTxDH6.js";import"./use-org-auth-client-CFqcz9Qv.js";import"./use-clock-tick-fkS7_3Mg.js";import"./AlertCircle-BW1-B4Md.js";import"./CheckCircle-BULeFBaI.js";import"./Circle-Dr-DwW_m.js";import"./agent-icon-Bs0BuVkl.js";import"./Tool01-t0na3VHE.js";import"./Settings02-CvJhDLPL.js";import"./XCircle-DgrryBB2.js";import"./ArrowUpRight-vob7XflZ.js";import"./ZapSquare-DvH0N_BR.js";import"./Users03-VDMI_ZLU.js";import"./Loading02-BbHSmcdb.js";import"./ChevronRight-CjQUacTD.js";import"./Stars02-DMQbYCW7.js";import"./Copy01-B2wQaSyc.js";import"./ZoomOut-OxfhRJxZ.js";import"./DotsVertical-OkDrvocZ.js";import"./Globe01-DJ_01fPZ.js";import"./Eye-Q0QOTjpD.js";import"./FilterLines-SlKhWVjw.js";import"./Star01-B2SpR9-B.js";import"./Globe04-DLHCNtA1.js";import"./HardDrive-BGy2akhQ.js";import"./Key01-CppfmHRV.js";import"./LinkExternal01-BgcxK-6I.js";import"./List-vl1Tuhcg.js";import"./Monitor01-Cyak-pL7.js";import"./Sun-j7hnH45x.js";import"./Palette-BGDcb2dN.js";import"./Play-BrciZ_ES.js";import"./Plus-4YDlLdcR.js";import"./SearchLg-BzsaRPRS.js";import"./SearchMd-DkvUgk4F.js";import"./Shield01-BrpI1XTc.js";import"./Stars01-DGruFhqr.js";import"./Trash01-BsNNEw27.js";import"./Upload01-BfcIJ6YO.js";import"./User01-Dl3NdwOo.js";import"./Users01-is60yTkE.js";import"./XClose-CrWOaDuR.js";import"./Zap-P5Rm-aKx.js";import"./use-automations-D0kRcrDS.js";import"./useSuspenseInfiniteQuery-DQz1YyC8.js";import"./badge-D93soDf_.js";import"./checkbox-gNuA5V7Y.js";import"./command-CGJwwfWB.js";import"./index-BXb6AEaP.js";import"./dialog-CobPBEs7.js";import"./popover-CDaR8_aF.js";import"./avatar-CvwxVYvX.js";import"./format-time-Cy7tTmZp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BTX4ZWdv.js";import"./file-type-icon-ANQHL2V8.js";import"./monaco-editor-C3wWC33S.js";import"./index-uBaz9lco.js";import"./types-BysSIMiZ.js";import"./shell-layout-DZbTLKi2.js";import"./alert-dialog-DB9S8FUA.js";import"./required-auth-layout-CRnSP1uR.js";import"./use-org-sso-CO6APMXe.js";import"./integration-icon-BC2bEVKO.js";import"./use-navigate-to-agent-V9rJWW63.js";import"./reusable-new-chat-qqWu133U.js";import"./use-mcp-prompts-B9zwJrZP.js";import"./form-B-TW6fpF.js";import"./drawer-5JNtj6A5.js";import"./collection-search-ve8qWMbx.js";import"./tabs-BtInDI-J.js";import"./toggle-group-DoxinWJm.js";import"./agent-capabilities-D5kVLG8R.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-Do7Cpr6X.js";import"./use-registry-connections-D9E16HHC.js";import"./extract-connection-data-vwDZJGL0.js";import"./collection-tabs-Bbz1d_r7.js";import"./connection-form-helpers-DIbopZD5.js";import"./authenticate-and-persist-oauth-DALefCwW.js";import"./mcp-oauth-B89F3ulG.js";import"./connect-desktop-dialog-BfK5P8nV.js";import"./select-model-BfItAUGD.js";import"./skeleton-DYQa65hQ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-Cklvl4zO.js";import"./dropdown-menu-BV_GIL2m.js";import"./index-BMJOqYc5.js";import"./toolbar-C1hPtC5h.js";import"./use-debounced-value-kvvubcvc.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-BSH5-AoR.js";import"./use-mcp-tools-D-9o-UKj.js";import"./use-capability-Blhq30si.js";import"./tools-list-kaLCV1pK.js";import"./switch-fOl2nASH.js";import"./use-debounced-autosave-DtP2FeSL.js";import"./index-BT3K9z3D.js";import"./search-input-BO7EKx19.js";import"./github-repo-picker-MGilncKc.js";import"./github-installations-DzN1UQ4x.js";import"./use-secrets-Dh7wsLO2.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./index-BFtsPi4U.js";import"./get-initials-D-f_fDFw.js";import"./calendar-ybcZx_Ro.js";import"./toolbar-icon-button-Dzy6uTZF.js";import"./automation-list-row-xhf9RSAC.js";import"./use-file-configs-DNDcnIgx.js";const $={authors:[{key:"name",label:"Name",widget:"text"},{key:"email",label:"Email",widget:"text",placeholder:"author@example.com"},{key:"jobTitle",label:"Job title",widget:"text"},{key:"company",label:"Company",widget:"text"},{key:"avatar",label:"Avatar",widget:"image"}]},q={authors:"Author"};function Br(S){const t=F.c(34),{orgSlug:v,virtualMcpId:j,branch:w,kind:p,blockKey:g,block:f}=S;let y;t[0]!==w||t[1]!==v||t[2]!==j?(y={orgSlug:v,virtualMcpId:j,branch:w},t[0]=w,t[1]=v,t[2]=j,t[3]=y):y=t[3];const m=A(y);let d;t[4]!==f||t[5]!==p?(d=R(f,p),t[4]=f,t[5]=p,t[6]=d):d=t[6];const B=d;let h;t[7]!==g||t[8]!==p||t[9]!==m?(h=e=>{m.mutate({blockKey:g,data:J(g,p,e)})},t[7]=g,t[8]=p,t[9]=m,t[10]=h):h=t[10];const[i,E]=M(B,h);let k;t[11]!==i||t[12]!==E?(k=(e,o)=>E({...i,[e]:o}),t[11]=i,t[12]=E,t[13]=k):k=t[13];const a=k,N=q[p];let s;t[14]!==N?(s=r.jsx("span",{className:"text-sm font-medium",children:N}),t[14]=N,t[15]=s):s=t[15];let l;t[16]!==m.isError||t[17]!==m.isPending?(l=r.jsx(D,{isPending:m.isPending,isError:m.isError}),t[16]=m.isError,t[17]=m.isPending,t[18]=l):l=t[18];let n;t[19]!==s||t[20]!==l?(n=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[s,l]}),t[19]=s,t[20]=l,t[21]=n):n=t[21];const I=$[p];let c;if(t[22]!==i||t[23]!==a||t[24]!==I){let e;t[26]!==i||t[27]!==a?(e=o=>r.jsx("div",{className:"space-y-2",children:o.widget==="image"?r.jsx(K,{schema:{type:"string",format:"image-uri",title:o.label},value:i[o.key],onChange:u=>a(o.key,u),path:o.key,label:o.label}):r.jsxs(r.Fragment,{children:[r.jsx(C,{htmlFor:o.key,children:o.label}),o.widget==="textarea"?r.jsx(L,{id:o.key,value:P(i[o.key]),onChange:u=>a(o.key,u.target.value),rows:3}):r.jsx(T,{id:o.key,value:P(i[o.key]),placeholder:o.placeholder,onChange:u=>a(o.key,u.target.value),className:"h-10"})]})},o.key),t[26]=i,t[27]=a,t[28]=e):e=t[28],c=I.map(e),t[22]=i,t[23]=a,t[24]=I,t[25]=c}else c=t[25];let x;t[29]!==c?(x=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:c})}),t[29]=c,t[30]=x):x=t[30];let b;return t[31]!==x||t[32]!==n?(b=r.jsxs("div",{className:"flex h-full flex-col",children:[n,x]}),t[31]=x,t[32]=n,t[33]=b):b=t[33],b}export{Br as RecordEditor};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BRFpX0Ng.js","assets/index-C9Gl6KeA.js","assets/index-DhHJ9QL9.css","assets/XCircle-DgrryBB2.js","assets/CheckCircle-BULeFBaI.js","assets/Settings02-CvJhDLPL.js","assets/use-mcp-client-CN4QmRP6.js","assets/constants-B72Xmt_K.js","assets/auth-DYClk83I.js","assets/useInfiniteQuery-BPa2AlRk.js","assets/use-infinite-scroll-DJjCAEzH.js","assets/studio-tools-D7_6CoxV.js","assets/badge-D93soDf_.js","assets/input-C5DOJlr2.js","assets/dropdown-menu-BV_GIL2m.js","assets/Check-DC6De1xk.js","assets/ChevronRight-CjQUacTD.js","assets/Circle-Dr-DwW_m.js","assets/table-Bvnvje0a.js","assets/toggle-group-DoxinWJm.js","assets/use-view-mode-Bbyaf4iy.js","assets/use-mobile-Brd5_-y3.js","assets/DotsVertical-OkDrvocZ.js","assets/FilterLines-SlKhWVjw.js","assets/Globe01-DJ_01fPZ.js","assets/SearchMd-DkvUgk4F.js","assets/dialog-CobPBEs7.js","assets/X-CkvuVj9B.js","assets/AlertCircle-BW1-B4Md.js","assets/Upload01-BfcIJ6YO.js","assets/alert-dialog-DB9S8FUA.js","assets/card-Hloq5yRq.js","assets/Trash01-BsNNEw27.js","assets/label-B3wl5KEi.js","assets/select-XaSsjhL4.js","assets/tooltip-CzOOdQoL.js","assets/ChevronDown-QXGqDUHD.js","assets/ChevronUp-BQ8y4zrW.js","assets/switch-fOl2nASH.js","assets/textarea-DcZUnt8J.js","assets/checkbox-gNuA5V7Y.js","assets/Eye-Q0QOTjpD.js","assets/LinkExternal01-BgcxK-6I.js","assets/use-copy-BTX4ZWdv.js","assets/Copy01-B2wQaSyc.js","assets/Key01-CppfmHRV.js","assets/Plus-4YDlLdcR.js","assets/mcp-oauth-B89F3ulG.js","assets/Play-BrciZ_ES.js"])))=>i.map(i=>d[i]);
2
- import{c as s,j as e,r as i,i as a,aF as o}from"./index-C9Gl6KeA.js";import{R as m}from"./require-capability-mCuPV-Jy.js";import"./use-capability-Blhq30si.js";import"./access-gate-D3TdoD4u.js";import"./capability-load-error-DE4ayr9R.js";const n=i.lazy(()=>o(()=>import("./registry-layout-BRFpX0Ng.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])));function f(){const r=s.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(i.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{f as default};
@@ -1 +0,0 @@
1
- import{c as k,d as ee,j as n,B as T,bR as H,t as Y,aC as ye,a as W,U as Ne,L as be,K as se,bS as _e,bT as Ae,V as B,r as K,k as te,bU as Ce,bV as Oe,b as Te,$ as Ee,e as xe,u as $e,a0 as ze,aW as De,bW as Ie,bX as ue,bY as Le,bZ as Pe,S as Fe,X as Me,b_ as Re}from"./index-C9Gl6KeA.js";import{A as oe}from"./avatar-CvwxVYvX.js";import{t as we,a as qe}from"./Users03-VDMI_ZLU.js";import{i as Ue}from"./SearchLg-BzsaRPRS.js";import{i as Ge,s as Ke,a as D,n as He}from"./Stars02-DMQbYCW7.js";import{s as Be}from"./XClose-CrWOaDuR.js";import{i as L}from"./CheckCircle-BULeFBaI.js";import{i as me}from"./FilterLines-SlKhWVjw.js";import{i as G}from"./Zap-P5Rm-aKx.js";import{d as We,c as Ye,a as Je,e as Ve}from"./dialog-CobPBEs7.js";import{b as Qe,c as Xe,d as Ze,a as et,e as tt,g as nt,f as st}from"./alert-dialog-DB9S8FUA.js";import{R as ot}from"./required-auth-layout-CRnSP1uR.js";import{A as it}from"./autosend-C9kWlZNv.js";import{m as at}from"./use-mcp-client-CN4QmRP6.js";import{a as fe,S as rt}from"./constants-B72Xmt_K.js";import{g as lt,c as ct}from"./hooks-DCNOmeRd.js";import{q as dt}from"./tab-id-DAJ8K7VA.js";import{f as ut}from"./use-organization-settings-DvmEv1tG.js";import{u as mt}from"./use-org-sso-CO6APMXe.js";function ft(t){const e=k.c(27),{orgName:s,orgSlug:o,orgLogo:a,domain:r}=t;let i;e[0]!==o?(i={mutationFn:async()=>{const S=await fetch("/api/auth/custom/domain-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:o})}),v=await S.json();if(!S.ok||!v.success)throw new Error(v.error??"Failed to join organization");return v},onSuccess:S=>{window.location.href=`/${S.slug??o}`},onError:gt},e[0]=o,e[1]=i):i=e[1];const l=ee(i),c=ht;let d;e[2]!==a||e[3]!==s?(d=a?n.jsx(oe,{url:a,fallback:s.charAt(0).toUpperCase(),shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(we,{className:"h-6 w-6 text-primary"})}),e[2]=a,e[3]=s,e[4]=d):d=e[4];let u;e[5]!==s?(u=n.jsxs("h3",{className:"text-lg font-medium",children:["Join ",s,"?"]}),e[5]=s,e[6]=u):u=e[6];let m;e[7]!==r?(m=n.jsxs("p",{className:"text-sm text-muted-foreground",children:["Anyone with an ",n.jsxs("strong",{children:["@",r]})," email can join this organization."]}),e[7]=r,e[8]=m):m=e[8];let h;e[9]!==u||e[10]!==m?(h=n.jsxs("div",{className:"space-y-2",children:[u,m]}),e[9]=u,e[10]=m,e[11]=h):h=e[11];let p;e[12]!==l?(p=()=>l.mutate(),e[12]=l,e[13]=p):p=e[13];const f=l.isPending?"Joining…":`Enter ${s}`;let g;e[14]!==l.isPending||e[15]!==p||e[16]!==f?(g=n.jsx(T,{onClick:p,disabled:l.isPending,children:f}),e[14]=l.isPending,e[15]=p,e[16]=f,e[17]=g):g=e[17];let y;e[18]!==l.isPending?(y=n.jsx(T,{variant:"ghost",onClick:c,disabled:l.isPending,children:"Go to home"}),e[18]=l.isPending,e[19]=y):y=e[19];let x;e[20]!==g||e[21]!==y?(x=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[g,y]}),e[20]=g,e[21]=y,e[22]=x):x=e[22];let b;return e[23]!==x||e[24]!==d||e[25]!==h?(b=n.jsxs(H,{children:[d,h,x]}),e[23]=x,e[24]=d,e[25]=h,e[26]=b):b=e[26],b}function ht(){window.location.href="/"}function gt(t){Y.error(t instanceof Error?t.message:"Failed to join organization")}function he(t){const e=k.c(17),{orgSlug:s,orgName:o,reason:a}=t,r=pt,i=a==="not-found",l=i?Ue:ye,c=i?"Organization not found":"No access";let d;e[0]!==i||e[1]!==o||e[2]!==s?(d=i?n.jsxs(n.Fragment,{children:["We couldn't find an organization called ",n.jsx("strong",{children:s}),"."]}):n.jsxs(n.Fragment,{children:["You don't have access to ",n.jsx("strong",{children:o??s}),".",n.jsx("br",{}),"Ask an admin to invite you."]}),e[0]=i,e[1]=o,e[2]=s,e[3]=d):d=e[3];const u=d;let m;e[4]!==l?(m=n.jsx("div",{className:"bg-muted p-3 rounded-full",children:n.jsx(l,{className:"h-6 w-6 text-muted-foreground"})}),e[4]=l,e[5]=m):m=e[5];let h;e[6]!==c?(h=n.jsx("h3",{className:"text-lg font-medium",children:c}),e[6]=c,e[7]=h):h=e[7];let p;e[8]!==u?(p=n.jsx("p",{className:"text-sm text-muted-foreground",children:u}),e[8]=u,e[9]=p):p=e[9];let f;e[10]!==h||e[11]!==p?(f=n.jsxs("div",{className:"space-y-2",children:[h,p]}),e[10]=h,e[11]=p,e[12]=f):f=e[12];let g;e[13]===Symbol.for("react.memo_cache_sentinel")?(g=n.jsx(T,{onClick:r,children:"Go to home"}),e[13]=g):g=e[13];let y;return e[14]!==m||e[15]!==f?(y=n.jsxs(H,{children:[m,f,g]}),e[14]=m,e[15]=f,e[16]=y):y=e[16],y}function pt(){window.location.href="/"}function yt(t){const e=k.c(39),{invitationId:s,orgName:o,orgSlug:a,orgLogo:r}=t;let i;e[0]!==s?(i=async()=>{const A=await W.organization.acceptInvitation({invitationId:s});if(A.error)throw new Error(A.error.message);return A.data},e[0]=s,e[1]=i):i=e[1];let l;e[2]!==a?(l=()=>{Ne(),window.location.href=`/${a}`},e[2]=a,e[3]=l):l=e[3];let c;e[4]!==i||e[5]!==l?(c={mutationFn:i,onSuccess:l,onError:wt},e[4]=i,e[5]=l,e[6]=c):c=e[6];const d=ee(c);let u;e[7]!==s?(u=async()=>{const A=await W.organization.rejectInvitation({invitationId:s});if(A.error)throw new Error(A.error.message);return A.data},e[7]=s,e[8]=u):u=e[8];let m;e[9]===Symbol.for("react.memo_cache_sentinel")?(m=xt,e[9]=m):m=e[9];let h;e[10]!==u?(h={mutationFn:u,onSuccess:m,onError:bt},e[10]=u,e[11]=h):h=e[11];const p=ee(h),f=d.isPending||p.isPending;let g;e[12]!==r||e[13]!==o?(g=r?n.jsx(oe,{url:r,fallback:o.charAt(0).toUpperCase(),shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(Ge,{className:"h-6 w-6 text-primary"})}),e[12]=r,e[13]=o,e[14]=g):g=e[14];let y;e[15]!==o?(y=n.jsxs("h3",{className:"text-lg font-medium",children:["You've been invited to ",n.jsx("strong",{children:o})]}),e[15]=o,e[16]=y):y=e[16];let x;e[17]===Symbol.for("react.memo_cache_sentinel")?(x=n.jsx("p",{className:"text-sm text-muted-foreground",children:"Accept the invitation to join this organization."}),e[17]=x):x=e[17];let b;e[18]!==y?(b=n.jsxs("div",{className:"space-y-2",children:[y,x]}),e[18]=y,e[19]=b):b=e[19];let S;e[20]!==d?(S=()=>d.mutate(),e[20]=d,e[21]=S):S=e[21];const v=d.isPending?"Accepting…":"Accept invitation";let N;e[22]!==f||e[23]!==S||e[24]!==v?(N=n.jsx(T,{onClick:S,disabled:f,children:v}),e[22]=f,e[23]=S,e[24]=v,e[25]=N):N=e[25];let O;e[26]!==p?(O=()=>p.mutate(),e[26]=p,e[27]=O):O=e[27];const _=p.isPending?"Declining…":"Decline";let w;e[28]!==f||e[29]!==O||e[30]!==_?(w=n.jsx(T,{variant:"ghost",onClick:O,disabled:f,children:_}),e[28]=f,e[29]=O,e[30]=_,e[31]=w):w=e[31];let $;e[32]!==N||e[33]!==w?($=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[N,w]}),e[32]=N,e[33]=w,e[34]=$):$=e[34];let z;return e[35]!==b||e[36]!==$||e[37]!==g?(z=n.jsxs(H,{children:[g,b,$]}),e[35]=b,e[36]=$,e[37]=g,e[38]=z):z=e[38],z}function bt(t){Y.error(t instanceof Error?t.message:"Failed to decline invitation")}function xt(){Y.success("Invitation declined"),window.location.href="/"}function wt(t){Y.error(t instanceof Error?t.message:"Failed to accept invitation")}function St(t){const e=k.c(10),{orgName:s,orgLogo:o}=t;let a;e[0]!==o||e[1]!==s?(a=o?n.jsx(oe,{url:o,fallback:s.charAt(0).toUpperCase(),shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(Ke,{className:"h-6 w-6 text-primary"})}),e[0]=o,e[1]=s,e[2]=a):a=e[2];let r;e[3]===Symbol.for("react.memo_cache_sentinel")?(r=n.jsx("h3",{className:"text-lg font-medium",children:"Request pending"}),e[3]=r):r=e[3];let i;e[4]!==s?(i=n.jsxs("div",{className:"space-y-2",children:[r,n.jsxs("p",{className:"text-sm text-muted-foreground",children:["Your request to join ",n.jsx("strong",{children:s})," is waiting for an admin to approve it. You'll get access once it's approved."]})]}),e[4]=s,e[5]=i):i=e[5];let l;e[6]===Symbol.for("react.memo_cache_sentinel")?(l=n.jsx(T,{variant:"ghost",onClick:jt,children:"Go to home"}),e[6]=l):l=e[6];let c;return e[7]!==a||e[8]!==i?(c=n.jsxs(H,{children:[a,i,l]}),e[7]=a,e[8]=i,e[9]=c):c=e[9],c}function jt(){window.location.href="/"}function vt(t){const e=k.c(30),{orgName:s,orgSlug:o,orgLogo:a,domain:r}=t;let i;e[0]!==o?(i=async()=>{const v=await fetch("/api/auth/custom/domain-request-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:o})}),N=await v.json();if(!v.ok||!N.success)throw new Error(N.error??"Failed to request access");return N},e[0]=o,e[1]=i):i=e[1];let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=_t,e[2]=l):l=e[2];let c;e[3]!==i?(c={mutationFn:i,onSuccess:l,onError:Nt},e[3]=i,e[4]=c):c=e[4];const d=ee(c);let u;e[5]!==a||e[6]!==s?(u=a?n.jsx(oe,{url:a,fallback:s.charAt(0).toUpperCase(),shape:"square",size:"base",className:"h-12 w-12"}):n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(we,{className:"h-6 w-6 text-primary"})}),e[5]=a,e[6]=s,e[7]=u):u=e[7];let m;e[8]!==s?(m=n.jsxs("h3",{className:"text-lg font-medium",children:["Request to join ",s,"?"]}),e[8]=s,e[9]=m):m=e[9];let h;e[10]!==r?(h=n.jsxs("p",{className:"text-sm text-muted-foreground",children:["An admin must approve requests from ",n.jsxs("strong",{children:["@",r]})," emails before you can join."]}),e[10]=r,e[11]=h):h=e[11];let p;e[12]!==m||e[13]!==h?(p=n.jsxs("div",{className:"space-y-2",children:[m,h]}),e[12]=m,e[13]=h,e[14]=p):p=e[14];let f;e[15]!==d?(f=()=>d.mutate(),e[15]=d,e[16]=f):f=e[16];const g=d.isPending?"Requesting…":"Request to join";let y;e[17]!==d.isPending||e[18]!==f||e[19]!==g?(y=n.jsx(T,{onClick:f,disabled:d.isPending,children:g}),e[17]=d.isPending,e[18]=f,e[19]=g,e[20]=y):y=e[20];let x;e[21]!==d.isPending?(x=n.jsx(T,{variant:"ghost",onClick:kt,disabled:d.isPending,children:"Go to home"}),e[21]=d.isPending,e[22]=x):x=e[22];let b;e[23]!==y||e[24]!==x?(b=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[y,x]}),e[23]=y,e[24]=x,e[25]=b):b=e[25];let S;return e[26]!==b||e[27]!==u||e[28]!==p?(S=n.jsxs(H,{children:[u,p,b]}),e[26]=b,e[27]=u,e[28]=p,e[29]=S):S=e[29],S}function kt(){window.location.href="/"}function Nt(t){Y.error(t instanceof Error?t.message:"Failed to request access")}function _t(t){if(t.alreadyMember&&t.slug){window.location.href=`/${t.slug}`;return}window.location.reload()}function At(t){const e=k.c(7);let s;e[0]!==t?(s=se.orgAccessStatus(t),e[0]=t,e[1]=s):s=e[1];let o;e[2]!==t?(o=async()=>{const r=await fetch(`/api/auth/custom/org-access-status/${encodeURIComponent(t)}`,{credentials:"include"});if(!r.ok)throw new Error(`org-access-status failed (${r.status})`);return await r.json()},e[2]=t,e[3]=o):o=e[3];let a;return e[4]!==s||e[5]!==o?(a={queryKey:s,queryFn:o,refetchOnWindowFocus:!1},e[4]=s,e[5]=o,e[6]=a):a=e[6],be(a)}function Ct({orgSlug:t}){const{data:e}=At(t);if(e.status!=="member"){_e()?.org===t&&Ae();const s=localStorage.getItem(B.lastOrgSlug())===t;if(s&&localStorage.removeItem(B.lastOrgSlug()),s&&(e.status==="not-found"||e.status==="no-access"))return window.location.href="/",null}return e.status==="not-found"?n.jsx(he,{orgSlug:t,reason:"not-found"}):e.status==="pending-invite"?n.jsx(yt,{invitationId:e.invitation.id,orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo}):e.status==="auto-domain-join"?n.jsx(ft,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="can-request"?n.jsx(vt,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="request-pending"?n.jsx(St,{orgName:e.organization.name,orgLogo:e.organization.logo}):e.status==="member"?(window.location.reload(),null):n.jsx(he,{orgSlug:t,orgName:e.organization.name,reason:"no-access"})}function Ot(t){const e=k.c(20),{release:s,onCtaClick:o,onLearnMoreClick:a}=t;let r;e[0]!==s.eyebrow?(r=s.eyebrow&&n.jsx("p",{className:"text-xs text-muted-foreground",children:s.eyebrow}),e[0]=s.eyebrow,e[1]=r):r=e[1];let i;e[2]!==s.title?(i=n.jsx("h3",{className:"text-base font-semibold text-foreground",children:s.title}),e[2]=s.title,e[3]=i):i=e[3];let l;e[4]!==r||e[5]!==i?(l=n.jsxs("div",{children:[r,i]}),e[4]=r,e[5]=i,e[6]=l):l=e[6];let c;e[7]!==s.bullets?(c=s.bullets.map(Tt),e[7]=s.bullets,e[8]=c):c=e[8];let d;e[9]!==c?(d=n.jsx("ul",{className:"flex flex-col gap-3",children:c}),e[9]=c,e[10]=d):d=e[10];let u;e[11]!==o||e[12]!==a||e[13]!==s.cta||e[14]!==s.learnMoreHref?(u=(s.cta||s.learnMoreHref)&&n.jsxs("div",{className:"flex items-center justify-between pt-1",children:[s.learnMoreHref?n.jsx("a",{href:s.learnMoreHref,target:"_blank",rel:"noreferrer",onClick:a,className:"text-xs text-muted-foreground hover:text-foreground underline-offset-2 hover:underline",children:"Learn More"}):n.jsx("span",{}),s.cta&&n.jsx(T,{asChild:!0,size:"sm",onClick:o,children:n.jsx("a",{href:s.cta.href,children:s.cta.label})})]}),e[11]=o,e[12]=a,e[13]=s.cta,e[14]=s.learnMoreHref,e[15]=u):u=e[15];let m;return e[16]!==l||e[17]!==d||e[18]!==u?(m=n.jsxs("div",{className:"flex flex-col gap-3",children:[l,d,u]}),e[16]=l,e[17]=d,e[18]=u,e[19]=m):m=e[19],m}function Tt(t,e){return n.jsxs("li",{className:"flex items-start gap-3",children:[n.jsx(t.icon,{size:20,className:"text-muted-foreground mt-0.5 shrink-0"}),n.jsxs("div",{className:"min-w-0",children:[n.jsx("p",{className:"text-sm font-medium text-foreground",children:t.title}),n.jsx("p",{className:"text-xs text-muted-foreground",children:t.body})]})]},e)}const Se=[{id:"codex-gpt-5-6-defaults",date:"2026-07-13",eyebrow:"Now Available",title:"Codex defaults move to GPT-5.6",bullets:[{icon:D,title:"Sol leads Thinking",body:"Codex Thinking now defaults to `gpt-5.6-sol` for deeper coding and reasoning work."},{icon:L,title:"Terra balances Smart",body:"The Smart tier now uses `gpt-5.6-terra`, replacing GPT-5.4 as the default balanced Codex model."},{icon:G,title:"Luna speeds up Fast",body:"The Fast tier and lightweight Codex title generation now use `gpt-5.6-luna`. Existing threads that reference older GPT-5.4 or GPT-5.5 model IDs remain supported."}]},{id:"claude-sonnet-5",date:"2026-06-30",eyebrow:"Now Available",title:"Claude Sonnet 5 powers the Smart tier",bullets:[{icon:D,title:"More agentic coding",body:"Sonnet 5 is Anthropic's strongest Sonnet model yet, with improved reasoning, tool use, coding, and knowledge work compared with Sonnet 4.6."},{icon:L,title:"Available in Claude Code",body:"The Claude Code harness now pins the Smart tier to the new `claude-sonnet-5` model id so new sessions use Sonnet 5 by default."},{icon:G,title:"Nothing to change",body:"Existing Smart-tier chats and agents pick up Sonnet 5 automatically. Thinking remains on Opus 4.8 1M."}],learnMoreHref:"https://www.anthropic.com/news/claude-sonnet-5"},{id:"fable-5-suspension",date:"2026-06-13",eyebrow:"Important Update",title:"Fable 5 & Mythos 5 suspended — Opus 4.8 takes over",bullets:[{icon:L,title:"US government directive",body:"Anthropic received an export control directive requiring the suspension of Fable 5 and Mythos 5 access for all users, citing national security concerns. Anthropic is complying while it works to resolve the matter."},{icon:D,title:"Opus 4.8 steps in as the Thinking tier",body:"The Thinking tier now runs on Claude Opus 4.8, which remains fully operational. Performance on most tasks is comparable, and Anthropic reports more than 95% of sessions were unaffected by the Fable 5 classifiers anyway."},{icon:G,title:"Nothing to change",body:"The switch is automatic — any chat or agent already using the Thinking tier is now served by Opus 4.8. Anthropic will share further details within 24 hours."}],learnMoreHref:"https://www.anthropic.com/news/fable-mythos-access"},{id:"claude-fable-5",date:"2026-06-09",eyebrow:"Now Available",title:"Claude Fable 5 leads the Thinking tier",bullets:[{icon:D,title:"State-of-the-art reasoning",body:"Fable 5 takes the Thinking tier, posting top scores across software engineering, knowledge work, and vision — and outperforming Opus 4.8 on nearly every benchmark Anthropic tested."},{icon:L,title:"Safety without the slowdown",body:"New classifiers route the small slice of high-risk requests (cybersecurity, bio/chem) back to Opus 4.8. Anthropic reports more than 95% of sessions never trigger a fallback."},{icon:G,title:"Nothing to change",body:"Chats and agents pick up Fable 5 automatically wherever the Thinking tier is selected. Opus 4.8 stays available as the safety fallback."}],learnMoreHref:"https://www.anthropic.com/news/claude-fable-5-mythos-5"},{id:"claude-opus-4-8",date:"2026-05-28",eyebrow:"Now Available",title:"Claude Opus 4.8 is the new default",bullets:[{icon:D,title:"Smarter thinking, same price",body:"Opus 4.8 now leads the Thinking and Smarter tiers, outperforming Opus 4.7 on coding, reasoning, and agent tasks at the same cost."},{icon:L,title:"More honest answers",body:"It's about 4× less likely to let a code flaw slip through unflagged, and surfaces uncertainty instead of making unsupported claims."},{icon:G,title:"Nothing to change",body:"Chats and agents pick up Opus 4.8 automatically wherever the Thinking or Smarter tier is selected."}],learnMoreHref:"https://www.anthropic.com/news/claude-opus-4-8"},{id:"enhanced-sidebar",date:"2026-05-28",eyebrow:"Now Available",title:"Enhanced sidebar",bullets:[{icon:D,title:"A clearer view of what's running",body:"See every task in your organization at a glance, with each agent and status group laid out so you can spot active work without hunting for it."},{icon:me,title:"Browse one group at a time",body:"Expand the groups you care about and pull in more results on demand — no more endless scrolling to find an older conversation."},{icon:L,title:"Polished and steadier",body:"Several sidebar bugs are fixed, including empty agent groups showing the right action and status filters returning the right tasks."}]},{id:"smarter-task-delegation",date:"2026-05-27",eyebrow:"Now Available",title:"Smarter task delegation",bullets:[{icon:qe,title:"Real results from delegated agents",body:"When one agent hands work to another, you'll see the full report inline — no more empty replies hiding the work that was done."},{icon:G,title:"Same powers, top to bottom",body:"Delegated agents now work with the same tools, context, and memory as the agent that called them, so complex multi-agent investigations finish on the first try."},{icon:L,title:"Clearer progress signals",body:"When a delegated task hits its limit or runs into a problem, you get a plain-language message instead of a silent stall."}]},{id:"sidebar-task-groups",date:"2026-05-27",eyebrow:"Now Available",title:"Redesigned sidebar",bullets:[{icon:D,title:"Group by agent or status",body:"Switch the task list between grouping by agent or by status — pick whichever matches how you're working right now."},{icon:me,title:"Sharper filters",body:"Narrow the list to your tasks, manual chats, or automations from a compact filter row above the groups."}]},{id:"release-channel",date:"2026-05-26",eyebrow:"Now Available",title:"Release announcements",bullets:[{icon:D,title:"Heads-up when features ship",body:"New releases surface in a corner card the first time you see them, then stick around in your inbox."},{icon:He,title:"Unified inbox",body:"Org invitations and product updates now share one chronological feed in the sidebar."}]}],ne="studio.release-feed.v1",ce=new Set;let P="",F={},de=!1;function Et(){if(de)return P||"{}";try{return localStorage.getItem(ne)??"{}"}catch{return P||"{}"}}function je(t){try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function ge(){const t=Et();return t!==P&&(P=t,F=je(t)),F}function $t(t){ce.add(t);const e=s=>{if(!(s.key!==ne&&s.key!==null)){try{const o=localStorage.getItem(ne)??"{}",r={...je(o),...F};F=r,P=JSON.stringify(r)}catch{}t()}};return window.addEventListener("storage",e),()=>{ce.delete(t),window.removeEventListener("storage",e)}}function zt(t){F=t,P=JSON.stringify(t);try{localStorage.setItem(ne,P),de=!1}catch{de=!0}ce.forEach(e=>e())}function Dt(){const t=k.c(7),e=K.useSyncExternalStore($t,ge,ge);let s;t[0]!==e?(s=c=>!!e[c],t[0]=e,t[1]=s):s=t[1];const o=s,a=It;let r;t[2]!==e?(r=Se.reduce((c,d)=>e[d.id]?c:c+1,0),t[2]=e,t[3]=r):r=t[3];const i=r;let l;return t[4]!==o||t[5]!==i?(l={isSeen:o,markSeen:a,unseenCount:i},t[4]=o,t[5]=i,t[6]=l):l=t[6],l}function It(t){F[t]||zt({...F,[t]:{seenAt:new Date().toISOString()}})}const Lt=720*60*60*1e3,Pt=10080*60*1e3;function Ft(t){const[e,s,o]=t.split("-").map(Number);return!e||!s||!o?new Date(t).getTime():new Date(e,s-1,o).getTime()}function Mt(t){const e=Se[0];if(!e)return null;const s=Ft(e.date),o=t-s;return o<0||o>Lt?null:e}function Rt(t){if(t instanceof Date)return t.getTime();if(typeof t=="string"||typeof t=="number"){const e=new Date(t).getTime();return Number.isFinite(e)?e:null}return null}function qt(t,e){const s=Rt(t);return s===null?!1:e-s>=Pt}function Ut(){const t=k.c(22),{data:e}=W.useSession(),{isSeen:s,markSeen:o}=Dt();let a,r,i;if(t[0]!==s||t[1]!==e?.user?.createdAt){i=Symbol.for("react.early_return_sentinel");e:{const f=Date.now();if(a=Mt(f),!a){i=null;break e}if(!qt(e?.user?.createdAt,f)){i=null;break e}r=s(a.id)}t[0]=s,t[1]=e?.user?.createdAt,t[2]=a,t[3]=r,t[4]=i}else a=t[2],r=t[3],i=t[4];if(i!==Symbol.for("react.early_return_sentinel"))return i;if(r)return null;let l;t[5]!==a.id||t[6]!==o?(l=()=>o(a.id),t[5]=a.id,t[6]=o,t[7]=l):l=t[7];let c;t[8]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx(Be,{size:14}),t[8]=c):c=t[8];let d;t[9]!==l?(d=n.jsx(T,{size:"icon",variant:"ghost","aria-label":"Dismiss release announcement",className:"absolute right-2 top-2 size-7 text-muted-foreground",onClick:l,children:c}),t[9]=l,t[10]=d):d=t[10];let u,m;t[11]!==a.id||t[12]!==o?(u=()=>o(a.id),m=()=>o(a.id),t[11]=a.id,t[12]=o,t[13]=u,t[14]=m):(u=t[13],m=t[14]);let h;t[15]!==a||t[16]!==u||t[17]!==m?(h=n.jsx(Ot,{release:a,onCtaClick:u,onLearnMoreClick:m}),t[15]=a,t[16]=u,t[17]=m,t[18]=h):h=t[18];let p;return t[19]!==d||t[20]!==h?(p=n.jsxs("div",{role:"dialog","aria-label":"Release announcement",className:"fixed bottom-6 right-6 z-50 w-[min(360px,calc(100vw-3rem))] rounded-lg border border-border bg-background p-4 shadow-lg animate-in fade-in slide-in-from-bottom-2 duration-300",children:[d,h]}),t[19]=d,t[20]=h,t[21]=p):p=t[21],p}const ve=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform),I=ve?"⌘":"Ctrl",E={keyboardShortcuts:{keys:[I,"K"],description:"Keyboard shortcuts"},back:{keys:[I,"["],description:"Back to previous"},focusChatInput:{keys:[I,"L"],description:"Focus chat input"},saveAndFormat:{keys:[I,"S"],description:"Save & format"},sendMessage:{keys:["Enter"],description:"Send message"},newLine:{keys:["Shift","Enter"],description:"New line"},selectOption:{keys:["1-9"],description:"Select option"},applyFilter:{keys:[I,"Enter"],description:"Apply filter"},togglePlanMode:{keys:[I,"Shift","L"],description:"Toggle plan mode"},newTask:{keys:["Shift",I,"S"],description:"New task"},toggleDaemon:{keys:[I,"D"],description:"Toggle daemon logs"}},Gt=[{label:"General",shortcuts:[E.keyboardShortcuts,E.back,E.newTask,E.toggleDaemon]},{label:"Editor",shortcuts:[E.saveAndFormat]},{label:"Chat",shortcuts:[E.focusChatInput,E.togglePlanMode,E.sendMessage,E.newLine]},{label:"Questions",shortcuts:[E.selectOption]},{label:"Monitoring",shortcuts:[E.applyFilter]}];function pe(t){return ve?t.metaKey:t.ctrlKey}function Kt(t){const e=k.c(5),{open:s,onOpenChange:o}=t;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=n.jsx(Ye,{children:n.jsx(Je,{children:"Keyboard Shortcuts"})}),e[0]=a):a=e[0];let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=n.jsxs(We,{className:"sm:max-w-md",children:[a,n.jsx("div",{className:"flex flex-col gap-4",children:Gt.map(Ht)})]}),e[1]=r):r=e[1];let i;return e[2]!==o||e[3]!==s?(i=n.jsx(Ve,{open:s,onOpenChange:o,children:r}),e[2]=o,e[3]=s,e[4]=i):i=e[4],i}function Ht(t){return n.jsxs("div",{children:[n.jsx("h3",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide mb-2",children:t.label}),n.jsx("div",{className:"flex flex-col gap-1.5",children:t.shortcuts.map(Bt)})]},t.label)}function Bt(t){return n.jsxs("div",{className:"flex items-center justify-between py-1",children:[n.jsx("span",{className:"text-sm",children:t.description}),n.jsx("div",{className:"flex items-center gap-1",children:t.keys.map(Wt)})]},t.description)}function Wt(t){return n.jsx("kbd",{className:"inline-flex items-center justify-center min-w-6 h-6 px-1.5 rounded-sm border border-border bg-muted text-muted-foreground text-xs font-mono",children:t},t)}const Yt=300*1e3,Jt=2;function Vt(t,e,s){return!e||e===s?{version:null,count:0}:t.version===e?{version:e,count:t.count+1}:{version:e,count:1}}function Qt(){const t=k.c(6);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={queryKey:se.appVersionCheck(),queryFn:Zt,refetchInterval:Yt,refetchIntervalInBackground:!0,staleTime:0},t[0]=e):e=t[0];const{data:s,dataUpdatedAt:o}=te(e),[a,r]=K.useState(0);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i={version:null,count:0},t[1]=i):i=t[1];const[l,c]=K.useState(i);o!==a&&(r(o),c(p=>Vt(p,s,"4.39.2")));const d=l.count>=Jt;let u;t[2]===Symbol.for("react.memo_cache_sentinel")?(u=n.jsxs(Qe,{children:[n.jsx(Xe,{children:"A new version is available"}),n.jsx(Ze,{children:"You're viewing an outdated version of this page. Refresh to get the latest updates."})]}),t[2]=u):u=t[2];let m;t[3]===Symbol.for("react.memo_cache_sentinel")?(m=n.jsxs(et,{children:[u,n.jsx(tt,{children:n.jsx(nt,{onClick:Xt,children:"Refresh"})})]}),t[3]=m):m=t[3];let h;return t[4]!==d?(h=n.jsx(st,{open:d,children:m}),t[4]=d,t[5]=h):h=t[5],h}function Xt(){return window.location.reload()}async function Zt(){const t=await fetch("/api/config",{cache:"no-store"}),{config:e}=await t.json();return e.version}function en({activeOrg:t}){return t&&(Ce(t.id,{name:t.name??void 0,slug:t.slug??void 0}),Oe()),null}function tn(t,e,s){if(!s)return null;const o=lt(t,e);return o?o.threads.get().find(r=>r.id===s)?.branch??null:null}function ke(t){return{queryKey:se.homeNextActions(t),queryFn:async()=>{const e=await fetch(`/api/${t}/home-next-actions`,{cache:"no-store"});if(!e.ok)throw new Error("Failed to load home next actions");return await e.json()},staleTime:0,refetchOnWindowFocus:"always"}}function Tn(t){const e=k.c(10);let s;e[0]!==t?(s=ke(t),e[0]=t,e[1]=s):s=e[1];const o=te(s);let a;e[2]!==o.data?.prompts?(a=o.data?.prompts??[],e[2]=o.data?.prompts,e[3]=a):a=e[3];let r;e[4]!==o.data?.tiles?(r=o.data?.tiles??[],e[4]=o.data?.tiles,e[5]=r):r=e[5];let i;return e[6]!==o.isLoading||e[7]!==a||e[8]!==r?(i={isLoading:o.isLoading,prompts:a,tiles:r},e[6]=o.isLoading,e[7]=a,e[8]=r,e[9]=i):i=e[9],i}function nn(t){const e=k.c(17),{orgSlug:s,orgName:o,domain:a}=t;let r;e[0]!==s?(r=()=>{window.location.href=`/api/${encodeURIComponent(s)}/sso/authorize`},e[0]=s,e[1]=r):r=e[1];const i=r,l=sn;let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:n.jsx(ye,{className:"h-6 w-6 text-primary"})}),e[2]=c):c=e[2];let d;e[3]===Symbol.for("react.memo_cache_sentinel")?(d=n.jsx("h3",{className:"text-lg font-medium",children:"SSO Authentication Required"}),e[3]=d):d=e[3];let u;e[4]!==a||e[5]!==o?(u=o?n.jsxs(n.Fragment,{children:[n.jsx("strong",{children:o})," requires SSO authentication",a?` via ${a}`:"","."]}):"This organization requires SSO authentication to access.",e[4]=a,e[5]=o,e[6]=u):u=e[6];let m;e[7]!==u?(m=n.jsxs("div",{className:"space-y-2",children:[d,n.jsx("p",{className:"text-sm text-muted-foreground",children:u})]}),e[7]=u,e[8]=m):m=e[8];let h;e[9]!==i?(h=n.jsx(T,{onClick:i,children:"Sign in with SSO"}),e[9]=i,e[10]=h):h=e[10];let p;e[11]===Symbol.for("react.memo_cache_sentinel")?(p=n.jsx(T,{variant:"ghost",onClick:l,children:"Go back"}),e[11]=p):p=e[11];let f;e[12]!==h?(f=n.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[h,p]}),e[12]=h,e[13]=f):f=e[13];let g;return e[14]!==m||e[15]!==f?(g=n.jsxs(H,{children:[c,m,f]}),e[14]=m,e[15]=f,e[16]=g):g=e[16],g}function sn(){window.location.href="/"}function on(t){const e=k.c(8),{org:s,children:o}=t,r=ut(s.id,s.slug)?.enabled_plugins??null;let i;e[0]!==s.id||e[1]!==s.name||e[2]!==r?(i={id:s.id,organizationId:s.id,slug:"_org",name:s.name,enabledPlugins:r,ui:null},e[0]=s.id,e[1]=s.name,e[2]=r,e[3]=i):i=e[3];const l=i;let c;return e[4]!==o||e[5]!==s||e[6]!==l?(c=n.jsx(Re,{org:s,project:l,children:o}),e[4]=o,e[5]=s,e[6]=l,e[7]=c):c=e[7],c}function an(){const t=Te(),e=ct(),{org:s,locator:o}=Ee(),a=xe({strict:!1}),r=$e({strict:!1}),i=a.org??"",l=a.taskId??"",c=(f,g,y=!0)=>t({to:"/$org/$taskId",params:{org:i,taskId:f},search:g,replace:y}),d=(f,g=!0)=>c(l,f,g),u=f=>d(g=>({...g,chat:f?1:0})),m=(f,g,y)=>c(f,x=>{const b={chat:1};g?b.virtualmcpid=g:x.virtualmcpid&&(b.virtualmcpid=x.virtualmcpid);const S=fe(s.id).id,v=typeof x.virtualmcpid=="string"?x.virtualmcpid:S,O=(g??v)!==v;if(y?.main)b.main=y.main;else if(!O){const _=x.main;_&&typeof _=="string"&&!dt(_)&&(b.main=_)}return y?.autosend&&(b.autosend=it),b},!1);return{setChatOpen:u,setTaskId:m,createNewTask:async f=>{const g=crypto.randomUUID(),y=f??r.virtualmcpid??fe(s.id).id,b=y===r.virtualmcpid?tn(s.slug,o,l):null;try{await e?.create({id:g,virtual_mcp_id:y,...b?{branch:b}:{}})}catch{}m(g,y)},openTab:f=>c(l||crypto.randomUUID(),g=>({...g,main:f}))}}function rn(){const t=k.c(53);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org",shouldThrow:!1},t[0]=e):e=t[0];const o=ze(e)?.params.org;let a;t[1]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},t[1]=a):a=t[1];const{taskId:r}=xe(a),[i,l]=K.useState(!1),c=De(),d=o??"";let u;t[2]!==d?(u=ke(d),t[2]=d,t[3]=u):u=t[3];const m=!!o&&!r;let h;t[4]!==u||t[5]!==m?(h={...u,enabled:m},t[4]=u,t[5]=m,t[6]=h):h=t[6],te(h);const{data:p}=W.useSession(),f=p?.user?.id;let g;t[7]!==o||t[8]!==f?(g=o&&f?Ie(f,o):null,t[7]=o,t[8]=f,t[9]=g):g=t[9];const y=g;let x,b;t[10]!==c?(x=()=>{const j=C=>{if(pe(C)&&C.code==="KeyK"){C.preventDefault(),l(!0);return}pe(C)&&C.code==="BracketLeft"&&c.history.canGoBack()&&(C.preventDefault(),c.history.back())};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},b=[c],t[10]=c,t[11]=x,t[12]=b):(x=t[11],b=t[12]),K.useEffect(x,b);let S;t[13]!==o?(S=se.activeOrganization(o),t[13]=o,t[14]=S):S=t[14];let v;t[15]!==o||t[16]!==f?(v=async()=>{if(!o)return null;performance.mark("mesh:active-org-fetch:start");const{data:j}=await W.organization.getFullOrganization({query:{organizationSlug:o}}).finally(ln),C=ue(j);return j&&!C&&localStorage.setItem(B.lastOrgSlug(),o),f&&j&&Pe(f,o,j),j},t[15]=o,t[16]=f,t[17]=v):v=t[17];const N=y?y.data:void 0,O=y?.updatedAt;let _;t[18]!==v||t[19]!==N||t[20]!==O||t[21]!==S?(_={queryKey:S,queryFn:v,initialData:N,initialDataUpdatedAt:O,gcTime:1/0,refetchOnWindowFocus:!1},t[18]=v,t[19]=N,t[20]=O,t[21]=S,t[22]=_):_=t[22];const{data:w}=be(_),$=w?.id,z=w?.slug,{data:A}=mt($,z),ie=$??"",ae=z??"";let M;t[23]!==ie||t[24]!==ae?(M=at({connectionId:rt,orgId:ie,orgSlug:ae}),t[23]=ie,t[24]=ae,t[25]=M):M=t[25];const re=!!$&&!!z;let J;if(t[26]!==M||t[27]!==re?(J={...M,enabled:re},t[26]=M,t[27]=re,t[28]=J):J=t[28],te(J),!w){let j;t[29]===Symbol.for("react.memo_cache_sentinel")?(j=n.jsx(Fe,{}),t[29]=j):j=t[29];let C;return t[30]!==o?(C=n.jsx(K.Suspense,{fallback:j,children:n.jsx(Ct,{orgSlug:o})}),t[30]=o,t[31]=C):C=t[31],C}if(ue(w)){localStorage.getItem(B.lastOrgSlug())===o&&localStorage.removeItem(B.lastOrgSlug());let j;return t[32]!==w.name?(j=n.jsx(Le,{orgName:w.name}),t[32]=w.name,t[33]=j):j=t[33],j}if(A?.ssoRequired&&!A.authenticated){let j;return t[34]!==w.id||t[35]!==w.name||t[36]!==w.slug||t[37]!==A.domain?(j=n.jsx(nn,{orgId:w.id,orgSlug:w.slug,orgName:w.name,domain:A.domain}),t[34]=w.id,t[35]=w.name,t[36]=w.slug,t[37]=A.domain,t[38]=j):j=t[38],j}const le=w.logo??null;let R;t[39]!==w||t[40]!==le?(R={...w,logo:le},t[39]=w,t[40]=le,t[41]=R):R=t[41];let q;t[42]!==w?(q=n.jsx(en,{activeOrg:w}),t[42]=w,t[43]=q):q=t[43];let V,Q;t[44]===Symbol.for("react.memo_cache_sentinel")?(V=n.jsx(Me,{}),Q=n.jsx(Ut,{}),t[44]=V,t[45]=Q):(V=t[44],Q=t[45]);let U;t[46]!==i?(U=n.jsx(Kt,{open:i,onOpenChange:l}),t[46]=i,t[47]=U):U=t[47];let X;t[48]===Symbol.for("react.memo_cache_sentinel")?(X=n.jsx(Qt,{}),t[48]=X):X=t[48];let Z;return t[49]!==R||t[50]!==q||t[51]!==U?(Z=n.jsxs(on,{org:R,children:[q,V,Q,U,X]}),t[49]=R,t[50]=q,t[51]=U,t[52]=Z):Z=t[52],Z}function ln(){performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}function cn(){const t=k.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=n.jsx(ot,{children:n.jsx(rn,{})}),t[0]=e):e=t[0],e}const En=Object.freeze(Object.defineProperty({__proto__:null,default:cn,usePanelActions:an},Symbol.toStringTag,{value:"Module"}));export{E as K,Tn as a,pe as i,tn as r,En as s,an as u};
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-BRFpX0Ng.js","assets/index-C9Gl6KeA.js","assets/index-DhHJ9QL9.css","assets/XCircle-DgrryBB2.js","assets/CheckCircle-BULeFBaI.js","assets/Settings02-CvJhDLPL.js","assets/use-mcp-client-CN4QmRP6.js","assets/constants-B72Xmt_K.js","assets/auth-DYClk83I.js","assets/useInfiniteQuery-BPa2AlRk.js","assets/use-infinite-scroll-DJjCAEzH.js","assets/studio-tools-D7_6CoxV.js","assets/badge-D93soDf_.js","assets/input-C5DOJlr2.js","assets/dropdown-menu-BV_GIL2m.js","assets/Check-DC6De1xk.js","assets/ChevronRight-CjQUacTD.js","assets/Circle-Dr-DwW_m.js","assets/table-Bvnvje0a.js","assets/toggle-group-DoxinWJm.js","assets/use-view-mode-Bbyaf4iy.js","assets/use-mobile-Brd5_-y3.js","assets/DotsVertical-OkDrvocZ.js","assets/FilterLines-SlKhWVjw.js","assets/Globe01-DJ_01fPZ.js","assets/SearchMd-DkvUgk4F.js","assets/dialog-CobPBEs7.js","assets/X-CkvuVj9B.js","assets/AlertCircle-BW1-B4Md.js","assets/Upload01-BfcIJ6YO.js","assets/alert-dialog-DB9S8FUA.js","assets/card-Hloq5yRq.js","assets/Trash01-BsNNEw27.js","assets/label-B3wl5KEi.js","assets/select-XaSsjhL4.js","assets/tooltip-CzOOdQoL.js","assets/ChevronDown-QXGqDUHD.js","assets/ChevronUp-BQ8y4zrW.js","assets/switch-fOl2nASH.js","assets/textarea-DcZUnt8J.js","assets/checkbox-gNuA5V7Y.js","assets/Eye-Q0QOTjpD.js","assets/LinkExternal01-BgcxK-6I.js","assets/use-copy-BTX4ZWdv.js","assets/Copy01-B2wQaSyc.js","assets/Key01-CppfmHRV.js","assets/Plus-4YDlLdcR.js","assets/mcp-oauth-B89F3ulG.js","assets/Play-BrciZ_ES.js"])))=>i.map(i=>d[i]);
2
- import{c as m,b as n,e as c,j as t,i as p,r as l,aF as f}from"./index-C9Gl6KeA.js";import{R as u}from"./require-capability-mCuPV-Jy.js";import"./use-capability-Blhq30si.js";import"./access-gate-D3TdoD4u.js";import"./capability-load-error-DE4ayr9R.js";const g=l.lazy(()=>f(()=>import("./registry-layout-BRFpX0Ng.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])));function j(){const e=m.c(5),i=n();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=c(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(p,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{j as default};
@@ -1 +0,0 @@
1
- import{I as u}from"./use-infinite-scroll-DJjCAEzH.js";import{cy as i}from"./index-C9Gl6KeA.js";function t(e,r){return i(e,u,r)}export{t as u};
@@ -1 +0,0 @@
1
- import{I as s}from"./use-infinite-scroll-DJjCAEzH.js";import{cy as u,F as n}from"./index-C9Gl6KeA.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};