decocms 4.211.12 → 4.211.13
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-iMFIwWNV.js → AlertCircle-BMPkNMGJ.js} +1 -1
- package/dist/client/assets/{AreaChart-GCRS_-AP.js → AreaChart-488R_nQ_.js} +1 -1
- package/dist/client/assets/{ArrowLeft-CsWtY_gB.js → ArrowLeft-Bo0FpGQs.js} +1 -1
- package/dist/client/assets/{ArrowUp-DSxXxGdv.js → ArrowUp-Cmxc5KIG.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-erfF6BcP.js → ArrowUpRight-OVKS4c5s.js} +1 -1
- package/dist/client/assets/{Check-CABzt6--.js → Check-CeB_ZeLq.js} +1 -1
- package/dist/client/assets/{CheckCircle-N8333lb0.js → CheckCircle-C9SAYY-W.js} +1 -1
- package/dist/client/assets/{ChevronDown-DsDzbrOb.js → ChevronDown-CGwhMiqT.js} +1 -1
- package/dist/client/assets/{ChevronRight-DwahmHLA.js → ChevronRight-Cux_llMB.js} +1 -1
- package/dist/client/assets/{ChevronUp-DBUIuLI5.js → ChevronUp-3dsPU76D.js} +1 -1
- package/dist/client/assets/{Copy01-B995BWXi.js → Copy01-CXcHnxi0.js} +1 -1
- package/dist/client/assets/{CpuChip01-lt7Rkp-U.js → CpuChip01-CGpR8wkh.js} +1 -1
- package/dist/client/assets/{CreditCard01-GxtaywC9.js → CreditCard01-DSA6UjMO.js} +1 -1
- package/dist/client/assets/{DotsVertical-BRYCw47k.js → DotsVertical-9U5tOb04.js} +1 -1
- package/dist/client/assets/{Eye-Clu-LouG.js → Eye-DXWAJYKq.js} +1 -1
- package/dist/client/assets/{FilterLines-CNzwsg4F.js → FilterLines-DZrlB4Kh.js} +1 -1
- package/dist/client/assets/{Globe01-0reGbJcL.js → Globe01-Cm-V-gHj.js} +1 -1
- package/dist/client/assets/{Globe04-sue1ujzC.js → Globe04-m1tzMty0.js} +1 -1
- package/dist/client/assets/{HardDrive-CuFY6j2o.js → HardDrive-Dvps78YO.js} +1 -1
- package/dist/client/assets/{Key01-C8zGItpI.js → Key01-DY7yaq7L.js} +1 -1
- package/dist/client/assets/{LayoutLeft-BowuBtX2.js → LayoutLeft-C0u89h3U.js} +1 -1
- package/dist/client/assets/{LinkExternal01-B3QGOPZ8.js → LinkExternal01-CLr9HZg0.js} +1 -1
- package/dist/client/assets/{LogOut01-CwZ1Y9u4.js → LogOut01-BeE1lxGA.js} +1 -1
- package/dist/client/assets/{Monitor01-Bni1e5h7.js → Monitor01-RiuZmvGS.js} +1 -1
- package/dist/client/assets/{Palette-B6o-2LWT.js → Palette-C8S3zMtK.js} +1 -1
- package/dist/client/assets/{Play-BC8nRLNF.js → Play-B8V74CpU.js} +1 -1
- package/dist/client/assets/{Plus-BPZja4FC.js → Plus-CGrXNe_q.js} +1 -1
- package/dist/client/assets/{SearchLg-CGtAP5EH.js → SearchLg-DrUBeTI6.js} +1 -1
- package/dist/client/assets/{SearchMd-BVrWvjH3.js → SearchMd-DFwCvkV1.js} +1 -1
- package/dist/client/assets/{Settings02-C9fJkEJh.js → Settings02-DBlt8Mfk.js} +1 -1
- package/dist/client/assets/{Share07-DS8-754J.js → Share07-C1_p27Hs.js} +1 -1
- package/dist/client/assets/{Shield01-CrVGBhuR.js → Shield01-CZr-J1Qk.js} +1 -1
- package/dist/client/assets/{Star01-CwL23CRL.js → Star01-ClwU4gOx.js} +1 -1
- package/dist/client/assets/{Stars01-D94NieJP.js → Stars01-jLom0LSv.js} +1 -1
- package/dist/client/assets/{Stars02-B08-JGxx.js → Stars02-2eb3r8Gu.js} +1 -1
- package/dist/client/assets/{Sun-kp4es37w.js → Sun-m3RjKnDt.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-ChVU7SWq.js → SwitchHorizontal01-D0Mi7oaK.js} +1 -1
- package/dist/client/assets/{Tool01-DStbcY86.js → Tool01-DMQJZ6a0.js} +1 -1
- package/dist/client/assets/{Tool02-7YE_lsQ5.js → Tool02-CZZOjaKh.js} +1 -1
- package/dist/client/assets/{Trash01-DGt8nZn9.js → Trash01-BCoCDH0H.js} +1 -1
- package/dist/client/assets/{TrendUp01-C6JwA-Np.js → TrendUp01-CYPiI6vW.js} +1 -1
- package/dist/client/assets/{Upload01-DgSyem4d.js → Upload01-mvF19nky.js} +1 -1
- package/dist/client/assets/{User01-CPSa9S2T.js → User01-UnLfhP79.js} +1 -1
- package/dist/client/assets/{Users01-DUxHx9ib.js → Users01-BGTUZMIA.js} +1 -1
- package/dist/client/assets/{Users03-Dqls41gn.js → Users03-C0P658nm.js} +1 -1
- package/dist/client/assets/{X-CseWQ5OZ.js → X-CId2-nhW.js} +1 -1
- package/dist/client/assets/{XCircle-Cpx4dopB.js → XCircle-DOtlBDfF.js} +1 -1
- package/dist/client/assets/{XClose-3fY-ChCg.js → XClose-BoiJoxeV.js} +1 -1
- package/dist/client/assets/{Zap-B6D2E55F.js → Zap-C6ApHWIY.js} +1 -1
- package/dist/client/assets/{ZapSquare-kC-fhZGr.js → ZapSquare-GHgi4Hl7.js} +1 -1
- package/dist/client/assets/{access-gate-CA12_xun.js → access-gate-C95F2WkH.js} +1 -1
- package/dist/client/assets/{agent-icon-CWBP36-h.js → agent-icon-D_vHJRnE.js} +1 -1
- package/dist/client/assets/{agents-list-OMhP8qfw.js → agents-list-DkgLS7SC.js} +1 -1
- package/dist/client/assets/{ai-providers-D478OIo1.js → ai-providers-Bu525zoa.js} +1 -1
- package/dist/client/assets/{alert-DIuR7XaR.js → alert-DbDLUaFg.js} +1 -1
- package/dist/client/assets/{alert-dialog-Xn8LpVc8.js → alert-dialog-BgN-Tqd-.js} +1 -1
- package/dist/client/assets/{app-editor-yIDNZzzT.js → app-editor-BxnAP5XK.js} +1 -1
- package/dist/client/assets/{auth-ANCOmttW.js → auth-BcPAS4K5.js} +1 -1
- package/dist/client/assets/{auth-catchall-CPei7TNu.js → auth-catchall-beEoU58X.js} +1 -1
- package/dist/client/assets/{auth-entry-DR2aLV1R.js → auth-entry-Ba9Dx-Qf.js} +1 -1
- package/dist/client/assets/{auth-split-layout-CkRUAeEO.js → auth-split-layout-BWtw05-K.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-C-JqvyRh.js → authenticate-and-persist-oauth-COCTTCRF.js} +1 -1
- package/dist/client/assets/{automation-list-row-BcUdJrVC.js → automation-list-row-BYFAi_YA.js} +1 -1
- package/dist/client/assets/{automation-runs-BifnU8_i.js → automation-runs-DeLRBvkt.js} +1 -1
- package/dist/client/assets/{automations-B9um6d70.js → automations-BRAq3s1h.js} +1 -1
- package/dist/client/assets/{avatar-CPIgr7-p.js → avatar-CKAwkvrw.js} +1 -1
- package/dist/client/assets/{badge-BoP7NhL_.js → badge-CxlSzoE1.js} +1 -1
- package/dist/client/assets/{billing-BHFWSCxm.js → billing-B-o9jNmN.js} +1 -1
- package/dist/client/assets/{block-document-CPSclET4.js → block-document-B55t08Gk.js} +1 -1
- package/dist/client/assets/{brand-context-Lk6JoeGu.js → brand-context-BFbc6Rr3.js} +1 -1
- package/dist/client/assets/{buckets-BiDyk4mP.js → buckets-DPkGfuKn.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-0zirRi61.js → bulk-category-panel-DEeeidyr.js} +1 -1
- package/dist/client/assets/{capability-load-error-S-JNljGC.js → capability-load-error-BJPRtvi9.js} +1 -1
- package/dist/client/assets/{card-lxFop9oJ.js → card-GrGBYBXG.js} +1 -1
- package/dist/client/assets/{cards-S5FAmKUB.js → cards-DY2u3Spm.js} +1 -1
- package/dist/client/assets/{category-editor-Bv8ApHAC.js → category-editor-ZQJJznra.js} +1 -1
- package/dist/client/assets/{chat-context-CV2ibxPd.js → chat-context-cK_4I7Xc.js} +1 -1
- package/dist/client/assets/{checkbox-ZpkUR1gq.js → checkbox-DjytOswq.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BdE-we7c.js → cli-auth-success-BM-cW7fp.js} +1 -1
- package/dist/client/assets/{collection-detail-7LB4xM1G.js → collection-detail-agcgXjLA.js} +1 -1
- package/dist/client/assets/{collection-display-button-DTKyHVFX.js → collection-display-button-C1_cSZ46.js} +1 -1
- package/dist/client/assets/{collection-search-BzYqusXY.js → collection-search-Cwveue76.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-BSS6Wd5g.js → collection-table-wrapper-rFP3w6Km.js} +1 -1
- package/dist/client/assets/{collection-tabs-Di0fmDNx.js → collection-tabs-DMyjVQaZ.js} +1 -1
- package/dist/client/assets/{command-Bemo-h0S.js → command-DktWLnIE.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-D1H67vwy.js → commerce-onboarding-m9N-S4Gz.js} +1 -1
- package/dist/client/assets/{connect-D8FiLV07.js → connect-D2N1y-Ip.js} +1 -1
- package/dist/client/assets/{connection-card-D-cmYmCq.js → connection-card-BoEQ2uqc.js} +1 -1
- package/dist/client/assets/{connection-detail-ckAlH1gW.js → connection-detail-CQcpDcrD.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DFqceUmS.js → connection-form-helpers-DB6bc0s9.js} +1 -1
- package/dist/client/assets/{connection-Bq8ZZ2Em.js → connection-xiSJ6-RD.js} +1 -1
- package/dist/client/assets/{connections-qMM5bDwN.js → connections-Dw0iE25b.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-Cvk81TxT.js → decopilot-sse-pool-CYVKd86r.js} +1 -1
- package/dist/client/assets/{dialog-CF1cQ1rb.js → dialog-7h2q_S_D.js} +1 -1
- package/dist/client/assets/{domain-settings-BEadEJ2B.js → domain-settings-VApHKPI3.js} +1 -1
- package/dist/client/assets/{drawer-DfRIJaDr.js → drawer-WhUz4erM.js} +1 -1
- package/dist/client/assets/{dropdown-menu-AkajeJh4.js → dropdown-menu-D3TVm231.js} +1 -1
- package/dist/client/assets/{empty-state-D7Q_5Yzc.js → empty-state-tOcrn7Ci.js} +1 -1
- package/dist/client/assets/{extract-connection-data-sVdeut_9.js → extract-connection-data-BKY0ec6n.js} +1 -1
- package/dist/client/assets/{file-explorer-Dwz4AmxP.js → file-explorer-Dq0lQM5q.js} +1 -1
- package/dist/client/assets/{file-type-icon-BBtbE_NU.js → file-type-icon-CpiTVpKx.js} +1 -1
- package/dist/client/assets/{form-D6GqaWU9.js → form-FE1JRkSu.js} +1 -1
- package/dist/client/assets/{general-8nn2nvKH.js → general-g40hJC_5.js} +1 -1
- package/dist/client/assets/{github-repo-picker-yxnDF_Mi.js → github-repo-picker-BId4yHDh.js} +1 -1
- package/dist/client/assets/{hooks-CJA4VXgB.js → hooks-BTTh4oan.js} +4 -4
- package/dist/client/assets/{index-Al4HY1a3.js → index-BEPKcH_a.js} +1 -1
- package/dist/client/assets/{index-DC7whFuR.js → index-BEYzla8F.js} +5 -5
- package/dist/client/assets/{index-cF1kQ4rp.js → index-BYGXPjH8.js} +1 -1
- package/dist/client/assets/{index-vEFJuUdN.js → index-Bfy-Fe7V.js} +3 -3
- package/dist/client/assets/{index-C3vGEoWV.js → index-Bqv-pFdx.js} +1 -1
- package/dist/client/assets/{index-C2hrpyVC.js → index-C6ZFB-pr.js} +1 -1
- package/dist/client/assets/{index-BMSi953J.js → index-CGRQEzbN.js} +1 -1
- package/dist/client/assets/{index-EI3Ugq-F.js → index-D5KNWpFX.js} +1 -1
- package/dist/client/assets/{index-CjTnqBk_.js → index-GMtytQiz.js} +1 -1
- package/dist/client/assets/{index-kxBCs5fd.js → index-UyBix6gL.js} +1 -1
- package/dist/client/assets/{index-redirect-Bue7X2lf.js → index-redirect-ck6OyrmB.js} +1 -1
- package/dist/client/assets/{input-5e_3GJtI.js → input-BVD_WyXJ.js} +1 -1
- package/dist/client/assets/{integration-icon-Hw_CmlIO.js → integration-icon-BbWY9vfD.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-BFxexQWA.js → invite-member-dialog-CV1AK1O7.js} +1 -1
- package/dist/client/assets/{label-DfGzQmB5.js → label-Dplc1_oE.js} +1 -1
- package/dist/client/assets/{layout-J1KutV1s.js → layout-D5YUqSjq.js} +1 -1
- package/dist/client/assets/{login-DFC8t92m.js → login-BhrXfYan.js} +1 -1
- package/dist/client/assets/{mcp-oauth-OIUxe3g2.js → mcp-oauth-Bi0vxp4Q.js} +1 -1
- package/dist/client/assets/{members-D04j8LGY.js → members-Ji9eO7Ec.js} +1 -1
- package/dist/client/assets/{monaco-editor-DXyVTFn_.js → monaco-editor-a45QrHzb.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-DwkTMqaP.js → monitoring-stats-row-Clyov0L3.js} +1 -1
- package/dist/client/assets/{multi-select-CMm9r82c.js → multi-select-CjPTNrcr.js} +1 -1
- package/dist/client/assets/{oauth-callback-DvccsXft.js → oauth-callback-DiDAIf8E.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-JuzGzHF3.js → oauth-callback-ai-provider-IqzbVWPo.js} +1 -1
- package/dist/client/assets/{onboarding-CITeeAzg.js → onboarding-BJiKjmun.js} +1 -1
- package/dist/client/assets/{org-layout-r55BUxSU.js → org-layout-PfQPZIP6.js} +1 -1
- package/dist/client/assets/{organization-choice-DdAEAan-.js → organization-choice-gP3A2ZAR.js} +1 -1
- package/dist/client/assets/{orgs-DbDUgk30.js → orgs-Cr1CFs6W.js} +1 -1
- package/dist/client/assets/{page-seo-form-DArIhi5S.js → page-seo-form-DudbV1zC.js} +1 -1
- package/dist/client/assets/{popover-DlPz4To4.js → popover-DigaZ5Sb.js} +1 -1
- package/dist/client/assets/{post-editor-DHPRvNNO.js → post-editor-BWzSgRMR.js} +1 -1
- package/dist/client/assets/{primitives-BydS_vZK.js → primitives-J7wgcQJq.js} +1 -1
- package/dist/client/assets/{profile-DI6Ilt8P.js → profile-BDbSzozU.js} +1 -1
- package/dist/client/assets/{project-app-view-C6HXVzqk.js → project-app-view-DAXzq1Ls.js} +1 -1
- package/dist/client/assets/record-editor-ppkuJl7e.js +1 -0
- package/dist/client/assets/{redirect-editor-HVBMW8WM.js → redirect-editor-pHmu3bPB.js} +1 -1
- package/dist/client/assets/registry-Cd5hmvAQ.js +2 -0
- package/dist/client/assets/{registry-layout-BkpbsKCB.js → registry-layout-CpdnxiQT.js} +1 -1
- package/dist/client/assets/{reports-CXIrzC-d.js → reports-DRHBtKft.js} +1 -1
- package/dist/client/assets/{require-capability-fB062a2_.js → require-capability-ATUore6a.js} +1 -1
- package/dist/client/assets/{required-auth-layout-_hvJxMv_.js → required-auth-layout-BFPFAQoy.js} +1 -1
- package/dist/client/assets/{reset-password-BEaSK5jb.js → reset-password-Dqj508VS.js} +1 -1
- package/dist/client/assets/{roles-D12c7S0D.js → roles-CxUv-U9E.js} +1 -1
- package/dist/client/assets/{search-input-Bao8w6Sm.js → search-input--fbtpx3Q.js} +1 -1
- package/dist/client/assets/{secrets-DxgxqJVW.js → secrets-Bks5AT9o.js} +1 -1
- package/dist/client/assets/{sections-editor-DNFZvceN.js → sections-editor-D3-0_ytR.js} +1 -1
- package/dist/client/assets/{select-model-CR0-6PXS.js → select-model-BpUI37HY.js} +1 -1
- package/dist/client/assets/{select-Dez5FrF9.js → select-wwJ8EUoY.js} +1 -1
- package/dist/client/assets/{self-tool-result-CEBp4imh.js → self-tool-result-Cch-sPi1.js} +1 -1
- package/dist/client/assets/{seo-editor-DpWrQCog.js → seo-editor-B-BXD83I.js} +1 -1
- package/dist/client/assets/{settings-layout-DM6YanNm.js → settings-layout-ByUBxOIX.js} +1 -1
- package/dist/client/assets/{settings-section-DPTzp_P_.js → settings-section-CfhHwu3l.js} +1 -1
- package/dist/client/assets/{shell-controls-CAI3Vo2K.js → shell-controls-CCkUJzaH.js} +1 -1
- package/dist/client/assets/{shell-layout-Udqd-jvd.js → shell-layout-C7FmlawD.js} +1 -1
- package/dist/client/assets/{sidebar-BXJraWph.js → sidebar-CusUIOZL.js} +1 -1
- package/dist/client/assets/{skeleton-pl0N1Ino.js → skeleton-Dd2jseki.js} +1 -1
- package/dist/client/assets/{spinner-CppnwMRY.js → spinner-Cq2vfE1B.js} +1 -1
- package/dist/client/assets/{sso-BKgAJn6H.js → sso-B3-RbBmC.js} +1 -1
- package/dist/client/assets/{store-BKFBI3A2.js → store-pPcfwgDj.js} +1 -1
- package/dist/client/assets/store-registry-BvvyMLoR.js +2 -0
- package/dist/client/assets/{studio-tools-CBUmjJWM.js → studio-tools-BBDHxwPb.js} +1 -1
- package/dist/client/assets/{switch-By_6CkwD.js → switch-CAjDqeuV.js} +1 -1
- package/dist/client/assets/{synced-repos-DMX6VroD.js → synced-repos-B2r15ecn.js} +1 -1
- package/dist/client/assets/{tab-id-DdzeNQQR.js → tab-id-BtKEoC5y.js} +1 -1
- package/dist/client/assets/{table-7K7oqOU1.js → table-DwuSaCi4.js} +1 -1
- package/dist/client/assets/{tabs-mQsLl4zR.js → tabs-CIxl9qVO.js} +1 -1
- package/dist/client/assets/{textarea-B-bmHFzf.js → textarea-BkOjJMTl.js} +1 -1
- package/dist/client/assets/{toggle-group-De9TzUcu.js → toggle-group-znNdMK--.js} +1 -1
- package/dist/client/assets/{toolbar-BgPfvPzL.js → toolbar-CdII6jdL.js} +1 -1
- package/dist/client/assets/{tooltip-BUztXQ1W.js → tooltip-F9SMeJ-j.js} +1 -1
- package/dist/client/assets/{track-BdasaloK.js → track-CQoHeM9p.js} +1 -1
- package/dist/client/assets/{use-ai-providers-B0Xkp5BB.js → use-ai-providers-NYX7QSgc.js} +1 -1
- package/dist/client/assets/{use-automations-CfmioFHT.js → use-automations-DoX-Tmqm.js} +1 -1
- package/dist/client/assets/{use-autosave-jnj9qMUO.js → use-autosave-BpJYCCvJ.js} +1 -1
- package/dist/client/assets/{use-capability-D7eAS5np.js → use-capability-DssZIcHp.js} +1 -1
- package/dist/client/assets/{use-clock-tick-iKIdVntg.js → use-clock-tick-CFTIWs0c.js} +1 -1
- package/dist/client/assets/{use-connection-C57YbTcG.js → use-connection-niAftPf5.js} +1 -1
- package/dist/client/assets/{use-copy-B7m5krwW.js → use-copy-C8wJsCEn.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-B0-zziyl.js → use-create-virtual-mcp-BeJ2z9vu.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave--SMcEphJ.js → use-debounced-autosave-CGiNF_NH.js} +1 -1
- package/dist/client/assets/{use-debounced-value-CEYSL9GY.js → use-debounced-value-BolYSN9R.js} +1 -1
- package/dist/client/assets/{use-deco-credits-9r63SN2F.js → use-deco-credits-De3PrmGo.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-9EcaK7qN.js → use-decopilot-events-UAWY9DUq.js} +1 -1
- package/dist/client/assets/{use-delete-connection-Bjv1M5P5.js → use-delete-connection-BcCyYYBn.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-CQBUmrw8.js → use-deployment-admin-Dkp6hxxc.js} +1 -1
- package/dist/client/assets/{use-file-configs-BWwvZiOJ.js → use-file-configs-Cq0JL4Et.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DKJxpa0X.js → use-infinite-scroll-BMPCHIFs.js} +1 -1
- package/dist/client/assets/{use-join-requests-BjdU0X7c.js → use-join-requests-BGkaC20q.js} +1 -1
- package/dist/client/assets/{use-mcp-client-lJgGp2B_.js → use-mcp-client-CMZDCFwV.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CMs4Nd8q.js → use-mcp-tools-DcIN6xvI.js} +1 -1
- package/dist/client/assets/{use-members-BDcNIFeP.js → use-members-CNN6Y-Zt.js} +1 -1
- package/dist/client/assets/{use-mobile-WXO34F35.js → use-mobile-RWxooM53.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-_rWnI-Xt.js → use-navigate-to-agent-ChzmcYSy.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-CtUM2rs7.js → use-open-billing-url-XDJk2wdH.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CO9ez288.js → use-org-auth-client-hxCPh-jf.js} +1 -1
- package/dist/client/assets/{use-org-sso-BORI0Gqf.js → use-org-sso-FYR_uf1o.js} +1 -1
- package/dist/client/assets/{use-organization-roles-DjooZXVB.js → use-organization-roles-H8GHPaLQ.js} +1 -1
- package/dist/client/assets/{use-organization-settings-CgP5KHWU.js → use-organization-settings-CmS9ohCu.js} +1 -1
- package/dist/client/assets/{use-registry-connections-C45H6T-8.js → use-registry-connections-CvNGLAr0.js} +1 -1
- package/dist/client/assets/{use-secrets-QG_xgP3_.js → use-secrets-B-jc_6m7.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-C0W9rmU4.js → use-section-preview-base-B2DzWzr2.js} +1 -1
- package/dist/client/assets/{use-status-sounds-B8tGf8un.js → use-status-sounds-UrQRxkaM.js} +1 -1
- package/dist/client/assets/{use-tags-DyMD1IY8.js → use-tags-opYrp-Zi.js} +1 -1
- package/dist/client/assets/{use-view-mode-D_OPtVgy.js → use-view-mode-Dgp9VTk6.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-DKb7Fyg4.js → use-virtual-mcp-CvLFbjo1.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DuCyL_is.js +1 -0
- package/dist/client/assets/{useRouterState-BHJ0jJB4.js → useRouterState-rS_ZBcbr.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-ByQ627dx.js +1 -0
- package/dist/client/assets/{users-Bhh884_S.js → users-BQPiAp2u.js} +1 -1
- package/dist/client/assets/{variant-calendar-fAA5D3m3.js → variant-calendar-DboldH8s.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-DjIWnqV3.js → view-mode-toggle-DDofaiqJ.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +408 -408
- package/dist/server/server.js +288 -288
- package/package.json +1 -1
- package/dist/client/assets/record-editor-D47fnaIP.js +0 -1
- package/dist/client/assets/registry-CijDpud_.js +0 -2
- package/dist/client/assets/store-registry-R3Z16Gp0.js +0 -2
- package/dist/client/assets/useInfiniteQuery-Hwy4ey-5.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-CdsuGwEV.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as te,b as de,j as s,r as ce,B as ee,m as je,t as ae}from"./index-vEFJuUdN.js";import{s as xe}from"./Plus-BPZja4FC.js";import{A as be,a as Re,b as ve,c as Se,d as Ne,e as De,f as Ce,g as _e}from"./alert-dialog-Xn8LpVc8.js";import{b as Pe,h as Ae,a as ke,c as we,d as Oe,e as ze}from"./dialog-CF1cQ1rb.js";import{I as Ee}from"./input-5e_3GJtI.js";import{S as Ie}from"./skeleton-pl0N1Ino.js";import{P as me}from"./index-EI3Ugq-F.js";import{c as Te}from"./settings-section-DPTzp_P_.js";import{G as he,a as $e}from"./github-repo-picker-yxnDF_Mi.js";import{s as Fe,A as He,C as Be,t as Ge}from"./cards-S5FAmKUB.js";import{R as qe}from"./require-capability-fB062a2_.js";import"./X-CseWQ5OZ.js";import"./sidebar-BXJraWph.js";import"./LayoutLeft-BowuBtX2.js";import"./use-mobile-WXO34F35.js";import"./tooltip-BUztXQ1W.js";import"./card-lxFop9oJ.js";import"./ArrowUpRight-erfF6BcP.js";import"./collection-search-BzYqusXY.js";import"./SearchMd-BVrWvjH3.js";import"./use-debounced-value-CEYSL9GY.js";import"./use-connection-C57YbTcG.js";import"./use-mcp-client-lJgGp2B_.js";import"./auth-ANCOmttW.js";import"./authenticate-and-persist-oauth-C-JqvyRh.js";import"./mcp-oauth-OIUxe3g2.js";import"./ArrowLeft-CsWtY_gB.js";import"./LinkExternal01-B3QGOPZ8.js";import"./Share07-DS8-754J.js";import"./use-mcp-tools-CMs4Nd8q.js";import"./extract-connection-data-sVdeut_9.js";import"./metadata-dUsYcpuu.js";import"./use-navigate-to-agent-_rWnI-Xt.js";import"./use-virtual-mcp-DKb7Fyg4.js";import"./hooks-CJA4VXgB.js";import"./decopilot-sse-pool-Cvk81TxT.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./provision-repo-scoped-github-connection-C2HwF4Ce.js";import"./studio-tools-CBUmjJWM.js";import"./DotsVertical-BRYCw47k.js";import"./Globe01-0reGbJcL.js";import"./Key01-C8zGItpI.js";import"./Palette-B6o-2LWT.js";import"./Trash01-DGt8nZn9.js";import"./Zap-B6D2E55F.js";import"./dropdown-menu-AkajeJh4.js";import"./Check-CABzt6--.js";import"./ChevronRight-DwahmHLA.js";import"./file-type-icon-BBtbE_NU.js";import"./Eye-Clu-LouG.js";import"./use-capability-D7eAS5np.js";import"./access-gate-CA12_xun.js";import"./capability-load-error-S-JNljGC.js";function Le(e){return e.toLowerCase().replace(/[^a-z0-9_.-]+/g,"-").replace(/^[.-]+|[.-]+$/g,"").slice(0,128)}function Ve(e,t){return e.lastSyncError?{label:e.lastSyncError,error:!0}:e.lastSyncedAt?{label:t("library.syncedRepos.syncedAgo",{ago:Ge(e.lastSyncedAt)}),error:!1}:{label:t("library.syncedRepos.waitingFirstSync"),error:!1}}function Je(e){const t=te.c(32),{config:l,onRemove:i}=e,o=de();let r;t[0]!==l||t[1]!==o?(r=Ve(l,o),t[0]=l,t[1]=o,t[2]=r):r=t[2];const f=r;let c;t[3]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx("div",{className:"size-9 rounded-md bg-muted flex items-center justify-center shrink-0",children:s.jsx(he,{size:16,className:"text-muted-foreground"})}),t[3]=c):c=t[3];let m;t[4]!==l.repoName||t[5]!==l.repoOwner?(m=s.jsxs("span",{className:"font-medium text-sm truncate",children:[l.repoOwner,"/",l.repoName]}),t[4]=l.repoName,t[5]=l.repoOwner,t[6]=m):m=t[6];let n;t[7]!==l.ref?(n=s.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:["@",l.ref]}),t[7]=l.ref,t[8]=n):n=t[8];let g;t[9]!==m||t[10]!==n?(g=s.jsxs("div",{className:"flex items-center gap-2",children:[m,n]}),t[9]=m,t[10]=n,t[11]=g):g=t[11];const d=f.error?"text-destructive":"text-muted-foreground";let p;t[12]!==d?(p=je("text-xs mt-0.5 truncate",d),t[12]=d,t[13]=p):p=t[13];let u;t[14]!==l.volume||t[15]!==o?(u=o("settings.syncedRepos.rowSubtitle",{volume:l.volume}),t[14]=l.volume,t[15]=o,t[16]=u):u=t[16];let y;t[17]!==f.label||t[18]!==p||t[19]!==u?(y=s.jsxs("p",{className:p,children:[u," ·"," ",f.label]}),t[17]=f.label,t[18]=p,t[19]=u,t[20]=y):y=t[20];let x;t[21]!==g||t[22]!==y?(x=s.jsxs("div",{className:"flex items-start gap-3 min-w-0",children:[c,s.jsxs("div",{className:"min-w-0",children:[g,y]})]}),t[21]=g,t[22]=y,t[23]=x):x=t[23];let j;t[24]!==o?(j=o("settings.syncedRepos.remove"),t[24]=o,t[25]=j):j=t[25];let h;t[26]!==i||t[27]!==j?(h=s.jsx(ee,{variant:"outline",size:"sm",onClick:i,children:j}),t[26]=i,t[27]=j,t[28]=h):h=t[28];let b;return t[29]!==x||t[30]!==h?(b=s.jsxs("div",{className:"flex items-center justify-between gap-4 py-3 border-b border-border/60 last:border-b-0",children:[x,h]}),t[29]=x,t[30]=h,t[31]=b):b=t[31],b}function Ke(e){const t=te.c(21),{onAdd:l}=e,i=de();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx("div",{className:"size-12 rounded-full bg-muted flex items-center justify-center",children:s.jsx(he,{size:20,className:"text-muted-foreground"})}),t[0]=o):o=t[0];let r;t[1]!==i?(r=i("settings.syncedRepos.emptyTitle"),t[1]=i,t[2]=r):r=t[2];let f;t[3]!==r?(f=s.jsx("p",{className:"font-medium text-sm",children:r}),t[3]=r,t[4]=f):f=t[4];let c;t[5]!==i?(c=i("settings.syncedRepos.emptyDescription"),t[5]=i,t[6]=c):c=t[6];let m;t[7]!==c?(m=s.jsx("p",{className:"text-xs text-muted-foreground mt-1 max-w-sm",children:c}),t[7]=c,t[8]=m):m=t[8];let n;t[9]!==f||t[10]!==m?(n=s.jsxs("div",{children:[f,m]}),t[9]=f,t[10]=m,t[11]=n):n=t[11];let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(xe,{size:14}),t[12]=g):g=t[12];let d;t[13]!==i?(d=i("settings.syncedRepos.addRepo"),t[13]=i,t[14]=d):d=t[14];let p;t[15]!==l||t[16]!==d?(p=s.jsxs(ee,{onClick:l,size:"sm",className:"mt-2",children:[g,d]}),t[15]=l,t[16]=d,t[17]=p):p=t[17];let u;return t[18]!==n||t[19]!==p?(u=s.jsxs("div",{className:"rounded-2xl border border-dashed border-border/60 p-10 flex flex-col items-center justify-center text-center gap-3",children:[o,n,p]}),t[18]=n,t[19]=p,t[20]=u):u=t[20],u}function Me(){const e=te.c(107),t=de(),l=Fe(),i=He(),o=Be(),[r,f]=ce.useState(!1),[c,m]=ce.useState(null),[n,g]=ce.useState(""),[d,p]=ce.useState(null);let u;e[0]!==i||e[1]!==c||e[2]!==t||e[3]!==n?(u=function(){!c||!n.trim()||i.mutate({connectionId:c.connectionId,volume:n.trim()},{onSuccess:R=>{m(null),ae.success(t("settings.syncedRepos.created",{volume:R.volume}))},onError:R=>{ae.error(R instanceof Error?R.message:t("settings.syncedRepos.failed"))}})},e[0]=i,e[1]=c,e[2]=t,e[3]=n,e[4]=u):u=e[4];const y=u;let x;e[5]!==d||e[6]!==o||e[7]!==t?(x=function(){d&&o.mutate(d.id,{onSuccess:()=>ae.success(t("settings.syncedRepos.removed")),onError:R=>ae.error(R instanceof Error?R.message:t("settings.syncedRepos.failed")),onSettled:()=>p(null)})},e[5]=d,e[6]=o,e[7]=t,e[8]=x):x=e[8];const j=x;if(l.isPending){let a;return e[9]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(Ie,{className:"h-32 w-full"}),e[9]=a):a=e[9],a}let h;e[10]!==l.data?(h=l.data??[],e[10]=l.data,e[11]=h):h=e[11];const b=h;let v;e[12]!==t?(v=t("settings.syncedRepos.pageDescription"),e[12]=t,e[13]=v):v=e[13];let S;e[14]!==v?(S=s.jsx("p",{className:"text-sm text-muted-foreground",children:v}),e[14]=v,e[15]=S):S=e[15];let N;e[16]!==b||e[17]!==t?(N=b.length===0?s.jsx(Ke,{onAdd:()=>f(!0)}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"flex items-center justify-end",children:s.jsxs(ee,{onClick:()=>f(!0),size:"sm",children:[s.jsx(xe,{size:14}),t("settings.syncedRepos.addRepo")]})}),s.jsx("section",{className:"rounded-2xl border border-border/60 bg-background px-5 py-2",children:b.map(a=>s.jsx(Je,{config:a,onRemove:()=>p(a)},a.id))})]}),e[16]=b,e[17]=t,e[18]=N):N=e[18];let D;e[19]!==t?(D=t("settings.syncedRepos.pickerTitle"),e[19]=t,e[20]=D):D=e[20];let se;e[21]===Symbol.for("react.memo_cache_sentinel")?(se=a=>{f(!1),m(a),g(Le(a.repo.name))},e[21]=se):se=e[21];let C;e[22]!==r||e[23]!==D?(C=s.jsx($e,{mode:"connection",open:r,onOpenChange:f,title:D,onImportComplete:se}),e[22]=r,e[23]=D,e[24]=C):C=e[24];const pe=c!==null;let ie;e[25]===Symbol.for("react.memo_cache_sentinel")?(ie=a=>{a||m(null)},e[25]=ie):ie=e[25];let _;e[26]!==t?(_=t("settings.syncedRepos.nameDialogTitle"),e[26]=t,e[27]=_):_=e[27];let P;e[28]!==_?(P=s.jsx(Pe,{children:_}),e[28]=_,e[29]=P):P=e[29];const fe=c?`${c.repo.owner}/${c.repo.name}`:"";let A;e[30]!==t||e[31]!==fe?(A=t("settings.syncedRepos.nameDialogDescription",{repo:fe}),e[30]=t,e[31]=fe,e[32]=A):A=e[32];let k;e[33]!==A?(k=s.jsx(Ae,{children:A}),e[33]=A,e[34]=k):k=e[34];let w;e[35]!==P||e[36]!==k?(w=s.jsxs(ke,{children:[P,k]}),e[35]=P,e[36]=k,e[37]=w):w=e[37];let le;e[38]===Symbol.for("react.memo_cache_sentinel")?(le=a=>g(a.target.value),e[38]=le):le=e[38];let O;e[39]!==t?(O=t("settings.syncedRepos.namePlaceholder"),e[39]=t,e[40]=O):O=e[40];let z;e[41]!==O||e[42]!==n?(z=s.jsx(Ee,{value:n,onChange:le,placeholder:O,autoFocus:!0}),e[41]=O,e[42]=n,e[43]=z):z=e[43];let ne;e[44]===Symbol.for("react.memo_cache_sentinel")?(ne=()=>m(null),e[44]=ne):ne=e[44];const ye=i.isPending;let E;e[45]!==t?(E=t("settings.syncedRepos.cancel"),e[45]=t,e[46]=E):E=e[46];let I;e[47]!==i.isPending||e[48]!==E?(I=s.jsx(ee,{variant:"outline",onClick:ne,disabled:ye,children:E}),e[47]=i.isPending,e[48]=E,e[49]=I):I=e[49];let T;e[50]!==i.isPending||e[51]!==n?(T=!n.trim()||i.isPending,e[50]=i.isPending,e[51]=n,e[52]=T):T=e[52];let $;e[53]!==i.isPending||e[54]!==t?($=i.isPending?t("settings.syncedRepos.creating"):t("settings.syncedRepos.create"),e[53]=i.isPending,e[54]=t,e[55]=$):$=e[55];let F;e[56]!==y||e[57]!==T||e[58]!==$?(F=s.jsx(ee,{disabled:T,onClick:y,children:$}),e[56]=y,e[57]=T,e[58]=$,e[59]=F):F=e[59];let H;e[60]!==I||e[61]!==F?(H=s.jsxs(we,{children:[I,F]}),e[60]=I,e[61]=F,e[62]=H):H=e[62];let B;e[63]!==w||e[64]!==z||e[65]!==H?(B=s.jsxs(Oe,{className:"sm:max-w-sm",children:[w,z,H]}),e[63]=w,e[64]=z,e[65]=H,e[66]=B):B=e[66];let G;e[67]!==B||e[68]!==pe?(G=s.jsx(ze,{open:pe,onOpenChange:ie,children:B}),e[67]=B,e[68]=pe,e[69]=G):G=e[69];const ue=d!==null;let oe;e[70]===Symbol.for("react.memo_cache_sentinel")?(oe=a=>{a||p(null)},e[70]=oe):oe=e[70];const ge=d?.volume??"";let q;e[71]!==t||e[72]!==ge?(q=t("settings.syncedRepos.removeTitle",{volume:ge}),e[71]=t,e[72]=ge,e[73]=q):q=e[73];let L;e[74]!==q?(L=s.jsx(be,{children:q}),e[74]=q,e[75]=L):L=e[75];let V;e[76]!==t?(V=t("settings.syncedRepos.removeDescription"),e[76]=t,e[77]=V):V=e[77];let J;e[78]!==V?(J=s.jsx(Re,{children:V}),e[78]=V,e[79]=J):J=e[79];let K;e[80]!==L||e[81]!==J?(K=s.jsxs(ve,{children:[L,J]}),e[80]=L,e[81]=J,e[82]=K):K=e[82];let M;e[83]!==t?(M=t("settings.syncedRepos.cancel"),e[83]=t,e[84]=M):M=e[84];let Q;e[85]!==M?(Q=s.jsx(Se,{children:M}),e[85]=M,e[86]=Q):Q=e[86];let U;e[87]!==t?(U=t("settings.syncedRepos.remove"),e[87]=t,e[88]=U):U=e[88];let W;e[89]!==j||e[90]!==U?(W=s.jsx(Ne,{onClick:j,children:U}),e[89]=j,e[90]=U,e[91]=W):W=e[91];let X;e[92]!==Q||e[93]!==W?(X=s.jsxs(De,{children:[Q,W]}),e[92]=Q,e[93]=W,e[94]=X):X=e[94];let Y;e[95]!==K||e[96]!==X?(Y=s.jsxs(Ce,{children:[K,X]}),e[95]=K,e[96]=X,e[97]=Y):Y=e[97];let Z;e[98]!==ue||e[99]!==Y?(Z=s.jsx(_e,{open:ue,onOpenChange:oe,children:Y}),e[98]=ue,e[99]=Y,e[100]=Z):Z=e[100];let re;return e[101]!==G||e[102]!==S||e[103]!==Z||e[104]!==N||e[105]!==C?(re=s.jsxs(s.Fragment,{children:[S,N,C,G,Z]}),e[101]=G,e[102]=S,e[103]=Z,e[104]=N,e[105]=C,e[106]=re):re=e[106],re}function Qe(){const e=te.c(7),t=de();let l;e[0]!==t?(l=t("settings.nav.syncedRepos"),e[0]=t,e[1]=l):l=e[1];let i;e[2]!==l?(i=s.jsx(me.Title,{children:l}),e[2]=l,e[3]=i):i=e[3];let o;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Me,{}),e[4]=o):o=e[4];let r;return e[5]!==i?(r=s.jsx(me,{children:s.jsx(me.Content,{children:s.jsx(me.Body,{children:s.jsxs(Te,{children:[i,o]})})})}),e[5]=i,e[6]=r):r=e[6],r}function Wt(){const e=te.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(qe,{capability:"file-configs:manage",area:"files",children:s.jsx(Qe,{})}),e[0]=t):t=e[0],t}export{Wt as default};
|
|
1
|
+
import{c as te,b as de,j as s,r as ce,B as ee,m as je,t as ae}from"./index-Bfy-Fe7V.js";import{s as xe}from"./Plus-CGrXNe_q.js";import{A as be,a as Re,b as ve,c as Se,d as Ne,e as De,f as Ce,g as _e}from"./alert-dialog-BgN-Tqd-.js";import{b as Pe,h as Ae,a as ke,c as we,d as Oe,e as ze}from"./dialog-7h2q_S_D.js";import{I as Ee}from"./input-BVD_WyXJ.js";import{S as Ie}from"./skeleton-Dd2jseki.js";import{P as me}from"./index-D5KNWpFX.js";import{c as Te}from"./settings-section-CfhHwu3l.js";import{G as he,a as $e}from"./github-repo-picker-BId4yHDh.js";import{s as Fe,A as He,C as Be,t as Ge}from"./cards-DY2u3Spm.js";import{R as qe}from"./require-capability-ATUore6a.js";import"./X-CId2-nhW.js";import"./sidebar-CusUIOZL.js";import"./LayoutLeft-C0u89h3U.js";import"./use-mobile-RWxooM53.js";import"./tooltip-F9SMeJ-j.js";import"./card-GrGBYBXG.js";import"./ArrowUpRight-OVKS4c5s.js";import"./collection-search-Cwveue76.js";import"./SearchMd-DFwCvkV1.js";import"./use-debounced-value-BolYSN9R.js";import"./use-connection-niAftPf5.js";import"./use-mcp-client-CMZDCFwV.js";import"./auth-BcPAS4K5.js";import"./authenticate-and-persist-oauth-COCTTCRF.js";import"./mcp-oauth-Bi0vxp4Q.js";import"./ArrowLeft-Bo0FpGQs.js";import"./LinkExternal01-CLr9HZg0.js";import"./Share07-C1_p27Hs.js";import"./use-mcp-tools-DcIN6xvI.js";import"./extract-connection-data-BKY0ec6n.js";import"./metadata-dUsYcpuu.js";import"./use-navigate-to-agent-ChzmcYSy.js";import"./use-virtual-mcp-CvLFbjo1.js";import"./hooks-BTTh4oan.js";import"./decopilot-sse-pool-CYVKd86r.js";import"./backoff-CrEUbyZT.js";import"./delay-CnY5UFtP.js";import"./reusable-new-chat-CouMjkYR.js";import"./provision-repo-scoped-github-connection-C2HwF4Ce.js";import"./studio-tools-BBDHxwPb.js";import"./DotsVertical-9U5tOb04.js";import"./Globe01-Cm-V-gHj.js";import"./Key01-DY7yaq7L.js";import"./Palette-C8S3zMtK.js";import"./Trash01-BCoCDH0H.js";import"./Zap-C6ApHWIY.js";import"./dropdown-menu-D3TVm231.js";import"./Check-CeB_ZeLq.js";import"./ChevronRight-Cux_llMB.js";import"./file-type-icon-CpiTVpKx.js";import"./Eye-DXWAJYKq.js";import"./use-capability-DssZIcHp.js";import"./access-gate-C95F2WkH.js";import"./capability-load-error-BJPRtvi9.js";function Le(e){return e.toLowerCase().replace(/[^a-z0-9_.-]+/g,"-").replace(/^[.-]+|[.-]+$/g,"").slice(0,128)}function Ve(e,t){return e.lastSyncError?{label:e.lastSyncError,error:!0}:e.lastSyncedAt?{label:t("library.syncedRepos.syncedAgo",{ago:Ge(e.lastSyncedAt)}),error:!1}:{label:t("library.syncedRepos.waitingFirstSync"),error:!1}}function Je(e){const t=te.c(32),{config:l,onRemove:i}=e,o=de();let r;t[0]!==l||t[1]!==o?(r=Ve(l,o),t[0]=l,t[1]=o,t[2]=r):r=t[2];const f=r;let c;t[3]===Symbol.for("react.memo_cache_sentinel")?(c=s.jsx("div",{className:"size-9 rounded-md bg-muted flex items-center justify-center shrink-0",children:s.jsx(he,{size:16,className:"text-muted-foreground"})}),t[3]=c):c=t[3];let m;t[4]!==l.repoName||t[5]!==l.repoOwner?(m=s.jsxs("span",{className:"font-medium text-sm truncate",children:[l.repoOwner,"/",l.repoName]}),t[4]=l.repoName,t[5]=l.repoOwner,t[6]=m):m=t[6];let n;t[7]!==l.ref?(n=s.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:["@",l.ref]}),t[7]=l.ref,t[8]=n):n=t[8];let g;t[9]!==m||t[10]!==n?(g=s.jsxs("div",{className:"flex items-center gap-2",children:[m,n]}),t[9]=m,t[10]=n,t[11]=g):g=t[11];const d=f.error?"text-destructive":"text-muted-foreground";let p;t[12]!==d?(p=je("text-xs mt-0.5 truncate",d),t[12]=d,t[13]=p):p=t[13];let u;t[14]!==l.volume||t[15]!==o?(u=o("settings.syncedRepos.rowSubtitle",{volume:l.volume}),t[14]=l.volume,t[15]=o,t[16]=u):u=t[16];let y;t[17]!==f.label||t[18]!==p||t[19]!==u?(y=s.jsxs("p",{className:p,children:[u," ·"," ",f.label]}),t[17]=f.label,t[18]=p,t[19]=u,t[20]=y):y=t[20];let x;t[21]!==g||t[22]!==y?(x=s.jsxs("div",{className:"flex items-start gap-3 min-w-0",children:[c,s.jsxs("div",{className:"min-w-0",children:[g,y]})]}),t[21]=g,t[22]=y,t[23]=x):x=t[23];let j;t[24]!==o?(j=o("settings.syncedRepos.remove"),t[24]=o,t[25]=j):j=t[25];let h;t[26]!==i||t[27]!==j?(h=s.jsx(ee,{variant:"outline",size:"sm",onClick:i,children:j}),t[26]=i,t[27]=j,t[28]=h):h=t[28];let b;return t[29]!==x||t[30]!==h?(b=s.jsxs("div",{className:"flex items-center justify-between gap-4 py-3 border-b border-border/60 last:border-b-0",children:[x,h]}),t[29]=x,t[30]=h,t[31]=b):b=t[31],b}function Ke(e){const t=te.c(21),{onAdd:l}=e,i=de();let o;t[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx("div",{className:"size-12 rounded-full bg-muted flex items-center justify-center",children:s.jsx(he,{size:20,className:"text-muted-foreground"})}),t[0]=o):o=t[0];let r;t[1]!==i?(r=i("settings.syncedRepos.emptyTitle"),t[1]=i,t[2]=r):r=t[2];let f;t[3]!==r?(f=s.jsx("p",{className:"font-medium text-sm",children:r}),t[3]=r,t[4]=f):f=t[4];let c;t[5]!==i?(c=i("settings.syncedRepos.emptyDescription"),t[5]=i,t[6]=c):c=t[6];let m;t[7]!==c?(m=s.jsx("p",{className:"text-xs text-muted-foreground mt-1 max-w-sm",children:c}),t[7]=c,t[8]=m):m=t[8];let n;t[9]!==f||t[10]!==m?(n=s.jsxs("div",{children:[f,m]}),t[9]=f,t[10]=m,t[11]=n):n=t[11];let g;t[12]===Symbol.for("react.memo_cache_sentinel")?(g=s.jsx(xe,{size:14}),t[12]=g):g=t[12];let d;t[13]!==i?(d=i("settings.syncedRepos.addRepo"),t[13]=i,t[14]=d):d=t[14];let p;t[15]!==l||t[16]!==d?(p=s.jsxs(ee,{onClick:l,size:"sm",className:"mt-2",children:[g,d]}),t[15]=l,t[16]=d,t[17]=p):p=t[17];let u;return t[18]!==n||t[19]!==p?(u=s.jsxs("div",{className:"rounded-2xl border border-dashed border-border/60 p-10 flex flex-col items-center justify-center text-center gap-3",children:[o,n,p]}),t[18]=n,t[19]=p,t[20]=u):u=t[20],u}function Me(){const e=te.c(107),t=de(),l=Fe(),i=He(),o=Be(),[r,f]=ce.useState(!1),[c,m]=ce.useState(null),[n,g]=ce.useState(""),[d,p]=ce.useState(null);let u;e[0]!==i||e[1]!==c||e[2]!==t||e[3]!==n?(u=function(){!c||!n.trim()||i.mutate({connectionId:c.connectionId,volume:n.trim()},{onSuccess:R=>{m(null),ae.success(t("settings.syncedRepos.created",{volume:R.volume}))},onError:R=>{ae.error(R instanceof Error?R.message:t("settings.syncedRepos.failed"))}})},e[0]=i,e[1]=c,e[2]=t,e[3]=n,e[4]=u):u=e[4];const y=u;let x;e[5]!==d||e[6]!==o||e[7]!==t?(x=function(){d&&o.mutate(d.id,{onSuccess:()=>ae.success(t("settings.syncedRepos.removed")),onError:R=>ae.error(R instanceof Error?R.message:t("settings.syncedRepos.failed")),onSettled:()=>p(null)})},e[5]=d,e[6]=o,e[7]=t,e[8]=x):x=e[8];const j=x;if(l.isPending){let a;return e[9]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(Ie,{className:"h-32 w-full"}),e[9]=a):a=e[9],a}let h;e[10]!==l.data?(h=l.data??[],e[10]=l.data,e[11]=h):h=e[11];const b=h;let v;e[12]!==t?(v=t("settings.syncedRepos.pageDescription"),e[12]=t,e[13]=v):v=e[13];let S;e[14]!==v?(S=s.jsx("p",{className:"text-sm text-muted-foreground",children:v}),e[14]=v,e[15]=S):S=e[15];let N;e[16]!==b||e[17]!==t?(N=b.length===0?s.jsx(Ke,{onAdd:()=>f(!0)}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"flex items-center justify-end",children:s.jsxs(ee,{onClick:()=>f(!0),size:"sm",children:[s.jsx(xe,{size:14}),t("settings.syncedRepos.addRepo")]})}),s.jsx("section",{className:"rounded-2xl border border-border/60 bg-background px-5 py-2",children:b.map(a=>s.jsx(Je,{config:a,onRemove:()=>p(a)},a.id))})]}),e[16]=b,e[17]=t,e[18]=N):N=e[18];let D;e[19]!==t?(D=t("settings.syncedRepos.pickerTitle"),e[19]=t,e[20]=D):D=e[20];let se;e[21]===Symbol.for("react.memo_cache_sentinel")?(se=a=>{f(!1),m(a),g(Le(a.repo.name))},e[21]=se):se=e[21];let C;e[22]!==r||e[23]!==D?(C=s.jsx($e,{mode:"connection",open:r,onOpenChange:f,title:D,onImportComplete:se}),e[22]=r,e[23]=D,e[24]=C):C=e[24];const pe=c!==null;let ie;e[25]===Symbol.for("react.memo_cache_sentinel")?(ie=a=>{a||m(null)},e[25]=ie):ie=e[25];let _;e[26]!==t?(_=t("settings.syncedRepos.nameDialogTitle"),e[26]=t,e[27]=_):_=e[27];let P;e[28]!==_?(P=s.jsx(Pe,{children:_}),e[28]=_,e[29]=P):P=e[29];const fe=c?`${c.repo.owner}/${c.repo.name}`:"";let A;e[30]!==t||e[31]!==fe?(A=t("settings.syncedRepos.nameDialogDescription",{repo:fe}),e[30]=t,e[31]=fe,e[32]=A):A=e[32];let k;e[33]!==A?(k=s.jsx(Ae,{children:A}),e[33]=A,e[34]=k):k=e[34];let w;e[35]!==P||e[36]!==k?(w=s.jsxs(ke,{children:[P,k]}),e[35]=P,e[36]=k,e[37]=w):w=e[37];let le;e[38]===Symbol.for("react.memo_cache_sentinel")?(le=a=>g(a.target.value),e[38]=le):le=e[38];let O;e[39]!==t?(O=t("settings.syncedRepos.namePlaceholder"),e[39]=t,e[40]=O):O=e[40];let z;e[41]!==O||e[42]!==n?(z=s.jsx(Ee,{value:n,onChange:le,placeholder:O,autoFocus:!0}),e[41]=O,e[42]=n,e[43]=z):z=e[43];let ne;e[44]===Symbol.for("react.memo_cache_sentinel")?(ne=()=>m(null),e[44]=ne):ne=e[44];const ye=i.isPending;let E;e[45]!==t?(E=t("settings.syncedRepos.cancel"),e[45]=t,e[46]=E):E=e[46];let I;e[47]!==i.isPending||e[48]!==E?(I=s.jsx(ee,{variant:"outline",onClick:ne,disabled:ye,children:E}),e[47]=i.isPending,e[48]=E,e[49]=I):I=e[49];let T;e[50]!==i.isPending||e[51]!==n?(T=!n.trim()||i.isPending,e[50]=i.isPending,e[51]=n,e[52]=T):T=e[52];let $;e[53]!==i.isPending||e[54]!==t?($=i.isPending?t("settings.syncedRepos.creating"):t("settings.syncedRepos.create"),e[53]=i.isPending,e[54]=t,e[55]=$):$=e[55];let F;e[56]!==y||e[57]!==T||e[58]!==$?(F=s.jsx(ee,{disabled:T,onClick:y,children:$}),e[56]=y,e[57]=T,e[58]=$,e[59]=F):F=e[59];let H;e[60]!==I||e[61]!==F?(H=s.jsxs(we,{children:[I,F]}),e[60]=I,e[61]=F,e[62]=H):H=e[62];let B;e[63]!==w||e[64]!==z||e[65]!==H?(B=s.jsxs(Oe,{className:"sm:max-w-sm",children:[w,z,H]}),e[63]=w,e[64]=z,e[65]=H,e[66]=B):B=e[66];let G;e[67]!==B||e[68]!==pe?(G=s.jsx(ze,{open:pe,onOpenChange:ie,children:B}),e[67]=B,e[68]=pe,e[69]=G):G=e[69];const ue=d!==null;let oe;e[70]===Symbol.for("react.memo_cache_sentinel")?(oe=a=>{a||p(null)},e[70]=oe):oe=e[70];const ge=d?.volume??"";let q;e[71]!==t||e[72]!==ge?(q=t("settings.syncedRepos.removeTitle",{volume:ge}),e[71]=t,e[72]=ge,e[73]=q):q=e[73];let L;e[74]!==q?(L=s.jsx(be,{children:q}),e[74]=q,e[75]=L):L=e[75];let V;e[76]!==t?(V=t("settings.syncedRepos.removeDescription"),e[76]=t,e[77]=V):V=e[77];let J;e[78]!==V?(J=s.jsx(Re,{children:V}),e[78]=V,e[79]=J):J=e[79];let K;e[80]!==L||e[81]!==J?(K=s.jsxs(ve,{children:[L,J]}),e[80]=L,e[81]=J,e[82]=K):K=e[82];let M;e[83]!==t?(M=t("settings.syncedRepos.cancel"),e[83]=t,e[84]=M):M=e[84];let Q;e[85]!==M?(Q=s.jsx(Se,{children:M}),e[85]=M,e[86]=Q):Q=e[86];let U;e[87]!==t?(U=t("settings.syncedRepos.remove"),e[87]=t,e[88]=U):U=e[88];let W;e[89]!==j||e[90]!==U?(W=s.jsx(Ne,{onClick:j,children:U}),e[89]=j,e[90]=U,e[91]=W):W=e[91];let X;e[92]!==Q||e[93]!==W?(X=s.jsxs(De,{children:[Q,W]}),e[92]=Q,e[93]=W,e[94]=X):X=e[94];let Y;e[95]!==K||e[96]!==X?(Y=s.jsxs(Ce,{children:[K,X]}),e[95]=K,e[96]=X,e[97]=Y):Y=e[97];let Z;e[98]!==ue||e[99]!==Y?(Z=s.jsx(_e,{open:ue,onOpenChange:oe,children:Y}),e[98]=ue,e[99]=Y,e[100]=Z):Z=e[100];let re;return e[101]!==G||e[102]!==S||e[103]!==Z||e[104]!==N||e[105]!==C?(re=s.jsxs(s.Fragment,{children:[S,N,C,G,Z]}),e[101]=G,e[102]=S,e[103]=Z,e[104]=N,e[105]=C,e[106]=re):re=e[106],re}function Qe(){const e=te.c(7),t=de();let l;e[0]!==t?(l=t("settings.nav.syncedRepos"),e[0]=t,e[1]=l):l=e[1];let i;e[2]!==l?(i=s.jsx(me.Title,{children:l}),e[2]=l,e[3]=i):i=e[3];let o;e[4]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(Me,{}),e[4]=o):o=e[4];let r;return e[5]!==i?(r=s.jsx(me,{children:s.jsx(me.Content,{children:s.jsx(me.Body,{children:s.jsxs(Te,{children:[i,o]})})})}),e[5]=i,e[6]=r):r=e[6],r}function Wt(){const e=te.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(qe,{capability:"file-configs:manage",area:"files",children:s.jsx(Qe,{})}),e[0]=t):t=e[0],t}export{Wt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as k,b as I,r as N,j as a,B as R,G as U}from"./index-
|
|
1
|
+
import{c as k,b as I,r as N,j as a,B as R,G as U}from"./index-Bfy-Fe7V.js";import{b as L,h as W,a as M,d as P,e as $}from"./dialog-7h2q_S_D.js";import{i as B}from"./Check-CeB_ZeLq.js";import{a as F}from"./Copy01-CXcHnxi0.js";function V(){return`curl -fsSL ${window.location.origin}/install.sh | sh`}function ie(){return typeof navigator<"u"&&/Mac/.test(navigator.platform)&&!("ontouchend"in document)}async function Y(t,e){if(!t)return!1;try{return await t.writeText(e),!0}catch{return!1}}function se(t){const e=k.c(41),{open:r,onOpenChange:i}=t,n=I(),[s,v]=N.useState(!1);let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=V(),e[0]=o):o=e[0];const E=o;let l;e[1]!==n?(l=n("downloadApp.title"),e[1]=n,e[2]=l):l=e[2];let c;e[3]!==l?(c=a.jsx(L,{children:l}),e[3]=l,e[4]=c):c=e[4];let u;e[5]!==n?(u=n("downloadApp.description"),e[5]=n,e[6]=u):u=e[6];let f;e[7]!==u?(f=a.jsx(W,{children:u}),e[7]=u,e[8]=f):f=e[8];let d;e[9]!==c||e[10]!==f?(d=a.jsxs(M,{children:[c,f]}),e[9]=c,e[10]=f,e[11]=d):d=e[11];let w;e[12]===Symbol.for("react.memo_cache_sentinel")?(w=a.jsx("code",{className:"block rounded-md border bg-muted px-3 py-2.5 font-mono text-xs leading-relaxed break-all whitespace-pre-wrap select-all",children:E}),e[12]=w):w=e[12];let x;e[13]===Symbol.for("react.memo_cache_sentinel")?(x=()=>{Y(navigator.clipboard,E).then(j=>{j&&(v(!0),setTimeout(()=>v(!1),2e3))})},e[13]=x):x=e[13];let p;e[14]!==s?(p=s?a.jsx(B,{size:16}):a.jsx(F,{size:16}),e[14]=s,e[15]=p):p=e[15];let m;e[16]!==s||e[17]!==n?(m=n(s?"downloadApp.copiedLabel":"downloadApp.copyLabel"),e[16]=s,e[17]=n,e[18]=m):m=e[18];let h;e[19]!==m||e[20]!==p?(h=a.jsxs("div",{className:"flex flex-col gap-3",children:[w,a.jsxs(R,{type:"button",className:"w-full gap-2",onClick:x,children:[p,m]})]}),e[19]=m,e[20]=p,e[21]=h):h=e[21];let T;e[22]!==n?(T=n("downloadApp.terminalHint"),e[22]=n,e[23]=T):T=e[23];let y;e[24]!==T?(y=a.jsx("p",{children:T}),e[24]=T,e[25]=y):y=e[25];let g;e[26]!==n?(g=n("downloadApp.appleSiliconNote"),e[26]=n,e[27]=g):g=e[27];let A;e[28]!==g?(A=a.jsx("p",{children:g}),e[28]=g,e[29]=A):A=e[29];let S;e[30]!==y||e[31]!==A?(S=a.jsxs("div",{className:"flex flex-col gap-1 text-xs text-muted-foreground",children:[y,A]}),e[30]=y,e[31]=A,e[32]=S):S=e[32];let b;e[33]!==h||e[34]!==S||e[35]!==d?(b=a.jsxs(P,{className:"sm:max-w-md",children:[d,h,S]}),e[33]=h,e[34]=S,e[35]=d,e[36]=b):b=e[36];let C;return e[37]!==i||e[38]!==r||e[39]!==b?(C=a.jsx($,{open:r,onOpenChange:i,children:b}),e[37]=i,e[38]=r,e[39]=b,e[40]=C):C=e[40],C}const G=1e4,ae="true",D=2;function _(t,e){return U.chatAutosend(t,e)}function J(t){return t==="pending"||t==="sending"}function X(t){if(!t)return null;let e;try{e=JSON.parse(t)}catch{return null}if(!e||typeof e!="object")return null;const r=e;let i=0;r.status==="sending"?i=r.retryAt===void 0?1:D:r.retryAt!==void 0&&(i=1);const n=r.attempt===void 0?i:r.attempt;return typeof r.createdAt!="number"||typeof r.message!="object"||!J(r.status)||r.retryAt!==void 0&&typeof r.retryAt!="number"||typeof n!="number"||!Number.isInteger(n)||n<0||n>D?null:{...e,attempt:n}}function oe(t,e,r,i,n=Date.now()){const s={message:i,createdAt:n,status:"pending",attempt:0};return t.setItem(_(e,r),JSON.stringify(s)),s}function z(t,e,r){const i=_(e,r),n=X(t.getItem(i));return n||(t.removeItem(i),null)}function le(t,e,r,i=Date.now()){const n=_(e,r),s=z(t,e,r);if(!s||s.status!=="pending")return null;if(s.attempt>=D)return t.removeItem(n),null;const v=s.retryAt??s.createdAt;if(i-v>=G)return t.removeItem(n),null;const o={...s,status:"sending",attempt:s.attempt+1};return t.setItem(n,JSON.stringify(o)),{message:o.message,createdAt:o.createdAt,attempt:o.attempt}}function ce(t,e,r){t.removeItem(_(e,r))}function H(t){if(!t||!t.startsWith("automation:"))return null;const e=t.slice(11);return e?{id:e}:null}function K(t,e){return`app:${t}:${e}`}function ue(t){if(!t||!t.startsWith("app:"))return null;const e=t.slice(4),r=e.indexOf(":");if(r<=0)return null;const i=e.slice(0,r),n=e.slice(r+1);return!i||!n?null:{connectionId:i,toolName:n}}function fe(t){return`deck:${encodeURIComponent(t)}`}function de(t){if(!t||!t.startsWith("deck:"))return null;const e=t.slice(5);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}function pe(t){return`file:${encodeURIComponent(t)}`}function me(t){if(!t||!t.startsWith("file:"))return null;const e=t.slice(5);if(!e)return null;try{return{key:decodeURIComponent(e)}}catch{return null}}function he(t){return`library-file:${encodeURIComponent(t)}`}function Te(t){if(!t||!t.startsWith("library-file:"))return null;const e=t.slice(13);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}function ye(t){return`code:${encodeURIComponent(t)}`}function ge(t){if(!t)return null;if(t==="code")return{path:null};if(!t.startsWith("code:"))return null;const e=t.slice(5);if(!e)return null;try{return{path:decodeURIComponent(e)}}catch{return null}}const q=["overview","settings","automations","preview","code","content","git"],Q=new Set(q),Ae=new Set(["board","files","connect-sources"]);function Se(t){return t.startsWith("app:")||t.startsWith("automation:")||t.startsWith("file:")||t.startsWith("deck:")||t.startsWith("library-file:")||t.startsWith("code:")}const O=new Set(["instructions","connections","layout","settings"]);function be(t){return!!t&&O.has(t)}function Z(t){const e=t?.defaultMainView??null;if(!e||O.has(e.type))return"settings";if(Q.has(e.type))return e.type;if(e.type==="ext-app"||e.type==="ext-apps"){if(e.id&&e.toolName)return K(e.id,e.toolName);const r=t?.tabs?.map(i=>i.id)??[];return e.id&&r.includes(e.id)?e.id:r[0]??"settings"}return t?.tabs?.[0]?.id??"settings"}function ve(t){const e=t.mainParam===0?"0":t.mainParam,r=Z(t.metadata);if(e==="0")return{mainOpen:!1,activeTab:r};if(e===void 0){const i=t.metadata?.defaultMainView??null;return{mainOpen:!(i==null||i.type==="chat"),activeTab:r}}return O.has(e)?{mainOpen:!0,activeTab:"settings"}:{mainOpen:!0,activeTab:e}}function we(t){return t.mainOpen&&t.clickedId===t.activeTab?0:t.clickedId}function xe(t){return t.mainOpen?t.activeTab==="automations"?!0:H(t.activeTab)!==null:!1}function Ce(t){return t.mainOpen&&t.activeTab==="automations"?0:"automations"}export{ae as A,se as D,q as F,Ae as O,ve as a,me as b,de as c,Te as d,we as e,K as f,ye as g,he as h,ie as i,be as j,ge as k,ue as l,xe as m,Ce as n,fe as o,H as p,pe as q,Z as r,Se as s,le as t,ce as u,oe as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,m as i,j as r}from"./index-
|
|
1
|
+
import{c,m as i,j as r}from"./index-Bfy-Fe7V.js";function d(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=i("w-full caption-bottom text-sm min-w-0",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("div",{"data-slot":"table-container",className:"w-full min-w-0 bg-card rounded-xl card-shadow overflow-hidden",children:r.jsx("table",{"data-slot":"table",className:s,...l})}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function f(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=i("[&_tr]:border-b sticky top-0 z-10 bg-card",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("thead",{"data-slot":"table-header",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function b(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=i("[&_tr:last-child]:border-0",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("tbody",{"data-slot":"table-body",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function m(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=i("data-[state=selected]:bg-muted border-b transition-colors",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("tr",{"data-slot":"table-row",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function p(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=i("text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("th",{"data-slot":"table-head",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}function x(o){const e=c.c(8);let t,l;e[0]!==o?({className:t,...l}=o,e[0]=o,e[1]=t,e[2]=l):(t=e[1],l=e[2]);let s;e[3]!==t?(s=i("p-2 align-middle whitespace-nowrap text-sm [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",t),e[3]=t,e[4]=s):s=e[4];let a;return e[5]!==l||e[6]!==s?(a=r.jsx("td",{"data-slot":"table-cell",className:s,...l}),e[5]=l,e[6]=s,e[7]=a):a=e[7],a}export{x as T,m as a,b,d as c,p as d,f as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as v,j as d,bJ as $,aH as p,bM as k,bL as y,bK as P,aN as T,aJ as S,aM as F,aK as V,aO as D,c as x,m as g}from"./index-
|
|
1
|
+
import{r as v,j as d,bJ as $,aH as p,bM as k,bL as y,bK as P,aN as T,aJ as S,aM as F,aK as V,aO as D,c as x,m as g}from"./index-Bfy-Fe7V.js";var m="Tabs",[G]=S(m,[y]),N=y(),[L,h]=G(m),w=v.forwardRef((n,e)=>{const{__scopeTabs:a,value:t,onValueChange:r,defaultValue:s,orientation:o="horizontal",dir:i,activationMode:l="automatic",...f}=n,u=F(i),[c,b]=V({prop:t,onChange:r,defaultProp:s??"",caller:m});return d.jsx(L,{scope:a,baseId:D(),value:c,onValueChange:b,orientation:o,dir:u,activationMode:l,children:d.jsx(p.div,{dir:u,"data-orientation":o,...f,ref:e})})});w.displayName=m;var C="TabsList",j=v.forwardRef((n,e)=>{const{__scopeTabs:a,loop:t=!0,...r}=n,s=h(C,a),o=N(a);return d.jsx($,{asChild:!0,...o,orientation:s.orientation,dir:s.dir,loop:t,children:d.jsx(p.div,{role:"tablist","aria-orientation":s.orientation,...r,ref:e})})});j.displayName=C;var I="TabsTrigger",_=v.forwardRef((n,e)=>{const{__scopeTabs:a,value:t,disabled:r=!1,...s}=n,o=h(I,a),i=N(a),l=E(o.baseId,t),f=M(o.baseId,t),u=t===o.value;return d.jsx(P,{asChild:!0,...i,focusable:!r,active:u,children:d.jsx(p.button,{type:"button",role:"tab","aria-selected":u,"aria-controls":f,"data-state":u?"active":"inactive","data-disabled":r?"":void 0,disabled:r,id:l,...s,ref:e,onMouseDown:T(n.onMouseDown,c=>{!r&&c.button===0&&c.ctrlKey===!1?o.onValueChange(t):c.preventDefault()}),onKeyDown:T(n.onKeyDown,c=>{[" ","Enter"].includes(c.key)&&o.onValueChange(t)}),onFocus:T(n.onFocus,()=>{const c=o.activationMode!=="manual";!u&&!r&&c&&o.onValueChange(t)})})})});_.displayName=I;var R="TabsContent",A=v.forwardRef((n,e)=>{const{__scopeTabs:a,value:t,forceMount:r,children:s,...o}=n,i=h(R,a),l=E(i.baseId,t),f=M(i.baseId,t),u=t===i.value,c=v.useRef(u);return v.useEffect(()=>{const b=requestAnimationFrame(()=>c.current=!1);return()=>cancelAnimationFrame(b)},[]),d.jsx(k,{present:r||u,children:({present:b})=>d.jsx(p.div,{"data-state":u?"active":"inactive","data-orientation":i.orientation,role:"tabpanel","aria-labelledby":l,hidden:!b,id:f,tabIndex:0,...o,ref:e,style:{...n.style,animationDuration:c.current?"0s":void 0},children:b&&s})})});A.displayName=R;function E(n,e){return`${n}-trigger-${e}`}function M(n,e){return`${n}-content-${e}`}var K=w,z=j,B=_,H=A;function O(n){const e=x.c(10);let a,t,r;e[0]!==n?({className:a,variant:r,...t}=n,e[0]=n,e[1]=a,e[2]=t,e[3]=r):(a=e[1],t=e[2],r=e[3]);const s=r===void 0?"pill":r;let o;e[4]!==a?(o=g("flex flex-col gap-2",a),e[4]=a,e[5]=o):o=e[5];let i;return e[6]!==t||e[7]!==o||e[8]!==s?(i=d.jsx(K,{"data-slot":"tabs","data-variant":s,className:o,...t}),e[6]=t,e[7]=o,e[8]=s,e[9]=i):i=e[9],i}function q(n){const e=x.c(11);let a,t,r;e[0]!==n?({className:a,variant:r,...t}=n,e[0]=n,e[1]=a,e[2]=t,e[3]=r):(a=e[1],t=e[2],r=e[3]);const s=r||"pill",o=s==="underline"?"flex h-[52px] items-center border-b border-border":s==="canvas"?"flex h-10 items-center bg-background relative":"bg-muted text-muted-foreground inline-flex h-10 w-fit items-center justify-center rounded-xl p-[3px]";let i;e[4]!==a||e[5]!==o?(i=g(o,a),e[4]=a,e[5]=o,e[6]=i):i=e[6];let l;return e[7]!==s||e[8]!==t||e[9]!==i?(l=d.jsx(z,{"data-slot":"tabs-list","data-variant":s,className:i,...t}),e[7]=s,e[8]=t,e[9]=i,e[10]=l):l=e[10],l}function Q(n){const e=x.c(11);let a,t,r;e[0]!==n?({className:a,variant:r,...t}=n,e[0]=n,e[1]=a,e[2]=t,e[3]=r):(a=e[1],t=e[2],r=e[3]);const s=r||"pill",o=s==="underline"?"flex items-center h-full px-3 relative text-sm whitespace-nowrap border-b-2 mb-[-1px] transition-all text-muted-foreground border-transparent hover:text-foreground data-[state=active]:text-foreground data-[state=active]:border-primary disabled:pointer-events-none disabled:opacity-50":s==="canvas"?"flex items-center h-full px-3 gap-2.5 text-sm whitespace-nowrap transition-all border-r border-b border-border [&>*]:opacity-50 data-[state=active]:[&>*]:opacity-100 data-[state=active]:border-b-0 last:border-r-0 disabled:pointer-events-none max-w-2xs":"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-lg border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[2px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4";let i;e[4]!==a||e[5]!==o?(i=g(o,a),e[4]=a,e[5]=o,e[6]=i):i=e[6];let l;return e[7]!==s||e[8]!==t||e[9]!==i?(l=d.jsx(B,{"data-slot":"tabs-trigger","data-variant":s,className:i,...t}),e[7]=s,e[8]=t,e[9]=i,e[10]=l):l=e[10],l}function U(n){const e=x.c(8);let a,t;e[0]!==n?({className:a,...t}=n,e[0]=n,e[1]=a,e[2]=t):(a=e[1],t=e[2]);let r;e[3]!==a?(r=g("flex-1 outline-none h-full",a),e[3]=a,e[4]=r):r=e[4];let s;return e[5]!==t||e[6]!==r?(s=d.jsx(H,{"data-slot":"tabs-content",className:r,...t}),e[5]=t,e[6]=r,e[7]=s):s=e[7],s}export{U as T,O as a,Q as b,q as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o,m as l,j as n}from"./index-
|
|
1
|
+
import{c as o,m as l,j as n}from"./index-Bfy-Fe7V.js";function c(s){const e=o.c(8);let i,r;e[0]!==s?({className:i,...r}=s,e[0]=s,e[1]=i,e[2]=r):(i=e[1],r=e[2]);let t;e[3]!==i?(t=l("placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/20 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive flex field-sizing-content min-h-16 w-full rounded-xl bg-background dark:bg-input/30 px-3 py-2 text-sm transition-[color,box-shadow] outline-none focus-visible:ring-[2px] card-shadow disabled:cursor-not-allowed disabled:opacity-50",i),e[3]=i,e[4]=t):t=e[4];let a;return e[5]!==r||e[6]!==t?(a=n.jsx("textarea",{"data-slot":"textarea",className:t,...r}),e[5]=r,e[6]=t,e[7]=a):a=e[7],a}export{c as T};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as x,aK as b,j as c,aH as m,aN as k,aw as p,bK as M,bL as T,aM as S,bJ as A,aJ as F,bC as $,c as C,m as P}from"./index-
|
|
1
|
+
import{r as x,aK as b,j as c,aH as m,aN as k,aw as p,bK as M,bL as T,aM as S,bJ as A,aJ as F,bC as $,c as C,m as P}from"./index-Bfy-Fe7V.js";var j="Toggle",_=x.forwardRef((a,e)=>{const{pressed:l,defaultPressed:s,onPressedChange:n,...r}=a,[t,o]=b({prop:l,onChange:n,defaultProp:s??!1,caller:j});return c.jsx(m.button,{type:"button","aria-pressed":t,"data-state":t?"on":"off","data-disabled":a.disabled?"":void 0,...r,ref:e,onClick:k(a.onClick,()=>{a.disabled||o(!t)})})});_.displayName=j;var v="ToggleGroup",[w]=F(v,[T]),I=T(),h=p.forwardRef((a,e)=>{const{type:l,...s}=a;if(l==="single"){const n=s;return c.jsx(D,{...n,ref:e})}if(l==="multiple"){const n=s;return c.jsx(B,{...n,ref:e})}throw new Error(`Missing prop \`type\` expected on \`${v}\``)});h.displayName=v;var[z,y]=w(v),D=p.forwardRef((a,e)=>{const{value:l,defaultValue:s,onValueChange:n=()=>{},...r}=a,[t,o]=b({prop:l,defaultProp:s??"",onChange:n,caller:v});return c.jsx(z,{scope:a.__scopeToggleGroup,type:"single",value:p.useMemo(()=>t?[t]:[],[t]),onItemActivate:o,onItemDeactivate:p.useCallback(()=>o(""),[o]),children:c.jsx(R,{...r,ref:e})})}),B=p.forwardRef((a,e)=>{const{value:l,defaultValue:s,onValueChange:n=()=>{},...r}=a,[t,o]=b({prop:l,defaultProp:s??[],onChange:n,caller:v}),i=p.useCallback(u=>o((g=[])=>[...g,u]),[o]),d=p.useCallback(u=>o((g=[])=>g.filter(V=>V!==u)),[o]);return c.jsx(z,{scope:a.__scopeToggleGroup,type:"multiple",value:t,onItemActivate:i,onItemDeactivate:d,children:c.jsx(R,{...r,ref:e})})});h.displayName=v;var[H,J]=w(v),R=p.forwardRef((a,e)=>{const{__scopeToggleGroup:l,disabled:s=!1,rovingFocus:n=!0,orientation:r,dir:t,loop:o=!0,...i}=a,d=I(l),u=S(t),g={role:"group",dir:u,...i};return c.jsx(H,{scope:l,rovingFocus:n,disabled:s,children:n?c.jsx(A,{asChild:!0,...d,orientation:r,dir:u,loop:o,children:c.jsx(m.div,{...g,ref:e})}):c.jsx(m.div,{...g,ref:e})})}),f="ToggleGroupItem",N=p.forwardRef((a,e)=>{const l=y(f,a.__scopeToggleGroup),s=J(f,a.__scopeToggleGroup),n=I(a.__scopeToggleGroup),r=l.value.includes(a.value),t=s.disabled||a.disabled,o={...a,pressed:r,disabled:t},i=p.useRef(null);return s.rovingFocus?c.jsx(M,{asChild:!0,...n,focusable:!t,active:r,ref:i,children:c.jsx(G,{...o,ref:e})}):c.jsx(G,{...o,ref:e})});N.displayName=f;var G=p.forwardRef((a,e)=>{const{__scopeToggleGroup:l,value:s,...n}=a,r=y(f,l),t={role:"radio","aria-checked":a.pressed,"aria-pressed":void 0},o=r.type==="single"?t:void 0;return c.jsx(_,{...o,...n,ref:e,onPressedChange:i=>{i?r.onItemActivate(s):r.onItemDeactivate(s)}})}),K=h,L=N;const O=$("inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/20 focus-visible:ring-[2px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent shadow-xs hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-2 min-w-9",sm:"h-7 px-1.5 min-w-8",lg:"h-10 px-2.5 min-w-10"}},defaultVariants:{variant:"default",size:"default"}}),E=x.createContext({size:"default",variant:"default"});function q(a){const e=C.c(20);let l,s,n,r,t;e[0]!==a?({className:s,variant:t,size:r,children:l,...n}=a,e[0]=a,e[1]=l,e[2]=s,e[3]=n,e[4]=r,e[5]=t):(l=e[1],s=e[2],n=e[3],r=e[4],t=e[5]);let o;e[6]!==s?(o=P("group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",s),e[6]=s,e[7]=o):o=e[7];let i;e[8]!==r||e[9]!==t?(i={variant:t,size:r},e[8]=r,e[9]=t,e[10]=i):i=e[10];let d;e[11]!==l||e[12]!==i?(d=c.jsx(E.Provider,{value:i,children:l}),e[11]=l,e[12]=i,e[13]=d):d=e[13];let u;return e[14]!==n||e[15]!==r||e[16]!==o||e[17]!==d||e[18]!==t?(u=c.jsx(K,{"data-slot":"toggle-group","data-variant":t,"data-size":r,className:o,...n,children:d}),e[14]=n,e[15]=r,e[16]=o,e[17]=d,e[18]=t,e[19]=u):u=e[19],u}function Q(a){const e=C.c(18);let l,s,n,r,t;e[0]!==a?({className:s,children:l,variant:t,size:r,...n}=a,e[0]=a,e[1]=l,e[2]=s,e[3]=n,e[4]=r,e[5]=t):(l=e[1],s=e[2],n=e[3],r=e[4],t=e[5]);const o=x.useContext(E),i=o.variant||t,d=o.size||r;let u;e[6]!==s||e[7]!==o.size||e[8]!==o.variant||e[9]!==r||e[10]!==t?(u=P(O({variant:o.variant||t,size:o.size||r}),"min-w-0 flex-1 shrink-0 rounded-none shadow-none first:rounded-l-md last:rounded-r-md focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l-0 data-[variant=outline]:first:border-l",s),e[6]=s,e[7]=o.size,e[8]=o.variant,e[9]=r,e[10]=t,e[11]=u):u=e[11];let g;return e[12]!==l||e[13]!==n||e[14]!==i||e[15]!==d||e[16]!==u?(g=c.jsx(L,{"data-slot":"toggle-group-item","data-variant":i,"data-size":d,className:u,...n,children:l}),e[12]=l,e[13]=n,e[14]=i,e[15]=d,e[16]=u,e[17]=g):g=e[17],g}export{Q as T,q as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,m as T,j as i,r as g,b as j,f as k,ae as p,L as N,aQ as y,b6 as L}from"./index-
|
|
1
|
+
import{c as u,m as T,j as i,r as g,b as j,f as k,ae as p,L as N,aQ as y,b6 as L}from"./index-Bfy-Fe7V.js";function B(t){const e=u.c(14);let l,s,o,n,r;e[0]!==t?({active:l,className:s,ref:n,type:r,...o}=t,e[0]=t,e[1]=l,e[2]=s,e[3]=o,e[4]=n,e[5]=r):(l=e[1],s=e[2],o=e[3],n=e[4],r=e[5]);const c=r===void 0?"button":r,a=l?"bg-sidebar-accent text-sidebar-foreground":"text-sidebar-foreground/60 hover:bg-sidebar-accent hover:text-sidebar-foreground";let f;e[6]!==s||e[7]!==a?(f=T("relative flex size-10 md:size-7 shrink-0 items-center justify-center rounded-md transition-colors","max-md:[&_svg]:size-5","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",a,s),e[6]=s,e[7]=a,e[8]=f):f=e[8];let b;return e[9]!==o||e[10]!==n||e[11]!==f||e[12]!==c?(b=i.jsx("button",{ref:n,type:c,className:f,...o}),e[9]=o,e[10]=n,e[11]=f,e[12]=c,e[13]=b):b=e[13],b}const S=g.createContext(null);function x(){const t=g.use(S);if(!t)throw new Error("Toolbar.* must be used inside <Toolbar>");return t}function v(t){const e=u.c(8),{children:l}=t,[s,o]=g.useState(null),[n,r]=g.useState(null),[c,a]=g.useState(null),[f,b]=g.useState(null);let d;e[0]!==c||e[1]!==f||e[2]!==n||e[3]!==s?(d={togglesEl:s,setTogglesEl:o,tabsEl:n,setTabsEl:r,centerEl:c,setCenterEl:a,rightEl:f,setRightEl:b},e[0]=c,e[1]=f,e[2]=n,e[3]=s,e[4]=d):d=e[4];let h;return e[5]!==l||e[6]!==d?(h=i.jsx(S,{value:d,children:l}),e[5]=l,e[6]=d,e[7]=h):h=e[7],h}function m(t){const e=u.c(2),{children:l}=t;let s;return e[0]!==l?(s=i.jsx(v,{children:i.jsx("div",{className:"flex flex-col h-full min-h-0",children:l})}),e[0]=l,e[1]=s):s=e[1],s}function $(t){const e=u.c(10);let l,s,o;e[0]!==t?({children:l,className:s,...o}=t,e[0]=t,e[1]=l,e[2]=s,e[3]=o):(l=e[1],s=e[2],o=e[3]);let n;e[4]!==s?(n=T("relative z-10 shrink-0 grid grid-cols-3 items-center pl-1 pr-2 h-12 bg-sidebar",s),e[4]=s,e[5]=n):n=e[5];let r;return e[6]!==l||e[7]!==o||e[8]!==n?(r=i.jsx("div",{className:n,...o,children:l}),e[6]=l,e[7]=o,e[8]=n,e[9]=r):r=e[9],r}function C(t){const e=u.c(2),{children:l}=t;let s;return e[0]!==l?(s=i.jsx("div",{className:"flex items-center gap-0.5 min-w-0 justify-self-start",children:l}),e[0]=l,e[1]=s):s=e[1],s}function R(t){const e=u.c(2),{children:l}=t;let s;return e[0]!==l?(s=i.jsx("div",{className:"flex items-center justify-end gap-0.5 min-w-0 justify-self-end",children:l}),e[0]=l,e[1]=s):s=e[1],s}function _(){const t=u.c(13),e=j(),s=y().logo??L,o=typeof s=="string"?s:s.light,n=typeof s=="string"?s:s.dark;let r;t[0]!==e?(r=e("agentShellLayout.toolbar.logo"),t[0]=e,t[1]=r):r=t[1];let c;t[2]!==o||t[3]!==r?(c=i.jsx("img",{src:o,alt:r,className:"size-6 object-contain dark:hidden"}),t[2]=o,t[3]=r,t[4]=c):c=t[4];let a;t[5]!==e?(a=e("agentShellLayout.toolbar.logo"),t[5]=e,t[6]=a):a=t[6];let f;t[7]!==n||t[8]!==a?(f=i.jsx("img",{src:n,alt:a,className:"size-6 object-contain hidden dark:block"}),t[7]=n,t[8]=a,t[9]=f):f=t[9];let b;return t[10]!==c||t[11]!==f?(b=i.jsxs("span",{className:"flex items-center shrink-0 px-2",children:[c,f]}),t[10]=c,t[11]=f,t[12]=b):b=t[12],b}function E(){const t=u.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=i.jsx(g.Suspense,{fallback:i.jsx("span",{className:"shrink-0 size-6 mx-2"}),children:i.jsx(_,{})}),t[0]=e):e=t[0],e}function z(){const t=u.c(12),e=j();let l;t[0]===Symbol.for("react.memo_cache_sentinel")?(l={from:"/shell/$org"},t[0]=l):l=t[0];const{org:s}=k(l);let o;t[1]!==s?(o={org:s},t[1]=s,t[2]=o):o=t[2];let n;t[3]!==e?(n=e("agentShellLayout.toolbar.backToHome"),t[3]=e,t[4]=n):n=t[4];let r;t[5]!==e?(r=e("agentShellLayout.toolbar.backToHome"),t[5]=e,t[6]=r):r=t[6];let c;t[7]===Symbol.for("react.memo_cache_sentinel")?(c=i.jsx(E,{}),t[7]=c):c=t[7];let a;return t[8]!==o||t[9]!==n||t[10]!==r?(a=i.jsx(N,{to:"/$org",params:o,"aria-label":n,title:r,className:"flex items-center shrink-0 cursor-pointer pl-1",children:c}),t[8]=o,t[9]=n,t[10]=r,t[11]=a):a=t[11],a}function P(){const t=u.c(2),{setCenterEl:e}=x();let l;return t[0]!==e?(l=i.jsx("div",{ref:e,className:"min-w-0 flex items-center justify-center gap-2"}),t[0]=e,t[1]=l):l=t[1],l}function w(t){const e=u.c(3),{children:l}=t,{centerEl:s}=x();if(!s)return null;let o;return e[0]!==s||e[1]!==l?(o=p.createPortal(l,s),e[0]=s,e[1]=l,e[2]=o):o=e[2],o}function H(t){const e=u.c(5),{className:l}=t,{setTabsEl:s}=x();let o;e[0]!==l?(o=T("shrink-0 flex items-center",l),e[0]=l,e[1]=o):o=e[1];let n;return e[2]!==s||e[3]!==o?(n=i.jsx("div",{ref:s,className:o}),e[2]=s,e[3]=o,e[4]=n):n=e[4],n}function I(t){const e=u.c(3),{children:l}=t,{tabsEl:s}=x();if(!s)return null;let o;return e[0]!==l||e[1]!==s?(o=p.createPortal(l,s),e[0]=l,e[1]=s,e[2]=o):o=e[2],o}function D(t){const e=u.c(5),{className:l}=t,{setTogglesEl:s}=x();let o;e[0]!==l?(o=T("contents",l),e[0]=l,e[1]=o):o=e[1];let n;return e[2]!==s||e[3]!==o?(n=i.jsx("div",{ref:s,className:o}),e[2]=s,e[3]=o,e[4]=n):n=e[4],n}function O(){const t=u.c(2),{setRightEl:e}=x();let l;return t[0]!==e?(l=i.jsx("div",{ref:e,className:"flex items-center justify-end gap-0.5 shrink-0"}),t[0]=e,t[1]=l):l=t[1],l}m.Provider=v;m.Header=$;m.LeftColumn=C;m.RightColumn=R;m.Logo=E;m.LogoLink=z;m.CenterSlot=P;m.Center=w;m.TabsSlot=H;m.Tabs=I;m.TogglesSlot=D;m.RightSlot=O;export{B as T,m as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,j as c,aH as I,aO as J,aK as Z,cZ as Q,aL as S,c_ as ee,aN as C,bM as $,c$ as te,d0 as G,d1 as oe,d2 as re,aJ as ne,d3 as se,d4 as ae,c as j,m as ie}from"./index-
|
|
1
|
+
import{r as a,j as c,aH as I,aO as J,aK as Z,cZ as Q,aL as S,c_ as ee,aN as C,bM as $,c$ as te,d0 as G,d1 as oe,d2 as re,aJ as ne,d3 as se,d4 as ae,c as j,m as ie}from"./index-Bfy-Fe7V.js";var le=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),ce="VisuallyHidden",V=a.forwardRef((o,e)=>c.jsx(I.span,{...o,ref:e,style:{...le,...o.style}}));V.displayName=ce;var ue=V,[O]=ne("Tooltip",[G]),D=G(),z="TooltipProvider",de=700,L="tooltip.open",[pe,k]=O(z),F=o=>{const{__scopeTooltip:e,delayDuration:t=de,skipDelayDuration:r=300,disableHoverableContent:n=!1,children:s}=o,l=a.useRef(!0),d=a.useRef(!1),i=a.useRef(0);return a.useEffect(()=>{const p=i.current;return()=>window.clearTimeout(p)},[]),c.jsx(pe,{scope:e,isOpenDelayedRef:l,delayDuration:t,onOpen:a.useCallback(()=>{window.clearTimeout(i.current),l.current=!1},[]),onClose:a.useCallback(()=>{window.clearTimeout(i.current),i.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:d,onPointerInTransitChange:a.useCallback(p=>{d.current=p},[]),disableHoverableContent:n,children:s})};F.displayName=z;var R="Tooltip",[fe,_]=O(R),Y=o=>{const{__scopeTooltip:e,children:t,open:r,defaultOpen:n,onOpenChange:s,disableHoverableContent:l,delayDuration:d}=o,i=k(R,o.__scopeTooltip),p=D(e),[u,v]=a.useState(null),x=J(),f=a.useRef(0),h=l??i.disableHoverableContent,T=d??i.delayDuration,g=a.useRef(!1),[y,m]=Z({prop:r,defaultProp:n??!1,onChange:H=>{H?(i.onOpen(),document.dispatchEvent(new CustomEvent(L))):i.onClose(),s?.(H)},caller:R}),w=a.useMemo(()=>y?g.current?"delayed-open":"instant-open":"closed",[y]),E=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,g.current=!1,m(!0)},[m]),P=a.useCallback(()=>{window.clearTimeout(f.current),f.current=0,m(!1)},[m]),M=a.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>{g.current=!0,m(!0),f.current=0},T)},[T,m]);return a.useEffect(()=>()=>{f.current&&(window.clearTimeout(f.current),f.current=0)},[]),c.jsx(Q,{...p,children:c.jsx(fe,{scope:e,contentId:x,open:y,stateAttribute:w,trigger:u,onTriggerChange:v,onTriggerEnter:a.useCallback(()=>{i.isOpenDelayedRef.current?M():E()},[i.isOpenDelayedRef,M,E]),onTriggerLeave:a.useCallback(()=>{h?P():(window.clearTimeout(f.current),f.current=0)},[P,h]),onOpen:E,onClose:P,disableHoverableContent:h,children:t})})};Y.displayName=R;var A="TooltipTrigger",B=a.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=_(A,t),s=k(A,t),l=D(t),d=a.useRef(null),i=S(e,d,n.onTriggerChange),p=a.useRef(!1),u=a.useRef(!1),v=a.useCallback(()=>p.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),c.jsx(ee,{asChild:!0,...l,children:c.jsx(I.button,{"aria-describedby":n.open?n.contentId:void 0,"data-state":n.stateAttribute,...r,ref:i,onPointerMove:C(o.onPointerMove,x=>{x.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(n.onTriggerEnter(),u.current=!0)}),onPointerLeave:C(o.onPointerLeave,()=>{n.onTriggerLeave(),u.current=!1}),onPointerDown:C(o.onPointerDown,()=>{n.open&&n.onClose(),p.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:C(o.onFocus,()=>{p.current||n.onOpen()}),onBlur:C(o.onBlur,n.onClose),onClick:C(o.onClick,n.onClose)})})});B.displayName=A;var N="TooltipPortal",[ve,xe]=O(N,{forceMount:void 0}),U=o=>{const{__scopeTooltip:e,forceMount:t,children:r,container:n}=o,s=_(N,e);return c.jsx(ve,{scope:e,forceMount:t,children:c.jsx($,{present:t||s.open,children:c.jsx(te,{asChild:!0,container:n,children:r})})})};U.displayName=N;var b="TooltipContent",q=a.forwardRef((o,e)=>{const t=xe(b,o.__scopeTooltip),{forceMount:r=t.forceMount,side:n="top",...s}=o,l=_(b,o.__scopeTooltip);return c.jsx($,{present:r||l.open,children:l.disableHoverableContent?c.jsx(K,{side:n,...s,ref:e}):c.jsx(he,{side:n,...s,ref:e})})}),he=a.forwardRef((o,e)=>{const t=_(b,o.__scopeTooltip),r=k(b,o.__scopeTooltip),n=a.useRef(null),s=S(e,n),[l,d]=a.useState(null),{trigger:i,onClose:p}=t,u=n.current,{onPointerInTransitChange:v}=r,x=a.useCallback(()=>{d(null),v(!1)},[v]),f=a.useCallback((h,T)=>{const g=h.currentTarget,y={x:h.clientX,y:h.clientY},m=ye(y,g.getBoundingClientRect()),w=Ce(y,m),E=be(T.getBoundingClientRect()),P=Ee([...w,...E]);d(P),v(!0)},[v]);return a.useEffect(()=>()=>x(),[x]),a.useEffect(()=>{if(i&&u){const h=g=>f(g,u),T=g=>f(g,i);return i.addEventListener("pointerleave",h),u.addEventListener("pointerleave",T),()=>{i.removeEventListener("pointerleave",h),u.removeEventListener("pointerleave",T)}}},[i,u,f,x]),a.useEffect(()=>{if(l){const h=T=>{const g=T.target,y={x:T.clientX,y:T.clientY},m=i?.contains(g)||u?.contains(g),w=!we(y,l);m?x():w&&(x(),p())};return document.addEventListener("pointermove",h),()=>document.removeEventListener("pointermove",h)}},[i,u,l,p,x]),c.jsx(K,{...o,ref:s})}),[ge,Te]=O(R,{isInside:!1}),me=se("TooltipContent"),K=a.forwardRef((o,e)=>{const{__scopeTooltip:t,children:r,"aria-label":n,onEscapeKeyDown:s,onPointerDownOutside:l,...d}=o,i=_(b,t),p=D(t),{onClose:u}=i;return a.useEffect(()=>(document.addEventListener(L,u),()=>document.removeEventListener(L,u)),[u]),a.useEffect(()=>{if(i.trigger){const v=x=>{x.target?.contains(i.trigger)&&u()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[i.trigger,u]),c.jsx(oe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:v=>v.preventDefault(),onDismiss:u,children:c.jsxs(re,{"data-state":i.stateAttribute,...p,...d,ref:e,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(me,{children:r}),c.jsx(ge,{scope:t,isInside:!0,children:c.jsx(ue,{id:i.contentId,role:"tooltip",children:n||r})})]})})});q.displayName=b;var W="TooltipArrow",X=a.forwardRef((o,e)=>{const{__scopeTooltip:t,...r}=o,n=D(t);return Te(W,t).isInside?null:c.jsx(ae,{...n,...r,ref:e})});X.displayName=W;function ye(o,e){const t=Math.abs(e.top-o.y),r=Math.abs(e.bottom-o.y),n=Math.abs(e.right-o.x),s=Math.abs(e.left-o.x);switch(Math.min(t,r,n,s)){case s:return"left";case n:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Ce(o,e,t=5){const r=[];switch(e){case"top":r.push({x:o.x-t,y:o.y+t},{x:o.x+t,y:o.y+t});break;case"bottom":r.push({x:o.x-t,y:o.y-t},{x:o.x+t,y:o.y-t});break;case"left":r.push({x:o.x+t,y:o.y-t},{x:o.x+t,y:o.y+t});break;case"right":r.push({x:o.x-t,y:o.y-t},{x:o.x-t,y:o.y+t});break}return r}function be(o){const{top:e,right:t,bottom:r,left:n}=o;return[{x:n,y:e},{x:t,y:e},{x:t,y:r},{x:n,y:r}]}function we(o,e){const{x:t,y:r}=o;let n=!1;for(let s=0,l=e.length-1;s<e.length;l=s++){const d=e[s],i=e[l],p=d.x,u=d.y,v=i.x,x=i.y;u>r!=x>r&&t<(v-p)*(r-u)/(x-u)+p&&(n=!n)}return n}function Ee(o){const e=o.slice();return e.sort((t,r)=>t.x<r.x?-1:t.x>r.x?1:t.y<r.y?-1:t.y>r.y?1:0),Pe(e)}function Pe(o){if(o.length<=1)return o.slice();const e=[];for(let r=0;r<o.length;r++){const n=o[r];for(;e.length>=2;){const s=e[e.length-1],l=e[e.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))e.pop();else break}e.push(n)}e.pop();const t=[];for(let r=o.length-1;r>=0;r--){const n=o[r];for(;t.length>=2;){const s=t[t.length-1],l=t[t.length-2];if((s.x-l.x)*(n.y-l.y)>=(s.y-l.y)*(n.x-l.x))t.pop();else break}t.push(n)}return t.pop(),e.length===1&&t.length===1&&e[0].x===t[0].x&&e[0].y===t[0].y?e:e.concat(t)}var Re=F,_e=Y,je=B,Oe=U,De=q,Le=X;function Ae(o){const e=j.c(6);let t,r;e[0]!==o?({delayDuration:r,...t}=o,e[0]=o,e[1]=t,e[2]=r):(t=e[1],r=e[2]);const n=r===void 0?0:r;let s;return e[3]!==n||e[4]!==t?(s=c.jsx(Re,{"data-slot":"tooltip-provider",delayDuration:n,...t}),e[3]=n,e[4]=t,e[5]=s):s=e[5],s}function Ne(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=c.jsx(Ae,{children:c.jsx(_e,{"data-slot":"tooltip",...t})}),e[2]=t,e[3]=r):r=e[3],r}function Me(o){const e=j.c(4);let t;e[0]!==o?({...t}=o,e[0]=o,e[1]=t):t=e[1];let r;return e[2]!==t?(r=c.jsx(je,{"data-slot":"tooltip-trigger",...t}),e[2]=t,e[3]=r):r=e[3],r}function He(o){const e=j.c(13);let t,r,n,s;e[0]!==o?({className:r,sideOffset:s,children:t,...n}=o,e[0]=o,e[1]=t,e[2]=r,e[3]=n,e[4]=s):(t=e[1],r=e[2],n=e[3],s=e[4]);const l=s===void 0?0:s;let d;e[5]!==r?(d=ie("notranslate bg-foreground text-background animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",r),e[5]=r,e[6]=d):d=e[6];let i;e[7]===Symbol.for("react.memo_cache_sentinel")?(i=c.jsx(Le,{className:"bg-foreground fill-foreground z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]"}),e[7]=i):i=e[7];let p;return e[8]!==t||e[9]!==n||e[10]!==l||e[11]!==d?(p=c.jsx(Oe,{children:c.jsxs(De,{"data-slot":"tooltip-content",sideOffset:l,translate:"no",className:d,...n,children:[t,i]})}),e[8]=t,e[9]=n,e[10]=l,e[11]=d,e[12]=p):p=e[12],p}export{Me as T,le as V,He as a,Ae as b,Ne as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{q as _,T as l}from"./index-
|
|
1
|
+
import{q as _,T as l}from"./index-Bfy-Fe7V.js";let s=!1;const p="report:auth-attempt:",f=3600*1e3;function h(e){const t=new URLSearchParams(e),n=t.get("share_id")||void 0,o=t.get("email_run_id")||void 0,r=t.get("utm_source")||void 0,u=t.get("utm_medium")||void 0,a=t.get("utm_campaign")||void 0;return{entrypoint:n||r==="share"?"share":o||t.has("d")||r==="email"?"email":r?"campaign":"direct",...n?{share_id:n}:{},...o?{email_run_id:o}:{},...r?{utm_source:r}:{},...u?{utm_medium:u}:{},...a?{utm_campaign:a}:{}}}function c(){return h(typeof window>"u"?"":window.location.search)}function i(e){return`${p}${e}`}function g(){try{return globalThis.crypto.randomUUID()}catch{return`${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`}}function d(e){try{const t=window.sessionStorage.getItem(i(e));if(!t)return null;const n=JSON.parse(t);return n.domain!==e||typeof n.attempt_id!="string"||typeof n.gate_shown_at!="number"||Date.now()-n.gate_shown_at>f?(window.sessionStorage.removeItem(i(e)),null):n}catch{return null}}function m(e){try{window.sessionStorage.setItem(i(e.domain),JSON.stringify(e))}catch{}}function w(e){const t=d(e);if(t)return t;const n={attempt_id:g(),domain:e,gate_shown_at:Date.now(),...c()};return m(n),n}function y(e,t){const n={...w(e),...t};return m(n),n}function T(e){return{auth_attempt_id:e.attempt_id,entrypoint:e.entrypoint,...e.share_id?{share_id:e.share_id}:{},...e.email_run_id?{email_run_id:e.email_run_id}:{},...e.utm_source?{utm_source:e.utm_source}:{},...e.utm_medium?{utm_medium:e.utm_medium}:{},...e.utm_campaign?{utm_campaign:e.utm_campaign}:{}}}function R(e){const t=d(e);if(!t)return null;try{window.sessionStorage.removeItem(i(e))}catch{}return t}function S(e){const t=e.toLowerCase();return t==="invalid_email"?"invalid_email":t.includes("429")||t.includes("rate limit")?"rate_limited":t.includes("otp")||t.includes("verification code")||t.includes("invalid code")||t.includes("expired code")||t.includes("código")||t.includes("codigo")?"invalid_or_expired_code":t.includes("401")||t.includes("unauthorized")?"invalid_credentials":t.includes("409")||t.includes("already exists")?"account_exists":t.includes("network")||t.includes("fetch")?"network":t.includes("cancel")||t.includes("closed")?"cancelled":"unknown"}function I(e){s=e}function M(e,t,n){if(_())try{l.capture(e,{...c(),...t,...s?{report_preview:"reviewer"}:{}},n)}catch{}}export{S as a,w as b,M as c,T as d,R as e,h as r,I as s,y as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as p,F as m,K as h,n as y,x as R}from"./index-
|
|
1
|
+
import{c as p,F as m,K as h,n as y,x as R}from"./index-Bfy-Fe7V.js";import{u as S,c as D}from"./studio-tools-BBDHxwPb.js";const P=["deco","anthropic","openrouter","llmapi","google","openai-compatible"],M=new Set(P);function O(o){return M.has(o)}const A={anthropic:["claude-haiku-4-5","claude-haiku"],openrouter:["qwen/qwen3.5-flash","anthropic/claude-haiku-4.5","anthropic/claude-haiku","google/gemini-3-flash"],deco:["qwen/qwen3.5-flash","anthropic/claude-haiku"],llmapi:["claude-haiku-4-5","claude-haiku","gpt-4o-mini"],google:["gemini-2.5-flash","gemini-3-flash"]},v={anthropic:["claude-sonnet-5","claude-sonnet"],openrouter:["anthropic/claude-sonnet-5","anthropic/claude-sonnet","anthropic/claude-opus-4.8","google/gemini-3-pro"],deco:["anthropic/claude-sonnet-5","anthropic/claude-sonnet","anthropic/claude"],llmapi:["claude-sonnet-4-6","claude-sonnet"],google:["gemini-3-pro","gemini-3-flash"]},L={anthropic:["claude-opus-4-8","claude-sonnet-5","claude-sonnet","claude-fable-5"],openrouter:["anthropic/claude-opus-4.8:extended","anthropic/claude-opus-4.8","anthropic/claude-sonnet-5:extended","anthropic/claude-sonnet-5","google/gemini-3-pro","anthropic/claude-fable-5"],deco:["anthropic/claude-opus","anthropic/claude-sonnet-4.6","anthropic/claude-sonnet","anthropic/claude-fable"],llmapi:["claude-opus-4-8","claude-opus","claude-sonnet-4-6"],google:["gemini-3-pro"]},T={openrouter:["openai/gpt-image-1","google/gemini-2.0-flash-image"],deco:["openai/gpt-image-1","google/gemini-2.0-flash-image"],llmapi:["gemini-2.5-flash-image","gpt-image-1"],google:["gemini-2.0-flash-image"]},x={openrouter:["perplexity/sonar","perplexity/sonar-pro"],deco:["perplexity/sonar","perplexity/sonar-pro"]},K={openrouter:["perplexity/deep-research","perplexity/sonar-pro"],deco:["perplexity/deep-research","perplexity/sonar-pro"]};function _(o){return o.toLowerCase().replace(/[^a-z0-9]/g,"")}function w(o){return _(o).includes("deepresearch")}const q=["sonar","searchpreview","online"];function I(o){const e=_(o);return e.includes("deepresearch")?!1:q.some(t=>e.includes(t))}function C(o){return o.asyncResearch!==!0&&I(o.modelId)}function F(o){return o.asyncResearch===!0||w(o.modelId)||I(o.modelId)}function u(o,e,t,n){for(const i of t){const s=o.find(a=>a.modelId===i);if(s)return{keyId:e,modelId:s.modelId,title:s.title}}for(const i of t){const s=o.find(a=>a.modelId.includes(i));if(s)return{keyId:e,modelId:s.modelId,title:s.title}}if(n){const i=o.find(n);if(i)return{keyId:e,modelId:i.modelId,title:i.title}}return null}function b(o,e){const t={chat:{fast:null,smart:null,thinking:null},image:null,webSearch:null,deepResearch:null};for(const n of o){const i=e[n.id]??[],s=n.providerId;t.chat.fast||(t.chat.fast=u(i,n.id,A[s]??[])),t.chat.smart||(t.chat.smart=u(i,n.id,v[s]??[])),t.chat.thinking||(t.chat.thinking=u(i,n.id,L[s]??[])),t.image||(t.image=u(i,n.id,T[s]??[],a=>a.capabilities?.includes("image")===!0)),t.webSearch||(t.webSearch=u(i,n.id,x[s]??[],C)),t.deepResearch||(t.deepResearch=u(i,n.id,K[s]??[],F))}return t}function H(o,e){return{queryKey:h.aiProviderKeys(e),staleTime:6e4,queryFn:async()=>await D(o,"AI_PROVIDER_KEY_LIST",{})}}function z(){const o=p.c(7),{org:e}=m(),t=S();let n;o[0]!==e.id?(n=h.aiProviders(e.id),o[0]=e.id,o[1]=n):n=o[1];let i;o[2]!==t?(i=async()=>await t.call("AI_PROVIDERS_LIST",{}),o[2]=t,o[3]=i):i=o[3];let s;o[4]!==n||o[5]!==i?(s={queryKey:n,staleTime:1/0,queryFn:i},o[4]=n,o[5]=i,o[6]=s):s=o[6];const{data:a}=R(s);return a}function N(){const o=p.c(5),{org:e}=m();let t;o[0]!==e.id||o[1]!==e.slug?(t=H(e.slug,e.id),o[0]=e.id,o[1]=e.slug,o[2]=t):t=o[2];const{data:n}=R(t);let i;return o[3]!==n?.keys?(i=n?.keys??[],o[3]=n?.keys,o[4]=i):i=o[4],i}function B(){const o=p.c(2),e=N();let t;return o[0]!==e?(t=e.filter(Q),o[0]=e,o[1]=t):t=o[1],t}function Q(o){return O(o.providerId)}function E(o){const e=p.c(15),{org:t}=m(),n=S();let i;e[0]!==o||e[1]!==t.id?(i=h.aiProviderModels(t.id,o??""),e[0]=o,e[1]=t.id,e[2]=i):i=e[2];const s=!!o;let a;e[3]!==o||e[4]!==n?(a=async()=>await n.call("AI_PROVIDERS_LIST_MODELS",{keyId:o??""}),e[3]=o,e[4]=n,e[5]=a):a=e[5];let r;e[6]!==i||e[7]!==s||e[8]!==a?(r={queryKey:i,enabled:s,staleTime:6e4,queryFn:a},e[6]=i,e[7]=s,e[8]=a,e[9]=r):r=e[9];const{data:l,isLoading:c}=y(r);let d;e[10]!==l?.models?(d=l?.models??[],e[10]=l?.models,e[11]=d):d=e[11];const g=!!o&&c;let f;return e[12]!==d||e[13]!==g?(f={models:d,isLoading:g},e[12]=d,e[13]=g,e[14]=f):f=e[14],f}function G(o){const e=p.c(8),t=o[0],n=o[1],i=o[2],{models:s}=E(t?.id),{models:a}=E(n?.id),{models:r}=E(i?.id);let l;if(e[0]!==t||e[1]!==n||e[2]!==i||e[3]!==o||e[4]!==s||e[5]!==a||e[6]!==r){const c={};t?.id&&(c[t.id]=s),n?.id&&(c[n.id]=a),i?.id&&(c[i.id]=r),l=b(o,c),e[0]=t,e[1]=n,e[2]=i,e[3]=o,e[4]=s,e[5]=a,e[6]=r,e[7]=l}else l=e[7];return l}function Y(o){const e=p.c(11),{org:t}=m(),n=S();let i;e[0]!==o||e[1]!==t.id?(i=h.aiProviderModels(t.id,o),e[0]=o,e[1]=t.id,e[2]=i):i=e[2];let s;e[3]!==o||e[4]!==n?(s=async()=>await n.call("AI_PROVIDERS_LIST_MODELS",{keyId:o}),e[3]=o,e[4]=n,e[5]=s):s=e[5];let a;e[6]!==i||e[7]!==s?(a={queryKey:i,staleTime:6e4,queryFn:s},e[6]=i,e[7]=s,e[8]=a):a=e[8];const{data:r}=R(a);let l;return e[9]!==r?.models?(l=r?.models??[],e[9]=r?.models,e[10]=l):l=e[10],l}export{G as a,E as b,F as c,N as d,O as e,z as f,Y as g,C as i,b as p,B as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as U,F as q,K as T,n as I,o as x,e as y,t as m}from"./index-
|
|
1
|
+
import{c as U,F as q,K as T,n as I,o as x,e as y,t as m}from"./index-Bfy-Fe7V.js";import{S as z,u as J}from"./use-mcp-client-CMZDCFwV.js";import{u as Q}from"./studio-tools-BBDHxwPb.js";function V(t){if(t.paramsSchema&&typeof t.paramsSchema=="object")return t;const e={};if(Array.isArray(t.params))for(const s of t.params)e[s.name]={type:s.type,description:s.description,enum:s.enum};else t.params&&typeof t.params=="object"&&Object.assign(e,t.params);return{type:t.type,description:t.description,paramsSchema:e}}function st(t){const e=U.c(12),{org:s}=q(),l=t??z;let a;e[0]!==s.id||e[1]!==s.slug||e[2]!==l?(a={connectionId:l,orgId:s.id,orgSlug:s.slug},e[0]=s.id,e[1]=s.slug,e[2]=l,e[3]=a):a=e[3];const i=J(a);let n;e[4]!==t?(n=T.toolCall(t??"","TRIGGER_LIST",""),e[4]=t,e[5]=n):n=e[5];let o;e[6]!==i?(o=async()=>{const d=await i.callTool({name:"TRIGGER_LIST",arguments:{}});return(d.structuredContent??d).triggers.map(V)},e[6]=i,e[7]=o):o=e[7];const c=!!t;let r;return e[8]!==n||e[9]!==o||e[10]!==c?(r={queryKey:n,queryFn:o,enabled:c,staleTime:3e4},e[8]=n,e[9]=o,e[10]=c,e[11]=r):r=e[11],I(r)}function it(t){const e=U.c(9),{org:s}=q(),l=Q();let a;e[0]!==s.id||e[1]!==t?(a=T.automations(s.id,t),e[0]=s.id,e[1]=t,e[2]=a):a=e[2];let i;e[3]!==l||e[4]!==t?(i=async()=>(await l.call("AUTOMATION_LIST",t!=null?{virtual_mcp_id:t}:{})).automations,e[3]=l,e[4]=t,e[5]=i):i=e[5];let n;return e[6]!==a||e[7]!==i?(n={queryKey:a,queryFn:i,staleTime:1e4},e[6]=a,e[7]=i,e[8]=n):n=e[8],I(n)}function ot(t){const e=U.c(10),{org:s}=q(),l=Q();let a;e[0]!==t||e[1]!==s.id?(a=T.automation(s.id,t),e[0]=t,e[1]=s.id,e[2]=a):a=e[2];let i;e[3]!==t||e[4]!==l?(i=async()=>(await l.call("AUTOMATION_GET",{id:t})).automation,e[3]=t,e[4]=l,e[5]=i):i=e[5];const n=!!t;let o;return e[6]!==a||e[7]!==i||e[8]!==n?(o={queryKey:a,queryFn:i,enabled:n,staleTime:1e4},e[6]=a,e[7]=i,e[8]=n,e[9]=o):o=e[9],I(o)}function at(t,e){const s=U.c(12),{org:l}=q(),a=Q();let i;s[0]!==t||s[1]!==l.id||s[2]!==e?(i=T.automationRunStats(l.id,t,JSON.stringify(e??{})),s[0]=t,s[1]=l.id,s[2]=e,s[3]=i):i=s[3];let n;s[4]!==t||s[5]!==e||s[6]!==a?(n=async()=>await a.call("AUTOMATION_RUN_STATS",{automation_id:t,...e?.startDate?{startDate:e.startDate}:{},...e?.endDate?{endDate:e.endDate}:{}}),s[4]=t,s[5]=e,s[6]=a,s[7]=n):n=s[7];const o=!!t;let c;return s[8]!==i||s[9]!==n||s[10]!==o?(c={queryKey:i,queryFn:n,enabled:o,staleTime:3e4},s[8]=i,s[9]=n,s[10]=o,s[11]=c):c=s[11],I(c)}function nt(t){return{name:"New Automation",messages:[],models:{tier:"smart"},temperature:.5,active:!0,virtual_mcp_id:t}}function lt(){const t=U.c(64),{org:e}=q(),s=Q(),l=x();let a;t[0]!==e||t[1]!==l?(a=()=>l.invalidateQueries({queryKey:T.automationsAll(e.id)}),t[0]=e,t[1]=l,t[2]=a):a=t[2];const i=a;let n;t[3]!==e||t[4]!==l?(n=u=>l.invalidateQueries({queryKey:T.automation(e.id,u)}),t[3]=e,t[4]=l,t[5]=n):n=t[5];const o=n;let c;t[6]!==s?(c=async u=>await s.call("AUTOMATION_CREATE",u),t[6]=s,t[7]=c):c=t[7];let r;t[8]!==i?(r=()=>{i(),m.success("Automation created successfully")},t[8]=i,t[9]=r):r=t[9];let d;t[10]!==c||t[11]!==r?(d={mutationFn:c,onSuccess:r,onError:X},t[10]=c,t[11]=r,t[12]=d):d=t[12];const D=y(d);let A;t[13]!==s?(A=async u=>await s.call("AUTOMATION_UPDATE",u),t[13]=s,t[14]=A):A=t[14];let p;t[15]!==i||t[16]!==o?(p=(u,f)=>{i(),typeof f.id=="string"&&o(f.id),m.success("Automation updated successfully")},t[15]=i,t[16]=o,t[17]=p):p=t[17];let G;t[18]!==A||t[19]!==p?(G={mutationFn:A,onSuccess:p,onError:W},t[18]=A,t[19]=p,t[20]=G):G=t[20];const j=y(G);let g;t[21]!==s?(g=async u=>await s.call("AUTOMATION_DELETE",{id:u}),t[21]=s,t[22]=g):g=t[22];let _;t[23]!==i||t[24]!==e||t[25]!==l?(_=(u,f)=>{l.removeQueries({queryKey:T.automation(e.id,f)}),i(),m.success("Automation deleted successfully")},t[23]=i,t[24]=e,t[25]=l,t[26]=_):_=t[26];let $;t[27]!==g||t[28]!==_?($={mutationFn:g,onSuccess:_,onError:H},t[27]=g,t[28]=_,t[29]=$):$=t[29];const k=y($);let S;t[30]!==s?(S=async u=>await s.call("AUTOMATION_TRIGGER_ADD",u),t[30]=s,t[31]=S):S=t[31];let E;t[32]!==i||t[33]!==o?(E=u=>{i(),o(u.automation_id)},t[32]=i,t[33]=o,t[34]=E):E=t[34];let K;t[35]!==S||t[36]!==E?(K={mutationFn:S,onSuccess:E},t[35]=S,t[36]=E,t[37]=K):K=t[37];const P=y(K);let O;t[38]!==s?(O=async u=>await s.call("AUTOMATION_TRIGGER_ROTATE_TOKEN",{trigger_id:u.trigger_id}),t[38]=s,t[39]=O):O=t[39];let R;t[40]!==i||t[41]!==o?(R=(u,f)=>{i(),o(f.automation_id)},t[40]=i,t[41]=o,t[42]=R):R=t[42];let C;t[43]!==O||t[44]!==R?(C={mutationFn:O,onSuccess:R},t[43]=O,t[44]=R,t[45]=C):C=t[45];const h=y(C);let F;t[46]!==s?(F=async u=>await s.call("AUTOMATION_TRIGGER_REMOVE",{trigger_id:u.trigger_id}),t[46]=s,t[47]=F):F=t[47];let N;t[48]!==i||t[49]!==o?(N=(u,f)=>{i(),o(f.automation_id)},t[48]=i,t[49]=o,t[50]=N):N=t[50];let b;t[51]!==F||t[52]!==N?(b={mutationFn:F,onSuccess:N},t[51]=F,t[52]=N,t[53]=b):b=t[53];const v=y(b);let L;t[54]!==s?(L={mutationFn:async u=>await s.call("AUTOMATION_RUN",{id:u}),onSuccess:B,onError:Y},t[54]=s,t[55]=L):L=t[55];const w=y(L);let M;return t[56]!==D||t[57]!==k||t[58]!==w||t[59]!==P||t[60]!==v||t[61]!==h||t[62]!==j?(M={create:D,update:j,remove:k,triggerAdd:P,triggerRemove:v,triggerRotateToken:h,run:w},t[56]=D,t[57]=k,t[58]=w,t[59]=P,t[60]=v,t[61]=h,t[62]=j,t[63]=M):M=t[63],M}function Y(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to run automation: ${e}`)}function B(t){t.skipped?m.info(`Automation skipped: ${t.skipped}`):t.error?m.error(`Automation failed: ${t.error}`):m.success("Automation triggered")}function H(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to delete automation: ${e}`)}function W(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to update automation: ${e}`)}function X(t){const e=t instanceof Error?t.message:String(t);m.error(`Failed to create automation: ${e}`)}export{st as a,ot as b,it as c,nt as d,at as e,lt as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as T,r as o}from"./index-
|
|
1
|
+
import{c as T,r as o}from"./index-Bfy-Fe7V.js";const y=700;function x(r,l,_){const e=T.c(7),f=y,[a,m]=o.useState(r),[i,S]=o.useState(r),[A,d]=o.useState(!1),t=o.useRef(null);r!==i&&(S(r),A||m(r));let s;e[0]!==f||e[1]!==l?(s=u=>{m(u),d(!0),t.current&&clearTimeout(t.current),t.current=setTimeout(()=>{t.current=null,d(!1),l(u)},f)},e[0]=f,e[1]=l,e[2]=s):s=e[2];const p=s;let c;e[3]===Symbol.for("react.memo_cache_sentinel")?(c=u=>{m(u),t.current&&clearTimeout(t.current),t.current=null,d(!1)},e[3]=c):c=e[3];const E=c;let n;return e[4]!==a||e[5]!==p?(n=[a,p,E],e[4]=a,e[5]=p,e[6]=n):n=e[6],n}export{x as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as u,F as m,n as g,K as p}from"./index-
|
|
1
|
+
import{c as u,F as m,n as g,K as p}from"./index-Bfy-Fe7V.js";const b=new Set(["owner","admin"]);function d(){const e=u.c(11),{org:r,locator:c}=m();let o;e[0]!==c?(o=p.myCapabilities(c),e[0]=c,e[1]=o):o=e[1];let a;e[2]!==r?(a=async()=>{const f=await fetch(`/api/auth/custom/my-capabilities/${encodeURIComponent(r.slug)}`,{credentials:"include"});if(!f.ok)throw new Error(`my-capabilities request failed: ${f.status}`);return await f.json()},e[2]=r,e[3]=a):a=e[3];let i;e[4]!==o||e[5]!==a?(i={queryKey:o,queryFn:a,staleTime:3e4,retry:2},e[4]=o,e[5]=a,e[6]=i):i=e[6];const{data:s,isLoading:l,isError:n}=g(i);let t;return e[7]!==s||e[8]!==n||e[9]!==l?(t={data:s,loading:l,error:n},e[7]=s,e[8]=n,e[9]=l,e[10]=t):t=e[10],t}function _(e){const r=u.c(8),{data:c,loading:o,error:a}=d();if(o){let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t={granted:!1,loading:!0,error:!1,reason:"loading"},r[0]=t):t=r[0],t}if(a){let t;return r[1]===Symbol.for("react.memo_cache_sentinel")?(t={granted:!1,loading:!1,error:!0,reason:"error"},r[1]=t):t=r[1],t}const i=c?.role??null;if(!i){let t;return r[2]===Symbol.for("react.memo_cache_sentinel")?(t={granted:!1,loading:!1,error:!1,reason:"denied"},r[2]=t):t=r[2],t}if(i==="owner"){let t;return r[3]===Symbol.for("react.memo_cache_sentinel")?(t={granted:!0,loading:!1,error:!1,reason:"owner"},r[3]=t):t=r[3],t}if(i==="admin"){let t;return r[4]===Symbol.for("react.memo_cache_sentinel")?(t={granted:!0,loading:!1,error:!1,reason:"admin"},r[4]=t):t=r[4],t}const s=c?.capabilities?.[e]===!0,l=s?"role":"denied";let n;return r[5]!==s||r[6]!==l?(n={granted:s,loading:!1,error:!1,reason:l},r[5]=s,r[6]=l,r[7]=n):n=r[7],n}function S(){const e=u.c(10),{data:r,loading:c,error:o}=d(),a=r?.role??void 0;let i;e[0]!==a?(i=a?b.has(a):!1,e[0]=a,e[1]=i):i=e[1];const s=i;let l;e[2]!==r?.capabilities?(l=r?.capabilities??{},e[2]=r?.capabilities,e[3]=l):l=e[3];const n=l;let t;return e[4]!==o||e[5]!==s||e[6]!==c||e[7]!==a||e[8]!==n?(t={capabilities:n,loading:c,error:o,isPrivileged:s,roleSlug:a},e[4]=o,e[5]=s,e[6]=c,e[7]=a,e[8]=n,e[9]=t):t=e[9],t}export{S as a,_ as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as a}from"./AlertCircle-
|
|
1
|
+
import{i as a}from"./AlertCircle-BMPkNMGJ.js";import{i as c}from"./CheckCircle-C9SAYY-W.js";import{i as u}from"./DotsVertical-9U5tOb04.js";import{aT as m}from"./agent-icon-D_vHJRnE.js";import{k as b,c as d,r as f}from"./index-Bfy-Fe7V.js";import{a as p}from"./XCircle-DOtlBDfF.js";const g={requires_action:{label:"Needs review",verb:"Waiting for your review",icon:a,iconClassName:"text-warning",labelColor:"text-warning"},failed:{label:"Failed",verb:"Something went wrong",icon:p,iconClassName:"text-destructive",labelColor:"text-destructive"},expired:{label:"Timed out",verb:"Stopped responding",icon:m,iconClassName:"text-warning",labelColor:"text-warning"},in_progress:{label:"Running",verb:"Agent is working",icon:b,iconClassName:"text-primary",labelColor:"text-primary"},completed:{label:"Done",verb:"Completed",icon:c,iconClassName:"text-muted-foreground/50",labelColor:"text-muted-foreground"}},v={label:"Unknown",verb:"Unknown status",icon:u,iconClassName:"text-muted-foreground",labelColor:"text-muted-foreground"};function $(r){return g[r??"completed"]??v}const i=new Map;function s(r){let t=i.get(r);return t||(t={tick:0,subscribers:new Set,intervalId:null},i.set(r,t)),t}function x(r,t){const e=s(r);return e.subscribers.add(t),e.intervalId===null&&(e.intervalId=setInterval(()=>{e.tick+=1;for(const o of e.subscribers)o()},r)),()=>{e.subscribers.delete(t),e.subscribers.size===0&&e.intervalId!==null&&(clearInterval(e.intervalId),e.intervalId=null)}}function y(r){const t=d.c(3),e=r===void 0?6e4:r;let o,n;return t[0]!==e?(o=l=>x(e,l),n=()=>s(e).tick,t[0]=e,t[1]=o,t[2]=n):(o=t[1],n=t[2]),f.useSyncExternalStore(o,n,C)}function C(){return 0}export{g as S,$ as g,y as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as f,F as C,bd as S,e1 as p,bc as T}from"./index-
|
|
1
|
+
import{c as f,F as C,bd as S,e1 as p,bc as T}from"./index-Bfy-Fe7V.js";import{S as I,u as A}from"./use-mcp-client-CMZDCFwV.js";function v(t){const o=f.c(20);let i;o[0]!==t?(i=t===void 0?{}:t,o[0]=t,o[1]=i):i=o[1];const n=i;let l,s,c,d;o[2]!==n?({binding:l,includeVirtual:c,slug:d,...s}=n,o[2]=n,o[3]=l,o[4]=s,o[5]=c,o[6]=d):(l=o[3],s=o[4],c=o[5],d=o[6]);let e;o[7]!==l||o[8]!==s.additionalToolArgs||o[9]!==c||o[10]!==d?(e={...s.additionalToolArgs},l!==void 0&&(e.binding=l),c!==void 0&&(e.include_virtual=c),d!==void 0&&(e.slug=d),o[7]=l,o[8]=s.additionalToolArgs,o[9]=c,o[10]=d,o[11]=e):e=o[11];let g;o[12]!==e?(g=Object.keys(e).length>0?e:void 0,o[12]=e,o[13]=g):g=o[13];let r;o[14]!==s||o[15]!==g?(r={...s,additionalToolArgs:g},o[14]=s,o[15]=g,o[16]=r):r=o[16];const N=r,{org:u}=C();let a;o[17]!==u.id||o[18]!==u.slug?(a={connectionId:I,orgId:u.id,orgSlug:u.slug},o[17]=u.id,o[18]=u.slug,o[19]=a):a=o[19];const O=A(a);return p(u.id,"CONNECTIONS",O,N)}function E(t){const o=f.c(3),{org:i}=C();let n;o[0]!==i.id||o[1]!==i.slug?(n={connectionId:I,orgId:i.id,orgSlug:i.slug},o[0]=i.id,o[1]=i.slug,o[2]=n):n=o[2];const l=A(n);return T(i.id,"CONNECTIONS",t,l)}function _(){const t=f.c(3),{org:o}=C();let i;t[0]!==o.id||t[1]!==o.slug?(i={connectionId:I,orgId:o.id,orgSlug:o.slug},t[0]=o.id,t[1]=o.slug,t[2]=i):i=t[2];const n=A(i);return S(o.id,"CONNECTIONS",n)}export{E as a,_ as b,v as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as i,r as n}from"./index-
|
|
1
|
+
import{c as i,r as n}from"./index-Bfy-Fe7V.js";function p(){const e=i.c(3),[s,a]=n.useState(!1);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=async c=>{await navigator.clipboard.writeText(c),a(!0),setTimeout(()=>a(!1),2e3)},e[0]=t):t=e[0];const r=t;let o;return e[1]!==s?(o={handleCopy:r,copied:s},e[1]=s,e[2]=o):o=e[2],o}export{p as u};
|
package/dist/client/assets/{use-create-virtual-mcp-B0-zziyl.js → use-create-virtual-mcp-BeJ2z9vu.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as g}from"./index-
|
|
1
|
+
import{c as g}from"./index-Bfy-Fe7V.js";import{b as f}from"./use-virtual-mcp-CvLFbjo1.js";import{c as p}from"./use-navigate-to-agent-ChzmcYSy.js";function A(i){const e=g.c(9);let n;e[0]!==i?(n=i===void 0?{}:i,e[0]=i,e[1]=n):n=e[1];const d=n,{navigateOnCreate:u}=d,c=u===void 0?!1:u,t=f(),r=p();let s;e[2]!==t.create||e[3]!==c||e[4]!==r?(s=async()=>{const l=await t.create.mutateAsync({title:"New Agent",description:"AI-driven assistant designed to handle specific tasks",status:"active",connections:[],pinned:!1});return c&&r(l.id,{search:{main:"instructions"}}),{id:l.id,virtualMcp:l}},e[2]=t.create,e[3]=c,e[4]=r,e[5]=s):s=e[5];const o=s;let a;return e[6]!==t.create.isPending||e[7]!==o?(a={createVirtualMCP:o,isCreating:t.create.isPending},e[6]=t.create.isPending,e[7]=o,e[8]=a):a=e[8],a}export{A as u};
|
package/dist/client/assets/{use-debounced-autosave--SMcEphJ.js → use-debounced-autosave-CGiNF_NH.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u}from"./index-
|
|
1
|
+
import{r as u}from"./index-Bfy-Fe7V.js";function l({save:t,delayMs:n=1e3}){const e=u.useRef(t);e.current=t;const r=u.useRef(null),c=()=>{r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{r.current=null,e.current()},n)},o=()=>(r.current&&(clearTimeout(r.current),r.current=null),e.current());return u.useEffect(()=>()=>{r.current&&(clearTimeout(r.current),r.current=null,e.current())},[]),{schedule:c,flush:o}}export{l as u};
|
package/dist/client/assets/{use-debounced-value-CEYSL9GY.js → use-debounced-value-BolYSN9R.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as m,r as n}from"./index-
|
|
1
|
+
import{c as m,r as n}from"./index-Bfy-Fe7V.js";function p(e,o){const t=m.c(4),[s,u]=n.useState(e);let c,r;return t[0]!==o||t[1]!==e?(c=()=>{const i=setTimeout(()=>u(e),o);return()=>clearTimeout(i)},r=[e,o],t[0]=o,t[1]=e,t[2]=c,t[3]=r):(c=t[2],r=t[3]),n.useEffect(c,r),s}export{p as u};
|