decocms 4.616.0 → 4.617.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/AlertCircle-DLcqA-Vc.js +1 -0
- package/dist/client/assets/AreaChart-DXgnBi8E.js +1 -0
- package/dist/client/assets/ArrowLeft-BSf9qK0B.js +1 -0
- package/dist/client/assets/ArrowRight-B9Ag2Jne.js +1 -0
- package/dist/client/assets/ArrowUp-Bvsnn071.js +1 -0
- package/dist/client/assets/BookOpen01-CIuv_Ae_.js +1 -0
- package/dist/client/assets/CartesianChart-C897FgR0.js +1 -0
- package/dist/client/assets/CategoricalChart-D79Y9MaG.js +33 -0
- package/dist/client/assets/CheckCircle-Abykuf2x.js +1 -0
- package/dist/client/assets/ChevronDown-CCC_w34y.js +1 -0
- package/dist/client/assets/ChevronSelectorVertical-CnYm62on.js +1 -0
- package/dist/client/assets/ChevronUp-BQixP1rC.js +1 -0
- package/dist/client/assets/CreditCard01-Dxwp5ygx.js +1 -0
- package/dist/client/assets/Eye-1k4JclX4.js +1 -0
- package/dist/client/assets/File02-B2v4MuD_.js +1 -0
- package/dist/client/assets/Fingerprint04-5gPbq8CS.js +1 -0
- package/dist/client/assets/Globe04-BwyaTy24.js +1 -0
- package/dist/client/assets/Image01-BKGukLJT.js +1 -0
- package/dist/client/assets/Key01-Cw7--3Qr.js +1 -0
- package/dist/client/assets/LayoutLeft-BPqF2E0g.js +1 -0
- package/dist/client/assets/LinkBroken01-Dv6Ah6nj.js +1 -0
- package/dist/client/assets/MessageCircle01-Cs1j8fQA.js +1 -0
- package/dist/client/assets/Minus-B9t8Cj2h.js +1 -0
- package/dist/client/assets/Monitor01-Dl91x6Dg.js +1 -0
- package/dist/client/assets/Play-DUqcPhTA.js +1 -0
- package/dist/client/assets/Plus-BvILRm8V.js +1 -0
- package/dist/client/assets/ReferenceLine-Bm1JI_3I.js +1 -0
- package/dist/client/assets/SearchMd-LhFkHyRE.js +1 -0
- package/dist/client/assets/ShoppingBag01-DuqldR2K.js +1 -0
- package/dist/client/assets/Sun-B3Dv9qvC.js +1 -0
- package/dist/client/assets/SwitchHorizontal01-B8u3e1M_.js +1 -0
- package/dist/client/assets/Tool01-Dzvelx3t.js +1 -0
- package/dist/client/assets/Tooltip-Co7VWF0S.js +1 -0
- package/dist/client/assets/Trash01-B0KaHXIB.js +1 -0
- package/dist/client/assets/Upload01-RL-4RPrA.js +1 -0
- package/dist/client/assets/UserCheck01-CRs22g1f.js +1 -0
- package/dist/client/assets/UserSquare-DKZc5_qG.js +1 -0
- package/dist/client/assets/Users01-BATDjDHh.js +1 -0
- package/dist/client/assets/XClose-9THWeCtY.js +1 -0
- package/dist/client/assets/Zap-DPXkdXwF.js +1 -0
- package/dist/client/assets/access-gate-CaVxuEUE.js +1 -0
- package/dist/client/assets/add-connection-dialog-BjNDlu0a.js +1 -0
- package/dist/client/assets/agent-app-DgQ1DbBw.js +1 -0
- package/dist/client/assets/agent-assets-CP2iSSZ5.js +1 -0
- package/dist/client/assets/agent-automation-BCzmRTkb.js +20 -0
- package/dist/client/assets/agent-automations-CZRlckLb.js +1 -0
- package/dist/client/assets/agent-blog-D0TcfYEK.js +2 -0
- package/dist/client/assets/agent-blog-post-MKt8mw1p.js +2 -0
- package/dist/client/assets/agent-business-case-XZsRMspd.js +1 -0
- package/dist/client/assets/agent-calendar--BZHZLQm.js +1 -0
- package/dist/client/assets/agent-capabilities-B2Uj5YcZ.js +1 -0
- package/dist/client/assets/agent-connect-sources-DWDTt-s6.js +1 -0
- package/dist/client/assets/agent-deck-Cwtjbq2B.js +1 -0
- package/dist/client/assets/agent-e2e-DkRrI893.js +1 -0
- package/dist/client/assets/agent-experiments-UIW7KYbb.js +1 -0
- package/dist/client/assets/agent-file-C5LQ-Y8n.js +1 -0
- package/dist/client/assets/agent-hosting-g3Q-edug.js +1 -0
- package/dist/client/assets/agent-icon-BjjtuL9t.js +1 -0
- package/dist/client/assets/agent-library-fPB8jboG.js +1 -0
- package/dist/client/assets/agent-library-file-C9IJBhTP.js +1 -0
- package/dist/client/assets/agent-overview-DM5tC54a.js +1 -0
- package/dist/client/assets/agent-releases-Dm8VzhwE.js +3 -0
- package/dist/client/assets/agent-settings-BjqlSo13.js +1 -0
- package/dist/client/assets/agent-site-editor-Ddfl5Qrp.js +16 -0
- package/dist/client/assets/agent-site-editor-code-92SCPwA9.js +2 -0
- package/dist/client/assets/agent-site-editor-content-DE5jggye.js +1 -0
- package/dist/client/assets/agent-site-editor-preview-Bkg72jYl.js +1 -0
- package/dist/client/assets/agent-view-CNzF1IWc.js +1 -0
- package/dist/client/assets/agent-view-guard-Ch-xI5p5.js +1 -0
- package/dist/client/assets/ai-providers-_bNeXkPZ.js +1 -0
- package/dist/client/assets/alert-CrGQnFDm.js +1 -0
- package/dist/client/assets/analytics-sections-BJ8aMDmG.js +1 -0
- package/dist/client/assets/api-keys-BaH5-qoz.js +1 -0
- package/dist/client/assets/api-keys-C-w-AEKg.js +1 -0
- package/dist/client/assets/app-editor-C4kKN5l6.js +1 -0
- package/dist/client/assets/asset-utils-BwGT5GVr.js +1 -0
- package/dist/client/assets/auth-BjUi9SzO.js +1 -0
- package/dist/client/assets/auth-catchall-Bp7IT5gp.js +1 -0
- package/dist/client/assets/auth-entry-cz3T9g0E.js +1 -0
- package/dist/client/assets/auth-split-layout-BG3ENIWT.js +1 -0
- package/dist/client/assets/authenticate-and-persist-oauth-CpCvRcyc.js +1 -0
- package/dist/client/assets/automation-list-row-BNjpstJE.js +1 -0
- package/dist/client/assets/automation-runs-DZqA1IKX.js +1 -0
- package/dist/client/assets/automations-BwLjym_V.js +1 -0
- package/dist/client/assets/badge-BtHgi9Dj.js +1 -0
- package/dist/client/assets/block-document-nnyItFM1.js +3 -0
- package/dist/client/assets/blocks-preview-workspace-context-DU-eF-HP.js +1 -0
- package/dist/client/assets/blocks-tab-states-BgPsbVCy.js +1 -0
- package/dist/client/assets/blog-preview-url-DiKqUmAn.js +1 -0
- package/dist/client/assets/blog-schema-DxMdD_q3.js +1 -0
- package/dist/client/assets/blog-source-gate-COO06WDu.js +1 -0
- package/dist/client/assets/blog-view-gate-DznPBvkc.js +1 -0
- package/dist/client/assets/buckets-Cg1NOVz1.js +1 -0
- package/dist/client/assets/build-improve-prompt-doc-DRDsCZ_z.js +2 -0
- package/dist/client/assets/calendar-DvWhcvLy.js +1 -0
- package/dist/client/assets/capability-load-error-qUGXI89g.js +1 -0
- package/dist/client/assets/category-editor-zQHZXLZl.js +1 -0
- package/dist/client/assets/category-tree-BNcD1qLS.js +18 -0
- package/dist/client/assets/chart-en7CYt0p.js +13 -0
- package/dist/client/assets/chat-context-7_gxJldr.js +43 -0
- package/dist/client/assets/chat-draft-BHgbcBBA.js +1 -0
- package/dist/client/assets/checkbox-DjuOGnHn.js +1 -0
- package/dist/client/assets/choose-editor-CkmkeC2o.js +1 -0
- package/dist/client/assets/cli-auth-success-BjK-gOo7.js +1 -0
- package/dist/client/assets/cms-settings-editor-Dxts04dN.js +1 -0
- package/dist/client/assets/cms-store-drafts-0DVxUrv4.js +1 -0
- package/dist/client/assets/collapsible-CdsqjV3Q.js +1 -0
- package/dist/client/assets/collection-detail-YJTnEWNQ.js +1 -0
- package/dist/client/assets/collection-display-button-DbvAJiF6.js +1 -0
- package/dist/client/assets/collection-search-DrJXq4ci.js +1 -0
- package/dist/client/assets/collection-table-wrapper-DZ7Td_v5.js +1 -0
- package/dist/client/assets/collection-tabs-C724UmTl.js +1 -0
- package/dist/client/assets/combobox-t82yeZiW.js +1 -0
- package/dist/client/assets/command-CywiUm1_.js +1 -0
- package/dist/client/assets/companion-mcps-section-D_AZqJju.js +1 -0
- package/dist/client/assets/config-Bo_Pw9UW.js +1 -0
- package/dist/client/assets/connect-WARP1WEq.js +9 -0
- package/dist/client/assets/connect-key-B1V67JVw.js +1 -0
- package/dist/client/assets/connect-layout-CXOCkn5w.js +1 -0
- package/dist/client/assets/connect-source-dialog-CihWpkgb.js +1 -0
- package/dist/client/assets/connection-DhmM25t6.js +1 -0
- package/dist/client/assets/connection-card-VUrpjnFR.js +1 -0
- package/dist/client/assets/connection-detail-COKfTXOD.js +1 -0
- package/dist/client/assets/connection-form-helpers-DyA1kgCO.js +1 -0
- package/dist/client/assets/connection-slug-B8NnPDGD.js +1 -0
- package/dist/client/assets/connections-Cn0UJJur.js +1 -0
- package/dist/client/assets/content-changes-Azl0DGRu.js +1 -0
- package/dist/client/assets/content-tab-BE75eDB8.js +19 -0
- package/dist/client/assets/context-DfWZakzA.js +1 -0
- package/dist/client/assets/context-menu-DGMuE0Wx.js +1 -0
- package/dist/client/assets/context-shell-C2oF7Qbb.js +37 -0
- package/dist/client/assets/create-organization-dialog-BD79lWYM.js +1 -0
- package/dist/client/assets/daily-pulse-JYouzDb1.js +1 -0
- package/dist/client/assets/delete-copy-uGZgr1b8.js +4 -0
- package/dist/client/assets/device-hint-CSgg6WGu.js +1 -0
- package/dist/client/assets/discover-CT2OmQu_.js +1 -0
- package/dist/client/assets/domain-settings-DiP6KyFA.js +1 -0
- package/dist/client/assets/drawer-CjKXZo1A.js +1 -0
- package/dist/client/assets/editor-cC61lBiD.js +11 -0
- package/dist/client/assets/editor-classes-Dci-OTTD.js +1 -0
- package/dist/client/assets/empty-state-BIdtkRNt.js +1 -0
- package/dist/client/assets/empty-state-CSRN6MuQ.js +1 -0
- package/dist/client/assets/experiments-tab-choice-BOXgxWUo.js +1 -0
- package/dist/client/assets/extract-connection-data-DHH2hoWT.js +1 -0
- package/dist/client/assets/feature-gate-D9RAUNRH.js +1 -0
- package/dist/client/assets/feature-paywall-Bz5Z3aLH.js +1 -0
- package/dist/client/assets/file-explorer-CucOscXN.js +2 -0
- package/dist/client/assets/file-preview-1wnZ_cuW.js +1 -0
- package/dist/client/assets/file-share-button-BPSq7NUQ.js +3 -0
- package/dist/client/assets/file-type-icon-C6tkg31Z.js +1 -0
- package/dist/client/assets/folder-icon-C8jPheKD.js +1 -0
- package/dist/client/assets/form-CQDdpHi1.js +1 -0
- package/dist/client/assets/frame-navigation-ByKJWd46.js +1 -0
- package/dist/client/assets/gateway-client-DS76r1Hn.js +1 -0
- package/dist/client/assets/general-BzdlYpbI.js +1 -0
- package/dist/client/assets/github-icon-CRGJhZEW.js +1 -0
- package/dist/client/assets/held-block-view-_NAzc4-t.js +3 -0
- package/dist/client/assets/home-DDSF8rZg.js +1 -0
- package/dist/client/assets/home-overview-n0-OUC5j.js +1 -0
- package/dist/client/assets/hosted-reconcile-CfF1sBks.js +1 -0
- package/dist/client/assets/icon-button-D_nPapys.js +1 -0
- package/dist/client/assets/index-B3boqtpT.js +1 -0
- package/dist/client/assets/index-BHrsFYmc.js +1 -0
- package/dist/client/assets/index-Ba_9vJbi.js +1 -0
- package/dist/client/assets/index-Bh1KH6V9.js +1 -0
- package/dist/client/assets/index-BpbG2g7p.js +4 -0
- package/dist/client/assets/index-BsIeh4Cx.js +273 -0
- package/dist/client/assets/index-CJrWKUIX.js +5 -0
- package/dist/client/assets/index-CN7fFBPr.js +1 -0
- package/dist/client/assets/index-CRELQxwJ.js +1 -0
- package/dist/client/assets/index-CaJAqu_T.js +1 -0
- package/dist/client/assets/index-CwmLzzd3.js +1 -0
- package/dist/client/assets/index-D5anuWoT.js +4 -0
- package/dist/client/assets/index-DBEEj-vf.js +15 -0
- package/dist/client/assets/index-DGdPUWQG.js +1 -0
- package/dist/client/assets/index-DOMlzk_A.css +1 -0
- package/dist/client/assets/index-Dsd0_C0j.js +26 -0
- package/dist/client/assets/index-MPKk5o35.js +1 -0
- package/dist/client/assets/index-oJ2Lq2a6.js +69 -0
- package/dist/client/assets/index-redirect-DKOxwLwx.js +1 -0
- package/dist/client/assets/infiniteQueryObserver-miJ0qd3O.js +1 -0
- package/dist/client/assets/infra-billing-DfQFVjyV.js +1 -0
- package/dist/client/assets/input-Cibdd1Bl.js +17 -0
- package/dist/client/assets/input-hFWCgmwb.js +1 -0
- package/dist/client/assets/integration-icon-BSOeiN0V.js +1 -0
- package/dist/client/assets/item-actions-BjKd3FRP.js +1 -0
- package/dist/client/assets/jira-icon-WTQXxflI.js +1 -0
- package/dist/client/assets/label-CBW7L69I.js +1 -0
- package/dist/client/assets/layout-BlesHAZ1.js +1 -0
- package/dist/client/assets/legacy-admin-welcome-dialog-RwxXOqrU.js +1 -0
- package/dist/client/assets/legacy-agents-deep-CtuBViyN.js +1 -0
- package/dist/client/assets/legacy-main-redirect-DKohh52R.js +1 -0
- package/dist/client/assets/library-BoY66rxH.js +1 -0
- package/dist/client/assets/library-tab-BsMvTm1T.js +162 -0
- package/dist/client/assets/login-CgmVi49N.js +1 -0
- package/dist/client/assets/markdown-DvPFu_gp.js +93 -0
- package/dist/client/assets/mcp-app-renderer-seklbs59.js +11 -0
- package/dist/client/assets/mcp-oauth-Cw4-dvxH.js +1 -0
- package/dist/client/assets/mcp-oauth-DgE6VdJT.js +1 -0
- package/dist/client/assets/members-DdCrInaP.js +1 -0
- package/dist/client/assets/memory-CRmXOeBE.js +7 -0
- package/dist/client/assets/mock-board-BV0aUocv.js +10 -0
- package/dist/client/assets/monaco-editor-Dhyw1ohX.js +9 -0
- package/dist/client/assets/monitoring-Cg3Rxytu.js +2 -0
- package/dist/client/assets/monitoring-stats-row-DDuZv4oU.js +1 -0
- package/dist/client/assets/multi-select-DHaljr4C.js +1 -0
- package/dist/client/assets/mustache-v3ZFSqS-.js +4 -0
- package/dist/client/assets/named-rule-step-dkVeuHXn.js +1 -0
- package/dist/client/assets/named-rule-view-CfaxirGC.js +1 -0
- package/dist/client/assets/new-project-dialog-DX6rZ2cz.js +1 -0
- package/dist/client/assets/new-project-store-DtdGtBjZ.js +1 -0
- package/dist/client/assets/oauth-callback-CLS08uxu.js +1 -0
- package/dist/client/assets/oauth-callback-ai-provider-bNsVOLdH.js +1 -0
- package/dist/client/assets/oauth-consent-CM3gKmya.js +1 -0
- package/dist/client/assets/onboarding-BZmXPOyd.js +1 -0
- package/dist/client/assets/openai-conversation-DTZ5Z_HK.js +3 -0
- package/dist/client/assets/optimistic-project-sidebar-views-6-EM8OX8.js +1 -0
- package/dist/client/assets/order-monitor-day-KHCikvDv.js +1 -0
- package/dist/client/assets/organization-choice-BWCrFxGF.js +1 -0
- package/dist/client/assets/orgs-lLBDt22T.js +1 -0
- package/dist/client/assets/own-accounts-section-CaSAEb7Y.js +1 -0
- package/dist/client/assets/pair-BAbQ-x4Q.js +48 -0
- package/dist/client/assets/parse-sections-CKHDLrWI.js +4 -0
- package/dist/client/assets/plan-DZj08zn4.js +1 -0
- package/dist/client/assets/plan-ladder-BLK6ReJp.js +1 -0
- package/dist/client/assets/plan-page-DQcOvDA2.js +6 -0
- package/dist/client/assets/plan-usage-card-BPWHUo4J.js +6 -0
- package/dist/client/assets/popover-Gt1AIK6d.js +1 -0
- package/dist/client/assets/post-calendar-DLDK1vFH.js +1 -0
- package/dist/client/assets/post-editor-CNyc33jM.js +2 -0
- package/dist/client/assets/preview-content-BJvMrYUN.js +1 -0
- package/dist/client/assets/preview-dialog-MqrPwyTk.js +1 -0
- package/dist/client/assets/preview-panel-pXiIEUoI.js +1 -0
- package/dist/client/assets/preview-tab-BGKCgMeF.js +557 -0
- package/dist/client/assets/primitives-C4yMpgfh.js +1 -0
- package/dist/client/assets/product-picker-dialog-DnHdeIrw.js +1 -0
- package/dist/client/assets/profile-BYqoI30T.js +1 -0
- package/dist/client/assets/project-app-view-kNeRUgF1.js +1 -0
- package/dist/client/assets/project-apps-cGCkc8Ax.js +1 -0
- package/dist/client/assets/project-icon-CXKZsp_F.js +1 -0
- package/dist/client/assets/project-index-C--rpXOV.js +1 -0
- package/dist/client/assets/project-reports-D51CbGAF.js +1 -0
- package/dist/client/assets/project-tasks-3Qp1kMHx.js +1 -0
- package/dist/client/assets/projects-BnaJss-v.js +1 -0
- package/dist/client/assets/projects-empty-state-CrBRuchN.js +1 -0
- package/dist/client/assets/prompts-CQqQeup0.js +1 -0
- package/dist/client/assets/record-editor-LjbJ8qDY.js +1 -0
- package/dist/client/assets/redirect-editor-B6pXHp_N.js +1 -0
- package/dist/client/assets/reports-BpEvTI00.js +3 -0
- package/dist/client/assets/reports-CQ1A9Zcm.js +1 -0
- package/dist/client/assets/reports-onboarding-kezZu8mx.js +1 -0
- package/dist/client/assets/reports-tab-CI16sdaV.js +2 -0
- package/dist/client/assets/repositories-BQrA_Dt8.js +1 -0
- package/dist/client/assets/repositories-Lh2baPgI.js +1 -0
- package/dist/client/assets/repository-binding-Coty9GKk.js +1 -0
- package/dist/client/assets/repository-picker-BTFXh-Or.js +1 -0
- package/dist/client/assets/require-capability-B75Gfza_.js +1 -0
- package/dist/client/assets/required-auth-layout-C_6SEQQV.js +1 -0
- package/dist/client/assets/reset-password-wMcNb9Do.js +1 -0
- package/dist/client/assets/resizable-Cbb3qdAX.js +1 -0
- package/dist/client/assets/resolve-tab-icon-DAtBYAEl.js +1 -0
- package/dist/client/assets/review-settings-BLjNzHem.js +1 -0
- package/dist/client/assets/role-color-vePuHimp.js +1 -0
- package/dist/client/assets/roles-9DfagegS.js +1 -0
- package/dist/client/assets/route-BAPAagaz.js +1 -0
- package/dist/client/assets/route-DKu6Pqys.js +1 -0
- package/dist/client/assets/route-b1nMnSaM.js +1 -0
- package/dist/client/assets/route-page-header-B-LIky3L.js +1 -0
- package/dist/client/assets/sandbox-git-api-DqhV02JW.js +1 -0
- package/dist/client/assets/sandbox-lifecycle-context-BquR_fQJ.js +1 -0
- package/dist/client/assets/save-status-DGZixUwz.js +1 -0
- package/dist/client/assets/schema-D1r-HRSl.js +1 -0
- package/dist/client/assets/schema-De4v5WlF.js +1 -0
- package/dist/client/assets/scroll-area-B3fSYr2v.js +1 -0
- package/dist/client/assets/search-input-Cdt9kMfy.js +1 -0
- package/dist/client/assets/search-toggle-DSp7Hcky.js +1 -0
- package/dist/client/assets/secret-picker-BawDPkEh.js +1 -0
- package/dist/client/assets/secrets-C8EXSlYe.js +1 -0
- package/dist/client/assets/section-array-field-CdNjVmNO.js +1 -0
- package/dist/client/assets/sections-Bs7Iv2jZ.js +1 -0
- package/dist/client/assets/sections-editor-CfAuLUez.js +1 -0
- package/dist/client/assets/select-CggP6HUZ.js +1 -0
- package/dist/client/assets/select-model-DLzfLIPF.js +1 -0
- package/dist/client/assets/seo-editor-CPdU1reK.js +1 -0
- package/dist/client/assets/separator-BVRbMe65.js +1 -0
- package/dist/client/assets/session-runtime-CWomfon_.js +1 -0
- package/dist/client/assets/settings-tab-DShUXmqJ.js +1 -0
- package/dist/client/assets/sheet-Cctf5Haw.js +1 -0
- package/dist/client/assets/shell-layout-CqMAaDgr.js +1 -0
- package/dist/client/assets/site-draft-actions-C7GVkvic.js +7 -0
- package/dist/client/assets/site-draft-view-D0jluchh.js +1 -0
- package/dist/client/assets/site-editor-BeVDYUvN.js +1 -0
- package/dist/client/assets/site-editor-toast-CwtPztls.js +1 -0
- package/dist/client/assets/skills-xCNKk2jF.js +1 -0
- package/dist/client/assets/slider-BcmfJAYi.js +1 -0
- package/dist/client/assets/sortable.esm-tCMXaEey.js +1 -0
- package/dist/client/assets/sso-D6p5do3e.js +1 -0
- package/dist/client/assets/suggestion-BxWaJ319.js +2 -0
- package/dist/client/assets/super-agent-icon-B9i-UVjr.js +1 -0
- package/dist/client/assets/switch-CtfynxSC.js +1 -0
- package/dist/client/assets/synced-repos-DIodp1Su.js +1 -0
- package/dist/client/assets/tab-icon-glyph-pwqNLeo_.js +1 -0
- package/dist/client/assets/table-BTX1YfJT.js +1 -0
- package/dist/client/assets/tabs-CIIqTZdK.js +1 -0
- package/dist/client/assets/task-board-D7JZjCH3.js +1 -0
- package/dist/client/assets/task-key-CmyVr7eu.js +5 -0
- package/dist/client/assets/task-route-Ctqk0dq-.js +1 -0
- package/dist/client/assets/task-status-B5VEkn1i.js +1 -0
- package/dist/client/assets/taskboard-analytics-BGxgsamA.js +1 -0
- package/dist/client/assets/tasks-CM8b8pVQ.js +4 -0
- package/dist/client/assets/tasks-DmPnSoyF.js +1 -0
- package/dist/client/assets/textarea-DCckijcS.js +1 -0
- package/dist/client/assets/thread-analytics-D9sTrcBy.js +1 -0
- package/dist/client/assets/thread-button-BV5c-Xnr.js +1 -0
- package/dist/client/assets/thread-intent-CimeMAhs.js +15 -0
- package/dist/client/assets/thread-route-Byp6euSQ.js +1 -0
- package/dist/client/assets/thread-route-CJPA6DE4.js +1 -0
- package/dist/client/assets/thread-sheet-body-Dypvjwcl.js +1 -0
- package/dist/client/assets/time-range-picker-Cv23khp_.js +1 -0
- package/dist/client/assets/toggle-group-pweJWvtL.js +1 -0
- package/dist/client/assets/tool-set-selector-CQaNN2xC.js +1 -0
- package/dist/client/assets/toolbar-icon-button-CuKGUCEO.js +1 -0
- package/dist/client/assets/tooltip-C6N4ArKE.js +1 -0
- package/dist/client/assets/tooltipContext-fbSMmnSx.js +1 -0
- package/dist/client/assets/track-CjKst96m.js +1 -0
- package/dist/client/assets/types-7fmsgFT9.js +77 -0
- package/dist/client/assets/url-slug-CXerOL6f.js +1 -0
- package/dist/client/assets/usage-stats-DWuHrZxJ.js +141 -0
- package/dist/client/assets/use-ai-providers-MtFIBImG.js +1 -0
- package/dist/client/assets/use-api-keys-9SqcfWYR.js +1 -0
- package/dist/client/assets/use-apply-named-rule-BDDqH76g.js +1 -0
- package/dist/client/assets/use-ask-in-chat-DD41hTUU.js +1 -0
- package/dist/client/assets/use-automations-D2mAem9w.js +1 -0
- package/dist/client/assets/use-autosave-B2qXm0BM.js +1 -0
- package/dist/client/assets/use-blocks-v8-project-zdtgXF8h.js +1 -0
- package/dist/client/assets/use-blog-view-zATJAdkS.js +1 -0
- package/dist/client/assets/use-chat-layout-state-qKOMz4In.js +1 -0
- package/dist/client/assets/use-cms-publish-actions-XW-XQVoH.js +10 -0
- package/dist/client/assets/use-connect-companion-BAKvxUvx.js +1 -0
- package/dist/client/assets/use-connection-cRB5MkmY.js +1 -0
- package/dist/client/assets/use-content-sync-CHIhyqUa.js +1 -0
- package/dist/client/assets/use-copy-BZFH2e_O.js +1 -0
- package/dist/client/assets/use-current-view-DmgrA-Uh.js +1 -0
- package/dist/client/assets/use-date-fns-locale-DLFMwx_W.js +1 -0
- package/dist/client/assets/use-debounced-autosave-BF7EN-b1.js +1 -0
- package/dist/client/assets/use-debounced-value-BuH3c6jr.js +1 -0
- package/dist/client/assets/use-deco-credits-DWmcC5WJ.js +1 -0
- package/dist/client/assets/use-decopilot-events-xUZ9Tv7u.js +1 -0
- package/dist/client/assets/use-delete-block-pyMELcga.js +1 -0
- package/dist/client/assets/use-delete-connection-BoORUiSg.js +1 -0
- package/dist/client/assets/use-deployment-admin-b-BYr0h5.js +1 -0
- package/dist/client/assets/use-entitlements-DvWm2PK9.js +1 -0
- package/dist/client/assets/use-fast-preview-draft-url-BhFRNHph.js +1 -0
- package/dist/client/assets/use-file-configs-D4tBDbQj.js +1 -0
- package/dist/client/assets/use-id-selection-CpyPb5QB.js +1 -0
- package/dist/client/assets/use-in-settings-Coqt6v7y.js +1 -0
- package/dist/client/assets/use-inbox-feed-F2LzP84_.js +1 -0
- package/dist/client/assets/use-infinite-scroll-BAZy4BEv.js +1 -0
- package/dist/client/assets/use-join-requests-CPgCBxbT.js +1 -0
- package/dist/client/assets/use-main-panel-tabs-DHNL1FRk.js +1 -0
- package/dist/client/assets/use-mcp-auth-status-DlC_DSr7.js +1 -0
- package/dist/client/assets/use-mcp-client-H1P1GrJW.js +10 -0
- package/dist/client/assets/use-mcp-prompts-BOv869a4.js +1 -0
- package/dist/client/assets/use-mcp-tools-BBXEdmEY.js +1 -0
- package/dist/client/assets/use-mobile-D9RQChal.js +1 -0
- package/dist/client/assets/use-move-blocks-DKU8czJq.js +1 -0
- package/dist/client/assets/use-navigate-to-agent-BE-SmhD_.js +1 -0
- package/dist/client/assets/use-never-published-Dz_fylPy.js +1 -0
- package/dist/client/assets/use-org-fs-CwOfnGxA.js +1 -0
- package/dist/client/assets/use-org-notice-CqY792jc.js +1 -0
- package/dist/client/assets/use-org-repo-syncs-vZ0K6s_c.js +1 -0
- package/dist/client/assets/use-org-sso-Ba8Nu3bB.js +1 -0
- package/dist/client/assets/use-organization-settings-COfNAHE5.js +1 -0
- package/dist/client/assets/use-panel-navigate-3vE9xSHD.js +1 -0
- package/dist/client/assets/use-project-native-view-presence-ZiETUsg6.js +1 -0
- package/dist/client/assets/use-project-scope-Kr-x4L3R.js +1 -0
- package/dist/client/assets/use-recent-apps-LwGPbax8.js +1 -0
- package/dist/client/assets/use-reports-diagnostic-CRZjklP_.js +1 -0
- package/dist/client/assets/use-sandbox-events-BpgKHG4A.js +2 -0
- package/dist/client/assets/use-secrets-CJemEGEq.js +1 -0
- package/dist/client/assets/use-section-preview-base-CHNg45Lp.js +1 -0
- package/dist/client/assets/use-sidebar-collapsed-DItqXDBb.js +1 -0
- package/dist/client/assets/use-tags-DhlYAQW2.js +1 -0
- package/dist/client/assets/use-task-board-analytics-BvRXGAd9.js +1 -0
- package/dist/client/assets/use-task-board-item-prs-gtItx2hM.js +1 -0
- package/dist/client/assets/use-task-board-items-BzqC9Y7K.js +1 -0
- package/dist/client/assets/use-task-board-prompts-7jyYjgpj.js +1 -0
- package/dist/client/assets/use-task-metadata-zqAgAqTz.js +1 -0
- package/dist/client/assets/use-thread-outputs-CUHPfq8O.js +1 -0
- package/dist/client/assets/use-view-draft-kind-Jydb7grX.js +1 -0
- package/dist/client/assets/use-voice-input-TAUwPuti.js +1 -0
- package/dist/client/assets/useInfiniteQuery-CrdnpEov.js +1 -0
- package/dist/client/assets/useQueries-JFb05AJh.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-BfQiipma.js +1 -0
- package/dist/client/assets/users-f8EfLxs-.js +1 -0
- package/dist/client/assets/utils-DGeDmUlv.js +4 -0
- package/dist/client/assets/variant-calendar-BttrajzN.js +1 -0
- package/dist/client/assets/variant-matcher-override-BwlNNQnX.js +1 -0
- package/dist/client/assets/view-header-C-eCfmgS.js +1 -0
- package/dist/client/assets/virtual-mcp-V9dTdtB7.js +1 -0
- package/dist/client/assets/watch-sse-pool-CT562yBl.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/AlertCircle-B79T3vQg.js +0 -1
- package/dist/client/assets/AreaChart-1DjcfWAa.js +0 -1
- package/dist/client/assets/ArrowLeft-CFDBmtQn.js +0 -1
- package/dist/client/assets/ArrowRight-_1mjBk8q.js +0 -1
- package/dist/client/assets/ArrowUp-CGwCu8lq.js +0 -1
- package/dist/client/assets/BookOpen01-Cja5K-Zg.js +0 -1
- package/dist/client/assets/CartesianChart-DbfxDEk8.js +0 -1
- package/dist/client/assets/CategoricalChart-aQS_hxQA.js +0 -33
- package/dist/client/assets/CheckCircle-BdP9IvPO.js +0 -1
- package/dist/client/assets/ChevronDown-NJEKYVpP.js +0 -1
- package/dist/client/assets/ChevronSelectorVertical-QA_eM8SF.js +0 -1
- package/dist/client/assets/ChevronUp-CdlwQKca.js +0 -1
- package/dist/client/assets/CreditCard01-u7S1Papb.js +0 -1
- package/dist/client/assets/Eye-_AXqkWO1.js +0 -1
- package/dist/client/assets/File02-C4vk1-0W.js +0 -1
- package/dist/client/assets/Fingerprint04-bmDV_Zt8.js +0 -1
- package/dist/client/assets/Globe04-BXEQpgH7.js +0 -1
- package/dist/client/assets/Image01-DLy5un7V.js +0 -1
- package/dist/client/assets/Key01-CX9koaUb.js +0 -1
- package/dist/client/assets/LayoutLeft-Cc8HE6Mh.js +0 -1
- package/dist/client/assets/LinkBroken01-Be5szqzO.js +0 -1
- package/dist/client/assets/MessageCircle01-CWoIju4P.js +0 -1
- package/dist/client/assets/Minus-DJIrYTlh.js +0 -1
- package/dist/client/assets/Monitor01-DO2zUSLy.js +0 -1
- package/dist/client/assets/Play-Upgk6Vwe.js +0 -1
- package/dist/client/assets/Plus-C6PPIhQG.js +0 -1
- package/dist/client/assets/ReferenceLine-DHROouFX.js +0 -1
- package/dist/client/assets/SearchMd-ByGW18TK.js +0 -1
- package/dist/client/assets/ShoppingBag01-CoDrN_Bf.js +0 -1
- package/dist/client/assets/Sun-CFnDb3Gg.js +0 -1
- package/dist/client/assets/SwitchHorizontal01-DdMiH6v0.js +0 -1
- package/dist/client/assets/Tool01-C5U5GfFn.js +0 -1
- package/dist/client/assets/Tooltip-DMrOgBeB.js +0 -1
- package/dist/client/assets/Trash01-D3BXHl0z.js +0 -1
- package/dist/client/assets/Upload01-CmSjLpWk.js +0 -1
- package/dist/client/assets/UserCheck01-DkrJoTgc.js +0 -1
- package/dist/client/assets/UserSquare-CzDpovKf.js +0 -1
- package/dist/client/assets/Users01-CsPiPLgE.js +0 -1
- package/dist/client/assets/XClose-VFawdZTC.js +0 -1
- package/dist/client/assets/Zap-Dg95CWCj.js +0 -1
- package/dist/client/assets/access-gate-DEhQZEHK.js +0 -1
- package/dist/client/assets/add-connection-dialog-CY-1hoag.js +0 -1
- package/dist/client/assets/agent-app-CS5E8TvR.js +0 -1
- package/dist/client/assets/agent-assets-BvO33f5b.js +0 -1
- package/dist/client/assets/agent-automation-CNHhtRSa.js +0 -20
- package/dist/client/assets/agent-automations-8X1ZfMQ4.js +0 -1
- package/dist/client/assets/agent-blog-B-qgjc0R.js +0 -2
- package/dist/client/assets/agent-blog-post-ihtWC77H.js +0 -2
- package/dist/client/assets/agent-business-case-BqRjG0NY.js +0 -1
- package/dist/client/assets/agent-calendar-Bggq_CeJ.js +0 -1
- package/dist/client/assets/agent-capabilities-CHyVSIfo.js +0 -1
- package/dist/client/assets/agent-connect-sources-6QJ7xuGT.js +0 -1
- package/dist/client/assets/agent-deck-DDkow9Jj.js +0 -1
- package/dist/client/assets/agent-e2e-BFv54RnX.js +0 -1
- package/dist/client/assets/agent-experiments-CquSa1RS.js +0 -1
- package/dist/client/assets/agent-file-BxJTMm5y.js +0 -1
- package/dist/client/assets/agent-hosting-DdRCvd0_.js +0 -1
- package/dist/client/assets/agent-icon-mHnKN98z.js +0 -1
- package/dist/client/assets/agent-library-file-BEu5nmWb.js +0 -1
- package/dist/client/assets/agent-library-t6Vm-IxI.js +0 -1
- package/dist/client/assets/agent-overview-GOOAoGpS.js +0 -1
- package/dist/client/assets/agent-releases-DUkasnwf.js +0 -3
- package/dist/client/assets/agent-settings-IVdSvBTa.js +0 -1
- package/dist/client/assets/agent-site-editor-BtLnQekr.js +0 -16
- package/dist/client/assets/agent-site-editor-code-SuEMtdpK.js +0 -2
- package/dist/client/assets/agent-site-editor-content-Dm31bcya.js +0 -1
- package/dist/client/assets/agent-site-editor-preview-Dxo8gMEH.js +0 -1
- package/dist/client/assets/agent-view-DhGmpIyd.js +0 -1
- package/dist/client/assets/agent-view-guard-ddWX7YUu.js +0 -1
- package/dist/client/assets/ai-providers-CftklSU0.js +0 -1
- package/dist/client/assets/alert-ZlCw8k67.js +0 -1
- package/dist/client/assets/analytics-sections-qmiNeFYX.js +0 -1
- package/dist/client/assets/api-keys-BXYphvnv.js +0 -1
- package/dist/client/assets/api-keys-BlILgoSx.js +0 -1
- package/dist/client/assets/app-editor-BmpLgmI9.js +0 -1
- package/dist/client/assets/asset-utils-CpZNl06_.js +0 -1
- package/dist/client/assets/auth-Dj5MlzXt.js +0 -1
- package/dist/client/assets/auth-catchall-D_wyvME9.js +0 -1
- package/dist/client/assets/auth-entry-CT9zrr5H.js +0 -1
- package/dist/client/assets/auth-split-layout-BYLGv9rB.js +0 -1
- package/dist/client/assets/authenticate-and-persist-oauth-CgoDUSs7.js +0 -1
- package/dist/client/assets/automation-list-row-BIiiA8x6.js +0 -1
- package/dist/client/assets/automation-runs-C1aNVdBb.js +0 -1
- package/dist/client/assets/automations-DiBZRi3C.js +0 -1
- package/dist/client/assets/badge-D43CW9ql.js +0 -1
- package/dist/client/assets/block-document-DLzckaqO.js +0 -3
- package/dist/client/assets/blocks-preview-workspace-context-C1Xh6Ud9.js +0 -1
- package/dist/client/assets/blocks-tab-states-Dt0sIut6.js +0 -1
- package/dist/client/assets/blog-preview-url-BmfGCEca.js +0 -1
- package/dist/client/assets/blog-schema-DTkkJRmS.js +0 -1
- package/dist/client/assets/blog-source-gate-obpk25AX.js +0 -1
- package/dist/client/assets/blog-view-gate-BeBRgyJz.js +0 -1
- package/dist/client/assets/buckets-DqLM3qT3.js +0 -1
- package/dist/client/assets/build-improve-prompt-doc-BMIlWXqc.js +0 -2
- package/dist/client/assets/calendar-BVJiHXRt.js +0 -1
- package/dist/client/assets/capability-load-error-D-3178zq.js +0 -1
- package/dist/client/assets/category-editor-CJYnKN4F.js +0 -1
- package/dist/client/assets/category-tree-By1yHef5.js +0 -18
- package/dist/client/assets/chart-B0-vTmRF.js +0 -13
- package/dist/client/assets/chat-context-DElPd_KV.js +0 -43
- package/dist/client/assets/chat-draft-DYeAZXwC.js +0 -1
- package/dist/client/assets/checkbox-EN58bnRW.js +0 -1
- package/dist/client/assets/choose-editor-B6TNwHW_.js +0 -1
- package/dist/client/assets/cli-auth-success-DOsGD2k0.js +0 -1
- package/dist/client/assets/cms-settings-editor-Dnr_wfon.js +0 -1
- package/dist/client/assets/cms-store-drafts-DqlEEelF.js +0 -1
- package/dist/client/assets/collapsible-SwapIfxI.js +0 -1
- package/dist/client/assets/collection-detail-DDKzScDr.js +0 -1
- package/dist/client/assets/collection-display-button-BrJc-eHB.js +0 -1
- package/dist/client/assets/collection-search-DrcBBUCd.js +0 -1
- package/dist/client/assets/collection-table-wrapper-Cr2x7lMQ.js +0 -1
- package/dist/client/assets/collection-tabs-DNPK2rVO.js +0 -1
- package/dist/client/assets/combobox-BwdUn3zV.js +0 -1
- package/dist/client/assets/command-SY2ZnRo9.js +0 -1
- package/dist/client/assets/companion-mcps-section-Z9bmavQ2.js +0 -1
- package/dist/client/assets/config-BSLjSLLm.js +0 -1
- package/dist/client/assets/connect-dNubHVjE.js +0 -9
- package/dist/client/assets/connect-key-DPTpHhHK.js +0 -1
- package/dist/client/assets/connect-layout-DhYyXJ_a.js +0 -1
- package/dist/client/assets/connect-source-dialog-aKk77DlM.js +0 -1
- package/dist/client/assets/connection-INGF_Tys.js +0 -1
- package/dist/client/assets/connection-card-Da6QMOrb.js +0 -1
- package/dist/client/assets/connection-detail-iamd96u6.js +0 -1
- package/dist/client/assets/connection-form-helpers-DP9s_gSg.js +0 -1
- package/dist/client/assets/connection-slug-BUzOiIKa.js +0 -1
- package/dist/client/assets/connections-CxDpre2g.js +0 -1
- package/dist/client/assets/content-changes-RUsWfEyU.js +0 -1
- package/dist/client/assets/content-tab-BHPLt3xh.js +0 -19
- package/dist/client/assets/context-8uRKn5a5.js +0 -1
- package/dist/client/assets/context-menu-D_l3ejD0.js +0 -1
- package/dist/client/assets/context-shell-BDr9r5_c.js +0 -37
- package/dist/client/assets/create-organization-dialog-SvXxbH0G.js +0 -1
- package/dist/client/assets/daily-pulse-OhSSo082.js +0 -1
- package/dist/client/assets/delete-copy-BI6H_-VN.js +0 -4
- package/dist/client/assets/device-hint-D0KKa1HI.js +0 -1
- package/dist/client/assets/discover-hFnfS6fz.js +0 -1
- package/dist/client/assets/domain-settings-DE07O2_X.js +0 -1
- package/dist/client/assets/drawer-Cc5GoGE_.js +0 -1
- package/dist/client/assets/editor-CuwMJTkv.js +0 -11
- package/dist/client/assets/editor-classes-nwzo85k0.js +0 -1
- package/dist/client/assets/empty-state-BOACqe8n.js +0 -1
- package/dist/client/assets/empty-state-OmCxeENw.js +0 -1
- package/dist/client/assets/experiments-tab-choice-Bqizq6-B.js +0 -1
- package/dist/client/assets/extract-connection-data-u4OYVXGw.js +0 -1
- package/dist/client/assets/feature-gate-DmGuW1HX.js +0 -1
- package/dist/client/assets/feature-paywall-C9J82eQO.js +0 -1
- package/dist/client/assets/file-explorer-B1FCcYRv.js +0 -2
- package/dist/client/assets/file-preview-CCN1XfzT.js +0 -1
- package/dist/client/assets/file-share-button-DRrjFIUZ.js +0 -3
- package/dist/client/assets/file-type-icon-Ch8YrFS_.js +0 -1
- package/dist/client/assets/folder-icon-DcGaEdrE.js +0 -1
- package/dist/client/assets/form-CJYtyj_a.js +0 -1
- package/dist/client/assets/frame-navigation-E7yKrUfa.js +0 -1
- package/dist/client/assets/gateway-client-BgktQVnM.js +0 -1
- package/dist/client/assets/general-Cz3Mlr1e.js +0 -1
- package/dist/client/assets/github-icon-r0MgwWDh.js +0 -1
- package/dist/client/assets/held-block-view-Di7yDwAi.js +0 -3
- package/dist/client/assets/home-BTdnZuGt.js +0 -1
- package/dist/client/assets/home-overview--FC1AzlV.js +0 -1
- package/dist/client/assets/hosted-reconcile-CSjK-swv.js +0 -1
- package/dist/client/assets/icon-button-DDIgoNaN.js +0 -1
- package/dist/client/assets/index-51kU6OFU.js +0 -1
- package/dist/client/assets/index-BN4Io9gE.js +0 -4
- package/dist/client/assets/index-B_2fJp-u.css +0 -1
- package/dist/client/assets/index-BmiiXn5j.js +0 -1
- package/dist/client/assets/index-BxXZTFf-.js +0 -26
- package/dist/client/assets/index-C4lDOrVl.js +0 -1
- package/dist/client/assets/index-CC54wkAD.js +0 -1
- package/dist/client/assets/index-CLK91j5E.js +0 -1
- package/dist/client/assets/index-D1W7ut2I.js +0 -269
- package/dist/client/assets/index-DDMNdM21.js +0 -1
- package/dist/client/assets/index-DH9TD1uL.js +0 -4
- package/dist/client/assets/index-DXzlWhjJ.js +0 -1
- package/dist/client/assets/index-DgGQR13e.js +0 -69
- package/dist/client/assets/index-H8x29Tys.js +0 -15
- package/dist/client/assets/index-HG0Hn-tb.js +0 -5
- package/dist/client/assets/index-ICy5uJS1.js +0 -1
- package/dist/client/assets/index-KDBjhzA9.js +0 -1
- package/dist/client/assets/index-Yw-FAojM.js +0 -1
- package/dist/client/assets/index-redirect-CCAMfHj_.js +0 -1
- package/dist/client/assets/infiniteQueryObserver-DOpE6BBu.js +0 -1
- package/dist/client/assets/infra-billing-CXB12KfP.js +0 -1
- package/dist/client/assets/input-BpwrytAl.js +0 -1
- package/dist/client/assets/input-DoVas9av.js +0 -17
- package/dist/client/assets/integration-icon-DXN-XJCR.js +0 -1
- package/dist/client/assets/item-actions-CkyvC2L-.js +0 -1
- package/dist/client/assets/jira-icon-DYRW4UM7.js +0 -1
- package/dist/client/assets/label-CJFBh9Hz.js +0 -1
- package/dist/client/assets/layout-E6Mx6Nvv.js +0 -1
- package/dist/client/assets/legacy-admin-welcome-dialog-BdcU4w3n.js +0 -1
- package/dist/client/assets/legacy-agents-deep-RrLkFDTz.js +0 -1
- package/dist/client/assets/legacy-main-redirect-jo5L4iyk.js +0 -1
- package/dist/client/assets/library-Rf-tFgTl.js +0 -1
- package/dist/client/assets/library-tab-hHLKC6vr.js +0 -162
- package/dist/client/assets/login-DOIEj3kL.js +0 -1
- package/dist/client/assets/markdown-Cs_VFIOo.js +0 -93
- package/dist/client/assets/mcp-app-renderer-DXnjbkH-.js +0 -11
- package/dist/client/assets/mcp-oauth-DqtV9nxi.js +0 -1
- package/dist/client/assets/mcp-oauth-m9Nn_Cby.js +0 -1
- package/dist/client/assets/members-C1d4xgmU.js +0 -1
- package/dist/client/assets/memory-DZqrn_HB.js +0 -7
- package/dist/client/assets/mock-board-DlNminaI.js +0 -10
- package/dist/client/assets/monaco-editor-BUZ150q-.js +0 -9
- package/dist/client/assets/monitoring-sYMmBqE5.js +0 -2
- package/dist/client/assets/monitoring-stats-row-BhJSpOTB.js +0 -1
- package/dist/client/assets/multi-select-Bh8RuVPt.js +0 -1
- package/dist/client/assets/mustache-DDfkx3Qd.js +0 -4
- package/dist/client/assets/named-rule-step-DipCSV0p.js +0 -1
- package/dist/client/assets/named-rule-view-_NZ7qOsC.js +0 -1
- package/dist/client/assets/new-project-dialog-CRE_OifY.js +0 -1
- package/dist/client/assets/new-project-store-C_CW1RtD.js +0 -1
- package/dist/client/assets/oauth-callback-ai-provider-CXQ3H8DV.js +0 -1
- package/dist/client/assets/oauth-callback-bS0CM5qz.js +0 -1
- package/dist/client/assets/oauth-consent-DXEafLdq.js +0 -1
- package/dist/client/assets/onboarding-CagamfPF.js +0 -1
- package/dist/client/assets/openai-conversation-BiojiiW5.js +0 -3
- package/dist/client/assets/optimistic-project-sidebar-views-1-DUBv8z.js +0 -1
- package/dist/client/assets/order-monitor-day-BOwSvE0N.js +0 -1
- package/dist/client/assets/organization-choice-DtvjAEPE.js +0 -1
- package/dist/client/assets/orgs-DztNhQ1I.js +0 -1
- package/dist/client/assets/own-accounts-section-wjvAAFf5.js +0 -1
- package/dist/client/assets/pair-DxgOEXG6.js +0 -48
- package/dist/client/assets/parse-sections-5x1kD0Ku.js +0 -4
- package/dist/client/assets/plan-DnP7NDfJ.js +0 -1
- package/dist/client/assets/plan-ladder-CzWQv3Fw.js +0 -1
- package/dist/client/assets/plan-page-D5xGomuu.js +0 -6
- package/dist/client/assets/plan-usage-card-BHY2xgyw.js +0 -6
- package/dist/client/assets/popover-DbSdZVd4.js +0 -1
- package/dist/client/assets/post-calendar-Br_sRpTk.js +0 -1
- package/dist/client/assets/post-editor-hYFyaI7Z.js +0 -2
- package/dist/client/assets/preview-content-C_sHEYDI.js +0 -1
- package/dist/client/assets/preview-dialog-BueRO4-u.js +0 -1
- package/dist/client/assets/preview-panel-D70i4kYa.js +0 -1
- package/dist/client/assets/preview-tab-CR27meIw.js +0 -557
- package/dist/client/assets/primitives-C_DAyRMT.js +0 -1
- package/dist/client/assets/product-picker-dialog-Cwx6BuL6.js +0 -1
- package/dist/client/assets/profile-DkquqcCP.js +0 -1
- package/dist/client/assets/project-app-view-5rTPzvKu.js +0 -1
- package/dist/client/assets/project-apps-DevR_6vG.js +0 -1
- package/dist/client/assets/project-icon-BD1ByOdc.js +0 -1
- package/dist/client/assets/project-index-BnS4CpAf.js +0 -1
- package/dist/client/assets/project-reports-BurjoLQc.js +0 -1
- package/dist/client/assets/project-tasks-nlwCObOo.js +0 -1
- package/dist/client/assets/projects-empty-state-D08dJvBE.js +0 -1
- package/dist/client/assets/projects-vpomg-Z6.js +0 -1
- package/dist/client/assets/prompts-jqUHmJ_e.js +0 -1
- package/dist/client/assets/record-editor-DFvIgTaA.js +0 -1
- package/dist/client/assets/redirect-editor-Cieib2_p.js +0 -1
- package/dist/client/assets/reports-BQEZzmQr.js +0 -3
- package/dist/client/assets/reports-DrKbPCdl.js +0 -1
- package/dist/client/assets/reports-onboarding-DOs_4gka.js +0 -1
- package/dist/client/assets/reports-tab-Bajtbz_h.js +0 -2
- package/dist/client/assets/repositories-BWyOhQYL.js +0 -1
- package/dist/client/assets/repositories-CBIonCcP.js +0 -1
- package/dist/client/assets/repository-binding-CGFnGVxJ.js +0 -1
- package/dist/client/assets/repository-picker-BPjktPxl.js +0 -1
- package/dist/client/assets/require-capability-CQ3NJym_.js +0 -1
- package/dist/client/assets/required-auth-layout-DmEyED-o.js +0 -1
- package/dist/client/assets/reset-password-Cp_nLiLi.js +0 -1
- package/dist/client/assets/resizable-zRzPDJM0.js +0 -1
- package/dist/client/assets/resolve-tab-icon-XrYn5LuK.js +0 -1
- package/dist/client/assets/review-settings-DHSAoP1k.js +0 -1
- package/dist/client/assets/role-color-DVzABbHa.js +0 -1
- package/dist/client/assets/roles-B7pKl-QS.js +0 -1
- package/dist/client/assets/route-BChDSB4_.js +0 -1
- package/dist/client/assets/route-nMFReO1B.js +0 -1
- package/dist/client/assets/route-oRV_9YzF.js +0 -1
- package/dist/client/assets/route-page-header-DXblwPS1.js +0 -1
- package/dist/client/assets/sandbox-git-api-z3lgxnDh.js +0 -1
- package/dist/client/assets/sandbox-lifecycle-context-DXG6Bomw.js +0 -1
- package/dist/client/assets/save-status-zH9sfFJK.js +0 -1
- package/dist/client/assets/schema-B0fnhJuA.js +0 -1
- package/dist/client/assets/schema-C-iQKwVz.js +0 -1
- package/dist/client/assets/scroll-area-Dm0jhVU4.js +0 -1
- package/dist/client/assets/search-input-DPbHiMJC.js +0 -1
- package/dist/client/assets/search-toggle-BTwJc97H.js +0 -1
- package/dist/client/assets/secret-picker-B6OGx2mQ.js +0 -1
- package/dist/client/assets/secrets-Cf1UmVo2.js +0 -1
- package/dist/client/assets/section-array-field-Dfaksxcj.js +0 -1
- package/dist/client/assets/sections-UpitVoFq.js +0 -1
- package/dist/client/assets/sections-editor-DOTx2SrX.js +0 -1
- package/dist/client/assets/select-Us30SuzI.js +0 -1
- package/dist/client/assets/select-model-DvuOFAKE.js +0 -1
- package/dist/client/assets/seo-editor-D_wkdMi9.js +0 -1
- package/dist/client/assets/separator-Bdq1NG6k.js +0 -1
- package/dist/client/assets/session-runtime-BIDE-rQF.js +0 -1
- package/dist/client/assets/settings-tab-DHHNeg02.js +0 -1
- package/dist/client/assets/sheet-D8HVkLc6.js +0 -1
- package/dist/client/assets/shell-layout-CCvUDm4c.js +0 -1
- package/dist/client/assets/site-draft-actions-BLjlvxVb.js +0 -7
- package/dist/client/assets/site-draft-view-B6y_crr2.js +0 -1
- package/dist/client/assets/site-editor-BVtedbL2.js +0 -1
- package/dist/client/assets/site-editor-toast-B6psqL4S.js +0 -1
- package/dist/client/assets/skills-gf32nwAO.js +0 -1
- package/dist/client/assets/slider-oJh009BK.js +0 -1
- package/dist/client/assets/sortable.esm-DhKgeEID.js +0 -1
- package/dist/client/assets/sso-CRyh0I61.js +0 -1
- package/dist/client/assets/suggestion-HxkFbXWu.js +0 -2
- package/dist/client/assets/super-agent-icon-DhNy1L1t.js +0 -1
- package/dist/client/assets/switch-C8bVi-NX.js +0 -1
- package/dist/client/assets/synced-repos-M8yw1Jwe.js +0 -1
- package/dist/client/assets/tab-icon-glyph-BJdR1rTv.js +0 -1
- package/dist/client/assets/table-BOhYBEKO.js +0 -1
- package/dist/client/assets/tabs-Bfy1intI.js +0 -1
- package/dist/client/assets/task-board-CgO9M3z4.js +0 -1
- package/dist/client/assets/task-key-B2-Ue6HC.js +0 -5
- package/dist/client/assets/task-route-Ba3aez9x.js +0 -1
- package/dist/client/assets/task-status-CdYrOhRh.js +0 -1
- package/dist/client/assets/taskboard-analytics-loV9TaFT.js +0 -1
- package/dist/client/assets/tasks-Brq4Pp7A.js +0 -4
- package/dist/client/assets/tasks-Z7BLYet6.js +0 -1
- package/dist/client/assets/textarea-D93s_9gX.js +0 -1
- package/dist/client/assets/thread-analytics-BxXXEL8G.js +0 -1
- package/dist/client/assets/thread-button-DQmfTj65.js +0 -1
- package/dist/client/assets/thread-intent-CJjEXtuE.js +0 -15
- package/dist/client/assets/thread-route-Cpqj5B6r.js +0 -1
- package/dist/client/assets/thread-route-khw3rYS4.js +0 -1
- package/dist/client/assets/thread-sheet-body-DE8XX1TP.js +0 -1
- package/dist/client/assets/time-range-picker-w3lHNK8L.js +0 -1
- package/dist/client/assets/toggle-group-DpYPg3qc.js +0 -1
- package/dist/client/assets/tool-set-selector-CRZL7bC5.js +0 -1
- package/dist/client/assets/toolbar-icon-button-6BTsLHAb.js +0 -1
- package/dist/client/assets/tooltip-BZz0vywC.js +0 -1
- package/dist/client/assets/tooltipContext-CZ3OeUnD.js +0 -1
- package/dist/client/assets/track-CR6tDDcQ.js +0 -1
- package/dist/client/assets/types-C3qQbU3-.js +0 -77
- package/dist/client/assets/url-slug-DTf0xW9o.js +0 -1
- package/dist/client/assets/usage-stats-CLMr8vHI.js +0 -141
- package/dist/client/assets/use-ai-providers-COZOIITa.js +0 -1
- package/dist/client/assets/use-api-keys-B2DhKv5O.js +0 -1
- package/dist/client/assets/use-apply-named-rule-D22hDqIn.js +0 -1
- package/dist/client/assets/use-ask-in-chat-i9g8xTsQ.js +0 -1
- package/dist/client/assets/use-automations-y62q9wiV.js +0 -1
- package/dist/client/assets/use-autosave-D8b9idjo.js +0 -1
- package/dist/client/assets/use-blocks-v8-project-BzS0SD5J.js +0 -1
- package/dist/client/assets/use-blog-view-Bj96i8iq.js +0 -1
- package/dist/client/assets/use-chat-layout-state-CRsWJAkm.js +0 -1
- package/dist/client/assets/use-cms-publish-actions-Bws1dcKi.js +0 -10
- package/dist/client/assets/use-connect-companion-Cd1kyM3y.js +0 -1
- package/dist/client/assets/use-connection-vpR-lNEV.js +0 -1
- package/dist/client/assets/use-content-sync-SowupOFR.js +0 -1
- package/dist/client/assets/use-copy-9vSDNA2-.js +0 -1
- package/dist/client/assets/use-current-view-e2srGh0R.js +0 -1
- package/dist/client/assets/use-date-fns-locale-DVuctzWR.js +0 -1
- package/dist/client/assets/use-debounced-autosave-C31axPZ5.js +0 -1
- package/dist/client/assets/use-debounced-value-Cw8HgnQu.js +0 -1
- package/dist/client/assets/use-deco-credits-DPzf77AT.js +0 -1
- package/dist/client/assets/use-decopilot-events-Dp7emgSR.js +0 -1
- package/dist/client/assets/use-delete-block-Crpx8FjE.js +0 -1
- package/dist/client/assets/use-delete-connection-BQ9YqO-c.js +0 -1
- package/dist/client/assets/use-deployment-admin-By_xF0wv.js +0 -1
- package/dist/client/assets/use-entitlements-Bi51m-s-.js +0 -1
- package/dist/client/assets/use-fast-preview-draft-url-CRmeng0Q.js +0 -1
- package/dist/client/assets/use-file-configs-GoxRHe-r.js +0 -1
- package/dist/client/assets/use-id-selection-BQh1Bg7W.js +0 -1
- package/dist/client/assets/use-in-settings-CU_P2dfR.js +0 -1
- package/dist/client/assets/use-inbox-feed-bSGgas59.js +0 -1
- package/dist/client/assets/use-infinite-scroll-DfV_gkqU.js +0 -1
- package/dist/client/assets/use-join-requests-DI3-5eWl.js +0 -1
- package/dist/client/assets/use-main-panel-tabs-DTbCL9St.js +0 -1
- package/dist/client/assets/use-mcp-auth-status-C7HNLPrb.js +0 -1
- package/dist/client/assets/use-mcp-client-C_qG7wUZ.js +0 -10
- package/dist/client/assets/use-mcp-prompts-BVogmm65.js +0 -1
- package/dist/client/assets/use-mcp-tools-C6UyNv6N.js +0 -1
- package/dist/client/assets/use-mobile-BA8hUvQw.js +0 -1
- package/dist/client/assets/use-move-blocks-BuTBuPq7.js +0 -1
- package/dist/client/assets/use-navigate-to-agent-BlGlq6Si.js +0 -1
- package/dist/client/assets/use-never-published-iwVh38ki.js +0 -1
- package/dist/client/assets/use-org-fs-CvKheX_E.js +0 -1
- package/dist/client/assets/use-org-notice-5uXj9qdB.js +0 -1
- package/dist/client/assets/use-org-repo-syncs-De9jW4li.js +0 -1
- package/dist/client/assets/use-org-sso-aEsmoftk.js +0 -1
- package/dist/client/assets/use-organization-settings-DzL3Na4t.js +0 -1
- package/dist/client/assets/use-panel-navigate-RwlB8yz2.js +0 -1
- package/dist/client/assets/use-project-native-view-presence-LtOEv_bc.js +0 -1
- package/dist/client/assets/use-project-scope-CayH-uv6.js +0 -1
- package/dist/client/assets/use-recent-apps-DruGOBJK.js +0 -1
- package/dist/client/assets/use-reports-diagnostic-DmG6vfW3.js +0 -1
- package/dist/client/assets/use-sandbox-events-BC-9Qeez.js +0 -2
- package/dist/client/assets/use-secrets-Bx8YDUF-.js +0 -1
- package/dist/client/assets/use-section-preview-base-23Zb6ABj.js +0 -1
- package/dist/client/assets/use-sidebar-collapsed-BWfZDELa.js +0 -1
- package/dist/client/assets/use-tags-DQn-ihwP.js +0 -1
- package/dist/client/assets/use-task-board-analytics-4KchvJP_.js +0 -1
- package/dist/client/assets/use-task-board-item-prs-bjSiDC9b.js +0 -1
- package/dist/client/assets/use-task-board-items-BUgzBLKd.js +0 -1
- package/dist/client/assets/use-task-board-prompts-CScMHEY4.js +0 -1
- package/dist/client/assets/use-task-metadata-ml12mmZb.js +0 -1
- package/dist/client/assets/use-thread-outputs-DKNz-3Hm.js +0 -1
- package/dist/client/assets/use-view-draft-kind-6ZToH2lU.js +0 -1
- package/dist/client/assets/use-voice-input-FNIQ7Gtg.js +0 -1
- package/dist/client/assets/useInfiniteQuery-B7H5rw7X.js +0 -1
- package/dist/client/assets/useQueries-b1U_PciZ.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BAeDGxcg.js +0 -1
- package/dist/client/assets/users-CjER3r5S.js +0 -1
- package/dist/client/assets/utils-DxxrR_sy.js +0 -4
- package/dist/client/assets/variant-calendar-DYmrGYCj.js +0 -1
- package/dist/client/assets/variant-matcher-override-ksW5aMSA.js +0 -1
- package/dist/client/assets/view-header-COMgGMz-.js +0 -1
- package/dist/client/assets/virtual-mcp-DXFiFNeR.js +0 -1
- package/dist/client/assets/watch-sse-pool-DZnjbZdQ.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as L,b as V,r as N,j as r,m as q,B as Z,a_ as ee}from"./index-D1W7ut2I.js";import{a as te,d as re,r as se,p as ne}from"./session-runtime-BIDE-rQF.js";import{u as H,i as oe,d as le,j as ie,k as ce,m as ae}from"./chat-context-DElPd_KV.js";import{b as ue}from"./repository-binding-CGFnGVxJ.js";import{a as Q,b as Y,P as G}from"./popover-DbSdZVd4.js";import{d as de,b as fe,a as me,D as he}from"./drawer-Cc5GoGE_.js";import{T as pe,a as xe,c as ge}from"./tooltip-BZz0vywC.js";import{u as ve}from"./use-mobile-BA8hUvQw.js";import{g as ye,ab as be}from"./agent-icon-mHnKN98z.js";import{t as Se}from"./ChevronDown-NJEKYVpP.js";import{a as je}from"./UserCheck01-DkrJoTgc.js";import{t as Te}from"./Tool01-C5U5GfFn.js";import{d as Re}from"./use-organization-settings-DzL3Na4t.js";import{u as J,c as Me,d as ke}from"./use-ai-providers-COZOIITa.js";import{M as Ce,a as Ie}from"./index-BN4Io9gE.js";import{c as we,d as Ne,b as _e}from"./use-entitlements-Bi51m-s-.js";function mt(t){const e=L.c(14),o=ue(t),b=H(),s=o?.metadata,a=b?.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,S=!!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||S&&!!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:b,userSlot:s,autoSlot:a,filterModels:n,onPick:u,onReset:x,onClose:S}=t,l=V(),j=J(),g=new Set(j.map(Be)),f=oe([s,b,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]!==S||e[21]!==m||e[22]!==E||e[23]!==D?(I=r.jsx(z,{compact:A,filterModels:n,onClose:S,credentialId:c,onCredentialChange:m,selectedModel:E,onModelChange:D}),e[17]=z,e[18]=c,e[19]=n,e[20]=S,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:b,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,S]=N.useState(!1);let l;e[2]===Symbol.for("react.memo_cache_sentinel")?(l=R=>{R.onSelect(),S(!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 @[480px]/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","@[480px]/chat-bottom:max-w-24 @[480px]/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(Se,{size:12,className:"opacity-60 hidden @[480px]/chat-bottom:inline-block"}),e[7]=c):c=e[7];let k;e[8]!==b||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:[b,m,c]})})})}),e[8]=b,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:S,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:b}=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 S=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(je,{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]!==b?(y=n&&b(S),e[17]=n,e[18]=b,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]!==b?(c=n&&b(S),e[29]=n,e[30]=b,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(be,{size:16}):r.jsx(Te,{size:16})}function We(t){const e=L.c(13),o=ae();let b;e[0]!==t||e[1]!==o.tiers?(b=S=>{const l=o.tiers[S];return l?l.title??l.modelId:t.chat[S]?.title},e[0]=t,e[1]=o.tiers,e[2]=b):b=e[2];const s=b;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 ht(){const t=L.c(25),e=V(),{simpleModeTier:o,setSimpleModeTier:b}=le(),s=Re(),a=J(),n=ke(a),u=We(n),{data:x,error:S}=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]!==b||t[8]!==e||t[9]!==o||t[10]!==u||t[11]!==g||t[12]!==j||t[13]!==S){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:()=>b(d),modelOverride:c?z=>r.jsxs(r.Fragment,{children:[S&&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]=b,t[8]=e,t[9]=o,t[10]=u,t[11]=g,t[12]=j,t[13]=S,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 pt(){const t=L.c(12),[e,o]=N.useState("idle"),[b,s]=N.useState(""),[a,n]=N.useState(""),[u,x]=N.useState(Ge),S=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;S.current=I,I.interimResults=!0,I.continuous=!0,I.lang=navigator.language||"en-US",I.onresult=w=>{if(S.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=>{S.current===I&&w.error!=="no-speech"&&(i.current=!1,S.current=null,T(),o(w.error==="not-allowed"?"permission-denied":"idle"))},I.onend=()=>{if(S.current===I&&i.current)try{I.start()}catch{}};try{I.start()}catch{return i.current=!1,S.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,S.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,S.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]!==b||t[10]!==u?(A={status:e,transcript:b,interimTranscript:a,waveformData:u,isSupported:k,startRecording:R,stopRecording:C,cancelRecording:z},t[6]=a,t[7]=R,t[8]=e,t[9]=b,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{ht as T,pt as a,Pe as s,mt as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./infiniteQueryObserver-DOpE6BBu.js";import{e6 as i}from"./index-D1W7ut2I.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eg as Q,eh as y,ei as S,ej as w,e7 as C,q as k,ek as q,el as x,r as p,em as M,en as H,eo as L,ep as P,eq as O,er as B,es as A}from"./index-D1W7ut2I.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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./infiniteQueryObserver-DOpE6BBu.js";import{e6 as u,ee as n}from"./index-D1W7ut2I.js";function a(e,r){return u({...e,enabled:!0,suspense:!0,throwOnError:n},s,r)}export{a as u};
|
|
@@ -1 +0,0 @@
|
|
|
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-D1W7ut2I.js";import{C as X}from"./collection-table-wrapper-Cr2x7lMQ.js";import{E as D}from"./empty-state-OmCxeENw.js";import{S as Z}from"./search-input-DPbHiMJC.js";import{B as I}from"./badge-D43CW9ql.js";import{u as ee}from"./use-debounced-value-Cw8HgnQu.js";import{a as K}from"./admin-fetch-BhTJlAsX.js";import"./table-BOhYBEKO.js";import"./ArrowUp-CGwCu8lq.js";import"./SearchMd-ByGW18TK.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 +0,0 @@
|
|
|
1
|
-
import{as as W,at as E}from"./agent-icon-mHnKN98z.js";import{i as w}from"./File02-C4vk1-0W.js";import{a as j}from"./Image01-DLy5un7V.js";function I(e){if(!e||e.includes("\\")||e.includes("..")||e.includes("\0"))return!0;try{const t=decodeURIComponent(e);return!!(t.includes("\\")||t.includes("..")||t.includes("\0"))}catch{return!0}}function L(e){if(I(e))throw new Error(`Invalid block key: ${e||"(empty)"}`)}function C(e){try{return decodeURIComponent(e)}catch{return e}}function P(e){return L(e),encodeURIComponent(e)}function v(e){return`.deco/blocks/${P(e)}.json`}const z=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 D(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 _(e,t){const n=t.replace(/^\/+|\/+$/g,"");return h(n?`${e==="/"?"":e}/${n}`:e)}function M(e,t){return t==="directory"?e:$(e)}function S(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 H(e,t,n,r=!1){return{files:[...new Set([...e,...n.files])],directories:[...new Set([...t,...n.directories??[]])],truncated:r||!!n.truncated}}function q(e,t){return B(e)>=F&&!t.has(e)}function U(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 A(e){const t=x(e),n=".deco/blocks/";if(!t.startsWith(n)||!t.endsWith(".json"))return null;const r=t.slice(n.length,-5);return C(r)}function X(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:w,color:"#64748b"}:{Icon:w,color:T}}function V(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,k=s(l);let p=k.get(f);p||(p={name:f,path:m,kind:d?"file":"directory",children:[]},l.children.push(p),k.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 Q(e){const t=[];for(const n of e.split(`
|
|
2
|
-
`)){if(!n)continue;const r=n.indexOf(":");if(r<0)continue;const s=n.indexOf(":",r+1);if(s<0)continue;const o=Number.parseInt(n.slice(r+1,s),10);Number.isFinite(o)&&t.push({path:h(n.slice(0,r)),line:o,text:n.slice(s+1)})}return t}function Y(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 b=24;function Z(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>b,u=o?n.slice(s-b):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 tt(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 et(e){return e.split(`
|
|
3
|
-
`).map(t=>t.replace(/^\d+\t/,"")).join(`
|
|
4
|
-
`)}export{F as E,C as a,L as b,z as c,v as d,J as e,N as f,X as g,tt as h,D as i,M as j,h as k,K as l,$ as m,V as n,Z as o,q as p,_ as q,U as r,et as s,x as t,Y as u,S as v,Q as w,A as x,H as y};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as K,b as X,r as Z,j as r,m as ne,B as ee,av as ue}from"./index-D1W7ut2I.js";import{j as xe}from"./agent-icon-mHnKN98z.js";import{b as ge,n as le}from"./UserCheck01-DkrJoTgc.js";import{L as be}from"./label-CJFBh9Hz.js";import{S as ce}from"./scroll-area-Dm0jhVU4.js";import{S as ve}from"./switch-C8bVi-NX.js";import{T as ye,c as je,a as Te}from"./tooltip-BZz0vywC.js";import{a as se,T as Ne}from"./toggle-group-DpYPg3qc.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-B79T3vQg.js";import"./Tool01-C5U5GfFn.js";import"./ArrowUp-CGwCu8lq.js";import"./ArrowLeft-CFDBmtQn.js";import"./ArrowRight-_1mjBk8q.js";import"./BookOpen01-Cja5K-Zg.js";import"./Globe04-BXEQpgH7.js";import"./CheckCircle-BdP9IvPO.js";import"./ChevronDown-NJEKYVpP.js";import"./ChevronSelectorVertical-QA_eM8SF.js";import"./ChevronUp-CdlwQKca.js";import"./UserSquare-CzDpovKf.js";import"./LinkBroken01-Be5szqzO.js";import"./CreditCard01-u7S1Papb.js";import"./File02-C4vk1-0W.js";import"./MessageCircle01-CWoIju4P.js";import"./SwitchHorizontal01-DdMiH6v0.js";import"./Eye-_AXqkWO1.js";import"./Fingerprint04-bmDV_Zt8.js";import"./Image01-DLy5un7V.js";import"./Key01-CX9koaUb.js";import"./LayoutLeft-Cc8HE6Mh.js";import"./Minus-DJIrYTlh.js";import"./Monitor01-DO2zUSLy.js";import"./Sun-CFnDb3Gg.js";import"./Play-Upgk6Vwe.js";import"./Plus-C6PPIhQG.js";import"./SearchMd-ByGW18TK.js";import"./ShoppingBag01-CoDrN_Bf.js";import"./Trash01-D3BXHl0z.js";import"./Upload01-CmSjLpWk.js";import"./Users01-CsPiPLgE.js";import"./XClose-VFawdZTC.js";import"./Zap-Dg95CWCj.js";import"./index-BdQq_4o_.js";import"./index-DXzlWhjJ.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,i=o?new Date(n):Ae;return Number.isNaN(a.getTime())||Number.isNaN(i.getTime())||s&&o&&i.getTime()<=a.getTime()?null:{start:a,end:i,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 i=e.__resolveType;if(typeof i=="string"){const l=(i.split("/").pop()??i).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}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,i=t.__resolveType,c=Le.test(i)?"":Ie(s);a.forEach((l,d)=>{if(!l||typeof l!="object")return;const m=l,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:i})});for(let l=0;l<a.length;l++){const d=a[l];d&&typeof d=="object"&&Q(d.value,e,n,[...s,"variants",l,"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,i]of Object.entries(t))a!=="__resolveType"&&Q(i,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 i;e[4]!==n.blockLabel||e[5]!==n.innerPath||e[6]!==n.label?(i=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]=i):i=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 l;e[11]!==c?(l=r.jsx("div",{className:"mt-1",children:c}),e[11]=c,e[12]=l):l=e[12];let d;return e[13]!==o||e[14]!==a||e[15]!==i||e[16]!==l?(d=r.jsx(Te,{children:r.jsxs("div",{className:"text-xs",children:[o,a,i,l]})}),e[13]=o,e[14]=a,e[15]=i,e[16]=l,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:i,fadeEnd:c}=t,l=i===void 0?!1:i,d=c===void 0?!1:c;let m;e[0]!==d||e[1]!==l?(m=ze(l,d),e[0]=d,e[1]=l,e[2]=m):m=e[2];const u=m;let p;e[3]!==l?(p=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},e[3]=l,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 Qt(t){const e=K.c(71),{decofile:n}=t,s=X(),[o,a]=Z.useState("calendar"),[i,c]=Z.useState(Ye),[l,d]=Z.useState(!1);let m,u,p;if(e[0]!==n||e[1]!==l){const M=Ve(n);m=M.filter(Ke).length,p=l?M:M.filter(Ue),u=He(p.map(Ge)),e[0]=n,e[1]=l,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(ge,{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[i.getMonth()];let A;e[26]!==i?(A=i.getFullYear(),e[26]=i,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]!==l||e[38]!==s?(D=m>0&&r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx(ve,{id:"show-ongoing",checked:l,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]=l,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(le,{}),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(xe,{}),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]!==i||e[63]!==m||e[64]!==l||e[65]!==p||e[66]!==o?(G=p.length===0?r.jsx(qe,{hiddenOngoing:l?0:m}):o==="calendar"?r.jsx(Qe,{monthStart:i,variants:p,colorMap:g}):r.jsx(tt,{monthStart:i,variants:p,colorMap:g}),e[61]=g,e[62]=i,e[63]=m,e[64]=l,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(le,{size:24,className:"text-muted-foreground/60"}),e[0]=a):a=e[0];let i;return e[1]!==s||e[2]!==o?(i=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]=i):i=e[3],i}const te=20,oe=2,ie=28,Je=6;function Qe(t){const e=K.c(17),{monthStart:n,variants:s,colorMap:o}=t;let a,i,c,l,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",i="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],l=p.map((h,x)=>{const b=Ee(h,s),S=b.reduce(Xe,0),T=ie+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=ie+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]=i,e[5]=c,e[6]=l,e[7]=d}else a=e[3],i=e[4],c=e[5],l=e[6],d=e[7];let m;e[9]!==i||e[10]!==c||e[11]!==l?(m=r.jsxs("div",{className:i,children:[c,l]}),e[9]=i,e[10]=c,e[11]=l,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,i=U(n,J),c=new Date,l=new Map;for(const E of s){const j=l.get(E.blockKey)??[];j.push(E),l.set(E.blockKey,j)}const d=Array.from(l.entries()).sort(rt),m=i.getTime()-a.getTime(),u=E=>(Math.max(a.getTime(),Math.min(i.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()<=i.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(),i.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{Qt as VariantCalendar};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{o as $,m as f}from"./section-array-field-Dfaksxcj.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 +0,0 @@
|
|
|
1
|
-
import{c as x,j as a,B as p}from"./index-D1W7ut2I.js";import{i as h}from"./ArrowLeft-CFDBmtQn.js";const b="p-4";function k(m){const e=x.c(14),{intro:d,back:t,actions:n}=m;let r;e[0]!==n?(r=n?a.jsx("div",{className:"flex shrink-0 items-center gap-2","data-slot":"view-actions",children:n}):null,e[0]=n,e[1]=r):r=e[1];const s=r;if(t){let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsx(h,{size:16}),e[2]=o):o=e[2];let l;e[3]!==t.label||e[4]!==t.onClick?(l=a.jsxs(p,{variant:"ghost",size:"sm",onClick:t.onClick,children:[o,t.label]}),e[3]=t.label,e[4]=t.onClick,e[5]=l):l=e[5];let f;return e[6]!==s||e[7]!==l?(f=a.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between gap-2 border-b px-4","data-testid":"site-draft-view-header",children:[l,s]}),e[6]=s,e[7]=l,e[8]=f):f=e[8],f}let i;e[9]!==d?(i=a.jsx("p",{className:"min-w-0 flex-1 text-sm text-muted-foreground",children:d}),e[9]=d,e[10]=i):i=e[10];let c;return e[11]!==s||e[12]!==i?(c=a.jsxs("div",{className:"flex shrink-0 flex-wrap items-center justify-between gap-x-4 gap-y-2 px-4 pt-4","data-testid":"site-draft-view-header",children:[i,s]}),e[11]=s,e[12]=i,e[13]=c):c=e[13],c}export{b as S,k as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{U as A}from"./url-slug-DTf0xW9o.js";import{T as I}from"./session-runtime-BIDE-rQF.js";import{aJ as a,bF as t,aK as e,bn as r,ct as o,cs as s,dH as d,dD as p,eQ as k,dJ as R,dB as w}from"./index-D1W7ut2I.js";const v=a({connection_id:e().describe("Connection ID"),selected_tools:t(e()).nullable().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:t(e()).nullable().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:t(e()).nullable().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),h=500,y=200,_=200,E=20,U=50,P=100,T=20,C=100,N=300,V=100,O=8192,S=v.extend({selected_tools:t(e()).max(h).nullable().optional().describe("Selected tool names. null = all tools included, array = only these tools included"),selected_resources:t(e()).max(h).nullable().optional().describe("Selected resource URIs or patterns. Supports * and ** wildcards for pattern matching. null = all resources included, array = only these resources included"),selected_prompts:t(e()).max(h).nullable().optional().describe("Selected prompt names. null = all prompts included, array = only these prompts included")}),D=a({connectionId:e(),toolName:e(),label:e(),icon:e().nullable().optional()}),L=a({id:e().describe("Stable id; used as React key and ?tab= value"),title:e().describe("Tab label"),icon:e().optional().describe("Optional lucide icon name"),view:a({type:d("ext-app"),appId:e(),args:p(e(),w()).optional()})}),l=s(["overview","context","monitor","plan","reports","board","site-editor","calendar","experiments","blog","assets","releases","hosting","e2e","analytics","cdn","automations"]),pe=s(["on","off"]),B=new Map([["manual","on"],["auto","on"]]),X=s(["on","off","manual","auto"]);function F(n){if(!n)return null;const i=B.get(n);return i||(n==="on"||n==="off"?n:null)}const j=a({defaultMainView:a({type:e(),id:e().optional(),toolName:e().optional()}).nullable().optional(),chatDefaultOpen:o().nullable().optional(),cmsDefaultOpen:o().nullable().optional(),cms:X.nullable().optional().describe("How this agent offers content editing. Absent means on; the retired `manual` / `auto` read as on too."),sidebarViews:t(l).max(l.options.length).nullable().optional().describe("Deprecated layout-scoped sidebar selections. Read only as a fallback when metadata.sidebarViews is absent."),tabs:t(L).max(T).optional()});function 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(),w()).optional().describe("User-configured input props passed to MCPAppRenderer when rendering the tile."),minHeight:r().int().positive().optional(),maxHeight:r().int().positive().optional()}),H=a({banner:e().nullable().optional(),bannerColor:e().nullable().optional(),icon:e().nullable().optional(),themeColor:e().nullable().optional(),pinnedViews:t(D).max(P).nullable().optional(),layout:j.nullable().optional(),homeTile:f.nullable().optional(),homeTiles:t(f).max(E).nullable().optional(),homePrompts:t(e()).max(U).nullable().optional()}),z=/^[A-Za-z_][A-Za-z0-9_]*$/,g=e().min(1).regex(z,{message:"Env var key must start with a letter or underscore and contain only letters, digits, and underscores."}),K=R("kind",[a({key:g,kind:d("literal"),value:e().max(O)}),a({key:g,kind:d("secret"),secretId:e().min(1)})]),q=2,G=a({path:e().trim().min(1).max(256).describe("Path (relative to repo root) to the app's package.json directory.")}),W=a({selected:e().nullable().optional().describe("User-selected package manager (npm | pnpm | yarn | bun | deno). Null/absent means autodetect on next SANDBOX_START."),port:e().nullable().optional().describe("User-selected dev server port as a string (allows '' / null for unset). Null/absent means autodetect."),path:e().nullable().optional().describe("Optional path (relative to repo root) to the directory containing package.json. Null/absent means repo root. Forwarded as `application.packageManager.path` to the daemon config."),apps:t(G).max(q).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(K).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.")}),J=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.")}),Y=s(["agent-sandbox","local-api"]),Z={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(Z);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 Q=p(e().describe("userId"),p(e().describe("branch"),k(Y,x))),$=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($).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:J.nullable().optional().describe("Linked repository"),runtime:W.nullable().optional().describe("User-pinned runtime config (package manager, dev port). Empty fields = autodetect."),knowledge:ee,siteSlug:e().nullable().optional().describe("The project's site id (asset tenancy, CDN paths, site tokens). Set once when the site is created or imported; any write that would change it is refused."),assetStorageConfigId:e().trim().min(1).nullable().optional().describe("Organization file configuration used for this project’s assets. null/absent uses automatic site matching."),publishPolicy:ae,previewServerUrl:oe,productionUrl:e().nullable().optional().describe("Legacy key for previewServerUrl — still read as a fallback. New writes use previewServerUrl."),fieldDescriptionTooltips:o().nullable().optional().describe("Blocks form: opt in to showing a field's schema description as a hover tooltip on its title, instead of the default inline text below the title."),legacyBlogPostFormat:o().nullable().optional().describe("Blog: edit a post's body as one HTML document in `post.content` (the format sites built before `sections` read), instead of blocks in `post.sections`."),fastPreview:ne,releases:le,fastPreviewInPlace:ie},me=a({id:e().describe("Unique identifier"),title:e().describe("Human-readable name"),url_slug:e().nullable().optional().describe("Name of the project in Studio URLs, unique in the organization"),description:e().nullable().describe("Description"),icon:e().nullable().describe("Icon URL"),created_at:e().describe("Creation timestamp"),updated_at:e().describe("Last update timestamp"),created_by:e().describe("User ID who created this item"),updated_by:e().optional().describe("User ID who last updated this item"),organization_id:e().describe("Organization ID this item belongs to"),status:s(["active","inactive"]).describe("Current status"),pinned:o().describe("Whether this space is pinned to the sidebar"),metadata:a(m).extend({instructions:e().nullable().describe("Instructions also used as system prompt"),sandboxMap:Q.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,q as R,me as V,N as a,he as p,be as r,ue as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{bF as C,aK as T,aJ as S}from"./index-D1W7ut2I.js";import{T as w,a as O,b as L,c as N,d as P}from"./task-board-CgO9M3z4.js";import{e as H}from"./backoff-CrEUbyZT.js";const h={STEP:"decopilot.step",FINISH:"decopilot.finish",THREAD_STATUS:"decopilot.thread.status"},V=Object.values(h),y="notification.created",j=60,$=100,x=2e3,u=C(T().min(1)).max(x),Y=S({id:T().min(1).max(64),name:T().trim().min(1).max(j),projectIds:u}),K=C(Y).max($),J=S({pinned:u,hidden:u,dismissed:u,hiddenFolders:u}),te={pinned:[],hidden:[],dismissed:[],hiddenFolders:[]};S({folders:K,preferences:J,joinedAt:T().nullable()});const M="project-folders.updated",v="order-monitor.store.evaluated",se=["orders_drop","denied_spike","cancel_spike"],I="alerts.updated",X=3e4,q=1e3;function U(c){const{buildUrl:f,eventTypes:p,name:d,crossTab:_=!1}=c,i=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 D(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&&B(e)};const s=a=>{e.channel?.postMessage({kind:"event",type:a.type,data:a.data}),E(e,a)};for(const a of p)t.addEventListener(a,s)}function B(e){if(e.refCount<=0||e.reconnectTimer)return;const t=H(X,q,e.reconnectAttempt,2,.5);e.reconnectAttempt++,e.reconnectTimer=setTimeout(()=>{e.reconnectTimer=null,!(e.refCount<=0||!e.isLeader)&&(e.es?.close(),D(e))},t)}function m(e){if(e.refCount<=0){e.releaseLeadership?.(),e.releaseLeadership=null;return}e.isLeader=!0,D(e)}function W(e){if(!l){m(e);return}e.lockAbort=new AbortController,navigator.locks.request(`sse-leader:${d}:${e.key}`,{signal:e.lockAbort.signal},()=>new Promise(t=>{e.releaseLeadership=t,m(e)})).catch(()=>{})}function g(e,t){t.kind==="event"?E(e,new MessageEvent(t.type,{data:t.data})):t.kind==="reconnect"&&A(e)}function F(e){const t=i.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(i.set(e,s),l){const a=new BroadcastChannel(`sse:${d}:${e}`);a.onmessage=r=>g(s,r.data),s.channel=a}return s}function b(e){e.reconnectTimer&&(clearTimeout(e.reconnectTimer),e.reconnectTimer=null),e.es?.close(),e.es=null,e.releaseLeadership?.(),e.releaseLeadership=null,e.lockAbort?.abort(),e.lockAbort=null,e.channel?.close(),e.channel=null,i.delete(e.key)}return{dispose(){for(const e of[...i.values()])b(e)},subscribe(e,t,s){const a=!i.has(e),r=F(e);r.refCount++,r.handlers.add(t),s&&r.reconnectHandlers.add(s),a&&W(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 n(c,f){const p=new Set(f);return{dispose:()=>c.dispose(),subscribe(d,_,i){const l=E=>{p.has(E.type)&&_(E)};return c.subscribe(d,l,i)}}}const k=[...V,w,O,L,N,P,y,M,v,I],z=k,G=k,o=U({name:"watch",buildUrl:c=>`/api/${encodeURIComponent(c)}/watch?types=${z.join(",")}`,eventTypes:G,crossTab:!0}),re=n(o,[...V]),ae=n(o,[w,O]),ne=n(o,[L]),oe=n(o,[N]),ce=n(o,[P]),ie=n(o,[y]),de=n(o,[M]),le=n(o,[v]),Ee=n(o,[I]),ue=U({buildUrl:c=>`/api/${encodeURIComponent(c)}/watch?scope=all&types=${h.THREAD_STATUS}`,eventTypes:[h.THREAD_STATUS]});export{h as D,te as E,se as O,j as P,ce as a,oe as b,ne as c,re as d,ue as e,Ee as f,ie as n,le as o,de as p,ae as t};
|