n8n-editor-ui 2.45.5 → 2.45.6

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.
Files changed (289) hide show
  1. package/dist/assets/{AddDataTableModal-B9so-oOs.js → AddDataTableModal-Dkf_9EO2.js} +1 -1
  2. package/dist/assets/{AgentApprovalSelector-yLlcbfkU.js → AgentApprovalSelector-B2MZYYOM.js} +1 -1
  3. package/dist/assets/{AgentBuilderView-BwJcrAVf.js → AgentBuilderView-BAlL5yTu.js} +1 -1
  4. package/dist/assets/{AgentBuilderView-D8l-akqY.js → AgentBuilderView-DSNxCXQJ.js} +1 -1
  5. package/dist/assets/{AgentChatPanel-CmxMITIW.js → AgentChatPanel-hBGpze33.js} +1 -1
  6. package/dist/assets/{AgentConfirmationModal-YD6JN11q.js → AgentConfirmationModal-DQRgWw61.js} +1 -1
  7. package/dist/assets/{AgentDescriptionModal-Dubx7jXo.js → AgentDescriptionModal-Bi9YGLN1.js} +1 -1
  8. package/dist/assets/{AgentDuplicateModal-DjRqia5f.js → AgentDuplicateModal-D1MHoDJn.js} +1 -1
  9. package/dist/assets/{AgentEditorModal-BlPGTcIh.js → AgentEditorModal-B_ChNxvk.js} +1 -1
  10. package/dist/assets/{AgentJsonImportModal-wA8b5Pxb.js → AgentJsonImportModal-C5lUHAyh.js} +1 -1
  11. package/dist/assets/{AgentModal-DcANSmji.js → AgentModal-i6nF2yLJ.js} +1 -1
  12. package/dist/assets/{AgentModalMultiStep-CCD-RkBe.js → AgentModalMultiStep-qJfOa1mZ.js} +1 -1
  13. package/dist/assets/{AgentN8nChatView-Bw6CJ-Yh.js → AgentN8nChatView-0rIBBxgX.js} +1 -1
  14. package/dist/assets/{AgentPreviewButton-FiJTi1hj.js → AgentPreviewButton-v7peehhf.js} +1 -1
  15. package/dist/assets/{AgentPreviewDock-Dj2gFlkV.js → AgentPreviewDock-DhinloKm.js} +1 -1
  16. package/dist/assets/{AgentPublishedModal-DZW9omBd.js → AgentPublishedModal-DHHhUYEb.js} +1 -1
  17. package/dist/assets/{AgentSessionTimelineView-CeEEN_0w.js → AgentSessionTimelineView-BWgUur2Z.js} +1 -1
  18. package/dist/assets/{AgentSessionsListView-Cr3RqCg3.js → AgentSessionsListView-CeT_r-vd.js} +1 -1
  19. package/dist/assets/{AgentSessionsListView-DeINfFig.js → AgentSessionsListView-XCAnZ3SH.js} +1 -1
  20. package/dist/assets/{AgentSkillModal-6Tu-BL51.js → AgentSkillModal-C61TQO5D.js} +1 -1
  21. package/dist/assets/{AgentSubAgentsModal-BqSgi_RQ.js → AgentSubAgentsModal-DtTp5aoK.js} +1 -1
  22. package/dist/assets/{AgentTaskModal-CHUCIbOT.js → AgentTaskModal-TGFwGXE_.js} +1 -1
  23. package/dist/assets/{AgentTemplateList-ChWcLab4.js → AgentTemplateList-C2-GnLGE.js} +1 -1
  24. package/dist/assets/{AgentToolConfigModal-DuGc1AFC.js → AgentToolConfigModal-Ciz_gIO2.js} +1 -1
  25. package/dist/assets/{AgentToolConfigTitleIcon-izzlvcwg.js → AgentToolConfigTitleIcon-Db-J2fVC.js} +1 -1
  26. package/dist/assets/{AgentToolsConnectionModalWrapper-9oq85vtt.js → AgentToolsConnectionModalWrapper-Cb83YoBG.js} +1 -1
  27. package/dist/assets/{AgentUnpublishedWorkflowsModal-DAvLd2LD.js → AgentUnpublishedWorkflowsModal-DsUySvqU.js} +1 -1
  28. package/dist/assets/{AgentVectorStoresModal-DeATrDbl.js → AgentVectorStoresModal-DKH3wxum.js} +1 -1
  29. package/dist/assets/{AgentView-Dcdn7yih.js → AgentView-Cg_2U1Au.js} +1 -1
  30. package/dist/assets/{AgentsListView-BSK22w-s.js → AgentsListView-rST0_JZX.js} +1 -1
  31. package/dist/assets/{AnimatedSpinner-CiN1luoa.js → AnimatedSpinner-DRkpjl88.js} +1 -1
  32. package/dist/assets/{AnnotationTagsDropdown.ee-BkYdRX32.js → AnnotationTagsDropdown.ee-QFQfJrbz.js} +1 -1
  33. package/dist/assets/{AppSidebar-DPS2_zHc.js → AppSidebar-CCv0HmKT.js} +1 -1
  34. package/dist/assets/{AuthLayout-BmUooXAC.js → AuthLayout-y98XvvY7.js} +1 -1
  35. package/dist/assets/{AuthView-BxbYK-le.js → AuthView-Cc2JZ7at.js} +1 -1
  36. package/dist/assets/{BrowserUseSetupContent-DN32dJba.js → BrowserUseSetupContent-CbuK7zvk.js} +1 -1
  37. package/dist/assets/{BrowserUseSetupModal-iJp_D4Bm.js → BrowserUseSetupModal-5YjnW95Y.js} +1 -1
  38. package/dist/assets/{ChangePasswordModal-CEvZVfQ6.js → ChangePasswordModal-CudlkLUx.js} +1 -1
  39. package/dist/assets/{ChangePasswordView-AAh9Fk9n.js → ChangePasswordView-BLTHcbrp.js} +1 -1
  40. package/dist/assets/{ChatAgentAvatar-YJxcO8-Q.js → ChatAgentAvatar-DwDZwAnr.js} +1 -1
  41. package/dist/assets/{ChatAgentSearchSort-C6T1Hrcg.js → ChatAgentSearchSort-goS_faYB.js} +1 -1
  42. package/dist/assets/{ChatFile-CvxbDZ04.js → ChatFile-BTQixj2h.js} +1 -1
  43. package/dist/assets/{ChatGreetings-DMu6Jjxn.js → ChatGreetings-C0wQJl8N.js} +1 -1
  44. package/dist/assets/{ChatHistoryDropdownTrigger-DUvPy7n4.js → ChatHistoryDropdownTrigger-CTxWzykH.js} +1 -1
  45. package/dist/assets/{ChatLayout-eDD16eoi.js → ChatLayout-ByFSLB7A.js} +1 -1
  46. package/dist/assets/{ChatLayout-Drq7RJzS.js → ChatLayout-CtCPgMEG.js} +1 -1
  47. package/dist/assets/{ChatMarkdownChunk-QaSu4Bi6.js → ChatMarkdownChunk-C648Ezs2.js} +1 -1
  48. package/dist/assets/{ChatPersonalAgentsView-DAG-hPXT.js → ChatPersonalAgentsView-BvHun_l9.js} +1 -1
  49. package/dist/assets/{ChatView-Da3J2FQL.js → ChatView-CVMopERU.js} +1 -1
  50. package/dist/assets/{ChatWorkflowAgentsView--6Mo8A0d.js → ChatWorkflowAgentsView-CkqPwYp9.js} +1 -1
  51. package/dist/assets/{CollectionParameter-BKkk5lZL.js → CollectionParameter-RUCOPmp2.js} +1 -1
  52. package/dist/assets/{CompareCollectionView-C7mqFELn.js → CompareCollectionView-CSWwnp1s.js} +1 -1
  53. package/dist/assets/{ComputerUseSetupContent-CuttFFrR.js → ComputerUseSetupContent-bojF8kYR.js} +1 -1
  54. package/dist/assets/{ComputerUseSetupModal-wVEDrVUf.js → ComputerUseSetupModal-BJHpW5Yo.js} +1 -1
  55. package/dist/assets/{ConfirmEmailChangeView-M3dn9UJN.js → ConfirmEmailChangeView-VUO8Ooj0.js} +1 -1
  56. package/dist/assets/{ConfirmPasswordModal-DowVrJYc.js → ConfirmPasswordModal-CZ0gfm9x.js} +1 -1
  57. package/dist/assets/{ConnectionTracker-VPlWviRX.js → ConnectionTracker-CupTg2sP.js} +1 -1
  58. package/dist/assets/{CredentialSelectorModal-DwsR0ni_.js → CredentialSelectorModal-kuxgBPIC.js} +1 -1
  59. package/dist/assets/{CredentialsView-DCC_z4r9.js → CredentialsView-DefkS-cR.js} +1 -1
  60. package/dist/assets/{DataTableActions-BXzdS5V9.js → DataTableActions-BZmgNmXv.js} +1 -1
  61. package/dist/assets/{DataTableDetailsView-DD1p9-32.js → DataTableDetailsView-CV8i8ziT.js} +1 -1
  62. package/dist/assets/{DataTableTable-DIfslC12.js → DataTableTable-oD3N1G-h.js} +1 -1
  63. package/dist/assets/{DataTableView-Dcly6o3H.js → DataTableView-DFWLr0Ut.js} +1 -1
  64. package/dist/assets/{DefaultLayout-D60hajWX.js → DefaultLayout-Cshh9cDH.js} +1 -1
  65. package/dist/assets/{DeleteInstanceRoleModal-CgkcKUQL.js → DeleteInstanceRoleModal-BqbpwqzC.js} +1 -1
  66. package/dist/assets/{DemoDiffView-D4QCn9Wx.js → DemoDiffView-BoClwqvo.js} +1 -1
  67. package/dist/assets/{DemoLayout-ZOXBR1Od.js → DemoLayout-B6_NnOQp.js} +1 -1
  68. package/dist/assets/{DependencyPill-m_vJFmNh.js → DependencyPill-Dmb9H6nl.js} +1 -1
  69. package/dist/assets/{EmptySharedSectionActionBox-l_WpMiZj.js → EmptySharedSectionActionBox-uHMoLS90.js} +1 -1
  70. package/dist/assets/{EntityNotFound-DKSHqGh3.js → EntityNotFound-CfZt9CBQ.js} +1 -1
  71. package/dist/assets/{EntityUnAuthorised-BoM0MKzc.js → EntityUnAuthorised-DfxgRe--.js} +1 -1
  72. package/dist/assets/{ErrorView-CzwFD14h.js → ErrorView-2KMtlE4D.js} +1 -1
  73. package/dist/assets/{EvalCollectionsListView-T8jRUNnv.js → EvalCollectionsListView-B6CZk7Dt.js} +1 -1
  74. package/dist/assets/{EvaluationsListSwitcher-BMYE-Ov4.js → EvaluationsListSwitcher-C42FXsp6.js} +2 -2
  75. package/dist/assets/{EvaluationsPaywall-DJXIFXur.js → EvaluationsPaywall-Bxv3lfaT.js} +1 -1
  76. package/dist/assets/{EvaluationsRootView-BuBLnz78.js → EvaluationsRootView-BI1OhdlA.js} +1 -1
  77. package/dist/assets/{EventDestinationSettingsModalAdapter-BobmTMT6.js → EventDestinationSettingsModalAdapter-BIOPNMFu.js} +1 -1
  78. package/dist/assets/{ExecutionsTime-BZXlsNLl.js → ExecutionsTime-D-EmvEK9.js} +1 -1
  79. package/dist/assets/{ExecutionsView-inJcyKdf.js → ExecutionsView-BFTjRLwv.js} +1 -1
  80. package/dist/assets/{ExposeAllWorkflowsToMcpModal-CmxO5dRJ.js → ExposeAllWorkflowsToMcpModal-n6fYDMez.js} +1 -1
  81. package/dist/assets/{FixedCollectionParameter-BM4w-H3o.js → FixedCollectionParameter-CarnuDCo.js} +1 -1
  82. package/dist/assets/{FolderBreadcrumbs-bGOz07Y7.js → FolderBreadcrumbs-B7MptN4D.js} +1 -1
  83. package/dist/assets/{ForgotMyPasswordView-B3dyqF_X.js → ForgotMyPasswordView-CDD0ZTNu.js} +1 -1
  84. package/dist/assets/{GroupedMetricChart-Cd0swODm.js → GroupedMetricChart-CR5ugZIi.js} +1 -1
  85. package/dist/assets/{ImpactTag-CyGXTWOw.js → ImpactTag-BW1qilVC.js} +1 -1
  86. package/dist/assets/{InboxView-XuXzQNuv.js → InboxView-0ZPd3ltm.js} +1 -1
  87. package/dist/assets/{InsightsChartAverageRuntime-DsF4vAjJ.js → InsightsChartAverageRuntime-DTCX0C02.js} +1 -1
  88. package/dist/assets/{InsightsChartFailed-8AmMYaeU.js → InsightsChartFailed-Bcg8C2rg.js} +1 -1
  89. package/dist/assets/{InsightsChartFailureRate-B6moyEGP.js → InsightsChartFailureRate-BaZcJKug.js} +1 -1
  90. package/dist/assets/{InsightsChartTimeSaved-DXCiEipw.js → InsightsChartTimeSaved-DcslD42l.js} +1 -1
  91. package/dist/assets/{InsightsChartTotal-BnVV7Ute.js → InsightsChartTotal-WSJn55_B.js} +1 -1
  92. package/dist/assets/{InsightsDashboard-Dj-uXUV6.js → InsightsDashboard-C1Ox3U4J.js} +2 -2
  93. package/dist/assets/{InsightsPaywall-ClSuL5ha.js → InsightsPaywall-DDCVXC9F.js} +1 -1
  94. package/dist/assets/{InsightsSummary-Cek754ne.js → InsightsSummary-1ix3S6rz.js} +1 -1
  95. package/dist/assets/{InsightsTableWorkflows-ClsDCB3v.js → InsightsTableWorkflows-3cV6RKY7.js} +2 -2
  96. package/dist/assets/{InstanceAiEmptyView-5I0fQ7j2.js → InstanceAiEmptyView-BcnFSW9i.js} +1 -1
  97. package/dist/assets/{InstanceAiLayout-BuHdbziP.js → InstanceAiLayout-euR9_ZQX.js} +1 -1
  98. package/dist/assets/{InstanceAiThreadView-BNUySVFF.js → InstanceAiThreadView-2KJTBV2a.js} +1 -1
  99. package/dist/assets/{InstanceAiThreadsView-D_Tf_rY_.js → InstanceAiThreadsView-a67qIKOJ.js} +1 -1
  100. package/dist/assets/{InstanceAiToolsConnectionModalWrapper-DJk_I9RO.js → InstanceAiToolsConnectionModalWrapper-Djyh_bNq.js} +1 -1
  101. package/dist/assets/{InstanceAiView-C1bFEqEu.js → InstanceAiView-CwG0eOQa.js} +1 -1
  102. package/dist/assets/{InstanceRoleView-BLahuqxx.js → InstanceRoleView-BxtC21g6.js} +1 -1
  103. package/dist/assets/{LimitedModeNotice-CCKw0s9m.js → LimitedModeNotice-CBQDcliP.js} +1 -1
  104. package/dist/assets/{LogStreamingPaywall-DVvXZNzt.js → LogStreamingPaywall-DpqlsEkK.js} +1 -1
  105. package/dist/assets/{LogStreamingPlaceholderView-B8LJXxDu.js → LogStreamingPlaceholderView-BfrYuIq1.js} +1 -1
  106. package/dist/assets/{MCPOnboardingModal-BiwZZCQH.js → MCPOnboardingModal-DMeW2OBQ.js} +1 -1
  107. package/dist/assets/{MainHeader-CO4583T2.js → MainHeader-bTAgYKMM.js} +1 -1
  108. package/dist/assets/{MainSidebarHeader-C8Y1v73A.js → MainSidebarHeader-RQPW_ikA.js} +1 -1
  109. package/dist/assets/{McpJsonNudgeModal-B8aT4m9L.js → McpJsonNudgeModal-DG_RCKio.js} +1 -1
  110. package/dist/assets/{McpRegistrySuggestionFooter-DnrbJRWI.js → McpRegistrySuggestionFooter-CoilfFxi.js} +1 -1
  111. package/dist/assets/{McpToolPermissionsEditor-CmwKhXpk.js → McpToolPermissionsEditor-BJ_u4ZhK.js} +1 -1
  112. package/dist/assets/{MfaSetupModal-CW2I0HvW.js → MfaSetupModal-ntaiKzJ3.js} +1 -1
  113. package/dist/assets/{MigrationRuleDetail-Bo4xbYgB.js → MigrationRuleDetail-oUg6R372.js} +1 -1
  114. package/dist/assets/{MigrationRules-DcQyqR2y.js → MigrationRules-CDhbTZER.js} +1 -1
  115. package/dist/assets/{ModelByIdSelectorModal-C84HSg64.js → ModelByIdSelectorModal-D3ZvhwhK.js} +1 -1
  116. package/dist/assets/{N8nChatAgentGrid-Dfb9KKwJ.js → N8nChatAgentGrid-CbtlhStJ.js} +1 -1
  117. package/dist/assets/{N8nChatAgentLibraryView-DQ4qM8ix.js → N8nChatAgentLibraryView-83Q93kDp.js} +1 -1
  118. package/dist/assets/{N8nChatHintPopover-DXCmGw8J.js → N8nChatHintPopover-2w9c9MaG.js} +1 -1
  119. package/dist/assets/{N8nChatPageLayout-aWRDrAkY.js → N8nChatPageLayout-Ci8uH5r9.js} +1 -1
  120. package/dist/assets/{NodeCreation-XpV__k1t.js → NodeCreation-bMOTIZ0U.js} +2 -2
  121. package/dist/assets/{NodeCreator-rWDa3vvH.js → NodeCreator-B-aNcD3W.js} +1 -1
  122. package/dist/assets/{NodeDetailsView-DMV086jD.js → NodeDetailsView-CR_bzjz1.js} +1 -1
  123. package/dist/assets/{NodeToolSettingsContent-DFcjI8Ef.js → NodeToolSettingsContent-qpB-7xwg.js} +1 -1
  124. package/dist/assets/{NodeView-Bf75T9oE.js → NodeView-CMCUmKez.js} +2 -2
  125. package/dist/assets/{NodeView-QrIpymFu.js → NodeView-Dv0DtInJ.js} +1 -1
  126. package/dist/assets/{OAuthConsentView-CEstLd3a.js → OAuthConsentView-DIOgSU2V.js} +1 -1
  127. package/dist/assets/{PageViewLayout-Bu-lQ0MW.js → PageViewLayout-BahaGvu2.js} +1 -1
  128. package/dist/assets/{ProjectBreadcrumb-BBcEtczh.js → ProjectBreadcrumb-CfrO7Y4U.js} +1 -1
  129. package/dist/assets/{ProjectFilter-DiL8q--g.js → ProjectFilter-DfWb7WDe.js} +1 -1
  130. package/dist/assets/{ProjectHeader-CrulTyqj.js → ProjectHeader-DFy-5gq1.js} +1 -1
  131. package/dist/assets/{ProjectRoleView-BjDeQVC9.js → ProjectRoleView-0-leJv67.js} +1 -1
  132. package/dist/assets/{ProjectSettings-DlANfDWV.js → ProjectSettings-CNqHQHf_.js} +1 -1
  133. package/dist/assets/{ProjectVariables-CgvlEQdj.js → ProjectVariables-BcM-xyWX.js} +1 -1
  134. package/dist/assets/{PromotionBindingsFlow-DPs2zTsr.js → PromotionBindingsFlow-BnXHGybE.js} +1 -1
  135. package/dist/assets/{PromotionSelectModal-CXfwrgE5.js → PromotionSelectModal-QRy707lk.js} +1 -1
  136. package/dist/assets/{PromotionsSettingsView-DxpBvUT7.js → PromotionsSettingsView-DIjB5VGH.js} +1 -1
  137. package/dist/assets/{PromptMfaCodeModal-B1Jyjn0k.js → PromptMfaCodeModal-CKH8gZsY.js} +1 -1
  138. package/dist/assets/{ProviderSettingsModal-cRHMzgXB.js → ProviderSettingsModal-D7Qerrmm.js} +1 -1
  139. package/dist/assets/{PublicationIndicator-qQgByK3R.js → PublicationIndicator-DCoGeSjh.js} +1 -1
  140. package/dist/assets/{RecentChatIcon-DyALqW_l.js → RecentChatIcon-BUZK9QGw.js} +1 -1
  141. package/dist/assets/{ResolversView-DebfBUy-.js → ResolversView-INFg6oKj.js} +1 -1
  142. package/dist/assets/{ResourceCenterView-CrR0yWWe.js → ResourceCenterView-D9qVls7s.js} +1 -1
  143. package/dist/assets/{ResourcesListEmptyState-CSfAcxOq.js → ResourcesListEmptyState-D5qX0b_H.js} +1 -1
  144. package/dist/assets/{ResourcesListLayout-y_xLGebj.js → ResourcesListLayout-CdVwEHBK.js} +1 -1
  145. package/dist/assets/{RoleSelectDropdown-BD2DaoOR.js → RoleSelectDropdown-1xLcfCBN.js} +1 -1
  146. package/dist/assets/{RolesView-_JR0bJAe.js → RolesView-c_nsqkk5.js} +1 -1
  147. package/dist/assets/{RunDataHtml-CX8YWMX1.js → RunDataHtml-CjBrUqPW.js} +1 -1
  148. package/dist/assets/{RunDataJson-DKHkmsST.js → RunDataJson-DDcx_jFu.js} +2 -2
  149. package/dist/assets/{RunDataJsonActions-CBIEz8R9.js → RunDataJsonActions-pRvMSaxK.js} +1 -1
  150. package/dist/assets/{RunDataParsedAiContent-Sdvn0aOr.js → RunDataParsedAiContent-C6J7f36t.js} +1 -1
  151. package/dist/assets/{RunDataParsedAiContent-bpupZELu.js → RunDataParsedAiContent-DZJHP7gv.js} +1 -1
  152. package/dist/assets/{RunDataSearch-C4WotPTz.js → RunDataSearch-DIGvZI5d.js} +1 -1
  153. package/dist/assets/{RunDataTable-DU3GniNW.js → RunDataTable-D_nzvLcq.js} +1 -1
  154. package/dist/assets/{SamlOnboarding-BKgdmalS.js → SamlOnboarding-Anrtbo5u.js} +1 -1
  155. package/dist/assets/{SandboxSettingsRow-DRW_I00L.js → SandboxSettingsRow-MlUBZEmf.js} +1 -1
  156. package/dist/assets/{SecuritySettings-D2GiV66p.js → SecuritySettings-CoKsUS-H.js} +1 -1
  157. package/dist/assets/{SettingsAIView-EmAPM-lc.js → SettingsAIView-CZBx4yPO.js} +1 -1
  158. package/dist/assets/{SettingsAgentsView-W4cQpqtc.js → SettingsAgentsView-uog5WzTA.js} +1 -1
  159. package/dist/assets/{SettingsAiGatewayView-CQYI9sO1.js → SettingsAiGatewayView-CvJEKTFR.js} +1 -1
  160. package/dist/assets/{SettingsApiView-DfgxqDzq.js → SettingsApiView-TMii_I7g.js} +1 -1
  161. package/dist/assets/{SettingsChatHubView-Dbf-5XtK.js → SettingsChatHubView-CrRmZ5Qq.js} +1 -1
  162. package/dist/assets/{SettingsCommunityNodesView-iDu2Rly5.js → SettingsCommunityNodesView-D7bJwm5x.js} +1 -1
  163. package/dist/assets/{SettingsContextView-xj0y21li.js → SettingsContextView-CUbd7KFU.js} +1 -1
  164. package/dist/assets/{SettingsEncryptionKeys-kzMBgBjq.js → SettingsEncryptionKeys-BVIDOQqZ.js} +1 -1
  165. package/dist/assets/{SettingsExternalSecrets-BFxOtSAm.js → SettingsExternalSecrets-BP_F06O3.js} +1 -1
  166. package/dist/assets/{SettingsInstanceAiView-DKhgA3R3.js → SettingsInstanceAiView-CIqoia-S.js} +1 -1
  167. package/dist/assets/{SettingsLayout-B1vE2srE.js → SettingsLayout-Dg8jlQ05.js} +1 -1
  168. package/dist/assets/{SettingsLdapView-YzNYTgt6.js → SettingsLdapView-Dv3M_xcS.js} +1 -1
  169. package/dist/assets/{SettingsLogStreamingView-CzY9RVG6.js → SettingsLogStreamingView-Cg7Tnu-7.js} +1 -1
  170. package/dist/assets/{SettingsMCPAgentsView-By50Xlup.js → SettingsMCPAgentsView-C8R-Zn8R.js} +1 -1
  171. package/dist/assets/{SettingsMCPClientsView-BrjWou26.js → SettingsMCPClientsView-D8TQ9DTx.js} +1 -1
  172. package/dist/assets/{SettingsMCPView-CrOiFF3D.js → SettingsMCPView-eyfs7jkU.js} +1 -1
  173. package/dist/assets/{SettingsMCPWorkflowsView-Dk6l7yKu.js → SettingsMCPWorkflowsView-oOUl_anE.js} +1 -1
  174. package/dist/assets/{SettingsOpenTelemetryView-CYw5MBoJ.js → SettingsOpenTelemetryView-Cw2W1jFe.js} +1 -1
  175. package/dist/assets/{SettingsPersonalView-BH8D3TJ9.js → SettingsPersonalView-DbNEUzSt.js} +1 -1
  176. package/dist/assets/{SettingsPreferencesView-CVqV7rAm.js → SettingsPreferencesView-DlAbslW_.js} +1 -1
  177. package/dist/assets/{SettingsSecretsProviders.ee-B9dqQq6N.js → SettingsSecretsProviders.ee-CD9WKWzb.js} +1 -1
  178. package/dist/assets/{SettingsSkillsView-CNKWFyZt.js → SettingsSkillsView-0oShjF3U.js} +1 -1
  179. package/dist/assets/{SettingsSourceControl-BIlf3t5h.js → SettingsSourceControl-D1pPxWvZ.js} +1 -1
  180. package/dist/assets/{SettingsSso-CvHsvNDI.js → SettingsSso-Ban8vB63.js} +1 -1
  181. package/dist/assets/{SettingsUsageAndPlan-CTKXpmOF.js → SettingsUsageAndPlan-DdIXEpRJ.js} +1 -1
  182. package/dist/assets/{SettingsUsersView-A8jocLxu.js → SettingsUsersView-Kl7Sz0Bi.js} +1 -1
  183. package/dist/assets/{SetupView-CfESTJGs.js → SetupView-ejiJcsj8.js} +1 -1
  184. package/dist/assets/{SetupWorkflowCredentialsButton-CK_t1DbK.js → SetupWorkflowCredentialsButton-DBU-ep-c.js} +1 -1
  185. package/dist/assets/{SetupWorkflowFromTemplateView-DuUgCArV.js → SetupWorkflowFromTemplateView-CvvDxn-K.js} +1 -1
  186. package/dist/assets/{SigninView-CiefP2H3.js → SigninView-Cgyyl7Cw.js} +1 -1
  187. package/dist/assets/{SignoutView-b-35dHpy.js → SignoutView-dF5O4aUs.js} +1 -1
  188. package/dist/assets/{SignupView-DqUNcfye.js → SignupView-fTLDPo2m.js} +1 -1
  189. package/dist/assets/{SkeletonAgentCard-BrLTj6oY.js → SkeletonAgentCard-CVBqSoIa.js} +1 -1
  190. package/dist/assets/{TemplateList-Bs_3Vlkj.js → TemplateList-CcgUTbgP.js} +1 -1
  191. package/dist/assets/{TemplatesCollectionView-HqM8YhCr.js → TemplatesCollectionView-BO6zqmkS.js} +1 -1
  192. package/dist/assets/{TemplatesSearchView-hL7ApDHn.js → TemplatesSearchView-g3rWjQcp.js} +1 -1
  193. package/dist/assets/{TemplatesView-DfVw87aI.js → TemplatesView-ByryD7cH.js} +1 -1
  194. package/dist/assets/{TemplatesWorkflowView-CQslnUfS.js → TemplatesWorkflowView-CQnoX458.js} +1 -1
  195. package/dist/assets/{TestRunDetailView--mjjHifD.js → TestRunDetailView-CEGhWzww.js} +1 -1
  196. package/dist/assets/{ToolCredentialPicker-BaF387J5.js → ToolCredentialPicker-DXrGL2sE.js} +1 -1
  197. package/dist/assets/{ToolIcon-CWak3ywB.js → ToolIcon-CqbBiXsz.js} +1 -1
  198. package/dist/assets/{ToolSettingsModal-V_i-Q11w.js → ToolSettingsModal-Tpmwoby3.js} +1 -1
  199. package/dist/assets/{ToolsConnectionModal-CrCTbNFj.js → ToolsConnectionModal-BKFCTvX1.js} +1 -1
  200. package/dist/assets/{ToolsManagerModal-v6MVlKgf.js → ToolsManagerModal-CJxi8OaQ.js} +1 -1
  201. package/dist/assets/{ToolsSelector-BLKHVZv9.js → ToolsSelector-BYEFZ9Zs.js} +1 -1
  202. package/dist/assets/{TrialIntroModal-DMy6qYW1.js → TrialIntroModal-DgrtH2sb.js} +1 -1
  203. package/dist/assets/{VirtualSchema-BhcmYESc.js → VirtualSchema-CrTzwsxu.js} +1 -1
  204. package/dist/assets/{WorkerView-eQOvkStI.js → WorkerView-nGvTjd8Z.js} +1 -1
  205. package/dist/assets/{WorkflowDiffSlot-DqX4aAiD.js → WorkflowDiffSlot-Xj3Q4Far.js} +1 -1
  206. package/dist/assets/{WorkflowExecutionsInfoAccordion-jqlUkvA-.js → WorkflowExecutionsInfoAccordion-DpV6pFKu.js} +1 -1
  207. package/dist/assets/{WorkflowExecutionsLandingPage-DgxxDoc2.js → WorkflowExecutionsLandingPage-acnRsyQP.js} +1 -1
  208. package/dist/assets/{WorkflowExecutionsPreview-DHXiLYd9.js → WorkflowExecutionsPreview-BVjegCmB.js} +1 -1
  209. package/dist/assets/{WorkflowExecutionsView-CUr8TgQq.js → WorkflowExecutionsView-C9ab7NSb.js} +1 -1
  210. package/dist/assets/{WorkflowHistory-27fGrRVK.js → WorkflowHistory-BwdwIOhs.js} +1 -1
  211. package/dist/assets/{WorkflowLayout-CJ_S9GZC.js → WorkflowLayout-DNPn5JVV.js} +1 -1
  212. package/dist/assets/{WorkflowOnboardingView-80I31qti.js → WorkflowOnboardingView-zvRGRd6R.js} +1 -1
  213. package/dist/assets/{WorkflowPreviewHost-utpKj3x4.js → WorkflowPreviewHost-CH2RnuNU.js} +1 -1
  214. package/dist/assets/{WorkflowsView-7VFbLCt8.js → WorkflowsView-DGZh2wGh.js} +1 -1
  215. package/dist/assets/{aiTemplatesStarterCollection.store-DtImkPme.js → aiTemplatesStarterCollection.store-Dul6t6XC.js} +1 -1
  216. package/dist/assets/{app-j_PQFvzO.js → app-CHQeJgnE.js} +91 -94
  217. package/dist/assets/{auth.eventBus-D_w_gHED.js → auth.eventBus-CikvRsPs.js} +1 -1
  218. package/dist/assets/{context.store-8qeWQfhr.js → context.store--yljoT0P.js} +1 -1
  219. package/dist/assets/{dist-BE38IPle.js → dist-DYCSwm7c.js} +1 -1
  220. package/dist/assets/{en-Cy1tLrf4.js → en-CpdBt6Ek.js} +1 -1
  221. package/dist/assets/{expression-runtime-stub-y2c_NP64.js → expression-runtime-stub-DWRqQVYB.js} +1 -1
  222. package/dist/assets/{index-CW282EMS.js → index-D7nkGiQA.js} +1 -1
  223. package/dist/assets/{insights.store-CY8EOlQO.js → insights.store-B_e7_8cX.js} +1 -1
  224. package/dist/assets/{insights.store-CxXYmFVI.js → insights.store-CZiT-dfi.js} +1 -1
  225. package/dist/assets/{insights.utils-BIPXgf_S.js → insights.utils-BcfG-KT6.js} +1 -1
  226. package/dist/assets/{instanceAi.store-DPvwA-mh.js → instanceAi.store-Ck6ksZcn.js} +1 -1
  227. package/dist/assets/{instanceAiComputerUse.telemetry-X0eiL62D.js → instanceAiComputerUse.telemetry-CPVJhBnV.js} +1 -1
  228. package/dist/assets/{instanceAiMcp.store-CiFxNHWs.js → instanceAiMcp.store-C0piPcOU.js} +1 -1
  229. package/dist/assets/{instanceAiMcp.store-CiFcSJxW.js → instanceAiMcp.store-CnNOySfz.js} +1 -1
  230. package/dist/assets/{instanceAiSetup.telemetry-0E6Jw4OD.js → instanceAiSetup.telemetry-DENh_qlT.js} +1 -1
  231. package/dist/assets/{instanceRoleScopes-DlxMkYFB.js → instanceRoleScopes-CpIOj-lq.js} +1 -1
  232. package/dist/assets/{logStreaming.store-BEmZPghJ.js → logStreaming.store-BrtMnec1.js} +1 -1
  233. package/dist/assets/{mcpRegistry.api-CqMD8wVh.js → mcpRegistry.api-B7qEWofU.js} +1 -1
  234. package/dist/assets/{mergeRecentChats-BWecvzon.js → mergeRecentChats-Czs-A4b1.js} +1 -1
  235. package/dist/assets/{postMessageUtils-B8-NEtlc.js → postMessageUtils-Dmsx5iWl.js} +1 -1
  236. package/dist/assets/{projectRoleScopes-B3HoI3-L.js → projectRoleScopes-bMXh39G9.js} +1 -1
  237. package/dist/assets/{promotions.api-S_FG5jbs.js → promotions.api-BAZUrZQg.js} +1 -1
  238. package/dist/assets/{promotions.eventBus-CDRvokNR.js → promotions.eventBus-CMmY5SdW.js} +1 -1
  239. package/dist/assets/{promotionsSettings.api-WB2wQzBw.js → promotionsSettings.api-CHVnaND0.js} +1 -1
  240. package/dist/assets/{pushConnection.store-CPLp0rT6.js → pushConnection.store-Crp0JAVE.js} +1 -1
  241. package/dist/assets/{readyToRun.store-DhSa9X-Y.js → readyToRun.store-KPiNHGR8.js} +1 -1
  242. package/dist/assets/{readyToRunWorkflows.store-Bn2Fm_29.js → readyToRunWorkflows.store-USC_-Tiz.js} +1 -1
  243. package/dist/assets/{resourceCenter.store-DUBZgIgn.js → resourceCenter.store-DnoACm_S.js} +1 -1
  244. package/dist/assets/{runtime.iife-DwFq7DZe.js → runtime.iife-C4MU2SU0.js} +8 -8
  245. package/dist/assets/{settings.store-Gg6I-iuG.js → settings.store-BfV4dQsZ.js} +1 -1
  246. package/dist/assets/{skills.store-BVWqxcX7.js → skills.store-mqVED3en.js} +1 -1
  247. package/dist/assets/{src-Qns3QKoS.js → src-DJACXjk1.js} +1 -1
  248. package/dist/assets/{src-CFBgjhZz.js → src-rLRLrF-a.js} +1 -1
  249. package/dist/assets/{surfaceMcpToNewCloudUsers.store-BdiDdj_8.js → surfaceMcpToNewCloudUsers.store-fQCpA2Ti.js} +1 -1
  250. package/dist/assets/{templateActions-DmTZrUwa.js → templateActions-BrNOIMwH.js} +1 -1
  251. package/dist/assets/{thread-title-BXADmq8m.js → thread-title-B6tV_RS0.js} +1 -1
  252. package/dist/assets/{useActivityDetection-QBolb_fp.js → useActivityDetection-CDEmOjAs.js} +1 -1
  253. package/dist/assets/{useAgentConfirmationModal-CXPtXeLh.js → useAgentConfirmationModal-OMSFPXVG.js} +1 -1
  254. package/dist/assets/{useBuilderStreamingGuard-B2faGCBr.js → useBuilderStreamingGuard-DJUmUZDV.js} +1 -1
  255. package/dist/assets/{useCustomAgent-D3JycP7_.js → useCustomAgent-D_Y2JPUh.js} +1 -1
  256. package/dist/assets/{useDependencyMenu-1zQ9SmdO.js → useDependencyMenu-CaYUGl11.js} +1 -1
  257. package/dist/assets/{useEvalCollectionsFlag-CYeOrade.js → useEvalCollectionsFlag-B12ZptJX.js} +1 -1
  258. package/dist/assets/{useEvaluationsLicense-Cssd6i_H.js → useEvaluationsLicense-CwQ13UYq.js} +1 -1
  259. package/dist/assets/{useExecutionData-DBarpQcb.js → useExecutionData-DCSB6_iB.js} +1 -1
  260. package/dist/assets/{useExecutionDebugging-BSnSlFCc.js → useExecutionDebugging-qrwIEdOT.js} +1 -1
  261. package/dist/assets/{useExposeAllWorkflowsToMcpOffer-l3SnXwsO.js → useExposeAllWorkflowsToMcpOffer-DWPkHkiY.js} +1 -1
  262. package/dist/assets/{useExtensionDirectConnect-DMqbm6Id.js → useExtensionDirectConnect-DItPfYbK.js} +1 -1
  263. package/dist/assets/{useFileDrop-DcZ_D96q.js → useFileDrop-B88_-Lvu.js} +1 -1
  264. package/dist/assets/{useImportCurlCommand-D9bZJFsT.js → useImportCurlCommand-b08mNC5K.js} +1 -1
  265. package/dist/assets/{useInstanceAiConfiguration-CCcU4BYj.js → useInstanceAiConfiguration-Bbfkr2HH.js} +1 -1
  266. package/dist/assets/{useInstancePromotionConnection--eoyBTXU.js → useInstancePromotionConnection-DUsgplpR.js} +1 -1
  267. package/dist/assets/{useIsAssistantAtMentionsEnabled-y4HuO_7J.js → useIsAssistantAtMentionsEnabled-Dhj9OHj3.js} +1 -1
  268. package/dist/assets/{useLogsTreeExpand-CVzAxQ6v.js → useLogsTreeExpand-bmU2uHy8.js} +1 -1
  269. package/dist/assets/{useMcpJsonNudgeEligibility-DmjbygXo.js → useMcpJsonNudgeEligibility-BtAKOWmq.js} +1 -1
  270. package/dist/assets/{useMcpJsonNudgeTrigger-CXffgNjE.js → useMcpJsonNudgeTrigger-DzPzUTFF.js} +1 -1
  271. package/dist/assets/{useMcpServerConnect-DH2EVDCA.js → useMcpServerConnect-DYVQd73D.js} +1 -1
  272. package/dist/assets/{useMergedChatHistory-BwMYHhIv.js → useMergedChatHistory-BX9C4ADk.js} +1 -1
  273. package/dist/assets/{useOAuthClientRevoke-C631k8mo.js → useOAuthClientRevoke-Ni2gbjL1.js} +1 -1
  274. package/dist/assets/{usePagedN8nChatThreads-DQakkB0x.js → usePagedN8nChatThreads-DDkhR8gD.js} +1 -1
  275. package/dist/assets/{usePostMessageHandler-BVyfP9WC.js → usePostMessageHandler-Sn8YepU5.js} +2 -2
  276. package/dist/assets/{usePushConnection-DZFCB5H8.js → usePushConnection-BsKtZZCQ.js} +1 -1
  277. package/dist/assets/{usePushConnection-Z19QBGR4.js → usePushConnection-Cbd67z7n.js} +1 -1
  278. package/dist/assets/{useRoleEditorForm-AIBxFQCi.js → useRoleEditorForm-DR-uMOcu.js} +1 -1
  279. package/dist/assets/{useSecretsProvidersList.ee-B0A3u1ss.js → useSecretsProvidersList.ee-BkCsQ-QT.js} +1 -1
  280. package/dist/assets/{useSettingsItems-CjPPYRZf.js → useSettingsItems-kWnRBSJY.js} +1 -1
  281. package/dist/assets/{useSidebarLayout-HK6CNTD2.js → useSidebarLayout-DzsTrYYC.js} +1 -1
  282. package/dist/assets/{useWorkflowEvaluationState-3Ln5wny-.js → useWorkflowEvaluationState-Dv9beL5W.js} +1 -1
  283. package/dist/assets/{useWorkflowInitialization-BfLz1kVs.js → useWorkflowInitialization-BeRnmuNR.js} +1 -1
  284. package/dist/assets/{useWorkflowReviewsFeature-LRvPldUm.js → useWorkflowReviewsFeature-1FRFy85l.js} +1 -1
  285. package/dist/assets/{useWorkflowsEmptyState-DqbxA6M2.js → useWorkflowsEmptyState-CVYX6PYS.js} +1 -1
  286. package/dist/assets/{userRoleProvisioning.store-BbuGV-YC.js → userRoleProvisioning.store-BB1WI3uW.js} +1 -1
  287. package/dist/assets/{vector-stores-Cgg-LHLW.js → vector-stores-RlQB_80w.js} +1 -1
  288. package/dist/index.html +2 -2
  289. package/package.json +1 -1
@@ -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]=`2a472241-eaf7-49eb-a5b0-95904f42b817`,e._sentryDebugIdIdentifier=`sentry-dbid-2a472241-eaf7-49eb-a5b0-95904f42b817`)})()}catch{}import{GT as e}from"./app-j_PQFvzO.js";var t=e(),n=e(),r=e();export{n,r,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]=`2a472241-eaf7-49eb-a5b0-95904f42b817`,e._sentryDebugIdIdentifier=`sentry-dbid-2a472241-eaf7-49eb-a5b0-95904f42b817`)})()}catch{}import{GT as e}from"./app-CHQeJgnE.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]=`86fa8ec9-607f-460a-8e5d-dd10983d0712`,e._sentryDebugIdIdentifier=`sentry-dbid-86fa8ec9-607f-460a-8e5d-dd10983d0712`)})()}catch{}import{Tf as e,fo as t}from"./vendor-xeDGQDt1.js";import{Ny as n,nb as r}from"./app-j_PQFvzO.js";var i=`/ai-preferences`;async function a(e,{ids:t,...n}={}){return await r(e,`GET`,i,{...n,...t?{ids:t.join(`,`)}:{}})}async function o(e){return(await r(e,`GET`,`${i}/count`)).count}async function s(e,t){return await r(e,`POST`,i,t)}async function c(e,t,n){return await r(e,`PATCH`,`${i}/${t}`,n)}async function l(e,t){await r(e,`DELETE`,`${i}/${t}`)}var u=t(`context`,()=>{let t=n(),r=e([]),i=e(0),u=e(!1),d=0,f=0;async function p(e={}){let n=++d,o=++f;u.value=!0;try{let s=await a(t.restApiContext,e);return n===d&&(r.value=s.data),o===f&&(i.value=s.count),s}finally{n===d&&(u.value=!1)}}async function m(e){let n=[];for(let r=0;r<e.length;r+=100){let i=e.slice(r,r+100),o=await a(t.restApiContext,{ids:i,take:i.length});n.push(o.data)}return n.flat()}let h=e(new Map),g=new Set,_,v=0,y=new Map,b=0;async function x(e){for(let t of e)g.add(t);_===void 0&&(b=v),await(_??=(async()=>{await Promise.resolve();let e=[...g],t=b;if(g=new Set,_=void 0,e.length!==0)try{let n=await m(e),r=new Map(h.value);for(let e of n)(y.get(e.id)??0)>t||r.set(e.id,e);h.value=r}catch{}})())}function S(e){y.set(e.id,++v);let t=new Map(h.value);t.set(e.id,e),h.value=t}function C(e){if(y.set(e,++v),!h.value.has(e))return;let t=new Map(h.value);t.delete(e),h.value=t}async function w(){let e=++f,n=await o(t.restApiContext);return e===f&&(i.value=n),n}async function T(e){let n=await s(t.restApiContext,e);return S(n),n}async function E(e,n){let r=await c(t.restApiContext,e,n);return S(r),r}async function D(e){await l(t.restApiContext,e),C(e)}async function O(e){let n=await Promise.allSettled(e.map(async e=>await l(t.restApiContext,e))),r={deleted:[],failed:[]};return n.forEach((t,n)=>{let i=e[n];t.status===`fulfilled`?(r.deleted.push(i),C(i)):r.failed.push({id:i,error:t.reason})}),r}return{preferences:r,count:i,loading:u,rowById:h,fetchPreferences:p,fetchPreferencesByIds:m,resolveRows:x,setRow:S,forgetRow:C,fetchPreferenceCount:w,createPreference:T,updatePreference:E,deletePreference:D,deletePreferences:O}});export{u as t};
1
+ 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]=`86fa8ec9-607f-460a-8e5d-dd10983d0712`,e._sentryDebugIdIdentifier=`sentry-dbid-86fa8ec9-607f-460a-8e5d-dd10983d0712`)})()}catch{}import{Tf as e,fo as t}from"./vendor-xeDGQDt1.js";import{Ny as n,nb as r}from"./app-CHQeJgnE.js";var i=`/ai-preferences`;async function a(e,{ids:t,...n}={}){return await r(e,`GET`,i,{...n,...t?{ids:t.join(`,`)}:{}})}async function o(e){return(await r(e,`GET`,`${i}/count`)).count}async function s(e,t){return await r(e,`POST`,i,t)}async function c(e,t,n){return await r(e,`PATCH`,`${i}/${t}`,n)}async function l(e,t){await r(e,`DELETE`,`${i}/${t}`)}var u=t(`context`,()=>{let t=n(),r=e([]),i=e(0),u=e(!1),d=0,f=0;async function p(e={}){let n=++d,o=++f;u.value=!0;try{let s=await a(t.restApiContext,e);return n===d&&(r.value=s.data),o===f&&(i.value=s.count),s}finally{n===d&&(u.value=!1)}}async function m(e){let n=[];for(let r=0;r<e.length;r+=100){let i=e.slice(r,r+100),o=await a(t.restApiContext,{ids:i,take:i.length});n.push(o.data)}return n.flat()}let h=e(new Map),g=new Set,_,v=0,y=new Map,b=0;async function x(e){for(let t of e)g.add(t);_===void 0&&(b=v),await(_??=(async()=>{await Promise.resolve();let e=[...g],t=b;if(g=new Set,_=void 0,e.length!==0)try{let n=await m(e),r=new Map(h.value);for(let e of n)(y.get(e.id)??0)>t||r.set(e.id,e);h.value=r}catch{}})())}function S(e){y.set(e.id,++v);let t=new Map(h.value);t.set(e.id,e),h.value=t}function C(e){if(y.set(e,++v),!h.value.has(e))return;let t=new Map(h.value);t.delete(e),h.value=t}async function w(){let e=++f,n=await o(t.restApiContext);return e===f&&(i.value=n),n}async function T(e){let n=await s(t.restApiContext,e);return S(n),n}async function E(e,n){let r=await c(t.restApiContext,e,n);return S(r),r}async function D(e){await l(t.restApiContext,e),C(e)}async function O(e){let n=await Promise.allSettled(e.map(async e=>await l(t.restApiContext,e))),r={deleted:[],failed:[]};return n.forEach((t,n)=>{let i=e[n];t.status===`fulfilled`?(r.deleted.push(i),C(i)):r.failed.push({id:i,error:t.reason})}),r}return{preferences:r,count:i,loading:u,rowById:h,fetchPreferences:p,fetchPreferencesByIds:m,resolveRows:x,setRow:S,forgetRow:C,fetchPreferenceCount:w,createPreference:T,updatePreference:E,deletePreference:D,deletePreferences:O}});export{u as t};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/module-ES6BEMUI-2pexFfxV.js","assets/chunk-V2S4ZYJR-DzW4qXmI.js","assets/dist-DjcbA_yz.js","assets/module-asyncify-2EFITU5U-CUDIj4yC.js","assets/chunk-TAV5CUKK-CZgPmNNE.js","assets/ffi-KjNzJlSN.js","assets/ffi-pKbo5bny.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]=`47df5b5d-dc73-408c-8fe1-accad3ebd550`,e._sentryDebugIdIdentifier=`sentry-dbid-47df5b5d-dc73-408c-8fe1-accad3ebd550`)})()}catch{}import{jE as e}from"./app-j_PQFvzO.js";import{a as t,i as n,n as r,o as i,r as a,t as o}from"./dist-DjcbA_yz.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-DzW4qXmI.js";import{n as E,r as D,t as O}from"./chunk-TAV5CUKK-CZgPmNNE.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-2pexFfxV.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-CUDIj4yC.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-BBOnTtOG.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-BsTrgyFv.js`).then(e=>e.default),[])},B={type:`sync`,importFFI:()=>e(()=>import(`./ffi-CFltL7D7.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-CnptNuwl.js`).then(e=>e.default),[])},V={type:`async`,importFFI:()=>e(()=>import(`./ffi-KjNzJlSN.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([5,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-DA36E0Gd.js`).then(e=>e.default),[])},H={type:`async`,importFFI:()=>e(()=>import(`./ffi-pKbo5bny.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([6,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-ClP9UqDf.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};
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]=`47df5b5d-dc73-408c-8fe1-accad3ebd550`,e._sentryDebugIdIdentifier=`sentry-dbid-47df5b5d-dc73-408c-8fe1-accad3ebd550`)})()}catch{}import{jE as e}from"./app-CHQeJgnE.js";import{a as t,i as n,n as r,o as i,r as a,t as o}from"./dist-DjcbA_yz.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-DzW4qXmI.js";import{n as E,r as D,t as O}from"./chunk-TAV5CUKK-CZgPmNNE.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-2pexFfxV.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-CUDIj4yC.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-BBOnTtOG.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-BsTrgyFv.js`).then(e=>e.default),[])},B={type:`sync`,importFFI:()=>e(()=>import(`./ffi-CFltL7D7.js`).then(e=>e.QuickJSFFI),[]),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-CnptNuwl.js`).then(e=>e.default),[])},V={type:`async`,importFFI:()=>e(()=>import(`./ffi-KjNzJlSN.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([5,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-DA36E0Gd.js`).then(e=>e.default),[])},H={type:`async`,importFFI:()=>e(()=>import(`./ffi-pKbo5bny.js`).then(e=>e.QuickJSAsyncFFI),__vite__mapDeps([6,2])),importModuleLoader:()=>e(()=>import(`./emscripten-module.browser-ClP9UqDf.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]=`ac8ed9aa-6fc3-4399-b750-750523a13344`,e._sentryDebugIdIdentifier=`sentry-dbid-ac8ed9aa-6fc3-4399-b750-750523a13344`)})()}catch{}import{ME as e}from"./app-j_PQFvzO.js";export{e as default};
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]=`ac8ed9aa-6fc3-4399-b750-750523a13344`,e._sentryDebugIdIdentifier=`sentry-dbid-ac8ed9aa-6fc3-4399-b750-750523a13344`)})()}catch{}import{ME as e}from"./app-CHQeJgnE.js";export{e as default};
@@ -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]=`86cea60e-f0c6-48b1-90a2-1694741bca15`,e._sentryDebugIdIdentifier=`sentry-dbid-86cea60e-f0c6-48b1-90a2-1694741bca15`)})()}catch{}import{_S as e,aS as t,cS as n,dS as r,fS as i,gS as a,hS as o,iS as s,lS as c,mS as l,oS as u,pS as d,rS as f,sS as p,uC as m,uS as h,vS as g,yS as _}from"./app-j_PQFvzO.js";export{_ as DEFAULT_BRIDGE_CONFIG,r as EXPRESSION_METRICS,t as EXTENSION_OBJECTS,d as ExpressionError,c as ExpressionEvaluator,n as ExpressionExtensionError,m as IsolateError,f as IsolatedVmBridge,l as MemoryLimitError,s as NoOpProvider,i as QuickJsBridge,g as RuntimeError,o as SecurityViolationError,a as SyntaxError,e as TimeoutError,h as classifyExpressionError,u as extend,p as extendOptional};
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]=`86cea60e-f0c6-48b1-90a2-1694741bca15`,e._sentryDebugIdIdentifier=`sentry-dbid-86cea60e-f0c6-48b1-90a2-1694741bca15`)})()}catch{}import{_S as e,aS as t,cS as n,dS as r,fS as i,gS as a,hS as o,iS as s,lS as c,mS as l,oS as u,pS as d,rS as f,sS as p,uC as m,uS as h,vS as g,yS as _}from"./app-CHQeJgnE.js";export{_ as DEFAULT_BRIDGE_CONFIG,r as EXPRESSION_METRICS,t as EXTENSION_OBJECTS,d as ExpressionError,c as ExpressionEvaluator,n as ExpressionExtensionError,m as IsolateError,f as IsolatedVmBridge,l as MemoryLimitError,s as NoOpProvider,i as QuickJsBridge,g as RuntimeError,o as SecurityViolationError,a as SyntaxError,e as TimeoutError,h as classifyExpressionError,u as extend,p as extendOptional};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`fa8b7b5c-5358-414c-8719-c7817a3267e1`,e._sentryDebugIdIdentifier=`sentry-dbid-fa8b7b5c-5358-414c-8719-c7817a3267e1`)})()}catch{}import"./app-j_PQFvzO.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();
1
+ 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-CHQeJgnE.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8d2cc792-a86c-4006-9fab-804f69f15140`,e._sentryDebugIdIdentifier=`sentry-dbid-8d2cc792-a86c-4006-9fab-804f69f15140`)})()}catch{}import{Ed as e,fo as t,uu as n,xu as r}from"./vendor-xeDGQDt1.js";import{My as i,Ny as a,jy as o,nb as s,vx as c}from"./app-j_PQFvzO.js";import{c as l}from"./insights.utils-BIPXgf_S.js";function u(e){if(!e)return;let{startDate:t,endDate:r,...i}=e,a={...i};return t&&(a.startDate=t.toISOString()),r&&(a.endDate=r.toISOString()),a.timeZone=n(),a}var d=async(e,t)=>await s(e,`GET`,`/insights/summary`,u(t)),f=async(e,t)=>await s(e,`GET`,`/insights/by-time`,u(t)),p=async(e,t)=>await s(e,`GET`,`/insights/by-time/time-saved`,u(t)),m=async(e,t)=>await s(e,`GET`,`/insights/by-workflow`,u(t)),h=t(`insights`,()=>{let t=a(),n=o(),s=i(),u=e(()=>c(n.currentUser?.globalScopes).insights),h=e(()=>s.isModuleActive(`insights`)),g=e(()=>!!s.moduleSettings.insights?.dashboard);return{globalInsightsPermissions:u,isInsightsEnabled:h,isSummaryEnabled:e(()=>u.value.list&&h.value),isDashboardEnabled:g,weeklySummary:r(async()=>l(await d(t.restApiContext)),[],{immediate:!1,resetOnExecute:!1}),summary:r(async e=>l(await d(t.restApiContext,e)),[],{immediate:!1,resetOnExecute:!1}),charts:r(async e=>await(g.value?f:p)(t.restApiContext,e),[],{immediate:!1,resetOnExecute:!1}),table:r(async e=>await m(t.restApiContext,e),{count:0,data:[]},{immediate:!1,resetOnExecute:!1}),dateRanges:e(()=>s.moduleSettings.insights?.dateRanges??[]),earliestDataDate:e(()=>s.moduleSettings.insights?.earliestDataDate??null)}});export{h as t};
1
+ 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]=`8d2cc792-a86c-4006-9fab-804f69f15140`,e._sentryDebugIdIdentifier=`sentry-dbid-8d2cc792-a86c-4006-9fab-804f69f15140`)})()}catch{}import{Ed as e,fo as t,uu as n,xu as r}from"./vendor-xeDGQDt1.js";import{My as i,Ny as a,jy as o,nb as s,vx as c}from"./app-CHQeJgnE.js";import{c as l}from"./insights.utils-BcfG-KT6.js";function u(e){if(!e)return;let{startDate:t,endDate:r,...i}=e,a={...i};return t&&(a.startDate=t.toISOString()),r&&(a.endDate=r.toISOString()),a.timeZone=n(),a}var d=async(e,t)=>await s(e,`GET`,`/insights/summary`,u(t)),f=async(e,t)=>await s(e,`GET`,`/insights/by-time`,u(t)),p=async(e,t)=>await s(e,`GET`,`/insights/by-time/time-saved`,u(t)),m=async(e,t)=>await s(e,`GET`,`/insights/by-workflow`,u(t)),h=t(`insights`,()=>{let t=a(),n=o(),s=i(),u=e(()=>c(n.currentUser?.globalScopes).insights),h=e(()=>s.isModuleActive(`insights`)),g=e(()=>!!s.moduleSettings.insights?.dashboard);return{globalInsightsPermissions:u,isInsightsEnabled:h,isSummaryEnabled:e(()=>u.value.list&&h.value),isDashboardEnabled:g,weeklySummary:r(async()=>l(await d(t.restApiContext)),[],{immediate:!1,resetOnExecute:!1}),summary:r(async e=>l(await d(t.restApiContext,e)),[],{immediate:!1,resetOnExecute:!1}),charts:r(async e=>await(g.value?f:p)(t.restApiContext,e),[],{immediate:!1,resetOnExecute:!1}),table:r(async e=>await m(t.restApiContext,e),{count:0,data:[]},{immediate:!1,resetOnExecute:!1}),dateRanges:e(()=>s.moduleSettings.insights?.dateRanges??[]),earliestDataDate:e(()=>s.moduleSettings.insights?.earliestDataDate??null)}});export{h as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3e961a19-082f-4005-96ee-db3d51a82b43`,e._sentryDebugIdIdentifier=`sentry-dbid-3e961a19-082f-4005-96ee-db3d51a82b43`)})()}catch{}import{t as e}from"./insights.store-CY8EOlQO.js";export{e as useInsightsStore};
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]=`3e961a19-082f-4005-96ee-db3d51a82b43`,e._sentryDebugIdIdentifier=`sentry-dbid-3e961a19-082f-4005-96ee-db3d51a82b43`)})()}catch{}import{t as e}from"./insights.store-B_e7_8cX.js";export{e as useInsightsStore};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1c9eca88-c22d-4965-9d57-61f15a01fd01`,e._sentryDebugIdIdentifier=`sentry-dbid-1c9eca88-c22d-4965-9d57-61f15a01fd01`)})()}catch{}import{o as e}from"./rolldown-runtime-BobR2NKB.js";import{cu as t,du as n,lu as r,qo as i,su as a,uu as o}from"./vendor-xeDGQDt1.js";import{FE as s}from"./app-j_PQFvzO.js";import{a as c,n as l,r as u}from"./insights.constants-DryyUq5v.js";var d=e(i(),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(o()),i=n?.toDate(o());return!n||t.compare(n)===0?(0,d.default)(r,f):t.year===n.year?`${(0,d.default)(r,p)} - ${(0,d.default)(i,f)}`:`${(0,d.default)(r,f)} - ${(0,d.default)(i,f)}`},T=e=>{let{start:t,end:n}=e;if(!t||!n||!r(n,o()))return null;let i=n.compare(t);for(let[e,t]of Object.entries(S))if(i===t)return e;return null},E=e=>{if(!e.start||!e.end)return{startDate:new Date,endDate:new Date};let r=o(),i=n(r),s=e.end?.compare(i)===0,c=e.end&&e.start?e.end.compare(e.start):0;if(s){let n=t(r);return c===1?{startDate:a(e.start,n).toDate(r),endDate:a(e.end,n).toDate(r)}:{startDate:e.start?.toDate(r)??new Date,endDate:a(e.end,n).toDate(r)}}else{let t=e.start?.toDate(r)??new Date,n=e.end?.toDate(r)??new Date;return n.setHours(23,59,59,999),{startDate:t,endDate:n}}};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
+ 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]=`1c9eca88-c22d-4965-9d57-61f15a01fd01`,e._sentryDebugIdIdentifier=`sentry-dbid-1c9eca88-c22d-4965-9d57-61f15a01fd01`)})()}catch{}import{o as e}from"./rolldown-runtime-BobR2NKB.js";import{cu as t,du as n,lu as r,qo as i,su as a,uu as o}from"./vendor-xeDGQDt1.js";import{FE as s}from"./app-CHQeJgnE.js";import{a as c,n as l,r as u}from"./insights.constants-DryyUq5v.js";var d=e(i(),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(o()),i=n?.toDate(o());return!n||t.compare(n)===0?(0,d.default)(r,f):t.year===n.year?`${(0,d.default)(r,p)} - ${(0,d.default)(i,f)}`:`${(0,d.default)(r,f)} - ${(0,d.default)(i,f)}`},T=e=>{let{start:t,end:n}=e;if(!t||!n||!r(n,o()))return null;let i=n.compare(t);for(let[e,t]of Object.entries(S))if(i===t)return e;return null},E=e=>{if(!e.start||!e.end)return{startDate:new Date,endDate:new Date};let r=o(),i=n(r),s=e.end?.compare(i)===0,c=e.end&&e.start?e.end.compare(e.start):0;if(s){let n=t(r);return c===1?{startDate:a(e.start,n).toDate(r),endDate:a(e.end,n).toDate(r)}:{startDate:e.start?.toDate(r)??new Date,endDate:a(e.end,n).toDate(r)}}else{let t=e.start?.toDate(r)??new Date,n=e.end?.toDate(r)??new Date;return n.setHours(23,59,59,999),{startDate:t,endDate:n}}};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]=`418cef64-f634-4bf9-bad5-663847e2c0f2`,e._sentryDebugIdIdentifier=`sentry-dbid-418cef64-f634-4bf9-bad5-663847e2c0f2`)})()}catch{}import{_o as e}from"./app-j_PQFvzO.js";export{e as useInstanceAiStore};
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]=`418cef64-f634-4bf9-bad5-663847e2c0f2`,e._sentryDebugIdIdentifier=`sentry-dbid-418cef64-f634-4bf9-bad5-663847e2c0f2`)})()}catch{}import{_o as e}from"./app-CHQeJgnE.js";export{e as useInstanceAiStore};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8a381604-daa4-463b-a7f4-a4ee3d189120`,e._sentryDebugIdIdentifier=`sentry-dbid-8a381604-daa4-463b-a7f4-a4ee3d189120`)})()}catch{}import{Rg as e,ky as t}from"./app-j_PQFvzO.js";function n(){let n=t();return{trackModalOpened(t,r){n.track(e.INSTANCE_AI.COMPUTER_USE_MODAL_OPENED,{is_connected:t,source:r})},trackCommandCopied(t){n.track(e.INSTANCE_AI.COMPUTER_USE_CONNECTION_COMMAND_COPIED,{os:t})}}}export{n 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]=`8a381604-daa4-463b-a7f4-a4ee3d189120`,e._sentryDebugIdIdentifier=`sentry-dbid-8a381604-daa4-463b-a7f4-a4ee3d189120`)})()}catch{}import{Rg as e,ky as t}from"./app-CHQeJgnE.js";function n(){let n=t();return{trackModalOpened(t,r){n.track(e.INSTANCE_AI.COMPUTER_USE_MODAL_OPENED,{is_connected:t,source:r})},trackCommandCopied(t){n.track(e.INSTANCE_AI.COMPUTER_USE_CONNECTION_COMMAND_COPIED,{os:t})}}}export{n as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`79436ed4-ad7d-4595-b106-dfda9d7eba75`,e._sentryDebugIdIdentifier=`sentry-dbid-79436ed4-ad7d-4595-b106-dfda9d7eba75`)})()}catch{}import{t as e}from"./instanceAiMcp.store-CiFcSJxW.js";export{e as useInstanceAiMcpStore};
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]=`79436ed4-ad7d-4595-b106-dfda9d7eba75`,e._sentryDebugIdIdentifier=`sentry-dbid-79436ed4-ad7d-4595-b106-dfda9d7eba75`)})()}catch{}import{t as e}from"./instanceAiMcp.store-CnNOySfz.js";export{e as useInstanceAiMcpStore};
@@ -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]=`7ca5e4b8-5989-4488-97d4-e812da08f98d`,e._sentryDebugIdIdentifier=`sentry-dbid-7ca5e4b8-5989-4488-97d4-e812da08f98d`)})()}catch{}import{Cf as e,Ed as t,Tf as n,fo as r}from"./vendor-xeDGQDt1.js";import{Jp as i,Ny as a,PE as o,Ty as s,Yp as c,nb as l}from"./app-j_PQFvzO.js";import{n as u}from"./mcpRegistry.api-CqMD8wVh.js";async function d(e){return await l(e,`GET`,`/instance-ai/mcp/connections`)}async function f(e,t){return await l(e,`GET`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}/tools`)}async function p(e){return await l(e,`GET`,`/instance-ai/mcp/connections/tools`)}async function m(e,t){return await l(e,`POST`,`/instance-ai/mcp/connections`,t)}async function h(e,t,n){return await l(e,`PATCH`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`,n)}async function g(e,t){await l(e,`DELETE`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`)}var _=r(`instanceAiMcp`,()=>{let r=a(),l=s(),_=c(),v=n([]),y=null,b=n(null),x=null,S=e(new Map),C=n(!1),w=n(!1),T=!1,E=new Map,D=0,O=t(()=>{let e=new Map;for(let t of v.value){let n=e.get(t.serverSlug)??[];n.push(t),e.set(t.serverSlug,n)}return e});async function k(){y??=j(),await y}async function A(){T||await k()}async function j(){C.value=!0;try{v.value=(await d(r.restApiContext)).map(e=>({...e,status:`connecting`})),T=!0,z()}catch(e){l.showError(e,o.baseText(`instanceAi.mcp.error.fetchConnections`))}finally{y=null,C.value=!1}}async function M(){x??=N(),await x}async function N(){w.value=!0;try{b.value=(await u(r.restApiContext)).filter(e=>!e.isTemplated)}catch(e){x=null,l.showError(e,o.baseText(`instanceAi.mcp.error.fetchCatalog`))}finally{w.value=!1}}function P(e){S.delete(e),E.delete(e)}function F(e,t,n){v.value=v.value.map(r=>{if(r.id!==e)return r;let i={...r,status:t};return delete i.failureReason,t===`disconnected`&&(i.failureReason=n??`unknown`),i})}function I(e){F(e.id,e.status,e.status===`disconnected`?e.failureReason:void 0),e.status===`connected`?S.set(e.id,e.tools):S.delete(e.id)}function L(e){switch(e){case`server_unavailable`:return o.baseText(`instanceAi.mcp.error.connection.serverUnavailable`);case`authentication`:return o.baseText(`instanceAi.mcp.error.connection.authentication`);default:return o.baseText(`instanceAi.mcp.error.connection.unknown`)}}function R(e){l.showMessage({type:`error`,title:o.baseText(`instanceAi.mcp.error.connection.title`),message:L(e)})}async function z(){let e=++D;if(v.value.length!==0)try{let t=await p(r.restApiContext);if(e!==D)return;t.forEach(e=>{v.value.find(t=>t.id===e.id)?.status===`connecting`&&!E.has(e.id)&&I(e)})}catch(t){if(e!==D)return;v.value=v.value.map(e=>({...e,status:e.status===`connecting`?`disconnected`:e.status,...e.status===`connecting`?{failureReason:`unknown`}:{}})),l.showError(t,o.baseText(`instanceAi.mcp.error.checkConnections`))}}async function B(e){F(e,`connecting`);let t=f(r.restApiContext,e),n=()=>E.get(e)===t;E.set(e,t);try{let e=await t;n()&&(I(e),e.status===`disconnected`&&R(e.failureReason))}catch{n()&&(F(e,`disconnected`,`unknown`),S.delete(e),R(`unknown`))}finally{n()&&E.delete(e)}}async function V(e){let t=v.value.find(t=>t.id===e);!t||t.status===`connecting`||t.status===`connected`&&S.has(e)||await B(e)}function H(e){v.value.some(t=>t.id===e)&&B(e)}async function U(e){try{let t={...await m(r.restApiContext,e),status:`connecting`};return v.value=[...v.value,t],B(t.id),t}catch(e){return l.showError(e,o.baseText(`instanceAi.mcp.error.connect`)),null}}async function W(e,t){try{let n=await h(r.restApiContext,e,t),i=v.value.find(t=>t.id===e),a={...n,status:t.credentialId?`connecting`:i?.status??`connecting`};return v.value=v.value.map(t=>t.id===e?a:t),t.credentialId&&(P(e),B(e)),a}catch(e){return l.showError(e,o.baseText(`instanceAi.mcp.error.updateSettings`)),null}}async function G(e){try{return await g(r.restApiContext,e),v.value=v.value.filter(t=>t.id!==e),P(e),!0}catch(e){return l.showError(e,o.baseText(`instanceAi.mcp.error.disconnect`)),!1}}i({store:_,onCredentialDeleted:e=>{let t=v.value.filter(t=>t.credentialId===e);if(t.length!==0){v.value=v.value.filter(t=>t.credentialId!==e);for(let e of t)P(e.id)}}});function K(){v.value=[],y=null,b.value=null,x=null,S.clear(),E.clear(),T=!1,D++}return{connections:v,catalog:b,connectionToolsById:S,isLoadingConnections:C,isLoadingCatalog:w,connectionsByServerSlug:O,fetchConnections:k,fetchConnectionsLazy:A,fetchCatalogLazy:M,fetchConnectionTools:B,fetchConnectionToolsLazy:V,handleToolCallFailed:H,connect:U,updateConnection:W,disconnect:G,reset:K}});export{_ as t};
1
+ 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]=`7ca5e4b8-5989-4488-97d4-e812da08f98d`,e._sentryDebugIdIdentifier=`sentry-dbid-7ca5e4b8-5989-4488-97d4-e812da08f98d`)})()}catch{}import{Cf as e,Ed as t,Tf as n,fo as r}from"./vendor-xeDGQDt1.js";import{Jp as i,Ny as a,PE as o,Ty as s,Yp as c,nb as l}from"./app-CHQeJgnE.js";import{n as u}from"./mcpRegistry.api-B7qEWofU.js";async function d(e){return await l(e,`GET`,`/instance-ai/mcp/connections`)}async function f(e,t){return await l(e,`GET`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}/tools`)}async function p(e){return await l(e,`GET`,`/instance-ai/mcp/connections/tools`)}async function m(e,t){return await l(e,`POST`,`/instance-ai/mcp/connections`,t)}async function h(e,t,n){return await l(e,`PATCH`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`,n)}async function g(e,t){await l(e,`DELETE`,`/instance-ai/mcp/connections/${encodeURIComponent(t)}`)}var _=r(`instanceAiMcp`,()=>{let r=a(),l=s(),_=c(),v=n([]),y=null,b=n(null),x=null,S=e(new Map),C=n(!1),w=n(!1),T=!1,E=new Map,D=0,O=t(()=>{let e=new Map;for(let t of v.value){let n=e.get(t.serverSlug)??[];n.push(t),e.set(t.serverSlug,n)}return e});async function k(){y??=j(),await y}async function A(){T||await k()}async function j(){C.value=!0;try{v.value=(await d(r.restApiContext)).map(e=>({...e,status:`connecting`})),T=!0,z()}catch(e){l.showError(e,o.baseText(`instanceAi.mcp.error.fetchConnections`))}finally{y=null,C.value=!1}}async function M(){x??=N(),await x}async function N(){w.value=!0;try{b.value=(await u(r.restApiContext)).filter(e=>!e.isTemplated)}catch(e){x=null,l.showError(e,o.baseText(`instanceAi.mcp.error.fetchCatalog`))}finally{w.value=!1}}function P(e){S.delete(e),E.delete(e)}function F(e,t,n){v.value=v.value.map(r=>{if(r.id!==e)return r;let i={...r,status:t};return delete i.failureReason,t===`disconnected`&&(i.failureReason=n??`unknown`),i})}function I(e){F(e.id,e.status,e.status===`disconnected`?e.failureReason:void 0),e.status===`connected`?S.set(e.id,e.tools):S.delete(e.id)}function L(e){switch(e){case`server_unavailable`:return o.baseText(`instanceAi.mcp.error.connection.serverUnavailable`);case`authentication`:return o.baseText(`instanceAi.mcp.error.connection.authentication`);default:return o.baseText(`instanceAi.mcp.error.connection.unknown`)}}function R(e){l.showMessage({type:`error`,title:o.baseText(`instanceAi.mcp.error.connection.title`),message:L(e)})}async function z(){let e=++D;if(v.value.length!==0)try{let t=await p(r.restApiContext);if(e!==D)return;t.forEach(e=>{v.value.find(t=>t.id===e.id)?.status===`connecting`&&!E.has(e.id)&&I(e)})}catch(t){if(e!==D)return;v.value=v.value.map(e=>({...e,status:e.status===`connecting`?`disconnected`:e.status,...e.status===`connecting`?{failureReason:`unknown`}:{}})),l.showError(t,o.baseText(`instanceAi.mcp.error.checkConnections`))}}async function B(e){F(e,`connecting`);let t=f(r.restApiContext,e),n=()=>E.get(e)===t;E.set(e,t);try{let e=await t;n()&&(I(e),e.status===`disconnected`&&R(e.failureReason))}catch{n()&&(F(e,`disconnected`,`unknown`),S.delete(e),R(`unknown`))}finally{n()&&E.delete(e)}}async function V(e){let t=v.value.find(t=>t.id===e);!t||t.status===`connecting`||t.status===`connected`&&S.has(e)||await B(e)}function H(e){v.value.some(t=>t.id===e)&&B(e)}async function U(e){try{let t={...await m(r.restApiContext,e),status:`connecting`};return v.value=[...v.value,t],B(t.id),t}catch(e){return l.showError(e,o.baseText(`instanceAi.mcp.error.connect`)),null}}async function W(e,t){try{let n=await h(r.restApiContext,e,t),i=v.value.find(t=>t.id===e),a={...n,status:t.credentialId?`connecting`:i?.status??`connecting`};return v.value=v.value.map(t=>t.id===e?a:t),t.credentialId&&(P(e),B(e)),a}catch(e){return l.showError(e,o.baseText(`instanceAi.mcp.error.updateSettings`)),null}}async function G(e){try{return await g(r.restApiContext,e),v.value=v.value.filter(t=>t.id!==e),P(e),!0}catch(e){return l.showError(e,o.baseText(`instanceAi.mcp.error.disconnect`)),!1}}i({store:_,onCredentialDeleted:e=>{let t=v.value.filter(t=>t.credentialId===e);if(t.length!==0){v.value=v.value.filter(t=>t.credentialId!==e);for(let e of t)P(e.id)}}});function K(){v.value=[],y=null,b.value=null,x=null,S.clear(),E.clear(),T=!1,D++}return{connections:v,catalog:b,connectionToolsById:S,isLoadingConnections:C,isLoadingCatalog:w,connectionsByServerSlug:O,fetchConnections:k,fetchConnectionsLazy:A,fetchCatalogLazy:M,fetchConnectionTools:B,fetchConnectionToolsLazy:V,handleToolCallFailed:H,connect:U,updateConnection:W,disconnect:G,reset:K}});export{_ as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`11a9776d-0b78-4a8b-9dec-1a8b19ad8c62`,e._sentryDebugIdIdentifier=`sentry-dbid-11a9776d-0b78-4a8b-9dec-1a8b19ad8c62`)})()}catch{}import{Tf as e,df as t}from"./vendor-xeDGQDt1.js";import{$o as n,Ix as r,Rg as i,ky as a}from"./app-j_PQFvzO.js";import{i as o,r as s}from"./useInstanceAiConfiguration-CCcU4BYj.js";function c(e,t,n){let i=r(e),a=t.find(t=>t.id===e.modelCredentialId)?.type,c=i.modelSource===`ui`?s.find(e=>e.credentialType===a)?.id??null:null,l=n.find(t=>t.id===e.searchCredentialId)?.type,u=i.webSearchSource===`ui`?o.find(e=>e.credentialType===l)?.id??null:i.webSearchSource===`env`?e.envManaged?.search.apiKey?`brave`:e.envManaged?.search.url?`searxng`:null:null;return{model_source:i.modelSource,model_provider:c,model_name:i.modelSource===`none`?null:e.modelName,sandbox_source:i.sandboxSource,sandbox_type:i.sandboxType,web_search_source:i.webSearchSource,web_search_provider:u}}function l(r){let o=a(),s=n(),l=e(!1);t(()=>s.isLoading?null:s.settings,e=>{!e||l.value||s.isCloudManaged||s.isProxyEnabled||(l.value=!0,o.track(i.INSTANCE_AI.USER_VIEWED_AI_ASSISTANT_SETUP_PAGE,{page:r,...c(e,s.instanceModelCredentials,s.serviceCredentials)}))},{immediate:!0})}export{l 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]=`11a9776d-0b78-4a8b-9dec-1a8b19ad8c62`,e._sentryDebugIdIdentifier=`sentry-dbid-11a9776d-0b78-4a8b-9dec-1a8b19ad8c62`)})()}catch{}import{Tf as e,df as t}from"./vendor-xeDGQDt1.js";import{$o as n,Ix as r,Rg as i,ky as a}from"./app-CHQeJgnE.js";import{i as o,r as s}from"./useInstanceAiConfiguration-Bbfkr2HH.js";function c(e,t,n){let i=r(e),a=t.find(t=>t.id===e.modelCredentialId)?.type,c=i.modelSource===`ui`?s.find(e=>e.credentialType===a)?.id??null:null,l=n.find(t=>t.id===e.searchCredentialId)?.type,u=i.webSearchSource===`ui`?o.find(e=>e.credentialType===l)?.id??null:i.webSearchSource===`env`?e.envManaged?.search.apiKey?`brave`:e.envManaged?.search.url?`searxng`:null:null;return{model_source:i.modelSource,model_provider:c,model_name:i.modelSource===`none`?null:e.modelName,sandbox_source:i.sandboxSource,sandbox_type:i.sandboxType,web_search_source:i.webSearchSource,web_search_provider:u}}function l(r){let o=a(),s=n(),l=e(!1);t(()=>s.isLoading?null:s.settings,e=>{!e||l.value||s.isCloudManaged||s.isProxyEnabled||(l.value=!0,o.track(i.INSTANCE_AI.USER_VIEWED_AI_ASSISTANT_SETUP_PAGE,{page:r,...c(e,s.instanceModelCredentials,s.serviceCredentials)}))},{immediate:!0})}export{l as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`743c96f4-afd2-42ec-aa2d-28741516a61d`,e._sentryDebugIdIdentifier=`sentry-dbid-743c96f4-afd2-42ec-aa2d-28741516a61d`)})()}catch{}import{Sx as e,Tx as t,wx as n,yx as r}from"./app-j_PQFvzO.js";var i=[`settings`,`user`,`role`,`apiKey`,`tag`,`variable`,`credential`,`project`,`insights`],a={settings:`instanceRoles.resource.settings`,user:`instanceRoles.resource.user`,role:`instanceRoles.resource.role`,apiKey:`instanceRoles.resource.apiKey`,tag:`instanceRoles.resource.tag`,variable:`instanceRoles.resource.variable`,credential:`instanceRoles.resource.credential`,project:`instanceRoles.resource.project`,insights:`instanceRoles.resource.insights`},o={View:`instanceRoles.option.view`,Use:`instanceRoles.option.use`,Create:`instanceRoles.option.create`,Manage:`instanceRoles.option.manage`,"Manage own":`instanceRoles.option.manageOwn`,"Manage all":`instanceRoles.option.manageAll`,"Manage project roles":`instanceRoles.option.manageProjectRoles`,"Mcp use":`instanceRoles.option.mcpUse`,"Mcp manage":`instanceRoles.option.mcpManage`,"AiAssistant use":`instanceRoles.option.aiAssistantUse`,"AiAssistant manage":`instanceRoles.option.aiAssistantManage`},s={role:{Manage:`instanceRoles.option.manageAllRoles`},settings:{Manage:`instanceRoles.option.manageAllSettings`}},c={settings:{Manage:`instanceRoles.description.settings.manage`,"Mcp use":`instanceRoles.description.settings.mcpUse`,"Mcp manage":`instanceRoles.description.settings.mcpManage`,"AiAssistant use":`instanceRoles.description.settings.aiAssistantUse`,"AiAssistant manage":`instanceRoles.description.settings.aiAssistantManage`},user:{View:`instanceRoles.description.user.view`,Manage:`instanceRoles.description.user.manage`},role:{"Manage project roles":`instanceRoles.description.role.manageProjectRoles`,Manage:`instanceRoles.description.role.manage`},apiKey:{"Manage own":`instanceRoles.description.apiKey.manageOwn`,"Manage all":`instanceRoles.description.apiKey.manageAll`},tag:{View:`instanceRoles.description.tag.view`,Manage:`instanceRoles.description.tag.manage`},variable:{View:`instanceRoles.description.variable.view`,Manage:`instanceRoles.description.variable.manage`},credential:{View:`instanceRoles.description.credential.view`,Use:`instanceRoles.description.credential.use`,Manage:`instanceRoles.description.credential.manage`},project:{Create:`instanceRoles.description.project.create`},insights:{View:`instanceRoles.description.insights.view`}},l=[`View`,`Use`,`Create`,`Manage project roles`,`Mcp use`,`Mcp manage`,`AiAssistant use`,`AiAssistant manage`,`Manage`,`Manage own`,`Manage all`],u=e=>(t,n)=>{let r=e.indexOf(t),i=e.indexOf(n);return(r===-1?1/0:r)-(i===-1?1/0:i)},d=i.map(t=>{let n=e[t],r=Object.keys(n).sort(u(l)).map(e=>({key:e,labelKey:s[t]?.[e]??o[e],descriptionKey:c[t]?.[e],scopes:[...n[e]]}));return{resource:t,labelKey:a[t],options:r}}),f=[...new Set([...d.flatMap(e=>e.options.flatMap(e=>e.scopes)),...r])],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){return t(d.flatMap(t=>t.options.filter(t=>x(e,t.scopes)===`checked`).flatMap(e=>e.scopes)))}var O=new Set(e.user.View),k={user:[{scopes:e.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
+ 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]=`743c96f4-afd2-42ec-aa2d-28741516a61d`,e._sentryDebugIdIdentifier=`sentry-dbid-743c96f4-afd2-42ec-aa2d-28741516a61d`)})()}catch{}import{Sx as e,Tx as t,wx as n,yx as r}from"./app-CHQeJgnE.js";var i=[`settings`,`user`,`role`,`apiKey`,`tag`,`variable`,`credential`,`project`,`insights`],a={settings:`instanceRoles.resource.settings`,user:`instanceRoles.resource.user`,role:`instanceRoles.resource.role`,apiKey:`instanceRoles.resource.apiKey`,tag:`instanceRoles.resource.tag`,variable:`instanceRoles.resource.variable`,credential:`instanceRoles.resource.credential`,project:`instanceRoles.resource.project`,insights:`instanceRoles.resource.insights`},o={View:`instanceRoles.option.view`,Use:`instanceRoles.option.use`,Create:`instanceRoles.option.create`,Manage:`instanceRoles.option.manage`,"Manage own":`instanceRoles.option.manageOwn`,"Manage all":`instanceRoles.option.manageAll`,"Manage project roles":`instanceRoles.option.manageProjectRoles`,"Mcp use":`instanceRoles.option.mcpUse`,"Mcp manage":`instanceRoles.option.mcpManage`,"AiAssistant use":`instanceRoles.option.aiAssistantUse`,"AiAssistant manage":`instanceRoles.option.aiAssistantManage`},s={role:{Manage:`instanceRoles.option.manageAllRoles`},settings:{Manage:`instanceRoles.option.manageAllSettings`}},c={settings:{Manage:`instanceRoles.description.settings.manage`,"Mcp use":`instanceRoles.description.settings.mcpUse`,"Mcp manage":`instanceRoles.description.settings.mcpManage`,"AiAssistant use":`instanceRoles.description.settings.aiAssistantUse`,"AiAssistant manage":`instanceRoles.description.settings.aiAssistantManage`},user:{View:`instanceRoles.description.user.view`,Manage:`instanceRoles.description.user.manage`},role:{"Manage project roles":`instanceRoles.description.role.manageProjectRoles`,Manage:`instanceRoles.description.role.manage`},apiKey:{"Manage own":`instanceRoles.description.apiKey.manageOwn`,"Manage all":`instanceRoles.description.apiKey.manageAll`},tag:{View:`instanceRoles.description.tag.view`,Manage:`instanceRoles.description.tag.manage`},variable:{View:`instanceRoles.description.variable.view`,Manage:`instanceRoles.description.variable.manage`},credential:{View:`instanceRoles.description.credential.view`,Use:`instanceRoles.description.credential.use`,Manage:`instanceRoles.description.credential.manage`},project:{Create:`instanceRoles.description.project.create`},insights:{View:`instanceRoles.description.insights.view`}},l=[`View`,`Use`,`Create`,`Manage project roles`,`Mcp use`,`Mcp manage`,`AiAssistant use`,`AiAssistant manage`,`Manage`,`Manage own`,`Manage all`],u=e=>(t,n)=>{let r=e.indexOf(t),i=e.indexOf(n);return(r===-1?1/0:r)-(i===-1?1/0:i)},d=i.map(t=>{let n=e[t],r=Object.keys(n).sort(u(l)).map(e=>({key:e,labelKey:s[t]?.[e]??o[e],descriptionKey:c[t]?.[e],scopes:[...n[e]]}));return{resource:t,labelKey:a[t],options:r}}),f=[...new Set([...d.flatMap(e=>e.options.flatMap(e=>e.scopes)),...r])],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){return t(d.flatMap(t=>t.options.filter(t=>x(e,t.scopes)===`checked`).flatMap(e=>e.scopes)))}var O=new Set(e.user.View),k={user:[{scopes:e.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]=`67cf07a7-3ddc-48b4-99d2-43faba109184`,e._sentryDebugIdIdentifier=`sentry-dbid-67cf07a7-3ddc-48b4-99d2-43faba109184`)})()}catch{}import{Tf as e,fo as t}from"./vendor-xeDGQDt1.js";import{$y as n,Ny as r,Qy as i,Xy as a,Yy as o,Zy as s,eb as c}from"./app-j_PQFvzO.js";var l=e=>{let t=e.match(/^[\w\s]+\.[\w\s]+/);if(t&&t?.length>0)return t[0]},u=(e,t=``)=>(e=e.replace(t+`.`,``),e.length>0&&(e=e[0].toUpperCase()+e.substring(1),e=e.replaceAll(`.`,` `)),e),d=(e,t=new Set)=>{let n=[],r=Array.from(e.values()),i=new Set;i.add(`n8n.workflow`),i.add(`n8n.node`);for(let e of r){let t=e.match(/^[\w\s]+\.[\w\s]+/);t&&t?.length>0&&i.add(t[0])}for(let e of i){let i={children:[],label:e,name:e,selected:t.has(e),indeterminate:!1},a=r.filter(t=>t===e||t.startsWith(`${e}.`));for(let n of a){!i.selected&&t.has(n)&&(i.indeterminate=!0);let r={label:u(n,e),name:n,selected:t.has(n),indeterminate:!1};i.children.push(r)}n.push(i)}return n},f=t(`logStreaming`,()=>{let t=e({}),u=e(new Set),f=r(),p=e=>{if(e.id){if(t.value[e.id]||(t.value[e.id]={destination:e,selectedEvents:new Set,eventGroups:[],isNew:!1}),t.value[e.id]?.selectedEvents?.clear(),e.subscribedEvents)for(let n of e.subscribedEvents)t.value[e.id]?.selectedEvents?.add(n);t.value[e.id].eventGroups=d(u.value,t.value[e.id]?.selectedEvents)}},m=e=>{e.id&&t.value[e.id]?t.value[e.id].destination=e:p(e)},h=e=>{if(t.value[e])return t.value[e].destination},g=()=>Object.values(t.value).map(e=>e.destination),_=()=>{t.value={}},v=e=>{u.value.add(e)},y=e=>{u.value.delete(e)},b=()=>{u.value.clear()},x=(e,n,r)=>{if(!t.value[e])return;let i=l(n),a=t.value[e].eventGroups.find(e=>e.name===i);if(!a)return;let o=a.children;if(i===n){a.selected=r,a.indeterminate=!1,o.forEach(e=>e.selected=!1);return}let s=o.find(e=>e.name===n);if(!s)return;s.selected=r,!r&&a.selected&&(a.selected=!1,a.children.filter(e=>e!==s).forEach(e=>e.selected=!0));let c=o.filter(e=>e.selected);r&&c.length===o.length&&(a.selected=!0,a.children.forEach(e=>e.selected=!1)),a.indeterminate=c.length>0&&c.length<o.length},S=(e,n)=>{t.value[e]?.selectedEvents?.add(n),x(e,n,!0)},C=(e,n)=>{t.value[e]?.selectedEvents?.delete(n),x(e,n,!1)},w=e=>{delete t.value[e]},T=e=>{e.id&&t.value[e.id]&&(t.value[e.id].destination=e)},E=e=>{e&&delete t.value[e]},D=e=>{let n=[];if(t.value[e])for(let r of t.value[e].eventGroups){r.selected&&n.push(r.name);for(let e of r.children)e.selected&&n.push(e.name)}return n};return{addDestination:m,setSelectionAndBuildItems:p,getDestination:h,getAllDestinations:g,clearDestinations:_,addEventName:v,removeEventName:y,clearEventNames:b,addSelectedEvent:S,removeSelectedEvent:C,setSelectedInGroup:x,removeDestinationItemTree:w,updateDestination:T,removeDestination:E,getSelectedEvents:D,saveDestination:async e=>{if(!i(e))return!1;let t=D(e.id);return await n(f.restApiContext,e,t),T(e),!0},sendTestMessage:async e=>i(e)?await c(f.restApiContext,e):!1,fetchEventNames:async()=>await s(f.restApiContext),fetchDestinations:async()=>await a(f.restApiContext),deleteDestination:async e=>{await o(f.restApiContext,e),E(e)},items:t}});export{f 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]=`67cf07a7-3ddc-48b4-99d2-43faba109184`,e._sentryDebugIdIdentifier=`sentry-dbid-67cf07a7-3ddc-48b4-99d2-43faba109184`)})()}catch{}import{Tf as e,fo as t}from"./vendor-xeDGQDt1.js";import{$y as n,Ny as r,Qy as i,Xy as a,Yy as o,Zy as s,eb as c}from"./app-CHQeJgnE.js";var l=e=>{let t=e.match(/^[\w\s]+\.[\w\s]+/);if(t&&t?.length>0)return t[0]},u=(e,t=``)=>(e=e.replace(t+`.`,``),e.length>0&&(e=e[0].toUpperCase()+e.substring(1),e=e.replaceAll(`.`,` `)),e),d=(e,t=new Set)=>{let n=[],r=Array.from(e.values()),i=new Set;i.add(`n8n.workflow`),i.add(`n8n.node`);for(let e of r){let t=e.match(/^[\w\s]+\.[\w\s]+/);t&&t?.length>0&&i.add(t[0])}for(let e of i){let i={children:[],label:e,name:e,selected:t.has(e),indeterminate:!1},a=r.filter(t=>t===e||t.startsWith(`${e}.`));for(let n of a){!i.selected&&t.has(n)&&(i.indeterminate=!0);let r={label:u(n,e),name:n,selected:t.has(n),indeterminate:!1};i.children.push(r)}n.push(i)}return n},f=t(`logStreaming`,()=>{let t=e({}),u=e(new Set),f=r(),p=e=>{if(e.id){if(t.value[e.id]||(t.value[e.id]={destination:e,selectedEvents:new Set,eventGroups:[],isNew:!1}),t.value[e.id]?.selectedEvents?.clear(),e.subscribedEvents)for(let n of e.subscribedEvents)t.value[e.id]?.selectedEvents?.add(n);t.value[e.id].eventGroups=d(u.value,t.value[e.id]?.selectedEvents)}},m=e=>{e.id&&t.value[e.id]?t.value[e.id].destination=e:p(e)},h=e=>{if(t.value[e])return t.value[e].destination},g=()=>Object.values(t.value).map(e=>e.destination),_=()=>{t.value={}},v=e=>{u.value.add(e)},y=e=>{u.value.delete(e)},b=()=>{u.value.clear()},x=(e,n,r)=>{if(!t.value[e])return;let i=l(n),a=t.value[e].eventGroups.find(e=>e.name===i);if(!a)return;let o=a.children;if(i===n){a.selected=r,a.indeterminate=!1,o.forEach(e=>e.selected=!1);return}let s=o.find(e=>e.name===n);if(!s)return;s.selected=r,!r&&a.selected&&(a.selected=!1,a.children.filter(e=>e!==s).forEach(e=>e.selected=!0));let c=o.filter(e=>e.selected);r&&c.length===o.length&&(a.selected=!0,a.children.forEach(e=>e.selected=!1)),a.indeterminate=c.length>0&&c.length<o.length},S=(e,n)=>{t.value[e]?.selectedEvents?.add(n),x(e,n,!0)},C=(e,n)=>{t.value[e]?.selectedEvents?.delete(n),x(e,n,!1)},w=e=>{delete t.value[e]},T=e=>{e.id&&t.value[e.id]&&(t.value[e.id].destination=e)},E=e=>{e&&delete t.value[e]},D=e=>{let n=[];if(t.value[e])for(let r of t.value[e].eventGroups){r.selected&&n.push(r.name);for(let e of r.children)e.selected&&n.push(e.name)}return n};return{addDestination:m,setSelectionAndBuildItems:p,getDestination:h,getAllDestinations:g,clearDestinations:_,addEventName:v,removeEventName:y,clearEventNames:b,addSelectedEvent:S,removeSelectedEvent:C,setSelectedInGroup:x,removeDestinationItemTree:w,updateDestination:T,removeDestination:E,getSelectedEvents:D,saveDestination:async e=>{if(!i(e))return!1;let t=D(e.id);return await n(f.restApiContext,e,t),T(e),!0},sendTestMessage:async e=>i(e)?await c(f.restApiContext,e):!1,fetchEventNames:async()=>await s(f.restApiContext),fetchDestinations:async()=>await a(f.restApiContext),deleteDestination:async e=>{await o(f.restApiContext,e),E(e)},items:t}});export{f as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5a6cb783-4dcc-48b3-adde-698c3c8673df`,e._sentryDebugIdIdentifier=`sentry-dbid-5a6cb783-4dcc-48b3-adde-698c3c8673df`)})()}catch{}import{nb as e}from"./app-j_PQFvzO.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
+ 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]=`5a6cb783-4dcc-48b3-adde-698c3c8673df`,e._sentryDebugIdIdentifier=`sentry-dbid-5a6cb783-4dcc-48b3-adde-698c3c8673df`)})()}catch{}import{nb as e}from"./app-CHQeJgnE.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]=`104a2b37-73c7-4721-88e7-c6b53cf29fa7`,e._sentryDebugIdIdentifier=`sentry-dbid-104a2b37-73c7-4721-88e7-c6b53cf29fa7`)})()}catch{}import{Ed as e,Tf as t,fo as n}from"./vendor-xeDGQDt1.js";import{Bc as r,Cc as i,Ny as a,PE as o,Ty as s,Um as c,XC as l,Xc as u,xs as d}from"./app-j_PQFvzO.js";var f=n(l.AGENT_N8N_CHAT_THREADS,()=>{let n=a(),c=s(),l=t([]),d=t([]),f=t(new Set),p=e(()=>new Map([...d.value,...l.value].filter(e=>!f.value.has(e.id)).map(e=>[e.id,e]))),m=e(()=>[...p.value.values()].sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt))),h=0;async function g(e){let t=++h;try{let r=await u(n.restApiContext,{limit:e});if(t!==h)return;l.value=r.data}catch(e){if(t!==h)return;console.error(`Failed to load n8n Chat threads`,e)}}async function _(e){if(!p.value.has(e))try{let t=await r(n.restApiContext,e);if(p.value.has(t.id))return;d.value.push(t)}catch(e){console.error(`Failed to load n8n Chat thread`,e)}}async function v(e){try{await i(n.restApiContext,e.agent.projectId,e.agent.id,e.id)}catch(e){return c.showError(e,o.baseText(`agentSessions.showError.delete`)),!1}return l.value=l.value.filter(t=>t.id!==e.id),d.value=d.value.filter(t=>t.id!==e.id),f.value.add(e.id),!0}return{recentThreads:l,openedThreads:d,threadsById:p,knownThreads:m,deletedThreadIds:f,fetchRecent:g,loadThread:_,deleteThread:v}});function p(e){return e.kind===`assistant`?{name:d,params:{threadId:e.thread.id}}:{name:c,params:{agentId:e.thread.agent.id,agentThreadId:e.thread.id}}}function m(e,t){return e.kind===`assistant`?e.thread.title:e.thread.title??t.baseText(`commandBar.instanceAi.newThread`)}function h(e){return[{id:`delete`,label:e.baseText(`instanceAi.sidebar.deleteThread`),icon:`trash-2`}]}function g(e,t,n){let r=e.map(e=>({kind:`assistant`,thread:e})),i=t.map(e=>({kind:`agent`,thread:e})),a=[],o=0,s=0;for(;a.length<n.limit&&(o<r.length||s<i.length);){let e=s>=i.length||o<r.length&&r[o].thread.updatedAt>=i[s].thread.updatedAt;a.push(e?r[o++]:i[s++])}let c=n.openThreadId;if(!c||a.some(e=>e.thread.id===c))return a;let l=[...r,...i].find(e=>e.thread.id===c);return l?[...a.slice(0,Math.max(n.limit-1,0)),l]:a}function _(e){let t=e.filter(e=>e.hasMore),n=t.length?Math.max(...t.map(e=>{let t=e.items.at(-1);return t?Date.parse(t.thread.updatedAt):1/0})):-1/0;return e.flatMap(e=>e.items).filter(e=>Date.parse(e.thread.updatedAt)>=n).sort((e,t)=>Date.parse(t.thread.updatedAt)-Date.parse(e.thread.updatedAt))}export{g as a,_ as i,p as n,f as o,m as r,h as t};
1
+ 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]=`104a2b37-73c7-4721-88e7-c6b53cf29fa7`,e._sentryDebugIdIdentifier=`sentry-dbid-104a2b37-73c7-4721-88e7-c6b53cf29fa7`)})()}catch{}import{Ed as e,Tf as t,fo as n}from"./vendor-xeDGQDt1.js";import{Bc as r,Cc as i,Ny as a,PE as o,Ty as s,Um as c,XC as l,Xc as u,xs as d}from"./app-CHQeJgnE.js";var f=n(l.AGENT_N8N_CHAT_THREADS,()=>{let n=a(),c=s(),l=t([]),d=t([]),f=t(new Set),p=e(()=>new Map([...d.value,...l.value].filter(e=>!f.value.has(e.id)).map(e=>[e.id,e]))),m=e(()=>[...p.value.values()].sort((e,t)=>t.updatedAt.localeCompare(e.updatedAt))),h=0;async function g(e){let t=++h;try{let r=await u(n.restApiContext,{limit:e});if(t!==h)return;l.value=r.data}catch(e){if(t!==h)return;console.error(`Failed to load n8n Chat threads`,e)}}async function _(e){if(!p.value.has(e))try{let t=await r(n.restApiContext,e);if(p.value.has(t.id))return;d.value.push(t)}catch(e){console.error(`Failed to load n8n Chat thread`,e)}}async function v(e){try{await i(n.restApiContext,e.agent.projectId,e.agent.id,e.id)}catch(e){return c.showError(e,o.baseText(`agentSessions.showError.delete`)),!1}return l.value=l.value.filter(t=>t.id!==e.id),d.value=d.value.filter(t=>t.id!==e.id),f.value.add(e.id),!0}return{recentThreads:l,openedThreads:d,threadsById:p,knownThreads:m,deletedThreadIds:f,fetchRecent:g,loadThread:_,deleteThread:v}});function p(e){return e.kind===`assistant`?{name:d,params:{threadId:e.thread.id}}:{name:c,params:{agentId:e.thread.agent.id,agentThreadId:e.thread.id}}}function m(e,t){return e.kind===`assistant`?e.thread.title:e.thread.title??t.baseText(`commandBar.instanceAi.newThread`)}function h(e){return[{id:`delete`,label:e.baseText(`instanceAi.sidebar.deleteThread`),icon:`trash-2`}]}function g(e,t,n){let r=e.map(e=>({kind:`assistant`,thread:e})),i=t.map(e=>({kind:`agent`,thread:e})),a=[],o=0,s=0;for(;a.length<n.limit&&(o<r.length||s<i.length);){let e=s>=i.length||o<r.length&&r[o].thread.updatedAt>=i[s].thread.updatedAt;a.push(e?r[o++]:i[s++])}let c=n.openThreadId;if(!c||a.some(e=>e.thread.id===c))return a;let l=[...r,...i].find(e=>e.thread.id===c);return l?[...a.slice(0,Math.max(n.limit-1,0)),l]:a}function _(e){let t=e.filter(e=>e.hasMore),n=t.length?Math.max(...t.map(e=>{let t=e.items.at(-1);return t?Date.parse(t.thread.updatedAt):1/0})):-1/0;return e.flatMap(e=>e.items).filter(e=>Date.parse(e.thread.updatedAt)>=n).sort((e,t)=>Date.parse(t.thread.updatedAt)-Date.parse(e.thread.updatedAt))}export{g as a,_ as i,p as n,f as o,m as r,h as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a4b3ec74-d225-472c-be39-3ef3574a24ed`,e._sentryDebugIdIdentifier=`sentry-dbid-a4b3ec74-d225-472c-be39-3ef3574a24ed`)})()}catch{}import{My as e}from"./app-j_PQFvzO.js";function t(t){let n=e().settings.security?.postMessageAllowedOrigins??[];return n.length===0?!0:t===window.location.origin||n.includes(t)}export{t};
1
+ 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]=`a4b3ec74-d225-472c-be39-3ef3574a24ed`,e._sentryDebugIdIdentifier=`sentry-dbid-a4b3ec74-d225-472c-be39-3ef3574a24ed`)})()}catch{}import{My as e}from"./app-CHQeJgnE.js";function t(t){let n=e().settings.security?.postMessageAllowedOrigins??[];return n.length===0?!0:t===window.location.origin||n.includes(t)}export{t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`0963411b-55b8-4309-94f4-45e612566b1c`,e._sentryDebugIdIdentifier=`sentry-dbid-0963411b-55b8-4309-94f4-45e612566b1c`)})()}catch{}import{Cx as e,bx as t}from"./app-j_PQFvzO.js";var n=[`project`,`folder`,`workflow`,`agent`,`credential`,`execution`,`externalSecretsProvider`,`externalSecret`,`dataTable`,`projectVariable`,`projectAiPreference`,`projectSkill`,`sourceControl`],r=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.map(t=>`${e}:${t}`)])),i=new Set([...Object.values(r).flat(),...t]),a=i.size;function o(e){let t=e.includes(`workflow:publish`),n=e.includes(`workflow:unpublish`);return t&&!n?[...e,`workflow:unpublish`]:n&&!t?[...e,`workflow:publish`]:e}export{o as a,i,n,a as r,r as t};
1
+ 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]=`0963411b-55b8-4309-94f4-45e612566b1c`,e._sentryDebugIdIdentifier=`sentry-dbid-0963411b-55b8-4309-94f4-45e612566b1c`)})()}catch{}import{Cx as e,bx as t}from"./app-CHQeJgnE.js";var n=[`project`,`folder`,`workflow`,`agent`,`credential`,`execution`,`externalSecretsProvider`,`externalSecret`,`dataTable`,`projectVariable`,`projectAiPreference`,`projectSkill`,`sourceControl`],r=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.map(t=>`${e}:${t}`)])),i=new Set([...Object.values(r).flat(),...t]),a=i.size;function o(e){let t=e.includes(`workflow:publish`),n=e.includes(`workflow:unpublish`);return t&&!n?[...e,`workflow:unpublish`]:n&&!t?[...e,`workflow:publish`]:e}export{o as a,i,n,a as r,r as t};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3530129c-d117-4ffb-b337-2f2c448fc751`,e._sentryDebugIdIdentifier=`sentry-dbid-3530129c-d117-4ffb-b337-2f2c448fc751`)})()}catch{}import{nb as e,rb as t}from"./app-j_PQFvzO.js";async function n(t,n,r=`promote`){return await e(t,`GET`,`/promotions/${n}/changes/${r}`)}async function r(e,n,r){return await t({method:`POST`,baseURL:e.baseUrl,endpoint:`/promotions/projects/${n}/promote`,data:r})}export{r as n,n 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]=`3530129c-d117-4ffb-b337-2f2c448fc751`,e._sentryDebugIdIdentifier=`sentry-dbid-3530129c-d117-4ffb-b337-2f2c448fc751`)})()}catch{}import{nb as e,rb as t}from"./app-CHQeJgnE.js";async function n(t,n,r=`promote`){return await e(t,`GET`,`/promotions/${n}/changes/${r}`)}async function r(e,n,r){return await t({method:`POST`,baseURL:e.baseUrl,endpoint:`/promotions/projects/${n}/promote`,data:r})}export{r 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]=`79304d18-f53a-465b-9ab6-c31cc9fb3011`,e._sentryDebugIdIdentifier=`sentry-dbid-79304d18-f53a-465b-9ab6-c31cc9fb3011`)})()}catch{}import{GT as e}from"./app-j_PQFvzO.js";var t=e();export{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]=`79304d18-f53a-465b-9ab6-c31cc9fb3011`,e._sentryDebugIdIdentifier=`sentry-dbid-79304d18-f53a-465b-9ab6-c31cc9fb3011`)})()}catch{}import{GT as e}from"./app-CHQeJgnE.js";var t=e();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]=`1c614ac3-96a6-4b93-91b2-3cdb12837b58`,e._sentryDebugIdIdentifier=`sentry-dbid-1c614ac3-96a6-4b93-91b2-3cdb12837b58`)})()}catch{}import{rb as e}from"./app-j_PQFvzO.js";var t=`/promotions`,n=async(n,r,i={})=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${encodeURIComponent(r)}/repositories`,data:i}),r=async(n,r,i,a={})=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${encodeURIComponent(r)}/repositories/${encodeURIComponent(i)}/branches`,data:a});async function i(e){let t=[],n;do{let r=await e(n);t.push(...r.data),n=r.nextCursor??void 0}while(n);return t}var a=async n=>await i(async r=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers`,data:{cursor:r}})),o=async(n,r)=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`}),s=async(n,r)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/providers`,data:r}),c=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`,data:i}),l=async(n,r)=>{await e({method:`DELETE`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`})},u=async(n,r={})=>await i(async i=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/connections`,data:{...r,cursor:i}})),d=async(n,r)=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}`}),f=async(n,r)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections`,data:r}),p=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}`,data:i}),m=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/apply`,data:i}),h=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/promote`,data:i}),g=async(n,r,i)=>{await e({method:`DELETE`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/${i}`})},_=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/${i}/clone`}),v=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/${i}/disconnect`}),y=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/promote`,data:i}),b=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/apply`,data:i}),x=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/apply/continue`,data:i}),S=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/projects/${r}/apply`,data:i}),C=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/projects/${r}/apply/continue`,data:i});export{y as _,x as a,m as b,g as c,r as d,d as f,n as g,a as h,C as i,l,o as m,b as n,f as o,u as p,_ as r,s,S as t,v as u,p as v,h as x,c as y};
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]=`1c614ac3-96a6-4b93-91b2-3cdb12837b58`,e._sentryDebugIdIdentifier=`sentry-dbid-1c614ac3-96a6-4b93-91b2-3cdb12837b58`)})()}catch{}import{rb as e}from"./app-CHQeJgnE.js";var t=`/promotions`,n=async(n,r,i={})=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${encodeURIComponent(r)}/repositories`,data:i}),r=async(n,r,i,a={})=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${encodeURIComponent(r)}/repositories/${encodeURIComponent(i)}/branches`,data:a});async function i(e){let t=[],n;do{let r=await e(n);t.push(...r.data),n=r.nextCursor??void 0}while(n);return t}var a=async n=>await i(async r=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers`,data:{cursor:r}})),o=async(n,r)=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`}),s=async(n,r)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/providers`,data:r}),c=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`,data:i}),l=async(n,r)=>{await e({method:`DELETE`,baseURL:n.baseUrl,endpoint:`${t}/providers/${r}`})},u=async(n,r={})=>await i(async i=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/connections`,data:{...r,cursor:i}})),d=async(n,r)=>await e({method:`GET`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}`}),f=async(n,r)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections`,data:r}),p=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}`,data:i}),m=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/apply`,data:i}),h=async(n,r,i)=>await e({method:`PUT`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/promote`,data:i}),g=async(n,r,i)=>{await e({method:`DELETE`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/configs/${i}`})},_=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/${i}/clone`}),v=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/${i}/disconnect`}),y=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/promote`,data:i}),b=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/apply`,data:i}),x=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/connections/${r}/apply/continue`,data:i}),S=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/projects/${r}/apply`,data:i}),C=async(n,r,i)=>await e({method:`POST`,baseURL:n.baseUrl,endpoint:`${t}/projects/${r}/apply/continue`,data:i});export{y as _,x as a,m as b,g as c,r as d,d as f,n as g,a as h,C as i,l,o as m,b as n,f as o,u as p,_ as r,s,S as t,v as u,p as v,h as x,c as y};
@@ -1 +1 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a4f1b368-aaeb-4d3e-a511-45b6fc49e9aa`,e._sentryDebugIdIdentifier=`sentry-dbid-a4f1b368-aaeb-4d3e-a511-45b6fc49e9aa`)})()}catch{}import{Ll as e}from"./app-j_PQFvzO.js";export{e as usePushConnectionStore};
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]=`a4f1b368-aaeb-4d3e-a511-45b6fc49e9aa`,e._sentryDebugIdIdentifier=`sentry-dbid-a4f1b368-aaeb-4d3e-a511-45b6fc49e9aa`)})()}catch{}import{Ll as e}from"./app-CHQeJgnE.js";export{e as usePushConnectionStore};
@@ -1,4 +1,4 @@
1
- try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`a897f6c2-557b-4928-ae7c-cb7747b3923a`,e._sentryDebugIdIdentifier=`sentry-dbid-a897f6c2-557b-4928-ae7c-cb7747b3923a`)})()}catch{}import{Cf as e,Ed as t,Nu as n,Sf as r,Tf as i,df as a,fo as o,is as s,rs as c}from"./vendor-xeDGQDt1.js";import{CC as l,Ey as u,FE as d,Ff as f,Ga as p,Id as m,Mg as h,My as g,N as _,Oy as v,Ty as y,XC as b,Yp as x,iC as S,jy as C,ky as w,sm as T,ty as E}from"./app-j_PQFvzO.js";var D={name:`AI Agent workflow`,meta:{templateId:`ready-to-run-ai-workflow`},nodes:[{parameters:{url:`https://www.theverge.com/rss/index.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[128,448],id:`a26f16ce-82a5-4392-a032-622467e0098f`,name:`Get Tech News`},{parameters:{toolDescription:`Reads the news`,url:`=https://feeds.bbci.co.uk/news/world/rss.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[272,448],id:`91d1a929-b913-4399-977a-4306fe8349c7`,name:`Get World News`},{parameters:{model:{__rl:!0,mode:`list`,value:`gpt-5.6-luna`},responsesApiEnabled:!0,options:{}},type:`@n8n/n8n-nodes-langchain.lmChatOpenAi`,typeVersion:1.3,position:[-144,448],id:`482c5e90-74ea-424c-9ec3-1dc14dd460f9`,name:`OpenAI Model`,notesInFlow:!0,credentials:{},notes:`Free n8n credits `},{parameters:{promptType:`define`,text:`=Provide a summary of world and tech news from the last 24 hours.
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]=`a897f6c2-557b-4928-ae7c-cb7747b3923a`,e._sentryDebugIdIdentifier=`sentry-dbid-a897f6c2-557b-4928-ae7c-cb7747b3923a`)})()}catch{}import{Cf as e,Ed as t,Nu as n,Sf as r,Tf as i,df as a,fo as o,is as s,rs as c}from"./vendor-xeDGQDt1.js";import{CC as l,Ey as u,FE as d,Ff as f,Ga as p,Id as m,Mg as h,My as g,N as _,Oy as v,Ty as y,XC as b,Yp as x,iC as S,jy as C,ky as w,sm as T,ty as E}from"./app-CHQeJgnE.js";var D={name:`AI Agent workflow`,meta:{templateId:`ready-to-run-ai-workflow`},nodes:[{parameters:{url:`https://www.theverge.com/rss/index.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[128,448],id:`a26f16ce-82a5-4392-a032-622467e0098f`,name:`Get Tech News`},{parameters:{toolDescription:`Reads the news`,url:`=https://feeds.bbci.co.uk/news/world/rss.xml`,options:{}},type:`n8n-nodes-base.rssFeedReadTool`,typeVersion:1.2,position:[272,448],id:`91d1a929-b913-4399-977a-4306fe8349c7`,name:`Get World News`},{parameters:{model:{__rl:!0,mode:`list`,value:`gpt-5.6-luna`},responsesApiEnabled:!0,options:{}},type:`@n8n/n8n-nodes-langchain.lmChatOpenAi`,typeVersion:1.3,position:[-144,448],id:`482c5e90-74ea-424c-9ec3-1dc14dd460f9`,name:`OpenAI Model`,notesInFlow:!0,credentials:{},notes:`Free n8n credits `},{parameters:{promptType:`define`,text:`=Provide a summary of world and tech news from the last 24 hours.
2
2
 
3
3
  - Use the headings "World News" and "Tech News."
4
4
  - Exclude comments, insights, and any news that is considered sad or distressing.
@@ -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]=`ea21e978-8ec8-4d59-af95-f29d22218f2a`,e._sentryDebugIdIdentifier=`sentry-dbid-ea21e978-8ec8-4d59-af95-f29d22218f2a`)})()}catch{}import{Ed as e,Nu as t,fo as n}from"./vendor-xeDGQDt1.js";import{FE as r,Ff as i,Ga as a,Mg as o,Oy as s,Wv as c,XC as l,ky as u}from"./app-j_PQFvzO.js";var d={meta:{templateId:`37_onboarding_experiments_batch_aug11-1_filter_data`},name:`▶️ 1. Filter data coming from an API`,nodes:[{parameters:{},type:`n8n-nodes-base.merge`,typeVersion:3.2,position:[448,176],id:`01f2f222-4ff2-41ec-afd9-68496d2e0cb3`,name:`Merge`},{parameters:{},type:`n8n-nodes-base.manualTrigger`,typeVersion:1,position:[-768,192],id:`e5ef1b32-ce8a-4c71-aa14-6885a09feabe`,name:`When clicking ‘Execute workflow’`},{parameters:{assignments:{assignments:[{id:`2fd0b039-7dd9-4666-bc24-d3a81e6d4b68`,name:`quote_category`,value:`Personal`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[160,272],id:`42d065cd-1580-4b2a-8cc6-796be9a1da2a`,name:`Set Category = Personal`},{parameters:{assignments:{assignments:[{id:`1ff91e4a-8460-4991-a273-c5f24b4038e9`,name:`quote_category`,value:`team`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[160,64],id:`a5259694-11ed-442c-be2a-e0000926fb30`,name:`Set Category = Team`},{parameters:{assignments:{assignments:[{id:`c014a174-3f17-41bf-9fa5-19e822427346`,name:`author`,value:`={{ $('Make an API request to get a random quote').item.json.author }}`,type:`string`},{id:`1d60a497-d964-406b-96fc-0206c82d5742`,name:`quote`,value:`={{ $('Make an API request to get a random quote').item.json.quote }}`,type:`string`},{id:`5faf3496-8aa3-4a71-934c-6c5e3f08100b`,name:`quote_category`,value:`={{ $json.quote_category }}`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[736,176],id:`82b78022-f986-4bb0-aac8-f34558d46e5d`,name:`Quote with category`},{parameters:{content:"The node below is an `HTTP Node`. It makes a request to an API, which returns a single random quote. ",height:512,width:304,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-512,-48],id:`d6145c80-0504-4a0b-bfd7-5e85867b3d76`,name:`Sticky Note3`},{parameters:{content:'The `Filter node` checks if the quote contains "you" or "your" , to categorise the quote.\n\nIf matched, we create a `quote_category` variable in the `Set node` , with the value to "Team"',height:512,width:496,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-160,-48],id:`75efc471-b2a7-4cb0-8299-f7ad710ff67e`,name:`Sticky Note5`},{parameters:{content:`You can reference data input from earlier nodes. We use here the \`author\` variable which was returned from the first node, the API request.
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]=`ea21e978-8ec8-4d59-af95-f29d22218f2a`,e._sentryDebugIdIdentifier=`sentry-dbid-ea21e978-8ec8-4d59-af95-f29d22218f2a`)})()}catch{}import{Ed as e,Nu as t,fo as n}from"./vendor-xeDGQDt1.js";import{FE as r,Ff as i,Ga as a,Mg as o,Oy as s,Wv as c,XC as l,ky as u}from"./app-CHQeJgnE.js";var d={meta:{templateId:`37_onboarding_experiments_batch_aug11-1_filter_data`},name:`▶️ 1. Filter data coming from an API`,nodes:[{parameters:{},type:`n8n-nodes-base.merge`,typeVersion:3.2,position:[448,176],id:`01f2f222-4ff2-41ec-afd9-68496d2e0cb3`,name:`Merge`},{parameters:{},type:`n8n-nodes-base.manualTrigger`,typeVersion:1,position:[-768,192],id:`e5ef1b32-ce8a-4c71-aa14-6885a09feabe`,name:`When clicking ‘Execute workflow’`},{parameters:{assignments:{assignments:[{id:`2fd0b039-7dd9-4666-bc24-d3a81e6d4b68`,name:`quote_category`,value:`Personal`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[160,272],id:`42d065cd-1580-4b2a-8cc6-796be9a1da2a`,name:`Set Category = Personal`},{parameters:{assignments:{assignments:[{id:`1ff91e4a-8460-4991-a273-c5f24b4038e9`,name:`quote_category`,value:`team`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[160,64],id:`a5259694-11ed-442c-be2a-e0000926fb30`,name:`Set Category = Team`},{parameters:{assignments:{assignments:[{id:`c014a174-3f17-41bf-9fa5-19e822427346`,name:`author`,value:`={{ $('Make an API request to get a random quote').item.json.author }}`,type:`string`},{id:`1d60a497-d964-406b-96fc-0206c82d5742`,name:`quote`,value:`={{ $('Make an API request to get a random quote').item.json.quote }}`,type:`string`},{id:`5faf3496-8aa3-4a71-934c-6c5e3f08100b`,name:`quote_category`,value:`={{ $json.quote_category }}`,type:`string`}]},options:{}},type:`n8n-nodes-base.set`,typeVersion:3.4,position:[736,176],id:`82b78022-f986-4bb0-aac8-f34558d46e5d`,name:`Quote with category`},{parameters:{content:"The node below is an `HTTP Node`. It makes a request to an API, which returns a single random quote. ",height:512,width:304,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-512,-48],id:`d6145c80-0504-4a0b-bfd7-5e85867b3d76`,name:`Sticky Note3`},{parameters:{content:'The `Filter node` checks if the quote contains "you" or "your" , to categorise the quote.\n\nIf matched, we create a `quote_category` variable in the `Set node` , with the value to "Team"',height:512,width:496,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[-160,-48],id:`75efc471-b2a7-4cb0-8299-f7ad710ff67e`,name:`Sticky Note5`},{parameters:{content:`You can reference data input from earlier nodes. We use here the \`author\` variable which was returned from the first node, the API request.
2
2
 
3
3
  `,height:512,width:288,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[640,-48],id:`9df256c6-a437-4a53-a760-e6964e73c5c3`,name:`Sticky Note6`},{parameters:{content:"The `Merge` combines the outputs of both branches into a single list.\n",height:512,color:7},type:`n8n-nodes-base.stickyNote`,typeVersion:1,position:[368,-48],id:`ad7ec1f3-7a95-444f-a5b8-363fc1224f95`,name:`Sticky Note8`},{parameters:{content:`### ⏩ Next up:
4
4
 
@@ -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]=`68083ac8-ee3d-48a9-854b-07ddfe28116b`,e._sentryDebugIdIdentifier=`sentry-dbid-68083ac8-ee3d-48a9-854b-07ddfe28116b`)})()}catch{}import{Ed as e,Tf as t,fo as n,is as r}from"./vendor-xeDGQDt1.js";import{CC as i,Ey as a,Ff as o,Mg as s,hf as c,iC as l,ky as u,ny as d}from"./app-j_PQFvzO.js";import{a as f,n as p,t as m}from"./readyToRun.store-DhSa9X-Y.js";var h=[{id:`chat-with-the-news`,name:`AI Agent: Chat with the news`,description:`Chat with an AI agent about the latest news`,workflow:p,nodeTypes:[`@n8n/n8n-nodes-langchain.chatTrigger`,`@n8n/n8n-nodes-langchain.agent`]},{id:`summarize-the-news`,name:`AI Workflow: Summarize the news`,description:`Get AI-powered news summaries from top sources`,workflow:f,nodeTypes:[`n8n-nodes-base.rssFeedReadTool`,`@n8n/n8n-nodes-langchain.agent`]}],g=`N8N_READY_TO_RUN_OPENAI_CREDENTIAL_ID`,_=`n8n-resourceCenter-sidebarAutoExpanded`,v=n(`resourceCenter`,()=>{let n=s(),f=c(),p=o(),v=m(),y=u(),b=r(),x=t(!1),S=t(localStorage.getItem(_)===`true`),C=()=>n.isVariantEnabled(d.name,d.variant);async function w(e){try{return await f.fetchTemplateById(e.toString())}catch(t){return console.error(`Failed to fetch template ${e}:`,t),null}}async function T(e){x.value=!0;try{let t=e.map(async e=>await w(e));return(await Promise.allSettled(t)).filter(e=>e.status===`fulfilled`&&e.value!==null).map(e=>e.value)}finally{x.value=!1}}function E(e){return{name:a.TEMPLATE,params:{id:e}}}function D(){y.track(`User visited resource center`)}function O(e,t,n){y.track(`User clicked on resource center tile`,{section:e,type:t,id:n})}async function k(e){let t=h.find(t=>t.id===e);if(!t)return;v.userCanClaimOpenAiCredits&&await v.claimFreeAiCredits();let n={...t.workflow,name:t.name},r=localStorage.getItem(g);if(r&&n.nodes){let e=l(n),t=e.nodes?.find(e=>e.name===`OpenAI Model`);t&&(t.credentials??={},t.credentials[i]={id:r,name:``}),n=e}let o=await p.createNewWorkflow(n);await b.push({name:a.WORKFLOW,params:{workflowId:o.id}})}let A=e(()=>C()&&!S.value);function j(){S.value=!0,localStorage.setItem(_,`true`)}return{isFeatureEnabled:C,isLoadingTemplates:x,shouldAutoExpandSidebar:A,fetchTemplateById:w,loadTemplates:T,getTemplateRoute:E,createAndOpenQuickStartWorkflow:k,markSidebarAutoExpanded:j,trackResourceCenterView:D,trackTileClick:O}});export{h as n,v as t};
1
+ 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]=`68083ac8-ee3d-48a9-854b-07ddfe28116b`,e._sentryDebugIdIdentifier=`sentry-dbid-68083ac8-ee3d-48a9-854b-07ddfe28116b`)})()}catch{}import{Ed as e,Tf as t,fo as n,is as r}from"./vendor-xeDGQDt1.js";import{CC as i,Ey as a,Ff as o,Mg as s,hf as c,iC as l,ky as u,ny as d}from"./app-CHQeJgnE.js";import{a as f,n as p,t as m}from"./readyToRun.store-KPiNHGR8.js";var h=[{id:`chat-with-the-news`,name:`AI Agent: Chat with the news`,description:`Chat with an AI agent about the latest news`,workflow:p,nodeTypes:[`@n8n/n8n-nodes-langchain.chatTrigger`,`@n8n/n8n-nodes-langchain.agent`]},{id:`summarize-the-news`,name:`AI Workflow: Summarize the news`,description:`Get AI-powered news summaries from top sources`,workflow:f,nodeTypes:[`n8n-nodes-base.rssFeedReadTool`,`@n8n/n8n-nodes-langchain.agent`]}],g=`N8N_READY_TO_RUN_OPENAI_CREDENTIAL_ID`,_=`n8n-resourceCenter-sidebarAutoExpanded`,v=n(`resourceCenter`,()=>{let n=s(),f=c(),p=o(),v=m(),y=u(),b=r(),x=t(!1),S=t(localStorage.getItem(_)===`true`),C=()=>n.isVariantEnabled(d.name,d.variant);async function w(e){try{return await f.fetchTemplateById(e.toString())}catch(t){return console.error(`Failed to fetch template ${e}:`,t),null}}async function T(e){x.value=!0;try{let t=e.map(async e=>await w(e));return(await Promise.allSettled(t)).filter(e=>e.status===`fulfilled`&&e.value!==null).map(e=>e.value)}finally{x.value=!1}}function E(e){return{name:a.TEMPLATE,params:{id:e}}}function D(){y.track(`User visited resource center`)}function O(e,t,n){y.track(`User clicked on resource center tile`,{section:e,type:t,id:n})}async function k(e){let t=h.find(t=>t.id===e);if(!t)return;v.userCanClaimOpenAiCredits&&await v.claimFreeAiCredits();let n={...t.workflow,name:t.name},r=localStorage.getItem(g);if(r&&n.nodes){let e=l(n),t=e.nodes?.find(e=>e.name===`OpenAI Model`);t&&(t.credentials??={},t.credentials[i]={id:r,name:``}),n=e}let o=await p.createNewWorkflow(n);await b.push({name:a.WORKFLOW,params:{workflowId:o.id}})}let A=e(()=>C()&&!S.value);function j(){S.value=!0,localStorage.setItem(_,`true`)}return{isFeatureEnabled:C,isLoadingTemplates:x,shouldAutoExpandSidebar:A,fetchTemplateById:w,loadTemplates:T,getTemplateRoute:E,createAndOpenQuickStartWorkflow:k,markSidebarAutoExpanded:j,trackResourceCenterView:D,trackTileClick:O}});export{h as n,v as t};