n8n 2.35.4 → 2.36.2

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 (733) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/commands/start.js +4 -2
  3. package/dist/commands/start.js.map +1 -1
  4. package/dist/config/index.js +0 -1
  5. package/dist/config/index.js.map +1 -1
  6. package/dist/constants/oauth2-triggers.d.ts +0 -1
  7. package/dist/constants/oauth2-triggers.js +0 -4
  8. package/dist/constants/oauth2-triggers.js.map +1 -1
  9. package/dist/constants.js +1 -0
  10. package/dist/constants.js.map +1 -1
  11. package/dist/controllers/ai.controller.d.ts +2 -5
  12. package/dist/controllers/ai.controller.js.map +1 -1
  13. package/dist/controllers/api-keys.controller.d.ts +1 -1
  14. package/dist/controllers/api-keys.controller.js +10 -10
  15. package/dist/controllers/api-keys.controller.js.map +1 -1
  16. package/dist/controllers/dynamic-node-parameters.controller.d.ts +6 -1
  17. package/dist/controllers/dynamic-node-parameters.controller.js +21 -2
  18. package/dist/controllers/dynamic-node-parameters.controller.js.map +1 -1
  19. package/dist/controllers/e2e.controller.d.ts +21 -2
  20. package/dist/controllers/e2e.controller.js +40 -2
  21. package/dist/controllers/e2e.controller.js.map +1 -1
  22. package/dist/controllers/role.controller.js +3 -5
  23. package/dist/controllers/role.controller.js.map +1 -1
  24. package/dist/credentials/credential-connection-status-provider.interface.d.ts +4 -1
  25. package/dist/credentials/credential-connection-status-proxy.d.ts +2 -2
  26. package/dist/credentials/credential-connection-status-proxy.js +3 -3
  27. package/dist/credentials/credential-connection-status-proxy.js.map +1 -1
  28. package/dist/credentials/credentials-finder.service.d.ts +2 -1
  29. package/dist/credentials/credentials-finder.service.js +2 -1
  30. package/dist/credentials/credentials-finder.service.js.map +1 -1
  31. package/dist/credentials/credentials.controller.d.ts +8 -6
  32. package/dist/credentials/credentials.controller.js +3 -12
  33. package/dist/credentials/credentials.controller.js.map +1 -1
  34. package/dist/credentials/credentials.service.d.ts +38 -30
  35. package/dist/credentials/credentials.service.ee.d.ts +6 -4
  36. package/dist/credentials/credentials.service.ee.js +2 -1
  37. package/dist/credentials/credentials.service.ee.js.map +1 -1
  38. package/dist/credentials/credentials.service.js +93 -45
  39. package/dist/credentials/credentials.service.js.map +1 -1
  40. package/dist/credentials-overwrites.d.ts +1 -0
  41. package/dist/credentials-overwrites.js +17 -0
  42. package/dist/credentials-overwrites.js.map +1 -1
  43. package/dist/deprecation/deprecation.service.js +5 -0
  44. package/dist/deprecation/deprecation.service.js.map +1 -1
  45. package/dist/errors/http-error-classifier.d.ts +4 -1
  46. package/dist/errors/http-error-classifier.js +4 -1
  47. package/dist/errors/http-error-classifier.js.map +1 -1
  48. package/dist/evaluation.ee/evaluation-dataset.service.d.ts +3 -3
  49. package/dist/evaluation.ee/evaluation-dataset.service.js +5 -6
  50. package/dist/evaluation.ee/evaluation-dataset.service.js.map +1 -1
  51. package/dist/events/event.service.d.ts +2 -1
  52. package/dist/events/event.service.js.map +1 -1
  53. package/dist/events/maps/poll-trigger-metrics.event-map.d.ts +9 -0
  54. package/dist/events/maps/poll-trigger-metrics.event-map.js +3 -0
  55. package/dist/events/maps/poll-trigger-metrics.event-map.js.map +1 -0
  56. package/dist/executions/enqueued-execution-recovery.service.js +7 -1
  57. package/dist/executions/enqueued-execution-recovery.service.js.map +1 -1
  58. package/dist/executions/execution-persistence.d.ts +7 -2
  59. package/dist/executions/execution-persistence.js +27 -6
  60. package/dist/executions/execution-persistence.js.map +1 -1
  61. package/dist/executions/execution.service.d.ts +4 -1
  62. package/dist/executions/execution.service.js +2 -2
  63. package/dist/executions/execution.service.js.map +1 -1
  64. package/dist/load-nodes-and-credentials.d.ts +1 -0
  65. package/dist/load-nodes-and-credentials.js +31 -16
  66. package/dist/load-nodes-and-credentials.js.map +1 -1
  67. package/dist/metrics/prometheus/poll-trigger-metrics.service.d.ts +13 -0
  68. package/dist/metrics/prometheus/poll-trigger-metrics.service.js +81 -0
  69. package/dist/metrics/prometheus/poll-trigger-metrics.service.js.map +1 -0
  70. package/dist/metrics/prometheus/prometheus.service.d.ts +2 -1
  71. package/dist/metrics/prometheus/prometheus.service.js +4 -2
  72. package/dist/metrics/prometheus/prometheus.service.js.map +1 -1
  73. package/dist/metrics/prometheus/scheduler-metrics.service.d.ts +2 -0
  74. package/dist/metrics/prometheus/scheduler-metrics.service.js +10 -0
  75. package/dist/metrics/prometheus/scheduler-metrics.service.js.map +1 -1
  76. package/dist/modules/agent-evals/agent-eval-case-generation.service.d.ts +3 -3
  77. package/dist/modules/agent-evals/agent-eval-case-generation.service.js +5 -5
  78. package/dist/modules/agent-evals/agent-eval-case-generation.service.js.map +1 -1
  79. package/dist/modules/agent-evals/agent-eval-rating.service.js +5 -6
  80. package/dist/modules/agent-evals/agent-eval-rating.service.js.map +1 -1
  81. package/dist/modules/agents/adapters/agents-credential-provider.d.ts +1 -0
  82. package/dist/modules/agents/adapters/agents-credential-provider.js +11 -2
  83. package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
  84. package/dist/modules/agents/agent-config.service.js +9 -0
  85. package/dist/modules/agents/agent-config.service.js.map +1 -1
  86. package/dist/modules/agents/agent-default-model-resolver.service.d.ts +19 -0
  87. package/dist/modules/agents/agent-default-model-resolver.service.js +106 -0
  88. package/dist/modules/agents/agent-default-model-resolver.service.js.map +1 -0
  89. package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +7 -1
  90. package/dist/modules/agents/agent-execution-orchestrator.service.js +200 -108
  91. package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
  92. package/dist/modules/agents/agent-integration-management.service.d.ts +24 -6
  93. package/dist/modules/agents/agent-integration-management.service.js +175 -34
  94. package/dist/modules/agents/agent-integration-management.service.js.map +1 -1
  95. package/dist/modules/agents/agent-integration-persistence.service.d.ts +21 -6
  96. package/dist/modules/agents/agent-integration-persistence.service.js +61 -50
  97. package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
  98. package/dist/modules/agents/agent-integrations.controller.d.ts +3 -5
  99. package/dist/modules/agents/agent-integrations.controller.js +11 -6
  100. package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
  101. package/dist/modules/agents/agent-knowledge-commands.d.ts +3 -3
  102. package/dist/modules/agents/agent-knowledge-commands.js +16 -22
  103. package/dist/modules/agents/agent-knowledge-commands.js.map +1 -1
  104. package/dist/modules/agents/{agent-knowledge-sandbox.service.d.ts → agent-knowledge-mirror.service.d.ts} +6 -22
  105. package/dist/modules/agents/agent-knowledge-mirror.service.js +442 -0
  106. package/dist/modules/agents/agent-knowledge-mirror.service.js.map +1 -0
  107. package/dist/modules/agents/agent-knowledge-storage.d.ts +7 -3
  108. package/dist/modules/agents/agent-knowledge-storage.js +11 -4
  109. package/dist/modules/agents/agent-knowledge-storage.js.map +1 -1
  110. package/dist/modules/agents/agent-knowledge.controller.d.ts +3 -5
  111. package/dist/modules/agents/agent-knowledge.controller.js +5 -8
  112. package/dist/modules/agents/agent-knowledge.controller.js.map +1 -1
  113. package/dist/modules/agents/agent-knowledge.service.d.ts +8 -6
  114. package/dist/modules/agents/agent-knowledge.service.js +20 -14
  115. package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
  116. package/dist/modules/agents/agent-model-catalog.service.d.ts +4 -1
  117. package/dist/modules/agents/agent-model-catalog.service.js +24 -13
  118. package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
  119. package/dist/modules/agents/agent-runtime-cache.service.d.ts +9 -1
  120. package/dist/modules/agents/agent-runtime-cache.service.js +50 -17
  121. package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
  122. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +11 -6
  123. package/dist/modules/agents/agent-runtime-reconstruction.service.js +35 -18
  124. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
  125. package/dist/modules/agents/agent-sandbox-principal.d.ts +34 -0
  126. package/dist/modules/agents/agent-sandbox-principal.js +64 -0
  127. package/dist/modules/agents/agent-sandbox-principal.js.map +1 -0
  128. package/dist/modules/agents/agent-sandbox-runtime.service.d.ts +42 -0
  129. package/dist/modules/agents/agent-sandbox-runtime.service.js +290 -0
  130. package/dist/modules/agents/agent-sandbox-runtime.service.js.map +1 -0
  131. package/dist/modules/agents/agent-sandbox.controller.d.ts +3 -6
  132. package/dist/modules/agents/agent-sandbox.controller.js +6 -14
  133. package/dist/modules/agents/agent-sandbox.controller.js.map +1 -1
  134. package/dist/modules/agents/agent-session-langsmith-export.service.d.ts +27 -0
  135. package/dist/modules/agents/agent-session-langsmith-export.service.js +390 -0
  136. package/dist/modules/agents/agent-session-langsmith-export.service.js.map +1 -0
  137. package/dist/modules/agents/agent-skills.service.js +4 -0
  138. package/dist/modules/agents/agent-skills.service.js.map +1 -1
  139. package/dist/modules/agents/agent-slack-integrations.controller.d.ts +22 -2
  140. package/dist/modules/agents/agent-slack-integrations.controller.js +108 -9
  141. package/dist/modules/agents/agent-slack-integrations.controller.js.map +1 -1
  142. package/dist/modules/agents/agent-sse-stream.js +10 -3
  143. package/dist/modules/agents/agent-sse-stream.js.map +1 -1
  144. package/dist/modules/agents/agent-threads.controller.d.ts +8 -1
  145. package/dist/modules/agents/agent-threads.controller.js +20 -2
  146. package/dist/modules/agents/agent-threads.controller.js.map +1 -1
  147. package/dist/modules/agents/agent-validation.service.js +9 -0
  148. package/dist/modules/agents/agent-validation.service.js.map +1 -1
  149. package/dist/modules/agents/agent-workflow-execution.service.d.ts +8 -2
  150. package/dist/modules/agents/agent-workflow-execution.service.js +43 -7
  151. package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
  152. package/dist/modules/agents/agent-workspace.service.d.ts +16 -0
  153. package/dist/modules/agents/agent-workspace.service.js +65 -0
  154. package/dist/modules/agents/agent-workspace.service.js.map +1 -0
  155. package/dist/modules/agents/agents.controller.d.ts +3 -1
  156. package/dist/modules/agents/agents.controller.js +6 -2
  157. package/dist/modules/agents/agents.controller.js.map +1 -1
  158. package/dist/modules/agents/agents.module.d.ts +1 -1
  159. package/dist/modules/agents/agents.module.js +6 -2
  160. package/dist/modules/agents/agents.module.js.map +1 -1
  161. package/dist/modules/agents/agents.service.d.ts +5 -1
  162. package/dist/modules/agents/agents.service.js +3 -2
  163. package/dist/modules/agents/agents.service.js.map +1 -1
  164. package/dist/modules/agents/builder/agents-builder-prompts.d.ts +3 -3
  165. package/dist/modules/agents/builder/agents-builder-prompts.js +23 -11
  166. package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
  167. package/dist/modules/agents/builder/agents-builder-settings.service.d.ts +3 -1
  168. package/dist/modules/agents/builder/agents-builder-settings.service.js +38 -29
  169. package/dist/modules/agents/builder/agents-builder-settings.service.js.map +1 -1
  170. package/dist/modules/agents/builder/agents-builder-tools.service.js +209 -2
  171. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  172. package/dist/modules/agents/builder/agents-builder.service.js +5 -2
  173. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  174. package/dist/modules/agents/builder/builder-model-live-lookup.service.js +1 -1
  175. package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
  176. package/dist/modules/agents/builder/builder-tool-names.d.ts +5 -0
  177. package/dist/modules/agents/builder/builder-tool-names.js +5 -0
  178. package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
  179. package/dist/modules/agents/builder/format-preview-context.js +3 -0
  180. package/dist/modules/agents/builder/format-preview-context.js.map +1 -1
  181. package/dist/modules/agents/builder/interactive/ask-credential.tool.d.ts +1 -0
  182. package/dist/modules/agents/builder/interactive/ask-credential.tool.js +5 -2
  183. package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +1 -1
  184. package/dist/modules/agents/builder/interactive/finish-setup.tool.js +1 -0
  185. package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
  186. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +7 -3
  187. package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
  188. package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +1 -1
  189. package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +1 -1
  190. package/dist/modules/agents/builder/prompts/tools.prompt.js +11 -7
  191. package/dist/modules/agents/builder/prompts/tools.prompt.js.map +1 -1
  192. package/dist/modules/agents/builder/resolve-integration.tool.js +1 -1
  193. package/dist/modules/agents/builder/resolve-integration.tool.js.map +1 -1
  194. package/dist/modules/agents/builder/skills/external-services.skill.js +13 -94
  195. package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
  196. package/dist/modules/agents/builder/skills/index.js +2 -0
  197. package/dist/modules/agents/builder/skills/index.js.map +1 -1
  198. package/dist/modules/agents/builder/skills/node-tools.skill.d.ts +2 -0
  199. package/dist/modules/agents/builder/skills/node-tools.skill.js +132 -0
  200. package/dist/modules/agents/builder/skills/node-tools.skill.js.map +1 -0
  201. package/dist/modules/agents/builder/skills/target-skills.skill.js +62 -21
  202. package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
  203. package/dist/modules/agents/builder/skills/target-tasks.skill.js +34 -17
  204. package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
  205. package/dist/modules/agents/builder/task-objective-template.d.ts +2 -2
  206. package/dist/modules/agents/builder/task-objective-template.js +11 -9
  207. package/dist/modules/agents/builder/task-objective-template.js.map +1 -1
  208. package/dist/modules/agents/execution-recorder.d.ts +25 -0
  209. package/dist/modules/agents/execution-recorder.js +47 -0
  210. package/dist/modules/agents/execution-recorder.js.map +1 -1
  211. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +3 -1
  212. package/dist/modules/agents/integrations/agent-chat-bridge.js +10 -2
  213. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  214. package/dist/modules/agents/integrations/agent-chat-integration.d.ts +10 -1
  215. package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
  216. package/dist/modules/agents/integrations/agent-chat-suspension-cards.d.ts +0 -1
  217. package/dist/modules/agents/integrations/agent-chat-suspension-cards.js +0 -24
  218. package/dist/modules/agents/integrations/agent-chat-suspension-cards.js.map +1 -1
  219. package/dist/modules/agents/integrations/chat-integration.service.d.ts +0 -1
  220. package/dist/modules/agents/integrations/chat-integration.service.js +1 -4
  221. package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
  222. package/dist/modules/agents/integrations/integration-tool-descriptions.js +1 -0
  223. package/dist/modules/agents/integrations/integration-tool-descriptions.js.map +1 -1
  224. package/dist/modules/agents/integrations/n8n-checkpoint-storage.d.ts +3 -0
  225. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js +26 -1
  226. package/dist/modules/agents/integrations/n8n-checkpoint-storage.js.map +1 -1
  227. package/dist/modules/agents/integrations/platforms/slack/assets/n8n-bot-icon.png +0 -0
  228. package/dist/modules/agents/integrations/platforms/slack/slack-integration.d.ts +5 -4
  229. package/dist/modules/agents/integrations/platforms/slack/slack-integration.js +5 -3
  230. package/dist/modules/agents/integrations/platforms/slack/slack-integration.js.map +1 -1
  231. package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.d.ts +78 -0
  232. package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.js +620 -0
  233. package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.js.map +1 -0
  234. package/dist/modules/agents/integrations/platforms/slack/slack-manual-setup.service.d.ts +6 -6
  235. package/dist/modules/agents/integrations/platforms/slack/slack-manual-setup.service.js +31 -24
  236. package/dist/modules/agents/integrations/platforms/slack/slack-manual-setup.service.js.map +1 -1
  237. package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.d.ts +19 -10
  238. package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js +85 -54
  239. package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js.map +1 -1
  240. package/dist/modules/agents/integrations/platforms/slack/slack-setup.types.d.ts +16 -0
  241. package/dist/modules/agents/integrations/platforms/slack/slack-setup.types.js +36 -0
  242. package/dist/modules/agents/integrations/platforms/slack/slack-setup.types.js.map +1 -0
  243. package/dist/modules/agents/json-config/from-json-config.d.ts +2 -2
  244. package/dist/modules/agents/json-config/from-json-config.js +5 -0
  245. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  246. package/dist/modules/agents/json-config/mcp-client-factory.js +17 -12
  247. package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
  248. package/dist/modules/agents/llm-provider-defaults.js +8 -8
  249. package/dist/modules/agents/llm-provider-defaults.js.map +1 -1
  250. package/dist/modules/agents/register-favorite-resolver.d.ts +1 -0
  251. package/dist/modules/agents/register-favorite-resolver.js +18 -0
  252. package/dist/modules/agents/register-favorite-resolver.js.map +1 -0
  253. package/dist/modules/agents/repositories/agent-checkpoint.repository.d.ts +1 -0
  254. package/dist/modules/agents/repositories/agent-checkpoint.repository.js +7 -0
  255. package/dist/modules/agents/repositories/agent-checkpoint.repository.js.map +1 -1
  256. package/dist/modules/agents/repositories/agent-credential-dependency.repository.js +1 -1
  257. package/dist/modules/agents/repositories/agent-credential-dependency.repository.js.map +1 -1
  258. package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +1 -0
  259. package/dist/modules/agents/repositories/agent-execution-thread.repository.js +6 -0
  260. package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
  261. package/dist/modules/agents/repositories/agent.repository.d.ts +4 -1
  262. package/dist/modules/agents/repositories/agent.repository.js +14 -0
  263. package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
  264. package/dist/modules/agents/runtime/agent-secure-runtime.d.ts +2 -0
  265. package/dist/modules/agents/runtime/agent-secure-runtime.js +72 -30
  266. package/dist/modules/agents/runtime/agent-secure-runtime.js.map +1 -1
  267. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +5 -0
  268. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
  269. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +1 -0
  270. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +33 -0
  271. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -1
  272. package/dist/modules/agents/tools/input-data-tool.js +2 -1
  273. package/dist/modules/agents/tools/input-data-tool.js.map +1 -1
  274. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.d.ts +3 -3
  275. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js +4 -4
  276. package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js.map +1 -1
  277. package/dist/modules/agents/tools/workflow-tool-factory.js +11 -70
  278. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  279. package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.d.ts +2 -6
  280. package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js +6 -25
  281. package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js.map +1 -1
  282. package/dist/modules/agents/utils/execution-to-message-mapper.js +9 -0
  283. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  284. package/dist/modules/agents/utils/model-snapshot-alias.d.ts +2 -0
  285. package/dist/modules/agents/utils/model-snapshot-alias.js +9 -0
  286. package/dist/modules/agents/utils/model-snapshot-alias.js.map +1 -0
  287. package/dist/modules/agents/utils/node-tool-validation.d.ts +6 -0
  288. package/dist/modules/agents/utils/node-tool-validation.js +28 -0
  289. package/dist/modules/agents/utils/node-tool-validation.js.map +1 -1
  290. package/dist/modules/data-table/data-table-proxy.service.d.ts +3 -3
  291. package/dist/modules/data-table/data-table-proxy.service.js +5 -6
  292. package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
  293. package/dist/modules/data-table/data-table.controller.d.ts +3 -3
  294. package/dist/modules/data-table/data-table.controller.js +5 -6
  295. package/dist/modules/data-table/data-table.controller.js.map +1 -1
  296. package/dist/modules/data-table/data-table.module.js +2 -0
  297. package/dist/modules/data-table/data-table.module.js.map +1 -1
  298. package/dist/modules/data-table/data-table.repository.d.ts +1 -1
  299. package/dist/modules/data-table/data-table.repository.js +10 -6
  300. package/dist/modules/data-table/data-table.repository.js.map +1 -1
  301. package/dist/modules/data-table/middleware/branch-write-access-middleware.js +2 -3
  302. package/dist/modules/data-table/middleware/branch-write-access-middleware.js.map +1 -1
  303. package/dist/modules/data-table/register-favorite-resolver.d.ts +1 -0
  304. package/dist/modules/data-table/register-favorite-resolver.js +18 -0
  305. package/dist/modules/data-table/register-favorite-resolver.js.map +1 -0
  306. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.d.ts +52 -0
  307. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js +25 -7
  308. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js.map +1 -1
  309. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.js +1 -1
  310. package/dist/modules/dynamic-credentials.ee/dynamic-credentials.controller.js.map +1 -1
  311. package/dist/modules/dynamic-credentials.ee/errors/n8n-identity-not-supported.error.d.ts +4 -0
  312. package/dist/modules/dynamic-credentials.ee/errors/n8n-identity-not-supported.error.js +12 -0
  313. package/dist/modules/dynamic-credentials.ee/errors/n8n-identity-not-supported.error.js.map +1 -0
  314. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.d.ts +8 -1
  315. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js +49 -2
  316. package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js.map +1 -1
  317. package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.d.ts +8 -3
  318. package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.js +29 -6
  319. package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.js.map +1 -1
  320. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js +3 -0
  321. package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js.map +1 -1
  322. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.d.ts +3 -1
  323. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.js +9 -12
  324. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential-web.service.js.map +1 -1
  325. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js +11 -0
  326. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js.map +1 -1
  327. package/dist/modules/favorites/favorite-resource-resolver.registry.d.ts +17 -0
  328. package/dist/modules/favorites/favorite-resource-resolver.registry.js +26 -0
  329. package/dist/modules/favorites/favorite-resource-resolver.registry.js.map +1 -0
  330. package/dist/modules/favorites/favorites.service.d.ts +4 -7
  331. package/dist/modules/favorites/favorites.service.js +18 -34
  332. package/dist/modules/favorites/favorites.service.js.map +1 -1
  333. package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +0 -1
  334. package/dist/modules/insights/database/repositories/insights-by-period.repository.js +1 -5
  335. package/dist/modules/insights/database/repositories/insights-by-period.repository.js.map +1 -1
  336. package/dist/modules/instance-ai/canvas-node-context-flag-gate.d.ts +7 -0
  337. package/dist/modules/instance-ai/canvas-node-context-flag-gate.js +35 -0
  338. package/dist/modules/instance-ai/canvas-node-context-flag-gate.js.map +1 -0
  339. package/dist/modules/instance-ai/drop-rejected-attachments.d.ts +18 -0
  340. package/dist/modules/instance-ai/drop-rejected-attachments.js +49 -0
  341. package/dist/modules/instance-ai/drop-rejected-attachments.js.map +1 -0
  342. package/dist/modules/instance-ai/eval/agent-execution.service.js +2 -1
  343. package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -1
  344. package/dist/modules/instance-ai/instance-ai-error-reporter.service.d.ts +1 -0
  345. package/dist/modules/instance-ai/instance-ai-error-reporter.service.js +9 -0
  346. package/dist/modules/instance-ai/instance-ai-error-reporter.service.js.map +1 -1
  347. package/dist/modules/instance-ai/instance-ai-model.service.d.ts +3 -3
  348. package/dist/modules/instance-ai/instance-ai-model.service.js +15 -21
  349. package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -1
  350. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +9 -4
  351. package/dist/modules/instance-ai/instance-ai-settings.service.js +119 -98
  352. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  353. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.d.ts +4 -0
  354. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js +11 -0
  355. package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js.map +1 -1
  356. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +16 -14
  357. package/dist/modules/instance-ai/instance-ai.adapter.service.js +143 -79
  358. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  359. package/dist/modules/instance-ai/instance-ai.controller.js +9 -0
  360. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  361. package/dist/modules/instance-ai/instance-ai.module.js +3 -3
  362. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  363. package/dist/modules/instance-ai/instance-ai.service.d.ts +19 -6
  364. package/dist/modules/instance-ai/instance-ai.service.js +288 -27
  365. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  366. package/dist/modules/instance-ai/internal-messages.js +1 -1
  367. package/dist/modules/instance-ai/internal-messages.js.map +1 -1
  368. package/dist/modules/instance-ai/repositories/instance-ai-thread-grant.repository.d.ts +1 -0
  369. package/dist/modules/instance-ai/repositories/instance-ai-thread-grant.repository.js +3 -0
  370. package/dist/modules/instance-ai/repositories/instance-ai-thread-grant.repository.js.map +1 -1
  371. package/dist/modules/instance-ai/stream-transport-error.d.ts +1 -0
  372. package/dist/modules/instance-ai/stream-transport-error.js +9 -0
  373. package/dist/modules/instance-ai/stream-transport-error.js.map +1 -0
  374. package/dist/modules/instance-ai/workflow-verification-task-projector.js +4 -1
  375. package/dist/modules/instance-ai/workflow-verification-task-projector.js.map +1 -1
  376. package/dist/modules/mcp/dto/update-mcp-settings.dto.d.ts +32 -2
  377. package/dist/modules/mcp/dto/update-mcp-settings.dto.js +17 -3
  378. package/dist/modules/mcp/dto/update-mcp-settings.dto.js.map +1 -1
  379. package/dist/modules/mcp/mcp-protected-resource.d.ts +3 -2
  380. package/dist/modules/mcp/mcp-protected-resource.js +6 -3
  381. package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
  382. package/dist/modules/mcp/mcp-scopes.d.ts +1 -0
  383. package/dist/modules/mcp/mcp-scopes.js +12 -2
  384. package/dist/modules/mcp/mcp-scopes.js.map +1 -1
  385. package/dist/modules/mcp/mcp.controller.js +1 -1
  386. package/dist/modules/mcp/mcp.controller.js.map +1 -1
  387. package/dist/modules/mcp/mcp.module.d.ts +1 -0
  388. package/dist/modules/mcp/mcp.module.js +4 -2
  389. package/dist/modules/mcp/mcp.module.js.map +1 -1
  390. package/dist/modules/mcp/mcp.service.d.ts +6 -3
  391. package/dist/modules/mcp/mcp.service.js +24 -5
  392. package/dist/modules/mcp/mcp.service.js.map +1 -1
  393. package/dist/modules/mcp/mcp.settings.controller.d.ts +2 -0
  394. package/dist/modules/mcp/mcp.settings.controller.js +24 -10
  395. package/dist/modules/mcp/mcp.settings.controller.js.map +1 -1
  396. package/dist/modules/mcp/mcp.settings.service.d.ts +4 -3
  397. package/dist/modules/mcp/mcp.settings.service.js +20 -2
  398. package/dist/modules/mcp/mcp.settings.service.js.map +1 -1
  399. package/dist/modules/mcp/mcp.types.d.ts +4 -3
  400. package/dist/modules/mcp/mcp.utils.d.ts +4 -1
  401. package/dist/modules/mcp/mcp.utils.js +14 -4
  402. package/dist/modules/mcp/mcp.utils.js.map +1 -1
  403. package/dist/modules/mcp/tools/agents/agent-tools.service.js +10 -1
  404. package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
  405. package/dist/modules/mcp/tools/create-folder.tool.d.ts +13 -0
  406. package/dist/modules/mcp/tools/create-folder.tool.js +68 -0
  407. package/dist/modules/mcp/tools/create-folder.tool.js.map +1 -0
  408. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.js +1 -1
  409. package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.js.map +1 -1
  410. package/dist/modules/mcp/tools/data-table/get-data-table-rows.tool.d.ts +44 -0
  411. package/dist/modules/mcp/tools/data-table/get-data-table-rows.tool.js +134 -0
  412. package/dist/modules/mcp/tools/data-table/get-data-table-rows.tool.js.map +1 -0
  413. package/dist/modules/mcp/tools/data-table/index.d.ts +1 -0
  414. package/dist/modules/mcp/tools/data-table/index.js +3 -1
  415. package/dist/modules/mcp/tools/data-table/index.js.map +1 -1
  416. package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +11 -21
  417. package/dist/modules/mcp/tools/execute-workflow.tool.js +113 -76
  418. package/dist/modules/mcp/tools/execute-workflow.tool.js.map +1 -1
  419. package/dist/modules/mcp/tools/folder-error.utils.d.ts +13 -0
  420. package/dist/modules/mcp/tools/folder-error.utils.js +25 -0
  421. package/dist/modules/mcp/tools/folder-error.utils.js.map +1 -0
  422. package/dist/modules/mcp/tools/get-workflow-details.tool.js +1 -1
  423. package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
  424. package/dist/modules/mcp/tools/get-workflow-versions-diff.tool.d.ts +81 -0
  425. package/dist/modules/mcp/tools/get-workflow-versions-diff.tool.js +218 -0
  426. package/dist/modules/mcp/tools/get-workflow-versions-diff.tool.js.map +1 -0
  427. package/dist/modules/mcp/tools/move-workflows-to-folder.tool.d.ts +13 -0
  428. package/dist/modules/mcp/tools/move-workflows-to-folder.tool.js +122 -0
  429. package/dist/modules/mcp/tools/move-workflows-to-folder.tool.js.map +1 -0
  430. package/dist/modules/mcp/tools/schemas.d.ts +7 -0
  431. package/dist/modules/mcp/tools/schemas.js +15 -1
  432. package/dist/modules/mcp/tools/schemas.js.map +1 -1
  433. package/dist/modules/mcp/tools/search-folders.tool.d.ts +3 -2
  434. package/dist/modules/mcp/tools/search-folders.tool.js +14 -8
  435. package/dist/modules/mcp/tools/search-folders.tool.js.map +1 -1
  436. package/dist/modules/mcp/tools/test-workflow.tool.js +10 -18
  437. package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
  438. package/dist/modules/mcp/tools/update-folder.tool.d.ts +14 -0
  439. package/dist/modules/mcp/tools/update-folder.tool.js +74 -0
  440. package/dist/modules/mcp/tools/update-folder.tool.js.map +1 -0
  441. package/dist/modules/mcp/tools/webhook-utils.js +6 -4
  442. package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
  443. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +18 -5
  444. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  445. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +4 -4
  446. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +467 -397
  447. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  448. package/dist/modules/mcp/tools/workflow-inputs.d.ts +111 -0
  449. package/dist/modules/mcp/tools/workflow-inputs.js +81 -0
  450. package/dist/modules/mcp/tools/workflow-inputs.js.map +1 -0
  451. package/dist/modules/mcp/tools/workflow-validation.utils.d.ts +2 -0
  452. package/dist/modules/mcp/tools/workflow-validation.utils.js +7 -6
  453. package/dist/modules/mcp/tools/workflow-validation.utils.js.map +1 -1
  454. package/dist/modules/mcp-registry/registry/mcp-registry.service.d.ts +1 -0
  455. package/dist/modules/mcp-registry/registry/mcp-registry.service.js +4 -0
  456. package/dist/modules/mcp-registry/registry/mcp-registry.service.js.map +1 -1
  457. package/dist/modules/n8n-packages/entities/credential/credential.serializer.js +4 -2
  458. package/dist/modules/n8n-packages/entities/credential/credential.serializer.js.map +1 -1
  459. package/dist/modules/n8n-packages/entities/data-table/data-table.serializer.js +13 -9
  460. package/dist/modules/n8n-packages/entities/data-table/data-table.serializer.js.map +1 -1
  461. package/dist/modules/n8n-packages/entities/folder/folder.exporter.d.ts +2 -0
  462. package/dist/modules/n8n-packages/entities/folder/folder.exporter.js +1 -0
  463. package/dist/modules/n8n-packages/entities/folder/folder.exporter.js.map +1 -1
  464. package/dist/modules/n8n-packages/entities/folder/folder.serializer.js +4 -2
  465. package/dist/modules/n8n-packages/entities/folder/folder.serializer.js.map +1 -1
  466. package/dist/modules/n8n-packages/entities/package-serialization.types.d.ts +17 -0
  467. package/dist/modules/n8n-packages/entities/package-serialization.types.js +7 -0
  468. package/dist/modules/n8n-packages/entities/package-serialization.types.js.map +1 -0
  469. package/dist/modules/n8n-packages/entities/project/project.exporter.d.ts +2 -0
  470. package/dist/modules/n8n-packages/entities/project/project.exporter.js +2 -0
  471. package/dist/modules/n8n-packages/entities/project/project.exporter.js.map +1 -1
  472. package/dist/modules/n8n-packages/entities/project/project.serializer.js +4 -2
  473. package/dist/modules/n8n-packages/entities/project/project.serializer.js.map +1 -1
  474. package/dist/modules/n8n-packages/entities/tag/tag.exporter.js +3 -1
  475. package/dist/modules/n8n-packages/entities/tag/tag.exporter.js.map +1 -1
  476. package/dist/modules/n8n-packages/entities/variable/variable.serializer.js +6 -3
  477. package/dist/modules/n8n-packages/entities/variable/variable.serializer.js.map +1 -1
  478. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.d.ts +2 -0
  479. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js +21 -4
  480. package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow-resolver.js.map +1 -1
  481. package/dist/modules/n8n-packages/entities/workflow/workflow-dependency-resolver.d.ts +2 -0
  482. package/dist/modules/n8n-packages/entities/workflow/workflow-dependency-resolver.js +4 -1
  483. package/dist/modules/n8n-packages/entities/workflow/workflow-dependency-resolver.js.map +1 -1
  484. package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.d.ts +4 -0
  485. package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.js +48 -0
  486. package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.js.map +1 -0
  487. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.d.ts +2 -0
  488. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js +7 -2
  489. package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
  490. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js +5 -3
  491. package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js.map +1 -1
  492. package/dist/modules/n8n-packages/n8n-packages.service.js +6 -0
  493. package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
  494. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +8 -0
  495. package/dist/modules/n8n-packages/n8n-packages.types.js +7 -1
  496. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  497. package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.d.ts +2 -2
  498. package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js +3 -3
  499. package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js.map +1 -1
  500. package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.d.ts +2 -2
  501. package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.js +3 -3
  502. package/dist/modules/oauth-server/database/repositories/oauth-refresh-token.repository.js.map +1 -1
  503. package/dist/modules/oauth-server/oauth-consent.controller.js +2 -0
  504. package/dist/modules/oauth-server/oauth-consent.controller.js.map +1 -1
  505. package/dist/modules/oauth-server/oauth-consent.service.d.ts +8 -1
  506. package/dist/modules/oauth-server/oauth-consent.service.js +33 -0
  507. package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
  508. package/dist/modules/oauth-server/oauth-server.service.d.ts +6 -1
  509. package/dist/modules/oauth-server/oauth-server.service.js +36 -4
  510. package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
  511. package/dist/modules/oauth-server/oauth-token.service.d.ts +6 -2
  512. package/dist/modules/oauth-server/oauth-token.service.js +19 -7
  513. package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
  514. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.d.ts +7 -3
  515. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js +8 -7
  516. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js.map +1 -1
  517. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.d.ts +6 -3
  518. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js +8 -7
  519. package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js.map +1 -1
  520. package/dist/modules/oauth-server/protected-resource-resolvers/utils.d.ts +2 -0
  521. package/dist/modules/oauth-server/protected-resource-resolvers/utils.js +5 -1
  522. package/dist/modules/oauth-server/protected-resource-resolvers/utils.js.map +1 -1
  523. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.d.ts +4 -3
  524. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js +7 -7
  525. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js.map +1 -1
  526. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.d.ts +5 -3
  527. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js +7 -7
  528. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js.map +1 -1
  529. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js +7 -11
  530. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js.map +1 -1
  531. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js +7 -11
  532. package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js.map +1 -1
  533. package/dist/modules/oauth-server/resource-gate.d.ts +6 -0
  534. package/dist/modules/oauth-server/resource-gate.js +17 -0
  535. package/dist/modules/oauth-server/resource-gate.js.map +1 -0
  536. package/dist/modules/provisioning.ee/role-mapping-rule.controller.ee.js +1 -9
  537. package/dist/modules/provisioning.ee/role-mapping-rule.controller.ee.js.map +1 -1
  538. package/dist/modules/provisioning.ee/role-mapping-rule.service.ee.d.ts +5 -2
  539. package/dist/modules/provisioning.ee/role-mapping-rule.service.ee.js +14 -4
  540. package/dist/modules/provisioning.ee/role-mapping-rule.service.ee.js.map +1 -1
  541. package/dist/modules/source-control.ee/source-control-preferences.service.ee.d.ts +3 -1
  542. package/dist/modules/source-control.ee/source-control-preferences.service.ee.js +5 -2
  543. package/dist/modules/source-control.ee/source-control-preferences.service.ee.js.map +1 -1
  544. package/dist/modules/workflow-reviews.ee/workflow-review-access.service.d.ts +27 -0
  545. package/dist/modules/workflow-reviews.ee/workflow-review-access.service.js +108 -0
  546. package/dist/modules/workflow-reviews.ee/workflow-review-access.service.js.map +1 -0
  547. package/dist/modules/workflow-reviews.ee/workflow-review-activity.service.d.ts +23 -0
  548. package/dist/modules/workflow-reviews.ee/workflow-review-activity.service.js +99 -0
  549. package/dist/modules/workflow-reviews.ee/workflow-review-activity.service.js.map +1 -0
  550. package/dist/modules/workflow-reviews.ee/workflow-review-auto-close.service.d.ts +4 -2
  551. package/dist/modules/workflow-reviews.ee/workflow-review-auto-close.service.js +30 -11
  552. package/dist/modules/workflow-reviews.ee/workflow-review-auto-close.service.js.map +1 -1
  553. package/dist/modules/workflow-reviews.ee/workflow-review-eligibility.service.d.ts +18 -0
  554. package/dist/modules/workflow-reviews.ee/workflow-review-eligibility.service.js +77 -0
  555. package/dist/modules/workflow-reviews.ee/workflow-review-eligibility.service.js.map +1 -0
  556. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.d.ts +8 -11
  557. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +52 -71
  558. package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -1
  559. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.d.ts +6 -4
  560. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js +157 -40
  561. package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js.map +1 -1
  562. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.d.ts +6 -2
  563. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js +30 -2
  564. package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js.map +1 -1
  565. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.d.ts +4 -2
  566. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js +69 -0
  567. package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js.map +1 -1
  568. package/dist/oauth/account-identifier.d.ts +2 -0
  569. package/dist/oauth/account-identifier.js +38 -0
  570. package/dist/oauth/account-identifier.js.map +1 -0
  571. package/dist/oauth/oauth.service.d.ts +0 -1
  572. package/dist/oauth/oauth.service.js +7 -39
  573. package/dist/oauth/oauth.service.js.map +1 -1
  574. package/dist/posthog/index.js +3 -0
  575. package/dist/posthog/index.js.map +1 -1
  576. package/dist/public-api/index.d.ts +1 -1
  577. package/dist/public-api/index.js +8 -4
  578. package/dist/public-api/index.js.map +1 -1
  579. package/dist/public-api/types.d.ts +0 -16
  580. package/dist/public-api/v1/controllers/index.d.ts +1 -0
  581. package/dist/public-api/v1/controllers/index.js +1 -0
  582. package/dist/public-api/v1/controllers/index.js.map +1 -1
  583. package/dist/public-api/v1/controllers/role-mapping-rules.public.controller.d.ts +11 -0
  584. package/dist/public-api/v1/controllers/role-mapping-rules.public.controller.js +61 -0
  585. package/dist/public-api/v1/controllers/role-mapping-rules.public.controller.js.map +1 -0
  586. package/dist/public-api/v1/controllers/roles.public.controller.d.ts +4 -1
  587. package/dist/public-api/v1/controllers/roles.public.controller.js +95 -10
  588. package/dist/public-api/v1/controllers/roles.public.controller.js.map +1 -1
  589. package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +11 -2
  590. package/dist/public-api/v1/controllers/workflows.public.controller.js +159 -3
  591. package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -1
  592. package/dist/public-api/v1/handlers/credentials/credentials.handler.js +111 -43
  593. package/dist/public-api/v1/handlers/credentials/credentials.handler.js.map +1 -1
  594. package/dist/public-api/v1/handlers/credentials/credentials.middleware.js +13 -6
  595. package/dist/public-api/v1/handlers/credentials/credentials.middleware.js.map +1 -1
  596. package/dist/public-api/v1/handlers/credentials/credentials.utils.d.ts +12 -0
  597. package/dist/public-api/v1/handlers/credentials/credentials.utils.js +182 -0
  598. package/dist/public-api/v1/handlers/credentials/credentials.utils.js.map +1 -0
  599. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.d.ts +1 -0
  600. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +1 -0
  601. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
  602. package/dist/public-api/v1/handlers/workflows/workflows.handler.d.ts +0 -3
  603. package/dist/public-api/v1/handlers/workflows/workflows.handler.js +0 -76
  604. package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
  605. package/dist/public-api/v1/openapi.yml +678 -126
  606. package/dist/public-api/v1/public-api-error-response.d.ts +2 -1
  607. package/dist/public-api/v1/public-api-error-response.js +2 -2
  608. package/dist/public-api/v1/public-api-error-response.js.map +1 -1
  609. package/dist/scaling/constants.js +1 -0
  610. package/dist/scaling/constants.js.map +1 -1
  611. package/dist/scaling/job-processor.js +15 -11
  612. package/dist/scaling/job-processor.js.map +1 -1
  613. package/dist/scaling/scaling.types.d.ts +2 -1
  614. package/dist/scheduling/durable-job-provisioner.d.ts +3 -2
  615. package/dist/scheduling/durable-job-provisioner.js +42 -8
  616. package/dist/scheduling/durable-job-provisioner.js.map +1 -1
  617. package/dist/scheduling/durable-scheduler.js +5 -1
  618. package/dist/scheduling/durable-scheduler.js.map +1 -1
  619. package/dist/scheduling/owner-key.d.ts +14 -0
  620. package/dist/scheduling/owner-key.js +17 -0
  621. package/dist/scheduling/owner-key.js.map +1 -0
  622. package/dist/scheduling/poll-trigger-node/poll-job-provider.d.ts +3 -1
  623. package/dist/scheduling/poll-trigger-node/poll-job-provider.js +7 -3
  624. package/dist/scheduling/poll-trigger-node/poll-job-provider.js.map +1 -1
  625. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.d.ts +5 -2
  626. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js +60 -33
  627. package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js.map +1 -1
  628. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js +35 -6
  629. package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js.map +1 -1
  630. package/dist/security-audit/risk-reporters/instance-risk-reporter.js +1 -1
  631. package/dist/security-audit/risk-reporters/instance-risk-reporter.js.map +1 -1
  632. package/dist/server.js +8 -9
  633. package/dist/server.js.map +1 -1
  634. package/dist/services/ai-gateway.service.d.ts +3 -7
  635. package/dist/services/ai-gateway.service.js +31 -8
  636. package/dist/services/ai-gateway.service.js.map +1 -1
  637. package/dist/services/api-key-auth.strategy.js +3 -0
  638. package/dist/services/api-key-auth.strategy.js.map +1 -1
  639. package/dist/services/dynamic-node-parameters.service.d.ts +4 -2
  640. package/dist/services/dynamic-node-parameters.service.js +17 -3
  641. package/dist/services/dynamic-node-parameters.service.js.map +1 -1
  642. package/dist/services/folder.service.d.ts +1 -1
  643. package/dist/services/folder.service.js.map +1 -1
  644. package/dist/services/frontend.service.js +2 -1
  645. package/dist/services/frontend.service.js.map +1 -1
  646. package/dist/services/instance-write-access.service.d.ts +5 -0
  647. package/dist/services/instance-write-access.service.js +26 -0
  648. package/dist/services/instance-write-access.service.js.map +1 -0
  649. package/dist/services/oauth-token-verifier-proxy.service.d.ts +4 -2
  650. package/dist/services/oauth-token-verifier-proxy.service.js +2 -2
  651. package/dist/services/oauth-token-verifier-proxy.service.js.map +1 -1
  652. package/dist/services/ownership-transfer/ownership-transfer.manifest.json +1 -1
  653. package/dist/services/project.service.ee.js +12 -5
  654. package/dist/services/project.service.ee.js.map +1 -1
  655. package/dist/services/protected-resource.registry.d.ts +4 -0
  656. package/dist/services/protected-resource.registry.js.map +1 -1
  657. package/dist/services/pruning/workflow-history-compaction.service.js +9 -6
  658. package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
  659. package/dist/services/role.service.d.ts +13 -3
  660. package/dist/services/role.service.js +13 -5
  661. package/dist/services/role.service.js.map +1 -1
  662. package/dist/services/sandbox-settings.service.d.ts +29 -0
  663. package/dist/services/sandbox-settings.service.js +144 -0
  664. package/dist/services/sandbox-settings.service.js.map +1 -0
  665. package/dist/services/session-cookie-auth.strategy.d.ts +11 -0
  666. package/dist/services/session-cookie-auth.strategy.js +61 -0
  667. package/dist/services/session-cookie-auth.strategy.js.map +1 -0
  668. package/dist/utils/ai-proxy-language-model.d.ts +13 -0
  669. package/dist/utils/ai-proxy-language-model.js +48 -0
  670. package/dist/utils/ai-proxy-language-model.js.map +1 -0
  671. package/dist/utils/ttl-map.d.ts +3 -1
  672. package/dist/utils/ttl-map.js +13 -17
  673. package/dist/utils/ttl-map.js.map +1 -1
  674. package/dist/webhooks/webhook-helpers.js +12 -2
  675. package/dist/webhooks/webhook-helpers.js.map +1 -1
  676. package/dist/workflow-execute-additional-data.js +17 -1
  677. package/dist/workflow-execute-additional-data.js.map +1 -1
  678. package/dist/workflow-runner.d.ts +4 -1
  679. package/dist/workflow-runner.js +6 -1
  680. package/dist/workflow-runner.js.map +1 -1
  681. package/dist/workflows/publication/trigger-diff.js +10 -1
  682. package/dist/workflows/publication/trigger-diff.js.map +1 -1
  683. package/dist/workflows/publication/workflow-publication-outbox-consumer.d.ts +3 -4
  684. package/dist/workflows/publication/workflow-publication-outbox-consumer.js +46 -50
  685. package/dist/workflows/publication/workflow-publication-outbox-consumer.js.map +1 -1
  686. package/dist/workflows/publication/workflow-publication-outbox-worker-pool.d.ts +16 -0
  687. package/dist/workflows/publication/workflow-publication-outbox-worker-pool.js +50 -0
  688. package/dist/workflows/publication/workflow-publication-outbox-worker-pool.js.map +1 -0
  689. package/dist/workflows/triggers/durable-poller-gate.service.d.ts +19 -0
  690. package/dist/workflows/triggers/durable-poller-gate.service.js +78 -0
  691. package/dist/workflows/triggers/durable-poller-gate.service.js.map +1 -0
  692. package/dist/workflows/triggers/enabled-trigger-nodes.d.ts +6 -0
  693. package/dist/workflows/triggers/enabled-trigger-nodes.js +18 -0
  694. package/dist/workflows/triggers/enabled-trigger-nodes.js.map +1 -0
  695. package/dist/workflows/triggers/poll-cursor.service.d.ts +39 -0
  696. package/dist/workflows/triggers/poll-cursor.service.js +100 -0
  697. package/dist/workflows/triggers/poll-cursor.service.js.map +1 -0
  698. package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +6 -4
  699. package/dist/workflows/triggers/trigger-execution-context.factory.js +56 -7
  700. package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
  701. package/dist/workflows/triggers/workflow-trigger-activator.d.ts +3 -5
  702. package/dist/workflows/triggers/workflow-trigger-activator.js +2 -11
  703. package/dist/workflows/triggers/workflow-trigger-activator.js.map +1 -1
  704. package/dist/workflows/workflow-creation.service.d.ts +4 -1
  705. package/dist/workflows/workflow-creation.service.js +20 -2
  706. package/dist/workflows/workflow-creation.service.js.map +1 -1
  707. package/dist/workflows/workflow-entity-mapper.js.map +1 -1
  708. package/dist/workflows/workflow-execution.service.d.ts +9 -4
  709. package/dist/workflows/workflow-execution.service.js +93 -2
  710. package/dist/workflows/workflow-execution.service.js.map +1 -1
  711. package/dist/workflows/workflow-finder.service.d.ts +1 -0
  712. package/dist/workflows/workflow-finder.service.js +5 -1
  713. package/dist/workflows/workflow-finder.service.js.map +1 -1
  714. package/dist/workflows/workflow-validation.service.d.ts +1 -0
  715. package/dist/workflows/workflow-validation.service.js +32 -11
  716. package/dist/workflows/workflow-validation.service.js.map +1 -1
  717. package/dist/workflows/workflow.service.d.ts +1 -0
  718. package/dist/workflows/workflow.service.js +18 -4
  719. package/dist/workflows/workflow.service.js.map +1 -1
  720. package/package.json +42 -41
  721. package/templates/form-shell.handlebars +155 -86
  722. package/templates/form-trigger.handlebars +97 -2
  723. package/dist/modules/agents/agent-knowledge-gate.d.ts +0 -2
  724. package/dist/modules/agents/agent-knowledge-gate.js +0 -7
  725. package/dist/modules/agents/agent-knowledge-gate.js.map +0 -1
  726. package/dist/modules/agents/agent-knowledge-sandbox.service.js +0 -693
  727. package/dist/modules/agents/agent-knowledge-sandbox.service.js.map +0 -1
  728. package/dist/modules/workflow-reviews.ee/workflow-review-decision-eligibility.service.d.ts +0 -15
  729. package/dist/modules/workflow-reviews.ee/workflow-review-decision-eligibility.service.js +0 -52
  730. package/dist/modules/workflow-reviews.ee/workflow-review-decision-eligibility.service.js.map +0 -1
  731. package/dist/public-api/v1/handlers/credentials/credentials.service.d.ts +0 -36
  732. package/dist/public-api/v1/handlers/credentials/credentials.service.js +0 -330
  733. package/dist/public-api/v1/handlers/credentials/credentials.service.js.map +0 -1
@@ -17,7 +17,8 @@ changing, or removing entries in \`tools[]\` / \`mcpServers\` / \`providerTools\
17
17
 
18
18
  For an external product, load \`agent-builder-external-services\` once and
19
19
  follow it. It covers the chat-integration-versus-callable-tool decision, chat
20
- integration setup, MCP servers, and node tools.
20
+ integration setup, and MCP servers. Load \`agent-builder-node-tools\` before
21
+ configuring a node tool.
21
22
 
22
23
  - Chat/trigger integration: call \`list_integration_types\`, then
23
24
  \`configure_channel\` with a returned type. Do not call \`resolve_integration\`
@@ -29,8 +30,8 @@ integration setup, MCP servers, and node tools.
29
30
  from memory.
30
31
  - \`kind: "mcp"\`: follow the skill's MCP Servers section — credential,
31
32
  verification, and config workflow.
32
- - \`kind: "node"\`: follow the skill's Node Tools section, use the returned
33
- node results, and continue with \`get_node_types\`.
33
+ - \`kind: "node"\`: load \`agent-builder-node-tools\`, use the returned node
34
+ results, and continue with \`get_node_types\`.
34
35
 
35
36
  Use \`search_nodes\` directly only when the user explicitly asks for an n8n node,
36
37
  when refining node results, or when a verified MCP server lacks the requested
@@ -52,10 +53,13 @@ they cannot perform live network, filesystem, process, timer, or host I/O.
52
53
 
53
54
  #### Node Tools
54
55
 
55
- Load \`agent-builder-external-services\` when the user explicitly requests an
56
- n8n node, and follow its Node Tools section before adding, changing, or
57
- removing node-backed tools, \`nodeParameters\`, \`$fromAI\` usage, or n8n
58
- expressions.
56
+ Load \`agent-builder-node-tools\` before adding, changing, or removing
57
+ node-backed tools, \`nodeParameters\`, \`$fromAI\` usage, or n8n expressions.
58
+ For an HTTP Request Tool, use only an exact URL explicitly supplied by the
59
+ user. If the user has not supplied one during an initial build, you MUST ask
60
+ for it through the trailing \`finish_setup\` call, then configure the tool with
61
+ the answer. On later turns, use \`ask_questions\` before mutating the config.
62
+ Never infer or invent a URL.
59
63
 
60
64
  #### MCP Servers
61
65
 
@@ -1 +1 @@
1
- {"version":3,"file":"tools.prompt.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/prompts/tools.prompt.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iFAwFqD,CAAC"}
1
+ {"version":3,"file":"tools.prompt.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/prompts/tools.prompt.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iFA4FqD,CAAC"}
@@ -12,7 +12,7 @@ const resolveIntegrationInputSchema = zod_1.z.object({
12
12
  });
13
13
  function buildResolveIntegrationTool(deps) {
14
14
  return new tool_1.Tool(builder_tool_names_1.BUILDER_TOOLS.RESOLVE_INTEGRATION)
15
- .description('Resolve external services to MCP servers or n8n node tools. Searches the MCP registry first and returns kind: "mcp" when a match exists; only searches agent-eligible n8n node tools and returns kind: "node" when no MCP server matches. For either kind, load agent-builder-external-services and follow its matching section, using the returned results.')
15
+ .description('Resolve external services to MCP servers or n8n node tools. Searches the MCP registry first and returns kind: "mcp" when a match exists; only searches agent-eligible n8n node tools and returns kind: "node" when no MCP server matches. For kind "mcp", load agent-builder-external-services. For kind "node", load agent-builder-node-tools. Follow the loaded skill using the returned results.')
16
16
  .input(resolveIntegrationInputSchema)
17
17
  .handler(async ({ queries }) => {
18
18
  const mcpResults = await deps.mcpRegistryService.search(queries);
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-integration.tool.js","sourceRoot":"","sources":["../../../../src/modules/agents/builder/resolve-integration.tool.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AACxC,6BAAwB;AAKxB,6DAAqD;AAOrD,MAAM,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC;SACR,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CAAC,2DAA2D,CAAC;CACvE,CAAC,CAAC;AAEH,qCAA4C,IAA4B;IACvE,OAAO,IAAI,WAAI,CAAC,kCAAa,CAAC,mBAAmB,CAAC;SAChD,WAAW,CACX,8VAA8V,CAC9V;SACA,KAAK,CAAC,6BAA6B,CAAC;SACpC,OAAO,CAAC,KAAK,EAAE,EAAE,OAAO,EAAyB,EAAE,EAAE;QACrD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACjE,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC3B,OAAO,EAAE,IAAI,EAAE,KAAc,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;QACtD,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAChF,OAAO;YACN,IAAI,EAAE,MAAe;YACrB,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,oBAAoB,EAAE,WAAW,CAAC,oBAAoB;SACtD,CAAC;IACH,CAAC,CAAC;SACD,KAAK,EAAE,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"resolve-integration.tool.js","sourceRoot":"","sources":["../../../../src/modules/agents/builder/resolve-integration.tool.ts"],"names":[],"mappings":";;;AACA,2CAAwC;AACxC,6BAAwB;AAKxB,6DAAqD;AAOrD,MAAM,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC;SACR,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CAAC,2DAA2D,CAAC;CACvE,CAAC,CAAC;AAEH,qCAA4C,IAA4B;IACvE,OAAO,IAAI,WAAI,CAAC,kCAAa,CAAC,mBAAmB,CAAC;SAChD,WAAW,CACX,qYAAqY,CACrY;SACA,KAAK,CAAC,6BAA6B,CAAC;SACpC,OAAO,CAAC,KAAK,EAAE,EAAE,OAAO,EAAyB,EAAE,EAAE;QACrD,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QACjE,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC3B,OAAO,EAAE,IAAI,EAAE,KAAc,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;QACtD,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;QAChF,OAAO;YACN,IAAI,EAAE,MAAe;YACrB,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,oBAAoB,EAAE,WAAW,CAAC,oBAAoB;SACtD,CAAC;IACH,CAAC,CAAC;SACD,KAAK,EAAE,CAAC;AACX,CAAC"}
@@ -10,13 +10,11 @@ function externalServicesSkill() {
10
10
  return {
11
11
  id: 'agent-builder-external-services',
12
12
  name: 'Agent Builder External Services',
13
- description: 'Use when connecting the target agent to any external product: deciding whether Slack, Discord, Linear, Telegram, or another platform is a chat integration/trigger versus an MCP, node, or workflow tool; adding, removing, or updating chat integrations or MCP servers; and wiring n8n node-backed tools (search_nodes/get_node_types discovery, nodeParameters, node credential slots, $fromAI usage, n8n expressions).',
13
+ description: 'Use when connecting the target agent to an external product: deciding whether Slack, Discord, Linear, Telegram, or another platform is a chat integration/trigger versus a callable service, and adding, removing, or updating chat integrations or MCP servers.',
14
14
  recommendedTools: [
15
15
  'resolve_integration',
16
16
  'list_integration_types',
17
17
  'configure_channel',
18
- 'search_nodes',
19
- 'get_node_types',
20
18
  'ask_credential',
21
19
  'verify_mcp_server',
22
20
  'read_config',
@@ -27,11 +25,8 @@ function externalServicesSkill() {
27
25
  'list_integration_types',
28
26
  'configure_channel',
29
27
  'search_mcp_servers',
30
- 'search_nodes',
31
- 'get_node_types',
32
28
  'ask_credential',
33
29
  'verify_mcp_server',
34
- 'get_resource_locator_options',
35
30
  'ask_questions',
36
31
  'read_config',
37
32
  'patch_config',
@@ -41,11 +36,10 @@ function externalServicesSkill() {
41
36
  instructions: `\
42
37
  ## Purpose
43
38
 
44
- Use this to connect the target agent to external products across all three
45
- surfaces: chat integrations (the \`integrations\` array), MCP servers
46
- (\`mcpServers\`), and n8n node tools (entries in \`tools[]\` with
47
- \`nodeParameters\`). Decide the right surface first, then follow that
48
- section.
39
+ Use this to connect the target agent to external products across chat
40
+ integrations (the \`integrations\` array), MCP servers (\`mcpServers\`), and
41
+ n8n node tools. Decide the right surface first. For a node tool, load
42
+ \`agent-builder-node-tools\` and follow that skill.
49
43
 
50
44
  ## Integration vs Callable Tool Decision
51
45
 
@@ -81,18 +75,7 @@ Examples:
81
75
 
82
76
  For callable (non-chat) services, call \`resolve_integration\` separately per
83
77
  service and follow the returned \`kind\`: \`"mcp"\` -> MCP Servers section
84
- below, \`"node"\` -> Node Tools section below.
85
-
86
- ## Web Search vs Direct HTTP Requests
87
-
88
- Generic web search, browsing, research, current-information, and source-finding
89
- requests must use \`config.webSearch\` according to the system prompt's
90
- web-search rules. Do not call \`resolve_integration\` or \`search_nodes\` for
91
- these requests.
92
-
93
- Never add \`n8n-nodes-base.httpRequestTool\` or
94
- \`@n8n/n8n-nodes-langchain.toolHttpRequest\` unless the user explicitly
95
- requests the HTTP Request Tool or direct HTTP, API, or specific-page fetching.
78
+ below, \`"node"\` -> load \`agent-builder-node-tools\`.
96
79
 
97
80
  ## Chat Integrations
98
81
 
@@ -157,8 +140,9 @@ call \`resolve_integration\` with queries matching the requested service.
157
140
  Resolve one requested service per call; use \`queries\` only for alternative
158
141
  search terms for that service.
159
142
 
160
- - If it returns \`kind: "node"\` for a generic service request, follow the Node
161
- Tools section with the returned node results. Stop this MCP workflow.
143
+ - If it returns \`kind: "node"\` for a generic service request, load
144
+ \`agent-builder-node-tools\` and follow it with the returned node results.
145
+ Stop this MCP workflow.
162
146
  - If it returns \`kind: "node"\` but the user explicitly requested an MCP server,
163
147
  do not silently substitute a node tool. Continue with manual MCP setup by
164
148
  asking for the URL and transport/authentication decision through
@@ -206,9 +190,9 @@ credential into the matching entry itself (\`credentialApplied: true\`); no
206
190
  additions keep the immediate ask + verify flow above unchanged.
207
191
 
208
192
  If verification succeeds but the tools do not cover the requested capability
209
- for a generic service request, switch to the Node Tools section, call
210
- \`search_nodes\` with the same service queries, and continue with node setup. Do
211
- not add the MCP server merely because its registry entry matched.
193
+ for a generic service request, load \`agent-builder-node-tools\`, call
194
+ \`search_nodes\` with the same service queries, and follow that skill. Do not
195
+ add the MCP server merely because its registry entry matched.
212
196
 
213
197
  Full schema reference:
214
198
 
@@ -302,70 +286,6 @@ Auth, or None) via \`${api_types_1.ASK_QUESTIONS_TOOL_NAME}\`. Then map to:
302
286
  - A registry match proves server availability, not support for the requested
303
287
  capability; use the verified live tool list for that decision.
304
288
 
305
- ## Node Tools
306
-
307
- Use this section to discover, configure, and wire node tools into the target
308
- agent's \`tools[]\`, including \`nodeParameters\` and n8n expressions.
309
-
310
- ### Workflow
311
-
312
- - For a generic external-service request, call \`resolve_integration\` before
313
- node discovery unless a resolver result is already available.
314
- - If it returns \`kind: "mcp"\`, follow the MCP Servers section instead and stop
315
- this node-tool workflow.
316
- - If it returns \`kind: "node"\`, use its returned node results and call
317
- \`get_node_types\`; do not repeat the same search with \`search_nodes\`.
318
- - Call \`search_nodes\` directly only when the user explicitly requests an n8n
319
- node, when refining node results, or when a verified MCP server lacks the
320
- requested capability.
321
- - Never guess node type names.
322
- - Use the tool node id from discovery, usually ending in \`Tool\`.
323
- - Put fixed values in \`nodeParameters\`; use complete n8n expressions for values the agent should decide at runtime:
324
- \`={{ $fromAI('url', 'The URL to inspect', 'string') }}\`.
325
- - For stable dynamic selectors, load \`agent-builder-resource-locators\` and
326
- follow it.
327
- - Never write literal \`"$fromAI"\` or bare \`$fromAI\`; the node will treat it as the actual value.
328
- - Do not pipe AI-chosen fields through \`$json\`.
329
- - Do not include \`inputSchema\` or \`toolDescription\` for node tools.
330
- - n8n Connect (\`n8n credits\`) covers many services, including some community nodes. Adding a node tool with its credential slot omitted triggers server-side assignment: for a covered service the server attaches the managed \`n8n credits\` credential (\`{ id: null, name: "n8n credits", __aiGatewayManaged: true }\`) to each required, eligible slot on write — but only when the project has no credential of that type; an existing credential of the type wins and the slot stays empty for the normal credential flow below. Add the tool with the credential slot omitted, then \`read_config\`.
331
- - Exception — when the user explicitly asks to run a tool on n8n credits, write \`{ "id": null, "name": "n8n credits", "__aiGatewayManaged": true }\` into that credential slot yourself: the server keeps it when the service is covered (even if the user has their own credential of the type) and removes it when not covered — check \`read_config\` after the write and resolve a real credential if it was removed.
332
- - The \`n8n credits\` managed credential IS the real, working credential — the tool executes through n8n's gateway on n8n credits, so NO separate API key is needed. It is NOT a placeholder and NOT "invalid for the service", even for a community node. For a slot \`read_config\` shows populated with it: the slot is fully connected and the tool WILL run. Do NOT call \`ask_credential\` for it; do NOT include it in \`finish_setup\`; NEVER clear, remove, or replace it via \`patch_config\`; and NEVER seek a "real" API key to swap in for it. Report the tool as ready, running on n8n credits — exactly like a managed model. Never tell the user the credential is "not connected"/"not set up" or that the tool "won't run until a credential is added".
333
- - Only for a required slot that \`read_config\` shows still empty after the write (a service n8n Connect does not cover) do you resolve a real credential: call \`ask_credential\` once before the config mutation for an addition to an existing agent. ${initial_build_prompt_1.INITIAL_BUILD_NOTE} After the trailing \`finish_setup\` resolves the credential, copy the returned credentials into \`node.credentials\` via \`patch_config\`; for resource-locator resolution follow \`agent-builder-resource-locators\` then. Pass the node's credential key as \`credentialSlot\`. On success, copy the returned \`credentials\` object directly to \`node.credentials\`. If skipped, still add the tool and omit only that credential slot.
334
- - When the agent already has a chat channel configured and the tool needs the same
335
- credential type, \`ask_credential\` reuses the channel's credential automatically —
336
- do not ask the user to pick a different one.
337
-
338
- ### n8n Expressions
339
-
340
- Node tool parameters inside \`nodeParameters\` can use n8n expressions.
341
- Prefer \`$fromAI\` whenever the target agent should decide a value at runtime.
342
- Do not use \`$fromAI\` for stable resource IDs that the target agent cannot know
343
- at runtime, such as Linear \`teamId\`, project IDs, channel IDs, calendar IDs,
344
- database IDs, table IDs, or other dynamic "Name or ID" selectors. Resolve those
345
- with the \`agent-builder-resource-locators\` skill, \`ask_credential\`, and
346
- \`get_resource_locator_options\`; write the returned \`parameterValue\` into
347
- \`nodeParameters\`.
348
-
349
- - \`={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('fieldName', 'What value to provide', 'string') }}\`
350
- - \`={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('count', 'How many items', 'number') }}\`
351
- - \`={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('enabled', 'Whether to enable this option', 'boolean') }}\`
352
- - \`={{ $now.toISO() }}\` for current date/time.
353
- - \`={{ $today }}\` for the start of today.
354
-
355
- Always wrap expressions in \`={{ }}\`. Never pipe AI-chosen node-tool fields
356
- through \`$json\`; use \`$fromAI\` for those fields instead.
357
-
358
- ### Gotchas
359
-
360
- - Do not include \`inputSchema\` or \`toolDescription\` for node tools.
361
- - \`$fromAI(...)\` placeholders define the node tool input schema; do not add it manually.
362
- - Follow \`agent-builder-resource-locators\` for dynamic selector lookup,
363
- credentials, and \`parameterValue\` handling.
364
- - If a required node-tool credential is skipped, add the tool and omit only that credential slot.
365
- - Node tools execute inline, so never use waiting operations such as \`sendAndWait\`
366
- or \`dispatchAndWait\`. When the user requests human approval, configure the
367
- intended non-waiting operation and set \`requireApproval: true\` on the tool.
368
-
369
289
  ## Verify
370
290
 
371
291
  - Configured chat integrations were set up through \`configure_channel\` or the
@@ -377,8 +297,7 @@ through \`$json\`; use \`$fromAI\` for those fields instead.
377
297
  - Generic non-chat external services were routed through \`resolve_integration\`
378
298
  before MCP or node setup.
379
299
  - The final \`integrations\` array keeps unrelated integrations intact and
380
- removes only the requested channel entries.
381
- - Node tools use discovered tool node ids and valid node parameters.`,
300
+ removes only the requested channel entries.`,
382
301
  };
383
302
  }
384
303
  //# sourceMappingURL=external-services.skill.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-services.skill.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/external-services.skill.ts"],"names":[],"mappings":";;;AACA,8CAAgF;AAEhF,2DAAqD;AAErD,qFAAmF;AACnF,0EAAqE;AAErE,MAAM,mBAAmB,GAAG,IAAA,gDAAuB,EAClD,IAAA,oCAAe,EAAC,iCAAqB,CAAgB,CACrD,CAAC;AAEF;IACC,OAAO;QACN,EAAE,EAAE,iCAAiC;QACrC,IAAI,EAAE,iCAAiC;QACvC,WAAW,EACV,4ZAA4Z;QAC7Z,gBAAgB,EAAE;YACjB,qBAAqB;YACrB,wBAAwB;YACxB,mBAAmB;YACnB,cAAc;YACd,gBAAgB;YAChB,gBAAgB;YAChB,mBAAmB;YACnB,aAAa;YACb,cAAc;SACd;QACD,YAAY,EAAE;YACb,qBAAqB;YACrB,wBAAwB;YACxB,mBAAmB;YACnB,oBAAoB;YACpB,cAAc;YACd,gBAAgB;YAChB,gBAAgB;YAChB,mBAAmB;YACnB,8BAA8B;YAC9B,eAAe;YACf,aAAa;YACb,cAAc;YACd,cAAc;YACd,YAAY;SACZ;QACD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsEZ,yCAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsDhB,mCAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC3B,yCAAkB;;;;;;;;;;;;;;;;;;EAkBlB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiEE,mCAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2PAqD6M,yCAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAgDxM;KACnE,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"external-services.skill.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/external-services.skill.ts"],"names":[],"mappings":";;;AACA,8CAAgF;AAEhF,2DAAqD;AAErD,qFAAmF;AACnF,0EAAqE;AAErE,MAAM,mBAAmB,GAAG,IAAA,gDAAuB,EAClD,IAAA,oCAAe,EAAC,iCAAqB,CAAgB,CACrD,CAAC;AAEF;IACC,OAAO;QACN,EAAE,EAAE,iCAAiC;QACrC,IAAI,EAAE,iCAAiC;QACvC,WAAW,EACV,kQAAkQ;QACnQ,gBAAgB,EAAE;YACjB,qBAAqB;YACrB,wBAAwB;YACxB,mBAAmB;YACnB,gBAAgB;YAChB,mBAAmB;YACnB,aAAa;YACb,cAAc;SACd;QACD,YAAY,EAAE;YACb,qBAAqB;YACrB,wBAAwB;YACxB,mBAAmB;YACnB,oBAAoB;YACpB,gBAAgB;YAChB,mBAAmB;YACnB,eAAe;YACf,aAAa;YACb,cAAc;YACd,cAAc;YACd,YAAY;SACZ;QACD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0DZ,yCAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAuDhB,mCAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgC3B,yCAAkB;;;;;;;;;;;;;;;;;;EAkBlB,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiEE,mCAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAoCA;KAC5C,CAAC;AACH,CAAC"}
@@ -4,6 +4,7 @@ exports.getBuilderRuntimeSkills = getBuilderRuntimeSkills;
4
4
  const custom_tools_skill_1 = require("./custom-tools.skill");
5
5
  const external_services_skill_1 = require("./external-services.skill");
6
6
  const memory_skill_1 = require("./memory.skill");
7
+ const node_tools_skill_1 = require("./node-tools.skill");
7
8
  const resource_locators_skill_1 = require("./resource-locators.skill");
8
9
  const sub_agents_skill_1 = require("./sub-agents.skill");
9
10
  const target_skills_skill_1 = require("./target-skills.skill");
@@ -13,6 +14,7 @@ function getBuilderRuntimeSkills() {
13
14
  (0, custom_tools_skill_1.customToolsSkill)(),
14
15
  (0, external_services_skill_1.externalServicesSkill)(),
15
16
  (0, memory_skill_1.memorySkill)(),
17
+ (0, node_tools_skill_1.nodeToolsSkill)(),
16
18
  (0, resource_locators_skill_1.resourceLocatorsSkill)(),
17
19
  (0, sub_agents_skill_1.subAgentsSkill)(),
18
20
  (0, target_skills_skill_1.targetSkillsSkill)(),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/index.ts"],"names":[],"mappings":";;;AAEA,6DAAwD;AACxD,uEAAkE;AAClE,iDAA6C;AAC7C,uEAAkE;AAClE,yDAAoD;AACpD,+DAA0D;AAC1D,6DAAwD;AAExD;IACC,OAAO;QACN,IAAA,qCAAgB,GAAE;QAClB,IAAA,+CAAqB,GAAE;QACvB,IAAA,0BAAW,GAAE;QACb,IAAA,+CAAqB,GAAE;QACvB,IAAA,iCAAc,GAAE;QAChB,IAAA,uCAAiB,GAAE;QACnB,IAAA,qCAAgB,GAAE;KAKlB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/index.ts"],"names":[],"mappings":";;;AAEA,6DAAwD;AACxD,uEAAkE;AAClE,iDAA6C;AAC7C,yDAAoD;AACpD,uEAAkE;AAClE,yDAAoD;AACpD,+DAA0D;AAC1D,6DAAwD;AAExD;IACC,OAAO;QACN,IAAA,qCAAgB,GAAE;QAClB,IAAA,+CAAqB,GAAE;QACvB,IAAA,0BAAW,GAAE;QACb,IAAA,iCAAc,GAAE;QAChB,IAAA,+CAAqB,GAAE;QACvB,IAAA,iCAAc,GAAE;QAChB,IAAA,uCAAiB,GAAE;QACnB,IAAA,qCAAgB,GAAE;KAKlB,CAAC;AACH,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { RuntimeSkill } from '@n8n/agents';
2
+ export declare function nodeToolsSkill(): RuntimeSkill;
@@ -0,0 +1,132 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.nodeToolsSkill = nodeToolsSkill;
4
+ const api_types_1 = require("@n8n/api-types");
5
+ const initial_build_prompt_1 = require("../prompts/initial-build.prompt");
6
+ function nodeToolsSkill() {
7
+ return {
8
+ id: 'agent-builder-node-tools',
9
+ name: 'Agent Builder Node Tools',
10
+ description: 'Use whenever adding, removing, or updating an n8n node-backed tool, including search_nodes/get_node_types discovery, nodeParameters, node credential slots, $fromAI usage, n8n expressions, and HTTP Request Tool configuration.',
11
+ recommendedTools: [
12
+ 'resolve_integration',
13
+ 'search_nodes',
14
+ 'get_node_types',
15
+ 'ask_credential',
16
+ 'read_config',
17
+ 'patch_config',
18
+ ],
19
+ allowedTools: [
20
+ 'resolve_integration',
21
+ 'search_nodes',
22
+ 'get_node_types',
23
+ 'ask_credential',
24
+ 'get_resource_locator_options',
25
+ 'ask_questions',
26
+ 'read_config',
27
+ 'patch_config',
28
+ 'write_config',
29
+ 'load_skill',
30
+ ],
31
+ instructions: `\
32
+ ## Purpose
33
+
34
+ Use this to discover, configure, and wire node tools into the target agent's
35
+ \`tools[]\`, including \`nodeParameters\`, credentials, and n8n expressions.
36
+
37
+ ## Web Search vs Direct HTTP Requests
38
+
39
+ Generic web search, browsing, research, current-information, and source-finding
40
+ requests must use \`config.webSearch\` according to the system prompt's
41
+ web-search rules. Do not call \`resolve_integration\` or \`search_nodes\` for
42
+ these requests.
43
+
44
+ Never add the retired \`@n8n/n8n-nodes-langchain.toolHttpRequest\`. When the
45
+ user explicitly requests the HTTP Request Tool or direct HTTP, API, or
46
+ specific-page fetching, use only \`n8n-nodes-base.httpRequestTool\`.
47
+
48
+ ### Mandatory HTTP Request URL Gate
49
+
50
+ Use only an exact URL explicitly supplied by the user for
51
+ \`n8n-nodes-base.httpRequestTool\`. If the user has not supplied one, you MUST
52
+ ask which URL the tool should fetch. During an initial build, mark this setup
53
+ as blocked and include the URL question in the single trailing \`finish_setup\`
54
+ call; add the tool with the returned URL after the user answers. On later
55
+ turns, call \`${api_types_1.ASK_QUESTIONS_TOOL_NAME}\` and wait for the answer before
56
+ mutating the config. Do not search for, derive, infer, guess, or invent a URL
57
+ from a service name, requested action, documentation, or common API
58
+ conventions. Never add an incomplete tool or use a placeholder URL.
59
+
60
+ ## Workflow
61
+
62
+ - For a generic external-service request, call \`resolve_integration\` before
63
+ node discovery unless a resolver result is already available.
64
+ - If it returns \`kind: "mcp"\`, load \`agent-builder-external-services\`,
65
+ follow its MCP Servers section, and stop this node-tool workflow.
66
+ - If it returns \`kind: "node"\`, use its returned node results and call
67
+ \`get_node_types\`; do not repeat the same search with \`search_nodes\`.
68
+ - Call \`search_nodes\` directly only when the user explicitly requests an n8n
69
+ node, when refining node results, or when a verified MCP server lacks the
70
+ requested capability.
71
+ - Never guess node type names.
72
+ - Use the tool node id from discovery, usually ending in \`Tool\`.
73
+ - Put fixed values in \`nodeParameters\`; use complete n8n expressions for values the agent should decide at runtime:
74
+ \`={{ $fromAI('message', 'The message to send', 'string') }}\`.
75
+ - \`n8n-nodes-base.httpRequestTool\` requires a fixed \`nodeParameters.url\`; it
76
+ does not work with a dynamic or model-selected URL. Never use \`$fromAI\` in
77
+ the URL; use it only in other request fields.
78
+ - For stable dynamic selectors, load \`agent-builder-resource-locators\` and
79
+ follow it.
80
+ - Never write literal \`"$fromAI"\` or bare \`$fromAI\`; the node will treat it as the actual value.
81
+ - Do not pipe AI-chosen fields through \`$json\`.
82
+ - Do not include \`inputSchema\` or \`toolDescription\` for node tools.
83
+ - n8n Connect (\`n8n credits\`) covers many services, including some community nodes. Adding a node tool with its credential slot omitted triggers server-side assignment: for a covered service the server attaches the managed \`n8n credits\` credential (\`{ id: null, name: "n8n credits", __aiGatewayManaged: true }\`) to each required, eligible slot on write — but only when the project has no credential of that type; an existing credential of the type wins and the slot stays empty for the normal credential flow below. Add the tool with the credential slot omitted, then \`read_config\`.
84
+ - Exception — when the user explicitly asks to run a tool on n8n credits, write \`{ "id": null, "name": "n8n credits", "__aiGatewayManaged": true }\` into that credential slot yourself: the server keeps it when the service is covered (even if the user has their own credential of the type) and removes it when not covered — check \`read_config\` after the write and resolve a real credential if it was removed.
85
+ - The \`n8n credits\` managed credential IS the real, working credential — the tool executes through n8n's gateway on n8n credits, so NO separate API key is needed. It is NOT a placeholder and NOT "invalid for the service", even for a community node. For a slot \`read_config\` shows populated with it: the slot is fully connected and the tool WILL run. Do NOT call \`ask_credential\` for it; do NOT include it in \`finish_setup\`; NEVER clear, remove, or replace it via \`patch_config\`; and NEVER seek a "real" API key to swap in for it. Report the tool as ready, running on n8n credits — exactly like a managed model. Never tell the user the credential is "not connected"/"not set up" or that the tool "won't run until a credential is added".
86
+ - Only for a required slot that \`read_config\` shows still empty after the write (a service n8n Connect does not cover) do you resolve a real credential: call \`ask_credential\` once before the config mutation for an addition to an existing agent. ${initial_build_prompt_1.INITIAL_BUILD_NOTE} After the trailing \`finish_setup\` resolves the credential, copy the returned credentials into \`node.credentials\` via \`patch_config\`; for resource-locator resolution follow \`agent-builder-resource-locators\` then. Pass the node's credential key as \`credentialSlot\`. On success, copy the returned \`credentials\` object directly to \`node.credentials\`. If skipped, still add the tool and omit only that credential slot.
87
+ - When the agent already has a chat channel configured and the tool needs the same
88
+ credential type, \`ask_credential\` reuses the channel's credential automatically —
89
+ do not ask the user to pick a different one.
90
+
91
+ ## n8n Expressions
92
+
93
+ Node tool parameters inside \`nodeParameters\` can use n8n expressions.
94
+ Prefer \`$fromAI\` whenever the target agent should decide a value at runtime,
95
+ except where this skill requires a fixed value, especially the HTTP Request
96
+ Tool URL.
97
+ Do not use \`$fromAI\` for stable resource IDs that the target agent cannot know
98
+ at runtime, such as Linear \`teamId\`, project IDs, channel IDs, calendar IDs,
99
+ database IDs, table IDs, or other dynamic "Name or ID" selectors. Resolve those
100
+ with the \`agent-builder-resource-locators\` skill, \`ask_credential\`, and
101
+ \`get_resource_locator_options\`; write the returned \`parameterValue\` into
102
+ \`nodeParameters\`.
103
+
104
+ - \`={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('fieldName', 'What value to provide', 'string') }}\`
105
+ - \`={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('count', 'How many items', 'number') }}\`
106
+ - \`={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('enabled', 'Whether to enable this option', 'boolean') }}\`
107
+ - \`={{ $now.toISO() }}\` for current date/time.
108
+ - \`={{ $today }}\` for the start of today.
109
+
110
+ Always wrap expressions in \`={{ }}\`. Never pipe AI-chosen node-tool fields
111
+ through \`$json\`; use \`$fromAI\` for those fields instead.
112
+
113
+ ## Gotchas
114
+
115
+ - Do not include \`inputSchema\` or \`toolDescription\` for node tools.
116
+ - \`$fromAI(...)\` placeholders define the node tool input schema; do not add it manually.
117
+ - Follow \`agent-builder-resource-locators\` for dynamic selector lookup,
118
+ credentials, and \`parameterValue\` handling.
119
+ - If a required node-tool credential is skipped, add the tool and omit only that credential slot.
120
+ - Node tools execute inline, so never use waiting operations such as \`sendAndWait\`
121
+ or \`dispatchAndWait\`. When the user requests human approval, configure the
122
+ intended non-waiting operation and set \`requireApproval: true\` on the tool.
123
+
124
+ ## Verify
125
+
126
+ - Generic external-service requests were routed through \`resolve_integration\`
127
+ before node setup.
128
+ - Node tools use discovered tool node ids and valid node parameters.
129
+ - HTTP Request Tools use a fixed URL supplied by the user.`,
130
+ };
131
+ }
132
+ //# sourceMappingURL=node-tools.skill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node-tools.skill.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/node-tools.skill.ts"],"names":[],"mappings":";;;AACA,8CAAyD;AAEzD,0EAAqE;AAErE;IACC,OAAO;QACN,EAAE,EAAE,0BAA0B;QAC9B,IAAI,EAAE,0BAA0B;QAChC,WAAW,EACV,kOAAkO;QACnO,gBAAgB,EAAE;YACjB,qBAAqB;YACrB,cAAc;YACd,gBAAgB;YAChB,gBAAgB;YAChB,aAAa;YACb,cAAc;SACd;QACD,YAAY,EAAE;YACb,qBAAqB;YACrB,cAAc;YACd,gBAAgB;YAChB,gBAAgB;YAChB,8BAA8B;YAC9B,eAAe;YACf,aAAa;YACb,cAAc;YACd,cAAc;YACd,YAAY;SACZ;QACD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;gBAwBA,mCAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2PA+BoN,yCAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2DA2ClN;KACzD,CAAC;AACH,CAAC"}
@@ -6,27 +6,48 @@ function targetSkillsSkill() {
6
6
  return {
7
7
  id: 'agent-builder-target-skills',
8
8
  name: 'Agent Builder Target Skills',
9
- description: 'Use when creating reusable target-agent skills, playbooks, policies, style guides, or domain instructions with create_skills that should load only for relevant future requests; not for builder guidance or one-off instructions.',
10
- recommendedTools: ['create_skills', 'ask_questions', 'read_config', 'patch_config'],
11
- allowedTools: ['create_skills', 'ask_questions', 'read_config', 'patch_config', 'write_config'],
9
+ description: 'Use when designing, creating, or editing target-agent behavior that belongs in focused load-on-demand skills, including when the user describes a function without calling it a skill; not for builder guidance or universal target-agent instructions.',
10
+ recommendedTools: [
11
+ 'list_skills',
12
+ 'read_skill',
13
+ 'update_skill',
14
+ 'create_skills',
15
+ 'ask_questions',
16
+ 'read_config',
17
+ 'patch_config',
18
+ ],
19
+ allowedTools: [
20
+ 'list_skills',
21
+ 'read_skill',
22
+ 'update_skill',
23
+ 'create_skills',
24
+ 'ask_questions',
25
+ 'read_config',
26
+ 'patch_config',
27
+ 'write_config',
28
+ ],
12
29
  instructions: `\
13
30
  ## Purpose
14
31
 
15
- Use this to create reusable load-on-demand instructions for the target agent.
32
+ Use this to design, create, and edit focused load-on-demand instructions for
33
+ the target agent. Keep the target agent's always-on instructions limited to its
34
+ identity, overall purpose, and rules that apply to every operation.
16
35
 
17
36
  ## Use when
18
37
 
19
- - The user wants reusable target-agent guidance (for example playbooks,
20
- policies, or domain instructions) that should load only for relevant future
21
- requests.
22
- - The same behavior is likely to be reused across multiple future tasks and
23
- should be captured as a target-agent skill.
24
- - You want conditional, load-on-demand behavior instead of always-on target
25
- agent instructions.
38
+ - The target agent has a distinct function, workflow, playbook, policy, style
39
+ guide, or domain behavior that should load only for relevant requests.
40
+ - The user asks to change how the target agent performs an existing function,
41
+ even when they do not mention skills.
42
+ - A build contains multiple functions. Create one focused skill per function;
43
+ infer this decomposition without asking the user to label anything a skill.
26
44
 
27
45
  ## Don't use when:
28
46
 
29
- - The user asks for one-off target-agent instructions or config/tool/integration/model/memory edits.
47
+ - The behavior is the target agent's identity, overall purpose, or a rule that
48
+ truly applies to every operation; keep that in the main instructions.
49
+ - The request changes only a tool, integration, model, or memory setting and
50
+ does not add or change how the target agent performs a function.
30
51
 
31
52
  ## Description (routing contract)
32
53
 
@@ -40,8 +61,8 @@ ${skill_body_template_1.SKILL_BODY_TEMPLATE}
40
61
 
41
62
  ## Fill the template with assumptions (required)
42
63
 
43
- Do NOT call \`create_skills\` until you have enough concrete domain detail to write
44
- a genuinely useful skill: a specific routing description and a body whose
64
+ Do NOT create or update a skill until you have enough concrete domain detail to
65
+ write a genuinely useful skill: a specific routing description and a body whose
45
66
  applicable sections are filled with real content (the actual steps, rules,
46
67
  examples, and edge cases). Derive missing domain detail from the user's
47
68
  stated goal as stated assumptions, and list them in your summary. Use
@@ -52,20 +73,38 @@ skill.
52
73
 
53
74
  ## Workflow
54
75
 
55
- - Fill the domain detail you need, deriving missing detail from the goal as
56
- stated assumptions so the description and every applicable body section can
57
- be written with concrete content, for every skill you plan to create.
76
+ - Classify requested behavior before writing: identity, overall purpose, and
77
+ universal rules stay in main instructions; each distinct or conditional
78
+ function becomes a focused skill.
79
+ - Call \`read_config\` and use its \`skills\` refs as the authoritative set of
80
+ skills attached to the target agent.
81
+ - Call \`list_skills\` once and compare its metadata with the attached ids from
82
+ the config. Use each description as the routing contract to identify whether
83
+ an attached skill already owns the capability. Do not read every skill body.
84
+ - Call \`read_skill\` only for the relevant attached skill. Its default response
85
+ includes reference paths and sizes but omits reference content; request
86
+ specific \`referencePaths\` only when that content is needed.
87
+ - Call \`update_skill\` for an existing capability, changing only the supplied
88
+ fields and preserving its id and existing config reference. Do not create a
89
+ replacement skill. Pass \`null\` for \`allowedTools\` to remove the tool
90
+ restriction or for \`references\` to remove all references; do not pass empty
91
+ arrays. When replacing \`references\`, first read the content of every existing
92
+ reference that must be preserved, because the field is replaced as a whole.
93
+ - Only call \`create_skills\` when no attached skill owns the capability. Fill the
94
+ domain detail you need, deriving missing detail from the goal as stated
95
+ assumptions so each description and applicable body section is concrete.
58
96
  - Write each skill's \`description\` as the routing contract and \`instructions\`
59
97
  using the template above. Put all "when to use" / "when not to use" guidance
60
98
  in the description, never in the body (the body is invisible until the skill
61
99
  loads).
62
- - Call \`create_skills\` once with a \`skills\` array containing every skill you
100
+ - For new skills, call \`create_skills\` once with a \`skills\` array containing every skill you
63
101
  currently know how to write — do not spread multiple fully-specified skills
64
102
  across separate calls. A single skill is still a one-item array.
65
103
  - \`create_skills\` stores the skill bodies only; it does not attach them. The
66
104
  batch is all-or-nothing: an invalid or duplicate-named skill rejects the
67
105
  whole call.
68
- - After it returns an id per skill, call \`read_config\`.
106
+ - After it returns an id per new skill, call \`read_config\` again for a fresh
107
+ config and hash.
69
108
  - Use \`patch_config\` or \`write_config\` to add a \`{ "type": "skill", "id": "<returned id>" }\`
70
109
  entry per skill to \`skills\`.
71
110
 
@@ -84,7 +123,7 @@ skill.
84
123
  \`references/intake-checklist.md\`".
85
124
  - Omit fields you cannot fill confidently. Do not invent tool names or file paths.
86
125
  - Scripts are not supported in this phase. Do not pass scripts or non-markdown
87
- linked files to \`create_skills\`.
126
+ linked files to \`create_skills\` or \`update_skill\`.
88
127
 
89
128
  ## Rules
90
129
 
@@ -94,11 +133,13 @@ skill.
94
133
  - Do not rely on a body "Use when" section to trigger the skill; the body is
95
134
  not visible until after the skill is selected.
96
135
  - Include concrete gotchas that prevent predictable target-agent mistakes.
97
- - Do not use \`create_skills\` for builder instructions. These skills belong to the target agent.
136
+ - Do not use target-agent skill tools for builder instructions. These skills
137
+ belong to the target agent.
98
138
 
99
139
  ## Gotchas
100
140
 
101
141
  - \`create_skills\` does not attach any skill to the target agent config.
142
+ - \`update_skill\` edits the existing body in place and needs no config patch.
102
143
  - A skill that is useful for every request probably belongs in instructions, not in \`skills\`.
103
144
  - A vague description creates a vague skill, even if the body is excellent.
104
145
  - Do not create placeholder or vague skills; derive missing domain details from
@@ -1 +1 @@
1
- {"version":3,"file":"target-skills.skill.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/target-skills.skill.ts"],"names":[],"mappings":";;;AAEA,gEAIgC;AAEhC;IACC,OAAO;QACN,EAAE,EAAE,6BAA6B;QACjC,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACV,oOAAoO;QACrO,gBAAgB,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,CAAC;QACnF,YAAY,EAAE,CAAC,eAAe,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,CAAC;QAC/F,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;EAqBd,4CAAsB;;;;EAItB,4CAAsB;;EAEtB,yCAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA6EE;KACrB,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"target-skills.skill.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/skills/target-skills.skill.ts"],"names":[],"mappings":";;;AAEA,gEAIgC;AAEhC;IACC,OAAO;QACN,EAAE,EAAE,6BAA6B;QACjC,IAAI,EAAE,6BAA6B;QACnC,WAAW,EACV,yPAAyP;QAC1P,gBAAgB,EAAE;YACjB,aAAa;YACb,YAAY;YACZ,cAAc;YACd,eAAe;YACf,eAAe;YACf,aAAa;YACb,cAAc;SACd;QACD,YAAY,EAAE;YACb,aAAa;YACb,YAAY;YACZ,cAAc;YACd,eAAe;YACf,eAAe;YACf,aAAa;YACb,cAAc;YACd,cAAc;SACd;QACD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;EAyBd,4CAAsB;;;;EAItB,4CAAsB;;EAEtB,yCAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAiGE;KACrB,CAAC;AACH,CAAC"}