n8n 2.46.3 → 2.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/breaking-changes.service.js +23 -35
- package/dist/modules/breaking-changes/breaking-changes.service.js.map +1 -1
- package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.d.ts +7 -3
- package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.js +2 -2
- package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.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/breaking-changes/rules/v3/slack-credential-secret.d.ts +1 -1
- package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.js +13 -10
- package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.d.ts +2 -2
- package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.js +3 -2
- package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.d.ts +2 -2
- package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.js +3 -2
- package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.js.map +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js +8 -3
- package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js.map +1 -1
- package/dist/modules/breaking-changes/types/rule.types.d.ts +5 -1
- package/dist/modules/breaking-changes/types/rule.types.js +5 -1
- package/dist/modules/breaking-changes/types/rule.types.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 +55 -51
- 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
|
@@ -21,6 +21,7 @@ const workflow_service_1 = require("../../../../workflows/workflow.service");
|
|
|
21
21
|
const workflow_references_1 = require("./references/workflow-references");
|
|
22
22
|
const workflow_archive_transition_1 = require("./workflow-archive-transition");
|
|
23
23
|
const workflow_import_match_service_1 = require("./workflow-import-match.service");
|
|
24
|
+
const workflow_publishing_policy_1 = require("./workflow-publishing-policy");
|
|
24
25
|
const n8n_packages_types_1 = require("../../n8n-packages.types");
|
|
25
26
|
const workflow_credential_references_1 = require("../credential/workflow-credential-references");
|
|
26
27
|
const import_conflict_policy_1 = require("../import-conflict-policy");
|
|
@@ -43,13 +44,17 @@ let WorkflowImporter = class WorkflowImporter {
|
|
|
43
44
|
for (const workflow of prepared) {
|
|
44
45
|
const existing = existingBySourceWorkflowId.get(workflow.sourceWorkflowId) ?? null;
|
|
45
46
|
if (existing && ambiguousSourceIds.has(workflow.sourceWorkflowId)) {
|
|
46
|
-
items.push({ action: 'skip', ...workflow, existing });
|
|
47
|
+
items.push({ action: 'skip', ...workflow, existing, publishingAction: 'noop' });
|
|
47
48
|
continue;
|
|
48
49
|
}
|
|
49
|
-
const { action, blocked } = (0, import_conflict_policy_1.decideImportConflictAction)(options.
|
|
50
|
-
const
|
|
50
|
+
const { action, blocked } = (0, import_conflict_policy_1.decideImportConflictAction)(options.conflictPolicy, existing !== null);
|
|
51
|
+
const decision = toPlanItem(workflow, existing, action, options.idPolicy);
|
|
52
|
+
const item = {
|
|
53
|
+
...decision,
|
|
54
|
+
publishingAction: (0, workflow_publishing_policy_1.decidePlannedPublishingAction)(options.publishingPolicy, decision),
|
|
55
|
+
};
|
|
51
56
|
items.push(item);
|
|
52
|
-
if (item.action === 'create' &&
|
|
57
|
+
if (item.action === 'create' && !blocked) {
|
|
53
58
|
sourceCreateIds.push(item.decidedId);
|
|
54
59
|
}
|
|
55
60
|
if (hasArchiveTransition(item)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-importer.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-importer.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gCAAyC;AACzC,gCAAkC;AAElC,wCAA6C;AAC7C,+CAA4C;AAC5C,qFAG+C;AAC/C,iFAA4E;AAC5E,mEAA+D;AAE/D,0EAAsE;AACtE,+EAGuC;AACvC,mFAGyC;
|
|
1
|
+
{"version":3,"file":"workflow-importer.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-importer.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gCAAyC;AACzC,gCAAkC;AAElC,wCAA6C;AAC7C,+CAA4C;AAC5C,qFAG+C;AAC/C,iFAA4E;AAC5E,mEAA+D;AAE/D,0EAAsE;AACtE,+EAGuC;AACvC,mFAGyC;AAazC,6EAA6E;AAC7E,iEAAgE;AAQhE,iGAAwF;AACxF,sEAA4F;AAC5F,0DA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AU,CACnB;aACD,CAAC;QACH,CAAC;QACD,KAAK,MAAM;YACV,OAAO,EAAE,MAAM,EAAE,GAAG,QAAQ,EAAE,QAAQ,EAAE,CAAC;QAC1C,KAAK,QAAQ;YAEZ,OAAO;gBACN,MAAM;gBACN,SAAS,EAAE,IAAA,iCAAc,EAAC,QAAQ,EAAE,QAAQ,CAAC,gBAAgB,CAAC;gBAC9D,GAAG,QAAQ;aACX,CAAC;IACJ,CAAC;AACF,CAAC"}
|
|
@@ -25,9 +25,9 @@ export declare class WorkflowPublisher {
|
|
|
25
25
|
private readonly workflowService;
|
|
26
26
|
private readonly webhookService;
|
|
27
27
|
constructor(logger: Logger, projectRepository: ProjectRepository, projectService: ProjectService, workflowService: WorkflowService, webhookService: WebhookService);
|
|
28
|
-
applyToPackage({ user, persisted,
|
|
28
|
+
applyToPackage({ user, persisted, subWorkflowRequirements, }: PackagePublishingRequest): Promise<PackagePublishingResults>;
|
|
29
29
|
private webhookKeysOnPublish;
|
|
30
30
|
assertCanPublish(user: User, projectId: string, policy: WorkflowPublishingPolicy, projectPendingCreation?: boolean): Promise<void>;
|
|
31
|
-
apply(user: User, item: PersistedWorkflowPlanItem, workflow: WorkflowEntity,
|
|
31
|
+
apply(user: User, item: PersistedWorkflowPlanItem, workflow: WorkflowEntity, blockedReason?: WorkflowPublishingBlockedReason, webhookContested?: boolean): Promise<WorkflowPublishingResult>;
|
|
32
32
|
private failed;
|
|
33
33
|
}
|
|
@@ -20,8 +20,8 @@ const constants_1 = require("../../../../webhooks/constants");
|
|
|
20
20
|
const webhook_service_1 = require("../../../../webhooks/webhook.service");
|
|
21
21
|
const workflow_service_1 = require("../../../../workflows/workflow.service");
|
|
22
22
|
const sub_workflow_ordering_1 = require("./sub-workflow-ordering");
|
|
23
|
-
const workflow_publishing_policy_1 = require("./workflow-publishing-policy");
|
|
24
23
|
const workflow_publishing_policy_types_1 = require("./workflow-publishing-policy.types");
|
|
24
|
+
const publishing_1 = require("../publishing");
|
|
25
25
|
let WorkflowPublisher = class WorkflowPublisher {
|
|
26
26
|
constructor(logger, projectRepository, projectService, workflowService, webhookService) {
|
|
27
27
|
this.logger = logger;
|
|
@@ -30,14 +30,14 @@ let WorkflowPublisher = class WorkflowPublisher {
|
|
|
30
30
|
this.workflowService = workflowService;
|
|
31
31
|
this.webhookService = webhookService;
|
|
32
32
|
}
|
|
33
|
-
async applyToPackage({ user, persisted,
|
|
33
|
+
async applyToPackage({ user, persisted, subWorkflowRequirements, }) {
|
|
34
34
|
const results = new Map();
|
|
35
35
|
const claimedPaths = new Set();
|
|
36
36
|
for (const outcome of (0, sub_workflow_ordering_1.orderBySubWorkflowDependencies)(persisted, subWorkflowRequirements)) {
|
|
37
37
|
if (outcome.status === 'skipped')
|
|
38
38
|
continue;
|
|
39
|
-
const webhookKeys = this.webhookKeysOnPublish(outcome
|
|
40
|
-
const result = await this.apply(user, outcome.item, outcome.workflow,
|
|
39
|
+
const webhookKeys = this.webhookKeysOnPublish(outcome);
|
|
40
|
+
const result = await this.apply(user, outcome.item, outcome.workflow, outcome.blockedFromPublish, webhookKeys.some((key) => claimedPaths.has(key)));
|
|
41
41
|
if (result.publishing.state === 'published') {
|
|
42
42
|
for (const key of webhookKeys)
|
|
43
43
|
claimedPaths.add(key);
|
|
@@ -51,10 +51,10 @@ let WorkflowPublisher = class WorkflowPublisher {
|
|
|
51
51
|
}
|
|
52
52
|
return results;
|
|
53
53
|
}
|
|
54
|
-
webhookKeysOnPublish(outcome
|
|
54
|
+
webhookKeysOnPublish(outcome) {
|
|
55
55
|
if (outcome.blockedFromPublish)
|
|
56
56
|
return [];
|
|
57
|
-
const action =
|
|
57
|
+
const action = outcome.item.publishingAction;
|
|
58
58
|
if (action !== 'publish')
|
|
59
59
|
return [];
|
|
60
60
|
return this.webhookService.getStaticWebhookKeys(outcome.workflow.nodes);
|
|
@@ -77,24 +77,15 @@ let WorkflowPublisher = class WorkflowPublisher {
|
|
|
77
77
|
}
|
|
78
78
|
throw new errors_1.ForbiddenError('You do not have permission to publish workflows in this project.');
|
|
79
79
|
}
|
|
80
|
-
async apply(user, item, workflow,
|
|
81
|
-
const action =
|
|
80
|
+
async apply(user, item, workflow, blockedReason, webhookContested = false) {
|
|
81
|
+
const action = item.publishingAction;
|
|
82
82
|
if (action === 'noop') {
|
|
83
83
|
return { workflow, publishing: { state: 'unchanged' } };
|
|
84
84
|
}
|
|
85
85
|
if (action === 'publish' && blockedReason) {
|
|
86
|
-
if (workflow.activeVersionId) {
|
|
87
|
-
return {
|
|
88
|
-
workflow,
|
|
89
|
-
publishing: {
|
|
90
|
-
state: 'unchanged',
|
|
91
|
-
skippedPublishReason: blockedReason,
|
|
92
|
-
},
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
86
|
return {
|
|
96
87
|
workflow,
|
|
97
|
-
publishing:
|
|
88
|
+
publishing: (0, publishing_1.blockedPublishingOutcome)(blockedReason, Boolean(workflow.activeVersionId)),
|
|
98
89
|
};
|
|
99
90
|
}
|
|
100
91
|
if (action === 'publish' && webhookContested) {
|
|
@@ -135,12 +126,4 @@ exports.WorkflowPublisher = WorkflowPublisher = __decorate([
|
|
|
135
126
|
(0, di_1.Service)(),
|
|
136
127
|
__metadata("design:paramtypes", [backend_common_1.Logger, db_1.ProjectRepository, project_service_ee_1.ProjectService, workflow_service_1.WorkflowService, webhook_service_1.WebhookService])
|
|
137
128
|
], WorkflowPublisher);
|
|
138
|
-
function toPublishingContext(item, workflow) {
|
|
139
|
-
return {
|
|
140
|
-
status: item.action === 'create' ? 'created' : 'updated',
|
|
141
|
-
sourcePublished: item.sourcePublished,
|
|
142
|
-
currentlyPublished: !!workflow.activeVersionId,
|
|
143
|
-
isArchived: workflow.isArchived,
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
129
|
//# sourceMappingURL=workflow-publisher.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-publisher.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-publisher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAA6C;AAE7C,gCAA4C;AAC5C,gCAAkC;AAClC,iEAA6D;AAE7D,wCAA4D;AAC5D,sEAA+D;AAC/D,oDAAgE;AAChE,gEAA4D;AAC5D,mEAA+D;AAE/D,mEAAyE;AAEzE,
|
|
1
|
+
{"version":3,"file":"workflow-publisher.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-publisher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAA6C;AAE7C,gCAA4C;AAC5C,gCAAkC;AAClC,iEAA6D;AAE7D,wCAA4D;AAC5D,sEAA+D;AAC/D,oDAAgE;AAChE,gEAA4D;AAC5D,mEAA+D;AAE/D,mEAAyE;AAEzE,yFAK4C;AAE5C,8CAAyD;AAyBlD,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC7B,YACkB,MAAc,EACd,iBAAoC,EACpC,cAA8B,EAC9B,eAAgC,EAChC,cAA8B;sBAJ9B,MAAM;iCACN,iBAAiB;8BACjB,cAAc;+BACd,eAAe;8BACf,cAAc;IAC7B,CAAC;IASJ,KAAK,CAAC,cAAc,CAAC,EACpB,IAAI,EACJ,SAAS,EACT,uBAAuB,GACG;QAC1B,MAAM,OAAO,GAAG,IAAI,GAAG,EAAoC,CAAC;QAC5D,MAAM,YAAY,GAAG,IAAI,GAAG,EAAU,CAAC;QAEvC,KAAK,MAAM,OAAO,IAAI,IAAA,sDAA8B,EAAC,SAAS,EAAE,uBAAuB,CAAC,EAAE,CAAC;YAC1F,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS;gBAAE,SAAS;YAE3C,MAAM,WAAW,GAAG,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;YAEvD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CAC9B,IAAI,EACJ,OAAO,CAAC,IAAI,EACZ,OAAO,CAAC,QAAQ,EAChB,OAAO,CAAC,kBAAkB,EAC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,EAAE,EAAE;wBACxE,SAAS,EAAE,QAAQ,CAAC,SAAS;wBAC7B,MAAM,EAAE,QAAQ;qBAChB,CAAC;oBACF,UAAU,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE;iBAClC,CAAC;YACH,CAAC;YAED,OAAO;gBACN,QAAQ,EAAE,MAAM,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC,IAAI,EAAE,QAAQ,CAAC,EAAE,EAAE;oBAC1E,MAAM,EAAE,QAAQ;iBAChB,CAAC;gBACF,UAAU,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE;aACpC,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,OAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAA,0BAAW,EAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC;QAClE,CAAC;IACF,CAAC;IAOO,MAAM,CACb,QAAwB,EACxB,MAAwB,EACxB,KAAa;QAEb,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,wDAAwD,EAAE;YAC1E,UAAU,EAAE,QAAQ,CAAC,EAAE;YACvB,MAAM;YACN,KAAK;SACL,CAAC,CAAC;QACH,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,CAAC;IAC7D,CAAC;CACD,CAAA;;4BA7KY,iBAAiB;IAD7B,IAAA,YAAO,GAAE;qCAGiB,uBAAM,EACK,sBAAiB,EACpB,mCAAc,EACb,kCAAe,EAChB,gCAAc;GANpC,iBAAiB,CA6K7B"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { WorkflowImportDecision } from './workflow-import.types';
|
|
1
2
|
import { WorkflowPublishingPolicy, type PublishingAction, type WorkflowPublishingContext } from './workflow-publishing-policy.types';
|
|
2
3
|
export declare function decideWorkflowPublishingAction(policy: WorkflowPublishingPolicy, context: WorkflowPublishingContext): PublishingAction;
|
|
3
4
|
export declare function decidePublishingAction(policy: WorkflowPublishingPolicy, context: Omit<WorkflowPublishingContext, 'isArchived'>): PublishingAction;
|
|
5
|
+
export declare function decidePlannedPublishingAction(policy: WorkflowPublishingPolicy, item: WorkflowImportDecision): PublishingAction;
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.decideWorkflowPublishingAction = decideWorkflowPublishingAction;
|
|
4
4
|
exports.decidePublishingAction = decidePublishingAction;
|
|
5
|
+
exports.decidePlannedPublishingAction = decidePlannedPublishingAction;
|
|
5
6
|
const workflow_publishing_policy_types_1 = require("./workflow-publishing-policy.types");
|
|
6
7
|
const PUBLISHING_POLICIES = {
|
|
7
8
|
[workflow_publishing_policy_types_1.WorkflowPublishingPolicy.PreservePublishedState]: ({ status, currentlyPublished, sourcePublished, }) => (status === 'updated' && currentlyPublished && sourcePublished ? 'publish' : 'noop'),
|
|
@@ -18,6 +19,7 @@ const PUBLISHING_POLICIES = {
|
|
|
18
19
|
},
|
|
19
20
|
[workflow_publishing_policy_types_1.WorkflowPublishingPolicy.PublishAll]: () => 'publish',
|
|
20
21
|
[workflow_publishing_policy_types_1.WorkflowPublishingPolicy.UnpublishAll]: ({ status, currentlyPublished }) => status === 'updated' && currentlyPublished ? 'unpublish' : 'noop',
|
|
22
|
+
[workflow_publishing_policy_types_1.WorkflowPublishingPolicy.PreserveTargetState]: () => 'noop',
|
|
21
23
|
};
|
|
22
24
|
function decideWorkflowPublishingAction(policy, context) {
|
|
23
25
|
if (context.status === 'skipped') {
|
|
@@ -33,4 +35,13 @@ function decidePublishingAction(policy, context) {
|
|
|
33
35
|
return 'noop';
|
|
34
36
|
return PUBLISHING_POLICIES[policy](context);
|
|
35
37
|
}
|
|
38
|
+
function decidePlannedPublishingAction(policy, item) {
|
|
39
|
+
if (item.action === 'skip' || item.sourceArchived)
|
|
40
|
+
return 'noop';
|
|
41
|
+
return decidePublishingAction(policy, {
|
|
42
|
+
status: item.action === 'create' ? 'created' : 'updated',
|
|
43
|
+
sourcePublished: item.sourcePublished,
|
|
44
|
+
currentlyPublished: item.action === 'update' && Boolean(item.existing.activeVersionId),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
36
47
|
//# sourceMappingURL=workflow-publishing-policy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-publishing-policy.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-publishing-policy.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-publishing-policy.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-publishing-policy.ts"],"names":[],"mappings":";;;;;AACA,yFAI4C;AAM5C,MAAM,mBAAmB,GAGrB;IACH,CAAC,2DAAwB,CAAC,sBAAsB,CAAC,EAAE,CAAC,EACnD,MAAM,EACN,kBAAkB,EAClB,eAAe,GACf,EAAE,EAAE,CAAC,CAAC,MAAM,KAAK,SAAS,IAAI,kBAAkB,IAAI,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1F,CAAC,2DAAwB,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,eAAe,EAAE,kBAAkB,EAAE,EAAE,EAAE;QAC3F,IAAI,eAAe,KAAK,SAAS;YAAE,OAAO,MAAM,CAAC;QACjD,IAAI,eAAe,IAAI,CAAC,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,CAAC,EAAE,CAAC;YACvE,OAAO,SAAS,CAAC;QAClB,CAAC;QACD,IAAI,MAAM,KAAK,SAAS,IAAI,CAAC,eAAe,IAAI,kBAAkB,EAAE,CAAC;YACpE,OAAO,WAAW,CAAC;QACpB,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;IACD,CAAC,2DAAwB,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,SAAS;IACtD,CAAC,2DAAwB,CAA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
|
|
3
3
|
readonly MatchSource: 'match-source';
|
|
4
4
|
readonly PublishAll: 'publish-all';
|
|
5
5
|
readonly UnpublishAll: 'unpublish-all';
|
|
6
|
+
readonly PreserveTargetState: 'preserve-target-state';
|
|
6
7
|
};
|
|
7
8
|
export type WorkflowPublishingPolicy = (typeof WorkflowPublishingPolicy)[keyof typeof WorkflowPublishingPolicy];
|
|
8
|
-
export type PublishingAction
|
|
9
|
-
export type WorkflowPublishingOutcomeState = 'published' | 'unpublished' | 'unchanged' | 'blocked' | 'failed';
|
|
10
|
-
export type WorkflowPublishingBlockedReason = 'stub-credential' | 'incomplete-credential' | 'missing-node-type';
|
|
11
|
-
export interface WorkflowPublishingOutcome {
|
|
12
|
-
state: WorkflowPublishingOutcomeState;
|
|
13
|
-
error?: string;
|
|
14
|
-
blockedReason?: WorkflowPublishingBlockedReason;
|
|
15
|
-
skippedPublishReason?: WorkflowPublishingBlockedReason;
|
|
16
|
-
}
|
|
9
|
+
export type { PublishingAction, PublishingOutcomeState as WorkflowPublishingOutcomeState, PublishingBlockedReason as WorkflowPublishingBlockedReason, PublishingOutcome as WorkflowPublishingOutcome, } from '../publishing';
|
|
17
10
|
export interface WorkflowPublishingContext {
|
|
18
11
|
status: 'created' | 'updated' | 'skipped';
|
|
19
12
|
sourcePublished?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-publishing-policy.types.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.ts"],"names":[],"mappings":";;;AACa,QAAA,wBAAwB,GAAG;IAKvC,sBAAsB,EAAE,0BAA0B;IAMlD,WAAW,EAAE,cAAc;IAE3B,UAAU,EAAE,aAAa;IAEzB,YAAY,EAAE,eAAe;
|
|
1
|
+
{"version":3,"file":"workflow-publishing-policy.types.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.ts"],"names":[],"mappings":";;;AACa,QAAA,wBAAwB,GAAG;IAKvC,sBAAsB,EAAE,0BAA0B;IAMlD,WAAW,EAAE,cAAc;IAE3B,UAAU,EAAE,aAAa;IAEzB,YAAY,EAAE,eAAe;IAO7B,mBAAmB,EAAE,uBAAuB;CACnC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { User } from '@n8n/db';
|
|
2
2
|
import { WorkflowFinderService } from '../../../../workflows/workflow-finder.service';
|
|
3
3
|
import type { WorkflowDependencyRequirement } from './workflow.types';
|
|
4
|
-
import type {
|
|
4
|
+
import type { WorkflowManifestEntry } from '../../spec/manifest.schema';
|
|
5
5
|
import type { PackageWorkflowRequirement } from '../../spec/requirements.schema';
|
|
6
6
|
export interface WorkflowRequirementExportRequest {
|
|
7
7
|
user: User;
|
|
8
8
|
requirements: WorkflowDependencyRequirement[];
|
|
9
|
-
workflows:
|
|
9
|
+
workflows: WorkflowManifestEntry[];
|
|
10
10
|
}
|
|
11
11
|
export interface WorkflowRequirementExportResult {
|
|
12
12
|
requirements: PackageWorkflowRequirement[];
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.needsActiveVersion = needsActiveVersion;
|
|
4
4
|
exports.applyWorkflowVersionPolicy = applyWorkflowVersionPolicy;
|
|
5
5
|
const db_1 = require("@n8n/db");
|
|
6
|
-
const
|
|
6
|
+
const errors_1 = require("@n8n/errors");
|
|
7
7
|
const n8n_packages_types_1 = require("../../n8n-packages.types");
|
|
8
8
|
const package_export_errors_1 = require("../package-export.errors");
|
|
9
9
|
function needsActiveVersion(policy) {
|
|
@@ -12,7 +12,7 @@ function needsActiveVersion(policy) {
|
|
|
12
12
|
function atPublishedVersion(workflow) {
|
|
13
13
|
const { activeVersion } = workflow;
|
|
14
14
|
if (!activeVersion) {
|
|
15
|
-
throw new
|
|
15
|
+
throw new errors_1.UnexpectedError('Published version was not loaded for workflow', {
|
|
16
16
|
extra: { workflowId: workflow.id, activeVersionId: workflow.activeVersionId },
|
|
17
17
|
});
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-version-policy.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-version-policy.ts"],"names":[],"mappings":";;;;AAAA,gCAAyC;AACzC
|
|
1
|
+
{"version":3,"file":"workflow-version-policy.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow-version-policy.ts"],"names":[],"mappings":";;;;AAAA,gCAAyC;AACzC,wCAA8C;AAE9C,iEAA+D;AAC/D,oEAAqE;AAErE,4BAAmC,MAA2B;IAC7D,OAAO,MAAM,KAAK,wCAAmB,CAAC,MAAM,CAAC;AAC9C,CAAC;AAGD,SAAS,kBAAkB,CAAC,QAAwB;IACnD,MAAM,EAAE,aAAa,EAAE,GAAG,QAAQ,CAAC;IAEnC,IAAI,CAAC,aAAa,EAAE,CAAC;QACpB,MAAM,IAAI,wBAAe,CAAC,+CAA+C,EAAE;YAC1E,KAAK,EAAE,EAAE,UAAU,EAAE,QAAQ,CAAC,EAAE,EAAE,eAAe,EAAE,QAAQ,CAAC,eAAe,EAAE;SAC7E,CAAC,CAAC;IACJ,CAAC;IAGD,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,mBAAc,EAAE,EAAE,QAAQ,EAAE;QACpD,SAAS,EAAE,aAAa,CAAC,SAAS;QAClC,KAAK,EAAE,aAAa,CAAC,KAAK;QAC1B,WAAW,EAAE,aAAa,CAAC,WAAW;KACtC,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,WAAW,GAAG,CAAC,QAAwB,EAAE,EAAE,CAAC,QAAQ,CAAC,eAAe,KAAK,IAAI,CAAC;AAEpF,SAAS,4BAA4B,CAAC,SAA2B;IAChE,MAAM,WAAW,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3E,IAAI,WAAW,CAAC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MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IACrE,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;IACpE,OAAO,CAAC,GAAG,yBAAyB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC;AACpE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { WorkflowFinderService } from '../../../../workflows/workflow-finder.ser
|
|
|
3
3
|
import { WorkflowSerializer } from './workflow.serializer';
|
|
4
4
|
import type { PackageWriter } from '../../io/package-writer';
|
|
5
5
|
import type { ExportVersionPolicy } from '../../n8n-packages.types';
|
|
6
|
-
import type {
|
|
6
|
+
import type { WorkflowManifestEntry } from '../../spec/manifest.schema';
|
|
7
7
|
import { CredentialRequirementsExtractor } from '../credential/credential-requirements.extractor';
|
|
8
8
|
import { DataTableRequirementsExtractor } from '../data-table/data-table-requirements.extractor';
|
|
9
9
|
import type { ExportRequirements } from '../requirements.types';
|
|
@@ -18,7 +18,7 @@ export interface WorkflowExportRequest {
|
|
|
18
18
|
basePrefix?: string;
|
|
19
19
|
}
|
|
20
20
|
export interface WorkflowExportResult {
|
|
21
|
-
entries:
|
|
21
|
+
entries: WorkflowManifestEntry[];
|
|
22
22
|
requirements: ExportRequirements;
|
|
23
23
|
}
|
|
24
24
|
export declare class WorkflowExporter {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.exporter.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow.exporter.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gCAAkC;AAElC,iFAA4E;AAE5E,+DAA2D;AAC3D,uEAA2F;AAC3F,4DAAuF;AAIvF,uGAAkG;AAElG,uGAAiG;AAGjG,oEAAgF;AAEhF,kFAA6E;AAE7E,iGAA4F;AAuBrF,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC5B,YACkB,cAAqC,EACrC,kBAAsC,EACtC,+BAAgE,EAChE,8BAA8D,EAC9D,6BAA4D,EAC5D,wBAAkD;8BALlD,cAAc;kCACd,kBAAkB;+CAClB,+BAA+B;8CAC/B,8BAA8B;6CAC9B,6BAA6B;wCAC7B,wBAAwB;IACvC,CAAC;IAEJ,KAAK,CAAC,MAAM,CAAC,OAA8B;QAC1C,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,yBAAyB,CACpE,OAAO,CAAC,WAAW,EACnB,OAAO,CAAC,IAAI,EACZ,CAAC,iBAAiB,CAAC,EACnB;YACC,mBAAmB,EAAE,IAAI;YACzB,WAAW,EAAE,OAAO,CAAC,WAAW;YAChC,oBAAoB,EAAE,IAAA,4CAAkB,EAAC,OAAO,CAAC,aAAa,CAAC;SAC/D,CACD,CAAC;QAEF,MAAM,IAAA,4DAAoC,EACzC,UAAU,EACV,OAAO,CAAC,WAAW,EACnB,SAAS,EACT,KAAK,EAAE,GAAG,EAAE,EAAE,CAAC,MAAM,IAAI,CAAC,cAAc,CAAC,uBAAuB,CAAC,GAAG,CAAC,CACrE,CAAC;QAEF,MAAM,kBAAkB,GAAG,IAAI,CAAC,uBAAuB,CACtD,OAAO,CAAC,WAAW,EACnB,IAAA,oDAA0B,EAAC,SAAS,EAAE,OAAO,CAAC,aAAa,CAAC,CAC5D,CAAC;QAEF,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"workflow.exporter.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow.exporter.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,gCAAkC;AAElC,iFAA4E;AAE5E,+DAA2D;AAC3D,uEAA2F;AAC3F,4DAAuF;AAIvF,uGAAkG;AAElG,uGAAiG;AAGjG,oEAAgF;AAEhF,kFAA6E;AAE7E,iGAA4F;AAuBr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G,EAAU,CAAC;QAC/B,MAAM,gBAAgB,GAAqB,EAAE,CAAC;QAE9C,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;YACtC,IAAI,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC;gBAAE,SAAS;YAEnC,MAAM,QAAQ,GAAG,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YAC/C,IAAI,CAAC,QAAQ;gBAAE,SAAS;YAExB,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;YACrB,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACjC,CAAC;QAED,OAAO,gBAAgB,CAAC;IACzB,CAAC;CACD,CAAA;;2BAnFY,gBAAgB;IAD5B,IAAA,YAAO,GAAE;qCAGyB,+CAAqB,EACjB,wCAAkB,EACL,mEAA+B,EAChC,kEAA8B,EAC/B,+DAA6B,EAClC,qDAAwB;GAPxD,gBAAgB,CAmF5B"}
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.DirectoryPackageWriter = void 0;
|
|
7
|
-
const
|
|
7
|
+
const errors_1 = require("@n8n/errors");
|
|
8
8
|
const promises_1 = require("node:fs/promises");
|
|
9
9
|
const node_path_1 = __importDefault(require("node:path"));
|
|
10
10
|
function normaliseEntryPath(entryPath) {
|
|
@@ -30,7 +30,7 @@ class DirectoryPackageWriter {
|
|
|
30
30
|
const destination = node_path_1.default.resolve(baseDir, entryPath);
|
|
31
31
|
const relative = node_path_1.default.relative(baseDir, destination);
|
|
32
32
|
if (relative === '' || relative.startsWith('..') || node_path_1.default.isAbsolute(relative)) {
|
|
33
|
-
throw new
|
|
33
|
+
throw new errors_1.UnexpectedError(`Refusing to write package entry outside the target: ${entryPath}`);
|
|
34
34
|
}
|
|
35
35
|
return destination;
|
|
36
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory-package-writer.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/io/directory/directory-package-writer.ts"],"names":[],"mappings":";;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"directory-package-writer.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/io/directory/directory-package-writer.ts"],"names":[],"mappings":";;;;;;AAAA,wCAA8C;AAC9C,+CAAoD;AACpD,0DAA6B;AAI7B,SAAS,kBAAkB,CAAC,SAAiB;IAC5C,OAAO,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AACpE,CAAC;AAMD;IACC,YAA6B,SAAiB;yBAAjB,SAAS;IAAW,CAAC;IAElD,KAAK,CAAC,SAAS,CAAC,SAAiB,EAAE,OAAwB;QAC1D,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC;QACtF,MAAM,IAAA,gBAAK,EAAC,mBAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC5D,MAAM,IAAA,oBAAS,EAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,SAAiB;QACrC,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC,CAAC;QACtF,MAAM,IAAA,gBAAK,EAAC,WAAW,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,KAAK,CAAC,QAAQ;QACb,OAAO;IACR,CAAC;IAGO,aAAa,CAAC,OAAe,EAAE,SAAiB;QACvD,MAAM,WAAW,GAAG,mBAAI,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QACrD,MAAM,QAAQ,GAAG,mBAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QACrD,IAAI,QAAQ,KAAK,EAAE,IAAI,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,mBAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;YAC/E,MAAM,IAAI,wBAAe,CAAC,uDAAuD,SAAS,EAAE,CAAC,CAAC;QAC/F,CAAC;QACD,OAAO,WAAW,CAAC;IACpB,CAAC;CACD"}
|
|
@@ -14,6 +14,7 @@ exports.assertUnseen = assertUnseen;
|
|
|
14
14
|
const api_types_1 = require("@n8n/api-types");
|
|
15
15
|
const di_1 = require("@n8n/di");
|
|
16
16
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
17
|
+
const errors_1 = require("@n8n/errors");
|
|
17
18
|
const zod_1 = require("zod");
|
|
18
19
|
const workflow_serializer_1 = require("../../entities/workflow/workflow.serializer");
|
|
19
20
|
const manifest_entry_1 = require("../manifest-entry");
|
|
@@ -46,7 +47,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
46
47
|
return null;
|
|
47
48
|
const projectId = projectIdByDir.get(file.projectDir);
|
|
48
49
|
if (projectId === undefined) {
|
|
49
|
-
throw new
|
|
50
|
+
throw new errors_1.UserError(`Package file at ${file.path} is inside "${file.projectDir}", which has no ${manifest_entry_1.PACKAGE_ENTITY_LAYOUT.projects.fileName}.`);
|
|
50
51
|
}
|
|
51
52
|
return projectId;
|
|
52
53
|
};
|
|
@@ -80,7 +81,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
80
81
|
throw unsupportedLocation(file);
|
|
81
82
|
const projectId = projectIdOf(file);
|
|
82
83
|
if (projectId === null) {
|
|
83
|
-
throw new
|
|
84
|
+
throw new errors_1.UserError(`Package workflow file at ${file.path} is not inside a project.`);
|
|
84
85
|
}
|
|
85
86
|
const serialized = await this.readEntity(source, file, api_types_1.serializedWorkflowSchema);
|
|
86
87
|
assertUnseen(seenIds, serialized.id, 'workflow id');
|
|
@@ -102,7 +103,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
102
103
|
throw unsupportedLocation(file);
|
|
103
104
|
const projectId = projectIdOf(file);
|
|
104
105
|
if (projectId === null) {
|
|
105
|
-
throw new
|
|
106
|
+
throw new errors_1.UserError(`Package folder file at ${file.path} is not inside a project.`);
|
|
106
107
|
}
|
|
107
108
|
const folder = await this.readEntity(source, file, api_types_1.serializedFolderSchema);
|
|
108
109
|
assertUnseen(seenIds, folder.id, 'folder id');
|
|
@@ -164,7 +165,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
164
165
|
}
|
|
165
166
|
catch (cause) {
|
|
166
167
|
if (cause instanceof zod_1.ZodError) {
|
|
167
|
-
throw new
|
|
168
|
+
throw new errors_1.UserError(`Package ${label} file at ${file.path} failed schema validation.`, {
|
|
168
169
|
cause,
|
|
169
170
|
});
|
|
170
171
|
}
|
|
@@ -208,11 +209,11 @@ function isFolderLocation(segments) {
|
|
|
208
209
|
return segments.length >= 3 && segments[0] === manifest_entry_1.PACKAGE_ENTITY_LAYOUT.folders.directory;
|
|
209
210
|
}
|
|
210
211
|
function unsupportedLocation(file) {
|
|
211
|
-
return new
|
|
212
|
+
return new errors_1.UserError(`Package ${LABELS[file.kind]} file at ${file.path} is not in a supported location.`);
|
|
212
213
|
}
|
|
213
214
|
function assertUnseen(seen, key, label, displayKey = key) {
|
|
214
215
|
if (seen.has(key))
|
|
215
|
-
throw new
|
|
216
|
+
throw new errors_1.UserError(`Package contains a duplicate ${label}: ${displayKey}`);
|
|
216
217
|
seen.add(key);
|
|
217
218
|
}
|
|
218
219
|
//# sourceMappingURL=package-directory-inventory-reader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-directory-inventory-reader.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/io/directory/package-directory-inventory-reader.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAYwB;AACxB,gCAAkC;AAClC,+
|
|
1
|
+
{"version":3,"file":"package-directory-inventory-reader.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/io/directory/package-directory-inventory-reader.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAYwB;AACxB,gCAAkC;AAClC,+CAAyC;AACzC,wCAAwC;AAExC,6BAA+B;AAE/B,qFAGqD;AACrD,sDAA0D;AAuD1D,MAAM,iBAAiB,GAA+B;IACrD,CAAC,sCAAqB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,UAAU;IACrD,CAAC,sCAAqB,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,WAAW;IACvD,CAAC,sCAAqB,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,SAAS;IACnD,CAAC,sCAAqB,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,aAAa;IAC3D,CAAC,sCAAqB,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,WAAW;IACvD,CAAC,sCAAqB,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,YAAY;CACzD,CAAC;AAEF,MAAM,MAAM,GAA+B;IAC1C,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,QAAQ;IACjB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,YAAY;CACxB,CAAC;AAkBK,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAC3C,YAA6B,kBAAsC;kCAAtC,kBAAkB;IAAuB,CAAC;IAEvE,KAAK,CAAC,IAAI,CAAC,MAAyB;QACnC,MAAM,KAAK,GAAG,CAAC,MAAM,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC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AM,IAAI,CAAC,CAAC;AAC1F,CAAC;AAGD,SAAS,gBAAgB,CAAC,QAAkB;IAC3C,OAAO,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,sCAAqB,CAAC,OAAO,CAAC,SAAS,CAAC;AACxF,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAgB;IAC5C,OAAO,IAAI,kBAAS,CACnB,WAAW,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,kCAAkC,CACnF,CAAC;AACH,CAAC;AAED,sBACC,IAAiB,EACjB,GAAW,EACX,KAAa,EACb,UAAU,GAAG,GAAG;IAEhB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;QAAE,MAAM,IAAI,kBAAS,CAAC,gCAAgC,KAAK,KAAK,UAAU,EAAE,CAAC,CAAC;IAC/F,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SerializedWorkflow, SerializedWorkflowMetadata } from '@n8n/api-types';
|
|
2
2
|
import type { PackageWriter } from './package-writer';
|
|
3
|
-
import type { ManifestEntry, PackageManifest } from '../spec/manifest.schema';
|
|
3
|
+
import type { ManifestEntry, PackageManifest, WorkflowManifestEntry } from '../spec/manifest.schema';
|
|
4
4
|
export type ManifestEntityCollection = {
|
|
5
5
|
[K in keyof PackageManifest]-?: NonNullable<PackageManifest[K]> extends ManifestEntry[] ? K : never;
|
|
6
6
|
}[keyof PackageManifest];
|
|
@@ -21,6 +21,10 @@ export declare const PACKAGE_ENTITY_LAYOUT: {
|
|
|
21
21
|
readonly directory: 'agents';
|
|
22
22
|
readonly fileName: 'agent.json';
|
|
23
23
|
};
|
|
24
|
+
readonly skills: {
|
|
25
|
+
readonly directory: 'skills';
|
|
26
|
+
readonly fileName: 'skill.json';
|
|
27
|
+
};
|
|
24
28
|
readonly credentials: {
|
|
25
29
|
readonly directory: 'credentials';
|
|
26
30
|
readonly fileName: 'credential.json';
|
|
@@ -44,6 +48,7 @@ export declare function entityFilePath(collection: ManifestEntityCollection, tar
|
|
|
44
48
|
export declare const WORKFLOW_METADATA_FILE_NAME = "workflow-metadata.json";
|
|
45
49
|
export declare function workflowMetadataFilePath(target: string): string;
|
|
46
50
|
export declare function agentMetadataFilePath(target: string): string;
|
|
51
|
+
export declare function entityIdOfSegment(segment: string): string;
|
|
47
52
|
export declare function createManifestEntry(collection: ManifestEntityCollection, baseDir: string, entity: {
|
|
48
53
|
id: string;
|
|
49
54
|
name: string;
|
|
@@ -55,4 +60,4 @@ export declare function writeManifestEntry(writer: PackageWriter, collection: Ma
|
|
|
55
60
|
export declare function writeWorkflowManifestEntry(writer: PackageWriter, baseDir: string, workflow: {
|
|
56
61
|
id: string;
|
|
57
62
|
name: string;
|
|
58
|
-
}, content: SerializedWorkflow, metadata: SerializedWorkflowMetadata): Promise<
|
|
63
|
+
}, content: SerializedWorkflow, metadata: SerializedWorkflowMetadata): Promise<WorkflowManifestEntry>;
|
|
@@ -6,29 +6,34 @@ exports.projectScopedDirectory = projectScopedDirectory;
|
|
|
6
6
|
exports.entityFilePath = entityFilePath;
|
|
7
7
|
exports.workflowMetadataFilePath = workflowMetadataFilePath;
|
|
8
8
|
exports.agentMetadataFilePath = agentMetadataFilePath;
|
|
9
|
+
exports.entityIdOfSegment = entityIdOfSegment;
|
|
9
10
|
exports.createManifestEntry = createManifestEntry;
|
|
10
11
|
exports.writeManifestEntry = writeManifestEntry;
|
|
11
12
|
exports.writeWorkflowManifestEntry = writeWorkflowManifestEntry;
|
|
12
13
|
const entity_file_format_1 = require("./entity-file-format");
|
|
13
14
|
const slug_utils_1 = require("./slug.utils");
|
|
14
15
|
const package_export_errors_1 = require("../entities/package-export.errors");
|
|
16
|
+
const skill_schema_1 = require("../spec/serialized/skill.schema");
|
|
15
17
|
exports.PACKAGE_ENTITY_LAYOUT = {
|
|
16
18
|
projects: { directory: 'projects', fileName: 'project.json' },
|
|
17
19
|
folders: { directory: 'folders', fileName: 'folder.json' },
|
|
18
20
|
workflows: { directory: 'workflows', fileName: 'workflow.json' },
|
|
19
21
|
agents: { directory: 'agents', fileName: 'agent.json' },
|
|
22
|
+
skills: { directory: 'skills', fileName: 'skill.json' },
|
|
20
23
|
credentials: { directory: 'credentials', fileName: 'credential.json' },
|
|
21
24
|
dataTables: { directory: 'data-tables', fileName: 'data-table.json' },
|
|
22
25
|
variables: { directory: 'variables', fileName: 'variable.json' },
|
|
23
26
|
tags: { directory: 'tags', fileName: 'tag.json' },
|
|
24
27
|
};
|
|
25
|
-
const
|
|
28
|
+
const UNSAFE_ID_CHARACTER = /[^A-Za-z0-9_]/gu;
|
|
29
|
+
const ESCAPED_ID_BYTES = /(?:\.[0-9A-F]{2})+/g;
|
|
26
30
|
const MAX_PATH_SEGMENT_LENGTH = 255;
|
|
27
31
|
const FALLBACK_SLUGS = {
|
|
28
32
|
projects: 'project',
|
|
29
33
|
folders: 'folder',
|
|
30
34
|
workflows: 'workflow',
|
|
31
35
|
agents: 'agent',
|
|
36
|
+
skills: 'skill',
|
|
32
37
|
credentials: 'credential',
|
|
33
38
|
dataTables: 'data-table',
|
|
34
39
|
variables: 'variable',
|
|
@@ -52,14 +57,27 @@ function workflowMetadataFilePath(target) {
|
|
|
52
57
|
function agentMetadataFilePath(target) {
|
|
53
58
|
return `${target}/agent-metadata.json`;
|
|
54
59
|
}
|
|
55
|
-
function
|
|
56
|
-
|
|
60
|
+
function encodeIdSegment(id) {
|
|
61
|
+
return id.replace(UNSAFE_ID_CHARACTER, (character) => Buffer.from(character).toString('hex').toUpperCase().replace(/../g, '.$&'));
|
|
62
|
+
}
|
|
63
|
+
function entityIdOfSegment(segment) {
|
|
64
|
+
return segment
|
|
65
|
+
.slice(segment.lastIndexOf('-') + 1)
|
|
66
|
+
.replace(ESCAPED_ID_BYTES, (escaped) => Buffer.from(escaped.replace(/\./g, ''), 'hex').toString());
|
|
67
|
+
}
|
|
68
|
+
function idPathSegment(collection, entity) {
|
|
69
|
+
if (collection !== 'skills')
|
|
70
|
+
return encodeIdSegment(entity.id);
|
|
71
|
+
if (!skill_schema_1.skillIdSchema.safeParse(entity.id).success) {
|
|
57
72
|
throw new package_export_errors_1.PackageExportBlockedError(`${collection} entry "${entity.name}" has an id that cannot be used as a path segment. Export aborted.`, {
|
|
58
|
-
description: `Id "${entity.id}" may contain only letters, digits, and
|
|
73
|
+
description: `Id "${entity.id}" may contain only letters, digits, underscores, and hyphens.`,
|
|
59
74
|
});
|
|
60
75
|
}
|
|
76
|
+
return entity.id;
|
|
77
|
+
}
|
|
78
|
+
function createManifestEntry(collection, baseDir, entity) {
|
|
61
79
|
const slug = (0, slug_utils_1.generateSlug)(entity.name, FALLBACK_SLUGS[collection]);
|
|
62
|
-
const pathSegment = `${slug}-${entity
|
|
80
|
+
const pathSegment = `${slug}-${idPathSegment(collection, entity)}`;
|
|
63
81
|
if (pathSegment.length > MAX_PATH_SEGMENT_LENGTH) {
|
|
64
82
|
throw new package_export_errors_1.PackageExportBlockedError(`${collection} entry "${entity.name}" creates a path segment longer than ${MAX_PATH_SEGMENT_LENGTH} characters. Shorten the entity name and retry the export.`, {
|
|
65
83
|
description: `The generated path segment has ${pathSegment.length} characters.`,
|
|
@@ -76,6 +94,6 @@ async function writeManifestEntry(writer, collection, baseDir, entity, serialize
|
|
|
76
94
|
async function writeWorkflowManifestEntry(writer, baseDir, workflow, content, metadata) {
|
|
77
95
|
const entry = await writeManifestEntry(writer, 'workflows', baseDir, workflow, content);
|
|
78
96
|
await writer.writeFile(workflowMetadataFilePath(entry.target), JSON.stringify(metadata, null, '\t'));
|
|
79
|
-
return entry;
|
|
97
|
+
return { ...entry, isArchived: content.isArchived };
|
|
80
98
|
}
|
|
81
99
|
//# sourceMappingURL=manifest-entry.js.map
|