decocms 4.82.20 → 4.83.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 (264) hide show
  1. package/dist/client/assets/{AlertCircle-Bx5VPnCL.js → AlertCircle-DPEsW7A8.js} +1 -1
  2. package/dist/client/assets/{AreaChart-DKXgsttk.js → AreaChart-BDBkVxFA.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-CRGMcwjN.js → ArrowUp-B_VVATf8.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-XjbUsL6J.js → ArrowUpRight-DPt871Ex.js} +1 -1
  5. package/dist/client/assets/{CheckCircle-DvTvBvKr.js → CheckCircle-Bhjgrg4k.js} +1 -1
  6. package/dist/client/assets/{ChevronDown--710wNet.js → ChevronDown-ClEtq8UA.js} +1 -1
  7. package/dist/client/assets/{ChevronRight-CyX_OwBu.js → ChevronRight-B9DmLAKh.js} +1 -1
  8. package/dist/client/assets/{ChevronUp-BVwUhVX7.js → ChevronUp-Y_qcNB-R.js} +1 -1
  9. package/dist/client/assets/{Copy01-BlUuudlp.js → Copy01-tOHQDVdb.js} +1 -1
  10. package/dist/client/assets/{DotsVertical-BHuPkmo3.js → DotsVertical-CmHvBgAo.js} +1 -1
  11. package/dist/client/assets/{Eye-HqCyXTaB.js → Eye-DkqzK9v4.js} +1 -1
  12. package/dist/client/assets/{FilterLines-CfibCuLd.js → FilterLines-Da90Z39y.js} +1 -1
  13. package/dist/client/assets/{Globe01-CxXiD__5.js → Globe01-BptLpR6D.js} +1 -1
  14. package/dist/client/assets/{Globe04-CiK6pryU.js → Globe04-5erCJGew.js} +1 -1
  15. package/dist/client/assets/{HardDrive-DljyyjQe.js → HardDrive-BWMqpfxS.js} +1 -1
  16. package/dist/client/assets/{Image01-CCmFaLM6.js → Image01-XM4bpaLw.js} +1 -1
  17. package/dist/client/assets/{Key01-CV8c3aey.js → Key01-ByxRAii_.js} +1 -1
  18. package/dist/client/assets/{LayoutLeft-D8A_vRpx.js → LayoutLeft-B9Jd6ymK.js} +1 -1
  19. package/dist/client/assets/{LinkExternal01-Blg4CFhG.js → LinkExternal01-CKVW-eEM.js} +1 -1
  20. package/dist/client/assets/{Monitor01-G0XI4AyE.js → Monitor01-ClZ2KmM9.js} +1 -1
  21. package/dist/client/assets/{Package-BpnbT20S.js → Package-CDoMKJ25.js} +1 -1
  22. package/dist/client/assets/{Palette-CucSl-Tp.js → Palette-Dj74Mlc6.js} +1 -1
  23. package/dist/client/assets/{Play-J4lAOl0L.js → Play-D5sDqr8I.js} +1 -1
  24. package/dist/client/assets/{Plus-Be2ZDEMF.js → Plus-JOcsz2OW.js} +1 -1
  25. package/dist/client/assets/{SearchLg-hF3HTPE5.js → SearchLg-BHMKxNfO.js} +1 -1
  26. package/dist/client/assets/{SearchMd-BvJfdUAe.js → SearchMd-C-NJ_45S.js} +1 -1
  27. package/dist/client/assets/{Settings02-BND3ad-_.js → Settings02-CVFCJqEn.js} +1 -1
  28. package/dist/client/assets/{Shield01-CesuQ_f6.js → Shield01-Bj6HGuxh.js} +1 -1
  29. package/dist/client/assets/{Star01-B13g--Yk.js → Star01-QG8pK1yw.js} +1 -1
  30. package/dist/client/assets/{Stars01-DMCvEOuj.js → Stars01-DqPZujie.js} +1 -1
  31. package/dist/client/assets/{Stars02-Bf5s6jtI.js → Stars02-D1eOi134.js} +1 -1
  32. package/dist/client/assets/{Sun-D4wn6C4e.js → Sun-DHI7Rs1S.js} +1 -1
  33. package/dist/client/assets/{SwitchHorizontal01-COeWFMnn.js → SwitchHorizontal01-D8ShLQwH.js} +1 -1
  34. package/dist/client/assets/{Tool01-bTVguty-.js → Tool01-C6ssLf07.js} +1 -1
  35. package/dist/client/assets/{Tool02-9uhchTyk.js → Tool02-BHHNM_g4.js} +1 -1
  36. package/dist/client/assets/{Trash01-Dv6dfSGH.js → Trash01-BtophoGC.js} +1 -1
  37. package/dist/client/assets/{TrendUp01-C-A7bTAN.js → TrendUp01-WOe5Y0pM.js} +1 -1
  38. package/dist/client/assets/{Upload01-BpEWpOj6.js → Upload01-CXhKVCP8.js} +1 -1
  39. package/dist/client/assets/{User01-DWXBU7_-.js → User01-uwH1s6Qn.js} +1 -1
  40. package/dist/client/assets/{Users01-DAw96n2a.js → Users01-suVU8oKl.js} +1 -1
  41. package/dist/client/assets/{Users03-2_7vN278.js → Users03-Zrh5Q_ci.js} +1 -1
  42. package/dist/client/assets/{X-BsyIQyXA.js → X-BolYo4iB.js} +1 -1
  43. package/dist/client/assets/{XCircle-CkxSUHFg.js → XCircle-CnJ70X3w.js} +1 -1
  44. package/dist/client/assets/{XClose-CUMcIZJo.js → XClose-BdaQO-2_.js} +1 -1
  45. package/dist/client/assets/{Zap-NvsmBFeg.js → Zap-BzNhtsnx.js} +1 -1
  46. package/dist/client/assets/{ZapSquare-Ccv-CNqp.js → ZapSquare-DMvgJwuD.js} +1 -1
  47. package/dist/client/assets/{ZoomOut-DIgycBu9.js → ZoomOut-B5XPtpBa.js} +1 -1
  48. package/dist/client/assets/{access-gate-BRzOXph6.js → access-gate-CjWAQSdR.js} +1 -1
  49. package/dist/client/assets/{add-section-modal-BuZMOK1d.js → add-section-modal-CyW16nLc.js} +1 -1
  50. package/dist/client/assets/{agent-icon-CQWu7X4M.js → agent-icon-BGgFt2fk.js} +1 -1
  51. package/dist/client/assets/agents-list-MwwVi6Ba.js +1 -0
  52. package/dist/client/assets/ai-providers-DAP6QknZ.js +1 -0
  53. package/dist/client/assets/{alert-CN8O4eEL.js → alert-Beqn0Fvg.js} +1 -1
  54. package/dist/client/assets/{alert-dialog-B6UQptWc.js → alert-dialog-CwKyb2j-.js} +1 -1
  55. package/dist/client/assets/app-editor-DseSILWA.js +1 -0
  56. package/dist/client/assets/{auth-CL1EKZwd.js → auth-D4bTHSVX.js} +1 -1
  57. package/dist/client/assets/{auth-catchall-DsnXmu1s.js → auth-catchall-BKLc7QKI.js} +1 -1
  58. package/dist/client/assets/{auth-entry-CHD6OsmF.js → auth-entry-1PWVON9e.js} +1 -1
  59. package/dist/client/assets/{auth-split-layout-C5g7KSYo.js → auth-split-layout-B6cSVZVN.js} +1 -1
  60. package/dist/client/assets/{authenticate-and-persist-oauth-DsuAbKam.js → authenticate-and-persist-oauth-Bt8Gm2rH.js} +1 -1
  61. package/dist/client/assets/{automation-list-row-9QEecu1P.js → automation-list-row-P3Wfaud1.js} +1 -1
  62. package/dist/client/assets/{automation-runs-CHGY7bEN.js → automation-runs-0Gp5Pl3p.js} +4 -4
  63. package/dist/client/assets/automations-B1Pch092.js +1 -0
  64. package/dist/client/assets/{autosend-BR42-er8.js → autosend-kl7RNqnt.js} +1 -1
  65. package/dist/client/assets/{avatar-D4ZURmpF.js → avatar-BxCDP7Ot.js} +1 -1
  66. package/dist/client/assets/{badge-BaCv5hEo.js → badge-CJKB36w7.js} +1 -1
  67. package/dist/client/assets/{block-document-CpVTeUMx.js → block-document-BNPa3FEr.js} +1 -1
  68. package/dist/client/assets/{brand-context-BDAmWJRA.js → brand-context-D3Rlfh4r.js} +1 -1
  69. package/dist/client/assets/{buckets-CybA-B50.js → buckets-eqtPNxJ7.js} +1 -1
  70. package/dist/client/assets/{bulk-category-panel-DX-Ab1He.js → bulk-category-panel-CzrR4JyW.js} +1 -1
  71. package/dist/client/assets/{calendar-BcT06D8w.js → calendar-DeTvDsBF.js} +1 -1
  72. package/dist/client/assets/{capability-load-error-BmygI5Wl.js → capability-load-error-DB_oh7IY.js} +1 -1
  73. package/dist/client/assets/{card-UiTrwBHx.js → card-9tKE7GXF.js} +1 -1
  74. package/dist/client/assets/category-editor-BQbsXApg.js +1 -0
  75. package/dist/client/assets/{chat-context-C2HnQcJb.js → chat-context-CwNi3A6G.js} +6 -6
  76. package/dist/client/assets/{checkbox-DypyLGWd.js → checkbox-Diqx1FoE.js} +1 -1
  77. package/dist/client/assets/{cli-auth-success-Biu-3dRM.js → cli-auth-success-DvYAFC0B.js} +1 -1
  78. package/dist/client/assets/collection-detail-Cv0k2_GT.js +1 -0
  79. package/dist/client/assets/{collection-display-button-DR8_laa0.js → collection-display-button-hHnJ4_g2.js} +1 -1
  80. package/dist/client/assets/{collection-search-oVrfvvPK.js → collection-search-kUG_oKbb.js} +1 -1
  81. package/dist/client/assets/{collection-table-wrapper-BaJEOGx7.js → collection-table-wrapper-B9yKUfMg.js} +1 -1
  82. package/dist/client/assets/{collection-tabs-BzGvAa7-.js → collection-tabs-BTDZrBXn.js} +1 -1
  83. package/dist/client/assets/{command-QdNoVtsu.js → command-N0I3WfMj.js} +1 -1
  84. package/dist/client/assets/commerce-onboarding-BySa1y-W.js +1 -0
  85. package/dist/client/assets/{companions-core-I50RkMs1.js → companions-core-CXFBjxtL.js} +1 -1
  86. package/dist/client/assets/{connect-desktop-dialog-B1psOfPz.js → connect-desktop-dialog-ChBtls8K.js} +1 -1
  87. package/dist/client/assets/connection-card-D0_c6gO9.js +1 -0
  88. package/dist/client/assets/connection-detail-BE-m8wny.js +1 -0
  89. package/dist/client/assets/{connection-form-helpers-CkmqwL7L.js → connection-form-helpers-BYaB09EC.js} +1 -1
  90. package/dist/client/assets/connections-BFAOtXPe.js +1 -0
  91. package/dist/client/assets/{decopilot-sse-pool-Ch1Qumbm.js → decopilot-sse-pool-BLGL0LsS.js} +1 -1
  92. package/dist/client/assets/{dialog-qW-RW6Eb.js → dialog-BxyVzjQ3.js} +1 -1
  93. package/dist/client/assets/{domain-settings-B8ldFr2r.js → domain-settings-BK0JpUz3.js} +1 -1
  94. package/dist/client/assets/{drawer-Ci9lekJ-.js → drawer-CQKQzuhR.js} +1 -1
  95. package/dist/client/assets/{dropdown-menu-M4Iyqsr4.js → dropdown-menu-BScjo8--.js} +1 -1
  96. package/dist/client/assets/{empty-state-BAAsV00B.js → empty-state-es2nRb_j.js} +1 -1
  97. package/dist/client/assets/extract-connection-data-C2_0wEKz.js +1 -0
  98. package/dist/client/assets/file-explorer-ipUahnFG.js +2 -0
  99. package/dist/client/assets/{file-type-icon-Cb5F2Kv5.js → file-type-icon-L2ARwYHI.js} +1 -1
  100. package/dist/client/assets/{files-BuMJgWiq.js → files-CEyq4COK.js} +1 -1
  101. package/dist/client/assets/{form-CxHAlAHx.js → form-BBrmDTao.js} +1 -1
  102. package/dist/client/assets/general-mpELEztz.js +1 -0
  103. package/dist/client/assets/github-repo-picker-ClgZW6LI.js +1 -0
  104. package/dist/client/assets/{hooks-CfbEEqda.js → hooks-faeU6CoI.js} +4 -4
  105. package/dist/client/assets/{index-CLAxS6F3.js → index-8daa3oHu.js} +1 -1
  106. package/dist/client/assets/index-B7DxR0_h.js +1 -0
  107. package/dist/client/assets/{index-DakOweBw.js → index-BXoUOnNS.js} +1 -1
  108. package/dist/client/assets/{index-BCg0EIRK.js → index-CesmbZpg.js} +28 -28
  109. package/dist/client/assets/{index-DMziGwwO.js → index-CxWNtx9x.js} +3 -3
  110. package/dist/client/assets/index-D1EuIdjV.js +1 -0
  111. package/dist/client/assets/{index-w3F47_RR.js → index-D521UaSg.js} +1 -1
  112. package/dist/client/assets/{index-7BezNFoz.js → index-DI-ckLEU.js} +2 -2
  113. package/dist/client/assets/{index-b8bN8MBO.js → index-DIB09EG-.js} +1 -1
  114. package/dist/client/assets/{index-B9PofSU9.js → index-DJmEqij6.js} +1 -1
  115. package/dist/client/assets/{index-o6uO1QaJ.js → index-DNRNEGzF.js} +1 -1
  116. package/dist/client/assets/{index-B5wBAEvg.js → index-DU67rOKJ.js} +1 -1
  117. package/dist/client/assets/index-DxY7xoBM.js +2 -0
  118. package/dist/client/assets/{index-C3TuMzMV.js → index-HF6wstce.js} +2 -2
  119. package/dist/client/assets/{index-redirect-DvL5DDro.js → index-redirect-B1CSBKQb.js} +1 -1
  120. package/dist/client/assets/{input-B9mAD-FD.js → input-C9EhK1Lu.js} +1 -1
  121. package/dist/client/assets/{integration-icon-BQSFPqY7.js → integration-icon-Bz3MOu79.js} +1 -1
  122. package/dist/client/assets/{invite-member-dialog-De8-xT6a.js → invite-member-dialog-B4o_u0Yn.js} +1 -1
  123. package/dist/client/assets/{label-Dw5usZ3s.js → label-JPT2W8Pg.js} +1 -1
  124. package/dist/client/assets/{layout-QddrRa8I.js → layout-DDwESlPa.js} +1 -1
  125. package/dist/client/assets/{login-BaaqbzaD.js → login-CyRsInne.js} +1 -1
  126. package/dist/client/assets/{mcp-oauth-BBC8qIQI.js → mcp-oauth-DUn-Fuzj.js} +1 -1
  127. package/dist/client/assets/{members-DgmyND8B.js → members-C17VYqOT.js} +1 -1
  128. package/dist/client/assets/{monaco-editor-BlxKl3DU.js → monaco-editor-DYNno9ow.js} +1 -1
  129. package/dist/client/assets/{monitoring-stats-row-p4nUKL95.js → monitoring-stats-row-B1B3SvpD.js} +1 -1
  130. package/dist/client/assets/{multi-select-CGZlQjFP.js → multi-select-CTnDksvV.js} +1 -1
  131. package/dist/client/assets/{oauth-callback-CUAMF4ay.js → oauth-callback-C2RnV8Ra.js} +1 -1
  132. package/dist/client/assets/{oauth-callback-ai-provider-CHFT6E6u.js → oauth-callback-ai-provider-qznLDLZZ.js} +1 -1
  133. package/dist/client/assets/{onboarding-CgK1Huxt.js → onboarding-DUVBk0XQ.js} +1 -1
  134. package/dist/client/assets/{org-install-CFlTSXa_.js → org-install-DQ2uKUYH.js} +1 -1
  135. package/dist/client/assets/{org-layout-C5P2KBoH.js → org-layout-Bln5VKHy.js} +1 -1
  136. package/dist/client/assets/{organization-choice-SCcE-4Ds.js → organization-choice-BzUmyMzq.js} +1 -1
  137. package/dist/client/assets/{orgs-MpAFLZ66.js → orgs-CQnP3RnF.js} +1 -1
  138. package/dist/client/assets/{page-seo-form-CSZ7Y3ej.js → page-seo-form-BtLUHPsW.js} +1 -1
  139. package/dist/client/assets/page-seo-sheet-DG0rFMaK.js +1 -0
  140. package/dist/client/assets/{popover-CrO_Pfyc.js → popover-BPf7qyUL.js} +1 -1
  141. package/dist/client/assets/post-editor-BLwE05et.js +1 -0
  142. package/dist/client/assets/{primitives-tp-ZjAPF.js → primitives-DdZDjvVV.js} +1 -1
  143. package/dist/client/assets/{profile-C8cnGeHg.js → profile-8a3_1Shi.js} +1 -1
  144. package/dist/client/assets/project-app-view-C5gaZj3T.js +1 -0
  145. package/dist/client/assets/record-editor-DvEIA6tV.js +1 -0
  146. package/dist/client/assets/redirect-editor-BplQQqRM.js +1 -0
  147. package/dist/client/assets/registry-Bq_80-6l.js +2 -0
  148. package/dist/client/assets/{registry-layout-CIlh541C.js → registry-layout-DTk5e6HH.js} +2 -2
  149. package/dist/client/assets/{reports-BovH0q0k.js → reports-qdBRQ4pV.js} +1 -1
  150. package/dist/client/assets/{require-capability-BFPA48Ea.js → require-capability-Bspi0oGk.js} +1 -1
  151. package/dist/client/assets/{required-auth-layout-CAuTE_Ha.js → required-auth-layout-0AnIaBaR.js} +1 -1
  152. package/dist/client/assets/{reset-password-DVLvTotL.js → reset-password-D0qvkNvH.js} +1 -1
  153. package/dist/client/assets/roles-BwrRDzH5.js +1 -0
  154. package/dist/client/assets/{search-input-BAsli81d.js → search-input-Bdl49Lyd.js} +1 -1
  155. package/dist/client/assets/{secrets-BrR011u-.js → secrets-BGFKYnKe.js} +1 -1
  156. package/dist/client/assets/{sections-editor-hWe8pJps.js → sections-editor-BKlLtB36.js} +2 -2
  157. package/dist/client/assets/{select-DY2h8ddP.js → select-BjS6pi0R.js} +1 -1
  158. package/dist/client/assets/{select-model-DXVz8VSi.js → select-model-Bj5d_bo2.js} +1 -1
  159. package/dist/client/assets/self-tool-result-CzsRIvtg.js +1 -0
  160. package/dist/client/assets/seo-editor-CMScpL2i.js +1 -0
  161. package/dist/client/assets/{settings-layout-DQoYYzwG.js → settings-layout-Cbmu_dvI.js} +1 -1
  162. package/dist/client/assets/{settings-section-ATW3P6O6.js → settings-section-C5ntTZ3s.js} +1 -1
  163. package/dist/client/assets/{shell-controls-BOk0i4_B.js → shell-controls-CZu8nt18.js} +1 -1
  164. package/dist/client/assets/shell-layout-ElsOHGco.js +1 -0
  165. package/dist/client/assets/{sidebar-Dn9hhb22.js → sidebar-Du3GhEXu.js} +1 -1
  166. package/dist/client/assets/{skeleton-CypjCzyH.js → skeleton-DYrRZj58.js} +1 -1
  167. package/dist/client/assets/{sso-DQrgyUQ5.js → sso-DwHclfbW.js} +1 -1
  168. package/dist/client/assets/store-D1pr97wp.js +1 -0
  169. package/dist/client/assets/store-registry-Q6zoLWY_.js +2 -0
  170. package/dist/client/assets/{studio-tools-D58JPByV.js → studio-tools-HHcBk3Yy.js} +1 -1
  171. package/dist/client/assets/{switch-BYYj1eu3.js → switch-Co9VnPF1.js} +1 -1
  172. package/dist/client/assets/{table-yhILZeXr.js → table-7Pa2oc8U.js} +1 -1
  173. package/dist/client/assets/{tabs-CMvxJGz-.js → tabs-DIYXMj-h.js} +1 -1
  174. package/dist/client/assets/{textarea-DkhX0GHx.js → textarea-azsnX4mp.js} +1 -1
  175. package/dist/client/assets/{toggle-group-DycM7-N_.js → toggle-group-_FACvaFN.js} +1 -1
  176. package/dist/client/assets/{toolbar-BkEAwLUI.js → toolbar-WAIhuPvK.js} +1 -1
  177. package/dist/client/assets/{toolbar-icon-button-C1nzkZ0O.js → toolbar-icon-button-CFa583yL.js} +1 -1
  178. package/dist/client/assets/{tooltip-BqKyJXAE.js → tooltip-CTQ3jqyw.js} +1 -1
  179. package/dist/client/assets/{use-ai-providers-5Uex2oSr.js → use-ai-providers-C3gvqXwZ.js} +1 -1
  180. package/dist/client/assets/use-automations-CV0g4TCD.js +1 -0
  181. package/dist/client/assets/{use-autosave-Bl3c8i03.js → use-autosave-BUYSmKJl.js} +1 -1
  182. package/dist/client/assets/{use-capability-DEr7wDGX.js → use-capability-DzMeZG_B.js} +1 -1
  183. package/dist/client/assets/{use-clock-tick-CSY_8HaC.js → use-clock-tick-4n-sf8En.js} +1 -1
  184. package/dist/client/assets/{use-collections-DUypxirp.js → use-collections-CR5m--3v.js} +1 -1
  185. package/dist/client/assets/use-connection-Bja1yNlO.js +1 -0
  186. package/dist/client/assets/{use-copy-D3Kq5ZXg.js → use-copy-BV3KPbyw.js} +1 -1
  187. package/dist/client/assets/{use-create-virtual-mcp-wWKEU4qb.js → use-create-virtual-mcp-Uhf3saYW.js} +1 -1
  188. package/dist/client/assets/{use-debounced-autosave-JY3wOk_Q.js → use-debounced-autosave-CrTBH0r8.js} +1 -1
  189. package/dist/client/assets/{use-debounced-value-bL-Oya1Z.js → use-debounced-value-DiZ6agyj.js} +1 -1
  190. package/dist/client/assets/use-deco-credits-CrWRWg5d.js +1 -0
  191. package/dist/client/assets/{use-decopilot-events-B1D2InIQ.js → use-decopilot-events-By89abVN.js} +1 -1
  192. package/dist/client/assets/{use-delete-connection-D_oVL8p-.js → use-delete-connection-rmpivgwt.js} +1 -1
  193. package/dist/client/assets/{use-deployment-admin-Dklq6Q3m.js → use-deployment-admin-Dx9ZkF6I.js} +1 -1
  194. package/dist/client/assets/{use-file-configs-COjddq6T.js → use-file-configs-CKVr-c7q.js} +1 -1
  195. package/dist/client/assets/{use-infinite-scroll-JNWuT_ZF.js → use-infinite-scroll-B1UJmYzB.js} +1 -1
  196. package/dist/client/assets/{use-join-requests-Dn_loBCd.js → use-join-requests-C6fMCeHB.js} +1 -1
  197. package/dist/client/assets/{use-mcp-auth-status-CYu-P7ZL.js → use-mcp-auth-status-wzWeSyhc.js} +1 -1
  198. package/dist/client/assets/use-mcp-client-CodYj4lk.js +10 -0
  199. package/dist/client/assets/{use-mcp-tools-uJVRRujf.js → use-mcp-tools-DhezZmhh.js} +1 -1
  200. package/dist/client/assets/{use-members-Cf24-Ckt.js → use-members-C5exRENp.js} +1 -1
  201. package/dist/client/assets/{use-mobile-BLQxo0Qz.js → use-mobile-DmC5AwHK.js} +1 -1
  202. package/dist/client/assets/{use-navigate-to-agent-DX9RGu8W.js → use-navigate-to-agent-VNxYrStf.js} +1 -1
  203. package/dist/client/assets/{use-org-auth-client-DN10IV5X.js → use-org-auth-client-C-_6T-I_.js} +1 -1
  204. package/dist/client/assets/{use-org-sso-Bsdle9Ju.js → use-org-sso-D9Zrv9Ex.js} +1 -1
  205. package/dist/client/assets/{use-organization-roles-C1dmcd8L.js → use-organization-roles-kfhFanV-.js} +1 -1
  206. package/dist/client/assets/use-organization-settings-C02fN1Pg.js +1 -0
  207. package/dist/client/assets/use-registry-app-CntYFu2c.js +1 -0
  208. package/dist/client/assets/use-registry-connections-CSTpfPSI.js +1 -0
  209. package/dist/client/assets/{use-secrets-DuRhDEB-.js → use-secrets-59JvHtO0.js} +1 -1
  210. package/dist/client/assets/{use-status-sounds-CdM89JI2.js → use-status-sounds-CrVwkBda.js} +1 -1
  211. package/dist/client/assets/{use-view-mode-CPZ_1kNu.js → use-view-mode-Ba0ZEqUw.js} +1 -1
  212. package/dist/client/assets/use-virtual-mcp-Bs6Z3XqB.js +1 -0
  213. package/dist/client/assets/useInfiniteQuery-GqUtQwTk.js +1 -0
  214. package/dist/client/assets/{useRouterState-BYirp-2v.js → useRouterState-BStHehOf.js} +1 -1
  215. package/dist/client/assets/useSuspenseInfiniteQuery-oEtZEsYD.js +1 -0
  216. package/dist/client/assets/{users-Czfh_Ldy.js → users-DXYde7XY.js} +1 -1
  217. package/dist/client/assets/variant-calendar-BlhvVxku.js +1 -0
  218. package/dist/client/assets/{view-mode-toggle-D6NSNTM_.js → view-mode-toggle-Behabpts.js} +1 -1
  219. package/dist/client/index.html +1 -1
  220. package/dist/server/cli.js +420 -420
  221. package/dist/server/migrate.js +80 -80
  222. package/dist/server/server.js +321 -321
  223. package/package.json +1 -1
  224. package/dist/client/assets/agents-list-uZ6QsPyJ.js +0 -1
  225. package/dist/client/assets/ai-providers-akY5IvEe.js +0 -1
  226. package/dist/client/assets/app-editor-D-7rxszJ.js +0 -1
  227. package/dist/client/assets/automations-CrrXQk0x.js +0 -1
  228. package/dist/client/assets/category-editor-BZ1iPsZn.js +0 -1
  229. package/dist/client/assets/collection-detail-CqQNJY-x.js +0 -1
  230. package/dist/client/assets/commerce-onboarding-DXLELfyG.js +0 -1
  231. package/dist/client/assets/connection-card-DjnLwIM-.js +0 -1
  232. package/dist/client/assets/connection-detail-Dmj7NLds.js +0 -1
  233. package/dist/client/assets/connections-CrZX9eIp.js +0 -1
  234. package/dist/client/assets/constants-BHDe7bIw.js +0 -1
  235. package/dist/client/assets/extract-connection-data-C0qDfuTX.js +0 -1
  236. package/dist/client/assets/file-explorer-Dx__xcgv.js +0 -2
  237. package/dist/client/assets/general-BvZcEbfM.js +0 -1
  238. package/dist/client/assets/github-repo-picker-Dtn_JVi-.js +0 -1
  239. package/dist/client/assets/index-D276pkfu.js +0 -2
  240. package/dist/client/assets/index-QfSYYMYy.js +0 -1
  241. package/dist/client/assets/index-vj1UIDk9.js +0 -1
  242. package/dist/client/assets/page-seo-sheet-mSGuS0o0.js +0 -1
  243. package/dist/client/assets/post-editor-CjgnpX45.js +0 -1
  244. package/dist/client/assets/project-app-view-BJ0hEB-9.js +0 -1
  245. package/dist/client/assets/record-editor-DxzYImji.js +0 -1
  246. package/dist/client/assets/redirect-editor-CSQWyuD6.js +0 -1
  247. package/dist/client/assets/registry-CoEuzgUm.js +0 -2
  248. package/dist/client/assets/roles-NiJ2qmTH.js +0 -1
  249. package/dist/client/assets/self-tool-result-B9B3SGAU.js +0 -1
  250. package/dist/client/assets/seo-editor-BnkeQMbe.js +0 -1
  251. package/dist/client/assets/shell-layout-BUDxl1va.js +0 -1
  252. package/dist/client/assets/store-3uQXsGQf.js +0 -1
  253. package/dist/client/assets/store-registry-BnE356l7.js +0 -2
  254. package/dist/client/assets/use-automations-DVQ8vBHR.js +0 -1
  255. package/dist/client/assets/use-connection-ZAfjrw2n.js +0 -1
  256. package/dist/client/assets/use-deco-credits-zzllCk_4.js +0 -1
  257. package/dist/client/assets/use-mcp-client-BjL1G4QR.js +0 -10
  258. package/dist/client/assets/use-organization-settings-diMs3Q13.js +0 -1
  259. package/dist/client/assets/use-registry-app-BkvGxg0L.js +0 -1
  260. package/dist/client/assets/use-registry-connections-BEaKKIqL.js +0 -1
  261. package/dist/client/assets/use-virtual-mcp-BUq9lEJe.js +0 -1
  262. package/dist/client/assets/useInfiniteQuery-BxBR_av7.js +0 -1
  263. package/dist/client/assets/useSuspenseInfiniteQuery-Cdibyh2E.js +0 -1
  264. package/dist/client/assets/variant-calendar-BRbWSmVd.js +0 -1
@@ -1 +0,0 @@
1
- import{c as l,C as g,m as b,K as _,n as E,d as z,r as R}from"./index-DMziGwwO.js";import{W as D}from"./constants-BHDe7bIw.js";import{c as C,u as G}from"./studio-tools-D58JPByV.js";const I={organizationId:"",sidebar_items:null,enabled_plugins:null,registry_config:null,simple_mode:null,default_home_agents:null,reports_only:null,task_board_enabled:!1},O={tiers:{fast:null,smart:null,thinking:null,image:null,web_search:null,deep_research:null}};function N(t,e){return{queryKey:_.organizationSettings(e),queryFn:async()=>{try{return await C(t,"ORGANIZATION_SETTINGS_GET",{})}catch{return{...I,organizationId:e}}},staleTime:6e4}}function f(t){const e=l.c(6),{org:s}=g();let n;e[0]!==s.id||e[1]!==s.slug?(n=N(s.slug,s.id),e[0]=s.id,e[1]=s.slug,e[2]=n):n=e[2];const a=t;let r;return e[3]!==n||e[4]!==a?(r={...n,select:a},e[3]=n,e[4]=a,e[5]=r):r=e[5],b(r)}function j(t,e){const s=l.c(3);let n;s[0]!==t||s[1]!==e?(n=N(e,t),s[0]=t,s[1]=e,s[2]=n):n=s[2];const{data:a}=b(n);return a??null}function y(){const t=l.c(9),{org:e}=g(),s=G(),n=E();let a;t[0]!==e||t[1]!==s?(a=async o=>{const u=await s.call("ORGANIZATION_SETTINGS_UPDATE",{organizationId:e.id,...o});if(!u)throw new Error("ORGANIZATION_SETTINGS_UPDATE returned no payload");return u},t[0]=e,t[1]=s,t[2]=a):a=t[2];let r;t[3]!==e||t[4]!==n?(r=o=>{n.setQueryData(_.organizationSettings(e.id),u=>({...u??I,...o}))},t[3]=e,t[4]=n,t[5]=r):r=t[5];let i;return t[6]!==a||t[7]!==r?(i={mutationFn:a,onSuccess:r},t[6]=a,t[7]=r,t[8]=i):i=t[8],z(i)}function M(t){return t?.tiers?{tiers:{fast:t.tiers.fast??null,smart:t.tiers.smart??null,thinking:t.tiers.thinking??null,image:t.tiers.image??null,web_search:t.tiers.web_search??null,deep_research:t.tiers.deep_research??null}}:O}function F(){const{data:t}=f(Q);return t??O}function Q(t){return M(t.simple_mode)}function L(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({simple_mode:r},i),n=(r,i)=>e.mutateAsync({simple_mode:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function $(){const{data:t}=f(P);return t??!1}function P(t){return t.reports_only??!1}function v(){const t=$(),{data:e}=f(U);return t||(e??!1)}function U(t){return t.task_board_enabled??!1}function J(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({task_board_enabled:r},i),n=(r,i)=>e.mutateAsync({task_board_enabled:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function x(){const{data:t}=f(q);return t??null}function q(t){return t.registry_config}function V(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({registry_config:r},i),n=(r,i)=>e.mutateAsync({registry_config:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function X(){const{data:t}=f(K);return t??null}function K(t){return t.default_home_agents}function Y(){const t=l.c(7),e=y();let s,n;t[0]!==e?(s=(r,i)=>e.mutate({default_home_agents:r},i),n=(r,i)=>e.mutateAsync({default_home_agents:r},i),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function tt(){const t=l.c(14),{org:e}=g(),s=Y(),n=E();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=Promise.resolve(),t[0]=a):a=t[0];const r=R.useRef(a);let i;t[1]!==e.id?(i=_.organizationSettings(e.id),t[1]=e.id,t[2]=i):i=t[2];const o=i;let u;t[3]!==o||t[4]!==n?(u=()=>n.getQueryData(o)?.default_home_agents?.ids??[],t[3]=o,t[4]=n,t[5]=u):u=t[5];const p=u;let m;t[6]!==o||t[7]!==e.slug||t[8]!==n||t[9]!==s?(m=k=>{const T=r.current.then(async()=>{const A=n.getQueryData(o),S=k(A?.default_home_agents?.ids??[]);if(S!==null){n.setQueryData(o,c=>c&&{...c,default_home_agents:{ids:S}});try{await s.mutateAsync({ids:S}),await n.refetchQueries({queryKey:_.homeNextActions(e.slug),type:"active"})}catch(c){const w=c;throw n.setQueryData(o,A),w}}});return r.current=T.catch(B),T},t[6]=o,t[7]=e.slug,t[8]=n,t[9]=s,t[10]=m):m=t[10];const h=m;let d;return t[11]!==h||t[12]!==p?(d={currentIds:p,apply:h},t[11]=h,t[12]=p,t[13]=d):d=t[13],d}function B(){}function et(){const t=l.c(5),{org:e}=g(),s=x();let n;t[0]!==e.id?(n=D.REGISTRY(e.id),t[0]=e.id,t[1]=n):n=t[1];const a=n;let r;return t[2]!==a||t[3]!==s?(r=i=>{if(!s)return i===a;const o=s.registries[i];return o?o.enabled:i===a},t[2]=a,t[3]=s,t[4]=r):r=t[4],r}export{X as a,tt as b,v as c,et as d,j as e,J as f,F as g,L as h,x as i,V as j,$ as u};
@@ -1 +0,0 @@
1
- import{c as d,j as a,C as f}from"./index-DMziGwwO.js";import{u as g}from"./use-mcp-client-BjL1G4QR.js";import{W as C}from"./constants-BHDe7bIw.js";import{u as p}from"./use-mcp-tools-uJVRRujf.js";function P(n){const s=d.c(4),{size:e,className:t}=n;let o;s[0]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0016 8c0-4.42-3.58-8-8-8z"}),s[0]=o):o=s[0];let r;return s[1]!==t||s[2]!==e?(r=a.jsx("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true",className:t,children:o}),s[1]=t,s[2]=e,s[3]=r):r=s[3],r}function T(n,s){const e=d.c(12),{org:t}=f();let o;e[0]!==t.id?(o=C.REGISTRY(t.id),e[0]=t.id,e[1]=o):o=e[1];const r=o;let l;e[2]!==t.id||e[3]!==t.slug||e[4]!==r?(l={connectionId:r,orgId:t.id,orgSlug:t.slug},e[2]=t.id,e[3]=t.slug,e[4]=r,e[5]=l):l=e[5];const u=g(l);let i;e[6]!==n?(i={name:n},e[6]=n,e[7]=i):i=e[7];const m=s?.enabled??!0;let c;return e[8]!==u||e[9]!==i||e[10]!==m?(c={client:u,toolName:"COLLECTION_REGISTRY_APP_GET",toolArguments:i,enabled:m,staleTime:3e5,select:x},e[8]=u,e[9]=i,e[10]=m,e[11]=c):c=e[11],p(c)}function x(n){return n.structuredContent?.item??null}export{P as G,T as u};
@@ -1 +0,0 @@
1
- import{c as C,C as R}from"./index-DMziGwwO.js";import{u as p}from"./use-connection-ZAfjrw2n.js";import{W as a}from"./constants-BHDe7bIw.js";import{i as y}from"./use-organization-settings-diMs3Q13.js";function M(){const e=C.c(19),{org:s}=R(),o=y();let l;e[0]!==s.id?(l=a.REGISTRY(s.id),e[0]=s.id,e[1]=l):l=e[1];const d=l;let f;e[2]!==s.id?(f=a.COMMUNITY_REGISTRY(s.id),e[2]=s.id,e[3]=f):f=e[3];const g=f;let r;e[4]!==g||e[5]!==d?(r=[d,g],e[4]=g,e[5]=d,e[6]=r):r=e[6];let t;if(e[7]!==o||e[8]!==r){if(t=new Set(r),o?.registries){let i;e[10]!==o.registries?(i=Object.keys(o.registries),e[10]=o.registries,e[11]=i):i=e[11];for(const u of i)t.add(u)}e[7]=o,e[8]=r,e[9]=t}else t=e[9];const m=p();let n;e[12]!==m?(n=m??[],e[12]=m,e[13]=n):n=e[13];let c;if(e[14]!==t||e[15]!==n){let i;e[17]!==t?(i=u=>t.has(u.id),e[17]=t,e[18]=i):i=e[18],c=n.filter(i),e[14]=t,e[15]=n,e[16]=c}else c=e[16];return c}export{M as u};
@@ -1 +0,0 @@
1
- import{c as a,C as d,al as P,m as p}from"./index-DMziGwwO.js";import{b as L,a as S,u as V}from"./use-collections-DUypxirp.js";import{u as g}from"./use-mcp-client-BjL1G4QR.js";import{S as m}from"./constants-BHDe7bIw.js";function b(e){const t=a.c(5);let s;t[0]!==e?(s=e===void 0?{}:e,t[0]=e,t[1]=s):s=t[1];const i=s,{org:n}=d();let o;t[2]!==n.id||t[3]!==n.slug?(o={connectionId:m,orgId:n.id,orgSlug:n.slug},t[2]=n.id,t[3]=n.slug,t[4]=o):o=t[4];const l=g(o);return L(n.id,"VIRTUAL_MCP",l,i)}function R(e){const t=a.c(3),{org:s}=d();let i;t[0]!==s.id||t[1]!==s.slug?(i={connectionId:m,orgId:s.id,orgSlug:s.slug},t[0]=s.id,t[1]=s.slug,t[2]=i):i=t[2];const n=g(i);return V(s.id,"VIRTUAL_MCP",e??void 0,n)}function E(e){const t=a.c(15),{org:s}=d();let i;t[0]!==s.id||t[1]!==s.slug?(i={connectionId:m,orgId:s.id,orgSlug:s.slug},t[0]=s.id,t[1]=s.slug,t[2]=i):i=t[2];const n=g(i);let o,l,c;t[3]!==e||t[4]!==s.id?(o=[...e].sort(),c=p,l=P.virtualMcpLastUsed(s.id,o),t[3]=e,t[4]=s.id,t[5]=o,t[6]=l,t[7]=c):(o=t[5],l=t[6],c=t[7]);const C=o.length>0;let u;t[8]!==n||t[9]!==o?(u=async()=>{const M=(await n.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},f=new Map;for(const I of M.items)f.set(I.id,I);return f},t[8]=n,t[9]=o,t[10]=u):u=t[10];let r;return t[11]!==l||t[12]!==C||t[13]!==u?(r={queryKey:l,enabled:C,staleTime:3e4,queryFn:u},t[11]=l,t[12]=C,t[13]=u,t[14]=r):r=t[14],c(r)}function $(){const e=a.c(3),{org:t}=d();let s;e[0]!==t.id||e[1]!==t.slug?(s={connectionId:m,orgId:t.id,orgSlug:t.slug},e[0]=t.id,e[1]=t.slug,e[2]=s):s=e[2];const i=g(s);return S(t.id,"VIRTUAL_MCP",i)}export{R as a,$ as b,E as c,b as u};
@@ -1 +0,0 @@
1
- import{I as u}from"./use-infinite-scroll-JNWuT_ZF.js";import{dK as i}from"./index-DMziGwwO.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-JNWuT_ZF.js";import{dK as u,ab as n}from"./index-DMziGwwO.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
@@ -1 +0,0 @@
1
- import{c as V,r as U,j as o,l as J,B as Y}from"./index-DMziGwwO.js";import{w as ct,T as et,f as mt}from"./agent-icon-CQWu7X4M.js";import{i as pt}from"./ChevronRight-CyX_OwBu.js";import{L as dt}from"./label-Dw5usZ3s.js";import{m as nt}from"./automation-runs-CHGY7bEN.js";import{S as ft}from"./switch-BYYj1eu3.js";import{T as ut,b as ht,a as gt}from"./tooltip-BqKyJXAE.js";import{V as xt}from"./view-mode-toggle-D6NSNTM_.js";import"./AlertCircle-Bx5VPnCL.js";import"./Tool01-bTVguty-.js";import"./ArrowUp-CRGMcwjN.js";import"./Settings02-BND3ad-_.js";import"./Tool02-9uhchTyk.js";import"./XCircle-CkxSUHFg.js";import"./ArrowUpRight-XjbUsL6J.js";import"./TrendUp01-C-A7bTAN.js";import"./ZapSquare-Ccv-CNqp.js";import"./ZoomOut-DIgycBu9.js";import"./Users03-2_7vN278.js";import"./CheckCircle-DvTvBvKr.js";import"./ChevronUp-BVwUhVX7.js";import"./ChevronDown--710wNet.js";import"./DotsVertical-BHuPkmo3.js";import"./Stars02-Bf5s6jtI.js";import"./Copy01-BlUuudlp.js";import"./Globe01-CxXiD__5.js";import"./Eye-HqCyXTaB.js";import"./FilterLines-CfibCuLd.js";import"./Star01-B13g--Yk.js";import"./Globe04-CiK6pryU.js";import"./SwitchHorizontal01-COeWFMnn.js";import"./HardDrive-DljyyjQe.js";import"./Image01-CCmFaLM6.js";import"./Key01-CV8c3aey.js";import"./LayoutLeft-D8A_vRpx.js";import"./LinkExternal01-Blg4CFhG.js";import"./Monitor01-G0XI4AyE.js";import"./Sun-D4wn6C4e.js";import"./Package-BpnbT20S.js";import"./Palette-CucSl-Tp.js";import"./Play-J4lAOl0L.js";import"./Plus-Be2ZDEMF.js";import"./SearchLg-hF3HTPE5.js";import"./SearchMd-BvJfdUAe.js";import"./Shield01-CesuQ_f6.js";import"./Stars01-DMCvEOuj.js";import"./Trash01-Dv6dfSGH.js";import"./Upload01-BpEWpOj6.js";import"./User01-DWXBU7_-.js";import"./Users01-DAw96n2a.js";import"./XClose-CUMcIZJo.js";import"./X-BsyIQyXA.js";import"./Zap-NvsmBFeg.js";import"./select-DY2h8ddP.js";import"./useInfiniteQuery-BxBR_av7.js";import"./use-infinite-scroll-JNWuT_ZF.js";import"./use-connection-ZAfjrw2n.js";import"./use-collections-DUypxirp.js";import"./use-mcp-client-BjL1G4QR.js";import"./constants-BHDe7bIw.js";import"./auth-CL1EKZwd.js";import"./use-virtual-mcp-BUq9lEJe.js";import"./card-UiTrwBHx.js";import"./sidebar-Dn9hhb22.js";import"./use-mobile-BLQxo0Qz.js";import"./table-yhILZeXr.js";import"./empty-state-BAAsV00B.js";import"./use-members-Cf24-Ckt.js";import"./use-org-auth-client-DN10IV5X.js";import"./use-clock-tick-CSY_8HaC.js";import"./use-automations-DVQ8vBHR.js";import"./studio-tools-D58JPByV.js";import"./useSuspenseInfiniteQuery-Cdibyh2E.js";import"./avatar-D4ZURmpF.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-D3Kq5ZXg.js";import"./file-type-icon-Cb5F2Kv5.js";import"./dialog-qW-RW6Eb.js";import"./tab-id-BijBBRwE.js";import"./hooks-CfbEEqda.js";import"./decopilot-sse-pool-Ch1Qumbm.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-C2HnQcJb.js";import"./autosend-BR42-er8.js";import"./use-ai-providers-5Uex2oSr.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-B1D2InIQ.js";import"./use-organization-settings-diMs3Q13.js";import"./monaco-editor-BlxKl3DU.js";import"./index-b8bN8MBO.js";import"./index-B5wBAEvg.js";import"./calendar-BcT06D8w.js";import"./shell-layout-BUDxl1va.js";import"./required-auth-layout-CAuTE_Ha.js";import"./use-org-sso-Bsdle9Ju.js";import"./integration-icon-BQSFPqY7.js";import"./use-navigate-to-agent-DX9RGu8W.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-DKXgsttk.js";import"./form-CxHAlAHx.js";import"./input-B9mAD-FD.js";const bt=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),yt=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Tt=new Date(-864e13),vt=new Date(864e13),jt=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,wt=/\/flags\/multivariate\.ts$/;function Nt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function kt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",l=typeof n=="string";if(!r&&!l)return null;const s=r?new Date(t):Tt,m=l?new Date(n):vt;return Number.isNaN(s.getTime())||Number.isNaN(m.getTime())||r&&l&&m.getTime()<=s.getTime()?null:{start:s,end:m,openStart:!r,openEnd:!l}}function rt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(bt.has(n)){const r=kt(e);r&&t.push(r);return}if(yt.has(n)){const r=e.matchers;if(Array.isArray(r))for(const l of r)rt(l,t)}}}function _t(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!jt.test(t))return!1;const n=e.variants;return Array.isArray(n)}function Mt(e){if(typeof e=="string"){const a=e.trim();if(a.length===0)return null;try{const i=new URL(a).pathname.split("/").filter(Boolean),p=i[i.length-1];if(p)return decodeURIComponent(p)}catch{}return a.length>80?`${a.slice(0,77)}…`:a}if(!e||typeof e!="object")return null;const t=e,n=t.config,l=t.desktop?.media,s=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,l?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const a of s)if(typeof a=="string"&&a.trim().length>0)return a.trim();const m=t.__resolveType;if(typeof m=="string"){const c=(m.split("/").pop()??m).replace(/\.(tsx?|jsx?)$/i,"");if(c.length>0)return c}return null}function Et(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n];typeof r=="number"?t.length>0?t[t.length-1]+=`[${r}]`:t.push(`[${r}]`):t.push(r)}return t.join(" · ")}function W(e,t,n,r,l){if(_t(e)){const s=e.variants,m=e.__resolveType,a=wt.test(m)?"":Et(r);s.forEach((c,i)=>{if(!c||typeof c!="object")return;const p=c,d=[];if(rt(p.rule,d),d.length===0)return;const x=Mt(p.value)??(a||n);for(const h of d)l.push({blockKey:t,blockLabel:n,innerPath:a,variantIndex:i,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:m})});for(let c=0;c<s.length;c++){const i=s[c];i&&typeof i=="object"&&W(i.value,t,n,[...r,"variants",c,"value"],l)}return}if(Array.isArray(e)){for(let s=0;s<e.length;s++)W(e[s],t,n,[...r,s],l);return}if(e&&typeof e=="object")for(const[s,m]of Object.entries(e))s!=="__resolveType"&&W(m,t,n,[...r,s],l)}function St(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))W(r,n,Nt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function At(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,l)=>{const s=l*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${s})`,text:"white",border:`oklch(0.50 0.14 ${s})`})}),n}const Dt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function st(e,t){return e.get(t)??Dt}const $t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ot=["January","February","March","April","May","June","July","August","September","October","November","December"],it=1440*60*1e3;function P(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function at(e){return new Date(e.getFullYear(),e.getMonth(),1)}function F(e,t){return new Date(e.getFullYear(),e.getMonth()+t,1)}function z(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function K(e,t){return Math.round((P(e).getTime()-P(t).getTime())/it)}function Ct(e){const t=(e.getTime()-P(e).getTime())/it;return Math.min(Math.max(t,0),1)}function q(e,t){return K(e,t)+Ct(e)}function Rt(e){const t=z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const l=[];for(let s=0;s<7;s++)l.push(z(t,r*7+s));n.push(l)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Lt(e,t){const n=P(e[0]),r=z(n,7),l=n.getTime(),s=r.getTime(),m=[];for(const i of t){const p=P(i.start),d=P(i.end);if(d.getTime()<n.getTime()||p.getTime()>=r.getTime())continue;const u=p.getTime()<n.getTime()?n:p,x=d.getTime()>=r.getTime()?z(r,-1):d,h=K(u,n),g=K(x,u)+1;if(g<=0)continue;const b=Math.max(i.start.getTime(),l),y=Math.min(i.end.getTime(),s),T=q(new Date(b),n),f=Math.max(q(new Date(y),n)-T,0);f<=0||m.push({variant:i,startCol:h,span:g,leftUnits:T,widthUnits:f})}m.sort((i,p)=>i.startCol-p.startCol||p.span-i.span||i.variant.blockKey.localeCompare(p.variant.blockKey));const a=[],c=[];for(const i of m){let p=a.findIndex(d=>d<=i.startCol);p===-1&&(p=a.length,a.push(0)),a[p]=i.startCol+i.span,c.push({...i,lane:p})}return c}const Q=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ot(e){const t=e.openStart?"Always":Q.format(e.start),n=e.openEnd?"Ongoing":Q.format(e.end);return`${t} → ${n}`}function Pt(e){const t=V.c(17),{variant:n}=e;let r;t[0]!==n.blockLabel?(r=o.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=r):r=t[1];let l;t[2]!==n.innerPath?(l=n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=l):l=t[3];let s;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(s=n.label!==n.blockLabel&&n.label!==n.innerPath&&o.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=s):s=t[7];let m;t[8]!==n?(m=Ot(n),t[8]=n,t[9]=m):m=t[9];let a;t[10]!==m?(a=o.jsx("div",{className:"mt-1",children:m}),t[10]=m,t[11]=a):a=t[11];let c;return t[12]!==r||t[13]!==l||t[14]!==s||t[15]!==a?(c=o.jsx(gt,{children:o.jsxs("div",{className:"text-xs",children:[r,l,s,a]})}),t[12]=r,t[13]=l,t[14]=s,t[15]=a,t[16]=c):c=t[16],c}const X=16;function It(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${X}px, #000 calc(100% - ${X}px), ${r})`}function lt(e){const t=V.c(26),{variant:n,color:r,style:l,children:s,fadeStart:m,fadeEnd:a}=e,c=m===void 0?!1:m,i=a===void 0?!1:a;let p;t[0]!==i||t[1]!==c?(p=It(c,i),t[0]=i,t[1]=c,t[2]=p):p=t[2];const d=p;let u;t[3]!==c?(u=c&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=c,t[4]=u):u=t[4];let x;t[5]!==i?(x=i&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=i,t[6]=x):x=t[6];let h;t[7]!==d?(h=d&&{maskImage:d,WebkitMaskImage:d},t[7]=d,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==l||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...l},t[9]=r.bg,t[10]=r.text,t[11]=l,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==s?(b=o.jsx("span",{className:"truncate",children:s}),t[16]=s,t[17]=b):b=t[17];let y;t[18]!==g||t[19]!==b?(y=o.jsx(ut,{asChild:!0,children:o.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:g,children:b})}),t[18]=g,t[19]=b,t[20]=y):y=t[20];let T;t[21]!==n?(T=o.jsx(Pt,{variant:n}),t[21]=n,t[22]=T):T=t[22];let f;return t[23]!==T||t[24]!==y?(f=o.jsxs(ht,{children:[y,T]}),t[23]=T,t[24]=y,t[25]=f):f=t[25],f}function Jn(e){const t=V.c(49),{decofile:n}=e,[r,l]=U.useState("calendar"),[s,m]=U.useState(Bt),[a,c]=U.useState(!1);let i,p,d;if(t[0]!==n||t[1]!==a){const S=St(n);i=S.filter(Ht).length,d=a?S:S.filter(Vt),p=At(d.map(Ft)),t[0]=n,t[1]=a,t[2]=i,t[3]=p,t[4]=d}else i=t[2],p=t[3],d=t[4];const u=p;let x;t[5]===Symbol.for("react.memo_cache_sentinel")?(x=()=>m(at(new Date)),t[5]=x):x=t[5];const h=x;let g;t[6]!==r?(g=()=>m(S=>r==="calendar"?F(S,-1):F(S,-3)),t[6]=r,t[7]=g):g=t[7];const b=g;let y;t[8]!==r?(y=()=>m(S=>r==="calendar"?F(S,1):F(S,3)),t[8]=r,t[9]=y):y=t[9];const T=y;let f;t[10]===Symbol.for("react.memo_cache_sentinel")?(f=o.jsx(Y,{variant:"outline",size:"sm",onClick:h,children:"Today"}),t[10]=f):f=t[10];let N;t[11]===Symbol.for("react.memo_cache_sentinel")?(N=o.jsx(ct,{size:16}),t[11]=N):N=t[11];let k;t[12]!==b?(k=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:b,"aria-label":"Previous",children:N}),t[12]=b,t[13]=k):k=t[13];let _;t[14]===Symbol.for("react.memo_cache_sentinel")?(_=o.jsx(pt,{size:16}),t[14]=_):_=t[14];let M;t[15]!==T?(M=o.jsx(Y,{variant:"ghost",size:"icon",className:"size-8",onClick:T,"aria-label":"Next",children:_}),t[15]=T,t[16]=M):M=t[16];const A=ot[s.getMonth()];let E;t[17]!==s?(E=s.getFullYear(),t[17]=s,t[18]=E):E=t[18];let v;t[19]!==A||t[20]!==E?(v=o.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[A," ",E]}),t[19]=A,t[20]=E,t[21]=v):v=t[21];let j;t[22]!==v||t[23]!==k||t[24]!==M?(j=o.jsxs("div",{className:"flex items-center gap-2",children:[f,k,M,v]}),t[22]=v,t[23]=k,t[24]=M,t[25]=j):j=t[25];let D;t[26]!==i||t[27]!==a?(D=i>0&&o.jsxs("div",{className:"flex items-center gap-2",children:[o.jsx(ft,{id:"show-ongoing",checked:a,onCheckedChange:c}),o.jsxs(dt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:["Show ongoing (",i,")"]})]}),t[26]=i,t[27]=a,t[28]=D):D=t[28];let L;t[29]===Symbol.for("react.memo_cache_sentinel")?(L={value:"calendar",icon:o.jsx(et,{}),label:"Calendar"},t[29]=L):L=t[29];let I;t[30]===Symbol.for("react.memo_cache_sentinel")?(I=[L,{value:"timeline",icon:o.jsx(mt,{}),label:"Timeline"}],t[30]=I):I=t[30];let w;t[31]!==r?(w=o.jsx(xt,{value:r,onValueChange:l,options:I}),t[31]=r,t[32]=w):w=t[32];let R;t[33]!==D||t[34]!==w?(R=o.jsxs("div",{className:"flex items-center gap-4",children:[D,w]}),t[33]=D,t[34]=w,t[35]=R):R=t[35];let $;t[36]!==j||t[37]!==R?($=o.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,R]}),t[36]=j,t[37]=R,t[38]=$):$=t[38];let C;t[39]!==u||t[40]!==s||t[41]!==i||t[42]!==a||t[43]!==d||t[44]!==r?(C=d.length===0?o.jsx(Wt,{hiddenOngoing:a?0:i}):r==="calendar"?o.jsx(Ut,{monthStart:s,variants:d,colorMap:u}):o.jsx(Jt,{monthStart:s,variants:d,colorMap:u}),t[39]=u,t[40]=s,t[41]=i,t[42]=a,t[43]=d,t[44]=r,t[45]=C):C=t[45];let O;return t[46]!==$||t[47]!==C?(O=o.jsxs("div",{className:"flex h-full w-full flex-col",children:[$,C]}),t[46]=$,t[47]=C,t[48]=O):O=t[48],O}function Ft(e){return e.blockKey}function Vt(e){return!e.openEnd}function Ht(e){return e.openEnd}function Bt(){return at(new Date)}function Wt(e){const t=V.c(3),{hiddenOngoing:n}=e,r=n===void 0?0:n;let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l=o.jsx(et,{size:24,className:"text-muted-foreground/60"}),t[0]=l):l=t[0];let s;return t[1]!==r?(s=o.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[l,r>0?o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No dated variants in view."}),o.jsxs("div",{className:"text-xs text-muted-foreground/80",children:[r," ongoing"," ",r===1?"variant is":"variants are"," hidden — enable “Show ongoing” to view."]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{children:"No scheduled variants."}),o.jsx("div",{className:"text-xs text-muted-foreground/80",children:"Variants gated by a date matcher appear here."})]})]}),t[1]=r,t[2]=s):s=t[2],s}const G=20,Z=2,tt=28,zt=6;function Ut(e){const t=V.c(17),{monthStart:n,variants:r,colorMap:l}=e;let s,m,a,c,i;if(t[0]!==l||t[1]!==n||t[2]!==r){const u=Rt(n),x=P(new Date);s=nt,i="flex-1 min-h-0",m="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(a=o.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:$t.map(Gt)}),t[8]=a):a=t[8],c=u.map((h,g)=>{const b=Lt(h,r),y=b.reduce(Yt,0),T=tt+y*(G+Z)+8;return o.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,N)=>{const k=f.getMonth()===n.getMonth(),_=f.getTime()===x.getTime();return o.jsx("div",{className:J("border-r last:border-r-0 px-2 pt-1.5 text-xs",k?"bg-background":"bg-muted/30 text-muted-foreground"),children:o.jsx("span",{className:J("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",_&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},N)}),b.map((f,N)=>{const k=st(l,f.variant.blockKey),_=tt+f.lane*(G+Z),M=f.leftUnits/7*100,A=f.widthUnits/7*100,E=f.variant.openStart&&g===0,v=f.variant.openEnd&&g===u.length-1;return o.jsxs(lt,{variant:f.variant,color:k,fadeStart:E,fadeEnd:v,style:{top:_,left:`calc(${M}% + 2px)`,width:`calc(${A}% - 4px)`,minWidth:zt,height:G},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&o.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${N}`)})]},g)}),t[0]=l,t[1]=n,t[2]=r,t[3]=s,t[4]=m,t[5]=a,t[6]=c,t[7]=i}else s=t[3],m=t[4],a=t[5],c=t[6],i=t[7];let p;t[9]!==m||t[10]!==a||t[11]!==c?(p=o.jsxs("div",{className:m,children:[a,c]}),t[9]=m,t[10]=a,t[11]=c,t[12]=p):p=t[12];let d;return t[13]!==s||t[14]!==i||t[15]!==p?(d=o.jsx(s,{className:i,children:p}),t[13]=s,t[14]=i,t[15]=p,t[16]=d):d=t[16],d}function Yt(e,t){return Math.max(e,t.lane+1)}function Gt(e){return o.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const B=4,Kt=32,H=240;function Jt(e){const t=V.c(27),{monthStart:n,variants:r,colorMap:l}=e,s=n;let m,a,c,i,p,d;if(t[0]!==l||t[1]!==n||t[2]!==s||t[3]!==r){const h=F(n,B),g=new Date,b=new Map;for(const v of r){const j=b.get(v.blockKey)??[];j.push(v),b.set(v.blockKey,j)}const y=Array.from(b.entries()).sort(Xt),T=h.getTime()-s.getTime(),f=v=>(Math.max(s.getTime(),Math.min(h.getTime(),v.getTime()))-s.getTime())/T*100;let N;t[10]!==s?(N=(v,j)=>F(s,j),t[10]=s,t[11]=N):N=t[11];const k=Array.from({length:B},N),_=g.getTime()>=s.getTime()&&g.getTime()<=h.getTime()?f(g):null;m=nt,d="flex-1 min-h-0",a="min-w-[900px] relative";let M;t[12]===Symbol.for("react.memo_cache_sentinel")?(M=o.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:{width:H},children:"Variant / Block"}),t[12]=M):M=t[12];let A;t[13]===Symbol.for("react.memo_cache_sentinel")?(A={gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},t[13]=A):A=t[13];const E=k.map(Qt);t[14]!==E?(c=o.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[M,o.jsx("div",{className:"flex-1 grid",style:A,children:E})]}),t[14]=E,t[15]=c):c=t[15],t[16]!==_?(i=_!==null&&o.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${H}px + (100% - ${H}px) * ${_} / 100)`},children:o.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:"Today"})}),t[16]=_,t[17]=i):i=t[17],p=y.map(v=>{const[j,D]=v,L=st(l,j),I=D[0]?.blockLabel??j;return o.jsxs("div",{children:[o.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:o.jsx("div",{className:"px-3 truncate",style:{width:H},children:I})}),D.map((w,R)=>o.jsxs("div",{className:"flex border-b items-center",style:{height:Kt},children:[o.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:H},children:[o.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:L.bg}}),o.jsx("span",{className:"truncate text-foreground/80",children:w.label})]}),o.jsxs("div",{className:"relative flex-1 h-full",children:[o.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${B}, minmax(0, 1fr))`},children:k.map(qt)}),(()=>{const $=Math.max(w.start.getTime(),s.getTime()),C=Math.min(w.end.getTime(),h.getTime());if(C<=$)return null;const O=f(new Date($)),S=f(new Date(C))-O;return o.jsx(lt,{variant:w,color:L,fadeStart:w.openStart,fadeEnd:w.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${O}%`,width:`calc(${S}% - 2px)`,height:22},children:w.label})})()]})]},R))]},j)}),t[0]=l,t[1]=n,t[2]=s,t[3]=r,t[4]=m,t[5]=a,t[6]=c,t[7]=i,t[8]=p,t[9]=d}else m=t[4],a=t[5],c=t[6],i=t[7],p=t[8],d=t[9];let u;t[18]!==a||t[19]!==c||t[20]!==i||t[21]!==p?(u=o.jsxs("div",{className:a,children:[c,i,p]}),t[18]=a,t[19]=c,t[20]=i,t[21]=p,t[22]=u):u=t[22];let x;return t[23]!==m||t[24]!==d||t[25]!==u?(x=o.jsx(m,{className:d,children:u}),t[23]=m,t[24]=d,t[25]=u,t[26]=x):x=t[26],x}function qt(e,t){return o.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function Qt(e,t){return o.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ot[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function Xt(e,t){return e[0].localeCompare(t[0])}export{Jn as VariantCalendar};