n8n 2.25.5 → 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.
- package/dist/active-executions.js +1 -1
- package/dist/active-executions.js.map +1 -1
- package/dist/active-workflow-manager.d.ts +7 -7
- package/dist/active-workflow-manager.js +20 -20
- package/dist/active-workflow-manager.js.map +1 -1
- package/dist/agent-library-bundle.js +42 -10
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat/chat-execution-manager.d.ts +3 -1
- package/dist/chat/chat-execution-manager.js +6 -3
- package/dist/chat/chat-execution-manager.js.map +1 -1
- package/dist/chat/chat-service.types.d.ts +4 -4
- package/dist/commands/base-command.js +2 -2
- package/dist/commands/base-command.js.map +1 -1
- package/dist/commands/execute-batch.d.ts +2 -2
- package/dist/commands/execute.d.ts +2 -2
- package/dist/commands/export/credentials.d.ts +4 -4
- package/dist/commands/export/entities.d.ts +2 -2
- package/dist/commands/export/workflow.d.ts +4 -4
- package/dist/commands/import/credentials.d.ts +2 -2
- package/dist/commands/import/workflow.d.ts +2 -2
- package/dist/commands/start.js +1 -1
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/ttwf/generate.d.ts +2 -2
- package/dist/controllers/annotation-tags.controller.ee.d.ts +1 -1
- package/dist/controllers/api-keys.controller.d.ts +16 -4
- package/dist/controllers/api-keys.controller.js +11 -8
- package/dist/controllers/api-keys.controller.js.map +1 -1
- package/dist/controllers/e2e.controller.d.ts +15 -0
- package/dist/controllers/e2e.controller.js +60 -0
- package/dist/controllers/e2e.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth1-credential.controller.js +7 -9
- package/dist/controllers/oauth/oauth1-credential.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.js +3 -3
- package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
- package/dist/controllers/project.controller.d.ts +1 -1
- package/dist/controllers/project.controller.js +9 -1
- package/dist/controllers/project.controller.js.map +1 -1
- package/dist/controllers/security-settings.controller.d.ts +1 -1
- package/dist/controllers/security-settings.controller.js +18 -14
- package/dist/controllers/security-settings.controller.js.map +1 -1
- package/dist/controllers/telemetry.controller.d.ts +4 -1
- package/dist/controllers/telemetry.controller.js +61 -2
- package/dist/controllers/telemetry.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +2 -2
- package/dist/credentials/credential-connection-status-provider.interface.d.ts +1 -0
- package/dist/credentials/credential-connection-status-proxy.d.ts +1 -0
- package/dist/credentials/credential-connection-status-proxy.js +5 -0
- package/dist/credentials/credential-connection-status-proxy.js.map +1 -1
- package/dist/credentials/credential-resolution-provider.interface.d.ts +1 -0
- package/dist/credentials/credentials.controller.d.ts +3 -1
- package/dist/credentials/credentials.controller.js +23 -2
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials-helper.js +3 -0
- package/dist/credentials-helper.js.map +1 -1
- package/dist/errors/http-error-serializers.js +22 -2
- package/dist/errors/http-error-serializers.js.map +1 -1
- package/dist/errors/response-errors/conflict.error.d.ts +2 -1
- package/dist/errors/response-errors/conflict.error.js +2 -1
- package/dist/errors/response-errors/conflict.error.js.map +1 -1
- package/dist/evaluation.ee/evaluation-config-validator.d.ts +1 -0
- package/dist/evaluation.ee/evaluation-config-validator.js +69 -0
- package/dist/evaluation.ee/evaluation-config-validator.js.map +1 -1
- package/dist/evaluation.ee/test-runner/evaluation-metrics.ee.js +2 -1
- package/dist/evaluation.ee/test-runner/evaluation-metrics.ee.js.map +1 -1
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.d.ts +6 -2
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +59 -16
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +28 -1
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
- package/dist/evaluation.ee/test-runs.controller.ee.js +6 -1
- package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
- package/dist/events/event.service.d.ts +2 -1
- package/dist/events/event.service.js.map +1 -1
- package/dist/events/maps/execution-data.event-map.d.ts +14 -0
- package/dist/events/maps/execution-data.event-map.js +3 -0
- package/dist/events/maps/execution-data.event-map.js.map +1 -0
- package/dist/events/maps/relay.event-map.d.ts +19 -5
- package/dist/events/relays/log-streaming.event-relay.js +2 -0
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.d.ts +3 -0
- package/dist/events/relays/telemetry.event-relay.js +47 -6
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/save-execution-progress.js +3 -3
- package/dist/execution-lifecycle/save-execution-progress.js.map +1 -1
- package/dist/execution-lifecycle/shared/shared-hook-functions.js +3 -3
- package/dist/execution-lifecycle/shared/shared-hook-functions.js.map +1 -1
- package/dist/executions/execution-persistence.d.ts +8 -1
- package/dist/executions/execution-persistence.js +183 -42
- package/dist/executions/execution-persistence.js.map +1 -1
- package/dist/executions/execution-recovery.service.d.ts +3 -1
- package/dist/executions/execution-recovery.service.js +7 -4
- package/dist/executions/execution-recovery.service.js.map +1 -1
- package/dist/executions/execution.service.d.ts +1 -0
- package/dist/executions/execution.service.js +21 -7
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/load-nodes-and-credentials.js +6 -0
- package/dist/load-nodes-and-credentials.js.map +1 -1
- package/dist/metrics/prometheus-metrics.service.d.ts +5 -2
- package/dist/metrics/prometheus-metrics.service.js +74 -3
- package/dist/metrics/prometheus-metrics.service.js.map +1 -1
- package/dist/metrics/types.d.ts +1 -1
- package/dist/modules/agents/agent-execution.service.d.ts +2 -0
- package/dist/modules/agents/agent-execution.service.js +2 -2
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +84 -0
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +362 -0
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -0
- package/dist/modules/agents/agent-sse-stream.js +15 -1
- package/dist/modules/agents/agent-sse-stream.js.map +1 -1
- package/dist/modules/agents/agents-tools.service.js +8 -1
- package/dist/modules/agents/agents-tools.service.js.map +1 -1
- package/dist/modules/agents/agents.controller.d.ts +34 -19
- package/dist/modules/agents/agents.controller.js +39 -3
- package/dist/modules/agents/agents.controller.js.map +1 -1
- package/dist/modules/agents/agents.module.d.ts +1 -1
- package/dist/modules/agents/agents.service.d.ts +13 -31
- package/dist/modules/agents/agents.service.js +154 -282
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-prompts.js +1 -0
- package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-tools.service.js +21 -2
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder.service.js +3 -11
- package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-tool-names.d.ts +1 -0
- package/dist/modules/agents/builder/builder-tool-names.js +1 -0
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-question.tool.js +1 -1
- package/dist/modules/agents/builder/interactive/ask-question.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/llm-provider-defaults.js +10 -0
- package/dist/modules/agents/builder/interactive/llm-provider-defaults.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +5 -3
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js +7 -2
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
- package/dist/modules/agents/builder/skills/index.js +2 -0
- package/dist/modules/agents/builder/skills/index.js.map +1 -1
- package/dist/modules/agents/builder/skills/sub-agents.skill.d.ts +2 -0
- package/dist/modules/agents/builder/skills/sub-agents.skill.js +101 -0
- package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -0
- package/dist/modules/agents/entities/agent-execution-thread.entity.d.ts +2 -0
- package/dist/modules/agents/entities/agent-execution-thread.entity.js +8 -0
- package/dist/modules/agents/entities/agent-execution-thread.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-execution.entity.js +1 -1
- package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
- package/dist/modules/agents/execution-recorder.d.ts +3 -0
- package/dist/modules/agents/execution-recorder.js +75 -10
- package/dist/modules/agents/execution-recorder.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +4 -7
- package/dist/modules/agents/integrations/agent-chat-bridge.js +138 -105
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/chat-integration.service.d.ts +5 -0
- package/dist/modules/agents/integrations/chat-integration.service.js +5 -0
- package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
- package/dist/modules/agents/integrations/component-mapper.d.ts +21 -11
- package/dist/modules/agents/integrations/component-mapper.js +50 -20
- package/dist/modules/agents/integrations/component-mapper.js.map +1 -1
- package/dist/modules/agents/integrations/integration-action-executor.d.ts +1 -0
- package/dist/modules/agents/integrations/integration-action-executor.js +20 -9
- package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tools.js +176 -31
- package/dist/modules/agents/integrations/integration-tools.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack-integration.js +1 -1
- package/dist/modules/agents/integrations/platforms/slack-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/telegram-integration.js +1 -1
- package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +1 -1
- package/dist/modules/agents/json-config/credential-field-mapping.js +1 -0
- package/dist/modules/agents/json-config/credential-field-mapping.js.map +1 -1
- package/dist/modules/agents/json-config/from-json-config.d.ts +2 -1
- package/dist/modules/agents/json-config/from-json-config.js +41 -15
- package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.d.ts +0 -6
- package/dist/modules/agents/json-config/mcp-client-factory.js +2 -31
- package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
- package/dist/modules/agents/json-config/model-config.d.ts +2 -0
- package/dist/modules/agents/json-config/model-config.js +11 -0
- package/dist/modules/agents/json-config/model-config.js.map +1 -0
- package/dist/modules/agents/json-config/model-id.d.ts +1 -0
- package/dist/modules/agents/json-config/model-id.js +8 -0
- package/dist/modules/agents/json-config/model-id.js.map +1 -0
- package/dist/modules/agents/json-config/native-web-search-provider-tools.d.ts +0 -1
- package/dist/modules/agents/json-config/native-web-search-provider-tools.js +3 -7
- package/dist/modules/agents/json-config/native-web-search-provider-tools.js.map +1 -1
- package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.d.ts +1 -0
- package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js +63 -0
- package/dist/modules/agents/json-config/sanitize-unknown-agent-credentials.js.map +1 -0
- package/dist/modules/agents/model-catalog.d.ts +1 -0
- package/dist/modules/agents/model-catalog.js +15 -0
- package/dist/modules/agents/model-catalog.js.map +1 -0
- package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +5 -1
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js +5 -3
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.d.ts +17 -0
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +66 -0
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -0
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +27 -0
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +235 -0
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -0
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.d.ts +20 -0
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js +87 -0
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -0
- package/dist/modules/agents/tools/knowledge/csv.operation.d.ts +2 -2
- package/dist/modules/agents/tools/knowledge/schemas.d.ts +91 -91
- package/dist/modules/agents/tools/node-tool-factory.js +9 -12
- package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +2 -3
- package/dist/modules/agents/tools/workflow-tool-factory.js +6 -4
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/utils/agent-stream.d.ts +2 -0
- package/dist/modules/agents/utils/agent-stream.js +27 -0
- package/dist/modules/agents/utils/agent-stream.js.map +1 -0
- package/dist/modules/agents/utils/execution-to-message-mapper.js +2 -0
- package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
- package/dist/modules/agents/utils/structured-output-error.d.ts +1 -0
- package/dist/modules/agents/utils/structured-output-error.js +34 -0
- package/dist/modules/agents/utils/structured-output-error.js.map +1 -0
- package/dist/modules/chat-hub/chat-hub-execution-watcher.service.d.ts +3 -3
- package/dist/modules/chat-hub/chat-hub-execution-watcher.service.js +5 -5
- package/dist/modules/chat-hub/chat-hub-execution-watcher.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-execution.service.d.ts +3 -1
- package/dist/modules/chat-hub/chat-hub-execution.service.js +6 -3
- package/dist/modules/chat-hub/chat-hub-execution.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-title.service.d.ts +4 -3
- package/dist/modules/chat-hub/chat-hub-title.service.js +5 -5
- package/dist/modules/chat-hub/chat-hub-title.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.module.d.ts +2 -2
- package/dist/modules/chat-hub/chat-hub.service.d.ts +4 -3
- package/dist/modules/chat-hub/chat-hub.service.js +5 -5
- package/dist/modules/chat-hub/chat-hub.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.settings.controller.d.ts +4 -4
- package/dist/modules/chat-hub/chat-hub.types.d.ts +5 -5
- package/dist/modules/chat-hub/dto/chat-models-request.dto.d.ts +1 -1
- package/dist/modules/data-table/data-table.module.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/oauth2-introspection-identifier.d.ts +2 -2
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.d.ts +1 -0
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.js +3 -0
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/n8n-credential-resolver.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.d.ts +5 -0
- package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.js +15 -0
- package/dist/modules/dynamic-credentials.ee/database/repositories/dynamic-credential-user-entry.repository.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.d.ts +9 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.js +57 -3
- package/dist/modules/dynamic-credentials.ee/services/credential-connection-status.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js +14 -3
- package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/infisical.d.ts +20 -14
- package/dist/modules/external-secrets.ee/providers/infisical.js +215 -90
- package/dist/modules/external-secrets.ee/providers/infisical.js.map +1 -1
- package/dist/modules/favorites/dto/add-favorite.dto.d.ts +1 -1
- package/dist/modules/insights/database/entities/insights-shared.d.ts +1 -1
- package/dist/modules/insights/database/repositories/insights-by-period-query.helper.d.ts +2 -1
- package/dist/modules/insights/database/repositories/insights-by-period-query.helper.js +2 -3
- package/dist/modules/insights/database/repositories/insights-by-period-query.helper.js.map +1 -1
- package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +3 -3
- package/dist/modules/insights/insights.service.d.ts +3 -3
- package/dist/modules/instance-ai/entities/index.d.ts +1 -0
- package/dist/modules/instance-ai/entities/index.js +3 -1
- package/dist/modules/instance-ai/entities/index.js.map +1 -1
- package/dist/modules/instance-ai/entities/instance-ai-mcp-registry-connection.entity.d.ts +12 -0
- package/dist/modules/instance-ai/entities/instance-ai-mcp-registry-connection.entity.js +42 -0
- package/dist/modules/instance-ai/entities/instance-ai-mcp-registry-connection.entity.js.map +1 -0
- package/dist/modules/instance-ai/entities/instance-ai-thread.entity.d.ts +3 -1
- package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js +10 -0
- package/dist/modules/instance-ai/entities/instance-ai-thread.entity.js.map +1 -1
- package/dist/modules/instance-ai/eval/execution.service.d.ts +8 -2
- package/dist/modules/instance-ai/eval/execution.service.js +183 -40
- package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/workflow-analysis.js +5 -0
- package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
- package/dist/modules/instance-ai/extract-resolved-node-parameters.d.ts +1 -2
- package/dist/modules/instance-ai/extract-resolved-node-parameters.js +4 -2
- package/dist/modules/instance-ai/extract-resolved-node-parameters.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-gateway.service.d.ts +31 -0
- package/dist/modules/instance-ai/instance-ai-gateway.service.js +84 -0
- package/dist/modules/instance-ai/instance-ai-gateway.service.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +1 -1
- package/dist/modules/instance-ai/instance-ai-memory.service.js +5 -4
- package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +10 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.js +47 -5
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-test.controller.d.ts +6 -2
- package/dist/modules/instance-ai/instance-ai-test.controller.js +17 -3
- package/dist/modules/instance-ai/instance-ai-test.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +5 -5
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +104 -36
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +8 -6
- package/dist/modules/instance-ai/instance-ai.controller.js +31 -36
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.d.ts +4 -1
- package/dist/modules/instance-ai/instance-ai.module.js +7 -6
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +50 -41
- package/dist/modules/instance-ai/instance-ai.service.js +599 -246
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/internal-messages.js +1 -1
- package/dist/modules/instance-ai/internal-messages.js.map +1 -1
- package/dist/modules/instance-ai/mcp/index.d.ts +1 -0
- package/dist/modules/instance-ai/mcp/index.js +18 -0
- package/dist/modules/instance-ai/mcp/index.js.map +1 -0
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.d.ts +17 -0
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js +125 -0
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-connection.controller.js.map +1 -0
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.d.ts +35 -0
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js +264 -0
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js.map +1 -0
- package/dist/modules/instance-ai/planned-task-action-runner.d.ts +91 -0
- package/dist/modules/instance-ai/planned-task-action-runner.js +138 -0
- package/dist/modules/instance-ai/planned-task-action-runner.js.map +1 -0
- package/dist/modules/instance-ai/repositories/index.d.ts +1 -0
- package/dist/modules/instance-ai/repositories/index.js +3 -1
- package/dist/modules/instance-ai/repositories/index.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-checkpoint.repository.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-mcp-registry-connection.repository.d.ts +5 -0
- package/dist/modules/instance-ai/repositories/instance-ai-mcp-registry-connection.repository.js +26 -0
- package/dist/modules/instance-ai/repositories/instance-ai-mcp-registry-connection.repository.js.map +1 -0
- package/dist/modules/instance-ai/sandbox-provider.d.ts +4 -0
- package/dist/modules/instance-ai/sandbox-provider.js +19 -0
- package/dist/modules/instance-ai/sandbox-provider.js.map +1 -0
- package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js.map +1 -1
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.d.ts +4 -1
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +103 -12
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
- package/dist/modules/instance-ai/trace-replay-state.d.ts +2 -0
- package/dist/modules/instance-ai/trace-replay-state.js +56 -6
- package/dist/modules/instance-ai/trace-replay-state.js.map +1 -1
- package/dist/modules/instance-ai/workflow-verification-obligation-service.d.ts +20 -0
- package/dist/modules/instance-ai/workflow-verification-obligation-service.js +59 -0
- package/dist/modules/instance-ai/workflow-verification-obligation-service.js.map +1 -0
- package/dist/modules/instance-ai/workflow-verification-task-projector.d.ts +21 -0
- package/dist/modules/instance-ai/workflow-verification-task-projector.js +323 -0
- package/dist/modules/instance-ai/workflow-verification-task-projector.js.map +1 -0
- package/dist/modules/mcp/database/entities/oauth-authorization-code.entity.d.ts +1 -0
- package/dist/modules/mcp/database/entities/oauth-authorization-code.entity.js +4 -0
- package/dist/modules/mcp/database/entities/oauth-authorization-code.entity.js.map +1 -1
- package/dist/modules/mcp/mcp-oauth-authorization-code.service.d.ts +3 -1
- package/dist/modules/mcp/mcp-oauth-authorization-code.service.js +35 -5
- package/dist/modules/mcp/mcp-oauth-authorization-code.service.js.map +1 -1
- package/dist/modules/mcp/mcp-oauth-consent.service.js +1 -1
- package/dist/modules/mcp/mcp-oauth-consent.service.js.map +1 -1
- package/dist/modules/mcp/mcp-oauth-service.d.ts +4 -2
- package/dist/modules/mcp/mcp-oauth-service.js +60 -9
- package/dist/modules/mcp/mcp-oauth-service.js.map +1 -1
- package/dist/modules/mcp/mcp-oauth-token.service.d.ts +8 -6
- package/dist/modules/mcp/mcp-oauth-token.service.js +53 -16
- package/dist/modules/mcp/mcp-oauth-token.service.js.map +1 -1
- package/dist/modules/mcp/mcp-server-middleware.service.js +2 -1
- package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
- package/dist/modules/mcp/mcp.constants.d.ts +1 -0
- package/dist/modules/mcp/mcp.constants.js +2 -1
- package/dist/modules/mcp/mcp.constants.js.map +1 -1
- package/dist/modules/mcp/mcp.controller.js +1 -1
- package/dist/modules/mcp/mcp.controller.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +7 -4
- package/dist/modules/mcp/mcp.service.js +60 -9
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/mcp.types.d.ts +5 -4
- package/dist/modules/mcp/mcp.utils.d.ts +2 -4
- package/dist/modules/mcp/mcp.utils.js.map +1 -1
- package/dist/modules/mcp/oauth-session.service.d.ts +1 -0
- package/dist/modules/mcp/oauth-session.service.js.map +1 -1
- package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +7 -7
- package/dist/modules/mcp/tools/get-execution.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/get-execution.tool.js +3 -3
- package/dist/modules/mcp/tools/get-execution.tool.js.map +1 -1
- package/dist/modules/mcp/tools/schemas.d.ts +28 -28
- package/dist/modules/mcp/tools/search-projects.tool.d.ts +2 -1
- package/dist/modules/mcp/tools/search-projects.tool.js +16 -7
- package/dist/modules/mcp/tools/search-projects.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/constants.d.ts +1 -1
- package/dist/modules/mcp/tools/workflow-builder/constants.js +2 -2
- package/dist/modules/mcp/tools/workflow-builder/constants.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +1 -0
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +9 -2
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.d.ts +27 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js +123 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.d.ts +2 -2
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +1 -1
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/skills-used.d.ts +1 -0
- package/dist/modules/mcp/tools/workflow-builder/skills-used.js +26 -0
- package/dist/modules/mcp/tools/workflow-builder/skills-used.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +20 -19
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +9 -2
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/validate-node.tool.d.ts +2 -2
- package/dist/modules/mcp/tools/workflow-builder/workflow-operations.d.ts +19 -19
- package/dist/modules/mcp-registry/mcp-registry-node-loader.js +3 -2
- package/dist/modules/mcp-registry/mcp-registry-node-loader.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry.controller.d.ts +7 -0
- package/dist/modules/mcp-registry/mcp-registry.controller.js +54 -0
- package/dist/modules/mcp-registry/mcp-registry.controller.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-registry.module.js +1 -0
- package/dist/modules/mcp-registry/mcp-registry.module.js.map +1 -1
- package/dist/modules/mcp-registry/node-description-transform.d.ts +5 -3
- package/dist/modules/mcp-registry/node-description-transform.js +82 -24
- package/dist/modules/mcp-registry/node-description-transform.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-api.client.js +8 -4
- package/dist/modules/mcp-registry/registry/mcp-registry-api.client.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.service.d.ts +1 -0
- package/dist/modules/mcp-registry/registry/mcp-registry.service.js +7 -0
- package/dist/modules/mcp-registry/registry/mcp-registry.service.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.types.d.ts +35 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.types.js +13 -0
- package/dist/modules/mcp-registry/registry/mcp-registry.types.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mock-servers.d.ts +2 -0
- package/dist/modules/mcp-registry/registry/mock-servers.js +45 -1
- package/dist/modules/mcp-registry/registry/mock-servers.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-pipeline.d.ts +5 -3
- package/dist/modules/n8n-packages/engine/import-pipeline.js +36 -25
- package/dist/modules/n8n-packages/engine/import-pipeline.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-importer.d.ts +9 -0
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js +41 -0
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher-factory.d.ts +8 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher-factory.js +35 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher-factory.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.d.ts +18 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.js +34 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode-factory.d.ts +7 -0
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode-factory.js +35 -0
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode-factory.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +7 -0
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +17 -0
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-resolution-error.d.ts +3 -0
- package/dist/modules/n8n-packages/entities/credential/credential-resolution-error.js +14 -0
- package/dist/modules/n8n-packages/entities/credential/credential-resolution-error.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +30 -0
- package/dist/modules/n8n-packages/entities/credential/credential.types.js +12 -0
- package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.d.ts +13 -0
- package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js +47 -0
- package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-fail.handler.d.ts +9 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-fail.handler.js +41 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-fail.handler.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-handler.d.ts +10 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-handler.js +20 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-handler.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-new-version.handler.d.ts +11 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-new-version.handler.js +42 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-new-version.handler.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-skip.handler.d.ts +9 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-skip.handler.js +33 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy-skip.handler.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.factory.d.ts +10 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.factory.js +37 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.factory.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.types.d.ts +20 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.types.js +3 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.types.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.d.ts +7 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.js +54 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.js.map +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.d.ts +14 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +47 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -0
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +23 -1
- package/dist/modules/n8n-packages/n8n-packages.types.js +21 -0
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +41 -31
- package/dist/modules/n8n-packages/spec/manifest.schema.js.map +1 -1
- package/dist/modules/n8n-packages/spec/requirements.schema.d.ts +17 -7
- package/dist/modules/n8n-packages/spec/requirements.schema.js +17 -1
- package/dist/modules/n8n-packages/spec/requirements.schema.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.d.ts +2 -2
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.d.ts +40 -33
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +2 -1
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +1 -1
- package/dist/modules/n8n-packages/utils/import-package-upload.js +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.schemas.d.ts +18 -18
- package/dist/modules/otel/otel-lifecycle-handler.d.ts +6 -2
- package/dist/modules/otel/otel-lifecycle-handler.js +30 -17
- package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
- package/dist/modules/quick-connect/quick-connect.config.d.ts +29 -29
- package/dist/modules/quick-connect/quick-connect.module.d.ts +11 -11
- package/dist/modules/redaction/executions/execution-redaction.interfaces.d.ts +1 -1
- package/dist/modules/redaction/executions/execution-redaction.service.d.ts +1 -0
- package/dist/modules/redaction/executions/execution-redaction.service.js +25 -11
- package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js.map +1 -1
- package/dist/modules/redaction/instance-redaction-enforcement.service.d.ts +9 -7
- package/dist/modules/redaction/instance-redaction-enforcement.service.js +32 -14
- package/dist/modules/redaction/instance-redaction-enforcement.service.js.map +1 -1
- package/dist/modules/redaction/redaction-context-hook.js +14 -16
- package/dist/modules/redaction/redaction-context-hook.js.map +1 -1
- package/dist/modules/redaction/redaction-enforcement.service.d.ts +5 -5
- package/dist/modules/redaction/redaction-enforcement.service.js +13 -11
- package/dist/modules/redaction/redaction-enforcement.service.js.map +1 -1
- package/dist/modules/redaction/redaction-policy.d.ts +7 -0
- package/dist/modules/redaction/redaction-policy.js +31 -0
- package/dist/modules/redaction/redaction-policy.js.map +1 -0
- package/dist/modules/redaction/redaction.module.js +1 -0
- package/dist/modules/redaction/redaction.module.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.js +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +4 -4
- package/dist/modules/source-control.ee/source-control.service.ee.d.ts +2 -2
- package/dist/modules/sso-oidc/oidc.controller.ee.d.ts +1 -1
- package/dist/modules/sso-oidc/oidc.service.ee.d.ts +2 -1
- package/dist/modules/sso-oidc/oidc.service.ee.js +35 -18
- package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
- package/dist/modules/token-exchange/token-exchange.schemas.d.ts +12 -12
- package/dist/node-execution/ephemeral-node-executor.js +3 -0
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +20 -6
- package/dist/oauth/oauth.service.js +80 -18
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/public-api/v1/handlers/executions/executions.handler.js +4 -4
- package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +3 -0
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/users/users.service.ee.js +1 -0
- package/dist/public-api/v1/handlers/users/users.service.ee.js.map +1 -1
- package/dist/public-api/v1/handlers/workflows/workflows.service.js +2 -0
- package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +1 -1
- package/dist/public-api/v1/openapi.yml +169 -6
- package/dist/response-helper.js +16 -1
- package/dist/response-helper.js.map +1 -1
- package/dist/scaling/constants.d.ts +2 -2
- package/dist/scaling/job-processor.d.ts +3 -1
- package/dist/scaling/job-processor.js +6 -3
- package/dist/scaling/job-processor.js.map +1 -1
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +1 -0
- package/dist/scaling/pubsub/pubsub.types.d.ts +2 -1
- package/dist/scaling/scaling.service.d.ts +3 -1
- package/dist/scaling/scaling.service.js +5 -2
- package/dist/scaling/scaling.service.js.map +1 -1
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.d.ts +4 -3
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.js +6 -4
- package/dist/security-audit/risk-reporters/credentials-risk-reporter.js.map +1 -1
- package/dist/services/ai-workflow-builder.service.d.ts +1 -2
- package/dist/services/ai-workflow-builder.service.js +2 -3
- package/dist/services/ai-workflow-builder.service.js.map +1 -1
- package/dist/services/dynamic-node-parameters.service.js +3 -5
- package/dist/services/dynamic-node-parameters.service.js.map +1 -1
- package/dist/services/frontend.service.js +2 -0
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/project.service.ee.d.ts +1 -0
- package/dist/services/project.service.ee.js +34 -2
- package/dist/services/project.service.ee.js.map +1 -1
- package/dist/services/public-api-key.service.d.ts +25 -7
- package/dist/services/public-api-key.service.js +93 -14
- package/dist/services/public-api-key.service.js.map +1 -1
- package/dist/services/role.service.d.ts +3 -3
- package/dist/task-runners/errors/task-cancelled.error.d.ts +4 -0
- package/dist/task-runners/errors/task-cancelled.error.js +11 -0
- package/dist/task-runners/errors/task-cancelled.error.js.map +1 -0
- package/dist/task-runners/task-managers/task-requester.js +2 -1
- package/dist/task-runners/task-managers/task-requester.js.map +1 -1
- package/dist/telemetry/index.js +2 -2
- package/dist/tool-generation/hitl-tools.js +1 -1
- package/dist/tool-generation/hitl-tools.js.map +1 -1
- package/dist/utils/auth-fetch.d.ts +6 -0
- package/dist/utils/auth-fetch.js +33 -0
- package/dist/utils/auth-fetch.js.map +1 -0
- package/dist/wait-tracker.d.ts +6 -1
- package/dist/wait-tracker.js +43 -18
- package/dist/wait-tracker.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.d.ts +3 -3
- package/dist/webhooks/waiting-webhooks.js +5 -5
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-helpers.js +1 -19
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook-server.d.ts +1 -0
- package/dist/webhooks/webhook-server.js +39 -0
- package/dist/webhooks/webhook-server.js.map +1 -1
- package/dist/workflow-execute-additional-data.d.ts +3 -2
- package/dist/workflow-execute-additional-data.js +42 -15
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.d.ts +2 -2
- package/dist/workflow-helpers.js +5 -3
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.d.ts +3 -1
- package/dist/workflow-runner.js +8 -2
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/utils.d.ts +2 -0
- package/dist/workflows/utils.js +6 -0
- package/dist/workflows/utils.js.map +1 -1
- package/dist/workflows/workflow-creation.service.d.ts +7 -3
- package/dist/workflows/workflow-creation.service.js +38 -14
- package/dist/workflows/workflow-creation.service.js.map +1 -1
- package/dist/workflows/workflow-finder.service.d.ts +9 -0
- package/dist/workflows/workflow-finder.service.js +60 -16
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow-publication-outbox-consumer.d.ts +31 -0
- package/dist/workflows/workflow-publication-outbox-consumer.js +209 -0
- package/dist/workflows/workflow-publication-outbox-consumer.js.map +1 -0
- package/dist/workflows/workflow-validation.service.js +1 -1
- package/dist/workflows/workflow-validation.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +5 -5
- package/dist/workflows/workflow.service.js +1 -1
- package/dist/workflows/workflow.service.js.map +1 -1
- package/dist/workflows/workflows.controller.d.ts +29 -29
- package/dist/workflows/workflows.controller.js +3 -4
- package/dist/workflows/workflows.controller.js.map +1 -1
- package/package.json +40 -40
- package/dist/controllers/redaction-enforcement-mapper.d.ts +0 -3
- package/dist/controllers/redaction-enforcement-mapper.js +0 -27
- package/dist/controllers/redaction-enforcement-mapper.js.map +0 -1
- package/dist/modules/agents/integrations/rich-interaction-tool.d.ts +0 -47
- package/dist/modules/agents/integrations/rich-interaction-tool.js +0 -109
- package/dist/modules/agents/integrations/rich-interaction-tool.js.map +0 -1
- package/dist/modules/instance-ai/eval/sub-agent-eval.service.d.ts +0 -13
- package/dist/modules/instance-ai/eval/sub-agent-eval.service.js +0 -154
- package/dist/modules/instance-ai/eval/sub-agent-eval.service.js.map +0 -1
- package/dist/modules/instance-ai/eval/sub-agent-roles.d.ts +0 -7
- package/dist/modules/instance-ai/eval/sub-agent-roles.js +0 -21
- package/dist/modules/instance-ai/eval/sub-agent-roles.js.map +0 -1
- package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.d.ts +0 -10
- package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js +0 -64
- package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js.map +0 -1
- package/dist/modules/redaction/redaction.config.d.ts +0 -3
- package/dist/modules/redaction/redaction.config.js +0 -27
- package/dist/modules/redaction/redaction.config.js.map +0 -1
- package/dist/services/ssrf/dns-resolver.d.ts +0 -13
- package/dist/services/ssrf/dns-resolver.js +0 -93
- package/dist/services/ssrf/dns-resolver.js.map +0 -1
- package/dist/services/ssrf/hostname-matcher.d.ts +0 -6
- package/dist/services/ssrf/hostname-matcher.js +0 -38
- package/dist/services/ssrf/hostname-matcher.js.map +0 -1
- package/dist/services/ssrf/in-memory-dns-cache.service.d.ts +0 -11
- package/dist/services/ssrf/in-memory-dns-cache.service.js +0 -61
- package/dist/services/ssrf/in-memory-dns-cache.service.js.map +0 -1
- package/dist/services/ssrf/ip-range-builder.d.ts +0 -10
- package/dist/services/ssrf/ip-range-builder.js +0 -52
- package/dist/services/ssrf/ip-range-builder.js.map +0 -1
- package/dist/services/ssrf/ssrf-blocked-ip.error.d.ts +0 -6
- package/dist/services/ssrf/ssrf-blocked-ip.error.js +0 -21
- package/dist/services/ssrf/ssrf-blocked-ip.error.js.map +0 -1
- package/dist/services/ssrf/ssrf-protection.service.d.ts +0 -26
- package/dist/services/ssrf/ssrf-protection.service.js +0 -159
- package/dist/services/ssrf/ssrf-protection.service.js.map +0 -1
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import type { User } from '@n8n/db';
|
|
2
|
+
export type { CredentialResolution } from './entities/credential/credential.types';
|
|
3
|
+
export type CredentialMatchingMode = 'id-only';
|
|
4
|
+
export type CredentialMissingMode = 'must-preexist';
|
|
5
|
+
export declare const WorkflowConflictPolicy: {
|
|
6
|
+
readonly NewVersion: "new-version";
|
|
7
|
+
readonly Fail: "fail";
|
|
8
|
+
readonly Skip: "skip";
|
|
9
|
+
};
|
|
10
|
+
export type WorkflowConflictPolicy = (typeof WorkflowConflictPolicy)[keyof typeof WorkflowConflictPolicy];
|
|
2
11
|
export interface ExportWorkflowsRequest {
|
|
3
12
|
user: User;
|
|
4
13
|
workflowIds: string[];
|
|
@@ -8,15 +17,27 @@ export interface ImportPackageRequest {
|
|
|
8
17
|
projectId?: string;
|
|
9
18
|
folderId?: string;
|
|
10
19
|
packageBuffer: Buffer;
|
|
20
|
+
credentialMatchingMode: CredentialMatchingMode;
|
|
21
|
+
credentialMissingMode: CredentialMissingMode;
|
|
22
|
+
workflowConflictPolicy: WorkflowConflictPolicy;
|
|
11
23
|
}
|
|
12
24
|
export interface ImportedWorkflowSummary {
|
|
13
|
-
|
|
25
|
+
sourceWorkflowId: string;
|
|
14
26
|
localId: string;
|
|
15
27
|
name: string;
|
|
16
28
|
projectId: string;
|
|
17
29
|
parentFolderId: string | null;
|
|
18
30
|
activeVersionId: string | null;
|
|
31
|
+
status: 'created' | 'updated' | 'skipped';
|
|
19
32
|
}
|
|
33
|
+
export type ImportBindingMap = Map<string, string>;
|
|
34
|
+
export interface PackageImportBindings {
|
|
35
|
+
workflows: ImportBindingMap;
|
|
36
|
+
credentials: ImportBindingMap;
|
|
37
|
+
}
|
|
38
|
+
export declare function createBindings(seed?: Partial<PackageImportBindings>): PackageImportBindings;
|
|
39
|
+
export type SerializedBindings = Record<keyof PackageImportBindings, Record<string, string>>;
|
|
40
|
+
export declare function serializeBindings(bindings: PackageImportBindings): SerializedBindings;
|
|
20
41
|
export interface ImportResult {
|
|
21
42
|
package: {
|
|
22
43
|
sourceN8nVersion: string;
|
|
@@ -24,4 +45,5 @@ export interface ImportResult {
|
|
|
24
45
|
exportedAt: string;
|
|
25
46
|
};
|
|
26
47
|
workflows: ImportedWorkflowSummary[];
|
|
48
|
+
bindings: SerializedBindings;
|
|
27
49
|
}
|
|
@@ -1,3 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WorkflowConflictPolicy = void 0;
|
|
4
|
+
exports.createBindings = createBindings;
|
|
5
|
+
exports.serializeBindings = serializeBindings;
|
|
6
|
+
exports.WorkflowConflictPolicy = {
|
|
7
|
+
NewVersion: 'new-version',
|
|
8
|
+
Fail: 'fail',
|
|
9
|
+
Skip: 'skip',
|
|
10
|
+
};
|
|
11
|
+
function createBindings(seed = {}) {
|
|
12
|
+
return {
|
|
13
|
+
workflows: new Map(),
|
|
14
|
+
credentials: new Map(),
|
|
15
|
+
...seed,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function serializeBindings(bindings) {
|
|
19
|
+
return {
|
|
20
|
+
workflows: Object.fromEntries(bindings.workflows),
|
|
21
|
+
credentials: Object.fromEntries(bindings.credentials),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
3
24
|
//# sourceMappingURL=n8n-packages.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"n8n-packages.types.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.types.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"n8n-packages.types.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.types.ts"],"names":[],"mappings":";;;AA0DA,wCAMC;AAMD,8CAKC;AAnEY,QAAA,sBAAsB,GAAG;IAErC,UAAU,EAAE,aAAa;IAEzB,IAAI,EAAE,MAAM;IAEZ,IAAI,EAAE,MAAM;CACH,CAAC;AA2CX,SAAgB,cAAc,CAAC,OAAuC,EAAE;IACvE,OAAO;QACN,SAAS,EAAE,IAAI,GAAG,EAAE;QACpB,WAAW,EAAE,IAAI,GAAG,EAAE;QACtB,GAAG,IAAI;KACP,CAAC;AACH,CAAC;AAMD,SAAgB,iBAAiB,CAAC,QAA+B;IAChE,OAAO;QACN,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,SAAS,CAAC;QACjD,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,WAAW,CAAC;KACrD,CAAC;AACH,CAAC"}
|
|
@@ -4,12 +4,12 @@ export declare const manifestEntrySchema: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
target: z.ZodString;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
name: string;
|
|
8
7
|
id: string;
|
|
8
|
+
name: string;
|
|
9
9
|
target: string;
|
|
10
10
|
}, {
|
|
11
|
-
name: string;
|
|
12
11
|
id: string;
|
|
12
|
+
name: string;
|
|
13
13
|
target: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -22,12 +22,12 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
target: z.ZodString;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
name: string;
|
|
26
25
|
id: string;
|
|
26
|
+
name: string;
|
|
27
27
|
target: string;
|
|
28
28
|
}, {
|
|
29
|
-
name: string;
|
|
30
29
|
id: string;
|
|
30
|
+
name: string;
|
|
31
31
|
target: string;
|
|
32
32
|
}>, "many">>;
|
|
33
33
|
credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -35,42 +35,52 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
35
35
|
name: z.ZodString;
|
|
36
36
|
target: z.ZodString;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
name: string;
|
|
39
38
|
id: string;
|
|
39
|
+
name: string;
|
|
40
40
|
target: string;
|
|
41
41
|
}, {
|
|
42
|
-
name: string;
|
|
43
42
|
id: string;
|
|
43
|
+
name: string;
|
|
44
44
|
target: string;
|
|
45
45
|
}>, "many">>;
|
|
46
46
|
requirements: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
credentials: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
48
|
id: z.ZodString;
|
|
49
49
|
name: z.ZodString;
|
|
50
50
|
type: z.ZodString;
|
|
51
51
|
usedByWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
name: string;
|
|
54
53
|
id: string;
|
|
54
|
+
name: string;
|
|
55
55
|
type: string;
|
|
56
56
|
usedByWorkflows: string[];
|
|
57
57
|
}, {
|
|
58
|
+
id: string;
|
|
58
59
|
name: string;
|
|
60
|
+
type: string;
|
|
61
|
+
usedByWorkflows: string[];
|
|
62
|
+
}>, "many">>, {
|
|
59
63
|
id: string;
|
|
64
|
+
name: string;
|
|
65
|
+
type: string;
|
|
66
|
+
usedByWorkflows: string[];
|
|
67
|
+
}[] | undefined, {
|
|
68
|
+
id: string;
|
|
69
|
+
name: string;
|
|
60
70
|
type: string;
|
|
61
71
|
usedByWorkflows: string[];
|
|
62
|
-
}
|
|
72
|
+
}[] | undefined>;
|
|
63
73
|
}, "strip", z.ZodTypeAny, {
|
|
64
74
|
credentials?: {
|
|
65
|
-
name: string;
|
|
66
75
|
id: string;
|
|
76
|
+
name: string;
|
|
67
77
|
type: string;
|
|
68
78
|
usedByWorkflows: string[];
|
|
69
79
|
}[] | undefined;
|
|
70
80
|
}, {
|
|
71
81
|
credentials?: {
|
|
72
|
-
name: string;
|
|
73
82
|
id: string;
|
|
83
|
+
name: string;
|
|
74
84
|
type: string;
|
|
75
85
|
usedByWorkflows: string[];
|
|
76
86
|
}[] | undefined;
|
|
@@ -80,20 +90,20 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
80
90
|
packageFormatVersion: "1";
|
|
81
91
|
exportedAt: string;
|
|
82
92
|
sourceN8nVersion: string;
|
|
83
|
-
|
|
84
|
-
name: string;
|
|
93
|
+
credentials?: {
|
|
85
94
|
id: string;
|
|
95
|
+
name: string;
|
|
86
96
|
target: string;
|
|
87
97
|
}[] | undefined;
|
|
88
|
-
|
|
89
|
-
name: string;
|
|
98
|
+
workflows?: {
|
|
90
99
|
id: string;
|
|
100
|
+
name: string;
|
|
91
101
|
target: string;
|
|
92
102
|
}[] | undefined;
|
|
93
103
|
requirements?: {
|
|
94
104
|
credentials?: {
|
|
95
|
-
name: string;
|
|
96
105
|
id: string;
|
|
106
|
+
name: string;
|
|
97
107
|
type: string;
|
|
98
108
|
usedByWorkflows: string[];
|
|
99
109
|
}[] | undefined;
|
|
@@ -103,20 +113,20 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
103
113
|
packageFormatVersion: "1";
|
|
104
114
|
exportedAt: string;
|
|
105
115
|
sourceN8nVersion: string;
|
|
106
|
-
|
|
107
|
-
name: string;
|
|
116
|
+
credentials?: {
|
|
108
117
|
id: string;
|
|
118
|
+
name: string;
|
|
109
119
|
target: string;
|
|
110
120
|
}[] | undefined;
|
|
111
|
-
|
|
112
|
-
name: string;
|
|
121
|
+
workflows?: {
|
|
113
122
|
id: string;
|
|
123
|
+
name: string;
|
|
114
124
|
target: string;
|
|
115
125
|
}[] | undefined;
|
|
116
126
|
requirements?: {
|
|
117
127
|
credentials?: {
|
|
118
|
-
name: string;
|
|
119
128
|
id: string;
|
|
129
|
+
name: string;
|
|
120
130
|
type: string;
|
|
121
131
|
usedByWorkflows: string[];
|
|
122
132
|
}[] | undefined;
|
|
@@ -126,20 +136,20 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
126
136
|
packageFormatVersion: "1";
|
|
127
137
|
exportedAt: string;
|
|
128
138
|
sourceN8nVersion: string;
|
|
129
|
-
|
|
130
|
-
name: string;
|
|
139
|
+
credentials?: {
|
|
131
140
|
id: string;
|
|
141
|
+
name: string;
|
|
132
142
|
target: string;
|
|
133
143
|
}[] | undefined;
|
|
134
|
-
|
|
135
|
-
name: string;
|
|
144
|
+
workflows?: {
|
|
136
145
|
id: string;
|
|
146
|
+
name: string;
|
|
137
147
|
target: string;
|
|
138
148
|
}[] | undefined;
|
|
139
149
|
requirements?: {
|
|
140
150
|
credentials?: {
|
|
141
|
-
name: string;
|
|
142
151
|
id: string;
|
|
152
|
+
name: string;
|
|
143
153
|
type: string;
|
|
144
154
|
usedByWorkflows: string[];
|
|
145
155
|
}[] | undefined;
|
|
@@ -149,20 +159,20 @@ export declare const packageManifestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
149
159
|
packageFormatVersion: "1";
|
|
150
160
|
exportedAt: string;
|
|
151
161
|
sourceN8nVersion: string;
|
|
152
|
-
|
|
153
|
-
name: string;
|
|
162
|
+
credentials?: {
|
|
154
163
|
id: string;
|
|
164
|
+
name: string;
|
|
155
165
|
target: string;
|
|
156
166
|
}[] | undefined;
|
|
157
|
-
|
|
158
|
-
name: string;
|
|
167
|
+
workflows?: {
|
|
159
168
|
id: string;
|
|
169
|
+
name: string;
|
|
160
170
|
target: string;
|
|
161
171
|
}[] | undefined;
|
|
162
172
|
requirements?: {
|
|
163
173
|
credentials?: {
|
|
164
|
-
name: string;
|
|
165
174
|
id: string;
|
|
175
|
+
name: string;
|
|
166
176
|
type: string;
|
|
167
177
|
usedByWorkflows: string[];
|
|
168
178
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.schema.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/spec/manifest.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,2CAA6C;
|
|
1
|
+
{"version":3,"file":"manifest.schema.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/spec/manifest.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,2CAA6C;AAC7C,+DAAkE;AAErD,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,G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<z.ZodString, "many">;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
name: string;
|
|
9
8
|
id: string;
|
|
9
|
+
name: string;
|
|
10
10
|
type: string;
|
|
11
11
|
usedByWorkflows: string[];
|
|
12
12
|
}, {
|
|
13
|
-
name: string;
|
|
14
13
|
id: string;
|
|
14
|
+
name: string;
|
|
15
15
|
type: string;
|
|
16
16
|
usedByWorkflows: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare const packageRequirementsSchema: z.ZodObject<{
|
|
19
|
-
credentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
|
+
credentials: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
20
20
|
id: z.ZodString;
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
type: z.ZodString;
|
|
23
23
|
usedByWorkflows: z.ZodArray<z.ZodString, "many">;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
name: string;
|
|
26
25
|
id: string;
|
|
26
|
+
name: string;
|
|
27
27
|
type: string;
|
|
28
28
|
usedByWorkflows: string[];
|
|
29
29
|
}, {
|
|
30
|
+
id: string;
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
usedByWorkflows: string[];
|
|
34
|
+
}>, "many">>, {
|
|
35
|
+
id: string;
|
|
30
36
|
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
usedByWorkflows: string[];
|
|
39
|
+
}[] | undefined, {
|
|
31
40
|
id: string;
|
|
41
|
+
name: string;
|
|
32
42
|
type: string;
|
|
33
43
|
usedByWorkflows: string[];
|
|
34
|
-
}
|
|
44
|
+
}[] | undefined>;
|
|
35
45
|
}, "strip", z.ZodTypeAny, {
|
|
36
46
|
credentials?: {
|
|
37
|
-
name: string;
|
|
38
47
|
id: string;
|
|
48
|
+
name: string;
|
|
39
49
|
type: string;
|
|
40
50
|
usedByWorkflows: string[];
|
|
41
51
|
}[] | undefined;
|
|
42
52
|
}, {
|
|
43
53
|
credentials?: {
|
|
44
|
-
name: string;
|
|
45
54
|
id: string;
|
|
55
|
+
name: string;
|
|
46
56
|
type: string;
|
|
47
57
|
usedByWorkflows: string[];
|
|
48
58
|
}[] | undefined;
|
|
@@ -9,6 +9,22 @@ exports.packageCredentialRequirementSchema = zod_1.z.object({
|
|
|
9
9
|
usedByWorkflows: zod_1.z.array(zod_1.z.string().min(1)).min(1),
|
|
10
10
|
});
|
|
11
11
|
exports.packageRequirementsSchema = zod_1.z.object({
|
|
12
|
-
credentials: zod_1.z
|
|
12
|
+
credentials: zod_1.z
|
|
13
|
+
.array(exports.packageCredentialRequirementSchema)
|
|
14
|
+
.optional()
|
|
15
|
+
.superRefine((credentials, ctx) => {
|
|
16
|
+
if (!credentials)
|
|
17
|
+
return;
|
|
18
|
+
const seen = new Set();
|
|
19
|
+
for (const credential of credentials) {
|
|
20
|
+
if (seen.has(credential.id)) {
|
|
21
|
+
ctx.addIssue({
|
|
22
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
23
|
+
message: `Duplicate credential id: ${credential.id}`,
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
seen.add(credential.id);
|
|
27
|
+
}
|
|
28
|
+
}),
|
|
13
29
|
});
|
|
14
30
|
//# sourceMappingURL=requirements.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirements.schema.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/spec/requirements.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1D,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,eAAe,EAAE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BAC3B,OAAO,EAAE,4BAA4B,UAAU,CAAC,EAAE,EAAE;iBACpD,CAAC,CAAC;YACJ,CAAC;YACD,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;QACzB,CAAC;IACF,CAAC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -4,12 +4,12 @@ export declare const serializedCredentialSchema: z.ZodObject<{
|
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
type: z.ZodString;
|
|
6
6
|
}, "strict", z.ZodTypeAny, {
|
|
7
|
-
name: string;
|
|
8
7
|
id: string;
|
|
8
|
+
name: string;
|
|
9
9
|
type: string;
|
|
10
10
|
}, {
|
|
11
|
-
name: string;
|
|
12
11
|
id: string;
|
|
12
|
+
name: string;
|
|
13
13
|
type: string;
|
|
14
14
|
}>;
|
|
15
15
|
export type SerializedCredential = z.infer<typeof serializedCredentialSchema>;
|
|
@@ -10,14 +10,17 @@ export declare const serializedWorkflowSchema: z.ZodObject<{
|
|
|
10
10
|
position: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
11
11
|
parameters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
12
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13
|
-
id: z.ZodString
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
14
|
name: z.ZodString;
|
|
15
|
+
__aiGatewayManaged: z.ZodOptional<z.ZodBoolean>;
|
|
15
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
id: string | null;
|
|
16
18
|
name: string;
|
|
17
|
-
|
|
19
|
+
__aiGatewayManaged?: boolean | undefined;
|
|
18
20
|
}, {
|
|
21
|
+
id: string | null;
|
|
19
22
|
name: string;
|
|
20
|
-
|
|
23
|
+
__aiGatewayManaged?: boolean | undefined;
|
|
21
24
|
}>>>;
|
|
22
25
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
23
26
|
notes: z.ZodOptional<z.ZodString>;
|
|
@@ -31,49 +34,51 @@ export declare const serializedWorkflowSchema: z.ZodObject<{
|
|
|
31
34
|
onError: z.ZodOptional<z.ZodString>;
|
|
32
35
|
webhookId: z.ZodOptional<z.ZodString>;
|
|
33
36
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
name: string;
|
|
35
37
|
id: string;
|
|
38
|
+
name: string;
|
|
36
39
|
type: string;
|
|
40
|
+
parameters: Record<string, unknown>;
|
|
37
41
|
typeVersion: number;
|
|
38
42
|
position: [number, number];
|
|
39
|
-
parameters: Record<string, unknown>;
|
|
40
43
|
credentials?: Record<string, {
|
|
44
|
+
id: string | null;
|
|
41
45
|
name: string;
|
|
42
|
-
|
|
46
|
+
__aiGatewayManaged?: boolean | undefined;
|
|
43
47
|
}> | undefined;
|
|
44
48
|
disabled?: boolean | undefined;
|
|
45
49
|
notes?: string | undefined;
|
|
46
|
-
|
|
50
|
+
onError?: string | undefined;
|
|
47
51
|
retryOnFail?: boolean | undefined;
|
|
48
52
|
maxTries?: number | undefined;
|
|
49
53
|
waitBetweenTries?: number | undefined;
|
|
50
54
|
alwaysOutputData?: boolean | undefined;
|
|
51
55
|
executeOnce?: boolean | undefined;
|
|
52
|
-
onError?: string | undefined;
|
|
53
|
-
continueOnFail?: boolean | undefined;
|
|
54
56
|
webhookId?: string | undefined;
|
|
57
|
+
notesInFlow?: boolean | undefined;
|
|
58
|
+
continueOnFail?: boolean | undefined;
|
|
55
59
|
}, {
|
|
56
|
-
name: string;
|
|
57
60
|
id: string;
|
|
61
|
+
name: string;
|
|
58
62
|
type: string;
|
|
63
|
+
parameters: Record<string, unknown>;
|
|
59
64
|
typeVersion: number;
|
|
60
65
|
position: [number, number];
|
|
61
|
-
parameters: Record<string, unknown>;
|
|
62
66
|
credentials?: Record<string, {
|
|
67
|
+
id: string | null;
|
|
63
68
|
name: string;
|
|
64
|
-
|
|
69
|
+
__aiGatewayManaged?: boolean | undefined;
|
|
65
70
|
}> | undefined;
|
|
66
71
|
disabled?: boolean | undefined;
|
|
67
72
|
notes?: string | undefined;
|
|
68
|
-
|
|
73
|
+
onError?: string | undefined;
|
|
69
74
|
retryOnFail?: boolean | undefined;
|
|
70
75
|
maxTries?: number | undefined;
|
|
71
76
|
waitBetweenTries?: number | undefined;
|
|
72
77
|
alwaysOutputData?: boolean | undefined;
|
|
73
78
|
executeOnce?: boolean | undefined;
|
|
74
|
-
onError?: string | undefined;
|
|
75
|
-
continueOnFail?: boolean | undefined;
|
|
76
79
|
webhookId?: string | undefined;
|
|
80
|
+
notesInFlow?: boolean | undefined;
|
|
81
|
+
continueOnFail?: boolean | undefined;
|
|
77
82
|
}>, "many">;
|
|
78
83
|
connections: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
79
84
|
node: z.ZodString;
|
|
@@ -94,75 +99,77 @@ export declare const serializedWorkflowSchema: z.ZodObject<{
|
|
|
94
99
|
active: z.ZodBoolean;
|
|
95
100
|
isArchived: z.ZodBoolean;
|
|
96
101
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
name: string;
|
|
98
102
|
id: string;
|
|
103
|
+
name: string;
|
|
99
104
|
active: boolean;
|
|
100
|
-
|
|
105
|
+
versionId: string;
|
|
101
106
|
nodes: {
|
|
102
|
-
name: string;
|
|
103
107
|
id: string;
|
|
108
|
+
name: string;
|
|
104
109
|
type: string;
|
|
110
|
+
parameters: Record<string, unknown>;
|
|
105
111
|
typeVersion: number;
|
|
106
112
|
position: [number, number];
|
|
107
|
-
parameters: Record<string, unknown>;
|
|
108
113
|
credentials?: Record<string, {
|
|
114
|
+
id: string | null;
|
|
109
115
|
name: string;
|
|
110
|
-
|
|
116
|
+
__aiGatewayManaged?: boolean | undefined;
|
|
111
117
|
}> | undefined;
|
|
112
118
|
disabled?: boolean | undefined;
|
|
113
119
|
notes?: string | undefined;
|
|
114
|
-
|
|
120
|
+
onError?: string | undefined;
|
|
115
121
|
retryOnFail?: boolean | undefined;
|
|
116
122
|
maxTries?: number | undefined;
|
|
117
123
|
waitBetweenTries?: number | undefined;
|
|
118
124
|
alwaysOutputData?: boolean | undefined;
|
|
119
125
|
executeOnce?: boolean | undefined;
|
|
120
|
-
onError?: string | undefined;
|
|
121
|
-
continueOnFail?: boolean | undefined;
|
|
122
126
|
webhookId?: string | undefined;
|
|
127
|
+
notesInFlow?: boolean | undefined;
|
|
128
|
+
continueOnFail?: boolean | undefined;
|
|
123
129
|
}[];
|
|
130
|
+
isArchived: boolean;
|
|
124
131
|
connections: Record<string, Record<string, ({
|
|
125
132
|
type: string;
|
|
126
133
|
node: string;
|
|
127
134
|
index: number;
|
|
128
135
|
}[] | null)[]>>;
|
|
129
|
-
versionId: string;
|
|
130
136
|
parentFolderId: string | null;
|
|
131
137
|
settings?: Record<string, unknown> | undefined;
|
|
132
138
|
}, {
|
|
133
|
-
name: string;
|
|
134
139
|
id: string;
|
|
140
|
+
name: string;
|
|
135
141
|
active: boolean;
|
|
136
|
-
|
|
142
|
+
versionId: string;
|
|
137
143
|
nodes: {
|
|
138
|
-
name: string;
|
|
139
144
|
id: string;
|
|
145
|
+
name: string;
|
|
140
146
|
type: string;
|
|
147
|
+
parameters: Record<string, unknown>;
|
|
141
148
|
typeVersion: number;
|
|
142
149
|
position: [number, number];
|
|
143
|
-
parameters: Record<string, unknown>;
|
|
144
150
|
credentials?: Record<string, {
|
|
151
|
+
id: string | null;
|
|
145
152
|
name: string;
|
|
146
|
-
|
|
153
|
+
__aiGatewayManaged?: boolean | undefined;
|
|
147
154
|
}> | undefined;
|
|
148
155
|
disabled?: boolean | undefined;
|
|
149
156
|
notes?: string | undefined;
|
|
150
|
-
|
|
157
|
+
onError?: string | undefined;
|
|
151
158
|
retryOnFail?: boolean | undefined;
|
|
152
159
|
maxTries?: number | undefined;
|
|
153
160
|
waitBetweenTries?: number | undefined;
|
|
154
161
|
alwaysOutputData?: boolean | undefined;
|
|
155
162
|
executeOnce?: boolean | undefined;
|
|
156
|
-
onError?: string | undefined;
|
|
157
|
-
continueOnFail?: boolean | undefined;
|
|
158
163
|
webhookId?: string | undefined;
|
|
164
|
+
notesInFlow?: boolean | undefined;
|
|
165
|
+
continueOnFail?: boolean | undefined;
|
|
159
166
|
}[];
|
|
167
|
+
isArchived: boolean;
|
|
160
168
|
connections: Record<string, Record<string, ({
|
|
161
169
|
type: string;
|
|
162
170
|
node: string;
|
|
163
171
|
index: number;
|
|
164
172
|
}[] | null)[]>>;
|
|
165
|
-
versionId: string;
|
|
166
173
|
parentFolderId: string | null;
|
|
167
174
|
settings?: Record<string, unknown> | undefined;
|
|
168
175
|
}>;
|
|
@@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.serializedWorkflowSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const credentialReferenceSchema = zod_1.z.object({
|
|
6
|
-
id: zod_1.z.string(),
|
|
6
|
+
id: zod_1.z.string().nullable(),
|
|
7
7
|
name: zod_1.z.string(),
|
|
8
|
+
__aiGatewayManaged: zod_1.z.boolean().optional(),
|
|
8
9
|
});
|
|
9
10
|
const nodeSchema = zod_1.z.object({
|
|
10
11
|
id: zod_1.z.string().min(1),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.schema.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/spec/serialized/workflow.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,MAAM,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"workflow.schema.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/spec/serialized/workflow.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,MAAM,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,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
]);
|
|
17
17
|
const IMPORT_PACKAGE_FIELD_SIZE_BYTES = 128;
|
|
18
|
-
const IMPORT_PACKAGE_MAX_PARTS =
|
|
18
|
+
const IMPORT_PACKAGE_MAX_PARTS = 7;
|
|
19
19
|
function createN8nPackageMulterOptions(globalConfig) {
|
|
20
20
|
const maxFileSizeBytes = globalConfig.endpoints.payloadSizeMax * 1024 * 1024;
|
|
21
21
|
return {
|