decocms 3.34.1 → 3.34.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-rpaL6q8T.js → AlertCircle-B5QG7wg7.js} +1 -1
- package/dist/client/assets/{ArrowUpRight-D7_4FAQ5.js → ArrowUpRight-Ce95HJs8.js} +1 -1
- package/dist/client/assets/{Check-6LmIKXJj.js → Check-CV74Rqqs.js} +1 -1
- package/dist/client/assets/{CheckCircle-D0kUlRsN.js → CheckCircle-BiLWpS6e.js} +1 -1
- package/dist/client/assets/{ChevronDown-CaCYdoie.js → ChevronDown-XKMoQgX6.js} +1 -1
- package/dist/client/assets/{ChevronLeft-BuXkBFIm.js → ChevronLeft-rORK5a-Y.js} +1 -1
- package/dist/client/assets/{ChevronRight-kLRVkGUs.js → ChevronRight-Betyx6_9.js} +1 -1
- package/dist/client/assets/{ChevronUp-DkGtzqyl.js → ChevronUp-CGfhqWp1.js} +1 -1
- package/dist/client/assets/{Container-Bl0qWNtu.js → Container-Byi81M5N.js} +1 -1
- package/dist/client/assets/{DotsVertical-CvhOKI-w.js → DotsVertical-CuchmOf0.js} +1 -1
- package/dist/client/assets/{Eye-BNS1RmzG.js → Eye-RSaOlPZv.js} +1 -1
- package/dist/client/assets/{FilterLines-BSmtfAHG.js → FilterLines-DuHSJmFt.js} +1 -1
- package/dist/client/assets/{Globe01-DjWlKHom.js → Globe01-Ds0ZgQYM.js} +1 -1
- package/dist/client/assets/{HardDrive-Dx3Blqhn.js → HardDrive-C0JdZ_DO.js} +1 -1
- package/dist/client/assets/{Key01-D6jyUgYu.js → Key01-CStdo5WX.js} +1 -1
- package/dist/client/assets/{LayoutLeft-C7Cmt2J8.js → LayoutLeft-BdQI12mG.js} +1 -1
- package/dist/client/assets/{LinkExternal01-B6flmd1s.js → LinkExternal01-D7swM7zC.js} +1 -1
- package/dist/client/assets/{Monitor01-DBfOkkx9.js → Monitor01-CaSeRueL.js} +1 -1
- package/dist/client/assets/{Palette-BX6fdd-v.js → Palette-gIYgJ3Wn.js} +1 -1
- package/dist/client/assets/{Play-DApzrsBx.js → Play-1bLCgUWF.js} +1 -1
- package/dist/client/assets/{Plus-Do6ZWheh.js → Plus-wat9tYeJ.js} +1 -1
- package/dist/client/assets/{RefreshCcw01-CW918RSV.js → RefreshCcw01-D-1V89vv.js} +1 -1
- package/dist/client/assets/{SearchMd-B4Lavo8e.js → SearchMd-BoptgjAM.js} +1 -1
- package/dist/client/assets/{Settings02-B57k_aEv.js → Settings02-8XjUg3gM.js} +1 -1
- package/dist/client/assets/{Shield01-CFDfVqiL.js → Shield01-CjOnx-7R.js} +1 -1
- package/dist/client/assets/{Star01-QoJ-qcfh.js → Star01-Dsaeuwpa.js} +1 -1
- package/dist/client/assets/{Stars01-ANwy09AP.js → Stars01-DDkk5qux.js} +1 -1
- package/dist/client/assets/{Stars02-C17u9BVa.js → Stars02-ChPYLNIJ.js} +1 -1
- package/dist/client/assets/{Sun-D4yzlyEv.js → Sun-BUoG5bs4.js} +1 -1
- package/dist/client/assets/{SwitchHorizontal01-CkwE98n9.js → SwitchHorizontal01-CkdIfbJ1.js} +1 -1
- package/dist/client/assets/{Tool01-B0zT3ots.js → Tool01-Be5AVc1v.js} +1 -1
- package/dist/client/assets/{Trash01-Bifm5Wb3.js → Trash01-YuwiLEVo.js} +1 -1
- package/dist/client/assets/{Upload01-mjA8r4Fi.js → Upload01-aGUy8jUM.js} +1 -1
- package/dist/client/assets/{User01-BZL6tFVt.js → User01-CUMpCZVS.js} +1 -1
- package/dist/client/assets/{Users01-CqVfleMx.js → Users01-BGw9h7dE.js} +1 -1
- package/dist/client/assets/{Users03-C5i2CKOP.js → Users03-Cf3_qQGc.js} +1 -1
- package/dist/client/assets/{X-BWR0-4rz.js → X-D1kqmcok.js} +1 -1
- package/dist/client/assets/{XCircle-CiiIVhRh.js → XCircle-Ds6l9Vuw.js} +1 -1
- package/dist/client/assets/{XClose-D0wmxYTF.js → XClose-CwNjmDWz.js} +1 -1
- package/dist/client/assets/{Zap-BGp3QjmM.js → Zap-j2XVmCfk.js} +1 -1
- package/dist/client/assets/{ZapSquare-CxE5iHdd.js → ZapSquare-DMmAEMvR.js} +1 -1
- package/dist/client/assets/{ZoomOut-B1VNHI1K.js → ZoomOut-C6xbqN0H.js} +1 -1
- package/dist/client/assets/{access-gate-BELP4oqa.js → access-gate-DfmEpXgP.js} +1 -1
- package/dist/client/assets/{accordion-Dsx4jZXX.js → accordion-B4RSATFh.js} +1 -1
- package/dist/client/assets/{add-section-modal-BPiyATcO.js → add-section-modal-DGPmEqVH.js} +1 -1
- package/dist/client/assets/{agent-capabilities-CmHO-Kgo.js → agent-capabilities-UHQXEFqt.js} +1 -1
- package/dist/client/assets/{agent-icon-CpBAbwoh.js → agent-icon-BAU0Nn5Q.js} +1 -1
- package/dist/client/assets/{agent-icons-C_pHQRgk.js → agent-icons-CMqOumOa.js} +1 -1
- package/dist/client/assets/{agents-list-ud8B7XUs.js → agents-list-f6dvlBDo.js} +1 -1
- package/dist/client/assets/{ai-providers-DuT9vieJ.js → ai-providers-CIni-0nv.js} +1 -1
- package/dist/client/assets/{alert-C_aVuLV8.js → alert-CeTPCPF-.js} +1 -1
- package/dist/client/assets/{alert-dialog-Dsb6KPFM.js → alert-dialog-nDI1xJhR.js} +1 -1
- package/dist/client/assets/app-editor-Dd3wbzna.js +1 -0
- package/dist/client/assets/{auth-catchall-DsJQjIZu.js → auth-catchall-BHc3WJmM.js} +1 -1
- package/dist/client/assets/{auth-split-layout-BBz1-8cc.js → auth-split-layout-By3wB5zH.js} +1 -1
- package/dist/client/assets/{automation-list-row-DTcrDIUh.js → automation-list-row-C-im7Cyh.js} +1 -1
- package/dist/client/assets/{automation-runs-D8yf4pum.js → automation-runs-BYZ99hni.js} +1 -1
- package/dist/client/assets/{automations-BqoqwiaS.js → automations-BKZFJOPp.js} +1 -1
- package/dist/client/assets/{avatar-nCSKoB6F.js → avatar-BZq-o3M_.js} +1 -1
- package/dist/client/assets/{badge-CY1rqnYU.js → badge-DBQKr8ze.js} +1 -1
- package/dist/client/assets/{brand-context-DCIkJfS8.js → brand-context-CpadUeMB.js} +1 -1
- package/dist/client/assets/{buckets-CvxCU-Mg.js → buckets-BWDxlk4n.js} +1 -1
- package/dist/client/assets/{calendar-vde5tCHf.js → calendar-D0ZGZM9k.js} +1 -1
- package/dist/client/assets/{capability-load-error-DYWpzVHl.js → capability-load-error-BqquNR5_.js} +1 -1
- package/dist/client/assets/{card-CYGsSb57.js → card-_9LUJQRQ.js} +1 -1
- package/dist/client/assets/{chat-context-CDygsN4Q.js → chat-context-BGBybCr0.js} +1 -1
- package/dist/client/assets/{checkbox-vKl7eadT.js → checkbox-BoVEsaTu.js} +1 -1
- package/dist/client/assets/{cli-auth-success-BgBSOhsv.js → cli-auth-success-BYlIpapz.js} +1 -1
- package/dist/client/assets/{collection-detail-Cl0_mdap.js → collection-detail-C5awVm7D.js} +1 -1
- package/dist/client/assets/{collection-display-button-VpCmWGot.js → collection-display-button-C331HXzj.js} +1 -1
- package/dist/client/assets/{collection-search-CjkYy_AH.js → collection-search-D2zd2w_6.js} +1 -1
- package/dist/client/assets/{collection-table-wrapper-CuUrD2rg.js → collection-table-wrapper-D_JocMSh.js} +1 -1
- package/dist/client/assets/{collection-tabs-BGsvaOVA.js → collection-tabs-Et7HpQI-.js} +1 -1
- package/dist/client/assets/{collections-NCEoL2EX.js → collections-BEkDC2fV.js} +1 -1
- package/dist/client/assets/{command-KCI9wvsu.js → command-DjRT1inC.js} +1 -1
- package/dist/client/assets/{connect-desktop-dialog-CgeQRUKM.js → connect-desktop-dialog-C7P5AZy7.js} +1 -1
- package/dist/client/assets/{connection-card-BioQsepZ.js → connection-card-C6z8X3mv.js} +1 -1
- package/dist/client/assets/{connection-detail-szcerrZK.js → connection-detail-DWcaSH3b.js} +1 -1
- package/dist/client/assets/{connection-form-helpers-DC_9yJsF.js → connection-form-helpers-CJ-3PHD0.js} +1 -1
- package/dist/client/assets/{connections-ZTcaOmQJ.js → connections-plRLUbCm.js} +1 -1
- package/dist/client/assets/decopilot-sse-pool-Cu7Nizzp.js +1 -0
- package/dist/client/assets/{dialog-CxpeEAA2.js → dialog-DilC5A4p.js} +1 -1
- package/dist/client/assets/{domain-settings-FkOLC-vc.js → domain-settings-BUYR_el1.js} +1 -1
- package/dist/client/assets/{drawer-R-Q-vfsa.js → drawer-PqoucHj8.js} +1 -1
- package/dist/client/assets/{dropdown-menu-Xj0lVIXK.js → dropdown-menu-CCeLALQe.js} +1 -1
- package/dist/client/assets/{dynamic-plugin-layout-ggJeSS9L.js → dynamic-plugin-layout-b5WMDmEL.js} +1 -1
- package/dist/client/assets/{empty-state-BEE0EBKQ.js → empty-state-C0m3QPuD.js} +1 -1
- package/dist/client/assets/{empty-state-BhV-zl-f.js → empty-state-cuRG9xrS.js} +1 -1
- package/dist/client/assets/{extract-connection-data-BJ4lD3eO.js → extract-connection-data-zlBEIx4x.js} +1 -1
- package/dist/client/assets/{features-2oa5PE-D.js → features-1PDTV_2R.js} +1 -1
- package/dist/client/assets/{file-explorer-mkpu5feK.js → file-explorer-CBKgCWMC.js} +1 -1
- package/dist/client/assets/{file-type-icon-35VBMVCk.js → file-type-icon-CBlaUM9a.js} +1 -1
- package/dist/client/assets/{files-C37GYe47.js → files-De7CB1eQ.js} +1 -1
- package/dist/client/assets/{form-Ci8PGt-R.js → form-DcfAV72q.js} +1 -1
- package/dist/client/assets/{general-NmglolSe.js → general-DCkCuFZl.js} +1 -1
- package/dist/client/assets/{generate-id-nWw_PZwJ.js → generate-id-N17blLwS.js} +1 -1
- package/dist/client/assets/{github-repo-picker-DY4w_1I0.js → github-repo-picker-CIreZixy.js} +1 -1
- package/dist/client/assets/{header-tab-button-C7XZ27Uv.js → header-tab-button-CNFRl9p4.js} +1 -1
- package/dist/client/assets/{hover-card-DY9PmUZF.js → hover-card-Bizl54yc.js} +1 -1
- package/dist/client/assets/{image-field-DXfNSgLy.js → image-field-Btc7vZ_B.js} +1 -1
- package/dist/client/assets/{index-So-S11eP.js → index-4vxs0ZGV.js} +1 -1
- package/dist/client/assets/{index-BEe1oLVg.js → index-B6U1MHPz.js} +1 -1
- package/dist/client/assets/{index-Rf_PdJ5z.js → index-CQQJ5UaG.js} +1 -1
- package/dist/client/assets/{index-Czr8nkWj.js → index-C_YL5c1Q.js} +1 -1
- package/dist/client/assets/{index-u2XUNnQk.js → index-CeH9NvWc.js} +4 -4
- package/dist/client/assets/{index-czuYZ_ID.js → index-CoxAwU4M.js} +1 -1
- package/dist/client/assets/{index-DO3UwA_I.js → index-DM719JZt.js} +1 -1
- package/dist/client/assets/{index-BToBsTv0.js → index-DOV0yCSN.js} +1 -1
- package/dist/client/assets/{index-BvKb9qza.js → index-Dr3ZvAAC.js} +1 -1
- package/dist/client/assets/{index-rZ1TPVyD.js → index-DxLTuX83.js} +3 -3
- package/dist/client/assets/{index-61WbL3ye.js → index-EffHR3rD.js} +1 -1
- package/dist/client/assets/{index-DUiGV32e.js → index-KCjld4_L.js} +1 -1
- package/dist/client/assets/{index-Dczuf3at.js → index-NuAPKwye.js} +1 -1
- package/dist/client/assets/{index-D9SSFpE5.js → index-VW961Pbw.js} +1 -1
- package/dist/client/assets/{index-DppjWA7O.js → index-WAvrfxHO.js} +1 -1
- package/dist/client/assets/{index-redirect-Mq-_t69h.js → index-redirect-BoGD6xOD.js} +1 -1
- package/dist/client/assets/{input-BPXWlz46.js → input-3FcnQKag.js} +1 -1
- package/dist/client/assets/{integration-icon-CWT0gSfx.js → integration-icon-C2c_G7v_.js} +1 -1
- package/dist/client/assets/{label-CzVCjiiL.js → label-Cv-qQXYd.js} +1 -1
- package/dist/client/assets/{layout-DRDhyVmm.js → layout-2bgJD0NS.js} +1 -1
- package/dist/client/assets/{login-BDymjDs5.js → login-DDLq_BK-.js} +1 -1
- package/dist/client/assets/{members-CtJP3l4D.js → members-BlttLAcq.js} +1 -1
- package/dist/client/assets/{monaco-editor-C-H4UmIT.js → monaco-editor-BenQSBIk.js} +1 -1
- package/dist/client/assets/{monitoring-stats-row-Bjwv0PCc.js → monitoring-stats-row-BcGGFk75.js} +1 -1
- package/dist/client/assets/{oauth-callback-BS0_f_H5.js → oauth-callback-CdBo7Kde.js} +1 -1
- package/dist/client/assets/{oauth-callback-ai-provider-Bp-Z15lU.js → oauth-callback-ai-provider-BF79mlu4.js} +1 -1
- package/dist/client/assets/{onboarding-tR6ID9Ba.js → onboarding-Dd72TDGl.js} +1 -1
- package/dist/client/assets/{org-install-Dao8BW5b.js → org-install-Bv_VZKPn.js} +1 -1
- package/dist/client/assets/{org-layout-3WhlK4a0.js → org-layout-CTAm8_WK.js} +1 -1
- package/dist/client/assets/{org-plugin-layout-C-NqJRXX.js → org-plugin-layout-KpgdAlfM.js} +1 -1
- package/dist/client/assets/{page-seo-form-Dk6e77BM.js → page-seo-form-B0n1eGFy.js} +1 -1
- package/dist/client/assets/page-seo-sheet-Bo7n8Dbw.js +1 -0
- package/dist/client/assets/{pair-DYb6YfcG.js → pair-DU07s2Yy.js} +1 -1
- package/dist/client/assets/{plugin-empty-state-YbbYO5hU.js → plugin-empty-state-CVzEQ5Cm.js} +1 -1
- package/dist/client/assets/{plugin-header-8P4QiIoH.js → plugin-header-B7b_y-0E.js} +1 -1
- package/dist/client/assets/{plugin-layout-CKmZivzq.js → plugin-layout-Bwwo9Dmw.js} +1 -1
- package/dist/client/assets/{popover-Bk3EwUPD.js → popover-DpnBmU5u.js} +1 -1
- package/dist/client/assets/{post-editor-Bw21I9pc.js → post-editor-DOuE35_z.js} +1 -1
- package/dist/client/assets/{primitives-Dql_hUCU.js → primitives-DCRAmGAV.js} +1 -1
- package/dist/client/assets/{profile-DVNKZaX-.js → profile-DvJYJ7rR.js} +1 -1
- package/dist/client/assets/project-app-view-DQhfhWs_.js +1 -0
- package/dist/client/assets/record-editor-BYnzNxDd.js +1 -0
- package/dist/client/assets/registry-469wEK7T.js +2 -0
- package/dist/client/assets/{registry-layout-DwX4dFWX.js → registry-layout-BMV-48W2.js} +1 -1
- package/dist/client/assets/{require-capability-6kSOKhdT.js → require-capability-BolUdzxs.js} +1 -1
- package/dist/client/assets/{required-auth-layout-YEZh9H2w.js → required-auth-layout-Ce12SDHB.js} +1 -1
- package/dist/client/assets/{reset-password-DaCJM4Eh.js → reset-password-BUAFUG-w.js} +1 -1
- package/dist/client/assets/{resizable-23UTrxEL.js → resizable-CDtszfkc.js} +1 -1
- package/dist/client/assets/{roles-xmvI7O0C.js → roles-ChM1uml4.js} +1 -1
- package/dist/client/assets/save-referenced-block-p44kfiVf.js +1 -0
- package/dist/client/assets/{save-status-BkzFYIeb.js → save-status-CrbNr3Yt.js} +1 -1
- package/dist/client/assets/{schema-form-DNaVud8y.js → schema-form-DF5JNe2x.js} +1 -1
- package/dist/client/assets/{scroll-area-QXSqgT3C.js → scroll-area-DtVZtiV9.js} +1 -1
- package/dist/client/assets/{search-input-DbmU5zU8.js → search-input-B5QgW7DO.js} +1 -1
- package/dist/client/assets/{secrets-CrK7EU6I.js → secrets-vyIYAehl.js} +1 -1
- package/dist/client/assets/{sections-editor-DJ6-AL_q.js → sections-editor-ChsSqsQp.js} +1 -1
- package/dist/client/assets/{select-DRqZIuLQ.js → select-C0Tyz9qJ.js} +1 -1
- package/dist/client/assets/{select-model-CZe_eVYF.js → select-model-qL2AwJh1.js} +1 -1
- package/dist/client/assets/{seo-editor-pRBB6PMK.js → seo-editor-BdvXc5GQ.js} +1 -1
- package/dist/client/assets/{settings-layout-osjNi_Qw.js → settings-layout-Cd7DSf19.js} +1 -1
- package/dist/client/assets/{settings-section-5LNAbhU4.js → settings-section-BxOSnd7f.js} +1 -1
- package/dist/client/assets/{sheet-Dsfk9URc.js → sheet-BZaR5cN8.js} +1 -1
- package/dist/client/assets/{shell-controls-BvG0M9XK.js → shell-controls-B_EeVM1l.js} +1 -1
- package/dist/client/assets/{shell-layout-DkW3B_MZ.js → shell-layout-DSw-nDR6.js} +1 -1
- package/dist/client/assets/{shell-route-loading-CKElD_Av.js → shell-route-loading-DGAtAFWm.js} +1 -1
- package/dist/client/assets/{sidebar-B3SsvTHC.js → sidebar-DILd2AwV.js} +1 -1
- package/dist/client/assets/{skeleton-DvVUqja_.js → skeleton-Dvzf2GQP.js} +1 -1
- package/dist/client/assets/{sortable.esm-CnPAeADV.js → sortable.esm-DhgyheK_.js} +1 -1
- package/dist/client/assets/{spinner-DZmgr2qu.js → spinner-CIUpakvk.js} +1 -1
- package/dist/client/assets/{sso-Ce8-uwYP.js → sso-BYueQDf4.js} +1 -1
- package/dist/client/assets/{store-Cy7UQOIx.js → store-DRNbauSU.js} +1 -1
- package/dist/client/assets/store-registry-Cj3hC5ms.js +2 -0
- package/dist/client/assets/{studio-tools-jbRVdtpc.js → studio-tools-qhNYzbg-.js} +1 -1
- package/dist/client/assets/{switch-rL3a0x4B.js → switch-B2R8Oovd.js} +1 -1
- package/dist/client/assets/{tab-id-hZWLCmfc.js → tab-id-BEXPtrYn.js} +1 -1
- package/dist/client/assets/{table-cHRXPecF.js → table-BHblf7Co.js} +1 -1
- package/dist/client/assets/{tabs-B68TQ0Dt.js → tabs-BEFEoOMo.js} +1 -1
- package/dist/client/assets/{task-status-Cqn0_tco.js → task-status-17hQtONR.js} +1 -1
- package/dist/client/assets/{textarea-Bymi75yx.js → textarea-CZOXZ6_T.js} +1 -1
- package/dist/client/assets/{toggle-group-DnRl91Ne.js → toggle-group-DzrJraBm.js} +1 -1
- package/dist/client/assets/{toolbar-Cb06hfKk.js → toolbar-A-Rw_MZF.js} +1 -1
- package/dist/client/assets/{tools-list-D12nTCg-.js → tools-list-CmTd7_Mb.js} +1 -1
- package/dist/client/assets/{tooltip-ua4lJTzI.js → tooltip-D1D9JHhD.js} +1 -1
- package/dist/client/assets/{types-DJl0mitR.js → types-DsYUq_UX.js} +1 -1
- package/dist/client/assets/{use-ai-providers-P6PF7YRx.js → use-ai-providers-CIvGzfXg.js} +1 -1
- package/dist/client/assets/{use-automations-DGe3A7k6.js → use-automations-CP8543px.js} +1 -1
- package/dist/client/assets/{use-capability-B2IrzHkM.js → use-capability-DDDjfOOE.js} +1 -1
- package/dist/client/assets/{use-clock-tick-x-ip1-Lp.js → use-clock-tick-DufrTL6j.js} +1 -1
- package/dist/client/assets/{use-collections-Dvp_IbhN.js → use-collections-CUoYyXrz.js} +1 -1
- package/dist/client/assets/{use-connection-CyWLUiRu.js → use-connection-DIX015NP.js} +1 -1
- package/dist/client/assets/{use-copy-nAd5EMaO.js → use-copy-B_iKACkn.js} +1 -1
- package/dist/client/assets/{use-create-virtual-mcp-DmdlMapL.js → use-create-virtual-mcp-BiFjwqV_.js} +1 -1
- package/dist/client/assets/{use-debounced-autosave-DSZqKaTf.js → use-debounced-autosave-CsGRGmM0.js} +1 -1
- package/dist/client/assets/{use-delete-connection-VJfJqSrZ.js → use-delete-connection-C2rrW8fa.js} +1 -1
- package/dist/client/assets/{use-file-configs-DXD_Hwrv.js → use-file-configs-CzVPvQ04.js} +1 -1
- package/dist/client/assets/{use-infinite-scroll-B2zyjKex.js → use-infinite-scroll-BmPWzVgW.js} +1 -1
- package/dist/client/assets/{use-list-state-ByLS4CFA.js → use-list-state-BxWtfKJF.js} +1 -1
- package/dist/client/assets/{use-mcp-client-CGBZ7ekq.js → use-mcp-client-B7YSHa6V.js} +1 -1
- package/dist/client/assets/{use-mcp-prompts-BQNNtRte.js → use-mcp-prompts-B8H3Sb8-.js} +1 -1
- package/dist/client/assets/{use-mcp-tools-Dn2JgISP.js → use-mcp-tools-Bb7rwoEF.js} +1 -1
- package/dist/client/assets/{use-members-BaX0tyb1.js → use-members-D33brPm2.js} +1 -1
- package/dist/client/assets/{use-navigate-to-agent-5w6ZqBss.js → use-navigate-to-agent-BpOmxFKV.js} +1 -1
- package/dist/client/assets/{use-org-auth-client-CLnnUl3h.js → use-org-auth-client-B3bhhuY4.js} +1 -1
- package/dist/client/assets/{use-org-sso-B8CLPiZl.js → use-org-sso-qcLKm5I7.js} +1 -1
- package/dist/client/assets/{use-organization-roles-UOgWPl1e.js → use-organization-roles-DV7FcWv5.js} +1 -1
- package/dist/client/assets/{use-organization-settings-D68AqLOQ.js → use-organization-settings-mMiPWte8.js} +1 -1
- package/dist/client/assets/{use-registry-connections-CRtbznIm.js → use-registry-connections-BIDj-EVl.js} +1 -1
- package/dist/client/assets/{use-secrets--KIFsJ5I.js → use-secrets-CMyn_SAh.js} +1 -1
- package/dist/client/assets/{use-status-sounds-B8VUkU2E.js → use-status-sounds-FktjeAga.js} +1 -1
- package/dist/client/assets/{use-view-mode-CvlKEBCR.js → use-view-mode-CQiQ9BoV.js} +1 -1
- package/dist/client/assets/{use-virtual-mcp-mhycHzLS.js → use-virtual-mcp-BHCygv1Q.js} +1 -1
- package/dist/client/assets/useInfiniteQuery-Du3dTl6W.js +1 -0
- package/dist/client/assets/{useRouterState-qr3F3XJE.js → useRouterState-CPOZ6kYF.js} +1 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-BHnbmrEl.js +1 -0
- package/dist/client/assets/{user-D73GXODW.js → user-BHiBl7KY.js} +1 -1
- package/dist/client/assets/{view-mode-toggle-3i0Tx7_t.js → view-mode-toggle-C4AuqTiF.js} +1 -1
- package/dist/client/assets/{watch-sse-pool-Bo209v56.js → watch-sse-pool-BEICArze.js} +1 -1
- package/dist/client/assets/{workflow-DoAXdkx8.js → workflow-CqlkVMXi.js} +1 -1
- package/dist/client/assets/workflow-detail-CqR4Jdyr.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/server/cli.js +2 -2
- package/dist/server/server.js +1 -1
- package/package.json +1 -1
- package/dist/client/assets/app-editor-CJE_W_Dn.js +0 -1
- package/dist/client/assets/decopilot-sse-pool-C2fCSDxg.js +0 -1
- package/dist/client/assets/page-seo-sheet-Ceb0gnAp.js +0 -1
- package/dist/client/assets/project-app-view-CMCeiidr.js +0 -1
- package/dist/client/assets/record-editor-803FPqaV.js +0 -1
- package/dist/client/assets/registry-BZxoTJql.js +0 -2
- package/dist/client/assets/save-referenced-block-CMYI5Fv0.js +0 -1
- package/dist/client/assets/store-registry-Cn522mzq.js +0 -2
- package/dist/client/assets/useInfiniteQuery-k6dph5MZ.js +0 -1
- package/dist/client/assets/useSuspenseInfiniteQuery-DGO3SU3a.js +0 -1
- package/dist/client/assets/workflow-detail-BVmen01p.js +0 -1
package/dist/server/server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var mL$=Object.create;var{getPrototypeOf:iL$,defineProperty:Mf,getOwnPropertyNames:Uo1,getOwnPropertyDescriptor:nL$}=Object,Fo1=Object.prototype.hasOwnProperty;function Ho1($){return this[$]}var pL$,tL$,x=($,Z,G)=>{var X=$!=null&&typeof $==="object";if(X){var Q=Z?pL$??=new WeakMap:tL$??=new WeakMap,Y=Q.get($);if(Y)return Y}G=$!=null?mL$(iL$($)):{};let J=Z||!$||!$.__esModule?Mf(G,"default",{value:$,enumerable:!0}):G;for(let W of Uo1($))if(!Fo1.call(J,W))Mf(J,W,{get:Ho1.bind($,W),enumerable:!0});if(X)Q.set($,J);return J},UB1=($)=>{var Z=(Ko1??=new WeakMap).get($),G;if(Z)return Z;if(Z=Mf({},"__esModule",{value:!0}),$&&typeof $==="object"||typeof $==="function"){for(var X of Uo1($))if(!Fo1.call(Z,X))Mf(Z,X,{get:Ho1.bind($,X),enumerable:!(G=nL$($,X))||G.enumerable})}return Ko1.set($,Z),Z},Ko1,v=($,Z)=>()=>(Z||$((Z={exports:{}}).exports,Z),Z.exports);var oL$=($)=>$;function rL$($,Z){this[$]=oL$.bind(null,Z)}var n4=($,Z)=>{for(var G in Z)Mf($,G,{get:Z[G],enumerable:!0,configurable:!0,set:rL$.bind(Z,G)})};var D=($,Z)=>()=>($&&(Z=$($=0)),Z);var _1=import.meta.require;function w6($,Z={}){let{signal:G}=Z;if(G?.aborted)return Promise.reject(G.reason);return new Promise((X,Q)=>{let Y=()=>{clearTimeout(+W),Q(G?.reason)},W=aL$(()=>{G?.removeEventListener("abort",Y),X()},$);G?.addEventListener("abort",Y,{once:!0})})}function aL$($,Z){if(Z=Math.trunc(Math.max(Z,0)||0),Z<=FB1){let Y=Number(setTimeout($,Z));return{valueOf:()=>Y}}let G=Date.now(),X,Q=()=>{let Y=Z-(Date.now()-G);X=Y>FB1?Number(setTimeout(Q,FB1)):Number(setTimeout($,Y))};return Q(),{valueOf:()=>X}}var FB1=2147483647;function s9($,Z,G,X,Q){let Y=Math.min($,Z*X**G);return(1-Q*Math.random())*Y}async function kf($,Z){let{multiplier:G=2,maxTimeout:X=60000,maxAttempts:Q=5,minTimeout:Y=1000,jitter:J=1,isRetriable:W=()=>!0,signal:K}=Z??{};if(!Number.isInteger(Q)||Q<1)throw RangeError(`Cannot retry as 'maxAttempts' must be a positive integer: current value is ${Q}`);if(!Number.isFinite(G)||G<1)throw RangeError(`Cannot retry as 'multiplier' must be a finite number >= 1: current value is ${G}`);if(Number.isNaN(X)||X<=0)throw RangeError(`Cannot retry as 'maxTimeout' must be a positive number: current value is ${X}`);if(Number.isNaN(Y)||Y<0)throw RangeError(`Cannot retry as 'minTimeout' must be >= 0: current value is ${Y}`);if(Y>X)throw RangeError(`Cannot retry as 'minTimeout' must be <= 'maxTimeout': current values 'minTimeout=${Y}', 'maxTimeout=${X}'`);if(Number.isNaN(J)||J<0||J>1)throw RangeError(`Cannot retry as 'jitter' must be between 0 and 1: current value is ${J}`);let U=0;while(!0){K?.throwIfAborted();try{return await $()}catch(F){if(!W(F))throw F;if(U+1>=Q)throw new fO(F,Q);let H=s9(X,Y,U,G,J);await w6(H,K?{signal:K}:void 0)}U++}}var fO;var No1=D(()=>{fO=class fO extends Error{constructor($,Z){super(`Retrying exceeded the maxAttempts (${Z}).`);this.name="RetryError",this.cause=$}}});var gZ=D(()=>{No1()});var PF="thread-gate",lY="automations";import{homedir as sL$}from"os";function $E$($){let Z=($??"").trim();return eL$.has(Z)?Z:"all"}function Vf($){return $==="true"||$==="1"}function ZE$($,Z){if($===void 0||$==="")return Z;return $==="true"||$==="1"}function Oo1($){if(!$)return null;try{let G=new URL($).hostname;if(G==="localhost"||G==="127.0.0.1"||G==="::1")return null;return $}catch{return null}}function XE$($){let Z=$&&$.length>0?$:"user-desktop";if(Z==="cluster")return"agent-sandbox";if(!GE$.has(Z))throw Error(`Unknown STUDIO_SANDBOX_PROVIDER="${$}" \u2014 expected "agent-sandbox", legacy "cluster", or "user-desktop".`);return Z}function Bo1($,Z){let G=$.home||Z.DATA_DIR||Z.DECOCMS_HOME||`${sL$()}/deco`,X=$.localMode,Q=$.nodeEnv||Z.NODE_ENV||"development",Y=Z.NATS_URL||"nats://localhost:4222";return{settings:{nodeEnv:Q,port:Number($.port)||Number(Z.PORT)||3000,baseUrl:$.baseUrl||Z.BASE_URL,dataDir:G,databasePgSsl:Vf(Z.DATABASE_PG_SSL),databasePoolMax:Number(Z.DATABASE_POOL_MAX)||5,betterAuthSecret:Z.BETTER_AUTH_SECRET||"",encryptionKey:Z.ENCRYPTION_KEY||"",meshJwtSecret:Z.MESH_JWT_SECRET,localMode:X,disableRateLimit:Vf(Z.DISABLE_RATE_LIMIT),studioProvisionSecretKey:Z.STUDIO_PROVISION_SECRET_KEY,clickhouseUrl:Z.CLICKHOUSE_URL,clickhouseMaxMemoryUsage:Number(Z.CLICKHOUSE_MAX_MEMORY_USAGE)||void 0,monitoringOtlpEndpoint:Z.MONITORING_OTLP_ENDPOINT,otelServiceName:Z.OTEL_SERVICE_NAME||"studio",configPath:Z.CONFIG_PATH||"./config.json",aiGatewayEnabled:Vf(Z.DECO_AI_GATEWAY_ENABLED),aiGatewayUrl:Z.DECO_AI_GATEWAY_URL||"https://ai-site.deco.site",enableDecoImport:Vf(Z.ENABLE_DECO_IMPORT),mcpCacheEnabled:ZE$(Z.MCP_CACHE_ENABLED,Q!=="development"),orgFsPublicSetsJson:Z.ORGFS_PUBLIC_SETS,orgFsMountsDisabled:Vf(Z.DISABLE_ORGFS_MOUNTS),s3Endpoint:Z.S3_ENDPOINT,s3Bucket:Z.S3_BUCKET,s3Region:Z.S3_REGION||"auto",s3AccessKeyId:Z.S3_ACCESS_KEY_ID,s3SecretAccessKey:Z.S3_SECRET_ACCESS_KEY,s3ForcePathStyle:Z.S3_FORCE_PATH_STYLE===void 0||Z.S3_FORCE_PATH_STYLE===""||Z.S3_FORCE_PATH_STYLE==="true"||Z.S3_FORCE_PATH_STYLE==="1",monitoringS3Bucket:Z.MONITORING_S3_BUCKET,monitoringS3Endpoint:Z.MONITORING_S3_ENDPOINT,monitoringS3Region:Z.MONITORING_S3_REGION,monitoringS3AccessKeyId:Z.MONITORING_S3_ACCESS_KEY_ID,monitoringS3SecretAccessKey:Z.MONITORING_S3_SECRET_ACCESS_KEY,monitoringS3Prefix:Z.MONITORING_S3_PREFIX,duckdbExtensionDirectory:Z.DUCKDB_EXTENSION_DIRECTORY||"/opt/duckdb/extensions",duckdbMemoryLimit:Z.DUCKDB_MEMORY_LIMIT||void 0,duckdbThreads:Z.DUCKDB_THREADS?Number(Z.DUCKDB_THREADS):void 0,isCli:!0,noTui:$.noTui===!0,podName:Z.POD_NAME??crypto.randomUUID(),dispatchRole:$E$(Z.MESH_DISPATCH_ROLE),sandboxProviderKind:XE$(Z.STUDIO_SANDBOX_PROVIDER),decoSupabaseUrl:Z.DECO_SUPABASE_URL,decoSupabaseServiceKey:Z.DECO_SUPABASE_SERVICE_KEY,firecrawlApiKey:Z.FIRECRAWL_API_KEY},externalDatabaseUrl:Oo1(Z.DATABASE_URL),externalNatsUrl:Oo1(Y),skipMigrations:$.skipMigrations}}var eL$,GE$;var Do1=D(()=>{eL$=new Set(["all","worker","api"]);GE$=new Set(["agent-sandbox","user-desktop"])});function b0(){if(!Cn)QE$();return Cn}function QE$(){if(Cn)return;let $={...process.env},Z=Bo1({port:$.PORT||"3000",home:$.DATA_DIR||$.DECOCMS_HOME||"",localMode:$.DECOCMS_LOCAL_MODE==="true",skipMigrations:!0,noTui:$.DECO_NO_TUI==="true",vitePort:$.VITE_PORT,baseUrl:$.BASE_URL},$);Cn=Object.freeze({...Z.settings,databaseUrl:$.DATABASE_URL??"postgresql://postgres:postgres@localhost:5432/postgres",natsUrls:($.NATS_URL||"nats://localhost:4222").split(",").map((G)=>G.trim()).filter(Boolean)})}var Cn=null;var $6=D(()=>{Do1()});import{context as YE$,propagation as JE$,SpanKind as WE$,SpanStatusCode as HB1}from"@opentelemetry/api";function UE$($,Z){let G=$ instanceof Error?$.name:void 0;if(G==="TimeoutError")return"timeout";if(G==="AbortError")return"cancelled";if(Z?.aborted)return"cancelled";return null}function FE$($,Z){if(Z.startsWith("/_sandbox/")){if($===404)return"daemon_gone";if($===409)return"daemon_not_ready"}if($===404&&Z.includes("/sandboxclaims/"))return"claim_gone";return null}function HE$($,Z){if($===404&&(Z==="/.decofile"||Z==="/live/_meta"))return"not_a_deco_site";return null}function NE$($){if(!($ instanceof Error))return!1;if($.message.includes("socket connection was closed"))return!0;let Z=$.code;return Z==="ECONNRESET"||Z==="EPIPE"}async function OE$($,Z){let G,X;if($ instanceof Request)G=new URL($.url),X=Z?.method??$.method;else if($ instanceof URL)G=$,X=Z?.method??"GET";else G=new URL($),X=Z?.method??"GET";let Q=`${X} ${G.host}`;return AF.startActiveSpan(Q,{kind:WE$.CLIENT,attributes:{"http.request.method":X,"url.full":G.href,"url.scheme":G.protocol.replace(":",""),"url.path":G.pathname,"url.query":G.search||void 0,"server.address":G.hostname,"server.port":G.port?Number(G.port):void 0}},async(Y)=>{try{let J=new Headers(Z?.headers??($ instanceof Request?$.headers:{}));JE$.inject(YE$.active(),J,{set:(N,O,B)=>N.set(O,B)});let W={...Z,headers:J},K=await KE$($,W);Y.setAttribute("http.response.status_code",K.status);let U=K.status===405&&X==="GET"&&(J.get("accept")??"").includes("text/event-stream"),F=K.status>=400?FE$(K.status,G.pathname):null,H=K.status>=400?HE$(K.status,G.pathname):null;if(K.status>=400&&!U&&!F&&!H)Y.setStatus({code:HB1.ERROR,message:`HTTP ${K.status}`});else{if(F)Y.setAttribute("sandbox.lifecycle",F);if(H)Y.setAttribute("preview.probe",H);Y.setStatus({code:HB1.OK})}return K}catch(J){let W=Z?.signal??($ instanceof Request?$.signal:void 0),K=UE$(J,W??void 0);if(K)Y.setAttribute("abort.reason",K);else if(NE$(J)&&G.pathname.startsWith("/_sandbox/"))Y.setAttribute("sandbox.lifecycle","connection_closed");else Y.recordException(J),Y.setStatus({code:HB1.ERROR,message:J instanceof Error?J.message:"Fetch failed"});throw J}finally{Y.end()}})}function Lo1(){globalThis.fetch=OE$}var KE$;var Eo1=D(()=>{x9();KE$=globalThis.fetch});import{join as OB1}from"path";function dY(){return OB1(b0().dataDir,"logs")}function JS(){return OB1(b0().dataDir,"traces")}function ZK(){return OB1(b0().dataDir,"metrics")}function RF($,Z){let G=$[Z];return G!=null?String(G):""}function Sf($,Z){let G=$[Z];return G!=null&&G!==""?String(G):null}function wo1($){let{attributes:Z}=$,G=Z[T4.IS_ERROR],X=Z[T4.DURATION_MS];return{v:1,id:$.id,type:RF(Z,T4.TYPE)||Cf,organization_id:RF(Z,T4.ORGANIZATION_ID),connection_id:RF(Z,T4.CONNECTION_ID),connection_title:RF(Z,T4.CONNECTION_TITLE),tool_name:RF(Z,T4.TOOL_NAME),input:RF(Z,T4.INPUT),output:RF(Z,T4.OUTPUT),is_error:G===!0||G===1||G==="true"?1:0,error_message:Sf(Z,T4.ERROR_MESSAGE),duration_ms:typeof X==="number"?X:Number(X)||0,timestamp:new Date(Number($.timestampNano/1000000n)).toISOString(),user_id:Sf(Z,T4.USER_ID),request_id:RF(Z,T4.REQUEST_ID),user_agent:Sf(Z,T4.USER_AGENT),virtual_mcp_id:Sf(Z,T4.VIRTUAL_MCP_ID),properties:Sf(Z,T4.PROPERTIES)}}function bn($){return $[0]*1000+$[1]/1e6}function KS($){return new Date(bn($)).toISOString()}var NB1="mcp.proxy.callTool",T4,Cf="tool_call",WS="llm_call",_n="decopilot";var _X=D(()=>{$6();T4={TYPE:"studio.monitoring.type",ORGANIZATION_ID:"studio.monitoring.organization_id",CONNECTION_ID:"studio.monitoring.connection_id",CONNECTION_TITLE:"studio.monitoring.connection_title",TOOL_NAME:"studio.monitoring.tool_name",INPUT:"studio.monitoring.input",OUTPUT:"studio.monitoring.output",IS_ERROR:"studio.monitoring.is_error",ERROR_MESSAGE:"studio.monitoring.error_message",DURATION_MS:"studio.monitoring.duration_ms",USER_ID:"studio.monitoring.user_id",REQUEST_ID:"studio.monitoring.request_id",USER_AGENT:"studio.monitoring.user_agent",VIRTUAL_MCP_ID:"studio.monitoring.virtual_mcp_id",PROPERTIES:"studio.monitoring.properties"}});import{ExportResultCode as vn}from"@opentelemetry/core";import{mkdir as BE$,rename as DE$,writeFile as LE$}from"fs/promises";import{join as xn}from"path";class yO{bufferItems=[];bufferBytes=0;flushTimer=null;flushQueue=Promise.resolve();basePath;flushThreshold;maxBufferBytes;isShutdown=!1;knownDirs=new Set;partitionKey;constructor($){this.basePath=$.basePath,this.flushThreshold=$.flushThreshold??1000,this.maxBufferBytes=$.maxBufferBytes??10485760,this.partitionKey=$.partitionKey;let Z=$.flushIntervalMs??60000;if(Z>0&&Z<3600000){if(this.flushTimer=setInterval(()=>{this.flush().catch((G)=>{console.error("[NDJSONExporter] Timer flush failed:",G)})},Z),this.flushTimer&&typeof this.flushTimer==="object"&&"unref"in this.flushTimer)this.flushTimer.unref()}}exportRows($){if(this.isShutdown)return Promise.resolve({code:vn.FAILED});for(let Z of $){let G=JSON.stringify(Z),X=this.partitionKey?this.partitionKey(Z):"";this.bufferItems.push({partition:X,json:G}),this.bufferBytes+=Buffer.byteLength(G,"utf8")+1}if(this.bufferItems.length>=this.flushThreshold||this.bufferBytes>=this.maxBufferBytes)return this.flush().then(()=>({code:vn.SUCCESS})).catch((Z)=>{return console.error("[NDJSONExporter] Flush failed:",Z),{code:vn.FAILED}});return Promise.resolve({code:vn.SUCCESS})}async shutdown(){if(this.isShutdown=!0,this.flushTimer)clearInterval(this.flushTimer),this.flushTimer=null;try{await this.flushQueue}catch{}if(this.bufferItems.length>0)await this.flush()}async forceFlush(){try{await this.flushQueue}catch{}if(this.bufferItems.length>0)await this.flush()}flush(){let Z=this.flushQueue.catch(()=>{}).then(()=>this.doFlush());return this.flushQueue=Z,Z}async doFlush(){if(this.bufferItems.length===0)return;let $=this.bufferItems;this.bufferItems=[],this.bufferBytes=0;let Z=new Map;for(let Q of $){let Y=Z.get(Q.partition);if(!Y)Y=[],Z.set(Q.partition,Y);Y.push(Q.json)}let G=await Promise.allSettled(Array.from(Z.entries()).map(([Q,Y])=>this.writeNDJSON(Y,Q).then(()=>Q))),X=G.find((Q)=>Q.status==="rejected");if(X){let Q=new Set;for(let J of G)if(J.status==="fulfilled")Q.add(J.value);let Y=$.filter((J)=>!Q.has(J.partition));this.bufferItems=Y.concat(this.bufferItems),this.bufferBytes=0;for(let J of this.bufferItems)this.bufferBytes+=Buffer.byteLength(J.json,"utf8")+1;throw X.reason}}async writeNDJSON($,Z){let G=new Date,X=[String(G.getUTCFullYear()),String(G.getUTCMonth()+1).padStart(2,"0"),String(G.getUTCDate()).padStart(2,"0"),String(G.getUTCHours()).padStart(2,"0")],Q=Z?xn(this.basePath,Z,...X):xn(this.basePath,...X);if(!this.knownDirs.has(Q))await BE$(Q,{recursive:!0,mode:448}),this.knownDirs.add(Q);let Y=`${crypto.randomUUID()}.ndjson`,J=xn(Q,`.${Y}.tmp`),W=xn(Q,Y),K=$.join(`
|
|
3
3
|
`)+`
|
|
4
|
-
`;await LE$(J,K,{mode:384}),await DE$(J,W)}}var fn=()=>{};import{ExportResultCode as EE$}from"@opentelemetry/core";class BB1{inner;constructor($){this.inner=new yO({...$,partitionKey:(Z)=>Z.organization_id})}export($,Z){let G=[];for(let X of $){if(!wE$.has(X.attributes[T4.TYPE]))continue;let Q={};for(let[K,U]of Object.entries(X.attributes))if(typeof U==="string"||typeof U==="number"||typeof U==="boolean")Q[K]=U;let Y=X.spanContext?.spanId??crypto.randomUUID(),J=X.hrTime,W=BigInt(J[0])*1000000000n+BigInt(J[1]);G.push(wo1({id:Y,timestampNano:W,attributes:Q}))}this.inner.exportRows(G).then((X)=>Z(X)).catch(()=>Z({code:EE$.FAILED}))}async shutdown(){await this.inner.shutdown()}async forceFlush(){await this.inner.forceFlush()}}var wE$;var zo1=D(()=>{_X();fn();wE$=new Set([Cf,WS])});import{ExportResultCode as zE$}from"@opentelemetry/core";import{AggregationTemporality as jE$,DataPointType as jo1}from"@opentelemetry/sdk-metrics";class DB1{inner;constructor($){this.inner=new yO({...$,partitionKey:(Z)=>Z.organization_id})}selectAggregationTemporality($){return jE$.DELTA}export($,Z){let G=[];for(let X of $.scopeMetrics)for(let Q of X.metrics){let{descriptor:Y,dataPointType:J}=Q;if(J===jo1.SUM)for(let W of Q.dataPoints){let K=W.attributes;G.push({v:1,name:Y.name,type:"sum",unit:Y.unit,timestamp:KS(W.endTime),organization_id:String(K["organization.id"]??""),connection_id:String(K["connection.id"]??""),tool_name:String(K["tool.name"]??""),status:String(K.status??""),error_type:String(K["error.type"]??""),value:W.value,hist_count:0,hist_sum:0,hist_min:0,hist_max:0,hist_boundaries:"[]",hist_bucket_counts:"[]"})}else if(J===jo1.HISTOGRAM)for(let W of Q.dataPoints){let{attributes:K,value:U}=W;G.push({v:1,name:Y.name,type:"histogram",unit:Y.unit,timestamp:KS(W.endTime),organization_id:String(K["organization.id"]??""),connection_id:String(K["connection.id"]??""),tool_name:String(K["tool.name"]??""),status:String(K.status??""),error_type:String(K["error.type"]??""),value:U.count,hist_count:U.count,hist_sum:U.sum??0,hist_min:U.min??0,hist_max:U.max??0,hist_boundaries:JSON.stringify(U.buckets.boundaries),hist_bucket_counts:JSON.stringify(U.buckets.counts)})}}this.inner.exportRows(G).then((X)=>Z(X)).catch(()=>Z({code:zE$.FAILED}))}async shutdown(){await this.inner.shutdown()}async forceFlush(){await this.inner.forceFlush()}}var Po1=D(()=>{_X();fn()});import{ExportResultCode as PE$}from"@opentelemetry/core";function AE$($){let Z=$.resource,G=Z.attributes["service.name"]??"unknown";return{v:1,trace_id:$.spanContext().traceId,span_id:$.spanContext().spanId,parent_span_id:$.parentSpanContext?.spanId||null,name:$.name,kind:$.kind,status:$.status.code,status_message:$.status.message||null,start_time:KS($.startTime),end_time:KS($.endTime),duration_ms:bn($.endTime)-bn($.startTime),service_name:G,attributes:JSON.stringify($.attributes),events:JSON.stringify($.events),links:JSON.stringify($.links),resource:JSON.stringify(Z.attributes)}}class LB1{inner;constructor($){this.inner=new yO($)}export($,Z){let G=$.map(AE$);this.inner.exportRows(G).then((X)=>Z(X)).catch(()=>Z({code:PE$.FAILED}))}async shutdown(){await this.inner.shutdown()}async forceFlush(){await this.inner.forceFlush()}}var Ao1=D(()=>{_X();fn()});function US($,Z=65536){if($.length<=Z&&Buffer.byteLength($,"utf8")<=Z)return $;let G=Z-RE$;if(G<=0)return"... [TRUNCATED]".slice(0,Z);let X=0,Q=0;for(let Y of $){let J=Y.charCodeAt(0)<=127?1:Buffer.byteLength(Y,"utf8");if(X+J>G)break;X+=J,Q+=Y.length}return $.slice(0,Q)+"... [TRUNCATED]"}var RE$;var EB1=D(()=>{RE$=Buffer.byteLength("... [TRUNCATED]","utf8")});import{NOOP_LOGGER as IE$}from"@opentelemetry/api-logs";function Io1($){Ro1=$.getLogger(TE$,qE$)}function To1(){return Ro1}var TE$="studio.monitoring",qE$="1.0.0",Ro1;var wB1=D(()=>{Ro1=IE$});var ko1={};n4(ko1,{shouldSkipStudioContext:()=>zB1,isServerPath:()=>kE$,isHealthPath:()=>_f,SYSTEM_PATHS:()=>bX});function _f($){return $===bX.HEALTH||$===bX.HEALTH_LIVE||$===bX.HEALTH_READY}function qo1($){return $===bX.HEALTH||$===bX.HEALTH_LIVE||$===bX.HEALTH_READY||$===bX.METRICS||$.startsWith(FS.WELL_KNOWN)}function Mo1($){return $.startsWith(FS.API)}function kE$($){return Mo1($)||$==="/mcp"||$.startsWith(FS.MCP)||$.startsWith(FS.OAUTH_PROXY)||$.startsWith(FS.ORG)||qo1($)}function zB1($){return $==="/"||$.startsWith(FS.API_AUTH)||$==="/api/trigger-callback"||qo1($)||!Mo1($)&&ME$.test($)}var bX,FS,ME$;var yn=D(()=>{bX={HEALTH:"/health",HEALTH_LIVE:"/health/live",HEALTH_READY:"/health/ready",METRICS:"/metrics"},FS={API:"/api/",API_AUTH:"/api/auth/",MCP:"/mcp/",OAUTH_PROXY:"/oauth-proxy/",WELL_KNOWN:"/.well-known",ORG:"/org/"},ME$=/\.(html|css|js|ico|svg|png|jpg|jpeg|gif|webp|woff|woff2)$/});import{SpanStatusCode as jB1}from"@opentelemetry/api";var VE$,SE$=()=>VE$??=z6.createHistogram("http.server.request.duration",{description:"Duration of inbound HTTP requests handled by the API.",unit:"s"}),PB1=async($,Z)=>{if(_f($.req.path))return Z();let G=$.req.raw,X=new URL(G.url),Q=performance.now(),Y=Co1(G),J=AB1(G),W={"http.request.url":G.url,"http.request.method":G.method,"http.request.body.size":G.headers.get("content-length")??void 0,"url.scheme":X.protocol.replace(":",""),"server.address":X.host,"url.query":X.search||void 0,"url.path":X.pathname,"user_agent.original":G.headers.get("user-agent")??void 0,"request.internal":G.headers.has("traceparent"),...J?{"trace.debug.id":J}:{}};await AF.startActiveSpan(`${G.method} ${X.pathname}`,{attributes:W},Y,async(K)=>{$.set("rootSpan",K);try{await Z()}catch(U){K.recordException(U),K.setStatus({code:jB1.ERROR});let F=typeof U==="object"&&U&&"message"in U?String(U.message):JSON.stringify(U);throw console.error("error: ",F,W),U}finally{let U=$.res?.status??500,F=U>=500;K.setStatus({code:F?jB1.ERROR:jB1.OK}),K.setAttribute("http.response.status_code",U);let H=$.get("meshContext");if(H){if(H.auth.user?.id)K.setAttribute("studio.user.id",H.auth.user.id);if(H.auth.apiKey?.id)K.setAttribute("studio.api_key.id",H.auth.apiKey.id);if(H.organization?.id)K.setAttribute("studio.organization.id",H.organization.id)}if(J)So1($.res.headers,J);SE$().record((performance.now()-Q)/1000,{"http.request.method":G.method,"http.route":$.req.routePath,"http.response.status_code":U}),K.end()}})};var Vo1=D(()=>{x9();yn()});import{createContextKey as CE$,metrics as go1,propagation as _E$,ROOT_CONTEXT as bE$,SpanStatusCode as _o1,trace as IB1}from"@opentelemetry/api";import{logs as ho1,SeverityNumber as gf}from"@opentelemetry/api-logs";import{OTLPLogExporter as bo1}from"@opentelemetry/exporter-logs-otlp-proto";import{PrometheusExporter as vE$}from"@opentelemetry/exporter-prometheus";import{OTLPTraceExporter as xE$}from"@opentelemetry/exporter-trace-otlp-proto";import{RuntimeNodeInstrumentation as fE$}from"@opentelemetry/instrumentation-runtime-node";import{BatchLogRecordProcessor as RB1,LoggerProvider as vo1}from"@opentelemetry/sdk-logs";import{detectResources as yE$,envDetector as gE$,hostDetector as hE$,osDetector as uE$,processDetector as cE$,resourceFromAttributes as xo1}from"@opentelemetry/resources";import{PeriodicExportingMetricReader as lE$}from"@opentelemetry/sdk-metrics";import{NodeSDK as dE$}from"@opentelemetry/sdk-node";import{BatchSpanProcessor as fo1,SamplingDecision as HS}from"@opentelemetry/sdk-trace-base";class co1{inner;ratio;constructor($,Z){this.inner=$;this.ratio=Z}onEmit($,Z){if($.severityNumber!==void 0&&$.severityNumber>=gf.ERROR||Math.random()<this.ratio)this.inner.onEmit($,Z)}forceFlush(){return this.inner.forceFlush()}shutdown(){return this.inner.shutdown()}}class lo1{inner;maxBytes;constructor($,Z){this.inner=$;this.maxBytes=Z}onEmit($,Z){let G=T4.OUTPUT,X=$.attributes?.[G];if(typeof X==="string"&&X.length>this.maxBytes){let Q=US(X,this.maxBytes);this.inner.onEmit({...$,attributes:{...$.attributes,[G]:Q}},Z)}else this.inner.onEmit($,Z)}forceFlush(){return this.inner.forceFlush()}shutdown(){return this.inner.shutdown()}}class do1{inner;constructor($){this.inner=$}shouldSample($,Z,G,X,Q,Y){let J=$.getValue(uo1);if(!J){if(this.inner)return this.inner.shouldSample($,Z,G,X,Q,Y);return{decision:HS.RECORD_AND_SAMPLED}}let W=AB1(J);if(W)return{decision:HS.RECORD_AND_SAMPLED,attributes:{"trace.debug.id":W}};if(this.inner){let K=this.inner.shouldSample($,Z,G,X,Q,Y);if(K.decision===HS.RECORD_AND_SAMPLED){let U=crypto.randomUUID();K.attributes={...K.attributes??{},"trace.debug.id":U}}return K}return{decision:HS.NOT_RECORD}}toString(){return"DebugSampler"}}class mo1{ratio;constructor($){this.ratio=$}shouldSample(){if(Math.random()<this.ratio)return{decision:HS.RECORD_AND_SAMPLED};return{decision:HS.NOT_RECORD}}toString(){return`RatioSampler(${this.ratio})`}}function io1(){if(yo1)return;let $=b0(),Z=!!process.env.OTEL_EXPORTER_OTLP_ENDPOINT,G=Z?new xE$:void 0;bf=$.nodeEnv==="test"?null:new BB1({basePath:dY()}),vf=$.nodeEnv==="test"?null:new LB1({basePath:JS()}),xf=$.nodeEnv==="test"?null:new DB1({basePath:ZK()}),ff=xf?new lE$({exporter:xf,exportIntervalMillis:60000}):null;let X=process.env.STUDIO_ENV??"production"??"unknown",Q={};if(!process.env.OTEL_RESOURCE_ATTRIBUTES?.includes("deployment.environment"))Q["deployment.environment"]=X;new dE$({serviceName:$.otelServiceName,resource:xo1(Q),metricReaders:[TB1,...ff?[ff]:[]],sampler:nE$,spanProcessors:[...G?[new fo1(G,{scheduledDelayMillis:60000,maxExportBatchSize:1000})]:[],...vf?[new fo1(vf,{scheduledDelayMillis:60000,maxExportBatchSize:1000})]:[]],instrumentations:[new fE$]}).start(),z6=go1.getMeter("studio","1.0.0"),AF=IB1.getTracer("studio","1.0.0");let J=yE$({detectors:[gE$,hE$,uE$,cE$]}).merge(xo1({"service.name":$.otelServiceName,...Q})),W=[];if(Z){let H=X==="prod"||X==="production"?1:0.1,N=process.env.INFRA_LOG_SAMPLE_RATIO,O=H;if(N!==void 0){let B=Number(N);if(Number.isFinite(B)&&B>=0&&B<=1)O=B;else console.warn(`[observability] Ignoring invalid INFRA_LOG_SAMPLE_RATIO="${N}" (expected 0..1); using ${H}`)}W.push(new co1(new RB1(new bo1),O))}yf=new vo1({resource:J,processors:W}),ho1.setGlobalLoggerProvider(yf),no1=yf.getLogger("studio","1.0.0");let K=$.monitoringOtlpEndpoint??process.env.OTEL_EXPORTER_OTLP_ENDPOINT,U=[];if(K){let F=K.replace(/\/$/,""),H=F.endsWith("/v1/logs")?F:`${F}/v1/logs`;U.push(new lo1(new RB1(new bo1({url:H})),8000))}if(bf)U.push(new RB1(bf,{scheduledDelayMillis:60000,maxExportBatchSize:250}));gn=new vo1({resource:J,processors:U}),Io1(gn),Lo1(),yo1=!0}async function bQ(){let Z=(await Promise.allSettled([yf?yf.forceFlush():Promise.resolve(),(async()=>{if(gn)await gn.forceFlush();if(bf)await bf.forceFlush()})(),(async()=>{let G=IB1.getTracerProvider();if("forceFlush"in G)await G.forceFlush();if(vf)await vf.forceFlush()})(),(async()=>{if(ff)await ff.forceFlush();if(xf)await xf.forceFlush()})()])).find((G)=>G.status==="rejected");if(Z)throw Z.reason}function kB1($,Z,G){return AF.startActiveSpan($,{attributes:G},async(X)=>{try{let Q=await Z(X);return X.setStatus({code:_o1.OK}),Q}catch(Q){let Y=Q instanceof Error?Q:Error(String(Q??"unknown"));throw X.setStatus({code:_o1.ERROR,message:Y.message}),X.recordException(Y),Q}finally{X.end()}})}var mE$="__d",uo1,iE$=1,AB1=($)=>{let G=new URL($.url).searchParams.get(mE$);if(G==="")return crypto.randomUUID();if(!G)G=$.headers.get("x-trace-debug-id");return G},So1=($,Z)=>{try{$.set("x-trace-debug-id",Z)}catch{}},TB1,nE$,bf=null,vf=null,xf=null,ff=null,yf=null,gn=null,yo1=!1,AF,z6,no1,qB1=($,Z,G)=>{let X={},Q=G,Y=G[G.length-1];if(Y!==null&&typeof Y==="object"&&!Array.isArray(Y)&&!(Y instanceof Error)&&Object.getPrototypeOf(Y)===Object.prototype)X=Y,Q=G.slice(0,-1);let J=Q.map((W)=>{if(W instanceof Error)return`${W.name}: ${W.message}`;if(typeof W==="object")try{return JSON.stringify(W)}catch{return"[Object]"}return String(W)}).join(" ");no1.emit({severityNumber:$,severityText:Z,body:J,attributes:{"log.source":"console",...X}})},MB1,Co1=($)=>{return _E$.extract(bE$,$.headers,{get:(G,X)=>G.get(X)??void 0,keys:(G)=>[...G.keys()]}).setValue(uo1,$)};var x9=D(()=>{Eo1();zo1();Po1();Ao1();_X();EB1();$6();wB1();Vo1();uo1=CE$("Current request");TB1=new vE$({preventServerStart:!0}),nE$=new do1(new mo1(iE$));AF=IB1.getTracer("studio","1.0.0"),z6=go1.getMeter("studio","1.0.0"),no1=ho1.getLogger("studio","1.0.0"),MB1={error:console.error.bind(console),warn:console.warn.bind(console),debug:console.debug.bind(console)};console.error=(...$)=>{qB1(gf.ERROR,"ERROR",$),MB1.error(...$)};console.warn=(...$)=>{qB1(gf.WARN,"WARN",$),MB1.warn(...$)};console.debug=(...$)=>{qB1(gf.DEBUG,"DEBUG",$),MB1.debug(...$)}});function gO(){try{return process.memoryUsage()}catch{return null}}function oo1(){if(SB1)return;let $=performance.now()+CB1;SB1=setInterval(()=>{let Z=performance.now();to1=Math.max(0,Z-$),$=Z+CB1},CB1),SB1.unref?.()}function ro1(){return oo1(),to1}function ao1(){if(oo1(),process.env.EVENT_LOOP_MONITOR!=="1")return()=>{};let $=Number(process.env.EVENT_LOOP_INTERVAL_MS??250),Z=Number(process.env.EVENT_LOOP_SPIKE_MS??100),G=z6.createHistogram("eventloop.delay",{description:"Event-loop lag measured as timer scheduling drift",unit:"ms"}),X=performance.now()+$;return hn=setInterval(()=>{let Q=performance.now(),Y=Math.max(0,Q-X);if(X=Q+$,G.record(Y),Y>Z){let J=gO();console.warn(JSON.stringify({msg:"event-loop-stall",ts:new Date().toISOString(),lagMs:Math.round(Y),rss:J?.rss,heapUsed:J?.heapUsed,heapTotal:J?.heapTotal,external:J?.external}))}},$),hn.unref?.(),()=>{if(hn)clearInterval(hn)}}var hn,SB1,to1=0,CB1=500;var _B1=D(()=>{x9()});var hO=v((Gw$)=>{Gw$.HttpAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})(Gw$.HttpAuthLocation||(Gw$.HttpAuthLocation={}));Gw$.HttpApiKeyAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})(Gw$.HttpApiKeyAuthLocation||(Gw$.HttpApiKeyAuthLocation={}));Gw$.EndpointURLScheme=void 0;(function($){$.HTTP="http",$.HTTPS="https"})(Gw$.EndpointURLScheme||(Gw$.EndpointURLScheme={}));Gw$.AlgorithmId=void 0;(function($){$.MD5="md5",$.CRC32="crc32",$.CRC32C="crc32c",$.SHA1="sha1",$.SHA256="sha256"})(Gw$.AlgorithmId||(Gw$.AlgorithmId={}));var aE$=($)=>{let Z=[];if($.sha256!==void 0)Z.push({algorithmId:()=>Gw$.AlgorithmId.SHA256,checksumConstructor:()=>$.sha256});if($.md5!=null)Z.push({algorithmId:()=>Gw$.AlgorithmId.MD5,checksumConstructor:()=>$.md5});return{addChecksumAlgorithm(G){Z.push(G)},checksumAlgorithms(){return Z}}},sE$=($)=>{let Z={};return $.checksumAlgorithms().forEach((G)=>{Z[G.algorithmId()]=G.checksumConstructor()}),Z},eE$=($)=>{return aE$($)},$w$=($)=>{return sE$($)};Gw$.FieldPosition=void 0;(function($){$[$.HEADER=0]="HEADER",$[$.TRAILER=1]="TRAILER"})(Gw$.FieldPosition||(Gw$.FieldPosition={}));var Zw$="__smithy_context";Gw$.IniSectionType=void 0;(function($){$.PROFILE="profile",$.SSO_SESSION="sso-session",$.SERVICES="services"})(Gw$.IniSectionType||(Gw$.IniSectionType={}));Gw$.RequestHandlerProtocol=void 0;(function($){$.HTTP_0_9="http/0.9",$.HTTP_1_0="http/1.0",$.TDS_8_0="tds/8.0"})(Gw$.RequestHandlerProtocol||(Gw$.RequestHandlerProtocol={}));Gw$.SMITHY_CONTEXT_KEY=Zw$;Gw$.getDefaultClientConfiguration=eE$;Gw$.resolveDefaultRuntimeConfig=$w$});var Z5=v((Hw$)=>{var Jw$=hO(),Ww$=($)=>{return{setHttpHandler(Z){$.httpHandler=Z},httpHandler(){return $.httpHandler},updateHttpClientConfig(Z,G){$.httpHandler?.updateHttpClientConfig(Z,G)},httpHandlerConfigs(){return $.httpHandler.httpHandlerConfigs()}}},Kw$=($)=>{return{httpHandler:$.httpHandler()}};class Zr1{name;kind;values;constructor({name:$,kind:Z=Jw$.FieldPosition.HEADER,values:G=[]}){this.name=$,this.kind=Z,this.values=G}add($){this.values.push($)}set($){this.values=$}remove($){this.values=this.values.filter((Z)=>Z!==$)}toString(){return this.values.map(($)=>$.includes(",")||$.includes(" ")?`"${$}"`:$).join(", ")}get(){return this.values}}class Gr1{entries={};encoding;constructor({fields:$=[],encoding:Z="utf-8"}){$.forEach(this.setField.bind(this)),this.encoding=Z}setField($){this.entries[$.name.toLowerCase()]=$}getField($){return this.entries[$.toLowerCase()]}removeField($){delete this.entries[$.toLowerCase()]}getByType($){return Object.values(this.entries).filter((Z)=>Z.kind===$)}}class cn{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor($){this.method=$.method||"GET",this.hostname=$.hostname||"localhost",this.port=$.port,this.query=$.query||{},this.headers=$.headers||{},this.body=$.body,this.protocol=$.protocol?$.protocol.slice(-1)!==":"?`${$.protocol}:`:$.protocol:"https:",this.path=$.path?$.path.charAt(0)!=="/"?`/${$.path}`:$.path:"/",this.username=$.username,this.password=$.password,this.fragment=$.fragment}static clone($){let Z=new cn({...$,headers:{...$.headers}});if(Z.query)Z.query=Uw$(Z.query);return Z}static isInstance($){if(!$)return!1;let Z=$;return"method"in Z&&"protocol"in Z&&"hostname"in Z&&"path"in Z&&typeof Z.query==="object"&&typeof Z.headers==="object"}clone(){return cn.clone(this)}}function Uw$($){return Object.keys($).reduce((Z,G)=>{let X=$[G];return{...Z,[G]:Array.isArray(X)?[...X]:X}},{})}class Xr1{statusCode;reason;headers;body;constructor($){this.statusCode=$.statusCode,this.reason=$.reason,this.headers=$.headers||{},this.body=$.body}static isInstance($){if(!$)return!1;let Z=$;return typeof Z.statusCode==="number"&&typeof Z.headers==="object"}}function Fw$($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)}Hw$.Field=Zr1;Hw$.Fields=Gr1;Hw$.HttpRequest=cn;Hw$.HttpResponse=Xr1;Hw$.getHttpHandlerExtensionConfiguration=Ww$;Hw$.isValidHostname=Fw$;Hw$.resolveHttpHandlerRuntimeConfig=Kw$});function zw$($){return(Z)=>async(G)=>{let{request:X}=G;if($.expectContinueHeader!==!1&&Qr1.HttpRequest.isInstance(X)&&X.body&&$.runtime==="node"&&$.requestHandler?.constructor?.name!=="FetchHttpHandler"){let Q=!0;if(typeof $.expectContinueHeader==="number")try{Q=(Number(X.headers?.["content-length"])??$.bodyLengthChecker?.(X.body)??1/0)>=$.expectContinueHeader}catch(Y){}else Q=!!$.expectContinueHeader;if(Q)X.headers.Expect="100-continue"}return Z({...G,request:X})}}var Qr1,jw$,Yr1=($)=>({applyToStack:(Z)=>{Z.add(zw$($),jw$)}});var Jr1=D(()=>{Qr1=x(Z5(),1);jw$={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0}});var vQ,ln,uO,dn,Z6,Wr1,uf;var xQ=D(()=>{vQ={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},ln=vQ.WHEN_SUPPORTED,uO={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},dn=vQ.WHEN_SUPPORTED;(function($){$.MD5="MD5",$.CRC32="CRC32",$.CRC32C="CRC32C",$.CRC64NVME="CRC64NVME",$.SHA1="SHA1",$.SHA256="SHA256"})(Z6||(Z6={}));(function($){$.HEADER="header",$.TRAILER="trailer"})(Wr1||(Wr1={}));uf=Z6.CRC32});var IF,NS=($,Z,G,X)=>{if(!(Z in $))return;let Q=$[Z].toUpperCase();if(!Object.values(G).includes(Q))throw TypeError(`Cannot load ${X} '${Z}'. Expected one of ${Object.values(G)}, got '${$[Z]}'.`);return Q};var hB1=D(()=>{(function($){$.ENV="env",$.CONFIG="shared config entry"})(IF||(IF={}))});var Pw$="AWS_REQUEST_CHECKSUM_CALCULATION",Aw$="request_checksum_calculation",Kr1;var Ur1=D(()=>{xQ();hB1();Kr1={environmentVariableSelector:($)=>NS($,Pw$,vQ,IF.ENV),configFileSelector:($)=>NS($,Aw$,vQ,IF.CONFIG),default:ln}});var Rw$="AWS_RESPONSE_CHECKSUM_VALIDATION",Iw$="response_checksum_validation",Fr1;var Hr1=D(()=>{xQ();hB1();Fr1={environmentVariableSelector:($)=>NS($,Rw$,uO,IF.ENV),configFileSelector:($)=>NS($,Iw$,uO,IF.CONFIG),default:dn}});var cB1=v((vw$)=>{var Tw$=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],qw$=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],Mw$=["TimeoutError","RequestTimeout","RequestTimeoutException"],kw$=[500,502,503,504],Vw$=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Sw$=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],Nr1=($)=>$?.$retryable!==void 0,Cw$=($)=>Tw$.includes($.name),Or1=($)=>$.$metadata?.clockSkewCorrected,Br1=($)=>{let Z=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!($&&$ instanceof TypeError))return!1;return Z.has($.message)},_w$=($)=>$.$metadata?.httpStatusCode===429||qw$.includes($.name)||$.$retryable?.throttling==!0,uB1=($,Z=0)=>Nr1($)||Or1($)||$.name==="InvalidSignatureException"&&$.message?.includes("Signature expired")||Mw$.includes($.name)||Vw$.includes($?.code||"")||Sw$.includes($?.code||"")||kw$.includes($.$metadata?.httpStatusCode||0)||Br1($)||Dr1($)||$.cause!==void 0&&Z<=10&&uB1($.cause,Z+1),bw$=($)=>{if($.$metadata?.httpStatusCode!==void 0){let Z=$.$metadata.httpStatusCode;if(500<=Z&&Z<=599&&!uB1($))return!0;return!1}return!1};function Dr1($){return $.code==="ERR_HTTP2_STREAM_ERROR"&&$.message.includes("NGHTTP2_REFUSED_STREAM")}vw$.isBrowserNetworkError=Br1;vw$.isClockSkewCorrectedError=Or1;vw$.isClockSkewError=Cw$;vw$.isNodeJsHttp2TransientError=Dr1;vw$.isRetryableByTrait=Nr1;vw$.isServerError=bw$;vw$.isThrottlingError=_w$;vw$.isTransientError=uB1});var GK=v((aw$)=>{var dw$=cB1();aw$.RETRY_MODES=void 0;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(aw$.RETRY_MODES||(aw$.RETRY_MODES={}));var nn=3,mw$=aw$.RETRY_MODES.STANDARD;class pn{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor($){this.beta=$?.beta??0.7,this.minCapacity=$?.minCapacity??1,this.minFillRate=$?.minFillRate??0.5,this.scaleConstant=$?.scaleConstant??0.4,this.smooth=$?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate($){let Z;this.updateMeasuredRate();let G=$;if(G?.errorType==="THROTTLING"||dw$.isThrottlingError(G?.error??$)){let Y=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=Y,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),Z=this.cubicThrottle(Y),this.enableTokenBucket()}else this.calculateTimeWindow(),Z=this.cubicSuccess(this.getCurrentTimeInSeconds());let Q=Math.min(Z,2*this.measuredTxRate);this.updateTokenBucketRate(Q)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket($){if(!this.enabled)return;if(this.refillTokenBucket(),$>this.availableTokens){let Z=($-this.availableTokens)/this.fillRate*1000;await new Promise((G)=>pn.setTimeoutFn(G,Z))}this.availableTokens=this.availableTokens-$}refillTokenBucket(){let $=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=$;return}let Z=($-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+Z),this.lastTimestamp=$}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle($){return this.getPrecise($*this.beta)}cubicSuccess($){return this.getPrecise(this.scaleConstant*Math.pow($-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate($){this.refillTokenBucket(),this.fillRate=Math.max($,this.minFillRate),this.maxCapacity=Math.max($,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let $=this.getCurrentTimeInSeconds(),Z=Math.floor($*2)/2;if(this.requestCount++,Z>this.lastTxRateBucket){let G=this.requestCount/(Z-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(G*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=Z}}getPrecise($){return parseFloat($.toFixed(8))}}var iw$=100,mB1=20000,nw$=500,lB1=500,pw$=5,tw$=10,Lr1=1,ow$="amz-sdk-invocation-id",rw$="amz-sdk-request";class hZ{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return hZ.v2026?50:100}static throttlingDelay(){return hZ.v2026?1000:500}static cost(){return hZ.v2026?14:5}static throttlingCost(){return hZ.v2026?5:10}static modifiedCostType(){return hZ.v2026?"THROTTLING":"TRANSIENT"}}class Er1{x=hZ.delay();computeNextBackoffDelay($){let Z=Math.random(),G=2,X=Z*Math.min(this.x*2**$,mB1);return Math.floor(X)}setDelayBase($){this.x=$}}class dB1{delay;count;cost;longPoll;constructor($,Z,G,X){this.delay=$,this.count=Z,this.cost=G,this.longPoll=X}getRetryCount(){return this.count}getRetryDelay(){return Math.min(mB1,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}var mn={incompatible:1,attempts:2,capacity:3};class cf{mode=aw$.RETRY_MODES.STANDARD;capacity=lB1;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor($){if(typeof $==="number")this.maxAttemptsProvider=async()=>$;else if(typeof $==="function")this.maxAttemptsProvider=$;else if($&&typeof $==="object")this.maxAttemptsProvider=async()=>$.maxAttempts,this.baseDelay=$.baseDelay,this.retryBackoffStrategy=$.backoff;this.maxAttemptsProvider??=async()=>nn,this.baseDelay??=hZ.delay(),this.retryBackoffStrategy??=new Er1}async acquireInitialRetryToken($){return new dB1(hZ.delay(),0,void 0,hZ.v2026&&$.includes(":longpoll"))}async refreshRetryTokenForRetry($,Z){let G=await this.getMaxAttempts(),X=this.retryCode($,Z,G),Q=X===0,Y=$.isLongPoll?.();if(Q||Y){let J=Z.errorType;this.retryBackoffStrategy.setDelayBase(J==="THROTTLING"?hZ.throttlingDelay():this.baseDelay);let W=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),K=W;if(Z.retryAfterHint instanceof Date)K=Math.max(W,Math.min(Z.retryAfterHint.getTime()-Date.now(),W+5000));if(!Q)throw Object.assign(Error("No retry token available"),{$backoff:hZ.v2026&&X===mn.capacity&&Y?K:0});else{let U=this.getCapacityCost(J);return this.capacity-=U,new dB1(K,$.getRetryCount()+1,U,$.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess($){this.capacity=Math.min(lB1,this.capacity+($.getRetryCost()??Lr1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch($){return console.warn(`Max attempts provider could not resolve. Using default of ${nn}`),nn}}retryCode($,Z,G){let X=$.getRetryCount()+1,Q=this.isRetryableError(Z.errorType)?0:mn.incompatible,Y=X<G?0:mn.attempts,J=this.capacity>=this.getCapacityCost(Z.errorType)?0:mn.capacity;return Q||Y||J}getCapacityCost($){return $===hZ.modifiedCostType()?hZ.throttlingCost():hZ.cost()}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class wr1{mode=aw$.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor($,Z){let{rateLimiter:G}=Z??{};this.rateLimiter=G??new pn,this.standardRetryStrategy=Z?new cf({maxAttempts:typeof $==="number"?$:3,...Z}):new cf($)}async acquireInitialRetryToken($){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken($)}async refreshRetryTokenForRetry($,Z){return this.rateLimiter.updateClientSendingRate(Z),this.standardRetryStrategy.refreshRetryTokenForRetry($,Z)}recordSuccess($){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess($)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}}class zr1 extends cf{computeNextBackoffDelay;constructor($,Z=hZ.delay()){super(typeof $==="function"?$:async()=>$);if(typeof Z==="number")this.computeNextBackoffDelay=()=>Z;else this.computeNextBackoffDelay=Z}async refreshRetryTokenForRetry($,Z){let G=await super.refreshRetryTokenForRetry($,Z);return G.getRetryDelay=()=>this.computeNextBackoffDelay(G.getRetryCount()),G}}aw$.AdaptiveRetryStrategy=wr1;aw$.ConfiguredRetryStrategy=zr1;aw$.DEFAULT_MAX_ATTEMPTS=nn;aw$.DEFAULT_RETRY_DELAY_BASE=iw$;aw$.DEFAULT_RETRY_MODE=mw$;aw$.DefaultRateLimiter=pn;aw$.INITIAL_RETRY_TOKENS=lB1;aw$.INVOCATION_ID_HEADER=ow$;aw$.MAXIMUM_RETRY_DELAY=mB1;aw$.NO_RETRY_INCREMENT=Lr1;aw$.REQUEST_HEADER=rw$;aw$.RETRY_COST=pw$;aw$.Retry=hZ;aw$.StandardRetryStrategy=cf;aw$.THROTTLING_RETRY_DELAY_BASE=nw$;aw$.TIMEOUT_RETRY_COST=tw$});var P5=v((Az$)=>{var Bz$=GK(),iB1={warningEmitted:!1},Dz$=($)=>{if($&&!iB1.warningEmitted&&parseInt($.substring(1,$.indexOf(".")))<20)iB1.warningEmitted=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
4
|
+
`;await LE$(J,K,{mode:384}),await DE$(J,W)}}var fn=()=>{};import{ExportResultCode as EE$}from"@opentelemetry/core";class BB1{inner;constructor($){this.inner=new yO({...$,partitionKey:(Z)=>Z.organization_id})}export($,Z){let G=[];for(let X of $){if(!wE$.has(X.attributes[T4.TYPE]))continue;let Q={};for(let[K,U]of Object.entries(X.attributes))if(typeof U==="string"||typeof U==="number"||typeof U==="boolean")Q[K]=U;let Y=X.spanContext?.spanId??crypto.randomUUID(),J=X.hrTime,W=BigInt(J[0])*1000000000n+BigInt(J[1]);G.push(wo1({id:Y,timestampNano:W,attributes:Q}))}this.inner.exportRows(G).then((X)=>Z(X)).catch(()=>Z({code:EE$.FAILED}))}async shutdown(){await this.inner.shutdown()}async forceFlush(){await this.inner.forceFlush()}}var wE$;var zo1=D(()=>{_X();fn();wE$=new Set([Cf,WS])});import{ExportResultCode as zE$}from"@opentelemetry/core";import{AggregationTemporality as jE$,DataPointType as jo1}from"@opentelemetry/sdk-metrics";class DB1{inner;constructor($){this.inner=new yO({...$,partitionKey:(Z)=>Z.organization_id})}selectAggregationTemporality($){return jE$.DELTA}export($,Z){let G=[];for(let X of $.scopeMetrics)for(let Q of X.metrics){let{descriptor:Y,dataPointType:J}=Q;if(J===jo1.SUM)for(let W of Q.dataPoints){let K=W.attributes;G.push({v:1,name:Y.name,type:"sum",unit:Y.unit,timestamp:KS(W.endTime),organization_id:String(K["organization.id"]??""),connection_id:String(K["connection.id"]??""),tool_name:String(K["tool.name"]??""),status:String(K.status??""),error_type:String(K["error.type"]??""),value:W.value,hist_count:0,hist_sum:0,hist_min:0,hist_max:0,hist_boundaries:"[]",hist_bucket_counts:"[]"})}else if(J===jo1.HISTOGRAM)for(let W of Q.dataPoints){let{attributes:K,value:U}=W;G.push({v:1,name:Y.name,type:"histogram",unit:Y.unit,timestamp:KS(W.endTime),organization_id:String(K["organization.id"]??""),connection_id:String(K["connection.id"]??""),tool_name:String(K["tool.name"]??""),status:String(K.status??""),error_type:String(K["error.type"]??""),value:U.count,hist_count:U.count,hist_sum:U.sum??0,hist_min:U.min??0,hist_max:U.max??0,hist_boundaries:JSON.stringify(U.buckets.boundaries),hist_bucket_counts:JSON.stringify(U.buckets.counts)})}}this.inner.exportRows(G).then((X)=>Z(X)).catch(()=>Z({code:zE$.FAILED}))}async shutdown(){await this.inner.shutdown()}async forceFlush(){await this.inner.forceFlush()}}var Po1=D(()=>{_X();fn()});import{ExportResultCode as PE$}from"@opentelemetry/core";function AE$($){let Z=$.resource,G=Z.attributes["service.name"]??"unknown";return{v:1,trace_id:$.spanContext().traceId,span_id:$.spanContext().spanId,parent_span_id:$.parentSpanContext?.spanId||null,name:$.name,kind:$.kind,status:$.status.code,status_message:$.status.message||null,start_time:KS($.startTime),end_time:KS($.endTime),duration_ms:bn($.endTime)-bn($.startTime),service_name:G,attributes:JSON.stringify($.attributes),events:JSON.stringify($.events),links:JSON.stringify($.links),resource:JSON.stringify(Z.attributes)}}class LB1{inner;constructor($){this.inner=new yO($)}export($,Z){let G=$.map(AE$);this.inner.exportRows(G).then((X)=>Z(X)).catch(()=>Z({code:PE$.FAILED}))}async shutdown(){await this.inner.shutdown()}async forceFlush(){await this.inner.forceFlush()}}var Ao1=D(()=>{_X();fn()});function US($,Z=65536){if($.length<=Z&&Buffer.byteLength($,"utf8")<=Z)return $;let G=Z-RE$;if(G<=0)return"... [TRUNCATED]".slice(0,Z);let X=0,Q=0;for(let Y of $){let J=Y.charCodeAt(0)<=127?1:Buffer.byteLength(Y,"utf8");if(X+J>G)break;X+=J,Q+=Y.length}return $.slice(0,Q)+"... [TRUNCATED]"}var RE$;var EB1=D(()=>{RE$=Buffer.byteLength("... [TRUNCATED]","utf8")});import{NOOP_LOGGER as IE$}from"@opentelemetry/api-logs";function Io1($){Ro1=$.getLogger(TE$,qE$)}function To1(){return Ro1}var TE$="studio.monitoring",qE$="1.0.0",Ro1;var wB1=D(()=>{Ro1=IE$});var ko1={};n4(ko1,{shouldSkipStudioContext:()=>zB1,isServerPath:()=>kE$,isHealthPath:()=>_f,SYSTEM_PATHS:()=>bX});function _f($){return $===bX.HEALTH||$===bX.HEALTH_LIVE||$===bX.HEALTH_READY}function qo1($){return $===bX.HEALTH||$===bX.HEALTH_LIVE||$===bX.HEALTH_READY||$===bX.METRICS||$.startsWith(FS.WELL_KNOWN)}function Mo1($){return $.startsWith(FS.API)}function kE$($){return Mo1($)||$==="/mcp"||$.startsWith(FS.MCP)||$.startsWith(FS.OAUTH_PROXY)||$.startsWith(FS.ORG)||qo1($)}function zB1($){return $==="/"||$.startsWith(FS.API_AUTH)||$==="/api/trigger-callback"||qo1($)||!Mo1($)&&ME$.test($)}var bX,FS,ME$;var yn=D(()=>{bX={HEALTH:"/health",HEALTH_LIVE:"/health/live",HEALTH_READY:"/health/ready",METRICS:"/metrics"},FS={API:"/api/",API_AUTH:"/api/auth/",MCP:"/mcp/",OAUTH_PROXY:"/oauth-proxy/",WELL_KNOWN:"/.well-known",ORG:"/org/"},ME$=/\.(html|css|js|ico|svg|png|jpg|jpeg|gif|webp|woff|woff2)$/});import{SpanStatusCode as jB1}from"@opentelemetry/api";var VE$,SE$=()=>VE$??=z6.createHistogram("http.server.request.duration",{description:"Duration of inbound HTTP requests handled by the API.",unit:"s",advice:{explicitBucketBoundaries:[0.005,0.01,0.025,0.05,0.075,0.1,0.25,0.5,0.75,1,2.5,5,7.5,10]}}),PB1=async($,Z)=>{if(_f($.req.path))return Z();let G=$.req.raw,X=new URL(G.url),Q=performance.now(),Y=Co1(G),J=AB1(G),W={"http.request.url":G.url,"http.request.method":G.method,"http.request.body.size":G.headers.get("content-length")??void 0,"url.scheme":X.protocol.replace(":",""),"server.address":X.host,"url.query":X.search||void 0,"url.path":X.pathname,"user_agent.original":G.headers.get("user-agent")??void 0,"request.internal":G.headers.has("traceparent"),...J?{"trace.debug.id":J}:{}};await AF.startActiveSpan(`${G.method} ${X.pathname}`,{attributes:W},Y,async(K)=>{$.set("rootSpan",K);try{await Z()}catch(U){K.recordException(U),K.setStatus({code:jB1.ERROR});let F=typeof U==="object"&&U&&"message"in U?String(U.message):JSON.stringify(U);throw console.error("error: ",F,W),U}finally{let U=$.res?.status??500,F=U>=500;K.setStatus({code:F?jB1.ERROR:jB1.OK}),K.setAttribute("http.response.status_code",U);let H=$.get("meshContext");if(H){if(H.auth.user?.id)K.setAttribute("studio.user.id",H.auth.user.id);if(H.auth.apiKey?.id)K.setAttribute("studio.api_key.id",H.auth.apiKey.id);if(H.organization?.id)K.setAttribute("studio.organization.id",H.organization.id)}if(J)So1($.res.headers,J);SE$().record((performance.now()-Q)/1000,{"http.request.method":G.method,"http.route":$.req.routePath,"http.response.status_code":U}),K.end()}})};var Vo1=D(()=>{x9();yn()});import{createContextKey as CE$,metrics as go1,propagation as _E$,ROOT_CONTEXT as bE$,SpanStatusCode as _o1,trace as IB1}from"@opentelemetry/api";import{logs as ho1,SeverityNumber as gf}from"@opentelemetry/api-logs";import{OTLPLogExporter as bo1}from"@opentelemetry/exporter-logs-otlp-proto";import{PrometheusExporter as vE$}from"@opentelemetry/exporter-prometheus";import{OTLPTraceExporter as xE$}from"@opentelemetry/exporter-trace-otlp-proto";import{RuntimeNodeInstrumentation as fE$}from"@opentelemetry/instrumentation-runtime-node";import{BatchLogRecordProcessor as RB1,LoggerProvider as vo1}from"@opentelemetry/sdk-logs";import{detectResources as yE$,envDetector as gE$,hostDetector as hE$,osDetector as uE$,processDetector as cE$,resourceFromAttributes as xo1}from"@opentelemetry/resources";import{PeriodicExportingMetricReader as lE$}from"@opentelemetry/sdk-metrics";import{NodeSDK as dE$}from"@opentelemetry/sdk-node";import{BatchSpanProcessor as fo1,SamplingDecision as HS}from"@opentelemetry/sdk-trace-base";class co1{inner;ratio;constructor($,Z){this.inner=$;this.ratio=Z}onEmit($,Z){if($.severityNumber!==void 0&&$.severityNumber>=gf.ERROR||Math.random()<this.ratio)this.inner.onEmit($,Z)}forceFlush(){return this.inner.forceFlush()}shutdown(){return this.inner.shutdown()}}class lo1{inner;maxBytes;constructor($,Z){this.inner=$;this.maxBytes=Z}onEmit($,Z){let G=T4.OUTPUT,X=$.attributes?.[G];if(typeof X==="string"&&X.length>this.maxBytes){let Q=US(X,this.maxBytes);this.inner.onEmit({...$,attributes:{...$.attributes,[G]:Q}},Z)}else this.inner.onEmit($,Z)}forceFlush(){return this.inner.forceFlush()}shutdown(){return this.inner.shutdown()}}class do1{inner;constructor($){this.inner=$}shouldSample($,Z,G,X,Q,Y){let J=$.getValue(uo1);if(!J){if(this.inner)return this.inner.shouldSample($,Z,G,X,Q,Y);return{decision:HS.RECORD_AND_SAMPLED}}let W=AB1(J);if(W)return{decision:HS.RECORD_AND_SAMPLED,attributes:{"trace.debug.id":W}};if(this.inner){let K=this.inner.shouldSample($,Z,G,X,Q,Y);if(K.decision===HS.RECORD_AND_SAMPLED){let U=crypto.randomUUID();K.attributes={...K.attributes??{},"trace.debug.id":U}}return K}return{decision:HS.NOT_RECORD}}toString(){return"DebugSampler"}}class mo1{ratio;constructor($){this.ratio=$}shouldSample(){if(Math.random()<this.ratio)return{decision:HS.RECORD_AND_SAMPLED};return{decision:HS.NOT_RECORD}}toString(){return`RatioSampler(${this.ratio})`}}function io1(){if(yo1)return;let $=b0(),Z=!!process.env.OTEL_EXPORTER_OTLP_ENDPOINT,G=Z?new xE$:void 0;bf=$.nodeEnv==="test"?null:new BB1({basePath:dY()}),vf=$.nodeEnv==="test"?null:new LB1({basePath:JS()}),xf=$.nodeEnv==="test"?null:new DB1({basePath:ZK()}),ff=xf?new lE$({exporter:xf,exportIntervalMillis:60000}):null;let X=process.env.STUDIO_ENV??"production"??"unknown",Q={};if(!process.env.OTEL_RESOURCE_ATTRIBUTES?.includes("deployment.environment"))Q["deployment.environment"]=X;new dE$({serviceName:$.otelServiceName,resource:xo1(Q),metricReaders:[TB1,...ff?[ff]:[]],sampler:nE$,spanProcessors:[...G?[new fo1(G,{scheduledDelayMillis:60000,maxExportBatchSize:1000})]:[],...vf?[new fo1(vf,{scheduledDelayMillis:60000,maxExportBatchSize:1000})]:[]],instrumentations:[new fE$]}).start(),z6=go1.getMeter("studio","1.0.0"),AF=IB1.getTracer("studio","1.0.0");let J=yE$({detectors:[gE$,hE$,uE$,cE$]}).merge(xo1({"service.name":$.otelServiceName,...Q})),W=[];if(Z){let H=X==="prod"||X==="production"?1:0.1,N=process.env.INFRA_LOG_SAMPLE_RATIO,O=H;if(N!==void 0){let B=Number(N);if(Number.isFinite(B)&&B>=0&&B<=1)O=B;else console.warn(`[observability] Ignoring invalid INFRA_LOG_SAMPLE_RATIO="${N}" (expected 0..1); using ${H}`)}W.push(new co1(new RB1(new bo1),O))}yf=new vo1({resource:J,processors:W}),ho1.setGlobalLoggerProvider(yf),no1=yf.getLogger("studio","1.0.0");let K=$.monitoringOtlpEndpoint??process.env.OTEL_EXPORTER_OTLP_ENDPOINT,U=[];if(K){let F=K.replace(/\/$/,""),H=F.endsWith("/v1/logs")?F:`${F}/v1/logs`;U.push(new lo1(new RB1(new bo1({url:H})),8000))}if(bf)U.push(new RB1(bf,{scheduledDelayMillis:60000,maxExportBatchSize:250}));gn=new vo1({resource:J,processors:U}),Io1(gn),Lo1(),yo1=!0}async function bQ(){let Z=(await Promise.allSettled([yf?yf.forceFlush():Promise.resolve(),(async()=>{if(gn)await gn.forceFlush();if(bf)await bf.forceFlush()})(),(async()=>{let G=IB1.getTracerProvider();if("forceFlush"in G)await G.forceFlush();if(vf)await vf.forceFlush()})(),(async()=>{if(ff)await ff.forceFlush();if(xf)await xf.forceFlush()})()])).find((G)=>G.status==="rejected");if(Z)throw Z.reason}function kB1($,Z,G){return AF.startActiveSpan($,{attributes:G},async(X)=>{try{let Q=await Z(X);return X.setStatus({code:_o1.OK}),Q}catch(Q){let Y=Q instanceof Error?Q:Error(String(Q??"unknown"));throw X.setStatus({code:_o1.ERROR,message:Y.message}),X.recordException(Y),Q}finally{X.end()}})}var mE$="__d",uo1,iE$=1,AB1=($)=>{let G=new URL($.url).searchParams.get(mE$);if(G==="")return crypto.randomUUID();if(!G)G=$.headers.get("x-trace-debug-id");return G},So1=($,Z)=>{try{$.set("x-trace-debug-id",Z)}catch{}},TB1,nE$,bf=null,vf=null,xf=null,ff=null,yf=null,gn=null,yo1=!1,AF,z6,no1,qB1=($,Z,G)=>{let X={},Q=G,Y=G[G.length-1];if(Y!==null&&typeof Y==="object"&&!Array.isArray(Y)&&!(Y instanceof Error)&&Object.getPrototypeOf(Y)===Object.prototype)X=Y,Q=G.slice(0,-1);let J=Q.map((W)=>{if(W instanceof Error)return`${W.name}: ${W.message}`;if(typeof W==="object")try{return JSON.stringify(W)}catch{return"[Object]"}return String(W)}).join(" ");no1.emit({severityNumber:$,severityText:Z,body:J,attributes:{"log.source":"console",...X}})},MB1,Co1=($)=>{return _E$.extract(bE$,$.headers,{get:(G,X)=>G.get(X)??void 0,keys:(G)=>[...G.keys()]}).setValue(uo1,$)};var x9=D(()=>{Eo1();zo1();Po1();Ao1();_X();EB1();$6();wB1();Vo1();uo1=CE$("Current request");TB1=new vE$({preventServerStart:!0}),nE$=new do1(new mo1(iE$));AF=IB1.getTracer("studio","1.0.0"),z6=go1.getMeter("studio","1.0.0"),no1=ho1.getLogger("studio","1.0.0"),MB1={error:console.error.bind(console),warn:console.warn.bind(console),debug:console.debug.bind(console)};console.error=(...$)=>{qB1(gf.ERROR,"ERROR",$),MB1.error(...$)};console.warn=(...$)=>{qB1(gf.WARN,"WARN",$),MB1.warn(...$)};console.debug=(...$)=>{qB1(gf.DEBUG,"DEBUG",$),MB1.debug(...$)}});function gO(){try{return process.memoryUsage()}catch{return null}}function oo1(){if(SB1)return;let $=performance.now()+CB1;SB1=setInterval(()=>{let Z=performance.now();to1=Math.max(0,Z-$),$=Z+CB1},CB1),SB1.unref?.()}function ro1(){return oo1(),to1}function ao1(){if(oo1(),process.env.EVENT_LOOP_MONITOR!=="1")return()=>{};let $=Number(process.env.EVENT_LOOP_INTERVAL_MS??250),Z=Number(process.env.EVENT_LOOP_SPIKE_MS??100),G=z6.createHistogram("eventloop.delay",{description:"Event-loop lag measured as timer scheduling drift",unit:"ms"}),X=performance.now()+$;return hn=setInterval(()=>{let Q=performance.now(),Y=Math.max(0,Q-X);if(X=Q+$,G.record(Y),Y>Z){let J=gO();console.warn(JSON.stringify({msg:"event-loop-stall",ts:new Date().toISOString(),lagMs:Math.round(Y),rss:J?.rss,heapUsed:J?.heapUsed,heapTotal:J?.heapTotal,external:J?.external}))}},$),hn.unref?.(),()=>{if(hn)clearInterval(hn)}}var hn,SB1,to1=0,CB1=500;var _B1=D(()=>{x9()});var hO=v((Gw$)=>{Gw$.HttpAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})(Gw$.HttpAuthLocation||(Gw$.HttpAuthLocation={}));Gw$.HttpApiKeyAuthLocation=void 0;(function($){$.HEADER="header",$.QUERY="query"})(Gw$.HttpApiKeyAuthLocation||(Gw$.HttpApiKeyAuthLocation={}));Gw$.EndpointURLScheme=void 0;(function($){$.HTTP="http",$.HTTPS="https"})(Gw$.EndpointURLScheme||(Gw$.EndpointURLScheme={}));Gw$.AlgorithmId=void 0;(function($){$.MD5="md5",$.CRC32="crc32",$.CRC32C="crc32c",$.SHA1="sha1",$.SHA256="sha256"})(Gw$.AlgorithmId||(Gw$.AlgorithmId={}));var aE$=($)=>{let Z=[];if($.sha256!==void 0)Z.push({algorithmId:()=>Gw$.AlgorithmId.SHA256,checksumConstructor:()=>$.sha256});if($.md5!=null)Z.push({algorithmId:()=>Gw$.AlgorithmId.MD5,checksumConstructor:()=>$.md5});return{addChecksumAlgorithm(G){Z.push(G)},checksumAlgorithms(){return Z}}},sE$=($)=>{let Z={};return $.checksumAlgorithms().forEach((G)=>{Z[G.algorithmId()]=G.checksumConstructor()}),Z},eE$=($)=>{return aE$($)},$w$=($)=>{return sE$($)};Gw$.FieldPosition=void 0;(function($){$[$.HEADER=0]="HEADER",$[$.TRAILER=1]="TRAILER"})(Gw$.FieldPosition||(Gw$.FieldPosition={}));var Zw$="__smithy_context";Gw$.IniSectionType=void 0;(function($){$.PROFILE="profile",$.SSO_SESSION="sso-session",$.SERVICES="services"})(Gw$.IniSectionType||(Gw$.IniSectionType={}));Gw$.RequestHandlerProtocol=void 0;(function($){$.HTTP_0_9="http/0.9",$.HTTP_1_0="http/1.0",$.TDS_8_0="tds/8.0"})(Gw$.RequestHandlerProtocol||(Gw$.RequestHandlerProtocol={}));Gw$.SMITHY_CONTEXT_KEY=Zw$;Gw$.getDefaultClientConfiguration=eE$;Gw$.resolveDefaultRuntimeConfig=$w$});var Z5=v((Hw$)=>{var Jw$=hO(),Ww$=($)=>{return{setHttpHandler(Z){$.httpHandler=Z},httpHandler(){return $.httpHandler},updateHttpClientConfig(Z,G){$.httpHandler?.updateHttpClientConfig(Z,G)},httpHandlerConfigs(){return $.httpHandler.httpHandlerConfigs()}}},Kw$=($)=>{return{httpHandler:$.httpHandler()}};class Zr1{name;kind;values;constructor({name:$,kind:Z=Jw$.FieldPosition.HEADER,values:G=[]}){this.name=$,this.kind=Z,this.values=G}add($){this.values.push($)}set($){this.values=$}remove($){this.values=this.values.filter((Z)=>Z!==$)}toString(){return this.values.map(($)=>$.includes(",")||$.includes(" ")?`"${$}"`:$).join(", ")}get(){return this.values}}class Gr1{entries={};encoding;constructor({fields:$=[],encoding:Z="utf-8"}){$.forEach(this.setField.bind(this)),this.encoding=Z}setField($){this.entries[$.name.toLowerCase()]=$}getField($){return this.entries[$.toLowerCase()]}removeField($){delete this.entries[$.toLowerCase()]}getByType($){return Object.values(this.entries).filter((Z)=>Z.kind===$)}}class cn{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor($){this.method=$.method||"GET",this.hostname=$.hostname||"localhost",this.port=$.port,this.query=$.query||{},this.headers=$.headers||{},this.body=$.body,this.protocol=$.protocol?$.protocol.slice(-1)!==":"?`${$.protocol}:`:$.protocol:"https:",this.path=$.path?$.path.charAt(0)!=="/"?`/${$.path}`:$.path:"/",this.username=$.username,this.password=$.password,this.fragment=$.fragment}static clone($){let Z=new cn({...$,headers:{...$.headers}});if(Z.query)Z.query=Uw$(Z.query);return Z}static isInstance($){if(!$)return!1;let Z=$;return"method"in Z&&"protocol"in Z&&"hostname"in Z&&"path"in Z&&typeof Z.query==="object"&&typeof Z.headers==="object"}clone(){return cn.clone(this)}}function Uw$($){return Object.keys($).reduce((Z,G)=>{let X=$[G];return{...Z,[G]:Array.isArray(X)?[...X]:X}},{})}class Xr1{statusCode;reason;headers;body;constructor($){this.statusCode=$.statusCode,this.reason=$.reason,this.headers=$.headers||{},this.body=$.body}static isInstance($){if(!$)return!1;let Z=$;return typeof Z.statusCode==="number"&&typeof Z.headers==="object"}}function Fw$($){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test($)}Hw$.Field=Zr1;Hw$.Fields=Gr1;Hw$.HttpRequest=cn;Hw$.HttpResponse=Xr1;Hw$.getHttpHandlerExtensionConfiguration=Ww$;Hw$.isValidHostname=Fw$;Hw$.resolveHttpHandlerRuntimeConfig=Kw$});function zw$($){return(Z)=>async(G)=>{let{request:X}=G;if($.expectContinueHeader!==!1&&Qr1.HttpRequest.isInstance(X)&&X.body&&$.runtime==="node"&&$.requestHandler?.constructor?.name!=="FetchHttpHandler"){let Q=!0;if(typeof $.expectContinueHeader==="number")try{Q=(Number(X.headers?.["content-length"])??$.bodyLengthChecker?.(X.body)??1/0)>=$.expectContinueHeader}catch(Y){}else Q=!!$.expectContinueHeader;if(Q)X.headers.Expect="100-continue"}return Z({...G,request:X})}}var Qr1,jw$,Yr1=($)=>({applyToStack:(Z)=>{Z.add(zw$($),jw$)}});var Jr1=D(()=>{Qr1=x(Z5(),1);jw$={step:"build",tags:["SET_EXPECT_HEADER","EXPECT_HEADER"],name:"addExpectContinueMiddleware",override:!0}});var vQ,ln,uO,dn,Z6,Wr1,uf;var xQ=D(()=>{vQ={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},ln=vQ.WHEN_SUPPORTED,uO={WHEN_SUPPORTED:"WHEN_SUPPORTED",WHEN_REQUIRED:"WHEN_REQUIRED"},dn=vQ.WHEN_SUPPORTED;(function($){$.MD5="MD5",$.CRC32="CRC32",$.CRC32C="CRC32C",$.CRC64NVME="CRC64NVME",$.SHA1="SHA1",$.SHA256="SHA256"})(Z6||(Z6={}));(function($){$.HEADER="header",$.TRAILER="trailer"})(Wr1||(Wr1={}));uf=Z6.CRC32});var IF,NS=($,Z,G,X)=>{if(!(Z in $))return;let Q=$[Z].toUpperCase();if(!Object.values(G).includes(Q))throw TypeError(`Cannot load ${X} '${Z}'. Expected one of ${Object.values(G)}, got '${$[Z]}'.`);return Q};var hB1=D(()=>{(function($){$.ENV="env",$.CONFIG="shared config entry"})(IF||(IF={}))});var Pw$="AWS_REQUEST_CHECKSUM_CALCULATION",Aw$="request_checksum_calculation",Kr1;var Ur1=D(()=>{xQ();hB1();Kr1={environmentVariableSelector:($)=>NS($,Pw$,vQ,IF.ENV),configFileSelector:($)=>NS($,Aw$,vQ,IF.CONFIG),default:ln}});var Rw$="AWS_RESPONSE_CHECKSUM_VALIDATION",Iw$="response_checksum_validation",Fr1;var Hr1=D(()=>{xQ();hB1();Fr1={environmentVariableSelector:($)=>NS($,Rw$,uO,IF.ENV),configFileSelector:($)=>NS($,Iw$,uO,IF.CONFIG),default:dn}});var cB1=v((vw$)=>{var Tw$=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],qw$=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],Mw$=["TimeoutError","RequestTimeout","RequestTimeoutException"],kw$=[500,502,503,504],Vw$=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Sw$=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],Nr1=($)=>$?.$retryable!==void 0,Cw$=($)=>Tw$.includes($.name),Or1=($)=>$.$metadata?.clockSkewCorrected,Br1=($)=>{let Z=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!($&&$ instanceof TypeError))return!1;return Z.has($.message)},_w$=($)=>$.$metadata?.httpStatusCode===429||qw$.includes($.name)||$.$retryable?.throttling==!0,uB1=($,Z=0)=>Nr1($)||Or1($)||$.name==="InvalidSignatureException"&&$.message?.includes("Signature expired")||Mw$.includes($.name)||Vw$.includes($?.code||"")||Sw$.includes($?.code||"")||kw$.includes($.$metadata?.httpStatusCode||0)||Br1($)||Dr1($)||$.cause!==void 0&&Z<=10&&uB1($.cause,Z+1),bw$=($)=>{if($.$metadata?.httpStatusCode!==void 0){let Z=$.$metadata.httpStatusCode;if(500<=Z&&Z<=599&&!uB1($))return!0;return!1}return!1};function Dr1($){return $.code==="ERR_HTTP2_STREAM_ERROR"&&$.message.includes("NGHTTP2_REFUSED_STREAM")}vw$.isBrowserNetworkError=Br1;vw$.isClockSkewCorrectedError=Or1;vw$.isClockSkewError=Cw$;vw$.isNodeJsHttp2TransientError=Dr1;vw$.isRetryableByTrait=Nr1;vw$.isServerError=bw$;vw$.isThrottlingError=_w$;vw$.isTransientError=uB1});var GK=v((aw$)=>{var dw$=cB1();aw$.RETRY_MODES=void 0;(function($){$.STANDARD="standard",$.ADAPTIVE="adaptive"})(aw$.RETRY_MODES||(aw$.RETRY_MODES={}));var nn=3,mw$=aw$.RETRY_MODES.STANDARD;class pn{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor($){this.beta=$?.beta??0.7,this.minCapacity=$?.minCapacity??1,this.minFillRate=$?.minFillRate??0.5,this.scaleConstant=$?.scaleConstant??0.4,this.smooth=$?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate($){let Z;this.updateMeasuredRate();let G=$;if(G?.errorType==="THROTTLING"||dw$.isThrottlingError(G?.error??$)){let Y=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=Y,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),Z=this.cubicThrottle(Y),this.enableTokenBucket()}else this.calculateTimeWindow(),Z=this.cubicSuccess(this.getCurrentTimeInSeconds());let Q=Math.min(Z,2*this.measuredTxRate);this.updateTokenBucketRate(Q)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket($){if(!this.enabled)return;if(this.refillTokenBucket(),$>this.availableTokens){let Z=($-this.availableTokens)/this.fillRate*1000;await new Promise((G)=>pn.setTimeoutFn(G,Z))}this.availableTokens=this.availableTokens-$}refillTokenBucket(){let $=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=$;return}let Z=($-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+Z),this.lastTimestamp=$}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle($){return this.getPrecise($*this.beta)}cubicSuccess($){return this.getPrecise(this.scaleConstant*Math.pow($-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate($){this.refillTokenBucket(),this.fillRate=Math.max($,this.minFillRate),this.maxCapacity=Math.max($,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let $=this.getCurrentTimeInSeconds(),Z=Math.floor($*2)/2;if(this.requestCount++,Z>this.lastTxRateBucket){let G=this.requestCount/(Z-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(G*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=Z}}getPrecise($){return parseFloat($.toFixed(8))}}var iw$=100,mB1=20000,nw$=500,lB1=500,pw$=5,tw$=10,Lr1=1,ow$="amz-sdk-invocation-id",rw$="amz-sdk-request";class hZ{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return hZ.v2026?50:100}static throttlingDelay(){return hZ.v2026?1000:500}static cost(){return hZ.v2026?14:5}static throttlingCost(){return hZ.v2026?5:10}static modifiedCostType(){return hZ.v2026?"THROTTLING":"TRANSIENT"}}class Er1{x=hZ.delay();computeNextBackoffDelay($){let Z=Math.random(),G=2,X=Z*Math.min(this.x*2**$,mB1);return Math.floor(X)}setDelayBase($){this.x=$}}class dB1{delay;count;cost;longPoll;constructor($,Z,G,X){this.delay=$,this.count=Z,this.cost=G,this.longPoll=X}getRetryCount(){return this.count}getRetryDelay(){return Math.min(mB1,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}var mn={incompatible:1,attempts:2,capacity:3};class cf{mode=aw$.RETRY_MODES.STANDARD;capacity=lB1;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor($){if(typeof $==="number")this.maxAttemptsProvider=async()=>$;else if(typeof $==="function")this.maxAttemptsProvider=$;else if($&&typeof $==="object")this.maxAttemptsProvider=async()=>$.maxAttempts,this.baseDelay=$.baseDelay,this.retryBackoffStrategy=$.backoff;this.maxAttemptsProvider??=async()=>nn,this.baseDelay??=hZ.delay(),this.retryBackoffStrategy??=new Er1}async acquireInitialRetryToken($){return new dB1(hZ.delay(),0,void 0,hZ.v2026&&$.includes(":longpoll"))}async refreshRetryTokenForRetry($,Z){let G=await this.getMaxAttempts(),X=this.retryCode($,Z,G),Q=X===0,Y=$.isLongPoll?.();if(Q||Y){let J=Z.errorType;this.retryBackoffStrategy.setDelayBase(J==="THROTTLING"?hZ.throttlingDelay():this.baseDelay);let W=this.retryBackoffStrategy.computeNextBackoffDelay($.getRetryCount()),K=W;if(Z.retryAfterHint instanceof Date)K=Math.max(W,Math.min(Z.retryAfterHint.getTime()-Date.now(),W+5000));if(!Q)throw Object.assign(Error("No retry token available"),{$backoff:hZ.v2026&&X===mn.capacity&&Y?K:0});else{let U=this.getCapacityCost(J);return this.capacity-=U,new dB1(K,$.getRetryCount()+1,U,$.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess($){this.capacity=Math.min(lB1,this.capacity+($.getRetryCost()??Lr1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch($){return console.warn(`Max attempts provider could not resolve. Using default of ${nn}`),nn}}retryCode($,Z,G){let X=$.getRetryCount()+1,Q=this.isRetryableError(Z.errorType)?0:mn.incompatible,Y=X<G?0:mn.attempts,J=this.capacity>=this.getCapacityCost(Z.errorType)?0:mn.capacity;return Q||Y||J}getCapacityCost($){return $===hZ.modifiedCostType()?hZ.throttlingCost():hZ.cost()}isRetryableError($){return $==="THROTTLING"||$==="TRANSIENT"}}class wr1{mode=aw$.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor($,Z){let{rateLimiter:G}=Z??{};this.rateLimiter=G??new pn,this.standardRetryStrategy=Z?new cf({maxAttempts:typeof $==="number"?$:3,...Z}):new cf($)}async acquireInitialRetryToken($){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken($)}async refreshRetryTokenForRetry($,Z){return this.rateLimiter.updateClientSendingRate(Z),this.standardRetryStrategy.refreshRetryTokenForRetry($,Z)}recordSuccess($){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess($)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}}class zr1 extends cf{computeNextBackoffDelay;constructor($,Z=hZ.delay()){super(typeof $==="function"?$:async()=>$);if(typeof Z==="number")this.computeNextBackoffDelay=()=>Z;else this.computeNextBackoffDelay=Z}async refreshRetryTokenForRetry($,Z){let G=await super.refreshRetryTokenForRetry($,Z);return G.getRetryDelay=()=>this.computeNextBackoffDelay(G.getRetryCount()),G}}aw$.AdaptiveRetryStrategy=wr1;aw$.ConfiguredRetryStrategy=zr1;aw$.DEFAULT_MAX_ATTEMPTS=nn;aw$.DEFAULT_RETRY_DELAY_BASE=iw$;aw$.DEFAULT_RETRY_MODE=mw$;aw$.DefaultRateLimiter=pn;aw$.INITIAL_RETRY_TOKENS=lB1;aw$.INVOCATION_ID_HEADER=ow$;aw$.MAXIMUM_RETRY_DELAY=mB1;aw$.NO_RETRY_INCREMENT=Lr1;aw$.REQUEST_HEADER=rw$;aw$.RETRY_COST=pw$;aw$.Retry=hZ;aw$.StandardRetryStrategy=cf;aw$.THROTTLING_RETRY_DELAY_BASE=nw$;aw$.TIMEOUT_RETRY_COST=tw$});var P5=v((Az$)=>{var Bz$=GK(),iB1={warningEmitted:!1},Dz$=($)=>{if($&&!iB1.warningEmitted&&parseInt($.substring(1,$.indexOf(".")))<20)iB1.warningEmitted=!0,process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
|
|
5
5
|
no longer support Node.js ${$} in January 2026.
|
|
6
6
|
|
|
7
7
|
To continue receiving updates to AWS services, bug fixes, and security
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as W,r as B,j as e,c as X,l as Y}from"./index-rZ1TPVyD.js";import{i as Z}from"./ChevronRight-kLRVkGUs.js";import{S as tt}from"./scroll-area-QXSqgT3C.js";import{aa as et,ab as rt,f as ot}from"./index-u2XUNnQk.js";import{c as it}from"./save-referenced-block-CMYI5Fv0.js";import{S as mt}from"./schema-form-DNaVud8y.js";import{S as pt}from"./save-status-BkzFYIeb.js";import"./select-DRqZIuLQ.js";import"./tooltip-ua4lJTzI.js";import"./Check-6LmIKXJj.js";import"./ChevronDown-CaCYdoie.js";import"./ChevronUp-DkGtzqyl.js";import"./agent-capabilities-CmHO-Kgo.js";import"./chat-context-CDygsN4Q.js";import"./tab-id-hZWLCmfc.js";import"./use-mcp-client-CGBZ7ekq.js";import"./watch-sse-pool-Bo209v56.js";import"./decopilot-sse-pool-C2fCSDxg.js";import"./studio-tools-jbRVdtpc.js";import"./use-virtual-mcp-mhycHzLS.js";import"./use-collections-Dvp_IbhN.js";import"./use-ai-providers-P6PF7YRx.js";import"./use-organization-settings-D68AqLOQ.js";import"./pair-DYb6YfcG.js";import"./agent-icon-CpBAbwoh.js";import"./AlertCircle-rpaL6q8T.js";import"./Tool01-B0zT3ots.js";import"./SwitchHorizontal01-CkwE98n9.js";import"./RefreshCcw01-CW918RSV.js";import"./XCircle-CiiIVhRh.js";import"./ArrowUpRight-D7_4FAQ5.js";import"./ZapSquare-CxE5iHdd.js";import"./Users03-C5i2CKOP.js";import"./CheckCircle-D0kUlRsN.js";import"./ChevronLeft-BuXkBFIm.js";import"./DotsVertical-CvhOKI-w.js";import"./Container-Bl0qWNtu.js";import"./Eye-BNS1RmzG.js";import"./ZoomOut-B1VNHI1K.js";import"./Globe01-DjWlKHom.js";import"./FilterLines-BSmtfAHG.js";import"./Star01-QoJ-qcfh.js";import"./Palette-BX6fdd-v.js";import"./HardDrive-Dx3Blqhn.js";import"./Stars02-C17u9BVa.js";import"./Key01-D6jyUgYu.js";import"./LayoutLeft-C7Cmt2J8.js";import"./LinkExternal01-B6flmd1s.js";import"./Monitor01-DBfOkkx9.js";import"./Sun-D4yzlyEv.js";import"./Play-DApzrsBx.js";import"./Plus-Do6ZWheh.js";import"./SearchMd-B4Lavo8e.js";import"./Settings02-B57k_aEv.js";import"./Shield01-CFDfVqiL.js";import"./Stars01-ANwy09AP.js";import"./Trash01-Bifm5Wb3.js";import"./Upload01-mjA8r4Fi.js";import"./User01-BZL6tFVt.js";import"./Users01-CqVfleMx.js";import"./XClose-D0wmxYTF.js";import"./X-BWR0-4rz.js";import"./Zap-BGp3QjmM.js";import"./use-clock-tick-x-ip1-Lp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-nAd5EMaO.js";import"./file-type-icon-35VBMVCk.js";import"./dialog-CxpeEAA2.js";import"./content-blocks-o63cs2vh.js";import"./types-DJl0mitR.js";import"./shell-layout-DkW3B_MZ.js";import"./avatar-nCSKoB6F.js";import"./required-auth-layout-YEZh9H2w.js";import"./useRouterState-qr3F3XJE.js";import"./use-org-sso-B8CLPiZl.js";import"./integration-icon-CWT0gSfx.js";import"./use-navigate-to-agent-5w6ZqBss.js";import"./use-connection-CyWLUiRu.js";import"./use-mcp-prompts-BQNNtRte.js";import"./form-Ci8PGt-R.js";import"./label-CzVCjiiL.js";import"./input-BPXWlz46.js";import"./spinner-DZmgr2qu.js";import"./drawer-R-Q-vfsa.js";import"./collection-search-CjkYy_AH.js";import"./tabs-B68TQ0Dt.js";import"./toggle-group-DnRl91Ne.js";import"./sortable.esm-CnPAeADV.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BioQsepZ.js";import"./use-registry-connections-CRtbznIm.js";import"./useInfiniteQuery-k6dph5MZ.js";import"./use-infinite-scroll-B2zyjKex.js";import"./extract-connection-data-BJ4lD3eO.js";import"./generate-id-nWw_PZwJ.js";import"./collections-NCEoL2EX.js";import"./card-CYGsSb57.js";import"./collection-tabs-BGsvaOVA.js";import"./badge-CY1rqnYU.js";import"./textarea-Bymi75yx.js";import"./connection-form-helpers-DC_9yJsF.js";import"./useSuspenseInfiniteQuery-DGO3SU3a.js";import"./connect-desktop-dialog-CgeQRUKM.js";import"./agent-icons-C_pHQRgk.js";import"./checkbox-vKl7eadT.js";import"./skeleton-DvVUqja_.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-5LNAbhU4.js";import"./popover-Bk3EwUPD.js";import"./command-KCI9wvsu.js";import"./index-BEe1oLVg.js";import"./index-Dczuf3at.js";import"./dropdown-menu-Xj0lVIXK.js";import"./question-004-sINsf4GQ.js";import"./shell-route-loading-CKElD_Av.js";import"./sidebar-B3SsvTHC.js";import"./sheet-Dsfk9URc.js";import"./toolbar-Cb06hfKk.js";import"./use-create-virtual-mcp-DmdlMapL.js";import"./github-repo-picker-DY4w_1I0.js";import"./use-mcp-tools-Dn2JgISP.js";import"./alert-dialog-Dsb6KPFM.js";import"./index-czuYZ_ID.js";import"./use-org-auth-client-CLnnUl3h.js";import"./hover-card-DY9PmUZF.js";import"./task-status-Cqn0_tco.js";import"./use-status-sounds-B8VUkU2E.js";import"./empty-state-BhV-zl-f.js";import"./resizable-23UTrxEL.js";import"./use-capability-B2IrzHkM.js";import"./header-tab-button-C7XZ27Uv.js";import"./index-DppjWA7O.js";import"./user-D73GXODW.js";import"./tools-list-D12nTCg-.js";import"./switch-rL3a0x4B.js";import"./use-debounced-autosave-DSZqKaTf.js";import"./index-DO3UwA_I.js";import"./search-input-DbmU5zU8.js";import"./use-secrets--KIFsJ5I.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./accordion-Dsx4jZXX.js";import"./view-mode-toggle-3i0Tx7_t.js";import"./select-model-CZe_eVYF.js";import"./use-automations-DGe3A7k6.js";import"./monaco-editor-C-H4UmIT.js";import"./automation-runs-D8yf4pum.js";import"./table-cHRXPecF.js";import"./use-members-BaX0tyb1.js";import"./automation-list-row-DTcrDIUh.js";import"./calendar-vde5tCHf.js";import"./image-field-DXfNSgLy.js";import"./use-file-configs-DXD_Hwrv.js";function Zr(E){const t=W.c(51),{orgSlug:R,virtualMcpId:P,branch:$,blockKey:r,block:m,meta:p,decofile:C,title:F,excludeFields:K,schemaPending:M}=E,V=M===void 0?!1:M,a=typeof m?.__resolveType=="string"?m.__resolveType:"";let v;t[0]!==K||t[1]!==p||t[2]!==a?(v=et(a,p,K),t[0]=K,t[1]=p,t[2]=a,t[3]=v):v=t[3];const s=v;let b;t[4]!==s?(b=!!s&&Object.keys(s.properties??{}).length>0,t[4]=s,t[5]=b):b=t[5];const T=b;let g;t[6]!==m||t[7]!==r||t[8]!==p||t[9]!==F?(g=F??(m?rt(r,m,p):r),t[6]=m,t[7]=r,t[8]=p,t[9]=F,t[10]=g):g=t[10];const n=g;let j;t[11]!==$||t[12]!==R||t[13]!==P?(j={orgSlug:R,virtualMcpId:P,branch:$},t[11]=$,t[12]=R,t[13]=P,t[14]=j):j=t[14];const{save:c,isPending:A}=ot(j);let y;t[15]!==c?(y=it((l,i)=>c(l,i)),t[15]=c,t[16]=y):y=t[16];const L=y,[G,H]=B.useState(r),[J,q]=B.useState(null),[z,Q]=B.useState(0);let S;t[17]===Symbol.for("react.memo_cache_sentinel")?(S=[],t[17]=S):S=t[17];const[o,O]=B.useState(S);G!==r&&(H(r),q(null),Q(st),O([]));let N;t[18]!==m?(N=m??{},t[18]=m,t[19]=N):N=t[19];const D=J??N;let k;t[20]!==r||t[21]!==a||t[22]!==c?(k=l=>{const i=l;q(i),c(r,{...i,__resolveType:a})},t[20]=r,t[21]=a,t[22]=c,t[23]=k):k=t[23];const I=k;let _;t[24]!==o||t[25]!==n?(_=o.length>0?[n,...o]:[],t[24]=o,t[25]=n,t[26]=_):_=t[26];const h=_;let d;t[27]!==o||t[28]!==h||t[29]!==n?(d=h.length>0?e.jsx("nav",{"aria-label":"Editing breadcrumb",className:"flex min-w-0 flex-1 items-center gap-1 overflow-hidden text-sm",children:h.map((l,i)=>{const U=i===h.length-1;return e.jsxs("span",{className:"flex min-w-0 items-center gap-1 overflow-hidden",children:[i>0&&e.jsx(Z,{className:"size-3 shrink-0 text-muted-foreground/60"}),e.jsx("button",{type:"button",onClick:()=>O(i===0?[]:o.slice(0,i)),title:l,className:X("min-w-0 truncate rounded-md px-1 py-0.5 text-left transition-colors",U?"font-medium text-foreground":"text-muted-foreground hover:bg-accent hover:text-accent-foreground"),children:l})]},`${l}-${i}`)})}):e.jsx("span",{className:"text-sm font-medium",children:n}),t[27]=o,t[28]=h,t[29]=n,t[30]=d):d=t[30];let f;t[31]!==A?(f=e.jsx(pt,{isPending:A,isError:!1}),t[31]=A,t[32]=f):f=t[32];let u;t[33]!==d||t[34]!==f?(u=e.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[d,f]}),t[33]=d,t[34]=f,t[35]=u):u=t[35];let x;t[36]!==r||t[37]!==o||t[38]!==C||t[39]!==D||t[40]!==z||t[41]!==I||t[42]!==T||t[43]!==p||t[44]!==L||t[45]!==s||t[46]!==V?(x=e.jsx(tt,{className:"min-w-0 flex-1 [&_[data-slot=scroll-area-viewport]>div]:!block",children:e.jsx("div",{className:"px-6 py-6",children:e.jsx("div",{className:"mx-auto max-w-xl",children:T?e.jsx(mt,{schema:s,value:D,onChange:I,basePath:"",breadcrumbPath:o,onBreadcrumbChange:O,decofile:C,meta:p,onSaveReferencedBlock:L},`${r}:${z}`):V?e.jsxs("div",{className:"flex flex-col items-center gap-2 py-6 text-center text-xs text-muted-foreground",children:[e.jsx(Y,{size:16,className:"animate-spin"}),"Loading app schema…"]}):e.jsx("div",{className:"py-6 text-center text-xs text-muted-foreground",children:"No editable schema found for this app."})})})}),t[36]=r,t[37]=o,t[38]=C,t[39]=D,t[40]=z,t[41]=I,t[42]=T,t[43]=p,t[44]=L,t[45]=s,t[46]=V,t[47]=x):x=t[47];let w;return t[48]!==u||t[49]!==x?(w=e.jsxs("div",{className:"flex h-full flex-col",children:[u,x]}),t[48]=u,t[49]=x,t[50]=w):w=t[50],w}function st(E){return E+1}export{Zr as AppEditor};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./watch-sse-pool-Bo209v56.js";const c=o;export{c as d};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as it,r as E,j as e,l as rt}from"./index-rZ1TPVyD.js";import{S as mt,d as pt,a as st,b as at}from"./sheet-Dsfk9URc.js";import{S as nt}from"./scroll-area-QXSqgT3C.js";import{r as lt,c as ct,u as dt,a as St,i as ft,f as ut,d as vt,P as ht,S as gt}from"./page-seo-form-Dk6e77BM.js";import{n as xt}from"./index-u2XUNnQk.js";import"./X-BWR0-4rz.js";import"./select-DRqZIuLQ.js";import"./tooltip-ua4lJTzI.js";import"./Check-6LmIKXJj.js";import"./ChevronDown-CaCYdoie.js";import"./ChevronUp-DkGtzqyl.js";import"./label-CzVCjiiL.js";import"./switch-rL3a0x4B.js";import"./schema-form-DNaVud8y.js";import"./agent-icon-CpBAbwoh.js";import"./AlertCircle-rpaL6q8T.js";import"./Tool01-B0zT3ots.js";import"./SwitchHorizontal01-CkwE98n9.js";import"./RefreshCcw01-CW918RSV.js";import"./XCircle-CiiIVhRh.js";import"./ArrowUpRight-D7_4FAQ5.js";import"./ZapSquare-CxE5iHdd.js";import"./Users03-C5i2CKOP.js";import"./CheckCircle-D0kUlRsN.js";import"./ChevronLeft-BuXkBFIm.js";import"./ChevronRight-kLRVkGUs.js";import"./DotsVertical-CvhOKI-w.js";import"./Container-Bl0qWNtu.js";import"./Eye-BNS1RmzG.js";import"./ZoomOut-B1VNHI1K.js";import"./Globe01-DjWlKHom.js";import"./FilterLines-BSmtfAHG.js";import"./Star01-QoJ-qcfh.js";import"./Palette-BX6fdd-v.js";import"./HardDrive-Dx3Blqhn.js";import"./Stars02-C17u9BVa.js";import"./Key01-D6jyUgYu.js";import"./LayoutLeft-C7Cmt2J8.js";import"./LinkExternal01-B6flmd1s.js";import"./Monitor01-DBfOkkx9.js";import"./Sun-D4yzlyEv.js";import"./Play-DApzrsBx.js";import"./Plus-Do6ZWheh.js";import"./SearchMd-B4Lavo8e.js";import"./Settings02-B57k_aEv.js";import"./Shield01-CFDfVqiL.js";import"./Stars01-ANwy09AP.js";import"./Trash01-Bifm5Wb3.js";import"./Upload01-mjA8r4Fi.js";import"./User01-BZL6tFVt.js";import"./Users01-CqVfleMx.js";import"./XClose-D0wmxYTF.js";import"./Zap-BGp3QjmM.js";import"./calendar-vde5tCHf.js";import"./input-BPXWlz46.js";import"./popover-Bk3EwUPD.js";import"./textarea-Bymi75yx.js";import"./dropdown-menu-Xj0lVIXK.js";import"./image-field-DXfNSgLy.js";import"./dialog-CxpeEAA2.js";import"./skeleton-DvVUqja_.js";import"./tabs-B68TQ0Dt.js";import"./use-file-configs-DXD_Hwrv.js";import"./studio-tools-jbRVdtpc.js";import"./useInfiniteQuery-k6dph5MZ.js";import"./use-infinite-scroll-B2zyjKex.js";import"./agent-capabilities-CmHO-Kgo.js";import"./chat-context-CDygsN4Q.js";import"./tab-id-hZWLCmfc.js";import"./use-mcp-client-CGBZ7ekq.js";import"./watch-sse-pool-Bo209v56.js";import"./decopilot-sse-pool-C2fCSDxg.js";import"./use-virtual-mcp-mhycHzLS.js";import"./use-collections-Dvp_IbhN.js";import"./use-ai-providers-P6PF7YRx.js";import"./use-organization-settings-D68AqLOQ.js";import"./pair-DYb6YfcG.js";import"./use-clock-tick-x-ip1-Lp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./use-copy-nAd5EMaO.js";import"./file-type-icon-35VBMVCk.js";import"./content-blocks-o63cs2vh.js";import"./types-DJl0mitR.js";import"./shell-layout-DkW3B_MZ.js";import"./avatar-nCSKoB6F.js";import"./required-auth-layout-YEZh9H2w.js";import"./useRouterState-qr3F3XJE.js";import"./use-org-sso-B8CLPiZl.js";import"./integration-icon-CWT0gSfx.js";import"./use-navigate-to-agent-5w6ZqBss.js";import"./use-connection-CyWLUiRu.js";import"./use-mcp-prompts-BQNNtRte.js";import"./form-Ci8PGt-R.js";import"./spinner-DZmgr2qu.js";import"./drawer-R-Q-vfsa.js";import"./collection-search-CjkYy_AH.js";import"./toggle-group-DnRl91Ne.js";import"./sortable.esm-CnPAeADV.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BioQsepZ.js";import"./use-registry-connections-CRtbznIm.js";import"./extract-connection-data-BJ4lD3eO.js";import"./generate-id-nWw_PZwJ.js";import"./collections-NCEoL2EX.js";import"./card-CYGsSb57.js";import"./collection-tabs-BGsvaOVA.js";import"./badge-CY1rqnYU.js";import"./connection-form-helpers-DC_9yJsF.js";import"./useSuspenseInfiniteQuery-DGO3SU3a.js";import"./connect-desktop-dialog-CgeQRUKM.js";import"./agent-icons-C_pHQRgk.js";import"./checkbox-vKl7eadT.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-5LNAbhU4.js";import"./command-KCI9wvsu.js";import"./index-BEe1oLVg.js";import"./index-Dczuf3at.js";import"./question-004-sINsf4GQ.js";import"./shell-route-loading-CKElD_Av.js";import"./sidebar-B3SsvTHC.js";import"./toolbar-Cb06hfKk.js";import"./use-create-virtual-mcp-DmdlMapL.js";import"./github-repo-picker-DY4w_1I0.js";import"./use-mcp-tools-Dn2JgISP.js";import"./alert-dialog-Dsb6KPFM.js";import"./index-czuYZ_ID.js";import"./use-org-auth-client-CLnnUl3h.js";import"./hover-card-DY9PmUZF.js";import"./task-status-Cqn0_tco.js";import"./use-status-sounds-B8VUkU2E.js";import"./empty-state-BhV-zl-f.js";import"./resizable-23UTrxEL.js";import"./use-capability-B2IrzHkM.js";import"./header-tab-button-C7XZ27Uv.js";import"./index-DppjWA7O.js";import"./user-D73GXODW.js";import"./tools-list-D12nTCg-.js";import"./use-debounced-autosave-DSZqKaTf.js";import"./index-DO3UwA_I.js";import"./search-input-DbmU5zU8.js";import"./use-secrets--KIFsJ5I.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./accordion-Dsx4jZXX.js";import"./view-mode-toggle-3i0Tx7_t.js";import"./select-model-CZe_eVYF.js";import"./use-automations-DGe3A7k6.js";import"./monaco-editor-C-H4UmIT.js";import"./automation-runs-D8yf4pum.js";import"./table-cHRXPecF.js";import"./use-members-BaX0tyb1.js";import"./automation-list-row-DTcrDIUh.js";function di(u){const t=it.c(46),{open:N,onOpenChange:P,orgSlug:Q,virtualMcpId:U,branch:W,decofile:G,meta:s,target:m,onSaved:X}=u,o=lt(G,m,s),k=m.kind==="site"?"site":m.pageKey,[Y,Z]=E.useState(k),[tt,i]=E.useState(null),[J,g]=E.useState(void 0),[x,y]=E.useState(0);Y!==k&&(Z(k),i(null),g(void 0),y(wt));const{persistSeo:a,persistRawSeo:I,flush:K,isPending:D}=ct({orgSlug:Q,virtualMcpId:U,branch:W,target:m,resolved:o,onSaved:X}),w=m.kind==="page",ot=w?o?.rawSeoData:void 0,v=J!==void 0?J:ot,et=w?dt(v)??void 0:void 0,h=tt??et??o?.seoData??{},p=o?St(h,o):null,n=p&&(!w||ft(v))?xt(p,s):null,_=m.kind==="page"?ut(G,s)?.seoData??void 0:void 0;let j;t[0]!==s?(j=vt(s),t[0]=s,t[1]=j):j=t[1];const M=j;let R;t[2]!==a||t[3]!==o||t[4]!==i?(R=r=>{if(!o)return;const L=r;i(L),a(L)},t[2]=a,t[3]=o,t[4]=i,t[5]=R):R=t[5];const V=R;let F;t[6]!==K||t[7]!==P?(F=r=>{r||K(),P(r)},t[6]=K,t[7]=P,t[8]=F):F=t[8];const z=F,A=m.kind==="site"?"Site SEO":"Page SEO",T=w&&o,B=m.kind==="site"&&o&&n,H=m.kind==="site"?"No site-level SEO block found.":o?"SEO schema not found for this page.":"Could not load page SEO.";let C;t[9]!==i?(C=()=>i(null),t[9]=i,t[10]=C):C=t[10];const $=C;let O;t[11]!==y?(O=()=>y(yt),t[11]=y,t[12]=O):O=t[12];const q=O;let l;t[13]!==A?(l=e.jsx(mt,{className:"text-sm font-semibold",children:A}),t[13]=A,t[14]=l):l=t[14];let c;t[15]!==D?(c=D&&e.jsx(rt,{size:14,className:"animate-spin text-muted-foreground"}),t[15]=D,t[16]=c):c=t[16];let d;t[17]!==l||t[18]!==c?(d=e.jsxs(pt,{className:"px-4 py-3 border-b flex-row items-center justify-between space-y-0",children:[l,c]}),t[17]=l,t[18]=c,t[19]=d):d=t[19];let S;t[20]!==p||t[21]!==q||t[22]!==$||t[23]!==M||t[24]!==v||t[25]!==h||t[26]!==H||t[27]!==x||t[28]!==V||t[29]!==I||t[30]!==a||t[31]!==o||t[32]!==n||t[33]!==i||t[34]!==g||t[35]!==T||t[36]!==B||t[37]!==_?(S=!o||!T&&!B?e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:H}):e.jsx(nt,{className:"flex-1 min-h-0 [&_[data-slot=scroll-area-viewport]>div]:!block",children:e.jsx("div",{className:"px-6 py-4",children:e.jsx("div",{className:"mx-auto max-w-sm",children:T?e.jsx(ht,{rawSeo:v,innerSeo:h,defaultResolveType:M,seoSchema:n,activeResolveType:p,seoTypeOptions:o.seoTypeOptions,formResetKey:x,siteDefaultSeo:_,onPersistRaw:r=>{g(r),I(r)},onInnerChange:r=>{i(r),a(r)},onClearForm:$,onBumpFormKey:q}):n&&p&&e.jsx(gt,{schema:n,resolveType:p,value:h,formResetKey:x,onChange:V})})})}),t[20]=p,t[21]=q,t[22]=$,t[23]=M,t[24]=v,t[25]=h,t[26]=H,t[27]=x,t[28]=V,t[29]=I,t[30]=a,t[31]=o,t[32]=n,t[33]=i,t[34]=g,t[35]=T,t[36]=B,t[37]=_,t[38]=S):S=t[38];let f;t[39]!==d||t[40]!==S?(f=e.jsxs(st,{side:"right",className:"w-[400px] sm:max-w-[440px] p-0 gap-0",children:[d,S]}),t[39]=d,t[40]=S,t[41]=f):f=t[41];let b;return t[42]!==z||t[43]!==N||t[44]!==f?(b=e.jsx(at,{open:N,onOpenChange:z,children:f}),t[42]=z,t[43]=N,t[44]=f,t[45]=b):b=t[45],b}function yt(u){return u+1}function wt(u){return u+1}export{di as SeoSheet};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as H,q as $,j}from"./index-rZ1TPVyD.js";import{h as q,g as O,s as b}from"./pair-DYb6YfcG.js";import{u as v}from"./use-mcp-client-CGBZ7ekq.js";import{a as L,c as B}from"./use-mcp-tools-Dn2JgISP.js";import{c as Y}from"./content-blocks-o63cs2vh.js";import{g as k,M as G,a as E}from"./types-DJl0mitR.js";import{a as V,c as z}from"./chat-context-CDygsN4Q.js";import{u as F}from"./shell-layout-DkW3B_MZ.js";import"./agent-icon-CpBAbwoh.js";import"./AlertCircle-rpaL6q8T.js";import"./Tool01-B0zT3ots.js";import"./SwitchHorizontal01-CkwE98n9.js";import"./RefreshCcw01-CW918RSV.js";import"./XCircle-CiiIVhRh.js";import"./ArrowUpRight-D7_4FAQ5.js";import"./ZapSquare-CxE5iHdd.js";import"./Users03-C5i2CKOP.js";import"./CheckCircle-D0kUlRsN.js";import"./Check-6LmIKXJj.js";import"./ChevronDown-CaCYdoie.js";import"./ChevronLeft-BuXkBFIm.js";import"./ChevronRight-kLRVkGUs.js";import"./ChevronUp-DkGtzqyl.js";import"./DotsVertical-CvhOKI-w.js";import"./Container-Bl0qWNtu.js";import"./Eye-BNS1RmzG.js";import"./ZoomOut-B1VNHI1K.js";import"./Globe01-DjWlKHom.js";import"./FilterLines-BSmtfAHG.js";import"./Star01-QoJ-qcfh.js";import"./Palette-BX6fdd-v.js";import"./HardDrive-Dx3Blqhn.js";import"./Stars02-C17u9BVa.js";import"./Key01-D6jyUgYu.js";import"./LayoutLeft-C7Cmt2J8.js";import"./LinkExternal01-B6flmd1s.js";import"./Monitor01-DBfOkkx9.js";import"./Sun-D4yzlyEv.js";import"./Play-DApzrsBx.js";import"./Plus-Do6ZWheh.js";import"./SearchMd-B4Lavo8e.js";import"./Settings02-B57k_aEv.js";import"./Shield01-CFDfVqiL.js";import"./Stars01-ANwy09AP.js";import"./Trash01-Bifm5Wb3.js";import"./Upload01-mjA8r4Fi.js";import"./User01-BZL6tFVt.js";import"./Users01-CqVfleMx.js";import"./XClose-D0wmxYTF.js";import"./X-BWR0-4rz.js";import"./Zap-BGp3QjmM.js";import"./use-clock-tick-x-ip1-Lp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./scroll-area-QXSqgT3C.js";import"./select-DRqZIuLQ.js";import"./tooltip-ua4lJTzI.js";import"./use-copy-nAd5EMaO.js";import"./file-type-icon-35VBMVCk.js";import"./dialog-CxpeEAA2.js";import"./tab-id-hZWLCmfc.js";import"./watch-sse-pool-Bo209v56.js";import"./decopilot-sse-pool-C2fCSDxg.js";import"./studio-tools-jbRVdtpc.js";import"./integration-icon-CWT0gSfx.js";import"./use-virtual-mcp-mhycHzLS.js";import"./use-collections-Dvp_IbhN.js";import"./use-navigate-to-agent-5w6ZqBss.js";import"./use-connection-CyWLUiRu.js";import"./use-mcp-prompts-BQNNtRte.js";import"./form-Ci8PGt-R.js";import"./label-CzVCjiiL.js";import"./input-BPXWlz46.js";import"./spinner-DZmgr2qu.js";import"./use-ai-providers-P6PF7YRx.js";import"./use-organization-settings-D68AqLOQ.js";import"./avatar-nCSKoB6F.js";import"./required-auth-layout-YEZh9H2w.js";import"./useRouterState-qr3F3XJE.js";import"./use-org-sso-B8CLPiZl.js";const J={};function K(S){const t=H.c(37),{client:r,resourceURI:g,tool:e,connectionId:s,orgId:a,args:c}=S,{sendMessage:u}=V(),{setAppContext:d,clearAppContext:o}=z(),{setChatOpen:f,openTab:m}=F(),p=`${s}:${e.name}`;let l;t[0]!==m?(l=h=>h==="inline"?(m("0"),"inline"):"fullscreen",t[0]=m,t[1]=l):l=t[1];const i=l,n=c??J;let T;t[2]!==r||t[3]!==e.name||t[4]!==n?(T={client:r,toolName:e.name,toolArguments:n},t[2]=r,t[3]=e.name,t[4]=n,t[5]=T):T=t[5];const{data:x}=B(T);let R;if(t[6]!==e._meta||t[7]!==e.name){const h=O(e._meta);R=b(e.name,h),t[6]=e._meta,t[7]=e.name,t[8]=R}else R=t[8];const U=R;let I;t[9]!==e.inputSchema?(I=e.inputSchema??{type:"object"},t[9]=e.inputSchema,t[10]=I):I=t[10];let N;t[11]!==U||t[12]!==I||t[13]!==e?(N={...e,name:U,inputSchema:I},t[11]=U,t[12]=I,t[13]=e,t[14]=N):N=t[14];const y=N;let _;t[15]!==u||t[16]!==f?(_=h=>{const w=Y(h.content);w.content.length>0&&(f(!0),u({tiptapDoc:w}))},t[15]=u,t[16]=f,t[17]=_):_=t[17];const D=_;let C;t[18]!==y?(C={tool:y},t[18]=y,t[19]=C):C=t[19];let M;t[20]!==d||t[21]!==p?(M=h=>d(p,h),t[20]=d,t[21]=p,t[22]=M):M=t[22];let P;t[23]!==o||t[24]!==p?(P=()=>o(p),t[23]=o,t[24]=p,t[25]=P):P=t[25];let A;return t[26]!==r||t[27]!==D||t[28]!==i||t[29]!==a||t[30]!==g||t[31]!==C||t[32]!==M||t[33]!==P||t[34]!==n||t[35]!==x?(A=j.jsx(G,{resourceURI:g,orgId:a,toolInfo:C,toolInput:n,toolResult:x,displayMode:"fullscreen",minHeight:E.fullscreen.minHeight,maxHeight:E.fullscreen.maxHeight,client:r,onMessage:D,onUpdateModelContext:M,onTeardown:P,onRequestDisplayMode:i,className:"h-full"}),t[26]=r,t[27]=D,t[28]=i,t[29]=a,t[30]=g,t[31]=C,t[32]=M,t[33]=P,t[34]=n,t[35]=x,t[36]=A):A=t[36],A}function Pe(S){const t=H.c(20),{connectionId:r,toolName:g,args:e}=S,{org:s}=$();let a;t[0]!==r||t[1]!==s.id||t[2]!==s.slug?(a={connectionId:r,orgId:s.id,orgSlug:s.slug},t[0]=r,t[1]=s.id,t[2]=s.slug,t[3]=a):a=t[3];const c=v(a);let u;t[4]!==c?(u={client:c},t[4]=c,t[5]=u):u=t[5];const{data:d}=L(u);let o,f,m;t[6]!==g||t[7]!==d.tools?(o=q(decodeURIComponent(g)),m=d.tools.find(i=>i.name===o)??d.tools.find(i=>{const n=O(i._meta);if(!n)return!1;if(b(i.name,n)===o)return!0;const x=b(o,n);return x!==o&&i.name===x}),f=m?._meta?k(m._meta):void 0,t[6]=g,t[7]=d.tools,t[8]=o,t[9]=f,t[10]=m):(o=t[8],f=t[9],m=t[10]);const p=f;if(!m||!p){let i;return t[11]!==o?(i=j.jsx("div",{className:"flex items-center justify-center h-full w-full",children:j.jsxs("p",{className:"text-sm text-muted-foreground",children:['Tool "',o,'" not found or has no UI']})}),t[11]=o,t[12]=i):i=t[12],i}let l;return t[13]!==e||t[14]!==c||t[15]!==r||t[16]!==s.id||t[17]!==p||t[18]!==m?(l=j.jsx(K,{client:c,resourceURI:p,tool:m,connectionId:r,orgId:s.id,args:e}),t[13]=e,t[14]=c,t[15]=r,t[16]=s.id,t[17]=p,t[18]=m,t[19]=l):l=t[19],l}export{Pe as AppViewContent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as C,j as r}from"./index-rZ1TPVyD.js";import{I as F}from"./input-BPXWlz46.js";import{L as T}from"./label-CzVCjiiL.js";import{T as L}from"./textarea-Bymi75yx.js";import{I as A}from"./image-field-DXfNSgLy.js";import{ae as R,af as D,ah as J}from"./index-u2XUNnQk.js";import{u as K,s as S}from"./primitives-Dql_hUCU.js";import{S as M}from"./save-status-BkzFYIeb.js";import"./Tool01-B0zT3ots.js";import"./Trash01-Bifm5Wb3.js";import"./Upload01-mjA8r4Fi.js";import"./AlertCircle-rpaL6q8T.js";import"./Check-6LmIKXJj.js";import"./Eye-BNS1RmzG.js";import"./DotsVertical-CvhOKI-w.js";import"./agent-icon-CpBAbwoh.js";import"./SwitchHorizontal01-CkwE98n9.js";import"./RefreshCcw01-CW918RSV.js";import"./XCircle-CiiIVhRh.js";import"./ArrowUpRight-D7_4FAQ5.js";import"./ZapSquare-CxE5iHdd.js";import"./Users03-C5i2CKOP.js";import"./CheckCircle-D0kUlRsN.js";import"./ChevronDown-CaCYdoie.js";import"./ChevronLeft-BuXkBFIm.js";import"./ChevronRight-kLRVkGUs.js";import"./ChevronUp-DkGtzqyl.js";import"./Container-Bl0qWNtu.js";import"./ZoomOut-B1VNHI1K.js";import"./Globe01-DjWlKHom.js";import"./FilterLines-BSmtfAHG.js";import"./Star01-QoJ-qcfh.js";import"./Palette-BX6fdd-v.js";import"./HardDrive-Dx3Blqhn.js";import"./Stars02-C17u9BVa.js";import"./Key01-D6jyUgYu.js";import"./LayoutLeft-C7Cmt2J8.js";import"./LinkExternal01-B6flmd1s.js";import"./Monitor01-DBfOkkx9.js";import"./Sun-D4yzlyEv.js";import"./Play-DApzrsBx.js";import"./Plus-Do6ZWheh.js";import"./SearchMd-B4Lavo8e.js";import"./Settings02-B57k_aEv.js";import"./Shield01-CFDfVqiL.js";import"./Stars01-ANwy09AP.js";import"./User01-BZL6tFVt.js";import"./Users01-CqVfleMx.js";import"./XClose-D0wmxYTF.js";import"./X-BWR0-4rz.js";import"./Zap-BGp3QjmM.js";import"./dialog-CxpeEAA2.js";import"./dropdown-menu-Xj0lVIXK.js";import"./skeleton-DvVUqja_.js";import"./tabs-B68TQ0Dt.js";import"./use-file-configs-DXD_Hwrv.js";import"./studio-tools-jbRVdtpc.js";import"./useInfiniteQuery-k6dph5MZ.js";import"./use-infinite-scroll-B2zyjKex.js";import"./agent-capabilities-CmHO-Kgo.js";import"./chat-context-CDygsN4Q.js";import"./tab-id-hZWLCmfc.js";import"./use-mcp-client-CGBZ7ekq.js";import"./watch-sse-pool-Bo209v56.js";import"./decopilot-sse-pool-C2fCSDxg.js";import"./use-virtual-mcp-mhycHzLS.js";import"./use-collections-Dvp_IbhN.js";import"./use-ai-providers-P6PF7YRx.js";import"./use-organization-settings-D68AqLOQ.js";import"./pair-DYb6YfcG.js";import"./use-clock-tick-x-ip1-Lp.js";import"./differenceInSeconds-NQ4PDo0z.js";import"./scroll-area-QXSqgT3C.js";import"./select-DRqZIuLQ.js";import"./tooltip-ua4lJTzI.js";import"./use-copy-nAd5EMaO.js";import"./file-type-icon-35VBMVCk.js";import"./content-blocks-o63cs2vh.js";import"./types-DJl0mitR.js";import"./shell-layout-DkW3B_MZ.js";import"./avatar-nCSKoB6F.js";import"./required-auth-layout-YEZh9H2w.js";import"./useRouterState-qr3F3XJE.js";import"./use-org-sso-B8CLPiZl.js";import"./integration-icon-CWT0gSfx.js";import"./use-navigate-to-agent-5w6ZqBss.js";import"./use-connection-CyWLUiRu.js";import"./use-mcp-prompts-BQNNtRte.js";import"./form-Ci8PGt-R.js";import"./spinner-DZmgr2qu.js";import"./drawer-R-Q-vfsa.js";import"./collection-search-CjkYy_AH.js";import"./toggle-group-DnRl91Ne.js";import"./sortable.esm-CnPAeADV.js";import"./connection-slug-eyAPH6o3.js";import"./connection-card-BioQsepZ.js";import"./use-registry-connections-CRtbznIm.js";import"./extract-connection-data-BJ4lD3eO.js";import"./generate-id-nWw_PZwJ.js";import"./collections-NCEoL2EX.js";import"./card-CYGsSb57.js";import"./collection-tabs-BGsvaOVA.js";import"./badge-CY1rqnYU.js";import"./connection-form-helpers-DC_9yJsF.js";import"./useSuspenseInfiniteQuery-DGO3SU3a.js";import"./connect-desktop-dialog-CgeQRUKM.js";import"./agent-icons-C_pHQRgk.js";import"./checkbox-vKl7eadT.js";import"./ai-providers-logos-DD3qZ33J.js";import"./settings-section-5LNAbhU4.js";import"./popover-Bk3EwUPD.js";import"./command-KCI9wvsu.js";import"./index-BEe1oLVg.js";import"./index-Dczuf3at.js";import"./question-004-sINsf4GQ.js";import"./shell-route-loading-CKElD_Av.js";import"./sidebar-B3SsvTHC.js";import"./sheet-Dsfk9URc.js";import"./toolbar-Cb06hfKk.js";import"./use-create-virtual-mcp-DmdlMapL.js";import"./github-repo-picker-DY4w_1I0.js";import"./use-mcp-tools-Dn2JgISP.js";import"./alert-dialog-Dsb6KPFM.js";import"./index-czuYZ_ID.js";import"./use-org-auth-client-CLnnUl3h.js";import"./hover-card-DY9PmUZF.js";import"./task-status-Cqn0_tco.js";import"./use-status-sounds-B8VUkU2E.js";import"./empty-state-BhV-zl-f.js";import"./resizable-23UTrxEL.js";import"./use-capability-B2IrzHkM.js";import"./header-tab-button-C7XZ27Uv.js";import"./index-DppjWA7O.js";import"./user-D73GXODW.js";import"./tools-list-D12nTCg-.js";import"./switch-rL3a0x4B.js";import"./use-debounced-autosave-DSZqKaTf.js";import"./index-DO3UwA_I.js";import"./search-input-DbmU5zU8.js";import"./use-secrets--KIFsJ5I.js";import"./formatDistanceToNow-Cb2QZZJn.js";import"./accordion-Dsx4jZXX.js";import"./view-mode-toggle-3i0Tx7_t.js";import"./select-model-CZe_eVYF.js";import"./use-automations-DGe3A7k6.js";import"./monaco-editor-C-H4UmIT.js";import"./automation-runs-D8yf4pum.js";import"./table-cHRXPecF.js";import"./use-members-BaX0tyb1.js";import"./automation-list-row-DTcrDIUh.js";const $={authors:[{key:"name",label:"Name",widget:"text"},{key:"email",label:"Email",widget:"text",placeholder:"author@example.com"},{key:"jobTitle",label:"Job title",widget:"text"},{key:"company",label:"Company",widget:"text"},{key:"avatar",label:"Avatar",widget:"image"}],categories:[{key:"name",label:"Name",widget:"text"},{key:"slug",label:"Slug",widget:"text",placeholder:"my-category"}]},q={authors:"Author",categories:"Category"};function Fr(P){const t=C.c(34),{orgSlug:v,virtualMcpId:j,branch:f,kind:p,blockKey:y,block:w}=P;let u;t[0]!==f||t[1]!==v||t[2]!==j?(u={orgSlug:v,virtualMcpId:j,branch:f},t[0]=f,t[1]=v,t[2]=j,t[3]=u):u=t[3];const m=R(u);let d;t[4]!==w||t[5]!==p?(d=D(w,p),t[4]=w,t[5]=p,t[6]=d):d=t[6];const B=d;let h;t[7]!==y||t[8]!==p||t[9]!==m?(h=e=>{m.mutate({blockKey:y,data:J(y,p,e)})},t[7]=y,t[8]=p,t[9]=m,t[10]=h):h=t[10];const[i,E]=K(B,h);let k;t[11]!==i||t[12]!==E?(k=(e,o)=>E({...i,[e]:o}),t[11]=i,t[12]=E,t[13]=k):k=t[13];const a=k,N=q[p];let s;t[14]!==N?(s=r.jsx("span",{className:"text-sm font-medium",children:N}),t[14]=N,t[15]=s):s=t[15];let l;t[16]!==m.isError||t[17]!==m.isPending?(l=r.jsx(M,{isPending:m.isPending,isError:m.isError}),t[16]=m.isError,t[17]=m.isPending,t[18]=l):l=t[18];let n;t[19]!==s||t[20]!==l?(n=r.jsxs("div",{className:"flex h-12 shrink-0 items-center justify-between border-b px-6",children:[s,l]}),t[19]=s,t[20]=l,t[21]=n):n=t[21];const I=$[p];let c;if(t[22]!==i||t[23]!==a||t[24]!==I){let e;t[26]!==i||t[27]!==a?(e=o=>r.jsx("div",{className:"space-y-2",children:o.widget==="image"?r.jsx(A,{schema:{type:"string",format:"image-uri",title:o.label},value:i[o.key],onChange:x=>a(o.key,x),path:o.key,label:o.label}):r.jsxs(r.Fragment,{children:[r.jsx(T,{htmlFor:o.key,children:o.label}),o.widget==="textarea"?r.jsx(L,{id:o.key,value:S(i[o.key]),onChange:x=>a(o.key,x.target.value),rows:3}):r.jsx(F,{id:o.key,value:S(i[o.key]),placeholder:o.placeholder,onChange:x=>a(o.key,x.target.value),className:"h-10"})]})},o.key),t[26]=i,t[27]=a,t[28]=e):e=t[28],c=I.map(e),t[22]=i,t[23]=a,t[24]=I,t[25]=c}else c=t[25];let g;t[29]!==c?(g=r.jsx("div",{className:"min-w-0 flex-1 overflow-y-auto px-6 py-6",children:r.jsx("div",{className:"mx-auto max-w-xl space-y-6",children:c})}),t[29]=c,t[30]=g):g=t[30];let b;return t[31]!==g||t[32]!==n?(b=r.jsxs("div",{className:"flex h-full flex-col",children:[n,g]}),t[31]=g,t[32]=n,t[33]=b):b=t[33],b}export{Fr as RecordEditor};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DwX4dFWX.js","assets/index-rZ1TPVyD.js","assets/index-DfYyH4IW.css","assets/XCircle-CiiIVhRh.js","assets/CheckCircle-D0kUlRsN.js","assets/Container-Bl0qWNtu.js","assets/Settings02-B57k_aEv.js","assets/use-mcp-client-CGBZ7ekq.js","assets/useInfiniteQuery-k6dph5MZ.js","assets/use-infinite-scroll-B2zyjKex.js","assets/studio-tools-jbRVdtpc.js","assets/badge-CY1rqnYU.js","assets/input-BPXWlz46.js","assets/dropdown-menu-Xj0lVIXK.js","assets/Check-6LmIKXJj.js","assets/ChevronRight-kLRVkGUs.js","assets/DotsVertical-CvhOKI-w.js","assets/table-cHRXPecF.js","assets/toggle-group-DnRl91Ne.js","assets/use-view-mode-CvlKEBCR.js","assets/tooltip-ua4lJTzI.js","assets/FilterLines-BSmtfAHG.js","assets/Globe01-DjWlKHom.js","assets/SearchMd-B4Lavo8e.js","assets/dialog-CxpeEAA2.js","assets/X-BWR0-4rz.js","assets/AlertCircle-rpaL6q8T.js","assets/Upload01-mjA8r4Fi.js","assets/alert-dialog-Dsb6KPFM.js","assets/card-CYGsSb57.js","assets/Trash01-Bifm5Wb3.js","assets/label-CzVCjiiL.js","assets/select-DRqZIuLQ.js","assets/ChevronDown-CaCYdoie.js","assets/ChevronUp-DkGtzqyl.js","assets/switch-rL3a0x4B.js","assets/textarea-Bymi75yx.js","assets/RefreshCcw01-CW918RSV.js","assets/checkbox-vKl7eadT.js","assets/Eye-BNS1RmzG.js","assets/LinkExternal01-B6flmd1s.js","assets/use-copy-nAd5EMaO.js","assets/Key01-D6jyUgYu.js","assets/Plus-Do6ZWheh.js","assets/Play-DApzrsBx.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as i,j as e,r as s,l as a,_ as o}from"./index-rZ1TPVyD.js";import{R as l}from"./require-capability-6kSOKhdT.js";import"./use-capability-B2IrzHkM.js";import"./access-gate-BELP4oqa.js";import"./capability-load-error-DYWpzVHl.js";const m=s.lazy(()=>o(()=>import("./registry-layout-DwX4dFWX.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])));function f(){const r=i.c(1);let t;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e.jsx(l,{capability:"registry:manage",area:"the registry",children:e.jsx(s.Suspense,{fallback:e.jsx("div",{className:"flex-1 flex items-center justify-center",children:e.jsx(a,{size:20,className:"animate-spin text-muted-foreground"})}),children:e.jsx(m,{})})}),r[0]=t):t=r[0],t}export{f as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as c}from"./header-tab-button-C7XZ27Uv.js";function t(r){return(e,a)=>{c(e),r(e,a)}}export{t as c};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/registry-layout-DwX4dFWX.js","assets/index-rZ1TPVyD.js","assets/index-DfYyH4IW.css","assets/XCircle-CiiIVhRh.js","assets/CheckCircle-D0kUlRsN.js","assets/Container-Bl0qWNtu.js","assets/Settings02-B57k_aEv.js","assets/use-mcp-client-CGBZ7ekq.js","assets/useInfiniteQuery-k6dph5MZ.js","assets/use-infinite-scroll-B2zyjKex.js","assets/studio-tools-jbRVdtpc.js","assets/badge-CY1rqnYU.js","assets/input-BPXWlz46.js","assets/dropdown-menu-Xj0lVIXK.js","assets/Check-6LmIKXJj.js","assets/ChevronRight-kLRVkGUs.js","assets/DotsVertical-CvhOKI-w.js","assets/table-cHRXPecF.js","assets/toggle-group-DnRl91Ne.js","assets/use-view-mode-CvlKEBCR.js","assets/tooltip-ua4lJTzI.js","assets/FilterLines-BSmtfAHG.js","assets/Globe01-DjWlKHom.js","assets/SearchMd-B4Lavo8e.js","assets/dialog-CxpeEAA2.js","assets/X-BWR0-4rz.js","assets/AlertCircle-rpaL6q8T.js","assets/Upload01-mjA8r4Fi.js","assets/alert-dialog-Dsb6KPFM.js","assets/card-CYGsSb57.js","assets/Trash01-Bifm5Wb3.js","assets/label-CzVCjiiL.js","assets/select-DRqZIuLQ.js","assets/ChevronDown-CaCYdoie.js","assets/ChevronUp-DkGtzqyl.js","assets/switch-rL3a0x4B.js","assets/textarea-Bymi75yx.js","assets/RefreshCcw01-CW918RSV.js","assets/checkbox-vKl7eadT.js","assets/Eye-BNS1RmzG.js","assets/LinkExternal01-B6flmd1s.js","assets/use-copy-nAd5EMaO.js","assets/Key01-D6jyUgYu.js","assets/Plus-Do6ZWheh.js","assets/Play-DApzrsBx.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{e as m,f as n,g as c,j as t,l as f,r as l,_ as p}from"./index-rZ1TPVyD.js";import{R as u}from"./require-capability-6kSOKhdT.js";import"./use-capability-B2IrzHkM.js";import"./access-gate-BELP4oqa.js";import"./capability-load-error-DYWpzVHl.js";const g=l.lazy(()=>p(()=>import("./registry-layout-DwX4dFWX.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])));function j(){const e=m.c(5),i=n();let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s={from:"/shell/$org"},e[0]=s):s=e[0];const{org:o}=c(s);let r;e[1]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx("div",{className:"h-full flex items-center justify-center",children:t.jsx(f,{size:20,className:"animate-spin text-muted-foreground"})}),e[1]=r):r=e[1];let a;return e[2]!==i||e[3]!==o?(a=t.jsx(u,{capability:"registry:manage",area:"the registry",children:t.jsx(l.Suspense,{fallback:r,children:t.jsx(g,{onBack:()=>i({to:"/$org/settings/store",params:{org:o}})})})}),e[2]=i,e[3]=o,e[4]=a):a=e[4],a}export{j as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as u}from"./use-infinite-scroll-B2zyjKex.js";import{cG as i}from"./index-rZ1TPVyD.js";function t(e,r){return i(e,u,r)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as s}from"./use-infinite-scroll-B2zyjKex.js";import{cG as u,aF as n}from"./index-rZ1TPVyD.js";function a(r,e){return u({...r,enabled:!0,suspense:!0,throwOnError:n},s,e)}export{a as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as s,g as l,j as o,l as a,E as n,r as c}from"./index-rZ1TPVyD.js";import{a as f}from"./index-61WbL3ye.js";import"./index-DUiGV32e.js";import"./use-mcp-client-CGBZ7ekq.js";import"./collections-NCEoL2EX.js";import"./index-D9SSFpE5.js";import"./use-virtual-mcp-mhycHzLS.js";import"./use-collections-Dvp_IbhN.js";import"./monaco-editor-C-H4UmIT.js";import"./index-DppjWA7O.js";import"./spinner-DZmgr2qu.js";import"./resizable-23UTrxEL.js";import"./ZoomOut-B1VNHI1K.js";import"./badge-CY1rqnYU.js";import"./select-DRqZIuLQ.js";import"./tooltip-ua4lJTzI.js";import"./Check-6LmIKXJj.js";import"./ChevronDown-CaCYdoie.js";import"./ChevronUp-DkGtzqyl.js";import"./view-mode-toggle-3i0Tx7_t.js";import"./agent-icon-CpBAbwoh.js";import"./AlertCircle-rpaL6q8T.js";import"./Tool01-B0zT3ots.js";import"./SwitchHorizontal01-CkwE98n9.js";import"./RefreshCcw01-CW918RSV.js";import"./XCircle-CiiIVhRh.js";import"./ArrowUpRight-D7_4FAQ5.js";import"./ZapSquare-CxE5iHdd.js";import"./Users03-C5i2CKOP.js";import"./CheckCircle-D0kUlRsN.js";import"./ChevronLeft-BuXkBFIm.js";import"./ChevronRight-kLRVkGUs.js";import"./DotsVertical-CvhOKI-w.js";import"./Container-Bl0qWNtu.js";import"./Eye-BNS1RmzG.js";import"./Globe01-DjWlKHom.js";import"./FilterLines-BSmtfAHG.js";import"./Star01-QoJ-qcfh.js";import"./Palette-BX6fdd-v.js";import"./HardDrive-Dx3Blqhn.js";import"./Stars02-C17u9BVa.js";import"./Key01-D6jyUgYu.js";import"./LayoutLeft-C7Cmt2J8.js";import"./LinkExternal01-B6flmd1s.js";import"./Monitor01-DBfOkkx9.js";import"./Sun-D4yzlyEv.js";import"./Play-DApzrsBx.js";import"./Plus-Do6ZWheh.js";import"./SearchMd-B4Lavo8e.js";import"./Settings02-B57k_aEv.js";import"./Shield01-CFDfVqiL.js";import"./Stars01-ANwy09AP.js";import"./Trash01-Bifm5Wb3.js";import"./Upload01-mjA8r4Fi.js";import"./User01-BZL6tFVt.js";import"./Users01-CqVfleMx.js";import"./XClose-D0wmxYTF.js";import"./X-BWR0-4rz.js";import"./Zap-BGp3QjmM.js";import"./layout-DRDhyVmm.js";import"./index-DO3UwA_I.js";import"./sidebar-B3SsvTHC.js";import"./sheet-Dsfk9URc.js";import"./use-connection-CyWLUiRu.js";import"./use-mcp-tools-Dn2JgISP.js";import"./dialog-CxpeEAA2.js";import"./scroll-area-QXSqgT3C.js";import"./index-Dczuf3at.js";import"./hover-card-DY9PmUZF.js";import"./dropdown-menu-Xj0lVIXK.js";import"./integration-icon-CWT0gSfx.js";import"./accordion-Dsx4jZXX.js";import"./index-czuYZ_ID.js";import"./empty-state-BEE0EBKQ.js";import"./watch-sse-pool-Bo209v56.js";import"./input-BPXWlz46.js";function Bt(){const t=s.c(4);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={from:"/shell/$org/settings/workflows/$itemId"},t[0]=r):r=t[0];const{itemId:e}=l(r);let i;t[1]===Symbol.for("react.memo_cache_sentinel")?(i=o.jsx("div",{className:"flex h-full items-center justify-center",children:o.jsx(a,{size:32,className:"animate-spin text-muted-foreground"})}),t[1]=i):i=t[1];const p=decodeURIComponent(e);let m;return t[2]!==p?(m=o.jsx(n,{children:o.jsx(c.Suspense,{fallback:i,children:o.jsx(f,{itemId:p})})}),t[2]=p,t[3]=m):m=t[3],m}export{Bt as default};
|