decocms 4.150.12 → 4.150.14

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 (234) hide show
  1. package/dist/client/assets/{AlertCircle-DkUSF8S9.js → AlertCircle-B91-aNwq.js} +1 -1
  2. package/dist/client/assets/{AreaChart-B7P5iILx.js → AreaChart-C3lLe-TO.js} +1 -1
  3. package/dist/client/assets/{ArrowUp-CwxMxJ_X.js → ArrowUp-Cn7neu_D.js} +1 -1
  4. package/dist/client/assets/{ArrowUpRight-Fn4hisEQ.js → ArrowUpRight-4ON7683p.js} +1 -1
  5. package/dist/client/assets/{Check-CaWO08Ol.js → Check-Cw5nys_P.js} +1 -1
  6. package/dist/client/assets/{CheckCircle-Ce06Dt0r.js → CheckCircle-CvK6qQD1.js} +1 -1
  7. package/dist/client/assets/{ChevronDown-dQW8AtGI.js → ChevronDown-CFrsDGDp.js} +1 -1
  8. package/dist/client/assets/{ChevronRight-BK_QoWDW.js → ChevronRight-CSfYVYCd.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-ClNBV1ML.js → ChevronUp-poM-SIFg.js} +1 -1
  10. package/dist/client/assets/{Copy01-D0rsTdyc.js → Copy01-DAfIqFmi.js} +1 -1
  11. package/dist/client/assets/{CpuChip01-EpnURADx.js → CpuChip01-D-1zqWEP.js} +1 -1
  12. package/dist/client/assets/{DotsVertical-BISxlJ7z.js → DotsVertical-Db0Ic0C_.js} +1 -1
  13. package/dist/client/assets/{Eye-CHWgme6t.js → Eye-B4xf2XfM.js} +1 -1
  14. package/dist/client/assets/{FilterLines-2nONIGaK.js → FilterLines-Do81h0db.js} +1 -1
  15. package/dist/client/assets/{HardDrive--H6xeB9a.js → HardDrive-BJwWSvdh.js} +1 -1
  16. package/dist/client/assets/{Key01-DGgsccNk.js → Key01-CDx4-itV.js} +1 -1
  17. package/dist/client/assets/{LayoutLeft-Cl0i-UMj.js → LayoutLeft-C54Zd3v3.js} +1 -1
  18. package/dist/client/assets/{LinkExternal01-DLruoFNK.js → LinkExternal01-BMWoL9cX.js} +1 -1
  19. package/dist/client/assets/{LogOut01-Cu8U0s7_.js → LogOut01-DnW0PXgG.js} +1 -1
  20. package/dist/client/assets/{Monitor01-CDpPX-EA.js → Monitor01-ClNoinKc.js} +1 -1
  21. package/dist/client/assets/{Palette-C9-u1HL2.js → Palette-DrK1WdFE.js} +1 -1
  22. package/dist/client/assets/{Play-3ZXTDwaq.js → Play-uJQecXtC.js} +1 -1
  23. package/dist/client/assets/{Plus-BJivuRWZ.js → Plus-BUQ_ZClP.js} +1 -1
  24. package/dist/client/assets/{SearchLg-DehWCYuP.js → SearchLg-D1RJLuDz.js} +1 -1
  25. package/dist/client/assets/{SearchMd-Dxz9PRr9.js → SearchMd-CBewQIvn.js} +1 -1
  26. package/dist/client/assets/{Settings02-jyt4Cg5Z.js → Settings02-BiO67z5n.js} +1 -1
  27. package/dist/client/assets/{Shield01-D8NQC667.js → Shield01-_WXbYKas.js} +1 -1
  28. package/dist/client/assets/{Star01-Dwm5Prxz.js → Star01-ZJ4rnXKf.js} +1 -1
  29. package/dist/client/assets/{Stars01-Cr6jH6bn.js → Stars01-Bik9Ugxe.js} +1 -1
  30. package/dist/client/assets/{Stars02-BvkKgu1r.js → Stars02-DaESD09_.js} +1 -1
  31. package/dist/client/assets/{Sun-BmSr6mcR.js → Sun-Bfx3j4KE.js} +1 -1
  32. package/dist/client/assets/{SwitchHorizontal01-Cocp1NCJ.js → SwitchHorizontal01-C1V7p22w.js} +1 -1
  33. package/dist/client/assets/{Tool01-B43_tnd4.js → Tool01-DTGcj4gI.js} +1 -1
  34. package/dist/client/assets/{Tool02-B1k57A59.js → Tool02-BPYivh6T.js} +1 -1
  35. package/dist/client/assets/{Trash01-Bij2sBQa.js → Trash01-Yia2FbxW.js} +1 -1
  36. package/dist/client/assets/{TrendUp01-DNUroovp.js → TrendUp01-RRDYPFKj.js} +1 -1
  37. package/dist/client/assets/{Upload01-DjH022N7.js → Upload01-BBKw6S0o.js} +1 -1
  38. package/dist/client/assets/{User01-ZmPLIjFd.js → User01-XCN4nng1.js} +1 -1
  39. package/dist/client/assets/{Users01-BVLWlI1e.js → Users01-Cw6_yNSf.js} +1 -1
  40. package/dist/client/assets/{Users03-BJvAVnZb.js → Users03-dKCb2h3Y.js} +1 -1
  41. package/dist/client/assets/{X-BRRsujeq.js → X-ab3eO-rs.js} +1 -1
  42. package/dist/client/assets/{XCircle-CCKIXuSl.js → XCircle-D7fA26xB.js} +1 -1
  43. package/dist/client/assets/{XClose-x59ADxdn.js → XClose-CEZC5ftU.js} +1 -1
  44. package/dist/client/assets/{Zap-5T12Qisd.js → Zap-Bnq6xGd1.js} +1 -1
  45. package/dist/client/assets/{ZapSquare-BnJ2CyTX.js → ZapSquare-B_ajjEhK.js} +1 -1
  46. package/dist/client/assets/{access-gate-DtqxGB-6.js → access-gate-D4Hh5FVh.js} +1 -1
  47. package/dist/client/assets/{add-section-modal-Bpcf-n0v.js → add-section-modal-CvOwBfxj.js} +1 -1
  48. package/dist/client/assets/{agent-icon-CX57MHZN.js → agent-icon-BUu7SJOh.js} +1 -1
  49. package/dist/client/assets/agents-list-D4CPAK9X.js +1 -0
  50. package/dist/client/assets/{ai-providers-D4M2XSvx.js → ai-providers-EhzLkNiR.js} +1 -1
  51. package/dist/client/assets/{alert-Coj2IknE.js → alert-DtU_bvr8.js} +1 -1
  52. package/dist/client/assets/{alert-dialog-DMgETmzD.js → alert-dialog-zLyeS92X.js} +2 -2
  53. package/dist/client/assets/{app-editor-BLK6ix0D.js → app-editor-DO1eS78p.js} +1 -1
  54. package/dist/client/assets/{auth-Bxvu_2Ac.js → auth-IA0Wt4Bs.js} +1 -1
  55. package/dist/client/assets/{auth-catchall-BLVM76qH.js → auth-catchall-Bi6p1Ud-.js} +1 -1
  56. package/dist/client/assets/{auth-entry-hR1VkCsv.js → auth-entry-Cf5TR3Q3.js} +1 -1
  57. package/dist/client/assets/{auth-split-layout-Bq7vmRP1.js → auth-split-layout-QuPERvo-.js} +1 -1
  58. package/dist/client/assets/{authenticate-and-persist-oauth-iGLSyEy7.js → authenticate-and-persist-oauth-4QL_KMam.js} +1 -1
  59. package/dist/client/assets/{automation-list-row-KsI-CvB5.js → automation-list-row-CtIVsj_5.js} +1 -1
  60. package/dist/client/assets/{automation-runs-B7jzZApT.js → automation-runs-BuBLPadb.js} +1 -1
  61. package/dist/client/assets/{automations-BGn1AtyZ.js → automations-BhzxbiZ6.js} +1 -1
  62. package/dist/client/assets/{avatar-JWYe9tuD.js → avatar-DgcrciBf.js} +1 -1
  63. package/dist/client/assets/{badge-D7PXFjPU.js → badge-COsNQLUw.js} +1 -1
  64. package/dist/client/assets/{block-document-ClcxUvCd.js → block-document-T6uBj3ms.js} +1 -1
  65. package/dist/client/assets/{brand-context-DA0HdnVu.js → brand-context-CVZ_cStr.js} +1 -1
  66. package/dist/client/assets/{buckets-1I5fO_OM.js → buckets-Ds5bb2Zd.js} +1 -1
  67. package/dist/client/assets/{bulk-category-panel-FNvOtMsi.js → bulk-category-panel-Pm1Yz9Zw.js} +1 -1
  68. package/dist/client/assets/{calendar-CyE49Lc6.js → calendar-Dpf15FtT.js} +1 -1
  69. package/dist/client/assets/{capability-load-error-_6TFDt_Z.js → capability-load-error-B5z2_UsL.js} +1 -1
  70. package/dist/client/assets/{card-soYQdPhw.js → card-BNBA4cwH.js} +1 -1
  71. package/dist/client/assets/{category-editor-Dl0UGGun.js → category-editor-BA0Xc6on.js} +1 -1
  72. package/dist/client/assets/{chat-context-DOruUose.js → chat-context-BcKRD-qD.js} +1 -1
  73. package/dist/client/assets/{checkbox-0q9FnTIX.js → checkbox-BL555xYH.js} +1 -1
  74. package/dist/client/assets/{cli-auth-success-CR_KdW_E.js → cli-auth-success-Bd5Du6DE.js} +1 -1
  75. package/dist/client/assets/{collection-detail-CwGX6_bW.js → collection-detail-Ck4V0vb_.js} +1 -1
  76. package/dist/client/assets/{collection-display-button-CNua0OQw.js → collection-display-button-D-rssnYt.js} +1 -1
  77. package/dist/client/assets/{collection-search-Dpng8LoC.js → collection-search-DGVCb7gA.js} +1 -1
  78. package/dist/client/assets/{collection-table-wrapper-BEablUll.js → collection-table-wrapper-CojajOCR.js} +1 -1
  79. package/dist/client/assets/{collection-tabs-BIyQDwrD.js → collection-tabs-BK4jiFiJ.js} +1 -1
  80. package/dist/client/assets/{command-lV9P9VCb.js → command-DZI3kP4g.js} +1 -1
  81. package/dist/client/assets/{commerce-onboarding-d5Ckriwp.js → commerce-onboarding-DQP4ReNS.js} +1 -1
  82. package/dist/client/assets/{companions-core-T8xKIDs8.js → companions-core-DWa4u1b0.js} +1 -1
  83. package/dist/client/assets/{connect-CBvQSyjS.js → connect-DGFBfdn3.js} +1 -1
  84. package/dist/client/assets/{connection-Cn5mPZjc.js → connection-BRPkDcWg.js} +1 -1
  85. package/dist/client/assets/{connection-card-M--ClGzW.js → connection-card-cUEom3hx.js} +1 -1
  86. package/dist/client/assets/{connection-detail-CKiwpwQw.js → connection-detail-CTTCkN-R.js} +1 -1
  87. package/dist/client/assets/{connection-form-helpers-SRVklhqj.js → connection-form-helpers-B-oUsYK9.js} +1 -1
  88. package/dist/client/assets/{connections-Bn8tLKRu.js → connections-BOxnUR6z.js} +1 -1
  89. package/dist/client/assets/{decopilot-sse-pool-DfiSaS6Z.js → decopilot-sse-pool-C_01nXFf.js} +1 -1
  90. package/dist/client/assets/{dialog-B9oegZDu.js → dialog-BKADi3bx.js} +1 -1
  91. package/dist/client/assets/{domain-settings-BamKNkfv.js → domain-settings-DgqnFb0l.js} +1 -1
  92. package/dist/client/assets/{drawer-gCdKlKyC.js → drawer-D7Oy8gIG.js} +1 -1
  93. package/dist/client/assets/{dropdown-menu-BYWILVSv.js → dropdown-menu-CNiSo_qs.js} +1 -1
  94. package/dist/client/assets/{empty-state-DI5SVsDm.js → empty-state-DqSQaubj.js} +1 -1
  95. package/dist/client/assets/{extract-connection-data-BiZHVUW1.js → extract-connection-data-DW5ENvhS.js} +1 -1
  96. package/dist/client/assets/{file-explorer-MajU3dSY.js → file-explorer-BSNQq6hn.js} +1 -1
  97. package/dist/client/assets/{form-DbQjm3RG.js → form-Fzb0rJTW.js} +1 -1
  98. package/dist/client/assets/{general-BL1n62uN.js → general-1GBG93xy.js} +1 -1
  99. package/dist/client/assets/github-repo-picker-BYSh6D5p.js +1 -0
  100. package/dist/client/assets/{hooks-Cdi0T6NA.js → hooks-4mRuOKRy.js} +5 -5
  101. package/dist/client/assets/{index-Dsg3QMPc.js → index-Bts1u0J_.js} +1 -1
  102. package/dist/client/assets/{index-BcxH3g_P.js → index-BztDXv-J.js} +3 -3
  103. package/dist/client/assets/{index-BtOilzE5.js → index-CI6Q_QAk.js} +1 -1
  104. package/dist/client/assets/{index-4jt5IRNL.js → index-CR8JsTmS.js} +1 -1
  105. package/dist/client/assets/{index-CB06aXrK.js → index-CRmv56i2.js} +1 -1
  106. package/dist/client/assets/index-CWTjeYOh.js +1 -0
  107. package/dist/client/assets/{index-BAZmyVC-.css → index-CbTRSuOH.css} +1 -1
  108. package/dist/client/assets/{index-BBJRaxX8.js → index-D6eR-lCa.js} +1 -1
  109. package/dist/client/assets/{index-DD0t6510.js → index-DB_ltYEd.js} +6 -6
  110. package/dist/client/assets/{index-yzqlSPEW.js → index-DWVYmT2K.js} +1 -1
  111. package/dist/client/assets/{index-CLgyj0Ph.js → index-cIDyPB3B.js} +41 -41
  112. package/dist/client/assets/{index-Bn5LDRj0.js → index-pf9WIzdb.js} +1 -1
  113. package/dist/client/assets/{index-redirect-BiiMfl6M.js → index-redirect-_GLliss8.js} +1 -1
  114. package/dist/client/assets/{input-BwMPytZi.js → input-HN_bxtAQ.js} +1 -1
  115. package/dist/client/assets/{integration-icon-BSizUwtM.js → integration-icon-BjzWQyhn.js} +1 -1
  116. package/dist/client/assets/{invite-member-dialog-C0XaeElw.js → invite-member-dialog-DAtZKWFO.js} +1 -1
  117. package/dist/client/assets/{label-DFGmypV5.js → label-WEwHbgNa.js} +1 -1
  118. package/dist/client/assets/{layout-DxXYx71Y.js → layout-CLv1bCzT.js} +1 -1
  119. package/dist/client/assets/{login-Bz-2wgDI.js → login-XCWqN1gF.js} +1 -1
  120. package/dist/client/assets/{mcp-oauth-DNSOSAwY.js → mcp-oauth-Bna-E66_.js} +1 -1
  121. package/dist/client/assets/{members-f5WGmg4S.js → members-ovr8p4aB.js} +1 -1
  122. package/dist/client/assets/{monaco-editor-nBV34MRL.js → monaco-editor-xaI7s5kF.js} +1 -1
  123. package/dist/client/assets/{monitoring-stats-row-B42ZD2Pr.js → monitoring-stats-row-CmdFUB4i.js} +1 -1
  124. package/dist/client/assets/{multi-select-BXdAwEJ3.js → multi-select-B0qocmeY.js} +1 -1
  125. package/dist/client/assets/{oauth-callback-ai-provider-Dj3lFY5c.js → oauth-callback-ai-provider-Cx6PyJQv.js} +1 -1
  126. package/dist/client/assets/{oauth-callback-ChT-RlHe.js → oauth-callback-g6ZHZC-H.js} +1 -1
  127. package/dist/client/assets/{onboarding-wXglYyah.js → onboarding-Crb1jiVb.js} +1 -1
  128. package/dist/client/assets/{org-layout-CWltwFJ8.js → org-layout-DZBP-2GO.js} +1 -1
  129. package/dist/client/assets/{organization-choice-t5wYtE_x.js → organization-choice-C_akLq78.js} +1 -1
  130. package/dist/client/assets/{orgs-BIX-r_Bs.js → orgs-B_89Kdou.js} +1 -1
  131. package/dist/client/assets/{page-seo-form-Hdn6H-EE.js → page-seo-form-D9rc6Mye.js} +1 -1
  132. package/dist/client/assets/{popover-DmPP_Wum.js → popover-Mcyd1rJW.js} +1 -1
  133. package/dist/client/assets/{post-editor-OyGhf2Ka.js → post-editor-B4wUDwBb.js} +1 -1
  134. package/dist/client/assets/{primitives-CaH5RBnr.js → primitives-Cg_9YIfi.js} +1 -1
  135. package/dist/client/assets/{profile-B2VY0ZS8.js → profile-PO6imsIY.js} +1 -1
  136. package/dist/client/assets/project-app-view-DZMl5lBQ.js +1 -0
  137. package/dist/client/assets/provision-repo-scoped-github-connection-C2RHf8fG.js +1 -0
  138. package/dist/client/assets/record-editor-DD85VkKs.js +1 -0
  139. package/dist/client/assets/{redirect-editor-C96uMcWu.js → redirect-editor-DBR2nOIY.js} +1 -1
  140. package/dist/client/assets/registry-D-iopBq7.js +2 -0
  141. package/dist/client/assets/{registry-layout-JmQNDspa.js → registry-layout-DXcfcP7u.js} +1 -1
  142. package/dist/client/assets/{reports-Bl0iJBbV.js → reports-DD0UMnsc.js} +2 -2
  143. package/dist/client/assets/{require-capability-APhfyAbM.js → require-capability-Duuzb-1_.js} +1 -1
  144. package/dist/client/assets/{required-auth-layout-D68OOUEY.js → required-auth-layout-PQuo7896.js} +1 -1
  145. package/dist/client/assets/{reset-password-DL8RfFE6.js → reset-password-CU6E7Bhy.js} +1 -1
  146. package/dist/client/assets/{roles-Cm81NQ5G.js → roles-BB2l3MZv.js} +1 -1
  147. package/dist/client/assets/{search-input-CVQs7RpL.js → search-input-BOnpigZ_.js} +1 -1
  148. package/dist/client/assets/{secrets-CCvK4loO.js → secrets-Dqkkx2T1.js} +1 -1
  149. package/dist/client/assets/{sections-editor-DkBwWst3.js → sections-editor-vVXk2bQB.js} +1 -1
  150. package/dist/client/assets/{select-DiBMx0I6.js → select-BNOwmKae.js} +1 -1
  151. package/dist/client/assets/{select-model-U0NH-03Z.js → select-model-Clsr7M33.js} +1 -1
  152. package/dist/client/assets/{self-tool-result-Dmty8b-9.js → self-tool-result-DfFc8ew3.js} +1 -1
  153. package/dist/client/assets/{seo-editor-Cv5a7w20.js → seo-editor-QGR4jMSw.js} +1 -1
  154. package/dist/client/assets/{settings-layout-DTUqWdZq.js → settings-layout-DKgu9jEA.js} +1 -1
  155. package/dist/client/assets/{settings-section-CJi2U3py.js → settings-section-CGHdGROt.js} +1 -1
  156. package/dist/client/assets/{shell-controls-BtDc9Y-D.js → shell-controls-BCKV1NvA.js} +1 -1
  157. package/dist/client/assets/{shell-layout-CZMSsz_J.js → shell-layout-DJnG6tBW.js} +1 -1
  158. package/dist/client/assets/sidebar-C0kiKg50.js +1 -0
  159. package/dist/client/assets/{skeleton-YNL4Gfyh.js → skeleton-BgYjZjTE.js} +1 -1
  160. package/dist/client/assets/{spinner-cWHEuKxp.js → spinner-Dl88nySH.js} +1 -1
  161. package/dist/client/assets/{sso-BIp8LA3w.js → sso-JSunbF6z.js} +1 -1
  162. package/dist/client/assets/{store-R2rNmTrf.js → store-DcVw_Ezl.js} +1 -1
  163. package/dist/client/assets/store-registry-lJb1V408.js +2 -0
  164. package/dist/client/assets/{studio-tools-DIB17zFH.js → studio-tools-BVEjmDQb.js} +1 -1
  165. package/dist/client/assets/{switch-CbcK-jGL.js → switch-_5lfqgQ6.js} +1 -1
  166. package/dist/client/assets/{tab-id-7b3wA9i7.js → tab-id-BleB6Ron.js} +1 -1
  167. package/dist/client/assets/{table-DBYSBeR3.js → table-CNfTtf-n.js} +1 -1
  168. package/dist/client/assets/{tabs-BrFyu0Ld.js → tabs-kRgqoap0.js} +1 -1
  169. package/dist/client/assets/{textarea-BGf8-22U.js → textarea-D1aVc8E7.js} +1 -1
  170. package/dist/client/assets/{toggle-group-CjS_UJ7P.js → toggle-group-DvK-vqBY.js} +1 -1
  171. package/dist/client/assets/toolbar-CxCN0jhr.js +1 -0
  172. package/dist/client/assets/{tooltip-Boyng34D.js → tooltip-Cn1IcDmc.js} +1 -1
  173. package/dist/client/assets/{use-ai-providers-BrI62wxb.js → use-ai-providers-BYGZHRPH.js} +1 -1
  174. package/dist/client/assets/{use-automations-CwH1KDVN.js → use-automations-BEOa2pC2.js} +1 -1
  175. package/dist/client/assets/{use-autosave-D4pq6CN0.js → use-autosave-BIJ2p_MC.js} +1 -1
  176. package/dist/client/assets/{use-capability-BWY6g3Hm.js → use-capability-BxJkR1VB.js} +1 -1
  177. package/dist/client/assets/{use-clock-tick-CGEs0Tg3.js → use-clock-tick-BrU-wGRy.js} +1 -1
  178. package/dist/client/assets/{use-connection-DpTbs6D3.js → use-connection-BNKQq_v1.js} +1 -1
  179. package/dist/client/assets/{use-copy-BjAla8BE.js → use-copy-7m3Ed17j.js} +1 -1
  180. package/dist/client/assets/{use-create-virtual-mcp-SW1VWhqm.js → use-create-virtual-mcp-_D1SJTWG.js} +1 -1
  181. package/dist/client/assets/{use-debounced-autosave-pWgqt4Hv.js → use-debounced-autosave-D0cLeexL.js} +1 -1
  182. package/dist/client/assets/{use-debounced-value-MHaS7My_.js → use-debounced-value-BY8ovYWq.js} +1 -1
  183. package/dist/client/assets/use-deco-credits-3FINi23O.js +1 -0
  184. package/dist/client/assets/{use-decopilot-events-DIQe_rcp.js → use-decopilot-events-B47pZ2AI.js} +1 -1
  185. package/dist/client/assets/{use-delete-connection-XG9nVuEY.js → use-delete-connection-CyuPr25u.js} +1 -1
  186. package/dist/client/assets/{use-deployment-admin-QHseVn26.js → use-deployment-admin-CbEdVnhP.js} +1 -1
  187. package/dist/client/assets/{use-file-configs-C3YngRho.js → use-file-configs-BCgCMPp3.js} +1 -1
  188. package/dist/client/assets/{use-infinite-scroll-CfKncOiK.js → use-infinite-scroll-INj7iNdP.js} +1 -1
  189. package/dist/client/assets/{use-join-requests-BG4xsWYG.js → use-join-requests-DSkrOZR8.js} +1 -1
  190. package/dist/client/assets/{use-mcp-auth-status-qaat6Jvn.js → use-mcp-auth-status-C1MLJaDO.js} +1 -1
  191. package/dist/client/assets/{use-mcp-client-BEwkzQUP.js → use-mcp-client-Zm5H8-Zl.js} +2 -2
  192. package/dist/client/assets/{use-mcp-tools-gn9osu_Q.js → use-mcp-tools-Do7r-2lV.js} +1 -1
  193. package/dist/client/assets/{use-members-DTeBeYXQ.js → use-members-B11q_xQz.js} +1 -1
  194. package/dist/client/assets/{use-mobile-ClQdbPYE.js → use-mobile-BengO0lS.js} +1 -1
  195. package/dist/client/assets/{use-navigate-to-agent-DvK4hzMp.js → use-navigate-to-agent-DmiY1Q8V.js} +1 -1
  196. package/dist/client/assets/{use-org-auth-client-DHBscDoc.js → use-org-auth-client-C8Z6Cidd.js} +1 -1
  197. package/dist/client/assets/{use-org-sso-R6aJskDC.js → use-org-sso-O3jknVxq.js} +1 -1
  198. package/dist/client/assets/{use-organization-roles-CSIbmHE0.js → use-organization-roles-CQv8oHgS.js} +1 -1
  199. package/dist/client/assets/{use-organization-settings-3l3-PWZ-.js → use-organization-settings-Oq0J09-V.js} +1 -1
  200. package/dist/client/assets/{use-registry-connections-m_NzqSHw.js → use-registry-connections-CI3I17-c.js} +1 -1
  201. package/dist/client/assets/{use-secrets-CmAxrjv8.js → use-secrets-DjYfC3W_.js} +1 -1
  202. package/dist/client/assets/{use-status-sounds-D4JT9F25.js → use-status-sounds-DTAB4Phc.js} +1 -1
  203. package/dist/client/assets/{use-tags-BauEp0vd.js → use-tags-Dj1xCgYD.js} +1 -1
  204. package/dist/client/assets/{use-view-mode-9NHwOyEs.js → use-view-mode-CKxVad5H.js} +1 -1
  205. package/dist/client/assets/{use-virtual-mcp-BnHBU3_3.js → use-virtual-mcp-Cm3s396Y.js} +1 -1
  206. package/dist/client/assets/useInfiniteQuery-C5nBw6Jw.js +1 -0
  207. package/dist/client/assets/{useQueries-DF7muCkz.js → useQueries-C4YD28d8.js} +1 -1
  208. package/dist/client/assets/{useRouterState-CO6LbiMl.js → useRouterState-D1i-KnUG.js} +1 -1
  209. package/dist/client/assets/useSuspenseInfiniteQuery-ClXYbJmm.js +1 -0
  210. package/dist/client/assets/{users-CcQPcfAb.js → users-BoMbND0s.js} +1 -1
  211. package/dist/client/assets/{variant-calendar-BOnCE7y-.js → variant-calendar-qTp_LhSU.js} +1 -1
  212. package/dist/client/assets/{view-mode-toggle-CNPz7BwP.js → view-mode-toggle-D5GwXJYe.js} +1 -1
  213. package/dist/client/index.html +6 -16
  214. package/dist/server/cli.js +259 -259
  215. package/dist/server/server.js +108 -108
  216. package/package.json +1 -1
  217. package/dist/client/assets/agents-list-gFzIi7tp.js +0 -1
  218. package/dist/client/assets/github-repo-picker-Bu5y6cUR.js +0 -1
  219. package/dist/client/assets/index-DYdINzCW.js +0 -1
  220. package/dist/client/assets/org-install-BGhxaoAp.js +0 -1
  221. package/dist/client/assets/project-app-view-C18r3lmY.js +0 -1
  222. package/dist/client/assets/provision-repo-scoped-github-connection-DWINBxtd.js +0 -1
  223. package/dist/client/assets/record-editor-DJRW6Y3d.js +0 -1
  224. package/dist/client/assets/registry-BQ5mVg5k.js +0 -2
  225. package/dist/client/assets/sidebar-DeKVeH2K.js +0 -1
  226. package/dist/client/assets/store-registry-DbqduPMQ.js +0 -2
  227. package/dist/client/assets/toolbar-BZigRKxC.js +0 -1
  228. package/dist/client/assets/use-deco-credits-D_UnpHIS.js +0 -1
  229. package/dist/client/assets/useInfiniteQuery-P1Iqwjod.js +0 -1
  230. package/dist/client/assets/useSuspenseInfiniteQuery-dT7ERMWt.js +0 -1
  231. package/dist/client/icons/apple-touch-icon-180.png +0 -0
  232. package/dist/client/icons/icon-192.png +0 -0
  233. package/dist/client/icons/icon-512.png +0 -0
  234. package/dist/client/manifest.webmanifest +0 -32
@@ -1 +1 @@
1
- import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-CLgyj0Ph.js";import{x as vt,$ as dt,h as yt}from"./agent-icon-CX57MHZN.js";import{i as Tt}from"./ChevronRight-BK_QoWDW.js";import{L as jt}from"./label-DFGmypV5.js";import{n as ft}from"./automation-runs-B7jzZApT.js";import{S as Nt}from"./switch-CbcK-jGL.js";import{T as wt,c as kt,a as Mt}from"./tooltip-Boyng34D.js";import{V as _t}from"./view-mode-toggle-CNPz7BwP.js";import"./AlertCircle-DkUSF8S9.js";import"./Tool01-B43_tnd4.js";import"./ArrowUp-CwxMxJ_X.js";import"./Settings02-jyt4Cg5Z.js";import"./Tool02-B1k57A59.js";import"./XCircle-CCKIXuSl.js";import"./ArrowUpRight-Fn4hisEQ.js";import"./TrendUp01-DNUroovp.js";import"./ZapSquare-BnJ2CyTX.js";import"./Users03-BJvAVnZb.js";import"./CheckCircle-Ce06Dt0r.js";import"./Check-CaWO08Ol.js";import"./ChevronDown-dQW8AtGI.js";import"./ChevronUp-ClNBV1ML.js";import"./DotsVertical-BISxlJ7z.js";import"./Stars02-BvkKgu1r.js";import"./Copy01-D0rsTdyc.js";import"./CpuChip01-EpnURADx.js";import"./Eye-CHWgme6t.js";import"./FilterLines-2nONIGaK.js";import"./Star01-Dwm5Prxz.js";import"./Palette-C9-u1HL2.js";import"./SwitchHorizontal01-Cocp1NCJ.js";import"./HardDrive--H6xeB9a.js";import"./Key01-DGgsccNk.js";import"./LayoutLeft-Cl0i-UMj.js";import"./LinkExternal01-DLruoFNK.js";import"./LogOut01-Cu8U0s7_.js";import"./Monitor01-CDpPX-EA.js";import"./Sun-BmSr6mcR.js";import"./Play-3ZXTDwaq.js";import"./Plus-BJivuRWZ.js";import"./SearchLg-DehWCYuP.js";import"./SearchMd-Dxz9PRr9.js";import"./Shield01-D8NQC667.js";import"./Stars01-Cr6jH6bn.js";import"./Trash01-Bij2sBQa.js";import"./Upload01-DjH022N7.js";import"./User01-ZmPLIjFd.js";import"./Users01-BVLWlI1e.js";import"./XClose-x59ADxdn.js";import"./X-BRRsujeq.js";import"./Zap-5T12Qisd.js";import"./select-DiBMx0I6.js";import"./useInfiniteQuery-P1Iqwjod.js";import"./use-infinite-scroll-CfKncOiK.js";import"./use-connection-DpTbs6D3.js";import"./use-mcp-client-BEwkzQUP.js";import"./auth-Bxvu_2Ac.js";import"./use-virtual-mcp-BnHBU3_3.js";import"./card-soYQdPhw.js";import"./sidebar-DeKVeH2K.js";import"./use-mobile-ClQdbPYE.js";import"./table-DBYSBeR3.js";import"./empty-state-DI5SVsDm.js";import"./use-members-DTeBeYXQ.js";import"./use-org-auth-client-DHBscDoc.js";import"./use-clock-tick-CGEs0Tg3.js";import"./use-automations-CwH1KDVN.js";import"./studio-tools-DIB17zFH.js";import"./useSuspenseInfiniteQuery-dT7ERMWt.js";import"./avatar-JWYe9tuD.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-BjAla8BE.js";import"./dialog-B9oegZDu.js";import"./tab-id-7b3wA9i7.js";import"./hooks-Cdi0T6NA.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-DfiSaS6Z.js";import"./chat-context-DOruUose.js";import"./use-ai-providers-BrI62wxb.js";import"./use-decopilot-events-DIQe_rcp.js";import"./use-organization-settings-3l3-PWZ-.js";import"./monaco-editor-nBV34MRL.js";import"./spinner-cWHEuKxp.js";import"./index-4jt5IRNL.js";import"./calendar-CyE49Lc6.js";import"./shell-layout-CZMSsz_J.js";import"./required-auth-layout-D68OOUEY.js";import"./use-org-sso-R6aJskDC.js";import"./integration-icon-BSizUwtM.js";import"./use-navigate-to-agent-DvK4hzMp.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-B7P5iILx.js";import"./form-DbQjm3RG.js";import"./input-BwMPytZi.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Dt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function pt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)pt(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(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 X(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,p=[];if(pt(d.rule,p),p.length===0)return;const x=It(d.value)??(m||n);for(const h of p)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&X(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)X(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&X(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))X(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(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 st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),p=B(c.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?Z(r,-1):p,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),f=Math.max(it(new Date(j),n)-v,0);f<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:f})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(p=>p<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const p=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let j;t[18]!==g||t[19]!==b?(j=s.jsx(wt,{asChild:!0,children:s.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]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let f;return t[23]!==v||t[24]!==j?(f=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=f):f=t[25],f}function Xn(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Xt),[l,c]=et.useState(!1);let d,p,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(Qt).length,u=l?P:P.filter(qt),p=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=p,t[4]=u}else d=t[2],p=t[3],u=t[4];const x=p;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const f=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let w;t[14]!==r?(w=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=w):w=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==w?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":w,children:D}),t[17]=j,t[18]=w,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==f||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:f,"aria-label":M,children:S}),t[23]=f,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let N;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(N=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=N):N=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Nt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==N||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[N,z]}),t[59]=N,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let q;return t[69]!==U||t[70]!==Y?(q=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=q):q=t[71],q}function Jt(e){return e.blockKey}function qt(e){return!e.openEnd}function Qt(e){return e.openEnd}function Xt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=ft,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((f,y)=>{const T=f.getMonth()===n.getMonth(),w=f.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",w&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},y)}),b.map((f,y)=>{const T=ut(i,f.variant.blockKey),w=mt+f.lane*(rt+ct),D=f.leftUnits/7*100,k=f.widthUnits/7*100,M=f.variant.openStart&&g===0,S=f.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:f.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:w,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let p;return t[13]!==o||t[14]!==c||t[15]!==d?(p=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=p):p=t[16],p}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const Q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,Q),m=new Date,l=new Map;for(const _ of r){const N=l.get(_.blockKey)??[];N.push(_),l.set(_.blockKey,N)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),p=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,N)=>G(o,N),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:Q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?p(m):null,g=tt(),b=ft,j="flex-1 min-h-0",v="min-w-[900px] relative";let f;t[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:J},t[2]=f):f=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:f,children:y}),t[5]=y,t[6]=T):T=t[6];let w;t[7]===Symbol.for("react.memo_cache_sentinel")?(w={gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},t[7]=w):w=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:w,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 100)`},children:s.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:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[N,L]=_,H=ut(i,N),F=L[0]?.blockLabel??N;return s.jsxs("div",{children:[s.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:s.jsx("div",{className:"px-3 truncate",style:{width:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=p(new Date(R)),V=p(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},N)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{Xn as VariantCalendar};
1
+ import{c as K,b as tt,r as et,j as s,m as ot,B as nt}from"./index-cIDyPB3B.js";import{x as vt,$ as dt,h as yt}from"./agent-icon-BUu7SJOh.js";import{i as Tt}from"./ChevronRight-CSfYVYCd.js";import{L as jt}from"./label-WEwHbgNa.js";import{n as ft}from"./automation-runs-BuBLPadb.js";import{S as Nt}from"./switch-_5lfqgQ6.js";import{T as wt,c as kt,a as Mt}from"./tooltip-Cn1IcDmc.js";import{V as _t}from"./view-mode-toggle-D5GwXJYe.js";import"./AlertCircle-B91-aNwq.js";import"./Tool01-DTGcj4gI.js";import"./ArrowUp-Cn7neu_D.js";import"./Settings02-BiO67z5n.js";import"./Tool02-BPYivh6T.js";import"./XCircle-D7fA26xB.js";import"./ArrowUpRight-4ON7683p.js";import"./TrendUp01-RRDYPFKj.js";import"./ZapSquare-B_ajjEhK.js";import"./Users03-dKCb2h3Y.js";import"./CheckCircle-CvK6qQD1.js";import"./Check-Cw5nys_P.js";import"./ChevronDown-CFrsDGDp.js";import"./ChevronUp-poM-SIFg.js";import"./DotsVertical-Db0Ic0C_.js";import"./Stars02-DaESD09_.js";import"./Copy01-DAfIqFmi.js";import"./CpuChip01-D-1zqWEP.js";import"./Eye-B4xf2XfM.js";import"./FilterLines-Do81h0db.js";import"./Star01-ZJ4rnXKf.js";import"./Palette-DrK1WdFE.js";import"./SwitchHorizontal01-C1V7p22w.js";import"./HardDrive-BJwWSvdh.js";import"./Key01-CDx4-itV.js";import"./LayoutLeft-C54Zd3v3.js";import"./LinkExternal01-BMWoL9cX.js";import"./LogOut01-DnW0PXgG.js";import"./Monitor01-ClNoinKc.js";import"./Sun-Bfx3j4KE.js";import"./Play-uJQecXtC.js";import"./Plus-BUQ_ZClP.js";import"./SearchLg-D1RJLuDz.js";import"./SearchMd-CBewQIvn.js";import"./Shield01-_WXbYKas.js";import"./Stars01-Bik9Ugxe.js";import"./Trash01-Yia2FbxW.js";import"./Upload01-BBKw6S0o.js";import"./User01-XCN4nng1.js";import"./Users01-Cw6_yNSf.js";import"./XClose-CEZC5ftU.js";import"./X-ab3eO-rs.js";import"./Zap-Bnq6xGd1.js";import"./select-BNOwmKae.js";import"./useInfiniteQuery-C5nBw6Jw.js";import"./use-infinite-scroll-INj7iNdP.js";import"./use-connection-BNKQq_v1.js";import"./use-mcp-client-Zm5H8-Zl.js";import"./auth-IA0Wt4Bs.js";import"./use-virtual-mcp-Cm3s396Y.js";import"./card-BNBA4cwH.js";import"./sidebar-C0kiKg50.js";import"./use-mobile-BengO0lS.js";import"./table-CNfTtf-n.js";import"./empty-state-DqSQaubj.js";import"./use-members-B11q_xQz.js";import"./use-org-auth-client-C8Z6Cidd.js";import"./use-clock-tick-BrU-wGRy.js";import"./use-automations-BEOa2pC2.js";import"./studio-tools-BVEjmDQb.js";import"./useSuspenseInfiniteQuery-ClXYbJmm.js";import"./avatar-DgcrciBf.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-7m3Ed17j.js";import"./dialog-BKADi3bx.js";import"./tab-id-BleB6Ron.js";import"./hooks-4mRuOKRy.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-C_01nXFf.js";import"./chat-context-BcKRD-qD.js";import"./use-ai-providers-BYGZHRPH.js";import"./use-decopilot-events-B47pZ2AI.js";import"./use-organization-settings-Oq0J09-V.js";import"./monaco-editor-xaI7s5kF.js";import"./spinner-Dl88nySH.js";import"./index-CR8JsTmS.js";import"./calendar-Dpf15FtT.js";import"./shell-layout-DJnG6tBW.js";import"./required-auth-layout-PQuo7896.js";import"./use-org-sso-O3jknVxq.js";import"./integration-icon-BjzWQyhn.js";import"./use-navigate-to-agent-DmiY1Q8V.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-C3lLe-TO.js";import"./form-Fzb0rJTW.js";import"./input-HN_bxtAQ.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Dt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:n}=e,r=typeof t=="string",i=typeof n=="string";if(!r&&!i)return null;const o=r?new Date(t):Ct,a=i?new Date(n):Dt;return Number.isNaN(o.getTime())||Number.isNaN(a.getTime())||r&&i&&a.getTime()<=o.getTime()?null:{start:o,end:a,openStart:!r,openEnd:!i}}function pt(e,t){if(!e||typeof e!="object")return;const n=e.__resolveType;if(typeof n=="string"){if(Et.has(n)){const r=Rt(e);r&&t.push(r);return}if(St.has(n)){const r=e.matchers;if(Array.isArray(r))for(const i of r)pt(i,t)}}}function Ot(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const n=e.variants;return Array.isArray(n)}function It(e){if(typeof e=="string"){const m=e.trim();if(m.length===0)return null;try{const c=new URL(m).pathname.split("/").filter(Boolean),d=c[c.length-1];if(d)return decodeURIComponent(d)}catch{}return m.length>80?`${m.slice(0,77)}…`:m}if(!e||typeof e!="object")return null;const t=e,n=t.config,i=t.desktop?.media,o=[t.title,t.name,t.label,t.alt,n?.title,n?.name,n?.typeAlert?.message,i?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const m of o)if(typeof m=="string"&&m.trim().length>0)return m.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(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 X(e,t,n,r,i){if(Ot(e)){const o=e.variants,a=e.__resolveType,m=$t.test(a)?"":Pt(r);o.forEach((l,c)=>{if(!l||typeof l!="object")return;const d=l,p=[];if(pt(d.rule,p),p.length===0)return;const x=It(d.value)??(m||n);for(const h of p)i.push({blockKey:t,blockLabel:n,innerPath:m,variantIndex:c,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:x,flagResolveType:a})});for(let l=0;l<o.length;l++){const c=o[l];c&&typeof c=="object"&&X(c.value,t,n,[...r,"variants",l,"value"],i)}return}if(Array.isArray(e)){for(let o=0;o<e.length;o++)X(e[o],t,n,[...r,o],i);return}if(e&&typeof e=="object")for(const[o,a]of Object.entries(e))o!=="__resolveType"&&X(a,t,n,[...r,o],i)}function Ft(e){if(!e)return[];const t=[];for(const[n,r]of Object.entries(e))X(r,n,Lt(n),[],t);return t.sort((n,r)=>n.start.getTime()-r.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),n=new Map;return t.forEach((r,i)=>{const o=i*137.508%360;n.set(r,{bg:`oklch(0.62 0.14 ${o})`,text:"white",border:`oklch(0.50 0.14 ${o})`})}),n}const Ht={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function ut(e,t){return e.get(t)??Ht}const Bt=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ht=["January","February","March","April","May","June","July","August","September","October","November","December"],gt=1440*60*1e3;function B(e){const t=new Date(e);return t.setHours(0,0,0,0),t}function xt(e){return new Date(e.getFullYear(),e.getMonth(),1)}function G(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 st(e,t){return Math.round((B(e).getTime()-B(t).getTime())/gt)}function Wt(e){const t=(e.getTime()-B(e).getTime())/gt;return Math.min(Math.max(t,0),1)}function it(e,t){return st(e,t)+Wt(e)}function zt(e){const t=Z(e,-e.getDay()),n=[];for(let r=0;r<6;r++){const i=[];for(let o=0;o<7;o++)i.push(Z(t,r*7+o));n.push(i)}for(;n.length>0&&n[n.length-1].every(r=>r.getMonth()!==e.getMonth());)n.pop();return n}function Ut(e,t){const n=B(e[0]),r=Z(n,7),i=n.getTime(),o=r.getTime(),a=[];for(const c of t){const d=B(c.start),p=B(c.end);if(p.getTime()<n.getTime()||d.getTime()>=r.getTime())continue;const u=d.getTime()<n.getTime()?n:d,x=p.getTime()>=r.getTime()?Z(r,-1):p,h=st(u,n),g=st(x,u)+1;if(g<=0)continue;const b=Math.max(c.start.getTime(),i),j=Math.min(c.end.getTime(),o),v=it(new Date(b),n),f=Math.max(it(new Date(j),n)-v,0);f<=0||a.push({variant:c,startCol:h,span:g,leftUnits:v,widthUnits:f})}a.sort((c,d)=>c.startCol-d.startCol||d.span-c.span||c.variant.blockKey.localeCompare(d.variant.blockKey));const m=[],l=[];for(const c of a){let d=m.findIndex(p=>p<=c.startCol);d===-1&&(d=m.length,m.push(0)),m[d]=c.startCol+c.span,l.push({...c,lane:d})}return l}const at=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Yt(e,t){const n=e.openStart?t("sandbox.variantCalendar.always"):at.format(e.start),r=e.openEnd?t("sandbox.variantCalendar.ongoing"):at.format(e.end);return`${n} → ${r}`}function Gt(e){const t=K.c(18),{variant:n}=e,r=tt();let i;t[0]!==n.blockLabel?(i=s.jsx("div",{className:"font-semibold",children:n.blockLabel}),t[0]=n.blockLabel,t[1]=i):i=t[1];let o;t[2]!==n.innerPath?(o=n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),t[2]=n.innerPath,t[3]=o):o=t[3];let a;t[4]!==n.blockLabel||t[5]!==n.innerPath||t[6]!==n.label?(a=n.label!==n.blockLabel&&n.label!==n.innerPath&&s.jsx("div",{className:"text-muted-foreground",children:n.label}),t[4]=n.blockLabel,t[5]=n.innerPath,t[6]=n.label,t[7]=a):a=t[7];let m;t[8]!==r||t[9]!==n?(m=Yt(n,r),t[8]=r,t[9]=n,t[10]=m):m=t[10];let l;t[11]!==m?(l=s.jsx("div",{className:"mt-1",children:m}),t[11]=m,t[12]=l):l=t[12];let c;return t[13]!==i||t[14]!==o||t[15]!==a||t[16]!==l?(c=s.jsx(Mt,{children:s.jsxs("div",{className:"text-xs",children:[i,o,a,l]})}),t[13]=i,t[14]=o,t[15]=a,t[16]=l,t[17]=c):c=t[17],c}const lt=16;function Kt(e,t){const n=e?"transparent":"#000 0",r=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${n}, #000 ${lt}px, #000 calc(100% - ${lt}px), ${r})`}function bt(e){const t=K.c(26),{variant:n,color:r,style:i,children:o,fadeStart:a,fadeEnd:m}=e,l=a===void 0?!1:a,c=m===void 0?!1:m;let d;t[0]!==c||t[1]!==l?(d=Kt(l,c),t[0]=c,t[1]=l,t[2]=d):d=t[2];const p=d;let u;t[3]!==l?(u=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=u):u=t[4];let x;t[5]!==c?(x=c&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=c,t[6]=x):x=t[6];let h;t[7]!==p?(h=p&&{maskImage:p,WebkitMaskImage:p},t[7]=p,t[8]=h):h=t[8];let g;t[9]!==r.bg||t[10]!==r.text||t[11]!==i||t[12]!==u||t[13]!==x||t[14]!==h?(g={background:r.bg,color:r.text,borderRadius:4,...u,...x,...h,...i},t[9]=r.bg,t[10]=r.text,t[11]=i,t[12]=u,t[13]=x,t[14]=h,t[15]=g):g=t[15];let b;t[16]!==o?(b=s.jsx("span",{className:"truncate",children:o}),t[16]=o,t[17]=b):b=t[17];let j;t[18]!==g||t[19]!==b?(j=s.jsx(wt,{asChild:!0,children:s.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]=j):j=t[20];let v;t[21]!==n?(v=s.jsx(Gt,{variant:n}),t[21]=n,t[22]=v):v=t[22];let f;return t[23]!==v||t[24]!==j?(f=s.jsxs(kt,{children:[j,v]}),t[23]=v,t[24]=j,t[25]=f):f=t[25],f}function Xn(e){const t=K.c(72),{decofile:n}=e,r=tt(),[i,o]=et.useState("calendar"),[a,m]=et.useState(Xt),[l,c]=et.useState(!1);let d,p,u;if(t[0]!==n||t[1]!==l){const P=Ft(n);d=P.filter(Qt).length,u=l?P:P.filter(qt),p=Vt(u.map(Jt)),t[0]=n,t[1]=l,t[2]=d,t[3]=p,t[4]=u}else d=t[2],p=t[3],u=t[4];const x=p;let h;t[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>m(xt(new Date)),t[5]=h):h=t[5];const g=h;let b;t[6]!==i?(b=()=>m(P=>i==="calendar"?G(P,-1):G(P,-3)),t[6]=i,t[7]=b):b=t[7];const j=b;let v;t[8]!==i?(v=()=>m(P=>i==="calendar"?G(P,1):G(P,3)),t[8]=i,t[9]=v):v=t[9];const f=v;let y;t[10]!==r?(y=r("sandbox.variantCalendar.today"),t[10]=r,t[11]=y):y=t[11];let T;t[12]!==y?(T=s.jsx(nt,{variant:"outline",size:"sm",onClick:g,children:y}),t[12]=y,t[13]=T):T=t[13];let w;t[14]!==r?(w=r("sandbox.variantCalendar.previous"),t[14]=r,t[15]=w):w=t[15];let D;t[16]===Symbol.for("react.memo_cache_sentinel")?(D=s.jsx(vt,{size:16}),t[16]=D):D=t[16];let k;t[17]!==j||t[18]!==w?(k=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:j,"aria-label":w,children:D}),t[17]=j,t[18]=w,t[19]=k):k=t[19];let M;t[20]!==r?(M=r("sandbox.variantCalendar.next"),t[20]=r,t[21]=M):M=t[21];let S;t[22]===Symbol.for("react.memo_cache_sentinel")?(S=s.jsx(Tt,{size:16}),t[22]=S):S=t[22];let A;t[23]!==f||t[24]!==M?(A=s.jsx(nt,{variant:"ghost",size:"icon",className:"size-8",onClick:f,"aria-label":M,children:S}),t[23]=f,t[24]=M,t[25]=A):A=t[25];const $=ht[a.getMonth()];let C;t[26]!==a?(C=a.getFullYear(),t[26]=a,t[27]=C):C=t[27];let _;t[28]!==$||t[29]!==C?(_=s.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[$," ",C]}),t[28]=$,t[29]=C,t[30]=_):_=t[30];let N;t[31]!==A||t[32]!==_||t[33]!==T||t[34]!==k?(N=s.jsxs("div",{className:"flex items-center gap-2",children:[T,k,A,_]}),t[31]=A,t[32]=_,t[33]=T,t[34]=k,t[35]=N):N=t[35];let L;t[36]!==d||t[37]!==l||t[38]!==r?(L=d>0&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Nt,{id:"show-ongoing",checked:l,onCheckedChange:c}),s.jsx(jt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:r("sandbox.variantCalendar.showOngoing",{count:d})})]}),t[36]=d,t[37]=l,t[38]=r,t[39]=L):L=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=s.jsx(dt,{}),t[40]=H):H=t[40];let F;t[41]!==r?(F=r("sandbox.variantCalendar.calendarMode"),t[41]=r,t[42]=F):F=t[42];let E;t[43]!==F?(E={value:"calendar",icon:H,label:F},t[43]=F,t[44]=E):E=t[44];let W;t[45]===Symbol.for("react.memo_cache_sentinel")?(W=s.jsx(yt,{}),t[45]=W):W=t[45];let R;t[46]!==r?(R=r("sandbox.variantCalendar.timelineMode"),t[46]=r,t[47]=R):R=t[47];let O;t[48]!==R?(O={value:"timeline",icon:W,label:R},t[48]=R,t[49]=O):O=t[49];let I;t[50]!==E||t[51]!==O?(I=[E,O],t[50]=E,t[51]=O,t[52]=I):I=t[52];let V;t[53]!==I||t[54]!==i?(V=s.jsx(_t,{value:i,onValueChange:o,options:I}),t[53]=I,t[54]=i,t[55]=V):V=t[55];let z;t[56]!==L||t[57]!==V?(z=s.jsxs("div",{className:"flex items-center gap-4",children:[L,V]}),t[56]=L,t[57]=V,t[58]=z):z=t[58];let U;t[59]!==N||t[60]!==z?(U=s.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[N,z]}),t[59]=N,t[60]=z,t[61]=U):U=t[61];let Y;t[62]!==x||t[63]!==a||t[64]!==d||t[65]!==l||t[66]!==u||t[67]!==i?(Y=u.length===0?s.jsx(Zt,{hiddenOngoing:l?0:d}):i==="calendar"?s.jsx(ee,{monthStart:a,variants:u,colorMap:x}):s.jsx(oe,{monthStart:a,variants:u,colorMap:x}),t[62]=x,t[63]=a,t[64]=d,t[65]=l,t[66]=u,t[67]=i,t[68]=Y):Y=t[68];let q;return t[69]!==U||t[70]!==Y?(q=s.jsxs("div",{className:"flex h-full w-full flex-col",children:[U,Y]}),t[69]=U,t[70]=Y,t[71]=q):q=t[71],q}function Jt(e){return e.blockKey}function qt(e){return!e.openEnd}function Qt(e){return e.openEnd}function Xt(){return xt(new Date)}function Zt(e){const t=K.c(4),{hiddenOngoing:n}=e,r=n===void 0?0:n,i=tt();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(dt,{size:24,className:"text-muted-foreground/60"}),t[0]=o):o=t[0];let a;return t[1]!==r||t[2]!==i?(a=s.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[o,r>0?s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noDatedVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.hiddenOngoingVariants",{count:r})})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{children:i("sandbox.variantCalendar.noScheduledVariants")}),s.jsx("div",{className:"text-xs text-muted-foreground/80",children:i("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=r,t[2]=i,t[3]=a):a=t[3],a}const rt=20,ct=2,mt=28,te=6;function ee(e){const t=K.c(17),{monthStart:n,variants:r,colorMap:i}=e;let o,a,m,l,c;if(t[0]!==i||t[1]!==n||t[2]!==r){const u=zt(n),x=B(new Date);o=ft,c="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Bt.map(re)}),t[8]=m):m=t[8],l=u.map((h,g)=>{const b=Ut(h,r),j=b.reduce(ne,0),v=mt+j*(rt+ct)+8;return s.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:v},children:[h.map((f,y)=>{const T=f.getMonth()===n.getMonth(),w=f.getTime()===x.getTime();return s.jsx("div",{className:ot("border-r last:border-r-0 px-2 pt-1.5 text-xs",T?"bg-background":"bg-muted/30 text-muted-foreground"),children:s.jsx("span",{className:ot("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",w&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},y)}),b.map((f,y)=>{const T=ut(i,f.variant.blockKey),w=mt+f.lane*(rt+ct),D=f.leftUnits/7*100,k=f.widthUnits/7*100,M=f.variant.openStart&&g===0,S=f.variant.openEnd&&g===u.length-1;return s.jsxs(bt,{variant:f.variant,color:T,fadeStart:M,fadeEnd:S,style:{top:w,left:`calc(${D}% + 2px)`,width:`calc(${k}% - 4px)`,minWidth:te,height:rt},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&s.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${g}-${y}`)})]},g)}),t[0]=i,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=m,t[6]=l,t[7]=c}else o=t[3],a=t[4],m=t[5],l=t[6],c=t[7];let d;t[9]!==a||t[10]!==m||t[11]!==l?(d=s.jsxs("div",{className:a,children:[m,l]}),t[9]=a,t[10]=m,t[11]=l,t[12]=d):d=t[12];let p;return t[13]!==o||t[14]!==c||t[15]!==d?(p=s.jsx(o,{className:c,children:d}),t[13]=o,t[14]=c,t[15]=d,t[16]=p):p=t[16],p}function ne(e,t){return Math.max(e,t.lane+1)}function re(e){return s.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const Q=4,se=32,J=240;function oe(e){const t=K.c(23),{monthStart:n,variants:r,colorMap:i}=e,o=n,a=G(n,Q),m=new Date,l=new Map;for(const _ of r){const N=l.get(_.blockKey)??[];N.push(_),l.set(_.blockKey,N)}const c=Array.from(l.entries()).sort(le),d=a.getTime()-o.getTime(),p=_=>(Math.max(o.getTime(),Math.min(a.getTime(),_.getTime()))-o.getTime())/d*100;let u;t[0]!==o?(u=(_,N)=>G(o,N),t[0]=o,t[1]=u):u=t[1];const x=Array.from({length:Q},u),h=m.getTime()>=o.getTime()&&m.getTime()<=a.getTime()?p(m):null,g=tt(),b=ft,j="flex-1 min-h-0",v="min-w-[900px] relative";let f;t[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:J},t[2]=f):f=t[2];let y;t[3]!==g?(y=g("sandbox.variantCalendar.variantBlock"),t[3]=g,t[4]=y):y=t[4];let T;t[5]!==y?(T=s.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:f,children:y}),t[5]=y,t[6]=T):T=t[6];let w;t[7]===Symbol.for("react.memo_cache_sentinel")?(w={gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},t[7]=w):w=t[7];const D=x.map(ae);let k;t[8]!==D?(k=s.jsx("div",{className:"flex-1 grid",style:w,children:D}),t[8]=D,t[9]=k):k=t[9];let M;t[10]!==T||t[11]!==k?(M=s.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[T,k]}),t[10]=T,t[11]=k,t[12]=M):M=t[12];let S;t[13]!==g||t[14]!==h?(S=h!==null&&s.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${J}px + (100% - ${J}px) * ${h} / 100)`},children:s.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:g("sandbox.variantCalendar.todayLabel")})}),t[13]=g,t[14]=h,t[15]=S):S=t[15];const A=c.map(_=>{const[N,L]=_,H=ut(i,N),F=L[0]?.blockLabel??N;return s.jsxs("div",{children:[s.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:s.jsx("div",{className:"px-3 truncate",style:{width:J},children:F})}),L.map((E,W)=>s.jsxs("div",{className:"flex border-b items-center",style:{height:se},children:[s.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:J},children:[s.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),s.jsx("span",{className:"truncate text-foreground/80",children:E.label})]}),s.jsxs("div",{className:"relative flex-1 h-full",children:[s.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${Q}, minmax(0, 1fr))`},children:x.map(ie)}),(()=>{const R=Math.max(E.start.getTime(),o.getTime()),O=Math.min(E.end.getTime(),a.getTime());if(O<=R)return null;const I=p(new Date(R)),V=p(new Date(O))-I;return s.jsx(bt,{variant:E,color:H,fadeStart:E.openStart,fadeEnd:E.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${I}%`,width:`calc(${V}% - 2px)`,height:22},children:E.label})})()]})]},W))]},N)});let $;t[16]!==M||t[17]!==S||t[18]!==A?($=s.jsxs("div",{className:v,children:[M,S,A]}),t[16]=M,t[17]=S,t[18]=A,t[19]=$):$=t[19];let C;return t[20]!==b||t[21]!==$?(C=s.jsx(b,{className:j,children:$}),t[20]=b,t[21]=$,t[22]=C):C=t[22],C}function ie(e,t){return s.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function ae(e,t){return s.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ht[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function le(e,t){return e[0].localeCompare(t[0])}export{Xn as VariantCalendar};
@@ -1 +1 @@
1
- import{c as $,r as T,m as f,j as i}from"./index-CLgyj0Ph.js";import{c as k,T as I,a as P}from"./tooltip-Boyng34D.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const l=M[_];let n;t[6]!==z?(n=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=n):n=t[7];let a;t[8]!==l||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),"aria-label":e.label,className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(l.buttonWithLabel,"px-3"):l.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",l.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=l,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":l.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==n||t[25]!==a?(v=i.jsxs("div",{className:n,children:[a,u]}),t[23]=u,t[24]=n,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
1
+ import{c as $,r as T,m as f,j as i}from"./index-cIDyPB3B.js";import{c as k,T as I,a as P}from"./tooltip-Cn1IcDmc.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function B(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:C,fullWidth:L,className:z}=E,_=C===void 0?"sm":C,b=L===void 0?!1:L;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const R=T.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=T.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),m=R.current[e];m&&S({left:m.offsetLeft,width:m.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),T.useEffect(g,p);const l=M[_];let n;t[6]!==z?(n=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=n):n=t[7];let a;t[8]!==l||t[9]!==b||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,m)=>{const j=i.jsxs("button",{ref:V=>{R.current[m]=V},type:"button",onClick:()=>y(e.value),"aria-label":e.label,className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",b?"flex-1 h-12 px-4":e.label?f(l.buttonWithLabel,"px-3"):l.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",l.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=l,t[9]=b,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=b?"h-12":l.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==n||t[25]!==a?(v=i.jsxs("div",{className:n,children:[a,u]}),t[23]=u,t[24]=n,t[25]=a,t[26]=v):v=t[26],v}export{B as V};
@@ -28,9 +28,10 @@
28
28
  var isDark = theme === "dark" || (theme === "system" && window.matchMedia("(prefers-color-scheme: dark)").matches);
29
29
  if (isDark) {
30
30
  document.documentElement.classList.add("dark");
31
- // Also pre-set <meta name="theme-color"> so the PWA title-bar (WCO)
32
- // doesn't flash light before the React runtime syncs it from --sidebar.
33
- // Value approximates dark --sidebar: oklch(0.155 0.005 60).
31
+ // Also pre-set <meta name="theme-color"> so the mobile browser
32
+ // chrome doesn't flash light before the React runtime syncs it
33
+ // from --sidebar. Value approximates dark --sidebar:
34
+ // oklch(0.155 0.005 60).
34
35
  var meta = document.querySelector('meta[name="theme-color"]');
35
36
  if (meta) meta.setAttribute("content", "#272524");
36
37
  }
@@ -49,19 +50,8 @@
49
50
  <meta name="twitter:description" content="Hire specialized agents, give them access to your tools, and let them deliver real projects — with planning, verification, and observability built in." />
50
51
  <meta name="twitter:image" content="/og-image.png" />
51
52
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
52
- <!-- PWA install. The manifest + apple-touch-icon below are the "deco
53
- Studio" defaults and stay active on every route, so the browser's own
54
- "Add to Home Screen" installs Studio itself. The per-org install page
55
- (/:org/install) temporarily swaps these for org-branded values via
56
- usePwaManifest, so installing from there produces a separate app for
57
- that org, then restores the defaults on leaving the page. -->
58
- <link rel="manifest" href="/manifest.webmanifest" />
59
- <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon-180.png" />
60
- <meta name="apple-mobile-web-app-capable" content="yes" />
61
- <meta name="apple-mobile-web-app-status-bar-style" content="default" />
62
- <meta name="apple-mobile-web-app-title" content="deco Studio" />
63
- <script type="module" crossorigin src="/assets/index-CLgyj0Ph.js"></script>
64
- <link rel="stylesheet" crossorigin href="/assets/index-BAZmyVC-.css">
53
+ <script type="module" crossorigin src="/assets/index-cIDyPB3B.js"></script>
54
+ <link rel="stylesheet" crossorigin href="/assets/index-CbTRSuOH.css">
65
55
  </head>
66
56
  <body>
67
57
  <div id="root"></div>