n8n-editor-ui 2.44.0 → 2.44.1
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/assets/AddDataTableModal-DkZJPjXL.js +1 -0
- package/dist/assets/{AgentApprovalSelector-B8SQBYdU.js → AgentApprovalSelector-4x1uYC1S.js} +1 -1
- package/dist/assets/{AgentBuilderView-Da6qTdaD.js → AgentBuilderView-B6-PK15o.js} +1 -1
- package/dist/assets/AgentBuilderView-DX5NyIbN.js +13 -0
- package/dist/assets/AgentChatPanel-CAcdBPjt.js +16 -0
- package/dist/assets/AgentConfirmationModal-BEKKI5Wv.js +1 -0
- package/dist/assets/{AgentDescriptionModal-CKgZEGuG.js → AgentDescriptionModal-7xEGUdAm.js} +1 -1
- package/dist/assets/{AgentDuplicateModal-Bg8-6-El.js → AgentDuplicateModal-DuQVsxR4.js} +1 -1
- package/dist/assets/AgentEditorModal-BiqYfHWq.js +1 -0
- package/dist/assets/{AgentJsonImportModal-Cm-0tpF3.js → AgentJsonImportModal-CNfsOrPY.js} +1 -1
- package/dist/assets/{AgentModal-YufhIMwF.js → AgentModal-DMpTq9im.js} +1 -1
- package/dist/assets/{AgentModalMultiStep-ClhgWQd7.js → AgentModalMultiStep-Bios2t6g.js} +1 -1
- package/dist/assets/AgentN8nChatView-CuNBP7ea.js +1 -0
- package/dist/assets/AgentPreviewButton-DTvTX51W.js +3 -0
- package/dist/assets/AgentPreviewDock-D0A_9p2-.js +1 -0
- package/dist/assets/AgentSessionTimelineView-auHKxIu0.js +1 -0
- package/dist/assets/{AgentSessionsListView-Db2-xqIb.js → AgentSessionsListView-BvXJJRNh.js} +1 -1
- package/dist/assets/AgentSessionsListView-Ce3ECZGI.js +1 -0
- package/dist/assets/AgentSkillModal-h471-5rD.js +109 -0
- package/dist/assets/{AgentSubAgentsModal-BfQB7NKK.js → AgentSubAgentsModal-F8v4Z4P6.js} +1 -1
- package/dist/assets/AgentTaskModal-DyWhFUox.js +1 -0
- package/dist/assets/{AgentTemplateList-DmIhUTW8.js → AgentTemplateList-Ci1JJQDM.js} +1 -1
- package/dist/assets/AgentToolConfigForm-DUJq0XOX.js +1 -0
- package/dist/assets/{AgentToolConfigModal-NygECPPD.js → AgentToolConfigModal-CfuN_m6s.js} +1 -1
- package/dist/assets/{AgentToolsConnectionModalWrapper-aMA1oXxu.js → AgentToolsConnectionModalWrapper-Bvixk0oc.js} +1 -1
- package/dist/assets/AgentVectorStoresModal-D67lLRXe.js +1 -0
- package/dist/assets/{AgentView-BzQbz6EM.js → AgentView-Ctul432H.js} +1 -1
- package/dist/assets/AgentsListView-rwsriQQB.js +1 -0
- package/dist/assets/{AnimatedSpinner-Dw-MNajy.js → AnimatedSpinner-DysiHK1D.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee-DqnLAja8.js → AnnotationTagsDropdown.ee-CkqDofTO.js} +1 -1
- package/dist/assets/AppSidebar-t8-qYdBV.js +1 -0
- package/dist/assets/AuthLayout-BR-eBgIn.js +1 -0
- package/dist/assets/{AuthView-XKcD8dQn.js → AuthView-DhcpoJhE.js} +1 -1
- package/dist/assets/{BrowserUseSetupContent-Q2XehS-o.js → BrowserUseSetupContent-Dstz1Wj8.js} +1 -1
- package/dist/assets/{BrowserUseSetupModal-C41LoL7V.js → BrowserUseSetupModal-CfN05-Wz.js} +1 -1
- package/dist/assets/{ChangePasswordModal-DdQgFpD1.js → ChangePasswordModal-BS6wOYCJ.js} +1 -1
- package/dist/assets/{ChangePasswordView-Bc38OL3D.js → ChangePasswordView-BDuDn0Kt.js} +1 -1
- package/dist/assets/{ChatAgentAvatar-RbpxKoY_.js → ChatAgentAvatar-DcbjpjP2.js} +1 -1
- package/dist/assets/{ChatAgentSearchSort-DyUlbfGj.js → ChatAgentSearchSort-zB5iesWx.js} +1 -1
- package/dist/assets/{ChatFile-Dpepv5QX.js → ChatFile-DymVzyKy.js} +1 -1
- package/dist/assets/ChatGreetings-DRLZeFZp.js +3 -0
- package/dist/assets/ChatHistoryDropdownTrigger-DfBNY3-M.js +1 -0
- package/dist/assets/{ChatLayout-Bpak728I.js → ChatLayout-C1s8X4-T.js} +1 -1
- package/dist/assets/{ChatLayout-CMU23D1c.js → ChatLayout-ztH6XdiL.js} +1 -1
- package/dist/assets/{ChatMarkdownChunk-QaZWORIt.js → ChatMarkdownChunk-DHu2lgnL.js} +2 -2
- package/dist/assets/{ChatPersonalAgentsView-qZFenSYR.js → ChatPersonalAgentsView-Dn5NTdHb.js} +1 -1
- package/dist/assets/ChatView-D_SzmRoP.js +1 -0
- package/dist/assets/{ChatWorkflowAgentsView-KYIaou_-.js → ChatWorkflowAgentsView-BR5q0qVP.js} +1 -1
- package/dist/assets/{CollectionParameter-CJM5wPT-.js → CollectionParameter-3cQtfeXK.js} +1 -1
- package/dist/assets/CompareCollectionView-CrRwL5Hk.js +1 -0
- package/dist/assets/{ComputerUseSetupContent-BJQoXzGd.js → ComputerUseSetupContent-CZh-FqZH.js} +1 -1
- package/dist/assets/{ComputerUseSetupModal-DfwZZ1cU.js → ComputerUseSetupModal-ChLPIx5Z.js} +1 -1
- package/dist/assets/{ConfirmEmailChangeView-Cx-pmeWN.js → ConfirmEmailChangeView-D36PoYKY.js} +1 -1
- package/dist/assets/{ConfirmPasswordModal-DK-J-lFJ.js → ConfirmPasswordModal-B3as49rr.js} +1 -1
- package/dist/assets/{ConnectionTracker-C3EC7auW.js → ConnectionTracker-DjRgdYtW.js} +1 -1
- package/dist/assets/{CredentialSelectorModal-DkZ2cUxT.js → CredentialSelectorModal-DiB2eh77.js} +1 -1
- package/dist/assets/CredentialsView-cXSodUuO.js +1 -0
- package/dist/assets/{DataTableActions-DCB9Nk3-.js → DataTableActions-D-p2EDp1.js} +1 -1
- package/dist/assets/{DataTableDetailsView-iz9ayc2y.js → DataTableDetailsView-DVMbz60P.js} +1 -1
- package/dist/assets/{DataTableTable-C9Yzj3RH.js → DataTableTable-CRBSOkpC.js} +2 -2
- package/dist/assets/DataTableView-PP3BsN7V.js +1 -0
- package/dist/assets/DefaultLayout-CvA-QUtF.js +1 -0
- package/dist/assets/{DeleteInstanceRoleModal-CH49JPpc.js → DeleteInstanceRoleModal-DPE_Vg9T.js} +1 -1
- package/dist/assets/{DemoDiffView-9RefK0En.js → DemoDiffView-QoJ-UBqt.js} +1 -1
- package/dist/assets/{DemoLayout-C_8rHPeN.js → DemoLayout-CJR2tQ75.js} +1 -1
- package/dist/assets/{DependencyPill-BX7M9U-6.js → DependencyPill-CFCz-v9K.js} +1 -1
- package/dist/assets/{EmptySharedSectionActionBox-DEmIFqqH.js → EmptySharedSectionActionBox-MRZ4_KTx.js} +1 -1
- package/dist/assets/EntityNotFound-BxyK_Q9R.js +1 -0
- package/dist/assets/{EntityUnAuthorised-BlnQzD_t.js → EntityUnAuthorised-BGPPqYgW.js} +1 -1
- package/dist/assets/ErrorView-pPBNQ1sR.js +1 -0
- package/dist/assets/{EvalCollectionsListView-thtjxVEg.js → EvalCollectionsListView-D3F_wUAT.js} +1 -1
- package/dist/assets/EvaluationsListSwitcher-Dv1biKid.js +2 -0
- package/dist/assets/EvaluationsPaywall-CzGcAdqb.js +1 -0
- package/dist/assets/{EvaluationsRootView-BwG7dQDL.js → EvaluationsRootView-Cb2AGXe_.js} +1 -1
- package/dist/assets/EventDestinationSettingsModalAdapter-DgcON5yX.js +1 -0
- package/dist/assets/ExecutionsTime-ZAYzb5jy.js +2 -0
- package/dist/assets/ExecutionsView-BdgJDduF.js +1 -0
- package/dist/assets/{ExposeAllWorkflowsToMcpModal-BYIipTfp.js → ExposeAllWorkflowsToMcpModal-DGW0UNXJ.js} +1 -1
- package/dist/assets/FixedCollectionParameter-Coy-yUo8.js +1 -0
- package/dist/assets/{FolderBreadcrumbs-B4gL13RQ.js → FolderBreadcrumbs-DU2XICPH.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DoV3PfUt.js → ForgotMyPasswordView-BR25sTMo.js} +1 -1
- package/dist/assets/{GroupedMetricChart-DmKS7q4z.js → GroupedMetricChart-C0bTfE70.js} +1 -1
- package/dist/assets/{ImpactTag-DmN0vFcQ.js → ImpactTag-BMI7rQVE.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-ByCFHhWV.js → InsightsChartAverageRuntime-CC9ax2fy.js} +1 -1
- package/dist/assets/{InsightsChartFailed-CY7dCDOM.js → InsightsChartFailed-Dtp0vANi.js} +1 -1
- package/dist/assets/{InsightsChartFailureRate-DutOoI7l.js → InsightsChartFailureRate-wg70VlC8.js} +1 -1
- package/dist/assets/{InsightsChartTimeSaved-CllsnSRA.js → InsightsChartTimeSaved-C0vvCRo4.js} +1 -1
- package/dist/assets/{InsightsChartTotal-BWouaOTU.js → InsightsChartTotal-DKubDl8V.js} +1 -1
- package/dist/assets/{InsightsDashboard-EptJjM30.js → InsightsDashboard-DlZeICiu.js} +2 -2
- package/dist/assets/InsightsPaywall-EHdXSeUy.js +1 -0
- package/dist/assets/{InsightsSummary-BahEFtt0.js → InsightsSummary-A9X8mv3i.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-BEsMkvOk.js → InsightsTableWorkflows-BOjN_hAd.js} +2 -2
- package/dist/assets/{InstanceAiEmptyView-Cofqxjd0.js → InstanceAiEmptyView-BnaIzfFb.js} +1 -1
- package/dist/assets/{InstanceAiLayout-DH3Knrks.js → InstanceAiLayout-CttIFBjR.js} +1 -1
- package/dist/assets/InstanceAiThreadView-BuKssWMO.js +2 -0
- package/dist/assets/{InstanceAiThreadsView-DDsAJp0t.js → InstanceAiThreadsView-BW2h9ZUG.js} +1 -1
- package/dist/assets/InstanceAiToolsConnectionModalWrapper-DWWMwFE4.js +1 -0
- package/dist/assets/{InstanceAiView-CH4-Icll.js → InstanceAiView-CnRYbCj7.js} +1 -1
- package/dist/assets/InstanceRoleView-kl83OTyw.js +1 -0
- package/dist/assets/LimitedModeNotice-BMXCL_mt.js +1 -0
- package/dist/assets/{LogStreamingPaywall-CRzo--bu.js → LogStreamingPaywall-CtCTBN65.js} +1 -1
- package/dist/assets/{LogStreamingPlaceholderView-DBnPMxcd.js → LogStreamingPlaceholderView-BJ_tbZoX.js} +1 -1
- package/dist/assets/LogsOverviewRow-jVH9JAwy.js +1 -0
- package/dist/assets/{MCPOnboardingModal-BlCSL-o2.js → MCPOnboardingModal-7TrHb7UJ.js} +1 -1
- package/dist/assets/MainHeader-CAHjD2NZ.js +1 -0
- package/dist/assets/{MainSidebarHeader-B2G9nD6W.js → MainSidebarHeader-CzDAJduS.js} +1 -1
- package/dist/assets/McpJsonNudgeModal-BtySAWKw.js +1 -0
- package/dist/assets/{McpRegistrySuggestionFooter-VXlHkoJD.js → McpRegistrySuggestionFooter-txkSGcUS.js} +1 -1
- package/dist/assets/{MfaSetupModal-iF3zHIHS.js → MfaSetupModal-BEjFuXSa.js} +2 -2
- package/dist/assets/MigrationRuleDetail-BYHikjiK.js +1 -0
- package/dist/assets/MigrationRules-Tv5q8tRZ.js +1 -0
- package/dist/assets/{ModelByIdSelectorModal-VoG8BzBG.js → ModelByIdSelectorModal-DmFPPlQ_.js} +1 -1
- package/dist/assets/{N8nChatAgentGrid-EXUFglb0.js → N8nChatAgentGrid-DCDWKNtD.js} +1 -1
- package/dist/assets/N8nChatAgentLibraryView-BSfnS25d.js +1 -0
- package/dist/assets/{N8nChatPageLayout-DIrqhGr_.js → N8nChatPageLayout-Cv5ScR18.js} +1 -1
- package/dist/assets/NodeCreation-B1GfJIvd.js +2 -0
- package/dist/assets/NodeCreator-DPCgfDX8.js +1 -0
- package/dist/assets/NodeDetailsView-v8DvzTHr.js +1 -0
- package/dist/assets/{NodeToolSettingsContent-DLmGq-N9.js → NodeToolSettingsContent-lcCnVBPB.js} +1 -1
- package/dist/assets/{NodeView-Ctlqbx8C.js → NodeView-B3NhDpz1.js} +1 -1
- package/dist/assets/NodeView-DVu1Bnt3.js +2 -0
- package/dist/assets/OAuthConsentView-DMPNFYuO.js +1 -0
- package/dist/assets/{PageViewLayout-bCi6IKM-.js → PageViewLayout-Bp6RXp4_.js} +1 -1
- package/dist/assets/{ProjectBreadcrumb-Cnwzyd2Z.js → ProjectBreadcrumb-BR6Aa_8r.js} +1 -1
- package/dist/assets/{ProjectFilter-CaPwwC8g.js → ProjectFilter-DCd8uy8l.js} +1 -1
- package/dist/assets/ProjectHeader-QjIM8haZ.js +1 -0
- package/dist/assets/ProjectRoleView-Dnk8gsYC.js +1 -0
- package/dist/assets/ProjectSettings-D5zQWXAe.js +1 -0
- package/dist/assets/ProjectVariables-XKVXNzgl.js +1 -0
- package/dist/assets/PromotionBindingsFlow-DQx0wPa9.js +1 -0
- package/dist/assets/PromotionSelectModal-DzIBwn2U.js +1 -0
- package/dist/assets/PromotionsSettingsView-DuTlSJcw.js +1 -0
- package/dist/assets/{PromptMfaCodeModal-vVELtLqC.js → PromptMfaCodeModal-Bn7srjg9.js} +1 -1
- package/dist/assets/{ProviderSettingsModal-aLxanc2T.js → ProviderSettingsModal-DutL40PA.js} +1 -1
- package/dist/assets/PublicationIndicator-BtJczAR0.js +1 -0
- package/dist/assets/{RecentChatIcon-Bz2MNsZl.js → RecentChatIcon-BIyyIODM.js} +1 -1
- package/dist/assets/{ResolversView-C_sVCxt2.js → ResolversView-DK0QKKVQ.js} +1 -1
- package/dist/assets/{ResourceCenterView-Bby45GC-.js → ResourceCenterView-CUvJGTsi.js} +1 -1
- package/dist/assets/{ResourcesListEmptyState-7hzhxSHi.js → ResourcesListEmptyState-Df4hykb-.js} +1 -1
- package/dist/assets/ResourcesListLayout-CIWP7UX_.js +1 -0
- package/dist/assets/{RoleSelectDropdown-Dzy0ESK_.js → RoleSelectDropdown-CKIJpssE.js} +1 -1
- package/dist/assets/{RolesView-Cv3tmUWj.js → RolesView-DWy0o31w.js} +1 -1
- package/dist/assets/{RunDataHtml-BkPrOVY7.js → RunDataHtml-nEx5pYjD.js} +1 -1
- package/dist/assets/{RunDataJson-wVBBCyW1.js → RunDataJson-_58fhexZ.js} +2 -2
- package/dist/assets/{RunDataJsonActions-B1Sp_2yc.js → RunDataJsonActions-CVKMY0Sx.js} +2 -2
- package/dist/assets/{RunDataParsedAiContent-BTSL3Ozr.js → RunDataParsedAiContent-6L7RVkKD.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-B-dZkiiK.js → RunDataParsedAiContent-N1LP23et.js} +3 -3
- package/dist/assets/{RunDataSearch-CEvFNipB.js → RunDataSearch-B-J5fw5n.js} +1 -1
- package/dist/assets/{RunDataTable-Df3fAAj2.js → RunDataTable-rXdlanqj.js} +1 -1
- package/dist/assets/{SamlOnboarding-BOu5TOPr.js → SamlOnboarding-DMszMIiL.js} +1 -1
- package/dist/assets/{SandboxSettingsRow-nfh8yhXB.js → SandboxSettingsRow-Cl5FZGXu.js} +1 -1
- package/dist/assets/SecuritySettings-DNSunEvt.js +1 -0
- package/dist/assets/SettingsAIView-Dzqb_gQE.js +1 -0
- package/dist/assets/SettingsAgentsView-B8fft1So.js +1 -0
- package/dist/assets/SettingsAiGatewayView-KGIIQukP.js +1 -0
- package/dist/assets/SettingsApiView-BTuTOYbD.js +1 -0
- package/dist/assets/SettingsChatHubView-3DmItZZi.js +1 -0
- package/dist/assets/SettingsCommunityNodesView-DF5-gCEu.js +1 -0
- package/dist/assets/SettingsContextView-4oHjIijI.js +1 -0
- package/dist/assets/SettingsEncryptionKeys-COWApewr.js +1 -0
- package/dist/assets/{SettingsExternalSecrets-DGC1iq8F.js → SettingsExternalSecrets-BZDdVBTB.js} +1 -1
- package/dist/assets/SettingsInstanceAiView-ByZCoKzh.js +1 -0
- package/dist/assets/{SettingsLayout-Dx-L1mgX.js → SettingsLayout-C7LLr6cE.js} +1 -1
- package/dist/assets/{SettingsLdapView-DSQhBNgh.js → SettingsLdapView-BVhw22q5.js} +2 -2
- package/dist/assets/SettingsLogStreamingView-Dc4XQMSj.js +1 -0
- package/dist/assets/{SettingsMCPAgentsView-BtolLK-k.js → SettingsMCPAgentsView-Bivm4IFI.js} +1 -1
- package/dist/assets/SettingsMCPClientsView-DF-NxgbJ.js +1 -0
- package/dist/assets/SettingsMCPView--prl2G_r.js +49 -0
- package/dist/assets/{SettingsMCPWorkflowsView-C9MoDxas.js → SettingsMCPWorkflowsView-BMFU0bs3.js} +1 -1
- package/dist/assets/SettingsOpenTelemetryView-DMvPheYJ.js +1 -0
- package/dist/assets/{SettingsPersonalView-DYg3oFiW.js → SettingsPersonalView-B1YX77L-.js} +1 -1
- package/dist/assets/SettingsPreferencesView-CCbztOqj.js +1 -0
- package/dist/assets/SettingsSecretsProviders.ee-F9LMaG1t.js +1 -0
- package/dist/assets/SettingsSourceControl-BD8_osbg.js +1 -0
- package/dist/assets/SettingsSso-PVkNFLrh.js +3 -0
- package/dist/assets/SettingsUsageAndPlan-Kd1oPsii.js +1 -0
- package/dist/assets/SettingsUsersView-COsjNIEL.js +1 -0
- package/dist/assets/{SetupView-DPWFrJFX.js → SetupView-B14MFSYF.js} +1 -1
- package/dist/assets/{SetupWorkflowCredentialsButton-RAdc4KlU.js → SetupWorkflowCredentialsButton-MQLIOwPY.js} +1 -1
- package/dist/assets/SetupWorkflowFromTemplateView-Td-Rx5fR.js +1 -0
- package/dist/assets/{SigninView-BPOZ_JvM.js → SigninView-75E9B3ep.js} +1 -1
- package/dist/assets/{SignoutView-DOoUkBqR.js → SignoutView-Daa15qmo.js} +1 -1
- package/dist/assets/{SignupView-UVaiVVnv.js → SignupView-CKO9HRZU.js} +1 -1
- package/dist/assets/{SkeletonAgentCard-DonARi7W.js → SkeletonAgentCard-3xTB8UfZ.js} +1 -1
- package/dist/assets/{TemplateList-QMN6-8Ff.js → TemplateList-C2TxAN0P.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DCbwUXhL.js → TemplatesCollectionView-CZMR8Q9B.js} +1 -1
- package/dist/assets/TemplatesSearchView-CHLMAWTA.js +1 -0
- package/dist/assets/{TemplatesView-DAXRVkmt.js → TemplatesView-Dn3jCV05.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-tW-MHyf-.js → TemplatesWorkflowView-C-kvTEqR.js} +1 -1
- package/dist/assets/{TestRunDetailView-Bd-3DRWP.js → TestRunDetailView-BuWeSwgd.js} +1 -1
- package/dist/assets/{ToolIcon-DXqBHyeb.js → ToolIcon-CgDyqfFz.js} +1 -1
- package/dist/assets/{ToolSettingsModal-DCyqfOak.js → ToolSettingsModal-ByJX5X7W.js} +1 -1
- package/dist/assets/ToolsConnectionModal-DEoHRiX3.js +1 -0
- package/dist/assets/ToolsManagerModal-BbzHGTTB.js +1 -0
- package/dist/assets/ToolsManagerModal-CL6mM2CT.css +1 -0
- package/dist/assets/{ToolsSelector-lmbosNBE.js → ToolsSelector-CNs07Ph1.js} +1 -1
- package/dist/assets/{TrialIntroModal-DgmMUX6D.js → TrialIntroModal-COqIR76q.js} +1 -1
- package/dist/assets/{VirtualSchema-2E1N91s4.js → VirtualSchema-qThduCFC.js} +1 -1
- package/dist/assets/{WorkerView-CK0vy4GS.js → WorkerView-D1Q_nCLi.js} +1 -1
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BMU0TmaE.js → WorkflowExecutionsInfoAccordion-1_sf2LSs.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-D-dB8HCw.js → WorkflowExecutionsLandingPage-BfMeZfNZ.js} +1 -1
- package/dist/assets/WorkflowExecutionsPreview-lJKYJwZI.js +1 -0
- package/dist/assets/WorkflowExecutionsView-0CilRvvH.js +1 -0
- package/dist/assets/WorkflowHistory-D0IMTfVA.js +1 -0
- package/dist/assets/WorkflowLayout-D_Ncy1iE.js +1 -0
- package/dist/assets/{WorkflowOnboardingView-TbGXVlVN.js → WorkflowOnboardingView-CwCOvhXZ.js} +1 -1
- package/dist/assets/WorkflowPreviewHost-BB11E3CI.js +1 -0
- package/dist/assets/WorkflowReviewRequestsView-DL3MFxwP.js +1 -0
- package/dist/assets/WorkflowsView-CbPJw_ID.js +1 -0
- package/dist/assets/{aiTemplatesStarterCollection.store-Dh9-uikR.js → aiTemplatesStarterCollection.store-z28GmE_Z.js} +2 -2
- package/dist/assets/{app-67dzk_qg.css → app-CU_fYePl.css} +1 -1
- package/dist/assets/{app-CiawIgN9.js → app-oLfukFT9.js} +106 -106
- package/dist/assets/auth.eventBus-nvmfBO6L.js +1 -0
- package/dist/assets/{context.store-O85P2gEu.js → context.store-DzS-OJir.js} +1 -1
- package/dist/assets/{dist-kJhq_pQM.js → dist-CdpUFTnE.js} +1 -1
- package/dist/assets/en-Dn5pxxIz.js +1 -0
- package/dist/assets/expression-runtime-stub-UNeuY3iN.js +1 -0
- package/dist/assets/{index-BshBxqH2.js → index-CBhcE0k-.js} +1 -1
- package/dist/assets/{insights.store-DqK_Hj6J.js → insights.store-CFx-KiBU.js} +1 -1
- package/dist/assets/{insights.store-C-NrjF5l.js → insights.store-qL6q61kW.js} +1 -1
- package/dist/assets/{insights.utils-Dr5pHfjM.js → insights.utils-B0xOygf8.js} +1 -1
- package/dist/assets/{instanceAi.store-BZTklpEt.js → instanceAi.store-HgFtjtSA.js} +1 -1
- package/dist/assets/{instanceAiComputerUse.telemetry-cAMQ2WLg.js → instanceAiComputerUse.telemetry-BX3iVsla.js} +1 -1
- package/dist/assets/{instanceAiMcp.store-DGiArrfK.js → instanceAiMcp.store-C8SplGQl.js} +1 -1
- package/dist/assets/{instanceAiMcp.store-BrrHBunG.js → instanceAiMcp.store-DHgGYKq8.js} +1 -1
- package/dist/assets/{instanceAiSetup.telemetry-DKsuz_Ef.js → instanceAiSetup.telemetry-Cu3a1VfE.js} +1 -1
- package/dist/assets/{instanceRoleScopes-uFpjBIDb.js → instanceRoleScopes-CeFuPB8X.js} +1 -1
- package/dist/assets/{logStreaming.store-BI-D_9Tr.js → logStreaming.store-BDxeuOL4.js} +1 -1
- package/dist/assets/{mergeRecentChats-CmVeGVfC.js → mergeRecentChats-CWOdJaOY.js} +1 -1
- package/dist/assets/{postMessageUtils-BZnczWr7.js → postMessageUtils-Buqcds2_.js} +1 -1
- package/dist/assets/{projectRoleScopes-BsnxskQt.js → projectRoleScopes-Cb09ZyTM.js} +1 -1
- package/dist/assets/{promotions.api-fKiTFwcr.js → promotions.api-D6ntl2JV.js} +1 -1
- package/dist/assets/promotions.eventBus-1v4t_Hbs.js +1 -0
- package/dist/assets/{promotionsSettings.api-PzSCJER7.js → promotionsSettings.api-Cuy9RjVm.js} +1 -1
- package/dist/assets/{pushConnection.store-BWqDj6Ak.js → pushConnection.store-b7e8A-im.js} +1 -1
- package/dist/assets/{readyToRun.store-B2jIpzaP.js → readyToRun.store-CE87oIgp.js} +3 -3
- package/dist/assets/{readyToRunWorkflows.store-BbZiyJYg.js → readyToRunWorkflows.store-BjTR-K95.js} +2 -2
- package/dist/assets/{resourceCenter.store-OxozDMtm.js → resourceCenter.store-CJsSX4ZG.js} +1 -1
- package/dist/assets/{src-Bnl_5mE4.js → src-BU6D5L7U.js} +1 -1
- package/dist/assets/{src-DY7si8_w.js → src-DJVjVPKI.js} +1 -1
- package/dist/assets/surfaceMcpToNewCloudUsers.store-BDg60m1l.js +1 -0
- package/dist/assets/{templateActions-ChrS5kkv.js → templateActions-CHRqep2i.js} +1 -1
- package/dist/assets/{thread-title-C8ilaomA.js → thread-title-DtF3IdnY.js} +1 -1
- package/dist/assets/{toolIcons-fKqVfg23.js → toolIcons-DqjDHIwi.js} +1 -1
- package/dist/assets/{typescript.worker--e45RZRP.js → typescript.worker-xmrMwPIu.js} +139 -139
- package/dist/assets/{useActivityDetection-GlpYNf-Q.js → useActivityDetection-BZTAMwar.js} +1 -1
- package/dist/assets/{useAgentConfirmationModal-CoJtHVWS.js → useAgentConfirmationModal--ha2EHAX.js} +1 -1
- package/dist/assets/{useBuilderStreamingGuard-B7JeJeif.js → useBuilderStreamingGuard-CF9n24d2.js} +1 -1
- package/dist/assets/{useCustomAgent-rzAqlogG.js → useCustomAgent-Yt0Wqf3a.js} +1 -1
- package/dist/assets/{useDependencyMenu-DiCGxg9o.js → useDependencyMenu-BSD_Wh7Z.js} +1 -1
- package/dist/assets/{useEvalCollectionsFlag-fLp5eLuh.js → useEvalCollectionsFlag-9T27lZ9y.js} +1 -1
- package/dist/assets/{useEvaluationsLicense-C7qQIrRw.js → useEvaluationsLicense-478l3uKz.js} +1 -1
- package/dist/assets/{useExecutionData-D1_nZgXN.js → useExecutionData-BVav_--7.js} +1 -1
- package/dist/assets/useExecutionDebugging-DNEpg7fc.js +2 -0
- package/dist/assets/{useExposeAllWorkflowsToMcpOffer-CtR3a8uG.js → useExposeAllWorkflowsToMcpOffer-Dt120Zdw.js} +1 -1
- package/dist/assets/{useExtensionDirectConnect-CnINrsSW.js → useExtensionDirectConnect-DWfPpd4w.js} +1 -1
- package/dist/assets/{useFileDrop-D6TxtcEG.js → useFileDrop-ja5KXA3q.js} +1 -1
- package/dist/assets/{useImportCurlCommand-BJsa3SYX.js → useImportCurlCommand-DBxkPosB.js} +1 -1
- package/dist/assets/{useInstanceAiConfiguration-BSjUupr5.js → useInstanceAiConfiguration-Blsd4kOA.js} +1 -1
- package/dist/assets/{useInstancePromotionConnection-C79S26jh.js → useInstancePromotionConnection-y1iOgVEj.js} +1 -1
- package/dist/assets/useIsAssistantAtMentionsEnabled-Dlq0V3jE.js +1 -0
- package/dist/assets/{useLogsTreeExpand-mtDDZp2J.js → useLogsTreeExpand-B38R0D0z.js} +1 -1
- package/dist/assets/{useMcpJsonNudgeEligibility-BbEgzCUs.js → useMcpJsonNudgeEligibility-B0--_zHz.js} +1 -1
- package/dist/assets/{useMcpJsonNudgeTrigger-D75YeM7w.js → useMcpJsonNudgeTrigger-WYpVEXD7.js} +1 -1
- package/dist/assets/{useMergedChatHistory-B5_I32px.js → useMergedChatHistory-CyQKnn96.js} +1 -1
- package/dist/assets/{useOAuthClientRevoke-BbXmfHXh.js → useOAuthClientRevoke-CbjEZKaZ.js} +1 -1
- package/dist/assets/{usePagedN8nChatThreads-CqbdunfX.js → usePagedN8nChatThreads-Dw6YKttc.js} +1 -1
- package/dist/assets/{usePostMessageHandler-CcNgS4W6.js → usePostMessageHandler-yE0okmdk.js} +2 -2
- package/dist/assets/usePushConnection-Bvt-qoHW.js +1 -0
- package/dist/assets/{usePushConnection-BFhO-1H-.js → usePushConnection-DkCvi8b-.js} +1 -1
- package/dist/assets/useRestrictedNodeWarning-CTtdCQks.js +1 -0
- package/dist/assets/{useRoleEditorForm-B9E9W0U3.js → useRoleEditorForm-XSnBSOnn.js} +1 -1
- package/dist/assets/{useSecretsProvidersList.ee-DtqxpeUp.js → useSecretsProvidersList.ee-CnzrWo1e.js} +1 -1
- package/dist/assets/{useSettingsItems-CfCtqenK.js → useSettingsItems-DYcW7pYp.js} +1 -1
- package/dist/assets/{useSidebarLayout-C0wiWIC7.js → useSidebarLayout-DmF2i08K.js} +1 -1
- package/dist/assets/useWorkflowEvaluationState-D-lddQaQ.js +1 -0
- package/dist/assets/useWorkflowInitialization-wUzQZhAb.js +1 -0
- package/dist/assets/useWorkflowsEmptyState-BJ-KcLgg.js +1 -0
- package/dist/assets/{userRoleProvisioning.store-D2fDxjy7.js → userRoleProvisioning.store-D9r1yJYS.js} +1 -1
- package/dist/assets/{vector-stores-CfjeTRPK.js → vector-stores-CGPITg7t.js} +1 -1
- package/dist/assets/{worker-BEGdHTX5.js → worker-Qfu_u4s_.js} +33 -33
- package/dist/assets/{workers-D9EJ04EA.js → workers-B8bjMWzs.js} +1 -1
- package/dist/assets/{workflowReviews.utils-DT99OxLq.js → workflowReviews.utils-B1ktoCSo.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/dist/assets/AddDataTableModal-DLy09xyE.js +0 -1
- package/dist/assets/AgentBuilderView-BuiPTWV6.js +0 -13
- package/dist/assets/AgentChatPanel-u7NaGpww.js +0 -16
- package/dist/assets/AgentConfirmationModal-BgXM3YJu.js +0 -1
- package/dist/assets/AgentEditorModal-BgXgYmw7.js +0 -1
- package/dist/assets/AgentN8nChatView-DMp5m5kU.js +0 -1
- package/dist/assets/AgentPreviewButton-CCbAq7Bg.js +0 -3
- package/dist/assets/AgentPreviewDock-p-FnbNFW.js +0 -1
- package/dist/assets/AgentSessionTimelineView-CDLFLqgB.js +0 -1
- package/dist/assets/AgentSessionsListView-CAhtGxXU.js +0 -1
- package/dist/assets/AgentSkillModal-CIwjGkmY.js +0 -109
- package/dist/assets/AgentTaskModal-DsjxStha.js +0 -1
- package/dist/assets/AgentToolConfigForm-BM_q2x6U.js +0 -1
- package/dist/assets/AgentVectorStoresModal-BKi_M-dr.js +0 -1
- package/dist/assets/AgentsListView-Dq4pKc5-.js +0 -1
- package/dist/assets/AppSidebar-CSCzI4k2.js +0 -1
- package/dist/assets/AuthLayout-BSblt7Rt.js +0 -1
- package/dist/assets/ChatGreetings-M7OJ33Qi.js +0 -3
- package/dist/assets/ChatHistoryDropdownTrigger-CzLECeCK.js +0 -1
- package/dist/assets/ChatView-YzLrMNPY.js +0 -1
- package/dist/assets/CompareCollectionView-DnfNVX8z.js +0 -1
- package/dist/assets/CredentialsView-iWtxJ13m.js +0 -1
- package/dist/assets/DataTableView-BoKIUdZr.js +0 -1
- package/dist/assets/DefaultLayout-D4UexJTe.js +0 -1
- package/dist/assets/EntityNotFound-Bmp2SXGQ.js +0 -1
- package/dist/assets/ErrorView-DaxMkfwo.js +0 -1
- package/dist/assets/EvaluationsListSwitcher-UpmdaJKp.js +0 -2
- package/dist/assets/EvaluationsPaywall-D2EWqnNK.js +0 -1
- package/dist/assets/EventDestinationSettingsModalAdapter-C8tw2vX7.js +0 -1
- package/dist/assets/ExecutionsTime-t5CrbSOv.js +0 -2
- package/dist/assets/ExecutionsView-DEFJEdU3.js +0 -1
- package/dist/assets/FixedCollectionParameter-Cbhm0t-C.js +0 -1
- package/dist/assets/InsightsPaywall-BvxbU4Xi.js +0 -1
- package/dist/assets/InstanceAiThreadView-ClkJh15G.js +0 -2
- package/dist/assets/InstanceAiToolsConnectionModalWrapper-SHQosix9.js +0 -1
- package/dist/assets/InstanceRoleView-DJ7rfpgb.js +0 -1
- package/dist/assets/LimitedModeNotice-zSNNTwaP.js +0 -1
- package/dist/assets/LogsOverviewRow-BkNsMGna.js +0 -1
- package/dist/assets/MainHeader-CAy60J0Q.js +0 -1
- package/dist/assets/McpJsonNudgeModal-BhLbaeOT.js +0 -1
- package/dist/assets/MigrationRuleDetail-B3VIoIM_.js +0 -1
- package/dist/assets/MigrationRules-BPxbNCE6.js +0 -1
- package/dist/assets/N8nChatAgentLibraryView-D2XPS6xn.js +0 -1
- package/dist/assets/NodeCreation-CrTwXTCa.js +0 -2
- package/dist/assets/NodeCreator-rMZtUGFM.js +0 -1
- package/dist/assets/NodeDetailsView-sfDBEAv-.js +0 -1
- package/dist/assets/NodeView-CuLkD58L.js +0 -2
- package/dist/assets/OAuthConsentView-BC3ajy-n.js +0 -1
- package/dist/assets/ProjectHeader-DB9KmIKR.js +0 -1
- package/dist/assets/ProjectRoleView-DgJOnUNJ.js +0 -1
- package/dist/assets/ProjectSettings-CCjLLKLf.js +0 -1
- package/dist/assets/ProjectVariables-CJUWgoqS.js +0 -1
- package/dist/assets/PromotionBindingsFlow-BED9j-io.js +0 -1
- package/dist/assets/PromotionSelectModal-D2qlwKh2.js +0 -1
- package/dist/assets/PromotionsSettingsView-DpBY8xLz.js +0 -1
- package/dist/assets/PublicationIndicator-CDWJw4MA.js +0 -1
- package/dist/assets/ResourcesListLayout-D0RcHlig.js +0 -1
- package/dist/assets/SecuritySettings-CREkypLf.js +0 -1
- package/dist/assets/SettingsAIView-t3ugLUq1.js +0 -1
- package/dist/assets/SettingsAgentsView-DbwgaD0B.js +0 -1
- package/dist/assets/SettingsAiGatewayView-C_VGCg05.js +0 -1
- package/dist/assets/SettingsApiView-bGsviSfM.js +0 -1
- package/dist/assets/SettingsChatHubView-DWXcRUyZ.js +0 -1
- package/dist/assets/SettingsCommunityNodesView-BygQRfp9.js +0 -1
- package/dist/assets/SettingsContextView-CSoKM9i7.js +0 -1
- package/dist/assets/SettingsEncryptionKeys-Bf2aDd8L.js +0 -1
- package/dist/assets/SettingsInstanceAiView-DcH482wW.js +0 -1
- package/dist/assets/SettingsLogStreamingView-BGHUz08I.js +0 -1
- package/dist/assets/SettingsMCPClientsView-BsGOvwiK.js +0 -1
- package/dist/assets/SettingsMCPView-C9RPeF8h.js +0 -49
- package/dist/assets/SettingsOpenTelemetryView-BqCrq2L8.js +0 -1
- package/dist/assets/SettingsPreferencesView-CfU2XBQM.js +0 -1
- package/dist/assets/SettingsSecretsProviders.ee-idl-rSyY.js +0 -1
- package/dist/assets/SettingsSourceControl-CsZpvdgn.js +0 -1
- package/dist/assets/SettingsSso-CmxREW22.js +0 -3
- package/dist/assets/SettingsUsageAndPlan-cZAgoFxH.js +0 -1
- package/dist/assets/SettingsUsersView-phRMlJn2.js +0 -1
- package/dist/assets/SetupWorkflowFromTemplateView-Cfz0GI8G.js +0 -1
- package/dist/assets/TemplatesSearchView-DywPuZ8B.js +0 -1
- package/dist/assets/ToolsConnectionModal-GO6CtviA.js +0 -1
- package/dist/assets/ToolsManagerModal-7O0PmUky.js +0 -1
- package/dist/assets/ToolsManagerModal-BBtxVyqf.css +0 -1
- package/dist/assets/WorkflowExecutionsPreview-8CCXuvHm.js +0 -1
- package/dist/assets/WorkflowExecutionsView-BNVNsc4l.js +0 -1
- package/dist/assets/WorkflowHistory-LSBYE70d.js +0 -1
- package/dist/assets/WorkflowLayout-YAsI30Mu.js +0 -1
- package/dist/assets/WorkflowPreviewHost-DlcsDVjd.js +0 -1
- package/dist/assets/WorkflowReviewRequestsView-CkGP67Nh.js +0 -1
- package/dist/assets/WorkflowsView-QHCalPMm.js +0 -1
- package/dist/assets/auth.eventBus-BiT21sNh.js +0 -1
- package/dist/assets/en-CZa6nWyp.js +0 -1
- package/dist/assets/expression-runtime-stub-CZEaiKJ2.js +0 -1
- package/dist/assets/promotions.eventBus-BmbL1egL.js +0 -1
- package/dist/assets/surfaceMcpToNewCloudUsers.store-hfZ6NG3H.js +0 -1
- package/dist/assets/useExecutionDebugging-2gYSGTYf.js +0 -2
- package/dist/assets/useIsAssistantAtMentionsEnabled-C3pI9Svj.js +0 -1
- package/dist/assets/usePushConnection-BBYO5DZH.js +0 -1
- package/dist/assets/useRestrictedNodeWarning--oK4c8Zo.js +0 -1
- package/dist/assets/useWorkflowEvaluationState-BEPajZUK.js +0 -1
- package/dist/assets/useWorkflowInitialization-oZ6rOoYV.js +0 -1
- package/dist/assets/useWorkflowsEmptyState-BBQ-kG2-.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8b8923ef-f2b0-465a-95ed-4ee5e0cf304f`,e._sentryDebugIdIdentifier=`sentry-dbid-8b8923ef-f2b0-465a-95ed-4ee5e0cf304f`)})()}catch{}import{Gw as e}from"./app-oLfukFT9.js";var t=e(),n=e(),r=e();export{n,r,t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`92d439f8-47fc-44ea-84ad-cd1e2fb7f56a`,e._sentryDebugIdIdentifier=`sentry-dbid-92d439f8-47fc-44ea-84ad-cd1e2fb7f56a`)})()}catch{}import{Nf as e,go as t}from"./vendor-DS7UZyZ6.js";import{gy as n,qv as r}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`92d439f8-47fc-44ea-84ad-cd1e2fb7f56a`,e._sentryDebugIdIdentifier=`sentry-dbid-92d439f8-47fc-44ea-84ad-cd1e2fb7f56a`)})()}catch{}import{Nf as e,go as t}from"./vendor-DS7UZyZ6.js";import{gy as n,qv as r}from"./app-oLfukFT9.js";var i=`/ai-preferences`;async function a(e,{ids:t,...r}={}){return await n(e,`GET`,i,{...r,...t?{ids:t.join(`,`)}:{}})}async function o(e){return(await n(e,`GET`,`${i}/count`)).count}async function s(e,t){return await n(e,`POST`,i,t)}async function c(e,t,r){return await n(e,`PATCH`,`${i}/${t}`,r)}async function l(e,t){await n(e,`DELETE`,`${i}/${t}`)}var u=t(`context`,()=>{let t=r(),n=e([]),i=e(0),u=e(!1),d=0,f=0;async function p(e={}){let r=++d,o=++f;u.value=!0;try{let s=await a(t.restApiContext,e);return r===d&&(n.value=s.data),o===f&&(i.value=s.count),s}finally{r===d&&(u.value=!1)}}async function m(e){let n=[];for(let r=0;r<e.length;r+=100){let i=e.slice(r,r+100),o=await a(t.restApiContext,{ids:i,take:i.length});n.push(o.data)}return n.flat()}let h=e(new Map),g=new Set,_,v=0,y=new Map,b=0;async function x(e){for(let t of e)g.add(t);_===void 0&&(b=v),await(_??=(async()=>{await Promise.resolve();let e=[...g],t=b;if(g=new Set,_=void 0,e.length!==0)try{let n=await m(e),r=new Map(h.value);for(let e of n)(y.get(e.id)??0)>t||r.set(e.id,e);h.value=r}catch{}})())}function S(e){y.set(e.id,++v);let t=new Map(h.value);t.set(e.id,e),h.value=t}function C(e){if(y.set(e,++v),!h.value.has(e))return;let t=new Map(h.value);t.delete(e),h.value=t}async function w(){let e=++f,n=await o(t.restApiContext);return e===f&&(i.value=n),n}async function T(e){let n=await s(t.restApiContext,e);return S(n),n}async function E(e,n){let r=await c(t.restApiContext,e,n);return S(r),r}async function D(e){await l(t.restApiContext,e),C(e)}async function O(e){let n=await Promise.allSettled(e.map(async e=>await l(t.restApiContext,e))),r={deleted:[],failed:[]};return n.forEach((t,n)=>{let i=e[n];t.status===`fulfilled`?(r.deleted.push(i),C(i)):r.failed.push({id:i,error:t.reason})}),r}return{preferences:n,count:i,loading:u,rowById:h,fetchPreferences:p,fetchPreferencesByIds:m,resolveRows:x,setRow:S,forgetRow:C,fetchPreferenceCount:w,createPreference:T,updatePreference:E,deletePreference:D,deletePreferences:O}});export{u as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/module-ES6BEMUI-CzpL4C8b.js","assets/chunk-V2S4ZYJR-gAq7Hvs-.js","assets/dist-BflCKn1P.js","assets/module-asyncify-2EFITU5U-N2amPGUJ.js","assets/chunk-TAV5CUKK-_3YAMF7r.js","assets/ffi-nCRKXBrw.js","assets/ffi-DD59wABK.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
2
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`037b5c1f-c33c-4685-8aec-81ef49b720cf`,e._sentryDebugIdIdentifier=`sentry-dbid-037b5c1f-c33c-4685-8aec-81ef49b720cf`)})()}catch{}import{jT as e}from"./app-oLfukFT9.js";import{a as t,i as n,n as r,o as i,r as a,t as o}from"./dist-BflCKn1P.js";import{S as s,T as c,_ as l,a as u,b as d,c as f,f as p,g as m,h,i as g,l as _,m as v,n as y,o as b,p as x,r as S,s as C,t as w,x as T}from"./chunk-V2S4ZYJR-gAq7Hvs-.js";import{n as E,r as D,t as O}from"./chunk-TAV5CUKK-_3YAMF7r.js";async function k(t){let n=M(await t),[r,i,{QuickJSWASMModule:a}]=await Promise.all([n.importModuleLoader().then(M),n.importFFI(),e(()=>import(`./module-ES6BEMUI-CzpL4C8b.js`).then(M),__vite__mapDeps([0,1,2]))]),o=await r();return o.type=`sync`,new a(o,new i(o))}async function A(t){let n=M(await t),[r,i,{QuickJSAsyncWASMModule:a}]=await Promise.all([n.importModuleLoader().then(M),n.importFFI(),e(()=>import(`./module-asyncify-2EFITU5U-N2amPGUJ.js`).then(M),__vite__mapDeps([3,4,1,2]))]),o=await r();return o.type=`async`,new a(o,new i(o))}function j(e){let t;return()=>t??=e()}function M(e){return e&&`default`in e&&e.default?e.default&&`default`in e.default&&e.default.default?e.default.default:e.default:e}function N(e,t){return{...e,async importModuleLoader(){let n=M(await e.importModuleLoader());return async function(){let e=t.emscriptenModule?{...t.emscriptenModule}:{},r=t.log??((...e)=>T(`newVariant moduleLoader:`,...e)),i=(e,t)=>(r(...e,t),t),a=e=>typeof e==`function`?e():e;(t.wasmLocation||t.wasmSourceMapLocation||t.locateFile)&&(e.locateFile=(e,n)=>{let r={fileName:e,relativeTo:n};if(e.endsWith(`.wasm`)&&t.wasmLocation!==void 0)return i([`locateFile .wasm: provide wasmLocation`,r],t.wasmLocation);if(e.endsWith(`.map`)){if(t.wasmSourceMapLocation!==void 0)return i([`locateFile .map: provide wasmSourceMapLocation`,r],t.wasmSourceMapLocation);if(t.wasmLocation&&!t.locateFile)return i([`locateFile .map: infer from wasmLocation`,r],t.wasmLocation+`.map`)}return t.locateFile?i([`locateFile: use provided fn`,r],t.locateFile(e,n)):i([`locateFile: unhandled, passthrough`,r],e)}),t.wasmBinary&&(e.wasmBinary=await a(t.wasmBinary)),t.wasmMemory&&(e.wasmMemory=await a(t.wasmMemory));let o=t.wasmModule,s;o&&(e.instantiateWasm=async(e,t)=>{s??=Promise.resolve(a(o));let n=await s;if(!n)throw new f(`options.wasmModule returned ${String(n)}`);let r=await WebAssembly.instantiate(n,e);return t(r),r.exports}),e.monitorRunDependencies=e=>{r(`monitorRunDependencies:`,e)},e.quickjsEmscriptenInit=()=>P(r);let c=n(e),l=e.quickjsEmscriptenInit?.(r);if(o&&l?.receiveWasmOffsetConverter&&!l.existingWasmOffsetConverter){let e=await a(t.wasmBinary)??new ArrayBuffer(0);s??=Promise.resolve(a(o));let n=await s;if(!n)throw new f(`options.wasmModule returned ${String(n)}`);l.receiveWasmOffsetConverter(e,n)}if(l?.receiveSourceMapJSON){let e=await a(t.wasmSourceMapData);typeof e==`string`?l.receiveSourceMapJSON(JSON.parse(e)):e?l.receiveSourceMapJSON(e):l.receiveSourceMapJSON({version:3,names:[],sources:[],mappings:``})}return c}}}}function P(e){let t=`mock called, emscripten module may not be initialized yet`;return{mock:!0,removeRunDependency(n){e(`${t}: removeRunDependency called:`,n)},receiveSourceMapJSON(n){e(`${t}: receiveSourceMapJSON called:`,n)},WasmOffsetConverter:void 0,receiveWasmOffsetConverter(n,r){e(`${t}: receiveWasmOffsetConverter called:`,n,r)}}}function F(e){return!(`error`in e)}function I(e){return`error`in e}function L(e){let t=typeof e==`number`?e:e.getTime();return function(){return Date.now()>t}}var R=class{constructor(e){this.parent=e,this.contexts=new Set,this.runtimes=new Set}newRuntime(e){let t=this.parent.newRuntime({...e,ownedLifetimes:[new u(void 0,void 0,()=>this.runtimes.delete(t)),...e?.ownedLifetimes??[]]});return this.runtimes.add(t),t}newContext(e){let t=this.parent.newContext({...e,ownedLifetimes:[new u(void 0,void 0,()=>this.contexts.delete(t)),...e?.ownedLifetimes??[]]});return this.contexts.add(t),t}evalCode(e,t){return this.parent.evalCode(e,t)}disposeAll(){let e=[...this.contexts,...this.runtimes];this.runtimes.clear(),this.contexts.clear(),e.forEach(e=>{e.alive&&e.dispose()})}assertNoMemoryAllocated(){if(this.getFFI().QTS_RecoverableLeakCheck())throw new _(`Leak sanitizer detected un-freed memory`);if(this.contexts.size>0)throw new _(`${this.contexts.size} contexts leaked`);if(this.runtimes.size>0)throw new _(`${this.runtimes.size} runtimes leaked`)}getWasmMemory(){return this.parent.getWasmMemory()}getFFI(){return this.parent.getFFI()}},z={type:`sync`,importFFI:()=>e(()=>import(`./ffi-DQ11bVkh.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-DCxVj-T9.js`).then(e=>e.default),[])},B={type:`sync`,importFFI:()=>e(()=>import(`./ffi-BMuQDH3i.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-WwlNalg_.js`).then(e=>e.default),[])},V={type:`async`,importFFI:()=>e(()=>import(`./ffi-nCRKXBrw.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([5,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-BrzqRu0H.js`).then(e=>e.default),[])},H={type:`async`,importFFI:()=>e(()=>import(`./ffi-DD59wABK.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([6,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-Bux1X7tA.js`).then(e=>e.default),[])};async function U(e=B){return k(e)}async function W(e=H){return A(e)}var G,K;async function q(){return K??=U().then(e=>(G=e,e)),await K}function J(){if(!G)throw Error(`QuickJS not initialized. Await getQuickJS() at least once.`);return G}async function Y(e){return(await W()).newRuntime(e)}async function X(e){return(await W()).newContext(e)}export{V as DEBUG_ASYNC,z as DEBUG_SYNC,w as DefaultIntrinsics,y as DisposableFail,S as DisposableResult,g as DisposableSuccess,o as EvalFlags,r as GetOwnPropertyNamesFlags,a as IntrinsicsFlags,n as IsEqualOp,t as JSPromiseStateEnum,u as Lifetime,O as QuickJSAsyncContext,E as QuickJSAsyncRuntime,D as QuickJSAsyncWASMModule,b as QuickJSContext,C as QuickJSDeferredPromise,p as QuickJSRuntime,x as QuickJSWASMModule,H as RELEASE_ASYNC,B as RELEASE_SYNC,v as Scope,h as StaticLifetime,R as TestQuickJSWASMModule,m as UsingDisposable,l as WeakLifetime,i as assertSync,d as createDisposableArray,T as debugLog,s as errors,q as getQuickJS,J as getQuickJSSync,I as isFail,F as isSuccess,j as memoizePromiseFactory,X as newAsyncContext,Y as newAsyncRuntime,W as newQuickJSAsyncWASMModule,A as newQuickJSAsyncWASMModuleFromVariant,U as newQuickJSWASMModule,k as newQuickJSWASMModuleFromVariant,N as newVariant,c as setDebugMode,L as shouldInterruptAfterDeadline};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`fc3f0505-7793-4fcf-ab87-c6895ee3e3f2`,e._sentryDebugIdIdentifier=`sentry-dbid-fc3f0505-7793-4fcf-ab87-c6895ee3e3f2`)})()}catch{}import{MT as e}from"./app-oLfukFT9.js";export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`27017627-b028-47e6-bfe3-b0d230e1cd41`,e._sentryDebugIdIdentifier=`sentry-dbid-27017627-b028-47e6-bfe3-b0d230e1cd41`)})()}catch{}import{Cx as e,Dx as t,Ex as n,Ox as r,Sx as i,Tx as a,_x as o,bx as s,fx as c,gx as l,hx as u,mx as d,px as f,vS as p,vx as m,wx as h,xx as g,yx as _}from"./app-oLfukFT9.js";export{r as DEFAULT_BRIDGE_CONFIG,s as EXPRESSION_METRICS,d as EXTENSION_OBJECTS,i as ExpressionError,m as ExpressionEvaluator,o as ExpressionExtensionError,p as IsolateError,c as IsolatedVmBridge,e as MemoryLimitError,f as NoOpProvider,g as QuickJsBridge,t as RuntimeError,h as SecurityViolationError,a as SyntaxError,n as TimeoutError,_ as classifyExpressionError,u as extend,l as extendOptional};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`fa8b7b5c-5358-414c-8719-c7817a3267e1`,e._sentryDebugIdIdentifier=`sentry-dbid-fa8b7b5c-5358-414c-8719-c7817a3267e1`)})()}catch{}import"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`fa8b7b5c-5358-414c-8719-c7817a3267e1`,e._sentryDebugIdIdentifier=`sentry-dbid-fa8b7b5c-5358-414c-8719-c7817a3267e1`)})()}catch{}import"./app-oLfukFT9.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e60617ea-b253-4027-9d7d-6ae156136462`,e._sentryDebugIdIdentifier=`sentry-dbid-e60617ea-b253-4027-9d7d-6ae156136462`)})()}catch{}import{t as e}from"./insights.store-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e60617ea-b253-4027-9d7d-6ae156136462`,e._sentryDebugIdIdentifier=`sentry-dbid-e60617ea-b253-4027-9d7d-6ae156136462`)})()}catch{}import{t as e}from"./insights.store-qL6q61kW.js";export{e as useInsightsStore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`173d8cf0-ed7c-4fad-bf52-e8070c07e2cd`,e._sentryDebugIdIdentifier=`sentry-dbid-173d8cf0-ed7c-4fad-bf52-e8070c07e2cd`)})()}catch{}import{Pd as e,go as t,ku as n,vu as r}from"./vendor-DS7UZyZ6.js";import{Db as i,Gv as a,Kv as o,gy as s,qv as c}from"./app-oLfukFT9.js";import{c as l}from"./insights.utils-B0xOygf8.js";function u(e){if(!e)return;let{startDate:t,endDate:n,...i}=e,a={...i};return t&&(a.startDate=t.toISOString()),n&&(a.endDate=n.toISOString()),a.timeZone=r(),a}var d=async(e,t)=>await s(e,`GET`,`/insights/summary`,u(t)),f=async(e,t)=>await s(e,`GET`,`/insights/by-time`,u(t)),p=async(e,t)=>await s(e,`GET`,`/insights/by-time/time-saved`,u(t)),m=async(e,t)=>await s(e,`GET`,`/insights/by-workflow`,u(t)),h=t(`insights`,()=>{let t=c(),r=a(),s=o(),u=e(()=>i(r.currentUser?.globalScopes).insights),h=e(()=>s.isModuleActive(`insights`)),g=e(()=>!!s.moduleSettings.insights?.dashboard);return{globalInsightsPermissions:u,isInsightsEnabled:h,isSummaryEnabled:e(()=>u.value.list&&h.value),isDashboardEnabled:g,weeklySummary:n(async()=>l(await d(t.restApiContext)),[],{immediate:!1,resetOnExecute:!1}),summary:n(async e=>l(await d(t.restApiContext,e)),[],{immediate:!1,resetOnExecute:!1}),charts:n(async e=>await(g.value?f:p)(t.restApiContext,e),[],{immediate:!1,resetOnExecute:!1}),table:n(async e=>await m(t.restApiContext,e),{count:0,data:[]},{immediate:!1,resetOnExecute:!1}),dateRanges:e(()=>s.moduleSettings.insights?.dateRanges??[]),earliestDataDate:e(()=>s.moduleSettings.insights?.earliestDataDate??null)}});export{h as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5b4b8800-f8d3-4ffd-87df-0ca3e3e0f994`,e._sentryDebugIdIdentifier=`sentry-dbid-5b4b8800-f8d3-4ffd-87df-0ca3e3e0f994`)})()}catch{}import{o as e}from"./rolldown-runtime-BobR2NKB.js";import{Zo as t,_u as n,gu as r,hu as i,vu as a,yu as o}from"./vendor-DS7UZyZ6.js";import{FT as s}from"./app-oLfukFT9.js";import{a as c,n as l,r as u}from"./insights.constants-BsaZ86ln.js";var d=e(t(),1),f=`d mmm, yyyy`,p=`d mmm`,m=e=>Math.round(e/(Math.abs(e)<60?1:60)),h=e=>e/1e3,g=e=>e*100,_={total:e=>e,failed:e=>e,timeSaved:m,averageRunTime:h,failureRate:g},v=(e,t)=>e-t,y=(e,t)=>{if(e===0&&t===0)return 0;let n=v(e,t);return n===0?null:t/n*100},b={total:y,failed:y,timeSaved:(e,t)=>m(t),averageRunTime:(e,t)=>h(t),failureRate:(e,t)=>g(t)},x=e=>e?u.map(t=>({id:t,value:_[t](e[t].value),deviation:e[t].deviation===null?null:b[t](e[t].value,e[t].deviation),deviationUnit:e[t].deviation===null?``:l[t](e[t].deviation),unit:c[t](e[t].value)})):[],S={day:1,week:7,"2weeks":14,month:30,quarter:90,"6months":180,year:365},C=()=>{let e=s();return{day:e.baseText(`insights.lastNHours`,{interpolate:{count:24}}),week:e.baseText(`insights.lastNDays`,{interpolate:{count:7}}),"2weeks":e.baseText(`insights.lastNDays`,{interpolate:{count:14}}),month:e.baseText(`insights.lastNDays`,{interpolate:{count:30}}),quarter:e.baseText(`insights.lastNDays`,{interpolate:{count:90}}),"6months":e.baseText(`insights.months`,{interpolate:{count:6}}),year:e.baseText(`insights.oneYear`)}},w=e=>{let{start:t,end:n}=e;if(!t)return``;let r=t.toDate(a()),i=n?.toDate(a());return!n||t.compare(n)===0?(0,d.default)(r,f):t.year===n.year?`${(0,d.default)(r,p)} - ${(0,d.default)(i,f)}`:`${(0,d.default)(r,f)} - ${(0,d.default)(i,f)}`},T=e=>{let{start:t,end:r}=e;if(!t||!r||!n(r,a()))return null;let i=r.compare(t);for(let[e,t]of Object.entries(S))if(i===t)return e;return null},E=e=>{if(!e.start||!e.end)return{startDate:new Date,endDate:new Date};let t=a(),n=o(t),s=e.end?.compare(n)===0,c=e.end&&e.start?e.end.compare(e.start):0;if(s){let n=r(t);return c===1?{startDate:i(e.start,n).toDate(t),endDate:i(e.end,n).toDate(t)}:{startDate:e.start?.toDate(t)??new Date,endDate:i(e.end,n).toDate(t)}}else{let n=e.start?.toDate(t)??new Date,r=e.end?.toDate(t)??new Date;return r.setHours(23,59,59,999),{startDate:n,endDate:r}}};export{S as a,x as c,C as i,m as l,E as n,h as o,T as r,g as s,w as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3a28da68-a2d5-408f-9eb2-a2feef2ea29d`,e._sentryDebugIdIdentifier=`sentry-dbid-3a28da68-a2d5-408f-9eb2-a2feef2ea29d`)})()}catch{}import{qa as e}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3a28da68-a2d5-408f-9eb2-a2feef2ea29d`,e._sentryDebugIdIdentifier=`sentry-dbid-3a28da68-a2d5-408f-9eb2-a2feef2ea29d`)})()}catch{}import{qa as e}from"./app-oLfukFT9.js";export{e as useInstanceAiStore};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c56b6833-6e40-4c9b-996d-1258cd85f6d2`,e._sentryDebugIdIdentifier=`sentry-dbid-c56b6833-6e40-4c9b-996d-1258cd85f6d2`)})()}catch{}import{Uv as e,Zh as t}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c56b6833-6e40-4c9b-996d-1258cd85f6d2`,e._sentryDebugIdIdentifier=`sentry-dbid-c56b6833-6e40-4c9b-996d-1258cd85f6d2`)})()}catch{}import{Uv as e,Zh as t}from"./app-oLfukFT9.js";function n(){let n=e();return{trackModalOpened(e,r){n.track(t.INSTANCE_AI.COMPUTER_USE_MODAL_OPENED,{is_connected:e,source:r})},trackCommandCopied(e){n.track(t.INSTANCE_AI.COMPUTER_USE_CONNECTION_COMMAND_COPIED,{os:e})}}}export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3f70df73-5df3-4cbd-8576-414810323931`,e._sentryDebugIdIdentifier=`sentry-dbid-3f70df73-5df3-4cbd-8576-414810323931`)})()}catch{}import{Nf as e,Pd as t,go as n,jf as r}from"./vendor-DS7UZyZ6.js";import{PT as i,_p as a,gp as o,gy as s,qv as c,zv as l}from"./app-oLfukFT9.js";async function u(e){return await s(e,`GET`,`/mcp-registry/servers`)}async function d(e){return await s(e,`GET`,`/instance-ai/mcp/connections`)}async function f(e,t){return await s(e,`GET`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}/tools`)}async function p(e){return await s(e,`GET`,`/instance-ai/mcp/connections/tools`)}async function m(e,t){return await s(e,`POST`,`/instance-ai/mcp/connections`,t)}async function h(e,t,n){return await s(e,`PATCH`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`,n)}async function g(e,t){await s(e,`DELETE`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`)}var _=n(`instanceAiMcp`,()=>{let n=c(),s=l(),_=a(),v=e([]),y=null,b=e(null),x=null,S=r(new Map),C=e(!1),w=e(!1),T=!1,E=new Map,D=0,O=t(()=>{let e=new Map;for(let t of v.value){let n=e.get(t.serverSlug)??[];n.push(t),e.set(t.serverSlug,n)}return e});async function k(){y??=j(),await y}async function A(){T||await k()}async function j(){C.value=!0;try{v.value=(await d(n.restApiContext)).map(e=>({...e,status:`connecting`})),T=!0,z()}catch(e){s.showError(e,i.baseText(`instanceAi.mcp.error.fetchConnections`))}finally{y=null,C.value=!1}}async function M(){x??=N(),await x}async function N(){w.value=!0;try{b.value=await u(n.restApiContext)}catch(e){x=null,s.showError(e,i.baseText(`instanceAi.mcp.error.fetchCatalog`))}finally{w.value=!1}}function P(e){S.delete(e),E.delete(e)}function F(e,t,n){v.value=v.value.map(r=>{if(r.id!==e)return r;let i={...r,status:t};return delete i.failureReason,t===`disconnected`&&(i.failureReason=n??`unknown`),i})}function I(e){F(e.id,e.status,e.status===`disconnected`?e.failureReason:void 0),e.status===`connected`?S.set(e.id,e.tools):S.delete(e.id)}function L(e){switch(e){case`server_unavailable`:return i.baseText(`instanceAi.mcp.error.connection.serverUnavailable`);case`authentication`:return i.baseText(`instanceAi.mcp.error.connection.authentication`);default:return i.baseText(`instanceAi.mcp.error.connection.unknown`)}}function R(e){s.showMessage({type:`error`,title:i.baseText(`instanceAi.mcp.error.connection.title`),message:L(e)})}async function z(){let e=++D;if(v.value.length!==0)try{let t=await p(n.restApiContext);if(e!==D)return;t.forEach(e=>{v.value.find(t=>t.id===e.id)?.status===`connecting`&&!E.has(e.id)&&I(e)})}catch(t){if(e!==D)return;v.value=v.value.map(e=>({...e,status:e.status===`connecting`?`disconnected`:e.status,...e.status===`connecting`?{failureReason:`unknown`}:{}})),s.showError(t,i.baseText(`instanceAi.mcp.error.checkConnections`))}}async function B(e){F(e,`connecting`);let t=f(n.restApiContext,e),r=()=>E.get(e)===t;E.set(e,t);try{let e=await t;r()&&(I(e),e.status===`disconnected`&&R(e.failureReason))}catch{r()&&(F(e,`disconnected`,`unknown`),S.delete(e),R(`unknown`))}finally{r()&&E.delete(e)}}async function V(e){let t=v.value.find(t=>t.id===e);!t||t.status===`connecting`||t.status===`connected`&&S.has(e)||await B(e)}function H(e){v.value.some(t=>t.id===e)&&B(e)}async function U(e){try{let t={...await m(n.restApiContext,e),status:`connecting`};return v.value=[...v.value,t],B(t.id),t}catch(e){return s.showError(e,i.baseText(`instanceAi.mcp.error.connect`)),null}}async function W(e,t){try{let r=await h(n.restApiContext,e,t),i=v.value.find(t=>t.id===e),a={...r,status:t.credentialId?`connecting`:i?.status??`connecting`};return v.value=v.value.map(t=>t.id===e?a:t),t.credentialId&&(P(e),B(e)),a}catch(e){return s.showError(e,i.baseText(`instanceAi.mcp.error.updateSettings`)),null}}async function G(e){try{return await g(n.restApiContext,e),v.value=v.value.filter(t=>t.id!==e),P(e),!0}catch(e){return s.showError(e,i.baseText(`instanceAi.mcp.error.disconnect`)),!1}}o({store:_,onCredentialDeleted:e=>{let t=v.value.filter(t=>t.credentialId===e);if(t.length!==0){v.value=v.value.filter(t=>t.credentialId!==e);for(let e of t)P(e.id)}}});function K(){v.value=[],y=null,b.value=null,x=null,S.clear(),E.clear(),T=!1,D++}return{connections:v,catalog:b,connectionToolsById:S,isLoadingConnections:C,isLoadingCatalog:w,connectionsByServerSlug:O,fetchConnections:k,fetchConnectionsLazy:A,fetchCatalogLazy:M,fetchConnectionTools:B,fetchConnectionToolsLazy:V,handleToolCallFailed:H,connect:U,updateConnection:W,disconnect:G,reset:K}});export{_ as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d1e5d222-c727-4a8f-bcdc-1c5a4543496a`,e._sentryDebugIdIdentifier=`sentry-dbid-d1e5d222-c727-4a8f-bcdc-1c5a4543496a`)})()}catch{}import{t as e}from"./instanceAiMcp.store-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d1e5d222-c727-4a8f-bcdc-1c5a4543496a`,e._sentryDebugIdIdentifier=`sentry-dbid-d1e5d222-c727-4a8f-bcdc-1c5a4543496a`)})()}catch{}import{t as e}from"./instanceAiMcp.store-C8SplGQl.js";export{e as useInstanceAiMcpStore};
|
package/dist/assets/{instanceAiSetup.telemetry-DKsuz_Ef.js → instanceAiSetup.telemetry-Cu3a1VfE.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5d8cce72-5dc9-430a-971e-4570c761473a`,e._sentryDebugIdIdentifier=`sentry-dbid-5d8cce72-5dc9-430a-971e-4570c761473a`)})()}catch{}import{Nf as e,yf as t}from"./vendor-DS7UZyZ6.js";import{Do as n,Gb as r,Uv as i,Zh as a}from"./app-oLfukFT9.js";import{i as o,r as s}from"./useInstanceAiConfiguration-Blsd4kOA.js";function c(e,t,n){let i=r(e),a=t.find(t=>t.id===e.modelCredentialId)?.type,c=i.modelSource===`ui`?s.find(e=>e.credentialType===a)?.id??null:null,l=n.find(t=>t.id===e.searchCredentialId)?.type,u=i.webSearchSource===`ui`?o.find(e=>e.credentialType===l)?.id??null:i.webSearchSource===`env`?e.envManaged?.search.apiKey?`brave`:e.envManaged?.search.url?`searxng`:null:null;return{model_source:i.modelSource,model_provider:c,model_name:i.modelSource===`none`?null:e.modelName,sandbox_source:i.sandboxSource,sandbox_type:i.sandboxType,web_search_source:i.webSearchSource,web_search_provider:u}}function l(r){let o=i(),s=n(),l=e(!1);t(()=>s.isLoading?null:s.settings,e=>{!e||l.value||s.isCloudManaged||s.isProxyEnabled||(l.value=!0,o.track(a.INSTANCE_AI.USER_VIEWED_AI_ASSISTANT_SETUP_PAGE,{page:r,...c(e,s.instanceModelCredentials,s.serviceCredentials)}))},{immediate:!0})}export{l as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9f4ddfc3-7186-4131-9875-aa54934a50fd`,e._sentryDebugIdIdentifier=`sentry-dbid-9f4ddfc3-7186-4131-9875-aa54934a50fd`)})()}catch{}import{Nb as e,Ob as t,Pb as n,jb as r}from"./app-oLfukFT9.js";var i=[`settings`,`user`,`role`,`apiKey`,`tag`,`variable`,`credential`,`project`,`insights`],a={settings:`instanceRoles.resource.settings`,user:`instanceRoles.resource.user`,role:`instanceRoles.resource.role`,apiKey:`instanceRoles.resource.apiKey`,tag:`instanceRoles.resource.tag`,variable:`instanceRoles.resource.variable`,credential:`instanceRoles.resource.credential`,project:`instanceRoles.resource.project`,insights:`instanceRoles.resource.insights`},o={View:`instanceRoles.option.view`,Use:`instanceRoles.option.use`,Create:`instanceRoles.option.create`,Manage:`instanceRoles.option.manage`,"Manage own":`instanceRoles.option.manageOwn`,"Manage all":`instanceRoles.option.manageAll`,"Manage project roles":`instanceRoles.option.manageProjectRoles`,"Mcp use":`instanceRoles.option.mcpUse`,"Mcp manage":`instanceRoles.option.mcpManage`,"AiAssistant use":`instanceRoles.option.aiAssistantUse`,"AiAssistant manage":`instanceRoles.option.aiAssistantManage`},s={role:{Manage:`instanceRoles.option.manageAllRoles`},settings:{Manage:`instanceRoles.option.manageAllSettings`}},c={settings:{Manage:`instanceRoles.description.settings.manage`,"Mcp use":`instanceRoles.description.settings.mcpUse`,"Mcp manage":`instanceRoles.description.settings.mcpManage`,"AiAssistant use":`instanceRoles.description.settings.aiAssistantUse`,"AiAssistant manage":`instanceRoles.description.settings.aiAssistantManage`},user:{View:`instanceRoles.description.user.view`,Manage:`instanceRoles.description.user.manage`},role:{"Manage project roles":`instanceRoles.description.role.manageProjectRoles`,Manage:`instanceRoles.description.role.manage`},apiKey:{"Manage own":`instanceRoles.description.apiKey.manageOwn`,"Manage all":`instanceRoles.description.apiKey.manageAll`},tag:{View:`instanceRoles.description.tag.view`,Manage:`instanceRoles.description.tag.manage`},variable:{View:`instanceRoles.description.variable.view`,Manage:`instanceRoles.description.variable.manage`},credential:{View:`instanceRoles.description.credential.view`,Use:`instanceRoles.description.credential.use`,Manage:`instanceRoles.description.credential.manage`},project:{Create:`instanceRoles.description.project.create`},insights:{View:`instanceRoles.description.insights.view`}},l=[`View`,`Use`,`Create`,`Manage project roles`,`Mcp use`,`Mcp manage`,`AiAssistant use`,`AiAssistant manage`,`Manage`,`Manage own`,`Manage all`],u=e=>(t,n)=>{let r=e.indexOf(t),i=e.indexOf(n);return(r===-1?1/0:r)-(i===-1?1/0:i)},d=i.map(e=>{let t=r[e],n=Object.keys(t).sort(u(l)).map(n=>({key:n,labelKey:s[e]?.[n]??o[n],descriptionKey:c[e]?.[n],scopes:[...t[n]]}));return{resource:e,labelKey:a[e],options:n}}),f=[...new Set([...d.flatMap(e=>e.options.flatMap(e=>e.scopes)),...t])],p={user:{View:`instanceRoles.option.mandatory`}};function m(e,t){if(h(e,t))return p[e]?.[t.key]??t.descriptionKey}function h(t,n){return e(t,n.key)}var g={"Manage own":`Manage all`,"Manage project roles":`Manage`,View:`Use`,Use:`Manage`,"Mcp use":`Mcp manage`,"AiAssistant use":`AiAssistant manage`};function _(e){return g[e]}function v(e){let t=[],n=_(e);for(;n&&!t.includes(n);)t.push(n),n=_(n);return t}function y(e,t,n){for(let r of v(e.key)){let e=t.find(e=>e.key===r);if(e&&x(n,e.scopes)===`checked`)return e}}function b(e,t,n){return!!y(e,t,n)}function x(e,t){let n=t.filter(t=>e.includes(t)).length;return n===0?`unchecked`:n===t.length?`checked`:`indeterminate`}function S(e,t){return e.length>0&&e.length<t.length&&e.every(e=>t.includes(e))}function C(e,t){return t.filter(t=>t.key!==e.key&&(g[t.key]===e.key||S(t.scopes,e.scopes)))}function w(e,t,n){if(b(e,t,n))return`checked`;let r=x(n,e.scopes);if(r!==`indeterminate`)return r;let i=new Set(C(e,t).filter(e=>x(n,e.scopes)===`checked`).flatMap(e=>e.scopes));return i.size===0?r:e.scopes.filter(e=>n.includes(e)).every(e=>i.has(e))?`unchecked`:r}function T(e,t){let n;for(let r of t){let t=v(r.key).indexOf(e.key);t!==-1&&(!n||t<n.distance)&&(n={option:r,distance:t})}return n?.option}function E(e,t,n){if(!t.scopes.every(t=>e.includes(t)))return[...new Set([...e,...t.scopes])];let r=new Set(e);for(let e of t.scopes)r.delete(e);let i=T(t,n);if(i)for(let e of i.scopes)r.add(e);return[...r]}function D(e){return n(d.flatMap(t=>t.options.filter(t=>x(e,t.scopes)===`checked`).flatMap(e=>e.scopes)))}var O=new Set(r.user.View),k={user:[{scopes:r.user.Manage.filter(e=>!O.has(e)),messageKey:`instanceRoles.warning.manageMembers`}],credential:[{scopes:[`credential:update`],messageKey:`instanceRoles.warning.manageCredentials`}],role:[{scopes:[`role:manage`],messageKey:`instanceRoles.warning.manageRoles`},{scopes:[`role:manageProject`],messageKey:`instanceRoles.warning.manageProjectRoles`}]};function A(e,t){return k[e]?.find(e=>e.scopes.some(e=>t.includes(e)))?.messageKey}var j=d.reduce((e,t)=>e+t.options.length,0);function M(e){let t=0;for(let n of d)for(let r of n.options)w(r,n.options,e)===`checked`&&t++;return t}export{A as a,b as c,w as d,E as f,M as i,h as l,d as n,D as o,j as r,y as s,f as t,m as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f43a401d-aaa8-4943-b012-72b843941484`,e._sentryDebugIdIdentifier=`sentry-dbid-f43a401d-aaa8-4943-b012-72b843941484`)})()}catch{}import{Nf as e,go as t}from"./vendor-DS7UZyZ6.js";import{dy as n,fy as r,ly as i,my as a,py as o,qv as s,uy as c}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f43a401d-aaa8-4943-b012-72b843941484`,e._sentryDebugIdIdentifier=`sentry-dbid-f43a401d-aaa8-4943-b012-72b843941484`)})()}catch{}import{Nf as e,go as t}from"./vendor-DS7UZyZ6.js";import{dy as n,fy as r,ly as i,my as a,py as o,qv as s,uy as c}from"./app-oLfukFT9.js";var l=e=>{let t=e.match(/^[\w\s]+\.[\w\s]+/);if(t&&t?.length>0)return t[0]},u=(e,t=``)=>(e=e.replace(t+`.`,``),e.length>0&&(e=e[0].toUpperCase()+e.substring(1),e=e.replaceAll(`.`,` `)),e),d=(e,t=new Set)=>{let n=[],r=Array.from(e.values()),i=new Set;i.add(`n8n.workflow`),i.add(`n8n.node`);for(let e of r){let t=e.match(/^[\w\s]+\.[\w\s]+/);t&&t?.length>0&&i.add(t[0])}for(let e of i){let i={children:[],label:e,name:e,selected:t.has(e),indeterminate:!1},a=r.filter(t=>t===e||t.startsWith(`${e}.`));for(let n of a){!i.selected&&t.has(n)&&(i.indeterminate=!0);let r={label:u(n,e),name:n,selected:t.has(n),indeterminate:!1};i.children.push(r)}n.push(i)}return n},f=t(`logStreaming`,()=>{let t=e({}),u=e(new Set),f=s(),p=e=>{if(e.id){if(t.value[e.id]||(t.value[e.id]={destination:e,selectedEvents:new Set,eventGroups:[],isNew:!1}),t.value[e.id]?.selectedEvents?.clear(),e.subscribedEvents)for(let n of e.subscribedEvents)t.value[e.id]?.selectedEvents?.add(n);t.value[e.id].eventGroups=d(u.value,t.value[e.id]?.selectedEvents)}},m=e=>{e.id&&t.value[e.id]?t.value[e.id].destination=e:p(e)},h=e=>{if(t.value[e])return t.value[e].destination},g=()=>Object.values(t.value).map(e=>e.destination),_=()=>{t.value={}},v=e=>{u.value.add(e)},y=e=>{u.value.delete(e)},b=()=>{u.value.clear()},x=(e,n,r)=>{if(!t.value[e])return;let i=l(n),a=t.value[e].eventGroups.find(e=>e.name===i);if(!a)return;let o=a.children;if(i===n){a.selected=r,a.indeterminate=!1,o.forEach(e=>e.selected=!1);return}let s=o.find(e=>e.name===n);if(!s)return;s.selected=r,!r&&a.selected&&(a.selected=!1,a.children.filter(e=>e!==s).forEach(e=>e.selected=!0));let c=o.filter(e=>e.selected);r&&c.length===o.length&&(a.selected=!0,a.children.forEach(e=>e.selected=!1)),a.indeterminate=c.length>0&&c.length<o.length},S=(e,n)=>{t.value[e]?.selectedEvents?.add(n),x(e,n,!0)},C=(e,n)=>{t.value[e]?.selectedEvents?.delete(n),x(e,n,!1)},w=e=>{delete t.value[e]},T=e=>{e.id&&t.value[e.id]&&(t.value[e.id].destination=e)},E=e=>{e&&delete t.value[e]},D=e=>{let n=[];if(t.value[e])for(let r of t.value[e].eventGroups){r.selected&&n.push(r.name);for(let e of r.children)e.selected&&n.push(e.name)}return n};return{addDestination:m,setSelectionAndBuildItems:p,getDestination:h,getAllDestinations:g,clearDestinations:_,addEventName:v,removeEventName:y,clearEventNames:b,addSelectedEvent:S,removeSelectedEvent:C,setSelectedInGroup:x,removeDestinationItemTree:w,updateDestination:T,removeDestination:E,getSelectedEvents:D,saveDestination:async e=>{if(!r(e))return!1;let t=D(e.id);try{return await o(f.restApiContext,e,t),T(e),!0}catch{return!1}},sendTestMessage:async e=>r(e)?await a(f.restApiContext,e):!1,fetchEventNames:async()=>await n(f.restApiContext),fetchDestinations:async()=>await c(f.restApiContext),deleteDestination:async e=>{await i(f.restApiContext,e),E(e)},items:t}});export{f as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e9af177d-c5de-47d8-a99d-a68aa1b1dadb`,e._sentryDebugIdIdentifier=`sentry-dbid-e9af177d-c5de-47d8-a99d-a68aa1b1dadb`)})()}catch{}import{Nf as e,Pd as t,go as n}from"./vendor-DS7UZyZ6.js";import{PT as r,QS as i,Xs as a,Yo as o,bc as s,dc as c,dm as l,qv as u,zv as d}from"./app-oLfukFT9.js";var f=n(i.AGENT_N8N_CHAT_THREADS,()=>{let n=u(),i=d(),o=e([]),l=e([]),f=e(new Set),p=t(()=>new Map([...l.value,...o.value].filter(e=>!f.value.has(e.id)).map(e=>[e.id,e]))),m=t(()=>[...p.value.values()].sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt))),h=0;async function g(e){let t=++h;try{let r=await s(n.restApiContext,{limit:e});if(t!==h)return;o.value=r.data}catch(e){if(t!==h)return;console.error(`Failed to load n8n Chat threads`,e)}}async function _(e){if(!p.value.has(e))try{let t=await c(n.restApiContext,e);if(p.value.has(t.id))return;l.value.push(t)}catch(e){console.error(`Failed to load n8n Chat thread`,e)}}async function v(e){try{await a(n.restApiContext,e.agent.projectId,e.agent.id,e.id)}catch(e){return i.showError(e,r.baseText(`agentSessions.showError.delete`)),!1}return o.value=o.value.filter(t=>t.id!==e.id),l.value=l.value.filter(t=>t.id!==e.id),f.value.add(e.id),!0}return{recentThreads:o,openedThreads:l,threadsById:p,knownThreads:m,deletedThreadIds:f,fetchRecent:g,loadThread:_,deleteThread:v}});function p(e){return e.kind===`assistant`?{name:o,params:{threadId:e.thread.id}}:{name:l,params:{agentId:e.thread.agent.id,agentThreadId:e.thread.id}}}function m(e,t){return e.kind===`assistant`?e.thread.title:e.thread.title??t.baseText(`commandBar.instanceAi.newThread`)}function h(e){return[{id:`delete`,label:e.baseText(`instanceAi.sidebar.deleteThread`),icon:`trash-2`}]}function g(e,t,n){let r=e.map(e=>({kind:`assistant`,thread:e})),i=t.map(e=>({kind:`agent`,thread:e})),a=[],o=0,s=0;for(;a.length<n.limit&&(o<r.length||s<i.length);){let e=s>=i.length||o<r.length&&r[o].thread.updatedAt>=i[s].thread.updatedAt;a.push(e?r[o++]:i[s++])}let c=n.openThreadId;if(!c||a.some(e=>e.thread.id===c))return a;let l=[...r,...i].find(e=>e.thread.id===c);return l?[...a.slice(0,Math.max(n.limit-1,0)),l]:a}function _(e){let t=e.filter(e=>e.hasMore),n=t.length?Math.max(...t.map(e=>{let t=e.items.at(-1);return t?Date.parse(t.thread.updatedAt):1/0})):-1/0;return e.flatMap(e=>e.items).filter(e=>Date.parse(e.thread.updatedAt)>=n).sort((e,t)=>Date.parse(t.thread.updatedAt)-Date.parse(e.thread.updatedAt))}export{g as a,_ as i,p as n,f as o,m as r,h as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8497393d-90fb-41f2-aa3a-efee3a07753d`,e._sentryDebugIdIdentifier=`sentry-dbid-8497393d-90fb-41f2-aa3a-efee3a07753d`)})()}catch{}import{Kv as e}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8497393d-90fb-41f2-aa3a-efee3a07753d`,e._sentryDebugIdIdentifier=`sentry-dbid-8497393d-90fb-41f2-aa3a-efee3a07753d`)})()}catch{}import{Kv as e}from"./app-oLfukFT9.js";function t(t){let n=e().settings.security?.postMessageAllowedOrigins??[];return n.length===0?!0:t===window.location.origin||n.includes(t)}export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`7387594a-4732-4113-aac4-c6b2682b30a5`,e._sentryDebugIdIdentifier=`sentry-dbid-7387594a-4732-4113-aac4-c6b2682b30a5`)})()}catch{}import{Mb as e,kb as t}from"./app-oLfukFT9.js";var n=[`project`,`folder`,`workflow`,`agent`,`credential`,`execution`,`externalSecretsProvider`,`externalSecret`,`dataTable`,`projectVariable`,`projectAiPreference`,`sourceControl`],r=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.map(t=>`${e}:${t}`)])),i=new Set([...Object.values(r).flat(),...t]),a=i.size;function o(e){let t=e.includes(`workflow:publish`),n=e.includes(`workflow:unpublish`);return t&&!n?[...e,`workflow:unpublish`]:n&&!t?[...e,`workflow:publish`]:e}export{o as a,i,n,a as r,r as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d54d5cce-f8f2-4fbb-a804-c888b0f2919e`,e._sentryDebugIdIdentifier=`sentry-dbid-d54d5cce-f8f2-4fbb-a804-c888b0f2919e`)})()}catch{}import{_y as e,gy as t}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d54d5cce-f8f2-4fbb-a804-c888b0f2919e`,e._sentryDebugIdIdentifier=`sentry-dbid-d54d5cce-f8f2-4fbb-a804-c888b0f2919e`)})()}catch{}import{_y as e,gy as t}from"./app-oLfukFT9.js";async function n(e,n,r=`promote`){return await t(e,`GET`,`/promotions/${n}/changes/${r}`)}async function r(t,n,r){return await e({method:`POST`,baseURL:t.baseUrl,endpoint:`/promotions/projects/${n}/promote`,data:r})}export{r as n,n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`dc0217ef-b12b-407f-a088-743b44787fbf`,e._sentryDebugIdIdentifier=`sentry-dbid-dc0217ef-b12b-407f-a088-743b44787fbf`)})()}catch{}import{Gw as e}from"./app-oLfukFT9.js";var t=e();export{t};
|
package/dist/assets/{promotionsSettings.api-PzSCJER7.js → promotionsSettings.api-Cuy9RjVm.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4501b02a-9264-4fd7-8b2b-25e83e26302f`,e._sentryDebugIdIdentifier=`sentry-dbid-4501b02a-9264-4fd7-8b2b-25e83e26302f`)})()}catch{}import{_y as e}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4501b02a-9264-4fd7-8b2b-25e83e26302f`,e._sentryDebugIdIdentifier=`sentry-dbid-4501b02a-9264-4fd7-8b2b-25e83e26302f`)})()}catch{}import{_y as e}from"./app-oLfukFT9.js";var t=`/promotions`;async function n(e){let t=[],n;do{let r=await e(n);t.push(...r.data),n=r.nextCursor??void 0}while(n);return t}var r=async r=>await n(async n=>await e({method:`GET`,baseURL:r.baseUrl,endpoint:`${t}/providers`,data:{cursor:n}})),i=async(n,r)=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`}),a=async(n,r)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/providers`,data:r}),o=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`,data:i}),s=async(n,r)=>{await e({method:`DELETE`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`})},c=async(r,i={})=>await n(async n=>await e({method:`GET`,baseURL:r.baseUrl,endpoint:`${t}/connections`,data:{...i,cursor:n}})),l=async(n,r)=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}`}),u=async(n,r)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections`,data:r}),d=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}`,data:i}),f=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/apply`,data:i}),p=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/promote`,data:i}),m=async(n,r,i)=>{await e({method:`DELETE`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/${i}`})},h=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/${i}/clone`}),g=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/${i}/disconnect`}),_=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/promote`,data:i}),v=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/apply`,data:i}),y=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/apply/continue`,data:i}),b=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/projects/${r}/apply`,data:i}),x=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/projects/${r}/apply/continue`,data:i});export{o as _,y as a,m as c,l as d,c as f,d as g,_ as h,x as i,s as l,r as m,v as n,u as o,i as p,h as r,a as s,b as t,g as u,f as v,p as y};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`55592865-3821-4b42-a273-9185e128cb0a`,e._sentryDebugIdIdentifier=`sentry-dbid-55592865-3821-4b42-a273-9185e128cb0a`)})()}catch{}import{ol as e}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`55592865-3821-4b42-a273-9185e128cb0a`,e._sentryDebugIdIdentifier=`sentry-dbid-55592865-3821-4b42-a273-9185e128cb0a`)})()}catch{}import{ol as e}from"./app-oLfukFT9.js";export{e as usePushConnectionStore};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`f0b9415b-a807-4c8c-9231-662368f7a0b7`,e._sentryDebugIdIdentifier=`sentry-dbid-f0b9415b-a807-4c8c-9231-662368f7a0b7`)})()}catch{}import{Af as e,Nf as t,Pd as n,Vu as r,cs as i,go as a,jf as o,ss as s,yf as c}from"./vendor-DS7UZyZ6.js";import{Bv as l,FT as u,Gh as d,Gv as f,Hv as p,Kv as m,O as h,QS as g,Uv as _,_p as v,ad as y,fS as b,gv as x,if as S,jS as C,kp as w,xa as T,zv as E}from"./app-oLfukFT9.js";var D={name:`AI Agent workflow`,meta:{templateId:`ready-to-run-ai-workflow`},nodes:[{parameters:{url:`https://www.theverge.com/rss/index.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[128,448],id:`a26f16ce-82a5-4392-a032-622467e0098f`,name:`Get Tech News`},{parameters:{toolDescription:`Reads the news`,url:`=https://feeds.bbci.co.uk/news/world/rss.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[272,448],id:`91d1a929-b913-4399-977a-4306fe8349c7`,name:`Get World News`},{parameters:{model:{__rl:!0,mode:`list`,value:`gpt-5.6-luna`},responsesApiEnabled:!0,options:{}},type:`@n8n/n8n-nodes-langchain.lmChatOpenAi`,typeVersion:1.3,position:[-144,448],id:`482c5e90-74ea-424c-9ec3-1dc14dd460f9`,name:`OpenAI Model`,notesInFlow:!0,credentials:{},notes:`Free n8n credits `},{parameters:{promptType:`define`,text:`=Provide a summary of world and tech news from the last 24 hours.
|
|
2
2
|
|
|
3
3
|
- Use the headings "World News" and "Tech News."
|
|
4
4
|
- Exclude comments, insights, and any news that is considered sad or distressing.
|
|
@@ -7,7 +7,7 @@ try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof g
|
|
|
7
7
|
- Consider today to be {{ $today }}.
|
|
8
8
|
`,options:{}},type:`@n8n/n8n-nodes-langchain.agent`,typeVersion:3.1,position:[-144,192],id:`62d75a96-d7de-4618-a79e-1ca945e5db3e`,name:`AI Summary Agent`,notesInFlow:!0,notes:`Double-click to open`},{parameters:{content:`✅ This demo workflow is ready to use
|
|
9
9
|
✨ We gave you free OpenAI credits to play with`,height:256,width:400,color:4},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-672,112],id:`0b71e8e9-e824-46a0-b1da-df4827ef6954`,name:`Sticky Note2`},{parameters:{subject:`Your news daily summary`,emailType:`text`,message:`={{ $json.output }}`,options:{}},type:`n8n-nodes-base.gmail`,typeVersion:2.1,position:[688,192],id:`a7f201ba-9d35-4d4e-a425-77bda8a4d2cf`,name:`Send summary with Gmail`,webhookId:`e0c46fef-51f3-4a8d-8aaf-b6e17ea89346`,notesInFlow:!0,notes:`Double-click to open`},{parameters:{content:`### ✨ Bonus step
|
|
10
|
-
Send the news summary via email. Open the node and connect your Gmail account [(= new credential)](https://www.youtube.com/shorts/2K6ltfI4YRg)`,height:96,width:384,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[544,48],id:`72b95793-9f63-4fe0-aebc-8ca0d3796e9b`,name:`Sticky Note`},{parameters:{assignments:{assignments:[{id:`85b5c530-2c13-4424-ab83-05979bc879a5`,name:`output`,value:`={{ $json.output }}`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[256,192],id:`346ea905-9762-4349-8b8b-3cb137837fda`,name:`Output (News summary)`,notesInFlow:!0,notes:`Double-click to open`},{parameters:{},type:`n8n-nodes-base.manualTrigger`,typeVersion:1,position:[-432,192],id:`909e2605-386c-46bc-acff-97f132431d92`,name:`Workflow trigger`}],connections:{"Get Tech News":{ai_tool:[[{node:`AI Summary Agent`,type:`ai_tool`,index:0}]]},"Get World News":{ai_tool:[[{node:`AI Summary Agent`,type:`ai_tool`,index:0}]]},"OpenAI Model":{ai_languageModel:[[{node:`AI Summary Agent`,type:`ai_languageModel`,index:0}]]},"AI Summary Agent":{main:[[{node:`Output (News summary)`,type:`main`,index:0}]]},"Output (News summary)":{main:[[]]},"Workflow trigger":{main:[[{node:`AI Summary Agent`,type:`main`,index:0}]]}},pinData:{}},O=()=>{let e=s(),t=n(()=>e.params?.projectId!==void 0);return o({isOverviewSubPage:n(()=>e.params?.projectId===void 0),isSharedSubPage:n(()=>e.name===
|
|
10
|
+
Send the news summary via email. Open the node and connect your Gmail account [(= new credential)](https://www.youtube.com/shorts/2K6ltfI4YRg)`,height:96,width:384,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[544,48],id:`72b95793-9f63-4fe0-aebc-8ca0d3796e9b`,name:`Sticky Note`},{parameters:{assignments:{assignments:[{id:`85b5c530-2c13-4424-ab83-05979bc879a5`,name:`output`,value:`={{ $json.output }}`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[256,192],id:`346ea905-9762-4349-8b8b-3cb137837fda`,name:`Output (News summary)`,notesInFlow:!0,notes:`Double-click to open`},{parameters:{},type:`n8n-nodes-base.manualTrigger`,typeVersion:1,position:[-432,192],id:`909e2605-386c-46bc-acff-97f132431d92`,name:`Workflow trigger`}],connections:{"Get Tech News":{ai_tool:[[{node:`AI Summary Agent`,type:`ai_tool`,index:0}]]},"Get World News":{ai_tool:[[{node:`AI Summary Agent`,type:`ai_tool`,index:0}]]},"OpenAI Model":{ai_languageModel:[[{node:`AI Summary Agent`,type:`ai_languageModel`,index:0}]]},"AI Summary Agent":{main:[[{node:`Output (News summary)`,type:`main`,index:0}]]},"Output (News summary)":{main:[[]]},"Workflow trigger":{main:[[{node:`AI Summary Agent`,type:`main`,index:0}]]}},pinData:{}},O=()=>{let e=s(),t=n(()=>e.params?.projectId!==void 0);return o({isOverviewSubPage:n(()=>e.params?.projectId===void 0),isSharedSubPage:n(()=>e.name===l.SHARED_WITH_ME||e.name===l.SHARED_WORKFLOWS||e.name===l.SHARED_CREDENTIALS),isProjectsSubPage:t,isWorkflowReviewsSubPage:n(()=>e.name===h)})};function k(){let e=T(),t=v(),r=w(),i=y(),a=O(),o=s();return{isTrulyEmpty:(n=o)=>{let s=e.workflowsCountLoaded&&e.totalWorkflowCount===0,c=t.allCredentials.length===0,l=r.variables.length===0,u=i.totalCount===0,d=!n.params?.folderId,f=a.isOverviewSubPage,p=!!n.query?.search,m=!!(n.query?.status||n.query?.tags||n.query?.showArchived||n.query?.homeProject);return s&&c&&l&&u&&d&&f&&!p&&!m},hasKnownInstanceContent:n(()=>e.totalWorkflowCount>0||t.allCredentials.length>0||r.variables.length>0||i.totalCount>0)}}var A={name:`Chat with the news`,meta:{templateId:`ready-to-run-ai-workflow-v5`},settings:{executionOrder:`v1`},nodes:[{parameters:{options:{}},type:`@n8n/n8n-nodes-langchain.chatTrigger`,typeVersion:1.4,position:[288,0],id:`261ee04a-4695-4d1a-bec3-9f86b5efd5eb`,name:`When chat message received`,webhookId:`b567d98b-aabb-4963-b0f8-6b1e8b5f8959`},{parameters:{model:{__rl:!0,mode:`list`,value:`gpt-5.6-luna`},responsesApiEnabled:!0,options:{}},type:`@n8n/n8n-nodes-langchain.lmChatOpenAi`,typeVersion:1.3,position:[400,288],id:`201ee441-da46-49fc-befa-312ad4b60479`,name:`OpenAI Model`,credentials:{}},{parameters:{},type:`@n8n/n8n-nodes-langchain.memoryBufferWindow`,typeVersion:1.3,position:[576,288],id:`aa874554-17b1-41a1-9e1f-8c6c197e7e2f`,name:`Simple Memory`},{parameters:{url:`https://hnrss.org/frontpage`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[1120,288],id:`5788980c-2a63-40ed-a375-c68ca7a3b9c0`,name:`Hackernews`},{parameters:{url:`https://www.theverge.com/rss/index.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[960,288],id:`f250ef18-d913-4a76-a607-b1eeebcbab23`,name:`TheVerge`},{parameters:{url:`https://feeds.bbci.co.uk/news/rss.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[800,288],id:`0c375d2e-4b2d-4fa6-8b3e-31ac931117cb`,name:`BBC News`},{parameters:{content:`✅ This AI News agent is ready to use. Chat with it!
|
|
11
11
|
✨ We gave you free OpenAI credits
|
|
12
12
|
💡 Learn [how to build](https://n8n.io/workflows/6270-build-your-first-ai-agent/) your own agent `,height:80,width:448,color:4},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[0,-176],id:`052068ba-ea50-4521-9946-63ded13b23b0`,name:`Sticky Note2`},{parameters:{options:{systemMessage:`=News Agent
|
|
13
13
|
|
|
@@ -89,4 +89,4 @@ You always keep replies **short and focused (maximum 100 words total)**.
|
|
|
89
89
|
# Date
|
|
90
90
|
|
|
91
91
|
Today is {{ $today }}
|
|
92
|
-
`}},type:`@n8n/n8n-nodes-langchain.agent`,typeVersion:3,position:[192,64],id:`ce5dd204-b9d3-4455-ab0c-0c2ce314ad52`,name:`AI Agent`}],pinData:{},connections:{"When chat message received":{main:[[{node:`AI Agent`,type:`main`,index:0}]]},"OpenAI Model":{ai_languageModel:[[{node:`AI Agent`,type:`ai_languageModel`,index:0}]]},"Simple Memory":{ai_memory:[[{node:`AI Agent`,type:`ai_memory`,index:0}]]},Hackernews:{ai_tool:[[{node:`AI Agent`,type:`ai_tool`,index:0}]]},TheVerge:{ai_tool:[[{node:`AI Agent`,type:`ai_tool`,index:0}]]},"BBC News":{ai_tool:[[{node:`AI Agent`,type:`ai_tool`,index:0}]]},"Google Sheets":{ai_tool:[[]]}}},M=a(
|
|
92
|
+
`}},type:`@n8n/n8n-nodes-langchain.agent`,typeVersion:3,position:[192,64],id:`ce5dd204-b9d3-4455-ab0c-0c2ce314ad52`,name:`AI Agent`}],pinData:{},connections:{"When chat message received":{main:[[{node:`AI Agent`,type:`main`,index:0}]]},"OpenAI Model":{ai_languageModel:[[{node:`AI Agent`,type:`ai_languageModel`,index:0}]]},"Simple Memory":{ai_memory:[[{node:`AI Agent`,type:`ai_memory`,index:0}]]},Hackernews:{ai_tool:[[{node:`AI Agent`,type:`ai_tool`,index:0}]]},TheVerge:{ai_tool:[[{node:`AI Agent`,type:`ai_tool`,index:0}]]},"BBC News":{ai_tool:[[{node:`AI Agent`,type:`ai_tool`,index:0}]]},"Google Sheets":{ai_tool:[[]]}}},M=a(g.EXPERIMENT_READY_TO_RUN_WORKFLOWS_V2,()=>{let e=d(),t=p(),r=n(()=>e.getVariant(x.name)),i=n(()=>r.value===x.variant5),a=n(()=>r.value===x.variant6),o=n(()=>t.userIsTrialing&&(i.value||a.value));return{currentVariant:r,getWorkflowForVariant:()=>{if(o.value){if(i.value)return A;if(a.value)return j}},isFeatureEnabled:o}}),N=`N8N_READY_TO_RUN_OPENAI_CREDENTIAL_ID`,P=a(g.READY_TO_RUN,()=>{let a=[`ready-to-run-ai-workflow`,`ready-to-run-ai-workflow-v5`,`ready-to-run-ai-workflow-v6`],o=_(),s=u(),d=E(),p=i(),h=v(),g=f(),y=m(),x=S(),w=M(),T=r(N,``),O=t(!1),A=n(()=>!!h.allCredentials.filter(e=>e.type===C).length),j=n(()=>!!g.currentUser?.settings?.userClaimedAiCredits),P=336*60*60*1e3,F=t(Date.now()),I,L=()=>{I!==void 0&&(clearTimeout(I),I=void 0)},R=()=>{let e=g.currentUser?.createdAt;if(!e)return;let t=new Date(e).getTime();return Number.isFinite(t)?t:void 0},z=()=>{L();let e=R();if(e===void 0)return;let t=e+P-Date.now();t<=0||(I=setTimeout(()=>{F.value=Date.now(),I=void 0},t))};c(()=>g.currentUser?.createdAt,()=>{F.value=Date.now(),z()},{immediate:!0}),e(()=>{L()});let B=()=>{let e=R();return e===void 0?!1:F.value-e<P},V=n(()=>y.isAiCreditsEnabled&&!A.value&&!j.value),H=e=>{o.track(`User executed ready to run AI workflow`,{status:e})},U=()=>{o.track(`User executed ready to run AI workflow successfully`)},W=async e=>{O.value=!0;try{let t=await h.claimFreeAiCredits(e);return T.value=t.id,o.track(`User claimed OpenAI credits`),t}catch(e){throw d.showError(e,s.baseText(`freeAi.credits.showError.claim.title`),{message:s.baseText(`freeAi.credits.showError.claim.message`)}),e}finally{O.value=!1}},G=()=>w.getWorkflowForVariant()??D,K=async(e,t)=>{o.track(`User opened ready to run AI workflow`,{source:e});try{let e={...G(),parentFolderId:t},n=T.value;if(n&&e.nodes){let t=b(e),r=t.nodes?.find(e=>e.name===`OpenAI Model`);r&&(r.credentials??={},r.credentials[C]={id:n,name:``}),e=t}let r=await x.createNewWorkflow(e);return await p.push({name:l.WORKFLOW,params:{workflowId:r.id}}),r}catch(e){throw d.showError(e,s.baseText(`generic.error`)),e}},q=async(e,t,n)=>{await W(n),await K(e,t),g?.currentUser?.settings&&(g.currentUser.settings.userClaimedAiCredits=!0)},J=(e,t)=>V.value&&!t&&e,Y=(e,t,n)=>V.value&&!n&&t&&e&&B(),{isTrulyEmpty:X}=k();return{claimingCredits:O,userCanClaimOpenAiCredits:V,claimFreeAiCredits:W,createAndOpenAiWorkflow:K,claimCreditsAndOpenWorkflow:q,getCardVisibility:J,getButtonVisibility:Y,getSimplifiedLayoutVisibility:e=>X(e),trackExecuteAiWorkflow:H,trackExecuteAiWorkflowSuccess:U,isReadyToRunTemplateId:e=>!!e&&a.includes(e)}});export{D as a,O as i,A as n,k as r,P as t};
|
package/dist/assets/{readyToRunWorkflows.store-BbZiyJYg.js → readyToRunWorkflows.store-BjTR-K95.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`118bf5d6-4448-4549-8515-2015efa0c6b9`,e._sentryDebugIdIdentifier=`sentry-dbid-118bf5d6-4448-4549-8515-2015efa0c6b9`)})()}catch{}import{Pd as e,Vu as t,go as n}from"./vendor-DS7UZyZ6.js";import{FT as r,Gh as i,Hv as a,QS as o,Uv as s,av as c,if as l,xa as u}from"./app-oLfukFT9.js";var d={meta:{templateId:`37_onboarding_experiments_batch_aug11-1_filter_data`},name:`▶️ 1. Filter data coming from an API`,nodes:[{parameters:{},type:`n8n-nodes-base.merge`,typeVersion:3.2,position:[448,176],id:`01f2f222-4ff2-41ec-afd9-68496d2e0cb3`,name:`Merge`},{parameters:{},type:`n8n-nodes-base.manualTrigger`,typeVersion:1,position:[-768,192],id:`e5ef1b32-ce8a-4c71-aa14-6885a09feabe`,name:`When clicking ‘Execute workflow’`},{parameters:{assignments:{assignments:[{id:`2fd0b039-7dd9-4666-bc24-d3a81e6d4b68`,name:`quote_category`,value:`Personal`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[160,272],id:`42d065cd-1580-4b2a-8cc6-796be9a1da2a`,name:`Set Category = Personal`},{parameters:{assignments:{assignments:[{id:`1ff91e4a-8460-4991-a273-c5f24b4038e9`,name:`quote_category`,value:`team`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[160,64],id:`a5259694-11ed-442c-be2a-e0000926fb30`,name:`Set Category = Team`},{parameters:{assignments:{assignments:[{id:`c014a174-3f17-41bf-9fa5-19e822427346`,name:`author`,value:`={{ $('Make an API request to get a random quote').item.json.author }}`,type:`string`},{id:`1d60a497-d964-406b-96fc-0206c82d5742`,name:`quote`,value:`={{ $('Make an API request to get a random quote').item.json.quote }}`,type:`string`},{id:`5faf3496-8aa3-4a71-934c-6c5e3f08100b`,name:`quote_category`,value:`={{ $json.quote_category }}`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[736,176],id:`82b78022-f986-4bb0-aac8-f34558d46e5d`,name:`Quote with category`},{parameters:{content:"The node below is an `HTTP Node`. It makes a request to an API, which returns a single random quote. ",height:512,width:304,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-512,-48],id:`d6145c80-0504-4a0b-bfd7-5e85867b3d76`,name:`Sticky Note3`},{parameters:{content:'The `Filter node` checks if the quote contains "you" or "your" , to categorise the quote.\n\nIf matched, we create a `quote_category` variable in the `Set node` , with the value to "Team"',height:512,width:496,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-160,-48],id:`75efc471-b2a7-4cb0-8299-f7ad710ff67e`,name:`Sticky Note5`},{parameters:{content:`You can reference data input from earlier nodes. We use here the \`author\` variable which was returned from the first node, the API request.
|
|
2
2
|
|
|
3
3
|
`,height:512,width:288,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[640,-48],id:`9df256c6-a437-4a53-a760-e6964e73c5c3`,name:`Sticky Note6`},{parameters:{content:"The `Merge` combines the outputs of both branches into a single list.\n",height:512,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[368,-48],id:`ad7ec1f3-7a95-444f-a5b8-363fc1224f95`,name:`Sticky Note8`},{parameters:{content:`### ⏩ Next up:
|
|
4
4
|
|
|
@@ -191,4 +191,4 @@ Today in {{ $('Set your location').item.json.City }}:
|
|
|
191
191
|
Impress your colleagues by reminding them that: {{ $json['On this day'] }}
|
|
192
192
|
|
|
193
193
|
(Historical fact generated by numbersapi.com)
|
|
194
|
-
`,options:{}},type:`n8n-nodes-base.gmail`,typeVersion:2.1,position:[1264,-192],id:`4a23b2b5-21f7-4a63-a1ab-9f18d6ce2e6a`,name:`Send output via email using Gmail`,webhookId:`65c7b462-bb4a-400c-a556-ef408efcd208`,notesInFlow:!0,notes:`Double-click here to connect!`}],pinData:{},connections:{"Get city latitude and longitude":{main:[[{node:`Limit`,type:`main`,index:0}]]},"Get weather":{main:[[{node:`Get today's high and low`,type:`main`,index:0}]]},"Set your location":{main:[[{node:`Get city latitude and longitude`,type:`main`,index:0}]]},Merge:{main:[[{node:`Aggregate`,type:`main`,index:0}]]},Aggregate:{main:[[{node:`Select output for the email`,type:`main`,index:0}]]},"Get today's high and low":{main:[[{node:`Merge`,type:`main`,index:2}]]},Limit:{main:[[{node:`Get weather`,type:`main`,index:0}]]},"1. Click 'Execute workflow’":{main:[[{node:`Set current day and month`,type:`main`,index:0},{node:`Set your location`,type:`main`,index:0},{node:`Set exchange currency`,type:`main`,index:0}]]},"Set current day and month":{main:[[{node:`Get a historical fact`,type:`main`,index:0}]]},"Set exchange currency":{main:[[{node:`Get exchange rates`,type:`main`,index:0}]]},"Get a historical fact":{main:[[{node:`Merge`,type:`main`,index:0}]]},"Get exchange rates":{main:[[{node:`Merge`,type:`main`,index:1}]]},"Select output for the email":{main:[[]]}}},h=`N8N_READY_TO_RUN_WORKFLOWS_DISMISSED`,g=n(
|
|
194
|
+
`,options:{}},type:`n8n-nodes-base.gmail`,typeVersion:2.1,position:[1264,-192],id:`4a23b2b5-21f7-4a63-a1ab-9f18d6ce2e6a`,name:`Send output via email using Gmail`,webhookId:`65c7b462-bb4a-400c-a556-ef408efcd208`,notesInFlow:!0,notes:`Double-click here to connect!`}],pinData:{},connections:{"Get city latitude and longitude":{main:[[{node:`Limit`,type:`main`,index:0}]]},"Get weather":{main:[[{node:`Get today's high and low`,type:`main`,index:0}]]},"Set your location":{main:[[{node:`Get city latitude and longitude`,type:`main`,index:0}]]},Merge:{main:[[{node:`Aggregate`,type:`main`,index:0}]]},Aggregate:{main:[[{node:`Select output for the email`,type:`main`,index:0}]]},"Get today's high and low":{main:[[{node:`Merge`,type:`main`,index:2}]]},Limit:{main:[[{node:`Get weather`,type:`main`,index:0}]]},"1. Click 'Execute workflow’":{main:[[{node:`Set current day and month`,type:`main`,index:0},{node:`Set your location`,type:`main`,index:0},{node:`Set exchange currency`,type:`main`,index:0}]]},"Set current day and month":{main:[[{node:`Get a historical fact`,type:`main`,index:0}]]},"Set exchange currency":{main:[[{node:`Get exchange rates`,type:`main`,index:0}]]},"Get a historical fact":{main:[[{node:`Merge`,type:`main`,index:0}]]},"Get exchange rates":{main:[[{node:`Merge`,type:`main`,index:1}]]},"Select output for the email":{main:[[]]}}},h=`N8N_READY_TO_RUN_WORKFLOWS_DISMISSED`,g=n(o.EXPERIMENT_READY_TO_RUN_WORKFLOWS,()=>{let n=s(),o=r(),g=u(),_=l(),v=i(),y=a(),b=e(()=>{let e=v.getVariant(c.name);return[c.variantReadyToRun,c.variantReadyToRun2,c.variantReadyToRun3].some(t=>t===e)&&y.userIsTrialing}),x=t(h,!1),S=e(()=>x.value),C=()=>{x.value=!0},w=e=>{n.track(`User created ready to run workflows`,{source:e})},T=()=>{n.track(`User dismissed ready to run workflows callout`)},E=e=>{n.track(`User opened ready to run workflow`,{template:e})},D=(e,t)=>{n.track(`User executed ready to run workflow`,{template:e,status:t})};function O(){switch(v.getVariant(c.name)){case c.variantReadyToRun:return o.baseText(`workflows.readyToRunWorkflows.card`);case c.variantReadyToRun2:return o.baseText(`workflows.readyToRunWorkflows.card2`);case c.variantReadyToRun3:return o.baseText(`workflows.readyToRunWorkflows.card3`);default:return``}}function k(){switch(v.getVariant(c.name)){case c.variantReadyToRun:return o.baseText(`workflows.readyToRunWorkflows.callout`);case c.variantReadyToRun2:return o.baseText(`workflows.readyToRunWorkflows.callout2`);case c.variantReadyToRun3:return o.baseText(`workflows.readyToRunWorkflows.callout3`);default:return``}}return{isFeatureEnabled:b,isCalloutDismissed:S,createWorkflows:async(e,t)=>{let n=await g.createFolder(o.baseText(`workflows.readyToRunWorkflows.folder.name`),e,t),r={...d,parentFolderId:n.id},i={...f,parentFolderId:n.id},a={...p,parentFolderId:n.id},s={...m,parentFolderId:n.id};return await _.createNewWorkflow(s),await _.createNewWorkflow(a),await _.createNewWorkflow(i),await _.createNewWorkflow(r),C(),n},dismissCallout:C,trackCreateWorkflows:w,trackDismissCallout:T,trackOpenWorkflow:E,trackExecuteWorkflow:D,getCardText:O,getCalloutText:k}});export{g as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`058994e9-d87c-46d0-b4fe-fa3088b2064f`,e._sentryDebugIdIdentifier=`sentry-dbid-058994e9-d87c-46d0-b4fe-fa3088b2064f`)})()}catch{}import{Nf as e,Pd as t,cs as n,go as r}from"./vendor-DS7UZyZ6.js";import{Bv as i,Gh as a,Rd as o,Uv as s,_v as c,fS as l,if as u,jS as d}from"./app-oLfukFT9.js";import{a as f,n as p,t as m}from"./readyToRun.store-CE87oIgp.js";var h=[{id:`chat-with-the-news`,name:`AI Agent: Chat with the news`,description:`Chat with an AI agent about the latest news`,workflow:p,nodeTypes:[`@n8n/n8n-nodes-langchain.chatTrigger`,`@n8n/n8n-nodes-langchain.agent`]},{id:`summarize-the-news`,name:`AI Workflow: Summarize the news`,description:`Get AI-powered news summaries from top sources`,workflow:f,nodeTypes:[`n8n-nodes-base.rssFeedReadTool`,`@n8n/n8n-nodes-langchain.agent`]}],g=`N8N_READY_TO_RUN_OPENAI_CREDENTIAL_ID`,_=`n8n-resourceCenter-sidebarAutoExpanded`,v=r(`resourceCenter`,()=>{let r=a(),f=o(),p=u(),v=m(),y=s(),b=n(),x=e(!1),S=e(localStorage.getItem(_)===`true`),C=()=>r.isVariantEnabled(c.name,c.variant);async function w(e){try{return await f.fetchTemplateById(e.toString())}catch(t){return console.error(`Failed to fetch template ${e}:`,t),null}}async function T(e){x.value=!0;try{let t=e.map(async e=>await w(e));return(await Promise.allSettled(t)).filter(e=>e.status===`fulfilled`&&e.value!==null).map(e=>e.value)}finally{x.value=!1}}function E(e){return{name:i.TEMPLATE,params:{id:e}}}function D(){y.track(`User visited resource center`)}function O(e,t,n){y.track(`User clicked on resource center tile`,{section:e,type:t,id:n})}async function k(e){let t=h.find(t=>t.id===e);if(!t)return;v.userCanClaimOpenAiCredits&&await v.claimFreeAiCredits();let n={...t.workflow,name:t.name},r=localStorage.getItem(g);if(r&&n.nodes){let e=l(n),t=e.nodes?.find(e=>e.name===`OpenAI Model`);t&&(t.credentials??={},t.credentials[d]={id:r,name:``}),n=e}let a=await p.createNewWorkflow(n);await b.push({name:i.WORKFLOW,params:{workflowId:a.id}})}let A=t(()=>C()&&!S.value);function j(){S.value=!0,localStorage.setItem(_,`true`)}return{isFeatureEnabled:C,isLoadingTemplates:x,shouldAutoExpandSidebar:A,fetchTemplateById:w,loadTemplates:T,getTemplateRoute:E,createAndOpenQuickStartWorkflow:k,markSidebarAutoExpanded:j,trackResourceCenterView:D,trackTileClick:O}});export{h as n,v as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`bf20ad71-8d9a-4409-ae46-cecce6718f8a`,e._sentryDebugIdIdentifier=`sentry-dbid-bf20ad71-8d9a-4409-ae46-cecce6718f8a`)})()}catch{}import"./insights.store-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`bf20ad71-8d9a-4409-ae46-cecce6718f8a`,e._sentryDebugIdIdentifier=`sentry-dbid-bf20ad71-8d9a-4409-ae46-cecce6718f8a`)})()}catch{}import"./insights.store-qL6q61kW.js";import"./InsightsSummary-A9X8mv3i.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4d3d8abe-7d12-4fd6-96e6-225a68f56852`,e._sentryDebugIdIdentifier=`sentry-dbid-4d3d8abe-7d12-4fd6-96e6-225a68f56852`)})()}catch{}import{t as e}from"./insights.store-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`4d3d8abe-7d12-4fd6-96e6-225a68f56852`,e._sentryDebugIdIdentifier=`sentry-dbid-4d3d8abe-7d12-4fd6-96e6-225a68f56852`)})()}catch{}import{t as e}from"./insights.store-qL6q61kW.js";import"./InsightsSummary-A9X8mv3i.js";import"./src-BU6D5L7U.js";export{e as useInsightsStore};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`7f5a7885-b08b-4c45-a844-bbf54718b0c5`,e._sentryDebugIdIdentifier=`sentry-dbid-7f5a7885-b08b-4c45-a844-bbf54718b0c5`)})()}catch{}import{Pd as e,go as t}from"./vendor-DS7UZyZ6.js";import{Gh as n,Hd as r,QS as i,Uv as a,yv as o}from"./app-oLfukFT9.js";var s=t(i.EXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS,()=>{let t=n(),i=a(),s=e(()=>t.getVariant(o.name)),c=e(()=>{let e=s.value;return e===o.variant1||e===o.variant2}),l=e(()=>!!s.value),u=(e={})=>r(o,s.value,e);function d(e,t,n){i.track(`MCP onboarding entry point viewed`,u({surface:e,entry_point:t,mcp_access_enabled:n}))}function f(e,t,n,r,a){i.track(`MCP onboarding opportunity viewed`,u({surface:e,entry_point:t,eligible:!0,surface_available:n,suppressed_by:r,mcp_access_enabled:a}))}function p(e,t={}){i.track(`MCP onboarding opened`,u({surface:e,...t.entryPoint?{entry_point:t.entryPoint}:{},...t.mcpAccessEnabled===void 0?{}:{mcp_access_enabled:t.mcpAccessEnabled}}))}function m(e,t={}){i.track(`MCP onboarding dismissed`,u({surface:e,...t.activeClient?{active_client:t.activeClient}:{},...t.enabledDuringThisOpen===void 0?{}:{enabled_during_this_open:t.enabledDuringThisOpen},...t.mcpAccessEnabled===void 0?{}:{mcp_access_enabled:t.mcpAccessEnabled}}))}function h(e){i.track(`MCP onboarding enable clicked`,u({surface:e}))}function g(e){i.track(`MCP onboarding enabled`,u({surface:e}))}function _(e,t){i.track(`MCP onboarding enable failed`,u({surface:e,error_type:t}))}function v(e,t){i.track(`MCP onboarding client selected`,u({surface:e,client:t}))}function y(e,t,n){i.track(`MCP onboarding setup shown`,u({surface:e,client:t,setup_type:n}))}function b(e,t,n){i.track(`MCP onboarding copied parameter`,u({surface:e,client:t,parameter:n}))}return{currentVariant:s,isEnabled:l,isTileVariant:c,trackEntryPointViewed:d,trackOpportunityViewed:f,trackOpened:p,trackDismissed:m,trackEnableClicked:h,trackEnabled:g,trackEnableFailed:_,trackClientSelected:v,trackSetupShown:y,trackCopiedParameter:b}});export{s as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`81774856-8a7c-400b-97b4-1ea2e70daf83`,e._sentryDebugIdIdentifier=`sentry-dbid-81774856-8a7c-400b-97b4-1ea2e70daf83`)})()}catch{}import{Bv as e,Nh as t,Ql as n,Rm as r,Wh as i,Yl as a,jf as o,vy as s}from"./app-
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`81774856-8a7c-400b-97b4-1ea2e70daf83`,e._sentryDebugIdIdentifier=`sentry-dbid-81774856-8a7c-400b-97b4-1ea2e70daf83`)})()}catch{}import{Bv as e,Nh as t,Ql as n,Rm as r,Wh as i,Yl as a,jf as o,vy as s}from"./app-oLfukFT9.js";async function c(e){let{credentialOverrides:i,nodeTypeProvider:o,rootStore:s,template:c,workflowsStore:l}=e,u=await t(s.restApiContext,{name:c.name}),d=n(o,c.workflow.nodes,i);e.clearResourceLocators&&(d=a(d));let f=r(d),p=c.workflow.connections,m={name:u.name,nodes:f,connections:p,active:!1,meta:{templateId:c.id.toString()},pinData:c.readyToDemo?c.workflow.pinData??{}:{}};return await l.createNewWorkflow(m)}async function l(t){let{router:n,templateId:r,inNewBrowserTab:i=!1,telemetry:a,source:o}=t;a.track(`User opened cred setup`,{source:o});let s={name:e.TEMPLATE_SETUP,params:{id:r}};if(i){let e=n.resolve(s);window.open(e.href,`_blank`)}else await n.push(s)}async function u(t){let{externalHooks:n,templateId:r,templatesStore:a,inNewBrowserTab:o,router:s}=t,c={name:e.TEMPLATE_IMPORT,params:{id:r}},l={source:`workflow`,template_id:i(r),wf_template_repo_session_id:a.currentSessionId};if(await n.run(`templatesWorkflowView.openWorkflow`,l),o){let e=s.resolve(c);window.open(e.href,`_blank`)}else await s.push(c)}function d(e,t){return t.workflow.nodes.some(t=>o(e,t))}async function f(e,t){return e.getFullTemplateById(t)||(await e.fetchTemplateById(t),e.getFullTemplateById(t))}async function p(e){let{nodeTypesStore:t,templateId:n,templatesStore:r}=e,[i]=await Promise.all([f(r,n),t.loadNodeTypesIfNotLoaded()]);s(i),d(t,i)?await l(e):await u(e)}export{p as n,c as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5bc8a7a3-e652-46b0-bb97-93f7de6021a0`,e._sentryDebugIdIdentifier=`sentry-dbid-5bc8a7a3-e652-46b0-bb97-93f7de6021a0`)})()}catch{}import{Nf as e,go as t}from"./vendor-DS7UZyZ6.js";import{FT as n,gy as r,qv as i}from"./app-oLfukFT9.js";function a(){return{status:`all`,origin:`all`,startDate:``,endDate:``}}var o=(e,t)=>`/projects/${encodeURIComponent(e)}/agents/v2/${encodeURIComponent(t)}`,s=async(e,t,n,i)=>{let a=new URLSearchParams({limit:String(i.limit)});i.cursor&&a.set(`cursor`,i.cursor),i.previewOnly&&a.set(`previewOnly`,`true`);let{filters:s}=i;return s?.status&&s.status!==`all`&&a.set(`status`,s.status),s?.origin&&s.origin!==`all`&&a.set(`origin`,s.origin),s?.startDate&&a.set(`updatedAfter`,new Date(s.startDate).toISOString()),s?.endDate&&a.set(`updatedBefore`,new Date(s.endDate).toISOString()),await r(e,`GET`,`${o(t,n)}/threads?${a.toString()}`)},c=async(e,t,n,i)=>await r(e,`GET`,`${o(t,n)}/threads/${encodeURIComponent(i)}`),l=async(e,t,n,i)=>await r(e,`DELETE`,`${o(t,n)}/threads/${encodeURIComponent(i)}`),u=async(e,t,n,i)=>await r(e,`POST`,`${o(t,n)}/threads/${encodeURIComponent(i)}/langsmith-export`),d=20,f=5e3,p=t(`agentSessions`,()=>{let t=e([]),n=e([]),r=e(!1),o=e(null),p=e(!1),m=e(!0),h=e(a()),g=null,_=null,v=null,y=!1,b=0,x=0,S=null;function C(e,t,n){return`${e}:${t}:${JSON.stringify(n)}`}let w=null;async function T(e,t,n={}){await Promise.all([D(e,t,n),E(e,t)])}async function E(e,t){let a=`${e}:${t}`;S!==a&&(n.value=[]),S=a;let o=++x;r.value=!0;try{let r=await s(i().restApiContext,e,t,{limit:d,previewOnly:!0});if(o!==x)return;n.value=r.threads}finally{o===x&&(r.value=!1)}}async function D(e,n,r){_=e,v=n;let a=r.filters??h.value,c=C(e,n,a);w=c,p.value=!0;try{let r=await s(i().restApiContext,e,n,{limit:d,filters:a});if(w!==c)return;t.value=r.threads,o.value=r.nextCursor}finally{w===c&&(p.value=!1)}}async function O(e,t){_!==e||v!==t||await Promise.all([k(e,t),E(e,t).catch(()=>{})])}async function k(e,n){let r=h.value,a=C(e,n,r);if(w!==null&&w!==a)return;let c=++b,l=t.value.length,u=o.value;try{let f=i(),m=Math.max(t.value.length,d),h=await s(f.restApiContext,e,n,{limit:m,filters:r});if(w!==a||c!==b)return;let g=[...h.threads],_=new Set(g.map(({id:e})=>e));for(;g.length<m&&h.nextCursor;){if(h=await s(f.restApiContext,e,n,{limit:m-g.length,cursor:h.nextCursor,filters:r}),w!==a||c!==b)return;g.push(...h.threads.filter(({id:e})=>!_.has(e)));for(let{id:e}of h.threads)_.add(e)}if(p.value||t.value.length!==l||o.value!==u)return;t.value=g,o.value=h.nextCursor}catch{}}async function A(e,n){if(!o.value||p.value)return;let r=C(e,n,h.value);if(!(w!==null&&w!==r)){p.value=!0;try{let a=await s(i().restApiContext,e,n,{limit:d,cursor:o.value,filters:h.value});if(w!==r)return;let c=new Set(t.value.map(e=>e.id)),l=a.threads.filter(e=>!c.has(e.id));t.value.push(...l),o.value=a.nextCursor}finally{w===r&&(p.value=!1)}}}async function j(e,t,n){return await c(i().restApiContext,e,t,n)}function M(e){let r=t.value.findIndex(({id:t})=>t===e.id);r===-1?t.value.push(e):t.value.splice(r,1,e),n.value=n.value.filter(({id:t})=>t!==e.id),e.canContinueInPreview&&(n.value.push(e),n.value.sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt)))}async function N(e,r,a){await l(i().restApiContext,e,r,a),!(_!==e||v!==r)&&(t.value=t.value.filter(e=>e.id!==a),n.value=n.value.filter(e=>e.id!==a))}async function P(e,t,n){return await u(i().restApiContext,e,t,n)}async function F(e,n,r){JSON.stringify(h.value)!==JSON.stringify(r)&&(h.value={...r},t.value=[],o.value=null,await T(e,n))}function I(){!y||!m.value||!_||!v||(g=setTimeout(async()=>{g=null,_&&v&&!document.hidden&&await O(_,v),y&&I()},f))}function L(){R(),!(!m.value||!_||!v)&&(y=!0,I())}function R(){y=!1,g&&=(clearTimeout(g),null)}function z(){R(),t.value=[],n.value=[],r.value=!1,S=null,x++,o.value=null,p.value=!1,_=null,v=null,w=null,h.value=a()}return{threads:t,previewThreads:n,previewLoading:r,nextCursor:o,loading:p,autoRefresh:m,filters:h,fetchThreads:T,refreshThreads:O,loadMore:A,getThreadDetail:j,upsertThread:M,deleteThread:N,exportThreadToLangSmith:P,setFilters:F,startAutoRefresh:L,stopAutoRefresh:R,reset:z}}),m=60;function h(e){let t=e.replace(/\s+/g,` `).trim();return t?t.length<=m?t:`${t.slice(0,m-1).trimEnd()}…`:``}function g(e,t){if(e.title)return e.title;if(e.firstMessage){let t=h(e.firstMessage);if(t)return t}return t}function _(){let e=n();return t=>g(t,e.baseText(`agents.builder.chat.newChat.label`))}export{p as n,a as r,_ as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`
|
|
1
|
+
try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`30ff6e14-c187-4102-8172-9f2536ad811b`,e._sentryDebugIdIdentifier=`sentry-dbid-30ff6e14-c187-4102-8172-9f2536ad811b`)})()}catch{}import{Pf as e,Zr as t,wf as n}from"./vendor-DS7UZyZ6.js";import{Ov as r,PT as i,Uv as a,Vl as o,Zh as s,_p as c,ch as l,gp as u,sh as d,zv as f}from"./app-oLfukFT9.js";import{t as p}from"./instanceAiMcp.store-C8SplGQl.js";function m(){let e=a();return{trackToolsListOpened(t){e.track(s.INSTANCE_AI.TOOLS_LIST_OPENED,{source:t})},trackSettingsOpened(t,n){e.track(s.INSTANCE_AI.MCP_SETTINGS_OPENED,{server_slug:t,source:n})},trackFirstCredentialConnectionStart(t){e.track(s.INSTANCE_AI.MCP_FIRST_CREDENTIAL_CONNECTION_STARTED,{server_slug:t})},trackCredentialDropdownOpened(t){e.track(s.INSTANCE_AI.MCP_CREDENTIAL_DROPDOWN_OPENED,{server_slug:t})},trackExistingCredentialSelected(t){e.track(s.INSTANCE_AI.MCP_EXISTING_CREDENTIAL_SELECTED,{server_slug:t})},trackNewCredentialConnectionStart(t){e.track(s.INSTANCE_AI.MCP_NEW_CREDENTIAL_CONNECTION_STARTED,{server_slug:t})},trackToolPermissionsUpdated(t,n){e.track(s.INSTANCE_AI.MCP_TOOL_PERMISSIONS_UPDATED,{server_slug:t,read_permission:n.categories.read,write_permission:n.categories.write,tool_override_count:Object.keys(n.tools??{}).length})}}}var h=2*r.SECOND,g=new Map,_=e(new Set),v=e(new Set);function y(){let e=p(),r=l(),a=c(),s=f(),{canOAuthCredentialQuickConnect:m,createAndAuthorize:y}=o();async function b(t,n){v.add(t);try{let r=e.connections.find(e=>e.serverSlug===t);if(r?.credentialId===n)return null;let a=r?await e.updateConnection(r.id,{credentialId:n}):await e.connect({serverSlug:t,credentialId:n});return a?(s.showMessage({type:`success`,title:i.baseText(r?`instanceAi.mcp.success.changeCredential`:`instanceAi.mcp.success.connect`)}),a.id):null}finally{v.delete(t)}}async function x(e){let t=g.get(e.slug);if(t)return!w(e.slug)&&t.state.reopen&&(t.state.acceptCredential=!0,t.state.reopen(),S(e.slug,t)),await t.promise;let n=(e.credentialTypes?.length??0)<=1&&m(e.credentialType),r={acceptCredential:!0,reopen:void 0,unlockTimer:void 0},i=(n?C(e,r):D(e)).finally(()=>{r.unlockTimer&&clearTimeout(r.unlockTimer),g.delete(e.slug),_.delete(e.slug)}),a={promise:i,state:r};return g.set(e.slug,a),n&&S(e.slug,a),await i}function S(e,t){let{state:n}=t;n.unlockTimer&&clearTimeout(n.unlockTimer),_.add(e),n.unlockTimer=setTimeout(()=>{_.delete(e),n.unlockTimer=void 0},h)}async function C(e,t){let n=await y(e.credentialType,void 0,{onAuthorizationStarted:e=>{t.reopen=e}}).finally(()=>{t.reopen=void 0});return!n||!t.acceptCredential?null:await b(e.slug,n.id)}function w(e){return _.has(e)||v.has(e)}function T(e){let t=g.get(e);t&&(t.state.acceptCredential=!1,t.state.unlockTimer&&clearTimeout(t.state.unlockTimer),t.state.unlockTimer=void 0),_.delete(e)}function E(e){return{id:e.slug,name:e.slug,type:`@n8n/mcp-registry.${t(e.slug)}`,typeVersion:1.1,position:[0,0],parameters:{}}}async function D(e){return await new Promise(t=>{let i=null,o=e.credentialTypes??[e.credentialType],s=n(!0);s.run(()=>{u({store:a,onCredentialCreated:e=>{o.includes(e.type)&&(i=e.id)}}),d({store:r,onModalClosed:n=>{if(n===`editCredential`){if(s.stop(),i===null){t(null);return}b(e.slug,i).catch(()=>null).then(t)}}})});try{if(o.length>1){let t=E(e);r.openNewCredential(e.credentialType,!0,!1,void 0,void 0,t.name,t)}else r.openNewCredential(e.credentialType)}catch(e){throw s.stop(),e}})}function O(t){if(!e.connections.some(e=>e.credentialId===t)){r.openExistingCredential(t);return}let i=n(!0);i.run(()=>{d({store:r,onModalClosed:n=>{if(n===`editCredential`){i.stop();for(let n of e.connections)n.credentialId===t&&e.fetchConnectionTools(n.id)}}})});try{r.openExistingCredential(t)}catch(e){throw i.stop(),e}}function k(e){return{getCredentialsByType:e=>a.getCredentialsByType(e).map(e=>({id:e.id,name:e.name,type:e.type})),openNewCredential:e,openExistingCredential:O}}return{connectServer:x,connectWithCredential:b,createCredentialAdapter:k,ignorePendingConnectResult:T,isConnectLocked:w}}function b(e,t){if(e.length===0)return null;let n=e.find(e=>e.theme===t);return n?n.src:(e.find(e=>e.theme===void 0)??e[0]).src}function x(e,t){let n=b(e,t);return n?{type:`file`,src:n}:{type:`icon`,name:`mcp`}}export{y as n,m as r,x as t};
|