decocms 4.309.3 → 4.309.5
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-DHh1PfjG.js → AlertCircle-CDf-1fgB.js} +1 -1
- package/dist/client/assets/{AreaChart-B-TQnetO.js → AreaChart-TLg-i3WX.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CIx-iUY8.js → ArrowLeft-D4-rSSOO.js} +1 -1
- package/dist/client/assets/{ArrowUp-D8eBlYFE.js → ArrowUp-CQCcsSr2.js} +1 -1
- package/dist/client/assets/{Check-wBaW66G-.js → Check-7ocjoIXN.js} +1 -1
- package/dist/client/assets/{CheckCircle-IsvkJ4bm.js → CheckCircle-DphAGsbS.js} +1 -1
- package/dist/client/assets/{ChevronDown-BgL_uS0k.js → ChevronDown-BR9TODzF.js} +1 -1
- package/dist/client/assets/{ChevronRight-BlkCcJKu.js → ChevronRight-9VLaoIJr.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-CNJYSndt.js → ChevronSelectorVertical-Bn9j0Ema.js} +1 -1
- package/dist/client/assets/{ChevronUp-CH3Gpcfa.js → ChevronUp-C3SQKJxr.js} +1 -1
- package/dist/client/assets/{Copy01-rA4Dpk36.js → Copy01-CA6VVU-a.js} +1 -1
- package/dist/client/assets/{CreditCard01-D_VUaJaW.js → CreditCard01-CPKDwF7m.js} +1 -1
- package/dist/client/assets/{DotsVertical-PJAwR6yV.js → DotsVertical-OqyOwIiN.js} +1 -1
- package/dist/client/assets/{Download01-Dq_Unryt.js → Download01-B_J9t-g9.js} +1 -1
- package/dist/client/assets/{Eye-BtvpunKY.js → Eye-Be1AmDrH.js} +1 -1
- package/dist/client/assets/{FilterLines-D1RVdliT.js → FilterLines-Co9RKuys.js} +1 -1
- package/dist/client/assets/{GitBranch01-Gl4XOf-O.js → GitBranch01-DQ70huzz.js} +1 -1
- package/dist/client/assets/{Globe01-TkTVNTBx.js → Globe01-DHImgLhK.js} +1 -1
- package/dist/client/assets/{Globe04-0hM_DQ8g.js → Globe04-Cw5MzUDE.js} +1 -1
- package/dist/client/assets/{HardDrive-O56FWvWN.js → HardDrive-d5KIOGxl.js} +1 -1
- package/dist/client/assets/{Image01-CagTyvEA.js → Image01-DoxqZuao.js} +1 -1
- package/dist/client/assets/{Key01-UDx6YjlZ.js → Key01-CC4iAOyg.js} +1 -1
- package/dist/client/assets/{LinkExternal01-iKTo0TYB.js → LinkExternal01-DBRDc7ru.js} +1 -1
- package/dist/client/assets/{LockUnlocked01-C8h1olc3.js → LockUnlocked01-Y8Ajlv9q.js} +1 -1
- package/dist/client/assets/{LogOut01-C0_NcZm2.js → LogOut01-BU2nkldQ.js} +1 -1
- package/dist/client/assets/{Monitor01-Im6C3EOU.js → Monitor01-DVDq_AN5.js} +1 -1
- package/dist/client/assets/{Package-BiqlaFT1.js → Package-DFkIznzL.js} +1 -1
- package/dist/client/assets/{Palette-DkAHxVri.js → Palette-Cs8ejiSg.js} +1 -1
- package/dist/client/assets/{Play-D8uG1obb.js → Play-CNiUPYEL.js} +1 -1
- package/dist/client/assets/{Plus-D5klvHCU.js → Plus-DTvlgSaM.js} +1 -1
- package/dist/client/assets/{SearchLg-JbtaWgUZ.js → SearchLg-COOYlmn-.js} +1 -1
- package/dist/client/assets/{SearchMd-DjyJfMpl.js → SearchMd-BATwmNWi.js} +1 -1
- package/dist/client/assets/{Settings02-BJy9P2Ps.js → Settings02-B7XpEMT7.js} +1 -1
- package/dist/client/assets/{Share07-DJSE5SFv.js → Share07-C3HLtC_Q.js} +1 -1
- package/dist/client/assets/{Shield01-takhSBBv.js → Shield01-D69Bdv4o.js} +1 -1
- package/dist/client/assets/{Stars01-BBJe-YJ4.js → Stars01-DYFaDQqN.js} +1 -1
- package/dist/client/assets/{Stars02-B_QqeAkn.js → Stars02-vre0PXyQ.js} +1 -1
- package/dist/client/assets/{Sun-BIlGaePu.js → Sun-uoz2pAN5.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-C3_vFYWS.js → SwitchHorizontal01-P_l789rh.js} +1 -1
- package/dist/client/assets/{Tool01-Dq3mWzGY.js → Tool01-NuHET0TB.js} +1 -1
- package/dist/client/assets/{Tool02-BCNi_5kK.js → Tool02-BxEFJxsp.js} +1 -1
- package/dist/client/assets/{Trash01-B00Q74ug.js → Trash01-D1rpDCu6.js} +1 -1
- package/dist/client/assets/{TrendUp01-NXHcc4HH.js → TrendUp01-CgzeEf72.js} +1 -1
- package/dist/client/assets/{Upload01-DvesXgzF.js → Upload01-Dmez9BI0.js} +1 -1
- package/dist/client/assets/{User01-B8N9S7_u.js → User01-B0HqnS6D.js} +1 -1
- package/dist/client/assets/{UserSquare-BnqWtXra.js → UserSquare-DZILSTAV.js} +1 -1
- package/dist/client/assets/{Users01-j7p_t3Gy.js → Users01-CxE4vnGm.js} +1 -1
- package/dist/client/assets/{Users03-CrKzevO2.js → Users03-BBaGsBw5.js} +1 -1
- package/dist/client/assets/{XCircle-BHxSAU3k.js → XCircle-Dmf1pYcj.js} +1 -1
- package/dist/client/assets/{XClose-w0cYZrF9.js → XClose-wKxrNwWi.js} +1 -1
- package/dist/client/assets/{YAxis-D6KgfLbY.js → YAxis-DPJItDgf.js} +1 -1
- package/dist/client/assets/{Zap-Bht2IlJK.js → Zap-abXMz_mv.js} +1 -1
- package/dist/client/assets/{ZapSquare-BwQELxKq.js → ZapSquare-C2dmow5g.js} +1 -1
- package/dist/client/assets/{ZoomOut-DdBGhheB.js → ZoomOut-D7VGlEjF.js} +1 -1
- package/dist/client/assets/{access-gate-BfcBgt43.js → access-gate-D2S9OM3c.js} +1 -1
- package/dist/client/assets/{agent-icon-BM_KwXAG.js → agent-icon-CC9Z06rN.js} +1 -1
- package/dist/client/assets/{agents-list-5BLQUXiA.js → agents-list-BVZvc8FM.js} +1 -1
- package/dist/client/assets/{ai-providers-CpASU3YI.js → ai-providers-C9-km9J6.js} +1 -1
- package/dist/client/assets/{alert-A3K1CLvR.js → alert-Cst6ezjG.js} +1 -1
- package/dist/client/assets/{alert-dialog-ClFGnSbS.js → alert-dialog-LpLRVXym.js} +1 -1
- package/dist/client/assets/{api-keys-Coad-Yp1.js → api-keys-D317UlzY.js} +1 -1
- package/dist/client/assets/{app-editor-Ikptz3sX.js → app-editor-nSzUySwl.js} +1 -1
- package/dist/client/assets/{auth-BgIsu1_r.js → auth-CQnVkfUx.js} +1 -1
- package/dist/client/assets/{auth-catchall-CVgTyUS1.js → auth-catchall-D0yT-lCy.js} +1 -1
- package/dist/client/assets/{auth-entry-BJyPrfC7.js → auth-entry-DWTITcmy.js} +1 -1
- package/dist/client/assets/{auth-split-layout-Bb-G5hU2.js → auth-split-layout-CZ0FSJXF.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-DHyo0WS-.js → authenticate-and-persist-oauth-o-iFa_kH.js} +1 -1
- package/dist/client/assets/{automation-list-row-D9F76HD3.js → automation-list-row-D2XiQ0CR.js} +1 -1
- package/dist/client/assets/{automation-runs-CS9qihpW.js → automation-runs-BMT6RTQr.js} +1 -1
- package/dist/client/assets/{automations-D7JPCpli.js → automations-CUKppFZR.js} +1 -1
- package/dist/client/assets/{avatar-CqApqQ82.js → avatar-7UTfZX29.js} +1 -1
- package/dist/client/assets/{badge-SPHUmAm8.js → badge-CZwiP8Mh.js} +1 -1
- package/dist/client/assets/{block-document-JYNShNP_.js → block-document-DbHkM1TB.js} +1 -1
- package/dist/client/assets/{breadcrumb-DcWvihG3.js → breadcrumb-DzAjweTo.js} +1 -1
- package/dist/client/assets/{buckets-BJTjS9bw.js → buckets-DCtCUV8P.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-CNaOxppS.js → bulk-category-panel-CYWkK3zY.js} +1 -1
- package/dist/client/assets/{capability-load-error-Cn9thnjX.js → capability-load-error-CGXxiRab.js} +1 -1
- package/dist/client/assets/{cards-CQvmEd1A.js → cards-DZBwSuFg.js} +1 -1
- package/dist/client/assets/{category-editor-TDn0GCtR.js → category-editor-DM8JlMMU.js} +1 -1
- package/dist/client/assets/{chart-B-9nfVkT.js → chart-CX1a6FwH.js} +1 -1
- package/dist/client/assets/{chat-context-DtBrJHtH.js → chat-context-BNgPtjiy.js} +1 -1
- package/dist/client/assets/{checkbox-DOE7YchQ.js → checkbox-DHNi9TwB.js} +1 -1
- package/dist/client/assets/{choose-editor-Bc-So136.js → choose-editor-CsPYTJY7.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DnYF8i71.js → cli-auth-success-4MfPwO1L.js} +1 -1
- package/dist/client/assets/{collection-detail-BB5Bfahx.js → collection-detail-BGI4M6nw.js} +1 -1
- package/dist/client/assets/{collection-display-button-YZZg-EtC.js → collection-display-button-BPmR2kYW.js} +1 -1
- package/dist/client/assets/{collection-search-DhQXOJ9h.js → collection-search-Cui6cogE.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-h0h2OYzF.js → collection-table-wrapper--On0bVKc.js} +1 -1
- package/dist/client/assets/{collection-tabs-uw6aJbMR.js → collection-tabs-BdjT08Pp.js} +1 -1
- package/dist/client/assets/{command-imFFxkWB.js → command-BBzO5i9f.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-Cs8uOt_x.js → commerce-onboarding-DKkk70Td.js} +1 -1
- package/dist/client/assets/{config-B1OTMfz_.js → config-CcCsXfrl.js} +1 -1
- package/dist/client/assets/{connect-D-cwxvKT.js → connect-Bt2TdBpw.js} +1 -1
- package/dist/client/assets/{connection-BD3dwV34.js → connection-BoyFskWZ.js} +1 -1
- package/dist/client/assets/{connection-card-CyaD8Y8R.js → connection-card-CmNObnd0.js} +1 -1
- package/dist/client/assets/connection-detail-BpXyrTuw.js +1 -0
- package/dist/client/assets/{connection-form-helpers-BNk8NgtD.js → connection-form-helpers-DdL2pxwl.js} +1 -1
- package/dist/client/assets/{connections-QfItfV0p.js → connections-4uQoXIUc.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DjmIqnOP.js → decopilot-sse-pool-CMzBQzG6.js} +1 -1
- package/dist/client/assets/{dialog-CuFyb00o.js → dialog-T-Mu83_j.js} +1 -1
- package/dist/client/assets/{domain-settings-D-7xInwU.js → domain-settings-CCeUDvbv.js} +1 -1
- package/dist/client/assets/{drawer-B55srsns.js → drawer-CC9EmOKr.js} +1 -1
- package/dist/client/assets/{dropdown-menu-Bc2xCCCn.js → dropdown-menu-CzEOfCNw.js} +1 -1
- package/dist/client/assets/{editor-DOzsQM6_.js → editor-C5VF4tAp.js} +1 -1
- package/dist/client/assets/{empty-state-DupgNgIZ.js → empty-state-B5FRHhEP.js} +1 -1
- package/dist/client/assets/{extract-connection-data-M-kxONh2.js → extract-connection-data-CEOmOrIN.js} +1 -1
- package/dist/client/assets/{file-explorer-CRnJiL4C.js → file-explorer-Ca958Jp4.js} +1 -1
- package/dist/client/assets/{file-type-icon-Ct79HPTc.js → file-type-icon-DkwHQ_Eh.js} +1 -1
- package/dist/client/assets/{folder-icon-DIUadLc3.js → folder-icon-4LVZL-xj.js} +1 -1
- package/dist/client/assets/{form-aFuRXTmr.js → form-CKHTMWs_.js} +1 -1
- package/dist/client/assets/{general-CvL0EyVS.js → general-VPSFci2V.js} +1 -1
- package/dist/client/assets/{github-repo-picker-r8LvfODU.js → github-repo-picker-CxxRKD0_.js} +1 -1
- package/dist/client/assets/{hooks-wtXM5FHT.js → hooks-8AhZo6f9.js} +1 -1
- package/dist/client/assets/{index-CRLBtg3d.js → index-BK2IH5lq.js} +1 -1
- package/dist/client/assets/{index-TkyVcUUR.js → index-BN_X2A_d.js} +1 -1
- package/dist/client/assets/{index-BoOh4esQ.js → index-CJfEPO6H.js} +1 -1
- package/dist/client/assets/{index-C6JeKvEX.js → index-CQc-SVqm.js} +1 -1
- package/dist/client/assets/{index-Badkm65z.js → index-Cb_yn1Od.js} +1 -1
- package/dist/client/assets/{index-YGc6gMVZ.js → index-Csu7Z8VS.js} +1 -1
- package/dist/client/assets/{index-BPcqhwgX.js → index-DDLPdXPD.js} +1 -1
- package/dist/client/assets/{index-CqYwCEJB.js → index-DciLlmwa.js} +6 -6
- package/dist/client/assets/{index-BksYgRWT.js → index-Dj-X1D5T.js} +6 -6
- package/dist/client/assets/{index-redirect-DlNB7OB4.js → index-redirect-Dy2vR4mC.js} +1 -1
- package/dist/client/assets/{infra-billing-CO46k-hC.js → infra-billing-BSx4IY_h.js} +1 -1
- package/dist/client/assets/{input-OX6HIlPh.js → input-DWRx0ZaP.js} +1 -1
- package/dist/client/assets/{integration-icon-B45IavMk.js → integration-icon-N_ohk-RU.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-DUO4GE2S.js → invite-member-dialog-G71lcmzr.js} +1 -1
- package/dist/client/assets/{label-C-y8YfKM.js → label-BtZvKfUj.js} +1 -1
- package/dist/client/assets/{layout-C9E8MIPl.js → layout-Sxsn1C8F.js} +1 -1
- package/dist/client/assets/{login-BsC0fcTs.js → login-DbxvOAjl.js} +1 -1
- package/dist/client/assets/{markdown-DR-Dd2P4.js → markdown-C51ISfH6.js} +1 -1
- package/dist/client/assets/{mcp-oauth-BYjNrGhH.js → mcp-oauth-COIn0o4T.js} +1 -1
- package/dist/client/assets/{members-ZCjPENmp.js → members-Bd6RgNpp.js} +1 -1
- package/dist/client/assets/{monaco-editor-CccIDhBb.js → monaco-editor-BqC_sy_Z.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DPlylYw8.js → monitoring-stats-row-Dtw8IQ5i.js} +1 -1
- package/dist/client/assets/{multi-select-CnONER0R.js → multi-select-C3-ssJvE.js} +1 -1
- package/dist/client/assets/{oauth-callback-DG7a0Ds1.js → oauth-callback-CpS4Je5K.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BMxdaCD6.js → oauth-callback-ai-provider-B4kIYL7H.js} +1 -1
- package/dist/client/assets/{onboarding-BRwDixp2.js → onboarding-DzETgzsC.js} +1 -1
- package/dist/client/assets/{org-layout-CwyRNglV.js → org-layout-D3Rt7saK.js} +1 -1
- package/dist/client/assets/{organization-choice-CH5_ibJ8.js → organization-choice-Ha4u5ACR.js} +1 -1
- package/dist/client/assets/{orgs-CUeUBKZH.js → orgs-CMt9i0c1.js} +1 -1
- package/dist/client/assets/{page-seo-form-jTU8Qt8Z.js → page-seo-form-DIT5E8vQ.js} +1 -1
- package/dist/client/assets/{popover-CijbqDWJ.js → popover-CQgQYm0L.js} +1 -1
- package/dist/client/assets/{post-calendar-CsHz5OQ6.js → post-calendar-o91J2Hmz.js} +1 -1
- package/dist/client/assets/{post-editor-HDNWiRZ8.js → post-editor-jq6Tcart.js} +1 -1
- package/dist/client/assets/{primitives-CiU-hK8h.js → primitives-BiY1_lwr.js} +1 -1
- package/dist/client/assets/{profile-Bz5UHnnw.js → profile-6rw3Ne8p.js} +1 -1
- package/dist/client/assets/{project-app-view-BBwC_0zD.js → project-app-view-BSY9zNCK.js} +1 -1
- package/dist/client/assets/{prompts-Buo9nlRd.js → prompts-D5rjNNd8.js} +1 -1
- package/dist/client/assets/record-editor-B9kvY5dL.js +1 -0
- package/dist/client/assets/{redirect-editor-mmfzKodo.js → redirect-editor-CuYOlyKf.js} +1 -1
- package/dist/client/assets/registry-BNbCmsdk.js +2 -0
- package/dist/client/assets/{registry-layout-BfQIr26T.js → registry-layout-DaufUNP_.js} +1 -1
- package/dist/client/assets/{reports-Ci7FOUWs.js → reports-BxLLra3c.js} +1 -1
- package/dist/client/assets/{require-capability-CSKYYmMe.js → require-capability-CxO_iVfG.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CurkztN4.js → required-auth-layout-Dn7mOGYZ.js} +1 -1
- package/dist/client/assets/{reset-password-CTA4xur6.js → reset-password-Cc2bAv7r.js} +1 -1
- package/dist/client/assets/{review-settings-BSmwSVuN.js → review-settings-C2T9zrlI.js} +1 -1
- package/dist/client/assets/{roles-Ck1ssVmX.js → roles-8ZdDEjWD.js} +1 -1
- package/dist/client/assets/{scroll-area-DBxrHjA2.js → scroll-area-BRzQDw0p.js} +1 -1
- package/dist/client/assets/{search-input-B4M6QQ-e.js → search-input-BRS1SeNv.js} +1 -1
- package/dist/client/assets/{secrets-Dj74Zwyy.js → secrets-D_gmyKgL.js} +1 -1
- package/dist/client/assets/{sections-editor-u2NQRmmK.js → sections-editor-CNNy6khS.js} +1 -1
- package/dist/client/assets/{select-D-wxupiY.js → select-C7dHMUjj.js} +1 -1
- package/dist/client/assets/{select-model-BKl85W0F.js → select-model-L569zV83.js} +1 -1
- package/dist/client/assets/{self-tool-result-95aF9r_U.js → self-tool-result-Dh4Aev6w.js} +1 -1
- package/dist/client/assets/{seo-editor-B3cfw4bZ.js → seo-editor-DaKxazUy.js} +1 -1
- package/dist/client/assets/{settings-layout-BUiEugGi.js → settings-layout-DbZ2h9rb.js} +1 -1
- package/dist/client/assets/{shell-controls-CSjLwT2x.js → shell-controls-BhFJeYI6.js} +1 -1
- package/dist/client/assets/{shell-layout-o9uMw6a8.js → shell-layout-DpdIn9G6.js} +1 -1
- package/dist/client/assets/{skill-preview-B-3LEd0T.js → skill-preview-CjbqeA4b.js} +1 -1
- package/dist/client/assets/{skills-DVyNbdu9.js → skills-6KAA7zbt.js} +1 -1
- package/dist/client/assets/{spinner-COT1qXpp.js → spinner-BVVWNq8r.js} +1 -1
- package/dist/client/assets/{sso-Cu03cIuK.js → sso-Bs4zi20p.js} +1 -1
- package/dist/client/assets/{store-Bn78XKb1.js → store-CvjfcyIM.js} +1 -1
- package/dist/client/assets/store-registry-BOWcAY3c.js +2 -0
- package/dist/client/assets/{super-agent-icon-B1OGtqpe.js → super-agent-icon-BpRzhjH8.js} +1 -1
- package/dist/client/assets/{switch-BK6h8In2.js → switch-DhSIdR_i.js} +1 -1
- package/dist/client/assets/{synced-repos-CCzTbvRo.js → synced-repos-Dcb1zpSm.js} +1 -1
- package/dist/client/assets/{table-DzNi3uyR.js → table-3BAP3nRu.js} +1 -1
- package/dist/client/assets/{tabs-xEpYCDCP.js → tabs-CZYV0g18.js} +1 -1
- package/dist/client/assets/{task-board-C-6MJsSG.js → task-board-BofYkJKh.js} +1 -1
- package/dist/client/assets/tasks-BQOxriYC.js +1 -0
- package/dist/client/assets/{textarea-kgYtgQ0v.js → textarea-Bfs9jOFb.js} +1 -1
- package/dist/client/assets/{thread-route-B1kq5Ea6.js → thread-route-CwzU1Ead.js} +1 -1
- package/dist/client/assets/{toggle-group-CE79fO6c.js → toggle-group-nCsZAWah.js} +1 -1
- package/dist/client/assets/{toolbar-D0ov_NfD.js → toolbar-B0u9fQTi.js} +1 -1
- package/dist/client/assets/{track-C_WpJaUq.js → track-BcC0Br5S.js} +1 -1
- package/dist/client/assets/{types-CZPi5BXR.js → types-t_EGCMnY.js} +1 -1
- package/dist/client/assets/{use-ai-providers-ZmMLVjtr.js → use-ai-providers-B2TnNV5-.js} +1 -1
- package/dist/client/assets/{use-api-keys-JoE_50wu.js → use-api-keys-DD_1cDqz.js} +1 -1
- package/dist/client/assets/{use-automations-BuSDFURb.js → use-automations-CKQ6EyU4.js} +1 -1
- package/dist/client/assets/{use-autosave-DLZ51LsW.js → use-autosave-CbkxSqfz.js} +1 -1
- package/dist/client/assets/{use-connection-tbXxawZA.js → use-connection-C4Qtd4a2.js} +1 -1
- package/dist/client/assets/{use-copy-PT1zl44p.js → use-copy-DSV6b9Nj.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-ut4kupkD.js → use-create-virtual-mcp-DQx4xhi0.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-6Grvh1pI.js → use-debounced-autosave-B_d0dA1g.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BoEqPWPF.js → use-debounced-value-B_xEv_PQ.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-rOBqAfwv.js → use-decopilot-events-CbnRp_ep.js} +1 -1
- package/dist/client/assets/{use-delete-connection-Xc8zxGSC.js → use-delete-connection-D3ED6Sbo.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-CTq0785m.js → use-deployment-admin-DePF1KY6.js} +1 -1
- package/dist/client/assets/{use-destination-route-CrQXgoeu.js → use-destination-route-D-qOMxxB.js} +1 -1
- package/dist/client/assets/{use-file-configs-fYdc2Rom.js → use-file-configs-nRprTGn8.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DiChJfzU.js → use-infinite-scroll-5WfwCRZM.js} +1 -1
- package/dist/client/assets/{use-join-requests-Dcn5HQUV.js → use-join-requests-DwXfUzba.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-KOsfoyNu.js → use-mcp-auth-status-DVpW-QTl.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DTpSd0OR.js → use-mcp-client-vvCs8A5I.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-WLR3PyE6.js → use-mcp-tools-CRhMhE6W.js} +1 -1
- package/dist/client/assets/{use-members-BcWAZV4n.js → use-members-BDggsWhk.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-C3g5As_j.js → use-navigate-to-agent-CSTEre4d.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-D9rh2iIs.js → use-org-auth-client-B3V2sdnG.js} +1 -1
- package/dist/client/assets/{use-org-repo-syncs-BxcwxkRp.js → use-org-repo-syncs-C85L1-LH.js} +1 -1
- package/dist/client/assets/{use-org-sso-WwZcClLF.js → use-org-sso-C9f69J_l.js} +1 -1
- package/dist/client/assets/{use-organization-roles-0eWwR0pD.js → use-organization-roles-BY_-7R4Z.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BxtjKykU.js → use-organization-settings-14ZS51R4.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-Bd26MwHY.js → use-panel-navigate-Dg50gg4z.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CY_xGRCK.js → use-registry-connections-CE2qAPU4.js} +1 -1
- package/dist/client/assets/{use-secrets-HKJT1Mvt.js → use-secrets-DJ7LOxFA.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-DuldcBXI.js → use-section-preview-base-BKLlkepe.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DI2Ze1w0.js → use-status-sounds-D4apeuQF.js} +1 -1
- package/dist/client/assets/{use-tags-CxQklM88.js → use-tags-CZFhmeee.js} +1 -1
- package/dist/client/assets/{use-view-mode-Afim3f0F.js → use-view-mode-s4yxu7Me.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DkF-epgM.js → use-virtual-mcp-J8dDcIjt.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-C3K_2WOD.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-B7N9im0E.js +1 -0
- package/dist/client/assets/{users-CgDDyM7Q.js → users-VP31pQeM.js} +1 -1
- package/dist/client/assets/{variant-calendar-BhjNvPHt.js → variant-calendar-BByPJakV.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-SzenoYly.js → view-mode-toggle-TOrAfdxo.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +601 -601
- package/dist/server/server.js +430 -430
- package/package.json +1 -1
- package/dist/client/assets/connection-detail-Wjgl09rO.js +0 -1
- package/dist/client/assets/record-editor-BI6LBH0X.js +0 -1
- package/dist/client/assets/registry-B6zHWJAa.js +0 -2
- package/dist/client/assets/store-registry-8s6xkx8w.js +0 -2
- package/dist/client/assets/tasks-hZJro9Fa.js +0 -1
- package/dist/client/assets/useInfiniteQuery-CoUzFjOk.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-lt3jMZMQ.js +0 -1
package/dist/client/assets/{use-org-auth-client-D9rh2iIs.js → use-org-auth-client-B3V2sdnG.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as x,H as j,a as i}from"./index-
|
|
1
|
+
import{c as x,H as j,a as i}from"./index-DciLlmwa.js";function A(){const e=x.c(32),{org:O}=j(),o=O.id;let z;e[0]!==o?(z=R=>(f=>i.organization[R]({...f??{},organizationId:o})),e[0]=o,e[1]=z):z=e[1];const t=z;let M;e[2]!==o?(M=R=>(f=>{const y={...f??{}},h=y.query??{};return y.query={...h,organizationId:o},i.organization[R](y)}),e[2]=o,e[3]=M):M=e[3];const n=M;let a,r;e[4]!==n?(a=n("listMembers"),r=n("listRoles"),e[4]=n,e[5]=a,e[6]=r):(a=e[5],r=e[6]);let l,s,c,g,u,m,d,v,b;e[7]!==t?(g=t("inviteMember"),u=t("removeMember"),m=t("updateMemberRole"),d=t("addMember"),v=t("createRole"),b=t("updateRole"),l=t("deleteRole"),s=t("cancelInvitation"),c=t("update"),e[7]=t,e[8]=l,e[9]=s,e[10]=c,e[11]=g,e[12]=u,e[13]=m,e[14]=d,e[15]=v,e[16]=b):(l=e[8],s=e[9],c=e[10],g=e[11],u=e[12],m=e[13],d=e[14],v=e[15],b=e[16]);let p;e[17]!==n?(p=n("getActiveMember"),e[17]=n,e[18]=p):p=e[18];let I;return e[19]!==l||e[20]!==s||e[21]!==c||e[22]!==p||e[23]!==a||e[24]!==r||e[25]!==g||e[26]!==u||e[27]!==m||e[28]!==d||e[29]!==v||e[30]!==b?(I={organization:{listMembers:a,listRoles:r,inviteMember:g,removeMember:u,updateMemberRole:m,addMember:d,createRole:v,updateRole:b,deleteRole:l,cancelInvitation:s,update:c,getActiveMember:p,acceptInvitation:i.organization.acceptInvitation,rejectInvitation:i.organization.rejectInvitation,getInvitation:i.organization.getInvitation,list:i.organization.list,create:i.organization.create,getFullOrganization:i.organization.getFullOrganization}},e[19]=l,e[20]=s,e[21]=c,e[22]=p,e[23]=a,e[24]=r,e[25]=g,e[26]=u,e[27]=m,e[28]=d,e[29]=v,e[30]=b,e[31]=I):I=e[31],I}export{A as u};
|
package/dist/client/assets/{use-org-repo-syncs-BxcwxkRp.js → use-org-repo-syncs-C85L1-LH.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,H as f,ac as y,K as S,o as _,p as d,e as R}from"./index-
|
|
1
|
+
import{c as r,H as f,ac as y,K as S,o as _,p as d,e as R}from"./index-DciLlmwa.js";const p=5e3;function m(e){return(e??[]).some(n=>!n.lastSyncedAt&&!n.lastSyncError)}function g(){const e=r.c(7),{org:n}=f(),t=y();let c;e[0]!==n.id?(c=S.orgRepoSyncs(n.id),e[0]=n.id,e[1]=c):c=e[1];let s;e[2]!==t?(s=async()=>(await t.call("ORG_REPO_SYNC_LIST",{})).configs,e[2]=t,e[3]=s):s=e[3];let o;return e[4]!==c||e[5]!==s?(o={queryKey:c,staleTime:6e4,refetchInterval:E,queryFn:s},e[4]=c,e[5]=s,e[6]=o):o=e[6],_(o)}function E(e){return m(e.state.data)?p:!1}function P(){const e=r.c(2),n=g();let t;return e[0]!==n.data?(t=new Set((n.data??[]).map(O)),e[0]=n.data,e[1]=t):t=e[1],t}function O(e){return e.volume}function q(){const e=r.c(12),{org:n}=f(),t=y(),c=d();let s;e[0]!==n||e[1]!==c?(s=()=>c.invalidateQueries({queryKey:S.orgRepoSyncs(n.id)}),e[0]=n,e[1]=c,e[2]=s):s=e[2];const o=s;let i;e[3]!==t?(i=async u=>(await t.call("ORG_REPO_SYNC_CREATE",u)).config,e[3]=t,e[4]=i):i=e[4];let a;e[5]!==o||e[6]!==t?(a=u=>{t.call("ORG_REPO_SYNC_RUN",{id:u.id}).catch(C).then(o)},e[5]=o,e[6]=t,e[7]=a):a=e[7];let l;return e[8]!==o||e[9]!==i||e[10]!==a?(l={mutationFn:i,onSuccess:a,onSettled:o},e[8]=o,e[9]=i,e[10]=a,e[11]=l):l=e[11],R(l)}function C(){return null}function T(){const e=r.c(8),{org:n}=f(),t=y(),c=d();let s;e[0]!==t?(s=a=>t.call("ORG_REPO_SYNC_DELETE",{id:a}),e[0]=t,e[1]=s):s=e[1];let o;e[2]!==n||e[3]!==c?(o=()=>c.invalidateQueries({queryKey:S.orgRepoSyncs(n.id)}),e[2]=n,e[3]=c,e[4]=o):o=e[4];let i;return e[5]!==s||e[6]!==o?(i={mutationFn:s,onSettled:o},e[5]=s,e[6]=o,e[7]=i):i=e[7],R(i)}export{P as a,q as b,T as c,g as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,o as S,p as r,e as y,K as c}from"./index-
|
|
1
|
+
import{c as u,o as S,p as r,e as y,K as c}from"./index-DciLlmwa.js";async function f(i,a,e){const s=await fetch(i,a);if(!s.ok){const t=await s.json().catch(()=>null);throw new Error(t?.error||e)}return s.json()}function q(i,a){const e=u.c(8);let s;e[0]!==i?(s=c.orgSsoStatus(i??""),e[0]=i,e[1]=s):s=e[1];let t;e[2]!==a?(t=()=>f(`/api/${a}/sso/status`,void 0,"Failed to check SSO status"),e[2]=a,e[3]=t):t=e[3];const n=!!i&&!!a;let o;return e[4]!==s||e[5]!==t||e[6]!==n?(o={queryKey:s,queryFn:t,enabled:n},e[4]=s,e[5]=t,e[6]=n,e[7]=o):o=e[7],S(o)}function C(i,a){const e=u.c(8);let s;e[0]!==i?(s=c.orgSsoConfig(i??""),e[0]=i,e[1]=s):s=e[1];let t;e[2]!==a?(t=()=>f(`/api/${a}/sso/config`,void 0,"Failed to fetch SSO config"),e[2]=a,e[3]=t):t=e[3];const n=!!i&&!!a;let o;return e[4]!==s||e[5]!==t||e[6]!==n?(o={queryKey:s,queryFn:t,enabled:n},e[4]=s,e[5]=t,e[6]=n,e[7]=o):o=e[7],S(o)}function O(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=l=>f(`/api/${a}/sso/config`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)},"Failed to save SSO config"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}function m(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=()=>f(`/api/${a}/sso/config`,{method:"DELETE"},"Failed to delete SSO config"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}function h(i,a){const e=u.c(8),s=r();let t;e[0]!==a?(t=l=>f(`/api/${a}/sso/config/enforce`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({enforced:l})},"Failed to toggle SSO enforcement"),e[0]=a,e[1]=t):t=e[1];let n;e[2]!==i||e[3]!==s?(n=()=>{s.invalidateQueries({queryKey:c.orgSsoConfig(i)}),s.invalidateQueries({queryKey:c.orgSsoStatus(i)})},e[2]=i,e[3]=s,e[4]=n):n=e[4];let o;return e[5]!==t||e[6]!==n?(o={mutationFn:t,onSuccess:n},e[5]=t,e[6]=n,e[7]=o):o=e[7],y(o)}export{C as a,O as b,m as c,h as d,q as u};
|
package/dist/client/assets/{use-organization-roles-0eWwR0pD.js → use-organization-roles-BY_-7R4Z.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as R}from"./use-org-auth-client-
|
|
1
|
+
import{u as R}from"./use-org-auth-client-B3V2sdnG.js";import{H as b,o as P,K as y}from"./index-DciLlmwa.js";const w=[{value:"owner",label:"Owner",isBuiltin:!0},{value:"admin",label:"Admin",isBuiltin:!0},{value:"user",label:"User",isBuiltin:!0}];function B(t){return t.replace(/-/g," ").replace(/\b\w/g,n=>n.toUpperCase())}function O(t){if(!t)return{staticPermissions:[],allowsAllStaticPermissions:!1,connectionIds:[],allowsAllConnections:!1,toolNames:[],allowsAllTools:!1,modelCount:0,allowsAllModels:!1};const n=[];let i=!1;const u=[];let c=!1;const a=new Set;let s=!1,f=0,e=!1;for(const[l,o]of Object.entries(t)){if(l==="self"){o.includes("*")?i=!0:n.push(...o);continue}if(l==="models"){o.includes("*:*")?e=!0:f=o.length;continue}if(l==="*"){if(c=!0,o.includes("*"))s=!0;else for(const r of o)a.add(r);continue}if(u.push(l),o.includes("*"))s=!0;else for(const r of o)a.add(r)}return{staticPermissions:n,allowsAllStaticPermissions:i,connectionIds:u,allowsAllConnections:c,toolNames:Array.from(a),allowsAllTools:s,modelCount:f,allowsAllModels:e}}function I(){const{locator:t}=b(),n=R(),{data:i,isLoading:u,error:c,refetch:a}=P({queryKey:y.organizationRoles(t),queryFn:async()=>{try{const e=await n.organization.listRoles();return e?.error?(console.error("[useOrganizationRoles] API error:",e.error),[]):e?.data??[]}catch(e){return console.error("[useOrganizationRoles] Fetch error:",e),[]}},staleTime:3e4}),s=w.map(e=>({role:e.value,label:e.label,isBuiltin:e.isBuiltin}));if(i&&Array.isArray(i))for(const e of i){const l=e.role;if(!l||w.some(h=>h.value===l))continue;const{staticPermissions:o,allowsAllStaticPermissions:r,connectionIds:g,allowsAllConnections:m,toolNames:p,allowsAllTools:d,modelCount:C,allowsAllModels:A}=O(e.permission);s.push({id:e.id,role:l,label:B(l),isBuiltin:!1,permission:e.permission??void 0,staticPermissionCount:r?-1:o.length,allowsAllStaticPermissions:r,connectionCount:m?-1:g.length,allowsAllConnections:m,toolCount:d?-1:p.length,allowsAllTools:d,modelCount:A?-1:C,allowsAllModels:A})}const f=s.filter(e=>!e.isBuiltin);return{roles:s,customRoles:f,builtinRoles:s.filter(e=>e.isBuiltin),isLoading:u,error:c,refetch:a}}export{I as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o,H as y,o as T,aY as $,K as _,ac as z,p as I,e as D,r as M}from"./index-
|
|
1
|
+
import{c as o,H as y,o as T,aY as $,K as _,ac as z,p as I,e as D,r as M}from"./index-DciLlmwa.js";import{W as C}from"./constants-dLUUoWH7.js";import{d as G,o as P,e as Q,r as F}from"./task-board-BofYkJKh.js";const O={organizationId:"",sidebar_items:null,enabled_plugins:null,registry_config:null,simple_mode:null,default_home_agents:null,flags:null,main_agent_id:null},R={tiers:{fast:null,smart:null,thinking:null,image:null,web_search:null,deep_research:null}};function b(t,e){return{queryKey:_.organizationSettings(e),queryFn:async()=>{try{return await $(t,"ORGANIZATION_SETTINGS_GET",{})}catch{return{...O,organizationId:e}}},staleTime:6e4}}function c(t){const e=o.c(6),{org:s}=y();let n;e[0]!==s.id||e[1]!==s.slug?(n=b(s.slug,s.id),e[0]=s.id,e[1]=s.slug,e[2]=n):n=e[2];const a=t;let i;return e[3]!==n||e[4]!==a?(i={...n,select:a},e[3]=n,e[4]=a,e[5]=i):i=e[5],T(i)}function V(t,e){const s=o.c(3);let n;s[0]!==t||s[1]!==e?(n=b(e,t),s[0]=t,s[1]=e,s[2]=n):n=s[2];const{data:a}=T(n);return a??null}function f(){const t=o.c(9),{org:e}=y(),s=z(),n=I();let a;t[0]!==e||t[1]!==s?(a=async r=>{const l=await s.call("ORGANIZATION_SETTINGS_UPDATE",{organizationId:e.id,...r});if(!l)throw new Error("ORGANIZATION_SETTINGS_UPDATE returned no payload");return l},t[0]=e,t[1]=s,t[2]=a):a=t[2];let i;t[3]!==e||t[4]!==n?(i=r=>{n.setQueryData(_.organizationSettings(e.id),l=>({...l??O,...r}))},t[3]=e,t[4]=n,t[5]=i):i=t[5];let u;return t[6]!==a||t[7]!==i?(u={mutationFn:a,onSuccess:i},t[6]=a,t[7]=i,t[8]=u):u=t[8],D(u)}function U(t){return t?.tiers?{tiers:{fast:t.tiers.fast??null,smart:t.tiers.smart??null,thinking:t.tiers.thinking??null,image:t.tiers.image??null,web_search:t.tiers.web_search??null,deep_research:t.tiers.deep_research??null}}:R}function X(){const{data:t}=c(k);return t??R}function k(t){return U(t.simple_mode)}function tt(){const t=o.c(7),e=f();let s,n;t[0]!==e?(s=(i,u)=>e.mutate({simple_mode:i},u),n=(i,u)=>e.mutateAsync({simple_mode:i},u),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function et(){return x("reports_only")}function x(t){const e=o.c(5);let s;e[0]!==t?(s=i=>P(i.flags,t),e[0]=t,e[1]=s):s=e[1];const{data:n}=c(s);let a;return e[2]!==n||e[3]!==t?(a=n??G.has(t),e[2]=n,e[3]=t,e[4]=a):a=e[4],a}function nt(){const{data:t}=c(q);return t??!1}function q(t){return Q(t.flags)}function st(){const{data:t}=c(K);return t??!0}function K(t){return F(t.flags)}function at(){const t=o.c(7),e=f();let s,n;t[0]!==e?(s=(i,u,r)=>e.mutate({flags:{[i]:u}},r),n=(i,u,r)=>e.mutateAsync({flags:{[i]:u}},r),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function Y(){const{data:t}=c(v);return t??null}function v(t){return t.registry_config}function it(){const t=o.c(7),e=f();let s,n;t[0]!==e?(s=(i,u)=>e.mutate({registry_config:i},u),n=(i,u)=>e.mutateAsync({registry_config:i},u),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function ut(){const{data:t}=c(H);return t??null}function H(t){return t.default_home_agents}function L(){const t=o.c(7),e=f();let s,n;t[0]!==e?(s=(i,u)=>e.mutate({default_home_agents:i},u),n=(i,u)=>e.mutateAsync({default_home_agents:i},u),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function rt(){const t=o.c(14),{org:e}=y(),s=L(),n=I();let a;t[0]===Symbol.for("react.memo_cache_sentinel")?(a=Promise.resolve(),t[0]=a):a=t[0];const i=M.useRef(a);let u;t[1]!==e.id?(u=_.organizationSettings(e.id),t[1]=e.id,t[2]=u):u=t[2];const r=u;let l;t[3]!==r||t[4]!==n?(l=()=>n.getQueryData(r)?.default_home_agents?.ids??[],t[3]=r,t[4]=n,t[5]=l):l=t[5];const p=l;let d;t[6]!==r||t[7]!==e.slug||t[8]!==n||t[9]!==s?(d=w=>{const S=i.current.then(async()=>{const E=n.getQueryData(r),A=w(E?.default_home_agents?.ids??[]);if(A!==null){n.setQueryData(r,m=>m&&{...m,default_home_agents:{ids:A}});try{await s.mutateAsync({ids:A}),await n.refetchQueries({queryKey:_.homeNextActions(e.slug),type:"active"})}catch(m){const N=m;throw n.setQueryData(r,E),N}}});return i.current=S.catch(W),S},t[6]=r,t[7]=e.slug,t[8]=n,t[9]=s,t[10]=d):d=t[10];const h=d;let g;return t[11]!==h||t[12]!==p?(g={currentIds:p,apply:h},t[11]=h,t[12]=p,t[13]=g):g=t[13],g}function W(){}function ot(){const t=o.c(3),{data:e,isPending:s}=c(Z),n=e??null;let a;return t[0]!==s||t[1]!==n?(a={mainAgentId:n,isPending:s},t[0]=s,t[1]=n,t[2]=a):a=t[2],a}function Z(t){return t.main_agent_id??null}function lt(){const t=o.c(7),e=f();let s,n;t[0]!==e?(s=(i,u)=>e.mutate({main_agent_id:i},u),n=(i,u)=>e.mutateAsync({main_agent_id:i},u),t[0]=e,t[1]=s,t[2]=n):(s=t[1],n=t[2]);let a;return t[3]!==e||t[4]!==s||t[5]!==n?(a={...e,mutate:s,mutateAsync:n},t[3]=e,t[4]=s,t[5]=n,t[6]=a):a=t[6],a}function ct(){const t=o.c(5),{org:e}=y(),s=Y();let n;t[0]!==e.id?(n=C.REGISTRY(e.id),t[0]=e.id,t[1]=n):n=t[1];const a=n;let i;return t[2]!==a||t[3]!==s?(i=u=>{if(!s)return u===a;const r=s.registries[u];return r?r.enabled:u===a},t[2]=a,t[3]=s,t[4]=i):i=t[4],i}export{et as a,X as b,ut as c,rt as d,st as e,ot as f,ct as g,V as h,lt as i,tt as j,Y as k,nt as l,at as m,it as n,x as u};
|
package/dist/client/assets/{use-panel-navigate-Bd26MwHY.js → use-panel-navigate-Dg50gg4z.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as v,f as N,u as x,bM as E,eU as D,d as R,dF as k,eV as A}from"./index-
|
|
1
|
+
import{c as v,f as N,u as x,bM as E,eU as D,d as R,dF as k,eV as A}from"./index-DciLlmwa.js";import{u as O,D as i}from"./use-destination-route-D-qOMxxB.js";const F={board:i.tasks,files:i.library,reports:i.reports,overview:i.home};function $(){const e=v.c(6);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t={strict:!1},e[0]=t):t=e[0];const s=N(t);let a;e[1]===Symbol.for("react.memo_cache_sentinel")?(a={strict:!1},e[1]=a):a=e[1];const o=x(a);let n;if(e[2]!==s.panel||e[3]!==s.project||e[4]!==o){const{panel:c}=E({project:s.project,panel:s.panel});n=D(c,o),e[2]=s.panel,e[3]=s.project,e[4]=o,e[5]=n}else n=e[5];return n}function w(){const e=v.c(17),t=R();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={strict:!1},e[0]=s):s=e[0];const a=N(s);let o;e[1]!==a.panel||e[2]!==a.project?(o=E({project:a.project,panel:a.panel}),e[1]=a.panel,e[2]=a.project,e[3]=o):o=e[3];const{project:n}=o,c=a.org??"",b=O()===i.agents,u=a.taskId;let h;e[4]!==u?(h=(p,f,r)=>m=>{const l=f?{...m}:{thread:m.thread,sidepanel:m.sidepanel};return u&&(l.thread=u),{...r?.search?r.search(l):l,...p,mainpanel:void 0}},e[4]=u,e[5]=h):h=e[5];const P=h;let d;e[6]!==n||e[7]!==t||e[8]!==P||e[9]!==b||e[10]!==c?(d=(p,f)=>{const{panel:r,payload:m}=k(p),l=f?.replace??!0,T=!!r&&A(r),y=P(m,b&&!T,f);if(r&&T){const I=F[r];if(I===i.tasks){t({to:I,params:{org:c,taskKey:void 0},search:y,replace:l});return}t({to:I,params:{org:c},search:y,replace:l});return}t({to:i.agents,params:{org:c,project:f?.project??n,panel:r},search:y,replace:l})},e[6]=n,e[7]=t,e[8]=P,e[9]=b,e[10]=c,e[11]=d):d=e[11];const _=d;let g;e[12]!==t?(g=p=>t({to:".",search:L,replace:p?.replace??!0}),e[12]=t,e[13]=g):g=e[13];const S=g;let j;return e[14]!==S||e[15]!==_?(j={openPanel:_,closePanel:S},e[14]=S,e[15]=_,e[16]=j):j=e[16],j}function L(e){return{...e,mainpanel:!1}}export{$ as a,w as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as C,H as R}from"./index-
|
|
1
|
+
import{c as C,H as R}from"./index-DciLlmwa.js";import{u as p}from"./use-connection-C4Qtd4a2.js";import{W as a}from"./constants-dLUUoWH7.js";import{k as y}from"./use-organization-settings-14ZS51R4.js";function M(){const e=C.c(19),{org:i}=R(),o=y();let l;e[0]!==i.id?(l=a.REGISTRY(i.id),e[0]=i.id,e[1]=l):l=e[1];const d=l;let f;e[2]!==i.id?(f=a.COMMUNITY_REGISTRY(i.id),e[2]=i.id,e[3]=f):f=e[3];const g=f;let r;e[4]!==g||e[5]!==d?(r=[d,g],e[4]=g,e[5]=d,e[6]=r):r=e[6];let t;if(e[7]!==o||e[8]!==r){if(t=new Set(r),o?.registries){let s;e[10]!==o.registries?(s=Object.keys(o.registries),e[10]=o.registries,e[11]=s):s=e[11];for(const u of s)t.add(u)}e[7]=o,e[8]=r,e[9]=t}else t=e[9];const m=p();let n;e[12]!==m?(n=m??[],e[12]=m,e[13]=n):n=e[13];let c;if(e[14]!==t||e[15]!==n){let s;e[17]!==t?(s=u=>t.has(u.id),e[17]=t,e[18]=s):s=e[18],c=n.filter(s),e[14]=t,e[15]=n,e[16]=c}else c=e[16];return c}export{M as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o,H as u,ac as r,K as l,z as d,p as f,e as S}from"./index-
|
|
1
|
+
import{c as o,H as u,ac as r,K as l,z as d,p as f,e as S}from"./index-DciLlmwa.js";function C(){const e=o.c(7),{org:a}=u(),c=r();let i;e[0]!==a.id?(i=l.secrets(a.id),e[0]=a.id,e[1]=i):i=e[1];let t;e[2]!==c?(t=async()=>await c.call("SECRET_LIST",{}),e[2]=c,e[3]=t):t=e[3];let s;e[4]!==i||e[5]!==t?(s={queryKey:i,staleTime:6e4,queryFn:t},e[4]=i,e[5]=t,e[6]=s):s=e[6];const{data:n}=d(s);return n.secrets}function m(){const e=o.c(8),{org:a}=u(),c=r(),i=f();let t;e[0]!==c?(t=async y=>await c.call("SECRET_CREATE",{...y}),e[0]=c,e[1]=t):t=e[1];let s;e[2]!==a||e[3]!==i?(s=()=>{i.invalidateQueries({queryKey:l.secrets(a.id)})},e[2]=a,e[3]=i,e[4]=s):s=e[4];let n;return e[5]!==t||e[6]!==s?(n={mutationFn:t,onSuccess:s},e[5]=t,e[6]=s,e[7]=n):n=e[7],S(n)}export{m as a,C as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as z,b as K,r as w,j as s,n as Q}from"./index-
|
|
1
|
+
import{c as z,b as K,r as w,j as s,n as Q}from"./index-DciLlmwa.js";import{ac as _}from"./agent-icon-CC9Z06rN.js";import{i as Y}from"./SearchMd-BATwmNWi.js";import{e as Z,d as ee,b as te,a as se}from"./dialog-T-Mu83_j.js";import{I as re}from"./input-DWRx0ZaP.js";import{k as le,l as oe,m as ie,o as X,G as ne,p as ce,q as ae}from"./index-Dj-X1D5T.js";const fe=12,q=new Set,F=new Set;function ue(){for(const r of F)r()}function de(r){return q.has(r)?!0:q.size>=fe?!1:(q.add(r),!0)}function J(r){q.delete(r)&&ue()}function me(r){return F.add(r),()=>{F.delete(r)}}function ve(r,e){const t=w.useRef(!1),[d,i]=w.useState(!1),o=w.useRef(null),f=w.useRef(null),c=w.useRef(null),l=w.useRef(r);l.current=r;const[a]=w.useState(()=>{const n=()=>{c.current?.(),c.current=null},u=()=>t.current?!0:de(e)?(t.current=!0,i(!0),n(),!0):!1;return v=>{if(f.current=v,o.current&&(o.current.disconnect(),o.current=null),n(),!v){t.current&&(J(e),t.current=!1,i(!1));return}queueMicrotask(()=>{if(f.current!==v)return;const x=new IntersectionObserver(m=>{if(m[0]?.isIntersecting??!1){!u()&&!c.current&&(c.current=me(()=>{f.current===v&&u()}));return}n(),t.current&&(J(e),t.current=!1,i(!1))},{root:l.current.current,rootMargin:"160px 0px"});x.observe(v),o.current=x})}});return{ref:a,iframeActive:d}}function pe(r){const e=z.c(8),{previewUrl:t,title:d,scrollRootRef:i,slotId:o}=r,{ref:f,iframeActive:c}=ve(i,o),[l,a]=w.useState(!1);let n;e[0]!==c||e[1]!==l||e[2]!==t||e[3]!==d?(n=c?s.jsxs(s.Fragment,{children:[!l&&s.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-muted/40",children:s.jsx(_,{className:"h-8 w-8 animate-pulse text-muted-foreground/40"})}),s.jsx("iframe",{src:t,title:`Preview ${d}`,sandbox:"allow-scripts allow-same-origin",referrerPolicy:"no-referrer",className:"pointer-events-none h-[200%] w-[200%] origin-top-left scale-50 border-0 bg-white",tabIndex:-1,onLoad:()=>a(!0)})]}):s.jsx("div",{className:"flex h-full items-center justify-center",children:s.jsx(_,{className:"h-8 w-8 text-muted-foreground/30"})}),e[0]=c,e[1]=l,e[2]=t,e[3]=d,e[4]=n):n=e[4];let u;return e[5]!==f||e[6]!==n?(u=s.jsx("div",{ref:f,className:"relative aspect-[16/10] w-full overflow-hidden bg-muted/40",children:n}),e[5]=f,e[6]=n,e[7]=u):u=e[7],u}function xe(r){const e=z.c(26),{entry:t,previewUrl:d,scrollRootRef:i,onSelect:o}=r,f=t.isSavedBlock&&"border-global-section/35 hover:bg-global-section/8";let c;e[0]!==f?(c=Q("group flex flex-col overflow-hidden rounded-lg border bg-card text-left transition-colors","hover:border-primary/40 hover:bg-accent/30",f),e[0]=f,e[1]=c):c=e[1];let l;e[2]!==t.resolveType||e[3]!==t.title||e[4]!==d||e[5]!==i?(l=s.jsx(pe,{previewUrl:d,title:t.title,scrollRootRef:i,slotId:t.resolveType}),e[2]=t.resolveType,e[3]=t.title,e[4]=d,e[5]=i,e[6]=l):l=e[6];let a;e[7]!==t.isSavedBlock?(a=t.isSavedBlock?{color:ne}:void 0,e[7]=t.isSavedBlock,e[8]=a):a=e[8];let n;e[9]!==a?(n=s.jsx(_,{className:"h-4 w-4 shrink-0",style:a}),e[9]=a,e[10]=n):n=e[10];let u;e[11]!==t.title?(u=s.jsx("p",{className:"truncate text-sm font-medium",children:t.title}),e[11]=t.title,e[12]=u):u=e[12];let v;e[13]!==t.description?(v=t.description&&s.jsx("p",{className:"truncate text-xs text-muted-foreground",children:t.description}),e[13]=t.description,e[14]=v):v=e[14];let x;e[15]!==u||e[16]!==v?(x=s.jsxs("div",{className:"min-w-0 flex-1",children:[u,v]}),e[15]=u,e[16]=v,e[17]=x):x=e[17];let m;e[18]!==n||e[19]!==x?(m=s.jsxs("div",{className:"flex items-center gap-2 border-t px-3 py-2.5",children:[n,x]}),e[18]=n,e[19]=x,e[20]=m):m=e[20];let h;return e[21]!==o||e[22]!==c||e[23]!==l||e[24]!==m?(h=s.jsxs("button",{type:"button",onClick:o,className:c,children:[l,m]}),e[21]=o,e[22]=c,e[23]=l,e[24]=m,e[25]=h):h=e[25],h}function Ne(r){const e=z.c(51),{open:t,onOpenChange:d,meta:i,decofile:o,previewBaseUrl:f,onSelect:c}=r,l=K(),[a,n]=w.useState(""),[u,v]=w.useState(t),x=w.useRef(null);t!==u&&(v(t),t&&n(""));let m,h,S,b,j,N,R,y,g,C,T;if(e[0]!==o||e[1]!==i||e[2]!==d||e[3]!==c||e[4]!==t||e[5]!==f||e[6]!==a||e[7]!==l){const D=t&&i&&o?le(i,o):[],W=i?oe(i):"",G=o?ie(o):void 0,H=new Map;if(t&&W)for(const p of D)H.set(p.resolveType,X(f,W,p.previewBlock,G));const M=a.trim().toLowerCase(),V=M?D.filter(p=>p.title.toLowerCase().includes(M)||p.resolveType.toLowerCase().includes(M)||p.description?.toLowerCase().includes(M)):D;h=Z,C=t,T=d,m=ee,R="top-3 right-3",y="flex h-[90vh] max-h-[90vh] w-[96vw] max-w-[96vw] sm:max-w-[96vw] flex-col gap-0 overflow-hidden p-0";let U;e[19]!==l?(U=l("sectionsEditor.addSectionModal.title"),e[19]=l,e[20]=U):U=e[20];let A;e[21]!==U?(A=s.jsx(te,{children:U}),e[21]=U,e[22]=A):A=e[22];let O;e[23]===Symbol.for("react.memo_cache_sentinel")?(O=s.jsx(Y,{size:14,className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-muted-foreground"}),e[23]=O):O=e[23];let $;e[24]===Symbol.for("react.memo_cache_sentinel")?($=p=>n(p.target.value),e[24]=$):$=e[24];let B;e[25]!==l?(B=l("sectionsEditor.addSectionModal.searchPlaceholder"),e[25]=l,e[26]=B):B=e[26];let k;e[27]!==a||e[28]!==B?(k=s.jsxs("div",{className:"relative pt-2",children:[O,s.jsx(re,{value:a,onChange:$,placeholder:B,className:"h-9 pl-8"})]}),e[27]=a,e[28]=B,e[29]=k):k=e[29],e[30]!==A||e[31]!==k?(g=s.jsxs(se,{className:"shrink-0 border-b px-4 py-3 text-left",children:[A,k]}),e[30]=A,e[31]=k,e[32]=g):g=e[32],j=x,N="min-h-0 flex-1 overflow-y-auto",S="p-4",b=V.length===0?s.jsx("p",{className:"py-8 text-center text-sm text-muted-foreground",children:l("sectionsEditor.addSectionModal.noSectionsFound")}):s.jsx("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:V.map(p=>s.jsx(xe,{entry:p,scrollRootRef:x,previewUrl:H.get(p.resolveType)??X(f,W,p.previewBlock,G),onSelect:()=>c(p)},p.resolveType))}),e[0]=o,e[1]=i,e[2]=d,e[3]=c,e[4]=t,e[5]=f,e[6]=a,e[7]=l,e[8]=m,e[9]=h,e[10]=S,e[11]=b,e[12]=j,e[13]=N,e[14]=R,e[15]=y,e[16]=g,e[17]=C,e[18]=T}else m=e[8],h=e[9],S=e[10],b=e[11],j=e[12],N=e[13],R=e[14],y=e[15],g=e[16],C=e[17],T=e[18];let P;e[33]!==S||e[34]!==b?(P=s.jsx("div",{className:S,children:b}),e[33]=S,e[34]=b,e[35]=P):P=e[35];let I;e[36]!==P||e[37]!==j||e[38]!==N?(I=s.jsx("div",{ref:j,className:N,children:P}),e[36]=P,e[37]=j,e[38]=N,e[39]=I):I=e[39];let L;e[40]!==m||e[41]!==I||e[42]!==R||e[43]!==y||e[44]!==g?(L=s.jsxs(m,{closeButtonClassName:R,className:y,children:[g,I]}),e[40]=m,e[41]=I,e[42]=R,e[43]=y,e[44]=g,e[45]=L):L=e[45];let E;return e[46]!==h||e[47]!==L||e[48]!==C||e[49]!==T?(E=s.jsx(h,{open:C,onOpenChange:T,children:L}),e[46]=h,e[47]=L,e[48]=C,e[49]=T,e[50]=E):E=e[50],E}function Re(r){const e=z.c(4),{previewServerUrl:t,runtime:d}=ce(r.virtualMcpId),i=d==="cms";let o;return e[0]!==i||e[1]!==r.sandboxUrl||e[2]!==t?(o=ae({sandboxUrl:r.sandboxUrl,previewServerUrl:t,fastPreviewActive:i}),e[0]=i,e[1]=r.sandboxUrl,e[2]=t,e[3]=o):o=e[3],o}export{Ne as A,Re as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as r,x as u}from"./index-
|
|
1
|
+
import{c as r,x as u}from"./index-DciLlmwa.js";import{p as i,q as c}from"./question-004-sINsf4GQ.js";import{u as f}from"./use-decopilot-events-CbnRp_ep.js";const p=new Set(["completed","failed","requires_action"]);function q(s){const e=r.c(5),[n]=u();let t;e[0]!==n?(t=o=>{n.enableSounds&&p.has(o.data.status)&&i(c.dataUri).catch(l)},e[0]=n,e[1]=t):t=e[1];let a;e[2]!==s||e[3]!==t?(a={orgSlug:s,onTaskStatus:t},e[2]=s,e[3]=t,e[4]=a):a=e[4],f(a)}function l(s){console.warn("[status-sounds] playback failed:",s)}export{q as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,H as f,ac as y,o as m,p as g,e as T,K as l,t as E}from"./index-
|
|
1
|
+
import{c as u,H as f,ac as y,o as m,p as g,e as T,K as l,t as E}from"./index-DciLlmwa.js";function F(){const e=u.c(7),{locator:t}=f(),o=y();let n;e[0]!==t?(n=l.tags(t),e[0]=t,e[1]=n):n=e[1];let s;e[2]!==o?(s=async()=>{const{tags:r}=await o.call("TAGS_LIST",{});return r},e[2]=o,e[3]=s):s=e[3];let a;return e[4]!==n||e[5]!==s?(a={queryKey:n,queryFn:s,staleTime:3e4},e[4]=n,e[5]=s,e[6]=a):a=e[6],m(a)}function K(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{const{tag:i}=await n.call("TAGS_CREATE",typeof c=="string"?{name:c}:c);return i},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=()=>{t.invalidateQueries({queryKey:l.tags(o)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:S},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function S(e){E.error(e instanceof Error?e.message:"Failed to create tag")}function C(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{await n.call("TAGS_DELETE",{tagId:c})},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=()=>{t.invalidateQueries({queryKey:l.tags(o)}),t.invalidateQueries({queryKey:l.taskBoardItems(o)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:q},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function q(e){E.error(e instanceof Error?e.message:"Failed to delete tag")}function M(e){const t=u.c(10),{locator:o}=f(),n=y();let s;t[0]!==o||t[1]!==e?(s=l.memberTags(o,e),t[0]=o,t[1]=e,t[2]=s):s=t[2];let a;t[3]!==e||t[4]!==n?(a=async()=>{const{tags:i}=await n.call("MEMBER_TAGS_GET",{memberId:e});return i},t[3]=e,t[4]=n,t[5]=a):a=t[5];const r=!!e;let c;return t[6]!==s||t[7]!==a||t[8]!==r?(c={queryKey:s,queryFn:a,staleTime:3e4,enabled:r},t[6]=s,t[7]=a,t[8]=r,t[9]=c):c=t[9],m(c)}function A(){const e=u.c(8),t=g(),{locator:o}=f(),n=y();let s;e[0]!==n?(s=async c=>{const{memberId:i,tagIds:d}=c;return await n.call("MEMBER_TAGS_SET",{memberId:i,tagIds:d})},e[0]=n,e[1]=s):s=e[1];let a;e[2]!==o||e[3]!==t?(a=(c,i)=>{t.invalidateQueries({queryKey:l.memberTags(o,i.memberId)})},e[2]=o,e[3]=t,e[4]=a):a=e[4];let r;return e[5]!==s||e[6]!==a?(r={mutationFn:s,onSuccess:a,onError:_},e[5]=s,e[6]=a,e[7]=r):r=e[7],T(r)}function _(e){E.error(e instanceof Error?e.message:"Failed to update member tags")}export{K as a,C as b,M as c,A as d,F as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,a5 as w,r as f}from"./index-
|
|
1
|
+
import{c as p,a5 as w,r as f}from"./index-DciLlmwa.js";function I(M,b){const e=p.c(12),d=b===void 0?"cards":b,o=w(),g=f.useRef(o),s=M?`deco-view-mode-${M}`:"deco-view-mode";let i;e[0]!==d||e[1]!==s?(i=()=>{const r=globalThis.localStorage?.getItem(s);return r==="cards"||r==="table"?r:d},e[0]=d,e[1]=s,e[2]=i):i=e[2];const[t,m]=f.useState(i);let l;e[3]!==s?(l=r=>{m(r),globalThis.localStorage?.setItem(s,r)},e[3]=s,e[4]=l):l=e[4];const u=l;let c,a;e[5]!==o||e[6]!==t?(c=()=>{!g.current&&o&&t==="table"&&m("cards"),g.current=o},a=[o,t],e[5]=o,e[6]=t,e[7]=c,e[8]=a):(c=e[7],a=e[8]),f.useEffect(c,a);let n;return e[9]!==u||e[10]!==t?(n=[t,u],e[9]=u,e[10]=t,e[11]=n):n=e[11],n}export{I as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d,H as a,fe as P,cc as p,K as L,cb as S,o as V}from"./index-
|
|
1
|
+
import{c as d,H as a,fe as P,cc as p,K as L,cb as S,o as V}from"./index-DciLlmwa.js";import{u as g}from"./use-mcp-client-vvCs8A5I.js";import{S as f}from"./constants-dLUUoWH7.js";function y(s){const t=d.c(5);let e;t[0]!==s?(e=s===void 0?{}:s,t[0]=s,t[1]=e):e=t[1];const n=e,{org:i}=a();let o;t[2]!==i.id||t[3]!==i.slug?(o={connectionId:f,orgId:i.id,orgSlug:i.slug},t[2]=i.id,t[3]=i.slug,t[4]=o):o=t[4];const l=g(o);return P(i.id,"VIRTUAL_MCP",l,n)}function b(s){const t=d.c(3),{org:e}=a();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:f,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const i=g(n);return S(e.id,"VIRTUAL_MCP",s??void 0,i)}function R(s){const t=d.c(15),{org:e}=a();let n;t[0]!==e.id||t[1]!==e.slug?(n={connectionId:f,orgId:e.id,orgSlug:e.slug},t[0]=e.id,t[1]=e.slug,t[2]=n):n=t[2];const i=g(n);let o,l,u;t[3]!==s||t[4]!==e.id?(o=[...s].sort(),u=V,l=L.virtualMcpLastUsed(e.id,o),t[3]=s,t[4]=e.id,t[5]=o,t[6]=l,t[7]=u):(o=t[5],l=t[6],u=t[7]);const C=o.length>0;let c;t[8]!==i||t[9]!==o?(c=async()=>{const M=(await i.callTool({name:"VIRTUAL_MCP_LAST_USED_LIST",arguments:{ids:o}})).structuredContent??{items:[]},I=new Map;for(const m of M.items)I.set(m.id,m);return I},t[8]=i,t[9]=o,t[10]=c):c=t[10];let r;return t[11]!==l||t[12]!==C||t[13]!==c?(r={queryKey:l,enabled:C,staleTime:3e4,queryFn:c},t[11]=l,t[12]=C,t[13]=c,t[14]=r):r=t[14],u(r)}function E(){const s=d.c(3),{org:t}=a();let e;s[0]!==t.id||s[1]!==t.slug?(e={connectionId:f,orgId:t.id,orgSlug:t.slug},s[0]=t.id,s[1]=t.slug,s[2]=e):e=s[2];const n=g(e);return p(t.id,"VIRTUAL_MCP",n)}export{b as a,E as b,R as c,y as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as i}from"./use-infinite-scroll-5WfwCRZM.js";import{fi as u}from"./index-DciLlmwa.js";function t(e,r){return u(e,i,r)}export{t as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{I as s}from"./use-infinite-scroll-5WfwCRZM.js";import{fi as u,b$ as n}from"./index-DciLlmwa.js";function i(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{i as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as V,b as q,r as z,a as O,o as Y,e as $,j as t,P as I,K as J,t as Q,B as W}from"./index-
|
|
1
|
+
import{c as V,b as q,r as z,a as O,o as Y,e as $,j as t,P as I,K as J,t as Q,B as W}from"./index-DciLlmwa.js";import{C as G}from"./collection-table-wrapper--On0bVKc.js";import{E as L}from"./empty-state-B5FRHhEP.js";import{S as H}from"./search-input-BRS1SeNv.js";import{A as X}from"./avatar-7UTfZX29.js";import{B as D}from"./badge-CZwiP8Mh.js";import{u as Z}from"./use-debounced-value-B_xEv_PQ.js";import{a as K}from"./admin-fetch-CCSvjTk1.js";import{f as ee}from"./format-time-BnbuEtat.js";import{g as se}from"./get-initials-D-f_fDFw.js";import"./table-3BAP3nRu.js";import"./ArrowUp-CQCcsSr2.js";import"./SearchMd-BATwmNWi.js";import"./User01-B0HqnS6D.js";import"./differenceInSeconds-NQ4PDo0z.js";function ve(){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 a=Z(N,300),{data:R}=O.useSession(),P=R?.user?.id;let n;e[2]!==a?(n=J.deploymentAdminUsers(a),e[2]=a,e[3]=n):n=e[3];let l;e[4]!==a?(l=()=>{const i=new URLSearchParams({limit:"100"});return a&&i.set("searchValue",a),K(`/api/_admin/users?${i}`)},e[4]=a,e[5]=l):l=e[5];let y;e[6]!==n||e[7]!==l?(y={queryKey:n,queryFn:l},e[6]=n,e[7]=l,e[8]=y):y=e[8];const{data:k,isLoading:_,isError:A}=Y(y);let C;e[9]===Symbol.for("react.memo_cache_sentinel")?(C=ie,e[9]=C):C=e[9];let w;e[10]!==s?(w={mutationFn:ae,onSuccess:C,onError:i=>{Q.error(i instanceof Error?i.message:s("admin.users.failedToImpersonate"))}},e[10]=s,e[11]=w):w=e[11];const E=$(w);let b;e[12]!==k?.users?(b=k?.users??[],e[12]=k?.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=i=>t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx(X,{url:i.image??void 0,fallback:se(i.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:i.name||s("admin.users.unknown")}),t.jsx("div",{className:"text-sm text-muted-foreground truncate",children:i.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=i=>i.emailVerified?t.jsx(D,{variant:"outline",className:"text-success border-success/20",children:s("admin.users.verified")}):t.jsx(D,{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:te,cellClassName:"w-48 shrink-0"},e[30]=p,e[31]=h):h=e[31];let x;e[32]!==P||e[33]!==E||e[34]!==s?(x={id:"actions",header:"",render:i=>t.jsx(W,{variant:"outline",size:"sm",disabled:i.id===P||E.isPending,onClick:()=>E.mutate(i.id),children:s("admin.users.impersonate")}),cellClassName:"w-32 shrink-0"},e[32]=P,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(H,{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]!==a||e[47]!==A||e[48]!==s?(S=A?t.jsx(L,{title:s("admin.users.failedToLoadTitle"),description:s("admin.users.failedToLoadDescription")}):t.jsx(L,{title:s("admin.users.noUsersFoundTitle"),description:a?s("admin.users.noUsersMatchSearch",{search:a}):s("admin.users.noUsersYet")}),e[46]=a,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(G,{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(I,{children:t.jsx(I.Content,{children:t.jsx(I.Body,{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 te(e){return t.jsx("span",{className:"text-sm text-foreground",children:ee(e.createdAt)})}function ie(){window.location.href="/"}function ae(e){return K("/api/_admin/impersonate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({userId:e})})}export{ve as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as K,b as X,r as Z,j as n,n as rt,a8 as ut,ab as ht,B as tt,a9 as xt}from"./index-CqYwCEJB.js";import{r as gt,T as at,aB as bt}from"./agent-icon-BM_KwXAG.js";import{i as vt}from"./ChevronRight-BlkCcJKu.js";import{L as yt}from"./label-C-y8YfKM.js";import{S as lt}from"./scroll-area-DBxrHjA2.js";import{S as jt}from"./switch-BK6h8In2.js";import{V as Tt}from"./view-mode-toggle-SzenoYly.js";import{bt as ct,bu as mt,bv as Nt,bw as _t,bx as kt,by as U,bz as wt}from"./index-BksYgRWT.js";import"./AlertCircle-DHh1PfjG.js";import"./UserSquare-BnqWtXra.js";import"./Tool01-Dq3mWzGY.js";import"./ArrowUp-D8eBlYFE.js";import"./ArrowLeft-CIx-iUY8.js";import"./Tool02-BCNi_5kK.js";import"./XCircle-BHxSAU3k.js";import"./TrendUp01-NXHcc4HH.js";import"./ZapSquare-BwQELxKq.js";import"./ZoomOut-DdBGhheB.js";import"./Users03-CrKzevO2.js";import"./CheckCircle-IsvkJ4bm.js";import"./Check-wBaW66G-.js";import"./ChevronDown-BgL_uS0k.js";import"./ChevronSelectorVertical-CNJYSndt.js";import"./ChevronUp-CH3Gpcfa.js";import"./DotsVertical-PJAwR6yV.js";import"./Stars02-B_QqeAkn.js";import"./Copy01-rA4Dpk36.js";import"./CreditCard01-D_VUaJaW.js";import"./Download01-Dq_Unryt.js";import"./Settings02-BJy9P2Ps.js";import"./Eye-BtvpunKY.js";import"./FilterLines-D1RVdliT.js";import"./Share07-DJSE5SFv.js";import"./GitBranch01-Gl4XOf-O.js";import"./Globe01-TkTVNTBx.js";import"./Globe04-0hM_DQ8g.js";import"./SwitchHorizontal01-C3_vFYWS.js";import"./HardDrive-O56FWvWN.js";import"./Image01-CagTyvEA.js";import"./Key01-UDx6YjlZ.js";import"./LinkExternal01-iKTo0TYB.js";import"./LockUnlocked01-C8h1olc3.js";import"./LogOut01-C0_NcZm2.js";import"./Monitor01-Im6C3EOU.js";import"./Sun-BIlGaePu.js";import"./Package-BiqlaFT1.js";import"./Palette-DkAHxVri.js";import"./Play-D8uG1obb.js";import"./Plus-D5klvHCU.js";import"./SearchLg-JbtaWgUZ.js";import"./SearchMd-DjyJfMpl.js";import"./Shield01-takhSBBv.js";import"./Stars01-BBJe-YJ4.js";import"./Trash01-B00Q74ug.js";import"./Upload01-DvesXgzF.js";import"./User01-B8N9S7_u.js";import"./Users01-j7p_t3Gy.js";import"./XClose-w0cYZrF9.js";import"./Zap-Bht2IlJK.js";import"./select-D-wxupiY.js";import"./chat-context-DtBrJHtH.js";import"./use-panel-navigate-Bd26MwHY.js";import"./use-destination-route-CrQXgoeu.js";import"./thread-route-B1kq5Ea6.js";import"./dialog-CuFyb00o.js";import"./constants-dLUUoWH7.js";import"./session-runtime-C-KTDVeQ.js";import"./slugify-CEUa2lfQ.js";import"./hooks-wtXM5FHT.js";import"./use-mcp-client-DTpSd0OR.js";import"./auth-BgIsu1_r.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-DjmIqnOP.js";import"./task-board-C-6MJsSG.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-DkF-epgM.js";import"./use-ai-providers-ZmMLVjtr.js";import"./location-oTTXFrSF.js";import"./use-decopilot-events-rOBqAfwv.js";import"./use-organization-settings-BxtjKykU.js";import"./automation-runs-CS9qihpW.js";import"./useInfiniteQuery-CoUzFjOk.js";import"./use-infinite-scroll-DiChJfzU.js";import"./use-connection-tbXxawZA.js";import"./table-DzNi3uyR.js";import"./empty-state-DupgNgIZ.js";import"./use-members-BcWAZV4n.js";import"./use-org-auth-client-D9rh2iIs.js";import"./use-automations-BuSDFURb.js";import"./useSuspenseInfiniteQuery-lt3jMZMQ.js";import"./avatar-CqApqQ82.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-PT1zl44p.js";import"./markdown-DR-Dd2P4.js";import"./monaco-editor-CccIDhBb.js";import"./spinner-COT1qXpp.js";import"./editor-DOzsQM6_.js";import"./types-CZPi5BXR.js";import"./shell-layout-o9uMw6a8.js";import"./required-auth-layout-CurkztN4.js";import"./use-org-sso-WwZcClLF.js";import"./integration-icon-B45IavMk.js";import"./use-navigate-to-agent-C3g5As_j.js";import"./chart-B-9nfVkT.js";import"./index-CRLBtg3d.js";import"./form-aFuRXTmr.js";import"./input-OX6HIlPh.js";import"./file-type-icon-Ct79HPTc.js";import"./drawer-B55srsns.js";import"./collection-search-DhQXOJ9h.js";import"./tabs-xEpYCDCP.js";import"./toggle-group-CE79fO6c.js";import"./super-agent-icon-B1OGtqpe.js";import"./self-tool-result-95aF9r_U.js";import"./alert-dialog-ClFGnSbS.js";import"./extract-connection-data-M-kxONh2.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-CMPWtdMv.js";import"./use-debounced-value-BoEqPWPF.js";import"./authenticate-and-persist-oauth-DHyo0WS-.js";import"./mcp-oauth-BYjNrGhH.js";import"./track-C_WpJaUq.js";import"./popover-CijbqDWJ.js";import"./toolbar-D0ov_NfD.js";import"./github-repo-picker-r8LvfODU.js";import"./use-mcp-tools-WLR3PyE6.js";import"./agent-capabilities-B52k7xCe.js";import"./connection-card-CyaD8Y8R.js";import"./use-registry-connections-CY_xGRCK.js";import"./retry-CErkP7V6.js";import"./connection-slug-CITJ0kGN.js";import"./textarea-kgYtgQ0v.js";import"./connection-form-helpers-BNk8NgtD.js";import"./collection-tabs-uw6aJbMR.js";import"./badge-SPHUmAm8.js";import"./select-model-BKl85W0F.js";import"./checkbox-DOE7YchQ.js";import"./ai-providers-logos-DD3qZ33J.js";import"./folder-icon-DIUadLc3.js";import"./dropdown-menu-Bc2xCCCn.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-DI2Ze1w0.js";import"./skill-preview-B-3LEd0T.js";import"./use-file-configs-fYdc2Rom.js";import"./pt-BR-CLy76QW2.js";import"./use-debounced-autosave-6Grvh1pI.js";import"./search-input-B4M6QQ-e.js";import"./use-mcp-auth-status-KOsfoyNu.js";import"./use-secrets-HKJT1Mvt.js";import"./AreaChart-B-TQnetO.js";import"./config-B1OTMfz_.js";import"./command-imFFxkWB.js";import"./index-C6JeKvEX.js";import"./get-initials-D-f_fDFw.js";import"./breadcrumb-DcWvihG3.js";import"./use-tags-CxQklM88.js";import"./automation-list-row-D9F76HD3.js";import"./site-error--i37Vnuw.js";import"./use-org-repo-syncs-BxcwxkRp.js";import"./cards-CQvmEd1A.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Mt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e,o=typeof t=="string",s=typeof r=="string";if(!o&&!s)return null;const i=o?new Date(t):Ct,a=s?new Date(r):Mt;return Number.isNaN(i.getTime())||Number.isNaN(a.getTime())||o&&s&&a.getTime()<=i.getTime()?null:{start:i,end:a,openStart:!o,openEnd:!s}}function pt(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(Et.has(r)){const o=Rt(e);o&&t.push(o);return}if(St.has(r)){const o=e.matchers;if(Array.isArray(o))for(const s of o)pt(s,t)}}}function Dt(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const r=e.variants;return Array.isArray(r)}function Ot(e){if(typeof e=="string"){const c=e.trim();if(c.length===0)return null;try{const m=new URL(c).pathname.split("/").filter(Boolean),p=m[m.length-1];if(p)return decodeURIComponent(p)}catch{}return c.length>80?`${c.slice(0,77)}…`:c}if(!e||typeof e!="object")return null;const t=e,r=t.config,s=t.desktop?.media,i=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,s?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const c of i)if(typeof c=="string"&&c.trim().length>0)return c.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let r=0;r<e.length;r++){const o=e[r];typeof o=="number"?t.length>0?t[t.length-1]+=`[${o}]`:t.push(`[${o}]`):t.push(o)}return t.join(" · ")}function Q(e,t,r,o,s){if(Dt(e)){const i=e.variants,a=e.__resolveType,c=$t.test(a)?"":Pt(o);i.forEach((l,m)=>{if(!l||typeof l!="object")return;const p=l,h=[];if(pt(p.rule,h),h.length===0)return;const g=Ot(p.value)??(c||r);for(const u of h)s.push({blockKey:t,blockLabel:r,innerPath:c,variantIndex:m,start:u.start,end:u.end,openStart:u.openStart,openEnd:u.openEnd,label:g,flagResolveType:a})});for(let l=0;l<i.length;l++){const m=i[l];m&&typeof m=="object"&&Q(m.value,t,r,[...o,"variants",l,"value"],s)}return}if(Array.isArray(e)){for(let i=0;i<e.length;i++)Q(e[i],t,r,[...o,i],s);return}if(e&&typeof e=="object")for(const[i,a]of Object.entries(e))i!=="__resolveType"&&Q(a,t,r,[...o,i],s)}function It(e){if(!e)return[];const t=[];for(const[r,o]of Object.entries(e))Q(o,r,Lt(r),[],t);return t.sort((r,o)=>r.start.getTime()-o.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((o,s)=>{const i=s*137.508%360;r.set(o,{bg:`oklch(0.62 0.14 ${i})`,text:"white",border:`oklch(0.50 0.14 ${i})`})}),r}const Bt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function dt(e,t){return e.get(t)??Bt}const ot=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ht(e,t){const r=e.openStart?t("sandbox.variantCalendar.always"):ot.format(e.start),o=e.openEnd?t("sandbox.variantCalendar.ongoing"):ot.format(e.end);return`${r} → ${o}`}function Ft(e){const t=K.c(18),{variant:r}=e,o=X();let s;t[0]!==r.blockLabel?(s=n.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=s):s=t[1];let i;t[2]!==r.innerPath?(i=r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=i):i=t[3];let a;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(a=r.label!==r.blockLabel&&r.label!==r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=a):a=t[7];let c;t[8]!==o||t[9]!==r?(c=Ht(r,o),t[8]=o,t[9]=r,t[10]=c):c=t[10];let l;t[11]!==c?(l=n.jsx("div",{className:"mt-1",children:c}),t[11]=c,t[12]=l):l=t[12];let m;return t[13]!==s||t[14]!==i||t[15]!==a||t[16]!==l?(m=n.jsx(xt,{children:n.jsxs("div",{className:"text-xs",children:[s,i,a,l]})}),t[13]=s,t[14]=i,t[15]=a,t[16]=l,t[17]=m):m=t[17],m}const nt=16;function zt(e,t){const r=e?"transparent":"#000 0",o=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${r}, #000 ${nt}px, #000 calc(100% - ${nt}px), ${o})`}function ft(e){const t=K.c(26),{variant:r,color:o,style:s,children:i,fadeStart:a,fadeEnd:c}=e,l=a===void 0?!1:a,m=c===void 0?!1:c;let p;t[0]!==m||t[1]!==l?(p=zt(l,m),t[0]=m,t[1]=l,t[2]=p):p=t[2];const h=p;let f;t[3]!==l?(f=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=f):f=t[4];let g;t[5]!==m?(g=m&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=m,t[6]=g):g=t[6];let u;t[7]!==h?(u=h&&{maskImage:h,WebkitMaskImage:h},t[7]=h,t[8]=u):u=t[8];let x;t[9]!==o.bg||t[10]!==o.text||t[11]!==s||t[12]!==f||t[13]!==g||t[14]!==u?(x={background:o.bg,color:o.text,borderRadius:4,...f,...g,...u,...s},t[9]=o.bg,t[10]=o.text,t[11]=s,t[12]=f,t[13]=g,t[14]=u,t[15]=x):x=t[15];let b;t[16]!==i?(b=n.jsx("span",{className:"truncate",children:i}),t[16]=i,t[17]=b):b=t[17];let E;t[18]!==x||t[19]!==b?(E=n.jsx(ut,{asChild:!0,children:n.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:x,children:b})}),t[18]=x,t[19]=b,t[20]=E):E=t[20];let T;t[21]!==r?(T=n.jsx(Ft,{variant:r}),t[21]=r,t[22]=T):T=t[22];let d;return t[23]!==T||t[24]!==E?(d=n.jsxs(ht,{children:[E,T]}),t[23]=T,t[24]=E,t[25]=d):d=t[25],d}function sn(e){const t=K.c(72),{decofile:r}=e,o=X(),[s,i]=Z.useState("calendar"),[a,c]=Z.useState(Kt),[l,m]=Z.useState(!1);let p,h,f;if(t[0]!==r||t[1]!==l){const I=It(r);p=I.filter(Ut).length,f=l?I:I.filter(Gt),h=Vt(f.map(Wt)),t[0]=r,t[1]=l,t[2]=p,t[3]=h,t[4]=f}else p=t[2],h=t[3],f=t[4];const g=h;let u;t[5]===Symbol.for("react.memo_cache_sentinel")?(u=()=>c(mt(new Date)),t[5]=u):u=t[5];const x=u;let b;t[6]!==s?(b=()=>c(I=>s==="calendar"?U(I,-1):U(I,-3)),t[6]=s,t[7]=b):b=t[7];const E=b;let T;t[8]!==s?(T=()=>c(I=>s==="calendar"?U(I,1):U(I,3)),t[8]=s,t[9]=T):T=t[9];const d=T;let v;t[10]!==o?(v=o("sandbox.variantCalendar.today"),t[10]=o,t[11]=v):v=t[11];let y;t[12]!==v?(y=n.jsx(tt,{variant:"outline",size:"sm",onClick:x,children:v}),t[12]=v,t[13]=y):y=t[13];let N;t[14]!==o?(N=o("sandbox.variantCalendar.previous"),t[14]=o,t[15]=N):N=t[15];let A;t[16]===Symbol.for("react.memo_cache_sentinel")?(A=n.jsx(gt,{size:16}),t[16]=A):A=t[16];let _;t[17]!==E||t[18]!==N?(_=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:E,"aria-label":N,children:A}),t[17]=E,t[18]=N,t[19]=_):_=t[19];let k;t[20]!==o?(k=o("sandbox.variantCalendar.next"),t[20]=o,t[21]=k):k=t[21];let C;t[22]===Symbol.for("react.memo_cache_sentinel")?(C=n.jsx(vt,{size:16}),t[22]=C):C=t[22];let $;t[23]!==d||t[24]!==k?($=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:d,"aria-label":k,children:C}),t[23]=d,t[24]=k,t[25]=$):$=t[25];const L=ct[a.getMonth()];let M;t[26]!==a?(M=a.getFullYear(),t[26]=a,t[27]=M):M=t[27];let w;t[28]!==L||t[29]!==M?(w=n.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[L," ",M]}),t[28]=L,t[29]=M,t[30]=w):w=t[30];let j;t[31]!==$||t[32]!==w||t[33]!==y||t[34]!==_?(j=n.jsxs("div",{className:"flex items-center gap-2",children:[y,_,$,w]}),t[31]=$,t[32]=w,t[33]=y,t[34]=_,t[35]=j):j=t[35];let R;t[36]!==p||t[37]!==l||t[38]!==o?(R=p>0&&n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(jt,{id:"show-ongoing",checked:l,onCheckedChange:m}),n.jsx(yt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:o("sandbox.variantCalendar.showOngoing",{count:p})})]}),t[36]=p,t[37]=l,t[38]=o,t[39]=R):R=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=n.jsx(at,{}),t[40]=H):H=t[40];let V;t[41]!==o?(V=o("sandbox.variantCalendar.calendarMode"),t[41]=o,t[42]=V):V=t[42];let S;t[43]!==V?(S={value:"calendar",icon:H,label:V},t[43]=V,t[44]=S):S=t[44];let F;t[45]===Symbol.for("react.memo_cache_sentinel")?(F=n.jsx(bt,{}),t[45]=F):F=t[45];let D;t[46]!==o?(D=o("sandbox.variantCalendar.timelineMode"),t[46]=o,t[47]=D):D=t[47];let O;t[48]!==D?(O={value:"timeline",icon:F,label:D},t[48]=D,t[49]=O):O=t[49];let P;t[50]!==S||t[51]!==O?(P=[S,O],t[50]=S,t[51]=O,t[52]=P):P=t[52];let B;t[53]!==P||t[54]!==s?(B=n.jsx(Tt,{value:s,onValueChange:i,options:P}),t[53]=P,t[54]=s,t[55]=B):B=t[55];let z;t[56]!==R||t[57]!==B?(z=n.jsxs("div",{className:"flex items-center gap-4",children:[R,B]}),t[56]=R,t[57]=B,t[58]=z):z=t[58];let W;t[59]!==j||t[60]!==z?(W=n.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,z]}),t[59]=j,t[60]=z,t[61]=W):W=t[61];let G;t[62]!==g||t[63]!==a||t[64]!==p||t[65]!==l||t[66]!==f||t[67]!==s?(G=f.length===0?n.jsx(Yt,{hiddenOngoing:l?0:p}):s==="calendar"?n.jsx(Jt,{monthStart:a,variants:f,colorMap:g}):n.jsx(te,{monthStart:a,variants:f,colorMap:g}),t[62]=g,t[63]=a,t[64]=p,t[65]=l,t[66]=f,t[67]=s,t[68]=G):G=t[68];let q;return t[69]!==W||t[70]!==G?(q=n.jsxs("div",{className:"flex h-full w-full flex-col",children:[W,G]}),t[69]=W,t[70]=G,t[71]=q):q=t[71],q}function Wt(e){return e.blockKey}function Gt(e){return!e.openEnd}function Ut(e){return e.openEnd}function Kt(){return mt(new Date)}function Yt(e){const t=K.c(4),{hiddenOngoing:r}=e,o=r===void 0?0:r,s=X();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=n.jsx(at,{size:24,className:"text-muted-foreground/60"}),t[0]=i):i=t[0];let a;return t[1]!==o||t[2]!==s?(a=n.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[i,o>0?n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noDatedVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.hiddenOngoingVariants",{count:o})})]}):n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noScheduledVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=o,t[2]=s,t[3]=a):a=t[3],a}const et=20,it=2,st=28,qt=6;function Jt(e){const t=K.c(17),{monthStart:r,variants:o,colorMap:s}=e;let i,a,c,l,m;if(t[0]!==s||t[1]!==r||t[2]!==o){const f=Nt(r),g=_t(new Date);i=lt,m="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:wt.map(Xt)}),t[8]=c):c=t[8],l=f.map((u,x)=>{const b=kt(u,o),E=b.reduce(Qt,0),T=st+E*(et+it)+8;return n.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[u.map((d,v)=>{const y=d.getMonth()===r.getMonth(),N=d.getTime()===g.getTime();return n.jsx("div",{className:rt("border-r last:border-r-0 px-2 pt-1.5 text-xs",y?"bg-background":"bg-muted/30 text-muted-foreground"),children:n.jsx("span",{className:rt("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:d.getDate()})},v)}),b.map((d,v)=>{const y=dt(s,d.variant.blockKey),N=st+d.lane*(et+it),A=d.leftUnits/7*100,_=d.widthUnits/7*100,k=d.variant.openStart&&x===0,C=d.variant.openEnd&&x===f.length-1;return n.jsxs(ft,{variant:d.variant,color:y,fadeStart:k,fadeEnd:C,style:{top:N,left:`calc(${A}% + 2px)`,width:`calc(${_}% - 4px)`,minWidth:qt,height:et},children:[d.variant.blockLabel,d.variant.label!==d.variant.blockLabel&&n.jsxs("span",{className:"opacity-70",children:[" · ",d.variant.label]})]},`${x}-${v}`)})]},x)}),t[0]=s,t[1]=r,t[2]=o,t[3]=i,t[4]=a,t[5]=c,t[6]=l,t[7]=m}else i=t[3],a=t[4],c=t[5],l=t[6],m=t[7];let p;t[9]!==a||t[10]!==c||t[11]!==l?(p=n.jsxs("div",{className:a,children:[c,l]}),t[9]=a,t[10]=c,t[11]=l,t[12]=p):p=t[12];let h;return t[13]!==i||t[14]!==m||t[15]!==p?(h=n.jsx(i,{className:m,children:p}),t[13]=i,t[14]=m,t[15]=p,t[16]=h):h=t[16],h}function Qt(e,t){return Math.max(e,t.lane+1)}function Xt(e){return n.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const J=4,Zt=32,Y=240;function te(e){const t=K.c(23),{monthStart:r,variants:o,colorMap:s}=e,i=r,a=U(r,J),c=new Date,l=new Map;for(const w of o){const j=l.get(w.blockKey)??[];j.push(w),l.set(w.blockKey,j)}const m=Array.from(l.entries()).sort(oe),p=a.getTime()-i.getTime(),h=w=>(Math.max(i.getTime(),Math.min(a.getTime(),w.getTime()))-i.getTime())/p*100;let f;t[0]!==i?(f=(w,j)=>U(i,j),t[0]=i,t[1]=f):f=t[1];const g=Array.from({length:J},f),u=c.getTime()>=i.getTime()&&c.getTime()<=a.getTime()?h(c):null,x=X(),b=lt,E="flex-1 min-h-0",T="min-w-[900px] relative";let d;t[2]===Symbol.for("react.memo_cache_sentinel")?(d={width:Y},t[2]=d):d=t[2];let v;t[3]!==x?(v=x("sandbox.variantCalendar.variantBlock"),t[3]=x,t[4]=v):v=t[4];let y;t[5]!==v?(y=n.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:d,children:v}),t[5]=v,t[6]=y):y=t[6];let N;t[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},t[7]=N):N=t[7];const A=g.map(re);let _;t[8]!==A?(_=n.jsx("div",{className:"flex-1 grid",style:N,children:A}),t[8]=A,t[9]=_):_=t[9];let k;t[10]!==y||t[11]!==_?(k=n.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[y,_]}),t[10]=y,t[11]=_,t[12]=k):k=t[12];let C;t[13]!==x||t[14]!==u?(C=u!==null&&n.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) * ${u} / 100)`},children:n.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:x("sandbox.variantCalendar.todayLabel")})}),t[13]=x,t[14]=u,t[15]=C):C=t[15];const $=m.map(w=>{const[j,R]=w,H=dt(s,j),V=R[0]?.blockLabel??j;return n.jsxs("div",{children:[n.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:n.jsx("div",{className:"px-3 truncate",style:{width:Y},children:V})}),R.map((S,F)=>n.jsxs("div",{className:"flex border-b items-center",style:{height:Zt},children:[n.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:Y},children:[n.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),n.jsx("span",{className:"truncate text-foreground/80",children:S.label})]}),n.jsxs("div",{className:"relative flex-1 h-full",children:[n.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},children:g.map(ee)}),(()=>{const D=Math.max(S.start.getTime(),i.getTime()),O=Math.min(S.end.getTime(),a.getTime());if(O<=D)return null;const P=h(new Date(D)),B=h(new Date(O))-P;return n.jsx(ft,{variant:S,color:H,fadeStart:S.openStart,fadeEnd:S.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${P}%`,width:`calc(${B}% - 2px)`,height:22},children:S.label})})()]})]},F))]},j)});let L;t[16]!==k||t[17]!==C||t[18]!==$?(L=n.jsxs("div",{className:T,children:[k,C,$]}),t[16]=k,t[17]=C,t[18]=$,t[19]=L):L=t[19];let M;return t[20]!==b||t[21]!==L?(M=n.jsx(b,{className:E,children:L}),t[20]=b,t[21]=L,t[22]=M):M=t[22],M}function ee(e,t){return n.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function re(e,t){return n.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ct[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function oe(e,t){return e[0].localeCompare(t[0])}export{sn as VariantCalendar};
|
|
1
|
+
import{c as K,b as X,r as Z,j as n,n as rt,a8 as ut,ab as ht,B as tt,a9 as xt}from"./index-DciLlmwa.js";import{r as gt,T as at,aB as bt}from"./agent-icon-CC9Z06rN.js";import{i as vt}from"./ChevronRight-9VLaoIJr.js";import{L as yt}from"./label-BtZvKfUj.js";import{S as lt}from"./scroll-area-BRzQDw0p.js";import{S as jt}from"./switch-DhSIdR_i.js";import{V as Tt}from"./view-mode-toggle-TOrAfdxo.js";import{bt as ct,bu as mt,bv as Nt,bw as _t,bx as kt,by as U,bz as wt}from"./index-Dj-X1D5T.js";import"./AlertCircle-CDf-1fgB.js";import"./UserSquare-DZILSTAV.js";import"./Tool01-NuHET0TB.js";import"./ArrowUp-CQCcsSr2.js";import"./ArrowLeft-D4-rSSOO.js";import"./Tool02-BxEFJxsp.js";import"./XCircle-Dmf1pYcj.js";import"./TrendUp01-CgzeEf72.js";import"./ZapSquare-C2dmow5g.js";import"./ZoomOut-D7VGlEjF.js";import"./Users03-BBaGsBw5.js";import"./CheckCircle-DphAGsbS.js";import"./Check-7ocjoIXN.js";import"./ChevronDown-BR9TODzF.js";import"./ChevronSelectorVertical-Bn9j0Ema.js";import"./ChevronUp-C3SQKJxr.js";import"./DotsVertical-OqyOwIiN.js";import"./Stars02-vre0PXyQ.js";import"./Copy01-CA6VVU-a.js";import"./CreditCard01-CPKDwF7m.js";import"./Download01-B_J9t-g9.js";import"./Settings02-B7XpEMT7.js";import"./Eye-Be1AmDrH.js";import"./FilterLines-Co9RKuys.js";import"./Share07-C3HLtC_Q.js";import"./GitBranch01-DQ70huzz.js";import"./Globe01-DHImgLhK.js";import"./Globe04-Cw5MzUDE.js";import"./SwitchHorizontal01-P_l789rh.js";import"./HardDrive-d5KIOGxl.js";import"./Image01-DoxqZuao.js";import"./Key01-CC4iAOyg.js";import"./LinkExternal01-DBRDc7ru.js";import"./LockUnlocked01-Y8Ajlv9q.js";import"./LogOut01-BU2nkldQ.js";import"./Monitor01-DVDq_AN5.js";import"./Sun-uoz2pAN5.js";import"./Package-DFkIznzL.js";import"./Palette-Cs8ejiSg.js";import"./Play-CNiUPYEL.js";import"./Plus-DTvlgSaM.js";import"./SearchLg-COOYlmn-.js";import"./SearchMd-BATwmNWi.js";import"./Shield01-D69Bdv4o.js";import"./Stars01-DYFaDQqN.js";import"./Trash01-D1rpDCu6.js";import"./Upload01-Dmez9BI0.js";import"./User01-B0HqnS6D.js";import"./Users01-CxE4vnGm.js";import"./XClose-wKxrNwWi.js";import"./Zap-abXMz_mv.js";import"./select-C7dHMUjj.js";import"./chat-context-BNgPtjiy.js";import"./use-panel-navigate-Dg50gg4z.js";import"./use-destination-route-D-qOMxxB.js";import"./thread-route-CwzU1Ead.js";import"./dialog-T-Mu83_j.js";import"./constants-dLUUoWH7.js";import"./session-runtime-C-KTDVeQ.js";import"./slugify-CEUa2lfQ.js";import"./hooks-8AhZo6f9.js";import"./use-mcp-client-vvCs8A5I.js";import"./auth-CQnVkfUx.js";import"./delay-CnY5UFtP.js";import"./backoff-CrEUbyZT.js";import"./decopilot-sse-pool-CMzBQzG6.js";import"./task-board-BofYkJKh.js";import"./use-is-desktop-app-BNujXJc_.js";import"./use-virtual-mcp-J8dDcIjt.js";import"./use-ai-providers-B2TnNV5-.js";import"./location-oTTXFrSF.js";import"./use-decopilot-events-CbnRp_ep.js";import"./use-organization-settings-14ZS51R4.js";import"./automation-runs-BMT6RTQr.js";import"./useInfiniteQuery-C3K_2WOD.js";import"./use-infinite-scroll-5WfwCRZM.js";import"./use-connection-C4Qtd4a2.js";import"./table-3BAP3nRu.js";import"./empty-state-B5FRHhEP.js";import"./use-members-BDggsWhk.js";import"./use-org-auth-client-B3V2sdnG.js";import"./use-automations-CKQ6EyU4.js";import"./useSuspenseInfiniteQuery-B7N9im0E.js";import"./avatar-7UTfZX29.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-DSV6b9Nj.js";import"./markdown-C51ISfH6.js";import"./monaco-editor-BqC_sy_Z.js";import"./spinner-BVVWNq8r.js";import"./editor-C5VF4tAp.js";import"./types-t_EGCMnY.js";import"./shell-layout-DpdIn9G6.js";import"./required-auth-layout-Dn7mOGYZ.js";import"./use-org-sso-C9f69J_l.js";import"./integration-icon-N_ohk-RU.js";import"./use-navigate-to-agent-CSTEre4d.js";import"./chart-CX1a6FwH.js";import"./index-BK2IH5lq.js";import"./form-CKHTMWs_.js";import"./input-DWRx0ZaP.js";import"./file-type-icon-DkwHQ_Eh.js";import"./drawer-CC9EmOKr.js";import"./collection-search-Cui6cogE.js";import"./tabs-CZYV0g18.js";import"./toggle-group-nCsZAWah.js";import"./super-agent-icon-BpRzhjH8.js";import"./self-tool-result-Dh4Aev6w.js";import"./alert-dialog-LpLRVXym.js";import"./extract-connection-data-CEOmOrIN.js";import"./metadata-dUsYcpuu.js";import"./provision-repo-scoped-github-connection-CMPWtdMv.js";import"./use-debounced-value-B_xEv_PQ.js";import"./authenticate-and-persist-oauth-o-iFa_kH.js";import"./mcp-oauth-COIn0o4T.js";import"./track-BcC0Br5S.js";import"./popover-CQgQYm0L.js";import"./toolbar-B0u9fQTi.js";import"./github-repo-picker-CxxRKD0_.js";import"./use-mcp-tools-CRhMhE6W.js";import"./agent-capabilities-B52k7xCe.js";import"./connection-card-CmNObnd0.js";import"./use-registry-connections-CE2qAPU4.js";import"./retry-CErkP7V6.js";import"./connection-slug-CITJ0kGN.js";import"./textarea-Bfs9jOFb.js";import"./connection-form-helpers-DdL2pxwl.js";import"./collection-tabs-BdjT08Pp.js";import"./badge-CZwiP8Mh.js";import"./select-model-L569zV83.js";import"./checkbox-DHNi9TwB.js";import"./ai-providers-logos-DD3qZ33J.js";import"./folder-icon-4LVZL-xj.js";import"./dropdown-menu-CzEOfCNw.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-D4apeuQF.js";import"./skill-preview-CjbqeA4b.js";import"./use-file-configs-nRprTGn8.js";import"./pt-BR-CLy76QW2.js";import"./use-debounced-autosave-B_d0dA1g.js";import"./search-input-BRS1SeNv.js";import"./use-mcp-auth-status-DVpW-QTl.js";import"./use-secrets-DJ7LOxFA.js";import"./AreaChart-TLg-i3WX.js";import"./config-CcCsXfrl.js";import"./command-BBzO5i9f.js";import"./index-CQc-SVqm.js";import"./get-initials-D-f_fDFw.js";import"./breadcrumb-DzAjweTo.js";import"./use-tags-CZFhmeee.js";import"./automation-list-row-D2XiQ0CR.js";import"./site-error--i37Vnuw.js";import"./use-org-repo-syncs-C85L1-LH.js";import"./cards-DZBwSuFg.js";const Et=new Set(["website/matchers/date.ts","$live/matchers/MatchDate.ts"]),St=new Set(["website/matchers/multi.ts","$live/matchers/MatchMulti.ts"]),Ct=new Date(-864e13),Mt=new Date(864e13),At=/\/flags\/multivariate(?:\/[^/]+)?\.ts$/,$t=/\/flags\/multivariate\.ts$/;function Lt(e){let t=e;t.startsWith("pages-")&&(t=t.slice(6).replace(/-\d+$/,""));try{t=decodeURIComponent(t)}catch{}return t}function Rt(e){if(!e||typeof e!="object")return null;const{start:t,end:r}=e,o=typeof t=="string",s=typeof r=="string";if(!o&&!s)return null;const i=o?new Date(t):Ct,a=s?new Date(r):Mt;return Number.isNaN(i.getTime())||Number.isNaN(a.getTime())||o&&s&&a.getTime()<=i.getTime()?null:{start:i,end:a,openStart:!o,openEnd:!s}}function pt(e,t){if(!e||typeof e!="object")return;const r=e.__resolveType;if(typeof r=="string"){if(Et.has(r)){const o=Rt(e);o&&t.push(o);return}if(St.has(r)){const o=e.matchers;if(Array.isArray(o))for(const s of o)pt(s,t)}}}function Dt(e){if(!e||typeof e!="object")return!1;const t=e.__resolveType;if(typeof t!="string"||!At.test(t))return!1;const r=e.variants;return Array.isArray(r)}function Ot(e){if(typeof e=="string"){const c=e.trim();if(c.length===0)return null;try{const m=new URL(c).pathname.split("/").filter(Boolean),p=m[m.length-1];if(p)return decodeURIComponent(p)}catch{}return c.length>80?`${c.slice(0,77)}…`:c}if(!e||typeof e!="object")return null;const t=e,r=t.config,s=t.desktop?.media,i=[t.title,t.name,t.label,t.alt,r?.title,r?.name,r?.typeAlert?.message,s?.alt,Array.isArray(t.matcher)?t.matcher[0]:void 0];for(const c of i)if(typeof c=="string"&&c.trim().length>0)return c.trim();const a=t.__resolveType;if(typeof a=="string"){const l=(a.split("/").pop()??a).replace(/\.(tsx?|jsx?)$/i,"");if(l.length>0)return l}return null}function Pt(e){const t=[];for(let r=0;r<e.length;r++){const o=e[r];typeof o=="number"?t.length>0?t[t.length-1]+=`[${o}]`:t.push(`[${o}]`):t.push(o)}return t.join(" · ")}function Q(e,t,r,o,s){if(Dt(e)){const i=e.variants,a=e.__resolveType,c=$t.test(a)?"":Pt(o);i.forEach((l,m)=>{if(!l||typeof l!="object")return;const p=l,h=[];if(pt(p.rule,h),h.length===0)return;const g=Ot(p.value)??(c||r);for(const u of h)s.push({blockKey:t,blockLabel:r,innerPath:c,variantIndex:m,start:u.start,end:u.end,openStart:u.openStart,openEnd:u.openEnd,label:g,flagResolveType:a})});for(let l=0;l<i.length;l++){const m=i[l];m&&typeof m=="object"&&Q(m.value,t,r,[...o,"variants",l,"value"],s)}return}if(Array.isArray(e)){for(let i=0;i<e.length;i++)Q(e[i],t,r,[...o,i],s);return}if(e&&typeof e=="object")for(const[i,a]of Object.entries(e))i!=="__resolveType"&&Q(a,t,r,[...o,i],s)}function It(e){if(!e)return[];const t=[];for(const[r,o]of Object.entries(e))Q(o,r,Lt(r),[],t);return t.sort((r,o)=>r.start.getTime()-o.start.getTime())}function Vt(e){const t=[...new Set(e)].sort(),r=new Map;return t.forEach((o,s)=>{const i=s*137.508%360;r.set(o,{bg:`oklch(0.62 0.14 ${i})`,text:"white",border:`oklch(0.50 0.14 ${i})`})}),r}const Bt={bg:"oklch(0.62 0.14 0)",text:"white",border:"oklch(0.50 0.14 0)"};function dt(e,t){return e.get(t)??Bt}const ot=new Intl.DateTimeFormat("en",{dateStyle:"medium",timeStyle:"short"});function Ht(e,t){const r=e.openStart?t("sandbox.variantCalendar.always"):ot.format(e.start),o=e.openEnd?t("sandbox.variantCalendar.ongoing"):ot.format(e.end);return`${r} → ${o}`}function Ft(e){const t=K.c(18),{variant:r}=e,o=X();let s;t[0]!==r.blockLabel?(s=n.jsx("div",{className:"font-semibold",children:r.blockLabel}),t[0]=r.blockLabel,t[1]=s):s=t[1];let i;t[2]!==r.innerPath?(i=r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.innerPath}),t[2]=r.innerPath,t[3]=i):i=t[3];let a;t[4]!==r.blockLabel||t[5]!==r.innerPath||t[6]!==r.label?(a=r.label!==r.blockLabel&&r.label!==r.innerPath&&n.jsx("div",{className:"text-muted-foreground",children:r.label}),t[4]=r.blockLabel,t[5]=r.innerPath,t[6]=r.label,t[7]=a):a=t[7];let c;t[8]!==o||t[9]!==r?(c=Ht(r,o),t[8]=o,t[9]=r,t[10]=c):c=t[10];let l;t[11]!==c?(l=n.jsx("div",{className:"mt-1",children:c}),t[11]=c,t[12]=l):l=t[12];let m;return t[13]!==s||t[14]!==i||t[15]!==a||t[16]!==l?(m=n.jsx(xt,{children:n.jsxs("div",{className:"text-xs",children:[s,i,a,l]})}),t[13]=s,t[14]=i,t[15]=a,t[16]=l,t[17]=m):m=t[17],m}const nt=16;function zt(e,t){const r=e?"transparent":"#000 0",o=t?"transparent":"#000 100%";if(!(!e&&!t))return`linear-gradient(to right, ${r}, #000 ${nt}px, #000 calc(100% - ${nt}px), ${o})`}function ft(e){const t=K.c(26),{variant:r,color:o,style:s,children:i,fadeStart:a,fadeEnd:c}=e,l=a===void 0?!1:a,m=c===void 0?!1:c;let p;t[0]!==m||t[1]!==l?(p=zt(l,m),t[0]=m,t[1]=l,t[2]=p):p=t[2];const h=p;let f;t[3]!==l?(f=l&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},t[3]=l,t[4]=f):f=t[4];let g;t[5]!==m?(g=m&&{borderTopRightRadius:0,borderBottomRightRadius:0},t[5]=m,t[6]=g):g=t[6];let u;t[7]!==h?(u=h&&{maskImage:h,WebkitMaskImage:h},t[7]=h,t[8]=u):u=t[8];let x;t[9]!==o.bg||t[10]!==o.text||t[11]!==s||t[12]!==f||t[13]!==g||t[14]!==u?(x={background:o.bg,color:o.text,borderRadius:4,...f,...g,...u,...s},t[9]=o.bg,t[10]=o.text,t[11]=s,t[12]=f,t[13]=g,t[14]=u,t[15]=x):x=t[15];let b;t[16]!==i?(b=n.jsx("span",{className:"truncate",children:i}),t[16]=i,t[17]=b):b=t[17];let E;t[18]!==x||t[19]!==b?(E=n.jsx(ut,{asChild:!0,children:n.jsx("div",{className:"absolute flex items-center px-2 text-[11px] font-medium truncate cursor-default",style:x,children:b})}),t[18]=x,t[19]=b,t[20]=E):E=t[20];let T;t[21]!==r?(T=n.jsx(Ft,{variant:r}),t[21]=r,t[22]=T):T=t[22];let d;return t[23]!==T||t[24]!==E?(d=n.jsxs(ht,{children:[E,T]}),t[23]=T,t[24]=E,t[25]=d):d=t[25],d}function sn(e){const t=K.c(72),{decofile:r}=e,o=X(),[s,i]=Z.useState("calendar"),[a,c]=Z.useState(Kt),[l,m]=Z.useState(!1);let p,h,f;if(t[0]!==r||t[1]!==l){const I=It(r);p=I.filter(Ut).length,f=l?I:I.filter(Gt),h=Vt(f.map(Wt)),t[0]=r,t[1]=l,t[2]=p,t[3]=h,t[4]=f}else p=t[2],h=t[3],f=t[4];const g=h;let u;t[5]===Symbol.for("react.memo_cache_sentinel")?(u=()=>c(mt(new Date)),t[5]=u):u=t[5];const x=u;let b;t[6]!==s?(b=()=>c(I=>s==="calendar"?U(I,-1):U(I,-3)),t[6]=s,t[7]=b):b=t[7];const E=b;let T;t[8]!==s?(T=()=>c(I=>s==="calendar"?U(I,1):U(I,3)),t[8]=s,t[9]=T):T=t[9];const d=T;let v;t[10]!==o?(v=o("sandbox.variantCalendar.today"),t[10]=o,t[11]=v):v=t[11];let y;t[12]!==v?(y=n.jsx(tt,{variant:"outline",size:"sm",onClick:x,children:v}),t[12]=v,t[13]=y):y=t[13];let N;t[14]!==o?(N=o("sandbox.variantCalendar.previous"),t[14]=o,t[15]=N):N=t[15];let A;t[16]===Symbol.for("react.memo_cache_sentinel")?(A=n.jsx(gt,{size:16}),t[16]=A):A=t[16];let _;t[17]!==E||t[18]!==N?(_=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:E,"aria-label":N,children:A}),t[17]=E,t[18]=N,t[19]=_):_=t[19];let k;t[20]!==o?(k=o("sandbox.variantCalendar.next"),t[20]=o,t[21]=k):k=t[21];let C;t[22]===Symbol.for("react.memo_cache_sentinel")?(C=n.jsx(vt,{size:16}),t[22]=C):C=t[22];let $;t[23]!==d||t[24]!==k?($=n.jsx(tt,{variant:"ghost",size:"icon",className:"size-8",onClick:d,"aria-label":k,children:C}),t[23]=d,t[24]=k,t[25]=$):$=t[25];const L=ct[a.getMonth()];let M;t[26]!==a?(M=a.getFullYear(),t[26]=a,t[27]=M):M=t[27];let w;t[28]!==L||t[29]!==M?(w=n.jsxs("h2",{className:"ml-2 text-base font-semibold",children:[L," ",M]}),t[28]=L,t[29]=M,t[30]=w):w=t[30];let j;t[31]!==$||t[32]!==w||t[33]!==y||t[34]!==_?(j=n.jsxs("div",{className:"flex items-center gap-2",children:[y,_,$,w]}),t[31]=$,t[32]=w,t[33]=y,t[34]=_,t[35]=j):j=t[35];let R;t[36]!==p||t[37]!==l||t[38]!==o?(R=p>0&&n.jsxs("div",{className:"flex items-center gap-2",children:[n.jsx(jt,{id:"show-ongoing",checked:l,onCheckedChange:m}),n.jsx(yt,{htmlFor:"show-ongoing",className:"text-xs text-muted-foreground cursor-pointer",children:o("sandbox.variantCalendar.showOngoing",{count:p})})]}),t[36]=p,t[37]=l,t[38]=o,t[39]=R):R=t[39];let H;t[40]===Symbol.for("react.memo_cache_sentinel")?(H=n.jsx(at,{}),t[40]=H):H=t[40];let V;t[41]!==o?(V=o("sandbox.variantCalendar.calendarMode"),t[41]=o,t[42]=V):V=t[42];let S;t[43]!==V?(S={value:"calendar",icon:H,label:V},t[43]=V,t[44]=S):S=t[44];let F;t[45]===Symbol.for("react.memo_cache_sentinel")?(F=n.jsx(bt,{}),t[45]=F):F=t[45];let D;t[46]!==o?(D=o("sandbox.variantCalendar.timelineMode"),t[46]=o,t[47]=D):D=t[47];let O;t[48]!==D?(O={value:"timeline",icon:F,label:D},t[48]=D,t[49]=O):O=t[49];let P;t[50]!==S||t[51]!==O?(P=[S,O],t[50]=S,t[51]=O,t[52]=P):P=t[52];let B;t[53]!==P||t[54]!==s?(B=n.jsx(Tt,{value:s,onValueChange:i,options:P}),t[53]=P,t[54]=s,t[55]=B):B=t[55];let z;t[56]!==R||t[57]!==B?(z=n.jsxs("div",{className:"flex items-center gap-4",children:[R,B]}),t[56]=R,t[57]=B,t[58]=z):z=t[58];let W;t[59]!==j||t[60]!==z?(W=n.jsxs("div",{className:"flex items-center justify-between px-4 h-12 border-b shrink-0",children:[j,z]}),t[59]=j,t[60]=z,t[61]=W):W=t[61];let G;t[62]!==g||t[63]!==a||t[64]!==p||t[65]!==l||t[66]!==f||t[67]!==s?(G=f.length===0?n.jsx(Yt,{hiddenOngoing:l?0:p}):s==="calendar"?n.jsx(Jt,{monthStart:a,variants:f,colorMap:g}):n.jsx(te,{monthStart:a,variants:f,colorMap:g}),t[62]=g,t[63]=a,t[64]=p,t[65]=l,t[66]=f,t[67]=s,t[68]=G):G=t[68];let q;return t[69]!==W||t[70]!==G?(q=n.jsxs("div",{className:"flex h-full w-full flex-col",children:[W,G]}),t[69]=W,t[70]=G,t[71]=q):q=t[71],q}function Wt(e){return e.blockKey}function Gt(e){return!e.openEnd}function Ut(e){return e.openEnd}function Kt(){return mt(new Date)}function Yt(e){const t=K.c(4),{hiddenOngoing:r}=e,o=r===void 0?0:r,s=X();let i;t[0]===Symbol.for("react.memo_cache_sentinel")?(i=n.jsx(at,{size:24,className:"text-muted-foreground/60"}),t[0]=i):i=t[0];let a;return t[1]!==o||t[2]!==s?(a=n.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center gap-2 text-center text-sm text-muted-foreground p-6",children:[i,o>0?n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noDatedVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.hiddenOngoingVariants",{count:o})})]}):n.jsxs(n.Fragment,{children:[n.jsx("div",{children:s("sandbox.variantCalendar.noScheduledVariants")}),n.jsx("div",{className:"text-xs text-muted-foreground/80",children:s("sandbox.variantCalendar.dateMatcherInfo")})]})]}),t[1]=o,t[2]=s,t[3]=a):a=t[3],a}const et=20,it=2,st=28,qt=6;function Jt(e){const t=K.c(17),{monthStart:r,variants:o,colorMap:s}=e;let i,a,c,l,m;if(t[0]!==s||t[1]!==r||t[2]!==o){const f=Nt(r),g=_t(new Date);i=lt,m="flex-1 min-h-0",a="min-w-[840px]",t[8]===Symbol.for("react.memo_cache_sentinel")?(c=n.jsx("div",{className:"grid grid-cols-7 border-b text-xs text-muted-foreground sticky top-0 bg-background z-10",children:wt.map(Xt)}),t[8]=c):c=t[8],l=f.map((u,x)=>{const b=kt(u,o),E=b.reduce(Qt,0),T=st+E*(et+it)+8;return n.jsxs("div",{className:"grid grid-cols-7 relative border-b",style:{height:T},children:[u.map((d,v)=>{const y=d.getMonth()===r.getMonth(),N=d.getTime()===g.getTime();return n.jsx("div",{className:rt("border-r last:border-r-0 px-2 pt-1.5 text-xs",y?"bg-background":"bg-muted/30 text-muted-foreground"),children:n.jsx("span",{className:rt("inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1",N&&"bg-primary text-primary-foreground font-semibold"),children:d.getDate()})},v)}),b.map((d,v)=>{const y=dt(s,d.variant.blockKey),N=st+d.lane*(et+it),A=d.leftUnits/7*100,_=d.widthUnits/7*100,k=d.variant.openStart&&x===0,C=d.variant.openEnd&&x===f.length-1;return n.jsxs(ft,{variant:d.variant,color:y,fadeStart:k,fadeEnd:C,style:{top:N,left:`calc(${A}% + 2px)`,width:`calc(${_}% - 4px)`,minWidth:qt,height:et},children:[d.variant.blockLabel,d.variant.label!==d.variant.blockLabel&&n.jsxs("span",{className:"opacity-70",children:[" · ",d.variant.label]})]},`${x}-${v}`)})]},x)}),t[0]=s,t[1]=r,t[2]=o,t[3]=i,t[4]=a,t[5]=c,t[6]=l,t[7]=m}else i=t[3],a=t[4],c=t[5],l=t[6],m=t[7];let p;t[9]!==a||t[10]!==c||t[11]!==l?(p=n.jsxs("div",{className:a,children:[c,l]}),t[9]=a,t[10]=c,t[11]=l,t[12]=p):p=t[12];let h;return t[13]!==i||t[14]!==m||t[15]!==p?(h=n.jsx(i,{className:m,children:p}),t[13]=i,t[14]=m,t[15]=p,t[16]=h):h=t[16],h}function Qt(e,t){return Math.max(e,t.lane+1)}function Xt(e){return n.jsx("div",{className:"px-2 py-2 text-center uppercase tracking-wide",children:e},e)}const J=4,Zt=32,Y=240;function te(e){const t=K.c(23),{monthStart:r,variants:o,colorMap:s}=e,i=r,a=U(r,J),c=new Date,l=new Map;for(const w of o){const j=l.get(w.blockKey)??[];j.push(w),l.set(w.blockKey,j)}const m=Array.from(l.entries()).sort(oe),p=a.getTime()-i.getTime(),h=w=>(Math.max(i.getTime(),Math.min(a.getTime(),w.getTime()))-i.getTime())/p*100;let f;t[0]!==i?(f=(w,j)=>U(i,j),t[0]=i,t[1]=f):f=t[1];const g=Array.from({length:J},f),u=c.getTime()>=i.getTime()&&c.getTime()<=a.getTime()?h(c):null,x=X(),b=lt,E="flex-1 min-h-0",T="min-w-[900px] relative";let d;t[2]===Symbol.for("react.memo_cache_sentinel")?(d={width:Y},t[2]=d):d=t[2];let v;t[3]!==x?(v=x("sandbox.variantCalendar.variantBlock"),t[3]=x,t[4]=v):v=t[4];let y;t[5]!==v?(y=n.jsx("div",{className:"shrink-0 px-3 py-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground border-r",style:d,children:v}),t[5]=v,t[6]=y):y=t[6];let N;t[7]===Symbol.for("react.memo_cache_sentinel")?(N={gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},t[7]=N):N=t[7];const A=g.map(re);let _;t[8]!==A?(_=n.jsx("div",{className:"flex-1 grid",style:N,children:A}),t[8]=A,t[9]=_):_=t[9];let k;t[10]!==y||t[11]!==_?(k=n.jsxs("div",{className:"flex border-b sticky top-0 bg-background z-10",children:[y,_]}),t[10]=y,t[11]=_,t[12]=k):k=t[12];let C;t[13]!==x||t[14]!==u?(C=u!==null&&n.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) * ${u} / 100)`},children:n.jsx("span",{className:"absolute -top-0.5 -translate-x-1/2 rounded-sm bg-primary px-1.5 py-px text-[10px] font-medium text-primary-foreground",children:x("sandbox.variantCalendar.todayLabel")})}),t[13]=x,t[14]=u,t[15]=C):C=t[15];const $=m.map(w=>{const[j,R]=w,H=dt(s,j),V=R[0]?.blockLabel??j;return n.jsxs("div",{children:[n.jsx("div",{className:"flex items-center bg-muted/40 border-b text-xs font-semibold uppercase tracking-wide text-muted-foreground",style:{height:28},children:n.jsx("div",{className:"px-3 truncate",style:{width:Y},children:V})}),R.map((S,F)=>n.jsxs("div",{className:"flex border-b items-center",style:{height:Zt},children:[n.jsxs("div",{className:"flex items-center gap-2 px-3 text-sm border-r shrink-0",style:{width:Y},children:[n.jsx("span",{className:"inline-block h-2 w-2 rounded-full shrink-0",style:{background:H.bg}}),n.jsx("span",{className:"truncate text-foreground/80",children:S.label})]}),n.jsxs("div",{className:"relative flex-1 h-full",children:[n.jsx("div",{className:"absolute inset-0 grid",style:{gridTemplateColumns:`repeat(${J}, minmax(0, 1fr))`},children:g.map(ee)}),(()=>{const D=Math.max(S.start.getTime(),i.getTime()),O=Math.min(S.end.getTime(),a.getTime());if(O<=D)return null;const P=h(new Date(D)),B=h(new Date(O))-P;return n.jsx(ft,{variant:S,color:H,fadeStart:S.openStart,fadeEnd:S.openEnd,style:{top:"50%",transform:"translateY(-50%)",left:`${P}%`,width:`calc(${B}% - 2px)`,height:22},children:S.label})})()]})]},F))]},j)});let L;t[16]!==k||t[17]!==C||t[18]!==$?(L=n.jsxs("div",{className:T,children:[k,C,$]}),t[16]=k,t[17]=C,t[18]=$,t[19]=L):L=t[19];let M;return t[20]!==b||t[21]!==L?(M=n.jsx(b,{className:E,children:L}),t[20]=b,t[21]=L,t[22]=M):M=t[22],M}function ee(e,t){return n.jsx("div",{className:"border-r last:border-r-0 border-border/40"},t)}function re(e,t){return n.jsxs("div",{className:"px-2 py-2 text-xs uppercase tracking-wide text-muted-foreground border-r last:border-r-0",children:[ct[e.getMonth()]?.slice(0,3)," ",e.getFullYear()]},t)}function oe(e,t){return e[0].localeCompare(t[0])}export{sn as VariantCalendar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as $,r as C,n as f,j as i,ab as k,a8 as I,a9 as P}from"./index-
|
|
1
|
+
import{c as $,r as C,n as f,j as i,ab as k,a8 as I,a9 as P}from"./index-DciLlmwa.js";const M={sm:{button:"size-7",buttonWithLabel:"h-7",icon:"size-4"},md:{button:"size-9",buttonWithLabel:"h-9",icon:"size-5"},lg:{button:"size-12",buttonWithLabel:"h-12",icon:"size-6"}};function A(E){const t=$.c(27),{value:s,onValueChange:y,options:o,size:L,fullWidth:R,className:z}=E,_=L===void 0?"sm":L,m=R===void 0?!1:R;let h;t[0]===Symbol.for("react.memo_cache_sentinel")?(h=[],t[0]=h):h=t[0];const T=C.useRef(h);let x;t[1]===Symbol.for("react.memo_cache_sentinel")?(x={left:0,width:0,opacity:0},t[1]=x):x=t[1];const[d,S]=C.useState(x);let g,p;t[2]!==o||t[3]!==s?(g=()=>{const e=o.findIndex(j=>j.value===s),b=T.current[e];b&&S({left:b.offsetLeft,width:b.offsetWidth,opacity:1})},p=[s,o],t[2]=o,t[3]=s,t[4]=g,t[5]=p):(g=t[4],p=t[5]),C.useEffect(g,p);const n=M[_];let l;t[6]!==z?(l=f("relative flex gap-0 bg-muted rounded-lg",z),t[6]=z,t[7]=l):l=t[7];let a;t[8]!==n||t[9]!==m||t[10]!==y||t[11]!==o||t[12]!==s?(a=o.map((e,b)=>{const j=i.jsxs("button",{ref:V=>{T.current[b]=V},type:"button",onClick:()=>y(e.value),"aria-label":e.label,className:f("relative z-10 flex items-center justify-center gap-2 rounded-lg transition-colors [transition-timing-function:var(--ease-out-cubic)] duration-200",m?"flex-1 h-12 px-4":e.label?f(n.buttonWithLabel,"px-3"):n.button),children:[i.jsx("span",{className:f("transition-colors ease-out duration-200 flex items-center justify-center [&>svg]:size-[1em]",n.icon,s===e.value?"text-foreground":"text-muted-foreground"),children:e.icon}),e.label&&i.jsx("span",{className:f("text-xs transition-colors ease-out duration-200 whitespace-nowrap",s===e.value?"text-foreground":"text-muted-foreground"),children:e.label})]},e.value);return e.tooltip?i.jsxs(k,{children:[i.jsx(I,{asChild:!0,children:j}),i.jsx(P,{side:"bottom",children:e.tooltip})]},e.value):j}),t[8]=n,t[9]=m,t[10]=y,t[11]=o,t[12]=s,t[13]=a):a=t[13];const w=m?"h-12":n.button;let r;t[14]!==w?(r=f("absolute z-0 bg-background rounded-lg border-shadow transition-all [transition-timing-function:var(--ease-out-cubic)] duration-200",w),t[14]=w,t[15]=r):r=t[15];const W=`${d.left}px`,N=`${d.width}px`;let c;t[16]!==d.opacity||t[17]!==W||t[18]!==N?(c={left:W,width:N,opacity:d.opacity},t[16]=d.opacity,t[17]=W,t[18]=N,t[19]=c):c=t[19];let u;t[20]!==r||t[21]!==c?(u=i.jsx("div",{className:r,style:c}),t[20]=r,t[21]=c,t[22]=u):u=t[22];let v;return t[23]!==u||t[24]!==l||t[25]!==a?(v=i.jsxs("div",{className:l,children:[a,u]}),t[23]=u,t[24]=l,t[25]=a,t[26]=v):v=t[26],v}export{A as V};
|
package/dist/client/index.html
CHANGED
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
<meta name="twitter:description" content="Hire specialized agents, give them access to your tools, and let them deliver real projects — with planning, verification, and observability built in." />
|
|
51
51
|
<meta name="twitter:image" content="/og-image.png" />
|
|
52
52
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
53
|
-
<script type="module" crossorigin src="/assets/index-
|
|
53
|
+
<script type="module" crossorigin src="/assets/index-DciLlmwa.js"></script>
|
|
54
54
|
<link rel="stylesheet" crossorigin href="/assets/index-BFgc8ZC7.css">
|
|
55
55
|
</head>
|
|
56
56
|
<body>
|