n8n 2.28.4 → 2.29.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 (887) hide show
  1. package/dist/abstract-server.js +1 -1
  2. package/dist/abstract-server.js.map +1 -1
  3. package/dist/active-executions.js +2 -2
  4. package/dist/active-executions.js.map +1 -1
  5. package/dist/active-workflow-manager.js +1 -1
  6. package/dist/active-workflow-manager.js.map +1 -1
  7. package/dist/auth/auth.service.js +12 -12
  8. package/dist/auth/auth.service.js.map +1 -1
  9. package/dist/blob-storage/azure-byte-store.ee.d.ts +10 -0
  10. package/dist/blob-storage/azure-byte-store.ee.js +57 -0
  11. package/dist/blob-storage/azure-byte-store.ee.js.map +1 -0
  12. package/dist/blob-storage/fs-byte-store.d.ts +14 -0
  13. package/dist/blob-storage/fs-byte-store.js +97 -0
  14. package/dist/blob-storage/fs-byte-store.js.map +1 -0
  15. package/dist/blob-storage/json-store.d.ts +18 -0
  16. package/dist/blob-storage/json-store.js +125 -0
  17. package/dist/blob-storage/json-store.js.map +1 -0
  18. package/dist/blob-storage/s3-byte-store.ee.d.ts +10 -0
  19. package/dist/blob-storage/s3-byte-store.ee.js +52 -0
  20. package/dist/blob-storage/s3-byte-store.ee.js.map +1 -0
  21. package/dist/blob-storage/skipped-entry-deletion.error.d.ts +5 -0
  22. package/dist/blob-storage/skipped-entry-deletion.error.js +13 -0
  23. package/dist/blob-storage/skipped-entry-deletion.error.js.map +1 -0
  24. package/dist/blob-storage/types.d.ts +23 -0
  25. package/dist/blob-storage/types.js +3 -0
  26. package/dist/blob-storage/types.js.map +1 -0
  27. package/dist/build.tsbuildinfo +1 -1
  28. package/dist/chat/chat-server.js +1 -1
  29. package/dist/chat/chat-server.js.map +1 -1
  30. package/dist/chat/chat-service.js +1 -1
  31. package/dist/chat/chat-service.js.map +1 -1
  32. package/dist/chat/chat-service.types.d.ts +2 -2
  33. package/dist/collaboration/collaboration.service.d.ts +2 -2
  34. package/dist/collaboration/collaboration.service.js +2 -2
  35. package/dist/collaboration/collaboration.service.js.map +1 -1
  36. package/dist/commands/base-command.d.ts +1 -1
  37. package/dist/commands/base-command.js +30 -4
  38. package/dist/commands/base-command.js.map +1 -1
  39. package/dist/commands/export/entities.js +3 -3
  40. package/dist/commands/export/entities.js.map +1 -1
  41. package/dist/commands/export/workflow.js.map +1 -1
  42. package/dist/commands/import/entities.js +3 -3
  43. package/dist/commands/import/entities.js.map +1 -1
  44. package/dist/commands/import/workflow.js +1 -1
  45. package/dist/commands/import/workflow.js.map +1 -1
  46. package/dist/commands/start.js +5 -5
  47. package/dist/commands/start.js.map +1 -1
  48. package/dist/controller.registry.d.ts +1 -1
  49. package/dist/controller.registry.js +8 -8
  50. package/dist/controller.registry.js.map +1 -1
  51. package/dist/controllers/ai.controller.d.ts +1 -0
  52. package/dist/controllers/ai.controller.js +20 -11
  53. package/dist/controllers/ai.controller.js.map +1 -1
  54. package/dist/controllers/e2e.controller.js +1 -0
  55. package/dist/controllers/e2e.controller.js.map +1 -1
  56. package/dist/controllers/folder.controller.d.ts +1 -1
  57. package/dist/controllers/folder.controller.js +1 -1
  58. package/dist/controllers/folder.controller.js.map +1 -1
  59. package/dist/controllers/invitation.controller.d.ts +1 -1
  60. package/dist/controllers/invitation.controller.js +5 -5
  61. package/dist/controllers/invitation.controller.js.map +1 -1
  62. package/dist/controllers/oauth/oauth1-credential.controller.d.ts +1 -1
  63. package/dist/controllers/oauth/oauth1-credential.controller.js +1 -1
  64. package/dist/controllers/oauth/oauth1-credential.controller.js.map +1 -1
  65. package/dist/controllers/oauth/oauth2-credential.controller.js +1 -1
  66. package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
  67. package/dist/controllers/orchestration.controller.js.map +1 -1
  68. package/dist/controllers/owner.controller.d.ts +1 -1
  69. package/dist/controllers/owner.controller.js +1 -1
  70. package/dist/controllers/owner.controller.js.map +1 -1
  71. package/dist/controllers/password-reset.controller.d.ts +1 -1
  72. package/dist/controllers/password-reset.controller.js +3 -3
  73. package/dist/controllers/password-reset.controller.js.map +1 -1
  74. package/dist/controllers/posthog.controller.d.ts +2 -5
  75. package/dist/controllers/posthog.controller.js.map +1 -1
  76. package/dist/controllers/role.controller.d.ts +2 -1
  77. package/dist/controllers/role.controller.js +12 -0
  78. package/dist/controllers/role.controller.js.map +1 -1
  79. package/dist/controllers/security-settings.controller.d.ts +1 -1
  80. package/dist/controllers/third-party-licenses.controller.js +1 -1
  81. package/dist/controllers/third-party-licenses.controller.js.map +1 -1
  82. package/dist/controllers/translation.controller.js +1 -1
  83. package/dist/controllers/translation.controller.js.map +1 -1
  84. package/dist/controllers/users.controller.d.ts +8 -6
  85. package/dist/controllers/users.controller.js +59 -9
  86. package/dist/controllers/users.controller.js.map +1 -1
  87. package/dist/credentials/credentials.service.ee.js +7 -0
  88. package/dist/credentials/credentials.service.ee.js.map +1 -1
  89. package/dist/credentials/credentials.service.js +1 -1
  90. package/dist/credentials/credentials.service.js.map +1 -1
  91. package/dist/credentials/validation.js +1 -1
  92. package/dist/credentials/validation.js.map +1 -1
  93. package/dist/credentials-helper.d.ts +3 -1
  94. package/dist/credentials-helper.js +33 -5
  95. package/dist/credentials-helper.js.map +1 -1
  96. package/dist/credentials-overwrites.js.map +1 -1
  97. package/dist/evaluation.ee/evaluation-config.service.js +1 -1
  98. package/dist/evaluation.ee/evaluation-config.service.js.map +1 -1
  99. package/dist/evaluation.ee/test-runner/test-runner.service.ee.d.ts +3 -3
  100. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +11 -5
  101. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
  102. package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
  103. package/dist/events/relays/workflow-failure-notification.event-relay.js +1 -1
  104. package/dist/events/relays/workflow-failure-notification.event-relay.js.map +1 -1
  105. package/dist/execution-lifecycle/shared/shared-hook-functions.js +1 -0
  106. package/dist/execution-lifecycle/shared/shared-hook-functions.js.map +1 -1
  107. package/dist/executions/execution-data/azure-store.ee.js +2 -2
  108. package/dist/executions/execution-data/azure-store.ee.js.map +1 -1
  109. package/dist/executions/execution-data/types.d.ts +1 -1
  110. package/dist/executions/execution-persistence.js +11 -4
  111. package/dist/executions/execution-persistence.js.map +1 -1
  112. package/dist/executions/execution.service.js +5 -4
  113. package/dist/executions/execution.service.js.map +1 -1
  114. package/dist/executions/executions.controller.d.ts +2 -2
  115. package/dist/executions/executions.controller.js +4 -4
  116. package/dist/executions/executions.controller.js.map +1 -1
  117. package/dist/instance-settings-loader/loaders/log-streaming.instance-settings-loader.js +1 -1
  118. package/dist/instance-settings-loader/loaders/log-streaming.instance-settings-loader.js.map +1 -1
  119. package/dist/instance-settings-loader/loaders/owner.instance-settings-loader.js +1 -1
  120. package/dist/instance-settings-loader/loaders/owner.instance-settings-loader.js.map +1 -1
  121. package/dist/license/license.controller.js +1 -0
  122. package/dist/license/license.controller.js.map +1 -1
  123. package/dist/license/license.service.js +3 -4
  124. package/dist/license/license.service.js.map +1 -1
  125. package/dist/metrics/prometheus/db-pool-metrics.service.d.ts +13 -0
  126. package/dist/metrics/prometheus/db-pool-metrics.service.js +71 -0
  127. package/dist/metrics/prometheus/db-pool-metrics.service.js.map +1 -0
  128. package/dist/metrics/prometheus/prometheus.service.d.ts +2 -1
  129. package/dist/metrics/prometheus/prometheus.service.js +5 -2
  130. package/dist/metrics/prometheus/prometheus.service.js.map +1 -1
  131. package/dist/mfa/mfa.service.d.ts +1 -1
  132. package/dist/mfa/mfa.service.js +1 -1
  133. package/dist/mfa/mfa.service.js.map +1 -1
  134. package/dist/mfa/totp.service.js +41 -11
  135. package/dist/mfa/totp.service.js.map +1 -1
  136. package/dist/modules/agents/agent-builder.controller.d.ts +28 -0
  137. package/dist/modules/agents/agent-builder.controller.js +168 -0
  138. package/dist/modules/agents/agent-builder.controller.js.map +1 -0
  139. package/dist/modules/agents/agent-chat.controller.d.ts +41 -0
  140. package/dist/modules/agents/agent-chat.controller.js +206 -0
  141. package/dist/modules/agents/agent-chat.controller.js.map +1 -0
  142. package/dist/modules/agents/agent-config.service.d.ts +33 -0
  143. package/dist/modules/agents/agent-config.service.js +288 -0
  144. package/dist/modules/agents/agent-config.service.js.map +1 -0
  145. package/dist/modules/agents/agent-custom-tools.service.d.ts +22 -0
  146. package/dist/modules/agents/agent-custom-tools.service.js +98 -0
  147. package/dist/modules/agents/agent-custom-tools.service.js.map +1 -0
  148. package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +110 -0
  149. package/dist/modules/agents/agent-execution-orchestrator.service.js +482 -0
  150. package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -0
  151. package/dist/modules/agents/agent-execution.service.d.ts +4 -4
  152. package/dist/modules/agents/agent-execution.service.js +6 -5
  153. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  154. package/dist/modules/agents/agent-integration-persistence.service.d.ts +19 -0
  155. package/dist/modules/agents/agent-integration-persistence.service.js +90 -0
  156. package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -0
  157. package/dist/modules/agents/agent-integrations.controller.d.ts +60 -0
  158. package/dist/modules/agents/agent-integrations.controller.js +275 -0
  159. package/dist/modules/agents/agent-integrations.controller.js.map +1 -0
  160. package/dist/modules/agents/agent-knowledge-sandbox.service.d.ts +1 -1
  161. package/dist/modules/agents/agent-knowledge-sandbox.service.js +3 -3
  162. package/dist/modules/agents/agent-knowledge-sandbox.service.js.map +1 -1
  163. package/dist/modules/agents/agent-knowledge.controller.d.ts +26 -0
  164. package/dist/modules/agents/agent-knowledge.controller.js +112 -0
  165. package/dist/modules/agents/agent-knowledge.controller.js.map +1 -0
  166. package/dist/modules/agents/agent-publish.controller.d.ts +38 -0
  167. package/dist/modules/agents/agent-publish.controller.js +94 -0
  168. package/dist/modules/agents/agent-publish.controller.js.map +1 -0
  169. package/dist/modules/agents/agent-publish.service.d.ts +30 -0
  170. package/dist/modules/agents/agent-publish.service.js +293 -0
  171. package/dist/modules/agents/agent-publish.service.js.map +1 -0
  172. package/dist/modules/agents/agent-runnable-state.service.d.ts +15 -0
  173. package/dist/modules/agents/agent-runnable-state.service.js +43 -0
  174. package/dist/modules/agents/agent-runnable-state.service.js.map +1 -0
  175. package/dist/modules/agents/agent-runtime-cache.service.d.ts +44 -0
  176. package/dist/modules/agents/agent-runtime-cache.service.js +169 -0
  177. package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -0
  178. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +5 -9
  179. package/dist/modules/agents/agent-runtime-reconstruction.service.js +68 -41
  180. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  181. package/dist/modules/agents/agent-sandbox.controller.d.ts +3 -3
  182. package/dist/modules/agents/agent-sandbox.controller.js +9 -8
  183. package/dist/modules/agents/agent-sandbox.controller.js.map +1 -1
  184. package/dist/modules/agents/agent-skills.service.d.ts +3 -4
  185. package/dist/modules/agents/agent-skills.service.js +54 -28
  186. package/dist/modules/agents/agent-skills.service.js.map +1 -1
  187. package/dist/modules/agents/agent-task.service.d.ts +5 -5
  188. package/dist/modules/agents/agent-task.service.js +46 -46
  189. package/dist/modules/agents/agent-task.service.js.map +1 -1
  190. package/dist/modules/agents/agent-tasks.controller.d.ts +30 -0
  191. package/dist/modules/agents/agent-tasks.controller.js +106 -0
  192. package/dist/modules/agents/agent-tasks.controller.js.map +1 -0
  193. package/dist/modules/agents/agent-telemetry.js +0 -4
  194. package/dist/modules/agents/agent-telemetry.js.map +1 -1
  195. package/dist/modules/agents/agent-test-chat.service.d.ts +9 -0
  196. package/dist/modules/agents/agent-test-chat.service.js +49 -0
  197. package/dist/modules/agents/agent-test-chat.service.js.map +1 -0
  198. package/dist/modules/agents/agent-threads.controller.d.ts +28 -0
  199. package/dist/modules/agents/agent-threads.controller.js +66 -0
  200. package/dist/modules/agents/agent-threads.controller.js.map +1 -0
  201. package/dist/modules/agents/agent-validation.service.d.ts +13 -0
  202. package/dist/modules/agents/agent-validation.service.js +142 -0
  203. package/dist/modules/agents/agent-validation.service.js.map +1 -0
  204. package/dist/modules/agents/agents-catalog.controller.d.ts +8 -0
  205. package/dist/modules/agents/agents-catalog.controller.js +80 -0
  206. package/dist/modules/agents/agents-catalog.controller.js.map +1 -0
  207. package/dist/modules/agents/agents-config.controller.d.ts +181 -0
  208. package/dist/modules/agents/agents-config.controller.js +71 -0
  209. package/dist/modules/agents/agents-config.controller.js.map +1 -0
  210. package/dist/modules/agents/agents-skills.controller.d.ts +33 -0
  211. package/dist/modules/agents/agents-skills.controller.js +94 -0
  212. package/dist/modules/agents/agents-skills.controller.js.map +1 -0
  213. package/dist/modules/agents/agents-tools.service.d.ts +1 -7
  214. package/dist/modules/agents/agents-tools.service.js +3 -80
  215. package/dist/modules/agents/agents-tools.service.js.map +1 -1
  216. package/dist/modules/agents/agents.controller.d.ts +7 -393
  217. package/dist/modules/agents/agents.controller.js +6 -990
  218. package/dist/modules/agents/agents.controller.js.map +1 -1
  219. package/dist/modules/agents/agents.module.d.ts +2 -2
  220. package/dist/modules/agents/agents.module.js +12 -0
  221. package/dist/modules/agents/agents.module.js.map +1 -1
  222. package/dist/modules/agents/agents.service.d.ts +8 -166
  223. package/dist/modules/agents/agents.service.js +10 -1287
  224. package/dist/modules/agents/agents.service.js.map +1 -1
  225. package/dist/modules/agents/builder/agents-builder-prompts.d.ts +2 -2
  226. package/dist/modules/agents/builder/agents-builder-prompts.js +3 -5
  227. package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
  228. package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +11 -1
  229. package/dist/modules/agents/builder/agents-builder-tools.service.js +60 -25
  230. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  231. package/dist/modules/agents/builder/interactive/ask-credential.tool.d.ts +4 -0
  232. package/dist/modules/agents/builder/interactive/ask-credential.tool.js +36 -12
  233. package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +1 -1
  234. package/dist/modules/agents/builder/interactive/ask-llm.tool.js +1 -3
  235. package/dist/modules/agents/builder/interactive/ask-llm.tool.js.map +1 -1
  236. package/dist/modules/agents/builder/interactive/ask-question.tool.js.map +1 -1
  237. package/dist/modules/agents/builder/interactive/index.d.ts +1 -1
  238. package/dist/modules/agents/builder/interactive/index.js +2 -1
  239. package/dist/modules/agents/builder/interactive/index.js.map +1 -1
  240. package/dist/modules/agents/builder/interactive/llm-provider-defaults.js +1 -1
  241. package/dist/modules/agents/builder/interactive/llm-provider-defaults.js.map +1 -1
  242. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +3 -2
  243. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
  244. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +3 -5
  245. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
  246. package/dist/modules/agents/builder/prompts/config-rules.prompt.js +4 -6
  247. package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
  248. package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +1 -1
  249. package/dist/modules/agents/builder/prompts/memory.prompt.d.ts +1 -1
  250. package/dist/modules/agents/builder/prompts/memory.prompt.js +4 -4
  251. package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +1 -1
  252. package/dist/modules/agents/builder/prompts/tools.prompt.js +8 -3
  253. package/dist/modules/agents/builder/prompts/tools.prompt.js.map +1 -1
  254. package/dist/modules/agents/builder/skills/integrations.skill.js +8 -0
  255. package/dist/modules/agents/builder/skills/integrations.skill.js.map +1 -1
  256. package/dist/modules/agents/builder/skills/mcp.skill.js +16 -0
  257. package/dist/modules/agents/builder/skills/mcp.skill.js.map +1 -1
  258. package/dist/modules/agents/builder/skills/resource-locators.skill.js +18 -0
  259. package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
  260. package/dist/modules/agents/builder/skills/sub-agents.skill.js +34 -8
  261. package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -1
  262. package/dist/modules/agents/builder/skills/target-skills.skill.js +22 -3
  263. package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
  264. package/dist/modules/agents/builder/skills/target-tasks.skill.js +12 -0
  265. package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
  266. package/dist/modules/agents/entities/agent-memory-entry.entity.d.ts +1 -1
  267. package/dist/modules/agents/entities/agent-memory-entry.entity.js.map +1 -1
  268. package/dist/modules/agents/entities/agent.entity.d.ts +1 -2
  269. package/dist/modules/agents/entities/agent.entity.js +0 -4
  270. package/dist/modules/agents/entities/agent.entity.js.map +1 -1
  271. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +7 -23
  272. package/dist/modules/agents/integrations/agent-chat-bridge.js +60 -646
  273. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  274. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.d.ts +44 -0
  275. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js +110 -0
  276. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js.map +1 -0
  277. package/dist/modules/agents/integrations/agent-chat-integration.d.ts +38 -4
  278. package/dist/modules/agents/integrations/agent-chat-integration.js +10 -3
  279. package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
  280. package/dist/modules/agents/integrations/agent-chat-message-context.d.ts +22 -0
  281. package/dist/modules/agents/integrations/agent-chat-message-context.js +104 -0
  282. package/dist/modules/agents/integrations/agent-chat-message-context.js.map +1 -0
  283. package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +29 -0
  284. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +205 -0
  285. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -0
  286. package/dist/modules/agents/integrations/agent-chat-suspension-cards.d.ts +10 -0
  287. package/dist/modules/agents/integrations/agent-chat-suspension-cards.js +90 -0
  288. package/dist/modules/agents/integrations/agent-chat-suspension-cards.js.map +1 -0
  289. package/dist/modules/agents/integrations/chat-integration.service.js +6 -3
  290. package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
  291. package/dist/modules/agents/integrations/integration-message-context.service.d.ts +1 -1
  292. package/dist/modules/agents/integrations/integration-message-context.service.js.map +1 -1
  293. package/dist/modules/agents/integrations/integration-tool-definitions.d.ts +6037 -0
  294. package/dist/modules/agents/integrations/integration-tool-definitions.js +231 -0
  295. package/dist/modules/agents/integrations/integration-tool-definitions.js.map +1 -0
  296. package/dist/modules/agents/integrations/integration-tool-descriptions.d.ts +3 -0
  297. package/dist/modules/agents/integrations/integration-tool-descriptions.js +100 -0
  298. package/dist/modules/agents/integrations/integration-tool-descriptions.js.map +1 -0
  299. package/dist/modules/agents/integrations/integration-tool-execution.d.ts +27 -0
  300. package/dist/modules/agents/integrations/integration-tool-execution.js +278 -0
  301. package/dist/modules/agents/integrations/integration-tool-execution.js.map +1 -0
  302. package/dist/modules/agents/integrations/integration-tool-factory.d.ts +121 -0
  303. package/dist/modules/agents/integrations/integration-tool-factory.js +133 -0
  304. package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -0
  305. package/dist/modules/agents/integrations/integration-tool-schema.d.ts +107 -0
  306. package/dist/modules/agents/integrations/integration-tool-schema.js +140 -0
  307. package/dist/modules/agents/integrations/integration-tool-schema.js.map +1 -0
  308. package/dist/modules/agents/integrations/integration-tool-types.d.ts +105 -0
  309. package/dist/modules/agents/integrations/integration-tool-types.js +3 -0
  310. package/dist/modules/agents/integrations/integration-tool-types.js.map +1 -0
  311. package/dist/modules/agents/integrations/integration-tools.d.ts +3 -213
  312. package/dist/modules/agents/integrations/integration-tools.js +16 -998
  313. package/dist/modules/agents/integrations/integration-tools.js.map +1 -1
  314. package/dist/modules/agents/integrations/integrations-sync.d.ts +1 -1
  315. package/dist/modules/agents/integrations/n8n-memory.d.ts +1 -1
  316. package/dist/modules/agents/integrations/n8n-memory.js +2 -2
  317. package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
  318. package/dist/modules/agents/integrations/platforms/linear-integration.d.ts +3 -3
  319. package/dist/modules/agents/integrations/platforms/linear-integration.js +14 -19
  320. package/dist/modules/agents/integrations/platforms/linear-integration.js.map +1 -1
  321. package/dist/modules/agents/integrations/platforms/linear-tool-definitions.d.ts +473 -0
  322. package/dist/modules/agents/integrations/platforms/linear-tool-definitions.js +270 -0
  323. package/dist/modules/agents/integrations/platforms/linear-tool-definitions.js.map +1 -0
  324. package/dist/modules/agents/integrations/platforms/n8n-chat-integration.d.ts +4 -3
  325. package/dist/modules/agents/integrations/platforms/n8n-chat-integration.js +6 -2
  326. package/dist/modules/agents/integrations/platforms/n8n-chat-integration.js.map +1 -1
  327. package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.d.ts +12 -0
  328. package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.js +198 -0
  329. package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.js.map +1 -0
  330. package/dist/modules/agents/integrations/platforms/slack-integration.d.ts +14 -4
  331. package/dist/modules/agents/integrations/platforms/slack-integration.js +20 -7
  332. package/dist/modules/agents/integrations/platforms/slack-integration.js.map +1 -1
  333. package/dist/modules/agents/integrations/platforms/slack-operations.js +1 -1
  334. package/dist/modules/agents/integrations/platforms/slack-operations.js.map +1 -1
  335. package/dist/modules/agents/integrations/platforms/slack-tool-definitions.d.ts +35 -0
  336. package/dist/modules/agents/integrations/platforms/slack-tool-definitions.js +33 -0
  337. package/dist/modules/agents/integrations/platforms/slack-tool-definitions.js.map +1 -0
  338. package/dist/modules/agents/integrations/platforms/telegram-integration.d.ts +1 -2
  339. package/dist/modules/agents/integrations/platforms/telegram-integration.js +2 -1
  340. package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +1 -1
  341. package/dist/modules/agents/integrations/slack-app-setup.service.d.ts +5 -3
  342. package/dist/modules/agents/integrations/slack-app-setup.service.js +11 -6
  343. package/dist/modules/agents/integrations/slack-app-setup.service.js.map +1 -1
  344. package/dist/modules/agents/json-config/from-json-config.d.ts +7 -0
  345. package/dist/modules/agents/json-config/from-json-config.js +60 -15
  346. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  347. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +17 -6
  348. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -1
  349. package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +1 -1
  350. package/dist/modules/agents/repositories/agent-execution-thread.repository.js +2 -5
  351. package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
  352. package/dist/modules/agents/repositories/agent-history.repository.d.ts +1 -1
  353. package/dist/modules/agents/repositories/agent-history.repository.js.map +1 -1
  354. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.d.ts +1 -1
  355. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.d.ts +1 -1
  356. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -1
  357. package/dist/modules/agents/tools/agent-data-utils.d.ts +22 -0
  358. package/dist/modules/agents/tools/agent-data-utils.js +64 -0
  359. package/dist/modules/agents/tools/agent-data-utils.js.map +1 -0
  360. package/dist/modules/agents/tools/input-data-tool.d.ts +3 -0
  361. package/dist/modules/agents/tools/input-data-tool.js +40 -0
  362. package/dist/modules/agents/tools/input-data-tool.js.map +1 -0
  363. package/dist/modules/agents/tools/node-tool-factory.d.ts +1 -1
  364. package/dist/modules/agents/tools/node-tool-factory.js +1 -1
  365. package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
  366. package/dist/modules/agents/tools/workflow-context-tool.d.ts +3 -0
  367. package/dist/modules/agents/tools/workflow-context-tool.js +84 -0
  368. package/dist/modules/agents/tools/workflow-context-tool.js.map +1 -0
  369. package/dist/modules/agents/utils/agent-credential-provider.d.ts +4 -0
  370. package/dist/modules/agents/utils/agent-credential-provider.js +8 -0
  371. package/dist/modules/agents/utils/agent-credential-provider.js.map +1 -0
  372. package/dist/modules/agents/utils/agent-missing-skill-ids.d.ts +2 -0
  373. package/dist/modules/agents/utils/agent-missing-skill-ids.js +17 -0
  374. package/dist/modules/agents/utils/agent-missing-skill-ids.js.map +1 -0
  375. package/dist/modules/agents/utils/agent-published-snapshot.d.ts +2 -0
  376. package/dist/modules/agents/utils/agent-published-snapshot.js +17 -0
  377. package/dist/modules/agents/utils/agent-published-snapshot.js.map +1 -0
  378. package/dist/modules/agents/utils/agent-resource-id.d.ts +1 -1
  379. package/dist/modules/agents/utils/sub-agent-resolver.d.ts +14 -0
  380. package/dist/modules/agents/utils/sub-agent-resolver.js +23 -0
  381. package/dist/modules/agents/utils/sub-agent-resolver.js.map +1 -0
  382. package/dist/modules/breaking-changes/rules/v2/file-access.rule.js.map +1 -1
  383. package/dist/modules/breaking-changes/rules/v2/oauth-callback-auth.rule.js.map +1 -1
  384. package/dist/modules/breaking-changes/rules/v2/process-env-access.rule.js.map +1 -1
  385. package/dist/modules/breaking-changes/rules/v2/pyodide-removed.rule.js.map +1 -1
  386. package/dist/modules/breaking-changes/rules/v2/queue-worker-max-stalled-count.rule.js.map +1 -1
  387. package/dist/modules/breaking-changes/rules/v2/removed-nodes.rule.js.map +1 -1
  388. package/dist/modules/breaking-changes/rules/v2/settings-file-permissions.rule.js.map +1 -1
  389. package/dist/modules/breaking-changes/rules/v2/start-node-removed.rule.js.map +1 -1
  390. package/dist/modules/breaking-changes/rules/v2/task-runner-docker-image.rule.js.map +1 -1
  391. package/dist/modules/breaking-changes/rules/v2/tunnel-option.rule.js.map +1 -1
  392. package/dist/modules/breaking-changes/rules/v2/wait-node-subworkflow.rule.js +1 -1
  393. package/dist/modules/breaking-changes/rules/v2/wait-node-subworkflow.rule.js.map +1 -1
  394. package/dist/modules/breaking-changes/rules/v2/workflow-hooks-deprecated.rule.js.map +1 -1
  395. package/dist/modules/chat-hub/chat-hub-agent.service.d.ts +5 -5
  396. package/dist/modules/chat-hub/chat-hub-agent.service.js +9 -9
  397. package/dist/modules/chat-hub/chat-hub-agent.service.js.map +1 -1
  398. package/dist/modules/chat-hub/chat-hub-message.entity.d.ts +2 -2
  399. package/dist/modules/chat-hub/chat-hub-message.entity.js.map +1 -1
  400. package/dist/modules/chat-hub/chat-hub-session.entity.d.ts +1 -1
  401. package/dist/modules/chat-hub/chat-hub.controller.d.ts +5 -2
  402. package/dist/modules/chat-hub/chat-hub.controller.js +23 -5
  403. package/dist/modules/chat-hub/chat-hub.controller.js.map +1 -1
  404. package/dist/modules/chat-hub/chat-hub.module.d.ts +1 -1
  405. package/dist/modules/chat-hub/chat-hub.service.js +1 -1
  406. package/dist/modules/chat-hub/chat-hub.service.js.map +1 -1
  407. package/dist/modules/chat-hub/chat-hub.settings.controller.d.ts +8 -4
  408. package/dist/modules/chat-hub/chat-hub.settings.controller.js +28 -18
  409. package/dist/modules/chat-hub/chat-hub.settings.controller.js.map +1 -1
  410. package/dist/modules/chat-hub/chat-hub.settings.service.js +3 -3
  411. package/dist/modules/chat-hub/chat-hub.settings.service.js.map +1 -1
  412. package/dist/modules/chat-hub/chat-hub.types.d.ts +1 -1
  413. package/dist/modules/chat-hub/chat-session.repository.js +1 -1
  414. package/dist/modules/chat-hub/chat-session.repository.js.map +1 -1
  415. package/dist/modules/community-packages/community-node-types.service.js +2 -2
  416. package/dist/modules/community-packages/community-node-types.service.js.map +1 -1
  417. package/dist/modules/community-packages/community-packages.config.d.ts +2 -0
  418. package/dist/modules/community-packages/community-packages.config.js +10 -0
  419. package/dist/modules/community-packages/community-packages.config.js.map +1 -1
  420. package/dist/modules/community-packages/community-packages.lifecycle.service.d.ts +3 -3
  421. package/dist/modules/community-packages/community-packages.lifecycle.service.js +3 -3
  422. package/dist/modules/community-packages/community-packages.lifecycle.service.js.map +1 -1
  423. package/dist/modules/community-packages/community-packages.service.js +3 -3
  424. package/dist/modules/community-packages/community-packages.service.js.map +1 -1
  425. package/dist/modules/community-packages/npm-utils.js +1 -1
  426. package/dist/modules/community-packages/npm-utils.js.map +1 -1
  427. package/dist/modules/data-table/data-table-aggregate.service.js +1 -1
  428. package/dist/modules/data-table/data-table-aggregate.service.js.map +1 -1
  429. package/dist/modules/data-table/data-table-file-cleanup.service.js +1 -1
  430. package/dist/modules/data-table/data-table-file-cleanup.service.js.map +1 -1
  431. package/dist/modules/data-table/data-table-proxy.service.d.ts +2 -2
  432. package/dist/modules/data-table/data-table-proxy.service.js +3 -3
  433. package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
  434. package/dist/modules/data-table/data-table.controller.d.ts +2 -2
  435. package/dist/modules/data-table/data-table.controller.js +3 -3
  436. package/dist/modules/data-table/data-table.controller.js.map +1 -1
  437. package/dist/modules/data-table/utils/sql-utils.js.map +1 -1
  438. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/slack-signature-extractor.js +1 -1
  439. package/dist/modules/dynamic-credentials.ee/context-establishment-hooks/slack-signature-extractor.js.map +1 -1
  440. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.js +0 -1
  441. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.js.map +1 -1
  442. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-metadata-http-client.d.ts +0 -1
  443. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-metadata-http-client.js +3 -3
  444. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-metadata-http-client.js.map +1 -1
  445. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-userinfo-identifier.js +0 -1
  446. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-userinfo-identifier.js.map +1 -1
  447. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/slack-signature-identifier.js +2 -2
  448. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/slack-signature-identifier.js.map +1 -1
  449. package/dist/modules/dynamic-credentials.ee/credential-resolvers/slack-credential-resolver.js.map +1 -1
  450. package/dist/modules/dynamic-credentials.ee/credential-resolvers/storage/dynamic-credential-entry-storage.d.ts +1 -1
  451. package/dist/modules/dynamic-credentials.ee/credential-resolvers/storage/dynamic-credential-entry-storage.js.map +1 -1
  452. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-cors.service.d.ts +1 -1
  453. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-cors.service.js +1 -1
  454. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-cors.service.js.map +1 -1
  455. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-storage.service.d.ts +2 -2
  456. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-storage.service.js +2 -2
  457. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-storage.service.js.map +1 -1
  458. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.d.ts +2 -2
  459. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.js +2 -2
  460. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.js.map +1 -1
  461. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.d.ts +1 -1
  462. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js.map +1 -1
  463. package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.d.ts +1 -1
  464. package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.js +1 -1
  465. package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.js.map +1 -1
  466. package/dist/modules/dynamic-credentials.ee/utils.js.map +1 -1
  467. package/dist/modules/dynamic-credentials.ee/workflow-status.controller.d.ts +3 -1
  468. package/dist/modules/dynamic-credentials.ee/workflow-status.controller.js +14 -2
  469. package/dist/modules/dynamic-credentials.ee/workflow-status.controller.js.map +1 -1
  470. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.d.ts +3 -4
  471. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js +20 -46
  472. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js.map +1 -1
  473. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.d.ts +21 -0
  474. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js +142 -0
  475. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js.map +1 -0
  476. package/dist/modules/external-secrets.ee/external-secrets-settings.controller.ee.d.ts +1 -1
  477. package/dist/modules/external-secrets.ee/external-secrets-settings.controller.ee.js +1 -1
  478. package/dist/modules/external-secrets.ee/external-secrets-settings.controller.ee.js.map +1 -1
  479. package/dist/modules/external-secrets.ee/provider-registry.service.d.ts +1 -1
  480. package/dist/modules/external-secrets.ee/provider-registry.service.js +1 -1
  481. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js +5 -1
  482. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js.map +1 -1
  483. package/dist/modules/external-secrets.ee/providers/infisical.js +4 -4
  484. package/dist/modules/external-secrets.ee/providers/infisical.js.map +1 -1
  485. package/dist/modules/external-secrets.ee/providers/vault.js +10 -10
  486. package/dist/modules/external-secrets.ee/providers/vault.js.map +1 -1
  487. package/dist/modules/external-secrets.ee/redaction.service.ee.js.map +1 -1
  488. package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.d.ts +1 -1
  489. package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.js +1 -1
  490. package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.js.map +1 -1
  491. package/dist/modules/external-secrets.ee/secrets-providers-types.controller.ee.d.ts +1 -1
  492. package/dist/modules/external-secrets.ee/secrets-providers-types.controller.ee.js +2 -2
  493. package/dist/modules/external-secrets.ee/secrets-providers-types.controller.ee.js.map +1 -1
  494. package/dist/modules/favorites/favorites.controller.d.ts +1 -1
  495. package/dist/modules/favorites/favorites.controller.js +2 -2
  496. package/dist/modules/favorites/favorites.controller.js.map +1 -1
  497. package/dist/modules/favorites/favorites.event-relay.d.ts +1 -1
  498. package/dist/modules/favorites/favorites.event-relay.js +1 -1
  499. package/dist/modules/favorites/favorites.event-relay.js.map +1 -1
  500. package/dist/modules/favorites/favorites.service.d.ts +2 -2
  501. package/dist/modules/favorites/favorites.service.js +2 -2
  502. package/dist/modules/favorites/favorites.service.js.map +1 -1
  503. package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +1 -0
  504. package/dist/modules/insights/database/repositories/insights-by-period.repository.js +6 -0
  505. package/dist/modules/insights/database/repositories/insights-by-period.repository.js.map +1 -1
  506. package/dist/modules/insights/insights.module.d.ts +1 -0
  507. package/dist/modules/insights/insights.module.js +1 -1
  508. package/dist/modules/insights/insights.module.js.map +1 -1
  509. package/dist/modules/insights/insights.settings.d.ts +6 -3
  510. package/dist/modules/insights/insights.settings.js +8 -3
  511. package/dist/modules/insights/insights.settings.js.map +1 -1
  512. package/dist/modules/instance-ai/browser/browser-local-mcp-server.d.ts +23 -0
  513. package/dist/modules/instance-ai/browser/browser-local-mcp-server.js +123 -0
  514. package/dist/modules/instance-ai/browser/browser-local-mcp-server.js.map +1 -0
  515. package/dist/modules/instance-ai/browser/browser-use-server.d.ts +11 -0
  516. package/dist/modules/instance-ai/browser/browser-use-server.js +68 -0
  517. package/dist/modules/instance-ai/browser/browser-use-server.js.map +1 -0
  518. package/dist/modules/instance-ai/browser/browser-use-ws.constants.d.ts +7 -0
  519. package/dist/modules/instance-ai/browser/browser-use-ws.constants.js +6 -0
  520. package/dist/modules/instance-ai/browser/browser-use-ws.constants.js.map +1 -0
  521. package/dist/modules/instance-ai/browser/composite-local-mcp-server.d.ts +14 -0
  522. package/dist/modules/instance-ai/browser/composite-local-mcp-server.js +57 -0
  523. package/dist/modules/instance-ai/browser/composite-local-mcp-server.js.map +1 -0
  524. package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.d.ts +40 -0
  525. package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.js +297 -0
  526. package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.js.map +1 -0
  527. package/dist/modules/instance-ai/eval/execution.service.js +2 -2
  528. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
  529. package/dist/modules/instance-ai/eval/mock-handler.js +5 -1
  530. package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
  531. package/dist/modules/instance-ai/eval/pin-data-generator.js +1 -1
  532. package/dist/modules/instance-ai/eval/pin-data-generator.js.map +1 -1
  533. package/dist/modules/instance-ai/eval/thread-restore.service.d.ts +14 -0
  534. package/dist/modules/instance-ai/eval/thread-restore.service.js +149 -0
  535. package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -0
  536. package/dist/modules/instance-ai/eval/workflow-analysis.js +1 -1
  537. package/dist/modules/instance-ai/event-bus/in-process-event-bus.js.map +1 -1
  538. package/dist/modules/instance-ai/filesystem/local-gateway-registry.js.map +1 -1
  539. package/dist/modules/instance-ai/filesystem/local-gateway.d.ts +3 -0
  540. package/dist/modules/instance-ai/filesystem/local-gateway.js +20 -3
  541. package/dist/modules/instance-ai/filesystem/local-gateway.js.map +1 -1
  542. package/dist/modules/instance-ai/instance-ai-event-relay.service.d.ts +12 -0
  543. package/dist/modules/instance-ai/instance-ai-event-relay.service.js +56 -0
  544. package/dist/modules/instance-ai/instance-ai-event-relay.service.js.map +1 -0
  545. package/dist/modules/instance-ai/instance-ai-gateway.service.d.ts +5 -1
  546. package/dist/modules/instance-ai/instance-ai-gateway.service.js +10 -3
  547. package/dist/modules/instance-ai/instance-ai-gateway.service.js.map +1 -1
  548. package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +5 -0
  549. package/dist/modules/instance-ai/instance-ai-memory.service.js +38 -0
  550. package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
  551. package/dist/modules/instance-ai/instance-ai-run-pin-data.d.ts +29 -0
  552. package/dist/modules/instance-ai/instance-ai-run-pin-data.js +222 -0
  553. package/dist/modules/instance-ai/instance-ai-run-pin-data.js.map +1 -0
  554. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +1 -0
  555. package/dist/modules/instance-ai/instance-ai-settings.service.js +9 -0
  556. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  557. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.d.ts +72 -0
  558. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js +352 -0
  559. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js.map +1 -0
  560. package/dist/modules/instance-ai/instance-ai-test.controller.d.ts +2 -2
  561. package/dist/modules/instance-ai/instance-ai-test.controller.js +2 -2
  562. package/dist/modules/instance-ai/instance-ai-test.controller.js.map +1 -1
  563. package/dist/modules/instance-ai/instance-ai.adapter.service.js +78 -193
  564. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  565. package/dist/modules/instance-ai/instance-ai.controller.d.ts +19 -2
  566. package/dist/modules/instance-ai/instance-ai.controller.js +96 -6
  567. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  568. package/dist/modules/instance-ai/instance-ai.module.d.ts +1 -0
  569. package/dist/modules/instance-ai/instance-ai.module.js +4 -0
  570. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  571. package/dist/modules/instance-ai/instance-ai.service.d.ts +10 -33
  572. package/dist/modules/instance-ai/instance-ai.service.js +293 -767
  573. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  574. package/dist/modules/instance-ai/internal-messages.d.ts +2 -0
  575. package/dist/modules/instance-ai/internal-messages.js +4 -2
  576. package/dist/modules/instance-ai/internal-messages.js.map +1 -1
  577. package/dist/modules/instance-ai/liveness/index.d.ts +1 -1
  578. package/dist/modules/instance-ai/liveness/index.js.map +1 -1
  579. package/dist/modules/instance-ai/liveness/instance-ai-liveness.service.d.ts +4 -7
  580. package/dist/modules/instance-ai/liveness/instance-ai-liveness.service.js +2 -2
  581. package/dist/modules/instance-ai/liveness/instance-ai-liveness.service.js.map +1 -1
  582. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js.map +1 -1
  583. package/dist/modules/instance-ai/message-parser.js +4 -3
  584. package/dist/modules/instance-ai/message-parser.js.map +1 -1
  585. package/dist/modules/instance-ai/node-definition-resolver.js +2 -1
  586. package/dist/modules/instance-ai/node-definition-resolver.js.map +1 -1
  587. package/dist/modules/instance-ai/planned-task-action-runner.d.ts +1 -1
  588. package/dist/modules/instance-ai/planned-task-action-runner.js +3 -3
  589. package/dist/modules/instance-ai/planned-task-action-runner.js.map +1 -1
  590. package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.js.map +1 -1
  591. package/dist/modules/instance-ai/storage/typeorm-agent-memory.d.ts +1 -0
  592. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +29 -0
  593. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
  594. package/dist/modules/instance-ai/suspended-run-restorer.service.d.ts +4 -8
  595. package/dist/modules/instance-ai/suspended-run-restorer.service.js +2 -2
  596. package/dist/modules/instance-ai/suspended-run-restorer.service.js.map +1 -1
  597. package/dist/modules/instance-ai/suspended-thread-persistence.service.d.ts +0 -14
  598. package/dist/modules/instance-ai/suspended-thread-persistence.service.js +0 -26
  599. package/dist/modules/instance-ai/suspended-thread-persistence.service.js.map +1 -1
  600. package/dist/modules/instance-ai/tracing/index.d.ts +1 -0
  601. package/dist/modules/instance-ai/tracing/index.js +6 -0
  602. package/dist/modules/instance-ai/tracing/index.js.map +1 -0
  603. package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.d.ts +81 -0
  604. package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.js +341 -0
  605. package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.js.map +1 -0
  606. package/dist/modules/instance-ai/workflow-verification-task-projector.js +1 -2
  607. package/dist/modules/instance-ai/workflow-verification-task-projector.js.map +1 -1
  608. package/dist/modules/instance-registry/instance-registry.controller.js +1 -0
  609. package/dist/modules/instance-registry/instance-registry.controller.js.map +1 -1
  610. package/dist/modules/instance-registry/instance-registry.service.js +1 -1
  611. package/dist/modules/instance-registry/instance-registry.service.js.map +1 -1
  612. package/dist/modules/instance-version-history/instance-version-history.service.d.ts +1 -1
  613. package/dist/modules/instance-version-history/instance-version-history.service.js +1 -1
  614. package/dist/modules/instance-version-history/instance-version-history.service.js.map +1 -1
  615. package/dist/modules/ldap.ee/ldap.service.ee.d.ts +1 -1
  616. package/dist/modules/ldap.ee/ldap.service.ee.js +1 -1
  617. package/dist/modules/ldap.ee/ldap.service.ee.js.map +1 -1
  618. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.js.map +1 -1
  619. package/dist/modules/mcp/dto/update-allowed-redirect-uris.dto.js +1 -1
  620. package/dist/modules/mcp/dto/update-allowed-redirect-uris.dto.js.map +1 -1
  621. package/dist/modules/mcp/mcp.service.d.ts +5 -1
  622. package/dist/modules/mcp/mcp.service.js +18 -3
  623. package/dist/modules/mcp/mcp.service.js.map +1 -1
  624. package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.d.ts +1 -1
  625. package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.js.map +1 -1
  626. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.d.ts +1 -1
  627. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.js.map +1 -1
  628. package/dist/modules/mcp/tools/data-table/create-data-table.tool.d.ts +1 -1
  629. package/dist/modules/mcp/tools/data-table/create-data-table.tool.js.map +1 -1
  630. package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.d.ts +1 -1
  631. package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.js.map +1 -1
  632. package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.d.ts +1 -1
  633. package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.js.map +1 -1
  634. package/dist/modules/mcp/tools/data-table/rename-data-table.tool.d.ts +1 -1
  635. package/dist/modules/mcp/tools/data-table/rename-data-table.tool.js.map +1 -1
  636. package/dist/modules/mcp/tools/data-table/search-data-tables.tool.d.ts +1 -1
  637. package/dist/modules/mcp/tools/data-table/search-data-tables.tool.js.map +1 -1
  638. package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +2 -2
  639. package/dist/modules/mcp/tools/execution-utils.js.map +1 -1
  640. package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +3 -3
  641. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  642. package/dist/modules/mcp/tools/get-workflow-history.tool.d.ts +49 -0
  643. package/dist/modules/mcp/tools/get-workflow-history.tool.js +115 -0
  644. package/dist/modules/mcp/tools/get-workflow-history.tool.js.map +1 -0
  645. package/dist/modules/mcp/tools/get-workflow-version.tool.d.ts +30 -0
  646. package/dist/modules/mcp/tools/get-workflow-version.tool.js +118 -0
  647. package/dist/modules/mcp/tools/get-workflow-version.tool.js.map +1 -0
  648. package/dist/modules/mcp/tools/prepare-workflow-pin-data.tool.d.ts +2 -2
  649. package/dist/modules/mcp/tools/prepare-workflow-pin-data.tool.js.map +1 -1
  650. package/dist/modules/mcp/tools/publish-workflow.tool.d.ts +1 -1
  651. package/dist/modules/mcp/tools/publish-workflow.tool.js.map +1 -1
  652. package/dist/modules/mcp/tools/schemas.d.ts +25 -11
  653. package/dist/modules/mcp/tools/schemas.js +7 -4
  654. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  655. package/dist/modules/mcp/tools/search-folders.tool.d.ts +1 -1
  656. package/dist/modules/mcp/tools/search-folders.tool.js.map +1 -1
  657. package/dist/modules/mcp/tools/search-projects.tool.d.ts +1 -1
  658. package/dist/modules/mcp/tools/search-projects.tool.js.map +1 -1
  659. package/dist/modules/mcp/tools/test-workflow.tool.d.ts +2 -2
  660. package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
  661. package/dist/modules/mcp/tools/unpublish-workflow.tool.d.ts +1 -1
  662. package/dist/modules/mcp/tools/unpublish-workflow.tool.js.map +1 -1
  663. package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
  664. package/dist/modules/mcp/tools/workflow-builder/connection-structure-check.d.ts +1 -1
  665. package/dist/modules/mcp/tools/workflow-builder/connection-structure-check.js.map +1 -1
  666. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +18 -2
  667. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  668. package/dist/modules/mcp/tools/workflow-builder/delete-workflow.tool.d.ts +1 -1
  669. package/dist/modules/mcp/tools/workflow-builder/delete-workflow.tool.js +1 -1
  670. package/dist/modules/mcp/tools/workflow-builder/delete-workflow.tool.js.map +1 -1
  671. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.d.ts +1 -1
  672. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js +1 -1
  673. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js.map +1 -1
  674. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.d.ts +1 -1
  675. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js +1 -1
  676. package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js.map +1 -1
  677. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +4 -2
  678. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
  679. package/dist/modules/mcp/tools/workflow-builder/restore-workflow-version.tool.d.ts +20 -0
  680. package/dist/modules/mcp/tools/workflow-builder/restore-workflow-version.tool.js +108 -0
  681. package/dist/modules/mcp/tools/workflow-builder/restore-workflow-version.tool.js.map +1 -0
  682. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.d.ts +1 -1
  683. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js +1 -1
  684. package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js.map +1 -1
  685. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +3 -1
  686. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +117 -4
  687. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  688. package/dist/modules/mcp/tools/workflow-builder/validate-node.tool.d.ts +1 -1
  689. package/dist/modules/mcp/tools/workflow-builder/validate-node.tool.js +1 -1
  690. package/dist/modules/mcp/tools/workflow-builder/validate-node.tool.js.map +1 -1
  691. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.d.ts +1 -1
  692. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js +4 -1
  693. package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js.map +1 -1
  694. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +195 -3
  695. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js +69 -1
  696. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.js.map +1 -1
  697. package/dist/modules/mcp/tools/workflow-history.utils.d.ts +3 -0
  698. package/dist/modules/mcp/tools/workflow-history.utils.js +18 -0
  699. package/dist/modules/mcp/tools/workflow-history.utils.js.map +1 -0
  700. package/dist/modules/mcp-registry/registry/mcp-registry.service.js +4 -1
  701. package/dist/modules/mcp-registry/registry/mcp-registry.service.js.map +1 -1
  702. package/dist/modules/mcp-registry/synthesize-type-def.d.ts +1 -1
  703. package/dist/modules/mcp-registry/synthesize-type-def.js +3 -3
  704. package/dist/modules/mcp-registry/synthesize-type-def.js.map +1 -1
  705. package/dist/modules/n8n-packages/n8n-packages.service.d.ts +1 -1
  706. package/dist/modules/n8n-packages/n8n-packages.service.js +1 -1
  707. package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
  708. package/dist/modules/n8n-packages/utils/import-package-upload.js +1 -1
  709. package/dist/modules/n8n-packages/utils/import-package-upload.js.map +1 -1
  710. package/dist/modules/oauth-server/oauth-consent.service.d.ts +3 -1
  711. package/dist/modules/oauth-server/oauth-consent.service.js +8 -4
  712. package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
  713. package/dist/modules/oauth-server/oauth.controller.js +1 -0
  714. package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
  715. package/dist/modules/oauth-server/oauth.helpers.d.ts +2 -2
  716. package/dist/modules/oauth-server/oauth.helpers.js +4 -2
  717. package/dist/modules/oauth-server/oauth.helpers.js.map +1 -1
  718. package/dist/modules/provisioning.ee/provisioning.module.js +4 -0
  719. package/dist/modules/provisioning.ee/provisioning.module.js.map +1 -1
  720. package/dist/modules/provisioning.ee/role-deletion-checker.ee.d.ts +7 -0
  721. package/dist/modules/provisioning.ee/role-deletion-checker.ee.js +33 -0
  722. package/dist/modules/provisioning.ee/role-deletion-checker.ee.js.map +1 -0
  723. package/dist/modules/quick-connect/handlers/firecrawl.handler.js +3 -3
  724. package/dist/modules/quick-connect/handlers/firecrawl.handler.js.map +1 -1
  725. package/dist/modules/quick-connect/quick-connect.config.d.ts +10 -10
  726. package/dist/modules/quick-connect/quick-connect.module.d.ts +2 -2
  727. package/dist/modules/quick-connect/quick-connect.service.js +1 -1
  728. package/dist/modules/quick-connect/quick-connect.service.js.map +1 -1
  729. package/dist/modules/redaction/executions/execution-redaction.service.d.ts +1 -1
  730. package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
  731. package/dist/modules/runtime-credentials/runtime-credentials.service.js +1 -1
  732. package/dist/modules/runtime-credentials/runtime-credentials.service.js.map +1 -1
  733. package/dist/modules/source-control.ee/source-control-context.factory.js.map +1 -1
  734. package/dist/modules/source-control.ee/source-control-export.service.ee.d.ts +1 -1
  735. package/dist/modules/source-control.ee/source-control-export.service.ee.js +2 -2
  736. package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
  737. package/dist/modules/source-control.ee/source-control-scoped.service.d.ts +3 -2
  738. package/dist/modules/source-control.ee/source-control-scoped.service.js +10 -1
  739. package/dist/modules/source-control.ee/source-control-scoped.service.js.map +1 -1
  740. package/dist/modules/source-control.ee/source-control-status.service.ee.d.ts +2 -2
  741. package/dist/modules/source-control.ee/source-control-status.service.ee.js +3 -3
  742. package/dist/modules/source-control.ee/source-control-status.service.ee.js.map +1 -1
  743. package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +4 -4
  744. package/dist/modules/source-control.ee/source-control.controller.ee.js +5 -4
  745. package/dist/modules/source-control.ee/source-control.controller.ee.js.map +1 -1
  746. package/dist/modules/source-control.ee/source-control.service.ee.d.ts +8 -5
  747. package/dist/modules/source-control.ee/source-control.service.ee.js +25 -10
  748. package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
  749. package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
  750. package/dist/modules/sso-saml/saml.controller.ee.d.ts +1 -1
  751. package/dist/modules/sso-saml/saml.controller.ee.js +4 -3
  752. package/dist/modules/sso-saml/saml.controller.ee.js.map +1 -1
  753. package/dist/modules/token-exchange/controllers/embed-auth.controller.js +1 -1
  754. package/dist/modules/token-exchange/controllers/embed-auth.controller.js.map +1 -1
  755. package/dist/modules/token-exchange/services/jwks-resolver.js +1 -1
  756. package/dist/modules/token-exchange/services/jwks-resolver.js.map +1 -1
  757. package/dist/modules/token-exchange/services/trusted-key.service.js +1 -1
  758. package/dist/modules/token-exchange/services/trusted-key.service.js.map +1 -1
  759. package/dist/modules/token-exchange/token-exchange.schemas.d.ts +2 -2
  760. package/dist/modules/workflow-builder/workflow-builder-session.entity.js +1 -1
  761. package/dist/modules/workflow-builder/workflow-builder-session.entity.js.map +1 -1
  762. package/dist/modules/workflow-builder/workflow-builder-session.repository.js +1 -1
  763. package/dist/modules/workflow-builder/workflow-builder-session.repository.js.map +1 -1
  764. package/dist/node-catalog/node-catalog.service.d.ts +3 -2
  765. package/dist/node-catalog/node-catalog.service.js +50 -18
  766. package/dist/node-catalog/node-catalog.service.js.map +1 -1
  767. package/dist/oauth/oauth.service.d.ts +1 -1
  768. package/dist/oauth/oauth.service.js +7 -6
  769. package/dist/oauth/oauth.service.js.map +1 -1
  770. package/dist/permissions.ee/check-access.js +1 -1
  771. package/dist/permissions.ee/check-access.js.map +1 -1
  772. package/dist/public-api/index.js +24 -3
  773. package/dist/public-api/index.js.map +1 -1
  774. package/dist/public-api/v1/handlers/discover/discover.service.js +38 -2
  775. package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
  776. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +1 -1
  777. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
  778. package/dist/scaling/job-processor.js +1 -0
  779. package/dist/scaling/job-processor.js.map +1 -1
  780. package/dist/scaling/leader-election-client.d.ts +1 -1
  781. package/dist/scaling/leader-election-client.js +1 -1
  782. package/dist/scaling/leader-election-client.js.map +1 -1
  783. package/dist/scaling/pubsub/subscriber.service.js +1 -1
  784. package/dist/scaling/pubsub/subscriber.service.js.map +1 -1
  785. package/dist/scaling/redis/redis.types.d.ts +1 -1
  786. package/dist/scaling/redis-lock.service.d.ts +15 -0
  787. package/dist/scaling/redis-lock.service.js +154 -0
  788. package/dist/scaling/redis-lock.service.js.map +1 -0
  789. package/dist/security-audit/risk-reporters/instance-risk-reporter.js +3 -3
  790. package/dist/security-audit/risk-reporters/instance-risk-reporter.js.map +1 -1
  791. package/dist/server.js +4 -0
  792. package/dist/server.js.map +1 -1
  793. package/dist/services/ai-gateway.service.d.ts +1 -1
  794. package/dist/services/ai-gateway.service.js +1 -1
  795. package/dist/services/ai-gateway.service.js.map +1 -1
  796. package/dist/services/ai-workflow-builder.service.js +5 -4
  797. package/dist/services/ai-workflow-builder.service.js.map +1 -1
  798. package/dist/services/credentials-tester.service.d.ts +1 -1
  799. package/dist/services/credentials-tester.service.js +3 -3
  800. package/dist/services/credentials-tester.service.js.map +1 -1
  801. package/dist/services/dynamic-node-parameters.service.d.ts +3 -3
  802. package/dist/services/dynamic-node-parameters.service.js +4 -4
  803. package/dist/services/dynamic-node-parameters.service.js.map +1 -1
  804. package/dist/services/dynamic-templates.service.js +3 -3
  805. package/dist/services/dynamic-templates.service.js.map +1 -1
  806. package/dist/services/export.service.js +3 -3
  807. package/dist/services/export.service.js.map +1 -1
  808. package/dist/services/frontend.service.js.map +1 -1
  809. package/dist/services/import.service.js.map +1 -1
  810. package/dist/services/ownership.service.d.ts +3 -3
  811. package/dist/services/ownership.service.js +5 -5
  812. package/dist/services/ownership.service.js.map +1 -1
  813. package/dist/services/project.service.ee.js +2 -2
  814. package/dist/services/project.service.ee.js.map +1 -1
  815. package/dist/services/pruning/workflow-history-compaction.service.d.ts +1 -1
  816. package/dist/services/pruning/workflow-history-compaction.service.js +1 -1
  817. package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
  818. package/dist/services/rate-limit.service.d.ts +1 -1
  819. package/dist/services/rate-limit.service.js.map +1 -1
  820. package/dist/services/role-deletion-check-proxy.service.d.ts +8 -0
  821. package/dist/services/role-deletion-check-proxy.service.js +28 -0
  822. package/dist/services/role-deletion-check-proxy.service.js.map +1 -0
  823. package/dist/services/role.service.d.ts +5 -2
  824. package/dist/services/role.service.js +18 -2
  825. package/dist/services/role.service.js.map +1 -1
  826. package/dist/services/user.service.js +5 -0
  827. package/dist/services/user.service.js.map +1 -1
  828. package/dist/task-runners/task-managers/data-request-response-builder.js +1 -0
  829. package/dist/task-runners/task-managers/data-request-response-builder.js.map +1 -1
  830. package/dist/task-runners/task-runner-process-js.js +2 -0
  831. package/dist/task-runners/task-runner-process-js.js.map +1 -1
  832. package/dist/tool-generation/hitl-tools.js.map +1 -1
  833. package/dist/utils/compression.util.js +2 -2
  834. package/dist/utils/compression.util.js.map +1 -1
  835. package/dist/utils/health-endpoint.util.js.map +1 -1
  836. package/dist/utils/strapi-utils.js +2 -3
  837. package/dist/utils/strapi-utils.js.map +1 -1
  838. package/dist/webhooks/test-webhook-registrations.service.js +1 -1
  839. package/dist/webhooks/test-webhook-registrations.service.js.map +1 -1
  840. package/dist/webhooks/test-webhooks.d.ts +1 -1
  841. package/dist/webhooks/test-webhooks.js.map +1 -1
  842. package/dist/webhooks/waiting-forms.js +2 -2
  843. package/dist/webhooks/waiting-forms.js.map +1 -1
  844. package/dist/webhooks/webhook.service.d.ts +1 -0
  845. package/dist/webhooks/webhook.service.js +4 -1
  846. package/dist/webhooks/webhook.service.js.map +1 -1
  847. package/dist/workflow-execute-additional-data.d.ts +2 -2
  848. package/dist/workflow-execute-additional-data.js +5 -4
  849. package/dist/workflow-execute-additional-data.js.map +1 -1
  850. package/dist/workflow-runner.js +1 -0
  851. package/dist/workflow-runner.js.map +1 -1
  852. package/dist/workflows/publication/workflow-publication-applier.d.ts +3 -1
  853. package/dist/workflows/publication/workflow-publication-applier.js +10 -2
  854. package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
  855. package/dist/workflows/triggers/non-webhook-trigger-registrar.d.ts +1 -1
  856. package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +1 -1
  857. package/dist/workflows/triggers/trigger-execution-context.factory.js +4 -5
  858. package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
  859. package/dist/workflows/triggers/webhook-trigger-registrar.d.ts +4 -1
  860. package/dist/workflows/triggers/webhook-trigger-registrar.js +36 -9
  861. package/dist/workflows/triggers/webhook-trigger-registrar.js.map +1 -1
  862. package/dist/workflows/triggers/workflow-trigger-activator.d.ts +3 -0
  863. package/dist/workflows/triggers/workflow-trigger-activator.js +66 -32
  864. package/dist/workflows/triggers/workflow-trigger-activator.js.map +1 -1
  865. package/dist/workflows/workflow-creation.service.js +1 -1
  866. package/dist/workflows/workflow-creation.service.js.map +1 -1
  867. package/dist/workflows/workflow-history/workflow-history.service.d.ts +4 -3
  868. package/dist/workflows/workflow-history/workflow-history.service.js +4 -3
  869. package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
  870. package/dist/workflows/workflow-published-data.service.d.ts +16 -6
  871. package/dist/workflows/workflow-published-data.service.js +42 -2
  872. package/dist/workflows/workflow-published-data.service.js.map +1 -1
  873. package/dist/workflows/workflow-validation.service.js +4 -22
  874. package/dist/workflows/workflow-validation.service.js.map +1 -1
  875. package/dist/workflows/workflow.service.d.ts +2 -2
  876. package/dist/workflows/workflow.service.ee.d.ts +1 -1
  877. package/dist/workflows/workflow.service.ee.js +1 -1
  878. package/dist/workflows/workflow.service.ee.js.map +1 -1
  879. package/dist/workflows/workflow.service.js +7 -7
  880. package/dist/workflows/workflow.service.js.map +1 -1
  881. package/dist/workflows/workflows.controller.d.ts +6 -6
  882. package/dist/workflows/workflows.controller.js +3 -3
  883. package/dist/workflows/workflows.controller.js.map +1 -1
  884. package/package.json +68 -56
  885. package/dist/modules/instance-ai/eval/proxy-loopback.d.ts +0 -1
  886. package/dist/modules/instance-ai/eval/proxy-loopback.js +0 -44
  887. package/dist/modules/instance-ai/eval/proxy-loopback.js.map +0 -1
@@ -0,0 +1,181 @@
1
+ import { UpdateAgentConfigDto } from '@n8n/api-types';
2
+ import type { AuthenticatedRequest } from '@n8n/db';
3
+ import type { Response } from 'express';
4
+ import { AgentConfigService } from './agent-config.service';
5
+ import { AgentCustomToolsService } from './agent-custom-tools.service';
6
+ export declare class AgentsConfigController {
7
+ private readonly agentConfigService;
8
+ private readonly agentCustomToolsService;
9
+ constructor(agentConfigService: AgentConfigService, agentCustomToolsService: AgentCustomToolsService);
10
+ getConfig(req: AuthenticatedRequest<{
11
+ projectId: string;
12
+ agentId: string;
13
+ }>): Promise<{
14
+ model: string;
15
+ name: string;
16
+ instructions: string;
17
+ credential?: string | undefined;
18
+ tools?: ({
19
+ type: "custom";
20
+ id: string;
21
+ requireApproval?: boolean | undefined;
22
+ } | {
23
+ type: "workflow";
24
+ workflow: string;
25
+ description?: string | undefined;
26
+ requireApproval?: boolean | undefined;
27
+ name?: string | undefined;
28
+ allOutputs?: boolean | undefined;
29
+ } | {
30
+ type: "node";
31
+ name: string;
32
+ node: {
33
+ nodeType: string;
34
+ nodeTypeVersion: number;
35
+ nodeParameters: Record<string, unknown>;
36
+ credentials?: Record<string, {
37
+ id: string;
38
+ name: string;
39
+ }> | undefined;
40
+ };
41
+ description?: string | undefined;
42
+ requireApproval?: boolean | undefined;
43
+ inputSchema?: undefined;
44
+ })[] | undefined;
45
+ memory?: {
46
+ enabled: boolean;
47
+ storage: "n8n";
48
+ observationalMemory?: {
49
+ enabled?: boolean | undefined;
50
+ observerModel?: {
51
+ model: string;
52
+ credential: string;
53
+ } | undefined;
54
+ reflectorModel?: {
55
+ model: string;
56
+ credential: string;
57
+ } | undefined;
58
+ observerThresholdTokens?: number | undefined;
59
+ reflectorThresholdTokens?: number | undefined;
60
+ renderTokenBudget?: number | undefined;
61
+ observationLogTailLimit?: number | undefined;
62
+ lockTtlMs?: number | undefined;
63
+ } | undefined;
64
+ episodicMemory?: {
65
+ enabled: false;
66
+ } | {
67
+ credential: string;
68
+ enabled: true;
69
+ reflectorModel?: {
70
+ model: string;
71
+ credential: string;
72
+ } | undefined;
73
+ extractorModel?: {
74
+ model: string;
75
+ credential: string;
76
+ } | undefined;
77
+ topK?: number | undefined;
78
+ maxEntriesPerRun?: number | undefined;
79
+ } | undefined;
80
+ } | undefined;
81
+ subAgents?: {
82
+ maxChildren?: number | undefined;
83
+ agents?: {
84
+ agentId: string;
85
+ useWhen?: string | undefined;
86
+ }[] | undefined;
87
+ modelsByDifficulty?: {
88
+ low?: {
89
+ model: string;
90
+ credential: string;
91
+ } | undefined;
92
+ medium?: {
93
+ model: string;
94
+ credential: string;
95
+ } | undefined;
96
+ high?: {
97
+ model: string;
98
+ credential: string;
99
+ } | undefined;
100
+ } | undefined;
101
+ } | undefined;
102
+ skills?: {
103
+ type: "skill";
104
+ id: string;
105
+ }[] | undefined;
106
+ tasks?: {
107
+ type: "task";
108
+ enabled: boolean;
109
+ id: string;
110
+ }[] | undefined;
111
+ providerTools?: Record<string, Record<string, unknown>> | undefined;
112
+ integrations?: ({
113
+ type: "telegram";
114
+ credentialId: string;
115
+ settings?: {
116
+ accessMode: "private" | "public";
117
+ allowedUsers: string[];
118
+ } | undefined;
119
+ } | {
120
+ type: "slack";
121
+ credentialId: string;
122
+ } | {
123
+ type: "linear";
124
+ credentialId: string;
125
+ })[] | undefined;
126
+ mcpServers?: {
127
+ name: string;
128
+ url: string;
129
+ transport: "sse" | "streamableHttp";
130
+ authentication: string;
131
+ description?: string | undefined;
132
+ approval?: {
133
+ mode: "global";
134
+ } | {
135
+ mode: "selected";
136
+ tools: string[];
137
+ } | undefined;
138
+ credential?: string | undefined;
139
+ metadata?: {
140
+ nodeTypeName?: string | undefined;
141
+ } | undefined;
142
+ toolFilter?: {
143
+ mode: "allow";
144
+ tools: string[];
145
+ } | {
146
+ mode: "exclude";
147
+ tools: string[];
148
+ } | undefined;
149
+ connectionTimeoutMs?: number | undefined;
150
+ }[] | undefined;
151
+ config?: {
152
+ thinking?: {
153
+ provider: "anthropic" | "openai";
154
+ budgetTokens?: number | undefined;
155
+ reasoningEffort?: string | undefined;
156
+ } | undefined;
157
+ webSearch?: {
158
+ enabled: boolean;
159
+ provider?: "auto" | "native" | "brave" | "searxng" | undefined;
160
+ credential?: string | undefined;
161
+ } | undefined;
162
+ toolCallConcurrency?: number | undefined;
163
+ maxIterations?: number | undefined;
164
+ } | undefined;
165
+ }>;
166
+ putConfig(req: AuthenticatedRequest<{
167
+ projectId: string;
168
+ agentId: string;
169
+ }>, _res: Response, agentId: string, payload: UpdateAgentConfigDto): Promise<{
170
+ config: import("@n8n/api-types").AgentJsonConfig;
171
+ updatedAt: string;
172
+ versionId: string | null;
173
+ }>;
174
+ deleteTool(req: AuthenticatedRequest<{
175
+ projectId: string;
176
+ agentId: string;
177
+ toolId: string;
178
+ }>, _res: Response, agentId: string, toolId: string): Promise<{
179
+ ok: boolean;
180
+ }>;
181
+ }
@@ -0,0 +1,71 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AgentsConfigController = void 0;
16
+ const api_types_1 = require("@n8n/api-types");
17
+ const decorators_1 = require("@n8n/decorators");
18
+ const agent_config_service_1 = require("./agent-config.service");
19
+ const agent_custom_tools_service_1 = require("./agent-custom-tools.service");
20
+ let AgentsConfigController = class AgentsConfigController {
21
+ constructor(agentConfigService, agentCustomToolsService) {
22
+ this.agentConfigService = agentConfigService;
23
+ this.agentCustomToolsService = agentCustomToolsService;
24
+ }
25
+ async getConfig(req) {
26
+ const { projectId, agentId } = req.params;
27
+ return await this.agentConfigService.getConfig(agentId, projectId);
28
+ }
29
+ async putConfig(req, _res, agentId, payload) {
30
+ const { projectId } = req.params;
31
+ const { config } = payload;
32
+ return await this.agentConfigService.updateConfig(agentId, projectId, config);
33
+ }
34
+ async deleteTool(req, _res, agentId, toolId) {
35
+ const { projectId } = req.params;
36
+ await this.agentCustomToolsService.deleteCustomTool(agentId, projectId, toolId);
37
+ return { ok: true };
38
+ }
39
+ };
40
+ exports.AgentsConfigController = AgentsConfigController;
41
+ __decorate([
42
+ (0, decorators_1.Get)('/:agentId/config'),
43
+ (0, decorators_1.ProjectScope)('agent:read'),
44
+ __metadata("design:type", Function),
45
+ __metadata("design:paramtypes", [Object]),
46
+ __metadata("design:returntype", Promise)
47
+ ], AgentsConfigController.prototype, "getConfig", null);
48
+ __decorate([
49
+ (0, decorators_1.Put)('/:agentId/config'),
50
+ (0, decorators_1.ProjectScope)('agent:update'),
51
+ __param(2, (0, decorators_1.Param)('agentId')),
52
+ __param(3, decorators_1.Body),
53
+ __metadata("design:type", Function),
54
+ __metadata("design:paramtypes", [Object, Object, String, api_types_1.UpdateAgentConfigDto]),
55
+ __metadata("design:returntype", Promise)
56
+ ], AgentsConfigController.prototype, "putConfig", null);
57
+ __decorate([
58
+ (0, decorators_1.Delete)('/:agentId/tools/:toolId'),
59
+ (0, decorators_1.ProjectScope)('agent:update'),
60
+ __param(2, (0, decorators_1.Param)('agentId')),
61
+ __param(3, (0, decorators_1.Param)('toolId')),
62
+ __metadata("design:type", Function),
63
+ __metadata("design:paramtypes", [Object, Object, String, String]),
64
+ __metadata("design:returntype", Promise)
65
+ ], AgentsConfigController.prototype, "deleteTool", null);
66
+ exports.AgentsConfigController = AgentsConfigController = __decorate([
67
+ (0, decorators_1.RestController)('/projects/:projectId/agents/v2'),
68
+ __metadata("design:paramtypes", [agent_config_service_1.AgentConfigService,
69
+ agent_custom_tools_service_1.AgentCustomToolsService])
70
+ ], AgentsConfigController);
71
+ //# sourceMappingURL=agents-config.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents-config.controller.js","sourceRoot":"","sources":["../../../src/modules/agents/agents-config.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAAsD;AAEtD,gDAA8F;AAG9F,iEAA4D;AAC5D,6EAAuE;AAGhE,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC,YACkB,kBAAsC,EACtC,uBAAgD;QADhD,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,4BAAuB,GAAvB,uBAAuB,CAAyB;IAC/D,CAAC;IAIE,AAAN,KAAK,CAAC,SAAS,CAAC,GAAiE;QAChF,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC;QAC1C,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACpE,CAAC;IAIK,AAAN,KAAK,CAAC,SAAS,CACd,GAAiE,EACjE,IAAc,EACI,OAAe,EAC3B,OAA6B;QAEnC,MAAM,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC;QACjC,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;QAC3B,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,YAAY,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IAC/E,CAAC;IAIK,AAAN,KAAK,CAAC,UAAU,CACf,GAAiF,EACjF,IAAc,EACI,OAAe,EAChB,MAAc;QAE/B,MAAM,EAAE,SAAS,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC;QACjC,MAAM,IAAI,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QAChF,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC;IACrB,CAAC;CACD,CAAA;AAtCY,wDAAsB;AAQ5B;IAFL,IAAA,gBAAG,EAAC,kBAAkB,CAAC;IACvB,IAAA,yBAAY,EAAC,YAAY,CAAC;;;;uDAI1B;AAIK;IAFL,IAAA,gBAAG,EAAC,kBAAkB,CAAC;IACvB,IAAA,yBAAY,EAAC,cAAc,CAAC;IAI3B,WAAA,IAAA,kBAAK,EAAC,SAAS,CAAC,CAAA;IAChB,WAAA,iBAAI,CAAA;;6DAAU,gCAAoB;;uDAKnC;AAIK;IAFL,IAAA,mBAAM,EAAC,yBAAyB,CAAC;IACjC,IAAA,yBAAY,EAAC,cAAc,CAAC;IAI3B,WAAA,IAAA,kBAAK,EAAC,SAAS,CAAC,CAAA;IAChB,WAAA,IAAA,kBAAK,EAAC,QAAQ,CAAC,CAAA;;;;wDAKhB;iCArCW,sBAAsB;IADlC,IAAA,2BAAc,EAAC,gCAAgC,CAAC;qCAGV,yCAAkB;QACb,oDAAuB;GAHtD,sBAAsB,CAsClC"}
@@ -0,0 +1,33 @@
1
+ import { CreateAgentSkillDto, UpdateAgentSkillDto } from '@n8n/api-types';
2
+ import type { AuthenticatedRequest } from '@n8n/db';
3
+ import type { Response } from 'express';
4
+ import { AgentSkillsService } from './agent-skills.service';
5
+ export declare class AgentsSkillsController {
6
+ private readonly agentSkillsService;
7
+ constructor(agentSkillsService: AgentSkillsService);
8
+ listSkills(req: AuthenticatedRequest<{
9
+ projectId: string;
10
+ agentId: string;
11
+ }>): Promise<Record<string, import("@n8n/api-types").AgentSkill>>;
12
+ getSkill(req: AuthenticatedRequest<{
13
+ projectId: string;
14
+ agentId: string;
15
+ skillId: string;
16
+ }>, _res: Response, agentId: string, skillId: string): Promise<import("@n8n/api-types").AgentSkill>;
17
+ createSkill(req: AuthenticatedRequest<{
18
+ projectId: string;
19
+ agentId: string;
20
+ }>, _res: Response, agentId: string, payload: CreateAgentSkillDto): Promise<import("@n8n/api-types").AgentSkillMutationResponse>;
21
+ updateSkill(req: AuthenticatedRequest<{
22
+ projectId: string;
23
+ agentId: string;
24
+ skillId: string;
25
+ }>, _res: Response, agentId: string, skillId: string, payload: UpdateAgentSkillDto): Promise<import("@n8n/api-types").AgentSkillMutationResponse>;
26
+ deleteSkill(req: AuthenticatedRequest<{
27
+ projectId: string;
28
+ agentId: string;
29
+ skillId: string;
30
+ }>, _res: Response, agentId: string, skillId: string): Promise<{
31
+ ok: boolean;
32
+ }>;
33
+ }
@@ -0,0 +1,94 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AgentsSkillsController = void 0;
16
+ const api_types_1 = require("@n8n/api-types");
17
+ const decorators_1 = require("@n8n/decorators");
18
+ const agent_skills_service_1 = require("./agent-skills.service");
19
+ let AgentsSkillsController = class AgentsSkillsController {
20
+ constructor(agentSkillsService) {
21
+ this.agentSkillsService = agentSkillsService;
22
+ }
23
+ async listSkills(req) {
24
+ const { projectId, agentId } = req.params;
25
+ return await this.agentSkillsService.listSkills(agentId, projectId);
26
+ }
27
+ async getSkill(req, _res, agentId, skillId) {
28
+ const { projectId } = req.params;
29
+ return await this.agentSkillsService.getSkill(agentId, projectId, skillId);
30
+ }
31
+ async createSkill(req, _res, agentId, payload) {
32
+ const { projectId } = req.params;
33
+ return await this.agentSkillsService.createAndAttachSkill(agentId, projectId, payload);
34
+ }
35
+ async updateSkill(req, _res, agentId, skillId, payload) {
36
+ const { projectId } = req.params;
37
+ return await this.agentSkillsService.updateSkill(agentId, projectId, skillId, payload);
38
+ }
39
+ async deleteSkill(req, _res, agentId, skillId) {
40
+ const { projectId } = req.params;
41
+ await this.agentSkillsService.deleteSkill(agentId, projectId, skillId);
42
+ return { ok: true };
43
+ }
44
+ };
45
+ exports.AgentsSkillsController = AgentsSkillsController;
46
+ __decorate([
47
+ (0, decorators_1.Get)('/:agentId/skills'),
48
+ (0, decorators_1.ProjectScope)('agent:read'),
49
+ __metadata("design:type", Function),
50
+ __metadata("design:paramtypes", [Object]),
51
+ __metadata("design:returntype", Promise)
52
+ ], AgentsSkillsController.prototype, "listSkills", null);
53
+ __decorate([
54
+ (0, decorators_1.Get)('/:agentId/skills/:skillId'),
55
+ (0, decorators_1.ProjectScope)('agent:read'),
56
+ __param(2, (0, decorators_1.Param)('agentId')),
57
+ __param(3, (0, decorators_1.Param)('skillId')),
58
+ __metadata("design:type", Function),
59
+ __metadata("design:paramtypes", [Object, Object, String, String]),
60
+ __metadata("design:returntype", Promise)
61
+ ], AgentsSkillsController.prototype, "getSkill", null);
62
+ __decorate([
63
+ (0, decorators_1.Post)('/:agentId/skills'),
64
+ (0, decorators_1.ProjectScope)('agent:update'),
65
+ __param(2, (0, decorators_1.Param)('agentId')),
66
+ __param(3, decorators_1.Body),
67
+ __metadata("design:type", Function),
68
+ __metadata("design:paramtypes", [Object, Object, String, api_types_1.CreateAgentSkillDto]),
69
+ __metadata("design:returntype", Promise)
70
+ ], AgentsSkillsController.prototype, "createSkill", null);
71
+ __decorate([
72
+ (0, decorators_1.Patch)('/:agentId/skills/:skillId'),
73
+ (0, decorators_1.ProjectScope)('agent:update'),
74
+ __param(2, (0, decorators_1.Param)('agentId')),
75
+ __param(3, (0, decorators_1.Param)('skillId')),
76
+ __param(4, decorators_1.Body),
77
+ __metadata("design:type", Function),
78
+ __metadata("design:paramtypes", [Object, Object, String, String, api_types_1.UpdateAgentSkillDto]),
79
+ __metadata("design:returntype", Promise)
80
+ ], AgentsSkillsController.prototype, "updateSkill", null);
81
+ __decorate([
82
+ (0, decorators_1.Delete)('/:agentId/skills/:skillId'),
83
+ (0, decorators_1.ProjectScope)('agent:update'),
84
+ __param(2, (0, decorators_1.Param)('agentId')),
85
+ __param(3, (0, decorators_1.Param)('skillId')),
86
+ __metadata("design:type", Function),
87
+ __metadata("design:paramtypes", [Object, Object, String, String]),
88
+ __metadata("design:returntype", Promise)
89
+ ], AgentsSkillsController.prototype, "deleteSkill", null);
90
+ exports.AgentsSkillsController = AgentsSkillsController = __decorate([
91
+ (0, decorators_1.RestController)('/projects/:projectId/agents/v2'),
92
+ __metadata("design:paramtypes", [agent_skills_service_1.AgentSkillsService])
93
+ ], AgentsSkillsController);
94
+ //# sourceMappingURL=agents-skills.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agents-skills.controller.js","sourceRoot":"","sources":["../../../src/modules/agents/agents-skills.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAA0E;AAE1E,gDASyB;A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@
1
1
  import type { BuiltTool, CredentialProvider } from '@n8n/agents';
2
- import { Logger } from '@n8n/backend-common';
3
2
  import { NodeCatalogService } from '../../node-catalog';
4
- import { EphemeralNodeExecutor } from '../../node-execution';
5
3
  export declare const isExecutableNodeType: (nodeId: string) => boolean;
6
4
  export declare const isAgentToolNodeType: (nodeId: string) => boolean;
7
5
  export declare class AgentsToolsService {
8
- private readonly logger;
9
6
  private readonly nodeCatalogService;
10
- private readonly ephemeralNodeExecutor;
11
- constructor(logger: Logger, nodeCatalogService: NodeCatalogService, ephemeralNodeExecutor: EphemeralNodeExecutor);
7
+ constructor(nodeCatalogService: NodeCatalogService);
12
8
  getSharedTools(credentialProvider: CredentialProvider, listCredentialsUsageHint: string): BuiltTool[];
13
- getRuntimeTools(credentialProvider: CredentialProvider, projectId: string): BuiltTool[];
14
9
  private buildSearchNodesTool;
15
10
  private buildGetNodeTypesTool;
16
11
  private buildListCredentialsTool;
17
- private buildRunNodeTool;
18
12
  }
@@ -12,14 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AgentsToolsService = exports.isAgentToolNodeType = exports.isExecutableNodeType = void 0;
13
13
  const tool_1 = require("@n8n/agents/tool");
14
14
  const api_types_1 = require("@n8n/api-types");
15
- const backend_common_1 = require("@n8n/backend-common");
16
15
  const di_1 = require("@n8n/di");
17
- const workflow_sdk_1 = require("@n8n/workflow-sdk");
18
16
  const n8n_workflow_1 = require("n8n-workflow");
19
17
  const zod_1 = require("zod");
20
- const node_description_transform_1 = require("../mcp-registry/node-description-transform");
21
18
  const node_catalog_1 = require("../../node-catalog");
22
19
  const node_execution_1 = require("../../node-execution");
20
+ const node_description_transform_1 = require("../mcp-registry/node-description-transform");
23
21
  const isExecutableNodeType = (nodeId) => !(0, n8n_workflow_1.isTriggerNodeType)(nodeId);
24
22
  exports.isExecutableNodeType = isExecutableNodeType;
25
23
  const hiddenAgentToolNodeTypes = new Set(api_types_1.AGENT_BUILDER_HIDDEN_AVAILABLE_TOOL_NODE_TYPES);
@@ -66,27 +64,9 @@ const listCredentialsInputSchema = zod_1.z.object({
66
64
  'When omitted, returns all credentials. Use the credential types declared in the ' +
67
65
  'node schema from get_node_types to narrow the results.'),
68
66
  });
69
- const runNodeInputSchema = zod_1.z.object({
70
- nodeType: zod_1.z.string().describe('Tool node type identifier from search_nodes'),
71
- nodeTypeVersion: nodeVersionSchema,
72
- nodeParameters: zod_1.z
73
- .record(zod_1.z.unknown())
74
- .optional()
75
- .describe('Static node config. Use expressions like ={{ $json.url }} to reference inputData fields.'),
76
- credentials: zod_1.z
77
- .record(zod_1.z.object({ id: zod_1.z.string(), name: zod_1.z.string() }))
78
- .optional()
79
- .describe('Credential slot → { id, name }. Copy from list_credentials results.'),
80
- inputData: zod_1.z
81
- .record(zod_1.z.unknown())
82
- .optional()
83
- .describe('Runtime input, available as $json inside nodeParameters expressions.'),
84
- });
85
67
  let AgentsToolsService = class AgentsToolsService {
86
- constructor(logger, nodeCatalogService, ephemeralNodeExecutor) {
87
- this.logger = logger;
68
+ constructor(nodeCatalogService) {
88
69
  this.nodeCatalogService = nodeCatalogService;
89
- this.ephemeralNodeExecutor = ephemeralNodeExecutor;
90
70
  }
91
71
  getSharedTools(credentialProvider, listCredentialsUsageHint) {
92
72
  return [
@@ -95,12 +75,6 @@ let AgentsToolsService = class AgentsToolsService {
95
75
  this.buildListCredentialsTool(credentialProvider, listCredentialsUsageHint),
96
76
  ];
97
77
  }
98
- getRuntimeTools(credentialProvider, projectId) {
99
- return [
100
- ...this.getSharedTools(credentialProvider, 'Call this before run_node_tool to know which credential to pass.'),
101
- this.buildRunNodeTool(projectId),
102
- ];
103
- }
104
78
  buildSearchNodesTool() {
105
79
  return new tool_1.Tool('search_nodes')
106
80
  .description('Search for n8n nodes by name or service. Use this to find nodes that can be executed. ' +
@@ -145,62 +119,11 @@ let AgentsToolsService = class AgentsToolsService {
145
119
  })
146
120
  .build();
147
121
  }
148
- buildRunNodeTool(projectId) {
149
- return new tool_1.Tool('run_node_tool')
150
- .description('Execute an n8n node for the current request. ' +
151
- 'Use the tool nodeType and nodeTypeVersion from search_nodes. ' +
152
- 'Call get_node_types first to understand what nodeParameters the node accepts. ' +
153
- 'nodeParameters holds static node config; use n8n expressions like ={{ $json.url }} to map inputData fields. ' +
154
- 'credentials maps slot names to { id, name } — copy from the list_credentials results. ' +
155
- 'inputData is the runtime payload available as $json inside expressions. ' +
156
- 'Parameters are validated against the node schema before execution.')
157
- .input(runNodeInputSchema)
158
- .handler(async ({ nodeType, nodeTypeVersion, nodeParameters, credentials, inputData }) => {
159
- if (!(0, exports.isExecutableNodeType)(nodeType)) {
160
- return {
161
- status: 'error',
162
- message: `Node type "${nodeType}" cannot be executed directly — trigger nodes are not supported here.`,
163
- };
164
- }
165
- if (nodeParameters) {
166
- const { valid, errors } = (0, workflow_sdk_1.validateNodeConfig)(nodeType, nodeTypeVersion, {
167
- parameters: nodeParameters,
168
- }, { isToolNode: true });
169
- if (!valid) {
170
- return {
171
- status: 'error',
172
- message: `Invalid nodeParameters: ${errors.map((e) => e.message).join('; ')}`,
173
- };
174
- }
175
- }
176
- try {
177
- return await this.ephemeralNodeExecutor.executeInline({
178
- nodeType,
179
- nodeTypeVersion,
180
- nodeParameters: (nodeParameters ?? {}),
181
- credentialDetails: credentials,
182
- inputData: [{ json: (inputData ?? {}) }],
183
- projectId,
184
- });
185
- }
186
- catch (error) {
187
- const message = error instanceof Error ? error.message : String(error);
188
- this.logger.warn('run_node_tool execution failed', { nodeType, error });
189
- return {
190
- status: 'error',
191
- message: `Node execution failed: ${message}`,
192
- };
193
- }
194
- })
195
- .build();
196
- }
197
122
  };
198
123
  exports.AgentsToolsService = AgentsToolsService;
199
124
  exports.AgentsToolsService = AgentsToolsService = __decorate([
200
125
  (0, di_1.Service)(),
201
- __metadata("design:paramtypes", [backend_common_1.Logger,
202
- node_catalog_1.NodeCatalogService,
203
- node_execution_1.EphemeralNodeExecutor])
126
+ __metadata("design:paramtypes", [node_catalog_1.NodeCatalogService])
204
127
  ], AgentsToolsService);
205
128
  function normalizeNodeRequestForCatalog(req) {
206
129
  if (typeof req === 'string')
@@ -1 +1 @@
1
- {"version":3,"file":"agents-tools.service.js","sourceRoot":"","sources":["../../../src/modules/agents/agents-tools.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,2CAAwC;AACxC,8CAGwB;AACxB,wDAA6C;AAC7C,gCAAkC;AAClC,oDAAuD;AACvD,+CAA6D;AAE7D,6BAAwB;AAExB,2FAAuF;AAEvF,iDAAoD;AACpD,qDAA8E;AAgBvE,MAAM,oBAAoB,GAAG,CAAC,MAAc,EAAW,EAAE,CAAC,CAAC,IAAA,gCAAiB,EAAC,MAAM,CAAC,CAAC;AAA/E,QAAA,oBAAoB,wBAA2D;AAE5F,MAAM,wBAAwB,GAAG,IAAI,GAAG,CAAS,0DAA8C,CAAC,CAAC;AACjG,MAAM,2BAA2B,GAAG,IAAI,GAAG,CAC1C,8DAAkD,CAClD,CAAC;AAgBK,MAAM,mBAAmB,GAAG,CAAC,MAAc,EAAW,EAAE;IAC9D,IAAI,CAAC,IAAA,4BAAoB,EAAC,MAAM,CAAC,EAAE,CAAC;QACnC,OAAO,KAAK,CAAC;IACd,CAAC;IACD,IAAI,wBAAwB,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1C,OAAO,KAAK,CAAC;IACd,CAAC;IAED,MAAM,sBAAsB,GAAG,2BAA2B,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACvE,MAAM,aAAa,GAAG,IAAA,yBAAU,EAAC,MAAM,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAC/F,MAAM,qBAAqB,GAAG,IAAA,oCAAmB,EAAC,MAAM,CAAC,CAAC;IAC1D,OAAO,sBAAsB,IAAI,aAAa,IAAI,qBAAqB,CAAC;AACzE,CAAC,CAAC;AAZW,QAAA,mBAAmB,uBAY9B;A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