n8n 2.44.4 → 2.45.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/dist/activation-errors.service.d.ts +1 -1
- package/dist/active-executions.js +1 -1
- package/dist/active-executions.js.map +1 -1
- package/dist/active-workflow-manager.d.ts +1 -1
- package/dist/agent-library-bundle.js +5 -0
- package/dist/auth/auth.service.d.ts +1 -2
- package/dist/auth/auth.service.js +1 -2
- package/dist/auth/auth.service.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/commands/execute-batch.js +1 -1
- package/dist/commands/execute-batch.js.map +1 -1
- package/dist/commands/execute.js +1 -1
- package/dist/commands/execute.js.map +1 -1
- package/dist/commands/start.js +1 -4
- package/dist/commands/start.js.map +1 -1
- package/dist/commands/webhook.js +2 -2
- package/dist/commands/webhook.js.map +1 -1
- package/dist/commands/worker.js +2 -2
- package/dist/commands/worker.js.map +1 -1
- package/dist/controllers/debug.controller.d.ts +1 -1
- package/dist/controllers/e2e.controller.js +1 -0
- package/dist/controllers/e2e.controller.js.map +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.d.ts +1 -1
- package/dist/controllers/oauth/oauth2-credential.controller.js +15 -3
- package/dist/controllers/oauth/oauth2-credential.controller.js.map +1 -1
- package/dist/controllers/users.controller.d.ts +1 -2
- package/dist/controllers/users.controller.js +1 -2
- package/dist/controllers/users.controller.js.map +1 -1
- package/dist/credentials/credential-data-merge.d.ts +7 -0
- package/dist/credentials/credential-data-merge.js +55 -0
- package/dist/credentials/credential-data-merge.js.map +1 -0
- package/dist/credentials/credential-dependency.service.d.ts +1 -1
- package/dist/credentials/credential-dependency.service.js +4 -4
- package/dist/credentials/credential-dependency.service.js.map +1 -1
- package/dist/credentials/credentials.controller.js +6 -2
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +5 -1
- package/dist/credentials/credentials.service.js +11 -3
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials/pending-authorization-cleanup.task.d.ts +2 -3
- package/dist/credentials/pending-authorization-cleanup.task.js +6 -6
- package/dist/credentials/pending-authorization-cleanup.task.js.map +1 -1
- package/dist/deprecation/deprecation.service.js +24 -0
- package/dist/deprecation/deprecation.service.js.map +1 -1
- package/dist/evaluation.ee/evaluation-dataset.service.d.ts +2 -5
- package/dist/evaluation.ee/evaluation-dataset.service.js +3 -11
- package/dist/evaluation.ee/evaluation-dataset.service.js.map +1 -1
- package/dist/eventbus/event-message-classes/event-message-mcp.d.ts +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/eventbus/message-event-bus/event-bus-unsent-message-flush.task.d.ts +2 -3
- package/dist/eventbus/message-event-bus/event-bus-unsent-message-flush.task.js +1 -5
- package/dist/eventbus/message-event-bus/event-bus-unsent-message-flush.task.js.map +1 -1
- package/dist/events/maps/relay.event-map.d.ts +18 -2
- package/dist/events/relays/log-streaming.event-relay.d.ts +3 -0
- package/dist/events/relays/log-streaming.event-relay.js +39 -0
- package/dist/events/relays/log-streaming.event-relay.js.map +1 -1
- package/dist/events/relays/telemetry.event-relay.js +15 -3
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js +1 -2
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
- package/dist/executions/execution.service.d.ts +1 -2
- package/dist/executions/execution.service.js +1 -2
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/idempotency/idempotency-request.d.ts +29 -0
- package/dist/idempotency/idempotency-request.js +125 -0
- package/dist/idempotency/idempotency-request.js.map +1 -0
- package/dist/idempotency/idempotency.middleware.d.ts +7 -0
- package/dist/idempotency/idempotency.middleware.js +80 -0
- package/dist/idempotency/idempotency.middleware.js.map +1 -0
- package/dist/idempotency/idempotency.types.d.ts +21 -0
- package/dist/{modules/quick-connect/handlers/handler.interface.js → idempotency/idempotency.types.js} +1 -1
- package/dist/idempotency/idempotency.types.js.map +1 -0
- package/dist/instance-settings-loader/loaders/log-streaming.instance-settings-loader.js +3 -0
- package/dist/instance-settings-loader/loaders/log-streaming.instance-settings-loader.js.map +1 -1
- package/dist/jwks/jwks.controller.d.ts +1 -1
- package/dist/jwks/jwks.controller.js +4 -4
- package/dist/jwks/jwks.controller.js.map +1 -1
- package/dist/license/license-renewal.task.d.ts +2 -6
- package/dist/license/license-renewal.task.js +10 -8
- package/dist/license/license-renewal.task.js.map +1 -1
- package/dist/load-nodes-and-credentials.d.ts +1 -0
- package/dist/load-nodes-and-credentials.js +16 -1
- package/dist/load-nodes-and-credentials.js.map +1 -1
- package/dist/modules/agents/adapters/agents-credential-provider.js +1 -0
- package/dist/modules/agents/adapters/agents-credential-provider.js.map +1 -1
- package/dist/modules/agents/agent-channel-media-retention.task.d.ts +15 -0
- package/dist/modules/agents/agent-channel-media-retention.task.js +64 -0
- package/dist/modules/agents/agent-channel-media-retention.task.js.map +1 -0
- package/dist/modules/agents/agent-chat-attachment.service.d.ts +4 -0
- package/dist/modules/agents/agent-chat-attachment.service.js +15 -0
- package/dist/modules/agents/agent-chat-attachment.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-execution.service.d.ts +2 -1
- package/dist/modules/agents/agent-chat-execution.service.js +19 -10
- package/dist/modules/agents/agent-chat-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-chat-relay.service.d.ts +31 -0
- package/dist/modules/agents/agent-chat-relay.service.js +164 -0
- package/dist/modules/agents/agent-chat-relay.service.js.map +1 -0
- package/dist/modules/agents/agent-chat.controller.d.ts +5 -9
- package/dist/modules/agents/agent-chat.controller.js +18 -150
- package/dist/modules/agents/agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/agent-checkpoint-pruning.task.d.ts +2 -5
- package/dist/modules/agents/agent-checkpoint-pruning.task.js +10 -8
- package/dist/modules/agents/agent-checkpoint-pruning.task.js.map +1 -1
- package/dist/modules/agents/agent-config-preparation.service.d.ts +10 -13
- package/dist/modules/agents/agent-config.service.d.ts +1 -3
- package/dist/modules/agents/agent-config.service.js +8 -7
- package/dist/modules/agents/agent-config.service.js.map +1 -1
- package/dist/modules/agents/agent-definition.service.d.ts +1 -1
- package/dist/modules/agents/agent-definition.service.js +11 -6
- package/dist/modules/agents/agent-definition.service.js.map +1 -1
- package/dist/modules/agents/agent-dependency-index.listener.js +5 -0
- package/dist/modules/agents/agent-dependency-index.listener.js.map +1 -1
- package/dist/modules/agents/agent-dependency-index.service.d.ts +1 -0
- package/dist/modules/agents/agent-dependency-index.service.js +7 -0
- package/dist/modules/agents/agent-dependency-index.service.js.map +1 -1
- package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +4 -4
- package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
- package/dist/modules/agents/agent-execution.service.js +4 -0
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-management.service.d.ts +5 -5
- 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 +3 -3
- package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
- package/dist/modules/agents/agent-interrupted-execution-sweep.task.d.ts +2 -3
- package/dist/modules/agents/agent-interrupted-execution-sweep.task.js +4 -6
- package/dist/modules/agents/agent-interrupted-execution-sweep.task.js.map +1 -1
- package/dist/modules/agents/agent-message-queue-consumer.service.js +1 -1
- package/dist/modules/agents/agent-message-queue-consumer.service.js.map +1 -1
- package/dist/modules/agents/agent-message-queue.service.js +14 -6
- package/dist/modules/agents/agent-message-queue.service.js.map +1 -1
- package/dist/modules/agents/agent-modification-telemetry.service.d.ts +13 -13
- package/dist/modules/agents/agent-publish.controller.d.ts +8 -0
- package/dist/modules/agents/agent-publish.service.d.ts +6 -7
- package/dist/modules/agents/agent-publish.service.js +17 -28
- package/dist/modules/agents/agent-publish.service.js.map +1 -1
- package/dist/modules/agents/agent-runnable-state.service.d.ts +3 -0
- package/dist/modules/agents/agent-runnable-state.service.js +8 -2
- package/dist/modules/agents/agent-runnable-state.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +5 -2
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +35 -8
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
- package/dist/modules/agents/agent-skill-refs.service.d.ts +38 -6
- package/dist/modules/agents/agent-skill-refs.service.js +245 -18
- package/dist/modules/agents/agent-skill-refs.service.js.map +1 -1
- package/dist/modules/agents/agent-skills.service.d.ts +12 -13
- package/dist/modules/agents/agent-skills.service.js +211 -123
- package/dist/modules/agents/agent-skills.service.js.map +1 -1
- package/dist/modules/agents/agent-task.service.js +6 -5
- package/dist/modules/agents/agent-task.service.js.map +1 -1
- package/dist/modules/agents/agent-teams-integrations.controller.d.ts +47 -3
- package/dist/modules/agents/agent-teams-integrations.controller.js +225 -3
- package/dist/modules/agents/agent-teams-integrations.controller.js.map +1 -1
- package/dist/modules/agents/agent-validation.service.d.ts +1 -0
- package/dist/modules/agents/agent-validation.service.js +17 -2
- package/dist/modules/agents/agent-validation.service.js.map +1 -1
- package/dist/modules/agents/agent-whatsapp-integrations.controller.d.ts +22 -0
- package/dist/modules/agents/agent-whatsapp-integrations.controller.js +74 -0
- package/dist/modules/agents/agent-whatsapp-integrations.controller.js.map +1 -0
- package/dist/modules/agents/agent-workflow-execution.service.d.ts +1 -0
- package/dist/modules/agents/agent-workflow-execution.service.js +56 -23
- package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
- package/dist/modules/agents/agents-config.controller.d.ts +10 -13
- package/dist/modules/agents/agents-skills.controller.d.ts +2 -2
- package/dist/modules/agents/agents-skills.controller.js +6 -5
- package/dist/modules/agents/agents-skills.controller.js.map +1 -1
- package/dist/modules/agents/agents-tools.service.js +12 -8
- package/dist/modules/agents/agents-tools.service.js.map +1 -1
- package/dist/modules/agents/agents.controller.d.ts +4 -0
- package/dist/modules/agents/agents.module.d.ts +3 -2
- package/dist/modules/agents/agents.module.js +25 -2
- package/dist/modules/agents/agents.module.js.map +1 -1
- package/dist/modules/agents/agents.service.d.ts +7 -6
- package/dist/modules/agents/agents.service.js +10 -8
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/background/agent-wake.service.js.map +1 -1
- package/dist/modules/agents/budget-guardrail.d.ts +2 -4
- package/dist/modules/agents/budget-guardrail.js +29 -10
- package/dist/modules/agents/budget-guardrail.js.map +1 -1
- package/dist/modules/agents/builder/agent-builder-session-context.d.ts +1 -0
- package/dist/modules/agents/builder/agent-builder-session-context.js +16 -0
- package/dist/modules/agents/builder/agent-builder-session-context.js.map +1 -0
- package/dist/modules/agents/builder/agents-builder-model-recommendations.js +4 -4
- package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +4 -0
- package/dist/modules/agents/builder/agents-builder-tools.service.js +166 -33
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js +1 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-tool-names.d.ts +17 -14
- package/dist/modules/agents/builder/builder-tool-names.js +18 -14
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- package/dist/modules/agents/builder/call-agent-failure.js +2 -2
- package/dist/modules/agents/builder/call-agent-failure.js.map +1 -1
- package/dist/modules/agents/builder/get-resource-locator-options.tool.js +7 -5
- package/dist/modules/agents/builder/get-resource-locator-options.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js +5 -3
- package/dist/modules/agents/builder/interactive/ask-credential.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js +2 -1
- package/dist/modules/agents/builder/interactive/ask-questions.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js +1 -0
- package/dist/modules/agents/builder/interactive/configure-channel.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/finish-setup.tool.d.ts +21 -0
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js +81 -12
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +6 -5
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js +27 -18
- package/dist/modules/agents/builder/prompts/config-mutation.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js +2 -2
- package/dist/modules/agents/builder/prompts/config-rules.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/initial-build.prompt.d.ts +1 -2
- package/dist/modules/agents/builder/prompts/initial-build.prompt.js +2 -70
- package/dist/modules/agents/builder/prompts/initial-build.prompt.js.map +1 -1
- package/dist/modules/agents/builder/skills/config.skill.d.ts +2 -0
- package/dist/modules/agents/builder/skills/config.skill.js +14 -0
- package/dist/modules/agents/builder/skills/config.skill.js.map +1 -0
- package/dist/modules/agents/builder/skills/custom-tools.skill.js +14 -10
- package/dist/modules/agents/builder/skills/custom-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/external-services.skill.js +81 -63
- package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/index.js +11 -1
- package/dist/modules/agents/builder/skills/index.js.map +1 -1
- package/dist/modules/agents/builder/skills/memory.skill.js +14 -14
- package/dist/modules/agents/builder/skills/memory.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/node-tools.skill.js +25 -22
- package/dist/modules/agents/builder/skills/node-tools.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/resource-locators.skill.js +32 -30
- package/dist/modules/agents/builder/skills/resource-locators.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/sub-agents.skill.js +14 -5
- package/dist/modules/agents/builder/skills/sub-agents.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-skills.skill.js +46 -41
- package/dist/modules/agents/builder/skills/target-skills.skill.js.map +1 -1
- package/dist/modules/agents/builder/skills/target-tasks.skill.js +33 -33
- package/dist/modules/agents/builder/skills/target-tasks.skill.js.map +1 -1
- package/dist/modules/agents/builder/verify-mcp-server.tool.js +13 -4
- package/dist/modules/agents/builder/verify-mcp-server.tool.js.map +1 -1
- package/dist/modules/agents/entities/agent-skill-dependency.entity.d.ts +6 -0
- package/dist/modules/agents/entities/agent-skill-dependency.entity.js +34 -0
- package/dist/modules/agents/entities/agent-skill-dependency.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent-version-skill-dependency.entity.d.ts +6 -0
- package/dist/modules/agents/entities/agent-version-skill-dependency.entity.js +35 -0
- package/dist/modules/agents/entities/agent-version-skill-dependency.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent.entity.d.ts +9 -2
- package/dist/modules/agents/entities/agent.entity.js +14 -4
- package/dist/modules/agents/entities/agent.entity.js.map +1 -1
- package/dist/modules/agents/entities/skill-file.entity.d.ts +6 -0
- package/dist/modules/agents/entities/skill-file.entity.js +33 -0
- package/dist/modules/agents/entities/skill-file.entity.js.map +1 -0
- package/dist/modules/agents/entities/skill-version.entity.d.ts +13 -0
- package/dist/modules/agents/entities/skill-version.entity.js +59 -0
- package/dist/modules/agents/entities/skill-version.entity.js.map +1 -0
- package/dist/modules/agents/entities/skill.entity.d.ts +9 -0
- package/dist/modules/agents/entities/skill.entity.js +43 -0
- package/dist/modules/agents/entities/skill.entity.js.map +1 -0
- package/dist/modules/agents/instance-ai-agent-context.adapter.d.ts +3 -1
- package/dist/modules/agents/instance-ai-agent-context.adapter.js +12 -5
- package/dist/modules/agents/instance-ai-agent-context.adapter.js.map +1 -1
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +7 -5
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +55 -92
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
- package/dist/modules/agents/integrations/agent-channel-reconciler.service.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 +29 -4
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-integration.d.ts +16 -2
- package/dist/modules/agents/integrations/agent-chat-integration.js +9 -1
- package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/agent-credential-lookup.service.js +1 -0
- package/dist/modules/agents/integrations/agent-credential-lookup.service.js.map +1 -1
- package/dist/modules/agents/integrations/chat-integration.service.d.ts +3 -3
- package/dist/modules/agents/integrations/chat-integration.service.js +4 -2
- package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
- package/dist/modules/agents/integrations/integration-action-executor.js +15 -2
- package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
- package/dist/modules/agents/integrations/integration-error-codes.d.ts +1 -0
- package/dist/modules/agents/integrations/integration-error-codes.js +1 -0
- package/dist/modules/agents/integrations/integration-error-codes.js.map +1 -1
- package/dist/modules/agents/integrations/integrations-sync.d.ts +2 -2
- package/dist/modules/agents/integrations/integrations-sync.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/slack/assets/n8n-bot-icon.png +0 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-managed-setup.service.d.ts +2 -2
- 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-methods.service.d.ts +3 -3
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-admin-consent.d.ts +5 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-admin-consent.js +23 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-admin-consent.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.d.ts +15 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js +136 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-app-icons.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.d.ts +2 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js +3 -4
- package/dist/modules/agents/integrations/platforms/teams/teams-arm-template.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.d.ts +14 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js +83 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-arm.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.d.ts +39 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js +202 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-bot-provisioning.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.d.ts +51 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js +241 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-catalog.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-cleanup.service.d.ts +13 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-cleanup.service.js +43 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-cleanup.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-check.service.d.ts +3 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-check.service.js +65 -24
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-check.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-notes.service.d.ts +11 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-notes.service.js +58 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-credential-notes.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.d.ts +36 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js +318 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-entra-provisioning.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph-permissions.d.ts +4 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph-permissions.js +10 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph-permissions.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.d.ts +19 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js +128 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-graph.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.d.ts +17 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-integration.js +63 -0
- 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 +28 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.js +146 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-managed-setup.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.d.ts +23 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js +155 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manager-token.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.d.ts +3 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-manifest.service.js +18 -8
- 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 +18 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js +174 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-message-files.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.d.ts +7 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js +175 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-operations.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.d.ts +20 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js +68 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup-telemetry.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/teams/teams-setup.service.d.ts +15 -1
- package/dist/modules/agents/integrations/platforms/teams/teams-setup.service.js +77 -3
- package/dist/modules/agents/integrations/platforms/teams/teams-setup.service.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.d.ts +17 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js +148 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-credential-check.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{whatsapp-integration.d.ts → whatsapp/whatsapp-integration.d.ts} +17 -7
- package/dist/modules/agents/integrations/platforms/{whatsapp-integration.js → whatsapp/whatsapp-integration.js} +48 -12
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-webhook-verification.store.d.ts +11 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-webhook-verification.store.js +58 -0
- package/dist/modules/agents/integrations/platforms/whatsapp/whatsapp-webhook-verification.store.js.map +1 -0
- package/dist/modules/agents/json-config/agent-document.d.ts +1 -0
- package/dist/modules/agents/json-config/agent-document.js +5 -0
- package/dist/modules/agents/json-config/agent-document.js.map +1 -1
- package/dist/modules/agents/json-config/credential-field-mapping.js +11 -2
- package/dist/modules/agents/json-config/credential-field-mapping.js.map +1 -1
- package/dist/modules/agents/json-config/from-json-config.js +5 -6
- package/dist/modules/agents/json-config/from-json-config.js.map +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.d.ts +1 -1
- package/dist/modules/agents/json-config/mcp-client-factory.js +16 -69
- package/dist/modules/agents/json-config/mcp-client-factory.js.map +1 -1
- package/dist/modules/agents/json-config/model-config.js.map +1 -1
- package/dist/modules/agents/json-config/prune-missing-config-references.d.ts +1 -1
- package/dist/modules/agents/json-config/prune-missing-config-references.js +0 -4
- package/dist/modules/agents/json-config/prune-missing-config-references.js.map +1 -1
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.d.ts +4 -0
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.js +31 -4
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.js.map +1 -1
- package/dist/modules/agents/plans/agent-plan-tools.d.ts +50 -1
- package/dist/modules/agents/plans/agent-plan-tools.js +122 -9
- package/dist/modules/agents/plans/agent-plan-tools.js.map +1 -1
- package/dist/modules/agents/plans/agent-plan-work-state.d.ts +36 -0
- package/dist/modules/agents/plans/agent-plan-work-state.js +13 -0
- package/dist/modules/agents/plans/agent-plan-work-state.js.map +1 -0
- package/dist/modules/agents/plans/agent-plan.validation.d.ts +2 -1
- package/dist/modules/agents/plans/agent-plan.validation.js +6 -4
- package/dist/modules/agents/plans/agent-plan.validation.js.map +1 -1
- package/dist/modules/agents/register-favorite-resolver.js +1 -1
- package/dist/modules/agents/register-favorite-resolver.js.map +1 -1
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.d.ts +4 -0
- package/dist/modules/agents/repositories/agent-chat-attachment.repository.js +7 -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 +16 -0
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js +63 -0
- package/dist/modules/agents/repositories/agent-execution-thread.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.d.ts +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.js +1 -1
- package/dist/modules/agents/repositories/agent-history.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-message-queue.repository.d.ts +4 -0
- package/dist/modules/agents/repositories/agent-message-queue.repository.js +6 -1
- package/dist/modules/agents/repositories/agent-message-queue.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-thread-grant.repository.d.ts +1 -0
- package/dist/modules/agents/repositories/agent-thread-grant.repository.js +3 -0
- package/dist/modules/agents/repositories/agent-thread-grant.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent-workflow-dependency.repository.js +1 -1
- package/dist/modules/agents/repositories/agent-workflow-dependency.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent.repository.d.ts +22 -14
- package/dist/modules/agents/repositories/agent.repository.js +159 -40
- package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
- package/dist/modules/agents/repositories/skill.repository.d.ts +98 -0
- package/dist/modules/agents/repositories/skill.repository.js +569 -0
- package/dist/modules/agents/repositories/skill.repository.js.map +1 -0
- package/dist/modules/agents/scheduling/agent-task-job-registrar.js.map +1 -1
- package/dist/modules/agents/skills/skill-content-hash.d.ts +13 -0
- package/dist/modules/agents/skills/skill-content-hash.js +31 -0
- package/dist/modules/agents/skills/skill-content-hash.js.map +1 -0
- package/dist/modules/agents/skills/skill-name-taken.error.d.ts +6 -0
- package/dist/modules/agents/skills/skill-name-taken.error.js +18 -0
- package/dist/modules/agents/skills/skill-name-taken.error.js.map +1 -0
- package/dist/modules/agents/skills/skill-names.d.ts +3 -0
- package/dist/modules/agents/skills/skill-names.js +32 -0
- package/dist/modules/agents/skills/skill-names.js.map +1 -0
- package/dist/modules/agents/skills/skill.service.d.ts +82 -0
- package/dist/modules/agents/skills/skill.service.js +368 -0
- package/dist/modules/agents/skills/skill.service.js.map +1 -0
- package/dist/modules/agents/skills/skills-api.service.d.ts +28 -0
- package/dist/modules/agents/skills/skills-api.service.js +249 -0
- package/dist/modules/agents/skills/skills-api.service.js.map +1 -0
- package/dist/modules/agents/skills/skills-hub-rollout.d.ts +10 -0
- package/dist/modules/agents/skills/skills-hub-rollout.js +35 -0
- package/dist/modules/agents/skills/skills-hub-rollout.js.map +1 -0
- package/dist/modules/agents/skills/skills-hub-startup-copy.d.ts +40 -0
- package/dist/modules/agents/skills/skills-hub-startup-copy.js +402 -0
- package/dist/modules/agents/skills/skills-hub-startup-copy.js.map +1 -0
- package/dist/modules/agents/skills/skills-telemetry.d.ts +21 -0
- package/dist/modules/agents/skills/skills-telemetry.js +98 -0
- package/dist/modules/agents/skills/skills-telemetry.js.map +1 -0
- package/dist/modules/agents/skills.controller.d.ts +19 -0
- package/dist/modules/agents/skills.controller.js +106 -0
- package/dist/modules/agents/skills.controller.js.map +1 -0
- 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 +2 -1
- package/dist/modules/agents/sub-agents/sub-agent-runner.js +23 -4
- package/dist/modules/agents/sub-agents/sub-agent-runner.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js +9 -6
- package/dist/modules/agents/sub-agents/sub-agent-source-resolver.js.map +1 -1
- package/dist/modules/agents/tools/node-tool-factory.js +4 -0
- package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/policy-refusal.d.ts +8 -0
- package/dist/modules/agents/tools/policy-refusal.js +9 -0
- package/dist/modules/agents/tools/policy-refusal.js.map +1 -0
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +1 -0
- package/dist/modules/agents/tools/workflow-tool-factory.js +106 -52
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.d.ts +1 -1
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js +2 -2
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js.map +1 -1
- package/dist/modules/agents/types/agent-queued-message.d.ts +4 -1
- package/dist/modules/agents/types/agent-queued-message.js +1 -1
- package/dist/modules/agents/types/agent-queued-message.js.map +1 -1
- package/dist/modules/agents/utils/agent-definition.d.ts +15 -17
- package/dist/modules/agents/utils/agent-definition.js +2 -2
- package/dist/modules/agents/utils/agent-definition.js.map +1 -1
- package/dist/modules/agents/utils/agent-memory-scope.d.ts +2 -0
- package/dist/modules/agents/utils/agent-memory-scope.js +12 -0
- package/dist/modules/agents/utils/agent-memory-scope.js.map +1 -1
- package/dist/modules/agents/utils/agent-missing-skill-ids.js +0 -2
- package/dist/modules/agents/utils/agent-missing-skill-ids.js.map +1 -1
- package/dist/modules/agents/utils/agent-published-snapshot.d.ts +6 -4
- package/dist/modules/agents/utils/agent-published-snapshot.js +2 -3
- package/dist/modules/agents/utils/agent-published-snapshot.js.map +1 -1
- package/dist/modules/agents/utils/agent-runtime-assets.d.ts +3 -2
- package/dist/modules/agents/utils/agent-runtime-assets.js +2 -2
- package/dist/modules/agents/utils/agent-runtime-assets.js.map +1 -1
- package/dist/modules/agents/utils/agent-thread-access.d.ts +3 -1
- package/dist/modules/agents/utils/agent-thread-access.js +16 -4
- package/dist/modules/agents/utils/agent-thread-access.js.map +1 -1
- package/dist/modules/agents/utils/get-agent-or-throw.d.ts +2 -2
- package/dist/modules/breaking-changes/breaking-changes.controller.d.ts +5 -2
- package/dist/modules/breaking-changes/breaking-changes.controller.js +16 -2
- package/dist/modules/breaking-changes/breaking-changes.controller.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.module.d.ts +1 -1
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.d.ts +6 -6
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.js +31 -21
- package/dist/modules/breaking-changes/database/repositories/migration-finding.repository.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/index.js +2 -2
- package/dist/modules/breaking-changes/migrations/index.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/node-migration.d.ts +1 -0
- package/dist/modules/breaking-changes/migrations/node-migration.js +17 -0
- package/dist/modules/breaking-changes/migrations/node-migration.js.map +1 -1
- package/dist/modules/breaking-changes/migrations/node-removals/ai-transform-to-code.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ai-transform-to-code.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/document-loaders.migration.d.ts +3 -0
- package/dist/modules/breaking-changes/migrations/node-removals/document-loaders.migration.js +79 -0
- package/dist/modules/breaking-changes/migrations/node-removals/document-loaders.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.js +40 -0
- package/dist/modules/breaking-changes/migrations/node-removals/html-extract-to-html.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.js +17 -0
- package/dist/modules/breaking-changes/migrations/node-removals/ical-to-convert-to-file.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.js +32 -0
- package/dist/modules/breaking-changes/migrations/node-removals/index.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-checks.d.ts +4 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-checks.js +46 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-checks.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-legacy.d.ts +10 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-legacy.js +252 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists-legacy.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists.migration.js +85 -0
- package/dist/modules/breaking-changes/migrations/node-removals/item-lists.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.js +28 -0
- package/dist/modules/breaking-changes/migrations/node-removals/read-pdf-to-extract-from-file.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/schedule-trigger.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/schedule-trigger.migration.js +91 -0
- package/dist/modules/breaking-changes/migrations/node-removals/schedule-trigger.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/vector-stores.migration.d.ts +7 -0
- package/dist/modules/breaking-changes/migrations/node-removals/vector-stores.migration.js +133 -0
- package/dist/modules/breaking-changes/migrations/node-removals/vector-stores.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/workflow-trigger-to-n8n-trigger.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/workflow-trigger-to-n8n-trigger.migration.js +26 -0
- package/dist/modules/breaking-changes/migrations/node-removals/workflow-trigger-to-n8n-trigger.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/node-removals/write-binary-file-to-read-write-file.migration.d.ts +2 -0
- package/dist/modules/breaking-changes/migrations/node-removals/write-binary-file-to-read-write-file.migration.js +27 -0
- package/dist/modules/breaking-changes/migrations/node-removals/write-binary-file-to-read-write-file.migration.js.map +1 -0
- package/dist/modules/breaking-changes/migrations/parameter-readers.d.ts +10 -0
- package/dist/modules/breaking-changes/migrations/parameter-readers.js +51 -0
- package/dist/modules/breaking-changes/migrations/parameter-readers.js.map +1 -0
- package/dist/modules/breaking-changes/notifications/migration-finding-notification.service.d.ts +20 -0
- package/dist/modules/breaking-changes/notifications/migration-finding-notification.service.js +136 -0
- package/dist/modules/breaking-changes/notifications/migration-finding-notification.service.js.map +1 -0
- package/dist/modules/breaking-changes/query/migration-finding-query.service.js +3 -2
- package/dist/modules/breaking-changes/query/migration-finding-query.service.js.map +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-diff.js +2 -2
- package/dist/modules/breaking-changes/sync/migration-finding-diff.js.map +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js +1 -1
- package/dist/modules/breaking-changes/sync/migration-finding-sync.service.js.map +1 -1
- package/dist/modules/chat-hub/chat-hub-extractor.d.ts +1 -1
- package/dist/modules/chat-hub/chat-hub-extractor.js +2 -2
- package/dist/modules/chat-hub/chat-hub-extractor.js.map +1 -1
- package/dist/modules/data-table/data-table-file-cleanup.task.d.ts +2 -3
- package/dist/modules/data-table/data-table-file-cleanup.task.js +1 -5
- package/dist/modules/data-table/data-table-file-cleanup.task.js.map +1 -1
- package/dist/modules/data-table/data-table-permissions.d.ts +2 -0
- package/dist/modules/data-table/data-table-permissions.js +6 -0
- package/dist/modules/data-table/data-table-permissions.js.map +1 -1
- package/dist/modules/data-table/data-table-proxy.service.d.ts +0 -1
- package/dist/modules/data-table/data-table-proxy.service.js +8 -17
- package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
- package/dist/modules/data-table/data-table.controller.d.ts +0 -1
- package/dist/modules/data-table/data-table.controller.js +7 -17
- package/dist/modules/data-table/data-table.controller.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.d.ts +1 -1
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js +2 -2
- package/dist/modules/dynamic-credentials.ee/credential-resolvers/identifiers/n8n-identifier.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js +1 -1
- package/dist/modules/dynamic-credentials.ee/dynamic-credentials.module.js.map +1 -1
- package/dist/modules/external-secrets.ee/external-secrets-refresh.task.d.ts +2 -3
- package/dist/modules/external-secrets.ee/external-secrets-refresh.task.js +1 -5
- package/dist/modules/external-secrets.ee/external-secrets-refresh.task.js.map +1 -1
- package/dist/modules/inbound-auth-core/authentication-pipeline.js +7 -0
- package/dist/modules/inbound-auth-core/authentication-pipeline.js.map +1 -1
- package/dist/modules/inbound-auth-core/constants.d.ts +42 -0
- package/dist/modules/inbound-auth-core/constants.js +24 -0
- package/dist/modules/inbound-auth-core/constants.js.map +1 -0
- package/dist/modules/inbound-auth-core/grant-authorization.d.ts +2 -2
- package/dist/modules/inbound-auth-core/grant-authorization.js.map +1 -1
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.d.ts +1 -1
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js +2 -2
- package/dist/modules/inbound-auth-core/identity/trusted-source-identity.service.js.map +1 -1
- package/dist/modules/inbound-auth-core/inbound-auth-core.module.d.ts +3 -0
- package/dist/modules/inbound-auth-core/inbound-auth-core.module.js +32 -10
- package/dist/modules/inbound-auth-core/inbound-auth-core.module.js.map +1 -1
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.d.ts +15 -0
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js +47 -0
- package/dist/modules/inbound-auth-core/local-authorization-server.proxy.js.map +1 -0
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.d.ts +3 -2
- package/dist/modules/inbound-auth-core/oauth2-bearer.driver.js +7 -2
- 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 +16 -0
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.js +71 -0
- package/dist/modules/inbound-auth-core/public-api-oauth.strategy.js.map +1 -0
- package/dist/modules/inbound-auth-core/public-api-protected-resource.d.ts +21 -0
- package/dist/modules/inbound-auth-core/public-api-protected-resource.js +51 -0
- package/dist/modules/inbound-auth-core/public-api-protected-resource.js.map +1 -0
- package/dist/modules/inbound-auth-core/resource-admission.d.ts +12 -0
- package/dist/modules/inbound-auth-core/resource-admission.js +65 -0
- package/dist/modules/inbound-auth-core/resource-admission.js.map +1 -0
- package/dist/modules/inbound-auth-core/system-trusted-source.seeder.d.ts +0 -42
- package/dist/modules/inbound-auth-core/system-trusted-source.seeder.js +7 -26
- package/dist/modules/inbound-auth-core/system-trusted-source.seeder.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source-directory.service.d.ts +7 -0
- package/dist/modules/inbound-auth-core/trusted-source-directory.service.js +32 -0
- package/dist/modules/inbound-auth-core/trusted-source-directory.service.js.map +1 -0
- package/dist/modules/inbound-auth-core/trusted-source-discovery.task.d.ts +2 -3
- package/dist/modules/inbound-auth-core/trusted-source-discovery.task.js +1 -2
- package/dist/modules/inbound-auth-core/trusted-source-discovery.task.js.map +1 -1
- package/dist/modules/inbound-auth-core/trusted-source.controller.d.ts +27 -0
- package/dist/modules/inbound-auth-core/trusted-source.controller.js +190 -0
- package/dist/modules/inbound-auth-core/trusted-source.controller.js.map +1 -0
- package/dist/modules/inbound-auth-core/trusted-source.store.d.ts +1 -0
- package/dist/modules/inbound-auth-core/trusted-source.store.js +6 -3
- package/dist/modules/inbound-auth-core/trusted-source.store.js.map +1 -1
- package/dist/modules/inbox/inbox-source.registry.d.ts +39 -0
- package/dist/modules/inbox/inbox-source.registry.js +64 -0
- package/dist/modules/inbox/inbox-source.registry.js.map +1 -0
- package/dist/modules/inbox/inbox.controller.d.ts +10 -0
- package/dist/modules/{quick-connect/quick-connect.controller.js → inbox/inbox.controller.js} +26 -17
- package/dist/modules/inbox/inbox.controller.js.map +1 -0
- package/dist/modules/inbox/inbox.module.d.ts +4 -0
- package/dist/modules/{workflow-builder/workflow-builder.module.js → inbox/inbox.module.js} +9 -10
- package/dist/modules/inbox/inbox.module.js.map +1 -0
- package/dist/modules/inbox/inbox.service.d.ts +17 -0
- package/dist/modules/inbox/inbox.service.js +184 -0
- package/dist/modules/inbox/inbox.service.js.map +1 -0
- package/dist/modules/instance-ai/agent-preview-handoff.js +1 -1
- 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 +9 -0
- package/dist/modules/instance-ai/agents-access.js.map +1 -0
- package/dist/modules/instance-ai/conversation-history-content.d.ts +3 -2
- package/dist/modules/instance-ai/conversation-history-content.js +8 -2
- package/dist/modules/instance-ai/conversation-history-content.js.map +1 -1
- package/dist/modules/instance-ai/eval/agent-execution.service.js +14 -7
- package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/mock-handler.js +11 -10
- package/dist/modules/instance-ai/eval/mock-handler.js.map +1 -1
- package/dist/modules/instance-ai/eval/mock-utils.js +2 -0
- package/dist/modules/instance-ai/eval/mock-utils.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.d.ts +8 -0
- package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js +10 -0
- package/dist/modules/instance-ai/eval/thread-credential-allowlist.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.js +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/workflow-analysis.js +6 -6
- 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 -0
- package/dist/modules/instance-ai/event-bus/durable-event-log.js +65 -7
- package/dist/modules/instance-ai/event-bus/durable-event-log.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.d.ts +2 -5
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js +10 -8
- package/dist/modules/instance-ai/instance-ai-checkpoint-pruning.task.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-conversation-history.service.js +1 -1
- package/dist/modules/instance-ai/instance-ai-conversation-history.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-credit.service.d.ts +1 -11
- package/dist/modules/instance-ai/instance-ai-credit.service.js +9 -52
- package/dist/modules/instance-ai/instance-ai-credit.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-model.service.d.ts +9 -2
- package/dist/modules/instance-ai/instance-ai-model.service.js +35 -6
- 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 +2 -0
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.js +2 -1
- package/dist/modules/instance-ai/instance-ai-pending-agent.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-run-pin-data.js +1 -1
- package/dist/modules/instance-ai/instance-ai-run-pin-data.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +1 -2
- package/dist/modules/instance-ai/instance-ai-settings.service.js +5 -18
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-skills.service.d.ts +26 -0
- package/dist/modules/instance-ai/instance-ai-skills.service.js +63 -0
- package/dist/modules/instance-ai/instance-ai-skills.service.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +17 -15
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +13 -15
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +7 -1
- package/dist/modules/instance-ai/instance-ai.controller.js +19 -0
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.d.ts +1 -2
- package/dist/modules/instance-ai/instance-ai.module.js +9 -1
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +3 -3
- package/dist/modules/instance-ai/instance-ai.service.js +52 -73
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-context.service.js +3 -3
- package/dist/modules/instance-ai/instance-context.service.js.map +1 -1
- package/dist/modules/instance-ai/internal-messages.js +5 -5
- package/dist/modules/instance-ai/internal-messages.js.map +1 -1
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.d.ts +2 -5
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js +8 -26
- package/dist/modules/instance-ai/mcp/instance-ai-mcp-registry.service.js.map +1 -1
- package/dist/modules/instance-ai/model-config-name.d.ts +5 -0
- package/dist/modules/instance-ai/model-config-name.js +25 -0
- package/dist/modules/instance-ai/model-config-name.js.map +1 -0
- package/dist/modules/instance-ai/onboarding.d.ts +0 -2
- package/dist/modules/instance-ai/onboarding.js +1 -14
- package/dist/modules/instance-ai/onboarding.js.map +1 -1
- package/dist/modules/instance-ai/repositories/conversation-history-search.d.ts +5 -1
- package/dist/modules/instance-ai/repositories/conversation-history-search.js +10 -5
- package/dist/modules/instance-ai/repositories/conversation-history-search.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-conversation-history.repository.js +2 -2
- package/dist/modules/instance-ai/repositories/instance-ai-conversation-history.repository.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.d.ts +1 -0
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js +11 -0
- package/dist/modules/instance-ai/repositories/instance-ai-event-log.repository.js.map +1 -1
- package/dist/modules/instance-ai/repositories/instance-ai-message.repository.d.ts +0 -1
- package/dist/modules/instance-ai/repositories/instance-ai-message.repository.js +0 -10
- package/dist/modules/instance-ai/repositories/instance-ai-message.repository.js.map +1 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +2 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +4 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.d.ts +42 -2
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js +63 -2
- package/dist/modules/instance-ai/self-healing/database/self-healing-result.repository.js.map +1 -1
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.d.ts +10 -3
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js +30 -2
- package/dist/modules/instance-ai/self-healing/self-healing-result.service.js.map +1 -1
- package/dist/modules/instance-registry/checks/instance-registry-reconciliation.task.d.ts +2 -4
- package/dist/modules/instance-registry/checks/instance-registry-reconciliation.task.js +4 -7
- package/dist/modules/instance-registry/checks/instance-registry-reconciliation.task.js.map +1 -1
- package/dist/modules/instance-registry/instance-registry-heartbeat.task.d.ts +2 -3
- package/dist/modules/instance-registry/instance-registry-heartbeat.task.js +1 -5
- package/dist/modules/instance-registry/instance-registry-heartbeat.task.js.map +1 -1
- package/dist/modules/instance-registry/instance-registry.module.js +1 -1
- package/dist/modules/instance-registry/instance-registry.module.js.map +1 -1
- package/dist/modules/instance-registry/stale-member-cleanup.task.d.ts +2 -3
- package/dist/modules/instance-registry/stale-member-cleanup.task.js +1 -2
- package/dist/modules/instance-registry/stale-member-cleanup.task.js.map +1 -1
- package/dist/modules/instance-reporting.ee/instance-reporting.task.d.ts +2 -4
- package/dist/modules/instance-reporting.ee/instance-reporting.task.js +4 -7
- package/dist/modules/instance-reporting.ee/instance-reporting.task.js.map +1 -1
- package/dist/modules/log-streaming.ee/log-streaming.controller.js +12 -1
- package/dist/modules/log-streaming.ee/log-streaming.controller.js.map +1 -1
- package/dist/modules/mcp/mcp-api-key.service.d.ts +2 -3
- package/dist/modules/mcp/mcp-api-key.service.js +3 -3
- package/dist/modules/mcp/mcp-api-key.service.js.map +1 -1
- package/dist/modules/mcp/mcp-protected-resource.d.ts +2 -2
- package/dist/modules/mcp/mcp-protected-resource.js +5 -3
- package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
- package/dist/modules/mcp/mcp-scopes.d.ts +1 -0
- package/dist/modules/mcp/mcp-scopes.js +7 -1
- package/dist/modules/mcp/mcp-scopes.js.map +1 -1
- package/dist/modules/mcp/mcp-server-middleware.service.d.ts +2 -2
- package/dist/modules/mcp/mcp-server-middleware.service.js +3 -3
- package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
- package/dist/modules/mcp/mcp-tool-availability.d.ts +1 -0
- package/dist/modules/mcp/mcp-tool-availability.js +4 -0
- package/dist/modules/mcp/mcp-tool-availability.js.map +1 -1
- package/dist/modules/mcp/mcp.module.js +1 -1
- package/dist/modules/mcp/mcp.module.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +1 -3
- package/dist/modules/mcp/mcp.service.js +5 -3
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/mcp.types.d.ts +1 -1
- package/dist/modules/mcp/tools/agents/agent-reference.js +12 -8
- package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-slack-setup.d.ts +5 -5
- package/dist/modules/mcp/tools/agents/agent-slack-setup.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-tools.service.js +24 -9
- package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/execute-workflow.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/get-execution.tool.d.ts +1 -1
- package/dist/modules/mcp/tools/skills/skill-tools.service.d.ts +11 -0
- package/dist/modules/mcp/tools/skills/skill-tools.service.js +242 -0
- package/dist/modules/mcp/tools/skills/skill-tools.service.js.map +1 -0
- package/dist/modules/mcp/tools/tool-result.utils.d.ts +8 -0
- package/dist/modules/mcp/tools/tool-result.utils.js +11 -0
- package/dist/modules/mcp/tools/tool-result.utils.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-auth-fetch.d.ts +15 -0
- package/dist/modules/mcp-registry/mcp-auth-fetch.js +64 -0
- package/dist/modules/mcp-registry/mcp-auth-fetch.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.d.ts +23 -0
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.js +219 -0
- package/dist/modules/mcp-registry/mcp-connection-discovery.service.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-registry-refresh.task.d.ts +2 -3
- package/dist/modules/mcp-registry/mcp-registry-refresh.task.js +4 -6
- package/dist/modules/mcp-registry/mcp-registry-refresh.task.js.map +1 -1
- package/dist/modules/mcp-registry/mcp-registry-response.d.ts +3 -0
- package/dist/modules/mcp-registry/mcp-registry-response.js +35 -0
- package/dist/modules/mcp-registry/mcp-registry-response.js.map +1 -0
- package/dist/modules/mcp-registry/mcp-registry.controller.d.ts +6 -2
- package/dist/modules/mcp-registry/mcp-registry.controller.js +25 -28
- package/dist/modules/mcp-registry/mcp-registry.controller.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mock-servers.js +3 -3
- package/dist/modules/mcp-registry/registry/mock-servers.js.map +1 -1
- package/dist/modules/modules.manifest.js +2 -0
- package/dist/modules/modules.manifest.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js +1 -0
- package/dist/modules/n8n-packages/engine/import-blocked.error.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-gates.d.ts +6 -0
- package/dist/modules/n8n-packages/engine/import-gates.js +8 -0
- package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +2 -2
- package/dist/modules/n8n-packages/engine/import-orchestrator.js +20 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.js +3 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.js.map +1 -1
- package/dist/modules/n8n-packages/engine/n8n-package-parser.d.ts +3 -0
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js +38 -0
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
- package/dist/modules/n8n-packages/engine/package-layout.d.ts +10 -2
- package/dist/modules/n8n-packages/engine/package-layout.js +26 -0
- package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
- package/dist/modules/n8n-packages/engine/project-package-importer.js +29 -4
- package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js +19 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.d.ts +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.js +6 -0
- package/dist/modules/n8n-packages/entities/agent/agent.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/agent/agent.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.d.ts +20 -0
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.js +98 -0
- package/dist/modules/n8n-packages/entities/credential/credential-conflict-policy.js.map +1 -0
- package/dist/modules/n8n-packages/entities/credential/credential-export-policy.js +16 -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 +7 -3
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js +95 -5
- package/dist/modules/n8n-packages/entities/credential/credential-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.d.ts +3 -1
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js +14 -4
- package/dist/modules/n8n-packages/entities/credential/credential-missing-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.exporter.js +13 -2
- package/dist/modules/n8n-packages/entities/credential/credential.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.d.ts +2 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.js +2 -1
- package/dist/modules/n8n-packages/entities/credential/credential.serializer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/credential/credential.types.d.ts +39 -3
- package/dist/modules/n8n-packages/entities/credential/credential.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publishing-policy.types.d.ts +1 -1
- package/dist/modules/n8n-packages/n8n-packages.service.js +2 -1
- package/dist/modules/n8n-packages/n8n-packages.service.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +16 -2
- package/dist/modules/n8n-packages/n8n-packages.types.js +6 -1
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/agent.schema.d.ts +133 -164
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.d.ts +3 -0
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.js +1 -0
- package/dist/modules/n8n-packages/spec/serialized/credential.schema.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.d.ts +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-decrypt.service.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe-jwks.provider.d.ts +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.module.d.ts +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.module.js +4 -5
- package/dist/modules/oauth-jwe/oauth-jwe.module.js.map +1 -1
- package/dist/modules/oauth-jwe/oauth-jwe.schemas.js +3 -3
- package/dist/modules/oauth-jwe/oauth-jwe.schemas.js.map +1 -1
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.d.ts +1 -0
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js +3 -0
- package/dist/modules/oauth-server/database/repositories/oauth-access-token.repository.js.map +1 -1
- package/dist/modules/oauth-server/dto/approve-consent-request.dto.d.ts +3 -1
- package/dist/modules/oauth-server/dto/approve-consent-request.dto.js +8 -1
- package/dist/modules/oauth-server/dto/approve-consent-request.dto.js.map +1 -1
- package/dist/modules/oauth-server/oauth-consent.controller.d.ts +5 -1
- package/dist/modules/oauth-server/oauth-consent.controller.js +15 -14
- package/dist/modules/oauth-server/oauth-consent.controller.js.map +1 -1
- package/dist/modules/oauth-server/oauth-consent.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-consent.service.js +2 -2
- package/dist/modules/oauth-server/oauth-consent.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-flow.service.d.ts +23 -9
- package/dist/modules/oauth-server/oauth-flow.service.js +279 -43
- package/dist/modules/oauth-server/oauth-flow.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-local-authorization-server.d.ts +5 -2
- package/dist/modules/oauth-server/oauth-local-authorization-server.js +8 -3
- package/dist/modules/oauth-server/oauth-local-authorization-server.js.map +1 -1
- package/dist/modules/oauth-server/oauth-server.module.js +6 -6
- package/dist/modules/oauth-server/oauth-server.module.js.map +1 -1
- package/dist/modules/oauth-server/oauth-server.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-server.service.js +8 -6
- package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-session.service.d.ts +13 -7
- package/dist/modules/oauth-server/oauth-session.service.js +48 -13
- package/dist/modules/oauth-server/oauth-session.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-signing-jwks.provider.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.schemas.js +2 -2
- package/dist/modules/oauth-server/oauth-signing-key.schemas.js.map +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.service.d.ts +1 -1
- package/dist/modules/oauth-server/oauth-signing-key.service.js +2 -2
- package/dist/modules/oauth-server/oauth-signing-key.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth-token.service.d.ts +2 -4
- package/dist/modules/oauth-server/oauth-token.service.js +2 -3
- package/dist/modules/oauth-server/oauth-token.service.js.map +1 -1
- package/dist/modules/oauth-server/oauth.controller.d.ts +4 -2
- package/dist/modules/oauth-server/oauth.controller.js +41 -8
- package/dist/modules/oauth-server/oauth.controller.js.map +1 -1
- package/dist/modules/oauth-server/oauth.helpers.d.ts +1 -0
- package/dist/modules/oauth-server/oauth.helpers.js +14 -0
- package/dist/modules/oauth-server/oauth.helpers.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.d.ts +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/chat-trigger-resource.base.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.d.ts +7 -5
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.d.ts +7 -5
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/form-trigger-test-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/index.js +9 -9
- package/dist/modules/oauth-server/protected-resource-resolvers/index.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/utils.d.ts +1 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/utils.js +8 -0
- package/dist/modules/oauth-server/protected-resource-resolvers/utils.js.map +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-mcp-test-trigger-resource.resolver.d.ts +3 -3
- 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 +3 -3
- 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.d.ts +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-test-trigger-resource.resolver.js +1 -1
- 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.d.ts +1 -1
- package/dist/modules/oauth-server/protected-resource-resolvers/workflow-webhook-trigger-resource.resolver.js.map +1 -1
- package/dist/modules/oauth-server/resource-gate.d.ts +1 -1
- package/dist/modules/oauth-server/resource-gate.js.map +1 -1
- package/dist/modules/oauth-server/resource-identity.d.ts +1 -1
- package/dist/modules/promotions.ee/constants.d.ts +1 -1
- package/dist/modules/promotions.ee/constants.js +1 -1
- package/dist/modules/promotions.ee/constants.js.map +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.d.ts +3 -2
- package/dist/modules/promotions.ee/database/entities/promotion-connection.entity.js.map +1 -1
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.d.ts +21 -0
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js +95 -0
- package/dist/modules/promotions.ee/database/entities/promotion-review.entity.js.map +1 -0
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.d.ts +18 -0
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.js +82 -0
- package/dist/modules/promotions.ee/database/entities/promotion-run.entity.js.map +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.d.ts +2 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js +6 -2
- package/dist/modules/promotions.ee/database/repositories/promotion-connection.repository.js.map +1 -1
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.d.ts +18 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js +61 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-review.repository.js.map +1 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.d.ts +9 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.js +33 -0
- package/dist/modules/promotions.ee/database/repositories/promotion-run.repository.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-target.d.ts +30 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-target.js +97 -0
- package/dist/modules/promotions.ee/git-hosts/git-host-target.js.map +1 -0
- package/dist/modules/promotions.ee/git-hosts/git-host.types.d.ts +12 -0
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.d.ts +4 -1
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js +73 -6
- package/dist/modules/promotions.ee/git-hosts/gitlab-host.client.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.d.ts +1 -0
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.js +12 -0
- package/dist/modules/promotions.ee/promotion-binding-preflight.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-config.resolver.js +3 -5
- package/dist/modules/promotions.ee/promotion-config.resolver.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-connections.service.d.ts +1 -0
- package/dist/modules/promotions.ee/promotion-connections.service.js +39 -12
- package/dist/modules/promotions.ee/promotion-connections.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotion-providers.service.d.ts +13 -0
- package/dist/modules/promotions.ee/promotion-providers.service.js +28 -0
- package/dist/modules/promotions.ee/promotion-providers.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions-git.service.d.ts +3 -0
- package/dist/modules/promotions.ee/promotions-git.service.js +30 -4
- package/dist/modules/promotions.ee/promotions-git.service.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.module.d.ts +1 -1
- package/dist/modules/promotions.ee/promotions.module.js +10 -1
- package/dist/modules/promotions.ee/promotions.module.js.map +1 -1
- package/dist/modules/promotions.ee/promotions.service.d.ts +0 -1
- package/dist/modules/promotions.ee/promotions.service.js +45 -19
- package/dist/modules/promotions.ee/promotions.service.js.map +1 -1
- package/dist/modules/provisioning.ee/provisioning.module.js +1 -1
- package/dist/modules/provisioning.ee/provisioning.module.js.map +1 -1
- package/dist/modules/provisioning.ee/provisioning.service.ee.d.ts +1 -0
- package/dist/modules/provisioning.ee/provisioning.service.ee.js +14 -2
- package/dist/modules/provisioning.ee/provisioning.service.ee.js.map +1 -1
- package/dist/modules/provisioning.ee/role-mapping-provider.ee.d.ts +1 -1
- package/dist/modules/provisioning.ee/role-resolver-types.d.ts +1 -1
- package/dist/modules/redaction/dynamic-credentials-context-hook.d.ts +1 -1
- package/dist/modules/redaction/dynamic-credentials-context-hook.js +2 -2
- package/dist/modules/redaction/dynamic-credentials-context-hook.js.map +1 -1
- package/dist/modules/redaction/executions/execution-redaction.interfaces.d.ts +3 -1
- package/dist/modules/redaction/executions/execution-redaction.service.d.ts +4 -2
- package/dist/modules/redaction/executions/execution-redaction.service.js +35 -11
- package/dist/modules/redaction/executions/execution-redaction.service.js.map +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.d.ts +1 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js +6 -1
- package/dist/modules/redaction/executions/strategies/full-item-redaction.strategy.js.map +1 -1
- package/dist/modules/redaction/executions/strategies/node-defined-field-redaction.strategy.d.ts +1 -1
- package/dist/modules/redaction/redaction.module.js +2 -2
- package/dist/modules/redaction/redaction.module.js.map +1 -1
- package/dist/modules/runtime-credentials/runtime-credentials-access.service.d.ts +1 -1
- package/dist/modules/runtime-credentials/runtime-credentials.module.js +2 -2
- package/dist/modules/runtime-credentials/runtime-credentials.module.js.map +1 -1
- package/dist/modules/scim/database/scim-api-key.repository.js +2 -2
- package/dist/modules/scim/database/scim-api-key.repository.js.map +1 -1
- package/dist/modules/scim/database/scim-user.repository.d.ts +23 -0
- package/dist/modules/scim/database/scim-user.repository.js +53 -0
- package/dist/modules/scim/database/scim-user.repository.js.map +1 -0
- package/dist/modules/scim/scim-body-parser.d.ts +2 -0
- package/dist/modules/scim/scim-body-parser.js +19 -0
- package/dist/modules/scim/scim-body-parser.js.map +1 -0
- package/dist/modules/scim/scim-discovery.controller.js +84 -7
- package/dist/modules/scim/scim-discovery.controller.js.map +1 -1
- package/dist/modules/scim/scim-route.js +2 -1
- package/dist/modules/scim/scim-route.js.map +1 -1
- package/dist/modules/scim/scim-token.service.d.ts +1 -2
- package/dist/modules/scim/scim-token.service.js +1 -2
- package/dist/modules/scim/scim-token.service.js.map +1 -1
- package/dist/modules/scim/scim.controller.d.ts +19 -0
- package/dist/modules/scim/scim.controller.js +163 -0
- package/dist/modules/scim/scim.controller.js.map +1 -0
- package/dist/modules/scim/scim.errors.d.ts +13 -0
- package/dist/modules/scim/scim.errors.js +29 -0
- package/dist/modules/scim/scim.errors.js.map +1 -0
- package/dist/modules/scim/scim.module.js +1 -0
- package/dist/modules/scim/scim.module.js.map +1 -1
- package/dist/modules/scim/scim.service.d.ts +38 -0
- package/dist/modules/scim/scim.service.js +329 -0
- package/dist/modules/scim/scim.service.js.map +1 -0
- package/dist/modules/source-control.ee/source-control-git.service.ee.js +2 -0
- package/dist/modules/source-control.ee/source-control-git.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-helper.ee.js +6 -51
- package/dist/modules/source-control.ee/source-control-helper.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +3 -2
- package/dist/modules/source-control.ee/source-control-import.service.ee.js +59 -13
- package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
- package/dist/modules/source-control.ee/source-control.controller.ee.d.ts +4 -0
- package/dist/modules/source-control.ee/source-control.service.ee.d.ts +2 -0
- package/dist/modules/source-control.ee/source-control.service.ee.js +6 -1
- package/dist/modules/source-control.ee/source-control.service.ee.js.map +1 -1
- package/dist/modules/sso-oidc/oidc.service.ee.d.ts +1 -2
- package/dist/modules/sso-oidc/oidc.service.ee.js +1 -2
- package/dist/modules/sso-oidc/oidc.service.ee.js.map +1 -1
- package/dist/modules/token-exchange/services/jti-cleanup.task.d.ts +2 -3
- package/dist/modules/token-exchange/services/jti-cleanup.task.js +1 -2
- package/dist/modules/token-exchange/services/jti-cleanup.task.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 +2 -2
- package/dist/modules/token-exchange/services/scoped-jwt.strategy.js.map +1 -1
- package/dist/modules/token-exchange/services/token-exchange.service.d.ts +1 -1
- package/dist/modules/token-exchange/services/token-exchange.service.js +2 -2
- package/dist/modules/token-exchange/services/token-exchange.service.js.map +1 -1
- package/dist/modules/token-exchange/services/trusted-key-refresh.task.d.ts +2 -3
- package/dist/modules/token-exchange/services/trusted-key-refresh.task.js +1 -2
- package/dist/modules/token-exchange/services/trusted-key-refresh.task.js.map +1 -1
- package/dist/modules/token-exchange/token-exchange.module.js +1 -1
- package/dist/modules/token-exchange/token-exchange.module.js.map +1 -1
- package/dist/modules/type-availability-policies/credential-type-policy-instance.controller.d.ts +5 -7
- package/dist/modules/type-availability-policies/credential-type-policy-instance.controller.js +13 -1
- package/dist/modules/type-availability-policies/credential-type-policy-instance.controller.js.map +1 -1
- package/dist/modules/type-availability-policies/credential-type-policy-project.controller.d.ts +1 -1
- package/dist/modules/type-availability-policies/credential-type-policy.check.js +3 -14
- package/dist/modules/type-availability-policies/credential-type-policy.check.js.map +1 -1
- package/dist/modules/type-availability-policies/node-type-policy.check.js +2 -13
- package/dist/modules/type-availability-policies/node-type-policy.check.js.map +1 -1
- package/dist/modules/type-availability-policies/package-resolver.d.ts +2 -0
- package/dist/modules/type-availability-policies/package-resolver.js +17 -0
- package/dist/modules/type-availability-policies/package-resolver.js.map +1 -1
- package/dist/modules/type-availability-policies/policy-rule-lint.d.ts +14 -0
- package/dist/modules/type-availability-policies/policy-rule-lint.js +19 -0
- package/dist/modules/type-availability-policies/policy-rule-lint.js.map +1 -0
- package/dist/modules/type-availability-policies/policy-shadow-lint.d.ts +1 -0
- package/dist/modules/type-availability-policies/policy-shadow-lint.js +1 -1
- package/dist/modules/type-availability-policies/policy-shadow-lint.js.map +1 -1
- package/dist/modules/type-availability-policies/restricted-node-types.provider.d.ts +1 -1
- package/dist/modules/type-availability-policies/type-availability-policies.module.js +2 -2
- package/dist/modules/type-availability-policies/type-availability-policies.module.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.d.ts +5 -7
- package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.js +13 -1
- package/dist/modules/type-availability-policies/type-availability-policy-instance.controller.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy-project.controller.d.ts +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy.service.d.ts +10 -7
- package/dist/modules/type-availability-policies/type-availability-policy.service.js +39 -36
- package/dist/modules/type-availability-policies/type-availability-policy.service.js.map +1 -1
- package/dist/modules/type-availability-policies/type-violation.d.ts +10 -0
- package/dist/modules/type-availability-policies/type-violation.js +29 -0
- package/dist/modules/type-availability-policies/type-violation.js.map +1 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.d.ts +5 -5
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +12 -32
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-lifecycle.service.d.ts +1 -2
- package/dist/modules/workflow-reviews.ee/workflow-review-lifecycle.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.d.ts +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.d.ts +1 -3
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js +0 -21
- package/dist/modules/workflow-reviews.ee/workflow-review-requests.controller.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js +12 -4
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js.map +1 -1
- package/dist/node-execution/ephemeral-node-executor.d.ts +2 -0
- package/dist/node-execution/ephemeral-node-executor.js +21 -6
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/oauth/oauth.service.d.ts +3 -1
- package/dist/oauth/oauth.service.js +30 -3
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/output-schema-parameter-defaults.d.ts +7 -0
- package/dist/output-schema-parameter-defaults.js +23 -0
- package/dist/output-schema-parameter-defaults.js.map +1 -0
- package/dist/policy/policy-violation.error.d.ts +1 -0
- package/dist/policy/policy-violation.error.js +12 -0
- package/dist/policy/policy-violation.error.js.map +1 -1
- package/dist/public-api/idempotency-key-cleanup.task.d.ts +2 -3
- package/dist/public-api/idempotency-key-cleanup.task.js +6 -6
- package/dist/public-api/idempotency-key-cleanup.task.js.map +1 -1
- package/dist/public-api/idempotency-key.service.d.ts +9 -1
- package/dist/public-api/idempotency-key.service.js +41 -0
- package/dist/public-api/idempotency-key.service.js.map +1 -1
- package/dist/public-api/index.js +14 -138
- package/dist/public-api/index.js.map +1 -1
- package/dist/public-api/media-types/request-body/multipart-parser.js.map +1 -1
- package/dist/public-api/public-api-controller.registry.d.ts +12 -2
- package/dist/public-api/public-api-controller.registry.js +98 -12
- package/dist/public-api/public-api-controller.registry.js.map +1 -1
- package/dist/public-api/public-api-rate-limit.service.d.ts +17 -0
- package/dist/public-api/public-api-rate-limit.service.js +127 -0
- package/dist/public-api/public-api-rate-limit.service.js.map +1 -0
- package/dist/public-api/public-api-route-resolver.d.ts +0 -3
- package/dist/public-api/public-api-route-resolver.js +0 -19
- package/dist/public-api/public-api-route-resolver.js.map +1 -1
- package/dist/public-api/types.d.ts +1 -66
- package/dist/public-api/v1/controllers/credential-type-policies.public.controller.d.ts +1 -0
- package/dist/public-api/v1/controllers/credential-type-policies.public.controller.js +54 -29
- package/dist/public-api/v1/controllers/credential-type-policies.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/credentials.public.controller.d.ts +3 -1
- package/dist/public-api/v1/controllers/credentials.public.controller.js +22 -3
- package/dist/public-api/v1/controllers/credentials.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/executions.public.controller.d.ts +1 -2
- package/dist/public-api/v1/controllers/executions.public.controller.js +3 -5
- package/dist/public-api/v1/controllers/executions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/log-streaming.mapper.d.ts +3 -3
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.d.ts +3 -1
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.js +95 -2
- package/dist/public-api/v1/controllers/n8n-packages.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.d.ts +1 -0
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.js +54 -29
- package/dist/public-api/v1/controllers/node-type-policies.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.d.ts +5 -1
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js +29 -2
- package/dist/public-api/v1/controllers/openapi/n8n-packages.openapi.js.map +1 -1
- package/dist/public-api/v1/controllers/promotions.public.controller.d.ts +4 -1
- package/dist/public-api/v1/controllers/promotions.public.controller.js +70 -4
- package/dist/public-api/v1/controllers/promotions.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/source-control.public.controller.d.ts +2 -2
- package/dist/public-api/v1/controllers/source-control.public.controller.js +3 -2
- package/dist/public-api/v1/controllers/source-control.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +2 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js +13 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -1
- package/dist/public-api/v1/handlers/discover/discover.service.js +7 -86
- package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/decorator-routes.js +15 -5
- package/dist/public-api/v1/openapi-gen/decorator-routes.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/generate.d.ts +1 -1
- package/dist/public-api/v1/openapi-gen/generate.js +28 -47
- package/dist/public-api/v1/openapi-gen/generate.js.map +1 -1
- package/dist/public-api/v1/openapi.yml +3915 -3646
- package/dist/public-api/v1/public-api-error-response.d.ts +1 -2
- package/dist/public-api/v1/public-api-error-response.js +46 -2
- package/dist/public-api/v1/public-api-error-response.js.map +1 -1
- package/dist/requests.d.ts +6 -1
- package/dist/scaling/job-outcome-tracker.d.ts +7 -6
- package/dist/scaling/job-outcome-tracker.js +59 -38
- package/dist/scaling/job-outcome-tracker.js.map +1 -1
- package/dist/scaling/job-processor.d.ts +3 -0
- package/dist/scaling/job-processor.js +39 -0
- package/dist/scaling/job-processor.js.map +1 -1
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +1 -0
- package/dist/scaling/scaling.service.d.ts +1 -1
- package/dist/scaling/scaling.service.js +8 -5
- package/dist/scaling/scaling.service.js.map +1 -1
- package/dist/scaling/scaling.types.d.ts +1 -0
- package/dist/scaling/worker-status.service.ee.js +2 -2
- package/dist/scaling/worker-status.service.ee.js.map +1 -1
- package/dist/scheduling/durable-scheduler.js +3 -4
- package/dist/scheduling/durable-scheduler.js.map +1 -1
- package/dist/scheduling/poll-trigger-node/durable-poller-chain.js.map +1 -1
- package/dist/scheduling/poll-trigger-node/poll-job-provider.js.map +1 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.d.ts +0 -1
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js +1 -3
- package/dist/scheduling/schedule-trigger-node/schedule-trigger-job-registrar.js.map +1 -1
- package/dist/scheduling/system-tasks/in-memory-system-task-runner.d.ts +1 -0
- package/dist/scheduling/system-tasks/in-memory-system-task-runner.js +2 -2
- package/dist/scheduling/system-tasks/in-memory-system-task-runner.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-job-registrar.d.ts +9 -3
- package/dist/scheduling/system-tasks/system-task-job-registrar.js +16 -5
- package/dist/scheduling/system-tasks/system-task-job-registrar.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-run-observer.js +3 -3
- package/dist/scheduling/system-tasks/system-task-run-observer.js.map +1 -1
- package/dist/scheduling/system-tasks/system-task-runner.d.ts +1 -1
- package/dist/scheduling/system-tasks/system-task-runner.js +21 -21
- package/dist/scheduling/system-tasks/system-task-runner.js.map +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/dist/services/active-workflows.service.d.ts +6 -1
- package/dist/services/active-workflows.service.js +22 -8
- package/dist/services/active-workflows.service.js.map +1 -1
- package/dist/services/ai-workflow-builder.service.d.ts +1 -1
- package/dist/services/ai-workflow-builder.service.js +2 -2
- package/dist/services/ai-workflow-builder.service.js.map +1 -1
- package/dist/services/ai.service.d.ts +0 -1
- package/dist/services/ai.service.js +0 -4
- package/dist/services/ai.service.js.map +1 -1
- package/dist/services/api-key-auth.strategy.d.ts +2 -2
- package/dist/services/api-key-auth.strategy.js +4 -4
- package/dist/services/api-key-auth.strategy.js.map +1 -1
- package/dist/services/frontend.service.d.ts +3 -1
- package/dist/services/frontend.service.js +7 -2
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer.manifest.json +5 -0
- package/dist/services/pruning/activity-pruning.task.d.ts +2 -3
- package/dist/services/pruning/activity-pruning.task.js +8 -6
- package/dist/services/pruning/activity-pruning.task.js.map +1 -1
- package/dist/services/pruning/execution-pruning-hard-delete.task.d.ts +2 -5
- package/dist/services/pruning/execution-pruning-hard-delete.task.js +9 -4
- package/dist/services/pruning/execution-pruning-hard-delete.task.js.map +1 -1
- package/dist/services/pruning/execution-pruning-soft-delete.task.d.ts +2 -4
- package/dist/services/pruning/execution-pruning-soft-delete.task.js +6 -3
- package/dist/services/pruning/execution-pruning-soft-delete.task.js.map +1 -1
- package/dist/services/pruning/workflow-history-compaction-optimize.task.d.ts +2 -4
- package/dist/services/pruning/workflow-history-compaction-optimize.task.js +6 -3
- package/dist/services/pruning/workflow-history-compaction-optimize.task.js.map +1 -1
- package/dist/services/pruning/workflow-history-compaction-trim.task.d.ts +2 -5
- package/dist/services/pruning/workflow-history-compaction-trim.task.js +7 -4
- package/dist/services/pruning/workflow-history-compaction-trim.task.js.map +1 -1
- package/dist/services/pruning/workflow-history-compaction.service.d.ts +2 -10
- package/dist/services/pruning/workflow-history-compaction.service.js +2 -46
- package/dist/services/pruning/workflow-history-compaction.service.js.map +1 -1
- package/dist/services/pruning/workflow-history-pruning.task.d.ts +2 -4
- package/dist/services/pruning/workflow-history-pruning.task.js +9 -7
- package/dist/services/pruning/workflow-history-pruning.task.js.map +1 -1
- package/dist/services/public-api-key.service.d.ts +1 -1
- package/dist/services/public-api-key.service.js +2 -2
- package/dist/services/public-api-key.service.js.map +1 -1
- package/dist/services/rate-limit.service.d.ts +5 -0
- package/dist/services/rate-limit.service.js +14 -0
- package/dist/services/rate-limit.service.js.map +1 -1
- package/dist/services/session-cookie-auth.strategy.d.ts +1 -1
- package/dist/services/user.service.d.ts +1 -2
- package/dist/services/user.service.js +1 -2
- package/dist/services/user.service.js.map +1 -1
- package/dist/services/workflow-statistics-rollup.task.d.ts +4 -5
- package/dist/services/workflow-statistics-rollup.task.js +9 -10
- package/dist/services/workflow-statistics-rollup.task.js.map +1 -1
- package/dist/services/workflow-statistics.service.d.ts +0 -1
- package/dist/services/workflow-statistics.service.js +0 -5
- package/dist/services/workflow-statistics.service.js.map +1 -1
- package/dist/telemetry/telemetry-buffer-flush.task.d.ts +2 -3
- package/dist/telemetry/telemetry-buffer-flush.task.js +1 -5
- package/dist/telemetry/telemetry-buffer-flush.task.js.map +1 -1
- package/dist/telemetry/telemetry-pulse.task.d.ts +2 -5
- package/dist/telemetry/telemetry-pulse.task.js +7 -4
- package/dist/telemetry/telemetry-pulse.task.js.map +1 -1
- package/dist/user-management/email/node-mailer.js.map +1 -1
- package/dist/user-management/email/templates/migration-findings.handlebars +212 -0
- package/dist/user-management/email/user-management-mailer.d.ts +13 -1
- package/dist/user-management/email/user-management-mailer.js +22 -0
- package/dist/user-management/email/user-management-mailer.js.map +1 -1
- package/dist/utils/container-limits.d.ts +9 -0
- package/dist/utils/container-limits.js +59 -0
- package/dist/utils/container-limits.js.map +1 -0
- package/dist/utils/detect-runtime.d.ts +4 -0
- package/dist/utils/detect-runtime.js +27 -0
- package/dist/utils/detect-runtime.js.map +1 -0
- package/dist/utils/object-to-error.js +1 -1
- package/dist/utils/object-to-error.js.map +1 -1
- package/dist/utils.js +8 -3
- package/dist/utils.js.map +1 -1
- package/dist/wait-tracker.js +8 -0
- package/dist/wait-tracker.js.map +1 -1
- package/dist/webhooks/hitl-interaction-webhooks.js +4 -1
- package/dist/webhooks/hitl-interaction-webhooks.js.map +1 -1
- package/dist/webhooks/live-webhooks.d.ts +1 -1
- package/dist/webhooks/live-webhooks.js +2 -2
- package/dist/webhooks/live-webhooks.js.map +1 -1
- package/dist/webhooks/test-webhook-registrations.service.d.ts +1 -1
- package/dist/webhooks/waiting-forms.js +3 -2
- package/dist/webhooks/waiting-forms.js.map +1 -1
- package/dist/webhooks/waiting-webhooks.js +3 -0
- package/dist/webhooks/waiting-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-helpers.js +43 -27
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook-request-sanitizer.js +4 -2
- package/dist/webhooks/webhook-request-sanitizer.js.map +1 -1
- package/dist/webhooks/webhook.types.d.ts +2 -0
- package/dist/workflow-execute-additional-data.js +12 -9
- package/dist/workflow-execute-additional-data.js.map +1 -1
- package/dist/workflow-helpers.js +19 -3
- package/dist/workflow-helpers.js.map +1 -1
- package/dist/workflow-runner.js +6 -5
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/error-workflow-validation.service.d.ts +1 -1
- package/dist/workflows/error-workflow-validation.service.js +2 -2
- package/dist/workflows/error-workflow-validation.service.js.map +1 -1
- package/dist/workflows/publication/format-node-failures.d.ts +4 -0
- package/dist/workflows/publication/format-node-failures.js +6 -0
- package/dist/workflows/publication/format-node-failures.js.map +1 -1
- package/dist/workflows/publication/publication-status-reporter.d.ts +1 -1
- package/dist/workflows/publication/publication-status-reporter.js +9 -6
- package/dist/workflows/publication/publication-status-reporter.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-applier.d.ts +1 -1
- package/dist/workflows/publication/workflow-publication-applier.js +3 -4
- package/dist/workflows/publication/workflow-publication-applier.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.d.ts +2 -4
- package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.js +7 -7
- package/dist/workflows/publication/workflow-publication-outbox-cleanup.task.js.map +1 -1
- package/dist/workflows/publication/workflow-publication-status.service.d.ts +2 -0
- package/dist/workflows/publication/workflow-publication-status.service.js +14 -0
- package/dist/workflows/publication/workflow-publication-status.service.js.map +1 -1
- package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +1 -2
- package/dist/workflows/triggers/trigger-execution-context.factory.js +1 -2
- package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
- package/dist/workflows/workflow-execution.service.d.ts +1 -2
- package/dist/workflows/workflow-execution.service.js +1 -2
- package/dist/workflows/workflow-execution.service.js.map +1 -1
- package/dist/workflows/workflow-finder.service.d.ts +1 -0
- package/dist/workflows/workflow-finder.service.js +2 -1
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +1 -4
- package/dist/workflows/workflow.service.ee.d.ts +8 -5
- package/dist/workflows/workflow.service.ee.js +57 -12
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +1 -4
- package/dist/workflows/workflow.service.js.map +1 -1
- package/package.json +45 -44
- package/templates/admin-consent-callback.handlebars +19 -0
- package/dist/credentials/executing-user-identifier-proxy.d.ts +0 -7
- package/dist/credentials/executing-user-identifier-proxy.js +0 -25
- package/dist/credentials/executing-user-identifier-proxy.js.map +0 -1
- package/dist/credentials/executing-user-identifier.interface.d.ts +0 -4
- package/dist/credentials/executing-user-identifier.interface.js +0 -3
- package/dist/credentials/executing-user-identifier.interface.js.map +0 -1
- package/dist/executions/execution-redaction-proxy.service.d.ts +0 -7
- package/dist/executions/execution-redaction-proxy.service.js +0 -31
- package/dist/executions/execution-redaction-proxy.service.js.map +0 -1
- package/dist/executions/execution-redaction.d.ts +0 -21
- package/dist/executions/execution-redaction.js +0 -7
- package/dist/executions/execution-redaction.js.map +0 -1
- package/dist/jwks/jwks.registry.d.ts +0 -10
- package/dist/jwks/jwks.registry.js +0 -31
- package/dist/jwks/jwks.registry.js.map +0 -1
- package/dist/jwks/jwks.schemas.d.ts +0 -178
- package/dist/jwks/jwks.schemas.js +0 -31
- package/dist/jwks/jwks.schemas.js.map +0 -1
- package/dist/modules/agents/builder/agents-builder-prompts.d.ts +0 -16
- package/dist/modules/agents/builder/agents-builder-prompts.js +0 -425
- package/dist/modules/agents/builder/agents-builder-prompts.js.map +0 -1
- package/dist/modules/agents/builder/agents-builder.service.d.ts +0 -47
- package/dist/modules/agents/builder/agents-builder.service.js +0 -222
- package/dist/modules/agents/builder/agents-builder.service.js.map +0 -1
- package/dist/modules/agents/builder/errors.d.ts +0 -9
- package/dist/modules/agents/builder/errors.js +0 -22
- package/dist/modules/agents/builder/errors.js.map +0 -1
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.d.ts +0 -1
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +0 -62
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js.map +0 -1
- package/dist/modules/agents/builder/prompts/memory.prompt.d.ts +0 -1
- package/dist/modules/agents/builder/prompts/memory.prompt.js +0 -43
- package/dist/modules/agents/builder/prompts/memory.prompt.js.map +0 -1
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.d.ts +0 -2
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.js +0 -22
- package/dist/modules/agents/builder/prompts/planner-todos.prompt.js.map +0 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +0 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.js +0 -102
- package/dist/modules/agents/builder/prompts/tools.prompt.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/whatsapp-integration.js.map +0 -1
- package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.d.ts +0 -2
- package/dist/modules/breaking-changes/migrations/ai-transform-to-code.migration.js.map +0 -1
- package/dist/modules/data-table/middleware/branch-write-access-middleware.d.ts +0 -2
- package/dist/modules/data-table/middleware/branch-write-access-middleware.js +0 -14
- package/dist/modules/data-table/middleware/branch-write-access-middleware.js.map +0 -1
- package/dist/modules/instance-ai/eval/api-docs.d.ts +0 -1
- package/dist/modules/instance-ai/eval/api-docs.js +0 -78
- package/dist/modules/instance-ai/eval/api-docs.js.map +0 -1
- package/dist/modules/instance-ai/instance-ai-credit-display.d.ts +0 -9
- package/dist/modules/instance-ai/instance-ai-credit-display.js +0 -15
- package/dist/modules/instance-ai/instance-ai-credit-display.js.map +0 -1
- package/dist/modules/quick-connect/handlers/firecrawl.handler.d.ts +0 -13
- package/dist/modules/quick-connect/handlers/firecrawl.handler.js +0 -50
- package/dist/modules/quick-connect/handlers/firecrawl.handler.js.map +0 -1
- package/dist/modules/quick-connect/handlers/handler.interface.d.ts +0 -9
- package/dist/modules/quick-connect/handlers/handler.interface.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.config.d.ts +0 -462
- package/dist/modules/quick-connect/quick-connect.config.js +0 -72
- package/dist/modules/quick-connect/quick-connect.config.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.controller.d.ts +0 -10
- package/dist/modules/quick-connect/quick-connect.controller.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.errors.d.ts +0 -5
- package/dist/modules/quick-connect/quick-connect.errors.js +0 -12
- package/dist/modules/quick-connect/quick-connect.errors.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.module.d.ts +0 -49
- package/dist/modules/quick-connect/quick-connect.module.js +0 -36
- package/dist/modules/quick-connect/quick-connect.module.js.map +0 -1
- package/dist/modules/quick-connect/quick-connect.service.d.ts +0 -13
- package/dist/modules/quick-connect/quick-connect.service.js +0 -61
- package/dist/modules/quick-connect/quick-connect.service.js.map +0 -1
- package/dist/modules/workflow-builder/index.d.ts +0 -3
- package/dist/modules/workflow-builder/index.js +0 -10
- package/dist/modules/workflow-builder/index.js.map +0 -1
- package/dist/modules/workflow-builder/workflow-builder-session.entity.d.ts +0 -26
- package/dist/modules/workflow-builder/workflow-builder-session.entity.js +0 -72
- package/dist/modules/workflow-builder/workflow-builder-session.entity.js.map +0 -1
- package/dist/modules/workflow-builder/workflow-builder-session.repository.d.ts +0 -10
- package/dist/modules/workflow-builder/workflow-builder-session.repository.js +0 -79
- package/dist/modules/workflow-builder/workflow-builder-session.repository.js.map +0 -1
- package/dist/modules/workflow-builder/workflow-builder.module.d.ts +0 -4
- package/dist/modules/workflow-builder/workflow-builder.module.js.map +0 -1
- package/dist/oauth/oauth-jwe-service.proxy.d.ts +0 -19
- package/dist/oauth/oauth-jwe-service.proxy.js +0 -32
- package/dist/oauth/oauth-jwe-service.proxy.js.map +0 -1
- package/dist/public-api/v1/handlers/decorator-routed.handler.d.ts +0 -2
- package/dist/public-api/v1/handlers/decorator-routed.handler.js +0 -10
- package/dist/public-api/v1/handlers/decorator-routed.handler.js.map +0 -1
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.d.ts +0 -9
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +0 -113
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +0 -1
- package/dist/public-api/v1/shared/handler.types.d.ts +0 -9
- package/dist/public-api/v1/shared/handler.types.js +0 -3
- package/dist/public-api/v1/shared/handler.types.js.map +0 -1
- package/dist/public-api/v1/shared/middlewares/global.middleware.d.ts +0 -31
- package/dist/public-api/v1/shared/middlewares/global.middleware.js +0 -126
- package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +0 -1
- package/dist/public-api/v1/shared/public-api-scope-lookup.d.ts +0 -5
- package/dist/public-api/v1/shared/public-api-scope-lookup.js +0 -60
- package/dist/public-api/v1/shared/public-api-scope-lookup.js.map +0 -1
- package/dist/services/auth-strategy.registry.d.ts +0 -8
- package/dist/services/auth-strategy.registry.js +0 -44
- package/dist/services/auth-strategy.registry.js.map +0 -1
- package/dist/services/auth-strategy.types.d.ts +0 -10
- package/dist/services/auth-strategy.types.js +0 -3
- package/dist/services/auth-strategy.types.js.map +0 -1
- package/dist/services/instance-activation.service.d.ts +0 -10
- package/dist/services/instance-activation.service.js +0 -48
- package/dist/services/instance-activation.service.js.map +0 -1
- package/dist/services/instance-registry-proxy.service.d.ts +0 -11
- package/dist/services/instance-registry-proxy.service.js +0 -33
- package/dist/services/instance-registry-proxy.service.js.map +0 -1
- package/dist/services/jwt.service.d.ts +0 -24
- package/dist/services/jwt.service.js +0 -104
- package/dist/services/jwt.service.js.map +0 -1
- package/dist/services/oauth-token-verifier-proxy.service.d.ts +0 -33
- package/dist/services/oauth-token-verifier-proxy.service.js +0 -36
- package/dist/services/oauth-token-verifier-proxy.service.js.map +0 -1
- package/dist/services/oauth2-flow-proxy.service.d.ts +0 -13
- package/dist/services/oauth2-flow-proxy.service.js +0 -39
- package/dist/services/oauth2-flow-proxy.service.js.map +0 -1
- package/dist/services/protected-resource.registry.d.ts +0 -25
- package/dist/services/protected-resource.registry.js +0 -124
- package/dist/services/protected-resource.registry.js.map +0 -1
- package/dist/services/role-mapping-proxy.service.d.ts +0 -53
- package/dist/services/role-mapping-proxy.service.js +0 -26
- package/dist/services/role-mapping-proxy.service.js.map +0 -1
- package/dist/services/runtime-credential-proxy.service.d.ts +0 -9
- package/dist/services/runtime-credential-proxy.service.js +0 -29
- package/dist/services/runtime-credential-proxy.service.js.map +0 -1
- package/dist/services/token-purposes.d.ts +0 -21
- package/dist/services/token-purposes.js +0 -27
- package/dist/services/token-purposes.js.map +0 -1
- package/dist/workflows/restricted-node-types-provider-proxy.service.d.ts +0 -9
- package/dist/workflows/restricted-node-types-provider-proxy.service.js +0 -26
- package/dist/workflows/restricted-node-types-provider-proxy.service.js.map +0 -1
- package/dist/workflows/workflow-mutation-hooks-proxy.service.d.ts +0 -24
- package/dist/workflows/workflow-mutation-hooks-proxy.service.js +0 -38
- package/dist/workflows/workflow-mutation-hooks-proxy.service.js.map +0 -1
- package/dist/workflows/workflow-publish-guard-proxy.service.d.ts +0 -8
- package/dist/workflows/workflow-publish-guard-proxy.service.js +0 -26
- package/dist/workflows/workflow-publish-guard-proxy.service.js.map +0 -1
- package/dist/workflows/workflow-published-data.service.d.ts +0 -19
- package/dist/workflows/workflow-published-data.service.js +0 -70
- package/dist/workflows/workflow-published-data.service.js.map +0 -1
- /package/dist/modules/breaking-changes/migrations/{ai-transform-to-code.migration.js → node-removals/ai-transform-to-code.migration.js} +0 -0
|
@@ -1,222 +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.AgentsBuilderService = void 0;
|
|
13
|
-
const agents_1 = require("@n8n/agents");
|
|
14
|
-
const backend_common_1 = require("@n8n/backend-common");
|
|
15
|
-
const config_1 = require("@n8n/config");
|
|
16
|
-
const di_1 = require("@n8n/di");
|
|
17
|
-
const instance_ai_1 = require("@n8n/instance-ai");
|
|
18
|
-
const errors_1 = require("@n8n/errors");
|
|
19
|
-
const node_catalog_1 = require("../../../node-catalog");
|
|
20
|
-
const instance_ai_credit_service_1 = require("../../instance-ai/instance-ai-credit.service");
|
|
21
|
-
const agents_service_1 = require("../agents.service");
|
|
22
|
-
const model_stream_stall_options_1 = require("../model-stream-stall-options");
|
|
23
|
-
const agent_builder_preview_path_1 = require("./agent-builder-preview-path");
|
|
24
|
-
const agents_builder_model_recommendations_1 = require("./agents-builder-model-recommendations");
|
|
25
|
-
const agents_builder_prompts_1 = require("./agents-builder-prompts");
|
|
26
|
-
const agents_builder_tools_service_1 = require("./agents-builder-tools.service");
|
|
27
|
-
const errors_2 = require("./errors");
|
|
28
|
-
const planner_todos_prompt_1 = require("./prompts/planner-todos.prompt");
|
|
29
|
-
const skills_1 = require("./skills");
|
|
30
|
-
const n8n_checkpoint_storage_1 = require("../integrations/n8n-checkpoint-storage");
|
|
31
|
-
const n8n_memory_1 = require("../integrations/n8n-memory");
|
|
32
|
-
const agent_stream_1 = require("../utils/agent-stream");
|
|
33
|
-
let AgentsBuilderService = class AgentsBuilderService {
|
|
34
|
-
constructor(logger, agentsService, nodeCatalogService, agentsBuilderToolsService, n8nMemory, instanceAiCreditService, n8nCheckpointStorage, aiConfig) {
|
|
35
|
-
this.logger = logger;
|
|
36
|
-
this.agentsService = agentsService;
|
|
37
|
-
this.nodeCatalogService = nodeCatalogService;
|
|
38
|
-
this.agentsBuilderToolsService = agentsBuilderToolsService;
|
|
39
|
-
this.n8nMemory = n8nMemory;
|
|
40
|
-
this.instanceAiCreditService = instanceAiCreditService;
|
|
41
|
-
this.n8nCheckpointStorage = n8nCheckpointStorage;
|
|
42
|
-
this.aiConfig = aiConfig;
|
|
43
|
-
}
|
|
44
|
-
async *buildAgent(agentId, projectId, message, credentialProvider, credentialService, user, session) {
|
|
45
|
-
const builder = await this.createBuilderAgent(agentId, projectId, credentialProvider, credentialService, user, session);
|
|
46
|
-
this.logger.debug('Starting builder agent stream', { agentId, projectId });
|
|
47
|
-
const resourceId = user.id;
|
|
48
|
-
const resultStream = await builder.stream(message, {
|
|
49
|
-
persistence: { threadId: session.threadId, resourceId },
|
|
50
|
-
abortSignal: session.abortSignal,
|
|
51
|
-
recoverUsageOnAbort: true,
|
|
52
|
-
...(0, model_stream_stall_options_1.modelStreamStallOptions)(this.aiConfig),
|
|
53
|
-
});
|
|
54
|
-
yield* this.streamFromAgent(resultStream);
|
|
55
|
-
}
|
|
56
|
-
async *resumeBuild(agentId, projectId, runId, toolCallId, resumeData, credentialProvider, credentialService, user, session) {
|
|
57
|
-
const checkpointStatus = await this.n8nCheckpointStorage.getStatus(runId, agentId);
|
|
58
|
-
if (checkpointStatus.status === 'expired') {
|
|
59
|
-
this.logger.debug('Builder checkpoint unavailable', {
|
|
60
|
-
runId,
|
|
61
|
-
status: checkpointStatus.status,
|
|
62
|
-
});
|
|
63
|
-
throw new errors_2.BuilderCheckpointUnavailableError('expired');
|
|
64
|
-
}
|
|
65
|
-
if (checkpointStatus.status === 'not-found') {
|
|
66
|
-
this.logger.debug('Builder checkpoint unavailable', {
|
|
67
|
-
runId,
|
|
68
|
-
status: checkpointStatus.status,
|
|
69
|
-
});
|
|
70
|
-
throw new errors_2.BuilderCheckpointUnavailableError('not-found');
|
|
71
|
-
}
|
|
72
|
-
const builder = await this.createBuilderAgent(agentId, projectId, credentialProvider, credentialService, user, session);
|
|
73
|
-
this.logger.debug('Resuming builder agent', { agentId, runId, toolCallId });
|
|
74
|
-
const resultStream = await builder.resume('stream', resumeData, {
|
|
75
|
-
runId,
|
|
76
|
-
toolCallId,
|
|
77
|
-
abortSignal: session.abortSignal,
|
|
78
|
-
recoverUsageOnAbort: true,
|
|
79
|
-
...(0, model_stream_stall_options_1.modelStreamStallOptions)(this.aiConfig),
|
|
80
|
-
});
|
|
81
|
-
yield* this.streamFromAgent(resultStream);
|
|
82
|
-
}
|
|
83
|
-
async cancelCheckpoint(agentId, runId) {
|
|
84
|
-
await this.n8nCheckpointStorage.delete(runId, agentId);
|
|
85
|
-
}
|
|
86
|
-
async createBuilderAgent(agentId, projectId, credentialProvider, credentialService, user, session) {
|
|
87
|
-
const agent = await this.agentsService.findById(agentId, projectId);
|
|
88
|
-
if (!agent) {
|
|
89
|
-
throw new errors_1.NotFoundError(`Agent "${agentId}" not found`);
|
|
90
|
-
}
|
|
91
|
-
void this.nodeCatalogService.initialize().catch((error) => {
|
|
92
|
-
this.logger.warn('Failed to initialize node catalog in builder warmup', {
|
|
93
|
-
error: error instanceof Error ? error.message : String(error),
|
|
94
|
-
agentId,
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
const modelConfig = session.modelConfig;
|
|
98
|
-
const finalInstructions = this.createBuilderInstructions(session);
|
|
99
|
-
const sessionContext = await this.createBuilderSessionContext(projectId, agentId);
|
|
100
|
-
const runtimeSkills = (0, skills_1.getBuilderRuntimeSkills)();
|
|
101
|
-
const tools = this.agentsBuilderToolsService.getTools(agentId, projectId, credentialProvider, credentialService, user, {
|
|
102
|
-
threadId: session.hostThreadId,
|
|
103
|
-
runId: session.runId,
|
|
104
|
-
...(session.useEvalModelCatalog ? { useEvalModelCatalog: true } : {}),
|
|
105
|
-
});
|
|
106
|
-
const { Agent } = await import('@n8n/agents');
|
|
107
|
-
const builderMemory = await this.createBuilderMemory(agentId, user, session);
|
|
108
|
-
const builder = new Agent('agent-builder')
|
|
109
|
-
.model(modelConfig)
|
|
110
|
-
.instructions(finalInstructions)
|
|
111
|
-
.volatileInstructionsProvider(async () => sessionContext)
|
|
112
|
-
.skills(runtimeSkills)
|
|
113
|
-
.memory(builderMemory)
|
|
114
|
-
.checkpoint(this.n8nCheckpointStorage.getStorage(agentId))
|
|
115
|
-
.configuration({ maxIterations: 100 });
|
|
116
|
-
const promptCaching = (0, instance_ai_1.resolveAIAPromptCaching)(modelConfig);
|
|
117
|
-
if (promptCaching) {
|
|
118
|
-
builder.promptCaching(promptCaching);
|
|
119
|
-
}
|
|
120
|
-
if (session.telemetry)
|
|
121
|
-
builder.telemetry(session.telemetry);
|
|
122
|
-
if (session.memoryTaskObserver)
|
|
123
|
-
builder.memoryTaskObserver(session.memoryTaskObserver);
|
|
124
|
-
await this.registerBuilderTools(builder, tools, agentId, session);
|
|
125
|
-
builder.reasoning((0, instance_ai_1.resolveAIAReasoning)(modelConfig));
|
|
126
|
-
return builder;
|
|
127
|
-
}
|
|
128
|
-
async *streamFromAgent(resultStream) {
|
|
129
|
-
for await (const value of (0, agent_stream_1.streamAgentChunks)(resultStream.stream)) {
|
|
130
|
-
yield value;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
async findOpenCheckpointForThread(agentId, threadId) {
|
|
134
|
-
return await this.n8nCheckpointStorage.findSuspendedForThread(agentId, threadId);
|
|
135
|
-
}
|
|
136
|
-
async claimMemoryUsage(report, agentId, user, session) {
|
|
137
|
-
try {
|
|
138
|
-
const items = (0, instance_ai_1.tokenUsageToBuilderUsageItems)(report.model, report.usage);
|
|
139
|
-
if (items.length === 0)
|
|
140
|
-
return;
|
|
141
|
-
await this.instanceAiCreditService.claimRunUsage(user, session.hostThreadId, `${session.runId}:agent-builder:${agentId}:memory:${report.task}:${report.reportId}`, items, 'completed');
|
|
142
|
-
}
|
|
143
|
-
catch (error) {
|
|
144
|
-
this.logger.warn('Failed to claim agent-builder observational-memory usage', {
|
|
145
|
-
agentId,
|
|
146
|
-
hostThreadId: session.hostThreadId,
|
|
147
|
-
runId: session.runId,
|
|
148
|
-
task: report.task,
|
|
149
|
-
error: error instanceof Error ? error.message : String(error),
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
createBuilderInstructions(session) {
|
|
154
|
-
const instructions = (0, agents_builder_prompts_1.buildBuilderPrompt)();
|
|
155
|
-
return session.instructionsAddendum
|
|
156
|
-
? `${instructions}\n\n${session.instructionsAddendum}`
|
|
157
|
-
: instructions;
|
|
158
|
-
}
|
|
159
|
-
async createBuilderSessionContext(projectId, agentId) {
|
|
160
|
-
return (0, agents_builder_prompts_1.buildBuilderSessionContext)({
|
|
161
|
-
agentPreviewPath: (0, agent_builder_preview_path_1.buildAgentPreviewPath)(projectId, agentId),
|
|
162
|
-
modelRecommendationsSection: await (0, agents_builder_model_recommendations_1.getModelRecommendationsSection)(),
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
async createBuilderMemory(agentId, user, session) {
|
|
166
|
-
const { Memory } = await import('@n8n/agents');
|
|
167
|
-
const onMemoryUsage = async (report) => await this.claimMemoryUsage(report, agentId, user, session);
|
|
168
|
-
return new Memory().storage(this.n8nMemory.getImplementation(agentId)).observationalMemory({
|
|
169
|
-
observe: (0, agents_1.createObservationLogObserveFn)(session.modelConfig, { onUsage: onMemoryUsage }),
|
|
170
|
-
reflect: (0, agents_1.createObservationLogReflectFn)(session.modelConfig, { onUsage: onMemoryUsage }),
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
async registerBuilderTools(builder, tools, agentId, session) {
|
|
174
|
-
const { createPlannerTodosTool } = await import('@n8n/agents');
|
|
175
|
-
const plannerTodosTool = createPlannerTodosTool({
|
|
176
|
-
description: planner_todos_prompt_1.BUILDER_PLANNER_TODOS_DESCRIPTION,
|
|
177
|
-
systemInstruction: planner_todos_prompt_1.BUILDER_PLANNER_TODOS_SYSTEM_INSTRUCTION,
|
|
178
|
-
});
|
|
179
|
-
const reportRequiredArtifactTool = await this.createRequiredArtifactTool(session);
|
|
180
|
-
const builderTools = [
|
|
181
|
-
...tools.json,
|
|
182
|
-
...tools.shared,
|
|
183
|
-
plannerTodosTool,
|
|
184
|
-
...(reportRequiredArtifactTool ? [reportRequiredArtifactTool] : []),
|
|
185
|
-
];
|
|
186
|
-
const claimedToolNames = new Set(builderTools.map((tool) => tool.name));
|
|
187
|
-
for (const tool of builderTools) {
|
|
188
|
-
builder.tool(tool);
|
|
189
|
-
}
|
|
190
|
-
for (const [toolName, tool] of session.mcpTools ?? []) {
|
|
191
|
-
if (claimedToolNames.has(toolName)) {
|
|
192
|
-
this.logger.warn('Skipped MCP tool that conflicts with an agent builder tool', {
|
|
193
|
-
toolName,
|
|
194
|
-
agentId,
|
|
195
|
-
});
|
|
196
|
-
continue;
|
|
197
|
-
}
|
|
198
|
-
claimedToolNames.add(toolName);
|
|
199
|
-
builder.tool(tool);
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
async createRequiredArtifactTool(session) {
|
|
203
|
-
if (!session.onRequiredArtifact)
|
|
204
|
-
return undefined;
|
|
205
|
-
const { Tool } = await import('@n8n/agents');
|
|
206
|
-
return new Tool(instance_ai_1.REPORT_REQUIRED_ARTIFACT_TOOL_NAME)
|
|
207
|
-
.description('Report a workflow or data table that Instance AI must create outside the target Agent. ' +
|
|
208
|
-
'Use relationship "agent-entrypoint" for a channel bridge that invokes the Agent; it will not be attached as an Agent tool.')
|
|
209
|
-
.input(instance_ai_1.reportRequiredArtifactInputSchema)
|
|
210
|
-
.handler(async (input) => {
|
|
211
|
-
session.onRequiredArtifact?.(input.artifact);
|
|
212
|
-
return { ok: true };
|
|
213
|
-
})
|
|
214
|
-
.build();
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
exports.AgentsBuilderService = AgentsBuilderService;
|
|
218
|
-
exports.AgentsBuilderService = AgentsBuilderService = __decorate([
|
|
219
|
-
(0, di_1.Service)(),
|
|
220
|
-
__metadata("design:paramtypes", [backend_common_1.Logger, agents_service_1.AgentsService, node_catalog_1.NodeCatalogService, agents_builder_tools_service_1.AgentsBuilderToolsService, n8n_memory_1.N8nMemory, instance_ai_credit_service_1.InstanceAiCreditService, n8n_checkpoint_storage_1.N8NCheckpointStorage, config_1.AiConfig])
|
|
221
|
-
], AgentsBuilderService);
|
|
222
|
-
//# sourceMappingURL=agents-builder.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agents-builder.service.js","sourceRoot":"","sources":["../../../../src/modules/agents/builder/agents-builder.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAYA,wCAA2F;AAC3F,wDAA6C;AAC7C,wCAAuC;AAEvC,gCAAkC;AAClC,kDAU0B;AAE1B,wCAA4C;AAC5C,iDAAoD;AAEpD,6FAAuF;AACvF,sDAAkD;AAClD,8EAAwE;AACxE,6EAAqE;AACrE,iGAAwF;AACxF,qEAA0F;AAC1F,iFAA8F;AAC9F,qCAA6D;AAC7D,yEAGwC;AACxC,qCAAmD;AACnD,mFAA8E;AAC9E,2DAAuD;AACvD,wDAA0D;AA4CnD,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAChC,YACkB,MAAc,EACd,aAA4B,EAC5B,kBAAsC,EACtC,yBAAoD,EACpD,SAAoB,EACpB,uBAAgD,EAChD,oBAA0C,EAC1C,QAAkB;sBAPlB,MAAM;6BACN,aAAa;kCACb,kBAAkB;yCAClB,yBAAyB;y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ADhC,IAAA,YAAO,GAAE;qCAGiB,uBAAM,EACC,8BAAa,EACR,iCAAkB,EACX,wDAAyB,EACzC,sBAAS,EACK,oDAAuB,EAC1B,6CAAoB,EAChC,iBAAQ;GATxB,oBAAoB,CA6UhC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { UserError } from 'n8n-workflow';
|
|
2
|
-
export declare class BuilderNotConfiguredError extends UserError {
|
|
3
|
-
readonly code: "BUILDER_NOT_CONFIGURED";
|
|
4
|
-
constructor();
|
|
5
|
-
}
|
|
6
|
-
export declare class BuilderCheckpointUnavailableError extends UserError {
|
|
7
|
-
readonly code: "BUILDER_CHECKPOINT_UNAVAILABLE";
|
|
8
|
-
constructor(reason: 'expired' | 'not-found');
|
|
9
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BuilderCheckpointUnavailableError = exports.BuilderNotConfiguredError = void 0;
|
|
4
|
-
const api_types_1 = require("@n8n/api-types");
|
|
5
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
6
|
-
class BuilderNotConfiguredError extends n8n_workflow_1.UserError {
|
|
7
|
-
constructor() {
|
|
8
|
-
super('Agent builder is not configured. An admin must select a provider and credential, or configure the n8n AI assistant proxy.');
|
|
9
|
-
this.code = api_types_1.BUILDER_NOT_CONFIGURED_CODE;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.BuilderNotConfiguredError = BuilderNotConfiguredError;
|
|
13
|
-
class BuilderCheckpointUnavailableError extends n8n_workflow_1.UserError {
|
|
14
|
-
constructor(reason) {
|
|
15
|
-
super(reason === 'expired'
|
|
16
|
-
? 'The builder question this answer belongs to has expired and can no longer be resumed.'
|
|
17
|
-
: 'The builder question this answer belongs to no longer exists.');
|
|
18
|
-
this.code = api_types_1.BUILDER_CHECKPOINT_UNAVAILABLE_CODE;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.BuilderCheckpointUnavailableError = BuilderCheckpointUnavailableError;
|
|
22
|
-
//# sourceMappingURL=errors.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/modules/agents/builder/errors.ts"],"names":[],"mappings":";;;AAAA,8CAAkG;AAClG,+CAAyC;AAOzC,+BAAuC,SAAQ,wBAAS;IAGvD;QACC,KAAK,CACJ,2HAA2H,CAC3H,CAAC;QALM,SAAI,GAAG,uCAA2B,CAAC;IAM5C,CAAC;CACD;;AAED,uCAA+C,SAAQ,wBAAS;IAG/D,YAAY,MAA+B;QAC1C,KAAK,CACJ,MAAM,KAAK,SAAS;YACnB,CAAC,CAAC,uFAAuF;YACzF,CAAC,CAAC,+DAA+D,CAClE,CAAC;QAPM,SAAI,GAAG,+CAAmC,CAAC;IAQpD,CAAC;CACD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const LLM_SELECTION_PROMPT = "## LLM Selection Guidance\n\n### Purpose\n\nUse this to resolve the target agent's main `model` and `credential`.\n\n### Workflow\n\n1. For fresh agents, call `agent-context({ type: \"config\" })` first. If `model` and `credential` are already set (the system auto-selected a sensible default at creation), keep them and mention the choice as changeable in your summary \u2014 do not call `resolve_llm`. Otherwise call `resolve_llm` once, silently, before the first config write \u2014 with provider/model when the user named them, otherwise with no arguments.\n2. If `resolve_llm` succeeds, persist `model = \"{provider}/{model}\"` and `credential = credentialId`. If the result has `claimedFreeOpenAiCredits: true`, tell the user you set them up with free OpenAI credits. If the result's `credentialName` is \"Gateway credits\" (its `credentialId` is the managed tag), persist it like any credential and tell the user the model runs on Gateway credits \u2014 never surface the internal \"n8n Connect\" or \"AI Gateway\" names. If it has `autoPicked: true`, tell the user which provider and model you picked and that they can ask to change it \u2014 do not ask for confirmation and do not raise a trailing model question.\n3. If the user asks to pick, change, confirm, or configure a model or main credential, ask via `ask_questions`; do not ask in prose.\n - Exception \u2014 when the user explicitly asks to use Gateway credits for the main model, do NOT ask: call `resolve_llm` with `useGatewayCredits: true` (and `provider` when the user named one). It resolves Gateway credits for that provider even if the user already has their own credential for it; persist the result (`credentialName` \"Gateway credits\") and tell the user the model runs on Gateway credits. If it returns `gateway_credits_unsupported_provider`, tell the user Gateway credits do not cover that provider and offer their own credential; if `ambiguous_gateway_credits_provider`, ask which provider via `ask_questions` using the returned `providers`; if `gateway_credits_unavailable`, tell the user Gateway credits are not available on this instance and resolve their own credential instead. On `unknown_model`, retry with a value from the returned `availableModels` or surface those options.\n4. During an initial build, if `resolve_llm` reports missing or ambiguous credentials/provider, do not ask: mark the model task `blocked`, keep building with `model: \"\"` and no `credential`, and include the model choice as a question in the trailing `finish_setup` call \u2014 for ambiguity between multiple credentials of one provider, use the credential names from the resolve_llm result as the question's options \u2014 when it resolves, call `resolve_llm` with the answer (pass `credentialId` when the user picked a specific credential) and patch `/model` and `/credential` \u2014 base the patch on the `config` and `configHash` that `finish_setup` returned, and check that config first, since the user may have already set the model in the panel. For a model change on an existing agent, ask immediately instead, and never write `model: \"\"` over an existing model \u2014 keep the current model and credential until the new one is resolved.\n5. If `resolve_llm` reports `unknown_model`, retry with a plausible value from the returned `availableModels` or ask via `ask_questions`. This can happen on the default no-model path too, when the credential cannot reach the provider's default model \u2014 the returned `availableModels` is that credential's live list, so pick from it rather than guessing or reusing the id you just tried. That list is capped \u2014 when `availableModelsTruncated: true` it is only a sample of `totalAvailableModels`, so ask via `ask_questions` instead of assuming the model the user wants is absent. If it reports `model_lookup_failed` (the provider's model list could not be fetched, e.g. a transient error \u2014 possible even on the default no-model path), retry `resolve_llm`; do not guess a model.\n6. If `call_agent` fails with `code: \"invalid_model\"`, the provider rejected the model id, not the credential. Do not tell the user to check, revoke, or regenerate their API key. Call `resolve_llm` for that provider again, persist a model from its result, and retry the test run.\n7. If the model is still unresolved when the user asks to run or publish the agent, leave the draft with `model: \"\"`, do not guess a model, and tell the user the agent needs a model and credential first \u2014 in the panel or here in chat. If they dismiss a model-change question on an existing agent, keep the current model and credential unchanged.\n\n### Rules\n\n- Do not enable `config.webSearch` before the model is resolved; set it in\n the same mutation that writes the resolved model. If `config.webSearch` is\n already enabled, leave it enabled unless the user asked to turn it off.\n An unresolved model is not a reason to disable it.\n- Only OpenAI and Anthropic models support native web search. Use native web\n search by default for those providers only, and only for\n fresh agents or agents with no existing `config.webSearch`. Persist\n `config.webSearch = { \"enabled\": true, \"provider\": \"native\" }` unless the\n user asks to disable web search. Do not write native `providerTools`; the\n write path derives them.\n- When changing models, preserve existing Brave or SearXNG\n `config.webSearch` unchanged, including its credential, even if the new\n model supports native search. Switch fallback search to native only when the\n user explicitly asks for native/provider web search.\n- For every provider other than OpenAI or Anthropic, web search requires\n fallback search: call `ask_credential`, then use `provider: \"brave\"` or\n `provider: \"searxng\"`.\n- If the user explicitly asks for Brave or SearXNG, keep that provider even\n when the selected model also supports native search.\n- For \"Anthropic via OpenRouter\", pass `provider: \"openrouter\"`; if the user names a routed model, pass the routed id without adding another provider prefix.\n- Model recommendations are in the \"Recommended LLM Models\" part of the Session context section.\n- Prefer a provider the user already has credentials for when choosing from recommendations.\n- Never copy main LLM credential IDs from `list_credentials`.\n\n### Gotchas\n\n- Use `resolve_llm` only for the target agent's main model credential.\n- Use `ask_credential` for node tools, MCP servers, and fallback web-search credentials.\n Never use it for chat-channel credentials. For Episodic Memory, load\n `agent-builder-memory` and use `ask_embedding_credential` instead.\n- For OpenRouter, `provider` is `\"openrouter\"`; the model can be a routed id such as `anthropic/...`.\n- Do not recommend current, best, latest, or fallback model IDs from memory when the recommendation catalog is unavailable.\n\n### Verify\n\n- The persisted `model` is in `provider/model` form.\n- The persisted `credential` came from `resolve_llm`.\n- Existing Brave or SearXNG `config.webSearch` is preserved on model changes unless the user explicitly requested a web-search method change.";
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LLM_SELECTION_PROMPT = void 0;
|
|
4
|
-
exports.LLM_SELECTION_PROMPT = `\
|
|
5
|
-
## LLM Selection Guidance
|
|
6
|
-
|
|
7
|
-
### Purpose
|
|
8
|
-
|
|
9
|
-
Use this to resolve the target agent's main \`model\` and \`credential\`.
|
|
10
|
-
|
|
11
|
-
### Workflow
|
|
12
|
-
|
|
13
|
-
1. For fresh agents, call \`agent-context({ type: "config" })\` first. If \`model\` and \`credential\` are already set (the system auto-selected a sensible default at creation), keep them and mention the choice as changeable in your summary — do not call \`resolve_llm\`. Otherwise call \`resolve_llm\` once, silently, before the first config write — with provider/model when the user named them, otherwise with no arguments.
|
|
14
|
-
2. If \`resolve_llm\` succeeds, persist \`model = "{provider}/{model}"\` and \`credential = credentialId\`. If the result has \`claimedFreeOpenAiCredits: true\`, tell the user you set them up with free OpenAI credits. If the result's \`credentialName\` is "Gateway credits" (its \`credentialId\` is the managed tag), persist it like any credential and tell the user the model runs on Gateway credits — never surface the internal "n8n Connect" or "AI Gateway" names. If it has \`autoPicked: true\`, tell the user which provider and model you picked and that they can ask to change it — do not ask for confirmation and do not raise a trailing model question.
|
|
15
|
-
3. If the user asks to pick, change, confirm, or configure a model or main credential, ask via \`ask_questions\`; do not ask in prose.
|
|
16
|
-
- Exception — when the user explicitly asks to use Gateway credits for the main model, do NOT ask: call \`resolve_llm\` with \`useGatewayCredits: true\` (and \`provider\` when the user named one). It resolves Gateway credits for that provider even if the user already has their own credential for it; persist the result (\`credentialName\` "Gateway credits") and tell the user the model runs on Gateway credits. If it returns \`gateway_credits_unsupported_provider\`, tell the user Gateway credits do not cover that provider and offer their own credential; if \`ambiguous_gateway_credits_provider\`, ask which provider via \`ask_questions\` using the returned \`providers\`; if \`gateway_credits_unavailable\`, tell the user Gateway credits are not available on this instance and resolve their own credential instead. On \`unknown_model\`, retry with a value from the returned \`availableModels\` or surface those options.
|
|
17
|
-
4. During an initial build, if \`resolve_llm\` reports missing or ambiguous credentials/provider, do not ask: mark the model task \`blocked\`, keep building with \`model: ""\` and no \`credential\`, and include the model choice as a question in the trailing \`finish_setup\` call — for ambiguity between multiple credentials of one provider, use the credential names from the resolve_llm result as the question's options — when it resolves, call \`resolve_llm\` with the answer (pass \`credentialId\` when the user picked a specific credential) and patch \`/model\` and \`/credential\` — base the patch on the \`config\` and \`configHash\` that \`finish_setup\` returned, and check that config first, since the user may have already set the model in the panel. For a model change on an existing agent, ask immediately instead, and never write \`model: ""\` over an existing model — keep the current model and credential until the new one is resolved.
|
|
18
|
-
5. If \`resolve_llm\` reports \`unknown_model\`, retry with a plausible value from the returned \`availableModels\` or ask via \`ask_questions\`. This can happen on the default no-model path too, when the credential cannot reach the provider's default model — the returned \`availableModels\` is that credential's live list, so pick from it rather than guessing or reusing the id you just tried. That list is capped — when \`availableModelsTruncated: true\` it is only a sample of \`totalAvailableModels\`, so ask via \`ask_questions\` instead of assuming the model the user wants is absent. If it reports \`model_lookup_failed\` (the provider's model list could not be fetched, e.g. a transient error — possible even on the default no-model path), retry \`resolve_llm\`; do not guess a model.
|
|
19
|
-
6. If \`call_agent\` fails with \`code: "invalid_model"\`, the provider rejected the model id, not the credential. Do not tell the user to check, revoke, or regenerate their API key. Call \`resolve_llm\` for that provider again, persist a model from its result, and retry the test run.
|
|
20
|
-
7. If the model is still unresolved when the user asks to run or publish the agent, leave the draft with \`model: ""\`, do not guess a model, and tell the user the agent needs a model and credential first — in the panel or here in chat. If they dismiss a model-change question on an existing agent, keep the current model and credential unchanged.
|
|
21
|
-
|
|
22
|
-
### Rules
|
|
23
|
-
|
|
24
|
-
- Do not enable \`config.webSearch\` before the model is resolved; set it in
|
|
25
|
-
the same mutation that writes the resolved model. If \`config.webSearch\` is
|
|
26
|
-
already enabled, leave it enabled unless the user asked to turn it off.
|
|
27
|
-
An unresolved model is not a reason to disable it.
|
|
28
|
-
- Only OpenAI and Anthropic models support native web search. Use native web
|
|
29
|
-
search by default for those providers only, and only for
|
|
30
|
-
fresh agents or agents with no existing \`config.webSearch\`. Persist
|
|
31
|
-
\`config.webSearch = { "enabled": true, "provider": "native" }\` unless the
|
|
32
|
-
user asks to disable web search. Do not write native \`providerTools\`; the
|
|
33
|
-
write path derives them.
|
|
34
|
-
- When changing models, preserve existing Brave or SearXNG
|
|
35
|
-
\`config.webSearch\` unchanged, including its credential, even if the new
|
|
36
|
-
model supports native search. Switch fallback search to native only when the
|
|
37
|
-
user explicitly asks for native/provider web search.
|
|
38
|
-
- For every provider other than OpenAI or Anthropic, web search requires
|
|
39
|
-
fallback search: call \`ask_credential\`, then use \`provider: "brave"\` or
|
|
40
|
-
\`provider: "searxng"\`.
|
|
41
|
-
- If the user explicitly asks for Brave or SearXNG, keep that provider even
|
|
42
|
-
when the selected model also supports native search.
|
|
43
|
-
- For "Anthropic via OpenRouter", pass \`provider: "openrouter"\`; if the user names a routed model, pass the routed id without adding another provider prefix.
|
|
44
|
-
- Model recommendations are in the "Recommended LLM Models" part of the Session context section.
|
|
45
|
-
- Prefer a provider the user already has credentials for when choosing from recommendations.
|
|
46
|
-
- Never copy main LLM credential IDs from \`list_credentials\`.
|
|
47
|
-
|
|
48
|
-
### Gotchas
|
|
49
|
-
|
|
50
|
-
- Use \`resolve_llm\` only for the target agent's main model credential.
|
|
51
|
-
- Use \`ask_credential\` for node tools, MCP servers, and fallback web-search credentials.
|
|
52
|
-
Never use it for chat-channel credentials. For Episodic Memory, load
|
|
53
|
-
\`agent-builder-memory\` and use \`ask_embedding_credential\` instead.
|
|
54
|
-
- For OpenRouter, \`provider\` is \`"openrouter"\`; the model can be a routed id such as \`anthropic/...\`.
|
|
55
|
-
- Do not recommend current, best, latest, or fallback model IDs from memory when the recommendation catalog is unavailable.
|
|
56
|
-
|
|
57
|
-
### Verify
|
|
58
|
-
|
|
59
|
-
- The persisted \`model\` is in \`provider/model\` form.
|
|
60
|
-
- The persisted \`credential\` came from \`resolve_llm\`.
|
|
61
|
-
- Existing Brave or SearXNG \`config.webSearch\` is preserved on model changes unless the user explicitly requested a web-search method change.`;
|
|
62
|
-
//# sourceMappingURL=llm-selection.prompt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"llm-selection.prompt.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/prompts/llm-selection.prompt.ts"],"names":[],"mappings":";;;AAIa,QAAA,oBAAoB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gJAyD4G,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const MEMORY_PROMPT = "## Memory Guidance\n\n### Purpose\n\nUse this to configure the target agent's memory behavior.\n\n### Workflow\n\nFresh agents must include this default memory config unless the user explicitly asks to disable or change memory:\n```json\n{\n \"enabled\": true,\n \"storage\": \"n8n\",\n \"observationalMemory\": {\n \"enabled\": true\n }\n}\n```\n\nThis is the configurable agent's session memory. The runtime-managed\n`observationalMemory` settings tune that memory behavior; they are not a\nseparate user-facing memory product.\n\nLoad `agent-builder-memory` for Episodic/long-term/cross-session memory,\nobserver/reflector/extractor worker models, threshold/budget tuning, or\ndisabling memory. Do not load it for ordinary fresh-agent creation.\n\n### Rules\n\n- When creating a new agent, always write the exact default `memory` object above.\n- Set `storage` to \"n8n\".\n- Set `observationalMemory.enabled` to `true` for new agents unless the user explicitly asks to disable observational memory.\n- Preserve existing memory tuning unless the user asked to change it.\n\n### Verify\n\n- Fresh agents have enabled n8n memory unless explicitly disabled.\n- Fresh agents set `observationalMemory.enabled` to `true` unless explicitly disabled.";
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MEMORY_PROMPT = void 0;
|
|
4
|
-
exports.MEMORY_PROMPT = `\
|
|
5
|
-
## Memory Guidance
|
|
6
|
-
|
|
7
|
-
### Purpose
|
|
8
|
-
|
|
9
|
-
Use this to configure the target agent's memory behavior.
|
|
10
|
-
|
|
11
|
-
### Workflow
|
|
12
|
-
|
|
13
|
-
Fresh agents must include this default memory config unless the user explicitly asks to disable or change memory:
|
|
14
|
-
\`\`\`json
|
|
15
|
-
{
|
|
16
|
-
"enabled": true,
|
|
17
|
-
"storage": "n8n",
|
|
18
|
-
"observationalMemory": {
|
|
19
|
-
"enabled": true
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
\`\`\`
|
|
23
|
-
|
|
24
|
-
This is the configurable agent's session memory. The runtime-managed
|
|
25
|
-
\`observationalMemory\` settings tune that memory behavior; they are not a
|
|
26
|
-
separate user-facing memory product.
|
|
27
|
-
|
|
28
|
-
Load \`agent-builder-memory\` for Episodic/long-term/cross-session memory,
|
|
29
|
-
observer/reflector/extractor worker models, threshold/budget tuning, or
|
|
30
|
-
disabling memory. Do not load it for ordinary fresh-agent creation.
|
|
31
|
-
|
|
32
|
-
### Rules
|
|
33
|
-
|
|
34
|
-
- When creating a new agent, always write the exact default \`memory\` object above.
|
|
35
|
-
- Set \`storage\` to "n8n".
|
|
36
|
-
- Set \`observationalMemory.enabled\` to \`true\` for new agents unless the user explicitly asks to disable observational memory.
|
|
37
|
-
- Preserve existing memory tuning unless the user asked to change it.
|
|
38
|
-
|
|
39
|
-
### Verify
|
|
40
|
-
|
|
41
|
-
- Fresh agents have enabled n8n memory unless explicitly disabled.
|
|
42
|
-
- Fresh agents set \`observationalMemory.enabled\` to \`true\` unless explicitly disabled.`;
|
|
43
|
-
//# sourceMappingURL=memory.prompt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"memory.prompt.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/prompts/memory.prompt.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAsC8D,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BUILDER_PLANNER_TODOS_SYSTEM_INSTRUCTION = exports.BUILDER_PLANNER_TODOS_DESCRIPTION = void 0;
|
|
4
|
-
exports.BUILDER_PLANNER_TODOS_DESCRIPTION = 'Create or update a structured task list for the current build. Use it to decompose the work, ' +
|
|
5
|
-
'track progress, and record which tasks are blocked on user input. Use it for every build or ' +
|
|
6
|
-
'change request. This tool only updates the task list; it does not perform work or ask the user.';
|
|
7
|
-
exports.BUILDER_PLANNER_TODOS_SYSTEM_INSTRUCTION = [
|
|
8
|
-
'write_todos maintains your plan for the current build. It never asks the user or performs work itself.',
|
|
9
|
-
'WHEN TO USE write_todos:',
|
|
10
|
-
'- Every request that builds or changes the agent, before other tool calls.',
|
|
11
|
-
'- You need to track progress or record tasks blocked on user input.',
|
|
12
|
-
'WHEN NOT TO USE write_todos:',
|
|
13
|
-
'- Purely conversational replies with no build work.',
|
|
14
|
-
'HOW TO USE write_todos:',
|
|
15
|
-
'- Write concrete, self-contained tasks; mark the first active task in_progress immediately.',
|
|
16
|
-
'- Mark a task blocked when it cannot proceed without user input, and state exactly what input is missing in the task content.',
|
|
17
|
-
'- Marking a task blocked IS the action for now. Do not ask the user about it while any non-blocked task remains; continue with unblocked tasks.',
|
|
18
|
-
'- When only blocked tasks remain: during an initial build, follow the Initial Build rules (call finish_setup); otherwise end your turn with a summary of what is missing, and unblock and finish the tasks in later turns as the user provides input.',
|
|
19
|
-
'- Update task status as soon as work completes; do not batch completions at the end.',
|
|
20
|
-
'- Do not call write_todos multiple times in parallel; send one full list update at a time.',
|
|
21
|
-
].join('\n');
|
|
22
|
-
//# sourceMappingURL=planner-todos.prompt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"planner-todos.prompt.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/prompts/planner-todos.prompt.ts"],"names":[],"mappings":";;;AAMa,QAAA,iCAAiC,GAC7C,+FAA+F;IAC/F,8FAA8F;IAC9F,iGAAiG,CAAC;AAEtF,QAAA,wCAAwC,GAAG;IACvD,wGAAwG;IACxG,0BAA0B;IAC1B,4EAA4E;IAC5E,qEAAqE;IACrE,8BAA8B;IAC9B,qDAAqD;IACrD,yBAAyB;IACzB,6FAA6F;IAC7F,+HAA+H;IAC/H,iJAAiJ;IACjJ,uPAAuP;IACvP,sFAAsF;IACtF,4FAA4F;CAC5F,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TOOLS_PROMPT = "## Tool Guidance\n\n### Purpose\n\nUse this to give the target agent callable capabilities through MCP servers,\nworkflows, nodes, custom code tools, or provider tools.\n\n### Workflow\n\nUse this guidance before calling `agent-context`, `search_nodes`,\n`get_node_types`, `build_custom_tool`, or adding,\nchanging, or removing entries in `tools[]` / `mcpServers` / `providerTools`.\n\nFor an external product, load `agent-builder-external-services` once and\nfollow it. It covers the chat-integration-versus-callable-tool decision, chat\nintegration setup, and MCP servers. Load `agent-builder-node-tools` before\nconfiguring a node tool.\n\n- Chat/trigger integration: call `agent-context({ type: \"integrations\" })`, then\n `configure_channel` with a returned type. Do not use the queried\n integration lookup for chat/trigger integrations.\n- A configured chat integration generates its own context and action tools for\n every top-level Agent run, including scheduled tasks. When its capabilities\n include the requested action, do not add a same-platform node, MCP, or\n workflow tool. A scheduled or proactive message with no inbound conversation\n is not, by itself, a reason to add another tool.\n- Callable external service: the conversation or trigger happens elsewhere and\n the agent only operates on the product. For each requested non-chat callable\n service, call `agent-context` with `type: \"integrations\"` separately, using `queries` as\n alternative search terms for that one service. Do not infer MCP availability\n from memory.\n - `kind: \"mcp\"`: follow the skill's MCP Servers section \u2014 credential,\n verification, and config workflow.\n - `kind: \"node\"`: load `agent-builder-node-tools`, use the returned node\n results, and continue with `get_node_types`.\n\nUse `search_nodes` directly only when the user explicitly asks for an n8n node,\nwhen refining node results, or when a verified MCP server lacks the requested\ncapability. Refine MCP results with another `agent-context` integration query.\n\nPreference order for non-chat callable services:\n1. MCP servers returned in the `agent-context` integration result\n2. Node tools returned in the `agent-context` integration result\n3. Workflow tools (`agent-context({ type: \"attachable-workflows\" })`)\n4. Custom tools (`build_custom_tool`) \u2014 last resort\n\nCustom tools are for pure computation, validation, formatting, or planning logic;\nthey cannot perform live network, filesystem, process, timer, or host I/O.\n\n#### Workflow Tools\n\n- Call `agent-context({ type: \"attachable-workflows\" })`; reference supported workflows with `{ \"type\": \"workflow\", \"workflowId\": \"<id>\", \"workflow\": \"<name>\" }` using both values it returns.\n\n#### Node Tools\n\nLoad `agent-builder-node-tools` before adding, changing, or removing\nnode-backed tools, `nodeParameters`, `$fromAI` usage, or n8n expressions.\nFor an HTTP Request Tool, use only an exact URL explicitly supplied by the\nuser. If the user has not supplied one during an initial build, you MUST ask\nfor it through the trailing `finish_setup` call, then configure the tool with\nthe answer. On later turns, use `ask_questions` before mutating the config.\nNever infer or invent a URL.\n\n#### MCP Servers\n\nLoad `agent-builder-external-services` when the user explicitly requests a\ncustom MCP server, and follow its MCP Servers section.\n\n#### Custom Tools\n\nCustom tools are last resort and only for pure computation. Load\n`agent-builder-custom-tools` before calling `build_custom_tool`.\n\n#### Provider Tools\n\n- Match provider tools to the configured model provider.\n- Anthropic: `providerTools[\"anthropic.web_search\"]`.\n- OpenAI: `providerTools[\"openai.web_search\"]` or `providerTools[\"openai.image_generation\"]`, only for compatible OpenAI models.\n\n### Gotchas\n\n- Generic web search must use `config.webSearch`; never add an HTTP Request\n Tool unless the user explicitly requests direct HTTP, API, or specific-page\n fetching.\n- Live crawling, fetching, and API integrations need MCP, workflow, or node tools, not custom tools.\n- Do not invent MCP servers, node type names, workflow names, credential ids, or provider tool keys.\n- Do not duplicate an action already supplied by a configured chat integration.\n\n### Verify\n\n- Chat/trigger integrations used the unqueried `agent-context` channel list\n and were set up through `configure_channel`.\n- Each non-chat callable service was resolved separately through\n `agent-context` integration search unless the user explicitly requested an n8n node or\n custom MCP server.\n- Workflow tools reference discovered workflow IDs and names.\n- Provider tool keys match the configured model provider and the valid key list.";
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TOOLS_PROMPT = void 0;
|
|
4
|
-
exports.TOOLS_PROMPT = `\
|
|
5
|
-
## Tool Guidance
|
|
6
|
-
|
|
7
|
-
### Purpose
|
|
8
|
-
|
|
9
|
-
Use this to give the target agent callable capabilities through MCP servers,
|
|
10
|
-
workflows, nodes, custom code tools, or provider tools.
|
|
11
|
-
|
|
12
|
-
### Workflow
|
|
13
|
-
|
|
14
|
-
Use this guidance before calling \`agent-context\`, \`search_nodes\`,
|
|
15
|
-
\`get_node_types\`, \`build_custom_tool\`, or adding,
|
|
16
|
-
changing, or removing entries in \`tools[]\` / \`mcpServers\` / \`providerTools\`.
|
|
17
|
-
|
|
18
|
-
For an external product, load \`agent-builder-external-services\` once and
|
|
19
|
-
follow it. It covers the chat-integration-versus-callable-tool decision, chat
|
|
20
|
-
integration setup, and MCP servers. Load \`agent-builder-node-tools\` before
|
|
21
|
-
configuring a node tool.
|
|
22
|
-
|
|
23
|
-
- Chat/trigger integration: call \`agent-context({ type: "integrations" })\`, then
|
|
24
|
-
\`configure_channel\` with a returned type. Do not use the queried
|
|
25
|
-
integration lookup for chat/trigger integrations.
|
|
26
|
-
- A configured chat integration generates its own context and action tools for
|
|
27
|
-
every top-level Agent run, including scheduled tasks. When its capabilities
|
|
28
|
-
include the requested action, do not add a same-platform node, MCP, or
|
|
29
|
-
workflow tool. A scheduled or proactive message with no inbound conversation
|
|
30
|
-
is not, by itself, a reason to add another tool.
|
|
31
|
-
- Callable external service: the conversation or trigger happens elsewhere and
|
|
32
|
-
the agent only operates on the product. For each requested non-chat callable
|
|
33
|
-
service, call \`agent-context\` with \`type: "integrations"\` separately, using \`queries\` as
|
|
34
|
-
alternative search terms for that one service. Do not infer MCP availability
|
|
35
|
-
from memory.
|
|
36
|
-
- \`kind: "mcp"\`: follow the skill's MCP Servers section — credential,
|
|
37
|
-
verification, and config workflow.
|
|
38
|
-
- \`kind: "node"\`: load \`agent-builder-node-tools\`, use the returned node
|
|
39
|
-
results, and continue with \`get_node_types\`.
|
|
40
|
-
|
|
41
|
-
Use \`search_nodes\` directly only when the user explicitly asks for an n8n node,
|
|
42
|
-
when refining node results, or when a verified MCP server lacks the requested
|
|
43
|
-
capability. Refine MCP results with another \`agent-context\` integration query.
|
|
44
|
-
|
|
45
|
-
Preference order for non-chat callable services:
|
|
46
|
-
1. MCP servers returned in the \`agent-context\` integration result
|
|
47
|
-
2. Node tools returned in the \`agent-context\` integration result
|
|
48
|
-
3. Workflow tools (\`agent-context({ type: "attachable-workflows" })\`)
|
|
49
|
-
4. Custom tools (\`build_custom_tool\`) — last resort
|
|
50
|
-
|
|
51
|
-
Custom tools are for pure computation, validation, formatting, or planning logic;
|
|
52
|
-
they cannot perform live network, filesystem, process, timer, or host I/O.
|
|
53
|
-
|
|
54
|
-
#### Workflow Tools
|
|
55
|
-
|
|
56
|
-
- Call \`agent-context({ type: "attachable-workflows" })\`; reference supported workflows with \`{ "type": "workflow", "workflowId": "<id>", "workflow": "<name>" }\` using both values it returns.
|
|
57
|
-
|
|
58
|
-
#### Node Tools
|
|
59
|
-
|
|
60
|
-
Load \`agent-builder-node-tools\` before adding, changing, or removing
|
|
61
|
-
node-backed tools, \`nodeParameters\`, \`$fromAI\` usage, or n8n expressions.
|
|
62
|
-
For an HTTP Request Tool, use only an exact URL explicitly supplied by the
|
|
63
|
-
user. If the user has not supplied one during an initial build, you MUST ask
|
|
64
|
-
for it through the trailing \`finish_setup\` call, then configure the tool with
|
|
65
|
-
the answer. On later turns, use \`ask_questions\` before mutating the config.
|
|
66
|
-
Never infer or invent a URL.
|
|
67
|
-
|
|
68
|
-
#### MCP Servers
|
|
69
|
-
|
|
70
|
-
Load \`agent-builder-external-services\` when the user explicitly requests a
|
|
71
|
-
custom MCP server, and follow its MCP Servers section.
|
|
72
|
-
|
|
73
|
-
#### Custom Tools
|
|
74
|
-
|
|
75
|
-
Custom tools are last resort and only for pure computation. Load
|
|
76
|
-
\`agent-builder-custom-tools\` before calling \`build_custom_tool\`.
|
|
77
|
-
|
|
78
|
-
#### Provider Tools
|
|
79
|
-
|
|
80
|
-
- Match provider tools to the configured model provider.
|
|
81
|
-
- Anthropic: \`providerTools["anthropic.web_search"]\`.
|
|
82
|
-
- OpenAI: \`providerTools["openai.web_search"]\` or \`providerTools["openai.image_generation"]\`, only for compatible OpenAI models.
|
|
83
|
-
|
|
84
|
-
### Gotchas
|
|
85
|
-
|
|
86
|
-
- Generic web search must use \`config.webSearch\`; never add an HTTP Request
|
|
87
|
-
Tool unless the user explicitly requests direct HTTP, API, or specific-page
|
|
88
|
-
fetching.
|
|
89
|
-
- Live crawling, fetching, and API integrations need MCP, workflow, or node tools, not custom tools.
|
|
90
|
-
- Do not invent MCP servers, node type names, workflow names, credential ids, or provider tool keys.
|
|
91
|
-
- Do not duplicate an action already supplied by a configured chat integration.
|
|
92
|
-
|
|
93
|
-
### Verify
|
|
94
|
-
|
|
95
|
-
- Chat/trigger integrations used the unqueried \`agent-context\` channel list
|
|
96
|
-
and were set up through \`configure_channel\`.
|
|
97
|
-
- Each non-chat callable service was resolved separately through
|
|
98
|
-
\`agent-context\` integration search unless the user explicitly requested an n8n node or
|
|
99
|
-
custom MCP server.
|
|
100
|
-
- Workflow tools reference discovered workflow IDs and names.
|
|
101
|
-
- Provider tool keys match the configured model provider and the valid key list.`;
|
|
102
|
-
//# sourceMappingURL=tools.prompt.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tools.prompt.js","sourceRoot":"","sources":["../../../../../src/modules/agents/builder/prompts/tools.prompt.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iFAiGqD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp-integration.js","sourceRoot":"","sources":["../../../../../src/modules/agents/integrations/platforms/whatsapp-integration.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,wDAA6C;AAC7C,gCAAkC;AAClC,oDAAgD;AAChD,4CAAyC;AAEzC,uCAA4C;AAC5C,+CAA2D;AAI3D,0EAAsE;AACtE,sEAOmC;AACnC,8DAAoG;AACpG,0EAAoE;AACpE,0DAI6B;AAC7B,0DAAiE;AACjE,8CAAiE;AACjE,gEAAgG;AAChG,kFAAsF;AACtF,0EAA2E;AAW3E,MAAM,mCAAmC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAShE,MAAM,6CAA6C,GAAG,EAAE,CAAC;AAGzD,MAAM,0BAA0B,GAAG,CAAC,CAAC;AAErC,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAU3C,MAAM,+BAA+B,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC;AAOjF,MAAM,6BAA6B,GAAG,MAAM,CAAC;AAE7C,MAAM,gCAAgC,GAAG,CAAC,CAAC;AAC3C,MAAM,mCAAmC,GAAG,KAAK,CAAC;AAClD,MAAM,kCAAkC,GAAG,KAAK,CAAC;AA4B1C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,6CAAoB;IAkE5D,YACkB,MAAc,EACd,eAAgC,EAChC,gBAAkC,EAClC,qBAA4C;QAE7D,KAAK,EAAE,CAAC;QALS,WAAM,GAAN,MAAM,CAAQ;QACd,oBAAe,GAAf,eAAe,CAAiB;QAChC,qBAAgB,GAAhB,gBAAgB,CAAkB;QAClC,0BAAqB,GAArB,qBAAqB,CAAuB;QArErD,SAAI,GAAG,UAAU,CAAC;QAElB,oBAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAErC,iBAAY,GAAG,UAAU,CAAC;QAE1B,gBAAW,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oBAAoB,CAClC,IAAyB,EACzB,GAAY,EACZ,QAAgB,EAChB,MAAc;IAEd,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IAC5B,IAAI,CAAC;QACJ,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC5D,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QACrD,IAAI,aAA+B,CAAC;QACpC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;YAChC,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI;gBAAE,SAAS;YAClC,aAAa,GAAG,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAC3C,CAAC;QACD,OAAO,aAAa,CAAC;IACtB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,CAAC,IAAI,CAAC,8EAA8E,EAAE;YAC3F,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;SAC7D,CAAC,CAAC;QACH,OAAO,SAAS,CAAC;IAClB,CAAC;AACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-transform-to-code.migration.js","sourceRoot":"","sources":["../../../../src/modules/breaking-changes/migrations/ai-transform-to-code.migration.ts"],"names":[],"mappings":";;;AAaa,QAAA,iBAAiB,GAAkB;IAC/C,MAAM,EAAE,yBAAyB;IACjC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;QACjB,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;QACtC,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CACd,iJAAiJ,CACjJ,CAAC;QACH,CAAC;QAED,OAAO;YACN,IAAI,EAAE;gBACL,IAAI,EAAE,qBAAqB;gBAC3B,WAAW,EAAE,CAAC;gBACd,UAAU,EAAE;oBACX,IAAI,EAAE,oBAAoB;oBAC1B,QAAQ,EAAE,YAAY;oBACtB,MAAM;iBACN;aACD;SACD,CAAC;IACH,CAAC;CACD,CAAC"}
|