n8n 2.45.6 → 2.46.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/active-executions.d.ts +1 -0
- package/dist/active-executions.js +7 -3
- package/dist/active-executions.js.map +1 -1
- package/dist/active-workflow-manager.js +11 -12
- package/dist/active-workflow-manager.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/chat/chat-execution-manager.js +1 -1
- package/dist/chat/chat-execution-manager.js.map +1 -1
- package/dist/commands/start.d.ts +2 -0
- package/dist/commands/start.js +23 -0
- package/dist/commands/start.js.map +1 -1
- package/dist/concurrency/concurrency-control.service.d.ts +3 -1
- package/dist/concurrency/concurrency-control.service.js +16 -5
- package/dist/concurrency/concurrency-control.service.js.map +1 -1
- package/dist/controllers/ai-preference.controller.d.ts +1 -1
- package/dist/controllers/ai-preference.controller.js +2 -2
- package/dist/controllers/ai-preference.controller.js.map +1 -1
- package/dist/controllers/folder.controller.d.ts +3 -2
- package/dist/controllers/folder.controller.js +21 -0
- package/dist/controllers/folder.controller.js.map +1 -1
- package/dist/controllers/public-api-rate-limit-settings.controller.d.ts +10 -0
- package/dist/controllers/public-api-rate-limit-settings.controller.js +50 -0
- package/dist/controllers/public-api-rate-limit-settings.controller.js.map +1 -0
- package/dist/controllers/users.controller.d.ts +3 -2
- package/dist/controllers/users.controller.js +6 -3
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/crash-journal.d.ts +2 -0
- package/dist/crash-journal.js +9 -5
- package/dist/crash-journal.js.map +1 -1
- package/dist/credentials/credential-data-merge.js +2 -2
- package/dist/credentials/credential-data-merge.js.map +1 -1
- package/dist/credentials/credential-field-mapping.js.map +1 -0
- package/dist/credentials/credentials.controller.d.ts +2 -1
- package/dist/credentials/credentials.controller.js +13 -0
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +4 -0
- package/dist/credentials/credentials.service.ee.d.ts +3 -0
- package/dist/credentials/credentials.service.ee.js +28 -18
- package/dist/credentials/credentials.service.ee.js.map +1 -1
- package/dist/credentials/credentials.service.js +28 -27
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/errors/response-errors/deprecated-nodes.error.d.ts +3 -7
- package/dist/errors/response-errors/deprecated-nodes.error.js.map +1 -1
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.d.ts +4 -3
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js +15 -20
- package/dist/evaluation.ee/test-runner/test-runner.service.ee.js.map +1 -1
- package/dist/eventbus/event-message-classes/index.d.ts +2 -2
- package/dist/eventbus/event-message-classes/index.js +3 -0
- package/dist/eventbus/event-message-classes/index.js.map +1 -1
- package/dist/events/maps/relay.event-map.d.ts +43 -3
- package/dist/events/relays/log-streaming.event-relay.d.ts +1 -0
- package/dist/events/relays/log-streaming.event-relay.js +32 -22
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.d.ts +4 -0
- package/dist/events/relays/telemetry.event-relay.js +40 -0
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/execute-error-workflow.js +2 -1
- package/dist/execution-lifecycle/execute-error-workflow.js.map +1 -1
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js +36 -4
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
- package/dist/execution-lifecycle/save-execution-progress.d.ts +1 -1
- package/dist/execution-lifecycle/save-execution-progress.js +4 -2
- package/dist/execution-lifecycle/save-execution-progress.js.map +1 -1
- package/dist/executions/engine-v2-execution-reader.service.d.ts +4 -0
- package/dist/executions/engine-v2-execution-reader.service.js +23 -4
- package/dist/executions/engine-v2-execution-reader.service.js.map +1 -1
- package/dist/executions/execution-persistence.d.ts +3 -1
- package/dist/executions/execution-persistence.js +50 -8
- package/dist/executions/execution-persistence.js.map +1 -1
- package/dist/executions/execution-recovery.service.d.ts +2 -2
- package/dist/executions/execution-recovery.service.js.map +1 -1
- package/dist/executions/execution-viewer-reader.d.ts +6 -0
- package/dist/executions/execution-viewer-reader.js +24 -0
- package/dist/executions/execution-viewer-reader.js.map +1 -0
- package/dist/executions/execution.service.d.ts +3 -2
- package/dist/executions/execution.service.js +25 -10
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/executions/execution.types.d.ts +2 -1
- package/dist/executions/executions.controller.d.ts +1 -1
- package/dist/executions/executions.controller.js +11 -9
- package/dist/executions/executions.controller.js.map +1 -1
- package/dist/executions/pre-execution-checks/credential-refusal.d.ts +7 -0
- package/dist/executions/pre-execution-checks/credential-refusal.js +26 -0
- package/dist/executions/pre-execution-checks/credential-refusal.js.map +1 -0
- package/dist/executions/pre-execution-checks/credentials-permission-checker.js +2 -11
- package/dist/executions/pre-execution-checks/credentials-permission-checker.js.map +1 -1
- package/dist/executions/pre-execution-checks/index.d.ts +1 -0
- package/dist/executions/pre-execution-checks/index.js +3 -1
- package/dist/executions/pre-execution-checks/index.js.map +1 -1
- package/dist/executions/pre-execution-checks/subworkflow-policy-checker.d.ts +2 -0
- package/dist/executions/pre-execution-checks/subworkflow-policy-checker.js +23 -11
- package/dist/executions/pre-execution-checks/subworkflow-policy-checker.js.map +1 -1
- package/dist/executions/sum-binary-data-bytes.d.ts +1 -0
- package/dist/executions/sum-binary-data-bytes.js +16 -0
- package/dist/executions/sum-binary-data-bytes.js.map +1 -1
- package/dist/instance-settings-loader/loaders/sso/sso.instance-settings-loader.js +1 -0
- package/dist/instance-settings-loader/loaders/sso/sso.instance-settings-loader.js.map +1 -1
- package/dist/interfaces.d.ts +3 -0
- package/dist/memory-guard/estimate-run-data-size.d.ts +36 -0
- package/dist/memory-guard/estimate-run-data-size.js +233 -0
- package/dist/memory-guard/estimate-run-data-size.js.map +1 -0
- package/dist/memory-guard/memory-guard-journal.d.ts +14 -0
- package/dist/memory-guard/memory-guard-journal.js +87 -0
- package/dist/memory-guard/memory-guard-journal.js.map +1 -0
- package/dist/memory-guard/memory-guard.constants.d.ts +13 -0
- package/dist/memory-guard/memory-guard.constants.js +17 -0
- package/dist/memory-guard/memory-guard.constants.js.map +1 -0
- package/dist/memory-guard/memory-guard.service.d.ts +73 -0
- package/dist/memory-guard/memory-guard.service.js +453 -0
- package/dist/memory-guard/memory-guard.service.js.map +1 -0
- package/dist/memory-guard/memory-guard.types.d.ts +11 -0
- package/dist/{modules/agents/agent-runtime-instrumentation.js → memory-guard/memory-guard.types.js} +1 -1
- package/dist/memory-guard/memory-guard.types.js.map +1 -0
- package/dist/memory-guard/memory-guard.utils.d.ts +13 -0
- package/dist/memory-guard/memory-guard.utils.js +74 -0
- package/dist/memory-guard/memory-guard.utils.js.map +1 -0
- package/dist/memory-guard/memory-stopped-executions.d.ts +18 -0
- package/dist/memory-guard/memory-stopped-executions.js +62 -0
- package/dist/memory-guard/memory-stopped-executions.js.map +1 -0
- package/dist/memory-guard/memory-usage.d.ts +7 -0
- package/dist/memory-guard/memory-usage.js +28 -0
- package/dist/memory-guard/memory-usage.js.map +1 -0
- package/dist/memory-guard/production-hold.d.ts +14 -0
- package/dist/memory-guard/production-hold.js +63 -0
- package/dist/memory-guard/production-hold.js.map +1 -0
- package/dist/memory-guard/run-data-tracker.d.ts +27 -0
- package/dist/memory-guard/run-data-tracker.js +242 -0
- package/dist/memory-guard/run-data-tracker.js.map +1 -0
- package/dist/metrics/prometheus/memory-guard-metrics.service.d.ts +13 -0
- package/dist/metrics/prometheus/memory-guard-metrics.service.js +91 -0
- package/dist/metrics/prometheus/memory-guard-metrics.service.js.map +1 -0
- package/dist/metrics/prometheus/prometheus.service.d.ts +2 -1
- package/dist/metrics/prometheus/prometheus.service.js +4 -2
- package/dist/metrics/prometheus/prometheus.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-case-generation.service.d.ts +3 -3
- package/dist/modules/agent-evals/agent-eval-case-generation.service.js +16 -19
- package/dist/modules/agent-evals/agent-eval-case-generation.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-fix-suggestion.js +1 -1
- package/dist/modules/agent-evals/agent-eval-fix-suggestion.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-instructions-rewrite.js +1 -1
- package/dist/modules/agent-evals/agent-eval-instructions-rewrite.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-judge.js +1 -1
- package/dist/modules/agent-evals/agent-eval-judge.js.map +1 -1
- package/dist/modules/agents/adapters/agents-credential-provider.d.ts +5 -2
- package/dist/modules/agents/adapters/agents-credential-provider.js +5 -1
- package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
- package/dist/modules/agents/agent-chat-attachment.service.d.ts +5 -0
- package/dist/modules/agents/agent-chat-attachment.service.js +3 -0
- package/dist/modules/agents/agent-chat-attachment.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-execution.service.d.ts +8 -5
- package/dist/modules/agents/agent-chat-execution.service.js +61 -49
- 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 +23 -30
- package/dist/modules/agents/agent-chat-relay.service.js.map +1 -1
- package/dist/modules/agents/agent-chat.controller.d.ts +4 -4
- package/dist/modules/agents/agent-chat.controller.js +18 -50
- package/dist/modules/agents/agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/agent-config-preparation.service.d.ts +350 -2
- package/dist/modules/agents/agent-config-preparation.service.js +264 -2
- package/dist/modules/agents/agent-config-preparation.service.js.map +1 -1
- package/dist/modules/agents/agent-config.service.d.ts +10 -8
- package/dist/modules/agents/agent-config.service.js +59 -131
- package/dist/modules/agents/agent-config.service.js.map +1 -1
- package/dist/modules/agents/agent-context.contracts.d.ts +87 -0
- package/dist/modules/agents/agent-context.contracts.js +3 -0
- package/dist/modules/agents/agent-context.contracts.js.map +1 -0
- package/dist/modules/agents/agent-context.service.d.ts +338 -0
- package/dist/modules/agents/{instance-ai-agent-context.adapter.js → agent-context.service.js} +51 -17
- package/dist/modules/agents/agent-context.service.js.map +1 -0
- package/dist/modules/agents/agent-conversation-state.service.d.ts +2 -1
- package/dist/modules/agents/agent-conversation-state.service.js +3 -3
- package/dist/modules/agents/agent-conversation-state.service.js.map +1 -1
- package/dist/modules/agents/agent-credential-provider.contracts.d.ts +5 -0
- package/dist/modules/agents/agent-credential-provider.contracts.js +3 -0
- package/dist/modules/agents/agent-credential-provider.contracts.js.map +1 -0
- package/dist/modules/agents/agent-custom-tools.service.d.ts +1 -0
- package/dist/modules/agents/agent-custom-tools.service.js +9 -8
- package/dist/modules/agents/agent-custom-tools.service.js.map +1 -1
- package/dist/modules/agents/agent-default-model-resolver.service.js +6 -5
- package/dist/modules/agents/agent-default-model-resolver.service.js.map +1 -1
- package/dist/modules/agents/agent-definition.service.d.ts +2 -2
- package/dist/modules/agents/agent-definition.service.js +3 -3
- package/dist/modules/agents/agent-definition.service.js.map +1 -1
- package/dist/modules/agents/agent-draft.contracts.d.ts +51 -0
- package/dist/modules/agents/agent-draft.contracts.js +3 -0
- package/dist/modules/agents/agent-draft.contracts.js.map +1 -0
- package/dist/modules/agents/agent-draft.service.d.ts +17 -0
- package/dist/modules/agents/agent-draft.service.js +98 -0
- package/dist/modules/agents/agent-draft.service.js.map +1 -0
- package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +3 -1
- package/dist/modules/agents/agent-execution-orchestrator.service.js +11 -3
- package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
- package/dist/modules/agents/agent-execution.service.d.ts +11 -4
- package/dist/modules/agents/agent-execution.service.js +43 -7
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-formatted-turn.error.d.ts +6 -0
- package/dist/modules/agents/agent-formatted-turn.error.js +12 -0
- package/dist/modules/agents/agent-formatted-turn.error.js.map +1 -0
- package/dist/modules/agents/agent-integration-management.service.js +1 -1
- package/dist/modules/agents/agent-integration-management.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-persistence.service.d.ts +1 -1
- package/dist/modules/agents/agent-integration-persistence.service.js +3 -3
- package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-snapshot.service.d.ts +19 -0
- package/dist/modules/agents/agent-knowledge-snapshot.service.js +84 -0
- package/dist/modules/agents/agent-knowledge-snapshot.service.js.map +1 -0
- package/dist/modules/agents/agent-knowledge-snapshot.task.d.ts +13 -0
- package/dist/modules/agents/agent-knowledge-snapshot.task.js +48 -0
- package/dist/modules/agents/agent-knowledge-snapshot.task.js.map +1 -0
- package/dist/modules/agents/agent-knowledge-storage.js +2 -2
- package/dist/modules/agents/agent-knowledge-storage.js.map +1 -1
- package/dist/modules/agents/agent-knowledge-telemetry.d.ts +3 -0
- package/dist/modules/agents/agent-knowledge-telemetry.js +28 -0
- package/dist/modules/agents/agent-knowledge-telemetry.js.map +1 -0
- package/dist/modules/agents/agent-knowledge-upload.error.d.ts +11 -0
- package/dist/modules/agents/agent-knowledge-upload.error.js +12 -0
- package/dist/modules/agents/agent-knowledge-upload.error.js.map +1 -0
- package/dist/modules/agents/agent-knowledge-usage-tracker.d.ts +33 -0
- package/dist/modules/agents/agent-knowledge-usage-tracker.js +107 -0
- package/dist/modules/agents/agent-knowledge-usage-tracker.js.map +1 -0
- package/dist/modules/agents/agent-knowledge.controller.d.ts +8 -4
- package/dist/modules/agents/agent-knowledge.controller.js +58 -10
- package/dist/modules/agents/agent-knowledge.controller.js.map +1 -1
- package/dist/modules/agents/agent-knowledge.service.d.ts +14 -3
- package/dist/modules/agents/agent-knowledge.service.js +45 -11
- package/dist/modules/agents/agent-knowledge.service.js.map +1 -1
- package/dist/modules/agents/agent-memory-entries.service.d.ts +18 -0
- package/dist/modules/agents/agent-memory-entries.service.js +124 -0
- package/dist/modules/agents/agent-memory-entries.service.js.map +1 -0
- package/dist/modules/agents/agent-memory.controller.d.ts +19 -0
- package/dist/modules/agents/agent-memory.controller.js +68 -0
- package/dist/modules/agents/agent-memory.controller.js.map +1 -0
- package/dist/modules/agents/agent-message-queue-consumer.service.d.ts +6 -1
- package/dist/modules/agents/agent-message-queue-consumer.service.js +78 -40
- package/dist/modules/agents/agent-message-queue-consumer.service.js.map +1 -1
- package/dist/modules/agents/agent-message-queue.service.d.ts +4 -1
- package/dist/modules/agents/agent-message-queue.service.js +23 -16
- package/dist/modules/agents/agent-message-queue.service.js.map +1 -1
- package/dist/modules/agents/agent-model-catalog.service.d.ts +1 -0
- package/dist/modules/agents/agent-model-catalog.service.js +22 -7
- package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
- package/dist/modules/agents/agent-modification-telemetry.service.d.ts +15 -400
- package/dist/modules/agents/agent-modification-telemetry.service.js +120 -32
- package/dist/modules/agents/agent-modification-telemetry.service.js.map +1 -1
- package/dist/modules/agents/agent-policy.service.d.ts +4 -1
- package/dist/modules/agents/agent-policy.service.js +14 -1
- package/dist/modules/agents/agent-policy.service.js.map +1 -1
- package/dist/modules/agents/agent-publish.service.d.ts +4 -1
- package/dist/modules/agents/agent-publish.service.js +32 -14
- package/dist/modules/agents/agent-publish.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +14 -3
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +113 -31
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
- package/dist/modules/agents/agent-sandbox-runtime.service.d.ts +1 -3
- package/dist/modules/agents/agent-sandbox-runtime.service.js +8 -32
- package/dist/modules/agents/agent-sandbox-runtime.service.js.map +1 -1
- package/dist/modules/agents/agent-sandbox.controller.d.ts +3 -3
- package/dist/modules/agents/agent-sandbox.controller.js +5 -5
- package/dist/modules/agents/agent-sandbox.controller.js.map +1 -1
- package/dist/modules/agents/agent-save-completion.service.d.ts +8 -1
- package/dist/modules/agents/agent-save-completion.service.js +28 -0
- package/dist/modules/agents/agent-save-completion.service.js.map +1 -1
- package/dist/modules/agents/agent-session-langsmith-export.service.js +27 -0
- package/dist/modules/agents/agent-session-langsmith-export.service.js.map +1 -1
- package/dist/modules/agents/agent-session-read.d.ts +3 -0
- package/dist/modules/agents/agent-session-read.js +29 -0
- package/dist/modules/agents/agent-session-read.js.map +1 -0
- package/dist/modules/agents/agent-setup-completion.service.d.ts +2 -2
- package/dist/modules/agents/agent-setup-completion.service.js +8 -2
- package/dist/modules/agents/agent-setup-completion.service.js.map +1 -1
- package/dist/modules/agents/agent-skill-refs.service.d.ts +23 -29
- package/dist/modules/agents/agent-skill-refs.service.js +61 -123
- package/dist/modules/agents/agent-skill-refs.service.js.map +1 -1
- package/dist/modules/agents/agent-skill-usage.service.d.ts +40 -0
- package/dist/modules/agents/agent-skill-usage.service.js +137 -0
- package/dist/modules/agents/agent-skill-usage.service.js.map +1 -0
- package/dist/modules/agents/agent-skills.service.d.ts +6 -4
- package/dist/modules/agents/agent-skills.service.js +30 -70
- package/dist/modules/agents/agent-skills.service.js.map +1 -1
- package/dist/modules/agents/agent-sse-stream.d.ts +2 -1
- package/dist/modules/agents/agent-sse-stream.js +24 -4
- package/dist/modules/agents/agent-sse-stream.js.map +1 -1
- package/dist/modules/agents/agent-task.service.d.ts +8 -0
- package/dist/modules/agents/agent-task.service.js +22 -14
- package/dist/modules/agents/agent-task.service.js.map +1 -1
- package/dist/modules/agents/agent-telemetry.d.ts +3 -0
- package/dist/modules/agents/agent-telemetry.js +24 -1
- package/dist/modules/agents/agent-telemetry.js.map +1 -1
- package/dist/modules/agents/agent-test-run.service.d.ts +1 -0
- package/dist/modules/agents/agent-test-run.service.js +9 -0
- package/dist/modules/agents/agent-test-run.service.js.map +1 -1
- package/dist/modules/agents/agent-threads.controller.d.ts +4 -1
- package/dist/modules/agents/agent-threads.controller.js +8 -3
- package/dist/modules/agents/agent-threads.controller.js.map +1 -1
- package/dist/modules/agents/agent-turn-execution.service.d.ts +13 -2
- package/dist/modules/agents/agent-turn-execution.service.js +123 -31
- package/dist/modules/agents/agent-turn-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-upload.middleware.d.ts +2 -0
- package/dist/modules/agents/agent-upload.middleware.js +13 -2
- package/dist/modules/agents/agent-upload.middleware.js.map +1 -1
- package/dist/modules/agents/agent-validation.service.d.ts +5 -2
- package/dist/modules/agents/agent-validation.service.js +78 -14
- package/dist/modules/agents/agent-validation.service.js.map +1 -1
- package/dist/modules/agents/agent-vector-stores.controller.d.ts +5 -3
- package/dist/modules/agents/agent-vector-stores.controller.js +9 -5
- package/dist/modules/agents/agent-vector-stores.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 +4 -2
- package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
- package/dist/modules/agents/agents-config.controller.d.ts +1 -1
- package/dist/modules/agents/agents-settings.service.d.ts +5 -1
- package/dist/modules/agents/agents-settings.service.js +13 -3
- package/dist/modules/agents/agents-settings.service.js.map +1 -1
- package/dist/modules/agents/agents-tools.service.d.ts +2 -6
- package/dist/modules/agents/agents-tools.service.js +2 -120
- package/dist/modules/agents/agents-tools.service.js.map +1 -1
- package/dist/modules/agents/agents.controller.d.ts +26 -3
- package/dist/modules/agents/agents.controller.js +10 -4
- package/dist/modules/agents/agents.controller.js.map +1 -1
- package/dist/modules/agents/agents.module.d.ts +3 -4
- package/dist/modules/agents/agents.module.js +18 -20
- package/dist/modules/agents/agents.module.js.map +1 -1
- package/dist/modules/agents/agents.service.d.ts +36 -9
- package/dist/modules/agents/agents.service.js +158 -30
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/azure-foundry-deployments.service.d.ts +28 -0
- package/dist/modules/agents/azure-foundry-deployments.service.js +107 -0
- package/dist/modules/agents/azure-foundry-deployments.service.js.map +1 -0
- package/dist/modules/agents/background/agent-background-job.service.d.ts +8 -7
- package/dist/modules/agents/background/agent-background-job.service.js +26 -9
- package/dist/modules/agents/background/agent-background-job.service.js.map +1 -1
- package/dist/modules/agents/background/background-job-tools.js +2 -0
- package/dist/modules/agents/background/background-job-tools.js.map +1 -1
- package/dist/modules/agents/background/sub-agent-background-runner.d.ts +1 -0
- package/dist/modules/agents/background/sub-agent-background-runner.js +3 -0
- package/dist/modules/agents/background/sub-agent-background-runner.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +9 -22
- package/dist/modules/agents/builder/agents-builder-tools.service.js +51 -79
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder.service.d.ts +40 -0
- package/dist/modules/agents/builder/agents-builder.service.js +109 -0
- package/dist/modules/agents/builder/agents-builder.service.js.map +1 -0
- package/dist/modules/agents/builder/builder-model-live-lookup.service.d.ts +8 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js +52 -12
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-session.d.ts +21 -0
- package/dist/modules/agents/builder/builder-session.js +7 -0
- package/dist/modules/agents/builder/builder-session.js.map +1 -0
- package/dist/modules/agents/builder/builder-telemetry-session.d.ts +9 -0
- package/dist/modules/agents/builder/builder-telemetry-session.js +14 -0
- package/dist/modules/agents/builder/builder-telemetry-session.js.map +1 -0
- package/dist/modules/agents/builder/builder-tool-names.d.ts +0 -1
- package/dist/modules/agents/builder/builder-tool-names.js +0 -1
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- 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 -4
- package/dist/modules/agents/builder/interactive/index.js.map +1 -1
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +56 -28
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/setup-tool.types.d.ts +2 -2
- package/dist/modules/agents/builder/model-lookup.types.d.ts +1 -0
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +19 -6
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js +6 -4
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
- package/dist/modules/agents/builder/skills/external-services.skill.js +32 -24
- package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/memory.skill.js +6 -8
- package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/node-tools.skill.js +16 -16
- package/dist/modules/agents/builder/skills/node-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/resource-locators.skill.js +26 -23
- package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-skills.skill.js +24 -9
- package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-tasks.skill.js +3 -3
- package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
- package/dist/modules/agents/builder/verify-mcp-server.tool.js +2 -2
- package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
- package/dist/modules/agents/entities/agent-background-job.entity.d.ts +8 -0
- package/dist/modules/agents/entities/agent-background-job.entity.js +29 -0
- package/dist/modules/agents/entities/agent-background-job.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-execution-thread.entity.d.ts +2 -0
- package/dist/modules/agents/entities/agent-execution-thread.entity.js +4 -0
- package/dist/modules/agents/entities/agent-execution-thread.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-execution.entity.d.ts +6 -0
- package/dist/modules/agents/entities/agent-execution.entity.js +46 -3
- package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-history.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent-message.entity.d.ts +2 -1
- package/dist/modules/agents/entities/agent-message.entity.js.map +1 -1
- package/dist/modules/agents/entities/agent.entity.js.map +1 -1
- package/dist/modules/agents/{agent-runtime-instrumentation.d.ts → evaluation/agent-evaluation.contracts.d.ts} +26 -3
- package/dist/modules/agents/evaluation/agent-evaluation.contracts.js +3 -0
- package/dist/modules/agents/evaluation/agent-evaluation.contracts.js.map +1 -0
- package/dist/modules/agents/evaluation/agent-evaluation.service.d.ts +21 -0
- package/dist/modules/agents/evaluation/agent-evaluation.service.js +111 -0
- package/dist/modules/agents/evaluation/agent-evaluation.service.js.map +1 -0
- package/dist/modules/agents/evaluation/evaluation-config.d.ts +8 -0
- package/dist/modules/agents/evaluation/evaluation-config.js +81 -0
- package/dist/modules/agents/evaluation/evaluation-config.js.map +1 -0
- package/dist/modules/agents/execution-recorder.d.ts +21 -0
- package/dist/modules/agents/execution-recorder.js +77 -24
- package/dist/modules/agents/execution-recorder.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +1 -0
- package/dist/modules/agents/integrations/agent-chat-bridge.js +42 -4
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-integration.d.ts +22 -1
- package/dist/modules/agents/integrations/agent-chat-integration.js +13 -0
- package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-message-context.js +5 -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 +5 -1
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +96 -25
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
- package/dist/modules/agents/integrations/agent-credential-lookup.service.d.ts +2 -1
- package/dist/modules/agents/integrations/agent-credential-lookup.service.js +7 -3
- package/dist/modules/agents/integrations/agent-credential-lookup.service.js.map +1 -1
- package/dist/modules/agents/integrations/channel-rate-limit.js +2 -1
- package/dist/modules/agents/integrations/channel-rate-limit.js.map +1 -1
- package/dist/modules/agents/integrations/chat-integration.service.js +4 -1
- package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
- package/dist/modules/agents/integrations/episodic-scope-resolver.d.ts +4 -0
- package/dist/modules/agents/integrations/episodic-scope-resolver.js +24 -0
- package/dist/modules/agents/integrations/episodic-scope-resolver.js.map +1 -0
- package/dist/modules/agents/integrations/integration-context-query-executor.d.ts +3 -1
- package/dist/modules/agents/integrations/integration-context-query-executor.js +54 -45
- 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-message-context.js +2 -0
- package/dist/modules/agents/integrations/integration-message-context.js.map +1 -1
- package/dist/modules/agents/integrations/integration-origin-support.d.ts +19 -0
- package/dist/modules/agents/integrations/integration-origin-support.js +32 -0
- package/dist/modules/agents/integrations/integration-origin-support.js.map +1 -0
- package/dist/modules/agents/integrations/integration-origin.d.ts +6 -0
- package/dist/modules/agents/integrations/integration-origin.js +54 -0
- package/dist/modules/agents/integrations/integration-origin.js.map +1 -0
- package/dist/modules/agents/integrations/integration-tool-definitions.js +3 -3
- package/dist/modules/agents/integrations/integration-tool-definitions.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-execution.d.ts +1 -0
- package/dist/modules/agents/integrations/integration-tool-execution.js +5 -1
- package/dist/modules/agents/integrations/integration-tool-execution.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-factory.js +2 -0
- package/dist/modules/agents/integrations/integration-tool-factory.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-types.d.ts +3 -0
- package/dist/modules/agents/integrations/message-split.d.ts +2 -0
- package/dist/modules/agents/integrations/message-split.js +32 -0
- package/dist/modules/agents/integrations/message-split.js.map +1 -0
- package/dist/modules/agents/integrations/n8n-memory.d.ts +12 -2
- package/dist/modules/agents/integrations/n8n-memory.js +59 -94
- package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/discord/discord-gateway.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{discord-integration.d.ts → discord/discord-integration.d.ts} +13 -8
- package/dist/modules/agents/integrations/platforms/{discord-integration.js → discord/discord-integration.js} +20 -9
- package/dist/modules/agents/integrations/platforms/discord/discord-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{discord-operations.js → discord/discord-operations.js} +1 -1
- package/dist/modules/agents/integrations/platforms/discord/discord-operations.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/discord/discord-origin.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/discord/discord-origin.js +20 -0
- package/dist/modules/agents/integrations/platforms/discord/discord-origin.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/linear/linear-integration.d.ts +33 -0
- package/dist/modules/agents/integrations/platforms/{linear-integration.js → linear/linear-integration.js} +21 -4
- package/dist/modules/agents/integrations/platforms/linear/linear-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{linear-operations.d.ts → linear/linear-operations.d.ts} +2 -2
- package/dist/modules/agents/integrations/platforms/{linear-operations.js → linear/linear-operations.js} +2 -2
- package/dist/modules/agents/integrations/platforms/linear/linear-operations.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/linear/linear-origin.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/linear/linear-origin.js +31 -0
- package/dist/modules/agents/integrations/platforms/linear/linear-origin.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{linear-tool-definitions.js → linear/linear-tool-definitions.js} +1 -1
- package/dist/modules/agents/integrations/platforms/linear/linear-tool-definitions.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{n8n-chat-flag.service.d.ts → n8n-chat/n8n-chat-flag.service.d.ts} +1 -1
- package/dist/modules/agents/integrations/platforms/{n8n-chat-flag.service.js → n8n-chat/n8n-chat-flag.service.js} +1 -1
- package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-flag.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{n8n-chat-integration.d.ts → n8n-chat/n8n-chat-integration.d.ts} +6 -4
- package/dist/modules/agents/integrations/platforms/{n8n-chat-integration.js → n8n-chat/n8n-chat-integration.js} +11 -5
- package/dist/modules/agents/integrations/platforms/n8n-chat/n8n-chat-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-adapter.d.ts +2 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-adapter.js +17 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-adapter.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-bridge-behavior.d.ts +5 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-bridge-behavior.js +64 -18
- package/dist/modules/agents/integrations/platforms/slack/slack-bridge-behavior.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.d.ts +13 -2
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.js +46 -3
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.js +2 -2
- package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-operations.d.ts +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-operations.js +131 -53
- package/dist/modules/agents/integrations/platforms/slack/slack-operations.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/slack-origin.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-origin.js +38 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-origin.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.d.ts +33 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.js +53 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-search-pagination.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/assets/color.png +0 -0
- package/dist/modules/agents/integrations/platforms/teams/assets/outline.png +0 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-activity.d.ts +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-activity.js +10 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-activity.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.d.ts +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js +6 -5
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.d.ts +5 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js +13 -8
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.d.ts +4 -2
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.js +26 -9
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.d.ts +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.js +3 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.d.ts +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.d.ts +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js +47 -16
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-origin.d.ts +2 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-origin.js +13 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-origin.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{telegram-bridge-behavior.d.ts → telegram/telegram-bridge-behavior.d.ts} +2 -2
- package/dist/modules/agents/integrations/platforms/{telegram-bridge-behavior.js → telegram/telegram-bridge-behavior.js} +1 -1
- package/dist/modules/agents/integrations/platforms/telegram/telegram-bridge-behavior.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{telegram-integration.d.ts → telegram/telegram-integration.d.ts} +8 -4
- package/dist/modules/agents/integrations/platforms/{telegram-integration.js → telegram/telegram-integration.js} +13 -5
- package/dist/modules/agents/integrations/platforms/telegram/telegram-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/telegram/telegram-origin.d.ts +2 -0
- package/dist/modules/agents/integrations/platforms/telegram/telegram-origin.js +12 -0
- package/dist/modules/agents/integrations/platforms/telegram/telegram-origin.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.d.ts +3 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js +7 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-origin.d.ts +2 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-origin.js +12 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-origin.js.map +1 -0
- package/dist/modules/agents/integrations/single-connection.d.ts +3 -0
- package/dist/modules/agents/integrations/single-connection.js +19 -0
- package/dist/modules/agents/integrations/single-connection.js.map +1 -0
- package/dist/modules/agents/json-config/agent-document.d.ts +0 -1
- package/dist/modules/agents/json-config/agent-document.js +0 -5
- package/dist/modules/agents/json-config/agent-document.js.map +1 -1
- package/dist/modules/agents/json-config/from-json-config.d.ts +3 -1
- package/dist/modules/agents/json-config/from-json-config.js +39 -8
- package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.d.ts +6 -3
- package/dist/modules/agents/json-config/mcp-client-factory.js +23 -2
- package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
- package/dist/modules/agents/json-config/model-config.d.ts +3 -5
- package/dist/modules/agents/json-config/model-config.js +30 -7
- package/dist/modules/agents/json-config/model-config.js.map +1 -1
- package/dist/modules/agents/llm-provider-defaults.d.ts +2 -1
- package/dist/modules/agents/llm-provider-defaults.js +7 -0
- package/dist/modules/agents/llm-provider-defaults.js.map +1 -1
- package/dist/modules/agents/register-skill-agents-provider.d.ts +1 -0
- package/dist/modules/agents/register-skill-agents-provider.js +10 -0
- package/dist/modules/agents/register-skill-agents-provider.js.map +1 -0
- package/dist/modules/agents/register-user-deletion-handler.d.ts +1 -0
- package/dist/modules/agents/register-user-deletion-handler.js +17 -0
- package/dist/modules/agents/register-user-deletion-handler.js.map +1 -0
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.d.ts +5 -0
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js +3 -0
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-execution-thread.repository.d.ts +2 -0
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js +22 -2
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-execution.repository.d.ts +12 -1
- package/dist/modules/agents/repositories/agent-execution.repository.js +55 -0
- package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-file.repository.d.ts +6 -0
- package/dist/modules/agents/repositories/agent-file.repository.js +24 -0
- package/dist/modules/agents/repositories/agent-file.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.d.ts +0 -1
- package/dist/modules/agents/repositories/agent-history.repository.js +0 -1
- package/dist/modules/agents/repositories/agent-history.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.d.ts +3 -0
- package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js +24 -0
- package/dist/modules/agents/repositories/agent-memory-entry-candidate.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-memory-entry.repository.d.ts +46 -3
- package/dist/modules/agents/repositories/agent-memory-entry.repository.js +176 -4
- package/dist/modules/agents/repositories/agent-memory-entry.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-message-queue.repository.d.ts +1 -0
- package/dist/modules/agents/repositories/agent-message.repository.d.ts +2 -1
- package/dist/modules/agents/repositories/agent-message.repository.js +11 -0
- package/dist/modules/agents/repositories/agent-message.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-observation.repository.d.ts +8 -3
- package/dist/modules/agents/repositories/agent-observation.repository.js +59 -4
- package/dist/modules/agents/repositories/agent-observation.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-skill.repository.d.ts +35 -0
- package/dist/modules/agents/repositories/agent-skill.repository.js +261 -0
- package/dist/modules/agents/repositories/agent-skill.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent-task.repository.d.ts +1 -0
- package/dist/modules/agents/repositories/agent-task.repository.js +7 -0
- package/dist/modules/agents/repositories/agent-task.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 +7 -0
- package/dist/modules/agents/repositories/agent-thread.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent.repository.d.ts +11 -6
- package/dist/modules/agents/repositories/agent.repository.js +43 -43
- package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js +6 -0
- package/dist/modules/agents/sub-agents/delegate-sub-agent-tool.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-runner.d.ts +10 -3
- package/dist/modules/agents/sub-agents/sub-agent-runner.js +76 -3
- package/dist/modules/agents/sub-agents/sub-agent-runner.js.map +1 -1
- package/dist/modules/agents/system-agents/system-agent-access.d.ts +3 -0
- package/dist/modules/agents/system-agents/system-agent-access.js +10 -0
- package/dist/modules/agents/system-agents/system-agent-access.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent-chat.controller.d.ts +83 -0
- package/dist/modules/agents/system-agents/system-agent-chat.controller.js +313 -0
- package/dist/modules/agents/system-agents/system-agent-chat.controller.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent-execution.service.d.ts +141 -0
- package/dist/modules/agents/system-agents/system-agent-execution.service.js +786 -0
- package/dist/modules/agents/system-agents/system-agent-execution.service.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent-host-events.d.ts +21 -0
- package/dist/modules/agents/system-agents/system-agent-host-events.js +73 -0
- package/dist/modules/agents/system-agents/system-agent-host-events.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent-registration.service.d.ts +9 -0
- package/dist/modules/agents/system-agents/system-agent-registration.service.js +31 -0
- package/dist/modules/agents/system-agents/system-agent-registration.service.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent-registry.d.ts +7 -0
- package/dist/modules/agents/system-agents/system-agent-registry.js +33 -0
- package/dist/modules/agents/system-agents/system-agent-registry.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent-usage-relay.d.ts +15 -0
- package/dist/modules/agents/system-agents/system-agent-usage-relay.js +63 -0
- package/dist/modules/agents/system-agents/system-agent-usage-relay.js.map +1 -0
- package/dist/modules/agents/system-agents/system-agent.types.d.ts +102 -0
- package/dist/modules/agents/system-agents/system-agent.types.js +3 -0
- package/dist/modules/agents/system-agents/system-agent.types.js.map +1 -0
- package/dist/modules/agents/tools/knowledge/search-knowledge.tool.d.ts +3 -1
- package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js +29 -4
- package/dist/modules/agents/tools/knowledge/search-knowledge.tool.js.map +1 -1
- package/dist/modules/agents/tools/node-tool-factory.d.ts +1 -1
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +1 -1
- package/dist/modules/agents/tools/workflow-tool-factory.js +3 -1
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/types/agent-queued-message.d.ts +6 -3
- package/dist/modules/agents/types/agent-queued-message.js +5 -0
- package/dist/modules/agents/types/agent-queued-message.js.map +1 -1
- package/dist/modules/agents/types/agent-task-stop.d.ts +23 -0
- package/dist/modules/agents/types/agent-task-stop.js +3 -0
- package/dist/modules/agents/types/agent-task-stop.js.map +1 -0
- package/dist/modules/agents/types/agent-turn-outcome.d.ts +10 -0
- package/dist/modules/agents/types/agent-turn-outcome.js +3 -0
- package/dist/modules/agents/types/agent-turn-outcome.js.map +1 -0
- package/dist/modules/agents/utils/agent-capabilities.d.ts +0 -1
- package/dist/modules/agents/utils/agent-capabilities.js +0 -8
- package/dist/modules/agents/utils/agent-capabilities.js.map +1 -1
- package/dist/modules/agents/utils/agent-config-hash.d.ts +2 -2
- package/dist/modules/agents/utils/agent-config-hash.js +3 -4
- package/dist/modules/agents/utils/agent-config-hash.js.map +1 -1
- package/dist/modules/agents/utils/agent-definition.d.ts +17 -1
- package/dist/modules/agents/utils/agent-definition.js +13 -0
- package/dist/modules/agents/utils/agent-definition.js.map +1 -1
- package/dist/modules/agents/utils/agent-draft.utils.d.ts +2 -1
- package/dist/modules/agents/utils/agent-draft.utils.js +2 -2
- package/dist/modules/agents/utils/agent-draft.utils.js.map +1 -1
- package/dist/modules/agents/utils/agent-memory-scope.d.ts +0 -5
- package/dist/modules/agents/utils/agent-memory-scope.js +0 -11
- package/dist/modules/agents/utils/agent-memory-scope.js.map +1 -1
- package/dist/modules/agents/utils/agent-thread-access.d.ts +6 -3
- package/dist/modules/agents/utils/agent-thread-access.js +32 -11
- package/dist/modules/agents/utils/agent-thread-access.js.map +1 -1
- package/dist/modules/agents/utils/episodic-scope-metadata.d.ts +2 -0
- package/dist/modules/agents/utils/episodic-scope-metadata.js +13 -0
- package/dist/modules/agents/utils/episodic-scope-metadata.js.map +1 -0
- package/dist/modules/agents/utils/execution-to-message-mapper.js +9 -0
- package/dist/modules/agents/utils/execution-to-message-mapper.js.map +1 -1
- package/dist/modules/agents/utils/memory-entry-source.d.ts +15 -0
- package/dist/modules/agents/utils/memory-entry-source.js +53 -0
- package/dist/modules/agents/utils/memory-entry-source.js.map +1 -0
- package/dist/modules/agents/utils/memory-source-filter.d.ts +7 -0
- package/dist/modules/agents/utils/memory-source-filter.js +154 -0
- package/dist/modules/agents/utils/memory-source-filter.js.map +1 -0
- package/dist/modules/agents/utils/messages-envelope.d.ts +2 -0
- package/dist/modules/agents/utils/messages-envelope.js +15 -0
- package/dist/modules/agents/utils/messages-envelope.js.map +1 -1
- package/dist/modules/agents/utils/visit-agent-credential-references.d.ts +1 -0
- package/dist/modules/agents/utils/visit-agent-credential-references.js +8 -7
- package/dist/modules/agents/utils/visit-agent-credential-references.js.map +1 -1
- package/dist/modules/apps/sandbox-settings.d.ts +3 -0
- package/dist/modules/apps/sandbox-settings.js +41 -0
- package/dist/modules/apps/sandbox-settings.js.map +1 -0
- package/dist/modules/breaking-changes/breaking-changes.migration.service.js +1 -1
- package/dist/modules/breaking-changes/breaking-changes.migration.service.js.map +1 -1
- package/dist/modules/breaking-changes/migration-report-csv.js +10 -0
- package/dist/modules/breaking-changes/migration-report-csv.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/node-removals/agent-tools-v1-to-v2.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/agent-tools-v1-to-v2.migration.js +29 -0
- package/dist/modules/breaking-changes/migrations/node-removals/agent-tools-v1-to-v2.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/edit-image-v2.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/edit-image-v2.migration.js +20 -0
- package/dist/modules/breaking-changes/migrations/node-removals/edit-image-v2.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.js +4 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.js.map +1 -1
- package/dist/modules/breaking-changes/rules/index.d.ts +3 -0
- package/dist/modules/breaking-changes/rules/index.js +3 -0
- package/dist/modules/breaking-changes/rules/index.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/compression-node-limits.rule.js +6 -6
- package/dist/modules/breaking-changes/rules/v3/compression-node-limits.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.d.ts +17 -0
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.js +101 -0
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.rule.d.ts +10 -0
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.rule.js +53 -0
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/node-replacement-rule.d.ts +19 -0
- package/dist/modules/breaking-changes/rules/v3/node-replacement-rule.js +53 -0
- package/dist/modules/breaking-changes/rules/v3/node-replacement-rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.d.ts +87 -91
- package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.js +31 -79
- package/dist/modules/breaking-changes/rules/v3/removed-nodes-with-replacements.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.d.ts +75 -11
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js +96 -58
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.d.ts +5 -0
- package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.js +33 -0
- package/dist/modules/breaking-changes/rules/v3/slack-credential-secret.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.d.ts +13 -0
- package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.js +54 -0
- package/dist/modules/breaking-changes/rules/v3/slack-credential-signature-secret.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.d.ts +13 -0
- package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.js +54 -0
- package/dist/modules/breaking-changes/rules/v3/slack-trigger-signature-secret.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/ssrf-default-blocked-ranges.rule.js +5 -5
- package/dist/modules/breaking-changes/rules/v3/ssrf-default-blocked-ranges.rule.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/task-runner-task-timeout.rule.js +5 -5
- package/dist/modules/breaking-changes/rules/v3/task-runner-task-timeout.rule.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub.controller.js +11 -12
- package/dist/modules/chat-hub/chat-hub.controller.js.map +1 -1
- package/dist/modules/community-packages/community-packages.controller.d.ts +17 -1
- package/dist/modules/community-packages/community-packages.controller.js +3 -1
- package/dist/modules/community-packages/community-packages.controller.js.map +1 -1
- package/dist/modules/community-packages/community-packages.lifecycle.service.d.ts +5 -2
- package/dist/modules/community-packages/community-packages.lifecycle.service.js +18 -2
- package/dist/modules/community-packages/community-packages.lifecycle.service.js.map +1 -1
- package/dist/modules/engine-v2/engine-data-plane-client.d.ts +2 -1
- package/dist/modules/engine-v2/engine-data-plane-client.js +16 -0
- package/dist/modules/engine-v2/engine-data-plane-client.js.map +1 -1
- package/dist/modules/external-secrets.ee/redaction.service.ee.js +2 -2
- package/dist/modules/external-secrets.ee/redaction.service.ee.js.map +1 -1
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source-identity.repository.d.ts +8 -8
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source-identity.repository.js +8 -11
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source-identity.repository.js.map +1 -1
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.d.ts +10 -10
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.js +10 -13
- package/dist/modules/inbound-auth-core/database/repositories/trusted-source.repository.js.map +1 -1
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.js +1 -1
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.js.map +1 -1
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.d.ts +3 -2
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.js +23 -10
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.js.map +1 -1
- package/dist/modules/inbound-auth-core/resource-admission.d.ts +5 -3
- package/dist/modules/inbound-auth-core/resource-admission.js +6 -2
- package/dist/modules/inbound-auth-core/resource-admission.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.gate.js +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.gate.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.store.js +15 -15
- package/dist/modules/inbound-auth-core/trusted-source.store.js.map +1 -1
- package/dist/modules/inbox/inbox-source.registry.d.ts +4 -4
- package/dist/modules/inbox/inbox.service.js +5 -1
- package/dist/modules/inbox/inbox.service.js.map +1 -1
- package/dist/modules/instance-ai/agent-preview-handoff.d.ts +5 -2
- package/dist/modules/instance-ai/agent-preview-handoff.js +13 -0
- package/dist/modules/instance-ai/agent-preview-handoff.js.map +1 -1
- package/dist/modules/instance-ai/agents-access.d.ts +2 -0
- package/dist/modules/instance-ai/agents-access.js +12 -0
- package/dist/modules/instance-ai/agents-access.js.map +1 -1
- package/dist/modules/instance-ai/ai-preferences-telemetry.d.ts +11 -0
- package/dist/modules/instance-ai/ai-preferences-telemetry.js +21 -0
- package/dist/modules/instance-ai/ai-preferences-telemetry.js.map +1 -0
- package/dist/modules/instance-ai/browser/browser-use-availability.d.ts +6 -0
- package/dist/modules/instance-ai/browser/browser-use-availability.js +11 -0
- package/dist/modules/instance-ai/browser/browser-use-availability.js.map +1 -0
- package/dist/modules/instance-ai/entities/instance-ai-pending-confirmation.entity.d.ts +0 -1
- package/dist/modules/instance-ai/entities/instance-ai-pending-confirmation.entity.js +0 -4
- package/dist/modules/instance-ai/entities/instance-ai-pending-confirmation.entity.js.map +1 -1
- package/dist/modules/instance-ai/eval/agent-execution.service.d.ts +8 -11
- package/dist/modules/instance-ai/eval/agent-execution.service.js +128 -224
- package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/data-table-rows.d.ts +25 -0
- package/dist/modules/instance-ai/eval/data-table-rows.js +155 -0
- package/dist/modules/instance-ai/eval/data-table-rows.js.map +1 -0
- package/dist/modules/instance-ai/eval/eval-timings.d.ts +1 -1
- package/dist/modules/instance-ai/eval/eval-timings.js +8 -1
- package/dist/modules/instance-ai/eval/eval-timings.js.map +1 -1
- package/dist/modules/instance-ai/eval/eval.controller.d.ts +78 -0
- package/dist/modules/instance-ai/eval/eval.controller.js +282 -0
- package/dist/modules/instance-ai/eval/eval.controller.js.map +1 -0
- package/dist/modules/instance-ai/eval/execution.service.d.ts +2 -3
- package/dist/modules/instance-ai/eval/execution.service.js +109 -91
- package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/failed-execution-portability.service.d.ts +37 -0
- package/dist/modules/instance-ai/eval/failed-execution-portability.service.js +401 -0
- package/dist/modules/instance-ai/eval/failed-execution-portability.service.js.map +1 -0
- package/dist/modules/instance-ai/eval/form-trigger-content.d.ts +2 -0
- package/dist/modules/instance-ai/eval/form-trigger-content.js +117 -0
- package/dist/modules/instance-ai/eval/form-trigger-content.js.map +1 -0
- package/dist/modules/instance-ai/eval/llm-completion-mock.js +19 -6
- package/dist/modules/instance-ai/eval/llm-completion-mock.js.map +1 -1
- package/dist/modules/instance-ai/eval/mock-handler.d.ts +10 -0
- package/dist/modules/instance-ai/eval/mock-handler.js +147 -11
- package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
- package/dist/modules/instance-ai/eval/node-run-mock.d.ts +19 -0
- package/dist/modules/instance-ai/eval/node-run-mock.js +163 -0
- package/dist/modules/instance-ai/eval/node-run-mock.js.map +1 -0
- package/dist/modules/instance-ai/eval/pin-data-generator.d.ts +1 -2
- 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/provider-shapes.d.ts +1 -0
- package/dist/modules/instance-ai/eval/provider-shapes.js +16 -0
- package/dist/modules/instance-ai/eval/provider-shapes.js.map +1 -1
- package/dist/modules/instance-ai/eval/request-sanitizer.d.ts +1 -0
- package/dist/modules/instance-ai/eval/request-sanitizer.js +16 -0
- package/dist/modules/instance-ai/eval/request-sanitizer.js.map +1 -1
- package/dist/modules/instance-ai/eval/scoped-credential-provider.d.ts +2 -3
- package/dist/modules/instance-ai/eval/scoped-credential-provider.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.d.ts +2 -2
- package/dist/modules/instance-ai/eval/thread-restore.service.js +22 -12
- package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/workflow-analysis.d.ts +2 -3
- package/dist/modules/instance-ai/eval/workflow-analysis.js +7 -25
- package/dist/modules/instance-ai/eval/workflow-analysis.js.map +1 -1
- package/dist/modules/instance-ai/event-bus/durable-event-log.d.ts +1 -13
- package/dist/modules/instance-ai/event-bus/durable-event-log.js +0 -4
- package/dist/modules/instance-ai/event-bus/durable-event-log.js.map +1 -1
- package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.d.ts +1 -1
- package/dist/modules/instance-ai/event-bus/interrupted-run-sweeper.js.map +1 -1
- package/dist/modules/instance-ai/extract-resolved-node-parameters.d.ts +2 -1
- package/dist/modules/instance-ai/extract-resolved-node-parameters.js +14 -9
- package/dist/modules/instance-ai/extract-resolved-node-parameters.js.map +1 -1
- package/dist/modules/{agents/builder/format-preview-context.d.ts → instance-ai/format-agent-session-context.d.ts} +2 -3
- package/dist/modules/{agents/builder/format-preview-context.js → instance-ai/format-agent-session-context.js} +7 -1
- package/dist/modules/instance-ai/format-agent-session-context.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-agent-context.adapter.d.ts +8 -0
- package/dist/modules/instance-ai/instance-ai-agent-context.adapter.js +40 -0
- package/dist/modules/instance-ai/instance-ai-agent-context.adapter.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-builder-delegate.adapter.d.ts +18 -0
- package/dist/modules/instance-ai/instance-ai-builder-delegate.adapter.js +77 -0
- package/dist/modules/instance-ai/instance-ai-builder-delegate.adapter.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.d.ts +3 -1
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js +6 -3
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-credit.service.d.ts +2 -2
- package/dist/modules/instance-ai/instance-ai-credit.service.js +6 -1
- package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-hub-skills.d.ts +9 -0
- package/dist/modules/instance-ai/instance-ai-hub-skills.js +240 -0
- package/dist/modules/instance-ai/instance-ai-hub-skills.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-memory.service.d.ts +1 -0
- package/dist/modules/instance-ai/instance-ai-memory.service.js +11 -1
- package/dist/modules/instance-ai/instance-ai-memory.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-model.service.d.ts +4 -2
- package/dist/modules/instance-ai/instance-ai-model.service.js +7 -2
- package/dist/modules/instance-ai/instance-ai-model.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.d.ts +3 -15
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.js +13 -33
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-preference-card.service.d.ts +1 -1
- package/dist/modules/instance-ai/instance-ai-preference-card.service.js +2 -2
- package/dist/modules/instance-ai/instance-ai-preference-card.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +3 -10
- package/dist/modules/instance-ai/instance-ai-settings.service.js +6 -40
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-skill-display.d.ts +3 -0
- package/dist/modules/instance-ai/instance-ai-skill-display.js +38 -0
- package/dist/modules/instance-ai/instance-ai-skill-display.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-skills.adapter.d.ts +8 -0
- package/dist/modules/instance-ai/instance-ai-skills.adapter.js +72 -0
- package/dist/modules/instance-ai/instance-ai-skills.adapter.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-skills.service.d.ts +9 -4
- package/dist/modules/instance-ai/instance-ai-skills.service.js +22 -6
- package/dist/modules/instance-ai/instance-ai-skills.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.d.ts +0 -1
- package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js +0 -1
- package/dist/modules/instance-ai/instance-ai-terminal-outcome.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +11 -7
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +304 -124
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +5 -117
- package/dist/modules/instance-ai/instance-ai.controller.js +36 -475
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.d.ts +17 -3
- package/dist/modules/instance-ai/instance-ai.module.js +47 -13
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +18 -90
- package/dist/modules/instance-ai/instance-ai.service.js +273 -1644
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-context.service.d.ts +0 -1
- package/dist/modules/instance-ai/instance-context.service.js +9 -6
- package/dist/modules/instance-ai/instance-context.service.js.map +1 -1
- package/dist/modules/instance-ai/internal-messages.d.ts +1 -0
- package/dist/modules/instance-ai/internal-messages.js +17 -0
- package/dist/modules/instance-ai/internal-messages.js.map +1 -1
- package/dist/modules/instance-ai/message-parser.js +47 -4
- package/dist/modules/instance-ai/message-parser.js.map +1 -1
- package/dist/modules/instance-ai/model-config-name.js +9 -7
- package/dist/modules/instance-ai/model-config-name.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.d.ts +4 -1
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js +12 -6
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-observation.repository.d.ts +8 -3
- package/dist/modules/instance-ai/repositories/instance-ai-observation.repository.js +58 -4
- package/dist/modules/instance-ai/repositories/instance-ai-observation.repository.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/candidate-workflow.d.ts +22 -0
- package/dist/modules/instance-ai/self-healing/candidate-workflow.js +127 -0
- package/dist/modules/instance-ai/self-healing/candidate-workflow.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration-reviewer.entity.d.ts +9 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration-reviewer.entity.js +41 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration-reviewer.entity.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration-workflow.entity.d.ts +11 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration-workflow.entity.js +51 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration-workflow.entity.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.d.ts +11 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.js +54 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.entity.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.d.ts +17 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.js +195 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-configuration.repository.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-investigation.entity.d.ts +21 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-investigation.entity.js +94 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-investigation.entity.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-investigation.repository.d.ts +21 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-investigation.repository.js +77 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-investigation.repository.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.entity.d.ts +3 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.entity.js +11 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.entity.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.d.ts +8 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js +25 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-temporary-workflow.repository.d.ts +14 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-temporary-workflow.repository.js +92 -0
- package/dist/modules/instance-ai/self-healing/database/self-healing-temporary-workflow.repository.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-agent.service.d.ts +94 -0
- package/dist/modules/instance-ai/self-healing/self-healing-agent.service.js +429 -0
- package/dist/modules/instance-ai/self-healing/self-healing-agent.service.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.d.ts +143 -0
- package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.js +212 -0
- package/dist/modules/instance-ai/self-healing/self-healing-candidate.service.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.d.ts +34 -0
- package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.js +213 -0
- package/dist/modules/instance-ai/self-healing/self-healing-configuration.service.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.d.ts +20 -0
- package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.js +109 -0
- package/dist/modules/instance-ai/self-healing/self-healing-configurations.controller.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-execution-reference.service.d.ts +2 -1
- package/dist/modules/instance-ai/self-healing/self-healing-execution-reference.service.js +23 -0
- package/dist/modules/instance-ai/self-healing/self-healing-execution-reference.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-investigation.service.d.ts +55 -0
- package/dist/modules/instance-ai/self-healing/self-healing-investigation.service.js +255 -0
- package/dist/modules/instance-ai/self-healing/self-healing-investigation.service.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-reconciliation.task.d.ts +11 -0
- package/dist/modules/instance-ai/self-healing/self-healing-reconciliation.task.js +37 -0
- package/dist/modules/instance-ai/self-healing/self-healing-reconciliation.task.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.d.ts +24 -13
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js +133 -68
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-temporary-workflow.service.d.ts +29 -0
- package/dist/modules/instance-ai/self-healing/self-healing-temporary-workflow.service.js +118 -0
- package/dist/modules/instance-ai/self-healing/self-healing-temporary-workflow.service.js.map +1 -0
- package/dist/modules/instance-ai/self-healing/self-healing-trigger.service.d.ts +18 -0
- package/dist/modules/instance-ai/self-healing/self-healing-trigger.service.js +100 -0
- package/dist/modules/instance-ai/self-healing/self-healing-trigger.service.js.map +1 -0
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.d.ts +2 -1
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.js +3 -1
- package/dist/modules/instance-ai/storage/typeorm-agent-memory.js.map +1 -1
- package/dist/modules/instance-ai/storage/typeorm-observation-log-store.d.ts +2 -1
- package/dist/modules/instance-ai/storage/typeorm-observation-log-store.js +3 -0
- package/dist/modules/instance-ai/storage/typeorm-observation-log-store.js.map +1 -1
- package/dist/modules/instance-ai/suspended-run-restorer.service.js +1 -0
- package/dist/modules/instance-ai/suspended-run-restorer.service.js.map +1 -1
- package/dist/modules/instance-ai/suspended-thread-persistence.service.d.ts +0 -1
- package/dist/modules/instance-ai/suspended-thread-persistence.service.js +0 -1
- package/dist/modules/instance-ai/suspended-thread-persistence.service.js.map +1 -1
- package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.d.ts +1 -1
- package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.js +0 -1
- package/dist/modules/instance-ai/tracing/instance-ai-tracing.service.js.map +1 -1
- package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.d.ts +51 -0
- package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.js +226 -0
- package/dist/modules/instance-ai/turn-setup/assistant-agent.factory.js.map +1 -0
- package/dist/modules/instance-ai/turn-setup/assistant-credits.d.ts +10 -0
- package/dist/modules/instance-ai/turn-setup/assistant-credits.js +22 -0
- package/dist/modules/instance-ai/turn-setup/assistant-credits.js.map +1 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.d.ts +84 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.js +423 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-environment.factory.js.map +1 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.d.ts +70 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.js +447 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-input.builder.js.map +1 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-runtime.d.ts +36 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-runtime.js +3 -0
- package/dist/modules/instance-ai/turn-setup/assistant-turn-runtime.js.map +1 -0
- package/dist/modules/instance-ai/workflow-json.d.ts +6 -0
- package/dist/modules/instance-ai/workflow-json.js +36 -0
- package/dist/modules/instance-ai/workflow-json.js.map +1 -0
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion-actions.service.d.ts +1 -1
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion-actions.service.js +15 -11
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion-actions.service.js.map +1 -1
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion-event-relay.service.d.ts +8 -0
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion-event-relay.service.js +23 -17
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion-event-relay.service.js.map +1 -1
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion.service.d.ts +1 -0
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion.service.js +14 -0
- package/dist/modules/instance-ai/workflow-suggestions/workflow-suggestion.service.js.map +1 -1
- package/dist/modules/instance-ai/workflow-verification-obligation-service.d.ts +3 -13
- package/dist/modules/instance-ai/workflow-verification-obligation-service.js +3 -39
- package/dist/modules/instance-ai/workflow-verification-obligation-service.js.map +1 -1
- package/dist/modules/instance-ai/workflow-verification-task-projector.d.ts +1 -4
- package/dist/modules/instance-ai/workflow-verification-task-projector.js +3 -84
- package/dist/modules/instance-ai/workflow-verification-task-projector.js.map +1 -1
- package/dist/modules/instance-registry/instance-registry.service.d.ts +1 -0
- package/dist/modules/instance-registry/instance-registry.service.js +27 -0
- package/dist/modules/instance-registry/instance-registry.service.js.map +1 -1
- package/dist/modules/knowledge/knowledge-availability.service.d.ts +10 -0
- package/dist/modules/knowledge/knowledge-availability.service.js +39 -0
- package/dist/modules/knowledge/knowledge-availability.service.js.map +1 -0
- package/dist/modules/knowledge/knowledge-consumer-scope.d.ts +6 -0
- package/dist/modules/knowledge/knowledge-consumer-scope.js +3 -0
- package/dist/modules/knowledge/knowledge-consumer-scope.js.map +1 -0
- package/dist/modules/knowledge/knowledge-retriever.d.ts +8 -0
- package/dist/modules/knowledge/knowledge-retriever.js +3 -0
- package/dist/modules/knowledge/knowledge-retriever.js.map +1 -0
- package/dist/modules/knowledge/knowledge-sandbox-provider.d.ts +15 -0
- package/dist/modules/knowledge/knowledge-sandbox-provider.js +3 -0
- package/dist/modules/knowledge/knowledge-sandbox-provider.js.map +1 -0
- package/dist/modules/knowledge/knowledge.module.d.ts +5 -0
- package/dist/modules/knowledge/knowledge.module.js +22 -0
- package/dist/modules/knowledge/knowledge.module.js.map +1 -0
- package/dist/modules/knowledge/vector-stores/connection-test.service.d.ts +8 -0
- package/dist/modules/{agents/agent-vector-stores.service.js → knowledge/vector-stores/connection-test.service.js} +11 -21
- package/dist/modules/knowledge/vector-stores/connection-test.service.js.map +1 -0
- package/dist/modules/{agents/json-config → knowledge/vector-stores}/embedding-credential.js +1 -1
- package/dist/modules/knowledge/vector-stores/embedding-credential.js.map +1 -0
- package/dist/modules/{agents/json-config/vector-store-factory.js → knowledge/vector-stores/factory.js} +1 -1
- package/dist/modules/knowledge/vector-stores/factory.js.map +1 -0
- package/dist/modules/ldap.ee/helpers.ee.js.map +1 -1
- package/dist/modules/ldap.ee/ldap.service.ee.d.ts +1 -3
- package/dist/modules/ldap.ee/ldap.service.ee.js +36 -36
- package/dist/modules/ldap.ee/ldap.service.ee.js.map +1 -1
- package/dist/modules/mcp/mcp-api-key.service.d.ts +5 -1
- package/dist/modules/mcp/mcp-api-key.service.js +13 -10
- package/dist/modules/mcp/mcp-api-key.service.js.map +1 -1
- package/dist/modules/mcp/mcp-protected-resource.js +2 -1
- package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
- package/dist/modules/mcp/mcp-scopes.js +2 -2
- package/dist/modules/mcp/mcp-scopes.js.map +1 -1
- package/dist/modules/mcp/mcp-server-middleware.service.d.ts +12 -6
- package/dist/modules/mcp/mcp-server-middleware.service.js +107 -67
- package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
- package/dist/modules/mcp/mcp-tool-availability.d.ts +0 -1
- package/dist/modules/mcp/mcp-tool-availability.js +0 -4
- package/dist/modules/mcp/mcp-tool-availability.js.map +1 -1
- package/dist/modules/mcp/mcp.constants.d.ts +1 -0
- package/dist/modules/mcp/mcp.constants.js +2 -1
- package/dist/modules/mcp/mcp.constants.js.map +1 -1
- package/dist/modules/mcp/mcp.module.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +2 -2
- package/dist/modules/mcp/mcp.service.js +9 -4
- package/dist/modules/mcp/mcp.service.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.js +6 -26
- package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/get-user-preferences.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/get-user-preferences.tool.js +3 -3
- package/dist/modules/mcp/tools/get-user-preferences.tool.js.map +1 -1
- package/dist/modules/mcp/tools/save-user-preference.tool.d.ts +1 -2
- package/dist/modules/mcp/tools/save-user-preference.tool.js.map +1 -1
- package/dist/modules/mcp/tools/skills/skill-extension.service.d.ts +27 -0
- package/dist/modules/mcp/tools/skills/skill-extension.service.js +160 -0
- package/dist/modules/mcp/tools/skills/skill-extension.service.js.map +1 -0
- package/dist/modules/mcp/tools/skills/skill-tools.service.d.ts +5 -3
- package/dist/modules/mcp/tools/skills/skill-tools.service.js +28 -19
- package/dist/modules/mcp/tools/skills/skill-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/undo-user-preference.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/update-user-preference.tool.d.ts +1 -2
- package/dist/modules/mcp/tools/update-user-preference.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/install-community-node.tool.js +6 -0
- package/dist/modules/mcp/tools/workflow-builder/install-community-node.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js +3 -3
- package/dist/modules/mcp/tools/workflow-builder/update-workflow.tool.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-auth-fetch.d.ts +2 -1
- package/dist/modules/mcp-registry/mcp-auth-fetch.js +3 -3
- package/dist/modules/mcp-registry/mcp-auth-fetch.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.d.ts +4 -1
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.js +42 -2
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry-connection.d.ts +3 -1
- package/dist/modules/mcp-registry/mcp-registry-connection.js +51 -3
- package/dist/modules/mcp-registry/mcp-registry-connection.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry-node-loader.d.ts +1 -0
- package/dist/modules/mcp-registry/mcp-registry-node-loader.js +6 -1
- package/dist/modules/mcp-registry/mcp-registry-node-loader.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry-response.js +2 -0
- package/dist/modules/mcp-registry/mcp-registry-response.js.map +1 -1
- package/dist/modules/mcp-registry/node-description-transform.d.ts +1 -0
- package/dist/modules/mcp-registry/node-description-transform.js +60 -2
- package/dist/modules/mcp-registry/node-description-transform.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-ai-gateway.d.ts +3 -0
- package/dist/modules/mcp-registry/registry/mcp-registry-ai-gateway.js +50 -0
- package/dist/modules/mcp-registry/registry/mcp-registry-ai-gateway.js.map +1 -0
- package/dist/modules/mcp-registry/registry/mcp-registry-api.client.js +4 -0
- package/dist/modules/mcp-registry/registry/mcp-registry-api.client.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-capabilities.d.ts +3 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-capabilities.js +9 -2
- package/dist/modules/mcp-registry/registry/mcp-registry-capabilities.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-search.d.ts +3 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-search.js +9 -2
- package/dist/modules/mcp-registry/registry/mcp-registry-search.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.service.d.ts +8 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.service.js +80 -12
- package/dist/modules/mcp-registry/registry/mcp-registry.service.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.types.d.ts +20 -1
- package/dist/modules/mcp-registry/registry/mcp-registry.types.js +18 -3
- package/dist/modules/mcp-registry/registry/mcp-registry.types.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mock-servers.d.ts +87 -1
- package/dist/modules/mcp-registry/registry/mock-servers.js +48 -1
- package/dist/modules/mcp-registry/registry/mock-servers.js.map +1 -1
- package/dist/modules/modules.manifest.js +7 -0
- package/dist/modules/modules.manifest.js.map +1 -1
- package/dist/modules/n8n-packages/engine/credential-save-policy.d.ts +3 -1
- package/dist/modules/n8n-packages/engine/credential-save-policy.js +47 -0
- package/dist/modules/n8n-packages/engine/credential-save-policy.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js +2 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-gates.d.ts +3 -2
- package/dist/modules/n8n-packages/engine/import-gates.js +7 -0
- package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +11 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.js +118 -13
- package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-result.d.ts +12 -1
- package/dist/modules/n8n-packages/engine/import-result.js +29 -4
- package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.js +6 -2
- package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
- package/dist/modules/n8n-packages/engine/n8n-package-parser.d.ts +1 -3
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js +12 -22
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
- package/dist/modules/n8n-packages/engine/package-layout.d.ts +1 -2
- package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
- package/dist/modules/n8n-packages/engine/project-package-importer.js +32 -8
- package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js +22 -21
- 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 +4 -0
- package/dist/modules/n8n-packages/entities/agent/agent-body-issues.js +16 -0
- package/dist/modules/n8n-packages/entities/agent/agent-body-issues.js.map +1 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.d.ts +17 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.js +275 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-bindings.js.map +1 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.d.ts +13 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.js +111 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import-match.service.js.map +1 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import.types.d.ts +61 -0
- package/dist/modules/n8n-packages/entities/agent/agent-import.types.js +14 -0
- 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 +25 -0
- package/dist/modules/n8n-packages/entities/agent/agent-importer.js +223 -0
- package/dist/modules/n8n-packages/entities/agent/agent-importer.js.map +1 -0
- package/dist/modules/n8n-packages/entities/agent/agent-requirements.extractor.js +2 -2
- package/dist/modules/n8n-packages/entities/agent/agent-requirements.extractor.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.d.ts +4 -1
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.js +12 -1
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-export-policy.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-export-policy.js +3 -2
- package/dist/modules/n8n-packages/entities/credential/credential-export-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-importer.d.ts +15 -5
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js +116 -11
- 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 +31 -14
- package/dist/modules/n8n-packages/entities/credential/credential-matcher.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.js +2 -2
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +8 -2
- package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.d.ts +1 -0
- package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js +1 -0
- package/dist/modules/n8n-packages/entities/credential/id-based-credential-matcher.js.map +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table-compat.d.ts +1 -1
- 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 +1 -1
- 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-schema-conflict-policy.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/data-table/data-table-schema-conflict-policy.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 +2 -2
- 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 +1 -1
- package/dist/modules/n8n-packages/entities/folder/folder-import.types.d.ts +6 -2
- package/dist/modules/n8n-packages/entities/folder/folder-importer.d.ts +3 -1
- package/dist/modules/n8n-packages/entities/folder/folder-importer.js +44 -16
- package/dist/modules/n8n-packages/entities/folder/folder-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/folder/folder-remover.d.ts +2 -0
- package/dist/modules/n8n-packages/entities/folder/folder-remover.js +12 -2
- package/dist/modules/n8n-packages/entities/folder/folder-remover.js.map +1 -1
- package/dist/modules/n8n-packages/entities/folder/folder.serializer.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/folder/folder.serializer.js +2 -2
- package/dist/modules/n8n-packages/entities/folder/folder.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/import-conflict-policy.d.ts +6 -0
- package/dist/modules/n8n-packages/entities/import-conflict-policy.js +12 -0
- package/dist/modules/n8n-packages/entities/import-conflict-policy.js.map +1 -0
- package/dist/modules/n8n-packages/entities/import-id-policy.d.ts +2 -0
- package/dist/modules/n8n-packages/entities/import-id-policy.js +12 -0
- package/dist/modules/n8n-packages/entities/import-id-policy.js.map +1 -0
- package/dist/modules/n8n-packages/entities/match-source-ids.d.ts +6 -0
- package/dist/modules/n8n-packages/entities/match-source-ids.js +32 -0
- package/dist/modules/n8n-packages/entities/match-source-ids.js.map +1 -0
- package/dist/modules/n8n-packages/entities/planned-placements.d.ts +6 -0
- package/dist/modules/n8n-packages/entities/planned-placements.js +12 -0
- package/dist/modules/n8n-packages/entities/planned-placements.js.map +1 -0
- package/dist/modules/n8n-packages/entities/project/project-import.types.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/project/project.serializer.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/project/project.serializer.js +2 -2
- package/dist/modules/n8n-packages/entities/project/project.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/tag/tag-importer.d.ts +8 -1
- package/dist/modules/n8n-packages/entities/tag/tag-importer.js +13 -5
- package/dist/modules/n8n-packages/entities/tag/tag-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/tag/tag.exporter.d.ts +5 -0
- package/dist/modules/n8n-packages/entities/tag/tag.exporter.js +6 -3
- package/dist/modules/n8n-packages/entities/tag/tag.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable.serializer.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable.serializer.js +3 -3
- package/dist/modules/n8n-packages/entities/variable/variable.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js +8 -5
- package/dist/modules/n8n-packages/entities/workflow/missing-node-type-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/references/sub-workflow-node.reference.d.ts +0 -6
- package/dist/modules/n8n-packages/entities/workflow/references/sub-workflow-node.reference.js +3 -31
- package/dist/modules/n8n-packages/entities/workflow/references/sub-workflow-node.reference.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.js +8 -28
- package/dist/modules/n8n-packages/entities/workflow/workflow-import-match.service.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-import.types.d.ts +2 -6
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.d.ts +5 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js +16 -7
- package/dist/modules/n8n-packages/entities/workflow/workflow-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-published-state.d.ts +4 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-published-state.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.d.ts +1 -0
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js +8 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-remover.js +13 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-remover.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.d.ts +2 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js +17 -6
- package/dist/modules/n8n-packages/entities/workflow/workflow.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.d.ts +8 -4
- package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.js +28 -10
- package/dist/modules/n8n-packages/io/directory/package-directory-inventory-reader.js.map +1 -1
- package/dist/modules/n8n-packages/io/hashing-package-writer.d.ts +1 -0
- package/dist/modules/n8n-packages/io/hashing-package-writer.js +8 -5
- package/dist/modules/n8n-packages/io/hashing-package-writer.js.map +1 -1
- package/dist/modules/n8n-packages/io/manifest-entry.d.ts +1 -2
- package/dist/modules/n8n-packages/io/manifest-entry.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.service.d.ts +2 -2
- package/dist/modules/n8n-packages/n8n-packages.service.js +4 -3
- package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +21 -4
- package/dist/modules/n8n-packages/n8n-packages.types.js +5 -1
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/agent.schema.d.ts +13 -7
- package/dist/modules/oauth-server/oauth-token.service.js +0 -3
- package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth.controller.js +7 -1
- package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.d.ts +2 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.d.ts +2 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/otel/execution-level-tracer.js +1 -1
- package/dist/modules/otel/execution-level-tracer.js.map +1 -1
- package/dist/modules/otel/execution-level-tracer.types.d.ts +2 -0
- package/dist/modules/otel/execution-level-tracer.types.js.map +1 -1
- package/dist/modules/otel/gen-ai-attributes.d.ts +3 -0
- package/dist/modules/otel/gen-ai-attributes.js +72 -0
- package/dist/modules/otel/gen-ai-attributes.js.map +1 -0
- package/dist/modules/otel/otel-lifecycle-handler.js +6 -1
- package/dist/modules/otel/otel-lifecycle-handler.js.map +1 -1
- package/dist/modules/promotions.ee/branch-placement.d.ts +3 -0
- package/dist/modules/promotions.ee/branch-placement.js +3 -1
- package/dist/modules/promotions.ee/branch-placement.js.map +1 -1
- package/dist/modules/promotions.ee/constants.d.ts +0 -5
- package/dist/modules/promotions.ee/constants.js +1 -3
- package/dist/modules/promotions.ee/constants.js.map +1 -1
- package/dist/modules/promotions.ee/cross-project-moves.d.ts +41 -0
- package/dist/modules/promotions.ee/cross-project-moves.js +59 -0
- package/dist/modules/promotions.ee/cross-project-moves.js.map +1 -0
- package/dist/modules/promotions.ee/database/entities/promotion-environment-project.entity.d.ts +10 -0
- package/dist/modules/promotions.ee/database/entities/{promotion-connection-project.entity.js → promotion-environment-project.entity.js} +18 -14
- package/dist/modules/promotions.ee/database/entities/promotion-environment-project.entity.js.map +1 -0
- package/dist/modules/promotions.ee/database/entities/promotion-environment.entity.d.ts +16 -0
- package/dist/modules/promotions.ee/database/entities/{promotion-connection.entity.js → promotion-environment.entity.js} +36 -13
- package/dist/modules/promotions.ee/database/entities/promotion-environment.entity.js.map +1 -0
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.d.ts +3 -3
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js +7 -7
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js.map +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.d.ts +3 -3
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.js +6 -6
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.js.map +1 -1
- package/dist/modules/promotions.ee/database/promotion-conflict.error.d.ts +0 -3
- package/dist/modules/promotions.ee/database/promotion-conflict.error.js +0 -4
- package/dist/modules/promotions.ee/database/promotion-conflict.error.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-environment-project.repository.d.ts +11 -0
- package/dist/modules/promotions.ee/database/repositories/{promotion-connection-project.repository.js → promotion-environment-project.repository.js} +21 -20
- package/dist/modules/promotions.ee/database/repositories/promotion-environment-project.repository.js.map +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.d.ts +28 -0
- package/dist/modules/promotions.ee/database/repositories/{promotion-connection.repository.js → promotion-environment.repository.js} +21 -22
- package/dist/modules/promotions.ee/database/repositories/promotion-environment.repository.js.map +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-provider.repository.js +1 -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 +15 -10
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js +53 -21
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.d.ts +2 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.js +8 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.js.map +1 -1
- package/dist/modules/promotions.ee/git-hosts/{git-host-target.d.ts → git-host-remote.d.ts} +7 -6
- package/dist/modules/promotions.ee/git-hosts/{git-host-target.js → git-host-remote.js} +24 -18
- package/dist/modules/promotions.ee/git-hosts/git-host-remote.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js +2 -2
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.d.ts +21 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.js +230 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.client.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.d.ts +87 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.js +33 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-merge-request.types.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-change.service.d.ts +37 -5
- package/dist/modules/promotions.ee/promotion-change.service.js +294 -48
- package/dist/modules/promotions.ee/promotion-change.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-changes.controller.d.ts +7 -3
- package/dist/modules/promotions.ee/promotion-changes.controller.js +38 -6
- package/dist/modules/promotions.ee/promotion-changes.controller.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-commit-message.d.ts +15 -0
- package/dist/modules/promotions.ee/promotion-commit-message.js +30 -0
- package/dist/modules/promotions.ee/promotion-commit-message.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-environment.resolver.d.ts +14 -0
- package/dist/modules/promotions.ee/promotion-environment.resolver.js +79 -0
- package/dist/modules/promotions.ee/promotion-environment.resolver.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-environments.service.d.ts +95 -0
- package/dist/modules/promotions.ee/promotion-environments.service.js +224 -0
- package/dist/modules/promotions.ee/promotion-environments.service.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-preview.d.ts +47 -0
- package/dist/modules/promotions.ee/promotion-preview.js +349 -0
- package/dist/modules/promotions.ee/promotion-preview.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-providers.service.d.ts +3 -3
- package/dist/modules/promotions.ee/promotion-providers.service.js +6 -6
- package/dist/modules/promotions.ee/promotion-providers.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-review-changes.service.d.ts +19 -0
- package/dist/modules/promotions.ee/promotion-review-changes.service.js +186 -0
- package/dist/modules/promotions.ee/promotion-review-changes.service.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-review-gate.service.d.ts +17 -0
- package/dist/modules/promotions.ee/promotion-review-gate.service.js +91 -0
- package/dist/modules/promotions.ee/promotion-review-gate.service.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-review-host.resolver.d.ts +16 -0
- package/dist/modules/promotions.ee/promotion-review-host.resolver.js +55 -0
- package/dist/modules/promotions.ee/promotion-review-host.resolver.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-review-inbox.service.d.ts +45 -0
- package/dist/modules/promotions.ee/promotion-review-inbox.service.js +283 -0
- package/dist/modules/promotions.ee/promotion-review-inbox.service.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-review.utils.d.ts +3 -0
- package/dist/modules/promotions.ee/promotion-review.utils.js +27 -0
- package/dist/modules/promotions.ee/promotion-review.utils.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-reviews.controller.d.ts +13 -0
- package/dist/modules/promotions.ee/promotion-reviews.controller.js +70 -0
- package/dist/modules/promotions.ee/promotion-reviews.controller.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-reviews.service.d.ts +29 -0
- package/dist/modules/promotions.ee/promotion-reviews.service.js +100 -0
- package/dist/modules/promotions.ee/promotion-reviews.service.js.map +1 -0
- package/dist/modules/promotions.ee/promotion-working-directory.service.d.ts +5 -5
- package/dist/modules/promotions.ee/promotion-working-directory.service.js +15 -16
- package/dist/modules/promotions.ee/promotion-working-directory.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions-git.service.d.ts +40 -6
- package/dist/modules/promotions.ee/promotions-git.service.js +235 -17
- package/dist/modules/promotions.ee/promotions-git.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions-git.utils.d.ts +3 -4
- package/dist/modules/promotions.ee/promotions-git.utils.js +3 -4
- package/dist/modules/promotions.ee/promotions-git.utils.js.map +1 -1
- package/dist/modules/promotions.ee/promotions-selective-push.error.d.ts +4 -1
- package/dist/modules/promotions.ee/promotions-selective-push.error.js +4 -3
- package/dist/modules/promotions.ee/promotions-selective-push.error.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.module.d.ts +1 -1
- package/dist/modules/promotions.ee/promotions.module.js +14 -6
- package/dist/modules/promotions.ee/promotions.module.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.service.d.ts +38 -9
- package/dist/modules/promotions.ee/promotions.service.js +452 -107
- package/dist/modules/promotions.ee/promotions.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.types.d.ts +13 -8
- package/dist/modules/promotions.ee/working-copy-updater.js +5 -2
- package/dist/modules/promotions.ee/working-copy-updater.js.map +1 -1
- package/dist/modules/provisioning.ee/provisioning.service.ee.d.ts +0 -1
- package/dist/modules/provisioning.ee/provisioning.service.ee.js +2 -14
- package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
- package/dist/modules/redaction/executions/execution-redaction.service.js +0 -3
- package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
- package/dist/modules/scim/database/scim-token.repository.d.ts +32 -0
- package/dist/modules/scim/database/scim-token.repository.js +95 -0
- package/dist/modules/scim/database/scim-token.repository.js.map +1 -0
- package/dist/modules/scim/database/scim-user.repository.js +1 -2
- package/dist/modules/scim/database/scim-user.repository.js.map +1 -1
- package/dist/modules/scim/scim-auth.middleware.d.ts +4 -1
- package/dist/modules/scim/scim-auth.middleware.js +18 -10
- package/dist/modules/scim/scim-auth.middleware.js.map +1 -1
- package/dist/modules/scim/scim-discovery.controller.js +1 -8
- package/dist/modules/scim/scim-discovery.controller.js.map +1 -1
- package/dist/modules/scim/scim-settings.service.d.ts +15 -2
- package/dist/modules/scim/scim-settings.service.js +36 -3
- package/dist/modules/scim/scim-settings.service.js.map +1 -1
- package/dist/modules/scim/scim-sso.service.d.ts +16 -0
- package/dist/modules/scim/scim-sso.service.js +72 -0
- package/dist/modules/scim/scim-sso.service.js.map +1 -0
- package/dist/modules/scim/scim-token.controller.d.ts +7 -3
- package/dist/modules/scim/scim-token.controller.js +43 -10
- package/dist/modules/scim/scim-token.controller.js.map +1 -1
- package/dist/modules/scim/scim-token.service.d.ts +8 -13
- package/dist/modules/scim/scim-token.service.js +35 -48
- package/dist/modules/scim/scim-token.service.js.map +1 -1
- package/dist/modules/scim/scim.controller.js +5 -0
- package/dist/modules/scim/scim.controller.js.map +1 -1
- package/dist/modules/scim/scim.errors.d.ts +9 -0
- package/dist/modules/scim/scim.errors.js +19 -1
- package/dist/modules/scim/scim.errors.js.map +1 -1
- package/dist/modules/scim/scim.module.js +2 -0
- package/dist/modules/scim/scim.module.js.map +1 -1
- package/dist/modules/scim/scim.service.d.ts +9 -9
- package/dist/modules/scim/scim.service.js +46 -69
- package/dist/modules/scim/scim.service.js.map +1 -1
- package/dist/modules/skills/assistant-skills-rollout.d.ts +8 -0
- package/dist/modules/{agents/skills/skills-hub-rollout.js → skills/assistant-skills-rollout.js} +16 -19
- package/dist/modules/skills/assistant-skills-rollout.js.map +1 -0
- package/dist/modules/skills/hub-assistant-skill-provider.service.d.ts +12 -0
- package/dist/modules/skills/hub-assistant-skill-provider.service.js +45 -0
- package/dist/modules/skills/hub-assistant-skill-provider.service.js.map +1 -0
- package/dist/modules/skills/skill-agents-proxy.service.d.ts +39 -0
- package/dist/modules/skills/skill-agents-proxy.service.js +74 -0
- package/dist/modules/skills/skill-agents-proxy.service.js.map +1 -0
- package/dist/modules/{agents/skills → skills}/skill-content-hash.d.ts +1 -1
- package/dist/modules/skills/skill-content-hash.js.map +1 -0
- package/dist/modules/skills/skill-file.entity.js.map +1 -0
- package/dist/modules/skills/skill-hash.d.ts +2 -0
- package/dist/modules/skills/skill-hash.js +21 -0
- package/dist/modules/skills/skill-hash.js.map +1 -0
- package/dist/modules/skills/skill-name-taken.error.js.map +1 -0
- package/dist/modules/skills/skill-names.js.map +1 -0
- package/dist/modules/skills/skill-version.entity.js.map +1 -0
- package/dist/modules/{agents/entities → skills}/skill.entity.d.ts +4 -1
- package/dist/modules/{agents/entities → skills}/skill.entity.js +8 -0
- package/dist/modules/skills/skill.entity.js.map +1 -0
- package/dist/modules/{agents/repositories → skills}/skill.repository.d.ts +39 -38
- package/dist/modules/skills/skill.repository.js +410 -0
- package/dist/modules/skills/skill.repository.js.map +1 -0
- package/dist/modules/{agents/skills → skills}/skill.service.d.ts +35 -27
- package/dist/modules/{agents/skills → skills}/skill.service.js +138 -102
- package/dist/modules/skills/skill.service.js.map +1 -0
- package/dist/modules/{agents/skills → skills}/skills-api.service.d.ts +11 -3
- package/dist/modules/{agents/skills → skills}/skills-api.service.js +111 -31
- package/dist/modules/skills/skills-api.service.js.map +1 -0
- package/dist/modules/{agents/skills → skills}/skills-telemetry.d.ts +7 -5
- package/dist/modules/{agents/skills → skills}/skills-telemetry.js +7 -5
- package/dist/modules/skills/skills-telemetry.js.map +1 -0
- package/dist/modules/{agents → skills}/skills.controller.d.ts +8 -6
- package/dist/modules/{agents → skills}/skills.controller.js +27 -8
- package/dist/modules/skills/skills.controller.js.map +1 -0
- package/dist/modules/skills/skills.module.d.ts +5 -0
- package/dist/modules/skills/skills.module.js +30 -0
- package/dist/modules/skills/skills.module.js.map +1 -0
- package/dist/modules/source-control.ee/source-control-export.service.ee.js +15 -11
- package/dist/modules/source-control.ee/source-control-export.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-helper.ee.d.ts +1 -1
- package/dist/modules/source-control.ee/source-control-helper.ee.js +4 -2
- 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.js +13 -1
- 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 +11 -6
- package/dist/modules/source-control.ee/source-control-preferences.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control.controller.ee.js +18 -2
- package/dist/modules/source-control.ee/source-control.controller.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control.service.ee.js +2 -0
- package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/types/source-control-preferences.d.ts +2 -0
- package/dist/modules/source-control.ee/types/source-control-preferences.js +7 -0
- package/dist/modules/source-control.ee/types/source-control-preferences.js.map +1 -1
- package/dist/modules/sso-oidc/oidc.service.ee.js +2 -0
- package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
- package/dist/modules/sso-saml/saml-helpers.js +2 -0
- package/dist/modules/sso-saml/saml-helpers.js.map +1 -1
- package/dist/modules/sso-saml/saml.service.ee.d.ts +3 -2
- package/dist/modules/sso-saml/saml.service.ee.js +15 -3
- package/dist/modules/sso-saml/saml.service.ee.js.map +1 -1
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.d.ts +2 -2
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.js +7 -4
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.js.map +1 -1
- package/dist/modules/type-availability-policies/installed-type-restrictions.provider.d.ts +18 -0
- package/dist/modules/type-availability-policies/installed-type-restrictions.provider.js +56 -0
- package/dist/modules/type-availability-policies/installed-type-restrictions.provider.js.map +1 -0
- package/dist/modules/type-availability-policies/sub-workflow-policy-check.controller.d.ts +9 -0
- package/dist/modules/type-availability-policies/sub-workflow-policy-check.controller.js +46 -0
- package/dist/modules/type-availability-policies/sub-workflow-policy-check.controller.js.map +1 -0
- package/dist/modules/type-availability-policies/sub-workflow-policy-check.service.d.ts +24 -0
- package/dist/modules/type-availability-policies/sub-workflow-policy-check.service.js +88 -0
- package/dist/modules/type-availability-policies/sub-workflow-policy-check.service.js.map +1 -0
- package/dist/modules/type-availability-policies/type-availability-policies.module.d.ts +1 -1
- package/dist/modules/type-availability-policies/type-availability-policies.module.js +3 -0
- package/dist/modules/type-availability-policies/type-availability-policies.module.js.map +1 -1
- package/dist/modules/type-availability-policies/type-violation.d.ts +2 -1
- package/dist/modules/type-availability-policies/type-violation.js +20 -4
- package/dist/modules/type-availability-policies/type-violation.js.map +1 -1
- package/dist/modules/workflow-index/workflow-dependency-query.service.js +2 -5
- package/dist/modules/workflow-index/workflow-dependency-query.service.js.map +1 -1
- package/dist/node-execution/ephemeral-node-executor.d.ts +3 -3
- package/dist/node-execution/ephemeral-node-executor.js +16 -17
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/node-execution/execute-node.service.d.ts +7 -1
- package/dist/node-execution/execute-node.service.js +23 -7
- package/dist/node-execution/execute-node.service.js.map +1 -1
- package/dist/oauth/oauth.service.js +3 -0
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/policy/policed-agent-nodes.d.ts +2 -1
- package/dist/policy/policed-agent-nodes.js +45 -7
- package/dist/policy/policed-agent-nodes.js.map +1 -1
- package/dist/policy/policy-enforcement.service.d.ts +2 -0
- package/dist/policy/policy-enforcement.service.js +6 -3
- package/dist/policy/policy-enforcement.service.js.map +1 -1
- package/dist/posthog/index.d.ts +1 -0
- package/dist/posthog/index.js +11 -5
- package/dist/posthog/index.js.map +1 -1
- package/dist/public-api/index.js +2 -0
- package/dist/public-api/index.js.map +1 -1
- package/dist/public-api/media-types/binary-response.js +2 -35
- package/dist/public-api/media-types/binary-response.js.map +1 -1
- package/dist/public-api/public-api-controller.registry.js +10 -3
- package/dist/public-api/public-api-controller.registry.js.map +1 -1
- package/dist/public-api/public-api-rate-limit-settings.service.d.ts +25 -0
- package/dist/public-api/public-api-rate-limit-settings.service.js +133 -0
- package/dist/public-api/public-api-rate-limit-settings.service.js.map +1 -0
- package/dist/public-api/public-api-rate-limit-store.factory.d.ts +16 -0
- package/dist/public-api/public-api-rate-limit-store.factory.js +100 -0
- package/dist/public-api/public-api-rate-limit-store.factory.js.map +1 -0
- package/dist/public-api/public-api-rate-limit.service.d.ts +6 -4
- package/dist/public-api/public-api-rate-limit.service.js +15 -13
- package/dist/public-api/public-api-rate-limit.service.js.map +1 -1
- package/dist/public-api/types.d.ts +2 -3
- package/dist/public-api/v1/controllers/community-packages.public.controller.d.ts +2 -2
- package/dist/public-api/v1/controllers/community-packages.public.controller.js +4 -2
- package/dist/public-api/v1/controllers/community-packages.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/credentials.public.controller.d.ts +5 -2
- package/dist/public-api/v1/controllers/credentials.public.controller.js +28 -2
- 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 +5 -2
- package/dist/public-api/v1/controllers/data-tables.public.controller.js +31 -2
- 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/promotions.public.controller.d.ts +15 -18
- package/dist/public-api/v1/controllers/promotions.public.controller.js +105 -174
- package/dist/public-api/v1/controllers/promotions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +5 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js +30 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -1
- package/dist/public-api/v1/handlers/credentials/credentials.utils.js +6 -0
- package/dist/public-api/v1/handlers/credentials/credentials.utils.js.map +1 -1
- package/dist/public-api/v1/openapi.yml +1150 -881
- package/dist/public-api/v1/shared/dependency.mapper.d.ts +5 -0
- package/dist/public-api/v1/shared/dependency.mapper.js +28 -0
- package/dist/public-api/v1/shared/dependency.mapper.js.map +1 -0
- package/dist/response-helper.d.ts +2 -0
- package/dist/response-helper.js +43 -1
- package/dist/response-helper.js.map +1 -1
- 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/job-processor.js +0 -1
- package/dist/scaling/job-processor.js.map +1 -1
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +5 -0
- package/dist/scaling/pubsub/pubsub.types.d.ts +3 -1
- package/dist/scaling/scaling.service.js +0 -1
- package/dist/scaling/scaling.service.js.map +1 -1
- package/dist/scaling/scaling.types.d.ts +0 -1
- package/dist/scheduling/durable-job-provisioner.js.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.js +1 -0
- package/dist/server.js.map +1 -1
- package/dist/services/ai-gateway-eligibility.d.ts +1 -1
- package/dist/services/ai-gateway-eligibility.js +3 -0
- package/dist/services/ai-gateway-eligibility.js.map +1 -1
- package/dist/services/ai-gateway.service.d.ts +7 -1
- package/dist/services/ai-gateway.service.js +90 -12
- package/dist/services/ai-gateway.service.js.map +1 -1
- package/dist/services/ai-preference-write.d.ts +1 -1
- package/dist/services/ai-preference-write.js +2 -2
- package/dist/services/ai-preference-write.js.map +1 -1
- package/dist/services/api-key-auth.strategy.d.ts +2 -2
- package/dist/services/api-key-auth.strategy.js +8 -5
- package/dist/services/api-key-auth.strategy.js.map +1 -1
- package/dist/services/engine-data-plane-proxy.service.d.ts +3 -1
- package/dist/services/engine-data-plane-proxy.service.js +5 -0
- package/dist/services/engine-data-plane-proxy.service.js.map +1 -1
- package/dist/services/engine-v2-dispatcher.service.d.ts +5 -1
- package/dist/services/engine-v2-dispatcher.service.js +37 -23
- package/dist/services/engine-v2-dispatcher.service.js.map +1 -1
- package/dist/services/engine-v2-manual-run-planner.d.ts +25 -0
- package/dist/services/engine-v2-manual-run-planner.js +190 -0
- package/dist/services/engine-v2-manual-run-planner.js.map +1 -0
- package/dist/services/export.service.js +3 -1
- package/dist/services/export.service.js.map +1 -1
- package/dist/services/frontend.service.js +0 -2
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/node-resource-explorer.service.d.ts +8 -1
- package/dist/services/node-resource-explorer.service.js +155 -1
- package/dist/services/node-resource-explorer.service.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer.manifest.json +25 -5
- package/dist/services/ownership-transfer/ownership-transfer.service.d.ts +1 -0
- package/dist/services/ownership-transfer/ownership-transfer.service.js +7 -0
- package/dist/services/ownership-transfer/ownership-transfer.service.js.map +1 -1
- package/dist/services/ownership.service.js +3 -1
- package/dist/services/ownership.service.js.map +1 -1
- package/dist/services/project.service.ee.d.ts +2 -2
- package/dist/services/project.service.ee.js +16 -72
- package/dist/services/project.service.ee.js.map +1 -1
- package/dist/services/rate-limit.service.js +2 -2
- package/dist/services/rate-limit.service.js.map +1 -1
- package/dist/services/sandbox-settings.service.d.ts +7 -1
- package/dist/services/sandbox-settings.service.js +32 -2
- package/dist/services/sandbox-settings.service.js.map +1 -1
- package/dist/services/session-cookie-auth.strategy.d.ts +2 -2
- package/dist/services/session-cookie-auth.strategy.js +3 -3
- package/dist/services/session-cookie-auth.strategy.js.map +1 -1
- package/dist/services/user.service.js +2 -2
- package/dist/services/user.service.js.map +1 -1
- package/dist/sso.ee/scim-switch-reader.d.ts +16 -0
- package/dist/sso.ee/scim-switch-reader.js +56 -0
- package/dist/sso.ee/scim-switch-reader.js.map +1 -0
- package/dist/sso.ee/sso-helpers.d.ts +4 -0
- package/dist/sso.ee/sso-helpers.js +29 -0
- package/dist/sso.ee/sso-helpers.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker-server.js +3 -5
- package/dist/task-runners/task-broker/task-broker-server.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker.service.js +25 -7
- package/dist/task-runners/task-broker/task-broker.service.js.map +1 -1
- package/dist/task-runners/task-managers/task-requester.js +17 -1
- package/dist/task-runners/task-managers/task-requester.js.map +1 -1
- package/dist/task-runners/task-runner-module.js +3 -0
- package/dist/task-runners/task-runner-module.js.map +1 -1
- package/dist/task-runners/task-runner-process-js.js +5 -1
- package/dist/task-runners/task-runner-process-js.js.map +1 -1
- package/dist/telemetry/cluster-footprint.d.ts +12 -0
- package/dist/telemetry/cluster-footprint.js +20 -0
- package/dist/telemetry/cluster-footprint.js.map +1 -0
- package/dist/telemetry/index.d.ts +3 -0
- package/dist/telemetry/index.js +16 -0
- package/dist/telemetry/index.js.map +1 -1
- package/dist/user-management/email/templates/workflow-deactivated.handlebars +2 -2
- package/dist/user-management/email/user-management-mailer.d.ts +2 -1
- package/dist/user-management/email/user-management-mailer.js +12 -1
- package/dist/user-management/email/user-management-mailer.js.map +1 -1
- package/dist/utils/detect-managed-services.d.ts +5 -0
- package/dist/utils/detect-managed-services.js +33 -0
- package/dist/utils/detect-managed-services.js.map +1 -0
- package/dist/utils/model-stream-stall-options.js.map +1 -0
- package/dist/utils.d.ts +0 -1
- package/dist/utils.js +2 -18
- package/dist/utils.js.map +1 -1
- package/dist/wait-tracker.js +1 -0
- package/dist/wait-tracker.js.map +1 -1
- package/dist/webhooks/hitl-interaction-webhooks.d.ts +2 -0
- package/dist/webhooks/hitl-interaction-webhooks.js +3 -0
- package/dist/webhooks/hitl-interaction-webhooks.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.d.ts +2 -0
- package/dist/webhooks/waiting-webhooks.js +25 -2
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-helpers.js +6 -4
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook-request-handler.js +8 -10
- package/dist/webhooks/webhook-request-handler.js.map +1 -1
- package/dist/workflow-execute-additional-data.d.ts +1 -1
- package/dist/workflow-execute-additional-data.js +8 -10
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +7 -3
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.js +4 -3
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/deprecated-nodes-validation.service.d.ts +1 -0
- package/dist/workflows/deprecated-nodes-validation.service.js +43 -12
- package/dist/workflows/deprecated-nodes-validation.service.js.map +1 -1
- package/dist/workflows/error-workflow-id.d.ts +3 -0
- package/dist/workflows/error-workflow-id.js +17 -0
- package/dist/workflows/error-workflow-id.js.map +1 -0
- package/dist/workflows/error-workflow-validation.service.d.ts +0 -3
- package/dist/workflows/error-workflow-validation.service.js +0 -14
- package/dist/workflows/error-workflow-validation.service.js.map +1 -1
- package/dist/workflows/publication/publication-status-reporter.js +10 -1
- package/dist/workflows/publication/publication-status-reporter.js.map +1 -1
- package/dist/workflows/publication/trigger-node-id-too-long.error.d.ts +5 -0
- package/dist/workflows/publication/trigger-node-id-too-long.error.js +18 -0
- package/dist/workflows/publication/trigger-node-id-too-long.error.js.map +1 -0
- package/dist/workflows/publication/workflow-publication-applier.d.ts +1 -0
- package/dist/workflows/publication/workflow-publication-applier.js +27 -0
- package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
- package/dist/workflows/workflow-creation.service.js +4 -3
- package/dist/workflows/workflow-creation.service.js.map +1 -1
- package/dist/workflows/workflow-finder.service.d.ts +1 -1
- package/dist/workflows/workflow-finder.service.js +2 -2
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow-publisher.service.js +0 -3
- package/dist/workflows/workflow-publisher.service.js.map +1 -1
- package/dist/workflows/workflow-validation.service.js +6 -2
- package/dist/workflows/workflow-validation.service.js.map +1 -1
- package/dist/workflows/workflow.service.ee.d.ts +10 -22
- package/dist/workflows/workflow.service.ee.js +119 -57
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +15 -2
- package/dist/workflows/workflow.service.js.map +1 -1
- package/dist/workflows/workflows.controller.d.ts +3 -18
- package/dist/workflows/workflows.controller.js +12 -0
- package/dist/workflows/workflows.controller.js.map +1 -1
- package/package.json +52 -48
- package/templates/form-trigger.handlebars +1 -0
- package/dist/constants/credential-sharing.d.ts +0 -1
- package/dist/constants/credential-sharing.js +0 -8
- package/dist/constants/credential-sharing.js.map +0 -1
- package/dist/errors/response-errors/ai-preference-scope-full.error.d.ts +0 -12
- package/dist/errors/response-errors/ai-preference-scope-full.error.js +0 -13
- package/dist/errors/response-errors/ai-preference-scope-full.error.js.map +0 -1
- package/dist/modules/agents/agent-runtime-instrumentation.js.map +0 -1
- package/dist/modules/agents/agent-vector-stores.service.d.ts +0 -11
- package/dist/modules/agents/agent-vector-stores.service.js.map +0 -1
- package/dist/modules/agents/builder/format-preview-context.js.map +0 -1
- package/dist/modules/agents/builder/get-resource-locator-options.tool.d.ts +0 -107
- package/dist/modules/agents/builder/get-resource-locator-options.tool.js +0 -152
- package/dist/modules/agents/builder/get-resource-locator-options.tool.js.map +0 -1
- package/dist/modules/agents/builder/interactive/ask-credential.tool.d.ts +0 -7
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js +0 -122
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +0 -1
- package/dist/modules/agents/entities/skill-file.entity.js.map +0 -1
- package/dist/modules/agents/entities/skill-version.entity.js.map +0 -1
- package/dist/modules/agents/entities/skill.entity.js.map +0 -1
- package/dist/modules/agents/instance-ai-agent-context.adapter.d.ts +0 -27
- package/dist/modules/agents/instance-ai-agent-context.adapter.js.map +0 -1
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +0 -28
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +0 -137
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/discord-gateway.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/discord-integration.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/discord-operations.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/linear-integration.d.ts +0 -27
- package/dist/modules/agents/integrations/platforms/linear-integration.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/linear-operations.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/linear-tool-definitions.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/n8n-chat-flag.service.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/n8n-chat-integration.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/telegram-bridge-behavior.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +0 -1
- package/dist/modules/agents/json-config/credential-field-mapping.js.map +0 -1
- package/dist/modules/agents/json-config/embedding-credential.js.map +0 -1
- package/dist/modules/agents/json-config/vector-store-factory.js.map +0 -1
- package/dist/modules/agents/model-stream-stall-options.js.map +0 -1
- package/dist/modules/agents/repositories/skill.repository.js +0 -569
- package/dist/modules/agents/repositories/skill.repository.js.map +0 -1
- package/dist/modules/agents/skills/skill-content-hash.js.map +0 -1
- package/dist/modules/agents/skills/skill-name-taken.error.js.map +0 -1
- package/dist/modules/agents/skills/skill-names.js.map +0 -1
- package/dist/modules/agents/skills/skill.service.js.map +0 -1
- package/dist/modules/agents/skills/skills-api.service.js.map +0 -1
- package/dist/modules/agents/skills/skills-hub-rollout.d.ts +0 -10
- package/dist/modules/agents/skills/skills-hub-rollout.js.map +0 -1
- package/dist/modules/agents/skills/skills-hub-startup-copy.d.ts +0 -40
- package/dist/modules/agents/skills/skills-hub-startup-copy.js +0 -402
- package/dist/modules/agents/skills/skills-hub-startup-copy.js.map +0 -1
- package/dist/modules/agents/skills/skills-telemetry.js.map +0 -1
- package/dist/modules/agents/skills.controller.js.map +0 -1
- package/dist/modules/instance-ai/browser/composite-local-mcp-server.d.ts +0 -16
- package/dist/modules/instance-ai/browser/composite-local-mcp-server.js +0 -57
- package/dist/modules/instance-ai/browser/composite-local-mcp-server.js.map +0 -1
- package/dist/modules/instance-ai/computer-use-availability.d.ts +0 -14
- package/dist/modules/instance-ai/computer-use-availability.js +0 -42
- package/dist/modules/instance-ai/computer-use-availability.js.map +0 -1
- package/dist/modules/instance-ai/eval/data-table-pin-filter.d.ts +0 -7
- package/dist/modules/instance-ai/eval/data-table-pin-filter.js +0 -171
- package/dist/modules/instance-ai/eval/data-table-pin-filter.js.map +0 -1
- package/dist/modules/instance-ai/filesystem/index.d.ts +0 -3
- package/dist/modules/instance-ai/filesystem/index.js +0 -8
- package/dist/modules/instance-ai/filesystem/index.js.map +0 -1
- package/dist/modules/instance-ai/filesystem/local-gateway-registry.d.ts +0 -31
- package/dist/modules/instance-ai/filesystem/local-gateway-registry.js +0 -160
- package/dist/modules/instance-ai/filesystem/local-gateway-registry.js.map +0 -1
- package/dist/modules/instance-ai/filesystem/local-gateway.d.ts +0 -45
- package/dist/modules/instance-ai/filesystem/local-gateway.js +0 -163
- package/dist/modules/instance-ai/filesystem/local-gateway.js.map +0 -1
- package/dist/modules/instance-ai/instance-ai-gateway.service.d.ts +0 -35
- package/dist/modules/instance-ai/instance-ai-gateway.service.js +0 -90
- package/dist/modules/instance-ai/instance-ai-gateway.service.js.map +0 -1
- package/dist/modules/instance-ai/planned-task-action-runner.d.ts +0 -91
- package/dist/modules/instance-ai/planned-task-action-runner.js +0 -138
- package/dist/modules/instance-ai/planned-task-action-runner.js.map +0 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.d.ts +0 -4
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.js +0 -12
- package/dist/modules/n8n-packages/entities/workflow/workflow-conflict-policy.js.map +0 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-id-policy.d.ts +0 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-id-policy.js +0 -12
- package/dist/modules/n8n-packages/entities/workflow/workflow-id-policy.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.d.ts +0 -26
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.js +0 -24
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/data-table.schema.d.ts +0 -75
- package/dist/modules/n8n-packages/spec/serialized/data-table.schema.js +0 -43
- package/dist/modules/n8n-packages/spec/serialized/data-table.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/folder.schema.d.ts +0 -15
- package/dist/modules/n8n-packages/spec/serialized/folder.schema.js +0 -12
- package/dist/modules/n8n-packages/spec/serialized/folder.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/project.schema.d.ts +0 -51
- package/dist/modules/n8n-packages/spec/serialized/project.schema.js +0 -20
- package/dist/modules/n8n-packages/spec/serialized/project.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/tag.schema.d.ts +0 -12
- package/dist/modules/n8n-packages/spec/serialized/tag.schema.js +0 -11
- package/dist/modules/n8n-packages/spec/serialized/tag.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/variable.schema.d.ts +0 -15
- package/dist/modules/n8n-packages/spec/serialized/variable.schema.js +0 -13
- package/dist/modules/n8n-packages/spec/serialized/variable.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/workflow-metadata.schema.d.ts +0 -12
- package/dist/modules/n8n-packages/spec/serialized/workflow-metadata.schema.js +0 -9
- package/dist/modules/n8n-packages/spec/serialized/workflow-metadata.schema.js.map +0 -1
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.d.ts +0 -201
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js +0 -53
- package/dist/modules/n8n-packages/spec/serialized/workflow.schema.js.map +0 -1
- package/dist/modules/promotions.ee/database/entities/promotion-config.entity.d.ts +0 -11
- package/dist/modules/promotions.ee/database/entities/promotion-config.entity.js +0 -44
- package/dist/modules/promotions.ee/database/entities/promotion-config.entity.js.map +0 -1
- package/dist/modules/promotions.ee/database/entities/promotion-connection-project.entity.d.ts +0 -8
- package/dist/modules/promotions.ee/database/entities/promotion-connection-project.entity.js.map +0 -1
- package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.d.ts +0 -12
- package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.js.map +0 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-config.repository.d.ts +0 -19
- package/dist/modules/promotions.ee/database/repositories/promotion-config.repository.js +0 -67
- package/dist/modules/promotions.ee/database/repositories/promotion-config.repository.js.map +0 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-connection-project.repository.d.ts +0 -10
- package/dist/modules/promotions.ee/database/repositories/promotion-connection-project.repository.js.map +0 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.d.ts +0 -28
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js.map +0 -1
- package/dist/modules/promotions.ee/git-hosts/git-host-target.js.map +0 -1
- package/dist/modules/promotions.ee/promotion-config.resolver.d.ts +0 -16
- package/dist/modules/promotions.ee/promotion-config.resolver.js +0 -94
- package/dist/modules/promotions.ee/promotion-config.resolver.js.map +0 -1
- package/dist/modules/promotions.ee/promotion-connections.service.d.ts +0 -117
- package/dist/modules/promotions.ee/promotion-connections.service.js +0 -350
- package/dist/modules/promotions.ee/promotion-connections.service.js.map +0 -1
- package/dist/modules/scim/database/scim-api-key.repository.d.ts +0 -11
- package/dist/modules/scim/database/scim-api-key.repository.js +0 -51
- package/dist/modules/scim/database/scim-api-key.repository.js.map +0 -1
- package/dist/services/ai-preference.service.d.ts +0 -86
- package/dist/services/ai-preference.service.js +0 -507
- package/dist/services/ai-preference.service.js.map +0 -1
- /package/dist/{modules/agents/json-config → credentials}/credential-field-mapping.d.ts +0 -0
- /package/dist/{modules/agents/json-config → credentials}/credential-field-mapping.js +0 -0
- /package/dist/modules/agents/integrations/platforms/{discord-gateway.d.ts → discord/discord-gateway.d.ts} +0 -0
- /package/dist/modules/agents/integrations/platforms/{discord-gateway.js → discord/discord-gateway.js} +0 -0
- /package/dist/modules/agents/integrations/platforms/{discord-operations.d.ts → discord/discord-operations.d.ts} +0 -0
- /package/dist/modules/agents/integrations/platforms/{linear-tool-definitions.d.ts → linear/linear-tool-definitions.d.ts} +0 -0
- /package/dist/modules/{agents/json-config → knowledge/vector-stores}/embedding-credential.d.ts +0 -0
- /package/dist/modules/{agents/json-config/vector-store-factory.d.ts → knowledge/vector-stores/factory.d.ts} +0 -0
- /package/dist/modules/{agents/skills → skills}/skill-content-hash.js +0 -0
- /package/dist/modules/{agents/entities → skills}/skill-file.entity.d.ts +0 -0
- /package/dist/modules/{agents/entities → skills}/skill-file.entity.js +0 -0
- /package/dist/modules/{agents/skills → skills}/skill-name-taken.error.d.ts +0 -0
- /package/dist/modules/{agents/skills → skills}/skill-name-taken.error.js +0 -0
- /package/dist/modules/{agents/skills → skills}/skill-names.d.ts +0 -0
- /package/dist/modules/{agents/skills → skills}/skill-names.js +0 -0
- /package/dist/modules/{agents/entities → skills}/skill-version.entity.d.ts +0 -0
- /package/dist/modules/{agents/entities → skills}/skill-version.entity.js +0 -0
- /package/dist/{modules/agents → utils}/model-stream-stall-options.d.ts +0 -0
- /package/dist/{modules/agents → utils}/model-stream-stall-options.js +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { type SerializedWorkflow, type SerializedWorkflowMetadata } from '@n8n/api-types';
|
|
1
2
|
import type { WorkflowEntity } from '@n8n/db';
|
|
2
|
-
import { type SerializedWorkflowMetadata } from '../../spec/serialized/workflow-metadata.schema';
|
|
3
|
-
import { type SerializedWorkflow } from '../../spec/serialized/workflow.schema';
|
|
4
3
|
export type WorkflowPackageContent = Pick<WorkflowEntity, 'name' | 'nodes' | 'connections' | 'nodeGroups' | 'isArchived' | 'settings'>;
|
|
5
4
|
export declare class WorkflowSerializer {
|
|
6
5
|
serialize(workflow: WorkflowEntity, options: {
|
|
7
6
|
includeTags: boolean;
|
|
8
7
|
}): SerializedWorkflow;
|
|
8
|
+
private stripCredentialNames;
|
|
9
9
|
serializeMetadata(workflow: WorkflowEntity): SerializedWorkflowMetadata;
|
|
10
10
|
deserialize(wire: SerializedWorkflow): WorkflowPackageContent;
|
|
11
11
|
}
|
|
@@ -7,9 +7,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
};
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.WorkflowSerializer = void 0;
|
|
10
|
+
const api_types_1 = require("@n8n/api-types");
|
|
10
11
|
const di_1 = require("@n8n/di");
|
|
11
|
-
const
|
|
12
|
-
const workflow_schema_1 = require("../../spec/serialized/workflow.schema");
|
|
12
|
+
const workflow_credential_references_1 = require("../credential/workflow-credential-references");
|
|
13
13
|
const package_serialization_types_1 = require("../package-serialization.types");
|
|
14
14
|
const tag_types_1 = require("../tag/tag.types");
|
|
15
15
|
const serializePayload = (0, package_serialization_types_1.definePackageSerializationPayload)();
|
|
@@ -19,10 +19,10 @@ let WorkflowSerializer = class WorkflowSerializer {
|
|
|
19
19
|
const tags = options.includeTags
|
|
20
20
|
? [...(workflow.tags ?? [])].sort(tag_types_1.compareTagsByName)
|
|
21
21
|
: undefined;
|
|
22
|
-
return
|
|
22
|
+
return api_types_1.serializedWorkflowSchema.parse(serializePayload({
|
|
23
23
|
id: workflow.id,
|
|
24
24
|
name: workflow.name,
|
|
25
|
-
nodes: workflow.nodes,
|
|
25
|
+
nodes: this.stripCredentialNames(workflow.nodes),
|
|
26
26
|
connections: workflow.connections,
|
|
27
27
|
settings: workflow.settings ? { ...workflow.settings } : undefined,
|
|
28
28
|
parentFolderId: workflow.parentFolder?.id ?? null,
|
|
@@ -31,14 +31,25 @@ let WorkflowSerializer = class WorkflowSerializer {
|
|
|
31
31
|
...(tags ? { tagIds: tags.map((tag) => tag.id) } : {}),
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
|
+
stripCredentialNames(nodes) {
|
|
35
|
+
const copy = structuredClone(nodes);
|
|
36
|
+
(0, workflow_credential_references_1.visitWorkflowCredentials)(copy, (_type, details) => {
|
|
37
|
+
if (details.name === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
const mutable = details;
|
|
40
|
+
delete mutable.name;
|
|
41
|
+
return true;
|
|
42
|
+
});
|
|
43
|
+
return copy;
|
|
44
|
+
}
|
|
34
45
|
serializeMetadata(workflow) {
|
|
35
|
-
return
|
|
46
|
+
return api_types_1.serializedWorkflowMetadataSchema.parse(serializeMetadataPayload({
|
|
36
47
|
versionId: workflow.versionId,
|
|
37
48
|
publishedVersionId: workflow.activeVersionId,
|
|
38
49
|
}));
|
|
39
50
|
}
|
|
40
51
|
deserialize(wire) {
|
|
41
|
-
const parsed =
|
|
52
|
+
const parsed = api_types_1.serializedWorkflowSchema.parse(wire);
|
|
42
53
|
return {
|
|
43
54
|
name: parsed.name,
|
|
44
55
|
nodes: parsed.nodes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.serializer.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow.serializer.ts"],"names":[],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"workflow.serializer.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/entities/workflow/workflow.serializer.ts"],"names":[],"mappings":";;;;;;;;;AAAA,8CAKwB;AAExB,gCAAkC;AAGlC,iGAAwF;AACxF,gFAAmF;AACnF,gDAAqD;AAmCrD,MAAM,gBAAgB,GAAG,IAAA,+DAAiC,GAIvD,CAAC;AAWJ,MAAM,wBAAwB,GAAG,IAAA,+DAAiC,GAI/D,CAAC;AAGG,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC9B,SAAS,CAAC,QAAwB,EAAE,OAAiC;QAGpE,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW;YAC/B,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,6BAAiB,CAAC;YACpD,CAAC,CAAC,SAAS,CAAC;QAEb,OAAO,oCAAwB,CAAC,KAAK,CACpC,gBAAgB,CAAC;YAChB,EAAE,EAAE,QAAQ,CAAC,EAAE;YACf,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,KAAK,EAAE,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,KAAK,CAAC;YAChD,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,QAAQ,EAA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O;YACN,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,KAAgB;YAC9B,WAAW,EAAE,MAAM,CAAC,WAA2B;YAC/C,UAAU,EAAE,MAAM,CAAC,UAAU,IAAI,EAAE;YACnC,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,GAAG,CAAC,MAAM,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACvE,CAAC;IACH,CAAC;CACD,CAAA;;6BAlEY,kBAAkB;IAD9B,IAAA,YAAO,GAAE;GACG,kBAAkB,CAkE9B"}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
+
import { type SerializedCredential, type SerializedDataTable, type SerializedFolder, type SerializedProject, type SerializedVariable } from '@n8n/api-types';
|
|
1
2
|
import { WorkflowSerializer, type WorkflowPackageContent } from '../../entities/workflow/workflow.serializer';
|
|
2
|
-
import { type SerializedCredential } from '../../spec/serialized/credential.schema';
|
|
3
|
-
import { type SerializedDataTable } from '../../spec/serialized/data-table.schema';
|
|
4
|
-
import { type SerializedProject } from '../../spec/serialized/project.schema';
|
|
5
|
-
import { type SerializedVariable } from '../../spec/serialized/variable.schema';
|
|
6
3
|
import type { PackageReader } from '../package-reader';
|
|
7
4
|
export type PackageFileSource = Pick<PackageReader, 'listEntries' | 'readFile'>;
|
|
8
5
|
export interface InventoryProject extends SerializedProject {
|
|
@@ -15,6 +12,11 @@ export interface InventoryWorkflow {
|
|
|
15
12
|
name: string;
|
|
16
13
|
content: WorkflowPackageContent;
|
|
17
14
|
}
|
|
15
|
+
export interface InventoryFolder {
|
|
16
|
+
path: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
folder: SerializedFolder;
|
|
19
|
+
}
|
|
18
20
|
export interface InventoryCredential {
|
|
19
21
|
path: string;
|
|
20
22
|
projectId: string | null;
|
|
@@ -32,6 +34,7 @@ export interface InventoryDataTable {
|
|
|
32
34
|
export interface PackageDirectoryInventory {
|
|
33
35
|
projects: InventoryProject[];
|
|
34
36
|
workflows: InventoryWorkflow[];
|
|
37
|
+
folders: InventoryFolder[];
|
|
35
38
|
credentials: InventoryCredential[];
|
|
36
39
|
variables: InventoryVariable[];
|
|
37
40
|
dataTables: InventoryDataTable[];
|
|
@@ -42,6 +45,7 @@ export declare class PackageDirectoryInventoryReader {
|
|
|
42
45
|
read(source: PackageFileSource): Promise<PackageDirectoryInventory>;
|
|
43
46
|
private readProjects;
|
|
44
47
|
private readWorkflows;
|
|
48
|
+
private readFolders;
|
|
45
49
|
private readCredentials;
|
|
46
50
|
private readVariables;
|
|
47
51
|
private readDataTables;
|
|
@@ -11,19 +11,16 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.PackageDirectoryInventoryReader = void 0;
|
|
13
13
|
exports.assertUnseen = assertUnseen;
|
|
14
|
+
const api_types_1 = require("@n8n/api-types");
|
|
14
15
|
const di_1 = require("@n8n/di");
|
|
15
16
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
16
17
|
const zod_1 = require("zod");
|
|
17
18
|
const workflow_serializer_1 = require("../../entities/workflow/workflow.serializer");
|
|
18
|
-
const credential_schema_1 = require("../../spec/serialized/credential.schema");
|
|
19
|
-
const data_table_schema_1 = require("../../spec/serialized/data-table.schema");
|
|
20
|
-
const project_schema_1 = require("../../spec/serialized/project.schema");
|
|
21
|
-
const variable_schema_1 = require("../../spec/serialized/variable.schema");
|
|
22
|
-
const workflow_schema_1 = require("../../spec/serialized/workflow.schema");
|
|
23
19
|
const manifest_entry_1 = require("../manifest-entry");
|
|
24
20
|
const KIND_BY_FILE_NAME = {
|
|
25
21
|
[manifest_entry_1.PACKAGE_ENTITY_LAYOUT.projects.fileName]: 'projects',
|
|
26
22
|
[manifest_entry_1.PACKAGE_ENTITY_LAYOUT.workflows.fileName]: 'workflows',
|
|
23
|
+
[manifest_entry_1.PACKAGE_ENTITY_LAYOUT.folders.fileName]: 'folders',
|
|
27
24
|
[manifest_entry_1.PACKAGE_ENTITY_LAYOUT.credentials.fileName]: 'credentials',
|
|
28
25
|
[manifest_entry_1.PACKAGE_ENTITY_LAYOUT.variables.fileName]: 'variables',
|
|
29
26
|
[manifest_entry_1.PACKAGE_ENTITY_LAYOUT.dataTables.fileName]: 'dataTables',
|
|
@@ -31,6 +28,7 @@ const KIND_BY_FILE_NAME = {
|
|
|
31
28
|
const LABELS = {
|
|
32
29
|
projects: 'project',
|
|
33
30
|
workflows: 'workflow',
|
|
31
|
+
folders: 'folder',
|
|
34
32
|
credentials: 'credential',
|
|
35
33
|
variables: 'variable',
|
|
36
34
|
dataTables: 'data table',
|
|
@@ -55,6 +53,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
55
53
|
return {
|
|
56
54
|
projects,
|
|
57
55
|
workflows: await this.readWorkflows(source, files, projectIdOf),
|
|
56
|
+
folders: await this.readFolders(source, files, projectIdOf),
|
|
58
57
|
credentials: await this.readCredentials(source, files, projectIdOf),
|
|
59
58
|
variables: await this.readVariables(source, files, projectIdOf),
|
|
60
59
|
dataTables: await this.readDataTables(source, files, projectIdOf),
|
|
@@ -67,7 +66,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
67
66
|
if (file.projectDir === null || file.segments.length !== 1) {
|
|
68
67
|
throw unsupportedLocation(file);
|
|
69
68
|
}
|
|
70
|
-
const project = await this.readEntity(source, file,
|
|
69
|
+
const project = await this.readEntity(source, file, api_types_1.serializedProjectSchema);
|
|
71
70
|
assertUnseen(seenIds, project.id, 'project id');
|
|
72
71
|
projects.push({ path: file.projectDir, ...project });
|
|
73
72
|
}
|
|
@@ -83,7 +82,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
83
82
|
if (projectId === null) {
|
|
84
83
|
throw new n8n_workflow_1.UserError(`Package workflow file at ${file.path} is not inside a project.`);
|
|
85
84
|
}
|
|
86
|
-
const serialized = await this.readEntity(source, file,
|
|
85
|
+
const serialized = await this.readEntity(source, file, api_types_1.serializedWorkflowSchema);
|
|
87
86
|
assertUnseen(seenIds, serialized.id, 'workflow id');
|
|
88
87
|
workflows.push({
|
|
89
88
|
path: file.path,
|
|
@@ -95,13 +94,29 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
95
94
|
}
|
|
96
95
|
return workflows;
|
|
97
96
|
}
|
|
97
|
+
async readFolders(source, files, projectIdOf) {
|
|
98
|
+
const folders = [];
|
|
99
|
+
const seenIds = new Set();
|
|
100
|
+
for (const file of files.filter((f) => f.kind === 'folders')) {
|
|
101
|
+
if (!isFolderLocation(file.segments))
|
|
102
|
+
throw unsupportedLocation(file);
|
|
103
|
+
const projectId = projectIdOf(file);
|
|
104
|
+
if (projectId === null) {
|
|
105
|
+
throw new n8n_workflow_1.UserError(`Package folder file at ${file.path} is not inside a project.`);
|
|
106
|
+
}
|
|
107
|
+
const folder = await this.readEntity(source, file, api_types_1.serializedFolderSchema);
|
|
108
|
+
assertUnseen(seenIds, folder.id, 'folder id');
|
|
109
|
+
folders.push({ path: file.path, projectId, folder });
|
|
110
|
+
}
|
|
111
|
+
return folders;
|
|
112
|
+
}
|
|
98
113
|
async readCredentials(source, files, projectIdOf) {
|
|
99
114
|
const credentials = [];
|
|
100
115
|
const seenIds = new Set();
|
|
101
116
|
for (const file of files.filter((f) => f.kind === 'credentials')) {
|
|
102
117
|
if (!isCollectionLocation(file.segments, 'credentials'))
|
|
103
118
|
throw unsupportedLocation(file);
|
|
104
|
-
const credential = await this.readEntity(source, file,
|
|
119
|
+
const credential = await this.readEntity(source, file, api_types_1.serializedCredentialSchema);
|
|
105
120
|
assertUnseen(seenIds, credential.id, 'credential id');
|
|
106
121
|
credentials.push({ path: file.path, projectId: projectIdOf(file), credential });
|
|
107
122
|
}
|
|
@@ -114,7 +129,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
114
129
|
if (!isCollectionLocation(file.segments, 'variables'))
|
|
115
130
|
throw unsupportedLocation(file);
|
|
116
131
|
const projectId = projectIdOf(file);
|
|
117
|
-
const variable = await this.readEntity(source, file,
|
|
132
|
+
const variable = await this.readEntity(source, file, api_types_1.serializedVariableSchema);
|
|
118
133
|
assertUnseen(seenNames, JSON.stringify([projectId, variable.name]), 'variable name in one scope', `${projectId ?? ''}/${variable.name}`);
|
|
119
134
|
variables.push({ path: file.path, projectId, variable });
|
|
120
135
|
}
|
|
@@ -128,7 +143,7 @@ let PackageDirectoryInventoryReader = class PackageDirectoryInventoryReader {
|
|
|
128
143
|
if (!isCollectionLocation(file.segments, 'dataTables'))
|
|
129
144
|
throw unsupportedLocation(file);
|
|
130
145
|
projectIdOf(file);
|
|
131
|
-
const dataTable = await this.readEntity(source, file,
|
|
146
|
+
const dataTable = await this.readEntity(source, file, api_types_1.serializedDataTableSchema);
|
|
132
147
|
assertUnseen(seenIds, dataTable.id, 'data table id');
|
|
133
148
|
for (const { id } of dataTable.columns) {
|
|
134
149
|
if (id)
|
|
@@ -189,6 +204,9 @@ function isWorkflowLocation(segments) {
|
|
|
189
204
|
return true;
|
|
190
205
|
return container[0] === manifest_entry_1.PACKAGE_ENTITY_LAYOUT.folders.directory && container.length >= 2;
|
|
191
206
|
}
|
|
207
|
+
function isFolderLocation(segments) {
|
|
208
|
+
return segments.length >= 3 && segments[0] === manifest_entry_1.PACKAGE_ENTITY_LAYOUT.folders.directory;
|
|
209
|
+
}
|
|
192
210
|
function unsupportedLocation(file) {
|
|
193
211
|
return new n8n_workflow_1.UserError(`Package ${LABELS[file.kind]} file at ${file.path} is not in a supported location.`);
|
|
194
212
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-directory-inventory-reader.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/io/directory/package-directory-inventory-reader.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gCAAkC;AAClC,+CAAoD;AAEpD,6BAA+B;AAE/B,qFAGqD;AACrD
|
|
1
|
+
{"version":3,"file":"package-directory-inventory-reader.js","sourceRoot":"","sources":["../../../../../src/modules/n8n-packages/io/directory/package-directory-inventory-reader.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8CAYwB;AACxB,gCAAkC;AAClC,+CAAoD;AAEpD,6BAA+B;AAE/B,qFAGqD;AACrD,sDAA0D;AAuD1D,MAAM,iBAAiB,GAA+B;IACrD,CAAC,sCAAqB,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,UAAU;IACrD,CAAC,sCAAqB,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,WAAW;IACvD,CAAC,sCAAqB,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,SAAS;IACnD,CAAC,sCAAqB,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,aAAa;IAC3D,CAAC,sCAAqB,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,WAAW;IACvD,CAAC,sCAAqB,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,YAAY;CACzD,CAAC;AAEF,MAAM,MAAM,GAA+B;IAC1C,QAAQ,EAAE,SAAS;IACnB,SAAS,EAAE,UAAU;IACrB,OAAO,EAAE,QAAQ;IACjB,WAAW,EAAE,YAAY;IACzB,SAAS,EAAE,UAAU;IACrB,UAAU,EAAE,YAAY;CACxB,CAAC;AAkBK,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAC3C,YAA6B,kBAAsC;kCAAtC,kBAAkB;IAAuB,CAAC;IAEvE,KAAK,CAAC,IAAI,CAAC,MAAyB;QACnC,MAAM,KAAK,GAAG,CAAC,MAAM,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;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AgB,CAAC,QAAkB;IAC3C,OAAO,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,KAAK,sCAAqB,CAAC,OAAO,CAAC,SAAS,CAAC;AACxF,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAgB;IAC5C,OAAO,IAAI,wBAAS,CACnB,WAAW,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,CAAC,IAAI,kCAAkC,CACnF,CAAC;AACH,CAAC;AAED,sBACC,IAAiB,EACjB,GAAW,EACX,KAAa,EACb,UAAU,GAAG,GAAG;IAEhB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;QAAE,MAAM,IAAI,wBAAS,CAAC,gCAAgC,KAAK,KAAK,UAAU,EAAE,CAAC,CAAC;IAC/F,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PackageWriter } from './package-writer';
|
|
2
|
+
export declare function gitBlobSha(content: string | Buffer): string;
|
|
2
3
|
export declare class HashingPackageWriter implements PackageWriter {
|
|
3
4
|
private readonly hashes;
|
|
4
5
|
writeFile(path: string, content: string | Buffer): void;
|
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HashingPackageWriter = void 0;
|
|
4
|
+
exports.gitBlobSha = gitBlobSha;
|
|
4
5
|
const node_crypto_1 = require("node:crypto");
|
|
6
|
+
function gitBlobSha(content) {
|
|
7
|
+
return (0, node_crypto_1.createHash)('sha1')
|
|
8
|
+
.update(`blob ${Buffer.byteLength(content)}\0`)
|
|
9
|
+
.update(content)
|
|
10
|
+
.digest('hex');
|
|
11
|
+
}
|
|
5
12
|
class HashingPackageWriter {
|
|
6
13
|
constructor() {
|
|
7
14
|
this.hashes = new Map();
|
|
8
15
|
}
|
|
9
16
|
writeFile(path, content) {
|
|
10
17
|
const normalised = path.startsWith('./') ? path.slice(2) : path;
|
|
11
|
-
|
|
12
|
-
.update(`blob ${Buffer.byteLength(content)}\0`)
|
|
13
|
-
.update(content)
|
|
14
|
-
.digest('hex');
|
|
15
|
-
this.hashes.set(normalised, blobSha);
|
|
18
|
+
this.hashes.set(normalised, gitBlobSha(content));
|
|
16
19
|
}
|
|
17
20
|
writeDirectory(_path) {
|
|
18
21
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashing-package-writer.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/io/hashing-package-writer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hashing-package-writer.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/io/hashing-package-writer.ts"],"names":[],"mappings":";;;;AAAA,6CAAyC;AAKzC,oBAA2B,OAAwB;IAClD,OAAO,IAAA,wBAAU,EAAC,MAAM,CAAC;SACvB,MAAM,CAAC,QAAQ,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;SAC9C,MAAM,CAAC,OAAO,CAAC;SACf,MAAM,CAAC,KAAK,CAAC,CAAC;AACjB,CAAC;AAED;IAAA;QACkB,WAAM,GAAG,IAAI,GAAG,EAAkB,CAAC;IAcrD,CAAC;IAZA,SAAS,CAAC,IAAY,EAAE,OAAwB;QAC/C,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAChE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,CAAC;IAED,cAAc,CAAC,KAAa;QAC3B,OAAO;IACR,CAAC;IAED,QAAQ;QACP,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC;IAC1E,CAAC;CACD"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import type { SerializedWorkflow, SerializedWorkflowMetadata } from '@n8n/api-types';
|
|
1
2
|
import type { PackageWriter } from './package-writer';
|
|
2
3
|
import type { ManifestEntry, PackageManifest } from '../spec/manifest.schema';
|
|
3
|
-
import type { SerializedWorkflowMetadata } from '../spec/serialized/workflow-metadata.schema';
|
|
4
|
-
import type { SerializedWorkflow } from '../spec/serialized/workflow.schema';
|
|
5
4
|
export type ManifestEntityCollection = {
|
|
6
5
|
[K in keyof PackageManifest]-?: NonNullable<PackageManifest[K]> extends ManifestEntry[] ? K : never;
|
|
7
6
|
}[keyof PackageManifest];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-entry.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/io/manifest-entry.ts"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"manifest-entry.js","sourceRoot":"","sources":["../../../../src/modules/n8n-packages/io/manifest-entry.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,6DAAwD;AAExD,6CAA4C;AAC5C,6EAA8E;AAiBjE,QAAA,qBAAqB,GAAG;IACpC,QAAQ,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,cAAc,EAAE;IAC7D,OAAO,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE;IAC1D,SAAS,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,eAAe,EAAE;IAChE,MAAM,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE;IACvD,WAAW,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,iBAAiB,EAAE;IACtE,UAAU,EAAE,EAAE,SAAS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EAAE,IAAA,qCAAgB,EAAC,UAAU,CAAC,CAAC,CAAC;IAC/F,OAAO,KAAK,CAAC;AACd,CAAC;AAEM,KAAK,qCACX,MAAqB,EACrB,OAAe,EACf,QAAsC,EACtC,OAA2B,EAC3B,QAAoC;IAEpC,MAAM,KAAK,GAAG,MAAM,kBAAkB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;IACxF,MAAM,MAAM,CAAC,SAAS,CACrB,wBAAwB,CAAC,KAAK,CAAC,MAAM,CAAC,EACtC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,CAAC,CACpC,CAAC;IACF,OAAO,KAAK,CAAC;AACd,CAAC"}
|
|
@@ -18,7 +18,7 @@ import { WorkflowRequirementExporter } from './entities/workflow/workflow-requir
|
|
|
18
18
|
import { WorkflowExporter } from './entities/workflow/workflow.exporter';
|
|
19
19
|
import type { PackageWriter } from './io/package-writer';
|
|
20
20
|
import { PackageImportConfig } from './n8n-packages.config';
|
|
21
|
-
import { type ExportPackageRequest, type ExportPackageDirectoryResult, type ExportPackageResult, type ExportPackageSummary, type ImportPackageRequest, type ImportPackageSelectionRequest, type ImportRequest, type ImportResult, type ImportSelection, type ImportSelectionRequest } from './n8n-packages.types';
|
|
21
|
+
import { type ExportPackageRequest, type ExportPackageDirectoryResult, type ExportPackageResult, type ExportPackageSummary, type ImportPackageRequest, type ImportPackageSelectionRequest, type ImportRequest, type ImportResult, type ImportSelection, type ImportSelectionRequest, type PromotionLayoutProperties } from './n8n-packages.types';
|
|
22
22
|
import { type ManifestEntry, type PackageManifest } from './spec/manifest.schema';
|
|
23
23
|
export declare class N8nPackagesService {
|
|
24
24
|
private readonly projectExporter;
|
|
@@ -51,7 +51,7 @@ export declare class N8nPackagesService {
|
|
|
51
51
|
private writeExport;
|
|
52
52
|
private exportSelectedEntities;
|
|
53
53
|
importPackage(request: ImportPackageRequest): Promise<ImportResult>;
|
|
54
|
-
importPackageFromDirectory(request: ImportRequest, source: {
|
|
54
|
+
importPackageFromDirectory(request: ImportRequest & PromotionLayoutProperties, source: {
|
|
55
55
|
sourceDir: string;
|
|
56
56
|
}): Promise<ImportResult>;
|
|
57
57
|
importPackageSelectionFromDirectory(request: ImportSelectionRequest, source: {
|
|
@@ -53,13 +53,11 @@ const CHERRY_PICK_IMPORT_POLICY = {
|
|
|
53
53
|
missingNodeTypeMode: 'fail',
|
|
54
54
|
credentialMatchingMode: 'id-only',
|
|
55
55
|
credentialMissingMode: 'must-preexist',
|
|
56
|
-
credentialConflictPolicy: 'keep-existing',
|
|
57
56
|
dataTableMatchingMode: 'by-id',
|
|
58
57
|
dataTableMissingMode: 'create',
|
|
59
58
|
variableMissingMode: 'must-preexist',
|
|
60
59
|
variableConflictPolicy: 'keep-existing',
|
|
61
60
|
tagMissingMode: 'create',
|
|
62
|
-
tagConflictPolicy: 'skip',
|
|
63
61
|
};
|
|
64
62
|
let N8nPackagesService = class N8nPackagesService {
|
|
65
63
|
constructor(projectExporter, workflowExporter, folderExporter, credentialExporter, dataTableExporter, variableExporter, tagExporter, globalConfig, instanceSettings, packageParser, packageImportConfig, projectPackageImporter, workflowPackageImporter, eventService, workflowRequirementExporter, workflowDependencyResolver, autoIncludedWorkflowResolver, autoIncludedWorkflowExporter, agentSelectionExporter) {
|
|
@@ -412,6 +410,9 @@ let N8nPackagesService = class N8nPackagesService {
|
|
|
412
410
|
workflowConflictPolicy: request.workflowConflictPolicy ?? n8n_packages_types_1.WorkflowConflictPolicy.NewVersion,
|
|
413
411
|
workflowIdPolicy: request.workflowIdPolicy ?? n8n_packages_types_1.WorkflowIdPolicy.Source,
|
|
414
412
|
dataTableSchemaConflictPolicy: request.dataTableSchemaConflictPolicy ?? n8n_packages_types_1.DataTableSchemaConflictPolicy.Fail,
|
|
413
|
+
tagConflictPolicy: request.tagConflictPolicy ?? n8n_packages_types_1.TagConflictPolicy.Skip,
|
|
414
|
+
credentialConflictPolicy: request.credentialConflictPolicy ?? n8n_packages_types_1.CredentialConflictPolicy.KeepExisting,
|
|
415
|
+
layoutConflictPolicy: request.layoutConflictPolicy ?? n8n_packages_types_1.LayoutConflictPolicy.Fail,
|
|
415
416
|
selection,
|
|
416
417
|
};
|
|
417
418
|
const outcome = await this.projectPackageImporter.import(resolvedRequest, reader, manifest, importSource);
|
|
@@ -486,7 +487,7 @@ function emptyImportResult(manifest) {
|
|
|
486
487
|
folders: [],
|
|
487
488
|
projects: [],
|
|
488
489
|
bindings: (0, n8n_packages_types_1.createBindings)(),
|
|
489
|
-
credentials: { matched: [], stubbed: [], seeded: [], incomplete: [] },
|
|
490
|
+
credentials: { matched: [], stubbed: [], seeded: [], incomplete: [], updated: [] },
|
|
490
491
|
dataTables: { matched: 0, created: 0, updated: 0 },
|
|
491
492
|
variables: { matched: [], created: [], stubbed: [], updated: [], missing: [] },
|
|
492
493
|
tags: { matched: [], created: [], renamed: [], reconciled: [], skipped: [] },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"n8n-packages.service.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAqD;AACrD,wCAA2C;AAC3C,gCAAkC;AAClC,uCAA4C;AAE5C,2CAA0C;AAC1C,wCAA8D;AAE9D,0DAA6E;AAC7E,gEAAyF;AACzF,oEAA+D;AAC/D,gFAA2E;AAC3E,kFAA6E;AAC7E,wFAAmF;AACnF,mFAA+E;AAC/E,mFAA8E;AAC9E,qFAGkD;AAClD,uEAAmE;AACnE,0EAAsE;AACtE,sEAAkE;AAClE,8DAA0D;AAC1D,6EAAyE;AACzE,yEAA2E;AAC3E,2GAAwG;AACxG,yGAG6D;AAC7D,yGAG6D;AAC7D,mGAA8F;AAC9F,qGAAgG;AAChG,6EAAyE;AACzE,sFAAiF;AACjF,sFAAiF;AACjF,gEAA2D;AAG3D,oEAA+D;AAC/D,oEAA+D;AAC/D,+DAA4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AC;QACxB,OAAO,EAAE,IAAA,gCAAgB,EAAC,QAAQ,CAAC;QACnC,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE,EAAE;QACpB,cAAc,EAAE,EAAE;QAClB,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,IAAA,mCAAc,GAAE;QAC1B,WAAW,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAClF,UAAU,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE;QAClD,SAAS,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;QAC9E,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;KAC5E,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AgentImportIssue } from './entities/agent/agent-import.types';
|
|
1
2
|
import type { PolicyViolation } from '@n8n/api-types';
|
|
2
3
|
import type { User } from '@n8n/db';
|
|
3
4
|
import type { Readable } from 'node:stream';
|
|
@@ -160,7 +161,9 @@ export type ImportSelectionRequest = {
|
|
|
160
161
|
workflowIdPolicy?: WorkflowIdPolicy;
|
|
161
162
|
overwriteDeletionPolicy?: OverwriteDeletionPolicy;
|
|
162
163
|
dataTableSchemaConflictPolicy?: DataTableSchemaConflictPolicy;
|
|
163
|
-
|
|
164
|
+
tagConflictPolicy?: TagConflictPolicy;
|
|
165
|
+
credentialConflictPolicy?: CredentialConflictPolicy;
|
|
166
|
+
} & PromotionLayoutProperties;
|
|
164
167
|
export type ImportPackageSelectionRequest = ImportSelectionRequest & {
|
|
165
168
|
packageBuffer: Buffer;
|
|
166
169
|
};
|
|
@@ -178,11 +181,19 @@ export type ImportWorkflowProperties = {
|
|
|
178
181
|
export type ImportProjectProperties = {
|
|
179
182
|
projectConflictPolicy: ProjectConflictPolicy;
|
|
180
183
|
};
|
|
181
|
-
export type ResolvedImportFolderProperties = ImportFolderProperties & {
|
|
184
|
+
export type ResolvedImportFolderProperties = ImportFolderProperties & PromotionLayoutProperties & {
|
|
182
185
|
folderConflictPolicy: FolderConflictPolicy;
|
|
183
186
|
};
|
|
187
|
+
export type PromotionLayoutProperties = {
|
|
188
|
+
layoutConflictPolicy?: LayoutConflictPolicy;
|
|
189
|
+
};
|
|
184
190
|
export type ResolvedImportRequest = ImportRequest & ResolvedImportFolderProperties;
|
|
185
191
|
export type ResolvedImportPackageRequest = ImportPackageRequest & ResolvedImportFolderProperties;
|
|
192
|
+
export declare const LayoutConflictPolicy: {
|
|
193
|
+
readonly Fail: 'fail';
|
|
194
|
+
readonly FollowPackage: 'follow-package';
|
|
195
|
+
};
|
|
196
|
+
export type LayoutConflictPolicy = (typeof LayoutConflictPolicy)[keyof typeof LayoutConflictPolicy];
|
|
186
197
|
export type ImportFolderProperties = {
|
|
187
198
|
folderConflictPolicy?: FolderConflictPolicy;
|
|
188
199
|
overwriteDeletionPolicy: OverwriteDeletionPolicy;
|
|
@@ -226,6 +237,7 @@ export type ImportPackageEventCounts = {
|
|
|
226
237
|
credentials: {
|
|
227
238
|
matched: number;
|
|
228
239
|
created: number;
|
|
240
|
+
updated: number;
|
|
229
241
|
requirements: number;
|
|
230
242
|
};
|
|
231
243
|
dataTables: {
|
|
@@ -279,13 +291,16 @@ export interface ImportedWorkflowSummary {
|
|
|
279
291
|
isArchived: boolean;
|
|
280
292
|
publishing: WorkflowPublishingOutcome;
|
|
281
293
|
status: 'created' | 'updated' | 'skipped';
|
|
294
|
+
moved?: true;
|
|
282
295
|
}
|
|
283
296
|
export interface ImportedFolderSummary {
|
|
284
297
|
sourceFolderId: string;
|
|
285
298
|
localId: string;
|
|
286
299
|
name: string;
|
|
287
300
|
parentFolderId: string | null;
|
|
288
|
-
status: 'created' | 'skipped';
|
|
301
|
+
status: 'created' | 'skipped' | 'updated';
|
|
302
|
+
moved?: true;
|
|
303
|
+
renamed?: true;
|
|
289
304
|
}
|
|
290
305
|
export interface RemovedWorkflowSummary {
|
|
291
306
|
workflowId: string;
|
|
@@ -306,7 +321,7 @@ export interface ImportedProjectSummary {
|
|
|
306
321
|
name: string;
|
|
307
322
|
status: 'created' | 'updated' | 'skipped';
|
|
308
323
|
}
|
|
309
|
-
export type BlockingIssue = ({
|
|
324
|
+
export type BlockingIssue = AgentImportIssue | ({
|
|
310
325
|
type: 'workflow-conflict';
|
|
311
326
|
} & WorkflowConflict) | ({
|
|
312
327
|
type: 'workflow-lineage-conflict';
|
|
@@ -366,6 +381,7 @@ export type BlockingIssue = ({
|
|
|
366
381
|
} | {
|
|
367
382
|
type: 'credential-policy-violation';
|
|
368
383
|
sourceId: string;
|
|
384
|
+
targetId?: string;
|
|
369
385
|
name?: string;
|
|
370
386
|
credentialType: string;
|
|
371
387
|
usedBy: PackageRequirementConsumer[];
|
|
@@ -418,6 +434,7 @@ export interface ImportCredentialSummary {
|
|
|
418
434
|
stubbed: string[];
|
|
419
435
|
seeded: string[];
|
|
420
436
|
incomplete: string[];
|
|
437
|
+
updated: string[];
|
|
421
438
|
}
|
|
422
439
|
export interface ImportVariableSummary {
|
|
423
440
|
matched: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagConflictPolicy = exports.TagMissingMode = exports.VariableParentPolicy = exports.CredentialConflictPolicy = exports.VariableConflictPolicy = exports.VariableMissingMode = exports.DataTableSchemaConflictPolicy = exports.DataTableMissingMode = exports.DataTableMatchingMode = exports.CredentialExportPolicy = exports.ExportVersionPolicy = exports.ExportDependencyPolicy = exports.MissingNodeTypeMode = exports.OverwriteDeletionPolicy = exports.FolderConflictPolicy = exports.ProjectConflictPolicy = exports.WorkflowIdPolicy = exports.WorkflowConflictPolicy = exports.WorkflowPublishingPolicy = void 0;
|
|
3
|
+
exports.LayoutConflictPolicy = exports.TagConflictPolicy = exports.TagMissingMode = exports.VariableParentPolicy = exports.CredentialConflictPolicy = exports.VariableConflictPolicy = exports.VariableMissingMode = exports.DataTableSchemaConflictPolicy = exports.DataTableMissingMode = exports.DataTableMatchingMode = exports.CredentialExportPolicy = exports.ExportVersionPolicy = exports.ExportDependencyPolicy = exports.MissingNodeTypeMode = exports.OverwriteDeletionPolicy = exports.FolderConflictPolicy = exports.ProjectConflictPolicy = exports.WorkflowIdPolicy = exports.WorkflowConflictPolicy = exports.WorkflowPublishingPolicy = void 0;
|
|
4
4
|
exports.createBindings = createBindings;
|
|
5
5
|
exports.mergeBindings = mergeBindings;
|
|
6
6
|
exports.serializeBindings = serializeBindings;
|
|
@@ -91,6 +91,10 @@ exports.TagConflictPolicy = {
|
|
|
91
91
|
Fail: 'fail',
|
|
92
92
|
Rename: 'rename',
|
|
93
93
|
};
|
|
94
|
+
exports.LayoutConflictPolicy = {
|
|
95
|
+
Fail: 'fail',
|
|
96
|
+
FollowPackage: 'follow-package',
|
|
97
|
+
};
|
|
94
98
|
function createBindings(seed = {}) {
|
|
95
99
|
return {
|
|
96
100
|
workflows: new Map(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"n8n-packages.types.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.types.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"n8n-packages.types.js","sourceRoot":"","sources":["../../../src/modules/n8n-packages/n8n-packages.types.ts"],"names":[],"mappings":";;;;;;AAiCA,yGAAgG;AAAvF,4IAAA,wBAAwB,OAAA;AASpB,QAAA,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