n8n 2.46.4 → 2.47.1
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/bin/n8n +7 -1
- package/dist/abstract-server.d.ts +4 -1
- package/dist/abstract-server.js +32 -0
- package/dist/abstract-server.js.map +1 -1
- package/dist/active-executions.d.ts +3 -1
- package/dist/active-executions.js +10 -4
- package/dist/active-executions.js.map +1 -1
- package/dist/active-workflow-manager.js +9 -4
- package/dist/active-workflow-manager.js.map +1 -1
- package/dist/agent-library-bundle.js +19 -0
- package/dist/auth/auth.service.d.ts +13 -13
- package/dist/auth/auth.service.js +38 -46
- package/dist/auth/auth.service.js.map +1 -1
- package/dist/auth/handlers/email.auth-handler.d.ts +4 -4
- package/dist/auth/handlers/email.auth-handler.js +9 -12
- package/dist/auth/handlers/email.auth-handler.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat/chat-execution-manager.js +2 -2
- package/dist/chat/chat-execution-manager.js.map +1 -1
- package/dist/chat/chat-service.js +3 -2
- package/dist/chat/chat-service.js.map +1 -1
- package/dist/collaboration/collaboration.service.js +1 -2
- package/dist/collaboration/collaboration.service.js.map +1 -1
- package/dist/commands/audit.js +2 -2
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/base-command.js +4 -30
- package/dist/commands/base-command.js.map +1 -1
- package/dist/commands/cli-workflow-publisher.d.ts +22 -0
- package/dist/commands/cli-workflow-publisher.js +98 -0
- package/dist/commands/cli-workflow-publisher.js.map +1 -0
- package/dist/commands/engine.js +7 -6
- package/dist/commands/engine.js.map +1 -1
- package/dist/commands/execute-batch.js +2 -1
- package/dist/commands/execute-batch.js.map +1 -1
- package/dist/commands/execute.js +4 -3
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/export/credentials.js +2 -2
- package/dist/commands/export/credentials.js.map +1 -1
- package/dist/commands/export/workflow.js +7 -7
- package/dist/commands/export/workflow.js.map +1 -1
- package/dist/commands/import/credentials.d.ts +0 -1
- package/dist/commands/import/credentials.js +33 -58
- package/dist/commands/import/credentials.js.map +1 -1
- package/dist/commands/import/workflow.js +6 -5
- package/dist/commands/import/workflow.js.map +1 -1
- package/dist/commands/ldap/reset.js +8 -8
- package/dist/commands/ldap/reset.js.map +1 -1
- package/dist/commands/publish/workflow.d.ts +2 -0
- package/dist/commands/publish/workflow.js +17 -5
- package/dist/commands/publish/workflow.js.map +1 -1
- package/dist/commands/start.js +2 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/unpublish/workflow.d.ts +2 -0
- package/dist/commands/unpublish/workflow.js +18 -6
- package/dist/commands/unpublish/workflow.js.map +1 -1
- package/dist/commands/update/workflow.d.ts +2 -0
- package/dist/commands/update/workflow.js +20 -16
- package/dist/commands/update/workflow.js.map +1 -1
- package/dist/config/index.js +2 -3
- package/dist/config/index.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/controller.registry.d.ts +4 -2
- package/dist/controller.registry.js +6 -5
- package/dist/controller.registry.js.map +1 -1
- package/dist/controllers/auth.controller.d.ts +3 -2
- package/dist/controllers/auth.controller.js +15 -11
- package/dist/controllers/auth.controller.js.map +1 -1
- package/dist/controllers/change-email.controller.d.ts +3 -2
- package/dist/controllers/change-email.controller.js +24 -20
- package/dist/controllers/change-email.controller.js.map +1 -1
- package/dist/controllers/e2e-coverage-windows.d.ts +8 -0
- package/dist/controllers/e2e-coverage-windows.js +32 -0
- package/dist/controllers/e2e-coverage-windows.js.map +1 -0
- package/dist/controllers/e2e.controller.d.ts +10 -13
- package/dist/controllers/e2e.controller.js +15 -47
- package/dist/controllers/e2e.controller.js.map +1 -1
- package/dist/controllers/folder.controller.js +2 -3
- package/dist/controllers/folder.controller.js.map +1 -1
- package/dist/controllers/invitation.controller.d.ts +3 -2
- package/dist/controllers/invitation.controller.js +16 -12
- package/dist/controllers/invitation.controller.js.map +1 -1
- package/dist/controllers/me.controller.d.ts +3 -2
- package/dist/controllers/me.controller.js +34 -22
- package/dist/controllers/me.controller.js.map +1 -1
- package/dist/controllers/mfa.controller.d.ts +3 -3
- package/dist/controllers/mfa.controller.js +9 -10
- package/dist/controllers/mfa.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.d.ts +2 -1
- package/dist/controllers/oauth/oauth2-credential.controller.js +23 -0
- package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth2-dynamic-client-registration.schema.d.ts +3 -1
- package/dist/controllers/oauth/oauth2-dynamic-client-registration.schema.js +2 -1
- package/dist/controllers/oauth/oauth2-dynamic-client-registration.schema.js.map +1 -1
- package/dist/controllers/password-reset.controller.d.ts +3 -3
- package/dist/controllers/password-reset.controller.js +32 -31
- package/dist/controllers/password-reset.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +9 -2
- package/dist/controllers/users.controller.js +27 -16
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/credentials/credential-descriptions.service.d.ts +3 -0
- package/dist/credentials/credential-descriptions.service.js +3 -0
- package/dist/credentials/credential-descriptions.service.js.map +1 -1
- package/dist/credentials/credentials.controller.js +2 -0
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +8 -5
- package/dist/credentials/credentials.service.js +72 -8
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials/dynamic-credentials-proxy.js +2 -1
- package/dist/credentials/dynamic-credentials-proxy.js.map +1 -1
- package/dist/credentials/instance-credential-use.registry.d.ts +1 -1
- package/dist/credentials/instance-credential-use.registry.js +6 -6
- package/dist/credentials/instance-credential-use.registry.js.map +1 -1
- package/dist/credentials/mock-node-types.js +2 -1
- package/dist/credentials/mock-node-types.js.map +1 -1
- package/dist/credentials/skill-source-credentials.d.ts +24 -0
- package/dist/credentials/skill-source-credentials.js +109 -0
- package/dist/credentials/skill-source-credentials.js.map +1 -0
- package/dist/credentials-helper.js +7 -6
- package/dist/credentials-helper.js.map +1 -1
- package/dist/credentials-overwrites.d.ts +1 -0
- package/dist/credentials-overwrites.js +14 -0
- package/dist/credentials-overwrites.js.map +1 -1
- package/dist/error-reporting/error-reporting-boot.d.ts +1 -0
- package/dist/error-reporting/error-reporting-boot.js +45 -0
- package/dist/error-reporting/error-reporting-boot.js.map +1 -0
- package/dist/errors/managed-app-unavailable.error.d.ts +1 -1
- package/dist/errors/managed-app-unavailable.error.js +2 -2
- package/dist/errors/managed-app-unavailable.error.js.map +1 -1
- package/dist/evaluation.ee/evaluation-collection.service.js +1 -2
- package/dist/evaluation.ee/evaluation-collection.service.js.map +1 -1
- package/dist/evaluation.ee/evaluation-config-validator.d.ts +1 -1
- package/dist/evaluation.ee/evaluation-config-validator.js +2 -2
- package/dist/evaluation.ee/evaluation-config-validator.js.map +1 -1
- package/dist/evaluation.ee/evaluation-dataset.service.d.ts +1 -1
- package/dist/evaluation.ee/evaluation-dataset.service.js +2 -2
- package/dist/evaluation.ee/evaluation-dataset.service.js.map +1 -1
- package/dist/evaluation.ee/test-runner/errors.ee.d.ts +1 -1
- package/dist/evaluation.ee/test-runner/errors.ee.js +3 -3
- package/dist/evaluation.ee/test-runner/errors.ee.js.map +1 -1
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.js +7 -6
- package/dist/evaluation.ee/test-runner/workflow-compiler.service.js.map +1 -1
- package/dist/evaluation.ee/test-runs.controller.ee.js +1 -2
- package/dist/evaluation.ee/test-runs.controller.ee.js.map +1 -1
- package/dist/eventbus/message-event-bus-writer/resolve-event-log-path.js +3 -3
- package/dist/eventbus/message-event-bus-writer/resolve-event-log-path.js.map +1 -1
- package/dist/events/maps/relay.event-map.d.ts +131 -9
- package/dist/events/relays/log-streaming.event-relay.js +8 -8
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.d.ts +16 -0
- package/dist/events/relays/telemetry.event-relay.js +196 -9
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/events/relays/workflow-failure-notification.event-relay.d.ts +3 -3
- package/dist/events/relays/workflow-failure-notification.event-relay.js +8 -8
- package/dist/events/relays/workflow-failure-notification.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js +40 -11
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
- package/dist/execution-lifecycle/unsaved-manual-execution.service.d.ts +16 -0
- package/dist/execution-lifecycle/unsaved-manual-execution.service.js +78 -0
- package/dist/execution-lifecycle/unsaved-manual-execution.service.js.map +1 -0
- package/dist/executions/engine-v2-execution-reader.service.d.ts +4 -1
- package/dist/executions/engine-v2-execution-reader.service.js +4 -3
- package/dist/executions/engine-v2-execution-reader.service.js.map +1 -1
- package/dist/executions/enqueued-execution-recovery.service.d.ts +7 -1
- package/dist/executions/enqueued-execution-recovery.service.js +64 -31
- package/dist/executions/enqueued-execution-recovery.service.js.map +1 -1
- package/dist/executions/execution-crash.service.d.ts +2 -1
- package/dist/executions/execution-crash.service.js +9 -0
- package/dist/executions/execution-crash.service.js.map +1 -1
- package/dist/executions/execution-data/corrupted-execution-data.error.d.ts +1 -1
- package/dist/executions/execution-data/corrupted-execution-data.error.js +2 -2
- package/dist/executions/execution-data/corrupted-execution-data.error.js.map +1 -1
- package/dist/executions/execution-data/execution-data-write.error.d.ts +1 -1
- package/dist/executions/execution-data/execution-data-write.error.js +2 -2
- package/dist/executions/execution-data/execution-data-write.error.js.map +1 -1
- package/dist/executions/execution-data/missing-execution-data.error.d.ts +1 -1
- package/dist/executions/execution-data/missing-execution-data.error.js +2 -2
- package/dist/executions/execution-data/missing-execution-data.error.js.map +1 -1
- package/dist/executions/execution-data/unreadable-run-data.error.d.ts +1 -1
- package/dist/executions/execution-data/unreadable-run-data.error.js +2 -2
- package/dist/executions/execution-data/unreadable-run-data.error.js.map +1 -1
- package/dist/executions/execution-list-v2.service.js +2 -2
- package/dist/executions/execution-list-v2.service.js.map +1 -1
- package/dist/executions/execution-persistence.d.ts +2 -4
- package/dist/executions/execution-persistence.js +20 -29
- package/dist/executions/execution-persistence.js.map +1 -1
- package/dist/executions/execution-recovery.service.js +1 -0
- package/dist/executions/execution-recovery.service.js.map +1 -1
- package/dist/executions/execution-viewer-reader.d.ts +2 -1
- package/dist/executions/execution-viewer-reader.js +22 -2
- package/dist/executions/execution-viewer-reader.js.map +1 -1
- package/dist/executions/execution.service.d.ts +1 -4
- package/dist/executions/execution.service.js +11 -11
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/executions/parse-range-query.middleware.js +1 -1
- package/dist/executions/parse-range-query.middleware.js.map +1 -1
- package/dist/executions/pre-execution-checks/credential-refusal.js +2 -2
- package/dist/executions/pre-execution-checks/credential-refusal.js.map +1 -1
- package/dist/executions/pre-execution-checks/credentials-permission-checker.js +5 -4
- package/dist/executions/pre-execution-checks/credentials-permission-checker.js.map +1 -1
- package/dist/executions/pre-execution-checks/subworkflow-policy-checker.js +2 -1
- package/dist/executions/pre-execution-checks/subworkflow-policy-checker.js.map +1 -1
- package/dist/executions/resume-attempt.service.d.ts +20 -0
- package/dist/executions/resume-attempt.service.js +74 -0
- package/dist/executions/resume-attempt.service.js.map +1 -0
- package/dist/expression-observability/expression-observability.constants.d.ts +0 -1
- package/dist/expression-observability/expression-observability.constants.js +1 -2
- package/dist/expression-observability/expression-observability.constants.js.map +1 -1
- package/dist/expression-observability/expression-observability.provider.d.ts +1 -3
- package/dist/expression-observability/expression-observability.provider.js +7 -8
- package/dist/expression-observability/expression-observability.provider.js.map +1 -1
- package/dist/external-hooks.d.ts +4 -2
- package/dist/external-hooks.js +6 -6
- package/dist/external-hooks.js.map +1 -1
- package/dist/instance-settings-loader/instance-bootstrapping.error.d.ts +1 -1
- package/dist/instance-settings-loader/instance-bootstrapping.error.js +2 -2
- package/dist/instance-settings-loader/instance-bootstrapping.error.js.map +1 -1
- package/dist/interfaces.d.ts +6 -1
- package/dist/license.d.ts +4 -0
- package/dist/license.js +48 -1
- package/dist/license.js.map +1 -1
- package/dist/load-nodes-and-credentials.js +6 -8
- package/dist/load-nodes-and-credentials.js.map +1 -1
- package/dist/manual-execution.service.js +2 -1
- package/dist/manual-execution.service.js.map +1 -1
- package/dist/memory-guard/memory-guard.service.d.ts +1 -0
- package/dist/memory-guard/memory-guard.service.js +11 -4
- package/dist/memory-guard/memory-guard.service.js.map +1 -1
- package/dist/memory-guard/memory-usage.d.ts +2 -1
- package/dist/memory-guard/memory-usage.js +40 -5
- package/dist/memory-guard/memory-usage.js.map +1 -1
- package/dist/memory-guard/production-hold.d.ts +4 -0
- package/dist/memory-guard/production-hold.js +19 -3
- package/dist/memory-guard/production-hold.js.map +1 -1
- package/dist/metrics/prometheus/database-metric-query.service.d.ts +1 -0
- package/dist/metrics/prometheus/database-metric-query.service.js +5 -2
- package/dist/metrics/prometheus/database-metric-query.service.js.map +1 -1
- package/dist/metrics/prometheus/memory-guard-metrics.service.js +12 -0
- package/dist/metrics/prometheus/memory-guard-metrics.service.js.map +1 -1
- package/dist/metrics/prometheus/system-task-metrics.service.js +8 -4
- package/dist/metrics/prometheus/system-task-metrics.service.js.map +1 -1
- package/dist/mfa/helpers.js +1 -1
- package/dist/mfa/helpers.js.map +1 -1
- package/dist/mfa/mfa.service.d.ts +5 -4
- package/dist/mfa/mfa.service.js +26 -26
- package/dist/mfa/mfa.service.js.map +1 -1
- package/dist/middlewares/cors.js +1 -1
- package/dist/middlewares/cors.js.map +1 -1
- package/dist/middlewares/list-query/dtos/base.filter.dto.js +3 -2
- package/dist/middlewares/list-query/dtos/base.filter.dto.js.map +1 -1
- package/dist/middlewares/list-query/dtos/base.select.dto.js +2 -1
- package/dist/middlewares/list-query/dtos/base.select.dto.js.map +1 -1
- package/dist/middlewares/list-query/dtos/pagination.dto.js +3 -3
- package/dist/middlewares/list-query/dtos/pagination.dto.js.map +1 -1
- package/dist/middlewares/list-query/pagination.js +2 -2
- package/dist/middlewares/list-query/pagination.js.map +1 -1
- package/dist/middlewares/list-query/sort-by.js +2 -2
- package/dist/middlewares/list-query/sort-by.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-case-generation.service.d.ts +1 -1
- package/dist/modules/agent-evals/agent-eval-case-generation.service.js +6 -8
- package/dist/modules/agent-evals/agent-eval-case-generation.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-judge.d.ts +1 -0
- package/dist/modules/agent-evals/agent-eval-judge.js +8 -0
- package/dist/modules/agent-evals/agent-eval-judge.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-record-mappers.js +2 -2
- package/dist/modules/agent-evals/agent-eval-record-mappers.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-runner.service.d.ts +1 -1
- package/dist/modules/agent-evals/agent-eval-runner.service.js +2 -2
- package/dist/modules/agent-evals/agent-eval-runner.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval.service.js +1 -2
- package/dist/modules/agent-evals/agent-eval.service.js.map +1 -1
- package/dist/modules/agents/adapters/agents-credential-provider.js +2 -2
- package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
- package/dist/modules/agents/agent-chat-attachment.service.d.ts +27 -1
- package/dist/modules/agents/agent-chat-attachment.service.js +160 -37
- package/dist/modules/agents/agent-chat-attachment.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-execution.service.d.ts +6 -0
- package/dist/modules/agents/agent-chat-execution.service.js +54 -1
- package/dist/modules/agents/agent-chat-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-relay.service.d.ts +3 -2
- package/dist/modules/agents/agent-chat-relay.service.js +27 -2
- package/dist/modules/agents/agent-chat-relay.service.js.map +1 -1
- package/dist/modules/agents/agent-chat.controller.d.ts +146 -4
- package/dist/modules/agents/agent-chat.controller.js +143 -9
- package/dist/modules/agents/agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/agent-config-preparation.service.d.ts +8 -0
- package/dist/modules/agents/agent-config-preparation.service.js +9 -11
- package/dist/modules/agents/agent-config-preparation.service.js.map +1 -1
- package/dist/modules/agents/agent-config.service.d.ts +5 -2
- package/dist/modules/agents/agent-config.service.js +33 -11
- package/dist/modules/agents/agent-config.service.js.map +1 -1
- package/dist/modules/agents/agent-context-readers.js +2 -2
- package/dist/modules/agents/agent-context-readers.js.map +1 -1
- package/dist/modules/agents/agent-context.contracts.d.ts +7 -0
- package/dist/modules/agents/agent-context.service.d.ts +7 -1
- package/dist/modules/agents/agent-context.service.js +26 -21
- package/dist/modules/agents/agent-context.service.js.map +1 -1
- package/dist/modules/agents/agent-conversation-state.service.d.ts +8 -0
- package/dist/modules/agents/agent-conversation-state.service.js +16 -0
- package/dist/modules/agents/agent-conversation-state.service.js.map +1 -1
- package/dist/modules/agents/agent-custom-tools.service.d.ts +5 -1
- package/dist/modules/agents/agent-custom-tools.service.js +14 -6
- package/dist/modules/agents/agent-custom-tools.service.js.map +1 -1
- package/dist/modules/agents/agent-definition.service.d.ts +6 -2
- package/dist/modules/agents/agent-definition.service.js +38 -4
- package/dist/modules/agents/agent-definition.service.js.map +1 -1
- package/dist/modules/agents/agent-dependency-index.listener.js +3 -1
- package/dist/modules/agents/agent-dependency-index.listener.js.map +1 -1
- package/dist/modules/agents/agent-dependency-index.service.js +3 -5
- package/dist/modules/agents/agent-dependency-index.service.js.map +1 -1
- package/dist/modules/agents/agent-draft.contracts.d.ts +2 -1
- package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +6 -0
- package/dist/modules/agents/agent-execution-orchestrator.service.js +31 -24
- package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
- package/dist/modules/agents/agent-execution-recording.error.d.ts +1 -1
- package/dist/modules/agents/agent-execution-recording.error.js +2 -2
- package/dist/modules/agents/agent-execution-recording.error.js.map +1 -1
- package/dist/modules/agents/agent-execution.service.d.ts +8 -1
- package/dist/modules/agents/agent-execution.service.js +55 -14
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-file-bridge.service.d.ts +38 -0
- package/dist/modules/agents/agent-file-bridge.service.js +183 -0
- package/dist/modules/agents/agent-file-bridge.service.js.map +1 -0
- package/dist/modules/agents/agent-integration-management.service.d.ts +1 -1
- package/dist/modules/agents/agent-integration-management.service.js +15 -1
- package/dist/modules/agents/agent-integration-management.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-persistence.service.d.ts +5 -1
- package/dist/modules/agents/agent-integration-persistence.service.js +24 -14
- package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
- package/dist/modules/agents/agent-integrations.controller.js +1 -1
- package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-mirror.service.d.ts +3 -1
- package/dist/modules/agents/agent-knowledge-mirror.service.js +24 -10
- package/dist/modules/agents/agent-knowledge-mirror.service.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-retrieval.d.ts +1 -5
- package/dist/modules/agents/agent-knowledge-retrieval.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-snapshot.service.js +1 -1
- package/dist/modules/agents/agent-knowledge-snapshot.service.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-usage-tracker.d.ts +9 -0
- package/dist/modules/agents/agent-knowledge-usage-tracker.js +111 -8
- package/dist/modules/agents/agent-knowledge-usage-tracker.js.map +1 -1
- package/dist/modules/agents/agent-knowledge.service.d.ts +3 -1
- package/dist/modules/agents/agent-knowledge.service.js +26 -20
- package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
- package/dist/modules/agents/agent-memory-entries.service.d.ts +4 -3
- package/dist/modules/agents/agent-memory-entries.service.js +15 -9
- package/dist/modules/agents/agent-memory-entries.service.js.map +1 -1
- package/dist/modules/agents/agent-memory-trace.service.d.ts +25 -0
- package/dist/modules/agents/agent-memory-trace.service.js +149 -0
- package/dist/modules/agents/agent-memory-trace.service.js.map +1 -0
- package/dist/modules/agents/agent-memory.controller.d.ts +5 -0
- package/dist/modules/agents/agent-memory.controller.js +14 -0
- package/dist/modules/agents/agent-memory.controller.js.map +1 -1
- package/dist/modules/agents/agent-message-queue-consumer.service.d.ts +2 -2
- package/dist/modules/agents/agent-message-queue-consumer.service.js +18 -11
- package/dist/modules/agents/agent-message-queue-consumer.service.js.map +1 -1
- package/dist/modules/agents/agent-message-queue.service.d.ts +11 -0
- package/dist/modules/agents/agent-message-queue.service.js +107 -8
- package/dist/modules/agents/agent-message-queue.service.js.map +1 -1
- package/dist/modules/agents/agent-message-steering.service.js +5 -5
- package/dist/modules/agents/agent-message-steering.service.js.map +1 -1
- package/dist/modules/agents/agent-model-catalog.service.d.ts +3 -1
- package/dist/modules/agents/agent-model-catalog.service.js +6 -3
- package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
- package/dist/modules/agents/agent-n8n-chat-unavailable.error.d.ts +1 -1
- package/dist/modules/agents/agent-n8n-chat-unavailable.error.js +2 -2
- package/dist/modules/agents/agent-n8n-chat-unavailable.error.js.map +1 -1
- package/dist/modules/agents/agent-plan.service.d.ts +37 -184
- package/dist/modules/agents/agent-plan.service.js +50 -19
- package/dist/modules/agents/agent-plan.service.js.map +1 -1
- package/dist/modules/agents/agent-project-cleanup.service.d.ts +24 -0
- package/dist/modules/agents/agent-project-cleanup.service.js +75 -0
- package/dist/modules/agents/agent-project-cleanup.service.js.map +1 -0
- package/dist/modules/agents/agent-publish.controller.d.ts +18 -1
- package/dist/modules/agents/agent-publish.controller.js +39 -1
- package/dist/modules/agents/agent-publish.controller.js.map +1 -1
- package/dist/modules/agents/agent-publish.service.d.ts +13 -15
- package/dist/modules/agents/agent-publish.service.js +167 -167
- package/dist/modules/agents/agent-publish.service.js.map +1 -1
- package/dist/modules/agents/{agent-queued-preview-stream.service.d.ts → agent-queued-test-stream.service.d.ts} +2 -1
- package/dist/modules/agents/{agent-queued-preview-stream.service.js → agent-queued-test-stream.service.js} +19 -15
- package/dist/modules/agents/agent-queued-test-stream.service.js.map +1 -0
- package/dist/modules/agents/agent-run-tracing.service.d.ts +1 -3
- package/dist/modules/agents/agent-run-tracing.service.js +5 -6
- package/dist/modules/agents/agent-run-tracing.service.js.map +1 -1
- package/dist/modules/agents/agent-runnable-state.service.d.ts +3 -1
- package/dist/modules/agents/agent-runnable-state.service.js +11 -2
- package/dist/modules/agents/agent-runnable-state.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-cache.service.js +2 -2
- package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +49 -19
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
- package/dist/modules/agents/agent-sandbox-runtime.service.js +7 -7
- package/dist/modules/agents/agent-sandbox-runtime.service.js.map +1 -1
- package/dist/modules/agents/agent-session-langsmith-export.service.js +1 -2
- package/dist/modules/agents/agent-session-langsmith-export.service.js.map +1 -1
- package/dist/modules/agents/agent-session-read.d.ts +1 -0
- package/dist/modules/agents/agent-session-read.js +4 -0
- package/dist/modules/agents/agent-session-read.js.map +1 -1
- package/dist/modules/agents/agent-session-stop-reason.d.ts +1 -0
- package/dist/modules/agents/agent-session-stop-reason.js +5 -0
- package/dist/modules/agents/agent-session-stop-reason.js.map +1 -0
- package/dist/modules/agents/agent-session-stop.service.d.ts +26 -0
- package/dist/modules/agents/agent-session-stop.service.js +105 -0
- package/dist/modules/agents/agent-session-stop.service.js.map +1 -0
- package/dist/modules/agents/agent-skill-refs.service.d.ts +21 -9
- package/dist/modules/agents/agent-skill-refs.service.js +181 -91
- package/dist/modules/agents/agent-skill-refs.service.js.map +1 -1
- package/dist/modules/agents/agent-skill-usage.d.ts +26 -0
- package/dist/modules/agents/agent-skill-usage.js +110 -0
- package/dist/modules/agents/agent-skill-usage.js.map +1 -0
- package/dist/modules/agents/agent-skills.service.d.ts +5 -6
- package/dist/modules/agents/agent-skills.service.js +30 -44
- package/dist/modules/agents/agent-skills.service.js.map +1 -1
- package/dist/modules/agents/agent-task-cancellation.service.d.ts +36 -0
- package/dist/modules/agents/agent-task-cancellation.service.js +218 -0
- package/dist/modules/agents/agent-task-cancellation.service.js.map +1 -0
- package/dist/modules/agents/agent-task.service.d.ts +3 -1
- package/dist/modules/agents/agent-task.service.js +8 -3
- package/dist/modules/agents/agent-task.service.js.map +1 -1
- package/dist/modules/agents/agent-test-run.service.d.ts +1 -1
- package/dist/modules/agents/agent-test-run.service.js +3 -4
- package/dist/modules/agents/agent-test-run.service.js.map +1 -1
- package/dist/modules/agents/agent-threads.controller.d.ts +11 -1
- package/dist/modules/agents/agent-threads.controller.js +28 -5
- package/dist/modules/agents/agent-threads.controller.js.map +1 -1
- package/dist/modules/agents/agent-tool-approval.service.js +2 -2
- package/dist/modules/agents/agent-tool-approval.service.js.map +1 -1
- package/dist/modules/agents/agent-turn-already-running.error.d.ts +1 -1
- package/dist/modules/agents/agent-turn-already-running.error.js +2 -2
- package/dist/modules/agents/agent-turn-already-running.error.js.map +1 -1
- package/dist/modules/agents/agent-turn-execution.service.d.ts +2 -1
- package/dist/modules/agents/agent-turn-execution.service.js +50 -17
- package/dist/modules/agents/agent-turn-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-validation.service.js +2 -2
- package/dist/modules/agents/agent-validation.service.js.map +1 -1
- package/dist/modules/agents/agent-whatsapp-integrations.controller.d.ts +4 -1
- package/dist/modules/agents/agent-whatsapp-integrations.controller.js +13 -0
- package/dist/modules/agents/agent-whatsapp-integrations.controller.js.map +1 -1
- package/dist/modules/agents/agent-workflow-execution.service.d.ts +1 -1
- package/dist/modules/agents/agent-workflow-execution.service.js +9 -9
- package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-workflow-tool-resume.service.js +2 -1
- package/dist/modules/agents/agent-workflow-tool-resume.service.js.map +1 -1
- package/dist/modules/agents/agents-catalog.controller.d.ts +3 -1
- package/dist/modules/agents/agents-catalog.controller.js +6 -3
- package/dist/modules/agents/agents-catalog.controller.js.map +1 -1
- package/dist/modules/agents/agents-config.controller.d.ts +4 -0
- package/dist/modules/agents/agents.controller.d.ts +5 -0
- package/dist/modules/agents/agents.module.d.ts +1 -1
- package/dist/modules/agents/agents.module.js +6 -2
- package/dist/modules/agents/agents.module.js.map +1 -1
- package/dist/modules/agents/agents.service.d.ts +5 -2
- package/dist/modules/agents/agents.service.js +15 -9
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/azure-foundry-deployments.service.js +2 -2
- package/dist/modules/agents/azure-foundry-deployments.service.js.map +1 -1
- package/dist/modules/agents/background/agent-background-job.service.d.ts +72 -14
- package/dist/modules/agents/background/agent-background-job.service.js +170 -64
- package/dist/modules/agents/background/agent-background-job.service.js.map +1 -1
- package/dist/modules/agents/background/agent-wake.service.d.ts +6 -1
- package/dist/modules/agents/background/agent-wake.service.js +49 -13
- package/dist/modules/agents/background/agent-wake.service.js.map +1 -1
- package/dist/modules/agents/background/background-job-messages.d.ts +1 -0
- package/dist/modules/agents/background/background-job-messages.js +8 -2
- package/dist/modules/agents/background/background-job-messages.js.map +1 -1
- package/dist/modules/agents/background/background-job-tools.d.ts +4 -3
- package/dist/modules/agents/background/background-job-tools.js +168 -106
- package/dist/modules/agents/background/background-job-tools.js.map +1 -1
- package/dist/modules/agents/background/sub-agent-background-runner.d.ts +9 -2
- package/dist/modules/agents/background/sub-agent-background-runner.js +41 -16
- package/dist/modules/agents/background/sub-agent-background-runner.js.map +1 -1
- package/dist/modules/agents/budget-guardrail.js +3 -3
- package/dist/modules/agents/budget-guardrail.js.map +1 -1
- package/dist/modules/agents/builder/agent-builder-session-context.d.ts +1 -1
- package/dist/modules/agents/builder/agent-builder-session-context.js +3 -8
- package/dist/modules/agents/builder/agent-builder-session-context.js.map +1 -1
- package/dist/modules/agents/builder/agent-builder-test-path.d.ts +1 -0
- package/dist/modules/agents/builder/{agent-builder-preview-path.js → agent-builder-test-path.js} +3 -3
- package/dist/modules/agents/builder/agent-builder-test-path.js.map +1 -0
- package/dist/modules/agents/builder/agents-builder-tools.service.js +137 -163
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder.service.js +3 -4
- package/dist/modules/agents/builder/agents-builder.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js +2 -2
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-tool-names.d.ts +0 -4
- package/dist/modules/agents/builder/builder-tool-names.js +0 -3
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js +17 -8
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js +59 -23
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/index.d.ts +0 -1
- package/dist/modules/agents/builder/interactive/index.js +1 -3
- package/dist/modules/agents/builder/interactive/index.js.map +1 -1
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +56 -41
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +1 -1
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js +15 -9
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
- package/dist/modules/agents/builder/skill-body-template.d.ts +0 -1
- package/dist/modules/agents/builder/skill-body-template.js +1 -2
- package/dist/modules/agents/builder/skill-body-template.js.map +1 -1
- package/dist/modules/agents/builder/skills/custom-tools.skill.js +1 -1
- package/dist/modules/agents/builder/skills/custom-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/external-services.skill.js +6 -6
- package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/index.js.map +1 -1
- package/dist/modules/agents/builder/skills/memory.skill.js +3 -3
- package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/node-tools.skill.js +2 -2
- package/dist/modules/agents/builder/skills/node-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/resource-locators.skill.js +3 -3
- package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/sub-agents.skill.js +4 -8
- package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-skills.skill.js +9 -4
- package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-tasks.skill.js +6 -4
- package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
- package/dist/modules/agents/builder/task-objective-template.d.ts +2 -1
- package/dist/modules/agents/builder/task-objective-template.js +47 -2
- package/dist/modules/agents/builder/task-objective-template.js.map +1 -1
- package/dist/modules/agents/builder/verify-mcp-server.tool.js +22 -21
- package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
- package/dist/modules/agents/entities/agent-background-job.entity.d.ts +3 -1
- package/dist/modules/agents/entities/agent-background-job.entity.js +8 -0
- package/dist/modules/agents/entities/agent-background-job.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-chat-attachment.entity.d.ts +1 -0
- package/dist/modules/agents/entities/agent-chat-attachment.entity.js +4 -0
- package/dist/modules/agents/entities/agent-chat-attachment.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-execution.entity.d.ts +1 -0
- package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-file-grant.entity.d.ts +8 -0
- package/dist/modules/{data-table/data-table-column.entity.js → agents/entities/agent-file-grant.entity.js} +16 -24
- package/dist/modules/agents/entities/agent-file-grant.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent-history.entity.d.ts +2 -0
- package/dist/modules/agents/entities/agent-history.entity.js +8 -0
- package/dist/modules/agents/entities/agent-history.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-memory-entry.entity.d.ts +3 -1
- package/dist/modules/agents/entities/agent-memory-entry.entity.js +15 -2
- package/dist/modules/agents/entities/agent-memory-entry.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-message.entity.d.ts +1 -0
- package/dist/modules/agents/entities/agent-message.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-publish-history.entity.d.ts +17 -0
- package/dist/modules/agents/entities/agent-publish-history.entity.js +67 -0
- package/dist/modules/agents/entities/agent-publish-history.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent.entity.d.ts +1 -0
- package/dist/modules/agents/entities/agent.entity.js +4 -0
- package/dist/modules/agents/entities/agent.entity.js.map +1 -1
- package/dist/modules/agents/evaluation/agent-evaluation.service.js +2 -2
- package/dist/modules/agents/evaluation/agent-evaluation.service.js.map +1 -1
- package/dist/modules/agents/execution-log/agent-execution-log-write.error.d.ts +1 -1
- package/dist/modules/agents/execution-log/agent-execution-log-write.error.js +2 -2
- package/dist/modules/agents/execution-log/agent-execution-log-write.error.js.map +1 -1
- package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.d.ts +1 -1
- package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js +2 -2
- package/dist/modules/agents/execution-log/corrupted-agent-execution-log.error.js.map +1 -1
- package/dist/modules/agents/execution-recorder.d.ts +1 -0
- package/dist/modules/agents/execution-recorder.js +19 -3
- package/dist/modules/agents/execution-recorder.js.map +1 -1
- package/dist/modules/{instance-ai → agents}/format-agent-session-context.d.ts +1 -1
- package/dist/modules/agents/format-agent-session-context.js.map +1 -0
- package/dist/modules/agents/integrations/agent-channel-reconciler.service.js +2 -2
- package/dist/modules/agents/integrations/agent-channel-reconciler.service.js.map +1 -1
- package/dist/modules/agents/integrations/agent-channel-status-reporter.js +6 -6
- package/dist/modules/agents/integrations/agent-channel-status-reporter.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +13 -3
- package/dist/modules/agents/integrations/agent-chat-bridge.js +70 -7
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.d.ts +10 -1
- package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js +24 -0
- package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-integration.d.ts +23 -3
- package/dist/modules/agents/integrations/agent-chat-integration.js +6 -3
- package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-message-context.d.ts +1 -0
- package/dist/modules/agents/integrations/agent-chat-message-context.js +15 -0
- package/dist/modules/agents/integrations/agent-chat-message-context.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.d.ts +18 -1
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +73 -5
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-subscription-state.adapter.js +4 -4
- package/dist/modules/agents/integrations/agent-chat-subscription-state.adapter.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-subscription-state.service.js +1 -1
- package/dist/modules/agents/integrations/agent-chat-subscription-state.service.js.map +1 -1
- package/dist/modules/agents/integrations/agent-outbound-files.service.d.ts +45 -0
- package/dist/modules/agents/integrations/agent-outbound-files.service.js +161 -0
- package/dist/modules/agents/integrations/agent-outbound-files.service.js.map +1 -0
- package/dist/modules/agents/integrations/channel-status-report.js +8 -1
- package/dist/modules/agents/integrations/channel-status-report.js.map +1 -1
- package/dist/modules/agents/integrations/chat-integration.service.js +7 -6
- package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
- package/dist/modules/agents/integrations/component-mapper.d.ts +1 -0
- package/dist/modules/agents/integrations/component-mapper.js +3 -2
- package/dist/modules/agents/integrations/component-mapper.js.map +1 -1
- package/dist/modules/agents/integrations/credential-fields.js +2 -2
- package/dist/modules/agents/integrations/credential-fields.js.map +1 -1
- package/dist/modules/agents/integrations/integration-action-executor.d.ts +9 -1
- package/dist/modules/agents/integrations/integration-action-executor.js +73 -12
- package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
- package/dist/modules/agents/integrations/integration-context-query-executor.js +2 -2
- package/dist/modules/agents/integrations/integration-context-query-executor.js.map +1 -1
- package/dist/modules/agents/integrations/integration-error-codes.d.ts +2 -0
- package/dist/modules/agents/integrations/integration-error-codes.js +2 -0
- package/dist/modules/agents/integrations/integration-error-codes.js.map +1 -1
- package/dist/modules/agents/integrations/integration-helpers.d.ts +5 -0
- package/dist/modules/agents/integrations/integration-helpers.js +19 -0
- package/dist/modules/agents/integrations/integration-helpers.js.map +1 -1
- package/dist/modules/agents/integrations/integration-message-context.js +8 -0
- package/dist/modules/agents/integrations/integration-message-context.js.map +1 -1
- package/dist/modules/agents/integrations/integration-message-context.service.d.ts +2 -0
- package/dist/modules/agents/integrations/integration-message-context.service.js +17 -0
- package/dist/modules/agents/integrations/integration-message-context.service.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-definitions.d.ts +31 -0
- package/dist/modules/agents/integrations/integration-tool-definitions.js +27 -4
- package/dist/modules/agents/integrations/integration-tool-definitions.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-descriptions.d.ts +2 -0
- package/dist/modules/agents/integrations/integration-tool-descriptions.js +16 -0
- package/dist/modules/agents/integrations/integration-tool-descriptions.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-execution.d.ts +3 -0
- package/dist/modules/agents/integrations/integration-tool-execution.js +33 -3
- package/dist/modules/agents/integrations/integration-tool-execution.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-factory.d.ts +1 -0
- package/dist/modules/agents/integrations/integration-tool-factory.js +5 -3
- package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-types.d.ts +12 -2
- package/dist/modules/agents/integrations/n8n-checkpoint-storage.js +6 -5
- package/dist/modules/agents/integrations/n8n-checkpoint-storage.js.map +1 -1
- package/dist/modules/agents/integrations/n8n-memory.d.ts +11 -3
- package/dist/modules/agents/integrations/n8n-memory.js +78 -190
- package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/discord/discord-integration.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/discord/discord-integration.js +1 -0
- package/dist/modules/agents/integrations/platforms/discord/discord-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.d.ts +3 -3
- package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.js +11 -11
- package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.js +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js +5 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.js +3 -3
- package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js +5 -5
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js +2 -2
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js +3 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js +8 -9
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js +5 -6
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js +8 -9
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js +3 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js +4 -4
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js +1 -2
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js +3 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js +3 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js +2 -2
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.d.ts +11 -0
- package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.js +18 -2
- package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.d.ts +6 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js +77 -3
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-delivery-failures.d.ts +24 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-delivery-failures.js +97 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-delivery-failures.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.d.ts +29 -5
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js +278 -24
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-meta-status.d.ts +9 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-meta-status.js +43 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-meta-status.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-option-pages.store.d.ts +36 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-option-pages.store.js +87 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-option-pages.store.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-setup-telemetry.service.d.ts +6 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-setup-telemetry.service.js +36 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-setup-telemetry.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-templates.d.ts +32 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-templates.js +165 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-templates.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-tool-definitions.d.ts +88 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-tool-definitions.js +53 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-tool-definitions.js.map +1 -0
- package/dist/modules/agents/integrations/resolve-imported-channels.d.ts +14 -0
- package/dist/modules/agents/integrations/resolve-imported-channels.js +32 -0
- package/dist/modules/agents/integrations/resolve-imported-channels.js.map +1 -0
- package/dist/modules/agents/json-config/from-json-config.js +23 -16
- package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.js +8 -7
- package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
- package/dist/modules/agents/json-config/model-config.js +7 -4
- package/dist/modules/agents/json-config/model-config.js.map +1 -1
- package/dist/modules/agents/json-config/web-search-credential.js +4 -4
- package/dist/modules/agents/json-config/web-search-credential.js.map +1 -1
- package/dist/modules/agents/plans/{agent-plan-work-state.d.ts → agent-plan-state.d.ts} +12 -5
- package/dist/modules/agents/plans/agent-plan-state.js +87 -0
- package/dist/modules/agents/plans/agent-plan-state.js.map +1 -0
- package/dist/modules/agents/plans/agent-plan-task-context.d.ts +3 -0
- package/dist/modules/agents/plans/agent-plan-task-context.js +12 -0
- package/dist/modules/agents/plans/agent-plan-task-context.js.map +1 -0
- package/dist/modules/agents/plans/agent-plan-tools.d.ts +10 -11
- package/dist/modules/agents/plans/agent-plan-tools.js +56 -37
- package/dist/modules/agents/plans/agent-plan-tools.js.map +1 -1
- package/dist/modules/agents/plans/agent-plan.schema.d.ts +432 -30
- package/dist/modules/agents/plans/agent-plan.schema.js +62 -6
- package/dist/modules/agents/plans/agent-plan.schema.js.map +1 -1
- package/dist/modules/agents/plans/agent-plan.validation.d.ts +3 -2
- package/dist/modules/agents/plans/agent-plan.validation.js +53 -17
- package/dist/modules/agents/plans/agent-plan.validation.js.map +1 -1
- package/dist/modules/agents/register-agent-usage-provider.js +1 -1
- package/dist/modules/agents/register-agent-usage-provider.js.map +1 -1
- package/dist/modules/agents/register-skill-usage.d.ts +1 -0
- package/dist/modules/agents/register-skill-usage.js +10 -0
- package/dist/modules/agents/register-skill-usage.js.map +1 -0
- package/dist/modules/agents/register-user-deletion-handler.js +24 -2
- package/dist/modules/agents/register-user-deletion-handler.js.map +1 -1
- package/dist/modules/agents/repositories/agent-background-job.repository.d.ts +15 -3
- package/dist/modules/agents/repositories/agent-background-job.repository.js +88 -19
- package/dist/modules/agents/repositories/agent-background-job.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-budget-spend.repository.d.ts +5 -5
- package/dist/modules/agents/repositories/agent-budget-spend.repository.js +15 -10
- package/dist/modules/agents/repositories/agent-budget-spend.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-channel-status.repository.d.ts +13 -11
- package/dist/modules/agents/repositories/agent-channel-status.repository.js +34 -20
- package/dist/modules/agents/repositories/agent-channel-status.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.d.ts +27 -9
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js +61 -16
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-chat-subscription.repository.d.ts +10 -9
- package/dist/modules/agents/repositories/agent-chat-subscription.repository.js +22 -14
- package/dist/modules/agents/repositories/agent-chat-subscription.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-credential-dependency.repository.d.ts +6 -5
- package/dist/modules/agents/repositories/agent-credential-dependency.repository.js +14 -9
- package/dist/modules/agents/repositories/agent-credential-dependency.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +42 -4
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js +216 -17
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-execution.repository.d.ts +5 -1
- package/dist/modules/agents/repositories/agent-execution.repository.js +18 -2
- package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-file-grant.repository.d.ts +9 -0
- package/dist/modules/agents/repositories/agent-file-grant.repository.js +56 -0
- package/dist/modules/agents/repositories/agent-file-grant.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent-file.repository.d.ts +13 -8
- package/dist/modules/agents/repositories/agent-file.repository.js +33 -14
- package/dist/modules/agents/repositories/agent-file.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.d.ts +13 -8
- package/dist/modules/agents/repositories/agent-history.repository.js +52 -22
- package/dist/modules/agents/repositories/agent-history.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.d.ts +13 -8
- package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js +60 -30
- package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-memory-entry-source.repository.d.ts +2 -0
- package/dist/modules/agents/repositories/agent-memory-entry-source.repository.js +16 -0
- package/dist/modules/agents/repositories/agent-memory-entry-source.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-memory-entry.repository.d.ts +21 -3
- package/dist/modules/agents/repositories/agent-memory-entry.repository.js +164 -4
- package/dist/modules/agents/repositories/agent-memory-entry.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-memory-scope.repository.d.ts +9 -0
- package/dist/modules/agents/repositories/agent-memory-scope.repository.js +58 -0
- package/dist/modules/agents/repositories/agent-memory-scope.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent-message-queue.repository.d.ts +2 -0
- package/dist/modules/agents/repositories/agent-message-queue.repository.js +20 -0
- package/dist/modules/agents/repositories/agent-message-queue.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-message.repository.d.ts +1 -1
- package/dist/modules/agents/repositories/agent-message.repository.js +6 -6
- package/dist/modules/agents/repositories/agent-message.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-plan.repository.d.ts +77 -2
- package/dist/modules/agents/repositories/agent-plan.repository.js +174 -11
- package/dist/modules/agents/repositories/agent-plan.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-project-deletion.repository.d.ts +12 -0
- package/dist/modules/agents/repositories/agent-project-deletion.repository.js +68 -0
- package/dist/modules/agents/repositories/agent-project-deletion.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent-publish-history.repository.d.ts +11 -0
- package/dist/modules/agents/repositories/agent-publish-history.repository.js +82 -0
- package/dist/modules/agents/repositories/agent-publish-history.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent-skill.repository.d.ts +22 -8
- package/dist/modules/agents/repositories/agent-skill.repository.js +24 -36
- package/dist/modules/agents/repositories/agent-skill.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-thread.repository.d.ts +1 -0
- package/dist/modules/agents/repositories/agent-thread.repository.js +5 -0
- package/dist/modules/agents/repositories/agent-thread.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-user-deletion.repository.d.ts +12 -0
- package/dist/modules/agents/repositories/agent-user-deletion.repository.js +72 -0
- package/dist/modules/agents/repositories/agent-user-deletion.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent.repository.d.ts +6 -8
- package/dist/modules/agents/repositories/agent.repository.js +47 -18
- package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
- package/dist/modules/agents/scheduling/agent-task-task-handler.js +2 -2
- package/dist/modules/agents/scheduling/agent-task-task-handler.js.map +1 -1
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +6 -3
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
- package/dist/modules/agents/sub-agents/format-sub-agent-tool-output.js +2 -0
- package/dist/modules/agents/sub-agents/format-sub-agent-tool-output.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-cleanup.service.d.ts +5 -1
- package/dist/modules/agents/sub-agents/sub-agent-cleanup.service.js +14 -3
- package/dist/modules/agents/sub-agents/sub-agent-cleanup.service.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-runner.d.ts +8 -2
- package/dist/modules/agents/sub-agents/sub-agent-runner.js +55 -11
- package/dist/modules/agents/sub-agents/sub-agent-runner.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js +8 -8
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -1
- package/dist/modules/agents/system-agents/system-agent-chat.controller.d.ts +12 -9
- package/dist/modules/agents/system-agents/system-agent-chat.controller.js +74 -16
- package/dist/modules/agents/system-agents/system-agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/system-agents/system-agent-execution.service.d.ts +10 -4
- package/dist/modules/agents/system-agents/system-agent-execution.service.js +86 -53
- package/dist/modules/agents/system-agents/system-agent-execution.service.js.map +1 -1
- package/dist/modules/agents/system-agents/system-agent-host-events.js +4 -4
- package/dist/modules/agents/system-agents/system-agent-host-events.js.map +1 -1
- package/dist/modules/agents/system-agents/system-agent-registry.js +2 -2
- package/dist/modules/agents/system-agents/system-agent-registry.js.map +1 -1
- package/dist/modules/agents/system-agents/system-agent-thread-metadata.service.d.ts +10 -0
- package/dist/modules/agents/system-agents/system-agent-thread-metadata.service.js +44 -0
- package/dist/modules/agents/system-agents/system-agent-thread-metadata.service.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent.types.d.ts +3 -2
- package/dist/modules/agents/tools/environment-tool.d.ts +1 -0
- package/dist/modules/agents/tools/environment-tool.js +3 -1
- package/dist/modules/agents/tools/environment-tool.js.map +1 -1
- package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js +30 -2
- package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js.map +1 -1
- package/dist/modules/agents/tools/node-tool-factory.d.ts +1 -0
- package/dist/modules/agents/tools/node-tool-factory.js +50 -13
- package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/read-binary-data.tool.d.ts +34 -0
- package/dist/modules/agents/tools/read-binary-data.tool.js +85 -0
- package/dist/modules/agents/tools/read-binary-data.tool.js.map +1 -0
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +9 -17
- package/dist/modules/agents/tools/workflow-tool-factory.js +104 -156
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/types/agent-queued-message.d.ts +2 -0
- package/dist/modules/agents/types/agent-queued-message.js +1 -2
- package/dist/modules/agents/types/agent-queued-message.js.map +1 -1
- package/dist/modules/agents/types/agent-task-stop.d.ts +3 -2
- package/dist/modules/agents/utils/agent-channel.d.ts +4 -0
- package/dist/modules/agents/utils/agent-channel.js +5 -0
- package/dist/modules/agents/utils/agent-channel.js.map +1 -1
- package/dist/modules/agents/utils/agent-config-hash.d.ts +1 -1
- package/dist/modules/agents/utils/agent-config-hash.js +2 -2
- package/dist/modules/agents/utils/agent-config-hash.js.map +1 -1
- package/dist/modules/agents/utils/agent-definition.d.ts +8 -3
- package/dist/modules/agents/utils/agent-definition.js +0 -1
- package/dist/modules/agents/utils/agent-definition.js.map +1 -1
- package/dist/modules/agents/utils/agent-draft.utils.js +1 -3
- package/dist/modules/agents/utils/agent-draft.utils.js.map +1 -1
- package/dist/modules/agents/utils/agent-published-snapshot.js +2 -2
- package/dist/modules/agents/utils/agent-published-snapshot.js.map +1 -1
- package/dist/modules/agents/utils/execution-input.js +2 -2
- package/dist/modules/agents/utils/execution-input.js.map +1 -1
- package/dist/modules/agents/utils/execution-to-message-mapper.d.ts +1 -1
- package/dist/modules/agents/utils/execution-to-message-mapper.js +10 -3
- package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
- package/dist/modules/agents/utils/inbound-attachments.js +2 -2
- package/dist/modules/agents/utils/inbound-attachments.js.map +1 -1
- package/dist/modules/agents/utils/skill-instruction-edits.js +2 -2
- package/dist/modules/agents/utils/skill-instruction-edits.js.map +1 -1
- package/dist/modules/apps/bindings/app-agent.adapter.d.ts +20 -0
- package/dist/modules/apps/bindings/app-agent.adapter.js +180 -0
- package/dist/modules/apps/bindings/app-agent.adapter.js.map +1 -0
- package/dist/modules/apps/bindings/app-data-table.adapter.d.ts +18 -0
- package/dist/modules/apps/bindings/app-data-table.adapter.js +117 -0
- package/dist/modules/apps/bindings/app-data-table.adapter.js.map +1 -0
- package/dist/modules/apps/bindings/app-workflow.adapter.d.ts +37 -0
- package/dist/modules/apps/bindings/app-workflow.adapter.js +336 -0
- package/dist/modules/apps/bindings/app-workflow.adapter.js.map +1 -0
- package/dist/modules/apps/bindings/infer-output-schema.d.ts +6 -0
- package/dist/modules/apps/bindings/infer-output-schema.js +57 -0
- package/dist/modules/apps/bindings/infer-output-schema.js.map +1 -0
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.d.ts +1 -1
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.js +13 -1
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.js.map +1 -1
- package/dist/modules/breaking-changes/query/migration-finding-query.service.js +2 -1
- package/dist/modules/breaking-changes/query/migration-finding-query.service.js.map +1 -1
- package/dist/modules/breaking-changes/rules/index.d.ts +1 -0
- package/dist/modules/breaking-changes/rules/index.js +1 -0
- package/dist/modules/breaking-changes/rules/index.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/always-output-data-multi-output.rule.js +3 -3
- package/dist/modules/breaking-changes/rules/v3/always-output-data-multi-output.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/evaluate-expression-code-node.rule.d.ts +10 -0
- package/dist/modules/breaking-changes/rules/v3/evaluate-expression-code-node.rule.js +55 -0
- package/dist/modules/breaking-changes/rules/v3/evaluate-expression-code-node.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/get-paired-item.rule.js +1 -1
- package/dist/modules/breaking-changes/rules/v3/get-paired-item.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.js +4 -4
- package/dist/modules/breaking-changes/rules/v3/pre-execute-error-creates-execution.rule.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-execution.service.js +3 -3
- package/dist/modules/chat-hub/chat-hub-execution.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-title.service.js +7 -7
- package/dist/modules/chat-hub/chat-hub-title.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-workflow.service.js +2 -2
- package/dist/modules/chat-hub/chat-hub-workflow.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.service.js +3 -3
- package/dist/modules/chat-hub/chat-hub.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-message.repository.d.ts +1 -1
- package/dist/modules/chat-hub/chat-message.repository.js +3 -3
- package/dist/modules/chat-hub/chat-message.repository.js.map +1 -1
- package/dist/modules/community-packages/community-packages.service.js +22 -21
- package/dist/modules/community-packages/community-packages.service.js.map +1 -1
- package/dist/modules/community-packages/npm-utils.js +16 -15
- package/dist/modules/community-packages/npm-utils.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolution.error.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolution.error.js +2 -2
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolution.error.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.js +2 -2
- package/dist/modules/dynamic-credentials.ee/errors/credential-resolver-not-found.error.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-storage.error.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/credential-storage.error.js +2 -2
- package/dist/modules/dynamic-credentials.ee/errors/credential-storage.error.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/system-resolver-modification.error.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/errors/system-resolver-modification.error.js +2 -2
- package/dist/modules/dynamic-credentials.ee/errors/system-resolver-modification.error.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver.service.js +2 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-resolver.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.js +2 -2
- package/dist/modules/dynamic-credentials.ee/services/n8n-resolver-seeder.service.js.map +1 -1
- package/dist/modules/engine-v2/engine-additional-data.js +1 -1
- package/dist/modules/engine-v2/engine-additional-data.js.map +1 -1
- package/dist/modules/engine-v2/engine-control-plane-client.js +2 -2
- package/dist/modules/engine-v2/engine-control-plane-client.js.map +1 -1
- package/dist/modules/engine-v2/engine-control-plane-server.d.ts +5 -1
- package/dist/modules/engine-v2/engine-control-plane-server.js +8 -2
- package/dist/modules/engine-v2/engine-control-plane-server.js.map +1 -1
- package/dist/modules/engine-v2/engine-credentials-client.js +3 -3
- package/dist/modules/engine-v2/engine-credentials-client.js.map +1 -1
- package/dist/modules/engine-v2/engine-data-plane-client.d.ts +5 -2
- package/dist/modules/engine-v2/engine-data-plane-client.js +31 -3
- package/dist/modules/engine-v2/engine-data-plane-client.js.map +1 -1
- package/dist/modules/engine-v2/engine-data-tables.contract.d.ts +1505 -0
- package/dist/modules/engine-v2/engine-data-tables.contract.js +141 -0
- package/dist/modules/engine-v2/engine-data-tables.contract.js.map +1 -0
- package/dist/modules/engine-v2/engine-data-tables.controller.d.ts +7 -0
- package/dist/modules/engine-v2/engine-data-tables.controller.js +34 -0
- package/dist/modules/engine-v2/engine-data-tables.controller.js.map +1 -0
- package/dist/modules/engine-v2/engine-data-tables.service.d.ts +11 -0
- package/dist/modules/engine-v2/engine-data-tables.service.js +94 -0
- package/dist/modules/engine-v2/engine-data-tables.service.js.map +1 -0
- package/dist/modules/engine-v2/engine-sub-workflow-client.d.ts +7 -0
- package/dist/modules/engine-v2/engine-sub-workflow-client.js +62 -0
- package/dist/modules/engine-v2/engine-sub-workflow-client.js.map +1 -0
- package/dist/modules/engine-v2/engine-sub-workflow.contract.d.ts +106 -0
- package/dist/modules/engine-v2/engine-sub-workflow.contract.js +59 -0
- package/dist/modules/engine-v2/engine-sub-workflow.contract.js.map +1 -0
- package/dist/modules/engine-v2/engine-sub-workflow.controller.d.ts +7 -0
- package/dist/modules/engine-v2/engine-sub-workflow.controller.js +34 -0
- package/dist/modules/engine-v2/engine-sub-workflow.controller.js.map +1 -0
- package/dist/modules/engine-v2/engine-sub-workflow.service.d.ts +16 -0
- package/dist/modules/engine-v2/engine-sub-workflow.service.js +138 -0
- package/dist/modules/engine-v2/engine-sub-workflow.service.js.map +1 -0
- package/dist/modules/engine-v2/engine-v2.constants.d.ts +2 -0
- package/dist/modules/engine-v2/engine-v2.constants.js +3 -1
- package/dist/modules/engine-v2/engine-v2.constants.js.map +1 -1
- package/dist/modules/engine-v2/engine-v2.module.js +7 -4
- package/dist/modules/engine-v2/engine-v2.module.js.map +1 -1
- package/dist/modules/engine-v2/engine-v2.runtime.d.ts +4 -1
- package/dist/modules/engine-v2/engine-v2.runtime.js +15 -4
- package/dist/modules/engine-v2/engine-v2.runtime.js.map +1 -1
- package/dist/modules/engine-v2/remote-credentials-helper.js +5 -4
- package/dist/modules/engine-v2/remote-credentials-helper.js.map +1 -1
- package/dist/modules/engine-v2/response-channel/execution-response-frame.js +2 -2
- package/dist/modules/engine-v2/response-channel/execution-response-frame.js.map +1 -1
- package/dist/modules/engine-v2/response-channel/in-memory-execution-response-sender.js +2 -2
- package/dist/modules/engine-v2/response-channel/in-memory-execution-response-sender.js.map +1 -1
- package/dist/modules/engine-v2/response-channel/redis-execution-response-receiver.js +3 -3
- package/dist/modules/engine-v2/response-channel/redis-execution-response-receiver.js.map +1 -1
- package/dist/modules/engine-v2/response-channel/redis-execution-response-sender.js +2 -2
- package/dist/modules/engine-v2/response-channel/redis-execution-response-sender.js.map +1 -1
- package/dist/modules/engine-v2/webhook-response/webhook-outcome.js +4 -4
- package/dist/modules/engine-v2/webhook-response/webhook-outcome.js.map +1 -1
- package/dist/modules/engine-v2/webhook-response/webhook-response-registry.service.js +7 -7
- package/dist/modules/engine-v2/webhook-response/webhook-response-registry.service.js.map +1 -1
- package/dist/modules/external-secrets.ee/errors/unknown-auth-type.error.d.ts +1 -1
- package/dist/modules/external-secrets.ee/errors/unknown-auth-type.error.js +2 -2
- package/dist/modules/external-secrets.ee/errors/unknown-auth-type.error.js.map +1 -1
- package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js +2 -2
- package/dist/modules/external-secrets.ee/external-secrets-manager.ee.js.map +1 -1
- package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js +3 -3
- package/dist/modules/external-secrets.ee/external-secrets-provider-connection-manager.ee.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js +2 -1
- package/dist/modules/external-secrets.ee/providers/aws-secrets-manager.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.d.ts +1 -1
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js +5 -4
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.js +4 -2
- package/dist/modules/external-secrets.ee/providers/gcp-secrets-manager/gcp-secrets-manager.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/infisical.d.ts +1 -1
- package/dist/modules/external-secrets.ee/providers/infisical.js +6 -5
- package/dist/modules/external-secrets.ee/providers/infisical.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/one-password.d.ts +1 -1
- package/dist/modules/external-secrets.ee/providers/one-password.js +5 -4
- package/dist/modules/external-secrets.ee/providers/one-password.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/vault.d.ts +1 -1
- package/dist/modules/external-secrets.ee/providers/vault.js +9 -18
- package/dist/modules/external-secrets.ee/providers/vault.js.map +1 -1
- package/dist/modules/external-secrets.ee/secret-path.d.ts +1 -0
- package/dist/modules/external-secrets.ee/secret-path.js +13 -0
- package/dist/modules/external-secrets.ee/secret-path.js.map +1 -0
- package/dist/modules/external-secrets.ee/secrets-cache.service.js +2 -2
- package/dist/modules/external-secrets.ee/secrets-cache.service.js.map +1 -1
- package/dist/modules/external-secrets.ee/settings-store.service.js +2 -1
- package/dist/modules/external-secrets.ee/settings-store.service.js.map +1 -1
- package/dist/modules/external-secrets.ee/types.js.map +1 -1
- package/dist/modules/external-secrets.ee/with-timeout.d.ts +1 -1
- package/dist/modules/external-secrets.ee/with-timeout.js +2 -2
- package/dist/modules/external-secrets.ee/with-timeout.js.map +1 -1
- package/dist/modules/inbound-auth-core/authentication-pipeline.d.ts +6 -2
- package/dist/modules/inbound-auth-core/authentication-pipeline.js +24 -2
- package/dist/modules/inbound-auth-core/authentication-pipeline.js.map +1 -1
- package/dist/modules/inbound-auth-core/constants.d.ts +2 -1
- package/dist/modules/inbound-auth-core/constants.js +3 -2
- package/dist/modules/inbound-auth-core/constants.js.map +1 -1
- package/dist/modules/inbound-auth-core/database/entities/trusted-source.entity.d.ts +1 -0
- package/dist/modules/inbound-auth-core/database/entities/trusted-source.entity.js +4 -0
- package/dist/modules/inbound-auth-core/database/entities/trusted-source.entity.js.map +1 -1
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.d.ts +1 -0
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.js +10 -0
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.js.map +1 -1
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js +2 -2
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js.map +1 -1
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js +2 -2
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source-discovery.service.d.ts +3 -2
- package/dist/modules/inbound-auth-core/trusted-source-discovery.service.js +23 -9
- package/dist/modules/inbound-auth-core/trusted-source-discovery.service.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.controller.js +2 -0
- package/dist/modules/inbound-auth-core/trusted-source.controller.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.store.d.ts +4 -1
- package/dist/modules/inbound-auth-core/trusted-source.store.js +40 -3
- package/dist/modules/inbound-auth-core/trusted-source.store.js.map +1 -1
- package/dist/modules/instance-ai/{agent-preview-handoff.d.ts → agent-test-handoff.d.ts} +5 -5
- package/dist/modules/instance-ai/{agent-preview-handoff.js → agent-test-handoff.js} +15 -16
- package/dist/modules/instance-ai/agent-test-handoff.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-agent.controller.d.ts +10 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-agent.controller.js +54 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-agent.controller.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-agent.provider.d.ts +47 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-agent.provider.js +413 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-agent.provider.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-artifact-names.service.d.ts +9 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-artifact-names.service.js +40 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-artifact-names.service.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-event-sink.d.ts +14 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-event-sink.js +40 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-event-sink.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-temporary-workflow-markers.d.ts +4 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-temporary-workflow-markers.js +30 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-temporary-workflow-markers.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.d.ts +4 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.js +51 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.service.d.ts +17 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.service.js +63 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-thread-tabs.service.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-turn-options.d.ts +18 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-turn-options.js +55 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-turn-options.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-turn-trace.d.ts +59 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-turn-trace.js +439 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-turn-trace.js.map +1 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-workspace-source.d.ts +25 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-workspace-source.js +64 -0
- package/dist/modules/instance-ai/assistant-agent/assistant-workspace-source.js.map +1 -0
- package/dist/modules/instance-ai/assistant.controller.d.ts +32 -0
- package/dist/modules/instance-ai/assistant.controller.js +187 -0
- package/dist/modules/instance-ai/assistant.controller.js.map +1 -0
- package/dist/modules/instance-ai/browser/browser-local-mcp-server.d.ts +4 -8
- package/dist/modules/instance-ai/browser/browser-local-mcp-server.js +8 -86
- package/dist/modules/instance-ai/browser/browser-local-mcp-server.js.map +1 -1
- package/dist/modules/instance-ai/browser/browser.helpers.d.ts +21 -0
- package/dist/modules/instance-ai/browser/browser.helpers.js +142 -0
- package/dist/modules/instance-ai/browser/browser.helpers.js.map +1 -0
- package/dist/modules/instance-ai/browser/cloud-browser-local-mcp-server.d.ts +47 -0
- package/dist/modules/instance-ai/browser/cloud-browser-local-mcp-server.js +263 -0
- package/dist/modules/instance-ai/browser/cloud-browser-local-mcp-server.js.map +1 -0
- package/dist/modules/instance-ai/browser/cloud-browser-session-provider.d.ts +13 -0
- package/dist/modules/instance-ai/browser/cloud-browser-session-provider.js +3 -0
- package/dist/modules/instance-ai/browser/cloud-browser-session-provider.js.map +1 -0
- package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.d.ts +0 -1
- package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.js +4 -35
- package/dist/modules/instance-ai/browser/instance-ai-browser-session.service.js.map +1 -1
- package/dist/modules/instance-ai/browser/instance-ai-cloud-browser.service.d.ts +21 -0
- package/dist/modules/instance-ai/browser/instance-ai-cloud-browser.service.js +112 -0
- package/dist/modules/instance-ai/browser/instance-ai-cloud-browser.service.js.map +1 -0
- package/dist/modules/instance-ai/conversation-history-content.d.ts +0 -2
- package/dist/modules/instance-ai/conversation-history-content.js +5 -5
- package/dist/modules/instance-ai/conversation-history-content.js.map +1 -1
- package/dist/modules/instance-ai/entities/index.d.ts +0 -1
- package/dist/modules/instance-ai/entities/index.js +1 -3
- package/dist/modules/instance-ai/entities/index.js.map +1 -1
- package/dist/modules/instance-ai/entities/instance-ai-thread-tabs.entity.d.ts +2 -2
- package/dist/modules/instance-ai/entities/instance-ai-thread-tabs.entity.js.map +1 -1
- package/dist/modules/instance-ai/eval/data-table-rows.d.ts +1 -1
- package/dist/modules/instance-ai/eval/data-table-rows.js +4 -3
- package/dist/modules/instance-ai/eval/data-table-rows.js.map +1 -1
- package/dist/modules/instance-ai/eval/eval-timings.js +1 -1
- package/dist/modules/instance-ai/eval/execution.service.d.ts +1 -1
- package/dist/modules/instance-ai/eval/execution.service.js +7 -6
- package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/failed-execution-portability.service.js +16 -13
- package/dist/modules/instance-ai/eval/failed-execution-portability.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/llm-completion-mock.js +116 -50
- package/dist/modules/instance-ai/eval/llm-completion-mock.js.map +1 -1
- package/dist/modules/instance-ai/eval/mock-handler.js +2 -1
- package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
- package/dist/modules/instance-ai/eval/node-run-mock.js +29 -18
- package/dist/modules/instance-ai/eval/node-run-mock.js.map +1 -1
- package/dist/modules/instance-ai/eval/pin-data-generator.js +3 -3
- package/dist/modules/instance-ai/eval/pin-data-generator.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.d.ts +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.js +2 -2
- package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/workflow-analysis.js +2 -1
- package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-agent-context.adapter.js +1 -1
- package/dist/modules/instance-ai/instance-ai-agent-context.adapter.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-conversation-history.service.js +3 -2
- package/dist/modules/instance-ai/instance-ai-conversation-history.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-credit.service.js +2 -2
- package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-hub-skills.d.ts +8 -3
- package/dist/modules/instance-ai/instance-ai-hub-skills.js +24 -12
- package/dist/modules/instance-ai/instance-ai-hub-skills.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-model-catalog.service.d.ts +3 -1
- package/dist/modules/instance-ai/instance-ai-model-catalog.service.js +6 -3
- package/dist/modules/instance-ai/instance-ai-model-catalog.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-model.service.d.ts +4 -1
- package/dist/modules/instance-ai/instance-ai-model.service.js +26 -7
- package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +7 -2
- package/dist/modules/instance-ai/instance-ai-settings.service.js +26 -9
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-skill-telemetry.d.ts +37 -0
- package/dist/modules/instance-ai/instance-ai-skill-telemetry.js +129 -0
- package/dist/modules/instance-ai/instance-ai-skill-telemetry.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-skills.adapter.d.ts +3 -3
- package/dist/modules/instance-ai/instance-ai-skills.adapter.js +18 -22
- package/dist/modules/instance-ai/instance-ai-skills.adapter.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-skills.service.d.ts +12 -7
- package/dist/modules/instance-ai/instance-ai-skills.service.js +29 -13
- package/dist/modules/instance-ai/instance-ai-skills.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js +2 -2
- package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-thread-tabs.service.d.ts +6 -10
- package/dist/modules/instance-ai/instance-ai-thread-tabs.service.js +8 -67
- package/dist/modules/instance-ai/instance-ai-thread-tabs.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-verification.service.js +3 -2
- package/dist/modules/instance-ai/instance-ai-verification.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +7 -3
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +138 -49
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +5 -22
- package/dist/modules/instance-ai/instance-ai.controller.js +3 -152
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.d.ts +5 -1
- package/dist/modules/instance-ai/instance-ai.module.js +33 -2
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +0 -6
- package/dist/modules/instance-ai/instance-ai.service.js +63 -162
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-context.service.d.ts +3 -1
- package/dist/modules/instance-ai/instance-context.service.js +34 -43
- package/dist/modules/instance-ai/instance-context.service.js.map +1 -1
- package/dist/modules/instance-ai/internal-messages.d.ts +6 -0
- package/dist/modules/instance-ai/internal-messages.js +26 -6
- package/dist/modules/instance-ai/internal-messages.js.map +1 -1
- package/dist/modules/instance-ai/repositories/conversation-history-search.d.ts +1 -6
- package/dist/modules/instance-ai/repositories/conversation-history-search.js +7 -5
- package/dist/modules/instance-ai/repositories/conversation-history-search.js.map +1 -1
- package/dist/modules/instance-ai/repositories/index.d.ts +0 -1
- package/dist/modules/instance-ai/repositories/index.js +1 -3
- package/dist/modules/instance-ai/repositories/index.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-thread-tabs.repository.d.ts +3 -3
- package/dist/modules/instance-ai/repositories/instance-ai-thread-tabs.repository.js.map +1 -1
- package/dist/modules/instance-ai/run-trace-metadata.d.ts +14 -0
- package/dist/modules/instance-ai/run-trace-metadata.js +51 -24
- package/dist/modules/instance-ai/run-trace-metadata.js.map +1 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +2 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +5 -4
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
- package/dist/modules/instance-ai/sandbox-provider.js +2 -2
- package/dist/modules/instance-ai/sandbox-provider.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.d.ts +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.js +4 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.d.ts +13 -3
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.js +134 -23
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js +5 -4
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-agent.service.js +3 -3
- package/dist/modules/instance-ai/self-healing/self-healing-agent.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.js +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.d.ts +10 -2
- package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.js +53 -19
- package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.d.ts +2 -1
- package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.js +14 -7
- package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js +3 -4
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js.map +1 -1
- package/dist/modules/instance-ai/storage/index.d.ts +0 -1
- package/dist/modules/instance-ai/storage/index.js +1 -3
- package/dist/modules/instance-ai/storage/index.js.map +1 -1
- package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js +3 -3
- package/dist/modules/instance-ai/storage/typeorm-agent-checkpoint-store.js.map +1 -1
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +9 -7
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
- package/dist/modules/instance-ai/suspended-run-restorer.service.js +2 -2
- package/dist/modules/instance-ai/suspended-run-restorer.service.js.map +1 -1
- package/dist/modules/instance-ai/temporary-workflow-markers.d.ts +6 -0
- package/dist/modules/instance-ai/temporary-workflow-markers.js +3 -0
- package/dist/modules/instance-ai/temporary-workflow-markers.js.map +1 -0
- package/dist/modules/instance-ai/tracing/resume-trace-input.d.ts +1 -0
- package/dist/modules/instance-ai/tracing/resume-trace-input.js +18 -0
- package/dist/modules/instance-ai/tracing/resume-trace-input.js.map +1 -0
- package/dist/modules/instance-ai/tracing/suspension-trace.d.ts +15 -0
- package/dist/modules/instance-ai/tracing/suspension-trace.js +25 -0
- package/dist/modules/instance-ai/tracing/suspension-trace.js.map +1 -0
- package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.d.ts +1 -0
- package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.js +16 -7
- package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.js.map +1 -1
- package/dist/modules/instance-ai/turn-setup/assistant-credits.d.ts +1 -1
- package/dist/modules/instance-ai/turn-setup/assistant-credits.js +2 -2
- package/dist/modules/instance-ai/turn-setup/assistant-credits.js.map +1 -1
- package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.d.ts +1 -4
- package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.js +21 -24
- package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.js.map +1 -1
- package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.d.ts +3 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.js +40 -20
- package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.js.map +1 -1
- package/dist/modules/instance-ai/turn-setup/assistant-turn-runtime.d.ts +4 -2
- package/dist/modules/instance-ai/turn-setup/assistant-turn-trace-input.d.ts +8 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-trace-input.js +37 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-trace-input.js.map +1 -0
- package/dist/modules/instance-ai/user-facing-errors.d.ts +10 -0
- package/dist/modules/instance-ai/user-facing-errors.js +86 -0
- package/dist/modules/instance-ai/user-facing-errors.js.map +1 -0
- package/dist/modules/instance-reporting.ee/instance-reporting.module.js +2 -2
- package/dist/modules/instance-reporting.ee/instance-reporting.module.js.map +1 -1
- package/dist/modules/instance-reporting.ee/instance-reporting.service.js +3 -3
- package/dist/modules/instance-reporting.ee/instance-reporting.service.js.map +1 -1
- package/dist/modules/knowledge/vector-stores/embedding-credential.d.ts +5 -0
- package/dist/modules/knowledge/vector-stores/embedding-credential.js +9 -0
- package/dist/modules/knowledge/vector-stores/embedding-credential.js.map +1 -1
- package/dist/modules/knowledge/vector-stores/factory.js +5 -5
- package/dist/modules/knowledge/vector-stores/factory.js.map +1 -1
- package/dist/modules/ldap.ee/helpers.ee.d.ts +3 -3
- package/dist/modules/ldap.ee/helpers.ee.js +28 -36
- package/dist/modules/ldap.ee/helpers.ee.js.map +1 -1
- package/dist/modules/ldap.ee/ldap.errors.d.ts +1 -1
- package/dist/modules/ldap.ee/ldap.errors.js +3 -3
- package/dist/modules/ldap.ee/ldap.errors.js.map +1 -1
- package/dist/modules/ldap.ee/ldap.service.ee.js +5 -5
- package/dist/modules/ldap.ee/ldap.service.ee.js.map +1 -1
- package/dist/modules/log-streaming.ee/create-message-event-bus-destination.js +2 -2
- package/dist/modules/log-streaming.ee/create-message-event-bus-destination.js.map +1 -1
- package/dist/modules/log-streaming.ee/database/repositories/event-destination.repository.d.ts +2 -0
- package/dist/modules/log-streaming.ee/database/repositories/event-destination.repository.js +12 -0
- package/dist/modules/log-streaming.ee/database/repositories/event-destination.repository.js.map +1 -1
- package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.js +2 -0
- package/dist/modules/log-streaming.ee/destinations/message-event-bus-destination-sentry.ee.js.map +1 -1
- package/dist/modules/log-streaming.ee/log-streaming-destination.service.d.ts +4 -0
- package/dist/modules/log-streaming.ee/log-streaming-destination.service.js +58 -14
- package/dist/modules/log-streaming.ee/log-streaming-destination.service.js.map +1 -1
- package/dist/modules/log-streaming.ee/log-streaming.controller.js +4 -1
- package/dist/modules/log-streaming.ee/log-streaming.controller.js.map +1 -1
- package/dist/modules/mcp/mcp-protected-resource.js +7 -3
- package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
- package/dist/modules/mcp/mcp-scopes.js +5 -0
- package/dist/modules/mcp/mcp-scopes.js.map +1 -1
- package/dist/modules/mcp/mcp.constants.d.ts +1 -1
- package/dist/modules/mcp/mcp.constants.js +2 -1
- package/dist/modules/mcp/mcp.constants.js.map +1 -1
- package/dist/modules/mcp/mcp.errors.d.ts +1 -1
- package/dist/modules/mcp/mcp.errors.js +3 -3
- package/dist/modules/mcp/mcp.errors.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +4 -3
- package/dist/modules/mcp/mcp.service.js +13 -8
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-reference.js +8 -2
- package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-slack-setup.d.ts +1 -1
- package/dist/modules/mcp/tools/agents/agent-tools.service.d.ts +5 -1
- package/dist/modules/mcp/tools/agents/agent-tools.service.js +130 -30
- package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/data-table/add-data-table-column.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/add-data-table-rows.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/create-data-table.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/delete-data-table-column.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/get-data-table-rows.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/rename-data-table-column.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/rename-data-table.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/data-table/search-data-tables.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/execution-utils.d.ts +4 -0
- package/dist/modules/mcp/tools/execution-utils.js +23 -3
- package/dist/modules/mcp/tools/execution-utils.js.map +1 -1
- package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +3 -3
- package/dist/modules/mcp/tools/get-workflow-details.tool.js +4 -4
- package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
- package/dist/modules/mcp/tools/skills/skill-extension.service.d.ts +1 -1
- package/dist/modules/mcp/tools/skills/skill-extension.service.js +6 -3
- package/dist/modules/mcp/tools/skills/skill-extension.service.js.map +1 -1
- package/dist/modules/mcp/tools/skills/skill-tools.service.d.ts +5 -6
- package/dist/modules/mcp/tools/skills/skill-tools.service.js +50 -53
- package/dist/modules/mcp/tools/skills/skill-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/test-workflow.tool.d.ts +3 -2
- package/dist/modules/mcp/tools/test-workflow.tool.js +17 -7
- package/dist/modules/mcp/tools/test-workflow.tool.js.map +1 -1
- package/dist/modules/mcp/tools/update-credential-description.tool.d.ts +6 -0
- package/dist/modules/mcp/tools/update-credential-description.tool.js +48 -0
- package/dist/modules/mcp/tools/update-credential-description.tool.js.map +1 -0
- package/dist/modules/mcp/tools/webhook-utils.d.ts +3 -2
- package/dist/modules/mcp/tools/webhook-utils.js +37 -37
- package/dist/modules/mcp/tools/webhook-utils.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/create-workflow-from-code.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/workflow-builder/data-table-validation.d.ts +1 -1
- package/dist/modules/mcp/tools/workflow-builder/data-table-validation.js +2 -2
- package/dist/modules/mcp/tools/workflow-builder/data-table-validation.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +1 -1
- package/dist/modules/modules.manifest.js +13 -1
- package/dist/modules/modules.manifest.js.map +1 -1
- package/dist/modules/n8n-packages/engine/content-import-policy.d.ts +2 -2
- package/dist/modules/n8n-packages/engine/content-import-policy.js +26 -23
- package/dist/modules/n8n-packages/engine/content-import-policy.js.map +1 -1
- package/dist/modules/n8n-packages/engine/credential-save-policy.d.ts +3 -3
- package/dist/modules/n8n-packages/engine/credential-save-policy.js +43 -39
- package/dist/modules/n8n-packages/engine/credential-save-policy.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-gates.d.ts +11 -7
- package/dist/modules/n8n-packages/engine/import-gates.js +37 -7
- package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +19 -5
- package/dist/modules/n8n-packages/engine/import-orchestrator.js +130 -74
- package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-result.d.ts +6 -1
- package/dist/modules/n8n-packages/engine/import-result.js +22 -2
- package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.d.ts +2 -0
- package/dist/modules/n8n-packages/engine/import-telemetry.js +13 -8
- package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
- package/dist/modules/n8n-packages/engine/n8n-package-parser.d.ts +3 -1
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js +36 -23
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
- package/dist/modules/n8n-packages/engine/package-import-preflight.d.ts +15 -0
- package/dist/modules/n8n-packages/engine/package-import-preflight.js +70 -0
- package/dist/modules/n8n-packages/engine/package-import-preflight.js.map +1 -0
- package/dist/modules/n8n-packages/engine/package-layout.d.ts +0 -1
- package/dist/modules/n8n-packages/engine/package-layout.js +3 -8
- package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
- package/dist/modules/n8n-packages/engine/policy-verdict.d.ts +6 -0
- package/dist/modules/n8n-packages/engine/policy-verdict.js +20 -0
- package/dist/modules/n8n-packages/engine/policy-verdict.js.map +1 -0
- package/dist/modules/n8n-packages/engine/project-package-importer.d.ts +19 -6
- package/dist/modules/n8n-packages/engine/project-package-importer.js +47 -28
- package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.d.ts +3 -3
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js +20 -30
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-body-issues.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-body-issues.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-export.types.d.ts +1 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.d.ts +17 -3
- package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.js +54 -51
- package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.d.ts +4 -3
- package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.js +13 -34
- package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-import.types.d.ts +24 -21
- package/dist/modules/n8n-packages/entities/agent/agent-import.types.js +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-import.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-importer.d.ts +10 -5
- package/dist/modules/n8n-packages/entities/agent/agent-importer.js +132 -104
- package/dist/modules/n8n-packages/entities/agent/agent-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent-publisher.d.ts +15 -0
- package/dist/modules/n8n-packages/entities/agent/agent-publisher.js +85 -0
- package/dist/modules/n8n-packages/entities/agent/agent-publisher.js.map +1 -0
- package/dist/modules/n8n-packages/entities/agent/agent-selection.exporter.js +12 -0
- package/dist/modules/n8n-packages/entities/agent/agent-selection.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.js +3 -3
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.serializer.js +9 -2
- package/dist/modules/n8n-packages/entities/agent/agent.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js +4 -3
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.d.ts +2 -0
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.js +23 -4
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +4 -4
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +4 -1
- package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table-compat.js +2 -2
- package/dist/modules/n8n-packages/entities/data-table/data-table-compat.js.map +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table-importer.d.ts +5 -10
- package/dist/modules/n8n-packages/entities/data-table/data-table-importer.js +38 -42
- package/dist/modules/n8n-packages/entities/data-table/data-table-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table-matching-mode.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table.exporter.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table.exporter.js +5 -5
- package/dist/modules/n8n-packages/entities/data-table/data-table.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table.serializer.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table.types.d.ts +6 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/folder/folder-import.types.d.ts +1 -0
- package/dist/modules/n8n-packages/entities/folder/folder-importer.js +4 -2
- package/dist/modules/n8n-packages/entities/folder/folder-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/folder/folder.exporter.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/import-conflict-policy.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/import-conflict-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/import-id-policy.js +0 -2
- package/dist/modules/n8n-packages/entities/import-id-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/package-export.errors.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/package-export.errors.js +4 -4
- package/dist/modules/n8n-packages/entities/package-export.errors.js.map +1 -1
- package/dist/modules/n8n-packages/entities/project/project-importer.d.ts +4 -2
- package/dist/modules/n8n-packages/entities/project/project-importer.js +33 -17
- package/dist/modules/n8n-packages/entities/project/project-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/project/project.exporter.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/publishing.d.ts +10 -0
- package/dist/modules/n8n-packages/entities/publishing.js +9 -0
- package/dist/modules/n8n-packages/entities/publishing.js.map +1 -0
- package/dist/modules/n8n-packages/entities/skill/skill-import.types.d.ts +22 -0
- package/dist/modules/n8n-packages/entities/skill/skill-import.types.js +50 -0
- package/dist/modules/n8n-packages/entities/skill/skill-import.types.js.map +1 -0
- package/dist/modules/n8n-packages/entities/skill/skill-importer.d.ts +29 -0
- package/dist/modules/n8n-packages/entities/skill/skill-importer.js +245 -0
- package/dist/modules/n8n-packages/entities/skill/skill-importer.js.map +1 -0
- package/dist/modules/n8n-packages/entities/skill/skill.exporter.d.ts +20 -0
- package/dist/modules/n8n-packages/entities/skill/skill.exporter.js +58 -0
- package/dist/modules/n8n-packages/entities/skill/skill.exporter.js.map +1 -0
- package/dist/modules/n8n-packages/entities/tag/tag-importer.js +1 -2
- package/dist/modules/n8n-packages/entities/tag/tag-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable-importer.js +9 -2
- package/dist/modules/n8n-packages/entities/variable/variable-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable.types.d.ts +5 -1
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js +2 -2
- package/dist/modules/n8n-packages/entities/workflow/auto-included-workflow.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.d.ts +2 -1
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js +3 -3
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +5 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +9 -4
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +9 -26
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.d.ts +2 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js +11 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +2 -9
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.js +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-requirement.exporter.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.js +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-version-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/io/directory/directory-package-writer.js +2 -2
- package/dist/modules/n8n-packages/io/directory/directory-package-writer.js.map +1 -1
- package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.js +7 -6
- package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.js.map +1 -1
- package/dist/modules/n8n-packages/io/manifest-entry.d.ts +7 -2
- package/dist/modules/n8n-packages/io/manifest-entry.js +24 -6
- package/dist/modules/n8n-packages/io/manifest-entry.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.service.d.ts +11 -3
- package/dist/modules/n8n-packages/n8n-packages.service.js +56 -21
- package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +56 -16
- package/dist/modules/n8n-packages/n8n-packages.types.js +9 -3
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/package-failure-classifier.js +1 -2
- package/dist/modules/n8n-packages/package-failure-classifier.js.map +1 -1
- package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +59 -5
- package/dist/modules/n8n-packages/spec/manifest.schema.js +7 -3
- package/dist/modules/n8n-packages/spec/manifest.schema.js.map +1 -1
- package/dist/modules/n8n-packages/spec/requirement-consumers.d.ts +3 -0
- package/dist/modules/n8n-packages/spec/requirement-consumers.js +5 -1
- package/dist/modules/n8n-packages/spec/requirement-consumers.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/agent.schema.d.ts +50 -87
- package/dist/modules/n8n-packages/spec/serialized/agent.schema.js +0 -2
- package/dist/modules/n8n-packages/spec/serialized/agent.schema.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/skill.schema.d.ts +97 -0
- package/dist/modules/n8n-packages/spec/serialized/skill.schema.js +16 -0
- package/dist/modules/n8n-packages/spec/serialized/skill.schema.js.map +1 -0
- package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.js +3 -3
- package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-key.service.js +6 -5
- package/dist/modules/oauth-jwe/oauth-jwe-key.service.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.utils.js +2 -2
- package/dist/modules/oauth-jwe/oauth-jwe.utils.js.map +1 -1
- package/dist/modules/oauth-server/database/repositories/oauth-grant.repository.js +2 -2
- package/dist/modules/oauth-server/database/repositories/oauth-grant.repository.js.map +1 -1
- package/dist/modules/oauth-server/oauth-consent.controller.js +1 -2
- package/dist/modules/oauth-server/oauth-consent.controller.js.map +1 -1
- package/dist/modules/oauth-server/oauth-consent.service.js +4 -5
- package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-flow.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-flow.service.js +7 -7
- package/dist/modules/oauth-server/oauth-flow.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-server.service.js +3 -1
- package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.service.js +4 -3
- package/dist/modules/oauth-server/oauth-signing-key.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-token.service.js +2 -2
- package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
- package/dist/modules/otel/caller-baggage.d.ts +3 -0
- package/dist/modules/otel/caller-baggage.js +27 -0
- package/dist/modules/otel/caller-baggage.js.map +1 -0
- package/dist/modules/otel/execution-level-tracer.d.ts +4 -7
- package/dist/modules/otel/execution-level-tracer.js +39 -14
- package/dist/modules/otel/execution-level-tracer.js.map +1 -1
- package/dist/modules/otel/otel-configure-hook.d.ts +20 -0
- package/dist/modules/otel/otel-configure-hook.js +79 -0
- package/dist/modules/otel/otel-configure-hook.js.map +1 -0
- package/dist/modules/otel/otel-exporter.factory.d.ts +21 -0
- package/dist/modules/otel/otel-exporter.factory.js +121 -0
- package/dist/modules/otel/otel-exporter.factory.js.map +1 -0
- package/dist/modules/otel/otel-lifecycle-handler.js +2 -1
- package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
- package/dist/modules/otel/otel-settings.controller.d.ts +1 -7
- package/dist/modules/otel/otel-settings.controller.js +3 -11
- package/dist/modules/otel/otel-settings.controller.js.map +1 -1
- package/dist/modules/otel/otel-settings.service.d.ts +11 -2
- package/dist/modules/otel/otel-settings.service.js +37 -24
- package/dist/modules/otel/otel-settings.service.js.map +1 -1
- package/dist/modules/otel/otel-span-exporter.d.ts +4 -0
- package/dist/modules/otel/otel-span-exporter.js +38 -0
- package/dist/modules/otel/otel-span-exporter.js.map +1 -0
- package/dist/modules/otel/otel.constants.d.ts +1 -0
- package/dist/modules/otel/otel.constants.js +5 -0
- package/dist/modules/otel/otel.constants.js.map +1 -1
- package/dist/modules/otel/otel.module.js +11 -1
- package/dist/modules/otel/otel.module.js.map +1 -1
- package/dist/modules/otel/otel.service.d.ts +28 -26
- package/dist/modules/otel/otel.service.js +136 -202
- package/dist/modules/otel/otel.service.js.map +1 -1
- package/dist/modules/otel/tracing-context.d.ts +2 -5
- package/dist/modules/otel/tracing-context.js.map +1 -1
- package/dist/modules/policy-infrastructure/policy-check-failed.error.d.ts +1 -1
- package/dist/modules/policy-infrastructure/policy-check-failed.error.js +2 -2
- package/dist/modules/policy-infrastructure/policy-check-failed.error.js.map +1 -1
- package/dist/modules/policy-infrastructure/policy-decision.service.js +2 -2
- package/dist/modules/policy-infrastructure/policy-decision.service.js.map +1 -1
- package/dist/modules/promotions.ee/apply-preview.d.ts +21 -0
- package/dist/modules/promotions.ee/apply-preview.js +435 -0
- package/dist/modules/promotions.ee/apply-preview.js.map +1 -0
- package/dist/modules/promotions.ee/apply-preview.service.d.ts +37 -0
- package/dist/modules/promotions.ee/apply-preview.service.js +175 -0
- package/dist/modules/promotions.ee/apply-preview.service.js.map +1 -0
- package/dist/modules/promotions.ee/base-branch-files.js +2 -5
- package/dist/modules/promotions.ee/base-branch-files.js.map +1 -1
- package/dist/modules/promotions.ee/cross-project-moves.d.ts +2 -3
- package/dist/modules/promotions.ee/cross-project-moves.js +2 -9
- package/dist/modules/promotions.ee/cross-project-moves.js.map +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.d.ts +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js +1 -2
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js.map +1 -1
- package/dist/modules/promotions.ee/database/promotion-conflict.error.d.ts +1 -1
- package/dist/modules/promotions.ee/database/promotion-conflict.error.js +2 -2
- package/dist/modules/promotions.ee/database/promotion-conflict.error.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.d.ts +3 -3
- package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.js +5 -4
- package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.d.ts +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js +2 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.d.ts +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js +4 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js.map +1 -1
- package/dist/modules/promotions.ee/git-commit-package-reader.d.ts +9 -0
- package/dist/modules/promotions.ee/git-commit-package-reader.js +33 -0
- package/dist/modules/promotions.ee/git-commit-package-reader.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-remote.d.ts +1 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-remote.js +4 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-remote.js.map +1 -1
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js +2 -2
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js.map +1 -1
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.js +6 -7
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.js.map +1 -1
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.d.ts +39 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.js +3 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.js.map +1 -1
- package/dist/modules/promotions.ee/import-manifest-bridge.js +13 -6
- package/dist/modules/promotions.ee/import-manifest-bridge.js.map +1 -1
- package/dist/modules/promotions.ee/instance-package.d.ts +18 -0
- package/dist/modules/promotions.ee/instance-package.js +49 -0
- package/dist/modules/promotions.ee/instance-package.js.map +1 -0
- package/dist/modules/promotions.ee/local-package-entities.service.d.ts +27 -0
- package/dist/modules/promotions.ee/local-package-entities.service.js +63 -0
- package/dist/modules/promotions.ee/local-package-entities.service.js.map +1 -0
- package/dist/modules/promotions.ee/package-references.d.ts +25 -0
- package/dist/modules/promotions.ee/package-references.js +87 -0
- package/dist/modules/promotions.ee/package-references.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-change.service.d.ts +10 -18
- package/dist/modules/promotions.ee/promotion-change.service.js +140 -222
- package/dist/modules/promotions.ee/promotion-change.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-changes.controller.d.ts +2 -5
- package/dist/modules/promotions.ee/promotion-changes.controller.js +6 -21
- package/dist/modules/promotions.ee/promotion-changes.controller.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-environments.service.d.ts +11 -5
- package/dist/modules/promotions.ee/promotion-environments.service.js +78 -14
- package/dist/modules/promotions.ee/promotion-environments.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-preview.d.ts +4 -15
- package/dist/modules/promotions.ee/promotion-preview.js +26 -43
- package/dist/modules/promotions.ee/promotion-preview.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-providers.service.d.ts +9 -4
- package/dist/modules/promotions.ee/promotion-providers.service.js +44 -7
- package/dist/modules/promotions.ee/promotion-providers.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-review-changes.service.js +65 -24
- package/dist/modules/promotions.ee/promotion-review-changes.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-review-commits-missing.error.d.ts +4 -0
- package/dist/modules/promotions.ee/promotion-review-commits-missing.error.js +11 -0
- package/dist/modules/promotions.ee/promotion-review-commits-missing.error.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-review-inbox.service.d.ts +5 -1
- package/dist/modules/promotions.ee/promotion-review-inbox.service.js +42 -8
- package/dist/modules/promotions.ee/promotion-review-inbox.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-reviews.controller.js +6 -6
- package/dist/modules/promotions.ee/promotion-reviews.controller.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-reviews.service.d.ts +3 -1
- package/dist/modules/promotions.ee/promotion-reviews.service.js +11 -3
- package/dist/modules/promotions.ee/promotion-reviews.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-telemetry.d.ts +12 -0
- package/dist/modules/promotions.ee/promotion-telemetry.js +46 -0
- package/dist/modules/promotions.ee/promotion-telemetry.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-working-directory.service.js +2 -1
- package/dist/modules/promotions.ee/promotion-working-directory.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions-git.error.d.ts +5 -0
- package/dist/modules/promotions.ee/promotions-git.error.js +11 -0
- package/dist/modules/promotions.ee/promotions-git.error.js.map +1 -0
- package/dist/modules/promotions.ee/promotions-git.service.js +28 -9
- package/dist/modules/promotions.ee/promotions-git.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.module.d.ts +1 -1
- package/dist/modules/promotions.ee/promotions.module.js +1 -1
- package/dist/modules/promotions.ee/promotions.module.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.service.d.ts +20 -7
- package/dist/modules/promotions.ee/promotions.service.js +262 -208
- package/dist/modules/promotions.ee/promotions.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.types.d.ts +1 -0
- package/dist/modules/promotions.ee/working-copy-updater.js +8 -2
- package/dist/modules/promotions.ee/working-copy-updater.js.map +1 -1
- package/dist/modules/provisioning.ee/provisioning.service.ee.js +5 -0
- package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
- package/dist/modules/redaction/instance-redaction-enforcement.service.js +2 -2
- package/dist/modules/redaction/instance-redaction-enforcement.service.js.map +1 -1
- package/dist/modules/scim/database/scim-transfer-target.repository.d.ts +18 -0
- package/dist/modules/scim/database/scim-transfer-target.repository.js +81 -0
- package/dist/modules/scim/database/scim-transfer-target.repository.js.map +1 -0
- package/dist/modules/scim/database/scim-user.repository.d.ts +2 -2
- package/dist/modules/scim/database/scim-user.repository.js +3 -3
- package/dist/modules/scim/database/scim-user.repository.js.map +1 -1
- package/dist/modules/scim/scim-deprovisioning.service.d.ts +27 -0
- package/dist/modules/scim/scim-deprovisioning.service.js +101 -0
- package/dist/modules/scim/scim-deprovisioning.service.js.map +1 -0
- package/dist/modules/scim/scim-opt-in.d.ts +3 -0
- package/dist/modules/scim/scim-opt-in.js +13 -0
- package/dist/modules/scim/scim-opt-in.js.map +1 -0
- package/dist/modules/scim/scim-route.js +2 -1
- package/dist/modules/scim/scim-route.js.map +1 -1
- package/dist/modules/scim/scim-settings.service.d.ts +4 -0
- package/dist/modules/scim/scim-settings.service.js +17 -1
- package/dist/modules/scim/scim-settings.service.js.map +1 -1
- package/dist/modules/scim/scim-token.controller.d.ts +8 -3
- package/dist/modules/scim/scim-token.controller.js +44 -3
- package/dist/modules/scim/scim-token.controller.js.map +1 -1
- package/dist/modules/scim/scim.errors.d.ts +1 -1
- package/dist/modules/scim/scim.errors.js +8 -8
- package/dist/modules/scim/scim.errors.js.map +1 -1
- package/dist/modules/scim/scim.module.d.ts +1 -0
- package/dist/modules/scim/scim.module.js +9 -1
- package/dist/modules/scim/scim.module.js.map +1 -1
- package/dist/modules/scim/scim.service.d.ts +6 -2
- package/dist/modules/scim/scim.service.js +91 -80
- package/dist/modules/scim/scim.service.js.map +1 -1
- package/dist/modules/skills/controllers/skill-source.controller.d.ts +21 -0
- package/dist/modules/skills/controllers/skill-source.controller.js +107 -0
- package/dist/modules/skills/controllers/skill-source.controller.js.map +1 -0
- package/dist/modules/skills/{skills.controller.d.ts → controllers/skills.controller.d.ts} +8 -6
- package/dist/modules/skills/{skills.controller.js → controllers/skills.controller.js} +44 -17
- package/dist/modules/skills/controllers/skills.controller.js.map +1 -0
- package/dist/modules/skills/database/entities/skill-file.entity.js.map +1 -0
- package/dist/modules/skills/database/entities/skill-source-connection.entity.d.ts +17 -0
- package/dist/modules/skills/database/entities/skill-source-connection.entity.js +66 -0
- package/dist/modules/skills/database/entities/skill-source-connection.entity.js.map +1 -0
- package/dist/modules/skills/database/entities/skill-source-link.entity.d.ts +16 -0
- package/dist/modules/skills/database/entities/skill-source-link.entity.js +70 -0
- package/dist/modules/skills/database/entities/skill-source-link.entity.js.map +1 -0
- package/dist/modules/skills/{skill-version.entity.d.ts → database/entities/skill-version.entity.d.ts} +1 -0
- package/dist/modules/skills/{skill-version.entity.js → database/entities/skill-version.entity.js} +4 -0
- package/dist/modules/skills/database/entities/skill-version.entity.js.map +1 -0
- package/dist/modules/skills/{skill.entity.d.ts → database/entities/skill.entity.d.ts} +0 -1
- package/dist/modules/skills/{skill.entity.js → database/entities/skill.entity.js} +0 -5
- package/dist/modules/skills/database/entities/skill.entity.js.map +1 -0
- package/dist/modules/skills/database/repositories/skill-source.repository.d.ts +63 -0
- package/dist/modules/skills/database/repositories/skill-source.repository.js +178 -0
- package/dist/modules/skills/database/repositories/skill-source.repository.js.map +1 -0
- package/dist/modules/skills/{skill.repository.d.ts → database/repositories/skill.repository.d.ts} +28 -33
- package/dist/modules/skills/{skill.repository.js → database/repositories/skill.repository.js} +102 -97
- package/dist/modules/skills/database/repositories/skill.repository.js.map +1 -0
- package/dist/modules/skills/errors/skill-name-taken.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-parse.error.d.ts +3 -0
- package/dist/modules/skills/errors/skill-parse.error.js +8 -0
- package/dist/modules/skills/errors/skill-parse.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-source-not-found.error.d.ts +7 -0
- package/dist/modules/skills/errors/skill-source-not-found.error.js +13 -0
- package/dist/modules/skills/errors/skill-source-not-found.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-source-read.error.d.ts +9 -0
- package/dist/modules/skills/errors/skill-source-read.error.js +14 -0
- package/dist/modules/skills/errors/skill-source-read.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-source-request.error.d.ts +13 -0
- package/dist/modules/skills/errors/skill-source-request.error.js +59 -0
- package/dist/modules/skills/errors/skill-source-request.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-source-url.error.d.ts +3 -0
- package/dist/modules/skills/errors/skill-source-url.error.js +8 -0
- package/dist/modules/skills/errors/skill-source-url.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-synced.error.d.ts +9 -0
- package/dist/modules/skills/errors/skill-synced.error.js +25 -0
- package/dist/modules/skills/errors/skill-synced.error.js.map +1 -0
- package/dist/modules/skills/errors/skill-tool-refusal.d.ts +14 -0
- package/dist/modules/skills/errors/skill-tool-refusal.js +24 -0
- package/dist/modules/skills/errors/skill-tool-refusal.js.map +1 -0
- package/dist/modules/skills/index.d.ts +15 -0
- package/dist/modules/skills/index.js +38 -0
- package/dist/modules/skills/index.js.map +1 -0
- package/dist/modules/skills/services/assistant-skills-flag-gate.d.ts +8 -0
- package/dist/modules/skills/{assistant-skills-rollout.js → services/assistant-skills-flag-gate.js} +12 -12
- package/dist/modules/skills/services/assistant-skills-flag-gate.js.map +1 -0
- package/dist/modules/skills/services/skill-access.service.d.ts +32 -0
- package/dist/modules/skills/services/skill-access.service.js +133 -0
- package/dist/modules/skills/services/skill-access.service.js.map +1 -0
- package/dist/modules/skills/services/skill-runtime.service.d.ts +47 -0
- package/dist/modules/skills/services/skill-runtime.service.js +155 -0
- package/dist/modules/skills/services/skill-runtime.service.js.map +1 -0
- package/dist/modules/skills/services/skill-security-scanner.service.d.ts +8 -0
- package/dist/modules/skills/services/skill-security-scanner.service.js +45 -0
- package/dist/modules/skills/services/skill-security-scanner.service.js.map +1 -0
- package/dist/modules/skills/services/skill-source-check.task.d.ts +12 -0
- package/dist/modules/skills/services/skill-source-check.task.js +36 -0
- package/dist/modules/skills/services/skill-source-check.task.js.map +1 -0
- package/dist/modules/skills/services/skill-source-credentials-proxy.service.d.ts +12 -0
- package/dist/modules/skills/services/skill-source-credentials-proxy.service.js +45 -0
- package/dist/modules/skills/services/skill-source-credentials-proxy.service.js.map +1 -0
- package/dist/modules/skills/services/skill-source-credentials.contracts.d.ts +17 -0
- package/dist/modules/skills/services/skill-source-credentials.contracts.js +7 -0
- package/dist/modules/skills/services/skill-source-credentials.contracts.js.map +1 -0
- package/dist/modules/skills/services/skill-source.policy.d.ts +4 -0
- package/dist/modules/skills/services/skill-source.policy.js +21 -0
- package/dist/modules/skills/services/skill-source.policy.js.map +1 -0
- package/dist/modules/skills/services/skill-source.service.d.ts +40 -0
- package/dist/modules/skills/services/skill-source.service.js +482 -0
- package/dist/modules/skills/services/skill-source.service.js.map +1 -0
- package/dist/modules/skills/services/skill-sync-flag-gate.d.ts +10 -0
- package/dist/modules/skills/services/skill-sync-flag-gate.js +39 -0
- package/dist/modules/skills/services/skill-sync-flag-gate.js.map +1 -0
- package/dist/modules/skills/services/skill-sync.service.d.ts +39 -0
- package/dist/modules/skills/services/skill-sync.service.js +345 -0
- package/dist/modules/skills/services/skill-sync.service.js.map +1 -0
- package/dist/modules/skills/services/skill-synced-from.service.d.ts +16 -0
- package/dist/modules/skills/services/skill-synced-from.service.js +58 -0
- package/dist/modules/skills/services/skill-synced-from.service.js.map +1 -0
- package/dist/modules/skills/services/skill-usage-proxy.service.d.ts +20 -0
- package/dist/modules/skills/services/skill-usage-proxy.service.js +71 -0
- package/dist/modules/skills/services/skill-usage-proxy.service.js.map +1 -0
- package/dist/modules/skills/services/skill-usage.contracts.d.ts +20 -0
- package/dist/modules/skills/services/skill-usage.contracts.js +7 -0
- package/dist/modules/skills/services/skill-usage.contracts.js.map +1 -0
- package/dist/modules/skills/services/skill.policy.d.ts +13 -0
- package/dist/modules/skills/services/skill.policy.js +67 -0
- package/dist/modules/skills/services/skill.policy.js.map +1 -0
- package/dist/modules/skills/services/skill.service.d.ts +81 -0
- package/dist/modules/skills/services/skill.service.js +550 -0
- package/dist/modules/skills/services/skill.service.js.map +1 -0
- package/dist/modules/skills/services/skills-gate.d.ts +6 -0
- package/dist/modules/{instance-ai/repositories/instance-ai-iteration-log.repository.js → skills/services/skills-gate.js} +13 -11
- package/dist/modules/skills/services/skills-gate.js.map +1 -0
- package/dist/modules/skills/services/skills-telemetry.service.d.ts +38 -0
- package/dist/modules/skills/{skills-telemetry.js → services/skills-telemetry.service.js} +57 -23
- package/dist/modules/skills/services/skills-telemetry.service.js.map +1 -0
- package/dist/modules/skills/skill-sync.config.d.ts +3 -0
- package/dist/modules/skills/skill-sync.config.js +28 -0
- package/dist/modules/skills/skill-sync.config.js.map +1 -0
- package/dist/modules/skills/skills.module.d.ts +2 -1
- package/dist/modules/skills/skills.module.js +15 -8
- package/dist/modules/skills/skills.module.js.map +1 -1
- package/dist/modules/skills/sources/github/git-refs.d.ts +7 -0
- package/dist/modules/skills/sources/github/git-refs.js +57 -0
- package/dist/modules/skills/sources/github/git-refs.js.map +1 -0
- package/dist/modules/skills/sources/github/github-archive.d.ts +20 -0
- package/dist/modules/skills/sources/github/github-archive.js +126 -0
- package/dist/modules/skills/sources/github/github-archive.js.map +1 -0
- package/dist/modules/skills/sources/github/github-link.d.ts +14 -0
- package/dist/modules/skills/sources/github/github-link.js +75 -0
- package/dist/modules/skills/sources/github/github-link.js.map +1 -0
- package/dist/modules/skills/sources/github/github-skill-source-client.d.ts +52 -0
- package/dist/modules/skills/sources/github/github-skill-source-client.js +411 -0
- package/dist/modules/skills/sources/github/github-skill-source-client.js.map +1 -0
- package/dist/modules/skills/sources/github/skill-discovery.d.ts +13 -0
- package/dist/modules/skills/sources/github/skill-discovery.js +85 -0
- package/dist/modules/skills/sources/github/skill-discovery.js.map +1 -0
- package/dist/modules/skills/sources/skill-source-client-registry.service.d.ts +7 -0
- package/dist/modules/skills/sources/skill-source-client-registry.service.js +33 -0
- package/dist/modules/skills/sources/skill-source-client-registry.service.js.map +1 -0
- package/dist/modules/skills/sources/skill-source-client.d.ts +75 -0
- package/dist/modules/skills/sources/skill-source-client.js +12 -0
- package/dist/modules/skills/sources/skill-source-client.js.map +1 -0
- package/dist/modules/skills/{skill-content-hash.d.ts → utils/skill-content-hash.d.ts} +1 -1
- package/dist/modules/skills/utils/skill-content-hash.js.map +1 -0
- package/dist/modules/skills/utils/skill-content.d.ts +156 -0
- package/dist/modules/skills/utils/skill-content.js +98 -0
- package/dist/modules/skills/utils/skill-content.js.map +1 -0
- package/dist/modules/skills/utils/skill-hash.js.map +1 -0
- package/dist/modules/skills/utils/skill-md.d.ts +11 -0
- package/dist/modules/skills/utils/skill-md.js +92 -0
- package/dist/modules/skills/utils/skill-md.js.map +1 -0
- package/dist/modules/skills/utils/skill-names.js.map +1 -0
- package/dist/modules/skills/utils/skill-security-rules.d.ts +16 -0
- package/dist/modules/skills/utils/skill-security-rules.js +306 -0
- package/dist/modules/skills/utils/skill-security-rules.js.map +1 -0
- package/dist/modules/source-control.ee/source-control-export.service.ee.d.ts +1 -1
- package/dist/modules/source-control.ee/source-control-export.service.ee.js +13 -13
- package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-git.service.ee.js +27 -27
- package/dist/modules/source-control.ee/source-control-git.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-helper.ee.js +2 -1
- package/dist/modules/source-control.ee/source-control-helper.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +6 -6
- package/dist/modules/source-control.ee/source-control-import.service.ee.js +32 -30
- package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-preferences.service.ee.js +14 -21
- package/dist/modules/source-control.ee/source-control-preferences.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-scoped.service.d.ts +1 -1
- package/dist/modules/source-control.ee/source-control-status.service.ee.js +1 -2
- package/dist/modules/source-control.ee/source-control-status.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control.service.ee.js +5 -5
- package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/types/resource-owner.d.ts +1 -1
- package/dist/modules/source-control.ee/types/source-control-context.js +3 -1
- package/dist/modules/source-control.ee/types/source-control-context.js.map +1 -1
- package/dist/modules/sso-oidc/oidc.service.ee.d.ts +3 -2
- package/dist/modules/sso-oidc/oidc.service.ee.js +13 -12
- package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
- package/dist/modules/sso-saml/errors/invalid-saml-metadata-url.error.d.ts +1 -1
- package/dist/modules/sso-saml/errors/invalid-saml-metadata-url.error.js +2 -2
- package/dist/modules/sso-saml/errors/invalid-saml-metadata-url.error.js.map +1 -1
- package/dist/modules/sso-saml/errors/invalid-saml-metadata.error.d.ts +1 -1
- package/dist/modules/sso-saml/errors/invalid-saml-metadata.error.js +2 -2
- package/dist/modules/sso-saml/errors/invalid-saml-metadata.error.js.map +1 -1
- package/dist/modules/sso-saml/saml-helpers.d.ts +2 -2
- package/dist/modules/sso-saml/saml-helpers.js +13 -16
- package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
- package/dist/modules/sso-saml/saml.service.ee.d.ts +3 -3
- package/dist/modules/sso-saml/saml.service.ee.js +17 -17
- package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
- package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.js +2 -1
- package/dist/modules/token-exchange/database/repositories/trusted-key-source.repository.js.map +1 -1
- package/dist/modules/token-exchange/services/identity-resolution.service.d.ts +3 -2
- package/dist/modules/token-exchange/services/identity-resolution.service.js +18 -19
- package/dist/modules/token-exchange/services/identity-resolution.service.js.map +1 -1
- package/dist/modules/token-exchange/services/jwks-resolver.js +6 -6
- package/dist/modules/token-exchange/services/jwks-resolver.js.map +1 -1
- package/dist/modules/token-exchange/services/trusted-key.service.js +12 -11
- package/dist/modules/token-exchange/services/trusted-key.service.js.map +1 -1
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-attachment.repository.js +4 -4
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-attachment.repository.js.map +1 -1
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js +2 -2
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy-snapshot.d.ts +1 -3
- package/dist/modules/type-availability-policies/type-availability-policy-snapshot.js +2 -11
- package/dist/modules/type-availability-policies/type-availability-policy-snapshot.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy.service.js +9 -9
- package/dist/modules/type-availability-policies/type-availability-policy.service.js.map +1 -1
- package/dist/modules/workflow-index/workflow-dependency-query.service.d.ts +1 -1
- package/dist/modules/workflow-index/workflow-dependency-query.service.js +15 -18
- package/dist/modules/workflow-index/workflow-dependency-query.service.js.map +1 -1
- package/dist/modules/workflow-index/workflow-index.service.d.ts +1 -0
- package/dist/modules/workflow-index/workflow-index.service.js +20 -1
- package/dist/modules/workflow-index/workflow-index.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +2 -2
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-request-submission.service.d.ts +3 -3
- package/dist/modules/workflow-reviews.ee/workflow-review-request-submission.service.js +6 -6
- package/dist/modules/workflow-reviews.ee/workflow-review-request-submission.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js +4 -0
- package/dist/modules/workflow-reviews.ee/workflow-review.mapper.js.map +1 -1
- package/dist/node-execution/ephemeral-node-executor.js +14 -14
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/node-types.js +3 -2
- package/dist/node-types.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +12 -1
- package/dist/oauth/oauth.service.js +71 -13
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/observability/agent-365-provider.d.ts +3 -0
- package/dist/observability/agent-365-provider.js +55 -0
- package/dist/observability/agent-365-provider.js.map +1 -0
- package/dist/observability/customer-sampling.d.ts +22 -0
- package/dist/observability/customer-sampling.js +53 -0
- package/dist/observability/customer-sampling.js.map +1 -0
- package/dist/observability/observability-boot.d.ts +1 -0
- package/dist/observability/observability-boot.js +18 -0
- package/dist/observability/observability-boot.js.map +1 -0
- package/dist/observability/otel-sdk.d.ts +24 -0
- package/dist/observability/otel-sdk.js +162 -0
- package/dist/observability/otel-sdk.js.map +1 -0
- package/dist/observability/outbound-propagator.d.ts +7 -0
- package/dist/observability/outbound-propagator.js +33 -0
- package/dist/observability/outbound-propagator.js.map +1 -0
- package/dist/observability/span-resource.d.ts +3 -0
- package/dist/observability/span-resource.js +9 -0
- package/dist/observability/span-resource.js.map +1 -0
- package/dist/observability/swappable-pipeline.d.ts +31 -0
- package/dist/observability/swappable-pipeline.js +84 -0
- package/dist/observability/swappable-pipeline.js.map +1 -0
- package/dist/observability/tracer-gate.d.ts +10 -0
- package/dist/observability/tracer-gate.js +39 -0
- package/dist/observability/tracer-gate.js.map +1 -0
- package/dist/observability/tracer-names.d.ts +6 -0
- package/dist/observability/tracer-names.js +10 -0
- package/dist/observability/tracer-names.js.map +1 -0
- package/dist/permissions.ee/check-access.js +2 -3
- package/dist/permissions.ee/check-access.js.map +1 -1
- package/dist/policy/policy-enforcement-backend.d.ts +1 -1
- package/dist/policy/policy-enforcement.service.js +2 -2
- package/dist/policy/policy-enforcement.service.js.map +1 -1
- package/dist/policy/policy-violation.error.d.ts +1 -1
- package/dist/policy/policy-violation.error.js +2 -1
- package/dist/policy/policy-violation.error.js.map +1 -1
- package/dist/public-api/idempotency-key.service.js +3 -3
- package/dist/public-api/idempotency-key.service.js.map +1 -1
- package/dist/public-api/index.js +3 -1
- package/dist/public-api/index.js.map +1 -1
- package/dist/public-api/public-api-client.d.ts +2 -0
- package/dist/public-api/public-api-client.js +9 -0
- package/dist/public-api/public-api-client.js.map +1 -0
- package/dist/public-api/public-api-controller.registry.js +3 -0
- package/dist/public-api/public-api-controller.registry.js.map +1 -1
- package/dist/public-api/public-api-rate-limit-settings.service.d.ts +7 -1
- package/dist/public-api/public-api-rate-limit-settings.service.js +29 -2
- package/dist/public-api/public-api-rate-limit-settings.service.js.map +1 -1
- package/dist/public-api/public-api-rate-limit-store.factory.d.ts +1 -0
- package/dist/public-api/public-api-rate-limit-store.factory.js +4 -0
- package/dist/public-api/public-api-rate-limit-store.factory.js.map +1 -1
- package/dist/public-api/public-api-rate-limit.service.d.ts +8 -6
- package/dist/public-api/public-api-rate-limit.service.js +56 -32
- package/dist/public-api/public-api-rate-limit.service.js.map +1 -1
- package/dist/public-api/public-api-route-resolver.js +4 -4
- package/dist/public-api/public-api-route-resolver.js.map +1 -1
- package/dist/public-api/swagger-spec.d.ts +4 -0
- package/dist/public-api/swagger-spec.js +25 -0
- package/dist/public-api/swagger-spec.js.map +1 -0
- package/dist/public-api/v1/controllers/credentials.public.controller.js +2 -0
- package/dist/public-api/v1/controllers/credentials.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/data-tables.public.controller.d.ts +1 -2
- package/dist/public-api/v1/controllers/data-tables.public.controller.js +20 -19
- package/dist/public-api/v1/controllers/data-tables.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/executions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/folders.public.controller.js +1 -2
- package/dist/public-api/v1/controllers/folders.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/index.d.ts +1 -0
- package/dist/public-api/v1/controllers/index.js +1 -0
- package/dist/public-api/v1/controllers/index.js.map +1 -1
- package/dist/public-api/v1/controllers/insights.public.controller.js +1 -2
- package/dist/public-api/v1/controllers/insights.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.js +2 -3
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.js +1 -2
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js +53 -16
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js.map +1 -1
- package/dist/public-api/v1/controllers/otel.public.controller.d.ts +1 -5
- package/dist/public-api/v1/controllers/otel.public.controller.js +3 -9
- package/dist/public-api/v1/controllers/otel.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/promotions.public.controller.d.ts +9 -8
- package/dist/public-api/v1/controllers/promotions.public.controller.js +113 -93
- package/dist/public-api/v1/controllers/promotions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/rate-limits.public.controller.d.ts +10 -0
- package/dist/public-api/v1/controllers/rate-limits.public.controller.js +84 -0
- package/dist/public-api/v1/controllers/rate-limits.public.controller.js.map +1 -0
- package/dist/public-api/v1/handlers/discover/discover.service.d.ts +0 -1
- package/dist/public-api/v1/handlers/discover/discover.service.js +2 -3
- package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/decorator-routes.d.ts +3 -2
- package/dist/public-api/v1/openapi-gen/decorator-routes.js +6 -18
- package/dist/public-api/v1/openapi-gen/decorator-routes.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/generate.js +7 -7
- package/dist/public-api/v1/openapi-gen/generate.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/request-body-json-schema.d.ts +3 -0
- package/dist/public-api/v1/openapi-gen/request-body-json-schema.js +19 -0
- package/dist/public-api/v1/openapi-gen/request-body-json-schema.js.map +1 -0
- package/dist/public-api/v1/openapi.yml +1282 -119
- package/dist/push/websocket.push.js +2 -2
- package/dist/push/websocket.push.js.map +1 -1
- package/dist/requests.d.ts +1 -0
- package/dist/scaling/constants.d.ts +2 -2
- package/dist/scaling/constants.js +2 -0
- package/dist/scaling/constants.js.map +1 -1
- package/dist/scaling/execution-stop.service.d.ts +3 -1
- package/dist/scaling/execution-stop.service.js +6 -2
- package/dist/scaling/execution-stop.service.js.map +1 -1
- package/dist/scaling/job-processor.d.ts +1 -0
- package/dist/scaling/job-processor.js +20 -7
- package/dist/scaling/job-processor.js.map +1 -1
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +7 -0
- package/dist/scaling/pubsub/pubsub.types.d.ts +3 -1
- package/dist/scaling/scaling.service.js +9 -7
- package/dist/scaling/scaling.service.js.map +1 -1
- package/dist/scaling/scaling.types.d.ts +1 -0
- package/dist/scaling/webhook-response-relay.js +3 -2
- package/dist/scaling/webhook-response-relay.js.map +1 -1
- package/dist/scheduling/agent-scheduled-job-owner.js +2 -2
- package/dist/scheduling/agent-scheduled-job-owner.js.map +1 -1
- package/dist/scheduling/durable-job-provisioner.js +2 -2
- package/dist/scheduling/durable-job-provisioner.js.map +1 -1
- package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js +3 -3
- package/dist/scheduling/poll-trigger-node/poll-trigger-task-handler.js.map +1 -1
- package/dist/scheduling/resolve-task-trigger-node.js +2 -2
- package/dist/scheduling/resolve-task-trigger-node.js.map +1 -1
- package/dist/scheduling/schedule-columns.js +2 -2
- package/dist/scheduling/schedule-columns.js.map +1 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-task-handler.js +2 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-task-handler.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-job-registrar.js +2 -2
- package/dist/scheduling/system-tasks/system-task-job-registrar.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-runner.js +2 -2
- package/dist/scheduling/system-tasks/system-task-runner.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-timer.js +4 -4
- package/dist/scheduling/system-tasks/system-task-timer.js.map +1 -1
- package/dist/services/ai-gateway-browser-use.service.d.ts +30 -0
- package/dist/services/ai-gateway-browser-use.service.js +85 -0
- package/dist/services/ai-gateway-browser-use.service.js.map +1 -0
- package/dist/services/ai-gateway.service.d.ts +25 -4
- package/dist/services/ai-gateway.service.js +82 -39
- package/dist/services/ai-gateway.service.js.map +1 -1
- package/dist/services/dynamic-node-parameters.service.js +10 -5
- package/dist/services/dynamic-node-parameters.service.js.map +1 -1
- package/dist/services/engine-data-plane-proxy.service.d.ts +14 -2
- package/dist/services/engine-data-plane-proxy.service.js +14 -4
- package/dist/services/engine-data-plane-proxy.service.js.map +1 -1
- package/dist/services/engine-v2-dispatcher.service.d.ts +2 -1
- package/dist/services/engine-v2-dispatcher.service.js +47 -13
- package/dist/services/engine-v2-dispatcher.service.js.map +1 -1
- package/dist/services/engine-v2-manual-run-planner.js +7 -7
- package/dist/services/engine-v2-manual-run-planner.js.map +1 -1
- package/dist/services/engine-v2-workflow-payload.d.ts +14 -0
- package/dist/services/engine-v2-workflow-payload.js +14 -0
- package/dist/services/engine-v2-workflow-payload.js.map +1 -0
- package/dist/services/export.service.js +4 -4
- package/dist/services/export.service.js.map +1 -1
- package/dist/services/folder.service.js +4 -3
- package/dist/services/folder.service.js.map +1 -1
- package/dist/services/hooks.service.d.ts +7 -7
- package/dist/services/hooks.service.js +6 -6
- package/dist/services/hooks.service.js.map +1 -1
- package/dist/services/import.service.d.ts +1 -1
- package/dist/services/import.service.js +6 -7
- package/dist/services/import.service.js.map +1 -1
- package/dist/services/node-resource-explorer.service.js +1 -1
- package/dist/services/node-resource-explorer.service.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer.manifest.json +7 -2
- package/dist/services/ownership-transfer/ownership-transfer.service.d.ts +2 -0
- package/dist/services/ownership-transfer/ownership-transfer.service.js +5 -0
- package/dist/services/ownership-transfer/ownership-transfer.service.js.map +1 -1
- package/dist/services/ownership.service.d.ts +1 -0
- package/dist/services/ownership.service.js +10 -1
- package/dist/services/ownership.service.js.map +1 -1
- package/dist/services/process-internals.service.js +1 -1
- package/dist/services/process-internals.service.js.map +1 -1
- package/dist/services/project.service.ee.d.ts +7 -13
- package/dist/services/project.service.ee.js +37 -68
- package/dist/services/project.service.ee.js.map +1 -1
- package/dist/services/proxy-token-manager.js +2 -2
- package/dist/services/proxy-token-manager.js.map +1 -1
- package/dist/services/rate-limit.service.d.ts +4 -1
- package/dist/services/rate-limit.service.js +1 -0
- package/dist/services/rate-limit.service.js.map +1 -1
- package/dist/services/sandbox-settings.service.js +1 -2
- package/dist/services/sandbox-settings.service.js.map +1 -1
- package/dist/services/user.service.d.ts +19 -6
- package/dist/services/user.service.js +51 -36
- package/dist/services/user.service.js.map +1 -1
- package/dist/services/workflow-loader.service.d.ts +1 -1
- package/dist/services/workflow-loader.service.js +2 -2
- package/dist/services/workflow-loader.service.js.map +1 -1
- package/dist/services/workflow-review-policy.service.js +2 -1
- package/dist/services/workflow-review-policy.service.js.map +1 -1
- package/dist/services/workflow-statistics-rollup.service.js +2 -2
- package/dist/services/workflow-statistics-rollup.service.js.map +1 -1
- package/dist/services/workflow-statistics.service.js +10 -4
- package/dist/services/workflow-statistics.service.js.map +1 -1
- package/dist/shutdown/shutdown.service.d.ts +1 -1
- package/dist/shutdown/shutdown.service.js +6 -5
- package/dist/shutdown/shutdown.service.js.map +1 -1
- package/dist/sso.ee/scim-switch-reader.js.map +1 -1
- package/dist/task-runners/errors/missing-requirements.error.d.ts +1 -1
- package/dist/task-runners/errors/missing-requirements.error.js +2 -2
- package/dist/task-runners/errors/missing-requirements.error.js.map +1 -1
- package/dist/task-runners/errors/task-cancelled.error.d.ts +1 -1
- package/dist/task-runners/errors/task-cancelled.error.js +2 -2
- package/dist/task-runners/errors/task-cancelled.error.js.map +1 -1
- package/dist/task-runners/errors/task-request-timeout.error.d.ts +1 -1
- package/dist/task-runners/errors/task-request-timeout.error.js +2 -2
- package/dist/task-runners/errors/task-request-timeout.error.js.map +1 -1
- package/dist/task-runners/errors/task-runner-disconnected-error.d.ts +1 -1
- package/dist/task-runners/errors/task-runner-disconnected-error.js +2 -2
- package/dist/task-runners/errors/task-runner-disconnected-error.js.map +1 -1
- package/dist/task-runners/errors/task-runner-failed-heartbeat.error.d.ts +1 -1
- package/dist/task-runners/errors/task-runner-failed-heartbeat.error.js +2 -2
- package/dist/task-runners/errors/task-runner-failed-heartbeat.error.js.map +1 -1
- package/dist/task-runners/errors/task-runner-oom-error.d.ts +1 -1
- package/dist/task-runners/errors/task-runner-oom-error.js +2 -2
- package/dist/task-runners/errors/task-runner-oom-error.js.map +1 -1
- package/dist/task-runners/errors/task-runner-restart-loop-error.d.ts +1 -1
- package/dist/task-runners/errors/task-runner-restart-loop-error.js +2 -2
- package/dist/task-runners/errors/task-runner-restart-loop-error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-deferred.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-deferred.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-deferred.error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-reject.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-reject.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-reject.error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-requester-accept-timeout.error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-accept-timeout.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-accept-timeout.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-runner-accept-timeout.error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-execution-timeout.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-execution-timeout.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-runner-execution-timeout.error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-shutdown-timeout.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-shutdown-timeout.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-runner-shutdown-timeout.error.js.map +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.d.ts +1 -1
- package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.js +2 -2
- package/dist/task-runners/task-broker/errors/task-runner-unreachable.error.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker-server.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker-ws-server.js +2 -1
- package/dist/task-runners/task-broker/task-broker-ws-server.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker.service.js +7 -7
- package/dist/task-runners/task-broker/task-broker.service.js.map +1 -1
- package/dist/telemetry/index.d.ts +6 -0
- package/dist/telemetry/index.js +12 -4
- package/dist/telemetry/index.js.map +1 -1
- package/dist/user-management/email/user-management-mailer.d.ts +3 -3
- package/dist/user-management/email/user-management-mailer.js +10 -10
- package/dist/user-management/email/user-management-mailer.js.map +1 -1
- package/dist/utils/ai-service-retry.js +3 -3
- package/dist/utils/ai-service-retry.js.map +1 -1
- package/dist/utils/auth-fetch.js +3 -2
- package/dist/utils/auth-fetch.js.map +1 -1
- package/dist/utils.d.ts +0 -1
- package/dist/utils.js +0 -10
- package/dist/utils.js.map +1 -1
- package/dist/wait-tracker.d.ts +7 -1
- package/dist/wait-tracker.js +56 -7
- package/dist/wait-tracker.js.map +1 -1
- package/dist/webhooks/engine-v2-webhooks.d.ts +1 -0
- package/dist/webhooks/engine-v2-webhooks.js +19 -7
- package/dist/webhooks/engine-v2-webhooks.js.map +1 -1
- package/dist/webhooks/test-webhook-registrations.service.d.ts +1 -1
- package/dist/webhooks/test-webhook-registrations.service.js +2 -2
- package/dist/webhooks/test-webhook-registrations.service.js.map +1 -1
- package/dist/webhooks/test-webhooks.d.ts +4 -3
- package/dist/webhooks/test-webhooks.js +18 -5
- package/dist/webhooks/test-webhooks.js.map +1 -1
- package/dist/webhooks/waiting-forms.d.ts +13 -1
- package/dist/webhooks/waiting-forms.js +43 -0
- package/dist/webhooks/waiting-forms.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.d.ts +21 -2
- package/dist/webhooks/waiting-webhooks.js +97 -4
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-helpers.d.ts +5 -1
- package/dist/webhooks/webhook-helpers.js +37 -18
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook-last-node-response-extractor.d.ts +1 -1
- package/dist/webhooks/webhook-last-node-response-extractor.js +7 -6
- package/dist/webhooks/webhook-last-node-response-extractor.js.map +1 -1
- package/dist/webhooks/webhook.service.js +10 -2
- package/dist/webhooks/webhook.service.js.map +1 -1
- package/dist/webhooks/webhook.types.d.ts +4 -0
- package/dist/workflow-execute-additional-data.js +8 -7
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +1 -1
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.d.ts +1 -1
- package/dist/workflow-runner.js +16 -5
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/callable/callable-workflow-input.d.ts +16 -0
- package/dist/workflows/callable/callable-workflow-input.js +118 -0
- package/dist/workflows/callable/callable-workflow-input.js.map +1 -0
- package/dist/{modules/agents/tools/workflow-tool-workflow-loader.service.d.ts → workflows/callable/callable-workflow-loader.service.d.ts} +4 -4
- package/dist/{modules/agents/tools/workflow-tool-workflow-loader.service.js → workflows/callable/callable-workflow-loader.service.js} +8 -8
- package/dist/workflows/callable/callable-workflow-loader.service.js.map +1 -0
- package/dist/workflows/callable/callable-workflow-result.d.ts +5 -0
- package/dist/workflows/callable/callable-workflow-result.js +45 -0
- package/dist/workflows/callable/callable-workflow-result.js.map +1 -0
- package/dist/{modules/agents/tools/workflow-tool-unavailable-error.d.ts → workflows/callable/callable-workflow-unavailable.error.d.ts} +2 -2
- package/dist/workflows/callable/callable-workflow-unavailable.error.js +12 -0
- package/dist/workflows/callable/callable-workflow-unavailable.error.js.map +1 -0
- package/dist/workflows/execution-timeout-validation.js +2 -2
- package/dist/workflows/execution-timeout-validation.js.map +1 -1
- package/dist/workflows/publication/publication-status-reporter.js +2 -2
- package/dist/workflows/publication/publication-status-reporter.js.map +1 -1
- package/dist/workflows/publication/trigger-node-id-too-long.error.d.ts +2 -1
- package/dist/workflows/publication/trigger-node-id-too-long.error.js +2 -2
- package/dist/workflows/publication/trigger-node-id-too-long.error.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-applier.js +2 -2
- package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-outbox-consumer.js +8 -8
- package/dist/workflows/publication/workflow-publication-outbox-consumer.js.map +1 -1
- package/dist/workflows/triggers/engine-v2-active-triggers.js +2 -2
- package/dist/workflows/triggers/engine-v2-active-triggers.js.map +1 -1
- package/dist/workflows/triggers/trigger-execution-context.factory.js +3 -2
- package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
- package/dist/workflows/triggers/workflow-trigger-activator.js +3 -2
- package/dist/workflows/triggers/workflow-trigger-activator.js.map +1 -1
- package/dist/workflows/workflow-creation.service.d.ts +3 -1
- package/dist/workflows/workflow-creation.service.js +5 -2
- package/dist/workflows/workflow-creation.service.js.map +1 -1
- package/dist/workflows/workflow-engine-defaults.d.ts +11 -0
- package/dist/workflows/workflow-engine-defaults.js +35 -0
- package/dist/workflows/workflow-engine-defaults.js.map +1 -0
- package/dist/workflows/workflow-execution.service.d.ts +2 -5
- package/dist/workflows/workflow-execution.service.js +25 -17
- package/dist/workflows/workflow-execution.service.js.map +1 -1
- package/dist/workflows/workflow-history/workflow-history.service.js +5 -5
- package/dist/workflows/workflow-history/workflow-history.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +5 -2
- package/dist/workflows/workflow.service.ee.js +1 -1
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +10 -17
- package/dist/workflows/workflow.service.js.map +1 -1
- package/dist/workflows/workflows.controller.d.ts +1 -5
- package/package.json +57 -53
- package/dist/modules/agents/agent-queued-preview-stream.service.js.map +0 -1
- package/dist/modules/agents/agent-skill-usage.service.d.ts +0 -40
- package/dist/modules/agents/agent-skill-usage.service.js +0 -137
- package/dist/modules/agents/agent-skill-usage.service.js.map +0 -1
- package/dist/modules/agents/builder/agent-builder-preview-path.d.ts +0 -1
- package/dist/modules/agents/builder/agent-builder-preview-path.js.map +0 -1
- package/dist/modules/agents/builder/agents-builder-model-recommendations.d.ts +0 -4
- package/dist/modules/agents/builder/agents-builder-model-recommendations.js +0 -123
- package/dist/modules/agents/builder/agents-builder-model-recommendations.js.map +0 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.d.ts +0 -5
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js +0 -104
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js.map +0 -1
- package/dist/modules/agents/builder/skills/research.skill.d.ts +0 -2
- package/dist/modules/agents/builder/skills/research.skill.js +0 -45
- package/dist/modules/agents/builder/skills/research.skill.js.map +0 -1
- package/dist/modules/agents/episodic-memory.d.ts +0 -2
- package/dist/modules/agents/episodic-memory.js +0 -9
- package/dist/modules/agents/episodic-memory.js.map +0 -1
- package/dist/modules/agents/observation-log-observer.d.ts +0 -2
- package/dist/modules/agents/observation-log-observer.js +0 -10
- package/dist/modules/agents/observation-log-observer.js.map +0 -1
- package/dist/modules/agents/observation-log-reflector.d.ts +0 -2
- package/dist/modules/agents/observation-log-reflector.js +0 -9
- package/dist/modules/agents/observation-log-reflector.js.map +0 -1
- package/dist/modules/agents/plans/agent-plan-work-state.js +0 -13
- package/dist/modules/agents/plans/agent-plan-work-state.js.map +0 -1
- package/dist/modules/agents/register-skill-agents-provider.d.ts +0 -1
- package/dist/modules/agents/register-skill-agents-provider.js +0 -10
- package/dist/modules/agents/register-skill-agents-provider.js.map +0 -1
- package/dist/modules/agents/tools/workflow-tool-unavailable-error.js +0 -12
- package/dist/modules/agents/tools/workflow-tool-unavailable-error.js.map +0 -1
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js.map +0 -1
- package/dist/modules/data-table/csv-parser.service.d.ts +0 -34
- package/dist/modules/data-table/csv-parser.service.js +0 -179
- package/dist/modules/data-table/csv-parser.service.js.map +0 -1
- package/dist/modules/data-table/data-table-aggregate.controller.d.ts +0 -14
- package/dist/modules/data-table/data-table-aggregate.controller.js +0 -50
- package/dist/modules/data-table/data-table-aggregate.controller.js.map +0 -1
- package/dist/modules/data-table/data-table-aggregate.service.d.ts +0 -18
- package/dist/modules/data-table/data-table-aggregate.service.js +0 -56
- package/dist/modules/data-table/data-table-aggregate.service.js.map +0 -1
- package/dist/modules/data-table/data-table-column.entity.d.ts +0 -9
- package/dist/modules/data-table/data-table-column.entity.js.map +0 -1
- package/dist/modules/data-table/data-table-column.repository.d.ts +0 -38
- package/dist/modules/data-table/data-table-column.repository.js +0 -192
- package/dist/modules/data-table/data-table-column.repository.js.map +0 -1
- package/dist/modules/data-table/data-table-csv-import.service.d.ts +0 -21
- package/dist/modules/data-table/data-table-csv-import.service.js +0 -121
- package/dist/modules/data-table/data-table-csv-import.service.js.map +0 -1
- package/dist/modules/data-table/data-table-ddl.service.d.ts +0 -13
- package/dist/modules/data-table/data-table-ddl.service.js +0 -77
- package/dist/modules/data-table/data-table-ddl.service.js.map +0 -1
- package/dist/modules/data-table/data-table-file-cleanup.service.d.ts +0 -12
- package/dist/modules/data-table/data-table-file-cleanup.service.js +0 -83
- package/dist/modules/data-table/data-table-file-cleanup.service.js.map +0 -1
- package/dist/modules/data-table/data-table-file-cleanup.task.d.ts +0 -13
- package/dist/modules/data-table/data-table-file-cleanup.task.js +0 -33
- package/dist/modules/data-table/data-table-file-cleanup.task.js.map +0 -1
- package/dist/modules/data-table/data-table-permissions.d.ts +0 -7
- package/dist/modules/data-table/data-table-permissions.js +0 -20
- package/dist/modules/data-table/data-table-permissions.js.map +0 -1
- package/dist/modules/data-table/data-table-proxy.service.d.ts +0 -64
- package/dist/modules/data-table/data-table-proxy.service.js +0 -213
- package/dist/modules/data-table/data-table-proxy.service.js.map +0 -1
- package/dist/modules/data-table/data-table-rows.repository.d.ts +0 -35
- package/dist/modules/data-table/data-table-rows.repository.js +0 -438
- package/dist/modules/data-table/data-table-rows.repository.js.map +0 -1
- package/dist/modules/data-table/data-table-size-validator.service.d.ts +0 -17
- package/dist/modules/data-table/data-table-size-validator.service.js +0 -86
- package/dist/modules/data-table/data-table-size-validator.service.js.map +0 -1
- package/dist/modules/data-table/data-table-uploads.controller.d.ts +0 -13
- package/dist/modules/data-table/data-table-uploads.controller.js +0 -68
- package/dist/modules/data-table/data-table-uploads.controller.js.map +0 -1
- package/dist/modules/data-table/data-table.controller.d.ts +0 -91
- package/dist/modules/data-table/data-table.controller.js +0 -474
- package/dist/modules/data-table/data-table.controller.js.map +0 -1
- package/dist/modules/data-table/data-table.entity.d.ts +0 -9
- package/dist/modules/data-table/data-table.entity.js +0 -46
- package/dist/modules/data-table/data-table.entity.js.map +0 -1
- package/dist/modules/data-table/data-table.module.d.ts +0 -10
- package/dist/modules/data-table/data-table.module.js +0 -67
- package/dist/modules/data-table/data-table.module.js.map +0 -1
- package/dist/modules/data-table/data-table.repository.d.ts +0 -38
- package/dist/modules/data-table/data-table.repository.js +0 -317
- package/dist/modules/data-table/data-table.repository.js.map +0 -1
- package/dist/modules/data-table/data-table.service.d.ts +0 -120
- package/dist/modules/data-table/data-table.service.js +0 -590
- package/dist/modules/data-table/data-table.service.js.map +0 -1
- package/dist/modules/data-table/data-table.types.d.ts +0 -3
- package/dist/modules/data-table/data-table.types.js +0 -10
- package/dist/modules/data-table/data-table.types.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-access-denied.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-access-denied.error.js +0 -13
- package/dist/modules/data-table/errors/data-table-access-denied.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-column-name-conflict.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-column-name-conflict.error.js +0 -13
- package/dist/modules/data-table/errors/data-table-column-name-conflict.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-column-not-found.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-column-not-found.error.js +0 -11
- package/dist/modules/data-table/errors/data-table-column-not-found.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-file-upload.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-file-upload.error.js +0 -13
- package/dist/modules/data-table/errors/data-table-file-upload.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-name-conflict.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-name-conflict.error.js +0 -13
- package/dist/modules/data-table/errors/data-table-name-conflict.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-not-found.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-not-found.error.js +0 -11
- package/dist/modules/data-table/errors/data-table-not-found.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-system-column-name-conflict.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-system-column-name-conflict.error.js +0 -13
- package/dist/modules/data-table/errors/data-table-system-column-name-conflict.error.js.map +0 -1
- package/dist/modules/data-table/errors/data-table-validation.error.d.ts +0 -4
- package/dist/modules/data-table/errors/data-table-validation.error.js +0 -13
- package/dist/modules/data-table/errors/data-table-validation.error.js.map +0 -1
- package/dist/modules/data-table/multer-upload-middleware.d.ts +0 -22
- package/dist/modules/data-table/multer-upload-middleware.js +0 -145
- package/dist/modules/data-table/multer-upload-middleware.js.map +0 -1
- package/dist/modules/data-table/register-favorite-resolver.d.ts +0 -1
- package/dist/modules/data-table/register-favorite-resolver.js +0 -18
- package/dist/modules/data-table/register-favorite-resolver.js.map +0 -1
- package/dist/modules/data-table/types.d.ts +0 -12
- package/dist/modules/data-table/types.js +0 -7
- package/dist/modules/data-table/types.js.map +0 -1
- package/dist/modules/data-table/utils/pair-columns.d.ts +0 -27
- package/dist/modules/data-table/utils/pair-columns.js +0 -48
- package/dist/modules/data-table/utils/pair-columns.js.map +0 -1
- package/dist/modules/data-table/utils/sql-utils.d.ts +0 -24
- package/dist/modules/data-table/utils/sql-utils.js +0 -284
- package/dist/modules/data-table/utils/sql-utils.js.map +0 -1
- package/dist/modules/instance-ai/agent-preview-handoff.js.map +0 -1
- package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.d.ts +0 -7
- package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.js +0 -38
- package/dist/modules/instance-ai/entities/instance-ai-iteration-log.entity.js.map +0 -1
- package/dist/modules/instance-ai/format-agent-session-context.js.map +0 -1
- package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.d.ts +0 -5
- package/dist/modules/instance-ai/repositories/instance-ai-iteration-log.repository.js.map +0 -1
- package/dist/modules/instance-ai/storage/db-iteration-log-storage.d.ts +0 -9
- package/dist/modules/instance-ai/storage/db-iteration-log-storage.js +0 -45
- package/dist/modules/instance-ai/storage/db-iteration-log-storage.js.map +0 -1
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.d.ts +0 -39
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.js +0 -330
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.js.map +0 -1
- package/dist/modules/skills/assistant-skills-rollout.d.ts +0 -8
- package/dist/modules/skills/assistant-skills-rollout.js.map +0 -1
- package/dist/modules/skills/hub-assistant-skill-provider.service.d.ts +0 -12
- package/dist/modules/skills/hub-assistant-skill-provider.service.js +0 -45
- package/dist/modules/skills/hub-assistant-skill-provider.service.js.map +0 -1
- package/dist/modules/skills/skill-agents-proxy.service.d.ts +0 -39
- package/dist/modules/skills/skill-agents-proxy.service.js +0 -74
- package/dist/modules/skills/skill-agents-proxy.service.js.map +0 -1
- package/dist/modules/skills/skill-content-hash.js.map +0 -1
- package/dist/modules/skills/skill-file.entity.js.map +0 -1
- package/dist/modules/skills/skill-hash.js.map +0 -1
- package/dist/modules/skills/skill-name-taken.error.js.map +0 -1
- package/dist/modules/skills/skill-names.js.map +0 -1
- package/dist/modules/skills/skill-version.entity.js.map +0 -1
- package/dist/modules/skills/skill.entity.js.map +0 -1
- package/dist/modules/skills/skill.repository.js.map +0 -1
- package/dist/modules/skills/skill.service.d.ts +0 -90
- package/dist/modules/skills/skill.service.js +0 -404
- package/dist/modules/skills/skill.service.js.map +0 -1
- package/dist/modules/skills/skills-api.service.d.ts +0 -36
- package/dist/modules/skills/skills-api.service.js +0 -329
- package/dist/modules/skills/skills-api.service.js.map +0 -1
- package/dist/modules/skills/skills-telemetry.d.ts +0 -23
- package/dist/modules/skills/skills-telemetry.js.map +0 -1
- package/dist/modules/skills/skills.controller.js.map +0 -1
- /package/dist/modules/{instance-ai → agents}/format-agent-session-context.js +0 -0
- /package/dist/modules/skills/{skill-file.entity.d.ts → database/entities/skill-file.entity.d.ts} +0 -0
- /package/dist/modules/skills/{skill-file.entity.js → database/entities/skill-file.entity.js} +0 -0
- /package/dist/modules/skills/{skill-name-taken.error.d.ts → errors/skill-name-taken.error.d.ts} +0 -0
- /package/dist/modules/skills/{skill-name-taken.error.js → errors/skill-name-taken.error.js} +0 -0
- /package/dist/modules/skills/{skill-content-hash.js → utils/skill-content-hash.js} +0 -0
- /package/dist/modules/skills/{skill-hash.d.ts → utils/skill-hash.d.ts} +0 -0
- /package/dist/modules/skills/{skill-hash.js → utils/skill-hash.js} +0 -0
- /package/dist/modules/skills/{skill-names.d.ts → utils/skill-names.d.ts} +0 -0
- /package/dist/modules/skills/{skill-names.js → utils/skill-names.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-layout.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/package-layout.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"package-layout.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/package-layout.ts"],"names":[],"mappings":";;;;;;;;;;AACA,wCAAwC;AAExC,kGAAoG;AAEpG,sFAAiG;AAEjG,8DAI+B;AAQ/B,wBACC,OAAoC,EACpC,UAAU,GAAG,EAAE;IAEf,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,UAAU,CAAC,CAAC,CAAC;AAC5F,CAAC;AAED,0BACC,OAAoC,EACpC,UAAU,GAAG,EAAE;IAEf,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,MAAM,CAC5B,CAAC,KAAK,EAAE,EAAE,CACT,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,YAAY,CAAC;QAClD,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,UAAU,UAAU,CAAC,CACjD,CAAC;AACH,CAAC;AAOD,6BAAoC,EACnC,YAAY,EACZ,kBAAkB,GAKlB;IACA,OAAO,YAAY,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE;QACxC,MAAM,UAAU,GAAG,kBAAkB,EAAE,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;QAC3D,MAAM,WAAW,GAAG,UAAU,EAAE,IAAI,CAAC;QAErC,OAAO;YACN,GAAG,WAAW;YACd,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACrD,GAAG,CAAC,UAAU,EAAE,cAAc,KAAK,SAAS;gBAC3C,CAAC,CAAC,EAAE,qBAAqB,EAAE,UAAU,CAAC,cAAc,EAAE;gBACtD,CAAC,CAAC,EAAE,CAAC;SACN,CAAC;IACH,CAAC,CAAC,CAAC;AAC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AAU,CAAC;QAAE,OAAO,IAAI,CAAC;IACvD,MAAM,QAAQ,GAAG,gBAAgB,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACvD,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QAC5B,MAAM,IAAI,kBAAS,CAClB,wBAAwB,cAAc,6BAA6B,eAAe,wCAAwC,CAC1H,CAAC;IACH,CAAC;IACD,OAAO,QAAQ,CAAC;AACjB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PolicyDecision, PolicyViolation } from '@n8n/decorators';
|
|
2
|
+
import type { ImportPlanMode } from '../n8n-packages.types';
|
|
3
|
+
export declare function verdict(mode: ImportPlanMode, enforce: () => Promise<unknown>, evaluate: () => Promise<PolicyDecision>): Promise<{
|
|
4
|
+
violations: PolicyViolation[];
|
|
5
|
+
failed: boolean;
|
|
6
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.verdict = verdict;
|
|
4
|
+
const policy_violation_error_1 = require("../../../policy/policy-violation.error");
|
|
5
|
+
async function verdict(mode, enforce, evaluate) {
|
|
6
|
+
if (mode === 'check') {
|
|
7
|
+
const { violations, checkErrors = [] } = await evaluate();
|
|
8
|
+
return { violations, failed: checkErrors.length > 0 };
|
|
9
|
+
}
|
|
10
|
+
try {
|
|
11
|
+
await enforce();
|
|
12
|
+
return { violations: [], failed: false };
|
|
13
|
+
}
|
|
14
|
+
catch (error) {
|
|
15
|
+
if (!(error instanceof policy_violation_error_1.PolicyViolationError))
|
|
16
|
+
throw error;
|
|
17
|
+
return { violations: error.violations, failed: false };
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=policy-verdict.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"policy-verdict.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/policy-verdict.ts"],"names":[],"mappings":";;;AAEA,4EAAuE;AAQhE,KAAK,kBACX,IAAoB,EACpB,OAA+B,EAC/B,QAAuC;IAEvC,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;QACtB,MAAM,EAAE,UAAU,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,MAAM,QAAQ,EAAE,CAAC;QAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;IACvD,CAAC;IACD,IAAI,CAAC;QACJ,MAAM,OAAO,EAAE,CAAC;QAChB,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAC1C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAI,CAAC,CAAC,KAAK,YAAY,6CAAoB,CAAC;YAAE,MAAM,KAAK,CAAC;QAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IACxD,CAAC;AACF,CAAC"}
|
|
@@ -1,20 +1,33 @@
|
|
|
1
1
|
import { LicenseState } from '@n8n/backend-common';
|
|
2
2
|
import { ProjectImporter } from '../entities/project/project-importer';
|
|
3
|
-
import {
|
|
3
|
+
import type { ProjectImportPlan } from '../entities/project/project-import.types';
|
|
4
4
|
import type { PackageReader } from '../io/package-reader';
|
|
5
|
-
import type { ResolvedImportRequest, PackageImportSource } from '../n8n-packages.types';
|
|
6
|
-
import { ImportOrchestrator } from './import-orchestrator';
|
|
5
|
+
import type { BlockingIssue, ImportPlanMode, ResolvedImportRequest, PackageImportSource } from '../n8n-packages.types';
|
|
6
|
+
import { ImportOrchestrator, type ImportPlan } from './import-orchestrator';
|
|
7
7
|
import type { ImportOutcome } from './import-telemetry';
|
|
8
8
|
import { N8nPackageParser } from './n8n-package-parser';
|
|
9
|
-
import
|
|
9
|
+
import { PackageImportPreflight } from './package-import-preflight';
|
|
10
|
+
import type { ManifestEntry, PackageManifest } from '../spec/manifest.schema';
|
|
11
|
+
export interface PackageImportPlan {
|
|
12
|
+
request: ResolvedImportRequest;
|
|
13
|
+
manifest: PackageManifest;
|
|
14
|
+
projectPlan: ProjectImportPlan;
|
|
15
|
+
scopes: Array<{
|
|
16
|
+
project: ManifestEntry;
|
|
17
|
+
plan: ImportPlan;
|
|
18
|
+
}>;
|
|
19
|
+
issues: BlockingIssue[];
|
|
20
|
+
}
|
|
10
21
|
export declare class ProjectPackageImporter {
|
|
11
22
|
private readonly packageParser;
|
|
12
23
|
private readonly projectImporter;
|
|
13
24
|
private readonly importOrchestrator;
|
|
14
|
-
private readonly
|
|
25
|
+
private readonly importPreflight;
|
|
15
26
|
private readonly licenseState;
|
|
16
|
-
constructor(packageParser: N8nPackageParser, projectImporter: ProjectImporter, importOrchestrator: ImportOrchestrator,
|
|
27
|
+
constructor(packageParser: N8nPackageParser, projectImporter: ProjectImporter, importOrchestrator: ImportOrchestrator, importPreflight: PackageImportPreflight, licenseState: LicenseState);
|
|
17
28
|
import(request: ResolvedImportRequest, reader: PackageReader, manifest: PackageManifest, importSource: PackageImportSource): Promise<ImportOutcome>;
|
|
29
|
+
planImport(request: ResolvedImportRequest, reader: PackageReader, manifest: PackageManifest, importSource: PackageImportSource, mode: ImportPlanMode): Promise<PackageImportPlan>;
|
|
30
|
+
applyPlan(plan: PackageImportPlan): Promise<ImportOutcome>;
|
|
18
31
|
private buildImportContextForProject;
|
|
19
32
|
private assertAdequatePermissions;
|
|
20
33
|
}
|
|
@@ -14,11 +14,9 @@ const backend_common_1 = require("@n8n/backend-common");
|
|
|
14
14
|
const di_1 = require("@n8n/di");
|
|
15
15
|
const errors_1 = require("@n8n/errors");
|
|
16
16
|
const credential_conflict_policy_1 = require("../entities/credential/credential-conflict-policy");
|
|
17
|
-
const credential_missing_mode_1 = require("../entities/credential/credential-missing-mode");
|
|
18
17
|
const folder_conflict_policy_1 = require("../entities/folder/folder-conflict-policy");
|
|
19
18
|
const project_importer_1 = require("../entities/project/project-importer");
|
|
20
19
|
const workflow_importer_1 = require("../entities/workflow/workflow-importer");
|
|
21
|
-
const workflow_publisher_1 = require("../entities/workflow/workflow-publisher");
|
|
22
20
|
const n8n_packages_types_1 = require("../n8n-packages.types");
|
|
23
21
|
const import_gates_1 = require("./import-gates");
|
|
24
22
|
const import_blocked_error_1 = require("./import-blocked.error");
|
|
@@ -26,15 +24,25 @@ const package_layout_1 = require("./package-layout");
|
|
|
26
24
|
const import_orchestrator_1 = require("./import-orchestrator");
|
|
27
25
|
const import_result_1 = require("./import-result");
|
|
28
26
|
const n8n_package_parser_1 = require("./n8n-package-parser");
|
|
27
|
+
const package_import_preflight_1 = require("./package-import-preflight");
|
|
29
28
|
let ProjectPackageImporter = class ProjectPackageImporter {
|
|
30
|
-
constructor(packageParser, projectImporter, importOrchestrator,
|
|
29
|
+
constructor(packageParser, projectImporter, importOrchestrator, importPreflight, licenseState) {
|
|
31
30
|
this.packageParser = packageParser;
|
|
32
31
|
this.projectImporter = projectImporter;
|
|
33
32
|
this.importOrchestrator = importOrchestrator;
|
|
34
|
-
this.
|
|
33
|
+
this.importPreflight = importPreflight;
|
|
35
34
|
this.licenseState = licenseState;
|
|
36
35
|
}
|
|
37
36
|
async import(request, reader, manifest, importSource) {
|
|
37
|
+
const plan = await this.planImport(request, reader, manifest, importSource, 'enforce');
|
|
38
|
+
const refusal = plan.projectPlan.conflicts.map(project_importer_1.projectRefusalError).find((error) => error);
|
|
39
|
+
if (refusal)
|
|
40
|
+
throw refusal;
|
|
41
|
+
if (plan.issues.length > 0)
|
|
42
|
+
throw (0, import_blocked_error_1.toImportBlockedError)(plan.issues);
|
|
43
|
+
return await this.applyPlan(plan);
|
|
44
|
+
}
|
|
45
|
+
async planImport(request, reader, manifest, importSource, mode) {
|
|
38
46
|
this.assertAdequatePermissions(request, manifest);
|
|
39
47
|
const { selection } = request;
|
|
40
48
|
const selectedProjects = selection
|
|
@@ -46,7 +54,13 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
46
54
|
: allProjects;
|
|
47
55
|
const projectPlan = await this.projectImporter.plan(request.user, projects, request.projectConflictPolicy);
|
|
48
56
|
if (projectPlan.conflicts.length > 0) {
|
|
49
|
-
|
|
57
|
+
return {
|
|
58
|
+
request,
|
|
59
|
+
manifest,
|
|
60
|
+
projectPlan,
|
|
61
|
+
scopes: [],
|
|
62
|
+
issues: projectPlan.conflicts.map((conflict) => ({ type: 'project-conflict', ...conflict })),
|
|
63
|
+
};
|
|
50
64
|
}
|
|
51
65
|
const bundledVariables = (0, package_layout_1.needsBundledVariableValues)(request, (manifest.requirements?.variables?.length ?? 0) > 0)
|
|
52
66
|
? await this.packageParser.getVariables(reader)
|
|
@@ -54,32 +68,34 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
54
68
|
const packageCredentials = (0, package_layout_1.needsBundledCredentialFiles)(request, (manifest.requirements?.credentials?.length ?? 0) > 0)
|
|
55
69
|
? await this.packageParser.getCredentials(reader)
|
|
56
70
|
: undefined;
|
|
71
|
+
const packageSkills = !request.selection && manifest.agents?.length
|
|
72
|
+
? await this.packageParser.getSkills(reader)
|
|
73
|
+
: [];
|
|
57
74
|
const updateScope = (0, credential_conflict_policy_1.credentialUpdateScope)(selectedProjects.map(({ id }) => id));
|
|
58
75
|
const pendingCreateIds = new Set(projectPlan.items
|
|
59
76
|
.filter((item) => item.action === 'create')
|
|
60
77
|
.map((item) => item.sourceProjectId));
|
|
61
78
|
const inputs = [];
|
|
62
79
|
for (const project of selectedProjects) {
|
|
63
|
-
const input = await this.buildImportContextForProject(request, reader, manifest, project, pendingCreateIds.has(project.id), {
|
|
80
|
+
const input = await this.buildImportContextForProject(request, reader, manifest, project, pendingCreateIds.has(project.id), {
|
|
81
|
+
bundledVariables,
|
|
82
|
+
packageCredentials,
|
|
83
|
+
packageSkills,
|
|
84
|
+
credentialUpdateScope: updateScope,
|
|
85
|
+
}, importSource);
|
|
64
86
|
inputs.push(input);
|
|
65
87
|
}
|
|
66
|
-
const
|
|
67
|
-
const
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
requirements: credentialRequest.requirements,
|
|
76
|
-
bundledCredentials,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
88
|
+
const draftPlans = await this.importOrchestrator.planPackage(inputs, mode);
|
|
89
|
+
const { plans, issues } = await this.importPreflight.check(draftPlans, reader, request.apiKeyScopes, mode);
|
|
90
|
+
const scopes = selectedProjects.map((project, index) => ({ project, plan: plans[index] }));
|
|
91
|
+
return { request, manifest, projectPlan, scopes, issues };
|
|
92
|
+
}
|
|
93
|
+
async applyPlan(plan) {
|
|
94
|
+
const { request, manifest, projectPlan, scopes: planned } = plan;
|
|
95
|
+
if (plan.issues.length > 0) {
|
|
96
|
+
throw new errors_1.UnexpectedError('An import plan with blocking issues cannot be applied');
|
|
79
97
|
}
|
|
80
|
-
|
|
81
|
-
(0, import_gates_1.assertArchiveTransitionsAllowed)(request.apiKeyScopes, planned.map(({ plan }) => plan.workflowPlan));
|
|
82
|
-
await this.importOrchestrator.assertNotBlocked(planned.map(({ plan }) => plan), { apiKeyScopes: request.apiKeyScopes });
|
|
98
|
+
await this.importOrchestrator.assertCanUpdateCredentials(planned.map(({ plan }) => plan));
|
|
83
99
|
const projectSummaries = await this.projectImporter.apply(request.user, projectPlan.items);
|
|
84
100
|
const packageWorkflowBindings = new Map(planned.flatMap(({ plan }) => [...(0, workflow_importer_1.collectPlannedWorkflowBindings)(plan.workflowPlan.items)]));
|
|
85
101
|
const applied = [];
|
|
@@ -90,10 +106,10 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
90
106
|
content: await this.importOrchestrator.apply(plan, packageWorkflowBindings),
|
|
91
107
|
});
|
|
92
108
|
}
|
|
93
|
-
const published = await this.
|
|
109
|
+
const { workflows: published, agentOutcomes } = await this.importOrchestrator.publishPackage({
|
|
94
110
|
user: request.user,
|
|
95
|
-
|
|
96
|
-
policy: request.
|
|
111
|
+
content: applied.map(({ content }) => content),
|
|
112
|
+
policy: request.publishingPolicy,
|
|
97
113
|
subWorkflowRequirements: manifest.requirements?.workflows,
|
|
98
114
|
});
|
|
99
115
|
const workflows = [];
|
|
@@ -129,7 +145,7 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
129
145
|
dataTablesUpdated += content.dataTablePlan.updates.length;
|
|
130
146
|
seeded.push(...content.credentialResult.seeded);
|
|
131
147
|
incomplete.push(...content.credentialResult.incomplete);
|
|
132
|
-
variablesMatched.push(...content.variablePlan.matched);
|
|
148
|
+
variablesMatched.push(...content.variablePlan.matched.map(({ name }) => name));
|
|
133
149
|
variablesMissing.push(...content.variablePlan.missing.map(({ name }) => name));
|
|
134
150
|
variablesCreated.push(...content.variableResult.created);
|
|
135
151
|
variablesStubbed.push(...content.variableResult.stubbed);
|
|
@@ -147,6 +163,7 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
147
163
|
}
|
|
148
164
|
const result = (0, import_result_1.buildImportResult)({
|
|
149
165
|
package: (0, import_result_1.toPackageSummary)(manifest),
|
|
166
|
+
agentOutcomes,
|
|
150
167
|
workflows,
|
|
151
168
|
removedWorkflows,
|
|
152
169
|
removedFolders,
|
|
@@ -175,7 +192,7 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
175
192
|
}),
|
|
176
193
|
tags: (0, import_result_1.unionTagSummaries)(tagSummaries),
|
|
177
194
|
});
|
|
178
|
-
return { result, scopes };
|
|
195
|
+
return { result, scopes, agentOutcomes };
|
|
179
196
|
}
|
|
180
197
|
async buildImportContextForProject(request, reader, manifest, project, projectPendingCreation, importWide, importSource) {
|
|
181
198
|
const basePrefix = `${project.target}/`;
|
|
@@ -194,6 +211,7 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
194
211
|
missingMode: request.credentialMissingMode,
|
|
195
212
|
credentialBindings: (0, import_result_1.scopeCredentialBindingsToRequirements)(request.bindings?.credentials, requirements),
|
|
196
213
|
conflictPolicy: (0, credential_conflict_policy_1.resolveCredentialConflictPolicy)(request.credentialConflictPolicy),
|
|
214
|
+
personalRoute: request.credentialPersonalRoute,
|
|
197
215
|
packageCredentials: importWide.packageCredentials,
|
|
198
216
|
updateScope: importWide.credentialUpdateScope,
|
|
199
217
|
};
|
|
@@ -228,6 +246,7 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
228
246
|
folders,
|
|
229
247
|
workflows,
|
|
230
248
|
agents,
|
|
249
|
+
skills: importWide.packageSkills,
|
|
231
250
|
agentRequirements: (0, import_result_1.identifyRequirements)(manifest.requirements?.agents, workflows, agents),
|
|
232
251
|
credentialRequest,
|
|
233
252
|
dataTableRequest,
|
|
@@ -264,7 +283,7 @@ let ProjectPackageImporter = class ProjectPackageImporter {
|
|
|
264
283
|
exports.ProjectPackageImporter = ProjectPackageImporter;
|
|
265
284
|
exports.ProjectPackageImporter = ProjectPackageImporter = __decorate([
|
|
266
285
|
(0, di_1.Service)(),
|
|
267
|
-
__metadata("design:paramtypes", [n8n_package_parser_1.N8nPackageParser, project_importer_1.ProjectImporter, import_orchestrator_1.ImportOrchestrator,
|
|
286
|
+
__metadata("design:paramtypes", [n8n_package_parser_1.N8nPackageParser, project_importer_1.ProjectImporter, import_orchestrator_1.ImportOrchestrator, package_import_preflight_1.PackageImportPreflight, backend_common_1.LicenseState])
|
|
268
287
|
], ProjectPackageImporter);
|
|
269
288
|
function deletesForProject(selection, projectId) {
|
|
270
289
|
if (!selection || selection.selectedProjectId !== projectId)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-package-importer.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/project-package-importer.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wDAAmD;AACnD,gCAAkC;AAElC,wCAA6C;AAE7C,kGAG2D;AAK3D,4FAAwF;AACxF,sFAAuF;AAEvF,2EAAuE;AAGvE,8EAA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,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,EACtC,CAAC;YACF,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IACF,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC"}
|
|
1
|
+
{"version":3,"file":"project-package-importer.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/project-package-importer.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wDAAmD;AACnD,gCAAkC;AAElC,wCAA8D;AAE9D,kGAG2D;AAK3D,sFAAuF;AAEvF,2EAA4F;AAI5F,8EAAwF;AAgBxF,8DAAsD;AACtD,iDAAiE;AACjE,iEAA8D;AAC9D,qDAI0B;AAC1B,+DAK+B;AAC/B,mDAWyB;AAEzB,6DAAwD;AACxD,yEAAoE;AAgB7D,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC,YACkB,aAA+B,EAC/B,eAAgC,EAChC,kBAAsC,EACtC,eAAuC,EACvC,YAA0B;6BAJ1B,aAAa;+BACb,eAAe;kCACf,kBAAkB;+BAClB,eAAe;4BACf,YAAY;IAC3B,CAAC;IAEJ,KAAK,CAAC,MAAM,CACX,OAA8B,EAC9B,MAAqB,EACrB,QAAyB,EACzB,YAAiC;QAEjC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;QACvF,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,sCAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;QAC3F,IAAI,OAAO;YAAE,MAAM,OAAO,CAAC;QAC3B,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;YAAE,MAAM,IAAA,2CAAoB,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpE,OAAO,MA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AAiB,CAAC,CAAC,CAAC;QAC5E,CAAC;IACF,CAAC;CACD,CAAA;;iCA3YY,sBAAsB;IADlC,IAAA,YAAO,GAAE;qCAGwB,qCAAgB,EACd,kCAAe,EACZ,wCAAkB,EACrB,iDAAsB,EACzB,6BAAY;GANhC,sBAAsB,CA2YlC;AAED,SAAS,iBAAiB,CACzB,SAAsC,EACtC,SAAiB;IAEjB,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,iBAAiB,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC9E,OAAO,SAAS,CAAC,kBAAkB,CAAC;AACrC,CAAC;AAGD,SAAS,cAAc,CACtB,OAAyE,EACzE,SAAmD;IAEnD,MAAM,QAAQ,GAAG,IAAI,GAAG,CACvB,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,cAAc,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC,cAAc,EAAE,cAAc,CAAC,CAAC,CACrF,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;QAElC,KACC,IAAI,OAAO,GAAG,QAAQ,CAAC,cAAc,EACrC,OAAO,KAAK,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,EACzC,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,IAAI,EACtC,CAAC;YACF,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACtB,CAAC;IACF,CAAC;IACD,OAAO,OAAO,CAAC;AAChB,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { LicenseState } from '@n8n/backend-common';
|
|
2
2
|
import { FolderService } from '../../../services/folder.service';
|
|
3
3
|
import { ProjectService } from '../../../services/project.service.ee';
|
|
4
|
-
import { WorkflowPublisher } from '../entities/workflow/workflow-publisher';
|
|
5
4
|
import type { PackageReader } from '../io/package-reader';
|
|
6
5
|
import type { ResolvedImportRequest } from '../n8n-packages.types';
|
|
7
6
|
import { ImportOrchestrator } from './import-orchestrator';
|
|
8
7
|
import type { ImportOutcome } from './import-telemetry';
|
|
9
8
|
import { N8nPackageParser } from './n8n-package-parser';
|
|
9
|
+
import { PackageImportPreflight } from './package-import-preflight';
|
|
10
10
|
import type { PackageManifest } from '../spec/manifest.schema';
|
|
11
11
|
export declare class WorkflowPackageImporter {
|
|
12
12
|
private readonly packageParser;
|
|
13
13
|
private readonly importOrchestrator;
|
|
14
|
-
private readonly
|
|
14
|
+
private readonly importPreflight;
|
|
15
15
|
private readonly projectService;
|
|
16
16
|
private readonly folderService;
|
|
17
17
|
private readonly licenseState;
|
|
18
|
-
constructor(packageParser: N8nPackageParser, importOrchestrator: ImportOrchestrator,
|
|
18
|
+
constructor(packageParser: N8nPackageParser, importOrchestrator: ImportOrchestrator, importPreflight: PackageImportPreflight, projectService: ProjectService, folderService: FolderService, licenseState: LicenseState);
|
|
19
19
|
import(request: ResolvedImportRequest, reader: PackageReader, manifest: PackageManifest): Promise<ImportOutcome>;
|
|
20
20
|
private assertFoldersLicensed;
|
|
21
21
|
private findImportLocation;
|
|
@@ -12,24 +12,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.WorkflowPackageImporter = void 0;
|
|
13
13
|
const backend_common_1 = require("@n8n/backend-common");
|
|
14
14
|
const di_1 = require("@n8n/di");
|
|
15
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
16
15
|
const errors_1 = require("@n8n/errors");
|
|
17
16
|
const folder_service_1 = require("../../../services/folder.service");
|
|
18
17
|
const project_service_ee_1 = require("../../../services/project.service.ee");
|
|
19
18
|
const credential_conflict_policy_1 = require("../entities/credential/credential-conflict-policy");
|
|
20
|
-
const credential_missing_mode_1 = require("../entities/credential/credential-missing-mode");
|
|
21
|
-
const workflow_publisher_1 = require("../entities/workflow/workflow-publisher");
|
|
22
19
|
const n8n_packages_types_1 = require("../n8n-packages.types");
|
|
23
20
|
const import_gates_1 = require("./import-gates");
|
|
24
21
|
const import_orchestrator_1 = require("./import-orchestrator");
|
|
25
22
|
const import_result_1 = require("./import-result");
|
|
26
23
|
const n8n_package_parser_1 = require("./n8n-package-parser");
|
|
24
|
+
const package_import_preflight_1 = require("./package-import-preflight");
|
|
27
25
|
const package_layout_1 = require("./package-layout");
|
|
28
26
|
let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
29
|
-
constructor(packageParser, importOrchestrator,
|
|
27
|
+
constructor(packageParser, importOrchestrator, importPreflight, projectService, folderService, licenseState) {
|
|
30
28
|
this.packageParser = packageParser;
|
|
31
29
|
this.importOrchestrator = importOrchestrator;
|
|
32
|
-
this.
|
|
30
|
+
this.importPreflight = importPreflight;
|
|
33
31
|
this.projectService = projectService;
|
|
34
32
|
this.folderService = folderService;
|
|
35
33
|
this.licenseState = licenseState;
|
|
@@ -40,7 +38,7 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
40
38
|
this.assertFoldersLicensed();
|
|
41
39
|
(0, import_gates_1.assertPackageImportApiKeyScopes)(request.apiKeyScopes, ['folder:create', 'folder:update']);
|
|
42
40
|
}
|
|
43
|
-
const context = await this.findImportLocation(request.user, request.projectId, request.folderId, folders.length > 0,
|
|
41
|
+
const context = await this.findImportLocation(request.user, request.projectId, request.folderId, folders.length > 0, (0, import_gates_1.packageImportScopes)(manifest));
|
|
44
42
|
const workflows = await this.packageParser.getWorkflows(reader);
|
|
45
43
|
const agents = manifest.agents?.length ? await this.packageParser.getAgents(reader) : [];
|
|
46
44
|
const credentialRequirements = (0, import_result_1.identifyRequirements)(manifest.requirements?.credentials, workflows, agents);
|
|
@@ -50,6 +48,7 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
50
48
|
missingMode: request.credentialMissingMode,
|
|
51
49
|
credentialBindings: request.bindings?.credentials,
|
|
52
50
|
conflictPolicy: (0, credential_conflict_policy_1.resolveCredentialConflictPolicy)(request.credentialConflictPolicy),
|
|
51
|
+
personalRoute: request.credentialPersonalRoute,
|
|
53
52
|
packageCredentials: (0, package_layout_1.needsBundledCredentialFiles)(request, (credentialRequirements?.length ?? 0) > 0)
|
|
54
53
|
? await this.packageParser.getCredentials(reader)
|
|
55
54
|
: undefined,
|
|
@@ -86,12 +85,13 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
86
85
|
missingMode: request.tagMissingMode,
|
|
87
86
|
conflictPolicy: request.tagConflictPolicy,
|
|
88
87
|
};
|
|
89
|
-
const
|
|
88
|
+
const draftPlan = await this.importOrchestrator.plan({
|
|
90
89
|
context,
|
|
91
90
|
folders,
|
|
92
91
|
workflows,
|
|
93
92
|
credentialRequest,
|
|
94
93
|
agents,
|
|
94
|
+
skills: agents.length > 0 ? await this.packageParser.getSkills(reader) : [],
|
|
95
95
|
agentRequirements: (0, import_result_1.identifyRequirements)(manifest.requirements?.agents, workflows, agents),
|
|
96
96
|
dataTableRequest,
|
|
97
97
|
variableRequest,
|
|
@@ -100,30 +100,19 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
100
100
|
subWorkflowRequirements: (0, import_result_1.identifyRequirements)(manifest.requirements?.workflows, workflows, agents),
|
|
101
101
|
checkRootPlacement: false,
|
|
102
102
|
});
|
|
103
|
-
const
|
|
104
|
-
const missingCredentialIds = new Set(plan.credentialPlan.failures.filter(credential_missing_mode_1.canStubNotFoundFailure).map(({ sourceId }) => sourceId));
|
|
105
|
-
if ((0, package_layout_1.needsBundledCredentialData)(request, missingCredentialIds.size > 0)) {
|
|
106
|
-
plannedCredentialRequest.requirements = (0, package_layout_1.placeCredentialData)({
|
|
107
|
-
requirements: plannedCredentialRequest.requirements,
|
|
108
|
-
bundledCredentials: plannedCredentialRequest.packageCredentials ??
|
|
109
|
-
(await this.packageParser.getCredentials(reader, missingCredentialIds)),
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
(0, import_gates_1.assertTagWritesAllowed)(request.apiKeyScopes, [plan.tagPlan]);
|
|
113
|
-
(0, import_gates_1.assertArchiveTransitionsAllowed)(request.apiKeyScopes, [plan.workflowPlan]);
|
|
114
|
-
await this.importOrchestrator.assertNotBlocked([plan], { apiKeyScopes: request.apiKeyScopes });
|
|
103
|
+
const [plan] = await this.importPreflight.prepare([draftPlan], reader, request.apiKeyScopes);
|
|
115
104
|
const content = await this.importOrchestrator.apply(plan);
|
|
116
|
-
const published = await this.
|
|
105
|
+
const { workflows: published, agentOutcomes } = await this.importOrchestrator.publishPackage({
|
|
117
106
|
user: request.user,
|
|
118
|
-
|
|
119
|
-
policy: request.
|
|
107
|
+
content: [content],
|
|
108
|
+
policy: request.publishingPolicy,
|
|
120
109
|
subWorkflowRequirements: plan.input.subWorkflowRequirements,
|
|
121
110
|
});
|
|
122
111
|
const scopes = [
|
|
123
112
|
{
|
|
124
113
|
context,
|
|
125
114
|
imported: content,
|
|
126
|
-
credentialRequest:
|
|
115
|
+
credentialRequest: plan.input.credentialRequest,
|
|
127
116
|
dataTableRequest: plan.input.dataTableRequest,
|
|
128
117
|
variableRequest: plan.input.variableRequest,
|
|
129
118
|
tagRequest,
|
|
@@ -131,6 +120,7 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
131
120
|
];
|
|
132
121
|
const result = (0, import_result_1.buildImportResult)({
|
|
133
122
|
package: (0, import_result_1.toPackageSummary)(manifest),
|
|
123
|
+
agentOutcomes,
|
|
134
124
|
workflows: (0, import_result_1.toImportedWorkflowSummaries)(content.workflowOutcomes, context.projectId, published),
|
|
135
125
|
removedWorkflows: content.removedWorkflows,
|
|
136
126
|
removedFolders: content.removedFolders,
|
|
@@ -146,17 +136,17 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
146
136
|
variables: (0, import_result_1.toVariableSummary)(content.variablePlan, content.variableResult),
|
|
147
137
|
tags: (0, import_result_1.toTagSummary)(content.tagPlan),
|
|
148
138
|
});
|
|
149
|
-
return { result, scopes };
|
|
139
|
+
return { result, scopes, agentOutcomes };
|
|
150
140
|
}
|
|
151
141
|
assertFoldersLicensed() {
|
|
152
142
|
if (!this.licenseState.isLicensed('feat:folders')) {
|
|
153
143
|
throw new errors_1.ForbiddenError('Your license does not allow folders. Importing a package with folders requires a license that supports folders.');
|
|
154
144
|
}
|
|
155
145
|
}
|
|
156
|
-
async findImportLocation(user, projectId, folderId, needsFolderCreate,
|
|
146
|
+
async findImportLocation(user, projectId, folderId, needsFolderCreate, importScopes) {
|
|
157
147
|
const scopes = needsFolderCreate
|
|
158
|
-
? [
|
|
159
|
-
:
|
|
148
|
+
? [...importScopes, 'folder:create', 'folder:update']
|
|
149
|
+
: importScopes;
|
|
160
150
|
const project = await this.resolveImportProject(user, projectId, scopes);
|
|
161
151
|
await this.assertFolderExistsInProject(folderId, project.id);
|
|
162
152
|
return { user, projectId: project.id, folderId: folderId ?? null };
|
|
@@ -167,7 +157,7 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
167
157
|
if (!personalProject) {
|
|
168
158
|
throw new errors_1.NotFoundError('Personal project not found');
|
|
169
159
|
}
|
|
170
|
-
|
|
160
|
+
projectId = personalProject.id;
|
|
171
161
|
}
|
|
172
162
|
const project = await this.projectService.getProjectWithScope(user, projectId, scopes);
|
|
173
163
|
if (project) {
|
|
@@ -186,13 +176,13 @@ let WorkflowPackageImporter = class WorkflowPackageImporter {
|
|
|
186
176
|
await this.folderService.findFolderInProjectOrFail(folderId, projectId);
|
|
187
177
|
}
|
|
188
178
|
catch (cause) {
|
|
189
|
-
throw new
|
|
179
|
+
throw new errors_1.UserError(`Folder not found in target project: ${folderId}`, { cause });
|
|
190
180
|
}
|
|
191
181
|
}
|
|
192
182
|
};
|
|
193
183
|
exports.WorkflowPackageImporter = WorkflowPackageImporter;
|
|
194
184
|
exports.WorkflowPackageImporter = WorkflowPackageImporter = __decorate([
|
|
195
185
|
(0, di_1.Service)(),
|
|
196
|
-
__metadata("design:paramtypes", [n8n_package_parser_1.N8nPackageParser, import_orchestrator_1.ImportOrchestrator,
|
|
186
|
+
__metadata("design:paramtypes", [n8n_package_parser_1.N8nPackageParser, import_orchestrator_1.ImportOrchestrator, package_import_preflight_1.PackageImportPreflight, project_service_ee_1.ProjectService, folder_service_1.FolderService, backend_common_1.LicenseState])
|
|
197
187
|
], WorkflowPackageImporter);
|
|
198
188
|
//# sourceMappingURL=workflow-package-importer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-package-importer.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/workflow-package-importer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAmD;AAEnD,gCAAkC;
|
|
1
|
+
{"version":3,"file":"workflow-package-importer.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/engine/workflow-package-importer.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAmD;AAEnD,gCAAkC;AAGlC,wCAAuE;AACvE,8DAA0D;AAC1D,sEAA+D;AAE/D,kGAG2D;AAM3D,8DAA6D;AAE7D,iDAAsF;AACtF,+DAA2D;AAC3D,mDAQyB;AAEzB,6DAAwD;AACxD,yEAAoE;AACpE,qDAI0B;AAQnB,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IACnC,YACkB,aAA+B,EAC/B,kBAAsC,EACtC,eAAuC,EACvC,cAA8B,EAC9B,aAA4B,EAC5B,YAA0B;6BAL1B,aAAa;kCACb,kBAAkB;+BAClB,eAAe;8BACf,cAAc;6BACd,aAAa;4BACb,YAAY;IAC3B,CAAC;IAEJ,KAAK,CAAC,MAAM,CACX,OAA8B,EAC9B,MAAqB,EACrB,QAAyB;QAEzB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;QAC5D,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACxB,IAAI,CAAC,qBAAqB,EAAE,CAAC;YAC7B,IAAA,8CAA+B,EAAC,OAAO,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CAAC;YACb,OAAO,OAAO,CAAC;QAChB,CAAC;QAED,IAAI,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC;YACzD,MAAM,IAAI,sBAAa,CAAC,sBAAsB,SAAS,EAAE,CAAC,CAAC;QAC5D,CAAC;QACD,MAAM,IAAI,uBAAc,CAAC,yDAAyD,CAAC,CAAC;IACrF,CAAC;IAEO,KAAK,CAAC,2BAA2B,CACxC,QAA4B,EAC5B,SAAiB;QAEjB,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC5B,OAAO;QACR,CAAC;QAED,IAAI,CAAC;YACJ,MAAM,IAAI,CAAC,aAAa,CAAC,yBAAyB,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;QACzE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,MAAM,IAAI,kBAAS,CAAC,uCAAuC,QAAQ,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;QACnF,CAAC;IACF,CAAC;CACD,CAAA;;kCAvOY,uBAAuB;IADnC,IAAA,YAAO,GAAE;qCAGwB,qCAAgB,EACX,wCAAkB,EACrB,iDAAsB,EACvB,mCAAc,EACf,8BAAa,EACd,6BAAY;GAPhC,uBAAuB,CAuOnC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AgentImportIssue, PreparedAgent } from './agent-import.types';
|
|
2
|
-
export declare function agentBodyIssues(agent: Pick<PreparedAgent, 'sourceAgentId' | 'config' | '
|
|
2
|
+
export declare function agentBodyIssues(agent: Pick<PreparedAgent, 'sourceAgentId' | 'config' | 'tools' | 'tasks'>): Array<Extract<AgentImportIssue, {
|
|
3
3
|
type: 'agent-invalid';
|
|
4
4
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-body-issues.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/agent/agent-body-issues.ts"],"names":[],"mappings":";;;AAAA,8EAA2F;AAI3F,yBACC,
|
|
1
|
+
{"version":3,"file":"agent-body-issues.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/agent/agent-body-issues.ts"],"names":[],"mappings":";;;AAAA,8EAA2F;AAI3F,yBACC,KAA0E;IAE1E,OAAO,IAAA,mDAAgC,EAAC;QACvC,GAAG,KAAK;QACR,KAAK,EAAE,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAC3C,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;QACzB,IAAI,EAAE,eAAe;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa;QAClC,IAAI,EAAE,GAAG,IAAI,IAAI,EAAE,EAAE;QACrB,OAAO,EAAE,4BAA4B,IAAI,WAAW,EAAE,mBAAmB;KACzE,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -27,6 +27,7 @@ export interface AgentSelectionExportRequest {
|
|
|
27
27
|
}
|
|
28
28
|
export interface AgentSelectionExportResult {
|
|
29
29
|
agentEntries: ManifestEntry[];
|
|
30
|
+
skillEntries: ManifestEntry[];
|
|
30
31
|
projectEntries: ManifestEntry[];
|
|
31
32
|
projectTargetsById: Map<string, string>;
|
|
32
33
|
requirements: ExportRequirements;
|
|
@@ -1,17 +1,31 @@
|
|
|
1
1
|
import { ProjectScopeService } from '@n8n/backend-services';
|
|
2
2
|
import { WorkflowFinderService } from '../../../../workflows/workflow-finder.service';
|
|
3
3
|
import { AgentImportMatchService } from './agent-import-match.service';
|
|
4
|
-
import type {
|
|
4
|
+
import type { AgentImportMatchContext, AgentImportPlan } from './agent-import.types';
|
|
5
|
+
import type { PackageAgentRequirement, PackageWorkflowRequirement } from '../../spec/requirements.schema';
|
|
6
|
+
import type { CredentialImportPlan } from '../credential/credential.types';
|
|
5
7
|
import { WorkflowImportMatchService } from '../workflow/workflow-import-match.service';
|
|
8
|
+
import type { WorkflowImportPlan } from '../workflow/workflow-import.types';
|
|
9
|
+
export interface AgentImportBindingScope {
|
|
10
|
+
input: {
|
|
11
|
+
context: Pick<AgentImportMatchContext, 'user' | 'projectId'>;
|
|
12
|
+
projectPendingCreation?: boolean;
|
|
13
|
+
agentRequirements?: PackageAgentRequirement[];
|
|
14
|
+
subWorkflowRequirements?: PackageWorkflowRequirement[];
|
|
15
|
+
};
|
|
16
|
+
agentPlan?: AgentImportPlan;
|
|
17
|
+
workflowPlan: Pick<WorkflowImportPlan, 'items'>;
|
|
18
|
+
credentialPlan: Pick<CredentialImportPlan, 'successes' | 'stubIds'>;
|
|
19
|
+
}
|
|
6
20
|
export declare class AgentImportBindings {
|
|
7
21
|
private readonly agentMatcher;
|
|
8
22
|
private readonly workflowMatcher;
|
|
9
23
|
private readonly workflowFinder;
|
|
10
24
|
private readonly projectScopeService;
|
|
11
25
|
constructor(agentMatcher: AgentImportMatchService, workflowMatcher: WorkflowImportMatchService, workflowFinder: WorkflowFinderService, projectScopeService: ProjectScopeService);
|
|
12
|
-
resolve(
|
|
26
|
+
resolve<TScope extends AgentImportBindingScope>(scopes: TScope[]): Promise<Map<TScope, AgentImportPlan>>;
|
|
27
|
+
private addTaskConflicts;
|
|
13
28
|
private resolveScope;
|
|
14
29
|
private resolveAgents;
|
|
15
30
|
private resolveWorkflows;
|
|
16
|
-
private checkTaskOwners;
|
|
17
31
|
}
|