decocms 3.16.4 → 3.17.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 (232) hide show
  1. package/dist/client/assets/{AlertCircle-C7z-V8PW.js → AlertCircle-C60SOqDn.js} +1 -1
  2. package/dist/client/assets/{ArrowUpRight-DrdPL0e7.js → ArrowUpRight-CK7gDol3.js} +1 -1
  3. package/dist/client/assets/{Check-Dd4DY5uR.js → Check-DF6w4Xf7.js} +1 -1
  4. package/dist/client/assets/{CheckCircle-FfKjcpCo.js → CheckCircle-DmfTpHvO.js} +1 -1
  5. package/dist/client/assets/{ChevronDown-q6om2VnP.js → ChevronDown-xdnBqvPv.js} +1 -1
  6. package/dist/client/assets/{ChevronLeft-MgGV-KON.js → ChevronLeft-CV1JR0n7.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-DF_7Jr6-.js → ChevronRight-BFePDCy2.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-CZ2c4QT8.js → ChevronUp-Buu5-4PF.js} +1 -1
  9. package/dist/client/assets/{Container-CLTqJvB-.js → Container-CE_bYM-S.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-ChEXuCNr.js → DotsVertical-BKym908x.js} +1 -1
  11. package/dist/client/assets/{Eye-Cg3KEYLR.js → Eye-CErWNv7o.js} +1 -1
  12. package/dist/client/assets/{FilterLines-8Z1EXJU1.js → FilterLines-BdmyMdfx.js} +1 -1
  13. package/dist/client/assets/{Globe01-DhsYVZ78.js → Globe01-DnzdPEJJ.js} +1 -1
  14. package/dist/client/assets/{HardDrive-I0CJViHA.js → HardDrive-hADgoLDo.js} +1 -1
  15. package/dist/client/assets/{Key01-BOdS0XJd.js → Key01-DsE7OhuU.js} +1 -1
  16. package/dist/client/assets/{LayoutLeft-Bb0s-28Y.js → LayoutLeft-BhinYfWY.js} +1 -1
  17. package/dist/client/assets/{LinkExternal01-D5bRZZ7Q.js → LinkExternal01-DcOGEj3G.js} +1 -1
  18. package/dist/client/assets/{Monitor01-BMO0nffP.js → Monitor01-Gwe7gDl0.js} +1 -1
  19. package/dist/client/assets/{Palette-cVasQJYG.js → Palette-B-GEVm1-.js} +1 -1
  20. package/dist/client/assets/{Play-CnLbQjiF.js → Play-BGyx7fGz.js} +1 -1
  21. package/dist/client/assets/{Plus-C2lPEpk2.js → Plus-bsWCeJ-2.js} +1 -1
  22. package/dist/client/assets/{RefreshCcw01-DkjqduXo.js → RefreshCcw01-CRJIqj_B.js} +1 -1
  23. package/dist/client/assets/{SearchMd-BZ5uFVyv.js → SearchMd-CzBI3Uol.js} +1 -1
  24. package/dist/client/assets/{Settings02-CkecSEd-.js → Settings02-Ci12BiE5.js} +1 -1
  25. package/dist/client/assets/{Shield01-DHeMOigW.js → Shield01-BRyN9scd.js} +1 -1
  26. package/dist/client/assets/{Star01-CcEuFfec.js → Star01-OObi9Rw0.js} +1 -1
  27. package/dist/client/assets/{Stars01-CbHt_6-5.js → Stars01-BEoc-mjR.js} +1 -1
  28. package/dist/client/assets/{Stars02-BqzITFM8.js → Stars02-CW3UZx3-.js} +1 -1
  29. package/dist/client/assets/{Sun-iU2rGybo.js → Sun-C_gPgvUR.js} +1 -1
  30. package/dist/client/assets/{SwitchHorizontal01-CJ4InXIK.js → SwitchHorizontal01-Rf6iK7AC.js} +1 -1
  31. package/dist/client/assets/{Tool01-G_qe4xr9.js → Tool01-BiE0h7tF.js} +1 -1
  32. package/dist/client/assets/{Trash01-CLPIYWB0.js → Trash01-BrjghIL2.js} +1 -1
  33. package/dist/client/assets/{Upload01-CMufGYXQ.js → Upload01-BX1dhLNk.js} +1 -1
  34. package/dist/client/assets/{User01-DlH74QWo.js → User01-CS4YG3ga.js} +1 -1
  35. package/dist/client/assets/{Users01-Cu8ZTFie.js → Users01-C_AUkLQB.js} +1 -1
  36. package/dist/client/assets/{Users03-DzGgBVNT.js → Users03-BluuyeMv.js} +1 -1
  37. package/dist/client/assets/{X-DcUCV36T.js → X-KBpNDFwt.js} +1 -1
  38. package/dist/client/assets/{XCircle-BLtazoy5.js → XCircle-BT0I631z.js} +1 -1
  39. package/dist/client/assets/{XClose-n_6qPNJf.js → XClose-C-vzo62c.js} +1 -1
  40. package/dist/client/assets/{Zap-kDewRIEE.js → Zap-ln_FBbgR.js} +1 -1
  41. package/dist/client/assets/{ZapSquare-NBV5NA7W.js → ZapSquare-CJjIVoWQ.js} +1 -1
  42. package/dist/client/assets/{ZoomOut-B-M27CLc.js → ZoomOut-BjMRp_T0.js} +1 -1
  43. package/dist/client/assets/{access-gate-fR4pq-L8.js → access-gate-zxF68jBj.js} +1 -1
  44. package/dist/client/assets/{accordion-C2y9Pzbc.js → accordion-CFMy4qXB.js} +1 -1
  45. package/dist/client/assets/{add-section-modal-BOgkPRCm.js → add-section-modal-CYH6uRbc.js} +1 -1
  46. package/dist/client/assets/agent-capabilities-C3RsBcSb.js +3 -0
  47. package/dist/client/assets/{agent-icon-BfUtMte0.js → agent-icon-B1qpfYNt.js} +1 -1
  48. package/dist/client/assets/{agent-icons-hvA3E_Do.js → agent-icons-Bddc5S6K.js} +1 -1
  49. package/dist/client/assets/{agents-list-CQqZGdLA.js → agents-list-C1ozzeNe.js} +1 -1
  50. package/dist/client/assets/{ai-providers-Db0YGoZI.js → ai-providers-CHW_JN62.js} +1 -1
  51. package/dist/client/assets/{alert-BxLN58Xd.js → alert-CesPStPt.js} +1 -1
  52. package/dist/client/assets/{alert-dialog-DjURN0Wv.js → alert-dialog-CXyIvClG.js} +1 -1
  53. package/dist/client/assets/app-editor-CEpZoNYr.js +1 -0
  54. package/dist/client/assets/{auth-catchall-BNZ78VhB.js → auth-catchall-Cp8-mG8G.js} +1 -1
  55. package/dist/client/assets/{auth-split-layout-CZSuZiHz.js → auth-split-layout-B71ZqU3Y.js} +1 -1
  56. package/dist/client/assets/{automation-list-row-0aY-wHMF.js → automation-list-row-B1sYOc--.js} +1 -1
  57. package/dist/client/assets/{automation-runs-Cw5GALKR.js → automation-runs-CCwBsA2u.js} +1 -1
  58. package/dist/client/assets/{automations-DVaLtsbr.js → automations-B6j4to3S.js} +1 -1
  59. package/dist/client/assets/{avatar-CPeVEYzP.js → avatar-DO1C-195.js} +1 -1
  60. package/dist/client/assets/{badge-Sld47C66.js → badge-C-tdV1ua.js} +1 -1
  61. package/dist/client/assets/{brand-context-D5g1kbTY.js → brand-context-C6SmBEdM.js} +1 -1
  62. package/dist/client/assets/{buckets-CQrAL2WH.js → buckets-BfZlpl0Y.js} +1 -1
  63. package/dist/client/assets/{calendar-D_lfc4-f.js → calendar-CwDIy5hN.js} +1 -1
  64. package/dist/client/assets/{capability-load-error-DntEpZQa.js → capability-load-error-DfeaG6tH.js} +1 -1
  65. package/dist/client/assets/{card-BoIkIdKw.js → card-e3k5JTCd.js} +1 -1
  66. package/dist/client/assets/{chat-context-BllQ4wIO.js → chat-context-D-X8cS3i.js} +1 -1
  67. package/dist/client/assets/{checkbox-C3vxmcaB.js → checkbox-DYr-nykG.js} +1 -1
  68. package/dist/client/assets/{cli-auth-success-Dp4mfXYL.js → cli-auth-success-BOa30K2J.js} +1 -1
  69. package/dist/client/assets/{collection-detail-072-Guix.js → collection-detail-C03fB25E.js} +1 -1
  70. package/dist/client/assets/{collection-display-button-AGMnoaLE.js → collection-display-button-BmtSB8mm.js} +1 -1
  71. package/dist/client/assets/{collection-search-BRyG5fy4.js → collection-search-B6dSfToc.js} +1 -1
  72. package/dist/client/assets/{collection-table-wrapper-DE0BllZg.js → collection-table-wrapper-pJaZI6gS.js} +1 -1
  73. package/dist/client/assets/{collection-tabs-CZlafXgn.js → collection-tabs-BllPxwrr.js} +1 -1
  74. package/dist/client/assets/{collections-OmqpbRHJ.js → collections-lu3mBZ1A.js} +1 -1
  75. package/dist/client/assets/{command-BqieK0cx.js → command-Cn2MFiuK.js} +1 -1
  76. package/dist/client/assets/{connect-desktop-dialog-BBJ3ZBYq.js → connect-desktop-dialog-DcpLzBCZ.js} +1 -1
  77. package/dist/client/assets/{connection-card-Bm_mNiXs.js → connection-card-DivMzwIe.js} +1 -1
  78. package/dist/client/assets/{connection-detail-D3-zF53f.js → connection-detail-D2oJ2onG.js} +1 -1
  79. package/dist/client/assets/{connection-form-helpers-B7Hi4AVw.js → connection-form-helpers-a7VwpjwJ.js} +1 -1
  80. package/dist/client/assets/{connections-DxOhnozc.js → connections-Dn2Kwio9.js} +1 -1
  81. package/dist/client/assets/{constants-BN3EnnK5.js → constants-Cpa_PRaA.js} +1 -1
  82. package/dist/client/assets/{decopilot-sse-pool-Cl6vHzIb.js → decopilot-sse-pool-DGFUIouC.js} +1 -1
  83. package/dist/client/assets/{dialog-qOMSPeFV.js → dialog-CUjx9rHg.js} +1 -1
  84. package/dist/client/assets/{domain-settings-e9uj9KSS.js → domain-settings-DU6Ay54r.js} +1 -1
  85. package/dist/client/assets/{drawer-DgiouEht.js → drawer-QtJTYX-_.js} +1 -1
  86. package/dist/client/assets/{dropdown-menu-CD9L0NpR.js → dropdown-menu-kulKDSsi.js} +1 -1
  87. package/dist/client/assets/{dynamic-plugin-layout-B38NSbtx.js → dynamic-plugin-layout-DiBlJ1h6.js} +1 -1
  88. package/dist/client/assets/{empty-state-kyadFKbp.js → empty-state-D0RxK3or.js} +1 -1
  89. package/dist/client/assets/{empty-state-oUgpGFDY.js → empty-state-Dwi3hiwi.js} +1 -1
  90. package/dist/client/assets/{extract-connection-data-DUfac6xd.js → extract-connection-data-BpY7BmQW.js} +1 -1
  91. package/dist/client/assets/{features-DVXCwn_d.js → features-DXWmgKl9.js} +1 -1
  92. package/dist/client/assets/{file-explorer-QJj5R7Vm.js → file-explorer-D9VPjKLw.js} +1 -1
  93. package/dist/client/assets/{file-type-icon-D-cvDShc.js → file-type-icon-ByLTqBfz.js} +1 -1
  94. package/dist/client/assets/{files-GjQ9-UbG.js → files-DDIKVYGG.js} +1 -1
  95. package/dist/client/assets/{form-DCJSDrN9.js → form-CaMqqpqe.js} +1 -1
  96. package/dist/client/assets/{general-C0YCcLeg.js → general-BkiCU-Hm.js} +1 -1
  97. package/dist/client/assets/{generate-id-BxP01XU4.js → generate-id-9PcNpGv_.js} +1 -1
  98. package/dist/client/assets/{github-repo-picker-DE4TiJ6h.js → github-repo-picker--bR_zEj3.js} +1 -1
  99. package/dist/client/assets/{header-tab-button-6bRdq2K-.js → header-tab-button-D1qFBpLx.js} +1 -1
  100. package/dist/client/assets/{hover-card-lMFQF9-F.js → hover-card-Cr5J4KeR.js} +1 -1
  101. package/dist/client/assets/{image-field-Dzduad-d.js → image-field-DXCxUuM3.js} +1 -1
  102. package/dist/client/assets/{index-Ddo-OAlk.js → index-B7iCbXk_.js} +3 -3
  103. package/dist/client/assets/{index-DDQ1B6Aj.js → index-BUo-2VB-.js} +1 -1
  104. package/dist/client/assets/{index-CvgbrWNJ.js → index-BrdW0myi.js} +1 -1
  105. package/dist/client/assets/{index-Brd11Ohc.js → index-Bx0Oi4xn.js} +1 -1
  106. package/dist/client/assets/{index-OvgvLmj6.js → index-C0x63L7k.js} +1 -1
  107. package/dist/client/assets/{index-Bm7p6st-.js → index-CIuBxZRA.js} +1 -1
  108. package/dist/client/assets/{index-BLl7lttY.js → index-Cf7BAgGY.js} +1 -1
  109. package/dist/client/assets/{index-CqTgM-6C.js → index-DIlZPr54.js} +1 -1
  110. package/dist/client/assets/{index-BIms-A8c.js → index-DOtsYOFt.js} +1 -1
  111. package/dist/client/assets/{index-UyCB-Rx1.js → index-DX2Fzm3S.js} +1 -1
  112. package/dist/client/assets/{index-CtGs1DJJ.js → index-Da3iT1hc.js} +4 -4
  113. package/dist/client/assets/{index-CtHmN2ln.js → index-Dg9-_22c.js} +1 -1
  114. package/dist/client/assets/{index-CvOh-PKX.js → index-Dug5g6VY.js} +1 -1
  115. package/dist/client/assets/{index-HfFXcyYk.js → index-DvzG1FeM.js} +1 -1
  116. package/dist/client/assets/{index-CGbH7bcb.js → index-ZFbYaFg8.js} +1 -1
  117. package/dist/client/assets/{index-redirect-DVYvuCCP.js → index-redirect-CQ1L1Wji.js} +1 -1
  118. package/dist/client/assets/{infiniteQueryObserver-DVXVEIds.js → infiniteQueryObserver-pRjjk3aR.js} +1 -1
  119. package/dist/client/assets/{input-rSCTpjle.js → input-sl_dQ9pB.js} +1 -1
  120. package/dist/client/assets/{integration-icon-Bud2iScJ.js → integration-icon-Q1PWRG0K.js} +1 -1
  121. package/dist/client/assets/{label-B7rNFDmP.js → label-0agd396a.js} +1 -1
  122. package/dist/client/assets/{layout-CEqxg3rT.js → layout-CrZcXpRG.js} +1 -1
  123. package/dist/client/assets/{login-CapaPVFw.js → login-BYbZPB6i.js} +1 -1
  124. package/dist/client/assets/{members-EJxlsGI5.js → members-meEx9EiG.js} +1 -1
  125. package/dist/client/assets/{monaco-editor-CqDQuYzQ.js → monaco-editor-D-dgw2ct.js} +1 -1
  126. package/dist/client/assets/{monitoring-stats-row-CC0b-8JY.js → monitoring-stats-row-CC_MeiA9.js} +1 -1
  127. package/dist/client/assets/{oauth-callback-CWWtjtNz.js → oauth-callback-WDAqIdpl.js} +1 -1
  128. package/dist/client/assets/{oauth-callback-ai-provider-C52td6lP.js → oauth-callback-ai-provider-DKmcx6UE.js} +1 -1
  129. package/dist/client/assets/{onboarding-B3pW3OTI.js → onboarding-lW6BfseB.js} +1 -1
  130. package/dist/client/assets/{org-install-BKl8mAvw.js → org-install-lEOW4M7O.js} +1 -1
  131. package/dist/client/assets/{org-layout-B6_x4zIK.js → org-layout-B62ZU-fz.js} +1 -1
  132. package/dist/client/assets/{org-plugin-layout-CCB1NusG.js → org-plugin-layout-C0PeZyWO.js} +1 -1
  133. package/dist/client/assets/{page-seo-form-enQgxFv1.js → page-seo-form-DH-4diLr.js} +1 -1
  134. package/dist/client/assets/page-seo-sheet-BRyeLute.js +1 -0
  135. package/dist/client/assets/{pair-B1riNa41.js → pair-CL9g4v9i.js} +1 -1
  136. package/dist/client/assets/{plugin-empty-state-CTuwNPDg.js → plugin-empty-state-CWSym5Gn.js} +1 -1
  137. package/dist/client/assets/{plugin-header-CDXeYEXC.js → plugin-header-CJP7g5ws.js} +1 -1
  138. package/dist/client/assets/{plugin-layout-CaUNVm6a.js → plugin-layout-LaTBa6Av.js} +1 -1
  139. package/dist/client/assets/{popover-C9laUh6-.js → popover-0ZJ4bKFd.js} +1 -1
  140. package/dist/client/assets/{post-editor-lhgneqmv.js → post-editor-BbEWuOYm.js} +1 -1
  141. package/dist/client/assets/{primitives-B4sR9JrK.js → primitives-BoA063oK.js} +1 -1
  142. package/dist/client/assets/{profile-pHe9Ajxu.js → profile-BgPXMDvJ.js} +1 -1
  143. package/dist/client/assets/project-app-view-Cfv3zOCp.js +1 -0
  144. package/dist/client/assets/record-editor-DoEy0Prc.js +1 -0
  145. package/dist/client/assets/{registry-layout-BIYDgiNs.js → registry-layout-nzyxID0H.js} +1 -1
  146. package/dist/client/assets/registry-t8mJuopF.js +2 -0
  147. package/dist/client/assets/{require-capability-CLzzkYsu.js → require-capability-KAZJyuEt.js} +1 -1
  148. package/dist/client/assets/{required-auth-layout-DdJg8zF9.js → required-auth-layout-BGH5fHd-.js} +1 -1
  149. package/dist/client/assets/{reset-password-nThxnoX9.js → reset-password-BrKglHl8.js} +1 -1
  150. package/dist/client/assets/{resizable-D9zGGmNX.js → resizable-BynpWjrV.js} +1 -1
  151. package/dist/client/assets/{roles-Cp9Isv-V.js → roles-C-YRzV57.js} +1 -1
  152. package/dist/client/assets/{save-status-Wb7i0dV6.js → save-status-TDiEcZGl.js} +1 -1
  153. package/dist/client/assets/{schema-form-yX6Ft6zW.js → schema-form-BB6bVjx8.js} +1 -1
  154. package/dist/client/assets/{scroll-area-lnnHcoAD.js → scroll-area-PEeFDkLY.js} +1 -1
  155. package/dist/client/assets/{search-input-DwibiVVh.js → search-input-By1iAL0X.js} +1 -1
  156. package/dist/client/assets/{secrets-BDyxrSjf.js → secrets-XbA4V0xK.js} +1 -1
  157. package/dist/client/assets/{sections-editor-DUAAqhpr.js → sections-editor-TEdZQZJO.js} +1 -1
  158. package/dist/client/assets/{select-LFt-mET5.js → select-BNxRkI-t.js} +1 -1
  159. package/dist/client/assets/select-model-ghX-v4Ig.js +1 -0
  160. package/dist/client/assets/{seo-editor-DCSDlOjD.js → seo-editor-DeUIv9eT.js} +1 -1
  161. package/dist/client/assets/{settings-layout-wrO6UXp0.js → settings-layout-8xVnQDLN.js} +1 -1
  162. package/dist/client/assets/{settings-section-nFhQ9DC2.js → settings-section-eLjbh43q.js} +1 -1
  163. package/dist/client/assets/{sheet-pqbHPkyu.js → sheet-BZY2P976.js} +1 -1
  164. package/dist/client/assets/{shell-controls-DJGk-Cm5.js → shell-controls-Cp2-Rg1c.js} +1 -1
  165. package/dist/client/assets/shell-layout-BtMzIPg7.js +1 -0
  166. package/dist/client/assets/{shell-route-loading-CIX4Wpf7.js → shell-route-loading-DoYxyFlE.js} +1 -1
  167. package/dist/client/assets/{sidebar-BZQ9ZuwD.js → sidebar-ChiM4a_i.js} +1 -1
  168. package/dist/client/assets/{skeleton-DDFad7Zm.js → skeleton-DTLKSQsA.js} +1 -1
  169. package/dist/client/assets/{sortable.esm-BmQU85RQ.js → sortable.esm-2lmOgmi4.js} +1 -1
  170. package/dist/client/assets/{spinner-DecrbM2u.js → spinner-_PK4VaDI.js} +1 -1
  171. package/dist/client/assets/{sso-uPYu69iU.js → sso-kv18k_tl.js} +1 -1
  172. package/dist/client/assets/{store-DxDAvQny.js → store-DmNXPwWN.js} +1 -1
  173. package/dist/client/assets/store-registry-Xa_OXshG.js +2 -0
  174. package/dist/client/assets/{switch-BB-CM41R.js → switch-DwvQWz2E.js} +1 -1
  175. package/dist/client/assets/{tab-id-CgZSqh3C.js → tab-id-DjqI6l0G.js} +1 -1
  176. package/dist/client/assets/{table-D77MLzgL.js → table-CBk3lXtT.js} +1 -1
  177. package/dist/client/assets/{tabs-DCe9cJFy.js → tabs-Po5E3Ayq.js} +1 -1
  178. package/dist/client/assets/{task-status-COuLaDdz.js → task-status-DsaC_oJP.js} +1 -1
  179. package/dist/client/assets/{textarea-Dd_nswrz.js → textarea-B1WljwHE.js} +1 -1
  180. package/dist/client/assets/{toggle-group-CVhoCxfd.js → toggle-group-B3t22Ptk.js} +1 -1
  181. package/dist/client/assets/{toolbar-hSa6Dbq7.js → toolbar-cmRfNwQD.js} +1 -1
  182. package/dist/client/assets/{tools-list-DuzN2FYL.js → tools-list-BnVOCqU_.js} +1 -1
  183. package/dist/client/assets/{tooltip-BUQdgInQ.js → tooltip-B6_9bHJx.js} +1 -1
  184. package/dist/client/assets/{types-C1v54Mz6.js → types-lc1ECy_H.js} +1 -1
  185. package/dist/client/assets/{use-ai-providers-B_B7XI7_.js → use-ai-providers-0H5Wh0i0.js} +1 -1
  186. package/dist/client/assets/{use-automations-DH2iF1St.js → use-automations-C973xe8b.js} +1 -1
  187. package/dist/client/assets/{use-capability-BGUE7EVy.js → use-capability-CqJIED2u.js} +1 -1
  188. package/dist/client/assets/{use-collections-DFTbd6Fl.js → use-collections-CIO9U6G8.js} +1 -1
  189. package/dist/client/assets/{use-connection-lE__8xdh.js → use-connection-BvS5x-S0.js} +1 -1
  190. package/dist/client/assets/{use-copy-ZYwX79XH.js → use-copy-Cxr6vssE.js} +1 -1
  191. package/dist/client/assets/{use-create-virtual-mcp-B_aHPeoS.js → use-create-virtual-mcp-Chuptxkc.js} +1 -1
  192. package/dist/client/assets/{use-debounced-autosave-B34gfDHg.js → use-debounced-autosave-B4SKWMvl.js} +1 -1
  193. package/dist/client/assets/{use-delete-connection-CDUrp1iY.js → use-delete-connection-mfWTHssT.js} +1 -1
  194. package/dist/client/assets/{use-file-configs-Cax2DWWv.js → use-file-configs-DmyFDcAm.js} +1 -1
  195. package/dist/client/assets/{use-infinite-scroll-hBDGyHUM.js → use-infinite-scroll-B-fFE68E.js} +1 -1
  196. package/dist/client/assets/{use-list-state-xrbgUm4z.js → use-list-state-B09S-BWf.js} +1 -1
  197. package/dist/client/assets/{use-mcp-prompts-Dxg9Un5w.js → use-mcp-prompts-B_4yCH1T.js} +1 -1
  198. package/dist/client/assets/{use-mcp-tools-QU_D_i6C.js → use-mcp-tools-Dsc1UeQQ.js} +1 -1
  199. package/dist/client/assets/{use-members-BWJ8hwfe.js → use-members-CpAwxknD.js} +1 -1
  200. package/dist/client/assets/{use-navigate-to-agent-Cc-xymgp.js → use-navigate-to-agent-DKNHISHp.js} +1 -1
  201. package/dist/client/assets/{use-org-auth-client-NsurVUJ9.js → use-org-auth-client-DdhLhM_F.js} +1 -1
  202. package/dist/client/assets/{use-org-sso-DLBFty4l.js → use-org-sso-Czp3Extl.js} +1 -1
  203. package/dist/client/assets/{use-organization-roles-BWWLZ7O1.js → use-organization-roles-DHPZJ4qD.js} +1 -1
  204. package/dist/client/assets/{use-organization-settings-CCbA9nGy.js → use-organization-settings-C0BOz_Ke.js} +1 -1
  205. package/dist/client/assets/{use-registry-connections-DLPkHVYT.js → use-registry-connections-D2qSqjYo.js} +1 -1
  206. package/dist/client/assets/{use-secrets-cpRcdu7B.js → use-secrets-aqA2bpzj.js} +1 -1
  207. package/dist/client/assets/{use-status-sounds-B2yZVdDL.js → use-status-sounds-DLp0Y7Nr.js} +1 -1
  208. package/dist/client/assets/{use-view-mode-DeAHyjDR.js → use-view-mode-C2H7MJAf.js} +1 -1
  209. package/dist/client/assets/{use-virtual-mcp-BlTQLNpO.js → use-virtual-mcp-BhWviJXb.js} +1 -1
  210. package/dist/client/assets/useInfiniteQuery-D4EQXoEc.js +1 -0
  211. package/dist/client/assets/{useRouterState-BDC7x_pD.js → useRouterState-DgnbACwu.js} +1 -1
  212. package/dist/client/assets/useSuspenseInfiniteQuery-BLgR6b-Q.js +1 -0
  213. package/dist/client/assets/{user-CJzOQ38j.js → user-CU4GJQgm.js} +1 -1
  214. package/dist/client/assets/{view-mode-toggle-BRumGdwQ.js → view-mode-toggle-CKE9mpoP.js} +1 -1
  215. package/dist/client/assets/{workflow-C89XsL5x.js → workflow-6tDqIuiP.js} +1 -1
  216. package/dist/client/assets/workflow-detail-CpCpA8Vm.js +1 -0
  217. package/dist/client/index.html +1 -1
  218. package/dist/server/cli.js +6 -5
  219. package/dist/server/server.js +4 -4
  220. package/package.json +1 -1
  221. package/dist/client/assets/agent-capabilities-CsVK4Iyy.js +0 -3
  222. package/dist/client/assets/app-editor-C6PYtYB9.js +0 -1
  223. package/dist/client/assets/page-seo-sheet-8AFg5HN-.js +0 -1
  224. package/dist/client/assets/project-app-view-CLH-EuPS.js +0 -1
  225. package/dist/client/assets/record-editor-Cm14ALiS.js +0 -1
  226. package/dist/client/assets/registry-B-mQZydb.js +0 -2
  227. package/dist/client/assets/select-model-C3GfXMo3.js +0 -1
  228. package/dist/client/assets/shell-layout-Chk-dikt.js +0 -1
  229. package/dist/client/assets/store-registry-B62lR_g6.js +0 -2
  230. package/dist/client/assets/useInfiniteQuery-FZ-eOLUd.js +0 -1
  231. package/dist/client/assets/useSuspenseInfiniteQuery-DY0Najlz.js +0 -1
  232. package/dist/client/assets/workflow-detail-CXHAQziO.js +0 -1
@@ -1 +1 @@
1
- import{e as S,g as T,j as s,q as W,b7 as X,c as w,F as Y,P as F,t as H,a2 as Q,b as D,l as Z,r as ee,O as se}from"./index-Ddo-OAlk.js";import{u as J}from"./useRouterState-BDC7x_pD.js";import{S as te,a as le,b as re,e as I,f as A,g as L,c as B,d as R,i as ie,j as ne}from"./sidebar-BZQ9ZuwD.js";import{a as oe}from"./index-UyCB-Rx1.js";import{n as ae,b as ce,a as me,c as fe,d as de,i as K}from"./ZapSquare-NBV5NA7W.js";import{t as be,a as E}from"./Users03-DzGgBVNT.js";import{i as xe}from"./HardDrive-I0CJViHA.js";import{i as ue}from"./Key01-BOdS0XJd.js";import{i as he}from"./Shield01-DHeMOigW.js";import{s as ge}from"./User01-DlH74QWo.js";import{i as G}from"./Zap-kDewRIEE.js";import{a as pe}from"./use-capability-BGUE7EVy.js";import{u as U}from"./tooltip-BUQdgInQ.js";import{u as je}from"./use-status-sounds-B2yZVdDL.js";import{a as y}from"./toolbar-hSa6Dbq7.js";import{S as _e,M as ye}from"./shell-controls-DJGk-Cm5.js";import"./LayoutLeft-Bb0s-28Y.js";import"./sheet-pqbHPkyu.js";import"./X-DcUCV36T.js";import"./question-004-sINsf4GQ.js";import"./decopilot-sse-pool-Cl6vHzIb.js";import"./create-sse-subscription-BS5983N4.js";import"./ChevronLeft-MgGV-KON.js";import"./ChevronRight-DF_7Jr6-.js";function V(){const e=S.c(26),t=W().project;let n;e[0]!==t.enabledPlugins?(n=t.enabledPlugins??[],e[0]=t.enabledPlugins,e[1]=n):n=e[1];const l=n,{capabilities:i,isPrivileged:r,loading:o,error:a}=pe();let c,d;if(e[2]!==i||e[3]!==l||e[4]!==a||e[5]!==r||e[6]!==o){d=Symbol.for("react.early_return_sentinel");e:{let m;e[9]!==l?(m=q=>l.includes(q.pluginId),e[9]=l,e[10]=m):m=e[10];const h=X.filter(m).map(ve);let b;e[11]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(be,{size:14}),e[11]=b):b=e[11];let f;e[12]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(ae,{size:14}),e[12]=f):f=e[12];let x;e[13]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(ce,{size:14}),e[13]=x):x=e[13];let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(ue,{size:14}),e[14]=g):g=e[14];let p;e[15]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsx(xe,{size:14}),e[15]=p):p=e[15];let u;e[16]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx(me,{size:14}),e[16]=u):u=e[16];let _;e[17]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(E,{size:14}),e[17]=_):_=e[17];let j;e[18]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx(G,{size:14}),e[18]=j):j=e[18];let v;e[19]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx(fe,{size:14}),e[19]=v):v=e[19];let N;e[20]===Symbol.for("react.memo_cache_sentinel")?(N=s.jsx(de,{size:14}),e[20]=N):N=e[20];let k;e[21]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx(E,{size:14}),e[21]=k):k=e[21];let $;e[22]===Symbol.for("react.memo_cache_sentinel")?($=s.jsx(he,{size:14}),e[22]=$):$=e[22];let z;e[23]===Symbol.for("react.memo_cache_sentinel")?(z=s.jsx(Y,{size:14}),e[23]=z):z=e[23];let C;e[24]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(G,{size:14}),e[24]=C):C=e[24];let P;e[25]===Symbol.for("react.memo_cache_sentinel")?(P=s.jsx(ge,{size:14}),e[25]=P):P=e[25];const O=[{label:"Organization",items:[{key:"general",label:"General",icon:b,to:"/$org/settings/general",requires:"org:manage"},{key:"brand-context",label:"Brand Context",icon:f,to:"/$org/settings/brand-context",requires:"org:manage"},{key:"ai-providers",label:"AI Providers",icon:x,to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"secrets",label:"Secrets",icon:g,to:"/$org/settings/secrets",requires:"secrets:manage"},{key:"buckets",label:"Buckets",icon:p,to:"/$org/settings/buckets",requires:"file-configs:manage"}]},{label:"Build",items:[{key:"connections",label:"Connections",icon:u,to:"/$org/settings/connections"},{key:"agents",label:"Agents",icon:_,to:"/$org/settings/agents"},{key:"automations",label:"Automations",icon:j,to:"/$org/settings/automations",requires:"automations:manage"},{key:"store",label:"Store",icon:v,to:"/$org/settings/store",requires:"registry:manage"}]},{label:"Manage",items:[{key:"monitor",label:"Monitor",icon:N,to:"/$org/settings/monitor",requires:"monitoring:view"},{key:"members",label:"Members",icon:k,to:"/$org/settings/members",requires:"members:manage"},{key:"roles",label:"Roles",icon:$,to:"/$org/settings/roles",privilegedOnly:!0},{key:"sso",label:"Security",icon:z,to:"/$org/settings/sso",requires:"org:manage"}]},{label:"Extensions",items:[{key:"features",label:"Plugins",icon:C,to:"/$org/settings/features",requires:"org:manage"},...h]},{label:"Account",items:[{key:"profile",label:"Profile & Preferences",icon:P,to:"/$org/settings/profile"}]}];if(o||a){d=O;break e}c=O.map(q=>({...q,items:q.items.filter(M=>M.privilegedOnly?r:M.requires?r||i[M.requires]:!0)})).filter(Se)}e[2]=i,e[3]=l,e[4]=a,e[5]=r,e[6]=o,e[7]=c,e[8]=d}else c=e[7],d=e[8];return d!==Symbol.for("react.early_return_sentinel")?d:c}function Se(e){return e.items.length>0}function ve(e){const{key:t,label:n,icon:l,to:i}=e;return{key:t,label:n,icon:l,to:i}}function Ne(){const e=S.c(19),t=V();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},e[0]=n):n=e[0];const{org:l}=T(n);let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={select:$e},e[1]=i):i=e[1];const r=J(i);let o;e[2]!==l||e[3]!==r?(o=x=>{const g=x.replace("$org",l);return r.startsWith(g)},e[2]=l,e[3]=r,e[4]=o):o=e[4];const a=o;let c;if(e[5]!==t||e[6]!==a||e[7]!==l){let x;e[9]!==a||e[10]!==l?(x=(g,p)=>s.jsxs(I,{className:"pt-0 pr-0 pb-0 pl-0",children:[g.label&&s.jsx("p",{className:w("px-2 pt-1.5 pb-0.5 text-xs font-medium text-muted-foreground/60",p>0&&"mt-3"),children:g.label}),s.jsx(A,{children:s.jsx(L,{className:"gap-0.5",children:g.items.map(u=>s.jsx(B,{children:s.jsx(R,{asChild:!0,isActive:a(u.to),children:s.jsxs(F,{to:u.to,params:{org:l},onClick:()=>H("settings_nav_clicked",{section_key:u.key,section_label:u.label,group_label:g.label||"main"}),className:"flex items-center gap-2.5 text-sm",children:[s.jsx("span",{className:"shrink-0",children:u.icon}),s.jsx("span",{className:"truncate",children:u.label})]})})},u.key))})})]},`${g.label}-${p}`),e[9]=a,e[10]=l,e[11]=x):x=e[11],c=t.map(x),e[5]=t,e[6]=a,e[7]=l,e[8]=c}else c=e[8];let d;e[12]===Symbol.for("react.memo_cache_sentinel")?(d=s.jsx("div",{className:"mx-2 my-2 border-t border-border/50"}),e[12]=d):d=e[12];let m;e[13]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsxs(I,{className:"pt-0 pr-0 pb-0 pl-0",children:[d,s.jsx(A,{children:s.jsx(L,{className:"gap-0.5",children:s.jsx(B,{children:s.jsxs(R,{onClick:ke,className:"flex items-center gap-2.5 text-sm",children:[s.jsx("span",{className:"shrink-0",children:s.jsx(K,{size:14})}),s.jsx("span",{className:"truncate",children:"Sign Out"})]})})})})]}),e[13]=m):m=e[13];let h;e[14]!==c?(h=s.jsxs(ie,{className:"flex flex-col flex-1 mt-2 px-2 pb-2 gap-0 overflow-y-auto",children:[c,m]}),e[14]=c,e[15]=h):h=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx("div",{className:"mt-auto px-4 pb-1",children:s.jsxs("span",{className:"text-xs text-muted-foreground/50",children:["v","3.16.4"]})}),e[16]=b):b=e[16];let f;return e[17]!==h?(f=s.jsxs(ne,{variant:"sidebar",children:[h,b]}),e[17]=h,e[18]=f):f=e[18],f}function ke(){H("signed_out",{source:"settings_sidebar"}),Q(),D.signOut()}function $e(e){return e.location.pathname}function ze(e){const t=S.c(21),{onClose:n}=e,l=V();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i={from:"/shell/$org"},t[0]=i):i=t[0];const{org:r}=T(i);let o;t[1]===Symbol.for("react.memo_cache_sentinel")?(o={select:Pe},t[1]=o):o=t[1];const a=J(o);let c;t[2]!==r||t[3]!==a?(c=p=>{const u=p.replace("$org",r);return a.startsWith(u)},t[2]=r,t[3]=a,t[4]=c):c=t[4];const d=c;let m;if(t[5]!==l||t[6]!==d||t[7]!==n||t[8]!==r){let p;t[10]!==d||t[11]!==n||t[12]!==r?(p=(u,_)=>s.jsxs("div",{className:"flex flex-col gap-0.5",children:[u.label&&s.jsx("p",{className:w("px-3 pt-1.5 pb-0.5 text-xs font-medium text-muted-foreground/60",_>0&&"mt-3"),children:u.label}),u.items.map(j=>s.jsxs(F,{to:j.to,params:{org:r},onClick:n,className:w("flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm",d(j.to)?"bg-sidebar-accent text-sidebar-accent-foreground font-medium":"text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground"),children:[s.jsx("span",{className:"shrink-0",children:j.icon}),s.jsx("span",{className:"truncate",children:j.label})]},j.key))]},`${u.label}-${_}`),t[10]=d,t[11]=n,t[12]=r,t[13]=p):p=t[13],m=l.map(p),t[5]=l,t[6]=d,t[7]=n,t[8]=r,t[9]=m}else m=t[9];let h;t[14]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx("div",{className:"h-px bg-border/50 my-2"}),t[14]=h):h=t[14];let b;t[15]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[h,s.jsxs("button",{type:"button",onClick:Ce,className:"flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground",children:[s.jsx("span",{className:"shrink-0",children:s.jsx(K,{size:14})}),s.jsx("span",{className:"truncate",children:"Sign Out"})]})]}),t[15]=b):b=t[15];let f;t[16]!==m?(f=s.jsxs("div",{className:"flex flex-col flex-1 overflow-y-auto px-2 py-2 gap-0.5",children:[m,b]}),t[16]=m,t[17]=f):f=t[17];let x;t[18]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx("div",{className:"px-4 pb-3 pt-1 border-t border-border/50",children:s.jsxs("span",{className:"text-xs text-muted-foreground/50",children:["v","3.16.4"]})}),t[18]=x):x=t[18];let g;return t[19]!==f?(g=s.jsxs("div",{className:"flex flex-col h-full bg-sidebar",children:[f,x]}),t[19]=f,t[20]=g):g=t[20],g}function Ce(){Q(),D.signOut()}function Pe(e){return e.location.pathname}function qe(){const e=S.c(4),t=U(),{org:n}=W();je(n.slug);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsx(Z,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=l):l=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(ee.Suspense,{fallback:l,children:s.jsx("div",{className:"flex flex-1 items-center overflow-hidden rounded-[inherit]",children:s.jsx(oe,{value:"p-0",children:s.jsx("div",{className:"flex-1 min-w-0 overflow-hidden h-full",children:s.jsx(se,{})})})})}),e[1]=i):i=e[1];const r=i;if(t){let a;return e[2]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"flex flex-col flex-1 bg-background min-h-0 overflow-hidden",children:r}),e[2]=a):a=e[2],a}let o;return e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx("div",{className:"flex-1 min-h-0 p-1",children:s.jsx("div",{className:w("flex flex-col h-full min-h-0 bg-background overflow-hidden","card-shadow","rounded-[0.75rem]"),children:r})}),e[3]=o):o=e[3],o}function ts(){const e=S.c(22),t=U();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(y.LogoLink,{}),e[0]=n):n=e[0];let l;e[1]!==t?(l=t&&s.jsx(_e,{}),e[1]=t,e[2]=l):l=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx("span",{className:"hidden md:contents",children:s.jsx(y.Nav,{})}),e[3]=i):i=e[3];let r;e[4]!==l?(r=s.jsxs(y.LeftColumn,{children:[n,l,i]}),e[4]=l,e[5]=r):r=e[5];let o;e[6]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(y.CenterSlot,{}),e[6]=o):o=e[6];let a;e[7]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(y.RightColumn,{children:s.jsx("span",{})}),e[7]=a):a=e[7];let c;e[8]!==r?(c=s.jsxs(y.Header,{children:[r,o,a]}),e[8]=r,e[9]=c):c=e[9];let d;e[10]===Symbol.for("react.memo_cache_sentinel")?(d={"--sidebar-width-icon":"3.5rem"},e[10]=d):d=e[10];let m;e[11]!==t?(m=!t&&s.jsx(Ne,{}),e[11]=t,e[12]=m):m=e[12];let h;e[13]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx(te,{className:"flex flex-col",style:{background:"transparent",containerType:"inline-size"},children:s.jsx(qe,{})}),e[13]=h):h=e[13];let b;e[14]!==m?(b=s.jsxs(le,{className:"flex-1 bg-sidebar min-h-0",style:d,children:[m,h]}),e[14]=m,e[15]=b):b=e[15];let f;e[16]!==t?(f=t&&s.jsx(ye,{renderSidebar:we}),e[16]=t,e[17]=f):f=e[17];let x;return e[18]!==b||e[19]!==f||e[20]!==c?(x=s.jsx(y.Provider,{children:s.jsx(re,{defaultOpen:!0,children:s.jsxs("div",{className:"app-shell-root flex flex-col h-dvh overflow-hidden",children:[c,b,f]})})}),e[18]=b,e[19]=f,e[20]=c,e[21]=x):x=e[21],x}function we(e){const{onClose:t}=e;return s.jsx(ze,{onClose:t})}export{Ne as SettingsSidebar,ze as SettingsSidebarMobile,ts as default};
1
+ import{e as S,g as T,j as s,q as W,b7 as X,c as w,F as Y,P as F,t as H,a2 as Q,b as D,l as Z,r as ee,O as se}from"./index-B7iCbXk_.js";import{u as J}from"./useRouterState-DgnbACwu.js";import{S as te,a as le,b as re,e as I,f as A,g as L,c as B,d as R,i as ie,j as ne}from"./sidebar-ChiM4a_i.js";import{a as oe}from"./index-DX2Fzm3S.js";import{n as ae,b as ce,a as me,c as fe,d as de,i as K}from"./ZapSquare-CJjIVoWQ.js";import{t as be,a as E}from"./Users03-BluuyeMv.js";import{i as xe}from"./HardDrive-hADgoLDo.js";import{i as ue}from"./Key01-DsE7OhuU.js";import{i as he}from"./Shield01-BRyN9scd.js";import{s as ge}from"./User01-CS4YG3ga.js";import{i as G}from"./Zap-ln_FBbgR.js";import{a as pe}from"./use-capability-CqJIED2u.js";import{u as U}from"./tooltip-B6_9bHJx.js";import{u as je}from"./use-status-sounds-DLp0Y7Nr.js";import{a as y}from"./toolbar-cmRfNwQD.js";import{S as _e,M as ye}from"./shell-controls-Cp2-Rg1c.js";import"./LayoutLeft-BhinYfWY.js";import"./sheet-BZY2P976.js";import"./X-KBpNDFwt.js";import"./question-004-sINsf4GQ.js";import"./decopilot-sse-pool-DGFUIouC.js";import"./create-sse-subscription-BS5983N4.js";import"./ChevronLeft-CV1JR0n7.js";import"./ChevronRight-BFePDCy2.js";function V(){const e=S.c(26),t=W().project;let n;e[0]!==t.enabledPlugins?(n=t.enabledPlugins??[],e[0]=t.enabledPlugins,e[1]=n):n=e[1];const l=n,{capabilities:i,isPrivileged:r,loading:o,error:a}=pe();let c,d;if(e[2]!==i||e[3]!==l||e[4]!==a||e[5]!==r||e[6]!==o){d=Symbol.for("react.early_return_sentinel");e:{let m;e[9]!==l?(m=q=>l.includes(q.pluginId),e[9]=l,e[10]=m):m=e[10];const h=X.filter(m).map(ve);let b;e[11]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx(be,{size:14}),e[11]=b):b=e[11];let f;e[12]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(ae,{size:14}),e[12]=f):f=e[12];let x;e[13]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx(ce,{size:14}),e[13]=x):x=e[13];let g;e[14]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(ue,{size:14}),e[14]=g):g=e[14];let p;e[15]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsx(xe,{size:14}),e[15]=p):p=e[15];let u;e[16]===Symbol.for("react.memo_cache_sentinel")?(u=s.jsx(me,{size:14}),e[16]=u):u=e[16];let _;e[17]===Symbol.for("react.memo_cache_sentinel")?(_=s.jsx(E,{size:14}),e[17]=_):_=e[17];let j;e[18]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx(G,{size:14}),e[18]=j):j=e[18];let v;e[19]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsx(fe,{size:14}),e[19]=v):v=e[19];let N;e[20]===Symbol.for("react.memo_cache_sentinel")?(N=s.jsx(de,{size:14}),e[20]=N):N=e[20];let k;e[21]===Symbol.for("react.memo_cache_sentinel")?(k=s.jsx(E,{size:14}),e[21]=k):k=e[21];let $;e[22]===Symbol.for("react.memo_cache_sentinel")?($=s.jsx(he,{size:14}),e[22]=$):$=e[22];let z;e[23]===Symbol.for("react.memo_cache_sentinel")?(z=s.jsx(Y,{size:14}),e[23]=z):z=e[23];let C;e[24]===Symbol.for("react.memo_cache_sentinel")?(C=s.jsx(G,{size:14}),e[24]=C):C=e[24];let P;e[25]===Symbol.for("react.memo_cache_sentinel")?(P=s.jsx(ge,{size:14}),e[25]=P):P=e[25];const O=[{label:"Organization",items:[{key:"general",label:"General",icon:b,to:"/$org/settings/general",requires:"org:manage"},{key:"brand-context",label:"Brand Context",icon:f,to:"/$org/settings/brand-context",requires:"org:manage"},{key:"ai-providers",label:"AI Providers",icon:x,to:"/$org/settings/ai-providers",requires:"ai-providers:manage"},{key:"secrets",label:"Secrets",icon:g,to:"/$org/settings/secrets",requires:"secrets:manage"},{key:"buckets",label:"Buckets",icon:p,to:"/$org/settings/buckets",requires:"file-configs:manage"}]},{label:"Build",items:[{key:"connections",label:"Connections",icon:u,to:"/$org/settings/connections"},{key:"agents",label:"Agents",icon:_,to:"/$org/settings/agents"},{key:"automations",label:"Automations",icon:j,to:"/$org/settings/automations",requires:"automations:manage"},{key:"store",label:"Store",icon:v,to:"/$org/settings/store",requires:"registry:manage"}]},{label:"Manage",items:[{key:"monitor",label:"Monitor",icon:N,to:"/$org/settings/monitor",requires:"monitoring:view"},{key:"members",label:"Members",icon:k,to:"/$org/settings/members",requires:"members:manage"},{key:"roles",label:"Roles",icon:$,to:"/$org/settings/roles",privilegedOnly:!0},{key:"sso",label:"Security",icon:z,to:"/$org/settings/sso",requires:"org:manage"}]},{label:"Extensions",items:[{key:"features",label:"Plugins",icon:C,to:"/$org/settings/features",requires:"org:manage"},...h]},{label:"Account",items:[{key:"profile",label:"Profile & Preferences",icon:P,to:"/$org/settings/profile"}]}];if(o||a){d=O;break e}c=O.map(q=>({...q,items:q.items.filter(M=>M.privilegedOnly?r:M.requires?r||i[M.requires]:!0)})).filter(Se)}e[2]=i,e[3]=l,e[4]=a,e[5]=r,e[6]=o,e[7]=c,e[8]=d}else c=e[7],d=e[8];return d!==Symbol.for("react.early_return_sentinel")?d:c}function Se(e){return e.items.length>0}function ve(e){const{key:t,label:n,icon:l,to:i}=e;return{key:t,label:n,icon:l,to:i}}function Ne(){const e=S.c(19),t=V();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={from:"/shell/$org"},e[0]=n):n=e[0];const{org:l}=T(n);let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i={select:$e},e[1]=i):i=e[1];const r=J(i);let o;e[2]!==l||e[3]!==r?(o=x=>{const g=x.replace("$org",l);return r.startsWith(g)},e[2]=l,e[3]=r,e[4]=o):o=e[4];const a=o;let c;if(e[5]!==t||e[6]!==a||e[7]!==l){let x;e[9]!==a||e[10]!==l?(x=(g,p)=>s.jsxs(I,{className:"pt-0 pr-0 pb-0 pl-0",children:[g.label&&s.jsx("p",{className:w("px-2 pt-1.5 pb-0.5 text-xs font-medium text-muted-foreground/60",p>0&&"mt-3"),children:g.label}),s.jsx(A,{children:s.jsx(L,{className:"gap-0.5",children:g.items.map(u=>s.jsx(B,{children:s.jsx(R,{asChild:!0,isActive:a(u.to),children:s.jsxs(F,{to:u.to,params:{org:l},onClick:()=>H("settings_nav_clicked",{section_key:u.key,section_label:u.label,group_label:g.label||"main"}),className:"flex items-center gap-2.5 text-sm",children:[s.jsx("span",{className:"shrink-0",children:u.icon}),s.jsx("span",{className:"truncate",children:u.label})]})})},u.key))})})]},`${g.label}-${p}`),e[9]=a,e[10]=l,e[11]=x):x=e[11],c=t.map(x),e[5]=t,e[6]=a,e[7]=l,e[8]=c}else c=e[8];let d;e[12]===Symbol.for("react.memo_cache_sentinel")?(d=s.jsx("div",{className:"mx-2 my-2 border-t border-border/50"}),e[12]=d):d=e[12];let m;e[13]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsxs(I,{className:"pt-0 pr-0 pb-0 pl-0",children:[d,s.jsx(A,{children:s.jsx(L,{className:"gap-0.5",children:s.jsx(B,{children:s.jsxs(R,{onClick:ke,className:"flex items-center gap-2.5 text-sm",children:[s.jsx("span",{className:"shrink-0",children:s.jsx(K,{size:14})}),s.jsx("span",{className:"truncate",children:"Sign Out"})]})})})})]}),e[13]=m):m=e[13];let h;e[14]!==c?(h=s.jsxs(ie,{className:"flex flex-col flex-1 mt-2 px-2 pb-2 gap-0 overflow-y-auto",children:[c,m]}),e[14]=c,e[15]=h):h=e[15];let b;e[16]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsx("div",{className:"mt-auto px-4 pb-1",children:s.jsxs("span",{className:"text-xs text-muted-foreground/50",children:["v","3.17.0"]})}),e[16]=b):b=e[16];let f;return e[17]!==h?(f=s.jsxs(ne,{variant:"sidebar",children:[h,b]}),e[17]=h,e[18]=f):f=e[18],f}function ke(){H("signed_out",{source:"settings_sidebar"}),Q(),D.signOut()}function $e(e){return e.location.pathname}function ze(e){const t=S.c(21),{onClose:n}=e,l=V();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i={from:"/shell/$org"},t[0]=i):i=t[0];const{org:r}=T(i);let o;t[1]===Symbol.for("react.memo_cache_sentinel")?(o={select:Pe},t[1]=o):o=t[1];const a=J(o);let c;t[2]!==r||t[3]!==a?(c=p=>{const u=p.replace("$org",r);return a.startsWith(u)},t[2]=r,t[3]=a,t[4]=c):c=t[4];const d=c;let m;if(t[5]!==l||t[6]!==d||t[7]!==n||t[8]!==r){let p;t[10]!==d||t[11]!==n||t[12]!==r?(p=(u,_)=>s.jsxs("div",{className:"flex flex-col gap-0.5",children:[u.label&&s.jsx("p",{className:w("px-3 pt-1.5 pb-0.5 text-xs font-medium text-muted-foreground/60",_>0&&"mt-3"),children:u.label}),u.items.map(j=>s.jsxs(F,{to:j.to,params:{org:r},onClick:n,className:w("flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm",d(j.to)?"bg-sidebar-accent text-sidebar-accent-foreground font-medium":"text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground"),children:[s.jsx("span",{className:"shrink-0",children:j.icon}),s.jsx("span",{className:"truncate",children:j.label})]},j.key))]},`${u.label}-${_}`),t[10]=d,t[11]=n,t[12]=r,t[13]=p):p=t[13],m=l.map(p),t[5]=l,t[6]=d,t[7]=n,t[8]=r,t[9]=m}else m=t[9];let h;t[14]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx("div",{className:"h-px bg-border/50 my-2"}),t[14]=h):h=t[14];let b;t[15]===Symbol.for("react.memo_cache_sentinel")?(b=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[h,s.jsxs("button",{type:"button",onClick:Ce,className:"flex items-center gap-3 w-full px-3 py-2.5 rounded-lg transition-colors text-sm text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-foreground",children:[s.jsx("span",{className:"shrink-0",children:s.jsx(K,{size:14})}),s.jsx("span",{className:"truncate",children:"Sign Out"})]})]}),t[15]=b):b=t[15];let f;t[16]!==m?(f=s.jsxs("div",{className:"flex flex-col flex-1 overflow-y-auto px-2 py-2 gap-0.5",children:[m,b]}),t[16]=m,t[17]=f):f=t[17];let x;t[18]===Symbol.for("react.memo_cache_sentinel")?(x=s.jsx("div",{className:"px-4 pb-3 pt-1 border-t border-border/50",children:s.jsxs("span",{className:"text-xs text-muted-foreground/50",children:["v","3.17.0"]})}),t[18]=x):x=t[18];let g;return t[19]!==f?(g=s.jsxs("div",{className:"flex flex-col h-full bg-sidebar",children:[f,x]}),t[19]=f,t[20]=g):g=t[20],g}function Ce(){Q(),D.signOut()}function Pe(e){return e.location.pathname}function qe(){const e=S.c(4),t=U(),{org:n}=W();je(n.slug);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsx(Z,{size:20,className:"animate-spin text-muted-foreground"})}),e[0]=l):l=e[0];let i;e[1]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx(ee.Suspense,{fallback:l,children:s.jsx("div",{className:"flex flex-1 items-center overflow-hidden rounded-[inherit]",children:s.jsx(oe,{value:"p-0",children:s.jsx("div",{className:"flex-1 min-w-0 overflow-hidden h-full",children:s.jsx(se,{})})})})}),e[1]=i):i=e[1];const r=i;if(t){let a;return e[2]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("div",{className:"flex flex-col flex-1 bg-background min-h-0 overflow-hidden",children:r}),e[2]=a):a=e[2],a}let o;return e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx("div",{className:"flex-1 min-h-0 p-1",children:s.jsx("div",{className:w("flex flex-col h-full min-h-0 bg-background overflow-hidden","card-shadow","rounded-[0.75rem]"),children:r})}),e[3]=o):o=e[3],o}function ts(){const e=S.c(22),t=U();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(y.LogoLink,{}),e[0]=n):n=e[0];let l;e[1]!==t?(l=t&&s.jsx(_e,{}),e[1]=t,e[2]=l):l=e[2];let i;e[3]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsx("span",{className:"hidden md:contents",children:s.jsx(y.Nav,{})}),e[3]=i):i=e[3];let r;e[4]!==l?(r=s.jsxs(y.LeftColumn,{children:[n,l,i]}),e[4]=l,e[5]=r):r=e[5];let o;e[6]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(y.CenterSlot,{}),e[6]=o):o=e[6];let a;e[7]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(y.RightColumn,{children:s.jsx("span",{})}),e[7]=a):a=e[7];let c;e[8]!==r?(c=s.jsxs(y.Header,{children:[r,o,a]}),e[8]=r,e[9]=c):c=e[9];let d;e[10]===Symbol.for("react.memo_cache_sentinel")?(d={"--sidebar-width-icon":"3.5rem"},e[10]=d):d=e[10];let m;e[11]!==t?(m=!t&&s.jsx(Ne,{}),e[11]=t,e[12]=m):m=e[12];let h;e[13]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx(te,{className:"flex flex-col",style:{background:"transparent",containerType:"inline-size"},children:s.jsx(qe,{})}),e[13]=h):h=e[13];let b;e[14]!==m?(b=s.jsxs(le,{className:"flex-1 bg-sidebar min-h-0",style:d,children:[m,h]}),e[14]=m,e[15]=b):b=e[15];let f;e[16]!==t?(f=t&&s.jsx(ye,{renderSidebar:we}),e[16]=t,e[17]=f):f=e[17];let x;return e[18]!==b||e[19]!==f||e[20]!==c?(x=s.jsx(y.Provider,{children:s.jsx(re,{defaultOpen:!0,children:s.jsxs("div",{className:"app-shell-root flex flex-col h-dvh overflow-hidden",children:[c,b,f]})})}),e[18]=b,e[19]=f,e[20]=c,e[21]=x):x=e[21],x}function we(e){const{onClose:t}=e;return s.jsx(ze,{onClose:t})}export{Ne as SettingsSidebar,ze as SettingsSidebarMobile,ts as default};
@@ -1 +1 @@
1
- import{e as v,c as N,j as r,r as S}from"./index-Ddo-OAlk.js";import{C as w}from"./card-BoIkIdKw.js";import{i as E}from"./ArrowUpRight-DrdPL0e7.js";function I(c){const e=v.c(12),{title:i,description:l,docsHref:t,actions:s,className:n,headerClassName:a,children:d}=c;let m;e[0]!==n?(m=N("flex flex-col gap-3",n),e[0]=n,e[1]=m):m=e[1];let f;e[2]!==s||e[3]!==l||e[4]!==t||e[5]!==a||e[6]!==i?(f=(i||l||t||s)&&r.jsxs("div",{className:N("flex items-center justify-between gap-3 px-4",a),children:[r.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[i&&r.jsx("h2",{className:"text-[15px] font-medium leading-tight",children:i}),(l||t)&&r.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[l,t&&r.jsxs("a",{href:t,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",r.jsx(E,{size:12})]})]})]}),s&&r.jsx("div",{className:"shrink-0",children:s})]}),e[2]=s,e[3]=l,e[4]=t,e[5]=a,e[6]=i,e[7]=f):f=e[7];let o;return e[8]!==d||e[9]!==m||e[10]!==f?(o=r.jsxs("section",{className:m,children:[f,d]}),e[8]=d,e[9]=m,e[10]=f,e[11]=o):o=e[11],o}function P(c){const e=v.c(11),{className:i,children:l}=c;let t,s,n;if(e[0]!==l||e[1]!==i){const d=S.Children.toArray(l).filter(S.isValidElement);t=w,e[5]!==i?(s=N("p-0 gap-0 overflow-hidden",i),e[5]=i,e[6]=s):s=e[6],n=d.map($),e[0]=l,e[1]=i,e[2]=t,e[3]=s,e[4]=n}else t=e[2],s=e[3],n=e[4];let a;return e[7]!==t||e[8]!==s||e[9]!==n?(a=r.jsx(t,{className:s,children:n}),e[7]=t,e[8]=s,e[9]=n,e[10]=a):a=e[10],a}function $(c,e){return r.jsxs("div",{children:[e>0&&r.jsx("div",{className:"h-px bg-border mx-5"}),c]},e)}function R(c){const e=v.c(27),{icon:i,title:l,description:t,action:s,onClick:n,className:a,children:d}=c,m=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",f=n&&"hover:bg-muted/50 cursor-pointer";let o;e[0]!==a||e[1]!==m||e[2]!==f?(o=N(m,f,a),e[0]=a,e[1]=m,e[2]=f,e[3]=o):o=e[3];const b=n?"button":void 0,C=n?0:void 0;let x;e[4]!==n?(x=n?k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),n())}:void 0,e[4]=n,e[5]=x):x=e[5];let p;e[6]!==i?(p=i&&r.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:i}),e[6]=i,e[7]=p):p=e[7];let u;e[8]!==l?(u=r.jsx("div",{className:"text-sm font-medium",children:l}),e[8]=l,e[9]=u):u=e[9];let h;e[10]!==t?(h=t&&r.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:t}),e[10]=t,e[11]=h):h=e[11];let g;e[12]!==d||e[13]!==u||e[14]!==h?(g=r.jsxs("div",{className:"flex-1 min-w-0",children:[u,h,d]}),e[12]=d,e[13]=u,e[14]=h,e[15]=g):g=e[15];let j;e[16]!==s?(j=s&&r.jsx("div",{className:"shrink-0",onClick:D,children:s}),e[16]=s,e[17]=j):j=e[17];let y;return e[18]!==n||e[19]!==g||e[20]!==j||e[21]!==o||e[22]!==b||e[23]!==C||e[24]!==x||e[25]!==p?(y=r.jsxs("div",{className:o,onClick:n,role:b,tabIndex:C,onKeyDown:x,children:[p,g,j]}),e[18]=n,e[19]=g,e[20]=j,e[21]=o,e[22]=b,e[23]=C,e[24]=x,e[25]=p,e[26]=y):y=e[26],y}function D(c){return c.stopPropagation()}function H(c){const e=v.c(5),{children:i,className:l}=c;let t;e[0]!==l?(t=N("flex items-center justify-end gap-2 px-4 py-4",l),e[0]=l,e[1]=t):t=e[1];let s;return e[2]!==i||e[3]!==t?(s=r.jsx("div",{className:t,children:i}),e[2]=i,e[3]=t,e[4]=s):s=e[4],s}function K(c){const e=v.c(5),{className:i,children:l}=c;let t;e[0]!==i?(t=N("flex flex-col gap-10",i),e[0]=i,e[1]=t):t=e[1];let s;return e[2]!==l||e[3]!==t?(s=r.jsx("div",{className:t,children:l}),e[2]=l,e[3]=t,e[4]=s):s=e[4],s}export{I as S,P as a,R as b,K as c,H as d};
1
+ import{e as v,c as N,j as r,r as S}from"./index-B7iCbXk_.js";import{C as w}from"./card-e3k5JTCd.js";import{i as E}from"./ArrowUpRight-CK7gDol3.js";function I(c){const e=v.c(12),{title:i,description:l,docsHref:t,actions:s,className:n,headerClassName:a,children:d}=c;let m;e[0]!==n?(m=N("flex flex-col gap-3",n),e[0]=n,e[1]=m):m=e[1];let f;e[2]!==s||e[3]!==l||e[4]!==t||e[5]!==a||e[6]!==i?(f=(i||l||t||s)&&r.jsxs("div",{className:N("flex items-center justify-between gap-3 px-4",a),children:[r.jsxs("div",{className:"flex flex-col gap-1 min-w-0",children:[i&&r.jsx("h2",{className:"text-[15px] font-medium leading-tight",children:i}),(l||t)&&r.jsxs("p",{className:"text-sm text-muted-foreground leading-snug",children:[l,t&&r.jsxs("a",{href:t,target:"_blank",rel:"noreferrer",className:"inline-flex items-center gap-0.5 ml-1 text-foreground hover:underline",children:["Docs ",r.jsx(E,{size:12})]})]})]}),s&&r.jsx("div",{className:"shrink-0",children:s})]}),e[2]=s,e[3]=l,e[4]=t,e[5]=a,e[6]=i,e[7]=f):f=e[7];let o;return e[8]!==d||e[9]!==m||e[10]!==f?(o=r.jsxs("section",{className:m,children:[f,d]}),e[8]=d,e[9]=m,e[10]=f,e[11]=o):o=e[11],o}function P(c){const e=v.c(11),{className:i,children:l}=c;let t,s,n;if(e[0]!==l||e[1]!==i){const d=S.Children.toArray(l).filter(S.isValidElement);t=w,e[5]!==i?(s=N("p-0 gap-0 overflow-hidden",i),e[5]=i,e[6]=s):s=e[6],n=d.map($),e[0]=l,e[1]=i,e[2]=t,e[3]=s,e[4]=n}else t=e[2],s=e[3],n=e[4];let a;return e[7]!==t||e[8]!==s||e[9]!==n?(a=r.jsx(t,{className:s,children:n}),e[7]=t,e[8]=s,e[9]=n,e[10]=a):a=e[10],a}function $(c,e){return r.jsxs("div",{children:[e>0&&r.jsx("div",{className:"h-px bg-border mx-5"}),c]},e)}function R(c){const e=v.c(27),{icon:i,title:l,description:t,action:s,onClick:n,className:a,children:d}=c,m=d?"flex items-start gap-3 px-4 py-4":"flex items-center gap-3 px-4 py-4",f=n&&"hover:bg-muted/50 cursor-pointer";let o;e[0]!==a||e[1]!==m||e[2]!==f?(o=N(m,f,a),e[0]=a,e[1]=m,e[2]=f,e[3]=o):o=e[3];const b=n?"button":void 0,C=n?0:void 0;let x;e[4]!==n?(x=n?k=>{(k.key==="Enter"||k.key===" ")&&(k.preventDefault(),n())}:void 0,e[4]=n,e[5]=x):x=e[5];let p;e[6]!==i?(p=i&&r.jsx("div",{className:"size-8 shrink-0 rounded-lg bg-muted/60 flex items-center justify-center text-muted-foreground",children:i}),e[6]=i,e[7]=p):p=e[7];let u;e[8]!==l?(u=r.jsx("div",{className:"text-sm font-medium",children:l}),e[8]=l,e[9]=u):u=e[9];let h;e[10]!==t?(h=t&&r.jsx("p",{className:"text-xs text-muted-foreground mt-0.5 leading-relaxed",children:t}),e[10]=t,e[11]=h):h=e[11];let g;e[12]!==d||e[13]!==u||e[14]!==h?(g=r.jsxs("div",{className:"flex-1 min-w-0",children:[u,h,d]}),e[12]=d,e[13]=u,e[14]=h,e[15]=g):g=e[15];let j;e[16]!==s?(j=s&&r.jsx("div",{className:"shrink-0",onClick:D,children:s}),e[16]=s,e[17]=j):j=e[17];let y;return e[18]!==n||e[19]!==g||e[20]!==j||e[21]!==o||e[22]!==b||e[23]!==C||e[24]!==x||e[25]!==p?(y=r.jsxs("div",{className:o,onClick:n,role:b,tabIndex:C,onKeyDown:x,children:[p,g,j]}),e[18]=n,e[19]=g,e[20]=j,e[21]=o,e[22]=b,e[23]=C,e[24]=x,e[25]=p,e[26]=y):y=e[26],y}function D(c){return c.stopPropagation()}function H(c){const e=v.c(5),{children:i,className:l}=c;let t;e[0]!==l?(t=N("flex items-center justify-end gap-2 px-4 py-4",l),e[0]=l,e[1]=t):t=e[1];let s;return e[2]!==i||e[3]!==t?(s=r.jsx("div",{className:t,children:i}),e[2]=i,e[3]=t,e[4]=s):s=e[4],s}function K(c){const e=v.c(5),{className:i,children:l}=c;let t;e[0]!==i?(t=N("flex flex-col gap-10",i),e[0]=i,e[1]=t):t=e[1];let s;return e[2]!==l||e[3]!==t?(s=r.jsx("div",{className:t,children:l}),e[2]=l,e[3]=t,e[4]=s):s=e[4],s}export{I as S,P as a,R as b,K as c,H as d};
@@ -1 +1 @@
1
- import{e as n,c as f,j as i,dc as N,cx as y,bE as S,dd as v,cy as $,de as C,cz as w}from"./index-Ddo-OAlk.js";import{i as z}from"./X-DcUCV36T.js";function D(o){const e=n.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let s;return e[2]!==t?(s=i.jsx(y,{"data-slot":"sheet",...t}),e[2]=t,e[3]=s):s=e[3],s}function k(o){const e=n.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let s;return e[2]!==t?(s=i.jsx($,{"data-slot":"sheet-portal",...t}),e[2]=t,e[3]=s):s=e[3],s}function E(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx(w,{"data-slot":"sheet-overlay",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}function O(o){const e=n.c(20);let t,s,a,l,c;e[0]!==o?({className:s,children:t,side:l,hideCloseButton:c,...a}=o,e[0]=o,e[1]=t,e[2]=s,e[3]=a,e[4]=l,e[5]=c):(t=e[1],s=e[2],a=e[3],l=e[4],c=e[5]);const p=l===void 0?"right":l,h=c===void 0?!1:c;let m;e[6]===Symbol.for("react.memo_cache_sentinel")?(m=i.jsx(E,{}),e[6]=m):m=e[6];const x=p==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",b=p==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",g=p==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",j=p==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t";let r;e[7]!==s||e[8]!==x||e[9]!==b||e[10]!==g||e[11]!==j?(r=f("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-200 data-[state=open]:duration-200",x,b,g,j,s),e[7]=s,e[8]=x,e[9]=b,e[10]=g,e[11]=j,e[12]=r):r=e[12];let d;e[13]!==h?(d=!h&&i.jsxs(C,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[i.jsx(z,{className:"size-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]}),e[13]=h,e[14]=d):d=e[14];let u;return e[15]!==t||e[16]!==a||e[17]!==r||e[18]!==d?(u=i.jsxs(k,{children:[m,i.jsxs(S,{"data-slot":"sheet-content",className:r,...a,children:[t,d]})]}),e[15]=t,e[16]=a,e[17]=r,e[18]=d,e[19]=u):u=e[19],u}function P(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("flex flex-col gap-1.5 p-4",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx("div",{"data-slot":"sheet-header",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}function T(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("text-foreground font-semibold",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx(N,{"data-slot":"sheet-title",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}function _(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("text-muted-foreground text-sm",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx(v,{"data-slot":"sheet-description",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}export{T as S,O as a,D as b,_ as c,P as d};
1
+ import{e as n,c as f,j as i,dc as N,cx as y,bE as S,dd as v,cy as $,de as C,cz as w}from"./index-B7iCbXk_.js";import{i as z}from"./X-KBpNDFwt.js";function D(o){const e=n.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let s;return e[2]!==t?(s=i.jsx(y,{"data-slot":"sheet",...t}),e[2]=t,e[3]=s):s=e[3],s}function k(o){const e=n.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let s;return e[2]!==t?(s=i.jsx($,{"data-slot":"sheet-portal",...t}),e[2]=t,e[3]=s):s=e[3],s}function E(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx(w,{"data-slot":"sheet-overlay",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}function O(o){const e=n.c(20);let t,s,a,l,c;e[0]!==o?({className:s,children:t,side:l,hideCloseButton:c,...a}=o,e[0]=o,e[1]=t,e[2]=s,e[3]=a,e[4]=l,e[5]=c):(t=e[1],s=e[2],a=e[3],l=e[4],c=e[5]);const p=l===void 0?"right":l,h=c===void 0?!1:c;let m;e[6]===Symbol.for("react.memo_cache_sentinel")?(m=i.jsx(E,{}),e[6]=m):m=e[6];const x=p==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",b=p==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",g=p==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",j=p==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t";let r;e[7]!==s||e[8]!==x||e[9]!==b||e[10]!==g||e[11]!==j?(r=f("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-200 data-[state=open]:duration-200",x,b,g,j,s),e[7]=s,e[8]=x,e[9]=b,e[10]=g,e[11]=j,e[12]=r):r=e[12];let d;e[13]!==h?(d=!h&&i.jsxs(C,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[i.jsx(z,{className:"size-4"}),i.jsx("span",{className:"sr-only",children:"Close"})]}),e[13]=h,e[14]=d):d=e[14];let u;return e[15]!==t||e[16]!==a||e[17]!==r||e[18]!==d?(u=i.jsxs(k,{children:[m,i.jsxs(S,{"data-slot":"sheet-content",className:r,...a,children:[t,d]})]}),e[15]=t,e[16]=a,e[17]=r,e[18]=d,e[19]=u):u=e[19],u}function P(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("flex flex-col gap-1.5 p-4",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx("div",{"data-slot":"sheet-header",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}function T(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("text-foreground font-semibold",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx(N,{"data-slot":"sheet-title",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}function _(o){const e=n.c(8);let t,s;e[0]!==o?({className:t,...s}=o,e[0]=o,e[1]=t,e[2]=s):(t=e[1],s=e[2]);let a;e[3]!==t?(a=f("text-muted-foreground text-sm",t),e[3]=t,e[4]=a):a=e[4];let l;return e[5]!==s||e[6]!==a?(l=i.jsx(v,{"data-slot":"sheet-description",className:a,...s}),e[5]=s,e[6]=a,e[7]=l):l=e[7],l}export{T as S,O as a,D as b,_ as c,P as d};
@@ -1 +1 @@
1
- import{e as f,j as a}from"./index-Ddo-OAlk.js";import{S as d,a as p,b as S}from"./sheet-pqbHPkyu.js";import{u as b}from"./sidebar-BZQ9ZuwD.js";import{i as h}from"./LayoutLeft-Bb0s-28Y.js";import{T as u}from"./toolbar-hSa6Dbq7.js";function M(){const t=f.c(3),{toggleSidebar:e}=b();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(h,{size:16}),t[0]=o):o=t[0];let s;return t[1]!==e?(s=a.jsx(u,{onClick:e,"aria-label":"Toggle sidebar",children:o}),t[1]=e,t[2]=s):s=t[2],s}function _(t){const e=f.c(12),{renderSidebar:o}=t,{openMobile:s,setOpenMobile:i}=b();let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(d,{className:"sr-only",children:"Navigation"}),e[0]=c):c=e[0];let l;e[1]!==i?(l=()=>i(!1),e[1]=i,e[2]=l):l=e[2];let r;e[3]!==o||e[4]!==l?(r=o({onClose:l}),e[3]=o,e[4]=l,e[5]=r):r=e[5];let n;e[6]!==r?(n=a.jsxs(p,{side:"left",hideCloseButton:!0,className:"w-[calc(100vw-3rem)] sm:max-w-md! p-0",children:[c,r]}),e[6]=r,e[7]=n):n=e[7];let m;return e[8]!==s||e[9]!==i||e[10]!==n?(m=a.jsx(S,{open:s,onOpenChange:i,children:n}),e[8]=s,e[9]=i,e[10]=n,e[11]=m):m=e[11],m}export{_ as M,M as S};
1
+ import{e as f,j as a}from"./index-B7iCbXk_.js";import{S as d,a as p,b as S}from"./sheet-BZY2P976.js";import{u as b}from"./sidebar-ChiM4a_i.js";import{i as h}from"./LayoutLeft-BhinYfWY.js";import{T as u}from"./toolbar-cmRfNwQD.js";function M(){const t=f.c(3),{toggleSidebar:e}=b();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(h,{size:16}),t[0]=o):o=t[0];let s;return t[1]!==e?(s=a.jsx(u,{onClick:e,"aria-label":"Toggle sidebar",children:o}),t[1]=e,t[2]=s):s=t[2],s}function _(t){const e=f.c(12),{renderSidebar:o}=t,{openMobile:s,setOpenMobile:i}=b();let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=a.jsx(d,{className:"sr-only",children:"Navigation"}),e[0]=c):c=e[0];let l;e[1]!==i?(l=()=>i(!1),e[1]=i,e[2]=l):l=e[2];let r;e[3]!==o||e[4]!==l?(r=o({onClose:l}),e[3]=o,e[4]=l,e[5]=r):r=e[5];let n;e[6]!==r?(n=a.jsxs(p,{side:"left",hideCloseButton:!0,className:"w-[calc(100vw-3rem)] sm:max-w-md! p-0",children:[c,r]}),e[6]=r,e[7]=n):n=e[7];let m;return e[8]!==s||e[9]!==i||e[10]!==n?(m=a.jsx(S,{open:s,onOpenChange:i,children:n}),e[8]=s,e[9]=i,e[10]=n,e[11]=m):m=e[11],m}export{_ as M,M as S};
@@ -0,0 +1 @@
1
+ import{e as k,a as se,j as o,B as z,bJ as X,o as Z,F as me,b as Y,a4 as we,s as fe,K as re,L as U,r as Q,bK as Se,bL as je,n as oe,f as ve,q as ke,g as he,d as Ne,$ as Oe,bM as _e,bN as le,bO as Ae,bP as Ce,S as Ee,O as Te,bQ as $e}from"./index-B7iCbXk_.js";import{A as ge}from"./avatar-DO1C-195.js";import{t as ze,a as Me}from"./Users03-BluuyeMv.js";import{i as Ie,a as Fe,s as K,n as Le}from"./Stars02-CW3UZx3-.js";import{s as Pe}from"./XClose-C-vzo62c.js";import{i as q}from"./CheckCircle-DmfTpHvO.js";import{i as ce}from"./FilterLines-BdmyMdfx.js";import{i as J}from"./Zap-ln_FBbgR.js";import{a as De,b as Re,c as Ke,D as qe}from"./dialog-CUjx9rHg.js";import{R as Ue}from"./required-auth-layout-BGH5fHd-.js";import{s as He,n as Ge,v as Be,A as We}from"./tab-id-DjqI6l0G.js";import{g as Je,m as Qe,S as Ye}from"./constants-Cpa_PRaA.js";import{c as Ve}from"./use-organization-settings-C0BOz_Ke.js";import{u as Xe}from"./use-org-sso-Czp3Extl.js";function Ze(t){const e=k.c(27),{orgName:n,orgSlug:s,orgLogo:r,domain:a}=t;let i;e[0]!==s?(i={mutationFn:async()=>{const x=await fetch("/api/auth/custom/domain-join",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({organizationSlug:s})}),v=await x.json();if(!x.ok||!v.success)throw new Error(v.error??"Failed to join organization");return v},onSuccess:x=>{window.location.href=`/${x.slug??s}`},onError:tt},e[0]=s,e[1]=i):i=e[1];const l=se(i),d=et;let c;e[2]!==r||e[3]!==n?(c=r?o.jsx(ge,{url:r,fallback:n.charAt(0).toUpperCase(),shape:"square",size:"base",className:"h-12 w-12"}):o.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:o.jsx(ze,{className:"h-6 w-6 text-primary"})}),e[2]=r,e[3]=n,e[4]=c):c=e[4];let m;e[5]!==n?(m=o.jsxs("h3",{className:"text-lg font-medium",children:["Join ",n,"?"]}),e[5]=n,e[6]=m):m=e[6];let u;e[7]!==a?(u=o.jsxs("p",{className:"text-sm text-muted-foreground",children:["Anyone with an ",o.jsxs("strong",{children:["@",a]})," email can join this organization."]}),e[7]=a,e[8]=u):u=e[8];let p;e[9]!==m||e[10]!==u?(p=o.jsxs("div",{className:"space-y-2",children:[m,u]}),e[9]=m,e[10]=u,e[11]=p):p=e[11];let g;e[12]!==l?(g=()=>l.mutate(),e[12]=l,e[13]=g):g=e[13];const y=l.isPending?"Joining…":`Enter ${n}`;let f;e[14]!==l.isPending||e[15]!==g||e[16]!==y?(f=o.jsx(z,{onClick:g,disabled:l.isPending,children:y}),e[14]=l.isPending,e[15]=g,e[16]=y,e[17]=f):f=e[17];let h;e[18]!==l.isPending?(h=o.jsx(z,{variant:"ghost",onClick:d,disabled:l.isPending,children:"Go to home"}),e[18]=l.isPending,e[19]=h):h=e[19];let b;e[20]!==f||e[21]!==h?(b=o.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[f,h]}),e[20]=f,e[21]=h,e[22]=b):b=e[22];let S;return e[23]!==b||e[24]!==c||e[25]!==p?(S=o.jsxs(X,{children:[c,p,b]}),e[23]=b,e[24]=c,e[25]=p,e[26]=S):S=e[26],S}function et(){window.location.href="/"}function tt(t){Z.error(t instanceof Error?t.message:"Failed to join organization")}function de(t){const e=k.c(17),{orgSlug:n,orgName:s,reason:r}=t,a=nt,i=r==="not-found",l=i?Ie:me,d=i?"Organization not found":"No access";let c;e[0]!==i||e[1]!==s||e[2]!==n?(c=i?o.jsxs(o.Fragment,{children:["We couldn't find an organization called ",o.jsx("strong",{children:n}),"."]}):o.jsxs(o.Fragment,{children:["You don't have access to ",o.jsx("strong",{children:s??n}),".",o.jsx("br",{}),"Ask an admin to invite you."]}),e[0]=i,e[1]=s,e[2]=n,e[3]=c):c=e[3];const m=c;let u;e[4]!==l?(u=o.jsx("div",{className:"bg-muted p-3 rounded-full",children:o.jsx(l,{className:"h-6 w-6 text-muted-foreground"})}),e[4]=l,e[5]=u):u=e[5];let p;e[6]!==d?(p=o.jsx("h3",{className:"text-lg font-medium",children:d}),e[6]=d,e[7]=p):p=e[7];let g;e[8]!==m?(g=o.jsx("p",{className:"text-sm text-muted-foreground",children:m}),e[8]=m,e[9]=g):g=e[9];let y;e[10]!==p||e[11]!==g?(y=o.jsxs("div",{className:"space-y-2",children:[p,g]}),e[10]=p,e[11]=g,e[12]=y):y=e[12];let f;e[13]===Symbol.for("react.memo_cache_sentinel")?(f=o.jsx(z,{onClick:a,children:"Go to home"}),e[13]=f):f=e[13];let h;return e[14]!==u||e[15]!==y?(h=o.jsxs(X,{children:[u,y,f]}),e[14]=u,e[15]=y,e[16]=h):h=e[16],h}function nt(){window.location.href="/"}function st(t){const e=k.c(39),{invitationId:n,orgName:s,orgSlug:r,orgLogo:a}=t;let i;e[0]!==n?(i=async()=>{const O=await Y.organization.acceptInvitation({invitationId:n});if(O.error)throw new Error(O.error.message);return O.data},e[0]=n,e[1]=i):i=e[1];let l;e[2]!==r?(l=()=>{we(),window.location.href=`/${r}`},e[2]=r,e[3]=l):l=e[3];let d;e[4]!==i||e[5]!==l?(d={mutationFn:i,onSuccess:l,onError:it},e[4]=i,e[5]=l,e[6]=d):d=e[6];const c=se(d);let m;e[7]!==n?(m=async()=>{const O=await Y.organization.rejectInvitation({invitationId:n});if(O.error)throw new Error(O.error.message);return O.data},e[7]=n,e[8]=m):m=e[8];let u;e[9]===Symbol.for("react.memo_cache_sentinel")?(u=at,e[9]=u):u=e[9];let p;e[10]!==m?(p={mutationFn:m,onSuccess:u,onError:ot},e[10]=m,e[11]=p):p=e[11];const g=se(p),y=c.isPending||g.isPending;let f;e[12]!==a||e[13]!==s?(f=a?o.jsx(ge,{url:a,fallback:s.charAt(0).toUpperCase(),shape:"square",size:"base",className:"h-12 w-12"}):o.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:o.jsx(Fe,{className:"h-6 w-6 text-primary"})}),e[12]=a,e[13]=s,e[14]=f):f=e[14];let h;e[15]!==s?(h=o.jsxs("h3",{className:"text-lg font-medium",children:["You've been invited to ",o.jsx("strong",{children:s})]}),e[15]=s,e[16]=h):h=e[16];let b;e[17]===Symbol.for("react.memo_cache_sentinel")?(b=o.jsx("p",{className:"text-sm text-muted-foreground",children:"Accept the invitation to join this organization."}),e[17]=b):b=e[17];let S;e[18]!==h?(S=o.jsxs("div",{className:"space-y-2",children:[h,b]}),e[18]=h,e[19]=S):S=e[19];let x;e[20]!==c?(x=()=>c.mutate(),e[20]=c,e[21]=x):x=e[21];const v=c.isPending?"Accepting…":"Accept invitation";let _;e[22]!==y||e[23]!==x||e[24]!==v?(_=o.jsx(z,{onClick:x,disabled:y,children:v}),e[22]=y,e[23]=x,e[24]=v,e[25]=_):_=e[25];let N;e[26]!==g?(N=()=>g.mutate(),e[26]=g,e[27]=N):N=e[27];const w=g.isPending?"Declining…":"Decline";let A;e[28]!==y||e[29]!==N||e[30]!==w?(A=o.jsx(z,{variant:"ghost",onClick:N,disabled:y,children:w}),e[28]=y,e[29]=N,e[30]=w,e[31]=A):A=e[31];let C;e[32]!==_||e[33]!==A?(C=o.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[_,A]}),e[32]=_,e[33]=A,e[34]=C):C=e[34];let E;return e[35]!==S||e[36]!==C||e[37]!==f?(E=o.jsxs(X,{children:[f,S,C]}),e[35]=S,e[36]=C,e[37]=f,e[38]=E):E=e[38],E}function ot(t){Z.error(t instanceof Error?t.message:"Failed to decline invitation")}function at(){Z.success("Invitation declined"),window.location.href="/"}function it(t){Z.error(t instanceof Error?t.message:"Failed to accept invitation")}function rt(t){const e=k.c(7);let n;e[0]!==t?(n=re.orgAccessStatus(t),e[0]=t,e[1]=n):n=e[1];let s;e[2]!==t?(s=async()=>{const a=await fetch(`/api/auth/custom/org-access-status/${encodeURIComponent(t)}`,{credentials:"include"});if(!a.ok)throw new Error(`org-access-status failed (${a.status})`);return await a.json()},e[2]=t,e[3]=s):s=e[3];let r;return e[4]!==n||e[5]!==s?(r={queryKey:n,queryFn:s,refetchOnWindowFocus:!1},e[4]=n,e[5]=s,e[6]=r):r=e[6],fe(r)}function lt({orgSlug:t}){const{data:e}=rt(t);return(e.status==="not-found"||e.status==="no-access")&&localStorage.getItem(U.lastOrgSlug())===t?(localStorage.removeItem(U.lastOrgSlug()),window.location.href="/",null):e.status==="not-found"?o.jsx(de,{orgSlug:t,reason:"not-found"}):e.status==="pending-invite"?o.jsx(st,{invitationId:e.invitation.id,orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo}):e.status==="auto-domain-join"?o.jsx(Ze,{orgName:e.organization.name,orgSlug:e.organization.slug,orgLogo:e.organization.logo,domain:e.organization.domain??""}):e.status==="member"?(window.location.reload(),null):o.jsx(de,{orgSlug:t,orgName:e.organization.name,reason:"no-access"})}function ct(t){const e=k.c(20),{release:n,onCtaClick:s,onLearnMoreClick:r}=t;let a;e[0]!==n.eyebrow?(a=n.eyebrow&&o.jsx("p",{className:"text-xs text-muted-foreground",children:n.eyebrow}),e[0]=n.eyebrow,e[1]=a):a=e[1];let i;e[2]!==n.title?(i=o.jsx("h3",{className:"text-base font-semibold text-foreground",children:n.title}),e[2]=n.title,e[3]=i):i=e[3];let l;e[4]!==a||e[5]!==i?(l=o.jsxs("div",{children:[a,i]}),e[4]=a,e[5]=i,e[6]=l):l=e[6];let d;e[7]!==n.bullets?(d=n.bullets.map(dt),e[7]=n.bullets,e[8]=d):d=e[8];let c;e[9]!==d?(c=o.jsx("ul",{className:"flex flex-col gap-3",children:d}),e[9]=d,e[10]=c):c=e[10];let m;e[11]!==s||e[12]!==r||e[13]!==n.cta||e[14]!==n.learnMoreHref?(m=(n.cta||n.learnMoreHref)&&o.jsxs("div",{className:"flex items-center justify-between pt-1",children:[n.learnMoreHref?o.jsx("a",{href:n.learnMoreHref,target:"_blank",rel:"noreferrer",onClick:r,className:"text-xs text-muted-foreground hover:text-foreground underline-offset-2 hover:underline",children:"Learn More"}):o.jsx("span",{}),n.cta&&o.jsx(z,{asChild:!0,size:"sm",onClick:s,children:o.jsx("a",{href:n.cta.href,children:n.cta.label})})]}),e[11]=s,e[12]=r,e[13]=n.cta,e[14]=n.learnMoreHref,e[15]=m):m=e[15];let u;return e[16]!==l||e[17]!==c||e[18]!==m?(u=o.jsxs("div",{className:"flex flex-col gap-3",children:[l,c,m]}),e[16]=l,e[17]=c,e[18]=m,e[19]=u):u=e[19],u}function dt(t,e){return o.jsxs("li",{className:"flex items-start gap-3",children:[o.jsx(t.icon,{size:20,className:"text-muted-foreground mt-0.5 shrink-0"}),o.jsxs("div",{className:"min-w-0",children:[o.jsx("p",{className:"text-sm font-medium text-foreground",children:t.title}),o.jsx("p",{className:"text-xs text-muted-foreground",children:t.body})]})]},e)}const pe=[{id:"fable-5-suspension",date:"2026-06-13",eyebrow:"Important Update",title:"Fable 5 & Mythos 5 suspended — Opus 4.8 takes over",bullets:[{icon:q,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:K,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:J,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:K,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:q,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:J,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:K,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:q,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:J,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:K,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:ce,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:q,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:Me,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:J,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:q,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:K,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:ce,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:K,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:Le,title:"Unified inbox",body:"Org invitations and product updates now share one chronological feed in the sidebar."}]}],V="studio.release-feed.v1",ae=new Set;let I="",F={},ie=!1;function ut(){if(ie)return I||"{}";try{return localStorage.getItem(V)??"{}"}catch{return I||"{}"}}function ye(t){try{const e=JSON.parse(t);return e&&typeof e=="object"?e:{}}catch{return{}}}function ue(){const t=ut();return t!==I&&(I=t,F=ye(t)),F}function mt(t){ae.add(t);const e=n=>{if(!(n.key!==V&&n.key!==null)){try{const s=localStorage.getItem(V)??"{}",a={...ye(s),...F};F=a,I=JSON.stringify(a)}catch{}t()}};return window.addEventListener("storage",e),()=>{ae.delete(t),window.removeEventListener("storage",e)}}function ft(t){F=t,I=JSON.stringify(t);try{localStorage.setItem(V,I),ie=!1}catch{ie=!0}ae.forEach(e=>e())}function ht(){const t=k.c(7),e=Q.useSyncExternalStore(mt,ue,ue);let n;t[0]!==e?(n=d=>!!e[d],t[0]=e,t[1]=n):n=t[1];const s=n,r=gt;let a;t[2]!==e?(a=pe.reduce((d,c)=>e[c.id]?d:d+1,0),t[2]=e,t[3]=a):a=t[3];const i=a;let l;return t[4]!==s||t[5]!==i?(l={isSeen:s,markSeen:r,unseenCount:i},t[4]=s,t[5]=i,t[6]=l):l=t[6],l}function gt(t){F[t]||ft({...F,[t]:{seenAt:new Date().toISOString()}})}const pt=720*60*60*1e3;function yt(t){const[e,n,s]=t.split("-").map(Number);return!e||!n||!s?new Date(t).getTime():new Date(e,n-1,s).getTime()}function bt(t){const e=pe[0];if(!e)return null;const n=yt(e.date),s=t-n;return s<0||s>pt?null:e}function xt(){const t=k.c(21),{isSeen:e,markSeen:n}=ht();let s,r,a;if(t[0]!==e){a=Symbol.for("react.early_return_sentinel");e:{if(s=bt(Date.now()),!s){a=null;break e}r=e(s.id)}t[0]=e,t[1]=s,t[2]=r,t[3]=a}else s=t[1],r=t[2],a=t[3];if(a!==Symbol.for("react.early_return_sentinel"))return a;if(r)return null;let i;t[4]!==s.id||t[5]!==n?(i=()=>n(s.id),t[4]=s.id,t[5]=n,t[6]=i):i=t[6];let l;t[7]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(Pe,{size:14}),t[7]=l):l=t[7];let d;t[8]!==i?(d=o.jsx(z,{size:"icon",variant:"ghost","aria-label":"Dismiss release announcement",className:"absolute right-2 top-2 size-7 text-muted-foreground",onClick:i,children:l}),t[8]=i,t[9]=d):d=t[9];let c,m;t[10]!==s.id||t[11]!==n?(c=()=>n(s.id),m=()=>n(s.id),t[10]=s.id,t[11]=n,t[12]=c,t[13]=m):(c=t[12],m=t[13]);let u;t[14]!==s||t[15]!==c||t[16]!==m?(u=o.jsx(ct,{release:s,onCtaClick:c,onLearnMoreClick:m}),t[14]=s,t[15]=c,t[16]=m,t[17]=u):u=t[17];let p;return t[18]!==d||t[19]!==u?(p=o.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,u]}),t[18]=d,t[19]=u,t[20]=p):p=t[20],p}const be=typeof navigator<"u"&&/Mac|iPhone|iPad/.test(navigator.platform),M=be?"⌘":"Ctrl",$={keyboardShortcuts:{keys:[M,"K"],description:"Keyboard shortcuts"},focusChatInput:{keys:[M,"L"],description:"Focus chat input"},saveAndFormat:{keys:[M,"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:[M,"Enter"],description:"Apply filter"},togglePlanMode:{keys:[M,"Shift","L"],description:"Toggle plan mode"},newTask:{keys:["Shift",M,"S"],description:"New task"},toggleDaemon:{keys:[M,"D"],description:"Toggle daemon logs"}},wt=[{label:"General",shortcuts:[$.keyboardShortcuts,$.newTask,$.toggleDaemon]},{label:"Editor",shortcuts:[$.saveAndFormat]},{label:"Chat",shortcuts:[$.focusChatInput,$.togglePlanMode,$.sendMessage,$.newLine]},{label:"Questions",shortcuts:[$.selectOption]},{label:"Monitoring",shortcuts:[$.applyFilter]}];function St(t){return be?t.metaKey:t.ctrlKey}function jt(t){const e=k.c(5),{open:n,onOpenChange:s}=t;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=o.jsx(Re,{children:o.jsx(Ke,{children:"Keyboard Shortcuts"})}),e[0]=r):r=e[0];let a;e[1]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsxs(De,{className:"sm:max-w-md",children:[r,o.jsx("div",{className:"flex flex-col gap-4",children:wt.map(vt)})]}),e[1]=a):a=e[1];let i;return e[2]!==s||e[3]!==n?(i=o.jsx(qe,{open:n,onOpenChange:s,children:a}),e[2]=s,e[3]=n,e[4]=i):i=e[4],i}function vt(t){return o.jsxs("div",{children:[o.jsx("h3",{className:"text-xs font-medium text-muted-foreground uppercase tracking-wide mb-2",children:t.label}),o.jsx("div",{className:"flex flex-col gap-1.5",children:t.shortcuts.map(kt)})]},t.label)}function kt(t){return o.jsxs("div",{className:"flex items-center justify-between py-1",children:[o.jsx("span",{className:"text-sm",children:t.description}),o.jsx("div",{className:"flex items-center gap-1",children:t.keys.map(Nt)})]},t.description)}function Nt(t){return o.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)}function Ot({activeOrg:t}){return t&&(Se(t.id,{name:t.name??void 0,slug:t.slug??void 0}),je()),null}function _t(t,e,n){if(!n)return null;const s=He(t,e);return s?s.threads.get().find(a=>a.id===n)?.branch??null:null}function xe(t){return{queryKey:re.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 Yt(t){const e=k.c(10);let n;e[0]!==t?(n=xe(t),e[0]=t,e[1]=n):n=e[1];const s=oe(n);let r;e[2]!==s.data?.prompts?(r=s.data?.prompts??[],e[2]=s.data?.prompts,e[3]=r):r=e[3];let a;e[4]!==s.data?.tiles?(a=s.data?.tiles??[],e[4]=s.data?.tiles,e[5]=a):a=e[5];let i;return e[6]!==s.isLoading||e[7]!==r||e[8]!==a?(i={isLoading:s.isLoading,prompts:r,tiles:a},e[6]=s.isLoading,e[7]=r,e[8]=a,e[9]=i):i=e[9],i}function At(t){const e=k.c(17),{orgSlug:n,orgName:s,domain:r}=t;let a;e[0]!==n?(a=()=>{window.location.href=`/api/${encodeURIComponent(n)}/sso/authorize`},e[0]=n,e[1]=a):a=e[1];const i=a,l=Ct;let d;e[2]===Symbol.for("react.memo_cache_sentinel")?(d=o.jsx("div",{className:"bg-primary/10 p-3 rounded-full",children:o.jsx(me,{className:"h-6 w-6 text-primary"})}),e[2]=d):d=e[2];let c;e[3]===Symbol.for("react.memo_cache_sentinel")?(c=o.jsx("h3",{className:"text-lg font-medium",children:"SSO Authentication Required"}),e[3]=c):c=e[3];let m;e[4]!==r||e[5]!==s?(m=s?o.jsxs(o.Fragment,{children:[o.jsx("strong",{children:s})," requires SSO authentication",r?` via ${r}`:"","."]}):"This organization requires SSO authentication to access.",e[4]=r,e[5]=s,e[6]=m):m=e[6];let u;e[7]!==m?(u=o.jsxs("div",{className:"space-y-2",children:[c,o.jsx("p",{className:"text-sm text-muted-foreground",children:m})]}),e[7]=m,e[8]=u):u=e[8];let p;e[9]!==i?(p=o.jsx(z,{onClick:i,children:"Sign in with SSO"}),e[9]=i,e[10]=p):p=e[10];let g;e[11]===Symbol.for("react.memo_cache_sentinel")?(g=o.jsx(z,{variant:"ghost",onClick:l,children:"Go back"}),e[11]=g):g=e[11];let y;e[12]!==p?(y=o.jsxs("div",{className:"flex flex-col gap-2 w-full",children:[p,g]}),e[12]=p,e[13]=y):y=e[13];let f;return e[14]!==u||e[15]!==y?(f=o.jsxs(X,{children:[d,u,y]}),e[14]=u,e[15]=y,e[16]=f):f=e[16],f}function Ct(){window.location.href="/"}function Et(t){const e=k.c(8),{org:n,children:s}=t,a=Ve(n.id,n.slug)?.enabled_plugins??null;let i;e[0]!==n.id||e[1]!==n.name||e[2]!==a?(i={id:n.id,organizationId:n.id,slug:"_org",name:n.name,enabledPlugins:a,ui:null},e[0]=n.id,e[1]=n.name,e[2]=a,e[3]=i):i=e[3];const l=i;let d;return e[4]!==s||e[5]!==n||e[6]!==l?(d=o.jsx($e,{org:n,project:l,children:s}),e[4]=s,e[5]=n,e[6]=l,e[7]=d):d=e[7],d}function Tt(){const t=ve(),e=Ge(),{org:n,locator:s}=ke(),r=he({strict:!1}),a=Ne({strict:!1}),i=r.org??"",l=r.taskId??"",d=(f,h,b=!0)=>t({to:"/$org/$taskId",params:{org:i,taskId:f},search:h,replace:b}),c=(f,h=!0)=>d(l,f,h),m=f=>c(h=>({...h,chat:f?1:0})),u=(f,h,b)=>d(f,S=>{const x={chat:1};h?x.virtualmcpid=h:S.virtualmcpid&&(x.virtualmcpid=S.virtualmcpid);const v=S.main;return v&&typeof v=="string"&&!Be(v)&&(x.main=v),b?.autosend&&(x.autosend=We),x},!1);return{setChatOpen:m,setTaskId:u,createNewTask:async f=>{const h=crypto.randomUUID(),b=f??a.virtualmcpid??Je(n.id).id,x=b===a.virtualmcpid?_t(n.slug,s,l):null;try{await e?.create({id:h,virtual_mcp_id:b,...x?{branch:x}:{}})}catch{}u(h,b)},openTab:f=>d(l||crypto.randomUUID(),h=>({...h,main:f})),toggleMain:()=>c(f=>{if(f.main!==void 0&&f.main!=="0")return{...f,main:"0"};const b={...f};return delete b.main,b})}}function $t(){const t=k.c(51);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e={from:"/shell/$org",shouldThrow:!1},t[0]=e):e=t[0];const s=Oe(e)?.params.org;let r;t[1]===Symbol.for("react.memo_cache_sentinel")?(r={strict:!1},t[1]=r):r=t[1];const{taskId:a}=he(r),[i,l]=Q.useState(!1),d=s??"";let c;t[2]!==d?(c=xe(d),t[2]=d,t[3]=c):c=t[3];const m=!!s&&!a;let u;t[4]!==c||t[5]!==m?(u={...c,enabled:m},t[4]=c,t[5]=m,t[6]=u):u=t[6],oe(u);const{data:p}=Y.useSession(),g=p?.user?.id;let y;t[7]!==s||t[8]!==g?(y=s&&g?_e(g,s):null,t[7]=s,t[8]=g,t[9]=y):y=t[9];const f=y;let h,b;t[10]===Symbol.for("react.memo_cache_sentinel")?(h=()=>{const j=T=>{St(T)&&T.code==="KeyK"&&(T.preventDefault(),l(!0))};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},b=[],t[10]=h,t[11]=b):(h=t[10],b=t[11]),Q.useEffect(h,b);let S;t[12]!==s?(S=re.activeOrganization(s),t[12]=s,t[13]=S):S=t[13];let x;t[14]!==s||t[15]!==g?(x=async()=>{if(!s)return null;performance.mark("mesh:active-org-fetch:start");const{data:j}=await Y.organization.getFullOrganization({query:{organizationSlug:s}}).finally(zt),T=le(j);return j&&!T&&localStorage.setItem(U.lastOrgSlug(),s),g&&j&&Ce(g,s,j),j},t[14]=s,t[15]=g,t[16]=x):x=t[16];const v=f?f.data:void 0,_=f?.updatedAt;let N;t[17]!==x||t[18]!==v||t[19]!==_||t[20]!==S?(N={queryKey:S,queryFn:x,initialData:v,initialDataUpdatedAt:_,gcTime:1/0,refetchOnWindowFocus:!1},t[17]=x,t[18]=v,t[19]=_,t[20]=S,t[21]=N):N=t[21];const{data:w}=fe(N),A=w?.id,C=w?.slug,{data:E}=Xe(A,C),O=A??"",ee=C??"";let L;t[22]!==O||t[23]!==ee?(L=Qe({connectionId:Ye,orgId:O,orgSlug:ee}),t[22]=O,t[23]=ee,t[24]=L):L=t[24];const te=!!A&&!!C;let H;if(t[25]!==L||t[26]!==te?(H={...L,enabled:te},t[25]=L,t[26]=te,t[27]=H):H=t[27],oe(H),!w){let j;t[28]===Symbol.for("react.memo_cache_sentinel")?(j=o.jsx(Ee,{}),t[28]=j):j=t[28];let T;return t[29]!==s?(T=o.jsx(Q.Suspense,{fallback:j,children:o.jsx(lt,{orgSlug:s})}),t[29]=s,t[30]=T):T=t[30],T}if(le(w)){localStorage.getItem(U.lastOrgSlug())===s&&localStorage.removeItem(U.lastOrgSlug());let j;return t[31]!==w.name?(j=o.jsx(Ae,{orgName:w.name}),t[31]=w.name,t[32]=j):j=t[32],j}if(E?.ssoRequired&&!E.authenticated){let j;return t[33]!==w.id||t[34]!==w.name||t[35]!==w.slug||t[36]!==E.domain?(j=o.jsx(At,{orgId:w.id,orgSlug:w.slug,orgName:w.name,domain:E.domain}),t[33]=w.id,t[34]=w.name,t[35]=w.slug,t[36]=E.domain,t[37]=j):j=t[37],j}const ne=w.logo??null;let P;t[38]!==w||t[39]!==ne?(P={...w,logo:ne},t[38]=w,t[39]=ne,t[40]=P):P=t[40];let D;t[41]!==w?(D=o.jsx(Ot,{activeOrg:w}),t[41]=w,t[42]=D):D=t[42];let G,B;t[43]===Symbol.for("react.memo_cache_sentinel")?(G=o.jsx(Te,{}),B=o.jsx(xt,{}),t[43]=G,t[44]=B):(G=t[43],B=t[44]);let R;t[45]!==i?(R=o.jsx(jt,{open:i,onOpenChange:l}),t[45]=i,t[46]=R):R=t[46];let W;return t[47]!==P||t[48]!==D||t[49]!==R?(W=o.jsxs(Et,{org:P,children:[D,G,B,R]}),t[47]=P,t[48]=D,t[49]=R,t[50]=W):W=t[50],W}function zt(){performance.mark("mesh:active-org-fetch:end"),performance.measure("mesh:active-org-fetch","mesh:active-org-fetch:start","mesh:active-org-fetch:end")}function Mt(){const t=k.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=o.jsx(Ue,{children:o.jsx($t,{})}),t[0]=e):e=t[0],e}const Vt=Object.freeze(Object.defineProperty({__proto__:null,default:Mt,usePanelActions:Tt},Symbol.toStringTag,{value:"Module"}));export{$ as K,pe as R,ht as a,ct as b,Yt as c,xe as h,St as i,_t as r,Vt as s,Tt as u};