decocms 4.198.1 → 4.199.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{AlertCircle-BIbNxVjT.js → AlertCircle-1FZS3v-O.js} +1 -1
- package/dist/client/assets/{AreaChart-BSeckxvp.js → AreaChart-6BJhVF5T.js} +1 -1
- package/dist/client/assets/{ArrowLeft-JNrncaC6.js → ArrowLeft-CR4vxoJp.js} +1 -1
- package/dist/client/assets/{ArrowUp-DwpC76c7.js → ArrowUp-CC_mbqe1.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-CcTjVvug.js → ArrowUpRight-CbCF70v1.js} +1 -1
- package/dist/client/assets/{Check-B_Nj-gHK.js → Check-COUqEm5U.js} +1 -1
- package/dist/client/assets/{CheckCircle-Bw5tspDF.js → CheckCircle-OafhoQfB.js} +1 -1
- package/dist/client/assets/{ChevronDown-CNBOIvzs.js → ChevronDown-BQOZpawT.js} +1 -1
- package/dist/client/assets/{ChevronRight-BZUn_enc.js → ChevronRight-cIZXph7r.js} +1 -1
- package/dist/client/assets/{ChevronUp-CdWs-_Dd.js → ChevronUp-1zullNEp.js} +1 -1
- package/dist/client/assets/{Copy01-tmNhE-t9.js → Copy01-DOQujw91.js} +1 -1
- package/dist/client/assets/{CpuChip01-CrXiL_DJ.js → CpuChip01-DP6ksU24.js} +1 -1
- package/dist/client/assets/{CreditCard01-DY3SMPbk.js → CreditCard01-CufFLIFI.js} +1 -1
- package/dist/client/assets/{DotsVertical-DfcdwSa4.js → DotsVertical-wivS0onw.js} +1 -1
- package/dist/client/assets/{Eye-cbaxQ-uM.js → Eye-DrB86SUu.js} +1 -1
- package/dist/client/assets/{FilterLines-D3AYXHFE.js → FilterLines-D-22jIZj.js} +1 -1
- package/dist/client/assets/{Globe01-DUDN_jNp.js → Globe01-4yOmtvQc.js} +1 -1
- package/dist/client/assets/{Globe04-B9iLrygy.js → Globe04-m8WcbUjt.js} +1 -1
- package/dist/client/assets/{HardDrive-B-0a8X2k.js → HardDrive-DZ-Roc4G.js} +1 -1
- package/dist/client/assets/{Key01-CobJpsot.js → Key01-Dkj1imoI.js} +1 -1
- package/dist/client/assets/{LayoutLeft-C7Efi9g6.js → LayoutLeft-qMb6nkLN.js} +1 -1
- package/dist/client/assets/{LinkExternal01-BIaY4WLz.js → LinkExternal01-B8ehDauF.js} +1 -1
- package/dist/client/assets/{LogOut01-D7LBNdI7.js → LogOut01-oc8d9SJs.js} +1 -1
- package/dist/client/assets/{Monitor01-BXIP8OxW.js → Monitor01-BOSd8wQ1.js} +1 -1
- package/dist/client/assets/{Palette-332kO0aN.js → Palette-CSOJeVFB.js} +1 -1
- package/dist/client/assets/{Play-Bw1dP5p6.js → Play-H-b9CdPO.js} +1 -1
- package/dist/client/assets/{Plus-DzVetwWE.js → Plus-DJU_4kbx.js} +1 -1
- package/dist/client/assets/{SearchLg-D393-Nvq.js → SearchLg-BQmUG7S4.js} +1 -1
- package/dist/client/assets/{SearchMd-Bsq8aUFV.js → SearchMd-SbBW-oPu.js} +1 -1
- package/dist/client/assets/{Settings02-B9hBvqRc.js → Settings02-CtYuLrf4.js} +1 -1
- package/dist/client/assets/{Share07-C_evEhQ2.js → Share07-CT2dyret.js} +1 -1
- package/dist/client/assets/{Shield01-B8_2pB70.js → Shield01-W_oC4KLS.js} +1 -1
- package/dist/client/assets/{Star01-DKcK1qJm.js → Star01-COyWVOwH.js} +1 -1
- package/dist/client/assets/{Stars01-DQF_ol_e.js → Stars01-B9M6VkZj.js} +1 -1
- package/dist/client/assets/{Stars02-D_L3-JNs.js → Stars02-l4Bi009V.js} +1 -1
- package/dist/client/assets/{Sun-BZ-2mMHx.js → Sun-BgLBLrAR.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-cX5yjouq.js → SwitchHorizontal01-D3zKTM_Y.js} +1 -1
- package/dist/client/assets/{Tool01-Di5wrMOn.js → Tool01-C-9oM8hx.js} +1 -1
- package/dist/client/assets/{Tool02-D9qHgvcl.js → Tool02-CWP-2wPJ.js} +1 -1
- package/dist/client/assets/{Trash01-Cm0lKOZG.js → Trash01-DUPlExuW.js} +1 -1
- package/dist/client/assets/{TrendUp01-BBnF39kN.js → TrendUp01-9IbbL3_o.js} +1 -1
- package/dist/client/assets/{Upload01-BePdmFTv.js → Upload01-CykCKPTH.js} +1 -1
- package/dist/client/assets/{User01-BW6ergBX.js → User01-DdCsns_p.js} +1 -1
- package/dist/client/assets/{Users01-BxRyw2mM.js → Users01-DddX3P2e.js} +1 -1
- package/dist/client/assets/{Users03-CUTJivEE.js → Users03-Bx6UOYkE.js} +1 -1
- package/dist/client/assets/{X-CpCDHfBC.js → X-B3ybq5w2.js} +1 -1
- package/dist/client/assets/{XCircle-CPtnwfis.js → XCircle-C4ggJi18.js} +1 -1
- package/dist/client/assets/{XClose-DKk5mGZw.js → XClose-DAaNDUux.js} +1 -1
- package/dist/client/assets/{Zap-QZU9B0Ko.js → Zap-Bo7ywofH.js} +1 -1
- package/dist/client/assets/{ZapSquare-ibRsxEay.js → ZapSquare-Bg5_XykS.js} +1 -1
- package/dist/client/assets/{access-gate-C_-m-aJr.js → access-gate-CM__cLeC.js} +1 -1
- package/dist/client/assets/{agent-icon-BWZFNaWR.js → agent-icon-ChlSj_zC.js} +1 -1
- package/dist/client/assets/{agents-list-CJ25eHwR.js → agents-list-FKXfmE0I.js} +1 -1
- package/dist/client/assets/{ai-providers-BU49yNv_.js → ai-providers-BFIskFbw.js} +1 -1
- package/dist/client/assets/{alert-B7ewc3FR.js → alert-CYsDgWPP.js} +1 -1
- package/dist/client/assets/{alert-dialog-FBBdO1hK.js → alert-dialog-CEWyrZ_Z.js} +1 -1
- package/dist/client/assets/{app-editor-DFKKNhPu.js → app-editor-BhYIbVrX.js} +1 -1
- package/dist/client/assets/{auth-catchall-B1BWrfuo.js → auth-catchall-cwMYBp3y.js} +1 -1
- package/dist/client/assets/{auth-entry-BPUfKuge.js → auth-entry-utz1nSNV.js} +1 -1
- package/dist/client/assets/{auth-split-layout-QsVtrXjW.js → auth-split-layout-CSD4ZOjw.js} +1 -1
- package/dist/client/assets/{auth-BQ8cUt93.js → auth-v89NYv9q.js} +1 -1
- package/dist/client/assets/{authenticate-and-persist-oauth-D1OnAhxy.js → authenticate-and-persist-oauth-Bx2wnD4m.js} +1 -1
- package/dist/client/assets/{automation-list-row-Bc0NmrRb.js → automation-list-row-CtwPJ_qi.js} +1 -1
- package/dist/client/assets/{automation-runs-B0VppL3N.js → automation-runs-jWstZftP.js} +2 -2
- package/dist/client/assets/{automations-Betrni9I.js → automations-DYLWv316.js} +1 -1
- package/dist/client/assets/{avatar-7DIElZMt.js → avatar-BpypxYS_.js} +1 -1
- package/dist/client/assets/{badge-BHEOcTbG.js → badge-D7AIZASF.js} +1 -1
- package/dist/client/assets/{billing-4CHfg28V.js → billing-DvQB5EP4.js} +1 -1
- package/dist/client/assets/{block-document-i6LRoJ-D.js → block-document-BieiLkD8.js} +1 -1
- package/dist/client/assets/{brand-context-CswxRPsc.js → brand-context-CyT0dJvx.js} +1 -1
- package/dist/client/assets/{buckets-BpqKkzF7.js → buckets-CEQI-s6s.js} +1 -1
- package/dist/client/assets/{bulk-category-panel-DFH4-vHc.js → bulk-category-panel-DGtK7V8c.js} +1 -1
- package/dist/client/assets/{capability-load-error-CyhrUz-o.js → capability-load-error-BL2lrddy.js} +1 -1
- package/dist/client/assets/{card-Dp-9GXlo.js → card-CoBKo1D2.js} +1 -1
- package/dist/client/assets/{cards-CfIxTQzU.js → cards-OWxF4nj0.js} +1 -1
- package/dist/client/assets/{category-editor-B40QqikJ.js → category-editor-Dn0rz6Sk.js} +1 -1
- package/dist/client/assets/{chat-context-BryS1E_V.js → chat-context-C5IpUGyL.js} +1 -1
- package/dist/client/assets/{checkbox-Bs_gQDjo.js → checkbox-B_axFhC0.js} +1 -1
- package/dist/client/assets/{cli-auth-success-DE5hMAIJ.js → cli-auth-success-D_b0jLm-.js} +1 -1
- package/dist/client/assets/{collection-detail-CelCrd7J.js → collection-detail-BaUxPBtg.js} +1 -1
- package/dist/client/assets/{collection-display-button-B_9JnGuZ.js → collection-display-button-TeFEpehu.js} +1 -1
- package/dist/client/assets/{collection-search-BB8jrWzh.js → collection-search-jgJieFUU.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CFwdQSZ5.js → collection-table-wrapper-VyWx7MWu.js} +1 -1
- package/dist/client/assets/{collection-tabs-HzwKgHFx.js → collection-tabs-D8Hgew32.js} +1 -1
- package/dist/client/assets/{command-oAPvKl-D.js → command-mz5vaCyb.js} +1 -1
- package/dist/client/assets/{commerce-onboarding-CnlM83M3.js → commerce-onboarding-oCzW05oi.js} +1 -1
- package/dist/client/assets/{connect-CJCiDUfo.js → connect-B55TAI-T.js} +1 -1
- package/dist/client/assets/{connection-Dq0ykxIo.js → connection-DKRnbF5j.js} +1 -1
- package/dist/client/assets/{connection-card-CXxAzxt-.js → connection-card-BBnyhURe.js} +1 -1
- package/dist/client/assets/{connection-detail-DbhCEOJL.js → connection-detail-jFa2SZOI.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-WwXYWqyk.js → connection-form-helpers-DmMFoW_E.js} +1 -1
- package/dist/client/assets/{connections-uOWuPqqr.js → connections-B2phlZuI.js} +1 -1
- package/dist/client/assets/{decopilot-sse-pool-CLdQ7a7X.js → decopilot-sse-pool-D6eFDIhm.js} +1 -1
- package/dist/client/assets/{dialog-DAFru5VU.js → dialog-CFILfZOA.js} +1 -1
- package/dist/client/assets/{domain-settings-CIDsy--Z.js → domain-settings-Dz8mlaOV.js} +1 -1
- package/dist/client/assets/{drawer-CsdgrCqs.js → drawer-CUdV6oxw.js} +1 -1
- package/dist/client/assets/{dropdown-menu-DR-T_e02.js → dropdown-menu-CvmqCZWH.js} +1 -1
- package/dist/client/assets/{empty-state-CwdKnKvp.js → empty-state-B-59kVV9.js} +1 -1
- package/dist/client/assets/{extract-connection-data-Cx7cSiJo.js → extract-connection-data-DXrSXKT4.js} +1 -1
- package/dist/client/assets/{file-explorer-BGtos_rf.js → file-explorer-DKr1xc8P.js} +1 -1
- package/dist/client/assets/{file-type-icon-BXkKuDnI.js → file-type-icon-ClrRx9NG.js} +1 -1
- package/dist/client/assets/{form-BFzX9jQB.js → form-BjBdY0X7.js} +1 -1
- package/dist/client/assets/{general-CEDqpd82.js → general-ATn8tjRI.js} +1 -1
- package/dist/client/assets/{github-repo-picker-Dnt_pLmG.js → github-repo-picker-D-sEtEsJ.js} +1 -1
- package/dist/client/assets/{hooks-Ck0w6giS.js → hooks-CdOH0sr_.js} +1 -1
- package/dist/client/assets/{index-Dt2OuZ-3.js → index--OjyTwFQ.js} +1 -1
- package/dist/client/assets/{index-C-bJCsC6.css → index-BEdBSIIA.css} +1 -1
- package/dist/client/assets/{index-D3Qiagvp.js → index-BHRSTVbm.js} +1 -1
- package/dist/client/assets/index-BPPqwJmq.js +5 -0
- package/dist/client/assets/{index-PSAqTFqg.js → index-BzRGcU66.js} +1 -1
- package/dist/client/assets/{index-TS-1Qvxc.js → index-CFJJgkw9.js} +1 -1
- package/dist/client/assets/{index-WB9eGgJj.js → index-COzRe4rY.js} +1 -1
- package/dist/client/assets/{index-Cc0BIKZV.js → index-D1wTzn4-.js} +1 -1
- package/dist/client/assets/{index-PYvEj9rl.js → index-DoiZIymS.js} +36 -36
- package/dist/client/assets/{index-40vsYmi1.js → index-HpF4ydE2.js} +6 -6
- package/dist/client/assets/{index-CA6bctzC.js → index-kMw37nKO.js} +1 -1
- package/dist/client/assets/{index-redirect-D0fkfwe9.js → index-redirect-B8Hgwnpy.js} +1 -1
- package/dist/client/assets/{input-c67DqalF.js → input-Dw4GelAn.js} +1 -1
- package/dist/client/assets/{integration-icon-CbnBAtSt.js → integration-icon-Cyu5omdT.js} +1 -1
- package/dist/client/assets/{invite-member-dialog-DEsRbEi3.js → invite-member-dialog-B7Q8c3nD.js} +1 -1
- package/dist/client/assets/{label-CiWl6zR8.js → label-CJtuYe4Q.js} +1 -1
- package/dist/client/assets/{layout-KK1MgaRZ.js → layout-LadKSCFh.js} +1 -1
- package/dist/client/assets/{login-B6sKYtnG.js → login-k6W7OWLC.js} +1 -1
- package/dist/client/assets/{mcp-oauth-DFM9MSpi.js → mcp-oauth-JmfL6YDg.js} +1 -1
- package/dist/client/assets/{members-Bfpw9cpu.js → members-Cax5phLv.js} +1 -1
- package/dist/client/assets/{monaco-editor-1VEbI-ff.js → monaco-editor-DsEoV7tZ.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-CVo2qQNH.js → monitoring-stats-row-hSnWEB1g.js} +1 -1
- package/dist/client/assets/{multi-select-B4DyE9eb.js → multi-select-C_9JXCXf.js} +1 -1
- package/dist/client/assets/{oauth-callback-Bv6BVeZo.js → oauth-callback-CbwDrfNN.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-DXJKwN7i.js → oauth-callback-ai-provider-bqe7WxPA.js} +1 -1
- package/dist/client/assets/{onboarding-CZOQQSpb.js → onboarding-BMg-CQb8.js} +1 -1
- package/dist/client/assets/{org-layout-CEVXo4Hj.js → org-layout-BPZhd6ha.js} +1 -1
- package/dist/client/assets/{organization-choice-qLYRu1mJ.js → organization-choice-DQcCIgDf.js} +1 -1
- package/dist/client/assets/{orgs-jEJO14l8.js → orgs-C5W9WsQP.js} +1 -1
- package/dist/client/assets/{page-seo-form-DcBpBjM3.js → page-seo-form-C7E_eneh.js} +1 -1
- package/dist/client/assets/{popover-C3GV7NHT.js → popover-DCriArZo.js} +1 -1
- package/dist/client/assets/{post-editor-C5h2pkA_.js → post-editor-CmqSuVDD.js} +1 -1
- package/dist/client/assets/{primitives-DxG_-v6Q.js → primitives-Dt6-h_k5.js} +1 -1
- package/dist/client/assets/{profile-B2LXJVMK.js → profile-Dqn8oDYU.js} +1 -1
- package/dist/client/assets/{project-app-view-Cr9viAZ9.js → project-app-view-B6KrZpsP.js} +1 -1
- package/dist/client/assets/record-editor-CP7nR48h.js +1 -0
- package/dist/client/assets/{redirect-editor-BW0lGYt1.js → redirect-editor-toR3MzGX.js} +1 -1
- package/dist/client/assets/registry-CgsXhhHY.js +2 -0
- package/dist/client/assets/{registry-layout-7G5vaR5-.js → registry-layout-Crop-FRo.js} +1 -1
- package/dist/client/assets/{reports-DDQO5s1F.js → reports-Cd0v7eMn.js} +1 -1
- package/dist/client/assets/{require-capability-CAxsHP25.js → require-capability--L_GlXpd.js} +1 -1
- package/dist/client/assets/{required-auth-layout-T2z6aSD0.js → required-auth-layout-BAhPwscS.js} +1 -1
- package/dist/client/assets/{reset-password-CvhXzd8Y.js → reset-password-CNmC6-k_.js} +1 -1
- package/dist/client/assets/roles-DWnvl1bF.js +1 -0
- package/dist/client/assets/{search-input-ctAc0W8m.js → search-input-BnJDFRMl.js} +1 -1
- package/dist/client/assets/{secrets-BV-5oy2U.js → secrets-DJInY_nu.js} +1 -1
- package/dist/client/assets/sections-editor-DCBUfbWr.js +2 -0
- package/dist/client/assets/{select-DTTczhz5.js → select--icxBUQG.js} +1 -1
- package/dist/client/assets/{select-model-CFihyE2L.js → select-model-CoTowZP9.js} +1 -1
- package/dist/client/assets/{self-tool-result-TxiWbDY7.js → self-tool-result-CZm-aTd6.js} +1 -1
- package/dist/client/assets/{seo-editor-By5nGlTj.js → seo-editor-D4CFsGBp.js} +1 -1
- package/dist/client/assets/{settings-layout-CqL_nZDN.js → settings-layout-468cimaL.js} +1 -1
- package/dist/client/assets/{settings-section-CYzDucV_.js → settings-section-B3ifPXpy.js} +1 -1
- package/dist/client/assets/{shell-controls-D1rGlY-A.js → shell-controls-okLnfuDR.js} +1 -1
- package/dist/client/assets/{shell-layout-B1GSO3br.js → shell-layout-B2-xnSYQ.js} +1 -1
- package/dist/client/assets/{sidebar-yF4RAeOF.js → sidebar-CY8kI7Hv.js} +1 -1
- package/dist/client/assets/{skeleton-BVCXxIvJ.js → skeleton-BzHO_UZ_.js} +1 -1
- package/dist/client/assets/{spinner-CvOt4SrY.js → spinner-CR38v4SM.js} +1 -1
- package/dist/client/assets/{sso-CvXXHYxM.js → sso-DaxZcPHF.js} +1 -1
- package/dist/client/assets/{store-BCYMwsuG.js → store-DmtY-Ut9.js} +1 -1
- package/dist/client/assets/store-registry-cv-3taNw.js +2 -0
- package/dist/client/assets/{studio-tools-DqBTby73.js → studio-tools-B9uOZhNU.js} +1 -1
- package/dist/client/assets/{switch-DQtuZQrl.js → switch-CicvP6tN.js} +1 -1
- package/dist/client/assets/{synced-repos-B4lY6bAa.js → synced-repos-1QYY_o14.js} +1 -1
- package/dist/client/assets/{tab-id-k4oMd3Kq.js → tab-id-D78T7QdF.js} +1 -1
- package/dist/client/assets/{table-ClUciDn4.js → table-Cmvfib2K.js} +1 -1
- package/dist/client/assets/{tabs-GNMKCzfU.js → tabs-BBQmojOt.js} +1 -1
- package/dist/client/assets/{textarea-CC00wWfB.js → textarea-D_MBsxxq.js} +1 -1
- package/dist/client/assets/{toggle-group-Fo28SZSJ.js → toggle-group-D7E7rM45.js} +1 -1
- package/dist/client/assets/{toolbar-Dq8G83dn.js → toolbar-DavdshhZ.js} +1 -1
- package/dist/client/assets/{tooltip-gufneU6i.js → tooltip-ZrjhT2HZ.js} +1 -1
- package/dist/client/assets/{use-ai-providers-C0PU4vBf.js → use-ai-providers-jug9WjpB.js} +1 -1
- package/dist/client/assets/{use-automations-CuJzDcgN.js → use-automations-CSTZ3886.js} +1 -1
- package/dist/client/assets/{use-autosave-Bj5GBQ03.js → use-autosave-ChvE0G33.js} +1 -1
- package/dist/client/assets/{use-capability-DIGMjvZ4.js → use-capability-CD2_oMAe.js} +1 -1
- package/dist/client/assets/{use-clock-tick-CQ5WMkJ4.js → use-clock-tick-5wPqFXoc.js} +1 -1
- package/dist/client/assets/{use-connection-BIE1ZM9Q.js → use-connection-Cq-TmGuZ.js} +1 -1
- package/dist/client/assets/{use-copy-BFdepIlJ.js → use-copy-qVFT-iwH.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-Bk3JFgs4.js → use-create-virtual-mcp-BKePGkVk.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-D2aIHp9V.js → use-debounced-autosave-BD5uwc1n.js} +1 -1
- package/dist/client/assets/{use-debounced-value-Cj_-uF6e.js → use-debounced-value-ZcGR3H0U.js} +1 -1
- package/dist/client/assets/{use-deco-credits-B5I1ipIA.js → use-deco-credits-DZXadVhu.js} +1 -1
- package/dist/client/assets/{use-decopilot-events-z457sLTv.js → use-decopilot-events-Da84Mplm.js} +1 -1
- package/dist/client/assets/{use-delete-connection-BYKpDKlA.js → use-delete-connection-CUI5WjpR.js} +1 -1
- package/dist/client/assets/{use-deployment-admin-ClIJXgko.js → use-deployment-admin-BXpDgUni.js} +1 -1
- package/dist/client/assets/{use-file-configs-BrR-HB5E.js → use-file-configs-Cr6Dl2n3.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-DRTb36Sf.js → use-infinite-scroll-Cuq5t_LZ.js} +1 -1
- package/dist/client/assets/{use-join-requests-Cc3OGOFJ.js → use-join-requests-B-BwVS7j.js} +1 -1
- package/dist/client/assets/{use-mcp-client-DJa-oLak.js → use-mcp-client-DguMnEWc.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-A8LxjQHB.js → use-mcp-tools-Bc0RjdGq.js} +1 -1
- package/dist/client/assets/{use-members-B8sfkDFd.js → use-members-BSnfTEP4.js} +1 -1
- package/dist/client/assets/{use-mobile-CWfh0IvR.js → use-mobile-DMf3bWCn.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-CH34Pmos.js → use-navigate-to-agent-BpKSuM9c.js} +1 -1
- package/dist/client/assets/{use-open-billing-url-CQyHsaDf.js → use-open-billing-url-COnZPFfP.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-GAxA8mNj.js → use-org-auth-client-Bvzf-tUx.js} +1 -1
- package/dist/client/assets/{use-org-sso-DWulw-z5.js → use-org-sso-CPuDLMAO.js} +1 -1
- package/dist/client/assets/{use-organization-roles-Imzuk9OO.js → use-organization-roles-CGLPno6a.js} +1 -1
- package/dist/client/assets/{use-organization-settings-D9Dm1v9H.js → use-organization-settings-BVocOGaq.js} +1 -1
- package/dist/client/assets/{use-registry-connections-BeG_rVWG.js → use-registry-connections-C0HsNyAs.js} +1 -1
- package/dist/client/assets/{use-secrets-B6sP0fsa.js → use-secrets-BP-H3C8p.js} +1 -1
- package/dist/client/assets/{use-section-preview-base-BQYP0s2f.js → use-section-preview-base-DowNDHjh.js} +1 -1
- package/dist/client/assets/{use-status-sounds-CDuYaLPP.js → use-status-sounds-CjmrYixb.js} +1 -1
- package/dist/client/assets/{use-tags-ClqL7tiK.js → use-tags-Cg8znnEF.js} +1 -1
- package/dist/client/assets/{use-view-mode-BP_tcXyq.js → use-view-mode-2Cvl7LGq.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-JTMjOuzF.js → use-virtual-mcp-DnVlCNEk.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-DJ3TPFA7.js +1 -0
- package/dist/client/assets/{useRouterState-BZZWM__-.js → useRouterState-ClmonZrX.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BKyBbyvL.js +1 -0
- package/dist/client/assets/{users-3jk7spwK.js → users-CGfdaZgy.js} +1 -1
- package/dist/client/assets/{variant-calendar-OLG0qkVW.js → variant-calendar-Djt_WQR_.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-CInGt6IN.js → view-mode-toggle-DOCvJ3u_.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/server/cli.js +552 -552
- package/dist/server/server.js +325 -325
- package/package.json +1 -1
- package/dist/client/assets/index-DESHD7l_.js +0 -5
- package/dist/client/assets/record-editor-DqQqXztj.js +0 -1
- package/dist/client/assets/registry-BQpdlbwL.js +0 -2
- package/dist/client/assets/roles-Ctse7z57.js +0 -1
- package/dist/client/assets/sections-editor-D9Zay_Mg.js +0 -2
- package/dist/client/assets/store-registry-DbDzNXGn.js +0 -2
- package/dist/client/assets/useInfiniteQuery-BJ49akeX.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BtNtPB4O.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as g,m as p,j as f}from"./index-
|
|
1
|
+
import{c as g,m as p,j as f}from"./index-HpF4ydE2.js";function w(b){const e=g.c(20),{children:m,visual:r,align:j}=b,d=(j===void 0?"center":j)==="fill",x=d?"min-h-[100dvh] md:min-h-screen":"min-h-screen";let l;e[0]!==x?(l=p("flex w-full",x),e[0]=x,e[1]=l):l=e[1];const h=d?"h-[100dvh] justify-start pt-4 pb-8 md:h-auto":"justify-center py-6";let t;e[2]!==h?(t=p("flex flex-1 flex-col items-center bg-sidebar px-6 md:justify-center md:px-10 md:py-10",h),e[2]=h,e[3]=t):t=e[3];const u=d&&"flex min-h-0 flex-1 flex-col md:block md:flex-none";let s;e[4]!==u?(s=p("w-full max-w-[440px]",u),e[4]=u,e[5]=s):s=e[5];let i;e[6]!==m||e[7]!==s?(i=f.jsx("div",{className:s,children:m}),e[6]=m,e[7]=s,e[8]=i):i=e[8];let n;e[9]!==t||e[10]!==i?(n=f.jsx("section",{className:t,children:i}),e[9]=t,e[10]=i,e[11]=n):n=e[11];let c;e[12]!==r?(c=r??f.jsx("img",{src:"/onboarding-placeholder.png",alt:"",className:"absolute inset-0 h-full w-full object-cover"}),e[12]=r,e[13]=c):c=e[13];let a;e[14]!==c?(a=f.jsx("aside",{className:"relative hidden flex-1 overflow-hidden bg-muted md:flex",children:c}),e[14]=c,e[15]=a):a=e[15];let o;return e[16]!==a||e[17]!==l||e[18]!==n?(o=f.jsxs("main",{className:l,children:[n,a]}),e[16]=a,e[17]=l,e[18]=n,e[19]=o):o=e[19],o}export{w as A};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{cA as v,cB as $,cC as W,cD as L,cE as H,cF as D,cG as V,cH as x,cI as q,cJ as j,cK as y,cL as N,cM as B,cN as F,cO as Z}from"./index-40vsYmi1.js";function G(e){const t=typeof e=="string"?new URL(e):new URL(e.href);return t.hash="",t}function J({requestedResource:e,configuredResource:t}){const n=typeof e=="string"?new URL(e):new URL(e.href),r=typeof t=="string"?new URL(t):new URL(t.href);if(n.origin!==r.origin||n.pathname.length<r.pathname.length)return!1;const a=n.pathname.endsWith("/")?n.pathname:n.pathname+"/",i=r.pathname.endsWith("/")?r.pathname:r.pathname+"/";return a.startsWith(i)}class pe extends Error{constructor(t){super(t??"Unauthorized")}}function K(e){return["client_secret_basic","client_secret_post","none"].includes(e)}const p="code",_="S256";function Y(e,t){const n=e.client_secret!==void 0;return"token_endpoint_auth_method"in e&&e.token_endpoint_auth_method&&K(e.token_endpoint_auth_method)&&(t.length===0||t.includes(e.token_endpoint_auth_method))?e.token_endpoint_auth_method:t.length===0?n?"client_secret_basic":"none":n&&t.includes("client_secret_basic")?"client_secret_basic":n&&t.includes("client_secret_post")?"client_secret_post":t.includes("none")?"none":n?"client_secret_post":"none"}function Q(e,t,n,r){const{client_id:a,client_secret:i}=t;switch(e){case"client_secret_basic":X(a,i,n);return;case"client_secret_post":ee(a,i,r);return;case"none":te(a,r);return;default:throw new Error(`Unsupported client authentication method: ${e}`)}}function X(e,t,n){if(!t)throw new Error("client_secret_basic authentication requires a client_secret");const r=btoa(`${e}:${t}`);n.set("Authorization",`Basic ${r}`)}function ee(e,t,n){n.set("client_id",e),t&&n.set("client_secret",t)}function te(e,t){t.set("client_id",e)}async function M(e){const t=e instanceof Response?e.status:void 0,n=e instanceof Response?await e.text():e;try{const r=N.parse(JSON.parse(n)),{error:a,error_description:i,error_uri:s}=r,o=B[a]||y;return new o(i||"",s)}catch(r){const a=`${t?`HTTP ${t}: `:""}Invalid OAuth error response: ${r}. Raw body: ${n}`;return new y(a)}}async function _e(e,t){try{return await U(e,t)}catch(n){if(n instanceof H||n instanceof D)return await e.invalidateCredentials?.("all"),await U(e,t);if(n instanceof V)return await e.invalidateCredentials?.("tokens"),await U(e,t);throw n}}async function U(e,{serverUrl:t,authorizationCode:n,scope:r,resourceMetadataUrl:a,fetchFn:i}){const s=await e.discoveryState?.();let o,c,u,h=a;if(!h&&s?.resourceMetadataUrl&&(h=new URL(s.resourceMetadataUrl)),s?.authorizationServerUrl){if(c=s.authorizationServerUrl,o=s.resourceMetadata,u=s.authorizationServerMetadata??await P(c,{fetchFn:i}),!o)try{o=await T(t,{resourceMetadataUrl:h},i)}catch{}(u!==s.authorizationServerMetadata||o!==s.resourceMetadata)&&await e.saveDiscoveryState?.({authorizationServerUrl:String(c),resourceMetadataUrl:h?.toString(),resourceMetadata:o,authorizationServerMetadata:u})}else{const l=await ce(t,{resourceMetadataUrl:h,fetchFn:i});c=l.authorizationServerUrl,u=l.authorizationServerMetadata,o=l.resourceMetadata,await e.saveDiscoveryState?.({authorizationServerUrl:String(c),resourceMetadataUrl:h?.toString(),resourceMetadata:o,authorizationServerMetadata:u})}const f=await re(t,e,o),A=r||o?.scopes_supported?.join(" ")||e.clientMetadata.scope;let d=await Promise.resolve(e.clientInformation());if(!d){if(n!==void 0)throw new Error("Existing OAuth client information is required when exchanging an authorization code");const l=u?.client_id_metadata_document_supported===!0,w=e.clientMetadataUrl;if(w&&!ne(w))throw new q(`clientMetadataUrl must be a valid HTTPS URL with a non-root pathname, got: ${w}`);if(l&&w)d={client_id:w},await e.saveClientInformation?.(d);else{if(!e.saveClientInformation)throw new Error("OAuth client information must be saveable for dynamic registration");const S=await de(c,{metadata:u,clientMetadata:e.clientMetadata,scope:A,fetchFn:i});await e.saveClientInformation(S),d=S}}const C=!e.redirectUrl;if(n!==void 0||C){const l=await he(e,c,{metadata:u,resource:f,authorizationCode:n,fetchFn:i});return await e.saveTokens(l),"AUTHORIZED"}const k=await e.tokens();if(k?.refresh_token)try{const l=await le(c,{metadata:u,clientInformation:d,refreshToken:k.refresh_token,resource:f,addClientAuthentication:e.addClientAuthentication,fetchFn:i});return await e.saveTokens(l),"AUTHORIZED"}catch(l){if(!(!(l instanceof j)||l instanceof y))throw l}const z=e.state?await e.state():void 0,{authorizationUrl:I,codeVerifier:b}=await ue(c,{metadata:u,clientInformation:d,state:z,redirectUrl:e.redirectUrl,scope:A,resource:f});return await e.saveCodeVerifier(b),await e.redirectToAuthorization(I),"REDIRECT"}function ne(e){if(!e)return!1;try{const t=new URL(e);return t.protocol==="https:"&&t.pathname!=="/"}catch{return!1}}async function re(e,t,n){const r=G(e);if(t.validateResourceURL)return await t.validateResourceURL(r,n?.resource);if(n){if(!J({requestedResource:r,configuredResource:n.resource}))throw new Error(`Protected resource ${n.resource} does not match expected ${r} (or origin)`);return new URL(n.resource)}}function Ue(e){const t=e.headers.get("WWW-Authenticate");if(!t)return{};const[n,r]=t.split(" ");if(n.toLowerCase()!=="bearer"||!r)return{};const a=m(e,"resource_metadata")||void 0;let i;if(a)try{i=new URL(a)}catch{}const s=m(e,"scope")||void 0,o=m(e,"error")||void 0;return{resourceMetadataUrl:i,scope:s,error:o}}function m(e,t){const n=e.headers.get("WWW-Authenticate");if(!n)return null;const r=new RegExp(`${t}=(?:"([^"]+)"|([^\\s,]+))`),a=n.match(r);return a?a[1]||a[2]:null}async function T(e,t,n=fetch){const r=await ie(e,"oauth-protected-resource",n,{protocolVersion:t?.protocolVersion,metadataUrl:t?.resourceMetadataUrl});if(!r||r.status===404)throw await r?.body?.cancel(),new Error("Resource server does not implement OAuth 2.0 Protected Resource Metadata.");if(!r.ok)throw await r.body?.cancel(),new Error(`HTTP ${r.status} trying to load well-known OAuth protected resource metadata.`);return v.parse(await r.json())}async function R(e,t,n=fetch){try{return await n(e,{headers:t})}catch(r){if(r instanceof TypeError)return t?R(e,void 0,n):void 0;throw r}}function ae(e,t="",n={}){return t.endsWith("/")&&(t=t.slice(0,-1)),n.prependPathname?`${t}/.well-known/${e}`:`/.well-known/${e}${t}`}async function E(e,t,n=fetch){return await R(e,{"MCP-Protocol-Version":t},n)}function oe(e,t){return!e||e.status>=400&&e.status<500&&t!=="/"}async function ie(e,t,n,r){const a=new URL(e),i=r?.protocolVersion??L;let s;if(r?.metadataUrl)s=new URL(r.metadataUrl);else{const c=ae(t,a.pathname);s=new URL(c,r?.metadataServerUrl??a),s.search=a.search}let o=await E(s,i,n);if(!r?.metadataUrl&&oe(o,a.pathname)){const c=new URL(`/.well-known/${t}`,a);o=await E(c,i,n)}return o}function se(e){const t=typeof e=="string"?new URL(e):e,n=t.pathname!=="/",r=[];if(!n)return r.push({url:new URL("/.well-known/oauth-authorization-server",t.origin),type:"oauth"}),r.push({url:new URL("/.well-known/openid-configuration",t.origin),type:"oidc"}),r;let a=t.pathname;return a.endsWith("/")&&(a=a.slice(0,-1)),r.push({url:new URL(`/.well-known/oauth-authorization-server${a}`,t.origin),type:"oauth"}),r.push({url:new URL(`/.well-known/openid-configuration${a}`,t.origin),type:"oidc"}),r.push({url:new URL(`${a}/.well-known/openid-configuration`,t.origin),type:"oidc"}),r}async function P(e,{fetchFn:t=fetch,protocolVersion:n=L}={}){const r={"MCP-Protocol-Version":n,Accept:"application/json"},a=se(e);for(const{url:i,type:s}of a){const o=await R(i,r,t);if(o){if(!o.ok){if(await o.body?.cancel(),o.status>=400&&o.status<500)continue;throw new Error(`HTTP ${o.status} trying to load ${s==="oauth"?"OAuth":"OpenID provider"} metadata from ${i}`)}return s==="oauth"?$.parse(await o.json()):W.parse(await o.json())}}}async function ce(e,t){let n,r;try{n=await T(e,{resourceMetadataUrl:t?.resourceMetadataUrl},t?.fetchFn),n.authorization_servers&&n.authorization_servers.length>0&&(r=n.authorization_servers[0])}catch{}r||(r=String(new URL("/",e)));const a=await P(r,{fetchFn:t?.fetchFn});return{authorizationServerUrl:r,authorizationServerMetadata:a,resourceMetadata:n}}async function ue(e,{metadata:t,clientInformation:n,redirectUrl:r,scope:a,state:i,resource:s}){let o;if(t){if(o=new URL(t.authorization_endpoint),!t.response_types_supported.includes(p))throw new Error(`Incompatible auth server: does not support response type ${p}`);if(t.code_challenge_methods_supported&&!t.code_challenge_methods_supported.includes(_))throw new Error(`Incompatible auth server: does not support code challenge method ${_}`)}else o=new URL("/authorize",e);const c=await Z(),u=c.code_verifier,h=c.code_challenge;return o.searchParams.set("response_type",p),o.searchParams.set("client_id",n.client_id),o.searchParams.set("code_challenge",h),o.searchParams.set("code_challenge_method",_),o.searchParams.set("redirect_uri",String(r)),i&&o.searchParams.set("state",i),a&&o.searchParams.set("scope",a),a?.includes("offline_access")&&o.searchParams.append("prompt","consent"),s&&o.searchParams.set("resource",s.href),{authorizationUrl:o,codeVerifier:u}}function O(e,t,n){return new URLSearchParams({grant_type:"authorization_code",code:e,code_verifier:t,redirect_uri:String(n)})}async function g(e,{metadata:t,tokenRequestParams:n,clientInformation:r,addClientAuthentication:a,resource:i,fetchFn:s}){const o=t?.token_endpoint?new URL(t.token_endpoint):new URL("/token",e),c=new Headers({"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"});if(i&&n.set("resource",i.href),a)await a(c,n,o,t);else if(r){const h=t?.token_endpoint_auth_methods_supported??[],f=Y(r,h);Q(f,r,c,n)}const u=await(s??fetch)(o,{method:"POST",headers:c,body:n});if(!u.ok)throw await M(u);return x.parse(await u.json())}async function me(e,{metadata:t,clientInformation:n,authorizationCode:r,codeVerifier:a,redirectUri:i,resource:s,addClientAuthentication:o,fetchFn:c}){const u=O(r,a,i);return g(e,{metadata:t,tokenRequestParams:u,clientInformation:n,addClientAuthentication:o,resource:s,fetchFn:c})}async function le(e,{metadata:t,clientInformation:n,refreshToken:r,resource:a,addClientAuthentication:i,fetchFn:s}){const o=new URLSearchParams({grant_type:"refresh_token",refresh_token:r}),c=await g(e,{metadata:t,tokenRequestParams:o,clientInformation:n,addClientAuthentication:i,resource:a,fetchFn:s});return{refresh_token:r,...c}}async function he(e,t,{metadata:n,resource:r,authorizationCode:a,fetchFn:i}={}){const s=e.clientMetadata.scope;let o;if(e.prepareTokenRequest&&(o=await e.prepareTokenRequest(s)),!o){if(!a)throw new Error("Either provider.prepareTokenRequest() or authorizationCode is required");if(!e.redirectUrl)throw new Error("redirectUrl is required for authorization_code flow");const u=await e.codeVerifier();o=O(a,u,e.redirectUrl)}const c=await e.clientInformation();return g(t,{metadata:n,tokenRequestParams:o,clientInformation:c??void 0,addClientAuthentication:e.addClientAuthentication,resource:r,fetchFn:i})}async function de(e,{metadata:t,clientMetadata:n,scope:r,fetchFn:a}){let i;if(t){if(!t.registration_endpoint)throw new Error("Incompatible auth server: does not support dynamic client registration");i=new URL(t.registration_endpoint)}else i=new URL("/register",e);const s=await(a??fetch)(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,...r!==void 0?{scope:r}:{}})});if(!s.ok)throw await M(s);return F.parse(await s.json())}export{pe as U,_e as a,P as b,me as c,T as d,Ue as e};
|
|
1
|
+
import{cA as v,cB as $,cC as W,cD as L,cE as H,cF as D,cG as V,cH as x,cI as q,cJ as j,cK as y,cL as N,cM as B,cN as F,cO as Z}from"./index-HpF4ydE2.js";function G(e){const t=typeof e=="string"?new URL(e):new URL(e.href);return t.hash="",t}function J({requestedResource:e,configuredResource:t}){const n=typeof e=="string"?new URL(e):new URL(e.href),r=typeof t=="string"?new URL(t):new URL(t.href);if(n.origin!==r.origin||n.pathname.length<r.pathname.length)return!1;const a=n.pathname.endsWith("/")?n.pathname:n.pathname+"/",i=r.pathname.endsWith("/")?r.pathname:r.pathname+"/";return a.startsWith(i)}class pe extends Error{constructor(t){super(t??"Unauthorized")}}function K(e){return["client_secret_basic","client_secret_post","none"].includes(e)}const p="code",_="S256";function Y(e,t){const n=e.client_secret!==void 0;return"token_endpoint_auth_method"in e&&e.token_endpoint_auth_method&&K(e.token_endpoint_auth_method)&&(t.length===0||t.includes(e.token_endpoint_auth_method))?e.token_endpoint_auth_method:t.length===0?n?"client_secret_basic":"none":n&&t.includes("client_secret_basic")?"client_secret_basic":n&&t.includes("client_secret_post")?"client_secret_post":t.includes("none")?"none":n?"client_secret_post":"none"}function Q(e,t,n,r){const{client_id:a,client_secret:i}=t;switch(e){case"client_secret_basic":X(a,i,n);return;case"client_secret_post":ee(a,i,r);return;case"none":te(a,r);return;default:throw new Error(`Unsupported client authentication method: ${e}`)}}function X(e,t,n){if(!t)throw new Error("client_secret_basic authentication requires a client_secret");const r=btoa(`${e}:${t}`);n.set("Authorization",`Basic ${r}`)}function ee(e,t,n){n.set("client_id",e),t&&n.set("client_secret",t)}function te(e,t){t.set("client_id",e)}async function M(e){const t=e instanceof Response?e.status:void 0,n=e instanceof Response?await e.text():e;try{const r=N.parse(JSON.parse(n)),{error:a,error_description:i,error_uri:s}=r,o=B[a]||y;return new o(i||"",s)}catch(r){const a=`${t?`HTTP ${t}: `:""}Invalid OAuth error response: ${r}. Raw body: ${n}`;return new y(a)}}async function _e(e,t){try{return await U(e,t)}catch(n){if(n instanceof H||n instanceof D)return await e.invalidateCredentials?.("all"),await U(e,t);if(n instanceof V)return await e.invalidateCredentials?.("tokens"),await U(e,t);throw n}}async function U(e,{serverUrl:t,authorizationCode:n,scope:r,resourceMetadataUrl:a,fetchFn:i}){const s=await e.discoveryState?.();let o,c,u,h=a;if(!h&&s?.resourceMetadataUrl&&(h=new URL(s.resourceMetadataUrl)),s?.authorizationServerUrl){if(c=s.authorizationServerUrl,o=s.resourceMetadata,u=s.authorizationServerMetadata??await P(c,{fetchFn:i}),!o)try{o=await T(t,{resourceMetadataUrl:h},i)}catch{}(u!==s.authorizationServerMetadata||o!==s.resourceMetadata)&&await e.saveDiscoveryState?.({authorizationServerUrl:String(c),resourceMetadataUrl:h?.toString(),resourceMetadata:o,authorizationServerMetadata:u})}else{const l=await ce(t,{resourceMetadataUrl:h,fetchFn:i});c=l.authorizationServerUrl,u=l.authorizationServerMetadata,o=l.resourceMetadata,await e.saveDiscoveryState?.({authorizationServerUrl:String(c),resourceMetadataUrl:h?.toString(),resourceMetadata:o,authorizationServerMetadata:u})}const f=await re(t,e,o),A=r||o?.scopes_supported?.join(" ")||e.clientMetadata.scope;let d=await Promise.resolve(e.clientInformation());if(!d){if(n!==void 0)throw new Error("Existing OAuth client information is required when exchanging an authorization code");const l=u?.client_id_metadata_document_supported===!0,w=e.clientMetadataUrl;if(w&&!ne(w))throw new q(`clientMetadataUrl must be a valid HTTPS URL with a non-root pathname, got: ${w}`);if(l&&w)d={client_id:w},await e.saveClientInformation?.(d);else{if(!e.saveClientInformation)throw new Error("OAuth client information must be saveable for dynamic registration");const S=await de(c,{metadata:u,clientMetadata:e.clientMetadata,scope:A,fetchFn:i});await e.saveClientInformation(S),d=S}}const C=!e.redirectUrl;if(n!==void 0||C){const l=await he(e,c,{metadata:u,resource:f,authorizationCode:n,fetchFn:i});return await e.saveTokens(l),"AUTHORIZED"}const k=await e.tokens();if(k?.refresh_token)try{const l=await le(c,{metadata:u,clientInformation:d,refreshToken:k.refresh_token,resource:f,addClientAuthentication:e.addClientAuthentication,fetchFn:i});return await e.saveTokens(l),"AUTHORIZED"}catch(l){if(!(!(l instanceof j)||l instanceof y))throw l}const z=e.state?await e.state():void 0,{authorizationUrl:I,codeVerifier:b}=await ue(c,{metadata:u,clientInformation:d,state:z,redirectUrl:e.redirectUrl,scope:A,resource:f});return await e.saveCodeVerifier(b),await e.redirectToAuthorization(I),"REDIRECT"}function ne(e){if(!e)return!1;try{const t=new URL(e);return t.protocol==="https:"&&t.pathname!=="/"}catch{return!1}}async function re(e,t,n){const r=G(e);if(t.validateResourceURL)return await t.validateResourceURL(r,n?.resource);if(n){if(!J({requestedResource:r,configuredResource:n.resource}))throw new Error(`Protected resource ${n.resource} does not match expected ${r} (or origin)`);return new URL(n.resource)}}function Ue(e){const t=e.headers.get("WWW-Authenticate");if(!t)return{};const[n,r]=t.split(" ");if(n.toLowerCase()!=="bearer"||!r)return{};const a=m(e,"resource_metadata")||void 0;let i;if(a)try{i=new URL(a)}catch{}const s=m(e,"scope")||void 0,o=m(e,"error")||void 0;return{resourceMetadataUrl:i,scope:s,error:o}}function m(e,t){const n=e.headers.get("WWW-Authenticate");if(!n)return null;const r=new RegExp(`${t}=(?:"([^"]+)"|([^\\s,]+))`),a=n.match(r);return a?a[1]||a[2]:null}async function T(e,t,n=fetch){const r=await ie(e,"oauth-protected-resource",n,{protocolVersion:t?.protocolVersion,metadataUrl:t?.resourceMetadataUrl});if(!r||r.status===404)throw await r?.body?.cancel(),new Error("Resource server does not implement OAuth 2.0 Protected Resource Metadata.");if(!r.ok)throw await r.body?.cancel(),new Error(`HTTP ${r.status} trying to load well-known OAuth protected resource metadata.`);return v.parse(await r.json())}async function R(e,t,n=fetch){try{return await n(e,{headers:t})}catch(r){if(r instanceof TypeError)return t?R(e,void 0,n):void 0;throw r}}function ae(e,t="",n={}){return t.endsWith("/")&&(t=t.slice(0,-1)),n.prependPathname?`${t}/.well-known/${e}`:`/.well-known/${e}${t}`}async function E(e,t,n=fetch){return await R(e,{"MCP-Protocol-Version":t},n)}function oe(e,t){return!e||e.status>=400&&e.status<500&&t!=="/"}async function ie(e,t,n,r){const a=new URL(e),i=r?.protocolVersion??L;let s;if(r?.metadataUrl)s=new URL(r.metadataUrl);else{const c=ae(t,a.pathname);s=new URL(c,r?.metadataServerUrl??a),s.search=a.search}let o=await E(s,i,n);if(!r?.metadataUrl&&oe(o,a.pathname)){const c=new URL(`/.well-known/${t}`,a);o=await E(c,i,n)}return o}function se(e){const t=typeof e=="string"?new URL(e):e,n=t.pathname!=="/",r=[];if(!n)return r.push({url:new URL("/.well-known/oauth-authorization-server",t.origin),type:"oauth"}),r.push({url:new URL("/.well-known/openid-configuration",t.origin),type:"oidc"}),r;let a=t.pathname;return a.endsWith("/")&&(a=a.slice(0,-1)),r.push({url:new URL(`/.well-known/oauth-authorization-server${a}`,t.origin),type:"oauth"}),r.push({url:new URL(`/.well-known/openid-configuration${a}`,t.origin),type:"oidc"}),r.push({url:new URL(`${a}/.well-known/openid-configuration`,t.origin),type:"oidc"}),r}async function P(e,{fetchFn:t=fetch,protocolVersion:n=L}={}){const r={"MCP-Protocol-Version":n,Accept:"application/json"},a=se(e);for(const{url:i,type:s}of a){const o=await R(i,r,t);if(o){if(!o.ok){if(await o.body?.cancel(),o.status>=400&&o.status<500)continue;throw new Error(`HTTP ${o.status} trying to load ${s==="oauth"?"OAuth":"OpenID provider"} metadata from ${i}`)}return s==="oauth"?$.parse(await o.json()):W.parse(await o.json())}}}async function ce(e,t){let n,r;try{n=await T(e,{resourceMetadataUrl:t?.resourceMetadataUrl},t?.fetchFn),n.authorization_servers&&n.authorization_servers.length>0&&(r=n.authorization_servers[0])}catch{}r||(r=String(new URL("/",e)));const a=await P(r,{fetchFn:t?.fetchFn});return{authorizationServerUrl:r,authorizationServerMetadata:a,resourceMetadata:n}}async function ue(e,{metadata:t,clientInformation:n,redirectUrl:r,scope:a,state:i,resource:s}){let o;if(t){if(o=new URL(t.authorization_endpoint),!t.response_types_supported.includes(p))throw new Error(`Incompatible auth server: does not support response type ${p}`);if(t.code_challenge_methods_supported&&!t.code_challenge_methods_supported.includes(_))throw new Error(`Incompatible auth server: does not support code challenge method ${_}`)}else o=new URL("/authorize",e);const c=await Z(),u=c.code_verifier,h=c.code_challenge;return o.searchParams.set("response_type",p),o.searchParams.set("client_id",n.client_id),o.searchParams.set("code_challenge",h),o.searchParams.set("code_challenge_method",_),o.searchParams.set("redirect_uri",String(r)),i&&o.searchParams.set("state",i),a&&o.searchParams.set("scope",a),a?.includes("offline_access")&&o.searchParams.append("prompt","consent"),s&&o.searchParams.set("resource",s.href),{authorizationUrl:o,codeVerifier:u}}function O(e,t,n){return new URLSearchParams({grant_type:"authorization_code",code:e,code_verifier:t,redirect_uri:String(n)})}async function g(e,{metadata:t,tokenRequestParams:n,clientInformation:r,addClientAuthentication:a,resource:i,fetchFn:s}){const o=t?.token_endpoint?new URL(t.token_endpoint):new URL("/token",e),c=new Headers({"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"});if(i&&n.set("resource",i.href),a)await a(c,n,o,t);else if(r){const h=t?.token_endpoint_auth_methods_supported??[],f=Y(r,h);Q(f,r,c,n)}const u=await(s??fetch)(o,{method:"POST",headers:c,body:n});if(!u.ok)throw await M(u);return x.parse(await u.json())}async function me(e,{metadata:t,clientInformation:n,authorizationCode:r,codeVerifier:a,redirectUri:i,resource:s,addClientAuthentication:o,fetchFn:c}){const u=O(r,a,i);return g(e,{metadata:t,tokenRequestParams:u,clientInformation:n,addClientAuthentication:o,resource:s,fetchFn:c})}async function le(e,{metadata:t,clientInformation:n,refreshToken:r,resource:a,addClientAuthentication:i,fetchFn:s}){const o=new URLSearchParams({grant_type:"refresh_token",refresh_token:r}),c=await g(e,{metadata:t,tokenRequestParams:o,clientInformation:n,addClientAuthentication:i,resource:a,fetchFn:s});return{refresh_token:r,...c}}async function he(e,t,{metadata:n,resource:r,authorizationCode:a,fetchFn:i}={}){const s=e.clientMetadata.scope;let o;if(e.prepareTokenRequest&&(o=await e.prepareTokenRequest(s)),!o){if(!a)throw new Error("Either provider.prepareTokenRequest() or authorizationCode is required");if(!e.redirectUrl)throw new Error("redirectUrl is required for authorization_code flow");const u=await e.codeVerifier();o=O(a,u,e.redirectUrl)}const c=await e.clientInformation();return g(t,{metadata:n,tokenRequestParams:o,clientInformation:c??void 0,addClientAuthentication:e.addClientAuthentication,resource:r,fetchFn:i})}async function de(e,{metadata:t,clientMetadata:n,scope:r,fetchFn:a}){let i;if(t){if(!t.registration_endpoint)throw new Error("Incompatible auth server: does not support dynamic client registration");i=new URL(t.registration_endpoint)}else i=new URL("/register",e);const s=await(a??fetch)(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,...r!==void 0?{scope:r}:{}})});if(!s.ok)throw await M(s);return F.parse(await s.json())}export{pe as U,_e as a,P as b,me as c,T as d,Ue as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./index-
|
|
1
|
+
import"./index-HpF4ydE2.js";import{i as u,a as p}from"./mcp-oauth-JmfL6YDg.js";async function k({connectionId:n,orgId:s,orgSlug:o,persistFallback:r}){const c=new URL(`/api/${o}/mcp/${n}`,window.location.origin),i=await u({url:c.href,token:null,orgId:s});if(!i.supportsOAuth||i.isAuthenticated)return{ran:!1,ok:!0,error:null};const{token:t,tokenInfo:e,error:a}=await p({connectionId:n,orgSlug:o,scope:"offline_access"});if(a||!t)return{ran:!0,ok:!1,error:a??"no token received"};if(e)try{(await fetch(`/api/${o}/connections/${n}/oauth-token`,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({accessToken:e.accessToken,refreshToken:e.refreshToken,expiresIn:e.expiresIn,scope:e.scope,clientId:e.clientId,clientSecret:e.clientSecret,tokenEndpoint:e.tokenEndpoint})})).ok||await r(t)}catch{await r(t)}else await r(t);return{ran:!0,ok:!0,error:null}}export{k as a};
|
package/dist/client/assets/{automation-list-row-Bc0NmrRb.js → automation-list-row-CtwPJ_qi.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as G,b as J,r as U,m as W,j as t,B as X}from"./index-
|
|
1
|
+
import{c as G,b as J,r as U,m as W,j as t,B as X}from"./index-HpF4ydE2.js";import{A as Y,a as Z,b as ee,c as te,d as se,e as ie,f as ne,g as oe}from"./alert-dialog-CEWyrZ_Z.js";import{D as ae,c as re,b as le,a as ce}from"./dropdown-menu-CvmqCZWH.js";import{s as me}from"./Stars02-l4Bi009V.js";import{a as ue}from"./DotsVertical-wivS0onw.js";import{s as de}from"./Trash01-DUPlExuW.js";import{i as fe}from"./Zap-Bo7ywofH.js";import{u as ge}from"./use-virtual-mcp-DnVlCNEk.js";import{A as xe}from"./agent-icon-ChlSj_zC.js";import{u as pe}from"./use-automations-CSTZ3886.js";function ke(c){const e=G.c(80),{automation:s,showAgent:a,onClick:n}=c,i=J(),{remove:o}=pe(),[l,O]=U.useState(!1),r=ge(a?s.virtual_mcp_id:void 0);let S;e[0]!==s.id||e[1]!==o?(S=()=>{o.mutate(s.id),O(!1)},e[0]=s.id,e[1]=o,e[2]=S):S=e[2];const I=S;let E;e[3]!==n?(E=m=>{m.target===m.currentTarget&&(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),n())},e[3]=n,e[4]=E):E=e[4];const H=E,V=s.active&&s.trigger_count>0?"bg-success":"bg-muted-foreground/40";let u;e[5]!==V?(u=W("inline-block size-2 rounded-full shrink-0",V),e[5]=V,e[6]=u):u=e[6];const q=s.active&&s.trigger_count>0?"automations.automationListRow.ariaActive":s.active?"automations.automationListRow.ariaNoTriggers":"automations.automationListRow.ariaPaused";let d;e[7]!==i||e[8]!==q?(d=i(q),e[7]=i,e[8]=q,e[9]=d):d=e[9];let f;e[10]!==u||e[11]!==d?(f=t.jsx("span",{className:u,"aria-label":d}),e[10]=u,e[11]=d,e[12]=f):f=e[12];let g;e[13]!==r?.icon||e[14]!==r?.title||e[15]!==s.name||e[16]!==a?(g=a&&t.jsx(xe,{icon:r?.icon??null,name:r?.title??s.name,size:"xs",className:"shrink-0"}),e[13]=r?.icon,e[14]=r?.title,e[15]=s.name,e[16]=a,e[17]=g):g=e[17];let x;e[18]!==s.name?(x=t.jsx("span",{className:"text-sm font-medium text-foreground truncate",children:s.name}),e[18]=s.name,e[19]=x):x=e[19];let p;e[20]!==r||e[21]!==a?(p=a&&r&&t.jsxs("span",{className:"text-xs text-muted-foreground truncate",children:["· ",r.title]}),e[20]=r,e[21]=a,e[22]=p):p=e[22];let h;e[23]!==p||e[24]!==x?(h=t.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[x,p]}),e[23]=p,e[24]=x,e[25]=h):h=e[25];let j;e[26]!==s.nearest_next_run_at||e[27]!==s.trigger_count?(j=t.jsx(we,{triggerCount:s.trigger_count,nextRunAt:s.nearest_next_run_at}),e[26]=s.nearest_next_run_at,e[27]=s.trigger_count,e[28]=j):j=e[28];let w;e[29]!==h||e[30]!==j?(w=t.jsxs("div",{className:"flex-1 min-w-0 flex flex-col gap-0.5",children:[h,j]}),e[29]=h,e[30]=j,e[31]=w):w=e[31];let F;e[32]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx(ae,{asChild:!0,children:t.jsx(X,{variant:"ghost",size:"sm",className:"h-8 w-8 p-0 opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 transition-opacity",children:t.jsx(ue,{size:16})})}),e[32]=F):F=e[32];let $,B;e[33]===Symbol.for("react.memo_cache_sentinel")?($=m=>{m.stopPropagation(),O(!0)},B=t.jsx(de,{size:16}),e[33]=$,e[34]=B):($=e[33],B=e[34]);let v;e[35]!==i?(v=i("automations.automationListRow.delete"),e[35]=i,e[36]=v):v=e[36];let _;e[37]!==v?(_=t.jsx("div",{onClick:je,onKeyDown:he,role:"presentation",className:"shrink-0",children:t.jsxs(re,{children:[F,t.jsx(le,{align:"end",children:t.jsxs(ce,{variant:"destructive",onClick:$,children:[B,v]})})]})}),e[37]=v,e[38]=_):_=e[38];let b;e[39]!==H||e[40]!==n||e[41]!==w||e[42]!==_||e[43]!==f||e[44]!==g?(b=t.jsxs("div",{role:"button",tabIndex:0,onClick:n,onKeyDown:H,className:"group w-full flex items-center gap-3 px-4 py-3 border-b border-border text-left hover:bg-muted/50 transition-colors cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[f,g,w,_]}),e[39]=H,e[40]=n,e[41]=w,e[42]=_,e[43]=f,e[44]=g,e[45]=b):b=e[45];let A;e[46]!==i?(A=i("automations.automationListRow.deleteTitle"),e[46]=i,e[47]=A):A=e[47];let D;e[48]!==A?(D=t.jsx(Y,{children:A}),e[48]=A,e[49]=D):D=e[49];let N;e[50]!==s.name||e[51]!==i?(N=i("automations.automationListRow.deleteDescription",{name:s.name}),e[50]=s.name,e[51]=i,e[52]=N):N=e[52];let R;e[53]!==N?(R=t.jsx(Z,{children:N}),e[53]=N,e[54]=R):R=e[54];let y;e[55]!==D||e[56]!==R?(y=t.jsxs(ee,{children:[D,R]}),e[55]=D,e[56]=R,e[57]=y):y=e[57];let C;e[58]!==i?(C=i("automations.automationListRow.cancel"),e[58]=i,e[59]=C):C=e[59];let L;e[60]!==C?(L=t.jsx(te,{children:C}),e[60]=C,e[61]=L):L=e[61];const Q=o.isPending;let k;e[62]!==i?(k=i("automations.automationListRow.deleteButton"),e[62]=i,e[63]=k):k=e[63];let P;e[64]!==I||e[65]!==o.isPending||e[66]!==k?(P=t.jsx(se,{onClick:I,disabled:Q,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:k}),e[64]=I,e[65]=o.isPending,e[66]=k,e[67]=P):P=e[67];let T;e[68]!==L||e[69]!==P?(T=t.jsxs(ie,{children:[L,P]}),e[68]=L,e[69]=P,e[70]=T):T=e[70];let z;e[71]!==y||e[72]!==T?(z=t.jsxs(ne,{children:[y,T]}),e[71]=y,e[72]=T,e[73]=z):z=e[73];let M;e[74]!==l||e[75]!==z?(M=t.jsx(oe,{open:l,onOpenChange:O,children:z}),e[74]=l,e[75]=z,e[76]=M):M=e[76];let K;return e[77]!==b||e[78]!==M?(K=t.jsxs(t.Fragment,{children:[b,M]}),e[77]=b,e[78]=M,e[79]=K):K=e[79],K}function he(c){return c.stopPropagation()}function je(c){return c.stopPropagation()}function we(c){const e=G.c(8),{triggerCount:s,nextRunAt:a}=c,n=J();if(s===0){let o;e[0]!==n?(o=n("automations.automationListRow.noTriggers"),e[0]=n,e[1]=o):o=e[1];let l;return e[2]!==o?(l=t.jsx("span",{className:"text-xs text-muted-foreground",children:o}),e[2]=o,e[3]=l):l=e[3],l}let i;return e[4]!==a||e[5]!==n||e[6]!==s?(i=t.jsx("span",{className:"flex items-center gap-1.5 text-xs text-muted-foreground min-w-0",children:a?t.jsxs(t.Fragment,{children:[t.jsx(me,{size:12,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:n("automations.automationListRow.nextRun",{date:new Date(a).toLocaleString()})})]}):t.jsxs(t.Fragment,{children:[t.jsx(fe,{size:12,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:n("automations.automationListRow.triggers",{count:s})})]})}),e[4]=a,e[5]=n,e[6]=s,e[7]=i):i=e[7],i}export{ke as A};
|