decocms 4.356.2 → 4.356.3
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-DeXfw3DH.js → AlertCircle-B83HlTRp.js} +1 -1
- package/dist/client/assets/{AreaChart-CPv7DteK.js → AreaChart-DGig-3fa.js} +1 -1
- package/dist/client/assets/{ArrowLeft-BsRBcR7k.js → ArrowLeft-MU7eyECU.js} +1 -1
- package/dist/client/assets/{ArrowRight-Br4r7pwg.js → ArrowRight-BhtsTl4R.js} +1 -1
- package/dist/client/assets/{ArrowUp-eSS406es.js → ArrowUp-u-jSWtya.js} +1 -1
- package/dist/client/assets/{Check-BBi_O2LB.js → Check-C1Cm0upn.js} +1 -1
- package/dist/client/assets/{CheckCircle-DQQm8ch4.js → CheckCircle-C29yHiyp.js} +1 -1
- package/dist/client/assets/{ChevronRight-B22Moez_.js → ChevronRight-CMoietN4.js} +1 -1
- package/dist/client/assets/{ChevronSelectorVertical-DRZ4gkV3.js → ChevronSelectorVertical-DxTLSOEp.js} +1 -1
- package/dist/client/assets/{ChevronUp-DSVxpGju.js → ChevronUp-wXvlD98x.js} +1 -1
- package/dist/client/assets/{Copy01-Cc8n0Ba4.js → Copy01-BBYYDxmw.js} +1 -1
- package/dist/client/assets/{CreditCard01-Cv5ITpta.js → CreditCard01-CSChXZEy.js} +1 -1
- package/dist/client/assets/{DotsVertical-CIP9Nl0k.js → DotsVertical-CPkjWad8.js} +1 -1
- package/dist/client/assets/{Download01-BMiKF4vk.js → Download01-DYoJd31b.js} +1 -1
- package/dist/client/assets/{ErrorBarContext-DZns3SAi.js → ErrorBarContext-DWr7Uuaz.js} +1 -1
- package/dist/client/assets/{Eye-BoL3xwzV.js → Eye-BJnByD7w.js} +1 -1
- package/dist/client/assets/{GitBranch01-CoEwe3ey.js → GitBranch01-DaFgW-mx.js} +1 -1
- package/dist/client/assets/{Globe01-D_tKhOLC.js → Globe01-B_4E2EqV.js} +1 -1
- package/dist/client/assets/{HardDrive-CeTPrLdV.js → HardDrive-Cp7Sc7F_.js} +1 -1
- package/dist/client/assets/{Image01-D2YbNIYT.js → Image01-BeEaLIHe.js} +1 -1
- package/dist/client/assets/{Key01-DKCA1Tnq.js → Key01-DdeaR-th.js} +1 -1
- package/dist/client/assets/{Link01-DQ70lFlQ.js → Link01-Cu8EdruK.js} +1 -1
- package/dist/client/assets/{LinkExternal01-B8GzK7ER.js → LinkExternal01-CUv-hl4_.js} +1 -1
- package/dist/client/assets/{Monitor01-Yeg984fl.js → Monitor01-DSR-l99I.js} +1 -1
- package/dist/client/assets/{Package-CxCTcL6L.js → Package-C_fhjuZE.js} +1 -1
- package/dist/client/assets/{Palette-ajTtDJW6.js → Palette-DBUa9t7X.js} +1 -1
- package/dist/client/assets/{Play-0ktNAbPi.js → Play-BiN309oC.js} +1 -1
- package/dist/client/assets/{Plus-C0NWoh9T.js → Plus-D3Tb0If6.js} +1 -1
- package/dist/client/assets/{SearchLg-BgA05EHK.js → SearchLg-DlfSk19V.js} +1 -1
- package/dist/client/assets/{SearchMd-oWTKVUjk.js → SearchMd-BAk_50U4.js} +1 -1
- package/dist/client/assets/{Sector-pi459LuN.js → Sector-CUcRKjHK.js} +1 -1
- package/dist/client/assets/{Settings02-BgDAmtwC.js → Settings02-CVMTaKQL.js} +1 -1
- package/dist/client/assets/{Share07-cIietouI.js → Share07-ASu2pbl8.js} +1 -1
- package/dist/client/assets/{Shield01-DJKVjmYu.js → Shield01-DmT2tZEl.js} +1 -1
- package/dist/client/assets/{Stars01-BtEjDnlJ.js → Stars01-BDLbXt7J.js} +1 -1
- package/dist/client/assets/{Sun-Bj1wxgQu.js → Sun-BEQkr7Wf.js} +1 -1
- package/dist/client/assets/{Tool01-36BH9Lfu.js → Tool01-CYw1BQLo.js} +1 -1
- package/dist/client/assets/{Tool02-BB0DnTeE.js → Tool02-BxhhJDmk.js} +1 -1
- package/dist/client/assets/{Trash01-BZPG63MT.js → Trash01-BA0ARnZR.js} +1 -1
- package/dist/client/assets/{TrendUp01-CV5BO_Jc.js → TrendUp01-DaNo4Sjt.js} +1 -1
- package/dist/client/assets/{Upload01-DP0vQQKt.js → Upload01-DjFmWG9f.js} +1 -1
- package/dist/client/assets/{User01-xnVK2xE4.js → User01-BghbbNjt.js} +1 -1
- package/dist/client/assets/{UserSquare-Brq8ZOAk.js → UserSquare-I8rcvU-L.js} +1 -1
- package/dist/client/assets/{Users01-DKKqtuHP.js → Users01-BpozB6Om.js} +1 -1
- package/dist/client/assets/{Users03-BSbySSqf.js → Users03-CPQekfCP.js} +1 -1
- package/dist/client/assets/{XCircle-BUI7KQFj.js → XCircle-Bmg3wu02.js} +1 -1
- package/dist/client/assets/{XClose-DHKiEI8G.js → XClose-D-dpDvTb.js} +1 -1
- package/dist/client/assets/{Zap-DjgdzPMR.js → Zap-D5XRAE1P.js} +1 -1
- package/dist/client/assets/{ZoomOut-CoETMI1M.js → ZoomOut-CB8d-SOp.js} +1 -1
- package/dist/client/assets/{access-gate-Bgk1AnfB.js → access-gate-DuEuzXMY.js} +1 -1
- package/dist/client/assets/{agent-icon-DLDeYH2t.js → agent-icon-Dn6fmgeY.js} +1 -1
- package/dist/client/assets/{agents-list-CqtTKQzs.js → agents-list-BcdFHPoc.js} +1 -1
- package/dist/client/assets/{ai-providers-DCaQTiKv.js → ai-providers-B308qHAy.js} +1 -1
- package/dist/client/assets/{alert-CNSpeELR.js → alert-DYwzmnHJ.js} +1 -1
- package/dist/client/assets/{alert-dialog-WdxFSf6L.js → alert-dialog-Cmky_l_O.js} +1 -1
- package/dist/client/assets/{analytics-tab-CssCadJy.js → analytics-tab-BZ_0Ex1D.js} +1 -1
- package/dist/client/assets/{api-keys-Bcr3KsKD.js → api-keys-DgGYFO-X.js} +1 -1
- package/dist/client/assets/api-keys-DgHu3c5T.js +1 -0
- package/dist/client/assets/app-editor-Cj9IEB1u.js +1 -0
- package/dist/client/assets/{auth-4merKc2Y.js → auth-DSkpelBj.js} +1 -1
- package/dist/client/assets/{auth-catchall-B1qBOKqF.js → auth-catchall-CSC4MrxC.js} +1 -1
- package/dist/client/assets/{auth-entry-Bt75RjYj.js → auth-entry-C9kPKDst.js} +1 -1
- package/dist/client/assets/{auth-split-layout-LyPcuvle.js → auth-split-layout-mMCikiPZ.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-C_0G8We7.js → authenticate-and-persist-oauth-fRjx5Wtb.js} +1 -1
- package/dist/client/assets/{automation-list-row-Dtyl4ZTk.js → automation-list-row-gXmMVF3X.js} +1 -1
- package/dist/client/assets/{automation-runs-lWWesVU8.js → automation-runs-KXiKFGqx.js} +1 -1
- package/dist/client/assets/{automations-C0v3rm7l.js → automations-dzdRSfxi.js} +1 -1
- package/dist/client/assets/{autosend-BFGLO-gB.js → autosend-C0Gcwpq6.js} +1 -1
- package/dist/client/assets/{avatar-BtvgpUQu.js → avatar-BzqTc1Lg.js} +1 -1
- package/dist/client/assets/{badge-CCYpKX1i.js → badge-cRhwGlTV.js} +1 -1
- package/dist/client/assets/{block-document-7bZFXtf8.js → block-document-CTytzqRm.js} +1 -1
- package/dist/client/assets/{breadcrumb-B_F00hJ0.js → breadcrumb-xs6k4cAW.js} +1 -1
- package/dist/client/assets/{buckets-CfJroiA6.js → buckets-BHsaxKHz.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-BU1ehTbM.js → bulk-category-panel-C0WKYrEY.js} +1 -1
- package/dist/client/assets/{capability-load-error-BjPQlnzK.js → capability-load-error-Ds6pgJ8G.js} +1 -1
- package/dist/client/assets/{cards-CKmKiyPa.js → cards-CsVtmRF0.js} +1 -1
- package/dist/client/assets/{category-editor-DZPnXSAP.js → category-editor-hvL0A0lV.js} +1 -1
- package/dist/client/assets/{cdn-tab-Cg_sACr9.js → cdn-tab-B7l1ecfp.js} +1 -1
- package/dist/client/assets/{chart-DxXcgb-l.js → chart-1fbhO3Z6.js} +1 -1
- package/dist/client/assets/{chat-context-Clr-423u.js → chat-context-DDV8RPjy.js} +1 -1
- package/dist/client/assets/{checkbox-PM3x_Kcj.js → checkbox-B_zXHqon.js} +1 -1
- package/dist/client/assets/{choose-editor-heCsSWeI.js → choose-editor-M3b9VBqi.js} +1 -1
- package/dist/client/assets/{cli-auth-success-rOLNt-3A.js → cli-auth-success-D1H_fInC.js} +1 -1
- package/dist/client/assets/{client-icons-BZmO2UXc.js → client-icons-BqlFCHov.js} +1 -1
- package/dist/client/assets/{collection-detail-DBEmZFI0.js → collection-detail-BvhiqZYt.js} +1 -1
- package/dist/client/assets/{collection-display-button-BwyJZxph.js → collection-display-button-C2-0c2So.js} +1 -1
- package/dist/client/assets/{collection-search-DeO0gmSf.js → collection-search-D5Adn5xn.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-DOovcnf4.js → collection-table-wrapper-ioCzHQzI.js} +1 -1
- package/dist/client/assets/{collection-tabs-CY5Bqhy2.js → collection-tabs-CDxIVkjU.js} +1 -1
- package/dist/client/assets/{command-CBtKGmqK.js → command-COB6pNlD.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-B5D4nByp.js → commerce-onboarding-ZAjMl3mo.js} +1 -1
- package/dist/client/assets/{connect-Doi_tja8.js → connect-CombQe-C.js} +1 -1
- package/dist/client/assets/{connect-layout-CeFJG4VK.js → connect-layout-dppm6KP-.js} +1 -1
- package/dist/client/assets/{connection-Dmw4Hb04.js → connection-D_Qz6vyH.js} +1 -1
- package/dist/client/assets/{connection-card-BREXoLfM.js → connection-card-DknlGB8u.js} +1 -1
- package/dist/client/assets/{connection-detail-DgPMIV20.js → connection-detail-BVKsyIxG.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-4XZDlMn9.js → connection-form-helpers-Dtdmpyj3.js} +1 -1
- package/dist/client/assets/{connections-BXmPZo8e.js → connections-DNpSF0OD.js} +1 -1
- package/dist/client/assets/{create-organization-dialog-WxIvOpxq.js → create-organization-dialog-VOYFxq9C.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-Dry_70zj.js → decopilot-sse-pool-DjB8T7vp.js} +1 -1
- package/dist/client/assets/{dialog-Ukm5OPV3.js → dialog-gZjCgYeD.js} +1 -1
- package/dist/client/assets/{domain-settings-B3a9n29q.js → domain-settings-C1aLygHa.js} +1 -1
- package/dist/client/assets/{drawer-PQWkdkQv.js → drawer-BjneUvFW.js} +1 -1
- package/dist/client/assets/{dropdown-menu-D-LKq1Ty.js → dropdown-menu-DROZ2G8-.js} +1 -1
- package/dist/client/assets/{e2e-tab-qEAdDnpX.js → e2e-tab-gqE0kkwH.js} +1 -1
- package/dist/client/assets/{editor-DX3E4m2N.js → editor-B2NffIMY.js} +1 -1
- package/dist/client/assets/{empty-state-BPA0C1qI.js → empty-state-DihXS-ol.js} +1 -1
- package/dist/client/assets/{empty-state-BZ-FN_XV.js → empty-state-DrSJt8rU.js} +1 -1
- package/dist/client/assets/{extract-connection-data-CsuagmF_.js → extract-connection-data-COu9PNlA.js} +1 -1
- package/dist/client/assets/{file-explorer-DB1F5n7M.js → file-explorer-ozifjyb_.js} +1 -1
- package/dist/client/assets/{file-type-icon-C9IcryLg.js → file-type-icon-cQHxm7jR.js} +1 -1
- package/dist/client/assets/{folder-icon-DdLT4yvh.js → folder-icon-hkT-C8S5.js} +1 -1
- package/dist/client/assets/{form-Dmuwki82.js → form-Cv8Oeawf.js} +1 -1
- package/dist/client/assets/{general-CIreeDs-.js → general-C0RfXzPc.js} +1 -1
- package/dist/client/assets/{github-icon-ezyF0naS.js → github-icon-zgo8v3_P.js} +1 -1
- package/dist/client/assets/{hooks-DtmH-v5J.js → hooks-DuzMW37-.js} +1 -1
- package/dist/client/assets/{index-BbheWoga.js → index-BW_4yJA0.js} +1 -1
- package/dist/client/assets/{index-CbVbTbTk.js → index-BXcB8auY.js} +1 -1
- package/dist/client/assets/{index-axgrMiAg.js → index-BacdMHOc.js} +1 -1
- package/dist/client/assets/{index-BtkX21YJ.js → index-CXFdd12b.js} +1 -1
- package/dist/client/assets/{index-BmG8Sp_S.js → index-CcyeIzGq.js} +1 -1
- package/dist/client/assets/{index-BvC6wQ3u.js → index-CpxcpLBV.js} +1 -1
- package/dist/client/assets/{index-DyDU6mRE.js → index-DLt6ynPa.js} +1 -1
- package/dist/client/assets/{index-DXamwEeh.js → index-DUpNPlg2.js} +1 -1
- package/dist/client/assets/{index-BeLnnvSe.js → index-GzfcBmWk.js} +1 -1
- package/dist/client/assets/{index-VAoEJtvI.js → index-RZanKJ08.js} +4 -4
- package/dist/client/assets/{index-DZBPDZBP.js → index-TrJ1WqnO.js} +1 -1
- package/dist/client/assets/{index-CZKKQKZ2.js → index-dvIknGkX.js} +47 -47
- package/dist/client/assets/{index-redirect-DRoP793V.js → index-redirect-Cdhr5zfA.js} +1 -1
- package/dist/client/assets/{infiniteQueryObserver-6JlvsRry.js → infiniteQueryObserver-DmzTFdTn.js} +1 -1
- package/dist/client/assets/{infra-billing-CR9gl2nb.js → infra-billing-DusMTa55.js} +1 -1
- package/dist/client/assets/{input-DV0zc4Ex.js → input-Buh6dWVj.js} +1 -1
- package/dist/client/assets/{integration-icon-BtFJcxte.js → integration-icon-CcimKYRX.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-DLcDeLv2.js → invite-member-dialog-B_BfIIx5.js} +1 -1
- package/dist/client/assets/{label-phMabfYY.js → label-VBERHuFX.js} +1 -1
- package/dist/client/assets/{layout-BZiRqiD1.js → layout-D5npP-5_.js} +1 -1
- package/dist/client/assets/{login-tafdJ0GU.js → login-Aer1_29S.js} +1 -1
- package/dist/client/assets/{markdown-Dyz-XGHR.js → markdown-aumjEpeh.js} +1 -1
- package/dist/client/assets/{mcp-app-renderer-D4iYl8Q6.js → mcp-app-renderer-D3aB3erB.js} +1 -1
- package/dist/client/assets/{mcp-oauth-HGr7KetU.js → mcp-oauth-CyrL7CJV.js} +1 -1
- package/dist/client/assets/{members-Dda4vV6K.js → members-Bt_WBhr8.js} +1 -1
- package/dist/client/assets/{monaco-editor-CpW797C4.js → monaco-editor-6D1hmpgD.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-COXJ6OC9.js → monitoring-stats-row-D80XGjZi.js} +1 -1
- package/dist/client/assets/{multi-select-BEZmqCq8.js → multi-select-B_O3epP-.js} +1 -1
- package/dist/client/assets/{oauth-callback-VaoJoH3L.js → oauth-callback-BqbmZtXX.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-BOabmvTh.js → oauth-callback-ai-provider-DblqbvT5.js} +1 -1
- package/dist/client/assets/{onboarding-Cx70GM9x.js → onboarding-jCJL-ria.js} +1 -1
- package/dist/client/assets/{org-layout-DUsfZHZX.js → org-layout-AeNM4Ozj.js} +1 -1
- package/dist/client/assets/{organization-choice-DjZc_C8s.js → organization-choice-B4xSsywr.js} +1 -1
- package/dist/client/assets/{orgs-CCiKAUHs.js → orgs-BUVSKRy_.js} +1 -1
- package/dist/client/assets/{page-seo-form-BdHxsJ3p.js → page-seo-form-Bmh-OzFI.js} +1 -1
- package/dist/client/assets/{popover-BOH_aFJY.js → popover-TffIuorx.js} +1 -1
- package/dist/client/assets/{post-calendar-HMKXq8oA.js → post-calendar-DDLdHdKE.js} +1 -1
- package/dist/client/assets/{post-editor-7cdQaaVS.js → post-editor-YlfqFe2G.js} +1 -1
- package/dist/client/assets/{primitives-CxHVSImV.js → primitives-eRdO7zTy.js} +1 -1
- package/dist/client/assets/{profile-D6ZFleYd.js → profile-DZVtJ6_B.js} +1 -1
- package/dist/client/assets/{project-app-view-Bn173P1O.js → project-app-view-CHTUDqFI.js} +1 -1
- package/dist/client/assets/{project-icon-CB1uAMSA.js → project-icon-CBQi2GjJ.js} +1 -1
- package/dist/client/assets/{prompts-DVOSYHsE.js → prompts-6IaVQ3Qz.js} +1 -1
- package/dist/client/assets/record-editor-DDLRQxUy.js +1 -0
- package/dist/client/assets/redirect-editor-Y5BWDjo5.js +1 -0
- package/dist/client/assets/registry-BvFOpWmN.js +2 -0
- package/dist/client/assets/{registry-layout-BAQxWmbc.js → registry-layout-e2ddlIPM.js} +1 -1
- package/dist/client/assets/{reports-M4BwGqtT.js → reports-BtKLbS1Z.js} +1 -1
- package/dist/client/assets/{repositories-C_T063XN.js → repositories-Bq6ujzHF.js} +1 -1
- package/dist/client/assets/{repository-import-picker-CjGR_K5h.js → repository-import-picker-Bq68ucTZ.js} +1 -1
- package/dist/client/assets/{repository-picker-_m9oBn7c.js → repository-picker-QSLXTkD6.js} +1 -1
- package/dist/client/assets/{require-capability-BxxlOj94.js → require-capability-Cg-qIce-.js} +1 -1
- package/dist/client/assets/{required-auth-layout-CyVuDQYT.js → required-auth-layout-6hi-PSzK.js} +1 -1
- package/dist/client/assets/{reset-password-DkBsWuQv.js → reset-password-Cj7bUkhw.js} +1 -1
- package/dist/client/assets/{review-settings-setigNEQ.js → review-settings-B--_jPmW.js} +1 -1
- package/dist/client/assets/{roles-DFecADSy.js → roles-C12DcAw0.js} +1 -1
- package/dist/client/assets/{schema-DWDPSE-2.js → schema-B6pzi_8u.js} +1 -1
- package/dist/client/assets/{scroll-area-BZJillcg.js → scroll-area-ZRSKjRor.js} +1 -1
- package/dist/client/assets/{search-input-D1Iyu2yo.js → search-input-DtX6-vnb.js} +1 -1
- package/dist/client/assets/{secrets-CAOsPRvP.js → secrets-CyAg2S7x.js} +1 -1
- package/dist/client/assets/{sections-editor-CJjfsV28.js → sections-editor-CaI0Zhhh.js} +1 -1
- package/dist/client/assets/{select-Bsy8eSBX.js → select-0gFwjIWK.js} +1 -1
- package/dist/client/assets/{select-model-5u3oJAF_.js → select-model-u7g9wl5I.js} +1 -1
- package/dist/client/assets/{self-tool-result-6tlPGqoR.js → self-tool-result-C-HsXg2z.js} +1 -1
- package/dist/client/assets/{seo-editor-Dio4bt2O.js → seo-editor-DsFSuCoI.js} +1 -1
- package/dist/client/assets/settings-layout-DUoxfz2F.js +1 -0
- package/dist/client/assets/{settings-sidebar-CRSQB9ZK.js → settings-sidebar-lQXNnDuP.js} +1 -1
- package/dist/client/assets/{shell-controls-CzCZ2tY8.js → shell-controls-xzpQjMet.js} +1 -1
- package/dist/client/assets/{shell-layout-D8I6l6uI.js → shell-layout-CSkFxmM_.js} +1 -1
- package/dist/client/assets/{skill-preview-BRUZglmF.js → skill-preview-BF9b7DOf.js} +1 -1
- package/dist/client/assets/{skills-B-I968EP.js → skills-D_kvGfm9.js} +1 -1
- package/dist/client/assets/{sso-Bw7Z8lUo.js → sso-DFLDoCyL.js} +1 -1
- package/dist/client/assets/{store-CVriNBJK.js → store-BXmrAF4X.js} +1 -1
- package/dist/client/assets/store-registry-DvZMjTiG.js +2 -0
- package/dist/client/assets/{switch-BNlvzO-e.js → switch-TyiGSjAu.js} +1 -1
- package/dist/client/assets/{synced-repos-BlOsZ_53.js → synced-repos-BJvTqZEJ.js} +1 -1
- package/dist/client/assets/{table-DsvIRFrA.js → table-BCCgE3Qt.js} +1 -1
- package/dist/client/assets/{tabs-DNhlE1bL.js → tabs-Cr4IbC-v.js} +1 -1
- package/dist/client/assets/{task-board-CW6cAmRQ.js → task-board-Dvsqk1p9.js} +1 -1
- package/dist/client/assets/{task-route-BH23dMGV.js → task-route-Bv7VUmdg.js} +1 -1
- package/dist/client/assets/{tasks-D4b9nXfl.js → tasks-BB7VDxPE.js} +1 -1
- package/dist/client/assets/{textarea-r3XagL8-.js → textarea-C_sSZcHQ.js} +1 -1
- package/dist/client/assets/{thread-intent-7CsqxP8-.js → thread-intent-DaU7T9fE.js} +1 -1
- package/dist/client/assets/{thread-route-D9lc5X5V.js → thread-route-CjMzNF9P.js} +1 -1
- package/dist/client/assets/{toggle-group-BX1lMOjo.js → toggle-group-CTKQSxYW.js} +1 -1
- package/dist/client/assets/{toolbar-DmNHpECu.js → toolbar-DeH6OFtD.js} +1 -1
- package/dist/client/assets/{toolbar-icon-button-Uv1zXo6T.js → toolbar-icon-button-DPwdIFZe.js} +1 -1
- package/dist/client/assets/{track-CE6253fG.js → track-CGFjM5Qg.js} +1 -1
- package/dist/client/assets/{types-4sSCjzTq.js → types-DdtN5qlI.js} +1 -1
- package/dist/client/assets/{use-ai-providers-Cpuy3TdM.js → use-ai-providers-CQxJ7Rme.js} +1 -1
- package/dist/client/assets/{use-automations-D4gmPZIJ.js → use-automations-xdgTCAE9.js} +1 -1
- package/dist/client/assets/{use-autosave-CpAJP728.js → use-autosave-CIpnnXJ3.js} +1 -1
- package/dist/client/assets/{use-connection-CDB9hw5T.js → use-connection-8BippOIr.js} +1 -1
- package/dist/client/assets/{use-copy-Ba9R3fog.js → use-copy-sA5ihy83.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Bcx3PFvV.js → use-create-virtual-mcp-BjsbsSlH.js} +1 -1
- package/dist/client/assets/{use-date-fns-locale-DG6dMW4j.js → use-date-fns-locale-NsI2XXoB.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-UVCFVyzY.js → use-debounced-autosave-Dv2obtWJ.js} +1 -1
- package/dist/client/assets/{use-debounced-value-C-4GeZ6O.js → use-debounced-value-CxYGEfzl.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-gGN5aHaN.js → use-decopilot-events-D3nDEmwV.js} +1 -1
- package/dist/client/assets/{use-delete-connection-P3VWQ0mJ.js → use-delete-connection-BRSlxlfq.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-i4yyU5cE.js → use-deployment-admin-BFdh9KP6.js} +1 -1
- package/dist/client/assets/{use-destination-route-B7okMERa.js → use-destination-route-BR5LTeyz.js} +1 -1
- package/dist/client/assets/{use-file-configs-GBQf8kCv.js → use-file-configs-BfASp2h8.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-BvDBqpDf.js → use-infinite-scroll-DQd17USz.js} +1 -1
- package/dist/client/assets/{use-join-requests-BGvlF7wG.js → use-join-requests-DenS8LLC.js} +1 -1
- package/dist/client/assets/{use-mcp-auth-status-C2n-2y9O.js → use-mcp-auth-status-DKucknxH.js} +1 -1
- package/dist/client/assets/{use-mcp-client-Co9Owf2L.js → use-mcp-client-thR69Bje.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-Bxuprunc.js → use-mcp-prompts-3myyun6A.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-CrEtvn-r.js → use-mcp-tools-0c-w5Fqn.js} +1 -1
- package/dist/client/assets/{use-members-C-Z2Qzvt.js → use-members-FNH0950X.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-Q2KJVvG6.js → use-navigate-to-agent-BlmcG9yQ.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-DpEh871d.js → use-org-auth-client-BV9syNYg.js} +1 -1
- package/dist/client/assets/{use-org-notice-uXzKk9YU.js → use-org-notice-CDJry3j-.js} +1 -1
- package/dist/client/assets/{use-org-sso-M9_7HiPm.js → use-org-sso-BAFszIrg.js} +1 -1
- package/dist/client/assets/{use-organization-roles-BgwN1aW8.js → use-organization-roles-CdZdnZuI.js} +1 -1
- package/dist/client/assets/{use-organization-settings-BpamzdT-.js → use-organization-settings-BgKqmc8V.js} +1 -1
- package/dist/client/assets/{use-panel-navigate-B1dRz6j0.js → use-panel-navigate-DAgXlbLM.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CvgleqXK.js → use-registry-connections-DFQyxIBQ.js} +1 -1
- package/dist/client/assets/{use-secrets-CAZhxFUo.js → use-secrets-_I_3bP-5.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-yznpji-i.js → use-section-preview-base-CL1he8eS.js} +1 -1
- package/dist/client/assets/{use-status-sounds-DKcdkQBS.js → use-status-sounds-1MMra-Dm.js} +1 -1
- package/dist/client/assets/{use-tags-Dv39Kt64.js → use-tags-mt3MIfa-.js} +1 -1
- package/dist/client/assets/{use-view-mode-BE20qroW.js → use-view-mode-CKWCB0fN.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-BYJtzivW.js → use-virtual-mcp-CkiAXrpe.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-dOhnGTkt.js +1 -0
- package/dist/client/assets/useSuspenseInfiniteQuery-PhBSOPdb.js +1 -0
- package/dist/client/assets/{users-B9PlBS6_.js → users-Co-AfPEK.js} +1 -1
- package/dist/client/assets/{variant-calendar-Db1dGasX.js → variant-calendar-D-_FHH2p.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-C2fOEY-a.js → view-mode-toggle-DsPbW1aI.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +1 -1
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/api-keys-CKDQ6ZZm.js +0 -1
- package/dist/client/assets/app-editor-DmqwClEO.js +0 -1
- package/dist/client/assets/record-editor-DNaHoNP6.js +0 -1
- package/dist/client/assets/redirect-editor-DEoFWs8b.js +0 -1
- package/dist/client/assets/registry-BDZ1llIl.js +0 -2
- package/dist/client/assets/settings-layout-Bl9P-PdR.js +0 -1
- package/dist/client/assets/store-registry-BikAIvmp.js +0 -2
- package/dist/client/assets/useInfiniteQuery-B4KvVpWh.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-Bh-SHQi9.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-RZanKJ08.js";import{i as ue}from"./DotsVertical-CPkjWad8.js";import{i as pe}from"./GitBranch01-DaFgW-mx.js";import{a as ge}from"./Package-C_fhjuZE.js";import{s as fe}from"./Trash01-BA0ARnZR.js";import{i as he}from"./Upload01-DjFmWG9f.js";import{i as le}from"./Zap-D5XRAE1P.js";import{S as xe}from"./search-input-DtX6-vnb.js";import{c as je,D as ke,b as ve,a as ye}from"./dropdown-menu-DROZ2G8-.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-Cmky_l_O.js";import{E as J}from"./empty-state-DrSJt8rU.js";import{C as Ae}from"./collection-tabs-CDxIVkjU.js";import{p as Te,q as Me,u as Ie,r as Oe,F as ze}from"./folder-icon-hkT-C8S5.js";import{H as V,d as $e}from"./location-oTTXFrSF.js";import{S as Fe}from"./skill-preview-BF9b7DOf.js";import"./SearchMd-BAk_50U4.js";import"./Check-C1Cm0upn.js";import"./ChevronRight-CMoietN4.js";import"./badge-cRhwGlTV.js";import"./Eye-BJnByD7w.js";import"./dialog-gZjCgYeD.js";import"./markdown-aumjEpeh.js";import"./Copy01-BBYYDxmw.js";import"./Download01-DYoJd31b.js";import"./ZoomOut-CB8d-SOp.js";import"./use-panel-navigate-DAgXlbLM.js";import"./use-destination-route-BR5LTeyz.js";import"./Image01-BeEaLIHe.js";import"./editor-B2NffIMY.js";import"./file-type-icon-cQHxm7jR.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-RZanKJ08.js";import{D as T}from"./domain-settings-C1aLygHa.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-Cmky_l_O.js";import{I as d}from"./input-Buh6dWVj.js";import{S as G}from"./switch-TyiGSjAu.js";import{a as H,b as J,c as K,d as Q}from"./use-org-sso-BAFszIrg.js";import{s as V}from"./Trash01-BA0ARnZR.js";import{R as W}from"./require-capability-Cg-qIce-.js";import"./badge-cRhwGlTV.js";import"./select-0gFwjIWK.js";import"./Check-C1Cm0upn.js";import"./ChevronUp-wXvlD98x.js";import"./access-gate-DuEuzXMY.js";import"./capability-load-error-Ds6pgJ8G.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-VAoEJtvI.js";import{i as Ce}from"./AlertCircle-DeXfw3DH.js";import{i as _e}from"./ChevronRight-B22Moez_.js";import{s as Re}from"./Plus-C0NWoh9T.js";import{s as ke}from"./Trash01-BZPG63MT.js";import{I as ne}from"./input-DV0zc4Ex.js";import{S as de}from"./switch-BNlvzO-e.js";import{A as me}from"./avatar-BtvgpUQu.js";import{P as Ne,a as Pe,b as Te}from"./popover-BOH_aFJY.js";import{b as fe}from"./use-connection-CDB9hw5T.js";import{W as le}from"./use-mcp-client-Co9Owf2L.js";import{u as we}from"./use-registry-connections-CvgleqXK.js";import{h as Ae,m as ze}from"./use-organization-settings-BpamzdT-.js";import{R as Ee}from"./require-capability-BxxlOj94.js";import"./User01-xnVK2xE4.js";import"./auth-4merKc2Y.js";import"./schema-DWDPSE-2.js";import"./task-board-CW6cAmRQ.js";import"./access-gate-Bgk1AnfB.js";import"./capability-load-error-BjPQlnzK.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-RZanKJ08.js";import{i as Ce}from"./AlertCircle-B83HlTRp.js";import{i as _e}from"./ChevronRight-CMoietN4.js";import{s as Re}from"./Plus-D3Tb0If6.js";import{s as ke}from"./Trash01-BA0ARnZR.js";import{I as ne}from"./input-Buh6dWVj.js";import{S as de}from"./switch-TyiGSjAu.js";import{A as me}from"./avatar-BzqTc1Lg.js";import{P as Ne,a as Pe,b as Te}from"./popover-TffIuorx.js";import{b as fe}from"./use-connection-8BippOIr.js";import{W as le}from"./use-mcp-client-thR69Bje.js";import{u as we}from"./use-registry-connections-DFQyxIBQ.js";import{h as Ae,m as ze}from"./use-organization-settings-BgKqmc8V.js";import{R as Ee}from"./require-capability-Cg-qIce-.js";import"./User01-BghbbNjt.js";import"./auth-DSkpelBj.js";import"./schema-B6pzi_8u.js";import"./task-board-Dvsqk1p9.js";import"./access-gate-DuEuzXMY.js";import"./capability-load-error-Ds6pgJ8G.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-e2ddlIPM.js","assets/index-RZanKJ08.js","assets/index-DI-Rfi_G.css","assets/Tool02-BxhhJDmk.js","assets/CheckCircle-C29yHiyp.js","assets/Settings02-CVMTaKQL.js","assets/use-mcp-client-thR69Bje.js","assets/auth-DSkpelBj.js","assets/useInfiniteQuery-dOhnGTkt.js","assets/infiniteQueryObserver-DmzTFdTn.js","assets/badge-cRhwGlTV.js","assets/input-Buh6dWVj.js","assets/dropdown-menu-DROZ2G8-.js","assets/Check-C1Cm0upn.js","assets/ChevronRight-CMoietN4.js","assets/DotsVertical-CPkjWad8.js","assets/table-BCCgE3Qt.js","assets/toggle-group-CTKQSxYW.js","assets/use-view-mode-CKWCB0fN.js","assets/Globe01-B_4E2EqV.js","assets/SearchMd-BAk_50U4.js","assets/dialog-gZjCgYeD.js","assets/AlertCircle-B83HlTRp.js","assets/Download01-DYoJd31b.js","assets/Upload01-DjFmWG9f.js","assets/metadata-dUsYcpuu.js","assets/alert-dialog-Cmky_l_O.js","assets/Trash01-BA0ARnZR.js","assets/label-VBERHuFX.js","assets/select-0gFwjIWK.js","assets/ChevronUp-wXvlD98x.js","assets/switch-TyiGSjAu.js","assets/textarea-C_sSZcHQ.js","assets/ArrowLeft-MU7eyECU.js","assets/ArrowRight-BhtsTl4R.js","assets/Link01-Cu8EdruK.js","assets/safe-image-url-D5z803Ot.js","assets/checkbox-B_zXHqon.js","assets/Eye-BJnByD7w.js","assets/LinkExternal01-CUv-hl4_.js","assets/XCircle-Bmg3wu02.js","assets/use-infinite-scroll-DQd17USz.js","assets/use-copy-sA5ihy83.js","assets/Copy01-BBYYDxmw.js","assets/Key01-DdeaR-th.js","assets/Plus-D3Tb0If6.js","assets/mcp-oauth-CyrL7CJV.js","assets/Play-BiN309oC.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-RZanKJ08.js";import{R as u}from"./require-capability-Cg-qIce-.js";import"./access-gate-DuEuzXMY.js";import"./capability-load-error-Ds6pgJ8G.js";const g=l.lazy(()=>p(()=>import("./registry-layout-e2ddlIPM.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-RZanKJ08.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-VAoEJtvI.js";import{i as ge}from"./GitBranch01-CoEwe3ey.js";import{s as xe}from"./Plus-C0NWoh9T.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-WdxFSf6L.js";import{d as Ae,h as ke,c as we,e as ze,b as Ee,D as Oe}from"./dialog-Ukm5OPV3.js";import{I as Ie}from"./input-DV0zc4Ex.js";import{u as $e,G as Fe,R as Te}from"./repository-picker-_m9oBn7c.js";import{a as Ge,d as Be,h as He,t as qe}from"./cards-CKmKiyPa.js";import{R as Le}from"./require-capability-BxxlOj94.js";import"./ChevronRight-B22Moez_.js";import"./label-phMabfYY.js";import"./github-icon-ezyF0naS.js";import"./useInfiniteQuery-B4KvVpWh.js";import"./infiniteQueryObserver-6JlvsRry.js";import"./ArrowLeft-BsRBcR7k.js";import"./avatar-BtvgpUQu.js";import"./User01-xnVK2xE4.js";import"./collection-search-DeO0gmSf.js";import"./SearchMd-oWTKVUjk.js";import"./use-debounced-value-C-4GeZ6O.js";import"./folder-icon-DdLT4yvh.js";import"./Eye-BoL3xwzV.js";import"./DotsVertical-CIP9Nl0k.js";import"./Download01-BMiKF4vk.js";import"./Share07-cIietouI.js";import"./Globe01-D_tKhOLC.js";import"./Key01-DKCA1Tnq.js";import"./Palette-ajTtDJW6.js";import"./Trash01-BZPG63MT.js";import"./Zap-DjgdzPMR.js";import"./dropdown-menu-D-LKq1Ty.js";import"./Check-BBi_O2LB.js";import"./file-type-icon-C9IcryLg.js";import"./access-gate-Bgk1AnfB.js";import"./capability-load-error-BjPQlnzK.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-RZanKJ08.js";import{i as ge}from"./GitBranch01-DaFgW-mx.js";import{s as xe}from"./Plus-D3Tb0If6.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-Cmky_l_O.js";import{d as Ae,h as ke,c as we,e as ze,b as Ee,D as Oe}from"./dialog-gZjCgYeD.js";import{I as Ie}from"./input-Buh6dWVj.js";import{u as $e,G as Fe,R as Te}from"./repository-picker-QSLXTkD6.js";import{a as Ge,d as Be,h as He,t as qe}from"./cards-CsVtmRF0.js";import{R as Le}from"./require-capability-Cg-qIce-.js";import"./ChevronRight-CMoietN4.js";import"./label-VBERHuFX.js";import"./github-icon-zgo8v3_P.js";import"./useInfiniteQuery-dOhnGTkt.js";import"./infiniteQueryObserver-DmzTFdTn.js";import"./ArrowLeft-MU7eyECU.js";import"./avatar-BzqTc1Lg.js";import"./User01-BghbbNjt.js";import"./collection-search-D5Adn5xn.js";import"./SearchMd-BAk_50U4.js";import"./use-debounced-value-CxYGEfzl.js";import"./folder-icon-hkT-C8S5.js";import"./Eye-BJnByD7w.js";import"./DotsVertical-CPkjWad8.js";import"./Download01-DYoJd31b.js";import"./Share07-ASu2pbl8.js";import"./Globe01-B_4E2EqV.js";import"./Key01-DdeaR-th.js";import"./Palette-DBUa9t7X.js";import"./Trash01-BA0ARnZR.js";import"./Zap-D5XRAE1P.js";import"./dropdown-menu-DROZ2G8-.js";import"./Check-C1Cm0upn.js";import"./file-type-icon-cQHxm7jR.js";import"./access-gate-DuEuzXMY.js";import"./capability-load-error-Ds6pgJ8G.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-RZanKJ08.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-RZanKJ08.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-B6pzi_8u.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};
|