n8n 2.46.3 → 2.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2444) hide show
  1. package/bin/n8n +7 -1
  2. package/dist/abstract-server.d.ts +4 -1
  3. package/dist/abstract-server.js +32 -0
  4. package/dist/abstract-server.js.map +1 -1
  5. package/dist/active-executions.d.ts +3 -1
  6. package/dist/active-executions.js +10 -4
  7. package/dist/active-executions.js.map +1 -1
  8. package/dist/active-workflow-manager.js +9 -4
  9. package/dist/active-workflow-manager.js.map +1 -1
  10. package/dist/agent-library-bundle.js +19 -0
  11. package/dist/auth/auth.service.d.ts +13 -13
  12. package/dist/auth/auth.service.js +38 -46
  13. package/dist/auth/auth.service.js.map +1 -1
  14. package/dist/auth/handlers/email.auth-handler.d.ts +4 -4
  15. package/dist/auth/handlers/email.auth-handler.js +9 -12
  16. package/dist/auth/handlers/email.auth-handler.js.map +1 -1
  17. package/dist/build.tsbuildinfo +1 -1
  18. package/dist/chat/chat-execution-manager.js +2 -2
  19. package/dist/chat/chat-execution-manager.js.map +1 -1
  20. package/dist/chat/chat-service.js +3 -2
  21. package/dist/chat/chat-service.js.map +1 -1
  22. package/dist/collaboration/collaboration.service.js +1 -2
  23. package/dist/collaboration/collaboration.service.js.map +1 -1
  24. package/dist/commands/audit.js +2 -2
  25. package/dist/commands/audit.js.map +1 -1
  26. package/dist/commands/base-command.js +4 -30
  27. package/dist/commands/base-command.js.map +1 -1
  28. package/dist/commands/cli-workflow-publisher.d.ts +22 -0
  29. package/dist/commands/cli-workflow-publisher.js +98 -0
  30. package/dist/commands/cli-workflow-publisher.js.map +1 -0
  31. package/dist/commands/engine.js +7 -6
  32. package/dist/commands/engine.js.map +1 -1
  33. package/dist/commands/execute-batch.js +2 -1
  34. package/dist/commands/execute-batch.js.map +1 -1
  35. package/dist/commands/execute.js +4 -3
  36. package/dist/commands/execute.js.map +1 -1
  37. package/dist/commands/export/credentials.js +2 -2
  38. package/dist/commands/export/credentials.js.map +1 -1
  39. package/dist/commands/export/workflow.js +7 -7
  40. package/dist/commands/export/workflow.js.map +1 -1
  41. package/dist/commands/import/credentials.d.ts +0 -1
  42. package/dist/commands/import/credentials.js +33 -58
  43. package/dist/commands/import/credentials.js.map +1 -1
  44. package/dist/commands/import/workflow.js +6 -5
  45. package/dist/commands/import/workflow.js.map +1 -1
  46. package/dist/commands/ldap/reset.js +8 -8
  47. package/dist/commands/ldap/reset.js.map +1 -1
  48. package/dist/commands/publish/workflow.d.ts +2 -0
  49. package/dist/commands/publish/workflow.js +17 -5
  50. package/dist/commands/publish/workflow.js.map +1 -1
  51. package/dist/commands/start.js +2 -0
  52. package/dist/commands/start.js.map +1 -1
  53. package/dist/commands/unpublish/workflow.d.ts +2 -0
  54. package/dist/commands/unpublish/workflow.js +18 -6
  55. package/dist/commands/unpublish/workflow.js.map +1 -1
  56. package/dist/commands/update/workflow.d.ts +2 -0
  57. package/dist/commands/update/workflow.js +20 -16
  58. package/dist/commands/update/workflow.js.map +1 -1
  59. package/dist/config/index.js +2 -3
  60. package/dist/config/index.js.map +1 -1
  61. package/dist/constants.d.ts +1 -1
  62. package/dist/constants.js +1 -1
  63. package/dist/constants.js.map +1 -1
  64. package/dist/controller.registry.d.ts +4 -2
  65. package/dist/controller.registry.js +6 -5
  66. package/dist/controller.registry.js.map +1 -1
  67. package/dist/controllers/auth.controller.d.ts +3 -2
  68. package/dist/controllers/auth.controller.js +15 -11
  69. package/dist/controllers/auth.controller.js.map +1 -1
  70. package/dist/controllers/change-email.controller.d.ts +3 -2
  71. package/dist/controllers/change-email.controller.js +24 -20
  72. package/dist/controllers/change-email.controller.js.map +1 -1
  73. package/dist/controllers/e2e-coverage-windows.d.ts +8 -0
  74. package/dist/controllers/e2e-coverage-windows.js +32 -0
  75. package/dist/controllers/e2e-coverage-windows.js.map +1 -0
  76. package/dist/controllers/e2e.controller.d.ts +10 -13
  77. package/dist/controllers/e2e.controller.js +15 -47
  78. package/dist/controllers/e2e.controller.js.map +1 -1
  79. package/dist/controllers/folder.controller.js +2 -3
  80. package/dist/controllers/folder.controller.js.map +1 -1
  81. package/dist/controllers/invitation.controller.d.ts +3 -2
  82. package/dist/controllers/invitation.controller.js +16 -12
  83. package/dist/controllers/invitation.controller.js.map +1 -1
  84. package/dist/controllers/me.controller.d.ts +3 -2
  85. package/dist/controllers/me.controller.js +34 -22
  86. package/dist/controllers/me.controller.js.map +1 -1
  87. package/dist/controllers/mfa.controller.d.ts +3 -3
  88. package/dist/controllers/mfa.controller.js +9 -10
  89. package/dist/controllers/mfa.controller.js.map +1 -1
  90. package/dist/controllers/oauth/oauth2-credential.controller.d.ts +2 -1
  91. package/dist/controllers/oauth/oauth2-credential.controller.js +23 -0
  92. package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
  93. package/dist/controllers/oauth/oauth2-dynamic-client-registration.schema.d.ts +3 -1
  94. package/dist/controllers/oauth/oauth2-dynamic-client-registration.schema.js +2 -1
  95. package/dist/controllers/oauth/oauth2-dynamic-client-registration.schema.js.map +1 -1
  96. package/dist/controllers/password-reset.controller.d.ts +3 -3
  97. package/dist/controllers/password-reset.controller.js +32 -31
  98. package/dist/controllers/password-reset.controller.js.map +1 -1
  99. package/dist/controllers/users.controller.d.ts +9 -2
  100. package/dist/controllers/users.controller.js +27 -16
  101. package/dist/controllers/users.controller.js.map +1 -1
  102. package/dist/credentials/credential-descriptions.service.d.ts +3 -0
  103. package/dist/credentials/credential-descriptions.service.js +3 -0
  104. package/dist/credentials/credential-descriptions.service.js.map +1 -1
  105. package/dist/credentials/credentials.controller.js +2 -0
  106. package/dist/credentials/credentials.controller.js.map +1 -1
  107. package/dist/credentials/credentials.service.d.ts +8 -5
  108. package/dist/credentials/credentials.service.js +72 -8
  109. package/dist/credentials/credentials.service.js.map +1 -1
  110. package/dist/credentials/dynamic-credentials-proxy.js +2 -1
  111. package/dist/credentials/dynamic-credentials-proxy.js.map +1 -1
  112. package/dist/credentials/instance-credential-use.registry.d.ts +1 -1
  113. package/dist/credentials/instance-credential-use.registry.js +6 -6
  114. package/dist/credentials/instance-credential-use.registry.js.map +1 -1
  115. package/dist/credentials/mock-node-types.js +2 -1
  116. package/dist/credentials/mock-node-types.js.map +1 -1
  117. package/dist/credentials/skill-source-credentials.d.ts +24 -0
  118. package/dist/credentials/skill-source-credentials.js +109 -0
  119. package/dist/credentials/skill-source-credentials.js.map +1 -0
  120. package/dist/credentials-helper.js +7 -6
  121. package/dist/credentials-helper.js.map +1 -1
  122. package/dist/credentials-overwrites.d.ts +1 -0
  123. package/dist/credentials-overwrites.js +14 -0
  124. package/dist/credentials-overwrites.js.map +1 -1
  125. package/dist/error-reporting/error-reporting-boot.d.ts +1 -0
  126. package/dist/error-reporting/error-reporting-boot.js +45 -0
  127. package/dist/error-reporting/error-reporting-boot.js.map +1 -0
  128. package/dist/errors/managed-app-unavailable.error.d.ts +1 -1
  129. package/dist/errors/managed-app-unavailable.error.js +2 -2
  130. package/dist/errors/managed-app-unavailable.error.js.map +1 -1
  131. package/dist/evaluation.ee/evaluation-collection.service.js +1 -2
  132. package/dist/evaluation.ee/evaluation-collection.service.js.map +1 -1
  133. package/dist/evaluation.ee/evaluation-config-validator.d.ts +1 -1
  134. package/dist/evaluation.ee/evaluation-config-validator.js +2 -2
  135. package/dist/evaluation.ee/evaluation-config-validator.js.map +1 -1
  136. package/dist/evaluation.ee/evaluation-dataset.service.d.ts +1 -1
  137. package/dist/evaluation.ee/evaluation-dataset.service.js +2 -2
  138. package/dist/evaluation.ee/evaluation-dataset.service.js.map +1 -1
  139. package/dist/evaluation.ee/test-runner/errors.ee.d.ts +1 -1
  140. package/dist/evaluation.ee/test-runner/errors.ee.js +3 -3
  141. package/dist/evaluation.ee/test-runner/errors.ee.js.map +1 -1
  142. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +7 -6
  143. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
  144. package/dist/evaluation.ee/test-runs.controller.ee.js +1 -2
  145. package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
  146. package/dist/eventbus/message-event-bus-writer/resolve-event-log-path.js +3 -3
  147. package/dist/eventbus/message-event-bus-writer/resolve-event-log-path.js.map +1 -1
  148. package/dist/events/maps/relay.event-map.d.ts +131 -9
  149. package/dist/events/relays/log-streaming.event-relay.js +8 -8
  150. package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
  151. package/dist/events/relays/telemetry.event-relay.d.ts +16 -0
  152. package/dist/events/relays/telemetry.event-relay.js +196 -9
  153. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  154. package/dist/events/relays/workflow-failure-notification.event-relay.d.ts +3 -3
  155. package/dist/events/relays/workflow-failure-notification.event-relay.js +8 -8
  156. package/dist/events/relays/workflow-failure-notification.event-relay.js.map +1 -1
  157. package/dist/execution-lifecycle/execution-lifecycle-hooks.js +40 -11
  158. package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
  159. package/dist/execution-lifecycle/unsaved-manual-execution.service.d.ts +16 -0
  160. package/dist/execution-lifecycle/unsaved-manual-execution.service.js +78 -0
  161. package/dist/execution-lifecycle/unsaved-manual-execution.service.js.map +1 -0
  162. package/dist/executions/engine-v2-execution-reader.service.d.ts +4 -1
  163. package/dist/executions/engine-v2-execution-reader.service.js +4 -3
  164. package/dist/executions/engine-v2-execution-reader.service.js.map +1 -1
  165. package/dist/executions/enqueued-execution-recovery.service.d.ts +7 -1
  166. package/dist/executions/enqueued-execution-recovery.service.js +64 -31
  167. package/dist/executions/enqueued-execution-recovery.service.js.map +1 -1
  168. package/dist/executions/execution-crash.service.d.ts +2 -1
  169. package/dist/executions/execution-crash.service.js +9 -0
  170. package/dist/executions/execution-crash.service.js.map +1 -1
  171. package/dist/executions/execution-data/corrupted-execution-data.error.d.ts +1 -1
  172. package/dist/executions/execution-data/corrupted-execution-data.error.js +2 -2
  173. package/dist/executions/execution-data/corrupted-execution-data.error.js.map +1 -1
  174. package/dist/executions/execution-data/execution-data-write.error.d.ts +1 -1
  175. package/dist/executions/execution-data/execution-data-write.error.js +2 -2
  176. package/dist/executions/execution-data/execution-data-write.error.js.map +1 -1
  177. package/dist/executions/execution-data/missing-execution-data.error.d.ts +1 -1
  178. package/dist/executions/execution-data/missing-execution-data.error.js +2 -2
  179. package/dist/executions/execution-data/missing-execution-data.error.js.map +1 -1
  180. package/dist/executions/execution-data/unreadable-run-data.error.d.ts +1 -1
  181. package/dist/executions/execution-data/unreadable-run-data.error.js +2 -2
  182. package/dist/executions/execution-data/unreadable-run-data.error.js.map +1 -1
  183. package/dist/executions/execution-list-v2.service.js +2 -2
  184. package/dist/executions/execution-list-v2.service.js.map +1 -1
  185. package/dist/executions/execution-persistence.d.ts +2 -4
  186. package/dist/executions/execution-persistence.js +20 -29
  187. package/dist/executions/execution-persistence.js.map +1 -1
  188. package/dist/executions/execution-recovery.service.js +1 -0
  189. package/dist/executions/execution-recovery.service.js.map +1 -1
  190. package/dist/executions/execution-viewer-reader.d.ts +2 -1
  191. package/dist/executions/execution-viewer-reader.js +22 -2
  192. package/dist/executions/execution-viewer-reader.js.map +1 -1
  193. package/dist/executions/execution.service.d.ts +1 -4
  194. package/dist/executions/execution.service.js +11 -11
  195. package/dist/executions/execution.service.js.map +1 -1
  196. package/dist/executions/parse-range-query.middleware.js +1 -1
  197. package/dist/executions/parse-range-query.middleware.js.map +1 -1
  198. package/dist/executions/pre-execution-checks/credential-refusal.js +2 -2
  199. package/dist/executions/pre-execution-checks/credential-refusal.js.map +1 -1
  200. package/dist/executions/pre-execution-checks/credentials-permission-checker.js +5 -4
  201. package/dist/executions/pre-execution-checks/credentials-permission-checker.js.map +1 -1
  202. package/dist/executions/pre-execution-checks/subworkflow-policy-checker.js +2 -1
  203. package/dist/executions/pre-execution-checks/subworkflow-policy-checker.js.map +1 -1
  204. package/dist/executions/resume-attempt.service.d.ts +20 -0
  205. package/dist/executions/resume-attempt.service.js +74 -0
  206. package/dist/executions/resume-attempt.service.js.map +1 -0
  207. package/dist/expression-observability/expression-observability.constants.d.ts +0 -1
  208. package/dist/expression-observability/expression-observability.constants.js +1 -2
  209. package/dist/expression-observability/expression-observability.constants.js.map +1 -1
  210. package/dist/expression-observability/expression-observability.provider.d.ts +1 -3
  211. package/dist/expression-observability/expression-observability.provider.js +7 -8
  212. package/dist/expression-observability/expression-observability.provider.js.map +1 -1
  213. package/dist/external-hooks.d.ts +4 -2
  214. package/dist/external-hooks.js +6 -6
  215. package/dist/external-hooks.js.map +1 -1
  216. package/dist/instance-settings-loader/instance-bootstrapping.error.d.ts +1 -1
  217. package/dist/instance-settings-loader/instance-bootstrapping.error.js +2 -2
  218. package/dist/instance-settings-loader/instance-bootstrapping.error.js.map +1 -1
  219. package/dist/interfaces.d.ts +6 -1
  220. package/dist/license.d.ts +4 -0
  221. package/dist/license.js +48 -1
  222. package/dist/license.js.map +1 -1
  223. package/dist/load-nodes-and-credentials.js +6 -8
  224. package/dist/load-nodes-and-credentials.js.map +1 -1
  225. package/dist/manual-execution.service.js +2 -1
  226. package/dist/manual-execution.service.js.map +1 -1
  227. package/dist/memory-guard/memory-guard.service.d.ts +1 -0
  228. package/dist/memory-guard/memory-guard.service.js +11 -4
  229. package/dist/memory-guard/memory-guard.service.js.map +1 -1
  230. package/dist/memory-guard/memory-usage.d.ts +2 -1
  231. package/dist/memory-guard/memory-usage.js +40 -5
  232. package/dist/memory-guard/memory-usage.js.map +1 -1
  233. package/dist/memory-guard/production-hold.d.ts +4 -0
  234. package/dist/memory-guard/production-hold.js +19 -3
  235. package/dist/memory-guard/production-hold.js.map +1 -1
  236. package/dist/metrics/prometheus/database-metric-query.service.d.ts +1 -0
  237. package/dist/metrics/prometheus/database-metric-query.service.js +5 -2
  238. package/dist/metrics/prometheus/database-metric-query.service.js.map +1 -1
  239. package/dist/metrics/prometheus/memory-guard-metrics.service.js +12 -0
  240. package/dist/metrics/prometheus/memory-guard-metrics.service.js.map +1 -1
  241. package/dist/metrics/prometheus/system-task-metrics.service.js +8 -4
  242. package/dist/metrics/prometheus/system-task-metrics.service.js.map +1 -1
  243. package/dist/mfa/helpers.js +1 -1
  244. package/dist/mfa/helpers.js.map +1 -1
  245. package/dist/mfa/mfa.service.d.ts +5 -4
  246. package/dist/mfa/mfa.service.js +26 -26
  247. package/dist/mfa/mfa.service.js.map +1 -1
  248. package/dist/middlewares/cors.js +1 -1
  249. package/dist/middlewares/cors.js.map +1 -1
  250. package/dist/middlewares/list-query/dtos/base.filter.dto.js +3 -2
  251. package/dist/middlewares/list-query/dtos/base.filter.dto.js.map +1 -1
  252. package/dist/middlewares/list-query/dtos/base.select.dto.js +2 -1
  253. package/dist/middlewares/list-query/dtos/base.select.dto.js.map +1 -1
  254. package/dist/middlewares/list-query/dtos/pagination.dto.js +3 -3
  255. package/dist/middlewares/list-query/dtos/pagination.dto.js.map +1 -1
  256. package/dist/middlewares/list-query/pagination.js +2 -2
  257. package/dist/middlewares/list-query/pagination.js.map +1 -1
  258. package/dist/middlewares/list-query/sort-by.js +2 -2
  259. package/dist/middlewares/list-query/sort-by.js.map +1 -1
  260. package/dist/modules/agent-evals/agent-eval-case-generation.service.d.ts +1 -1
  261. package/dist/modules/agent-evals/agent-eval-case-generation.service.js +6 -8
  262. package/dist/modules/agent-evals/agent-eval-case-generation.service.js.map +1 -1
  263. package/dist/modules/agent-evals/agent-eval-judge.d.ts +1 -0
  264. package/dist/modules/agent-evals/agent-eval-judge.js +8 -0
  265. package/dist/modules/agent-evals/agent-eval-judge.js.map +1 -1
  266. package/dist/modules/agent-evals/agent-eval-record-mappers.js +2 -2
  267. package/dist/modules/agent-evals/agent-eval-record-mappers.js.map +1 -1
  268. package/dist/modules/agent-evals/agent-eval-runner.service.d.ts +1 -1
  269. package/dist/modules/agent-evals/agent-eval-runner.service.js +2 -2
  270. package/dist/modules/agent-evals/agent-eval-runner.service.js.map +1 -1
  271. package/dist/modules/agent-evals/agent-eval.service.js +1 -2
  272. package/dist/modules/agent-evals/agent-eval.service.js.map +1 -1
  273. package/dist/modules/agents/adapters/agents-credential-provider.js +2 -2
  274. package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
  275. package/dist/modules/agents/agent-chat-attachment.service.d.ts +27 -1
  276. package/dist/modules/agents/agent-chat-attachment.service.js +160 -37
  277. package/dist/modules/agents/agent-chat-attachment.service.js.map +1 -1
  278. package/dist/modules/agents/agent-chat-execution.service.d.ts +6 -0
  279. package/dist/modules/agents/agent-chat-execution.service.js +54 -1
  280. package/dist/modules/agents/agent-chat-execution.service.js.map +1 -1
  281. package/dist/modules/agents/agent-chat-relay.service.d.ts +3 -2
  282. package/dist/modules/agents/agent-chat-relay.service.js +27 -2
  283. package/dist/modules/agents/agent-chat-relay.service.js.map +1 -1
  284. package/dist/modules/agents/agent-chat.controller.d.ts +146 -4
  285. package/dist/modules/agents/agent-chat.controller.js +143 -9
  286. package/dist/modules/agents/agent-chat.controller.js.map +1 -1
  287. package/dist/modules/agents/agent-config-preparation.service.d.ts +8 -0
  288. package/dist/modules/agents/agent-config-preparation.service.js +9 -11
  289. package/dist/modules/agents/agent-config-preparation.service.js.map +1 -1
  290. package/dist/modules/agents/agent-config.service.d.ts +5 -2
  291. package/dist/modules/agents/agent-config.service.js +33 -11
  292. package/dist/modules/agents/agent-config.service.js.map +1 -1
  293. package/dist/modules/agents/agent-context-readers.js +2 -2
  294. package/dist/modules/agents/agent-context-readers.js.map +1 -1
  295. package/dist/modules/agents/agent-context.contracts.d.ts +7 -0
  296. package/dist/modules/agents/agent-context.service.d.ts +7 -1
  297. package/dist/modules/agents/agent-context.service.js +26 -21
  298. package/dist/modules/agents/agent-context.service.js.map +1 -1
  299. package/dist/modules/agents/agent-conversation-state.service.d.ts +8 -0
  300. package/dist/modules/agents/agent-conversation-state.service.js +16 -0
  301. package/dist/modules/agents/agent-conversation-state.service.js.map +1 -1
  302. package/dist/modules/agents/agent-custom-tools.service.d.ts +5 -1
  303. package/dist/modules/agents/agent-custom-tools.service.js +14 -6
  304. package/dist/modules/agents/agent-custom-tools.service.js.map +1 -1
  305. package/dist/modules/agents/agent-definition.service.d.ts +6 -2
  306. package/dist/modules/agents/agent-definition.service.js +38 -4
  307. package/dist/modules/agents/agent-definition.service.js.map +1 -1
  308. package/dist/modules/agents/agent-dependency-index.listener.js +3 -1
  309. package/dist/modules/agents/agent-dependency-index.listener.js.map +1 -1
  310. package/dist/modules/agents/agent-dependency-index.service.js +3 -5
  311. package/dist/modules/agents/agent-dependency-index.service.js.map +1 -1
  312. package/dist/modules/agents/agent-draft.contracts.d.ts +2 -1
  313. package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +6 -0
  314. package/dist/modules/agents/agent-execution-orchestrator.service.js +31 -24
  315. package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
  316. package/dist/modules/agents/agent-execution-recording.error.d.ts +1 -1
  317. package/dist/modules/agents/agent-execution-recording.error.js +2 -2
  318. package/dist/modules/agents/agent-execution-recording.error.js.map +1 -1
  319. package/dist/modules/agents/agent-execution.service.d.ts +8 -1
  320. package/dist/modules/agents/agent-execution.service.js +55 -14
  321. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  322. package/dist/modules/agents/agent-file-bridge.service.d.ts +38 -0
  323. package/dist/modules/agents/agent-file-bridge.service.js +183 -0
  324. package/dist/modules/agents/agent-file-bridge.service.js.map +1 -0
  325. package/dist/modules/agents/agent-integration-management.service.d.ts +1 -1
  326. package/dist/modules/agents/agent-integration-management.service.js +15 -1
  327. package/dist/modules/agents/agent-integration-management.service.js.map +1 -1
  328. package/dist/modules/agents/agent-integration-persistence.service.d.ts +5 -1
  329. package/dist/modules/agents/agent-integration-persistence.service.js +24 -14
  330. package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
  331. package/dist/modules/agents/agent-integrations.controller.js +1 -1
  332. package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
  333. package/dist/modules/agents/agent-knowledge-mirror.service.d.ts +3 -1
  334. package/dist/modules/agents/agent-knowledge-mirror.service.js +24 -10
  335. package/dist/modules/agents/agent-knowledge-mirror.service.js.map +1 -1
  336. package/dist/modules/agents/agent-knowledge-retrieval.d.ts +1 -5
  337. package/dist/modules/agents/agent-knowledge-retrieval.js.map +1 -1
  338. package/dist/modules/agents/agent-knowledge-snapshot.service.js +1 -1
  339. package/dist/modules/agents/agent-knowledge-snapshot.service.js.map +1 -1
  340. package/dist/modules/agents/agent-knowledge-usage-tracker.d.ts +9 -0
  341. package/dist/modules/agents/agent-knowledge-usage-tracker.js +111 -8
  342. package/dist/modules/agents/agent-knowledge-usage-tracker.js.map +1 -1
  343. package/dist/modules/agents/agent-knowledge.service.d.ts +3 -1
  344. package/dist/modules/agents/agent-knowledge.service.js +26 -20
  345. package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
  346. package/dist/modules/agents/agent-memory-entries.service.d.ts +4 -3
  347. package/dist/modules/agents/agent-memory-entries.service.js +15 -9
  348. package/dist/modules/agents/agent-memory-entries.service.js.map +1 -1
  349. package/dist/modules/agents/agent-memory-trace.service.d.ts +25 -0
  350. package/dist/modules/agents/agent-memory-trace.service.js +149 -0
  351. package/dist/modules/agents/agent-memory-trace.service.js.map +1 -0
  352. package/dist/modules/agents/agent-memory.controller.d.ts +5 -0
  353. package/dist/modules/agents/agent-memory.controller.js +14 -0
  354. package/dist/modules/agents/agent-memory.controller.js.map +1 -1
  355. package/dist/modules/agents/agent-message-queue-consumer.service.d.ts +2 -2
  356. package/dist/modules/agents/agent-message-queue-consumer.service.js +18 -11
  357. package/dist/modules/agents/agent-message-queue-consumer.service.js.map +1 -1
  358. package/dist/modules/agents/agent-message-queue.service.d.ts +11 -0
  359. package/dist/modules/agents/agent-message-queue.service.js +107 -8
  360. package/dist/modules/agents/agent-message-queue.service.js.map +1 -1
  361. package/dist/modules/agents/agent-message-steering.service.js +5 -5
  362. package/dist/modules/agents/agent-message-steering.service.js.map +1 -1
  363. package/dist/modules/agents/agent-model-catalog.service.d.ts +3 -1
  364. package/dist/modules/agents/agent-model-catalog.service.js +6 -3
  365. package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
  366. package/dist/modules/agents/agent-n8n-chat-unavailable.error.d.ts +1 -1
  367. package/dist/modules/agents/agent-n8n-chat-unavailable.error.js +2 -2
  368. package/dist/modules/agents/agent-n8n-chat-unavailable.error.js.map +1 -1
  369. package/dist/modules/agents/agent-plan.service.d.ts +37 -184
  370. package/dist/modules/agents/agent-plan.service.js +50 -19
  371. package/dist/modules/agents/agent-plan.service.js.map +1 -1
  372. package/dist/modules/agents/agent-project-cleanup.service.d.ts +24 -0
  373. package/dist/modules/agents/agent-project-cleanup.service.js +75 -0
  374. package/dist/modules/agents/agent-project-cleanup.service.js.map +1 -0
  375. package/dist/modules/agents/agent-publish.controller.d.ts +18 -1
  376. package/dist/modules/agents/agent-publish.controller.js +39 -1
  377. package/dist/modules/agents/agent-publish.controller.js.map +1 -1
  378. package/dist/modules/agents/agent-publish.service.d.ts +13 -15
  379. package/dist/modules/agents/agent-publish.service.js +167 -167
  380. package/dist/modules/agents/agent-publish.service.js.map +1 -1
  381. package/dist/modules/agents/{agent-queued-preview-stream.service.d.ts → agent-queued-test-stream.service.d.ts} +2 -1
  382. package/dist/modules/agents/{agent-queued-preview-stream.service.js → agent-queued-test-stream.service.js} +19 -15
  383. package/dist/modules/agents/agent-queued-test-stream.service.js.map +1 -0
  384. package/dist/modules/agents/agent-run-tracing.service.d.ts +1 -3
  385. package/dist/modules/agents/agent-run-tracing.service.js +5 -6
  386. package/dist/modules/agents/agent-run-tracing.service.js.map +1 -1
  387. package/dist/modules/agents/agent-runnable-state.service.d.ts +3 -1
  388. package/dist/modules/agents/agent-runnable-state.service.js +11 -2
  389. package/dist/modules/agents/agent-runnable-state.service.js.map +1 -1
  390. package/dist/modules/agents/agent-runtime-cache.service.js +2 -2
  391. package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
  392. package/dist/modules/agents/agent-runtime-reconstruction.service.js +49 -19
  393. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  394. package/dist/modules/agents/agent-sandbox-runtime.service.js +7 -7
  395. package/dist/modules/agents/agent-sandbox-runtime.service.js.map +1 -1
  396. package/dist/modules/agents/agent-session-langsmith-export.service.js +1 -2
  397. package/dist/modules/agents/agent-session-langsmith-export.service.js.map +1 -1
  398. package/dist/modules/agents/agent-session-read.d.ts +1 -0
  399. package/dist/modules/agents/agent-session-read.js +4 -0
  400. package/dist/modules/agents/agent-session-read.js.map +1 -1
  401. package/dist/modules/agents/agent-session-stop-reason.d.ts +1 -0
  402. package/dist/modules/agents/agent-session-stop-reason.js +5 -0
  403. package/dist/modules/agents/agent-session-stop-reason.js.map +1 -0
  404. package/dist/modules/agents/agent-session-stop.service.d.ts +26 -0
  405. package/dist/modules/agents/agent-session-stop.service.js +105 -0
  406. package/dist/modules/agents/agent-session-stop.service.js.map +1 -0
  407. package/dist/modules/agents/agent-skill-refs.service.d.ts +21 -9
  408. package/dist/modules/agents/agent-skill-refs.service.js +181 -91
  409. package/dist/modules/agents/agent-skill-refs.service.js.map +1 -1
  410. package/dist/modules/agents/agent-skill-usage.d.ts +26 -0
  411. package/dist/modules/agents/agent-skill-usage.js +110 -0
  412. package/dist/modules/agents/agent-skill-usage.js.map +1 -0
  413. package/dist/modules/agents/agent-skills.service.d.ts +5 -6
  414. package/dist/modules/agents/agent-skills.service.js +30 -44
  415. package/dist/modules/agents/agent-skills.service.js.map +1 -1
  416. package/dist/modules/agents/agent-task-cancellation.service.d.ts +36 -0
  417. package/dist/modules/agents/agent-task-cancellation.service.js +218 -0
  418. package/dist/modules/agents/agent-task-cancellation.service.js.map +1 -0
  419. package/dist/modules/agents/agent-task.service.d.ts +3 -1
  420. package/dist/modules/agents/agent-task.service.js +8 -3
  421. package/dist/modules/agents/agent-task.service.js.map +1 -1
  422. package/dist/modules/agents/agent-test-run.service.d.ts +1 -1
  423. package/dist/modules/agents/agent-test-run.service.js +3 -4
  424. package/dist/modules/agents/agent-test-run.service.js.map +1 -1
  425. package/dist/modules/agents/agent-threads.controller.d.ts +11 -1
  426. package/dist/modules/agents/agent-threads.controller.js +28 -5
  427. package/dist/modules/agents/agent-threads.controller.js.map +1 -1
  428. package/dist/modules/agents/agent-tool-approval.service.js +2 -2
  429. package/dist/modules/agents/agent-tool-approval.service.js.map +1 -1
  430. package/dist/modules/agents/agent-turn-already-running.error.d.ts +1 -1
  431. package/dist/modules/agents/agent-turn-already-running.error.js +2 -2
  432. package/dist/modules/agents/agent-turn-already-running.error.js.map +1 -1
  433. package/dist/modules/agents/agent-turn-execution.service.d.ts +2 -1
  434. package/dist/modules/agents/agent-turn-execution.service.js +50 -17
  435. package/dist/modules/agents/agent-turn-execution.service.js.map +1 -1
  436. package/dist/modules/agents/agent-validation.service.js +2 -2
  437. package/dist/modules/agents/agent-validation.service.js.map +1 -1
  438. package/dist/modules/agents/agent-whatsapp-integrations.controller.d.ts +4 -1
  439. package/dist/modules/agents/agent-whatsapp-integrations.controller.js +13 -0
  440. package/dist/modules/agents/agent-whatsapp-integrations.controller.js.map +1 -1
  441. package/dist/modules/agents/agent-workflow-execution.service.d.ts +1 -1
  442. package/dist/modules/agents/agent-workflow-execution.service.js +9 -9
  443. package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
  444. package/dist/modules/agents/agent-workflow-tool-resume.service.js +2 -1
  445. package/dist/modules/agents/agent-workflow-tool-resume.service.js.map +1 -1
  446. package/dist/modules/agents/agents-catalog.controller.d.ts +3 -1
  447. package/dist/modules/agents/agents-catalog.controller.js +6 -3
  448. package/dist/modules/agents/agents-catalog.controller.js.map +1 -1
  449. package/dist/modules/agents/agents-config.controller.d.ts +4 -0
  450. package/dist/modules/agents/agents.controller.d.ts +5 -0
  451. package/dist/modules/agents/agents.module.d.ts +1 -1
  452. package/dist/modules/agents/agents.module.js +6 -2
  453. package/dist/modules/agents/agents.module.js.map +1 -1
  454. package/dist/modules/agents/agents.service.d.ts +5 -2
  455. package/dist/modules/agents/agents.service.js +15 -9
  456. package/dist/modules/agents/agents.service.js.map +1 -1
  457. package/dist/modules/agents/azure-foundry-deployments.service.js +2 -2
  458. package/dist/modules/agents/azure-foundry-deployments.service.js.map +1 -1
  459. package/dist/modules/agents/background/agent-background-job.service.d.ts +72 -14
  460. package/dist/modules/agents/background/agent-background-job.service.js +170 -64
  461. package/dist/modules/agents/background/agent-background-job.service.js.map +1 -1
  462. package/dist/modules/agents/background/agent-wake.service.d.ts +6 -1
  463. package/dist/modules/agents/background/agent-wake.service.js +49 -13
  464. package/dist/modules/agents/background/agent-wake.service.js.map +1 -1
  465. package/dist/modules/agents/background/background-job-messages.d.ts +1 -0
  466. package/dist/modules/agents/background/background-job-messages.js +8 -2
  467. package/dist/modules/agents/background/background-job-messages.js.map +1 -1
  468. package/dist/modules/agents/background/background-job-tools.d.ts +4 -3
  469. package/dist/modules/agents/background/background-job-tools.js +168 -106
  470. package/dist/modules/agents/background/background-job-tools.js.map +1 -1
  471. package/dist/modules/agents/background/sub-agent-background-runner.d.ts +9 -2
  472. package/dist/modules/agents/background/sub-agent-background-runner.js +41 -16
  473. package/dist/modules/agents/background/sub-agent-background-runner.js.map +1 -1
  474. package/dist/modules/agents/budget-guardrail.js +3 -3
  475. package/dist/modules/agents/budget-guardrail.js.map +1 -1
  476. package/dist/modules/agents/builder/agent-builder-session-context.d.ts +1 -1
  477. package/dist/modules/agents/builder/agent-builder-session-context.js +3 -8
  478. package/dist/modules/agents/builder/agent-builder-session-context.js.map +1 -1
  479. package/dist/modules/agents/builder/agent-builder-test-path.d.ts +1 -0
  480. package/dist/modules/agents/builder/{agent-builder-preview-path.js → agent-builder-test-path.js} +3 -3
  481. package/dist/modules/agents/builder/agent-builder-test-path.js.map +1 -0
  482. package/dist/modules/agents/builder/agents-builder-tools.service.js +137 -163
  483. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  484. package/dist/modules/agents/builder/agents-builder.service.js +3 -4
  485. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  486. package/dist/modules/agents/builder/builder-model-live-lookup.service.js +2 -2
  487. package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
  488. package/dist/modules/agents/builder/builder-tool-names.d.ts +0 -4
  489. package/dist/modules/agents/builder/builder-tool-names.js +0 -3
  490. package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
  491. package/dist/modules/agents/builder/interactive/configure-channel.tool.js +17 -8
  492. package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
  493. package/dist/modules/agents/builder/interactive/finish-setup.tool.js +59 -23
  494. package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
  495. package/dist/modules/agents/builder/interactive/index.d.ts +0 -1
  496. package/dist/modules/agents/builder/interactive/index.js +1 -3
  497. package/dist/modules/agents/builder/interactive/index.js.map +1 -1
  498. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +56 -41
  499. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
  500. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +1 -1
  501. package/dist/modules/agents/builder/prompts/config-rules.prompt.js +15 -9
  502. package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
  503. package/dist/modules/agents/builder/skill-body-template.d.ts +0 -1
  504. package/dist/modules/agents/builder/skill-body-template.js +1 -2
  505. package/dist/modules/agents/builder/skill-body-template.js.map +1 -1
  506. package/dist/modules/agents/builder/skills/custom-tools.skill.js +1 -1
  507. package/dist/modules/agents/builder/skills/custom-tools.skill.js.map +1 -1
  508. package/dist/modules/agents/builder/skills/external-services.skill.js +6 -6
  509. package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
  510. package/dist/modules/agents/builder/skills/index.js.map +1 -1
  511. package/dist/modules/agents/builder/skills/memory.skill.js +3 -3
  512. package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
  513. package/dist/modules/agents/builder/skills/node-tools.skill.js +2 -2
  514. package/dist/modules/agents/builder/skills/node-tools.skill.js.map +1 -1
  515. package/dist/modules/agents/builder/skills/resource-locators.skill.js +3 -3
  516. package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
  517. package/dist/modules/agents/builder/skills/sub-agents.skill.js +4 -8
  518. package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -1
  519. package/dist/modules/agents/builder/skills/target-skills.skill.js +9 -4
  520. package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
  521. package/dist/modules/agents/builder/skills/target-tasks.skill.js +6 -4
  522. package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
  523. package/dist/modules/agents/builder/task-objective-template.d.ts +2 -1
  524. package/dist/modules/agents/builder/task-objective-template.js +47 -2
  525. package/dist/modules/agents/builder/task-objective-template.js.map +1 -1
  526. package/dist/modules/agents/builder/verify-mcp-server.tool.js +22 -21
  527. package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
  528. package/dist/modules/agents/entities/agent-background-job.entity.d.ts +3 -1
  529. package/dist/modules/agents/entities/agent-background-job.entity.js +8 -0
  530. package/dist/modules/agents/entities/agent-background-job.entity.js.map +1 -1
  531. package/dist/modules/agents/entities/agent-chat-attachment.entity.d.ts +1 -0
  532. package/dist/modules/agents/entities/agent-chat-attachment.entity.js +4 -0
  533. package/dist/modules/agents/entities/agent-chat-attachment.entity.js.map +1 -1
  534. package/dist/modules/agents/entities/agent-execution.entity.d.ts +1 -0
  535. package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
  536. package/dist/modules/agents/entities/agent-file-grant.entity.d.ts +8 -0
  537. package/dist/modules/{data-table/data-table-column.entity.js → agents/entities/agent-file-grant.entity.js} +16 -24
  538. package/dist/modules/agents/entities/agent-file-grant.entity.js.map +1 -0
  539. package/dist/modules/agents/entities/agent-history.entity.d.ts +2 -0
  540. package/dist/modules/agents/entities/agent-history.entity.js +8 -0
  541. package/dist/modules/agents/entities/agent-history.entity.js.map +1 -1
  542. package/dist/modules/agents/entities/agent-memory-entry.entity.d.ts +3 -1
  543. package/dist/modules/agents/entities/agent-memory-entry.entity.js +15 -2
  544. package/dist/modules/agents/entities/agent-memory-entry.entity.js.map +1 -1
  545. package/dist/modules/agents/entities/agent-message.entity.d.ts +1 -0
  546. package/dist/modules/agents/entities/agent-message.entity.js.map +1 -1
  547. package/dist/modules/agents/entities/agent-publish-history.entity.d.ts +17 -0
  548. package/dist/modules/agents/entities/agent-publish-history.entity.js +67 -0
  549. package/dist/modules/agents/entities/agent-publish-history.entity.js.map +1 -0
  550. package/dist/modules/agents/entities/agent.entity.d.ts +1 -0
  551. package/dist/modules/agents/entities/agent.entity.js +4 -0
  552. package/dist/modules/agents/entities/agent.entity.js.map +1 -1
  553. package/dist/modules/agents/evaluation/agent-evaluation.service.js +2 -2
  554. package/dist/modules/agents/evaluation/agent-evaluation.service.js.map +1 -1
  555. package/dist/modules/agents/execution-log/agent-execution-log-write.error.d.ts +1 -1
  556. package/dist/modules/agents/execution-log/agent-execution-log-write.error.js +2 -2
  557. package/dist/modules/agents/execution-log/agent-execution-log-write.error.js.map +1 -1
  558. package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.d.ts +1 -1
  559. package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js +2 -2
  560. package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js.map +1 -1
  561. package/dist/modules/agents/execution-recorder.d.ts +1 -0
  562. package/dist/modules/agents/execution-recorder.js +19 -3
  563. package/dist/modules/agents/execution-recorder.js.map +1 -1
  564. package/dist/modules/{instance-ai → agents}/format-agent-session-context.d.ts +1 -1
  565. package/dist/modules/agents/format-agent-session-context.js.map +1 -0
  566. package/dist/modules/agents/integrations/agent-channel-reconciler.service.js +2 -2
  567. package/dist/modules/agents/integrations/agent-channel-reconciler.service.js.map +1 -1
  568. package/dist/modules/agents/integrations/agent-channel-status-reporter.js +6 -6
  569. package/dist/modules/agents/integrations/agent-channel-status-reporter.js.map +1 -1
  570. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +13 -3
  571. package/dist/modules/agents/integrations/agent-chat-bridge.js +70 -7
  572. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  573. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.d.ts +10 -1
  574. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js +24 -0
  575. package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js.map +1 -1
  576. package/dist/modules/agents/integrations/agent-chat-integration.d.ts +23 -3
  577. package/dist/modules/agents/integrations/agent-chat-integration.js +6 -3
  578. package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
  579. package/dist/modules/agents/integrations/agent-chat-message-context.d.ts +1 -0
  580. package/dist/modules/agents/integrations/agent-chat-message-context.js +15 -0
  581. package/dist/modules/agents/integrations/agent-chat-message-context.js.map +1 -1
  582. package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +18 -1
  583. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +73 -5
  584. package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
  585. package/dist/modules/agents/integrations/agent-chat-subscription-state.adapter.js +4 -4
  586. package/dist/modules/agents/integrations/agent-chat-subscription-state.adapter.js.map +1 -1
  587. package/dist/modules/agents/integrations/agent-chat-subscription-state.service.js +1 -1
  588. package/dist/modules/agents/integrations/agent-chat-subscription-state.service.js.map +1 -1
  589. package/dist/modules/agents/integrations/agent-outbound-files.service.d.ts +45 -0
  590. package/dist/modules/agents/integrations/agent-outbound-files.service.js +161 -0
  591. package/dist/modules/agents/integrations/agent-outbound-files.service.js.map +1 -0
  592. package/dist/modules/agents/integrations/channel-status-report.js +8 -1
  593. package/dist/modules/agents/integrations/channel-status-report.js.map +1 -1
  594. package/dist/modules/agents/integrations/chat-integration.service.js +7 -6
  595. package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
  596. package/dist/modules/agents/integrations/component-mapper.d.ts +1 -0
  597. package/dist/modules/agents/integrations/component-mapper.js +3 -2
  598. package/dist/modules/agents/integrations/component-mapper.js.map +1 -1
  599. package/dist/modules/agents/integrations/credential-fields.js +2 -2
  600. package/dist/modules/agents/integrations/credential-fields.js.map +1 -1
  601. package/dist/modules/agents/integrations/integration-action-executor.d.ts +9 -1
  602. package/dist/modules/agents/integrations/integration-action-executor.js +73 -12
  603. package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
  604. package/dist/modules/agents/integrations/integration-context-query-executor.js +2 -2
  605. package/dist/modules/agents/integrations/integration-context-query-executor.js.map +1 -1
  606. package/dist/modules/agents/integrations/integration-error-codes.d.ts +2 -0
  607. package/dist/modules/agents/integrations/integration-error-codes.js +2 -0
  608. package/dist/modules/agents/integrations/integration-error-codes.js.map +1 -1
  609. package/dist/modules/agents/integrations/integration-helpers.d.ts +5 -0
  610. package/dist/modules/agents/integrations/integration-helpers.js +19 -0
  611. package/dist/modules/agents/integrations/integration-helpers.js.map +1 -1
  612. package/dist/modules/agents/integrations/integration-message-context.js +8 -0
  613. package/dist/modules/agents/integrations/integration-message-context.js.map +1 -1
  614. package/dist/modules/agents/integrations/integration-message-context.service.d.ts +2 -0
  615. package/dist/modules/agents/integrations/integration-message-context.service.js +17 -0
  616. package/dist/modules/agents/integrations/integration-message-context.service.js.map +1 -1
  617. package/dist/modules/agents/integrations/integration-tool-definitions.d.ts +31 -0
  618. package/dist/modules/agents/integrations/integration-tool-definitions.js +27 -4
  619. package/dist/modules/agents/integrations/integration-tool-definitions.js.map +1 -1
  620. package/dist/modules/agents/integrations/integration-tool-descriptions.d.ts +2 -0
  621. package/dist/modules/agents/integrations/integration-tool-descriptions.js +16 -0
  622. package/dist/modules/agents/integrations/integration-tool-descriptions.js.map +1 -1
  623. package/dist/modules/agents/integrations/integration-tool-execution.d.ts +3 -0
  624. package/dist/modules/agents/integrations/integration-tool-execution.js +33 -3
  625. package/dist/modules/agents/integrations/integration-tool-execution.js.map +1 -1
  626. package/dist/modules/agents/integrations/integration-tool-factory.d.ts +1 -0
  627. package/dist/modules/agents/integrations/integration-tool-factory.js +5 -3
  628. package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
  629. package/dist/modules/agents/integrations/integration-tool-types.d.ts +12 -2
  630. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js +6 -5
  631. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js.map +1 -1
  632. package/dist/modules/agents/integrations/n8n-memory.d.ts +11 -3
  633. package/dist/modules/agents/integrations/n8n-memory.js +78 -190
  634. package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
  635. package/dist/modules/agents/integrations/platforms/discord/discord-integration.d.ts +4 -0
  636. package/dist/modules/agents/integrations/platforms/discord/discord-integration.js +1 -0
  637. package/dist/modules/agents/integrations/platforms/discord/discord-integration.js.map +1 -1
  638. package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.d.ts +3 -3
  639. package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.js +11 -11
  640. package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.js.map +1 -1
  641. package/dist/modules/agents/integrations/platforms/slack/slack-integration.d.ts +4 -0
  642. package/dist/modules/agents/integrations/platforms/slack/slack-integration.js +1 -0
  643. package/dist/modules/agents/integrations/platforms/slack/slack-integration.js.map +1 -1
  644. package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js +5 -1
  645. package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js.map +1 -1
  646. package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.js +3 -3
  647. package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.js.map +1 -1
  648. package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js +5 -5
  649. package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js.map +1 -1
  650. package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js +2 -2
  651. package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js.map +1 -1
  652. package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js +3 -3
  653. package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js.map +1 -1
  654. package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js +8 -9
  655. package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js.map +1 -1
  656. package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js +5 -6
  657. package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js.map +1 -1
  658. package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js +8 -9
  659. package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js.map +1 -1
  660. package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js +3 -3
  661. package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js.map +1 -1
  662. package/dist/modules/agents/integrations/platforms/teams/teams-integration.js +4 -4
  663. package/dist/modules/agents/integrations/platforms/teams/teams-integration.js.map +1 -1
  664. package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js +1 -2
  665. package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js.map +1 -1
  666. package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js +3 -3
  667. package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js.map +1 -1
  668. package/dist/modules/agents/integrations/platforms/teams/teams-operations.js +3 -3
  669. package/dist/modules/agents/integrations/platforms/teams/teams-operations.js.map +1 -1
  670. package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js +2 -2
  671. package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js.map +1 -1
  672. package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.d.ts +11 -0
  673. package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.js +18 -2
  674. package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.js.map +1 -1
  675. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.d.ts +6 -1
  676. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js +77 -3
  677. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js.map +1 -1
  678. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-delivery-failures.d.ts +24 -0
  679. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-delivery-failures.js +97 -0
  680. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-delivery-failures.js.map +1 -0
  681. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.d.ts +29 -5
  682. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js +278 -24
  683. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js.map +1 -1
  684. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-meta-status.d.ts +9 -0
  685. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-meta-status.js +43 -0
  686. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-meta-status.js.map +1 -0
  687. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-option-pages.store.d.ts +36 -0
  688. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-option-pages.store.js +87 -0
  689. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-option-pages.store.js.map +1 -0
  690. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-setup-telemetry.service.d.ts +6 -0
  691. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-setup-telemetry.service.js +36 -0
  692. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-setup-telemetry.service.js.map +1 -0
  693. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-templates.d.ts +32 -0
  694. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-templates.js +165 -0
  695. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-templates.js.map +1 -0
  696. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-tool-definitions.d.ts +88 -0
  697. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-tool-definitions.js +53 -0
  698. package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-tool-definitions.js.map +1 -0
  699. package/dist/modules/agents/integrations/resolve-imported-channels.d.ts +14 -0
  700. package/dist/modules/agents/integrations/resolve-imported-channels.js +32 -0
  701. package/dist/modules/agents/integrations/resolve-imported-channels.js.map +1 -0
  702. package/dist/modules/agents/json-config/from-json-config.js +23 -16
  703. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  704. package/dist/modules/agents/json-config/mcp-client-factory.js +8 -7
  705. package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
  706. package/dist/modules/agents/json-config/model-config.js +7 -4
  707. package/dist/modules/agents/json-config/model-config.js.map +1 -1
  708. package/dist/modules/agents/json-config/web-search-credential.js +4 -4
  709. package/dist/modules/agents/json-config/web-search-credential.js.map +1 -1
  710. package/dist/modules/agents/plans/{agent-plan-work-state.d.ts → agent-plan-state.d.ts} +12 -5
  711. package/dist/modules/agents/plans/agent-plan-state.js +87 -0
  712. package/dist/modules/agents/plans/agent-plan-state.js.map +1 -0
  713. package/dist/modules/agents/plans/agent-plan-task-context.d.ts +3 -0
  714. package/dist/modules/agents/plans/agent-plan-task-context.js +12 -0
  715. package/dist/modules/agents/plans/agent-plan-task-context.js.map +1 -0
  716. package/dist/modules/agents/plans/agent-plan-tools.d.ts +10 -11
  717. package/dist/modules/agents/plans/agent-plan-tools.js +56 -37
  718. package/dist/modules/agents/plans/agent-plan-tools.js.map +1 -1
  719. package/dist/modules/agents/plans/agent-plan.schema.d.ts +432 -30
  720. package/dist/modules/agents/plans/agent-plan.schema.js +62 -6
  721. package/dist/modules/agents/plans/agent-plan.schema.js.map +1 -1
  722. package/dist/modules/agents/plans/agent-plan.validation.d.ts +3 -2
  723. package/dist/modules/agents/plans/agent-plan.validation.js +53 -17
  724. package/dist/modules/agents/plans/agent-plan.validation.js.map +1 -1
  725. package/dist/modules/agents/register-agent-usage-provider.js +1 -1
  726. package/dist/modules/agents/register-agent-usage-provider.js.map +1 -1
  727. package/dist/modules/agents/register-skill-usage.d.ts +1 -0
  728. package/dist/modules/agents/register-skill-usage.js +10 -0
  729. package/dist/modules/agents/register-skill-usage.js.map +1 -0
  730. package/dist/modules/agents/register-user-deletion-handler.js +24 -2
  731. package/dist/modules/agents/register-user-deletion-handler.js.map +1 -1
  732. package/dist/modules/agents/repositories/agent-background-job.repository.d.ts +15 -3
  733. package/dist/modules/agents/repositories/agent-background-job.repository.js +88 -19
  734. package/dist/modules/agents/repositories/agent-background-job.repository.js.map +1 -1
  735. package/dist/modules/agents/repositories/agent-budget-spend.repository.d.ts +5 -5
  736. package/dist/modules/agents/repositories/agent-budget-spend.repository.js +15 -10
  737. package/dist/modules/agents/repositories/agent-budget-spend.repository.js.map +1 -1
  738. package/dist/modules/agents/repositories/agent-channel-status.repository.d.ts +13 -11
  739. package/dist/modules/agents/repositories/agent-channel-status.repository.js +34 -20
  740. package/dist/modules/agents/repositories/agent-channel-status.repository.js.map +1 -1
  741. package/dist/modules/agents/repositories/agent-chat-attachment.repository.d.ts +27 -9
  742. package/dist/modules/agents/repositories/agent-chat-attachment.repository.js +61 -16
  743. package/dist/modules/agents/repositories/agent-chat-attachment.repository.js.map +1 -1
  744. package/dist/modules/agents/repositories/agent-chat-subscription.repository.d.ts +10 -9
  745. package/dist/modules/agents/repositories/agent-chat-subscription.repository.js +22 -14
  746. package/dist/modules/agents/repositories/agent-chat-subscription.repository.js.map +1 -1
  747. package/dist/modules/agents/repositories/agent-credential-dependency.repository.d.ts +6 -5
  748. package/dist/modules/agents/repositories/agent-credential-dependency.repository.js +14 -9
  749. package/dist/modules/agents/repositories/agent-credential-dependency.repository.js.map +1 -1
  750. package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +42 -4
  751. package/dist/modules/agents/repositories/agent-execution-thread.repository.js +216 -17
  752. package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
  753. package/dist/modules/agents/repositories/agent-execution.repository.d.ts +5 -1
  754. package/dist/modules/agents/repositories/agent-execution.repository.js +18 -2
  755. package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
  756. package/dist/modules/agents/repositories/agent-file-grant.repository.d.ts +9 -0
  757. package/dist/modules/agents/repositories/agent-file-grant.repository.js +56 -0
  758. package/dist/modules/agents/repositories/agent-file-grant.repository.js.map +1 -0
  759. package/dist/modules/agents/repositories/agent-file.repository.d.ts +13 -8
  760. package/dist/modules/agents/repositories/agent-file.repository.js +33 -14
  761. package/dist/modules/agents/repositories/agent-file.repository.js.map +1 -1
  762. package/dist/modules/agents/repositories/agent-history.repository.d.ts +13 -8
  763. package/dist/modules/agents/repositories/agent-history.repository.js +52 -22
  764. package/dist/modules/agents/repositories/agent-history.repository.js.map +1 -1
  765. package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.d.ts +13 -8
  766. package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js +60 -30
  767. package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js.map +1 -1
  768. package/dist/modules/agents/repositories/agent-memory-entry-source.repository.d.ts +2 -0
  769. package/dist/modules/agents/repositories/agent-memory-entry-source.repository.js +16 -0
  770. package/dist/modules/agents/repositories/agent-memory-entry-source.repository.js.map +1 -1
  771. package/dist/modules/agents/repositories/agent-memory-entry.repository.d.ts +21 -3
  772. package/dist/modules/agents/repositories/agent-memory-entry.repository.js +164 -4
  773. package/dist/modules/agents/repositories/agent-memory-entry.repository.js.map +1 -1
  774. package/dist/modules/agents/repositories/agent-memory-scope.repository.d.ts +9 -0
  775. package/dist/modules/agents/repositories/agent-memory-scope.repository.js +58 -0
  776. package/dist/modules/agents/repositories/agent-memory-scope.repository.js.map +1 -0
  777. package/dist/modules/agents/repositories/agent-message-queue.repository.d.ts +2 -0
  778. package/dist/modules/agents/repositories/agent-message-queue.repository.js +20 -0
  779. package/dist/modules/agents/repositories/agent-message-queue.repository.js.map +1 -1
  780. package/dist/modules/agents/repositories/agent-message.repository.d.ts +1 -1
  781. package/dist/modules/agents/repositories/agent-message.repository.js +6 -6
  782. package/dist/modules/agents/repositories/agent-message.repository.js.map +1 -1
  783. package/dist/modules/agents/repositories/agent-plan.repository.d.ts +77 -2
  784. package/dist/modules/agents/repositories/agent-plan.repository.js +174 -11
  785. package/dist/modules/agents/repositories/agent-plan.repository.js.map +1 -1
  786. package/dist/modules/agents/repositories/agent-project-deletion.repository.d.ts +12 -0
  787. package/dist/modules/agents/repositories/agent-project-deletion.repository.js +68 -0
  788. package/dist/modules/agents/repositories/agent-project-deletion.repository.js.map +1 -0
  789. package/dist/modules/agents/repositories/agent-publish-history.repository.d.ts +11 -0
  790. package/dist/modules/agents/repositories/agent-publish-history.repository.js +82 -0
  791. package/dist/modules/agents/repositories/agent-publish-history.repository.js.map +1 -0
  792. package/dist/modules/agents/repositories/agent-skill.repository.d.ts +22 -8
  793. package/dist/modules/agents/repositories/agent-skill.repository.js +24 -36
  794. package/dist/modules/agents/repositories/agent-skill.repository.js.map +1 -1
  795. package/dist/modules/agents/repositories/agent-thread.repository.d.ts +1 -0
  796. package/dist/modules/agents/repositories/agent-thread.repository.js +5 -0
  797. package/dist/modules/agents/repositories/agent-thread.repository.js.map +1 -1
  798. package/dist/modules/agents/repositories/agent-user-deletion.repository.d.ts +12 -0
  799. package/dist/modules/agents/repositories/agent-user-deletion.repository.js +72 -0
  800. package/dist/modules/agents/repositories/agent-user-deletion.repository.js.map +1 -0
  801. package/dist/modules/agents/repositories/agent.repository.d.ts +6 -8
  802. package/dist/modules/agents/repositories/agent.repository.js +47 -18
  803. package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
  804. package/dist/modules/agents/scheduling/agent-task-task-handler.js +2 -2
  805. package/dist/modules/agents/scheduling/agent-task-task-handler.js.map +1 -1
  806. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +6 -3
  807. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
  808. package/dist/modules/agents/sub-agents/format-sub-agent-tool-output.js +2 -0
  809. package/dist/modules/agents/sub-agents/format-sub-agent-tool-output.js.map +1 -1
  810. package/dist/modules/agents/sub-agents/sub-agent-cleanup.service.d.ts +5 -1
  811. package/dist/modules/agents/sub-agents/sub-agent-cleanup.service.js +14 -3
  812. package/dist/modules/agents/sub-agents/sub-agent-cleanup.service.js.map +1 -1
  813. package/dist/modules/agents/sub-agents/sub-agent-runner.d.ts +8 -2
  814. package/dist/modules/agents/sub-agents/sub-agent-runner.js +55 -11
  815. package/dist/modules/agents/sub-agents/sub-agent-runner.js.map +1 -1
  816. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js +8 -8
  817. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -1
  818. package/dist/modules/agents/system-agents/system-agent-chat.controller.d.ts +12 -9
  819. package/dist/modules/agents/system-agents/system-agent-chat.controller.js +74 -16
  820. package/dist/modules/agents/system-agents/system-agent-chat.controller.js.map +1 -1
  821. package/dist/modules/agents/system-agents/system-agent-execution.service.d.ts +10 -4
  822. package/dist/modules/agents/system-agents/system-agent-execution.service.js +86 -53
  823. package/dist/modules/agents/system-agents/system-agent-execution.service.js.map +1 -1
  824. package/dist/modules/agents/system-agents/system-agent-host-events.js +4 -4
  825. package/dist/modules/agents/system-agents/system-agent-host-events.js.map +1 -1
  826. package/dist/modules/agents/system-agents/system-agent-registry.js +2 -2
  827. package/dist/modules/agents/system-agents/system-agent-registry.js.map +1 -1
  828. package/dist/modules/agents/system-agents/system-agent-thread-metadata.service.d.ts +10 -0
  829. package/dist/modules/agents/system-agents/system-agent-thread-metadata.service.js +44 -0
  830. package/dist/modules/agents/system-agents/system-agent-thread-metadata.service.js.map +1 -0
  831. package/dist/modules/agents/system-agents/system-agent.types.d.ts +3 -2
  832. package/dist/modules/agents/tools/environment-tool.d.ts +1 -0
  833. package/dist/modules/agents/tools/environment-tool.js +3 -1
  834. package/dist/modules/agents/tools/environment-tool.js.map +1 -1
  835. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js +30 -2
  836. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js.map +1 -1
  837. package/dist/modules/agents/tools/node-tool-factory.d.ts +1 -0
  838. package/dist/modules/agents/tools/node-tool-factory.js +50 -13
  839. package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
  840. package/dist/modules/agents/tools/read-binary-data.tool.d.ts +34 -0
  841. package/dist/modules/agents/tools/read-binary-data.tool.js +85 -0
  842. package/dist/modules/agents/tools/read-binary-data.tool.js.map +1 -0
  843. package/dist/modules/agents/tools/workflow-tool-factory.d.ts +9 -17
  844. package/dist/modules/agents/tools/workflow-tool-factory.js +104 -156
  845. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  846. package/dist/modules/agents/types/agent-queued-message.d.ts +2 -0
  847. package/dist/modules/agents/types/agent-queued-message.js +1 -2
  848. package/dist/modules/agents/types/agent-queued-message.js.map +1 -1
  849. package/dist/modules/agents/types/agent-task-stop.d.ts +3 -2
  850. package/dist/modules/agents/utils/agent-channel.d.ts +4 -0
  851. package/dist/modules/agents/utils/agent-channel.js +5 -0
  852. package/dist/modules/agents/utils/agent-channel.js.map +1 -1
  853. package/dist/modules/agents/utils/agent-config-hash.d.ts +1 -1
  854. package/dist/modules/agents/utils/agent-config-hash.js +2 -2
  855. package/dist/modules/agents/utils/agent-config-hash.js.map +1 -1
  856. package/dist/modules/agents/utils/agent-definition.d.ts +8 -3
  857. package/dist/modules/agents/utils/agent-definition.js +0 -1
  858. package/dist/modules/agents/utils/agent-definition.js.map +1 -1
  859. package/dist/modules/agents/utils/agent-draft.utils.js +1 -3
  860. package/dist/modules/agents/utils/agent-draft.utils.js.map +1 -1
  861. package/dist/modules/agents/utils/agent-published-snapshot.js +2 -2
  862. package/dist/modules/agents/utils/agent-published-snapshot.js.map +1 -1
  863. package/dist/modules/agents/utils/execution-input.js +2 -2
  864. package/dist/modules/agents/utils/execution-input.js.map +1 -1
  865. package/dist/modules/agents/utils/execution-to-message-mapper.d.ts +1 -1
  866. package/dist/modules/agents/utils/execution-to-message-mapper.js +10 -3
  867. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  868. package/dist/modules/agents/utils/inbound-attachments.js +2 -2
  869. package/dist/modules/agents/utils/inbound-attachments.js.map +1 -1
  870. package/dist/modules/agents/utils/skill-instruction-edits.js +2 -2
  871. package/dist/modules/agents/utils/skill-instruction-edits.js.map +1 -1
  872. package/dist/modules/apps/bindings/app-agent.adapter.d.ts +20 -0
  873. package/dist/modules/apps/bindings/app-agent.adapter.js +180 -0
  874. package/dist/modules/apps/bindings/app-agent.adapter.js.map +1 -0
  875. package/dist/modules/apps/bindings/app-data-table.adapter.d.ts +18 -0
  876. package/dist/modules/apps/bindings/app-data-table.adapter.js +117 -0
  877. package/dist/modules/apps/bindings/app-data-table.adapter.js.map +1 -0
  878. package/dist/modules/apps/bindings/app-workflow.adapter.d.ts +37 -0
  879. package/dist/modules/apps/bindings/app-workflow.adapter.js +336 -0
  880. package/dist/modules/apps/bindings/app-workflow.adapter.js.map +1 -0
  881. package/dist/modules/apps/bindings/infer-output-schema.d.ts +6 -0
  882. package/dist/modules/apps/bindings/infer-output-schema.js +57 -0
  883. package/dist/modules/apps/bindings/infer-output-schema.js.map +1 -0
  884. package/dist/modules/breaking-changes/breaking-changes.service.js +23 -35
  885. package/dist/modules/breaking-changes/breaking-changes.service.js.map +1 -1
  886. package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.d.ts +7 -3
  887. package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.js +2 -2
  888. package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.js.map +1 -1
  889. package/dist/modules/breaking-changes/query/migration-finding-query.service.js +2 -1
  890. package/dist/modules/breaking-changes/query/migration-finding-query.service.js.map +1 -1
  891. package/dist/modules/breaking-changes/rules/index.d.ts +1 -0
  892. package/dist/modules/breaking-changes/rules/index.js +1 -0
  893. package/dist/modules/breaking-changes/rules/index.js.map +1 -1
  894. package/dist/modules/breaking-changes/rules/v3/always-output-data-multi-output.rule.js +3 -3
  895. package/dist/modules/breaking-changes/rules/v3/always-output-data-multi-output.rule.js.map +1 -1
  896. package/dist/modules/breaking-changes/rules/v3/evaluate-expression-code-node.rule.d.ts +10 -0
  897. package/dist/modules/breaking-changes/rules/v3/evaluate-expression-code-node.rule.js +55 -0
  898. package/dist/modules/breaking-changes/rules/v3/evaluate-expression-code-node.rule.js.map +1 -0
  899. package/dist/modules/breaking-changes/rules/v3/get-paired-item.rule.js +1 -1
  900. package/dist/modules/breaking-changes/rules/v3/get-paired-item.rule.js.map +1 -1
  901. package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.js +4 -4
  902. package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.js.map +1 -1
  903. package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.d.ts +1 -1
  904. package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.js +13 -10
  905. package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.js.map +1 -1
  906. package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.d.ts +2 -2
  907. package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.js +3 -2
  908. package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.js.map +1 -1
  909. package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.d.ts +2 -2
  910. package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.js +3 -2
  911. package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.js.map +1 -1
  912. package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js +8 -3
  913. package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js.map +1 -1
  914. package/dist/modules/breaking-changes/types/rule.types.d.ts +5 -1
  915. package/dist/modules/breaking-changes/types/rule.types.js +5 -1
  916. package/dist/modules/breaking-changes/types/rule.types.js.map +1 -1
  917. package/dist/modules/chat-hub/chat-hub-execution.service.js +3 -3
  918. package/dist/modules/chat-hub/chat-hub-execution.service.js.map +1 -1
  919. package/dist/modules/chat-hub/chat-hub-title.service.js +7 -7
  920. package/dist/modules/chat-hub/chat-hub-title.service.js.map +1 -1
  921. package/dist/modules/chat-hub/chat-hub-workflow.service.js +2 -2
  922. package/dist/modules/chat-hub/chat-hub-workflow.service.js.map +1 -1
  923. package/dist/modules/chat-hub/chat-hub.service.js +3 -3
  924. package/dist/modules/chat-hub/chat-hub.service.js.map +1 -1
  925. package/dist/modules/chat-hub/chat-message.repository.d.ts +1 -1
  926. package/dist/modules/chat-hub/chat-message.repository.js +3 -3
  927. package/dist/modules/chat-hub/chat-message.repository.js.map +1 -1
  928. package/dist/modules/community-packages/community-packages.service.js +22 -21
  929. package/dist/modules/community-packages/community-packages.service.js.map +1 -1
  930. package/dist/modules/community-packages/npm-utils.js +16 -15
  931. package/dist/modules/community-packages/npm-utils.js.map +1 -1
  932. package/dist/modules/dynamic-credentials.ee/errors/credential-resolution.error.d.ts +1 -1
  933. package/dist/modules/dynamic-credentials.ee/errors/credential-resolution.error.js +2 -2
  934. package/dist/modules/dynamic-credentials.ee/errors/credential-resolution.error.js.map +1 -1
  935. package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.d.ts +1 -1
  936. package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.js +2 -2
  937. package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.js.map +1 -1
  938. package/dist/modules/dynamic-credentials.ee/errors/credential-storage.error.d.ts +1 -1
  939. package/dist/modules/dynamic-credentials.ee/errors/credential-storage.error.js +2 -2
  940. package/dist/modules/dynamic-credentials.ee/errors/credential-storage.error.js.map +1 -1
  941. package/dist/modules/dynamic-credentials.ee/errors/system-resolver-modification.error.d.ts +1 -1
  942. package/dist/modules/dynamic-credentials.ee/errors/system-resolver-modification.error.js +2 -2
  943. package/dist/modules/dynamic-credentials.ee/errors/system-resolver-modification.error.js.map +1 -1
  944. package/dist/modules/dynamic-credentials.ee/services/credential-resolver.service.js +2 -1
  945. package/dist/modules/dynamic-credentials.ee/services/credential-resolver.service.js.map +1 -1
  946. package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.js +2 -2
  947. package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.js.map +1 -1
  948. package/dist/modules/engine-v2/engine-additional-data.js +1 -1
  949. package/dist/modules/engine-v2/engine-additional-data.js.map +1 -1
  950. package/dist/modules/engine-v2/engine-control-plane-client.js +2 -2
  951. package/dist/modules/engine-v2/engine-control-plane-client.js.map +1 -1
  952. package/dist/modules/engine-v2/engine-control-plane-server.d.ts +5 -1
  953. package/dist/modules/engine-v2/engine-control-plane-server.js +8 -2
  954. package/dist/modules/engine-v2/engine-control-plane-server.js.map +1 -1
  955. package/dist/modules/engine-v2/engine-credentials-client.js +3 -3
  956. package/dist/modules/engine-v2/engine-credentials-client.js.map +1 -1
  957. package/dist/modules/engine-v2/engine-data-plane-client.d.ts +5 -2
  958. package/dist/modules/engine-v2/engine-data-plane-client.js +31 -3
  959. package/dist/modules/engine-v2/engine-data-plane-client.js.map +1 -1
  960. package/dist/modules/engine-v2/engine-data-tables.contract.d.ts +1505 -0
  961. package/dist/modules/engine-v2/engine-data-tables.contract.js +141 -0
  962. package/dist/modules/engine-v2/engine-data-tables.contract.js.map +1 -0
  963. package/dist/modules/engine-v2/engine-data-tables.controller.d.ts +7 -0
  964. package/dist/modules/engine-v2/engine-data-tables.controller.js +34 -0
  965. package/dist/modules/engine-v2/engine-data-tables.controller.js.map +1 -0
  966. package/dist/modules/engine-v2/engine-data-tables.service.d.ts +11 -0
  967. package/dist/modules/engine-v2/engine-data-tables.service.js +94 -0
  968. package/dist/modules/engine-v2/engine-data-tables.service.js.map +1 -0
  969. package/dist/modules/engine-v2/engine-sub-workflow-client.d.ts +7 -0
  970. package/dist/modules/engine-v2/engine-sub-workflow-client.js +62 -0
  971. package/dist/modules/engine-v2/engine-sub-workflow-client.js.map +1 -0
  972. package/dist/modules/engine-v2/engine-sub-workflow.contract.d.ts +106 -0
  973. package/dist/modules/engine-v2/engine-sub-workflow.contract.js +59 -0
  974. package/dist/modules/engine-v2/engine-sub-workflow.contract.js.map +1 -0
  975. package/dist/modules/engine-v2/engine-sub-workflow.controller.d.ts +7 -0
  976. package/dist/modules/engine-v2/engine-sub-workflow.controller.js +34 -0
  977. package/dist/modules/engine-v2/engine-sub-workflow.controller.js.map +1 -0
  978. package/dist/modules/engine-v2/engine-sub-workflow.service.d.ts +16 -0
  979. package/dist/modules/engine-v2/engine-sub-workflow.service.js +138 -0
  980. package/dist/modules/engine-v2/engine-sub-workflow.service.js.map +1 -0
  981. package/dist/modules/engine-v2/engine-v2.constants.d.ts +2 -0
  982. package/dist/modules/engine-v2/engine-v2.constants.js +3 -1
  983. package/dist/modules/engine-v2/engine-v2.constants.js.map +1 -1
  984. package/dist/modules/engine-v2/engine-v2.module.js +7 -4
  985. package/dist/modules/engine-v2/engine-v2.module.js.map +1 -1
  986. package/dist/modules/engine-v2/engine-v2.runtime.d.ts +4 -1
  987. package/dist/modules/engine-v2/engine-v2.runtime.js +15 -4
  988. package/dist/modules/engine-v2/engine-v2.runtime.js.map +1 -1
  989. package/dist/modules/engine-v2/remote-credentials-helper.js +5 -4
  990. package/dist/modules/engine-v2/remote-credentials-helper.js.map +1 -1
  991. package/dist/modules/engine-v2/response-channel/execution-response-frame.js +2 -2
  992. package/dist/modules/engine-v2/response-channel/execution-response-frame.js.map +1 -1
  993. package/dist/modules/engine-v2/response-channel/in-memory-execution-response-sender.js +2 -2
  994. package/dist/modules/engine-v2/response-channel/in-memory-execution-response-sender.js.map +1 -1
  995. package/dist/modules/engine-v2/response-channel/redis-execution-response-receiver.js +3 -3
  996. package/dist/modules/engine-v2/response-channel/redis-execution-response-receiver.js.map +1 -1
  997. package/dist/modules/engine-v2/response-channel/redis-execution-response-sender.js +2 -2
  998. package/dist/modules/engine-v2/response-channel/redis-execution-response-sender.js.map +1 -1
  999. package/dist/modules/engine-v2/webhook-response/webhook-outcome.js +4 -4
  1000. package/dist/modules/engine-v2/webhook-response/webhook-outcome.js.map +1 -1
  1001. package/dist/modules/engine-v2/webhook-response/webhook-response-registry.service.js +7 -7
  1002. package/dist/modules/engine-v2/webhook-response/webhook-response-registry.service.js.map +1 -1
  1003. package/dist/modules/external-secrets.ee/errors/unknown-auth-type.error.d.ts +1 -1
  1004. package/dist/modules/external-secrets.ee/errors/unknown-auth-type.error.js +2 -2
  1005. package/dist/modules/external-secrets.ee/errors/unknown-auth-type.error.js.map +1 -1
  1006. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js +2 -2
  1007. package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js.map +1 -1
  1008. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js +3 -3
  1009. package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js.map +1 -1
  1010. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js +2 -1
  1011. package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js.map +1 -1
  1012. package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.d.ts +1 -1
  1013. package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js +5 -4
  1014. package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js.map +1 -1
  1015. package/dist/modules/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.js +4 -2
  1016. package/dist/modules/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.js.map +1 -1
  1017. package/dist/modules/external-secrets.ee/providers/infisical.d.ts +1 -1
  1018. package/dist/modules/external-secrets.ee/providers/infisical.js +6 -5
  1019. package/dist/modules/external-secrets.ee/providers/infisical.js.map +1 -1
  1020. package/dist/modules/external-secrets.ee/providers/one-password.d.ts +1 -1
  1021. package/dist/modules/external-secrets.ee/providers/one-password.js +5 -4
  1022. package/dist/modules/external-secrets.ee/providers/one-password.js.map +1 -1
  1023. package/dist/modules/external-secrets.ee/providers/vault.d.ts +1 -1
  1024. package/dist/modules/external-secrets.ee/providers/vault.js +9 -18
  1025. package/dist/modules/external-secrets.ee/providers/vault.js.map +1 -1
  1026. package/dist/modules/external-secrets.ee/secret-path.d.ts +1 -0
  1027. package/dist/modules/external-secrets.ee/secret-path.js +13 -0
  1028. package/dist/modules/external-secrets.ee/secret-path.js.map +1 -0
  1029. package/dist/modules/external-secrets.ee/secrets-cache.service.js +2 -2
  1030. package/dist/modules/external-secrets.ee/secrets-cache.service.js.map +1 -1
  1031. package/dist/modules/external-secrets.ee/settings-store.service.js +2 -1
  1032. package/dist/modules/external-secrets.ee/settings-store.service.js.map +1 -1
  1033. package/dist/modules/external-secrets.ee/types.js.map +1 -1
  1034. package/dist/modules/external-secrets.ee/with-timeout.d.ts +1 -1
  1035. package/dist/modules/external-secrets.ee/with-timeout.js +2 -2
  1036. package/dist/modules/external-secrets.ee/with-timeout.js.map +1 -1
  1037. package/dist/modules/inbound-auth-core/authentication-pipeline.d.ts +6 -2
  1038. package/dist/modules/inbound-auth-core/authentication-pipeline.js +24 -2
  1039. package/dist/modules/inbound-auth-core/authentication-pipeline.js.map +1 -1
  1040. package/dist/modules/inbound-auth-core/constants.d.ts +2 -1
  1041. package/dist/modules/inbound-auth-core/constants.js +3 -2
  1042. package/dist/modules/inbound-auth-core/constants.js.map +1 -1
  1043. package/dist/modules/inbound-auth-core/database/entities/trusted-source.entity.d.ts +1 -0
  1044. package/dist/modules/inbound-auth-core/database/entities/trusted-source.entity.js +4 -0
  1045. package/dist/modules/inbound-auth-core/database/entities/trusted-source.entity.js.map +1 -1
  1046. package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.d.ts +1 -0
  1047. package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.js +10 -0
  1048. package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.js.map +1 -1
  1049. package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js +2 -2
  1050. package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js.map +1 -1
  1051. package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js +2 -2
  1052. package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js.map +1 -1
  1053. package/dist/modules/inbound-auth-core/trusted-source-discovery.service.d.ts +3 -2
  1054. package/dist/modules/inbound-auth-core/trusted-source-discovery.service.js +23 -9
  1055. package/dist/modules/inbound-auth-core/trusted-source-discovery.service.js.map +1 -1
  1056. package/dist/modules/inbound-auth-core/trusted-source.controller.js +2 -0
  1057. package/dist/modules/inbound-auth-core/trusted-source.controller.js.map +1 -1
  1058. package/dist/modules/inbound-auth-core/trusted-source.store.d.ts +4 -1
  1059. package/dist/modules/inbound-auth-core/trusted-source.store.js +40 -3
  1060. package/dist/modules/inbound-auth-core/trusted-source.store.js.map +1 -1
  1061. package/dist/modules/instance-ai/{agent-preview-handoff.d.ts → agent-test-handoff.d.ts} +5 -5
  1062. package/dist/modules/instance-ai/{agent-preview-handoff.js → agent-test-handoff.js} +15 -16
  1063. package/dist/modules/instance-ai/agent-test-handoff.js.map +1 -0
  1064. package/dist/modules/instance-ai/assistant-agent/assistant-agent.controller.d.ts +10 -0
  1065. package/dist/modules/instance-ai/assistant-agent/assistant-agent.controller.js +54 -0
  1066. package/dist/modules/instance-ai/assistant-agent/assistant-agent.controller.js.map +1 -0
  1067. package/dist/modules/instance-ai/assistant-agent/assistant-agent.provider.d.ts +47 -0
  1068. package/dist/modules/instance-ai/assistant-agent/assistant-agent.provider.js +413 -0
  1069. package/dist/modules/instance-ai/assistant-agent/assistant-agent.provider.js.map +1 -0
  1070. package/dist/modules/instance-ai/assistant-agent/assistant-artifact-names.service.d.ts +9 -0
  1071. package/dist/modules/instance-ai/assistant-agent/assistant-artifact-names.service.js +40 -0
  1072. package/dist/modules/instance-ai/assistant-agent/assistant-artifact-names.service.js.map +1 -0
  1073. package/dist/modules/instance-ai/assistant-agent/assistant-event-sink.d.ts +14 -0
  1074. package/dist/modules/instance-ai/assistant-agent/assistant-event-sink.js +40 -0
  1075. package/dist/modules/instance-ai/assistant-agent/assistant-event-sink.js.map +1 -0
  1076. package/dist/modules/instance-ai/assistant-agent/assistant-temporary-workflow-markers.d.ts +4 -0
  1077. package/dist/modules/instance-ai/assistant-agent/assistant-temporary-workflow-markers.js +30 -0
  1078. package/dist/modules/instance-ai/assistant-agent/assistant-temporary-workflow-markers.js.map +1 -0
  1079. package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.d.ts +4 -0
  1080. package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.js +51 -0
  1081. package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.js.map +1 -0
  1082. package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.service.d.ts +17 -0
  1083. package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.service.js +63 -0
  1084. package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.service.js.map +1 -0
  1085. package/dist/modules/instance-ai/assistant-agent/assistant-turn-options.d.ts +18 -0
  1086. package/dist/modules/instance-ai/assistant-agent/assistant-turn-options.js +55 -0
  1087. package/dist/modules/instance-ai/assistant-agent/assistant-turn-options.js.map +1 -0
  1088. package/dist/modules/instance-ai/assistant-agent/assistant-turn-trace.d.ts +59 -0
  1089. package/dist/modules/instance-ai/assistant-agent/assistant-turn-trace.js +439 -0
  1090. package/dist/modules/instance-ai/assistant-agent/assistant-turn-trace.js.map +1 -0
  1091. package/dist/modules/instance-ai/assistant-agent/assistant-workspace-source.d.ts +25 -0
  1092. package/dist/modules/instance-ai/assistant-agent/assistant-workspace-source.js +64 -0
  1093. package/dist/modules/instance-ai/assistant-agent/assistant-workspace-source.js.map +1 -0
  1094. package/dist/modules/instance-ai/assistant.controller.d.ts +32 -0
  1095. package/dist/modules/instance-ai/assistant.controller.js +187 -0
  1096. package/dist/modules/instance-ai/assistant.controller.js.map +1 -0
  1097. package/dist/modules/instance-ai/browser/browser-local-mcp-server.d.ts +4 -8
  1098. package/dist/modules/instance-ai/browser/browser-local-mcp-server.js +8 -86
  1099. package/dist/modules/instance-ai/browser/browser-local-mcp-server.js.map +1 -1
  1100. package/dist/modules/instance-ai/browser/browser.helpers.d.ts +21 -0
  1101. package/dist/modules/instance-ai/browser/browser.helpers.js +142 -0
  1102. package/dist/modules/instance-ai/browser/browser.helpers.js.map +1 -0
  1103. package/dist/modules/instance-ai/browser/cloud-browser-local-mcp-server.d.ts +47 -0
  1104. package/dist/modules/instance-ai/browser/cloud-browser-local-mcp-server.js +263 -0
  1105. package/dist/modules/instance-ai/browser/cloud-browser-local-mcp-server.js.map +1 -0
  1106. package/dist/modules/instance-ai/browser/cloud-browser-session-provider.d.ts +13 -0
  1107. package/dist/modules/instance-ai/browser/cloud-browser-session-provider.js +3 -0
  1108. package/dist/modules/instance-ai/browser/cloud-browser-session-provider.js.map +1 -0
  1109. package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.d.ts +0 -1
  1110. package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.js +4 -35
  1111. package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.js.map +1 -1
  1112. package/dist/modules/instance-ai/browser/instance-ai-cloud-browser.service.d.ts +21 -0
  1113. package/dist/modules/instance-ai/browser/instance-ai-cloud-browser.service.js +112 -0
  1114. package/dist/modules/instance-ai/browser/instance-ai-cloud-browser.service.js.map +1 -0
  1115. package/dist/modules/instance-ai/conversation-history-content.d.ts +0 -2
  1116. package/dist/modules/instance-ai/conversation-history-content.js +5 -5
  1117. package/dist/modules/instance-ai/conversation-history-content.js.map +1 -1
  1118. package/dist/modules/instance-ai/entities/index.d.ts +0 -1
  1119. package/dist/modules/instance-ai/entities/index.js +1 -3
  1120. package/dist/modules/instance-ai/entities/index.js.map +1 -1
  1121. package/dist/modules/instance-ai/entities/instance-ai-thread-tabs.entity.d.ts +2 -2
  1122. package/dist/modules/instance-ai/entities/instance-ai-thread-tabs.entity.js.map +1 -1
  1123. package/dist/modules/instance-ai/eval/data-table-rows.d.ts +1 -1
  1124. package/dist/modules/instance-ai/eval/data-table-rows.js +4 -3
  1125. package/dist/modules/instance-ai/eval/data-table-rows.js.map +1 -1
  1126. package/dist/modules/instance-ai/eval/eval-timings.js +1 -1
  1127. package/dist/modules/instance-ai/eval/execution.service.d.ts +1 -1
  1128. package/dist/modules/instance-ai/eval/execution.service.js +7 -6
  1129. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
  1130. package/dist/modules/instance-ai/eval/failed-execution-portability.service.js +16 -13
  1131. package/dist/modules/instance-ai/eval/failed-execution-portability.service.js.map +1 -1
  1132. package/dist/modules/instance-ai/eval/llm-completion-mock.js +116 -50
  1133. package/dist/modules/instance-ai/eval/llm-completion-mock.js.map +1 -1
  1134. package/dist/modules/instance-ai/eval/mock-handler.js +2 -1
  1135. package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
  1136. package/dist/modules/instance-ai/eval/node-run-mock.js +29 -18
  1137. package/dist/modules/instance-ai/eval/node-run-mock.js.map +1 -1
  1138. package/dist/modules/instance-ai/eval/pin-data-generator.js +3 -3
  1139. package/dist/modules/instance-ai/eval/pin-data-generator.js.map +1 -1
  1140. package/dist/modules/instance-ai/eval/thread-restore.service.d.ts +1 -1
  1141. package/dist/modules/instance-ai/eval/thread-restore.service.js +2 -2
  1142. package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
  1143. package/dist/modules/instance-ai/eval/workflow-analysis.js +2 -1
  1144. package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
  1145. package/dist/modules/instance-ai/instance-ai-agent-context.adapter.js +1 -1
  1146. package/dist/modules/instance-ai/instance-ai-agent-context.adapter.js.map +1 -1
  1147. package/dist/modules/instance-ai/instance-ai-conversation-history.service.js +3 -2
  1148. package/dist/modules/instance-ai/instance-ai-conversation-history.service.js.map +1 -1
  1149. package/dist/modules/instance-ai/instance-ai-credit.service.js +2 -2
  1150. package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
  1151. package/dist/modules/instance-ai/instance-ai-hub-skills.d.ts +8 -3
  1152. package/dist/modules/instance-ai/instance-ai-hub-skills.js +24 -12
  1153. package/dist/modules/instance-ai/instance-ai-hub-skills.js.map +1 -1
  1154. package/dist/modules/instance-ai/instance-ai-model-catalog.service.d.ts +3 -1
  1155. package/dist/modules/instance-ai/instance-ai-model-catalog.service.js +6 -3
  1156. package/dist/modules/instance-ai/instance-ai-model-catalog.service.js.map +1 -1
  1157. package/dist/modules/instance-ai/instance-ai-model.service.d.ts +4 -1
  1158. package/dist/modules/instance-ai/instance-ai-model.service.js +26 -7
  1159. package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -1
  1160. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +7 -2
  1161. package/dist/modules/instance-ai/instance-ai-settings.service.js +26 -9
  1162. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  1163. package/dist/modules/instance-ai/instance-ai-skill-telemetry.d.ts +37 -0
  1164. package/dist/modules/instance-ai/instance-ai-skill-telemetry.js +129 -0
  1165. package/dist/modules/instance-ai/instance-ai-skill-telemetry.js.map +1 -0
  1166. package/dist/modules/instance-ai/instance-ai-skills.adapter.d.ts +3 -3
  1167. package/dist/modules/instance-ai/instance-ai-skills.adapter.js +18 -22
  1168. package/dist/modules/instance-ai/instance-ai-skills.adapter.js.map +1 -1
  1169. package/dist/modules/instance-ai/instance-ai-skills.service.d.ts +12 -7
  1170. package/dist/modules/instance-ai/instance-ai-skills.service.js +29 -13
  1171. package/dist/modules/instance-ai/instance-ai-skills.service.js.map +1 -1
  1172. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js +2 -2
  1173. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js.map +1 -1
  1174. package/dist/modules/instance-ai/instance-ai-thread-tabs.service.d.ts +6 -10
  1175. package/dist/modules/instance-ai/instance-ai-thread-tabs.service.js +8 -67
  1176. package/dist/modules/instance-ai/instance-ai-thread-tabs.service.js.map +1 -1
  1177. package/dist/modules/instance-ai/instance-ai-verification.service.js +3 -2
  1178. package/dist/modules/instance-ai/instance-ai-verification.service.js.map +1 -1
  1179. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +7 -3
  1180. package/dist/modules/instance-ai/instance-ai.adapter.service.js +138 -49
  1181. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  1182. package/dist/modules/instance-ai/instance-ai.controller.d.ts +5 -22
  1183. package/dist/modules/instance-ai/instance-ai.controller.js +3 -152
  1184. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  1185. package/dist/modules/instance-ai/instance-ai.module.d.ts +5 -1
  1186. package/dist/modules/instance-ai/instance-ai.module.js +33 -2
  1187. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  1188. package/dist/modules/instance-ai/instance-ai.service.d.ts +0 -6
  1189. package/dist/modules/instance-ai/instance-ai.service.js +63 -162
  1190. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  1191. package/dist/modules/instance-ai/instance-context.service.d.ts +3 -1
  1192. package/dist/modules/instance-ai/instance-context.service.js +34 -43
  1193. package/dist/modules/instance-ai/instance-context.service.js.map +1 -1
  1194. package/dist/modules/instance-ai/internal-messages.d.ts +6 -0
  1195. package/dist/modules/instance-ai/internal-messages.js +26 -6
  1196. package/dist/modules/instance-ai/internal-messages.js.map +1 -1
  1197. package/dist/modules/instance-ai/repositories/conversation-history-search.d.ts +1 -6
  1198. package/dist/modules/instance-ai/repositories/conversation-history-search.js +7 -5
  1199. package/dist/modules/instance-ai/repositories/conversation-history-search.js.map +1 -1
  1200. package/dist/modules/instance-ai/repositories/index.d.ts +0 -1
  1201. package/dist/modules/instance-ai/repositories/index.js +1 -3
  1202. package/dist/modules/instance-ai/repositories/index.js.map +1 -1
  1203. package/dist/modules/instance-ai/repositories/instance-ai-thread-tabs.repository.d.ts +3 -3
  1204. package/dist/modules/instance-ai/repositories/instance-ai-thread-tabs.repository.js.map +1 -1
  1205. package/dist/modules/instance-ai/run-trace-metadata.d.ts +14 -0
  1206. package/dist/modules/instance-ai/run-trace-metadata.js +51 -24
  1207. package/dist/modules/instance-ai/run-trace-metadata.js.map +1 -1
  1208. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +2 -1
  1209. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +5 -4
  1210. package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
  1211. package/dist/modules/instance-ai/sandbox-provider.js +2 -2
  1212. package/dist/modules/instance-ai/sandbox-provider.js.map +1 -1
  1213. package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.d.ts +1 -0
  1214. package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.js +4 -0
  1215. package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.js.map +1 -1
  1216. package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.d.ts +13 -3
  1217. package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.js +134 -23
  1218. package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.js.map +1 -1
  1219. package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js +5 -4
  1220. package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js.map +1 -1
  1221. package/dist/modules/instance-ai/self-healing/self-healing-agent.service.js +3 -3
  1222. package/dist/modules/instance-ai/self-healing/self-healing-agent.service.js.map +1 -1
  1223. package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.js +1 -1
  1224. package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.js.map +1 -1
  1225. package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.d.ts +10 -2
  1226. package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.js +53 -19
  1227. package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.js.map +1 -1
  1228. package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.d.ts +2 -1
  1229. package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.js +14 -7
  1230. package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.js.map +1 -1
  1231. package/dist/modules/instance-ai/self-healing/self-healing-result.service.js +3 -4
  1232. package/dist/modules/instance-ai/self-healing/self-healing-result.service.js.map +1 -1
  1233. package/dist/modules/instance-ai/storage/index.d.ts +0 -1
  1234. package/dist/modules/instance-ai/storage/index.js +1 -3
  1235. package/dist/modules/instance-ai/storage/index.js.map +1 -1
  1236. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js +3 -3
  1237. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js.map +1 -1
  1238. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +9 -7
  1239. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
  1240. package/dist/modules/instance-ai/suspended-run-restorer.service.js +2 -2
  1241. package/dist/modules/instance-ai/suspended-run-restorer.service.js.map +1 -1
  1242. package/dist/modules/instance-ai/temporary-workflow-markers.d.ts +6 -0
  1243. package/dist/modules/instance-ai/temporary-workflow-markers.js +3 -0
  1244. package/dist/modules/instance-ai/temporary-workflow-markers.js.map +1 -0
  1245. package/dist/modules/instance-ai/tracing/resume-trace-input.d.ts +1 -0
  1246. package/dist/modules/instance-ai/tracing/resume-trace-input.js +18 -0
  1247. package/dist/modules/instance-ai/tracing/resume-trace-input.js.map +1 -0
  1248. package/dist/modules/instance-ai/tracing/suspension-trace.d.ts +15 -0
  1249. package/dist/modules/instance-ai/tracing/suspension-trace.js +25 -0
  1250. package/dist/modules/instance-ai/tracing/suspension-trace.js.map +1 -0
  1251. package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.d.ts +1 -0
  1252. package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.js +16 -7
  1253. package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.js.map +1 -1
  1254. package/dist/modules/instance-ai/turn-setup/assistant-credits.d.ts +1 -1
  1255. package/dist/modules/instance-ai/turn-setup/assistant-credits.js +2 -2
  1256. package/dist/modules/instance-ai/turn-setup/assistant-credits.js.map +1 -1
  1257. package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.d.ts +1 -4
  1258. package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.js +21 -24
  1259. package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.js.map +1 -1
  1260. package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.d.ts +3 -0
  1261. package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.js +40 -20
  1262. package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.js.map +1 -1
  1263. package/dist/modules/instance-ai/turn-setup/assistant-turn-runtime.d.ts +4 -2
  1264. package/dist/modules/instance-ai/turn-setup/assistant-turn-trace-input.d.ts +8 -0
  1265. package/dist/modules/instance-ai/turn-setup/assistant-turn-trace-input.js +37 -0
  1266. package/dist/modules/instance-ai/turn-setup/assistant-turn-trace-input.js.map +1 -0
  1267. package/dist/modules/instance-ai/user-facing-errors.d.ts +10 -0
  1268. package/dist/modules/instance-ai/user-facing-errors.js +86 -0
  1269. package/dist/modules/instance-ai/user-facing-errors.js.map +1 -0
  1270. package/dist/modules/instance-reporting.ee/instance-reporting.module.js +2 -2
  1271. package/dist/modules/instance-reporting.ee/instance-reporting.module.js.map +1 -1
  1272. package/dist/modules/instance-reporting.ee/instance-reporting.service.js +3 -3
  1273. package/dist/modules/instance-reporting.ee/instance-reporting.service.js.map +1 -1
  1274. package/dist/modules/knowledge/vector-stores/embedding-credential.d.ts +5 -0
  1275. package/dist/modules/knowledge/vector-stores/embedding-credential.js +9 -0
  1276. package/dist/modules/knowledge/vector-stores/embedding-credential.js.map +1 -1
  1277. package/dist/modules/knowledge/vector-stores/factory.js +5 -5
  1278. package/dist/modules/knowledge/vector-stores/factory.js.map +1 -1
  1279. package/dist/modules/ldap.ee/helpers.ee.d.ts +3 -3
  1280. package/dist/modules/ldap.ee/helpers.ee.js +28 -36
  1281. package/dist/modules/ldap.ee/helpers.ee.js.map +1 -1
  1282. package/dist/modules/ldap.ee/ldap.errors.d.ts +1 -1
  1283. package/dist/modules/ldap.ee/ldap.errors.js +3 -3
  1284. package/dist/modules/ldap.ee/ldap.errors.js.map +1 -1
  1285. package/dist/modules/ldap.ee/ldap.service.ee.js +5 -5
  1286. package/dist/modules/ldap.ee/ldap.service.ee.js.map +1 -1
  1287. package/dist/modules/log-streaming.ee/create-message-event-bus-destination.js +2 -2
  1288. package/dist/modules/log-streaming.ee/create-message-event-bus-destination.js.map +1 -1
  1289. package/dist/modules/log-streaming.ee/database/repositories/event-destination.repository.d.ts +2 -0
  1290. package/dist/modules/log-streaming.ee/database/repositories/event-destination.repository.js +12 -0
  1291. package/dist/modules/log-streaming.ee/database/repositories/event-destination.repository.js.map +1 -1
  1292. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.js +2 -0
  1293. package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.js.map +1 -1
  1294. package/dist/modules/log-streaming.ee/log-streaming-destination.service.d.ts +4 -0
  1295. package/dist/modules/log-streaming.ee/log-streaming-destination.service.js +58 -14
  1296. package/dist/modules/log-streaming.ee/log-streaming-destination.service.js.map +1 -1
  1297. package/dist/modules/log-streaming.ee/log-streaming.controller.js +4 -1
  1298. package/dist/modules/log-streaming.ee/log-streaming.controller.js.map +1 -1
  1299. package/dist/modules/mcp/mcp-protected-resource.js +7 -3
  1300. package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
  1301. package/dist/modules/mcp/mcp-scopes.js +5 -0
  1302. package/dist/modules/mcp/mcp-scopes.js.map +1 -1
  1303. package/dist/modules/mcp/mcp.constants.d.ts +1 -1
  1304. package/dist/modules/mcp/mcp.constants.js +2 -1
  1305. package/dist/modules/mcp/mcp.constants.js.map +1 -1
  1306. package/dist/modules/mcp/mcp.errors.d.ts +1 -1
  1307. package/dist/modules/mcp/mcp.errors.js +3 -3
  1308. package/dist/modules/mcp/mcp.errors.js.map +1 -1
  1309. package/dist/modules/mcp/mcp.service.d.ts +4 -3
  1310. package/dist/modules/mcp/mcp.service.js +13 -8
  1311. package/dist/modules/mcp/mcp.service.js.map +1 -1
  1312. package/dist/modules/mcp/tools/agents/agent-reference.js +8 -2
  1313. package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -1
  1314. package/dist/modules/mcp/tools/agents/agent-slack-setup.d.ts +1 -1
  1315. package/dist/modules/mcp/tools/agents/agent-tools.service.d.ts +5 -1
  1316. package/dist/modules/mcp/tools/agents/agent-tools.service.js +130 -30
  1317. package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
  1318. package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.d.ts +1 -1
  1319. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.d.ts +1 -1
  1320. package/dist/modules/mcp/tools/data-table/create-data-table.tool.d.ts +1 -1
  1321. package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.d.ts +1 -1
  1322. package/dist/modules/mcp/tools/data-table/get-data-table-rows.tool.d.ts +1 -1
  1323. package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.d.ts +1 -1
  1324. package/dist/modules/mcp/tools/data-table/rename-data-table.tool.d.ts +1 -1
  1325. package/dist/modules/mcp/tools/data-table/search-data-tables.tool.d.ts +1 -1
  1326. package/dist/modules/mcp/tools/execution-utils.d.ts +4 -0
  1327. package/dist/modules/mcp/tools/execution-utils.js +23 -3
  1328. package/dist/modules/mcp/tools/execution-utils.js.map +1 -1
  1329. package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +3 -3
  1330. package/dist/modules/mcp/tools/get-workflow-details.tool.js +4 -4
  1331. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  1332. package/dist/modules/mcp/tools/skills/skill-extension.service.d.ts +1 -1
  1333. package/dist/modules/mcp/tools/skills/skill-extension.service.js +6 -3
  1334. package/dist/modules/mcp/tools/skills/skill-extension.service.js.map +1 -1
  1335. package/dist/modules/mcp/tools/skills/skill-tools.service.d.ts +5 -6
  1336. package/dist/modules/mcp/tools/skills/skill-tools.service.js +50 -53
  1337. package/dist/modules/mcp/tools/skills/skill-tools.service.js.map +1 -1
  1338. package/dist/modules/mcp/tools/test-workflow.tool.d.ts +3 -2
  1339. package/dist/modules/mcp/tools/test-workflow.tool.js +17 -7
  1340. package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
  1341. package/dist/modules/mcp/tools/update-credential-description.tool.d.ts +6 -0
  1342. package/dist/modules/mcp/tools/update-credential-description.tool.js +48 -0
  1343. package/dist/modules/mcp/tools/update-credential-description.tool.js.map +1 -0
  1344. package/dist/modules/mcp/tools/webhook-utils.d.ts +3 -2
  1345. package/dist/modules/mcp/tools/webhook-utils.js +37 -37
  1346. package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
  1347. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +1 -1
  1348. package/dist/modules/mcp/tools/workflow-builder/data-table-validation.d.ts +1 -1
  1349. package/dist/modules/mcp/tools/workflow-builder/data-table-validation.js +2 -2
  1350. package/dist/modules/mcp/tools/workflow-builder/data-table-validation.js.map +1 -1
  1351. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +1 -1
  1352. package/dist/modules/modules.manifest.js +13 -1
  1353. package/dist/modules/modules.manifest.js.map +1 -1
  1354. package/dist/modules/n8n-packages/engine/content-import-policy.d.ts +2 -2
  1355. package/dist/modules/n8n-packages/engine/content-import-policy.js +26 -23
  1356. package/dist/modules/n8n-packages/engine/content-import-policy.js.map +1 -1
  1357. package/dist/modules/n8n-packages/engine/credential-save-policy.d.ts +3 -3
  1358. package/dist/modules/n8n-packages/engine/credential-save-policy.js +43 -39
  1359. package/dist/modules/n8n-packages/engine/credential-save-policy.js.map +1 -1
  1360. package/dist/modules/n8n-packages/engine/import-gates.d.ts +11 -7
  1361. package/dist/modules/n8n-packages/engine/import-gates.js +37 -7
  1362. package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -1
  1363. package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +19 -5
  1364. package/dist/modules/n8n-packages/engine/import-orchestrator.js +130 -74
  1365. package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
  1366. package/dist/modules/n8n-packages/engine/import-result.d.ts +6 -1
  1367. package/dist/modules/n8n-packages/engine/import-result.js +22 -2
  1368. package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
  1369. package/dist/modules/n8n-packages/engine/import-telemetry.d.ts +2 -0
  1370. package/dist/modules/n8n-packages/engine/import-telemetry.js +13 -8
  1371. package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
  1372. package/dist/modules/n8n-packages/engine/n8n-package-parser.d.ts +3 -1
  1373. package/dist/modules/n8n-packages/engine/n8n-package-parser.js +36 -23
  1374. package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
  1375. package/dist/modules/n8n-packages/engine/package-import-preflight.d.ts +15 -0
  1376. package/dist/modules/n8n-packages/engine/package-import-preflight.js +70 -0
  1377. package/dist/modules/n8n-packages/engine/package-import-preflight.js.map +1 -0
  1378. package/dist/modules/n8n-packages/engine/package-layout.d.ts +0 -1
  1379. package/dist/modules/n8n-packages/engine/package-layout.js +3 -8
  1380. package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
  1381. package/dist/modules/n8n-packages/engine/policy-verdict.d.ts +6 -0
  1382. package/dist/modules/n8n-packages/engine/policy-verdict.js +20 -0
  1383. package/dist/modules/n8n-packages/engine/policy-verdict.js.map +1 -0
  1384. package/dist/modules/n8n-packages/engine/project-package-importer.d.ts +19 -6
  1385. package/dist/modules/n8n-packages/engine/project-package-importer.js +47 -28
  1386. package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
  1387. package/dist/modules/n8n-packages/engine/workflow-package-importer.d.ts +3 -3
  1388. package/dist/modules/n8n-packages/engine/workflow-package-importer.js +20 -30
  1389. package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
  1390. package/dist/modules/n8n-packages/entities/agent/agent-body-issues.d.ts +1 -1
  1391. package/dist/modules/n8n-packages/entities/agent/agent-body-issues.js.map +1 -1
  1392. package/dist/modules/n8n-packages/entities/agent/agent-export.types.d.ts +1 -0
  1393. package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.d.ts +17 -3
  1394. package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.js +54 -51
  1395. package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.js.map +1 -1
  1396. package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.d.ts +4 -3
  1397. package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.js +13 -34
  1398. package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.js.map +1 -1
  1399. package/dist/modules/n8n-packages/entities/agent/agent-import.types.d.ts +24 -21
  1400. package/dist/modules/n8n-packages/entities/agent/agent-import.types.js +1 -1
  1401. package/dist/modules/n8n-packages/entities/agent/agent-import.types.js.map +1 -1
  1402. package/dist/modules/n8n-packages/entities/agent/agent-importer.d.ts +10 -5
  1403. package/dist/modules/n8n-packages/entities/agent/agent-importer.js +132 -104
  1404. package/dist/modules/n8n-packages/entities/agent/agent-importer.js.map +1 -1
  1405. package/dist/modules/n8n-packages/entities/agent/agent-publisher.d.ts +15 -0
  1406. package/dist/modules/n8n-packages/entities/agent/agent-publisher.js +85 -0
  1407. package/dist/modules/n8n-packages/entities/agent/agent-publisher.js.map +1 -0
  1408. package/dist/modules/n8n-packages/entities/agent/agent-selection.exporter.js +12 -0
  1409. package/dist/modules/n8n-packages/entities/agent/agent-selection.exporter.js.map +1 -1
  1410. package/dist/modules/n8n-packages/entities/agent/agent.exporter.js +3 -3
  1411. package/dist/modules/n8n-packages/entities/agent/agent.exporter.js.map +1 -1
  1412. package/dist/modules/n8n-packages/entities/agent/agent.serializer.js +9 -2
  1413. package/dist/modules/n8n-packages/entities/agent/agent.serializer.js.map +1 -1
  1414. package/dist/modules/n8n-packages/entities/credential/credential-importer.js +4 -3
  1415. package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -1
  1416. package/dist/modules/n8n-packages/entities/credential/credential-matcher.d.ts +2 -0
  1417. package/dist/modules/n8n-packages/entities/credential/credential-matcher.js +23 -4
  1418. package/dist/modules/n8n-packages/entities/credential/credential-matcher.js.map +1 -1
  1419. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +2 -2
  1420. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +4 -4
  1421. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -1
  1422. package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +4 -1
  1423. package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
  1424. package/dist/modules/n8n-packages/entities/data-table/data-table-compat.js +2 -2
  1425. package/dist/modules/n8n-packages/entities/data-table/data-table-compat.js.map +1 -1
  1426. package/dist/modules/n8n-packages/entities/data-table/data-table-importer.d.ts +5 -10
  1427. package/dist/modules/n8n-packages/entities/data-table/data-table-importer.js +38 -42
  1428. package/dist/modules/n8n-packages/entities/data-table/data-table-importer.js.map +1 -1
  1429. package/dist/modules/n8n-packages/entities/data-table/data-table-matching-mode.d.ts +1 -1
  1430. package/dist/modules/n8n-packages/entities/data-table/data-table.exporter.d.ts +1 -1
  1431. package/dist/modules/n8n-packages/entities/data-table/data-table.exporter.js +5 -5
  1432. package/dist/modules/n8n-packages/entities/data-table/data-table.exporter.js.map +1 -1
  1433. package/dist/modules/n8n-packages/entities/data-table/data-table.serializer.d.ts +1 -1
  1434. package/dist/modules/n8n-packages/entities/data-table/data-table.serializer.js.map +1 -1
  1435. package/dist/modules/n8n-packages/entities/data-table/data-table.types.d.ts +6 -1
  1436. package/dist/modules/n8n-packages/entities/data-table/data-table.types.js.map +1 -1
  1437. package/dist/modules/n8n-packages/entities/folder/folder-import.types.d.ts +1 -0
  1438. package/dist/modules/n8n-packages/entities/folder/folder-importer.js +4 -2
  1439. package/dist/modules/n8n-packages/entities/folder/folder-importer.js.map +1 -1
  1440. package/dist/modules/n8n-packages/entities/folder/folder.exporter.d.ts +2 -2
  1441. package/dist/modules/n8n-packages/entities/import-conflict-policy.d.ts +2 -2
  1442. package/dist/modules/n8n-packages/entities/import-conflict-policy.js.map +1 -1
  1443. package/dist/modules/n8n-packages/entities/import-id-policy.js +0 -2
  1444. package/dist/modules/n8n-packages/entities/import-id-policy.js.map +1 -1
  1445. package/dist/modules/n8n-packages/entities/package-export.errors.d.ts +1 -1
  1446. package/dist/modules/n8n-packages/entities/package-export.errors.js +4 -4
  1447. package/dist/modules/n8n-packages/entities/package-export.errors.js.map +1 -1
  1448. package/dist/modules/n8n-packages/entities/project/project-importer.d.ts +4 -2
  1449. package/dist/modules/n8n-packages/entities/project/project-importer.js +33 -17
  1450. package/dist/modules/n8n-packages/entities/project/project-importer.js.map +1 -1
  1451. package/dist/modules/n8n-packages/entities/project/project.exporter.d.ts +2 -2
  1452. package/dist/modules/n8n-packages/entities/publishing.d.ts +10 -0
  1453. package/dist/modules/n8n-packages/entities/publishing.js +9 -0
  1454. package/dist/modules/n8n-packages/entities/publishing.js.map +1 -0
  1455. package/dist/modules/n8n-packages/entities/skill/skill-import.types.d.ts +22 -0
  1456. package/dist/modules/n8n-packages/entities/skill/skill-import.types.js +50 -0
  1457. package/dist/modules/n8n-packages/entities/skill/skill-import.types.js.map +1 -0
  1458. package/dist/modules/n8n-packages/entities/skill/skill-importer.d.ts +29 -0
  1459. package/dist/modules/n8n-packages/entities/skill/skill-importer.js +245 -0
  1460. package/dist/modules/n8n-packages/entities/skill/skill-importer.js.map +1 -0
  1461. package/dist/modules/n8n-packages/entities/skill/skill.exporter.d.ts +20 -0
  1462. package/dist/modules/n8n-packages/entities/skill/skill.exporter.js +58 -0
  1463. package/dist/modules/n8n-packages/entities/skill/skill.exporter.js.map +1 -0
  1464. package/dist/modules/n8n-packages/entities/tag/tag-importer.js +1 -2
  1465. package/dist/modules/n8n-packages/entities/tag/tag-importer.js.map +1 -1
  1466. package/dist/modules/n8n-packages/entities/variable/variable-importer.js +9 -2
  1467. package/dist/modules/n8n-packages/entities/variable/variable-importer.js.map +1 -1
  1468. package/dist/modules/n8n-packages/entities/variable/variable.types.d.ts +5 -1
  1469. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.d.ts +2 -2
  1470. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js +2 -2
  1471. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js.map +1 -1
  1472. package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.d.ts +2 -1
  1473. package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js +3 -3
  1474. package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js.map +1 -1
  1475. package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +5 -2
  1476. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +9 -4
  1477. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
  1478. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +2 -2
  1479. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +9 -26
  1480. package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
  1481. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.d.ts +2 -0
  1482. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js +11 -0
  1483. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js.map +1 -1
  1484. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +2 -9
  1485. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.js +1 -0
  1486. package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.js.map +1 -1
  1487. package/dist/modules/n8n-packages/entities/workflow/workflow-requirement.exporter.d.ts +2 -2
  1488. package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.js +2 -2
  1489. package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.js.map +1 -1
  1490. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.d.ts +2 -2
  1491. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
  1492. package/dist/modules/n8n-packages/io/directory/directory-package-writer.js +2 -2
  1493. package/dist/modules/n8n-packages/io/directory/directory-package-writer.js.map +1 -1
  1494. package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.js +7 -6
  1495. package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.js.map +1 -1
  1496. package/dist/modules/n8n-packages/io/manifest-entry.d.ts +7 -2
  1497. package/dist/modules/n8n-packages/io/manifest-entry.js +24 -6
  1498. package/dist/modules/n8n-packages/io/manifest-entry.js.map +1 -1
  1499. package/dist/modules/n8n-packages/n8n-packages.service.d.ts +11 -3
  1500. package/dist/modules/n8n-packages/n8n-packages.service.js +56 -21
  1501. package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
  1502. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +56 -16
  1503. package/dist/modules/n8n-packages/n8n-packages.types.js +9 -3
  1504. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  1505. package/dist/modules/n8n-packages/package-failure-classifier.js +1 -2
  1506. package/dist/modules/n8n-packages/package-failure-classifier.js.map +1 -1
  1507. package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +59 -5
  1508. package/dist/modules/n8n-packages/spec/manifest.schema.js +7 -3
  1509. package/dist/modules/n8n-packages/spec/manifest.schema.js.map +1 -1
  1510. package/dist/modules/n8n-packages/spec/requirement-consumers.d.ts +3 -0
  1511. package/dist/modules/n8n-packages/spec/requirement-consumers.js +5 -1
  1512. package/dist/modules/n8n-packages/spec/requirement-consumers.js.map +1 -1
  1513. package/dist/modules/n8n-packages/spec/serialized/agent.schema.d.ts +50 -87
  1514. package/dist/modules/n8n-packages/spec/serialized/agent.schema.js +0 -2
  1515. package/dist/modules/n8n-packages/spec/serialized/agent.schema.js.map +1 -1
  1516. package/dist/modules/n8n-packages/spec/serialized/skill.schema.d.ts +97 -0
  1517. package/dist/modules/n8n-packages/spec/serialized/skill.schema.js +16 -0
  1518. package/dist/modules/n8n-packages/spec/serialized/skill.schema.js.map +1 -0
  1519. package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.js +3 -3
  1520. package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.js.map +1 -1
  1521. package/dist/modules/oauth-jwe/oauth-jwe-key.service.js +6 -5
  1522. package/dist/modules/oauth-jwe/oauth-jwe-key.service.js.map +1 -1
  1523. package/dist/modules/oauth-jwe/oauth-jwe.utils.js +2 -2
  1524. package/dist/modules/oauth-jwe/oauth-jwe.utils.js.map +1 -1
  1525. package/dist/modules/oauth-server/database/repositories/oauth-grant.repository.js +2 -2
  1526. package/dist/modules/oauth-server/database/repositories/oauth-grant.repository.js.map +1 -1
  1527. package/dist/modules/oauth-server/oauth-consent.controller.js +1 -2
  1528. package/dist/modules/oauth-server/oauth-consent.controller.js.map +1 -1
  1529. package/dist/modules/oauth-server/oauth-consent.service.js +4 -5
  1530. package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
  1531. package/dist/modules/oauth-server/oauth-flow.service.d.ts +1 -1
  1532. package/dist/modules/oauth-server/oauth-flow.service.js +7 -7
  1533. package/dist/modules/oauth-server/oauth-flow.service.js.map +1 -1
  1534. package/dist/modules/oauth-server/oauth-server.service.js +3 -1
  1535. package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
  1536. package/dist/modules/oauth-server/oauth-signing-key.service.js +4 -3
  1537. package/dist/modules/oauth-server/oauth-signing-key.service.js.map +1 -1
  1538. package/dist/modules/oauth-server/oauth-token.service.js +2 -2
  1539. package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
  1540. package/dist/modules/otel/caller-baggage.d.ts +3 -0
  1541. package/dist/modules/otel/caller-baggage.js +27 -0
  1542. package/dist/modules/otel/caller-baggage.js.map +1 -0
  1543. package/dist/modules/otel/execution-level-tracer.d.ts +4 -7
  1544. package/dist/modules/otel/execution-level-tracer.js +39 -14
  1545. package/dist/modules/otel/execution-level-tracer.js.map +1 -1
  1546. package/dist/modules/otel/otel-configure-hook.d.ts +20 -0
  1547. package/dist/modules/otel/otel-configure-hook.js +79 -0
  1548. package/dist/modules/otel/otel-configure-hook.js.map +1 -0
  1549. package/dist/modules/otel/otel-exporter.factory.d.ts +21 -0
  1550. package/dist/modules/otel/otel-exporter.factory.js +121 -0
  1551. package/dist/modules/otel/otel-exporter.factory.js.map +1 -0
  1552. package/dist/modules/otel/otel-lifecycle-handler.js +2 -1
  1553. package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
  1554. package/dist/modules/otel/otel-settings.controller.d.ts +1 -7
  1555. package/dist/modules/otel/otel-settings.controller.js +3 -11
  1556. package/dist/modules/otel/otel-settings.controller.js.map +1 -1
  1557. package/dist/modules/otel/otel-settings.service.d.ts +11 -2
  1558. package/dist/modules/otel/otel-settings.service.js +37 -24
  1559. package/dist/modules/otel/otel-settings.service.js.map +1 -1
  1560. package/dist/modules/otel/otel-span-exporter.d.ts +4 -0
  1561. package/dist/modules/otel/otel-span-exporter.js +38 -0
  1562. package/dist/modules/otel/otel-span-exporter.js.map +1 -0
  1563. package/dist/modules/otel/otel.constants.d.ts +1 -0
  1564. package/dist/modules/otel/otel.constants.js +5 -0
  1565. package/dist/modules/otel/otel.constants.js.map +1 -1
  1566. package/dist/modules/otel/otel.module.js +11 -1
  1567. package/dist/modules/otel/otel.module.js.map +1 -1
  1568. package/dist/modules/otel/otel.service.d.ts +28 -26
  1569. package/dist/modules/otel/otel.service.js +136 -202
  1570. package/dist/modules/otel/otel.service.js.map +1 -1
  1571. package/dist/modules/otel/tracing-context.d.ts +2 -5
  1572. package/dist/modules/otel/tracing-context.js.map +1 -1
  1573. package/dist/modules/policy-infrastructure/policy-check-failed.error.d.ts +1 -1
  1574. package/dist/modules/policy-infrastructure/policy-check-failed.error.js +2 -2
  1575. package/dist/modules/policy-infrastructure/policy-check-failed.error.js.map +1 -1
  1576. package/dist/modules/policy-infrastructure/policy-decision.service.js +2 -2
  1577. package/dist/modules/policy-infrastructure/policy-decision.service.js.map +1 -1
  1578. package/dist/modules/promotions.ee/apply-preview.d.ts +21 -0
  1579. package/dist/modules/promotions.ee/apply-preview.js +435 -0
  1580. package/dist/modules/promotions.ee/apply-preview.js.map +1 -0
  1581. package/dist/modules/promotions.ee/apply-preview.service.d.ts +37 -0
  1582. package/dist/modules/promotions.ee/apply-preview.service.js +175 -0
  1583. package/dist/modules/promotions.ee/apply-preview.service.js.map +1 -0
  1584. package/dist/modules/promotions.ee/base-branch-files.js +2 -5
  1585. package/dist/modules/promotions.ee/base-branch-files.js.map +1 -1
  1586. package/dist/modules/promotions.ee/cross-project-moves.d.ts +2 -3
  1587. package/dist/modules/promotions.ee/cross-project-moves.js +2 -9
  1588. package/dist/modules/promotions.ee/cross-project-moves.js.map +1 -1
  1589. package/dist/modules/promotions.ee/database/entities/promotion-review.entity.d.ts +1 -1
  1590. package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js +1 -2
  1591. package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js.map +1 -1
  1592. package/dist/modules/promotions.ee/database/promotion-conflict.error.d.ts +1 -1
  1593. package/dist/modules/promotions.ee/database/promotion-conflict.error.js +2 -2
  1594. package/dist/modules/promotions.ee/database/promotion-conflict.error.js.map +1 -1
  1595. package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.d.ts +3 -3
  1596. package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.js +5 -4
  1597. package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.js.map +1 -1
  1598. package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.d.ts +1 -1
  1599. package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js +2 -1
  1600. package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js.map +1 -1
  1601. package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.d.ts +1 -0
  1602. package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js +4 -0
  1603. package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js.map +1 -1
  1604. package/dist/modules/promotions.ee/git-commit-package-reader.d.ts +9 -0
  1605. package/dist/modules/promotions.ee/git-commit-package-reader.js +33 -0
  1606. package/dist/modules/promotions.ee/git-commit-package-reader.js.map +1 -0
  1607. package/dist/modules/promotions.ee/git-hosts/git-host-remote.d.ts +1 -0
  1608. package/dist/modules/promotions.ee/git-hosts/git-host-remote.js +4 -0
  1609. package/dist/modules/promotions.ee/git-hosts/git-host-remote.js.map +1 -1
  1610. package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js +2 -2
  1611. package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js.map +1 -1
  1612. package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.js +6 -7
  1613. package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.js.map +1 -1
  1614. package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.d.ts +39 -0
  1615. package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.js +3 -0
  1616. package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.js.map +1 -1
  1617. package/dist/modules/promotions.ee/import-manifest-bridge.js +13 -6
  1618. package/dist/modules/promotions.ee/import-manifest-bridge.js.map +1 -1
  1619. package/dist/modules/promotions.ee/instance-package.d.ts +18 -0
  1620. package/dist/modules/promotions.ee/instance-package.js +49 -0
  1621. package/dist/modules/promotions.ee/instance-package.js.map +1 -0
  1622. package/dist/modules/promotions.ee/local-package-entities.service.d.ts +27 -0
  1623. package/dist/modules/promotions.ee/local-package-entities.service.js +63 -0
  1624. package/dist/modules/promotions.ee/local-package-entities.service.js.map +1 -0
  1625. package/dist/modules/promotions.ee/package-references.d.ts +25 -0
  1626. package/dist/modules/promotions.ee/package-references.js +87 -0
  1627. package/dist/modules/promotions.ee/package-references.js.map +1 -0
  1628. package/dist/modules/promotions.ee/promotion-change.service.d.ts +10 -18
  1629. package/dist/modules/promotions.ee/promotion-change.service.js +140 -222
  1630. package/dist/modules/promotions.ee/promotion-change.service.js.map +1 -1
  1631. package/dist/modules/promotions.ee/promotion-changes.controller.d.ts +2 -5
  1632. package/dist/modules/promotions.ee/promotion-changes.controller.js +6 -21
  1633. package/dist/modules/promotions.ee/promotion-changes.controller.js.map +1 -1
  1634. package/dist/modules/promotions.ee/promotion-environments.service.d.ts +11 -5
  1635. package/dist/modules/promotions.ee/promotion-environments.service.js +78 -14
  1636. package/dist/modules/promotions.ee/promotion-environments.service.js.map +1 -1
  1637. package/dist/modules/promotions.ee/promotion-preview.d.ts +4 -15
  1638. package/dist/modules/promotions.ee/promotion-preview.js +26 -43
  1639. package/dist/modules/promotions.ee/promotion-preview.js.map +1 -1
  1640. package/dist/modules/promotions.ee/promotion-providers.service.d.ts +9 -4
  1641. package/dist/modules/promotions.ee/promotion-providers.service.js +44 -7
  1642. package/dist/modules/promotions.ee/promotion-providers.service.js.map +1 -1
  1643. package/dist/modules/promotions.ee/promotion-review-changes.service.js +65 -24
  1644. package/dist/modules/promotions.ee/promotion-review-changes.service.js.map +1 -1
  1645. package/dist/modules/promotions.ee/promotion-review-commits-missing.error.d.ts +4 -0
  1646. package/dist/modules/promotions.ee/promotion-review-commits-missing.error.js +11 -0
  1647. package/dist/modules/promotions.ee/promotion-review-commits-missing.error.js.map +1 -0
  1648. package/dist/modules/promotions.ee/promotion-review-inbox.service.d.ts +5 -1
  1649. package/dist/modules/promotions.ee/promotion-review-inbox.service.js +42 -8
  1650. package/dist/modules/promotions.ee/promotion-review-inbox.service.js.map +1 -1
  1651. package/dist/modules/promotions.ee/promotion-reviews.controller.js +6 -6
  1652. package/dist/modules/promotions.ee/promotion-reviews.controller.js.map +1 -1
  1653. package/dist/modules/promotions.ee/promotion-reviews.service.d.ts +3 -1
  1654. package/dist/modules/promotions.ee/promotion-reviews.service.js +11 -3
  1655. package/dist/modules/promotions.ee/promotion-reviews.service.js.map +1 -1
  1656. package/dist/modules/promotions.ee/promotion-telemetry.d.ts +12 -0
  1657. package/dist/modules/promotions.ee/promotion-telemetry.js +46 -0
  1658. package/dist/modules/promotions.ee/promotion-telemetry.js.map +1 -0
  1659. package/dist/modules/promotions.ee/promotion-working-directory.service.js +2 -1
  1660. package/dist/modules/promotions.ee/promotion-working-directory.service.js.map +1 -1
  1661. package/dist/modules/promotions.ee/promotions-git.error.d.ts +5 -0
  1662. package/dist/modules/promotions.ee/promotions-git.error.js +11 -0
  1663. package/dist/modules/promotions.ee/promotions-git.error.js.map +1 -0
  1664. package/dist/modules/promotions.ee/promotions-git.service.js +28 -9
  1665. package/dist/modules/promotions.ee/promotions-git.service.js.map +1 -1
  1666. package/dist/modules/promotions.ee/promotions.module.d.ts +1 -1
  1667. package/dist/modules/promotions.ee/promotions.module.js +1 -1
  1668. package/dist/modules/promotions.ee/promotions.module.js.map +1 -1
  1669. package/dist/modules/promotions.ee/promotions.service.d.ts +20 -7
  1670. package/dist/modules/promotions.ee/promotions.service.js +262 -208
  1671. package/dist/modules/promotions.ee/promotions.service.js.map +1 -1
  1672. package/dist/modules/promotions.ee/promotions.types.d.ts +1 -0
  1673. package/dist/modules/promotions.ee/working-copy-updater.js +8 -2
  1674. package/dist/modules/promotions.ee/working-copy-updater.js.map +1 -1
  1675. package/dist/modules/provisioning.ee/provisioning.service.ee.js +5 -0
  1676. package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
  1677. package/dist/modules/redaction/instance-redaction-enforcement.service.js +2 -2
  1678. package/dist/modules/redaction/instance-redaction-enforcement.service.js.map +1 -1
  1679. package/dist/modules/scim/database/scim-transfer-target.repository.d.ts +18 -0
  1680. package/dist/modules/scim/database/scim-transfer-target.repository.js +81 -0
  1681. package/dist/modules/scim/database/scim-transfer-target.repository.js.map +1 -0
  1682. package/dist/modules/scim/database/scim-user.repository.d.ts +2 -2
  1683. package/dist/modules/scim/database/scim-user.repository.js +3 -3
  1684. package/dist/modules/scim/database/scim-user.repository.js.map +1 -1
  1685. package/dist/modules/scim/scim-deprovisioning.service.d.ts +27 -0
  1686. package/dist/modules/scim/scim-deprovisioning.service.js +101 -0
  1687. package/dist/modules/scim/scim-deprovisioning.service.js.map +1 -0
  1688. package/dist/modules/scim/scim-opt-in.d.ts +3 -0
  1689. package/dist/modules/scim/scim-opt-in.js +13 -0
  1690. package/dist/modules/scim/scim-opt-in.js.map +1 -0
  1691. package/dist/modules/scim/scim-route.js +2 -1
  1692. package/dist/modules/scim/scim-route.js.map +1 -1
  1693. package/dist/modules/scim/scim-settings.service.d.ts +4 -0
  1694. package/dist/modules/scim/scim-settings.service.js +17 -1
  1695. package/dist/modules/scim/scim-settings.service.js.map +1 -1
  1696. package/dist/modules/scim/scim-token.controller.d.ts +8 -3
  1697. package/dist/modules/scim/scim-token.controller.js +44 -3
  1698. package/dist/modules/scim/scim-token.controller.js.map +1 -1
  1699. package/dist/modules/scim/scim.errors.d.ts +1 -1
  1700. package/dist/modules/scim/scim.errors.js +8 -8
  1701. package/dist/modules/scim/scim.errors.js.map +1 -1
  1702. package/dist/modules/scim/scim.module.d.ts +1 -0
  1703. package/dist/modules/scim/scim.module.js +9 -1
  1704. package/dist/modules/scim/scim.module.js.map +1 -1
  1705. package/dist/modules/scim/scim.service.d.ts +6 -2
  1706. package/dist/modules/scim/scim.service.js +91 -80
  1707. package/dist/modules/scim/scim.service.js.map +1 -1
  1708. package/dist/modules/skills/controllers/skill-source.controller.d.ts +21 -0
  1709. package/dist/modules/skills/controllers/skill-source.controller.js +107 -0
  1710. package/dist/modules/skills/controllers/skill-source.controller.js.map +1 -0
  1711. package/dist/modules/skills/{skills.controller.d.ts → controllers/skills.controller.d.ts} +8 -6
  1712. package/dist/modules/skills/{skills.controller.js → controllers/skills.controller.js} +44 -17
  1713. package/dist/modules/skills/controllers/skills.controller.js.map +1 -0
  1714. package/dist/modules/skills/database/entities/skill-file.entity.js.map +1 -0
  1715. package/dist/modules/skills/database/entities/skill-source-connection.entity.d.ts +17 -0
  1716. package/dist/modules/skills/database/entities/skill-source-connection.entity.js +66 -0
  1717. package/dist/modules/skills/database/entities/skill-source-connection.entity.js.map +1 -0
  1718. package/dist/modules/skills/database/entities/skill-source-link.entity.d.ts +16 -0
  1719. package/dist/modules/skills/database/entities/skill-source-link.entity.js +70 -0
  1720. package/dist/modules/skills/database/entities/skill-source-link.entity.js.map +1 -0
  1721. package/dist/modules/skills/{skill-version.entity.d.ts → database/entities/skill-version.entity.d.ts} +1 -0
  1722. package/dist/modules/skills/{skill-version.entity.js → database/entities/skill-version.entity.js} +4 -0
  1723. package/dist/modules/skills/database/entities/skill-version.entity.js.map +1 -0
  1724. package/dist/modules/skills/{skill.entity.d.ts → database/entities/skill.entity.d.ts} +0 -1
  1725. package/dist/modules/skills/{skill.entity.js → database/entities/skill.entity.js} +0 -5
  1726. package/dist/modules/skills/database/entities/skill.entity.js.map +1 -0
  1727. package/dist/modules/skills/database/repositories/skill-source.repository.d.ts +63 -0
  1728. package/dist/modules/skills/database/repositories/skill-source.repository.js +178 -0
  1729. package/dist/modules/skills/database/repositories/skill-source.repository.js.map +1 -0
  1730. package/dist/modules/skills/{skill.repository.d.ts → database/repositories/skill.repository.d.ts} +28 -33
  1731. package/dist/modules/skills/{skill.repository.js → database/repositories/skill.repository.js} +102 -97
  1732. package/dist/modules/skills/database/repositories/skill.repository.js.map +1 -0
  1733. package/dist/modules/skills/errors/skill-name-taken.error.js.map +1 -0
  1734. package/dist/modules/skills/errors/skill-parse.error.d.ts +3 -0
  1735. package/dist/modules/skills/errors/skill-parse.error.js +8 -0
  1736. package/dist/modules/skills/errors/skill-parse.error.js.map +1 -0
  1737. package/dist/modules/skills/errors/skill-source-not-found.error.d.ts +7 -0
  1738. package/dist/modules/skills/errors/skill-source-not-found.error.js +13 -0
  1739. package/dist/modules/skills/errors/skill-source-not-found.error.js.map +1 -0
  1740. package/dist/modules/skills/errors/skill-source-read.error.d.ts +9 -0
  1741. package/dist/modules/skills/errors/skill-source-read.error.js +14 -0
  1742. package/dist/modules/skills/errors/skill-source-read.error.js.map +1 -0
  1743. package/dist/modules/skills/errors/skill-source-request.error.d.ts +13 -0
  1744. package/dist/modules/skills/errors/skill-source-request.error.js +59 -0
  1745. package/dist/modules/skills/errors/skill-source-request.error.js.map +1 -0
  1746. package/dist/modules/skills/errors/skill-source-url.error.d.ts +3 -0
  1747. package/dist/modules/skills/errors/skill-source-url.error.js +8 -0
  1748. package/dist/modules/skills/errors/skill-source-url.error.js.map +1 -0
  1749. package/dist/modules/skills/errors/skill-synced.error.d.ts +9 -0
  1750. package/dist/modules/skills/errors/skill-synced.error.js +25 -0
  1751. package/dist/modules/skills/errors/skill-synced.error.js.map +1 -0
  1752. package/dist/modules/skills/errors/skill-tool-refusal.d.ts +14 -0
  1753. package/dist/modules/skills/errors/skill-tool-refusal.js +24 -0
  1754. package/dist/modules/skills/errors/skill-tool-refusal.js.map +1 -0
  1755. package/dist/modules/skills/index.d.ts +15 -0
  1756. package/dist/modules/skills/index.js +38 -0
  1757. package/dist/modules/skills/index.js.map +1 -0
  1758. package/dist/modules/skills/services/assistant-skills-flag-gate.d.ts +8 -0
  1759. package/dist/modules/skills/{assistant-skills-rollout.js → services/assistant-skills-flag-gate.js} +12 -12
  1760. package/dist/modules/skills/services/assistant-skills-flag-gate.js.map +1 -0
  1761. package/dist/modules/skills/services/skill-access.service.d.ts +32 -0
  1762. package/dist/modules/skills/services/skill-access.service.js +133 -0
  1763. package/dist/modules/skills/services/skill-access.service.js.map +1 -0
  1764. package/dist/modules/skills/services/skill-runtime.service.d.ts +47 -0
  1765. package/dist/modules/skills/services/skill-runtime.service.js +155 -0
  1766. package/dist/modules/skills/services/skill-runtime.service.js.map +1 -0
  1767. package/dist/modules/skills/services/skill-security-scanner.service.d.ts +8 -0
  1768. package/dist/modules/skills/services/skill-security-scanner.service.js +45 -0
  1769. package/dist/modules/skills/services/skill-security-scanner.service.js.map +1 -0
  1770. package/dist/modules/skills/services/skill-source-check.task.d.ts +12 -0
  1771. package/dist/modules/skills/services/skill-source-check.task.js +36 -0
  1772. package/dist/modules/skills/services/skill-source-check.task.js.map +1 -0
  1773. package/dist/modules/skills/services/skill-source-credentials-proxy.service.d.ts +12 -0
  1774. package/dist/modules/skills/services/skill-source-credentials-proxy.service.js +45 -0
  1775. package/dist/modules/skills/services/skill-source-credentials-proxy.service.js.map +1 -0
  1776. package/dist/modules/skills/services/skill-source-credentials.contracts.d.ts +17 -0
  1777. package/dist/modules/skills/services/skill-source-credentials.contracts.js +7 -0
  1778. package/dist/modules/skills/services/skill-source-credentials.contracts.js.map +1 -0
  1779. package/dist/modules/skills/services/skill-source.policy.d.ts +4 -0
  1780. package/dist/modules/skills/services/skill-source.policy.js +21 -0
  1781. package/dist/modules/skills/services/skill-source.policy.js.map +1 -0
  1782. package/dist/modules/skills/services/skill-source.service.d.ts +40 -0
  1783. package/dist/modules/skills/services/skill-source.service.js +482 -0
  1784. package/dist/modules/skills/services/skill-source.service.js.map +1 -0
  1785. package/dist/modules/skills/services/skill-sync-flag-gate.d.ts +10 -0
  1786. package/dist/modules/skills/services/skill-sync-flag-gate.js +39 -0
  1787. package/dist/modules/skills/services/skill-sync-flag-gate.js.map +1 -0
  1788. package/dist/modules/skills/services/skill-sync.service.d.ts +39 -0
  1789. package/dist/modules/skills/services/skill-sync.service.js +345 -0
  1790. package/dist/modules/skills/services/skill-sync.service.js.map +1 -0
  1791. package/dist/modules/skills/services/skill-synced-from.service.d.ts +16 -0
  1792. package/dist/modules/skills/services/skill-synced-from.service.js +58 -0
  1793. package/dist/modules/skills/services/skill-synced-from.service.js.map +1 -0
  1794. package/dist/modules/skills/services/skill-usage-proxy.service.d.ts +20 -0
  1795. package/dist/modules/skills/services/skill-usage-proxy.service.js +71 -0
  1796. package/dist/modules/skills/services/skill-usage-proxy.service.js.map +1 -0
  1797. package/dist/modules/skills/services/skill-usage.contracts.d.ts +20 -0
  1798. package/dist/modules/skills/services/skill-usage.contracts.js +7 -0
  1799. package/dist/modules/skills/services/skill-usage.contracts.js.map +1 -0
  1800. package/dist/modules/skills/services/skill.policy.d.ts +13 -0
  1801. package/dist/modules/skills/services/skill.policy.js +67 -0
  1802. package/dist/modules/skills/services/skill.policy.js.map +1 -0
  1803. package/dist/modules/skills/services/skill.service.d.ts +81 -0
  1804. package/dist/modules/skills/services/skill.service.js +550 -0
  1805. package/dist/modules/skills/services/skill.service.js.map +1 -0
  1806. package/dist/modules/skills/services/skills-gate.d.ts +6 -0
  1807. package/dist/modules/{instance-ai/repositories/instance-ai-iteration-log.repository.js → skills/services/skills-gate.js} +13 -11
  1808. package/dist/modules/skills/services/skills-gate.js.map +1 -0
  1809. package/dist/modules/skills/services/skills-telemetry.service.d.ts +38 -0
  1810. package/dist/modules/skills/{skills-telemetry.js → services/skills-telemetry.service.js} +57 -23
  1811. package/dist/modules/skills/services/skills-telemetry.service.js.map +1 -0
  1812. package/dist/modules/skills/skill-sync.config.d.ts +3 -0
  1813. package/dist/modules/skills/skill-sync.config.js +28 -0
  1814. package/dist/modules/skills/skill-sync.config.js.map +1 -0
  1815. package/dist/modules/skills/skills.module.d.ts +2 -1
  1816. package/dist/modules/skills/skills.module.js +15 -8
  1817. package/dist/modules/skills/skills.module.js.map +1 -1
  1818. package/dist/modules/skills/sources/github/git-refs.d.ts +7 -0
  1819. package/dist/modules/skills/sources/github/git-refs.js +57 -0
  1820. package/dist/modules/skills/sources/github/git-refs.js.map +1 -0
  1821. package/dist/modules/skills/sources/github/github-archive.d.ts +20 -0
  1822. package/dist/modules/skills/sources/github/github-archive.js +126 -0
  1823. package/dist/modules/skills/sources/github/github-archive.js.map +1 -0
  1824. package/dist/modules/skills/sources/github/github-link.d.ts +14 -0
  1825. package/dist/modules/skills/sources/github/github-link.js +75 -0
  1826. package/dist/modules/skills/sources/github/github-link.js.map +1 -0
  1827. package/dist/modules/skills/sources/github/github-skill-source-client.d.ts +52 -0
  1828. package/dist/modules/skills/sources/github/github-skill-source-client.js +411 -0
  1829. package/dist/modules/skills/sources/github/github-skill-source-client.js.map +1 -0
  1830. package/dist/modules/skills/sources/github/skill-discovery.d.ts +13 -0
  1831. package/dist/modules/skills/sources/github/skill-discovery.js +85 -0
  1832. package/dist/modules/skills/sources/github/skill-discovery.js.map +1 -0
  1833. package/dist/modules/skills/sources/skill-source-client-registry.service.d.ts +7 -0
  1834. package/dist/modules/skills/sources/skill-source-client-registry.service.js +33 -0
  1835. package/dist/modules/skills/sources/skill-source-client-registry.service.js.map +1 -0
  1836. package/dist/modules/skills/sources/skill-source-client.d.ts +75 -0
  1837. package/dist/modules/skills/sources/skill-source-client.js +12 -0
  1838. package/dist/modules/skills/sources/skill-source-client.js.map +1 -0
  1839. package/dist/modules/skills/{skill-content-hash.d.ts → utils/skill-content-hash.d.ts} +1 -1
  1840. package/dist/modules/skills/utils/skill-content-hash.js.map +1 -0
  1841. package/dist/modules/skills/utils/skill-content.d.ts +156 -0
  1842. package/dist/modules/skills/utils/skill-content.js +98 -0
  1843. package/dist/modules/skills/utils/skill-content.js.map +1 -0
  1844. package/dist/modules/skills/utils/skill-hash.js.map +1 -0
  1845. package/dist/modules/skills/utils/skill-md.d.ts +11 -0
  1846. package/dist/modules/skills/utils/skill-md.js +92 -0
  1847. package/dist/modules/skills/utils/skill-md.js.map +1 -0
  1848. package/dist/modules/skills/utils/skill-names.js.map +1 -0
  1849. package/dist/modules/skills/utils/skill-security-rules.d.ts +16 -0
  1850. package/dist/modules/skills/utils/skill-security-rules.js +306 -0
  1851. package/dist/modules/skills/utils/skill-security-rules.js.map +1 -0
  1852. package/dist/modules/source-control.ee/source-control-export.service.ee.d.ts +1 -1
  1853. package/dist/modules/source-control.ee/source-control-export.service.ee.js +13 -13
  1854. package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
  1855. package/dist/modules/source-control.ee/source-control-git.service.ee.js +27 -27
  1856. package/dist/modules/source-control.ee/source-control-git.service.ee.js.map +1 -1
  1857. package/dist/modules/source-control.ee/source-control-helper.ee.js +2 -1
  1858. package/dist/modules/source-control.ee/source-control-helper.ee.js.map +1 -1
  1859. package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +6 -6
  1860. package/dist/modules/source-control.ee/source-control-import.service.ee.js +32 -30
  1861. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  1862. package/dist/modules/source-control.ee/source-control-preferences.service.ee.js +14 -21
  1863. package/dist/modules/source-control.ee/source-control-preferences.service.ee.js.map +1 -1
  1864. package/dist/modules/source-control.ee/source-control-scoped.service.d.ts +1 -1
  1865. package/dist/modules/source-control.ee/source-control-status.service.ee.js +1 -2
  1866. package/dist/modules/source-control.ee/source-control-status.service.ee.js.map +1 -1
  1867. package/dist/modules/source-control.ee/source-control.service.ee.js +5 -5
  1868. package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
  1869. package/dist/modules/source-control.ee/types/resource-owner.d.ts +1 -1
  1870. package/dist/modules/source-control.ee/types/source-control-context.js +3 -1
  1871. package/dist/modules/source-control.ee/types/source-control-context.js.map +1 -1
  1872. package/dist/modules/sso-oidc/oidc.service.ee.d.ts +3 -2
  1873. package/dist/modules/sso-oidc/oidc.service.ee.js +13 -12
  1874. package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
  1875. package/dist/modules/sso-saml/errors/invalid-saml-metadata-url.error.d.ts +1 -1
  1876. package/dist/modules/sso-saml/errors/invalid-saml-metadata-url.error.js +2 -2
  1877. package/dist/modules/sso-saml/errors/invalid-saml-metadata-url.error.js.map +1 -1
  1878. package/dist/modules/sso-saml/errors/invalid-saml-metadata.error.d.ts +1 -1
  1879. package/dist/modules/sso-saml/errors/invalid-saml-metadata.error.js +2 -2
  1880. package/dist/modules/sso-saml/errors/invalid-saml-metadata.error.js.map +1 -1
  1881. package/dist/modules/sso-saml/saml-helpers.d.ts +2 -2
  1882. package/dist/modules/sso-saml/saml-helpers.js +13 -16
  1883. package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
  1884. package/dist/modules/sso-saml/saml.service.ee.d.ts +3 -3
  1885. package/dist/modules/sso-saml/saml.service.ee.js +17 -17
  1886. package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
  1887. package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.js +2 -1
  1888. package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.js.map +1 -1
  1889. package/dist/modules/token-exchange/services/identity-resolution.service.d.ts +3 -2
  1890. package/dist/modules/token-exchange/services/identity-resolution.service.js +18 -19
  1891. package/dist/modules/token-exchange/services/identity-resolution.service.js.map +1 -1
  1892. package/dist/modules/token-exchange/services/jwks-resolver.js +6 -6
  1893. package/dist/modules/token-exchange/services/jwks-resolver.js.map +1 -1
  1894. package/dist/modules/token-exchange/services/trusted-key.service.js +12 -11
  1895. package/dist/modules/token-exchange/services/trusted-key.service.js.map +1 -1
  1896. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-attachment.repository.js +4 -4
  1897. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-attachment.repository.js.map +1 -1
  1898. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js +2 -2
  1899. package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js.map +1 -1
  1900. package/dist/modules/type-availability-policies/type-availability-policy-snapshot.d.ts +1 -3
  1901. package/dist/modules/type-availability-policies/type-availability-policy-snapshot.js +2 -11
  1902. package/dist/modules/type-availability-policies/type-availability-policy-snapshot.js.map +1 -1
  1903. package/dist/modules/type-availability-policies/type-availability-policy.service.js +9 -9
  1904. package/dist/modules/type-availability-policies/type-availability-policy.service.js.map +1 -1
  1905. package/dist/modules/workflow-index/workflow-dependency-query.service.d.ts +1 -1
  1906. package/dist/modules/workflow-index/workflow-dependency-query.service.js +15 -18
  1907. package/dist/modules/workflow-index/workflow-dependency-query.service.js.map +1 -1
  1908. package/dist/modules/workflow-index/workflow-index.service.d.ts +1 -0
  1909. package/dist/modules/workflow-index/workflow-index.service.js +20 -1
  1910. package/dist/modules/workflow-index/workflow-index.service.js.map +1 -1
  1911. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +2 -2
  1912. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -1
  1913. package/dist/modules/workflow-reviews.ee/workflow-review-request-submission.service.d.ts +3 -3
  1914. package/dist/modules/workflow-reviews.ee/workflow-review-request-submission.service.js +6 -6
  1915. package/dist/modules/workflow-reviews.ee/workflow-review-request-submission.service.js.map +1 -1
  1916. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js +4 -0
  1917. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js.map +1 -1
  1918. package/dist/node-execution/ephemeral-node-executor.js +14 -14
  1919. package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
  1920. package/dist/node-types.js +3 -2
  1921. package/dist/node-types.js.map +1 -1
  1922. package/dist/oauth/oauth.service.d.ts +12 -1
  1923. package/dist/oauth/oauth.service.js +71 -13
  1924. package/dist/oauth/oauth.service.js.map +1 -1
  1925. package/dist/observability/agent-365-provider.d.ts +3 -0
  1926. package/dist/observability/agent-365-provider.js +55 -0
  1927. package/dist/observability/agent-365-provider.js.map +1 -0
  1928. package/dist/observability/customer-sampling.d.ts +22 -0
  1929. package/dist/observability/customer-sampling.js +53 -0
  1930. package/dist/observability/customer-sampling.js.map +1 -0
  1931. package/dist/observability/observability-boot.d.ts +1 -0
  1932. package/dist/observability/observability-boot.js +18 -0
  1933. package/dist/observability/observability-boot.js.map +1 -0
  1934. package/dist/observability/otel-sdk.d.ts +24 -0
  1935. package/dist/observability/otel-sdk.js +162 -0
  1936. package/dist/observability/otel-sdk.js.map +1 -0
  1937. package/dist/observability/outbound-propagator.d.ts +7 -0
  1938. package/dist/observability/outbound-propagator.js +33 -0
  1939. package/dist/observability/outbound-propagator.js.map +1 -0
  1940. package/dist/observability/span-resource.d.ts +3 -0
  1941. package/dist/observability/span-resource.js +9 -0
  1942. package/dist/observability/span-resource.js.map +1 -0
  1943. package/dist/observability/swappable-pipeline.d.ts +31 -0
  1944. package/dist/observability/swappable-pipeline.js +84 -0
  1945. package/dist/observability/swappable-pipeline.js.map +1 -0
  1946. package/dist/observability/tracer-gate.d.ts +10 -0
  1947. package/dist/observability/tracer-gate.js +39 -0
  1948. package/dist/observability/tracer-gate.js.map +1 -0
  1949. package/dist/observability/tracer-names.d.ts +6 -0
  1950. package/dist/observability/tracer-names.js +10 -0
  1951. package/dist/observability/tracer-names.js.map +1 -0
  1952. package/dist/permissions.ee/check-access.js +2 -3
  1953. package/dist/permissions.ee/check-access.js.map +1 -1
  1954. package/dist/policy/policy-enforcement-backend.d.ts +1 -1
  1955. package/dist/policy/policy-enforcement.service.js +2 -2
  1956. package/dist/policy/policy-enforcement.service.js.map +1 -1
  1957. package/dist/policy/policy-violation.error.d.ts +1 -1
  1958. package/dist/policy/policy-violation.error.js +2 -1
  1959. package/dist/policy/policy-violation.error.js.map +1 -1
  1960. package/dist/public-api/idempotency-key.service.js +3 -3
  1961. package/dist/public-api/idempotency-key.service.js.map +1 -1
  1962. package/dist/public-api/index.js +3 -1
  1963. package/dist/public-api/index.js.map +1 -1
  1964. package/dist/public-api/public-api-client.d.ts +2 -0
  1965. package/dist/public-api/public-api-client.js +9 -0
  1966. package/dist/public-api/public-api-client.js.map +1 -0
  1967. package/dist/public-api/public-api-controller.registry.js +3 -0
  1968. package/dist/public-api/public-api-controller.registry.js.map +1 -1
  1969. package/dist/public-api/public-api-rate-limit-settings.service.d.ts +7 -1
  1970. package/dist/public-api/public-api-rate-limit-settings.service.js +29 -2
  1971. package/dist/public-api/public-api-rate-limit-settings.service.js.map +1 -1
  1972. package/dist/public-api/public-api-rate-limit-store.factory.d.ts +1 -0
  1973. package/dist/public-api/public-api-rate-limit-store.factory.js +4 -0
  1974. package/dist/public-api/public-api-rate-limit-store.factory.js.map +1 -1
  1975. package/dist/public-api/public-api-rate-limit.service.d.ts +8 -6
  1976. package/dist/public-api/public-api-rate-limit.service.js +56 -32
  1977. package/dist/public-api/public-api-rate-limit.service.js.map +1 -1
  1978. package/dist/public-api/public-api-route-resolver.js +4 -4
  1979. package/dist/public-api/public-api-route-resolver.js.map +1 -1
  1980. package/dist/public-api/swagger-spec.d.ts +4 -0
  1981. package/dist/public-api/swagger-spec.js +25 -0
  1982. package/dist/public-api/swagger-spec.js.map +1 -0
  1983. package/dist/public-api/v1/controllers/credentials.public.controller.js +2 -0
  1984. package/dist/public-api/v1/controllers/credentials.public.controller.js.map +1 -1
  1985. package/dist/public-api/v1/controllers/data-tables.public.controller.d.ts +1 -2
  1986. package/dist/public-api/v1/controllers/data-tables.public.controller.js +20 -19
  1987. package/dist/public-api/v1/controllers/data-tables.public.controller.js.map +1 -1
  1988. package/dist/public-api/v1/controllers/executions.public.controller.js.map +1 -1
  1989. package/dist/public-api/v1/controllers/folders.public.controller.js +1 -2
  1990. package/dist/public-api/v1/controllers/folders.public.controller.js.map +1 -1
  1991. package/dist/public-api/v1/controllers/index.d.ts +1 -0
  1992. package/dist/public-api/v1/controllers/index.js +1 -0
  1993. package/dist/public-api/v1/controllers/index.js.map +1 -1
  1994. package/dist/public-api/v1/controllers/insights.public.controller.js +1 -2
  1995. package/dist/public-api/v1/controllers/insights.public.controller.js.map +1 -1
  1996. package/dist/public-api/v1/controllers/n8n-packages.public.controller.js +2 -3
  1997. package/dist/public-api/v1/controllers/n8n-packages.public.controller.js.map +1 -1
  1998. package/dist/public-api/v1/controllers/node-type-policies.public.controller.js +1 -2
  1999. package/dist/public-api/v1/controllers/node-type-policies.public.controller.js.map +1 -1
  2000. package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js +53 -16
  2001. package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js.map +1 -1
  2002. package/dist/public-api/v1/controllers/otel.public.controller.d.ts +1 -5
  2003. package/dist/public-api/v1/controllers/otel.public.controller.js +3 -9
  2004. package/dist/public-api/v1/controllers/otel.public.controller.js.map +1 -1
  2005. package/dist/public-api/v1/controllers/promotions.public.controller.d.ts +9 -8
  2006. package/dist/public-api/v1/controllers/promotions.public.controller.js +113 -93
  2007. package/dist/public-api/v1/controllers/promotions.public.controller.js.map +1 -1
  2008. package/dist/public-api/v1/controllers/rate-limits.public.controller.d.ts +10 -0
  2009. package/dist/public-api/v1/controllers/rate-limits.public.controller.js +84 -0
  2010. package/dist/public-api/v1/controllers/rate-limits.public.controller.js.map +1 -0
  2011. package/dist/public-api/v1/handlers/discover/discover.service.d.ts +0 -1
  2012. package/dist/public-api/v1/handlers/discover/discover.service.js +2 -3
  2013. package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
  2014. package/dist/public-api/v1/openapi-gen/decorator-routes.d.ts +3 -2
  2015. package/dist/public-api/v1/openapi-gen/decorator-routes.js +6 -18
  2016. package/dist/public-api/v1/openapi-gen/decorator-routes.js.map +1 -1
  2017. package/dist/public-api/v1/openapi-gen/generate.js +7 -7
  2018. package/dist/public-api/v1/openapi-gen/generate.js.map +1 -1
  2019. package/dist/public-api/v1/openapi-gen/request-body-json-schema.d.ts +3 -0
  2020. package/dist/public-api/v1/openapi-gen/request-body-json-schema.js +19 -0
  2021. package/dist/public-api/v1/openapi-gen/request-body-json-schema.js.map +1 -0
  2022. package/dist/public-api/v1/openapi.yml +1282 -119
  2023. package/dist/push/websocket.push.js +2 -2
  2024. package/dist/push/websocket.push.js.map +1 -1
  2025. package/dist/requests.d.ts +1 -0
  2026. package/dist/scaling/constants.d.ts +2 -2
  2027. package/dist/scaling/constants.js +2 -0
  2028. package/dist/scaling/constants.js.map +1 -1
  2029. package/dist/scaling/execution-stop.service.d.ts +3 -1
  2030. package/dist/scaling/execution-stop.service.js +6 -2
  2031. package/dist/scaling/execution-stop.service.js.map +1 -1
  2032. package/dist/scaling/job-processor.d.ts +1 -0
  2033. package/dist/scaling/job-processor.js +20 -7
  2034. package/dist/scaling/job-processor.js.map +1 -1
  2035. package/dist/scaling/pubsub/pubsub.event-map.d.ts +7 -0
  2036. package/dist/scaling/pubsub/pubsub.types.d.ts +3 -1
  2037. package/dist/scaling/scaling.service.js +9 -7
  2038. package/dist/scaling/scaling.service.js.map +1 -1
  2039. package/dist/scaling/scaling.types.d.ts +1 -0
  2040. package/dist/scaling/webhook-response-relay.js +3 -2
  2041. package/dist/scaling/webhook-response-relay.js.map +1 -1
  2042. package/dist/scheduling/agent-scheduled-job-owner.js +2 -2
  2043. package/dist/scheduling/agent-scheduled-job-owner.js.map +1 -1
  2044. package/dist/scheduling/durable-job-provisioner.js +2 -2
  2045. package/dist/scheduling/durable-job-provisioner.js.map +1 -1
  2046. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js +3 -3
  2047. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js.map +1 -1
  2048. package/dist/scheduling/resolve-task-trigger-node.js +2 -2
  2049. package/dist/scheduling/resolve-task-trigger-node.js.map +1 -1
  2050. package/dist/scheduling/schedule-columns.js +2 -2
  2051. package/dist/scheduling/schedule-columns.js.map +1 -1
  2052. package/dist/scheduling/schedule-trigger-node/schedule-trigger-task-handler.js +2 -1
  2053. package/dist/scheduling/schedule-trigger-node/schedule-trigger-task-handler.js.map +1 -1
  2054. package/dist/scheduling/system-tasks/system-task-job-registrar.js +2 -2
  2055. package/dist/scheduling/system-tasks/system-task-job-registrar.js.map +1 -1
  2056. package/dist/scheduling/system-tasks/system-task-runner.js +2 -2
  2057. package/dist/scheduling/system-tasks/system-task-runner.js.map +1 -1
  2058. package/dist/scheduling/system-tasks/system-task-timer.js +4 -4
  2059. package/dist/scheduling/system-tasks/system-task-timer.js.map +1 -1
  2060. package/dist/services/ai-gateway-browser-use.service.d.ts +30 -0
  2061. package/dist/services/ai-gateway-browser-use.service.js +85 -0
  2062. package/dist/services/ai-gateway-browser-use.service.js.map +1 -0
  2063. package/dist/services/ai-gateway.service.d.ts +25 -4
  2064. package/dist/services/ai-gateway.service.js +82 -39
  2065. package/dist/services/ai-gateway.service.js.map +1 -1
  2066. package/dist/services/dynamic-node-parameters.service.js +10 -5
  2067. package/dist/services/dynamic-node-parameters.service.js.map +1 -1
  2068. package/dist/services/engine-data-plane-proxy.service.d.ts +14 -2
  2069. package/dist/services/engine-data-plane-proxy.service.js +14 -4
  2070. package/dist/services/engine-data-plane-proxy.service.js.map +1 -1
  2071. package/dist/services/engine-v2-dispatcher.service.d.ts +2 -1
  2072. package/dist/services/engine-v2-dispatcher.service.js +47 -13
  2073. package/dist/services/engine-v2-dispatcher.service.js.map +1 -1
  2074. package/dist/services/engine-v2-manual-run-planner.js +7 -7
  2075. package/dist/services/engine-v2-manual-run-planner.js.map +1 -1
  2076. package/dist/services/engine-v2-workflow-payload.d.ts +14 -0
  2077. package/dist/services/engine-v2-workflow-payload.js +14 -0
  2078. package/dist/services/engine-v2-workflow-payload.js.map +1 -0
  2079. package/dist/services/export.service.js +4 -4
  2080. package/dist/services/export.service.js.map +1 -1
  2081. package/dist/services/folder.service.js +4 -3
  2082. package/dist/services/folder.service.js.map +1 -1
  2083. package/dist/services/hooks.service.d.ts +7 -7
  2084. package/dist/services/hooks.service.js +6 -6
  2085. package/dist/services/hooks.service.js.map +1 -1
  2086. package/dist/services/import.service.d.ts +1 -1
  2087. package/dist/services/import.service.js +6 -7
  2088. package/dist/services/import.service.js.map +1 -1
  2089. package/dist/services/node-resource-explorer.service.js +1 -1
  2090. package/dist/services/node-resource-explorer.service.js.map +1 -1
  2091. package/dist/services/ownership-transfer/ownership-transfer.manifest.json +7 -2
  2092. package/dist/services/ownership-transfer/ownership-transfer.service.d.ts +2 -0
  2093. package/dist/services/ownership-transfer/ownership-transfer.service.js +5 -0
  2094. package/dist/services/ownership-transfer/ownership-transfer.service.js.map +1 -1
  2095. package/dist/services/ownership.service.d.ts +1 -0
  2096. package/dist/services/ownership.service.js +10 -1
  2097. package/dist/services/ownership.service.js.map +1 -1
  2098. package/dist/services/process-internals.service.js +1 -1
  2099. package/dist/services/process-internals.service.js.map +1 -1
  2100. package/dist/services/project.service.ee.d.ts +7 -13
  2101. package/dist/services/project.service.ee.js +37 -68
  2102. package/dist/services/project.service.ee.js.map +1 -1
  2103. package/dist/services/proxy-token-manager.js +2 -2
  2104. package/dist/services/proxy-token-manager.js.map +1 -1
  2105. package/dist/services/rate-limit.service.d.ts +4 -1
  2106. package/dist/services/rate-limit.service.js +1 -0
  2107. package/dist/services/rate-limit.service.js.map +1 -1
  2108. package/dist/services/sandbox-settings.service.js +1 -2
  2109. package/dist/services/sandbox-settings.service.js.map +1 -1
  2110. package/dist/services/user.service.d.ts +19 -6
  2111. package/dist/services/user.service.js +51 -36
  2112. package/dist/services/user.service.js.map +1 -1
  2113. package/dist/services/workflow-loader.service.d.ts +1 -1
  2114. package/dist/services/workflow-loader.service.js +2 -2
  2115. package/dist/services/workflow-loader.service.js.map +1 -1
  2116. package/dist/services/workflow-review-policy.service.js +2 -1
  2117. package/dist/services/workflow-review-policy.service.js.map +1 -1
  2118. package/dist/services/workflow-statistics-rollup.service.js +2 -2
  2119. package/dist/services/workflow-statistics-rollup.service.js.map +1 -1
  2120. package/dist/services/workflow-statistics.service.js +10 -4
  2121. package/dist/services/workflow-statistics.service.js.map +1 -1
  2122. package/dist/shutdown/shutdown.service.d.ts +1 -1
  2123. package/dist/shutdown/shutdown.service.js +6 -5
  2124. package/dist/shutdown/shutdown.service.js.map +1 -1
  2125. package/dist/sso.ee/scim-switch-reader.js.map +1 -1
  2126. package/dist/task-runners/errors/missing-requirements.error.d.ts +1 -1
  2127. package/dist/task-runners/errors/missing-requirements.error.js +2 -2
  2128. package/dist/task-runners/errors/missing-requirements.error.js.map +1 -1
  2129. package/dist/task-runners/errors/task-cancelled.error.d.ts +1 -1
  2130. package/dist/task-runners/errors/task-cancelled.error.js +2 -2
  2131. package/dist/task-runners/errors/task-cancelled.error.js.map +1 -1
  2132. package/dist/task-runners/errors/task-request-timeout.error.d.ts +1 -1
  2133. package/dist/task-runners/errors/task-request-timeout.error.js +2 -2
  2134. package/dist/task-runners/errors/task-request-timeout.error.js.map +1 -1
  2135. package/dist/task-runners/errors/task-runner-disconnected-error.d.ts +1 -1
  2136. package/dist/task-runners/errors/task-runner-disconnected-error.js +2 -2
  2137. package/dist/task-runners/errors/task-runner-disconnected-error.js.map +1 -1
  2138. package/dist/task-runners/errors/task-runner-failed-heartbeat.error.d.ts +1 -1
  2139. package/dist/task-runners/errors/task-runner-failed-heartbeat.error.js +2 -2
  2140. package/dist/task-runners/errors/task-runner-failed-heartbeat.error.js.map +1 -1
  2141. package/dist/task-runners/errors/task-runner-oom-error.d.ts +1 -1
  2142. package/dist/task-runners/errors/task-runner-oom-error.js +2 -2
  2143. package/dist/task-runners/errors/task-runner-oom-error.js.map +1 -1
  2144. package/dist/task-runners/errors/task-runner-restart-loop-error.d.ts +1 -1
  2145. package/dist/task-runners/errors/task-runner-restart-loop-error.js +2 -2
  2146. package/dist/task-runners/errors/task-runner-restart-loop-error.js.map +1 -1
  2147. package/dist/task-runners/task-broker/errors/task-deferred.error.d.ts +1 -1
  2148. package/dist/task-runners/task-broker/errors/task-deferred.error.js +2 -2
  2149. package/dist/task-runners/task-broker/errors/task-deferred.error.js.map +1 -1
  2150. package/dist/task-runners/task-broker/errors/task-reject.error.d.ts +1 -1
  2151. package/dist/task-runners/task-broker/errors/task-reject.error.js +2 -2
  2152. package/dist/task-runners/task-broker/errors/task-reject.error.js.map +1 -1
  2153. package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.d.ts +1 -1
  2154. package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.js +2 -2
  2155. package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.js.map +1 -1
  2156. package/dist/task-runners/task-broker/errors/task-runner-accept-timeout.error.d.ts +1 -1
  2157. package/dist/task-runners/task-broker/errors/task-runner-accept-timeout.error.js +2 -2
  2158. package/dist/task-runners/task-broker/errors/task-runner-accept-timeout.error.js.map +1 -1
  2159. package/dist/task-runners/task-broker/errors/task-runner-execution-timeout.error.d.ts +1 -1
  2160. package/dist/task-runners/task-broker/errors/task-runner-execution-timeout.error.js +2 -2
  2161. package/dist/task-runners/task-broker/errors/task-runner-execution-timeout.error.js.map +1 -1
  2162. package/dist/task-runners/task-broker/errors/task-runner-shutdown-timeout.error.d.ts +1 -1
  2163. package/dist/task-runners/task-broker/errors/task-runner-shutdown-timeout.error.js +2 -2
  2164. package/dist/task-runners/task-broker/errors/task-runner-shutdown-timeout.error.js.map +1 -1
  2165. package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.d.ts +1 -1
  2166. package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.js +2 -2
  2167. package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.js.map +1 -1
  2168. package/dist/task-runners/task-broker/task-broker-server.js.map +1 -1
  2169. package/dist/task-runners/task-broker/task-broker-ws-server.js +2 -1
  2170. package/dist/task-runners/task-broker/task-broker-ws-server.js.map +1 -1
  2171. package/dist/task-runners/task-broker/task-broker.service.js +7 -7
  2172. package/dist/task-runners/task-broker/task-broker.service.js.map +1 -1
  2173. package/dist/telemetry/index.d.ts +6 -0
  2174. package/dist/telemetry/index.js +12 -4
  2175. package/dist/telemetry/index.js.map +1 -1
  2176. package/dist/user-management/email/user-management-mailer.d.ts +3 -3
  2177. package/dist/user-management/email/user-management-mailer.js +10 -10
  2178. package/dist/user-management/email/user-management-mailer.js.map +1 -1
  2179. package/dist/utils/ai-service-retry.js +3 -3
  2180. package/dist/utils/ai-service-retry.js.map +1 -1
  2181. package/dist/utils/auth-fetch.js +3 -2
  2182. package/dist/utils/auth-fetch.js.map +1 -1
  2183. package/dist/utils.d.ts +0 -1
  2184. package/dist/utils.js +0 -10
  2185. package/dist/utils.js.map +1 -1
  2186. package/dist/wait-tracker.d.ts +7 -1
  2187. package/dist/wait-tracker.js +56 -7
  2188. package/dist/wait-tracker.js.map +1 -1
  2189. package/dist/webhooks/engine-v2-webhooks.d.ts +1 -0
  2190. package/dist/webhooks/engine-v2-webhooks.js +19 -7
  2191. package/dist/webhooks/engine-v2-webhooks.js.map +1 -1
  2192. package/dist/webhooks/test-webhook-registrations.service.d.ts +1 -1
  2193. package/dist/webhooks/test-webhook-registrations.service.js +2 -2
  2194. package/dist/webhooks/test-webhook-registrations.service.js.map +1 -1
  2195. package/dist/webhooks/test-webhooks.d.ts +4 -3
  2196. package/dist/webhooks/test-webhooks.js +18 -5
  2197. package/dist/webhooks/test-webhooks.js.map +1 -1
  2198. package/dist/webhooks/waiting-forms.d.ts +13 -1
  2199. package/dist/webhooks/waiting-forms.js +43 -0
  2200. package/dist/webhooks/waiting-forms.js.map +1 -1
  2201. package/dist/webhooks/waiting-webhooks.d.ts +21 -2
  2202. package/dist/webhooks/waiting-webhooks.js +97 -4
  2203. package/dist/webhooks/waiting-webhooks.js.map +1 -1
  2204. package/dist/webhooks/webhook-helpers.d.ts +5 -1
  2205. package/dist/webhooks/webhook-helpers.js +37 -18
  2206. package/dist/webhooks/webhook-helpers.js.map +1 -1
  2207. package/dist/webhooks/webhook-last-node-response-extractor.d.ts +1 -1
  2208. package/dist/webhooks/webhook-last-node-response-extractor.js +7 -6
  2209. package/dist/webhooks/webhook-last-node-response-extractor.js.map +1 -1
  2210. package/dist/webhooks/webhook.service.js +10 -2
  2211. package/dist/webhooks/webhook.service.js.map +1 -1
  2212. package/dist/webhooks/webhook.types.d.ts +4 -0
  2213. package/dist/workflow-execute-additional-data.js +8 -7
  2214. package/dist/workflow-execute-additional-data.js.map +1 -1
  2215. package/dist/workflow-helpers.js +1 -1
  2216. package/dist/workflow-helpers.js.map +1 -1
  2217. package/dist/workflow-runner.d.ts +1 -1
  2218. package/dist/workflow-runner.js +16 -5
  2219. package/dist/workflow-runner.js.map +1 -1
  2220. package/dist/workflows/callable/callable-workflow-input.d.ts +16 -0
  2221. package/dist/workflows/callable/callable-workflow-input.js +118 -0
  2222. package/dist/workflows/callable/callable-workflow-input.js.map +1 -0
  2223. package/dist/{modules/agents/tools/workflow-tool-workflow-loader.service.d.ts → workflows/callable/callable-workflow-loader.service.d.ts} +4 -4
  2224. package/dist/{modules/agents/tools/workflow-tool-workflow-loader.service.js → workflows/callable/callable-workflow-loader.service.js} +8 -8
  2225. package/dist/workflows/callable/callable-workflow-loader.service.js.map +1 -0
  2226. package/dist/workflows/callable/callable-workflow-result.d.ts +5 -0
  2227. package/dist/workflows/callable/callable-workflow-result.js +45 -0
  2228. package/dist/workflows/callable/callable-workflow-result.js.map +1 -0
  2229. package/dist/{modules/agents/tools/workflow-tool-unavailable-error.d.ts → workflows/callable/callable-workflow-unavailable.error.d.ts} +2 -2
  2230. package/dist/workflows/callable/callable-workflow-unavailable.error.js +12 -0
  2231. package/dist/workflows/callable/callable-workflow-unavailable.error.js.map +1 -0
  2232. package/dist/workflows/execution-timeout-validation.js +2 -2
  2233. package/dist/workflows/execution-timeout-validation.js.map +1 -1
  2234. package/dist/workflows/publication/publication-status-reporter.js +2 -2
  2235. package/dist/workflows/publication/publication-status-reporter.js.map +1 -1
  2236. package/dist/workflows/publication/trigger-node-id-too-long.error.d.ts +2 -1
  2237. package/dist/workflows/publication/trigger-node-id-too-long.error.js +2 -2
  2238. package/dist/workflows/publication/trigger-node-id-too-long.error.js.map +1 -1
  2239. package/dist/workflows/publication/workflow-publication-applier.js +2 -2
  2240. package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
  2241. package/dist/workflows/publication/workflow-publication-outbox-consumer.js +8 -8
  2242. package/dist/workflows/publication/workflow-publication-outbox-consumer.js.map +1 -1
  2243. package/dist/workflows/triggers/engine-v2-active-triggers.js +2 -2
  2244. package/dist/workflows/triggers/engine-v2-active-triggers.js.map +1 -1
  2245. package/dist/workflows/triggers/trigger-execution-context.factory.js +3 -2
  2246. package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
  2247. package/dist/workflows/triggers/workflow-trigger-activator.js +3 -2
  2248. package/dist/workflows/triggers/workflow-trigger-activator.js.map +1 -1
  2249. package/dist/workflows/workflow-creation.service.d.ts +3 -1
  2250. package/dist/workflows/workflow-creation.service.js +5 -2
  2251. package/dist/workflows/workflow-creation.service.js.map +1 -1
  2252. package/dist/workflows/workflow-engine-defaults.d.ts +11 -0
  2253. package/dist/workflows/workflow-engine-defaults.js +35 -0
  2254. package/dist/workflows/workflow-engine-defaults.js.map +1 -0
  2255. package/dist/workflows/workflow-execution.service.d.ts +2 -5
  2256. package/dist/workflows/workflow-execution.service.js +25 -17
  2257. package/dist/workflows/workflow-execution.service.js.map +1 -1
  2258. package/dist/workflows/workflow-history/workflow-history.service.js +5 -5
  2259. package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
  2260. package/dist/workflows/workflow.service.d.ts +5 -2
  2261. package/dist/workflows/workflow.service.ee.js +1 -1
  2262. package/dist/workflows/workflow.service.ee.js.map +1 -1
  2263. package/dist/workflows/workflow.service.js +10 -17
  2264. package/dist/workflows/workflow.service.js.map +1 -1
  2265. package/dist/workflows/workflows.controller.d.ts +1 -5
  2266. package/package.json +55 -51
  2267. package/dist/modules/agents/agent-queued-preview-stream.service.js.map +0 -1
  2268. package/dist/modules/agents/agent-skill-usage.service.d.ts +0 -40
  2269. package/dist/modules/agents/agent-skill-usage.service.js +0 -137
  2270. package/dist/modules/agents/agent-skill-usage.service.js.map +0 -1
  2271. package/dist/modules/agents/builder/agent-builder-preview-path.d.ts +0 -1
  2272. package/dist/modules/agents/builder/agent-builder-preview-path.js.map +0 -1
  2273. package/dist/modules/agents/builder/agents-builder-model-recommendations.d.ts +0 -4
  2274. package/dist/modules/agents/builder/agents-builder-model-recommendations.js +0 -123
  2275. package/dist/modules/agents/builder/agents-builder-model-recommendations.js.map +0 -1
  2276. package/dist/modules/agents/builder/interactive/ask-questions.tool.d.ts +0 -5
  2277. package/dist/modules/agents/builder/interactive/ask-questions.tool.js +0 -104
  2278. package/dist/modules/agents/builder/interactive/ask-questions.tool.js.map +0 -1
  2279. package/dist/modules/agents/builder/skills/research.skill.d.ts +0 -2
  2280. package/dist/modules/agents/builder/skills/research.skill.js +0 -45
  2281. package/dist/modules/agents/builder/skills/research.skill.js.map +0 -1
  2282. package/dist/modules/agents/episodic-memory.d.ts +0 -2
  2283. package/dist/modules/agents/episodic-memory.js +0 -9
  2284. package/dist/modules/agents/episodic-memory.js.map +0 -1
  2285. package/dist/modules/agents/observation-log-observer.d.ts +0 -2
  2286. package/dist/modules/agents/observation-log-observer.js +0 -10
  2287. package/dist/modules/agents/observation-log-observer.js.map +0 -1
  2288. package/dist/modules/agents/observation-log-reflector.d.ts +0 -2
  2289. package/dist/modules/agents/observation-log-reflector.js +0 -9
  2290. package/dist/modules/agents/observation-log-reflector.js.map +0 -1
  2291. package/dist/modules/agents/plans/agent-plan-work-state.js +0 -13
  2292. package/dist/modules/agents/plans/agent-plan-work-state.js.map +0 -1
  2293. package/dist/modules/agents/register-skill-agents-provider.d.ts +0 -1
  2294. package/dist/modules/agents/register-skill-agents-provider.js +0 -10
  2295. package/dist/modules/agents/register-skill-agents-provider.js.map +0 -1
  2296. package/dist/modules/agents/tools/workflow-tool-unavailable-error.js +0 -12
  2297. package/dist/modules/agents/tools/workflow-tool-unavailable-error.js.map +0 -1
  2298. package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js.map +0 -1
  2299. package/dist/modules/data-table/csv-parser.service.d.ts +0 -34
  2300. package/dist/modules/data-table/csv-parser.service.js +0 -179
  2301. package/dist/modules/data-table/csv-parser.service.js.map +0 -1
  2302. package/dist/modules/data-table/data-table-aggregate.controller.d.ts +0 -14
  2303. package/dist/modules/data-table/data-table-aggregate.controller.js +0 -50
  2304. package/dist/modules/data-table/data-table-aggregate.controller.js.map +0 -1
  2305. package/dist/modules/data-table/data-table-aggregate.service.d.ts +0 -18
  2306. package/dist/modules/data-table/data-table-aggregate.service.js +0 -56
  2307. package/dist/modules/data-table/data-table-aggregate.service.js.map +0 -1
  2308. package/dist/modules/data-table/data-table-column.entity.d.ts +0 -9
  2309. package/dist/modules/data-table/data-table-column.entity.js.map +0 -1
  2310. package/dist/modules/data-table/data-table-column.repository.d.ts +0 -38
  2311. package/dist/modules/data-table/data-table-column.repository.js +0 -192
  2312. package/dist/modules/data-table/data-table-column.repository.js.map +0 -1
  2313. package/dist/modules/data-table/data-table-csv-import.service.d.ts +0 -21
  2314. package/dist/modules/data-table/data-table-csv-import.service.js +0 -121
  2315. package/dist/modules/data-table/data-table-csv-import.service.js.map +0 -1
  2316. package/dist/modules/data-table/data-table-ddl.service.d.ts +0 -13
  2317. package/dist/modules/data-table/data-table-ddl.service.js +0 -77
  2318. package/dist/modules/data-table/data-table-ddl.service.js.map +0 -1
  2319. package/dist/modules/data-table/data-table-file-cleanup.service.d.ts +0 -12
  2320. package/dist/modules/data-table/data-table-file-cleanup.service.js +0 -83
  2321. package/dist/modules/data-table/data-table-file-cleanup.service.js.map +0 -1
  2322. package/dist/modules/data-table/data-table-file-cleanup.task.d.ts +0 -13
  2323. package/dist/modules/data-table/data-table-file-cleanup.task.js +0 -33
  2324. package/dist/modules/data-table/data-table-file-cleanup.task.js.map +0 -1
  2325. package/dist/modules/data-table/data-table-permissions.d.ts +0 -7
  2326. package/dist/modules/data-table/data-table-permissions.js +0 -20
  2327. package/dist/modules/data-table/data-table-permissions.js.map +0 -1
  2328. package/dist/modules/data-table/data-table-proxy.service.d.ts +0 -64
  2329. package/dist/modules/data-table/data-table-proxy.service.js +0 -213
  2330. package/dist/modules/data-table/data-table-proxy.service.js.map +0 -1
  2331. package/dist/modules/data-table/data-table-rows.repository.d.ts +0 -35
  2332. package/dist/modules/data-table/data-table-rows.repository.js +0 -438
  2333. package/dist/modules/data-table/data-table-rows.repository.js.map +0 -1
  2334. package/dist/modules/data-table/data-table-size-validator.service.d.ts +0 -17
  2335. package/dist/modules/data-table/data-table-size-validator.service.js +0 -86
  2336. package/dist/modules/data-table/data-table-size-validator.service.js.map +0 -1
  2337. package/dist/modules/data-table/data-table-uploads.controller.d.ts +0 -13
  2338. package/dist/modules/data-table/data-table-uploads.controller.js +0 -68
  2339. package/dist/modules/data-table/data-table-uploads.controller.js.map +0 -1
  2340. package/dist/modules/data-table/data-table.controller.d.ts +0 -91
  2341. package/dist/modules/data-table/data-table.controller.js +0 -474
  2342. package/dist/modules/data-table/data-table.controller.js.map +0 -1
  2343. package/dist/modules/data-table/data-table.entity.d.ts +0 -9
  2344. package/dist/modules/data-table/data-table.entity.js +0 -46
  2345. package/dist/modules/data-table/data-table.entity.js.map +0 -1
  2346. package/dist/modules/data-table/data-table.module.d.ts +0 -10
  2347. package/dist/modules/data-table/data-table.module.js +0 -67
  2348. package/dist/modules/data-table/data-table.module.js.map +0 -1
  2349. package/dist/modules/data-table/data-table.repository.d.ts +0 -38
  2350. package/dist/modules/data-table/data-table.repository.js +0 -317
  2351. package/dist/modules/data-table/data-table.repository.js.map +0 -1
  2352. package/dist/modules/data-table/data-table.service.d.ts +0 -120
  2353. package/dist/modules/data-table/data-table.service.js +0 -590
  2354. package/dist/modules/data-table/data-table.service.js.map +0 -1
  2355. package/dist/modules/data-table/data-table.types.d.ts +0 -3
  2356. package/dist/modules/data-table/data-table.types.js +0 -10
  2357. package/dist/modules/data-table/data-table.types.js.map +0 -1
  2358. package/dist/modules/data-table/errors/data-table-access-denied.error.d.ts +0 -4
  2359. package/dist/modules/data-table/errors/data-table-access-denied.error.js +0 -13
  2360. package/dist/modules/data-table/errors/data-table-access-denied.error.js.map +0 -1
  2361. package/dist/modules/data-table/errors/data-table-column-name-conflict.error.d.ts +0 -4
  2362. package/dist/modules/data-table/errors/data-table-column-name-conflict.error.js +0 -13
  2363. package/dist/modules/data-table/errors/data-table-column-name-conflict.error.js.map +0 -1
  2364. package/dist/modules/data-table/errors/data-table-column-not-found.error.d.ts +0 -4
  2365. package/dist/modules/data-table/errors/data-table-column-not-found.error.js +0 -11
  2366. package/dist/modules/data-table/errors/data-table-column-not-found.error.js.map +0 -1
  2367. package/dist/modules/data-table/errors/data-table-file-upload.error.d.ts +0 -4
  2368. package/dist/modules/data-table/errors/data-table-file-upload.error.js +0 -13
  2369. package/dist/modules/data-table/errors/data-table-file-upload.error.js.map +0 -1
  2370. package/dist/modules/data-table/errors/data-table-name-conflict.error.d.ts +0 -4
  2371. package/dist/modules/data-table/errors/data-table-name-conflict.error.js +0 -13
  2372. package/dist/modules/data-table/errors/data-table-name-conflict.error.js.map +0 -1
  2373. package/dist/modules/data-table/errors/data-table-not-found.error.d.ts +0 -4
  2374. package/dist/modules/data-table/errors/data-table-not-found.error.js +0 -11
  2375. package/dist/modules/data-table/errors/data-table-not-found.error.js.map +0 -1
  2376. package/dist/modules/data-table/errors/data-table-system-column-name-conflict.error.d.ts +0 -4
  2377. package/dist/modules/data-table/errors/data-table-system-column-name-conflict.error.js +0 -13
  2378. package/dist/modules/data-table/errors/data-table-system-column-name-conflict.error.js.map +0 -1
  2379. package/dist/modules/data-table/errors/data-table-validation.error.d.ts +0 -4
  2380. package/dist/modules/data-table/errors/data-table-validation.error.js +0 -13
  2381. package/dist/modules/data-table/errors/data-table-validation.error.js.map +0 -1
  2382. package/dist/modules/data-table/multer-upload-middleware.d.ts +0 -22
  2383. package/dist/modules/data-table/multer-upload-middleware.js +0 -145
  2384. package/dist/modules/data-table/multer-upload-middleware.js.map +0 -1
  2385. package/dist/modules/data-table/register-favorite-resolver.d.ts +0 -1
  2386. package/dist/modules/data-table/register-favorite-resolver.js +0 -18
  2387. package/dist/modules/data-table/register-favorite-resolver.js.map +0 -1
  2388. package/dist/modules/data-table/types.d.ts +0 -12
  2389. package/dist/modules/data-table/types.js +0 -7
  2390. package/dist/modules/data-table/types.js.map +0 -1
  2391. package/dist/modules/data-table/utils/pair-columns.d.ts +0 -27
  2392. package/dist/modules/data-table/utils/pair-columns.js +0 -48
  2393. package/dist/modules/data-table/utils/pair-columns.js.map +0 -1
  2394. package/dist/modules/data-table/utils/sql-utils.d.ts +0 -24
  2395. package/dist/modules/data-table/utils/sql-utils.js +0 -284
  2396. package/dist/modules/data-table/utils/sql-utils.js.map +0 -1
  2397. package/dist/modules/instance-ai/agent-preview-handoff.js.map +0 -1
  2398. package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.d.ts +0 -7
  2399. package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.js +0 -38
  2400. package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.js.map +0 -1
  2401. package/dist/modules/instance-ai/format-agent-session-context.js.map +0 -1
  2402. package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.d.ts +0 -5
  2403. package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.js.map +0 -1
  2404. package/dist/modules/instance-ai/storage/db-iteration-log-storage.d.ts +0 -9
  2405. package/dist/modules/instance-ai/storage/db-iteration-log-storage.js +0 -45
  2406. package/dist/modules/instance-ai/storage/db-iteration-log-storage.js.map +0 -1
  2407. package/dist/modules/promotions.ee/promotion-binding-preflight.service.d.ts +0 -39
  2408. package/dist/modules/promotions.ee/promotion-binding-preflight.service.js +0 -330
  2409. package/dist/modules/promotions.ee/promotion-binding-preflight.service.js.map +0 -1
  2410. package/dist/modules/skills/assistant-skills-rollout.d.ts +0 -8
  2411. package/dist/modules/skills/assistant-skills-rollout.js.map +0 -1
  2412. package/dist/modules/skills/hub-assistant-skill-provider.service.d.ts +0 -12
  2413. package/dist/modules/skills/hub-assistant-skill-provider.service.js +0 -45
  2414. package/dist/modules/skills/hub-assistant-skill-provider.service.js.map +0 -1
  2415. package/dist/modules/skills/skill-agents-proxy.service.d.ts +0 -39
  2416. package/dist/modules/skills/skill-agents-proxy.service.js +0 -74
  2417. package/dist/modules/skills/skill-agents-proxy.service.js.map +0 -1
  2418. package/dist/modules/skills/skill-content-hash.js.map +0 -1
  2419. package/dist/modules/skills/skill-file.entity.js.map +0 -1
  2420. package/dist/modules/skills/skill-hash.js.map +0 -1
  2421. package/dist/modules/skills/skill-name-taken.error.js.map +0 -1
  2422. package/dist/modules/skills/skill-names.js.map +0 -1
  2423. package/dist/modules/skills/skill-version.entity.js.map +0 -1
  2424. package/dist/modules/skills/skill.entity.js.map +0 -1
  2425. package/dist/modules/skills/skill.repository.js.map +0 -1
  2426. package/dist/modules/skills/skill.service.d.ts +0 -90
  2427. package/dist/modules/skills/skill.service.js +0 -404
  2428. package/dist/modules/skills/skill.service.js.map +0 -1
  2429. package/dist/modules/skills/skills-api.service.d.ts +0 -36
  2430. package/dist/modules/skills/skills-api.service.js +0 -329
  2431. package/dist/modules/skills/skills-api.service.js.map +0 -1
  2432. package/dist/modules/skills/skills-telemetry.d.ts +0 -23
  2433. package/dist/modules/skills/skills-telemetry.js.map +0 -1
  2434. package/dist/modules/skills/skills.controller.js.map +0 -1
  2435. /package/dist/modules/{instance-ai → agents}/format-agent-session-context.js +0 -0
  2436. /package/dist/modules/skills/{skill-file.entity.d.ts → database/entities/skill-file.entity.d.ts} +0 -0
  2437. /package/dist/modules/skills/{skill-file.entity.js → database/entities/skill-file.entity.js} +0 -0
  2438. /package/dist/modules/skills/{skill-name-taken.error.d.ts → errors/skill-name-taken.error.d.ts} +0 -0
  2439. /package/dist/modules/skills/{skill-name-taken.error.js → errors/skill-name-taken.error.js} +0 -0
  2440. /package/dist/modules/skills/{skill-content-hash.js → utils/skill-content-hash.js} +0 -0
  2441. /package/dist/modules/skills/{skill-hash.d.ts → utils/skill-hash.d.ts} +0 -0
  2442. /package/dist/modules/skills/{skill-hash.js → utils/skill-hash.js} +0 -0
  2443. /package/dist/modules/skills/{skill-names.d.ts → utils/skill-names.d.ts} +0 -0
  2444. /package/dist/modules/skills/{skill-names.js → utils/skill-names.js} +0 -0
@@ -10,6 +10,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.EventDestinationsRepository = void 0;
13
+ const db_1 = require("@n8n/db");
13
14
  const di_1 = require("@n8n/di");
14
15
  const typeorm_1 = require("@n8n/typeorm");
15
16
  const entities_1 = require("../entities");
@@ -17,6 +18,17 @@ let EventDestinationsRepository = class EventDestinationsRepository extends type
17
18
  constructor(dataSource) {
18
19
  super(entities_1.EventDestinations, dataSource.manager);
19
20
  }
21
+ async createIfNew(id, destination) {
22
+ try {
23
+ await this.insert({ id, destination });
24
+ return true;
25
+ }
26
+ catch (error) {
27
+ if ((0, db_1.isUniqueConstraintError)(error))
28
+ return false;
29
+ throw error;
30
+ }
31
+ }
20
32
  };
21
33
  exports.EventDestinationsRepository = EventDestinationsRepository;
22
34
  exports.EventDestinationsRepository = EventDestinationsRepository = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"event-destination.repository.js","sourceRoot":"","sources":["../../../../../src/modules/log-streaming.ee/database/repositories/event-destination.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAkC;AAClC,0CAAsD;AAEtD,0CAAgD;AAGzC,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,oBAA6B;IAC7E,YAAY,UAAsB;QACjC,KAAK,CAAC,4BAAiB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;CACD,CAAA;;sCAJY,2BAA2B;IADvC,IAAA,YAAO,GAAE;qCAEe,oBAAU;GADtB,2BAA2B,CAIvC"}
1
+ {"version":3,"file":"event-destination.repository.js","sourceRoot":"","sources":["../../../../../src/modules/log-streaming.ee/database/repositories/event-destination.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAAkD;AAClD,gCAAkC;AAClC,0CAAsD;AAGtD,0CAAgD;AAGzC,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,oBAA6B;IAC7E,YAAY,UAAsB;QACjC,KAAK,CAAC,4BAAiB,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC9C,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,EAAU,EAAE,WAA8C;QAC3E,IAAI,CAAC;YACJ,MAAM,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;YACvC,OAAO,IAAI,CAAC;QACb,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,IAAI,IAAA,4BAAuB,EAAC,KAAK,CAAC;gBAAE,OAAO,KAAK,CAAC;YACjD,MAAM,KAAK,CAAC;QACb,CAAC;IACF,CAAC;CACD,CAAA;;sCAdY,2BAA2B;IADvC,IAAA,YAAO,GAAE;qCAEe,oBAAU;GADtB,2BAA2B,CAcvC"}
@@ -64,6 +64,8 @@ class MessageEventBusDestinationSentry extends message_event_bus_destination_ee_
64
64
  transport: Sentry.makeNodeTransport,
65
65
  integrations: Sentry.getDefaultIntegrations({}),
66
66
  stackParser: Sentry.defaultStackParser,
67
+ attachStacktrace: false,
68
+ enableRuntimeChannelInjection: false,
67
69
  });
68
70
  }
69
71
  async receiveFromEventBus(emitterPayload) {
@@ -1 +1 @@
1
- {"version":3,"file":"message-event-bus-destination-sentry.ee.js","sourceRoot":"","sources":["../../../../src/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,MAAM,yCAAqB;AAOvC,2CAA0C;AAM1C,yFAAgF;AAEzE,MAAM,yCAAyC,GAAG,CACxD,SAAkB,EACqC,EAAE;IACzD,MAAM,CAAC,GAAG,SAAoD,CAAC;IAC/D,IAAI,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IACrB,OAAO,CAAC,CAAC,GAAG,KAAK,SAAS,CAAC;AAC5B,CAAC,CAAC;AANW,QAAA,yCAAyC,GAAzC,yCAAyC,CAMpD;AAEF,sCACC,SAAQ,6DAA0B;IAWlC,YAAY,gBAAiC,EAAE,OAAgD;QAC9F,KAAK,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QAPlC,qBAAgB,GAAG,GAAG,CAAC;QAQtB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,YAAY,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,wCAA8C,CAAC;QAC3E,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAA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CAA+C;YAC1D,IAAA,QAAA,yCAAyC,EAAC,IAAI,CAAC,EAC9C,CAAC;YACF,OAAO,IAAI,gCAAgC,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;QACrE,CAAC;QACD,OAAO,IAAI,CAAC;IACb,CAAC;IAED,QAAQ;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,KAAK;QACV,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;QACpB,MAAM,IAAI,CAAC,YAAY,EAAE,KAAK,EAAE,CAAC;IAClC,CAAC;CACD"}
1
+ {"version":3,"file":"message-event-bus-destination-sentry.ee.js","sourceRoot":"","sources":["../../../../src/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,MAAM,yCAAqB;AAOvC,2CAA0C;AAM1C,yFAAgF;AAEzE,MAAM,yCAAyC,GAAG,CACxD,SAAkB,EACqC,EAAE;IACzD,MAAM,CAAC,GAAG,SAAoD,CAAC;IAC/D,IAAI,CAAC,CAAC;QAAE,OAAO,KAAK,CAAC;IACrB,OAAO,CAAC,CAAC,GAAG,KAAK,SAAS,CAAC;AAC5B,CAAC,CAAC;AANW,QAAA,yCAAyC,GAAzC,yCAAyC,CAMpD;AAEF,sCACC,SAAQ,6DAA0B;IAWlC,YAAY,gBAAiC,EAAE,OAAgD;QAC9F,KAAK,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;QAPlC,qBAAgB,GAAG,GAAG,CAAC;QAQtB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,YAAY,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,wCAA8C,CAAC;QAC3E,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;QACvB,IAAI,OAAO,CA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AChB,IAAI,CAAC,MAAM,yCAA+C;YAC1D,IAAA,QAAA,yCAAyC,EAAC,IAAI,CAAC,EAC9C,CAAC;YACF,OAAO,IAAI,gCAAgC,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;QACrE,CAAC;QACD,OAAO,IAAI,CAAC;IACb,CAAC;IAED,QAAQ;QACP,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,KAAK;QACV,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;QACpB,MAAM,IAAI,CAAC,YAAY,EAAE,KAAK,EAAE,CAAC;IAClC,CAAC;CACD"}
@@ -14,13 +14,17 @@ export declare class LogStreamingDestinationService {
14
14
  private readonly publisher;
15
15
  private readonly outboundHttp;
16
16
  private destinations;
17
+ private readonly destinationMutationMutex;
17
18
  private isListening;
18
19
  private readonly messageHandler;
19
20
  constructor(logger: Logger, eventDestinationsRepository: EventDestinationsRepository, eventBus: MessageEventBus, publisher: Publisher, outboundHttp: OutboundHttp);
20
21
  loadDestinationsFromDb(): Promise<void>;
21
22
  saveDestinationToDb(destination: MessageEventBusDestination): Promise<import("@n8n/typeorm").InsertResult>;
22
23
  deleteDestinationFromDb(id: string): Promise<DeleteResult>;
24
+ createDestination(destination: MessageEventBusDestination): Promise<MessageEventBusDestination>;
23
25
  addDestination(destination: MessageEventBusDestination, notifyInstances?: boolean): Promise<MessageEventBusDestination>;
26
+ private closeFailedDestination;
27
+ private activateDestination;
24
28
  removeDestination(id: string, notifyInstances?: boolean): Promise<DeleteResult>;
25
29
  initialize(): Promise<void>;
26
30
  private handleMessage;
@@ -8,12 +8,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
11
14
  Object.defineProperty(exports, "__esModule", { value: true });
12
15
  exports.LogStreamingDestinationService = void 0;
13
16
  const backend_common_1 = require("@n8n/backend-common");
14
17
  const backend_network_1 = require("@n8n/backend-network");
15
18
  const decorators_1 = require("@n8n/decorators");
16
19
  const di_1 = require("@n8n/di");
20
+ const errors_1 = require("@n8n/errors");
21
+ const p_limit_1 = __importDefault(require("p-limit"));
17
22
  const event_message_generic_1 = require("../../eventbus/event-message-classes/event-message-generic");
18
23
  const message_event_bus_1 = require("../../eventbus/message-event-bus/message-event-bus");
19
24
  const publisher_service_1 = require("../../scaling/pubsub/publisher.service");
@@ -27,6 +32,7 @@ let LogStreamingDestinationService = class LogStreamingDestinationService {
27
32
  this.publisher = publisher;
28
33
  this.outboundHttp = outboundHttp;
29
34
  this.destinations = {};
35
+ this.destinationMutationMutex = (0, p_limit_1.default)(1);
30
36
  this.isListening = false;
31
37
  this.messageHandler = this.handleMessage.bind(this);
32
38
  }
@@ -61,26 +67,62 @@ let LogStreamingDestinationService = class LogStreamingDestinationService {
61
67
  async deleteDestinationFromDb(id) {
62
68
  return await this.eventDestinationsRepository.delete({ id });
63
69
  }
70
+ async createDestination(destination) {
71
+ return await this.destinationMutationMutex(async () => {
72
+ try {
73
+ const created = await this.eventDestinationsRepository.createIfNew(destination.getId(), destination.serialize());
74
+ if (!created) {
75
+ throw new errors_1.ForbiddenError('User is missing a scope required to perform this action');
76
+ }
77
+ return await this.activateDestination(destination);
78
+ }
79
+ catch (error) {
80
+ await this.closeFailedDestination(destination);
81
+ throw error;
82
+ }
83
+ });
84
+ }
64
85
  async addDestination(destination, notifyInstances = true) {
86
+ return await this.destinationMutationMutex(async () => {
87
+ try {
88
+ await this.saveDestinationToDb(destination);
89
+ return await this.activateDestination(destination, notifyInstances);
90
+ }
91
+ catch (error) {
92
+ await this.closeFailedDestination(destination);
93
+ throw error;
94
+ }
95
+ });
96
+ }
97
+ async closeFailedDestination(destination) {
98
+ try {
99
+ await destination.close();
100
+ }
101
+ catch (error) {
102
+ this.logger.warn('Failed to close destination after save failed', { error });
103
+ }
104
+ }
105
+ async activateDestination(destination, notifyInstances = true) {
65
106
  await this.destinations[destination.getId()]?.close();
66
107
  this.destinations[destination.getId()] = destination;
67
108
  this.logger.debug(`Added destination ${destination.getId()}`);
68
- await this.saveDestinationToDb(destination);
69
109
  if (notifyInstances) {
70
110
  void this.publisher.publishCommand({ command: 'restart-event-bus' });
71
111
  }
72
112
  return destination;
73
113
  }
74
114
  async removeDestination(id, notifyInstances = true) {
75
- if (this.destinations[id]) {
76
- await this.destinations[id].close();
77
- delete this.destinations[id];
78
- this.logger.debug(`Removed destination ${id}`);
79
- }
80
- if (notifyInstances) {
81
- void this.publisher.publishCommand({ command: 'restart-event-bus' });
82
- }
83
- return await this.deleteDestinationFromDb(id);
115
+ return await this.destinationMutationMutex(async () => {
116
+ if (this.destinations[id]) {
117
+ await this.destinations[id].close();
118
+ delete this.destinations[id];
119
+ this.logger.debug(`Removed destination ${id}`);
120
+ }
121
+ if (notifyInstances) {
122
+ void this.publisher.publishCommand({ command: 'restart-event-bus' });
123
+ }
124
+ return await this.deleteDestinationFromDb(id);
125
+ });
84
126
  }
85
127
  async initialize() {
86
128
  if (this.isListening) {
@@ -151,10 +193,12 @@ let LogStreamingDestinationService = class LogStreamingDestinationService {
151
193
  this.logger.debug('Log streaming destination service closed');
152
194
  }
153
195
  async restart() {
154
- this.logger.debug('Restarting log streaming destination service...');
155
- await this.close();
156
- await this.loadDestinationsFromDb();
157
- await this.initialize();
196
+ await this.destinationMutationMutex(async () => {
197
+ this.logger.debug('Restarting log streaming destination service...');
198
+ await this.close();
199
+ await this.loadDestinationsFromDb();
200
+ await this.initialize();
201
+ });
158
202
  }
159
203
  };
160
204
  exports.LogStreamingDestinationService = LogStreamingDestinationService;
@@ -1 +1 @@
1
- {"version":3,"file":"log-streaming-destination.service.js","sourceRoot":"","sources":["../../../src/modules/log-streaming.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QAGD,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;QAEvB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC/D,CAAC;IAMK,AAAN,KAAK,CAAC,OAAO;QACZ,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACrE,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;QACnB,MAAM,IAAI,CAAC,sBAAsB,EAAE,CAAC;QACpC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC;IACzB,CAAC;CACD,CAAA;;AANM;IADL,IAAA,0BAAa,EAAC,mBAAmB,CAAC;;;;6DAMlC;yCAhPW,8BAA8B;IAD1C,IAAA,YAAO,GAAE;qCAYiB,uBAAM,EACe,0DAA2B,EAC9C,mCAAe,EACd,6BAAS,EACN,8BAAY;GAfhC,8BAA8B,CAiP1C"}
1
+ {"version":3,"file":"log-streaming-destination.service.js","sourceRoot":"","sources":["../../../src/modules/log-streaming.ee/log-streaming-destination.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,wDAA6C;AAC7C,0DAAoD;AACpD,gDAAgD;AAChD,gCAAkC;AAClC,wCAA6C;AAG7C,sDAA6B;AAI7B,kGAGgE;AAChE,sFAAiF;AACjF,0EAA+D;AAE/D,uGAAmG;AACnG,gHAAwG;AAUjG,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IAa1C,YACkB,MAAc,EACd,2BAAwD,EACxD,QAAyB,EACzB,SAAoB,EACpB,YAA0B;QAJ1B,WAAM,GAAN,MAAM,CAAQ;QACd,gCAA2B,GAA3B,2BAA2B,CAA6B;QACxD,aAAQ,GAAR,QAAQ,CAAiB;QACzB,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAc;QAjBpC,iBAAY,GAAkD,EAAE,CAAC;QAGxD,6BAAwB,GAAG,IAAA,iBAAM,EAAC,CAAC,CAAC,CAAC;QAE9C,gBAAW,GAAG,K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AC,CAAC;IACJ,CAAC;CACD,CAAA;;AARM;IADL,IAAA,0BAAa,EAAC,mBAAmB,CAAC;;;;6DAQlC;yCArSW,8BAA8B;IAD1C,IAAA,YAAO,GAAE;qCAeiB,uBAAM,EACe,0DAA2B,EAC9C,mCAAe,EACd,6BAAS,EACN,8BAAY;GAlBhC,8BAA8B,CAsS1C"}
@@ -17,6 +17,7 @@ const api_types_1 = require("@n8n/api-types");
17
17
  const backend_network_1 = require("@n8n/backend-network");
18
18
  const config_1 = require("@n8n/config");
19
19
  const decorators_1 = require("@n8n/decorators");
20
+ const permissions_1 = require("@n8n/permissions");
20
21
  const backend_services_1 = require("@n8n/backend-services");
21
22
  const errors_1 = require("@n8n/errors");
22
23
  const event_message_classes_1 = require("../../eventbus/event-message-classes");
@@ -63,7 +64,9 @@ let EventBusController = class EventBusController {
63
64
  const options = parseResult.data;
64
65
  await (0, destination_credentials_access_1.assertUserCanUseDestinationCredentials)(this.credentialsFinderService, req.user, options);
65
66
  const destination = (0, create_message_event_bus_destination_1.createMessageEventBusDestination)(this.eventBus, this.outboundHttp, options);
66
- const result = await this.destinationService.addDestination(destination);
67
+ const result = (0, permissions_1.hasGlobalScope)(req.user, 'eventBusDestination:update')
68
+ ? await this.destinationService.addDestination(destination)
69
+ : await this.destinationService.createDestination(destination);
67
70
  return result.serialize();
68
71
  }
69
72
  async sendTestMessage(req, _res, query) {
@@ -1 +1 @@
1
- {"version":3,"file":"log-streaming.controller.js","sourceRoot":"","sources":["../../../src/modules/log-streaming.ee/log-streaming.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAKwB;AACxB,0DAAoD;AACpD,wCAA2D;AAE3D,gDAAkG;AAGlG,4DAAiE;AACjE,wCAA8D;AAC9D,4EAAiE;AACjE,sFAAiF;AAEjF,iGAA0F;AAC1F,kGAAuG;AACvG,2FAAqF;AAG9E,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC9B,YACkB,QAAyB,EACzB,kBAAkD,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E,CAAC,CAAC;IAC3D,CAAC;CACD,CAAA;;AArFM;IADL,IAAA,gBAAG,EAAC,aAAa,CAAC;;;;uDAGlB;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,gBAAG,EAAC,cAAc,CAAC;IACnB,IAAA,wBAAW,EAAC,0BAA0B,CAAC;IAItC,WAAA,kBAAK,CAAA;;qDAAQ,kCAAsB;;wDAGpC;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,iBAAI,EAAC,cAAc,CAAC;IACpB,IAAA,wBAAW,EAAC,4BAA4B,CAAC;;;;yDAkCzC;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,gBAAG,EAAC,cAAc,CAAC;IACnB,IAAA,wBAAW,EAAC,0BAA0B,CAAC;IAItC,WAAA,kBAAK,CAAA;;qDAAQ,mCAAuB;;yDAarC;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,mBAAM,EAAC,cAAc,CAAC;IACtB,IAAA,wBAAW,EAAC,4BAA4B,CAAC;IAIxC,WAAA,kBAAK,CAAA;;qDAAQ,qCAAyB;;2DAIvC;6BAtGW,kBAAkB;IAD9B,IAAA,2BAAc,EAAC,WAAW,CAAC;qCAGC,mCAAe,EACL,kEAA8B,EACpB,qCAA4B,EAC5C,8BAAY,EACA,2CAAwB;GANxD,kBAAkB,CAuG9B"}
1
+ {"version":3,"file":"log-streaming.controller.js","sourceRoot":"","sources":["../../../src/modules/log-streaming.ee/log-streaming.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,8CAKwB;AACxB,0DAAoD;AACpD,wCAA2D;AAE3D,gDAAkG;AAClG,kDAAkD;AAGlD,4DAAiE;AACjE,wCAA8D;AAC9D,4EAAiE;AACjE,sFAAiF;AAEjF,iGAA0F;AAC1F,kGAAuG;AACvG,2FAAqF;AAG9E,IAAM,kBAAkB,GA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AE,CAAC,CAAC;IAChE,CAAC;IAKK,AAAN,KAAK,CAAC,iBAAiB,CACtB,IAA0B,EAC1B,IAAa,EACN,KAAgC;QAEvC,IAAI,CAAC,qBAAqB,EAAE,CAAC;QAC7B,MAAM,IAAI,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC3D,CAAC;CACD,CAAA;;AAvFM;IADL,IAAA,gBAAG,EAAC,aAAa,CAAC;;;;uDAGlB;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,gBAAG,EAAC,cAAc,CAAC;IACnB,IAAA,wBAAW,EAAC,0BAA0B,CAAC;IAItC,WAAA,kBAAK,CAAA;;qDAAQ,kCAAsB;;wDAGpC;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,iBAAI,EAAC,cAAc,CAAC;IACpB,IAAA,wBAAW,EAAC,4BAA4B,CAAC;;;;yDAoCzC;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,gBAAG,EAAC,cAAc,CAAC;IACnB,IAAA,wBAAW,EAAC,0BAA0B,CAAC;IAItC,WAAA,kBAAK,CAAA;;qDAAQ,mCAAuB;;yDAarC;AAKK;IAHL,IAAA,qBAAQ,EAAC,mBAAmB,CAAC;IAC7B,IAAA,mBAAM,EAAC,cAAc,CAAC;IACtB,IAAA,wBAAW,EAAC,4BAA4B,CAAC;IAIxC,WAAA,kBAAK,CAAA;;qDAAQ,qCAAyB;;2DAIvC;6BAxGW,kBAAkB;IAD9B,IAAA,2BAAc,EAAC,WAAW,CAAC;qCAGC,mCAAe,EACL,kEAA8B,EACpB,qCAA4B,EAC5C,8BAAY,EACA,2CAAwB;GANxD,kBAAkB,CAyG9B"}
@@ -16,7 +16,7 @@ const config_1 = require("@n8n/config");
16
16
  const constants_1 = require("@n8n/constants");
17
17
  const di_1 = require("@n8n/di");
18
18
  const backend_services_1 = require("@n8n/backend-services");
19
- const skill_agents_proxy_service_1 = require("../../modules/skills/skill-agents-proxy.service");
19
+ const skills_1 = require("../../modules/skills");
20
20
  const posthog_1 = require("../../posthog");
21
21
  const mcp_scopes_1 = require("./mcp-scopes");
22
22
  const mcp_tool_availability_1 = require("./mcp-tool-availability");
@@ -43,7 +43,7 @@ let McpProtectedResource = class McpProtectedResource {
43
43
  }
44
44
  get scopes() {
45
45
  const agentsAvailable = (0, mcp_tool_availability_1.areAgentToolsAvailable)(this.globalConfig, this.moduleRegistry);
46
- const skillsAvailable = di_1.Container.get(skill_agents_proxy_service_1.SkillAgentsProxy).hasProvider;
46
+ const skillsAvailable = di_1.Container.get(skills_1.SkillsGate).isEnabled;
47
47
  return exports.SUPPORTED_SCOPES.filter((scope) => (agentsAvailable || !AGENT_SCOPES.has(scope)) &&
48
48
  (skillsAvailable || !SKILL_SCOPES.has(scope)));
49
49
  }
@@ -61,6 +61,9 @@ let McpProtectedResource = class McpProtectedResource {
61
61
  }
62
62
  catch {
63
63
  }
64
+ const credentialDescriptionsEnabled = (await this.postHogClient
65
+ .getFeatureFlagForInstance(api_types_1.CREDENTIAL_DESCRIPTIONS_FLAG)
66
+ .catch(() => false)) === true;
64
67
  return Object.fromEntries(Object.entries(mcp_scopes_1.TOOLS_BY_SCOPE)
65
68
  .filter(([scope]) => supportedScopes.has(scope))
66
69
  .map(([scope, tools]) => [
@@ -69,7 +72,8 @@ let McpProtectedResource = class McpProtectedResource {
69
72
  (!tagsDisabled || tool !== 'list_workflow_tags') &&
70
73
  (foldersLicensed || !mcp_scopes_1.FOLDER_FEATURE_TOOLS.has(tool)) &&
71
74
  (instanceContextAvailable || !mcp_scopes_1.ACTIVITY_LOG_TOOLS.has(tool)) &&
72
- (instanceContextEnabled || !mcp_scopes_1.INSTANCE_CONTEXT_TOOLS.has(tool))),
75
+ (instanceContextEnabled || !mcp_scopes_1.INSTANCE_CONTEXT_TOOLS.has(tool)) &&
76
+ (credentialDescriptionsEnabled || tool !== 'update_credential_description')),
73
77
  ]));
74
78
  }
75
79
  getResourceUrl() {
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-protected-resource.js","sourceRoot":"","sources":["../../../src/modules/mcp/mcp-protected-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAKwB;AACxB,wDAAmE;AACnE,wCAA2C;AAC3C,8CAA0D;AAC1D,gCAA6C;AAG7C,4DAAmD;AACnD,4FAA+E;AAC/E,uCAA0C;AAE1C,6CAMsB;AACtB,mEAIiC;AACjC,6CAAyC;AACzC,iEAA4D;AAM/C,QAAA,gBAAgB,GAAa,CAAC,GAAG,+BAAmB,CAAC,CAAC;AACnE,MAAM,YAAY,GAAG,IAAI,GAAG,CAAS,4BAAgB,CAAC,CAAC;AACvD,MAAM,YAAY,GAAG,IAAI,GAAG,CAAS,4BAAgB,CAAC,CAAC;AACvD,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAS,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAEvF,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAI7C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAYtC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAYhC,YACkB,UAAsB,EACtB,kBAAsC,EACtC,SAAoB,EACpB,YAA0B,EAC1B,cAA8B,EAC9B,YAA0B,EAC1B,aAA4B;QAN5B,eAAU,GAAV,UAAU,CAAY;QACtB,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,mBAAc,GAAd,cAAc,CAAgB;QAC9B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAa,GAAb,aAAa,CAAe;QAlBrC,OAAE,GAAG,oCAAwB,CAAC;QAE9B,YAAO,GAAG,cAAuB,CAAC;QAOlC,cAAS,GAAG,IAAI,CAAC;IAUvB,CAAC;IAEJ,IAAI,MAAM;QACT,M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M,IAAI,CAAC,WAAW,EAAE,CAAC;IACjC,CAAC;CACD,CAAA;;+BAnKY,oBAAoB;IADhC,IAAA,YAAO,GAAE;qCAcqB,6BAAU,EACF,yCAAkB,EAC3B,sBAAS,EACN,qBAAY,EACV,+BAAc,EAChB,6BAAY,EACX,uBAAa;GAnBlC,oBAAoB,CAmKhC"}
1
+ {"version":3,"file":"mcp-protected-resource.js","sourceRoot":"","sources":["../../../src/modules/mcp/mcp-protected-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAMwB;AACxB,wDAAmE;AACnE,wCAA2C;AAC3C,8CAA0D;AAC1D,gCAA6C;AAG7C,4DAAmD;AACnD,6CAA8C;AAC9C,uCAA0C;AAE1C,6CAMsB;AACtB,mEAIiC;AACjC,6CAAyC;AACzC,iEAA4D;AAM/C,QAAA,gBAAgB,GAAa,CAAC,GAAG,+BAAmB,CAAC,CAAC;AACnE,MAAM,YAAY,GAAG,IAAI,GAAG,CAAS,4BAAgB,CAAC,CAAC;AACvD,MAAM,YAAY,GAAG,IAAI,GAAG,CAAS,4BAAgB,CAAC,CAAC;AACvD,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAS,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC,CAAC;AAEvF,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAI7C,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAYtC,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAYhC,YACkB,UAAsB,EACtB,kBAAsC,EACtC,SAAoB,EACpB,YAA0B,EAC1B,cAA8B,EAC9B,YAA0B,EAC1B,aAA4B;QAN5B,eAAU,GAAV,UAAU,CAAY;QACtB,uBAAkB,GAAlB,kBAAkB,CAAoB;QACtC,cAAS,GAAT,SAAS,CAAW;QACpB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,mBAAc,GAAd,cAAc,CAAgB;QAC9B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,kBAAa,GAAb,aA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AC,wBAAwB,CAAC,IAAkB;QACxD,IAAI,CAAC;YACJ,OAAO,IAAA,iDAAyB,EAAC,MAAM,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;QAClF,CAAC;QAAC,MAAM,CAAC;YAER,OAAO,KAAK,CAAC;QACd,CAAC;IACF,CAAC;IAED,KAAK,CAAC,WAAW;QAChB,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAAC,UAAU,EAAE,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAwB;QAIvC,OAAO,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;IACjC,CAAC;CACD,CAAA;;+BAzKY,oBAAoB;IADhC,IAAA,YAAO,GAAE;qCAcqB,6BAAU,EACF,yCAAkB,EAC3B,sBAAS,EACN,qBAAY,EACV,+BAAc,EAChB,6BAAY,EACX,uBAAa;GAnBlC,oBAAoB,CAyKhC"}
@@ -43,6 +43,8 @@ exports.TOOLS_BY_SCOPE = {
43
43
  'search_agents',
44
44
  'get_agent',
45
45
  'list_agent_versions',
46
+ 'list_agent_sessions',
47
+ 'get_agent_session',
46
48
  'discover_agent_assets',
47
49
  'validate_agent',
48
50
  'get_agent_builder_reference',
@@ -56,6 +58,8 @@ exports.TOOLS_BY_SCOPE = {
56
58
  'search_agents',
57
59
  'get_agent',
58
60
  'list_agent_versions',
61
+ 'list_agent_sessions',
62
+ 'get_agent_session',
59
63
  'discover_agent_assets',
60
64
  'validate_agent',
61
65
  'get_agent_builder_reference',
@@ -67,6 +71,7 @@ exports.TOOLS_BY_SCOPE = {
67
71
  'skill:read': ['search_n8n_skills', 'get_skill'],
68
72
  'skill:write': ['create_skill', 'update_skill', 'delete_skill', 'search_n8n_skills', 'get_skill'],
69
73
  'credential:read': ['list_credentials', 'list_n8n_gateway_services', 'explore_node_resources'],
74
+ 'credential:update': ['update_credential_description'],
70
75
  'dataTable:read': ['search_data_tables', 'get_data_table_rows'],
71
76
  'dataTable:write': [
72
77
  'search_data_tables',
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-scopes.js","sourceRoot":"","sources":["../../../src/modules/mcp/mcp-scopes.ts"],"names":[],"mappings":";;;;AACA,8CAAqD;AAErD,mDAKyB;AAWZ,QAAA,cAAc,GAAwC;IAClE,eAAe,EAAE;QAChB,kBAAkB;QAClB,sBAAsB;QACtB,sBAAsB;QACtB,sBAAsB;QACtB,4BAA4B;QAE5B,cAAc;QACd,gBAAgB;QAChB,6BAA6B;QAC7B,4BAA4B;QAC5B,mBAAmB;QACnB,sBAAsB;QAGtB,sBAAsB;QACtB,uBAAuB;QACvB,0BAA0B;QAC1B,gBAAgB;KAChB;IACD,gBAAgB,EAAE;QACjB,2BAA2B;QAC3B,iBAAiB;QACjB,kBAAkB;QAClB,0BAA0B;QAC1B,kBAAkB;QAClB,oBAAoB;QACpB,0BAA0B;QAE1B,cAAc;QACd,gBAAgB;QAChB,6BAA6B;QAC7B,4BAA4B;QAC5B,mBAAmB;QACnB,sBAAsB;KACtB;IACD,kBAAkB,EAAE,CAAC,kBAAkB,EAAE,eAAe,EAAE,2BAA2B,CAAC;IACtF,gBAAgB,EAAE,CAAC,wBAAwB,EAAE,4BAA4B,CAAC;IAC1E,YAAY,EAAE;QACb,eAAe;QACf,WAAW;QACX,qBAAqB;QACrB,uBAAuB;QACvB,gBAAgB;QAChB,6BAA6B;KAC7B;IAID,aAAa,EAAE;QACd,cAAc;QACd,cAAc;QACd,cAAc;QACd,cAAc;QACd,yBAAyB;QACzB,eAAe;QACf,WAAW;QACX,qBAAqB;QACrB,uBAAuB;QACvB,gBAAgB;QAChB,6BAA6B;QAC7B,0BAA0B;QAC1B,eAAe;QACf,iBAAiB;KACjB;IACD,eAAe,EAAE,CAAC,YAAY,CAAC;IAC/B,YAAY,EAAE,CAAC,mBAAmB,EAAE,WAAW,CAAC;IAChD,aAAa,EAAE,CAAC,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,mBAAmB,EAAE,WAAW,C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AAC,eAAe,CAAC;CAClC,CAAC,CAAC;AAEU,QAAA,WAAW,GAAwB,IAAI,GAAG,CAAC;IACvD,GAAG,QAAA,cAAc,CAAC,YAAY,CAAC;IAC/B,GAAG,QAAA,cAAc,CAAC,aAAa,CAAC;CAChC,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,KAAa;IAChC,OAAQ,+BAAyC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACnE,CAAC;AAOD,6BAAoC,aAAmC;IACtE,IAAI,aAAa,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAElD,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,KAAK,MAAM,KAAK,IAAI,aAAa,EAAE,CAAC;QACnC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;YAAE,SAAS;QACjC,KAAK,MAAM,QAAQ,IAAI,QAAA,cAAc,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9C,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACvB,CAAC;IACF,CAAC;IAED,OAAO,OAAO,CAAC;AAChB,CAAC"}
@@ -5,7 +5,7 @@ export declare const MCP_CREDENTIALS_AUTOASSIGN_EVENT = "MCP credentials autoass
5
5
  export declare const MCP_PROTOCOL_VERSION_META_KEY = "io.modelcontextprotocol/protocolVersion";
6
6
  export declare const MCP_CLIENT_INFO_META_KEY = "io.modelcontextprotocol/clientInfo";
7
7
  export declare const MCP_DISCOVER_METHOD = "server/discover";
8
- export declare const MCP_SKILLS_EXTENSION_FLAG = "128_mcp_skills_extension";
8
+ export { MCP_SKILLS_EXTENSION_FLAG } from '@n8n/api-types';
9
9
  export declare const UNAUTHORIZED_ERROR_MESSAGE = "Unauthorized";
10
10
  export declare const INTERNAL_SERVER_ERROR_MESSAGE = "Internal server error";
11
11
  export declare const MCP_ACCESS_DISABLED_ERROR_MESSAGE = "MCP access is disabled";
@@ -9,7 +9,8 @@ exports.MCP_CREDENTIALS_AUTOASSIGN_EVENT = 'MCP credentials autoassign';
9
9
  exports.MCP_PROTOCOL_VERSION_META_KEY = 'io.modelcontextprotocol/protocolVersion';
10
10
  exports.MCP_CLIENT_INFO_META_KEY = 'io.modelcontextprotocol/clientInfo';
11
11
  exports.MCP_DISCOVER_METHOD = 'server/discover';
12
- exports.MCP_SKILLS_EXTENSION_FLAG = '128_mcp_skills_extension';
12
+ var api_types_1 = require("@n8n/api-types");
13
+ Object.defineProperty(exports, "MCP_SKILLS_EXTENSION_FLAG", { enumerable: true, get: function () { return api_types_1.MCP_SKILLS_EXTENSION_FLAG; } });
13
14
  exports.UNAUTHORIZED_ERROR_MESSAGE = 'Unauthorized';
14
15
  exports.INTERNAL_SERVER_ERROR_MESSAGE = 'Internal server error';
15
16
  exports.MCP_ACCESS_DISABLED_ERROR_MESSAGE = 'MCP access is disabled';
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.constants.js","sourceRoot":"","sources":["../../../src/modules/mcp/mcp.constants.ts"],"names":[],"mappings":";;;AAAA,+CAMsB;AAMT,QAAA,2BAA2B,GAAG,8BAA8B,CAAC;AAC7D,QAAA,0BAA0B,GAAG,sBAAsB,CAAC;AACpD,QAAA,kCAAkC,GAAG,kCAAkC,CAAC;AACxE,QAAA,gCAAgC,GAAG,4BAA4B,CAAC;AAYhE,QAAA,6BAA6B,GAAG,yCAAyC,CAAC;AAC1E,QAAA,wBAAwB,GAAG,oCAAoC,CAAC;AAOhE,QAAA,mBAAmB,GAAG,iBAAiB,CAAC;AAExC,QAAA,yBAAyB,GAAG,0BAA0B,CAAC;AAKvD,QAAA,0BAA0B,GAAG,cAAc,CAAC;AAC5C,QAAA,6BAA6B,GAAG,uBAAuB,CAAC;AACxD,QAAA,iCAAiC,GAAG,wBAAwB,CAAC;AAC7D,QAAA,oCAAoC,GAChD,yFAAyF,CAAC;AAE9E,QAAA,8BAA8B,GAAG,sBAAsB,CAAC;AAExD,QAAA,sCAAsC,GAClD,oDAAoD,CAAC;AAKzC,QAAA,mCA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;AACxD,QAAA,iCAAiC,GAAG,wBAAwB,CAAC;AAC7D,QAAA,oCAAoC,GAChD,yFAAyF,CAAC;AAE9E,QAAA,8BAA8B,GAAG,sBAAsB,CAAC;AAExD,QAAA,sCAAsC,GAClD,oDAAoD,CAAC;AAKzC,QAAA,mCAAmC,GAAG,2BAA2B,CAAC;AAClE,QAAA,kCAAkC,GAAG,sBAAsB,CAAC;AAC5D,QAAA,kCAAkC,GAAG,sBAAsB,CAAC;AAC5D,QAAA,oCAAoC,GAAG,wBAAwB,CAAC;AAChE,QAAA,kCAAkC,GAAG,sBAAsB,CAAC;AAQ5D,QAAA,2BAA2B,GAAG;IAC1C,QAAQ,EAAE,wBAAwB;IAClC,YAAY,EAAE,wBAAwB;CAC7B,CAAC;AAME,QAAA,mCAAmC,GAC/C,uFAAuF,CAAC;AAC5E,QAAA,wBAAwB,GAAG,YAAY,CAAC;AACxC,QAAA,0BAA0B,GAAG,cAAc,CAAC;AAK5C,QAAA,iCAAiC,GAAG;IAChD,CAAC,yCAA0B,CAAC,EAAE,kBAAkB;IAChD,CAAC,gCAAiB,CAAC,EAAE,iBAAiB;IACtC,CAAC,qCAAsB,CAAC,EAAE,cAAc;IACxC,CAAC,qCAAsB,CAAC,EAAE,cAAc;CACxC,CAAC;AAKW,QAAA,sBAAsB,GAAG;IACrC,GAAG,QAAA,iCAAiC;IACpC,CAAC,uCAAwB,CAAC,EAAE,gBAAgB;CAC5C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { UserError } from 'n8n-workflow';
1
+ import { UserError } from '@n8n/errors';
2
2
  import type { WorkflowNotFoundReason } from './mcp.types';
3
3
  export declare class McpExecutionTimeoutError extends UserError {
4
4
  executionId: string | null;
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WorkflowAccessError = exports.McpExecutionTimeoutError = void 0;
4
4
  const constants_1 = require("@n8n/constants");
5
- const n8n_workflow_1 = require("n8n-workflow");
6
- class McpExecutionTimeoutError extends n8n_workflow_1.UserError {
5
+ const errors_1 = require("@n8n/errors");
6
+ class McpExecutionTimeoutError extends errors_1.UserError {
7
7
  constructor(executionId, timeoutMs) {
8
8
  const timeoutSeconds = timeoutMs * constants_1.Time.milliseconds.toSeconds;
9
9
  super(`Workflow execution timed out after ${timeoutSeconds} seconds`);
@@ -13,7 +13,7 @@ class McpExecutionTimeoutError extends n8n_workflow_1.UserError {
13
13
  }
14
14
  }
15
15
  exports.McpExecutionTimeoutError = McpExecutionTimeoutError;
16
- class WorkflowAccessError extends n8n_workflow_1.UserError {
16
+ class WorkflowAccessError extends errors_1.UserError {
17
17
  constructor(message, reason) {
18
18
  super(message);
19
19
  this.name = 'WorkflowAccessError';
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.errors.js","sourceRoot":"","sources":["../../../src/modules/mcp/mcp.errors.ts"],"names":[],"mappings":";;;AAAA,8CAAsC;AACtC,+CAAyC;AAOzC,8BAAsC,SAAQ,wBAAS;IAItD,YAAY,WAA0B,EAAE,SAAiB;QACxD,MAAM,cAAc,GAAG,SAAS,GAAG,gBAAI,CAAC,YAAY,CAAC,SAAS,CAAC;QAC/D,KAAK,CAAC,sCAAsC,cAAc,UAAU,CAAC,CAAC;QAEtE,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC5B,CAAC;CACD;;AAMD,yBAAiC,SAAQ,wBAAS;IAGjD,YAAY,OAAe,EAAE,MAA8B;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC;CACD"}
1
+ {"version":3,"file":"mcp.errors.js","sourceRoot":"","sources":["../../../src/modules/mcp/mcp.errors.ts"],"names":[],"mappings":";;;AAAA,8CAAsC;AACtC,wCAAwC;AAOxC,8BAAsC,SAAQ,kBAAS;IAItD,YAAY,WAA0B,EAAE,SAAiB;QACxD,MAAM,cAAc,GAAG,SAAS,GAAG,gBAAI,CAAC,YAAY,CAAC,SAAS,CAAC;QAC/D,KAAK,CAAC,sCAAsC,cAAc,UAAU,CAAC,CAAC;QAEtE,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC5B,CAAC;CACD;;AAMD,yBAAiC,SAAQ,kBAAS;IAGjD,YAAY,OAAe,EAAE,MAA8B;QAC1D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC;CACD"}
@@ -1,6 +1,6 @@
1
1
  import type { McpServer } from '@modelcontextprotocol/server';
2
2
  import { LicenseState, Logger, ModuleRegistry } from '@n8n/backend-common';
3
- import { EventService, UrlService, RoleService, FolderFinderService, InstanceWriteAccessService, ExecutionRedactionServiceProxy, WorkflowPublishedDataService, AiPreferenceService } from '@n8n/backend-services';
3
+ import { EventService, UrlService, RoleService, FolderFinderService, InstanceWriteAccessService, ExecutionRedactionServiceProxy, WorkflowPublishedDataService, AiPreferenceService, CredentialsFinderService } from '@n8n/backend-services';
4
4
  import { ExecutionsConfig, GlobalConfig, WorkflowsConfig } from '@n8n/config';
5
5
  import { ExecutionRepository, ProjectRepository, SharedWorkflowRepository, User } from '@n8n/db';
6
6
  import { type IDeferredPromise } from '@n8n/utils/promise/deferred-promise';
@@ -12,7 +12,7 @@ import { CollaborationService } from '../../collaboration/collaboration.service'
12
12
  import { CredentialsService } from '../../credentials/credentials.service';
13
13
  import { ExecutionListService } from '../../executions/execution-list.service';
14
14
  import { ExecutionService } from '../../executions/execution.service';
15
- import { DataTableProxyService } from '../../modules/data-table/data-table-proxy.service';
15
+ import { DataTableProxyService } from '@n8n/backend-module-data-table';
16
16
  import { NodeCatalogService } from '../../node-catalog';
17
17
  import { NodeTypes } from '../../node-types';
18
18
  import { PostHogClient } from '../../posthog';
@@ -50,6 +50,7 @@ export declare class McpService {
50
50
  private readonly workflowService;
51
51
  private readonly urlService;
52
52
  private readonly credentialsService;
53
+ private readonly credentialsFinderService;
53
54
  private readonly activeExecutions;
54
55
  private readonly globalConfig;
55
56
  private readonly telemetry;
@@ -85,7 +86,7 @@ export declare class McpService {
85
86
  private readonly executionRedactionServiceProxy;
86
87
  private readonly instanceWriteAccess;
87
88
  private readonly pendingResponses;
88
- constructor(logger: Logger, executionsConfig: ExecutionsConfig, instanceSettings: InstanceSettings, workflowFinderService: WorkflowFinderService, workflowService: WorkflowService, urlService: UrlService, credentialsService: CredentialsService, activeExecutions: ActiveExecutions, globalConfig: GlobalConfig, telemetry: Telemetry, workflowRunner: WorkflowRunner, roleService: RoleService, projectService: ProjectService, nodeCatalogService: NodeCatalogService, workflowCreationService: WorkflowCreationService, nodeTypes: NodeTypes, projectRepository: ProjectRepository, folderFinderService: FolderFinderService, sharedWorkflowRepository: SharedWorkflowRepository, executionRepository: ExecutionRepository, executionService: ExecutionService, executionListService: ExecutionListService, dataTableProxyService: DataTableProxyService, collaborationService: CollaborationService, nodeResourceExplorerService: NodeResourceExplorerService, tagService: TagService, licenseState: LicenseState, postHogClient: PostHogClient, workflowHistoryService: WorkflowHistoryService, workflowsConfig: WorkflowsConfig, workflowPublishedDataService: WorkflowPublishedDataService, errorWorkflowValidationService: ErrorWorkflowValidationService, aiGatewayService: AiGatewayService, postSaveMetrics: McpPostSaveMetricsService, moduleRegistry: ModuleRegistry, eventService: EventService, folderService: FolderService, aiPreferenceService: AiPreferenceService, mcpConfig: McpConfig, executionRedactionServiceProxy: ExecutionRedactionServiceProxy, instanceWriteAccess: InstanceWriteAccessService);
89
+ constructor(logger: Logger, executionsConfig: ExecutionsConfig, instanceSettings: InstanceSettings, workflowFinderService: WorkflowFinderService, workflowService: WorkflowService, urlService: UrlService, credentialsService: CredentialsService, credentialsFinderService: CredentialsFinderService, activeExecutions: ActiveExecutions, globalConfig: GlobalConfig, telemetry: Telemetry, workflowRunner: WorkflowRunner, roleService: RoleService, projectService: ProjectService, nodeCatalogService: NodeCatalogService, workflowCreationService: WorkflowCreationService, nodeTypes: NodeTypes, projectRepository: ProjectRepository, folderFinderService: FolderFinderService, sharedWorkflowRepository: SharedWorkflowRepository, executionRepository: ExecutionRepository, executionService: ExecutionService, executionListService: ExecutionListService, dataTableProxyService: DataTableProxyService, collaborationService: CollaborationService, nodeResourceExplorerService: NodeResourceExplorerService, tagService: TagService, licenseState: LicenseState, postHogClient: PostHogClient, workflowHistoryService: WorkflowHistoryService, workflowsConfig: WorkflowsConfig, workflowPublishedDataService: WorkflowPublishedDataService, errorWorkflowValidationService: ErrorWorkflowValidationService, aiGatewayService: AiGatewayService, postSaveMetrics: McpPostSaveMetricsService, moduleRegistry: ModuleRegistry, eventService: EventService, folderService: FolderService, aiPreferenceService: AiPreferenceService, mcpConfig: McpConfig, executionRedactionServiceProxy: ExecutionRedactionServiceProxy, instanceWriteAccess: InstanceWriteAccessService);
89
90
  recordDiscoveryConnection(userId: string, clientName?: string, caller?: McpAuthContext['caller']): void;
90
91
  resolveFeatureFlags(user: User): Promise<McpFeatureFlags>;
91
92
  private resolveMcpApps;
@@ -28,8 +28,8 @@ const constants_1 = require("../../constants");
28
28
  const credentials_service_1 = require("../../credentials/credentials.service");
29
29
  const execution_list_service_1 = require("../../executions/execution-list.service");
30
30
  const execution_service_1 = require("../../executions/execution.service");
31
- const data_table_proxy_service_1 = require("../../modules/data-table/data-table-proxy.service");
32
- const skill_agents_proxy_service_1 = require("../../modules/skills/skill-agents-proxy.service");
31
+ const backend_module_data_table_1 = require("@n8n/backend-module-data-table");
32
+ const skills_1 = require("../../modules/skills");
33
33
  const node_catalog_1 = require("../../node-catalog");
34
34
  const node_types_1 = require("../../node-types");
35
35
  const posthog_1 = require("../../posthog");
@@ -64,6 +64,7 @@ const get_workflow_version_tool_1 = require("./tools/get-workflow-version.tool")
64
64
  const get_workflow_versions_diff_tool_1 = require("./tools/get-workflow-versions-diff.tool");
65
65
  const instance_activity_tool_1 = require("./tools/instance-activity.tool");
66
66
  const list_credentials_tool_1 = require("./tools/list-credentials.tool");
67
+ const update_credential_description_tool_1 = require("./tools/update-credential-description.tool");
67
68
  const list_n8n_gateway_services_tool_1 = require("./tools/list-n8n-gateway-services.tool");
68
69
  const list_tags_tool_1 = require("./tools/list-tags.tool");
69
70
  const move_workflows_to_folder_tool_1 = require("./tools/move-workflows-to-folder.tool");
@@ -123,7 +124,7 @@ function getWorkflowId(source) {
123
124
  return typeof workflowId === 'string' ? workflowId : undefined;
124
125
  }
125
126
  let McpService = class McpService {
126
- constructor(logger, executionsConfig, instanceSettings, workflowFinderService, workflowService, urlService, credentialsService, activeExecutions, globalConfig, telemetry, workflowRunner, roleService, projectService, nodeCatalogService, workflowCreationService, nodeTypes, projectRepository, folderFinderService, sharedWorkflowRepository, executionRepository, executionService, executionListService, dataTableProxyService, collaborationService, nodeResourceExplorerService, tagService, licenseState, postHogClient, workflowHistoryService, workflowsConfig, workflowPublishedDataService, errorWorkflowValidationService, aiGatewayService, postSaveMetrics, moduleRegistry, eventService, folderService, aiPreferenceService, mcpConfig, executionRedactionServiceProxy, instanceWriteAccess) {
127
+ constructor(logger, executionsConfig, instanceSettings, workflowFinderService, workflowService, urlService, credentialsService, credentialsFinderService, activeExecutions, globalConfig, telemetry, workflowRunner, roleService, projectService, nodeCatalogService, workflowCreationService, nodeTypes, projectRepository, folderFinderService, sharedWorkflowRepository, executionRepository, executionService, executionListService, dataTableProxyService, collaborationService, nodeResourceExplorerService, tagService, licenseState, postHogClient, workflowHistoryService, workflowsConfig, workflowPublishedDataService, errorWorkflowValidationService, aiGatewayService, postSaveMetrics, moduleRegistry, eventService, folderService, aiPreferenceService, mcpConfig, executionRedactionServiceProxy, instanceWriteAccess) {
127
128
  this.logger = logger;
128
129
  this.executionsConfig = executionsConfig;
129
130
  this.instanceSettings = instanceSettings;
@@ -131,6 +132,7 @@ let McpService = class McpService {
131
132
  this.workflowService = workflowService;
132
133
  this.urlService = urlService;
133
134
  this.credentialsService = credentialsService;
135
+ this.credentialsFinderService = credentialsFinderService;
134
136
  this.activeExecutions = activeExecutions;
135
137
  this.globalConfig = globalConfig;
136
138
  this.telemetry = telemetry;
@@ -342,7 +344,7 @@ let McpService = class McpService {
342
344
  registerIfAllowed(getExecutionTool);
343
345
  const searchExecutionsTool = (0, search_executions_tool_1.createSearchExecutionsTool)(user, this.executionListService, this.workflowFinderService, this.telemetry);
344
346
  registerIfAllowed(searchExecutionsTool);
345
- const workflowDetailsTool = (0, get_workflow_details_tool_1.createWorkflowDetailsTool)(user, this.urlService.getWebhookBaseUrl(), this.workflowFinderService, this.credentialsService, this.nodeTypes, {
347
+ const workflowDetailsTool = (0, get_workflow_details_tool_1.createWorkflowDetailsTool)(user, this.urlService.getWebhookBaseUrl(), this.workflowFinderService, this.credentialsService, this.credentialsFinderService, this.nodeTypes, {
346
348
  webhook: this.globalConfig.endpoints.webhook,
347
349
  webhookTest: this.globalConfig.endpoints.webhookTest,
348
350
  }, this.telemetry, this.roleService, this.projectService, this.urlService.getTestWebhookBaseUrl());
@@ -359,11 +361,14 @@ let McpService = class McpService {
359
361
  registerIfAllowed(unpublishWorkflowTool);
360
362
  const prepareTestPinDataTool = (0, prepare_workflow_pin_data_tool_1.createPrepareTestPinDataTool)(user, this.workflowFinderService, this.executionService, this.nodeTypes, this.telemetry, this.logger);
361
363
  registerIfAllowed(prepareTestPinDataTool);
362
- const testWorkflowTool = (0, test_workflow_tool_1.createTestWorkflowTool)(user, this.workflowFinderService, this.activeExecutions, this.workflowRunner, this.nodeTypes, this.telemetry, this);
364
+ const testWorkflowTool = (0, test_workflow_tool_1.createTestWorkflowTool)(user, this.workflowFinderService, this.activeExecutions, this.workflowRunner, this.nodeTypes, this.telemetry, this, this.logger);
363
365
  registerIfAllowed(testWorkflowTool);
364
366
  const listCredentialsTool = (0, list_credentials_tool_1.createListCredentialsTool)(user, this.credentialsService, this.telemetry, this.aiGatewayService, featureFlags.credentialDescriptionsEnabled === true);
365
367
  const listN8nGatewayServicesTool = (0, list_n8n_gateway_services_tool_1.createListN8nGatewayServicesTool)(user, this.aiGatewayService, this.telemetry);
366
368
  registerIfAllowed(listCredentialsTool);
369
+ if (featureFlags.credentialDescriptionsEnabled === true) {
370
+ registerIfAllowed((0, update_credential_description_tool_1.createUpdateCredentialDescriptionTool)(user, this.credentialsService, this.telemetry));
371
+ }
367
372
  registerIfAllowed(listN8nGatewayServicesTool);
368
373
  if (!this.globalConfig.tags.disabled) {
369
374
  const listTagsTool = (0, list_tags_tool_1.createListTagsTool)(user, this.tagService, this.telemetry);
@@ -451,9 +456,9 @@ let McpService = class McpService {
451
456
  const { McpAgentToolsService } = await import('./tools/agents/agent-tools.service.js');
452
457
  di_1.Container.get(McpAgentToolsService).registerTools(registerIfAllowed, registerResource, user, allowedToolNames);
453
458
  }
454
- if (di_1.Container.get(skill_agents_proxy_service_1.SkillAgentsProxy).hasProvider) {
459
+ if (di_1.Container.get(skills_1.SkillsGate).isEnabled) {
455
460
  const { McpSkillToolsService } = await import('./tools/skills/skill-tools.service.js');
456
- await di_1.Container.get(McpSkillToolsService).registerTools(registerIfAllowed, user);
461
+ await di_1.Container.get(McpSkillToolsService).registerTools(registerIfAllowed, user, featureFlags.skillsExtensionEnabled === true);
457
462
  if (featureFlags.skillsExtensionEnabled && (allowedToolNames?.has('get_skill') ?? true)) {
458
463
  const { McpSkillExtensionService } = await import('./tools/skills/skill-extension.service.js');
459
464
  di_1.Container.get(McpSkillExtensionService).register(server, user);
@@ -621,6 +626,6 @@ let McpService = class McpService {
621
626
  exports.McpService = McpService;
622
627
  exports.McpService = McpService = __decorate([
623
628
  (0, di_1.Service)(),
624
- __metadata("design:paramtypes", [backend_common_1.Logger, config_1.ExecutionsConfig, n8n_core_1.InstanceSettings, workflow_finder_service_1.WorkflowFinderService, workflow_service_1.WorkflowService, backend_services_1.UrlService, credentials_service_1.CredentialsService, active_executions_1.ActiveExecutions, config_1.GlobalConfig, telemetry_1.Telemetry, workflow_runner_1.WorkflowRunner, backend_services_1.RoleService, project_service_ee_1.ProjectService, node_catalog_1.NodeCatalogService, workflow_creation_service_1.WorkflowCreationService, node_types_1.NodeTypes, db_1.ProjectRepository, backend_services_1.FolderFinderService, db_1.SharedWorkflowRepository, db_1.ExecutionRepository, execution_service_1.ExecutionService, execution_list_service_1.ExecutionListService, data_table_proxy_service_1.DataTableProxyService, collaboration_service_1.CollaborationService, node_resource_explorer_service_1.NodeResourceExplorerService, tag_service_1.TagService, backend_common_1.LicenseState, posthog_1.PostHogClient, workflow_history_service_1.WorkflowHistoryService, config_1.WorkflowsConfig, backend_services_1.WorkflowPublishedDataService, error_workflow_validation_service_1.ErrorWorkflowValidationService, ai_gateway_service_1.AiGatewayService, mcp_post_save_metrics_service_1.McpPostSaveMetricsService, backend_common_1.ModuleRegistry, backend_services_1.EventService, folder_service_1.FolderService, backend_services_1.AiPreferenceService, mcp_config_1.McpConfig, backend_services_1.ExecutionRedactionServiceProxy, backend_services_1.InstanceWriteAccessService])
629
+ __metadata("design:paramtypes", [backend_common_1.Logger, config_1.ExecutionsConfig, n8n_core_1.InstanceSettings, workflow_finder_service_1.WorkflowFinderService, workflow_service_1.WorkflowService, backend_services_1.UrlService, credentials_service_1.CredentialsService, backend_services_1.CredentialsFinderService, active_executions_1.ActiveExecutions, config_1.GlobalConfig, telemetry_1.Telemetry, workflow_runner_1.WorkflowRunner, backend_services_1.RoleService, project_service_ee_1.ProjectService, node_catalog_1.NodeCatalogService, workflow_creation_service_1.WorkflowCreationService, node_types_1.NodeTypes, db_1.ProjectRepository, backend_services_1.FolderFinderService, db_1.SharedWorkflowRepository, db_1.ExecutionRepository, execution_service_1.ExecutionService, execution_list_service_1.ExecutionListService, backend_module_data_table_1.DataTableProxyService, collaboration_service_1.CollaborationService, node_resource_explorer_service_1.NodeResourceExplorerService, tag_service_1.TagService, backend_common_1.LicenseState, posthog_1.PostHogClient, workflow_history_service_1.WorkflowHistoryService, config_1.WorkflowsConfig, backend_services_1.WorkflowPublishedDataService, error_workflow_validation_service_1.ErrorWorkflowValidationService, ai_gateway_service_1.AiGatewayService, mcp_post_save_metrics_service_1.McpPostSaveMetricsService, backend_common_1.ModuleRegistry, backend_services_1.EventService, folder_service_1.FolderService, backend_services_1.AiPreferenceService, mcp_config_1.McpConfig, backend_services_1.ExecutionRedactionServiceProxy, backend_services_1.InstanceWriteAccessService])
625
630
  ], McpService);
626
631
  //# sourceMappingURL=mcp.service.js.map