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
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.detectTriggerNode = detectTriggerNode;
|
|
4
|
-
exports.validateCompatibility = validateCompatibility;
|
|
5
|
-
exports.listWorkflowInputFields = listWorkflowInputFields;
|
|
6
|
-
exports.inferInputSchema = inferInputSchema;
|
|
7
3
|
exports.getFixedWorkflowToolInputs = getFixedWorkflowToolInputs;
|
|
8
4
|
exports.buildWorkflowToolInputSchema = buildWorkflowToolInputSchema;
|
|
9
5
|
exports.mergeWorkflowToolInput = mergeWorkflowToolInput;
|
|
@@ -11,6 +7,8 @@ exports.executeWorkflow = executeWorkflow;
|
|
|
11
7
|
exports.extractResult = extractResult;
|
|
12
8
|
exports.resolveWorkflowTool = resolveWorkflowTool;
|
|
13
9
|
exports.buildUnavailableWorkflowTool = buildUnavailableWorkflowTool;
|
|
10
|
+
const agent_plan_schema_1 = require("../plans/agent-plan.schema");
|
|
11
|
+
const agent_plan_task_context_1 = require("../plans/agent-plan-task-context");
|
|
14
12
|
const tool_1 = require("@n8n/agents/tool");
|
|
15
13
|
const api_types_1 = require("@n8n/api-types");
|
|
16
14
|
const backend_common_1 = require("@n8n/backend-common");
|
|
@@ -21,20 +19,20 @@ const deferred_promise_1 = require("@n8n/utils/promise/deferred-promise");
|
|
|
21
19
|
const sleep_1 = require("@n8n/utils/sleep");
|
|
22
20
|
const luxon_1 = require("luxon");
|
|
23
21
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
22
|
+
const errors_1 = require("@n8n/errors");
|
|
24
23
|
const uuid_1 = require("uuid");
|
|
25
24
|
const zod_1 = require("zod");
|
|
25
|
+
const agent_queued_message_1 = require("../types/agent-queued-message");
|
|
26
26
|
const execution_persistence_1 = require("../../../executions/execution-persistence");
|
|
27
27
|
const webhook_response_relay_1 = require("../../../scaling/webhook-response-relay");
|
|
28
|
+
const callable_workflow_input_1 = require("../../../workflows/callable/callable-workflow-input");
|
|
29
|
+
const callable_workflow_result_1 = require("../../../workflows/callable/callable-workflow-result");
|
|
30
|
+
const callable_workflow_unavailable_error_1 = require("../../../workflows/callable/callable-workflow-unavailable.error");
|
|
31
|
+
const agent_file_bridge_service_1 = require("../agent-file-bridge.service");
|
|
28
32
|
const agent_sandbox_principal_1 = require("../agent-sandbox-principal");
|
|
29
33
|
const agent_memory_scope_1 = require("../utils/agent-memory-scope");
|
|
30
|
-
const workflow_tool_unavailable_error_1 = require("./workflow-tool-unavailable-error");
|
|
31
34
|
const agent_background_job_service_1 = require("../background/agent-background-job.service");
|
|
32
35
|
const agent_config_composition_1 = require("../json-config/agent-config-composition");
|
|
33
|
-
const SUPPORTED_TRIGGERS = {
|
|
34
|
-
[n8n_workflow_1.EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE]: 'executeWorkflow',
|
|
35
|
-
};
|
|
36
|
-
const _assertSupportedTriggersInSync = SUPPORTED_TRIGGERS;
|
|
37
|
-
void _assertSupportedTriggersInSync;
|
|
38
36
|
const DEFAULT_TIMEOUT_MS = 120_000;
|
|
39
37
|
const WAIT_POLL_ELIGIBLE_MS = 60_000;
|
|
40
38
|
const WAIT_TRACKER_SWEEP_MS = 60_000;
|
|
@@ -49,112 +47,20 @@ const WAIT_RESUME_SCHEMA = zod_1.z.object({
|
|
|
49
47
|
id: zod_1.z.string().optional(),
|
|
50
48
|
value: zod_1.z.string().optional(),
|
|
51
49
|
});
|
|
52
|
-
const WAIT_CONTINUATION_SCHEMA = zod_1.z.object({
|
|
50
|
+
const WAIT_CONTINUATION_SCHEMA = zod_1.z.object({
|
|
51
|
+
executionId: zod_1.z.string(),
|
|
52
|
+
inputFiles: zod_1.z
|
|
53
|
+
.record(zod_1.z.string(), zod_1.z.object({
|
|
54
|
+
fileId: zod_1.z.string(),
|
|
55
|
+
fileName: zod_1.z.string(),
|
|
56
|
+
mimeType: zod_1.z.string(),
|
|
57
|
+
sizeBytes: zod_1.z.number(),
|
|
58
|
+
}))
|
|
59
|
+
.optional(),
|
|
60
|
+
});
|
|
53
61
|
function isWorkflowToolResponse(value) {
|
|
54
62
|
return (0, is_record_1.isRecord)(value) && ('body' in value || 'headers' in value || 'statusCode' in value);
|
|
55
63
|
}
|
|
56
|
-
function detectTriggerNode(workflow) {
|
|
57
|
-
const nodes = workflow.nodes ?? [];
|
|
58
|
-
for (const node of nodes) {
|
|
59
|
-
const triggerType = SUPPORTED_TRIGGERS[node.type];
|
|
60
|
-
if (triggerType) {
|
|
61
|
-
return { node, triggerType };
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
throw noSupportedTriggerError(workflow);
|
|
65
|
-
}
|
|
66
|
-
function noSupportedTriggerError(workflow) {
|
|
67
|
-
return new workflow_tool_unavailable_error_1.WorkflowToolUnavailableError('incompatible', `Workflow "${workflow.name}" needs a '${api_types_1.WORKFLOW_TOOL_TRIGGER_DISPLAY_NAME}' trigger to run as an agent tool.`);
|
|
68
|
-
}
|
|
69
|
-
function validateCompatibility(workflow) {
|
|
70
|
-
const incompatibility = (0, api_types_1.getWorkflowToolIncompatibilityReason)(workflow);
|
|
71
|
-
if (!incompatibility)
|
|
72
|
-
return;
|
|
73
|
-
if (incompatibility.reason === 'incompatible_nodes') {
|
|
74
|
-
const nodes = workflow.nodes ?? [];
|
|
75
|
-
const names = nodes
|
|
76
|
-
.filter((n) => !n.disabled && incompatibility.nodeTypes.includes(n.type))
|
|
77
|
-
.map((n) => `${n.name} (${n.type})`)
|
|
78
|
-
.join(', ');
|
|
79
|
-
throw new workflow_tool_unavailable_error_1.WorkflowToolUnavailableError('incompatible', `Workflow "${workflow.name}" contains nodes that aren't supported as agent tools: ${names}. ` +
|
|
80
|
-
'Remove them or pick another workflow.');
|
|
81
|
-
}
|
|
82
|
-
throw noSupportedTriggerError(workflow);
|
|
83
|
-
}
|
|
84
|
-
const INPUT_SOURCE = 'inputSource';
|
|
85
|
-
const WORKFLOW_INPUTS = 'workflowInputs';
|
|
86
|
-
const JSON_EXAMPLE = 'jsonExample';
|
|
87
|
-
const PASSTHROUGH = 'passthrough';
|
|
88
|
-
function fieldTypeToZod(type, label) {
|
|
89
|
-
const described = (schema) => schema.describe(label).nullable().optional();
|
|
90
|
-
switch (type) {
|
|
91
|
-
case 'number':
|
|
92
|
-
return described(zod_1.z.coerce.number());
|
|
93
|
-
case 'boolean':
|
|
94
|
-
return described(zod_1.z.boolean());
|
|
95
|
-
case 'array':
|
|
96
|
-
return described(zod_1.z.array(zod_1.z.unknown()));
|
|
97
|
-
case 'object':
|
|
98
|
-
return described(zod_1.z.record(zod_1.z.unknown()));
|
|
99
|
-
case 'any':
|
|
100
|
-
return described(zod_1.z.unknown());
|
|
101
|
-
default:
|
|
102
|
-
return described(zod_1.z.coerce.string());
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
function getExecuteWorkflowInputSource(triggerNode) {
|
|
106
|
-
const params = triggerNode.parameters ?? {};
|
|
107
|
-
const inputSource = params[INPUT_SOURCE];
|
|
108
|
-
const defaultInputSource = triggerNode.typeVersion >= 1.1 ? WORKFLOW_INPUTS : PASSTHROUGH;
|
|
109
|
-
return typeof inputSource === 'string' ? inputSource : defaultInputSource;
|
|
110
|
-
}
|
|
111
|
-
function listWorkflowInputFields(triggerNode) {
|
|
112
|
-
const params = triggerNode.parameters ?? {};
|
|
113
|
-
const inputSource = getExecuteWorkflowInputSource(triggerNode);
|
|
114
|
-
if (inputSource === PASSTHROUGH)
|
|
115
|
-
return [];
|
|
116
|
-
if (inputSource === JSON_EXAMPLE) {
|
|
117
|
-
const jsonExample = params[JSON_EXAMPLE];
|
|
118
|
-
if (!jsonExample)
|
|
119
|
-
return [];
|
|
120
|
-
let parsed;
|
|
121
|
-
try {
|
|
122
|
-
parsed = JSON.parse(jsonExample);
|
|
123
|
-
}
|
|
124
|
-
catch {
|
|
125
|
-
return [];
|
|
126
|
-
}
|
|
127
|
-
if (typeof parsed !== 'object' || parsed === null || Array.isArray(parsed))
|
|
128
|
-
return [];
|
|
129
|
-
return Object.entries(parsed).map(([name, value]) => ({
|
|
130
|
-
name,
|
|
131
|
-
type: value === null ? 'any' : Array.isArray(value) ? 'array' : typeof value,
|
|
132
|
-
}));
|
|
133
|
-
}
|
|
134
|
-
const workflowInputs = params[WORKFLOW_INPUTS];
|
|
135
|
-
return (workflowInputs?.values ?? []).filter((field) => typeof field.name === 'string' && field.name.length > 0);
|
|
136
|
-
}
|
|
137
|
-
function schemaFromFieldDefs(fields) {
|
|
138
|
-
const shape = {};
|
|
139
|
-
for (const field of fields) {
|
|
140
|
-
shape[field.name] = fieldTypeToZod(field.type, field.name);
|
|
141
|
-
}
|
|
142
|
-
return Object.keys(shape).length > 0 ? zod_1.z.object(shape) : null;
|
|
143
|
-
}
|
|
144
|
-
function inferInputSchema(triggerNode, triggerType) {
|
|
145
|
-
switch (triggerType) {
|
|
146
|
-
case 'executeWorkflow': {
|
|
147
|
-
const inputSource = getExecuteWorkflowInputSource(triggerNode);
|
|
148
|
-
if (inputSource === PASSTHROUGH) {
|
|
149
|
-
return zod_1.z.object({}).catchall(zod_1.z.unknown());
|
|
150
|
-
}
|
|
151
|
-
return (schemaFromFieldDefs(listWorkflowInputFields(triggerNode)) ??
|
|
152
|
-
zod_1.z.object({}).catchall(zod_1.z.unknown()));
|
|
153
|
-
}
|
|
154
|
-
default:
|
|
155
|
-
return zod_1.z.object({}).catchall(zod_1.z.unknown());
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
64
|
function getFixedWorkflowToolInputs(inputs) {
|
|
159
65
|
if (!inputs)
|
|
160
66
|
return {};
|
|
@@ -214,13 +120,13 @@ async function resolveWorkflowToolInput(input, inputs, fullSchema, context, tool
|
|
|
214
120
|
}, expressions, [{ json: modelInput }]);
|
|
215
121
|
return mergeWorkflowToolInput(modelInput, inputs, fullSchema, resolved);
|
|
216
122
|
}
|
|
217
|
-
async function executeWorkflow(workflow, triggerNode, inputData, context, allOutputs = false, instrumentedToolName) {
|
|
123
|
+
async function executeWorkflow(workflow, triggerNode, inputData, context, allOutputs = false, instrumentedToolName, binary) {
|
|
218
124
|
const { workflowRunner, subworkflowPolicyChecker, activeExecutions } = context;
|
|
219
125
|
context.abortSignal?.throwIfAborted();
|
|
220
126
|
await subworkflowPolicyChecker.checkForProject(workflow, context.projectId);
|
|
221
127
|
context.abortSignal?.throwIfAborted();
|
|
222
128
|
const triggerPinData = {
|
|
223
|
-
[triggerNode.name]: [{ json: inputData }],
|
|
129
|
+
[triggerNode.name]: [{ json: inputData, ...(binary && { binary }) }],
|
|
224
130
|
};
|
|
225
131
|
const workflowData = workflow.pinData === undefined ? workflow : { ...workflow, pinData: undefined };
|
|
226
132
|
const runData = {
|
|
@@ -319,7 +225,7 @@ async function withWorkflowCancellation(executionId, workflowId, signal, execute
|
|
|
319
225
|
const id = workflowId ??
|
|
320
226
|
(await di_1.Container.get(execution_persistence_1.ExecutionPersistence).findSingleExecution(executionId))?.workflowId;
|
|
321
227
|
if (!id)
|
|
322
|
-
throw new
|
|
228
|
+
throw new errors_1.OperationalError('The workflow execution is no longer available');
|
|
323
229
|
await di_1.Container.get(ExecutionService).stop(executionId, [id]);
|
|
324
230
|
aborted.reject(signal.reason);
|
|
325
231
|
}
|
|
@@ -348,21 +254,12 @@ async function withWorkflowCancellation(executionId, workflowId, signal, execute
|
|
|
348
254
|
signal.removeEventListener('abort', onAbort);
|
|
349
255
|
}
|
|
350
256
|
}
|
|
351
|
-
function normaliseExecutionStatus(status) {
|
|
352
|
-
if (status === 'error' || status === 'crashed')
|
|
353
|
-
return 'error';
|
|
354
|
-
if (status === 'canceled')
|
|
355
|
-
return 'canceled';
|
|
356
|
-
if (status === 'running' || status === 'new')
|
|
357
|
-
return 'running';
|
|
358
|
-
if (status === 'waiting')
|
|
359
|
-
return 'waiting';
|
|
360
|
-
return 'success';
|
|
361
|
-
}
|
|
362
257
|
function formatResult(executionId, status, data, allOutputs) {
|
|
363
258
|
const runData = data?.resultData?.runData;
|
|
364
|
-
const
|
|
365
|
-
const
|
|
259
|
+
const items = runData ? (0, callable_workflow_result_1.collectResultItems)(runData, allOutputs) : {};
|
|
260
|
+
const resultData = (0, callable_workflow_result_1.toResultData)(items);
|
|
261
|
+
const hasBinary = Object.values(items).some((nodeItems) => nodeItems.some((item) => item.binary));
|
|
262
|
+
const normalisedStatus = (0, callable_workflow_result_1.normaliseExecutionStatus)(status);
|
|
366
263
|
const wait = normalisedStatus === 'waiting' ? extractWaitState(data) : undefined;
|
|
367
264
|
return {
|
|
368
265
|
executionId,
|
|
@@ -370,6 +267,7 @@ function formatResult(executionId, status, data, allOutputs) {
|
|
|
370
267
|
data: Object.keys(resultData).length > 0 ? resultData : undefined,
|
|
371
268
|
error: data?.resultData?.error?.message,
|
|
372
269
|
...(wait ? { wait } : {}),
|
|
270
|
+
...(hasBinary ? { items } : {}),
|
|
373
271
|
};
|
|
374
272
|
}
|
|
375
273
|
async function extractResult(executionId, allOutputs) {
|
|
@@ -418,11 +316,33 @@ function extractWaitState(data) {
|
|
|
418
316
|
const bounded = waitTill !== undefined && !(0, n8n_workflow_1.isIndefiniteWait)(waitTill);
|
|
419
317
|
return bounded ? { waitTill } : {};
|
|
420
318
|
}
|
|
421
|
-
function
|
|
422
|
-
const { wait: _wait, ...rest } = result;
|
|
423
|
-
|
|
319
|
+
async function finishResult(result, context, ctx, inputFiles = new Map()) {
|
|
320
|
+
const { wait: _wait, items, ...rest } = result;
|
|
321
|
+
const persistence = ctx.persistence;
|
|
322
|
+
if (!persistence?.threadId || !persistence.resourceId || !items)
|
|
323
|
+
return rest;
|
|
324
|
+
const { threadId, resourceId } = persistence;
|
|
325
|
+
const bridge = di_1.Container.get(agent_file_bridge_service_1.AgentFileBridge);
|
|
326
|
+
const scope = {
|
|
327
|
+
agentId: context.agentId ?? null,
|
|
328
|
+
projectId: context.projectId,
|
|
329
|
+
threadId,
|
|
330
|
+
resourceId,
|
|
331
|
+
};
|
|
332
|
+
const data = { ...rest.data };
|
|
333
|
+
const files = [];
|
|
334
|
+
const skippedFiles = [];
|
|
335
|
+
const stored = new Map(inputFiles);
|
|
336
|
+
const skipped = new Set();
|
|
337
|
+
for (const [nodeName, nodeItems] of Object.entries(items)) {
|
|
338
|
+
const adopted = await bridge.adoptFromItems(nodeItems, scope, stored, skipped);
|
|
339
|
+
data[nodeName] = adopted.items.map(({ json, binary }) => (binary ? { ...json, binary } : json));
|
|
340
|
+
files.push(...adopted.files);
|
|
341
|
+
skippedFiles.push(...adopted.skippedFiles);
|
|
342
|
+
}
|
|
343
|
+
return { ...rest, data, files, ...(skippedFiles.length > 0 && { skippedFiles }) };
|
|
424
344
|
}
|
|
425
|
-
async function backgroundWaitingExecution(result, context, ctx, reference, allOutputs) {
|
|
345
|
+
async function backgroundWaitingExecution(result, context, ctx, reference, allOutputs, inputFiles) {
|
|
426
346
|
const agentRun = context.agentRun ?? agentRunOf(context, ctx);
|
|
427
347
|
const parentResourceId = ctx.persistence?.resourceId;
|
|
428
348
|
const sandboxScope = (0, agent_sandbox_principal_1.decodeAgentSandboxHostMetadata)(ctx.persistence?.hostMetadata);
|
|
@@ -437,9 +357,11 @@ async function backgroundWaitingExecution(result, context, ctx, reference, allOu
|
|
|
437
357
|
try {
|
|
438
358
|
const jobService = di_1.Container.get(agent_background_job_service_1.AgentBackgroundJobService);
|
|
439
359
|
const receipt = await jobService.registerWorkflowJob({
|
|
360
|
+
planTask: (0, agent_plan_task_context_1.readPlanTaskContext)(ctx.persistence?.hostMetadata),
|
|
440
361
|
id: (0, uuid_1.v4)(),
|
|
441
362
|
parentAgentId: agentRun.agentId,
|
|
442
363
|
parentThreadId: agentRun.threadId,
|
|
364
|
+
sourceExecutionId: (0, agent_queued_message_1.hostMetadataExecutionId)(ctx.persistence?.hostMetadata),
|
|
443
365
|
parentResourceId,
|
|
444
366
|
parentPrincipalHash: sandboxScope.principalHash,
|
|
445
367
|
title: reference.workflowName,
|
|
@@ -466,15 +388,18 @@ async function backgroundWaitingExecution(result, context, ctx, reference, allOu
|
|
|
466
388
|
const fresh = formatResult(result.executionId, full.status, full.data, allOutputs);
|
|
467
389
|
const settlementStatus = (0, agent_background_job_service_1.settlementStatusForExecution)(rawStatus);
|
|
468
390
|
const runData = full.data?.resultData?.runData;
|
|
391
|
+
const finished = await finishResult(fresh, context, ctx, inputFiles);
|
|
469
392
|
await jobService.settle(jobId, {
|
|
470
393
|
status: settlementStatus,
|
|
471
394
|
result: settlementStatus === 'completed' && runData
|
|
472
|
-
? (0, agent_background_job_service_1.serializeWorkflowJobResult)((0,
|
|
395
|
+
? (0, agent_background_job_service_1.serializeWorkflowJobResult)((0, callable_workflow_result_1.collectResultData)(runData, false))
|
|
473
396
|
: null,
|
|
474
397
|
error: fresh.error ?? null,
|
|
398
|
+
files: settlementStatus === 'completed' && finished.files?.length ? finished.files : null,
|
|
399
|
+
skippedFiles: settlementStatus === 'completed' && finished.skippedFiles ? finished.skippedFiles : null,
|
|
475
400
|
});
|
|
476
401
|
await consumeInlineMail(jobService, agentRun.threadId, jobId);
|
|
477
|
-
return { ...
|
|
402
|
+
return { ...finished, jobId };
|
|
478
403
|
}
|
|
479
404
|
const continuesAt = result.wait?.waitTill
|
|
480
405
|
? ` It continues at ${result.wait.waitTill.toISOString()}.`
|
|
@@ -484,11 +409,12 @@ async function backgroundWaitingExecution(result, context, ctx, reference, allOu
|
|
|
484
409
|
status: 'running_in_background',
|
|
485
410
|
jobId,
|
|
486
411
|
note: `The "${reference.workflowName}" workflow is paused at a Wait node and now runs as background job ${jobId}.${continuesAt}` +
|
|
487
|
-
' Use
|
|
412
|
+
' Use background_jobs with action "check" for the result and action "cancel" to stop it. Do not start it again.',
|
|
488
413
|
};
|
|
489
414
|
}
|
|
490
415
|
catch (error) {
|
|
491
|
-
|
|
416
|
+
const level = error instanceof agent_plan_schema_1.AgentPlanValidationError ? 'debug' : 'error';
|
|
417
|
+
di_1.Container.get(backend_common_1.Logger)[level]('Failed to background a waiting workflow execution', {
|
|
492
418
|
executionId: result.executionId,
|
|
493
419
|
workflowId: reference.workflowId,
|
|
494
420
|
error: error instanceof Error ? error.message : String(error),
|
|
@@ -520,7 +446,7 @@ async function settleOutcomeUnknown(jobService, parentThreadId, jobId, execution
|
|
|
520
446
|
jobId,
|
|
521
447
|
note: claimed
|
|
522
448
|
? agent_background_job_service_1.EXECUTION_OUTCOME_UNKNOWN_ERROR
|
|
523
|
-
: `This run already settled as background job ${jobId} — use
|
|
449
|
+
: `This run already settled as background job ${jobId} — use background_jobs with action "check" for its outcome.`,
|
|
524
450
|
};
|
|
525
451
|
}
|
|
526
452
|
function isPollableWait(wait) {
|
|
@@ -604,11 +530,11 @@ async function buildWorkflowTool(descriptor, context) {
|
|
|
604
530
|
usePublishedVersion: context.usePublishedWorkflowVersion === true,
|
|
605
531
|
});
|
|
606
532
|
if (!workflow) {
|
|
607
|
-
throw new
|
|
533
|
+
throw new callable_workflow_unavailable_error_1.CallableWorkflowUnavailableError('not_found', `Workflow "${descriptor.workflow}" not found`);
|
|
608
534
|
}
|
|
609
|
-
validateCompatibility(workflow);
|
|
610
|
-
const { node: triggerNode, triggerType } = detectTriggerNode(workflow);
|
|
611
|
-
const fullInputSchema = inferInputSchema(triggerNode, triggerType);
|
|
535
|
+
(0, callable_workflow_input_1.validateCompatibility)(workflow);
|
|
536
|
+
const { node: triggerNode, triggerType } = (0, callable_workflow_input_1.detectTriggerNode)(workflow);
|
|
537
|
+
const fullInputSchema = (0, callable_workflow_input_1.inferInputSchema)(triggerNode, triggerType);
|
|
612
538
|
return assembleWorkflowTool(descriptor, context, {
|
|
613
539
|
reference: { workflowId: workflow.id, workflowName: workflow.name },
|
|
614
540
|
inputSchema: buildWorkflowToolInputSchema(fullInputSchema, descriptor.inputs),
|
|
@@ -622,9 +548,10 @@ function assembleWorkflowTool(descriptor, context, tool) {
|
|
|
622
548
|
const toolInputs = descriptor.inputs;
|
|
623
549
|
const allOutputs = descriptor.allOutputs ?? false;
|
|
624
550
|
const supportsHitl = context.supportsHitl ?? true;
|
|
551
|
+
const acceptsFiles = !Object.hasOwn(inputSchema.shape, 'files');
|
|
625
552
|
const builder = new tool_1.Tool(toolName)
|
|
626
553
|
.description(toolDescription)
|
|
627
|
-
.input(inputSchema)
|
|
554
|
+
.input(acceptsFiles ? inputSchema.extend({ files: agent_file_bridge_service_1.FILES_INPUT_SCHEMA }) : inputSchema)
|
|
628
555
|
.output(zod_1.z.object({
|
|
629
556
|
executionId: zod_1.z.string(),
|
|
630
557
|
status: zod_1.z.string(),
|
|
@@ -632,6 +559,8 @@ function assembleWorkflowTool(descriptor, context, tool) {
|
|
|
632
559
|
error: zod_1.z.string().optional(),
|
|
633
560
|
note: zod_1.z.string().optional(),
|
|
634
561
|
jobId: zod_1.z.string().optional(),
|
|
562
|
+
files: zod_1.z.array(zod_1.z.custom()).optional(),
|
|
563
|
+
skippedFiles: zod_1.z.array(zod_1.z.custom()).optional(),
|
|
635
564
|
}))
|
|
636
565
|
.suspend(WAIT_SUSPEND_SCHEMA)
|
|
637
566
|
.resume(WAIT_RESUME_SCHEMA)
|
|
@@ -639,43 +568,62 @@ function assembleWorkflowTool(descriptor, context, tool) {
|
|
|
639
568
|
const pending = WAIT_CONTINUATION_SCHEMA.safeParse(ctx.continuation);
|
|
640
569
|
let current;
|
|
641
570
|
let result;
|
|
571
|
+
let inputFiles;
|
|
642
572
|
if (pending.success) {
|
|
643
573
|
result = await extractResult(pending.data.executionId, allOutputs);
|
|
574
|
+
inputFiles = new Map(Object.entries(pending.data.inputFiles ?? {}));
|
|
644
575
|
}
|
|
645
576
|
else {
|
|
646
577
|
current = await loadCurrentWorkflow(context, reference);
|
|
647
|
-
const currentFullSchema = inferInputSchema(current.triggerNode, current.triggerType);
|
|
648
|
-
const
|
|
578
|
+
const currentFullSchema = (0, callable_workflow_input_1.inferInputSchema)(current.triggerNode, current.triggerType);
|
|
579
|
+
const { files, ...rest } = input;
|
|
580
|
+
const modelInput = acceptsFiles ? rest : input;
|
|
581
|
+
const resolved = acceptsFiles && files
|
|
582
|
+
? await di_1.Container.get(agent_file_bridge_service_1.AgentFileBridge).toBinary(files, {
|
|
583
|
+
projectId: context.projectId,
|
|
584
|
+
threadId: ctx.persistence?.threadId,
|
|
585
|
+
})
|
|
586
|
+
: undefined;
|
|
587
|
+
inputFiles = resolved?.stored;
|
|
588
|
+
const parsedInput = await resolveWorkflowToolInput(modelInput, toolInputs, currentFullSchema, context, toolName);
|
|
649
589
|
result = await executeWorkflow(current.workflow, current.triggerNode, parsedInput, {
|
|
650
590
|
...context,
|
|
651
591
|
agentRun: agentRunOf(context, ctx),
|
|
652
592
|
abortSignal: ctx.abortSignal,
|
|
653
|
-
}, allOutputs, toolName);
|
|
593
|
+
}, allOutputs, toolName, resolved?.binary);
|
|
654
594
|
}
|
|
655
595
|
if (result.status === 'waiting' && isWaitCancelled(ctx.resumeData)) {
|
|
656
596
|
return {
|
|
657
|
-
...
|
|
597
|
+
...(await finishResult(result, context, ctx, inputFiles)),
|
|
658
598
|
note: 'The user stopped waiting for this workflow. It is still paused — do not start it again.',
|
|
659
599
|
};
|
|
660
600
|
}
|
|
661
|
-
if (result.status !== 'waiting')
|
|
662
|
-
return
|
|
601
|
+
if (result.status !== 'waiting') {
|
|
602
|
+
return await finishResult(result, context, ctx, inputFiles);
|
|
603
|
+
}
|
|
663
604
|
const waiting = result;
|
|
664
605
|
return await withWorkflowCancellation(waiting.executionId, reference.workflowId, ctx.abortSignal, async () => {
|
|
665
606
|
result = await pollIfDueSoon(waiting, allOutputs, ctx.abortSignal);
|
|
666
607
|
ctx.abortSignal?.throwIfAborted();
|
|
667
608
|
if (result.status === 'waiting' && context.backgroundTasksEnabled) {
|
|
668
|
-
const backgrounded = await backgroundWaitingExecution(result, context, ctx, reference, allOutputs);
|
|
609
|
+
const backgrounded = await backgroundWaitingExecution(result, context, ctx, reference, allOutputs, inputFiles);
|
|
669
610
|
ctx.abortSignal?.throwIfAborted();
|
|
670
611
|
if (backgrounded)
|
|
671
612
|
return backgrounded;
|
|
672
613
|
}
|
|
673
|
-
if (result.status !== 'waiting' || !supportsHitl)
|
|
674
|
-
return
|
|
614
|
+
if (result.status !== 'waiting' || !supportsHitl) {
|
|
615
|
+
return await finishResult(result, context, ctx, inputFiles);
|
|
616
|
+
}
|
|
675
617
|
current ??= await loadCurrentWorkflow(context, reference);
|
|
676
618
|
ctx.abortSignal?.throwIfAborted();
|
|
677
619
|
return await ctx.suspend(buildWaitCard(current.workflow.name, result.wait), {
|
|
678
|
-
continuation: {
|
|
620
|
+
continuation: {
|
|
621
|
+
executionId: result.executionId,
|
|
622
|
+
...(inputFiles &&
|
|
623
|
+
inputFiles.size > 0 && {
|
|
624
|
+
inputFiles: Object.fromEntries(Array.from(inputFiles, ([id, file]) => [id, { ...file }])),
|
|
625
|
+
}),
|
|
626
|
+
},
|
|
679
627
|
});
|
|
680
628
|
});
|
|
681
629
|
});
|
|
@@ -695,10 +643,10 @@ async function loadCurrentWorkflow(context, reference) {
|
|
|
695
643
|
usePublishedVersion: context.usePublishedWorkflowVersion === true,
|
|
696
644
|
});
|
|
697
645
|
if (!workflow) {
|
|
698
|
-
throw new
|
|
646
|
+
throw new callable_workflow_unavailable_error_1.CallableWorkflowUnavailableError('not_found', `Workflow "${reference.workflowName}" is no longer accessible`);
|
|
699
647
|
}
|
|
700
|
-
validateCompatibility(workflow);
|
|
701
|
-
const { node: triggerNode, triggerType } = detectTriggerNode(workflow);
|
|
648
|
+
(0, callable_workflow_input_1.validateCompatibility)(workflow);
|
|
649
|
+
const { node: triggerNode, triggerType } = (0, callable_workflow_input_1.detectTriggerNode)(workflow);
|
|
702
650
|
return { workflow, triggerNode, triggerType };
|
|
703
651
|
}
|
|
704
652
|
const toToolName = agent_config_composition_1.sanitizeToolName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-tool-factory.js","sourceRoot":"","sources":["../../../../src/modules/agents/tools/workflow-tool-factory.ts"],"names":[],"mappings":";;;;;;;;;;;;;AACA,2CAAwC;AACxC,8CAQwB;AACxB,wDAA6C;AAC7C,wCAA2C;AAE3C,gCAAoC;AACpC,oDAAgD;AAChD,0EAA4E;AAC5E,4CAAyC;AACzC,iCAAiC;AAWjC,+CAQsB;AACtB,+BAAkC;AAClC,6BAAwB;AAGxB,8EAA0E;AAG1E,6EAAwE;AAIxE,wEAA4E;AAC5E,oEAAwE;AACxE,uFAAiF;AAKjF,6FAMoD;AACpD,sFAA2E;AAY3E,MAAM,kBAAkB,GAA2B;IAClD,CAAC,iDAAkC,CAAC,EAAE,iBAAiB;CACvD,CAAC;AAKF,MAAM,8BAA8B,GAGhC,kBAAkB,CAAC;AACvB,KAAK,8BAA8B,CAAC;AAEpC,MAAM,kBAAkB,GAAG,OAAO,CAAC;AAGnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAGrC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AAErC,MAAM,qBAAqB,GAAG,KAAK,CAAC;AAGpC,MAAM,mBA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AAY,EAAE,SAAS,CAAC,YAAY;YACpC,GAAG,CAAC,WAAW,KAAK,SAAS,IAAI,EAAE,WAAW,EAAE,CAAC;SACjD;KACD,CAAC;AACH,CAAC;AAED,KAAK,UAAU,mBAAmB,CACjC,OAA4B,EAC5B,SAAwC;IAExC,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,cAAc,CAAC,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,SAAS,EAAE;QACxF,mBAAmB,EAAE,OAAO,CAAC,2BAA2B,KAAK,IAAI;KACjE,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,MAAM,IAAI,8DAA4B,CACrC,WAAW,EACX,aAAa,SAAS,CAAC,YAAY,2BAA2B,CAC9D,CAAC;IACH,CAAC;IAED,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAEvE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;AAC/C,CAAC;AAWD,MAAM,UAAU,GAAG,2CAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"workflow-tool-factory.js","sourceRoot":"","sources":["../../../../src/modules/agents/tools/workflow-tool-factory.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kEAAsE;AACtE,8EAAuE;AAEvE,2CAAwC;AACxC,8CAOwB;AACxB,wDAA6C;AAC7C,wCAA2C;AAE3C,gCAAoC;AACpC,oDAAgD;AAChD,0EAA4E;AAC5E,4CAAyC;AACzC,iCAAiC;AAajC,+CAMsB;AACtB,wCAA+C;AAC/C,+BAAkC;AAClC,6BAAwB;AAExB,wEAAwE;AAExE,8EAA0E;AAG1E,6EAAwE;AAExE,0FAIsD;AAKtD,4FAKuD;AACvD,kHAA4G;AAG5G,4EAAmF;AACnF,wEAA4E;AAC5E,oEAAwE;AACxE,6FAKoD;AACpD,sFAA2E;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AAE,WAAW,EAAE,CAAC;AAC/C,CAAC;AAWD,MAAM,UAAU,GAAG,2CAAgB,CAAC"}
|
|
@@ -15,6 +15,7 @@ export interface QueuedUserChatMessage extends QueuedMessageInput {
|
|
|
15
15
|
messageId?: string;
|
|
16
16
|
options?: Record<string, unknown>;
|
|
17
17
|
hidden?: boolean;
|
|
18
|
+
stopReportId?: string;
|
|
18
19
|
}
|
|
19
20
|
export declare const acceptsSteering: (kind: AgentQueuedMessage['kind']) => boolean;
|
|
20
21
|
export interface QueuedIntegrationMessage extends QueuedMessageInput {
|
|
@@ -35,6 +36,7 @@ export type AgentQueuedMessage = QueuedUserChatMessage | QueuedIntegrationMessag
|
|
|
35
36
|
export type AgentQueueDispatch = {
|
|
36
37
|
kind: QueuedUserChatMessage['kind'];
|
|
37
38
|
options?: Record<string, unknown>;
|
|
39
|
+
stopReportId?: string;
|
|
38
40
|
} | (Omit<QueuedIntegrationMessage, keyof QueuedMessageInput | 'modelMessage' | 'author' | 'integrationOrigin' | 'platformThreadId' | 'messageContext'> & {
|
|
39
41
|
messageContext: Omit<IntegrationMessageContext, 'platform' | 'integrationConnectionId' | 'messageId'>;
|
|
40
42
|
});
|
|
@@ -13,7 +13,6 @@ function hostMetadataExecutionId(metadata) {
|
|
|
13
13
|
function checkpointExecutionId(state) {
|
|
14
14
|
if (state.persistence?.delegated)
|
|
15
15
|
return undefined;
|
|
16
|
-
|
|
17
|
-
return typeof id === 'string' ? id : undefined;
|
|
16
|
+
return hostMetadataExecutionId(state.persistence?.hostMetadata);
|
|
18
17
|
}
|
|
19
18
|
//# sourceMappingURL=agent-queued-message.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-queued-message.js","sourceRoot":"","sources":["../../../../src/modules/agents/types/agent-queued-message.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"agent-queued-message.js","sourceRoot":"","sources":["../../../../src/modules/agents/types/agent-queued-message.ts"],"names":[],"mappings":";;;;;AAwCO,MAAM,eAAe,GAAG,CAAC,IAAgC,EAAW,EAAE,CAC5E,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,UAAU,IAAI,IAAI,KAAK,QAAQ,CAAC;AADnD,QAAA,eAAe,GAAf,eAAe,CACoC;AAmDnD,QAAA,sBAAsB,GAAG,gBAAgB,CAAC;AAGvD,iCAAwC,QAAgC;IACvE,MAAM,EAAE,GAAG,QAAQ,EAAE,CAAC,QAAA,sBAAsB,CAAC,CAAC;IAC9C,OAAO,OAAO,EAAE,KAAK,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AAChD,CAAC;AAED,+BAAsC,KAA6B;IAClE,IAAI,KAAK,CAAC,WAAW,EAAE,SAAS;QAAE,OAAO,SAAS,CAAC;IAEnD,OAAO,uBAAuB,CAAC,KAAK,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AACjE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AgentTaskStopFailure } from '@n8n/api-types';
|
|
2
|
+
import type { AgentChatSurface } from '../utils/agent-thread-access';
|
|
3
|
+
export type AgentTaskStopSurface = Extract<AgentChatSurface, 'preview' | 'n8n-chat'>;
|
|
2
4
|
export interface AgentTaskStop {
|
|
3
5
|
planId: string | null;
|
|
4
6
|
requestedAt: string;
|
|
5
|
-
stoppedTaskIds?: string[];
|
|
6
|
-
planRevision?: number;
|
|
7
7
|
generation: {
|
|
8
8
|
executionIds: string[];
|
|
9
9
|
jobIds: string[];
|
|
@@ -11,6 +11,7 @@ export interface AgentTaskStop {
|
|
|
11
11
|
};
|
|
12
12
|
failures: AgentTaskStopFailure[];
|
|
13
13
|
pause: {
|
|
14
|
+
requestsCompleted?: boolean;
|
|
14
15
|
id: string;
|
|
15
16
|
reportExecutionId?: string;
|
|
16
17
|
reportedAt?: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AgentIntegrationConfig } from '@n8n/api-types';
|
|
1
2
|
export interface IntegrationRef {
|
|
2
3
|
type: string;
|
|
3
4
|
credentialId: string;
|
|
@@ -9,3 +10,6 @@ export interface AgentChannelRef {
|
|
|
9
10
|
}
|
|
10
11
|
export declare function agentChannelRef(agentId: string, integration: IntegrationRef): AgentChannelRef;
|
|
11
12
|
export declare function agentChannelKey(ref: AgentChannelRef): string;
|
|
13
|
+
export declare function findDraftIntegration<T extends string>(integrations: AgentIntegrationConfig[], type: T): Extract<AgentIntegrationConfig, {
|
|
14
|
+
type: T;
|
|
15
|
+
}> | undefined;
|