decocms 4.582.0 → 4.583.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 (552) hide show
  1. package/dist/client/assets/{AlertCircle-D-4TK36c.js → AlertCircle-BfuEGc37.js} +1 -1
  2. package/dist/client/assets/{AreaChart-CkFdSy1i.js → AreaChart-DR454FhG.js} +1 -1
  3. package/dist/client/assets/{ArrowLeft-B34wRVvp.js → ArrowLeft-Ccyza8AK.js} +1 -1
  4. package/dist/client/assets/ArrowRight-BfJPk4p9.js +1 -0
  5. package/dist/client/assets/{ArrowUp-Cf_Jm-4W.js → ArrowUp-Cfwuhrfj.js} +1 -1
  6. package/dist/client/assets/{BookOpen01-Cu2i97yZ.js → BookOpen01-vaPiqXWZ.js} +1 -1
  7. package/dist/client/assets/{CartesianChart-gyi9lPG0.js → CartesianChart-Vg3-F_Bi.js} +1 -1
  8. package/dist/client/assets/{CategoricalChart-DplIvctj.js → CategoricalChart-gtbFaKuM.js} +1 -1
  9. package/dist/client/assets/{CheckCircle-D-W30b_A.js → CheckCircle-WpYwhp7A.js} +1 -1
  10. package/dist/client/assets/ChevronDown-Kpzb5_P-.js +1 -0
  11. package/dist/client/assets/{ChevronSelectorVertical-BORaKUYt.js → ChevronSelectorVertical-DNPn4Jhl.js} +1 -1
  12. package/dist/client/assets/ChevronUp-CwLphDxo.js +1 -0
  13. package/dist/client/assets/{CreditCard01-C2QL2326.js → CreditCard01-CDUEuZ6_.js} +1 -1
  14. package/dist/client/assets/Eye-BeTcpGN-.js +1 -0
  15. package/dist/client/assets/File02-D8jC2XAm.js +1 -0
  16. package/dist/client/assets/{Globe04-dU-sELuJ.js → Globe04-CM5K7y4B.js} +1 -1
  17. package/dist/client/assets/Image01-0Jwady1a.js +1 -0
  18. package/dist/client/assets/{Key01-zay6mYZz.js → Key01-Dqvoolzt.js} +1 -1
  19. package/dist/client/assets/LayoutLeft-Nn_BPz0l.js +1 -0
  20. package/dist/client/assets/LinkBroken01-6J7zZ1XX.js +1 -0
  21. package/dist/client/assets/Minimize01-Dylk6LHz.js +1 -0
  22. package/dist/client/assets/{Minus-BikCplhC.js → Minus-BFZz-RWg.js} +1 -1
  23. package/dist/client/assets/{Monitor01-DLndo6aP.js → Monitor01-ZIydqkip.js} +1 -1
  24. package/dist/client/assets/{Play-D_FIXuay.js → Play-CkrBckKV.js} +1 -1
  25. package/dist/client/assets/{Plus-D2V2-fTF.js → Plus-C8Idvwpa.js} +1 -1
  26. package/dist/client/assets/{ReferenceLine-BHHh91iS.js → ReferenceLine-2ZGA3m5C.js} +1 -1
  27. package/dist/client/assets/{SearchMd-DUXCcvZJ.js → SearchMd-G9SUUXxg.js} +1 -1
  28. package/dist/client/assets/{ShoppingBag01-Dak2svm7.js → ShoppingBag01-sbzM0fY9.js} +1 -1
  29. package/dist/client/assets/{Sun-BFXO9tQN.js → Sun-Bvg5JrAI.js} +1 -1
  30. package/dist/client/assets/{SwitchHorizontal01-2Pb5aRtq.js → SwitchHorizontal01-BbD-SqO6.js} +1 -1
  31. package/dist/client/assets/Tool01-DOjdBvJ6.js +1 -0
  32. package/dist/client/assets/{Tooltip-D91NYjQw.js → Tooltip-buu7_uLC.js} +1 -1
  33. package/dist/client/assets/{Trash01-Bu2u0WVA.js → Trash01-BRIjyxCC.js} +1 -1
  34. package/dist/client/assets/TrendUp01-DLgSqdSd.js +1 -0
  35. package/dist/client/assets/{Upload01-mgXAmijc.js → Upload01-Dd-OapHB.js} +1 -1
  36. package/dist/client/assets/UserCheck01-DVOI9Qq6.js +1 -0
  37. package/dist/client/assets/{UserSquare-DE5Uc7_R.js → UserSquare-CRBGeews.js} +1 -1
  38. package/dist/client/assets/{Users01-C3CmvyvK.js → Users01-bZ_S-kH7.js} +1 -1
  39. package/dist/client/assets/{XClose-l5OHkJlr.js → XClose-CWGS9q3D.js} +1 -1
  40. package/dist/client/assets/{Zap-DN6rNQ1C.js → Zap-BxaAY56U.js} +1 -1
  41. package/dist/client/assets/{access-gate-CLxhnjg9.js → access-gate-BpukTmFQ.js} +1 -1
  42. package/dist/client/assets/{add-connection-dialog-ZYFX175e.js → add-connection-dialog-BfsrivZp.js} +1 -1
  43. package/dist/client/assets/agent-app-ZmiqpLI8.js +1 -0
  44. package/dist/client/assets/agent-assets-CxDlSc-F.js +1 -0
  45. package/dist/client/assets/agent-automation-Cvq2MsBo.js +20 -0
  46. package/dist/client/assets/agent-automations-DqPMEPTu.js +1 -0
  47. package/dist/client/assets/agent-blog-CBUzxo-R.js +2 -0
  48. package/dist/client/assets/agent-blog-post-Bi0pzlIG.js +2 -0
  49. package/dist/client/assets/agent-calendar-D817wzif.js +1 -0
  50. package/dist/client/assets/{agent-capabilities-DWTuevMP.js → agent-capabilities-COfZW6Pr.js} +1 -1
  51. package/dist/client/assets/agent-connect-sources-DEAtqQDn.js +1 -0
  52. package/dist/client/assets/agent-deck-DLJ_JEHY.js +1 -0
  53. package/dist/client/assets/agent-e2e-B_mxpyua.js +1 -0
  54. package/dist/client/assets/agent-experiments-CC4vS2Ak.js +1 -0
  55. package/dist/client/assets/agent-file-DaY3pEIy.js +1 -0
  56. package/dist/client/assets/agent-hosting-CNynwqai.js +1 -0
  57. package/dist/client/assets/agent-icon-DE4TWlDl.js +1 -0
  58. package/dist/client/assets/agent-library-53yJ_N0C.js +1 -0
  59. package/dist/client/assets/agent-library-file-CmdRdcgJ.js +1 -0
  60. package/dist/client/assets/agent-overview-Bjahi54k.js +1 -0
  61. package/dist/client/assets/agent-releases-De-C-EMX.js +2 -0
  62. package/dist/client/assets/agent-settings-Bmfo6yEF.js +1 -0
  63. package/dist/client/assets/{agent-site-editor-LnCUJUlb.js → agent-site-editor-B5E5lU9u.js} +2 -2
  64. package/dist/client/assets/agent-site-editor-code-BzQzaZAE.js +2 -0
  65. package/dist/client/assets/agent-site-editor-content-D03NaTwn.js +1 -0
  66. package/dist/client/assets/agent-site-editor-preview-wStmeJD1.js +1 -0
  67. package/dist/client/assets/agent-view-Dh2W4gDj.js +1 -0
  68. package/dist/client/assets/agent-view-guard-25E2XJRr.js +1 -0
  69. package/dist/client/assets/ai-providers-E4UhWu6J.js +1 -0
  70. package/dist/client/assets/{alert-I1_CrCmh.js → alert-GV95Dsn9.js} +1 -1
  71. package/dist/client/assets/analytics-sections-C9-8NbQC.js +1 -0
  72. package/dist/client/assets/api-keys-BU9wHAPs.js +1 -0
  73. package/dist/client/assets/api-keys-C8ArQ5p_.js +1 -0
  74. package/dist/client/assets/app-editor-kEra9PRa.js +1 -0
  75. package/dist/client/assets/{asset-utils-B-KuVMuY.js → asset-utils-DWvcPbEZ.js} +1 -1
  76. package/dist/client/assets/{auth-catchall-DXrxcWBf.js → auth-catchall-Dy37bIqg.js} +1 -1
  77. package/dist/client/assets/{auth-entry-NtnP78Ol.js → auth-entry-BHlmJEBv.js} +1 -1
  78. package/dist/client/assets/{auth-Dh-2aYdX.js → auth-gL3R1YGn.js} +1 -1
  79. package/dist/client/assets/{auth-split-layout-FNYje5VL.js → auth-split-layout-ckQyQHcL.js} +1 -1
  80. package/dist/client/assets/{authenticate-and-persist-oauth-DOEkiQ_u.js → authenticate-and-persist-oauth-C7oT67KU.js} +1 -1
  81. package/dist/client/assets/automation-list-row-DriFJJzl.js +1 -0
  82. package/dist/client/assets/{automation-runs-C2quHBYd.js → automation-runs-C37do2Pw.js} +1 -1
  83. package/dist/client/assets/automations-tDs_UhVP.js +1 -0
  84. package/dist/client/assets/{badge-BGmWPELn.js → badge-BG-k6t3T.js} +1 -1
  85. package/dist/client/assets/{block-document-CuBMSVVn.js → block-document-pPtike34.js} +3 -3
  86. package/dist/client/assets/{blocks-preview-workspace-context-MbfgZRXf.js → blocks-preview-workspace-context-BBjk2tme.js} +1 -1
  87. package/dist/client/assets/{blocks-tab-states-DdvH_zgH.js → blocks-tab-states-GP0NCNYs.js} +1 -1
  88. package/dist/client/assets/{blog-preview-url-BoKhflQE.js → blog-preview-url-CwSXxQWr.js} +1 -1
  89. package/dist/client/assets/blog-schema-DOB707mb.js +1 -0
  90. package/dist/client/assets/{blog-source-gate-ChrbmkH2.js → blog-source-gate-3rG_0gJI.js} +1 -1
  91. package/dist/client/assets/blog-view-gate-Be4DtolQ.js +1 -0
  92. package/dist/client/assets/buckets-BZrhNTRn.js +1 -0
  93. package/dist/client/assets/{build-improve-prompt-doc-ZkNhFh73.js → build-improve-prompt-doc-DVbQXrhG.js} +1 -1
  94. package/dist/client/assets/calendar-CcuaFZRF.js +1 -0
  95. package/dist/client/assets/{capability-load-error-CmORVXZR.js → capability-load-error-Bcs21XUc.js} +1 -1
  96. package/dist/client/assets/category-editor-CnJqxifY.js +1 -0
  97. package/dist/client/assets/{category-tree-ArvPlYX5.js → category-tree-D2ejZxYL.js} +1 -1
  98. package/dist/client/assets/{chart-q3aX-DjJ.js → chart-B2B-jcI-.js} +1 -1
  99. package/dist/client/assets/chat-context-CiT7AzBS.js +43 -0
  100. package/dist/client/assets/{chat-draft-BsgbOfj3.js → chat-draft-BNZV2YjB.js} +1 -1
  101. package/dist/client/assets/{checkbox-JFndFNuZ.js → checkbox-DSC8VbDf.js} +1 -1
  102. package/dist/client/assets/choose-editor-uAW7DjQg.js +1 -0
  103. package/dist/client/assets/{cli-auth-success-CTMmXIbK.js → cli-auth-success-B897Xynp.js} +1 -1
  104. package/dist/client/assets/cms-settings-editor-B4pAxgqZ.js +1 -0
  105. package/dist/client/assets/{cms-store-drafts-Cp0f_S-1.js → cms-store-drafts-CtClpzKs.js} +1 -1
  106. package/dist/client/assets/{collapsible-B4lmmxiu.js → collapsible-DrV9qsGN.js} +1 -1
  107. package/dist/client/assets/collection-detail-DucMHrT0.js +1 -0
  108. package/dist/client/assets/{collection-display-button-L-gJFCO8.js → collection-display-button-BHyM7wC2.js} +1 -1
  109. package/dist/client/assets/{collection-search-j-a5PWZI.js → collection-search-BbCHAL7t.js} +1 -1
  110. package/dist/client/assets/{collection-table-wrapper-BbdjpVWW.js → collection-table-wrapper-BlLHObjj.js} +1 -1
  111. package/dist/client/assets/{collection-tabs-DHj6Urx3.js → collection-tabs-BXeEDC1Y.js} +1 -1
  112. package/dist/client/assets/{combobox-CBPCAqF_.js → combobox-DugO3-8Q.js} +1 -1
  113. package/dist/client/assets/{command-DCUf4RGf.js → command-Bo6EGcaE.js} +1 -1
  114. package/dist/client/assets/{companion-mcps-section-C-0h9QLB.js → companion-mcps-section-CsXLIG2Z.js} +1 -1
  115. package/dist/client/assets/config-CdVwRL_a.js +1 -0
  116. package/dist/client/assets/{client-icons-CvP_xTjP.js → connect-key--cfk-fLm.js} +1 -1
  117. package/dist/client/assets/{connect-layout-BiGf7x_Q.js → connect-layout-BPppRISp.js} +1 -1
  118. package/dist/client/assets/connect-lufub1FU.js +9 -0
  119. package/dist/client/assets/{connect-source-dialog-C9cU78Fo.js → connect-source-dialog-CfsFTEbG.js} +1 -1
  120. package/dist/client/assets/{connection-CG7u8AbM.js → connection-BLQs5hMz.js} +1 -1
  121. package/dist/client/assets/{connection-card-C5XxA3Cv.js → connection-card-vLs08dR6.js} +1 -1
  122. package/dist/client/assets/connection-detail-CLkPYY1x.js +1 -0
  123. package/dist/client/assets/{connection-form-helpers-B2Vjms_B.js → connection-form-helpers-BSIh8Ep0.js} +1 -1
  124. package/dist/client/assets/connection-slug-CmPPcsjf.js +1 -0
  125. package/dist/client/assets/connections-C4ZbA0RY.js +1 -0
  126. package/dist/client/assets/{content-tab-Ct80gvFF.js → content-tab-C-pzFX10.js} +4 -4
  127. package/dist/client/assets/context-3bSluoDN.js +1 -0
  128. package/dist/client/assets/{context-menu-B7ywEyjT.js → context-menu-CzIORBDb.js} +1 -1
  129. package/dist/client/assets/{context-shell-C6vXZZrB.js → context-shell-3lL8N_R5.js} +4 -4
  130. package/dist/client/assets/{create-organization-dialog-CfD4gWck.js → create-organization-dialog-k086v-9Q.js} +1 -1
  131. package/dist/client/assets/daily-pulse-P6H0d8QI.js +1 -0
  132. package/dist/client/assets/{delete-copy-CPJVDDbB.js → delete-copy-BQaedVkX.js} +1 -1
  133. package/dist/client/assets/{device-hint-CwVsFX34.js → device-hint-CvnqGHIy.js} +1 -1
  134. package/dist/client/assets/discover-qzwfuJLu.js +1 -0
  135. package/dist/client/assets/{domain-settings-Dgpsy8Ru.js → domain-settings-y3u2iu2W.js} +1 -1
  136. package/dist/client/assets/{drawer-DRyRdlMw.js → drawer-CarQd6Jb.js} +1 -1
  137. package/dist/client/assets/{editor-FceeQfS7.js → editor-DYk_2MJQ.js} +1 -1
  138. package/dist/client/assets/{editor-classes-D9FopdtJ.js → editor-classes-DVIoQu74.js} +1 -1
  139. package/dist/client/assets/{empty-message-ILKuHEfQ.js → empty-message-C90DlePv.js} +1 -1
  140. package/dist/client/assets/{empty-state-BmCMJHsS.js → empty-state-B67nwURy.js} +1 -1
  141. package/dist/client/assets/{empty-state-GIO1CyUk.js → empty-state-XAK3RjVy.js} +1 -1
  142. package/dist/client/assets/experiments-tab-choice-D8ZqCESL.js +1 -0
  143. package/dist/client/assets/{extract-connection-data-BKW6jN3t.js → extract-connection-data-D6CjTXbp.js} +1 -1
  144. package/dist/client/assets/feature-gate-CCvZeJRu.js +1 -0
  145. package/dist/client/assets/{feature-paywall-DrXSdvNQ.js → feature-paywall-DzmzZ5s3.js} +1 -1
  146. package/dist/client/assets/file-explorer-BqxAkXtr.js +2 -0
  147. package/dist/client/assets/{file-preview-mmsBTOqH.js → file-preview-C0yEEExh.js} +1 -1
  148. package/dist/client/assets/file-share-button-CowSSkLB.js +3 -0
  149. package/dist/client/assets/{file-type-icon-CLz3IVP9.js → file-type-icon-CEP8k4gh.js} +1 -1
  150. package/dist/client/assets/folder-icon-CmtFeppJ.js +1 -0
  151. package/dist/client/assets/{form-B_7ux469.js → form-8GAe5FIZ.js} +1 -1
  152. package/dist/client/assets/{frame-navigation-BFx5wDUC.js → frame-navigation-BpI5RQJq.js} +1 -1
  153. package/dist/client/assets/gateway-client-BqPME1T5.js +1 -0
  154. package/dist/client/assets/general-DbhKzHt5.js +1 -0
  155. package/dist/client/assets/{github-icon-1x8ZI6aO.js → github-icon-BH4kK9If.js} +1 -1
  156. package/dist/client/assets/{held-block-view-CwWI05W1.js → held-block-view-MI6LUwjK.js} +3 -3
  157. package/dist/client/assets/home-_NmLJi-9.js +1 -0
  158. package/dist/client/assets/home-overview-CTEEkh3w.js +1 -0
  159. package/dist/client/assets/{hosted-reconcile-J9x487tr.js → hosted-reconcile-BbIfIwl1.js} +1 -1
  160. package/dist/client/assets/{icon-button-DoWTRkdN.js → icon-button-Dd8gTd4-.js} +1 -1
  161. package/dist/client/assets/index-B-OtHlgY.js +4 -0
  162. package/dist/client/assets/{index-CITQS6NN.js → index-BRHz7VD8.js} +1 -1
  163. package/dist/client/assets/{index-BWer9hfc.js → index-BY10zRfl.js} +1 -1
  164. package/dist/client/assets/index-B_-z8Lrt.js +1 -0
  165. package/dist/client/assets/{index-CFoO-AVG.js → index-C17JTAPe.js} +2 -2
  166. package/dist/client/assets/{index-249EXZ6B.js → index-CADsC-mK.js} +2 -2
  167. package/dist/client/assets/{index-rmNLmONI.js → index-CYjM_f4V.js} +1 -1
  168. package/dist/client/assets/{index-BcW9W_hK.js → index-CZQ-Wgjf.js} +1 -1
  169. package/dist/client/assets/{index-D9wygnbU.js → index-CwntHk8S.js} +13 -13
  170. package/dist/client/assets/index-DClpdtOI.js +1 -0
  171. package/dist/client/assets/{index-3FmhyOXc.js → index-DEOQXzn-.js} +1 -1
  172. package/dist/client/assets/{index-BW4kEj0q.js → index-DIHnNoyA.js} +1 -1
  173. package/dist/client/assets/{index-DpIy5MwJ.js → index-DPCC7KEx.js} +1 -1
  174. package/dist/client/assets/{index-OqiiY1Yn.js → index-Dez-6rcd.js} +1 -1
  175. package/dist/client/assets/index-Dkr4Q9bE.js +1 -0
  176. package/dist/client/assets/{index-mxlRzmxc.js → index-Do3hK3is.js} +1 -1
  177. package/dist/client/assets/{index-B-Ig6PCZ.js → index-km18CQ4q.js} +1 -1
  178. package/dist/client/assets/index-pbgcO64n.css +1 -0
  179. package/dist/client/assets/{index-redirect-CJIC9mkE.js → index-redirect-CTR6WNPG.js} +1 -1
  180. package/dist/client/assets/{infiniteQueryObserver-oJohchTM.js → infiniteQueryObserver-DdeQTeaz.js} +1 -1
  181. package/dist/client/assets/infra-billing-tXzfTwHJ.js +1 -0
  182. package/dist/client/assets/input-CxFJosPu.js +17 -0
  183. package/dist/client/assets/{input-BKW9wk8M.js → input-DXyNd1dE.js} +1 -1
  184. package/dist/client/assets/{integration-icon-BPaLmZuD.js → integration-icon-BCAGJ22m.js} +1 -1
  185. package/dist/client/assets/item-actions-B4f3ZYnI.js +1 -0
  186. package/dist/client/assets/{jira-icon-DjiAFXC-.js → jira-icon-B0PrtQPW.js} +1 -1
  187. package/dist/client/assets/{label-CzgbmbQw.js → label-BFX3DXnu.js} +1 -1
  188. package/dist/client/assets/{layout-CUqOdrCT.js → layout-GEd6141D.js} +1 -1
  189. package/dist/client/assets/{legacy-admin-welcome-dialog-D_Hj5ND0.js → legacy-admin-welcome-dialog-CjbAHNU0.js} +1 -1
  190. package/dist/client/assets/legacy-agents-deep-BRMRDtxS.js +1 -0
  191. package/dist/client/assets/{legacy-main-redirect-DS2vLtmG.js → legacy-main-redirect-Cpcnm12P.js} +1 -1
  192. package/dist/client/assets/library-GlSV21no.js +1 -0
  193. package/dist/client/assets/{library-tab-CH65a0_i.js → library-tab-DiZQg1qQ.js} +2 -2
  194. package/dist/client/assets/{login-BB30sN9A.js → login-DUNIcOhP.js} +1 -1
  195. package/dist/client/assets/{markdown-Ck8Lzm4U.js → markdown-sWsq0zMA.js} +5 -5
  196. package/dist/client/assets/{mcp-app-renderer-Bo8RWBFo.js → mcp-app-renderer-DSMzeo3v.js} +1 -1
  197. package/dist/client/assets/{mcp-oauth-D2OwpRg0.js → mcp-oauth-Cal4irlG.js} +1 -1
  198. package/dist/client/assets/{mcp-oauth-3agwb6e9.js → mcp-oauth-DFWIYz5V.js} +1 -1
  199. package/dist/client/assets/members-D9DcuyAK.js +1 -0
  200. package/dist/client/assets/memory-DYN3365K.js +7 -0
  201. package/dist/client/assets/mock-board-llSJ1DSL.js +10 -0
  202. package/dist/client/assets/{monaco-editor-Dfffv6IO.js → monaco-editor-4_N5zBDQ.js} +1 -1
  203. package/dist/client/assets/{monitoring-CHShsrek.js → monitoring-5YgUKCBd.js} +2 -2
  204. package/dist/client/assets/{monitoring-stats-row-D7LX-cE_.js → monitoring-stats-row-BCaHkQz9.js} +1 -1
  205. package/dist/client/assets/multi-select-B4K-daTY.js +1 -0
  206. package/dist/client/assets/{mustache-DTIKPLCX.js → mustache-B8t03rZ4.js} +1 -1
  207. package/dist/client/assets/{named-rule-step-DvAWHM_a.js → named-rule-step-P0BFUtVs.js} +1 -1
  208. package/dist/client/assets/named-rule-view-CvRYAekO.js +1 -0
  209. package/dist/client/assets/new-project-dialog-DI67z-Vr.js +1 -0
  210. package/dist/client/assets/new-project-store-DoliA5Iq.js +1 -0
  211. package/dist/client/assets/{oauth-callback-BAHxkyHL.js → oauth-callback-DtdbhW3N.js} +1 -1
  212. package/dist/client/assets/{oauth-callback-ai-provider-0HSc9az8.js → oauth-callback-ai-provider-iNwVQAC1.js} +1 -1
  213. package/dist/client/assets/{oauth-consent-B6XJ_dp8.js → oauth-consent-Co0jE424.js} +1 -1
  214. package/dist/client/assets/{onboarding-CpC02gHH.js → onboarding-Dn4ndntc.js} +1 -1
  215. package/dist/client/assets/openai-conversation-D43N7JcR.js +3 -0
  216. package/dist/client/assets/{optimistic-project-sidebar-views-DEmaeFuw.js → optimistic-project-sidebar-views-PUKP14F8.js} +1 -1
  217. package/dist/client/assets/order-monitor-day-fHekYy64.js +1 -0
  218. package/dist/client/assets/{organization-choice-DJG3VWvN.js → organization-choice-Ctd80SL2.js} +1 -1
  219. package/dist/client/assets/orgs-BQeWnD4l.js +1 -0
  220. package/dist/client/assets/own-accounts-section-CwzdBIu0.js +1 -0
  221. package/dist/client/assets/pair-Du2wOAPA.js +48 -0
  222. package/dist/client/assets/{parse-sections-C45nXdFm.js → parse-sections-DUEfhNb0.js} +4 -4
  223. package/dist/client/assets/plan-BDh0er6r.js +1 -0
  224. package/dist/client/assets/{plan-ladder-ClYEg_1y.js → plan-ladder-cJHOFEt_.js} +1 -1
  225. package/dist/client/assets/{plan-usage-card-DmepxGNe.js → plan-usage-card-DnCWaNBs.js} +1 -1
  226. package/dist/client/assets/{popover-DbdL41A-.js → popover-XZWwzjJe.js} +1 -1
  227. package/dist/client/assets/post-calendar-Cq2VElZ4.js +1 -0
  228. package/dist/client/assets/{post-editor-CVR7WxMp.js → post-editor-ChZHYnmE.js} +2 -2
  229. package/dist/client/assets/preview-content-Ct9U0F_F.js +1 -0
  230. package/dist/client/assets/{preview-dialog-CAVf21hW.js → preview-dialog-BlN_MeAY.js} +1 -1
  231. package/dist/client/assets/{preview-panel-DcRdLvZD.js → preview-panel-CMaIBxrS.js} +1 -1
  232. package/dist/client/assets/preview-tab-rp6yyGU1.js +557 -0
  233. package/dist/client/assets/product-picker-dialog-Cp5iroCv.js +1 -0
  234. package/dist/client/assets/profile-BvhSJiAV.js +1 -0
  235. package/dist/client/assets/project-app-view-BPtWGCfo.js +1 -0
  236. package/dist/client/assets/project-apps-CDSLxQ6C.js +1 -0
  237. package/dist/client/assets/{project-icon-D3VravgB.js → project-icon-C_Qws_Ah.js} +1 -1
  238. package/dist/client/assets/{project-index-CZL_Bcej.js → project-index-dmu51Z_5.js} +1 -1
  239. package/dist/client/assets/project-reports-BVUPVqwF.js +1 -0
  240. package/dist/client/assets/project-tasks-i5QwXcB1.js +1 -0
  241. package/dist/client/assets/projects-9cB_xTYP.js +1 -0
  242. package/dist/client/assets/{projects-empty-state-ChOzUybQ.js → projects-empty-state-ZoaV8gjs.js} +1 -1
  243. package/dist/client/assets/{prompts-Cs8yzamL.js → prompts-DfPwtsSz.js} +1 -1
  244. package/dist/client/assets/record-editor-BQX3fl3B.js +1 -0
  245. package/dist/client/assets/redirect-editor-DmgDoBZW.js +1 -0
  246. package/dist/client/assets/{reports-DDPJwQn7.js → reports-B7Mq5ojT.js} +1 -1
  247. package/dist/client/assets/reports-Dmcxcdt8.js +1 -0
  248. package/dist/client/assets/reports-onboarding-DnVjGniS.js +1 -0
  249. package/dist/client/assets/reports-tab-D7WrLBuD.js +2 -0
  250. package/dist/client/assets/repositories-B6qJORdw.js +1 -0
  251. package/dist/client/assets/repositories-CKo-J8oc.js +1 -0
  252. package/dist/client/assets/{repository-binding-C2KfYomQ.js → repository-binding-Cqb4hBI0.js} +1 -1
  253. package/dist/client/assets/{repository-picker-BQc3OAcG.js → repository-picker-B967M4cj.js} +1 -1
  254. package/dist/client/assets/{require-capability-BQcAZUwY.js → require-capability-CnRgBqvn.js} +1 -1
  255. package/dist/client/assets/{required-auth-layout-BszE36jh.js → required-auth-layout-DwZV69de.js} +1 -1
  256. package/dist/client/assets/{reset-password-BVb2l5We.js → reset-password-DBlLRH7P.js} +1 -1
  257. package/dist/client/assets/resizable-Ddu9Pik_.js +1 -0
  258. package/dist/client/assets/resolve-tab-icon-C5v6XuFJ.js +1 -0
  259. package/dist/client/assets/{review-settings-BacW9etz.js → review-settings-_NtVHX9D.js} +1 -1
  260. package/dist/client/assets/{role-color-DUV_b0hq.js → role-color-CYCY1ZHM.js} +1 -1
  261. package/dist/client/assets/roles-BOIysbZW.js +1 -0
  262. package/dist/client/assets/route-B2eUAr3E.js +1 -0
  263. package/dist/client/assets/route-DjNFlT9m.js +1 -0
  264. package/dist/client/assets/route-l3dfZAcw.js +1 -0
  265. package/dist/client/assets/route-page-header-x4fiBRQK.js +1 -0
  266. package/dist/client/assets/{sandbox-git-api-Bxa573Th.js → sandbox-git-api-CX3IYPAX.js} +1 -1
  267. package/dist/client/assets/{sandbox-lifecycle-context-oW4CAFSP.js → sandbox-lifecycle-context-CsmYXarj.js} +1 -1
  268. package/dist/client/assets/save-status-DM-afM9Q.js +1 -0
  269. package/dist/client/assets/{schema-gnANfn26.js → schema-Bh0CFZUA.js} +1 -1
  270. package/dist/client/assets/{schema-DqcJORUD.js → schema-CsGAsuNy.js} +1 -1
  271. package/dist/client/assets/{scroll-area-mLdPDQZk.js → scroll-area-DkuLv9J_.js} +1 -1
  272. package/dist/client/assets/{search-input-DbkaTSNM.js → search-input-Yj0UUhbr.js} +1 -1
  273. package/dist/client/assets/{search-toggle-yUKGBwRs.js → search-toggle-CTqn74j5.js} +1 -1
  274. package/dist/client/assets/{secret-picker-C8Xe_qFX.js → secret-picker-FNSDTzDT.js} +1 -1
  275. package/dist/client/assets/secrets-DnkJAwly.js +1 -0
  276. package/dist/client/assets/{section-array-field-ah4STHLi.js → section-array-field-DbmoEjb3.js} +1 -1
  277. package/dist/client/assets/sections-Bk5O8laV.js +1 -0
  278. package/dist/client/assets/sections-editor-BYa3JqlT.js +1 -0
  279. package/dist/client/assets/select-DqZVtjvu.js +1 -0
  280. package/dist/client/assets/{select-model-CfeDs1cS.js → select-model-D_3F7ch9.js} +1 -1
  281. package/dist/client/assets/{seo-editor-BtwYLJ0f.js → seo-editor-alLFkZ3V.js} +1 -1
  282. package/dist/client/assets/{separator-D7JbMKRF.js → separator-DOH2DVT3.js} +1 -1
  283. package/dist/client/assets/session-runtime-DaEm9VzJ.js +1 -0
  284. package/dist/client/assets/settings-tab-Dnn9Ngte.js +1 -0
  285. package/dist/client/assets/{sheet-mGT77pmX.js → sheet-B3BCtfXu.js} +1 -1
  286. package/dist/client/assets/shell-layout-BMy93BCc.js +1 -0
  287. package/dist/client/assets/{site-draft-actions-BWcvrVJJ.js → site-draft-actions-C2zLtAMz.js} +5 -5
  288. package/dist/client/assets/site-draft-view-ikG8CMuB.js +1 -0
  289. package/dist/client/assets/site-editor-B8VlT5Kv.js +1 -0
  290. package/dist/client/assets/site-editor-toast-GAJZE2A0.js +1 -0
  291. package/dist/client/assets/skills-dIhMA0Ze.js +1 -0
  292. package/dist/client/assets/{slider-_L8nnrvM.js → slider-DirLi5JL.js} +1 -1
  293. package/dist/client/assets/{sortable.esm-Dw4xFH50.js → sortable.esm-B3zbNG6q.js} +1 -1
  294. package/dist/client/assets/sso-tZNmyRgp.js +1 -0
  295. package/dist/client/assets/{suggestion-CV5YiylC.js → suggestion-bCd1m59t.js} +1 -1
  296. package/dist/client/assets/{super-agent-icon-tF39Whlb.js → super-agent-icon-AJ6ZRe5V.js} +1 -1
  297. package/dist/client/assets/{switch-B0tv99B3.js → switch-BviC1co2.js} +1 -1
  298. package/dist/client/assets/{synced-repos-BOeEsDnA.js → synced-repos-DsEdkMaA.js} +1 -1
  299. package/dist/client/assets/{tab-icon-glyph-BgVegBho.js → tab-icon-glyph-DkjrfS6l.js} +1 -1
  300. package/dist/client/assets/{table-CV4RoALe.js → table-DX15DDx1.js} +1 -1
  301. package/dist/client/assets/{tabs-DgvT8Pj5.js → tabs-BiFBpWbA.js} +1 -1
  302. package/dist/client/assets/task-board-DD2iUGL4.js +1 -0
  303. package/dist/client/assets/{core.esm-B-QMfivo.js → task-key-DP7js_2-.js} +2 -2
  304. package/dist/client/assets/task-route-Bfb6XWlb.js +1 -0
  305. package/dist/client/assets/{task-status-B4zkOwKe.js → task-status-CBWakThc.js} +1 -1
  306. package/dist/client/assets/taskboard-analytics-B5XiM0gZ.js +1 -0
  307. package/dist/client/assets/{tasks-B0KKqEdX.js → tasks-BPwrQv5-.js} +3 -3
  308. package/dist/client/assets/tasks-ip1BqsyR.js +1 -0
  309. package/dist/client/assets/{textarea-DM0e8Qi7.js → textarea-BoSVR1xB.js} +1 -1
  310. package/dist/client/assets/thread-analytics-B3wSdPFK.js +1 -0
  311. package/dist/client/assets/thread-button-CIHD7120.js +1 -0
  312. package/dist/client/assets/{thread-intent-CaGJ1BhS.js → thread-intent-DpzwhK2y.js} +6 -6
  313. package/dist/client/assets/thread-route-Bdw4g7Hg.js +1 -0
  314. package/dist/client/assets/thread-route-D4mea9ep.js +1 -0
  315. package/dist/client/assets/thread-sheet-body-C1_HCALD.js +1 -0
  316. package/dist/client/assets/time-range-picker-B9_5lQqT.js +1 -0
  317. package/dist/client/assets/{toggle-group-Cu1mfNzX.js → toggle-group-l7lV2Oqp.js} +1 -1
  318. package/dist/client/assets/{tool-set-selector-CKA5xrb6.js → tool-set-selector-BQISxiF9.js} +1 -1
  319. package/dist/client/assets/{toolbar-icon-button-VHIAKSnc.js → toolbar-icon-button-CflJ2Qid.js} +1 -1
  320. package/dist/client/assets/{tooltip-CVxFMGcO.js → tooltip-BTd3W-2Z.js} +1 -1
  321. package/dist/client/assets/{tooltipContext-BptH8Zj7.js → tooltipContext-De8eALzu.js} +1 -1
  322. package/dist/client/assets/{track-vSgJeDn7.js → track-BBHYiJkY.js} +1 -1
  323. package/dist/client/assets/{types-Bz47I97G.js → types-C8b3acwX.js} +1 -1
  324. package/dist/client/assets/{url-slug-BR0vmMxN.js → url-slug-gNlq1cKV.js} +1 -1
  325. package/dist/client/assets/{usage-stats-Dr1e2NVB.js → usage-stats-Bk_1jh1-.js} +2 -2
  326. package/dist/client/assets/{use-ai-providers-DTX4zdTq.js → use-ai-providers-Cya2RotC.js} +1 -1
  327. package/dist/client/assets/use-api-keys-BdlPKuv4.js +1 -0
  328. package/dist/client/assets/use-apply-named-rule-CcoLpt-_.js +1 -0
  329. package/dist/client/assets/use-ask-in-chat-B_ARVX9A.js +1 -0
  330. package/dist/client/assets/{use-automations-8WbgZhli.js → use-automations-CerQ9Qaj.js} +1 -1
  331. package/dist/client/assets/{use-autosave-rNMlQ4zg.js → use-autosave-CQa7WbXM.js} +1 -1
  332. package/dist/client/assets/use-blocks-v8-project-BedqZgtc.js +1 -0
  333. package/dist/client/assets/use-blog-view-9s3Vkx1q.js +1 -0
  334. package/dist/client/assets/use-chat-layout-state-CWt5k1nY.js +1 -0
  335. package/dist/client/assets/{use-cms-publish-actions-B-aKIQS2.js → use-cms-publish-actions-7QluCfa8.js} +4 -4
  336. package/dist/client/assets/use-connect-companion-B8Oqj7MQ.js +1 -0
  337. package/dist/client/assets/{use-connection-Lv1GX4XO.js → use-connection-2s3z_IKD.js} +1 -1
  338. package/dist/client/assets/{use-content-sync-CSFDJJ2I.js → use-content-sync-DxzP8nN9.js} +1 -1
  339. package/dist/client/assets/{use-copy-B2pKd0TM.js → use-copy-sOY8Yuot.js} +1 -1
  340. package/dist/client/assets/use-current-view-EjRzX02x.js +1 -0
  341. package/dist/client/assets/{use-date-fns-locale-D1sid-Du.js → use-date-fns-locale-DjDbgiCF.js} +1 -1
  342. package/dist/client/assets/{use-debounced-autosave-yF8PgiVs.js → use-debounced-autosave--lHIRoNY.js} +1 -1
  343. package/dist/client/assets/{use-debounced-value-BAQPYGcf.js → use-debounced-value-RJW46-1q.js} +1 -1
  344. package/dist/client/assets/{use-deco-credits-DHv1UkQ9.js → use-deco-credits-d4Nbb0l0.js} +1 -1
  345. package/dist/client/assets/use-decopilot-events-BGpwG8Pb.js +1 -0
  346. package/dist/client/assets/use-delete-block-BR5smTsV.js +1 -0
  347. package/dist/client/assets/{use-delete-connection-TX_vnMiY.js → use-delete-connection-DHkW3H9t.js} +1 -1
  348. package/dist/client/assets/{use-deployment-admin-BTOwWmd_.js → use-deployment-admin-j92yIioi.js} +1 -1
  349. package/dist/client/assets/{use-entitlements-DpylFAUx.js → use-entitlements-DtyegfyM.js} +1 -1
  350. package/dist/client/assets/use-fast-preview-draft-url-B4HFa9pK.js +1 -0
  351. package/dist/client/assets/{use-file-configs-CG-6B_hv.js → use-file-configs-CzyibAGV.js} +1 -1
  352. package/dist/client/assets/{use-id-selection-DufR_IM-.js → use-id-selection-DSQKok9P.js} +1 -1
  353. package/dist/client/assets/use-in-settings-DLJEfljS.js +1 -0
  354. package/dist/client/assets/{use-inbox-feed-C9Mwe9dc.js → use-inbox-feed-BNnBKFlA.js} +1 -1
  355. package/dist/client/assets/{use-infinite-scroll-uPmbLXy7.js → use-infinite-scroll-D1tYrKq7.js} +1 -1
  356. package/dist/client/assets/{use-join-requests-C9270cag.js → use-join-requests-CSjMfH5p.js} +1 -1
  357. package/dist/client/assets/use-main-panel-tabs-CllMGKzI.js +1 -0
  358. package/dist/client/assets/use-mcp-auth-status-DS0pbV57.js +1 -0
  359. package/dist/client/assets/{use-mcp-client-BZnIK-Y4.js → use-mcp-client-Cvc3WWPF.js} +2 -2
  360. package/dist/client/assets/{use-mcp-prompts-Dtbvjt4h.js → use-mcp-prompts-Ck1uv43A.js} +1 -1
  361. package/dist/client/assets/{use-mcp-tools-ubXBMl6b.js → use-mcp-tools-BIzewITl.js} +1 -1
  362. package/dist/client/assets/{use-mobile-C5u1Qie9.js → use-mobile-CG2XwDbe.js} +1 -1
  363. package/dist/client/assets/{use-move-blocks-FpNNMdYb.js → use-move-blocks-Dv6zyDyx.js} +1 -1
  364. package/dist/client/assets/{use-navigate-to-agent-DtRhmnlg.js → use-navigate-to-agent-BFBISUMc.js} +1 -1
  365. package/dist/client/assets/use-never-published-D3zJmakm.js +1 -0
  366. package/dist/client/assets/{use-org-fs-Cd0Vep23.js → use-org-fs-BfE7L8cf.js} +1 -1
  367. package/dist/client/assets/use-org-notice-DghJzmC_.js +1 -0
  368. package/dist/client/assets/{use-org-repo-syncs-SJRy46mf.js → use-org-repo-syncs-CU3MGWk9.js} +1 -1
  369. package/dist/client/assets/{use-org-sso-COBiertF.js → use-org-sso-C8BMUr72.js} +1 -1
  370. package/dist/client/assets/{use-organization-settings-CRwm0586.js → use-organization-settings-Ddjh427l.js} +1 -1
  371. package/dist/client/assets/use-panel-navigate-V2MXWXLu.js +1 -0
  372. package/dist/client/assets/use-project-native-view-presence-EdJBeOw9.js +1 -0
  373. package/dist/client/assets/use-project-scope-COzEo5Zz.js +1 -0
  374. package/dist/client/assets/use-recent-apps-BpR_nbgz.js +1 -0
  375. package/dist/client/assets/{use-reports-diagnostic-DgRjbmEf.js → use-reports-diagnostic-DYf7sFCj.js} +1 -1
  376. package/dist/client/assets/use-sandbox-events-cbWqZuIm.js +2 -0
  377. package/dist/client/assets/{use-secrets-jhGB5cvg.js → use-secrets-BamKWPUs.js} +1 -1
  378. package/dist/client/assets/{use-section-preview-base-CxqwLEJO.js → use-section-preview-base-Cy_X_Jjl.js} +1 -1
  379. package/dist/client/assets/use-sidebar-collapsed-CGkkkrTj.js +1 -0
  380. package/dist/client/assets/{use-tags-CBIw_9wj.js → use-tags-staoqXQp.js} +1 -1
  381. package/dist/client/assets/{use-task-board-analytics-DVdYIVtB.js → use-task-board-analytics-C5Dsg-uV.js} +1 -1
  382. package/dist/client/assets/{use-task-board-item-prs-KjQVKJGy.js → use-task-board-item-prs-DsFjq28v.js} +1 -1
  383. package/dist/client/assets/use-task-board-items-OgSDu-ag.js +1 -0
  384. package/dist/client/assets/{use-task-board-prompts-5OmBV-BO.js → use-task-board-prompts-Bn4-yS6Z.js} +1 -1
  385. package/dist/client/assets/{use-task-metadata-xW_FzRqh.js → use-task-metadata-Bc8o5Sts.js} +1 -1
  386. package/dist/client/assets/{use-thread-outputs-CN7E968n.js → use-thread-outputs-Co5bznxQ.js} +1 -1
  387. package/dist/client/assets/use-view-draft-kind-BdwsMdex.js +1 -0
  388. package/dist/client/assets/use-voice-input-CwLNuWlo.js +1 -0
  389. package/dist/client/assets/useInfiniteQuery-BagPKS5m.js +1 -0
  390. package/dist/client/assets/{useQueries-BruvTC1j.js → useQueries-BjVZ4kPO.js} +1 -1
  391. package/dist/client/assets/useSuspenseInfiniteQuery-BUmkwIx5.js +1 -0
  392. package/dist/client/assets/{users-ByNwcAJI.js → users-CPRHIyd2.js} +1 -1
  393. package/dist/client/assets/utils-DPEBLDgi.js +4 -0
  394. package/dist/client/assets/variant-calendar-Dlw46bNO.js +1 -0
  395. package/dist/client/assets/{variant-matcher-override-CbZkMadE.js → variant-matcher-override-ChW3ijK5.js} +1 -1
  396. package/dist/client/assets/{view-header-tBobsCC8.js → view-header-D4oknAV1.js} +1 -1
  397. package/dist/client/assets/virtual-mcp-nhrh3mtw.js +1 -0
  398. package/dist/client/assets/{watch-sse-pool-HKLsGoUY.js → watch-sse-pool-CTgVk3NA.js} +1 -1
  399. package/dist/client/index.html +2 -2
  400. package/dist/server/server.js +1 -1
  401. package/package.json +1 -1
  402. package/dist/client/assets/ChevronUp-s7k4XU_p.js +0 -1
  403. package/dist/client/assets/LinkBroken01-D4Fzd5qu.js +0 -1
  404. package/dist/client/assets/Tool01-s83oNDoy.js +0 -1
  405. package/dist/client/assets/agent-app-Cimvv1NW.js +0 -1
  406. package/dist/client/assets/agent-assets-CXtexOn6.js +0 -1
  407. package/dist/client/assets/agent-automation-DnUzn_Xt.js +0 -20
  408. package/dist/client/assets/agent-automations-D4hO7Hf6.js +0 -1
  409. package/dist/client/assets/agent-blog-C6-P3uCx.js +0 -2
  410. package/dist/client/assets/agent-blog-post-tCR4iQAk.js +0 -2
  411. package/dist/client/assets/agent-calendar-DqwMJ6TI.js +0 -1
  412. package/dist/client/assets/agent-connect-sources-CQDMgwdR.js +0 -1
  413. package/dist/client/assets/agent-deck-CTEHtbNm.js +0 -1
  414. package/dist/client/assets/agent-e2e-CgIk5HXH.js +0 -1
  415. package/dist/client/assets/agent-experiments-DWa03yYa.js +0 -1
  416. package/dist/client/assets/agent-file-C8OplG41.js +0 -1
  417. package/dist/client/assets/agent-hosting-DZwc-hYc.js +0 -1
  418. package/dist/client/assets/agent-icon-DHk7TnW1.js +0 -1
  419. package/dist/client/assets/agent-library-Bhlc7QbZ.js +0 -1
  420. package/dist/client/assets/agent-library-file-NZe3W-xa.js +0 -1
  421. package/dist/client/assets/agent-overview-BjxnoHtS.js +0 -1
  422. package/dist/client/assets/agent-releases-DJXEsnr4.js +0 -2
  423. package/dist/client/assets/agent-settings-IyhNx_G4.js +0 -1
  424. package/dist/client/assets/agent-site-editor-code-B371nTRh.js +0 -2
  425. package/dist/client/assets/agent-site-editor-content-B6-iieBO.js +0 -1
  426. package/dist/client/assets/agent-site-editor-preview-Dt3bOYz8.js +0 -1
  427. package/dist/client/assets/agent-view-BIybMP8S.js +0 -1
  428. package/dist/client/assets/agent-view-guard-BkBbWqXx.js +0 -1
  429. package/dist/client/assets/ai-providers-CPyrRCb2.js +0 -1
  430. package/dist/client/assets/analytics-sections-BrNKTJt8.js +0 -1
  431. package/dist/client/assets/api-keys-BFjbEQH6.js +0 -1
  432. package/dist/client/assets/api-keys-CQiDxx3i.js +0 -1
  433. package/dist/client/assets/app-editor-Bu-6D-sg.js +0 -1
  434. package/dist/client/assets/automation-list-row-CE7SXhaQ.js +0 -1
  435. package/dist/client/assets/automations-DPaT01e7.js +0 -1
  436. package/dist/client/assets/blog-schema-EWcl-SDU.js +0 -1
  437. package/dist/client/assets/blog-view-gate-BPhH6bKz.js +0 -1
  438. package/dist/client/assets/buckets-lH8mvjw2.js +0 -1
  439. package/dist/client/assets/calendar-DD1b_D7F.js +0 -1
  440. package/dist/client/assets/category-editor-CIxCWDky.js +0 -1
  441. package/dist/client/assets/chat-context-B9rZ1ojJ.js +0 -39
  442. package/dist/client/assets/choose-editor-DvmC-iMO.js +0 -1
  443. package/dist/client/assets/cms-settings-editor-9nWJpKcE.js +0 -1
  444. package/dist/client/assets/collection-detail-DLSsSNsw.js +0 -1
  445. package/dist/client/assets/config-gK1vyYpA.js +0 -1
  446. package/dist/client/assets/connect-BjmhjHJY.js +0 -9
  447. package/dist/client/assets/connection-detail-DpiK53yx.js +0 -1
  448. package/dist/client/assets/connection-slug-C9_jBSFl.js +0 -1
  449. package/dist/client/assets/connections-COV9Ow5m.js +0 -1
  450. package/dist/client/assets/context-BvzzvYU9.js +0 -1
  451. package/dist/client/assets/discover-BoR_YGj-.js +0 -1
  452. package/dist/client/assets/experiments-tab-choice-CAU_bLj1.js +0 -1
  453. package/dist/client/assets/feature-gate-2lTAc4xs.js +0 -1
  454. package/dist/client/assets/file-explorer-SB0BRdQa.js +0 -2
  455. package/dist/client/assets/file-share-button-BmXIU90b.js +0 -3
  456. package/dist/client/assets/folder-icon-DczOK4X3.js +0 -1
  457. package/dist/client/assets/general-CPM5iXZa.js +0 -1
  458. package/dist/client/assets/home-CYIjoH-m.js +0 -1
  459. package/dist/client/assets/home-overview-BvhVg2vV.js +0 -1
  460. package/dist/client/assets/index-BtRGS8vq.css +0 -1
  461. package/dist/client/assets/index-CFMb9ZoK.js +0 -4
  462. package/dist/client/assets/index-D-5KT7YJ.js +0 -1
  463. package/dist/client/assets/index-D4fWOfQV.js +0 -1
  464. package/dist/client/assets/index-DT6cEtD6.js +0 -1
  465. package/dist/client/assets/infra-billing-BmRwy4ol.js +0 -1
  466. package/dist/client/assets/input-8RS_xi7t.js +0 -17
  467. package/dist/client/assets/item-actions-1298TOwC.js +0 -1
  468. package/dist/client/assets/legacy-agents-deep-CzKSWS31.js +0 -1
  469. package/dist/client/assets/library-Brt6n-TA.js +0 -1
  470. package/dist/client/assets/members-ChISvAMj.js +0 -1
  471. package/dist/client/assets/memory-C27haG4J.js +0 -7
  472. package/dist/client/assets/mock-board-BywyOk2L.js +0 -10
  473. package/dist/client/assets/multi-select-B4TjM0bb.js +0 -1
  474. package/dist/client/assets/named-rule-view-BNe6XoGj.js +0 -1
  475. package/dist/client/assets/new-project-dialog-MxeroDTr.js +0 -1
  476. package/dist/client/assets/openai-conversation-PDrYjlY3.js +0 -3
  477. package/dist/client/assets/order-monitor-day-CWMt_zZN.js +0 -1
  478. package/dist/client/assets/orgs-Dk0Ii4jK.js +0 -1
  479. package/dist/client/assets/own-accounts-section-h1niaKS8.js +0 -1
  480. package/dist/client/assets/pair-Cd8NH003.js +0 -48
  481. package/dist/client/assets/plan-D9R1-AZQ.js +0 -1
  482. package/dist/client/assets/post-calendar-BodpNGCL.js +0 -1
  483. package/dist/client/assets/preview-content-CAIaH_bT.js +0 -1
  484. package/dist/client/assets/preview-tab-Da5MFmuu.js +0 -557
  485. package/dist/client/assets/product-picker-dialog-n0_PqHbz.js +0 -1
  486. package/dist/client/assets/profile-C2zVoVuX.js +0 -1
  487. package/dist/client/assets/project-app-view-DL5XMDyp.js +0 -1
  488. package/dist/client/assets/project-apps-Oyn1Gnz0.js +0 -1
  489. package/dist/client/assets/project-reports-CC7ptk4l.js +0 -1
  490. package/dist/client/assets/project-tasks-DMyDSLCM.js +0 -1
  491. package/dist/client/assets/projects-3knV1Wr_.js +0 -1
  492. package/dist/client/assets/record-editor-CkMBdekB.js +0 -1
  493. package/dist/client/assets/redirect-editor-DhGl9GBV.js +0 -1
  494. package/dist/client/assets/reports-onboarding-DMi5ETfa.js +0 -1
  495. package/dist/client/assets/reports-tab-tHGof2FW.js +0 -2
  496. package/dist/client/assets/reports-x6uGEsmu.js +0 -1
  497. package/dist/client/assets/repositories-BTQbxkj9.js +0 -1
  498. package/dist/client/assets/repositories-W2INiIpb.js +0 -1
  499. package/dist/client/assets/resizable-B34lmUXk.js +0 -1
  500. package/dist/client/assets/resolve-tab-icon-DGM8yJyS.js +0 -1
  501. package/dist/client/assets/roles-Ce95RFET.js +0 -1
  502. package/dist/client/assets/route-ByQoYEQ1.js +0 -1
  503. package/dist/client/assets/route-CZrJA2Du.js +0 -1
  504. package/dist/client/assets/route-DwOjJhPU.js +0 -1
  505. package/dist/client/assets/save-status-Cf9701GC.js +0 -1
  506. package/dist/client/assets/secrets-7vsHBI_C.js +0 -1
  507. package/dist/client/assets/sections-DwAaRTqc.js +0 -1
  508. package/dist/client/assets/sections-editor-Cw7rVBET.js +0 -1
  509. package/dist/client/assets/select-C2TZ6w0T.js +0 -1
  510. package/dist/client/assets/settings-tab-Bt6v_h7A.js +0 -1
  511. package/dist/client/assets/shell-layout-DElHwXzP.js +0 -1
  512. package/dist/client/assets/site-draft-view-BYRbX7hq.js +0 -1
  513. package/dist/client/assets/site-editor-DtYKhDUe.js +0 -1
  514. package/dist/client/assets/site-editor-toast-fJQVfqa6.js +0 -1
  515. package/dist/client/assets/skills-BVBJsFpt.js +0 -1
  516. package/dist/client/assets/sso-jLEvOfRs.js +0 -1
  517. package/dist/client/assets/task-board-DvkfyL0D.js +0 -1
  518. package/dist/client/assets/task-key-BCHdFiOO.js +0 -1
  519. package/dist/client/assets/task-route-DvThF15k.js +0 -1
  520. package/dist/client/assets/taskboard-analytics-wmnzdjd1.js +0 -1
  521. package/dist/client/assets/tasks-x5QR56dC.js +0 -1
  522. package/dist/client/assets/thread-analytics-BhQM5Fjz.js +0 -1
  523. package/dist/client/assets/thread-route-B-GLI-gf.js +0 -1
  524. package/dist/client/assets/thread-route-DgzeVZc_.js +0 -1
  525. package/dist/client/assets/thread-sheet-body-CtA9qKg3.js +0 -1
  526. package/dist/client/assets/time-range-picker-CngcAO-k.js +0 -1
  527. package/dist/client/assets/tool-namespace-DBtCIV7f.js +0 -1
  528. package/dist/client/assets/use-apply-named-rule-OLP0GHWV.js +0 -1
  529. package/dist/client/assets/use-ask-in-chat-Dom4oae3.js +0 -1
  530. package/dist/client/assets/use-blocks-v8-project-Ol6SuT-M.js +0 -1
  531. package/dist/client/assets/use-chat-layout-state-DM5US5qS.js +0 -1
  532. package/dist/client/assets/use-connect-companion-BcVm5W-r.js +0 -1
  533. package/dist/client/assets/use-decopilot-events-DGoOKMj0.js +0 -1
  534. package/dist/client/assets/use-delete-block-y2vOypSK.js +0 -1
  535. package/dist/client/assets/use-fast-preview-draft-url-OHnSoOh2.js +0 -1
  536. package/dist/client/assets/use-main-panel-tabs-DUVnwi3u.js +0 -1
  537. package/dist/client/assets/use-mcp-auth-status-DENAEdO_.js +0 -1
  538. package/dist/client/assets/use-never-published-CqQvHtX-.js +0 -1
  539. package/dist/client/assets/use-project-native-view-presence-BnSN9oER.js +0 -1
  540. package/dist/client/assets/use-project-scope-lI2ukIh1.js +0 -1
  541. package/dist/client/assets/use-recent-apps-CnCq1w_A.js +0 -1
  542. package/dist/client/assets/use-sandbox-events-BZs_wcMW.js +0 -2
  543. package/dist/client/assets/use-sidebar-collapsed-BWtKakyD.js +0 -1
  544. package/dist/client/assets/use-task-board-events-n_cm8Gyp.js +0 -1
  545. package/dist/client/assets/use-task-board-items-gM-MOBw8.js +0 -1
  546. package/dist/client/assets/use-view-draft-kind-BsykP2yK.js +0 -1
  547. package/dist/client/assets/use-voice-input-seZQKt1s.js +0 -1
  548. package/dist/client/assets/useInfiniteQuery-Bz8irSN1.js +0 -1
  549. package/dist/client/assets/useSuspenseInfiniteQuery-DKXKbUjm.js +0 -1
  550. package/dist/client/assets/utils-BoDmGD4u.js +0 -4
  551. package/dist/client/assets/variant-calendar-BsyPkd78.js +0 -1
  552. package/dist/client/assets/virtual-mcp-BJ1dRL5Y.js +0 -1
@@ -1 +0,0 @@
1
- import{a as m}from"./task-board-DvkfyL0D.js";import{r as e}from"./index-D9wygnbU.js";import{t as g}from"./watch-sse-pool-HKLsGoUY.js";const p=()=>0;function v(E){const{orgSlug:r,enabled:t=!0,onUpdate:u,onDelete:c,onResync:o}=E,a=e.useRef(u);a.current=u;const f=e.useRef(c);f.current=c;const d=e.useRef(o);d.current=o;const s=e.useRef(null),R=e.useRef(t),i=e.useRef(r);(!s.current||R.current!==t||i.current!==r)&&(R.current=t,i.current=r,s.current=b=>{if(!t||!r)return()=>{};const S=l=>{let n;try{n=JSON.parse(l.data)}catch{return}n.data&&(l.type===m?f.current?.(n.data.id):a.current(n.data)),b()};return g.subscribe(r,S,()=>d.current?.())}),e.useSyncExternalStore(s.current,p,p)}export{v as u};
@@ -1 +0,0 @@
1
- import{i as j,b as Y}from"./config-gK1vyYpA.js";import{c as P,a4 as U,q as W,K as E,ak as G,i as V,b as X,e as R,E as Z,t as H}from"./index-D9wygnbU.js";import{u as tt}from"./use-task-board-events-n_cm8Gyp.js";import{u as et}from"./use-decopilot-events-DGoOKMj0.js";const st=new Set(["post_deploy_validation","done"]),at=new Set(["done","archived"]);function J(t){if(!st.has(t.status)||!t.updatedAt)return null;const r=Date.parse(t.updatedAt);return Number.isNaN(r)?null:r}function ft(t,r){return t.filter(s=>(J(s)??-1/0)>=r).length}function mt(t,r){return t.filter(s=>at.has(s.status)?!1:r&&s.assigneeId===r?!0:j(s)||Y(s)).sort((s,e)=>(s.updatedAt??"").localeCompare(e.updatedAt??""))}function yt(t){return j(t)?"answer":Y(t)?"review":"assigned"}function ht(t){const r=[];for(const s of t)for(const e of s.threads)e.status==="in_progress"&&r.push({threadId:e.threadId,taskId:s.id,taskTitle:s.title,runTitle:e.title,startedAt:e.createdAt});return r.sort((s,e)=>e.startedAt.localeCompare(s.startedAt))}const gt=14;function At(t,r,s=Date.now()){const e=new Array(r).fill(0);for(const a of t){const n=J(a);if(n===null)continue;const i=r-1-Math.floor(Math.max(0,s-n)/864e5);i>=0&&i<r&&(e[i]+=1)}return e}function It(t,r,s=Date.now()){const e=new Array(r).fill(0);for(const a of t)for(const n of a.threads){const i=Date.parse(n.lastActiveAt);if(Number.isNaN(i))continue;const o=r-1-Math.floor(Math.max(0,s-i)/864e5);o>=0&&o<r&&(e[o]+=1)}return e}function rt(t){const r=new Date(t);r.setDate(1),r.setHours(0,0,0,0);const s=r.getTime();return{since:s,days:Math.floor((t-s)/864e5)+1}}function St(t,r=Date.now()){const{since:s,days:e}=rt(r),a=new Array(e).fill(0);for(const n of t)for(const i of n.threads){const o=Date.parse(i.lastActiveAt);if(Number.isNaN(o)||o<s||o>r)continue;const m=Math.floor((o-s)/864e5);m>=0&&m<e&&(a[m]+=i.costUsd??0)}return a}function Tt(t){return t<=0?"$0":t>=1e3?`$${(t/1e3).toFixed(1)}k`:t>=10?`$${Math.round(t)}`:`$${t.toFixed(2)}`}function nt(t,r){return{queryKey:E.taskBoardItems(t),refetchInterval:6e4,queryFn:async()=>{const{items:s,demoFrozenItemIds:e}=await r.call("TASK_BOARD_ITEM_LIST",{});return{items:s,demoFrozenItemIds:e}}}}function ot(){const t=P.c(21),{org:r,locator:s}=U(),e=W();let a;t[0]!==s?(a=E.taskBoardItems(s),t[0]=s,t[1]=a):a=t[1];const n=a;let i;t[2]!==s||t[3]!==e||t[4]!==n?(i=y=>{e.cancelQueries({queryKey:n}),e.setQueryData(n,d=>d&&{...d,items:d.items.some(c=>c.id===y.id)?d.items.map(c=>c.id===y.id?y:c):[y,...d.items]}),e.invalidateQueries({queryKey:E.taskBoardActivity(s,y.id)}),e.invalidateQueries({queryKey:E.taskBoardComments(s,y.id)})},t[2]=s,t[3]=e,t[4]=n,t[5]=i):i=t[5];let o,m;t[6]!==e||t[7]!==n?(o=()=>{e.invalidateQueries({queryKey:n})},m=y=>{e.cancelQueries({queryKey:n}),e.setQueryData(n,d=>d&&{...d,items:d.items.filter(c=>c.id!==y)})},t[6]=e,t[7]=n,t[8]=o,t[9]=m):(o=t[8],m=t[9]);let u;t[10]!==r.slug||t[11]!==i||t[12]!==o||t[13]!==m?(u={orgSlug:r.slug,onUpdate:i,onResync:o,onDelete:m},t[10]=r.slug,t[11]=i,t[12]=o,t[13]=m,t[14]=u):u=t[14],tt(u);let h;t[15]!==e||t[16]!==n?(h=y=>{const d=y.subject,c=y.data.status;e.cancelQueries({queryKey:n}),e.setQueryData(n,g=>g&&{...g,items:g.items.map(A=>A.threads.some(S=>S.threadId===d)?{...A,threads:A.threads.map(S=>S.threadId===d?{...S,status:c}:S)}:A)});const D=e.getQueryData(n)?.items.some(g=>g.threads.some(A=>A.threadId===d));c==="failed"&&D&&e.invalidateQueries({queryKey:n})},t[15]=e,t[16]=n,t[17]=h):h=t[17];let T;t[18]!==r.slug||t[19]!==h?(T={orgSlug:r.slug,onTaskStatus:h},t[18]=r.slug,t[19]=h,t[20]=T):T=t[20],et(T)}function Dt(){const t=P.c(13),{locator:r}=U(),s=G();let e;t[0]!==r||t[1]!==s?(e=nt(r,s),t[0]=r,t[1]=s,t[2]=e):e=t[2];const a=V(e);ot();let n;t[3]!==a.data?.items?(n=a.data?.items??[],t[3]=a.data?.items,t[4]=n):n=t[4];let i;t[5]!==a.data?.demoFrozenItemIds?(i=a.data?.demoFrozenItemIds??[],t[5]=a.data?.demoFrozenItemIds,t[6]=i):i=t[6];let o;return t[7]!==a.error||t[8]!==a.isFetching||t[9]!==a.isLoading||t[10]!==n||t[11]!==i?(o={items:n,demoFrozenItemIds:i,isLoading:a.isLoading,isFetching:a.isFetching,error:a.error},t[7]=a.error,t[8]=a.isFetching,t[9]=a.isLoading,t[10]=n,t[11]=i,t[12]=o):o=t[12],o}function Et(){const t=P.c(70),{org:r,locator:s}=U(),e=G(),a=W(),n=X();let i;t[0]!==s?(i=E.taskBoardItems(s),t[0]=s,t[1]=i):i=t[1];const o=i;let m;t[2]!==a||t[3]!==o?(m=()=>a.invalidateQueries({queryKey:o}),t[2]=a,t[3]=o,t[4]=m):m=t[4];const u=m;let h;t[5]!==e?(h=l=>e.call("TASK_BOARD_ITEM_CREATE",l),t[5]=e,t[6]=h):h=t[6];let T;t[7]!==u||t[8]!==h?(T={mutationFn:h,onSuccess:u},t[7]=u,t[8]=h,t[9]=T):T=t[9];const y=R(T);let d;t[10]!==e?(d=l=>e.call("TASK_BOARD_ITEM_UPDATE",l),t[10]=e,t[11]=d):d=t[11];let c;t[12]!==a||t[13]!==o?(c=async l=>{await a.cancelQueries({queryKey:o});const I=a.getQueryData(o);return a.setQueryData(o,f=>f&&{...f,items:f.items.map(O=>O.id===l.id?{...O,...l,...l.status!==void 0&&l.status!==O.status&&{statusSince:new Date().toISOString()}}:O)}),{previous:I}},t[12]=a,t[13]=o,t[14]=c):c=t[14];let D;t[15]!==r?(D=(l,I)=>{I.status==="done"&&Z("task_marked_done",{organization_id:r.id,task_board_item_id:I.id})},t[15]=r,t[16]=D):D=t[16];let g;t[17]!==a||t[18]!==o?(g=(l,I,f)=>{f?.previous&&a.setQueryData(o,f.previous)},t[17]=a,t[18]=o,t[19]=g):g=t[19];let A;t[20]!==u||t[21]!==s||t[22]!==a?(A=(l,I,f)=>{u(),a.invalidateQueries({queryKey:E.taskBoardActivity(s,f.id)})},t[20]=u,t[21]=s,t[22]=a,t[23]=A):A=t[23];let S;t[24]!==d||t[25]!==c||t[26]!==D||t[27]!==g||t[28]!==A?(S={mutationFn:d,onMutate:c,onSuccess:D,onError:g,onSettled:A},t[24]=d,t[25]=c,t[26]=D,t[27]=g,t[28]=A,t[29]=S):S=t[29];const $=R(S);let k;t[30]!==e?(k=l=>e.call("TASK_BOARD_ITEM_DELETE",{id:l}),t[30]=e,t[31]=k):k=t[31];let _;t[32]!==u||t[33]!==n?(_=l=>{H.error(l instanceof Error&&l.message?l.message:n("taskBoard.taskBoard.deleteError")),u()},t[32]=u,t[33]=n,t[34]=_):_=t[34];let w;t[35]!==u||t[36]!==k||t[37]!==_?(w={mutationFn:k,onSuccess:u,onError:_},t[35]=u,t[36]=k,t[37]=_,t[38]=w):w=t[38];const x=R(w);let B;t[39]!==e?(B=async l=>{const I=await Promise.allSettled(l.map(f=>e.call("TASK_BOARD_ITEM_DELETE",{id:f})));return{total:l.length,failed:I.filter(it).length}},t[39]=e,t[40]=B):B=t[40];let p,Q;t[41]!==n?(p=l=>{const{total:I,failed:f}=l;f!==0&&H.error(n("taskBoard.taskBoard.deleteBulkError",{failed:String(f),total:String(I)}))},Q=()=>H.error(n("taskBoard.taskBoard.deleteError")),t[41]=n,t[42]=p,t[43]=Q):(p=t[42],Q=t[43]);let q;t[44]!==u||t[45]!==B||t[46]!==p||t[47]!==Q?(q={mutationFn:B,onSuccess:p,onError:Q,onSettled:u},t[44]=u,t[45]=B,t[46]=p,t[47]=Q,t[48]=q):q=t[48];const L=R(q);let M;t[49]!==e?(M=l=>e.call("TASK_BOARD_ITEM_UPDATE",l),t[49]=e,t[50]=M):M=t[50];let v;t[51]!==u||t[52]!==M?(v={mutationFn:M,onSuccess:u},t[51]=u,t[52]=M,t[53]=v):v=t[53];const b=R(v);let F;t[54]!==e?(F=l=>e.call("TASK_BOARD_ITEM_RERUN",l),t[54]=e,t[55]=F):F=t[55];let K;t[56]!==u||t[57]!==s||t[58]!==a?(K=(l,I,f)=>{u(),a.invalidateQueries({queryKey:E.taskBoardActivity(s,f.id)})},t[56]=u,t[57]=s,t[58]=a,t[59]=K):K=t[59];let N;t[60]!==F||t[61]!==K?(N={mutationFn:F,onSettled:K},t[60]=F,t[61]=K,t[62]=N):N=t[62];const z=R(N);let C;return t[63]!==y||t[64]!==b||t[65]!==x||t[66]!==L||t[67]!==z||t[68]!==$?(C={create:y,update:$,remove:x,removeMany:L,link:b,rerun:z},t[63]=y,t[64]=b,t[65]=x,t[66]=L,t[67]=z,t[68]=$,t[69]=C):C=t[69],C}function it(t){return t.status==="rejected"}export{gt as R,nt as a,yt as b,At as c,It as d,St as e,Tt as f,Dt as g,Et as h,ht as r,ft as s,mt as t,ot as u};
@@ -1 +0,0 @@
1
- import{c as m,f as w,u as A,cH as k,d as x,l as I,cI as _,cJ as P,at as K,cK as O,cL as R}from"./index-D9wygnbU.js";import{b as j}from"./thread-route-B-GLI-gf.js";import{u as L}from"./use-project-scope-lI2ukIh1.js";import{a as B,c as M}from"./use-organization-settings-CRwm0586.js";import{f as v,i as c,j as F,t as U,d as J,g as T}from"./thread-intent-CaGJ1BhS.js";function $(e){const t=e.destination==="agent",n={thread:t?e.previous.thread:void 0,sidepanel:e.previous.sidepanel,autosend:t?e.previous.autosend:void 0};return{...e.update?e.update(n):n,mainpanel:void 0}}function z(){const e=m.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={structuralSharing:!0,select:C},e[0]=t):t=e[0],I(t)}function C(e){for(let t=e.matches.length-1;t>=0;t--){const n=e.matches[t]?.staticData;if(n?.mainView||n?.siteEditorView)return{mainView:n.mainView,siteEditorView:n.siteEditorView}}return{mainView:void 0,siteEditorView:void 0}}function ce(){const e=m.c(2);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={strict:!1},e[0]=t):t=e[0];const n=w(t);let a;e[1]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},e[1]=a):a=e[1];const r=A(a),i={file:"file"in r&&typeof r.file=="string"?r.file:void 0,key:"key"in r&&typeof r.key=="string"?r.key:void 0,path:"path"in r&&typeof r.path=="string"?r.path:void 0},{mainView:o,siteEditorView:s}=z();return k({mainView:o,siteEditorView:s,params:n,search:i})}function ue(){const e=m.c(11),t=x();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={strict:!1},e[0]=n):n=e[0];const a=w(n),r=j(),i=L(),o=a.org??"";let s;e[1]!==t||e[2]!==o||e[3]!==r||e[4]!==i?(s=(d,u)=>{const y=_(d),S=u?.virtualmcpid!==void 0||i!==null?"project":"organization",D=y.kind==="org-destination"||y.kind==="project-destination"&&S==="organization",E=N=>$({previous:N,destination:D?"organization":"agent",update:u?.search});P(t,{org:o,agentId:u?.virtualmcpid??r,tabId:d,destinationScope:S,taskKey:u?.taskKey,search:E,replace:u?.replace??!0})},e[1]=t,e[2]=o,e[3]=r,e[4]=i,e[5]=s):s=e[5];const p=s;let l;e[6]!==t?(l=d=>t({to:".",search:Y,replace:d?.replace??!0}),e[6]=t,e[7]=l):l=e[7];const h=l;let f;return e[8]!==h||e[9]!==p?(f={openPanel:p,closePanel:h},e[8]=h,e[9]=p,e[10]=f):f=e[10],f}function Y(e){return{...e,mainpanel:!1,sidepanel:!0}}const G=1e4,le="true",b=2;function g(e,t){return K.chatAutosend(e,t)}function H(e){return e==="pending"||e==="sending"}function Q(e){if(!e)return null;let t;try{t=JSON.parse(e)}catch{return null}if(!t||typeof t!="object")return null;const n=t;let a=0;n.status==="sending"?a=n.retryAt===void 0?1:b:n.retryAt!==void 0&&(a=1);const r=n.attempt===void 0?a:n.attempt;return typeof n.createdAt!="number"||typeof n.message!="object"||!H(n.status)||n.retryAt!==void 0&&typeof n.retryAt!="number"||typeof r!="number"||!Number.isInteger(r)||r<0||r>b?null:{...t,attempt:r}}function fe(e,t,n,a,r=Date.now()){const i={message:a,createdAt:r,status:"pending",attempt:0};return e.setItem(g(t,n),JSON.stringify(i)),i}function W(e,t,n){const a=g(t,n),r=Q(e.getItem(a));return r||(e.removeItem(a),null)}function de(e,t,n,a=Date.now()){const r=g(t,n),i=W(e,t,n);if(!i||i.status!=="pending")return null;if(i.attempt>=b)return e.removeItem(r),null;const o=i.retryAt??i.createdAt;if(a-o>=G)return e.removeItem(r),null;const s={...i,status:"sending",attempt:i.attempt+1};return e.setItem(r,JSON.stringify(s)),{message:s.message,createdAt:s.createdAt,attempt:s.attempt}}function me(e,t,n){e.removeItem(g(t,n))}const X=new Set(["site-editor","content","code","calendar","experiments"]);function q(e,t,n){return n?e==="blog"||e==="blog-post"?"blog":e==="monitoring"?t==="experiments"?"site":null:e&&X.has(e)?"site":null:null}function V(e){return c(e)?"blog":"site"}function ge(e,t,n){return t===null?[...e]:e.filter(a=>V(a.branch)===t||a.branch===n)}function pe(e,t,n,a){const r=e.filter(i=>i.branch!==t&&(n===null||V(i.branch)===n));return r.find(i=>(i.runtime??a)!=="sandbox")??r[0]}function he(e){return c(e)?"thread.branchPicker.blogDraftName":"thread.branchPicker.defaultVersionName"}function Z(e,t,n){return e==="blog"?c(t.branch)||F(t.metadata,n)==="sandbox":e==="site"?!c(t.branch):!0}function be(e,t,n){return!t.partial&&e==="blog"===c(t.branch)&&U(t,J(n))}function ve(e,t){const n=e||v(t);return c(n)?{branch:n}:{branch:n,runtime:"sandbox"}}function ee(e,t,n){return Z(e,t,n)?null:e==="blog"?"site-editor":"blog"}function ye(e,t,n){return n&&c(e)?v(t):T(t)}function Se(e){const t=e.viewKind==="blog"||e.blogView&&c(e.branch)?v(e.userLabel):T(e.userLabel);return e.projectDefault==="cms"?{kind:"new-thread",runtime:"cms",branch:t}:{kind:"repoint",branch:t}}function te(e){if(!e)return null;const t=_(e);return t.kind==="blog"?"blog":t.kind==="site-editor"||t.kind==="agent-section"&&(t.section==="calendar"||t.section==="experiments")?"site":null}function we(e,t,n){return!e||!t||!n?e:ee(te(e),t,void 0)??e}function ne(){return B("blog_view_enabled")}function Ae(){const e=O()?.org.id,t=M("blog_view_enabled");return e?t:!1}function _e(){const e=m.c(5),t=R(),n=ne();let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},e[0]=a):a=e[0];const r=A(a),i="view"in r&&typeof r.view=="string"?r.view:void 0;let o;return e[1]!==n||e[2]!==t||e[3]!==i?(o=q(t,i,n),e[1]=n,e[2]=t,e[3]=i,e[4]=o):o=e[4],o}export{le as A,_e as a,ue as b,ve as c,he as d,ne as e,Ae as f,de as g,me as h,be as i,ge as j,V as k,Se as l,ye as n,$ as r,pe as s,we as t,ce as u,Z as v,fe as w};
@@ -1 +0,0 @@
1
- import{c as L,b as V,r as N,j as r,m as q,B as Z,bv as ee}from"./index-D9wygnbU.js";import{j as te,d as re,r as se,p as ne}from"./thread-intent-CaGJ1BhS.js";import{u as H,i as oe,d as le,j as ie,k as ce,m as ae}from"./chat-context-B9rZ1ojJ.js";import{u as ue}from"./repository-binding-C2KfYomQ.js";import{a as Q,b as Y,P as G}from"./popover-DbdL41A-.js";import{d as de,b as fe,a as me,D as he}from"./drawer-DRyRdlMw.js";import{T as pe,a as xe,c as ge}from"./tooltip-CVxFMGcO.js";import{u as ve}from"./use-mobile-C5u1Qie9.js";import{g as ye,at as Se,l as be}from"./agent-icon-DHk7TnW1.js";import{t as je}from"./ChevronUp-s7k4XU_p.js";import{t as Te}from"./Tool01-s83oNDoy.js";import{d as Re}from"./use-organization-settings-CRwm0586.js";import{u as J,c as Me,d as ke}from"./use-ai-providers-DTX4zdTq.js";import{M as Ce,a as Ie}from"./index-CFoO-AVG.js";import{d as we,e as Ne,b as _e}from"./use-entitlements-DpylFAUx.js";function ft(t){const e=L.c(14),o=ue(t),S=H(),s=o?.metadata,a=S?.activeTask,n=a?.metadata?.runtime;let u;e[0]!==n?(u=ne(n),e[0]=n,e[1]=u):u=e[1];const x=u,b=!!a&&!a.partial,l=a?.metadata;let j;e[2]!==s||e[3]!==l?(j=te(l,s),e[2]=s,e[3]=l,e[4]=j):j=e[4];const g=!!x||b&&!!o;let f;e[5]!==s?(f=re(s),e[5]=s,e[6]=f):f=e[6];let i;e[7]!==s?(i=se(s),e[7]=s,e[8]=i):i=e[8];let v;return e[9]!==j||e[10]!==g||e[11]!==f||e[12]!==i?(v={runtime:j,resolved:g,projectDefault:f,previewServerUrl:i},e[9]=j,e[10]=g,e[11]=f,e[12]=i,e[13]=v):v=e[13],v}function Pe(t){return["openai-compatible","openrouter","deco"].includes(t)}function De(t,e){return Pe(t)&&$e(e)!==null}function $e(t){const e=t.replace(/^openai\//,"");return/^(gpt-\d|o[134](?:-|$))/.test(e)?e:null}const Ee={anthropic:/^claude-/,openrouter:/^anthropic\/claude-/,deco:/^anthropic\/claude-/};function Fe(t,e){return Ee[t]?.test(e)??!1}function Ae(t){return Me(t)&&Fe(t.providerId,t.modelId)}function ze(t,e){return t?{modelId:t.modelId,title:t.title??t.modelId,keyId:t.keyId,providerId:e,description:null,logo:null,capabilities:[],limits:null,costs:null}:null}const Le={fast:"chat.tierTrigger.tierFast",smart:"chat.tierTrigger.tierSmart",thinking:"chat.tierTrigger.tierThinking"};function Ue(t){const e=L.c(32),{tier:o,orgSlot:S,userSlot:s,autoSlot:a,filterModels:n,onPick:u,onReset:x,onClose:b}=t,l=V(),j=J(),g=new Set(j.map(Be)),f=oe([s,S,a],g),i=f?.keyId??null,[v,m]=N.useState(i??j[0]?.id??null),c=j.some(P=>P.id===v)?v:i??j[0]?.id??null,k=c?j.find(P=>P.id===c):null,M="flex h-[70vh] max-h-[460px] w-full flex-col",T=Le[o];let h;e[0]!==l||e[1]!==T?(h=l(T),e[0]=l,e[1]=T,e[2]=h):h=e[2];let p;e[3]!==h?(p=r.jsx("span",{className:"text-xs font-medium text-muted-foreground",children:h}),e[3]=h,e[4]=p):p=e[4];let y;e[5]!==x||e[6]!==l||e[7]!==s?(y=s&&r.jsx("button",{type:"button",onClick:x,className:"text-xs text-muted-foreground hover:text-foreground px-2 py-1 rounded-lg hover:bg-accent cursor-pointer",children:l("chat.modelPreferences.reset")}),e[5]=x,e[6]=l,e[7]=s,e[8]=y):y=e[8];let R;e[9]!==p||e[10]!==y?(R=r.jsxs("div",{className:"flex items-center justify-between px-3 h-8 shrink-0",children:[p,y]}),e[9]=p,e[10]=y,e[11]=R):R=e[11];const d="flex-1 min-h-0",C=N.Suspense;let _;e[12]===Symbol.for("react.memo_cache_sentinel")?(_=r.jsx(Ie,{}),e[12]=_):_=e[12];const z=Ce,A=!0,E=ze(i?f:null,k?.providerId??"deco");let D;e[13]!==c||e[14]!==u||e[15]!==m?(D=P=>{const F=P.keyId??c??"";m(F),u({keyId:F,modelId:P.modelId,title:P.title})},e[13]=c,e[14]=u,e[15]=m,e[16]=D):D=e[16];let I;e[17]!==z||e[18]!==c||e[19]!==n||e[20]!==b||e[21]!==m||e[22]!==E||e[23]!==D?(I=r.jsx(z,{compact:A,filterModels:n,onClose:b,credentialId:c,onCredentialChange:m,selectedModel:E,onModelChange:D}),e[17]=z,e[18]=c,e[19]=n,e[20]=b,e[21]=m,e[22]=E,e[23]=D,e[24]=I):I=e[24];let w;e[25]!==C||e[26]!==I||e[27]!==_?(w=r.jsx("div",{className:d,children:r.jsx(C,{fallback:_,children:I})}),e[25]=C,e[26]=I,e[27]=_,e[28]=w):w=e[28];let $;return e[29]!==w||e[30]!==R?($=r.jsxs("div",{className:M,children:[R,w]}),e[29]=w,e[30]=R,e[31]=$):$=e[31],$}function Be(t){return t.id}const Ke=["fast","smart","thinking"];function X(t){return{fast:t("chat.tierTrigger.tierFast"),smart:t("chat.tierTrigger.tierSmart"),thinking:t("chat.tierTrigger.tierThinking")}}const O={fast:"chat.agentModels.quickerResponses",smart:"chat.agentModels.balancedQuality",thinking:"chat.agentModels.deeperReasoning"};function qe(t){const e=L.c(28),{tier:o,pillIcon:S,groups:s}=t,a=V();let n;e[0]!==a?(n=X(a),e[0]=a,e[1]=n):n=e[1];const u=n,[x,b]=N.useState(!1);let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=R=>{R.onSelect(),b(!1)},e[2]=l):l=e[2];const j=l,g=u[o];let f;e[3]===Symbol.for("react.memo_cache_sentinel")?(f=q("text-muted-foreground hover:text-foreground transition-[gap] duration-200 shrink min-w-0","gap-0 @[320px]/chat-bottom:gap-1.5"),e[3]=f):f=e[3];let i;e[4]===Symbol.for("react.memo_cache_sentinel")?(i=q("min-w-0 truncate transition-[max-width,opacity] duration-200 ease-out max-w-0 opacity-0","@[320px]/chat-bottom:max-w-24 @[320px]/chat-bottom:opacity-100"),e[4]=i):i=e[4];const v=u[o];let m;e[5]!==v?(m=r.jsx("span",{className:i,children:v}),e[5]=v,e[6]=m):m=e[6];let c;e[7]===Symbol.for("react.memo_cache_sentinel")?(c=r.jsx(je,{size:12,className:"opacity-60 hidden @[320px]/chat-bottom:inline-block"}),e[7]=c):c=e[7];let k;e[8]!==S||e[9]!==g||e[10]!==m?(k=r.jsx(pe,{asChild:!0,children:r.jsx("span",{className:"inline-flex min-w-0 shrink",children:r.jsx(Q,{asChild:!0,children:r.jsxs(Z,{type:"button",variant:"ghost",size:"default","aria-label":g,className:f,children:[S,m,c]})})})}),e[8]=S,e[9]=g,e[10]=m,e[11]=k):k=e[11];let M;e[12]!==g?(M=r.jsx(xe,{children:g}),e[12]=g,e[13]=M):M=e[13];let T;e[14]!==k||e[15]!==M?(T=r.jsxs(ge,{children:[k,M]}),e[14]=k,e[15]=M,e[16]=T):T=e[16];let h;if(e[17]!==s||e[18]!==a){let R;e[20]!==a?(R=d=>r.jsx("div",{className:"flex flex-col",children:d.rows.map(C=>r.jsxs("div",{className:"group/tier-row relative flex items-stretch rounded-lg hover:bg-accent",children:[r.jsxs("button",{type:"button",role:"menuitem","aria-label":C.title,onClick:()=>j(C),className:q("flex flex-1 min-w-0 items-start gap-2 px-2 py-1.5 text-left",C.modelOverride&&"pr-7 [@media(hover:hover)]:pr-2"),children:[C.icon&&r.jsx("span",{className:"shrink-0 text-muted-foreground mt-0.5",children:C.icon}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("div",{className:"text-sm",children:C.title}),C.subtitle&&r.jsx("div",{className:"text-xs text-muted-foreground",children:C.subtitle})]}),C.active&&r.jsx("span",{title:a("chat.tierTrigger.selected"),children:r.jsx(ee,{size:14,className:"text-foreground mt-0.5"})})]}),C.modelOverride&&r.jsx(Oe,{label:C.title,render:C.modelOverride})]},C.key))},d.key),e[20]=a,e[21]=R):R=e[21],h=s.map(R),e[17]=s,e[18]=a,e[19]=h}else h=e[19];let p;e[22]!==h?(p=r.jsx(Y,{align:"end",className:"p-1 w-64",onOpenAutoFocus:Ve,children:r.jsx("div",{role:"menu",className:"flex flex-col",children:h})}),e[22]=h,e[23]=p):p=e[23];let y;return e[24]!==x||e[25]!==T||e[26]!==p?(y=r.jsxs(G,{open:x,onOpenChange:b,children:[T,p]}),e[24]=x,e[25]=T,e[26]=p,e[27]=y):y=e[27],y}function Ve(t){return t.preventDefault()}function Oe(t){const e=L.c(38),{label:o,render:S}=t,s=V(),a=ve(),[n,u]=N.useState(!1);let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=()=>u(!1),e[0]=x):x=e[0];const b=x;let l;e[1]!==o||e[2]!==s?(l=s("chat.modelPreferences.customizeModel",{tier:o}),e[1]=o,e[2]=s,e[3]=l):l=e[3];const j=n&&"opacity-100";let g;e[4]!==j?(g=q("absolute right-1 top-1/2 -translate-y-1/2 flex items-center justify-center","size-6 rounded-lg bg-background shadow-edge","text-muted-foreground hover:text-foreground","opacity-100 [@media(hover:hover)]:opacity-0","[@media(hover:hover)]:group-hover/tier-row:opacity-100","[@media(hover:hover)]:group-focus-within/tier-row:opacity-100",j),e[4]=j,e[5]=g):g=e[5];let f;e[6]===Symbol.for("react.memo_cache_sentinel")?(f=r.jsx(be,{size:14}),e[6]=f):f=e[6];let i;e[7]!==l||e[8]!==g?(i=r.jsx("button",{type:"button","aria-label":l,className:g,children:f}),e[7]=l,e[8]=g,e[9]=i):i=e[9];const v=i;if(a){let T;e[10]!==v?(T=r.jsx(de,{asChild:!0,children:v}),e[10]=v,e[11]=T):T=e[11];let h;e[12]!==o||e[13]!==s?(h=s("chat.modelPreferences.customizeModel",{tier:o}),e[12]=o,e[13]=s,e[14]=h):h=e[14];let p;e[15]!==h?(p=r.jsx(fe,{className:"sr-only",children:h}),e[15]=h,e[16]=p):p=e[16];let y;e[17]!==n||e[18]!==S?(y=n&&S(b),e[17]=n,e[18]=S,e[19]=y):y=e[19];let R;e[20]!==y||e[21]!==p?(R=r.jsxs(me,{className:"p-0 flex flex-col max-h-[95vh]",children:[p,y]}),e[20]=y,e[21]=p,e[22]=R):R=e[22];let d;return e[23]!==n||e[24]!==R||e[25]!==T?(d=r.jsxs(he,{open:n,onOpenChange:u,children:[T,R]}),e[23]=n,e[24]=R,e[25]=T,e[26]=d):d=e[26],d}let m;e[27]!==v?(m=r.jsx(Q,{asChild:!0,children:v}),e[27]=v,e[28]=m):m=e[28];let c;e[29]!==n||e[30]!==S?(c=n&&S(b),e[29]=n,e[30]=S,e[31]=c):c=e[31];let k;e[32]!==c?(k=r.jsx(Y,{side:"right",align:"start",collisionPadding:12,className:"w-[min(22rem,calc(100vw-2rem))] p-0 overflow-hidden",children:c}),e[32]=c,e[33]=k):k=e[33];let M;return e[34]!==n||e[35]!==m||e[36]!==k?(M=r.jsxs(G,{open:n,onOpenChange:u,children:[m,k]}),e[34]=n,e[35]=m,e[36]=k,e[37]=M):M=e[37],M}function W(t){return t==="fast"?r.jsx(ye,{size:16}):t==="thinking"?r.jsx(Se,{size:16}):r.jsx(Te,{size:16})}function We(t){const e=L.c(13),o=ae();let S;e[0]!==t||e[1]!==o.tiers?(S=b=>{const l=o.tiers[b];return l?l.title??l.modelId:t.chat[b]?.title},e[0]=t,e[1]=o.tiers,e[2]=S):S=e[2];const s=S;let a;e[3]!==s?(a=s("fast"),e[3]=s,e[4]=a):a=e[4];let n;e[5]!==s?(n=s("smart"),e[5]=s,e[6]=n):n=e[6];let u;e[7]!==s?(u=s("thinking"),e[7]=s,e[8]=u):u=e[8];let x;return e[9]!==a||e[10]!==n||e[11]!==u?(x={fast:a,smart:n,thinking:u},e[9]=a,e[10]=n,e[11]=u,e[12]=x):x=e[12],x}function mt(){const t=L.c(25),e=V(),{simpleModeTier:o,setSimpleModeTier:S}=le(),s=Re(),a=J(),n=ke(a),u=We(n),{data:x,error:b}=ie();let l;t[0]!==x?(l=x===void 0?{tiers:{}}:x,t[0]=x,t[1]=l):l=t[1];const j=l,g=ce(),f=H()?.lockedHarness,i=f==="claude-code",v=we("model_choice"),m=Ne(),c=_e();if(!m||!v)return null;let k,M;if(t[2]!==n||t[3]!==c||t[4]!==i||t[5]!==f||t[6]!==s||t[7]!==S||t[8]!==e||t[9]!==o||t[10]!==u||t[11]!==g||t[12]!==j||t[13]!==b){const R=X(e);k="decopilot",M=Ke.map(d=>{const C=u[d],_=j.tiers[d];return{key:`decopilot-${d}`,icon:W(d),title:R[d],subtitle:c?C??e(O[d]):e(O[d]),active:o===d,onSelect:()=>S(d),modelOverride:c?z=>r.jsxs(r.Fragment,{children:[b&&r.jsx("div",{className:"text-xs text-destructive p-3 pb-0",children:e("chat.modelPreferences.loadFailed")}),r.jsx(Ue,{tier:d,orgSlot:s.tiers[d],userSlot:_,autoSlot:n.chat[d],filterModels:f==="codex"?He:i?Ae:void 0,onClose:z,onPick:A=>g.mutate({tier:d,slot:A}),onReset:()=>g.mutate({tier:d,slot:null})},`${d}:${_?.keyId??"org"}:${_?.modelId??""}`)]}):void 0}}),t[2]=n,t[3]=c,t[4]=i,t[5]=f,t[6]=s,t[7]=S,t[8]=e,t[9]=o,t[10]=u,t[11]=g,t[12]=j,t[13]=b,t[14]=k,t[15]=M}else k=t[14],M=t[15];let T;t[16]!==k||t[17]!==M?(T=[{key:k,rows:M}],t[16]=k,t[17]=M,t[18]=T):T=t[18];const h=T;let p;t[19]!==o?(p=W(o),t[19]=o,t[20]=p):p=t[20];let y;return t[21]!==h||t[22]!==p||t[23]!==o?(y=r.jsx(qe,{tier:o,pillIcon:p,groups:h}),t[21]=h,t[22]=p,t[23]=o,t[24]=y):y=t[24],y}function He(t){return De(t.providerId,t.modelId)}const B=48;function ht(){const t=L.c(12),[e,o]=N.useState("idle"),[S,s]=N.useState(""),[a,n]=N.useState(""),[u,x]=N.useState(Ge),b=N.useRef(null),l=N.useRef(null),j=N.useRef(null),g=N.useRef(null),f=N.useRef(0),i=N.useRef(!1),v=N.useRef(""),m=N.useRef(""),c=N.useRef(!1),k=typeof window<"u"&&!!(window.SpeechRecognition||window.webkitSpeechRecognition);let M;t[0]===Symbol.for("react.memo_cache_sentinel")?(M=()=>{f.current&&(cancelAnimationFrame(f.current),f.current=0),l.current?.close().catch(Ye),g.current?.getTracks().forEach(Qe),j.current=null,l.current=null,g.current=null},t[0]=M):M=t[0];const T=M;let h;t[1]===Symbol.for("react.memo_cache_sentinel")?(h=E=>{g.current=E;const D=new AudioContext;l.current=D;const I=D.createMediaStreamSource(E),w=D.createAnalyser();w.fftSize=128,w.smoothingTimeConstant=.8,I.connect(w),j.current=w;const $=new Uint8Array(w.frequencyBinCount),P=()=>{if(!j.current)return;j.current.getByteFrequencyData($);const F=[];for(let U=0;U<B;U++){const K=Math.floor(U/B*$.length);F.push(Math.max(.04,($[K]??0)/255))}x(F),f.current=requestAnimationFrame(P)};P()},t[1]=h):h=t[1];const p=h;let y;t[2]!==e?(y=async()=>{if(c.current||i.current)return e;c.current=!0;const E=window.SpeechRecognition||window.webkitSpeechRecognition;if(!E)return c.current=!1,o("unsupported"),"unsupported";let D;try{D=await navigator.mediaDevices.getUserMedia({audio:!0})}catch{return c.current=!1,o("permission-denied"),"permission-denied"}c.current=!1,s(""),n(""),m.current="",v.current="",i.current=!0,o("recording"),p(D);const I=new E;b.current=I,I.interimResults=!0,I.continuous=!0,I.lang=navigator.language||"en-US",I.onresult=w=>{if(b.current!==I)return;let $="",P="";for(let F=w.resultIndex;F<w.results.length;F++){const U=w.results[F],K=U?.[0]?.transcript??"";U?.isFinal?P=P+K:$=$+K}P&&(v.current=v.current+P,s(v.current)),m.current=$,n($)},I.onerror=w=>{b.current===I&&w.error!=="no-speech"&&(i.current=!1,b.current=null,T(),o(w.error==="not-allowed"?"permission-denied":"idle"))},I.onend=()=>{if(b.current===I&&i.current)try{I.start()}catch{}};try{I.start()}catch{return i.current=!1,b.current=null,T(),o("idle"),"idle"}return"recording"},t[2]=e,t[3]=y):y=t[3];const R=y;let d;t[4]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{i.current=!1,b.current?.stop(),T(),o("idle"),x(Array(B).fill(.05)),n("");const E=(v.current+(m.current?" "+m.current:"")).trim();return s(""),v.current="",m.current="",E},t[4]=d):d=t[4];const C=d;let _;t[5]===Symbol.for("react.memo_cache_sentinel")?(_=()=>{i.current=!1,b.current?.abort(),T(),o("idle"),s(""),n(""),x(Array(B).fill(.05)),v.current="",m.current=""},t[5]=_):_=t[5];const z=_;let A;return t[6]!==a||t[7]!==R||t[8]!==e||t[9]!==S||t[10]!==u?(A={status:e,transcript:S,interimTranscript:a,waveformData:u,isSupported:k,startRecording:R,stopRecording:C,cancelRecording:z},t[6]=a,t[7]=R,t[8]=e,t[9]=S,t[10]=u,t[11]=A):A=t[11],A}function Qe(t){return t.stop()}function Ye(){}function Ge(){return Array(B).fill(.05)}export{mt as T,ht as a,Pe as s,ft as u};
@@ -1 +0,0 @@
1
- import{I as u}from"./infiniteQueryObserver-oJohchTM.js";import{e0 as i}from"./index-D9wygnbU.js";function t(e,r){return i(e,u,r)}export{t as u};
@@ -1 +0,0 @@
1
- import{I as s}from"./infiniteQueryObserver-oJohchTM.js";import{e0 as u,e8 as n}from"./index-D9wygnbU.js";function a(e,r){return u({...e,enabled:!0,suspense:!0,throwOnError:n},s,r)}export{a as u};
@@ -1,4 +0,0 @@
1
- import{aK as W,aL as E,P as k}from"./agent-icon-DHk7TnW1.js";import{b as j}from"./Tool01-s83oNDoy.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 P(e){try{return decodeURIComponent(e)}catch{return e}}function C(e){return L(e),encodeURIComponent(e)}function G(e){return`.deco/blocks/${C(e)}.json`}const v=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 z(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 D(e,t){const n=t.replace(/^\/+|\/+$/g,"");return h(n?`${e==="/"?"":e}/${n}`:e)}function _(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 P(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(`
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
- `).map(t=>t.replace(/^\d+\t/,"")).join(`
4
- `)}export{F as E,P as a,L as b,v as c,G as d,V as e,N as f,A as g,Z as h,z as i,_ as j,h as k,K as l,$ as m,X as n,Y as o,H as p,D 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 +0,0 @@
1
- import{c as K,b as X,r as Z,j as r,m as ne,B as ee,as as ue}from"./index-D9wygnbU.js";import{F as xe,r as ie,k as ge}from"./agent-icon-DHk7TnW1.js";import{L as be}from"./label-CzgbmbQw.js";import{S as ce}from"./scroll-area-mLdPDQZk.js";import{S as ve}from"./switch-B0tv99B3.js";import{T as ye,c as je,a as Te}from"./tooltip-CVxFMGcO.js";import{T as se,a as Ne}from"./toggle-group-Cu1mfNzX.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-D-4TK36c.js";import"./Tool01-s83oNDoy.js";import"./ArrowUp-Cf_Jm-4W.js";import"./ArrowLeft-B34wRVvp.js";import"./LinkBroken01-D4Fzd5qu.js";import"./BookOpen01-Cu2i97yZ.js";import"./Globe04-dU-sELuJ.js";import"./CheckCircle-D-W30b_A.js";import"./ChevronUp-s7k4XU_p.js";import"./ChevronSelectorVertical-BORaKUYt.js";import"./UserSquare-DE5Uc7_R.js";import"./CreditCard01-C2QL2326.js";import"./SwitchHorizontal01-2Pb5aRtq.js";import"./Key01-zay6mYZz.js";import"./Minus-BikCplhC.js";import"./Monitor01-DLndo6aP.js";import"./Sun-BFXO9tQN.js";import"./Play-D_FIXuay.js";import"./Plus-D2V2-fTF.js";import"./SearchMd-DUXCcvZJ.js";import"./ShoppingBag01-Dak2svm7.js";import"./Trash01-Bu2u0WVA.js";import"./Upload01-mgXAmijc.js";import"./Users01-C3CmvyvK.js";import"./XClose-l5OHkJlr.js";import"./Zap-DN6rNQ1C.js";import"./index-BdQq_4o_.js";import"./index-3FmhyOXc.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 Ft(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{Ft as VariantCalendar};
@@ -1 +0,0 @@
1
- import{U as A}from"./url-slug-BR0vmMxN.js";import{n as I}from"./thread-intent-CaGJ1BhS.js";import{aF as a,bu as t,aG as e,bg as r,cn as o,co as s,dF as d,dB as p,eJ as k,dH as R,dz as w}from"./index-D9wygnbU.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(),w()).optional()})}),l=s(["overview","context","monitor","plan","reports","board","site-editor","calendar","experiments","blog","assets","releases","hosting","e2e","analytics","cdn","automations"]),pe=s(["on","off"]),B=new Map([["manual","on"],["auto","on"]]),X=s(["on","off","manual","auto"]);function F(n){if(!n)return null;const i=B.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:X.nullable().optional().describe("How this agent offers content editing. Absent means on; the retired `manual` / `auto` read as on too."),sidebarViews:t(l).max(l.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 ue(n){return F(n?.cms)??"on"}function be(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(),w()).optional().describe("User-configured input props passed to MCPAppRenderer when rendering the tile."),minHeight:r().int().positive().optional(),maxHeight:r().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_]*$/,g=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:g,kind:d("literal"),value:e().max(O)}),a({key:g,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:r().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"]),J={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:r().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(J);function he(n){if(!n||typeof n!="object"||Array.isArray(n))return{};const i=n,c={};for(const[u,b]of Object.entries(i))if(!(!b||typeof b!="object")&&!(u!=="agent-sandbox"&&u!=="local-api"))try{c[u]=x.parse(b)}catch{}return c}const $=p(e().describe("userId"),p(e().describe("branch"),k(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:r().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(I).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.")}),le=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(l).max(l.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(l).max(l.options.length).nullable().optional().describe("Views Studio offered this project once on top of an exact sidebarViews list (the top rows and Blog, plus Experiments and Calendar on a Blocks site and Hosting beside a hosted site's Site Editor). 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."),assetStorageConfigId:e().trim().min(1).nullable().optional().describe("Organization file configuration used for this project’s assets. null/absent uses automatic site matching."),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:le,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:$.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,ue as r,be as w};