n8n 2.11.2 → 2.12.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/build.tsbuildinfo +1 -1
- package/dist/chat/chat-service.js +1 -1
- package/dist/chat/chat-service.js.map +1 -1
- package/dist/chat/utils.d.ts +1 -0
- package/dist/chat/utils.js +7 -0
- package/dist/chat/utils.js.map +1 -1
- package/dist/commands/base-command.js +1 -1
- package/dist/commands/base-command.js.map +1 -1
- package/dist/controllers/project.controller.js +0 -2
- package/dist/controllers/project.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +1 -3
- package/dist/controllers/users.controller.js +1 -7
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/credentials/credential-resolution-provider.interface.d.ts +1 -2
- package/dist/credentials/credentials.service.d.ts +1 -1
- package/dist/credentials/credentials.service.js +9 -4
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials/dynamic-credentials-proxy.d.ts +1 -1
- package/dist/credentials/dynamic-credentials-proxy.js +2 -2
- package/dist/credentials/dynamic-credentials-proxy.js.map +1 -1
- package/dist/credentials/validation.d.ts +6 -1
- package/dist/credentials/validation.js +4 -3
- package/dist/credentials/validation.js.map +1 -1
- package/dist/credentials-helper.d.ts +8 -7
- package/dist/credentials-helper.js +22 -46
- package/dist/credentials-helper.js.map +1 -1
- package/dist/eventbus/event-message-classes/event-message-audit.d.ts +5 -1
- package/dist/eventbus/event-message-classes/event-message-audit.js.map +1 -1
- package/dist/eventbus/event-message-classes/index.d.ts +2 -2
- package/dist/eventbus/event-message-classes/index.js +1 -0
- package/dist/eventbus/event-message-classes/index.js.map +1 -1
- package/dist/events/maps/relay.event-map.d.ts +9 -1
- package/dist/events/relays/log-streaming.event-relay.d.ts +1 -0
- package/dist/events/relays/log-streaming.event-relay.js +13 -0
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.d.ts +11 -3
- package/dist/events/relays/telemetry.event-relay.js +125 -4
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/executions/execution-redaction-proxy.service.d.ts +3 -3
- package/dist/executions/execution-redaction-proxy.service.js +5 -0
- package/dist/executions/execution-redaction-proxy.service.js.map +1 -1
- package/dist/executions/execution-redaction.d.ts +13 -2
- package/dist/executions/execution.service.d.ts +1 -1
- package/dist/executions/execution.service.js +21 -3
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/license.d.ts +4 -0
- package/dist/license.js +40 -0
- package/dist/license.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.controller.js +1 -1
- package/dist/modules/breaking-changes/breaking-changes.controller.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.module.js +5 -1
- package/dist/modules/breaking-changes/breaking-changes.module.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.service.js +6 -4
- package/dist/modules/breaking-changes/breaking-changes.service.js.map +1 -1
- package/dist/modules/breaking-changes/rules/index.d.ts +16 -4
- package/dist/modules/breaking-changes/rules/index.js +16 -4
- package/dist/modules/breaking-changes/rules/index.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/binary-data-storage.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/binary-data-storage.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/cli-replace-update-workflow-command.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/cli-replace-update-workflow-command.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/disabled-nodes.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/disabled-nodes.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/dotenv-upgrade.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/dotenv-upgrade.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/file-access.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/file-access.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/oauth-callback-auth.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/oauth-callback-auth.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/process-env-access.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/process-env-access.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/pyodide-removed.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/pyodide-removed.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/queue-worker-max-stalled-count.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/queue-worker-max-stalled-count.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/removed-nodes.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/removed-nodes.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/settings-file-permissions.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/settings-file-permissions.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/start-node-removed.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/start-node-removed.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/task-runner-docker-image.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/task-runner-docker-image.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/tunnel-option.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/tunnel-option.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/wait-node-subworkflow.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/wait-node-subworkflow.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v2/workflow-hooks-deprecated.rule.js +2 -2
- package/dist/modules/breaking-changes/rules/v2/workflow-hooks-deprecated.rule.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-agent.entity.d.ts +11 -1
- package/dist/modules/chat-hub/chat-hub-agent.entity.js +8 -0
- package/dist/modules/chat-hub/chat-hub-agent.entity.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-agent.service.d.ts +22 -3
- package/dist/modules/chat-hub/chat-hub-agent.service.js +156 -6
- package/dist/modules/chat-hub/chat-hub-agent.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-event-relay.service.d.ts +10 -0
- package/dist/modules/chat-hub/chat-hub-event-relay.service.js +47 -0
- package/dist/modules/chat-hub/chat-hub-event-relay.service.js.map +1 -0
- package/dist/modules/chat-hub/chat-hub-execution-watcher.service.js +1 -1
- 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 +2 -1
- package/dist/modules/chat-hub/chat-hub-execution.service.js +25 -3
- package/dist/modules/chat-hub/chat-hub-execution.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-title.service.js +2 -1
- package/dist/modules/chat-hub/chat-hub-title.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-upload.middleware.d.ts +7 -0
- package/dist/modules/chat-hub/chat-hub-upload.middleware.js +43 -0
- package/dist/modules/chat-hub/chat-hub-upload.middleware.js.map +1 -0
- package/dist/modules/chat-hub/chat-hub-workflow.service.d.ts +20 -5
- package/dist/modules/chat-hub/chat-hub-workflow.service.js +292 -14
- package/dist/modules/chat-hub/chat-hub-workflow.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.attachment.service.d.ts +1 -0
- package/dist/modules/chat-hub/chat-hub.attachment.service.js +11 -0
- package/dist/modules/chat-hub/chat-hub.attachment.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.constants.d.ts +5 -1
- package/dist/modules/chat-hub/chat-hub.constants.js +10 -1
- package/dist/modules/chat-hub/chat-hub.constants.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.controller.d.ts +5 -1
- package/dist/modules/chat-hub/chat-hub.controller.js +44 -10
- package/dist/modules/chat-hub/chat-hub.controller.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.module.d.ts +2 -1
- package/dist/modules/chat-hub/chat-hub.module.js +13 -3
- package/dist/modules/chat-hub/chat-hub.module.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.service.js +1 -1
- package/dist/modules/chat-hub/chat-hub.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.settings.controller.d.ts +2 -1
- package/dist/modules/chat-hub/chat-hub.settings.controller.js +20 -0
- package/dist/modules/chat-hub/chat-hub.settings.controller.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.settings.service.d.ts +5 -1
- package/dist/modules/chat-hub/chat-hub.settings.service.js +34 -0
- package/dist/modules/chat-hub/chat-hub.settings.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.types.d.ts +19 -8
- package/dist/modules/chat-hub/chat-hub.types.js.map +1 -1
- package/dist/modules/community-packages/npm-utils.js +3 -3
- package/dist/modules/community-packages/npm-utils.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/identifier-interface.d.ts +3 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/identifier-interface.js +6 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/identifier-interface.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers.controller.js +2 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers.controller.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-configured.error.d.ts +4 -0
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-configured.error.js +12 -0
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-configured.error.js.map +1 -0
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.d.ts +4 -0
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.js +9 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/missing-execution-context.error.d.ts +4 -0
- package/dist/modules/dynamic-credentials.ee/errors/missing-execution-context.error.js +12 -0
- package/dist/modules/dynamic-credentials.ee/errors/missing-execution-context.error.js.map +1 -0
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.d.ts +4 -4
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js +10 -7
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver-workflow.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver.service.js +5 -8
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.d.ts +4 -3
- package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js +37 -42
- package/dist/modules/dynamic-credentials.ee/services/dynamic-credential.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/resolver-config-expression.service.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/services/resolver-config-expression.service.js +2 -4
- package/dist/modules/dynamic-credentials.ee/services/resolver-config-expression.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/workflow-status.controller.js +6 -2
- package/dist/modules/dynamic-credentials.ee/workflow-status.controller.js.map +1 -1
- package/dist/modules/external-secrets.ee/external-secrets-providers.ee.js +2 -0
- package/dist/modules/external-secrets.ee/external-secrets-providers.ee.js.map +1 -1
- package/dist/modules/external-secrets.ee/external-secrets.controller.ee.js +1 -1
- package/dist/modules/external-secrets.ee/external-secrets.controller.ee.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/one-password.d.ts +25 -0
- package/dist/modules/external-secrets.ee/providers/one-password.js +153 -0
- package/dist/modules/external-secrets.ee/providers/one-password.js.map +1 -0
- package/dist/modules/external-secrets.ee/providers/vault.js +6 -1
- package/dist/modules/external-secrets.ee/providers/vault.js.map +1 -1
- package/dist/modules/external-secrets.ee/secrets-providers-completions.controller.ee.d.ts +1 -0
- package/dist/modules/external-secrets.ee/secrets-providers-completions.controller.ee.js +15 -4
- package/dist/modules/external-secrets.ee/secrets-providers-completions.controller.ee.js.map +1 -1
- package/dist/modules/external-secrets.ee/secrets-providers-connections.controller.ee.js +1 -1
- package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.d.ts +1 -0
- package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.js +5 -0
- package/dist/modules/external-secrets.ee/secrets-providers-connections.service.ee.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +14 -4
- package/dist/modules/mcp/mcp.service.js +81 -6
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/mcp.types.d.ts +1 -1
- package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +7 -8
- package/dist/modules/mcp/tools/execute-workflow.tool.js +26 -37
- package/dist/modules/mcp/tools/execute-workflow.tool.js.map +1 -1
- package/dist/modules/mcp/tools/get-execution.tool.d.ts +17 -0
- package/dist/modules/mcp/tools/get-execution.tool.js +126 -0
- package/dist/modules/mcp/tools/get-execution.tool.js.map +1 -0
- package/dist/modules/mcp/tools/get-workflow-details.tool.js +2 -5
- package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
- package/dist/modules/mcp/tools/publish-workflow.tool.d.ts +18 -0
- package/dist/modules/mcp/tools/publish-workflow.tool.js +91 -0
- package/dist/modules/mcp/tools/publish-workflow.tool.js.map +1 -0
- package/dist/modules/mcp/tools/unpublish-workflow.tool.d.ts +15 -0
- package/dist/modules/mcp/tools/unpublish-workflow.tool.js +81 -0
- package/dist/modules/mcp/tools/unpublish-workflow.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/constants.d.ts +1 -0
- package/dist/modules/mcp/tools/workflow-builder/constants.js +13 -0
- package/dist/modules/mcp/tools/workflow-builder/constants.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +16 -0
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js +167 -0
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.d.ts +14 -0
- package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.js +65 -0
- package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/delete-workflow.tool.d.ts +10 -0
- package/dist/modules/mcp/tools/workflow-builder/delete-workflow.tool.js +75 -0
- package/dist/modules/mcp/tools/workflow-builder/delete-workflow.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.d.ts +10 -0
- package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js +100 -0
- package/dist/modules/mcp/tools/workflow-builder/get-suggested-workflow-nodes.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.d.ts +28 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js +102 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-node-types.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.d.ts +9 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js +60 -0
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-sdk-reference.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.d.ts +1 -0
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +30 -0
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.d.ts +2 -0
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js +61 -0
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.d.ts +10 -0
- package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js +97 -0
- package/dist/modules/mcp/tools/workflow-builder/search-workflow-nodes.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +17 -0
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +164 -0
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.d.ts +9 -0
- package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js +119 -0
- package/dist/modules/mcp/tools/workflow-builder/validate-workflow-code.tool.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.d.ts +17 -0
- package/dist/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.js +117 -0
- package/dist/modules/mcp/tools/workflow-builder/workflow-builder-tools.service.js.map +1 -0
- package/dist/modules/mcp/tools/workflow-validation.utils.d.ts +8 -0
- package/dist/modules/mcp/tools/workflow-validation.utils.js +20 -0
- package/dist/modules/mcp/tools/workflow-validation.utils.js.map +1 -0
- package/dist/modules/redaction/executions/execution-redaction.interfaces.d.ts +11 -0
- package/dist/modules/redaction/executions/execution-redaction.interfaces.js +3 -0
- package/dist/modules/redaction/executions/execution-redaction.interfaces.js.map +1 -0
- package/dist/modules/redaction/executions/execution-redaction.service.d.ts +11 -8
- package/dist/modules/redaction/executions/execution-redaction.service.js +61 -60
- package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.d.ts +9 -0
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js +82 -0
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js.map +1 -0
- package/dist/modules/redaction/executions/strategies/node-defined-field-redaction.strategy.d.ts +17 -0
- package/dist/modules/redaction/executions/strategies/node-defined-field-redaction.strategy.js +127 -0
- package/dist/modules/redaction/executions/strategies/node-defined-field-redaction.strategy.js.map +1 -0
- package/dist/oauth/oauth.service.d.ts +1 -0
- package/dist/oauth/oauth.service.js +81 -4
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/posthog/index.d.ts +9 -0
- package/dist/posthog/index.js +19 -0
- package/dist/posthog/index.js.map +1 -1
- package/dist/public-api/v1/handlers/credentials/credentials.service.js +14 -5
- package/dist/public-api/v1/handlers/credentials/credentials.service.js.map +1 -1
- package/dist/public-api/v1/handlers/executions/executions.handler.js +13 -0
- package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
- package/dist/response-helper.d.ts +3 -2
- package/dist/response-helper.js +14 -8
- package/dist/response-helper.js.map +1 -1
- package/dist/services/cache/cache.constants.d.ts +1 -0
- package/dist/services/cache/cache.constants.js +5 -0
- package/dist/services/cache/cache.constants.js.map +1 -0
- package/dist/services/cache/cache.service.d.ts +2 -4
- package/dist/services/cache/cache.service.js +26 -30
- package/dist/services/cache/cache.service.js.map +1 -1
- package/dist/services/credentials-tester.service.js +1 -2
- package/dist/services/credentials-tester.service.js.map +1 -1
- package/dist/services/project.service.ee.d.ts +1 -4
- package/dist/services/project.service.ee.js +1 -18
- package/dist/services/project.service.ee.js.map +1 -1
- package/dist/services/ssrf/dns-resolver.d.ts +13 -0
- package/dist/services/ssrf/dns-resolver.js +93 -0
- package/dist/services/ssrf/dns-resolver.js.map +1 -0
- package/dist/services/ssrf/hostname-matcher.d.ts +6 -0
- package/dist/services/ssrf/hostname-matcher.js +38 -0
- package/dist/services/ssrf/hostname-matcher.js.map +1 -0
- package/dist/services/ssrf/in-memory-dns-cache.service.d.ts +11 -0
- package/dist/services/ssrf/in-memory-dns-cache.service.js +61 -0
- package/dist/services/ssrf/in-memory-dns-cache.service.js.map +1 -0
- package/dist/services/ssrf/ip-range-builder.d.ts +10 -0
- package/dist/services/ssrf/ip-range-builder.js +52 -0
- package/dist/services/ssrf/ip-range-builder.js.map +1 -0
- package/dist/services/ssrf/ssrf-blocked-ip.error.d.ts +6 -0
- package/dist/services/ssrf/ssrf-blocked-ip.error.js +16 -0
- package/dist/services/ssrf/ssrf-blocked-ip.error.js.map +1 -0
- package/dist/services/ssrf/ssrf-protection.service.d.ts +26 -0
- package/dist/services/ssrf/ssrf-protection.service.js +159 -0
- package/dist/services/ssrf/ssrf-protection.service.js.map +1 -0
- package/dist/services/workflow-statistics.service.js +6 -8
- package/dist/services/workflow-statistics.service.js.map +1 -1
- package/dist/task-runners/task-runner-module.js +0 -1
- package/dist/task-runners/task-runner-module.js.map +1 -1
- package/dist/task-runners/task-runner-process-js.js +1 -1
- package/dist/task-runners/task-runner-process-js.js.map +1 -1
- package/dist/task-runners/task-runner-process-py.js +15 -3
- package/dist/task-runners/task-runner-process-py.js.map +1 -1
- package/dist/telemetry/index.d.ts +6 -1
- package/dist/telemetry/index.js +76 -9
- package/dist/telemetry/index.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/dist/utils.js +4 -0
- package/dist/utils.js.map +1 -1
- package/dist/workflow-execute-additional-data.js +7 -0
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +3 -0
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflows/workflow-creation.service.d.ts +38 -0
- package/dist/workflows/workflow-creation.service.js +185 -0
- package/dist/workflows/workflow-creation.service.js.map +1 -0
- package/dist/workflows/workflow-finder.service.d.ts +1 -0
- package/dist/workflows/workflow-finder.service.js +10 -0
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow-validation.service.d.ts +5 -3
- package/dist/workflows/workflow-validation.service.js +59 -2
- package/dist/workflows/workflow-validation.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +1 -0
- package/dist/workflows/workflow.service.js +11 -0
- package/dist/workflows/workflow.service.js.map +1 -1
- package/dist/workflows/workflows.controller.d.ts +5 -15
- package/dist/workflows/workflows.controller.js +16 -106
- package/dist/workflows/workflows.controller.js.map +1 -1
- package/package.json +21 -20
- package/dist/errors/cache-errors/malformed-refresh-value.error.d.ts +0 -4
- package/dist/errors/cache-errors/malformed-refresh-value.error.js +0 -11
- package/dist/errors/cache-errors/malformed-refresh-value.error.js.map +0 -1
- package/dist/modules/breaking-changes/rules/v2/index.d.ts +0 -9
- package/dist/modules/breaking-changes/rules/v2/index.js +0 -41
- package/dist/modules/breaking-changes/rules/v2/index.js.map +0 -1
- package/dist/modules/breaking-changes/rules/v2/task-runners.rule.d.ts +0 -10
- package/dist/modules/breaking-changes/rules/v2/task-runners.rule.js +0 -73
- package/dist/modules/breaking-changes/rules/v2/task-runners.rule.js.map +0 -1
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.v2Rules = void 0;
|
|
4
|
-
const binary_data_storage_rule_1 = require("./binary-data-storage.rule");
|
|
5
|
-
const cli_replace_update_workflow_command_rule_1 = require("./cli-replace-update-workflow-command.rule");
|
|
6
|
-
const disabled_nodes_rule_1 = require("./disabled-nodes.rule");
|
|
7
|
-
const dotenv_upgrade_rule_1 = require("./dotenv-upgrade.rule");
|
|
8
|
-
const file_access_rule_1 = require("./file-access.rule");
|
|
9
|
-
const oauth_callback_auth_rule_1 = require("./oauth-callback-auth.rule");
|
|
10
|
-
const process_env_access_rule_1 = require("./process-env-access.rule");
|
|
11
|
-
const pyodide_removed_rule_1 = require("./pyodide-removed.rule");
|
|
12
|
-
const queue_worker_max_stalled_count_rule_1 = require("./queue-worker-max-stalled-count.rule");
|
|
13
|
-
const removed_nodes_rule_1 = require("./removed-nodes.rule");
|
|
14
|
-
const settings_file_permissions_rule_1 = require("./settings-file-permissions.rule");
|
|
15
|
-
const task_runner_docker_image_rule_1 = require("./task-runner-docker-image.rule");
|
|
16
|
-
const task_runners_rule_1 = require("./task-runners.rule");
|
|
17
|
-
const tunnel_option_rule_1 = require("./tunnel-option.rule");
|
|
18
|
-
const start_node_removed_rule_1 = require("./start-node-removed.rule");
|
|
19
|
-
const wait_node_subworkflow_rule_1 = require("./wait-node-subworkflow.rule");
|
|
20
|
-
const workflow_hooks_deprecated_rule_1 = require("./workflow-hooks-deprecated.rule");
|
|
21
|
-
const v2Rules = [
|
|
22
|
-
removed_nodes_rule_1.RemovedNodesRule,
|
|
23
|
-
process_env_access_rule_1.ProcessEnvAccessRule,
|
|
24
|
-
pyodide_removed_rule_1.PyodideRemovedRule,
|
|
25
|
-
file_access_rule_1.FileAccessRule,
|
|
26
|
-
disabled_nodes_rule_1.DisabledNodesRule,
|
|
27
|
-
wait_node_subworkflow_rule_1.WaitNodeSubworkflowRule,
|
|
28
|
-
start_node_removed_rule_1.StartNodeRemovedRule,
|
|
29
|
-
dotenv_upgrade_rule_1.DotenvUpgradeRule,
|
|
30
|
-
oauth_callback_auth_rule_1.OAuthCallbackAuthRule,
|
|
31
|
-
cli_replace_update_workflow_command_rule_1.CliActivateAllWorkflowsRule,
|
|
32
|
-
workflow_hooks_deprecated_rule_1.WorkflowHooksDeprecatedRule,
|
|
33
|
-
queue_worker_max_stalled_count_rule_1.QueueWorkerMaxStalledCountRule,
|
|
34
|
-
tunnel_option_rule_1.TunnelOptionRule,
|
|
35
|
-
settings_file_permissions_rule_1.SettingsFilePermissionsRule,
|
|
36
|
-
task_runners_rule_1.TaskRunnersRule,
|
|
37
|
-
task_runner_docker_image_rule_1.TaskRunnerDockerImageRule,
|
|
38
|
-
binary_data_storage_rule_1.BinaryDataStorageRule,
|
|
39
|
-
];
|
|
40
|
-
exports.v2Rules = v2Rules;
|
|
41
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/rules/v2/index.ts"],"names":[],"mappings":";;;AAAA,yEAAmE;AACnE,yGAAyF;AACzF,+DAA0D;AAC1D,+DAA0D;AAC1D,yDAAoD;AACpD,yEAAmE;AACnE,uEAAiE;AACjE,iEAA4D;AAC5D,+FAAuF;AACvF,6DAAwD;AACxD,qFAA+E;AAC/E,mFAA4E;AAC5E,2DAAsD;AACtD,6DAAwD;AACxD,uEAAiE;AACjE,6EAAuE;AACvE,qFAA+E;AAE/E,MAAM,OAAO,GAAG;IAEf,qCAAgB;IAChB,8CAAoB;IACpB,yCAAkB;IAClB,iCAAc;IACd,uCAAiB;IACjB,oDAAuB;IACvB,8CAAoB;IAEpB,uCAAiB;IACjB,gDAAqB;IACrB,sEAA2B;IAC3B,4DAA2B;IAC3B,oEAA8B;IAC9B,qCAAgB;IAChB,4DAA2B;IAC3B,mCAAe;IACf,yDAAyB;IACzB,gDAAqB;CACrB,CAAC;AACO,0BAAO"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { GlobalConfig, TaskRunnersConfig } from '@n8n/config';
|
|
2
|
-
import type { BreakingChangeRuleMetadata, IBreakingChangeInstanceRule, InstanceDetectionReport } from '../../types';
|
|
3
|
-
export declare class TaskRunnersRule implements IBreakingChangeInstanceRule {
|
|
4
|
-
private readonly taskRunnersConfig;
|
|
5
|
-
private readonly globalConfig;
|
|
6
|
-
constructor(taskRunnersConfig: TaskRunnersConfig, globalConfig: GlobalConfig);
|
|
7
|
-
id: string;
|
|
8
|
-
getMetadata(): BreakingChangeRuleMetadata;
|
|
9
|
-
detect(): Promise<InstanceDetectionReport>;
|
|
10
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.TaskRunnersRule = void 0;
|
|
13
|
-
const config_1 = require("@n8n/config");
|
|
14
|
-
const di_1 = require("@n8n/di");
|
|
15
|
-
let TaskRunnersRule = class TaskRunnersRule {
|
|
16
|
-
constructor(taskRunnersConfig, globalConfig) {
|
|
17
|
-
this.taskRunnersConfig = taskRunnersConfig;
|
|
18
|
-
this.globalConfig = globalConfig;
|
|
19
|
-
this.id = 'task-runners-v2';
|
|
20
|
-
}
|
|
21
|
-
getMetadata() {
|
|
22
|
-
return {
|
|
23
|
-
version: 'v2',
|
|
24
|
-
title: 'Enable Task Runners by default',
|
|
25
|
-
description: 'Task Runners are now enabled by default, changing execution model and resource usage',
|
|
26
|
-
category: "infrastructure",
|
|
27
|
-
severity: 'medium',
|
|
28
|
-
documentationUrl: 'https://docs.n8n.io/2-0-breaking-changes/#enable-task-runners-by-default',
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
async detect() {
|
|
32
|
-
if (this.globalConfig.deployment.type === 'cloud') {
|
|
33
|
-
return {
|
|
34
|
-
isAffected: false,
|
|
35
|
-
instanceIssues: [],
|
|
36
|
-
recommendations: [],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
const result = {
|
|
40
|
-
isAffected: false,
|
|
41
|
-
instanceIssues: [],
|
|
42
|
-
recommendations: [],
|
|
43
|
-
};
|
|
44
|
-
if (!this.taskRunnersConfig.enabled) {
|
|
45
|
-
result.isAffected = true;
|
|
46
|
-
result.instanceIssues.push({
|
|
47
|
-
title: 'Task Runners will be enabled by default',
|
|
48
|
-
description: 'Task Runners change the execution model to use separate processes for workflow execution. This may affect memory footprint and execution latency. N8N_RUNNERS_MAX_CONCURRENCY will default to 5 (previously 10).',
|
|
49
|
-
level: 'warning',
|
|
50
|
-
});
|
|
51
|
-
result.recommendations.push({
|
|
52
|
-
action: 'Review concurrency settings',
|
|
53
|
-
description: 'Keep concurrency at 5 or raise back to 10 with N8N_RUNNERS_MAX_CONCURRENCY if your environment permits',
|
|
54
|
-
});
|
|
55
|
-
result.recommendations.push({
|
|
56
|
-
action: 'Configure runner memory limits',
|
|
57
|
-
description: 'Set N8N_RUNNERS_MAX_OLD_SPACE_SIZE to limit runner memory usage as needed for your infrastructure',
|
|
58
|
-
});
|
|
59
|
-
result.recommendations.push({
|
|
60
|
-
action: 'Consider external task runners',
|
|
61
|
-
description: 'For better scalability, consider migrating to external task runner mode',
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
return result;
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
exports.TaskRunnersRule = TaskRunnersRule;
|
|
68
|
-
exports.TaskRunnersRule = TaskRunnersRule = __decorate([
|
|
69
|
-
(0, di_1.Service)(),
|
|
70
|
-
__metadata("design:paramtypes", [config_1.TaskRunnersConfig,
|
|
71
|
-
config_1.GlobalConfig])
|
|
72
|
-
], TaskRunnersRule);
|
|
73
|
-
//# sourceMappingURL=task-runners.rule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"task-runners.rule.js","sourceRoot":"","sources":["../../../../../src/modules/breaking-changes/rules/v2/task-runners.rule.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wCAA8D;AAC9D,gCAAkC;AAU3B,IAAM,eAAe,GAArB,MAAM,eAAe;IAC3B,YACkB,iBAAoC,EACpC,YAA0B;QAD1B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,iBAAY,GAAZ,YAAY,CAAc;QAG5C,OAAE,GAAW,iBAAiB,CAAC;IAF5B,CAAC;IAIJ,WAAW;QACV,OAAO;YACN,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,gCAAgC;YACvC,WAAW,EACV,sFAAsF;YACvF,QAAQ,kBAAuC;YAC/C,QAAQ,EAAE,QAAQ;YAClB,gBAAgB,EAAE,0EAA0E;SAC5F,CAAC;IACH,CAAC;IAED,KAAK,CAAC,MAAM;QAEX,IAAI,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;YACnD,OAAO;gBACN,UAAU,EAAE,KAAK;gBACjB,cAAc,EAAE,EAAE;gBAClB,eAAe,EAAE,EAAE;aACnB,CAAC;QACH,CAAC;QAED,MAAM,MAAM,GAA4B;YACvC,UAAU,EAAE,KAAK;YACjB,cAAc,EAAE,EAAE;YAClB,eAAe,EAAE,EAAE;SACnB,CAAC;QAIF,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC;YACrC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC;YACzB,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC;gBAC1B,KAAK,EAAE,yCAAyC;gBAChD,WAAW,EACV,kNAAkN;gBACnN,KAAK,EAAE,SAAS;aAChB,CAAC,CAAC;YAEH,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC;gBAC3B,MAAM,EAAE,6BAA6B;gBACrC,WAAW,EACV,wGAAwG;aACzG,CAAC,CAAC;YAEH,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC;gBAC3B,MAAM,EAAE,gCAAgC;gBACxC,WAAW,EACV,mGAAmG;aACpG,CAAC,CAAC;YAEH,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC;gBAC3B,MAAM,EAAE,gCAAgC;gBACxC,WAAW,EAAE,yEAAyE;aACtF,CAAC,CAAC;QACJ,CAAC;QAED,OAAO,MAAM,CAAC;IACf,CAAC;CACD,CAAA;AAnEY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,YAAO,GAAE;qCAG4B,0BAAiB;QACtB,qBAAY;GAHhC,eAAe,CAmE3B"}
|