@atom8n/n8n-editor-ui 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/.stylelintcache +1 -0
  2. package/README.md +59 -0
  3. package/biome.jsonc +8 -0
  4. package/build.log +55 -0
  5. package/data/node-popularity.json +3998 -0
  6. package/dist/assets/AddDataTableModal-UINkk54_.js +1555 -0
  7. package/dist/assets/AgentEditorModal-CVww87TJ.js +358 -0
  8. package/dist/assets/Alert-Dy86dyOr.js +102 -0
  9. package/dist/assets/AnimatedSpinner-DmPN4poP.js +15 -0
  10. package/dist/assets/AnnotationTagsDropdown.ee-BJ7N9lek.js +71 -0
  11. package/dist/assets/AuthView-D2LWHrMp.js +106 -0
  12. package/dist/assets/BottomMenu-CIQiK_dJ.js +532 -0
  13. package/dist/assets/CalendarDate-DgQUMbNo.js +875 -0
  14. package/dist/assets/ChangePasswordView-Z6tUkw0u.js +133 -0
  15. package/dist/assets/ChatAgentAvatar-50YBnv3N.js +67 -0
  16. package/dist/assets/ChatFile-xZxmc2nV.js +146 -0
  17. package/dist/assets/ChatLayout-CTE_5SiM.js +96 -0
  18. package/dist/assets/ChatPersonalAgentsView-BGpHk03K.js +149 -0
  19. package/dist/assets/ChatSidebar-BkVwIypC.js +528 -0
  20. package/dist/assets/ChatView-BbbdeU9x.js +1559 -0
  21. package/dist/assets/ChatWorkflowAgentsView-BtunOxlC.js +116 -0
  22. package/dist/assets/CollectionParameter-BdcPG1lu.js +52 -0
  23. package/dist/assets/CommitMonoVariable-ytizKI8U.woff2 +0 -0
  24. package/dist/assets/CommunityNodeUpdateInfo-C37kca4W.js +273 -0
  25. package/dist/assets/CopyInput-DDZVu2iU.js +74 -0
  26. package/dist/assets/CredentialIcon-8YdTTFZ1.js +80 -0
  27. package/dist/assets/CredentialPicker-DWtj314o.js +293 -0
  28. package/dist/assets/CredentialSelectorModal-DTW2fKh0.js +138 -0
  29. package/dist/assets/CredentialsView-BjUchcCu.js +480 -0
  30. package/dist/assets/DataTableActions-DpAkoxg_.js +95 -0
  31. package/dist/assets/DataTableDetailsView-Coq7zdW5.js +41922 -0
  32. package/dist/assets/DataTableView-Cs-BIkzw.js +293 -0
  33. package/dist/assets/DemoFooter-Cga3jvi-.js +65 -0
  34. package/dist/assets/Draggable-vfvXl9Sp.js +105 -0
  35. package/dist/assets/EmptySharedSectionActionBox-DOXZtTCv.js +36 -0
  36. package/dist/assets/EnterpriseEdition.ee-D_rCFexM.js +15 -0
  37. package/dist/assets/EntityNotFound-3dhTRWsE.js +85 -0
  38. package/dist/assets/EntityUnAuthorised-ChJYZakE.js +66 -0
  39. package/dist/assets/ErrorView-zT9cX76a.js +61 -0
  40. package/dist/assets/EvaluationsRootView-C-OVWYnY.js +523 -0
  41. package/dist/assets/EvaluationsView-CJwJTruc.js +469 -0
  42. package/dist/assets/ExecutionsTime-DEQiyozR.js +573 -0
  43. package/dist/assets/ExecutionsView-Bd5Oh8TH.js +791 -0
  44. package/dist/assets/ExternalSecretsProviderConnectionSwitch.ee-C7Ih-uRo.js +191 -0
  45. package/dist/assets/FixedCollectionParameter-CYuTDW9t.js +496 -0
  46. package/dist/assets/ForgotMyPasswordView-Bs_L9P27.js +102 -0
  47. package/dist/assets/InsightsChartAverageRuntime-Bp3VA8_7.js +62 -0
  48. package/dist/assets/InsightsChartFailed-KPaNWoEr.js +52 -0
  49. package/dist/assets/InsightsChartFailureRate-DE6kE3FM.js +54 -0
  50. package/dist/assets/InsightsChartTimeSaved-auABNZlc.js +68 -0
  51. package/dist/assets/InsightsChartTotal-BKzYRKE7.js +56 -0
  52. package/dist/assets/InsightsDashboard-JWx4W6Db.js +473 -0
  53. package/dist/assets/InsightsPaywall-C8zLLKe8.js +63 -0
  54. package/dist/assets/InsightsSummary-cmN1lHDm.js +210 -0
  55. package/dist/assets/InsightsTableWorkflows-CqcC3IbQ.js +203 -0
  56. package/dist/assets/InterVariable-DiVDrmQJ.woff2 +0 -0
  57. package/dist/assets/InterVariable-Italic-FCBEiFp6.woff2 +0 -0
  58. package/dist/assets/ItemsRenderer-DC8WVyMv.js +922 -0
  59. package/dist/assets/KeyboardShortcutTooltip-D8PAK5JP.js +31 -0
  60. package/dist/assets/LogsPanel-BR06u9RK.js +52 -0
  61. package/dist/assets/LogsPanel-C-_acMHp.js +2325 -0
  62. package/dist/assets/MCPConnectWorkflowsModal-3g8_iUa4.js +303 -0
  63. package/dist/assets/MainHeader-DiQc1edn.js +2153 -0
  64. package/dist/assets/MainSidebar-CoPGG5Ea.js +804 -0
  65. package/dist/assets/MigrationRuleDetail-BAxk1Pvl.js +295 -0
  66. package/dist/assets/MigrationRules-IW9lZMpE.js +285 -0
  67. package/dist/assets/Modal-CIzXlZdZ.js +204 -0
  68. package/dist/assets/ModelByIdSelectorModal-DLvBjzJO.js +115 -0
  69. package/dist/assets/NDVEmptyState-33UoX00I.js +19743 -0
  70. package/dist/assets/NodeCreation-BNzbSWSB.js +240 -0
  71. package/dist/assets/NodeCreator-BftgCKx7.js +1288 -0
  72. package/dist/assets/NodeDetailsView-CsoQCpcF.js +1075 -0
  73. package/dist/assets/NodeDetailsViewV2-C_wNQR_3.js +981 -0
  74. package/dist/assets/NodeIcon-B9VW6tX6.js +87 -0
  75. package/dist/assets/NodeSettings-ZwVip6VR.js +1872 -0
  76. package/dist/assets/NodeView-D4WUEvLB.js +2452 -0
  77. package/dist/assets/OAuthConsentView-DlrUqZbT.js +230 -0
  78. package/dist/assets/PageViewLayout-NT1KPFgy.js +12 -0
  79. package/dist/assets/ParameterInputList-sG2nz-Jo.js +38091 -0
  80. package/dist/assets/PrebuiltAgentTemplatesView-Csi5U8dc.js +154 -0
  81. package/dist/assets/ProjectBreadcrumb-C_XiY7sc.js +98 -0
  82. package/dist/assets/ProjectCardBadge-t_hs7vzx.js +209 -0
  83. package/dist/assets/ProjectHeader-Dq5Ihb26.js +549 -0
  84. package/dist/assets/ProjectIcon-DY8gGuHX.js +64 -0
  85. package/dist/assets/ProjectRoleView-Du-KTrAC.js +435 -0
  86. package/dist/assets/ProjectRolesView-DjxM_y4u.js +239 -0
  87. package/dist/assets/ProjectSettings-C6kWuV21.js +966 -0
  88. package/dist/assets/ProjectSharing-CVUgNWAY.js +262 -0
  89. package/dist/assets/ProjectVariables-CJlAo3dv.js +467 -0
  90. package/dist/assets/ProviderSettingsModal-BUFC2ZLv.js +307 -0
  91. package/dist/assets/PushConnectionTracker-DPBnGV0v.js +27 -0
  92. package/dist/assets/ResolversView-3BdkvvYA.js +209 -0
  93. package/dist/assets/ResourceFiltersDropdown-dgyXpcEX.js +159 -0
  94. package/dist/assets/ResourcesListLayout-qBLtomK6.js +631 -0
  95. package/dist/assets/RunDataHtml-BrW0OQra.js +7 -0
  96. package/dist/assets/RunDataHtml-Cleia4Cj.js +40 -0
  97. package/dist/assets/RunDataJson-uxkrhYRK.js +227 -0
  98. package/dist/assets/RunDataJsonActions-DkPk7E8d.js +5007 -0
  99. package/dist/assets/RunDataParsedAiContent-CtPRjig-.js +26 -0
  100. package/dist/assets/RunDataParsedAiContent-WAuqLQ5M.js +192 -0
  101. package/dist/assets/RunDataSearch-YBWUr93C.js +141 -0
  102. package/dist/assets/RunDataTable-DcXaBynW.js +631 -0
  103. package/dist/assets/SamlOnboarding-BTdQ_hr3.js +78 -0
  104. package/dist/assets/SaveButton-D5sQSxIk.js +89 -0
  105. package/dist/assets/SelectedItemsInfo-BHZ-NvF5.js +58 -0
  106. package/dist/assets/SettingsApiView-IfZTMXx1.js +313 -0
  107. package/dist/assets/SettingsChatHubView-gWh2X6vX.js +285 -0
  108. package/dist/assets/SettingsCommunityNodesView-D8VQtpGY.js +349 -0
  109. package/dist/assets/SettingsExternalSecrets-CpMc7mkW.js +233 -0
  110. package/dist/assets/SettingsLdapView-CU5a2MAy.js +2553 -0
  111. package/dist/assets/SettingsLogStreamingView-uojTe-oX.js +375 -0
  112. package/dist/assets/SettingsMCPView-B5Swp1C_.js +1214 -0
  113. package/dist/assets/SettingsPersonalView-Cr3aGood.js +402 -0
  114. package/dist/assets/SettingsSourceControl-DXOvFDEY.js +547 -0
  115. package/dist/assets/SettingsSso-27MfU1HV.js +1032 -0
  116. package/dist/assets/SettingsUsageAndPlan-DqIO-G46.js +419 -0
  117. package/dist/assets/SettingsUsersView-DfHB4_Kh.js +833 -0
  118. package/dist/assets/SettingsView-C4sA7Uny.js +90 -0
  119. package/dist/assets/SetupTemplateFormStep-BmiSzZin.js +258 -0
  120. package/dist/assets/SetupView-VORZ-L_u.js +112 -0
  121. package/dist/assets/SetupWorkflowCredentialsButton-DTmkOAW5.js +73 -0
  122. package/dist/assets/SetupWorkflowFromTemplateView-B9NupdJE.js +286 -0
  123. package/dist/assets/SeverityTag-CX1qTTNA.js +45 -0
  124. package/dist/assets/SigninView-D9_Pm16j.js +358 -0
  125. package/dist/assets/SignoutView-BFsjEAGz.js +19 -0
  126. package/dist/assets/SignupView-Am4ot0QZ.js +137 -0
  127. package/dist/assets/SkeletonAgentCard-C5TL-h8F.js +191 -0
  128. package/dist/assets/TagsDropdown-Bvx_Hd6Q.js +230 -0
  129. package/dist/assets/TemplateCard-CyQ1GuVz.js +105 -0
  130. package/dist/assets/TemplateDetails-CZRusTxE.js +124 -0
  131. package/dist/assets/TemplateList-DKvbwuiY.js +333 -0
  132. package/dist/assets/TemplatesCollectionView-D8dxU8By.js +184 -0
  133. package/dist/assets/TemplatesSearchView-CebC_GLs.js +1230 -0
  134. package/dist/assets/TemplatesView-025CcmIY.js +57 -0
  135. package/dist/assets/TemplatesWorkflowView-C2JfwJAn.js +170 -0
  136. package/dist/assets/TestRunDetailView-Ck78TTWO.js +395 -0
  137. package/dist/assets/TextWithHighlights-BxumwGnv.js +57 -0
  138. package/dist/assets/TimeAgo-C6EN4lCs.js +123 -0
  139. package/dist/assets/ToolsSelectorModal-8QJoUvRL.js +368 -0
  140. package/dist/assets/TriggerPanel-B6pacLkk.js +1225 -0
  141. package/dist/assets/VirtualSchema-B3zGe_8b.js +2402 -0
  142. package/dist/assets/VirtualSchema-Dkh0Cu5z.js +37 -0
  143. package/dist/assets/VueMarkdown-CQqJL9vK.js +28 -0
  144. package/dist/assets/WorkerView-Caznsljo.js +563 -0
  145. package/dist/assets/WorkflowActivationErrorMessage-CGrfPi9O.js +17 -0
  146. package/dist/assets/WorkflowActivator-BINnz0f7.js +362 -0
  147. package/dist/assets/WorkflowExecutionsInfoAccordion-Dg37yEfT.js +166 -0
  148. package/dist/assets/WorkflowExecutionsLandingPage-V2wdubhK.js +93 -0
  149. package/dist/assets/WorkflowExecutionsPreview-DdJaqYV6.js +616 -0
  150. package/dist/assets/WorkflowExecutionsView-DV8ySTfn.js +808 -0
  151. package/dist/assets/WorkflowHistory-GtaBMzIM.js +973 -0
  152. package/dist/assets/WorkflowLocation-CQ9Sq-2y.js +164 -0
  153. package/dist/assets/WorkflowOnboardingView-C49gt0Jr.js +61 -0
  154. package/dist/assets/WorkflowPreview-CXdvv4Nq.js +186 -0
  155. package/dist/assets/WorkflowTagsDropdown-QwbICWjN.js +71 -0
  156. package/dist/assets/WorkflowsView-B-MWIECO.js +3253 -0
  157. package/dist/assets/_MapCache-CcdIl4Ae.js +363 -0
  158. package/dist/assets/_baseOrderBy-N8Be_6z6.js +2989 -0
  159. package/dist/assets/_initCloneObject-viQQyT6o.js +80 -0
  160. package/dist/assets/_plugin-vue_export-helper-BwBpWJRZ.js +6 -0
  161. package/dist/assets/aiTemplatesStarterCollection.store-nL9nePkK.js +656 -0
  162. package/dist/assets/apiKeys.store-BhOFmP2j.js +51 -0
  163. package/dist/assets/assistant.store-CNywgN4S.js +518 -0
  164. package/dist/assets/auth.eventBus-CWXS0Qp7.js +5 -0
  165. package/dist/assets/banners.store-CGEcBTDn.js +195 -0
  166. package/dist/assets/builder.store-Czk2ipDE.js +31417 -0
  167. package/dist/assets/buttons.esm-yintpW2E.js +364 -0
  168. package/dist/assets/chart-CNvyywtJ.js +10958 -0
  169. package/dist/assets/chartjs.utils-BAE52Cv9.js +155 -0
  170. package/dist/assets/chat.store-290YeyrQ.js +865 -0
  171. package/dist/assets/chatPanel.store-NDaawEZL.js +118 -0
  172. package/dist/assets/chunk-6z4oVpB-.js +36 -0
  173. package/dist/assets/col-Cmt4cmuS.js +158 -0
  174. package/dist/assets/constants-C8OH4tTq.js +106256 -0
  175. package/dist/assets/constants-DMrsrpD7.js +32 -0
  176. package/dist/assets/core-B9gt_4yk.js +4 -0
  177. package/dist/assets/core-CP5FY4aX.js +1202 -0
  178. package/dist/assets/core-CRbPymLT.js +9741 -0
  179. package/dist/assets/dataTable.store-DmipQsol.js +207 -0
  180. package/dist/assets/date-picker-2IDsBs2n.js +4115 -0
  181. package/dist/assets/dateFormatter-ik4-9_9r.js +33 -0
  182. package/dist/assets/dateformat-hG8NERse.js +181 -0
  183. package/dist/assets/dialog-lMho1TD8.js +425 -0
  184. package/dist/assets/dist-Cw46Is-h.js +151 -0
  185. package/dist/assets/doppler-B__k0MeW.webp +0 -0
  186. package/dist/assets/element-icons-B-tDfklg.woff +0 -0
  187. package/dist/assets/element-icons-_lZGOqcG.ttf +0 -0
  188. package/dist/assets/empty-BuGRxzl4.js +2210 -0
  189. package/dist/assets/en-CF30SCh2.js +95 -0
  190. package/dist/assets/en-DyO2pPiC.js +2 -0
  191. package/dist/assets/es-BkUFJVtD.js +43338 -0
  192. package/dist/assets/evaluation.constants-GYAwmJnh.js +284 -0
  193. package/dist/assets/executions.store-B9uRYwgv.js +205 -0
  194. package/dist/assets/exports-Crx_gvt_.js +1799 -0
  195. package/dist/assets/externalSecrets.ee.store-BJh4a_6G.js +118 -0
  196. package/dist/assets/fileUtils-CRWqOQje.js +20 -0
  197. package/dist/assets/folders.store-yAFj-5Vl.js +235 -0
  198. package/dist/assets/get-BcEmeOxn.js +2781 -0
  199. package/dist/assets/index-SL8542zQ.js +28372 -0
  200. package/dist/assets/insights.constants-BkJCYJTL.js +55 -0
  201. package/dist/assets/insights.store-BFc3kDUo.js +61 -0
  202. package/dist/assets/insights.utils-CcLXdrrz.js +77 -0
  203. package/dist/assets/isEmpty-C3XXoHqJ.js +35216 -0
  204. package/dist/assets/languageModules-9LyndCqU.js +13862 -0
  205. package/dist/assets/logStreaming.store-IZhWe_VK.js +190 -0
  206. package/dist/assets/mcp.constants-_Jcn7fPq.js +10 -0
  207. package/dist/assets/mcp.store-B9yfcAN9.js +116 -0
  208. package/dist/assets/merge-DhuTk1HM.js +564 -0
  209. package/dist/assets/nodeCreator.store-Bpnrwp2l.js +5444 -0
  210. package/dist/assets/nodeIcon-D6X-ENYt.js +102 -0
  211. package/dist/assets/nodeTransforms-RzcOM0v2.js +42 -0
  212. package/dist/assets/orderBy-Cu9F9DU_.js +15 -0
  213. package/dist/assets/path-browserify-RUt2u7iT.js +328 -0
  214. package/dist/assets/personalizedTemplatesV3.store-BGYp0YBN.js +334 -0
  215. package/dist/assets/pickBy-UI0Jt4wC.js +18 -0
  216. package/dist/assets/preload-helper-dyVz7ck7.js +59 -0
  217. package/dist/assets/radio-CSce3UT0.js +262 -0
  218. package/dist/assets/readyToRun.store-YEMvPUqo.js +626 -0
  219. package/dist/assets/readyToRunWorkflows.store-G3srgIze.js +1319 -0
  220. package/dist/assets/retry-BgHaYzbB.js +23 -0
  221. package/dist/assets/roles.store-CRf_zJTb.js +51 -0
  222. package/dist/assets/router-DNpzz3GH.js +2631 -0
  223. package/dist/assets/sanitize-html-CbW56HUN.js +10758 -0
  224. package/dist/assets/schemaPreview.store-DUgN1yVE.js +113 -0
  225. package/dist/assets/semver-Bk6DGseV.js +1306 -0
  226. package/dist/assets/smartDecimal-DAZl4HKA.js +6 -0
  227. package/dist/assets/sortByProperty-Cn7iGKYu.js +8 -0
  228. package/dist/assets/sourceControl.eventBus-D47xXSc_.js +3 -0
  229. package/dist/assets/sqlite3-DBpDb1lf.wasm +0 -0
  230. package/dist/assets/sqlite3-opfs-async-proxy-vVtmDGHX.js +461 -0
  231. package/dist/assets/sqlite3-worker1-bundler-friendly-DLarOZDL.js +9405 -0
  232. package/dist/assets/src-jviYSG25.js +55454 -0
  233. package/dist/assets/sso.store-DyApJwhx.js +139 -0
  234. package/dist/assets/style-E3CrYFV8.css +111829 -0
  235. package/dist/assets/table-we1DjFMV.js +3944 -0
  236. package/dist/assets/templateActions-bEDSARw2.js +65 -0
  237. package/dist/assets/templateTransforms-BHWiRbtR.js +43 -0
  238. package/dist/assets/truncate-C0KYt7i3.js +4176 -0
  239. package/dist/assets/typescript.worker-CYqLvLHh.js +152048 -0
  240. package/dist/assets/uniqBy-xDyuCRP0.js +10 -0
  241. package/dist/assets/usage.store-CU5J_nGm.js +100 -0
  242. package/dist/assets/useActions-B1JckIRj.js +255 -0
  243. package/dist/assets/useBeforeUnload-DiDkvI8p.js +40 -0
  244. package/dist/assets/useCanvasMapping-BXT7rGhC.js +12570 -0
  245. package/dist/assets/useCanvasOperations-8ULLtMkY.js +1765 -0
  246. package/dist/assets/useClipboard-DvjhVHqJ.js +39 -0
  247. package/dist/assets/useCommandBar-C4tLJbKt.js +2425 -0
  248. package/dist/assets/useCredentialResolvers-BKeFGJnY.js +78 -0
  249. package/dist/assets/useCustomAgent-DpILEt5e.js +471 -0
  250. package/dist/assets/useDebounce-Br5_1ug-.js +147 -0
  251. package/dist/assets/useExecutionData-M5iKsX6z.js +23 -0
  252. package/dist/assets/useExecutionDebugging-8azMzbnd.js +191 -0
  253. package/dist/assets/useExecutionHelpers-BgRRhpBM.js +91 -0
  254. package/dist/assets/useImportCurlCommand-CKiEmX5P.js +8891 -0
  255. package/dist/assets/useIntersectionObserver-BWMwOueh.js +33 -0
  256. package/dist/assets/useKeybindings-B2jfN6rd.js +62 -0
  257. package/dist/assets/useLogsTreeExpand-sZViUfdM.js +843 -0
  258. package/dist/assets/useMcp-DoMOIfqT.js +27 -0
  259. package/dist/assets/usePageRedirectionHelper-DjkznpX6.js +51 -0
  260. package/dist/assets/usePinnedData-BhZkqttf.js +203 -0
  261. package/dist/assets/usePushConnection-DMS-F_IW.js +513 -0
  262. package/dist/assets/useRecentResources-BVORr7eM.js +118 -0
  263. package/dist/assets/useRunWorkflow-LO7ffLp9.js +950 -0
  264. package/dist/assets/useSettingsItems-BhZXwMZn.js +144 -0
  265. package/dist/assets/useTelemetryContext-V6bv4YRq.js +34 -0
  266. package/dist/assets/useWorkflowActivate-DeSmDXjI.js +152 -0
  267. package/dist/assets/useWorkflowsCache-DtcEEAIR.js +179 -0
  268. package/dist/assets/userRoleProvisioning.store-kkSIdeTo.js +33 -0
  269. package/dist/assets/utils-DI7dLldp.js +54 -0
  270. package/dist/assets/versions.store-B1z2OrLE.js +191 -0
  271. package/dist/assets/vue-CydWIhxN.js +4378 -0
  272. package/dist/assets/vue-json-pretty-CsGX66mG.js +1130 -0
  273. package/dist/assets/vue.runtime.esm-bundler-tP5dCd7J.js +7325 -0
  274. package/dist/assets/xml-B_oj6Mle.js +2060 -0
  275. package/dist/favicon.ico +0 -0
  276. package/dist/index.html +157 -0
  277. package/dist/static/base-path.js +1 -0
  278. package/dist/static/community_package_tooltip_img.png +0 -0
  279. package/dist/static/data-mapping-gif.gif +0 -0
  280. package/dist/static/form-grey.svg +1 -0
  281. package/dist/static/google-auth/disabled.dark.png +0 -0
  282. package/dist/static/google-auth/disabled.png +0 -0
  283. package/dist/static/google-auth/focus.dark.png +0 -0
  284. package/dist/static/google-auth/focus.png +0 -0
  285. package/dist/static/google-auth/normal.dark.png +0 -0
  286. package/dist/static/google-auth/normal.png +0 -0
  287. package/dist/static/google-auth/pressed.dark.png +0 -0
  288. package/dist/static/google-auth/pressed.png +0 -0
  289. package/dist/static/n8n-logo.png +0 -0
  290. package/dist/static/og_image.png +0 -0
  291. package/dist/static/open-ai.svg +1 -0
  292. package/dist/static/openChat.png +0 -0
  293. package/dist/static/posthog.init.js +41 -0
  294. package/dist/static/prefers-color-scheme.css +5 -0
  295. package/dist/static/webhook-icon.svg +1 -0
  296. package/dist/tree-sitter-bash.wasm +0 -0
  297. package/dist/tree-sitter.wasm +0 -0
  298. package/eslint.config.mjs +59 -0
  299. package/index.html +45 -0
  300. package/index.js +0 -0
  301. package/package.json +147 -0
  302. package/postcss.config.cjs +6 -0
  303. package/scripts/fetch-node-popularity.mjs +102 -0
  304. package/stylelint.config.mjs +9 -0
  305. package/tailwind.config.js +8 -0
  306. package/tsconfig.json +36 -0
  307. package/vite/i18n-locales-hmr-helpers.ts +19 -0
  308. package/vite/source-map-js-shim.ts +1 -0
  309. package/vite/vite-plugin-node-popularity.mts +32 -0
  310. package/vite.config.mts +304 -0
@@ -0,0 +1,656 @@
1
+ import { C as computed } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
2
+ import { rt as useI18n, v as useLocalStorage } from "./core-CRbPymLT.js";
3
+ import { M as usePostHog, P as useWorkflowsStore, k as useTelemetry, ms as useSettingsStore, wc as STORES } from "./builder.store-Czk2ipDE.js";
4
+ import { hc as TEMPLATE_ONBOARDING_EXPERIMENT } from "./constants-C8OH4tTq.js";
5
+ import { k as defineStore } from "./_baseOrderBy-N8Be_6z6.js";
6
+ import { t as useFoldersStore } from "./folders.store-yAFj-5Vl.js";
7
+ const AGENT_WITH_MEMORY = {
8
+ meta: { templateId: "035_template_onboarding-agent_with_memory" },
9
+ name: "1. Agent with memory",
10
+ nodes: [
11
+ {
12
+ id: "536fa635-c0c8-4fd1-84ef-d19585be64cf",
13
+ name: "When chat message received",
14
+ webhookId: "9baee3d2-b9cb-4333-b4d5-3b07db8da9b2",
15
+ type: "@n8n/n8n-nodes-langchain.chatTrigger",
16
+ typeVersion: 1.1,
17
+ position: [0, 0],
18
+ parameters: { options: {} }
19
+ },
20
+ {
21
+ id: "1393095b-ec84-4514-b481-432609d1a5c5",
22
+ name: "AI Agent",
23
+ type: "@n8n/n8n-nodes-langchain.agent",
24
+ typeVersion: 2.1,
25
+ position: [208, 0],
26
+ parameters: { options: { systemMessage: "=You are a helpful assistant\n\nTodays date: {{ $now }}" } }
27
+ },
28
+ {
29
+ id: "658eb127-5a9d-4404-9270-72ef1da36ea3",
30
+ name: "Sticky Note",
31
+ type: "n8n-nodes-base.stickyNote",
32
+ typeVersion: 1,
33
+ position: [-464, -32],
34
+ parameters: {
35
+ content: "### Readme\nChat with an AI agent that remembers your previous messages during a conversation.\n\n**Quick Start**\n1. Open the **Model** node to claim your free API credits and connect to OpenAI. \n2. Click the **Open chat** button to start talking to the agent. Provide it with some information to remember, like your name.\n3. Ask a follow-up question about the information you shared: \"What's my name?\"\n\n---\n\n**Learn More**\n- [AI Agent node documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.agent/)\n- [Simple Memory node documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.memorybufferwindow/)",
36
+ height: 396,
37
+ width: 392,
38
+ color: 4
39
+ }
40
+ },
41
+ {
42
+ id: "186173c3-d043-4485-b939-9fca3d1e906f",
43
+ name: "Model",
44
+ type: "@n8n/n8n-nodes-langchain.lmChatOpenAi",
45
+ typeVersion: 1.2,
46
+ position: [160, 240],
47
+ parameters: {
48
+ model: {
49
+ __rl: true,
50
+ mode: "list",
51
+ value: "gpt-4.1-mini"
52
+ },
53
+ options: {}
54
+ }
55
+ },
56
+ {
57
+ id: "dadaaa19-8378-4e23-9573-f9d3ff52c884",
58
+ name: "Memory",
59
+ type: "@n8n/n8n-nodes-langchain.memoryBufferWindow",
60
+ typeVersion: 1.3,
61
+ position: [352, 240],
62
+ parameters: {}
63
+ }
64
+ ],
65
+ connections: {
66
+ "When chat message received": { main: [[{
67
+ node: "AI Agent",
68
+ type: "main",
69
+ index: 0
70
+ }]] },
71
+ Model: { ai_languageModel: [[{
72
+ node: "AI Agent",
73
+ type: "ai_languageModel",
74
+ index: 0
75
+ }]] },
76
+ Memory: { ai_memory: [[{
77
+ node: "AI Agent",
78
+ type: "ai_memory",
79
+ index: 0
80
+ }]] }
81
+ }
82
+ };
83
+ const AGENT_WITH_TOOLS = {
84
+ meta: { templateId: "035_template_onboarding-agent_with_tools" },
85
+ name: "2. Agent with tools",
86
+ nodes: [
87
+ {
88
+ parameters: { options: {} },
89
+ type: "@n8n/n8n-nodes-langchain.chatTrigger",
90
+ typeVersion: 1.1,
91
+ position: [-48, -16],
92
+ id: "f6c9fe3c-cbde-4514-9fcf-9d618526965c",
93
+ name: "When chat message received",
94
+ webhookId: "1bf95244-fbc3-4210-9420-f34a45c4f5f5"
95
+ },
96
+ {
97
+ parameters: { options: {} },
98
+ type: "@n8n/n8n-nodes-langchain.agent",
99
+ typeVersion: 2.1,
100
+ position: [208, -16],
101
+ id: "5db1043f-de79-425a-a66b-8288c3aaa7df",
102
+ name: "AI Agent"
103
+ },
104
+ {
105
+ parameters: {},
106
+ type: "@n8n/n8n-nodes-langchain.memoryBufferWindow",
107
+ typeVersion: 1.3,
108
+ position: [208, 288],
109
+ id: "29f1ba2f-7511-4771-958a-be6463a64d83",
110
+ name: "Simple Memory"
111
+ },
112
+ {
113
+ parameters: {
114
+ operation: "update",
115
+ documentId: {
116
+ __rl: true,
117
+ value: "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
118
+ mode: "list",
119
+ cachedResultName: "Demo",
120
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk"
121
+ },
122
+ sheetName: {
123
+ __rl: true,
124
+ value: "gid=0",
125
+ mode: "list",
126
+ cachedResultName: "Sheet1",
127
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0"
128
+ },
129
+ columns: {
130
+ mappingMode: "defineBelow",
131
+ value: {
132
+ ID: "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('ID__using_to_match_', ``, 'string') }}",
133
+ Name: "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name', ``, 'string') }}"
134
+ },
135
+ matchingColumns: ["ID"],
136
+ schema: [
137
+ {
138
+ id: "ID",
139
+ displayName: "ID",
140
+ required: false,
141
+ defaultMatch: false,
142
+ display: true,
143
+ type: "string",
144
+ canBeUsedToMatch: true,
145
+ removed: false
146
+ },
147
+ {
148
+ id: "Name",
149
+ displayName: "Name",
150
+ required: false,
151
+ defaultMatch: false,
152
+ display: true,
153
+ type: "string",
154
+ canBeUsedToMatch: true,
155
+ removed: false
156
+ },
157
+ {
158
+ id: "row_number",
159
+ displayName: "row_number",
160
+ required: false,
161
+ defaultMatch: false,
162
+ display: true,
163
+ type: "number",
164
+ canBeUsedToMatch: true,
165
+ readOnly: true,
166
+ removed: true
167
+ }
168
+ ],
169
+ attemptToConvertTypes: false,
170
+ convertFieldsToString: false
171
+ },
172
+ options: {}
173
+ },
174
+ type: "n8n-nodes-base.googleSheetsTool",
175
+ typeVersion: 4.6,
176
+ position: [656, 640],
177
+ id: "24d82ca2-b666-415b-9020-f88cf3e095e6",
178
+ name: "Update",
179
+ credentials: {}
180
+ },
181
+ {
182
+ parameters: {
183
+ operation: "append",
184
+ documentId: {
185
+ __rl: true,
186
+ value: "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
187
+ mode: "list",
188
+ cachedResultName: "Demo",
189
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk"
190
+ },
191
+ sheetName: {
192
+ __rl: true,
193
+ value: "gid=0",
194
+ mode: "list",
195
+ cachedResultName: "Sheet1",
196
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0"
197
+ },
198
+ columns: {
199
+ mappingMode: "defineBelow",
200
+ value: {
201
+ ID: "={{ `${Math.random()}`.replace('0.', '') }}",
202
+ Name: "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name', ``, 'string') }}"
203
+ },
204
+ matchingColumns: ["ID"],
205
+ schema: [
206
+ {
207
+ id: "ID",
208
+ displayName: "ID",
209
+ required: false,
210
+ defaultMatch: false,
211
+ display: true,
212
+ type: "string",
213
+ canBeUsedToMatch: true,
214
+ removed: false
215
+ },
216
+ {
217
+ id: "Name",
218
+ displayName: "Name",
219
+ required: false,
220
+ defaultMatch: false,
221
+ display: true,
222
+ type: "string",
223
+ canBeUsedToMatch: true,
224
+ removed: false
225
+ },
226
+ {
227
+ id: "row_number",
228
+ displayName: "row_number",
229
+ required: false,
230
+ defaultMatch: false,
231
+ display: true,
232
+ type: "number",
233
+ canBeUsedToMatch: true,
234
+ readOnly: true,
235
+ removed: true
236
+ }
237
+ ],
238
+ attemptToConvertTypes: false,
239
+ convertFieldsToString: false
240
+ },
241
+ options: {}
242
+ },
243
+ type: "n8n-nodes-base.googleSheetsTool",
244
+ typeVersion: 4.6,
245
+ position: [464, 640],
246
+ id: "a0554e4a-8a7a-480c-a9e6-5f9746252cdb",
247
+ name: "Create",
248
+ credentials: {}
249
+ },
250
+ {
251
+ parameters: {
252
+ documentId: {
253
+ __rl: true,
254
+ value: "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
255
+ mode: "list",
256
+ cachedResultName: "Demo",
257
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk"
258
+ },
259
+ sheetName: {
260
+ __rl: true,
261
+ value: "gid=0",
262
+ mode: "list",
263
+ cachedResultName: "Sheet1",
264
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0"
265
+ },
266
+ options: {}
267
+ },
268
+ type: "n8n-nodes-base.googleSheetsTool",
269
+ typeVersion: 4.6,
270
+ position: [480, 288],
271
+ id: "ef476f0d-bdfe-4f41-8690-fb270ed82469",
272
+ name: "Read",
273
+ credentials: {}
274
+ },
275
+ {
276
+ parameters: {
277
+ operation: "delete",
278
+ documentId: {
279
+ __rl: true,
280
+ value: "1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8",
281
+ mode: "list",
282
+ cachedResultName: "Demo",
283
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=drivesdk"
284
+ },
285
+ sheetName: {
286
+ __rl: true,
287
+ value: "gid=0",
288
+ mode: "list",
289
+ cachedResultName: "Sheet1",
290
+ cachedResultUrl: "https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit#gid=0"
291
+ },
292
+ startIndex: "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start_Row_Number', ``, 'number') }}",
293
+ numberToDelete: "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Number_of_Rows_to_Delete', ``, 'number') }}"
294
+ },
295
+ type: "n8n-nodes-base.googleSheetsTool",
296
+ typeVersion: 4.6,
297
+ position: [864, 640],
298
+ id: "d0cca35f-9e74-4935-92e2-9b5e37f1c7f4",
299
+ name: "Delete",
300
+ credentials: {}
301
+ },
302
+ {
303
+ parameters: {
304
+ content: "### Readme\nThis agent uses tools to interact with a simple spreadsheet of orders.\n\n**Quick Start**\n1. Copy this [spreadsheet](https://docs.google.com/spreadsheets/d/1vbFb2dhys1VafAmX-hRtiyrEDgNKj_xaAA6ZmH09EL8/edit?usp=sharing) into your Google Drive.\n2. Open the **Read** tool and connect your Google account by creating a credential and selecting the spreadsheet.\n3. Ask the Agent to calculate the total in the amount column, you should see it use the **Read** tool followed by the **Calculator**.\n4. Try some other questions and see how the agent responds.\n5. Use what you've learned to connect the other tools in the **Next steps** section.\n\n---\n\n**Learn More**\n- [Google sheet tool documentation](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/?utm_source=n8n_app&utm_medium=node_settings_modal-credential_link&utm_campaign=n8n-nodes-base.googleSheetsTool)\n- [Calculator tool documentation](https://docs.n8n.io/integrations/builtin/cluster-nodes/sub-nodes/n8n-nodes-langchain.toolcalculator/)",
305
+ height: 460,
306
+ width: 440,
307
+ color: 4
308
+ },
309
+ type: "n8n-nodes-base.stickyNote",
310
+ position: [-576, -32],
311
+ typeVersion: 1,
312
+ id: "e57c1fe3-3ef9-447c-81e3-bdf8717706b9",
313
+ name: "Sticky Note"
314
+ },
315
+ {
316
+ parameters: {},
317
+ type: "@n8n/n8n-nodes-langchain.toolCalculator",
318
+ typeVersion: 1,
319
+ position: [624, 288],
320
+ id: "49030d8b-0818-455b-a472-356b620566c4",
321
+ name: "Calculator"
322
+ },
323
+ {
324
+ parameters: {
325
+ model: {
326
+ __rl: true,
327
+ mode: "list",
328
+ value: "gpt-4.1-mini"
329
+ },
330
+ options: {}
331
+ },
332
+ type: "@n8n/n8n-nodes-langchain.lmChatOpenAi",
333
+ typeVersion: 1.2,
334
+ position: [48, 288],
335
+ id: "67c78b12-b088-41b4-aeb4-70a7f056c9a7",
336
+ name: "Model",
337
+ credentials: {}
338
+ },
339
+ {
340
+ parameters: {
341
+ content: "## 🛠️ Tools",
342
+ height: 224,
343
+ width: 368,
344
+ color: 7
345
+ },
346
+ type: "n8n-nodes-base.stickyNote",
347
+ position: [400, 224],
348
+ typeVersion: 1,
349
+ id: "14c03c2d-e0ea-4958-94c1-3598e5c273d9",
350
+ name: "Sticky Note1"
351
+ },
352
+ {
353
+ parameters: {
354
+ content: "## 🛠️ Next steps\n\nConnect these tools to perform create, read and update actions on your order list.",
355
+ height: 320,
356
+ width: 592,
357
+ color: 7
358
+ },
359
+ type: "n8n-nodes-base.stickyNote",
360
+ position: [400, 496],
361
+ typeVersion: 1,
362
+ id: "a683cb43-e740-497e-bb01-edebfe39a832",
363
+ name: "Sticky Note2"
364
+ }
365
+ ],
366
+ connections: {
367
+ "When chat message received": { main: [[{
368
+ node: "AI Agent",
369
+ type: "main",
370
+ index: 0
371
+ }]] },
372
+ "Simple Memory": { ai_memory: [[{
373
+ node: "AI Agent",
374
+ type: "ai_memory",
375
+ index: 0
376
+ }]] },
377
+ Update: { ai_tool: [[]] },
378
+ Create: { ai_tool: [[]] },
379
+ Read: { ai_tool: [[{
380
+ node: "AI Agent",
381
+ type: "ai_tool",
382
+ index: 0
383
+ }]] },
384
+ Delete: { ai_tool: [[]] },
385
+ Calculator: { ai_tool: [[{
386
+ node: "AI Agent",
387
+ type: "ai_tool",
388
+ index: 0
389
+ }]] },
390
+ Model: { ai_languageModel: [[{
391
+ node: "AI Agent",
392
+ type: "ai_languageModel",
393
+ index: 0
394
+ }]] }
395
+ }
396
+ };
397
+ const AGENT_WITH_KNOWLEDGE = {
398
+ meta: { templateId: "035_template_onboarding-agent_with_knowledge" },
399
+ name: "3. Agent with knowledge",
400
+ nodes: [
401
+ {
402
+ parameters: {
403
+ formTitle: "Upload your data to test RAG",
404
+ formFields: { values: [{
405
+ fieldLabel: "Upload your file(s)",
406
+ fieldType: "file",
407
+ acceptFileTypes: ".pdf, .csv",
408
+ requiredField: true
409
+ }] },
410
+ options: {}
411
+ },
412
+ type: "n8n-nodes-base.formTrigger",
413
+ typeVersion: 2.2,
414
+ position: [-368, -304],
415
+ id: "e45eaedc-7ed9-4fd6-b79b-82a155734bce",
416
+ name: "Upload your file here",
417
+ webhookId: "82848bc4-5ea2-4e5a-8bb6-3c09b94a8c5d"
418
+ },
419
+ {
420
+ parameters: { options: {} },
421
+ type: "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
422
+ typeVersion: 1.2,
423
+ position: [288, 176],
424
+ id: "f9f1745a-9c6d-42cf-8f8b-19a1c4c91b77",
425
+ name: "Embeddings OpenAI"
426
+ },
427
+ {
428
+ parameters: {
429
+ dataType: "binary",
430
+ options: {}
431
+ },
432
+ type: "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
433
+ typeVersion: 1.1,
434
+ position: [80, -144],
435
+ id: "56da285f-9ad9-4cb4-a7d4-fb0f035e9071",
436
+ name: "Default Data Loader"
437
+ },
438
+ {
439
+ parameters: {
440
+ content: "### Readme\nLoad your data into a vector database with the 📚 **Load Data** flow, and then use your data as chat context with the 🐕 **Retriever** flow.\n\n**Quick start**\n1. Click on the `Execute Workflow` button to run the 📚 **Load Data** flow.\n2. Click on `Open Chat` button to run the 🐕 **Retriever** flow. Then ask a question about content from your document(s)\n\n\nFor more info, check [our docs on RAG in n8n](https://docs.n8n.io/advanced-ai/rag-in-n8n/).",
441
+ height: 300,
442
+ width: 440,
443
+ color: 4
444
+ },
445
+ type: "n8n-nodes-base.stickyNote",
446
+ position: [-896, -368],
447
+ typeVersion: 1,
448
+ id: "72cb28c7-572b-41ce-ba4c-2dd0dc80acb4",
449
+ name: "Sticky Note"
450
+ },
451
+ {
452
+ parameters: {
453
+ content: "### 📚 Load Data Flow",
454
+ height: 460,
455
+ width: 700,
456
+ color: 7
457
+ },
458
+ type: "n8n-nodes-base.stickyNote",
459
+ position: [-416, -368],
460
+ typeVersion: 1,
461
+ id: "075a4895-8b5f-487b-b7ff-8766aa1d1450",
462
+ name: "Sticky Note1"
463
+ },
464
+ {
465
+ parameters: {
466
+ mode: "insert",
467
+ memoryKey: {
468
+ __rl: true,
469
+ value: "vector_store_key",
470
+ mode: "list",
471
+ cachedResultName: "vector_store_key"
472
+ }
473
+ },
474
+ type: "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
475
+ typeVersion: 1.2,
476
+ position: [-176, -304],
477
+ id: "d24732cb-b6b4-4eb6-ad47-1f290f0da13d",
478
+ name: "Insert Data to Store"
479
+ },
480
+ {
481
+ parameters: {
482
+ mode: "retrieve-as-tool",
483
+ toolName: "knowledge_base",
484
+ toolDescription: "Use this knowledge base to answer questions from the user",
485
+ memoryKey: {
486
+ __rl: true,
487
+ mode: "list",
488
+ value: "vector_store_key"
489
+ }
490
+ },
491
+ type: "@n8n/n8n-nodes-langchain.vectorStoreInMemory",
492
+ typeVersion: 1.2,
493
+ position: [704, -96],
494
+ id: "8915e9b6-2a6c-472c-b043-78c1d77888ae",
495
+ name: "Query Data Tool"
496
+ },
497
+ {
498
+ parameters: { options: {} },
499
+ type: "@n8n/n8n-nodes-langchain.agent",
500
+ typeVersion: 2,
501
+ position: [704, -320],
502
+ id: "a2baaa1d-beee-40a2-8b5f-757b2b1aaca9",
503
+ name: "AI Agent"
504
+ },
505
+ {
506
+ parameters: { options: {} },
507
+ type: "@n8n/n8n-nodes-langchain.chatTrigger",
508
+ typeVersion: 1.1,
509
+ position: [480, -320],
510
+ id: "c0a831dd-362c-4352-9409-bfe8c2e6f5ab",
511
+ name: "When chat message received",
512
+ webhookId: "4091fa09-fb9a-4039-9411-7104d213f601"
513
+ },
514
+ {
515
+ parameters: {
516
+ model: {
517
+ __rl: true,
518
+ mode: "list",
519
+ value: "gpt-4o-mini"
520
+ },
521
+ options: {}
522
+ },
523
+ type: "@n8n/n8n-nodes-langchain.lmChatOpenAi",
524
+ typeVersion: 1.2,
525
+ position: [480, -96],
526
+ id: "2ba103b5-7783-49a7-9693-a156383ca697",
527
+ name: "OpenAI Chat Model"
528
+ },
529
+ {
530
+ parameters: {
531
+ content: "### 🐕 2. Retriever Flow",
532
+ height: 460,
533
+ width: 680,
534
+ color: 7
535
+ },
536
+ type: "n8n-nodes-base.stickyNote",
537
+ position: [368, -368],
538
+ typeVersion: 1,
539
+ id: "729f9492-3811-43d8-8230-d9ad78d910f7",
540
+ name: "Sticky Note2"
541
+ },
542
+ {
543
+ parameters: {
544
+ content: "### Embeddings\n\nThe Insert and Retrieve operation use the same embedding node.\n\nThis is to ensure that they are using the **exact same embeddings and settings**.\n\nDifferent embeddings might not work at all, or have unintended consequences.\n",
545
+ height: 240,
546
+ width: 320,
547
+ color: 4
548
+ },
549
+ type: "n8n-nodes-base.stickyNote",
550
+ position: [432, 144],
551
+ typeVersion: 1,
552
+ id: "20a6b946-5588-4df2-b1f6-952fc82d166c",
553
+ name: "Sticky Note3"
554
+ }
555
+ ],
556
+ connections: {
557
+ "Upload your file here": { main: [[{
558
+ node: "Insert Data to Store",
559
+ type: "main",
560
+ index: 0
561
+ }]] },
562
+ "Embeddings OpenAI": { ai_embedding: [[{
563
+ node: "Insert Data to Store",
564
+ type: "ai_embedding",
565
+ index: 0
566
+ }, {
567
+ node: "Query Data Tool",
568
+ type: "ai_embedding",
569
+ index: 0
570
+ }]] },
571
+ "Default Data Loader": { ai_document: [[{
572
+ node: "Insert Data to Store",
573
+ type: "ai_document",
574
+ index: 0
575
+ }]] },
576
+ "Query Data Tool": { ai_tool: [[{
577
+ node: "AI Agent",
578
+ type: "ai_tool",
579
+ index: 0
580
+ }]] },
581
+ "When chat message received": { main: [[{
582
+ node: "AI Agent",
583
+ type: "main",
584
+ index: 0
585
+ }]] },
586
+ "OpenAI Chat Model": { ai_languageModel: [[{
587
+ node: "AI Agent",
588
+ type: "ai_languageModel",
589
+ index: 0
590
+ }]] }
591
+ },
592
+ pinData: {}
593
+ };
594
+ var LOCAL_STORAGE_SETTING_KEY = "N8N_AI_TEMPLATES_STARTER_COLLECTION_CALL_OUT_DISMISSED";
595
+ const useAITemplatesStarterCollectionStore = defineStore(STORES.AI_TEMPLATES_STARTER_COLLECTION, () => {
596
+ const telemetry = useTelemetry();
597
+ const i18n = useI18n();
598
+ const foldersStore = useFoldersStore();
599
+ const workflowsStore = useWorkflowsStore();
600
+ const posthogStore = usePostHog();
601
+ const settingsStore = useSettingsStore();
602
+ const calloutDismissedRef = useLocalStorage(LOCAL_STORAGE_SETTING_KEY, false);
603
+ const calloutDismissed = computed(() => calloutDismissedRef.value);
604
+ const isFeatureEnabled = computed(() => {
605
+ return settingsStore.isCloudDeployment && posthogStore.getVariant(TEMPLATE_ONBOARDING_EXPERIMENT.name) === TEMPLATE_ONBOARDING_EXPERIMENT.variantStarterPack;
606
+ });
607
+ const dismissCallout = () => {
608
+ calloutDismissedRef.value = true;
609
+ };
610
+ const createStarterWorkflows = async (projectId, parentFolderId) => {
611
+ const collectionFolder = await foldersStore.createFolder(i18n.baseText("workflows.ai.starter.collection.folder.name"), projectId, parentFolderId);
612
+ const agentWitheMemory = {
613
+ ...AGENT_WITH_MEMORY,
614
+ parentFolderId: collectionFolder.id
615
+ };
616
+ const agentWithTools = {
617
+ ...AGENT_WITH_TOOLS,
618
+ parentFolderId: collectionFolder.id
619
+ };
620
+ const agentWithKnowledge = {
621
+ ...AGENT_WITH_KNOWLEDGE,
622
+ parentFolderId: collectionFolder.id
623
+ };
624
+ await workflowsStore.createNewWorkflow(agentWithKnowledge);
625
+ await workflowsStore.createNewWorkflow(agentWithTools);
626
+ await workflowsStore.createNewWorkflow(agentWitheMemory);
627
+ dismissCallout();
628
+ return collectionFolder;
629
+ };
630
+ const trackUserCreatedStarterCollection = (source) => {
631
+ telemetry.track("User created AI templates starter collection", { source });
632
+ };
633
+ const trackUserDismissedCallout = () => {
634
+ telemetry.track("User dismissed AI templates starter collection callout");
635
+ };
636
+ const trackUserOpenedWorkflow = (template) => {
637
+ telemetry.track("User opened AI template workflow", { template });
638
+ };
639
+ const trackUserExecutedWorkflow = (template, status) => {
640
+ telemetry.track("User executed AI template", {
641
+ template,
642
+ status
643
+ });
644
+ };
645
+ return {
646
+ isFeatureEnabled,
647
+ calloutDismissed,
648
+ dismissCallout,
649
+ createStarterWorkflows,
650
+ trackUserCreatedStarterCollection,
651
+ trackUserDismissedCallout,
652
+ trackUserOpenedWorkflow,
653
+ trackUserExecutedWorkflow
654
+ };
655
+ });
656
+ export { useAITemplatesStarterCollectionStore as t };
@@ -0,0 +1,51 @@
1
+ import { C as computed, It as ref } from "./vue.runtime.esm-bundler-tP5dCd7J.js";
2
+ import { Sc as updateApiKey, bc as getApiKeyScopes, vc as createApiKey, wc as STORES, xc as getApiKeys, yc as deleteApiKey } from "./builder.store-Czk2ipDE.js";
3
+ import { k as defineStore, r as useRootStore } from "./_baseOrderBy-N8Be_6z6.js";
4
+ const useApiKeysStore = defineStore(STORES.API_KEYS, () => {
5
+ const apiKeys = ref([]);
6
+ const availableScopes = ref([]);
7
+ const rootStore = useRootStore();
8
+ const apiKeysSortByCreationDate = computed(() => apiKeys.value.sort((a, b) => b.createdAt.localeCompare(a.createdAt)));
9
+ const apiKeysById = computed(() => {
10
+ return apiKeys.value.reduce((acc, apiKey) => {
11
+ acc[apiKey.id] = apiKey;
12
+ return acc;
13
+ }, {});
14
+ });
15
+ const getApiKeyAvailableScopes = async () => {
16
+ availableScopes.value = await getApiKeyScopes(rootStore.restApiContext);
17
+ return availableScopes.value;
18
+ };
19
+ const getAndCacheApiKeys = async () => {
20
+ if (apiKeys.value.length) return apiKeys.value;
21
+ apiKeys.value = await getApiKeys(rootStore.restApiContext);
22
+ return apiKeys.value;
23
+ };
24
+ const createApiKey$1 = async (payload) => {
25
+ const newApiKey = await createApiKey(rootStore.restApiContext, payload);
26
+ const { rawApiKey,...rest } = newApiKey;
27
+ apiKeys.value.push(rest);
28
+ return newApiKey;
29
+ };
30
+ const deleteApiKey$1 = async (id) => {
31
+ await deleteApiKey(rootStore.restApiContext, id);
32
+ apiKeys.value = apiKeys.value.filter((apiKey) => apiKey.id !== id);
33
+ };
34
+ const updateApiKey$1 = async (id, payload) => {
35
+ await updateApiKey(rootStore.restApiContext, id, payload);
36
+ apiKeysById.value[id].label = payload.label;
37
+ apiKeysById.value[id].scopes = payload.scopes;
38
+ };
39
+ return {
40
+ getAndCacheApiKeys,
41
+ createApiKey: createApiKey$1,
42
+ deleteApiKey: deleteApiKey$1,
43
+ updateApiKey: updateApiKey$1,
44
+ getApiKeyAvailableScopes,
45
+ apiKeysSortByCreationDate,
46
+ apiKeysById,
47
+ apiKeys,
48
+ availableScopes
49
+ };
50
+ });
51
+ export { useApiKeysStore as t };