decocms 4.574.10 → 4.575.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 (407) hide show
  1. package/dist/client/assets/{AlertCircle-JrI6GhX-.js → AlertCircle-B9jzXYca.js} +1 -1
  2. package/dist/client/assets/{AreaChart-BCQgd1R0.js → AreaChart-iov00wo5.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-BY3YUYmg.js → ArrowLeft-CZ3DAg0q.js} +1 -1
  4. package/dist/client/assets/{ArrowUp-Dbd0DsFj.js → ArrowUp-Besm0IZ2.js} +1 -1
  5. package/dist/client/assets/{CartesianChart-D-__q6zo.js → CartesianChart-C3iUwk_u.js} +1 -1
  6. package/dist/client/assets/{CategoricalChart-CGbYI81w.js → CategoricalChart-O0wXlREH.js} +1 -1
  7. package/dist/client/assets/{CheckCircle-Lk0BK653.js → CheckCircle-Bg_9Wlgi.js} +1 -1
  8. package/dist/client/assets/{ChevronSelectorVertical-D-Hk_1B6.js → ChevronSelectorVertical-UvFeI9z1.js} +1 -1
  9. package/dist/client/assets/{ChevronUp-CypYcouh.js → ChevronUp-CM8EW0Js.js} +1 -1
  10. package/dist/client/assets/{CreditCard01-D4hEMIBc.js → CreditCard01-Bhqkelsq.js} +1 -1
  11. package/dist/client/assets/{Globe04-BSIf8tfY.js → Globe04-DFEQkAAl.js} +1 -1
  12. package/dist/client/assets/{Key01-CCkW71V8.js → Key01-BfEZ7hLZ.js} +1 -1
  13. package/dist/client/assets/{LinkBroken01-dVGcDCd1.js → LinkBroken01-BSh2E4ld.js} +1 -1
  14. package/dist/client/assets/{Minus-B6bCcC1a.js → Minus-Ctt_tNjY.js} +1 -1
  15. package/dist/client/assets/{Monitor01-B1R4t9_g.js → Monitor01-Cp5O9jEx.js} +1 -1
  16. package/dist/client/assets/{Play-nrEhEYaX.js → Play-DqrEB0p_.js} +1 -1
  17. package/dist/client/assets/{Plus-CXFgI-7S.js → Plus-BF39I64m.js} +1 -1
  18. package/dist/client/assets/{ReferenceLine-9SV0TNSu.js → ReferenceLine-y99E66AQ.js} +1 -1
  19. package/dist/client/assets/{SearchMd-BgyEwNMN.js → SearchMd-BCaWPluh.js} +1 -1
  20. package/dist/client/assets/{ShoppingBag01-C8w58xcy.js → ShoppingBag01-WYt5uke3.js} +1 -1
  21. package/dist/client/assets/{Sun-BbLelrLi.js → Sun-Dniq03T7.js} +1 -1
  22. package/dist/client/assets/{SwitchHorizontal01-BKQGE_Gz.js → SwitchHorizontal01-CStChVS2.js} +1 -1
  23. package/dist/client/assets/{Tool01-3EDhR0eh.js → Tool01-wiKWLRCc.js} +1 -1
  24. package/dist/client/assets/{Tooltip-BvsEJkNR.js → Tooltip-BOp5DpDI.js} +1 -1
  25. package/dist/client/assets/{Trash01-Cc7bOGxh.js → Trash01-DR_ZbB22.js} +1 -1
  26. package/dist/client/assets/{Upload01-CUdaL1MP.js → Upload01-BNm-Yhgs.js} +1 -1
  27. package/dist/client/assets/{UserSquare-CgD5WRTE.js → UserSquare-CoAnLSHH.js} +1 -1
  28. package/dist/client/assets/{Users01-D_DratJd.js → Users01-BKvz85-q.js} +1 -1
  29. package/dist/client/assets/{XClose-Ba9vOcHg.js → XClose-BH2b2x6k.js} +1 -1
  30. package/dist/client/assets/{Zap-CGLJP1Pm.js → Zap-C46fglVd.js} +1 -1
  31. package/dist/client/assets/{access-gate-BkmPTKhe.js → access-gate-CJaU-ahh.js} +1 -1
  32. package/dist/client/assets/{add-connection-dialog-CfkDdpLR.js → add-connection-dialog-Es48OMbQ.js} +1 -1
  33. package/dist/client/assets/agent-app-CgaBp78a.js +1 -0
  34. package/dist/client/assets/{agent-assets-CMHlV0cw.js → agent-assets-rGrpA13N.js} +1 -1
  35. package/dist/client/assets/{agent-automation-D1d_SA1s.js → agent-automation-BgcUa34j.js} +1 -1
  36. package/dist/client/assets/{agent-automations-0O6U_BaC.js → agent-automations-BgScBsF6.js} +1 -1
  37. package/dist/client/assets/{agent-calendar-B5sssWfz.js → agent-calendar-lX-y2EdU.js} +1 -1
  38. package/dist/client/assets/{agent-capabilities-Re3Rcd9U.js → agent-capabilities-BOswsmnU.js} +1 -1
  39. package/dist/client/assets/{agent-connect-sources-CEVb5ZQC.js → agent-connect-sources-Bwre-hne.js} +1 -1
  40. package/dist/client/assets/agent-deck-C5kx-WNw.js +1 -0
  41. package/dist/client/assets/{agent-e2e-DfU5GcgW.js → agent-e2e-DsGMzDFD.js} +1 -1
  42. package/dist/client/assets/agent-experiments-gaiUmFF7.js +1 -0
  43. package/dist/client/assets/agent-file-CXpwIQY7.js +1 -0
  44. package/dist/client/assets/{agent-hosting-BIVmahmR.js → agent-hosting-IG9OvJxO.js} +1 -1
  45. package/dist/client/assets/{agent-icon-De2MEsoK.js → agent-icon-B9ymJOYy.js} +1 -1
  46. package/dist/client/assets/agent-library-B-aIakkE.js +1 -0
  47. package/dist/client/assets/agent-library-file-DdeRXubH.js +1 -0
  48. package/dist/client/assets/agent-overview-Cd2TI_CO.js +1 -0
  49. package/dist/client/assets/{agent-releases-C0fMyr3d.js → agent-releases-6VNqQXqs.js} +1 -1
  50. package/dist/client/assets/agent-settings-tnifGDI-.js +1 -0
  51. package/dist/client/assets/{agent-site-editor-CA2ft33p.js → agent-site-editor-71l5SHI7.js} +1 -1
  52. package/dist/client/assets/agent-site-editor-code-ust0ErKY.js +2 -0
  53. package/dist/client/assets/agent-site-editor-content-DmOFTD5k.js +1 -0
  54. package/dist/client/assets/agent-site-editor-preview-Cr4OmiKF.js +1 -0
  55. package/dist/client/assets/agent-view-BUyaEcso.js +1 -0
  56. package/dist/client/assets/{agent-view-guard-DYNxqeX8.js → agent-view-guard-p3JMpL2i.js} +1 -1
  57. package/dist/client/assets/{ai-providers-BCNCtdBa.js → ai-providers-CO7GyDpT.js} +1 -1
  58. package/dist/client/assets/{alert-uAfMA0iM.js → alert-CQeq0vZr.js} +1 -1
  59. package/dist/client/assets/{analytics-sections-CNoqcvsB.js → analytics-sections-C-EwM79i.js} +1 -1
  60. package/dist/client/assets/{api-keys-B5T8tqGJ.js → api-keys-BQO3VvIl.js} +1 -1
  61. package/dist/client/assets/api-keys-DqZ1Dcsm.js +1 -0
  62. package/dist/client/assets/app-editor-PmWZjr_j.js +1 -0
  63. package/dist/client/assets/{asset-utils-JtmKNz_N.js → asset-utils-DuLZkUyR.js} +1 -1
  64. package/dist/client/assets/{auth-eTld9LX2.js → auth-DYk3j3P5.js} +1 -1
  65. package/dist/client/assets/{auth-catchall-Dzg-edmQ.js → auth-catchall-N-2cp0nv.js} +1 -1
  66. package/dist/client/assets/{auth-entry-BMj8fL-s.js → auth-entry-DcODwlvz.js} +1 -1
  67. package/dist/client/assets/{auth-split-layout-Cc8hsshw.js → auth-split-layout-DMz1KnE0.js} +1 -1
  68. package/dist/client/assets/{authenticate-and-persist-oauth-CIIpordz.js → authenticate-and-persist-oauth-XzlChMFG.js} +1 -1
  69. package/dist/client/assets/{automation-list-row-DzzZLBM9.js → automation-list-row-ldXN7Wg6.js} +1 -1
  70. package/dist/client/assets/{automation-runs-85Ff33Cw.js → automation-runs-Dmq-RKIH.js} +1 -1
  71. package/dist/client/assets/{automations-BEURwcUG.js → automations-CDBea8A_.js} +1 -1
  72. package/dist/client/assets/{autosend-C7zfiAZa.js → autosend-DPIl8Ow-.js} +1 -1
  73. package/dist/client/assets/{badge-Dmw39gk8.js → badge-sWV0Lz9X.js} +1 -1
  74. package/dist/client/assets/{block-document-BJPvsr5R.js → block-document-CX5LKakr.js} +3 -3
  75. package/dist/client/assets/{blocks-preview-workspace-context-DHCuGpRF.js → blocks-preview-workspace-context-C6uAIZcB.js} +1 -1
  76. package/dist/client/assets/{blocks-tab-states-UGg2OTih.js → blocks-tab-states-CWrGlMnv.js} +1 -1
  77. package/dist/client/assets/{blog-schema-BCoxbBJ-.js → blog-schema-CAFArFfZ.js} +1 -1
  78. package/dist/client/assets/{buckets-BHmMQmes.js → buckets-CHiB8kSO.js} +1 -1
  79. package/dist/client/assets/{build-improve-prompt-doc-CtCZmE42.js → build-improve-prompt-doc-DWCL4Usp.js} +1 -1
  80. package/dist/client/assets/{calendar-lV1do84b.js → calendar-Doh9vx1Y.js} +1 -1
  81. package/dist/client/assets/{capability-load-error-J4cHUY10.js → capability-load-error-DAHIgRW0.js} +1 -1
  82. package/dist/client/assets/category-editor-DmF8nidy.js +1 -0
  83. package/dist/client/assets/{chart-CqpI550f.js → chart-CTBX1xJ8.js} +1 -1
  84. package/dist/client/assets/{chat-context-CkHIxm7-.js → chat-context-CMznzxL2.js} +2 -2
  85. package/dist/client/assets/{chat-draft-BiuP1YLO.js → chat-draft-8vQyW9tQ.js} +1 -1
  86. package/dist/client/assets/{checkbox-CTcmxKf9.js → checkbox-BR7eeNRm.js} +1 -1
  87. package/dist/client/assets/{choose-editor-BMMl2UBw.js → choose-editor-DsoM6Awe.js} +1 -1
  88. package/dist/client/assets/{cli-auth-success-DzTdo4Jo.js → cli-auth-success-Dc-_DzP0.js} +1 -1
  89. package/dist/client/assets/{client-icons-CO1vrTp-.js → client-icons-DkHG_2rG.js} +1 -1
  90. package/dist/client/assets/cms-settings-editor-CZhxfLk6.js +1 -0
  91. package/dist/client/assets/{cms-store-drafts-Te00tOIa.js → cms-store-drafts-DAUHqZGa.js} +1 -1
  92. package/dist/client/assets/{collapsible-Cef981-n.js → collapsible-BzRZ6mh6.js} +1 -1
  93. package/dist/client/assets/{collection-detail-CimaYbt8.js → collection-detail-of5InSbt.js} +1 -1
  94. package/dist/client/assets/{collection-display-button-DIAxsEaA.js → collection-display-button-DzdTSCUS.js} +1 -1
  95. package/dist/client/assets/{collection-search-RPq6faeR.js → collection-search-CnHLg8Vx.js} +1 -1
  96. package/dist/client/assets/{collection-table-wrapper-CFc_pRSp.js → collection-table-wrapper-BmuSLoPK.js} +1 -1
  97. package/dist/client/assets/{collection-tabs-DZtyDg8t.js → collection-tabs-7Ya9gAB2.js} +1 -1
  98. package/dist/client/assets/{combobox-C7gjhmEU.js → combobox-B41se5lV.js} +1 -1
  99. package/dist/client/assets/{command-D_vABNVv.js → command-CG66jyhm.js} +1 -1
  100. package/dist/client/assets/{companion-mcps-section-lJWCKZlX.js → companion-mcps-section-mNALQnmz.js} +1 -1
  101. package/dist/client/assets/{config-e0Nvtw2Y.js → config-Bebmx21W.js} +1 -1
  102. package/dist/client/assets/{connect-DZp46x-D.js → connect-BOxbOowz.js} +3 -3
  103. package/dist/client/assets/{connect-layout-DV6kyauB.js → connect-layout-CRU0oD9B.js} +1 -1
  104. package/dist/client/assets/{connect-source-dialog-DePhFcrr.js → connect-source-dialog-Do1Ol7Lc.js} +1 -1
  105. package/dist/client/assets/{connection-BvqfkXwo.js → connection-CyPXBq-_.js} +1 -1
  106. package/dist/client/assets/{connection-card-BDFmpEai.js → connection-card-DxMw_ATi.js} +1 -1
  107. package/dist/client/assets/{connection-detail-CAgTUs6Z.js → connection-detail-BQWnbjuT.js} +1 -1
  108. package/dist/client/assets/{connection-form-helpers-EN5T3lTJ.js → connection-form-helpers-C2XDuc-v.js} +1 -1
  109. package/dist/client/assets/{connection-slug-CfDyadIo.js → connection-slug-s2iYHyhO.js} +1 -1
  110. package/dist/client/assets/{connections-BANTiWC_.js → connections-pYRqnGDq.js} +1 -1
  111. package/dist/client/assets/content-tab-DVwMjYF_.js +25 -0
  112. package/dist/client/assets/context-CRiBUcdZ.js +1 -0
  113. package/dist/client/assets/{context-menu-BFsADuow.js → context-menu-DUt7Fb0Z.js} +1 -1
  114. package/dist/client/assets/{context-shell-CdL8192k.js → context-shell-o6BvAn5f.js} +3 -3
  115. package/dist/client/assets/{core.esm-OJgsJB-k.js → core.esm-Cdwuvp6V.js} +1 -1
  116. package/dist/client/assets/{create-organization-dialog-DULZI-ch.js → create-organization-dialog-CRr0zMDH.js} +1 -1
  117. package/dist/client/assets/{device-hint-B4h7argX.js → device-hint-CzI0Cxwe.js} +1 -1
  118. package/dist/client/assets/{discover-BJlgFEIL.js → discover-DV2xyl-v.js} +1 -1
  119. package/dist/client/assets/{domain-settings-CT--UdMT.js → domain-settings-BpStC20M.js} +1 -1
  120. package/dist/client/assets/{drawer-B-H4hfQm.js → drawer-Bl-xKJR_.js} +1 -1
  121. package/dist/client/assets/{editor-CsGz7SqJ.js → editor-CozvZeDY.js} +1 -1
  122. package/dist/client/assets/{editor-classes-_nt7TZ0L.js → editor-classes-C0VdDFt2.js} +1 -1
  123. package/dist/client/assets/{empty-state-BMJVmWPT.js → empty-state-BY5AuJfU.js} +1 -1
  124. package/dist/client/assets/{empty-state-B9Q-olZe.js → empty-state-DjPM3fy8.js} +1 -1
  125. package/dist/client/assets/{experiments-tab-choice-rmEY3th7.js → experiments-tab-choice-DxHtCgvZ.js} +1 -1
  126. package/dist/client/assets/{extract-connection-data-CWUwzdyr.js → extract-connection-data-CzRa4dsB.js} +1 -1
  127. package/dist/client/assets/{feature-gate-Cd7EozQO.js → feature-gate-CecpbIeh.js} +1 -1
  128. package/dist/client/assets/{feature-paywall-XlPt677B.js → feature-paywall-AuKILmgq.js} +1 -1
  129. package/dist/client/assets/{file-explorer-BOVoci0C.js → file-explorer-Djczlqyv.js} +1 -1
  130. package/dist/client/assets/{file-preview-DMLj4MCU.js → file-preview-BoSukKv4.js} +1 -1
  131. package/dist/client/assets/{file-share-button-CvkBxFom.js → file-share-button-BipY8VKx.js} +2 -2
  132. package/dist/client/assets/{file-type-icon-g9-x3_cf.js → file-type-icon-BKtgVCvA.js} +1 -1
  133. package/dist/client/assets/{folder-icon-CA-yyvjC.js → folder-icon-B6Pmbu2w.js} +1 -1
  134. package/dist/client/assets/{form-D9ocAu49.js → form-BcinmXce.js} +1 -1
  135. package/dist/client/assets/{general-BVROjYSK.js → general-Cfumen7X.js} +1 -1
  136. package/dist/client/assets/{github-icon-BuHFJx0u.js → github-icon-lmZhrKkb.js} +1 -1
  137. package/dist/client/assets/{home-CZO-BAxK.js → home-BXszjMgA.js} +1 -1
  138. package/dist/client/assets/{home-overview-Dgo7cAUD.js → home-overview-CBvIMZLG.js} +1 -1
  139. package/dist/client/assets/{hosted-reconcile-CiKTWXGS.js → hosted-reconcile-BwRf3Rhf.js} +1 -1
  140. package/dist/client/assets/{icon-button-cmhhff3C.js → icon-button-BKgqvpeC.js} +1 -1
  141. package/dist/client/assets/index-69S-cBsb.css +1 -0
  142. package/dist/client/assets/index-B-8lp_z-.js +69 -0
  143. package/dist/client/assets/{index-CpKrWBFM.js → index-B1ZvlDM_.js} +37 -37
  144. package/dist/client/assets/{index-BqpQ0Oz6.js → index-BjRujN3I.js} +1 -1
  145. package/dist/client/assets/index-Bmgq1LY9.js +1 -0
  146. package/dist/client/assets/{index-CERqFrvp.js → index-BpS3zp32.js} +1 -1
  147. package/dist/client/assets/{index-DIv66EvA.js → index-BrNhih9e.js} +1 -1
  148. package/dist/client/assets/index-C521Vo2d.js +15 -0
  149. package/dist/client/assets/{index-BvcpEDRp.js → index-CE2oWWvQ.js} +1 -1
  150. package/dist/client/assets/{index-Cu0X1Ryu.js → index-CtHyBR3B.js} +1 -1
  151. package/dist/client/assets/{index-Xu3sMDdX.js → index-CuAzu2ov.js} +3 -3
  152. package/dist/client/assets/{index-DfCff2zl.js → index-Ddc_z0Ej.js} +1 -1
  153. package/dist/client/assets/{index-CCr5d-bq.js → index-DnYGmBYM.js} +1 -1
  154. package/dist/client/assets/{index-BgS_wSN7.js → index-Dodcj-Mw.js} +1 -1
  155. package/dist/client/assets/{index-BWVe-okg.js → index-dh7qVpYI.js} +1 -1
  156. package/dist/client/assets/{index-B2f89yTC.js → index-mDEdivEJ.js} +1 -1
  157. package/dist/client/assets/{index-BH-yAxyT.js → index-rTnBA7ms.js} +1 -1
  158. package/dist/client/assets/{index-redirect-3g0WbUIU.js → index-redirect-BDzsF49E.js} +1 -1
  159. package/dist/client/assets/{index-DYOJSKNv.js → index-zu23C60L.js} +1 -1
  160. package/dist/client/assets/{infiniteQueryObserver-DB_1TZXQ.js → infiniteQueryObserver-CmW3uI_C.js} +1 -1
  161. package/dist/client/assets/{infra-billing-BkNwG0At.js → infra-billing-Xe-QR_aA.js} +1 -1
  162. package/dist/client/assets/{input-CetABZ1t.js → input-BWMKGiG7.js} +1 -1
  163. package/dist/client/assets/{input-BFegQsoJ.js → input-DKvkNLxc.js} +3 -3
  164. package/dist/client/assets/{integration-icon-B40Wh7Yg.js → integration-icon-UdqaK4j5.js} +1 -1
  165. package/dist/client/assets/{jira-icon-DRT1LjUg.js → jira-icon-BXLlnoMi.js} +1 -1
  166. package/dist/client/assets/{label-BfDWtWVd.js → label-PfhFwXDB.js} +1 -1
  167. package/dist/client/assets/{layout-D6GIbXPf.js → layout-LjvCD25R.js} +1 -1
  168. package/dist/client/assets/{legacy-admin-welcome-dialog-CWnygl8t.js → legacy-admin-welcome-dialog-F7XO8XgZ.js} +1 -1
  169. package/dist/client/assets/{legacy-agents-deep-BON-Uap3.js → legacy-agents-deep-Ch8Xa93t.js} +1 -1
  170. package/dist/client/assets/{legacy-main-redirect-7K4gzdWJ.js → legacy-main-redirect-BPNo4KOA.js} +1 -1
  171. package/dist/client/assets/library-DmUN8KJK.js +1 -0
  172. package/dist/client/assets/{library-tab-cPvE59qy.js → library-tab-BSfDHVvp.js} +1 -1
  173. package/dist/client/assets/{login-B1LerdGj.js → login-CoFOfP_J.js} +1 -1
  174. package/dist/client/assets/{markdown-76gpdRfx.js → markdown-Mrho5aZm.js} +7 -7
  175. package/dist/client/assets/{mcp-app-renderer-D2ApozFH.js → mcp-app-renderer-OepBm0xf.js} +1 -1
  176. package/dist/client/assets/{mcp-oauth-Ciaq70yo.js → mcp-oauth-CPNuaTw2.js} +1 -1
  177. package/dist/client/assets/{mcp-oauth-Cv9nCTWQ.js → mcp-oauth-D2A3WCc8.js} +1 -1
  178. package/dist/client/assets/{members-DhpI2yjO.js → members-BUCQXk_Z.js} +1 -1
  179. package/dist/client/assets/{memory-C2cklx-U.js → memory-BvgLbCaa.js} +1 -1
  180. package/dist/client/assets/{mock-board-DMtyKhZF.js → mock-board-CkAh1xfR.js} +3 -3
  181. package/dist/client/assets/{monaco-editor-B1sfLlbf.js → monaco-editor-g0g8FNXa.js} +1 -1
  182. package/dist/client/assets/{monitoring-Cko11Af4.js → monitoring-C21z2Ky6.js} +1 -1
  183. package/dist/client/assets/{monitoring-stats-row-CNgZcKxB.js → monitoring-stats-row-CVBzJu2Z.js} +1 -1
  184. package/dist/client/assets/{multi-select-C403rRdD.js → multi-select-BAtpYbAh.js} +1 -1
  185. package/dist/client/assets/{mustache-e4HtHwg-.js → mustache-D54jyG9D.js} +3 -3
  186. package/dist/client/assets/{named-rule-view-Cc1641XV.js → named-rule-view-CT0WGqZQ.js} +1 -1
  187. package/dist/client/assets/{new-project-dialog-CBKXLl_5.js → new-project-dialog-C3_nj5Ml.js} +1 -1
  188. package/dist/client/assets/{oauth-callback-B-w7X7CW.js → oauth-callback-CBi7ICt6.js} +1 -1
  189. package/dist/client/assets/{oauth-callback-ai-provider-BAYGboHu.js → oauth-callback-ai-provider-Dk0zoYp5.js} +1 -1
  190. package/dist/client/assets/{oauth-consent-CoxfO_xS.js → oauth-consent-CuhoZHL3.js} +1 -1
  191. package/dist/client/assets/{onboarding-7GiDV_a-.js → onboarding-Cng8wY1E.js} +1 -1
  192. package/dist/client/assets/{openai-conversation-CWwnbl62.js → openai-conversation-DiGdZuyX.js} +1 -1
  193. package/dist/client/assets/{optimistic-project-sidebar-views-BktmZYTP.js → optimistic-project-sidebar-views-BOc7d1-I.js} +1 -1
  194. package/dist/client/assets/{order-monitor-day-DCrwQKXh.js → order-monitor-day-DvvGpgk-.js} +1 -1
  195. package/dist/client/assets/{organization-choice--RCqz3ju.js → organization-choice-DNs_V-xg.js} +1 -1
  196. package/dist/client/assets/{orgs-tCNrRFKw.js → orgs-BLLV0cjQ.js} +1 -1
  197. package/dist/client/assets/{own-accounts-section-ChZriIwH.js → own-accounts-section-C_JhIm_f.js} +1 -1
  198. package/dist/client/assets/{pair-tmC6PpOp.js → pair-BZWd7l8i.js} +7 -7
  199. package/dist/client/assets/parse-sections-Chh4kibB.js +20 -0
  200. package/dist/client/assets/plan-C2Rwz4yq.js +1 -0
  201. package/dist/client/assets/{plan-ladder-DK7Z5wEN.js → plan-ladder-C_hexrUw.js} +1 -1
  202. package/dist/client/assets/{plan-usage-card-DHkPqm05.js → plan-usage-card-BoQTuswG.js} +1 -1
  203. package/dist/client/assets/{popover-DsnoY7gE.js → popover-Bmr7L36n.js} +1 -1
  204. package/dist/client/assets/post-calendar-DMhH6lZl.js +1 -0
  205. package/dist/client/assets/post-editor-BXvu8EpI.js +2 -0
  206. package/dist/client/assets/{preview-content-W28O7oBF.js → preview-content-DYnkU4UJ.js} +1 -1
  207. package/dist/client/assets/{preview-dialog-DS-Ukev2.js → preview-dialog-DNx4X2e9.js} +1 -1
  208. package/dist/client/assets/{preview-panel-CtHwojzA.js → preview-panel-CvviPuHY.js} +1 -1
  209. package/dist/client/assets/{preview-tab-B7WKX_jB.js → preview-tab-BNjaDwVm.js} +3 -3
  210. package/dist/client/assets/{product-picker-dialog-DbnA1q8B.js → product-picker-dialog-H-c7S_y6.js} +1 -1
  211. package/dist/client/assets/{profile-6j9OcP2L.js → profile-CIr-8Y5O.js} +1 -1
  212. package/dist/client/assets/{project-app-view-TULDeLlR.js → project-app-view-AO2FGSd6.js} +1 -1
  213. package/dist/client/assets/{project-apps-B8XrqASg.js → project-apps-DBCPlxgH.js} +1 -1
  214. package/dist/client/assets/{project-icon-SG6bYAhL.js → project-icon-CmnD7zSI.js} +1 -1
  215. package/dist/client/assets/{project-index-CKqx4tH5.js → project-index-DSLcGnuq.js} +1 -1
  216. package/dist/client/assets/project-reports-S-kufFKe.js +1 -0
  217. package/dist/client/assets/project-tasks-wzF7Jhs-.js +1 -0
  218. package/dist/client/assets/{projects-ZPSZzS-2.js → projects-ChZ6VlDP.js} +1 -1
  219. package/dist/client/assets/{projects-empty-state-D0MMQ8sq.js → projects-empty-state-DAlIDaDL.js} +1 -1
  220. package/dist/client/assets/{prompts-9qkglIAd.js → prompts-Bvb1OOOC.js} +1 -1
  221. package/dist/client/assets/record-editor-N9NTN0AS.js +1 -0
  222. package/dist/client/assets/redirect-editor-Cr2marAT.js +1 -0
  223. package/dist/client/assets/{reports-DCT8OLXu.js → reports-BXChVA2M.js} +1 -1
  224. package/dist/client/assets/{reports-onboarding-Co5Q5X1T.js → reports-onboarding-mCk-w7k-.js} +1 -1
  225. package/dist/client/assets/reports-sZEBLifc.js +1 -0
  226. package/dist/client/assets/{reports-tab-CUX0tKBD.js → reports-tab-DE8i-fZN.js} +2 -2
  227. package/dist/client/assets/repositories-BgBZ-sk3.js +1 -0
  228. package/dist/client/assets/{repositories-BN38EwkA.js → repositories-DBxw960j.js} +1 -1
  229. package/dist/client/assets/{repository-binding-FcrTKkLc.js → repository-binding-CoMozV78.js} +1 -1
  230. package/dist/client/assets/{repository-picker-uDInunvt.js → repository-picker-Ds67iMZ7.js} +1 -1
  231. package/dist/client/assets/{require-capability-CLtIqMdo.js → require-capability-C9oBXOPC.js} +1 -1
  232. package/dist/client/assets/{required-auth-layout-DYY0v5vc.js → required-auth-layout-BZsZN7yA.js} +1 -1
  233. package/dist/client/assets/{reset-password-DXzM6d6N.js → reset-password-7T8Amd8g.js} +1 -1
  234. package/dist/client/assets/{resizable-Cwvumcp8.js → resizable-CMMESj2f.js} +1 -1
  235. package/dist/client/assets/{resolve-tab-icon-CpKqYylc.js → resolve-tab-icon-CWFgluny.js} +1 -1
  236. package/dist/client/assets/{review-settings-DhXUecFY.js → review-settings-CcRoafom.js} +1 -1
  237. package/dist/client/assets/{role-color-Bmggoorj.js → role-color-BGMgsms5.js} +1 -1
  238. package/dist/client/assets/{roles-CDov6Epa.js → roles-D_ANLmLE.js} +1 -1
  239. package/dist/client/assets/route-Bl9oqEzn.js +1 -0
  240. package/dist/client/assets/{route-ByenP2AC.js → route-CVEfwKUb.js} +1 -1
  241. package/dist/client/assets/route-OcK1C2mu.js +1 -0
  242. package/dist/client/assets/{sandbox-lifecycle-context-CWyZPDgB.js → sandbox-lifecycle-context-Df97dN_A.js} +1 -1
  243. package/dist/client/assets/{schema-BzPNqisL.js → schema-C8mn4zzt.js} +1 -1
  244. package/dist/client/assets/{schema-BtgOmeu0.js → schema-PUU_l55-.js} +1 -1
  245. package/dist/client/assets/{scroll-area-BetFFhjH.js → scroll-area-DPYxTk2f.js} +1 -1
  246. package/dist/client/assets/{search-input-B143wE4b.js → search-input-CxiWeJ7M.js} +1 -1
  247. package/dist/client/assets/{search-toggle-B60V5fY3.js → search-toggle-B2er_d2D.js} +1 -1
  248. package/dist/client/assets/{secret-picker-0dwjcuZ2.js → secret-picker-BGN25hQY.js} +1 -1
  249. package/dist/client/assets/{secrets-CaFiB2gJ.js → secrets-CdS0pLko.js} +1 -1
  250. package/dist/client/assets/{section-array-field-BGVc7GN5.js → section-array-field-CP-WbNwo.js} +1 -1
  251. package/dist/client/assets/{sections-7hWvDZxF.js → sections-B2VbhORA.js} +1 -1
  252. package/dist/client/assets/{sections-editor-DV62ul9c.js → sections-editor-DrJZD-K0.js} +1 -1
  253. package/dist/client/assets/{select-CynqC93H.js → select-DwKpuPDv.js} +1 -1
  254. package/dist/client/assets/{select-model-pbBNqCJO.js → select-model-CYqVBHX-.js} +1 -1
  255. package/dist/client/assets/{seo-editor-D_-BHzsC.js → seo-editor-BZHEYA-M.js} +1 -1
  256. package/dist/client/assets/{separator-BstUCndM.js → separator-ygeWiuaT.js} +1 -1
  257. package/dist/client/assets/settings-tab-DAogag92.js +1 -0
  258. package/dist/client/assets/{sheet-DRzohuTq.js → sheet-Xug5hLAu.js} +1 -1
  259. package/dist/client/assets/{shell-layout-yWlnACBx.js → shell-layout-DP2VC2TO.js} +1 -1
  260. package/dist/client/assets/{site-draft-actions-CezwaYzG.js → site-draft-actions-CwKZJ4xP.js} +1 -1
  261. package/dist/client/assets/{site-draft-view-D3ax_gON.js → site-draft-view-DqJzkrit.js} +1 -1
  262. package/dist/client/assets/site-editor-DBJLt6gM.js +1 -0
  263. package/dist/client/assets/{site-editor-toast-BzBdZBKk.js → site-editor-toast-C2KJeS5V.js} +1 -1
  264. package/dist/client/assets/{skills-BVynzZAe.js → skills-KjFJGU5i.js} +1 -1
  265. package/dist/client/assets/{slider-CVqkGq0u.js → slider-B0Ygf2_6.js} +1 -1
  266. package/dist/client/assets/{sortable.esm-CLb-zEUc.js → sortable.esm-b0bgkepL.js} +1 -1
  267. package/dist/client/assets/{sso-D3L3bPHO.js → sso-BRHmZu4z.js} +1 -1
  268. package/dist/client/assets/{suggestion-ZPwpaecb.js → suggestion-x1hGwkT4.js} +2 -2
  269. package/dist/client/assets/{super-agent-icon-CYwYFCF-.js → super-agent-icon-DVvWAvfT.js} +1 -1
  270. package/dist/client/assets/{switch-DVFRbC37.js → switch-B89m7bUN.js} +1 -1
  271. package/dist/client/assets/{synced-repos-CvJMz8IM.js → synced-repos-GWj1dwBE.js} +1 -1
  272. package/dist/client/assets/{tab-icon-glyph-CSVQlnge.js → tab-icon-glyph-izlIxfMt.js} +1 -1
  273. package/dist/client/assets/{table-B7g6T_zR.js → table-lum-yHpJ.js} +1 -1
  274. package/dist/client/assets/{tabs-_i5AcyEU.js → tabs-qmDGzXtn.js} +1 -1
  275. package/dist/client/assets/{task-board-CwSJI_Nh.js → task-board-CITA4beV.js} +1 -1
  276. package/dist/client/assets/{task-route-DHnjMT6H.js → task-route-DLxggJ7K.js} +1 -1
  277. package/dist/client/assets/{task-status-CoCBESax.js → task-status-DDIH9CGS.js} +1 -1
  278. package/dist/client/assets/{taskboard-analytics-CkN-nZww.js → taskboard-analytics-B4G_sBgg.js} +1 -1
  279. package/dist/client/assets/{tasks-CvuI8Qsn.js → tasks-DbElIgy9.js} +1 -1
  280. package/dist/client/assets/tasks-Df6DY3du.js +1 -0
  281. package/dist/client/assets/{textarea-BJYFhWH0.js → textarea-BYx7yH8o.js} +1 -1
  282. package/dist/client/assets/{thread-analytics-CDKp0-KR.js → thread-analytics-D3o9NsHQ.js} +1 -1
  283. package/dist/client/assets/{thread-intent-CaOco8G4.js → thread-intent-BMcVCMdR.js} +1 -1
  284. package/dist/client/assets/{thread-route-Ddday1Ur.js → thread-route-BX8g4tw-.js} +1 -1
  285. package/dist/client/assets/{thread-route-J75JIOlK.js → thread-route-jIR4gAI_.js} +1 -1
  286. package/dist/client/assets/{thread-sheet-body-BRKc6pTX.js → thread-sheet-body-BaVm1ZBO.js} +1 -1
  287. package/dist/client/assets/{time-range-picker-DFFd7aW8.js → time-range-picker-EQi5kb2q.js} +1 -1
  288. package/dist/client/assets/{toggle-group-u9Wi3ddU.js → toggle-group-6Dx2ZnVa.js} +1 -1
  289. package/dist/client/assets/{tool-namespace-MYfklNim.js → tool-namespace-C8tIomG8.js} +1 -1
  290. package/dist/client/assets/{tool-set-selector-ByaGzWxc.js → tool-set-selector-Dzh4gju3.js} +1 -1
  291. package/dist/client/assets/{toolbar-icon-button-DWFGDofy.js → toolbar-icon-button-qX2Q8Vi7.js} +1 -1
  292. package/dist/client/assets/{tooltip-BN1ul0v0.js → tooltip-D2vb17oX.js} +1 -1
  293. package/dist/client/assets/{tooltipContext-DYJdhWXE.js → tooltipContext-bN8koyv-.js} +1 -1
  294. package/dist/client/assets/{track-BvwOMvDA.js → track-Bx9-uk2h.js} +1 -1
  295. package/dist/client/assets/{types-CZmkZk5S.js → types-Dynv4Wt5.js} +1 -1
  296. package/dist/client/assets/{url-slug-yKaykGVx.js → url-slug-Dqg9nWvP.js} +1 -1
  297. package/dist/client/assets/{usage-stats-B-U2im7t.js → usage-stats-BxAReiDs.js} +32 -32
  298. package/dist/client/assets/{use-ai-providers-DMerS0dR.js → use-ai-providers-CtG5BelZ.js} +1 -1
  299. package/dist/client/assets/{use-apply-named-rule-B_pcj1fJ.js → use-apply-named-rule-DHBY1E38.js} +1 -1
  300. package/dist/client/assets/use-ask-in-chat-B2dGYQPJ.js +1 -0
  301. package/dist/client/assets/{use-automations-CotbuTIN.js → use-automations-TW0JJdqx.js} +1 -1
  302. package/dist/client/assets/{use-autosave-BMHCMWOG.js → use-autosave-BezOS47T.js} +1 -1
  303. package/dist/client/assets/use-blocks-v8-project-Dx_FWHJP.js +1 -0
  304. package/dist/client/assets/{use-chat-layout-state-CKlzZSFB.js → use-chat-layout-state-CakVfv2a.js} +1 -1
  305. package/dist/client/assets/{use-cms-publish-actions-B18WgFwx.js → use-cms-publish-actions-DPLfPXzl.js} +1 -1
  306. package/dist/client/assets/{use-connect-companion-CP2lbL5p.js → use-connect-companion-xyuasG3f.js} +1 -1
  307. package/dist/client/assets/{use-connection-Yeg3sQ-l.js → use-connection-DYtXLDpf.js} +1 -1
  308. package/dist/client/assets/{use-content-sync-DEW9pHRa.js → use-content-sync-BpVEjJ5G.js} +1 -1
  309. package/dist/client/assets/{use-copy-m2oUJF7G.js → use-copy-B1cnS_xX.js} +1 -1
  310. package/dist/client/assets/{use-date-fns-locale-7jMzA5l2.js → use-date-fns-locale-DEbdWDOa.js} +1 -1
  311. package/dist/client/assets/{use-debounced-autosave-C-UsjeaV.js → use-debounced-autosave-CvHwbalF.js} +1 -1
  312. package/dist/client/assets/{use-debounced-value-BlVaTHev.js → use-debounced-value-Z34m5Fyz.js} +1 -1
  313. package/dist/client/assets/{use-deco-credits-BvPiIPxy.js → use-deco-credits-DCZQcwBn.js} +1 -1
  314. package/dist/client/assets/{use-decopilot-events-B0PBK1Av.js → use-decopilot-events-_iazqvpf.js} +1 -1
  315. package/dist/client/assets/{use-delete-connection-DExrJh9G.js → use-delete-connection-M267X1bS.js} +1 -1
  316. package/dist/client/assets/{use-deployment-admin-CRigQkc2.js → use-deployment-admin-DOzhh6sJ.js} +1 -1
  317. package/dist/client/assets/{use-entitlements-Bn1lpTMW.js → use-entitlements-DZIIouH3.js} +1 -1
  318. package/dist/client/assets/{use-fast-preview-draft-url-kLM5HS2Q.js → use-fast-preview-draft-url-DSbBc_J-.js} +1 -1
  319. package/dist/client/assets/{use-file-configs-D7MvTYxK.js → use-file-configs-hDEnq4hr.js} +1 -1
  320. package/dist/client/assets/{use-id-selection-BA3JsAi6.js → use-id-selection-CcHW6d6u.js} +1 -1
  321. package/dist/client/assets/{use-inbox-feed-DwHoJq6j.js → use-inbox-feed-BQSYPM61.js} +1 -1
  322. package/dist/client/assets/{use-infinite-scroll-C87qe8Wa.js → use-infinite-scroll-lJK8P9ZI.js} +1 -1
  323. package/dist/client/assets/{use-join-requests-qfP8I5hc.js → use-join-requests-sJWVcnYg.js} +1 -1
  324. package/dist/client/assets/{use-main-panel-tabs-CPwSHrEE.js → use-main-panel-tabs-C788lFWw.js} +1 -1
  325. package/dist/client/assets/{use-mcp-auth-status-BqFL1hj_.js → use-mcp-auth-status-CgZY_gyC.js} +1 -1
  326. package/dist/client/assets/{use-mcp-client-sJ5tYuZ0.js → use-mcp-client-C_baTEme.js} +1 -1
  327. package/dist/client/assets/{use-mcp-prompts-CLTd7fVx.js → use-mcp-prompts-DpQotIu-.js} +1 -1
  328. package/dist/client/assets/{use-mcp-tools-Ds_pRYTC.js → use-mcp-tools-CVQwrVGE.js} +1 -1
  329. package/dist/client/assets/{use-mobile-Ca0mzlkS.js → use-mobile-CzZEBajI.js} +1 -1
  330. package/dist/client/assets/{use-move-blocks-C4yvAsmR.js → use-move-blocks-CeecxxS_.js} +1 -1
  331. package/dist/client/assets/{use-navigate-to-agent-Cxr48619.js → use-navigate-to-agent-BMQllV2g.js} +1 -1
  332. package/dist/client/assets/{use-org-fs-noLXcqcI.js → use-org-fs-hvIlZzgN.js} +1 -1
  333. package/dist/client/assets/{use-org-repo-syncs-PTxVSrm9.js → use-org-repo-syncs-C0ZbZ18y.js} +1 -1
  334. package/dist/client/assets/{use-org-sso-29QrT10j.js → use-org-sso-C9hOcGok.js} +1 -1
  335. package/dist/client/assets/{use-organization-settings-DEeoFtSz.js → use-organization-settings-D9HfcuG0.js} +1 -1
  336. package/dist/client/assets/{use-project-native-view-presence-BO67nAre.js → use-project-native-view-presence-FcTxBNIu.js} +1 -1
  337. package/dist/client/assets/{use-project-scope-BXftze_e.js → use-project-scope-yhiZWd6i.js} +1 -1
  338. package/dist/client/assets/{use-recent-apps-CIrhZcWD.js → use-recent-apps-CtwsvbPj.js} +1 -1
  339. package/dist/client/assets/{use-reports-diagnostic-oIW-vWNT.js → use-reports-diagnostic-BP7gBCmu.js} +1 -1
  340. package/dist/client/assets/{use-sandbox-events-BG3ieUWQ.js → use-sandbox-events-rlHOSL_u.js} +1 -1
  341. package/dist/client/assets/{use-secrets-DkEnO-x0.js → use-secrets-CjzhxUFP.js} +1 -1
  342. package/dist/client/assets/{use-section-preview-base-BjAgfXf5.js → use-section-preview-base-BRTpm92u.js} +1 -1
  343. package/dist/client/assets/{use-sidebar-collapsed-CvNtqVy2.js → use-sidebar-collapsed-DTqL_ZOd.js} +1 -1
  344. package/dist/client/assets/{use-tags-BHiGxU75.js → use-tags-v5mP3DFy.js} +1 -1
  345. package/dist/client/assets/{use-task-board-analytics-Ckz7K9Sk.js → use-task-board-analytics-CXbWAJgx.js} +1 -1
  346. package/dist/client/assets/{use-task-board-events-N3Hmav6X.js → use-task-board-events-Do0ZxHPd.js} +1 -1
  347. package/dist/client/assets/{use-task-board-item-prs-BrW26Cl1.js → use-task-board-item-prs-DjTo2SIU.js} +1 -1
  348. package/dist/client/assets/{use-task-board-items-Boto1WTW.js → use-task-board-items-8MOWqSEt.js} +1 -1
  349. package/dist/client/assets/{use-task-board-prompts-BU1x5m9R.js → use-task-board-prompts-ECSdw-Pb.js} +1 -1
  350. package/dist/client/assets/{use-task-metadata-BB2iYALn.js → use-task-metadata-X9Mil_QT.js} +1 -1
  351. package/dist/client/assets/{use-thread-outputs-BUT_Bu11.js → use-thread-outputs-Dmf6zhrt.js} +1 -1
  352. package/dist/client/assets/{use-voice-input-BlXyivEI.js → use-voice-input-BJwAU8da.js} +1 -1
  353. package/dist/client/assets/useInfiniteQuery-CvokX1at.js +1 -0
  354. package/dist/client/assets/{useQueries-B4AI0K7c.js → useQueries-DOrZn37R.js} +1 -1
  355. package/dist/client/assets/useSuspenseInfiniteQuery-BiaFhRxh.js +1 -0
  356. package/dist/client/assets/{users-BJUWBQrO.js → users-Daf6ssOQ.js} +1 -1
  357. package/dist/client/assets/{utils-Cwe-foul.js → utils-DfZ0Z1Cp.js} +2 -2
  358. package/dist/client/assets/{variant-calendar-DTdamyQ9.js → variant-calendar-C_C-crL9.js} +1 -1
  359. package/dist/client/assets/{variant-matcher-override-Ve07uZhZ.js → variant-matcher-override-DNI0CzKx.js} +1 -1
  360. package/dist/client/assets/{view-header-CcqynLIn.js → view-header-B99QN9EG.js} +1 -1
  361. package/dist/client/assets/virtual-mcp-CbvCEWCq.js +1 -0
  362. package/dist/client/assets/{watch-sse-pool-C6-OWpzA.js → watch-sse-pool-D0y06VhU.js} +1 -1
  363. package/dist/client/index.html +2 -2
  364. package/dist/server/server.js +2 -2
  365. package/package.json +1 -1
  366. package/dist/client/assets/agent-app-DIOn_zxU.js +0 -1
  367. package/dist/client/assets/agent-deck-D8sIhHcl.js +0 -1
  368. package/dist/client/assets/agent-experiments-CTwWI_LC.js +0 -1
  369. package/dist/client/assets/agent-file-tQpTdSLO.js +0 -1
  370. package/dist/client/assets/agent-library-C8-K4C_A.js +0 -1
  371. package/dist/client/assets/agent-library-file-CUAfUV8b.js +0 -1
  372. package/dist/client/assets/agent-overview-BA99Kh7t.js +0 -1
  373. package/dist/client/assets/agent-settings-BLtzbihE.js +0 -1
  374. package/dist/client/assets/agent-site-editor-code-Cz02M8Vo.js +0 -2
  375. package/dist/client/assets/agent-site-editor-content-BR1zYqRC.js +0 -1
  376. package/dist/client/assets/agent-site-editor-preview-DmnTxDaZ.js +0 -1
  377. package/dist/client/assets/agent-view-zCDPmtYP.js +0 -1
  378. package/dist/client/assets/api-keys-JGOPVjRU.js +0 -1
  379. package/dist/client/assets/app-editor-DToZlbxJ.js +0 -1
  380. package/dist/client/assets/category-editor-DCkmHYcQ.js +0 -1
  381. package/dist/client/assets/cms-settings-editor-CBpfvEej.js +0 -1
  382. package/dist/client/assets/content-tab-Df3tIOmt.js +0 -25
  383. package/dist/client/assets/context-C2o5DQEj.js +0 -1
  384. package/dist/client/assets/index-BYag0D9X.js +0 -83
  385. package/dist/client/assets/index-BkJtJQz4.css +0 -1
  386. package/dist/client/assets/index-Bu4stMck.js +0 -1
  387. package/dist/client/assets/library-DSOuf5_0.js +0 -1
  388. package/dist/client/assets/parse-sections-3ze3XXop.js +0 -20
  389. package/dist/client/assets/plan-BbVPxdYG.js +0 -1
  390. package/dist/client/assets/post-calendar-kAnC_2Hm.js +0 -1
  391. package/dist/client/assets/post-editor-DJ3OH6KB.js +0 -2
  392. package/dist/client/assets/project-reports-DBO5X-h0.js +0 -1
  393. package/dist/client/assets/project-tasks-CfmD3VHL.js +0 -1
  394. package/dist/client/assets/record-editor-BnGOXmOt.js +0 -1
  395. package/dist/client/assets/redirect-editor-OjmSo149.js +0 -1
  396. package/dist/client/assets/reports-DoGHDSe5.js +0 -1
  397. package/dist/client/assets/repositories-btzaY915.js +0 -1
  398. package/dist/client/assets/route-f2InXsa9.js +0 -1
  399. package/dist/client/assets/route-t1xHDXK-.js +0 -1
  400. package/dist/client/assets/settings-tab-CPJwJyA3.js +0 -1
  401. package/dist/client/assets/site-editor-cTg-Jmis.js +0 -1
  402. package/dist/client/assets/tasks-DZsRgr7r.js +0 -1
  403. package/dist/client/assets/use-ask-in-chat-DO48HVtQ.js +0 -1
  404. package/dist/client/assets/use-blocks-v8-project-2aeIHOAc.js +0 -1
  405. package/dist/client/assets/useInfiniteQuery-Dn6_bz5e.js +0 -1
  406. package/dist/client/assets/useSuspenseInfiniteQuery-FPhi-YvF.js +0 -1
  407. package/dist/client/assets/virtual-mcp-DvDiWLao.js +0 -1
@@ -1 +1 @@
1
- import{eF as E,bo as y,eG as S,eH as w,ey as Q,q as k,eI as M,eJ as q,r as p,eK as x,eL as H,eM as L,eN as P,eO as v,eP as B,eQ as A}from"./index-CpKrWBFM.js";function R(r,e){const s=new Set(e);return r.filter(t=>!s.has(t))}function I(r,e,s){const t=r.slice(0);return t[e]=s,t}var T=class extends E{#i;#e;#n;#r;#s;#t;#o;#u;#h;#a=[];constructor(r,e,s){super(),this.#i=r,this.#r=s,this.#n=[],this.#s=[],this.#e=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(e=>{this.#d(r,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,e){this.#n=r,this.#r=e,y.batch(()=>{const s=this.#s,t=this.#f(this.#n);t.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=t.map(o=>o.observer),n=i.map(o=>o.getCurrentResult()),u=s.length!==i.length,c=i.some((o,d)=>o!==s[d]),f=u||c,b=f?!0:n.some((o,d)=>{const g=this.#e[d];return!g||!S(o,g)});!f&&!b||(f&&(this.#a=t,this.#s=i),this.#e=n,this.hasListeners()&&(f&&(R(s,i).forEach(o=>{o.destroy()}),R(i,s).forEach(o=>{o.subscribe(d=>{this.#d(o,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,e){const s=this.#f(r),t=s.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=s.map(n=>n.defaultedQueryOptions.queryHash);return[t,n=>this.#l(n??t,e,i),()=>this.#c(t,s)]}#c(r,e){return e.map((s,t)=>{const i=r[t];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,n=>{e.forEach(u=>{u.observer.trackProp(n)})})})}#l(r,e,s){if(e){const t=this.#h,i=s!==void 0&&t!==void 0&&(t.length!==s.length||s.some((n,u)=>n!==t[u]));return(!this.#t||this.#e!==this.#u||i||e!==this.#o)&&(this.#o=e,this.#u=this.#e,s!==void 0&&(this.#h=s),this.#t=w(this.#t,e(r))),this.#t}return r}#b(){return this.#r?.combine!==void 0&&this.#s.some((r,e)=>r.options.suspense&&this.#e[e]?.data===void 0)}#f(r){const e=new Map;this.#s.forEach(t=>{const i=t.options.queryHash;if(!i)return;const n=e.get(i);n?n.push(t):e.set(i,[t])});const s=[];return r.forEach(t=>{const i=this.#i.defaultQueryOptions(t),u=e.get(i.queryHash)?.shift()??new Q(this.#i,i);s.push({defaultedQueryOptions:i,observer:u})}),s}#d(r,e){const s=this.#s.indexOf(r);s!==-1&&(this.#e=I(this.#e,s,e),this.#p())}#p(){if(this.hasListeners()){const r=this.#c(this.#e,this.#a),e=this.#b(),s=this.#t,t=e?s:this.#l(r,this.#r?.combine);(e||s!==t)&&y.batch(()=>{this.listeners.forEach(i=>{i(this.#e)})})}}};function U({queries:r,...e},s){const t=k(s),i=M(),n=q(),u=p.useMemo(()=>r.map(h=>{const a=t.defaultQueryOptions(h);return a._optimisticResults=i?"isRestoring":"optimistic",a}),[r,t,i]);u.forEach(h=>{x(h);const a=t.getQueryCache().get(h.queryHash);H(h,n,a)}),L(n);const[c]=p.useState(()=>new T(t,u,e)),[f,b,o]=c.getOptimisticResult(u,e.combine),d=!i&&e.subscribed!==!1;p.useSyncExternalStore(p.useCallback(h=>d?c.subscribe(y.batchCalls(h)):P,[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),p.useEffect(()=>{c.setQueries(u,e)},[u,e,c]);const m=f.some((h,a)=>v(u[a],h))?f.flatMap((h,a)=>{const l=u[a];if(l&&v(l,h)){const C=new Q(t,l);return B(l,C,n)}return[]}):[];if(m.length>0)throw Promise.all(m);const O=f.find((h,a)=>{const l=u[a];return l&&A({result:h,errorResetBoundary:n,throwOnError:l.throwOnError,query:t.getQueryCache().get(l.queryHash),suspense:l.suspense})});if(O?.error)throw O.error;return b(o())}export{U as u};
1
+ import{eF as E,bo as y,eG as S,eH as w,ey as Q,q as k,eI as M,eJ as q,r as p,eK as x,eL as H,eM as L,eN as P,eO as v,eP as B,eQ as A}from"./index-B1ZvlDM_.js";function R(r,e){const s=new Set(e);return r.filter(t=>!s.has(t))}function I(r,e,s){const t=r.slice(0);return t[e]=s,t}var T=class extends E{#i;#e;#n;#r;#s;#t;#o;#u;#h;#a=[];constructor(r,e,s){super(),this.#i=r,this.#r=s,this.#n=[],this.#s=[],this.#e=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(e=>{this.#d(r,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,e){this.#n=r,this.#r=e,y.batch(()=>{const s=this.#s,t=this.#f(this.#n);t.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=t.map(o=>o.observer),n=i.map(o=>o.getCurrentResult()),u=s.length!==i.length,c=i.some((o,d)=>o!==s[d]),f=u||c,b=f?!0:n.some((o,d)=>{const g=this.#e[d];return!g||!S(o,g)});!f&&!b||(f&&(this.#a=t,this.#s=i),this.#e=n,this.hasListeners()&&(f&&(R(s,i).forEach(o=>{o.destroy()}),R(i,s).forEach(o=>{o.subscribe(d=>{this.#d(o,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,e){const s=this.#f(r),t=s.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=s.map(n=>n.defaultedQueryOptions.queryHash);return[t,n=>this.#l(n??t,e,i),()=>this.#c(t,s)]}#c(r,e){return e.map((s,t)=>{const i=r[t];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,n=>{e.forEach(u=>{u.observer.trackProp(n)})})})}#l(r,e,s){if(e){const t=this.#h,i=s!==void 0&&t!==void 0&&(t.length!==s.length||s.some((n,u)=>n!==t[u]));return(!this.#t||this.#e!==this.#u||i||e!==this.#o)&&(this.#o=e,this.#u=this.#e,s!==void 0&&(this.#h=s),this.#t=w(this.#t,e(r))),this.#t}return r}#b(){return this.#r?.combine!==void 0&&this.#s.some((r,e)=>r.options.suspense&&this.#e[e]?.data===void 0)}#f(r){const e=new Map;this.#s.forEach(t=>{const i=t.options.queryHash;if(!i)return;const n=e.get(i);n?n.push(t):e.set(i,[t])});const s=[];return r.forEach(t=>{const i=this.#i.defaultQueryOptions(t),u=e.get(i.queryHash)?.shift()??new Q(this.#i,i);s.push({defaultedQueryOptions:i,observer:u})}),s}#d(r,e){const s=this.#s.indexOf(r);s!==-1&&(this.#e=I(this.#e,s,e),this.#p())}#p(){if(this.hasListeners()){const r=this.#c(this.#e,this.#a),e=this.#b(),s=this.#t,t=e?s:this.#l(r,this.#r?.combine);(e||s!==t)&&y.batch(()=>{this.listeners.forEach(i=>{i(this.#e)})})}}};function U({queries:r,...e},s){const t=k(s),i=M(),n=q(),u=p.useMemo(()=>r.map(h=>{const a=t.defaultQueryOptions(h);return a._optimisticResults=i?"isRestoring":"optimistic",a}),[r,t,i]);u.forEach(h=>{x(h);const a=t.getQueryCache().get(h.queryHash);H(h,n,a)}),L(n);const[c]=p.useState(()=>new T(t,u,e)),[f,b,o]=c.getOptimisticResult(u,e.combine),d=!i&&e.subscribed!==!1;p.useSyncExternalStore(p.useCallback(h=>d?c.subscribe(y.batchCalls(h)):P,[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),p.useEffect(()=>{c.setQueries(u,e)},[u,e,c]);const m=f.some((h,a)=>v(u[a],h))?f.flatMap((h,a)=>{const l=u[a];if(l&&v(l,h)){const C=new Q(t,l);return B(l,C,n)}return[]}):[];if(m.length>0)throw Promise.all(m);const O=f.find((h,a)=>{const l=u[a];return l&&A({result:h,errorResetBoundary:n,throwOnError:l.throwOnError,query:t.getQueryCache().get(l.queryHash),suspense:l.suspense})});if(O?.error)throw O.error;return b(o())}export{U as u};
@@ -0,0 +1 @@
1
+ import{I as s}from"./infiniteQueryObserver-CmW3uI_C.js";import{ex as u,eE as n}from"./index-B1ZvlDM_.js";function a(e,r){return u({...e,enabled:!0,suspense:!0,throwOnError:n},s,r)}export{a as u};
@@ -1 +1 @@
1
- import{c as V,b as q,r as z,a as O,i as Y,e as $,j as t,n as L,K as J,t as Q,o as W,B as G,p as H}from"./index-CpKrWBFM.js";import{C as X}from"./collection-table-wrapper-CFc_pRSp.js";import{E as D}from"./empty-state-B9Q-olZe.js";import{S as Z}from"./search-input-B143wE4b.js";import{B as I}from"./badge-Dmw39gk8.js";import{u as ee}from"./use-debounced-value-BlVaTHev.js";import{a as K}from"./admin-fetch-BhTJlAsX.js";import"./table-B7g6T_zR.js";import"./ArrowUp-Dbd0DsFj.js";import"./SearchMd-BgyEwNMN.js";function pe(){const e=V.c(58),s=q(),[r,M]=z.useState("");let N;e[0]!==r?(N=r.trim(),e[0]=r,e[1]=N):N=e[1];const i=ee(N,300),{data:R}=O.useSession(),k=R?.user?.id;let n;e[2]!==i?(n=J.deploymentAdminUsers(i),e[2]=i,e[3]=n):n=e[3];let l;e[4]!==i?(l=()=>{const a=new URLSearchParams({limit:"100"});return i&&a.set("searchValue",i),K(`/api/_admin/users?${a}`)},e[4]=i,e[5]=l):l=e[5];let C;e[6]!==n||e[7]!==l?(C={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=C):C=e[8];const{data:P,isLoading:_,isError:A}=Y(C);let w;e[9]===Symbol.for("react.memo_cache_sentinel")?(w=te,e[9]=w):w=e[9];let y;e[10]!==s?(y={mutationFn:ae,onSuccess:w,onError:a=>{Q.error(a instanceof Error?a.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=y):y=e[11];const E=$(y);let b;e[12]!==P?.users?(b=P?.users??[],e[12]=P?.users,e[13]=b):b=e[13];const B=b;let o;e[14]!==s?(o=s("admin.users.columnUser"),e[14]=s,e[15]=o):o=e[15];let m;e[16]!==s?(m=a=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(W,{url:a.image??void 0,fallback:a.name??"?",shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:a.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:a.email})]})]}),e[16]=s,e[17]=m):m=e[17];let d;e[18]!==o||e[19]!==m?(d={id:"user",header:o,render:m,cellClassName:"flex-1 min-w-0"},e[18]=o,e[19]=m,e[20]=d):d=e[20];let c;e[21]!==s?(c=s("admin.users.columnEmail"),e[21]=s,e[22]=c):c=e[22];let u;e[23]!==s?(u=a=>a.emailVerified?t.jsx(I,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(I,{variant:"outline",className:"text-muted-foreground",children:s("admin.users.unverified")}),e[23]=s,e[24]=u):u=e[24];let f;e[25]!==c||e[26]!==u?(f={id:"verified",header:c,render:u,cellClassName:"w-28 shrink-0"},e[25]=c,e[26]=u,e[27]=f):f=e[27];let p;e[28]!==s?(p=s("admin.users.columnCreated"),e[28]=s,e[29]=p):p=e[29];let h;e[30]!==p?(h={id:"created",header:p,render:se,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==k||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:a=>t.jsx(G,{variant:"outline",size:"sm",disabled:a.id===k||E.isPending,onClick:()=>E.mutate(a.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=k,e[33]=E,e[34]=s,e[35]=x):x=e[35];let T;e[36]!==f||e[37]!==h||e[38]!==x||e[39]!==d?(T=[d,f,h,x],e[36]=f,e[37]=h,e[38]=x,e[39]=d,e[40]=T):T=e[40];const F=T;let j;e[41]!==s?(j=s("admin.users.searchPlaceholder"),e[41]=s,e[42]=j):j=e[42];let g;e[43]!==r||e[44]!==j?(g=t.jsx(Z,{value:r,onChange:M,placeholder:j,className:"w-full md:w-[375px]"}),e[43]=r,e[44]=j,e[45]=g):g=e[45];let S;e[46]!==i||e[47]!==A||e[48]!==s?(S=A?t.jsx(D,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(D,{title:s("admin.users.noUsersFoundTitle"),description:i?s("admin.users.noUsersMatchSearch",{search:i}):s("admin.users.noUsersYet")}),e[46]=i,e[47]=A,e[48]=s,e[49]=S):S=e[49];let v;e[50]!==F||e[51]!==_||e[52]!==S||e[53]!==B?(v=t.jsx(X,{columns:F,data:B,isLoading:_,emptyState:S}),e[50]=F,e[51]=_,e[52]=S,e[53]=B,e[54]=v):v=e[54];let U;return e[55]!==g||e[56]!==v?(U=t.jsx(L,{children:t.jsx(L.Content,{children:t.jsx(L.Container,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[g,v]})})})}),e[55]=g,e[56]=v,e[57]=U):U=e[57],U}function se(e){return t.jsx("span",{className:"text-sm text-foreground",children:H(e.createdAt)})}function te(){window.location.href="/"}function ae(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{pe as default};
1
+ import{c as V,b as q,r as z,a as O,i as Y,e as $,j as t,n as L,K as J,t as Q,o as W,B as G,p as H}from"./index-B1ZvlDM_.js";import{C as X}from"./collection-table-wrapper-BmuSLoPK.js";import{E as D}from"./empty-state-DjPM3fy8.js";import{S as Z}from"./search-input-CxiWeJ7M.js";import{B as I}from"./badge-sWV0Lz9X.js";import{u as ee}from"./use-debounced-value-Z34m5Fyz.js";import{a as K}from"./admin-fetch-BhTJlAsX.js";import"./table-lum-yHpJ.js";import"./ArrowUp-Besm0IZ2.js";import"./SearchMd-BCaWPluh.js";function pe(){const e=V.c(58),s=q(),[r,M]=z.useState("");let N;e[0]!==r?(N=r.trim(),e[0]=r,e[1]=N):N=e[1];const i=ee(N,300),{data:R}=O.useSession(),k=R?.user?.id;let n;e[2]!==i?(n=J.deploymentAdminUsers(i),e[2]=i,e[3]=n):n=e[3];let l;e[4]!==i?(l=()=>{const a=new URLSearchParams({limit:"100"});return i&&a.set("searchValue",i),K(`/api/_admin/users?${a}`)},e[4]=i,e[5]=l):l=e[5];let C;e[6]!==n||e[7]!==l?(C={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=C):C=e[8];const{data:P,isLoading:_,isError:A}=Y(C);let w;e[9]===Symbol.for("react.memo_cache_sentinel")?(w=te,e[9]=w):w=e[9];let y;e[10]!==s?(y={mutationFn:ae,onSuccess:w,onError:a=>{Q.error(a instanceof Error?a.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=y):y=e[11];const E=$(y);let b;e[12]!==P?.users?(b=P?.users??[],e[12]=P?.users,e[13]=b):b=e[13];const B=b;let o;e[14]!==s?(o=s("admin.users.columnUser"),e[14]=s,e[15]=o):o=e[15];let m;e[16]!==s?(m=a=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(W,{url:a.image??void 0,fallback:a.name??"?",shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:a.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:a.email})]})]}),e[16]=s,e[17]=m):m=e[17];let d;e[18]!==o||e[19]!==m?(d={id:"user",header:o,render:m,cellClassName:"flex-1 min-w-0"},e[18]=o,e[19]=m,e[20]=d):d=e[20];let c;e[21]!==s?(c=s("admin.users.columnEmail"),e[21]=s,e[22]=c):c=e[22];let u;e[23]!==s?(u=a=>a.emailVerified?t.jsx(I,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(I,{variant:"outline",className:"text-muted-foreground",children:s("admin.users.unverified")}),e[23]=s,e[24]=u):u=e[24];let f;e[25]!==c||e[26]!==u?(f={id:"verified",header:c,render:u,cellClassName:"w-28 shrink-0"},e[25]=c,e[26]=u,e[27]=f):f=e[27];let p;e[28]!==s?(p=s("admin.users.columnCreated"),e[28]=s,e[29]=p):p=e[29];let h;e[30]!==p?(h={id:"created",header:p,render:se,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==k||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:a=>t.jsx(G,{variant:"outline",size:"sm",disabled:a.id===k||E.isPending,onClick:()=>E.mutate(a.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=k,e[33]=E,e[34]=s,e[35]=x):x=e[35];let T;e[36]!==f||e[37]!==h||e[38]!==x||e[39]!==d?(T=[d,f,h,x],e[36]=f,e[37]=h,e[38]=x,e[39]=d,e[40]=T):T=e[40];const F=T;let j;e[41]!==s?(j=s("admin.users.searchPlaceholder"),e[41]=s,e[42]=j):j=e[42];let g;e[43]!==r||e[44]!==j?(g=t.jsx(Z,{value:r,onChange:M,placeholder:j,className:"w-full md:w-[375px]"}),e[43]=r,e[44]=j,e[45]=g):g=e[45];let S;e[46]!==i||e[47]!==A||e[48]!==s?(S=A?t.jsx(D,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(D,{title:s("admin.users.noUsersFoundTitle"),description:i?s("admin.users.noUsersMatchSearch",{search:i}):s("admin.users.noUsersYet")}),e[46]=i,e[47]=A,e[48]=s,e[49]=S):S=e[49];let v;e[50]!==F||e[51]!==_||e[52]!==S||e[53]!==B?(v=t.jsx(X,{columns:F,data:B,isLoading:_,emptyState:S}),e[50]=F,e[51]=_,e[52]=S,e[53]=B,e[54]=v):v=e[54];let U;return e[55]!==g||e[56]!==v?(U=t.jsx(L,{children:t.jsx(L.Content,{children:t.jsx(L.Container,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[g,v]})})})}),e[55]=g,e[56]=v,e[57]=U):U=e[57],U}function se(e){return t.jsx("span",{className:"text-sm text-foreground",children:H(e.createdAt)})}function te(){window.location.href="/"}function ae(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{pe as default};
@@ -1,4 +1,4 @@
1
- import{aK as W,aL as E,_ as k}from"./agent-icon-De2MEsoK.js";import{b as j}from"./Tool01-3EDhR0eh.js";function I(e){if(!e||e.includes("\\")||e.includes("..")||e.includes("\0"))return!0;try{const t=decodeURIComponent(e);return!!(t.includes("\\")||t.includes("..")||t.includes("\0"))}catch{return!0}}function L(e){if(I(e))throw new Error(`Invalid block key: ${e||"(empty)"}`)}function C(e){try{return decodeURIComponent(e)}catch{return e}}function P(e){return L(e),encodeURIComponent(e)}function G(e){return`.deco/blocks/${P(e)}.json`}const _=1e4,F=3;function y(e){return e.trim()?(e.startsWith("/")?e:`/${e}`).replace(/\/+/g,"/"):"/"}function x(e){return e.startsWith("/")?e.slice(1):e}function v(e){const t=x(e);return!t||t.includes("..")||t.includes("\\")?!1:t.startsWith(".deco/blocks/")||!t.startsWith("/")&&!t.includes("://")}function h(e){return e.trim()?e.startsWith("/")?e:`/${e}`:"/"}function $(e){const t=h(e);if(t==="/")return"/";const n=t.split("/").filter(Boolean);return n.pop(),n.length===0?"/":`/${n.join("/")}`}function z(e,t){const n=t.replace(/^\/+|\/+$/g,"");return h(n?`${e==="/"?"":e}/${n}`:e)}function D(e,t){return t==="directory"?e:$(e)}function M(e){const t=e.trim();return t?t.includes("/")||t.includes("\\")||t.includes("..")||t.includes("\0")?"Name cannot contain /, \\, or ..":null:"Name is required"}function B(e){const t=x(e);return t?t.split("/").filter(Boolean).length:0}function S(e,t,n,r=!1){return{files:[...new Set([...e,...n.files])],directories:[...new Set([...t,...n.directories??[]])],truncated:r||!!n.truncated}}function H(e,t){return B(e)>=F&&!t.has(e)}function q(e,t,n=[]){const r=x(e);if(t.includes(r)||n.includes(r))return!0;if(!r)return!1;const s=`${r}/`;return t.some(o=>o.startsWith(s))||n.some(o=>o.startsWith(s))}function U(e){const t=x(e),n=".deco/blocks/";if(!t.startsWith(n)||!t.endsWith(".json"))return null;const r=t.slice(n.length,-5);return C(r)}function A(e){if(!e)return"plaintext";const t=e.toLowerCase();return t.endsWith(".tsx")||t.endsWith(".ts")?"typescript":t.endsWith(".jsx")||t.endsWith(".js")||t.endsWith(".mjs")||t.endsWith(".cjs")?"javascript":t.endsWith(".json")?"json":t.endsWith(".md")||t.endsWith(".mdx")?"markdown":t.endsWith(".css")?"css":t.endsWith(".scss")?"scss":t.endsWith(".html")?"html":t.endsWith(".yaml")||t.endsWith(".yml")?"yaml":t.endsWith(".xml")||t.endsWith(".svg")?"xml":t.endsWith(".py")?"python":t.endsWith(".sql")?"sql":t.endsWith(".sh")?"shell":"plaintext"}const T="#94a3b8";function K(e){const t=e.toLowerCase();return t.endsWith(".tsx")||t.endsWith(".ts")?{Icon:W,color:"#3b82f6"}:t.endsWith(".jsx")||t.endsWith(".js")||t.endsWith(".mjs")||t.endsWith(".cjs")?{Icon:W,color:"#d9a441"}:t.endsWith(".json")?{Icon:E,color:"#cb9b3f"}:t.endsWith(".css")||t.endsWith(".scss")?{Icon:W,color:"#06b6d4"}:t.endsWith(".html")||t.endsWith(".xml")?{Icon:W,color:"#f97316"}:/\.(png|jpe?g|gif|webp|avif|ico|svg)$/.test(t)?{Icon:j,color:"#a855f7"}:t.endsWith(".md")||t.endsWith(".mdx")?{Icon:k,color:"#64748b"}:{Icon:k,color:T}}function X(e){const t=y(e).split("/").filter(Boolean),n=["/"];let r="";for(const s of t.slice(0,-1))r+=`/${s}`,n.push(r);return n}function V(e,t=[]){const n={path:"/",children:[]},r=new Map,s=a=>{let i=r.get(a.path);return i||(i=new Map,r.set(a.path,i)),i},o=a=>{const c=y(a).split("/").filter(Boolean);let l=n,m="";for(const f of c){m+=`/${f}`;const g=s(l);let d=g.get(f);d?d.kind==="file"&&(d.kind="directory"):(d={name:f,path:m,kind:"directory",children:[]},l.children.push(d),g.set(f,d)),l=d}};for(const a of e){const c=y(a).split("/").filter(Boolean);let l=n,m="";c.forEach((f,g)=>{m+=`/${f}`;const d=g===c.length-1,b=s(l);let p=b.get(f);p||(p={name:f,path:m,kind:d?"file":"directory",children:[]},l.children.push(p),b.set(f,p)),l=p})}for(const a of t)o(h(a));const u=a=>{a.sort((i,c)=>i.kind!==c.kind?i.kind==="directory"?-1:1:i.name.localeCompare(c.name));for(const i of a)i.children.length>0&&u(i.children)};return u(n.children),n.children}function N(e,t,n=0){const r=[];for(const s of e)if(s.name!==".gitkeep"&&(r.push({node:s,depth:n}),s.kind==="directory"&&s.children.length>0&&t.has(s.path)))for(const o of N(s.children,t,n+1))r.push(o);return r}function J(e){const t=[];for(const n of e.split(`
1
+ import{aL as W,aM as E,_ as k}from"./agent-icon-B9ymJOYy.js";import{b as j}from"./Tool01-wiKWLRCc.js";function I(e){if(!e||e.includes("\\")||e.includes("..")||e.includes("\0"))return!0;try{const t=decodeURIComponent(e);return!!(t.includes("\\")||t.includes("..")||t.includes("\0"))}catch{return!0}}function L(e){if(I(e))throw new Error(`Invalid block key: ${e||"(empty)"}`)}function C(e){try{return decodeURIComponent(e)}catch{return e}}function P(e){return L(e),encodeURIComponent(e)}function G(e){return`.deco/blocks/${P(e)}.json`}const _=1e4,F=3;function y(e){return e.trim()?(e.startsWith("/")?e:`/${e}`).replace(/\/+/g,"/"):"/"}function x(e){return e.startsWith("/")?e.slice(1):e}function v(e){const t=x(e);return!t||t.includes("..")||t.includes("\\")?!1:t.startsWith(".deco/blocks/")||!t.startsWith("/")&&!t.includes("://")}function h(e){return e.trim()?e.startsWith("/")?e:`/${e}`:"/"}function $(e){const t=h(e);if(t==="/")return"/";const n=t.split("/").filter(Boolean);return n.pop(),n.length===0?"/":`/${n.join("/")}`}function z(e,t){const n=t.replace(/^\/+|\/+$/g,"");return h(n?`${e==="/"?"":e}/${n}`:e)}function D(e,t){return t==="directory"?e:$(e)}function M(e){const t=e.trim();return t?t.includes("/")||t.includes("\\")||t.includes("..")||t.includes("\0")?"Name cannot contain /, \\, or ..":null:"Name is required"}function B(e){const t=x(e);return t?t.split("/").filter(Boolean).length:0}function S(e,t,n,r=!1){return{files:[...new Set([...e,...n.files])],directories:[...new Set([...t,...n.directories??[]])],truncated:r||!!n.truncated}}function H(e,t){return B(e)>=F&&!t.has(e)}function q(e,t,n=[]){const r=x(e);if(t.includes(r)||n.includes(r))return!0;if(!r)return!1;const s=`${r}/`;return t.some(o=>o.startsWith(s))||n.some(o=>o.startsWith(s))}function U(e){const t=x(e),n=".deco/blocks/";if(!t.startsWith(n)||!t.endsWith(".json"))return null;const r=t.slice(n.length,-5);return C(r)}function A(e){if(!e)return"plaintext";const t=e.toLowerCase();return t.endsWith(".tsx")||t.endsWith(".ts")?"typescript":t.endsWith(".jsx")||t.endsWith(".js")||t.endsWith(".mjs")||t.endsWith(".cjs")?"javascript":t.endsWith(".json")?"json":t.endsWith(".md")||t.endsWith(".mdx")?"markdown":t.endsWith(".css")?"css":t.endsWith(".scss")?"scss":t.endsWith(".html")?"html":t.endsWith(".yaml")||t.endsWith(".yml")?"yaml":t.endsWith(".xml")||t.endsWith(".svg")?"xml":t.endsWith(".py")?"python":t.endsWith(".sql")?"sql":t.endsWith(".sh")?"shell":"plaintext"}const T="#94a3b8";function X(e){const t=e.toLowerCase();return t.endsWith(".tsx")||t.endsWith(".ts")?{Icon:W,color:"#3b82f6"}:t.endsWith(".jsx")||t.endsWith(".js")||t.endsWith(".mjs")||t.endsWith(".cjs")?{Icon:W,color:"#d9a441"}:t.endsWith(".json")?{Icon:E,color:"#cb9b3f"}:t.endsWith(".css")||t.endsWith(".scss")?{Icon:W,color:"#06b6d4"}:t.endsWith(".html")||t.endsWith(".xml")?{Icon:W,color:"#f97316"}:/\.(png|jpe?g|gif|webp|avif|ico|svg)$/.test(t)?{Icon:j,color:"#a855f7"}:t.endsWith(".md")||t.endsWith(".mdx")?{Icon:k,color:"#64748b"}:{Icon:k,color:T}}function K(e){const t=y(e).split("/").filter(Boolean),n=["/"];let r="";for(const s of t.slice(0,-1))r+=`/${s}`,n.push(r);return n}function V(e,t=[]){const n={path:"/",children:[]},r=new Map,s=a=>{let i=r.get(a.path);return i||(i=new Map,r.set(a.path,i)),i},o=a=>{const c=y(a).split("/").filter(Boolean);let l=n,m="";for(const f of c){m+=`/${f}`;const g=s(l);let d=g.get(f);d?d.kind==="file"&&(d.kind="directory"):(d={name:f,path:m,kind:"directory",children:[]},l.children.push(d),g.set(f,d)),l=d}};for(const a of e){const c=y(a).split("/").filter(Boolean);let l=n,m="";c.forEach((f,g)=>{m+=`/${f}`;const d=g===c.length-1,b=s(l);let p=b.get(f);p||(p={name:f,path:m,kind:d?"file":"directory",children:[]},l.children.push(p),b.set(f,p)),l=p})}for(const a of t)o(h(a));const u=a=>{a.sort((i,c)=>i.kind!==c.kind?i.kind==="directory"?-1:1:i.name.localeCompare(c.name));for(const i of a)i.children.length>0&&u(i.children)};return u(n.children),n.children}function N(e,t,n=0){const r=[];for(const s of e)if(s.name!==".gitkeep"&&(r.push({node:s,depth:n}),s.kind==="directory"&&s.children.length>0&&t.has(s.path)))for(const o of N(s.children,t,n+1))r.push(o);return r}function J(e){const t=[];for(const n of e.split(`
2
2
  `)){if(!n)continue;const r=n.indexOf(":");if(r<0)continue;const s=n.indexOf(":",r+1);if(s<0)continue;const o=Number.parseInt(n.slice(r+1,s),10);Number.isFinite(o)&&t.push({path:h(n.slice(0,r)),line:o,text:n.slice(s+1)})}return t}function Q(e,t,n){const r=t.trim().toLowerCase();if(!r)return[];const s=[];for(const o of e)if((o.split("/").pop()??o).toLowerCase().includes(r)&&(s.push(h(o)),s.length>=n))break;return s}const w=24;function Y(e,t){const n=e.replace(/^\s+/,""),r=t.trim().toLowerCase();if(!r)return{leadingEllipsis:!1,segments:[{text:n,match:!1}]};const s=n.toLowerCase().indexOf(r);if(s<0)return{leadingEllipsis:!1,segments:[{text:n,match:!1}]};const o=s>w,u=o?n.slice(s-w):n,a=u.toLowerCase(),i=[];let c=0;for(;;){const l=a.indexOf(r,c);if(l<0){c<u.length&&i.push({text:u.slice(c),match:!1});break}l>c&&i.push({text:u.slice(c,l),match:!1}),i.push({text:u.slice(l,l+r.length),match:!0}),c=l+r.length}return{leadingEllipsis:o,segments:i}}function Z(e){const t=[],n=new Map;for(const r of e){let s=n.get(r.path);s||(s={path:r.path,matches:[]},n.set(r.path,s),t.push(s)),s.matches.push(r)}return t}function tt(e){return e.split(`
3
3
  `).map(t=>t.replace(/^\d+\t/,"")).join(`
4
- `)}export{F as E,L as a,C as b,_ as c,G as d,V as e,N as f,A as g,Z as h,v as i,D as j,h as k,K as l,$ as m,X as n,Y as o,H as p,z as q,q as r,tt as s,x as t,Q as u,M as v,J as w,U as x,S as y};
4
+ `)}export{F as E,L as a,C as b,_ as c,G as d,V as e,N as f,A as g,Z as h,v as i,D as j,h as k,X as l,$ as m,K as n,Y as o,H as p,z as q,q as r,tt as s,x as t,Q as u,M as v,J as w,U as x,S as y};
@@ -1 +1 @@
1
- import{c as K,b as X,r as Z,j as r,m as ne,B as ee,ar as ue}from"./index-CpKrWBFM.js";import{F as xe,r as ie,k as ge}from"./agent-icon-De2MEsoK.js";import{L as be}from"./label-BfDWtWVd.js";import{S as ce}from"./scroll-area-BetFFhjH.js";import{S as ve}from"./switch-DVFRbC37.js";import{T as ye,c as je,a as Te}from"./tooltip-BN1ul0v0.js";import{T as se,a as Ne}from"./toggle-group-u9Wi3ddU.js";import{M as de,b as me,c as _e,s as ke,p as Ee,a as U,W as Se}from"./date-utils-CrvIKg-s.js";import"./AlertCircle-JrI6GhX-.js";import"./Tool01-3EDhR0eh.js";import"./ArrowUp-Dbd0DsFj.js";import"./ArrowLeft-BY3YUYmg.js";import"./LinkBroken01-dVGcDCd1.js";import"./ShoppingBag01-C8w58xcy.js";import"./Globe04-BSIf8tfY.js";import"./CheckCircle-Lk0BK653.js";import"./ChevronUp-CypYcouh.js";import"./ChevronSelectorVertical-D-Hk_1B6.js";import"./UserSquare-CgD5WRTE.js";import"./CreditCard01-D4hEMIBc.js";import"./SwitchHorizontal01-BKQGE_Gz.js";import"./Key01-CCkW71V8.js";import"./Minus-B6bCcC1a.js";import"./Monitor01-B1R4t9_g.js";import"./Sun-BbLelrLi.js";import"./Play-nrEhEYaX.js";import"./Plus-CXFgI-7S.js";import"./SearchMd-BgyEwNMN.js";import"./Trash01-Cc7bOGxh.js";import"./Upload01-CUdaL1MP.js";import"./Users01-D_DratJd.js";import"./XClose-Ba9vOcHg.js";import"./Zap-CGLJP1Pm.js";import"./index-BdQq_4o_.js";import"./index-BqpQ0Oz6.js";import"./active-indicator-CCMhAsc_.js";const we=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),Ce=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Me=new Date(-864e13),Ae=new Date(864e13),$e=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Le=/\/flags\/multivariate\.ts$/;function Re(t){let e=t;e.startsWith("pages-")&&(e=e.slice(6).replace(/-\d+$/,""));try{e=decodeURIComponent(e)}catch{}return e}function De(t){if(!t||typeof t!="object")return null;const{start:e,end:n}=t,s=typeof e=="string",o=typeof n=="string";if(!s&&!o)return null;const a=s?new Date(e):Me,l=o?new Date(n):Ae;return Number.isNaN(a.getTime())||Number.isNaN(l.getTime())||s&&o&&l.getTime()<=a.getTime()?null:{start:a,end:l,openStart:!s,openEnd:!o}}function fe(t,e){if(!t||typeof t!="object")return;const n=t.__resolveType;if(typeof n=="string"){if(we.has(n)){const s=De(t);s&&e.push(s);return}if(Ce.has(n)){const s=t.matchers;if(Array.isArray(s))for(const o of s)fe(o,e)}}}function Oe(t){if(!t||typeof t!="object")return!1;const e=t.__resolveType;if(typeof e!="string"||!$e.test(e))return!1;const n=t.variants;return Array.isArray(n)}function Pe(t){if(typeof t=="string"){const c=t.trim();if(c.length===0)return null;try{const d=new URL(c).pathname.split("/").filter(Boolean),m=d[d.length-1];if(m)return decodeURIComponent(m)}catch{}return c.length>80?`${c.slice(0,77)}…`:c}if(!t||typeof t!="object")return null;const e=t,n=e.config,o=e.desktop?.media,a=[e.title,e.name,e.label,e.alt,n?.title,n?.name,n?.typeAlert?.message,o?.alt,Array.isArray(e.matcher)?e.matcher[0]:void 0];for(const c of a)if(typeof c=="string"&&c.trim().length>0)return c.trim();const l=e.__resolveType;if(typeof l=="string"){const i=(l.split("/").pop()??l).replace(/\.(tsx?|jsx?)$/i,"");if(i.length>0)return i}return null}function Ie(t){const e=[];for(let n=0;n<t.length;n++){const s=t[n];typeof s=="number"?e.length>0?e[e.length-1]+=`[${s}]`:e.push(`[${s}]`):e.push(s)}return e.join(" · ")}function Q(t,e,n,s,o){if(Oe(t)){const a=t.variants,l=t.__resolveType,c=Le.test(l)?"":Ie(s);a.forEach((i,d)=>{if(!i||typeof i!="object")return;const m=i,u=[];if(fe(m.rule,u),u.length===0)return;const g=Pe(m.value)??(c||n);for(const h of u)o.push({blockKey:e,blockLabel:n,innerPath:c,variantIndex:d,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:g,flagResolveType:l})});for(let i=0;i<a.length;i++){const d=a[i];d&&typeof d=="object"&&Q(d.value,e,n,[...s,"variants",i,"value"],o)}return}if(Array.isArray(t)){for(let a=0;a<t.length;a++)Q(t[a],e,n,[...s,a],o);return}if(t&&typeof t=="object")for(const[a,l]of Object.entries(t))a!=="__resolveType"&&Q(l,e,n,[...s,a],o)}function Ve(t){if(!t)return[];const e=[];for(const[n,s]of Object.entries(t))Q(s,n,Re(n),[],e);return e.sort((n,s)=>n.start.getTime()-s.start.getTime())}function He(t){const e=[...new Set(t)].sort(),n=new Map;return e.forEach((s,o)=>{const a=o*137.508%360;n.set(s,{bg:`oklch(0.62 0.14 ${a})`,text:"white",border:`oklch(0.50 0.14 ${a})`})}),n}const Be={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function pe(t,e){return t.get(e)??Be}const re=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Fe(t,e){const n=t.openStart?e("sandbox.variantCalendar.always"):re.format(t.start),s=t.openEnd?e("sandbox.variantCalendar.ongoing"):re.format(t.end);return`${n} → ${s}`}function We(t){const e=K.c(18),{variant:n}=t,s=X();let o;e[0]!==n.blockLabel?(o=r.jsx("div",{className:"font-semibold",children:n.blockLabel}),e[0]=n.blockLabel,e[1]=o):o=e[1];let a;e[2]!==n.innerPath?(a=n.innerPath&&r.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),e[2]=n.innerPath,e[3]=a):a=e[3];let l;e[4]!==n.blockLabel||e[5]!==n.innerPath||e[6]!==n.label?(l=n.label!==n.blockLabel&&n.label!==n.innerPath&&r.jsx("div",{className:"text-muted-foreground",children:n.label}),e[4]=n.blockLabel,e[5]=n.innerPath,e[6]=n.label,e[7]=l):l=e[7];let c;e[8]!==s||e[9]!==n?(c=Fe(n,s),e[8]=s,e[9]=n,e[10]=c):c=e[10];let i;e[11]!==c?(i=r.jsx("div",{className:"mt-1",children:c}),e[11]=c,e[12]=i):i=e[12];let d;return e[13]!==o||e[14]!==a||e[15]!==l||e[16]!==i?(d=r.jsx(Te,{children:r.jsxs("div",{className:"text-xs",children:[o,a,l,i]})}),e[13]=o,e[14]=a,e[15]=l,e[16]=i,e[17]=d):d=e[17],d}const ae=16;function ze(t,e){const n=t?"transparent":"#000 0",s=e?"transparent":"#000 100%";if(!(!t&&!e))return`linear-gradient(to right, ${n}, #000 ${ae}px, #000 calc(100% - ${ae}px), ${s})`}function he(t){const e=K.c(26),{variant:n,color:s,style:o,children:a,fadeStart:l,fadeEnd:c}=t,i=l===void 0?!1:l,d=c===void 0?!1:c;let m;e[0]!==d||e[1]!==i?(m=ze(i,d),e[0]=d,e[1]=i,e[2]=m):m=e[2];const u=m;let p;e[3]!==i?(p=i&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},e[3]=i,e[4]=p):p=e[4];let g;e[5]!==d?(g=d&&{borderTopRightRadius:0,borderBottomRightRadius:0},e[5]=d,e[6]=g):g=e[6];let h;e[7]!==u?(h=u&&{maskImage:u,WebkitMaskImage:u},e[7]=u,e[8]=h):h=e[8];let x;e[9]!==s.bg||e[10]!==s.text||e[11]!==o||e[12]!==p||e[13]!==g||e[14]!==h?(x={background:s.bg,color:s.text,borderRadius:4,...p,...g,...h,...o},e[9]=s.bg,e[10]=s.text,e[11]=o,e[12]=p,e[13]=g,e[14]=h,e[15]=x):x=e[15];let b;e[16]!==a?(b=r.jsx("span",{className:"truncate",children:a}),e[16]=a,e[17]=b):b=e[17];let S;e[18]!==x||e[19]!==b?(S=r.jsx(ye,{asChild:!0,children:r.jsx("div",{className:"absolute flex items-center px-2 text-2xs font-medium truncate cursor-default",style:x,children:b})}),e[18]=x,e[19]=b,e[20]=S):S=e[20];let T;e[21]!==n?(T=r.jsx(We,{variant:n}),e[21]=n,e[22]=T):T=e[22];let f;return e[23]!==T||e[24]!==S?(f=r.jsxs(je,{children:[S,T]}),e[23]=T,e[24]=S,e[25]=f):f=e[25],f}function Bt(t){const e=K.c(71),{decofile:n}=t,s=X(),[o,a]=Z.useState("calendar"),[l,c]=Z.useState(Ye),[i,d]=Z.useState(!1);let m,u,p;if(e[0]!==n||e[1]!==i){const M=Ve(n);m=M.filter(Ke).length,p=i?M:M.filter(Ue),u=He(p.map(Ge)),e[0]=n,e[1]=i,e[2]=m,e[3]=u,e[4]=p}else m=e[2],u=e[3],p=e[4];const g=u;let h;e[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>c(me(new Date)),e[5]=h):h=e[5];const x=h;let b;e[6]!==o?(b=()=>c(M=>o==="calendar"?U(M,-1):U(M,-3)),e[6]=o,e[7]=b):b=e[7];const S=b;let T;e[8]!==o?(T=()=>c(M=>o==="calendar"?U(M,1):U(M,3)),e[8]=o,e[9]=T):T=e[9];const f=T;let v;e[10]!==s?(v=s("sandbox.variantCalendar.today"),e[10]=s,e[11]=v):v=e[11];let y;e[12]!==v?(y=r.jsx(ee,{variant:"outline",size:"sm",onClick:x,children:v}),e[12]=v,e[13]=y):y=e[13];let N;e[14]!==s?(N=s("sandbox.variantCalendar.previous"),e[14]=s,e[15]=N):N=e[15];let $;e[16]===Symbol.for("react.memo_cache_sentinel")?($=r.jsx(xe,{size:16}),e[16]=$):$=e[16];let _;e[17]!==S||e[18]!==N?(_=r.jsx(ee,{variant:"ghost",size:"icon",onClick:S,"aria-label":N,children:$}),e[17]=S,e[18]=N,e[19]=_):_=e[19];let k;e[20]!==s?(k=s("sandbox.variantCalendar.next"),e[20]=s,e[21]=k):k=e[21];let C;e[22]===Symbol.for("react.memo_cache_sentinel")?(C=r.jsx(ue,{size:16}),e[22]=C):C=e[22];let L;e[23]!==f||e[24]!==k?(L=r.jsx(ee,{variant:"ghost",size:"icon",onClick:f,"aria-label":k,children:C}),e[23]=f,e[24]=k,e[25]=L):L=e[25];const R=de[l.getMonth()];let A;e[26]!==l?(A=l.getFullYear(),e[26]=l,e[27]=A):A=e[27];let E;e[28]!==R||e[29]!==A?(E=r.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[R," ",A]}),e[28]=R,e[29]=A,e[30]=E):E=e[30];let j;e[31]!==L||e[32]!==E||e[33]!==y||e[34]!==_?(j=r.jsxs("div",{className:"flex items-center gap-2",children:[y,_,L,E]}),e[31]=L,e[32]=E,e[33]=y,e[34]=_,e[35]=j):j=e[35];let D;e[36]!==m||e[37]!==i||e[38]!==s?(D=m>0&&r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(ve,{id:"show-ongoing",checked:i,onCheckedChange:d}),r.jsx(be,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:s("sandbox.variantCalendar.showOngoing",{count:m})})]}),e[36]=m,e[37]=i,e[38]=s,e[39]=D):D=e[39];let H;e[40]===Symbol.for("react.memo_cache_sentinel")?(H=M=>{(M==="calendar"||M==="timeline")&&a(M)},e[40]=H):H=e[40];let F;e[41]===Symbol.for("react.memo_cache_sentinel")?(F=r.jsx(ie,{}),e[41]=F):F=e[41];let w;e[42]!==s?(w=s("sandbox.variantCalendar.calendarMode"),e[42]=s,e[43]=w):w=e[43];let I;e[44]!==w?(I=r.jsxs(se,{value:"calendar",children:[F,w]}),e[44]=w,e[45]=I):I=e[45];let B;e[46]===Symbol.for("react.memo_cache_sentinel")?(B=r.jsx(ge,{}),e[46]=B):B=e[46];let O;e[47]!==s?(O=s("sandbox.variantCalendar.timelineMode"),e[47]=s,e[48]=O):O=e[48];let P;e[49]!==O?(P=r.jsxs(se,{value:"timeline",children:[B,O]}),e[49]=O,e[50]=P):P=e[50];let V;e[51]!==I||e[52]!==P||e[53]!==o?(V=r.jsxs(Ne,{type:"single",variant:"segmented",size:"sm",value:o,onValueChange:H,children:[I,P]}),e[51]=I,e[52]=P,e[53]=o,e[54]=V):V=e[54];let W;e[55]!==D||e[56]!==V?(W=r.jsxs("div",{className:"flex items-center gap-4",children:[D,V]}),e[55]=D,e[56]=V,e[57]=W):W=e[57];let z;e[58]!==j||e[59]!==W?(z=r.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,W]}),e[58]=j,e[59]=W,e[60]=z):z=e[60];let G;e[61]!==g||e[62]!==l||e[63]!==m||e[64]!==i||e[65]!==p||e[66]!==o?(G=p.length===0?r.jsx(qe,{hiddenOngoing:i?0:m}):o==="calendar"?r.jsx(Qe,{monthStart:l,variants:p,colorMap:g}):r.jsx(tt,{monthStart:l,variants:p,colorMap:g}),e[61]=g,e[62]=l,e[63]=m,e[64]=i,e[65]=p,e[66]=o,e[67]=G):G=e[67];let q;return e[68]!==z||e[69]!==G?(q=r.jsxs("div",{className:"flex h-full w-full flex-col",children:[z,G]}),e[68]=z,e[69]=G,e[70]=q):q=e[70],q}function Ge(t){return t.blockKey}function Ue(t){return!t.openEnd}function Ke(t){return t.openEnd}function Ye(){return me(new Date)}function qe(t){const e=K.c(4),{hiddenOngoing:n}=t,s=n===void 0?0:n,o=X();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=r.jsx(ie,{size:24,className:"text-muted-foreground/60"}),e[0]=a):a=e[0];let l;return e[1]!==s||e[2]!==o?(l=r.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[a,s>0?r.jsxs(r.Fragment,{children:[r.jsx("div",{children:o("sandbox.variantCalendar.noDatedVariants")}),r.jsx("div",{className:"text-xs text-muted-foreground/80",children:o("sandbox.variantCalendar.hiddenOngoingVariants",{count:s})})]}):r.jsxs(r.Fragment,{children:[r.jsx("div",{children:o("sandbox.variantCalendar.noScheduledVariants")}),r.jsx("div",{className:"text-xs text-muted-foreground/80",children:o("sandbox.variantCalendar.dateMatcherInfo")})]})]}),e[1]=s,e[2]=o,e[3]=l):l=e[3],l}const te=20,oe=2,le=28,Je=6;function Qe(t){const e=K.c(17),{monthStart:n,variants:s,colorMap:o}=t;let a,l,c,i,d;if(e[0]!==o||e[1]!==n||e[2]!==s){const p=_e(n),g=ke(new Date);a=ce,d="flex-1 min-h-0",l="min-w-[840px]",e[8]===Symbol.for("react.memo_cache_sentinel")?(c=r.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Se.map(Ze)}),e[8]=c):c=e[8],i=p.map((h,x)=>{const b=Ee(h,s),S=b.reduce(Xe,0),T=le+S*(te+oe)+8;return r.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,v)=>{const y=f.getMonth()===n.getMonth(),N=f.getTime()===g.getTime();return r.jsx("div",{className:ne("border-r last:border-r-0 px-2 pt-1.5 text-xs",y?"bg-background":"bg-muted/30 text-muted-foreground"),children:r.jsx("span",{className:ne("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},v)}),b.map((f,v)=>{const y=pe(o,f.variant.blockKey),N=le+f.lane*(te+oe),$=f.leftUnits/7*100,_=f.widthUnits/7*100,k=f.variant.openStart&&x===0,C=f.variant.openEnd&&x===p.length-1;return r.jsxs(he,{variant:f.variant,color:y,fadeStart:k,fadeEnd:C,style:{top:N,left:`calc(${$}% + 2px)`,width:`calc(${_}% - 4px)`,minWidth:Je,height:te},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&r.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${x}-${v}`)})]},x)}),e[0]=o,e[1]=n,e[2]=s,e[3]=a,e[4]=l,e[5]=c,e[6]=i,e[7]=d}else a=e[3],l=e[4],c=e[5],i=e[6],d=e[7];let m;e[9]!==l||e[10]!==c||e[11]!==i?(m=r.jsxs("div",{className:l,children:[c,i]}),e[9]=l,e[10]=c,e[11]=i,e[12]=m):m=e[12];let u;return e[13]!==a||e[14]!==d||e[15]!==m?(u=r.jsx(a,{className:d,children:m}),e[13]=a,e[14]=d,e[15]=m,e[16]=u):u=e[16],u}function Xe(t,e){return Math.max(t,e.lane+1)}function Ze(t){return r.jsx("div",{className:"px-2 py-2 text-center",children:t},t)}const J=4,et=32,Y=240;function tt(t){const e=K.c(23),{monthStart:n,variants:s,colorMap:o}=t,a=n,l=U(n,J),c=new Date,i=new Map;for(const E of s){const j=i.get(E.blockKey)??[];j.push(E),i.set(E.blockKey,j)}const d=Array.from(i.entries()).sort(rt),m=l.getTime()-a.getTime(),u=E=>(Math.max(a.getTime(),Math.min(l.getTime(),E.getTime()))-a.getTime())/m*100;let p;e[0]!==a?(p=(E,j)=>U(a,j),e[0]=a,e[1]=p):p=e[1];const g=Array.from({length:J},p),h=c.getTime()>=a.getTime()&&c.getTime()<=l.getTime()?u(c):null,x=X(),b=ce,S="flex-1 min-h-0",T="min-w-[900px] relative";let f;e[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:Y},e[2]=f):f=e[2];let v;e[3]!==x?(v=x("sandbox.variantCalendar.variantBlock"),e[3]=x,e[4]=v):v=e[4];let y;e[5]!==v?(y=r.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold text-muted-foreground border-r",style:f,children:v}),e[5]=v,e[6]=y):y=e[6];let N;e[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},e[7]=N):N=e[7];const $=g.map(st);let _;e[8]!==$?(_=r.jsx("div",{className:"flex-1 grid",style:N,children:$}),e[8]=$,e[9]=_):_=e[9];let k;e[10]!==y||e[11]!==_?(k=r.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[y,_]}),e[10]=y,e[11]=_,e[12]=k):k=e[12];let C;e[13]!==x||e[14]!==h?(C=h!==null&&r.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${Y}px + (100% - ${Y}px) * ${h} / 100)`},children:r.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-2xs font-medium text-primary-foreground",children:x("sandbox.variantCalendar.todayLabel")})}),e[13]=x,e[14]=h,e[15]=C):C=e[15];const L=d.map(E=>{const[j,D]=E,H=pe(o,j),F=D[0]?.blockLabel??j;return r.jsxs("div",{children:[r.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold text-muted-foreground",style:{height:28},children:r.jsx("div",{className:"px-3 truncate",style:{width:Y},children:F})}),D.map((w,I)=>r.jsxs("div",{className:"flex border-b items-center",style:{height:et},children:[r.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:Y},children:[r.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),r.jsx("span",{className:"truncate text-foreground/80",children:w.label})]}),r.jsxs("div",{className:"relative flex-1 h-full",children:[r.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},children:g.map(nt)}),(()=>{const B=Math.max(w.start.getTime(),a.getTime()),O=Math.min(w.end.getTime(),l.getTime());if(O<=B)return null;const P=u(new Date(B)),V=u(new Date(O))-P;return r.jsx(he,{variant:w,color:H,fadeStart:w.openStart,fadeEnd:w.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${P}%`,width:`calc(${V}% - 2px)`,height:22},children:w.label})})()]})]},I))]},j)});let R;e[16]!==k||e[17]!==C||e[18]!==L?(R=r.jsxs("div",{className:T,children:[k,C,L]}),e[16]=k,e[17]=C,e[18]=L,e[19]=R):R=e[19];let A;return e[20]!==b||e[21]!==R?(A=r.jsx(b,{className:S,children:R}),e[20]=b,e[21]=R,e[22]=A):A=e[22],A}function nt(t,e){return r.jsx("div",{className:"border-r last:border-r-0 border-border/40"},e)}function st(t,e){return r.jsxs("div",{className:"px-2 py-2 text-xs text-muted-foreground border-r last:border-r-0",children:[de[t.getMonth()]?.slice(0,3)," ",t.getFullYear()]},e)}function rt(t,e){return t[0].localeCompare(e[0])}export{Bt as VariantCalendar};
1
+ import{c as K,b as X,r as Z,j as r,m as ne,B as ee,ar as ue}from"./index-B1ZvlDM_.js";import{F as xe,r as ie,k as ge}from"./agent-icon-B9ymJOYy.js";import{L as be}from"./label-PfhFwXDB.js";import{S as ce}from"./scroll-area-DPYxTk2f.js";import{S as ve}from"./switch-B89m7bUN.js";import{T as ye,c as je,a as Te}from"./tooltip-D2vb17oX.js";import{T as se,a as Ne}from"./toggle-group-6Dx2ZnVa.js";import{M as de,b as me,c as _e,s as ke,p as Ee,a as U,W as Se}from"./date-utils-CrvIKg-s.js";import"./AlertCircle-B9jzXYca.js";import"./Tool01-wiKWLRCc.js";import"./ArrowUp-Besm0IZ2.js";import"./ArrowLeft-CZ3DAg0q.js";import"./LinkBroken01-BSh2E4ld.js";import"./ShoppingBag01-WYt5uke3.js";import"./Globe04-DFEQkAAl.js";import"./CheckCircle-Bg_9Wlgi.js";import"./ChevronUp-CM8EW0Js.js";import"./ChevronSelectorVertical-UvFeI9z1.js";import"./UserSquare-CoAnLSHH.js";import"./CreditCard01-Bhqkelsq.js";import"./SwitchHorizontal01-CStChVS2.js";import"./Key01-BfEZ7hLZ.js";import"./Minus-Ctt_tNjY.js";import"./Monitor01-Cp5O9jEx.js";import"./Sun-Dniq03T7.js";import"./Play-DqrEB0p_.js";import"./Plus-BF39I64m.js";import"./SearchMd-BCaWPluh.js";import"./Trash01-DR_ZbB22.js";import"./Upload01-BNm-Yhgs.js";import"./Users01-BKvz85-q.js";import"./XClose-BH2b2x6k.js";import"./Zap-C46fglVd.js";import"./index-BdQq_4o_.js";import"./index-BjRujN3I.js";import"./active-indicator-CCMhAsc_.js";const we=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),Ce=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Me=new Date(-864e13),Ae=new Date(864e13),$e=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,Le=/\/flags\/multivariate\.ts$/;function Re(t){let e=t;e.startsWith("pages-")&&(e=e.slice(6).replace(/-\d+$/,""));try{e=decodeURIComponent(e)}catch{}return e}function De(t){if(!t||typeof t!="object")return null;const{start:e,end:n}=t,s=typeof e=="string",o=typeof n=="string";if(!s&&!o)return null;const a=s?new Date(e):Me,l=o?new Date(n):Ae;return Number.isNaN(a.getTime())||Number.isNaN(l.getTime())||s&&o&&l.getTime()<=a.getTime()?null:{start:a,end:l,openStart:!s,openEnd:!o}}function fe(t,e){if(!t||typeof t!="object")return;const n=t.__resolveType;if(typeof n=="string"){if(we.has(n)){const s=De(t);s&&e.push(s);return}if(Ce.has(n)){const s=t.matchers;if(Array.isArray(s))for(const o of s)fe(o,e)}}}function Oe(t){if(!t||typeof t!="object")return!1;const e=t.__resolveType;if(typeof e!="string"||!$e.test(e))return!1;const n=t.variants;return Array.isArray(n)}function Pe(t){if(typeof t=="string"){const c=t.trim();if(c.length===0)return null;try{const d=new URL(c).pathname.split("/").filter(Boolean),m=d[d.length-1];if(m)return decodeURIComponent(m)}catch{}return c.length>80?`${c.slice(0,77)}…`:c}if(!t||typeof t!="object")return null;const e=t,n=e.config,o=e.desktop?.media,a=[e.title,e.name,e.label,e.alt,n?.title,n?.name,n?.typeAlert?.message,o?.alt,Array.isArray(e.matcher)?e.matcher[0]:void 0];for(const c of a)if(typeof c=="string"&&c.trim().length>0)return c.trim();const l=e.__resolveType;if(typeof l=="string"){const i=(l.split("/").pop()??l).replace(/\.(tsx?|jsx?)$/i,"");if(i.length>0)return i}return null}function Ie(t){const e=[];for(let n=0;n<t.length;n++){const s=t[n];typeof s=="number"?e.length>0?e[e.length-1]+=`[${s}]`:e.push(`[${s}]`):e.push(s)}return e.join(" · ")}function Q(t,e,n,s,o){if(Oe(t)){const a=t.variants,l=t.__resolveType,c=Le.test(l)?"":Ie(s);a.forEach((i,d)=>{if(!i||typeof i!="object")return;const m=i,u=[];if(fe(m.rule,u),u.length===0)return;const g=Pe(m.value)??(c||n);for(const h of u)o.push({blockKey:e,blockLabel:n,innerPath:c,variantIndex:d,start:h.start,end:h.end,openStart:h.openStart,openEnd:h.openEnd,label:g,flagResolveType:l})});for(let i=0;i<a.length;i++){const d=a[i];d&&typeof d=="object"&&Q(d.value,e,n,[...s,"variants",i,"value"],o)}return}if(Array.isArray(t)){for(let a=0;a<t.length;a++)Q(t[a],e,n,[...s,a],o);return}if(t&&typeof t=="object")for(const[a,l]of Object.entries(t))a!=="__resolveType"&&Q(l,e,n,[...s,a],o)}function Ve(t){if(!t)return[];const e=[];for(const[n,s]of Object.entries(t))Q(s,n,Re(n),[],e);return e.sort((n,s)=>n.start.getTime()-s.start.getTime())}function He(t){const e=[...new Set(t)].sort(),n=new Map;return e.forEach((s,o)=>{const a=o*137.508%360;n.set(s,{bg:`oklch(0.62 0.14 ${a})`,text:"white",border:`oklch(0.50 0.14 ${a})`})}),n}const Be={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function pe(t,e){return t.get(e)??Be}const re=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Fe(t,e){const n=t.openStart?e("sandbox.variantCalendar.always"):re.format(t.start),s=t.openEnd?e("sandbox.variantCalendar.ongoing"):re.format(t.end);return`${n} → ${s}`}function We(t){const e=K.c(18),{variant:n}=t,s=X();let o;e[0]!==n.blockLabel?(o=r.jsx("div",{className:"font-semibold",children:n.blockLabel}),e[0]=n.blockLabel,e[1]=o):o=e[1];let a;e[2]!==n.innerPath?(a=n.innerPath&&r.jsx("div",{className:"text-muted-foreground",children:n.innerPath}),e[2]=n.innerPath,e[3]=a):a=e[3];let l;e[4]!==n.blockLabel||e[5]!==n.innerPath||e[6]!==n.label?(l=n.label!==n.blockLabel&&n.label!==n.innerPath&&r.jsx("div",{className:"text-muted-foreground",children:n.label}),e[4]=n.blockLabel,e[5]=n.innerPath,e[6]=n.label,e[7]=l):l=e[7];let c;e[8]!==s||e[9]!==n?(c=Fe(n,s),e[8]=s,e[9]=n,e[10]=c):c=e[10];let i;e[11]!==c?(i=r.jsx("div",{className:"mt-1",children:c}),e[11]=c,e[12]=i):i=e[12];let d;return e[13]!==o||e[14]!==a||e[15]!==l||e[16]!==i?(d=r.jsx(Te,{children:r.jsxs("div",{className:"text-xs",children:[o,a,l,i]})}),e[13]=o,e[14]=a,e[15]=l,e[16]=i,e[17]=d):d=e[17],d}const ae=16;function ze(t,e){const n=t?"transparent":"#000 0",s=e?"transparent":"#000 100%";if(!(!t&&!e))return`linear-gradient(to right, ${n}, #000 ${ae}px, #000 calc(100% - ${ae}px), ${s})`}function he(t){const e=K.c(26),{variant:n,color:s,style:o,children:a,fadeStart:l,fadeEnd:c}=t,i=l===void 0?!1:l,d=c===void 0?!1:c;let m;e[0]!==d||e[1]!==i?(m=ze(i,d),e[0]=d,e[1]=i,e[2]=m):m=e[2];const u=m;let p;e[3]!==i?(p=i&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},e[3]=i,e[4]=p):p=e[4];let g;e[5]!==d?(g=d&&{borderTopRightRadius:0,borderBottomRightRadius:0},e[5]=d,e[6]=g):g=e[6];let h;e[7]!==u?(h=u&&{maskImage:u,WebkitMaskImage:u},e[7]=u,e[8]=h):h=e[8];let x;e[9]!==s.bg||e[10]!==s.text||e[11]!==o||e[12]!==p||e[13]!==g||e[14]!==h?(x={background:s.bg,color:s.text,borderRadius:4,...p,...g,...h,...o},e[9]=s.bg,e[10]=s.text,e[11]=o,e[12]=p,e[13]=g,e[14]=h,e[15]=x):x=e[15];let b;e[16]!==a?(b=r.jsx("span",{className:"truncate",children:a}),e[16]=a,e[17]=b):b=e[17];let S;e[18]!==x||e[19]!==b?(S=r.jsx(ye,{asChild:!0,children:r.jsx("div",{className:"absolute flex items-center px-2 text-2xs font-medium truncate cursor-default",style:x,children:b})}),e[18]=x,e[19]=b,e[20]=S):S=e[20];let T;e[21]!==n?(T=r.jsx(We,{variant:n}),e[21]=n,e[22]=T):T=e[22];let f;return e[23]!==T||e[24]!==S?(f=r.jsxs(je,{children:[S,T]}),e[23]=T,e[24]=S,e[25]=f):f=e[25],f}function Bt(t){const e=K.c(71),{decofile:n}=t,s=X(),[o,a]=Z.useState("calendar"),[l,c]=Z.useState(Ye),[i,d]=Z.useState(!1);let m,u,p;if(e[0]!==n||e[1]!==i){const M=Ve(n);m=M.filter(Ke).length,p=i?M:M.filter(Ue),u=He(p.map(Ge)),e[0]=n,e[1]=i,e[2]=m,e[3]=u,e[4]=p}else m=e[2],u=e[3],p=e[4];const g=u;let h;e[5]===Symbol.for("react.memo_cache_sentinel")?(h=()=>c(me(new Date)),e[5]=h):h=e[5];const x=h;let b;e[6]!==o?(b=()=>c(M=>o==="calendar"?U(M,-1):U(M,-3)),e[6]=o,e[7]=b):b=e[7];const S=b;let T;e[8]!==o?(T=()=>c(M=>o==="calendar"?U(M,1):U(M,3)),e[8]=o,e[9]=T):T=e[9];const f=T;let v;e[10]!==s?(v=s("sandbox.variantCalendar.today"),e[10]=s,e[11]=v):v=e[11];let y;e[12]!==v?(y=r.jsx(ee,{variant:"outline",size:"sm",onClick:x,children:v}),e[12]=v,e[13]=y):y=e[13];let N;e[14]!==s?(N=s("sandbox.variantCalendar.previous"),e[14]=s,e[15]=N):N=e[15];let $;e[16]===Symbol.for("react.memo_cache_sentinel")?($=r.jsx(xe,{size:16}),e[16]=$):$=e[16];let _;e[17]!==S||e[18]!==N?(_=r.jsx(ee,{variant:"ghost",size:"icon",onClick:S,"aria-label":N,children:$}),e[17]=S,e[18]=N,e[19]=_):_=e[19];let k;e[20]!==s?(k=s("sandbox.variantCalendar.next"),e[20]=s,e[21]=k):k=e[21];let C;e[22]===Symbol.for("react.memo_cache_sentinel")?(C=r.jsx(ue,{size:16}),e[22]=C):C=e[22];let L;e[23]!==f||e[24]!==k?(L=r.jsx(ee,{variant:"ghost",size:"icon",onClick:f,"aria-label":k,children:C}),e[23]=f,e[24]=k,e[25]=L):L=e[25];const R=de[l.getMonth()];let A;e[26]!==l?(A=l.getFullYear(),e[26]=l,e[27]=A):A=e[27];let E;e[28]!==R||e[29]!==A?(E=r.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[R," ",A]}),e[28]=R,e[29]=A,e[30]=E):E=e[30];let j;e[31]!==L||e[32]!==E||e[33]!==y||e[34]!==_?(j=r.jsxs("div",{className:"flex items-center gap-2",children:[y,_,L,E]}),e[31]=L,e[32]=E,e[33]=y,e[34]=_,e[35]=j):j=e[35];let D;e[36]!==m||e[37]!==i||e[38]!==s?(D=m>0&&r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(ve,{id:"show-ongoing",checked:i,onCheckedChange:d}),r.jsx(be,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:s("sandbox.variantCalendar.showOngoing",{count:m})})]}),e[36]=m,e[37]=i,e[38]=s,e[39]=D):D=e[39];let H;e[40]===Symbol.for("react.memo_cache_sentinel")?(H=M=>{(M==="calendar"||M==="timeline")&&a(M)},e[40]=H):H=e[40];let F;e[41]===Symbol.for("react.memo_cache_sentinel")?(F=r.jsx(ie,{}),e[41]=F):F=e[41];let w;e[42]!==s?(w=s("sandbox.variantCalendar.calendarMode"),e[42]=s,e[43]=w):w=e[43];let I;e[44]!==w?(I=r.jsxs(se,{value:"calendar",children:[F,w]}),e[44]=w,e[45]=I):I=e[45];let B;e[46]===Symbol.for("react.memo_cache_sentinel")?(B=r.jsx(ge,{}),e[46]=B):B=e[46];let O;e[47]!==s?(O=s("sandbox.variantCalendar.timelineMode"),e[47]=s,e[48]=O):O=e[48];let P;e[49]!==O?(P=r.jsxs(se,{value:"timeline",children:[B,O]}),e[49]=O,e[50]=P):P=e[50];let V;e[51]!==I||e[52]!==P||e[53]!==o?(V=r.jsxs(Ne,{type:"single",variant:"segmented",size:"sm",value:o,onValueChange:H,children:[I,P]}),e[51]=I,e[52]=P,e[53]=o,e[54]=V):V=e[54];let W;e[55]!==D||e[56]!==V?(W=r.jsxs("div",{className:"flex items-center gap-4",children:[D,V]}),e[55]=D,e[56]=V,e[57]=W):W=e[57];let z;e[58]!==j||e[59]!==W?(z=r.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,W]}),e[58]=j,e[59]=W,e[60]=z):z=e[60];let G;e[61]!==g||e[62]!==l||e[63]!==m||e[64]!==i||e[65]!==p||e[66]!==o?(G=p.length===0?r.jsx(qe,{hiddenOngoing:i?0:m}):o==="calendar"?r.jsx(Qe,{monthStart:l,variants:p,colorMap:g}):r.jsx(tt,{monthStart:l,variants:p,colorMap:g}),e[61]=g,e[62]=l,e[63]=m,e[64]=i,e[65]=p,e[66]=o,e[67]=G):G=e[67];let q;return e[68]!==z||e[69]!==G?(q=r.jsxs("div",{className:"flex h-full w-full flex-col",children:[z,G]}),e[68]=z,e[69]=G,e[70]=q):q=e[70],q}function Ge(t){return t.blockKey}function Ue(t){return!t.openEnd}function Ke(t){return t.openEnd}function Ye(){return me(new Date)}function qe(t){const e=K.c(4),{hiddenOngoing:n}=t,s=n===void 0?0:n,o=X();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=r.jsx(ie,{size:24,className:"text-muted-foreground/60"}),e[0]=a):a=e[0];let l;return e[1]!==s||e[2]!==o?(l=r.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[a,s>0?r.jsxs(r.Fragment,{children:[r.jsx("div",{children:o("sandbox.variantCalendar.noDatedVariants")}),r.jsx("div",{className:"text-xs text-muted-foreground/80",children:o("sandbox.variantCalendar.hiddenOngoingVariants",{count:s})})]}):r.jsxs(r.Fragment,{children:[r.jsx("div",{children:o("sandbox.variantCalendar.noScheduledVariants")}),r.jsx("div",{className:"text-xs text-muted-foreground/80",children:o("sandbox.variantCalendar.dateMatcherInfo")})]})]}),e[1]=s,e[2]=o,e[3]=l):l=e[3],l}const te=20,oe=2,le=28,Je=6;function Qe(t){const e=K.c(17),{monthStart:n,variants:s,colorMap:o}=t;let a,l,c,i,d;if(e[0]!==o||e[1]!==n||e[2]!==s){const p=_e(n),g=ke(new Date);a=ce,d="flex-1 min-h-0",l="min-w-[840px]",e[8]===Symbol.for("react.memo_cache_sentinel")?(c=r.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:Se.map(Ze)}),e[8]=c):c=e[8],i=p.map((h,x)=>{const b=Ee(h,s),S=b.reduce(Xe,0),T=le+S*(te+oe)+8;return r.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[h.map((f,v)=>{const y=f.getMonth()===n.getMonth(),N=f.getTime()===g.getTime();return r.jsx("div",{className:ne("border-r last:border-r-0 px-2 pt-1.5 text-xs",y?"bg-background":"bg-muted/30 text-muted-foreground"),children:r.jsx("span",{className:ne("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:f.getDate()})},v)}),b.map((f,v)=>{const y=pe(o,f.variant.blockKey),N=le+f.lane*(te+oe),$=f.leftUnits/7*100,_=f.widthUnits/7*100,k=f.variant.openStart&&x===0,C=f.variant.openEnd&&x===p.length-1;return r.jsxs(he,{variant:f.variant,color:y,fadeStart:k,fadeEnd:C,style:{top:N,left:`calc(${$}% + 2px)`,width:`calc(${_}% - 4px)`,minWidth:Je,height:te},children:[f.variant.blockLabel,f.variant.label!==f.variant.blockLabel&&r.jsxs("span",{className:"opacity-70",children:[" · ",f.variant.label]})]},`${x}-${v}`)})]},x)}),e[0]=o,e[1]=n,e[2]=s,e[3]=a,e[4]=l,e[5]=c,e[6]=i,e[7]=d}else a=e[3],l=e[4],c=e[5],i=e[6],d=e[7];let m;e[9]!==l||e[10]!==c||e[11]!==i?(m=r.jsxs("div",{className:l,children:[c,i]}),e[9]=l,e[10]=c,e[11]=i,e[12]=m):m=e[12];let u;return e[13]!==a||e[14]!==d||e[15]!==m?(u=r.jsx(a,{className:d,children:m}),e[13]=a,e[14]=d,e[15]=m,e[16]=u):u=e[16],u}function Xe(t,e){return Math.max(t,e.lane+1)}function Ze(t){return r.jsx("div",{className:"px-2 py-2 text-center",children:t},t)}const J=4,et=32,Y=240;function tt(t){const e=K.c(23),{monthStart:n,variants:s,colorMap:o}=t,a=n,l=U(n,J),c=new Date,i=new Map;for(const E of s){const j=i.get(E.blockKey)??[];j.push(E),i.set(E.blockKey,j)}const d=Array.from(i.entries()).sort(rt),m=l.getTime()-a.getTime(),u=E=>(Math.max(a.getTime(),Math.min(l.getTime(),E.getTime()))-a.getTime())/m*100;let p;e[0]!==a?(p=(E,j)=>U(a,j),e[0]=a,e[1]=p):p=e[1];const g=Array.from({length:J},p),h=c.getTime()>=a.getTime()&&c.getTime()<=l.getTime()?u(c):null,x=X(),b=ce,S="flex-1 min-h-0",T="min-w-[900px] relative";let f;e[2]===Symbol.for("react.memo_cache_sentinel")?(f={width:Y},e[2]=f):f=e[2];let v;e[3]!==x?(v=x("sandbox.variantCalendar.variantBlock"),e[3]=x,e[4]=v):v=e[4];let y;e[5]!==v?(y=r.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold text-muted-foreground border-r",style:f,children:v}),e[5]=v,e[6]=y):y=e[6];let N;e[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},e[7]=N):N=e[7];const $=g.map(st);let _;e[8]!==$?(_=r.jsx("div",{className:"flex-1 grid",style:N,children:$}),e[8]=$,e[9]=_):_=e[9];let k;e[10]!==y||e[11]!==_?(k=r.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[y,_]}),e[10]=y,e[11]=_,e[12]=k):k=e[12];let C;e[13]!==x||e[14]!==h?(C=h!==null&&r.jsx("div",{className:"pointer-events-none absolute top-0 bottom-0 w-px bg-primary/70 z-[5]",style:{left:`calc(${Y}px + (100% - ${Y}px) * ${h} / 100)`},children:r.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-2xs font-medium text-primary-foreground",children:x("sandbox.variantCalendar.todayLabel")})}),e[13]=x,e[14]=h,e[15]=C):C=e[15];const L=d.map(E=>{const[j,D]=E,H=pe(o,j),F=D[0]?.blockLabel??j;return r.jsxs("div",{children:[r.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold text-muted-foreground",style:{height:28},children:r.jsx("div",{className:"px-3 truncate",style:{width:Y},children:F})}),D.map((w,I)=>r.jsxs("div",{className:"flex border-b items-center",style:{height:et},children:[r.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:Y},children:[r.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),r.jsx("span",{className:"truncate text-foreground/80",children:w.label})]}),r.jsxs("div",{className:"relative flex-1 h-full",children:[r.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},children:g.map(nt)}),(()=>{const B=Math.max(w.start.getTime(),a.getTime()),O=Math.min(w.end.getTime(),l.getTime());if(O<=B)return null;const P=u(new Date(B)),V=u(new Date(O))-P;return r.jsx(he,{variant:w,color:H,fadeStart:w.openStart,fadeEnd:w.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${P}%`,width:`calc(${V}% - 2px)`,height:22},children:w.label})})()]})]},I))]},j)});let R;e[16]!==k||e[17]!==C||e[18]!==L?(R=r.jsxs("div",{className:T,children:[k,C,L]}),e[16]=k,e[17]=C,e[18]=L,e[19]=R):R=e[19];let A;return e[20]!==b||e[21]!==R?(A=r.jsx(b,{className:S,children:R}),e[20]=b,e[21]=R,e[22]=A):A=e[22],A}function nt(t,e){return r.jsx("div",{className:"border-r last:border-r-0 border-border/40"},e)}function st(t,e){return r.jsxs("div",{className:"px-2 py-2 text-xs text-muted-foreground border-r last:border-r-0",children:[de[t.getMonth()]?.slice(0,3)," ",t.getFullYear()]},e)}function rt(t,e){return t[0].localeCompare(e[0])}export{Bt as VariantCalendar};
@@ -1 +1 @@
1
- import{m as $,j as f}from"./section-array-field-BGVc7GN5.js";const v="x-deco-matchers-override";function h({pageKey:n,prefix:r,variants:t,selectedIndex:a,decofile:i,meta:s}){if(!n||a<0||a>=t.length)return[];const o=[];for(let e=0;e<=a;e++){const u=t[e];if(!u)continue;const c=u.rule,l=e===a?"1":"0",d=($(c,i,s)?f(c,i,s):null)??`${n}@${r}.${e}.rule`;o.push(`${d}=${l}`)}return o}function p(n,r,t,a){return!r.multivariate||r.variants.length<=1?[]:h({pageKey:n,prefix:"sections.variants",variants:r.variants,selectedIndex:r.index,decofile:t,meta:a})}function x({pageKey:n,page:r,sectionIndex:t,sectionLazy:a,mvObj:i,selectedVariantIndex:s,decofile:o,meta:e}){if(t<0)return[];const c=`${r.multivariate?`sections.variants.${r.index}.value${r.lazyValues?".value":""}`:"sections"}.${t}${a?".section":""}.variants`,l=Array.isArray(i.variants)?i.variants:[];return h({pageKey:n,prefix:c,variants:l,selectedIndex:s,decofile:o,meta:e})}function y(n,r){const t=`${r}@`;return n.map(a=>a.startsWith(t)?`props.${a.slice(t.length)}`:a)}function B(n,r){if(r.length===0)return n;try{const t=new URL(n,"http://local");t.searchParams.delete(v);for(const a of r)t.searchParams.append(v,a);return n.startsWith("http")?t.toString():`${t.pathname}${t.search}${t.hash}`}catch{return n}}export{x as a,p as b,y as i,B as w};
1
+ import{m as $,j as f}from"./section-array-field-CP-WbNwo.js";const v="x-deco-matchers-override";function h({pageKey:n,prefix:r,variants:t,selectedIndex:a,decofile:i,meta:s}){if(!n||a<0||a>=t.length)return[];const o=[];for(let e=0;e<=a;e++){const u=t[e];if(!u)continue;const c=u.rule,l=e===a?"1":"0",d=($(c,i,s)?f(c,i,s):null)??`${n}@${r}.${e}.rule`;o.push(`${d}=${l}`)}return o}function p(n,r,t,a){return!r.multivariate||r.variants.length<=1?[]:h({pageKey:n,prefix:"sections.variants",variants:r.variants,selectedIndex:r.index,decofile:t,meta:a})}function x({pageKey:n,page:r,sectionIndex:t,sectionLazy:a,mvObj:i,selectedVariantIndex:s,decofile:o,meta:e}){if(t<0)return[];const c=`${r.multivariate?`sections.variants.${r.index}.value${r.lazyValues?".value":""}`:"sections"}.${t}${a?".section":""}.variants`,l=Array.isArray(i.variants)?i.variants:[];return h({pageKey:n,prefix:c,variants:l,selectedIndex:s,decofile:o,meta:e})}function y(n,r){const t=`${r}@`;return n.map(a=>a.startsWith(t)?`props.${a.slice(t.length)}`:a)}function B(n,r){if(r.length===0)return n;try{const t=new URL(n,"http://local");t.searchParams.delete(v);for(const a of r)t.searchParams.append(v,a);return n.startsWith("http")?t.toString():`${t.pathname}${t.search}${t.hash}`}catch{return n}}export{x as a,p as b,y as i,B as w};
@@ -1 +1 @@
1
- import{c as x,j as a,B as p}from"./index-CpKrWBFM.js";import{i as h}from"./ArrowLeft-BY3YUYmg.js";const b="p-4";function k(m){const e=x.c(14),{intro:d,back:t,actions:n}=m;let r;e[0]!==n?(r=n?a.jsx("div",{className:"flex shrink-0 items-center gap-2","data-slot":"view-actions",children:n}):null,e[0]=n,e[1]=r):r=e[1];const s=r;if(t){let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(h,{size:16}),e[2]=o):o=e[2];let l;e[3]!==t.label||e[4]!==t.onClick?(l=a.jsxs(p,{variant:"ghost",size:"sm",onClick:t.onClick,children:[o,t.label]}),e[3]=t.label,e[4]=t.onClick,e[5]=l):l=e[5];let f;return e[6]!==s||e[7]!==l?(f=a.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between gap-2 border-b px-4","data-testid":"site-draft-view-header",children:[l,s]}),e[6]=s,e[7]=l,e[8]=f):f=e[8],f}let i;e[9]!==d?(i=a.jsx("p",{className:"min-w-0 flex-1 text-sm text-muted-foreground",children:d}),e[9]=d,e[10]=i):i=e[10];let c;return e[11]!==s||e[12]!==i?(c=a.jsxs("div",{className:"flex shrink-0 flex-wrap items-center justify-between gap-x-4 gap-y-2 px-4 pt-4","data-testid":"site-draft-view-header",children:[i,s]}),e[11]=s,e[12]=i,e[13]=c):c=e[13],c}export{b as S,k as a};
1
+ import{c as x,j as a,B as p}from"./index-B1ZvlDM_.js";import{i as h}from"./ArrowLeft-CZ3DAg0q.js";const b="p-4";function k(m){const e=x.c(14),{intro:d,back:t,actions:n}=m;let r;e[0]!==n?(r=n?a.jsx("div",{className:"flex shrink-0 items-center gap-2","data-slot":"view-actions",children:n}):null,e[0]=n,e[1]=r):r=e[1];const s=r;if(t){let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(h,{size:16}),e[2]=o):o=e[2];let l;e[3]!==t.label||e[4]!==t.onClick?(l=a.jsxs(p,{variant:"ghost",size:"sm",onClick:t.onClick,children:[o,t.label]}),e[3]=t.label,e[4]=t.onClick,e[5]=l):l=e[5];let f;return e[6]!==s||e[7]!==l?(f=a.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between gap-2 border-b px-4","data-testid":"site-draft-view-header",children:[l,s]}),e[6]=s,e[7]=l,e[8]=f):f=e[8],f}let i;e[9]!==d?(i=a.jsx("p",{className:"min-w-0 flex-1 text-sm text-muted-foreground",children:d}),e[9]=d,e[10]=i):i=e[10];let c;return e[11]!==s||e[12]!==i?(c=a.jsxs("div",{className:"flex shrink-0 flex-wrap items-center justify-between gap-x-4 gap-y-2 px-4 pt-4","data-testid":"site-draft-view-header",children:[i,s]}),e[11]=s,e[12]=i,e[13]=c):c=e[13],c}export{b as S,k as a};
@@ -0,0 +1 @@
1
+ import{U as A}from"./url-slug-Dqg9nWvP.js";import{k}from"./thread-intent-BMcVCMdR.js";import{aE as a,ba as t,aF as e,b3 as l,cY as o,cZ as s,ec as d,e8 as p,fa as I,ee as R,e6 as g}from"./index-B1ZvlDM_.js";const v=a({connection_id:e().describe("Connection ID"),selected_tools:t(e()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:t(e()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:t(e()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),h=500,y=200,_=200,E=20,U=50,P=100,T=20,C=100,N=300,V=100,O=8192,S=v.extend({selected_tools:t(e()).max(h).nullable().optional().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:t(e()).max(h).nullable().optional().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:t(e()).max(h).nullable().optional().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),D=a({connectionId:e(),toolName:e(),label:e(),icon:e().nullable().optional()}),L=a({id:e().describe("Stable id; used as React key and ?tab= value"),title:e().describe("Tab label"),icon:e().optional().describe("Optional lucide icon name"),view:a({type:d("ext-app"),appId:e(),args:p(e(),g()).optional()})}),r=s(["overview","context","monitor","plan","reports","board","site-editor","calendar","experiments","assets","releases","hosting","e2e","analytics","cdn","automations"]),pe=s(["on","off"]),X=new Map([["manual","on"],["auto","on"]]),B=s(["on","off","manual","auto"]);function F(n){if(!n)return null;const i=X.get(n);return i||(n==="on"||n==="off"?n:null)}const j=a({defaultMainView:a({type:e(),id:e().optional(),toolName:e().optional()}).nullable().optional(),chatDefaultOpen:o().nullable().optional(),cmsDefaultOpen:o().nullable().optional(),cms:B.nullable().optional().describe("How this agent offers content editing. Absent means on; the retired `manual` / `auto` read as on too."),sidebarViews:t(r).max(r.options.length).nullable().optional().describe("Deprecated layout-scoped sidebar selections. Read only as a fallback when metadata.sidebarViews is absent."),tabs:t(L).max(T).optional()});function be(n){return F(n?.cms)??"on"}function ue(n,i){const c=i==="off"&&n?.defaultMainView?.type==="content";return{...n,cms:i,cmsDefaultOpen:null,...c?{defaultMainView:{type:"site-editor"}}:{}}}const f=a({tileId:e().optional(),connectionId:e().optional().describe("Connection that owns the resource — the host opens a direct MCP client to this connection so the iframe can call tools by their bare names."),resourceUri:e().describe("ui:// resource URI exposed by `connectionId`. Read on the home page and rendered via MCPAppRenderer."),toolName:e().optional().describe("Tool name — identifies which tool's inputSchema to display when editing tile props."),toolInput:p(e(),g()).optional().describe("User-configured input props passed to MCPAppRenderer when rendering the tile."),minHeight:l().int().positive().optional(),maxHeight:l().int().positive().optional()}),H=a({banner:e().nullable().optional(),bannerColor:e().nullable().optional(),icon:e().nullable().optional(),themeColor:e().nullable().optional(),pinnedViews:t(D).max(P).nullable().optional(),layout:j.nullable().optional(),homeTile:f.nullable().optional(),homeTiles:t(f).max(E).nullable().optional(),homePrompts:t(e()).max(U).nullable().optional()}),z=/^[A-Za-z_][A-Za-z0-9_]*$/,w=e().min(1).regex(z,{message:"Env var key must start with a letter or underscore and contain only letters, digits, and underscores."}),q=R("kind",[a({key:w,kind:d("literal"),value:e().max(O)}),a({key:w,kind:d("secret"),secretId:e().min(1)})]),K=2,G=a({path:e().trim().min(1).max(256).describe("Path (relative to repo root) to the app's package.json directory.")}),W=a({selected:e().nullable().optional().describe("User-selected package manager (npm | pnpm | yarn | bun | deno). Null/absent means autodetect on next SANDBOX_START."),port:e().nullable().optional().describe("User-selected dev server port as a string (allows '' / null for unset). Null/absent means autodetect."),path:e().nullable().optional().describe("Optional path (relative to repo root) to the directory containing package.json. Null/absent means repo root. Forwarded as `application.packageManager.path` to the daemon config."),apps:t(G).max(K).nullable().optional().describe("Additional monorepo apps previewed beside the one at `path`, each run by its own dev server on the main app's install. Started only when the organization's `multi_app_preview` flag is on."),env:t(q).max(V).nullable().optional().describe("Env vars injected on every SANDBOX_START. Literal entries inline their value; secret entries store a secretId that Studio resolves via the credential vault before posting /_sandbox/config.")}),Y=a({url:e().describe("Repository URL, including its provider host"),owner:e().describe("Repository owner"),name:e().describe("Repository name"),installationId:l().optional().describe("GitHub App installation ID. Absent when the repo was linked without a GitHub connection (public-clone mode)."),connectionId:e().optional().describe("ID of the mcp-github connection used for authentication. Absent for public repos cloned without credentials."),repositoryId:e().optional().describe("First-class repository (REPOSITORY_LINK) backing this binding. When set, credentials come from the repository's git provider account rather than connectionId.")}),Z=s(["agent-sandbox","local-api"]),$={sandboxHandle:e().describe("Provider-specific handle"),previewUrl:e().nullable().describe("URL where the sandbox's iframe-proxied UI is served, or null when the sandbox has no dev server (blank / tool sandboxes)."),sandboxApiUrl:e().nullable().optional().describe("Direct sandbox API URL for runtimes that expose one. Equal to previewUrl for local-api; null/absent for AgentSandbox, which routes control traffic through hosted Studio."),createdAt:l().optional().describe("Epoch ms the entry was first written by SANDBOX_START. Used by the booting overlay to show a stable elapsed timer that survives browser reloads. Optional for backward compatibility with entries written before this field existed."),startedWith:a({packageManager:e().nullable().optional().describe("metadata.runtime.selected at the time of SANDBOX_START"),port:e().nullable().optional().describe("metadata.runtime.port at the time of SANDBOX_START"),path:e().nullable().optional().describe("metadata.runtime.path at the time of SANDBOX_START"),apps:t(e()).nullable().optional().describe("Extra app paths the sandbox was given at SANDBOX_START; null when none were sent.")}).optional().describe("Snapshot of metadata.runtime fields (selected/port/path/apps) used at SANDBOX_START. The Preview tab compares the live metadata.runtime against this to decide if a restart is required to apply changes.")},x=a($);function he(n){if(!n||typeof n!="object"||Array.isArray(n))return{};const i=n,c={};for(const[b,u]of Object.entries(i))if(!(!u||typeof u!="object")&&!(b!=="agent-sandbox"&&b!=="local-api"))try{c[b]=x.parse(u)}catch{}return c}const J=p(e().describe("userId"),p(e().describe("branch"),I(Z,x))),Q=a({id:e().describe("Stable identifier for this knowledge file"),name:e().describe("File name shown in the UI"),kind:s(["file","skill"]).optional().describe("'file' (a single document) or 'skill' (a Claude Code skill folder containing SKILL.md). Defaults to 'file'."),volume:e().describe("Org filesystem (Library) volume the file lives in"),path:e().describe("Path within the volume"),url:e().describe("Same-origin URL to read the file (display/download)"),contentType:e().nullable().optional().describe("MIME type, used to decide whether to inline the content"),size:l().nullable().optional().describe("File size in bytes"),addedAt:e().describe("ISO timestamp when the file was attached")}),ee=t(Q).max(C).nullable().optional().describe("Files attached to the agent as reference knowledge. Surfaced in the system prompt: small text documents are inlined, others are listed as retrievable references."),te=s(["smart","code-review","open"]),ae=te.nullable().optional().describe("Controls when this code agent's changes may be published directly vs. requiring PR review. 'smart' (default) uses AI to judge per change; 'code-review' requires review for any code; 'open' allows direct publish always."),ne=o().nullable().optional().describe("Enable Fast Preview (sandbox-less): render the draft instantly on the preview server's own page via a ?__draft pointer, with reads/writes served by the decofile API against GitHub. Requires previewServerUrl (or legacy productionUrl) to be set to take effect."),ie=o().nullable().optional().describe("EXPERIMENTAL: with Fast Preview on, refresh content edits via an in-place /live/previews render (no commit, no reload) instead of a commit + re-navigation. Deco-runtime preview targets only. Requires fastPreview."),oe=e().nullable().optional().describe("Preview server URL — the deployment the CMS preview renders against (often the live site, e.g. https://acme.com). Painted in the preview iframe, and the render target for Fast Preview drafts. Supersedes the legacy productionUrl key."),se=a({branch:e().describe("Git branch backing this release"),name:e().describe('User-facing name, e.g. "Black Friday 2026"'),color:e().describe("Dot color token shown in the version switcher"),createdBy:e().optional().describe("User ID who created the release"),createdAt:e().optional().describe("ISO 8601 creation timestamp"),runtime:s(k).optional().describe("Session runtime the release was created in. Picking a 'sandbox' release opens a coding session on its branch, since a CMS session renders production's code and would hide the branch's code changes. Absent ⇒ the project's default.")}),re=t(se).max(N).nullable().optional().describe("Curated list of named, branch-backed releases shown in the version switcher. The base branch ('No ar') is derived, not stored here."),m={instructions:e().nullable().optional().describe("Instructions also used as system prompt"),subAgents:t(e()).max(_).nullable().optional().describe("Allowlist of Virtual MCP (agent) or concrete MCP connection IDs this agent may delegate to via subtask. Concrete connections create ephemeral subagents. null/absent = all active org targets; empty array = itself only."),ui:H.nullable().optional().describe("UI customization settings"),sidebarViews:t(r).max(r.options.length).nullable().optional().describe("Project views selected for the sidebar. Interpret as an exact list when sidebarViewsVersion is 1; unversioned values use legacy native-only semantics. Runtime presence gates still apply."),sidebarViewsVersion:d(1).optional().describe("Version 1 marks metadata.sidebarViews as an exact list that can disable legacy default rows."),sidebarViewsSeen:t(r).max(r.options.length).nullable().optional().describe("Views Studio offered this project once on top of an exact sidebarViews list (the top rows, plus Experiments and Calendar on a Blocks site). A view listed here shows only when sidebarViews selects it, so hiding it sticks."),repository:Y.nullable().optional().describe("Linked repository"),runtime:W.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),knowledge:ee,siteSlug:e().nullable().optional().describe("The project's site id (asset tenancy, CDN paths, site tokens). Set once when the site is created or imported; any write that would change it is refused."),publishPolicy:ae,previewServerUrl:oe,productionUrl:e().nullable().optional().describe("Legacy key for previewServerUrl — still read as a fallback. New writes use previewServerUrl."),fieldDescriptionTooltips:o().nullable().optional().describe("Blocks form: opt in to showing a field's schema description as a hover tooltip on its title, instead of the default inline text below the title."),legacyBlogPostFormat:o().nullable().optional().describe("Blog: edit a post's body as one HTML document in `post.content` (the format sites built before `sections` read), instead of blocks in `post.sections`."),fastPreview:ne,releases:re,fastPreviewInPlace:ie},me=a({id:e().describe("Unique identifier"),title:e().describe("Human-readable name"),url_slug:e().nullable().optional().describe("Name of the project in Studio URLs, unique in the organization"),description:e().nullable().describe("Description"),icon:e().nullable().describe("Icon URL"),created_at:e().describe("Creation timestamp"),updated_at:e().describe("Last update timestamp"),created_by:e().describe("User ID who created this item"),updated_by:e().optional().describe("User ID who last updated this item"),organization_id:e().describe("Organization ID this item belongs to"),status:s(["active","inactive"]).describe("Current status"),pinned:o().describe("Whether this space is pinned to the sidebar"),metadata:a(m).extend({instructions:e().nullable().describe("Instructions also used as system prompt"),sandboxMap:J.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }")}).loose().describe("Metadata"),connections:t(v).describe("Connections with their selected tools, resources, and prompts")}),M=a({title:e().min(1).max(120).describe("Short label shown on the chip"),description:e().max(280).optional().describe("One-line subtitle shown under the title"),text:e().min(1).max(4e3).describe("The message sent to the agent when the prompt is clicked")});a({title:e().min(1).max(255).describe("Name for the virtual MCP"),description:e().max(500).nullable().optional().describe("Optional description"),icon:e().nullish().describe("Optional icon URL"),status:s(["active","inactive"]).optional().default("active").describe("Initial status"),pinned:o().optional().default(!1).describe("Pin to sidebar"),metadata:a(m).loose().superRefine((n,i)=>{"sandboxMap"in n&&i.addIssue({code:"custom",path:["sandboxMap"],message:"sandboxMap is managed by the sandbox lifecycle"})}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:t(S).max(y).describe("Connections to include/exclude (can be empty for exclusion mode)"),prompts:t(M).max(20).optional().describe("Optional kickstart prompts to seed on the agent. Each becomes a clickable conversation starter (icebreaker) on the agent. Author them from the agent's role and the tools it will have so they're coherent and immediately useful.")});a({title:e().min(1).max(255).optional().describe("New name"),url_slug:A.nullish().describe("New URL slug. The old one keeps redirecting. Renaming does not change it. null keeps the current slug."),description:e().max(500).nullable().optional().describe("New description (null to clear)"),icon:e().nullish().describe("New icon URL"),status:s(["active","inactive"]).optional().describe("New status"),pinned:o().optional().describe("Pin/unpin from sidebar"),blocksV8:o().optional().describe('Org owners and admins only: turn the project\'s "Blocks v8 site" switch on or off (`metadata.blocksV8`). On, Studio edits the site with the Blocks v8 editor and the hosted CMS, and `deco schema push` is accepted; off, it is a v7 site. Never set through `metadata`.'),metadata:a(m).loose().superRefine((n,i)=>{"sandboxMap"in n&&i.addIssue({code:"custom",path:["sandboxMap"],message:"sandboxMap is managed by the sandbox lifecycle"})}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:t(S).max(y).optional().describe("New connections (replaces existing)"),prompts:t(M).max(20).optional().describe("Replace the agent's kickstart prompts with this full set. Omit to leave them unchanged; pass an empty array to remove all. Each becomes a clickable conversation starter (icebreaker).")});export{pe as C,z as E,K as R,me as V,N as a,he as p,be as r,ue as w};
@@ -1 +1 @@
1
- import{ba as C,aF as T,aE as S}from"./index-CpKrWBFM.js";import{T as O,a as w,b as L,c as N,d as P}from"./task-board-CwSJI_Nh.js";import{e as F}from"./backoff-CrEUbyZT.js";const h={STEP:"decopilot.step",FINISH:"decopilot.finish",THREAD_STATUS:"decopilot.thread.status"},V=Object.values(h),y="notification.created",H=60,j=100,$=2e3,u=C(T().min(1)).max($),x=S({id:T().min(1).max(64),name:T().trim().min(1).max(H),projectIds:u}),Y=C(x).max(j),K=S({pinned:u,hidden:u,dismissed:u,hiddenFolders:u}),ee={pinned:[],hidden:[],dismissed:[],hiddenFolders:[]};S({folders:Y,preferences:K,joinedAt:T().nullable()});const M="project-folders.updated",v="order-monitor.store.evaluated",te=["orders_drop","denied_spike","cancel_spike"],X=3e4,q=1e3;function I(n){const{buildUrl:f,eventTypes:p,name:d,crossTab:_=!1}=n,c=new Map,l=_&&typeof BroadcastChannel<"u"&&typeof navigator<"u"&&typeof navigator.locks<"u";if(l&&!d)throw new Error("createSSESubscription: `name` is required when crossTab");function E(e,t){e.bootDone=!0;for(const s of e.handlers)try{s(t)}catch{}}function A(e){for(const t of e.reconnectHandlers)try{t()}catch{}}function m(e){const t=new EventSource(f(e.key));e.es=t,t.onopen=()=>{e.reconnectAttempt=0,e.bootDone&&(A(e),e.channel?.postMessage({kind:"reconnect"})),e.bootDone=!0},t.onerror=()=>{e.es===t&&t.readyState===EventSource.CLOSED&&U(e)};const s=a=>{e.channel?.postMessage({kind:"event",type:a.type,data:a.data}),E(e,a)};for(const a of p)t.addEventListener(a,s)}function U(e){if(e.refCount<=0||e.reconnectTimer)return;const t=F(X,q,e.reconnectAttempt,2,.5);e.reconnectAttempt++,e.reconnectTimer=setTimeout(()=>{e.reconnectTimer=null,!(e.refCount<=0||!e.isLeader)&&(e.es?.close(),m(e))},t)}function D(e){if(e.refCount<=0){e.releaseLeadership?.(),e.releaseLeadership=null;return}e.isLeader=!0,m(e)}function B(e){if(!l){D(e);return}e.lockAbort=new AbortController,navigator.locks.request(`sse-leader:${d}:${e.key}`,{signal:e.lockAbort.signal},()=>new Promise(t=>{e.releaseLeadership=t,D(e)})).catch(()=>{})}function W(e,t){t.kind==="event"?E(e,new MessageEvent(t.type,{data:t.data})):t.kind==="reconnect"&&A(e)}function g(e){const t=c.get(e);if(t)return t;const s={key:e,refCount:0,handlers:new Set,reconnectHandlers:new Set,bootDone:!1,es:null,isLeader:!1,reconnectAttempt:0,reconnectTimer:null,channel:null,lockAbort:null,releaseLeadership:null};if(c.set(e,s),l){const a=new BroadcastChannel(`sse:${d}:${e}`);a.onmessage=r=>W(s,r.data),s.channel=a}return s}function b(e){e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.es?.close(),e.es=null,e.releaseLeadership?.(),e.releaseLeadership=null,e.lockAbort?.abort(),e.lockAbort=null,e.channel?.close(),e.channel=null,c.delete(e.key)}return{dispose(){for(const e of[...c.values()])b(e)},subscribe(e,t,s){const a=!c.has(e),r=g(e);r.refCount++,r.handlers.add(t),s&&r.reconnectHandlers.add(s),a&&B(r);let R=!1;return()=>{R||(R=!0,r.handlers.delete(t),s&&r.reconnectHandlers.delete(s),r.refCount--,r.refCount<=0&&b(r))}}}}function o(n,f){const p=new Set(f);return{dispose:()=>n.dispose(),subscribe(d,_,c){const l=E=>{p.has(E.type)&&_(E)};return n.subscribe(d,l,c)}}}const k=[...V,O,w,L,N,P,y,M,v],J=k,z=k,i=I({name:"watch",buildUrl:n=>`/api/${encodeURIComponent(n)}/watch?types=${J.join(",")}`,eventTypes:z,crossTab:!0}),se=o(i,[...V]),re=o(i,[O,w]),ae=o(i,[L]),ne=o(i,[N]),oe=o(i,[P]),ie=o(i,[y]),ce=o(i,[M]),de=o(i,[v]),le=I({buildUrl:n=>`/api/${encodeURIComponent(n)}/watch?scope=all&types=${h.THREAD_STATUS}`,eventTypes:[h.THREAD_STATUS]});export{h as D,ee as E,te as O,H as P,oe as a,ne as b,ae as c,se as d,le as e,ie as n,de as o,ce as p,re as t};
1
+ import{ba as C,aF as T,aE as S}from"./index-B1ZvlDM_.js";import{T as O,a as w,b as L,c as N,d as P}from"./task-board-CITA4beV.js";import{e as F}from"./backoff-CrEUbyZT.js";const h={STEP:"decopilot.step",FINISH:"decopilot.finish",THREAD_STATUS:"decopilot.thread.status"},V=Object.values(h),y="notification.created",H=60,j=100,$=2e3,u=C(T().min(1)).max($),x=S({id:T().min(1).max(64),name:T().trim().min(1).max(H),projectIds:u}),Y=C(x).max(j),K=S({pinned:u,hidden:u,dismissed:u,hiddenFolders:u}),ee={pinned:[],hidden:[],dismissed:[],hiddenFolders:[]};S({folders:Y,preferences:K,joinedAt:T().nullable()});const M="project-folders.updated",v="order-monitor.store.evaluated",te=["orders_drop","denied_spike","cancel_spike"],X=3e4,q=1e3;function I(n){const{buildUrl:f,eventTypes:p,name:d,crossTab:_=!1}=n,c=new Map,l=_&&typeof BroadcastChannel<"u"&&typeof navigator<"u"&&typeof navigator.locks<"u";if(l&&!d)throw new Error("createSSESubscription: `name` is required when crossTab");function E(e,t){e.bootDone=!0;for(const s of e.handlers)try{s(t)}catch{}}function A(e){for(const t of e.reconnectHandlers)try{t()}catch{}}function m(e){const t=new EventSource(f(e.key));e.es=t,t.onopen=()=>{e.reconnectAttempt=0,e.bootDone&&(A(e),e.channel?.postMessage({kind:"reconnect"})),e.bootDone=!0},t.onerror=()=>{e.es===t&&t.readyState===EventSource.CLOSED&&U(e)};const s=a=>{e.channel?.postMessage({kind:"event",type:a.type,data:a.data}),E(e,a)};for(const a of p)t.addEventListener(a,s)}function U(e){if(e.refCount<=0||e.reconnectTimer)return;const t=F(X,q,e.reconnectAttempt,2,.5);e.reconnectAttempt++,e.reconnectTimer=setTimeout(()=>{e.reconnectTimer=null,!(e.refCount<=0||!e.isLeader)&&(e.es?.close(),m(e))},t)}function D(e){if(e.refCount<=0){e.releaseLeadership?.(),e.releaseLeadership=null;return}e.isLeader=!0,m(e)}function B(e){if(!l){D(e);return}e.lockAbort=new AbortController,navigator.locks.request(`sse-leader:${d}:${e.key}`,{signal:e.lockAbort.signal},()=>new Promise(t=>{e.releaseLeadership=t,D(e)})).catch(()=>{})}function W(e,t){t.kind==="event"?E(e,new MessageEvent(t.type,{data:t.data})):t.kind==="reconnect"&&A(e)}function g(e){const t=c.get(e);if(t)return t;const s={key:e,refCount:0,handlers:new Set,reconnectHandlers:new Set,bootDone:!1,es:null,isLeader:!1,reconnectAttempt:0,reconnectTimer:null,channel:null,lockAbort:null,releaseLeadership:null};if(c.set(e,s),l){const a=new BroadcastChannel(`sse:${d}:${e}`);a.onmessage=r=>W(s,r.data),s.channel=a}return s}function b(e){e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.es?.close(),e.es=null,e.releaseLeadership?.(),e.releaseLeadership=null,e.lockAbort?.abort(),e.lockAbort=null,e.channel?.close(),e.channel=null,c.delete(e.key)}return{dispose(){for(const e of[...c.values()])b(e)},subscribe(e,t,s){const a=!c.has(e),r=g(e);r.refCount++,r.handlers.add(t),s&&r.reconnectHandlers.add(s),a&&B(r);let R=!1;return()=>{R||(R=!0,r.handlers.delete(t),s&&r.reconnectHandlers.delete(s),r.refCount--,r.refCount<=0&&b(r))}}}}function o(n,f){const p=new Set(f);return{dispose:()=>n.dispose(),subscribe(d,_,c){const l=E=>{p.has(E.type)&&_(E)};return n.subscribe(d,l,c)}}}const k=[...V,O,w,L,N,P,y,M,v],J=k,z=k,i=I({name:"watch",buildUrl:n=>`/api/${encodeURIComponent(n)}/watch?types=${J.join(",")}`,eventTypes:z,crossTab:!0}),se=o(i,[...V]),re=o(i,[O,w]),ae=o(i,[L]),ne=o(i,[N]),oe=o(i,[P]),ie=o(i,[y]),ce=o(i,[M]),de=o(i,[v]),le=I({buildUrl:n=>`/api/${encodeURIComponent(n)}/watch?scope=all&types=${h.THREAD_STATUS}`,eventTypes:[h.THREAD_STATUS]});export{h as D,ee as E,te as O,H as P,oe as a,ne as b,ae as c,se as d,le as e,ie as n,de as o,ce as p,re as t};
@@ -50,8 +50,8 @@
50
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." />
51
51
  <meta name="twitter:image" content="/og-image.png" />
52
52
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
53
- <script type="module" crossorigin src="/assets/index-CpKrWBFM.js"></script>
54
- <link rel="stylesheet" crossorigin href="/assets/index-BkJtJQz4.css">
53
+ <script type="module" crossorigin src="/assets/index-B1ZvlDM_.js"></script>
54
+ <link rel="stylesheet" crossorigin href="/assets/index-69S-cBsb.css">
55
55
  </head>
56
56
  <body>
57
57
  <div id="root"></div>