n8n 2.25.6 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (641) hide show
  1. package/dist/active-executions.js +1 -1
  2. package/dist/active-executions.js.map +1 -1
  3. package/dist/active-workflow-manager.d.ts +7 -7
  4. package/dist/active-workflow-manager.js +20 -20
  5. package/dist/active-workflow-manager.js.map +1 -1
  6. package/dist/agent-library-bundle.js +42 -10
  7. package/dist/build.tsbuildinfo +1 -1
  8. package/dist/chat/chat-execution-manager.d.ts +3 -1
  9. package/dist/chat/chat-execution-manager.js +6 -3
  10. package/dist/chat/chat-execution-manager.js.map +1 -1
  11. package/dist/chat/chat-service.types.d.ts +4 -4
  12. package/dist/commands/base-command.js +2 -2
  13. package/dist/commands/base-command.js.map +1 -1
  14. package/dist/commands/execute-batch.d.ts +2 -2
  15. package/dist/commands/execute.d.ts +2 -2
  16. package/dist/commands/export/credentials.d.ts +4 -4
  17. package/dist/commands/export/entities.d.ts +2 -2
  18. package/dist/commands/export/workflow.d.ts +4 -4
  19. package/dist/commands/import/credentials.d.ts +2 -2
  20. package/dist/commands/import/workflow.d.ts +2 -2
  21. package/dist/commands/start.js +1 -1
  22. package/dist/commands/start.js.map +1 -1
  23. package/dist/commands/ttwf/generate.d.ts +2 -2
  24. package/dist/controllers/annotation-tags.controller.ee.d.ts +1 -1
  25. package/dist/controllers/api-keys.controller.d.ts +16 -4
  26. package/dist/controllers/api-keys.controller.js +11 -8
  27. package/dist/controllers/api-keys.controller.js.map +1 -1
  28. package/dist/controllers/e2e.controller.d.ts +15 -0
  29. package/dist/controllers/e2e.controller.js +60 -0
  30. package/dist/controllers/e2e.controller.js.map +1 -1
  31. package/dist/controllers/oauth/oauth1-credential.controller.js +7 -9
  32. package/dist/controllers/oauth/oauth1-credential.controller.js.map +1 -1
  33. package/dist/controllers/oauth/oauth2-credential.controller.js +3 -3
  34. package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
  35. package/dist/controllers/project.controller.d.ts +1 -1
  36. package/dist/controllers/project.controller.js +9 -1
  37. package/dist/controllers/project.controller.js.map +1 -1
  38. package/dist/controllers/security-settings.controller.d.ts +1 -1
  39. package/dist/controllers/security-settings.controller.js +18 -14
  40. package/dist/controllers/security-settings.controller.js.map +1 -1
  41. package/dist/controllers/telemetry.controller.d.ts +4 -1
  42. package/dist/controllers/telemetry.controller.js +61 -2
  43. package/dist/controllers/telemetry.controller.js.map +1 -1
  44. package/dist/controllers/users.controller.d.ts +2 -2
  45. package/dist/credentials/credential-connection-status-provider.interface.d.ts +1 -0
  46. package/dist/credentials/credential-connection-status-proxy.d.ts +1 -0
  47. package/dist/credentials/credential-connection-status-proxy.js +5 -0
  48. package/dist/credentials/credential-connection-status-proxy.js.map +1 -1
  49. package/dist/credentials/credential-resolution-provider.interface.d.ts +1 -0
  50. package/dist/credentials/credentials.controller.d.ts +3 -1
  51. package/dist/credentials/credentials.controller.js +23 -2
  52. package/dist/credentials/credentials.controller.js.map +1 -1
  53. package/dist/credentials-helper.js +3 -0
  54. package/dist/credentials-helper.js.map +1 -1
  55. package/dist/errors/http-error-serializers.js +22 -2
  56. package/dist/errors/http-error-serializers.js.map +1 -1
  57. package/dist/errors/response-errors/conflict.error.d.ts +2 -1
  58. package/dist/errors/response-errors/conflict.error.js +2 -1
  59. package/dist/errors/response-errors/conflict.error.js.map +1 -1
  60. package/dist/evaluation.ee/evaluation-config-validator.d.ts +1 -0
  61. package/dist/evaluation.ee/evaluation-config-validator.js +69 -0
  62. package/dist/evaluation.ee/evaluation-config-validator.js.map +1 -1
  63. package/dist/evaluation.ee/test-runner/evaluation-metrics.ee.js +2 -1
  64. package/dist/evaluation.ee/test-runner/evaluation-metrics.ee.js.map +1 -1
  65. package/dist/evaluation.ee/test-runner/test-runner.service.ee.d.ts +6 -2
  66. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +59 -16
  67. package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
  68. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +28 -1
  69. package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
  70. package/dist/evaluation.ee/test-runs.controller.ee.js +6 -1
  71. package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
  72. package/dist/events/event.service.d.ts +2 -1
  73. package/dist/events/event.service.js.map +1 -1
  74. package/dist/events/maps/execution-data.event-map.d.ts +14 -0
  75. package/dist/events/maps/execution-data.event-map.js +3 -0
  76. package/dist/events/maps/execution-data.event-map.js.map +1 -0
  77. package/dist/events/maps/relay.event-map.d.ts +19 -5
  78. package/dist/events/relays/log-streaming.event-relay.js +2 -0
  79. package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
  80. package/dist/events/relays/telemetry.event-relay.d.ts +3 -0
  81. package/dist/events/relays/telemetry.event-relay.js +47 -6
  82. package/dist/events/relays/telemetry.event-relay.js.map +1 -1
  83. package/dist/execution-lifecycle/save-execution-progress.js +3 -3
  84. package/dist/execution-lifecycle/save-execution-progress.js.map +1 -1
  85. package/dist/execution-lifecycle/shared/shared-hook-functions.js +3 -3
  86. package/dist/execution-lifecycle/shared/shared-hook-functions.js.map +1 -1
  87. package/dist/executions/execution-persistence.d.ts +8 -1
  88. package/dist/executions/execution-persistence.js +183 -42
  89. package/dist/executions/execution-persistence.js.map +1 -1
  90. package/dist/executions/execution-recovery.service.d.ts +3 -1
  91. package/dist/executions/execution-recovery.service.js +7 -4
  92. package/dist/executions/execution-recovery.service.js.map +1 -1
  93. package/dist/executions/execution.service.d.ts +1 -0
  94. package/dist/executions/execution.service.js +21 -7
  95. package/dist/executions/execution.service.js.map +1 -1
  96. package/dist/interfaces.d.ts +1 -1
  97. package/dist/load-nodes-and-credentials.js +6 -0
  98. package/dist/load-nodes-and-credentials.js.map +1 -1
  99. package/dist/metrics/prometheus-metrics.service.d.ts +5 -2
  100. package/dist/metrics/prometheus-metrics.service.js +74 -3
  101. package/dist/metrics/prometheus-metrics.service.js.map +1 -1
  102. package/dist/metrics/types.d.ts +1 -1
  103. package/dist/modules/agents/agent-execution.service.d.ts +2 -0
  104. package/dist/modules/agents/agent-execution.service.js +2 -2
  105. package/dist/modules/agents/agent-execution.service.js.map +1 -1
  106. package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +84 -0
  107. package/dist/modules/agents/agent-runtime-reconstruction.service.js +362 -0
  108. package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -0
  109. package/dist/modules/agents/agent-sse-stream.js +15 -1
  110. package/dist/modules/agents/agent-sse-stream.js.map +1 -1
  111. package/dist/modules/agents/agents-tools.service.js +8 -1
  112. package/dist/modules/agents/agents-tools.service.js.map +1 -1
  113. package/dist/modules/agents/agents.controller.d.ts +34 -19
  114. package/dist/modules/agents/agents.controller.js +39 -3
  115. package/dist/modules/agents/agents.controller.js.map +1 -1
  116. package/dist/modules/agents/agents.module.d.ts +1 -1
  117. package/dist/modules/agents/agents.service.d.ts +13 -31
  118. package/dist/modules/agents/agents.service.js +154 -282
  119. package/dist/modules/agents/agents.service.js.map +1 -1
  120. package/dist/modules/agents/builder/agents-builder-prompts.js +1 -0
  121. package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
  122. package/dist/modules/agents/builder/agents-builder-tools.service.js +21 -2
  123. package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
  124. package/dist/modules/agents/builder/agents-builder.service.js +3 -11
  125. package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
  126. package/dist/modules/agents/builder/builder-tool-names.d.ts +1 -0
  127. package/dist/modules/agents/builder/builder-tool-names.js +1 -0
  128. package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
  129. package/dist/modules/agents/builder/interactive/ask-question.tool.js +1 -1
  130. package/dist/modules/agents/builder/interactive/ask-question.tool.js.map +1 -1
  131. package/dist/modules/agents/builder/interactive/llm-provider-defaults.js +10 -0
  132. package/dist/modules/agents/builder/interactive/llm-provider-defaults.js.map +1 -1
  133. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +5 -3
  134. package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
  135. package/dist/modules/agents/builder/prompts/config-rules.prompt.js +7 -2
  136. package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
  137. package/dist/modules/agents/builder/skills/index.js +2 -0
  138. package/dist/modules/agents/builder/skills/index.js.map +1 -1
  139. package/dist/modules/agents/builder/skills/sub-agents.skill.d.ts +2 -0
  140. package/dist/modules/agents/builder/skills/sub-agents.skill.js +101 -0
  141. package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -0
  142. package/dist/modules/agents/entities/agent-execution-thread.entity.d.ts +2 -0
  143. package/dist/modules/agents/entities/agent-execution-thread.entity.js +8 -0
  144. package/dist/modules/agents/entities/agent-execution-thread.entity.js.map +1 -1
  145. package/dist/modules/agents/entities/agent-execution.entity.js +1 -1
  146. package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
  147. package/dist/modules/agents/execution-recorder.d.ts +3 -0
  148. package/dist/modules/agents/execution-recorder.js +75 -10
  149. package/dist/modules/agents/execution-recorder.js.map +1 -1
  150. package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +4 -7
  151. package/dist/modules/agents/integrations/agent-chat-bridge.js +138 -105
  152. package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
  153. package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
  154. package/dist/modules/agents/integrations/chat-integration.service.d.ts +5 -0
  155. package/dist/modules/agents/integrations/chat-integration.service.js +5 -0
  156. package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
  157. package/dist/modules/agents/integrations/component-mapper.d.ts +21 -11
  158. package/dist/modules/agents/integrations/component-mapper.js +50 -20
  159. package/dist/modules/agents/integrations/component-mapper.js.map +1 -1
  160. package/dist/modules/agents/integrations/integration-action-executor.d.ts +1 -0
  161. package/dist/modules/agents/integrations/integration-action-executor.js +20 -9
  162. package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
  163. package/dist/modules/agents/integrations/integration-tools.js +176 -31
  164. package/dist/modules/agents/integrations/integration-tools.js.map +1 -1
  165. package/dist/modules/agents/integrations/platforms/slack-integration.js +1 -1
  166. package/dist/modules/agents/integrations/platforms/slack-integration.js.map +1 -1
  167. package/dist/modules/agents/integrations/platforms/telegram-integration.js +1 -1
  168. package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +1 -1
  169. package/dist/modules/agents/json-config/credential-field-mapping.js +1 -0
  170. package/dist/modules/agents/json-config/credential-field-mapping.js.map +1 -1
  171. package/dist/modules/agents/json-config/from-json-config.d.ts +2 -1
  172. package/dist/modules/agents/json-config/from-json-config.js +41 -15
  173. package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
  174. package/dist/modules/agents/json-config/mcp-client-factory.d.ts +0 -6
  175. package/dist/modules/agents/json-config/mcp-client-factory.js +2 -31
  176. package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
  177. package/dist/modules/agents/json-config/model-config.d.ts +2 -0
  178. package/dist/modules/agents/json-config/model-config.js +11 -0
  179. package/dist/modules/agents/json-config/model-config.js.map +1 -0
  180. package/dist/modules/agents/json-config/model-id.d.ts +1 -0
  181. package/dist/modules/agents/json-config/model-id.js +8 -0
  182. package/dist/modules/agents/json-config/model-id.js.map +1 -0
  183. package/dist/modules/agents/json-config/native-web-search-provider-tools.d.ts +0 -1
  184. package/dist/modules/agents/json-config/native-web-search-provider-tools.js +3 -7
  185. package/dist/modules/agents/json-config/native-web-search-provider-tools.js.map +1 -1
  186. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.d.ts +1 -0
  187. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +63 -0
  188. package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -0
  189. package/dist/modules/agents/model-catalog.d.ts +1 -0
  190. package/dist/modules/agents/model-catalog.js +15 -0
  191. package/dist/modules/agents/model-catalog.js.map +1 -0
  192. package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +5 -1
  193. package/dist/modules/agents/repositories/agent-execution-thread.repository.js +5 -3
  194. package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
  195. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.d.ts +17 -0
  196. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +66 -0
  197. package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -0
  198. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +27 -0
  199. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +235 -0
  200. package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -0
  201. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.d.ts +20 -0
  202. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js +87 -0
  203. package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -0
  204. package/dist/modules/agents/tools/knowledge/csv.operation.d.ts +2 -2
  205. package/dist/modules/agents/tools/knowledge/schemas.d.ts +91 -91
  206. package/dist/modules/agents/tools/node-tool-factory.js +9 -12
  207. package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
  208. package/dist/modules/agents/tools/workflow-tool-factory.d.ts +2 -3
  209. package/dist/modules/agents/tools/workflow-tool-factory.js +6 -4
  210. package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
  211. package/dist/modules/agents/utils/agent-stream.d.ts +2 -0
  212. package/dist/modules/agents/utils/agent-stream.js +27 -0
  213. package/dist/modules/agents/utils/agent-stream.js.map +1 -0
  214. package/dist/modules/agents/utils/execution-to-message-mapper.js +2 -0
  215. package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
  216. package/dist/modules/agents/utils/structured-output-error.d.ts +1 -0
  217. package/dist/modules/agents/utils/structured-output-error.js +34 -0
  218. package/dist/modules/agents/utils/structured-output-error.js.map +1 -0
  219. package/dist/modules/chat-hub/chat-hub-execution-watcher.service.d.ts +3 -3
  220. package/dist/modules/chat-hub/chat-hub-execution-watcher.service.js +5 -5
  221. package/dist/modules/chat-hub/chat-hub-execution-watcher.service.js.map +1 -1
  222. package/dist/modules/chat-hub/chat-hub-execution.service.d.ts +3 -1
  223. package/dist/modules/chat-hub/chat-hub-execution.service.js +6 -3
  224. package/dist/modules/chat-hub/chat-hub-execution.service.js.map +1 -1
  225. package/dist/modules/chat-hub/chat-hub-title.service.d.ts +4 -3
  226. package/dist/modules/chat-hub/chat-hub-title.service.js +5 -5
  227. package/dist/modules/chat-hub/chat-hub-title.service.js.map +1 -1
  228. package/dist/modules/chat-hub/chat-hub.module.d.ts +2 -2
  229. package/dist/modules/chat-hub/chat-hub.service.d.ts +4 -3
  230. package/dist/modules/chat-hub/chat-hub.service.js +5 -5
  231. package/dist/modules/chat-hub/chat-hub.service.js.map +1 -1
  232. package/dist/modules/chat-hub/chat-hub.settings.controller.d.ts +4 -4
  233. package/dist/modules/chat-hub/chat-hub.types.d.ts +5 -5
  234. package/dist/modules/chat-hub/dto/chat-models-request.dto.d.ts +1 -1
  235. package/dist/modules/data-table/data-table.module.d.ts +1 -1
  236. package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.d.ts +2 -2
  237. package/dist/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.d.ts +1 -0
  238. package/dist/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.js +3 -0
  239. package/dist/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.js.map +1 -1
  240. package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.d.ts +5 -0
  241. package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.js +15 -0
  242. package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.js.map +1 -1
  243. package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.d.ts +9 -1
  244. package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.js +57 -3
  245. package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.js.map +1 -1
  246. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js +14 -3
  247. package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js.map +1 -1
  248. package/dist/modules/external-secrets.ee/providers/infisical.d.ts +20 -14
  249. package/dist/modules/external-secrets.ee/providers/infisical.js +215 -90
  250. package/dist/modules/external-secrets.ee/providers/infisical.js.map +1 -1
  251. package/dist/modules/favorites/dto/add-favorite.dto.d.ts +1 -1
  252. package/dist/modules/insights/database/entities/insights-shared.d.ts +1 -1
  253. package/dist/modules/insights/database/repositories/insights-by-period-query.helper.d.ts +2 -1
  254. package/dist/modules/insights/database/repositories/insights-by-period-query.helper.js +2 -3
  255. package/dist/modules/insights/database/repositories/insights-by-period-query.helper.js.map +1 -1
  256. package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +3 -3
  257. package/dist/modules/insights/insights.service.d.ts +3 -3
  258. package/dist/modules/instance-ai/entities/index.d.ts +1 -0
  259. package/dist/modules/instance-ai/entities/index.js +3 -1
  260. package/dist/modules/instance-ai/entities/index.js.map +1 -1
  261. package/dist/modules/instance-ai/entities/instance-ai-mcp-registry-connection.entity.d.ts +12 -0
  262. package/dist/modules/instance-ai/entities/instance-ai-mcp-registry-connection.entity.js +42 -0
  263. package/dist/modules/instance-ai/entities/instance-ai-mcp-registry-connection.entity.js.map +1 -0
  264. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.d.ts +3 -1
  265. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js +10 -0
  266. package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js.map +1 -1
  267. package/dist/modules/instance-ai/eval/execution.service.d.ts +8 -2
  268. package/dist/modules/instance-ai/eval/execution.service.js +183 -40
  269. package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
  270. package/dist/modules/instance-ai/eval/workflow-analysis.js +5 -0
  271. package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
  272. package/dist/modules/instance-ai/extract-resolved-node-parameters.d.ts +1 -2
  273. package/dist/modules/instance-ai/extract-resolved-node-parameters.js +4 -2
  274. package/dist/modules/instance-ai/extract-resolved-node-parameters.js.map +1 -1
  275. package/dist/modules/instance-ai/instance-ai-gateway.service.d.ts +31 -0
  276. package/dist/modules/instance-ai/instance-ai-gateway.service.js +84 -0
  277. package/dist/modules/instance-ai/instance-ai-gateway.service.js.map +1 -0
  278. package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +1 -1
  279. package/dist/modules/instance-ai/instance-ai-memory.service.js +5 -4
  280. package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
  281. package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +10 -1
  282. package/dist/modules/instance-ai/instance-ai-settings.service.js +47 -5
  283. package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
  284. package/dist/modules/instance-ai/instance-ai-test.controller.d.ts +6 -2
  285. package/dist/modules/instance-ai/instance-ai-test.controller.js +17 -3
  286. package/dist/modules/instance-ai/instance-ai-test.controller.js.map +1 -1
  287. package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +5 -5
  288. package/dist/modules/instance-ai/instance-ai.adapter.service.js +104 -36
  289. package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
  290. package/dist/modules/instance-ai/instance-ai.controller.d.ts +8 -6
  291. package/dist/modules/instance-ai/instance-ai.controller.js +31 -36
  292. package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
  293. package/dist/modules/instance-ai/instance-ai.module.d.ts +4 -1
  294. package/dist/modules/instance-ai/instance-ai.module.js +7 -6
  295. package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
  296. package/dist/modules/instance-ai/instance-ai.service.d.ts +50 -41
  297. package/dist/modules/instance-ai/instance-ai.service.js +599 -246
  298. package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
  299. package/dist/modules/instance-ai/internal-messages.js +1 -1
  300. package/dist/modules/instance-ai/internal-messages.js.map +1 -1
  301. package/dist/modules/instance-ai/mcp/index.d.ts +1 -0
  302. package/dist/modules/instance-ai/mcp/index.js +18 -0
  303. package/dist/modules/instance-ai/mcp/index.js.map +1 -0
  304. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.d.ts +17 -0
  305. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js +125 -0
  306. package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js.map +1 -0
  307. package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.d.ts +35 -0
  308. package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js +264 -0
  309. package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js.map +1 -0
  310. package/dist/modules/instance-ai/planned-task-action-runner.d.ts +91 -0
  311. package/dist/modules/instance-ai/planned-task-action-runner.js +138 -0
  312. package/dist/modules/instance-ai/planned-task-action-runner.js.map +1 -0
  313. package/dist/modules/instance-ai/repositories/index.d.ts +1 -0
  314. package/dist/modules/instance-ai/repositories/index.js +3 -1
  315. package/dist/modules/instance-ai/repositories/index.js.map +1 -1
  316. package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.js.map +1 -1
  317. package/dist/modules/instance-ai/repositories/instance-ai-mcp-registry-connection.repository.d.ts +5 -0
  318. package/dist/modules/instance-ai/repositories/instance-ai-mcp-registry-connection.repository.js +26 -0
  319. package/dist/modules/instance-ai/repositories/instance-ai-mcp-registry-connection.repository.js.map +1 -0
  320. package/dist/modules/instance-ai/sandbox-provider.d.ts +4 -0
  321. package/dist/modules/instance-ai/sandbox-provider.js +19 -0
  322. package/dist/modules/instance-ai/sandbox-provider.js.map +1 -0
  323. package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js.map +1 -1
  324. package/dist/modules/instance-ai/storage/typeorm-agent-memory.d.ts +4 -1
  325. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +103 -12
  326. package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
  327. package/dist/modules/instance-ai/trace-replay-state.d.ts +2 -0
  328. package/dist/modules/instance-ai/trace-replay-state.js +56 -6
  329. package/dist/modules/instance-ai/trace-replay-state.js.map +1 -1
  330. package/dist/modules/instance-ai/workflow-verification-obligation-service.d.ts +20 -0
  331. package/dist/modules/instance-ai/workflow-verification-obligation-service.js +59 -0
  332. package/dist/modules/instance-ai/workflow-verification-obligation-service.js.map +1 -0
  333. package/dist/modules/instance-ai/workflow-verification-task-projector.d.ts +21 -0
  334. package/dist/modules/instance-ai/workflow-verification-task-projector.js +323 -0
  335. package/dist/modules/instance-ai/workflow-verification-task-projector.js.map +1 -0
  336. package/dist/modules/mcp/database/entities/oauth-authorization-code.entity.d.ts +1 -0
  337. package/dist/modules/mcp/database/entities/oauth-authorization-code.entity.js +4 -0
  338. package/dist/modules/mcp/database/entities/oauth-authorization-code.entity.js.map +1 -1
  339. package/dist/modules/mcp/mcp-oauth-authorization-code.service.d.ts +3 -1
  340. package/dist/modules/mcp/mcp-oauth-authorization-code.service.js +35 -5
  341. package/dist/modules/mcp/mcp-oauth-authorization-code.service.js.map +1 -1
  342. package/dist/modules/mcp/mcp-oauth-consent.service.js +1 -1
  343. package/dist/modules/mcp/mcp-oauth-consent.service.js.map +1 -1
  344. package/dist/modules/mcp/mcp-oauth-service.d.ts +4 -2
  345. package/dist/modules/mcp/mcp-oauth-service.js +60 -9
  346. package/dist/modules/mcp/mcp-oauth-service.js.map +1 -1
  347. package/dist/modules/mcp/mcp-oauth-token.service.d.ts +8 -6
  348. package/dist/modules/mcp/mcp-oauth-token.service.js +53 -16
  349. package/dist/modules/mcp/mcp-oauth-token.service.js.map +1 -1
  350. package/dist/modules/mcp/mcp-server-middleware.service.js +2 -1
  351. package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
  352. package/dist/modules/mcp/mcp.constants.d.ts +1 -0
  353. package/dist/modules/mcp/mcp.constants.js +2 -1
  354. package/dist/modules/mcp/mcp.constants.js.map +1 -1
  355. package/dist/modules/mcp/mcp.controller.js +1 -1
  356. package/dist/modules/mcp/mcp.controller.js.map +1 -1
  357. package/dist/modules/mcp/mcp.service.d.ts +7 -4
  358. package/dist/modules/mcp/mcp.service.js +60 -9
  359. package/dist/modules/mcp/mcp.service.js.map +1 -1
  360. package/dist/modules/mcp/mcp.types.d.ts +5 -4
  361. package/dist/modules/mcp/mcp.utils.d.ts +2 -4
  362. package/dist/modules/mcp/mcp.utils.js.map +1 -1
  363. package/dist/modules/mcp/oauth-session.service.d.ts +1 -0
  364. package/dist/modules/mcp/oauth-session.service.js.map +1 -1
  365. package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +7 -7
  366. package/dist/modules/mcp/tools/get-execution.tool.d.ts +1 -1
  367. package/dist/modules/mcp/tools/get-execution.tool.js +3 -3
  368. package/dist/modules/mcp/tools/get-execution.tool.js.map +1 -1
  369. package/dist/modules/mcp/tools/schemas.d.ts +28 -28
  370. package/dist/modules/mcp/tools/search-projects.tool.d.ts +2 -1
  371. package/dist/modules/mcp/tools/search-projects.tool.js +16 -7
  372. package/dist/modules/mcp/tools/search-projects.tool.js.map +1 -1
  373. package/dist/modules/mcp/tools/workflow-builder/constants.d.ts +1 -1
  374. package/dist/modules/mcp/tools/workflow-builder/constants.js +2 -2
  375. package/dist/modules/mcp/tools/workflow-builder/constants.js.map +1 -1
  376. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +1 -0
  377. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +9 -2
  378. package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
  379. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.d.ts +27 -0
  380. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js +123 -0
  381. package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js.map +1 -0
  382. package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.d.ts +2 -2
  383. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +1 -1
  384. package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
  385. package/dist/modules/mcp/tools/workflow-builder/skills-used.d.ts +1 -0
  386. package/dist/modules/mcp/tools/workflow-builder/skills-used.js +26 -0
  387. package/dist/modules/mcp/tools/workflow-builder/skills-used.js.map +1 -0
  388. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +20 -19
  389. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +9 -2
  390. package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
  391. package/dist/modules/mcp/tools/workflow-builder/validate-node.tool.d.ts +2 -2
  392. package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +19 -19
  393. package/dist/modules/mcp-registry/mcp-registry-node-loader.js +3 -2
  394. package/dist/modules/mcp-registry/mcp-registry-node-loader.js.map +1 -1
  395. package/dist/modules/mcp-registry/mcp-registry.controller.d.ts +7 -0
  396. package/dist/modules/mcp-registry/mcp-registry.controller.js +54 -0
  397. package/dist/modules/mcp-registry/mcp-registry.controller.js.map +1 -0
  398. package/dist/modules/mcp-registry/mcp-registry.module.js +1 -0
  399. package/dist/modules/mcp-registry/mcp-registry.module.js.map +1 -1
  400. package/dist/modules/mcp-registry/node-description-transform.d.ts +5 -3
  401. package/dist/modules/mcp-registry/node-description-transform.js +82 -24
  402. package/dist/modules/mcp-registry/node-description-transform.js.map +1 -1
  403. package/dist/modules/mcp-registry/registry/mcp-registry-api.client.js +8 -4
  404. package/dist/modules/mcp-registry/registry/mcp-registry-api.client.js.map +1 -1
  405. package/dist/modules/mcp-registry/registry/mcp-registry.service.d.ts +1 -0
  406. package/dist/modules/mcp-registry/registry/mcp-registry.service.js +7 -0
  407. package/dist/modules/mcp-registry/registry/mcp-registry.service.js.map +1 -1
  408. package/dist/modules/mcp-registry/registry/mcp-registry.types.d.ts +35 -1
  409. package/dist/modules/mcp-registry/registry/mcp-registry.types.js +13 -0
  410. package/dist/modules/mcp-registry/registry/mcp-registry.types.js.map +1 -1
  411. package/dist/modules/mcp-registry/registry/mock-servers.d.ts +2 -0
  412. package/dist/modules/mcp-registry/registry/mock-servers.js +45 -1
  413. package/dist/modules/mcp-registry/registry/mock-servers.js.map +1 -1
  414. package/dist/modules/n8n-packages/engine/import-pipeline.d.ts +5 -3
  415. package/dist/modules/n8n-packages/engine/import-pipeline.js +36 -25
  416. package/dist/modules/n8n-packages/engine/import-pipeline.js.map +1 -1
  417. package/dist/modules/n8n-packages/entities/credential/credential-importer.d.ts +9 -0
  418. package/dist/modules/n8n-packages/entities/credential/credential-importer.js +41 -0
  419. package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -0
  420. package/dist/modules/n8n-packages/entities/credential/credential-matcher-factory.d.ts +8 -0
  421. package/dist/modules/n8n-packages/entities/credential/credential-matcher-factory.js +35 -0
  422. package/dist/modules/n8n-packages/entities/credential/credential-matcher-factory.js.map +1 -0
  423. package/dist/modules/n8n-packages/entities/credential/credential-matcher.d.ts +18 -0
  424. package/dist/modules/n8n-packages/entities/credential/credential-matcher.js +34 -0
  425. package/dist/modules/n8n-packages/entities/credential/credential-matcher.js.map +1 -0
  426. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode-factory.d.ts +7 -0
  427. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode-factory.js +35 -0
  428. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode-factory.js.map +1 -0
  429. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +7 -0
  430. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +17 -0
  431. package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -0
  432. package/dist/modules/n8n-packages/entities/credential/credential-resolution-error.d.ts +3 -0
  433. package/dist/modules/n8n-packages/entities/credential/credential-resolution-error.js +14 -0
  434. package/dist/modules/n8n-packages/entities/credential/credential-resolution-error.js.map +1 -0
  435. package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +30 -0
  436. package/dist/modules/n8n-packages/entities/credential/credential.types.js +12 -0
  437. package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
  438. package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.d.ts +13 -0
  439. package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js +47 -0
  440. package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js.map +1 -0
  441. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-fail.handler.d.ts +9 -0
  442. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-fail.handler.js +41 -0
  443. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-fail.handler.js.map +1 -0
  444. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-handler.d.ts +10 -0
  445. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-handler.js +20 -0
  446. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-handler.js.map +1 -0
  447. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-new-version.handler.d.ts +11 -0
  448. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-new-version.handler.js +42 -0
  449. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-new-version.handler.js.map +1 -0
  450. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-skip.handler.d.ts +9 -0
  451. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-skip.handler.js +33 -0
  452. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-skip.handler.js.map +1 -0
  453. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.factory.d.ts +10 -0
  454. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.factory.js +37 -0
  455. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.factory.js.map +1 -0
  456. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.types.d.ts +20 -0
  457. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.types.js +3 -0
  458. package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.types.js.map +1 -0
  459. package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.d.ts +7 -0
  460. package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.js +54 -0
  461. package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.js.map +1 -0
  462. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.d.ts +14 -0
  463. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +47 -0
  464. package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -0
  465. package/dist/modules/n8n-packages/n8n-packages.types.d.ts +23 -1
  466. package/dist/modules/n8n-packages/n8n-packages.types.js +21 -0
  467. package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
  468. package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +41 -31
  469. package/dist/modules/n8n-packages/spec/manifest.schema.js.map +1 -1
  470. package/dist/modules/n8n-packages/spec/requirements.schema.d.ts +17 -7
  471. package/dist/modules/n8n-packages/spec/requirements.schema.js +17 -1
  472. package/dist/modules/n8n-packages/spec/requirements.schema.js.map +1 -1
  473. package/dist/modules/n8n-packages/spec/serialized/credential.schema.d.ts +2 -2
  474. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.d.ts +40 -33
  475. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +2 -1
  476. package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +1 -1
  477. package/dist/modules/n8n-packages/utils/import-package-upload.js +1 -1
  478. package/dist/modules/oauth-jwe/oauth-jwe.schemas.d.ts +18 -18
  479. package/dist/modules/otel/otel-lifecycle-handler.d.ts +6 -2
  480. package/dist/modules/otel/otel-lifecycle-handler.js +30 -17
  481. package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
  482. package/dist/modules/quick-connect/quick-connect.config.d.ts +29 -29
  483. package/dist/modules/quick-connect/quick-connect.module.d.ts +11 -11
  484. package/dist/modules/redaction/executions/execution-redaction.interfaces.d.ts +1 -1
  485. package/dist/modules/redaction/executions/execution-redaction.service.d.ts +1 -0
  486. package/dist/modules/redaction/executions/execution-redaction.service.js +25 -11
  487. package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
  488. package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js +1 -1
  489. package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js.map +1 -1
  490. package/dist/modules/redaction/instance-redaction-enforcement.service.d.ts +9 -7
  491. package/dist/modules/redaction/instance-redaction-enforcement.service.js +32 -14
  492. package/dist/modules/redaction/instance-redaction-enforcement.service.js.map +1 -1
  493. package/dist/modules/redaction/redaction-context-hook.js +14 -16
  494. package/dist/modules/redaction/redaction-context-hook.js.map +1 -1
  495. package/dist/modules/redaction/redaction-enforcement.service.d.ts +5 -5
  496. package/dist/modules/redaction/redaction-enforcement.service.js +13 -11
  497. package/dist/modules/redaction/redaction-enforcement.service.js.map +1 -1
  498. package/dist/modules/redaction/redaction-policy.d.ts +7 -0
  499. package/dist/modules/redaction/redaction-policy.js +31 -0
  500. package/dist/modules/redaction/redaction-policy.js.map +1 -0
  501. package/dist/modules/redaction/redaction.module.js +1 -0
  502. package/dist/modules/redaction/redaction.module.js.map +1 -1
  503. package/dist/modules/source-control.ee/source-control-import.service.ee.js +1 -1
  504. package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
  505. package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +4 -4
  506. package/dist/modules/source-control.ee/source-control.service.ee.d.ts +2 -2
  507. package/dist/modules/sso-oidc/oidc.controller.ee.d.ts +1 -1
  508. package/dist/modules/sso-oidc/oidc.service.ee.d.ts +2 -1
  509. package/dist/modules/sso-oidc/oidc.service.ee.js +35 -18
  510. package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
  511. package/dist/modules/token-exchange/token-exchange.schemas.d.ts +12 -12
  512. package/dist/node-execution/ephemeral-node-executor.js +3 -0
  513. package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
  514. package/dist/oauth/oauth.service.d.ts +20 -6
  515. package/dist/oauth/oauth.service.js +80 -18
  516. package/dist/oauth/oauth.service.js.map +1 -1
  517. package/dist/public-api/v1/handlers/executions/executions.handler.js +4 -4
  518. package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
  519. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +3 -0
  520. package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
  521. package/dist/public-api/v1/handlers/users/users.service.ee.js +1 -0
  522. package/dist/public-api/v1/handlers/users/users.service.ee.js.map +1 -1
  523. package/dist/public-api/v1/handlers/workflows/workflows.service.js +2 -0
  524. package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
  525. package/dist/public-api/v1/openapi.yml +169 -6
  526. package/dist/response-helper.js +16 -1
  527. package/dist/response-helper.js.map +1 -1
  528. package/dist/scaling/constants.d.ts +2 -2
  529. package/dist/scaling/job-processor.d.ts +3 -1
  530. package/dist/scaling/job-processor.js +6 -3
  531. package/dist/scaling/job-processor.js.map +1 -1
  532. package/dist/scaling/pubsub/pubsub.event-map.d.ts +1 -0
  533. package/dist/scaling/pubsub/pubsub.types.d.ts +2 -1
  534. package/dist/scaling/scaling.service.d.ts +3 -1
  535. package/dist/scaling/scaling.service.js +5 -2
  536. package/dist/scaling/scaling.service.js.map +1 -1
  537. package/dist/security-audit/risk-reporters/credentials-risk-reporter.d.ts +4 -3
  538. package/dist/security-audit/risk-reporters/credentials-risk-reporter.js +6 -4
  539. package/dist/security-audit/risk-reporters/credentials-risk-reporter.js.map +1 -1
  540. package/dist/services/ai-workflow-builder.service.d.ts +1 -2
  541. package/dist/services/ai-workflow-builder.service.js +2 -3
  542. package/dist/services/ai-workflow-builder.service.js.map +1 -1
  543. package/dist/services/dynamic-node-parameters.service.js +3 -5
  544. package/dist/services/dynamic-node-parameters.service.js.map +1 -1
  545. package/dist/services/frontend.service.js +2 -0
  546. package/dist/services/frontend.service.js.map +1 -1
  547. package/dist/services/project.service.ee.d.ts +1 -0
  548. package/dist/services/project.service.ee.js +34 -2
  549. package/dist/services/project.service.ee.js.map +1 -1
  550. package/dist/services/public-api-key.service.d.ts +25 -7
  551. package/dist/services/public-api-key.service.js +93 -14
  552. package/dist/services/public-api-key.service.js.map +1 -1
  553. package/dist/services/role.service.d.ts +3 -3
  554. package/dist/task-runners/errors/task-cancelled.error.d.ts +4 -0
  555. package/dist/task-runners/errors/task-cancelled.error.js +11 -0
  556. package/dist/task-runners/errors/task-cancelled.error.js.map +1 -0
  557. package/dist/task-runners/task-managers/task-requester.js +2 -1
  558. package/dist/task-runners/task-managers/task-requester.js.map +1 -1
  559. package/dist/telemetry/index.js +2 -2
  560. package/dist/tool-generation/hitl-tools.js +1 -1
  561. package/dist/tool-generation/hitl-tools.js.map +1 -1
  562. package/dist/utils/auth-fetch.d.ts +6 -0
  563. package/dist/utils/auth-fetch.js +33 -0
  564. package/dist/utils/auth-fetch.js.map +1 -0
  565. package/dist/wait-tracker.d.ts +6 -1
  566. package/dist/wait-tracker.js +43 -18
  567. package/dist/wait-tracker.js.map +1 -1
  568. package/dist/webhooks/waiting-webhooks.d.ts +3 -3
  569. package/dist/webhooks/waiting-webhooks.js +5 -5
  570. package/dist/webhooks/waiting-webhooks.js.map +1 -1
  571. package/dist/webhooks/webhook-helpers.js +1 -19
  572. package/dist/webhooks/webhook-helpers.js.map +1 -1
  573. package/dist/webhooks/webhook-server.d.ts +1 -0
  574. package/dist/webhooks/webhook-server.js +39 -0
  575. package/dist/webhooks/webhook-server.js.map +1 -1
  576. package/dist/workflow-execute-additional-data.d.ts +3 -2
  577. package/dist/workflow-execute-additional-data.js +42 -15
  578. package/dist/workflow-execute-additional-data.js.map +1 -1
  579. package/dist/workflow-helpers.d.ts +2 -2
  580. package/dist/workflow-helpers.js +5 -3
  581. package/dist/workflow-helpers.js.map +1 -1
  582. package/dist/workflow-runner.d.ts +3 -1
  583. package/dist/workflow-runner.js +8 -2
  584. package/dist/workflow-runner.js.map +1 -1
  585. package/dist/workflows/utils.d.ts +2 -0
  586. package/dist/workflows/utils.js +6 -0
  587. package/dist/workflows/utils.js.map +1 -1
  588. package/dist/workflows/workflow-creation.service.d.ts +7 -3
  589. package/dist/workflows/workflow-creation.service.js +38 -14
  590. package/dist/workflows/workflow-creation.service.js.map +1 -1
  591. package/dist/workflows/workflow-finder.service.d.ts +9 -0
  592. package/dist/workflows/workflow-finder.service.js +60 -16
  593. package/dist/workflows/workflow-finder.service.js.map +1 -1
  594. package/dist/workflows/workflow-publication-outbox-consumer.d.ts +31 -0
  595. package/dist/workflows/workflow-publication-outbox-consumer.js +209 -0
  596. package/dist/workflows/workflow-publication-outbox-consumer.js.map +1 -0
  597. package/dist/workflows/workflow-validation.service.js +1 -1
  598. package/dist/workflows/workflow-validation.service.js.map +1 -1
  599. package/dist/workflows/workflow.service.d.ts +5 -5
  600. package/dist/workflows/workflow.service.js +1 -1
  601. package/dist/workflows/workflow.service.js.map +1 -1
  602. package/dist/workflows/workflows.controller.d.ts +29 -29
  603. package/dist/workflows/workflows.controller.js +3 -4
  604. package/dist/workflows/workflows.controller.js.map +1 -1
  605. package/package.json +38 -38
  606. package/dist/controllers/redaction-enforcement-mapper.d.ts +0 -3
  607. package/dist/controllers/redaction-enforcement-mapper.js +0 -27
  608. package/dist/controllers/redaction-enforcement-mapper.js.map +0 -1
  609. package/dist/modules/agents/integrations/rich-interaction-tool.d.ts +0 -47
  610. package/dist/modules/agents/integrations/rich-interaction-tool.js +0 -109
  611. package/dist/modules/agents/integrations/rich-interaction-tool.js.map +0 -1
  612. package/dist/modules/instance-ai/eval/sub-agent-eval.service.d.ts +0 -13
  613. package/dist/modules/instance-ai/eval/sub-agent-eval.service.js +0 -154
  614. package/dist/modules/instance-ai/eval/sub-agent-eval.service.js.map +0 -1
  615. package/dist/modules/instance-ai/eval/sub-agent-roles.d.ts +0 -7
  616. package/dist/modules/instance-ai/eval/sub-agent-roles.js +0 -21
  617. package/dist/modules/instance-ai/eval/sub-agent-roles.js.map +0 -1
  618. package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.d.ts +0 -10
  619. package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js +0 -64
  620. package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js.map +0 -1
  621. package/dist/modules/redaction/redaction.config.d.ts +0 -3
  622. package/dist/modules/redaction/redaction.config.js +0 -27
  623. package/dist/modules/redaction/redaction.config.js.map +0 -1
  624. package/dist/services/ssrf/dns-resolver.d.ts +0 -13
  625. package/dist/services/ssrf/dns-resolver.js +0 -93
  626. package/dist/services/ssrf/dns-resolver.js.map +0 -1
  627. package/dist/services/ssrf/hostname-matcher.d.ts +0 -6
  628. package/dist/services/ssrf/hostname-matcher.js +0 -38
  629. package/dist/services/ssrf/hostname-matcher.js.map +0 -1
  630. package/dist/services/ssrf/in-memory-dns-cache.service.d.ts +0 -11
  631. package/dist/services/ssrf/in-memory-dns-cache.service.js +0 -61
  632. package/dist/services/ssrf/in-memory-dns-cache.service.js.map +0 -1
  633. package/dist/services/ssrf/ip-range-builder.d.ts +0 -10
  634. package/dist/services/ssrf/ip-range-builder.js +0 -52
  635. package/dist/services/ssrf/ip-range-builder.js.map +0 -1
  636. package/dist/services/ssrf/ssrf-blocked-ip.error.d.ts +0 -6
  637. package/dist/services/ssrf/ssrf-blocked-ip.error.js +0 -21
  638. package/dist/services/ssrf/ssrf-blocked-ip.error.js.map +0 -1
  639. package/dist/services/ssrf/ssrf-protection.service.d.ts +0 -26
  640. package/dist/services/ssrf/ssrf-protection.service.js +0 -159
  641. package/dist/services/ssrf/ssrf-protection.service.js.map +0 -1
@@ -86,10 +86,11 @@ export declare const csvQueryInputSchema: z.ZodObject<{
86
86
  rowNumber: z.ZodOptional<z.ZodNumber>;
87
87
  limit: z.ZodDefault<z.ZodNumber>;
88
88
  }, "strict", z.ZodTypeAny, {
89
- limit: number;
90
89
  file: string;
91
90
  operation: "csv_query";
91
+ limit: number;
92
92
  select?: string[] | undefined;
93
+ rowNumber?: number | undefined;
93
94
  where?: ({
94
95
  value: string;
95
96
  column: string;
@@ -103,12 +104,12 @@ export declare const csvQueryInputSchema: z.ZodObject<{
103
104
  column: string;
104
105
  op: "contains";
105
106
  })[] | undefined;
106
- rowNumber?: number | undefined;
107
107
  }, {
108
108
  file: string;
109
109
  operation: "csv_query";
110
110
  limit?: number | undefined;
111
111
  select?: string[] | undefined;
112
+ rowNumber?: number | undefined;
112
113
  where?: ({
113
114
  value: string;
114
115
  column: string;
@@ -122,7 +123,6 @@ export declare const csvQueryInputSchema: z.ZodObject<{
122
123
  column: string;
123
124
  op: "contains";
124
125
  })[] | undefined;
125
- rowNumber?: number | undefined;
126
126
  }>;
127
127
  declare const csvProfileInputSchema: z.ZodObject<{
128
128
  operation: z.ZodLiteral<"csv_profile">;
@@ -183,10 +183,10 @@ declare const csvDistinctInputSchema: z.ZodObject<{
183
183
  }>]>, "many">>;
184
184
  limit: z.ZodDefault<z.ZodNumber>;
185
185
  }, "strict", z.ZodTypeAny, {
186
- limit: number;
187
186
  file: string;
188
- column: string;
189
187
  operation: "csv_distinct";
188
+ limit: number;
189
+ column: string;
190
190
  where?: ({
191
191
  value: string;
192
192
  column: string;
@@ -202,8 +202,8 @@ declare const csvDistinctInputSchema: z.ZodObject<{
202
202
  })[] | undefined;
203
203
  }, {
204
204
  file: string;
205
- column: string;
206
205
  operation: "csv_distinct";
206
+ column: string;
207
207
  limit?: number | undefined;
208
208
  where?: ({
209
209
  value: string;
@@ -275,10 +275,12 @@ declare const csvAggregateInputSchema: z.ZodObject<{
275
275
  }>>;
276
276
  limit: z.ZodDefault<z.ZodNumber>;
277
277
  }, "strict", z.ZodTypeAny, {
278
- limit: number;
279
278
  file: string;
280
279
  operation: "csv_aggregate";
281
- functions: ("max" | "min" | "count" | "sum" | "avg")[];
280
+ limit: number;
281
+ functions: ("min" | "max" | "count" | "sum" | "avg")[];
282
+ metrics?: string[] | undefined;
283
+ groupBy?: string[] | undefined;
282
284
  where?: ({
283
285
  value: string;
284
286
  column: string;
@@ -292,9 +294,7 @@ declare const csvAggregateInputSchema: z.ZodObject<{
292
294
  column: string;
293
295
  op: "contains";
294
296
  })[] | undefined;
295
- metrics?: string[] | undefined;
296
297
  metric?: string | undefined;
297
- groupBy?: string[] | undefined;
298
298
  orderBy?: {
299
299
  column: string;
300
300
  direction: "asc" | "desc";
@@ -303,6 +303,9 @@ declare const csvAggregateInputSchema: z.ZodObject<{
303
303
  file: string;
304
304
  operation: "csv_aggregate";
305
305
  limit?: number | undefined;
306
+ functions?: ("min" | "max" | "count" | "sum" | "avg")[] | undefined;
307
+ metrics?: string[] | undefined;
308
+ groupBy?: string[] | undefined;
306
309
  where?: ({
307
310
  value: string;
308
311
  column: string;
@@ -316,10 +319,7 @@ declare const csvAggregateInputSchema: z.ZodObject<{
316
319
  column: string;
317
320
  op: "contains";
318
321
  })[] | undefined;
319
- metrics?: string[] | undefined;
320
- functions?: ("max" | "min" | "count" | "sum" | "avg")[] | undefined;
321
322
  metric?: string | undefined;
322
- groupBy?: string[] | undefined;
323
323
  orderBy?: {
324
324
  column: string;
325
325
  direction?: "asc" | "desc" | undefined;
@@ -348,27 +348,27 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
348
348
  operation: "search";
349
349
  offset: number;
350
350
  match_mode: "any" | "all_on_same_line" | "all_within_lines";
351
- output_mode: "count" | "content" | "files_with_matches";
351
+ output_mode: "content" | "count" | "files_with_matches";
352
352
  head_limit: number;
353
353
  query?: string | undefined;
354
354
  file?: string | undefined;
355
355
  files?: string[] | undefined;
356
356
  queries?: string[] | undefined;
357
- context?: number | undefined;
358
357
  caseInsensitive?: boolean | undefined;
359
358
  fixedStrings?: boolean | undefined;
359
+ context?: number | undefined;
360
360
  }, {
361
361
  operation: "search";
362
362
  query?: string | undefined;
363
363
  file?: string | undefined;
364
364
  files?: string[] | undefined;
365
- offset?: number | undefined;
366
365
  queries?: string[] | undefined;
367
- context?: number | undefined;
366
+ offset?: number | undefined;
368
367
  caseInsensitive?: boolean | undefined;
369
368
  fixedStrings?: boolean | undefined;
369
+ context?: number | undefined;
370
370
  match_mode?: "any" | "all_on_same_line" | "all_within_lines" | undefined;
371
- output_mode?: "count" | "content" | "files_with_matches" | undefined;
371
+ output_mode?: "content" | "count" | "files_with_matches" | undefined;
372
372
  head_limit?: number | undefined;
373
373
  }>, z.ZodObject<{
374
374
  operation: z.ZodLiteral<"read">;
@@ -441,10 +441,11 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
441
441
  rowNumber: z.ZodOptional<z.ZodNumber>;
442
442
  limit: z.ZodDefault<z.ZodNumber>;
443
443
  }, "strict", z.ZodTypeAny, {
444
- limit: number;
445
444
  file: string;
446
445
  operation: "csv_query";
446
+ limit: number;
447
447
  select?: string[] | undefined;
448
+ rowNumber?: number | undefined;
448
449
  where?: ({
449
450
  value: string;
450
451
  column: string;
@@ -458,12 +459,12 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
458
459
  column: string;
459
460
  op: "contains";
460
461
  })[] | undefined;
461
- rowNumber?: number | undefined;
462
462
  }, {
463
463
  file: string;
464
464
  operation: "csv_query";
465
465
  limit?: number | undefined;
466
466
  select?: string[] | undefined;
467
+ rowNumber?: number | undefined;
467
468
  where?: ({
468
469
  value: string;
469
470
  column: string;
@@ -477,7 +478,6 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
477
478
  column: string;
478
479
  op: "contains";
479
480
  })[] | undefined;
480
- rowNumber?: number | undefined;
481
481
  }>, z.ZodObject<{
482
482
  operation: z.ZodLiteral<"csv_profile">;
483
483
  file: z.ZodString;
@@ -536,10 +536,10 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
536
536
  }>]>, "many">>;
537
537
  limit: z.ZodDefault<z.ZodNumber>;
538
538
  }, "strict", z.ZodTypeAny, {
539
- limit: number;
540
539
  file: string;
541
- column: string;
542
540
  operation: "csv_distinct";
541
+ limit: number;
542
+ column: string;
543
543
  where?: ({
544
544
  value: string;
545
545
  column: string;
@@ -555,8 +555,8 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
555
555
  })[] | undefined;
556
556
  }, {
557
557
  file: string;
558
- column: string;
559
558
  operation: "csv_distinct";
559
+ column: string;
560
560
  limit?: number | undefined;
561
561
  where?: ({
562
562
  value: string;
@@ -627,10 +627,12 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
627
627
  }>>;
628
628
  limit: z.ZodDefault<z.ZodNumber>;
629
629
  }, "strict", z.ZodTypeAny, {
630
- limit: number;
631
630
  file: string;
632
631
  operation: "csv_aggregate";
633
- functions: ("max" | "min" | "count" | "sum" | "avg")[];
632
+ limit: number;
633
+ functions: ("min" | "max" | "count" | "sum" | "avg")[];
634
+ metrics?: string[] | undefined;
635
+ groupBy?: string[] | undefined;
634
636
  where?: ({
635
637
  value: string;
636
638
  column: string;
@@ -644,9 +646,7 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
644
646
  column: string;
645
647
  op: "contains";
646
648
  })[] | undefined;
647
- metrics?: string[] | undefined;
648
649
  metric?: string | undefined;
649
- groupBy?: string[] | undefined;
650
650
  orderBy?: {
651
651
  column: string;
652
652
  direction: "asc" | "desc";
@@ -655,6 +655,9 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
655
655
  file: string;
656
656
  operation: "csv_aggregate";
657
657
  limit?: number | undefined;
658
+ functions?: ("min" | "max" | "count" | "sum" | "avg")[] | undefined;
659
+ metrics?: string[] | undefined;
660
+ groupBy?: string[] | undefined;
658
661
  where?: ({
659
662
  value: string;
660
663
  column: string;
@@ -668,10 +671,7 @@ export declare const searchKnowledgeParsingSchema: z.ZodDiscriminatedUnion<"oper
668
671
  column: string;
669
672
  op: "contains";
670
673
  })[] | undefined;
671
- metrics?: string[] | undefined;
672
- functions?: ("max" | "min" | "count" | "sum" | "avg")[] | undefined;
673
674
  metric?: string | undefined;
674
- groupBy?: string[] | undefined;
675
675
  orderBy?: {
676
676
  column: string;
677
677
  direction?: "asc" | "desc" | undefined;
@@ -698,9 +698,9 @@ declare const searchMatchOutputSchema: z.ZodObject<{
698
698
  }, "strip", z.ZodTypeAny, {
699
699
  fileName: string;
700
700
  text: string;
701
+ relativePath: string;
701
702
  fileId: string;
702
703
  lineNumber: number;
703
- relativePath: string;
704
704
  readRange: {
705
705
  end: number;
706
706
  start: number;
@@ -709,9 +709,9 @@ declare const searchMatchOutputSchema: z.ZodObject<{
709
709
  }, {
710
710
  fileName: string;
711
711
  text: string;
712
+ relativePath: string;
712
713
  fileId: string;
713
714
  lineNumber: number;
714
- relativePath: string;
715
715
  readRange: {
716
716
  end: number;
717
717
  start: number;
@@ -761,9 +761,9 @@ declare const searchResultOutputSchema: z.ZodObject<{
761
761
  }, "strip", z.ZodTypeAny, {
762
762
  fileName: string;
763
763
  text: string;
764
+ relativePath: string;
764
765
  fileId: string;
765
766
  lineNumber: number;
766
- relativePath: string;
767
767
  readRange: {
768
768
  end: number;
769
769
  start: number;
@@ -772,9 +772,9 @@ declare const searchResultOutputSchema: z.ZodObject<{
772
772
  }, {
773
773
  fileName: string;
774
774
  text: string;
775
+ relativePath: string;
775
776
  fileId: string;
776
777
  lineNumber: number;
777
- relativePath: string;
778
778
  readRange: {
779
779
  end: number;
780
780
  start: number;
@@ -794,16 +794,16 @@ declare const searchResultOutputSchema: z.ZodObject<{
794
794
  relativePath: string;
795
795
  matchCount: number;
796
796
  }[];
797
- mode: "count" | "content" | "files_with_matches";
797
+ mode: "content" | "count" | "files_with_matches";
798
798
  truncated: boolean;
799
799
  totalMatchingFiles: number;
800
800
  totalMatchingLines: number;
801
801
  matches: {
802
802
  fileName: string;
803
803
  text: string;
804
+ relativePath: string;
804
805
  fileId: string;
805
806
  lineNumber: number;
806
- relativePath: string;
807
807
  readRange: {
808
808
  end: number;
809
809
  start: number;
@@ -824,16 +824,16 @@ declare const searchResultOutputSchema: z.ZodObject<{
824
824
  relativePath: string;
825
825
  matchCount: number;
826
826
  }[];
827
- mode: "count" | "content" | "files_with_matches";
827
+ mode: "content" | "count" | "files_with_matches";
828
828
  truncated: boolean;
829
829
  totalMatchingFiles: number;
830
830
  totalMatchingLines: number;
831
831
  matches: {
832
832
  fileName: string;
833
833
  text: string;
834
+ relativePath: string;
834
835
  fileId: string;
835
836
  lineNumber: number;
836
- relativePath: string;
837
837
  readRange: {
838
838
  end: number;
839
839
  start: number;
@@ -904,8 +904,8 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
904
904
  }>>;
905
905
  }, "strip", z.ZodTypeAny, {
906
906
  command: "git_grep" | "cat" | "sed";
907
- stdout: string;
908
907
  exitCode: number | null;
908
+ stdout: string;
909
909
  stderr: string;
910
910
  truncated: boolean;
911
911
  citation?: {
@@ -918,8 +918,8 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
918
918
  } | undefined;
919
919
  }, {
920
920
  command: "git_grep" | "cat" | "sed";
921
- stdout: string;
922
921
  exitCode: number | null;
922
+ stdout: string;
923
923
  stderr: string;
924
924
  truncated: boolean;
925
925
  citation?: {
@@ -974,9 +974,9 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
974
974
  }, "strip", z.ZodTypeAny, {
975
975
  fileName: string;
976
976
  text: string;
977
+ relativePath: string;
977
978
  fileId: string;
978
979
  lineNumber: number;
979
- relativePath: string;
980
980
  readRange: {
981
981
  end: number;
982
982
  start: number;
@@ -985,9 +985,9 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
985
985
  }, {
986
986
  fileName: string;
987
987
  text: string;
988
+ relativePath: string;
988
989
  fileId: string;
989
990
  lineNumber: number;
990
- relativePath: string;
991
991
  readRange: {
992
992
  end: number;
993
993
  start: number;
@@ -1007,16 +1007,16 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1007
1007
  relativePath: string;
1008
1008
  matchCount: number;
1009
1009
  }[];
1010
- mode: "count" | "content" | "files_with_matches";
1010
+ mode: "content" | "count" | "files_with_matches";
1011
1011
  truncated: boolean;
1012
1012
  totalMatchingFiles: number;
1013
1013
  totalMatchingLines: number;
1014
1014
  matches: {
1015
1015
  fileName: string;
1016
1016
  text: string;
1017
+ relativePath: string;
1017
1018
  fileId: string;
1018
1019
  lineNumber: number;
1019
- relativePath: string;
1020
1020
  readRange: {
1021
1021
  end: number;
1022
1022
  start: number;
@@ -1037,16 +1037,16 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1037
1037
  relativePath: string;
1038
1038
  matchCount: number;
1039
1039
  }[];
1040
- mode: "count" | "content" | "files_with_matches";
1040
+ mode: "content" | "count" | "files_with_matches";
1041
1041
  truncated: boolean;
1042
1042
  totalMatchingFiles: number;
1043
1043
  totalMatchingLines: number;
1044
1044
  matches: {
1045
1045
  fileName: string;
1046
1046
  text: string;
1047
+ relativePath: string;
1047
1048
  fileId: string;
1048
1049
  lineNumber: number;
1049
- relativePath: string;
1050
1050
  readRange: {
1051
1051
  end: number;
1052
1052
  start: number;
@@ -1100,12 +1100,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1100
1100
  }>>;
1101
1101
  }, "strip", z.ZodTypeAny, {
1102
1102
  fileName: string;
1103
- rows: string[][];
1104
1103
  columns: string[];
1105
- rowCount: number;
1104
+ rows: string[][];
1106
1105
  truncated: boolean;
1107
1106
  relativePath: string;
1108
1107
  rowNumbers: number[];
1108
+ rowCount: number;
1109
1109
  records?: {
1110
1110
  values: Record<string, string>;
1111
1111
  rowNumber: number;
@@ -1120,12 +1120,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1120
1120
  } | undefined;
1121
1121
  }, {
1122
1122
  fileName: string;
1123
- rows: string[][];
1124
1123
  columns: string[];
1125
- rowCount: number;
1124
+ rows: string[][];
1126
1125
  truncated: boolean;
1127
1126
  relativePath: string;
1128
1127
  rowNumbers: number[];
1128
+ rowCount: number;
1129
1129
  records?: {
1130
1130
  values: Record<string, string>;
1131
1131
  rowNumber: number;
@@ -1154,14 +1154,14 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1154
1154
  sampleValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1155
1155
  }, "strip", z.ZodTypeAny, {
1156
1156
  name: string;
1157
- inferredType: "string" | "number" | "boolean" | "empty" | "date" | "integer";
1157
+ inferredType: "string" | "number" | "boolean" | "date" | "empty" | "integer";
1158
1158
  emptyCount: number;
1159
1159
  distinctCount?: number | undefined;
1160
1160
  distinctCountTruncated?: boolean | undefined;
1161
1161
  sampleValues?: string[] | undefined;
1162
1162
  }, {
1163
1163
  name: string;
1164
- inferredType: "string" | "number" | "boolean" | "empty" | "date" | "integer";
1164
+ inferredType: "string" | "number" | "boolean" | "date" | "empty" | "integer";
1165
1165
  emptyCount: number;
1166
1166
  distinctCount?: number | undefined;
1167
1167
  distinctCountTruncated?: boolean | undefined;
@@ -1172,12 +1172,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1172
1172
  }, "strip", z.ZodTypeAny, {
1173
1173
  fileName: string;
1174
1174
  columns: string[];
1175
- rowCount: number;
1176
1175
  relativePath: string;
1176
+ rowCount: number;
1177
1177
  sampleRows: Record<string, string>[];
1178
1178
  columnProfiles: {
1179
1179
  name: string;
1180
- inferredType: "string" | "number" | "boolean" | "empty" | "date" | "integer";
1180
+ inferredType: "string" | "number" | "boolean" | "date" | "empty" | "integer";
1181
1181
  emptyCount: number;
1182
1182
  distinctCount?: number | undefined;
1183
1183
  distinctCountTruncated?: boolean | undefined;
@@ -1188,12 +1188,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1188
1188
  }, {
1189
1189
  fileName: string;
1190
1190
  columns: string[];
1191
- rowCount: number;
1192
1191
  relativePath: string;
1192
+ rowCount: number;
1193
1193
  sampleRows: Record<string, string>[];
1194
1194
  columnProfiles: {
1195
1195
  name: string;
1196
- inferredType: "string" | "number" | "boolean" | "empty" | "date" | "integer";
1196
+ inferredType: "string" | "number" | "boolean" | "date" | "empty" | "integer";
1197
1197
  emptyCount: number;
1198
1198
  distinctCount?: number | undefined;
1199
1199
  distinctCountTruncated?: boolean | undefined;
@@ -1210,19 +1210,19 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1210
1210
  distinctCount: z.ZodNumber;
1211
1211
  truncated: z.ZodBoolean;
1212
1212
  }, "strip", z.ZodTypeAny, {
1213
- values: string[];
1214
1213
  fileName: string;
1215
- column: string;
1214
+ values: string[];
1216
1215
  truncated: boolean;
1217
1216
  relativePath: string;
1218
1217
  distinctCount: number;
1218
+ column: string;
1219
1219
  }, {
1220
- values: string[];
1221
1220
  fileName: string;
1222
- column: string;
1221
+ values: string[];
1223
1222
  truncated: boolean;
1224
1223
  relativePath: string;
1225
1224
  distinctCount: number;
1225
+ column: string;
1226
1226
  }>>;
1227
1227
  csvAggregate: z.ZodOptional<z.ZodObject<{
1228
1228
  fileName: z.ZodString;
@@ -1236,22 +1236,22 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1236
1236
  skippedNonNumeric: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
1237
1237
  }, "strip", z.ZodTypeAny, {
1238
1238
  fileName: string;
1239
- metrics: string[];
1240
1239
  results: Record<string, string | number | null>[];
1241
- rowCount: number;
1242
- functions: ("max" | "min" | "count" | "sum" | "avg")[];
1240
+ functions: ("min" | "max" | "count" | "sum" | "avg")[];
1243
1241
  truncated: boolean;
1244
1242
  relativePath: string;
1243
+ rowCount: number;
1244
+ metrics: string[];
1245
1245
  groupBy?: string[] | undefined;
1246
1246
  skippedNonNumeric?: Record<string, number> | undefined;
1247
1247
  }, {
1248
1248
  fileName: string;
1249
- metrics: string[];
1250
1249
  results: Record<string, string | number | null>[];
1251
- rowCount: number;
1252
- functions: ("max" | "min" | "count" | "sum" | "avg")[];
1250
+ functions: ("min" | "max" | "count" | "sum" | "avg")[];
1253
1251
  truncated: boolean;
1254
1252
  relativePath: string;
1253
+ rowCount: number;
1254
+ metrics: string[];
1255
1255
  groupBy?: string[] | undefined;
1256
1256
  skippedNonNumeric?: Record<string, number> | undefined;
1257
1257
  }>>;
@@ -1273,16 +1273,16 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1273
1273
  relativePath: string;
1274
1274
  matchCount: number;
1275
1275
  }[];
1276
- mode: "count" | "content" | "files_with_matches";
1276
+ mode: "content" | "count" | "files_with_matches";
1277
1277
  truncated: boolean;
1278
1278
  totalMatchingFiles: number;
1279
1279
  totalMatchingLines: number;
1280
1280
  matches: {
1281
1281
  fileName: string;
1282
1282
  text: string;
1283
+ relativePath: string;
1283
1284
  fileId: string;
1284
1285
  lineNumber: number;
1285
- relativePath: string;
1286
1286
  readRange: {
1287
1287
  end: number;
1288
1288
  start: number;
@@ -1299,8 +1299,8 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1299
1299
  error?: string | undefined;
1300
1300
  result?: {
1301
1301
  command: "git_grep" | "cat" | "sed";
1302
- stdout: string;
1303
1302
  exitCode: number | null;
1303
+ stdout: string;
1304
1304
  stderr: string;
1305
1305
  truncated: boolean;
1306
1306
  citation?: {
@@ -1314,12 +1314,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1314
1314
  } | undefined;
1315
1315
  csv?: {
1316
1316
  fileName: string;
1317
- rows: string[][];
1318
1317
  columns: string[];
1319
- rowCount: number;
1318
+ rows: string[][];
1320
1319
  truncated: boolean;
1321
1320
  relativePath: string;
1322
1321
  rowNumbers: number[];
1322
+ rowCount: number;
1323
1323
  records?: {
1324
1324
  values: Record<string, string>;
1325
1325
  rowNumber: number;
@@ -1336,12 +1336,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1336
1336
  csvProfile?: {
1337
1337
  fileName: string;
1338
1338
  columns: string[];
1339
- rowCount: number;
1340
1339
  relativePath: string;
1340
+ rowCount: number;
1341
1341
  sampleRows: Record<string, string>[];
1342
1342
  columnProfiles: {
1343
1343
  name: string;
1344
- inferredType: "string" | "number" | "boolean" | "empty" | "date" | "integer";
1344
+ inferredType: "string" | "number" | "boolean" | "date" | "empty" | "integer";
1345
1345
  emptyCount: number;
1346
1346
  distinctCount?: number | undefined;
1347
1347
  distinctCountTruncated?: boolean | undefined;
@@ -1351,21 +1351,21 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1351
1351
  likelyDisambiguatingColumns: string[];
1352
1352
  } | undefined;
1353
1353
  csvDistinct?: {
1354
- values: string[];
1355
1354
  fileName: string;
1356
- column: string;
1355
+ values: string[];
1357
1356
  truncated: boolean;
1358
1357
  relativePath: string;
1359
1358
  distinctCount: number;
1359
+ column: string;
1360
1360
  } | undefined;
1361
1361
  csvAggregate?: {
1362
1362
  fileName: string;
1363
- metrics: string[];
1364
1363
  results: Record<string, string | number | null>[];
1365
- rowCount: number;
1366
- functions: ("max" | "min" | "count" | "sum" | "avg")[];
1364
+ functions: ("min" | "max" | "count" | "sum" | "avg")[];
1367
1365
  truncated: boolean;
1368
1366
  relativePath: string;
1367
+ rowCount: number;
1368
+ metrics: string[];
1369
1369
  groupBy?: string[] | undefined;
1370
1370
  skippedNonNumeric?: Record<string, number> | undefined;
1371
1371
  } | undefined;
@@ -1386,16 +1386,16 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1386
1386
  relativePath: string;
1387
1387
  matchCount: number;
1388
1388
  }[];
1389
- mode: "count" | "content" | "files_with_matches";
1389
+ mode: "content" | "count" | "files_with_matches";
1390
1390
  truncated: boolean;
1391
1391
  totalMatchingFiles: number;
1392
1392
  totalMatchingLines: number;
1393
1393
  matches: {
1394
1394
  fileName: string;
1395
1395
  text: string;
1396
+ relativePath: string;
1396
1397
  fileId: string;
1397
1398
  lineNumber: number;
1398
- relativePath: string;
1399
1399
  readRange: {
1400
1400
  end: number;
1401
1401
  start: number;
@@ -1412,8 +1412,8 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1412
1412
  error?: string | undefined;
1413
1413
  result?: {
1414
1414
  command: "git_grep" | "cat" | "sed";
1415
- stdout: string;
1416
1415
  exitCode: number | null;
1416
+ stdout: string;
1417
1417
  stderr: string;
1418
1418
  truncated: boolean;
1419
1419
  citation?: {
@@ -1427,12 +1427,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1427
1427
  } | undefined;
1428
1428
  csv?: {
1429
1429
  fileName: string;
1430
- rows: string[][];
1431
1430
  columns: string[];
1432
- rowCount: number;
1431
+ rows: string[][];
1433
1432
  truncated: boolean;
1434
1433
  relativePath: string;
1435
1434
  rowNumbers: number[];
1435
+ rowCount: number;
1436
1436
  records?: {
1437
1437
  values: Record<string, string>;
1438
1438
  rowNumber: number;
@@ -1449,12 +1449,12 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1449
1449
  csvProfile?: {
1450
1450
  fileName: string;
1451
1451
  columns: string[];
1452
- rowCount: number;
1453
1452
  relativePath: string;
1453
+ rowCount: number;
1454
1454
  sampleRows: Record<string, string>[];
1455
1455
  columnProfiles: {
1456
1456
  name: string;
1457
- inferredType: "string" | "number" | "boolean" | "empty" | "date" | "integer";
1457
+ inferredType: "string" | "number" | "boolean" | "date" | "empty" | "integer";
1458
1458
  emptyCount: number;
1459
1459
  distinctCount?: number | undefined;
1460
1460
  distinctCountTruncated?: boolean | undefined;
@@ -1464,21 +1464,21 @@ export declare const searchKnowledgeOutputSchema: z.ZodObject<{
1464
1464
  likelyDisambiguatingColumns: string[];
1465
1465
  } | undefined;
1466
1466
  csvDistinct?: {
1467
- values: string[];
1468
1467
  fileName: string;
1469
- column: string;
1468
+ values: string[];
1470
1469
  truncated: boolean;
1471
1470
  relativePath: string;
1472
1471
  distinctCount: number;
1472
+ column: string;
1473
1473
  } | undefined;
1474
1474
  csvAggregate?: {
1475
1475
  fileName: string;
1476
- metrics: string[];
1477
1476
  results: Record<string, string | number | null>[];
1478
- rowCount: number;
1479
- functions: ("max" | "min" | "count" | "sum" | "avg")[];
1477
+ functions: ("min" | "max" | "count" | "sum" | "avg")[];
1480
1478
  truncated: boolean;
1481
1479
  relativePath: string;
1480
+ rowCount: number;
1481
+ metrics: string[];
1482
1482
  groupBy?: string[] | undefined;
1483
1483
  skippedNonNumeric?: Record<string, number> | undefined;
1484
1484
  } | undefined;