n8n-editor-ui 2.47.0 → 2.47.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-bdRPJsx7.js → AddDataTableModal-DdBqID-j.js} +1 -1
- package/dist/assets/{AgentApprovalSelector-CgOd9Qwt.js → AgentApprovalSelector-DXbsRpbo.js} +1 -1
- package/dist/assets/{AgentBuilderView-CWbiFfUS.js → AgentBuilderView-TWMyEu4_.js} +1 -1
- package/dist/assets/{AgentBuilderView-wt1jkdPe.js → AgentBuilderView-ckzqXVha.js} +3 -3
- package/dist/assets/{AgentChatPanel-Ct56NmA8.js → AgentChatPanel-CgKjAvKt.js} +1 -1
- package/dist/assets/{AgentConfirmationModal-CkepE0_C.js → AgentConfirmationModal-DQVQalnZ.js} +1 -1
- package/dist/assets/{AgentDescriptionModal-CD6qPO1P.js → AgentDescriptionModal-DvYuCWQI.js} +1 -1
- package/dist/assets/{AgentDuplicateModal-BZARPh6q.js → AgentDuplicateModal-BdUBqqoH.js} +1 -1
- package/dist/assets/{AgentEditorModal-BjnZs0Yc.js → AgentEditorModal-DVUZ997V.js} +1 -1
- package/dist/assets/{AgentFormSettingRow-C7Ae9nBv.js → AgentFormSettingRow-C795WgG7.js} +1 -1
- package/dist/assets/{AgentJsonImportModal-CzkYDM-A.js → AgentJsonImportModal-liouL3SB.js} +1 -1
- package/dist/assets/{AgentModal-BusxF-On.js → AgentModal-D_Fnne98.js} +1 -1
- package/dist/assets/{AgentModalMultiStep-ChWRxbr1.js → AgentModalMultiStep-DS3NR79c.js} +1 -1
- package/dist/assets/{AgentN8nChatView-BHfa_HNB.js → AgentN8nChatView-CWuDlxA8.js} +1 -1
- package/dist/assets/{AgentPublishedModal-BJggmOst.js → AgentPublishedModal-D4cNV41_.js} +1 -1
- package/dist/assets/{AgentSessionTimelineView-BdQulmoM.js → AgentSessionTimelineView-DdJAFfA5.js} +1 -1
- package/dist/assets/{AgentSessionsListView-aSCJDUpP.js → AgentSessionsListView-Cuw980m-.js} +1 -1
- package/dist/assets/{AgentSessionsListView-ETIjlytj.js → AgentSessionsListView-D2od8oIE.js} +1 -1
- package/dist/assets/{AgentSkillModal-tFFKRZ3P.js → AgentSkillModal-Brvzs1tC.js} +1 -1
- package/dist/assets/{AgentSkillViewer-eRkydfmH.js → AgentSkillViewer-VLZvMeO3.js} +1 -1
- package/dist/assets/{AgentSubAgentsModal-DIKURXBO.js → AgentSubAgentsModal-dXLLy4Jr.js} +1 -1
- package/dist/assets/{AgentTaskModal-j5_aqlMu.js → AgentTaskModal-DU5wZT8H.js} +1 -1
- package/dist/assets/{AgentTemplateList-BDyl7E3E.js → AgentTemplateList-DJSTTDMS.js} +1 -1
- package/dist/assets/{AgentTestButton-CKsTeQ7m.js → AgentTestButton-CLJaRUWu.js} +1 -1
- package/dist/assets/{AgentToolConfigModal-z16OGP27.js → AgentToolConfigModal-ByowwZUI.js} +1 -1
- package/dist/assets/{AgentToolConfigTitleIcon-BTLRKFJt.js → AgentToolConfigTitleIcon-AsJiKKSP.js} +1 -1
- package/dist/assets/{AgentToolsConnectionModalWrapper-CG7XrPuG.js → AgentToolsConnectionModalWrapper-D9gIK111.js} +1 -1
- package/dist/assets/{AgentUnpublishedWorkflowsModal-B503kPmp.js → AgentUnpublishedWorkflowsModal-B0Z7JBkY.js} +1 -1
- package/dist/assets/{AgentVectorStoresModal-EFTILtp1.js → AgentVectorStoresModal-CCEBWLr0.js} +1 -1
- package/dist/assets/{AgentVersionMetadataModal-DnVVbDEb.js → AgentVersionMetadataModal-uk8ueJn4.js} +1 -1
- package/dist/assets/{AgentView-DFOyGSfi.js → AgentView-BfA4ecUA.js} +1 -1
- package/dist/assets/{AgentsListView-BM0cqpzm.js → AgentsListView-C9BS8eK-.js} +1 -1
- package/dist/assets/{AnimatedSpinner-bHxkGIyR.js → AnimatedSpinner-BMq0G8sM.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee-B8RfodkG.js → AnnotationTagsDropdown.ee-09Peh3XB.js} +1 -1
- package/dist/assets/{AppActions-B5zbIGGp.js → AppActions-D76SZMKu.js} +1 -1
- package/dist/assets/{AppDetailView-Cl6wtyg-.js → AppDetailView-BJfUwazc.js} +1 -1
- package/dist/assets/{AppSidebar-DoaQUuMl.js → AppSidebar-fUN2OBZL.js} +1 -1
- package/dist/assets/{AppView-BTvkR3-M.js → AppView-PmPHfWec.js} +1 -1
- package/dist/assets/{AppView-BCMJI1K7.js → AppView-Ww9KdVqr.js} +1 -1
- package/dist/assets/{ApprovalCard-CyZJkTJ2.js → ApprovalCard-DTWej5mC.js} +1 -1
- package/dist/assets/{AppsListView-XzjHS61J.js → AppsListView-ZCtZ_vg7.js} +1 -1
- package/dist/assets/{AssistantConfirmationCard-rHyHrlPX.js → AssistantConfirmationCard-Dl-CAccl.js} +1 -1
- package/dist/assets/{AssistantInstanceContextHostEvent-DNdTJw-G.js → AssistantInstanceContextHostEvent-gWrx33sx.js} +1 -1
- package/dist/assets/{AssistantStatusHostEvent-BU-rusY2.js → AssistantStatusHostEvent-qjQLYO7A.js} +1 -1
- package/dist/assets/{AuthLayout-3NM7M3ry.js → AuthLayout-CdcW4FlM.js} +1 -1
- package/dist/assets/{AuthView-BtnVh5wA.js → AuthView-DKrl6D5p.js} +1 -1
- package/dist/assets/{AuthenticationBackLink-BN_uPxcU.js → AuthenticationBackLink-CEpDk6eY.js} +1 -1
- package/dist/assets/{BrowserUseSetupContent-BT_N9SWe.js → BrowserUseSetupContent-Dw23Mq5C.js} +1 -1
- package/dist/assets/{BrowserUseSetupModal-DecQGGVm.js → BrowserUseSetupModal-BOLoqiav.js} +1 -1
- package/dist/assets/{ChangePasswordModal-BmT3MgOn.js → ChangePasswordModal-ZdlaiHsb.js} +1 -1
- package/dist/assets/{ChangePasswordView-CaBmYCMu.js → ChangePasswordView-rOweqlHj.js} +1 -1
- package/dist/assets/{ChatAgentAvatar-DpvfrW1_.js → ChatAgentAvatar-CENR6pPu.js} +1 -1
- package/dist/assets/{ChatAgentSearchSort-D-zuUyFr.js → ChatAgentSearchSort-bnlXyxRw.js} +1 -1
- package/dist/assets/{ChatFile-DLVPxeBw.js → ChatFile-SkwJIHUn.js} +1 -1
- package/dist/assets/{ChatGreetings-CRkN4-E_.js → ChatGreetings-Dv7TlZtg.js} +1 -1
- package/dist/assets/{ChatHistoryDropdownTrigger-BZzuh1Y9.js → ChatHistoryDropdownTrigger-rYggkJgZ.js} +1 -1
- package/dist/assets/{ChatLayout-i2sovjbF.js → ChatLayout-BcWhzg40.js} +1 -1
- package/dist/assets/{ChatLayout-B-rOfO7v.js → ChatLayout-gR2WVjAv.js} +1 -1
- package/dist/assets/{ChatMarkdownChunk-CtjlG1ZD.js → ChatMarkdownChunk-ClFpP1ds.js} +1 -1
- package/dist/assets/{ChatPersonalAgentsView-Cbo1iyJS.js → ChatPersonalAgentsView-BBau8RhF.js} +1 -1
- package/dist/assets/{ChatView-xrG5O2tG.js → ChatView-KkZtfFfu.js} +1 -1
- package/dist/assets/{ChatWorkflowAgentsView-CtDVhAVl.js → ChatWorkflowAgentsView-d43ZjMtE.js} +1 -1
- package/dist/assets/{CollectionParameter-DVJNQYmv.js → CollectionParameter-DI8KQItm.js} +1 -1
- package/dist/assets/{CompareCollectionView-D4aOFynG.js → CompareCollectionView-Diamlar4.js} +1 -1
- package/dist/assets/{ConfirmEmailChangeView-Zuyyl43T.js → ConfirmEmailChangeView-BHIVbclI.js} +1 -1
- package/dist/assets/{ConfirmPasswordModal-Cj84r2Gs.js → ConfirmPasswordModal-GrefR2cw.js} +1 -1
- package/dist/assets/{ConnectionTracker-4TMePTVC.js → ConnectionTracker-CYI6sdI9.js} +1 -1
- package/dist/assets/{CredentialSelectorModal-DTPiiptJ.js → CredentialSelectorModal-Cbma9zg8.js} +1 -1
- package/dist/assets/{CredentialsView-C38019m4.js → CredentialsView-DZTWQdKi.js} +1 -1
- package/dist/assets/{DataTableActions-DtYnOD7k.js → DataTableActions-QnderhWV.js} +1 -1
- package/dist/assets/{DataTableDetailsView-BbCXM_Kb.js → DataTableDetailsView-BwBa9sW0.js} +1 -1
- package/dist/assets/{DataTableTable-D1E9HEsZ.js → DataTableTable-woyOV53t.js} +1 -1
- package/dist/assets/{DataTableView-BpCCSvtt.js → DataTableView-DrsEUi-o.js} +1 -1
- package/dist/assets/{DefaultLayout-Ct6x0YV2.js → DefaultLayout-Bhcyzt4a.js} +1 -1
- package/dist/assets/{DeleteInstanceRoleModal-BaH3Zfb_.js → DeleteInstanceRoleModal-BZIypZkd.js} +1 -1
- package/dist/assets/{DemoDiffView-fDGZQ4Mg.js → DemoDiffView-Ro9aFADK.js} +1 -1
- package/dist/assets/{DemoLayout--SFWDSCm.js → DemoLayout-D0g9hQIq.js} +1 -1
- package/dist/assets/{DependencyPill-oGYrzWSF.js → DependencyPill-DEA8QdXf.js} +1 -1
- package/dist/assets/{EmptySharedSectionActionBox-BJZRpQO5.js → EmptySharedSectionActionBox-bnvHTIj5.js} +1 -1
- package/dist/assets/{EntityNotFound-vHscpnq0.js → EntityNotFound-CUqj1YaU.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-DvH8wU0t.js → EntityUnAuthorised-DjoSjJrp.js} +1 -1
- package/dist/assets/{ErrorView-CMHaJ1Km.js → ErrorView-DC6rlb2K.js} +1 -1
- package/dist/assets/{EvalCollectionsListView-Bsio1RJT.js → EvalCollectionsListView-CMMJJ3Ri.js} +1 -1
- package/dist/assets/{EvaluationsListSwitcher-Dpo8Mbmu.js → EvaluationsListSwitcher-Cj0rbvF0.js} +2 -2
- package/dist/assets/{EvaluationsPaywall-CnBD6IPP.js → EvaluationsPaywall-6pY75vpc.js} +1 -1
- package/dist/assets/{EvaluationsRootView-qCu6MNUS.js → EvaluationsRootView-DnRZWkYv.js} +1 -1
- package/dist/assets/{EventDestinationSettingsModalAdapter-CcZYwTHz.js → EventDestinationSettingsModalAdapter-PNZboNne.js} +1 -1
- package/dist/assets/{ExecutionsTime-CcnLDAXI.js → ExecutionsTime-CeMY67Py.js} +1 -1
- package/dist/assets/{ExecutionsView-B9C0Aszz.js → ExecutionsView-C4_4BxTP.js} +1 -1
- package/dist/assets/{ExposeAllWorkflowsToMcpModal-Cfo_Orlw.js → ExposeAllWorkflowsToMcpModal-jyHIfNcr.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-DYmIvoiQ.js → FixedCollectionParameter-Bsyl0zvR.js} +1 -1
- package/dist/assets/{FolderBreadcrumbs-DBmiTNv1.js → FolderBreadcrumbs-DqDkyLbf.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-CpgI5Zak.js → ForgotMyPasswordView-DbizkxpS.js} +1 -1
- package/dist/assets/{GroupedMetricChart-CT5ppOy-.js → GroupedMetricChart-CjVVwoLc.js} +1 -1
- package/dist/assets/{ImpactTag-B41T5ahi.js → ImpactTag-Bvg2E0Bl.js} +1 -1
- package/dist/assets/{InboxView-BZjaHPvj.js → InboxView-wGud9wN-.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-BbqbxZS3.js → InsightsChartAverageRuntime-DQWErGXc.js} +1 -1
- package/dist/assets/{InsightsChartFailed-BnV3kOPv.js → InsightsChartFailed-YerwlFC5.js} +1 -1
- package/dist/assets/{InsightsChartFailureRate-DDnaJbxs.js → InsightsChartFailureRate-Dx_DK4Jm.js} +1 -1
- package/dist/assets/{InsightsChartTimeSaved-BUC_WV52.js → InsightsChartTimeSaved-CTZIhpps.js} +1 -1
- package/dist/assets/{InsightsChartTotal-D4989xQm.js → InsightsChartTotal-BTf_J_jr.js} +1 -1
- package/dist/assets/{InsightsDashboard-BnYuOvu6.js → InsightsDashboard-BHRsIsYn.js} +2 -2
- package/dist/assets/{InsightsPaywall-QMcIKlXg.js → InsightsPaywall-DOay3QNp.js} +1 -1
- package/dist/assets/{InsightsSummary-C2ThEyRO.js → InsightsSummary-BQXXgWAu.js} +1 -1
- package/dist/assets/{InsightsSummarySlot-BTi9AXyA.js → InsightsSummarySlot-CanHo8KJ.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-BaqK-jWl.js → InsightsTableWorkflows-0S4TyIPY.js} +2 -2
- package/dist/assets/{InstanceAiEmptyView-CpelvNmG.js → InstanceAiEmptyView-C_l7eZ-g.js} +1 -1
- package/dist/assets/{InstanceAiLayout-CSSoRpi9.js → InstanceAiLayout-B8xbL5Hq.js} +1 -1
- package/dist/assets/{InstanceAiThreadRouteView-DDKET5pL.js → InstanceAiThreadRouteView-Dd9iUkig.js} +1 -1
- package/dist/assets/{InstanceAiThreadsView-Bdtuj-Fw.js → InstanceAiThreadsView-Ds5tIEE2.js} +1 -1
- package/dist/assets/{InstanceAiToolsConnectionModalWrapper-A6klYtqS.js → InstanceAiToolsConnectionModalWrapper-UDX2yjIO.js} +1 -1
- package/dist/assets/{InstanceAiView-3R5HFtti.js → InstanceAiView-D36VbMSi.js} +1 -1
- package/dist/assets/{InstanceAiWorkflowSetup-BkVB1OXe.js → InstanceAiWorkflowSetup-3L6DeHHz.js} +1 -1
- package/dist/assets/{InstanceRoleView-DveKk_1L.js → InstanceRoleView-Baz9C0j0.js} +1 -1
- package/dist/assets/{LimitedModeNotice-DBGID4hD.js → LimitedModeNotice-Cqio23gL.js} +1 -1
- package/dist/assets/{LogStreamingPaywall-B0nL04TF.js → LogStreamingPaywall-CnkUrMlw.js} +1 -1
- package/dist/assets/{LogStreamingPlaceholderView-DCtpnos6.js → LogStreamingPlaceholderView-CSPU8eRz.js} +1 -1
- package/dist/assets/{MCPOnboardingModal-C7mBmEoI.js → MCPOnboardingModal-BX0nDCt_.js} +1 -1
- package/dist/assets/{MainHeader-GkxTY6Hl.js → MainHeader-BVqe6J4k.js} +1 -1
- package/dist/assets/{MainSidebarHeader-2eRi7hk5.js → MainSidebarHeader-Cn79m6e3.js} +1 -1
- package/dist/assets/{McpJsonNudgeModal-DzhWxXJt.js → McpJsonNudgeModal-CRvsOA9H.js} +1 -1
- package/dist/assets/{McpRegistrySuggestionFooter-BbCa0pFU.js → McpRegistrySuggestionFooter-B6XrrKYM.js} +1 -1
- package/dist/assets/{McpToolPermissionsEditor-D1dNz3WA.js → McpToolPermissionsEditor-dbu_Z8DH.js} +1 -1
- package/dist/assets/{MfaSetupModal-B7rheU8t.js → MfaSetupModal-ImazKLP8.js} +1 -1
- package/dist/assets/MigrationRuleDetail-BQStadv9.js +1 -0
- package/dist/assets/MigrationRules-0l4fNMXf.js +1 -0
- package/dist/assets/MigrationRules-BymWnSz1.css +1 -0
- package/dist/assets/{ModelByIdSelectorModal-Cy-YUnaH.js → ModelByIdSelectorModal-DZBYjjWq.js} +1 -1
- package/dist/assets/{N8nChatAgentGrid-BQZ4XyLh.js → N8nChatAgentGrid-DdG_jKaK.js} +1 -1
- package/dist/assets/{N8nChatAgentLibraryView-DbS7RooO.js → N8nChatAgentLibraryView-CzPmzaEg.js} +1 -1
- package/dist/assets/{N8nChatHintPopover-CI-5Vv9R.js → N8nChatHintPopover-CJKyDNLT.js} +1 -1
- package/dist/assets/{N8nChatPageLayout-B0pQYXRr.js → N8nChatPageLayout-Bf5rvZq0.js} +1 -1
- package/dist/assets/{NodeCreation-BTBt57n3.js → NodeCreation-CICqm2Ew.js} +2 -2
- package/dist/assets/{NodeCreator-DS4S_sRu.js → NodeCreator-BbJa8Tmd.js} +1 -1
- package/dist/assets/{NodeDetailsView-yIfIWEIj.js → NodeDetailsView-Cz6aqIqh.js} +1 -1
- package/dist/assets/{NodeToolSettingsContent-DPFbvpMq.js → NodeToolSettingsContent-Bebu98iR.js} +1 -1
- package/dist/assets/{NodeView-hSfXJvhE.js → NodeView-CTeBe8Fp.js} +1 -1
- package/dist/assets/{NodeView-D37-riJw.js → NodeView-DjnJBedV.js} +2 -2
- package/dist/assets/{OAuthConsentView-BvPg4clt.js → OAuthConsentView-epsFfGjl.js} +1 -1
- package/dist/assets/{PageViewLayout-C6KmuhND.js → PageViewLayout-Bjq7pA0N.js} +1 -1
- package/dist/assets/{PersonalSelfHealingView-Dpq3Jzgg.js → PersonalSelfHealingView-CMTjzRhY.js} +1 -1
- package/dist/assets/{ProjectBreadcrumb-CBo-fH9-.js → ProjectBreadcrumb-CU7sYI-s.js} +1 -1
- package/dist/assets/{ProjectFilter-CUbHTAfV.js → ProjectFilter-bQzEdchO.js} +1 -1
- package/dist/assets/{ProjectHeader-BE-dJWsN.js → ProjectHeader-7oeF_blc.js} +1 -1
- package/dist/assets/{ProjectHeader-CZIK79D_.js → ProjectHeader-CrOjpxeF.js} +1 -1
- package/dist/assets/{ProjectRoleView-DqVZrsWZ.js → ProjectRoleView-C_yVF7Hk.js} +1 -1
- package/dist/assets/{ProjectSettings-6jUSSxX0.js → ProjectSettings-DJW1DOBL.js} +1 -1
- package/dist/assets/{ProjectVariables-d4rQF0uu.js → ProjectVariables-J7dodLCL.js} +1 -1
- package/dist/assets/{PromotionCommitMessageField-D-UIsVtj.js → PromotionCommitMessageField-pB63iYQs.js} +1 -1
- package/dist/assets/{PromotionEnvironmentView-fDFqH4u-.js → PromotionEnvironmentView-CMMb9C7M.js} +1 -1
- package/dist/assets/{PromotionPreviewView-OOhR2fMJ.js → PromotionPreviewView-3bx3CYA4.js} +1 -1
- package/dist/assets/{PromotionResourceTree-D-fWBORd.js → PromotionResourceTree-F1CM8kOK.js} +2 -2
- package/dist/assets/{PromotionReviewChanges-sqIe7Ec3.js → PromotionReviewChanges-DaBKwVKx.js} +1 -1
- package/dist/assets/{PromotionWorkflowDiff-CPGyFh7O.js → PromotionWorkflowDiff-BPxc0WlI.js} +1 -1
- package/dist/assets/{PromotionWorkflowSideLabel-BVgctSjL.js → PromotionWorkflowSideLabel-Dy4wcytn.js} +1 -1
- package/dist/assets/{PromotionsSettingsView-Bq-SakL7.js → PromotionsSettingsView-ClENBmaZ.js} +1 -1
- package/dist/assets/{PromptMfaCodeModal-CnheacNk.js → PromptMfaCodeModal-GDI4wrPG.js} +1 -1
- package/dist/assets/{ProviderSettingsModal-BV0WET2J.js → ProviderSettingsModal-Caba2V4X.js} +1 -1
- package/dist/assets/{PublicationIndicator-0OwzLas_.js → PublicationIndicator-CsyzV4f4.js} +1 -1
- package/dist/assets/{RecentChatIcon-BjrDeyyX.js → RecentChatIcon-BWEklH_l.js} +1 -1
- package/dist/assets/{ResolversView-DEIjS5Vm.js → ResolversView-By--Q6Sz.js} +1 -1
- package/dist/assets/{ResourceCenterView-CD4oi3Ve.js → ResourceCenterView-VPyRvF4V.js} +1 -1
- package/dist/assets/{ResourceFiltersDropdown-D0tdmNHp.js → ResourceFiltersDropdown-DG_51Q69.js} +1 -1
- package/dist/assets/{ResourcesListEmptyState-DNqcWPAK.js → ResourcesListEmptyState-Cg2DQUgI.js} +1 -1
- package/dist/assets/{ResourcesListLayout-uhHJX9df.js → ResourcesListLayout--eO1jcf6.js} +1 -1
- package/dist/assets/{ResourcesListLayout-Rnf81XqT.js → ResourcesListLayout-CU6Sl1zA.js} +1 -1
- package/dist/assets/{ResourcesListSkeleton-hB449uVg.js → ResourcesListSkeleton-B-G1oGq_.js} +1 -1
- package/dist/assets/{RoleSelectDropdown-BenG1qb5.js → RoleSelectDropdown-DIyww12p.js} +1 -1
- package/dist/assets/{RolesView-B7brvjSU.js → RolesView-D4DAfZdC.js} +1 -1
- package/dist/assets/{RunDataJson-CSk0JFQn.js → RunDataJson-DVuDCcQK.js} +2 -2
- package/dist/assets/{RunDataJsonActions-BlOWvMVO.js → RunDataJsonActions-BPZQXHfw.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-B_BBDfER.js → RunDataParsedAiContent-B-8b8Y3y.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-BhJX_ZEK.js → RunDataParsedAiContent-B39HoGRn.js} +1 -1
- package/dist/assets/{RunDataSearch-C-ORfl4Q.js → RunDataSearch-DtT6ZgHB.js} +1 -1
- package/dist/assets/{RunDataTable-BvoWaKu_.js → RunDataTable-4maiELP2.js} +1 -1
- package/dist/assets/{SamlOnboarding-B-jbtSUV.js → SamlOnboarding-B8eaKPwV.js} +1 -1
- package/dist/assets/{SandboxSettingsRow-VKaOtlRe.js → SandboxSettingsRow-BDKvwPaK.js} +1 -1
- package/dist/assets/{SecuritySettings-BiCXZQZA.js → SecuritySettings-Cokym94X.js} +1 -1
- package/dist/assets/{SettingsAIView-B0NAonU-.js → SettingsAIView-2nVq2Hy7.js} +1 -1
- package/dist/assets/{SettingsAgentsView-DyIm49QO.js → SettingsAgentsView-Cu0FuReX.js} +1 -1
- package/dist/assets/{SettingsAiGatewayView-D-RCP02m.js → SettingsAiGatewayView-rOnq3fVk.js} +1 -1
- package/dist/assets/{SettingsApiView-CH_nSUTv.js → SettingsApiView-DRtjHQxQ.js} +1 -1
- package/dist/assets/{SettingsAuthenticationView-BbNVQwBV.js → SettingsAuthenticationView-DUevtvCU.js} +1 -1
- package/dist/assets/{SettingsChatHubView-CPXOgS3d.js → SettingsChatHubView-DqKq88xV.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-DtHOqc6j.js → SettingsCommunityNodesView-DggzIvT3.js} +1 -1
- package/dist/assets/{SettingsContextView-DzDxP_a5.js → SettingsContextView-DNIX8rPb.js} +1 -1
- package/dist/assets/{SettingsEncryptionKeys-BLfMzsuz.js → SettingsEncryptionKeys-BmMajRAd.js} +1 -1
- package/dist/assets/{SettingsExternalSecrets-LRf0QyAP.js → SettingsExternalSecrets-B_DHKIxI.js} +1 -1
- package/dist/assets/{SettingsInstanceAiView-C0M_gBMO.js → SettingsInstanceAiView-BLGekB0o.js} +1 -1
- package/dist/assets/{SettingsLayout-BXKnLb8A.js → SettingsLayout-DGrDZtNe.js} +1 -1
- package/dist/assets/{SettingsLdapView-FL3iiCV2.js → SettingsLdapView-CG7NthsW.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-B9RwtBjR.js → SettingsLogStreamingView-B73ubzen.js} +1 -1
- package/dist/assets/{SettingsMCPAgentsView-DQ7cc8n4.js → SettingsMCPAgentsView-92xU7P_k.js} +1 -1
- package/dist/assets/{SettingsMCPClientsView-CHZZKEID.js → SettingsMCPClientsView-drrCN3v_.js} +1 -1
- package/dist/assets/{SettingsMCPView-2gQu8zS_.js → SettingsMCPView-WWtO1W5E.js} +1 -1
- package/dist/assets/{SettingsMCPWorkflowsView-zrpYBvHf.js → SettingsMCPWorkflowsView-DW8e9ifE.js} +1 -1
- package/dist/assets/{SettingsOpenTelemetryView-DViXqN33.js → SettingsOpenTelemetryView-Bqf3xGC7.js} +1 -1
- package/dist/assets/{SettingsPersonalView-Dn_7WiM1.js → SettingsPersonalView-ChRvZBVL.js} +1 -1
- package/dist/assets/{SettingsPreferencesView-BMyApgPC.js → SettingsPreferencesView-BhEvu_BK.js} +1 -1
- package/dist/assets/{SettingsSecretsProviders.ee-CR7MSwst.js → SettingsSecretsProviders.ee-D7k9zcyP.js} +1 -1
- package/dist/assets/{SettingsSkillsView-kSF9jskF.js → SettingsSkillsView-9xfAI09Q.js} +1 -1
- package/dist/assets/{SettingsSourceControl-HX9Co-io.js → SettingsSourceControl-C0ghXEct.js} +1 -1
- package/dist/assets/{SettingsSso-iw56JiL0.js → SettingsSso-BvCnRRst.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-vjZT5fIP.js → SettingsUsageAndPlan-BoZGSnKT.js} +1 -1
- package/dist/assets/{SettingsUsersView-BVXxTQOe.js → SettingsUsersView-BWjBAMog.js} +1 -1
- package/dist/assets/{SetupView-Dma-J-rB.js → SetupView-gR3G68f1.js} +1 -1
- package/dist/assets/{SetupWorkflowCredentialsButton-CjksbNlY.js → SetupWorkflowCredentialsButton-DFCr_Cor.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-33azGBYU.js → SetupWorkflowFromTemplateView-DaFaiWIZ.js} +1 -1
- package/dist/assets/{SigninView-D518SF-H.js → SigninView-DfvRV0V_.js} +1 -1
- package/dist/assets/{SignoutView-0Xt9sPrJ.js → SignoutView-CVmH10D6.js} +1 -1
- package/dist/assets/{SignupView-BmlTMoiT.js → SignupView-hYxubEZB.js} +1 -1
- package/dist/assets/{SkeletonAgentCard-BJ6AQlfU.js → SkeletonAgentCard-DNA8-kRA.js} +1 -1
- package/dist/assets/{SkillScopeBadge-D-UosvWm.js → SkillScopeBadge-Be1z1y8k.js} +1 -1
- package/dist/assets/{TemplateList-D__yY9mT.js → TemplateList-B3Q2mGBV.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-Cqwv9LBQ.js → TemplatesCollectionView-B299Apdx.js} +1 -1
- package/dist/assets/{TemplatesSearchView-Dq_fDed8.js → TemplatesSearchView-DdeYBaw1.js} +1 -1
- package/dist/assets/{TemplatesView-D6ZuqHoO.js → TemplatesView-Digb2l4S.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-Dbt4qJmC.js → TemplatesWorkflowView-CVdui8q5.js} +1 -1
- package/dist/assets/{TestRunDetailView-1B1Df3KL.js → TestRunDetailView-4wkcDvYs.js} +1 -1
- package/dist/assets/{ToolCredentialPicker-KYK46PYI.js → ToolCredentialPicker-sM4op1eB.js} +1 -1
- package/dist/assets/{ToolIcon-Caq8e8IN.js → ToolIcon-C56l462Q.js} +1 -1
- package/dist/assets/{ToolSettingsModal--2YiDDKw.js → ToolSettingsModal-3T8-XGGI.js} +1 -1
- package/dist/assets/{ToolsConnectionModal-C0TzF7GB.js → ToolsConnectionModal-Bo0mQoEI.js} +1 -1
- package/dist/assets/{ToolsManagerModal-CQHmdWql.js → ToolsManagerModal-BsVNAoS2.js} +1 -1
- package/dist/assets/{ToolsSelector-CdcUtaZR.js → ToolsSelector-j76UahX1.js} +1 -1
- package/dist/assets/{TrialIntroModal-_OQhYRFx.js → TrialIntroModal-CgMURrXI.js} +1 -1
- package/dist/assets/{VirtualSchema-BFzcSran.js → VirtualSchema-BIJAaZiu.js} +1 -1
- package/dist/assets/{WorkerView-CThRidOq.js → WorkerView-CxlzObZR.js} +1 -1
- package/dist/assets/{WorkflowDiffSlot-WoUqW9a6.js → WorkflowDiffSlot-Gq8eSWLk.js} +1 -1
- package/dist/assets/{WorkflowExecutionsInfoAccordion-Cx-KAN23.js → WorkflowExecutionsInfoAccordion-k81A9SRn.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-ChouBrLS.js → WorkflowExecutionsLandingPage-DbKXS8zS.js} +1 -1
- package/dist/assets/{WorkflowExecutionsPreview-BA1RUBND.js → WorkflowExecutionsPreview-yaMbbl2A.js} +1 -1
- package/dist/assets/{WorkflowExecutionsView-BIW302Uq.js → WorkflowExecutionsView-BfRF51m0.js} +1 -1
- package/dist/assets/{WorkflowHistory-DmyWUTsW.js → WorkflowHistory-z6KMITR5.js} +1 -1
- package/dist/assets/{WorkflowLayout-B1-qbt7W.js → WorkflowLayout-CZKrTCF9.js} +1 -1
- package/dist/assets/{WorkflowOnboardingView-B37GMwsT.js → WorkflowOnboardingView-DKLbwpoF.js} +1 -1
- package/dist/assets/{WorkflowPreviewHost-ruBsuWpt.js → WorkflowPreviewHost-B4ZMWBJM.js} +1 -1
- package/dist/assets/{WorkflowsView-o_7pVY69.js → WorkflowsView-C_YPyEt9.js} +1 -1
- package/dist/assets/{aiTemplatesStarterCollection.store-bkQFXNCF.js → aiTemplatesStarterCollection.store-CGyHElvp.js} +1 -1
- package/dist/assets/{app-Ccz2bwNC.js → app-DPqAJq5O.js} +14 -14
- package/dist/assets/{assistantHostEvents-C7vfDhmG.js → assistantHostEvents-DB21JZ-e.js} +2 -2
- package/dist/assets/{auth.eventBus-cc22LS6K.js → auth.eventBus-DjVw24wQ.js} +1 -1
- package/dist/assets/{context.store-CFri4fgL.js → context.store-BvYkb7nc.js} +1 -1
- package/dist/assets/{dist-DistCrjW.js → dist-CmA7z25w.js} +1 -1
- package/dist/assets/{en-DZtVobbI.js → en-CduO6jJe.js} +1 -1
- package/dist/assets/{expression-runtime-stub-D5pLCOQ1.js → expression-runtime-stub-CiR8mV0s.js} +1 -1
- package/dist/assets/{index-D6djc33x.js → index-cIz6wDOk.js} +1 -1
- package/dist/assets/{insights.store-87NyPKHQ.js → insights.store-Cei7J7i5.js} +1 -1
- package/dist/assets/{insights.store-OnHJYvjz.js → insights.store-aPClW7cL.js} +1 -1
- package/dist/assets/{insights.utils-BAp9c2yW.js → insights.utils-HTAuktGM.js} +1 -1
- package/dist/assets/{instanceAi.store-MIRjEK_e.js → instanceAi.store-C40M-zaz.js} +1 -1
- package/dist/assets/{instanceAiMcp.store-BYR0guaP.js → instanceAiMcp.store-Zc_uSTAy.js} +1 -1
- package/dist/assets/{instanceAiMcp.store-JAFKFTzA.js → instanceAiMcp.store-s3gRvVQc.js} +1 -1
- package/dist/assets/{instanceAiSetup.telemetry-CajmCbhy.js → instanceAiSetup.telemetry-s0R5UpV-.js} +1 -1
- package/dist/assets/{instanceContextLabels-DQDGAbSD.js → instanceContextLabels-DJAQKj2P.js} +1 -1
- package/dist/assets/{instanceRoleScopes-ts53uCnq.js → instanceRoleScopes-CZbpZnzd.js} +1 -1
- package/dist/assets/{logStreaming.store-y6JavN-E.js → logStreaming.store-CELdqzmv.js} +1 -1
- package/dist/assets/{mcpRegistry.api-BaySSeNH.js → mcpRegistry.api-B9OpSDS8.js} +1 -1
- package/dist/assets/{mergeRecentChats-bZffClZs.js → mergeRecentChats-BDLrB6Eb.js} +1 -1
- package/dist/assets/{postMessageUtils-u0De4nH2.js → postMessageUtils-D0xnpMUz.js} +1 -1
- package/dist/assets/{projectRoleScopes-CWvlotNp.js → projectRoleScopes-p0oN7HRx.js} +1 -1
- package/dist/assets/{projects.utils-D-Z7JVAX.js → projects.utils-DvIjTyfM.js} +1 -1
- package/dist/assets/{promotionPreview.selection-CHtJYowz.js → promotionPreview.selection-CORXOPIH.js} +1 -1
- package/dist/assets/{promotions.eventBus-B0j6uwKm.js → promotions.eventBus-CgrSAUjW.js} +1 -1
- package/dist/assets/{promotionsSettings.utils-CrJvyM6W.js → promotionsSettings.utils-CnIJ-smj.js} +1 -1
- package/dist/assets/{pushConnection.store-C4ZKgJ2W.js → pushConnection.store-BZ3QN_Cm.js} +1 -1
- package/dist/assets/{readyToRun.store-C6xrp_RH.js → readyToRun.store-ExqgCvnN.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-COLoWe4z.js → readyToRunWorkflows.store-B4WQfj0m.js} +1 -1
- package/dist/assets/{resourceCenter.store-VS9E6x5N.js → resourceCenter.store-CvH2s1zN.js} +1 -1
- package/dist/assets/{settings.store-CrblaloN.js → settings.store-BFleaWwS.js} +1 -1
- package/dist/assets/{skills.store-DC081bE2.js → skills.store-kRJIY8JV.js} +1 -1
- package/dist/assets/{src-BJljvSh6.js → src-BJYAK6tJ.js} +1 -1
- package/dist/assets/{src-C8JAS4zo.js → src-BZowssLG.js} +1 -1
- package/dist/assets/{src-BEctV6ks.js → src-BhFJRUVp.js} +1 -1
- package/dist/assets/{src-CeYVeu2n.js → src-DVIIyO35.js} +1 -1
- package/dist/assets/{surfaceMcpToNewCloudUsers.store-B3GjI-iw.js → surfaceMcpToNewCloudUsers.store-D_B8K6tJ.js} +1 -1
- package/dist/assets/{templateActions-DbF-dZQr.js → templateActions-CeKmnQVv.js} +1 -1
- package/dist/assets/{useActivityDetection-BD-0GCTv.js → useActivityDetection-FXk3yTgP.js} +1 -1
- package/dist/assets/{useAgentConfirmationModal-Cln5uTN1.js → useAgentConfirmationModal-B3rCAAcE.js} +1 -1
- package/dist/assets/{useAgentSessionStop-BykYDi_N.js → useAgentSessionStop-BPJAgAaY.js} +1 -1
- package/dist/assets/{useAgentSessionUsage-IVMd_iPD.js → useAgentSessionUsage-CtVDoq3i.js} +1 -1
- package/dist/assets/{useApprovalCardLabels-C5IXCGKI.js → useApprovalCardLabels-D32FeshG.js} +1 -1
- package/dist/assets/{useBrowserUseConnection-BuXcD1Kr.js → useBrowserUseConnection-CdOAdTVW.js} +1 -1
- package/dist/assets/{useBuilderStreamingGuard-B06ZIued.js → useBuilderStreamingGuard-B7ep2FJm.js} +1 -1
- package/dist/assets/{useCustomAgent-B5SJ0TtZ.js → useCustomAgent-BuDQGUpY.js} +1 -1
- package/dist/assets/{useDependencyMenu-BcCB1vXh.js → useDependencyMenu-D0CDja0D.js} +1 -1
- package/dist/assets/{useEnvironmentsVersionSwitch-yk62VETD.js → useEnvironmentsVersionSwitch-SDITJd10.js} +1 -1
- package/dist/assets/{useEvalCollectionsFlag-BYNfyTIW.js → useEvalCollectionsFlag-B0FjPdUA.js} +1 -1
- package/dist/assets/{useEvaluationsLicense-8y_MffW2.js → useEvaluationsLicense-iyrjjpcN.js} +1 -1
- package/dist/assets/{useExecutionData-wUXLrT_S.js → useExecutionData-Bczj9lya.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Bo51-C_1.js → useExecutionDebugging-CuzzBpJR.js} +1 -1
- package/dist/assets/{useExposeAllWorkflowsToMcpOffer-XlVnZB9B.js → useExposeAllWorkflowsToMcpOffer-xIEqoYRI.js} +1 -1
- package/dist/assets/{useExtensionDirectConnect-D20-Dk5P.js → useExtensionDirectConnect-CiQ3jkrO.js} +1 -1
- package/dist/assets/{useFileDrop-BlzLNaxM.js → useFileDrop-BJWB_qcn.js} +1 -1
- package/dist/assets/{useImportCurlCommand-CDP3Xj_K.js → useImportCurlCommand-C3rlxi_Q.js} +1 -1
- package/dist/assets/{useInstanceAiConfiguration-DVYwH3Dg.js → useInstanceAiConfiguration-BD5sA7i5.js} +1 -1
- package/dist/assets/{useInstancePromotionConnection-DNojld2C.js → useInstancePromotionConnection-8BqQdpKN.js} +1 -1
- package/dist/assets/{useIsAssistantAtMentionsEnabled-Cl3XloeY.js → useIsAssistantAtMentionsEnabled-DrNuPBw-.js} +1 -1
- package/dist/assets/{useLogsTreeExpand-D1hS6Ed0.js → useLogsTreeExpand-BwbyKyPR.js} +1 -1
- package/dist/assets/{useMcpJsonNudgeEligibility--edXmTIN.js → useMcpJsonNudgeEligibility-C3jI4UKz.js} +1 -1
- package/dist/assets/{useMcpJsonNudgeTrigger-CRgju9r_.js → useMcpJsonNudgeTrigger-CBn-oGMT.js} +1 -1
- package/dist/assets/{useMcpServerConnect-D8Y32zQR.js → useMcpServerConnect-DNPtonyv.js} +1 -1
- package/dist/assets/{useMergedChatHistory-CuAL_FOR.js → useMergedChatHistory-DO3At3XT.js} +1 -1
- package/dist/assets/{useN8nAssistantIdentity-vKxkfKG2.js → useN8nAssistantIdentity-C8S2Hcxe.js} +1 -1
- package/dist/assets/{useOAuthClientRevoke-paLJIR4O.js → useOAuthClientRevoke-CF4mMIs2.js} +1 -1
- package/dist/assets/{usePagedN8nChatThreads-Bp8ZFZzi.js → usePagedN8nChatThreads-DFxVAXKU.js} +1 -1
- package/dist/assets/{usePostMessageHandler-BbKRPzpH.js → usePostMessageHandler-BQAKWyYM.js} +2 -2
- package/dist/assets/{useProjectPages-CfnNQvCl.js → useProjectPages-Dz-_d14R.js} +1 -1
- package/dist/assets/{usePromotionCheckout-D0kaPD-r.js → usePromotionCheckout-CHV9jYjv.js} +1 -1
- package/dist/assets/{usePromotionPreviewLabels-CAzqNtFs.js → usePromotionPreviewLabels-D74QL635.js} +1 -1
- package/dist/assets/{usePushConnection-cplGAoiY.js → usePushConnection-1aauoEKN.js} +1 -1
- package/dist/assets/{usePushConnection-D-tKza_O.js → usePushConnection-BzBLk9KA.js} +1 -1
- package/dist/assets/{useRoleEditorForm-BfvXZDhC.js → useRoleEditorForm-D3p756JK.js} +1 -1
- package/dist/assets/{useSecretsProvidersList.ee-CuaSUIrH.js → useSecretsProvidersList.ee-Cvmf5nbI.js} +1 -1
- package/dist/assets/{useSettingsItems-DkdneyjS.js → useSettingsItems-DgvZGa-V.js} +1 -1
- package/dist/assets/{useSidebarLayout-BGO9Yuc8.js → useSidebarLayout-D9v28sy4.js} +1 -1
- package/dist/assets/{useUserHelpers-CrBXMkmK.js → useUserHelpers-CK5dwxES.js} +1 -1
- package/dist/assets/{useWorkflowEvaluationState-BPZgvFZa.js → useWorkflowEvaluationState-CYfxC__x.js} +1 -1
- package/dist/assets/{useWorkflowInitialization-C5aId4uz.js → useWorkflowInitialization-CY9DrwSr.js} +1 -1
- package/dist/assets/{useWorkflowReviewsFeature-BbUr6h1j.js → useWorkflowReviewsFeature-CvmtRRMi.js} +1 -1
- package/dist/assets/{useWorkflowsEmptyState-DVL4R2S_.js → useWorkflowsEmptyState-1wuKurDa.js} +1 -1
- package/dist/assets/{userRoleProvisioning.store-BmErqYaj.js → userRoleProvisioning.store-C8Lx7_oM.js} +1 -1
- package/dist/assets/{utils-DfT2xm2t.js → utils-DOtFBWH5.js} +1 -1
- package/dist/assets/{vector-stores-CDB4rbh1.js → vector-stores-BmfVCW2H.js} +1 -1
- package/dist/assets/{workflowDiff.utils-D5_fjhLW.js → workflowDiff.utils-B6QsKODZ.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/MigrationRuleDetail-VLa6otHa.js +0 -1
- package/dist/assets/MigrationRules-B7w5bcYy.css +0 -1
- package/dist/assets/MigrationRules-DFESwOTf.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AssistantInstanceContextHostEvent-
|
|
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]=`710c90f7-66b6-41af-8bc4-6085f17f1d15`,e._sentryDebugIdIdentifier=`sentry-dbid-710c90f7-66b6-41af-8bc4-6085f17f1d15`)})()}catch{}import{$d as e,qd as t}from"./vendor-Byl1K1cb.js";import{AC as n,OC as r,VO as i,yg as a}from"./app-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AssistantInstanceContextHostEvent-gWrx33sx.js","assets/vendor-Byl1K1cb.js","assets/rolldown-runtime-Cnm24cU6.js","assets/vendor-BpMiN8nO.css","assets/app-DPqAJq5O.js","assets/app-Cy7qV0b1.css","assets/instanceContextLabels-DJAQKj2P.js","assets/AssistantStatusHostEvent-qjQLYO7A.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]=`710c90f7-66b6-41af-8bc4-6085f17f1d15`,e._sentryDebugIdIdentifier=`sentry-dbid-710c90f7-66b6-41af-8bc4-6085f17f1d15`)})()}catch{}import{$d as e,qd as t}from"./vendor-Byl1K1cb.js";import{AC as n,OC as r,VO as i,yg as a}from"./app-DPqAJq5O.js";e();var o={INSTANCE_CONTEXT:`instance-context`,STATUS:`status`};function s(e){if(e.name!==o.INSTANCE_CONTEXT)return;let t=r.safeParse(e.payload);return t.success?t.data:void 0}function c(e){if(e.name!==o.STATUS)return;let t=n.safeParse(e.payload);return t.success&&t.data.message?t.data.message:void 0}var l=[{key:`assistant_instance_context`,matchHostEvent:e=>s(e)!==void 0,hostEventComponent:t(async()=>await i(()=>import(`./AssistantInstanceContextHostEvent-gWrx33sx.js`),__vite__mapDeps([0,1,2,3,4,5,6]))),hostEventPlacement:a.THINKING},{key:`assistant_status`,matchHostEvent:e=>c(e)!==void 0,hostEventComponent:t(async()=>await i(()=>import(`./AssistantStatusHostEvent-qjQLYO7A.js`),__vite__mapDeps([7,1,2,3,4,5]))),hostEventPlacement:a.START}];export{s as n,c as r,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]=`d2c6de2b-c2c6-4d80-85e5-7d19d2cbf985`,e._sentryDebugIdIdentifier=`sentry-dbid-d2c6de2b-c2c6-4d80-85e5-7d19d2cbf985`)})()}catch{}import{eO 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]=`d2c6de2b-c2c6-4d80-85e5-7d19d2cbf985`,e._sentryDebugIdIdentifier=`sentry-dbid-d2c6de2b-c2c6-4d80-85e5-7d19d2cbf985`)})()}catch{}import{eO as e}from"./app-DPqAJq5O.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]=`6d17dfc1-c8ab-46f6-8db0-89c80db7fc4a`,e._sentryDebugIdIdentifier=`sentry-dbid-6d17dfc1-c8ab-46f6-8db0-89c80db7fc4a`)})()}catch{}import{ho as e,jf as t,zf as n}from"./vendor-Byl1K1cb.js";import{kx as r,nx as i}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]=`6d17dfc1-c8ab-46f6-8db0-89c80db7fc4a`,e._sentryDebugIdIdentifier=`sentry-dbid-6d17dfc1-c8ab-46f6-8db0-89c80db7fc4a`)})()}catch{}import{ho as e,jf as t,zf as n}from"./vendor-Byl1K1cb.js";import{kx as r,nx as i}from"./app-DPqAJq5O.js";var a=`/ai-preferences`;async function o(e,{ids:t,...n}={}){return await r(e,`GET`,a,{...n,...t?{ids:t.join(`,`)}:{}})}async function s(e){return(await r(e,`GET`,`${a}/count`)).count}async function c(e,t){return await r(e,`POST`,a,t)}async function l(e,t,n){return await r(e,`PATCH`,`${a}/${t}`,n)}async function u(e,t){await r(e,`DELETE`,`${a}/${t}`)}t();var d=e(`context`,()=>{let e=i(),t=n([]),r=n(0),a=n(!1),d=0,f=0;async function p(n={}){let i=++d,s=++f;a.value=!0;try{let a=await o(e.restApiContext,n);return i===d&&(t.value=a.data),s===f&&(r.value=a.count),a}finally{i===d&&(a.value=!1)}}async function m(t){let n=[];for(let r=0;r<t.length;r+=100){let i=t.slice(r,r+100),a=await o(e.restApiContext,{ids:i,take:i.length});n.push(a.data)}return n.flat()}let h=n(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 t=++f,n=await s(e.restApiContext);return t===f&&(r.value=n),n}async function T(t){let n=await c(e.restApiContext,t);return S(n),n}async function E(t,n){let r=await l(e.restApiContext,t,n);return S(r),r}async function D(t){await u(e.restApiContext,t),C(t)}async function O(t){let n=await Promise.allSettled(t.map(async t=>await u(e.restApiContext,t))),r={deleted:[],failed:[]};return n.forEach((e,n)=>{let i=t[n];e.status===`fulfilled`?(r.deleted.push(i),C(i)):r.failed.push({id:i,error:e.reason})}),r}return{preferences:t,count:r,loading:a,rowById:h,fetchPreferences:p,fetchPreferencesByIds:m,resolveRows:x,setRow:S,forgetRow:C,fetchPreferenceCount:w,createPreference:T,updatePreference:E,deletePreference:D,deletePreferences:O}});export{d as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/module-ES6BEMUI-Cerd7jPE.js","assets/chunk-V2S4ZYJR-DOqXECQ-.js","assets/dist-Keo1RIvK.js","assets/module-asyncify-2EFITU5U-CuY5pG4n.js","assets/chunk-TAV5CUKK-9m_GX9e_.js","assets/ffi-Cr17wiQM.js","assets/ffi-BTqz1lzu.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]=`5dfc21e0-d9d6-4012-a3f6-59b86011f79d`,e._sentryDebugIdIdentifier=`sentry-dbid-5dfc21e0-d9d6-4012-a3f6-59b86011f79d`)})()}catch{}import{VO as e}from"./app-
|
|
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]=`5dfc21e0-d9d6-4012-a3f6-59b86011f79d`,e._sentryDebugIdIdentifier=`sentry-dbid-5dfc21e0-d9d6-4012-a3f6-59b86011f79d`)})()}catch{}import{VO as e}from"./app-DPqAJq5O.js";import{a as t,i as n,n as r,o as i,r as a,t as o}from"./dist-Keo1RIvK.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-DOqXECQ-.js";import{n as E,r as D,t as O}from"./chunk-TAV5CUKK-9m_GX9e_.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-Cerd7jPE.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-CuY5pG4n.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-MRJhh-OY.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-B81wQohP.js`).then(e=>e.default),[])},B={type:`sync`,importFFI:()=>e(()=>import(`./ffi-BgWE7XSv.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-DSNUt7Ws.js`).then(e=>e.default),[])},V={type:`async`,importFFI:()=>e(()=>import(`./ffi-Cr17wiQM.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([5,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-DYJRpRCU.js`).then(e=>e.default),[])},H={type:`async`,importFFI:()=>e(()=>import(`./ffi-BTqz1lzu.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([6,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-ZFAWFd3R.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};
|
|
@@ -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]=`a64a74a0-5f51-4f44-bfb0-cf3e14643894`,e._sentryDebugIdIdentifier=`sentry-dbid-a64a74a0-5f51-4f44-bfb0-cf3e14643894`)})()}catch{}export{HO as default}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]=`a64a74a0-5f51-4f44-bfb0-cf3e14643894`,e._sentryDebugIdIdentifier=`sentry-dbid-a64a74a0-5f51-4f44-bfb0-cf3e14643894`)})()}catch{}export{HO as default}from"./app-DPqAJq5O.js";
|
package/dist/assets/{expression-runtime-stub-D5pLCOQ1.js → expression-runtime-stub-CiR8mV0s.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]=`467b77ce-282b-4769-9b8d-03d1f79388c6`,e._sentryDebugIdIdentifier=`sentry-dbid-467b77ce-282b-4769-9b8d-03d1f79388c6`)})()}catch{}export{Kw as DEFAULT_BRIDGE_CONFIG,Rw as EXPRESSION_METRICS,Mw as EXTENSION_OBJECTS,Bw as ExpressionError,Iw as ExpressionEvaluator,Fw as ExpressionExtensionError,IT as IsolateError,Aw as IsolatedVmBridge,Vw as MemoryLimitError,jw as NoOpProvider,zw as QuickJsBridge,Gw as RuntimeError,Hw as SecurityViolationError,Uw as SyntaxError,Ww as TimeoutError,Lw as classifyExpressionError,Nw as extend,Pw as extendOptional}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]=`467b77ce-282b-4769-9b8d-03d1f79388c6`,e._sentryDebugIdIdentifier=`sentry-dbid-467b77ce-282b-4769-9b8d-03d1f79388c6`)})()}catch{}export{Kw as DEFAULT_BRIDGE_CONFIG,Rw as EXPRESSION_METRICS,Mw as EXTENSION_OBJECTS,Bw as ExpressionError,Iw as ExpressionEvaluator,Fw as ExpressionExtensionError,IT as IsolateError,Aw as IsolatedVmBridge,Vw as MemoryLimitError,jw as NoOpProvider,zw as QuickJsBridge,Gw as RuntimeError,Hw as SecurityViolationError,Uw as SyntaxError,Ww as TimeoutError,Lw as classifyExpressionError,Nw as extend,Pw as extendOptional}from"./app-DPqAJq5O.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]=`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-DPqAJq5O.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),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`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]=`8ec45797-f8f5-4ebb-9c00-8b169f652054`,e._sentryDebugIdIdentifier=`sentry-dbid-8ec45797-f8f5-4ebb-9c00-8b169f652054`)})()}catch{}import{$d as e,Nu as t,Rd as n,eu as r,ho as i}from"./vendor-Byl1K1cb.js";import{ZS as a,ex as o,kx as s,nx as c,tx as l}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]=`8ec45797-f8f5-4ebb-9c00-8b169f652054`,e._sentryDebugIdIdentifier=`sentry-dbid-8ec45797-f8f5-4ebb-9c00-8b169f652054`)})()}catch{}import{$d as e,Nu as t,Rd as n,eu as r,ho as i}from"./vendor-Byl1K1cb.js";import{ZS as a,ex as o,kx as s,nx as c,tx as l}from"./app-DPqAJq5O.js";import{c as u}from"./insights.utils-HTAuktGM.js";function d(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 f=async(e,t)=>await s(e,`GET`,`/insights/summary`,d(t)),p=async(e,t)=>await s(e,`GET`,`/insights/by-time`,d(t)),m=async(e,t)=>await s(e,`GET`,`/insights/by-time/time-saved`,d(t)),h=async(e,t)=>await s(e,`GET`,`/insights/by-workflow`,d(t));e();var g=i(`insights`,()=>{let e=c(),r=o(),i=l(),s=n(()=>a(r.currentUser?.globalScopes).insights),d=n(()=>i.isModuleActive(`insights`)),g=n(()=>!!i.moduleSettings.insights?.dashboard);return{globalInsightsPermissions:s,isInsightsEnabled:d,isSummaryEnabled:n(()=>s.value.list&&d.value),isDashboardEnabled:g,weeklySummary:t(async()=>{let t=await f(e.restApiContext);return u(t)},[],{immediate:!1,resetOnExecute:!1}),summary:t(async t=>{let n=await f(e.restApiContext,t);return u(n)},[],{immediate:!1,resetOnExecute:!1}),charts:t(async t=>await(g.value?p:m)(e.restApiContext,t),[],{immediate:!1,resetOnExecute:!1}),table:t(async t=>await h(e.restApiContext,t),{count:0,data:[]},{immediate:!1,resetOnExecute:!1}),dateRanges:n(()=>i.moduleSettings.insights?.dateRanges??[]),earliestDataDate:n(()=>i.moduleSettings.insights?.earliestDataDate??null)}});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]=`8f7bf470-5176-461a-a29b-6f6e954f8036`,e._sentryDebugIdIdentifier=`sentry-dbid-8f7bf470-5176-461a-a29b-6f6e954f8036`)})()}catch{}export{t as useInsightsStore}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]=`8f7bf470-5176-461a-a29b-6f6e954f8036`,e._sentryDebugIdIdentifier=`sentry-dbid-8f7bf470-5176-461a-a29b-6f6e954f8036`)})()}catch{}export{t as useInsightsStore}from"./insights.store-Cei7J7i5.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]=`5ee1504f-d55f-4071-bd20-57a05a803a51`,e._sentryDebugIdIdentifier=`sentry-dbid-5ee1504f-d55f-4071-bd20-57a05a803a51`)})()}catch{}import{o as e}from"./rolldown-runtime-Cnm24cU6.js";import{$l as t,Go as n,Ql as r,Zl as i,eu as a,tu as o}from"./vendor-Byl1K1cb.js";import{GO 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]=`5ee1504f-d55f-4071-bd20-57a05a803a51`,e._sentryDebugIdIdentifier=`sentry-dbid-5ee1504f-d55f-4071-bd20-57a05a803a51`)})()}catch{}import{o as e}from"./rolldown-runtime-Cnm24cU6.js";import{$l as t,Go as n,Ql as r,Zl as i,eu as a,tu as o}from"./vendor-Byl1K1cb.js";import{GO as s}from"./app-DPqAJq5O.js";import{a as c,n as l,r as u}from"./insights.constants-Co27bAnL.js";var d=e(n(),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:n,end:r}=e;if(!n||!r||!t(r,a()))return null;let i=r.compare(n);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)}}{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]=`1cded989-f6fc-4c66-8f81-205517ec3171`,e._sentryDebugIdIdentifier=`sentry-dbid-1cded989-f6fc-4c66-8f81-205517ec3171`)})()}catch{}export{Ro as useInstanceAiStore}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]=`1cded989-f6fc-4c66-8f81-205517ec3171`,e._sentryDebugIdIdentifier=`sentry-dbid-1cded989-f6fc-4c66-8f81-205517ec3171`)})()}catch{}export{Ro as useInstanceAiStore}from"./app-DPqAJq5O.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]=`30c3cb4c-cb6c-4460-b505-74a814fc581f`,e._sentryDebugIdIdentifier=`sentry-dbid-30c3cb4c-cb6c-4460-b505-74a814fc581f`)})()}catch{}export{t as useInstanceAiMcpStore}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]=`30c3cb4c-cb6c-4460-b505-74a814fc581f`,e._sentryDebugIdIdentifier=`sentry-dbid-30c3cb4c-cb6c-4460-b505-74a814fc581f`)})()}catch{}export{t as useInstanceAiMcpStore}from"./instanceAiMcp.store-s3gRvVQc.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]=`667c4411-4f41-4ddd-96e6-a880887a01f1`,e._sentryDebugIdIdentifier=`sentry-dbid-667c4411-4f41-4ddd-96e6-a880887a01f1`)})()}catch{}import{$d as e,Lf as t,Rd as n,ho as r,jf as i,zf as a}from"./vendor-Byl1K1cb.js";import{$m as o,Ew as s,Jb as c,WO as l,eh as u,kx as d,nx as f}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]=`667c4411-4f41-4ddd-96e6-a880887a01f1`,e._sentryDebugIdIdentifier=`sentry-dbid-667c4411-4f41-4ddd-96e6-a880887a01f1`)})()}catch{}import{$d as e,Lf as t,Rd as n,ho as r,jf as i,zf as a}from"./vendor-Byl1K1cb.js";import{$m as o,Ew as s,Jb as c,WO as l,eh as u,kx as d,nx as f}from"./app-DPqAJq5O.js";import{n as p}from"./mcpRegistry.api-B9OpSDS8.js";async function m(e){return await d(e,`GET`,`/instance-ai/mcp/connections`)}async function h(e,t){return await d(e,`GET`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}/tools`)}async function g(e){return await d(e,`GET`,`/instance-ai/mcp/connections/tools`)}async function _(e,t){return await d(e,`POST`,`/instance-ai/mcp/connections`,t)}async function v(e,t,n){return await d(e,`PATCH`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`,n)}async function y(e,t){await d(e,`DELETE`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`)}e(),i();var b=r(`instanceAiMcp`,()=>{let e=f(),r=c(),i=u(),d=a([]),b=null,x=a(null),S=null,C=t(new Map),w=a(!1),T=a(!1),E=!1,D=new Map,O=0,k=n(()=>{let e=new Map;for(let t of d.value){let n=e.get(t.serverSlug)??[];n.push(t),e.set(t.serverSlug,n)}return e});async function A(){b??=M(),await b}async function j(){E||await A()}async function M(){w.value=!0;try{let t=await m(e.restApiContext);d.value=t.map(e=>({...e,status:`connecting`})),E=!0,B()}catch(e){r.showError(e,l.baseText(`instanceAi.mcp.error.fetchConnections`))}finally{b=null,w.value=!1}}async function N(){S??=P(),await S}async function P(){T.value=!0;try{let t=await p(e.restApiContext);x.value=t.filter(e=>!e.isTemplated).map(e=>({...e,credentials:e.credentials.filter(({credentialType:e})=>!s(e))})).filter(e=>e.credentials.length>0)}catch(e){S=null,r.showError(e,l.baseText(`instanceAi.mcp.error.fetchCatalog`))}finally{T.value=!1}}function F(e){C.delete(e),D.delete(e)}function I(e,t,n){d.value=d.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 L(e){I(e.id,e.status,e.status===`disconnected`?e.failureReason:void 0),e.status===`connected`?C.set(e.id,e.tools):C.delete(e.id)}function R(e){switch(e){case`server_unavailable`:return l.baseText(`instanceAi.mcp.error.connection.serverUnavailable`);case`authentication`:return l.baseText(`instanceAi.mcp.error.connection.authentication`);default:return l.baseText(`instanceAi.mcp.error.connection.unknown`)}}function z(e){r.showMessage({type:`error`,title:l.baseText(`instanceAi.mcp.error.connection.title`),message:R(e)})}async function B(){let t=++O;if(d.value.length!==0)try{let n=await g(e.restApiContext);if(t!==O)return;n.forEach(e=>{d.value.find(t=>t.id===e.id)?.status===`connecting`&&!D.has(e.id)&&L(e)})}catch(e){if(t!==O)return;d.value=d.value.map(e=>({...e,status:e.status===`connecting`?`disconnected`:e.status,...e.status===`connecting`?{failureReason:`unknown`}:{}})),r.showError(e,l.baseText(`instanceAi.mcp.error.checkConnections`))}}async function V(t){I(t,`connecting`);let n=h(e.restApiContext,t),r=()=>D.get(t)===n;D.set(t,n);try{let e=await n;r()&&(L(e),e.status===`disconnected`&&z(e.failureReason))}catch{r()&&(I(t,`disconnected`,`unknown`),C.delete(t),z(`unknown`))}finally{r()&&D.delete(t)}}async function H(e){let t=d.value.find(t=>t.id===e);t&&t.status!==`connecting`&&(t.status===`connected`&&C.has(e)||await V(e))}function U(e){d.value.some(t=>t.id===e)&&V(e)}async function W(t){try{let n={...await _(e.restApiContext,t),status:`connecting`};return d.value=[...d.value,n],V(n.id),n}catch(e){return r.showError(e,l.baseText(`instanceAi.mcp.error.connect`)),null}}async function G(t,n){try{let r=await v(e.restApiContext,t,n),i=d.value.find(e=>e.id===t),a={...r,status:n.credentialId?`connecting`:i?.status??`connecting`};return d.value=d.value.map(e=>e.id===t?a:e),n.credentialId&&(F(t),V(t)),a}catch(e){return r.showError(e,l.baseText(`instanceAi.mcp.error.updateSettings`)),null}}async function K(t){try{return await y(e.restApiContext,t),d.value=d.value.filter(e=>e.id!==t),F(t),!0}catch(e){return r.showError(e,l.baseText(`instanceAi.mcp.error.disconnect`)),!1}}o({store:i,onCredentialDeleted:e=>{let t=d.value.filter(t=>t.credentialId===e);if(t.length!==0){d.value=d.value.filter(t=>t.credentialId!==e);for(let e of t)F(e.id)}}});function q(){d.value=[],b=null,x.value=null,S=null,C.clear(),D.clear(),E=!1,O++}return{connections:d,catalog:x,connectionToolsById:C,isLoadingConnections:w,isLoadingCatalog:T,connectionsByServerSlug:k,fetchConnections:A,fetchConnectionsLazy:j,fetchCatalogLazy:N,fetchConnectionTools:V,fetchConnectionToolsLazy:H,handleToolCallFailed:U,connect:W,updateConnection:G,disconnect:K,reset:q}});export{b as t};
|
package/dist/assets/{instanceAiSetup.telemetry-CajmCbhy.js → instanceAiSetup.telemetry-s0R5UpV-.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]=`f74eab2b-4e1e-433a-a95f-de662380bb1b`,e._sentryDebugIdIdentifier=`sentry-dbid-f74eab2b-4e1e-433a-a95f-de662380bb1b`)})()}catch{}import{$d as e,jf as t,wf as n,zf as r}from"./vendor-Byl1K1cb.js";import{$_ as i,Qb as a,_s as o,bC 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]=`f74eab2b-4e1e-433a-a95f-de662380bb1b`,e._sentryDebugIdIdentifier=`sentry-dbid-f74eab2b-4e1e-433a-a95f-de662380bb1b`)})()}catch{}import{$d as e,jf as t,wf as n,zf as r}from"./vendor-Byl1K1cb.js";import{$_ as i,Qb as a,_s as o,bC as s}from"./app-DPqAJq5O.js";import{i as c,r as l}from"./useInstanceAiConfiguration-BD5sA7i5.js";t(),e();function u(e,t,n){let r=s(e),i=t.find(t=>t.id===e.modelCredentialId)?.type,a=r.modelSource===`ui`?l.find(e=>e.credentialType===i)?.id??null:null,o=n.find(t=>t.id===e.searchCredentialId)?.type,u=r.webSearchSource===`ui`?c.find(e=>e.credentialType===o)?.id??null:r.webSearchSource===`env`?e.envManaged?.search.apiKey?`brave`:e.envManaged?.search.url?`searxng`:null:null;return{model_source:r.modelSource,model_provider:a,model_name:r.modelSource===`none`?null:e.modelName,sandbox_source:r.sandboxSource,sandbox_type:r.sandboxType,web_search_source:r.webSearchSource,web_search_provider:u}}function d(e){let t=a(),s=o(),c=r(!1);n(()=>s.isLoading?null:s.settings,n=>{n&&!c.value&&(s.isCloudManaged||s.isProxyEnabled||(c.value=!0,t.track(i.INSTANCE_AI.USER_VIEWED_AI_ASSISTANT_SETUP_PAGE,{page:e,...u(n,s.instanceModelCredentials,s.serviceCredentials)})))},{immediate:!0})}export{d 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]=`e196b624-bd00-4fb3-ad5e-6ac08299522d`,e._sentryDebugIdIdentifier=`sentry-dbid-e196b624-bd00-4fb3-ad5e-6ac08299522d`)})()}catch{}import{GO 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]=`e196b624-bd00-4fb3-ad5e-6ac08299522d`,e._sentryDebugIdIdentifier=`sentry-dbid-e196b624-bd00-4fb3-ad5e-6ac08299522d`)})()}catch{}import{GO as e}from"./app-DPqAJq5O.js";function t(e,t){let{injection:n}=t;if(n.state!==`injected`)return``;let{legs:r}=n,i=[];return r.inventory>0&&i.push(e.baseText(`aiAssistant.instanceContext.trace.workflows`,{adjustToNumber:r.inventory})),r.events>0&&i.push(e.baseText(`aiAssistant.instanceContext.trace.changes`,{adjustToNumber:r.events})),r.runs>0&&i.push(e.baseText(`aiAssistant.instanceContext.trace.runs`,{adjustToNumber:r.runs})),i.join(e.baseText(`aiAssistant.instanceContext.trace.listSeparator`))}function n(e,t){return(t.reach?.surfaces??[]).map(t=>e.baseText(`aiAssistant.instanceContext.trace.surface.${t}`)).join(e.baseText(`aiAssistant.instanceContext.trace.listSeparator`))}function r(){let r=e();function i(e){let i;i=e.injection.state===`absent`?e.injection.reason===`failed`?r.baseText(`aiAssistant.instanceContext.trace.failed`):r.baseText(`aiAssistant.instanceContext.trace.none`):e.injection.isUpdate?r.baseText(`aiAssistant.instanceContext.trace.readUpdate`):r.baseText(`aiAssistant.instanceContext.trace.read`);let a=t(r,e),o=a?r.baseText(`aiAssistant.instanceContext.trace.withLegs`,{interpolate:{head:i,legs:a}}):i,s=n(r,e);return s?r.baseText(`aiAssistant.instanceContext.trace.withReach`,{interpolate:{summary:o,reach:s}}):o}return{getInstanceContextLabel:i}}export{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]=`9cb474f5-03ed-4b52-bd94-cccfb5b27927`,e._sentryDebugIdIdentifier=`sentry-dbid-9cb474f5-03ed-4b52-bd94-cccfb5b27927`)})()}catch{}import{QS as e,iC as t,rC as n,tC 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]=`9cb474f5-03ed-4b52-bd94-cccfb5b27927`,e._sentryDebugIdIdentifier=`sentry-dbid-9cb474f5-03ed-4b52-bd94-cccfb5b27927`)})()}catch{}import{QS as e,iC as t,rC as n,tC as r}from"./app-DPqAJq5O.js";var i=[`settings`,`user`,`role`,`apiKey`,`tag`,`variable`,`credential`,`project`,`app`,`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`,app:`instanceRoles.resource.app`,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`},app:{View:`instanceRoles.description.app.view`,Manage:`instanceRoles.description.app.manage`},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)),...e])],p={user:{View:`instanceRoles.option.mandatory`}};function m(e,t){if(h(e,t))return p[e]?.[t.key]??t.descriptionKey}function h(e,t){return n(e,t.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){let n=d.flatMap(t=>t.options.filter(t=>x(e,t.scopes)===`checked`).flatMap(e=>e.scopes));return t(n)}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]=`a36a6a0c-4f29-4d83-9d10-9902362d23a3`,e._sentryDebugIdIdentifier=`sentry-dbid-a36a6a0c-4f29-4d83-9d10-9902362d23a3`)})()}catch{}import{ho as e,jf as t,zf as n}from"./vendor-Byl1K1cb.js";import{Cx as r,Sx as i,Tx as a,bx as o,nx as s,wx as c,xx as l}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]=`a36a6a0c-4f29-4d83-9d10-9902362d23a3`,e._sentryDebugIdIdentifier=`sentry-dbid-a36a6a0c-4f29-4d83-9d10-9902362d23a3`)})()}catch{}import{ho as e,jf as t,zf as n}from"./vendor-Byl1K1cb.js";import{Cx as r,Sx as i,Tx as a,bx as o,nx as s,wx as c,xx as l}from"./app-DPqAJq5O.js";t();var u=e=>{let t=e.match(/^[\w\s]+\.[\w\s]+/);if(t&&t?.length>0)return t[0]},d=(e,t=``)=>(e=e.replace(t+`.`,``),e.length>0&&(e=e[0].toUpperCase()+e.substring(1),e=e.replaceAll(`.`,` `)),e),f=(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:d(n,e),name:n,selected:t.has(n),indeterminate:!1};i.children.push(r)}n.push(i)}return n},p=e(`logStreaming`,()=>{let e=n({}),t=n(new Set),d=s(),p=n=>{if(n.id){if(e.value[n.id]||(e.value[n.id]={destination:n,selectedEvents:new Set,eventGroups:[],isNew:!1}),e.value[n.id]?.selectedEvents?.clear(),n.subscribedEvents)for(let t of n.subscribedEvents)e.value[n.id]?.selectedEvents?.add(t);e.value[n.id].eventGroups=f(t.value,e.value[n.id]?.selectedEvents)}},m=t=>{t.id&&e.value[t.id]?e.value[t.id].destination=t:p(t)},h=t=>{if(e.value[t])return e.value[t].destination},g=()=>Object.values(e.value).map(e=>e.destination),_=()=>{e.value={}},v=e=>{t.value.add(e)},y=e=>{t.value.delete(e)},b=()=>{t.value.clear()},x=(t,n,r)=>{if(!e.value[t])return;let i=u(n),a=e.value[t].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=(t,n)=>{e.value[t]?.selectedEvents?.add(n),x(t,n,!0)},C=(t,n)=>{e.value[t]?.selectedEvents?.delete(n),x(t,n,!1)},w=t=>{delete e.value[t]},T=t=>{t.id&&e.value[t.id]&&(e.value[t.id].destination=t)},E=t=>{t&&delete e.value[t]},D=t=>{let n=[];if(e.value[t])for(let r of e.value[t].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);return await c(d.restApiContext,e,t),T(e),!0},sendTestMessage:async e=>r(e)?await a(d.restApiContext,e):!1,fetchEventNames:async()=>await i(d.restApiContext),fetchDestinations:async()=>await l(d.restApiContext),deleteDestination:async e=>{await o(d.restApiContext,e),E(e)},items:e}});export{p 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]=`7818aa09-a533-43a4-97b1-148c0c3ea521`,e._sentryDebugIdIdentifier=`sentry-dbid-7818aa09-a533-43a4-97b1-148c0c3ea521`)})()}catch{}import{kx 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]=`7818aa09-a533-43a4-97b1-148c0c3ea521`,e._sentryDebugIdIdentifier=`sentry-dbid-7818aa09-a533-43a4-97b1-148c0c3ea521`)})()}catch{}import{kx as e}from"./app-DPqAJq5O.js";async function t(t){return await e(t,`GET`,`/mcp-registry/servers`)}async function n(t,n){return await e(t,`POST`,`/mcp-registry/discover`,n)}export{t as n,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]=`cd6d80f6-c210-4343-9d1a-c24b1ad07f9b`,e._sentryDebugIdIdentifier=`sentry-dbid-cd6d80f6-c210-4343-9d1a-c24b1ad07f9b`)})()}catch{}import{$d as e,Rd as t,ho as n,jf as r,zf as i}from"./vendor-Byl1K1cb.js";import{Al as a,Gl as o,Jb as s,WO as c,ll as l,nE as u,nx as d,oc as f,tg as p}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]=`cd6d80f6-c210-4343-9d1a-c24b1ad07f9b`,e._sentryDebugIdIdentifier=`sentry-dbid-cd6d80f6-c210-4343-9d1a-c24b1ad07f9b`)})()}catch{}import{$d as e,Rd as t,ho as n,jf as r,zf as i}from"./vendor-Byl1K1cb.js";import{Al as a,Gl as o,Jb as s,WO as c,ll as l,nE as u,nx as d,oc as f,tg as p}from"./app-DPqAJq5O.js";e(),r();var m=n(u.AGENT_N8N_CHAT_THREADS,()=>{let e=d(),n=s(),r=i([]),u=i([]),f=i(new Set),p=t(()=>new Map([...u.value,...r.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(t){let n=++h;try{let i=await o(e.restApiContext,{limit:t});if(n!==h)return;r.value=i.data}catch(e){if(n!==h)return;console.error(`Failed to load n8n Chat threads`,e)}}async function _(t){if(!p.value.has(t))try{let n=await a(e.restApiContext,t);if(p.value.has(n.id))return;u.value.push(n)}catch(e){console.error(`Failed to load n8n Chat thread`,e)}}async function v(t){try{await l(e.restApiContext,t.agent.projectId,t.agent.id,t.id)}catch(e){return n.showError(e,c.baseText(`agentSessions.showError.delete`)),!1}return r.value=r.value.filter(e=>e.id!==t.id),u.value=u.value.filter(e=>e.id!==t.id),f.value.add(t.id),!0}return{recentThreads:r,openedThreads:u,threadsById:p,knownThreads:m,deletedThreadIds:f,fetchRecent:g,loadThread:_,deleteThread:v}});function h(e){return e.kind===`assistant`||e.kind===`assistant-agent`?{name:f,params:{threadId:e.thread.id}}:{name:p,params:{agentId:e.thread.agent.id,agentThreadId:e.thread.id}}}function g(e,t){return e.kind===`assistant`?e.thread.title:e.thread.title??t.baseText(`commandBar.instanceAi.newThread`)}function _(e){return e.kind===`assistant`||e.kind===`assistant-agent`}function v(e){return[{id:`delete`,label:e.baseText(`instanceAi.sidebar.deleteThread`),icon:`trash-2`}]}function y(e,t,n){let r=[e.map(e=>({kind:`assistant`,thread:e})),(n.assistantAgentThreads??[]).map(e=>({kind:`assistant-agent`,thread:e})),t.map(e=>({kind:`agent`,thread:e}))],i=e=>e.thread.updatedAt??``,a=[],o=r.map(()=>0);for(;a.length<n.limit;){let e=-1;for(let t=0;t<r.length;t++){let n=r[t][o[t]];n&&(e===-1||i(n)>i(r[e][o[e]]))&&(e=t)}if(e===-1)break;a.push(r[e][o[e]++])}let s=n.openThreadId;if(!s||a.some(e=>e.thread.id===s))return a;let c=r.flat().find(e=>e.thread.id===s);return c?[...a.slice(0,Math.max(n.limit-1,0)),c]:a}function b(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{b as a,_ as i,h as n,y as o,g as r,m as s,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]=`bd35f0a6-fd46-48ef-a016-d4be17e9e8ac`,e._sentryDebugIdIdentifier=`sentry-dbid-bd35f0a6-fd46-48ef-a016-d4be17e9e8ac`)})()}catch{}import{tx 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]=`bd35f0a6-fd46-48ef-a016-d4be17e9e8ac`,e._sentryDebugIdIdentifier=`sentry-dbid-bd35f0a6-fd46-48ef-a016-d4be17e9e8ac`)})()}catch{}import{tx as e}from"./app-DPqAJq5O.js";function t(t){let n=e().settings.security?.postMessageAllowedOrigins??[];return n.length===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]=`c93c6ddf-6411-40cf-91f1-58f757cb2ea1`,e._sentryDebugIdIdentifier=`sentry-dbid-c93c6ddf-6411-40cf-91f1-58f757cb2ea1`)})()}catch{}import{$S as e,nC 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]=`c93c6ddf-6411-40cf-91f1-58f757cb2ea1`,e._sentryDebugIdIdentifier=`sentry-dbid-c93c6ddf-6411-40cf-91f1-58f757cb2ea1`)})()}catch{}import{$S as e,nC as t}from"./app-DPqAJq5O.js";var n=[`project`,`folder`,`workflow`,`agent`,`app`,`credential`,`execution`,`externalSecretsProvider`,`externalSecret`,`dataTable`,`projectVariable`,`projectAiPreference`,`projectSkill`,`sourceControl`],r=Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.map(t=>`${e}:${t}`)])),i=new Set([...Object.values(r).flat(),...e]),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]=`f63c06ea-0676-48de-8e68-304d4fbd378b`,e._sentryDebugIdIdentifier=`sentry-dbid-f63c06ea-0676-48de-8e68-304d4fbd378b`)})()}catch{}export{hh as canOpenSelfHealingRoute}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]=`f63c06ea-0676-48de-8e68-304d4fbd378b`,e._sentryDebugIdIdentifier=`sentry-dbid-f63c06ea-0676-48de-8e68-304d4fbd378b`)})()}catch{}export{hh as canOpenSelfHealingRoute}from"./app-DPqAJq5O.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]=`7a92c1a2-85e1-4c8b-b4c4-88c455c2b24d`,e._sentryDebugIdIdentifier=`sentry-dbid-7a92c1a2-85e1-4c8b-b4c4-88c455c2b24d`)})()}catch{}import{Ox as e,kx 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]=`7a92c1a2-85e1-4c8b-b4c4-88c455c2b24d`,e._sentryDebugIdIdentifier=`sentry-dbid-7a92c1a2-85e1-4c8b-b4c4-88c455c2b24d`)})()}catch{}import{Ox as e,kx as t}from"./app-DPqAJq5O.js";import{i as n}from"./promotionPreview.tree-BF62lCBu.js";async function r(e,n,r){return await t(e,`GET`,`/promotions/${n}/changes/${r}`)}async function i(e,n,r,i){return await t(e,`POST`,`/promotions/${n}/changes/${r}/details`,i)}async function a(e,n){return await t(e,`GET`,`/promotions/reviews/${n}/changes`)}async function o(e,n,r){return await t(e,`POST`,`/promotions/reviews/${n}/changes/details`,r)}async function s(t,n,r){return await e(t,`POST`,`/promotions/projects/${n}/promote`,r)}var c={mode:`default`,selected:new Set},l=new Set;function u(e,t,n){let r=e.get(t);r?r.includes(n)||r.push(n):e.set(t,[n])}function d(e,t){let n=new Map(e.resources.map(e=>[e.key,e])),r=new Map,i=new Map,a=new Map,o=new Map;for(let{workflowKey:t,resourceKey:s,included:c}of e.dependencies)n.has(t)&&n.has(s)&&(c?(u(r,t,s),u(i,s,t)):(u(a,t,s),u(o,s,t)));return{direction:t,resources:n,requires:r,requiredBy:i,calls:a,calledBy:o}}function f(e,t){return e.resources.get(t)?.selectable===!0}function p(e){return[...e.resources.values()].filter(e=>e.selectable).map(e=>e.key)}function m(e,t=l){return p(e).filter(e=>!t.has(e))}function h(e,t){let n=[],r=new Set([t]),i=e.resources.get(t)?.parentKey??null;for(;i!==null&&!r.has(i)&&e.resources.has(i);)n.push(i),r.add(i),i=e.resources.get(i)?.parentKey??null;return n}function g(e,t){let n=[],r=new Set([t]),i=[t];for(let t=0;t<i.length;t++)for(let a of e.requires.get(i[t])??[])r.has(a)||(r.add(a),n.push(a),i.push(a));return n}function _(e,t){let n=new Map,r=new Map,i=new Map,a=new Map;for(let o of t)if(e.resources.has(o)){n.set(o,{kind:`selected`});for(let t of g(e,o))u(r,t,o);for(let t of h(e,o))e.resources.get(t)?.change!==`unchanged`&&u(i,t,o);for(let t of e.calls.get(o)??[])u(a,t,o)}if(e.direction===`apply`&&n.size>0)for(let{key:t,type:n,change:r}of e.resources.values())n===`folder`&&r===`added`&&!i.has(t)&&i.set(t,[]);for(let[e,t]of r)n.has(e)||n.set(e,{kind:`required`,by:t});for(let[e,t]of i)n.has(e)||n.set(e,{kind:`container`,by:t});for(let[e,t]of a)n.has(e)||n.set(e,{kind:`calledOnly`,by:t});return{included:new Set([...n].filter(([,e])=>e.kind!==`calledOnly`).map(([e])=>e)),reasons:n}}function v(e,{included:t}){return[...t].filter(t=>e.resources.get(t)?.change!==`unchanged`).length}function y(e){return v(e,_(e,new Set(p(e))))}function b(e,t,n,r=l){if(!f(t,n))return e;let i=new Set(e.selected);if(i.has(n))i.delete(n);else if(r.has(n))return e;else i.add(n);return{mode:`custom`,selected:i}}function x(e,t){return p(e).filter(n=>h(e,n).includes(t))}function S(e,t,n,r=l){let i=x(e,n).filter(e=>!r.has(e)||t.has(e)),a=i.filter(e=>t.has(e)).length;return a===0?`unchecked`:a===i.length?`checked`:`indeterminate`}function C(e,t,r){let{selected:i,inclusion:a,disabled:o,locked:s}=r;if(t.selectable){let e=i.has(t.key);return{checked:e,indeterminate:!1,disabled:s||!e&&o.has(t.key)}}if(n(t)){let n=S(e,i,t.key,o),r=x(e,t.key).some(e=>!o.has(e));return{checked:n===`checked`,indeterminate:n===`indeterminate`,disabled:s||!r&&n===`unchecked`}}return{checked:a.included.has(t.key),indeterminate:!1,disabled:!0}}function w(e,t,n,r=l){let i=x(t,n),a=i.filter(e=>!r.has(e)),o=new Set(e.selected);if(a.every(e=>o.has(e)))for(let e of i)o.delete(e);else for(let e of a)o.add(e);return{mode:`custom`,selected:o}}function T(e,t,n=l){let r=[...e.selected].filter(e=>f(t,e));return{mode:`custom`,selected:new Set([...r,...m(t,n)])}}function E(){return{mode:`custom`,selected:new Set}}function D(e,t,n=l){if(e.mode==="default"){let r=p(t).filter(t=>!n.has(t)||e.selected.has(t));return{state:{mode:`default`,selected:new Set(r)},dropped:[]}}let r=[...e.selected].filter(e=>f(t,e)),i=[...e.selected].filter(e=>!f(t,e));return{state:{mode:`custom`,selected:new Set(r)},dropped:i}}export{s as _,v as a,T as c,b as d,y as f,o as g,a as h,E as i,C as l,i as m,m as n,c as o,r as p,d as r,_ as s,D as t,w 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]=`28a3002c-1c82-4f48-a26e-482e98873ec4`,e._sentryDebugIdIdentifier=`sentry-dbid-28a3002c-1c82-4f48-a26e-482e98873ec4`)})()}catch{}import{eO 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]=`28a3002c-1c82-4f48-a26e-482e98873ec4`,e._sentryDebugIdIdentifier=`sentry-dbid-28a3002c-1c82-4f48-a26e-482e98873ec4`)})()}catch{}import{eO as e}from"./app-DPqAJq5O.js";var t=e();export{t};
|
package/dist/assets/{promotionsSettings.utils-CrJvyM6W.js → promotionsSettings.utils-CnIJ-smj.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]=`6c9fb8a1-28e5-4ee9-8448-7d5476766ad7`,e._sentryDebugIdIdentifier=`sentry-dbid-6c9fb8a1-28e5-4ee9-8448-7d5476766ad7`)})()}catch{}import{HS 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]=`6c9fb8a1-28e5-4ee9-8448-7d5476766ad7`,e._sentryDebugIdIdentifier=`sentry-dbid-6c9fb8a1-28e5-4ee9-8448-7d5476766ad7`)})()}catch{}import{HS as e}from"./app-DPqAJq5O.js";var t={git:`git-branch`,gitlab:`gitlab`},n=e=>e.direction===`apply`?e.settings.branchName:e.settings.baseBranchName,r=(e,t,n)=>e===`apply`?{direction:e,settings:{schemaVersion:1,branchName:t}}:{direction:e,settings:{schemaVersion:1,baseBranchName:t,createBranchOnPromotion:n}},i=(e,t)=>{try{return new URL(e).href.replace(/\/$/,``)===new URL(t).href.replace(/\/$/,``)}catch{return!1}},a=e=>{if(e.repositoryPath)return e.repositoryPath;let t=e.remoteUrl.replace(/\/+$/,``).replace(/\.git$/,``),n=/^[a-z][a-z\d+.-]*:\/\/[^/]+\/(.+)$/i.exec(t)??/^(?:[^@/\s]+@)?[^:/\s]+:(.+)$/.exec(t);return n?n[1]:t},o=(t=`git`)=>({name:``,type:t,baseUrl:``,authType:e[t].authTypes[0],keyType:`ed25519`,username:``,password:``,regenerateKey:!1}),s=e=>({...o(),name:e.name,type:e.type,baseUrl:`baseUrl`in e.config?e.config.baseUrl:``,authType:e.authType,keyType:`keyType`in e.config?e.config.keyType:`ed25519`}),c=t=>({name:t.name.trim(),type:t.type,...e[t.type].hasHostApi&&{config:{schemaVersion:1,baseUrl:t.baseUrl.trim()}},auth:t.authType===`ssh-key`?{authType:`ssh-key`,keyType:t.keyType}:{authType:`token`,...t.type===`git`&&{username:t.username.trim()},password:t.password}}),l=(e,t)=>{let n={},r=e.name.trim();r!==t.name&&(n.name=r),`baseUrl`in t.config&&!i(t.config.baseUrl,e.baseUrl)&&(n.config={schemaVersion:1,baseUrl:e.baseUrl.trim()});let a=e.username.trim();return e.authType===`ssh-key`&&e.regenerateKey?n.auth={authType:`ssh-key`}:e.authType===`token`&&e.password&&(t.type!==`git`||a)&&(n.auth={authType:`token`,...t.type===`git`&&{username:a},password:e.password}),n};export{n as a,s as c,i,a as l,l as n,r as o,o as r,t as s,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]=`90a6ef11-18f7-4b73-8229-cb69c6600e7d`,e._sentryDebugIdIdentifier=`sentry-dbid-90a6ef11-18f7-4b73-8229-cb69c6600e7d`)})()}catch{}export{Iu as usePushConnectionStore}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]=`90a6ef11-18f7-4b73-8229-cb69c6600e7d`,e._sentryDebugIdIdentifier=`sentry-dbid-90a6ef11-18f7-4b73-8229-cb69c6600e7d`)})()}catch{}export{Iu as usePushConnectionStore}from"./app-DPqAJq5O.js";
|
|
@@ -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]=`4aac3fe4-37c7-497e-9931-85382594e043`,e._sentryDebugIdIdentifier=`sentry-dbid-4aac3fe4-37c7-497e-9931-85382594e043`)})()}catch{}import{$d as e,Gu as t,If as n,Rd as r,ho as i,jf as a,ns as o,ts as s,wf as c,zf as l}from"./vendor-Byl1K1cb.js";import{Cb as u,Ff as d,GO as f,Hl as p,Jb as m,Pp as h,Qb as g,YT as _,Yb as v,Zb as y,eh as b,ex as x,fh as S,fo as C,jT as w,nE as T,nx as E,q_ as D,tx as O}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]=`4aac3fe4-37c7-497e-9931-85382594e043`,e._sentryDebugIdIdentifier=`sentry-dbid-4aac3fe4-37c7-497e-9931-85382594e043`)})()}catch{}import{$d as e,Gu as t,If as n,Rd as r,ho as i,jf as a,ns as o,ts as s,wf as c,zf as l}from"./vendor-Byl1K1cb.js";import{Cb as u,Ff as d,GO as f,Hl as p,Jb as m,Pp as h,Qb as g,YT as _,Yb as v,Zb as y,eh as b,ex as x,fh as S,fo as C,jT as w,nE as T,nx as E,q_ as D,tx as O}from"./app-DPqAJq5O.js";import{t as k}from"./useProjectPages-Dz-_d14R.js";var A={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.
|
package/dist/assets/{readyToRunWorkflows.store-COLoWe4z.js → readyToRunWorkflows.store-B4WQfj0m.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]=`35b64081-09b9-46ae-80dd-781be80af659`,e._sentryDebugIdIdentifier=`sentry-dbid-35b64081-09b9-46ae-80dd-781be80af659`)})()}catch{}import{$d as e,Gu as t,Rd as n,ho as r}from"./vendor-Byl1K1cb.js";import{GO as i,Pp as a,Qb as o,Zb as s,db as c,fo as l,nE as u,q_ as d}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]=`35b64081-09b9-46ae-80dd-781be80af659`,e._sentryDebugIdIdentifier=`sentry-dbid-35b64081-09b9-46ae-80dd-781be80af659`)})()}catch{}import{$d as e,Gu as t,Rd as n,ho as r}from"./vendor-Byl1K1cb.js";import{GO as i,Pp as a,Qb as o,Zb as s,db as c,fo as l,nE as u,q_ as d}from"./app-DPqAJq5O.js";var f={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
|
|
|
@@ -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]=`767a5eb0-6323-4f88-9797-91a251834aa5`,e._sentryDebugIdIdentifier=`sentry-dbid-767a5eb0-6323-4f88-9797-91a251834aa5`)})()}catch{}import{$d as e,Rd as t,ho as n,jf as r,ns as i,zf as a}from"./vendor-Byl1K1cb.js";import{Pp as o,Qb as s,YT as c,Yb as l,jT as u,mp as d,q_ as f,wb as p}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]=`767a5eb0-6323-4f88-9797-91a251834aa5`,e._sentryDebugIdIdentifier=`sentry-dbid-767a5eb0-6323-4f88-9797-91a251834aa5`)})()}catch{}import{$d as e,Rd as t,ho as n,jf as r,ns as i,zf as a}from"./vendor-Byl1K1cb.js";import{Pp as o,Qb as s,YT as c,Yb as l,jT as u,mp as d,q_ as f,wb as p}from"./app-DPqAJq5O.js";import{a as m,n as h,t as g}from"./readyToRun.store-ExqgCvnN.js";var _=[{id:`chat-with-the-news`,name:`AI Agent: Chat with the news`,description:`Chat with an AI agent about the latest news`,workflow:h,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:m,nodeTypes:[`n8n-nodes-base.rssFeedReadTool`,`@n8n/n8n-nodes-langchain.agent`]}];e(),r();var v=`N8N_READY_TO_RUN_OPENAI_CREDENTIAL_ID`,y=`n8n-resourceCenter-sidebarAutoExpanded`,b=n(`resourceCenter`,()=>{let e=f(),n=d(),r=o(),m=g(),h=s(),b=i(),x=a(!1),S=a(localStorage.getItem(y)===`true`),C=()=>e.isVariantEnabled(p.name,p.variant);async function w(e){try{return await n.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:l.TEMPLATE,params:{id:e}}}function D(){h.track(`User visited resource center`)}function O(e,t,n){h.track(`User clicked on resource center tile`,{section:e,type:t,id:n})}async function k(e){let t=_.find(t=>t.id===e);if(!t)return;m.userCanClaimOpenAiCredits&&await m.claimFreeAiCredits();let n={...t.workflow,name:t.name},i=localStorage.getItem(v);if(i&&n.nodes){let e=u(n),t=e.nodes?.find(e=>e.name===`OpenAI Model`);t&&(t.credentials??={},t.credentials[c]={id:i,name:``}),n=e}let a=await r.createNewWorkflow(n);await b.push({name:l.WORKFLOW,params:{workflowId:a.id}})}let A=t(()=>C()&&!S.value);function j(){S.value=!0,localStorage.setItem(y,`true`)}return{isFeatureEnabled:C,isLoadingTemplates:x,shouldAutoExpandSidebar:A,fetchTemplateById:w,loadTemplates:T,getTemplateRoute:E,createAndOpenQuickStartWorkflow:k,markSidebarAutoExpanded:j,trackResourceCenterView:D,trackTileClick:O}});export{_ as n,b 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]=`253b63e6-e296-4163-8f14-aa37fdd6ecec`,e._sentryDebugIdIdentifier=`sentry-dbid-253b63e6-e296-4163-8f14-aa37fdd6ecec`)})()}catch{}export{tx as useSettingsStore}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]=`253b63e6-e296-4163-8f14-aa37fdd6ecec`,e._sentryDebugIdIdentifier=`sentry-dbid-253b63e6-e296-4163-8f14-aa37fdd6ecec`)})()}catch{}export{tx as useSettingsStore}from"./app-DPqAJq5O.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]=`b0cab42f-eb4c-4130-97ad-ea8a42ec8aae`,e._sentryDebugIdIdentifier=`sentry-dbid-b0cab42f-eb4c-4130-97ad-ea8a42ec8aae`)})()}catch{}import{ho as e,jf as t,zf as n}from"./vendor-Byl1K1cb.js";import{kx as r,nx as i}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]=`b0cab42f-eb4c-4130-97ad-ea8a42ec8aae`,e._sentryDebugIdIdentifier=`sentry-dbid-b0cab42f-eb4c-4130-97ad-ea8a42ec8aae`)})()}catch{}import{ho as e,jf as t,zf as n}from"./vendor-Byl1K1cb.js";import{kx as r,nx as i}from"./app-DPqAJq5O.js";var a=`/skills`,o=`/skill-sources`;async function s(e,t={}){return await r(e,`GET`,a,{...t})}async function c(e){return await r(e,`GET`,`${a}/creators`)}async function l(e,t={}){return await r(e,`GET`,`${a}/agents`,{...t})}async function u(e,t){return(await r(e,`GET`,`${a}/new-name`,{...t})).name}async function d(e,t){return await r(e,`GET`,`${a}/${t}`)}async function f(e,t){return await r(e,`POST`,a,t)}async function p(e,t,n){return await r(e,`PATCH`,`${a}/${t}`,n)}async function m(e,t){await r(e,`DELETE`,`${a}/${t}`)}async function h(e,t){return await r(e,`GET`,`${o}/credentials`,{...t})}async function g(e,t){return await r(e,`GET`,`${o}/repositories`,{...t})}async function _(e,t){return await r(e,`POST`,`${o}/discover`,t)}async function v(e,t){return await r(e,`POST`,o,t)}async function y(e,t){return await r(e,`POST`,`${o}/skills/${t}/check`)}async function b(e,t){await r(e,`POST`,`${o}/skills/${t}/stop-syncing`)}t();var x=e(`contextSkills`,()=>{let e=i(),t=n([]),r=n(0),a=n(!1),o=0;async function x(n={}){let i=++o;a.value=!0;try{let a=await s(e.restApiContext,n);return i===o&&(t.value=a.data,r.value=a.count),a}finally{i===o&&(a.value=!1)}}async function S(){await x({take:1})}async function C(){return await c(e.restApiContext)}async function w(t={}){return await l(e.restApiContext,t)}async function T(t){return await u(e.restApiContext,t)}async function E(t){return await d(e.restApiContext,t)}async function D(t){return await f(e.restApiContext,t)}async function O(t,n){return await p(e.restApiContext,t,n)}async function k(t){await m(e.restApiContext,t)}async function A(t){return await h(e.restApiContext,t)}async function j(t){return await g(e.restApiContext,t)}async function M(t){return await _(e.restApiContext,t)}async function N(t){return await v(e.restApiContext,t)}async function P(t){await b(e.restApiContext,t)}async function F(t){return await y(e.restApiContext,t)}return{skills:t,count:r,loading:a,fetchSkills:x,fetchSkillCount:S,fetchCreators:C,fetchAgents:w,fetchSkill:E,fetchNewSkillName:T,createSkill:D,saveSkill:O,deleteSkill:k,fetchSourceCredentials:A,fetchSourceRepositories:j,discoverSource:M,connectSource:N,stopSyncingSkill:P,checkForUpdates:F}});export{x 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]=`ca9b595b-4b4a-46cb-971d-2324a86ff881`,e._sentryDebugIdIdentifier=`sentry-dbid-ca9b595b-4b4a-46cb-971d-2324a86ff881`)})()}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]=`ca9b595b-4b4a-46cb-971d-2324a86ff881`,e._sentryDebugIdIdentifier=`sentry-dbid-ca9b595b-4b4a-46cb-971d-2324a86ff881`)})()}catch{}import"./insights.store-Cei7J7i5.js";import"./InsightsSummary-BQXXgWAu.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]=`659a3d9f-cf41-4475-8b89-0d9dabc36eda`,e._sentryDebugIdIdentifier=`sentry-dbid-659a3d9f-cf41-4475-8b89-0d9dabc36eda`)})()}catch{}export{t as useInsightsStore}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]=`659a3d9f-cf41-4475-8b89-0d9dabc36eda`,e._sentryDebugIdIdentifier=`sentry-dbid-659a3d9f-cf41-4475-8b89-0d9dabc36eda`)})()}catch{}export{t as useInsightsStore}from"./insights.store-Cei7J7i5.js";import"./InsightsSummary-BQXXgWAu.js";import"./src-BJYAK6tJ.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]=`b6224f6f-04cb-4cee-aed8-dc0ad368d1a4`,e._sentryDebugIdIdentifier=`sentry-dbid-b6224f6f-04cb-4cee-aed8-dc0ad368d1a4`)})()}catch{}import{$d as e,$o as t,Bd as n,Ed as r,Ef as i,Fd as a,Gd as o,Hd as s,Jd as c,Jf as l,Kd as u,Nd as d,Pd as f,Rd as p,Uf as m,Vd as h,_f as ee,bp as g,cf as te,df as _,es as ne,ho as v,hp as y,if as b,jf as x,mf as re,np as S,ns as ie,pf as C,ts as ae,wf as oe,zd as w,zf as T}from"./vendor-Byl1K1cb.js";import{BO as E,F as D,FO as O,GO as se,I as k,IO as A,JE as j,Jb as ce,LO as M,OE as N,OO as P,P as le,SO as F,UE as I,WD as L,Yb as ue,aE as R,dD as z,ex as B,gD as V,gO as H,hD as de,iD as U,kx as W,lD as G,nx as K,pD as q,uE as fe,uO as J}from"./app-Ccz2bwNC.js";var Y=e=>`/projects/${e}/self-healing-configurations`,X=async(e,t)=>await W(e,`GET`,Y(t)),Z=async(e,t)=>await W(e,`GET`,`${Y(t)}/options`),pe=async(e,t,n,r)=>r===void 0?await W(e,`POST`,Y(t),n):await W(e,`PATCH`,`${Y(t)}/${r}`,n),me=async(e,t,n,r)=>await W(e,`PATCH`,`${Y(t)}/${n}/enabled`,{enabled:r}),he=async(e,t,n)=>await W(e,`DELETE`,`${Y(t)}/${n}`);x();var ge=v(`selfHealing`,()=>{let e=K(),t=T({}),n=T({}),r=new Map;async function i(i){let a=Symbol();r.set(i,a);let[o,s]=await Promise.all([X(e.restApiContext,i),Z(e.restApiContext,i)]);r.get(i)===a&&(r.delete(i),t.value[i]=o,n.value[i]=s)}function a(e,n){r.delete(e);let i=t.value[e]??[];t.value[e]=i.some(({id:e})=>e===n.id)?i.map(e=>e.id===n.id?n:e):[...i,n]}async function o(t,n,r){let i=await pe(e.restApiContext,t,n,r);return a(t,i),i}async function s(t,n,r){a(t,await me(e.restApiContext,t,n,r))}async function c(n,i){await he(e.restApiContext,n,i),r.delete(n),t.value[n]=(t.value[n]??[]).filter(e=>e.id!==i)}return{configurations:t,options:n,load:i,save:o,setEnabled:s,remove:c}});e(),S(),x();var _e=E(c({__name:`ProjectMembersIcon`,props:{icon:{default:null},size:{default:`small`}},setup(e){let t={xsmall:`small`,small:`medium`,medium:`large`};return(r,i)=>(_(),s(`span`,{class:y([r.$style.icon,r.$style[e.size]]),"aria-hidden":`true`,"data-test-id":`project-members-icon`},[e.icon?.type===`emoji`?(_(),s(`span`,{key:0,class:y(r.$style.emoji)},g(e.icon.value),3)):(_(),n(l(M),{key:1,icon:e.icon?.value??`layers`,color:e.icon?.color??`text-base`,size:t[e.size]},null,8,[`icon`,`color`,`size`]))],2))}}),[[`__cssModules`,{$style:{icon:`_icon_4a7um_1`,xsmall:`_xsmall_4a7um_10`,emoji:`_emoji_4a7um_14`,small:`_small_4a7um_18`,medium:`_medium_4a7um_26`}}]]);e(),x(),S();var Q={key:0},ve=E(c({__name:`ProjectSelfHealingSection`,props:{projectId:{},variant:{default:`projectSettings`}},setup(e){let t=e,r=p(()=>t.variant===`personalTab`),c=ge(),d=K(),f=se(),m=ce(),te=fe(),ne=ie(),v=ae(),x=T(null),S=T(!1),E=T(!1),D=T(!1),M=p(()=>c.configurations[t.projectId]??[]),ue=p(()=>[{title:f.baseText(`selfHealing.config.scope`),key:`scope`,width:240,disableSort:!0},...r.value?[]:[{title:f.baseText(`selfHealing.config.peopleToNotify`),key:`reviewerIds`,width:200,disableSort:!0}],{title:f.baseText(`selfHealing.config.lastActivity`),key:`lastActivity`,width:200,disableSort:!0},{title:f.baseText(`selfHealing.config.active`),key:`enabled`,width:110,disableSort:!0},{title:``,key:`actions`,align:`end`,width:46,disableSort:!0,value:()=>void 0}]),R=p(()=>[{label:f.baseText(`generic.edit`),value:`edit`},{label:f.baseText(`generic.delete`),value:`delete`,destructive:!0}]),z=p(()=>new Map(c.options[t.projectId]?.reviewers.map(e=>[e.id,e]))),B=p(()=>c.options[t.projectId]?.project),V=p(()=>f.baseText(`selfHealing.config.projectMembers`,{interpolate:{project:B.value?.name??``}}));function de(e){return e.scope===`all`?f.baseText(`selfHealing.config.all`):f.baseText(`selfHealing.config.selectedCount`,{adjustToNumber:e.workflowIds.length,interpolate:{count:e.workflowIds.length}})}async function U(){S.value=!0,D.value=!1;try{await c.load(t.projectId)}catch(e){D.value=!0,m.showError(e,f.baseText(`selfHealing.config.loadError`))}finally{S.value=!1,v.hash===`#self-healing`&&(await b(),x.value?.scrollIntoView({block:`start`}))}}oe(()=>t.projectId,U,{immediate:!0});function W(e){ne.push({name:r.value?le:k,params:{projectId:t.projectId,configurationId:String(e)}})}function G(e){let t=z.value.get(e);return t?[t.firstName,t.lastName].filter(Boolean).join(` `)||t.email:f.baseText(`selfHealing.config.unavailableReviewer`)}async function q(e){E.value=!0;try{await c.setEnabled(t.projectId,e.id,!e.enabled)}catch(e){m.showError(e,f.baseText(`selfHealing.config.saveError`))}finally{E.value=!1}}async function Y(e){if(await te.confirm(f.baseText(`selfHealing.config.removeMessage`),f.baseText(`selfHealing.config.removeTitle`),{confirmButtonText:f.baseText(`generic.delete`),cancelButtonText:f.baseText(`generic.cancel`),type:`warning`})===`confirm`){E.value=!0;try{await c.remove(t.projectId,e.id)}catch(e){m.showError(e,f.baseText(`selfHealing.config.removeError`))}finally{E.value=!1}}}async function X(e,t){t===`edit`?W(e.id):t===`delete`&&await Y(e)}return(e,t)=>(_(),n(ee(r.value?`div`:`fieldset`),{id:`self-healing`,ref_key:`sectionRef`,ref:x,class:y({[e.$style.personalTab]:r.value}),"data-test-id":`project-self-healing`},{default:i(()=>[r.value?h(``,!0):(_(),s(`h3`,Q,[w(`label`,null,g(l(f).baseText(`selfHealing.config.heading`)),1)])),r.value&&S.value?re(e.$slots,`loading`,{key:1}):D.value?(_(),n(l(A),{key:2,type:`button`,variant:`outline`,onClick:U},{default:i(()=>[o(g(l(f).baseText(`selfHealing.config.retry`)),1)]),_:1})):S.value&&!M.value.length?(_(),n(l(F),{key:3,class:y(e.$style.loadingLine),"data-test-id":`self-healing-config-loading`},null,8,[`class`])):!M.value.length&&r.value?(_(),n(l(L),{key:4,icon:{type:`icon`,value:`life-buoy`},heading:l(f).baseText(`selfHealing.config.emptyHeading`),description:l(f).baseText(`selfHealing.config.emptyDescription`),"button-text":l(f).baseText(`selfHealing.config.create`),"onClick:button":t[0]||=e=>W(`new`)},null,8,[`heading`,`description`,`button-text`])):M.value.length?(_(),s(`div`,{key:6,class:y(e.$style.table)},[u(l(N),{loading:S.value,"items-per-page":M.value.length,headers:ue.value,items:M.value,"items-length":M.value.length,"page-sizes":[M.value.length+1]},{"item.scope":i(({item:e})=>[u(l(P),{size:`medium`,color:`text-dark`,"data-test-id":`self-healing-configuration-row`},{default:i(()=>[o(g(de(e)),1)]),_:2},1024)]),"item.reviewerIds":i(({item:t})=>[w(`div`,{class:y(e.$style.people)},[t.includeAllProjectMembers?(_(),s(`div`,{key:0,class:y(e.$style.person),"data-test-id":`self-healing-project-members`},[u(_e,{icon:B.value?.icon,size:`xsmall`},null,8,[`icon`]),u(l(P),{size:`medium`,color:`text-dark`,class:y(e.$style.personName),title:V.value},{default:i(()=>[o(g(V.value),1)]),_:1},8,[`class`,`title`])],2)):h(``,!0),(_(!0),s(a,null,C(t.reviewerIds,t=>(_(),s(`div`,{key:t,class:y(e.$style.person)},[u(l(J),{"first-name":z.value.get(t)?.firstName,"last-name":z.value.get(t)?.lastName,size:`xsmall`},null,8,[`first-name`,`last-name`]),u(l(P),{size:`medium`,color:`text-dark`,class:y(e.$style.personName),title:G(t)},{default:i(()=>[o(g(G(t)),1)]),_:2},1032,[`class`,`title`])],2))),128))],2)]),"item.lastActivity":i(({item:e})=>[u(l(P),{size:`medium`,color:e.lastActivity?`text-dark`:`text-light`},{default:i(()=>[e.lastActivity?(_(),n(l(I),{key:0,date:e.lastActivity,locale:l(d).defaultLocale},null,8,[`date`,`locale`])):(_(),s(a,{key:1},[o(g(l(f).baseText(`selfHealing.config.noActivity`)),1)],64))]),_:2},1032,[`color`])]),"item.enabled":i(({item:e})=>[u(l(j),{"model-value":e.enabled,disabled:E.value,"aria-label":l(f).baseText(`selfHealing.config.enabled`),"data-test-id":`self-healing-config-active`,"onUpdate:modelValue":t=>q(e)},null,8,[`model-value`,`disabled`,`aria-label`,`onUpdate:modelValue`])]),"item.actions":i(({item:e})=>[u(l(H),{actions:R.value,placement:`bottom`,disabled:E.value,"data-test-id":`self-healing-config-actions`,onAction:t=>X(e,t)},{default:i(()=>[u(l(O),{icon:`ellipsis-12`,"icon-size":`small`,variant:`ghost`,size:`small`,disabled:E.value,"aria-label":l(f).baseText(`selfHealing.config.actions`)},null,8,[`disabled`,`aria-label`])]),_:1},8,[`actions`,`disabled`,`onAction`])]),_:2},1032,[`loading`,`items-per-page`,`headers`,`items`,`items-length`,`page-sizes`])],2)):(_(),n(l(P),{key:5,size:`small`,color:`text-light`,class:y(e.$style.empty)},{default:i(()=>[o(g(l(f).baseText(`selfHealing.config.empty`)),1)]),_:1},8,[`class`])),r.value?h(``,!0):(_(),n(l(A),{key:7,variant:`outline`,size:`large`,icon:`plus`,type:`button`,"data-test-id":`self-healing-create`,onClick:t[1]||=e=>W(`new`)},{default:i(()=>[o(g(l(f).baseText(`selfHealing.config.create`)),1)]),_:1}))]),_:3},8,[`class`]))}}),[[`__cssModules`,{$style:{personalTab:`_personalTab_d322i_1`,table:`_table_d322i_5`,people:`_people_d322i_12`,person:`_person_d322i_1`,personName:`_personName_d322i_26`,empty:`_empty_d322i_32`,loadingLine:`_loadingLine_d322i_37`}}]]);e(),x(),S(),r();var ye={key:0,"data-test-id":`self-healing-config-loading`},be=`__project-members__`,xe=E(c({__name:`SelfHealingConfigView`,props:{projectId:{},configurationId:{}},setup(e){let r=e,c=ge(),ee=B(),v=se(),b=ce(),x=fe(),re=ie(),S=ae(),E=T(null),k=T(!0),j=T(!1),N=T(!1),I=T(),L=T({scope:`all`,workflowIds:[],reviewerIds:[],includeAllProjectMembers:!1,enabled:!0}),H=p(()=>r.configurationId===`new`),W=p(()=>S.name===le),K=p(()=>c.options[r.projectId]),Y=p(()=>(c.configurations[r.projectId]??[]).filter(({id:e})=>String(e)!==r.configurationId)),X=p(()=>Y.value.some(({scope:e})=>e===`all`)),Z=p(()=>new Set(Y.value.flatMap(({workflowIds:e})=>e))),pe=p(()=>[{value:`all`,label:v.baseText(`selfHealing.config.allScope`),disabled:X.value},{value:`selected`,label:v.baseText(`selfHealing.config.selected`)}]),me=p(()=>(K.value?.workflows??[]).filter(({id:e})=>!L.value.workflowIds.includes(e)).map(({id:e,name:t})=>({value:e,label:t,icon:`workflow`,disabled:Z.value.has(e)}))),he=p(()=>L.value.workflowIds.map(e=>({id:e,name:K.value?.workflows.find(t=>t.id===e)?.name??v.baseText(`selfHealing.config.unavailableWorkflow`)}))),Q=p(()=>new Map(K.value?.reviewers.map(e=>[e.id,e])));function ve(e){let t=Q.value.get(e);if(!t)return v.baseText(`selfHealing.config.unavailableReviewer`);let n=[t.firstName,t.lastName].filter(Boolean).join(` `)||t.email;return e===ee.currentUser?.id?v.baseText(`selfHealing.config.you`,{interpolate:{name:n}}):n}let xe=p(()=>L.value.reviewerIds.map(e=>({id:e,user:Q.value.get(e)}))),Se=p(()=>v.baseText(`selfHealing.config.projectMembers`,{interpolate:{project:K.value?.project.name??``}})),Ce=p(()=>[{value:be,label:Se.value},...(K.value?.reviewers??[]).filter(({id:e})=>!L.value.reviewerIds.includes(e)).map(e=>({value:e.id,label:ve(e.id),keywords:[e.email]}))]);function we(e){typeof e==`string`&&e&&!L.value.workflowIds.includes(e)&&L.value.workflowIds.push(e)}function Te(e){e===be?L.value.includeAllProjectMembers=!0:typeof e==`string`&&e&&!L.value.reviewerIds.includes(e)&&L.value.reviewerIds.push(e)}te(()=>E.value?.scrollIntoView({block:`start`}));let Ee=p(()=>!!I.value&&JSON.stringify(L.value)!==JSON.stringify(I.value)),De=p(()=>L.value.includeAllProjectMembers||L.value.reviewerIds.length>0),Oe=p(()=>De.value?L.value.scope===`all`?!X.value:L.value.workflowIds.length>0&&L.value.workflowIds.every(e=>!Z.value.has(e)):!1),ke=p(()=>v.baseText(H.value?`selfHealing.config.new`:`selfHealing.config.edit`)),$;async function Ae(){let e=Symbol();$=e,k.value=!0,N.value=!1,I.value=void 0;try{if(await c.load(r.projectId),$!==e)return;let t=c.configurations[r.projectId]?.find(({id:e})=>String(e)===r.configurationId);if(!H.value&&!t)throw Error(v.baseText(W.value?`selfHealing.config.personalNotFound`:`selfHealing.config.notFound`));if(t)L.value={scope:t.scope,workflowIds:[...t.workflowIds],reviewerIds:[...t.reviewerIds],includeAllProjectMembers:t.includeAllProjectMembers,enabled:t.enabled};else{let e=ee.currentUser?.id;L.value={scope:X.value?`selected`:`all`,workflowIds:[],reviewerIds:e&&Q.value.has(e)?[e]:[],includeAllProjectMembers:!1,enabled:!0}}W.value&&(L.value.reviewerIds=[],L.value.includeAllProjectMembers=!0),I.value=structuredClone(m(L.value))}catch(t){if($!==e)return;N.value=!0,b.showError(t,v.baseText(`selfHealing.config.loadError`))}finally{$===e&&(k.value=!1)}}oe(()=>[r.projectId,r.configurationId],Ae,{immediate:!0});function je(){I.value&&(L.value=structuredClone(m(I.value)))}function Me(){re.push(W.value?{name:D,params:{projectId:r.projectId}}:{name:ue.PROJECT_SETTINGS,params:{projectId:r.projectId},hash:`#self-healing`})}async function Ne(){j.value=!0;try{let e=structuredClone(m(L.value));e.scope===`all`&&(e.workflowIds=[]);let{enabled:t,...n}=e;await c.save(r.projectId,H.value?e:n,H.value?void 0:Number(r.configurationId)),L.value=e,I.value=structuredClone(e),b.showMessage({title:v.baseText(`selfHealing.config.saved`),type:`success`}),H.value&&Me()}catch(e){b.showError(e,v.baseText(`selfHealing.config.saveError`))}finally{j.value=!1}}async function Pe(){return!Ee.value||await x.confirm(v.baseText(`selfHealing.config.unsavedMessage`),v.baseText(`selfHealing.config.unsavedTitle`),{confirmButtonText:v.baseText(`selfHealing.config.discard`),cancelButtonText:v.baseText(`generic.cancel`),type:`warning`})===`confirm`}return t(Pe),ne(async(e,t)=>e.params.projectId!==t.params.projectId||e.params.configurationId!==t.params.configurationId?await Pe():!0),(e,t)=>(_(),s(`div`,{ref_key:`pageRef`,ref:E,class:y(e.$style.page)},[w(`div`,{class:y(e.$style.backBar)},[u(l(A),{variant:`ghost`,size:`small`,class:y(e.$style.backButton),onClick:Me},{icon:i(()=>[u(l(M),{icon:`arrow-left`})]),default:i(()=>[o(` `+g(l(v).baseText(W.value?`selfHealing.config.heading`:`selfHealing.config.back`)),1)]),_:1},8,[`class`])],2),u(l(V),{class:y(e.$style.layout),"data-test-id":`self-healing-config-page`},{default:i(()=>[u(l(de),{title:ke.value,description:l(v).baseText(W.value?`selfHealing.config.personalDescription`:`selfHealing.config.description`),"show-docs-link":!1},null,8,[`title`,`description`]),k.value?(_(),s(`div`,ye,[u(l(G),{title:l(v).baseText(`selfHealing.config.scope`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),null,{info:i(()=>[u(l(F),{rows:2,class:y(e.$style.skeleton)},null,8,[`class`])]),action:i(()=>[u(l(F),{variant:`button`})]),_:1})]),_:1})]),_:1},8,[`title`]),W.value?h(``,!0):(_(),n(l(G),{key:0,title:l(v).baseText(`selfHealing.config.reviewers`),description:l(v).baseText(`selfHealing.config.reviewersHelp`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),{layout:`custom`},{default:i(()=>[u(l(F),{class:y(e.$style.skeleton)},null,8,[`class`])]),_:1}),u(l(q),null,{info:i(()=>[u(l(F),{rows:2,class:y(e.$style.skeleton)},null,8,[`class`])]),_:1})]),_:1})]),_:1},8,[`title`,`description`]))])):N.value?(_(),n(l(A),{key:1,variant:`outline`,onClick:Ae},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.retry`)),1)]),_:1})):(_(),s(`form`,{key:2,onSubmit:f(Ne,[`prevent`])},[u(l(G),{title:l(v).baseText(`selfHealing.config.scope`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),{title:l(v).baseText(`selfHealing.config.workflows`),description:l(v).baseText(`selfHealing.config.scopeHelp`)},{action:i(()=>[u(l(U),{modelValue:L.value.scope,"onUpdate:modelValue":t[0]||=e=>L.value.scope=e,options:pe.value,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.scope`),"data-test-id":`self-healing-scope`},null,8,[`modelValue`,`options`,`disabled`,`aria-label`])]),_:1},8,[`title`,`description`])]),_:1}),L.value.scope===`selected`?(_(),n(l(z),{key:0},{default:i(()=>[u(l(q),{layout:`custom`},{default:i(()=>[u(l(R),{id:`self-healing-workflows`,"model-value":``,icon:`search`,class:y(e.$style.searchPicker),items:me.value,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.workflows`),placeholder:l(v).baseText(`selfHealing.config.chooseWorkflows`),"data-test-id":`self-healing-workflows`,"onUpdate:modelValue":we,onKeydown:t[1]||=d(f(()=>{},[`prevent`]),[`enter`])},{"item-trailing":i(({item:e})=>[e.disabled?(_(),n(l(P),{key:0,size:`small`,color:`text-light`},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.workflowReserved`)),1)]),_:1})):h(``,!0)]),_:1},8,[`class`,`items`,`disabled`,`aria-label`,`placeholder`])]),_:1}),(_(!0),s(a,null,C(he.value,e=>(_(),n(l(q),{key:e.id,title:e.name,"show-visual":``,"data-test-id":`self-healing-selected-workflow`},{visual:i(()=>[u(l(M),{icon:`workflow`,size:`large`})]),action:i(()=>[u(l(O),{icon:`x`,variant:`ghost`,size:`small`,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.removeWorkflow`),onClick:t=>L.value.workflowIds=L.value.workflowIds.filter(t=>t!==e.id)},null,8,[`disabled`,`aria-label`,`onClick`])]),_:2},1032,[`title`]))),128))]),_:1})):h(``,!0)]),_:1},8,[`title`]),W.value?h(``,!0):(_(),n(l(G),{key:0,title:l(v).baseText(`selfHealing.config.reviewers`),description:l(v).baseText(`selfHealing.config.reviewersHelp`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),{layout:`custom`},{default:i(()=>[u(l(R),{id:`self-healing-reviewers`,"model-value":``,items:Ce.value,disabled:j.value||L.value.includeAllProjectMembers,"aria-label":l(v).baseText(`selfHealing.config.reviewers`),placeholder:l(v).baseText(`selfHealing.config.chooseReviewers`),"data-test-id":`self-healing-reviewers`,"onUpdate:modelValue":Te,onKeydown:t[2]||=d(f(()=>{},[`prevent`]),[`enter`])},{"item-leading":i(({item:e})=>[e.value===be?(_(),n(_e,{key:0,icon:K.value?.project.icon},null,8,[`icon`])):(_(),n(l(J),{key:1,"first-name":Q.value.get(e.value)?.firstName,"last-name":Q.value.get(e.value)?.lastName,size:`small`},null,8,[`first-name`,`last-name`]))]),_:1},8,[`items`,`disabled`,`aria-label`,`placeholder`]),De.value?L.value.includeAllProjectMembers?(_(),n(l(P),{key:1,size:`small`,color:`text-light`,class:y(e.$style.hint)},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.projectMembersIncluded`)),1)]),_:1},8,[`class`])):h(``,!0):(_(),n(l(P),{key:0,size:`small`,color:`text-light`,class:y(e.$style.hint)},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.noReviewers`)),1)]),_:1},8,[`class`]))]),_:1}),L.value.includeAllProjectMembers?(_(),n(l(q),{key:0,"data-test-id":`self-healing-project-members`},{info:i(()=>[w(`div`,{class:y(e.$style.projectMembers)},[u(_e,{icon:K.value?.project.icon,size:`medium`},null,8,[`icon`]),u(l(P),{bold:``,color:`text-dark`,class:y(e.$style.truncate)},{default:i(()=>[o(g(Se.value),1)]),_:1},8,[`class`])],2)]),action:i(()=>[u(l(O),{icon:`x`,variant:`ghost`,size:`small`,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.removeProjectMembers`),onClick:t[3]||=e=>L.value.includeAllProjectMembers=!1},null,8,[`disabled`,`aria-label`])]),_:1})):h(``,!0),(_(!0),s(a,null,C(xe.value,t=>(_(),n(l(q),{key:t.id,"data-test-id":`self-healing-selected-reviewer`},{info:i(()=>[w(`div`,{class:y(e.$style.person)},[u(l(J),{"first-name":t.user?.firstName,"last-name":t.user?.lastName,size:`small`},null,8,[`first-name`,`last-name`]),w(`div`,{class:y(e.$style.personText)},[u(l(P),{bold:``,size:`medium`,color:`text-dark`,class:y(e.$style.truncate)},{default:i(()=>[o(g(ve(t.id)),1)]),_:2},1032,[`class`]),t.user?.email&&(t.user.firstName||t.user.lastName)?(_(),n(l(P),{key:0,size:`small`,color:`text-light`,class:y(e.$style.truncate)},{default:i(()=>[o(g(t.user.email),1)]),_:2},1032,[`class`])):h(``,!0)],2)],2)]),action:i(()=>[u(l(O),{icon:`x`,variant:`ghost`,size:`small`,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.removeReviewer`),onClick:e=>L.value.reviewerIds=L.value.reviewerIds.filter(e=>e!==t.id)},null,8,[`disabled`,`aria-label`,`onClick`])]),_:2},1024))),128))]),_:1})]),_:1},8,[`title`,`description`])),w(`div`,{class:y(e.$style.actions)},[u(l(A),{type:`button`,variant:`outline`,disabled:j.value||!H.value&&!Ee.value,onClick:t[4]||=e=>H.value?Me():je()},{default:i(()=>[o(g(l(v).baseText(H.value?`generic.cancel`:`selfHealing.config.discard`)),1)]),_:1},8,[`disabled`]),u(l(A),{type:`submit`,loading:j.value,disabled:!Oe.value||!H.value&&!Ee.value,"data-test-id":`self-healing-save`},{default:i(()=>[o(g(l(v).baseText(H.value?`selfHealing.config.createAction`:`selfHealing.config.save`)),1)]),_:1},8,[`loading`,`disabled`])],2)],32))]),_:1},8,[`class`])],2))}}),[[`__cssModules`,{$style:{page:`_page_c46my_1`,backBar:`_backBar_c46my_5`,backButton:`_backButton_c46my_13`,layout:`_layout_c46my_17`,actions:`_actions_c46my_21`,searchPicker:`_searchPicker_c46my_28`,person:`_person_c46my_32`,personText:`_personText_c46my_39`,truncate:`_truncate_c46my_45`,projectMembers:`_projectMembers_c46my_52`,hint:`_hint_c46my_59`,skeleton:`_skeleton_c46my_64`}}]]);export{ve as n,xe as 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]=`b6224f6f-04cb-4cee-aed8-dc0ad368d1a4`,e._sentryDebugIdIdentifier=`sentry-dbid-b6224f6f-04cb-4cee-aed8-dc0ad368d1a4`)})()}catch{}import{$d as e,$o as t,Bd as n,Ed as r,Ef as i,Fd as a,Gd as o,Hd as s,Jd as c,Jf as l,Kd as u,Nd as d,Pd as f,Rd as p,Uf as m,Vd as h,_f as ee,bp as g,cf as te,df as _,es as ne,ho as v,hp as y,if as b,jf as x,mf as re,np as S,ns as ie,pf as C,ts as ae,wf as oe,zd as w,zf as T}from"./vendor-Byl1K1cb.js";import{BO as E,F as D,FO as O,GO as se,I as k,IO as A,JE as j,Jb as ce,LO as M,OE as N,OO as P,P as le,SO as F,UE as I,WD as L,Yb as ue,aE as R,dD as z,ex as B,gD as V,gO as H,hD as de,iD as U,kx as W,lD as G,nx as K,pD as q,uE as fe,uO as J}from"./app-DPqAJq5O.js";var Y=e=>`/projects/${e}/self-healing-configurations`,X=async(e,t)=>await W(e,`GET`,Y(t)),Z=async(e,t)=>await W(e,`GET`,`${Y(t)}/options`),pe=async(e,t,n,r)=>r===void 0?await W(e,`POST`,Y(t),n):await W(e,`PATCH`,`${Y(t)}/${r}`,n),me=async(e,t,n,r)=>await W(e,`PATCH`,`${Y(t)}/${n}/enabled`,{enabled:r}),he=async(e,t,n)=>await W(e,`DELETE`,`${Y(t)}/${n}`);x();var ge=v(`selfHealing`,()=>{let e=K(),t=T({}),n=T({}),r=new Map;async function i(i){let a=Symbol();r.set(i,a);let[o,s]=await Promise.all([X(e.restApiContext,i),Z(e.restApiContext,i)]);r.get(i)===a&&(r.delete(i),t.value[i]=o,n.value[i]=s)}function a(e,n){r.delete(e);let i=t.value[e]??[];t.value[e]=i.some(({id:e})=>e===n.id)?i.map(e=>e.id===n.id?n:e):[...i,n]}async function o(t,n,r){let i=await pe(e.restApiContext,t,n,r);return a(t,i),i}async function s(t,n,r){a(t,await me(e.restApiContext,t,n,r))}async function c(n,i){await he(e.restApiContext,n,i),r.delete(n),t.value[n]=(t.value[n]??[]).filter(e=>e.id!==i)}return{configurations:t,options:n,load:i,save:o,setEnabled:s,remove:c}});e(),S(),x();var _e=E(c({__name:`ProjectMembersIcon`,props:{icon:{default:null},size:{default:`small`}},setup(e){let t={xsmall:`small`,small:`medium`,medium:`large`};return(r,i)=>(_(),s(`span`,{class:y([r.$style.icon,r.$style[e.size]]),"aria-hidden":`true`,"data-test-id":`project-members-icon`},[e.icon?.type===`emoji`?(_(),s(`span`,{key:0,class:y(r.$style.emoji)},g(e.icon.value),3)):(_(),n(l(M),{key:1,icon:e.icon?.value??`layers`,color:e.icon?.color??`text-base`,size:t[e.size]},null,8,[`icon`,`color`,`size`]))],2))}}),[[`__cssModules`,{$style:{icon:`_icon_4a7um_1`,xsmall:`_xsmall_4a7um_10`,emoji:`_emoji_4a7um_14`,small:`_small_4a7um_18`,medium:`_medium_4a7um_26`}}]]);e(),x(),S();var Q={key:0},ve=E(c({__name:`ProjectSelfHealingSection`,props:{projectId:{},variant:{default:`projectSettings`}},setup(e){let t=e,r=p(()=>t.variant===`personalTab`),c=ge(),d=K(),f=se(),m=ce(),te=fe(),ne=ie(),v=ae(),x=T(null),S=T(!1),E=T(!1),D=T(!1),M=p(()=>c.configurations[t.projectId]??[]),ue=p(()=>[{title:f.baseText(`selfHealing.config.scope`),key:`scope`,width:240,disableSort:!0},...r.value?[]:[{title:f.baseText(`selfHealing.config.peopleToNotify`),key:`reviewerIds`,width:200,disableSort:!0}],{title:f.baseText(`selfHealing.config.lastActivity`),key:`lastActivity`,width:200,disableSort:!0},{title:f.baseText(`selfHealing.config.active`),key:`enabled`,width:110,disableSort:!0},{title:``,key:`actions`,align:`end`,width:46,disableSort:!0,value:()=>void 0}]),R=p(()=>[{label:f.baseText(`generic.edit`),value:`edit`},{label:f.baseText(`generic.delete`),value:`delete`,destructive:!0}]),z=p(()=>new Map(c.options[t.projectId]?.reviewers.map(e=>[e.id,e]))),B=p(()=>c.options[t.projectId]?.project),V=p(()=>f.baseText(`selfHealing.config.projectMembers`,{interpolate:{project:B.value?.name??``}}));function de(e){return e.scope===`all`?f.baseText(`selfHealing.config.all`):f.baseText(`selfHealing.config.selectedCount`,{adjustToNumber:e.workflowIds.length,interpolate:{count:e.workflowIds.length}})}async function U(){S.value=!0,D.value=!1;try{await c.load(t.projectId)}catch(e){D.value=!0,m.showError(e,f.baseText(`selfHealing.config.loadError`))}finally{S.value=!1,v.hash===`#self-healing`&&(await b(),x.value?.scrollIntoView({block:`start`}))}}oe(()=>t.projectId,U,{immediate:!0});function W(e){ne.push({name:r.value?le:k,params:{projectId:t.projectId,configurationId:String(e)}})}function G(e){let t=z.value.get(e);return t?[t.firstName,t.lastName].filter(Boolean).join(` `)||t.email:f.baseText(`selfHealing.config.unavailableReviewer`)}async function q(e){E.value=!0;try{await c.setEnabled(t.projectId,e.id,!e.enabled)}catch(e){m.showError(e,f.baseText(`selfHealing.config.saveError`))}finally{E.value=!1}}async function Y(e){if(await te.confirm(f.baseText(`selfHealing.config.removeMessage`),f.baseText(`selfHealing.config.removeTitle`),{confirmButtonText:f.baseText(`generic.delete`),cancelButtonText:f.baseText(`generic.cancel`),type:`warning`})===`confirm`){E.value=!0;try{await c.remove(t.projectId,e.id)}catch(e){m.showError(e,f.baseText(`selfHealing.config.removeError`))}finally{E.value=!1}}}async function X(e,t){t===`edit`?W(e.id):t===`delete`&&await Y(e)}return(e,t)=>(_(),n(ee(r.value?`div`:`fieldset`),{id:`self-healing`,ref_key:`sectionRef`,ref:x,class:y({[e.$style.personalTab]:r.value}),"data-test-id":`project-self-healing`},{default:i(()=>[r.value?h(``,!0):(_(),s(`h3`,Q,[w(`label`,null,g(l(f).baseText(`selfHealing.config.heading`)),1)])),r.value&&S.value?re(e.$slots,`loading`,{key:1}):D.value?(_(),n(l(A),{key:2,type:`button`,variant:`outline`,onClick:U},{default:i(()=>[o(g(l(f).baseText(`selfHealing.config.retry`)),1)]),_:1})):S.value&&!M.value.length?(_(),n(l(F),{key:3,class:y(e.$style.loadingLine),"data-test-id":`self-healing-config-loading`},null,8,[`class`])):!M.value.length&&r.value?(_(),n(l(L),{key:4,icon:{type:`icon`,value:`life-buoy`},heading:l(f).baseText(`selfHealing.config.emptyHeading`),description:l(f).baseText(`selfHealing.config.emptyDescription`),"button-text":l(f).baseText(`selfHealing.config.create`),"onClick:button":t[0]||=e=>W(`new`)},null,8,[`heading`,`description`,`button-text`])):M.value.length?(_(),s(`div`,{key:6,class:y(e.$style.table)},[u(l(N),{loading:S.value,"items-per-page":M.value.length,headers:ue.value,items:M.value,"items-length":M.value.length,"page-sizes":[M.value.length+1]},{"item.scope":i(({item:e})=>[u(l(P),{size:`medium`,color:`text-dark`,"data-test-id":`self-healing-configuration-row`},{default:i(()=>[o(g(de(e)),1)]),_:2},1024)]),"item.reviewerIds":i(({item:t})=>[w(`div`,{class:y(e.$style.people)},[t.includeAllProjectMembers?(_(),s(`div`,{key:0,class:y(e.$style.person),"data-test-id":`self-healing-project-members`},[u(_e,{icon:B.value?.icon,size:`xsmall`},null,8,[`icon`]),u(l(P),{size:`medium`,color:`text-dark`,class:y(e.$style.personName),title:V.value},{default:i(()=>[o(g(V.value),1)]),_:1},8,[`class`,`title`])],2)):h(``,!0),(_(!0),s(a,null,C(t.reviewerIds,t=>(_(),s(`div`,{key:t,class:y(e.$style.person)},[u(l(J),{"first-name":z.value.get(t)?.firstName,"last-name":z.value.get(t)?.lastName,size:`xsmall`},null,8,[`first-name`,`last-name`]),u(l(P),{size:`medium`,color:`text-dark`,class:y(e.$style.personName),title:G(t)},{default:i(()=>[o(g(G(t)),1)]),_:2},1032,[`class`,`title`])],2))),128))],2)]),"item.lastActivity":i(({item:e})=>[u(l(P),{size:`medium`,color:e.lastActivity?`text-dark`:`text-light`},{default:i(()=>[e.lastActivity?(_(),n(l(I),{key:0,date:e.lastActivity,locale:l(d).defaultLocale},null,8,[`date`,`locale`])):(_(),s(a,{key:1},[o(g(l(f).baseText(`selfHealing.config.noActivity`)),1)],64))]),_:2},1032,[`color`])]),"item.enabled":i(({item:e})=>[u(l(j),{"model-value":e.enabled,disabled:E.value,"aria-label":l(f).baseText(`selfHealing.config.enabled`),"data-test-id":`self-healing-config-active`,"onUpdate:modelValue":t=>q(e)},null,8,[`model-value`,`disabled`,`aria-label`,`onUpdate:modelValue`])]),"item.actions":i(({item:e})=>[u(l(H),{actions:R.value,placement:`bottom`,disabled:E.value,"data-test-id":`self-healing-config-actions`,onAction:t=>X(e,t)},{default:i(()=>[u(l(O),{icon:`ellipsis-12`,"icon-size":`small`,variant:`ghost`,size:`small`,disabled:E.value,"aria-label":l(f).baseText(`selfHealing.config.actions`)},null,8,[`disabled`,`aria-label`])]),_:1},8,[`actions`,`disabled`,`onAction`])]),_:2},1032,[`loading`,`items-per-page`,`headers`,`items`,`items-length`,`page-sizes`])],2)):(_(),n(l(P),{key:5,size:`small`,color:`text-light`,class:y(e.$style.empty)},{default:i(()=>[o(g(l(f).baseText(`selfHealing.config.empty`)),1)]),_:1},8,[`class`])),r.value?h(``,!0):(_(),n(l(A),{key:7,variant:`outline`,size:`large`,icon:`plus`,type:`button`,"data-test-id":`self-healing-create`,onClick:t[1]||=e=>W(`new`)},{default:i(()=>[o(g(l(f).baseText(`selfHealing.config.create`)),1)]),_:1}))]),_:3},8,[`class`]))}}),[[`__cssModules`,{$style:{personalTab:`_personalTab_d322i_1`,table:`_table_d322i_5`,people:`_people_d322i_12`,person:`_person_d322i_1`,personName:`_personName_d322i_26`,empty:`_empty_d322i_32`,loadingLine:`_loadingLine_d322i_37`}}]]);e(),x(),S(),r();var ye={key:0,"data-test-id":`self-healing-config-loading`},be=`__project-members__`,xe=E(c({__name:`SelfHealingConfigView`,props:{projectId:{},configurationId:{}},setup(e){let r=e,c=ge(),ee=B(),v=se(),b=ce(),x=fe(),re=ie(),S=ae(),E=T(null),k=T(!0),j=T(!1),N=T(!1),I=T(),L=T({scope:`all`,workflowIds:[],reviewerIds:[],includeAllProjectMembers:!1,enabled:!0}),H=p(()=>r.configurationId===`new`),W=p(()=>S.name===le),K=p(()=>c.options[r.projectId]),Y=p(()=>(c.configurations[r.projectId]??[]).filter(({id:e})=>String(e)!==r.configurationId)),X=p(()=>Y.value.some(({scope:e})=>e===`all`)),Z=p(()=>new Set(Y.value.flatMap(({workflowIds:e})=>e))),pe=p(()=>[{value:`all`,label:v.baseText(`selfHealing.config.allScope`),disabled:X.value},{value:`selected`,label:v.baseText(`selfHealing.config.selected`)}]),me=p(()=>(K.value?.workflows??[]).filter(({id:e})=>!L.value.workflowIds.includes(e)).map(({id:e,name:t})=>({value:e,label:t,icon:`workflow`,disabled:Z.value.has(e)}))),he=p(()=>L.value.workflowIds.map(e=>({id:e,name:K.value?.workflows.find(t=>t.id===e)?.name??v.baseText(`selfHealing.config.unavailableWorkflow`)}))),Q=p(()=>new Map(K.value?.reviewers.map(e=>[e.id,e])));function ve(e){let t=Q.value.get(e);if(!t)return v.baseText(`selfHealing.config.unavailableReviewer`);let n=[t.firstName,t.lastName].filter(Boolean).join(` `)||t.email;return e===ee.currentUser?.id?v.baseText(`selfHealing.config.you`,{interpolate:{name:n}}):n}let xe=p(()=>L.value.reviewerIds.map(e=>({id:e,user:Q.value.get(e)}))),Se=p(()=>v.baseText(`selfHealing.config.projectMembers`,{interpolate:{project:K.value?.project.name??``}})),Ce=p(()=>[{value:be,label:Se.value},...(K.value?.reviewers??[]).filter(({id:e})=>!L.value.reviewerIds.includes(e)).map(e=>({value:e.id,label:ve(e.id),keywords:[e.email]}))]);function we(e){typeof e==`string`&&e&&!L.value.workflowIds.includes(e)&&L.value.workflowIds.push(e)}function Te(e){e===be?L.value.includeAllProjectMembers=!0:typeof e==`string`&&e&&!L.value.reviewerIds.includes(e)&&L.value.reviewerIds.push(e)}te(()=>E.value?.scrollIntoView({block:`start`}));let Ee=p(()=>!!I.value&&JSON.stringify(L.value)!==JSON.stringify(I.value)),De=p(()=>L.value.includeAllProjectMembers||L.value.reviewerIds.length>0),Oe=p(()=>De.value?L.value.scope===`all`?!X.value:L.value.workflowIds.length>0&&L.value.workflowIds.every(e=>!Z.value.has(e)):!1),ke=p(()=>v.baseText(H.value?`selfHealing.config.new`:`selfHealing.config.edit`)),$;async function Ae(){let e=Symbol();$=e,k.value=!0,N.value=!1,I.value=void 0;try{if(await c.load(r.projectId),$!==e)return;let t=c.configurations[r.projectId]?.find(({id:e})=>String(e)===r.configurationId);if(!H.value&&!t)throw Error(v.baseText(W.value?`selfHealing.config.personalNotFound`:`selfHealing.config.notFound`));if(t)L.value={scope:t.scope,workflowIds:[...t.workflowIds],reviewerIds:[...t.reviewerIds],includeAllProjectMembers:t.includeAllProjectMembers,enabled:t.enabled};else{let e=ee.currentUser?.id;L.value={scope:X.value?`selected`:`all`,workflowIds:[],reviewerIds:e&&Q.value.has(e)?[e]:[],includeAllProjectMembers:!1,enabled:!0}}W.value&&(L.value.reviewerIds=[],L.value.includeAllProjectMembers=!0),I.value=structuredClone(m(L.value))}catch(t){if($!==e)return;N.value=!0,b.showError(t,v.baseText(`selfHealing.config.loadError`))}finally{$===e&&(k.value=!1)}}oe(()=>[r.projectId,r.configurationId],Ae,{immediate:!0});function je(){I.value&&(L.value=structuredClone(m(I.value)))}function Me(){re.push(W.value?{name:D,params:{projectId:r.projectId}}:{name:ue.PROJECT_SETTINGS,params:{projectId:r.projectId},hash:`#self-healing`})}async function Ne(){j.value=!0;try{let e=structuredClone(m(L.value));e.scope===`all`&&(e.workflowIds=[]);let{enabled:t,...n}=e;await c.save(r.projectId,H.value?e:n,H.value?void 0:Number(r.configurationId)),L.value=e,I.value=structuredClone(e),b.showMessage({title:v.baseText(`selfHealing.config.saved`),type:`success`}),H.value&&Me()}catch(e){b.showError(e,v.baseText(`selfHealing.config.saveError`))}finally{j.value=!1}}async function Pe(){return!Ee.value||await x.confirm(v.baseText(`selfHealing.config.unsavedMessage`),v.baseText(`selfHealing.config.unsavedTitle`),{confirmButtonText:v.baseText(`selfHealing.config.discard`),cancelButtonText:v.baseText(`generic.cancel`),type:`warning`})===`confirm`}return t(Pe),ne(async(e,t)=>e.params.projectId!==t.params.projectId||e.params.configurationId!==t.params.configurationId?await Pe():!0),(e,t)=>(_(),s(`div`,{ref_key:`pageRef`,ref:E,class:y(e.$style.page)},[w(`div`,{class:y(e.$style.backBar)},[u(l(A),{variant:`ghost`,size:`small`,class:y(e.$style.backButton),onClick:Me},{icon:i(()=>[u(l(M),{icon:`arrow-left`})]),default:i(()=>[o(` `+g(l(v).baseText(W.value?`selfHealing.config.heading`:`selfHealing.config.back`)),1)]),_:1},8,[`class`])],2),u(l(V),{class:y(e.$style.layout),"data-test-id":`self-healing-config-page`},{default:i(()=>[u(l(de),{title:ke.value,description:l(v).baseText(W.value?`selfHealing.config.personalDescription`:`selfHealing.config.description`),"show-docs-link":!1},null,8,[`title`,`description`]),k.value?(_(),s(`div`,ye,[u(l(G),{title:l(v).baseText(`selfHealing.config.scope`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),null,{info:i(()=>[u(l(F),{rows:2,class:y(e.$style.skeleton)},null,8,[`class`])]),action:i(()=>[u(l(F),{variant:`button`})]),_:1})]),_:1})]),_:1},8,[`title`]),W.value?h(``,!0):(_(),n(l(G),{key:0,title:l(v).baseText(`selfHealing.config.reviewers`),description:l(v).baseText(`selfHealing.config.reviewersHelp`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),{layout:`custom`},{default:i(()=>[u(l(F),{class:y(e.$style.skeleton)},null,8,[`class`])]),_:1}),u(l(q),null,{info:i(()=>[u(l(F),{rows:2,class:y(e.$style.skeleton)},null,8,[`class`])]),_:1})]),_:1})]),_:1},8,[`title`,`description`]))])):N.value?(_(),n(l(A),{key:1,variant:`outline`,onClick:Ae},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.retry`)),1)]),_:1})):(_(),s(`form`,{key:2,onSubmit:f(Ne,[`prevent`])},[u(l(G),{title:l(v).baseText(`selfHealing.config.scope`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),{title:l(v).baseText(`selfHealing.config.workflows`),description:l(v).baseText(`selfHealing.config.scopeHelp`)},{action:i(()=>[u(l(U),{modelValue:L.value.scope,"onUpdate:modelValue":t[0]||=e=>L.value.scope=e,options:pe.value,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.scope`),"data-test-id":`self-healing-scope`},null,8,[`modelValue`,`options`,`disabled`,`aria-label`])]),_:1},8,[`title`,`description`])]),_:1}),L.value.scope===`selected`?(_(),n(l(z),{key:0},{default:i(()=>[u(l(q),{layout:`custom`},{default:i(()=>[u(l(R),{id:`self-healing-workflows`,"model-value":``,icon:`search`,class:y(e.$style.searchPicker),items:me.value,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.workflows`),placeholder:l(v).baseText(`selfHealing.config.chooseWorkflows`),"data-test-id":`self-healing-workflows`,"onUpdate:modelValue":we,onKeydown:t[1]||=d(f(()=>{},[`prevent`]),[`enter`])},{"item-trailing":i(({item:e})=>[e.disabled?(_(),n(l(P),{key:0,size:`small`,color:`text-light`},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.workflowReserved`)),1)]),_:1})):h(``,!0)]),_:1},8,[`class`,`items`,`disabled`,`aria-label`,`placeholder`])]),_:1}),(_(!0),s(a,null,C(he.value,e=>(_(),n(l(q),{key:e.id,title:e.name,"show-visual":``,"data-test-id":`self-healing-selected-workflow`},{visual:i(()=>[u(l(M),{icon:`workflow`,size:`large`})]),action:i(()=>[u(l(O),{icon:`x`,variant:`ghost`,size:`small`,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.removeWorkflow`),onClick:t=>L.value.workflowIds=L.value.workflowIds.filter(t=>t!==e.id)},null,8,[`disabled`,`aria-label`,`onClick`])]),_:2},1032,[`title`]))),128))]),_:1})):h(``,!0)]),_:1},8,[`title`]),W.value?h(``,!0):(_(),n(l(G),{key:0,title:l(v).baseText(`selfHealing.config.reviewers`),description:l(v).baseText(`selfHealing.config.reviewersHelp`)},{default:i(()=>[u(l(z),null,{default:i(()=>[u(l(q),{layout:`custom`},{default:i(()=>[u(l(R),{id:`self-healing-reviewers`,"model-value":``,items:Ce.value,disabled:j.value||L.value.includeAllProjectMembers,"aria-label":l(v).baseText(`selfHealing.config.reviewers`),placeholder:l(v).baseText(`selfHealing.config.chooseReviewers`),"data-test-id":`self-healing-reviewers`,"onUpdate:modelValue":Te,onKeydown:t[2]||=d(f(()=>{},[`prevent`]),[`enter`])},{"item-leading":i(({item:e})=>[e.value===be?(_(),n(_e,{key:0,icon:K.value?.project.icon},null,8,[`icon`])):(_(),n(l(J),{key:1,"first-name":Q.value.get(e.value)?.firstName,"last-name":Q.value.get(e.value)?.lastName,size:`small`},null,8,[`first-name`,`last-name`]))]),_:1},8,[`items`,`disabled`,`aria-label`,`placeholder`]),De.value?L.value.includeAllProjectMembers?(_(),n(l(P),{key:1,size:`small`,color:`text-light`,class:y(e.$style.hint)},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.projectMembersIncluded`)),1)]),_:1},8,[`class`])):h(``,!0):(_(),n(l(P),{key:0,size:`small`,color:`text-light`,class:y(e.$style.hint)},{default:i(()=>[o(g(l(v).baseText(`selfHealing.config.noReviewers`)),1)]),_:1},8,[`class`]))]),_:1}),L.value.includeAllProjectMembers?(_(),n(l(q),{key:0,"data-test-id":`self-healing-project-members`},{info:i(()=>[w(`div`,{class:y(e.$style.projectMembers)},[u(_e,{icon:K.value?.project.icon,size:`medium`},null,8,[`icon`]),u(l(P),{bold:``,color:`text-dark`,class:y(e.$style.truncate)},{default:i(()=>[o(g(Se.value),1)]),_:1},8,[`class`])],2)]),action:i(()=>[u(l(O),{icon:`x`,variant:`ghost`,size:`small`,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.removeProjectMembers`),onClick:t[3]||=e=>L.value.includeAllProjectMembers=!1},null,8,[`disabled`,`aria-label`])]),_:1})):h(``,!0),(_(!0),s(a,null,C(xe.value,t=>(_(),n(l(q),{key:t.id,"data-test-id":`self-healing-selected-reviewer`},{info:i(()=>[w(`div`,{class:y(e.$style.person)},[u(l(J),{"first-name":t.user?.firstName,"last-name":t.user?.lastName,size:`small`},null,8,[`first-name`,`last-name`]),w(`div`,{class:y(e.$style.personText)},[u(l(P),{bold:``,size:`medium`,color:`text-dark`,class:y(e.$style.truncate)},{default:i(()=>[o(g(ve(t.id)),1)]),_:2},1032,[`class`]),t.user?.email&&(t.user.firstName||t.user.lastName)?(_(),n(l(P),{key:0,size:`small`,color:`text-light`,class:y(e.$style.truncate)},{default:i(()=>[o(g(t.user.email),1)]),_:2},1032,[`class`])):h(``,!0)],2)],2)]),action:i(()=>[u(l(O),{icon:`x`,variant:`ghost`,size:`small`,disabled:j.value,"aria-label":l(v).baseText(`selfHealing.config.removeReviewer`),onClick:e=>L.value.reviewerIds=L.value.reviewerIds.filter(e=>e!==t.id)},null,8,[`disabled`,`aria-label`,`onClick`])]),_:2},1024))),128))]),_:1})]),_:1},8,[`title`,`description`])),w(`div`,{class:y(e.$style.actions)},[u(l(A),{type:`button`,variant:`outline`,disabled:j.value||!H.value&&!Ee.value,onClick:t[4]||=e=>H.value?Me():je()},{default:i(()=>[o(g(l(v).baseText(H.value?`generic.cancel`:`selfHealing.config.discard`)),1)]),_:1},8,[`disabled`]),u(l(A),{type:`submit`,loading:j.value,disabled:!Oe.value||!H.value&&!Ee.value,"data-test-id":`self-healing-save`},{default:i(()=>[o(g(l(v).baseText(H.value?`selfHealing.config.createAction`:`selfHealing.config.save`)),1)]),_:1},8,[`loading`,`disabled`])],2)],32))]),_:1},8,[`class`])],2))}}),[[`__cssModules`,{$style:{page:`_page_c46my_1`,backBar:`_backBar_c46my_5`,backButton:`_backButton_c46my_13`,layout:`_layout_c46my_17`,actions:`_actions_c46my_21`,searchPicker:`_searchPicker_c46my_28`,person:`_person_c46my_32`,personText:`_personText_c46my_39`,truncate:`_truncate_c46my_45`,projectMembers:`_projectMembers_c46my_52`,hint:`_hint_c46my_59`,skeleton:`_skeleton_c46my_64`}}]]);export{ve as n,xe 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]=`83f1e653-4760-4517-9c29-68bdc52ea850`,e._sentryDebugIdIdentifier=`sentry-dbid-83f1e653-4760-4517-9c29-68bdc52ea850`)})()}catch{}export{t as SelfHealingConfigView}from"./src-
|
|
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]=`83f1e653-4760-4517-9c29-68bdc52ea850`,e._sentryDebugIdIdentifier=`sentry-dbid-83f1e653-4760-4517-9c29-68bdc52ea850`)})()}catch{}export{t as SelfHealingConfigView}from"./src-BhFJRUVp.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]=`4e80cb50-f73d-4809-a46e-9c06827eac32`,e._sentryDebugIdIdentifier=`sentry-dbid-4e80cb50-f73d-4809-a46e-9c06827eac32`)})()}catch{}import{$d as e,Rd as t,ho as n}from"./vendor-Byl1K1cb.js";import{Eb as r,Qb as i,nE as a,q_ as o,vp 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]=`4e80cb50-f73d-4809-a46e-9c06827eac32`,e._sentryDebugIdIdentifier=`sentry-dbid-4e80cb50-f73d-4809-a46e-9c06827eac32`)})()}catch{}import{$d as e,Rd as t,ho as n}from"./vendor-Byl1K1cb.js";import{Eb as r,Qb as i,nE as a,q_ as o,vp as s}from"./app-DPqAJq5O.js";e();var c=n(a.EXPERIMENT_SURFACE_MCP_TO_NEW_CLOUD_USERS,()=>{let e=o(),n=i(),a=t(()=>e.getVariant(r.name)),c=t(()=>{let e=a.value;return e===r.variant1||e===r.variant2}),l=t(()=>!!a.value),u=(e={})=>s(r,a.value,e);function d(e,t,r){n.track(`MCP onboarding entry point viewed`,u({surface:e,entry_point:t,mcp_access_enabled:r}))}function f(e,t,r,i,a){n.track(`MCP onboarding opportunity viewed`,u({surface:e,entry_point:t,eligible:!0,surface_available:r,suppressed_by:i,mcp_access_enabled:a}))}function p(e,t={}){n.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={}){n.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){n.track(`MCP onboarding enable clicked`,u({surface:e}))}function g(e){n.track(`MCP onboarding enabled`,u({surface:e}))}function _(e,t){n.track(`MCP onboarding enable failed`,u({surface:e,error_type:t}))}function v(e,t){n.track(`MCP onboarding client selected`,u({surface:e,client:t}))}function y(e,t,r){n.track(`MCP onboarding setup shown`,u({surface:e,client:t,setup_type:r}))}function b(e,t,r){n.track(`MCP onboarding copied parameter`,u({surface:e,client:t,parameter:r}))}return{currentVariant:a,isEnabled:l,isTileVariant:c,trackEntryPointViewed:d,trackOpportunityViewed:f,trackOpened:p,trackDismissed:m,trackEnableClicked:h,trackEnabled:g,trackEnableFailed:_,trackClientSelected:v,trackSetupShown:y,trackCopiedParameter:b}});export{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]=`2623b7d3-fc37-4d96-8987-8e5df80b081c`,e._sentryDebugIdIdentifier=`sentry-dbid-2623b7d3-fc37-4d96-8987-8e5df80b081c`)})()}catch{}import{Ax as e,F_ as t,K_ as n,Lg as r,Od as i,Td as a,Yb as o,sm 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]=`2623b7d3-fc37-4d96-8987-8e5df80b081c`,e._sentryDebugIdIdentifier=`sentry-dbid-2623b7d3-fc37-4d96-8987-8e5df80b081c`)})()}catch{}import{Ax as e,F_ as t,K_ as n,Lg as r,Od as i,Td as a,Yb as o,sm as s}from"./app-DPqAJq5O.js";async function c(e){let{credentialOverrides:n,nodeTypeProvider:o,rootStore:s,template:c,workflowsStore:l}=e,u=await t(s.restApiContext,{name:c.name}),d=i(o,c.workflow.nodes,n);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(e){let{router:t,templateId:n,inNewBrowserTab:r=!1,telemetry:i,source:a}=e;i.track(`User opened cred setup`,{source:a});let s={name:o.TEMPLATE_SETUP,params:{id:n}};if(r){let e=t.resolve(s);window.open(e.href,`_blank`)}else await t.push(s)}async function u(e){let{externalHooks:t,templateId:r,templatesStore:i,inNewBrowserTab:a,router:s}=e,c={name:o.TEMPLATE_IMPORT,params:{id:r}},l={source:`workflow`,template_id:n(r),wf_template_repo_session_id:i.currentSessionId};if(await t.run(`templatesWorkflowView.openWorkflow`,l),a){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=>s(e,t))}async function f(e,t){return e.getFullTemplateById(t)||(await e.fetchTemplateById(t),e.getFullTemplateById(t))}async function p(t){let{nodeTypesStore:n,templateId:r,templatesStore:i}=t,[a]=await Promise.all([f(i,r),n.loadNodeTypesIfNotLoaded()]);e(a),d(n,a)?await l(t):await u(t)}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]=`870698de-2cc0-40ce-a40a-b8953617c014`,e._sentryDebugIdIdentifier=`sentry-dbid-870698de-2cc0-40ce-a40a-b8953617c014`)})()}catch{}import{$d as e,cf as t,lf as n,md as r,wf as i}from"./vendor-Byl1K1cb.js";import{J_ as a,Rb as o}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]=`870698de-2cc0-40ce-a40a-b8953617c014`,e._sentryDebugIdIdentifier=`sentry-dbid-870698de-2cc0-40ce-a40a-b8953617c014`)})()}catch{}import{$d as e,cf as t,lf as n,md as r,wf as i}from"./vendor-Byl1K1cb.js";import{J_ as a,Rb as o}from"./app-DPqAJq5O.js";e();function s(e){let s=r(()=>{e.recordActivity()},a(o.COLLABORATION.ACTIVITY)),c=[`mousedown`,`keydown`,`touchstart`],l=()=>{c.forEach(e=>{document.addEventListener(e,s,{passive:!0})})},u=()=>{c.forEach(e=>{document.removeEventListener(e,s)})};return i(()=>e.isCurrentTabWriter,e=>{e?l():u()}),t(()=>{e.isCurrentTabWriter&&l()}),n(()=>{u()}),{recordActivity:s}}export{s as t};
|