decocms 4.94.6 → 4.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-DoA3IJ6F.js → AlertCircle-2HcEr3aA.js} +1 -1
- package/dist/client/assets/{AreaChart-Cuh7yjSy.js → AreaChart-C8HEwiaS.js} +1 -1
- package/dist/client/assets/{ArrowRight-CdBBK1OJ.js → ArrowRight-BhbwwlKa.js} +1 -1
- package/dist/client/assets/{ArrowUp-CVpjQt5F.js → ArrowUp-bMePGYxE.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-DTM_bzjD.js → ArrowUpRight-B7W17SiR.js} +1 -1
- package/dist/client/assets/{Check-CC3IKJLY.js → Check-r7PeF0eX.js} +1 -1
- package/dist/client/assets/{CheckCircle-D2A7hLds.js → CheckCircle-Cgo9UV5-.js} +1 -1
- package/dist/client/assets/{ChevronDown-fkBebPAb.js → ChevronDown-DyTq4IzF.js} +1 -1
- package/dist/client/assets/{ChevronRight-ClmAzDwz.js → ChevronRight-B_jrVjJU.js} +1 -1
- package/dist/client/assets/{ChevronUp-Bu5J0xzA.js → ChevronUp-CVW5xbC5.js} +1 -1
- package/dist/client/assets/{Copy01-Dsio8GJz.js → Copy01-BJc2r-WF.js} +1 -1
- package/dist/client/assets/{DotsVertical-Bh1-TEiJ.js → DotsVertical-1ay7rtoJ.js} +1 -1
- package/dist/client/assets/{Eye-BmAkjTWo.js → Eye-CtVV9e2j.js} +1 -1
- package/dist/client/assets/{FilterLines-CHzLoiil.js → FilterLines-BhHlEzjv.js} +1 -1
- package/dist/client/assets/{Globe01-CH5-V8l3.js → Globe01-DoHz4MgR.js} +1 -1
- package/dist/client/assets/{Globe04-CYIW8DVY.js → Globe04-S2vGDspM.js} +1 -1
- package/dist/client/assets/{HardDrive-CHzL5aXU.js → HardDrive-CQEIN_su.js} +1 -1
- package/dist/client/assets/{Image01-KAjNlFFR.js → Image01-CUXxaE-D.js} +1 -1
- package/dist/client/assets/{Key01-DIVl5gSu.js → Key01-Ccp0XsVr.js} +1 -1
- package/dist/client/assets/{LayoutLeft-FIOzcu1N.js → LayoutLeft-CGrbMvWa.js} +1 -1
- package/dist/client/assets/{LinkExternal01-gSnWPDHQ.js → LinkExternal01-ClJ56TMW.js} +1 -1
- package/dist/client/assets/{Monitor01-B7iVfyyG.js → Monitor01-DZz4yj0_.js} +1 -1
- package/dist/client/assets/{Package-CHgP4WZ5.js → Package-B1orPXJq.js} +1 -1
- package/dist/client/assets/{Palette-GZqSTN5s.js → Palette-BaolxSVv.js} +1 -1
- package/dist/client/assets/{Play-CH9RHq8h.js → Play-BWff13WX.js} +1 -1
- package/dist/client/assets/{Plus-BSMrNv8y.js → Plus-Cu-dDUfk.js} +1 -1
- package/dist/client/assets/{SearchLg-C8hU0OYv.js → SearchLg-DfHFdpE-.js} +1 -1
- package/dist/client/assets/{SearchMd-DivMkf__.js → SearchMd-qK78kgKQ.js} +1 -1
- package/dist/client/assets/{Settings02-Dom2kknN.js → Settings02-N8cMhnfQ.js} +1 -1
- package/dist/client/assets/{Shield01-WWrZj1_S.js → Shield01-DzRHTS33.js} +1 -1
- package/dist/client/assets/{Star01-ByBUvxft.js → Star01-Q-9vFIbP.js} +1 -1
- package/dist/client/assets/{Stars01-2o1Jr5P_.js → Stars01-BbbMQszh.js} +1 -1
- package/dist/client/assets/{Stars02-4Awb-UKJ.js → Stars02-DCuS3QE8.js} +1 -1
- package/dist/client/assets/{Sun-Rd21k3z3.js → Sun-Dq-7buJu.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-BgBDREms.js → SwitchHorizontal01-D-Fk1Pa5.js} +1 -1
- package/dist/client/assets/{Tool01-CK-fUwgT.js → Tool01-C64m7h3m.js} +1 -1
- package/dist/client/assets/{Tool02-D1NiW0zs.js → Tool02-B_YdiFiC.js} +1 -1
- package/dist/client/assets/{Trash01-ZLYuaqYb.js → Trash01-DoLHcQlV.js} +1 -1
- package/dist/client/assets/{TrendUp01-XWF45LnZ.js → TrendUp01-BVy6RgXF.js} +1 -1
- package/dist/client/assets/{Upload01-NpTz2buc.js → Upload01-BPvQLpzL.js} +1 -1
- package/dist/client/assets/{User01-BW-pTq37.js → User01-Di4I1dn1.js} +1 -1
- package/dist/client/assets/{Users01-D7PtgbtU.js → Users01-T3tcC-Q_.js} +1 -1
- package/dist/client/assets/{Users03-nxMns4FJ.js → Users03-BMR8RGYj.js} +1 -1
- package/dist/client/assets/{X-Ct5vQ8eS.js → X-WxvHrb7f.js} +1 -1
- package/dist/client/assets/{XCircle-DbBIMQ2M.js → XCircle-BPUwDg8K.js} +1 -1
- package/dist/client/assets/{XClose-CILLnN2n.js → XClose-Dqd4RGLi.js} +1 -1
- package/dist/client/assets/{Zap-CzKjTcpT.js → Zap-DHQd1aMk.js} +1 -1
- package/dist/client/assets/{ZapSquare-B7rinI6P.js → ZapSquare-BmThZYRa.js} +1 -1
- package/dist/client/assets/{ZoomOut-BHy6DNtw.js → ZoomOut-B9HTC-JQ.js} +1 -1
- package/dist/client/assets/{access-gate-BpwCNuvJ.js → access-gate-CiaKpwyl.js} +1 -1
- package/dist/client/assets/{add-section-modal-D3UodSR2.js → add-section-modal-CrYnB29L.js} +1 -1
- package/dist/client/assets/{agent-icon-HoS6XNtO.js → agent-icon-BXYEXsD8.js} +1 -1
- package/dist/client/assets/{agents-list-BpMNwbBq.js → agents-list-CD7gGa6m.js} +1 -1
- package/dist/client/assets/{ai-providers-B-YB9rSl.js → ai-providers-mL_iWLDv.js} +1 -1
- package/dist/client/assets/{alert-C5hNttm8.js → alert-BVUEKz6K.js} +1 -1
- package/dist/client/assets/{alert-dialog-DrQvp6Iv.js → alert-dialog-CQ4lOqNP.js} +1 -1
- package/dist/client/assets/{app-editor-gmBlZWPR.js → app-editor-CxVQHVzd.js} +1 -1
- package/dist/client/assets/{auth-Dc6RBdW8.js → auth-Rl68lRVa.js} +1 -1
- package/dist/client/assets/{auth-catchall-CXBobtqA.js → auth-catchall-CwDVkZ9z.js} +1 -1
- package/dist/client/assets/{auth-entry-BE2wsxN1.js → auth-entry-L4m_eDn0.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BtisUVsa.js → auth-split-layout-DhwakX9p.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-CFuulhRt.js → authenticate-and-persist-oauth-HF1OZ01K.js} +1 -1
- package/dist/client/assets/{automation-list-row-C-QP14vj.js → automation-list-row-x3AaazOu.js} +1 -1
- package/dist/client/assets/{automation-runs-tL6rWLMW.js → automation-runs-0ENPNaN0.js} +1 -1
- package/dist/client/assets/{automations-CEg2NMIY.js → automations-kZfpWYqo.js} +1 -1
- package/dist/client/assets/{autosend-rkD8GnzZ.js → autosend-CnyvzRSd.js} +1 -1
- package/dist/client/assets/{avatar-Ew9KnJQh.js → avatar-Dn3KdrEK.js} +1 -1
- package/dist/client/assets/{badge-Bt79ZYjc.js → badge-CKZbj9Sm.js} +1 -1
- package/dist/client/assets/{block-document-DVkm1Su2.js → block-document-CRrTuFYl.js} +1 -1
- package/dist/client/assets/{brand-context-C83v7g25.js → brand-context-CsUWTEth.js} +1 -1
- package/dist/client/assets/{buckets-bdqE84O_.js → buckets-CEkgv2gt.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-CFrZDxrv.js → bulk-category-panel-BdB8TLi0.js} +1 -1
- package/dist/client/assets/{calendar-BJUOSZua.js → calendar-CGH-FtPb.js} +1 -1
- package/dist/client/assets/{capability-load-error-DfDyfW3b.js → capability-load-error-CMXIJbu-.js} +1 -1
- package/dist/client/assets/{card-IFpgJ2MK.js → card-CLBtulnR.js} +1 -1
- package/dist/client/assets/{category-editor-B_xGPhNj.js → category-editor-DcCdN9-a.js} +1 -1
- package/dist/client/assets/{chat-context-DNCsaRmp.js → chat-context-pauDMQs4.js} +1 -1
- package/dist/client/assets/{checkbox-Bz20LMpI.js → checkbox-Bb7u4GZC.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BNraZSTe.js → cli-auth-success-CZgAirYQ.js} +1 -1
- package/dist/client/assets/{collection-detail-BdWkRKUu.js → collection-detail-C70k2D6K.js} +1 -1
- package/dist/client/assets/{collection-display-button-BaG8eSfy.js → collection-display-button-DTP4Dxoo.js} +1 -1
- package/dist/client/assets/{collection-search-CcB-KQLA.js → collection-search-BSRwuL9Y.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-D2r1G3za.js → collection-table-wrapper-CzTLwDF7.js} +1 -1
- package/dist/client/assets/{collection-tabs-C8nrbVs2.js → collection-tabs-C4WFDf3L.js} +1 -1
- package/dist/client/assets/{command-CW-02MLm.js → command-CvLmqp8n.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-CXFL9A89.js → commerce-onboarding-B0oLV1r7.js} +1 -1
- package/dist/client/assets/{companions-core-j1LFhXbu.js → companions-core-9oVSiVay.js} +1 -1
- package/dist/client/assets/{connect-vYtGMJh2.js → connect-Ds4xNTIm.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-DwQQ1obx.js → connect-desktop-dialog-Bm-6O5pA.js} +1 -1
- package/dist/client/assets/{connection-card-DKY__-D5.js → connection-card-BNqCCiGi.js} +1 -1
- package/dist/client/assets/{connection-detail-0VLA1GkK.js → connection-detail-BRMVl_cy.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-QeizIcTs.js → connection-form-helpers-DYH9RX4H.js} +1 -1
- package/dist/client/assets/{connections-BYf3LbA6.js → connections-Bg4y0t1s.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-DGNJ475d.js → decopilot-sse-pool-naE4E78u.js} +1 -1
- package/dist/client/assets/{dialog-CHTdq80g.js → dialog-6hX1U4fH.js} +1 -1
- package/dist/client/assets/{domain-settings-cC0VaiRv.js → domain-settings-B6DIiCSh.js} +1 -1
- package/dist/client/assets/{drawer-dDbXAhmt.js → drawer-CMaklRD3.js} +1 -1
- package/dist/client/assets/{dropdown-menu-i2_zD0ol.js → dropdown-menu-CLAwAQZ_.js} +1 -1
- package/dist/client/assets/{empty-state-Zi3G9KtM.js → empty-state-D6L5fS3f.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Xp5v1P3F.js → extract-connection-data-Dghmfry-.js} +1 -1
- package/dist/client/assets/{file-explorer-D2hmLRKk.js → file-explorer-Dff-06fS.js} +1 -1
- package/dist/client/assets/{file-type-icon-D6SoZvYT.js → file-type-icon-DYLY0CLy.js} +1 -1
- package/dist/client/assets/{files-CpPN-G1a.js → files-Byu3w8YW.js} +1 -1
- package/dist/client/assets/{form-Bjc5iBBg.js → form-CXNEyHcq.js} +1 -1
- package/dist/client/assets/{general-CXJtBXGw.js → general-C9Pthex4.js} +1 -1
- package/dist/client/assets/{github-repo-picker-D91wuwmK.js → github-repo-picker-ByxtRg3O.js} +1 -1
- package/dist/client/assets/{hooks-CITAsJ8X.js → hooks-Cr9i_kle.js} +1 -1
- package/dist/client/assets/{index-Dr-JwqGC.js → index-B9kIH6x6.js} +1 -1
- package/dist/client/assets/{index-BXG8Q8aI.js → index-BDK2Fs0Q.js} +1 -1
- package/dist/client/assets/{index-D9VnrOad.js → index-CDnDqO3O.js} +1 -1
- package/dist/client/assets/{index-BuoOl8te.js → index-CEV5VePz.js} +5 -5
- package/dist/client/assets/{index-CqsAVHza.js → index-CV14bajU.js} +1 -1
- package/dist/client/assets/{index-dgeqdxHN.js → index-CXp3cTwF.js} +1 -1
- package/dist/client/assets/index-D8dz7OgV.css +1 -0
- package/dist/client/assets/{index-tlmjfcbw.js → index-DI7mK1zX.js} +1 -1
- package/dist/client/assets/{index-CtvJRRpM.js → index-DV5mK7sA.js} +1 -1
- package/dist/client/assets/{index-CR_Fxrnt.js → index-DeLkeJ6_.js} +1 -1
- package/dist/client/assets/{index-_mO4J0Le.js → index-Dk4s7aLa.js} +1 -1
- package/dist/client/assets/index-XuMG--e3.js +8 -0
- package/dist/client/assets/{index-CUGzY7e6.js → index-evctrtQu.js} +1 -1
- package/dist/client/assets/{index-vrtwG4Bk.js → index-hjE2XX6X.js} +3 -3
- package/dist/client/assets/{index-redirect-CUbTUnum.js → index-redirect-D17YCYHU.js} +1 -1
- package/dist/client/assets/{index-CEqBKdXv.js → index-yrbDmgjx.js} +1 -1
- package/dist/client/assets/{input-BWsPQTXF.js → input-B3wVtT8N.js} +1 -1
- package/dist/client/assets/{integration-icon-Db0uCUF1.js → integration-icon-DggrBo9Y.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-DoG0LwUG.js → invite-member-dialog-Bh4TasFC.js} +1 -1
- package/dist/client/assets/{label-Dou_5e0Z.js → label-DIrBJY9t.js} +1 -1
- package/dist/client/assets/{layout-DYX2RGs0.js → layout-n4kDijNp.js} +1 -1
- package/dist/client/assets/{login-C7Bv97rO.js → login-DGWtKNDl.js} +1 -1
- package/dist/client/assets/{mcp-oauth-BQvmJqhx.js → mcp-oauth-pu4HGP5E.js} +1 -1
- package/dist/client/assets/{members-y-kR-JzR.js → members-CUcHZIpS.js} +1 -1
- package/dist/client/assets/{monaco-editor-Zij7AjiB.js → monaco-editor-DChvc4zo.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CHeEWP8V.js → monitoring-stats-row-D77T8MAB.js} +1 -1
- package/dist/client/assets/{multi-select-D4XR_h19.js → multi-select-BczX2BCu.js} +1 -1
- package/dist/client/assets/{oauth-callback-DrH_56Rg.js → oauth-callback-CujWwGsW.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-l5iPcs4O.js → oauth-callback-ai-provider-CNcJryZL.js} +1 -1
- package/dist/client/assets/{onboarding-DqhDaHAl.js → onboarding-Cxp9OgE5.js} +1 -1
- package/dist/client/assets/{org-install-DpolJMLP.js → org-install-Cp_uS_Yv.js} +1 -1
- package/dist/client/assets/{org-layout-DHxLPofr.js → org-layout-C0amQSWr.js} +1 -1
- package/dist/client/assets/{organization-choice-CfVqH8y0.js → organization-choice-D1e_IHEx.js} +1 -1
- package/dist/client/assets/{orgs-DZAHym9h.js → orgs-BUQRHrF9.js} +1 -1
- package/dist/client/assets/{page-seo-form-Dxl-Yg0m.js → page-seo-form-f2sOWcXy.js} +1 -1
- package/dist/client/assets/page-seo-sheet-B907fpZL.js +1 -0
- package/dist/client/assets/{popover-C9PGa0Ul.js → popover-CMANpc1P.js} +1 -1
- package/dist/client/assets/{post-editor-BE_slrWe.js → post-editor-igPGWwZT.js} +1 -1
- package/dist/client/assets/{primitives-CdQokiiS.js → primitives-C4ghey6q.js} +1 -1
- package/dist/client/assets/{profile-1fWmIlVK.js → profile-Bf08wFsB.js} +1 -1
- package/dist/client/assets/project-app-view-BUDk-BSC.js +1 -0
- package/dist/client/assets/record-editor-UtL4Nppx.js +1 -0
- package/dist/client/assets/redirect-editor-Bpf86Ru1.js +1 -0
- package/dist/client/assets/registry-BM7__SCn.js +2 -0
- package/dist/client/assets/{registry-layout-ubAgr3ZK.js → registry-layout-DOJrhsn0.js} +1 -1
- package/dist/client/assets/{reports-CqFw2kGi.js → reports-Sz2eHkkE.js} +1 -1
- package/dist/client/assets/{require-capability--Eu_MgH9.js → require-capability-DssBmal1.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CScpRIWl.js → required-auth-layout-Bb2Q5WiD.js} +1 -1
- package/dist/client/assets/{reset-password-DcbzxdqH.js → reset-password-DJkbgIKv.js} +1 -1
- package/dist/client/assets/{roles-Coc9bfCY.js → roles-CDQ9N9B4.js} +1 -1
- package/dist/client/assets/{search-input-Dan3xeWd.js → search-input-CSYveeK1.js} +1 -1
- package/dist/client/assets/{secrets-lyTDWhNC.js → secrets-CWzBjHiy.js} +1 -1
- package/dist/client/assets/{sections-editor-CP-lVGm_.js → sections-editor-DO4ujnsl.js} +1 -1
- package/dist/client/assets/{select-BB7twdgN.js → select-DL_WbMjV.js} +1 -1
- package/dist/client/assets/{select-model-BYIr80Sv.js → select-model-CaxXX-qs.js} +1 -1
- package/dist/client/assets/{self-tool-result-DfdfHsag.js → self-tool-result-eufZmVSR.js} +1 -1
- package/dist/client/assets/{seo-editor-wxBTlDn5.js → seo-editor-OjDkwsRD.js} +1 -1
- package/dist/client/assets/{settings-layout--9gxFi0C.js → settings-layout-wzi-9zmk.js} +1 -1
- package/dist/client/assets/{settings-section-CiIPNpX_.js → settings-section-Dd__vNvn.js} +1 -1
- package/dist/client/assets/{shell-controls-DPQ3-96V.js → shell-controls-BTcTNUhC.js} +1 -1
- package/dist/client/assets/{shell-layout-DKVul9C0.js → shell-layout-DpzKWAdD.js} +1 -1
- package/dist/client/assets/{sidebar-DvnyOQfY.js → sidebar-DTKf3TAO.js} +1 -1
- package/dist/client/assets/{skeleton-CjJiACka.js → skeleton-CRh0JIjf.js} +1 -1
- package/dist/client/assets/{sso-BWeY-PUH.js → sso-oJUn63Bv.js} +1 -1
- package/dist/client/assets/{store-BYpNP_1O.js → store-Dd0zwstp.js} +1 -1
- package/dist/client/assets/store-registry-CmUCkxOW.js +2 -0
- package/dist/client/assets/{studio-tools-Dbh-NHor.js → studio-tools-Cwafm64U.js} +1 -1
- package/dist/client/assets/{switch-VErAdsNg.js → switch-BsoYdree.js} +1 -1
- package/dist/client/assets/{table-Cle1Gy8I.js → table-CEQ8Au0q.js} +1 -1
- package/dist/client/assets/{tabs-DPFLR1hd.js → tabs-DVvTTvBh.js} +1 -1
- package/dist/client/assets/{textarea-BhBbEa8T.js → textarea-BF2PPtYX.js} +1 -1
- package/dist/client/assets/{toggle-group-BjNy52hJ.js → toggle-group-BXTeLVn8.js} +1 -1
- package/dist/client/assets/{toolbar-wLwlfkab.js → toolbar-BJJ7OCXe.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-Cq8y9Cut.js → toolbar-icon-button-C2xHuQlk.js} +1 -1
- package/dist/client/assets/{tooltip-3G-CZS5F.js → tooltip-BjzKDci2.js} +1 -1
- package/dist/client/assets/{use-ai-providers-C6uH-lqx.js → use-ai-providers-Tfs_Zyru.js} +1 -1
- package/dist/client/assets/{use-api-keys-DeZI4Iw6.js → use-api-keys-C8D3OUO8.js} +1 -1
- package/dist/client/assets/{use-automations-DjPzWeFk.js → use-automations-vXGmFiw2.js} +1 -1
- package/dist/client/assets/{use-autosave-BUmzb-w_.js → use-autosave-C6DGbMlv.js} +1 -1
- package/dist/client/assets/{use-capability-B7s_MvUN.js → use-capability-y7XYwlsw.js} +1 -1
- package/dist/client/assets/{use-clock-tick-CYggvDhQ.js → use-clock-tick-CwOJk-hB.js} +1 -1
- package/dist/client/assets/{use-collections-CJ7Deomd.js → use-collections-DJK7cqPG.js} +1 -1
- package/dist/client/assets/{use-connection-BrebjHdx.js → use-connection-dHOeVykL.js} +1 -1
- package/dist/client/assets/{use-copy-IwLlQWyO.js → use-copy-BY_6H8f2.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-CejV4fLw.js → use-create-virtual-mcp-a5AS9maG.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DWCeTgfQ.js → use-debounced-autosave-gEZrBMKF.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BbIU-96b.js → use-debounced-value-DQ8ybCk8.js} +1 -1
- package/dist/client/assets/{use-deco-credits-D4P8MoAk.js → use-deco-credits-Cu_CLKNZ.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-CPDmRI-m.js → use-decopilot-events-D-gabFqa.js} +1 -1
- package/dist/client/assets/{use-delete-connection-WhrtzSKb.js → use-delete-connection-B903DB_v.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-_54nVxfJ.js → use-deployment-admin-D2f6o1L8.js} +1 -1
- package/dist/client/assets/{use-file-configs-BzBiz6vg.js → use-file-configs-CtCwpKQk.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-CeMhtFeZ.js → use-infinite-scroll-CkiTZdcb.js} +1 -1
- package/dist/client/assets/{use-join-requests-DinUeOrt.js → use-join-requests-BBRb_n5o.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-DUYFcMtA.js → use-mcp-auth-status-BHa4HLcz.js} +1 -1
- package/dist/client/assets/{use-mcp-client-avVJw5t3.js → use-mcp-client-Cp3sti4v.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BBBWBz52.js → use-mcp-tools-DgSJyhyt.js} +1 -1
- package/dist/client/assets/{use-members-DfIaVaDP.js → use-members-C6jzD8WY.js} +1 -1
- package/dist/client/assets/{use-mobile-aelbexuU.js → use-mobile-DbFQjNJH.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-BlWzrHSL.js → use-navigate-to-agent-N_9ZB1GC.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-C47x2vDp.js → use-org-auth-client-MugnqO7R.js} +1 -1
- package/dist/client/assets/{use-org-sso-Cz5zLtrw.js → use-org-sso-BH3PKJVF.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DAh-68yj.js → use-organization-roles-D_pL2V2J.js} +1 -1
- package/dist/client/assets/{use-organization-settings-Bp73-vx-.js → use-organization-settings-V8HCNVpz.js} +1 -1
- package/dist/client/assets/{use-registry-app-Hrs1UuAT.js → use-registry-app-WmzUMowe.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CTa7MZ9b.js → use-registry-connections-CBLHoxJf.js} +1 -1
- package/dist/client/assets/{use-secrets-BhXHo1ar.js → use-secrets-BJw6jDsG.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CapiABbl.js → use-status-sounds-B6WaacbM.js} +1 -1
- package/dist/client/assets/{use-t-EeMn2v1N.js → use-t-B9aftsnE.js} +1 -1
- package/dist/client/assets/{use-view-mode-DrGuTSGW.js → use-view-mode-DgNetGEu.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-z4BUwctp.js → use-virtual-mcp-CEu5JSht.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-BB4xZyBn.js +1 -0
- package/dist/client/assets/{useRouterState-DShdBQ6e.js → useRouterState-BG4WF0xx.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-zeGOhvz4.js +1 -0
- package/dist/client/assets/{users-hAYtvcnR.js → users-Coh1cMye.js} +1 -1
- package/dist/client/assets/{variant-calendar-CO26PQEY.js → variant-calendar-C_iW_fje.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CMh-73QU.js → view-mode-toggle-uNwYCqf-.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/index-D40GQ9yr.css +0 -1
- package/dist/client/assets/index-DkUc8an3.js +0 -8
- package/dist/client/assets/page-seo-sheet-BcfYpZ2s.js +0 -1
- package/dist/client/assets/project-app-view-CXRtM_jZ.js +0 -1
- package/dist/client/assets/record-editor-D7QBDXvJ.js +0 -1
- package/dist/client/assets/redirect-editor-BSivrOww.js +0 -1
- package/dist/client/assets/registry-CxEYlrw0.js +0 -2
- package/dist/client/assets/store-registry-DoINjnTq.js +0 -2
- package/dist/client/assets/useInfiniteQuery-COG8_dqs.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-F1BZ2G-n.js +0 -1
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BuoOl8te.js","assets/index-vrtwG4Bk.js","assets/index-D40GQ9yr.css","assets/ArrowUp-CVpjQt5F.js","assets/chat-context-DNCsaRmp.js","assets/autosend-rkD8GnzZ.js","assets/hooks-CITAsJ8X.js","assets/use-mcp-client-avVJw5t3.js","assets/auth-Dc6RBdW8.js","assets/decopilot-sse-pool-DGNJ475d.js","assets/backoff-CrEUbyZT.js","assets/delay-CnY5UFtP.js","assets/studio-tools-Dbh-NHor.js","assets/use-virtual-mcp-z4BUwctp.js","assets/use-collections-CJ7Deomd.js","assets/use-ai-providers-C6uH-lqx.js","assets/location-BpLtHjTZ.js","assets/tab-id-BijBBRwE.js","assets/use-decopilot-events-CPDmRI-m.js","assets/use-organization-settings-Bp73-vx-.js","assets/automation-runs-tL6rWLMW.js","assets/select-BB7twdgN.js","assets/tooltip-3G-CZS5F.js","assets/Check-CC3IKJLY.js","assets/ChevronDown-fkBebPAb.js","assets/ChevronUp-Bu5J0xzA.js","assets/useInfiniteQuery-COG8_dqs.js","assets/use-infinite-scroll-CeMhtFeZ.js","assets/use-connection-BrebjHdx.js","assets/card-IFpgJ2MK.js","assets/sidebar-DvnyOQfY.js","assets/LayoutLeft-FIOzcu1N.js","assets/use-mobile-aelbexuU.js","assets/X-Ct5vQ8eS.js","assets/table-Cle1Gy8I.js","assets/empty-state-Zi3G9KtM.js","assets/use-members-DfIaVaDP.js","assets/use-org-auth-client-C47x2vDp.js","assets/use-clock-tick-CYggvDhQ.js","assets/AlertCircle-DoA3IJ6F.js","assets/CheckCircle-D2A7hLds.js","assets/DotsVertical-Bh1-TEiJ.js","assets/agent-icon-HoS6XNtO.js","assets/Tool01-CK-fUwgT.js","assets/Settings02-Dom2kknN.js","assets/Tool02-D1NiW0zs.js","assets/ArrowRight-CdBBK1OJ.js","assets/ArrowUpRight-DTM_bzjD.js","assets/TrendUp01-XWF45LnZ.js","assets/ZapSquare-B7rinI6P.js","assets/ZoomOut-BHy6DNtw.js","assets/Users03-nxMns4FJ.js","assets/ChevronRight-ClmAzDwz.js","assets/Stars02-4Awb-UKJ.js","assets/Copy01-Dsio8GJz.js","assets/Globe01-CH5-V8l3.js","assets/Eye-BmAkjTWo.js","assets/FilterLines-CHzLoiil.js","assets/Star01-ByBUvxft.js","assets/Globe04-CYIW8DVY.js","assets/SwitchHorizontal01-BgBDREms.js","assets/HardDrive-CHzL5aXU.js","assets/Image01-KAjNlFFR.js","assets/Key01-DIVl5gSu.js","assets/XCircle-DbBIMQ2M.js","assets/LinkExternal01-gSnWPDHQ.js","assets/Monitor01-B7iVfyyG.js","assets/Sun-Rd21k3z3.js","assets/Package-CHgP4WZ5.js","assets/Palette-GZqSTN5s.js","assets/Play-CH9RHq8h.js","assets/Plus-BSMrNv8y.js","assets/SearchLg-C8hU0OYv.js","assets/SearchMd-DivMkf__.js","assets/Shield01-WWrZj1_S.js","assets/Stars01-2o1Jr5P_.js","assets/Trash01-ZLYuaqYb.js","assets/Upload01-NpTz2buc.js","assets/User01-BW-pTq37.js","assets/Users01-D7PtgbtU.js","assets/XClose-CILLnN2n.js","assets/Zap-CzKjTcpT.js","assets/use-automations-DjPzWeFk.js","assets/useSuspenseInfiniteQuery-F1BZ2G-n.js","assets/avatar-Ew9KnJQh.js","assets/format-time-BnbuEtat.js","assets/differenceInSeconds-NQ4PDo0z.js","assets/use-copy-IwLlQWyO.js","assets/file-type-icon-D6SoZvYT.js","assets/dialog-CHTdq80g.js","assets/monaco-editor-Zij7AjiB.js","assets/index-CEqBKdXv.js","assets/index-CqsAVHza.js","assets/calendar-BJUOSZua.js","assets/use-t-EeMn2v1N.js","assets/shell-layout-DKVul9C0.js","assets/required-auth-layout-CScpRIWl.js","assets/use-org-sso-Cz5zLtrw.js","assets/integration-icon-Db0uCUF1.js","assets/use-navigate-to-agent-BlWzrHSL.js","assets/reusable-new-chat-CouMjkYR.js","assets/AreaChart-Cuh7yjSy.js","assets/form-Bjc5iBBg.js","assets/label-Dou_5e0Z.js","assets/input-BWsPQTXF.js","assets/drawer-dDbXAhmt.js","assets/collection-search-CcB-KQLA.js","assets/tabs-DPFLR1hd.js","assets/toggle-group-BjNy52hJ.js","assets/use-deco-credits-D4P8MoAk.js","assets/extract-connection-data-Xp5v1P3F.js","assets/connection-card-DKY__-D5.js","assets/use-registry-connections-CTa7MZ9b.js","assets/retry-CErkP7V6.js","assets/connection-slug-eyAPH6o3.js","assets/textarea-BhBbEa8T.js","assets/connection-form-helpers-QeizIcTs.js","assets/authenticate-and-persist-oauth-CFuulhRt.js","assets/mcp-oauth-BQvmJqhx.js","assets/collection-tabs-C8nrbVs2.js","assets/badge-Bt79ZYjc.js","assets/connect-desktop-dialog-DwQQ1obx.js","assets/select-model-BYIr80Sv.js","assets/checkbox-Bz20LMpI.js","assets/skeleton-CjJiACka.js","assets/ai-providers-logos-DD3qZ33J.js","assets/settings-section-CiIPNpX_.js","assets/get-initials-D-f_fDFw.js","assets/command-CW-02MLm.js","assets/index-CR_Fxrnt.js","assets/popover-C9PGa0Ul.js","assets/use-mcp-tools-BBBWBz52.js","assets/dropdown-menu-i2_zD0ol.js","assets/index-Dr-JwqGC.js","assets/alert-dialog-DrQvp6Iv.js","assets/toolbar-wLwlfkab.js","assets/use-debounced-value-BbIU-96b.js","assets/question-004-sINsf4GQ.js","assets/use-status-sounds-CapiABbl.js","assets/use-capability-B7s_MvUN.js","assets/toolbar-icon-button-Cq8y9Cut.js","assets/use-debounced-autosave-DWCeTgfQ.js","assets/index-CUGzY7e6.js","assets/search-input-Dan3xeWd.js","assets/use-mcp-auth-status-DUYFcMtA.js","assets/switch-VErAdsNg.js","assets/use-registry-app-Hrs1UuAT.js","assets/github-repo-picker-D91wuwmK.js","assets/provision-repo-scoped-github-connection-2iDn-wQ1.js","assets/github-repo-scope-DjMZbiKa.js","assets/use-secrets-BhXHo1ar.js","assets/formatDistanceToNow-Cb2QZZJn.js","assets/use-file-configs-BzBiz6vg.js","assets/automation-list-row-C-QP14vj.js","assets/index-DDGTF8rc.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{D as Ys,r as I,v as Vs,K as ht,c as M,C as Pe,m as pt,a as Ws,n as ls,t as vt,ac as Xs,l as U,j as s,d as Rt,B as re,E as Js,b as ws,p as gs,i as as,u as Zs,aX as en}from"./index-vrtwG4Bk.js";import{g as Se}from"./get-initials-D-f_fDFw.js";import{A as Ce}from"./avatar-Ew9KnJQh.js";import{au as rs,V as tn,e as sn,ao as _s,av as nn,aw as ln,n as zt,Y as Ct,ax as an,f as rn,q as Is,as as on}from"./agent-icon-HoS6XNtO.js";import{i as cn}from"./SwitchHorizontal01-BgBDREms.js";import{s as os}from"./Plus-BSMrNv8y.js";import{W as dn,m as ps,S as Ds,C as ks,g as un,u as mn,h as fn,a as xn}from"./use-mcp-client-avVJw5t3.js";import{u as gn,G as pn}from"./use-registry-app-Hrs1UuAT.js";import{d as is,e as cs,a as ds,D as hn,h as yn,c as bn}from"./dialog-CHTdq80g.js";import{b as jn,u as Nn}from"./use-connection-BrebjHdx.js";import{g as vn}from"./github-repo-scope-DjMZbiKa.js";import{a as Sn}from"./authenticate-and-persist-oauth-CFuulhRt.js";import{e as Cn}from"./extract-connection-data-Xp5v1P3F.js";import{a as Es}from"./use-members-DfIaVaDP.js";import{u as Lt}from"./studio-tools-Dbh-NHor.js";import{t as wn,T as _n,S as ze}from"./decopilot-sse-pool-DGNJ475d.js";import{u as In}from"./use-decopilot-events-CPDmRI-m.js";import{a as Dn}from"./format-time-BnbuEtat.js";import{i as Ts}from"./AlertCircle-DoA3IJ6F.js";import{i as us}from"./CheckCircle-D2A7hLds.js";import{a as kn}from"./DotsVertical-Bh1-TEiJ.js";import{s as En}from"./Eye-BmAkjTWo.js";import{a as Pt,c as qt,d as yt,D as Bt}from"./dropdown-menu-i2_zD0ol.js";import{P as Wt,b as Xt,a as Jt}from"./popover-C9PGa0Ul.js";import{b as As,C as $s,a as Re,e as Mt,d as Os,c as Rs}from"./command-CW-02MLm.js";import{P as Zt,a as Tn,D as An,h as $n,j as On,C as Rn,c as zn}from"./calendar-BJUOSZua.js";import{u as Pn}from"./use-copy-IwLlQWyO.js";import{i as qn}from"./Check-CC3IKJLY.js";import{i as Bn}from"./ChevronRight-ClmAzDwz.js";import{a as Mn}from"./Copy01-Dsio8GJz.js";import{n as Fn}from"./LinkExternal01-gSnWPDHQ.js";import{s as es}from"./User01-BW-pTq37.js";import{i as hs}from"./X-Ct5vQ8eS.js";import{g as Ln,b as Un,e as Kn,f as Gn,a as Qn,D as Hn}from"./drawer-dDbXAhmt.js";import{t as ms}from"./ChevronDown-fkBebPAb.js";import{i as zs}from"./FilterLines-CHzLoiil.js";import{s as Yn}from"./TrendUp01-XWF45LnZ.js";import{u as Vn}from"./shell-layout-DKVul9C0.js";import{u as Wn}from"./hooks-CITAsJ8X.js";import{u as Xn}from"./use-organization-settings-Bp73-vx-.js";import{i as Ps}from"./ArrowRight-CdBBK1OJ.js";import{f as Jn}from"./tab-id-BijBBRwE.js";import{u as ts}from"./companions-core-j1LFhXbu.js";function Zn(t){return!t||!t.content||t.content.length===0?!0:t.content.every(e=>e.type==="paragraph"?!e.content||e.content.length===0?!0:e.content.every(n=>n.type==="hardBreak"||n.type==="text"&&(!n.text||n.text.trim()==="")):!1)}const tr="__home__";function fs(t,e){return Ys.chatDraft(t,e)}function el(t){if(!t)return null;let e;try{e=JSON.parse(t)}catch{return null}if(!e||typeof e!="object"||typeof e.updatedAt!="number")return null;const n=e.tiptapDoc;return!n||typeof n!="object"||n.type!=="doc"||!Array.isArray(n.content)?null:n}function tl(t,e,n,a,l){const o=fs(e,n);if(Zn(a)){t.removeItem(o);return}const i={tiptapDoc:a,updatedAt:Date.now()},r=JSON.stringify(i);try{t.setItem(o,r)}catch(c){if(sl(c)){const u=new TextEncoder().encode(r).byteLength;l?.onQuotaExceeded?.({docSizeBytes:u});return}throw c}}function sr(t,e,n){const a=fs(e,n),l=t.getItem(a),o=el(l);return l!==null&&o===null&&t.removeItem(a),o}function nr(t,e,n){t.removeItem(fs(e,n))}function sl(t){if(!t||typeof t!="object")return!1;const e=t.name;return e==="QuotaExceededError"||e==="NS_ERROR_DOM_QUOTA_REACHED"}function nl(t){var e;const{char:n,allowSpaces:a,allowToIncludeChar:l,allowedPrefixes:o,startOfLine:i,$position:r}=t,c=a&&!l,u=On(n),x=new RegExp(`\\s${u}$`),m=i?"^":"",d=l?"":u,f=c?new RegExp(`${m}${u}.*?(?=\\s${d}|$)`,"gm"):new RegExp(`${m}(?:^)?${u}[^\\s${d}]*`,"gm"),j=((e=r.nodeBefore)==null?void 0:e.isText)&&r.nodeBefore.text;if(!j)return null;const p=r.pos-j.length,h=Array.from(j.matchAll(f)).pop();if(!h||h.input===void 0||h.index===void 0)return null;const g=h.input.slice(Math.max(0,h.index-1),h.index),y=new RegExp(`^[${o?.join("")}\0]?$`).test(g);if(o!==null&&!y)return null;const b=p+h.index;let v=b+h[0].length;return c&&x.test(j.slice(v-1,v+1))&&(h[0]+=" ",v+=1),b<r.pos&&v>=r.pos?{range:{from:b,to:v},query:h[0].slice(n.length),text:h[0]}:null}var ll=new Zt("suggestion");function al({pluginKey:t=ll,editor:e,char:n="@",allowSpaces:a=!1,allowToIncludeChar:l=!1,allowedPrefixes:o=[" "],startOfLine:i=!1,decorationTag:r="span",decorationClass:c="suggestion",decorationContent:u="",decorationEmptyClass:x="is-empty",command:m=()=>null,items:d=()=>[],render:f=()=>({}),allow:j=()=>!0,findSuggestionMatch:p=nl,shouldShow:h}){let g;const y=f?.(),b=()=>{const N=e.state.selection.$anchor.pos,w=e.view.coordsAtPos(N),{top:D,right:z,bottom:_,left:k}=w;try{return new DOMRect(k,D,z-k,_-D)}catch{return null}},v=(N,w)=>w?()=>{const D=t.getState(e.state),z=D?.decorationId,_=N.dom.querySelector(`[data-decoration-id="${z}"]`);return _?.getBoundingClientRect()||null}:b;function C(N,w){var D;try{const _=t.getState(N.state),k=_?.decorationId?N.dom.querySelector(`[data-decoration-id="${_.decorationId}"]`):null,B={editor:e,range:_?.range||{from:0,to:0},query:_?.query||null,text:_?.text||null,items:[],command:q=>m({editor:e,range:_?.range||{from:0,to:0},props:q}),decorationNode:k,clientRect:v(N,k)};(D=y?.onExit)==null||D.call(y,B)}catch{}const z=N.state.tr.setMeta(w,{exit:!0});N.dispatch(z)}const T=new Tn({key:t,view(){return{update:async(N,w)=>{var D,z,_,k,B,q,G;const S=(D=this.key)==null?void 0:D.getState(w),A=(z=this.key)==null?void 0:z.getState(N.state),$=S.active&&A.active&&S.range.from!==A.range.from,H=!S.active&&A.active,R=S.active&&!A.active,O=!H&&!R&&S.query!==A.query,V=H||$&&O,P=O||$,F=R||$&&O;if(!V&&!P&&!F)return;const K=F&&!V?S:A,Y=N.dom.querySelector(`[data-decoration-id="${K.decorationId}"]`);g={editor:e,range:K.range,query:K.query,text:K.text,items:[],command:ae=>m({editor:e,range:K.range,props:ae}),decorationNode:Y,clientRect:v(N,Y)},V&&((_=y?.onBeforeStart)==null||_.call(y,g)),P&&((k=y?.onBeforeUpdate)==null||k.call(y,g)),(P||V)&&(g.items=await d({editor:e,query:K.query})),F&&((B=y?.onExit)==null||B.call(y,g)),P&&((q=y?.onUpdate)==null||q.call(y,g)),V&&((G=y?.onStart)==null||G.call(y,g))},destroy:()=>{var N;g&&((N=y?.onExit)==null||N.call(y,g))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(N,w,D,z){const{isEditable:_}=e,{composing:k}=e.view,{selection:B}=N,{empty:q,from:G}=B,S={...w},A=N.getMeta(t);if(A&&A.exit)return S.active=!1,S.decorationId=null,S.range={from:0,to:0},S.query=null,S.text=null,S;if(S.composing=k,_&&(q||e.view.composing)){(G<w.range.from||G>w.range.to)&&!k&&!w.composing&&(S.active=!1);const $=p({char:n,allowSpaces:a,allowToIncludeChar:l,allowedPrefixes:o,startOfLine:i,$position:B.$from}),H=`id_${Math.floor(Math.random()*4294967295)}`;$&&j({editor:e,state:z,range:$.range,isActive:w.active})&&(!h||h({editor:e,range:$.range,query:$.query,text:$.text,transaction:N}))?(S.active=!0,S.decorationId=w.decorationId?w.decorationId:H,S.range=$.range,S.query=$.query,S.text=$.text):S.active=!1}else S.active=!1;return S.active||(S.decorationId=null,S.range={from:0,to:0},S.query=null,S.text=null),S}},props:{handleKeyDown(N,w){var D,z,_,k;const{active:B,range:q}=T.getState(N.state);if(!B)return!1;if(w.key==="Escape"||w.key==="Esc"){const S=T.getState(N.state),A=(D=g?.decorationNode)!=null?D:null,$=A??(S?.decorationId?N.dom.querySelector(`[data-decoration-id="${S.decorationId}"]`):null);if(((z=y?.onKeyDown)==null?void 0:z.call(y,{view:N,event:w,range:S.range}))||!1)return!0;const R={editor:e,range:S.range,query:S.query,text:S.text,items:[],command:O=>m({editor:e,range:S.range,props:O}),decorationNode:$,clientRect:$?()=>$.getBoundingClientRect()||null:null};return(_=y?.onExit)==null||_.call(y,R),C(N,t),!0}return((k=y?.onKeyDown)==null?void 0:k.call(y,{view:N,event:w,range:q}))||!1},decorations(N){const{active:w,range:D,decorationId:z,query:_}=T.getState(N);if(!w)return null;const k=!_?.length,B=[c];return k&&B.push(x),An.create(N.doc,[$n.inline(D.from,D.to,{nodeName:r,class:B.join(" "),"data-decoration-id":z,"data-decoration-content":u})])}}});return T}function rl(t){const e=M.c(24),{editor:n,query:a,items:l,onSelect:o,onClose:i}=t,[r,c]=I.useState(0),u=I.useRef(l),x=I.useRef(r),m=I.useRef(o),d=I.useRef(i),f=I.useDeferredValue(a);let j;e[0]===Symbol.for("react.memo_cache_sentinel")?(j=()=>{c(0)},e[0]=j):j=e[0];let p;e[1]!==f?(p=[f],e[1]=f,e[2]=p):p=e[2],I.useEffect(j,p);let h,g;e[3]!==l.length||e[4]!==r?(h=()=>{r>=l.length&&l.length>0&&c(0)},g=[l.length,r],e[3]=l.length,e[4]=r,e[5]=h,e[6]=g):(h=e[5],g=e[6]),I.useEffect(h,g);let y,b;e[7]!==l?(y=()=>{u.current=l},b=[l],e[7]=l,e[8]=y,e[9]=b):(y=e[8],b=e[9]),I.useEffect(y,b);let v,C;e[10]!==r?(v=()=>{x.current=r},C=[r],e[10]=r,e[11]=v,e[12]=C):(v=e[11],C=e[12]),I.useEffect(v,C);let T,N;e[13]!==o?(N=()=>{m.current=o},T=[o],e[13]=o,e[14]=T,e[15]=N):(T=e[14],N=e[15]),I.useEffect(N,T);let w,D;e[16]!==i?(w=()=>{d.current=i},D=[i],e[16]=i,e[17]=w,e[18]=D):(w=e[17],D=e[18]),I.useEffect(w,D);let z,_;e[19]!==n?(z=()=>{if(n?.isDestroyed)return;let q;try{q=n.view.dom}catch{return}if(!q)return;const G=A=>{const $=u.current;if(!$.length)return!1;const H=()=>c(O=>(O+1)%$.length),R=()=>c(O=>(O-1+$.length)%$.length);switch(A.key){case"ArrowUp":return A.preventDefault(),R(),!0;case"ArrowDown":return A.preventDefault(),H(),!0;case"Tab":return A.preventDefault(),A.shiftKey?R():H(),!0;case"Home":return A.preventDefault(),c(0),!0;case"End":return A.preventDefault(),c($.length-1),!0;case"Enter":{if(A.isComposing)return!1;A.preventDefault();const O=x.current;return O!==-1&&$[O]&&m.current?.($[O],O),!0}case"Escape":return A.preventDefault(),d.current?.(),!0;default:return!1}},S=A=>{G(A)};return q.addEventListener("keydown",S,!0),()=>{q?.removeEventListener("keydown",S,!0)}},_=[n],e[19]=n,e[20]=z,e[21]=_):(z=e[20],_=e[21]),I.useEffect(z,_);const k=l.length?r:void 0;let B;return e[22]!==k?(B={selectedIndex:k,setSelectedIndex:c},e[22]=k,e[23]=B):B=e[23],B}function ol(t,e){switch(e.type){case"SET_SELECTED_ITEM":return{...t,selectedItem:e.payload};case"ON_START":return{...t,open:!0,selectedItem:null,element:e.payload.element,query:e.payload.query,range:e.payload.range};case"ON_UPDATE":return{...t,element:e.payload.element,query:e.payload.query,range:e.payload.range};case"ON_EXIT":return{open:!1,element:null,query:"",range:null,selectedItem:null};default:return t}}const il=I.createContext(void 0);function cl(){const t=I.useContext(il);if(!t)throw new Error("useSuggestionContext must be used within a SuggestionContext.Provider");return t}function lr({editor:t,char:e,pluginKey:n,allow:a,onOpenChange:l}){const[o,i]=I.useReducer(ol,{open:!1,element:null,query:"",range:null,selectedItem:null}),r=I.useRef(l);return r.current=l,I.useEffect(()=>{if(t?.isDestroyed)return;const c=n instanceof Zt?n:new Zt(n);t.state.plugins.find(m=>m.spec.key===c)&&t.unregisterPlugin(c);const x=al({pluginKey:c,editor:t,char:e,allow(m){const d=t.state.doc.resolve(m.range.from);for(let f=d.depth;f>0;f--)if(d.node(f).type.name==="image")return!1;return!(a&&!a(m))},command(){},render:()=>({onStart:m=>{i({type:"ON_START",payload:{element:m.decorationNode??null,query:m.query,range:m.range}}),r.current?.(!0)},onUpdate:m=>{i({type:"ON_UPDATE",payload:{element:m.decorationNode??null,query:m.query,range:m.range}})},onKeyDown:m=>m.event.key==="Escape"?(i({type:"ON_EXIT"}),!0):!1,onExit:()=>{i({type:"ON_EXIT"}),r.current?.(!1)}}),items:()=>[]});return t.registerPlugin(x),()=>{t?.isDestroyed||t.unregisterPlugin(c)}},[t,n,e,i,a]),{state:o,dispatch:i}}function ar({editor:t,queryKey:e,queryFn:n,onSelect:a}){const{state:l,dispatch:o}=cl(),i=I.useDeferredValue(l.query),{data:r}=Vs({queryKey:ht.suggestionItems(e,l.open,i),queryFn:()=>l.open?n({query:i}):[]}),c=()=>{o({type:"ON_EXIT"})},u=async(m,d)=>{if(!(l.selectedItem!==null||!l.range)){o({type:"SET_SELECTED_ITEM",payload:m});try{const{view:f}=t,p=f.state.selection.$to.nodeAfter?.text?.startsWith(" "),h=l.range?{...l.range}:{from:0,to:0};p&&l.range&&(h.to+=1),await a({range:h,item:m})===!1?o({type:"SET_SELECTED_ITEM",payload:null}):c()}catch{c()}}},{selectedIndex:x}=rl({editor:t,query:i,items:r,onSelect:u,onClose:c});return{selectedItem:l.selectedItem,items:r,selectedIndex:x,close:c,onSelect:u}}function dl(t){return t?t.run_in_progress?"generating":t.scanned_at?"ready":"none":"none"}const ul=2e4;function ml(t){if(typeof t!="string"||!t)return null;try{return new URL(t).hostname||null}catch{return null}}function fl(){const t=M.c(17),{org:e}=Pe(),n=dn.COMMERCE_DISCOVERY(e.id);let a;t[0]!==e.id||t[1]!==e.slug?(a=ps({connectionId:Ds,orgId:e.id,orgSlug:e.slug}),t[0]=e.id,t[1]=e.slug,t[2]=a):a=t[2];const{data:l}=pt(a),i=pt({queryKey:ht.commerceDiscoveryConnection(e.id,n),enabled:!!l,retry:!1,staleTime:6e4,queryFn:async()=>{if(!l)throw new Error("selfClient not ready");const b=await l.callTool({name:"COLLECTION_CONNECTIONS_GET",arguments:{id:n}});return ts(b)}}).data?.item??null,{data:r}=pt({...ps({connectionId:n,orgId:e.id,orgSlug:e.slug}),enabled:!!i}),c=ht.commerceDiscoveryDiagnostic(e.id,n),u=!!r;let x;t[3]!==r?(x=async()=>{if(!r)throw new Error("cdClient not ready");const b=await r.callTool({name:ks,arguments:{}});return ts(b).diagnostic??null},t[3]=r,t[4]=x):x=t[4];let m;t[5]!==c||t[6]!==u||t[7]!==x?(m={queryKey:c,enabled:u,retry:1,refetchInterval:xl,queryFn:x},t[5]=c,t[6]=u,t[7]=x,t[8]=m):m=t[8];const d=pt(m),f=d.data??null,j=d.isSuccess,p=i?.metadata?.siteUrl;let h;t[9]!==p?(h=ml(p),t[9]=p,t[10]=h):h=t[10];const g=r??null;let y;return t[11]!==n||t[12]!==d.isSuccess||t[13]!==f||t[14]!==h||t[15]!==g?(y={diagnostic:f,isSuccess:j,host:h,connectionId:n,cdClient:g},t[11]=n,t[12]=d.isSuccess,t[13]=f,t[14]=h,t[15]=g,t[16]=y):y=t[16],y}function xl(t){return t.state.status!=="error"&&dl(t.state.data)==="generating"?ul:!1}function gl(t,e){return{to:"/$org/$taskId",params:{org:t.slug,taskId:crypto.randomUUID()},search:{virtualmcpid:un(t.id),main:Jn(e,ks)}}}function pl(t){const{org:e}=Pe(),{data:n}=Ws.useSession(),a=jn(),l=ls(),o=mn({connectionId:Ds,orgId:e.id,orgSlug:e.slug}),[i,r]=I.useState(!1),c=gn(t,{enabled:!1});return{connect:async()=>{if(!(i||!n?.user?.id||!e)){r(!0);try{const x=c.data??(await c.refetch()).data;if(!x){vt.error("Could not find this integration in the registry");return}const m=Cn(x,e.id,n.user.id,{remoteIndex:0});if(!m.connection_url){vt.error("This integration has no connection method available");return}const d=m.app_name?await hl(o,m.app_name):null,f=!d,j=d?.id??(await a.create.mutateAsync(m)).id,p=await Sn({connectionId:j,orgId:e.id,orgSlug:e.slug,persistFallback:h=>a.update.mutateAsync({id:j,data:{connection_token:h}}).then(()=>{})});if(p.ran&&!p.ok){if(f)try{await a.delete.mutateAsync(j)}catch{}vt.error(`Authentication failed: ${p.error??"no token"}`);return}Xs(l,e.id),vt.success(f?"Connected successfully":"Already connected")}catch(x){vt.error(`Failed to connect: ${x instanceof Error?x.message:String(x)}`)}finally{r(!1)}}},isConnecting:i}}async function hl(t,e){return(await t.callTool({name:"COLLECTION_CONNECTIONS_LIST",arguments:{where:{field:["app_name"],operator:"eq",value:e},limit:1}})).structuredContent?.items?.[0]??null}function Ee(t){const e=M.c(8),{size:n,className:a}=t,l=n===void 0?16:n;let o;e[0]!==l?(o={width:l,height:l},e[0]=l,e[1]=o):o=e[1];let i;e[2]!==a?(i=U("shrink-0 rounded-full object-cover",a),e[2]=a,e[3]=i):i=e[3];let r;return e[4]!==l||e[5]!==o||e[6]!==i?(r=s.jsx("img",{src:fn,alt:"Super Agent",width:l,height:l,style:o,className:i}),e[4]=l,e[5]=o,e[6]=i,e[7]=r):r=e[7],r}const ys=()=>0;function yl(t){const{orgSlug:e,enabled:n=!0,onUpdate:a,onDelete:l}=t,o=I.useRef(a);o.current=a;const i=I.useRef(l);i.current=l;const r=I.useRef(null),c=I.useRef(n),u=I.useRef(e);(!r.current||c.current!==n||u.current!==e)&&(c.current=n,u.current=e,r.current=m=>{if(!n||!e)return()=>{};const d=f=>{let j;try{j=JSON.parse(f.data)}catch{return}j.data&&(f.type===_n?i.current?.(j.data.id):o.current(j.data)),m()};return wn.subscribe(e,d)}),I.useSyncExternalStore(r.current,ys,ys)}function bl(){const t=M.c(27),{org:e,locator:n}=Pe(),a=Lt(),l=ls();let o;t[0]!==n?(o=ht.taskBoardItems(n),t[0]=n,t[1]=o):o=t[1];const i=o;let r;t[2]!==a?(r=async()=>(await a.call("TASK_BOARD_ITEM_LIST",{})).items,t[2]=a,t[3]=r):r=t[3];let c;t[4]!==i||t[5]!==r?(c={queryKey:i,queryFn:r},t[4]=i,t[5]=r,t[6]=c):c=t[6];const u=pt(c);let x,m;t[7]!==l||t[8]!==i?(x=g=>{l.setQueryData(i,y=>{const b=y??[],v=g;return b.some(C=>C.id===v.id)?b.map(C=>C.id===v.id?v:C):[v,...b]})},m=g=>{l.setQueryData(i,y=>y?.filter(b=>b.id!==g))},t[7]=l,t[8]=i,t[9]=x,t[10]=m):(x=t[9],m=t[10]);let d;t[11]!==e.slug||t[12]!==x||t[13]!==m?(d={orgSlug:e.slug,onUpdate:x,onDelete:m},t[11]=e.slug,t[12]=x,t[13]=m,t[14]=d):d=t[14],yl(d);let f;t[15]!==l||t[16]!==i?(f=g=>{const y=g.subject,b=g.data.status;l.setQueryData(i,v=>v?.map(C=>C.threads.some(T=>T.threadId===y)?{...C,threads:C.threads.map(T=>T.threadId===y?{...T,status:b}:T)}:C))},t[15]=l,t[16]=i,t[17]=f):f=t[17];let j;t[18]!==e.slug||t[19]!==f?(j={orgSlug:e.slug,onTaskStatus:f},t[18]=e.slug,t[19]=f,t[20]=j):j=t[20],In(j);let p;t[21]!==u.data?(p=u.data??[],t[21]=u.data,t[22]=p):p=t[22];let h;return t[23]!==u.error||t[24]!==u.isLoading||t[25]!==p?(h={items:p,isLoading:u.isLoading,error:u.error},t[23]=u.error,t[24]=u.isLoading,t[25]=p,t[26]=h):h=t[26],h}function jl(){const t=M.c(36),{locator:e}=Pe(),n=Lt(),a=ls();let l;t[0]!==e?(l=ht.taskBoardItems(e),t[0]=e,t[1]=l):l=t[1];const o=l;let i;t[2]!==a||t[3]!==o?(i=()=>a.invalidateQueries({queryKey:o}),t[2]=a,t[3]=o,t[4]=i):i=t[4];const r=i;let c;t[5]!==n?(c=N=>n.call("TASK_BOARD_ITEM_CREATE",N),t[5]=n,t[6]=c):c=t[6];let u;t[7]!==r||t[8]!==c?(u={mutationFn:c,onSuccess:r},t[7]=r,t[8]=c,t[9]=u):u=t[9];const x=Rt(u);let m;t[10]!==n?(m=N=>n.call("TASK_BOARD_ITEM_UPDATE",N),t[10]=n,t[11]=m):m=t[11];let d,f;t[12]!==a||t[13]!==o?(d=async N=>{await a.cancelQueries({queryKey:o});const w=a.getQueryData(o);return a.setQueryData(o,D=>D?.map(z=>z.id===N.id?{...z,...N}:z)),{previous:w}},f=(N,w,D)=>{D?.previous&&a.setQueryData(o,D.previous)},t[12]=a,t[13]=o,t[14]=d,t[15]=f):(d=t[14],f=t[15]);let j;t[16]!==r||t[17]!==m||t[18]!==d||t[19]!==f?(j={mutationFn:m,onMutate:d,onError:f,onSettled:r},t[16]=r,t[17]=m,t[18]=d,t[19]=f,t[20]=j):j=t[20];const p=Rt(j);let h;t[21]!==n?(h=N=>n.call("TASK_BOARD_ITEM_DELETE",{id:N}),t[21]=n,t[22]=h):h=t[22];let g;t[23]!==r||t[24]!==h?(g={mutationFn:h,onSuccess:r},t[23]=r,t[24]=h,t[25]=g):g=t[25];const y=Rt(g);let b;t[26]!==n?(b=N=>n.call("TASK_BOARD_ITEM_UPDATE",N),t[26]=n,t[27]=b):b=t[27];let v;t[28]!==r||t[29]!==b?(v={mutationFn:b,onSuccess:r},t[28]=r,t[29]=b,t[30]=v):v=t[30];const C=Rt(v);let T;return t[31]!==x||t[32]!==C||t[33]!==y||t[34]!==p?(T={create:x,update:p,remove:y,link:C},t[31]=x,t[32]=C,t[33]=y,t[34]=p,t[35]=T):T=t[35],T}function ss(t){return t.threads.some(e=>e.status==="requires_action")}function Nl(t){return t.threads[0]}const qs=["triage","todo","in_progress","in_review","done"],ve={triage:{label:"Backlog",icon:Ts,iconClassName:"text-muted-foreground"},todo:{label:"To Do",icon:kn,iconClassName:"text-muted-foreground"},in_progress:{label:"In Progress",icon:rs,iconClassName:"text-primary"},in_review:{label:"In Review",icon:En,iconClassName:"text-warning"},done:{label:"Done",icon:us,iconClassName:"text-success"}},Bs=["none","low","medium","high","urgent"],we={none:{label:"No priority",flagClassName:"text-muted-foreground",dotClassName:"border border-muted-foreground/50"},low:{label:"Low",flagClassName:"text-muted-foreground",dotClassName:"bg-muted-foreground/40"},medium:{label:"Medium",flagClassName:"text-blue-500",dotClassName:"bg-blue-500"},high:{label:"High",flagClassName:"text-warning",dotClassName:"bg-warning"},urgent:{label:"Urgent",flagClassName:"text-destructive",dotClassName:"bg-destructive"}};function vl(t){const e=M.c(10),{locator:n}=Pe(),a=Lt();let l;e[0]!==t||e[1]!==n?(l=ht.taskBoardItemPrs(n,t??""),e[0]=t,e[1]=n,e[2]=l):l=e[2];const o=!!t;let i;e[3]!==t||e[4]!==a?(i=async()=>(await a.call("TASK_BOARD_ITEM_PRS_GET",{taskBoardItemId:t})).prs,e[3]=t,e[4]=a,e[5]=i):i=e[5];let r;return e[6]!==l||e[7]!==o||e[8]!==i?(r={queryKey:l,enabled:o,queryFn:i},e[6]=l,e[7]=o,e[8]=i,e[9]=r):r=e[9],pt(r)}function Sl(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59).toISOString()}function bs(t){if(!t)return null;const e=new Date(t);return Number.isNaN(e.getTime())?null:e}const Cl=new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"}),St="inline-flex h-9 items-center gap-2 rounded-lg border border-border px-3 text-sm font-medium text-foreground transition-colors hover:bg-muted sm:border-transparent",wl={failed:{label:"Error",className:"text-destructive",icon:nn},requires_action:{label:"Needs input",className:"text-warning",icon:_s},in_progress:{label:"Running",className:"text-primary",icon:rs,spin:!0},completed:{label:"Completed",className:"text-success",icon:us},expired:{label:"Expired",className:"text-muted-foreground",icon:Ts}};function _l(t){const e=M.c(188),{open:n,onClose:a,item:l,defaultStatus:o,onSubmit:i,onDelete:r,onOpenThread:c,onNewChat:u,isSaving:x}=t,{data:m}=Es(),d=m?.data?.members??[],{handleCopy:f,copied:j}=Pn(),[p,h]=I.useState(l?.title??""),[g,y]=I.useState(l?.description??""),[b,v]=I.useState(l?.status??o??"triage"),[C,T]=I.useState(l?.priority??"medium"),[N,w]=I.useState(l?.assigneeId??null),D=l?.dueDate;let z;e[0]!==D?(z=bs(D),e[0]=D,e[1]=z):z=e[1];const[_,k]=I.useState(z),[B,q]=I.useState(!1),[G,S]=I.useState(!1);let A;e[2]!==o||e[3]!==l?.assigneeId||e[4]!==l?.description||e[5]!==l?.dueDate||e[6]!==l?.priority||e[7]!==l?.status||e[8]!==l?.title||e[9]!==w||e[10]!==k?(A=()=>{h(l?.title??""),y(l?.description??""),v(l?.status??o??"triage"),T(l?.priority??"medium"),w(l?.assigneeId??null),k(bs(l?.dueDate))},e[2]=o,e[3]=l?.assigneeId,e[4]=l?.description,e[5]=l?.dueDate,e[6]=l?.priority,e[7]=l?.status,e[8]=l?.title,e[9]=w,e[10]=k,e[11]=A):A=e[11];const $=A;let H;e[12]!==a||e[13]!==$?(H=()=>{a(),$()},e[12]=a,e[13]=$,e[14]=H):H=e[14];const R=H;let O;e[15]!==N||e[16]!==g||e[17]!==_||e[18]!==i||e[19]!==C||e[20]!==b||e[21]!==p?(O=()=>{const E=p.trim();E&&i({title:E,description:g.trim()||null,status:b,priority:C,assigneeId:N,dueDate:_?Sl(_):null})},e[15]=N,e[16]=g,e[17]=_,e[18]=i,e[19]=C,e[20]=b,e[21]=p,e[22]=O):O=e[22];const V=O,P=N===ze;let F;e[23]!==N?(F=E=>E.userId===N,e[23]=N,e[24]=F):F=e[24];const K=d.find(F),Y=l?.assignedBy?d.find(E=>E.userId===l.assignedBy):void 0,ae=ve[b].icon,xe=cs;let W;e[25]!==R?(W=E=>!E&&R(),e[25]=R,e[26]=W):W=e[26];const Te=is,bt="flex max-h-[90vh] flex-col gap-0 overflow-hidden rounded-2xl p-0 sm:h-[85vh] sm:max-h-[640px] sm:max-w-[850px]",jt="hidden",Ae=l?"Edit task":"New task";let Z;e[27]!==Ae?(Z=s.jsx(ds,{className:"sr-only",children:Ae}),e[27]=Ae,e[28]=Z):Z=e[28];let oe;e[29]===Symbol.for("react.memo_cache_sentinel")?(oe=s.jsx(hs,{size:16}),e[29]=oe):oe=e[29];let ee;e[30]!==R?(ee=s.jsx("button",{type:"button","aria-label":"Close",onClick:R,className:"absolute right-2.5 top-2.5 z-10 flex size-10 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",children:oe}),e[30]=R,e[31]=ee):ee=e[31];const _e="flex min-h-0 flex-1 flex-col overflow-y-auto sm:flex-row sm:overflow-hidden";let ie;e[32]===Symbol.for("react.memo_cache_sentinel")?(ie=E=>{h(E.target.value),E.target.style.height="auto",E.target.style.height=`${E.target.scrollHeight}px`},e[32]=ie):ie=e[32];let te;e[33]!==p?(te=s.jsx("textarea",{ref:Dl,value:p,onChange:ie,onKeyDown:Il,placeholder:"Task title...",autoFocus:!0,rows:1,className:"w-full resize-none overflow-hidden border-0 bg-transparent text-xl font-medium leading-snug text-foreground outline-none placeholder:text-foreground/30"}),e[33]=p,e[34]=te):te=e[34];let Ne;e[35]===Symbol.for("react.memo_cache_sentinel")?(Ne=E=>y(E.target.value),e[35]=Ne):Ne=e[35];let L;e[36]!==g?(L=s.jsx("textarea",{value:g,onChange:Ne,placeholder:"Describe a task for an agent...",className:"min-h-[96px] w-full flex-1 resize-none border-0 bg-transparent text-[15px] leading-relaxed text-foreground outline-none placeholder:text-muted-foreground/50 sm:min-h-[120px]"}),e[36]=g,e[37]=L):L=e[37];let X;e[38]!==j||e[39]!==g||e[40]!==f?(X=g&&s.jsx(re,{type:"button",variant:"ghost",size:"icon","aria-label":"Copy description",className:"absolute right-0 top-0 size-7 text-muted-foreground opacity-0 transition-opacity hover:text-foreground group-hover:opacity-100",onClick:()=>f(g),children:j?s.jsx(qn,{size:14}):s.jsx(Mn,{size:14})}),e[38]=j,e[39]=g,e[40]=f,e[41]=X):X=e[41];let J;e[42]!==L||e[43]!==X?(J=s.jsxs("div",{className:"group relative flex flex-1 flex-col",children:[L,X]}),e[42]=L,e[43]=X,e[44]=J):J=e[44];const $e=l&&l.threads.length>0&&s.jsx("div",{className:"flex flex-col gap-2",children:l.threads.map(E=>s.jsx(kl,{thread:E,startedBy:Y??K,onOpen:c},E.threadId))});let se;e[45]!==l?(se=l?.id&&s.jsx(Al,{itemId:l.id}),e[45]=l,e[46]=se):se=e[46];let ge;e[47]!==te||e[48]!==J||e[49]!==$e||e[50]!==se?(ge=s.jsxs("div",{className:"flex min-w-0 flex-col gap-6 p-6 sm:flex-1 sm:overflow-y-auto sm:p-8",children:[te,J,$e,se]}),e[47]=te,e[48]=J,e[49]=$e,e[50]=se,e[51]=ge):ge=e[51];const qe="flex w-full shrink-0 flex-col gap-4 border-t border-border p-6 sm:w-[220px] sm:border-t-0 sm:border-l sm:px-6 sm:py-10";let Oe;e[52]===Symbol.for("react.memo_cache_sentinel")?(Oe=s.jsx("span",{className:"hidden px-3 text-sm text-muted-foreground sm:block",children:"Properties"}),e[52]=Oe):Oe=e[52];const wt="flex flex-wrap gap-2 sm:flex-col",Ie=ve[b];let ce;e[53]!==ae||e[54]!==Ie.iconClassName?(ce=s.jsx(ae,{size:16,className:Ie.iconClassName}),e[53]=ae,e[54]=Ie.iconClassName,e[55]=ce):ce=e[55];const pe=ve[b];let ne;e[56]!==ce||e[57]!==pe.label?(ne=s.jsx(Pt,{asChild:!0,children:s.jsxs("button",{type:"button",className:St,children:[ce,pe.label]})}),e[56]=ce,e[57]=pe.label,e[58]=ne):ne=e[58];let De;e[59]===Symbol.for("react.memo_cache_sentinel")?(De=s.jsx(qt,{align:"start",className:"w-44",children:qs.map(E=>{const je=ve[E].icon;return s.jsxs(yt,{onSelect:()=>v(E),className:"gap-2",children:[s.jsx(je,{size:16,className:ve[E].iconClassName}),ve[E].label]},E)})}),e[59]=De):De=e[59];let de;e[60]!==ne?(de=s.jsxs(Bt,{children:[ne,De]}),e[60]=ne,e[61]=de):de=e[61];const he=C==="none"&&"text-muted-foreground";let ye;e[62]!==he?(ye=U(St,he),e[62]=he,e[63]=ye):ye=e[63];let ue;e[64]!==C?(ue=C==="none"?s.jsxs(s.Fragment,{children:[s.jsx(tn,{size:16}),"Set priority"]}):s.jsxs(s.Fragment,{children:[s.jsx("span",{className:U("size-2 rounded-full",we[C].dotClassName)}),we[C].label]}),e[64]=C,e[65]=ue):ue=e[65];let le;e[66]!==ye||e[67]!==ue?(le=s.jsx(Pt,{asChild:!0,children:s.jsx("button",{type:"button",className:ye,children:ue})}),e[66]=ye,e[67]=ue,e[68]=le):le=e[68];let me;e[69]===Symbol.for("react.memo_cache_sentinel")?(me=s.jsx(qt,{align:"start",className:"w-40",children:Bs.map(E=>s.jsxs(yt,{onSelect:()=>T(E),children:[s.jsx("span",{className:U("size-2 rounded-full",we[E].dotClassName)}),we[E].label]},E))}),e[69]=me):me=e[69];let fe;e[70]!==le?(fe=s.jsxs(Bt,{children:[le,me]}),e[70]=le,e[71]=fe):fe=e[71];const ke="flex flex-col",be=Xt,Q=!0,Nt=Wt,Qs=!0,Hs="button",Kt=!N&&"text-muted-foreground";let Be;e[72]!==Kt?(Be=U(St,Kt),e[72]=Kt,e[73]=Be):Be=e[73];const Gt=P&&Y?s.jsxs(s.Fragment,{children:[s.jsxs("span",{className:"hidden items-center gap-2 sm:flex",children:[s.jsx(Ce,{url:Y.user?.image??void 0,fallback:Se(Y.user?.name),shape:"circle",size:"2xs"}),s.jsx("span",{className:"truncate",children:Y.user?.name??"Super Agent"})]}),s.jsxs("span",{className:"flex items-center gap-2 sm:hidden",children:[s.jsxs("span",{className:"inline-flex items-center",children:[s.jsx(Ce,{url:Y.user?.image??void 0,fallback:Se(Y.user?.name),shape:"circle",size:"2xs",className:"-mr-1.5 ring-2 ring-background"}),s.jsx(Ee,{size:16,className:"ring-2 ring-background"})]}),"Super Agent"]})]}):P?s.jsxs(s.Fragment,{children:[s.jsx(Ee,{size:16}),"Super Agent"]}):K?s.jsxs(s.Fragment,{children:[s.jsx(Ce,{url:K.user?.image??void 0,fallback:Se(K.user?.name),shape:"circle",size:"2xs"}),s.jsx("span",{className:"truncate",children:K.user?.name??"Unassigned"})]}):s.jsxs(s.Fragment,{children:[s.jsx(sn,{size:16,className:"text-muted-foreground"}),"Assign"]});let Me;e[74]!==Be||e[75]!==Gt?(Me=s.jsx("button",{type:Hs,className:Be,children:Gt}),e[74]=Be,e[75]=Gt,e[76]=Me):Me=e[76];let Fe;e[77]!==Nt||e[78]!==Me?(Fe=s.jsx(Nt,{asChild:Qs,children:Me}),e[77]=Nt,e[78]=Me,e[79]=Fe):Fe=e[79];let _t;e[80]===Symbol.for("react.memo_cache_sentinel")?(_t=s.jsx(As,{placeholder:"Assign to…",className:"h-9"}),e[80]=_t):_t=e[80];let It;e[81]===Symbol.for("react.memo_cache_sentinel")?(It=s.jsx($s,{children:"No members found."}),e[81]=It):It=e[81];let Le;e[82]!==w||e[83]!==S?(Le=()=>{w(ze),S(!1)},e[82]=w,e[83]=S,e[84]=Le):Le=e[84];let Dt,kt;e[85]===Symbol.for("react.memo_cache_sentinel")?(Dt=s.jsx(Ee,{size:16}),kt=s.jsx("span",{className:"truncate",children:"Super Agent"}),e[85]=Dt,e[86]=kt):(Dt=e[85],kt=e[86]);let Ue;e[87]!==Le?(Ue=s.jsxs(Re,{value:"Super Agent",onSelect:Le,className:"gap-2",children:[Dt,kt]}),e[87]=Le,e[88]=Ue):Ue=e[88];let Ke;e[89]!==w||e[90]!==S?(Ke=()=>{w(null),S(!1)},e[89]=w,e[90]=S,e[91]=Ke):Ke=e[91];let Et,Tt;e[92]===Symbol.for("react.memo_cache_sentinel")?(Et=s.jsx(es,{size:16,className:"text-muted-foreground"}),Tt=s.jsx("span",{className:"truncate",children:"Unassigned"}),e[92]=Et,e[93]=Tt):(Et=e[92],Tt=e[93]);let Ge;e[94]!==Ke?(Ge=s.jsxs(Re,{value:"Unassigned",onSelect:Ke,className:"gap-2",children:[Et,Tt]}),e[94]=Ke,e[95]=Ge):Ge=e[95];let Qe;e[96]!==Ue||e[97]!==Ge?(Qe=s.jsxs(Mt,{children:[Ue,Ge]}),e[96]=Ue,e[97]=Ge,e[98]=Qe):Qe=e[98];let He;if(e[99]!==d||e[100]!==w||e[101]!==S){let E;e[103]!==w||e[104]!==S?(E=je=>s.jsxs(Re,{value:je.user?.name??je.userId,onSelect:()=>{w(je.userId),S(!1)},className:"gap-2",children:[s.jsx(Ce,{url:je.user?.image??void 0,fallback:Se(je.user?.name),shape:"circle",size:"2xs"}),s.jsx("span",{className:"truncate",children:je.user?.name??je.userId})]},je.userId),e[103]=w,e[104]=S,e[105]=E):E=e[105],He=d.map(E),e[99]=d,e[100]=w,e[101]=S,e[102]=He}else He=e[102];let Ye;e[106]!==He?(Ye=s.jsx(Mt,{heading:"Members",children:He}),e[106]=He,e[107]=Ye):Ye=e[107];let Ve;e[108]!==Qe||e[109]!==Ye?(Ve=s.jsx(Jt,{align:"start",className:"w-56 p-0",children:s.jsxs(Os,{children:[_t,s.jsxs(Rs,{children:[It,Qe,Ye]})]})}),e[108]=Qe,e[109]=Ye,e[110]=Ve):Ve=e[110];let We;e[111]!==be||e[112]!==G||e[113]!==S||e[114]!==Fe||e[115]!==Ve?(We=s.jsxs(be,{open:G,onOpenChange:S,modal:Q,children:[Fe,Ve]}),e[111]=be,e[112]=G,e[113]=S,e[114]=Fe,e[115]=Ve,e[116]=We):We=e[116];let Xe;e[117]!==Y||e[118]!==P?(Xe=P&&Y&&s.jsxs("div",{className:"relative mt-1.5 hidden items-center pl-5 sm:flex",children:[s.jsx("span",{className:"absolute -top-1.5 left-5 h-[calc(50%+0.375rem)] w-2.5 rounded-bl-md border-b border-l border-border"}),s.jsxs("span",{className:U(St,"pointer-events-none"),children:[s.jsx(Ee,{size:16}),"Super Agent"]})]}),e[117]=Y,e[118]=P,e[119]=Xe):Xe=e[119];let Je;e[120]!==We||e[121]!==Xe?(Je=s.jsxs("div",{className:ke,children:[We,Xe]}),e[120]=We,e[121]=Xe,e[122]=Je):Je=e[122];const Qt=!_&&"text-muted-foreground";let Ze;e[123]!==Qt?(Ze=U(St,Qt),e[123]=Qt,e[124]=Ze):Ze=e[124];let At;e[125]===Symbol.for("react.memo_cache_sentinel")?(At=s.jsx(Ct,{size:16,className:"text-muted-foreground"}),e[125]=At):At=e[125];let et;e[126]!==_?(et=_?Cl.format(_):"Due date",e[126]=_,e[127]=et):et=e[127];let tt;e[128]!==_||e[129]!==k?(tt=_&&s.jsx("span",{role:"button",tabIndex:0,"aria-label":"Clear due date",className:"-mr-1 ml-0.5 flex size-4 items-center justify-center rounded-sm text-muted-foreground hover:bg-muted hover:text-foreground",onClick:E=>{E.stopPropagation(),k(null)},onKeyDown:E=>{(E.key==="Enter"||E.key===" ")&&(E.preventDefault(),E.stopPropagation(),k(null))},children:s.jsx(hs,{size:12})}),e[128]=_,e[129]=k,e[130]=tt):tt=e[130];let st;e[131]!==Ze||e[132]!==et||e[133]!==tt?(st=s.jsx(Wt,{asChild:!0,children:s.jsxs("button",{type:"button",className:Ze,children:[At,et,tt]})}),e[131]=Ze,e[132]=et,e[133]=tt,e[134]=st):st=e[134];const Ht=_??void 0;let nt;e[135]!==k||e[136]!==q?(nt=E=>{k(E??null),E&&q(!1)},e[135]=k,e[136]=q,e[137]=nt):nt=e[137];let lt;e[138]!==Ht||e[139]!==nt?(lt=s.jsx(Jt,{className:"w-auto p-0",align:"start",children:s.jsx(Rn,{mode:"single",selected:Ht,onSelect:nt,initialFocus:!0})}),e[138]=Ht,e[139]=nt,e[140]=lt):lt=e[140];let at;e[141]!==B||e[142]!==q||e[143]!==st||e[144]!==lt?(at=s.jsxs(Xt,{open:B,onOpenChange:q,children:[st,lt]}),e[141]=B,e[142]=q,e[143]=st,e[144]=lt,e[145]=at):at=e[145];let rt;e[146]!==de||e[147]!==fe||e[148]!==Je||e[149]!==at?(rt=s.jsxs("div",{className:wt,children:[de,fe,Je,at]}),e[146]=de,e[147]=fe,e[148]=Je,e[149]=at,e[150]=rt):rt=e[150];let ot;e[151]!==Oe||e[152]!==rt?(ot=s.jsxs("div",{className:qe,children:[Oe,rt]}),e[151]=Oe,e[152]=rt,e[153]=ot):ot=e[153];let it;e[154]!==ge||e[155]!==ot?(it=s.jsxs("div",{className:_e,children:[ge,ot]}),e[154]=ge,e[155]=ot,e[156]=it):it=e[156];let ct;e[157]!==l||e[158]!==r?(ct=l&&r?s.jsx(re,{variant:"ghost",size:"icon","aria-label":"Delete task",className:"size-10 text-muted-foreground hover:text-destructive",onClick:r,children:s.jsx(an,{size:16})}):s.jsx("span",{}),e[157]=l,e[158]=r,e[159]=ct):ct=e[159];let dt;e[160]!==l||e[161]!==u?(dt=l&&u&&s.jsxs(re,{variant:"outline",size:"sm",onClick:u,children:[s.jsx(rn,{size:16}),"New chat"]}),e[160]=l,e[161]=u,e[162]=dt):dt=e[162];let ut;e[163]!==x||e[164]!==p?(ut=!p.trim()||x,e[163]=x,e[164]=p,e[165]=ut):ut=e[165];let $t;e[166]===Symbol.for("react.memo_cache_sentinel")?($t=s.jsx(os,{size:16}),e[166]=$t):$t=e[166];const Yt=l?"Save":"Create task";let mt;e[167]!==V||e[168]!==ut||e[169]!==Yt?(mt=s.jsxs(re,{size:"sm",disabled:ut,onClick:V,children:[$t,Yt]}),e[167]=V,e[168]=ut,e[169]=Yt,e[170]=mt):mt=e[170];let ft;e[171]!==dt||e[172]!==mt?(ft=s.jsxs("div",{className:"flex items-center gap-2",children:[dt,mt]}),e[171]=dt,e[172]=mt,e[173]=ft):ft=e[173];let xt;e[174]!==ct||e[175]!==ft?(xt=s.jsxs("div",{className:"flex h-16 items-center justify-between border-t border-border px-4",children:[ct,ft]}),e[174]=ct,e[175]=ft,e[176]=xt):xt=e[176];let gt;e[177]!==Te||e[178]!==Z||e[179]!==ee||e[180]!==it||e[181]!==xt?(gt=s.jsxs(Te,{className:bt,closeButtonClassName:jt,children:[Z,ee,it,xt]}),e[177]=Te,e[178]=Z,e[179]=ee,e[180]=it,e[181]=xt,e[182]=gt):gt=e[182];let Ot;return e[183]!==xe||e[184]!==n||e[185]!==W||e[186]!==gt?(Ot=s.jsx(xe,{open:n,onOpenChange:W,children:gt}),e[183]=xe,e[184]=n,e[185]=W,e[186]=gt,e[187]=Ot):Ot=e[187],Ot}function Il(t){t.key==="Enter"&&t.preventDefault()}function Dl(t){t&&(t.style.height="auto",t.style.height=`${t.scrollHeight}px`)}function kl(t){const e=M.c(16),{thread:n,startedBy:a,onOpen:l}=t,o=n.status?wl[n.status]:null,i=n.lastMessage;let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(Ee,{size:16}),e[0]=r):r=e[0];const c=n.title||"Super Agent";let u;e[1]!==c?(u=s.jsx("span",{className:"truncate text-sm text-foreground",children:c}),e[1]=c,e[2]=u):u=e[2];let x;e[3]!==a?(x=a&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"text-sm text-muted-foreground/50",children:"started by"}),s.jsx(Ce,{url:a.user?.image??void 0,fallback:Se(a.user?.name),shape:"circle",size:"2xs"}),s.jsx("span",{className:"truncate text-sm text-foreground",children:a.user?.name??"someone"})]}),e[3]=a,e[4]=x):x=e[4];let m;e[5]!==u||e[6]!==x?(m=s.jsxs("div",{className:"flex items-center gap-2 px-4 py-3.5",children:[r,u,x]}),e[5]=u,e[6]=x,e[7]=m):m=e[7];let d;e[8]!==i||e[9]!==l||e[10]!==o||e[11]!==n?(d=o&&s.jsxs("button",{type:"button",disabled:!l,onClick:()=>l?.(n),className:"flex items-center gap-2 border-t border-border px-4 py-2 text-left transition-colors enabled:hover:bg-muted disabled:cursor-default",children:[s.jsxs("span",{className:U("flex items-center gap-1.5",o.className),children:[s.jsx(o.icon,{size:16,className:U(o.spin&&"animate-spin")}),s.jsx("span",{className:"text-sm",children:o.label})]}),i&&s.jsx("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:i}),l&&s.jsx(Bn,{size:16,className:"ml-auto shrink-0 text-muted-foreground"})]}),e[8]=i,e[9]=l,e[10]=o,e[11]=n,e[12]=d):d=e[12];let f;return e[13]!==m||e[14]!==d?(f=s.jsxs("div",{className:"flex flex-col overflow-hidden rounded-lg border border-border",children:[m,d]}),e[13]=m,e[14]=d,e[15]=f):f=e[15],f}function El(t){return t.merged?{label:"Merged",className:"text-special",icon:ln}:t.state==="closed"?{label:"Closed",className:"text-destructive",icon:zt}:t.draft?{label:"Draft",className:"text-muted-foreground",icon:zt}:{label:"Open",className:"text-success",icon:zt}}function Tl(t){const e=M.c(38),{pr:n}=t;let a,l,o,i,r,c,u,x;if(e[0]!==n){l=El(n);let C;e[9]!==n.body?(C=n.body?.trim(),e[9]=n.body,e[10]=C):C=e[10],a=C,r=n.url,c="_blank",u="noreferrer",x="flex flex-col gap-1 border-t border-border px-4 py-2 transition-colors hover:bg-muted",i="flex items-center gap-2",o=U("flex items-center gap-1.5",l.className),e[0]=n,e[1]=a,e[2]=l,e[3]=o,e[4]=i,e[5]=r,e[6]=c,e[7]=u,e[8]=x}else a=e[1],l=e[2],o=e[3],i=e[4],r=e[5],c=e[6],u=e[7],x=e[8];let m;e[11]!==l.icon?(m=s.jsx(l.icon,{size:16}),e[11]=l.icon,e[12]=m):m=e[12];let d;e[13]!==l.label?(d=s.jsx("span",{className:"text-sm",children:l.label}),e[13]=l.label,e[14]=d):d=e[14];let f;e[15]!==o||e[16]!==m||e[17]!==d?(f=s.jsxs("span",{className:o,children:[m,d]}),e[15]=o,e[16]=m,e[17]=d,e[18]=f):f=e[18];const j=n.title??`${n.repoOwner}/${n.repoName}`;let p;e[19]!==j?(p=s.jsx("span",{className:"min-w-0 flex-1 truncate text-sm text-foreground",children:j}),e[19]=j,e[20]=p):p=e[20];let h;e[21]!==n.number?(h=s.jsxs("span",{className:"shrink-0 text-sm text-muted-foreground",children:["#",n.number]}),e[21]=n.number,e[22]=h):h=e[22];let g;e[23]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(Fn,{size:16,className:"shrink-0 text-muted-foreground"}),e[23]=g):g=e[23];let y;e[24]!==p||e[25]!==h||e[26]!==i||e[27]!==f?(y=s.jsxs("span",{className:i,children:[f,p,h,g]}),e[24]=p,e[25]=h,e[26]=i,e[27]=f,e[28]=y):y=e[28];let b;e[29]!==a?(b=a?s.jsx("span",{className:"line-clamp-3 whitespace-pre-line text-xs text-muted-foreground",children:a}):null,e[29]=a,e[30]=b):b=e[30];let v;return e[31]!==y||e[32]!==b||e[33]!==r||e[34]!==c||e[35]!==u||e[36]!==x?(v=s.jsxs("a",{href:r,target:c,rel:u,className:x,children:[y,b]}),e[31]=y,e[32]=b,e[33]=r,e[34]=c,e[35]=u,e[36]=x,e[37]=v):v=e[37],v}function Al(t){const e=M.c(5),{itemId:n}=t,{data:a,isLoading:l}=vl(n);if(!l&&(!a||a.length===0))return null;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsxs("div",{className:"flex items-center gap-2 px-4 py-3.5",children:[s.jsx(zt,{size:16,className:"text-muted-foreground"}),s.jsx("span",{className:"text-sm text-foreground",children:"Pull requests"})]}),e[0]=o):o=e[0];let i;e[1]!==a?(i=a?a.map($l):s.jsxs("div",{className:"flex items-center gap-2 border-t border-border px-4 py-2 text-sm text-muted-foreground",children:[s.jsx(rs,{size:16,className:"animate-spin"}),s.jsx("span",{children:"Loading…"})]}),e[1]=a,e[2]=i):i=e[2];let r;return e[3]!==i?(r=s.jsxs("div",{className:"flex flex-col overflow-hidden rounded-lg border border-border",children:[o,i]}),e[3]=i,e[4]=r):r=e[4],r}function $l(t){return s.jsx(Tl,{pr:t},t.url)}function Ol(t,e=[]){const n=[[`# Task: ${t.title}`,t.description?.trim()].filter(Boolean).join(`
|
|
3
|
-
|
|
4
|
-
`)];if(e.length>0){const a=e.map(l=>{const o=l.merged?"merged":l.state??(l.draft?"draft":"open"),i=l.title?.trim()||`${l.repoOwner}/${l.repoName}`;return`- #${l.number} ${i} [${o}] ${l.url}`});n.push(["## Linked pull requests",...a].join(`
|
|
5
|
-
`))}if(t.threads.length>0){const a=t.threads.map(l=>{const o=l.title?.trim()||"Untitled chat";return l.status?`- ${o} [${l.status}]`:`- ${o}`});n.push(["## Other chats on this task",...a].join(`
|
|
6
|
-
`))}return n.join(`
|
|
7
|
-
|
|
8
|
-
`)}const ns="__unassigned__",Ft={assignee:null,priority:null,due:null};function Rl(t){return t.assignee!==null||t.priority!==null||t.due!==null}function zl(t){return(t.assignee!==null?1:0)+(t.priority!==null?1:0)+(t.due!==null?1:0)}const Pl=864e5;function ql(t,e){const n=new Date(t),a=new Date(e);return n.getFullYear()===a.getFullYear()&&n.getMonth()===a.getMonth()&&n.getDate()===a.getDate()}function Bl(t,e){if(e.assignee!==null){if(e.assignee===ns){if(t.assigneeId!==null)return!1}else if(t.assigneeId!==e.assignee)return!1}if(e.priority!==null&&t.priority!==e.priority)return!1;if(e.due!==null)if(e.due==="none"){if(t.dueDate)return!1}else{if(!t.dueDate)return!1;const n=new Date(t.dueDate).getTime(),a=Date.now();if(e.due==="overdue"&&n>=a||e.due==="today"&&!ql(n,a)||e.due==="week"&&(n<a||n>a+7*Pl))return!1}return!0}const js=[{value:"overdue",label:"Overdue"},{value:"today",label:"Due today"},{value:"week",label:"Due this week"},{value:"none",label:"No due date"}];function Ut(t,e=!1){return U("inline-flex h-8 items-center gap-1.5 rounded-lg border px-2.5 text-xs font-medium outline-none transition-colors",e&&"h-10 w-full justify-start px-3 text-sm",t?"border-transparent bg-accent text-foreground":"border-border text-muted-foreground hover:bg-muted/60 hover:text-foreground")}function Ml(t){const e=M.c(62),{value:n,members:a,onChange:l,block:o}=t,[i,r]=I.useState(!1);let c;e[0]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx(es,{size:14,className:"shrink-0"}),e[0]=c):c=e[0];let u=c,x="Assignee";if(n===ns)x="Unassigned";else if(n===ze){let R;e[1]===Symbol.for("react.memo_cache_sentinel")?(R=s.jsx(Ee,{size:14}),e[1]=R):R=e[1],u=R,x="Super Agent"}else if(n){let R,O,V,P;if(e[2]!==a||e[3]!==n){let K;e[8]!==n?(K=Y=>Y.userId===n,e[8]=n,e[9]=K):K=e[9],O=a.find(K),R=Ce,V=O?.user?.image??void 0,P=Se(O?.user?.name),e[2]=a,e[3]=n,e[4]=R,e[5]=O,e[6]=V,e[7]=P}else R=e[4],O=e[5],V=e[6],P=e[7];let F;e[10]!==R||e[11]!==V||e[12]!==P?(F=s.jsx(R,{url:V,fallback:P,shape:"circle",size:"2xs"}),e[10]=R,e[11]=V,e[12]=P,e[13]=F):F=e[13],u=F,x=O?.user?.name??"Member"}let m;e[14]!==l?(m=R=>{l(R),r(!1)},e[14]=l,e[15]=m):m=e[15];const d=m,f=n!==null;let j;e[16]!==o||e[17]!==f?(j=Ut(f,o),e[16]=o,e[17]=f,e[18]=j):j=e[18];const p=j,h=o&&"ml-auto";let g;e[19]!==h?(g=U("shrink-0 opacity-60",h),e[19]=h,e[20]=g):g=e[20];const y=g;let b;e[21]!==x?(b=s.jsx("span",{className:"max-w-[10rem] truncate",children:x}),e[21]=x,e[22]=b):b=e[22];let v;e[23]!==y?(v=s.jsx(ms,{size:12,className:y}),e[23]=y,e[24]=v):v=e[24];let C;e[25]!==u||e[26]!==b||e[27]!==v||e[28]!==p?(C=s.jsx(Wt,{asChild:!0,children:s.jsxs("button",{type:"button",className:p,children:[u,b,v]})}),e[25]=u,e[26]=b,e[27]=v,e[28]=p,e[29]=C):C=e[29];let T;e[30]===Symbol.for("react.memo_cache_sentinel")?(T=s.jsx(As,{placeholder:"Filter by assignee…",className:"h-9"}),e[30]=T):T=e[30];let N;e[31]===Symbol.for("react.memo_cache_sentinel")?(N=s.jsx($s,{children:"No members found."}),e[31]=N):N=e[31];let w;e[32]!==d?(w=s.jsx(Re,{value:"Anyone",onSelect:()=>d(null),children:"Anyone"}),e[32]=d,e[33]=w):w=e[33];let D;e[34]!==d?(D=()=>d(ns),e[34]=d,e[35]=D):D=e[35];let z;e[36]===Symbol.for("react.memo_cache_sentinel")?(z=s.jsx(es,{size:16,className:"text-muted-foreground"}),e[36]=z):z=e[36];let _;e[37]!==D?(_=s.jsxs(Re,{value:"Unassigned",onSelect:D,className:"gap-2",children:[z,"Unassigned"]}),e[37]=D,e[38]=_):_=e[38];let k;e[39]!==d?(k=()=>d(ze),e[39]=d,e[40]=k):k=e[40];let B;e[41]===Symbol.for("react.memo_cache_sentinel")?(B=s.jsx(Ee,{size:16}),e[41]=B):B=e[41];let q;e[42]!==k?(q=s.jsxs(Re,{value:"Super Agent",onSelect:k,className:"gap-2",children:[B,"Super Agent"]}),e[42]=k,e[43]=q):q=e[43];let G;e[44]!==w||e[45]!==_||e[46]!==q?(G=s.jsxs(Mt,{children:[w,_,q]}),e[44]=w,e[45]=_,e[46]=q,e[47]=G):G=e[47];let S;if(e[48]!==a||e[49]!==d){let R;e[51]!==d?(R=O=>s.jsxs(Re,{value:O.user?.name??O.userId,onSelect:()=>d(O.userId),className:"gap-2",children:[s.jsx(Ce,{url:O.user?.image??void 0,fallback:Se(O.user?.name),shape:"circle",size:"2xs"}),s.jsx("span",{className:"truncate",children:O.user?.name??O.userId})]},O.userId),e[51]=d,e[52]=R):R=e[52],S=a.map(R),e[48]=a,e[49]=d,e[50]=S}else S=e[50];let A;e[53]!==S?(A=s.jsx(Mt,{heading:"Members",children:S}),e[53]=S,e[54]=A):A=e[54];let $;e[55]!==G||e[56]!==A?($=s.jsx(Jt,{align:"start",className:"w-56 p-0",children:s.jsxs(Os,{children:[T,s.jsxs(Rs,{children:[N,G,A]})]})}),e[55]=G,e[56]=A,e[57]=$):$=e[57];let H;return e[58]!==i||e[59]!==$||e[60]!==C?(H=s.jsxs(Xt,{open:i,onOpenChange:r,children:[C,$]}),e[58]=i,e[59]=$,e[60]=C,e[61]=H):H=e[61],H}function Fl(t){const e=M.c(23),{value:n,onChange:a,block:l}=t,o=n!==null;let i;e[0]!==l||e[1]!==o?(i=Ut(o,l),e[0]=l,e[1]=o,e[2]=i):i=e[2];const r=i,c=l&&"ml-auto";let u;e[3]!==c?(u=U("shrink-0 opacity-60",c),e[3]=c,e[4]=u):u=e[4];const x=u;let m;e[5]!==n?(m=n?s.jsx("span",{className:U("size-2 shrink-0 rounded-full",we[n].dotClassName)}):s.jsx(Yn,{size:14,className:"shrink-0"}),e[5]=n,e[6]=m):m=e[6];const d=n?we[n].label:"Priority";let f;e[7]!==x?(f=s.jsx(ms,{size:12,className:x}),e[7]=x,e[8]=f):f=e[8];let j;e[9]!==m||e[10]!==d||e[11]!==f||e[12]!==r?(j=s.jsx(Pt,{asChild:!0,children:s.jsxs("button",{type:"button",className:r,children:[m,d,f]})}),e[9]=m,e[10]=d,e[11]=f,e[12]=r,e[13]=j):j=e[13];let p,h;e[14]!==a?(h=s.jsx(yt,{onSelect:()=>a(null),children:"Any priority"}),p=Bs.map(b=>s.jsxs(yt,{onSelect:()=>a(b),className:"gap-2",children:[s.jsx("span",{className:U("size-2 rounded-full",we[b].dotClassName)}),we[b].label]},b)),e[14]=a,e[15]=p,e[16]=h):(p=e[15],h=e[16]);let g;e[17]!==p||e[18]!==h?(g=s.jsxs(qt,{align:"start",className:"w-40",children:[h,p]}),e[17]=p,e[18]=h,e[19]=g):g=e[19];let y;return e[20]!==g||e[21]!==j?(y=s.jsxs(Bt,{children:[j,g]}),e[20]=g,e[21]=j,e[22]=y):y=e[22],y}function Ll(t){const e=M.c(27),{value:n,onChange:a,block:l}=t;let o;e[0]!==n?(o=js.find(N=>N.value===n)?.label,e[0]=n,e[1]=o):o=e[1];const i=o,r=n!==null;let c;e[2]!==l||e[3]!==r?(c=Ut(r,l),e[2]=l,e[3]=r,e[4]=c):c=e[4];const u=c,x=l&&"ml-auto";let m;e[5]!==x?(m=U("shrink-0 opacity-60",x),e[5]=x,e[6]=m):m=e[6];const d=m;let f;e[7]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsx(Ct,{size:14,className:"shrink-0"}),e[7]=f):f=e[7];const j=i??"Due date";let p;e[8]!==d?(p=s.jsx(ms,{size:12,className:d}),e[8]=d,e[9]=p):p=e[9];let h;e[10]!==j||e[11]!==p||e[12]!==u?(h=s.jsx(Pt,{asChild:!0,children:s.jsxs("button",{type:"button",className:u,children:[f,j,p]})}),e[10]=j,e[11]=p,e[12]=u,e[13]=h):h=e[13];let g;e[14]!==a?(g=()=>a(null),e[14]=a,e[15]=g):g=e[15];let y;e[16]===Symbol.for("react.memo_cache_sentinel")?(y=s.jsx(Ct,{size:16,className:"text-muted-foreground"}),e[16]=y):y=e[16];let b;e[17]!==g?(b=s.jsxs(yt,{onSelect:g,className:"gap-2",children:[y,"Any time"]}),e[17]=g,e[18]=b):b=e[18];let v;e[19]!==a?(v=js.map(N=>{const w=N.value==="overdue";return s.jsxs(yt,{onSelect:()=>a(N.value),className:U("gap-2",w&&"text-destructive"),children:[s.jsx(Ct,{size:16,className:U("shrink-0",w?"text-destructive":"text-muted-foreground")}),N.label]},N.value)}),e[19]=a,e[20]=v):v=e[20];let C;e[21]!==b||e[22]!==v?(C=s.jsxs(qt,{align:"start",className:"w-44",children:[b,v]}),e[21]=b,e[22]=v,e[23]=C):C=e[23];let T;return e[24]!==C||e[25]!==h?(T=s.jsxs(Bt,{children:[h,C]}),e[24]=C,e[25]=h,e[26]=T):T=e[26],T}function Ms(t){const e=M.c(26),{filters:n,members:a,onChange:l,block:o}=t;let i;e[0]!==n||e[1]!==l?(i=f=>l({...n,assignee:f}),e[0]=n,e[1]=l,e[2]=i):i=e[2];let r;e[3]!==o||e[4]!==n.assignee||e[5]!==a||e[6]!==i?(r=s.jsx(Ml,{block:o,value:n.assignee,members:a,onChange:i}),e[3]=o,e[4]=n.assignee,e[5]=a,e[6]=i,e[7]=r):r=e[7];let c;e[8]!==n||e[9]!==l?(c=f=>l({...n,priority:f}),e[8]=n,e[9]=l,e[10]=c):c=e[10];let u;e[11]!==o||e[12]!==n.priority||e[13]!==c?(u=s.jsx(Fl,{block:o,value:n.priority,onChange:c}),e[11]=o,e[12]=n.priority,e[13]=c,e[14]=u):u=e[14];let x;e[15]!==n||e[16]!==l?(x=f=>l({...n,due:f}),e[15]=n,e[16]=l,e[17]=x):x=e[17];let m;e[18]!==o||e[19]!==n.due||e[20]!==x?(m=s.jsx(Ll,{block:o,value:n.due,onChange:x}),e[18]=o,e[19]=n.due,e[20]=x,e[21]=m):m=e[21];let d;return e[22]!==r||e[23]!==u||e[24]!==m?(d=s.jsxs(s.Fragment,{children:[r,u,m]}),e[22]=r,e[23]=u,e[24]=m,e[25]=d):d=e[25],d}function Ul(t){const e=M.c(11),{filters:n,members:a,onChange:l}=t;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(zs,{size:16,className:"mr-0.5 shrink-0 text-muted-foreground"}),e[0]=o):o=e[0];let i;e[1]!==n||e[2]!==a||e[3]!==l?(i=s.jsx(Ms,{filters:n,members:a,onChange:l}),e[1]=n,e[2]=a,e[3]=l,e[4]=i):i=e[4];let r;e[5]!==n||e[6]!==l?(r=Rl(n)&&s.jsx("button",{type:"button",onClick:()=>l(Ft),className:"ml-1 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground",children:"Clear"}),e[5]=n,e[6]=l,e[7]=r):r=e[7];let c;return e[8]!==i||e[9]!==r?(c=s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[o,i,r]}),e[8]=i,e[9]=r,e[10]=c):c=e[10],c}function Kl(t){const e=M.c(26),{filters:n,members:a,onChange:l}=t,[o,i]=I.useState(!1),r=zl(n),c=r>0;let u;e[0]!==c?(u=Ut(c),e[0]=c,e[1]=u):u=e[1];const x=u;let m;e[2]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx(zs,{size:14,className:"shrink-0"}),e[2]=m):m=e[2];let d;e[3]!==r?(d=r>0&&s.jsx("span",{className:"ml-0.5 flex size-4 items-center justify-center rounded-full bg-foreground text-[10px] font-semibold text-background",children:r}),e[3]=r,e[4]=d):d=e[4];let f;e[5]!==d||e[6]!==x?(f=s.jsx(Ln,{asChild:!0,children:s.jsxs("button",{type:"button",className:x,children:[m,"Filters",d]})}),e[5]=d,e[6]=x,e[7]=f):f=e[7];let j;e[8]===Symbol.for("react.memo_cache_sentinel")?(j=s.jsx(Un,{className:"px-4 pt-4 text-base font-medium text-foreground",children:"Filters"}),e[8]=j):j=e[8];let p;e[9]!==n||e[10]!==a||e[11]!==l?(p=s.jsx("div",{className:"flex flex-col gap-2 p-4",children:s.jsx(Ms,{block:!0,filters:n,members:a,onChange:l})}),e[9]=n,e[10]=a,e[11]=l,e[12]=p):p=e[12];let h;e[13]!==r||e[14]!==l?(h=r>0&&s.jsx(re,{variant:"outline",className:"flex-1",onClick:()=>l(Ft),children:"Clear all"}),e[13]=r,e[14]=l,e[15]=h):h=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(Kn,{asChild:!0,children:s.jsx(re,{className:"flex-1",children:"Done"})}),e[16]=g):g=e[16];let y;e[17]!==h?(y=s.jsxs(Gn,{className:"flex-row gap-2",children:[h,g]}),e[17]=h,e[18]=y):y=e[18];let b;e[19]!==y||e[20]!==p?(b=s.jsxs(Qn,{className:"p-0",children:[j,p,y]}),e[19]=y,e[20]=p,e[21]=b):b=e[21];let v;return e[22]!==o||e[23]!==b||e[24]!==f?(v=s.jsxs(Hn,{open:o,onOpenChange:i,direction:"bottom",children:[f,b]}),e[22]=o,e[23]=b,e[24]=f,e[25]=v):v=e[25],v}const Ns=380,Gl=90,vs=5,Ql="cubic-bezier(0.22, 0.61, 0.36, 1)",Hl=8;function Yl(t,e){const n=I.useRef(new Map);I.useLayoutEffect(()=>{const a=t.current;if(!a)return;const l=a.querySelectorAll("[data-flip-id]"),o=n.current,i=new Map,r=typeof window<"u"&&window.matchMedia?.("(prefers-reduced-motion: reduce)").matches,c=[];for(const d of l){const f=d.dataset.flipId;if(!f)continue;const j=d.getBoundingClientRect();i.set(f,j);const p=o.get(f);if(!p)continue;const h=p.left-j.left,g=p.top-j.top;(h||g)&&c.push({el:d,dx:h,dy:g,lane:Math.abs(h)>Hl})}if(n.current=i,r||c.length===0)return;for(const d of c){const f=d.lane?` rotate(${d.dx>0?vs:-vs}deg)`:"";d.el.style.transition="none",d.el.style.transform=`translate(${d.dx}px, ${d.dy}px)${f}`,d.lane&&(d.el.style.zIndex="10")}let u=0;const x=[],m=requestAnimationFrame(()=>{for(const d of c){const f=d.lane?u++*Gl:0;d.el.style.transition=`transform ${Ns}ms ${Ql} ${f}ms`,d.el.style.transform="",x.push(window.setTimeout(()=>{d.el.style.transition="",d.el.style.transform="",d.el.style.zIndex=""},Ns+f+30))}});return()=>{cancelAnimationFrame(m);for(const d of x)clearTimeout(d)}},[e,t])}const Vl="https://decoims.com/image?src=decocms%2F7263a67f-fb83-410b-a5f2-e54e87deaaac%2Freport-kanban.png&quality=original&fit=cover",Wl=["Todas as tarefas do diagnóstico, priorizadas no seu quadro","Um relatório recorrente do seu site, sempre atualizado","O agente resolve cada tarefa e deixa pronta para a sua revisão"],Ss={price:"R$ 99",anchor:"R$ 499"};function Xl(t){const e=M.c(5),{onOpen:n}=t;let a;e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-lg bg-success/10",children:s.jsx(Is,{size:16,className:"text-success"})}),e[0]=a):a=e[0];let l;e[1]===Symbol.for("react.memo_cache_sentinel")?(l=s.jsxs("div",{className:"flex min-w-0 flex-1 items-start gap-3 sm:items-center",children:[a,s.jsxs("div",{className:"flex min-w-0 flex-col",children:[s.jsx("span",{className:"text-sm font-medium text-foreground",children:"Seu plano de ação está a um clique"}),s.jsx("span",{className:"text-sm text-muted-foreground",children:"Desbloqueie o diagnóstico completo e as tarefas entram aqui, da maior prioridade para a menor."})]})]}),e[1]=l):l=e[1];let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Ps,{size:16}),e[2]=o):o=e[2];let i;return e[3]!==n?(i=s.jsxs("div",{className:"flex flex-col gap-3 rounded-xl bg-card p-4 card-shadow sm:flex-row sm:items-center sm:gap-4",children:[l,s.jsxs(re,{size:"sm",onClick:n,className:"w-full gap-2 sm:w-auto sm:shrink-0",children:["Desbloquear diagnóstico",o]})]}),e[3]=n,e[4]=i):i=e[4],i}function Jl({open:t,onOpenChange:e,cdClient:n,onExpired:a}){const[l,o]=I.useState(!1),i=async()=>{if(!n){a();return}o(!0);try{const r=await n.callTool({name:"start_checkout",arguments:{}}),{url:c}=ts(r);if(new URL(c).protocol!=="https:")throw new Error("unsafe checkout url");window.open(c,"_blank","noopener,noreferrer"),e(!1)}catch{a()}finally{o(!1)}};return s.jsx(cs,{open:t,onOpenChange:e,children:s.jsxs(is,{className:"gap-0 p-3 sm:max-w-[500px]",closeButtonClassName:"z-10 rounded-full bg-background/70 p-1 text-foreground backdrop-blur transition-colors hover:bg-background",children:[s.jsx("div",{className:"overflow-hidden rounded-xl bg-muted",children:s.jsx("img",{src:Vl,alt:"Prévia do seu quadro de tarefas desbloqueado",className:"h-[208px] w-full object-cover object-left-top"})}),s.jsxs("div",{className:"flex flex-col gap-7 px-3 pb-3 pt-7",children:[s.jsxs("div",{className:"flex flex-col gap-5",children:[s.jsx(ds,{className:"text-xl font-semibold text-foreground",children:"Desbloqueie seu plano de trabalho"}),s.jsx("ul",{className:"flex flex-col gap-3.5",children:Wl.map(r=>s.jsxs("li",{className:"flex items-start gap-3 text-sm",children:[s.jsx(us,{size:18,className:"mt-0.5 shrink-0 text-success","aria-hidden":!0}),s.jsx("span",{className:"leading-snug text-foreground",children:r})]},r))})]}),s.jsxs("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[s.jsxs("div",{className:"flex items-baseline gap-2",children:[s.jsx("span",{className:"text-2xl font-semibold text-foreground",children:Ss.price}),s.jsx("span",{className:"text-sm text-muted-foreground line-through",children:Ss.anchor})]}),s.jsxs("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[s.jsx(re,{variant:"ghost",onClick:()=>e(!1),disabled:l,className:"order-2 w-full sm:order-none sm:w-auto",children:"Explorar"}),s.jsxs(re,{onClick:i,disabled:l,className:"order-1 w-full gap-2 sm:order-none sm:w-auto",children:[l?s.jsx(as,{size:16,className:"animate-spin"}):null,"Desbloquear diagnóstico",!l&&s.jsx(Ps,{size:16})]})]})]})]})]})})}function Vt(t){return`board-paywall-seen:${t}`}function Zl(){const t=M.c(26),{org:e}=Pe(),n=ws(),{diagnostic:a,cdClient:l,connectionId:o}=fl();let i;t[0]!==e.id?(i=()=>({orgId:e.id,open:!sessionStorage.getItem(Vt(e.id))}),t[0]=e.id,t[1]=i):i=t[1];const[r,c]=I.useState(i);let u;t[2]!==r.open||t[3]!==r.orgId||t[4]!==e.id?(u=r.orgId===e.id?r.open:!sessionStorage.getItem(Vt(e.id)),t[2]=r.open,t[3]=r.orgId,t[4]=e.id,t[5]=u):u=t[5];const x=u;if(!a?.locked)return null;let m;t[6]!==e.id?(m=v=>c({orgId:e.id,open:v}),t[6]=e.id,t[7]=m):m=t[7];const d=m;let f;t[8]!==e.id||t[9]!==d?(f=v=>{d(v),v||sessionStorage.setItem(Vt(e.id),"1")},t[8]=e.id,t[9]=d,t[10]=f):f=t[10];const j=f;let p;t[11]!==o||t[12]!==n||t[13]!==e?(p=()=>{gs("board_paywall_report_opened",{organization_id:e.id}),n(gl(e,o))},t[11]=o,t[12]=n,t[13]=e,t[14]=p):p=t[14];const h=p;let g;t[15]!==e.id||t[16]!==d?(g=s.jsx(Xl,{onOpen:()=>{gs("board_paywall_banner_clicked",{organization_id:e.id}),d(!0)}}),t[15]=e.id,t[16]=d,t[17]=g):g=t[17];let y;t[18]!==l||t[19]!==j||t[20]!==x||t[21]!==h?(y=s.jsx(Jl,{open:x,onOpenChange:j,cdClient:l,onExpired:h}),t[18]=l,t[19]=j,t[20]=x,t[21]=h,t[22]=y):y=t[22];let b;return t[23]!==g||t[24]!==y?(b=s.jsxs(s.Fragment,{children:[g,y]}),t[23]=g,t[24]=y,t[25]=b):b=t[25],b}function ea(){const t=M.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx(Js,{fallback:null,children:s.jsx(Zl,{})}),t[0]=e):e=t[0],e}en(()=>import("./index-BuoOl8te.js").then(t=>t.b2),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154])).catch(()=>{});function ta(){const t=M.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"min-h-0 flex-1 pt-0 pr-1 pb-1 pl-0",children:s.jsx("div",{className:"h-full p-0.5 pt-0.25",children:s.jsx("div",{className:"card-shadow flex h-full flex-col overflow-hidden rounded-[0.75rem] bg-background",children:s.jsx(Gs,{})})})}),t[0]=e):e=t[0],e}const sa=new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"});function na(t){const e=new Date(t),n=e.getTime()<Date.now();return{label:sa.format(e),overdue:n}}const xs="inline-flex items-center gap-1.5 rounded-lg border border-border bg-background px-2 py-1 text-xs font-medium text-muted-foreground";function Fs(){const t=M.c(2);let e;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=U(xs,"border-warning/30 text-warning"),t[0]=e):e=t[0];let n;return t[1]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsxs("span",{className:e,title:"The agent is waiting for your input",children:[s.jsx(_s,{size:14}),"Needs input"]}),t[1]=n):n=t[1],n}function Ls(t){const e=M.c(7),{priority:n}=t,a=we[n];let l;e[0]!==a.dotClassName?(l=U("size-2 rounded-full",a.dotClassName),e[0]=a.dotClassName,e[1]=l):l=e[1];let o;e[2]!==l?(o=s.jsx("span",{className:l}),e[2]=l,e[3]=o):o=e[3];let i;return e[4]!==a.label||e[5]!==o?(i=s.jsxs("span",{className:xs,children:[o,a.label]}),e[4]=a.label,e[5]=o,e[6]=i):i=e[6],i}function Us(t){const e=M.c(7),{iso:n}=t;let a,l;if(e[0]!==n){const{label:r,overdue:c}=na(n);a=r,l=U(xs,c&&"border-destructive/30 text-destructive"),e[0]=n,e[1]=a,e[2]=l}else a=e[1],l=e[2];let o;e[3]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Ct,{size:14}),e[3]=o):o=e[3];let i;return e[4]!==a||e[5]!==l?(i=s.jsxs("span",{className:l,children:[o,a]}),e[4]=a,e[5]=l,e[6]=i):i=e[6],i}function Ks(t){const e=M.c(11),{item:n,assignee:a,assignedBy:l}=t;if(n.assigneeId===ze){const o=l?.user?.name?`Assigned to Super Agent by ${l.user.name}`:"Assigned to Super Agent";let i;e[0]!==l?(i=l&&s.jsx(Ce,{url:l.user?.image??void 0,fallback:Se(l.user?.name),shape:"circle",size:"2xs",className:"-mr-1.5 ring-2 ring-background"}),e[0]=l,e[1]=i):i=e[1];let r;e[2]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(Ee,{size:16,className:"ring-2 ring-background"}),e[2]=r):r=e[2];let c;return e[3]!==o||e[4]!==i?(c=s.jsxs("span",{className:"inline-flex items-center",title:o,children:[i,r]}),e[3]=o,e[4]=i,e[5]=c):c=e[5],c}if(a){const o=a.user?.image??void 0,i=a.user?.name;let r;e[6]!==i?(r=Se(i),e[6]=i,e[7]=r):r=e[7];let c;return e[8]!==o||e[9]!==r?(c=s.jsx(Ce,{url:o,fallback:r,shape:"circle",size:"2xs"}),e[8]=o,e[9]=r,e[10]=c):c=e[10],c}return null}function Gs(){const t=M.c(108),{items:e,isLoading:n}=bl(),a=jl(),l=Xn();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o={slug:"mcp-github"},t[0]=o):o=t[0];const i=Nn(o);let r;t[1]!==i?(r=vn(i),t[1]=i,t[2]=r):r=t[2];const c=r.length>0,[u,x]=I.useState(!1),{data:m}=Es();let d,f;t[3]!==m?.data?.members?(d=m?.data?.members??[],f=new Map(d.map(ra)),t[3]=m?.data?.members,t[4]=d,t[5]=f):(d=t[4],f=t[5]);const j=f,[p,h]=I.useState("board"),[g,y]=I.useState(Ft),[b,v]=I.useState(!1),[C,T]=I.useState(null),[N,w]=I.useState(null),{setTaskId:D}=Vn(),{create:z}=Wn(),_=Lt(),{org:k,locator:B}=Pe(),q=ws();let G;t[6]===Symbol.for("react.memo_cache_sentinel")?(G={strict:!1},t[6]=G):G=t[6];const{task:S}=Zs(G);let A;t[7]!==S||t[8]!==e?(A=S?e.find(L=>L.id===S)??null:null,t[7]=S,t[8]=e,t[9]=A):A=t[9];const $=A;let H;t[10]!==S||t[11]!==q||t[12]!==k?(H=()=>{S&&q({to:"/$org/board",params:{org:k.slug},search:{},replace:!0})},t[10]=S,t[11]=q,t[12]=k,t[13]=H):H=t[13];const R=H;let O;t[14]!==a||t[15]!==z||t[16]!==B||t[17]!==k||t[18]!==D||t[19]!==_?(O=async L=>{const X=crypto.randomUUID(),J=xn(k.id).id,$e=await _.call("TASK_BOARD_ITEM_PRS_GET",{taskBoardItemId:L.id}).then(aa).catch(la),se=Ol(L,$e),ge={type:"doc",content:[{type:"paragraph",content:[zn({id:L.id,name:L.title,char:"@",kind:"task",metadata:{title:L.title,description:L.description,context:se}}),{type:"text",text:" "}]}]};tl(sessionStorage,B,X,ge),v(!1);try{await z({id:X,virtual_mcp_id:J}),await a.link.mutateAsync({id:L.id,linkThreadId:X})}catch{}D(X,J)},t[14]=a,t[15]=z,t[16]=B,t[17]=k,t[18]=D,t[19]=_,t[20]=O):O=t[20];const V=O;let P,F,K,Y,ae,xe,W;if(t[21]!==a||t[22]!==R||t[23]!==$||t[24]!==b||t[25]!==C||t[26]!==g||t[27]!==c||t[28]!==n||t[29]!==e||t[30]!==p||t[31]!==j||t[32]!==d||t[33]!==l){ae=Symbol.for("react.early_return_sentinel");e:{let L;t[41]!==g?(L=Q=>Bl(Q,g),t[41]=g,t[42]=L):L=t[42];const X=e.filter(L);let J;t[43]===Symbol.for("react.memo_cache_sentinel")?(J=()=>{T(null),w(null),v(!0)},t[43]=J):J=t[43];const $e=J;let se;t[44]===Symbol.for("react.memo_cache_sentinel")?(se=Q=>{T(null),w(Q),v(!0)},t[44]=se):se=t[44];const ge=se;let qe;t[45]===Symbol.for("react.memo_cache_sentinel")?(qe=Q=>{T(Q),v(!0)},t[45]=qe):qe=t[45];const wt=qe;P=C??$,K=b||!!$;let Ie;if(t[46]!==R?(Ie=()=>{v(!1),T(null),w(null),R()},t[46]=R,t[47]=Ie):Ie=t[47],F=Ie,n&&e.length===0){let Q;t[48]===Symbol.for("react.memo_cache_sentinel")?(Q=s.jsx("div",{className:"flex flex-1 items-center justify-center",children:s.jsx(as,{size:20,className:"animate-spin text-muted-foreground"})}),t[48]=Q):Q=t[48],ae=Q;break e}xe="flex min-h-0 flex-1 flex-col";let ce;t[49]===Symbol.for("react.memo_cache_sentinel")?(ce=s.jsx("h1",{className:"text-xl font-medium text-foreground",children:"Tasks"}),t[49]=ce):ce=t[49];let pe;t[50]!==l?(pe=l&&s.jsx(ea,{}),t[50]=l,t[51]=pe):pe=t[51];let ne;t[52]!==g||t[53]!==e.length||t[54]!==d?(ne=e.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"sm:hidden",children:s.jsx(Kl,{filters:g,members:d,onChange:y})}),s.jsx("div",{className:"hidden sm:block",children:s.jsx(Ul,{filters:g,members:d,onChange:y})})]}),t[52]=g,t[53]=e.length,t[54]=d,t[55]=ne):ne=t[55];const De=p==="list";let de;t[56]===Symbol.for("react.memo_cache_sentinel")?(de=()=>h("list"),t[56]=de):de=t[56];let he;t[57]!==De?(he=s.jsx(Cs,{active:De,onClick:de,icon:cn,label:"List"}),t[57]=De,t[58]=he):he=t[58];const ye=p==="board";let ue;t[59]===Symbol.for("react.memo_cache_sentinel")?(ue=()=>h("board"),t[59]=ue):ue=t[59];let le;t[60]!==ye?(le=s.jsx(Cs,{active:ye,onClick:ue,icon:on,label:"Board"}),t[60]=ye,t[61]=le):le=t[61];let me;t[62]!==he||t[63]!==le?(me=s.jsxs("div",{className:"inline-flex rounded-lg bg-muted p-0.5",children:[he,le]}),t[62]=he,t[63]=le,t[64]=me):me=t[64];let fe;t[65]===Symbol.for("react.memo_cache_sentinel")?(fe=s.jsxs(re,{size:"sm",onClick:$e,children:[s.jsx(os,{size:16}),"New task"]}),t[65]=fe):fe=t[65];let ke;t[66]!==me?(ke=s.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[me,fe]}),t[66]=me,t[67]=ke):ke=t[67];let be;t[68]!==ne||t[69]!==ke?(be=s.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[ne,ke]}),t[68]=ne,t[69]=ke,t[70]=be):be=t[70],t[71]!==pe||t[72]!==be?(W=s.jsxs("div",{className:"mx-auto flex w-full max-w-[1680px] flex-col gap-4 px-4 pt-6 sm:px-8 sm:pt-8",children:[ce,pe,be]}),t[71]=pe,t[72]=be,t[73]=W):W=t[73],Y=e.length===0?s.jsx("div",{className:"mx-auto w-full max-w-[1680px] px-4 pt-6 sm:px-8",children:s.jsx("div",{className:"rounded-xl bg-card px-4 py-12 text-center text-sm text-muted-foreground card-shadow",children:"No tasks yet. Start one with New task."})}):X.length===0?s.jsx("div",{className:"mx-auto w-full max-w-[1680px] px-4 pt-6 sm:px-8",children:s.jsxs("div",{className:"flex flex-col items-center gap-3 rounded-xl bg-card px-4 py-12 text-center text-sm text-muted-foreground card-shadow",children:["No tasks match these filters.",s.jsx(re,{variant:"outline",size:"sm",onClick:()=>y(Ft),children:"Clear filters"})]})}):p==="board"?s.jsx(ia,{items:X,memberByUserId:j,onOpen:wt,onCreate:ge,onMove:(Q,Nt)=>a.update.mutate({id:Q,status:Nt}),onAutoFix:l?Q=>{if(!c){x(!0);return}a.update.mutate({id:Q.id,assigneeId:ze})}:void 0}):s.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 pt-6 pb-16 sm:px-8",children:s.jsx("div",{className:"mx-auto flex max-w-[820px] flex-col gap-2",children:X.map(Q=>s.jsx(ua,{item:Q,assignee:Q.assigneeId?j.get(Q.assigneeId):void 0,assignedBy:Q.assignedBy?j.get(Q.assignedBy):void 0,onOpen:()=>wt(Q)},Q.id))})})}t[21]=a,t[22]=R,t[23]=$,t[24]=b,t[25]=C,t[26]=g,t[27]=c,t[28]=n,t[29]=e,t[30]=p,t[31]=j,t[32]=d,t[33]=l,t[34]=P,t[35]=F,t[36]=K,t[37]=Y,t[38]=ae,t[39]=xe,t[40]=W}else P=t[34],F=t[35],K=t[36],Y=t[37],ae=t[38],xe=t[39],W=t[40];if(ae!==Symbol.for("react.early_return_sentinel"))return ae;const Te=K?P?.id??`new-${N??"default"}`:"closed",bt=P??void 0,jt=N??void 0,Ae=a.create.isPending||a.update.isPending;let Z;t[74]!==a.create||t[75]!==a.update||t[76]!==P||t[77]!==F?(Z=L=>{P?a.update.mutate({id:P.id,...L}):a.create.mutate(L),F()},t[74]=a.create,t[75]=a.update,t[76]=P,t[77]=F,t[78]=Z):Z=t[78];let oe;t[79]!==a.remove||t[80]!==P||t[81]!==F?(oe=P?()=>{a.remove.mutate(P.id),F()}:void 0,t[79]=a.remove,t[80]=P,t[81]=F,t[82]=oe):oe=t[82];let ee;t[83]!==P||t[84]!==V?(ee=P?()=>{V(P)}:void 0,t[83]=P,t[84]=V,t[85]=ee):ee=t[85];let _e;t[86]!==F||t[87]!==D?(_e=L=>{L.virtualMcpId&&(F(),D(L.threadId,L.virtualMcpId,{main:L.hasPreview?"preview":"board"}))},t[86]=F,t[87]=D,t[88]=_e):_e=t[88];let ie;t[89]!==F||t[90]!==K||t[91]!==Te||t[92]!==bt||t[93]!==jt||t[94]!==Ae||t[95]!==Z||t[96]!==oe||t[97]!==ee||t[98]!==_e?(ie=s.jsx(_l,{open:K,onClose:F,item:bt,defaultStatus:jt,isSaving:Ae,onSubmit:Z,onDelete:oe,onNewChat:ee,onOpenThread:_e},Te),t[89]=F,t[90]=K,t[91]=Te,t[92]=bt,t[93]=jt,t[94]=Ae,t[95]=Z,t[96]=oe,t[97]=ee,t[98]=_e,t[99]=ie):ie=t[99];let te;t[100]!==u?(te=s.jsx(oa,{open:u,onOpenChange:x}),t[100]=u,t[101]=te):te=t[101];let Ne;return t[102]!==Y||t[103]!==ie||t[104]!==te||t[105]!==xe||t[106]!==W?(Ne=s.jsxs("div",{className:xe,children:[W,Y,ie,te]}),t[102]=Y,t[103]=ie,t[104]=te,t[105]=xe,t[106]=W,t[107]=Ne):Ne=t[107],Ne}function la(){return[]}function aa(t){return t.prs}function ra(t){return[t.userId,t]}function oa(t){const e=M.c(14),{open:n,onOpenChange:a}=t,{connect:l,isConnecting:o}=pl("deco/mcp-github");let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=s.jsxs(hn,{children:[s.jsx(ds,{children:"Connect GitHub"}),s.jsx(yn,{children:"Auto-fix hands the task to the Super Agent, which opens a pull request with the change. Connect GitHub so it can push and open PRs."})]}),e[0]=i):i=e[0];let r;e[1]!==l||e[2]!==a?(r=async()=>{await l(),a(!1)},e[1]=l,e[2]=a,e[3]=r):r=e[3];let c;e[4]!==o?(c=o?s.jsx(as,{size:16,className:"animate-spin"}):s.jsx(pn,{className:"size-4"}),e[4]=o,e[5]=c):c=e[5];let u;e[6]!==o||e[7]!==r||e[8]!==c?(u=s.jsxs(is,{className:"sm:max-w-md",children:[i,s.jsx(bn,{children:s.jsxs(re,{onClick:r,disabled:o,className:"gap-2",children:[c,"Connect GitHub"]})})]}),e[6]=o,e[7]=r,e[8]=c,e[9]=u):u=e[9];let x;return e[10]!==a||e[11]!==n||e[12]!==u?(x=s.jsx(cs,{open:n,onOpenChange:a,children:u}),e[10]=a,e[11]=n,e[12]=u,e[13]=x):x=e[13],x}function Cs(t){const e=M.c(11),{active:n,onClick:a,icon:l,label:o}=t,i=`${o} view`,r=n?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground";let c;e[0]!==r?(c=U("flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-xs font-medium transition-colors",r),e[0]=r,e[1]=c):c=e[1];let u;e[2]!==l?(u=s.jsx(l,{size:14}),e[2]=l,e[3]=u):u=e[3];let x;return e[4]!==n||e[5]!==o||e[6]!==a||e[7]!==i||e[8]!==c||e[9]!==u?(x=s.jsxs("button",{type:"button",onClick:a,"aria-label":i,"aria-pressed":n,className:c,children:[u,o]}),e[4]=n,e[5]=o,e[6]=a,e[7]=i,e[8]=c,e[9]=u,e[10]=x):x=e[10],x}function ia(t){const e=M.c(12),{items:n,memberByUserId:a,onOpen:l,onCreate:o,onMove:i,onAutoFix:r}=t,[c,u]=I.useState(null),x=I.useRef(null);let m;e[0]!==n?(m=n.map(ca).join(","),e[0]=n,e[1]=m):m=e[1],Yl(x,m);let f;e[2]!==n||e[3]!==a||e[4]!==r||e[5]!==o||e[6]!==i||e[7]!==l||e[8]!==c?(f=qs.map(p=>{const h=n.filter(b=>b.status===p),g=ve[p],y=g.icon;return s.jsxs("div",{onDragOver:b=>{b.preventDefault(),u(p)},onDragLeave:b=>{b.currentTarget.contains(b.relatedTarget)||u(null)},onDrop:b=>{b.preventDefault();const v=b.dataTransfer.getData("text/plain");v&&i(v,p),u(null)},className:U("flex w-[300px] shrink-0 flex-col rounded-xl p-1 transition-colors",c===p&&"bg-muted/50"),children:[s.jsxs("div",{className:"sticky top-0 z-10 flex items-center gap-2 bg-background px-2 py-1.5",children:[s.jsx(y,{size:15,className:U("shrink-0",g.iconClassName)}),s.jsx("span",{className:"text-sm font-medium text-foreground",children:g.label}),s.jsx("span",{className:"rounded-md bg-muted px-1.5 text-[11px] font-medium text-muted-foreground",children:h.length}),s.jsx("button",{type:"button","aria-label":`New task in ${g.label}`,title:`New task in ${g.label}`,onClick:()=>o(p),className:"ml-auto flex size-6 shrink-0 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",children:s.jsx(os,{size:15})})]}),s.jsx("div",{className:"flex min-h-12 flex-col gap-2 pt-1",children:h.map(b=>s.jsx(da,{item:b,assignee:b.assigneeId?a.get(b.assigneeId):void 0,assignedBy:b.assignedBy?a.get(b.assignedBy):void 0,onOpen:()=>l(b),onAutoFix:r?()=>r(b):void 0},b.id))})]},p)}),e[2]=n,e[3]=a,e[4]=r,e[5]=o,e[6]=i,e[7]=l,e[8]=c,e[9]=f):f=e[9];let j;return e[10]!==f?(j=s.jsx("div",{ref:x,className:"min-h-0 flex-1 overflow-x-auto overflow-y-auto",children:s.jsx("div",{className:"mx-auto flex w-full max-w-[1680px] gap-3 px-4 pt-6 pb-16 sm:px-8",children:f})}),e[10]=f,e[11]=j):j=e[11],j}function ca(t){return`${t.id}:${t.status}`}function da(t){const e=M.c(33),{item:n,assignee:a,assignedBy:l,onOpen:o,onAutoFix:i}=t,r=ve[n.status],c=r.icon,u=Nl(n)?.lastMessage,x=i&&(n.status==="triage"||n.status==="todo")&&n.assigneeId!==ze,m=n.id;let d;e[0]!==n.id?(d=N=>{N.dataTransfer.setData("text/plain",n.id),N.dataTransfer.effectAllowed="move"},e[0]=n.id,e[1]=d):d=e[1];const f=n.title;let j;e[2]!==r.iconClassName?(j=U("mt-px shrink-0",r.iconClassName),e[2]=r.iconClassName,e[3]=j):j=e[3];let p;e[4]!==c||e[5]!==j?(p=s.jsx(c,{size:16,className:j}),e[4]=c,e[5]=j,e[6]=p):p=e[6];let h;e[7]!==n.title?(h=s.jsx("span",{className:"min-w-0 flex-1 text-sm font-medium leading-snug text-foreground line-clamp-2",children:n.title}),e[7]=n.title,e[8]=h):h=e[8];let g;e[9]!==l||e[10]!==a||e[11]!==n?(g=s.jsx(Ks,{item:n,assignee:a,assignedBy:l}),e[9]=l,e[10]=a,e[11]=n,e[12]=g):g=e[12];let y;e[13]!==p||e[14]!==h||e[15]!==g?(y=s.jsxs("div",{className:"flex items-start gap-2",children:[p,h,g]}),e[13]=p,e[14]=h,e[15]=g,e[16]=y):y=e[16];let b;e[17]!==u?(b=u&&s.jsx("p",{className:"line-clamp-2 pl-6 text-xs leading-snug text-muted-foreground",children:u}),e[17]=u,e[18]=b):b=e[18];let v;e[19]!==n?(v=(ss(n)||n.priority!=="none"||!!n.dueDate)&&s.jsxs("div",{className:"flex flex-wrap items-center gap-1.5 pl-6",children:[ss(n)&&s.jsx(Fs,{}),n.priority!=="none"&&s.jsx(Ls,{priority:n.priority}),n.dueDate&&s.jsx(Us,{iso:n.dueDate})]}),e[19]=n,e[20]=v):v=e[20];let C;e[21]!==i||e[22]!==x?(C=x&&s.jsxs("button",{type:"button",onClick:N=>{N.stopPropagation(),i()},className:"flex items-center gap-1.5 self-end rounded-md border border-border bg-background px-2 py-1 text-xs font-medium text-foreground transition-colors hover:bg-accent",children:[s.jsx(Is,{size:12}),"Auto-fix"]}),e[21]=i,e[22]=x,e[23]=C):C=e[23];let T;return e[24]!==n.id||e[25]!==n.title||e[26]!==o||e[27]!==v||e[28]!==C||e[29]!==d||e[30]!==y||e[31]!==b?(T=s.jsxs("button",{type:"button",draggable:!0,"data-flip-id":m,onDragStart:d,onClick:o,className:"group flex cursor-grab flex-col gap-2 rounded-xl bg-card px-3 py-2.5 text-left card-shadow transition-colors will-change-transform hover:bg-accent/60 active:cursor-grabbing",title:f,children:[y,b,v,C]}),e[24]=n.id,e[25]=n.title,e[26]=o,e[27]=v,e[28]=C,e[29]=d,e[30]=y,e[31]=b,e[32]=T):T=e[32],T}function ua(t){const e=M.c(30),{item:n,assignee:a,assignedBy:l,onOpen:o}=t,i=ve[n.status],r=i.icon;let c;e[0]!==i.iconClassName?(c=U("shrink-0",i.iconClassName),e[0]=i.iconClassName,e[1]=c):c=e[1];let u;e[2]!==r||e[3]!==c?(u=s.jsx(r,{size:16,className:c}),e[2]=r,e[3]=c,e[4]=u):u=e[4];let x;e[5]!==n.title?(x=s.jsx("span",{className:"min-w-0 flex-1 truncate text-sm font-medium text-foreground",children:n.title}),e[5]=n.title,e[6]=x):x=e[6];let m;e[7]!==n?(m=ss(n)&&s.jsx(Fs,{}),e[7]=n,e[8]=m):m=e[8];let d;e[9]!==n.priority?(d=n.priority!=="none"&&s.jsx("span",{className:"hidden sm:inline-flex",children:s.jsx(Ls,{priority:n.priority})}),e[9]=n.priority,e[10]=d):d=e[10];let f;e[11]!==n.dueDate?(f=n.dueDate&&s.jsx("span",{className:"hidden sm:inline-flex",children:s.jsx(Us,{iso:n.dueDate})}),e[11]=n.dueDate,e[12]=f):f=e[12];let j;e[13]!==l||e[14]!==a||e[15]!==n?(j=s.jsx(Ks,{item:n,assignee:a,assignedBy:l}),e[13]=l,e[14]=a,e[15]=n,e[16]=j):j=e[16];let p;e[17]!==n.createdAt?(p=Dn(new Date(n.createdAt)),e[17]=n.createdAt,e[18]=p):p=e[18];let h;e[19]!==p?(h=s.jsx("span",{className:"hidden shrink-0 text-[11px] text-muted-foreground/70 sm:inline",children:p}),e[19]=p,e[20]=h):h=e[20];let g;return e[21]!==o||e[22]!==u||e[23]!==x||e[24]!==m||e[25]!==d||e[26]!==f||e[27]!==j||e[28]!==h?(g=s.jsxs("button",{type:"button",onClick:o,className:"flex items-center gap-3 rounded-xl bg-card px-4 py-3 text-left card-shadow transition-colors hover:bg-accent/60",children:[u,x,m,d,f,j,h]}),e[21]=o,e[22]=u,e[23]=x,e[24]=m,e[25]=d,e[26]=f,e[27]=j,e[28]=h,e[29]=g):g=e[29],g}const rr=Object.freeze(Object.defineProperty({__proto__:null,TaskBoardPage:Gs,default:ta},Symbol.toStringTag,{value:"Module"}));export{tr as H,we as P,il as S,_l as T,cl as a,ar as b,nr as c,fl as d,dl as e,gl as f,pl as g,bl as h,Zn as i,jl as j,ve as k,Ee as l,Gs as m,rr as n,sr as r,lr as u,tl as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as it,r as E,j as e,i as rt}from"./index-vrtwG4Bk.js";import{m as mt,o as pt,p as st,q as at}from"./sidebar-DvnyOQfY.js";import{m as nt}from"./automation-runs-tL6rWLMW.js";import{r as lt,u as ct,a as dt,b as St,i as ft,f as ut,d as vt,P as ht,S as gt}from"./page-seo-form-Dxl-Yg0m.js";import{r as xt}from"./index-BuoOl8te.js";import"./LayoutLeft-FIOzcu1N.js";import"./use-mobile-aelbexuU.js";import"./X-Ct5vQ8eS.js";import"./tooltip-3G-CZS5F.js";import"./select-BB7twdgN.js";import"./Check-CC3IKJLY.js";import"./ChevronDown-fkBebPAb.js";import"./ChevronUp-Bu5J0xzA.js";import"./useInfiniteQuery-COG8_dqs.js";import"./use-infinite-scroll-CeMhtFeZ.js";import"./use-connection-BrebjHdx.js";import"./use-collections-CJ7Deomd.js";import"./use-mcp-client-avVJw5t3.js";import"./auth-Dc6RBdW8.js";import"./use-virtual-mcp-z4BUwctp.js";import"./card-IFpgJ2MK.js";import"./table-Cle1Gy8I.js";import"./empty-state-Zi3G9KtM.js";import"./use-members-DfIaVaDP.js";import"./use-org-auth-client-C47x2vDp.js";import"./use-clock-tick-CYggvDhQ.js";import"./AlertCircle-DoA3IJ6F.js";import"./CheckCircle-D2A7hLds.js";import"./DotsVertical-Bh1-TEiJ.js";import"./agent-icon-HoS6XNtO.js";import"./Tool01-CK-fUwgT.js";import"./ArrowUp-CVpjQt5F.js";import"./Settings02-Dom2kknN.js";import"./Tool02-D1NiW0zs.js";import"./ArrowRight-CdBBK1OJ.js";import"./ArrowUpRight-DTM_bzjD.js";import"./TrendUp01-XWF45LnZ.js";import"./ZapSquare-B7rinI6P.js";import"./ZoomOut-BHy6DNtw.js";import"./Users03-nxMns4FJ.js";import"./ChevronRight-ClmAzDwz.js";import"./Stars02-4Awb-UKJ.js";import"./Copy01-Dsio8GJz.js";import"./Globe01-CH5-V8l3.js";import"./Eye-BmAkjTWo.js";import"./FilterLines-CHzLoiil.js";import"./Star01-ByBUvxft.js";import"./Globe04-CYIW8DVY.js";import"./SwitchHorizontal01-BgBDREms.js";import"./HardDrive-CHzL5aXU.js";import"./Image01-KAjNlFFR.js";import"./Key01-DIVl5gSu.js";import"./XCircle-DbBIMQ2M.js";import"./LinkExternal01-gSnWPDHQ.js";import"./Monitor01-B7iVfyyG.js";import"./Sun-Rd21k3z3.js";import"./Package-CHgP4WZ5.js";import"./Palette-GZqSTN5s.js";import"./Play-CH9RHq8h.js";import"./Plus-BSMrNv8y.js";import"./SearchLg-C8hU0OYv.js";import"./SearchMd-DivMkf__.js";import"./Shield01-WWrZj1_S.js";import"./Stars01-2o1Jr5P_.js";import"./Trash01-ZLYuaqYb.js";import"./Upload01-NpTz2buc.js";import"./User01-BW-pTq37.js";import"./Users01-D7PtgbtU.js";import"./XClose-CILLnN2n.js";import"./Zap-CzKjTcpT.js";import"./use-automations-DjPzWeFk.js";import"./studio-tools-Dbh-NHor.js";import"./useSuspenseInfiniteQuery-F1BZ2G-n.js";import"./avatar-Ew9KnJQh.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-IwLlQWyO.js";import"./file-type-icon-D6SoZvYT.js";import"./dialog-CHTdq80g.js";import"./tab-id-BijBBRwE.js";import"./hooks-CITAsJ8X.js";import"./decopilot-sse-pool-DGNJ475d.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./chat-context-DNCsaRmp.js";import"./autosend-rkD8GnzZ.js";import"./use-ai-providers-C6uH-lqx.js";import"./location-BpLtHjTZ.js";import"./use-decopilot-events-CPDmRI-m.js";import"./use-organization-settings-Bp73-vx-.js";import"./monaco-editor-Zij7AjiB.js";import"./index-CEqBKdXv.js";import"./index-CqsAVHza.js";import"./calendar-BJUOSZua.js";import"./use-t-EeMn2v1N.js";import"./shell-layout-DKVul9C0.js";import"./required-auth-layout-CScpRIWl.js";import"./use-org-sso-Cz5zLtrw.js";import"./integration-icon-Db0uCUF1.js";import"./use-navigate-to-agent-BlWzrHSL.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Cuh7yjSy.js";import"./form-Bjc5iBBg.js";import"./label-Dou_5e0Z.js";import"./input-BWsPQTXF.js";import"./switch-VErAdsNg.js";import"./drawer-dDbXAhmt.js";import"./collection-search-CcB-KQLA.js";import"./index-DkUc8an3.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-Hrs1UuAT.js";import"./use-mcp-tools-BBBWBz52.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-CFuulhRt.js";import"./mcp-oauth-BQvmJqhx.js";import"./extract-connection-data-Xp5v1P3F.js";import"./dropdown-menu-i2_zD0ol.js";import"./popover-C9PGa0Ul.js";import"./command-CW-02MLm.js";import"./index-CR_Fxrnt.js";import"./companions-core-j1LFhXbu.js";import"./tabs-DPFLR1hd.js";import"./toggle-group-BjNy52hJ.js";import"./use-deco-credits-D4P8MoAk.js";import"./connection-card-DKY__-D5.js";import"./use-registry-connections-CTa7MZ9b.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BhBbEa8T.js";import"./connection-form-helpers-QeizIcTs.js";import"./collection-tabs-C8nrbVs2.js";import"./badge-Bt79ZYjc.js";import"./connect-desktop-dialog-DwQQ1obx.js";import"./select-model-BYIr80Sv.js";import"./checkbox-Bz20LMpI.js";import"./skeleton-CjJiACka.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CiIPNpX_.js";import"./index-Dr-JwqGC.js";import"./alert-dialog-DrQvp6Iv.js";import"./toolbar-wLwlfkab.js";import"./use-debounced-value-BbIU-96b.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CapiABbl.js";import"./use-capability-B7s_MvUN.js";import"./toolbar-icon-button-Cq8y9Cut.js";import"./use-debounced-autosave-DWCeTgfQ.js";import"./index-CUGzY7e6.js";import"./search-input-Dan3xeWd.js";import"./use-mcp-auth-status-DUYFcMtA.js";import"./github-repo-picker-D91wuwmK.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BhXHo1ar.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./use-file-configs-BzBiz6vg.js";import"./automation-list-row-C-QP14vj.js";function hi(u){const t=it.c(46),{open:N,onOpenChange:P,orgSlug:Q,virtualMcpId:U,branch:W,decofile:G,meta:s,target:m,onSaved:X}=u,o=lt(G,m,s),k=m.kind==="site"?"site":m.pageKey,[Y,Z]=E.useState(k),[tt,i]=E.useState(null),[J,g]=E.useState(void 0),[x,y]=E.useState(0);Y!==k&&(Z(k),i(null),g(void 0),y(wt));const{persistSeo:a,persistRawSeo:I,flush:K,isPending:D}=ct({orgSlug:Q,virtualMcpId:U,branch:W,target:m,resolved:o,onSaved:X}),w=m.kind==="page",ot=w?o?.rawSeoData:void 0,v=J!==void 0?J:ot,et=w?dt(v)??void 0:void 0,h=tt??et??o?.seoData??{},p=o?St(h,o):null,n=p&&(!w||ft(v))?xt(p,s):null,_=m.kind==="page"?ut(G,s)?.seoData??void 0:void 0;let j;t[0]!==s?(j=vt(s),t[0]=s,t[1]=j):j=t[1];const M=j;let R;t[2]!==a||t[3]!==o||t[4]!==i?(R=r=>{if(!o)return;const L=r;i(L),a(L)},t[2]=a,t[3]=o,t[4]=i,t[5]=R):R=t[5];const V=R;let F;t[6]!==K||t[7]!==P?(F=r=>{r||K(),P(r)},t[6]=K,t[7]=P,t[8]=F):F=t[8];const q=F,z=m.kind==="site"?"Site SEO":"Page SEO",T=w&&o,A=m.kind==="site"&&o&&n,B=m.kind==="site"?"No site-level SEO block found.":o?"SEO schema not found for this page.":"Could not load page SEO.";let C;t[9]!==i?(C=()=>i(null),t[9]=i,t[10]=C):C=t[10];const H=C;let O;t[11]!==y?(O=()=>y(yt),t[11]=y,t[12]=O):O=t[12];const $=O;let l;t[13]!==z?(l=e.jsx(mt,{className:"text-sm font-semibold",children:z}),t[13]=z,t[14]=l):l=t[14];let c;t[15]!==D?(c=D&&e.jsx(rt,{size:14,className:"animate-spin text-muted-foreground"}),t[15]=D,t[16]=c):c=t[16];let d;t[17]!==l||t[18]!==c?(d=e.jsxs(pt,{className:"px-4 py-3 border-b flex-row items-center justify-between space-y-0",children:[l,c]}),t[17]=l,t[18]=c,t[19]=d):d=t[19];let S;t[20]!==p||t[21]!==$||t[22]!==H||t[23]!==M||t[24]!==v||t[25]!==h||t[26]!==B||t[27]!==x||t[28]!==V||t[29]!==I||t[30]!==a||t[31]!==o||t[32]!==n||t[33]!==i||t[34]!==g||t[35]!==T||t[36]!==A||t[37]!==_?(S=!o||!T&&!A?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:B}):e.jsx(nt,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:e.jsx("div",{className:"px-6 py-4",children:e.jsx("div",{className:"mx-auto max-w-sm",children:T?e.jsx(ht,{rawSeo:v,innerSeo:h,defaultResolveType:M,seoSchema:n,activeResolveType:p,seoTypeOptions:o.seoTypeOptions,formResetKey:x,siteDefaultSeo:_,onPersistRaw:r=>{g(r),I(r)},onInnerChange:r=>{i(r),a(r)},onClearForm:H,onBumpFormKey:$}):n&&p&&e.jsx(gt,{schema:n,resolveType:p,value:h,formResetKey:x,onChange:V})})})}),t[20]=p,t[21]=$,t[22]=H,t[23]=M,t[24]=v,t[25]=h,t[26]=B,t[27]=x,t[28]=V,t[29]=I,t[30]=a,t[31]=o,t[32]=n,t[33]=i,t[34]=g,t[35]=T,t[36]=A,t[37]=_,t[38]=S):S=t[38];let f;t[39]!==d||t[40]!==S?(f=e.jsxs(st,{side:"right",className:"w-[400px] sm:max-w-[440px] p-0 gap-0",children:[d,S]}),t[39]=d,t[40]=S,t[41]=f):f=t[41];let b;return t[42]!==q||t[43]!==N||t[44]!==f?(b=e.jsx(at,{open:N,onOpenChange:q,children:f}),t[42]=q,t[43]=N,t[44]=f,t[45]=b):b=t[45],b}function yt(u){return u+1}function wt(u){return u+1}export{hi as SeoSheet};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as L,C as H,j as U}from"./index-vrtwG4Bk.js";import{a as O,g as $,s as E}from"./automation-runs-tL6rWLMW.js";import{r as k,u as B}from"./use-mcp-client-avVJw5t3.js";import{b as V,c as Y}from"./use-mcp-tools-BBBWBz52.js";import{u as q}from"./index-BuoOl8te.js";import{c as G}from"./monaco-editor-Zij7AjiB.js";import{g as K,M as W,a as D}from"./index-CqsAVHza.js";import{b as z,a as F}from"./chat-context-DNCsaRmp.js";import{u as J}from"./shell-layout-DKVul9C0.js";import{O as Q}from"./tab-id-BijBBRwE.js";import"./select-BB7twdgN.js";import"./tooltip-3G-CZS5F.js";import"./Check-CC3IKJLY.js";import"./ChevronDown-fkBebPAb.js";import"./ChevronUp-Bu5J0xzA.js";import"./useInfiniteQuery-COG8_dqs.js";import"./use-infinite-scroll-CeMhtFeZ.js";import"./use-connection-BrebjHdx.js";import"./use-collections-CJ7Deomd.js";import"./use-virtual-mcp-z4BUwctp.js";import"./card-IFpgJ2MK.js";import"./sidebar-DvnyOQfY.js";import"./LayoutLeft-FIOzcu1N.js";import"./use-mobile-aelbexuU.js";import"./X-Ct5vQ8eS.js";import"./table-Cle1Gy8I.js";import"./empty-state-Zi3G9KtM.js";import"./use-members-DfIaVaDP.js";import"./use-org-auth-client-C47x2vDp.js";import"./use-clock-tick-CYggvDhQ.js";import"./AlertCircle-DoA3IJ6F.js";import"./CheckCircle-D2A7hLds.js";import"./DotsVertical-Bh1-TEiJ.js";import"./agent-icon-HoS6XNtO.js";import"./Tool01-CK-fUwgT.js";import"./ArrowUp-CVpjQt5F.js";import"./Settings02-Dom2kknN.js";import"./Tool02-D1NiW0zs.js";import"./ArrowRight-CdBBK1OJ.js";import"./ArrowUpRight-DTM_bzjD.js";import"./TrendUp01-XWF45LnZ.js";import"./ZapSquare-B7rinI6P.js";import"./ZoomOut-BHy6DNtw.js";import"./Users03-nxMns4FJ.js";import"./ChevronRight-ClmAzDwz.js";import"./Stars02-4Awb-UKJ.js";import"./Copy01-Dsio8GJz.js";import"./Globe01-CH5-V8l3.js";import"./Eye-BmAkjTWo.js";import"./FilterLines-CHzLoiil.js";import"./Star01-ByBUvxft.js";import"./Globe04-CYIW8DVY.js";import"./SwitchHorizontal01-BgBDREms.js";import"./HardDrive-CHzL5aXU.js";import"./Image01-KAjNlFFR.js";import"./Key01-DIVl5gSu.js";import"./XCircle-DbBIMQ2M.js";import"./LinkExternal01-gSnWPDHQ.js";import"./Monitor01-B7iVfyyG.js";import"./Sun-Rd21k3z3.js";import"./Package-CHgP4WZ5.js";import"./Palette-GZqSTN5s.js";import"./Play-CH9RHq8h.js";import"./Plus-BSMrNv8y.js";import"./SearchLg-C8hU0OYv.js";import"./SearchMd-DivMkf__.js";import"./Shield01-WWrZj1_S.js";import"./Stars01-2o1Jr5P_.js";import"./Trash01-ZLYuaqYb.js";import"./Upload01-NpTz2buc.js";import"./User01-BW-pTq37.js";import"./Users01-D7PtgbtU.js";import"./XClose-CILLnN2n.js";import"./Zap-CzKjTcpT.js";import"./use-automations-DjPzWeFk.js";import"./studio-tools-Dbh-NHor.js";import"./useSuspenseInfiniteQuery-F1BZ2G-n.js";import"./avatar-Ew9KnJQh.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-IwLlQWyO.js";import"./file-type-icon-D6SoZvYT.js";import"./dialog-CHTdq80g.js";import"./hooks-CITAsJ8X.js";import"./decopilot-sse-pool-DGNJ475d.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./calendar-BJUOSZua.js";import"./use-t-EeMn2v1N.js";import"./integration-icon-Db0uCUF1.js";import"./use-navigate-to-agent-BlWzrHSL.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Cuh7yjSy.js";import"./form-Bjc5iBBg.js";import"./label-Dou_5e0Z.js";import"./input-BWsPQTXF.js";import"./auth-Dc6RBdW8.js";import"./drawer-dDbXAhmt.js";import"./collection-search-CcB-KQLA.js";import"./autosend-rkD8GnzZ.js";import"./index-DkUc8an3.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-Hrs1UuAT.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-CFuulhRt.js";import"./mcp-oauth-BQvmJqhx.js";import"./extract-connection-data-Xp5v1P3F.js";import"./use-decopilot-events-CPDmRI-m.js";import"./dropdown-menu-i2_zD0ol.js";import"./popover-C9PGa0Ul.js";import"./command-CW-02MLm.js";import"./index-CR_Fxrnt.js";import"./use-organization-settings-Bp73-vx-.js";import"./companions-core-j1LFhXbu.js";import"./tabs-DPFLR1hd.js";import"./toggle-group-BjNy52hJ.js";import"./use-deco-credits-D4P8MoAk.js";import"./connection-card-DKY__-D5.js";import"./use-registry-connections-CTa7MZ9b.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BhBbEa8T.js";import"./connection-form-helpers-QeizIcTs.js";import"./collection-tabs-C8nrbVs2.js";import"./badge-Bt79ZYjc.js";import"./use-ai-providers-C6uH-lqx.js";import"./connect-desktop-dialog-DwQQ1obx.js";import"./select-model-BYIr80Sv.js";import"./checkbox-Bz20LMpI.js";import"./skeleton-CjJiACka.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CiIPNpX_.js";import"./index-Dr-JwqGC.js";import"./alert-dialog-DrQvp6Iv.js";import"./toolbar-wLwlfkab.js";import"./use-debounced-value-BbIU-96b.js";import"./location-BpLtHjTZ.js";import"./index-CEqBKdXv.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CapiABbl.js";import"./use-capability-B7s_MvUN.js";import"./toolbar-icon-button-Cq8y9Cut.js";import"./use-debounced-autosave-DWCeTgfQ.js";import"./index-CUGzY7e6.js";import"./search-input-Dan3xeWd.js";import"./use-mcp-auth-status-DUYFcMtA.js";import"./switch-VErAdsNg.js";import"./github-repo-picker-D91wuwmK.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BhXHo1ar.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./use-file-configs-BzBiz6vg.js";import"./automation-list-row-C-QP14vj.js";import"./required-auth-layout-CScpRIWl.js";import"./use-org-sso-Cz5zLtrw.js";const X="studio://navigate";function Z(M){const[t]=M;if(M.length!==1||t?.type!=="resource_link"||!t.uri.startsWith(X))return{isNavigate:!1};let o=null;try{o=new URL(t.uri).searchParams.get("main")}catch{}return{isNavigate:!0,tab:o&&Q.has(o)?o:null}}const tt={};function ot(M){const t=L.c(38),{client:o,resourceURI:I,tool:i,connectionId:p,orgId:a,args:v}=M,{sendMessage:C}=z(),{setAppContext:f,clearAppContext:l}=F(),{openSidePanel:g,openTab:s}=J(),r=`${p}:${i.name}`;let c;t[0]!==s?(c=x=>x==="inline"?(s("0"),"inline"):"fullscreen",t[0]=s,t[1]=c):c=t[1];const m=c,n=v??tt;let u;t[2]!==o||t[3]!==i.name||t[4]!==n?(u={client:o,toolName:i.name,toolArguments:n},t[2]=o,t[3]=i.name,t[4]=n,t[5]=u):u=t[5];const{data:e}=Y(u);let h;if(t[6]!==i._meta||t[7]!==i.name){const x=$(i._meta);h=E(i.name,x),t[6]=i._meta,t[7]=i.name,t[8]=h}else h=t[8];const A=h;let d;t[9]!==i.inputSchema?(d=i.inputSchema??{type:"object"},t[9]=i.inputSchema,t[10]=d):d=t[10];let R;t[11]!==A||t[12]!==d||t[13]!==i?(R={...i,name:A,inputSchema:d},t[11]=A,t[12]=d,t[13]=i,t[14]=R):R=t[14];const b=R;let _;t[15]!==g||t[16]!==s||t[17]!==C?(_=x=>{const j=Z(x.content);if(j.isNavigate){j.tab&&s(j.tab);return}const w=G(x.content);w.content.length>0&&(g("chat"),C({tiptapDoc:w}))},t[15]=g,t[16]=s,t[17]=C,t[18]=_):_=t[18];const y=_;let P;t[19]!==b?(P={tool:b},t[19]=b,t[20]=P):P=t[20];let N;t[21]!==f||t[22]!==r?(N=x=>f(r,x),t[21]=f,t[22]=r,t[23]=N):N=t[23];let T;t[24]!==l||t[25]!==r?(T=()=>l(r),t[24]=l,t[25]=r,t[26]=T):T=t[26];let S;return t[27]!==o||t[28]!==y||t[29]!==m||t[30]!==a||t[31]!==I||t[32]!==P||t[33]!==N||t[34]!==T||t[35]!==n||t[36]!==e?(S=U.jsx(W,{resourceURI:I,orgId:a,toolInfo:P,toolInput:n,toolResult:e,displayMode:"fullscreen",minHeight:D.fullscreen.minHeight,maxHeight:D.fullscreen.maxHeight,client:o,onMessage:y,onUpdateModelContext:N,onTeardown:T,onRequestDisplayMode:m,className:"h-full"}),t[27]=o,t[28]=y,t[29]=m,t[30]=a,t[31]=I,t[32]=P,t[33]=N,t[34]=T,t[35]=n,t[36]=e,t[37]=S):S=t[37],S}function Ji(M){const t=L.c(24),{connectionId:o,toolName:I,args:i}=M,{org:p}=H(),a=q();let v;t[0]!==o||t[1]!==a?(v=k(o)&&a.vmEntry?.sandboxProviderKind==="user-desktop"&&a.previewUrl?`${a.previewUrl.replace(/\/+$/,"")}/api/mcp`:void 0,t[0]=o,t[1]=a,t[2]=v):v=t[2];const C=v;let f;t[3]!==o||t[4]!==C||t[5]!==p.id||t[6]!==p.slug?(f={connectionId:o,orgId:p.id,orgSlug:p.slug,mcpUrl:C},t[3]=o,t[4]=C,t[5]=p.id,t[6]=p.slug,t[7]=f):f=t[7];const l=B(f);let g;t[8]!==l?(g={client:l},t[8]=l,t[9]=g):g=t[9];const{data:s}=V(g);let r,c,m;t[10]!==I||t[11]!==s.tools?(r=O(decodeURIComponent(I)),m=s.tools.find(e=>e.name===r)??s.tools.find(e=>{const h=$(e._meta);if(!h)return!1;if(E(e.name,h)===r)return!0;const d=E(r,h);return d!==r&&e.name===d}),c=m?._meta?K(m._meta):void 0,t[10]=I,t[11]=s.tools,t[12]=r,t[13]=c,t[14]=m):(r=t[12],c=t[13],m=t[14]);const n=c;if(!m||!n){let e;return t[15]!==r?(e=U.jsx("div",{className:"flex items-center justify-center h-full w-full",children:U.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',r,'" not found or has no UI']})}),t[15]=r,t[16]=e):e=t[16],e}let u;return t[17]!==i||t[18]!==l||t[19]!==o||t[20]!==p.id||t[21]!==n||t[22]!==m?(u=U.jsx(ot,{client:l,resourceURI:n,tool:m,connectionId:o,orgId:p.id,args:i}),t[17]=i,t[18]=l,t[19]=o,t[20]=p.id,t[21]=n,t[22]=m,t[23]=u):u=t[23],u}export{Ji as AppViewContent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as B,j as o}from"./index-vrtwG4Bk.js";import{I as L}from"./input-BWsPQTXF.js";import{L as f}from"./label-Dou_5e0Z.js";import{S as z,a as A,b as R,c as O,d as V}from"./select-BB7twdgN.js";import{T as D}from"./textarea-BhBbEa8T.js";import{v as J,w as K,x as M,o as _,z as $,I as q}from"./index-BuoOl8te.js";import{s as T}from"./primitives-CdQokiiS.js";import{u as G}from"./use-autosave-BUmzb-w_.js";import"./tooltip-3G-CZS5F.js";import"./Check-CC3IKJLY.js";import"./ChevronDown-fkBebPAb.js";import"./ChevronUp-Bu5J0xzA.js";import"./ArrowUp-CVpjQt5F.js";import"./chat-context-DNCsaRmp.js";import"./autosend-rkD8GnzZ.js";import"./hooks-CITAsJ8X.js";import"./use-mcp-client-avVJw5t3.js";import"./auth-Dc6RBdW8.js";import"./decopilot-sse-pool-DGNJ475d.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-Dbh-NHor.js";import"./use-virtual-mcp-z4BUwctp.js";import"./use-collections-CJ7Deomd.js";import"./use-ai-providers-C6uH-lqx.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-CPDmRI-m.js";import"./use-organization-settings-Bp73-vx-.js";import"./automation-runs-tL6rWLMW.js";import"./useInfiniteQuery-COG8_dqs.js";import"./use-infinite-scroll-CeMhtFeZ.js";import"./use-connection-BrebjHdx.js";import"./card-IFpgJ2MK.js";import"./sidebar-DvnyOQfY.js";import"./LayoutLeft-FIOzcu1N.js";import"./use-mobile-aelbexuU.js";import"./X-Ct5vQ8eS.js";import"./table-Cle1Gy8I.js";import"./empty-state-Zi3G9KtM.js";import"./use-members-DfIaVaDP.js";import"./use-org-auth-client-C47x2vDp.js";import"./use-clock-tick-CYggvDhQ.js";import"./AlertCircle-DoA3IJ6F.js";import"./CheckCircle-D2A7hLds.js";import"./DotsVertical-Bh1-TEiJ.js";import"./agent-icon-HoS6XNtO.js";import"./Tool01-CK-fUwgT.js";import"./Settings02-Dom2kknN.js";import"./Tool02-D1NiW0zs.js";import"./ArrowRight-CdBBK1OJ.js";import"./ArrowUpRight-DTM_bzjD.js";import"./TrendUp01-XWF45LnZ.js";import"./ZapSquare-B7rinI6P.js";import"./ZoomOut-BHy6DNtw.js";import"./Users03-nxMns4FJ.js";import"./ChevronRight-ClmAzDwz.js";import"./Stars02-4Awb-UKJ.js";import"./Copy01-Dsio8GJz.js";import"./Globe01-CH5-V8l3.js";import"./Eye-BmAkjTWo.js";import"./FilterLines-CHzLoiil.js";import"./Star01-ByBUvxft.js";import"./Globe04-CYIW8DVY.js";import"./SwitchHorizontal01-BgBDREms.js";import"./HardDrive-CHzL5aXU.js";import"./Image01-KAjNlFFR.js";import"./Key01-DIVl5gSu.js";import"./XCircle-DbBIMQ2M.js";import"./LinkExternal01-gSnWPDHQ.js";import"./Monitor01-B7iVfyyG.js";import"./Sun-Rd21k3z3.js";import"./Package-CHgP4WZ5.js";import"./Palette-GZqSTN5s.js";import"./Play-CH9RHq8h.js";import"./Plus-BSMrNv8y.js";import"./SearchLg-C8hU0OYv.js";import"./SearchMd-DivMkf__.js";import"./Shield01-WWrZj1_S.js";import"./Stars01-2o1Jr5P_.js";import"./Trash01-ZLYuaqYb.js";import"./Upload01-NpTz2buc.js";import"./User01-BW-pTq37.js";import"./Users01-D7PtgbtU.js";import"./XClose-CILLnN2n.js";import"./Zap-CzKjTcpT.js";import"./use-automations-DjPzWeFk.js";import"./useSuspenseInfiniteQuery-F1BZ2G-n.js";import"./avatar-Ew9KnJQh.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-IwLlQWyO.js";import"./file-type-icon-D6SoZvYT.js";import"./dialog-CHTdq80g.js";import"./monaco-editor-Zij7AjiB.js";import"./index-CEqBKdXv.js";import"./index-CqsAVHza.js";import"./calendar-BJUOSZua.js";import"./use-t-EeMn2v1N.js";import"./shell-layout-DKVul9C0.js";import"./required-auth-layout-CScpRIWl.js";import"./use-org-sso-Cz5zLtrw.js";import"./integration-icon-Db0uCUF1.js";import"./use-navigate-to-agent-BlWzrHSL.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Cuh7yjSy.js";import"./form-Bjc5iBBg.js";import"./drawer-dDbXAhmt.js";import"./collection-search-CcB-KQLA.js";import"./index-DkUc8an3.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-Hrs1UuAT.js";import"./use-mcp-tools-BBBWBz52.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-CFuulhRt.js";import"./mcp-oauth-BQvmJqhx.js";import"./extract-connection-data-Xp5v1P3F.js";import"./dropdown-menu-i2_zD0ol.js";import"./popover-C9PGa0Ul.js";import"./command-CW-02MLm.js";import"./index-CR_Fxrnt.js";import"./companions-core-j1LFhXbu.js";import"./tabs-DPFLR1hd.js";import"./toggle-group-BjNy52hJ.js";import"./use-deco-credits-D4P8MoAk.js";import"./connection-card-DKY__-D5.js";import"./use-registry-connections-CTa7MZ9b.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./connection-form-helpers-QeizIcTs.js";import"./collection-tabs-C8nrbVs2.js";import"./badge-Bt79ZYjc.js";import"./connect-desktop-dialog-DwQQ1obx.js";import"./select-model-BYIr80Sv.js";import"./checkbox-Bz20LMpI.js";import"./skeleton-CjJiACka.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CiIPNpX_.js";import"./index-Dr-JwqGC.js";import"./alert-dialog-DrQvp6Iv.js";import"./toolbar-wLwlfkab.js";import"./use-debounced-value-BbIU-96b.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CapiABbl.js";import"./use-capability-B7s_MvUN.js";import"./toolbar-icon-button-Cq8y9Cut.js";import"./use-debounced-autosave-DWCeTgfQ.js";import"./index-CUGzY7e6.js";import"./search-input-Dan3xeWd.js";import"./use-mcp-auth-status-DUYFcMtA.js";import"./switch-VErAdsNg.js";import"./github-repo-picker-D91wuwmK.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BhXHo1ar.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./use-file-configs-BzBiz6vg.js";import"./automation-list-row-C-QP14vj.js";const H={authors:[{key:"name",label:"Name",widget:"text"},{key:"type",label:"Type",widget:"select",options:[{value:"Person",label:"Person"},{value:"Organization",label:"Organization"}]},{key:"email",label:"Email",widget:"text",placeholder:"author@example.com"},{key:"jobTitle",label:"Job title",widget:"text"},{key:"company",label:"Company",widget:"text"},{key:"avatar",label:"Avatar",widget:"image"}]},Q={authors:"Author"};function Go(g){const t=B.c(35),{orgSlug:w,virtualMcpId:h,branch:P,kind:e,blockKey:y,block:S}=g,E=J(h);let k;t[0]!==P||t[1]!==w||t[2]!==E||t[3]!==h?(k={orgSlug:w,virtualMcpId:h,branch:P,packagePath:E},t[0]=P,t[1]=w,t[2]=E,t[3]=h,t[4]=k):k=t[4];const m=K(k);let d;t[5]!==S||t[6]!==e?(d=M(S,e),t[5]=S,t[6]=e,t[7]=d):d=t[7];const C=d;let b;t[8]!==y||t[9]!==e||t[10]!==m?(b=a=>{m.mutate({blockKey:y,data:$(y,e,a)})},t[8]=y,t[9]=e,t[10]=m,t[11]=b):b=t[11];const[i,N]=G(C,b);let v;t[12]!==i||t[13]!==N?(v=(a,r)=>N({...i,[a]:r}),t[12]=i,t[13]=N,t[14]=v):v=t[14];const p=v,I=Q[e];let l;t[15]!==I?(l=o.jsx("span",{className:"text-sm font-medium",children:I}),t[15]=I,t[16]=l):l=t[16];let n;t[17]!==m.isError||t[18]!==m.isPending?(n=o.jsx(_,{isPending:m.isPending,isError:m.isError}),t[17]=m.isError,t[18]=m.isPending,t[19]=n):n=t[19];let c;t[20]!==l||t[21]!==n?(c=o.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[l,n]}),t[20]=l,t[21]=n,t[22]=c):c=t[22];const F=H[e];let u;if(t[23]!==i||t[24]!==p||t[25]!==F){let a;t[27]!==i||t[28]!==p?(a=r=>o.jsx("div",{className:"space-y-2",children:r.widget==="image"?o.jsx(q,{schema:{type:"string",format:"image-uri",title:r.label},value:i[r.key],onChange:s=>p(r.key,s),path:r.key,label:r.label}):r.widget==="select"?o.jsxs(o.Fragment,{children:[o.jsx(f,{htmlFor:r.key,children:r.label}),o.jsxs(z,{value:T(i[r.key])||r.options?.[0]?.value,onValueChange:s=>p(r.key,s),children:[o.jsx(A,{id:r.key,className:"h-10 w-full",children:o.jsx(R,{placeholder:r.label})}),o.jsx(O,{children:(r.options??[]).map(U)})]})]}):o.jsxs(o.Fragment,{children:[o.jsx(f,{htmlFor:r.key,children:r.label}),r.widget==="textarea"?o.jsx(D,{id:r.key,value:T(i[r.key]),onChange:s=>p(r.key,s.target.value),rows:3}):o.jsx(L,{id:r.key,value:T(i[r.key]),placeholder:r.placeholder,onChange:s=>p(r.key,s.target.value),className:"h-10"})]})},r.key),t[27]=i,t[28]=p,t[29]=a):a=t[29],u=F.map(a),t[23]=i,t[24]=p,t[25]=F,t[26]=u}else u=t[26];let x;t[30]!==u?(x=o.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:o.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:u})}),t[30]=u,t[31]=x):x=t[31];let j;return t[32]!==x||t[33]!==c?(j=o.jsxs("div",{className:"flex h-full flex-col",children:[c,x]}),t[32]=x,t[33]=c,t[34]=j):j=t[34],j}function U(g){return o.jsx(V,{value:g.value,children:g.label},g.value)}export{Go as RecordEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as z,j as t}from"./index-vrtwG4Bk.js";import{C as G}from"./checkbox-Bz20LMpI.js";import{I as K}from"./input-BWsPQTXF.js";import{L as q}from"./label-Dou_5e0Z.js";import{c as H,S as J,d as W,a as X,b as Z}from"./select-BB7twdgN.js";import{k as ee,a$ as te,o as re,b0 as M,b1 as ie}from"./index-BuoOl8te.js";import{u as oe}from"./use-autosave-BUmzb-w_.js";import"./Check-CC3IKJLY.js";import"./tooltip-3G-CZS5F.js";import"./ChevronDown-fkBebPAb.js";import"./ChevronUp-Bu5J0xzA.js";import"./ArrowUp-CVpjQt5F.js";import"./chat-context-DNCsaRmp.js";import"./autosend-rkD8GnzZ.js";import"./hooks-CITAsJ8X.js";import"./use-mcp-client-avVJw5t3.js";import"./auth-Dc6RBdW8.js";import"./decopilot-sse-pool-DGNJ475d.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./studio-tools-Dbh-NHor.js";import"./use-virtual-mcp-z4BUwctp.js";import"./use-collections-CJ7Deomd.js";import"./use-ai-providers-C6uH-lqx.js";import"./location-BpLtHjTZ.js";import"./tab-id-BijBBRwE.js";import"./use-decopilot-events-CPDmRI-m.js";import"./use-organization-settings-Bp73-vx-.js";import"./automation-runs-tL6rWLMW.js";import"./useInfiniteQuery-COG8_dqs.js";import"./use-infinite-scroll-CeMhtFeZ.js";import"./use-connection-BrebjHdx.js";import"./card-IFpgJ2MK.js";import"./sidebar-DvnyOQfY.js";import"./LayoutLeft-FIOzcu1N.js";import"./use-mobile-aelbexuU.js";import"./X-Ct5vQ8eS.js";import"./table-Cle1Gy8I.js";import"./empty-state-Zi3G9KtM.js";import"./use-members-DfIaVaDP.js";import"./use-org-auth-client-C47x2vDp.js";import"./use-clock-tick-CYggvDhQ.js";import"./AlertCircle-DoA3IJ6F.js";import"./CheckCircle-D2A7hLds.js";import"./DotsVertical-Bh1-TEiJ.js";import"./agent-icon-HoS6XNtO.js";import"./Tool01-CK-fUwgT.js";import"./Settings02-Dom2kknN.js";import"./Tool02-D1NiW0zs.js";import"./ArrowRight-CdBBK1OJ.js";import"./ArrowUpRight-DTM_bzjD.js";import"./TrendUp01-XWF45LnZ.js";import"./ZapSquare-B7rinI6P.js";import"./ZoomOut-BHy6DNtw.js";import"./Users03-nxMns4FJ.js";import"./ChevronRight-ClmAzDwz.js";import"./Stars02-4Awb-UKJ.js";import"./Copy01-Dsio8GJz.js";import"./Globe01-CH5-V8l3.js";import"./Eye-BmAkjTWo.js";import"./FilterLines-CHzLoiil.js";import"./Star01-ByBUvxft.js";import"./Globe04-CYIW8DVY.js";import"./SwitchHorizontal01-BgBDREms.js";import"./HardDrive-CHzL5aXU.js";import"./Image01-KAjNlFFR.js";import"./Key01-DIVl5gSu.js";import"./XCircle-DbBIMQ2M.js";import"./LinkExternal01-gSnWPDHQ.js";import"./Monitor01-B7iVfyyG.js";import"./Sun-Rd21k3z3.js";import"./Package-CHgP4WZ5.js";import"./Palette-GZqSTN5s.js";import"./Play-CH9RHq8h.js";import"./Plus-BSMrNv8y.js";import"./SearchLg-C8hU0OYv.js";import"./SearchMd-DivMkf__.js";import"./Shield01-WWrZj1_S.js";import"./Stars01-2o1Jr5P_.js";import"./Trash01-ZLYuaqYb.js";import"./Upload01-NpTz2buc.js";import"./User01-BW-pTq37.js";import"./Users01-D7PtgbtU.js";import"./XClose-CILLnN2n.js";import"./Zap-CzKjTcpT.js";import"./use-automations-DjPzWeFk.js";import"./useSuspenseInfiniteQuery-F1BZ2G-n.js";import"./avatar-Ew9KnJQh.js";import"./format-time-BnbuEtat.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-IwLlQWyO.js";import"./file-type-icon-D6SoZvYT.js";import"./dialog-CHTdq80g.js";import"./monaco-editor-Zij7AjiB.js";import"./index-CEqBKdXv.js";import"./index-CqsAVHza.js";import"./calendar-BJUOSZua.js";import"./use-t-EeMn2v1N.js";import"./shell-layout-DKVul9C0.js";import"./required-auth-layout-CScpRIWl.js";import"./use-org-sso-Cz5zLtrw.js";import"./integration-icon-Db0uCUF1.js";import"./use-navigate-to-agent-BlWzrHSL.js";import"./reusable-new-chat-CouMjkYR.js";import"./AreaChart-Cuh7yjSy.js";import"./form-Bjc5iBBg.js";import"./drawer-dDbXAhmt.js";import"./collection-search-CcB-KQLA.js";import"./index-DkUc8an3.js";import"./get-initials-D-f_fDFw.js";import"./use-registry-app-Hrs1UuAT.js";import"./use-mcp-tools-BBBWBz52.js";import"./github-repo-scope-DjMZbiKa.js";import"./authenticate-and-persist-oauth-CFuulhRt.js";import"./mcp-oauth-BQvmJqhx.js";import"./extract-connection-data-Xp5v1P3F.js";import"./dropdown-menu-i2_zD0ol.js";import"./popover-C9PGa0Ul.js";import"./command-CW-02MLm.js";import"./index-CR_Fxrnt.js";import"./companions-core-j1LFhXbu.js";import"./tabs-DPFLR1hd.js";import"./toggle-group-BjNy52hJ.js";import"./use-deco-credits-D4P8MoAk.js";import"./connection-card-DKY__-D5.js";import"./use-registry-connections-CTa7MZ9b.js";import"./retry-CErkP7V6.js";import"./connection-slug-eyAPH6o3.js";import"./textarea-BhBbEa8T.js";import"./connection-form-helpers-QeizIcTs.js";import"./collection-tabs-C8nrbVs2.js";import"./badge-Bt79ZYjc.js";import"./connect-desktop-dialog-DwQQ1obx.js";import"./select-model-BYIr80Sv.js";import"./skeleton-CjJiACka.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-CiIPNpX_.js";import"./index-Dr-JwqGC.js";import"./alert-dialog-DrQvp6Iv.js";import"./toolbar-wLwlfkab.js";import"./use-debounced-value-BbIU-96b.js";import"./question-004-sINsf4GQ.js";import"./use-status-sounds-CapiABbl.js";import"./use-capability-B7s_MvUN.js";import"./toolbar-icon-button-Cq8y9Cut.js";import"./use-debounced-autosave-DWCeTgfQ.js";import"./index-CUGzY7e6.js";import"./search-input-Dan3xeWd.js";import"./use-mcp-auth-status-DUYFcMtA.js";import"./switch-VErAdsNg.js";import"./github-repo-picker-D91wuwmK.js";import"./provision-repo-scoped-github-connection-2iDn-wQ1.js";import"./use-secrets-BhXHo1ar.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./use-file-configs-BzBiz6vg.js";import"./automation-list-row-C-QP14vj.js";const me=[{value:"temporary",label:`Temporary (${M.temporary})`},{value:"permanent",label:`Permanent (${M.permanent})`}];function ti(S){const e=z.c(62),{orgSlug:$,virtualMcpId:A,branch:B,blockKey:D,block:O}=S;let _;e[0]!==B||e[1]!==$||e[2]!==A?(_={orgSlug:$,virtualMcpId:A,branch:B},e[0]=B,e[1]=$,e[2]=A,e[3]=_):_=e[3];const m=ee(_);let g;e[4]!==O?(g=te(O),e[4]=O,e[5]=g):g=e[5];const Y=g;let v;e[6]!==D||e[7]!==m?(v=o=>{m.mutate({blockKey:D,data:ie(o)})},e[6]=D,e[7]=m,e[8]=v):v=e[8];const[r,V]=oe(Y,v);let N;e[9]!==r||e[10]!==V?(N=o=>V({...r,...o}),e[9]=r,e[10]=V,e[11]=N):N=e[11];const i=N;let P;e[12]===Symbol.for("react.memo_cache_sentinel")?(P=t.jsx("span",{className:"text-sm font-medium",children:"Redirect"}),e[12]=P):P=e[12];let p;e[13]!==m.isError||e[14]!==m.isPending?(p=t.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[P,t.jsx(re,{isPending:m.isPending,isError:m.isError})]}),e[13]=m.isError,e[14]=m.isPending,e[15]=p):p=e[15];let T;e[16]===Symbol.for("react.memo_cache_sentinel")?(T=t.jsx(q,{htmlFor:"redirect-from",children:"From"}),e[16]=T):T=e[16];let s;e[17]!==i?(s=o=>i({from:o.target.value}),e[17]=i,e[18]=s):s=e[18];let l;e[19]!==r.from||e[20]!==s?(l=t.jsx(K,{id:"redirect-from",value:r.from,placeholder:"/old-path",onChange:s,className:"h-10"}),e[19]=r.from,e[20]=s,e[21]=l):l=e[21];let E;e[22]===Symbol.for("react.memo_cache_sentinel")?(E=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["The source path to match. Supports URLPattern syntax (e.g."," ",t.jsx("code",{children:"/product/:slug"}),")."]}),e[22]=E):E=e[22];let a;e[23]!==l?(a=t.jsxs("div",{className:"space-y-2",children:[T,l,E]}),e[23]=l,e[24]=a):a=e[24];let R;e[25]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx(q,{htmlFor:"redirect-to",children:"To"}),e[25]=R):R=e[25];let c;e[26]!==i?(c=o=>i({to:o.target.value}),e[26]=i,e[27]=c):c=e[27];let n;e[28]!==r.to||e[29]!==c?(n=t.jsx(K,{id:"redirect-to",value:r.to,placeholder:"/new-path",onChange:c,className:"h-10"}),e[28]=r.to,e[29]=c,e[30]=n):n=e[30];let k;e[31]===Symbol.for("react.memo_cache_sentinel")?(k=t.jsx("p",{className:"text-xs text-muted-foreground",children:"The destination — a relative path or an absolute URL."}),e[31]=k):k=e[31];let d;e[32]!==n?(d=t.jsxs("div",{className:"space-y-2",children:[R,n,k]}),e[32]=n,e[33]=d):d=e[33];let C;e[34]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx(q,{htmlFor:"redirect-type",children:"Type"}),e[34]=C):C=e[34];let f;e[35]!==i?(f=o=>i({type:o}),e[35]=i,e[36]=f):f=e[36];let w;e[37]===Symbol.for("react.memo_cache_sentinel")?(w=t.jsx(X,{id:"redirect-type",className:"h-10 w-full",children:t.jsx(Z,{placeholder:"Type"})}),e[37]=w):w=e[37];let I;e[38]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(H,{children:me.map(pe)}),e[38]=I):I=e[38];let h;e[39]!==r.type||e[40]!==f?(h=t.jsxs(J,{value:r.type,onValueChange:f,children:[w,I]}),e[39]=r.type,e[40]=f,e[41]=h):h=e[41];let F;e[42]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx("strong",{children:"Temporary"}),e[42]=F):F=e[42];let L;e[43]===Symbol.for("react.memo_cache_sentinel")?(L=t.jsxs("p",{className:"text-xs text-muted-foreground",children:["Use ",F," when the redirect may change;"," ",t.jsx("strong",{children:"Permanent"})," lets browsers cache it."]}),e[43]=L):L=e[43];let x;e[44]!==h?(x=t.jsxs("div",{className:"space-y-2",children:[C,h,L]}),e[44]=h,e[45]=x):x=e[45];let u;e[46]!==i?(u=o=>i({discardQueryParameters:o===!0}),e[46]=i,e[47]=u):u=e[47];let y;e[48]!==r.discardQueryParameters||e[49]!==u?(y=t.jsx(G,{checked:r.discardQueryParameters,onCheckedChange:u}),e[48]=r.discardQueryParameters,e[49]=u,e[50]=y):y=e[50];let Q;e[51]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx("span",{className:"text-sm",children:"Discard query parameters"}),e[51]=Q):Q=e[51];let j;e[52]!==y?(j=t.jsxs("label",{className:"flex cursor-pointer items-center gap-2.5",children:[y,Q]}),e[52]=y,e[53]=j):j=e[53];let b;e[54]!==a||e[55]!==d||e[56]!==x||e[57]!==j?(b=t.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:t.jsxs("div",{className:"mx-auto max-w-xl space-y-6",children:[a,d,x,j]})}),e[54]=a,e[55]=d,e[56]=x,e[57]=j,e[58]=b):b=e[58];let U;return e[59]!==b||e[60]!==p?(U=t.jsxs("div",{className:"flex h-full flex-col",children:[p,b]}),e[59]=b,e[60]=p,e[61]=U):U=e[61],U}function pe(S){return t.jsx(W,{value:S.value,children:S.label},S.value)}export{ti as RedirectEditor};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-ubAgr3ZK.js","assets/index-vrtwG4Bk.js","assets/index-D40GQ9yr.css","assets/Tool02-D1NiW0zs.js","assets/CheckCircle-D2A7hLds.js","assets/Settings02-Dom2kknN.js","assets/use-mcp-client-avVJw5t3.js","assets/auth-Dc6RBdW8.js","assets/useInfiniteQuery-COG8_dqs.js","assets/use-infinite-scroll-CeMhtFeZ.js","assets/studio-tools-Dbh-NHor.js","assets/badge-Bt79ZYjc.js","assets/input-BWsPQTXF.js","assets/dropdown-menu-i2_zD0ol.js","assets/Check-CC3IKJLY.js","assets/ChevronRight-ClmAzDwz.js","assets/DotsVertical-Bh1-TEiJ.js","assets/table-Cle1Gy8I.js","assets/toggle-group-BjNy52hJ.js","assets/use-view-mode-DrGuTSGW.js","assets/use-mobile-aelbexuU.js","assets/FilterLines-CHzLoiil.js","assets/Globe01-CH5-V8l3.js","assets/SearchMd-DivMkf__.js","assets/dialog-CHTdq80g.js","assets/X-Ct5vQ8eS.js","assets/AlertCircle-DoA3IJ6F.js","assets/Upload01-NpTz2buc.js","assets/alert-dialog-DrQvp6Iv.js","assets/card-IFpgJ2MK.js","assets/Trash01-ZLYuaqYb.js","assets/label-Dou_5e0Z.js","assets/select-BB7twdgN.js","assets/tooltip-3G-CZS5F.js","assets/ChevronDown-fkBebPAb.js","assets/ChevronUp-Bu5J0xzA.js","assets/switch-VErAdsNg.js","assets/textarea-BhBbEa8T.js","assets/ArrowRight-CdBBK1OJ.js","assets/XCircle-DbBIMQ2M.js","assets/checkbox-Bz20LMpI.js","assets/Eye-BmAkjTWo.js","assets/LinkExternal01-gSnWPDHQ.js","assets/use-copy-IwLlQWyO.js","assets/Copy01-Dsio8GJz.js","assets/Key01-DIVl5gSu.js","assets/Plus-BSMrNv8y.js","assets/mcp-oauth-BQvmJqhx.js","assets/Play-CH9RHq8h.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as s,j as e,r as i,i as a,aX as o}from"./index-vrtwG4Bk.js";import{R as m}from"./require-capability--Eu_MgH9.js";import"./use-capability-B7s_MvUN.js";import"./access-gate-BpwCNuvJ.js";import"./capability-load-error-DfDyfW3b.js";const n=i.lazy(()=>o(()=>import("./registry-layout-ubAgr3ZK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])));function f(){const r=s.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(m,{capability:"registry:manage",area:"the registry",children:e.jsx(i.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(n,{})})}),r[0]=t):t=r[0],t}export{f as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-ubAgr3ZK.js","assets/index-vrtwG4Bk.js","assets/index-D40GQ9yr.css","assets/Tool02-D1NiW0zs.js","assets/CheckCircle-D2A7hLds.js","assets/Settings02-Dom2kknN.js","assets/use-mcp-client-avVJw5t3.js","assets/auth-Dc6RBdW8.js","assets/useInfiniteQuery-COG8_dqs.js","assets/use-infinite-scroll-CeMhtFeZ.js","assets/studio-tools-Dbh-NHor.js","assets/badge-Bt79ZYjc.js","assets/input-BWsPQTXF.js","assets/dropdown-menu-i2_zD0ol.js","assets/Check-CC3IKJLY.js","assets/ChevronRight-ClmAzDwz.js","assets/DotsVertical-Bh1-TEiJ.js","assets/table-Cle1Gy8I.js","assets/toggle-group-BjNy52hJ.js","assets/use-view-mode-DrGuTSGW.js","assets/use-mobile-aelbexuU.js","assets/FilterLines-CHzLoiil.js","assets/Globe01-CH5-V8l3.js","assets/SearchMd-DivMkf__.js","assets/dialog-CHTdq80g.js","assets/X-Ct5vQ8eS.js","assets/AlertCircle-DoA3IJ6F.js","assets/Upload01-NpTz2buc.js","assets/alert-dialog-DrQvp6Iv.js","assets/card-IFpgJ2MK.js","assets/Trash01-ZLYuaqYb.js","assets/label-Dou_5e0Z.js","assets/select-BB7twdgN.js","assets/tooltip-3G-CZS5F.js","assets/ChevronDown-fkBebPAb.js","assets/ChevronUp-Bu5J0xzA.js","assets/switch-VErAdsNg.js","assets/textarea-BhBbEa8T.js","assets/ArrowRight-CdBBK1OJ.js","assets/XCircle-DbBIMQ2M.js","assets/checkbox-Bz20LMpI.js","assets/Eye-BmAkjTWo.js","assets/LinkExternal01-gSnWPDHQ.js","assets/use-copy-IwLlQWyO.js","assets/Copy01-Dsio8GJz.js","assets/Key01-DIVl5gSu.js","assets/Plus-BSMrNv8y.js","assets/mcp-oauth-BQvmJqhx.js","assets/Play-CH9RHq8h.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{c as m,b as n,e as c,j as t,i as p,r as l,aX as f}from"./index-vrtwG4Bk.js";import{R as u}from"./require-capability--Eu_MgH9.js";import"./use-capability-B7s_MvUN.js";import"./access-gate-BpwCNuvJ.js";import"./capability-load-error-DfDyfW3b.js";const g=l.lazy(()=>f(()=>import("./registry-layout-ubAgr3ZK.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48])));function j(){const e=m.c(5),i=n();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=c(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(p,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./use-infinite-scroll-CeMhtFeZ.js";import{dK as i}from"./index-vrtwG4Bk.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./use-infinite-scroll-CeMhtFeZ.js";import{dK as u,ab as n}from"./index-vrtwG4Bk.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|