n8n 2.45.4 → 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/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/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 +8 -10
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +7 -3
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.js +4 -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 +50 -46
- 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,569 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.SkillRepository = void 0;
|
|
13
|
-
const db_1 = require("@n8n/db");
|
|
14
|
-
const di_1 = require("@n8n/di");
|
|
15
|
-
const typeorm_1 = require("@n8n/typeorm");
|
|
16
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
17
|
-
const node_crypto_1 = require("node:crypto");
|
|
18
|
-
const agent_version_skill_dependency_entity_1 = require("../entities/agent-version-skill-dependency.entity");
|
|
19
|
-
const agent_history_entity_1 = require("../entities/agent-history.entity");
|
|
20
|
-
const agent_skill_dependency_entity_1 = require("../entities/agent-skill-dependency.entity");
|
|
21
|
-
const agent_entity_1 = require("../entities/agent.entity");
|
|
22
|
-
const skill_file_entity_1 = require("../entities/skill-file.entity");
|
|
23
|
-
const skill_version_entity_1 = require("../entities/skill-version.entity");
|
|
24
|
-
const skill_entity_1 = require("../entities/skill.entity");
|
|
25
|
-
const skill_content_hash_1 = require("../skills/skill-content-hash");
|
|
26
|
-
let SkillRepository = class SkillRepository extends db_1.BaseRepository {
|
|
27
|
-
constructor(dataSource, transactionRunner) {
|
|
28
|
-
super(skill_entity_1.Skill, dataSource.manager, transactionRunner);
|
|
29
|
-
}
|
|
30
|
-
async findVisiblePage(visibility, filter, ctx = {}) {
|
|
31
|
-
const manager = this.managerFor(ctx);
|
|
32
|
-
const agentsOf = (projectCondition) => manager
|
|
33
|
-
.createQueryBuilder()
|
|
34
|
-
.subQuery()
|
|
35
|
-
.select('owner.id')
|
|
36
|
-
.from(agent_entity_1.Agent, 'owner')
|
|
37
|
-
.where(projectCondition)
|
|
38
|
-
.getQuery();
|
|
39
|
-
const { projectIds } = visibility;
|
|
40
|
-
const branches = [];
|
|
41
|
-
if (!filter.scope || filter.scope === 'instance') {
|
|
42
|
-
branches.push('skill.projectId IS NULL AND skill.agentId IS NULL');
|
|
43
|
-
}
|
|
44
|
-
if (filter.attachableTo !== undefined) {
|
|
45
|
-
if (projectIds === 'all' || projectIds.includes(filter.attachableTo.projectId)) {
|
|
46
|
-
branches.push('skill.projectId = :attachProjectId', 'skill.agentId = :attachAgentId');
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
if (!filter.scope || filter.scope === 'project') {
|
|
51
|
-
if (projectIds === 'all')
|
|
52
|
-
branches.push('skill.projectId IS NOT NULL');
|
|
53
|
-
else if (projectIds.length > 0)
|
|
54
|
-
branches.push('skill.projectId IN (:...projectIds)');
|
|
55
|
-
}
|
|
56
|
-
if (!filter.scope || filter.scope === 'agent') {
|
|
57
|
-
if (projectIds === 'all')
|
|
58
|
-
branches.push('skill.agentId IS NOT NULL');
|
|
59
|
-
else if (projectIds.length > 0) {
|
|
60
|
-
branches.push(`skill.agentId IN ${agentsOf('owner.projectId IN (:...projectIds)')}`);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
if (branches.length === 0)
|
|
65
|
-
return { skills: [], count: 0 };
|
|
66
|
-
const query = manager
|
|
67
|
-
.createQueryBuilder(skill_entity_1.Skill, 'skill')
|
|
68
|
-
.where(new typeorm_1.Brackets((qb) => branches.forEach((branch) => qb.orWhere(`(${branch})`))))
|
|
69
|
-
.setParameters({
|
|
70
|
-
projectIds,
|
|
71
|
-
...(filter.attachableTo !== undefined && {
|
|
72
|
-
attachProjectId: filter.attachableTo.projectId,
|
|
73
|
-
attachAgentId: filter.attachableTo.agentId,
|
|
74
|
-
}),
|
|
75
|
-
});
|
|
76
|
-
if (filter.projectId) {
|
|
77
|
-
query.andWhere(new typeorm_1.Brackets((qb) => qb
|
|
78
|
-
.where('skill.projectId = :projectId')
|
|
79
|
-
.orWhere(`skill.agentId IN ${agentsOf('owner.projectId = :projectId')}`)), { projectId: filter.projectId });
|
|
80
|
-
}
|
|
81
|
-
if (filter.search) {
|
|
82
|
-
query
|
|
83
|
-
.innerJoin(skill_version_entity_1.SkillVersion, 'latest', 'latest.skillId = skill.id')
|
|
84
|
-
.andWhere((qb) => {
|
|
85
|
-
const highest = qb
|
|
86
|
-
.subQuery()
|
|
87
|
-
.select('MAX(later.version)')
|
|
88
|
-
.from(skill_version_entity_1.SkillVersion, 'later')
|
|
89
|
-
.where('later.skillId = skill.id')
|
|
90
|
-
.getQuery();
|
|
91
|
-
return `latest.version = ${highest}`;
|
|
92
|
-
})
|
|
93
|
-
.andWhere(new typeorm_1.Brackets((qb) => qb
|
|
94
|
-
.where(`LOWER(latest.name) LIKE :search ${db_1.LIKE_ESCAPE_CLAUSE}`)
|
|
95
|
-
.orWhere(`LOWER(latest.description) LIKE :search ${db_1.LIKE_ESCAPE_CLAUSE}`)), { search: `%${(0, db_1.escapeLike)(filter.search.toLowerCase())}%` });
|
|
96
|
-
}
|
|
97
|
-
query.orderBy('skill.updatedAt', 'DESC').addOrderBy('skill.id', 'ASC').offset(filter.skip);
|
|
98
|
-
if (filter.take !== undefined)
|
|
99
|
-
query.limit(filter.take);
|
|
100
|
-
const [skills, count] = await query.getManyAndCount();
|
|
101
|
-
return { skills, count };
|
|
102
|
-
}
|
|
103
|
-
async findByIds(ids, ctx = {}) {
|
|
104
|
-
const manager = this.managerFor(ctx);
|
|
105
|
-
return await inChunks(ids, async (chunk) => await manager.find(skill_entity_1.Skill, { where: { id: (0, typeorm_1.In)(chunk) } }));
|
|
106
|
-
}
|
|
107
|
-
async findLatestSaved(skillIds, ctx = {}) {
|
|
108
|
-
const manager = this.managerFor(ctx);
|
|
109
|
-
const versions = await inChunks(skillIds, async (chunk) => await latestVersionsQuery(manager, chunk).getMany());
|
|
110
|
-
return await this.resolveBySkill(versions, ctx);
|
|
111
|
-
}
|
|
112
|
-
async findLatestSummaries(skillIds, ctx = {}) {
|
|
113
|
-
const manager = this.managerFor(ctx);
|
|
114
|
-
const versions = await inChunks(skillIds, async (chunk) => await latestVersionsQuery(manager, chunk)
|
|
115
|
-
.select(['version.skillId', 'version.name', 'version.description', 'version.version'])
|
|
116
|
-
.getMany());
|
|
117
|
-
return new Map(versions.map((v) => [
|
|
118
|
-
v.skillId,
|
|
119
|
-
{ name: v.name, description: v.description, version: v.version },
|
|
120
|
-
]));
|
|
121
|
-
}
|
|
122
|
-
async findLatestNamesInTarget(target, ctx = {}) {
|
|
123
|
-
const query = highestVersionsQuery(this.managerFor(ctx))
|
|
124
|
-
.innerJoin(skill_entity_1.Skill, 'skill', 'skill.id = version.skillId')
|
|
125
|
-
.select(['version.skillId', 'version.name']);
|
|
126
|
-
if (target.agentId) {
|
|
127
|
-
query.andWhere('skill.agentId = :agentId', { agentId: target.agentId });
|
|
128
|
-
}
|
|
129
|
-
else if (target.projectId) {
|
|
130
|
-
query
|
|
131
|
-
.andWhere('skill.projectId = :projectId', { projectId: target.projectId })
|
|
132
|
-
.andWhere('skill.agentId IS NULL');
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
query.andWhere('skill.projectId IS NULL').andWhere('skill.agentId IS NULL');
|
|
136
|
-
}
|
|
137
|
-
const versions = await query.getMany();
|
|
138
|
-
return versions.map(({ skillId, name }) => ({ skillId, name }));
|
|
139
|
-
}
|
|
140
|
-
async findVersionsByIds(versionIds, ctx = {}) {
|
|
141
|
-
if (versionIds.length === 0)
|
|
142
|
-
return new Map();
|
|
143
|
-
const versions = await this.managerFor(ctx).find(skill_version_entity_1.SkillVersion, {
|
|
144
|
-
where: { id: (0, typeorm_1.In)(unique(versionIds)) },
|
|
145
|
-
});
|
|
146
|
-
const rows = await this.resolve(versions, ctx);
|
|
147
|
-
return new Map(rows.map((row) => [row.version.id, row]));
|
|
148
|
-
}
|
|
149
|
-
async findPinned(agentVersionId, ctx = {}) {
|
|
150
|
-
const pins = await this.managerFor(ctx).find(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, {
|
|
151
|
-
where: { agentVersionId },
|
|
152
|
-
order: { createdAt: 'ASC' },
|
|
153
|
-
});
|
|
154
|
-
const versions = await this.findVersionsByIds(pins.map((pin) => pin.skillVersionId), ctx);
|
|
155
|
-
const result = new Map();
|
|
156
|
-
for (const pin of pins) {
|
|
157
|
-
const row = versions.get(pin.skillVersionId);
|
|
158
|
-
if (row)
|
|
159
|
-
result.set(pin.skillId, row);
|
|
160
|
-
}
|
|
161
|
-
return result;
|
|
162
|
-
}
|
|
163
|
-
async findPinnedSkillIds(agentVersionId, ctx = {}) {
|
|
164
|
-
const pins = await this.managerFor(ctx).find(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, {
|
|
165
|
-
select: ['skillId'],
|
|
166
|
-
where: { agentVersionId },
|
|
167
|
-
order: { createdAt: 'ASC' },
|
|
168
|
-
});
|
|
169
|
-
return pins.map((pin) => pin.skillId);
|
|
170
|
-
}
|
|
171
|
-
async nextVersionNumber(skillId, ctx = {}) {
|
|
172
|
-
const latest = await this.managerFor(ctx).findOne(skill_version_entity_1.SkillVersion, {
|
|
173
|
-
select: ['version'],
|
|
174
|
-
where: { skillId },
|
|
175
|
-
order: { version: 'DESC' },
|
|
176
|
-
});
|
|
177
|
-
return (latest?.version ?? 0) + 1;
|
|
178
|
-
}
|
|
179
|
-
async createSkill(skill, content, ctx = {}) {
|
|
180
|
-
return await this.runInTransaction(ctx, async (manager) => {
|
|
181
|
-
await manager.insert(skill_entity_1.Skill, {
|
|
182
|
-
id: skill.id,
|
|
183
|
-
projectId: skill.target.projectId,
|
|
184
|
-
agentId: skill.target.agentId,
|
|
185
|
-
source: skill.source,
|
|
186
|
-
createdById: skill.createdById,
|
|
187
|
-
});
|
|
188
|
-
return await insertVersion(manager, skill.id, 1, content, skill.createdById);
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
async insertSavedVersion(skillId, version, content, createdById, ctx = {}) {
|
|
192
|
-
return await this.runInTransaction(ctx, async (manager) => {
|
|
193
|
-
const id = await insertVersion(manager, skillId, version, content, createdById);
|
|
194
|
-
await manager.update(skill_entity_1.Skill, { id: skillId }, { updatedAt: new Date() });
|
|
195
|
-
return id;
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
async insertPins(pins, ctx = {}) {
|
|
199
|
-
if (pins.length === 0)
|
|
200
|
-
return;
|
|
201
|
-
const first = Date.now();
|
|
202
|
-
await this.managerFor(ctx).insert(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, pins.map((pin, index) => ({ ...pin, createdAt: new Date(first + index) })));
|
|
203
|
-
}
|
|
204
|
-
async replaceDependencies(agentId, refs, ctx = {}) {
|
|
205
|
-
const pinBySkill = new Map();
|
|
206
|
-
for (const ref of refs) {
|
|
207
|
-
if (pinBySkill.get(ref.skillId) === null)
|
|
208
|
-
continue;
|
|
209
|
-
pinBySkill.set(ref.skillId, ref.versionId ?? null);
|
|
210
|
-
}
|
|
211
|
-
await this.runInTransaction(ctx, async (manager, txCtx) => {
|
|
212
|
-
const known = new Set((await this.findByIds([...pinBySkill.keys()], txCtx)).map((skill) => skill.id));
|
|
213
|
-
const current = await manager.find(agent_skill_dependency_entity_1.AgentSkillDependency, { where: { agentId } });
|
|
214
|
-
const removed = current.filter((row) => !known.has(row.skillId) || !pinBySkill.has(row.skillId));
|
|
215
|
-
if (removed.length > 0) {
|
|
216
|
-
await manager.delete(agent_skill_dependency_entity_1.AgentSkillDependency, {
|
|
217
|
-
agentId,
|
|
218
|
-
skillId: (0, typeorm_1.In)(removed.map((row) => row.skillId)),
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
const kept = new Map(current.map((row) => [row.skillId, row]));
|
|
222
|
-
for (const [skillId, skillVersionId] of pinBySkill) {
|
|
223
|
-
const row = kept.get(skillId);
|
|
224
|
-
if (row && row.skillVersionId !== skillVersionId) {
|
|
225
|
-
await manager.update(agent_skill_dependency_entity_1.AgentSkillDependency, { agentId, skillId }, { skillVersionId });
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
const added = [...pinBySkill].filter(([skillId]) => known.has(skillId) && !kept.has(skillId));
|
|
229
|
-
if (added.length === 0)
|
|
230
|
-
return;
|
|
231
|
-
const newest = Math.max(Date.now(), ...current.map((row) => row.createdAt.getTime() + 1));
|
|
232
|
-
await manager.insert(agent_skill_dependency_entity_1.AgentSkillDependency, added.map(([skillId, skillVersionId], index) => ({
|
|
233
|
-
agentId,
|
|
234
|
-
skillId,
|
|
235
|
-
skillVersionId,
|
|
236
|
-
createdAt: new Date(newest + index),
|
|
237
|
-
})));
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
async findFollowingAgents(skillId, ctx = {}) {
|
|
241
|
-
const agentIds = await this.findFollowingAgentIds([skillId], ctx);
|
|
242
|
-
if (agentIds.length === 0)
|
|
243
|
-
return [];
|
|
244
|
-
return await this.managerFor(ctx).find(agent_entity_1.Agent, {
|
|
245
|
-
where: { id: (0, typeorm_1.In)(agentIds) },
|
|
246
|
-
select: ['id', 'name'],
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
async findDependencies(agentIds, ctx = {}) {
|
|
250
|
-
if (agentIds.length === 0)
|
|
251
|
-
return new Map();
|
|
252
|
-
const rows = await this.managerFor(ctx).find(agent_skill_dependency_entity_1.AgentSkillDependency, {
|
|
253
|
-
where: { agentId: (0, typeorm_1.In)(unique(agentIds)) },
|
|
254
|
-
order: { createdAt: 'ASC' },
|
|
255
|
-
});
|
|
256
|
-
const result = new Map();
|
|
257
|
-
for (const row of rows) {
|
|
258
|
-
const refs = result.get(row.agentId) ?? [];
|
|
259
|
-
refs.push({ skillId: row.skillId, versionId: row.skillVersionId });
|
|
260
|
-
result.set(row.agentId, refs);
|
|
261
|
-
}
|
|
262
|
-
return result;
|
|
263
|
-
}
|
|
264
|
-
async findFollowingAgentIds(skillIds, ctx = {}) {
|
|
265
|
-
if (skillIds.length === 0)
|
|
266
|
-
return [];
|
|
267
|
-
const rows = await this.managerFor(ctx).find(agent_skill_dependency_entity_1.AgentSkillDependency, {
|
|
268
|
-
where: { skillId: (0, typeorm_1.In)(unique(skillIds)), skillVersionId: (0, typeorm_1.IsNull)() },
|
|
269
|
-
});
|
|
270
|
-
return unique(rows.map((row) => row.agentId));
|
|
271
|
-
}
|
|
272
|
-
async findUsage(skillId, projectIds = 'all', ctx = {}) {
|
|
273
|
-
const manager = this.managerFor(ctx);
|
|
274
|
-
const drafted = await manager
|
|
275
|
-
.createQueryBuilder(agent_entity_1.Agent, 'agent')
|
|
276
|
-
.innerJoin(agent_skill_dependency_entity_1.AgentSkillDependency, 'dep', 'dep.agentId = agent.id')
|
|
277
|
-
.where('dep.skillId = :skillId', { skillId })
|
|
278
|
-
.select(['agent.id', 'agent.name', 'agent.projectId'])
|
|
279
|
-
.getMany()
|
|
280
|
-
.then((agents) => agents.filter(agent_entity_1.isProjectAgent));
|
|
281
|
-
const published = await manager
|
|
282
|
-
.createQueryBuilder(agent_entity_1.Agent, 'agent')
|
|
283
|
-
.where((qb) => {
|
|
284
|
-
const pinned = qb
|
|
285
|
-
.subQuery()
|
|
286
|
-
.select('history.agentId')
|
|
287
|
-
.from(agent_history_entity_1.AgentHistory, 'history')
|
|
288
|
-
.innerJoin(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, 'pin', 'pin.agentVersionId = history.versionId')
|
|
289
|
-
.where('pin.skillId = :skillId')
|
|
290
|
-
.getQuery();
|
|
291
|
-
return `agent.id IN ${pinned}`;
|
|
292
|
-
})
|
|
293
|
-
.setParameter('skillId', skillId)
|
|
294
|
-
.select(['agent.id', 'agent.name', 'agent.projectId', 'agent.activeVersionId'])
|
|
295
|
-
.getMany()
|
|
296
|
-
.then((agents) => agents.filter(agent_entity_1.isProjectAgent));
|
|
297
|
-
const isVisible = (agent) => projectIds === 'all' || projectIds.includes(agent.projectId);
|
|
298
|
-
const hidden = new Set([...drafted, ...published].filter((agent) => !isVisible(agent)).map((agent) => agent.id));
|
|
299
|
-
const visiblePublished = published.filter(isVisible);
|
|
300
|
-
const activeVersions = await this.findActivePinVersions(skillId, visiblePublished.flatMap((agent) => (agent.activeVersionId ? [agent.activeVersionId] : [])), manager);
|
|
301
|
-
return {
|
|
302
|
-
drafts: drafted.filter(isVisible).map((agent) => ({
|
|
303
|
-
agentId: agent.id,
|
|
304
|
-
agentName: agent.name,
|
|
305
|
-
projectId: agent.projectId,
|
|
306
|
-
})),
|
|
307
|
-
pins: visiblePublished.map((agent) => ({
|
|
308
|
-
agentId: agent.id,
|
|
309
|
-
agentName: agent.name,
|
|
310
|
-
projectId: agent.projectId,
|
|
311
|
-
version: activeVersions.get(agent.activeVersionId ?? '') ?? null,
|
|
312
|
-
})),
|
|
313
|
-
hiddenAgents: hidden.size,
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
async hasHubState(agentId, ctx = {}) {
|
|
317
|
-
const manager = this.managerFor(ctx);
|
|
318
|
-
if (await manager.exists(agent_skill_dependency_entity_1.AgentSkillDependency, { where: { agentId } }))
|
|
319
|
-
return true;
|
|
320
|
-
if (await manager.exists(skill_entity_1.Skill, { where: { agentId } }))
|
|
321
|
-
return true;
|
|
322
|
-
return await manager
|
|
323
|
-
.createQueryBuilder(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, 'pin')
|
|
324
|
-
.innerJoin(agent_history_entity_1.AgentHistory, 'history', 'history.versionId = pin.agentVersionId')
|
|
325
|
-
.where('history.agentId = :agentId', { agentId })
|
|
326
|
-
.getExists();
|
|
327
|
-
}
|
|
328
|
-
async findUnpinnedVersions(agentId, ctx = {}) {
|
|
329
|
-
return await this.managerFor(ctx)
|
|
330
|
-
.createQueryBuilder(agent_history_entity_1.AgentHistory, 'history')
|
|
331
|
-
.select(['history.versionId', 'history.schema', 'history.skills'])
|
|
332
|
-
.where('history.agentId = :agentId', { agentId })
|
|
333
|
-
.andWhere((qb) => {
|
|
334
|
-
const pinned = qb
|
|
335
|
-
.subQuery()
|
|
336
|
-
.select('1')
|
|
337
|
-
.from(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, 'pin')
|
|
338
|
-
.where('pin.agentVersionId = history.versionId')
|
|
339
|
-
.getQuery();
|
|
340
|
-
return `NOT EXISTS ${pinned}`;
|
|
341
|
-
})
|
|
342
|
-
.orderBy('history.createdAt', 'ASC')
|
|
343
|
-
.addOrderBy('history.versionId', 'ASC')
|
|
344
|
-
.getMany();
|
|
345
|
-
}
|
|
346
|
-
async findAgentSkillVersions(agentId, ctx = {}) {
|
|
347
|
-
return await this.managerFor(ctx)
|
|
348
|
-
.createQueryBuilder(skill_version_entity_1.SkillVersion, 'version')
|
|
349
|
-
.innerJoin(skill_entity_1.Skill, 'skill', 'skill.id = version.skillId')
|
|
350
|
-
.select(['version.id', 'version.skillId', 'version.version', 'version.contentHash'])
|
|
351
|
-
.where('skill.agentId = :agentId', { agentId })
|
|
352
|
-
.orWhere((qb) => {
|
|
353
|
-
const refs = qb
|
|
354
|
-
.subQuery()
|
|
355
|
-
.select('dep.skillId')
|
|
356
|
-
.from(agent_skill_dependency_entity_1.AgentSkillDependency, 'dep')
|
|
357
|
-
.where('dep.agentId = :agentId')
|
|
358
|
-
.getQuery();
|
|
359
|
-
return `skill.id IN ${refs}`;
|
|
360
|
-
})
|
|
361
|
-
.orderBy('version.version', 'ASC')
|
|
362
|
-
.getMany();
|
|
363
|
-
}
|
|
364
|
-
async findAgentIdsWithDraftRefs(ctx = {}) {
|
|
365
|
-
const rows = await this.managerFor(ctx)
|
|
366
|
-
.createQueryBuilder(agent_skill_dependency_entity_1.AgentSkillDependency, 'dep')
|
|
367
|
-
.select('dep.agentId', 'agentId')
|
|
368
|
-
.distinct(true)
|
|
369
|
-
.orderBy('dep.agentId', 'ASC')
|
|
370
|
-
.getRawMany();
|
|
371
|
-
return rows.map((row) => row.agentId);
|
|
372
|
-
}
|
|
373
|
-
async findDraftContentHashes(agentIds, ctx = {}) {
|
|
374
|
-
const manager = this.managerFor(ctx);
|
|
375
|
-
const deps = await this.findDependencies(agentIds, ctx);
|
|
376
|
-
const refs = [...deps.values()].flat();
|
|
377
|
-
const pinnedIds = refs.flatMap((ref) => (ref.versionId ? [ref.versionId] : []));
|
|
378
|
-
const followedIds = refs.flatMap((ref) => (ref.versionId ? [] : [ref.skillId]));
|
|
379
|
-
const pinned = await inChunks(pinnedIds, async (chunk) => await manager.find(skill_version_entity_1.SkillVersion, {
|
|
380
|
-
select: ['id', 'contentHash'],
|
|
381
|
-
where: { id: (0, typeorm_1.In)(chunk) },
|
|
382
|
-
}));
|
|
383
|
-
const latest = await inChunks(followedIds, async (chunk) => await latestVersionsQuery(manager, chunk)
|
|
384
|
-
.select(['version.skillId', 'version.contentHash'])
|
|
385
|
-
.getMany());
|
|
386
|
-
const hashByVersion = new Map(pinned.map((version) => [version.id, version.contentHash]));
|
|
387
|
-
const hashBySkill = new Map(latest.map((version) => [version.skillId, version.contentHash]));
|
|
388
|
-
const result = new Map();
|
|
389
|
-
for (const [agentId, agentRefs] of deps) {
|
|
390
|
-
result.set(agentId, agentRefs.flatMap((ref) => {
|
|
391
|
-
const hash = ref.versionId
|
|
392
|
-
? hashByVersion.get(ref.versionId)
|
|
393
|
-
: hashBySkill.get(ref.skillId);
|
|
394
|
-
return hash ? [hash] : [];
|
|
395
|
-
}));
|
|
396
|
-
}
|
|
397
|
-
return result;
|
|
398
|
-
}
|
|
399
|
-
async existsById(skillId, ctx = {}) {
|
|
400
|
-
return await this.managerFor(ctx).exists(skill_entity_1.Skill, { where: { id: skillId } });
|
|
401
|
-
}
|
|
402
|
-
async findUsingAgentIds(skillId, ctx = {}) {
|
|
403
|
-
const manager = this.managerFor(ctx);
|
|
404
|
-
const drafts = await manager.find(agent_skill_dependency_entity_1.AgentSkillDependency, {
|
|
405
|
-
select: ['agentId'],
|
|
406
|
-
where: { skillId },
|
|
407
|
-
});
|
|
408
|
-
const pins = await manager
|
|
409
|
-
.createQueryBuilder(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, 'pin')
|
|
410
|
-
.innerJoin(agent_history_entity_1.AgentHistory, 'history', 'history.versionId = pin.agentVersionId')
|
|
411
|
-
.where('pin.skillId = :skillId', { skillId })
|
|
412
|
-
.select('history.agentId', 'agentId')
|
|
413
|
-
.distinct(true)
|
|
414
|
-
.getRawMany();
|
|
415
|
-
return unique([...drafts, ...pins].map((row) => row.agentId));
|
|
416
|
-
}
|
|
417
|
-
async updateTarget(skillId, target, ctx = {}) {
|
|
418
|
-
await this.managerFor(ctx).update(skill_entity_1.Skill, { id: skillId }, { projectId: target.projectId, agentId: target.agentId, updatedAt: new Date() });
|
|
419
|
-
}
|
|
420
|
-
async countUsingAgents(skillIds, ctx = {}) {
|
|
421
|
-
const manager = this.managerFor(ctx);
|
|
422
|
-
const pairs = await inChunks(skillIds, async (chunk) => {
|
|
423
|
-
const drafts = await manager.find(agent_skill_dependency_entity_1.AgentSkillDependency, {
|
|
424
|
-
select: ['skillId', 'agentId'],
|
|
425
|
-
where: { skillId: (0, typeorm_1.In)(chunk) },
|
|
426
|
-
});
|
|
427
|
-
const pins = await manager
|
|
428
|
-
.createQueryBuilder(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, 'pin')
|
|
429
|
-
.innerJoin(agent_history_entity_1.AgentHistory, 'history', 'history.versionId = pin.agentVersionId')
|
|
430
|
-
.where('pin.skillId IN (:...chunk)', { chunk })
|
|
431
|
-
.select('pin.skillId', 'skillId')
|
|
432
|
-
.addSelect('history.agentId', 'agentId')
|
|
433
|
-
.distinct(true)
|
|
434
|
-
.getRawMany();
|
|
435
|
-
return [...drafts, ...pins];
|
|
436
|
-
});
|
|
437
|
-
const agentsBySkill = new Map();
|
|
438
|
-
for (const { skillId, agentId } of pairs) {
|
|
439
|
-
agentsBySkill.set(skillId, (agentsBySkill.get(skillId) ?? new Set()).add(agentId));
|
|
440
|
-
}
|
|
441
|
-
return new Map([...agentsBySkill].map(([skillId, agents]) => [skillId, agents.size]));
|
|
442
|
-
}
|
|
443
|
-
async findProjects(projectIds, ctx = {}) {
|
|
444
|
-
const manager = this.managerFor(ctx);
|
|
445
|
-
const projects = await inChunks(projectIds, async (chunk) => await manager.find(db_1.Project, {
|
|
446
|
-
where: { id: (0, typeorm_1.In)(chunk) },
|
|
447
|
-
select: ['id', 'name', 'type'],
|
|
448
|
-
}));
|
|
449
|
-
return new Map(projects.map((project) => [project.id, { name: project.name, type: project.type }]));
|
|
450
|
-
}
|
|
451
|
-
async findAgents(agentIds, ctx = {}) {
|
|
452
|
-
const manager = this.managerFor(ctx);
|
|
453
|
-
const agents = await inChunks(agentIds, async (chunk) => await manager.find(agent_entity_1.Agent, {
|
|
454
|
-
where: { id: (0, typeorm_1.In)(chunk) },
|
|
455
|
-
select: ['id', 'name', 'projectId'],
|
|
456
|
-
}));
|
|
457
|
-
return new Map(agents.filter(agent_entity_1.isProjectAgent).map(({ id, name, projectId }) => [id, { name, projectId }]));
|
|
458
|
-
}
|
|
459
|
-
async deleteSkill(skillId, ctx = {}) {
|
|
460
|
-
await this.managerFor(ctx).delete(skill_entity_1.Skill, { id: skillId });
|
|
461
|
-
}
|
|
462
|
-
async lockForEdit(skillIds, ctx = {}) {
|
|
463
|
-
await this.lock(skillIds, 'pessimistic_write', ctx);
|
|
464
|
-
}
|
|
465
|
-
async lockForPublish(skillIds, ctx = {}) {
|
|
466
|
-
await this.lock(skillIds, 'pessimistic_read', ctx);
|
|
467
|
-
}
|
|
468
|
-
async lock(skillIds, mode, ctx) {
|
|
469
|
-
if (!ctx.trx)
|
|
470
|
-
throw new n8n_workflow_1.UnexpectedError('Skill row locks need a transaction');
|
|
471
|
-
if (skillIds.length === 0 || this.manager.connection.options.type !== 'postgres')
|
|
472
|
-
return;
|
|
473
|
-
await this.managerFor(ctx).find(skill_entity_1.Skill, {
|
|
474
|
-
select: ['id'],
|
|
475
|
-
where: { id: (0, typeorm_1.In)(unique(skillIds)) },
|
|
476
|
-
lock: { mode },
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
async findActivePinVersions(skillId, agentVersionIds, manager) {
|
|
480
|
-
const rows = await inChunks(agentVersionIds, async (chunk) => await manager
|
|
481
|
-
.createQueryBuilder(agent_version_skill_dependency_entity_1.AgentVersionSkillDependency, 'pin')
|
|
482
|
-
.innerJoin(skill_version_entity_1.SkillVersion, 'version', 'version.id = pin.skillVersionId')
|
|
483
|
-
.where('pin.skillId = :skillId', { skillId })
|
|
484
|
-
.andWhere('pin.agentVersionId IN (:...chunk)', { chunk })
|
|
485
|
-
.select('pin.agentVersionId', 'agentVersionId')
|
|
486
|
-
.addSelect('version.version', 'version')
|
|
487
|
-
.getRawMany());
|
|
488
|
-
return new Map(rows.map((row) => [row.agentVersionId, Number(row.version)]));
|
|
489
|
-
}
|
|
490
|
-
async resolveBySkill(versions, ctx) {
|
|
491
|
-
const rows = await this.resolve(versions, ctx);
|
|
492
|
-
return new Map(rows.map((row) => [row.skill.id, row]));
|
|
493
|
-
}
|
|
494
|
-
async resolve(versions, ctx) {
|
|
495
|
-
if (versions.length === 0)
|
|
496
|
-
return [];
|
|
497
|
-
const manager = this.managerFor(ctx);
|
|
498
|
-
const skills = await this.findByIds(versions.map((version) => version.skillId), ctx);
|
|
499
|
-
const files = await inChunks(versions.map((version) => version.id), async (chunk) => await manager.find(skill_file_entity_1.SkillFile, { where: { skillVersionId: (0, typeorm_1.In)(chunk) } }));
|
|
500
|
-
const skillById = new Map(skills.map((skill) => [skill.id, skill]));
|
|
501
|
-
const filesByVersion = new Map();
|
|
502
|
-
for (const file of files.sort((a, b) => (0, skill_content_hash_1.compareSkillFilePaths)(a.path, b.path))) {
|
|
503
|
-
filesByVersion.set(file.skillVersionId, [
|
|
504
|
-
...(filesByVersion.get(file.skillVersionId) ?? []),
|
|
505
|
-
file,
|
|
506
|
-
]);
|
|
507
|
-
}
|
|
508
|
-
return versions.flatMap((version) => {
|
|
509
|
-
const skill = skillById.get(version.skillId);
|
|
510
|
-
return skill ? [{ skill, version, files: filesByVersion.get(version.id) ?? [] }] : [];
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
};
|
|
514
|
-
exports.SkillRepository = SkillRepository;
|
|
515
|
-
exports.SkillRepository = SkillRepository = __decorate([
|
|
516
|
-
(0, di_1.Service)(),
|
|
517
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource, db_1.TransactionRunner])
|
|
518
|
-
], SkillRepository);
|
|
519
|
-
function unique(values) {
|
|
520
|
-
return [...new Set(values)];
|
|
521
|
-
}
|
|
522
|
-
async function inChunks(ids, read) {
|
|
523
|
-
const results = [];
|
|
524
|
-
for (const chunk of (0, db_1.chunkIds)(unique(ids)))
|
|
525
|
-
results.push(...(await read(chunk)));
|
|
526
|
-
return results;
|
|
527
|
-
}
|
|
528
|
-
function highestVersionsQuery(manager) {
|
|
529
|
-
return manager.createQueryBuilder(skill_version_entity_1.SkillVersion, 'version').where((qb) => {
|
|
530
|
-
const highest = qb
|
|
531
|
-
.subQuery()
|
|
532
|
-
.select('MAX(later.version)')
|
|
533
|
-
.from(skill_version_entity_1.SkillVersion, 'later')
|
|
534
|
-
.where('later.skillId = version.skillId')
|
|
535
|
-
.getQuery();
|
|
536
|
-
return `version.version = ${highest}`;
|
|
537
|
-
});
|
|
538
|
-
}
|
|
539
|
-
function latestVersionsQuery(manager, skillIds) {
|
|
540
|
-
return highestVersionsQuery(manager).andWhere('version.skillId IN (:...skillIds)', {
|
|
541
|
-
skillIds,
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
async function insertVersion(manager, skillId, version, content, createdById) {
|
|
545
|
-
const id = (0, node_crypto_1.randomUUID)();
|
|
546
|
-
await manager.save(manager.create(skill_version_entity_1.SkillVersion, {
|
|
547
|
-
id,
|
|
548
|
-
skillId,
|
|
549
|
-
version,
|
|
550
|
-
name: content.name,
|
|
551
|
-
description: content.description,
|
|
552
|
-
instructions: content.instructions,
|
|
553
|
-
frontmatter: content.frontmatter,
|
|
554
|
-
contentHash: (0, skill_content_hash_1.skillContentHash)(content),
|
|
555
|
-
createdById,
|
|
556
|
-
}));
|
|
557
|
-
await insertFiles(manager, id, content.files);
|
|
558
|
-
return id;
|
|
559
|
-
}
|
|
560
|
-
async function insertFiles(manager, skillVersionId, files) {
|
|
561
|
-
if (files.length === 0)
|
|
562
|
-
return;
|
|
563
|
-
await manager.insert(skill_file_entity_1.SkillFile, files.map((file) => ({
|
|
564
|
-
skillVersionId,
|
|
565
|
-
path: file.path,
|
|
566
|
-
content: file.content,
|
|
567
|
-
})));
|
|
568
|
-
}
|
|
569
|
-
//# sourceMappingURL=skill.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skill.repository.js","sourceRoot":"","sources":["../../../../src/modules/agents/repositories/skill.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAQiB;AACjB,gCAAkC;AAClC,0CAAoF;AAEpF,+CAA+C;AAC/C,6CAAyC;AAEzC,6GAAgG;AAChG,2EAAgE;AAChE,6FAAiF;AACjF,2DAAqF;AACrF,qEAA0D;AAC1D,2EAAgE;AAChE,2DAAmE;AACnE,qEAIsC;AA0C/B,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,mBAAq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AACJ,CAAC;AAGD,SAAS,mBAAmB,CAAC,OAAsB,EAAE,QAAkB;IACtE,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,mCAAmC,EAAE;QAClF,QAAQ;KACR,CAAC,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,aAAa,CAC3B,OAAsB,EACtB,OAAe,EACf,OAAe,EACf,OAAqB,EACrB,WAA0B;IAE1B,MAAM,EAAE,GAAG,IAAA,wBAAU,GAAE,CAAC;IAExB,MAAM,OAAO,CAAC,IAAI,CACjB,OAAO,CAAC,MAAM,CAAC,mCAAY,EAAE;QAC5B,EAAE;QACF,OAAO;QACP,OAAO;QACP,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,YAAY,EAAE,OAAO,CAAC,YAAY;QAClC,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,WAAW,EAAE,IAAA,qCAAgB,EAAC,OAAO,CAAC;QACtC,WAAW;KACX,CAAC,CACF,CAAC;IACF,MAAM,WAAW,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAC9C,OAAO,EAAE,CAAC;AACX,CAAC;AAED,KAAK,UAAU,WAAW,CACzB,OAAsB,EACtB,cAAsB,EACtB,KAA4B;IAE5B,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO;IAC/B,MAAM,OAAO,CAAC,MAAM,CACnB,6BAAS,EACT,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,cAAc;QACd,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,OAAO,EAAE,IAAI,CAAC,OAAO;KACrB,CAAC,CAAC,CACH,CAAC;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skill-content-hash.js","sourceRoot":"","sources":["../../../../src/modules/agents/skills/skill-content-hash.ts"],"names":[],"mappings":";;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,EAAE,OAAO,CAAC,KAAK;aAClB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;aACxC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;KAC/D,CAAC,CACF;SACA,MAAM,CAAC,KAAK,CAAC,CAAC;AACjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skill-name-taken.error.js","sourceRoot":"","sources":["../../../../src/modules/agents/skills/skill-name-taken.error.ts"],"names":[],"mappings":";;;;AAAA,8CAA0D;AAC1D,wCAA4C;AAO5C,yBAAiC,SAAQ,sBAAa;IACrD,YAAqB,SAAiB;QACrC,KAAK,CAAC,oCAAwB,CAAC,CAAC;yBADZ,SAAS;IAE9B,CAAC;CACD;;AAGD,mCAA0C,SAAiB;IAC1D,OAAO,CACN,mBAAmB,SAAS,4DAA4D;QACxF,+CAA+C,CAC/C,CAAC;AACH,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skill-names.js","sourceRoot":"","sources":["../../../../src/modules/agents/skills/skill-names.ts"],"names":[],"mappings":";;;;;AAAA,8CAA8C;AAM9C,mCAA0C,QAAkB,EAAE,KAAe;IAC5E,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,wBAAY,CAAC,CAAC,CAAC;IAClD,MAAM,OAAO,GAAa,EAAE,CAAC;IAC7B,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QAC1B,MAAM,GAAG,GAAG,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC;YAAE,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,KAA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