n8n 2.32.6 → 2.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (717) hide show
  1. package/dist/active-workflow-manager.d.ts +4 -1
  2. package/dist/active-workflow-manager.js +18 -16
  3. package/dist/active-workflow-manager.js.map +1 -1
  4. package/dist/build.tsbuildinfo +1 -1
  5. package/dist/collaboration/collaboration.service.d.ts +1 -0
  6. package/dist/collaboration/collaboration.service.js +12 -1
  7. package/dist/collaboration/collaboration.service.js.map +1 -1
  8. package/dist/commands/base-command.d.ts +3 -2
  9. package/dist/commands/base-command.js +31 -23
  10. package/dist/commands/base-command.js.map +1 -1
  11. package/dist/commands/db/revert.js.map +1 -1
  12. package/dist/commands/import/credentials.d.ts +1 -1
  13. package/dist/commands/import/credentials.js +91 -25
  14. package/dist/commands/import/credentials.js.map +1 -1
  15. package/dist/commands/ldap/reset.js.map +1 -1
  16. package/dist/commands/start.d.ts +1 -0
  17. package/dist/commands/start.js +3 -1
  18. package/dist/commands/start.js.map +1 -1
  19. package/dist/commands/user-management/reset.js +1 -5
  20. package/dist/commands/user-management/reset.js.map +1 -1
  21. package/dist/commands/webhook.d.ts +1 -0
  22. package/dist/commands/webhook.js +1 -1
  23. package/dist/commands/webhook.js.map +1 -1
  24. package/dist/commands/worker.d.ts +1 -0
  25. package/dist/commands/worker.js +1 -1
  26. package/dist/commands/worker.js.map +1 -1
  27. package/dist/constants.js +19 -0
  28. package/dist/constants.js.map +1 -1
  29. package/dist/controllers/ai.controller.d.ts +4 -5
  30. package/dist/controllers/ai.controller.js +5 -22
  31. package/dist/controllers/ai.controller.js.map +1 -1
  32. package/dist/controllers/e2e.controller.d.ts +15 -2
  33. package/dist/controllers/e2e.controller.js +25 -2
  34. package/dist/controllers/e2e.controller.js.map +1 -1
  35. package/dist/controllers/oauth/oauth2-credential.controller.js +5 -1
  36. package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
  37. package/dist/controllers/project.controller.js.map +1 -1
  38. package/dist/controllers/role.controller.d.ts +2 -2
  39. package/dist/controllers/role.controller.js +4 -3
  40. package/dist/controllers/role.controller.js.map +1 -1
  41. package/dist/controllers/users.controller.d.ts +5 -0
  42. package/dist/controllers/users.controller.js +1 -0
  43. package/dist/controllers/users.controller.js.map +1 -1
  44. package/dist/credentials/credential-connection-status-proxy.js.map +1 -1
  45. package/dist/credentials/credential-dependency.service.js.map +1 -1
  46. package/dist/credentials/credentials-finder.service.d.ts +7 -2
  47. package/dist/credentials/credentials-finder.service.js +33 -8
  48. package/dist/credentials/credentials-finder.service.js.map +1 -1
  49. package/dist/credentials/credentials.controller.d.ts +6 -0
  50. package/dist/credentials/credentials.controller.js +44 -5
  51. package/dist/credentials/credentials.controller.js.map +1 -1
  52. package/dist/credentials/credentials.service.d.ts +38 -5
  53. package/dist/credentials/credentials.service.ee.d.ts +4 -2
  54. package/dist/credentials/credentials.service.ee.js +8 -7
  55. package/dist/credentials/credentials.service.ee.js.map +1 -1
  56. package/dist/credentials/credentials.service.js +227 -21
  57. package/dist/credentials/credentials.service.js.map +1 -1
  58. package/dist/credentials/instance-credential-broker.d.ts +24 -0
  59. package/dist/credentials/instance-credential-broker.js +80 -0
  60. package/dist/credentials/instance-credential-broker.js.map +1 -0
  61. package/dist/credentials/instance-credential-use.registry.d.ts +14 -0
  62. package/dist/credentials/instance-credential-use.registry.js +43 -0
  63. package/dist/credentials/instance-credential-use.registry.js.map +1 -0
  64. package/dist/credentials-helper.js +4 -0
  65. package/dist/credentials-helper.js.map +1 -1
  66. package/dist/credentials-overwrites.js +2 -1
  67. package/dist/credentials-overwrites.js.map +1 -1
  68. package/dist/errors/response-errors/workflow-deactivation-bad-request.error.d.ts +9 -0
  69. package/dist/errors/response-errors/workflow-deactivation-bad-request.error.js +13 -0
  70. package/dist/errors/response-errors/workflow-deactivation-bad-request.error.js.map +1 -0
  71. package/dist/evaluation.ee/evaluation-collection.service.d.ts +12 -2
  72. package/dist/evaluation.ee/evaluation-collection.service.js +132 -20
  73. package/dist/evaluation.ee/evaluation-collection.service.js.map +1 -1
  74. package/dist/evaluation.ee/evaluation-collections.controller.ee.d.ts +12 -0
  75. package/dist/evaluation.ee/evaluation-collections.controller.ee.js +12 -0
  76. package/dist/evaluation.ee/evaluation-collections.controller.ee.js.map +1 -1
  77. package/dist/evaluation.ee/insights/eval-insights.service.d.ts +11 -4
  78. package/dist/evaluation.ee/insights/eval-insights.service.js +136 -30
  79. package/dist/evaluation.ee/insights/eval-insights.service.js.map +1 -1
  80. package/dist/evaluation.ee/insights/insights-context-builder.d.ts +59 -0
  81. package/dist/evaluation.ee/insights/insights-context-builder.js +179 -0
  82. package/dist/evaluation.ee/insights/insights-context-builder.js.map +1 -0
  83. package/dist/evaluation.ee/insights/insights-model-resolver.d.ts +16 -0
  84. package/dist/evaluation.ee/insights/insights-model-resolver.js +65 -0
  85. package/dist/evaluation.ee/insights/insights-model-resolver.js.map +1 -0
  86. package/dist/evaluation.ee/metric-scales.d.ts +4 -0
  87. package/dist/evaluation.ee/metric-scales.js +13 -0
  88. package/dist/evaluation.ee/metric-scales.js.map +1 -0
  89. package/dist/evaluation.ee/test-runner/test-runner.service.ee.d.ts +5 -0
  90. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +40 -4
  91. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
  92. package/dist/evaluation.ee/test-runner/workflow-compiler.service.d.ts +6 -1
  93. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +53 -4
  94. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
  95. package/dist/evaluation.ee/test-runs.controller.ee.d.ts +4 -2
  96. package/dist/evaluation.ee/test-runs.controller.ee.js +26 -6
  97. package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
  98. package/dist/eventbus/message-event-bus/message-event-bus.js.map +1 -1
  99. package/dist/events/maps/workflow-publication-metrics.event-map.d.ts +2 -0
  100. package/dist/events/relays/telemetry.event-relay.js +5 -0
  101. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  102. package/dist/execution-lifecycle/execution-lifecycle-hooks.js +1 -0
  103. package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
  104. package/dist/executions/execution-data/execution-data-json-store.d.ts +6 -4
  105. package/dist/executions/execution-data/execution-data-json-store.js +17 -5
  106. package/dist/executions/execution-data/execution-data-json-store.js.map +1 -1
  107. package/dist/executions/pre-execution-checks/credentials-permission-checker.d.ts +1 -0
  108. package/dist/executions/pre-execution-checks/credentials-permission-checker.js +17 -5
  109. package/dist/executions/pre-execution-checks/credentials-permission-checker.js.map +1 -1
  110. package/dist/external-hooks.d.ts +44 -10
  111. package/dist/external-hooks.js +13 -0
  112. package/dist/external-hooks.js.map +1 -1
  113. package/dist/license.d.ts +2 -0
  114. package/dist/license.js +13 -1
  115. package/dist/license.js.map +1 -1
  116. package/dist/metrics/prometheus/workflow-info-metrics.service.d.ts +4 -1
  117. package/dist/metrics/prometheus/workflow-info-metrics.service.js +27 -8
  118. package/dist/metrics/prometheus/workflow-info-metrics.service.js.map +1 -1
  119. package/dist/metrics/prometheus/workflow-publication-metrics.service.js +11 -1
  120. package/dist/metrics/prometheus/workflow-publication-metrics.service.js.map +1 -1
  121. package/dist/modules/agents/agent-chat.controller.js +10 -2
  122. package/dist/modules/agents/agent-chat.controller.js.map +1 -1
  123. package/dist/modules/agents/agent-config.service.js +1 -1
  124. package/dist/modules/agents/agent-config.service.js.map +1 -1
  125. package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +7 -1
  126. package/dist/modules/agents/agent-execution-orchestrator.service.js +84 -43
  127. package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
  128. package/dist/modules/agents/agent-execution.service.d.ts +12 -1
  129. package/dist/modules/agents/agent-execution.service.js +82 -7
  130. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  131. package/dist/modules/agents/agent-integration-persistence.service.js +2 -2
  132. package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
  133. package/dist/modules/agents/agent-integrations.controller.js +4 -2
  134. package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
  135. package/dist/modules/agents/agent-knowledge-sandbox.service.js +5 -3
  136. package/dist/modules/agents/agent-knowledge-sandbox.service.js.map +1 -1
  137. package/dist/modules/agents/agent-knowledge.service.d.ts +0 -1
  138. package/dist/modules/agents/agent-knowledge.service.js +2 -9
  139. package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
  140. package/dist/modules/agents/agent-model-catalog.service.js +1 -1
  141. package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
  142. package/dist/modules/agents/agent-publish.controller.js +2 -2
  143. package/dist/modules/agents/agent-publish.controller.js.map +1 -1
  144. package/dist/modules/agents/agent-publish.service.d.ts +7 -3
  145. package/dist/modules/agents/agent-publish.service.js +31 -8
  146. package/dist/modules/agents/agent-publish.service.js.map +1 -1
  147. package/dist/modules/agents/agent-run-tracing.service.d.ts +30 -0
  148. package/dist/modules/agents/agent-run-tracing.service.js +63 -0
  149. package/dist/modules/agents/agent-run-tracing.service.js.map +1 -0
  150. package/dist/modules/agents/agent-runtime-instrumentation.d.ts +26 -0
  151. package/dist/{blob-storage/types.js → modules/agents/agent-runtime-instrumentation.js} +1 -1
  152. package/dist/modules/agents/agent-runtime-instrumentation.js.map +1 -0
  153. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +3 -1
  154. package/dist/modules/agents/agent-runtime-reconstruction.service.js +31 -8
  155. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  156. package/dist/modules/agents/agent-sse-stream.js +31 -6
  157. package/dist/modules/agents/agent-sse-stream.js.map +1 -1
  158. package/dist/modules/agents/agent-validation.service.d.ts +2 -1
  159. package/dist/modules/agents/agent-validation.service.js +21 -6
  160. package/dist/modules/agents/agent-validation.service.js.map +1 -1
  161. package/dist/modules/agents/agent-workflow-execution.service.d.ts +5 -3
  162. package/dist/modules/agents/agent-workflow-execution.service.js +31 -9
  163. package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
  164. package/dist/modules/agents/agents-tools.service.js +12 -0
  165. package/dist/modules/agents/agents-tools.service.js.map +1 -1
  166. package/dist/modules/agents/agents.module.js +13 -0
  167. package/dist/modules/agents/agents.module.js.map +1 -1
  168. package/dist/modules/agents/agents.service.d.ts +3 -1
  169. package/dist/modules/agents/agents.service.js +5 -2
  170. package/dist/modules/agents/agents.service.js.map +1 -1
  171. package/dist/modules/agents/builder/agents-builder-model-recommendations.js +6 -4
  172. package/dist/modules/agents/builder/agents-builder-model-recommendations.js.map +1 -1
  173. package/dist/modules/agents/builder/agents-builder-prompts.d.ts +5 -4
  174. package/dist/modules/agents/builder/agents-builder-prompts.js +109 -34
  175. package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
  176. package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +16 -2
  177. package/dist/modules/agents/builder/agents-builder-tools.service.js +201 -39
  178. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  179. package/dist/modules/agents/builder/agents-builder.service.js +7 -2
  180. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  181. package/dist/modules/agents/builder/builder-config-telemetry.d.ts +12 -0
  182. package/dist/modules/agents/builder/builder-config-telemetry.js +67 -0
  183. package/dist/modules/agents/builder/builder-config-telemetry.js.map +1 -0
  184. package/dist/modules/agents/builder/builder-tool-names.d.ts +2 -0
  185. package/dist/modules/agents/builder/builder-tool-names.js +2 -0
  186. package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
  187. package/dist/modules/agents/builder/interactive/ask-credential.tool.d.ts +3 -0
  188. package/dist/modules/agents/builder/interactive/ask-credential.tool.js +35 -7
  189. package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +1 -1
  190. package/dist/modules/agents/builder/interactive/ask-questions.tool.d.ts +4 -1
  191. package/dist/modules/agents/builder/interactive/ask-questions.tool.js +13 -1
  192. package/dist/modules/agents/builder/interactive/ask-questions.tool.js.map +1 -1
  193. package/dist/modules/agents/builder/interactive/configure-channel.tool.d.ts +2 -0
  194. package/dist/modules/agents/builder/interactive/configure-channel.tool.js +7 -1
  195. package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
  196. package/dist/modules/agents/builder/interactive/finish-setup.tool.d.ts +17 -0
  197. package/dist/modules/agents/builder/interactive/finish-setup.tool.js +316 -0
  198. package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -0
  199. package/dist/modules/agents/builder/interactive/index.d.ts +1 -0
  200. package/dist/modules/agents/builder/interactive/index.js +3 -1
  201. package/dist/modules/agents/builder/interactive/index.js.map +1 -1
  202. package/dist/modules/agents/builder/interactive/resolve-llm.tool.d.ts +8 -0
  203. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +87 -6
  204. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
  205. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +6 -5
  206. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
  207. package/dist/modules/agents/builder/prompts/config-rules.prompt.js +6 -5
  208. package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
  209. package/dist/modules/agents/builder/prompts/initial-build.prompt.d.ts +2 -0
  210. package/dist/modules/agents/builder/prompts/initial-build.prompt.js +56 -0
  211. package/dist/modules/agents/builder/prompts/initial-build.prompt.js.map +1 -0
  212. package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +6 -3
  213. package/dist/modules/agents/builder/prompts/llm-selection.prompt.js.map +1 -1
  214. package/dist/modules/agents/builder/prompts/memory.prompt.d.ts +1 -1
  215. package/dist/modules/agents/builder/prompts/memory.prompt.js +2 -2
  216. package/dist/modules/agents/builder/prompts/memory.prompt.js.map +1 -1
  217. package/dist/modules/agents/builder/prompts/planner-todos.prompt.d.ts +2 -0
  218. package/dist/modules/agents/builder/prompts/planner-todos.prompt.js +22 -0
  219. package/dist/modules/agents/builder/prompts/planner-todos.prompt.js.map +1 -0
  220. package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +1 -1
  221. package/dist/modules/agents/builder/prompts/tools.prompt.js +12 -12
  222. package/dist/modules/agents/builder/resolve-integration.tool.js +1 -1
  223. package/dist/modules/agents/builder/resolve-integration.tool.js.map +1 -1
  224. package/dist/modules/agents/builder/skills/external-services.skill.d.ts +2 -0
  225. package/dist/modules/agents/builder/skills/external-services.skill.js +361 -0
  226. package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -0
  227. package/dist/modules/agents/builder/skills/index.js +2 -6
  228. package/dist/modules/agents/builder/skills/index.js.map +1 -1
  229. package/dist/modules/agents/builder/skills/memory.skill.js +2 -1
  230. package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
  231. package/dist/modules/agents/builder/skills/resource-locators.skill.js +17 -3
  232. package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
  233. package/dist/modules/agents/builder/skills/target-skills.skill.js +12 -9
  234. package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
  235. package/dist/modules/agents/builder/skills/target-tasks.skill.js +14 -10
  236. package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
  237. package/dist/modules/agents/builder/verify-mcp-server.tool.d.ts +4 -0
  238. package/dist/modules/agents/builder/verify-mcp-server.tool.js +30 -5
  239. package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
  240. package/dist/modules/agents/entities/agent-execution.entity.d.ts +2 -1
  241. package/dist/modules/agents/entities/agent-execution.entity.js +4 -0
  242. package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
  243. package/dist/modules/agents/execution-log/agent-execution-log-store.d.ts +17 -0
  244. package/dist/modules/agents/execution-log/agent-execution-log-store.js +58 -0
  245. package/dist/modules/agents/execution-log/agent-execution-log-store.js.map +1 -0
  246. package/dist/modules/agents/execution-log/agent-execution-log-write.error.d.ts +5 -0
  247. package/dist/modules/agents/execution-log/agent-execution-log-write.error.js +11 -0
  248. package/dist/modules/agents/execution-log/agent-execution-log-write.error.js.map +1 -0
  249. package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.d.ts +5 -0
  250. package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js +11 -0
  251. package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js.map +1 -0
  252. package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +1 -1
  253. package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +4 -2
  254. package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
  255. package/dist/modules/agents/integrations/agent-chat-bridge.js +8 -4
  256. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  257. package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +4 -2
  258. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +62 -6
  259. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
  260. package/dist/modules/agents/integrations/integration-tool-factory.d.ts +7 -7
  261. package/dist/modules/agents/integrations/integration-tool-factory.js +13 -10
  262. package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
  263. package/dist/modules/agents/integrations/integration-tool-schema.d.ts +7 -7
  264. package/dist/modules/agents/integrations/integration-tool-schema.js +7 -7
  265. package/dist/modules/agents/integrations/integration-tool-schema.js.map +1 -1
  266. package/dist/modules/agents/integrations/slack-app-setup.service.js +2 -1
  267. package/dist/modules/agents/integrations/slack-app-setup.service.js.map +1 -1
  268. package/dist/modules/agents/json-config/from-json-config.d.ts +21 -0
  269. package/dist/modules/agents/json-config/from-json-config.js +16 -4
  270. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  271. package/dist/modules/agents/json-config/mcp-client-factory.d.ts +4 -0
  272. package/dist/modules/agents/json-config/mcp-client-factory.js +6 -1
  273. package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
  274. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +14 -1
  275. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -1
  276. package/dist/modules/agents/{builder/interactive/llm-provider-defaults.d.ts → llm-provider-defaults.d.ts} +1 -0
  277. package/dist/modules/agents/{builder/interactive/llm-provider-defaults.js → llm-provider-defaults.js} +14 -1
  278. package/dist/modules/agents/llm-provider-defaults.js.map +1 -0
  279. package/dist/modules/agents/repositories/agent-execution.repository.d.ts +4 -0
  280. package/dist/modules/agents/repositories/agent-execution.repository.js +31 -0
  281. package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
  282. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +1 -0
  283. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
  284. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +4 -1
  285. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +7 -1
  286. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -1
  287. package/dist/modules/agents/tools/node-tool-factory.d.ts +2 -0
  288. package/dist/modules/agents/tools/node-tool-factory.js +8 -0
  289. package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
  290. package/dist/modules/agents/tools/workflow-tool-factory.d.ts +3 -1
  291. package/dist/modules/agents/tools/workflow-tool-factory.js +9 -3
  292. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  293. package/dist/modules/agents/utils/execution-to-message-mapper.js +4 -2
  294. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  295. package/dist/modules/agents/utils/node-tool-validation.js +6 -0
  296. package/dist/modules/agents/utils/node-tool-validation.js.map +1 -1
  297. package/dist/modules/breaking-changes/rules/index.d.ts +3 -0
  298. package/dist/modules/breaking-changes/rules/index.js +3 -0
  299. package/dist/modules/breaking-changes/rules/index.js.map +1 -1
  300. package/dist/modules/breaking-changes/rules/v3/chat-trigger-embedded-json.rule.d.ts +10 -0
  301. package/dist/modules/breaking-changes/rules/v3/chat-trigger-embedded-json.rule.js +58 -0
  302. package/dist/modules/breaking-changes/rules/v3/chat-trigger-embedded-json.rule.js.map +1 -0
  303. package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.d.ts +239 -0
  304. package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.js +445 -0
  305. package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.js.map +1 -0
  306. package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.d.ts +11 -0
  307. package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js +61 -0
  308. package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js.map +1 -0
  309. package/dist/modules/community-packages/installed-nodes.entity.js +1 -1
  310. package/dist/modules/community-packages/installed-nodes.entity.js.map +1 -1
  311. package/dist/modules/data-table/data-table-proxy.service.js +13 -0
  312. package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
  313. package/dist/modules/data-table/data-table.controller.js +1 -1
  314. package/dist/modules/data-table/data-table.controller.js.map +1 -1
  315. package/dist/modules/data-table/data-table.service.d.ts +1 -1
  316. package/dist/modules/data-table/data-table.service.js.map +1 -1
  317. package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.js.map +1 -1
  318. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js.map +1 -1
  319. package/dist/modules/instance-ai/eval/agent-execution.service.d.ts +26 -0
  320. package/dist/modules/instance-ai/eval/agent-execution.service.js +508 -0
  321. package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -0
  322. package/dist/modules/instance-ai/eval/agent-model-turn-recorder.d.ts +9 -0
  323. package/dist/modules/instance-ai/eval/agent-model-turn-recorder.js +110 -0
  324. package/dist/modules/instance-ai/eval/agent-model-turn-recorder.js.map +1 -0
  325. package/dist/modules/instance-ai/eval/agent-scenario-seed.d.ts +14 -0
  326. package/dist/modules/instance-ai/eval/agent-scenario-seed.js +98 -0
  327. package/dist/modules/instance-ai/eval/agent-scenario-seed.js.map +1 -0
  328. package/dist/modules/instance-ai/eval/execution.service.js +3 -3
  329. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
  330. package/dist/modules/instance-ai/eval/mcp-mock-fetch.d.ts +28 -0
  331. package/dist/modules/instance-ai/eval/mcp-mock-fetch.js +265 -0
  332. package/dist/modules/instance-ai/eval/mcp-mock-fetch.js.map +1 -0
  333. package/dist/modules/instance-ai/eval/mock-utils.d.ts +4 -0
  334. package/dist/modules/instance-ai/eval/mock-utils.js +41 -0
  335. package/dist/modules/instance-ai/eval/mock-utils.js.map +1 -0
  336. package/dist/modules/instance-ai/eval/request-sanitizer.d.ts +1 -0
  337. package/dist/modules/instance-ai/eval/request-sanitizer.js +26 -0
  338. package/dist/modules/instance-ai/eval/request-sanitizer.js.map +1 -1
  339. package/dist/modules/instance-ai/eval/web-search-mock.d.ts +26 -0
  340. package/dist/modules/instance-ai/eval/web-search-mock.js +122 -0
  341. package/dist/modules/instance-ai/eval/web-search-mock.js.map +1 -0
  342. package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.d.ts +8 -0
  343. package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js +85 -11
  344. package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js.map +1 -1
  345. package/dist/modules/instance-ai/instance-ai-error-reporter.service.js +13 -0
  346. package/dist/modules/instance-ai/instance-ai-error-reporter.service.js.map +1 -1
  347. package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +3 -3
  348. package/dist/modules/instance-ai/instance-ai-memory.service.js +5 -11
  349. package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
  350. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +42 -14
  351. package/dist/modules/instance-ai/instance-ai-settings.service.js +650 -174
  352. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  353. package/dist/modules/instance-ai/instance-ai-test.controller.js +4 -1
  354. package/dist/modules/instance-ai/instance-ai-test.controller.js.map +1 -1
  355. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +2 -1
  356. package/dist/modules/instance-ai/instance-ai.adapter.service.js +26 -2
  357. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  358. package/dist/modules/instance-ai/instance-ai.controller.d.ts +14 -6
  359. package/dist/modules/instance-ai/instance-ai.controller.js +84 -29
  360. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  361. package/dist/modules/instance-ai/instance-ai.module.js +9 -2
  362. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  363. package/dist/modules/instance-ai/instance-ai.service.d.ts +10 -1
  364. package/dist/modules/instance-ai/instance-ai.service.js +146 -45
  365. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  366. package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.d.ts +1 -1
  367. package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js +6 -5
  368. package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js.map +1 -1
  369. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +6 -2
  370. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +55 -14
  371. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
  372. package/dist/modules/mcp/mcp-protected-resource.d.ts +1 -0
  373. package/dist/modules/mcp/mcp-protected-resource.js +4 -0
  374. package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
  375. package/dist/modules/mcp/mcp-server-middleware.service.js +2 -1
  376. package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
  377. package/dist/modules/mcp/mcp.controller.d.ts +3 -1
  378. package/dist/modules/mcp/mcp.controller.js +15 -11
  379. package/dist/modules/mcp/mcp.controller.js.map +1 -1
  380. package/dist/modules/mcp/mcp.service.d.ts +7 -2
  381. package/dist/modules/mcp/mcp.service.js +63 -43
  382. package/dist/modules/mcp/mcp.service.js.map +1 -1
  383. package/dist/modules/mcp/mcp.types.d.ts +1 -0
  384. package/dist/modules/mcp/tools/execution-utils.d.ts +3 -1
  385. package/dist/modules/mcp/tools/execution-utils.js +6 -4
  386. package/dist/modules/mcp/tools/execution-utils.js.map +1 -1
  387. package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +3 -2
  388. package/dist/modules/mcp/tools/get-workflow-details.tool.js +6 -6
  389. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  390. package/dist/modules/mcp/tools/get-workflow-version.tool.d.ts +3 -2
  391. package/dist/modules/mcp/tools/get-workflow-version.tool.js +1 -1
  392. package/dist/modules/mcp/tools/get-workflow-version.tool.js.map +1 -1
  393. package/dist/modules/mcp/tools/schemas.d.ts +34 -32
  394. package/dist/modules/mcp/tools/schemas.js +14 -2
  395. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  396. package/dist/modules/mcp/tools/test-workflow.tool.d.ts +4 -1
  397. package/dist/modules/mcp/tools/test-workflow.tool.js +13 -5
  398. package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
  399. package/dist/modules/mcp/tools/webhook-utils.d.ts +3 -3
  400. package/dist/modules/mcp/tools/webhook-utils.js +17 -6
  401. package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
  402. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +4 -1
  403. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +5 -1
  404. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  405. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.d.ts +3 -1
  406. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js +16 -3
  407. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js.map +1 -1
  408. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.d.ts +5 -2
  409. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js +17 -10
  410. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js.map +1 -1
  411. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.d.ts +6 -1
  412. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +8 -2
  413. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
  414. package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.d.ts +4 -2
  415. package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js +8 -1
  416. package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js.map +1 -1
  417. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +280 -2
  418. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +54 -17
  419. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  420. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.d.ts +4 -1
  421. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js +58 -1
  422. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js.map +1 -1
  423. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +51 -5
  424. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js +414 -233
  425. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js.map +1 -1
  426. package/dist/modules/mcp-registry/mcp-registry-test.controller.js +2 -2
  427. package/dist/modules/mcp-registry/mcp-registry-test.controller.js.map +1 -1
  428. package/dist/modules/mcp-registry/mcp-registry.module.js +1 -1
  429. package/dist/modules/mcp-registry/mcp-registry.module.js.map +1 -1
  430. package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +11 -1
  431. package/dist/modules/n8n-packages/engine/import-orchestrator.js +36 -7
  432. package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
  433. package/dist/modules/n8n-packages/engine/import-result.d.ts +3 -2
  434. package/dist/modules/n8n-packages/engine/import-result.js +2 -1
  435. package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
  436. package/dist/modules/n8n-packages/engine/import-telemetry.d.ts +2 -0
  437. package/dist/modules/n8n-packages/engine/import-telemetry.js +11 -0
  438. package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
  439. package/dist/modules/n8n-packages/engine/project-package-importer.js +11 -0
  440. package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
  441. package/dist/modules/n8n-packages/engine/workflow-package-importer.js +10 -1
  442. package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
  443. package/dist/modules/n8n-packages/entities/requirements.types.d.ts +2 -0
  444. package/dist/modules/n8n-packages/entities/requirements.types.js +1 -0
  445. package/dist/modules/n8n-packages/entities/requirements.types.js.map +1 -1
  446. package/dist/modules/n8n-packages/entities/variable/variable-importer.d.ts +9 -0
  447. package/dist/modules/n8n-packages/entities/variable/variable-importer.js +55 -0
  448. package/dist/modules/n8n-packages/entities/variable/variable-importer.js.map +1 -0
  449. package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.d.ts +3 -0
  450. package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js +12 -0
  451. package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js.map +1 -0
  452. package/dist/modules/n8n-packages/entities/variable/variable.types.d.ts +14 -0
  453. package/dist/modules/n8n-packages/entities/variable/variable.types.js +7 -0
  454. package/dist/modules/n8n-packages/entities/variable/variable.types.js.map +1 -1
  455. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.d.ts +37 -0
  456. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js +165 -0
  457. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js.map +1 -0
  458. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.d.ts +39 -0
  459. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js +198 -0
  460. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js.map +1 -0
  461. package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.d.ts +7 -0
  462. package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js +30 -0
  463. package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js.map +1 -0
  464. package/dist/modules/n8n-packages/entities/workflow/node-type-usage.d.ts +11 -0
  465. package/dist/modules/n8n-packages/entities/workflow/node-type-usage.js +27 -0
  466. package/dist/modules/n8n-packages/entities/workflow/node-type-usage.js.map +1 -0
  467. package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.d.ts +2 -0
  468. package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.js +23 -0
  469. package/dist/modules/n8n-packages/entities/workflow/static-sub-workflow-id.js.map +1 -0
  470. package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +2 -2
  471. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +1 -1
  472. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
  473. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +2 -2
  474. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +5 -4
  475. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
  476. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +1 -1
  477. package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.js +2 -2
  478. package/dist/modules/n8n-packages/entities/workflow/workflow-requirements.extractor.js.map +1 -1
  479. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js +3 -1
  480. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
  481. package/dist/modules/n8n-packages/io/unique-filename-allocator.d.ts +1 -0
  482. package/dist/modules/n8n-packages/io/unique-filename-allocator.js +9 -0
  483. package/dist/modules/n8n-packages/io/unique-filename-allocator.js.map +1 -1
  484. package/dist/modules/n8n-packages/n8n-packages.service.d.ts +8 -4
  485. package/dist/modules/n8n-packages/n8n-packages.service.js +81 -36
  486. package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
  487. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +40 -3
  488. package/dist/modules/n8n-packages/n8n-packages.types.js +9 -1
  489. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  490. package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +51 -0
  491. package/dist/modules/n8n-packages/spec/requirements.schema.d.ts +45 -0
  492. package/dist/modules/n8n-packages/spec/requirements.schema.js +10 -1
  493. package/dist/modules/n8n-packages/spec/requirements.schema.js.map +1 -1
  494. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +1 -1
  495. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +1 -1
  496. package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.d.ts +10 -2
  497. package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js +5 -1
  498. package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js.map +1 -1
  499. package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.d.ts +14 -2
  500. package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.js +16 -1
  501. package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.js.map +1 -1
  502. package/dist/modules/oauth-server/oauth-token.service.d.ts +3 -2
  503. package/dist/modules/oauth-server/oauth-token.service.js +13 -33
  504. package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
  505. package/dist/modules/oauth-server/oauth.controller.d.ts +3 -0
  506. package/dist/modules/oauth-server/oauth.controller.js +45 -1
  507. package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
  508. package/dist/modules/oauth-server/oauth.helpers.d.ts +1 -0
  509. package/dist/modules/oauth-server/oauth.helpers.js +7 -0
  510. package/dist/modules/oauth-server/oauth.helpers.js.map +1 -1
  511. package/dist/modules/otel/otel-settings.controller.d.ts +2 -2
  512. package/dist/modules/otel/otel-settings.controller.js +1 -1
  513. package/dist/modules/otel/otel-settings.controller.js.map +1 -1
  514. package/dist/modules/redaction/redaction-context-hook.js +4 -2
  515. package/dist/modules/redaction/redaction-context-hook.js.map +1 -1
  516. package/dist/modules/source-control.ee/source-control-export.service.ee.js +3 -3
  517. package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
  518. package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +1 -0
  519. package/dist/modules/source-control.ee/source-control-import.service.ee.js +51 -22
  520. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  521. package/dist/modules/source-control.ee/source-control-scoped.service.js +1 -1
  522. package/dist/modules/source-control.ee/source-control-scoped.service.js.map +1 -1
  523. package/dist/modules/source-control.ee/types/exportable-credential.d.ts +2 -0
  524. package/dist/modules/workflow-index/workflow-dependency-query.service.js +1 -1
  525. package/dist/modules/workflow-index/workflow-dependency-query.service.js.map +1 -1
  526. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.d.ts +44 -0
  527. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js +373 -0
  528. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js.map +1 -0
  529. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.d.ts +14 -0
  530. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js +97 -0
  531. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js.map +1 -0
  532. package/dist/modules/workflow-reviews.ee/workflow-reviews.module.d.ts +4 -0
  533. package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js +24 -0
  534. package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js.map +1 -0
  535. package/dist/node-execution/ephemeral-node-executor.d.ts +5 -1
  536. package/dist/node-execution/ephemeral-node-executor.js +7 -4
  537. package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
  538. package/dist/node-execution/index.d.ts +1 -0
  539. package/dist/node-execution/index.js +4 -1
  540. package/dist/node-execution/index.js.map +1 -1
  541. package/dist/node-execution/node-tool-operation-support.d.ts +2 -0
  542. package/dist/node-execution/node-tool-operation-support.js +12 -0
  543. package/dist/node-execution/node-tool-operation-support.js.map +1 -0
  544. package/dist/node-types.d.ts +5 -1
  545. package/dist/node-types.js +53 -20
  546. package/dist/node-types.js.map +1 -1
  547. package/dist/oauth/oauth.service.d.ts +5 -1
  548. package/dist/oauth/oauth.service.js +57 -28
  549. package/dist/oauth/oauth.service.js.map +1 -1
  550. package/dist/permissions.ee/check-access.js +18 -0
  551. package/dist/permissions.ee/check-access.js.map +1 -1
  552. package/dist/posthog/index.js +6 -0
  553. package/dist/posthog/index.js.map +1 -1
  554. package/dist/public-api/index.d.ts +1 -1
  555. package/dist/public-api/index.js +40 -11
  556. package/dist/public-api/index.js.map +1 -1
  557. package/dist/public-api/types.d.ts +7 -1
  558. package/dist/public-api/v1/controllers/index.d.ts +2 -0
  559. package/dist/public-api/v1/controllers/index.js +5 -0
  560. package/dist/public-api/v1/controllers/index.js.map +1 -0
  561. package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +9 -0
  562. package/dist/public-api/v1/controllers/workflows.public.controller.js +81 -0
  563. package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -0
  564. package/dist/public-api/v1/handlers/credentials/credentials.handler.js +1 -0
  565. package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
  566. package/dist/public-api/v1/handlers/credentials/credentials.service.d.ts +1 -0
  567. package/dist/public-api/v1/handlers/credentials/credentials.service.js +9 -2
  568. package/dist/public-api/v1/handlers/credentials/credentials.service.js.map +1 -1
  569. package/dist/public-api/v1/handlers/discover/discover.service.d.ts +1 -0
  570. package/dist/public-api/v1/handlers/discover/discover.service.js +39 -34
  571. package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
  572. package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
  573. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +8 -3
  574. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
  575. package/dist/public-api/v1/handlers/otel/otel.handler.d.ts +9 -0
  576. package/dist/public-api/v1/handlers/otel/otel.handler.js +57 -0
  577. package/dist/public-api/v1/handlers/otel/otel.handler.js.map +1 -0
  578. package/dist/public-api/v1/handlers/otel/otel.mapper.d.ts +3 -0
  579. package/dist/public-api/v1/handlers/otel/otel.mapper.js +18 -0
  580. package/dist/public-api/v1/handlers/otel/otel.mapper.js.map +1 -0
  581. package/dist/public-api/v1/handlers/tags/tags.handler.d.ts +0 -1
  582. package/dist/public-api/v1/handlers/tags/tags.handler.js +0 -8
  583. package/dist/public-api/v1/handlers/tags/tags.handler.js.map +1 -1
  584. package/dist/public-api/v1/handlers/users/users.service.ee.js.map +1 -1
  585. package/dist/public-api/v1/handlers/workflows/workflows.handler.d.ts +2 -0
  586. package/dist/public-api/v1/handlers/workflows/workflows.handler.js +47 -34
  587. package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
  588. package/dist/public-api/v1/handlers/workflows/workflows.service.js +6 -0
  589. package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
  590. package/dist/public-api/v1/openapi.yml +491 -19
  591. package/dist/public-api/v1/shared/middlewares/global.middleware.d.ts +4 -0
  592. package/dist/public-api/v1/shared/middlewares/global.middleware.js +9 -1
  593. package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +1 -1
  594. package/dist/public-api/v1/shared/public-api-scope-lookup.d.ts +5 -0
  595. package/dist/public-api/v1/shared/public-api-scope-lookup.js +60 -0
  596. package/dist/public-api/v1/shared/public-api-scope-lookup.js.map +1 -0
  597. package/dist/scaling/constants.d.ts +2 -2
  598. package/dist/scaling/pubsub/pubsub.event-map.d.ts +1 -0
  599. package/dist/scaling/pubsub/pubsub.types.d.ts +2 -1
  600. package/dist/scheduling/durable-job-provisioner.d.ts +1 -0
  601. package/dist/scheduling/durable-job-provisioner.js +2 -0
  602. package/dist/scheduling/durable-job-provisioner.js.map +1 -1
  603. package/dist/scheduling/durable-scheduler.d.ts +2 -1
  604. package/dist/scheduling/durable-scheduler.js +4 -2
  605. package/dist/scheduling/durable-scheduler.js.map +1 -1
  606. package/dist/scheduling/poll-trigger-node/poll-job-provider.d.ts +11 -0
  607. package/dist/scheduling/poll-trigger-node/poll-job-provider.js +41 -0
  608. package/dist/scheduling/poll-trigger-node/poll-job-provider.js.map +1 -0
  609. package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.d.ts +19 -0
  610. package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.js +111 -0
  611. package/dist/scheduling/poll-trigger-node/poll-trigger-job-registrar.js.map +1 -0
  612. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.d.ts +16 -0
  613. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js +100 -0
  614. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js.map +1 -0
  615. package/dist/scheduling/poll-trigger-node/poll-trigger-task.d.ts +6 -0
  616. package/dist/scheduling/poll-trigger-node/poll-trigger-task.js +8 -0
  617. package/dist/scheduling/poll-trigger-node/poll-trigger-task.js.map +1 -0
  618. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.d.ts +1 -0
  619. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js +7 -1
  620. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js.map +1 -1
  621. package/dist/security-audit/risk-reporters/credentials-risk-reporter.d.ts +4 -6
  622. package/dist/security-audit/risk-reporters/credentials-risk-reporter.js +17 -23
  623. package/dist/security-audit/risk-reporters/credentials-risk-reporter.js.map +1 -1
  624. package/dist/security-audit/security-audit.repository.js.map +1 -1
  625. package/dist/services/export.service.js.map +1 -1
  626. package/dist/services/folder-finder.service.d.ts +1 -0
  627. package/dist/services/folder-finder.service.js +30 -0
  628. package/dist/services/folder-finder.service.js.map +1 -1
  629. package/dist/services/folder.service.js.map +1 -1
  630. package/dist/services/free-ai-credits.service.d.ts +32 -0
  631. package/dist/services/free-ai-credits.service.js +55 -0
  632. package/dist/services/free-ai-credits.service.js.map +1 -0
  633. package/dist/services/frontend.service.js +2 -0
  634. package/dist/services/frontend.service.js.map +1 -1
  635. package/dist/services/hooks.service.js.map +1 -1
  636. package/dist/services/import.service.js +3 -1
  637. package/dist/services/import.service.js.map +1 -1
  638. package/dist/services/ownership-transfer/ownership-transfer-handler.registry.js.map +1 -1
  639. package/dist/services/ownership-transfer/ownership-transfer.manifest.json +5 -0
  640. package/dist/services/project.service.ee.d.ts +1 -0
  641. package/dist/services/project.service.ee.js +6 -1
  642. package/dist/services/project.service.ee.js.map +1 -1
  643. package/dist/services/public-api-key.service.js.map +1 -1
  644. package/dist/services/role.service.d.ts +2 -1
  645. package/dist/services/role.service.js +21 -3
  646. package/dist/services/role.service.js.map +1 -1
  647. package/dist/services/tag.service.js.map +1 -1
  648. package/dist/telemetry/index.d.ts +3 -2
  649. package/dist/telemetry/index.js +7 -1
  650. package/dist/telemetry/index.js.map +1 -1
  651. package/dist/utils.d.ts +1 -0
  652. package/dist/utils.js +4 -0
  653. package/dist/utils.js.map +1 -1
  654. package/dist/webhooks/live-webhooks.js +1 -1
  655. package/dist/webhooks/live-webhooks.js.map +1 -1
  656. package/dist/webhooks/waiting-forms.js +2 -7
  657. package/dist/webhooks/waiting-forms.js.map +1 -1
  658. package/dist/webhooks/waiting-webhooks.d.ts +7 -2
  659. package/dist/webhooks/waiting-webhooks.js +32 -2
  660. package/dist/webhooks/waiting-webhooks.js.map +1 -1
  661. package/dist/workflow-helpers.js +8 -62
  662. package/dist/workflow-helpers.js.map +1 -1
  663. package/dist/workflow-hook-context.service.d.ts +4 -1
  664. package/dist/workflow-hook-context.service.js +14 -2
  665. package/dist/workflow-hook-context.service.js.map +1 -1
  666. package/dist/workflows/publication/workflow-publication-reconciler.service.d.ts +10 -3
  667. package/dist/workflows/publication/workflow-publication-reconciler.service.js +49 -13
  668. package/dist/workflows/publication/workflow-publication-reconciler.service.js.map +1 -1
  669. package/dist/workflows/triggers/non-webhook-trigger-registrar.d.ts +3 -1
  670. package/dist/workflows/triggers/non-webhook-trigger-registrar.js +5 -2
  671. package/dist/workflows/triggers/non-webhook-trigger-registrar.js.map +1 -1
  672. package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +13 -4
  673. package/dist/workflows/triggers/trigger-execution-context.factory.js +62 -4
  674. package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
  675. package/dist/workflows/workflow-creation.service.d.ts +3 -1
  676. package/dist/workflows/workflow-creation.service.js +14 -4
  677. package/dist/workflows/workflow-creation.service.js.map +1 -1
  678. package/dist/workflows/workflow-finder.service.js +1 -0
  679. package/dist/workflows/workflow-finder.service.js.map +1 -1
  680. package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
  681. package/dist/workflows/workflow-sharing.service.js.map +1 -1
  682. package/dist/workflows/workflow-validation.service.js +1 -1
  683. package/dist/workflows/workflow-validation.service.js.map +1 -1
  684. package/dist/workflows/workflow.service.d.ts +7 -2
  685. package/dist/workflows/workflow.service.ee.js +1 -0
  686. package/dist/workflows/workflow.service.ee.js.map +1 -1
  687. package/dist/workflows/workflow.service.js +70 -15
  688. package/dist/workflows/workflow.service.js.map +1 -1
  689. package/dist/workflows/workflows.controller.js.map +1 -1
  690. package/package.json +34 -33
  691. package/dist/blob-storage/azure-byte-store.ee.d.ts +0 -10
  692. package/dist/blob-storage/azure-byte-store.ee.js +0 -42
  693. package/dist/blob-storage/azure-byte-store.ee.js.map +0 -1
  694. package/dist/blob-storage/fs-byte-store.d.ts +0 -14
  695. package/dist/blob-storage/fs-byte-store.js +0 -96
  696. package/dist/blob-storage/fs-byte-store.js.map +0 -1
  697. package/dist/blob-storage/json-store.d.ts +0 -18
  698. package/dist/blob-storage/json-store.js +0 -128
  699. package/dist/blob-storage/json-store.js.map +0 -1
  700. package/dist/blob-storage/s3-byte-store.ee.d.ts +0 -10
  701. package/dist/blob-storage/s3-byte-store.ee.js +0 -37
  702. package/dist/blob-storage/s3-byte-store.ee.js.map +0 -1
  703. package/dist/blob-storage/skipped-entry-deletion.error.d.ts +0 -5
  704. package/dist/blob-storage/skipped-entry-deletion.error.js +0 -13
  705. package/dist/blob-storage/skipped-entry-deletion.error.js.map +0 -1
  706. package/dist/blob-storage/types.d.ts +0 -23
  707. package/dist/blob-storage/types.js.map +0 -1
  708. package/dist/modules/agents/builder/interactive/llm-provider-defaults.js.map +0 -1
  709. package/dist/modules/agents/builder/skills/integrations.skill.d.ts +0 -2
  710. package/dist/modules/agents/builder/skills/integrations.skill.js +0 -128
  711. package/dist/modules/agents/builder/skills/integrations.skill.js.map +0 -1
  712. package/dist/modules/agents/builder/skills/mcp.skill.d.ts +0 -2
  713. package/dist/modules/agents/builder/skills/mcp.skill.js +0 -172
  714. package/dist/modules/agents/builder/skills/mcp.skill.js.map +0 -1
  715. package/dist/modules/agents/builder/skills/node-tools.skill.d.ts +0 -2
  716. package/dist/modules/agents/builder/skills/node-tools.skill.js +0 -90
  717. package/dist/modules/agents/builder/skills/node-tools.skill.js.map +0 -1
@@ -47,6 +47,8 @@ tags:
47
47
  description: Operations about projects
48
48
  - name: SecurityPolicy
49
49
  description: Operations about the instance security policy settings
50
+ - name: SettingsOtel
51
+ description: Operations about OpenTelemetry settings
50
52
  - name: SettingsSsoSaml
51
53
  description: Operations about SAML SSO settings
52
54
  - name: SourceControl
@@ -158,6 +160,88 @@ paths:
158
160
  $ref: '#/components/responses/forbidden'
159
161
  '409':
160
162
  $ref: '#/components/responses/conflict'
163
+ /settings/otel:
164
+ get:
165
+ x-eov-operation-id: getOtelSettings
166
+ x-required-scope: otel:manage
167
+ x-eov-operation-handler: v1/handlers/otel/otel.handler
168
+ tags:
169
+ - SettingsOtel
170
+ summary: Retrieve the OpenTelemetry configuration
171
+ description: |
172
+ Retrieve the current OpenTelemetry configuration, including every field exposed in the UI. Requires the `otel:manage` scope.
173
+ responses:
174
+ '200':
175
+ description: Operation successful.
176
+ content:
177
+ application/json:
178
+ schema:
179
+ $ref: '#/components/schemas/otel-settings'
180
+ '401':
181
+ $ref: '#/components/responses/unauthorized'
182
+ '403':
183
+ $ref: '#/components/responses/forbidden'
184
+ put:
185
+ x-eov-operation-id: updateOtelSettings
186
+ x-required-scope: otel:manage
187
+ x-eov-operation-handler: v1/handlers/otel/otel.handler
188
+ tags:
189
+ - SettingsOtel
190
+ summary: Set the OpenTelemetry configuration
191
+ description: |
192
+ Set the OpenTelemetry configuration. This is a full replacement: every field must be provided, and a partial body is rejected. The update takes effect exactly as it would from the UI, using the same validation, and is applied to the running instance immediately. Fields managed declaratively via environment variables are read-only: attempting to change one is rejected with 409, while re-submitting its current value (as returned by GET) is accepted. Requires the `otel:manage` scope.
193
+ requestBody:
194
+ description: The OpenTelemetry configuration to set.
195
+ required: true
196
+ content:
197
+ application/json:
198
+ schema:
199
+ $ref: '#/components/schemas/otel-settings'
200
+ responses:
201
+ '200':
202
+ description: Operation successful.
203
+ content:
204
+ application/json:
205
+ schema:
206
+ $ref: '#/components/schemas/otel-settings'
207
+ '400':
208
+ $ref: '#/components/responses/badRequest'
209
+ '401':
210
+ $ref: '#/components/responses/unauthorized'
211
+ '403':
212
+ $ref: '#/components/responses/forbidden'
213
+ '409':
214
+ $ref: '#/components/responses/conflict'
215
+ /settings/otel/test-trace:
216
+ post:
217
+ x-eov-operation-id: testOtelTrace
218
+ x-required-scope: otel:manage
219
+ x-eov-operation-handler: v1/handlers/otel/otel.handler
220
+ tags:
221
+ - SettingsOtel
222
+ summary: Test the connection to an OTLP collector
223
+ description: |
224
+ Send a single test span to the given OTLP collector and report whether it was accepted. This tests the supplied connection details without changing the stored configuration. Fields managed declaratively via environment variables are overridden with their effective value before the test is sent. Requires the `otel:manage` scope.
225
+ requestBody:
226
+ description: The connection details to test.
227
+ required: true
228
+ content:
229
+ application/json:
230
+ schema:
231
+ $ref: '#/components/schemas/otel-test-trace'
232
+ responses:
233
+ '200':
234
+ description: Operation successful.
235
+ content:
236
+ application/json:
237
+ schema:
238
+ $ref: '#/components/schemas/otel-test-trace-result'
239
+ '400':
240
+ $ref: '#/components/responses/badRequest'
241
+ '401':
242
+ $ref: '#/components/responses/unauthorized'
243
+ '403':
244
+ $ref: '#/components/responses/forbidden'
161
245
  /settings/sso/saml:
162
246
  get:
163
247
  x-eov-operation-id: getSamlConfiguration
@@ -785,9 +869,8 @@ paths:
785
869
  '409':
786
870
  $ref: '#/components/responses/conflict'
787
871
  get:
788
- x-eov-operation-id: getTags
872
+ operationId: getTags
789
873
  x-required-scope: tag:list
790
- x-eov-operation-handler: v1/handlers/tags/tags.handler
791
874
  tags:
792
875
  - Tags
793
876
  summary: Retrieve all tags
@@ -1048,6 +1131,32 @@ paths:
1048
1131
  $ref: '#/components/responses/unauthorized'
1049
1132
  '404':
1050
1133
  $ref: '#/components/responses/notFound'
1134
+ /workflows/{id}/history:
1135
+ get:
1136
+ operationId: getWorkflowHistory
1137
+ x-required-scope: workflow:read
1138
+ tags:
1139
+ - Workflow
1140
+ summary: Retrieve workflow version history
1141
+ description: Returns a paginated list of workflow versions (version IDs and metadata) for a workflow.
1142
+ parameters:
1143
+ - $ref: '#/components/parameters/workflowId'
1144
+ - $ref: '#/components/parameters/limit'
1145
+ - $ref: '#/components/parameters/offset'
1146
+ - $ref: '#/components/parameters/cursor'
1147
+ responses:
1148
+ '200':
1149
+ description: Operation successful.
1150
+ content:
1151
+ application/json:
1152
+ schema:
1153
+ $ref: '#/components/schemas/workflowVersionHistoryList'
1154
+ '400':
1155
+ $ref: '#/components/responses/badRequest'
1156
+ '401':
1157
+ $ref: '#/components/responses/unauthorized'
1158
+ '404':
1159
+ $ref: '#/components/responses/notFound'
1051
1160
  /workflows/{id}/{versionId}:
1052
1161
  get:
1053
1162
  x-eov-operation-id: getWorkflowVersion
@@ -1085,7 +1194,8 @@ paths:
1085
1194
  tags:
1086
1195
  - Workflow
1087
1196
  summary: Publish a workflow
1088
- description: Publish a workflow. In n8n v1, this action was termed activating a workflow.
1197
+ description: 'Deprecated: use POST /workflows/{id}/publish instead. Publish a workflow. In n8n v1, this action was termed activating a workflow.'
1198
+ deprecated: true
1089
1199
  parameters:
1090
1200
  - $ref: '#/components/parameters/workflowId'
1091
1201
  requestBody:
@@ -1126,7 +1236,71 @@ paths:
1126
1236
  tags:
1127
1237
  - Workflow
1128
1238
  summary: Deactivate a workflow
1129
- description: Deactivate a workflow.
1239
+ description: 'Deprecated: use POST /workflows/{id}/unpublish instead. Deactivate a workflow.'
1240
+ deprecated: true
1241
+ parameters:
1242
+ - $ref: '#/components/parameters/workflowId'
1243
+ responses:
1244
+ '200':
1245
+ description: Workflow object
1246
+ content:
1247
+ application/json:
1248
+ schema:
1249
+ $ref: '#/components/schemas/workflow'
1250
+ '401':
1251
+ $ref: '#/components/responses/unauthorized'
1252
+ '404':
1253
+ $ref: '#/components/responses/notFound'
1254
+ /workflows/{id}/publish:
1255
+ post:
1256
+ x-eov-operation-id: publishWorkflow
1257
+ x-required-scope: workflow:activate
1258
+ x-eov-operation-handler: v1/handlers/workflows/workflows.handler
1259
+ tags:
1260
+ - Workflow
1261
+ summary: Publish a workflow
1262
+ description: Publish a workflow. In n8n v1, this action was termed activating a workflow.
1263
+ parameters:
1264
+ - $ref: '#/components/parameters/workflowId'
1265
+ requestBody:
1266
+ description: Optional parameters to publish the workflow.
1267
+ content:
1268
+ application/json:
1269
+ schema:
1270
+ type: object
1271
+ properties:
1272
+ versionId:
1273
+ type: string
1274
+ description: The specific version ID to publish. If not provided, the latest version is used.
1275
+ name:
1276
+ type: string
1277
+ description: Optional name for the workflow version during publication.
1278
+ description:
1279
+ type: string
1280
+ description: Optional description for the workflow version during publication.
1281
+ required: false
1282
+ responses:
1283
+ '200':
1284
+ description: Workflow object
1285
+ content:
1286
+ application/json:
1287
+ schema:
1288
+ $ref: '#/components/schemas/workflow'
1289
+ '400':
1290
+ $ref: '#/components/responses/badRequest'
1291
+ '401':
1292
+ $ref: '#/components/responses/unauthorized'
1293
+ '404':
1294
+ $ref: '#/components/responses/notFound'
1295
+ /workflows/{id}/unpublish:
1296
+ post:
1297
+ x-eov-operation-id: unpublishWorkflow
1298
+ x-required-scope: workflow:deactivate
1299
+ x-eov-operation-handler: v1/handlers/workflows/workflows.handler
1300
+ tags:
1301
+ - Workflow
1302
+ summary: Unpublish a workflow
1303
+ description: Unpublish a workflow. In n8n v1, this action was termed deactivating a workflow.
1130
1304
  parameters:
1131
1305
  - $ref: '#/components/parameters/workflowId'
1132
1306
  responses:
@@ -3097,6 +3271,14 @@ paths:
3097
3271
  responses:
3098
3272
  '200':
3099
3273
  description: A gzipped tar archive containing the exported package contents.
3274
+ headers:
3275
+ X-N8n-Export-Counts:
3276
+ description: |
3277
+ JSON-serialized per-entity counts of what actually ended up in the
3278
+ package (after folder bundling and auto-inclusion), e.g.
3279
+ `{"workflows":2,"folders":1,"credentials":0,"dataTables":0,"variables":0}`.
3280
+ schema:
3281
+ type: string
3100
3282
  content:
3101
3283
  application/gzip:
3102
3284
  schema:
@@ -3195,9 +3377,17 @@ paths:
3195
3377
  enum:
3196
3378
  - new
3197
3379
  - source
3198
- default: new
3380
+ default: source
3199
3381
  description: |
3200
- Controls the id each newly created workflow receives. `new` (default) mints a fresh id and records the package id as `sourceWorkflowId`, so the same package can be imported repeatedly without id collisions. `source` reuses the package's own workflow id on the target instance. Workflows matched to an existing workflow in the target project (status `updated` or `skipped`) always keep that workflow's current id, regardless of policy.
3382
+ Controls the id each newly created workflow receives. `source` (default) reuses the package's own workflow id on the target instance, which best fits promotion use cases where the same workflow moves between environments. `new` mints a fresh id and records the package id as `sourceWorkflowId`, so the same package can be imported repeatedly without id collisions best suited to marketplace imports. Workflows matched to an existing workflow in the target project (status `updated` or `skipped`) always keep that workflow's current id, regardless of policy.
3383
+ missingNodeTypeMode:
3384
+ type: string
3385
+ enum:
3386
+ - fail
3387
+ - import-anyway
3388
+ default: fail
3389
+ description: |
3390
+ What to do when a workflow in the package uses a node type — or a version of a node type — this instance does not have. `fail` (default) rejects the import before anything is written, listing every missing `(nodeType, typeVersion)` pair and the workflows that use it. `import-anyway` imports the package; workflows containing missing node types are never published by this import, regardless of `workflowPublishingPolicy`.
3201
3391
  workflowPublishingPolicy:
3202
3392
  type: string
3203
3393
  enum:
@@ -3240,6 +3430,14 @@ paths:
3240
3430
  default: keep-existing
3241
3431
  description: |
3242
3432
  How strictly a matched data table's schema is compared. `keep-existing` (default) accepts a target table that has every package column with the same name and type, even when the target table also has additional columns of its own. `fail` is the strict drift-detection choice: any difference, including such target-only columns, rejects the import. A missing package column or a type mismatch always rejects. Both policies are non-destructive — the matched target table is never altered, and package columns are never added to it.
3433
+ variableMissingMode:
3434
+ type: string
3435
+ enum:
3436
+ - do-nothing
3437
+ - must-preexist
3438
+ default: do-nothing
3439
+ description: |
3440
+ Controls what happens when a variable referenced by the package's workflows is absent from the target project and the global scope (lookup order: project, then global). `do-nothing` (default) imports the workflows without creating the missing variable and lists its name under `variables.missing` in the response so the caller can fill it in afterwards. `must-preexist` rejects the import unless every referenced variable already resolves. Neither mode ever creates a variable.
3243
3441
  responses:
3244
3442
  '200':
3245
3443
  description: Import succeeded; the listed workflows were written to the target project.
@@ -3254,6 +3452,7 @@ paths:
3254
3452
  - projects
3255
3453
  - bindings
3256
3454
  - credentials
3455
+ - variables
3257
3456
  properties:
3258
3457
  package:
3259
3458
  type: object
@@ -3318,7 +3517,7 @@ paths:
3318
3517
  - blocked
3319
3518
  - failed
3320
3519
  description: |
3321
- `blocked` means the imported version could not be published and no version is active (for example because the workflow uses a stubbed credential). When a prior published version remains active, `state` is `unchanged` with `skippedPublishReason` instead. `failed` means publish or unpublish was attempted but did not succeed.
3520
+ `blocked` means the imported version could not be published and no version is active (for example because the workflow uses a stubbed credential, or uses a node type this instance does not have). When a prior published version remains active, `state` is `unchanged` with `skippedPublishReason` instead. `failed` means publish or unpublish was attempted but did not succeed.
3322
3521
  error:
3323
3522
  type: string
3324
3523
  description: |
@@ -3327,12 +3526,14 @@ paths:
3327
3526
  type: string
3328
3527
  enum:
3329
3528
  - stub-credential
3529
+ - missing-node-type
3330
3530
  description: |
3331
3531
  Present when `state` is `blocked`: the imported version could not be published and no version is active.
3332
3532
  skippedPublishReason:
3333
3533
  type: string
3334
3534
  enum:
3335
3535
  - stub-credential
3536
+ - missing-node-type
3336
3537
  description: |
3337
3538
  Present when `state` is `unchanged` but the policy wanted to publish the imported version: a prior published version is still active (for example after an update with stubbed credentials).
3338
3539
  status:
@@ -3418,6 +3619,26 @@ paths:
3418
3619
  type: string
3419
3620
  description: |
3420
3621
  Source credential ids for which empty placeholder credentials were created in the target project.
3622
+ variables:
3623
+ type: object
3624
+ description: |
3625
+ Resolution of the package's variable requirements. Names only — values never travel in the response. For project packages, resolution runs per project, so a name that resolves in some projects but not others appears in both lists.
3626
+ required:
3627
+ - matched
3628
+ - missing
3629
+ properties:
3630
+ matched:
3631
+ type: array
3632
+ items:
3633
+ type: string
3634
+ description: |
3635
+ Variable names that resolved to an existing variable (importing project's scope first, then global).
3636
+ missing:
3637
+ type: array
3638
+ items:
3639
+ type: string
3640
+ description: |
3641
+ Variable names that did not resolve. Under `variableMissingMode=do-nothing` these are warnings — the import still succeeds and nothing is created.
3421
3642
  bindings:
3422
3643
  type: object
3423
3644
  description: |
@@ -3463,7 +3684,7 @@ paths:
3463
3684
  $ref: '#/components/schemas/importBlockingIssue'
3464
3685
  '422':
3465
3686
  description: |
3466
- Import blocked by non-conflict issues only (e.g. unresolved credentials).
3687
+ Import blocked by non-conflict issues only (e.g. unresolved credentials or variables, or node types this instance does not have under `missingNodeTypeMode=fail`).
3467
3688
  content:
3468
3689
  application/json:
3469
3690
  schema:
@@ -3848,6 +4069,123 @@ components:
3848
4069
  type: integer
3849
4070
  description: |
3850
4071
  Read-only usage count returned by GET. Ignored on write so a GET response can be sent back as a PUT body.
4072
+ otel-settings:
4073
+ type: object
4074
+ additionalProperties: false
4075
+ description: |
4076
+ The OpenTelemetry configuration, matching the fields exposed in the UI. On a write this is a full replacement: every field must be provided. Fields managed declaratively via environment variables are returned with their effective value and ignored on write.
4077
+ required:
4078
+ - enabled
4079
+ - exporterEndpoint
4080
+ - exporterTracingPath
4081
+ - exporterServiceName
4082
+ - exporterHeaders
4083
+ - tracesSampleRate
4084
+ - startupConnectivityTimeoutMs
4085
+ - includeNodeSpans
4086
+ - injectOutbound
4087
+ - productionExecutionsOnly
4088
+ properties:
4089
+ enabled:
4090
+ type: boolean
4091
+ description: Whether OpenTelemetry tracing is enabled.
4092
+ example: true
4093
+ exporterEndpoint:
4094
+ type: string
4095
+ format: uri
4096
+ description: The base URL of the OTLP collector to export traces to.
4097
+ example: http://localhost:4318
4098
+ exporterTracingPath:
4099
+ type: string
4100
+ description: The path appended to the endpoint for the OTLP traces signal.
4101
+ example: /v1/traces
4102
+ exporterServiceName:
4103
+ type: string
4104
+ minLength: 1
4105
+ description: The `service.name` resource attribute reported on every span.
4106
+ example: n8n
4107
+ exporterHeaders:
4108
+ type: string
4109
+ description: |
4110
+ Additional headers sent to the OTLP collector, as a single string of comma-separated `key=value` pairs (e.g. `authorization=Bearer my-token,x-tenant-id=acme`). Whitespace around each key and value is trimmed; a value may contain spaces but not commas. Use an empty string when unused.
4111
+ example: authorization=Bearer my-token,x-tenant-id=acme
4112
+ tracesSampleRate:
4113
+ type: number
4114
+ minimum: 0
4115
+ maximum: 1
4116
+ description: The ratio of traces to sample, between 0 (none) and 1 (all).
4117
+ example: 1
4118
+ startupConnectivityTimeoutMs:
4119
+ type: integer
4120
+ minimum: 0
4121
+ description: |
4122
+ How long, in milliseconds, to wait when checking the collector is reachable. Also used as the timeout for the test-trace endpoint.
4123
+ example: 2000
4124
+ includeNodeSpans:
4125
+ type: boolean
4126
+ description: Whether to emit a span for each node execution in addition to the workflow span.
4127
+ example: true
4128
+ injectOutbound:
4129
+ type: boolean
4130
+ description: Whether to inject trace context headers into outbound HTTP requests made by nodes.
4131
+ example: true
4132
+ productionExecutionsOnly:
4133
+ type: boolean
4134
+ description: |
4135
+ When true, only production executions of published (active) workflows are traced, not manual/test runs.
4136
+ example: true
4137
+ otel-test-trace:
4138
+ type: object
4139
+ additionalProperties: false
4140
+ description: |
4141
+ The connection details to test against an OTLP collector. Fields managed declaratively via environment variables are overridden with their effective value before the test is sent.
4142
+ required:
4143
+ - exporterEndpoint
4144
+ - exporterTracingPath
4145
+ - exporterServiceName
4146
+ - exporterHeaders
4147
+ - startupConnectivityTimeoutMs
4148
+ properties:
4149
+ exporterEndpoint:
4150
+ type: string
4151
+ format: uri
4152
+ description: The base URL of the OTLP collector to export traces to.
4153
+ example: http://localhost:4318
4154
+ exporterTracingPath:
4155
+ type: string
4156
+ description: The path appended to the endpoint for the OTLP traces signal.
4157
+ example: /v1/traces
4158
+ exporterServiceName:
4159
+ type: string
4160
+ minLength: 1
4161
+ description: The `service.name` resource attribute reported on the test span.
4162
+ example: n8n
4163
+ exporterHeaders:
4164
+ type: string
4165
+ description: |
4166
+ Additional headers sent to the OTLP collector, as a single string of comma-separated `key=value` pairs (e.g. `authorization=Bearer my-token,x-tenant-id=acme`). Whitespace around each key and value is trimmed; a value may contain spaces but not commas. Use an empty string when unused.
4167
+ example: authorization=Bearer my-token,x-tenant-id=acme
4168
+ startupConnectivityTimeoutMs:
4169
+ type: integer
4170
+ minimum: 0
4171
+ description: How long, in milliseconds, to wait for the collector to respond.
4172
+ example: 2000
4173
+ otel-test-trace-result:
4174
+ type: object
4175
+ additionalProperties: false
4176
+ description: The outcome of the test connection to the OTLP collector.
4177
+ required:
4178
+ - success
4179
+ properties:
4180
+ success:
4181
+ type: boolean
4182
+ description: Whether the test span was accepted by the collector.
4183
+ example: true
4184
+ error:
4185
+ type: string
4186
+ description: |
4187
+ The error reported by the collector or exporter. Present only when `success` is false.
4188
+ example: 'Failed to connect: 401 Unauthorized'
3851
4189
  saml-configuration:
3852
4190
  type: object
3853
4191
  additionalProperties: false
@@ -4664,6 +5002,16 @@ components:
4664
5002
  executionOrder:
4665
5003
  type: string
4666
5004
  example: v1
5005
+ binaryMode:
5006
+ type: string
5007
+ enum:
5008
+ - separate
5009
+ - combined
5010
+ description: |
5011
+ Controls how binary data is resolved from a node's input. This is a derived,
5012
+ internal setting rather than something intended to be set programmatically.
5013
+ It is included in workflow responses for reference, but any value sent when
5014
+ creating or updating a workflow is ignored.
4667
5015
  callerPolicy:
4668
5016
  type: string
4669
5017
  enum:
@@ -4689,6 +5037,20 @@ components:
4689
5037
  type: string
4690
5038
  description: Comma-separated list of workflow IDs allowed to call this workflow (only used with workflowsFromAList policy)
4691
5039
  example: 14, 18, 23
5040
+ timeSavedMode:
5041
+ type: string
5042
+ enum:
5043
+ - fixed
5044
+ - dynamic
5045
+ description: |
5046
+ Controls how the time saved per execution is calculated.
5047
+ Available options:
5048
+ - `fixed`: Uses a predetermined time value specified in the `timeSavedPerExecution` field.
5049
+ * Requires the `timeSavedPerExecution` field to be set
5050
+ * Use when the time saved is consistent across all executions
5051
+ - `dynamic`: Automatically calculates time saved based on actual execution metrics
5052
+ * The `timeSavedPerExecution` field is ignored when this mode is active
5053
+ * Use when time saved varies between executions
4692
5054
  timeSavedPerExecution:
4693
5055
  type: number
4694
5056
  description: Estimated time saved per execution in minutes
@@ -4746,6 +5108,14 @@ components:
4746
5108
  type: string
4747
5109
  value:
4748
5110
  type: string
5111
+ credentialResolverId:
5112
+ type: string
5113
+ description: |
5114
+ ID of the credential resolver used to resolve credentials for this workflow.
5115
+ This is a derived, internal setting managed via the workflow's credential
5116
+ resolver configuration rather than something intended to be set programmatically.
5117
+ It is included in workflow responses for reference, but any value sent when
5118
+ creating or updating a workflow is ignored.
4749
5119
  sharedWorkflow:
4750
5120
  type: object
4751
5121
  additionalProperties: false
@@ -5048,6 +5418,63 @@ components:
5048
5418
  $ref: '#/components/schemas/sharedWorkflow'
5049
5419
  activeVersion:
5050
5420
  $ref: '#/components/schemas/activeVersion'
5421
+ workflowVersionListItem:
5422
+ type: object
5423
+ additionalProperties: false
5424
+ required:
5425
+ - versionId
5426
+ - workflowId
5427
+ - authors
5428
+ properties:
5429
+ versionId:
5430
+ type: string
5431
+ readOnly: true
5432
+ description: The version ID of this workflow snapshot
5433
+ example: abc123-def456
5434
+ workflowId:
5435
+ type: string
5436
+ readOnly: true
5437
+ description: The workflow ID this version belongs to
5438
+ example: 2tUt1wbLX592XDdX
5439
+ authors:
5440
+ type: string
5441
+ readOnly: true
5442
+ description: Authors who created this version
5443
+ example: John Doe
5444
+ name:
5445
+ type: string
5446
+ nullable: true
5447
+ description: Workflow name at this version
5448
+ example: Workflow 1
5449
+ description:
5450
+ type: string
5451
+ nullable: true
5452
+ description: Workflow description at this version
5453
+ createdAt:
5454
+ type: string
5455
+ format: date-time
5456
+ readOnly: true
5457
+ description: When this version was created
5458
+ updatedAt:
5459
+ type: string
5460
+ format: date-time
5461
+ readOnly: true
5462
+ description: When this version was last updated
5463
+ workflowVersionHistoryList:
5464
+ type: object
5465
+ required:
5466
+ - data
5467
+ - nextCursor
5468
+ properties:
5469
+ data:
5470
+ type: array
5471
+ items:
5472
+ $ref: '#/components/schemas/workflowVersionListItem'
5473
+ nextCursor:
5474
+ type: string
5475
+ description: Paginate through workflow versions by setting the cursor parameter to a nextCursor attribute returned by a previous request. Default value fetches the first "page" of the collection.
5476
+ nullable: true
5477
+ example: MTIzZTQ1NjctZTg5Yi0xMmQzLWE0NTYtNDI2NjE0MTc0MDA
5051
5478
  workflowVersion:
5052
5479
  type: object
5053
5480
  additionalProperties: false
@@ -6138,7 +6565,7 @@ components:
6138
6565
  - fail
6139
6566
  - reference-only
6140
6567
  - include-in-package
6141
- description: Policy for missing static sub-workflow dependencies. Currently only `fail` is supported; `reference-only` and `include-in-package` are reserved for upcoming export modes.
6568
+ description: Policy for missing static sub-workflow dependencies. `fail` aborts the export when any static sub-workflow is missing from the package; `include-in-package` automatically adds missing static sub-workflows. `reference-only` is reserved for a future export mode.
6142
6569
  example: fail
6143
6570
  default: fail
6144
6571
  importBlockingIssue:
@@ -6255,6 +6682,30 @@ components:
6255
6682
  type: string
6256
6683
  nullable: true
6257
6684
  description: 'For `id-in-other-project`: the project that already owns the id.'
6685
+ - type: object
6686
+ description: |
6687
+ A node type — or a version of a node type — used by a package workflow that this instance does not have, under `missingNodeTypeMode=fail`. One issue is reported per missing `(nodeType, typeVersion)` pair.
6688
+ required:
6689
+ - type
6690
+ - nodeType
6691
+ - typeVersion
6692
+ - usedByWorkflows
6693
+ properties:
6694
+ type:
6695
+ type: string
6696
+ enum:
6697
+ - missing-node-type
6698
+ nodeType:
6699
+ type: string
6700
+ description: Full node type name as used by the package's workflows.
6701
+ typeVersion:
6702
+ type: number
6703
+ description: Node type version the package's workflows use.
6704
+ usedByWorkflows:
6705
+ type: array
6706
+ items:
6707
+ type: string
6708
+ description: Package workflow ids that use this node type and version.
6258
6709
  - type: object
6259
6710
  description: A credential reference that could not be resolved in the target project.
6260
6711
  required:
@@ -6291,6 +6742,25 @@ components:
6291
6742
  type: array
6292
6743
  items:
6293
6744
  type: string
6745
+ - type: object
6746
+ description: |
6747
+ A variable reference that could not be resolved in the target project or the global scope, under `variableMissingMode=must-preexist`.
6748
+ required:
6749
+ - type
6750
+ - name
6751
+ - usedByWorkflows
6752
+ properties:
6753
+ type:
6754
+ type: string
6755
+ enum:
6756
+ - variable-unresolved
6757
+ name:
6758
+ type: string
6759
+ description: Requirement name with no match in the target project or global scope.
6760
+ usedByWorkflows:
6761
+ type: array
6762
+ items:
6763
+ type: string
6294
6764
  event-types:
6295
6765
  type: object
6296
6766
  additionalProperties: false
@@ -6757,6 +7227,16 @@ components:
6757
7227
  required: true
6758
7228
  schema:
6759
7229
  type: string
7230
+ offset:
7231
+ name: offset
7232
+ in: query
7233
+ description: The number of items to skip before starting to collect the result set.
7234
+ required: false
7235
+ schema:
7236
+ type: number
7237
+ example: 0
7238
+ default: 0
7239
+ minimum: 0
6760
7240
  testRunWorkflowId:
6761
7241
  name: id
6762
7242
  in: path
@@ -6771,16 +7251,6 @@ components:
6771
7251
  required: true
6772
7252
  schema:
6773
7253
  type: string
6774
- offset:
6775
- name: offset
6776
- in: query
6777
- description: The number of items to skip before starting to collect the result set.
6778
- required: false
6779
- schema:
6780
- type: number
6781
- example: 0
6782
- default: 0
6783
- minimum: 0
6784
7254
  includeRole:
6785
7255
  name: includeRole
6786
7256
  in: query
@@ -6825,6 +7295,8 @@ components:
6825
7295
  $ref: '#/components/parameters/cursor'
6826
7296
  Limit:
6827
7297
  $ref: '#/components/parameters/limit'
7298
+ Offset:
7299
+ $ref: '#/components/parameters/offset'
6828
7300
  ExecutionId:
6829
7301
  $ref: '#/components/parameters/executionId'
6830
7302
  WorkflowId: