decocms 4.576.5 → 4.577.1
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.
- package/dist/client/assets/{AlertCircle-C4gtVV8B.js → AlertCircle-Bj2NuHQY.js} +1 -1
- package/dist/client/assets/{AreaChart-DoDuLI5t.js → AreaChart-wF798x8i.js} +1 -1
- package/dist/client/assets/{ArrowLeft-DpMV6ZsI.js → ArrowLeft-DCMq103h.js} +1 -1
- package/dist/client/assets/{ArrowUp-BZtzDI6h.js → ArrowUp-AwRcCsuH.js} +1 -1
- package/dist/client/assets/BookOpen01-D2g_6Ti1.js +1 -0
- package/dist/client/assets/{CartesianChart-T_ULwjNy.js → CartesianChart-B6p3i5Ce.js} +1 -1
- package/dist/client/assets/{CategoricalChart-ysoAqy8Y.js → CategoricalChart-Bjq2Qe33.js} +1 -1
- package/dist/client/assets/{CheckCircle-DSJM5Ipe.js → CheckCircle-BfCYdSA_.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-Y1qRZSrs.js → ChevronSelectorVertical-Bwduw2Hp.js} +1 -1
- package/dist/client/assets/{ChevronUp-DlMNWluH.js → ChevronUp-JSFuaLqF.js} +1 -1
- package/dist/client/assets/{CreditCard01-DDsAjKey.js → CreditCard01-DsaJOWgX.js} +1 -1
- package/dist/client/assets/{Globe04-xh_ZOoQS.js → Globe04-BBKBtEaK.js} +1 -1
- package/dist/client/assets/{Key01-BnxP0_QL.js → Key01-BTIXWKkS.js} +1 -1
- package/dist/client/assets/{LinkBroken01-4XuFjBFS.js → LinkBroken01-DjOOxf0e.js} +1 -1
- package/dist/client/assets/{Minus-D8UqNYy4.js → Minus-BAq-AD33.js} +1 -1
- package/dist/client/assets/{Monitor01-CVDkBVET.js → Monitor01-CqtNhdJN.js} +1 -1
- package/dist/client/assets/{Play--aCtxlXx.js → Play-kmXfE4Am.js} +1 -1
- package/dist/client/assets/{Plus-DXpzgENj.js → Plus-Bq5KiXqn.js} +1 -1
- package/dist/client/assets/ReferenceLine-CcfMMo9r.js +1 -0
- package/dist/client/assets/{SearchMd-CWmEKOOP.js → SearchMd-D1P7yVqT.js} +1 -1
- package/dist/client/assets/ShoppingBag01-CAQ4NRTU.js +1 -0
- package/dist/client/assets/{Sun-wXzOhHYv.js → Sun-C5iV1Zpq.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-C42vJfgE.js → SwitchHorizontal01-CP6L8rlm.js} +1 -1
- package/dist/client/assets/{Tool01-DB3xqZeL.js → Tool01-DAYJL0v-.js} +1 -1
- package/dist/client/assets/{Tooltip-Dz7b9lTi.js → Tooltip-DiDmzDgy.js} +1 -1
- package/dist/client/assets/{Trash01-BAWUFhrC.js → Trash01-Dt7pyOwE.js} +1 -1
- package/dist/client/assets/{Upload01-CMkGIZuR.js → Upload01-CZ2h76oj.js} +1 -1
- package/dist/client/assets/{UserSquare-NNxs0RWc.js → UserSquare-CBWDFbi3.js} +1 -1
- package/dist/client/assets/{Users01-DIshv_Ib.js → Users01-BZzvQda-.js} +1 -1
- package/dist/client/assets/{XClose-E_Sbr7JC.js → XClose-D2u966Hj.js} +1 -1
- package/dist/client/assets/{Zap-BFWL2aD-.js → Zap-CDj8jJFt.js} +1 -1
- package/dist/client/assets/{access-gate-H6si3iA0.js → access-gate-DL6Fx00C.js} +1 -1
- package/dist/client/assets/{add-connection-dialog-BCsDq0oB.js → add-connection-dialog-DXVmpebU.js} +1 -1
- package/dist/client/assets/agent-app-DClrb2ok.js +1 -0
- package/dist/client/assets/agent-assets-C4JxM7ek.js +1 -0
- package/dist/client/assets/agent-automation-BRLWOY9Z.js +20 -0
- package/dist/client/assets/agent-automations-Bi4PZQpt.js +1 -0
- package/dist/client/assets/agent-blog-CZFhSkNf.js +2 -0
- package/dist/client/assets/agent-blog-post-DWjaJsuP.js +2 -0
- package/dist/client/assets/agent-calendar-DVRrZoQI.js +1 -0
- package/dist/client/assets/{agent-capabilities-C7nwtlfn.js → agent-capabilities-DHVCvnvi.js} +1 -1
- package/dist/client/assets/agent-connect-sources-zocgSqV4.js +1 -0
- package/dist/client/assets/agent-deck-BQ_G3Xvk.js +1 -0
- package/dist/client/assets/agent-e2e-C7P50BKx.js +1 -0
- package/dist/client/assets/agent-experiments-B7tgn9fP.js +1 -0
- package/dist/client/assets/agent-file-CVIHN4Pv.js +1 -0
- package/dist/client/assets/agent-hosting-DmUbTOe2.js +1 -0
- package/dist/client/assets/agent-icon-BwEytdmh.js +1 -0
- package/dist/client/assets/agent-library-BhTWSN-a.js +1 -0
- package/dist/client/assets/agent-library-file-C9nXPWjk.js +1 -0
- package/dist/client/assets/agent-overview-gQqe-_Zq.js +1 -0
- package/dist/client/assets/agent-releases-Bxmxt--5.js +2 -0
- package/dist/client/assets/agent-settings-BZlQcdRN.js +1 -0
- package/dist/client/assets/{agent-site-editor-D7f7n9V8.js → agent-site-editor-Bxgpwy-D.js} +9 -9
- package/dist/client/assets/agent-site-editor-code-D3XwSBBo.js +2 -0
- package/dist/client/assets/agent-site-editor-content-5EK8c-yC.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-DtbJe_5m.js +1 -0
- package/dist/client/assets/agent-view-DJh235b7.js +1 -0
- package/dist/client/assets/agent-view-guard-B4P_nOY3.js +1 -0
- package/dist/client/assets/ai-providers-CvpoHUFb.js +1 -0
- package/dist/client/assets/{alert-gT8z0xwu.js → alert-0-4Lk02S.js} +1 -1
- package/dist/client/assets/{analytics-sections-eEEKYoEI.js → analytics-sections-DEuK9yNO.js} +1 -1
- package/dist/client/assets/{api-keys-DQU6MrN9.js → api-keys-BWb-_Fqf.js} +1 -1
- package/dist/client/assets/api-keys-PaXWWj2O.js +1 -0
- package/dist/client/assets/app-editor-DVjFa_ip.js +1 -0
- package/dist/client/assets/{asset-utils-ClCcVH6C.js → asset-utils-DSh1-4fR.js} +1 -1
- package/dist/client/assets/{auth-DzshLgt0.js → auth-DFCgioOs.js} +1 -1
- package/dist/client/assets/{auth-catchall-knKXQdld.js → auth-catchall-_w9pWMK8.js} +1 -1
- package/dist/client/assets/{auth-entry-CjhDapLF.js → auth-entry-HAlWF4UX.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Cs3K7qF9.js → auth-split-layout-BSaVPfK6.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DyNu9KE-.js → authenticate-and-persist-oauth-BGX0Y23v.js} +1 -1
- package/dist/client/assets/{automation-list-row-BIIymyig.js → automation-list-row-Xayp8iFs.js} +1 -1
- package/dist/client/assets/{automation-runs-BJn2B7cC.js → automation-runs-CUwzltO7.js} +1 -1
- package/dist/client/assets/automations-C0bs2qin.js +1 -0
- package/dist/client/assets/{badge-FhnYiqmQ.js → badge-DbKUf3vA.js} +1 -1
- package/dist/client/assets/block-document-zkAHP8m2.js +3 -0
- package/dist/client/assets/{blocks-preview-workspace-context-DPP_AgWW.js → blocks-preview-workspace-context-DQL_zlqC.js} +1 -1
- package/dist/client/assets/{blocks-tab-states-DS5PjKyJ.js → blocks-tab-states-BUfMyINR.js} +1 -1
- package/dist/client/assets/blog-preview-url-CT-VZElJ.js +1 -0
- package/dist/client/assets/blog-schema-Dys-tzF0.js +1 -0
- package/dist/client/assets/blog-source-gate-CYaEgV9t.js +1 -0
- package/dist/client/assets/blog-view-gate-zXMdlu7Q.js +1 -0
- package/dist/client/assets/{buckets-Cm1lK-tx.js → buckets-DOgpbimo.js} +1 -1
- package/dist/client/assets/{build-improve-prompt-doc-CKmcH9eT.js → build-improve-prompt-doc-BMf33123.js} +1 -1
- package/dist/client/assets/{calendar-Dj2F2D9c.js → calendar-5Nt9EKO9.js} +1 -1
- package/dist/client/assets/{capability-load-error-YlZMyLIu.js → capability-load-error-BSxnBi9L.js} +1 -1
- package/dist/client/assets/category-editor-DziWemO6.js +1 -0
- package/dist/client/assets/category-tree-Cm0a3nBT.js +4 -0
- package/dist/client/assets/{chart-4euqV-4L.js → chart-DPgJVmAl.js} +1 -1
- package/dist/client/assets/chat-context-D8Eje7xK.js +39 -0
- package/dist/client/assets/{chat-draft-B1Q_ptQ-.js → chat-draft-ArmxHiV6.js} +1 -1
- package/dist/client/assets/{checkbox-Bq5cgSkE.js → checkbox-CCw3an34.js} +1 -1
- package/dist/client/assets/choose-editor-CXiL24Bl.js +1 -0
- package/dist/client/assets/{cli-auth-success-C9VZDuEf.js → cli-auth-success-c7wBWUO5.js} +1 -1
- package/dist/client/assets/{client-icons-x0Kj4XXu.js → client-icons-CuJeSv2A.js} +1 -1
- package/dist/client/assets/cms-settings-editor-gxtK9SOp.js +1 -0
- package/dist/client/assets/cms-store-drafts-chLFxeWf.js +1 -0
- package/dist/client/assets/collapsible-CVtLl5wO.js +1 -0
- package/dist/client/assets/collection-detail-D_Bcp_j6.js +1 -0
- package/dist/client/assets/{collection-display-button-B9tDNz3Q.js → collection-display-button-CnhRvkGN.js} +1 -1
- package/dist/client/assets/{collection-search-o_TUN55Q.js → collection-search-CC2QUXh2.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CovrSOmj.js → collection-table-wrapper-DSy_nx4_.js} +1 -1
- package/dist/client/assets/{collection-tabs-C-HhSJ3V.js → collection-tabs-DHZJ_O9U.js} +1 -1
- package/dist/client/assets/{combobox-N56ErTGA.js → combobox-CB15NqGc.js} +1 -1
- package/dist/client/assets/{command-C4A_k1m6.js → command-BOSLOC8n.js} +1 -1
- package/dist/client/assets/{companion-mcps-section-BIgg4-5f.js → companion-mcps-section-CeNpBYo7.js} +1 -1
- package/dist/client/assets/config-DqdBgCnO.js +1 -0
- package/dist/client/assets/{connect-CAWALh6X.js → connect-WyHpmSHS.js} +3 -3
- package/dist/client/assets/{connect-layout-BGSvt_fK.js → connect-layout-D_zQARSX.js} +1 -1
- package/dist/client/assets/{connect-source-dialog-zXoRskIf.js → connect-source-dialog-DHtZw9ff.js} +1 -1
- package/dist/client/assets/{connection-DWztoPJi.js → connection-D0YCkaZO.js} +1 -1
- package/dist/client/assets/{connection-card-CWeiT8GU.js → connection-card-B1Rl2nXN.js} +1 -1
- package/dist/client/assets/connection-detail-LxUhih2_.js +1 -0
- package/dist/client/assets/{connection-form-helpers-DvFcvjHg.js → connection-form-helpers-CAOx4zgX.js} +1 -1
- package/dist/client/assets/{connection-slug-7qrL1eY0.js → connection-slug-BH_NX0Ks.js} +1 -1
- package/dist/client/assets/connections-BhxOwljy.js +1 -0
- package/dist/client/assets/content-tab-BdaE3oCc.js +19 -0
- package/dist/client/assets/context-BmOpD-Hr.js +1 -0
- package/dist/client/assets/{context-menu-CzVow7cK.js → context-menu-Df7WW_d5.js} +1 -1
- package/dist/client/assets/{context-shell-A1z9qMT_.js → context-shell-cJbikpSJ.js} +3 -3
- package/dist/client/assets/{core.esm-DbuDfvWF.js → core.esm-CAA73EV4.js} +2 -2
- package/dist/client/assets/{create-organization-dialog-D6MpLXO5.js → create-organization-dialog-BLvG9G-Z.js} +1 -1
- package/dist/client/assets/delete-copy-CAFEtw8Z.js +4 -0
- package/dist/client/assets/{device-hint-DKfCoj9a.js → device-hint-DgkMhcRQ.js} +1 -1
- package/dist/client/assets/discover-Cceep_sX.js +1 -0
- package/dist/client/assets/{domain-settings-EcbckpYF.js → domain-settings-52h_8fKM.js} +1 -1
- package/dist/client/assets/{drawer-DO5xJQb9.js → drawer-B9PFQFcy.js} +1 -1
- package/dist/client/assets/{editor-T1DFIh20.js → editor-DZ4pzlHx.js} +2 -2
- package/dist/client/assets/{editor-classes-XhTpecj4.js → editor-classes-Cb5f4sl2.js} +1 -1
- package/dist/client/assets/empty-message-CXYzekmD.js +15 -0
- package/dist/client/assets/{empty-state-DPWCLNrd.js → empty-state-BkAAjXrp.js} +1 -1
- package/dist/client/assets/{empty-state-DtO_Mv2g.js → empty-state-DMtSEEQ1.js} +1 -1
- package/dist/client/assets/experiments-tab-choice-CDm4A9Wq.js +1 -0
- package/dist/client/assets/{extract-connection-data-DBROTNmw.js → extract-connection-data-u6K4j2aJ.js} +1 -1
- package/dist/client/assets/feature-gate-DFWAlRCv.js +1 -0
- package/dist/client/assets/{feature-paywall-jPIGYZOc.js → feature-paywall-BiIzjBeB.js} +1 -1
- package/dist/client/assets/file-explorer-M__gA7Xu.js +2 -0
- package/dist/client/assets/{file-preview-D0iM2K-b.js → file-preview-D7WeSAA4.js} +1 -1
- package/dist/client/assets/{file-share-button-BsYWO9Hm.js → file-share-button-BtW_yxzc.js} +1 -1
- package/dist/client/assets/{file-type-icon-HeI2BZTs.js → file-type-icon-mKSSLPP8.js} +1 -1
- package/dist/client/assets/{folder-icon-DTWsvVbL.js → folder-icon-DCyvwLH6.js} +1 -1
- package/dist/client/assets/{form-BTSAyeiz.js → form-8HJUl2GV.js} +1 -1
- package/dist/client/assets/frame-navigation-Bp6fuuV5.js +1 -0
- package/dist/client/assets/general-C9cj7tJH.js +1 -0
- package/dist/client/assets/{github-icon-B_en9n_0.js → github-icon-DEvD-SlA.js} +1 -1
- package/dist/client/assets/held-block-view-DRxUlNuB.js +3 -0
- package/dist/client/assets/home-DR1hV3al.js +1 -0
- package/dist/client/assets/{home-overview-BRS8Q3rl.js → home-overview-CgBJdfHr.js} +1 -1
- package/dist/client/assets/hosted-reconcile-DH_YtUfF.js +1 -0
- package/dist/client/assets/{icon-button-BMTp1-QM.js → icon-button-CadQrI05.js} +1 -1
- package/dist/client/assets/{index-DwNl1Km0.js → index-8kUWDN7v.js} +1 -1
- package/dist/client/assets/index-BLdRRqFU.js +1 -0
- package/dist/client/assets/index-Bkf6As2Q.js +1 -0
- package/dist/client/assets/index-ButqNodW.js +4 -0
- package/dist/client/assets/{index-dCHDMdOx.js → index-BvGbwvSS.js} +1 -1
- package/dist/client/assets/{index-qsOMiawp.js → index-C1fc6W9Q.js} +1 -1
- package/dist/client/assets/{index-DGy42Noz.js → index-C5aoCNXr.js} +1 -1
- package/dist/client/assets/{index-DFaIOW9N.js → index-C9E0iqgh.js} +2 -2
- package/dist/client/assets/{index-DVvmeJMJ.js → index-CWKxkTwy.js} +47 -47
- package/dist/client/assets/{index-CWuPd_va.js → index-CcTmEE1N.js} +6 -6
- package/dist/client/assets/index-CzrYE4jE.js +1 -0
- package/dist/client/assets/{index-DlkOiyYS.js → index-DVdV24aR.js} +2 -2
- package/dist/client/assets/index-DYPWHH-M.css +1 -0
- package/dist/client/assets/{index-DlxA0Tmo.js → index-Tvs593C1.js} +1 -1
- package/dist/client/assets/{index-D1ksSwz3.js → index-_sPF1edR.js} +1 -1
- package/dist/client/assets/{index-DTVEZmhV.js → index-gX7QfQio.js} +1 -1
- package/dist/client/assets/{index-redirect-BEZcO3ft.js → index-redirect-DOlNtcAX.js} +1 -1
- package/dist/client/assets/{index-laonBzOU.js → index-t9nYrZiR.js} +1 -1
- package/dist/client/assets/{index-DyEEK3cc.js → index-yzkfeOP2.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-Depn9DGH.js → infiniteQueryObserver-DCK-YXw1.js} +1 -1
- package/dist/client/assets/{infra-billing-BGMskgUq.js → infra-billing-B-pN25L9.js} +1 -1
- package/dist/client/assets/{input-aWrDx9Iy.js → input-1NX4JUHA.js} +3 -3
- package/dist/client/assets/{input-D4HN-yNN.js → input-DA-TtdGL.js} +1 -1
- package/dist/client/assets/{integration-icon-C9OIwyFH.js → integration-icon-C1bpkd7s.js} +1 -1
- package/dist/client/assets/item-actions-kNG-BlG3.js +1 -0
- package/dist/client/assets/{jira-icon-CnIpLe3l.js → jira-icon-CnBOGlR6.js} +1 -1
- package/dist/client/assets/{label-DxsI69Ti.js → label-BXSXPHWU.js} +1 -1
- package/dist/client/assets/{layout-m_pr21sI.js → layout-C0J9eFzL.js} +1 -1
- package/dist/client/assets/{legacy-admin-welcome-dialog-DIDvLt4b.js → legacy-admin-welcome-dialog-DbVWjlJ6.js} +1 -1
- package/dist/client/assets/{legacy-agents-deep-CK9Gbzky.js → legacy-agents-deep-DVKmxbFS.js} +1 -1
- package/dist/client/assets/{legacy-main-redirect-Cep_68fb.js → legacy-main-redirect-D0wT4Yry.js} +1 -1
- package/dist/client/assets/library-sYbbN7ux.js +1 -0
- package/dist/client/assets/{library-tab-Dy0wbynU.js → library-tab-gK_7g-te.js} +4 -4
- package/dist/client/assets/{login-FVvIKUmZ.js → login-DnxvVl1t.js} +1 -1
- package/dist/client/assets/{markdown-DY1gkJzE.js → markdown-DiEygcQw.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-CbbHrG36.js → mcp-app-renderer-BbTTGmQC.js} +1 -1
- package/dist/client/assets/{mcp-oauth-B4bma3Oc.js → mcp-oauth-CQGGouuy.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Dz6mx5UF.js → mcp-oauth-TUUsAJpA.js} +1 -1
- package/dist/client/assets/{members-CoNUsoOs.js → members-nUmVbnC9.js} +1 -1
- package/dist/client/assets/{memory-CJmsq8GA.js → memory-Blrtbn8a.js} +2 -2
- package/dist/client/assets/{mock-board-C-Bptu2a.js → mock-board-CC-isAOX.js} +3 -3
- package/dist/client/assets/{monaco-editor-ChRuLOCA.js → monaco-editor-C9ZwdTpU.js} +1 -1
- package/dist/client/assets/{monitoring-DOIwwqmT.js → monitoring-B36SUiOP.js} +2 -2
- package/dist/client/assets/{monitoring-stats-row-MlJzIKBz.js → monitoring-stats-row-H3pnSbDz.js} +1 -1
- package/dist/client/assets/{multi-select-HzpZ3y0m.js → multi-select-obeT7dRo.js} +1 -1
- package/dist/client/assets/mustache-gM754ehf.js +4 -0
- package/dist/client/assets/named-rule-step-W9P9uG-f.js +1 -0
- package/dist/client/assets/named-rule-view-BJLbVNsp.js +1 -0
- package/dist/client/assets/{new-project-dialog-DNs6nXJU.js → new-project-dialog-Cfdy4DZo.js} +1 -1
- package/dist/client/assets/{oauth-callback-DJ1LZft0.js → oauth-callback-Cxz67hG6.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DdjujeOM.js → oauth-callback-ai-provider-Diui0sS6.js} +1 -1
- package/dist/client/assets/{oauth-consent-C7arrnjn.js → oauth-consent-BWS32jU1.js} +1 -1
- package/dist/client/assets/{onboarding-DCEuM15Q.js → onboarding-Cg2Txb26.js} +1 -1
- package/dist/client/assets/openai-conversation-CGGu6BWJ.js +3 -0
- package/dist/client/assets/{optimistic-project-sidebar-views-Bxu9JyYq.js → optimistic-project-sidebar-views-cd4O2LnM.js} +1 -1
- package/dist/client/assets/{order-monitor-day-BHRAsIfi.js → order-monitor-day-DrziIuIu.js} +1 -1
- package/dist/client/assets/{organization-choice-BLi_jfq-.js → organization-choice-CPef1x_g.js} +1 -1
- package/dist/client/assets/{orgs-B0FFSMlY.js → orgs--h6JaB89.js} +1 -1
- package/dist/client/assets/{own-accounts-section-BPiQsCnH.js → own-accounts-section-D0sCVz2F.js} +1 -1
- package/dist/client/assets/{pair-BefVcuJk.js → pair-DbwVEDlq.js} +7 -7
- package/dist/client/assets/parse-sections-CMxFIp3d.js +4 -0
- package/dist/client/assets/plan-1pM1JHac.js +1 -0
- package/dist/client/assets/{plan-ladder-BIrfRC9w.js → plan-ladder-XiZUV3-n.js} +1 -1
- package/dist/client/assets/{plan-usage-card-9-4sECew.js → plan-usage-card-BsCyr1kn.js} +2 -2
- package/dist/client/assets/{popover-DVbSl4_S.js → popover-CTEYICXO.js} +1 -1
- package/dist/client/assets/post-calendar-DbsJgYWp.js +1 -0
- package/dist/client/assets/post-editor-GP7cTHEm.js +2 -0
- package/dist/client/assets/{preview-content-4sXQQAYj.js → preview-content-BYvAegAr.js} +1 -1
- package/dist/client/assets/{preview-dialog-DdT5D37e.js → preview-dialog-tONoLcHy.js} +1 -1
- package/dist/client/assets/{preview-panel-08gBYjqh.js → preview-panel-CxdwWGtV.js} +1 -1
- package/dist/client/assets/preview-tab-BJQS3_gN.js +551 -0
- package/dist/client/assets/{product-picker-dialog-CK0DishF.js → product-picker-dialog-DVmdugXw.js} +1 -1
- package/dist/client/assets/{profile-D-F6LVIp.js → profile-CFEIL030.js} +1 -1
- package/dist/client/assets/project-app-view-DpcLMitT.js +1 -0
- package/dist/client/assets/project-apps-T4OBSnxG.js +1 -0
- package/dist/client/assets/{project-icon-BfdBakvS.js → project-icon-CsM5Xu_3.js} +1 -1
- package/dist/client/assets/{project-index-CIwgcHHa.js → project-index-CnwYmkRd.js} +1 -1
- package/dist/client/assets/project-reports-Bsj_xvMI.js +1 -0
- package/dist/client/assets/project-tasks-BGrqP4mL.js +1 -0
- package/dist/client/assets/projects-D9OLRq0V.js +1 -0
- package/dist/client/assets/{projects-empty-state-CNEfVw65.js → projects-empty-state-DAdhJyFi.js} +1 -1
- package/dist/client/assets/{prompts-xdLcYGyB.js → prompts-hNC_o6uG.js} +1 -1
- package/dist/client/assets/record-editor-BUh6IBbj.js +1 -0
- package/dist/client/assets/redirect-editor-CRbYvUNE.js +1 -0
- package/dist/client/assets/{reports-BoYTb5US.js → reports-CoqdbgJH.js} +1 -1
- package/dist/client/assets/reports-D5qXQXTJ.js +1 -0
- package/dist/client/assets/reports-onboarding-B8pLePIS.js +1 -0
- package/dist/client/assets/reports-tab-BTcGlLJG.js +2 -0
- package/dist/client/assets/repositories-Cb1lXF50.js +1 -0
- package/dist/client/assets/repositories-cxta7jGt.js +1 -0
- package/dist/client/assets/{repository-binding-DJpVzzIq.js → repository-binding-DScgU6HN.js} +1 -1
- package/dist/client/assets/repository-picker-BUWqEoln.js +1 -0
- package/dist/client/assets/{require-capability-BpMqCrIS.js → require-capability-Cqs162cO.js} +1 -1
- package/dist/client/assets/{required-auth-layout-BIQCwVTO.js → required-auth-layout-BiIyXd3D.js} +1 -1
- package/dist/client/assets/{reset-password-BKzfgMBU.js → reset-password-da4PvhID.js} +1 -1
- package/dist/client/assets/{resizable-C9_scy3R.js → resizable-Bf-xwR0k.js} +1 -1
- package/dist/client/assets/resolve-tab-icon-CGJDnTEl.js +1 -0
- package/dist/client/assets/review-settings-Ulx4CyPZ.js +1 -0
- package/dist/client/assets/role-color-C7dBdDUi.js +1 -0
- package/dist/client/assets/roles-z96sRIvs.js +1 -0
- package/dist/client/assets/route-CNldsqd_.js +1 -0
- package/dist/client/assets/route-D7eWiLEQ.js +1 -0
- package/dist/client/assets/route-UFlyMaLZ.js +1 -0
- package/dist/client/assets/{sandbox-lifecycle-context-_uINbsP3.js → sandbox-lifecycle-context-DY2xu0Uo.js} +1 -1
- package/dist/client/assets/save-status-DshwUBI8.js +1 -0
- package/dist/client/assets/{schema-ChSE97DN.js → schema-DUByfd2Y.js} +1 -1
- package/dist/client/assets/{schema-CzuWRpLl.js → schema-DWYnTC39.js} +1 -1
- package/dist/client/assets/{scroll-area-D1j-ZNOk.js → scroll-area-EO9hsjie.js} +1 -1
- package/dist/client/assets/search-input-Dc1w2xyv.js +1 -0
- package/dist/client/assets/{search-toggle-BSwOQVMD.js → search-toggle-BZIowSkC.js} +1 -1
- package/dist/client/assets/{secret-picker-zgl1t1WE.js → secret-picker-t9uXEG8-.js} +1 -1
- package/dist/client/assets/{secrets-Dvs-hzm1.js → secrets-CPHCsh_T.js} +1 -1
- package/dist/client/assets/section-array-field-BFg67nYp.js +1 -0
- package/dist/client/assets/{sections-COYsDPZ3.js → sections-CrmI_GQr.js} +1 -1
- package/dist/client/assets/sections-editor-CrXI2Bvd.js +1 -0
- package/dist/client/assets/{select-CBAbBtbp.js → select-CWL8C0Pw.js} +1 -1
- package/dist/client/assets/{select-model-CScqhZ6D.js → select-model-_wNlq-Z9.js} +1 -1
- package/dist/client/assets/seo-editor-B3mQn1CH.js +1 -0
- package/dist/client/assets/{separator-B-2WnIuS.js → separator-Cyq4ZO_K.js} +1 -1
- package/dist/client/assets/settings-tab-CDHhpvzE.js +1 -0
- package/dist/client/assets/{sheet-BSTYuLMa.js → sheet-Bqz29cSo.js} +1 -1
- package/dist/client/assets/shell-layout-DVIwCYxA.js +1 -0
- package/dist/client/assets/site-draft-actions-DQ2Ndjsf.js +3 -0
- package/dist/client/assets/site-draft-view-CIEvFlZ7.js +1 -0
- package/dist/client/assets/site-editor-C927WhHx.js +1 -0
- package/dist/client/assets/{site-editor-toast-Bz5hIXUq.js → site-editor-toast-BLqoqKy_.js} +1 -1
- package/dist/client/assets/skills-0h7pumIQ.js +1 -0
- package/dist/client/assets/{slider-B-4p3Nob.js → slider-GCMZAdst.js} +1 -1
- package/dist/client/assets/{sortable.esm-BMq0DSBR.js → sortable.esm-CYzspn3s.js} +1 -1
- package/dist/client/assets/{sso-D7rzaxll.js → sso-Ca2H_kJv.js} +1 -1
- package/dist/client/assets/suggestion-CppSMZxc.js +2 -0
- package/dist/client/assets/{super-agent-icon-CSXn8PV0.js → super-agent-icon-Dq0ZAaMf.js} +1 -1
- package/dist/client/assets/{switch-BoeP0_DT.js → switch-DBO_GrNe.js} +1 -1
- package/dist/client/assets/synced-repos-BTn3MABM.js +1 -0
- package/dist/client/assets/{tab-icon-glyph-DWwnpbAG.js → tab-icon-glyph-BaeBTavE.js} +1 -1
- package/dist/client/assets/{table-XIxdhyNo.js → table-xCmpwB0s.js} +1 -1
- package/dist/client/assets/{tabs-B314G2il.js → tabs-rkhPwLiJ.js} +1 -1
- package/dist/client/assets/{task-board-D-pfBnAn.js → task-board-D7RCmGkN.js} +1 -1
- package/dist/client/assets/{task-route-DrEh97G3.js → task-route-BJeZEOaQ.js} +1 -1
- package/dist/client/assets/{task-status-B5Pet88z.js → task-status-ISwbNtXh.js} +1 -1
- package/dist/client/assets/taskboard-analytics-B3vmd83_.js +1 -0
- package/dist/client/assets/{tasks-D1UDrE84.js → tasks-BLz1W4rF.js} +3 -3
- package/dist/client/assets/tasks-hZ3cVL1W.js +1 -0
- package/dist/client/assets/{textarea-yEyl1P1k.js → textarea-CvY2QE-l.js} +1 -1
- package/dist/client/assets/thread-analytics-DmP3G179.js +1 -0
- package/dist/client/assets/{thread-intent-BNVTtSHt.js → thread-intent-0TjSPqLd.js} +6 -6
- package/dist/client/assets/thread-route-4ZjlovaL.js +1 -0
- package/dist/client/assets/{thread-route-C8VqFbkH.js → thread-route-BbSych2c.js} +1 -1
- package/dist/client/assets/{thread-sheet-body-BPfgeSL4.js → thread-sheet-body-JQX8n1oy.js} +1 -1
- package/dist/client/assets/{time-range-picker-BvmuiVyh.js → time-range-picker-Bcp8sqUk.js} +1 -1
- package/dist/client/assets/{toggle-group-pyWm-TzL.js → toggle-group-BPubP3Pi.js} +1 -1
- package/dist/client/assets/{tool-namespace-CtWbol20.js → tool-namespace-c-MaHIy3.js} +1 -1
- package/dist/client/assets/{tool-set-selector-o7QGolVt.js → tool-set-selector-qnchAzSg.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-DJE3OEfz.js → toolbar-icon-button-DqW_CkJO.js} +1 -1
- package/dist/client/assets/{tooltip-BVrosRIK.js → tooltip-mM1fQXaq.js} +1 -1
- package/dist/client/assets/{tooltipContext-qYwD6VMh.js → tooltipContext-B2y0_sWP.js} +1 -1
- package/dist/client/assets/{track-CeXWn-zt.js → track-XkKLQQJT.js} +1 -1
- package/dist/client/assets/{types-DDm1cJJv.js → types-E9_eqrxO.js} +3 -3
- package/dist/client/assets/{url-slug-W6aFEmJF.js → url-slug-BVpN8K6B.js} +1 -1
- package/dist/client/assets/{usage-stats-Dhf-DrML.js → usage-stats-DT9jvl-J.js} +2 -2
- package/dist/client/assets/{use-ai-providers-Cq3xA9Zt.js → use-ai-providers-Bku85sJ3.js} +1 -1
- package/dist/client/assets/use-apply-named-rule-Bwm7LB-d.js +1 -0
- package/dist/client/assets/use-ask-in-chat-C5w0G3Ru.js +1 -0
- package/dist/client/assets/{use-automations-BVThKMGQ.js → use-automations-D9iFnWhp.js} +1 -1
- package/dist/client/assets/use-autosave-CLbBIg-P.js +1 -0
- package/dist/client/assets/use-blocks-v8-project-BTQz7erp.js +1 -0
- package/dist/client/assets/use-chat-layout-state-Cbkyo6cP.js +1 -0
- package/dist/client/assets/{use-cms-publish-actions-C7zW1hZf.js → use-cms-publish-actions-XYKTfqt2.js} +5 -5
- package/dist/client/assets/{use-connect-companion-B9VAml3x.js → use-connect-companion-DCIdJC0W.js} +1 -1
- package/dist/client/assets/use-connection-CLoaxXGr.js +1 -0
- package/dist/client/assets/use-content-sync-14ry1gRC.js +1 -0
- package/dist/client/assets/{use-copy-DT5ZzrsX.js → use-copy-D3ELC0tX.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-Co74b8Ww.js → use-date-fns-locale-DU1bARSL.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-4hpLvgm-.js → use-debounced-autosave-Dxp05968.js} +1 -1
- package/dist/client/assets/{use-debounced-value-jJnqowMI.js → use-debounced-value-CgYJanEq.js} +1 -1
- package/dist/client/assets/{use-deco-credits-BQqUH0BV.js → use-deco-credits-DlgC2mIc.js} +1 -1
- package/dist/client/assets/use-decopilot-events-DhxeqkWl.js +1 -0
- package/dist/client/assets/use-delete-block-BJD7162e.js +1 -0
- package/dist/client/assets/use-delete-connection-DtzGQTsr.js +1 -0
- package/dist/client/assets/{use-deployment-admin-CDyLX01_.js → use-deployment-admin-8guQU4GC.js} +1 -1
- package/dist/client/assets/{use-entitlements-u-J4FrTi.js → use-entitlements-J4XPZF2l.js} +1 -1
- package/dist/client/assets/use-fast-preview-draft-url-BX0PGrG_.js +1 -0
- package/dist/client/assets/{use-file-configs-BbIIeRpu.js → use-file-configs-DngvlIXa.js} +1 -1
- package/dist/client/assets/{use-id-selection-CUD8oDcN.js → use-id-selection-Dkbf-QZH.js} +1 -1
- package/dist/client/assets/{use-inbox-feed-CcPQJJTK.js → use-inbox-feed-b7aNeh2-.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CfhQVaOS.js → use-infinite-scroll-BWIp-OKY.js} +1 -1
- package/dist/client/assets/{use-join-requests-CkLvGQO2.js → use-join-requests-CdvnKUpu.js} +1 -1
- package/dist/client/assets/use-main-panel-tabs-i0OC0oRI.js +1 -0
- package/dist/client/assets/{use-mcp-auth-status-KGdhyspi.js → use-mcp-auth-status-CxxAbIdU.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Bh7kEUBS.js → use-mcp-client-CmWEhN6T.js} +10 -10
- package/dist/client/assets/{use-mcp-prompts-BvdRcLVu.js → use-mcp-prompts-RB8yW0_L.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BXarw5nj.js → use-mcp-tools-Bfew76Ae.js} +1 -1
- package/dist/client/assets/{use-mobile-Dc6kWu8K.js → use-mobile-BZ5I1Gts.js} +1 -1
- package/dist/client/assets/use-move-blocks-a-Gpcz1Q.js +1 -0
- package/dist/client/assets/use-navigate-to-agent-CMbT8SLE.js +1 -0
- package/dist/client/assets/use-never-published-Cq663vOp.js +1 -0
- package/dist/client/assets/{use-org-fs-DrGQDt6z.js → use-org-fs-D8fqy59B.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-CJN2n862.js → use-org-repo-syncs-D0tdQJ2P.js} +1 -1
- package/dist/client/assets/{use-org-sso-3rJKFGHZ.js → use-org-sso-D-kGbeq_.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Dw2wmQuO.js → use-organization-settings-BZz5ibUN.js} +1 -1
- package/dist/client/assets/use-project-native-view-presence-BbI14MhH.js +1 -0
- package/dist/client/assets/use-project-scope-3ijTexFj.js +1 -0
- package/dist/client/assets/use-recent-apps-CWPH7SDm.js +1 -0
- package/dist/client/assets/{use-reports-diagnostic-CnV_YMfp.js → use-reports-diagnostic-V-qftvBJ.js} +1 -1
- package/dist/client/assets/use-sandbox-events-CBP-Uwww.js +2 -0
- package/dist/client/assets/{use-secrets-CYyoVB7k.js → use-secrets-CfMZEME2.js} +1 -1
- package/dist/client/assets/use-section-preview-base-DxIpbqPr.js +1 -0
- package/dist/client/assets/{use-sidebar-collapsed-CGsrtxLO.js → use-sidebar-collapsed-Cbxz0vjB.js} +1 -1
- package/dist/client/assets/{use-tags-D570CleN.js → use-tags-DTSxZWpz.js} +1 -1
- package/dist/client/assets/{use-task-board-analytics-DCDiNKaK.js → use-task-board-analytics-BKNhIlpV.js} +1 -1
- package/dist/client/assets/{use-task-board-events-DUIQmo3-.js → use-task-board-events-MfMFlaj-.js} +1 -1
- package/dist/client/assets/{use-task-board-item-prs-CG0dFrGw.js → use-task-board-item-prs-i0iDRtks.js} +1 -1
- package/dist/client/assets/{use-task-board-items-BB9JhdmM.js → use-task-board-items-6-h_Haer.js} +1 -1
- package/dist/client/assets/{use-task-board-prompts-DTmkMV_c.js → use-task-board-prompts-BzepMvGT.js} +1 -1
- package/dist/client/assets/{use-task-metadata-qW9LtgU4.js → use-task-metadata-CkJg1Id-.js} +1 -1
- package/dist/client/assets/{use-thread-outputs-CtFiUcL7.js → use-thread-outputs-DegzudvH.js} +1 -1
- package/dist/client/assets/use-view-draft-kind-BQ4N5uEB.js +1 -0
- package/dist/client/assets/{use-voice-input-DyZTYy5g.js → use-voice-input-vD0BpiqU.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-njPYFTao.js +1 -0
- package/dist/client/assets/{useQueries-1XxIGeEN.js → useQueries-D6BmTkII.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CSPS7F0z.js +1 -0
- package/dist/client/assets/{users-I0fvIaz3.js → users-RduqDlHV.js} +1 -1
- package/dist/client/assets/{utils-Pt7-9-Ev.js → utils-CkU_P8Ie.js} +2 -2
- package/dist/client/assets/variant-calendar-1rTVvyAx.js +1 -0
- package/dist/client/assets/{variant-matcher-override-BZrGhjnT.js → variant-matcher-override-B3zGkPXZ.js} +1 -1
- package/dist/client/assets/{view-header-D7Xjp31c.js → view-header-B-Vek7fH.js} +1 -1
- package/dist/client/assets/virtual-mcp-DPJ0M-HO.js +1 -0
- package/dist/client/assets/{watch-sse-pool-B9yUO9oy.js → watch-sse-pool-DqTWfbxM.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/server.js +584 -584
- package/package.json +1 -1
- package/dist/client/assets/ReferenceLine-CyROiAPM.js +0 -1
- package/dist/client/assets/ShoppingBag01-ClDrdJV2.js +0 -1
- package/dist/client/assets/agent-app-Bl_mPh_t.js +0 -1
- package/dist/client/assets/agent-assets-B5UWuXnl.js +0 -1
- package/dist/client/assets/agent-automation-C9PBjiVk.js +0 -20
- package/dist/client/assets/agent-automations-CMf5dE3K.js +0 -1
- package/dist/client/assets/agent-calendar-DfZ4ErN1.js +0 -1
- package/dist/client/assets/agent-connect-sources-DwgsD8vQ.js +0 -1
- package/dist/client/assets/agent-deck-DjXPR_Nl.js +0 -1
- package/dist/client/assets/agent-e2e-BRjoGfW2.js +0 -1
- package/dist/client/assets/agent-experiments-CA2mbR8k.js +0 -1
- package/dist/client/assets/agent-file-BQdiAqSO.js +0 -1
- package/dist/client/assets/agent-hosting-D5KChDQU.js +0 -1
- package/dist/client/assets/agent-icon-uDqFfzhf.js +0 -1
- package/dist/client/assets/agent-library-2kWug_zO.js +0 -1
- package/dist/client/assets/agent-library-file-DtPgl6Sc.js +0 -1
- package/dist/client/assets/agent-overview-CXQy1R3G.js +0 -1
- package/dist/client/assets/agent-releases-CaysxAFQ.js +0 -2
- package/dist/client/assets/agent-settings-Bt8gf0xs.js +0 -1
- package/dist/client/assets/agent-site-editor-code-DfcTCTxX.js +0 -2
- package/dist/client/assets/agent-site-editor-content-B47YLbhf.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-Ci1e5zpi.js +0 -1
- package/dist/client/assets/agent-view-FTi4q4vz.js +0 -1
- package/dist/client/assets/agent-view-guard-BP5FCFpQ.js +0 -1
- package/dist/client/assets/ai-providers-CQ29Z6f1.js +0 -1
- package/dist/client/assets/api-keys-h9YcYrMI.js +0 -1
- package/dist/client/assets/app-editor-BSqFGCuO.js +0 -1
- package/dist/client/assets/automations-Xmpwvi6F.js +0 -1
- package/dist/client/assets/autosend-D-UTWUhf.js +0 -1
- package/dist/client/assets/block-document-0w5M-3LO.js +0 -3
- package/dist/client/assets/blog-schema-CYWT4exY.js +0 -1
- package/dist/client/assets/category-editor-BRFXJMj8.js +0 -1
- package/dist/client/assets/chat-context-bTdV0PQS.js +0 -39
- package/dist/client/assets/choose-editor-CKJ9YUAD.js +0 -1
- package/dist/client/assets/cms-settings-editor-Bl0s5YWk.js +0 -1
- package/dist/client/assets/cms-store-drafts-B8sdeq2z.js +0 -1
- package/dist/client/assets/collapsible-B2pXVUPn.js +0 -1
- package/dist/client/assets/collection-detail-D-ELQuvL.js +0 -1
- package/dist/client/assets/config-CaohtXWJ.js +0 -1
- package/dist/client/assets/connection-detail-CyQt5Knq.js +0 -1
- package/dist/client/assets/connections-Dfx8FH4D.js +0 -1
- package/dist/client/assets/content-tab-Bd4lKzez.js +0 -25
- package/dist/client/assets/context-DkOsTTFI.js +0 -1
- package/dist/client/assets/discover-Blhzpr1h.js +0 -1
- package/dist/client/assets/experiments-tab-choice-BKIwz3b9.js +0 -1
- package/dist/client/assets/feature-gate-B_FyKX76.js +0 -1
- package/dist/client/assets/file-explorer-mKoJ95H9.js +0 -2
- package/dist/client/assets/general-DQnQVbWU.js +0 -1
- package/dist/client/assets/home-CLDIpUPQ.js +0 -1
- package/dist/client/assets/hosted-reconcile-C7zHteUc.js +0 -1
- package/dist/client/assets/index-CnFz3TOs.js +0 -4
- package/dist/client/assets/index-DO-A5xCQ.css +0 -1
- package/dist/client/assets/index-DPvgRnv7.js +0 -1
- package/dist/client/assets/index-DisDzI9Z.js +0 -1
- package/dist/client/assets/index-MBimNXd5.js +0 -1
- package/dist/client/assets/library-CYKhZ1Xb.js +0 -1
- package/dist/client/assets/mustache-CtUZw69D.js +0 -4
- package/dist/client/assets/named-rule-view-CkgbSbSg.js +0 -1
- package/dist/client/assets/openai-conversation-D4xjY3_1.js +0 -3
- package/dist/client/assets/parse-sections-D2w3wSuP.js +0 -20
- package/dist/client/assets/plan-Da6szJuR.js +0 -1
- package/dist/client/assets/post-calendar-DEqb8d3G.js +0 -1
- package/dist/client/assets/post-editor-B-zzeLVe.js +0 -2
- package/dist/client/assets/preview-tab-DBOLhpj4.js +0 -551
- package/dist/client/assets/project-app-view-etnu6fhD.js +0 -1
- package/dist/client/assets/project-apps-D4MFXbKC.js +0 -1
- package/dist/client/assets/project-reports-B9YT4T_3.js +0 -1
- package/dist/client/assets/project-tasks-DhwbKHKQ.js +0 -1
- package/dist/client/assets/projects-DN5f4v6V.js +0 -1
- package/dist/client/assets/record-editor-DtXYbHpV.js +0 -1
- package/dist/client/assets/redirect-editor-BGoLXzQs.js +0 -1
- package/dist/client/assets/reports-BVe3MPdv.js +0 -1
- package/dist/client/assets/reports-onboarding-hafGLqtC.js +0 -1
- package/dist/client/assets/reports-tab-BGeZEsTL.js +0 -2
- package/dist/client/assets/repositories-B9hLcljS.js +0 -1
- package/dist/client/assets/repositories-DMPvx5Vv.js +0 -1
- package/dist/client/assets/repository-picker-8FkfYDdf.js +0 -1
- package/dist/client/assets/resolve-tab-icon-DO940wY_.js +0 -1
- package/dist/client/assets/review-settings-Bj89Yxea.js +0 -1
- package/dist/client/assets/role-color-Dy-P6oaY.js +0 -1
- package/dist/client/assets/roles-CvbfU6et.js +0 -1
- package/dist/client/assets/route-93-1A9vt.js +0 -1
- package/dist/client/assets/route-BdH_uLpp.js +0 -1
- package/dist/client/assets/route-y8ZhYa0n.js +0 -1
- package/dist/client/assets/search-input-Cvdta6ZJ.js +0 -1
- package/dist/client/assets/section-array-field-AXi3Vg_u.js +0 -1
- package/dist/client/assets/sections-editor-CyIATot1.js +0 -1
- package/dist/client/assets/seo-editor-C0rSQsv3.js +0 -1
- package/dist/client/assets/settings-tab-DFF8W9c5.js +0 -1
- package/dist/client/assets/shell-layout-CU0v0Q3J.js +0 -1
- package/dist/client/assets/site-draft-actions-D4mgl3Il.js +0 -3
- package/dist/client/assets/site-draft-view-BlOBzJMo.js +0 -1
- package/dist/client/assets/site-editor-BoWcMF8-.js +0 -1
- package/dist/client/assets/skills-CPsP4uSN.js +0 -1
- package/dist/client/assets/suggestion-UmoyYDA6.js +0 -2
- package/dist/client/assets/synced-repos-MPQrTxDL.js +0 -1
- package/dist/client/assets/taskboard-analytics-BCgYqiKL.js +0 -1
- package/dist/client/assets/tasks-D2QsX8U7.js +0 -1
- package/dist/client/assets/thread-analytics-DEw5nqD5.js +0 -1
- package/dist/client/assets/thread-route-0xQXgTvr.js +0 -1
- package/dist/client/assets/use-apply-named-rule-V-RgXu1D.js +0 -1
- package/dist/client/assets/use-ask-in-chat-CIVcbye6.js +0 -1
- package/dist/client/assets/use-autosave-CCiDACSS.js +0 -1
- package/dist/client/assets/use-blocks-v8-project-Cbqo1QTy.js +0 -1
- package/dist/client/assets/use-chat-layout-state-CGYfM8sf.js +0 -1
- package/dist/client/assets/use-connection-DnLlCwu6.js +0 -1
- package/dist/client/assets/use-content-sync-D9eluVVW.js +0 -1
- package/dist/client/assets/use-decopilot-events-B2tjImS_.js +0 -1
- package/dist/client/assets/use-delete-connection-DpEMQiOo.js +0 -1
- package/dist/client/assets/use-fast-preview-draft-url-BxKgK3r2.js +0 -1
- package/dist/client/assets/use-main-panel-tabs-DyYS88nS.js +0 -1
- package/dist/client/assets/use-move-blocks-D35xWi_f.js +0 -1
- package/dist/client/assets/use-navigate-to-agent-BNznjjAZ.js +0 -1
- package/dist/client/assets/use-project-native-view-presence-BNwJJKFa.js +0 -1
- package/dist/client/assets/use-project-scope-BbUTPXSS.js +0 -1
- package/dist/client/assets/use-recent-apps-BkGr3MbC.js +0 -1
- package/dist/client/assets/use-sandbox-events-C8uDi6Yt.js +0 -2
- package/dist/client/assets/use-section-preview-base-DqcwcHAy.js +0 -1
- package/dist/client/assets/useInfiniteQuery-BuWYzJlw.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BofrdpH6.js +0 -1
- package/dist/client/assets/variant-calendar-WNfoLO6H.js +0 -1
- package/dist/client/assets/virtual-mcp-CSkG36xb.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as L,b as V,r as N,j as r,m as q,B as Z,by as ee}from"./index-DVvmeJMJ.js";import{j as te,d as re,r as se,p as ne}from"./thread-intent-BNVTtSHt.js";import{u as H,j as oe,d as le,k as ie,m as ce,n as ae}from"./chat-context-bTdV0PQS.js";import{u as ue}from"./repository-binding-DJpVzzIq.js";import{a as Q,b as Y,P as G}from"./popover-DVbSl4_S.js";import{d as de,b as fe,a as me,D as he}from"./drawer-DO5xJQb9.js";import{T as pe,a as xe,c as ge}from"./tooltip-BVrosRIK.js";import{u as ve}from"./use-mobile-Dc6kWu8K.js";import{g as ye,av as Se,l as be}from"./agent-icon-uDqFfzhf.js";import{t as je}from"./ChevronUp-DlMNWluH.js";import{t as Te}from"./Tool01-DB3xqZeL.js";import{d as Re}from"./use-organization-settings-Dw2wmQuO.js";import{u as J,c as Me,d as ke}from"./use-ai-providers-Cq3xA9Zt.js";import{M as Ce,a as Ie}from"./index-DFaIOW9N.js";import{d as we,e as Ne,b as _e}from"./use-entitlements-u-J4FrTi.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
|
+
import{c as L,b as V,r as N,j as r,m as q,B as Z,bu as ee}from"./index-CWKxkTwy.js";import{j as te,d as re,r as se,p as ne}from"./thread-intent-0TjSPqLd.js";import{u as H,i as oe,d as le,j as ie,k as ce,m as ae}from"./chat-context-D8Eje7xK.js";import{u as ue}from"./repository-binding-DScgU6HN.js";import{a as Q,b as Y,P as G}from"./popover-CTEYICXO.js";import{d as de,b as fe,a as me,D as he}from"./drawer-B9PFQFcy.js";import{T as pe,a as xe,c as ge}from"./tooltip-mM1fQXaq.js";import{u as ve}from"./use-mobile-BZ5I1Gts.js";import{g as ye,as as Se,l as be}from"./agent-icon-BwEytdmh.js";import{t as je}from"./ChevronUp-JSFuaLqF.js";import{t as Te}from"./Tool01-DAYJL0v-.js";import{d as Re}from"./use-organization-settings-BZz5ibUN.js";import{u as J,c as Me,d as ke}from"./use-ai-providers-Bku85sJ3.js";import{M as Ce,a as Ie}from"./index-C9E0iqgh.js";import{d as we,e as Ne,b as _e}from"./use-entitlements-J4XPZF2l.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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as u}from"./infiniteQueryObserver-DCK-YXw1.js";import{d$ as i}from"./index-CWKxkTwy.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{e9 as Q,ea as y,eb as S,ec as w,e0 as C,q as k,ed as q,ee as x,r as p,ef as M,eg as H,eh as L,ei as P,ej as O,ek as B,el as A}from"./index-CWKxkTwy.js";function R(r,e){const s=new Set(e);return r.filter(t=>!s.has(t))}function T(r,e,s){const t=r.slice(0);return t[e]=s,t}var j=class extends Q{#i;#e;#n;#r;#s;#t;#o;#u;#h;#a=[];constructor(r,e,s){super(),this.#i=r,this.#r=s,this.#n=[],this.#s=[],this.#e=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(e=>{this.#d(r,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,e){this.#n=r,this.#r=e,y.batch(()=>{const s=this.#s,t=this.#f(this.#n);t.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=t.map(o=>o.observer),n=i.map(o=>o.getCurrentResult()),u=s.length!==i.length,c=i.some((o,d)=>o!==s[d]),f=u||c,b=f?!0:n.some((o,d)=>{const g=this.#e[d];return!g||!S(o,g)});!f&&!b||(f&&(this.#a=t,this.#s=i),this.#e=n,this.hasListeners()&&(f&&(R(s,i).forEach(o=>{o.destroy()}),R(i,s).forEach(o=>{o.subscribe(d=>{this.#d(o,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,e){const s=this.#f(r),t=s.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=s.map(n=>n.defaultedQueryOptions.queryHash);return[t,n=>this.#l(n??t,e,i),()=>this.#c(t,s)]}#c(r,e){return e.map((s,t)=>{const i=r[t];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,n=>{e.forEach(u=>{u.observer.trackProp(n)})})})}#l(r,e,s){if(e){const t=this.#h,i=s!==void 0&&t!==void 0&&(t.length!==s.length||s.some((n,u)=>n!==t[u]));return(!this.#t||this.#e!==this.#u||i||e!==this.#o)&&(this.#o=e,this.#u=this.#e,s!==void 0&&(this.#h=s),this.#t=w(this.#t,e(r))),this.#t}return r}#b(){return this.#r?.combine!==void 0&&this.#s.some((r,e)=>r.options.suspense&&this.#e[e]?.data===void 0)}#f(r){const e=new Map;this.#s.forEach(t=>{const i=t.options.queryHash;if(!i)return;const n=e.get(i);n?n.push(t):e.set(i,[t])});const s=[];return r.forEach(t=>{const i=this.#i.defaultQueryOptions(t),u=e.get(i.queryHash)?.shift()??new C(this.#i,i);s.push({defaultedQueryOptions:i,observer:u})}),s}#d(r,e){const s=this.#s.indexOf(r);s!==-1&&(this.#e=T(this.#e,s,e),this.#p())}#p(){if(this.hasListeners()){const r=this.#c(this.#e,this.#a),e=this.#b(),s=this.#t,t=e?s:this.#l(r,this.#r?.combine);(e||s!==t)&&y.batch(()=>{this.listeners.forEach(i=>{i(this.#e)})})}}};function I({queries:r,...e},s){const t=k(s),i=q(),n=x(),u=p.useMemo(()=>r.map(h=>{const a=t.defaultQueryOptions(h);return a._optimisticResults=i?"isRestoring":"optimistic",a}),[r,t,i]);u.forEach(h=>{M(h);const a=t.getQueryCache().get(h.queryHash);H(h,n,a)}),L(n);const[c]=p.useState(()=>new j(t,u,e)),[f,b,o]=c.getOptimisticResult(u,e.combine),d=!i&&e.subscribed!==!1;p.useSyncExternalStore(p.useCallback(h=>d?c.subscribe(y.batchCalls(h)):P,[c,d]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),p.useEffect(()=>{c.setQueries(u,e)},[u,e,c]);const m=f.some((h,a)=>O(u[a],h))?f.flatMap((h,a)=>{const l=u[a];if(l&&O(l,h)){const E=new C(t,l);return B(l,E,n)}return[]}):[];if(m.length>0)throw Promise.all(m);const v=f.find((h,a)=>{const l=u[a];return l&&A({result:h,errorResetBoundary:n,throwOnError:l.throwOnError,query:t.getQueryCache().get(l.queryHash),suspense:l.suspense})});if(v?.error)throw v.error;return b(o())}export{I as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./infiniteQueryObserver-DCK-YXw1.js";import{d$ as u,e7 as n}from"./index-CWKxkTwy.js";function a(e,r){return u({...e,enabled:!0,suspense:!0,throwOnError:n},s,r)}export{a as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,b as q,r as z,a as O,i as Y,e as $,j as t,n as L,K as J,t as Q,o as W,B as G,p as H}from"./index-
|
|
1
|
+
import{c as V,b as q,r as z,a as O,i as Y,e as $,j as t,n as L,K as J,t as Q,o as W,B as G,p as H}from"./index-CWKxkTwy.js";import{C as X}from"./collection-table-wrapper-DSy_nx4_.js";import{E as D}from"./empty-state-BkAAjXrp.js";import{S as Z}from"./search-input-Dc1w2xyv.js";import{B as I}from"./badge-DbKUf3vA.js";import{u as ee}from"./use-debounced-value-CgYJanEq.js";import{a as K}from"./admin-fetch-BhTJlAsX.js";import"./table-xCmpwB0s.js";import"./ArrowUp-AwRcCsuH.js";import"./SearchMd-D1P7yVqT.js";function pe(){const e=V.c(58),s=q(),[r,M]=z.useState("");let N;e[0]!==r?(N=r.trim(),e[0]=r,e[1]=N):N=e[1];const i=ee(N,300),{data:R}=O.useSession(),k=R?.user?.id;let n;e[2]!==i?(n=J.deploymentAdminUsers(i),e[2]=i,e[3]=n):n=e[3];let l;e[4]!==i?(l=()=>{const a=new URLSearchParams({limit:"100"});return i&&a.set("searchValue",i),K(`/api/_admin/users?${a}`)},e[4]=i,e[5]=l):l=e[5];let C;e[6]!==n||e[7]!==l?(C={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=C):C=e[8];const{data:P,isLoading:_,isError:A}=Y(C);let w;e[9]===Symbol.for("react.memo_cache_sentinel")?(w=te,e[9]=w):w=e[9];let y;e[10]!==s?(y={mutationFn:ae,onSuccess:w,onError:a=>{Q.error(a instanceof Error?a.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=y):y=e[11];const E=$(y);let b;e[12]!==P?.users?(b=P?.users??[],e[12]=P?.users,e[13]=b):b=e[13];const B=b;let o;e[14]!==s?(o=s("admin.users.columnUser"),e[14]=s,e[15]=o):o=e[15];let m;e[16]!==s?(m=a=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(W,{url:a.image??void 0,fallback:a.name??"?",shape:"circle",size:"sm"}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-sm font-medium text-foreground truncate",children:a.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:a.email})]})]}),e[16]=s,e[17]=m):m=e[17];let d;e[18]!==o||e[19]!==m?(d={id:"user",header:o,render:m,cellClassName:"flex-1 min-w-0"},e[18]=o,e[19]=m,e[20]=d):d=e[20];let c;e[21]!==s?(c=s("admin.users.columnEmail"),e[21]=s,e[22]=c):c=e[22];let u;e[23]!==s?(u=a=>a.emailVerified?t.jsx(I,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(I,{variant:"outline",className:"text-muted-foreground",children:s("admin.users.unverified")}),e[23]=s,e[24]=u):u=e[24];let f;e[25]!==c||e[26]!==u?(f={id:"verified",header:c,render:u,cellClassName:"w-28 shrink-0"},e[25]=c,e[26]=u,e[27]=f):f=e[27];let p;e[28]!==s?(p=s("admin.users.columnCreated"),e[28]=s,e[29]=p):p=e[29];let h;e[30]!==p?(h={id:"created",header:p,render:se,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==k||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:a=>t.jsx(G,{variant:"outline",size:"sm",disabled:a.id===k||E.isPending,onClick:()=>E.mutate(a.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=k,e[33]=E,e[34]=s,e[35]=x):x=e[35];let T;e[36]!==f||e[37]!==h||e[38]!==x||e[39]!==d?(T=[d,f,h,x],e[36]=f,e[37]=h,e[38]=x,e[39]=d,e[40]=T):T=e[40];const F=T;let j;e[41]!==s?(j=s("admin.users.searchPlaceholder"),e[41]=s,e[42]=j):j=e[42];let g;e[43]!==r||e[44]!==j?(g=t.jsx(Z,{value:r,onChange:M,placeholder:j,className:"w-full md:w-[375px]"}),e[43]=r,e[44]=j,e[45]=g):g=e[45];let S;e[46]!==i||e[47]!==A||e[48]!==s?(S=A?t.jsx(D,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(D,{title:s("admin.users.noUsersFoundTitle"),description:i?s("admin.users.noUsersMatchSearch",{search:i}):s("admin.users.noUsersYet")}),e[46]=i,e[47]=A,e[48]=s,e[49]=S):S=e[49];let v;e[50]!==F||e[51]!==_||e[52]!==S||e[53]!==B?(v=t.jsx(X,{columns:F,data:B,isLoading:_,emptyState:S}),e[50]=F,e[51]=_,e[52]=S,e[53]=B,e[54]=v):v=e[54];let U;return e[55]!==g||e[56]!==v?(U=t.jsx(L,{children:t.jsx(L.Content,{children:t.jsx(L.Container,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[g,v]})})})}),e[55]=g,e[56]=v,e[57]=U):U=e[57],U}function se(e){return t.jsx("span",{className:"text-sm text-foreground",children:H(e.createdAt)})}function te(){window.location.href="/"}function ae(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{pe as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aJ as W,aK as E,P as k}from"./agent-icon-BwEytdmh.js";import{b as j}from"./Tool01-DAYJL0v-.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 J(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 V(e){const t=[];for(const n of e.split(`
|
|
2
2
|
`)){if(!n)continue;const r=n.indexOf(":");if(r<0)continue;const s=n.indexOf(":",r+1);if(s<0)continue;const o=Number.parseInt(n.slice(r+1,s),10);Number.isFinite(o)&&t.push({path:h(n.slice(0,r)),line:o,text:n.slice(s+1)})}return t}function Q(e,t,n){const r=t.trim().toLowerCase();if(!r)return[];const s=[];for(const o of e)if((o.split("/").pop()??o).toLowerCase().includes(r)&&(s.push(h(o)),s.length>=n))break;return s}const w=24;function Y(e,t){const n=e.replace(/^\s+/,""),r=t.trim().toLowerCase();if(!r)return{leadingEllipsis:!1,segments:[{text:n,match:!1}]};const s=n.toLowerCase().indexOf(r);if(s<0)return{leadingEllipsis:!1,segments:[{text:n,match:!1}]};const o=s>w,u=o?n.slice(s-w):n,a=u.toLowerCase(),i=[];let c=0;for(;;){const l=a.indexOf(r,c);if(l<0){c<u.length&&i.push({text:u.slice(c),match:!1});break}l>c&&i.push({text:u.slice(c,l),match:!1}),i.push({text:u.slice(l,l+r.length),match:!0}),c=l+r.length}return{leadingEllipsis:o,segments:i}}function Z(e){const t=[],n=new Map;for(const r of e){let s=n.get(r.path);s||(s={path:r.path,matches:[]},n.set(r.path,s),t.push(s)),s.matches.push(r)}return t}function tt(e){return e.split(`
|
|
3
3
|
`).map(t=>t.replace(/^\d+\t/,"")).join(`
|
|
4
|
-
`)}export{F as E,
|
|
4
|
+
`)}export{F as E,P as a,L as b,v as c,G as d,J 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,V as w,U as x,S as y};
|
|
@@ -0,0 +1 @@
|
|
|
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-CWKxkTwy.js";import{F as xe,r as ie,k as ge}from"./agent-icon-BwEytdmh.js";import{L as be}from"./label-BXSXPHWU.js";import{S as ce}from"./scroll-area-EO9hsjie.js";import{S as ve}from"./switch-DBO_GrNe.js";import{T as ye,c as je,a as Te}from"./tooltip-mM1fQXaq.js";import{T as se,a as Ne}from"./toggle-group-BPubP3Pi.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-Bj2NuHQY.js";import"./Tool01-DAYJL0v-.js";import"./ArrowUp-AwRcCsuH.js";import"./ArrowLeft-DCMq103h.js";import"./LinkBroken01-DjOOxf0e.js";import"./BookOpen01-D2g_6Ti1.js";import"./Globe04-BBKBtEaK.js";import"./CheckCircle-BfCYdSA_.js";import"./ChevronUp-JSFuaLqF.js";import"./ChevronSelectorVertical-Bwduw2Hp.js";import"./UserSquare-CBWDFbi3.js";import"./CreditCard01-DsaJOWgX.js";import"./SwitchHorizontal01-CP6L8rlm.js";import"./Key01-BTIXWKkS.js";import"./Minus-BAq-AD33.js";import"./Monitor01-CqtNhdJN.js";import"./Sun-C5iV1Zpq.js";import"./Play-kmXfE4Am.js";import"./Plus-Bq5KiXqn.js";import"./SearchMd-D1P7yVqT.js";import"./ShoppingBag01-CAQ4NRTU.js";import"./Trash01-Dt7pyOwE.js";import"./Upload01-CZ2h76oj.js";import"./Users01-BZzvQda-.js";import"./XClose-D2u966Hj.js";import"./Zap-CDj8jJFt.js";import"./index-BdQq_4o_.js";import"./index-8kUWDN7v.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 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{o as $,m as f}from"./section-array-field-BFg67nYp.js";const v="x-deco-matchers-override";function h({pageKey:n,prefix:r,variants:t,selectedIndex:a,decofile:i,meta:s}){if(!n||a<0||a>=t.length)return[];const o=[];for(let e=0;e<=a;e++){const u=t[e];if(!u)continue;const c=u.rule,l=e===a?"1":"0",d=($(c,i,s)?f(c,i,s):null)??`${n}@${r}.${e}.rule`;o.push(`${d}=${l}`)}return o}function p(n,r,t,a){return!r.multivariate||r.variants.length<=1?[]:h({pageKey:n,prefix:"sections.variants",variants:r.variants,selectedIndex:r.index,decofile:t,meta:a})}function x({pageKey:n,page:r,sectionIndex:t,sectionLazy:a,mvObj:i,selectedVariantIndex:s,decofile:o,meta:e}){if(t<0)return[];const c=`${r.multivariate?`sections.variants.${r.index}.value${r.lazyValues?".value":""}`:"sections"}.${t}${a?".section":""}.variants`,l=Array.isArray(i.variants)?i.variants:[];return h({pageKey:n,prefix:c,variants:l,selectedIndex:s,decofile:o,meta:e})}function y(n,r){const t=`${r}@`;return n.map(a=>a.startsWith(t)?`props.${a.slice(t.length)}`:a)}function B(n,r){if(r.length===0)return n;try{const t=new URL(n,"http://local");t.searchParams.delete(v);for(const a of r)t.searchParams.append(v,a);return n.startsWith("http")?t.toString():`${t.pathname}${t.search}${t.hash}`}catch{return n}}export{x as a,p as b,y as i,B as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as x,j as a,B as p}from"./index-
|
|
1
|
+
import{c as x,j as a,B as p}from"./index-CWKxkTwy.js";import{i as h}from"./ArrowLeft-DCMq103h.js";const b="p-4";function k(m){const e=x.c(14),{intro:d,back:t,actions:n}=m;let r;e[0]!==n?(r=n?a.jsx("div",{className:"flex shrink-0 items-center gap-2","data-slot":"view-actions",children:n}):null,e[0]=n,e[1]=r):r=e[1];const s=r;if(t){let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(h,{size:16}),e[2]=o):o=e[2];let l;e[3]!==t.label||e[4]!==t.onClick?(l=a.jsxs(p,{variant:"ghost",size:"sm",onClick:t.onClick,children:[o,t.label]}),e[3]=t.label,e[4]=t.onClick,e[5]=l):l=e[5];let f;return e[6]!==s||e[7]!==l?(f=a.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between gap-2 border-b px-4","data-testid":"site-draft-view-header",children:[l,s]}),e[6]=s,e[7]=l,e[8]=f):f=e[8],f}let i;e[9]!==d?(i=a.jsx("p",{className:"min-w-0 flex-1 text-sm text-muted-foreground",children:d}),e[9]=d,e[10]=i):i=e[10];let c;return e[11]!==s||e[12]!==i?(c=a.jsxs("div",{className:"flex shrink-0 flex-wrap items-center justify-between gap-x-4 gap-y-2 px-4 pt-4","data-testid":"site-draft-view-header",children:[i,s]}),e[11]=s,e[12]=i,e[13]=c):c=e[13],c}export{b as S,k as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{U as A}from"./url-slug-BVpN8K6B.js";import{n as I}from"./thread-intent-0TjSPqLd.js";import{aF as a,bt as t,aG as e,bg as r,cm as o,cn as s,dE as d,dA as p,eI as k,dG as R,dy as g}from"./index-CWKxkTwy.js";const v=a({connection_id:e().describe("Connection ID"),selected_tools:t(e()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:t(e()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:t(e()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),h=500,y=200,_=200,E=20,U=50,P=100,T=20,C=100,N=300,V=100,O=8192,S=v.extend({selected_tools:t(e()).max(h).nullable().optional().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:t(e()).max(h).nullable().optional().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:t(e()).max(h).nullable().optional().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),D=a({connectionId:e(),toolName:e(),label:e(),icon:e().nullable().optional()}),L=a({id:e().describe("Stable id; used as React key and ?tab= value"),title:e().describe("Tab label"),icon:e().optional().describe("Optional lucide icon name"),view:a({type:d("ext-app"),appId:e(),args:p(e(),g()).optional()})}),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 be(n){return F(n?.cms)??"on"}function ue(n,i){const c=i==="off"&&n?.defaultMainView?.type==="content";return{...n,cms:i,cmsDefaultOpen:null,...c?{defaultMainView:{type:"site-editor"}}:{}}}const f=a({tileId:e().optional(),connectionId:e().optional().describe("Connection that owns the resource — the host opens a direct MCP client to this connection so the iframe can call tools by their bare names."),resourceUri:e().describe("ui:// resource URI exposed by `connectionId`. Read on the home page and rendered via MCPAppRenderer."),toolName:e().optional().describe("Tool name — identifies which tool's inputSchema to display when editing tile props."),toolInput:p(e(),g()).optional().describe("User-configured input props passed to MCPAppRenderer when rendering the tile."),minHeight: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_]*$/,w=e().min(1).regex(z,{message:"Env var key must start with a letter or underscore and contain only letters, digits, and underscores."}),q=R("kind",[a({key:w,kind:d("literal"),value:e().max(O)}),a({key:w,kind:d("secret"),secretId:e().min(1)})]),G=2,K=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(K).max(G).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"]),$={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($);function he(n){if(!n||typeof n!="object"||Array.isArray(n))return{};const i=n,c={};for(const[b,u]of Object.entries(i))if(!(!u||typeof u!="object")&&!(b!=="agent-sandbox"&&b!=="local-api"))try{c[b]=x.parse(u)}catch{}return c}const J=p(e().describe("userId"),p(e().describe("branch"),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."),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:J.optional().describe("Per-user, per-branch sandbox mapping: sandboxMap[userId][branch] -> { sandboxHandle, previewUrl }")}).loose().describe("Metadata"),connections:t(v).describe("Connections with their selected tools, resources, and prompts")}),M=a({title:e().min(1).max(120).describe("Short label shown on the chip"),description:e().max(280).optional().describe("One-line subtitle shown under the title"),text:e().min(1).max(4e3).describe("The message sent to the agent when the prompt is clicked")});a({title:e().min(1).max(255).describe("Name for the virtual MCP"),description:e().max(500).nullable().optional().describe("Optional description"),icon:e().nullish().describe("Optional icon URL"),status:s(["active","inactive"]).optional().default("active").describe("Initial status"),pinned:o().optional().default(!1).describe("Pin to sidebar"),metadata:a(m).loose().superRefine((n,i)=>{"sandboxMap"in n&&i.addIssue({code:"custom",path:["sandboxMap"],message:"sandboxMap is managed by the sandbox lifecycle"})}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:t(S).max(y).describe("Connections to include/exclude (can be empty for exclusion mode)"),prompts:t(M).max(20).optional().describe("Optional kickstart prompts to seed on the agent. Each becomes a clickable conversation starter (icebreaker) on the agent. Author them from the agent's role and the tools it will have so they're coherent and immediately useful.")});a({title:e().min(1).max(255).optional().describe("New name"),url_slug:A.nullish().describe("New URL slug. The old one keeps redirecting. Renaming does not change it. null keeps the current slug."),description:e().max(500).nullable().optional().describe("New description (null to clear)"),icon:e().nullish().describe("New icon URL"),status:s(["active","inactive"]).optional().describe("New status"),pinned:o().optional().describe("Pin/unpin from sidebar"),blocksV8:o().optional().describe('Org owners and admins only: turn the project\'s "Blocks v8 site" switch on or off (`metadata.blocksV8`). On, Studio edits the site with the Blocks v8 editor and the hosted CMS, and `deco schema push` is accepted; off, it is a v7 site. Never set through `metadata`.'),metadata:a(m).loose().superRefine((n,i)=>{"sandboxMap"in n&&i.addIssue({code:"custom",path:["sandboxMap"],message:"sandboxMap is managed by the sandbox lifecycle"})}).nullable().optional().describe("Additional metadata including MCP server instructions"),connections:t(S).max(y).optional().describe("New connections (replaces existing)"),prompts:t(M).max(20).optional().describe("Replace the agent's kickstart prompts with this full set. Omit to leave them unchanged; pass an empty array to remove all. Each becomes a clickable conversation starter (icebreaker).")});export{pe as C,z as E,G as R,me as V,N as a,he as p,be as r,ue as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{bt as C,aG as T,aF as S}from"./index-CWKxkTwy.js";import{T as O,a as w,b as L,c as N,d as P}from"./task-board-D7RCmGkN.js";import{e as F}from"./backoff-CrEUbyZT.js";const h={STEP:"decopilot.step",FINISH:"decopilot.finish",THREAD_STATUS:"decopilot.thread.status"},V=Object.values(h),y="notification.created",H=60,j=100,$=2e3,u=C(T().min(1)).max($),x=S({id:T().min(1).max(64),name:T().trim().min(1).max(H),projectIds:u}),Y=C(x).max(j),K=S({pinned:u,hidden:u,dismissed:u,hiddenFolders:u}),ee={pinned:[],hidden:[],dismissed:[],hiddenFolders:[]};S({folders:Y,preferences:K,joinedAt:T().nullable()});const M="project-folders.updated",v="order-monitor.store.evaluated",te=["orders_drop","denied_spike","cancel_spike"],X=3e4,q=1e3;function I(a){const{buildUrl:f,eventTypes:p,name:d,crossTab:_=!1}=a,c=new Map,l=_&&typeof BroadcastChannel<"u"&&typeof navigator<"u"&&typeof navigator.locks<"u";if(l&&!d)throw new Error("createSSESubscription: `name` is required when crossTab");function E(e,t){e.bootDone=!0;for(const s of e.handlers)try{s(t)}catch{}}function A(e){for(const t of e.reconnectHandlers)try{t()}catch{}}function m(e){const t=new EventSource(f(e.key));e.es=t,t.onopen=()=>{e.reconnectAttempt=0,e.bootDone&&(A(e),e.channel?.postMessage({kind:"reconnect"})),e.bootDone=!0},t.onerror=()=>{e.es===t&&t.readyState===EventSource.CLOSED&&U(e)};const s=n=>{e.channel?.postMessage({kind:"event",type:n.type,data:n.data}),E(e,n)};for(const n of p)t.addEventListener(n,s)}function U(e){if(e.refCount<=0||e.reconnectTimer)return;const t=F(X,q,e.reconnectAttempt,2,.5);e.reconnectAttempt++,e.reconnectTimer=setTimeout(()=>{e.reconnectTimer=null,!(e.refCount<=0||!e.isLeader)&&(e.es?.close(),m(e))},t)}function D(e){if(e.refCount<=0){e.releaseLeadership?.(),e.releaseLeadership=null;return}e.isLeader=!0,m(e)}function B(e){if(!l){D(e);return}e.lockAbort=new AbortController,navigator.locks.request(`sse-leader:${d}:${e.key}`,{signal:e.lockAbort.signal},()=>new Promise(t=>{e.releaseLeadership=t,D(e)})).catch(()=>{})}function W(e,t){t.kind==="event"?E(e,new MessageEvent(t.type,{data:t.data})):t.kind==="reconnect"&&A(e)}function g(e){const t=c.get(e);if(t)return t;const s={key:e,refCount:0,handlers:new Set,reconnectHandlers:new Set,bootDone:!1,es:null,isLeader:!1,reconnectAttempt:0,reconnectTimer:null,channel:null,lockAbort:null,releaseLeadership:null};if(c.set(e,s),l){const n=new BroadcastChannel(`sse:${d}:${e}`);n.onmessage=r=>W(s,r.data),s.channel=n}return s}function b(e){e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.es?.close(),e.es=null,e.releaseLeadership?.(),e.releaseLeadership=null,e.lockAbort?.abort(),e.lockAbort=null,e.channel?.close(),e.channel=null,c.delete(e.key)}return{dispose(){for(const e of[...c.values()])b(e)},subscribe(e,t,s){const n=!c.has(e),r=g(e);r.refCount++,r.handlers.add(t),s&&r.reconnectHandlers.add(s),n&&B(r);let R=!1;return()=>{R||(R=!0,r.handlers.delete(t),s&&r.reconnectHandlers.delete(s),r.refCount--,r.refCount<=0&&b(r))}}}}function o(a,f){const p=new Set(f);return{dispose:()=>a.dispose(),subscribe(d,_,c){const l=E=>{p.has(E.type)&&_(E)};return a.subscribe(d,l,c)}}}const k=[...V,O,w,L,N,P,y,M,v],J=k,G=k,i=I({name:"watch",buildUrl:a=>`/api/${encodeURIComponent(a)}/watch?types=${J.join(",")}`,eventTypes:G,crossTab:!0}),se=o(i,[...V]),re=o(i,[O,w]),ne=o(i,[L]),ae=o(i,[N]),oe=o(i,[P]),ie=o(i,[y]),ce=o(i,[M]),de=o(i,[v]),le=I({buildUrl:a=>`/api/${encodeURIComponent(a)}/watch?scope=all&types=${h.THREAD_STATUS}`,eventTypes:[h.THREAD_STATUS]});export{h as D,ee as E,te as O,H as P,oe as a,ae as b,ne as c,se as d,le as e,ie as n,de as o,ce as p,re as t};
|
package/dist/client/index.html
CHANGED
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
<meta name="twitter:description" content="Hire specialized agents, give them access to your tools, and let them deliver real projects — with planning, verification, and observability built in." />
|
|
51
51
|
<meta name="twitter:image" content="/og-image.png" />
|
|
52
52
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
53
|
-
<script type="module" crossorigin src="/assets/index-
|
|
54
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
53
|
+
<script type="module" crossorigin src="/assets/index-CWKxkTwy.js"></script>
|
|
54
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DYPWHH-M.css">
|
|
55
55
|
</head>
|
|
56
56
|
<body>
|
|
57
57
|
<div id="root"></div>
|