n8n 2.39.4 → 2.40.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 (1110) hide show
  1. package/dist/agent-library-bundle.js +178 -11
  2. package/dist/auth/auth.service.d.ts +5 -0
  3. package/dist/auth/auth.service.js +35 -2
  4. package/dist/auth/auth.service.js.map +1 -1
  5. package/dist/binary-data/binary-data-access.service.d.ts +1 -1
  6. package/dist/binary-data/binary-data-access.service.js +15 -6
  7. package/dist/binary-data/binary-data-access.service.js.map +1 -1
  8. package/dist/binary-data/database.manager.js +1 -1
  9. package/dist/binary-data/database.manager.js.map +1 -1
  10. package/dist/build.tsbuildinfo +1 -1
  11. package/dist/commands/base-command.d.ts +1 -0
  12. package/dist/commands/base-command.js +11 -1
  13. package/dist/commands/base-command.js.map +1 -1
  14. package/dist/commands/execute-batch.js.map +1 -1
  15. package/dist/commands/list/workflow.js +1 -4
  16. package/dist/commands/list/workflow.js.map +1 -1
  17. package/dist/commands/publish/workflow.js +1 -5
  18. package/dist/commands/publish/workflow.js.map +1 -1
  19. package/dist/commands/start.js +1 -7
  20. package/dist/commands/start.js.map +1 -1
  21. package/dist/commands/ttwf/generate.js +1 -4
  22. package/dist/commands/ttwf/generate.js.map +1 -1
  23. package/dist/commands/unpublish/workflow.js +1 -5
  24. package/dist/commands/unpublish/workflow.js.map +1 -1
  25. package/dist/commands/update/workflow.js +1 -5
  26. package/dist/commands/update/workflow.js.map +1 -1
  27. package/dist/controller.registry.d.ts +1 -1
  28. package/dist/controller.registry.js +3 -3
  29. package/dist/controller.registry.js.map +1 -1
  30. package/dist/controllers/ai-preference.controller.d.ts +17 -0
  31. package/dist/controllers/ai-preference.controller.js +78 -0
  32. package/dist/controllers/ai-preference.controller.js.map +1 -0
  33. package/dist/controllers/change-email.controller.d.ts +31 -0
  34. package/dist/controllers/change-email.controller.js +164 -0
  35. package/dist/controllers/change-email.controller.js.map +1 -0
  36. package/dist/controllers/me.controller.d.ts +3 -2
  37. package/dist/controllers/me.controller.js +10 -42
  38. package/dist/controllers/me.controller.js.map +1 -1
  39. package/dist/credentials/dynamic-credentials-proxy.js.map +1 -1
  40. package/dist/credentials/executing-user-identifier-proxy.d.ts +7 -0
  41. package/dist/credentials/executing-user-identifier-proxy.js +25 -0
  42. package/dist/credentials/executing-user-identifier-proxy.js.map +1 -0
  43. package/dist/credentials/executing-user-identifier.interface.d.ts +4 -0
  44. package/dist/credentials/executing-user-identifier.interface.js +3 -0
  45. package/dist/credentials/executing-user-identifier.interface.js.map +1 -0
  46. package/dist/credentials/mock-node-types.d.ts +5 -0
  47. package/dist/credentials/mock-node-types.js +34 -0
  48. package/dist/credentials/mock-node-types.js.map +1 -0
  49. package/dist/credentials-helper.js +5 -27
  50. package/dist/credentials-helper.js.map +1 -1
  51. package/dist/deprecation/deprecation.service.js +6 -2
  52. package/dist/deprecation/deprecation.service.js.map +1 -1
  53. package/dist/encryption/key-manager.service.js +3 -1
  54. package/dist/encryption/key-manager.service.js.map +1 -1
  55. package/dist/encryption/key-rotation-flag.js +2 -1
  56. package/dist/encryption/key-rotation-flag.js.map +1 -1
  57. package/dist/errors/pre-execute-blocked.error.d.ts +6 -0
  58. package/dist/errors/pre-execute-blocked.error.js +15 -0
  59. package/dist/errors/pre-execute-blocked.error.js.map +1 -0
  60. package/dist/eventbus/event-message-classes/event-message-audit.js.map +1 -1
  61. package/dist/eventbus/event-message-classes/event-message-generic.js.map +1 -1
  62. package/dist/eventbus/event-message-classes/event-message-mcp.js.map +1 -1
  63. package/dist/eventbus/event-message-classes/event-message-workflow.js.map +1 -1
  64. package/dist/eventbus/event-message-classes/index.d.ts +4 -2
  65. package/dist/eventbus/event-message-classes/index.js +6 -1
  66. package/dist/eventbus/event-message-classes/index.js.map +1 -1
  67. package/dist/eventbus/message-event-bus/message-event-bus.d.ts +3 -1
  68. package/dist/eventbus/message-event-bus/message-event-bus.js +5 -3
  69. package/dist/eventbus/message-event-bus/message-event-bus.js.map +1 -1
  70. package/dist/eventbus/message-event-bus-writer/message-event-bus-log-writer.js.map +1 -1
  71. package/dist/events/maps/relay.event-map.d.ts +24 -2
  72. package/dist/events/relays/log-streaming.event-relay.d.ts +2 -0
  73. package/dist/events/relays/log-streaming.event-relay.js +9 -0
  74. package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
  75. package/dist/events/relays/telemetry.event-relay.d.ts +6 -0
  76. package/dist/events/relays/telemetry.event-relay.js +88 -1
  77. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  78. package/dist/execution-lifecycle/execution-lifecycle-hooks.js +22 -10
  79. package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
  80. package/dist/execution-lifecycle/restore-binary-data-id.js +2 -2
  81. package/dist/execution-lifecycle/restore-binary-data-id.js.map +1 -1
  82. package/dist/executions/enqueued-execution-recovery.service.d.ts +3 -3
  83. package/dist/executions/enqueued-execution-recovery.service.js +6 -6
  84. package/dist/executions/enqueued-execution-recovery.service.js.map +1 -1
  85. package/dist/executions/execution-crash.service.d.ts +12 -0
  86. package/dist/executions/execution-crash.service.js +43 -0
  87. package/dist/executions/execution-crash.service.js.map +1 -0
  88. package/dist/executions/execution-recovery.service.d.ts +3 -1
  89. package/dist/executions/execution-recovery.service.js +6 -4
  90. package/dist/executions/execution-recovery.service.js.map +1 -1
  91. package/dist/executions/execution.service.js.map +1 -1
  92. package/dist/executions/pre-execution-checks/credentials-permission-checker.d.ts +5 -2
  93. package/dist/executions/pre-execution-checks/credentials-permission-checker.js +20 -29
  94. package/dist/executions/pre-execution-checks/credentials-permission-checker.js.map +1 -1
  95. package/dist/executions/pre-execution-checks/index.d.ts +1 -0
  96. package/dist/executions/pre-execution-checks/index.js +3 -1
  97. package/dist/executions/pre-execution-checks/index.js.map +1 -1
  98. package/dist/executions/pre-execution-checks/workflow-pre-execute.d.ts +16 -0
  99. package/dist/executions/pre-execution-checks/workflow-pre-execute.js +96 -0
  100. package/dist/executions/pre-execution-checks/workflow-pre-execute.js.map +1 -0
  101. package/dist/instance-settings-loader/loaders/sso/provisioning.instance-settings-loader.js +25 -3
  102. package/dist/instance-settings-loader/loaders/sso/provisioning.instance-settings-loader.js.map +1 -1
  103. package/dist/license/license-renewal.task.d.ts +13 -0
  104. package/dist/license/license-renewal.task.js +38 -0
  105. package/dist/license/license-renewal.task.js.map +1 -0
  106. package/dist/license.d.ts +1 -2
  107. package/dist/license.js +5 -19
  108. package/dist/license.js.map +1 -1
  109. package/dist/load-nodes-and-credentials.d.ts +1 -0
  110. package/dist/load-nodes-and-credentials.js +7 -2
  111. package/dist/load-nodes-and-credentials.js.map +1 -1
  112. package/dist/metrics/prometheus/encryption-metrics.service.d.ts +10 -0
  113. package/dist/metrics/prometheus/encryption-metrics.service.js +55 -0
  114. package/dist/metrics/prometheus/encryption-metrics.service.js.map +1 -0
  115. package/dist/metrics/prometheus/prometheus.service.d.ts +2 -1
  116. package/dist/metrics/prometheus/prometheus.service.js +4 -2
  117. package/dist/metrics/prometheus/prometheus.service.js.map +1 -1
  118. package/dist/modules/agents/agent-chat.controller.d.ts +11 -2
  119. package/dist/modules/agents/agent-chat.controller.js +42 -2
  120. package/dist/modules/agents/agent-chat.controller.js.map +1 -1
  121. package/dist/modules/agents/agent-checkpoint-pruning.task.d.ts +14 -0
  122. package/dist/modules/agents/agent-checkpoint-pruning.task.js +38 -0
  123. package/dist/modules/agents/agent-checkpoint-pruning.task.js.map +1 -0
  124. package/dist/modules/agents/agent-config.service.d.ts +7 -7
  125. package/dist/modules/agents/agent-config.service.js +13 -3
  126. package/dist/modules/agents/agent-config.service.js.map +1 -1
  127. package/dist/modules/agents/agent-custom-tools.service.d.ts +3 -1
  128. package/dist/modules/agents/agent-custom-tools.service.js +6 -2
  129. package/dist/modules/agents/agent-custom-tools.service.js.map +1 -1
  130. package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +34 -2
  131. package/dist/modules/agents/agent-execution-orchestrator.service.js +143 -16
  132. package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
  133. package/dist/modules/agents/agent-execution-update-broadcaster.d.ts +6 -1
  134. package/dist/modules/agents/agent-execution-update-broadcaster.js +34 -2
  135. package/dist/modules/agents/agent-execution-update-broadcaster.js.map +1 -1
  136. package/dist/modules/agents/agent-execution.service.d.ts +5 -2
  137. package/dist/modules/agents/agent-execution.service.js +2 -1
  138. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  139. package/dist/modules/agents/agent-integration-management.service.d.ts +2 -0
  140. package/dist/modules/agents/agent-integration-management.service.js +4 -0
  141. package/dist/modules/agents/agent-integration-management.service.js.map +1 -1
  142. package/dist/modules/agents/agent-integrations.controller.d.ts +3 -1
  143. package/dist/modules/agents/agent-integrations.controller.js +7 -5
  144. package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
  145. package/dist/modules/agents/agent-interrupted-execution-sweeper.d.ts +3 -1
  146. package/dist/modules/agents/agent-interrupted-execution-sweeper.js +10 -2
  147. package/dist/modules/agents/agent-interrupted-execution-sweeper.js.map +1 -1
  148. package/dist/modules/agents/agent-knowledge-commands.js +2 -2
  149. package/dist/modules/agents/agent-knowledge-commands.js.map +1 -1
  150. package/dist/modules/agents/agent-modification-telemetry.service.d.ts +1 -0
  151. package/dist/modules/agents/agent-modification-telemetry.service.js.map +1 -1
  152. package/dist/modules/agents/agent-publish.controller.d.ts +8 -0
  153. package/dist/modules/agents/agent-publish.controller.js +4 -4
  154. package/dist/modules/agents/agent-publish.controller.js.map +1 -1
  155. package/dist/modules/agents/agent-publish.service.d.ts +7 -5
  156. package/dist/modules/agents/agent-publish.service.js +12 -6
  157. package/dist/modules/agents/agent-publish.service.js.map +1 -1
  158. package/dist/modules/agents/agent-runnable-state.service.d.ts +2 -0
  159. package/dist/modules/agents/agent-runnable-state.service.js +8 -0
  160. package/dist/modules/agents/agent-runnable-state.service.js.map +1 -1
  161. package/dist/modules/agents/agent-runtime-cache.service.d.ts +3 -0
  162. package/dist/modules/agents/agent-runtime-cache.service.js +8 -3
  163. package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
  164. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +7 -1
  165. package/dist/modules/agents/agent-runtime-reconstruction.service.js +34 -11
  166. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  167. package/dist/modules/agents/agent-sandbox-principal.d.ts +2 -2
  168. package/dist/modules/agents/agent-sandbox-principal.js +2 -2
  169. package/dist/modules/agents/agent-sandbox-principal.js.map +1 -1
  170. package/dist/modules/agents/agent-sandbox-runtime.service.js +9 -8
  171. package/dist/modules/agents/agent-sandbox-runtime.service.js.map +1 -1
  172. package/dist/modules/agents/agent-session-langsmith-export.service.js +110 -10
  173. package/dist/modules/agents/agent-session-langsmith-export.service.js.map +1 -1
  174. package/dist/modules/agents/agent-skills.service.d.ts +4 -2
  175. package/dist/modules/agents/agent-skills.service.js +30 -6
  176. package/dist/modules/agents/agent-skills.service.js.map +1 -1
  177. package/dist/modules/agents/agent-sse-stream.js.map +1 -1
  178. package/dist/modules/agents/agent-task.service.d.ts +6 -2
  179. package/dist/modules/agents/agent-task.service.js +79 -91
  180. package/dist/modules/agents/agent-task.service.js.map +1 -1
  181. package/dist/modules/agents/agent-tasks.controller.js +3 -0
  182. package/dist/modules/agents/agent-tasks.controller.js.map +1 -1
  183. package/dist/modules/agents/agent-test-chat.service.js +8 -1
  184. package/dist/modules/agents/agent-test-chat.service.js.map +1 -1
  185. package/dist/modules/agents/agent-test-run.service.d.ts +3 -1
  186. package/dist/modules/agents/agent-test-run.service.js +5 -3
  187. package/dist/modules/agents/agent-test-run.service.js.map +1 -1
  188. package/dist/modules/agents/agent-update-broadcaster.d.ts +22 -0
  189. package/dist/modules/agents/agent-update-broadcaster.js +74 -0
  190. package/dist/modules/agents/agent-update-broadcaster.js.map +1 -0
  191. package/dist/modules/agents/agent-validation.service.js.map +1 -1
  192. package/dist/modules/agents/agent-workflow-execution.service.d.ts +3 -1
  193. package/dist/modules/agents/agent-workflow-execution.service.js +7 -3
  194. package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
  195. package/dist/modules/agents/agent-workflow-tool-resume.service.js +1 -0
  196. package/dist/modules/agents/agent-workflow-tool-resume.service.js.map +1 -1
  197. package/dist/modules/agents/agents-config.controller.d.ts +214 -219
  198. package/dist/modules/agents/agents-config.controller.js +7 -2
  199. package/dist/modules/agents/agents-config.controller.js.map +1 -1
  200. package/dist/modules/agents/agents-skills.controller.js +6 -2
  201. package/dist/modules/agents/agents-skills.controller.js.map +1 -1
  202. package/dist/modules/agents/agents.controller.d.ts +4 -0
  203. package/dist/modules/agents/agents.controller.js +12 -1
  204. package/dist/modules/agents/agents.controller.js.map +1 -1
  205. package/dist/modules/agents/agents.module.d.ts +2 -1
  206. package/dist/modules/agents/agents.module.js +25 -2
  207. package/dist/modules/agents/agents.module.js.map +1 -1
  208. package/dist/modules/agents/agents.service.d.ts +9 -4
  209. package/dist/modules/agents/agents.service.js +29 -7
  210. package/dist/modules/agents/agents.service.js.map +1 -1
  211. package/dist/modules/agents/background/agent-background-job.service.d.ts +16 -3
  212. package/dist/modules/agents/background/agent-background-job.service.js +105 -6
  213. package/dist/modules/agents/background/agent-background-job.service.js.map +1 -1
  214. package/dist/modules/agents/background/agent-wake.service.d.ts +47 -0
  215. package/dist/modules/agents/background/agent-wake.service.js +237 -0
  216. package/dist/modules/agents/background/agent-wake.service.js.map +1 -0
  217. package/dist/modules/agents/background/background-job-messages.d.ts +7 -0
  218. package/dist/modules/agents/background/background-job-messages.js +42 -0
  219. package/dist/modules/agents/background/background-job-messages.js.map +1 -0
  220. package/dist/modules/agents/background/background-job-tools.js +45 -12
  221. package/dist/modules/agents/background/background-job-tools.js.map +1 -1
  222. package/dist/modules/agents/background/sub-agent-background-runner.d.ts +1 -1
  223. package/dist/modules/agents/background/sub-agent-background-runner.js +3 -3
  224. package/dist/modules/agents/background/sub-agent-background-runner.js.map +1 -1
  225. package/dist/modules/agents/builder/agent-builder-preview-path.js +1 -1
  226. package/dist/modules/agents/builder/agent-builder-preview-path.js.map +1 -1
  227. package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +3 -2
  228. package/dist/modules/agents/builder/agents-builder-tools.service.js +29 -17
  229. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  230. package/dist/modules/agents/builder/agents-builder.service.d.ts +4 -1
  231. package/dist/modules/agents/builder/agents-builder.service.js +12 -3
  232. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  233. package/dist/modules/agents/builder/builder-model-live-lookup.service.d.ts +7 -2
  234. package/dist/modules/agents/builder/builder-model-live-lookup.service.js +21 -3
  235. package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
  236. package/dist/modules/agents/builder/format-preview-context.js +3 -0
  237. package/dist/modules/agents/builder/format-preview-context.js.map +1 -1
  238. package/dist/modules/agents/builder/get-resource-locator-options.tool.d.ts +2 -2
  239. package/dist/modules/agents/builder/prompts/config-rules.prompt.js +2 -3
  240. package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
  241. package/dist/modules/agents/builder/skills/external-services.skill.js +2 -2
  242. package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
  243. package/dist/modules/agents/builder/skills/memory.skill.js +4 -4
  244. package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
  245. package/dist/modules/agents/builder/skills/target-skills.skill.js +4 -2
  246. package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
  247. package/dist/modules/agents/entities/agent-background-job.entity.d.ts +3 -0
  248. package/dist/modules/agents/entities/agent-background-job.entity.js +14 -1
  249. package/dist/modules/agents/entities/agent-background-job.entity.js.map +1 -1
  250. package/dist/modules/agents/entities/agent-execution.entity.d.ts +2 -0
  251. package/dist/modules/agents/entities/agent-execution.entity.js +4 -0
  252. package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
  253. package/dist/modules/agents/entities/agent-memory-entry-candidate.entity.d.ts +15 -0
  254. package/dist/modules/agents/entities/agent-memory-entry-candidate.entity.js +70 -0
  255. package/dist/modules/agents/entities/agent-memory-entry-candidate.entity.js.map +1 -0
  256. package/dist/modules/agents/entities/agent-memory-entry-source.entity.d.ts +2 -1
  257. package/dist/modules/agents/entities/agent-memory-entry-source.entity.js +11 -2
  258. package/dist/modules/agents/entities/agent-memory-entry-source.entity.js.map +1 -1
  259. package/dist/modules/agents/entities/agent-message.entity.js +2 -1
  260. package/dist/modules/agents/entities/agent-message.entity.js.map +1 -1
  261. package/dist/modules/agents/episodic-memory.d.ts +2 -2
  262. package/dist/modules/agents/episodic-memory.js +1 -4
  263. package/dist/modules/agents/episodic-memory.js.map +1 -1
  264. package/dist/modules/agents/execution-recorder.d.ts +6 -2
  265. package/dist/modules/agents/execution-recorder.js +17 -6
  266. package/dist/modules/agents/execution-recorder.js.map +1 -1
  267. package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +3 -1
  268. package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +5 -4
  269. package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
  270. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +5 -1
  271. package/dist/modules/agents/integrations/agent-chat-bridge.js +53 -13
  272. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  273. package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +5 -3
  274. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +35 -25
  275. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
  276. package/dist/modules/agents/integrations/channel-rate-limit.d.ts +14 -0
  277. package/dist/modules/agents/integrations/channel-rate-limit.guard.d.ts +5 -0
  278. package/dist/modules/agents/integrations/channel-rate-limit.guard.js +40 -0
  279. package/dist/modules/agents/integrations/channel-rate-limit.guard.js.map +1 -0
  280. package/dist/modules/agents/integrations/channel-rate-limit.js +69 -0
  281. package/dist/modules/agents/integrations/channel-rate-limit.js.map +1 -0
  282. package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
  283. package/dist/modules/agents/integrations/component-mapper.js.map +1 -1
  284. package/dist/modules/agents/integrations/cron-validation.d.ts +2 -1
  285. package/dist/modules/agents/integrations/cron-validation.js +10 -1
  286. package/dist/modules/agents/integrations/cron-validation.js.map +1 -1
  287. package/dist/modules/agents/integrations/integration-action-executor.d.ts +3 -1
  288. package/dist/modules/agents/integrations/integration-action-executor.js +20 -4
  289. package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
  290. package/dist/modules/agents/integrations/integration-context-query-executor.d.ts +3 -1
  291. package/dist/modules/agents/integrations/integration-context-query-executor.js +20 -4
  292. package/dist/modules/agents/integrations/integration-context-query-executor.js.map +1 -1
  293. package/dist/modules/agents/integrations/integration-error-codes.d.ts +1 -0
  294. package/dist/modules/agents/integrations/integration-error-codes.js +1 -0
  295. package/dist/modules/agents/integrations/integration-error-codes.js.map +1 -1
  296. package/dist/modules/agents/integrations/integration-helpers.d.ts +1 -0
  297. package/dist/modules/agents/integrations/integration-helpers.js +4 -0
  298. package/dist/modules/agents/integrations/integration-helpers.js.map +1 -1
  299. package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
  300. package/dist/modules/agents/integrations/n8n-checkpoint-storage.d.ts +3 -14
  301. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js +7 -64
  302. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js.map +1 -1
  303. package/dist/modules/agents/integrations/n8n-memory.d.ts +14 -10
  304. package/dist/modules/agents/integrations/n8n-memory.js +119 -82
  305. package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
  306. package/dist/modules/agents/integrations/platforms/discord-integration.js +1 -1
  307. package/dist/modules/agents/integrations/platforms/discord-integration.js.map +1 -1
  308. package/dist/modules/agents/integrations/platforms/slack/slack-operations.js.map +1 -1
  309. package/dist/modules/agents/integrations/recording/channel-integration-recorder.js +2 -9
  310. package/dist/modules/agents/integrations/recording/channel-integration-recorder.js.map +1 -1
  311. package/dist/modules/agents/json-config/credential-field-mapping.js.map +1 -1
  312. package/dist/modules/agents/json-config/from-json-config.d.ts +1 -0
  313. package/dist/modules/agents/json-config/from-json-config.js +14 -25
  314. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  315. package/dist/modules/agents/json-config/model-config.js.map +1 -1
  316. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +0 -1
  317. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -1
  318. package/dist/modules/agents/model-stream-stall-options.d.ts +3 -0
  319. package/dist/modules/agents/model-stream-stall-options.js +21 -0
  320. package/dist/modules/agents/model-stream-stall-options.js.map +1 -0
  321. package/dist/modules/agents/repositories/agent-background-job.repository.d.ts +8 -0
  322. package/dist/modules/agents/repositories/agent-background-job.repository.js +44 -1
  323. package/dist/modules/agents/repositories/agent-background-job.repository.js.map +1 -1
  324. package/dist/modules/agents/repositories/agent-execution.repository.d.ts +1 -0
  325. package/dist/modules/agents/repositories/agent-execution.repository.js +3 -0
  326. package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
  327. package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.d.ts +22 -0
  328. package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js +75 -0
  329. package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js.map +1 -0
  330. package/dist/modules/agents/repositories/agent-message.repository.d.ts +1 -0
  331. package/dist/modules/agents/repositories/agent-message.repository.js +11 -0
  332. package/dist/modules/agents/repositories/agent-message.repository.js.map +1 -1
  333. package/dist/modules/agents/repositories/agent.repository.d.ts +2 -0
  334. package/dist/modules/agents/repositories/agent.repository.js +14 -0
  335. package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
  336. package/dist/modules/agents/scheduling/agent-task-job-registrar.d.ts +23 -0
  337. package/dist/modules/agents/scheduling/agent-task-job-registrar.js +146 -0
  338. package/dist/modules/agents/scheduling/agent-task-job-registrar.js.map +1 -0
  339. package/dist/modules/agents/scheduling/agent-task-job.d.ts +7 -0
  340. package/dist/modules/agents/scheduling/agent-task-job.js +12 -0
  341. package/dist/modules/agents/scheduling/agent-task-job.js.map +1 -0
  342. package/dist/modules/agents/scheduling/agent-task-task-handler.d.ts +13 -0
  343. package/dist/modules/agents/scheduling/agent-task-task-handler.js +68 -0
  344. package/dist/modules/agents/scheduling/agent-task-task-handler.js.map +1 -0
  345. package/dist/modules/agents/scheduling/task-timezone.d.ts +2 -0
  346. package/dist/modules/agents/scheduling/task-timezone.js +13 -0
  347. package/dist/modules/agents/scheduling/task-timezone.js.map +1 -0
  348. package/dist/modules/agents/sub-agents/sub-agent-runner.d.ts +3 -1
  349. package/dist/modules/agents/sub-agents/sub-agent-runner.js +14 -5
  350. package/dist/modules/agents/sub-agents/sub-agent-runner.js.map +1 -1
  351. package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
  352. package/dist/modules/agents/tools/workflow-tool-factory.d.ts +1 -0
  353. package/dist/modules/agents/tools/workflow-tool-factory.js +35 -6
  354. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  355. package/dist/modules/agents/utils/agent-config-hash.d.ts +4 -1
  356. package/dist/modules/agents/utils/agent-config-hash.js +10 -3
  357. package/dist/modules/agents/utils/agent-config-hash.js.map +1 -1
  358. package/dist/modules/agents/utils/agent-memory-scope.d.ts +7 -0
  359. package/dist/modules/agents/utils/agent-memory-scope.js +30 -1
  360. package/dist/modules/agents/utils/agent-memory-scope.js.map +1 -1
  361. package/dist/modules/agents/utils/execution-to-message-mapper.d.ts +1 -1
  362. package/dist/modules/agents/utils/execution-to-message-mapper.js +11 -7
  363. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  364. package/dist/modules/agents/utils/mcp-attribution.d.ts +4 -0
  365. package/dist/modules/agents/utils/mcp-attribution.js +34 -0
  366. package/dist/modules/agents/utils/mcp-attribution.js.map +1 -0
  367. package/dist/modules/breaking-changes/rules/index.d.ts +4 -1
  368. package/dist/modules/breaking-changes/rules/index.js +4 -1
  369. package/dist/modules/breaking-changes/rules/index.js.map +1 -1
  370. package/dist/modules/breaking-changes/rules/v3/chat-hub-deprecated.rule.d.ts +9 -0
  371. package/dist/modules/breaking-changes/rules/v3/chat-hub-deprecated.rule.js +59 -0
  372. package/dist/modules/breaking-changes/rules/v3/chat-hub-deprecated.rule.js.map +1 -0
  373. package/dist/modules/breaking-changes/rules/v3/external-secrets-project-roles-default.rule.d.ts +12 -0
  374. package/dist/modules/breaking-changes/rules/v3/external-secrets-project-roles-default.rule.js +70 -0
  375. package/dist/modules/breaking-changes/rules/v3/external-secrets-project-roles-default.rule.js.map +1 -0
  376. package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.d.ts +9 -0
  377. package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.js +56 -0
  378. package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.js.map +1 -0
  379. package/dist/modules/breaking-changes/rules/v3/{task-runner-internal-mode.rule.d.ts → storage-path-rename.rule.d.ts} +4 -1
  380. package/dist/modules/breaking-changes/rules/v3/storage-path-rename.rule.js +87 -0
  381. package/dist/modules/breaking-changes/rules/v3/storage-path-rename.rule.js.map +1 -0
  382. package/dist/modules/chat-hub/chat-hub-extractor.d.ts +3 -1
  383. package/dist/modules/chat-hub/chat-hub-extractor.js +21 -14
  384. package/dist/modules/chat-hub/chat-hub-extractor.js.map +1 -1
  385. package/dist/modules/chat-hub/chat-hub.attachment.service.js +1 -1
  386. package/dist/modules/chat-hub/chat-hub.attachment.service.js.map +1 -1
  387. package/dist/modules/data-table/data-table-aggregate.controller.js +0 -2
  388. package/dist/modules/data-table/data-table-aggregate.controller.js.map +1 -1
  389. package/dist/modules/data-table/data-table-aggregate.service.d.ts +5 -4
  390. package/dist/modules/data-table/data-table-aggregate.service.js +8 -6
  391. package/dist/modules/data-table/data-table-aggregate.service.js.map +1 -1
  392. package/dist/modules/data-table/data-table-file-cleanup.service.js.map +1 -1
  393. package/dist/modules/data-table/data-table-rows.repository.js +6 -0
  394. package/dist/modules/data-table/data-table-rows.repository.js.map +1 -1
  395. package/dist/modules/data-table/data-table.service.js +12 -0
  396. package/dist/modules/data-table/data-table.service.js.map +1 -1
  397. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.d.ts +4 -1
  398. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js +30 -2
  399. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js.map +1 -1
  400. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.js +5 -9
  401. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.js.map +1 -1
  402. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js +5 -1
  403. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js.map +1 -1
  404. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.d.ts +2 -2
  405. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js +2 -2
  406. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js.map +1 -1
  407. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.d.ts +5 -2
  408. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js +9 -9
  409. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js.map +1 -1
  410. package/dist/modules/dynamic-credentials.ee/workflow-status.controller.js +1 -1
  411. package/dist/modules/dynamic-credentials.ee/workflow-status.controller.js.map +1 -1
  412. package/dist/modules/engine-v2/engine-control-plane-auth.middleware.d.ts +2 -1
  413. package/dist/modules/engine-v2/engine-control-plane-auth.middleware.js +2 -2
  414. package/dist/modules/engine-v2/engine-control-plane-auth.middleware.js.map +1 -1
  415. package/dist/modules/engine-v2/engine-control-plane-client.d.ts +2 -4
  416. package/dist/modules/engine-v2/engine-control-plane-client.js +4 -13
  417. package/dist/modules/engine-v2/engine-control-plane-client.js.map +1 -1
  418. package/dist/modules/engine-v2/engine-control-plane-server.d.ts +3 -1
  419. package/dist/modules/engine-v2/engine-control-plane-server.js +7 -6
  420. package/dist/modules/engine-v2/engine-control-plane-server.js.map +1 -1
  421. package/dist/modules/engine-v2/engine-control-plane-transport.d.ts +10 -0
  422. package/dist/modules/engine-v2/engine-control-plane-transport.js +38 -0
  423. package/dist/modules/engine-v2/engine-control-plane-transport.js.map +1 -0
  424. package/dist/modules/engine-v2/engine-credentials-client.d.ts +8 -0
  425. package/dist/modules/engine-v2/engine-credentials-client.js +47 -0
  426. package/dist/modules/engine-v2/engine-credentials-client.js.map +1 -0
  427. package/dist/modules/engine-v2/engine-credentials.contract.d.ts +1 -0
  428. package/dist/modules/engine-v2/engine-credentials.contract.js +7 -0
  429. package/dist/modules/engine-v2/engine-credentials.contract.js.map +1 -1
  430. package/dist/modules/engine-v2/engine-credentials.controller.d.ts +7 -0
  431. package/dist/modules/engine-v2/engine-credentials.controller.js +35 -0
  432. package/dist/modules/engine-v2/engine-credentials.controller.js.map +1 -0
  433. package/dist/modules/engine-v2/engine-credentials.service.d.ts +12 -0
  434. package/dist/modules/engine-v2/engine-credentials.service.js +95 -0
  435. package/dist/modules/engine-v2/engine-credentials.service.js.map +1 -0
  436. package/dist/modules/engine-v2/engine-data-plane-client.js.map +1 -1
  437. package/dist/modules/engine-v2/remote-credentials-helper.d.ts +24 -0
  438. package/dist/modules/engine-v2/remote-credentials-helper.js +90 -0
  439. package/dist/modules/engine-v2/remote-credentials-helper.js.map +1 -0
  440. package/dist/modules/insights/database/entities/insights-shared.d.ts +4 -2
  441. package/dist/modules/insights/database/entities/insights-shared.js +1 -0
  442. package/dist/modules/insights/database/entities/insights-shared.js.map +1 -1
  443. package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +3 -3
  444. package/dist/modules/insights/database/repositories/insights-by-period.repository.js +8 -2
  445. package/dist/modules/insights/database/repositories/insights-by-period.repository.js.map +1 -1
  446. package/dist/modules/insights/insights-collection.service.js +8 -0
  447. package/dist/modules/insights/insights-collection.service.js.map +1 -1
  448. package/dist/modules/insights/insights-compaction.task.js +1 -2
  449. package/dist/modules/insights/insights-compaction.task.js.map +1 -1
  450. package/dist/modules/insights/insights-pruning.task.js +1 -2
  451. package/dist/modules/insights/insights-pruning.task.js.map +1 -1
  452. package/dist/modules/insights/insights.controller.js +4 -5
  453. package/dist/modules/insights/insights.controller.js.map +1 -1
  454. package/dist/modules/insights/insights.service.d.ts +12 -22
  455. package/dist/modules/insights/insights.service.js +49 -18
  456. package/dist/modules/insights/insights.service.js.map +1 -1
  457. package/dist/modules/instance-ai/browser/browser-local-mcp-server.js +2 -2
  458. package/dist/modules/instance-ai/browser/browser-local-mcp-server.js.map +1 -1
  459. package/dist/modules/instance-ai/drop-rejected-attachments.d.ts +1 -1
  460. package/dist/modules/instance-ai/entities/instance-ai-checkpoint.entity.d.ts +1 -1
  461. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js +2 -1
  462. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js.map +1 -1
  463. package/dist/modules/instance-ai/eval/agent-scenario-seed.js +4 -2
  464. package/dist/modules/instance-ai/eval/agent-scenario-seed.js.map +1 -1
  465. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
  466. package/dist/modules/instance-ai/eval/llm-completion-mock.js +16 -19
  467. package/dist/modules/instance-ai/eval/llm-completion-mock.js.map +1 -1
  468. package/dist/modules/instance-ai/eval/mock-handler.js +3 -2
  469. package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
  470. package/dist/modules/instance-ai/eval/mock-utils.js +2 -4
  471. package/dist/modules/instance-ai/eval/mock-utils.js.map +1 -1
  472. package/dist/modules/instance-ai/eval/openai-envelope.js.map +1 -1
  473. package/dist/modules/instance-ai/eval/openai-responses-envelope.js +9 -11
  474. package/dist/modules/instance-ai/eval/openai-responses-envelope.js.map +1 -1
  475. package/dist/modules/instance-ai/eval/provider-shapes.js +30 -33
  476. package/dist/modules/instance-ai/eval/provider-shapes.js.map +1 -1
  477. package/dist/modules/instance-ai/eval/request-sanitizer.js.map +1 -1
  478. package/dist/modules/instance-ai/eval/structured-output-conformance.js +14 -16
  479. package/dist/modules/instance-ai/eval/structured-output-conformance.js.map +1 -1
  480. package/dist/modules/instance-ai/eval/thread-restore.service.d.ts +13 -3
  481. package/dist/modules/instance-ai/eval/thread-restore.service.js +95 -22
  482. package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
  483. package/dist/modules/instance-ai/eval/workflow-analysis.js +2 -4
  484. package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
  485. package/dist/modules/instance-ai/event-bus/durable-event-log.d.ts +4 -0
  486. package/dist/modules/instance-ai/event-bus/durable-event-log.js +4 -0
  487. package/dist/modules/instance-ai/event-bus/durable-event-log.js.map +1 -1
  488. package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.d.ts +16 -0
  489. package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js +40 -0
  490. package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js.map +1 -0
  491. package/dist/modules/instance-ai/instance-ai-credit.service.js +12 -8
  492. package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
  493. package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +6 -3
  494. package/dist/modules/instance-ai/instance-ai-memory.service.js +36 -2
  495. package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
  496. package/dist/modules/instance-ai/instance-ai-model.service.js +2 -2
  497. package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -1
  498. package/dist/modules/instance-ai/instance-ai-pending-agent.service.d.ts +2 -0
  499. package/dist/modules/instance-ai/instance-ai-settings.service.js +8 -8
  500. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  501. package/dist/modules/instance-ai/instance-ai-setup-telemetry.service.js +2 -2
  502. package/dist/modules/instance-ai/instance-ai-setup-telemetry.service.js.map +1 -1
  503. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.d.ts +2 -1
  504. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js +1 -1
  505. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js.map +1 -1
  506. package/dist/modules/instance-ai/instance-ai-verification.service.js +3 -4
  507. package/dist/modules/instance-ai/instance-ai-verification.service.js.map +1 -1
  508. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +9 -4
  509. package/dist/modules/instance-ai/instance-ai.adapter.service.js +194 -73
  510. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  511. package/dist/modules/instance-ai/instance-ai.controller.d.ts +7 -1
  512. package/dist/modules/instance-ai/instance-ai.controller.js +38 -6
  513. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  514. package/dist/modules/instance-ai/instance-ai.module.d.ts +2 -1
  515. package/dist/modules/instance-ai/instance-ai.module.js +7 -0
  516. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  517. package/dist/modules/instance-ai/instance-ai.service.d.ts +15 -20
  518. package/dist/modules/instance-ai/instance-ai.service.js +267 -421
  519. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  520. package/dist/modules/instance-ai/instance-context.service.d.ts +48 -0
  521. package/dist/modules/instance-ai/instance-context.service.js +388 -0
  522. package/dist/modules/instance-ai/instance-context.service.js.map +1 -0
  523. package/dist/modules/instance-ai/internal-messages.d.ts +8 -0
  524. package/dist/modules/instance-ai/internal-messages.js +34 -3
  525. package/dist/modules/instance-ai/internal-messages.js.map +1 -1
  526. package/dist/modules/instance-ai/message-parser.d.ts +4 -3
  527. package/dist/modules/instance-ai/message-parser.js.map +1 -1
  528. package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.d.ts +1 -1
  529. package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.d.ts +5 -1
  530. package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js +16 -0
  531. package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js.map +1 -1
  532. package/dist/modules/instance-ai/repositories/instance-ai-thread.repository.d.ts +13 -3
  533. package/dist/modules/instance-ai/repositories/instance-ai-thread.repository.js +59 -4
  534. package/dist/modules/instance-ai/repositories/instance-ai-thread.repository.js.map +1 -1
  535. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +8 -2
  536. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +91 -55
  537. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
  538. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.d.ts +1 -1
  539. package/dist/modules/instance-ai/storage/typeorm-agent-memory.d.ts +7 -2
  540. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +53 -24
  541. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
  542. package/dist/modules/instance-ai/storage/typeorm-observation-log-store.d.ts +1 -2
  543. package/dist/modules/instance-ai/storage/typeorm-observation-log-store.js.map +1 -1
  544. package/dist/modules/instance-ai/stream-transport-error.js +3 -1
  545. package/dist/modules/instance-ai/stream-transport-error.js.map +1 -1
  546. package/dist/modules/instance-ai/suspended-thread-persistence.service.js.map +1 -1
  547. package/dist/modules/instance-ai/web-research/fetch-and-extract.js.map +1 -1
  548. package/dist/modules/instance-ai/workflow-templates.service.js +3 -5
  549. package/dist/modules/instance-ai/workflow-templates.service.js.map +1 -1
  550. package/dist/modules/instance-ai/workflow-verification-obligation-service.d.ts +2 -1
  551. package/dist/modules/instance-ai/workflow-verification-obligation-service.js +11 -3
  552. package/dist/modules/instance-ai/workflow-verification-obligation-service.js.map +1 -1
  553. package/dist/modules/instance-registry/checks/build-check-result.d.ts +13 -0
  554. package/dist/modules/instance-registry/checks/build-check-result.js +19 -0
  555. package/dist/modules/instance-registry/checks/build-check-result.js.map +1 -0
  556. package/dist/modules/instance-registry/checks/hostid-clash.check.js +13 -21
  557. package/dist/modules/instance-registry/checks/hostid-clash.check.js.map +1 -1
  558. package/dist/modules/instance-registry/checks/split-brain.check.js +14 -23
  559. package/dist/modules/instance-registry/checks/split-brain.check.js.map +1 -1
  560. package/dist/modules/instance-registry/checks/version-mismatch.check.js +17 -24
  561. package/dist/modules/instance-registry/checks/version-mismatch.check.js.map +1 -1
  562. package/dist/modules/instance-reporting.ee/database/entities/instance-monitoring-report.js.map +1 -0
  563. package/dist/modules/{instance-reporting → instance-reporting.ee}/database/repositories/instance-monitoring-report.repository.d.ts +1 -0
  564. package/dist/modules/{instance-reporting → instance-reporting.ee}/database/repositories/instance-monitoring-report.repository.js +8 -0
  565. package/dist/modules/instance-reporting.ee/database/repositories/instance-monitoring-report.repository.js.map +1 -0
  566. package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting-scheduler.service.d.ts +6 -6
  567. package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting-scheduler.service.js +10 -18
  568. package/dist/modules/instance-reporting.ee/instance-reporting-scheduler.service.js.map +1 -0
  569. package/dist/modules/instance-reporting.ee/instance-reporting-settings.service.js.map +1 -0
  570. package/dist/modules/instance-reporting.ee/instance-reporting.config.js.map +1 -0
  571. package/dist/modules/instance-reporting.ee/instance-reporting.constants.js.map +1 -0
  572. package/dist/modules/instance-reporting.ee/instance-reporting.controller.d.ts +7 -0
  573. package/dist/modules/instance-reporting.ee/instance-reporting.controller.js +35 -0
  574. package/dist/modules/instance-reporting.ee/instance-reporting.controller.js.map +1 -0
  575. package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.module.d.ts +8 -0
  576. package/dist/modules/instance-reporting.ee/instance-reporting.module.js +49 -0
  577. package/dist/modules/instance-reporting.ee/instance-reporting.module.js.map +1 -0
  578. package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.service.d.ts +3 -1
  579. package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.service.js +6 -2
  580. package/dist/modules/instance-reporting.ee/instance-reporting.service.js.map +1 -0
  581. package/dist/modules/ldap.ee/ldap.service.ee.js.map +1 -1
  582. package/dist/modules/mcp/mcp.controller.js +8 -6
  583. package/dist/modules/mcp/mcp.controller.js.map +1 -1
  584. package/dist/modules/mcp/mcp.service.d.ts +9 -2
  585. package/dist/modules/mcp/mcp.service.js +28 -8
  586. package/dist/modules/mcp/mcp.service.js.map +1 -1
  587. package/dist/modules/mcp/tools/agents/agent-reference.js +2 -1
  588. package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -1
  589. package/dist/modules/mcp/tools/agents/agent-tools.service.js +40 -10
  590. package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
  591. package/dist/modules/mcp/tools/data-table/get-data-table-rows.tool.d.ts +5 -5
  592. package/dist/modules/mcp/tools/get-workflow-details.tool.js +3 -3
  593. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  594. package/dist/modules/mcp/tools/get-workflow-versions-diff.tool.js +2 -2
  595. package/dist/modules/mcp/tools/get-workflow-versions-diff.tool.js.map +1 -1
  596. package/dist/modules/mcp/tools/schemas.d.ts +2 -1
  597. package/dist/modules/mcp/tools/schemas.js +6 -2
  598. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  599. package/dist/modules/mcp/tools/webhook-utils.js +8 -6
  600. package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
  601. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +7 -2
  602. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  603. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.d.ts +1 -0
  604. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +4 -3
  605. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
  606. package/dist/modules/mcp/tools/workflow-builder/top-level-items-warning.d.ts +13 -0
  607. package/dist/modules/mcp/tools/workflow-builder/top-level-items-warning.js +24 -0
  608. package/dist/modules/mcp/tools/workflow-builder/top-level-items-warning.js.map +1 -0
  609. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +1 -1
  610. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +23 -4
  611. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  612. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js +7 -9
  613. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js.map +1 -1
  614. package/dist/modules/mcp-registry/mcp-registry-connection.js +7 -2
  615. package/dist/modules/mcp-registry/mcp-registry-connection.js.map +1 -1
  616. package/dist/modules/mcp-registry/registry/mcp-registry.types.d.ts +32 -20
  617. package/dist/modules/mcp-registry/registry/mcp-registry.types.js +8 -10
  618. package/dist/modules/mcp-registry/registry/mcp-registry.types.js.map +1 -1
  619. package/dist/modules/mcp-registry/registry/mock-servers.js +2 -0
  620. package/dist/modules/mcp-registry/registry/mock-servers.js.map +1 -1
  621. package/dist/modules/n8n-packages/engine/n8n-package-parser.d.ts +1 -0
  622. package/dist/modules/n8n-packages/engine/n8n-package-parser.js +24 -7
  623. package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
  624. package/dist/modules/n8n-packages/entities/folder/folder.exporter.d.ts +2 -0
  625. package/dist/modules/n8n-packages/entities/folder/folder.exporter.js +27 -2
  626. package/dist/modules/n8n-packages/entities/folder/folder.exporter.js.map +1 -1
  627. package/dist/modules/n8n-packages/entities/project/project.exporter.d.ts +2 -0
  628. package/dist/modules/n8n-packages/entities/project/project.exporter.js +28 -8
  629. package/dist/modules/n8n-packages/entities/project/project.exporter.js.map +1 -1
  630. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js +1 -1
  631. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js.map +1 -1
  632. package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +2 -1
  633. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +1 -1
  634. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
  635. package/dist/modules/n8n-packages/entities/workflow/workflow-published-state.d.ts +2 -0
  636. package/dist/modules/n8n-packages/entities/workflow/workflow-published-state.js +9 -0
  637. package/dist/modules/n8n-packages/entities/workflow/workflow-published-state.js.map +1 -0
  638. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js +2 -0
  639. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js.map +1 -1
  640. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +1 -1
  641. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.js.map +1 -1
  642. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js +1 -1
  643. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
  644. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.d.ts +2 -0
  645. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js +5 -1
  646. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js.map +1 -1
  647. package/dist/modules/n8n-packages/io/entity-file-format.d.ts +1 -0
  648. package/dist/modules/n8n-packages/io/entity-file-format.js +7 -0
  649. package/dist/modules/n8n-packages/io/entity-file-format.js.map +1 -0
  650. package/dist/modules/n8n-packages/io/hashing-package-writer.d.ts +10 -0
  651. package/dist/modules/n8n-packages/io/hashing-package-writer.js +25 -0
  652. package/dist/modules/n8n-packages/io/hashing-package-writer.js.map +1 -0
  653. package/dist/modules/n8n-packages/io/manifest-entry.d.ts +38 -0
  654. package/dist/modules/n8n-packages/io/manifest-entry.js +26 -22
  655. package/dist/modules/n8n-packages/io/manifest-entry.js.map +1 -1
  656. package/dist/modules/n8n-packages/n8n-packages.service.d.ts +7 -3
  657. package/dist/modules/n8n-packages/n8n-packages.service.js +10 -3
  658. package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
  659. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +5 -0
  660. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  661. package/dist/modules/n8n-packages/spec/constants.d.ts +1 -0
  662. package/dist/modules/n8n-packages/spec/constants.js +2 -1
  663. package/dist/modules/n8n-packages/spec/constants.js.map +1 -1
  664. package/dist/modules/n8n-packages/spec/serialized/workflow-metadata.schema.d.ts +9 -0
  665. package/dist/modules/n8n-packages/spec/serialized/workflow-metadata.schema.js +8 -0
  666. package/dist/modules/n8n-packages/spec/serialized/workflow-metadata.schema.js.map +1 -0
  667. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.d.ts +0 -3
  668. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +0 -1
  669. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +1 -1
  670. package/dist/modules/oauth-jwe/oauth-jwe-key.service.js.map +1 -1
  671. package/dist/modules/oauth-jwe/oauth-jwe.module.js +2 -4
  672. package/dist/modules/oauth-jwe/oauth-jwe.module.js.map +1 -1
  673. package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.js +2 -4
  674. package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.js.map +1 -1
  675. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js +2 -4
  676. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js.map +1 -1
  677. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js +2 -4
  678. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js.map +1 -1
  679. package/dist/modules/oauth-server/protected-resource-resolvers/utils.d.ts +2 -0
  680. package/dist/modules/oauth-server/protected-resource-resolvers/utils.js +8 -0
  681. package/dist/modules/oauth-server/protected-resource-resolvers/utils.js.map +1 -1
  682. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js +2 -4
  683. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js.map +1 -1
  684. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js +2 -4
  685. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js.map +1 -1
  686. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js +2 -4
  687. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js.map +1 -1
  688. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js +2 -4
  689. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js.map +1 -1
  690. package/dist/modules/otel/execution-level-tracer.types.js.map +1 -1
  691. package/dist/modules/otel/otel-lifecycle-handler.js +3 -1
  692. package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
  693. package/dist/modules/policy-infrastructure/policy-infrastructure.module.js.map +1 -1
  694. package/dist/modules/promotions.ee/base-branch-files.d.ts +67 -0
  695. package/dist/modules/promotions.ee/base-branch-files.js +75 -0
  696. package/dist/modules/promotions.ee/base-branch-files.js.map +1 -0
  697. package/dist/modules/promotions.ee/branch-placement.d.ts +15 -0
  698. package/dist/modules/promotions.ee/branch-placement.js +42 -0
  699. package/dist/modules/promotions.ee/branch-placement.js.map +1 -0
  700. package/dist/modules/{git-connections.ee → promotions.ee}/constants.d.ts +7 -1
  701. package/dist/modules/{git-connections.ee → promotions.ee}/constants.js +5 -2
  702. package/dist/modules/promotions.ee/constants.js.map +1 -0
  703. package/dist/modules/promotions.ee/database/entities/promotion-config.entity.d.ts +11 -0
  704. package/dist/modules/promotions.ee/database/entities/promotion-config.entity.js +44 -0
  705. package/dist/modules/promotions.ee/database/entities/promotion-config.entity.js.map +1 -0
  706. package/dist/modules/promotions.ee/database/entities/promotion-connection-project.entity.d.ts +8 -0
  707. package/dist/modules/{git-connections.ee/database/entities/git-connection-project.entity.js → promotions.ee/database/entities/promotion-connection-project.entity.js} +13 -13
  708. package/dist/modules/promotions.ee/database/entities/promotion-connection-project.entity.js.map +1 -0
  709. package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.d.ts +11 -0
  710. package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.js +45 -0
  711. package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.js.map +1 -0
  712. package/dist/modules/promotions.ee/database/entities/promotion-provider.entity.d.ts +9 -0
  713. package/dist/modules/promotions.ee/database/entities/promotion-provider.entity.js +41 -0
  714. package/dist/modules/promotions.ee/database/entities/promotion-provider.entity.js.map +1 -0
  715. package/dist/modules/promotions.ee/database/promotion-conflict.error.d.ts +6 -0
  716. package/dist/modules/promotions.ee/database/promotion-conflict.error.js +12 -0
  717. package/dist/modules/promotions.ee/database/promotion-conflict.error.js.map +1 -0
  718. package/dist/modules/promotions.ee/database/repositories/promotion-config.repository.d.ts +19 -0
  719. package/dist/modules/promotions.ee/database/repositories/promotion-config.repository.js +67 -0
  720. package/dist/modules/promotions.ee/database/repositories/promotion-config.repository.js.map +1 -0
  721. package/dist/modules/promotions.ee/database/repositories/promotion-connection-project.repository.d.ts +10 -0
  722. package/dist/modules/promotions.ee/database/repositories/promotion-connection-project.repository.js +54 -0
  723. package/dist/modules/promotions.ee/database/repositories/promotion-connection-project.repository.js.map +1 -0
  724. package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.d.ts +27 -0
  725. package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js +77 -0
  726. package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js.map +1 -0
  727. package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.d.ts +19 -0
  728. package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js +71 -0
  729. package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js.map +1 -0
  730. package/dist/modules/promotions.ee/diff-package-files.d.ts +13 -0
  731. package/dist/modules/promotions.ee/diff-package-files.js +48 -0
  732. package/dist/modules/promotions.ee/diff-package-files.js.map +1 -0
  733. package/dist/modules/promotions.ee/import-manifest-bridge.d.ts +8 -0
  734. package/dist/modules/promotions.ee/import-manifest-bridge.js +254 -0
  735. package/dist/modules/promotions.ee/import-manifest-bridge.js.map +1 -0
  736. package/dist/modules/promotions.ee/promotion-change.service.d.ts +14 -0
  737. package/dist/modules/promotions.ee/promotion-change.service.js +211 -0
  738. package/dist/modules/promotions.ee/promotion-change.service.js.map +1 -0
  739. package/dist/modules/promotions.ee/promotion-changes.controller.d.ts +9 -0
  740. package/dist/modules/promotions.ee/promotion-changes.controller.js +50 -0
  741. package/dist/modules/promotions.ee/promotion-changes.controller.js.map +1 -0
  742. package/dist/modules/promotions.ee/promotion-config-settings.d.ts +6 -0
  743. package/dist/modules/promotions.ee/promotion-config-settings.js +13 -0
  744. package/dist/modules/promotions.ee/promotion-config-settings.js.map +1 -0
  745. package/dist/modules/promotions.ee/promotion-config.resolver.d.ts +16 -0
  746. package/dist/modules/promotions.ee/promotion-config.resolver.js +97 -0
  747. package/dist/modules/promotions.ee/promotion-config.resolver.js.map +1 -0
  748. package/dist/modules/promotions.ee/promotion-conflicts.d.ts +1 -0
  749. package/dist/modules/promotions.ee/promotion-conflicts.js +16 -0
  750. package/dist/modules/promotions.ee/promotion-conflicts.js.map +1 -0
  751. package/dist/modules/promotions.ee/promotion-connections.service.d.ts +70 -0
  752. package/dist/modules/promotions.ee/promotion-connections.service.js +274 -0
  753. package/dist/modules/promotions.ee/promotion-connections.service.js.map +1 -0
  754. package/dist/modules/promotions.ee/promotion-providers.service.d.ts +48 -0
  755. package/dist/modules/promotions.ee/promotion-providers.service.js +166 -0
  756. package/dist/modules/promotions.ee/promotion-providers.service.js.map +1 -0
  757. package/dist/modules/promotions.ee/promotion-working-directory.service.d.ts +19 -0
  758. package/dist/modules/promotions.ee/promotion-working-directory.service.js +82 -0
  759. package/dist/modules/promotions.ee/promotion-working-directory.service.js.map +1 -0
  760. package/dist/modules/promotions.ee/promotions-git.service.d.ts +59 -0
  761. package/dist/modules/promotions.ee/promotions-git.service.js +402 -0
  762. package/dist/modules/promotions.ee/promotions-git.service.js.map +1 -0
  763. package/dist/modules/promotions.ee/promotions-git.utils.d.ts +16 -0
  764. package/dist/modules/{git-connections.ee/git-connections-git.utils.js → promotions.ee/promotions-git.utils.js} +15 -3
  765. package/dist/modules/promotions.ee/promotions-git.utils.js.map +1 -0
  766. package/dist/modules/promotions.ee/promotions.module.d.ts +5 -0
  767. package/dist/modules/promotions.ee/promotions.module.js +35 -0
  768. package/dist/modules/promotions.ee/promotions.module.js.map +1 -0
  769. package/dist/modules/promotions.ee/promotions.service.d.ts +43 -0
  770. package/dist/modules/promotions.ee/promotions.service.js +413 -0
  771. package/dist/modules/promotions.ee/promotions.service.js.map +1 -0
  772. package/dist/modules/promotions.ee/promotions.types.d.ts +61 -0
  773. package/dist/modules/promotions.ee/promotions.types.js +15 -0
  774. package/dist/modules/promotions.ee/promotions.types.js.map +1 -0
  775. package/dist/modules/promotions.ee/working-copy-updater.d.ts +53 -0
  776. package/dist/modules/promotions.ee/working-copy-updater.js +487 -0
  777. package/dist/modules/promotions.ee/working-copy-updater.js.map +1 -0
  778. package/dist/modules/redaction/dynamic-credentials-context-hook.d.ts +13 -0
  779. package/dist/modules/redaction/dynamic-credentials-context-hook.js +68 -0
  780. package/dist/modules/redaction/dynamic-credentials-context-hook.js.map +1 -0
  781. package/dist/modules/redaction/executions/execution-redaction.service.js +11 -1
  782. package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
  783. package/dist/modules/redaction/instance-redaction-enforcement.service.js.map +1 -1
  784. package/dist/modules/redaction/redaction.module.js +2 -1
  785. package/dist/modules/redaction/redaction.module.js.map +1 -1
  786. package/dist/modules/runtime-credentials/runtime-credentials.module.js +2 -4
  787. package/dist/modules/runtime-credentials/runtime-credentials.module.js.map +1 -1
  788. package/dist/modules/source-control.ee/source-control-git.service.ee.js +7 -4
  789. package/dist/modules/source-control.ee/source-control-git.service.ee.js.map +1 -1
  790. package/dist/modules/source-control.ee/source-control-helper.ee.js +3 -6
  791. package/dist/modules/source-control.ee/source-control-helper.ee.js.map +1 -1
  792. package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +7 -4
  793. package/dist/modules/source-control.ee/source-control-import.service.ee.js +40 -9
  794. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  795. package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
  796. package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
  797. package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
  798. package/dist/modules/token-exchange/services/jwks-resolver.js.map +1 -1
  799. package/dist/modules/token-exchange/token-exchange.module.js +3 -5
  800. package/dist/modules/token-exchange/token-exchange.module.js.map +1 -1
  801. package/dist/modules/type-availability-policies/available-types.controller.d.ts +10 -0
  802. package/dist/modules/type-availability-policies/available-types.controller.js +57 -0
  803. package/dist/modules/type-availability-policies/available-types.controller.js.map +1 -0
  804. package/dist/modules/type-availability-policies/constants.d.ts +1 -0
  805. package/dist/modules/type-availability-policies/constants.js +5 -0
  806. package/dist/modules/type-availability-policies/constants.js.map +1 -0
  807. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.d.ts +1 -0
  808. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js +11 -0
  809. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js.map +1 -1
  810. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy.repository.d.ts +2 -1
  811. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy.repository.js +18 -5
  812. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy.repository.js.map +1 -1
  813. package/dist/modules/type-availability-policies/policy-evaluator.d.ts +15 -1
  814. package/dist/modules/type-availability-policies/policy-evaluator.js +74 -5
  815. package/dist/modules/type-availability-policies/policy-evaluator.js.map +1 -1
  816. package/dist/modules/type-availability-policies/policy-rule.types.d.ts +2 -13
  817. package/dist/modules/type-availability-policies/type-availability-policies.module.js +7 -1
  818. package/dist/modules/type-availability-policies/type-availability-policies.module.js.map +1 -1
  819. package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.d.ts +5 -8
  820. package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.js +10 -13
  821. package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.js.map +1 -1
  822. package/dist/modules/type-availability-policies/type-availability-policy-project.controller.d.ts +25 -0
  823. package/dist/modules/type-availability-policies/type-availability-policy-project.controller.js +67 -0
  824. package/dist/modules/type-availability-policies/type-availability-policy-project.controller.js.map +1 -0
  825. package/dist/modules/type-availability-policies/type-availability-policy.service.d.ts +7 -0
  826. package/dist/modules/type-availability-policies/type-availability-policy.service.js +78 -6
  827. package/dist/modules/type-availability-policies/type-availability-policy.service.js.map +1 -1
  828. package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
  829. package/dist/node-types.js +9 -6
  830. package/dist/node-types.js.map +1 -1
  831. package/dist/posthog/index.js +2 -1
  832. package/dist/posthog/index.js.map +1 -1
  833. package/dist/public-api/public-api-controller.registry.js +17 -10
  834. package/dist/public-api/public-api-controller.registry.js.map +1 -1
  835. package/dist/public-api/public-api-route-resolver.d.ts +11 -1
  836. package/dist/public-api/public-api-route-resolver.js +17 -2
  837. package/dist/public-api/public-api-route-resolver.js.map +1 -1
  838. package/dist/public-api/public-api-validation-error.d.ts +1 -1
  839. package/dist/public-api/public-api-validation-error.js.map +1 -1
  840. package/dist/public-api/types.d.ts +1 -29
  841. package/dist/public-api/v1/controllers/credentials.public.controller.d.ts +18 -2
  842. package/dist/public-api/v1/controllers/credentials.public.controller.js +210 -5
  843. package/dist/public-api/v1/controllers/credentials.public.controller.js.map +1 -1
  844. package/dist/public-api/v1/controllers/executions.public.controller.js +6 -17
  845. package/dist/public-api/v1/controllers/executions.public.controller.js.map +1 -1
  846. package/dist/public-api/v1/controllers/index.d.ts +4 -1
  847. package/dist/public-api/v1/controllers/index.js +4 -1
  848. package/dist/public-api/v1/controllers/index.js.map +1 -1
  849. package/dist/public-api/v1/controllers/node-type-policies.public.controller.d.ts +13 -0
  850. package/dist/public-api/v1/controllers/node-type-policies.public.controller.js +141 -0
  851. package/dist/public-api/v1/controllers/node-type-policies.public.controller.js.map +1 -0
  852. package/dist/public-api/v1/controllers/projects.public.controller.d.ts +19 -0
  853. package/dist/public-api/v1/controllers/projects.public.controller.js +231 -0
  854. package/dist/public-api/v1/controllers/projects.public.controller.js.map +1 -0
  855. package/dist/public-api/v1/controllers/promotions.public.controller.d.ts +33 -0
  856. package/dist/public-api/v1/controllers/promotions.public.controller.js +503 -0
  857. package/dist/public-api/v1/controllers/promotions.public.controller.js.map +1 -0
  858. package/dist/public-api/v1/controllers/role-mapping-rules.public.controller.js +3 -3
  859. package/dist/public-api/v1/controllers/role-mapping-rules.public.controller.js.map +1 -1
  860. package/dist/public-api/v1/controllers/roles.public.controller.d.ts +3 -3
  861. package/dist/public-api/v1/controllers/roles.public.controller.js +14 -14
  862. package/dist/public-api/v1/controllers/roles.public.controller.js.map +1 -1
  863. package/dist/public-api/v1/controllers/source-control.public.controller.d.ts +5 -2
  864. package/dist/public-api/v1/controllers/source-control.public.controller.js +50 -4
  865. package/dist/public-api/v1/controllers/source-control.public.controller.js.map +1 -1
  866. package/dist/public-api/v1/controllers/tags.public.controller.d.ts +3 -1
  867. package/dist/public-api/v1/controllers/tags.public.controller.js +56 -6
  868. package/dist/public-api/v1/controllers/tags.public.controller.js.map +1 -1
  869. package/dist/public-api/v1/controllers/variables.public.controller.d.ts +12 -0
  870. package/dist/public-api/v1/controllers/variables.public.controller.js +127 -0
  871. package/dist/public-api/v1/controllers/variables.public.controller.js.map +1 -0
  872. package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +1 -1
  873. package/dist/public-api/v1/controllers/workflows.public.controller.js +20 -29
  874. package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -1
  875. package/dist/public-api/v1/handlers/credentials/credentials.handler.d.ts +0 -4
  876. package/dist/public-api/v1/handlers/credentials/credentials.handler.js +0 -159
  877. package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
  878. package/dist/public-api/v1/handlers/credentials/credentials.utils.d.ts +6 -0
  879. package/dist/public-api/v1/handlers/credentials/credentials.utils.js +30 -0
  880. package/dist/public-api/v1/handlers/credentials/credentials.utils.js.map +1 -1
  881. package/dist/public-api/v1/handlers/tags/tags.handler.d.ts +0 -2
  882. package/dist/public-api/v1/handlers/tags/tags.handler.js +0 -27
  883. package/dist/public-api/v1/handlers/tags/tags.handler.js.map +1 -1
  884. package/dist/public-api/v1/openapi-gen/decorator-routes.js +3 -2
  885. package/dist/public-api/v1/openapi-gen/decorator-routes.js.map +1 -1
  886. package/dist/public-api/v1/openapi.yml +4712 -2646
  887. package/dist/public-api/v1/shared/project.mapper.d.ts +3 -0
  888. package/dist/public-api/v1/shared/project.mapper.js +20 -0
  889. package/dist/public-api/v1/shared/project.mapper.js.map +1 -0
  890. package/dist/push/abstract.push.d.ts +3 -1
  891. package/dist/push/abstract.push.js +2 -2
  892. package/dist/push/abstract.push.js.map +1 -1
  893. package/dist/push/index.d.ts +3 -1
  894. package/dist/push/index.js +2 -2
  895. package/dist/push/index.js.map +1 -1
  896. package/dist/requests.d.ts +0 -8
  897. package/dist/scaling/constants.d.ts +2 -2
  898. package/dist/scaling/constants.js +3 -0
  899. package/dist/scaling/constants.js.map +1 -1
  900. package/dist/scaling/job-processor.d.ts +2 -0
  901. package/dist/scaling/job-processor.js +54 -9
  902. package/dist/scaling/job-processor.js.map +1 -1
  903. package/dist/scaling/pubsub/pubsub.event-map.d.ts +13 -0
  904. package/dist/scaling/pubsub/pubsub.types.d.ts +4 -1
  905. package/dist/scaling/scaling.service.d.ts +3 -1
  906. package/dist/scaling/scaling.service.js +5 -3
  907. package/dist/scaling/scaling.service.js.map +1 -1
  908. package/dist/scheduling/poll-trigger-node/poll-trigger-task.d.ts +2 -5
  909. package/dist/scheduling/poll-trigger-node/poll-trigger-task.js +2 -3
  910. package/dist/scheduling/poll-trigger-node/poll-trigger-task.js.map +1 -1
  911. package/dist/scheduling/schedule-trigger-node/schedule-trigger-task-handler.js.map +1 -1
  912. package/dist/scheduling/schedule-trigger-node/schedule-trigger-task.d.ts +2 -5
  913. package/dist/scheduling/schedule-trigger-node/schedule-trigger-task.js +2 -3
  914. package/dist/scheduling/schedule-trigger-node/schedule-trigger-task.js.map +1 -1
  915. package/dist/scheduling/system-tasks/main-system-tasks.d.ts +2 -1
  916. package/dist/scheduling/system-tasks/main-system-tasks.js +19 -2
  917. package/dist/scheduling/system-tasks/main-system-tasks.js.map +1 -1
  918. package/dist/scheduling/system-tasks/system-task-runner.js +3 -3
  919. package/dist/scheduling/system-tasks/system-task-runner.js.map +1 -1
  920. package/dist/scheduling/workflow-node-task-payload.d.ts +5 -0
  921. package/dist/scheduling/workflow-node-task-payload.js +7 -0
  922. package/dist/scheduling/workflow-node-task-payload.js.map +1 -0
  923. package/dist/server.d.ts +2 -0
  924. package/dist/server.js +2 -0
  925. package/dist/server.js.map +1 -1
  926. package/dist/services/ai-preference.service.d.ts +46 -0
  927. package/dist/services/ai-preference.service.js +336 -0
  928. package/dist/services/ai-preference.service.js.map +1 -0
  929. package/dist/services/annotation-tag.service.ee.js.map +1 -1
  930. package/dist/services/credentials-tester.service.js +2 -24
  931. package/dist/services/credentials-tester.service.js.map +1 -1
  932. package/dist/services/dynamic-node-parameters.service.js +3 -1
  933. package/dist/services/dynamic-node-parameters.service.js.map +1 -1
  934. package/dist/services/email-change.service.d.ts +21 -0
  935. package/dist/services/email-change.service.js +84 -0
  936. package/dist/services/email-change.service.js.map +1 -0
  937. package/dist/services/engine-v2-dispatcher.service.js +1 -1
  938. package/dist/services/engine-v2-dispatcher.service.js.map +1 -1
  939. package/dist/services/engine-v2-payload-guard.service.d.ts +13 -0
  940. package/dist/services/engine-v2-payload-guard.service.js +49 -0
  941. package/dist/services/engine-v2-payload-guard.service.js.map +1 -0
  942. package/dist/services/ownership-transfer/ownership-transfer.manifest.json +8 -3
  943. package/dist/services/project.service.ee.js +2 -0
  944. package/dist/services/project.service.ee.js.map +1 -1
  945. package/dist/services/pruning/execution-pruning-soft-delete.task.d.ts +14 -0
  946. package/dist/services/pruning/execution-pruning-soft-delete.task.js +38 -0
  947. package/dist/services/pruning/execution-pruning-soft-delete.task.js.map +1 -0
  948. package/dist/services/pruning/executions-pruning.service.d.ts +0 -2
  949. package/dist/services/pruning/executions-pruning.service.js +5 -11
  950. package/dist/services/pruning/executions-pruning.service.js.map +1 -1
  951. package/dist/services/pruning/workflow-history-compaction-optimize.task.d.ts +14 -0
  952. package/dist/services/pruning/workflow-history-compaction-optimize.task.js +38 -0
  953. package/dist/services/pruning/workflow-history-compaction-optimize.task.js.map +1 -0
  954. package/dist/services/pruning/workflow-history-compaction-trim.task.d.ts +12 -0
  955. package/dist/services/pruning/workflow-history-compaction-trim.task.js +40 -0
  956. package/dist/services/pruning/workflow-history-compaction-trim.task.js.map +1 -0
  957. package/dist/services/pruning/workflow-history-compaction.service.d.ts +7 -10
  958. package/dist/services/pruning/workflow-history-compaction.service.js +41 -59
  959. package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
  960. package/dist/services/workflow-statistics.service.d.ts +6 -0
  961. package/dist/services/workflow-statistics.service.js +40 -30
  962. package/dist/services/workflow-statistics.service.js.map +1 -1
  963. package/dist/task-runners/task-broker/task-broker-ws-server.js.map +1 -1
  964. package/dist/task-runners/task-broker/task-broker.service.js.map +1 -1
  965. package/dist/task-runners/task-managers/local-task-requester.js.map +1 -1
  966. package/dist/task-runners/task-runner-module.js.map +1 -1
  967. package/dist/user-management/email/interfaces.d.ts +11 -0
  968. package/dist/user-management/email/templates/email-change-completed.handlebars +183 -0
  969. package/dist/user-management/email/templates/email-change-requested.handlebars +206 -0
  970. package/dist/user-management/email/user-management-mailer.d.ts +4 -2
  971. package/dist/user-management/email/user-management-mailer.js +20 -0
  972. package/dist/user-management/email/user-management-mailer.js.map +1 -1
  973. package/dist/utils/is-billable-execution.d.ts +5 -0
  974. package/dist/utils/is-billable-execution.js +32 -0
  975. package/dist/utils/is-billable-execution.js.map +1 -0
  976. package/dist/utils/object-to-error.js.map +1 -1
  977. package/dist/webhooks/engine-v2-webhooks.d.ts +4 -7
  978. package/dist/webhooks/engine-v2-webhooks.js +6 -24
  979. package/dist/webhooks/engine-v2-webhooks.js.map +1 -1
  980. package/dist/webhooks/webhook-helpers.js +9 -2
  981. package/dist/webhooks/webhook-helpers.js.map +1 -1
  982. package/dist/workflow-execute-additional-data.js +9 -2
  983. package/dist/workflow-execute-additional-data.js.map +1 -1
  984. package/dist/workflow-runner.d.ts +7 -3
  985. package/dist/workflow-runner.js +54 -29
  986. package/dist/workflow-runner.js.map +1 -1
  987. package/dist/workflows/publication/published-workflow-trigger-deactivator.d.ts +1 -0
  988. package/dist/workflows/publication/published-workflow-trigger-deactivator.js +12 -4
  989. package/dist/workflows/publication/published-workflow-trigger-deactivator.js.map +1 -1
  990. package/dist/workflows/publication/trigger-diff.d.ts +4 -1
  991. package/dist/workflows/publication/trigger-diff.js +12 -2
  992. package/dist/workflows/publication/trigger-diff.js.map +1 -1
  993. package/dist/workflows/publication/workflow-publication-applier.js +3 -1
  994. package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
  995. package/dist/workflows/publication/workflow-publication-lifecycle-lock.d.ts +7 -1
  996. package/dist/workflows/publication/workflow-publication-lifecycle-lock.js +18 -4
  997. package/dist/workflows/publication/workflow-publication-lifecycle-lock.js.map +1 -1
  998. package/dist/workflows/publication/workflow-publication-outbox-cleanup.service.d.ts +3 -10
  999. package/dist/workflows/publication/workflow-publication-outbox-cleanup.service.js +4 -49
  1000. package/dist/workflows/publication/workflow-publication-outbox-cleanup.service.js.map +1 -1
  1001. package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.d.ts +15 -0
  1002. package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.js +38 -0
  1003. package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.js.map +1 -0
  1004. package/dist/workflows/publication/workflow-publication-outbox-consumer.d.ts +2 -0
  1005. package/dist/workflows/publication/workflow-publication-outbox-consumer.js +62 -27
  1006. package/dist/workflows/publication/workflow-publication-outbox-consumer.js.map +1 -1
  1007. package/dist/workflows/publication/workflow-publication-reconciler.service.d.ts +1 -0
  1008. package/dist/workflows/publication/workflow-publication-reconciler.service.js +21 -8
  1009. package/dist/workflows/publication/workflow-publication-reconciler.service.js.map +1 -1
  1010. package/dist/workflows/triggers/engine-v2-active-triggers.d.ts +16 -0
  1011. package/dist/workflows/triggers/engine-v2-active-triggers.js +39 -0
  1012. package/dist/workflows/triggers/engine-v2-active-triggers.js.map +1 -0
  1013. package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +4 -1
  1014. package/dist/workflows/triggers/trigger-execution-context.factory.js +41 -6
  1015. package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
  1016. package/dist/workflows/workflow-execution.service.d.ts +8 -3
  1017. package/dist/workflows/workflow-execution.service.js +44 -5
  1018. package/dist/workflows/workflow-execution.service.js.map +1 -1
  1019. package/dist/workflows/workflow-finder.service.d.ts +1 -0
  1020. package/dist/workflows/workflow-finder.service.js +6 -2
  1021. package/dist/workflows/workflow-finder.service.js.map +1 -1
  1022. package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
  1023. package/package.json +49 -57
  1024. package/dist/modules/agents/entities/agent-memory-entry-cursor.entity.d.ts +0 -7
  1025. package/dist/modules/agents/entities/agent-memory-entry-cursor.entity.js +0 -38
  1026. package/dist/modules/agents/entities/agent-memory-entry-cursor.entity.js.map +0 -1
  1027. package/dist/modules/agents/repositories/agent-memory-entry-cursor.repository.d.ts +0 -5
  1028. package/dist/modules/agents/repositories/agent-memory-entry-cursor.repository.js +0 -26
  1029. package/dist/modules/agents/repositories/agent-memory-entry-cursor.repository.js.map +0 -1
  1030. package/dist/modules/breaking-changes/rules/v3/task-runner-internal-mode.rule.js +0 -51
  1031. package/dist/modules/breaking-changes/rules/v3/task-runner-internal-mode.rule.js.map +0 -1
  1032. package/dist/modules/git-connections.ee/constants.js.map +0 -1
  1033. package/dist/modules/git-connections.ee/database/entities/git-connection-project.entity.d.ts +0 -8
  1034. package/dist/modules/git-connections.ee/database/entities/git-connection-project.entity.js.map +0 -1
  1035. package/dist/modules/git-connections.ee/database/entities/git-connection.entity.d.ts +0 -14
  1036. package/dist/modules/git-connections.ee/database/entities/git-connection.entity.js +0 -61
  1037. package/dist/modules/git-connections.ee/database/entities/git-connection.entity.js.map +0 -1
  1038. package/dist/modules/git-connections.ee/database/repositories/git-connection-project.repository.d.ts +0 -11
  1039. package/dist/modules/git-connections.ee/database/repositories/git-connection-project.repository.js +0 -58
  1040. package/dist/modules/git-connections.ee/database/repositories/git-connection-project.repository.js.map +0 -1
  1041. package/dist/modules/git-connections.ee/database/repositories/git-connection.repository.d.ts +0 -12
  1042. package/dist/modules/git-connections.ee/database/repositories/git-connection.repository.js +0 -37
  1043. package/dist/modules/git-connections.ee/database/repositories/git-connection.repository.js.map +0 -1
  1044. package/dist/modules/git-connections.ee/git-connections-git.service.d.ts +0 -60
  1045. package/dist/modules/git-connections.ee/git-connections-git.service.js +0 -281
  1046. package/dist/modules/git-connections.ee/git-connections-git.service.js.map +0 -1
  1047. package/dist/modules/git-connections.ee/git-connections-git.utils.d.ts +0 -13
  1048. package/dist/modules/git-connections.ee/git-connections-git.utils.js.map +0 -1
  1049. package/dist/modules/git-connections.ee/git-connections.module.d.ts +0 -5
  1050. package/dist/modules/git-connections.ee/git-connections.module.js +0 -32
  1051. package/dist/modules/git-connections.ee/git-connections.module.js.map +0 -1
  1052. package/dist/modules/git-connections.ee/git-connections.service.d.ts +0 -70
  1053. package/dist/modules/git-connections.ee/git-connections.service.js +0 -476
  1054. package/dist/modules/git-connections.ee/git-connections.service.js.map +0 -1
  1055. package/dist/modules/insights/whole-seconds.d.ts +0 -1
  1056. package/dist/modules/insights/whole-seconds.js +0 -7
  1057. package/dist/modules/insights/whole-seconds.js.map +0 -1
  1058. package/dist/modules/instance-reporting/database/entities/instance-monitoring-report.js.map +0 -1
  1059. package/dist/modules/instance-reporting/database/repositories/instance-monitoring-report.repository.js.map +0 -1
  1060. package/dist/modules/instance-reporting/instance-reporting-scheduler.service.js.map +0 -1
  1061. package/dist/modules/instance-reporting/instance-reporting-settings.service.js.map +0 -1
  1062. package/dist/modules/instance-reporting/instance-reporting.config.js.map +0 -1
  1063. package/dist/modules/instance-reporting/instance-reporting.constants.js.map +0 -1
  1064. package/dist/modules/instance-reporting/instance-reporting.module.js +0 -26
  1065. package/dist/modules/instance-reporting/instance-reporting.module.js.map +0 -1
  1066. package/dist/modules/instance-reporting/instance-reporting.service.js.map +0 -1
  1067. package/dist/modules/type-availability-policies/dto/create-policy-document.dto.d.ts +0 -80
  1068. package/dist/modules/type-availability-policies/dto/create-policy-document.dto.js +0 -11
  1069. package/dist/modules/type-availability-policies/dto/create-policy-document.dto.js.map +0 -1
  1070. package/dist/modules/type-availability-policies/dto/policy-rule.schema.d.ts +0 -108
  1071. package/dist/modules/type-availability-policies/dto/policy-rule.schema.js +0 -30
  1072. package/dist/modules/type-availability-policies/dto/policy-rule.schema.js.map +0 -1
  1073. package/dist/modules/type-availability-policies/dto/policy-selector.schema.d.ts +0 -20
  1074. package/dist/modules/type-availability-policies/dto/policy-selector.schema.js +0 -9
  1075. package/dist/modules/type-availability-policies/dto/policy-selector.schema.js.map +0 -1
  1076. package/dist/modules/type-availability-policies/dto/put-instance-policy.dto.d.ts +0 -85
  1077. package/dist/modules/type-availability-policies/dto/put-instance-policy.dto.js +0 -14
  1078. package/dist/modules/type-availability-policies/dto/put-instance-policy.dto.js.map +0 -1
  1079. package/dist/modules/type-availability-policies/dto/replace-attachments.dto.d.ts +0 -97
  1080. package/dist/modules/type-availability-policies/dto/replace-attachments.dto.js +0 -36
  1081. package/dist/modules/type-availability-policies/dto/replace-attachments.dto.js.map +0 -1
  1082. package/dist/modules/type-availability-policies/dto/update-policy-document.dto.d.ts +0 -83
  1083. package/dist/modules/type-availability-policies/dto/update-policy-document.dto.js +0 -13
  1084. package/dist/modules/type-availability-policies/dto/update-policy-document.dto.js.map +0 -1
  1085. package/dist/public-api/v1/controllers/git-connections.public.controller.d.ts +0 -21
  1086. package/dist/public-api/v1/controllers/git-connections.public.controller.js +0 -302
  1087. package/dist/public-api/v1/controllers/git-connections.public.controller.js.map +0 -1
  1088. package/dist/public-api/v1/handlers/credentials/credentials.mapper.d.ts +0 -6
  1089. package/dist/public-api/v1/handlers/credentials/credentials.mapper.js +0 -19
  1090. package/dist/public-api/v1/handlers/credentials/credentials.mapper.js.map +0 -1
  1091. package/dist/public-api/v1/handlers/credentials/credentials.middleware.d.ts +0 -6
  1092. package/dist/public-api/v1/handlers/credentials/credentials.middleware.js +0 -91
  1093. package/dist/public-api/v1/handlers/credentials/credentials.middleware.js.map +0 -1
  1094. package/dist/public-api/v1/handlers/projects/projects.handler.d.ts +0 -31
  1095. package/dist/public-api/v1/handlers/projects/projects.handler.js +0 -165
  1096. package/dist/public-api/v1/handlers/projects/projects.handler.js.map +0 -1
  1097. package/dist/public-api/v1/handlers/source-control/source-control.handler.d.ts +0 -7
  1098. package/dist/public-api/v1/handlers/source-control/source-control.handler.js +0 -46
  1099. package/dist/public-api/v1/handlers/source-control/source-control.handler.js.map +0 -1
  1100. package/dist/public-api/v1/handlers/variables/variables.handler.d.ts +0 -15
  1101. package/dist/public-api/v1/handlers/variables/variables.handler.js +0 -56
  1102. package/dist/public-api/v1/handlers/variables/variables.handler.js.map +0 -1
  1103. /package/dist/modules/{instance-reporting → instance-reporting.ee}/database/entities/instance-monitoring-report.d.ts +0 -0
  1104. /package/dist/modules/{instance-reporting → instance-reporting.ee}/database/entities/instance-monitoring-report.js +0 -0
  1105. /package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting-settings.service.d.ts +0 -0
  1106. /package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting-settings.service.js +0 -0
  1107. /package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.config.d.ts +0 -0
  1108. /package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.config.js +0 -0
  1109. /package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.constants.d.ts +0 -0
  1110. /package/dist/modules/{instance-reporting → instance-reporting.ee}/instance-reporting.constants.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-finder.service.js","sourceRoot":"","sources":["../../src/workflows/workflow-finder.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gCAAmG;AACnG,gCAAkC;AAClC,kDAA8D;AAE9D,0CAA0C;AAE1C,gEAA8D;AAC9D,0DAAsD;AAmB/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACjC,YACkB,wBAAkD,EAClD,gBAAkC,EAClC,WAAwB,EACxB,kBAAsC;wCAHtC,wBAAwB;gCACxB,gBAAgB;2BAChB,WAAW;kCACX,kBAAkB;IACjC,CAAC;IAEJ,KAAK,CAAC,mBAAmB,CACxB,UAAkB,EAClB,IAAU,EACV,MAAe,EACf,OAAO,GAKH,EAAE;QAEN,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;QAEhF,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,UAAU,EAAE;YAC9F,KAAK;YACL,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;YAChD,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;YAClD,EAAE,EAAE,OAAO,CAAC,EAAE;SACd,CAAC,CAAC;QAEH,IAAI,CAAC,cAAc,EAAE,CAAC;YACrB,OAAO,IAAI,CAAC;QACb,CAAC;QAED,OAAO,cAAc,CAAC,QAAQ,CAAC;IAChC,CAAC;IAOD,KAAK,CAAC,uBAAuB,CAC5B,UAAkB,EAClB,IAAU,EACV,MAAe;QAEf,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,4BAA4B,CAAC,IAAI,EAAE,M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C,qBAAqB,CA8bjC"}
1
+ {"version":3,"file":"workflow-finder.service.js","sourceRoot":"","sources":["../../src/workflows/workflow-finder.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gCAAmG;AACnG,gCAAkC;AAClC,kDAA8D;AAE9D,0CAA0C;AAE1C,gEAA8D;AAC9D,0DAAsD;AAmB/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IACjC,YACkB,wBAAkD,EAClD,gBAAkC,EAClC,WAAwB,EACxB,kBAAsC;wCAHtC,wBAAwB;gCACxB,gBAAgB;2BAChB,WAAW;kCACX,kBAAkB;IACjC,CAAC;IAEJ,KAAK,CAAC,mBAAmB,CACxB,UAAkB,EAClB,IAAU,EACV,MAAe,EACf,OAAO,GAKH,EAAE;QAEN,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,4BAA4B,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;QAEhF,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,UAAU,EAAE;YAC9F,KAAK;YACL,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;YAChD,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;YAClD,EAAE,EAAE,OAAO,CAAC,EAAE;SACd,CAAC,CAAC;QAEH,IAAI,CAAC,cAAc,EAAE,CAAC;YACrB,OAAO,IAAI,CAAC;QACb,CAAC;QAED,OAAO,cAAc,CAAC,QAAQ,CAAC;IAChC,CAAC;IAOD,KAAK,CAAC,uBAAuB,CAC5B,UAAkB,EAClB,IAAU,EACV,MAAe;QAEf,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,4BAA4B,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACpE,MAAM,EAAE,GAAG,MAAM,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC;YACtD,KAAK,EAAE,EAAE,UAAU,EAAE,GAAG,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-history.service.js","sourceRoot":"","sources":["../../../src/workflows/workflow-history/workflow-history.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wDAA6C;AAE7C,gCAKiB;AACjB,gCAAkC;AAElC,0CAAkC;AAGlC,iEAA6D;AAC7D,+CAA+C;AAE/C,8FAAuF;AACvF,gHAAwG;AACxG,0DAAsD;AAGtD,wEAAmE;AAG5D,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC,YACkB,MAAc,EACd,yBAAoD,EACpD,gCAAkE,EAClE,kBAAsC,EACtC,qBAA4C,EAC5C,YAA0B;sBAL1B,MAAM;yCACN,yBAAyB;gDACzB,gCAAgC;kCAChC,kBAAkB;qCAClB,qBAAqB;4BACrB,YAAY;IAC3B,CAAC;IAEJ,KAAK,CAAC,OAAO,CACZ,IAAU,EACV,UAAkB,EAClB,IAAY,EACZ,IAAY;QAEZ,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,EAAE;YACvF,eAAe;SACf,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,EAAE,CAAC;YACf,MAAM,IAAI,6DAA2B,CAAC,EAAE,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO,MAAM,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC;YAChD,KAAK,EAAE;gBACN,UAAU,EAAE,QAAQ,CAAC,EAAE;aACvB;YACD,IAAI;YACJ,IAAI;YACJ,MAAM,EAAE;gBACP,YAAY;gBACZ,WAAW;gBACX,SAAS;gBACT,WAAW;gBACX,WAAW;gBACX,MAAM;gBACN,aAAa;gBACb,WAAW;aACX;YACD,SAAS,EAAE,CAAC,wBAAwB,CAAC;YACrC,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE;SAC5B,CAAC,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,UAAU,CACf,IAAU,EACV,UAAkB,EAClB,SAAiB,EACjB,QAA8C;QAE9C,MAAM,QAA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,EAAE,EAAE,CAAC;aAClE,OAAO,CAAC,eAAe,EAAE,KAAK,CAAC;aAC/B,OAAO,EAAE,CAAC;QAEZ,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACzB,EAAE,EAAE,CAAC,CAAC,EAAE;YACR,UAAU,EAAE,CAAC,CAAC,UAAU;YACxB,SAAS,EAAE,CAAC,CAAC,SAAS;YACtB,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,SAAS,EAAE,CAAC,CAAC,SAAS;YACtB,IAAI,EAAE,CAAC,CAAC,IAAI;YACZ,WAAW,EAAE,CAAC,CAAC,eAAe,EAAE,IAAI,IAAI,IAAI;SAC5C,CAAC,CAAC,CAAC;IACL,CAAC;CACD,CAAA;;iCA1TY,sBAAsB;IADlC,IAAA,YAAO,GAAE;qCAGiB,uBAAM,EACa,8BAAyB,EAClB,qCAAgC,EAC9C,uBAAkB,EACf,+CAAqB,EAC9B,4BAAY;GAPhC,sBAAsB,CA0TlC"}
1
+ {"version":3,"file":"workflow-history.service.js","sourceRoot":"","sources":["../../../src/workflows/workflow-history/workflow-history.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wDAA6C;AAE7C,gCAKiB;AACjB,gCAAkC;AAElC,0CAAkC;AAElC,iEAA6D;AAC7D,+CAA+C;AAE/C,8FAAuF;AACvF,gHAAwG;AACxG,0DAAsD;AAGtD,wEAAmE;AAG5D,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC,YACkB,MAAc,EACd,yBAAoD,EACpD,gCAAkE,EAClE,kBAAsC,EACtC,qBAA4C,EAC5C,YAA0B;sBAL1B,MAAM;yCACN,yBAAyB;gDACzB,gCAAgC;kCAChC,kBAAkB;qCAClB,qBAAqB;4BACrB,YAAY;IAC3B,CAAC;IAEJ,KAAK,CAAC,OAAO,CACZ,IAAU,EACV,UAAkB,EAClB,IAAY,EACZ,IAAY;QAEZ,MAAM,QAAQ,GAAG,MAAM,IAA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AkB,EACf,+CAAqB,EAC9B,4BAAY;GAPhC,sBAAsB,CAuTlC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n",
3
- "version": "2.39.4",
3
+ "version": "2.40.0",
4
4
  "description": "n8n Workflow Automation Tool",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index.d.ts",
@@ -22,23 +22,26 @@
22
22
  "bin",
23
23
  "templates",
24
24
  "dist",
25
- "LICENSE.md",
26
- "LICENSE_EE.md"
25
+ "LICENSE_EE.md",
26
+ "LICENSE.md"
27
27
  ],
28
+ "janitor": {
29
+ "ignoreDepsForScoping": [
30
+ "n8n-editor-ui"
31
+ ]
32
+ },
28
33
  "devDependencies": {
29
34
  "@faker-js/faker": "^8.0.2",
30
- "@n8n/backend-test-utils": "1.39.2",
35
+ "@n8n/backend-test-utils": "1.40.0",
31
36
  "@n8n/playwright-janitor": "0.1.0",
32
- "@n8n/typescript-config": "1.11.0",
33
- "@n8n/vitest-config": "1.21.0",
37
+ "@n8n/typescript-config": "1.12.0",
38
+ "@n8n/vitest-config": "1.22.0",
34
39
  "@redocly/cli": "^1.28.5",
35
- "@types/aws4": "^1.5.1",
36
40
  "@types/bcryptjs": "^2.4.2",
37
41
  "@types/compression": "^1.7.5",
38
42
  "@types/convict": "^6.1.1",
39
43
  "@types/cookie-parser": "^1.4.8",
40
44
  "@types/express": "^5.0.1",
41
- "@types/flat": "^5.0.5",
42
45
  "@types/formidable": "^3.4.5",
43
46
  "@types/json-diff": "^1.0.0",
44
47
  "@types/json-schema": "^7.0.15",
@@ -55,7 +58,6 @@
55
58
  "@types/sshpk": "^1.17.4",
56
59
  "@types/superagent": "^8.1.9",
57
60
  "@types/swagger-ui-express": "^4.1.8",
58
- "@types/syslog-client": "^1.1.2",
59
61
  "@types/turndown": "^5.0.6",
60
62
  "@types/uuid": "^11.0.0",
61
63
  "@types/validator": "^13.7.0",
@@ -73,11 +75,8 @@
73
75
  "n8n-containers": "1.0.0",
74
76
  "nock": "14.0.14",
75
77
  "openai": "6.46.0",
76
- "openapi-types": "^12.1.3",
77
78
  "supertest": "^7.1.1",
78
79
  "tsc-watch": "^7.2.1",
79
- "ts-essentials": "^7.0.3",
80
- "tsconfig-paths": "^4.2.0",
81
80
  "@vitest/coverage-v8": "4.1.9",
82
81
  "@typescript/native": "npm:typescript@7.0.2",
83
82
  "typescript": "npm:@typescript/typescript6@6.0.2",
@@ -99,7 +98,6 @@
99
98
  "@chat-adapter/slack": "4.37.0",
100
99
  "@chat-adapter/state-memory": "4.37.0",
101
100
  "@chat-adapter/telegram": "4.37.0",
102
- "@daytona/sdk": "0.205.1",
103
101
  "@google-cloud/secret-manager": "5.6.0",
104
102
  "@grpc/grpc-js": "^1.14.3",
105
103
  "@joplin/turndown-plugin-gfm": "1.0.64",
@@ -108,44 +106,43 @@
108
106
  "@modelcontextprotocol/sdk": "1.26.0",
109
107
  "@modelcontextprotocol/server": "2.0.0",
110
108
  "@mozilla/readability": "^0.6.0",
111
- "@n8n/agents": "0.24.2",
112
- "@n8n/ai-node-sdk": "0.29.2",
113
- "@n8n/ai-utilities": "0.32.2",
114
- "@n8n/ai-workflow-builder": "1.39.2",
115
- "@n8n/api-types": "1.39.2",
116
- "@n8n/backend-common": "1.39.2",
117
- "@n8n/backend-network": "1.13.2",
118
- "@n8n/blob-storage": "1.7.2",
119
- "@n8n/chat-hub": "1.32.2",
120
- "@n8n/client-oauth2": "1.21.2",
121
- "@n8n/config": "2.37.0",
122
- "@n8n/constants": "0.38.0",
123
- "@n8n/db": "1.39.2",
124
- "@n8n/decorators": "1.39.2",
125
- "@n8n/di": "0.16.0",
126
- "@n8n/engine": "0.19.0",
127
- "@n8n/errors": "0.13.0",
128
- "@n8n/expression-runtime": "0.30.0",
129
- "@n8n/instance-ai": "1.24.3",
130
- "@n8n/mcp-apps": "0.16.2",
131
- "@n8n/mcp-browser": "0.20.0",
132
- "@n8n/n8n-nodes-langchain": "2.39.2",
133
- "@n8n/node-engine-compatibility": "0.7.2",
134
- "@n8n/permissions": "0.76.0",
135
- "@n8n/scheduler": "1.8.1",
136
- "@n8n/syslog-client": "1.10.0",
137
- "@n8n/task-runner": "2.39.2",
138
- "@n8n/telemetry": "1.7.0",
139
- "@n8n/typeorm": "0.10.0",
140
- "@n8n/utils": "1.47.0",
141
- "@n8n/workflow-sdk": "0.32.1",
109
+ "@n8n/agents": "0.25.0",
110
+ "@n8n/ai-node-sdk": "0.30.0",
111
+ "@n8n/ai-utilities": "0.33.0",
112
+ "@n8n/ai-workflow-builder": "1.40.0",
113
+ "@n8n/api-types": "1.40.0",
114
+ "@n8n/backend-common": "1.40.0",
115
+ "@n8n/backend-network": "1.14.0",
116
+ "@n8n/blob-storage": "1.8.0",
117
+ "@n8n/chat-hub": "1.33.0",
118
+ "@n8n/client-oauth2": "1.22.0",
119
+ "@n8n/config": "2.38.0",
120
+ "@n8n/constants": "0.39.0",
121
+ "@n8n/db": "1.40.0",
122
+ "@n8n/decorators": "1.40.0",
123
+ "@n8n/di": "0.17.0",
124
+ "@n8n/engine": "0.20.0",
125
+ "@n8n/errors": "0.14.0",
126
+ "@n8n/expression-runtime": "0.31.0",
127
+ "@n8n/instance-ai": "1.25.0",
128
+ "@n8n/mcp-apps": "0.17.0",
129
+ "@n8n/mcp-browser": "0.21.0",
130
+ "@n8n/n8n-nodes-langchain": "2.40.0",
131
+ "@n8n/node-engine-compatibility": "0.8.0",
132
+ "@n8n/permissions": "0.77.0",
133
+ "@n8n/scheduler": "1.9.0",
134
+ "@n8n/syslog-client": "1.11.0",
135
+ "@n8n/task-runner": "2.40.0",
136
+ "@n8n/telemetry": "1.8.0",
137
+ "@n8n/typeorm": "0.11.0",
138
+ "@n8n/utils": "1.48.0",
139
+ "@n8n/workflow-sdk": "0.33.0",
142
140
  "@n8n_io/ai-assistant-sdk": "1.27.0",
143
- "@n8n_io/license-sdk": "3.0.0",
141
+ "@n8n_io/license-sdk": "3.1.0",
144
142
  "@opentelemetry/api": "1.9.1",
145
143
  "@opentelemetry/core": "2.10.0",
146
144
  "@opentelemetry/exporter-trace-otlp-grpc": "^0.221.0",
147
145
  "@opentelemetry/exporter-trace-otlp-proto": "^0.221.0",
148
- "@opentelemetry/instrumentation": "^0.221.0",
149
146
  "@opentelemetry/resources": "^2.10.0",
150
147
  "@opentelemetry/sdk-node": "^0.221.0",
151
148
  "@opentelemetry/sdk-trace-base": "^2.10.0",
@@ -158,7 +155,6 @@
158
155
  "@sentry/node": "10.70.0",
159
156
  "@supabase/supabase-js": "2.112.3",
160
157
  "ai": "^7.0.66",
161
- "aws4": "1.11.0",
162
158
  "bcryptjs": "2.4.3",
163
159
  "bull": "4.16.4",
164
160
  "cache-manager": "5.2.3",
@@ -180,10 +176,8 @@
180
176
  "express-rate-limit": "7.5.0",
181
177
  "fast-glob": "3.3.3",
182
178
  "fast-json-patch": "^3.1.1",
183
- "fastest-levenshtein": "1.0.16",
184
179
  "fflate": "0.8.3",
185
180
  "file-type": "21.3.3",
186
- "flat": "5.0.2",
187
181
  "flatted": "3.4.2",
188
182
  "formidable": "3.5.4",
189
183
  "handlebars": "4.7.9",
@@ -191,7 +185,7 @@
191
185
  "http-proxy-middleware": "^3.0.7",
192
186
  "ioredis": "5.3.2",
193
187
  "isbot": "3.6.13",
194
- "isolated-vm": "^7.0.0",
188
+ "isolated-vm": "^7.0.1",
195
189
  "jose": "^6.2.9",
196
190
  "json-diff": "1.0.6",
197
191
  "json-schema": "0.4.0",
@@ -206,10 +200,10 @@
206
200
  "moment-timezone": "0.5.48",
207
201
  "ms": "2.1.3",
208
202
  "multer": "^2.3.0",
209
- "n8n-core": "2.39.2",
210
- "n8n-editor-ui": "2.39.2",
211
- "n8n-nodes-base": "2.39.2",
212
- "n8n-workflow": "2.39.1",
203
+ "n8n-core": "2.40.0",
204
+ "n8n-editor-ui": "2.40.0",
205
+ "n8n-nodes-base": "2.40.0",
206
+ "n8n-workflow": "2.40.0",
213
207
  "nanoid": "3.3.18",
214
208
  "nodemailer": "8.0.10",
215
209
  "oauth-1.0a": "2.2.6",
@@ -217,7 +211,6 @@
217
211
  "openid-client": "6.8.4",
218
212
  "otpauth": "9.1.1",
219
213
  "p-cancelable": "2.1.1",
220
- "p-lazy": "3.1.0",
221
214
  "p-limit": "^3.1.0",
222
215
  "pdf-parse": "2.4.5",
223
216
  "pg": "8.21.0",
@@ -245,7 +238,6 @@
245
238
  "ws": "8.20.1",
246
239
  "xml2js": "0.6.2",
247
240
  "xmllint-wasm": "3.0.1",
248
- "xss": "1.0.15",
249
241
  "yaml": "2.8.3",
250
242
  "yargs-parser": "21.1.1",
251
243
  "zod": "3.25.76",
@@ -274,7 +266,7 @@
274
266
  "dev:webhook": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"pnpm run watch\" \"nodemon webhook\"",
275
267
  "format": "biome format --write .",
276
268
  "format:check": "biome ci .",
277
- "lint": "eslint . --quiet",
269
+ "lint": "cross-env NODE_OPTIONS=\"--max-old-space-size=6144\" eslint . --quiet",
278
270
  "lint:fix": "eslint . --fix",
279
271
  "recording:list": "node scripts/agent-integration-recordings.mjs --list",
280
272
  "recording:export": "node scripts/agent-integration-recordings.mjs",
@@ -1,7 +0,0 @@
1
- import { WithTimestamps } from '@n8n/db';
2
- export declare class AgentMemoryEntryCursorEntity extends WithTimestamps {
3
- agentId: string;
4
- observationScopeId: string;
5
- lastIndexedObservationId: string;
6
- lastIndexedObservationCreatedAt: Date;
7
- }
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AgentMemoryEntryCursorEntity = void 0;
13
- const db_1 = require("@n8n/db");
14
- const typeorm_1 = require("@n8n/typeorm");
15
- let AgentMemoryEntryCursorEntity = class AgentMemoryEntryCursorEntity extends db_1.WithTimestamps {
16
- };
17
- exports.AgentMemoryEntryCursorEntity = AgentMemoryEntryCursorEntity;
18
- __decorate([
19
- (0, typeorm_1.PrimaryColumn)({ type: 'varchar', length: 36 }),
20
- __metadata("design:type", String)
21
- ], AgentMemoryEntryCursorEntity.prototype, "agentId", void 0);
22
- __decorate([
23
- (0, typeorm_1.PrimaryColumn)({ type: 'varchar', length: 255 }),
24
- __metadata("design:type", String)
25
- ], AgentMemoryEntryCursorEntity.prototype, "observationScopeId", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: 'varchar', length: 36 }),
28
- __metadata("design:type", String)
29
- ], AgentMemoryEntryCursorEntity.prototype, "lastIndexedObservationId", void 0);
30
- __decorate([
31
- (0, db_1.DateTimeColumn)(),
32
- __metadata("design:type", Date)
33
- ], AgentMemoryEntryCursorEntity.prototype, "lastIndexedObservationCreatedAt", void 0);
34
- exports.AgentMemoryEntryCursorEntity = AgentMemoryEntryCursorEntity = __decorate([
35
- (0, typeorm_1.Entity)({ name: 'agents_memory_entry_cursors' }),
36
- (0, typeorm_1.Index)(['observationScopeId'])
37
- ], AgentMemoryEntryCursorEntity);
38
- //# sourceMappingURL=agent-memory-entry-cursor.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-memory-entry-cursor.entity.js","sourceRoot":"","sources":["../../../../src/modules/agents/entities/agent-memory-entry-cursor.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAyD;AACzD,0CAAoE;AAI7D,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,mBAAc;CAY/D,CAAA;;AAVA;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;6DAC/B;AAGhB;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;wEACrB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;8EACP;AAGjC;IADC,IAAA,mBAAc,GAAE;8BACgB,IAAI;qFAAC;uCAX1B,4BAA4B;IAFxC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,6BAA6B,EAAE,CAAC;IAC/C,IAAA,eAAK,EAAC,CAAC,oBAAoB,CAAC,CAAC;GACjB,4BAA4B,CAYxC"}
@@ -1,5 +0,0 @@
1
- import { DataSource, Repository } from '@n8n/typeorm';
2
- import { AgentMemoryEntryCursorEntity } from '../entities/agent-memory-entry-cursor.entity';
3
- export declare class AgentMemoryEntryCursorRepository extends Repository<AgentMemoryEntryCursorEntity> {
4
- constructor(dataSource: DataSource);
5
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AgentMemoryEntryCursorRepository = void 0;
13
- const di_1 = require("@n8n/di");
14
- const typeorm_1 = require("@n8n/typeorm");
15
- const agent_memory_entry_cursor_entity_1 = require("../entities/agent-memory-entry-cursor.entity");
16
- let AgentMemoryEntryCursorRepository = class AgentMemoryEntryCursorRepository extends typeorm_1.Repository {
17
- constructor(dataSource) {
18
- super(agent_memory_entry_cursor_entity_1.AgentMemoryEntryCursorEntity, dataSource.manager);
19
- }
20
- };
21
- exports.AgentMemoryEntryCursorRepository = AgentMemoryEntryCursorRepository;
22
- exports.AgentMemoryEntryCursorRepository = AgentMemoryEntryCursorRepository = __decorate([
23
- (0, di_1.Service)(),
24
- __metadata("design:paramtypes", [typeorm_1.DataSource])
25
- ], AgentMemoryEntryCursorRepository);
26
- //# sourceMappingURL=agent-memory-entry-cursor.repository.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agent-memory-entry-cursor.repository.js","sourceRoot":"","sources":["../../../../src/modules/agents/repositories/agent-memory-entry-cursor.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAkC;AAClC,0CAAsD;AAEtD,mGAA4F;AAGrF,IAAM,gCAAgC,GAAtC,MAAM,gCAAiC,SAAQ,oBAAwC;IAC7F,YAAY,UAAsB;QACjC,KAAK,CAAC,+DAA4B,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IACzD,CAAC;CACD,CAAA;;2CAJY,gCAAgC;IAD5C,IAAA,YAAO,GAAE;qCAEe,oBAAU;GADtB,gCAAgC,CAI5C"}
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.TaskRunnerInternalModeRule = void 0;
10
- const decorators_1 = require("@n8n/decorators");
11
- let TaskRunnerInternalModeRule = class TaskRunnerInternalModeRule {
12
- constructor() {
13
- this.id = 'task-runner-internal-mode-v3';
14
- }
15
- getMetadata() {
16
- return {
17
- version: 'v3',
18
- title: 'Internal task runner mode is removed',
19
- description: 'Task runners can no longer run as a child process of n8n. The new version only supports N8N_RUNNERS_MODE=external and fails to start Code node executions when no external task runner connects.',
20
- category: "infrastructure",
21
- severity: 'medium',
22
- documentationUrl: 'https://docs.n8n.io/deploy/host-n8n/configure-n8n/set-up-task-runners',
23
- };
24
- }
25
- async detect() {
26
- if (process.env.N8N_RUNNERS_MODE !== 'internal') {
27
- return { isAffected: false, instanceIssues: [], recommendations: [] };
28
- }
29
- return {
30
- isAffected: true,
31
- instanceIssues: [
32
- {
33
- title: 'N8N_RUNNERS_MODE is set to "internal"',
34
- description: 'This instance runs task runners inside the n8n process. The new version rejects this mode, so Code nodes stop executing until an external task runner is connected.',
35
- level: 'warning',
36
- },
37
- ],
38
- recommendations: [
39
- {
40
- action: 'Switch to external task runners before upgrading',
41
- description: 'Run the task runner launcher as a separate process or container, set N8N_RUNNERS_MODE=external and share N8N_RUNNERS_AUTH_TOKEN between n8n and the launcher.',
42
- },
43
- ],
44
- };
45
- }
46
- };
47
- exports.TaskRunnerInternalModeRule = TaskRunnerInternalModeRule;
48
- exports.TaskRunnerInternalModeRule = TaskRunnerInternalModeRule = __decorate([
49
- (0, decorators_1.BreakingChangeRule)({ version: 'v3' })
50
- ], TaskRunnerInternalModeRule);
51
- //# sourceMappingURL=task-runner-internal-mode.rule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"task-runner-internal-mode.rule.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/rules/v3/task-runner-internal-mode.rule.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gDAAqD;AAU9C,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IAAhC;QACN,OAAE,GAAW,8BAA8B,CAAC;IAuC7C,CAAC;IArCA,WAAW;QACV,OAAO;YACN,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,sCAAsC;YAC7C,WAAW,EACV,kMAAkM;YACnM,QAAQ,kBAAuC;YAC/C,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,uEAAuE;SACzF,CAAC;IACH,CAAC;IAGD,KAAK,CAAC,MAAM;QACX,IAAI,OAAO,CAAC,GAAG,CAAC,gBAAgB,KAAK,UAAU,EAAE,CAAC;YACjD,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC;QACvE,CAAC;QAED,OAAO;YACN,UAAU,EAAE,IAAI;YAChB,cAAc,EAAE;gBACf;oBACC,KAAK,EAAE,uCAAuC;oBAC9C,WAAW,EACV,qKAAqK;oBACtK,KAAK,EAAE,SAAS;iBAChB;aACD;YACD,eAAe,EAAE;gBAChB;oBACC,MAAM,EAAE,kDAAkD;oBAC1D,WAAW,EACV,+JAA+J;iBAChK;aACD;SACD,CAAC;IACH,CAAC;CACD,CAAA;;qCAxCY,0BAA0B;IADtC,IAAA,+BAAkB,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;GACzB,0BAA0B,CAwCtC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/modules/git-connections.ee/constants.ts"],"names":[],"mappings":";;;AACa,QAAA,eAAe,GAAG,oBAAoB,CAAC;AAEvC,QAAA,uBAAuB,GAAG,UAAU,CAAC;AACrC,QAAA,wBAAwB,GAAG,iBAAiB,CAAC;AAS7C,QAAA,2BAA2B,GAAG,EAAE,CAAC;AACjC,QAAA,iCAAiC,GAAG,EAAE,CAAC;AACvC,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAI/B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,2BAA2B,GAAG,EAAE,CAAC;AAKjC,QAAA,4BAA4B,GAAG,MAAM,CAAC"}
@@ -1,8 +0,0 @@
1
- import { WithTimestamps } from '@n8n/db';
2
- import { type Relation } from '@n8n/typeorm';
3
- import { GitConnection } from './git-connection.entity';
4
- export declare class GitConnectionProject extends WithTimestamps {
5
- projectId: string;
6
- gitConnectionId: string;
7
- gitConnection: Relation<GitConnection>;
8
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-connection-project.entity.js","sourceRoot":"","sources":["../../../../../src/modules/git-connections.ee/database/entities/git-connection-project.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAyC;AACzC,0CAQsB;AAEtB,mEAAwD;AAWjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,mBAAc;CAWvD,CAAA;;AATA;IADC,IAAA,uBAAa,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;uDAC7B;AAIlB;IAFC,IAAA,eAAK,GAAE;IACP,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;6DAChB;AAIxB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,qCAAa,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IACvD,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;;2DACD;+BAV3B,oBAAoB;IADhC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,oBAAoB,CAWhC"}
@@ -1,14 +0,0 @@
1
- import type { GitConnectionType, GitKeyGeneratorType } from '@n8n/api-types';
2
- import { WithTimestampsAndStringId } from '@n8n/db';
3
- export declare class GitConnection extends WithTimestampsAndStringId {
4
- name: string;
5
- repositoryUrl: string;
6
- branchName: string | null;
7
- connectionType: GitConnectionType;
8
- publicKey: string | null;
9
- encryptedPrivateKey: string | null;
10
- encryptedUsername: string | null;
11
- encryptedPassword: string | null;
12
- keyGeneratorType: GitKeyGeneratorType | null;
13
- baseCommit: string | null;
14
- }
@@ -1,61 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GitConnection = void 0;
13
- const db_1 = require("@n8n/db");
14
- const typeorm_1 = require("@n8n/typeorm");
15
- let GitConnection = class GitConnection extends db_1.WithTimestampsAndStringId {
16
- };
17
- exports.GitConnection = GitConnection;
18
- __decorate([
19
- (0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
20
- __metadata("design:type", String)
21
- ], GitConnection.prototype, "name", void 0);
22
- __decorate([
23
- (0, typeorm_1.Column)({ type: 'text' }),
24
- __metadata("design:type", String)
25
- ], GitConnection.prototype, "repositoryUrl", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
28
- __metadata("design:type", Object)
29
- ], GitConnection.prototype, "branchName", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ type: 'varchar', length: 16 }),
32
- __metadata("design:type", String)
33
- ], GitConnection.prototype, "connectionType", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
36
- __metadata("design:type", Object)
37
- ], GitConnection.prototype, "publicKey", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
40
- __metadata("design:type", Object)
41
- ], GitConnection.prototype, "encryptedPrivateKey", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
44
- __metadata("design:type", Object)
45
- ], GitConnection.prototype, "encryptedUsername", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ type: 'text', nullable: true }),
48
- __metadata("design:type", Object)
49
- ], GitConnection.prototype, "encryptedPassword", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ type: 'varchar', length: 16, nullable: true }),
52
- __metadata("design:type", Object)
53
- ], GitConnection.prototype, "keyGeneratorType", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: true }),
56
- __metadata("design:type", Object)
57
- ], GitConnection.prototype, "baseCommit", void 0);
58
- exports.GitConnection = GitConnection = __decorate([
59
- (0, typeorm_1.Entity)('git_connection')
60
- ], GitConnection);
61
- //# sourceMappingURL=git-connection.entity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"git-connection.entity.js","sourceRoot":"","sources":["../../../../../src/modules/git-connections.ee/database/entities/git-connection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gCAAoD;AACpD,0CAA8C;AAGvC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,8BAAyB;CAoC3D,CAAA;;AAlCA;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2CAC5B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;oDACH;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC/B;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;qDACN;AAIlC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAChB;AAIzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACN;AAInC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACR;AAIjC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACR;AAIjC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACX;AAI7C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC9B;wBAnCd,aAAa;IADzB,IAAA,gBAAM,EAAC,gBAAgB,CAAC;GACZ,aAAa,CAoCzB"}
@@ -1,11 +0,0 @@
1
- import { BaseRepository, type OperationContext, TransactionRunner } from '@n8n/db';
2
- import { DataSource } from '@n8n/typeorm';
3
- import { GitConnectionProject } from '../entities/git-connection-project.entity';
4
- export declare class GitConnectionProjectRepository extends BaseRepository<GitConnectionProject> {
5
- constructor(dataSource: DataSource, transactionRunner: TransactionRunner);
6
- findByProjectId(projectId: string): Promise<GitConnectionProject | null>;
7
- linkProject(projectId: string, gitConnectionId: string): Promise<GitConnectionProject>;
8
- unlinkProject(projectId: string, gitConnectionId: string): Promise<number>;
9
- findProjectIdsByConnection(gitConnectionId: string): Promise<string[]>;
10
- syncConnectionProjects(gitConnectionId: string, projectIds: string[], ctx?: OperationContext): Promise<void>;
11
- }
@@ -1,58 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GitConnectionProjectRepository = void 0;
13
- const db_1 = require("@n8n/db");
14
- const di_1 = require("@n8n/di");
15
- const typeorm_1 = require("@n8n/typeorm");
16
- const git_connection_project_entity_1 = require("../entities/git-connection-project.entity");
17
- let GitConnectionProjectRepository = class GitConnectionProjectRepository extends db_1.BaseRepository {
18
- constructor(dataSource, transactionRunner) {
19
- super(git_connection_project_entity_1.GitConnectionProject, dataSource.manager, transactionRunner);
20
- }
21
- async findByProjectId(projectId) {
22
- return await this.findOneBy({ projectId });
23
- }
24
- async linkProject(projectId, gitConnectionId) {
25
- const link = this.create({ projectId, gitConnectionId });
26
- await this.createQueryBuilder().insert().values(link).orIgnore().execute();
27
- return await this.findOneByOrFail({ projectId });
28
- }
29
- async unlinkProject(projectId, gitConnectionId) {
30
- const result = await this.delete({ projectId, gitConnectionId });
31
- return result.affected ?? 0;
32
- }
33
- async findProjectIdsByConnection(gitConnectionId) {
34
- const rows = await this.find({
35
- where: { gitConnectionId },
36
- select: { projectId: true },
37
- order: { projectId: 'ASC' },
38
- });
39
- return rows.map((row) => row.projectId);
40
- }
41
- async syncConnectionProjects(gitConnectionId, projectIds, ctx = {}) {
42
- if (projectIds.length === 0)
43
- return;
44
- await this.runInTransaction(ctx, async (trx) => {
45
- await trx.delete(git_connection_project_entity_1.GitConnectionProject, {
46
- gitConnectionId,
47
- projectId: (0, typeorm_1.Not)((0, typeorm_1.In)(projectIds)),
48
- });
49
- await trx.upsert(git_connection_project_entity_1.GitConnectionProject, projectIds.map((projectId) => ({ projectId, gitConnectionId })), ['projectId']);
50
- });
51
- }
52
- };
53
- exports.GitConnectionProjectRepository = GitConnectionProjectRepository;
54
- exports.GitConnectionProjectRepository = GitConnectionProjectRepository = __decorate([
55
- (0, di_1.Service)(),
56
- __metadata("design:paramtypes", [typeorm_1.DataSource, db_1.TransactionRunner])
57
- ], GitConnectionProjectRepository);
58
- //# sourceMappingURL=git-connection-project.repository.js.map