decocms 4.358.7 → 4.358.8
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-CmSNkMzR.js → AlertCircle-BDGgDdnU.js} +1 -1
- package/dist/client/assets/{AreaChart-CkQ2fA7o.js → AreaChart-iCDv15_j.js} +1 -1
- package/dist/client/assets/{ArrowLeft-Bu94Ii5M.js → ArrowLeft-DcYZMYcp.js} +1 -1
- package/dist/client/assets/{ArrowRight-mDGbrugB.js → ArrowRight-C-JKgzzW.js} +1 -1
- package/dist/client/assets/{ArrowUp-DSV_iaE8.js → ArrowUp-Xs8btF3m.js} +1 -1
- package/dist/client/assets/{Check-Dg3ccedM.js → Check-Bum7-gpx.js} +1 -1
- package/dist/client/assets/{CheckCircle-CXvhBSH9.js → CheckCircle-CGCTggu0.js} +1 -1
- package/dist/client/assets/{ChevronRight-CTynsPcA.js → ChevronRight-C307yAT0.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-CXzhk4X8.js → ChevronSelectorVertical-KvgVrvOl.js} +1 -1
- package/dist/client/assets/{ChevronUp-bmYG6LkB.js → ChevronUp-CZ5ILA-E.js} +1 -1
- package/dist/client/assets/{Copy01-C_pD92sU.js → Copy01-AMwHi9CR.js} +1 -1
- package/dist/client/assets/{CreditCard01-DZSvJ623.js → CreditCard01-9F1qqx5d.js} +1 -1
- package/dist/client/assets/{DotsVertical-DERxV0IT.js → DotsVertical-BCEQFCLt.js} +1 -1
- package/dist/client/assets/{Download01-BrJcEIOJ.js → Download01-DmH-thwp.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-D8Z1Ht69.js → ErrorBarContext-HqNwclqo.js} +1 -1
- package/dist/client/assets/{Eye-DtzSWYJp.js → Eye-C9BK0WpO.js} +1 -1
- package/dist/client/assets/{GitBranch01-CNkrChzn.js → GitBranch01-8UQB0WNt.js} +1 -1
- package/dist/client/assets/{Globe01-DSqDXciw.js → Globe01-66hYLRXC.js} +1 -1
- package/dist/client/assets/{HardDrive-C33hwgdT.js → HardDrive-B1Me-FOx.js} +1 -1
- package/dist/client/assets/{Image01-CSSIg-V1.js → Image01-DVxIiG0a.js} +1 -1
- package/dist/client/assets/{Key01-BArMmeeh.js → Key01-eG7JQJD3.js} +1 -1
- package/dist/client/assets/{Link01-D9m0U2Ta.js → Link01-D-2P1k10.js} +1 -1
- package/dist/client/assets/{LinkExternal01-_yUVYhsR.js → LinkExternal01-CMl1UKVD.js} +1 -1
- package/dist/client/assets/{Monitor01-TbxGy4uJ.js → Monitor01-Dx2IHfNm.js} +1 -1
- package/dist/client/assets/{Package-CIgjd15K.js → Package-fd_l_BiE.js} +1 -1
- package/dist/client/assets/{Palette-BJjA93OF.js → Palette-CFejZrzA.js} +1 -1
- package/dist/client/assets/{Play-CuabQ6V5.js → Play-DWGn9jzY.js} +1 -1
- package/dist/client/assets/{Plus-CLw8nshS.js → Plus-BB9moQlk.js} +1 -1
- package/dist/client/assets/{SearchLg-B_uG9UNP.js → SearchLg-Dx_5UJpu.js} +1 -1
- package/dist/client/assets/{SearchMd-CvoyvhDO.js → SearchMd-DRTW6Eci.js} +1 -1
- package/dist/client/assets/{Sector-D84p_AF-.js → Sector-BLukRuC0.js} +1 -1
- package/dist/client/assets/{Settings02-B-LW8mkp.js → Settings02-CxNahSF6.js} +1 -1
- package/dist/client/assets/{Share07-DzwLu6Js.js → Share07-D21XeGjn.js} +1 -1
- package/dist/client/assets/{Shield01-CHOtU8tO.js → Shield01-CTgru1Go.js} +1 -1
- package/dist/client/assets/{Stars01-CQM502gA.js → Stars01-CEq_MKrs.js} +1 -1
- package/dist/client/assets/{Sun-BeFqPYZz.js → Sun-BnzNJ9ph.js} +1 -1
- package/dist/client/assets/{Tool01-DN82p4SK.js → Tool01-CuyN3PCD.js} +1 -1
- package/dist/client/assets/{Tool02-Cnm0LDZR.js → Tool02-BASbnym5.js} +1 -1
- package/dist/client/assets/{Trash01-D3glACCY.js → Trash01-BhSt7amx.js} +1 -1
- package/dist/client/assets/{TrendUp01-Du_0IpAS.js → TrendUp01-DO4mZNHN.js} +1 -1
- package/dist/client/assets/{Upload01-D8T1C7P0.js → Upload01-BlXZHJIt.js} +1 -1
- package/dist/client/assets/{User01-ChUO6wNS.js → User01-BHYLCtnk.js} +1 -1
- package/dist/client/assets/{UserSquare-CMhNzA5S.js → UserSquare-B7oSdaaK.js} +1 -1
- package/dist/client/assets/{Users01-BkdRerkJ.js → Users01-QsT1MVSH.js} +1 -1
- package/dist/client/assets/{Users03-CxjX2yOG.js → Users03-BwXNg2js.js} +1 -1
- package/dist/client/assets/{XCircle-Q_FzfXfM.js → XCircle-C2-e12le.js} +1 -1
- package/dist/client/assets/{XClose-B2yo755N.js → XClose-Dt5lNjhR.js} +1 -1
- package/dist/client/assets/{Zap-Dp5FptyY.js → Zap-D1eUhlLV.js} +1 -1
- package/dist/client/assets/{ZoomOut-CzL3lV9f.js → ZoomOut-6XJtTBIm.js} +1 -1
- package/dist/client/assets/{access-gate-BZEI0Ppn.js → access-gate-C9n3qFMJ.js} +1 -1
- package/dist/client/assets/{agent-icon-Dy2jpds_.js → agent-icon-CvRN2kIe.js} +1 -1
- package/dist/client/assets/{agents-list-h87ZNcgJ.js → agents-list-7P-FBRl3.js} +1 -1
- package/dist/client/assets/{ai-providers-vwKflTho.js → ai-providers-C7AEeTUw.js} +1 -1
- package/dist/client/assets/{alert-ByJ8AkFR.js → alert-Hw0kjni-.js} +1 -1
- package/dist/client/assets/{alert-dialog-CfLTHal2.js → alert-dialog-B99tFCPN.js} +1 -1
- package/dist/client/assets/analytics-tab-B7tes2Gc.js +2 -0
- package/dist/client/assets/api-keys-CNyKDa-z.js +1 -0
- package/dist/client/assets/{api-keys-BI4U3OFV.js → api-keys-Dfjx7xoL.js} +1 -1
- package/dist/client/assets/{app-editor-DvQrswh0.js → app-editor-Dc7_2kRP.js} +1 -1
- package/dist/client/assets/{auth-BRCvCyvK.js → auth-CA9YH-f3.js} +1 -1
- package/dist/client/assets/{auth-catchall-ZheHiaNX.js → auth-catchall-Dv36CPjo.js} +1 -1
- package/dist/client/assets/{auth-entry-wjih1rgO.js → auth-entry-Dzg61dx3.js} +1 -1
- package/dist/client/assets/{auth-split-layout-CeDEhY76.js → auth-split-layout-CP-gPGo1.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-eUo-h56q.js → authenticate-and-persist-oauth-BvkyzpZN.js} +1 -1
- package/dist/client/assets/{automation-list-row-oRD34d51.js → automation-list-row-DNckdHdK.js} +1 -1
- package/dist/client/assets/{automation-runs-CvRx2s0y.js → automation-runs-Cam7zjTB.js} +2 -2
- package/dist/client/assets/{automations-DkxpvUP4.js → automations-CWYrhHD5.js} +1 -1
- package/dist/client/assets/{autosend-C5-piDIA.js → autosend-DonDFhf5.js} +1 -1
- package/dist/client/assets/{avatar-B93oLzxy.js → avatar-eSpZRnCw.js} +1 -1
- package/dist/client/assets/{badge-BDgqklMs.js → badge-XewurO2c.js} +1 -1
- package/dist/client/assets/{block-document-B9S_7VZV.js → block-document-DXkP4s-G.js} +1 -1
- package/dist/client/assets/{breadcrumb-CtpPA7Rf.js → breadcrumb-BOorO6tz.js} +1 -1
- package/dist/client/assets/{buckets-ByvDEjty.js → buckets-BwnIpmT9.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-CbE9Fh9p.js → bulk-category-panel-BOGUZvpe.js} +1 -1
- package/dist/client/assets/{capability-load-error-BJ_jcKAV.js → capability-load-error-C2MVQTkh.js} +1 -1
- package/dist/client/assets/{cards-Dxj0WXQa.js → cards-JFqjIjqN.js} +1 -1
- package/dist/client/assets/{category-editor-13ULlzrv.js → category-editor-D5y2bsYp.js} +1 -1
- package/dist/client/assets/{cdn-tab-D1IKX-5q.js → cdn-tab-BKnxL2B5.js} +1 -1
- package/dist/client/assets/{chart-BiOppEJ3.js → chart-mE2TkzW3.js} +1 -1
- package/dist/client/assets/{chat-context-DB2h4osD.js → chat-context-BoK19tyJ.js} +1 -1
- package/dist/client/assets/{checkbox-BoFs553Q.js → checkbox-rGQPVLlM.js} +1 -1
- package/dist/client/assets/{choose-editor-DPWErb-7.js → choose-editor-CVBix5FG.js} +1 -1
- package/dist/client/assets/{cli-auth-success-CaiITPtM.js → cli-auth-success-BEN_pMrR.js} +1 -1
- package/dist/client/assets/{client-icons-DFuiJ80A.js → client-icons-D58J4srx.js} +1 -1
- package/dist/client/assets/{collection-detail-DA1BxkQ_.js → collection-detail-B9CbvuqZ.js} +1 -1
- package/dist/client/assets/{collection-display-button-DFwk7HqF.js → collection-display-button-BeuXG52n.js} +1 -1
- package/dist/client/assets/{collection-search-CWpQkN_Z.js → collection-search-DmicjHft.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-5iNy3BEg.js → collection-table-wrapper-DgYJhm5y.js} +1 -1
- package/dist/client/assets/{collection-tabs-Czo7NLaO.js → collection-tabs-C6YGoh8i.js} +1 -1
- package/dist/client/assets/{command-B6uncQvS.js → command-C3gabQe3.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-Bz9kNl4w.js → commerce-onboarding-Bnqmsl3-.js} +1 -1
- package/dist/client/assets/{connect-B9IbKpH0.js → connect-Q5DfFzFD.js} +1 -1
- package/dist/client/assets/{connect-layout-D6s3gNlo.js → connect-layout-DWE0huJK.js} +1 -1
- package/dist/client/assets/{connection-C7-gff1D.js → connection-Bncsv4WN.js} +1 -1
- package/dist/client/assets/{connection-card-CO42dC4k.js → connection-card-u8mXK_Ll.js} +1 -1
- package/dist/client/assets/{connection-detail-BP8gSuaf.js → connection-detail-CwFWu0EH.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-ptQ77JH2.js → connection-form-helpers-j2xch7QZ.js} +1 -1
- package/dist/client/assets/{connections-CHtcnGgH.js → connections-BhiGlSzc.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-DDOozMUI.js → create-organization-dialog-Bg1s74p9.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-BV-nZdw9.js → decopilot-sse-pool-CdA-XfpC.js} +1 -1
- package/dist/client/assets/{dialog-DUEME7DJ.js → dialog-Cb73HT1O.js} +1 -1
- package/dist/client/assets/{domain-settings-CrOy6YME.js → domain-settings-C8SUp69p.js} +1 -1
- package/dist/client/assets/{drawer-BPAaqlqm.js → drawer-CrnZ4v7V.js} +1 -1
- package/dist/client/assets/{dropdown-menu-BdAGNhae.js → dropdown-menu-D5sP40Bh.js} +1 -1
- package/dist/client/assets/e2e-tab-D7wjbQ-q.js +1 -0
- package/dist/client/assets/{editor-CbtcAvCg.js → editor-M0xQdBHV.js} +1 -1
- package/dist/client/assets/{empty-state-UuH9Il0J.js → empty-state-Bq5_azuW.js} +1 -1
- package/dist/client/assets/{empty-state-Dtwkb-iN.js → empty-state-CGgojVAN.js} +1 -1
- package/dist/client/assets/{extract-connection-data-oTtb1BaN.js → extract-connection-data-CtGZSOXf.js} +1 -1
- package/dist/client/assets/{file-explorer-DO9bb6wZ.js → file-explorer-CTNRxawe.js} +1 -1
- package/dist/client/assets/{file-type-icon-27-E6Qdl.js → file-type-icon-oPj2x3Y3.js} +1 -1
- package/dist/client/assets/{folder-icon-CKMNLNfS.js → folder-icon-DA126rB1.js} +1 -1
- package/dist/client/assets/{form-r05b-I6X.js → form-CNnCCWV8.js} +1 -1
- package/dist/client/assets/{general-BZK_31jo.js → general-DzDT6Vv2.js} +1 -1
- package/dist/client/assets/{github-icon-EWgLsKjp.js → github-icon-DuVGJXID.js} +1 -1
- package/dist/client/assets/{hooks-DxiN--jI.js → hooks-CtKQL1uv.js} +1 -1
- package/dist/client/assets/{index-CO2mZC5x.js → index-B7H8NK5d.js} +1 -1
- package/dist/client/assets/{index-B5fJ_jRf.js → index-BV8Tpaci.js} +1 -1
- package/dist/client/assets/{index-CSR8RjAB.js → index-C6UY0_k7.js} +1 -1
- package/dist/client/assets/{index-BA9swz3B.js → index-CLhec1d0.js} +1 -1
- package/dist/client/assets/{index-BItxgHFJ.js → index-CqNk88Pi.js} +1 -1
- package/dist/client/assets/{index-MxN6W3Rg.js → index-DCVrdvYW.js} +1 -1
- package/dist/client/assets/{index-C803x1XG.js → index-DLFnfvCI.js} +1 -1
- package/dist/client/assets/{index-BlLPD0rg.js → index-DMb7eqOB.js} +6 -6
- package/dist/client/assets/{index-BDHc__VT.js → index-DdHi1L3X.js} +1 -1
- package/dist/client/assets/{index-CQwdWcoq.js → index-DmJNeh4D.js} +1 -1
- package/dist/client/assets/{index-BAedCESS.js → index-DmMXAqxC.js} +2 -2
- package/dist/client/assets/{index-BwI3Edgw.js → index-DnBcUKLj.js} +1 -1
- package/dist/client/assets/{index-redirect-G-aJbUS9.js → index-redirect-BKtKAVbY.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-a1irpNBf.js → infiniteQueryObserver-Dz5h94ot.js} +1 -1
- package/dist/client/assets/{infra-billing-0q8_17Cl.js → infra-billing-CN-tK9zM.js} +1 -1
- package/dist/client/assets/{input-TuiIIqH6.js → input-CgZSXYN4.js} +1 -1
- package/dist/client/assets/{integration-icon-JdG4xh_j.js → integration-icon-BGwxObnE.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-BiVatLIt.js → invite-member-dialog-CBjqBdax.js} +1 -1
- package/dist/client/assets/{label-WUiqx2WK.js → label-C_Rf5I6_.js} +1 -1
- package/dist/client/assets/{layout-Chr9Vtej.js → layout-O0yDVNRV.js} +1 -1
- package/dist/client/assets/{login-D8uTK94O.js → login-dKW57zF9.js} +1 -1
- package/dist/client/assets/{markdown-CNtWUp-j.js → markdown-BKkWa5ul.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-Bwxfrw0h.js → mcp-app-renderer-BV6YR8SP.js} +1 -1
- package/dist/client/assets/{mcp-oauth-Cg840wbY.js → mcp-oauth-CoSFRw9a.js} +1 -1
- package/dist/client/assets/{members-BnJH1AGH.js → members-C_HRSlhu.js} +1 -1
- package/dist/client/assets/{monaco-editor-CFtlqgKG.js → monaco-editor-BtpiUfB5.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-BbaBgzqv.js → monitoring-stats-row-Bdfr5UQN.js} +1 -1
- package/dist/client/assets/{multi-select-BAixkxBR.js → multi-select-DJ-Hbkxa.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-B2Fj4AlA.js → oauth-callback-ai-provider-BTo8Dyys.js} +1 -1
- package/dist/client/assets/{oauth-callback-CFGjLMN9.js → oauth-callback-s1eKXd1l.js} +1 -1
- package/dist/client/assets/{onboarding-BVqaYGqg.js → onboarding-Bnp9L2J4.js} +1 -1
- package/dist/client/assets/{org-layout-CyofguTT.js → org-layout-CVOWyCRt.js} +1 -1
- package/dist/client/assets/{organization-choice-UtAuDgsl.js → organization-choice-CsoNwB5T.js} +1 -1
- package/dist/client/assets/{orgs-BA9FXBu5.js → orgs-C_WFB3ks.js} +1 -1
- package/dist/client/assets/{page-seo-form-CjYRnEyu.js → page-seo-form-D3PfSoRb.js} +1 -1
- package/dist/client/assets/{popover-CSwDoJWv.js → popover-Da7smhdB.js} +1 -1
- package/dist/client/assets/{post-calendar-BJH0mUgs.js → post-calendar-BafS84ox.js} +1 -1
- package/dist/client/assets/{post-editor-Dx5eKpsQ.js → post-editor-A7Y4rsBW.js} +1 -1
- package/dist/client/assets/{primitives-DD-UxZ0K.js → primitives-B6oOpGSj.js} +1 -1
- package/dist/client/assets/{profile-BnISBpst.js → profile-BmlhR-8h.js} +1 -1
- package/dist/client/assets/{project-app-view-BPqLEHUx.js → project-app-view-BEgtCKq4.js} +1 -1
- package/dist/client/assets/{project-icon-eA-nQusH.js → project-icon-D745WVE6.js} +1 -1
- package/dist/client/assets/{prompts-C160yWe8.js → prompts-RnqO9xa8.js} +1 -1
- package/dist/client/assets/record-editor-B29B1sLg.js +1 -0
- package/dist/client/assets/redirect-editor-VT1SstB-.js +1 -0
- package/dist/client/assets/registry-C5al6BLo.js +2 -0
- package/dist/client/assets/{registry-layout-_mSuHnlf.js → registry-layout-D8JQlcrg.js} +1 -1
- package/dist/client/assets/{reports-D1Tbe2id.js → reports-BRPdFcRT.js} +1 -1
- package/dist/client/assets/{repositories-CHGfv1rO.js → repositories-BOf2hJSY.js} +1 -1
- package/dist/client/assets/{repository-import-picker-gzz61js_.js → repository-import-picker-2oY7vjq9.js} +1 -1
- package/dist/client/assets/{repository-picker-CCOAxXyS.js → repository-picker--o_9En2b.js} +1 -1
- package/dist/client/assets/{require-capability-B2N02pbD.js → require-capability-rulhqizd.js} +1 -1
- package/dist/client/assets/{required-auth-layout-lCk5RtRt.js → required-auth-layout-QwpJ5qZ8.js} +1 -1
- package/dist/client/assets/{reset-password-CMX4eAbb.js → reset-password-CAwnTD8T.js} +1 -1
- package/dist/client/assets/{review-settings-4DWQSl88.js → review-settings-C-5ihZ_2.js} +1 -1
- package/dist/client/assets/{roles-CDKRwwF5.js → roles-DviSZSJQ.js} +1 -1
- package/dist/client/assets/{schema-bn-nczrm.js → schema-CSGmlZMm.js} +1 -1
- package/dist/client/assets/{scroll-area-khQdmnJm.js → scroll-area-BhnxS9kb.js} +1 -1
- package/dist/client/assets/{search-input-NP3xLzdZ.js → search-input-BCcfzUeH.js} +1 -1
- package/dist/client/assets/{secrets-C3Xsgj9o.js → secrets-CMYZfMLJ.js} +1 -1
- package/dist/client/assets/{sections-editor-UGzw9l9W.js → sections-editor-C7DU0S-p.js} +1 -1
- package/dist/client/assets/{select-Cs6cmusu.js → select-DQCnroeo.js} +1 -1
- package/dist/client/assets/{select-model-HZpjX99E.js → select-model-B6qnse1n.js} +1 -1
- package/dist/client/assets/{self-tool-result-DMwc2p5N.js → self-tool-result-XF_UID6C.js} +1 -1
- package/dist/client/assets/{seo-editor-D-auq7-j.js → seo-editor-IqwFAmtD.js} +1 -1
- package/dist/client/assets/settings-layout-CU40hjbA.js +1 -0
- package/dist/client/assets/{settings-sidebar-Dner6t5H.js → settings-sidebar-zCLDCwg0.js} +1 -1
- package/dist/client/assets/{shell-controls-DtNm_Atn.js → shell-controls-C61EWaK-.js} +1 -1
- package/dist/client/assets/{shell-layout-8XPciKoI.js → shell-layout-km320KvY.js} +1 -1
- package/dist/client/assets/{skill-preview-CCu_7jUM.js → skill-preview-3aJvIC4k.js} +1 -1
- package/dist/client/assets/{skills-mobmS0Cu.js → skills--2BPNJVe.js} +1 -1
- package/dist/client/assets/{sso-CFnzyayZ.js → sso-BsKl-6Al.js} +1 -1
- package/dist/client/assets/{store-QWQEJkmz.js → store-BaCcJ63F.js} +1 -1
- package/dist/client/assets/store-registry-DQqHtnqc.js +2 -0
- package/dist/client/assets/{switch-CTIrbdkL.js → switch-QikprZ0C.js} +1 -1
- package/dist/client/assets/{synced-repos-g09eTVU1.js → synced-repos-vqYxShY1.js} +1 -1
- package/dist/client/assets/{table-CPMYpTul.js → table-DZ15ysLv.js} +1 -1
- package/dist/client/assets/{tabs-08DxzxY_.js → tabs-Cq_qXG8d.js} +1 -1
- package/dist/client/assets/{task-board-DhERAZm4.js → task-board-CpzOUqzD.js} +1 -1
- package/dist/client/assets/{task-route-BwOuH1kk.js → task-route-C97W4nQK.js} +1 -1
- package/dist/client/assets/{tasks-CA-QGnOj.js → tasks-Cj4SpjUW.js} +1 -1
- package/dist/client/assets/{textarea-BpbE_kY0.js → textarea-DYMqdBZW.js} +1 -1
- package/dist/client/assets/{thread-intent-C60z1Ups.js → thread-intent-tfoIKTGL.js} +1 -1
- package/dist/client/assets/{thread-route-AF4fUXAb.js → thread-route-C9DY5m1F.js} +1 -1
- package/dist/client/assets/{toggle-group-DHFTyRQw.js → toggle-group-C7s16zsy.js} +1 -1
- package/dist/client/assets/{toolbar-8bik0Syp.js → toolbar-DsbPhHR2.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-E_4R6vvs.js → toolbar-icon-button-4cTuMznu.js} +1 -1
- package/dist/client/assets/{track-DJIS7Ijr.js → track-Dp42ADCp.js} +1 -1
- package/dist/client/assets/{types-DIUb1_Md.js → types-C1-e4QHU.js} +1 -1
- package/dist/client/assets/{use-ai-providers-CPqinilp.js → use-ai-providers-D0MFnnnJ.js} +1 -1
- package/dist/client/assets/{use-automations-DiccRABG.js → use-automations-Bxct96j5.js} +1 -1
- package/dist/client/assets/{use-autosave-favfxUE8.js → use-autosave-Cf6m0nb3.js} +1 -1
- package/dist/client/assets/{use-connection-CQ7bQ-r6.js → use-connection-BL1yhZNp.js} +1 -1
- package/dist/client/assets/{use-copy-DbTeee2Q.js → use-copy-BpfelOsR.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-COEAaJiL.js → use-create-virtual-mcp-DEgqlG_P.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-Bw8LkRGs.js → use-date-fns-locale-Cz3dTPVf.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-BoUtyVR9.js → use-debounced-autosave-17VyC1_9.js} +1 -1
- package/dist/client/assets/{use-debounced-value-BsmwA_bi.js → use-debounced-value-3lIFyc-B.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-Bm9EUklJ.js → use-decopilot-events-CfnA_2wd.js} +1 -1
- package/dist/client/assets/{use-delete-connection-CMlLvOz1.js → use-delete-connection-CC4DEP5M.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-C9j4OUB5.js → use-deployment-admin-fCU-735J.js} +1 -1
- package/dist/client/assets/{use-destination-route-B0lMhqr-.js → use-destination-route-B73D_eIZ.js} +1 -1
- package/dist/client/assets/{use-file-configs-BSImuLcM.js → use-file-configs-DbiVAtd9.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-hYhzTevO.js → use-infinite-scroll-CGrWQV9m.js} +1 -1
- package/dist/client/assets/{use-join-requests-BeY7TwRa.js → use-join-requests-IU_EaGLg.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-CcJ30wHQ.js → use-mcp-auth-status-23LCqBdd.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DRbjI6tX.js → use-mcp-client-Dc7ilQkt.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-BIzsd0iZ.js → use-mcp-prompts-DIloFBQg.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-BM8OmaVn.js → use-mcp-tools-yVPLqbTC.js} +1 -1
- package/dist/client/assets/{use-members-CvMoH-iF.js → use-members-B-wX7jR_.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CGLdpa0F.js → use-navigate-to-agent-DC_OOIzX.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DnRe-g1g.js → use-org-auth-client-CReY2uqU.js} +1 -1
- package/dist/client/assets/{use-org-notice-BxLLlDC5.js → use-org-notice-DyChybv5.js} +1 -1
- package/dist/client/assets/{use-org-sso-D3yIS-8J.js → use-org-sso-Dg6nqD1f.js} +1 -1
- package/dist/client/assets/{use-organization-roles-ktHRdCrw.js → use-organization-roles-C55Ep3O6.js} +1 -1
- package/dist/client/assets/{use-organization-settings-tIS8xJQP.js → use-organization-settings-CwqtDA4J.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-DdBCZnsD.js → use-panel-navigate-DEpXw5wF.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CpCOrqJZ.js → use-registry-connections-B2DiSYUv.js} +1 -1
- package/dist/client/assets/{use-secrets-GY3e_So0.js → use-secrets-CXHV-_4u.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-EGUCuSYn.js → use-section-preview-base-D6hQ90tl.js} +1 -1
- package/dist/client/assets/{use-status-sounds-Dr5PODZ9.js → use-status-sounds-BElO3PMV.js} +1 -1
- package/dist/client/assets/{use-tags-P8XJaTzT.js → use-tags-DZUN-1Ut.js} +1 -1
- package/dist/client/assets/{use-view-mode-BbAbqvz6.js → use-view-mode-B3NLddU0.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-C4XUTl0E.js → use-virtual-mcp-CQsLZfmK.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DvifJ2DA.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-DL3cGDzg.js +1 -0
- package/dist/client/assets/{users-CS5WQkaQ.js → users-Bug3AdLE.js} +1 -1
- package/dist/client/assets/{variant-calendar-ehJVqgLU.js → variant-calendar-C3HqmQB-.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-x5dJlEQb.js → view-mode-toggle-8QAhZAUM.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +517 -517
- package/dist/server/server.js +356 -356
- package/package.json +1 -1
- package/dist/client/assets/analytics-tab-OB0WOBW7.js +0 -2
- package/dist/client/assets/api-keys-93oBHhP-.js +0 -1
- package/dist/client/assets/e2e-tab-WBs4Ry3_.js +0 -1
- package/dist/client/assets/record-editor-BA60nhWY.js +0 -1
- package/dist/client/assets/redirect-editor-XRwNClGT.js +0 -1
- package/dist/client/assets/registry-BpSMi978.js +0 -2
- package/dist/client/assets/settings-layout-KTbN_kWx.js +0 -1
- package/dist/client/assets/store-registry-CJcS99FJ.js +0 -2
- package/dist/client/assets/useInfiniteQuery-Bto9KSSl.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Df-vkKBB.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as te,G as se,n as oe,r as T,j as t,B as Q,P as L,b8 as ae,C as ce,t as w,c as ie,l as de,K as H,b6 as me}from"./index-
|
|
1
|
+
import{b as te,G as se,n as oe,r as T,j as t,B as Q,P as L,b8 as ae,C as ce,t as w,c as ie,l as de,K as H,b6 as me}from"./index-DmMXAqxC.js";import{i as ue}from"./DotsVertical-BCEQFCLt.js";import{i as pe}from"./GitBranch01-8UQB0WNt.js";import{a as ge}from"./Package-fd_l_BiE.js";import{s as fe}from"./Trash01-BhSt7amx.js";import{i as he}from"./Upload01-BlXZHJIt.js";import{i as le}from"./Zap-D1eUhlLV.js";import{S as xe}from"./search-input-BCcfzUeH.js";import{c as je,D as ke,b as ve,a as ye}from"./dropdown-menu-D5sP40Bh.js";import{A as Se,a as be,b as we,c as Ce,d as De,e as Ne,f as Pe,g as Ee}from"./alert-dialog-B99tFCPN.js";import{E as J}from"./empty-state-CGgojVAN.js";import{C as Ae}from"./collection-tabs-C6YGoh8i.js";import{p as Te,q as Me,u as Ie,r as Oe,F as ze}from"./folder-icon-DA126rB1.js";import{H as V,d as $e}from"./location-oTTXFrSF.js";import{S as Fe}from"./skill-preview-3aJvIC4k.js";import"./SearchMd-DRTW6Eci.js";import"./Check-Bum7-gpx.js";import"./ChevronRight-C307yAT0.js";import"./badge-XewurO2c.js";import"./Eye-C9BK0WpO.js";import"./dialog-Cb73HT1O.js";import"./markdown-BKkWa5ul.js";import"./Copy01-AMwHi9CR.js";import"./Download01-DmH-thwp.js";import"./ZoomOut-6XJtTBIm.js";import"./use-panel-navigate-DEpXw5wF.js";import"./use-destination-route-B73D_eIZ.js";import"./Image01-DVxIiG0a.js";import"./editor-M0xQdBHV.js";import"./file-type-icon-oPj2x3Y3.js";const Z=200,Re=new Set(["node_modules","__pycache__"]);function G(s){const[,...e]=s.webkitRelativePath.split("/");return e.length>0?e.join("/"):s.name}function Le(s){return G(s).split("/").every(e=>!e.startsWith(".")&&!Re.has(e))}function _e(s){return s.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"skill"}function Be(s,e){const l=new Map;for(const r of s){const c=G(r).split("/");c.pop();const a=["skills",e,...c].join("/");l.set(a,[...l.get(a)??[],r])}return l}async function Ke(s,e){const r=(await Promise.allSettled([...s].map(([c,a])=>e({dir:c,files:a})))).find(c=>c.status==="rejected");if(r)throw r.reason}function qe(s,e){const l=Te(e),r=`skills/${s}`;return{id:`home/${r}`,name:l.name??s,description:l.description,source:"home",volume:V,path:r,sandboxPath:`org/${V}/${r}`}}const _="*";function B(s){return s.volume==="home"}function re(s,e){const l=s.indexOf(":");return l===-1?{label:e,glyph:le}:{label:s.slice(l+1),glyph:s.startsWith("repo:")?pe:ge}}function He(s){const e=ie.c(48),{entry:l,pending:r,onOpen:c,onDelete:a}=s,o=te(),{org:u}=se();let C;e[0]!==l.source||e[1]!==u.name?(C=re(l.source,u.name),e[0]=l.source,e[1]=u.name,e[2]=C):C=e[2];const{label:M,glyph:O}=C;let D;e[3]!==l?(D=B(l),e[3]=l,e[4]=D):D=e[4];const z=D,N=r?"opacity-60":"hover:bg-muted/50";let f;e[5]!==N?(f=de("relative transition-colors group overflow-hidden flex flex-col h-full",N),e[5]=N,e[6]=f):f=e[6];let d;e[7]!==l.name||e[8]!==c||e[9]!==r?(d=!r&&t.jsx("button",{type:"button",onClick:c,className:"absolute inset-0 z-0","aria-label":l.name}),e[7]=l.name,e[8]=c,e[9]=r,e[10]=d):d=e[10];const P=z?"default":"system",$=!z;let h;e[11]!==O||e[12]!==P||e[13]!==$?(h=t.jsx(ze,{glyph:O,tone:P,readOnly:$,className:"size-8 shrink-0"}),e[11]=O,e[12]=P,e[13]=$,e[14]=h):h=e[14];let x;e[15]!==a||e[16]!==o?(x=a&&t.jsx("div",{className:"relative z-10 pointer-events-auto transition-opacity sm:opacity-0 sm:group-hover:opacity-100",children:t.jsxs(je,{children:[t.jsx(ke,{asChild:!0,children:t.jsx(Q,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0",children:t.jsx(ue,{size:16})})}),t.jsx(ve,{align:"end",children:t.jsxs(ye,{variant:"destructive",onClick:K=>{K.stopPropagation(),a()},children:[t.jsx(fe,{size:16}),o("settings.skills.deleteButton")]})})]})}),e[15]=a,e[16]=o,e[17]=x):x=e[17];let j;e[18]!==h||e[19]!==x?(j=t.jsxs("div",{className:"flex items-start justify-between",children:[h,x]}),e[18]=h,e[19]=x,e[20]=j):j=e[20];let b;e[21]!==l.name?(b=t.jsx("h3",{className:"text-sm font-medium text-foreground truncate",children:l.name}),e[21]=l.name,e[22]=b):b=e[22];let k;e[23]!==l.description||e[24]!==o?(k=l.description||o("settings.skills.noDescription"),e[23]=l.description,e[24]=o,e[25]=k):k=e[25];let m;e[26]!==k?(m=t.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:k}),e[26]=k,e[27]=m):m=e[27];let v;e[28]!==b||e[29]!==m?(v=t.jsxs("div",{className:"flex flex-col gap-1",children:[b,m]}),e[28]=b,e[29]=m,e[30]=v):v=e[30];let p;e[31]!==j||e[32]!==v?(p=t.jsxs("div",{className:"flex flex-col gap-3 p-4.5",children:[j,v]}),e[31]=j,e[32]=v,e[33]=p):p=e[33];let y;e[34]!==M||e[35]!==r||e[36]!==o?(y=r?o("settings.skills.importing"):M,e[34]=M,e[35]=r,e[36]=o,e[37]=y):y=e[37];let g;e[38]!==y?(g=t.jsx("div",{className:"border-t border-border mt-auto",children:t.jsx("div",{className:"h-10 flex items-center px-4.5",children:t.jsx("p",{className:"text-xs text-muted-foreground truncate",children:y})})}),e[38]=y,e[39]=g):g=e[39];let S;e[40]!==p||e[41]!==g?(S=t.jsxs("div",{className:"flex flex-col flex-1 pointer-events-none",children:[p,g]}),e[40]=p,e[41]=g,e[42]=S):S=e[42];let I;return e[43]!==r||e[44]!==S||e[45]!==f||e[46]!==d?(I=t.jsxs(me,{"aria-busy":r,className:f,children:[d,S]}),e[43]=r,e[44]=S,e[45]=f,e[46]=d,e[47]=I):I=e[47],I}function ee(s){const e=ie.c(2),{children:l}=s;let r;return e[0]!==l?(r=t.jsx("div",{className:"grid grid-cols-1 @lg:grid-cols-2 @4xl:grid-cols-3 @6xl:grid-cols-4 gap-4",children:l}),e[0]=l,e[1]=r):r=e[1],r}function yt(){const s=te(),{org:e}=se(),l=Me(),{remove:r,upload:c}=Ie("home"),a=oe(),o=T.useRef(null),[u,C]=T.useState(""),[M,O]=T.useState(_),[D,z]=T.useState(!1),[N,f]=T.useState(null),[d,P]=T.useState(null),[$,h]=T.useState(null),x=()=>{a.invalidateQueries({queryKey:H.slashSkills(e.id)}),a.invalidateQueries({queryKey:H.orgFsSkills(e.id)})},j=i=>a.setQueryData(H.slashSkills(e.id),n=>i(n??[]));async function b(i){const n=[...i??[]];if(o.current&&(o.current.value=""),n.length===0)return;const E=n[0]?.webkitRelativePath??"";if(!E){w.error(s("settings.skills.importNeedsFolder"));return}const q=E.split("/")[0]??"",R=n.filter(Le),W=R.find(A=>G(A)==="SKILL.md");if(!W){w.error(s("settings.skills.importMissingSkillMd"));return}if(R.length>Z){w.error(s("settings.skills.importTooManyFiles",{count:String(R.length),max:String(Z)}));return}const F=_e(q),X=`skills/${F}`;let Y=!1;z(!0);try{if(await Oe(e.slug,"home",X)){w.error(s("settings.skills.importSlugTaken",{slug:F}));return}Y=!0;const A=qe(F,await W.text());j(ne=>[A,...ne]),h(A.id),await Ke(Be(R,F),c.mutateAsync),w.success(s("settings.skills.importSuccess",{name:F}))}catch(A){Y&&await r.mutateAsync(X).catch(()=>{}),w.error(A instanceof Error?A.message:s("settings.skills.importError"))}finally{h(null),x(),z(!1)}}const k=u.toLowerCase(),m=(l.data??[]).filter(i=>i.name.toLowerCase().includes(k)||(i.description??"").toLowerCase().includes(k)).sort((i,n)=>Number(B(n))-Number(B(i))||i.name.localeCompare(n.name)),v=new Set((l.data??[]).map(i=>i.source)),p=new Map;for(const i of m)p.set(i.source,(p.get(i.source)??0)+1);const y=[{id:_,label:s("settings.skills.filterAll"),count:m.length},...[...v].map(i=>({id:i,label:re(i,e.name).label,count:p.get(i)??0}))],g=v.has(M)?M:_,S=g===_?m:m.filter(i=>i.source===g),I=i=>f($e(i.volume,i.path)),K=async()=>{if(!d)return;const{id:i,path:n}=d;P(null),j(E=>E.filter(q=>q.id!==i));try{await r.mutateAsync(n),w.success(s("settings.skills.deleteSuccess"))}catch(E){w.error(E instanceof Error?E.message:s("settings.skills.deleteError"))}finally{x()}},U=t.jsxs(Q,{size:"sm",disabled:D,onClick:()=>o.current?.click(),children:[t.jsx(he,{size:14}),s(D?"settings.skills.importing":"settings.skills.importButton")]});return t.jsxs(L,{children:[t.jsx(L.Content,{children:t.jsx(L.Body,{children:t.jsxs("div",{className:"flex flex-col gap-6",children:[t.jsx(L.Title,{children:s("settings.skills.pageTitle")}),t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[t.jsx(xe,{value:u,onChange:C,placeholder:s("settings.skills.searchPlaceholder"),className:"w-full md:w-[375px]",onKeyDown:i=>{i.key==="Escape"&&(C(""),i.target.blur())}}),U,t.jsx("input",{ref:o,type:"file",multiple:!0,webkitdirectory:"",className:"hidden",onChange:i=>{b(i.target.files)}})]}),y.length>2&&t.jsx(Ae,{tabs:y,activeTab:g,onTabChange:O}),l.isPending?t.jsx("div",{className:"@container",children:t.jsx(ee,{children:Array.from({length:8},(i,n)=>t.jsx(ae,{className:"h-[168px] rounded-xl"},n))})}):l.isError?t.jsx("div",{className:"flex items-center justify-center py-20",children:t.jsx(J,{image:t.jsx(ce,{size:48,className:"text-muted-foreground"}),title:s("settings.skills.errorTitle"),description:l.error instanceof Error?l.error.message:s("settings.skills.errorDescription"),actions:t.jsx(Q,{size:"sm",variant:"outline",onClick:()=>{l.refetch()},children:s("settings.skills.retry")})})}):S.length===0?t.jsx("div",{className:"flex items-center justify-center py-20",children:t.jsx(J,{image:t.jsx(le,{size:48,className:"text-muted-foreground"}),title:s(u?"settings.skills.noResultsTitle":"settings.skills.emptyTitle"),description:u?s("settings.skills.noResultsDescription",{search:u}):s("settings.skills.emptyDescription"),actions:!u&&U})}):t.jsx("div",{className:"@container",children:t.jsx(ee,{children:S.map(i=>{const n=i.id===$;return t.jsx(He,{entry:i,pending:n,onOpen:()=>I(i),onDelete:B(i)&&!n?()=>P(i):void 0},i.id)})})})]})})}),N&&t.jsx(Fe,{skillPath:N,onClose:()=>f(null)},N),t.jsx(Se,{open:d!==null,onOpenChange:i=>!i&&P(null),children:t.jsxs(be,{children:[t.jsxs(we,{children:[t.jsx(Ce,{children:s("settings.skills.deleteDialogTitle")}),t.jsx(De,{children:s("settings.skills.deleteDialogDescription",{name:d?.name??""})})]}),t.jsxs(Ne,{children:[t.jsx(Pe,{children:s("settings.skills.cancel")}),t.jsx(Ee,{onClick:K,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:s("settings.skills.deleteButton")})]})]})})]})}export{yt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as B,G as L,r as v,j as e,P as x,b5 as k,b1 as y,b0 as E,a$ as a,fi as D,B as m,o as b,t as c,c as z}from"./index-
|
|
1
|
+
import{b as B,G as L,r as v,j as e,P as x,b5 as k,b1 as y,b0 as E,a$ as a,fi as D,B as m,o as b,t as c,c as z}from"./index-DmMXAqxC.js";import{D as T}from"./domain-settings-C8SUp69p.js";import{A as O,a as R,b as F,c as q,e as M,f as U,g as $}from"./alert-dialog-B99tFCPN.js";import{I as d}from"./input-CgZSXYN4.js";import{S as G}from"./switch-QikprZ0C.js";import{a as H,b as J,c as K,d as Q}from"./use-org-sso-Dg6nqD1f.js";import{s as V}from"./Trash01-BhSt7amx.js";import{R as W}from"./require-capability-rulhqizd.js";import"./badge-XewurO2c.js";import"./select-DQCnroeo.js";import"./Check-Bum7-gpx.js";import"./ChevronUp-CZ5ILA-E.js";import"./access-gate-C9n3qFMJ.js";import"./capability-load-error-C2MVQTkh.js";function X(){const s=B(),{org:o}=L(),{data:f,isLoading:P}=H(o.id,o.slug),h=J(o.id,o.slug),S=K(o.id,o.slug),C=Q(o.id,o.slug),[i,l]=v.useState({issuer:"",clientId:"",clientSecret:"",discoveryEndpoint:"",domain:"",scopes:"openid email profile"}),[g,p]=v.useState(!1),[I,j]=v.useState(!1),u=f?.configured&&f.config,n=f?.config,N=()=>{n&&l({issuer:n.issuer,clientId:n.clientId,clientSecret:"",discoveryEndpoint:n.discoveryEndpoint??"",domain:n.domain,scopes:n.scopes.join(" ")}),p(!0)},_=async()=>{if(!i.issuer||!i.clientId||!i.domain){c.error(s("settings.orgSso.requiredFieldsError"));return}if(!u&&!i.clientSecret){c.error(s("settings.orgSso.clientSecretRequiredError"));return}try{await h.mutateAsync({issuer:i.issuer,clientId:i.clientId,clientSecret:i.clientSecret,discoveryEndpoint:i.discoveryEndpoint||void 0,scopes:i.scopes.split(/\s+/).filter(Boolean),domain:i.domain,enforced:n?.enforced??!1}),b(u?"sso_config_updated":"sso_configured",{organization_id:o.id,email_domain:i.domain}),c.success(s("settings.orgSso.configurationSavedSuccess")),p(!1)}catch(t){c.error(t instanceof Error?t.message:s("settings.orgSso.saveSsoConfigError"))}},w=async()=>{try{await S.mutateAsync(),b("sso_config_removed",{organization_id:o.id}),c.success(s("settings.orgSso.configurationRemovedSuccess")),p(!1),j(!1)}catch{c.error(s("settings.orgSso.removeSsoConfigError"))}},A=async t=>{try{await C.mutateAsync(t),b("sso_enforcement_toggled",{organization_id:o.id,enforced:t}),c.success(s(t?"settings.orgSso.enforcementEnabledSuccess":"settings.orgSso.enforcementDisabledSuccess"))}catch{c.error(s("settings.orgSso.toggleEnforcementError"))}};return e.jsxs(x,{children:[e.jsx(x.Content,{children:e.jsx(x.Body,{children:e.jsxs(k,{children:[e.jsx(x.Title,{children:s("settings.orgSso.securityTitle")}),e.jsx(T,{}),P?e.jsx("div",{className:"text-sm text-muted-foreground",children:s("settings.orgSso.loading")}):e.jsxs(e.Fragment,{children:[u&&!g&&e.jsx(y,{title:s("settings.orgSso.sectionTitle"),children:e.jsxs(E,{children:[e.jsx(a,{title:s("settings.orgSso.providerLabel"),action:e.jsx("span",{className:"font-medium",children:n.issuer})}),e.jsx(a,{title:s("settings.orgSso.clientIdLabel"),action:e.jsx("span",{className:"font-mono text-xs",children:n.clientId})}),e.jsx(a,{title:s("settings.orgSso.domainLabel"),action:e.jsx("span",{className:"font-medium",children:n.domain})}),e.jsx(a,{title:s("settings.orgSso.scopesLabel"),action:e.jsx("span",{className:"font-mono text-xs",children:n.scopes.join(" ")})}),e.jsx("div",{className:"h-px bg-border mx-5"}),e.jsx(a,{title:s("settings.orgSso.enforceSsoLabel"),description:s("settings.orgSso.enforceSsoDescription"),action:e.jsx(G,{checked:n.enforced,onCheckedChange:A,disabled:C.isPending})}),e.jsxs(D,{children:[e.jsxs(m,{variant:"ghost",size:"sm",onClick:()=>j(!0),disabled:S.isPending,className:"text-destructive hover:text-destructive mr-auto",children:[e.jsx(V,{size:14}),s("settings.orgSso.removeButton")]}),e.jsx(m,{variant:"outline",size:"sm",onClick:()=>{window.open(`/api/${o.slug}/sso/authorize`,"_blank")},children:s("settings.orgSso.testSsoButton")}),e.jsx(m,{variant:"outline",size:"sm",onClick:N,children:s("settings.orgSso.editConfigButton")})]})]})}),(!u||g)&&e.jsx(y,{title:s("settings.orgSso.sectionTitle"),children:e.jsxs(E,{children:[e.jsx(a,{title:s("settings.orgSso.issuerUrlLabel"),description:s("settings.orgSso.issuerUrlDescription"),action:e.jsx(d,{id:"sso-issuer",placeholder:s("settings.orgSso.issuerUrlPlaceholder"),value:i.issuer,onChange:t=>l(r=>({...r,issuer:t.target.value})),className:"w-[280px]"})}),e.jsx(a,{title:s("settings.orgSso.clientIdLabel"),action:e.jsx(d,{id:"sso-client-id",placeholder:s("settings.orgSso.clientIdPlaceholder"),value:i.clientId,onChange:t=>l(r=>({...r,clientId:t.target.value})),className:"w-[280px]"})}),e.jsx(a,{title:s("settings.orgSso.clientSecretLabel"),description:g&&u?s("settings.orgSso.clientSecretEditDescription"):void 0,action:e.jsx(d,{id:"sso-client-secret",type:"password",placeholder:s("settings.orgSso.clientSecretPlaceholder"),value:i.clientSecret,onChange:t=>l(r=>({...r,clientSecret:t.target.value})),className:"w-[280px]"})}),e.jsx(a,{title:s("settings.orgSso.emailDomainLabel"),description:s("settings.orgSso.emailDomainDescription"),action:e.jsx(d,{id:"sso-domain",placeholder:s("settings.orgSso.emailDomainPlaceholder"),value:i.domain,onChange:t=>l(r=>({...r,domain:t.target.value})),className:"w-[280px]"})}),e.jsx(a,{title:s("settings.orgSso.scopesLabel"),action:e.jsx(d,{id:"sso-scopes",placeholder:s("settings.orgSso.scopesPlaceholder"),value:i.scopes,onChange:t=>l(r=>({...r,scopes:t.target.value})),className:"w-[280px]"})}),e.jsx(a,{title:s("settings.orgSso.discoveryEndpointLabel"),description:s("settings.orgSso.discoveryEndpointDescription"),action:e.jsx(d,{id:"sso-discovery",placeholder:s("settings.orgSso.discoveryEndpointPlaceholder"),value:i.discoveryEndpoint,onChange:t=>l(r=>({...r,discoveryEndpoint:t.target.value})),className:"w-[280px]"})}),e.jsxs(D,{children:[g&&e.jsx(m,{variant:"outline",size:"sm",onClick:()=>p(!1),children:s("settings.orgSso.cancelButton")}),e.jsx(m,{onClick:_,disabled:h.isPending,size:"sm",children:h.isPending?s("settings.orgSso.savingButton"):s(g?"settings.orgSso.updateButton":"settings.orgSso.configureSsoButton")})]})]})})]})]})})}),e.jsx(O,{open:I,onOpenChange:j,children:e.jsxs(R,{children:[e.jsx(F,{children:e.jsx(q,{children:s("settings.orgSso.removeConfirmation")})}),e.jsxs(M,{children:[e.jsx(U,{disabled:S.isPending,children:s("settings.orgSso.cancelButton")}),e.jsx($,{onClick:w,disabled:S.isPending,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:s("settings.orgSso.removeButton")})]})]})})]})}function ue(){const s=z.c(1);let o;return s[0]===Symbol.for("react.memo_cache_sentinel")?(o=e.jsx(W,{capability:"org:manage",area:"security",children:e.jsx(X,{})}),s[0]=o):o=s[0],o}export{ue as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as J,b as Z,j as i,P as te,r as V,b5 as ue,b8 as pe,E as xe,G as Se,n as he,a$ as H,B as X,d as ye,f as je,o as ae,K as ve,b0 as ie,b1 as re,e as be,t as ge}from"./index-BAedCESS.js";import{i as Ce}from"./AlertCircle-CmSNkMzR.js";import{i as _e}from"./ChevronRight-CTynsPcA.js";import{s as Re}from"./Plus-CLw8nshS.js";import{s as ke}from"./Trash01-D3glACCY.js";import{I as ne}from"./input-TuiIIqH6.js";import{S as de}from"./switch-CTIrbdkL.js";import{A as me}from"./avatar-B93oLzxy.js";import{P as Ne,a as Pe,b as Te}from"./popover-CSwDoJWv.js";import{b as fe}from"./use-connection-CQ7bQ-r6.js";import{W as le}from"./use-mcp-client-DRbjI6tX.js";import{u as we}from"./use-registry-connections-CpCOrqJZ.js";import{h as Ae,m as ze}from"./use-organization-settings-tIS8xJQP.js";import{R as Ee}from"./require-capability-B2N02pbD.js";import"./User01-ChUO6wNS.js";import"./auth-BRCvCyvK.js";import"./schema-bn-nczrm.js";import"./task-board-DhERAZm4.js";import"./access-gate-BZEI0Ppn.js";import"./capability-load-error-BJ_jcKAV.js";function $e(t){const e=J.c(6),{error:l}=t,c=Z();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=i.jsx(Ce,{size:16}),e[0]=s):s=e[0];let o;e[1]!==c?(o=c("settings.orgStore.failedLoadStoreSettings"),e[1]=c,e[2]=o):o=e[2];let r;return e[3]!==l.message||e[4]!==o?(r=i.jsxs("div",{className:"p-4 rounded-md bg-destructive/10 text-destructive flex items-center gap-2",children:[s,i.jsxs("span",{className:"text-sm font-medium",children:[o," ",l.message]})]}),e[3]=l.message,e[4]=o,e[5]=r):r=e[5],r}function Me(t){const e=J.c(74),{onCancel:l,onSuccess:c}=t,s=Z(),o=fe(),[r,p]=V.useState(""),[a,A]=V.useState(""),[x,_]=V.useState("");let j;e[0]!==o||e[1]!==r||e[2]!==s||e[3]!==x||e[4]!==a?(j=async()=>(await o.create.mutateAsync({title:r||s("settings.orgStore.privateRegistry"),description:s("settings.orgStore.privateMcpRegistry"),connection_type:"HTTP",connection_url:a,connection_token:x||null,connection_headers:null,oauth_config:null,configuration_state:null,configuration_scopes:null,metadata:{type:"registry"},app_name:null,app_id:null,icon:null})).id,e[0]=o,e[1]=r,e[2]=s,e[3]=x,e[4]=a,e[5]=j):j=e[5];let d;e[6]!==c||e[7]!==s?(d=y=>{ae("store_private_registry_added",{connection_id:y}),ge.success(s("settings.orgStore.privateRegistryAdded")),c(y)},e[6]=c,e[7]=s,e[8]=d):d=e[8];let S;e[9]!==s?(S=y=>{ge.error(s("settings.orgStore.failedAddRegistry",{error:y.message}))},e[9]=s,e[10]=S):S=e[10];let m;e[11]!==j||e[12]!==d||e[13]!==S?(m={mutationFn:j,onSuccess:d,onError:S},e[11]=j,e[12]=d,e[13]=S,e[14]=m):m=e[14];const{mutate:v,isPending:g}=be(m);let h;e[15]!==s?(h=s("settings.orgStore.nameLabel"),e[15]=s,e[16]=h):h=e[16];let f;e[17]!==s?(f=s("settings.orgStore.namePlaceholder"),e[17]=s,e[18]=f):f=e[18];let u;e[19]===Symbol.for("react.memo_cache_sentinel")?(u=y=>p(y.target.value),e[19]=u):u=e[19];let b;e[20]!==r||e[21]!==f?(b=i.jsx(ne,{placeholder:f,value:r,onChange:u,className:"w-[280px]"}),e[20]=r,e[21]=f,e[22]=b):b=e[22];let R;e[23]!==h||e[24]!==b?(R=i.jsx(H,{title:h,action:b}),e[23]=h,e[24]=b,e[25]=R):R=e[25];let F;e[26]!==s?(F=s("settings.orgStore.registryUrlLabel"),e[26]=s,e[27]=F):F=e[27];let U;e[28]!==s?(U=s("settings.orgStore.registryUrlPlaceholder"),e[28]=s,e[29]=U):U=e[29];let q;e[30]===Symbol.for("react.memo_cache_sentinel")?(q=y=>A(y.target.value),e[30]=q):q=e[30];let B;e[31]!==U||e[32]!==a?(B=i.jsx(ne,{placeholder:U,value:a,onChange:q,className:"w-[280px]"}),e[31]=U,e[32]=a,e[33]=B):B=e[33];let O;e[34]!==F||e[35]!==B?(O=i.jsx(H,{title:F,action:B}),e[34]=F,e[35]=B,e[36]=O):O=e[36];let z;e[37]!==s?(z=s("settings.orgStore.authTokenLabel"),e[37]=s,e[38]=z):z=e[38];let C;e[39]!==s?(C=s("settings.orgStore.optional"),e[39]=s,e[40]=C):C=e[40];let E;e[41]!==s?(E=s("settings.orgStore.authTokenPlaceholder"),e[41]=s,e[42]=E):E=e[42];let Y;e[43]===Symbol.for("react.memo_cache_sentinel")?(Y=y=>_(y.target.value),e[43]=Y):Y=e[43];let $;e[44]!==E||e[45]!==x?($=i.jsx(ne,{type:"password",placeholder:E,value:x,onChange:Y,className:"w-[280px]"}),e[44]=E,e[45]=x,e[46]=$):$=e[46];let I;e[47]!==z||e[48]!==C||e[49]!==$?(I=i.jsx(H,{title:z,description:C,action:$}),e[47]=z,e[48]=C,e[49]=$,e[50]=I):I=e[50];let k;e[51]!==s?(k=s("settings.orgStore.cancel"),e[51]=s,e[52]=k):k=e[52];let D;e[53]!==g||e[54]!==l||e[55]!==k?(D=i.jsx(X,{variant:"ghost",size:"sm",onClick:l,disabled:g,children:k}),e[53]=g,e[54]=l,e[55]=k,e[56]=D):D=e[56];let N;e[57]!==v?(N=()=>v(),e[57]=v,e[58]=N):N=e[58];const L=!a||g;let P;e[59]!==g||e[60]!==s?(P=s(g?"settings.orgStore.adding":"settings.orgStore.addRegistry"),e[59]=g,e[60]=s,e[61]=P):P=e[61];let T;e[62]!==N||e[63]!==L||e[64]!==P?(T=i.jsx(X,{size:"sm",onClick:N,disabled:L,children:P}),e[62]=N,e[63]=L,e[64]=P,e[65]=T):T=e[65];let w;e[66]!==D||e[67]!==T?(w=i.jsxs("div",{className:"px-5 py-4 flex justify-end gap-2",children:[D,T]}),e[66]=D,e[67]=T,e[68]=w):w=e[68];let M;return e[69]!==O||e[70]!==I||e[71]!==w||e[72]!==R?(M=i.jsxs(ie,{children:[R,O,I,w]}),e[69]=O,e[70]=I,e[71]=w,e[72]=R,e[73]=M):M=e[73],M}function se(t){const e=J.c(30),{name:l,description:c,icon:s,enabled:o,onToggle:r,onDelete:p,href:a}=t,A=Z(),x=ye();let _;e[0]===Symbol.for("react.memo_cache_sentinel")?(_={from:"/shell/$org"},e[0]=_):_=e[0];const{org:j}=je(_);let d;e[1]!==o||e[2]!==a||e[3]!==x||e[4]!==r||e[5]!==j?(d=()=>{a?x({to:a,params:{org:j}}):r(!o)},e[1]=o,e[2]=a,e[3]=x,e[4]=r,e[5]=j,e[6]=d):d=e[6];const S=d;let m;e[7]!==s||e[8]!==l?(m=s?i.jsx("img",{src:s,alt:l,className:"size-8 rounded-md object-contain"}):i.jsx(me,{fallback:l.charAt(0),className:"size-8 bg-primary/10 text-primary"}),e[7]=s,e[8]=l,e[9]=m):m=e[9];let v;e[10]!==p||e[11]!==A?(v=p&&i.jsxs(Ne,{children:[i.jsx(Pe,{asChild:!0,children:i.jsx(X,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-destructive",onClick:Ie,children:i.jsx(ke,{size:14})})}),i.jsx(Te,{className:"w-auto p-2",align:"end",children:i.jsxs("div",{className:"flex flex-col gap-2",children:[i.jsx("p",{className:"text-xs font-medium",children:A("settings.orgStore.removeRegistry")}),i.jsx(X,{variant:"destructive",size:"xs",onClick:R=>{R.stopPropagation(),p()},children:A("settings.orgStore.remove")})]})})]}),e[10]=p,e[11]=A,e[12]=v):v=e[12];let g;e[13]!==r?(g=R=>r(R),e[13]=r,e[14]=g):g=e[14];let h;e[15]!==o||e[16]!==g?(h=i.jsx(de,{checked:o,onClick:Fe,onCheckedChange:g}),e[15]=o,e[16]=g,e[17]=h):h=e[17];let f;e[18]!==a?(f=a&&i.jsx(_e,{size:14,className:"text-muted-foreground"}),e[18]=a,e[19]=f):f=e[19];let u;e[20]!==v||e[21]!==h||e[22]!==f?(u=i.jsxs("div",{className:"flex items-center gap-2",children:[v,h,f]}),e[20]=v,e[21]=h,e[22]=f,e[23]=u):u=e[23];let b;return e[24]!==c||e[25]!==S||e[26]!==l||e[27]!==m||e[28]!==u?(b=i.jsx(H,{title:l,description:c,onClick:S,icon:m,action:u}),e[24]=c,e[25]=S,e[26]=l,e[27]=m,e[28]=u,e[29]=b):b=e[29],b}function Fe(t){return t.stopPropagation()}function Ie(t){return t.stopPropagation()}function De(){const t=J.c(78),e=Z(),{org:l}=Se(),c=we(),s=fe(),o=Ae(),{mutateAsync:r}=ze(),p=he(),[a,A]=V.useState(!1);let x,_,j,d,S,m;if(t[0]!==s||t[1]!==l.id||t[2]!==p||t[3]!==o||t[4]!==c||t[5]!==a||t[6]!==e||t[7]!==r){const f=le.REGISTRY(l.id),u=n=>{if(!o)return n===f;const K=o.registries[n];return K?K.enabled:n===f},b=le.COMMUNITY_REGISTRY(l.id),R=c.find(n=>n.id===f),F=c.find(n=>n.id===b||n.id==="community-registry"),U=F?.id??b,q=le.SELF(l.id),B=new Set([f,b,"community-registry",q]),O=c.filter(n=>!B.has(n.id));let z;t[14]!==o||t[15]!==r?(z=async(n,K)=>{ae("store_registry_toggled",{connection_id:n,enabled:K});const ce=o??{registries:{},blockedMcps:[]};await r({...ce,registries:{...ce.registries,[n]:{enabled:K}}})},t[14]=o,t[15]=r,t[16]=z):z=t[16];const C=z;let E;t[17]!==s||t[18]!==l.id||t[19]!==p?(E=async n=>{ae("store_private_registry_removed",{connection_id:n}),await s.delete.mutateAsync(n),p.invalidateQueries({queryKey:ve.organizationSettings(l.id)})},t[17]=s,t[18]=l.id,t[19]=p,t[20]=E):E=t[20];const Y=E;let $;t[21]!==o||t[22]!==r?($=async n=>{A(!1);const K=o??{registries:{},blockedMcps:[]};await r({...K,registries:{...K.registries,[n]:{enabled:!0}}})},t[21]=o,t[22]=r,t[23]=$):$=t[23];const I=$;let k;t[24]!==e?(k=e("settings.orgStore.decoStoreSection"),t[24]=e,t[25]=k):k=t[25];const D=R?i.jsx(se,{name:e("settings.orgStore.decoStoreName"),description:e("settings.orgStore.decoStoreDescription"),icon:R.icon,enabled:u(f),onToggle:n=>C(f,n)}):i.jsx(H,{title:e("settings.orgStore.decoStoreName"),description:e("settings.orgStore.connectionNotFound")});let N;t[26]!==D?(N=i.jsx(ie,{children:D}),t[26]=D,t[27]=N):N=t[27],t[28]!==k||t[29]!==N?(S=i.jsx(re,{title:k,children:N}),t[28]=k,t[29]=N,t[30]=S):S=t[30];let L;t[31]!==e?(L=e("settings.orgStore.privateRegistriesSection"),t[31]=e,t[32]=L):L=t[32];let P;t[33]!==a||t[34]!==e?(P=a?void 0:i.jsxs(X,{variant:"outline",size:"sm",onClick:()=>A(!0),children:[i.jsx(Re,{size:14}),e("settings.orgStore.addRegistry")]}),t[33]=a,t[34]=e,t[35]=P):P=t[35];let T;t[36]!==I||t[37]!==a?(T=a&&i.jsx(Me,{onCancel:()=>A(!1),onSuccess:I}),t[36]=I,t[37]=a,t[38]=T):T=t[38];let w;t[39]!==e?(w=e("settings.orgStore.privateRegistry"),t[39]=e,t[40]=w):w=t[40];let M;t[41]!==e?(M=e("settings.orgStore.privateRegistryDescription"),t[41]=e,t[42]=M):M=t[42];let y;t[43]!==u?(y=u("self"),t[43]=u,t[44]=y):y=t[44];let G;t[45]!==C?(G=n=>C("self",n),t[45]=C,t[46]=G):G=t[46];let Q;t[47]!==w||t[48]!==M||t[49]!==y||t[50]!==G?(Q=i.jsx(se,{name:w,description:M,enabled:y,onToggle:G,href:"/$org/settings/store/registry"}),t[47]=w,t[48]=M,t[49]=y,t[50]=G,t[51]=Q):Q=t[51];let ee;t[52]!==Y||t[53]!==C||t[54]!==u||t[55]!==e?(ee=n=>i.jsx(se,{name:n.title,description:n.description??e("settings.orgStore.privateMcpRegistry"),icon:n.icon,enabled:u(n.id),onToggle:K=>C(n.id,K),onDelete:()=>Y(n.id)},n.id),t[52]=Y,t[53]=C,t[54]=u,t[55]=e,t[56]=ee):ee=t[56];const oe=O.map(ee);let W;t[57]!==Q||t[58]!==oe?(W=i.jsxs(ie,{children:[Q,oe]}),t[57]=Q,t[58]=oe,t[59]=W):W=t[59],t[60]!==L||t[61]!==P||t[62]!==T||t[63]!==W?(m=i.jsxs(re,{title:L,actions:P,children:[T,W]}),t[60]=L,t[61]=P,t[62]=T,t[63]=W,t[64]=m):m=t[64],_=re,t[65]!==e?(d=e("settings.orgStore.communitySection"),t[65]=e,t[66]=d):d=t[66],x=ie,j=F?i.jsx(se,{name:e("settings.orgStore.mcpRegistry"),description:e("settings.orgStore.communityRegistryDescription"),icon:F.icon,enabled:u(U),onToggle:n=>C(U,n)}):i.jsx(H,{title:e("settings.orgStore.mcpRegistry"),description:e("settings.orgStore.communityRegistryNotAdded"),icon:i.jsx(me,{fallback:"M",className:"size-8 bg-primary/10 text-primary"}),action:i.jsx(de,{checked:!1,disabled:!0,onCheckedChange:Le})}),t[0]=s,t[1]=l.id,t[2]=p,t[3]=o,t[4]=c,t[5]=a,t[6]=e,t[7]=r,t[8]=x,t[9]=_,t[10]=j,t[11]=d,t[12]=S,t[13]=m}else x=t[8],_=t[9],j=t[10],d=t[11],S=t[12],m=t[13];let v;t[67]!==x||t[68]!==j?(v=i.jsx(x,{children:j}),t[67]=x,t[68]=j,t[69]=v):v=t[69];let g;t[70]!==_||t[71]!==d||t[72]!==v?(g=i.jsx(_,{title:d,children:v}),t[70]=_,t[71]=d,t[72]=v,t[73]=g):g=t[73];let h;return t[74]!==S||t[75]!==m||t[76]!==g?(h=i.jsxs(i.Fragment,{children:[S,m,g]}),t[74]=S,t[75]=m,t[76]=g,t[77]=h):h=t[77],h}function Le(){}function Ke(){const t=J.c(13),e=Z();let l;t[0]!==e?(l=A=>{const{error:x}=A;return i.jsx($e,{error:x??new Error(e("settings.orgStore.failedLoadStoreSettings"))})},t[0]=e,t[1]=l):l=t[1];let c;t[2]===Symbol.for("react.memo_cache_sentinel")?(c=i.jsx(pe,{className:"h-64 w-full"}),t[2]=c):c=t[2];let s;t[3]!==e?(s=e("settings.orgStore.pageTitle"),t[3]=e,t[4]=s):s=t[4];let o;t[5]!==s?(o=i.jsx(te.Title,{children:s}),t[5]=s,t[6]=o):o=t[6];let r;t[7]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx(De,{}),t[7]=r):r=t[7];let p;t[8]!==o?(p=i.jsx(V.Suspense,{fallback:c,children:i.jsx(te,{children:i.jsx(te.Content,{children:i.jsx(te.Body,{children:i.jsxs(ue,{children:[o,r]})})})})}),t[8]=o,t[9]=p):p=t[9];let a;return t[10]!==l||t[11]!==p?(a=i.jsx(xe,{fallback:l,children:p}),t[10]=l,t[11]=p,t[12]=a):a=t[12],a}function lt(){const t=J.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=i.jsx(Ee,{capability:"registry:manage",area:"the store",children:i.jsx(Ke,{})}),t[0]=e):e=t[0],e}export{lt as default};
|
|
1
|
+
import{c as J,b as Z,j as i,P as te,r as V,b5 as ue,b8 as pe,E as xe,G as Se,n as he,a$ as H,B as X,d as ye,f as je,o as ae,K as ve,b0 as ie,b1 as re,e as be,t as ge}from"./index-DmMXAqxC.js";import{i as Ce}from"./AlertCircle-BDGgDdnU.js";import{i as _e}from"./ChevronRight-C307yAT0.js";import{s as Re}from"./Plus-BB9moQlk.js";import{s as ke}from"./Trash01-BhSt7amx.js";import{I as ne}from"./input-CgZSXYN4.js";import{S as de}from"./switch-QikprZ0C.js";import{A as me}from"./avatar-eSpZRnCw.js";import{P as Ne,a as Pe,b as Te}from"./popover-Da7smhdB.js";import{b as fe}from"./use-connection-BL1yhZNp.js";import{W as le}from"./use-mcp-client-Dc7ilQkt.js";import{u as we}from"./use-registry-connections-B2DiSYUv.js";import{h as Ae,m as ze}from"./use-organization-settings-CwqtDA4J.js";import{R as Ee}from"./require-capability-rulhqizd.js";import"./User01-BHYLCtnk.js";import"./auth-CA9YH-f3.js";import"./schema-CSGmlZMm.js";import"./task-board-CpzOUqzD.js";import"./access-gate-C9n3qFMJ.js";import"./capability-load-error-C2MVQTkh.js";function $e(t){const e=J.c(6),{error:l}=t,c=Z();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=i.jsx(Ce,{size:16}),e[0]=s):s=e[0];let o;e[1]!==c?(o=c("settings.orgStore.failedLoadStoreSettings"),e[1]=c,e[2]=o):o=e[2];let r;return e[3]!==l.message||e[4]!==o?(r=i.jsxs("div",{className:"p-4 rounded-md bg-destructive/10 text-destructive flex items-center gap-2",children:[s,i.jsxs("span",{className:"text-sm font-medium",children:[o," ",l.message]})]}),e[3]=l.message,e[4]=o,e[5]=r):r=e[5],r}function Me(t){const e=J.c(74),{onCancel:l,onSuccess:c}=t,s=Z(),o=fe(),[r,p]=V.useState(""),[a,A]=V.useState(""),[x,_]=V.useState("");let j;e[0]!==o||e[1]!==r||e[2]!==s||e[3]!==x||e[4]!==a?(j=async()=>(await o.create.mutateAsync({title:r||s("settings.orgStore.privateRegistry"),description:s("settings.orgStore.privateMcpRegistry"),connection_type:"HTTP",connection_url:a,connection_token:x||null,connection_headers:null,oauth_config:null,configuration_state:null,configuration_scopes:null,metadata:{type:"registry"},app_name:null,app_id:null,icon:null})).id,e[0]=o,e[1]=r,e[2]=s,e[3]=x,e[4]=a,e[5]=j):j=e[5];let d;e[6]!==c||e[7]!==s?(d=y=>{ae("store_private_registry_added",{connection_id:y}),ge.success(s("settings.orgStore.privateRegistryAdded")),c(y)},e[6]=c,e[7]=s,e[8]=d):d=e[8];let S;e[9]!==s?(S=y=>{ge.error(s("settings.orgStore.failedAddRegistry",{error:y.message}))},e[9]=s,e[10]=S):S=e[10];let m;e[11]!==j||e[12]!==d||e[13]!==S?(m={mutationFn:j,onSuccess:d,onError:S},e[11]=j,e[12]=d,e[13]=S,e[14]=m):m=e[14];const{mutate:v,isPending:g}=be(m);let h;e[15]!==s?(h=s("settings.orgStore.nameLabel"),e[15]=s,e[16]=h):h=e[16];let f;e[17]!==s?(f=s("settings.orgStore.namePlaceholder"),e[17]=s,e[18]=f):f=e[18];let u;e[19]===Symbol.for("react.memo_cache_sentinel")?(u=y=>p(y.target.value),e[19]=u):u=e[19];let b;e[20]!==r||e[21]!==f?(b=i.jsx(ne,{placeholder:f,value:r,onChange:u,className:"w-[280px]"}),e[20]=r,e[21]=f,e[22]=b):b=e[22];let R;e[23]!==h||e[24]!==b?(R=i.jsx(H,{title:h,action:b}),e[23]=h,e[24]=b,e[25]=R):R=e[25];let F;e[26]!==s?(F=s("settings.orgStore.registryUrlLabel"),e[26]=s,e[27]=F):F=e[27];let U;e[28]!==s?(U=s("settings.orgStore.registryUrlPlaceholder"),e[28]=s,e[29]=U):U=e[29];let q;e[30]===Symbol.for("react.memo_cache_sentinel")?(q=y=>A(y.target.value),e[30]=q):q=e[30];let B;e[31]!==U||e[32]!==a?(B=i.jsx(ne,{placeholder:U,value:a,onChange:q,className:"w-[280px]"}),e[31]=U,e[32]=a,e[33]=B):B=e[33];let O;e[34]!==F||e[35]!==B?(O=i.jsx(H,{title:F,action:B}),e[34]=F,e[35]=B,e[36]=O):O=e[36];let z;e[37]!==s?(z=s("settings.orgStore.authTokenLabel"),e[37]=s,e[38]=z):z=e[38];let C;e[39]!==s?(C=s("settings.orgStore.optional"),e[39]=s,e[40]=C):C=e[40];let E;e[41]!==s?(E=s("settings.orgStore.authTokenPlaceholder"),e[41]=s,e[42]=E):E=e[42];let Y;e[43]===Symbol.for("react.memo_cache_sentinel")?(Y=y=>_(y.target.value),e[43]=Y):Y=e[43];let $;e[44]!==E||e[45]!==x?($=i.jsx(ne,{type:"password",placeholder:E,value:x,onChange:Y,className:"w-[280px]"}),e[44]=E,e[45]=x,e[46]=$):$=e[46];let I;e[47]!==z||e[48]!==C||e[49]!==$?(I=i.jsx(H,{title:z,description:C,action:$}),e[47]=z,e[48]=C,e[49]=$,e[50]=I):I=e[50];let k;e[51]!==s?(k=s("settings.orgStore.cancel"),e[51]=s,e[52]=k):k=e[52];let D;e[53]!==g||e[54]!==l||e[55]!==k?(D=i.jsx(X,{variant:"ghost",size:"sm",onClick:l,disabled:g,children:k}),e[53]=g,e[54]=l,e[55]=k,e[56]=D):D=e[56];let N;e[57]!==v?(N=()=>v(),e[57]=v,e[58]=N):N=e[58];const L=!a||g;let P;e[59]!==g||e[60]!==s?(P=s(g?"settings.orgStore.adding":"settings.orgStore.addRegistry"),e[59]=g,e[60]=s,e[61]=P):P=e[61];let T;e[62]!==N||e[63]!==L||e[64]!==P?(T=i.jsx(X,{size:"sm",onClick:N,disabled:L,children:P}),e[62]=N,e[63]=L,e[64]=P,e[65]=T):T=e[65];let w;e[66]!==D||e[67]!==T?(w=i.jsxs("div",{className:"px-5 py-4 flex justify-end gap-2",children:[D,T]}),e[66]=D,e[67]=T,e[68]=w):w=e[68];let M;return e[69]!==O||e[70]!==I||e[71]!==w||e[72]!==R?(M=i.jsxs(ie,{children:[R,O,I,w]}),e[69]=O,e[70]=I,e[71]=w,e[72]=R,e[73]=M):M=e[73],M}function se(t){const e=J.c(30),{name:l,description:c,icon:s,enabled:o,onToggle:r,onDelete:p,href:a}=t,A=Z(),x=ye();let _;e[0]===Symbol.for("react.memo_cache_sentinel")?(_={from:"/shell/$org"},e[0]=_):_=e[0];const{org:j}=je(_);let d;e[1]!==o||e[2]!==a||e[3]!==x||e[4]!==r||e[5]!==j?(d=()=>{a?x({to:a,params:{org:j}}):r(!o)},e[1]=o,e[2]=a,e[3]=x,e[4]=r,e[5]=j,e[6]=d):d=e[6];const S=d;let m;e[7]!==s||e[8]!==l?(m=s?i.jsx("img",{src:s,alt:l,className:"size-8 rounded-md object-contain"}):i.jsx(me,{fallback:l.charAt(0),className:"size-8 bg-primary/10 text-primary"}),e[7]=s,e[8]=l,e[9]=m):m=e[9];let v;e[10]!==p||e[11]!==A?(v=p&&i.jsxs(Ne,{children:[i.jsx(Pe,{asChild:!0,children:i.jsx(X,{variant:"ghost",size:"icon",className:"h-6 w-6 text-muted-foreground hover:text-destructive",onClick:Ie,children:i.jsx(ke,{size:14})})}),i.jsx(Te,{className:"w-auto p-2",align:"end",children:i.jsxs("div",{className:"flex flex-col gap-2",children:[i.jsx("p",{className:"text-xs font-medium",children:A("settings.orgStore.removeRegistry")}),i.jsx(X,{variant:"destructive",size:"xs",onClick:R=>{R.stopPropagation(),p()},children:A("settings.orgStore.remove")})]})})]}),e[10]=p,e[11]=A,e[12]=v):v=e[12];let g;e[13]!==r?(g=R=>r(R),e[13]=r,e[14]=g):g=e[14];let h;e[15]!==o||e[16]!==g?(h=i.jsx(de,{checked:o,onClick:Fe,onCheckedChange:g}),e[15]=o,e[16]=g,e[17]=h):h=e[17];let f;e[18]!==a?(f=a&&i.jsx(_e,{size:14,className:"text-muted-foreground"}),e[18]=a,e[19]=f):f=e[19];let u;e[20]!==v||e[21]!==h||e[22]!==f?(u=i.jsxs("div",{className:"flex items-center gap-2",children:[v,h,f]}),e[20]=v,e[21]=h,e[22]=f,e[23]=u):u=e[23];let b;return e[24]!==c||e[25]!==S||e[26]!==l||e[27]!==m||e[28]!==u?(b=i.jsx(H,{title:l,description:c,onClick:S,icon:m,action:u}),e[24]=c,e[25]=S,e[26]=l,e[27]=m,e[28]=u,e[29]=b):b=e[29],b}function Fe(t){return t.stopPropagation()}function Ie(t){return t.stopPropagation()}function De(){const t=J.c(78),e=Z(),{org:l}=Se(),c=we(),s=fe(),o=Ae(),{mutateAsync:r}=ze(),p=he(),[a,A]=V.useState(!1);let x,_,j,d,S,m;if(t[0]!==s||t[1]!==l.id||t[2]!==p||t[3]!==o||t[4]!==c||t[5]!==a||t[6]!==e||t[7]!==r){const f=le.REGISTRY(l.id),u=n=>{if(!o)return n===f;const K=o.registries[n];return K?K.enabled:n===f},b=le.COMMUNITY_REGISTRY(l.id),R=c.find(n=>n.id===f),F=c.find(n=>n.id===b||n.id==="community-registry"),U=F?.id??b,q=le.SELF(l.id),B=new Set([f,b,"community-registry",q]),O=c.filter(n=>!B.has(n.id));let z;t[14]!==o||t[15]!==r?(z=async(n,K)=>{ae("store_registry_toggled",{connection_id:n,enabled:K});const ce=o??{registries:{},blockedMcps:[]};await r({...ce,registries:{...ce.registries,[n]:{enabled:K}}})},t[14]=o,t[15]=r,t[16]=z):z=t[16];const C=z;let E;t[17]!==s||t[18]!==l.id||t[19]!==p?(E=async n=>{ae("store_private_registry_removed",{connection_id:n}),await s.delete.mutateAsync(n),p.invalidateQueries({queryKey:ve.organizationSettings(l.id)})},t[17]=s,t[18]=l.id,t[19]=p,t[20]=E):E=t[20];const Y=E;let $;t[21]!==o||t[22]!==r?($=async n=>{A(!1);const K=o??{registries:{},blockedMcps:[]};await r({...K,registries:{...K.registries,[n]:{enabled:!0}}})},t[21]=o,t[22]=r,t[23]=$):$=t[23];const I=$;let k;t[24]!==e?(k=e("settings.orgStore.decoStoreSection"),t[24]=e,t[25]=k):k=t[25];const D=R?i.jsx(se,{name:e("settings.orgStore.decoStoreName"),description:e("settings.orgStore.decoStoreDescription"),icon:R.icon,enabled:u(f),onToggle:n=>C(f,n)}):i.jsx(H,{title:e("settings.orgStore.decoStoreName"),description:e("settings.orgStore.connectionNotFound")});let N;t[26]!==D?(N=i.jsx(ie,{children:D}),t[26]=D,t[27]=N):N=t[27],t[28]!==k||t[29]!==N?(S=i.jsx(re,{title:k,children:N}),t[28]=k,t[29]=N,t[30]=S):S=t[30];let L;t[31]!==e?(L=e("settings.orgStore.privateRegistriesSection"),t[31]=e,t[32]=L):L=t[32];let P;t[33]!==a||t[34]!==e?(P=a?void 0:i.jsxs(X,{variant:"outline",size:"sm",onClick:()=>A(!0),children:[i.jsx(Re,{size:14}),e("settings.orgStore.addRegistry")]}),t[33]=a,t[34]=e,t[35]=P):P=t[35];let T;t[36]!==I||t[37]!==a?(T=a&&i.jsx(Me,{onCancel:()=>A(!1),onSuccess:I}),t[36]=I,t[37]=a,t[38]=T):T=t[38];let w;t[39]!==e?(w=e("settings.orgStore.privateRegistry"),t[39]=e,t[40]=w):w=t[40];let M;t[41]!==e?(M=e("settings.orgStore.privateRegistryDescription"),t[41]=e,t[42]=M):M=t[42];let y;t[43]!==u?(y=u("self"),t[43]=u,t[44]=y):y=t[44];let G;t[45]!==C?(G=n=>C("self",n),t[45]=C,t[46]=G):G=t[46];let Q;t[47]!==w||t[48]!==M||t[49]!==y||t[50]!==G?(Q=i.jsx(se,{name:w,description:M,enabled:y,onToggle:G,href:"/$org/settings/store/registry"}),t[47]=w,t[48]=M,t[49]=y,t[50]=G,t[51]=Q):Q=t[51];let ee;t[52]!==Y||t[53]!==C||t[54]!==u||t[55]!==e?(ee=n=>i.jsx(se,{name:n.title,description:n.description??e("settings.orgStore.privateMcpRegistry"),icon:n.icon,enabled:u(n.id),onToggle:K=>C(n.id,K),onDelete:()=>Y(n.id)},n.id),t[52]=Y,t[53]=C,t[54]=u,t[55]=e,t[56]=ee):ee=t[56];const oe=O.map(ee);let W;t[57]!==Q||t[58]!==oe?(W=i.jsxs(ie,{children:[Q,oe]}),t[57]=Q,t[58]=oe,t[59]=W):W=t[59],t[60]!==L||t[61]!==P||t[62]!==T||t[63]!==W?(m=i.jsxs(re,{title:L,actions:P,children:[T,W]}),t[60]=L,t[61]=P,t[62]=T,t[63]=W,t[64]=m):m=t[64],_=re,t[65]!==e?(d=e("settings.orgStore.communitySection"),t[65]=e,t[66]=d):d=t[66],x=ie,j=F?i.jsx(se,{name:e("settings.orgStore.mcpRegistry"),description:e("settings.orgStore.communityRegistryDescription"),icon:F.icon,enabled:u(U),onToggle:n=>C(U,n)}):i.jsx(H,{title:e("settings.orgStore.mcpRegistry"),description:e("settings.orgStore.communityRegistryNotAdded"),icon:i.jsx(me,{fallback:"M",className:"size-8 bg-primary/10 text-primary"}),action:i.jsx(de,{checked:!1,disabled:!0,onCheckedChange:Le})}),t[0]=s,t[1]=l.id,t[2]=p,t[3]=o,t[4]=c,t[5]=a,t[6]=e,t[7]=r,t[8]=x,t[9]=_,t[10]=j,t[11]=d,t[12]=S,t[13]=m}else x=t[8],_=t[9],j=t[10],d=t[11],S=t[12],m=t[13];let v;t[67]!==x||t[68]!==j?(v=i.jsx(x,{children:j}),t[67]=x,t[68]=j,t[69]=v):v=t[69];let g;t[70]!==_||t[71]!==d||t[72]!==v?(g=i.jsx(_,{title:d,children:v}),t[70]=_,t[71]=d,t[72]=v,t[73]=g):g=t[73];let h;return t[74]!==S||t[75]!==m||t[76]!==g?(h=i.jsxs(i.Fragment,{children:[S,m,g]}),t[74]=S,t[75]=m,t[76]=g,t[77]=h):h=t[77],h}function Le(){}function Ke(){const t=J.c(13),e=Z();let l;t[0]!==e?(l=A=>{const{error:x}=A;return i.jsx($e,{error:x??new Error(e("settings.orgStore.failedLoadStoreSettings"))})},t[0]=e,t[1]=l):l=t[1];let c;t[2]===Symbol.for("react.memo_cache_sentinel")?(c=i.jsx(pe,{className:"h-64 w-full"}),t[2]=c):c=t[2];let s;t[3]!==e?(s=e("settings.orgStore.pageTitle"),t[3]=e,t[4]=s):s=t[4];let o;t[5]!==s?(o=i.jsx(te.Title,{children:s}),t[5]=s,t[6]=o):o=t[6];let r;t[7]===Symbol.for("react.memo_cache_sentinel")?(r=i.jsx(De,{}),t[7]=r):r=t[7];let p;t[8]!==o?(p=i.jsx(V.Suspense,{fallback:c,children:i.jsx(te,{children:i.jsx(te.Content,{children:i.jsx(te.Body,{children:i.jsxs(ue,{children:[o,r]})})})})}),t[8]=o,t[9]=p):p=t[9];let a;return t[10]!==l||t[11]!==p?(a=i.jsx(xe,{fallback:l,children:p}),t[10]=l,t[11]=p,t[12]=a):a=t[12],a}function lt(){const t=J.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=i.jsx(Ee,{capability:"registry:manage",area:"the store",children:i.jsx(Ke,{})}),t[0]=e):e=t[0],e}export{lt as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-D8JQlcrg.js","assets/index-DmMXAqxC.js","assets/index-DJADaZ4J.css","assets/Tool02-BASbnym5.js","assets/CheckCircle-CGCTggu0.js","assets/Settings02-CxNahSF6.js","assets/use-mcp-client-Dc7ilQkt.js","assets/auth-CA9YH-f3.js","assets/useInfiniteQuery-DvifJ2DA.js","assets/infiniteQueryObserver-Dz5h94ot.js","assets/badge-XewurO2c.js","assets/input-CgZSXYN4.js","assets/dropdown-menu-D5sP40Bh.js","assets/Check-Bum7-gpx.js","assets/ChevronRight-C307yAT0.js","assets/DotsVertical-BCEQFCLt.js","assets/table-DZ15ysLv.js","assets/toggle-group-C7s16zsy.js","assets/use-view-mode-B3NLddU0.js","assets/Globe01-66hYLRXC.js","assets/SearchMd-DRTW6Eci.js","assets/dialog-Cb73HT1O.js","assets/AlertCircle-BDGgDdnU.js","assets/Download01-DmH-thwp.js","assets/Upload01-BlXZHJIt.js","assets/metadata-dUsYcpuu.js","assets/alert-dialog-B99tFCPN.js","assets/Trash01-BhSt7amx.js","assets/label-C_Rf5I6_.js","assets/select-DQCnroeo.js","assets/ChevronUp-CZ5ILA-E.js","assets/switch-QikprZ0C.js","assets/textarea-DYMqdBZW.js","assets/ArrowLeft-DcYZMYcp.js","assets/ArrowRight-C-JKgzzW.js","assets/Link01-D-2P1k10.js","assets/safe-image-url-D5z803Ot.js","assets/checkbox-rGQPVLlM.js","assets/Eye-C9BK0WpO.js","assets/LinkExternal01-CMl1UKVD.js","assets/XCircle-C2-e12le.js","assets/use-infinite-scroll-CGrWQV9m.js","assets/use-copy-BpfelOsR.js","assets/Copy01-AMwHi9CR.js","assets/Key01-eG7JQJD3.js","assets/Plus-BB9moQlk.js","assets/mcp-oauth-CoSFRw9a.js","assets/Play-DWGn9jzY.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{c as n,d as c,f as m,j as t,h as f,r as l,bq as p}from"./index-DmMXAqxC.js";import{R as u}from"./require-capability-rulhqizd.js";import"./access-gate-C9n3qFMJ.js";import"./capability-load-error-C2MVQTkh.js";const g=l.lazy(()=>p(()=>import("./registry-layout-D8JQlcrg.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])));function h(){const e=n.c(5),i=c();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=m(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(f,{className:"size-5 text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as i,br as C,bv as y,bu as T,bx as I,e4 as M,ee as H,bt as z,c as A,l as g}from"./index-
|
|
1
|
+
import{r as c,j as i,br as C,bv as y,bu as T,bx as I,e4 as M,ee as H,bt as z,c as A,l as g}from"./index-DmMXAqxC.js";var m="Switch",[U]=z(m),[q,L]=U(m),E=c.forwardRef((a,e)=>{const{__scopeSwitch:t,name:r,checked:s,defaultChecked:n,required:o,disabled:d,value:u="on",onCheckedChange:k,form:l,...v}=a,[p,h]=c.useState(null),w=y(e,b=>h(b)),x=c.useRef(!1),S=p?l||!!p.closest("form"):!0,[f,N]=T({prop:s,defaultProp:n??!1,onChange:k,caller:m});return i.jsxs(q,{scope:t,checked:f,disabled:d,children:[i.jsx(C.button,{type:"button",role:"switch","aria-checked":f,"aria-required":o,"data-state":j(f),"data-disabled":d?"":void 0,disabled:d,value:u,...v,ref:w,onClick:I(a.onClick,b=>{N(B=>!B),S&&(x.current=b.isPropagationStopped(),x.current||b.stopPropagation())})}),S&&i.jsx(_,{control:p,bubbles:!x.current,name:r,value:u,checked:f,required:o,disabled:d,form:l,style:{transform:"translateX(-100%)"}})]})});E.displayName=m;var P="SwitchThumb",R=c.forwardRef((a,e)=>{const{__scopeSwitch:t,...r}=a,s=L(P,t);return i.jsx(C.span,{"data-state":j(s.checked),"data-disabled":s.disabled?"":void 0,...r,ref:e})});R.displayName=P;var O="SwitchBubbleInput",_=c.forwardRef(({__scopeSwitch:a,control:e,checked:t,bubbles:r=!0,...s},n)=>{const o=c.useRef(null),d=y(o,n),u=M(t),k=H(e);return c.useEffect(()=>{const l=o.current;if(!l)return;const v=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(v,"checked").set;if(u!==t&&h){const w=new Event("click",{bubbles:r});h.call(l,t),l.dispatchEvent(w)}},[u,t,r]),i.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:t,...s,tabIndex:-1,ref:d,style:{...s.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});_.displayName=O;function j(a){return a?"checked":"unchecked"}var $=E,D=R;function W(a){const e=A.c(9);let t,r;e[0]!==a?({className:t,...r}=a,e[0]=a,e[1]=t,e[2]=r):(t=e[1],r=e[2]);let s;e[3]!==t?(s=g("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/20 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[2px] disabled:opacity-50",t),e[3]=t,e[4]=s):s=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=i.jsx(D,{"data-slot":"switch-thumb",className:g("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")}),e[5]=n):n=e[5];let o;return e[6]!==r||e[7]!==s?(o=i.jsx($,{"data-slot":"switch",className:s,...r,children:n}),e[6]=r,e[7]=s,e[8]=o):o=e[8],o}export{W as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as se,j as s,ds as ye,b as ue,r as ae,B as te,l as je,t as ce,b8 as be}from"./index-BAedCESS.js";import{i as ge}from"./GitBranch01-CNkrChzn.js";import{s as xe}from"./Plus-CLw8nshS.js";import{c as Re,d as ve,b as Se,f as De,g as Ne,e as _e,a as Ce,A as Pe}from"./alert-dialog-CfLTHal2.js";import{d as Ae,h as ke,c as we,e as ze,b as Ee,D as Oe}from"./dialog-DUEME7DJ.js";import{I as Ie}from"./input-TuiIIqH6.js";import{u as $e,G as Fe,R as Te}from"./repository-picker-CCOAxXyS.js";import{a as Ge,d as Be,h as He,t as qe}from"./cards-Dxj0WXQa.js";import{R as Le}from"./require-capability-B2N02pbD.js";import"./ChevronRight-CTynsPcA.js";import"./label-WUiqx2WK.js";import"./github-icon-EWgLsKjp.js";import"./useInfiniteQuery-Bto9KSSl.js";import"./infiniteQueryObserver-a1irpNBf.js";import"./ArrowLeft-Bu94Ii5M.js";import"./avatar-B93oLzxy.js";import"./User01-ChUO6wNS.js";import"./collection-search-CWpQkN_Z.js";import"./SearchMd-CvoyvhDO.js";import"./use-debounced-value-BsmwA_bi.js";import"./folder-icon-CKMNLNfS.js";import"./Eye-DtzSWYJp.js";import"./DotsVertical-DERxV0IT.js";import"./Download01-BrJcEIOJ.js";import"./Share07-DzwLu6Js.js";import"./Globe01-DSqDXciw.js";import"./Key01-BArMmeeh.js";import"./Palette-BJjA93OF.js";import"./Trash01-D3glACCY.js";import"./Zap-Dp5FptyY.js";import"./dropdown-menu-BdAGNhae.js";import"./Check-Dg3ccedM.js";import"./file-type-icon-27-E6Qdl.js";import"./access-gate-BZEI0Ppn.js";import"./capability-load-error-BJ_jcKAV.js";function Ve(e){return e.toLowerCase().replace(/[^a-z0-9_.-]+/g,"-").replace(/^[.-]+|[.-]+$/g,"").slice(0,128)}function Je(e,t){return e.lastSyncError?{label:e.lastSyncError,error:!0}:e.lastSyncedAt?{label:t("library.syncedRepos.syncedAgo",{ago:qe(e.lastSyncedAt)}),error:!1}:{label:t("library.syncedRepos.waitingFirstSync"),error:!1}}function Ke(e){const t=se.c(38),{config:l,onRemove:i}=e,o=ue();let u;t[0]!==l||t[1]!==o?(u=Je(l,o),t[0]=l,t[1]=o,t[2]=u):u=t[2];const m=u,r=$e();let f;t[3]!==l.repositoryId||t[4]!==r.data?(f=r.data?.find(C=>C.id===l.repositoryId),t[3]=l.repositoryId,t[4]=r.data,t[5]=f):f=t[5];const n=f;let g;t[6]!==n?(g=s.jsx("div",{className:"size-9 rounded-md bg-muted flex items-center justify-center shrink-0",children:n?s.jsx(Fe,{provider:n.provider,size:16,className:"text-muted-foreground"}):s.jsx(ge,{size:16,className:"text-muted-foreground"})}),t[6]=n,t[7]=g):g=t[7];const c=n?.path??`${l.repoOwner}/${l.repoName}`;let d;t[8]!==c?(d=s.jsx("span",{className:"font-medium text-sm truncate",children:c}),t[8]=c,t[9]=d):d=t[9];let p;t[10]!==l.ref?(p=s.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:["@",l.ref]}),t[10]=l.ref,t[11]=p):p=t[11];let S;t[12]!==d||t[13]!==p?(S=s.jsxs("div",{className:"flex items-center gap-2",children:[d,p]}),t[12]=d,t[13]=p,t[14]=S):S=t[14];const _=m.error?"text-destructive":"text-muted-foreground";let D;t[15]!==_?(D=je("text-xs mt-0.5 truncate",_),t[15]=_,t[16]=D):D=t[16];let b;t[17]!==l.volume||t[18]!==o?(b=o("settings.syncedRepos.rowSubtitle",{volume:l.volume}),t[17]=l.volume,t[18]=o,t[19]=b):b=t[19];let R;t[20]!==m.label||t[21]!==b||t[22]!==D?(R=s.jsxs("p",{className:D,children:[b," ·"," ",m.label]}),t[20]=m.label,t[21]=b,t[22]=D,t[23]=R):R=t[23];let x;t[24]!==R||t[25]!==S?(x=s.jsxs("div",{className:"min-w-0",children:[S,R]}),t[24]=R,t[25]=S,t[26]=x):x=t[26];let h;t[27]!==x||t[28]!==g?(h=s.jsxs("div",{className:"flex items-start gap-3 min-w-0",children:[g,x]}),t[27]=x,t[28]=g,t[29]=h):h=t[29];let y;t[30]!==o?(y=o("settings.syncedRepos.remove"),t[30]=o,t[31]=y):y=t[31];let j;t[32]!==i||t[33]!==y?(j=s.jsx(te,{variant:"outline",size:"sm",onClick:i,children:y}),t[32]=i,t[33]=y,t[34]=j):j=t[34];let N;return t[35]!==h||t[36]!==j?(N=s.jsxs("div",{className:"flex items-center justify-between gap-4 py-3 border-b border-border/60 last:border-b-0",children:[h,j]}),t[35]=h,t[36]=j,t[37]=N):N=t[37],N}function Me(e){const t=se.c(21),{onAdd:l}=e,i=ue();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(ge,{size:20,className:"text-muted-foreground"})}),t[0]=o):o=t[0];let u;t[1]!==i?(u=i("settings.syncedRepos.emptyTitle"),t[1]=i,t[2]=u):u=t[2];let m;t[3]!==u?(m=s.jsx("p",{className:"font-medium text-sm",children:u}),t[3]=u,t[4]=m):m=t[4];let r;t[5]!==i?(r=i("settings.syncedRepos.emptyDescription"),t[5]=i,t[6]=r):r=t[6];let f;t[7]!==r?(f=s.jsx("p",{className:"text-xs text-muted-foreground mt-1 max-w-sm",children:r}),t[7]=r,t[8]=f):f=t[8];let n;t[9]!==m||t[10]!==f?(n=s.jsxs("div",{children:[m,f]}),t[9]=m,t[10]=f,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 c;t[13]!==i?(c=i("settings.syncedRepos.addRepo"),t[13]=i,t[14]=c):c=t[14];let d;t[15]!==l||t[16]!==c?(d=s.jsxs(te,{onClick:l,size:"sm",className:"mt-2",children:[g,c]}),t[15]=l,t[16]=c,t[17]=d):d=t[17];let p;return t[18]!==n||t[19]!==d?(p=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,d]}),t[18]=n,t[19]=d,t[20]=p):p=t[20],p}function Qe(){const e=se.c(107),t=ue(),l=Ge(),i=Be(),o=He(),[u,m]=ae.useState(!1),[r,f]=ae.useState(null),[n,g]=ae.useState(""),[c,d]=ae.useState(null);let p;e[0]!==i||e[1]!==r||e[2]!==t||e[3]!==n?(p=function(){!r||!n.trim()||i.mutate({repositoryId:r.id,volume:n.trim()},{onSuccess:v=>{f(null),ce.success(t("settings.syncedRepos.created",{volume:v.volume}))},onError:v=>{ce.error(v instanceof Error?v.message:t("settings.syncedRepos.failed"))}})},e[0]=i,e[1]=r,e[2]=t,e[3]=n,e[4]=p):p=e[4];const S=p;let _;e[5]!==c||e[6]!==o||e[7]!==t?(_=function(){c&&o.mutate(c.id,{onSuccess:()=>ce.success(t("settings.syncedRepos.removed")),onError:v=>ce.error(v instanceof Error?v.message:t("settings.syncedRepos.failed")),onSettled:()=>d(null)})},e[5]=c,e[6]=o,e[7]=t,e[8]=_):_=e[8];const D=_;if(l.isPending){let a;return e[9]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(be,{className:"h-32 w-full"}),e[9]=a):a=e[9],a}let b;e[10]!==l.data?(b=l.data??[],e[10]=l.data,e[11]=b):b=e[11];const R=b;let x;e[12]!==t?(x=t("settings.syncedRepos.pageDescription"),e[12]=t,e[13]=x):x=e[13];let h;e[14]!==x?(h=s.jsx("p",{className:"text-sm text-muted-foreground",children:x}),e[14]=x,e[15]=h):h=e[15];let y;e[16]!==R||e[17]!==t?(y=R.length===0?s.jsx(Me,{onAdd:()=>m(!0)}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"flex items-center justify-end",children:s.jsxs(te,{onClick:()=>m(!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:R.map(a=>s.jsx(Ke,{config:a,onRemove:()=>d(a)},a.id))})]}),e[16]=R,e[17]=t,e[18]=y):y=e[18];let j;e[19]!==t?(j=t("settings.syncedRepos.pickerTitle"),e[19]=t,e[20]=j):j=e[20];let N;e[21]===Symbol.for("react.memo_cache_sentinel")?(N=a=>{const{repository:v}=a;m(!1),f(v),g(Ve(v.path.split("/").at(-1)??v.path))},e[21]=N):N=e[21];let C;e[22]!==u||e[23]!==j?(C=s.jsx(Te,{open:u,onOpenChange:m,title:j,onPicked:N}),e[22]=u,e[23]=j,e[24]=C):C=e[24];const de=r!==null;let ie;e[25]===Symbol.for("react.memo_cache_sentinel")?(ie=a=>{a||f(null)},e[25]=ie):ie=e[25];let P;e[26]!==t?(P=t("settings.syncedRepos.nameDialogTitle"),e[26]=t,e[27]=P):P=e[27];let A;e[28]!==P?(A=s.jsx(Ae,{children:P}),e[28]=P,e[29]=A):A=e[29];const me=r?r.path:"";let k;e[30]!==t||e[31]!==me?(k=t("settings.syncedRepos.nameDialogDescription",{repo:me}),e[30]=t,e[31]=me,e[32]=k):k=e[32];let w;e[33]!==k?(w=s.jsx(ke,{children:k}),e[33]=k,e[34]=w):w=e[34];let z;e[35]!==A||e[36]!==w?(z=s.jsxs(we,{children:[A,w]}),e[35]=A,e[36]=w,e[37]=z):z=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 E;e[39]!==t?(E=t("settings.syncedRepos.namePlaceholder"),e[39]=t,e[40]=E):E=e[40];let O;e[41]!==E||e[42]!==n?(O=s.jsx(Ie,{value:n,onChange:le,placeholder:E,autoFocus:!0}),e[41]=E,e[42]=n,e[43]=O):O=e[43];let ne;e[44]===Symbol.for("react.memo_cache_sentinel")?(ne=()=>f(null),e[44]=ne):ne=e[44];const he=i.isPending;let I;e[45]!==t?(I=t("settings.syncedRepos.cancel"),e[45]=t,e[46]=I):I=e[46];let $;e[47]!==i.isPending||e[48]!==I?($=s.jsx(te,{variant:"outline",onClick:ne,disabled:he,children:I}),e[47]=i.isPending,e[48]=I,e[49]=$):$=e[49];let F;e[50]!==i.isPending||e[51]!==n?(F=!n.trim()||i.isPending,e[50]=i.isPending,e[51]=n,e[52]=F):F=e[52];let T;e[53]!==i.isPending||e[54]!==t?(T=i.isPending?t("settings.syncedRepos.creating"):t("settings.syncedRepos.create"),e[53]=i.isPending,e[54]=t,e[55]=T):T=e[55];let G;e[56]!==S||e[57]!==F||e[58]!==T?(G=s.jsx(te,{disabled:F,onClick:S,children:T}),e[56]=S,e[57]=F,e[58]=T,e[59]=G):G=e[59];let B;e[60]!==$||e[61]!==G?(B=s.jsxs(ze,{children:[$,G]}),e[60]=$,e[61]=G,e[62]=B):B=e[62];let H;e[63]!==z||e[64]!==O||e[65]!==B?(H=s.jsxs(Ee,{className:"sm:max-w-sm",children:[z,O,B]}),e[63]=z,e[64]=O,e[65]=B,e[66]=H):H=e[66];let q;e[67]!==H||e[68]!==de?(q=s.jsx(Oe,{open:de,onOpenChange:ie,children:H}),e[67]=H,e[68]=de,e[69]=q):q=e[69];const fe=c!==null;let oe;e[70]===Symbol.for("react.memo_cache_sentinel")?(oe=a=>{a||d(null)},e[70]=oe):oe=e[70];const pe=c?.volume??"";let L;e[71]!==t||e[72]!==pe?(L=t("settings.syncedRepos.removeTitle",{volume:pe}),e[71]=t,e[72]=pe,e[73]=L):L=e[73];let V;e[74]!==L?(V=s.jsx(Re,{children:L}),e[74]=L,e[75]=V):V=e[75];let J;e[76]!==t?(J=t("settings.syncedRepos.removeDescription"),e[76]=t,e[77]=J):J=e[77];let K;e[78]!==J?(K=s.jsx(ve,{children:J}),e[78]=J,e[79]=K):K=e[79];let M;e[80]!==V||e[81]!==K?(M=s.jsxs(Se,{children:[V,K]}),e[80]=V,e[81]=K,e[82]=M):M=e[82];let Q;e[83]!==t?(Q=t("settings.syncedRepos.cancel"),e[83]=t,e[84]=Q):Q=e[84];let U;e[85]!==Q?(U=s.jsx(De,{children:Q}),e[85]=Q,e[86]=U):U=e[86];let W;e[87]!==t?(W=t("settings.syncedRepos.remove"),e[87]=t,e[88]=W):W=e[88];let X;e[89]!==D||e[90]!==W?(X=s.jsx(Ne,{onClick:D,children:W}),e[89]=D,e[90]=W,e[91]=X):X=e[91];let Y;e[92]!==U||e[93]!==X?(Y=s.jsxs(_e,{children:[U,X]}),e[92]=U,e[93]=X,e[94]=Y):Y=e[94];let Z;e[95]!==M||e[96]!==Y?(Z=s.jsxs(Ce,{children:[M,Y]}),e[95]=M,e[96]=Y,e[97]=Z):Z=e[97];let ee;e[98]!==fe||e[99]!==Z?(ee=s.jsx(Pe,{open:fe,onOpenChange:oe,children:Z}),e[98]=fe,e[99]=Z,e[100]=ee):ee=e[100];let re;return e[101]!==q||e[102]!==h||e[103]!==ee||e[104]!==y||e[105]!==C?(re=s.jsxs(s.Fragment,{children:[h,y,C,q,ee]}),e[101]=q,e[102]=h,e[103]=ee,e[104]=y,e[105]=C,e[106]=re):re=e[106],re}function Ue(){const e=se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(ye,{group:"storage",children:s.jsx(Qe,{})}),e[0]=t):t=e[0],t}function wt(){const e=se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(Le,{capability:"file-configs:manage",area:"files",children:s.jsx(Ue,{})}),e[0]=t):t=e[0],t}export{wt as default};
|
|
1
|
+
import{c as se,j as s,ds as ye,b as ue,r as ae,B as te,l as je,t as ce,b8 as be}from"./index-DmMXAqxC.js";import{i as ge}from"./GitBranch01-8UQB0WNt.js";import{s as xe}from"./Plus-BB9moQlk.js";import{c as Re,d as ve,b as Se,f as De,g as Ne,e as _e,a as Ce,A as Pe}from"./alert-dialog-B99tFCPN.js";import{d as Ae,h as ke,c as we,e as ze,b as Ee,D as Oe}from"./dialog-Cb73HT1O.js";import{I as Ie}from"./input-CgZSXYN4.js";import{u as $e,G as Fe,R as Te}from"./repository-picker--o_9En2b.js";import{a as Ge,d as Be,h as He,t as qe}from"./cards-JFqjIjqN.js";import{R as Le}from"./require-capability-rulhqizd.js";import"./ChevronRight-C307yAT0.js";import"./label-C_Rf5I6_.js";import"./github-icon-DuVGJXID.js";import"./useInfiniteQuery-DvifJ2DA.js";import"./infiniteQueryObserver-Dz5h94ot.js";import"./ArrowLeft-DcYZMYcp.js";import"./avatar-eSpZRnCw.js";import"./User01-BHYLCtnk.js";import"./collection-search-DmicjHft.js";import"./SearchMd-DRTW6Eci.js";import"./use-debounced-value-3lIFyc-B.js";import"./folder-icon-DA126rB1.js";import"./Eye-C9BK0WpO.js";import"./DotsVertical-BCEQFCLt.js";import"./Download01-DmH-thwp.js";import"./Share07-D21XeGjn.js";import"./Globe01-66hYLRXC.js";import"./Key01-eG7JQJD3.js";import"./Palette-CFejZrzA.js";import"./Trash01-BhSt7amx.js";import"./Zap-D1eUhlLV.js";import"./dropdown-menu-D5sP40Bh.js";import"./Check-Bum7-gpx.js";import"./file-type-icon-oPj2x3Y3.js";import"./access-gate-C9n3qFMJ.js";import"./capability-load-error-C2MVQTkh.js";function Ve(e){return e.toLowerCase().replace(/[^a-z0-9_.-]+/g,"-").replace(/^[.-]+|[.-]+$/g,"").slice(0,128)}function Je(e,t){return e.lastSyncError?{label:e.lastSyncError,error:!0}:e.lastSyncedAt?{label:t("library.syncedRepos.syncedAgo",{ago:qe(e.lastSyncedAt)}),error:!1}:{label:t("library.syncedRepos.waitingFirstSync"),error:!1}}function Ke(e){const t=se.c(38),{config:l,onRemove:i}=e,o=ue();let u;t[0]!==l||t[1]!==o?(u=Je(l,o),t[0]=l,t[1]=o,t[2]=u):u=t[2];const m=u,r=$e();let f;t[3]!==l.repositoryId||t[4]!==r.data?(f=r.data?.find(C=>C.id===l.repositoryId),t[3]=l.repositoryId,t[4]=r.data,t[5]=f):f=t[5];const n=f;let g;t[6]!==n?(g=s.jsx("div",{className:"size-9 rounded-md bg-muted flex items-center justify-center shrink-0",children:n?s.jsx(Fe,{provider:n.provider,size:16,className:"text-muted-foreground"}):s.jsx(ge,{size:16,className:"text-muted-foreground"})}),t[6]=n,t[7]=g):g=t[7];const c=n?.path??`${l.repoOwner}/${l.repoName}`;let d;t[8]!==c?(d=s.jsx("span",{className:"font-medium text-sm truncate",children:c}),t[8]=c,t[9]=d):d=t[9];let p;t[10]!==l.ref?(p=s.jsxs("span",{className:"text-xs text-muted-foreground shrink-0",children:["@",l.ref]}),t[10]=l.ref,t[11]=p):p=t[11];let S;t[12]!==d||t[13]!==p?(S=s.jsxs("div",{className:"flex items-center gap-2",children:[d,p]}),t[12]=d,t[13]=p,t[14]=S):S=t[14];const _=m.error?"text-destructive":"text-muted-foreground";let D;t[15]!==_?(D=je("text-xs mt-0.5 truncate",_),t[15]=_,t[16]=D):D=t[16];let b;t[17]!==l.volume||t[18]!==o?(b=o("settings.syncedRepos.rowSubtitle",{volume:l.volume}),t[17]=l.volume,t[18]=o,t[19]=b):b=t[19];let R;t[20]!==m.label||t[21]!==b||t[22]!==D?(R=s.jsxs("p",{className:D,children:[b," ·"," ",m.label]}),t[20]=m.label,t[21]=b,t[22]=D,t[23]=R):R=t[23];let x;t[24]!==R||t[25]!==S?(x=s.jsxs("div",{className:"min-w-0",children:[S,R]}),t[24]=R,t[25]=S,t[26]=x):x=t[26];let h;t[27]!==x||t[28]!==g?(h=s.jsxs("div",{className:"flex items-start gap-3 min-w-0",children:[g,x]}),t[27]=x,t[28]=g,t[29]=h):h=t[29];let y;t[30]!==o?(y=o("settings.syncedRepos.remove"),t[30]=o,t[31]=y):y=t[31];let j;t[32]!==i||t[33]!==y?(j=s.jsx(te,{variant:"outline",size:"sm",onClick:i,children:y}),t[32]=i,t[33]=y,t[34]=j):j=t[34];let N;return t[35]!==h||t[36]!==j?(N=s.jsxs("div",{className:"flex items-center justify-between gap-4 py-3 border-b border-border/60 last:border-b-0",children:[h,j]}),t[35]=h,t[36]=j,t[37]=N):N=t[37],N}function Me(e){const t=se.c(21),{onAdd:l}=e,i=ue();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(ge,{size:20,className:"text-muted-foreground"})}),t[0]=o):o=t[0];let u;t[1]!==i?(u=i("settings.syncedRepos.emptyTitle"),t[1]=i,t[2]=u):u=t[2];let m;t[3]!==u?(m=s.jsx("p",{className:"font-medium text-sm",children:u}),t[3]=u,t[4]=m):m=t[4];let r;t[5]!==i?(r=i("settings.syncedRepos.emptyDescription"),t[5]=i,t[6]=r):r=t[6];let f;t[7]!==r?(f=s.jsx("p",{className:"text-xs text-muted-foreground mt-1 max-w-sm",children:r}),t[7]=r,t[8]=f):f=t[8];let n;t[9]!==m||t[10]!==f?(n=s.jsxs("div",{children:[m,f]}),t[9]=m,t[10]=f,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 c;t[13]!==i?(c=i("settings.syncedRepos.addRepo"),t[13]=i,t[14]=c):c=t[14];let d;t[15]!==l||t[16]!==c?(d=s.jsxs(te,{onClick:l,size:"sm",className:"mt-2",children:[g,c]}),t[15]=l,t[16]=c,t[17]=d):d=t[17];let p;return t[18]!==n||t[19]!==d?(p=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,d]}),t[18]=n,t[19]=d,t[20]=p):p=t[20],p}function Qe(){const e=se.c(107),t=ue(),l=Ge(),i=Be(),o=He(),[u,m]=ae.useState(!1),[r,f]=ae.useState(null),[n,g]=ae.useState(""),[c,d]=ae.useState(null);let p;e[0]!==i||e[1]!==r||e[2]!==t||e[3]!==n?(p=function(){!r||!n.trim()||i.mutate({repositoryId:r.id,volume:n.trim()},{onSuccess:v=>{f(null),ce.success(t("settings.syncedRepos.created",{volume:v.volume}))},onError:v=>{ce.error(v instanceof Error?v.message:t("settings.syncedRepos.failed"))}})},e[0]=i,e[1]=r,e[2]=t,e[3]=n,e[4]=p):p=e[4];const S=p;let _;e[5]!==c||e[6]!==o||e[7]!==t?(_=function(){c&&o.mutate(c.id,{onSuccess:()=>ce.success(t("settings.syncedRepos.removed")),onError:v=>ce.error(v instanceof Error?v.message:t("settings.syncedRepos.failed")),onSettled:()=>d(null)})},e[5]=c,e[6]=o,e[7]=t,e[8]=_):_=e[8];const D=_;if(l.isPending){let a;return e[9]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(be,{className:"h-32 w-full"}),e[9]=a):a=e[9],a}let b;e[10]!==l.data?(b=l.data??[],e[10]=l.data,e[11]=b):b=e[11];const R=b;let x;e[12]!==t?(x=t("settings.syncedRepos.pageDescription"),e[12]=t,e[13]=x):x=e[13];let h;e[14]!==x?(h=s.jsx("p",{className:"text-sm text-muted-foreground",children:x}),e[14]=x,e[15]=h):h=e[15];let y;e[16]!==R||e[17]!==t?(y=R.length===0?s.jsx(Me,{onAdd:()=>m(!0)}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"flex items-center justify-end",children:s.jsxs(te,{onClick:()=>m(!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:R.map(a=>s.jsx(Ke,{config:a,onRemove:()=>d(a)},a.id))})]}),e[16]=R,e[17]=t,e[18]=y):y=e[18];let j;e[19]!==t?(j=t("settings.syncedRepos.pickerTitle"),e[19]=t,e[20]=j):j=e[20];let N;e[21]===Symbol.for("react.memo_cache_sentinel")?(N=a=>{const{repository:v}=a;m(!1),f(v),g(Ve(v.path.split("/").at(-1)??v.path))},e[21]=N):N=e[21];let C;e[22]!==u||e[23]!==j?(C=s.jsx(Te,{open:u,onOpenChange:m,title:j,onPicked:N}),e[22]=u,e[23]=j,e[24]=C):C=e[24];const de=r!==null;let ie;e[25]===Symbol.for("react.memo_cache_sentinel")?(ie=a=>{a||f(null)},e[25]=ie):ie=e[25];let P;e[26]!==t?(P=t("settings.syncedRepos.nameDialogTitle"),e[26]=t,e[27]=P):P=e[27];let A;e[28]!==P?(A=s.jsx(Ae,{children:P}),e[28]=P,e[29]=A):A=e[29];const me=r?r.path:"";let k;e[30]!==t||e[31]!==me?(k=t("settings.syncedRepos.nameDialogDescription",{repo:me}),e[30]=t,e[31]=me,e[32]=k):k=e[32];let w;e[33]!==k?(w=s.jsx(ke,{children:k}),e[33]=k,e[34]=w):w=e[34];let z;e[35]!==A||e[36]!==w?(z=s.jsxs(we,{children:[A,w]}),e[35]=A,e[36]=w,e[37]=z):z=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 E;e[39]!==t?(E=t("settings.syncedRepos.namePlaceholder"),e[39]=t,e[40]=E):E=e[40];let O;e[41]!==E||e[42]!==n?(O=s.jsx(Ie,{value:n,onChange:le,placeholder:E,autoFocus:!0}),e[41]=E,e[42]=n,e[43]=O):O=e[43];let ne;e[44]===Symbol.for("react.memo_cache_sentinel")?(ne=()=>f(null),e[44]=ne):ne=e[44];const he=i.isPending;let I;e[45]!==t?(I=t("settings.syncedRepos.cancel"),e[45]=t,e[46]=I):I=e[46];let $;e[47]!==i.isPending||e[48]!==I?($=s.jsx(te,{variant:"outline",onClick:ne,disabled:he,children:I}),e[47]=i.isPending,e[48]=I,e[49]=$):$=e[49];let F;e[50]!==i.isPending||e[51]!==n?(F=!n.trim()||i.isPending,e[50]=i.isPending,e[51]=n,e[52]=F):F=e[52];let T;e[53]!==i.isPending||e[54]!==t?(T=i.isPending?t("settings.syncedRepos.creating"):t("settings.syncedRepos.create"),e[53]=i.isPending,e[54]=t,e[55]=T):T=e[55];let G;e[56]!==S||e[57]!==F||e[58]!==T?(G=s.jsx(te,{disabled:F,onClick:S,children:T}),e[56]=S,e[57]=F,e[58]=T,e[59]=G):G=e[59];let B;e[60]!==$||e[61]!==G?(B=s.jsxs(ze,{children:[$,G]}),e[60]=$,e[61]=G,e[62]=B):B=e[62];let H;e[63]!==z||e[64]!==O||e[65]!==B?(H=s.jsxs(Ee,{className:"sm:max-w-sm",children:[z,O,B]}),e[63]=z,e[64]=O,e[65]=B,e[66]=H):H=e[66];let q;e[67]!==H||e[68]!==de?(q=s.jsx(Oe,{open:de,onOpenChange:ie,children:H}),e[67]=H,e[68]=de,e[69]=q):q=e[69];const fe=c!==null;let oe;e[70]===Symbol.for("react.memo_cache_sentinel")?(oe=a=>{a||d(null)},e[70]=oe):oe=e[70];const pe=c?.volume??"";let L;e[71]!==t||e[72]!==pe?(L=t("settings.syncedRepos.removeTitle",{volume:pe}),e[71]=t,e[72]=pe,e[73]=L):L=e[73];let V;e[74]!==L?(V=s.jsx(Re,{children:L}),e[74]=L,e[75]=V):V=e[75];let J;e[76]!==t?(J=t("settings.syncedRepos.removeDescription"),e[76]=t,e[77]=J):J=e[77];let K;e[78]!==J?(K=s.jsx(ve,{children:J}),e[78]=J,e[79]=K):K=e[79];let M;e[80]!==V||e[81]!==K?(M=s.jsxs(Se,{children:[V,K]}),e[80]=V,e[81]=K,e[82]=M):M=e[82];let Q;e[83]!==t?(Q=t("settings.syncedRepos.cancel"),e[83]=t,e[84]=Q):Q=e[84];let U;e[85]!==Q?(U=s.jsx(De,{children:Q}),e[85]=Q,e[86]=U):U=e[86];let W;e[87]!==t?(W=t("settings.syncedRepos.remove"),e[87]=t,e[88]=W):W=e[88];let X;e[89]!==D||e[90]!==W?(X=s.jsx(Ne,{onClick:D,children:W}),e[89]=D,e[90]=W,e[91]=X):X=e[91];let Y;e[92]!==U||e[93]!==X?(Y=s.jsxs(_e,{children:[U,X]}),e[92]=U,e[93]=X,e[94]=Y):Y=e[94];let Z;e[95]!==M||e[96]!==Y?(Z=s.jsxs(Ce,{children:[M,Y]}),e[95]=M,e[96]=Y,e[97]=Z):Z=e[97];let ee;e[98]!==fe||e[99]!==Z?(ee=s.jsx(Pe,{open:fe,onOpenChange:oe,children:Z}),e[98]=fe,e[99]=Z,e[100]=ee):ee=e[100];let re;return e[101]!==q||e[102]!==h||e[103]!==ee||e[104]!==y||e[105]!==C?(re=s.jsxs(s.Fragment,{children:[h,y,C,q,ee]}),e[101]=q,e[102]=h,e[103]=ee,e[104]=y,e[105]=C,e[106]=re):re=e[106],re}function Ue(){const e=se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(ye,{group:"storage",children:s.jsx(Qe,{})}),e[0]=t):t=e[0],t}function wt(){const e=se.c(1);let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=s.jsx(Le,{capability:"file-configs:manage",area:"files",children:s.jsx(Ue,{})}),e[0]=t):t=e[0],t}export{wt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c,l as i,j as r}from"./index-
|
|
1
|
+
import{c,l as i,j as r}from"./index-DmMXAqxC.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 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("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 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("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,p as a,b,d as c,m as d,f as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as v,j as d,dt as k,br as p,bx as T,du as y,bt as M,bw as P,bu as S,by as F,dv as V,cJ as D,c as x,l as g}from"./index-
|
|
1
|
+
import{r as v,j as d,dt as k,br as p,bx as T,du as y,bt as M,bw as P,bu as S,by as F,dv as V,cJ as D,c as x,l as g}from"./index-DmMXAqxC.js";var m="Tabs",[G]=M(m,[y]),w=y(),[L,h]=G(m),C=v.forwardRef((n,e)=>{const{__scopeTabs:a,value:t,onValueChange:r,defaultValue:s,orientation:o="horizontal",dir:i,activationMode:l="automatic",...f}=n,u=P(i),[c,b]=S({prop:t,onChange:r,defaultProp:s??"",caller:m});return d.jsx(L,{scope:a,baseId:F(),value:c,onValueChange:b,orientation:o,dir:u,activationMode:l,children:d.jsx(p.div,{dir:u,"data-orientation":o,...f,ref:e})})});C.displayName=m;var N="TabsList",j=v.forwardRef((n,e)=>{const{__scopeTabs:a,loop:t=!0,...r}=n,s=h(N,a),o=w(a);return d.jsx(V,{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=N;var I="TabsTrigger",_=v.forwardRef((n,e)=>{const{__scopeTabs:a,value:t,disabled:r=!1,...s}=n,o=h(I,a),i=w(a),l=E(o.baseId,t),f=$(o.baseId,t),u=t===o.value;return d.jsx(k,{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=$(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(D,{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 $(n,e){return`${n}-content-${e}`}var z=C,K=j,B=_,q=A;function J(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(z,{"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 O(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(K,{"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(q,{"data-slot":"tabs-content",className:r,...t}),e[5]=t,e[6]=r,e[7]=s):s=e[7],s}export{U as T,J as a,Q as b,O as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{o as s}from"./schema-
|
|
1
|
+
import{o as s}from"./schema-CSGmlZMm.js";const u="super-agent",o=["#9ca3af","#ef4444","#f97316","#f59e0b","#22c55e","#3b82f6","#a855f7","#ec4899"],c=o[0];function T(e){return o[e%o.length]??c}function A(e){return e.createdBy==="system"}const p="chore",l=["reviewer"],_={reviewer:"Reviewer"},d=["QA Agent","Code Reviewer"];function w(e){return e?.reviewer_enabled===void 0&&e?.qa_agent_enabled===!1&&e?.code_reviewer_enabled===!1?!1:s(e,"reviewer_enabled")}const R=["triage","todo","in_progress","in_review","approved","merged","post_deploy_validation","done","archived"],D=["approved","merged","post_deploy_validation"];function S(e,t){return e?[_[t],...d].some(r=>e.startsWith(`${r}:`)):!1}function E(e,t){if(t)return new Date(t).getTime();let r=0;for(const n of e)n.action==="status_changed"&&n.data?.to==="in_review"&&(r=Math.max(r,new Date(n.occurredAt).getTime()));return r}function v(e,t){const r=E(e,t.cycleStartedAt),n=new Map;for(const a of e){if(a.action!=="review_approved"&&a.action!=="review_changes_requested"||new Date(a.occurredAt).getTime()<r)continue;const i=a.data??{};if(i.reviewer==="reviewer")if(a.action==="review_approved"){if(t?.verifiedOnly&&i.verified!==!0)continue;n.set("reviewer","approved")}else n.set("reviewer","changes_requested")}return n}function g(e,t,r){if(t.length===0)return!1;const n=v(e,r);return t.every(a=>n.get(a)==="approved")}const L="task-board.item.updated",m="task-board.item.deleted",b="task-board.item.prs.updated",C=4e3;export{R as C,p as D,l as R,u as S,m as T,g as a,S as b,c,D as d,L as e,b as f,C as g,A as i,T as n,w as r};
|