n8n 2.45.3 → 2.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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} +53 -19
- 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 +4 -1
- package/dist/modules/agents/agent-integration-persistence.service.js +33 -21
- 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 +16 -401
- package/dist/modules/agents/agent-modification-telemetry.service.js +121 -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 +37 -8
- package/dist/modules/agents/agents.service.js +164 -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 +87 -98
- 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/configure-channel.tool.js +2 -2
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js +3 -3
- 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 +3 -3
- 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/n8n-chat-flag.service.d.ts +7 -0
- package/dist/modules/agents/{skills/skills-hub-rollout.js → integrations/platforms/n8n-chat/n8n-chat-flag.service.js} +19 -19
- 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} +11 -4
- package/dist/modules/agents/integrations/platforms/{n8n-chat-integration.js → n8n-chat/n8n-chat-integration.js} +24 -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 +1 -9
- 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/query/migration-finding-query.service.js +4 -1
- package/dist/modules/breaking-changes/query/migration-finding-query.service.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 +57 -0
- package/dist/modules/breaking-changes/rules/v3/edit-image-version.rule.js.map +1 -0
- package/dist/modules/breaking-changes/rules/v3/removed-nodes.rule.js +1 -0
- 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/sandbox/instance-ai-sandbox.service.js +8 -2
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.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/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-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.d.ts +4 -1
- package/dist/modules/otel/execution-level-tracer.js +21 -26
- 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/otel/otel.config.d.ts +19 -0
- package/dist/modules/otel/otel.config.js +33 -1
- package/dist/modules/otel/otel.config.js.map +1 -1
- package/dist/modules/otel/otel.constants.d.ts +7 -3
- package/dist/modules/otel/otel.constants.js +8 -4
- package/dist/modules/otel/otel.constants.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/skills/assistant-skills-rollout.js +32 -0
- 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/pubsub/pubsub.event-map.d.ts +5 -0
- package/dist/scaling/pubsub/pubsub.types.d.ts +3 -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 +56 -14
- 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 -1
- 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-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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-execution.service.js","sourceRoot":"","sources":["../../../../src/modules/instance-ai/eval/agent-execution.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAIqB;AACrB,iEAGwC;AAUxC,wDAA6D;AAC7D,0DAAoD;AACpD,wCAA+C;AAE/C,gCAA6C;AAE7C,+CAAkD;AAElD,2EAAuE;AAGvE,gHAA0G;AAC1G,sFAAqF;AACrF,sFAAiF;AAEjF,wFAAkF;AAClF,oGAAyF;AACzF,gFAAiG;AACjG,qFAAiF;AACjF,gGAAiG;AACjG,+FAA0F;AAC1F,gEAA8D;AAC9D,2DAA4D;AAE5D,2EAA2E;AAC3E,+DAA6F;AAC7F,qFAA+E;AAC/E,uDAAuD;AACvD,qDAI0B;AAC1B,iDAAsD;AACtD,2DAAgF;AAChF,uDAAwD;AAkBxD,MAAM,kBAAkB,GAAG,OAAO,CAAC;AAInC,MAAM,uBAAuB,GAAG,KAAK,CAAC;AACtC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,6BAA6B,GAAG,KAAK,CAAC;AAY5C,sBAA6B,SAAiB,EAAE,SAAiB;IAChE,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,IAAI,SAAS,CAAC,MAAM,CAAC,C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ACtD,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;QACnC,IAAI,CAAC,CAAC,MAAM,IAAI,OAAO,CAAC,IAAI,OAAO,CAAC,IAAI,KAAK,WAAW;YAAE,SAAS;QACnE,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO;aAC3B,MAAM,CAAC,CAAC,IAAI,EAAkD,EAAE,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,CAAC;aACtF,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC;aACxB,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC3C,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,EAAE,CAAC;AACX,CAAC"}
|
|
1
|
+
{"version":3,"file":"agent-execution.service.js","sourceRoot":"","sources":["../../../../src/modules/instance-ai/eval/agent-execution.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,wCAMqB;AAUrB,wDAA6D;AAC7D,0DAAoD;AACpD,wCAA+C;AAE/C,gCAA6C;AAI7C,mGAA8F;AAC9F,+FAA0F;AAC1F,2DAA4D;AAE5D,2EAA2E;AAC3E,+DAAkE;AAClE,qFAA+E;AAC/E,uDAAuD;AACvD,qDAI0B;AAC1B,iDAAsD;AACtD,2DAAgF;AAChF,uDAAwD;AAkBxD,MAAM,kBAAkB,GAAG,OAAO,CAAC;AAInC,MAAM,uBAAuB,GAAG,KAAK,CAAC;AACtC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAC9B,MAAM,6BAA6B,GAAG,KAAK,CAAC;AAwB5C,sBAA6B,S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
|
+
import { type DataTableRows, type INode } from 'n8n-workflow';
|
|
2
|
+
import type { DataTableService } from '../../../modules/data-table/data-table.service';
|
|
3
|
+
export declare const DATA_TABLE_NODE_TYPES: Set<string>;
|
|
4
|
+
export declare function resolveDataTableNodeId(dataTableService: Pick<DataTableService, 'getManyAndCount'>, node: INode, projectId: string): Promise<string | undefined>;
|
|
5
|
+
export declare function picksDataTableByExpression(node: INode): boolean;
|
|
6
|
+
export interface ScenarioDataTable {
|
|
7
|
+
name: string;
|
|
8
|
+
columns: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
}>;
|
|
12
|
+
nodes: INode[];
|
|
13
|
+
}
|
|
14
|
+
export interface GenerateDataTableRowsOptions {
|
|
15
|
+
tables: ScenarioDataTable[];
|
|
16
|
+
globalContext: string;
|
|
17
|
+
nodeHints: Record<string, string>;
|
|
18
|
+
scenarioHints?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface GeneratedDataTableRows {
|
|
21
|
+
rowsByTable: Record<string, DataTableRows>;
|
|
22
|
+
warnings: string[];
|
|
23
|
+
timestampedTables: string[];
|
|
24
|
+
}
|
|
25
|
+
export declare function generateDataTableRows(options: GenerateDataTableRowsOptions): Promise<GeneratedDataTableRows>;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DATA_TABLE_NODE_TYPES = void 0;
|
|
4
|
+
exports.resolveDataTableNodeId = resolveDataTableNodeId;
|
|
5
|
+
exports.picksDataTableByExpression = picksDataTableByExpression;
|
|
6
|
+
exports.generateDataTableRows = generateDataTableRows;
|
|
7
|
+
const llm_output_1 = require("@n8n/ai-utilities/llm-output");
|
|
8
|
+
const instance_ai_1 = require("@n8n/instance-ai");
|
|
9
|
+
const is_record_1 = require("@n8n/utils/is-record");
|
|
10
|
+
const workflow_sdk_1 = require("@n8n/workflow-sdk");
|
|
11
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
12
|
+
exports.DATA_TABLE_NODE_TYPES = new Set([
|
|
13
|
+
'n8n-nodes-base.dataTable',
|
|
14
|
+
'n8n-nodes-base.dataTableTool',
|
|
15
|
+
]);
|
|
16
|
+
async function resolveDataTableNodeId(dataTableService, node, projectId) {
|
|
17
|
+
const locator = (0, workflow_sdk_1.readDataTableLocator)(node.parameters?.dataTableId);
|
|
18
|
+
if (!locator)
|
|
19
|
+
return undefined;
|
|
20
|
+
if (locator.mode !== 'name')
|
|
21
|
+
return locator.value;
|
|
22
|
+
const { data } = await dataTableService.getManyAndCount({
|
|
23
|
+
filter: { projectId, name: locator.value.toLowerCase() },
|
|
24
|
+
take: 1,
|
|
25
|
+
});
|
|
26
|
+
return data.at(0)?.id;
|
|
27
|
+
}
|
|
28
|
+
function picksDataTableByExpression(node) {
|
|
29
|
+
const dataTableId = node.parameters?.dataTableId;
|
|
30
|
+
return (0, workflow_sdk_1.literalParameter)((0, is_record_1.isRecord)(dataTableId) ? dataTableId.value : dataTableId).isExpression;
|
|
31
|
+
}
|
|
32
|
+
const DATA_TABLE_ROWS_LLM_TIMEOUT_MS = 180_000;
|
|
33
|
+
const MAX_ATTEMPTS = 2;
|
|
34
|
+
const SYSTEM_TIMESTAMP_COLUMNS = new Set(['createdAt', 'updatedAt']);
|
|
35
|
+
const SYSTEM_PROMPT = `You prepare the stored data for one test run of an n8n workflow. The workflow uses n8n Data Tables. Return the rows each table holds at the moment the run starts.
|
|
36
|
+
|
|
37
|
+
Rules:
|
|
38
|
+
1. The Test Scenario is authoritative. Reproduce every stored record, fact and count it states.
|
|
39
|
+
2. Return only rows that exist BEFORE the run. Do not add a row that the workflow itself writes during the run, unless the scenario says that the row already exists.
|
|
40
|
+
3. When the scenario says nothing about a table: a table that the workflow only writes to starts empty, and a table that the workflow reads gets the few rows that the data context implies. Never add a row that contradicts the scenario, for example a record that the scenario calls new.
|
|
41
|
+
4. A table that the workflow writes to holds rows that the workflow wrote on earlier runs. Give those rows the value formats that the workflow's write nodes use, for example the same spelling and casing of a status, also when the scenario quotes the value in another spelling or casing. Keep the facts the scenario states: which records exist, their status, their dates.
|
|
42
|
+
5. Use only the listed columns, and never return id. Leave out createdAt and updatedAt too: the table sets them. Return one of them only when a node that reads the table filters or sorts on it, and the Test Scenario says when the row was created or last changed. Give that time as an ISO 8601 timestamp.
|
|
43
|
+
6. A string column takes a string, a number column a number, a boolean column true or false, and a date column an ISO 8601 timestamp. Use null for an empty value.
|
|
44
|
+
|
|
45
|
+
Return only a JSON object with one key for each listed table: { "<table name>": [ { "<column>": <value> } ] }`;
|
|
46
|
+
function buildUserPrompt(options) {
|
|
47
|
+
const sections = [];
|
|
48
|
+
if (options.scenarioHints)
|
|
49
|
+
sections.push(`## Test Scenario\n\n${options.scenarioHints}`);
|
|
50
|
+
if (options.globalContext)
|
|
51
|
+
sections.push(`## Data context\n\n${options.globalContext}`);
|
|
52
|
+
const tables = options.tables.map((table) => {
|
|
53
|
+
const lines = [
|
|
54
|
+
`### ${table.name}`,
|
|
55
|
+
`Columns: ${table.columns.map((column) => `${column.name} (${column.type})`).join(', ') || 'none'}`,
|
|
56
|
+
'Nodes that use this table:',
|
|
57
|
+
];
|
|
58
|
+
for (const node of table.nodes) {
|
|
59
|
+
lines.push(`- "${node.name}" (${node.type}): ${JSON.stringify(node.parameters)}`);
|
|
60
|
+
const hint = options.nodeHints[node.name];
|
|
61
|
+
if (hint)
|
|
62
|
+
lines.push(` Expected data: ${hint}`);
|
|
63
|
+
}
|
|
64
|
+
return lines.join('\n');
|
|
65
|
+
});
|
|
66
|
+
sections.push(`## Tables\n\n${tables.join('\n\n')}`);
|
|
67
|
+
sections.push((0, workflow_sdk_1.buildDateAnchors)(new Date()));
|
|
68
|
+
return sections.join('\n\n');
|
|
69
|
+
}
|
|
70
|
+
function fitsColumnType(cell, type) {
|
|
71
|
+
if (cell === null)
|
|
72
|
+
return true;
|
|
73
|
+
switch (type) {
|
|
74
|
+
case 'number':
|
|
75
|
+
return (typeof cell === 'number' ||
|
|
76
|
+
(typeof cell === 'string' && cell.trim() !== '' && !Number.isNaN(Number(cell))));
|
|
77
|
+
case 'boolean':
|
|
78
|
+
return typeof cell === 'boolean';
|
|
79
|
+
case 'date':
|
|
80
|
+
return typeof cell === 'string' && !Number.isNaN(Date.parse(cell));
|
|
81
|
+
default:
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function parseRows(text, tables) {
|
|
86
|
+
const parsed = (0, n8n_workflow_1.jsonParse)((0, llm_output_1.extractJsonCandidate)(text));
|
|
87
|
+
if (!(0, is_record_1.isRecord)(parsed))
|
|
88
|
+
throw new n8n_workflow_1.OperationalError('Data table rows response is not a JSON object');
|
|
89
|
+
const rowsByTable = {};
|
|
90
|
+
const warnings = [];
|
|
91
|
+
const timestampedTables = [];
|
|
92
|
+
for (const table of tables) {
|
|
93
|
+
const rows = parsed[table.name];
|
|
94
|
+
if (rows === undefined || rows === null)
|
|
95
|
+
continue;
|
|
96
|
+
if (!Array.isArray(rows)) {
|
|
97
|
+
throw new n8n_workflow_1.OperationalError(`Data table rows for "${table.name}" are not an array`);
|
|
98
|
+
}
|
|
99
|
+
const typeByColumn = new Map(table.columns.map((column) => [column.name, column.type]));
|
|
100
|
+
const dropped = new Set();
|
|
101
|
+
let timestamped = false;
|
|
102
|
+
rowsByTable[table.name] = rows.filter(is_record_1.isRecord).map((row) => {
|
|
103
|
+
const kept = {};
|
|
104
|
+
for (const [key, value] of Object.entries(row)) {
|
|
105
|
+
const type = typeByColumn.get(key);
|
|
106
|
+
if (type === undefined && SYSTEM_TIMESTAMP_COLUMNS.has(key)) {
|
|
107
|
+
timestamped ||= value !== null && value !== undefined;
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
if (type === undefined) {
|
|
111
|
+
dropped.add(key);
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
const cell = typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean'
|
|
115
|
+
? value
|
|
116
|
+
: null;
|
|
117
|
+
if (!fitsColumnType(cell, type)) {
|
|
118
|
+
throw new n8n_workflow_1.OperationalError(`Data table rows for "${table.name}" put ${JSON.stringify(cell)} in ${type} column "${key}"`);
|
|
119
|
+
}
|
|
120
|
+
kept[key] = cell;
|
|
121
|
+
}
|
|
122
|
+
return kept;
|
|
123
|
+
});
|
|
124
|
+
if (timestamped)
|
|
125
|
+
timestampedTables.push(table.name);
|
|
126
|
+
if (dropped.size > 0) {
|
|
127
|
+
warnings.push(`Data table rows for "${table.name}" named unknown columns, dropped: ${[...dropped].join(', ')}`);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return { rowsByTable, warnings, timestampedTables };
|
|
131
|
+
}
|
|
132
|
+
async function generateDataTableRows(options) {
|
|
133
|
+
if (options.tables.length === 0)
|
|
134
|
+
return { rowsByTable: {}, warnings: [], timestampedTables: [] };
|
|
135
|
+
const agent = (0, instance_ai_1.createEvalAgent)('eval-data-table-rows', {
|
|
136
|
+
instructions: SYSTEM_PROMPT,
|
|
137
|
+
cache: true,
|
|
138
|
+
});
|
|
139
|
+
const prompt = buildUserPrompt(options);
|
|
140
|
+
let lastError;
|
|
141
|
+
for (let attempt = 1; attempt <= MAX_ATTEMPTS; attempt++) {
|
|
142
|
+
try {
|
|
143
|
+
const result = await agent.generate(prompt, {
|
|
144
|
+
providerOptions: { anthropic: { maxTokens: 16_384 } },
|
|
145
|
+
abortSignal: AbortSignal.timeout(DATA_TABLE_ROWS_LLM_TIMEOUT_MS),
|
|
146
|
+
});
|
|
147
|
+
return parseRows((0, instance_ai_1.extractText)(result), options.tables);
|
|
148
|
+
}
|
|
149
|
+
catch (error) {
|
|
150
|
+
lastError = error;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
throw lastError;
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=data-table-rows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-table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MAAM,GAAG,MAAM,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE;gBAC3C,eAAe,EAAE,EAAE,SAAS,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;gBACrD,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,8BAA8B,CAAC;aAChE,CAAC,CAAC;YACH,OAAO,SAAS,CAAC,IAAA,yBAAW,EAAC,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;QACvD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,SAAS,GAAG,KAAK,CAAC;QACnB,CAAC;IACF,CAAC;IACD,MAAM,SAAS,CAAC;AACjB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Logger } from '@n8n/backend-common';
|
|
2
|
-
type EvalTimingPhase = 'hints' | 'bypass-pin' | 'http-mock' | 'ai-turn';
|
|
2
|
+
type EvalTimingPhase = 'hints' | 'bypass-pin' | 'data-table-rows' | 'http-mock' | 'node-mock' | 'ai-turn';
|
|
3
3
|
export declare class EvalTimings {
|
|
4
4
|
private readonly samples;
|
|
5
5
|
private readonly startedAt;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EvalTimings = void 0;
|
|
4
|
-
const PHASE_ORDER = [
|
|
4
|
+
const PHASE_ORDER = [
|
|
5
|
+
'hints',
|
|
6
|
+
'bypass-pin',
|
|
7
|
+
'data-table-rows',
|
|
8
|
+
'http-mock',
|
|
9
|
+
'node-mock',
|
|
10
|
+
'ai-turn',
|
|
11
|
+
];
|
|
5
12
|
class EvalTimings {
|
|
6
13
|
constructor() {
|
|
7
14
|
this.samples = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eval-timings.js","sourceRoot":"","sources":["../../../../src/modules/instance-ai/eval/eval-timings.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,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EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IACjD,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;IACjF,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AACtB,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { InstanceAiEvalExecutionRequest, InstanceAiEvalAgentExecutionRequest, InstanceAiEvalCredentialAllowlistRequest, InstanceAiEvalCredentialTestTargetRequest, InstanceAiEvalExportExecutionRequest, InstanceAiEvalRestoreExecutionRequest, InstanceAiEvalRestoreThreadRequest, InstanceAiEvalSeedDataTableRowsRequest } from '@n8n/api-types';
|
|
2
|
+
import type { InstanceAiEvalThreadMemoryResponse } from '@n8n/api-types';
|
|
3
|
+
import { AuthenticatedRequest } from '@n8n/db';
|
|
4
|
+
import type { NextFunction, Request, Response } from 'express';
|
|
5
|
+
import { EvalAgentExecutionService } from './agent-execution.service';
|
|
6
|
+
import { EvalExecutionService } from './execution.service';
|
|
7
|
+
import { FailedExecutionPortabilityService } from './failed-execution-portability.service';
|
|
8
|
+
import { EvalThreadCredentialAllowlistService } from './thread-credential-allowlist.service';
|
|
9
|
+
import { EvalThreadRestoreService } from './thread-restore.service';
|
|
10
|
+
import { InstanceAiMemoryService } from '../instance-ai-memory.service';
|
|
11
|
+
import { InstanceAiSettingsService } from '../instance-ai-settings.service';
|
|
12
|
+
import { InstanceAiService } from '../instance-ai.service';
|
|
13
|
+
export declare class InstanceAiEvalController {
|
|
14
|
+
private readonly instanceAiService;
|
|
15
|
+
private readonly memoryService;
|
|
16
|
+
private readonly settingsService;
|
|
17
|
+
private readonly evalExecutionService;
|
|
18
|
+
private readonly evalAgentExecutionService;
|
|
19
|
+
private readonly evalCredentialAllowlists;
|
|
20
|
+
private readonly evalThreadRestore;
|
|
21
|
+
private readonly failedExecutionPortability;
|
|
22
|
+
constructor(instanceAiService: InstanceAiService, memoryService: InstanceAiMemoryService, settingsService: InstanceAiSettingsService, evalExecutionService: EvalExecutionService, evalAgentExecutionService: EvalAgentExecutionService, evalCredentialAllowlists: EvalThreadCredentialAllowlistService, evalThreadRestore: EvalThreadRestoreService, failedExecutionPortability: FailedExecutionPortabilityService);
|
|
23
|
+
stripBrotli(req: Request, _res: Response, next: NextFunction): void;
|
|
24
|
+
executeWithLlmMock(req: AuthenticatedRequest, _res: Response, workflowId: string, payload: InstanceAiEvalExecutionRequest): Promise<{
|
|
25
|
+
executionId: string;
|
|
26
|
+
success: boolean;
|
|
27
|
+
nodeResults: Record<string, import("@n8n/api-types").InstanceAiEvalNodeResult>;
|
|
28
|
+
errors: string[];
|
|
29
|
+
hints: import("@n8n/api-types").InstanceAiEvalMockHints;
|
|
30
|
+
mockedCredentials: import("@n8n/api-types").InstanceAiEvalMockedCredential[];
|
|
31
|
+
rewrittenCredentials?: import("@n8n/api-types").InstanceAiEvalRewrittenCredential[];
|
|
32
|
+
llmUsage: import("@n8n/api-types").InstanceAiEvalLlmUsage[];
|
|
33
|
+
}>;
|
|
34
|
+
executeAgentWithLlmMock(req: AuthenticatedRequest, _res: Response, agentId: string, payload: InstanceAiEvalAgentExecutionRequest): Promise<{
|
|
35
|
+
runId: string;
|
|
36
|
+
success: boolean;
|
|
37
|
+
errors: string[];
|
|
38
|
+
finalText: string;
|
|
39
|
+
model?: string;
|
|
40
|
+
finishReason?: string;
|
|
41
|
+
toolCalls: import("@n8n/api-types").InstanceAiEvalAgentToolCallRecord[];
|
|
42
|
+
modelTurns: import("@n8n/api-types").InstanceAiEvalAgentModelTurnRecord[];
|
|
43
|
+
usage?: {
|
|
44
|
+
inputTokens?: number;
|
|
45
|
+
outputTokens?: number;
|
|
46
|
+
};
|
|
47
|
+
seed: import("@n8n/api-types").InstanceAiEvalAgentScenarioSeed;
|
|
48
|
+
skippedFeatures: import("@n8n/api-types").InstanceAiEvalAgentSkippedFeature[];
|
|
49
|
+
mockedCredentials: import("@n8n/api-types").InstanceAiEvalMockedCredential[];
|
|
50
|
+
llmUsage: import("@n8n/api-types").InstanceAiEvalLlmUsage[];
|
|
51
|
+
}>;
|
|
52
|
+
setThreadCredentialAllowlist(req: AuthenticatedRequest, _res: Response, payload: InstanceAiEvalCredentialAllowlistRequest): Promise<{
|
|
53
|
+
ok: boolean;
|
|
54
|
+
}>;
|
|
55
|
+
setThreadCredentialTestTarget(req: AuthenticatedRequest, _res: Response, payload: InstanceAiEvalCredentialTestTargetRequest): Promise<{
|
|
56
|
+
ok: boolean;
|
|
57
|
+
}>;
|
|
58
|
+
getEvalThreadMemory(req: AuthenticatedRequest, _res: Response, threadId: string): Promise<InstanceAiEvalThreadMemoryResponse>;
|
|
59
|
+
exportExecution(req: AuthenticatedRequest, _res: Response, payload: InstanceAiEvalExportExecutionRequest): Promise<import("./failed-execution-portability.service").FailedExecutionExportResult>;
|
|
60
|
+
restoreExecution(req: AuthenticatedRequest, _res: Response, payload: InstanceAiEvalRestoreExecutionRequest): Promise<import("./failed-execution-portability.service").FailedExecutionRestoreResult>;
|
|
61
|
+
private threadProjectId;
|
|
62
|
+
restoreEvalThread(req: AuthenticatedRequest, _res: Response, payload: InstanceAiEvalRestoreThreadRequest): Promise<{
|
|
63
|
+
ok: boolean;
|
|
64
|
+
threadId: string;
|
|
65
|
+
restored: number;
|
|
66
|
+
workflowIds: string[];
|
|
67
|
+
dataTableIds: string[];
|
|
68
|
+
agentIds: string[];
|
|
69
|
+
folderIds: string[];
|
|
70
|
+
}>;
|
|
71
|
+
seedEvalDataTableRows(req: AuthenticatedRequest, _res: Response, payload: InstanceAiEvalSeedDataTableRowsRequest): Promise<{
|
|
72
|
+
ok: boolean;
|
|
73
|
+
tableId: string;
|
|
74
|
+
rowCount: number;
|
|
75
|
+
}>;
|
|
76
|
+
private requireInstanceAiEnabled;
|
|
77
|
+
private assertThreadAccess;
|
|
78
|
+
}
|