n8n 2.34.3 → 2.35.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/active-workflow-manager.js +2 -14
- package/dist/active-workflow-manager.js.map +1 -1
- package/dist/agent-library-bundle.js +6 -6
- package/dist/build.tsbuildinfo +1 -1
- package/dist/controllers/ai.controller.js +3 -0
- package/dist/controllers/ai.controller.js.map +1 -1
- package/dist/controllers/role.controller.d.ts +0 -1
- package/dist/controllers/role.controller.js +6 -14
- package/dist/controllers/role.controller.js.map +1 -1
- package/dist/credentials/credentials.controller.d.ts +1 -1
- package/dist/credentials/credentials.controller.js +7 -1
- package/dist/credentials/credentials.controller.js.map +1 -1
- package/dist/credentials/credentials.service.d.ts +2 -1
- package/dist/credentials/credentials.service.js +24 -0
- package/dist/credentials/credentials.service.js.map +1 -1
- package/dist/credentials-helper.js +4 -7
- package/dist/credentials-helper.js.map +1 -1
- package/dist/deprecation/deprecation.service.js +5 -0
- package/dist/deprecation/deprecation.service.js.map +1 -1
- package/dist/eventbus/event-message-classes/index.js.map +1 -1
- package/dist/events/maps/relay.event-map.d.ts +9 -0
- package/dist/events/relays/telemetry.event-relay.d.ts +4 -2
- package/dist/events/relays/telemetry.event-relay.js +23 -7
- package/dist/events/relays/telemetry.event-relay.js.map +1 -1
- package/dist/execution-lifecycle/execute-error-workflow.js +19 -5
- package/dist/execution-lifecycle/execute-error-workflow.js.map +1 -1
- package/dist/execution-lifecycle/execution-lifecycle-hooks.js.map +1 -1
- package/dist/executions/execution-persistence.d.ts +6 -4
- package/dist/executions/execution-persistence.js +7 -14
- package/dist/executions/execution-persistence.js.map +1 -1
- package/dist/executions/execution.service.d.ts +31 -2
- package/dist/executions/execution.service.js +108 -1
- package/dist/executions/execution.service.js.map +1 -1
- package/dist/middlewares/body-parser.js +3 -2
- package/dist/middlewares/body-parser.js.map +1 -1
- package/dist/middlewares/cors.js +1 -1
- package/dist/middlewares/cors.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-rating.service.d.ts +12 -15
- package/dist/modules/agent-evals/agent-eval-rating.service.js +33 -46
- package/dist/modules/agent-evals/agent-eval-rating.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-record-mappers.d.ts +3 -2
- package/dist/modules/agent-evals/agent-eval-record-mappers.js +13 -0
- package/dist/modules/agent-evals/agent-eval-record-mappers.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval-runner.service.js +15 -7
- package/dist/modules/agent-evals/agent-eval-runner.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-eval.service.d.ts +8 -3
- package/dist/modules/agent-evals/agent-eval.service.js +6 -6
- package/dist/modules/agent-evals/agent-eval.service.js.map +1 -1
- package/dist/modules/agent-evals/agent-evals-required-modules.js +2 -2
- package/dist/modules/agent-evals/agent-evals-required-modules.js.map +1 -1
- package/dist/modules/agent-evals/agent-evals.controller.d.ts +12 -4
- package/dist/modules/agent-evals/agent-evals.controller.js +50 -9
- package/dist/modules/agent-evals/agent-evals.controller.js.map +1 -1
- package/dist/modules/agents/agent-chat.controller.d.ts +3 -5
- package/dist/modules/agents/agent-chat.controller.js +19 -25
- package/dist/modules/agents/agent-chat.controller.js.map +1 -1
- package/dist/modules/agents/agent-config.service.d.ts +5 -1
- package/dist/modules/agents/agent-config.service.js +10 -3
- package/dist/modules/agents/agent-config.service.js.map +1 -1
- package/dist/modules/agents/agent-credential-index.listener.d.ts +11 -0
- package/dist/modules/agents/agent-credential-index.listener.js +55 -0
- package/dist/modules/agents/agent-credential-index.listener.js.map +1 -0
- package/dist/modules/agents/agent-credential-index.service.d.ts +14 -0
- package/dist/modules/agents/agent-credential-index.service.js +57 -0
- package/dist/modules/agents/agent-credential-index.service.js.map +1 -0
- package/dist/modules/agents/agent-execution-orchestrator.service.d.ts +5 -0
- package/dist/modules/agents/agent-execution-orchestrator.service.js +89 -23
- package/dist/modules/agents/agent-execution-orchestrator.service.js.map +1 -1
- package/dist/modules/agents/agent-execution-update-broadcaster.d.ts +20 -0
- package/dist/modules/agents/agent-execution-update-broadcaster.js +65 -0
- package/dist/modules/agents/agent-execution-update-broadcaster.js.map +1 -0
- package/dist/modules/agents/agent-execution.service.d.ts +30 -4
- package/dist/modules/agents/agent-execution.service.js +217 -46
- package/dist/modules/agents/agent-execution.service.js.map +1 -1
- package/dist/modules/agents/agent-integration-management.service.d.ts +33 -0
- package/dist/modules/agents/agent-integration-management.service.js +80 -0
- package/dist/modules/agents/agent-integration-management.service.js.map +1 -0
- package/dist/modules/agents/agent-integration-persistence.service.d.ts +3 -1
- package/dist/modules/agents/agent-integration-persistence.service.js +6 -2
- package/dist/modules/agents/agent-integration-persistence.service.js.map +1 -1
- package/dist/modules/agents/agent-integrations.controller.d.ts +4 -24
- package/dist/modules/agents/agent-integrations.controller.js +28 -114
- package/dist/modules/agents/agent-integrations.controller.js.map +1 -1
- package/dist/modules/agents/agent-interrupted-execution-sweeper.d.ts +11 -0
- package/dist/modules/agents/agent-interrupted-execution-sweeper.js +63 -0
- package/dist/modules/agents/agent-interrupted-execution-sweeper.js.map +1 -0
- package/dist/modules/agents/agent-model-catalog.service.d.ts +1 -0
- package/dist/modules/agents/agent-model-catalog.service.js +37 -8
- package/dist/modules/agents/agent-model-catalog.service.js.map +1 -1
- package/dist/modules/agents/agent-publish.service.d.ts +3 -1
- package/dist/modules/agents/agent-publish.service.js +8 -2
- package/dist/modules/agents/agent-publish.service.js.map +1 -1
- package/dist/modules/agents/agent-run-tracing.service.d.ts +1 -0
- package/dist/modules/agents/agent-run-tracing.service.js +4 -1
- package/dist/modules/agents/agent-run-tracing.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-cache.service.js +1 -1
- package/dist/modules/agents/agent-runtime-cache.service.js.map +1 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.d.ts +3 -1
- package/dist/modules/agents/agent-runtime-reconstruction.service.js +14 -8
- package/dist/modules/agents/agent-runtime-reconstruction.service.js.map +1 -1
- package/dist/modules/agents/agent-slack-integrations.controller.d.ts +23 -0
- package/dist/modules/agents/agent-slack-integrations.controller.js +98 -0
- package/dist/modules/agents/agent-slack-integrations.controller.js.map +1 -0
- package/dist/modules/agents/agent-test-run.service.d.ts +134 -0
- package/dist/modules/agents/agent-test-run.service.js +240 -0
- package/dist/modules/agents/agent-test-run.service.js.map +1 -0
- package/dist/modules/agents/agent-validation.service.d.ts +1 -0
- package/dist/modules/agents/agent-validation.service.js +32 -13
- package/dist/modules/agents/agent-validation.service.js.map +1 -1
- package/dist/modules/agents/agent-workflow-execution.service.d.ts +5 -1
- package/dist/modules/agents/agent-workflow-execution.service.js +137 -64
- package/dist/modules/agents/agent-workflow-execution.service.js.map +1 -1
- package/dist/modules/agents/agents-config.controller.d.ts +8 -0
- package/dist/modules/agents/agents.module.d.ts +3 -1
- package/dist/modules/agents/agents.module.js +35 -1
- package/dist/modules/agents/agents.module.js.map +1 -1
- package/dist/modules/agents/agents.service.d.ts +4 -2
- package/dist/modules/agents/agents.service.js +6 -2
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/attachable-workflows.service.d.ts +1 -0
- package/dist/modules/agents/attachable-workflows.service.js +2 -1
- package/dist/modules/agents/attachable-workflows.service.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-prompts.d.ts +2 -2
- package/dist/modules/agents/builder/agents-builder-prompts.js +26 -7
- package/dist/modules/agents/builder/agents-builder-prompts.js.map +1 -1
- package/dist/modules/agents/builder/agents-builder-tools.service.d.ts +4 -2
- package/dist/modules/agents/builder/agents-builder-tools.service.js +130 -2
- package/dist/modules/agents/builder/agents-builder-tools.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.d.ts +16 -1
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js +69 -22
- package/dist/modules/agents/builder/builder-model-live-lookup.service.js.map +1 -1
- package/dist/modules/agents/builder/builder-tool-names.d.ts +1 -0
- package/dist/modules/agents/builder/builder-tool-names.js +1 -0
- package/dist/modules/agents/builder/builder-tool-names.js.map +1 -1
- package/dist/modules/agents/builder/get-resource-locator-options.tool.d.ts +2 -2
- package/dist/modules/agents/builder/interactive/finish-setup.tool.d.ts +1 -0
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js +4 -2
- package/dist/modules/agents/builder/interactive/finish-setup.tool.js.map +1 -1
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js +68 -2
- package/dist/modules/agents/builder/interactive/resolve-llm.tool.js.map +1 -1
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js +1 -0
- package/dist/modules/agents/builder/prompts/llm-selection.prompt.js.map +1 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.d.ts +1 -1
- package/dist/modules/agents/builder/prompts/tools.prompt.js +5 -2
- package/dist/modules/agents/builder/prompts/tools.prompt.js.map +1 -1
- package/dist/modules/agents/builder/skills/external-services.skill.js +26 -2
- package/dist/modules/agents/builder/skills/external-services.skill.js.map +1 -1
- package/dist/modules/agents/entities/agent-credential-dependency.entity.d.ts +9 -0
- package/dist/modules/agents/entities/agent-credential-dependency.entity.js +40 -0
- package/dist/modules/agents/entities/agent-credential-dependency.entity.js.map +1 -0
- package/dist/modules/agents/entities/agent-execution.entity.d.ts +1 -1
- package/dist/modules/agents/entities/agent-execution.entity.js +2 -1
- package/dist/modules/agents/entities/agent-execution.entity.js.map +1 -1
- package/dist/modules/agents/execution-recorder.d.ts +7 -1
- package/dist/modules/agents/execution-recorder.js +64 -8
- package/dist/modules/agents/execution-recorder.js.map +1 -1
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.d.ts +6 -2
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js +24 -3
- package/dist/modules/agents/instance-ai-builder-delegate.adapter.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-bridge.d.ts +3 -2
- package/dist/modules/agents/integrations/agent-chat-bridge.js +30 -13
- package/dist/modules/agents/integrations/agent-chat-bridge.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.d.ts +3 -2
- package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js +25 -12
- package/dist/modules/agents/integrations/agent-chat-hitl-resume-handler.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-integration.d.ts +38 -6
- package/dist/modules/agents/integrations/agent-chat-integration.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-message-context.js +13 -6
- package/dist/modules/agents/integrations/agent-chat-message-context.js.map +1 -1
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js +7 -1
- package/dist/modules/agents/integrations/agent-chat-stream-consumer.js.map +1 -1
- package/dist/modules/agents/integrations/callback-store.d.ts +13 -4
- package/dist/modules/agents/integrations/callback-store.js +44 -18
- package/dist/modules/agents/integrations/callback-store.js.map +1 -1
- package/dist/modules/agents/integrations/chat-integration.service.d.ts +7 -3
- package/dist/modules/agents/integrations/chat-integration.service.js +59 -22
- package/dist/modules/agents/integrations/chat-integration.service.js.map +1 -1
- package/dist/modules/agents/integrations/component-mapper.d.ts +1 -1
- package/dist/modules/agents/integrations/component-mapper.js +1 -1
- package/dist/modules/agents/integrations/component-mapper.js.map +1 -1
- package/dist/modules/agents/integrations/esm-loader.d.ts +1 -0
- package/dist/modules/agents/integrations/esm-loader.js +4 -0
- package/dist/modules/agents/integrations/esm-loader.js.map +1 -1
- package/dist/modules/agents/integrations/integration-action-executor.d.ts +2 -0
- package/dist/modules/agents/integrations/integration-action-executor.js +74 -20
- package/dist/modules/agents/integrations/integration-action-executor.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-definitions.js +35 -2
- package/dist/modules/agents/integrations/integration-tool-definitions.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-execution.js +10 -5
- package/dist/modules/agents/integrations/integration-tool-execution.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-schema.js +8 -2
- package/dist/modules/agents/integrations/integration-tool-schema.js.map +1 -1
- package/dist/modules/agents/integrations/integration-tool-types.d.ts +2 -0
- package/dist/modules/agents/integrations/n8n-memory.js +6 -7
- package/dist/modules/agents/integrations/n8n-memory.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/discord-gateway.d.ts +32 -0
- package/dist/modules/agents/integrations/platforms/discord-gateway.js +138 -0
- package/dist/modules/agents/integrations/platforms/discord-gateway.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/discord-integration.d.ts +73 -0
- package/dist/modules/agents/integrations/platforms/discord-integration.js +364 -0
- package/dist/modules/agents/integrations/platforms/discord-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/discord-operations.d.ts +64 -0
- package/dist/modules/agents/integrations/platforms/discord-operations.js +176 -0
- package/dist/modules/agents/integrations/platforms/discord-operations.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{slack-bridge-behavior.d.ts → slack/slack-bridge-behavior.d.ts} +3 -3
- package/dist/modules/agents/integrations/platforms/slack/slack-bridge-behavior.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/{slack-integration.d.ts → slack/slack-integration.d.ts} +11 -6
- package/dist/modules/agents/integrations/platforms/{slack-integration.js → slack/slack-integration.js} +32 -23
- package/dist/modules/agents/integrations/platforms/slack/slack-integration.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-manual-setup.service.d.ts +35 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-manual-setup.service.js +150 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-manual-setup.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.d.ts +36 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js +193 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-methods.service.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/slack/slack-operations.d.ts +10 -0
- package/dist/modules/agents/integrations/platforms/{slack-operations.js → slack/slack-operations.js} +1 -57
- package/dist/modules/agents/integrations/platforms/slack/slack-operations.js.map +1 -0
- package/dist/modules/agents/integrations/platforms/telegram-bridge-behavior.js +6 -36
- package/dist/modules/agents/integrations/platforms/telegram-bridge-behavior.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/telegram-integration.d.ts +3 -2
- package/dist/modules/agents/integrations/platforms/telegram-integration.js +14 -5
- package/dist/modules/agents/integrations/platforms/telegram-integration.js.map +1 -1
- package/dist/modules/agents/integrations/platforms/typing-indicator.d.ts +9 -0
- package/dist/modules/agents/integrations/platforms/typing-indicator.js +42 -0
- package/dist/modules/agents/integrations/platforms/typing-indicator.js.map +1 -0
- package/dist/modules/agents/integrations/recording/recording-adapter.js +11 -0
- package/dist/modules/agents/integrations/recording/recording-adapter.js.map +1 -1
- package/dist/modules/agents/json-config/node-tool-ai-gateway.service.d.ts +9 -0
- package/dist/modules/agents/json-config/node-tool-ai-gateway.service.js +34 -0
- package/dist/modules/agents/json-config/node-tool-ai-gateway.service.js.map +1 -0
- 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 +152 -0
- package/dist/modules/agents/json-config/reconcile-node-tool-gateway-credentials.js.map +1 -0
- package/dist/modules/agents/repositories/agent-credential-dependency.repository.d.ts +12 -0
- package/dist/modules/agents/repositories/agent-credential-dependency.repository.js +92 -0
- package/dist/modules/agents/repositories/agent-credential-dependency.repository.js.map +1 -0
- package/dist/modules/agents/repositories/agent-execution.repository.d.ts +7 -0
- package/dist/modules/agents/repositories/agent-execution.repository.js +20 -0
- package/dist/modules/agents/repositories/agent-execution.repository.js.map +1 -1
- package/dist/modules/agents/repositories/agent.repository.d.ts +2 -0
- package/dist/modules/agents/repositories/agent.repository.js +18 -0
- package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.d.ts +2 -0
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js +69 -5
- package/dist/modules/agents/sub-agents/sub-agent-foreground-runner.js.map +1 -1
- package/dist/modules/agents/tools/node-tool-factory.js +5 -1
- package/dist/modules/agents/tools/node-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/workflow-tool-factory.d.ts +7 -4
- package/dist/modules/agents/tools/workflow-tool-factory.js +86 -41
- package/dist/modules/agents/tools/workflow-tool-factory.js.map +1 -1
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.d.ts +14 -0
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js +50 -0
- package/dist/modules/agents/tools/workflow-tool-workflow-loader.service.js.map +1 -0
- package/dist/modules/agents/tools/workflow-tool-workflow-resolver.d.ts +3 -3
- package/dist/modules/agents/tools/workflow-tool-workflow-resolver.js +28 -23
- package/dist/modules/agents/tools/workflow-tool-workflow-resolver.js.map +1 -1
- package/dist/modules/agents/utils/extract-agent-credential-ids.d.ts +1 -0
- package/dist/modules/agents/utils/extract-agent-credential-ids.js +41 -0
- package/dist/modules/agents/utils/extract-agent-credential-ids.js.map +1 -0
- package/dist/modules/agents/utils/node-tool-validation.js +2 -2
- package/dist/modules/agents/utils/node-tool-validation.js.map +1 -1
- package/dist/modules/breaking-changes/rules/v3/unverified-packages.rule.d.ts +6 -2
- package/dist/modules/breaking-changes/rules/v3/unverified-packages.rule.js +26 -3
- package/dist/modules/breaking-changes/rules/v3/unverified-packages.rule.js.map +1 -1
- package/dist/modules/data-table/data-table-permissions.d.ts +5 -0
- package/dist/modules/data-table/data-table-permissions.js +14 -0
- package/dist/modules/data-table/data-table-permissions.js.map +1 -0
- package/dist/modules/data-table/data-table-proxy.service.js +2 -0
- package/dist/modules/data-table/data-table-proxy.service.js.map +1 -1
- package/dist/modules/data-table/data-table.controller.d.ts +1 -1
- package/dist/modules/data-table/data-table.controller.js +7 -19
- package/dist/modules/data-table/data-table.controller.js.map +1 -1
- package/dist/modules/data-table/data-table.service.d.ts +3 -0
- package/dist/modules/data-table/data-table.service.js.map +1 -1
- package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.d.ts +1 -0
- package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js +8 -0
- package/dist/modules/dynamic-credentials.ee/services/credential-check-proxy.service.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.d.ts +1 -0
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js +100 -3
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/azure-key-vault.js.map +1 -1
- package/dist/modules/external-secrets.ee/providers/azure-key-vault/types.d.ts +4 -0
- package/dist/modules/insights/database/repositories/insights-by-period-query.helper.d.ts +2 -1
- package/dist/modules/insights/database/repositories/insights-by-period-query.helper.js +11 -5
- package/dist/modules/insights/database/repositories/insights-by-period-query.helper.js.map +1 -1
- package/dist/modules/insights/database/repositories/insights-by-period.repository.d.ts +6 -3
- package/dist/modules/insights/database/repositories/insights-by-period.repository.js +31 -11
- package/dist/modules/insights/database/repositories/insights-by-period.repository.js.map +1 -1
- package/dist/modules/insights/insights.controller.js +13 -7
- package/dist/modules/insights/insights.controller.js.map +1 -1
- package/dist/modules/insights/insights.service.d.ts +6 -3
- package/dist/modules/insights/insights.service.js +6 -3
- package/dist/modules/insights/insights.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/agent-execution.service.js +10 -3
- package/dist/modules/instance-ai/eval/agent-execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/execution.service.d.ts +1 -0
- package/dist/modules/instance-ai/eval/execution.service.js +37 -3
- package/dist/modules/instance-ai/eval/execution.service.js.map +1 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.d.ts +5 -1
- package/dist/modules/instance-ai/eval/thread-restore.service.js +67 -9
- package/dist/modules/instance-ai/eval/thread-restore.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-model-catalog.service.d.ts +15 -0
- package/dist/modules/instance-ai/instance-ai-model-catalog.service.js +130 -0
- package/dist/modules/instance-ai/instance-ai-model-catalog.service.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai-settings.service.d.ts +17 -1
- package/dist/modules/instance-ai/instance-ai-settings.service.js +234 -24
- package/dist/modules/instance-ai/instance-ai-settings.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai-verification.service.d.ts +20 -0
- package/dist/modules/instance-ai/instance-ai-verification.service.js +232 -0
- package/dist/modules/instance-ai/instance-ai-verification.service.js.map +1 -0
- package/dist/modules/instance-ai/instance-ai.adapter.service.d.ts +4 -0
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +78 -4
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.controller.d.ts +9 -2
- package/dist/modules/instance-ai/instance-ai.controller.js +84 -2
- package/dist/modules/instance-ai/instance-ai.controller.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.module.d.ts +1 -0
- package/dist/modules/instance-ai/instance-ai.module.js +3 -7
- package/dist/modules/instance-ai/instance-ai.module.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.service.d.ts +5 -1
- package/dist/modules/instance-ai/instance-ai.service.js +231 -60
- package/dist/modules/instance-ai/instance-ai.service.js.map +1 -1
- package/dist/modules/instance-ai/node-definition-resolver.d.ts +0 -1
- package/dist/modules/instance-ai/node-definition-resolver.js +0 -19
- package/dist/modules/instance-ai/node-definition-resolver.js.map +1 -1
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.d.ts +1 -0
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js +37 -2
- package/dist/modules/instance-ai/sandbox/instance-ai-sandbox.service.js.map +1 -1
- package/dist/modules/instance-ai/storage/typeorm-observation-log-store.js +6 -6
- package/dist/modules/instance-ai/storage/typeorm-observation-log-store.js.map +1 -1
- package/dist/modules/instance-ai/suspended-run-restorer.service.d.ts +1 -1
- package/dist/modules/instance-ai/suspended-run-restorer.service.js +9 -0
- package/dist/modules/instance-ai/suspended-run-restorer.service.js.map +1 -1
- package/dist/modules/mcp/mcp-protected-resource.d.ts +3 -4
- package/dist/modules/mcp/mcp-protected-resource.js +4 -4
- package/dist/modules/mcp/mcp-protected-resource.js.map +1 -1
- package/dist/modules/mcp/mcp-scopes.js +2 -0
- package/dist/modules/mcp/mcp-scopes.js.map +1 -1
- package/dist/modules/mcp/mcp-server-middleware.service.js +1 -0
- package/dist/modules/mcp/mcp-server-middleware.service.js.map +1 -1
- package/dist/modules/mcp/mcp.constants.d.ts +4 -0
- package/dist/modules/mcp/mcp.constants.js +5 -1
- package/dist/modules/mcp/mcp.constants.js.map +1 -1
- package/dist/modules/mcp/mcp.controller.js +14 -14
- package/dist/modules/mcp/mcp.controller.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +4 -3
- package/dist/modules/mcp/mcp.service.js +49 -34
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp/mcp.types.d.ts +31 -5
- package/dist/modules/mcp/mcp.types.js.map +1 -1
- package/dist/modules/mcp/mcp.utils.d.ts +1 -0
- package/dist/modules/mcp/mcp.utils.js +22 -5
- package/dist/modules/mcp/mcp.utils.js.map +1 -1
- package/dist/modules/mcp/tool-schema.util.d.ts +3 -0
- package/dist/modules/mcp/tool-schema.util.js +32 -0
- package/dist/modules/mcp/tool-schema.util.js.map +1 -0
- package/dist/modules/mcp/tools/agents/agent-reference.d.ts +1 -1
- package/dist/modules/mcp/tools/agents/agent-reference.js +17 -6
- package/dist/modules/mcp/tools/agents/agent-reference.js.map +1 -1
- package/dist/modules/mcp/tools/agents/agent-tools.service.d.ts +9 -8
- package/dist/modules/mcp/tools/agents/agent-tools.service.js +207 -52
- package/dist/modules/mcp/tools/agents/agent-tools.service.js.map +1 -1
- package/dist/modules/mcp/tools/execute-workflow.tool.js +1 -1
- package/dist/modules/mcp/tools/execute-workflow.tool.js.map +1 -1
- package/dist/modules/mcp/tools/get-workflow-details.tool.d.ts +4 -1
- package/dist/modules/mcp/tools/get-workflow-details.tool.js +60 -23
- package/dist/modules/mcp/tools/get-workflow-details.tool.js.map +1 -1
- package/dist/modules/mcp/tools/list-credentials.tool.js +1 -1
- package/dist/modules/mcp/tools/list-credentials.tool.js.map +1 -1
- package/dist/modules/mcp/tools/schemas.d.ts +81 -40
- package/dist/modules/mcp/tools/schemas.js +31 -11
- package/dist/modules/mcp/tools/schemas.js.map +1 -1
- package/dist/modules/mcp/tools/search-workflows.tool.js +1 -9
- package/dist/modules/mcp/tools/search-workflows.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.d.ts +1 -1
- package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.js +2 -7
- package/dist/modules/mcp/tools/workflow-builder/credentials-auto-assign.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js +2 -11
- package/dist/modules/mcp/tools/workflow-builder/get-workflow-best-practices.tool.js.map +1 -1
- package/dist/modules/mcp/tools/workflow-builder/mcp-instructions.js +2 -2
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js +2 -1
- package/dist/modules/mcp/tools/workflow-builder/sdk-reference-content.js.map +1 -1
- package/dist/modules/mcp-registry/registry/mcp-registry-search.d.ts +1 -0
- package/dist/modules/mcp-registry/registry/mcp-registry-search.js +17 -5
- package/dist/modules/mcp-registry/registry/mcp-registry-search.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-blocked.error.js +2 -0
- package/dist/modules/n8n-packages/engine/import-blocked.error.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-gates.d.ts +3 -4
- package/dist/modules/n8n-packages/engine/import-gates.js +10 -8
- package/dist/modules/n8n-packages/engine/import-gates.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-orchestrator.d.ts +6 -2
- package/dist/modules/n8n-packages/engine/import-orchestrator.js +36 -8
- package/dist/modules/n8n-packages/engine/import-orchestrator.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-result.d.ts +2 -0
- package/dist/modules/n8n-packages/engine/import-result.js +13 -2
- package/dist/modules/n8n-packages/engine/import-result.js.map +1 -1
- package/dist/modules/n8n-packages/engine/import-telemetry.js +8 -2
- 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 +29 -0
- package/dist/modules/n8n-packages/engine/n8n-package-parser.js.map +1 -1
- package/dist/modules/n8n-packages/engine/package-layout.d.ts +18 -1
- package/dist/modules/n8n-packages/engine/package-layout.js +36 -7
- package/dist/modules/n8n-packages/engine/package-layout.js.map +1 -1
- package/dist/modules/n8n-packages/engine/project-package-importer.js +28 -16
- package/dist/modules/n8n-packages/engine/project-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js +12 -12
- package/dist/modules/n8n-packages/engine/workflow-package-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/project/project-conflict-policy.d.ts +7 -0
- package/dist/modules/n8n-packages/entities/project/project-conflict-policy.js +12 -0
- package/dist/modules/n8n-packages/entities/project/project-conflict-policy.js.map +1 -0
- package/dist/modules/n8n-packages/entities/project/project-import.types.d.ts +13 -3
- package/dist/modules/n8n-packages/entities/project/project-importer.d.ts +3 -3
- package/dist/modules/n8n-packages/entities/project/project-importer.js +58 -29
- package/dist/modules/n8n-packages/entities/project/project-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/tag/tag-import-decision.d.ts +4 -1
- package/dist/modules/n8n-packages/entities/tag/tag-import-decision.js +10 -3
- package/dist/modules/n8n-packages/entities/tag/tag-import-decision.js.map +1 -1
- package/dist/modules/n8n-packages/entities/tag/tag-importer.d.ts +1 -4
- package/dist/modules/n8n-packages/entities/tag/tag-importer.js +22 -10
- package/dist/modules/n8n-packages/entities/tag/tag-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/tag/tag.types.d.ts +13 -0
- package/dist/modules/n8n-packages/entities/tag/tag.types.js +36 -0
- package/dist/modules/n8n-packages/entities/tag/tag.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable-importer.d.ts +6 -5
- package/dist/modules/n8n-packages/entities/variable/variable-importer.js +85 -21
- package/dist/modules/n8n-packages/entities/variable/variable-importer.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.d.ts +1 -0
- package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js +8 -3
- package/dist/modules/n8n-packages/entities/variable/variable-missing-mode.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable.exporter.d.ts +1 -0
- package/dist/modules/n8n-packages/entities/variable/variable.exporter.js +18 -23
- package/dist/modules/n8n-packages/entities/variable/variable.exporter.js.map +1 -1
- package/dist/modules/n8n-packages/entities/variable/variable.types.d.ts +21 -2
- package/dist/modules/n8n-packages/entities/variable/variable.types.js +15 -0
- package/dist/modules/n8n-packages/entities/variable/variable.types.js.map +1 -1
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.d.ts +6 -2
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js +33 -11
- package/dist/modules/n8n-packages/entities/workflow/workflow-publisher.js.map +1 -1
- package/dist/modules/n8n-packages/n8n-packages.types.d.ts +35 -3
- package/dist/modules/n8n-packages/n8n-packages.types.js +12 -1
- package/dist/modules/n8n-packages/n8n-packages.types.js.map +1 -1
- package/dist/modules/n8n-packages/spec/manifest.schema.d.ts +0 -11
- package/dist/modules/n8n-packages/spec/requirements.schema.d.ts +0 -10
- package/dist/modules/n8n-packages/spec/requirements.schema.js +0 -1
- package/dist/modules/n8n-packages/spec/requirements.schema.js.map +1 -1
- package/dist/modules/n8n-packages/spec/serialized/variable.schema.d.ts +3 -3
- package/dist/modules/n8n-packages/spec/serialized/variable.schema.js +3 -2
- package/dist/modules/n8n-packages/spec/serialized/variable.schema.js.map +1 -1
- package/dist/modules/oauth-server/oauth-server.service.js +2 -2
- package/dist/modules/oauth-server/oauth-server.service.js.map +1 -1
- package/dist/modules/otel/execution-level-tracer.d.ts +2 -0
- package/dist/modules/otel/execution-level-tracer.js +4 -0
- package/dist/modules/otel/execution-level-tracer.js.map +1 -1
- package/dist/modules/redaction/redaction-context-hook.d.ts +3 -1
- package/dist/modules/redaction/redaction-context-hook.js +9 -2
- package/dist/modules/redaction/redaction-context-hook.js.map +1 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.d.ts +4 -1
- package/dist/modules/source-control.ee/source-control-import.service.ee.js +26 -6
- package/dist/modules/source-control.ee/source-control-import.service.ee.js.map +1 -1
- package/dist/modules/workflow-index/workflow-dependency-query.service.d.ts +8 -1
- package/dist/modules/workflow-index/workflow-dependency-query.service.js +76 -18
- package/dist/modules/workflow-index/workflow-dependency-query.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-auto-close.service.d.ts +16 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-auto-close.service.js +95 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-auto-close.service.js.map +1 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-decision-eligibility.service.d.ts +15 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-decision-eligibility.service.js +52 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-decision-eligibility.service.js.map +1 -0
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.d.ts +3 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js +10 -4
- package/dist/modules/workflow-reviews.ee/workflow-review-inbox.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.js +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-publish-guard.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-review-request.service.d.ts +9 -5
- package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js +71 -40
- package/dist/modules/workflow-reviews.ee/workflow-review-request.service.js.map +1 -1
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js +3 -0
- package/dist/modules/workflow-reviews.ee/workflow-reviews.module.js.map +1 -1
- package/dist/node-execution/ephemeral-node-executor.js +20 -13
- package/dist/node-execution/ephemeral-node-executor.js.map +1 -1
- package/dist/oauth/dcr-managed-fields.d.ts +6 -0
- package/dist/oauth/dcr-managed-fields.js +13 -0
- package/dist/oauth/dcr-managed-fields.js.map +1 -0
- package/dist/oauth/oauth.service.d.ts +1 -0
- package/dist/oauth/oauth.service.js +24 -25
- package/dist/oauth/oauth.service.js.map +1 -1
- package/dist/posthog/index.d.ts +2 -0
- package/dist/posthog/index.js +19 -0
- package/dist/posthog/index.js.map +1 -1
- package/dist/public-api/public-api-controller.registry.d.ts +1 -0
- package/dist/public-api/public-api-controller.registry.js +36 -35
- package/dist/public-api/public-api-controller.registry.js.map +1 -1
- package/dist/public-api/public-api-route-resolver.d.ts +38 -0
- package/dist/public-api/public-api-route-resolver.js +136 -0
- package/dist/public-api/public-api-route-resolver.js.map +1 -0
- package/dist/public-api/types.d.ts +3 -6
- package/dist/public-api/v1/controllers/index.d.ts +1 -0
- package/dist/public-api/v1/controllers/index.js +1 -0
- package/dist/public-api/v1/controllers/index.js.map +1 -1
- package/dist/public-api/v1/controllers/roles.public.controller.d.ts +11 -0
- package/dist/public-api/v1/controllers/roles.public.controller.js +65 -0
- package/dist/public-api/v1/controllers/roles.public.controller.js.map +1 -0
- package/dist/public-api/v1/controllers/tags.public.controller.js +9 -2
- package/dist/public-api/v1/controllers/tags.public.controller.js.map +1 -1
- package/dist/public-api/v1/controllers/workflows.public.controller.d.ts +10 -2
- package/dist/public-api/v1/controllers/workflows.public.controller.js +132 -4
- package/dist/public-api/v1/controllers/workflows.public.controller.js.map +1 -1
- package/dist/public-api/v1/handlers/data-tables/data-tables.rows.handler.js +7 -15
- package/dist/public-api/v1/handlers/data-tables/data-tables.rows.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/decorator-routed.handler.d.ts +2 -0
- package/dist/public-api/v1/handlers/decorator-routed.handler.js +10 -0
- package/dist/public-api/v1/handlers/decorator-routed.handler.js.map +1 -0
- package/dist/public-api/v1/handlers/discover/discover.service.js +54 -49
- package/dist/public-api/v1/handlers/discover/discover.service.js.map +1 -1
- package/dist/public-api/v1/handlers/executions/executions.handler.js +25 -65
- package/dist/public-api/v1/handlers/executions/executions.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js +2 -0
- package/dist/public-api/v1/handlers/n8n-packages/n8n-packages.handler.js.map +1 -1
- package/dist/public-api/v1/handlers/workflows/workflows.handler.d.ts +0 -1
- package/dist/public-api/v1/handlers/workflows/workflows.handler.js +44 -122
- package/dist/public-api/v1/handlers/workflows/workflows.handler.js.map +1 -1
- package/dist/public-api/v1/openapi-gen/decorator-routes.d.ts +18 -0
- package/dist/public-api/v1/openapi-gen/decorator-routes.js +160 -0
- package/dist/public-api/v1/openapi-gen/decorator-routes.js.map +1 -0
- package/dist/public-api/v1/openapi-gen/generate.d.ts +25 -0
- package/dist/public-api/v1/openapi-gen/generate.js +149 -0
- package/dist/public-api/v1/openapi-gen/generate.js.map +1 -0
- package/dist/public-api/v1/openapi-gen/zod-extend.d.ts +1 -0
- package/dist/public-api/v1/openapi-gen/zod-extend.js +6 -0
- package/dist/public-api/v1/openapi-gen/zod-extend.js.map +1 -0
- package/dist/public-api/v1/openapi.yml +625 -166
- package/dist/public-api/v1/shared/middlewares/global.middleware.d.ts +1 -3
- package/dist/public-api/v1/shared/middlewares/global.middleware.js.map +1 -1
- package/dist/scaling/constants.d.ts +2 -2
- package/dist/scaling/constants.js +1 -0
- package/dist/scaling/constants.js.map +1 -1
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +5 -1
- package/dist/scaling/pubsub/pubsub.types.d.ts +2 -1
- package/dist/server.js +1 -0
- package/dist/server.js.map +1 -1
- package/dist/{modules/mcp/tools/workflow-builder → services}/ai-gateway-eligibility.d.ts +1 -0
- package/dist/{modules/mcp/tools/workflow-builder → services}/ai-gateway-eligibility.js +7 -1
- package/dist/services/ai-gateway-eligibility.js.map +1 -0
- package/dist/services/ai-gateway.service.d.ts +2 -0
- package/dist/services/ai-gateway.service.js +17 -3
- package/dist/services/ai-gateway.service.js.map +1 -1
- package/dist/services/cache/cache.service.d.ts +2 -0
- package/dist/services/cache/cache.service.js +21 -0
- package/dist/services/cache/cache.service.js.map +1 -1
- package/dist/services/cache/redis.cache-manager.d.ts +1 -0
- package/dist/services/cache/redis.cache-manager.js +6 -0
- package/dist/services/cache/redis.cache-manager.js.map +1 -1
- package/dist/services/credentials-tester.service.d.ts +5 -1
- package/dist/services/credentials-tester.service.js +9 -3
- package/dist/services/credentials-tester.service.js.map +1 -1
- package/dist/services/folder.service.js.map +1 -1
- package/dist/services/free-ai-credits.service.js +1 -1
- package/dist/services/free-ai-credits.service.js.map +1 -1
- package/dist/services/frontend.service.js +3 -1
- package/dist/services/frontend.service.js.map +1 -1
- package/dist/services/node-resource-explorer.service.d.ts +13 -0
- package/dist/services/node-resource-explorer.service.js +117 -0
- package/dist/services/node-resource-explorer.service.js.map +1 -1
- package/dist/services/ownership-transfer/ownership-transfer.manifest.json +1 -1
- package/dist/services/project.service.ee.d.ts +3 -3
- package/dist/services/project.service.ee.js +4 -7
- package/dist/services/project.service.ee.js.map +1 -1
- package/dist/services/role-authorization.d.ts +3 -0
- package/dist/services/role-authorization.js +14 -0
- package/dist/services/role-authorization.js.map +1 -0
- package/dist/services/tag.service.d.ts +5 -2
- package/dist/services/tag.service.js +9 -2
- package/dist/services/tag.service.js.map +1 -1
- package/dist/task-runners/task-broker/auth/task-broker-auth.controller.d.ts +1 -0
- package/dist/task-runners/task-broker/auth/task-broker-auth.controller.js +2 -2
- package/dist/task-runners/task-broker/auth/task-broker-auth.controller.js.map +1 -1
- package/dist/task-runners/task-broker/auth/task-broker-auth.service.d.ts +6 -2
- package/dist/task-runners/task-broker/auth/task-broker-auth.service.js +8 -4
- package/dist/task-runners/task-broker/auth/task-broker-auth.service.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker-server.d.ts +1 -0
- package/dist/task-runners/task-broker/task-broker-server.js +13 -3
- package/dist/task-runners/task-broker/task-broker-server.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker-ws-server.d.ts +1 -0
- package/dist/task-runners/task-broker/task-broker-ws-server.js +8 -5
- package/dist/task-runners/task-broker/task-broker-ws-server.js.map +1 -1
- package/dist/task-runners/task-broker/task-broker.service.js +2 -9
- package/dist/task-runners/task-broker/task-broker.service.js.map +1 -1
- package/dist/task-runners/task-runner-lifecycle-events.d.ts +0 -1
- package/dist/task-runners/task-runner-process-base.d.ts +2 -2
- package/dist/task-runners/task-runner-process-base.js +14 -10
- package/dist/task-runners/task-runner-process-base.js.map +1 -1
- package/dist/task-runners/task-runner-process-js.d.ts +1 -2
- package/dist/task-runners/task-runner-process-js.js +4 -4
- package/dist/task-runners/task-runner-process-js.js.map +1 -1
- package/dist/task-runners/task-runner-process-py.d.ts +1 -2
- package/dist/task-runners/task-runner-process-py.js +2 -2
- package/dist/task-runners/task-runner-process-py.js.map +1 -1
- package/dist/utils/node-definition-dirs.d.ts +1 -0
- package/dist/utils/node-definition-dirs.js +24 -0
- package/dist/utils/node-definition-dirs.js.map +1 -0
- package/dist/webhooks/constants.d.ts +1 -0
- package/dist/webhooks/constants.js +2 -1
- package/dist/webhooks/constants.js.map +1 -1
- package/dist/webhooks/live-webhooks.d.ts +4 -2
- package/dist/webhooks/live-webhooks.js +25 -4
- package/dist/webhooks/live-webhooks.js.map +1 -1
- package/dist/webhooks/webhook-execution-context.d.ts +5 -2
- package/dist/webhooks/webhook-execution-context.js +10 -0
- package/dist/webhooks/webhook-execution-context.js.map +1 -1
- package/dist/webhooks/webhook-helpers.js +9 -8
- package/dist/webhooks/webhook-helpers.js.map +1 -1
- package/dist/webhooks/webhook.service.d.ts +5 -1
- package/dist/webhooks/webhook.service.js +52 -9
- package/dist/webhooks/webhook.service.js.map +1 -1
- package/dist/workflow-runner.js.map +1 -1
- package/dist/workflows/triggers/trigger-execution-context.factory.d.ts +3 -0
- package/dist/workflows/triggers/trigger-execution-context.factory.js +43 -38
- package/dist/workflows/triggers/trigger-execution-context.factory.js.map +1 -1
- package/dist/workflows/triggers/webhook-trigger-registrar.d.ts +0 -1
- package/dist/workflows/triggers/webhook-trigger-registrar.js +1 -16
- package/dist/workflows/triggers/webhook-trigger-registrar.js.map +1 -1
- package/dist/workflows/workflow-finder.service.d.ts +20 -31
- package/dist/workflows/workflow-finder.service.js +42 -9
- package/dist/workflows/workflow-finder.service.js.map +1 -1
- package/dist/workflows/workflow-mutation-hooks-proxy.service.d.ts +14 -0
- package/dist/workflows/workflow-mutation-hooks-proxy.service.js +35 -0
- package/dist/workflows/workflow-mutation-hooks-proxy.service.js.map +1 -0
- package/dist/workflows/workflow-sharing.service.d.ts +4 -1
- package/dist/workflows/workflow-sharing.service.js +14 -2
- package/dist/workflows/workflow-sharing.service.js.map +1 -1
- package/dist/workflows/workflow.service.d.ts +9 -6
- package/dist/workflows/workflow.service.ee.d.ts +3 -3
- package/dist/workflows/workflow.service.ee.js +20 -7
- package/dist/workflows/workflow.service.ee.js.map +1 -1
- package/dist/workflows/workflow.service.js +33 -9
- package/dist/workflows/workflow.service.js.map +1 -1
- package/package.json +43 -39
- package/templates/form-shell.handlebars +418 -0
- package/templates/form-trigger.handlebars +30 -1
- package/dist/modules/agents/integrations/platforms/slack-bridge-behavior.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/slack-integration.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/slack-operations.d.ts +0 -17
- package/dist/modules/agents/integrations/platforms/slack-operations.js.map +0 -1
- package/dist/modules/agents/integrations/platforms/slack-tool-definitions.d.ts +0 -48
- package/dist/modules/agents/integrations/platforms/slack-tool-definitions.js +0 -42
- package/dist/modules/agents/integrations/platforms/slack-tool-definitions.js.map +0 -1
- package/dist/modules/agents/integrations/slack-app-setup.service.d.ts +0 -54
- package/dist/modules/agents/integrations/slack-app-setup.service.js +0 -326
- package/dist/modules/agents/integrations/slack-app-setup.service.js.map +0 -1
- package/dist/modules/mcp/tools/workflow-builder/ai-gateway-eligibility.js.map +0 -1
- package/dist/public-api/v1/handlers/executions/executions.service.d.ts +0 -14
- package/dist/public-api/v1/handlers/executions/executions.service.js +0 -49
- package/dist/public-api/v1/handlers/executions/executions.service.js.map +0 -1
- package/dist/public-api/v1/handlers/workflows/workflows.service.d.ts +0 -13
- package/dist/public-api/v1/handlers/workflows/workflows.service.js +0 -98
- package/dist/public-api/v1/handlers/workflows/workflows.service.js.map +0 -1
- /package/dist/modules/agents/integrations/platforms/{slack-bridge-behavior.js → slack/slack-bridge-behavior.js} +0 -0
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang='en'>
|
|
3
|
+
<!--
|
|
4
|
+
Form trigger — trusted hosting shell: n8n-controlled connect panel on the real
|
|
5
|
+
origin; the author's form renders unchanged in the sandboxed null-origin iframe
|
|
6
|
+
so author content can never touch the per-caller authorize links.
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
<head>
|
|
10
|
+
<meta charset='UTF-8' />
|
|
11
|
+
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
|
|
12
|
+
<link rel='icon' type='image/png' href='https://n8n.io/favicon.ico' />
|
|
13
|
+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap" rel="stylesheet">
|
|
14
|
+
<title>{{formTitle}}</title>
|
|
15
|
+
<style>
|
|
16
|
+
:root {
|
|
17
|
+
--font-family: 'Open Sans', sans-serif;
|
|
18
|
+
--color-background: #fbfcfe;
|
|
19
|
+
--color-card-bg: #ffffff;
|
|
20
|
+
--color-card-border: #dbdfe7;
|
|
21
|
+
--color-card-shadow: rgba(99, 77, 255, 0.06);
|
|
22
|
+
--color-header: #525356;
|
|
23
|
+
--color-label: #555555;
|
|
24
|
+
--color-muted: #7e8186;
|
|
25
|
+
--color-primary: #ff6d5a;
|
|
26
|
+
--color-primary-text: #ffffff;
|
|
27
|
+
--color-ok: #2e9e5b;
|
|
28
|
+
--color-icon-bg: #f2f0ff;
|
|
29
|
+
--color-icon-text: #6a5bdd;
|
|
30
|
+
--border-radius-card: 8px;
|
|
31
|
+
--border-radius-input: 6px;
|
|
32
|
+
--container-width: 480px;
|
|
33
|
+
--box-shadow-card: 0px 4px 16px 0px var(--color-card-shadow);
|
|
34
|
+
--box-shadow-dialog: 0px 12px 48px rgba(0, 0, 0, 0.18);
|
|
35
|
+
}
|
|
36
|
+
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
37
|
+
body { font-family: var(--font-family); background: var(--color-background); min-height: 100vh; }
|
|
38
|
+
.shell { width: 100%; padding-top: 24px; }
|
|
39
|
+
/* Aligned to the form card's width, which centers itself in the iframe below. */
|
|
40
|
+
.req-card, .req-strip { width: var(--container-width); max-width: calc(100vw - 32px); margin: 0 auto 16px; }
|
|
41
|
+
|
|
42
|
+
/* --- Required-credentials card (1–2 credentials, inline) --- */
|
|
43
|
+
.req-card {
|
|
44
|
+
background: var(--color-card-bg);
|
|
45
|
+
border: 1px solid var(--color-card-border);
|
|
46
|
+
border-radius: var(--border-radius-card);
|
|
47
|
+
box-shadow: var(--box-shadow-card);
|
|
48
|
+
padding: 20px;
|
|
49
|
+
}
|
|
50
|
+
.req-title { font-size: 15px; font-weight: 600; color: var(--color-header); }
|
|
51
|
+
.req-sub { font-size: 13px; color: var(--color-muted); margin-top: 4px; margin-bottom: 14px; }
|
|
52
|
+
|
|
53
|
+
/* --- Compact strip (3+ credentials) --- */
|
|
54
|
+
.req-strip {
|
|
55
|
+
display: flex;
|
|
56
|
+
align-items: center;
|
|
57
|
+
gap: 14px;
|
|
58
|
+
background: var(--color-card-bg);
|
|
59
|
+
border: 1px solid var(--color-card-border);
|
|
60
|
+
border-radius: var(--border-radius-card);
|
|
61
|
+
box-shadow: var(--box-shadow-card);
|
|
62
|
+
padding: 16px 18px;
|
|
63
|
+
}
|
|
64
|
+
.stack { display: flex; align-items: center; }
|
|
65
|
+
.stack .cred-icon { margin-right: -8px; border: 2px solid var(--color-card-bg); }
|
|
66
|
+
.stack .more {
|
|
67
|
+
width: 28px; height: 28px; border-radius: 6px; border: 2px solid var(--color-card-bg);
|
|
68
|
+
background: #eceafd; color: var(--color-icon-text);
|
|
69
|
+
font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
|
|
70
|
+
}
|
|
71
|
+
.strip-meta { flex: 1; min-width: 0; }
|
|
72
|
+
.strip-title { font-size: 14px; font-weight: 600; color: var(--color-header); }
|
|
73
|
+
.strip-count { font-size: 13px; color: var(--color-muted); margin-top: 2px; }
|
|
74
|
+
|
|
75
|
+
/* --- Credential row (shared by card + dialog) --- */
|
|
76
|
+
.cred-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
|
|
77
|
+
.req-card .cred-row + .cred-row,
|
|
78
|
+
.dialog .cred-row + .cred-row { border-top: 1px solid #f0f1f4; }
|
|
79
|
+
.cred-icon {
|
|
80
|
+
width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
|
|
81
|
+
background: var(--color-icon-bg); color: var(--color-icon-text);
|
|
82
|
+
font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center;
|
|
83
|
+
}
|
|
84
|
+
.cred-meta { flex: 1; min-width: 0; }
|
|
85
|
+
.cred-name { display: block; font-size: 14px; font-weight: 600; color: var(--color-label); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
86
|
+
.cred-sub { display: block; font-size: 12px; color: var(--color-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
87
|
+
.cred-sub.connected { color: var(--color-ok); }
|
|
88
|
+
|
|
89
|
+
/* --- Buttons --- */
|
|
90
|
+
.btn {
|
|
91
|
+
font-family: var(--font-family); font-size: 13px; font-weight: 600;
|
|
92
|
+
padding: 8px 16px; border-radius: var(--border-radius-input); border: 1px solid transparent; cursor: pointer;
|
|
93
|
+
}
|
|
94
|
+
.btn-primary { background: var(--color-primary); color: var(--color-primary-text); }
|
|
95
|
+
.btn-primary:hover { opacity: 0.88; }
|
|
96
|
+
.btn-secondary { background: var(--color-card-bg); color: var(--color-label); border-color: var(--color-card-border); }
|
|
97
|
+
.btn-secondary:hover { border-color: var(--color-muted); }
|
|
98
|
+
.cred-connected { position: relative; }
|
|
99
|
+
.btn-connected { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--color-ok); font-family: var(--font-family); font-size: 13px; font-weight: 600; cursor: pointer; padding: 6px 4px; }
|
|
100
|
+
.btn-connected .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-ok); }
|
|
101
|
+
/* Fixed so the menu escapes the dialog's overflow clipping; positioned by JS. */
|
|
102
|
+
.cred-menu { display: none; position: fixed; min-width: 150px; background: var(--color-card-bg); border: 1px solid var(--color-card-border); border-radius: 6px; box-shadow: var(--box-shadow-dialog); z-index: 30; }
|
|
103
|
+
.cred-menu.open { display: block; }
|
|
104
|
+
.btn-disconnect { display: block; width: 100%; text-align: left; white-space: nowrap; background: none; border: 0; padding: 8px 14px; font-family: var(--font-family); font-size: 13px; color: #a02f28; cursor: pointer; }
|
|
105
|
+
.btn-disconnect:hover { background: #fdeceb; }
|
|
106
|
+
.cred-status-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-ok); white-space: nowrap; }
|
|
107
|
+
.cred-status-ok .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-ok); }
|
|
108
|
+
.cred-blocked { font-size: 13px; color: var(--color-muted); }
|
|
109
|
+
|
|
110
|
+
/* --- Dialog --- */
|
|
111
|
+
.overlay { display: none; position: fixed; inset: 0; background: rgba(20, 20, 30, 0.28); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); align-items: center; justify-content: center; z-index: 10; padding: 16px; }
|
|
112
|
+
.overlay.open { display: flex; }
|
|
113
|
+
.dialog { width: 480px; max-width: 100%; max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--color-card-bg); border-radius: 12px; box-shadow: var(--box-shadow-dialog); overflow: hidden; }
|
|
114
|
+
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 8px; }
|
|
115
|
+
.dialog-title { font-size: 16px; font-weight: 600; color: var(--color-header); }
|
|
116
|
+
.dialog-close { background: none; border: 0; font-size: 20px; line-height: 1; color: var(--color-muted); cursor: pointer; }
|
|
117
|
+
.dialog-sub { padding: 0 20px 8px; font-size: 13px; color: var(--color-muted); }
|
|
118
|
+
.dialog-list { padding: 0 20px; overflow-y: auto; }
|
|
119
|
+
.dialog-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid #f0f1f4; }
|
|
120
|
+
.dialog-count { font-size: 13px; color: var(--color-muted); }
|
|
121
|
+
|
|
122
|
+
/* --- The form itself, unchanged, in a null-origin sandboxed iframe --- */
|
|
123
|
+
#form-frame { display: block; width: 100%; height: calc(100vh - 40px); border: 0; background: transparent; }
|
|
124
|
+
</style>
|
|
125
|
+
</head>
|
|
126
|
+
|
|
127
|
+
<body>
|
|
128
|
+
<div class='shell' data-submitter-email='{{submitterEmail}}'>
|
|
129
|
+
{{#if useDialog}}
|
|
130
|
+
<div class='req-strip'>
|
|
131
|
+
<div class='stack'>
|
|
132
|
+
{{#each iconStack}}
|
|
133
|
+
<span class='cred-icon'>{{this}}</span>
|
|
134
|
+
{{/each}}
|
|
135
|
+
{{#if moreCount}}<span class='more'>+{{moreCount}}</span>{{/if}}
|
|
136
|
+
</div>
|
|
137
|
+
<div class='strip-meta'>
|
|
138
|
+
<div class='strip-title'>Required credentials</div>
|
|
139
|
+
<div class='strip-count'>{{connectedCount}} of {{total}} credentials connected</div>
|
|
140
|
+
</div>
|
|
141
|
+
<button class='btn btn-primary' id='open-dialog'>Connect</button>
|
|
142
|
+
</div>
|
|
143
|
+
{{else}}
|
|
144
|
+
<div class='req-card'>
|
|
145
|
+
<div class='req-title'>Required credentials</div>
|
|
146
|
+
<div class='req-sub'>Connect required credentials to run this form using your data.</div>
|
|
147
|
+
{{#each credentials}}
|
|
148
|
+
<div class='cred-row' data-cred-id='{{id}}' data-status='{{status}}' data-resolver-id='{{resolverId}}'{{#if connected}} data-connected='true'{{/if}}{{#if revokeUrl}} data-revoke-url='{{revokeUrl}}'{{/if}}>
|
|
149
|
+
<span class='cred-icon'>{{initial}}</span>
|
|
150
|
+
<span class='cred-meta'>
|
|
151
|
+
<span class='cred-name'>{{name}}</span>
|
|
152
|
+
<span class='cred-sub {{#if connected}}connected{{/if}}'>{{#if connected}}{{#if account}}Connected as {{account}}{{else}}Connected{{/if}}{{else}}Not connected{{/if}}{{#if usedBy}} · used by {{usedBy}}{{/if}}</span>
|
|
153
|
+
</span>
|
|
154
|
+
{{#if connected}}
|
|
155
|
+
<span class='cred-connected'><button type='button' class='btn-connected'><span class='dot'></span> Connected <span class='caret'>▾</span></button><div class='cred-menu'><button type='button' class='btn-disconnect'>Disconnect</button></div></span>
|
|
156
|
+
{{else if authorizationUrl}}
|
|
157
|
+
<button class='btn btn-secondary connect' data-url='{{authorizationUrl}}'>{{#if (eq status 'expired')}}Reconnect{{else}}Connect{{/if}}</button>
|
|
158
|
+
{{else}}
|
|
159
|
+
<span class='cred-blocked'>Ask the form owner</span>
|
|
160
|
+
{{/if}}
|
|
161
|
+
</div>
|
|
162
|
+
{{/each}}
|
|
163
|
+
</div>
|
|
164
|
+
{{/if}}
|
|
165
|
+
|
|
166
|
+
<iframe
|
|
167
|
+
id='form-frame'
|
|
168
|
+
src='{{iframeSrc}}'
|
|
169
|
+
sandbox='allow-scripts allow-forms allow-modals allow-popups allow-downloads'
|
|
170
|
+
></iframe>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
{{#if useDialog}}
|
|
174
|
+
<div class='overlay' id='overlay'>
|
|
175
|
+
<div class='dialog' role='dialog' aria-modal='true' aria-labelledby='dialog-title'>
|
|
176
|
+
<div class='dialog-head'>
|
|
177
|
+
<span class='dialog-title' id='dialog-title'>Required credentials</span>
|
|
178
|
+
<button class='dialog-close' id='close-dialog' aria-label='Close'>×</button>
|
|
179
|
+
</div>
|
|
180
|
+
<div class='dialog-sub'>Connect required credentials to run this form using your data.</div>
|
|
181
|
+
<div class='dialog-list'>
|
|
182
|
+
{{#each credentials}}
|
|
183
|
+
<div class='cred-row' data-cred-id='{{id}}' data-status='{{status}}' data-resolver-id='{{resolverId}}'{{#if connected}} data-connected='true'{{/if}}{{#if revokeUrl}} data-revoke-url='{{revokeUrl}}'{{/if}}>
|
|
184
|
+
<span class='cred-icon'>{{initial}}</span>
|
|
185
|
+
<span class='cred-meta'>
|
|
186
|
+
<span class='cred-name'>{{name}}</span>
|
|
187
|
+
<span class='cred-sub {{#if connected}}connected{{/if}}'>{{#if connected}}{{#if account}}Connected as {{account}}{{else}}Connected{{/if}}{{else}}Not connected{{/if}}{{#if usedBy}} · used by {{usedBy}}{{/if}}</span>
|
|
188
|
+
</span>
|
|
189
|
+
{{#if connected}}
|
|
190
|
+
<span class='cred-connected'><button type='button' class='btn-connected'><span class='dot'></span> Connected <span class='caret'>▾</span></button><div class='cred-menu'><button type='button' class='btn-disconnect'>Disconnect</button></div></span>
|
|
191
|
+
{{else if authorizationUrl}}
|
|
192
|
+
<button class='btn btn-secondary connect' data-url='{{authorizationUrl}}'>{{#if (eq status 'expired')}}Reconnect{{else}}Connect{{/if}}</button>
|
|
193
|
+
{{else}}
|
|
194
|
+
<span class='cred-blocked'>Ask the form owner</span>
|
|
195
|
+
{{/if}}
|
|
196
|
+
</div>
|
|
197
|
+
{{/each}}
|
|
198
|
+
</div>
|
|
199
|
+
<div class='dialog-foot'>
|
|
200
|
+
<span class='dialog-count'>{{connectedCount}} of {{total}} credentials connected</span>
|
|
201
|
+
<button class='btn btn-primary' id='done-dialog'>Done</button>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
{{/if}}
|
|
206
|
+
|
|
207
|
+
<script>
|
|
208
|
+
(function () {
|
|
209
|
+
// Rows update in place — a reload would bounce the submitter back through consent.
|
|
210
|
+
var frame = document.getElementById('form-frame');
|
|
211
|
+
var ids = {};
|
|
212
|
+
var connected = {};
|
|
213
|
+
document.querySelectorAll('.cred-row').forEach(function (row) {
|
|
214
|
+
var id = row.getAttribute('data-cred-id');
|
|
215
|
+
ids[id] = true;
|
|
216
|
+
if (row.getAttribute('data-connected') === 'true') connected[id] = true;
|
|
217
|
+
});
|
|
218
|
+
var total = Object.keys(ids).length;
|
|
219
|
+
|
|
220
|
+
function refresh() {
|
|
221
|
+
var count = Object.keys(connected).length;
|
|
222
|
+
var txt = count + ' of ' + total + ' credentials connected';
|
|
223
|
+
document.querySelectorAll('.strip-count, .dialog-count').forEach(function (el) {
|
|
224
|
+
el.textContent = txt;
|
|
225
|
+
});
|
|
226
|
+
// UX-only signal to the form iframe; the server-side POST gate is the guarantee.
|
|
227
|
+
if (frame && frame.contentWindow) {
|
|
228
|
+
frame.contentWindow.postMessage(
|
|
229
|
+
{ type: count >= total ? 'n8n-shell-credentials-ready' : 'n8n-shell-credentials-not-ready' },
|
|
230
|
+
'*',
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
var shellEl = document.querySelector('.shell');
|
|
236
|
+
var SUBMITTER_EMAIL = shellEl ? shellEl.getAttribute('data-submitter-email') || '' : '';
|
|
237
|
+
var CONNECTED_MENU_HTML =
|
|
238
|
+
'<button type="button" class="btn-connected"><span class="dot"></span> Connected <span class="caret">▾</span></button>' +
|
|
239
|
+
'<div class="cred-menu"><button type="button" class="btn-disconnect">Disconnect</button></div>';
|
|
240
|
+
|
|
241
|
+
function markConnected(id) {
|
|
242
|
+
if (!id || connected[id]) return;
|
|
243
|
+
connected[id] = true;
|
|
244
|
+
// Card and dialog share the same data-cred-id; update both.
|
|
245
|
+
document.querySelectorAll('.cred-row[data-cred-id="' + id + '"]').forEach(function (row) {
|
|
246
|
+
row.setAttribute('data-connected', 'true');
|
|
247
|
+
var sub = row.querySelector('.cred-sub');
|
|
248
|
+
if (sub) {
|
|
249
|
+
sub.textContent = SUBMITTER_EMAIL ? 'Connected as ' + SUBMITTER_EMAIL : 'Connected';
|
|
250
|
+
sub.classList.add('connected');
|
|
251
|
+
}
|
|
252
|
+
var btn = row.querySelector('.connect');
|
|
253
|
+
if (btn) {
|
|
254
|
+
// Derive the revoke URL from the authorize link (same server-built base),
|
|
255
|
+
// so a just-connected row can disconnect without a reload.
|
|
256
|
+
var authUrl = btn.getAttribute('data-url');
|
|
257
|
+
var resolverId = row.getAttribute('data-resolver-id');
|
|
258
|
+
if (authUrl && resolverId && !row.getAttribute('data-revoke-url')) {
|
|
259
|
+
try {
|
|
260
|
+
var u = new URL(authUrl);
|
|
261
|
+
u.pathname = u.pathname.replace(/\/authorize$/, '/revoke');
|
|
262
|
+
u.search = '?resolverId=' + encodeURIComponent(resolverId);
|
|
263
|
+
row.setAttribute('data-revoke-url', u.toString());
|
|
264
|
+
} catch (e) {}
|
|
265
|
+
}
|
|
266
|
+
var wrap = document.createElement('span');
|
|
267
|
+
wrap.className = 'cred-connected';
|
|
268
|
+
wrap.innerHTML = CONNECTED_MENU_HTML;
|
|
269
|
+
btn.replaceWith(wrap);
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
refresh();
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
var pendingId = null;
|
|
276
|
+
|
|
277
|
+
// Connected only on the oauth-callback success signal — never on popup close,
|
|
278
|
+
// which also happens on provider-side failures.
|
|
279
|
+
function onSuccessSignal() { if (pendingId) markConnected(pendingId); }
|
|
280
|
+
try {
|
|
281
|
+
var channel = new BroadcastChannel('oauth-callback');
|
|
282
|
+
channel.addEventListener('message', function (event) {
|
|
283
|
+
if (event.data === 'success') onSuccessSignal();
|
|
284
|
+
});
|
|
285
|
+
} catch (e) {}
|
|
286
|
+
window.addEventListener('message', function (event) {
|
|
287
|
+
// Ignore the sandboxed form iframe so author content can't spoof a connect.
|
|
288
|
+
if (frame && event.source === frame.contentWindow) return;
|
|
289
|
+
if (event.data === 'success') onSuccessSignal();
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
function openConnect(id, url) {
|
|
293
|
+
if (!url) return;
|
|
294
|
+
pendingId = id;
|
|
295
|
+
// No popup-close handler: success is confirmed only by the signals above.
|
|
296
|
+
window.open(url, 'n8n-credential-connect', 'width=500,height=700,menubar=no,toolbar=no');
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
function markDisconnected(id) {
|
|
300
|
+
if (!id) return;
|
|
301
|
+
delete connected[id];
|
|
302
|
+
document.querySelectorAll('.cred-row[data-cred-id="' + id + '"]').forEach(function (row) {
|
|
303
|
+
row.removeAttribute('data-connected');
|
|
304
|
+
var sub = row.querySelector('.cred-sub');
|
|
305
|
+
if (sub) { sub.textContent = 'Not connected'; sub.classList.remove('connected'); }
|
|
306
|
+
var wrap = row.querySelector('.cred-connected');
|
|
307
|
+
if (wrap) {
|
|
308
|
+
var btn = document.createElement('button');
|
|
309
|
+
btn.className = 'btn btn-secondary connect';
|
|
310
|
+
// The one-time authorize link was consumed by the previous connect, so
|
|
311
|
+
// this Connect mints a fresh one instead of reloading (a reload would
|
|
312
|
+
// re-run the form's OAuth2 auth and re-show consent).
|
|
313
|
+
var revokeUrl = row.getAttribute('data-revoke-url');
|
|
314
|
+
if (revokeUrl) {
|
|
315
|
+
btn.setAttribute('data-authorize-url', revokeUrl.replace('/revoke?', '/authorize?'));
|
|
316
|
+
}
|
|
317
|
+
btn.textContent = 'Connect';
|
|
318
|
+
wrap.replaceWith(btn);
|
|
319
|
+
}
|
|
320
|
+
});
|
|
321
|
+
refresh();
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// Session-cookie auth + the browser-id the session was issued with (stored in
|
|
325
|
+
// localStorage on this same origin by the editor/consent pages).
|
|
326
|
+
function authHeaders() {
|
|
327
|
+
try {
|
|
328
|
+
var browserId = localStorage.getItem('n8n-browserId');
|
|
329
|
+
if (browserId) return { 'browser-id': browserId };
|
|
330
|
+
} catch (e) {}
|
|
331
|
+
return {};
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
function disconnectCred(row) {
|
|
335
|
+
if (!row) return;
|
|
336
|
+
var id = row.getAttribute('data-cred-id');
|
|
337
|
+
var revokeUrl = row.getAttribute('data-revoke-url');
|
|
338
|
+
if (!id || !revokeUrl) return;
|
|
339
|
+
fetch(revokeUrl + '&authSource=cookie', {
|
|
340
|
+
method: 'DELETE',
|
|
341
|
+
credentials: 'include',
|
|
342
|
+
headers: authHeaders(),
|
|
343
|
+
})
|
|
344
|
+
.then(function (r) { if (r.ok) markDisconnected(id); })
|
|
345
|
+
.catch(function () {});
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
// Reconnect after a disconnect: mint a fresh authorize link and send the popup
|
|
349
|
+
// there. The popup opens synchronously so it isn't treated as a pop-under.
|
|
350
|
+
function reconnect(id, mintUrl) {
|
|
351
|
+
if (!id || !mintUrl) return;
|
|
352
|
+
var popup = window.open('', 'n8n-credential-connect', 'width=500,height=700,menubar=no,toolbar=no');
|
|
353
|
+
pendingId = id;
|
|
354
|
+
fetch(mintUrl + '&authSource=cookie', {
|
|
355
|
+
method: 'POST',
|
|
356
|
+
credentials: 'include',
|
|
357
|
+
headers: authHeaders(),
|
|
358
|
+
})
|
|
359
|
+
.then(function (r) { return r.ok ? r.json() : null; })
|
|
360
|
+
.then(function (body) {
|
|
361
|
+
var url = body && (body.data || body);
|
|
362
|
+
if (typeof url === 'string' && popup) popup.location = url;
|
|
363
|
+
else if (popup) popup.close();
|
|
364
|
+
})
|
|
365
|
+
.catch(function () { if (popup) popup.close(); });
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// Delegated clicks so controls created after markConnected() also work.
|
|
369
|
+
document.addEventListener('click', function (e) {
|
|
370
|
+
var connectBtn = e.target.closest('.connect');
|
|
371
|
+
if (connectBtn) {
|
|
372
|
+
var row = connectBtn.closest('.cred-row');
|
|
373
|
+
var id = row ? row.getAttribute('data-cred-id') : null;
|
|
374
|
+
var mintUrl = connectBtn.getAttribute('data-authorize-url');
|
|
375
|
+
if (mintUrl) reconnect(id, mintUrl);
|
|
376
|
+
else openConnect(id, connectBtn.getAttribute('data-url'));
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
var menuBtn = e.target.closest('.btn-connected');
|
|
380
|
+
if (menuBtn) {
|
|
381
|
+
e.stopPropagation();
|
|
382
|
+
var menu = menuBtn.parentElement.querySelector('.cred-menu');
|
|
383
|
+
var wasOpen = menu && menu.classList.contains('open');
|
|
384
|
+
document.querySelectorAll('.cred-menu.open').forEach(function (m) { m.classList.remove('open'); });
|
|
385
|
+
if (menu && !wasOpen) {
|
|
386
|
+
menu.classList.add('open');
|
|
387
|
+
// Anchor to the button; flip above when out of room below.
|
|
388
|
+
var r = menuBtn.getBoundingClientRect();
|
|
389
|
+
var flipUp = window.innerHeight - r.bottom < menu.offsetHeight + 12;
|
|
390
|
+
menu.style.top = (flipUp ? r.top - menu.offsetHeight - 4 : r.bottom + 4) + 'px';
|
|
391
|
+
menu.style.left = r.right - menu.offsetWidth + 'px';
|
|
392
|
+
}
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
var disconnectBtn = e.target.closest('.btn-disconnect');
|
|
396
|
+
if (disconnectBtn) {
|
|
397
|
+
e.stopPropagation();
|
|
398
|
+
disconnectCred(disconnectBtn.closest('.cred-row'));
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
// Click elsewhere closes any open menu.
|
|
402
|
+
document.querySelectorAll('.cred-menu.open').forEach(function (m) { m.classList.remove('open'); });
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
// Dialog (3+ credentials)
|
|
406
|
+
var overlay = document.getElementById('overlay');
|
|
407
|
+
var open = document.getElementById('open-dialog');
|
|
408
|
+
if (open && overlay) {
|
|
409
|
+
open.addEventListener('click', function () { overlay.classList.add('open'); });
|
|
410
|
+
document.getElementById('close-dialog').addEventListener('click', function () { overlay.classList.remove('open'); });
|
|
411
|
+
document.getElementById('done-dialog').addEventListener('click', function () { overlay.classList.remove('open'); });
|
|
412
|
+
overlay.addEventListener('click', function (e) { if (e.target === overlay) overlay.classList.remove('open'); });
|
|
413
|
+
}
|
|
414
|
+
})();
|
|
415
|
+
</script>
|
|
416
|
+
</body>
|
|
417
|
+
|
|
418
|
+
</html>
|
|
@@ -255,6 +255,16 @@
|
|
|
255
255
|
opacity: 0.7;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
#submit-btn:disabled {
|
|
259
|
+
background-color: #e9eaec;
|
|
260
|
+
color: #9aa0a6;
|
|
261
|
+
cursor: not-allowed;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
#submit-btn:disabled:hover {
|
|
265
|
+
opacity: 1;
|
|
266
|
+
}
|
|
267
|
+
|
|
258
268
|
.error-hidden {
|
|
259
269
|
display: block;
|
|
260
270
|
position: relative;
|
|
@@ -621,7 +631,7 @@
|
|
|
621
631
|
{{/each}}
|
|
622
632
|
</div>
|
|
623
633
|
|
|
624
|
-
<button id='submit-btn' type='submit'>
|
|
634
|
+
<button id='submit-btn' type='submit' {{#if shellInner}}disabled title='Connect the required credentials first'{{/if}}>
|
|
625
635
|
<span><svg
|
|
626
636
|
xmlns='http://www.w3.org/2000/svg'
|
|
627
637
|
height='18px'
|
|
@@ -1110,5 +1120,24 @@
|
|
|
1110
1120
|
}
|
|
1111
1121
|
});
|
|
1112
1122
|
</script>
|
|
1123
|
+
{{#if shellInner}}
|
|
1124
|
+
<script>
|
|
1125
|
+
// Toggle submit on the hosting shell's readiness signals; the server-side
|
|
1126
|
+
// POST gate is the real enforcement.
|
|
1127
|
+
window.addEventListener('message', function (event) {
|
|
1128
|
+
if (event.source !== window.parent) return;
|
|
1129
|
+
if (!event.data) return;
|
|
1130
|
+
var btn = document.getElementById('submit-btn');
|
|
1131
|
+
if (!btn) return;
|
|
1132
|
+
if (event.data.type === 'n8n-shell-credentials-ready') {
|
|
1133
|
+
btn.disabled = false;
|
|
1134
|
+
btn.removeAttribute('title');
|
|
1135
|
+
} else if (event.data.type === 'n8n-shell-credentials-not-ready') {
|
|
1136
|
+
btn.disabled = true;
|
|
1137
|
+
btn.setAttribute('title', 'Connect the required credentials first');
|
|
1138
|
+
}
|
|
1139
|
+
});
|
|
1140
|
+
</script>
|
|
1141
|
+
{{/if}}
|
|
1113
1142
|
</body>
|
|
1114
1143
|
</html>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slack-bridge-behavior.js","sourceRoot":"","sources":["../../../../../src/modules/agents/integrations/platforms/slack-bridge-behavior.ts"],"names":[],"mappings":";;;;;;;AAAA,oDAAgD;AAChD,4CAAyC;AAazC,MAAM,qBAAqB,GAAG,aAAa,CAAC;AAC5C,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAExC,MAAM,0BAA0B,GAAG,EAAE,CAAC;AACtC,MAAM,uBAAuB,GAAG,IAAI,CAAC;AACrC,MAAM,+BAA+B,GAAG,IAAI,CAAC;AAC7C,MAAM,oBAAoB,GACzB,2GAA2G,CAAC;AAC7G,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AACxD,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AAE1D,MAAM,2BAA2B,GAChC,oBAAoB,CAAC,MAAM,GAAG,sBAAsB,CAAC,MAAM,GAAG,uBAAuB,CAAC,MAAM,GAAG,CAAC,CAAC;AAiBlG,sCAA6C,IAAkB;IAC9D,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACzC,IAAI,CAAC,IAAA,oBAAQ,EAAC,OAAO,CAAC;QAAE,OAAO,EAAE,CAAC;IAClC,MAAM,WAAW,GAAG,WAAW,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IACnD,OAAO,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AAC3C,CAAC;AAOD,kCAAyC,MAGxC;IAGA,IAAI,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,OAAO,CAAC,SAAS,KAAK,IAAI;QAAE,OAAO,UAAU,CAAC;IA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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slack-integration.js","sourceRoot":"","sources":["../../../../../src/modules/agents/integrations/platforms/slack-integration.ts"],"names":[],"mappings":";;;;;;;;;AAAA,gCAAkC;AAGlC,sEAUmC;AAEnC,8CAAiD;AACjD,kFAGyC;AACzC,gEAA+D;AAE/D,mEAMiC;AACjC,yDAAkF;AAClF,qEAAyE;AAQlE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,6CAAoB;IAAnD;;QACG,SAAI,GAAG,OAAO,CAAC;QAEf,oBAAe,GAAG,CAAC,UAAU,CAAC,CAAC;QAE/B,iBAAY,GAAG,OAAO,CAAC;QAEvB,gBAAW,GAAG,OAAO,CAAC;QAEtB,oBAAe,GAAG;YAC1B,YAAY,EAAE;gBACb,wDAAwD;gBACxD,0EAA0E;gBAC1E,gFAAgF;gBAChF,4DAA4D;aAC5D;YACD,kBAAkB,EAAE;gBACnB,2GAA2G;gBAC3G,0HAA0H;gBAC1H,yGAAyG;aACzG;YACD,eAAe,EAAE;gBAChB,4GAA4G;gBAC5G,iIAAiI;aACjI;SACD,CAAC;QAEO,wBAAmB,GAAqC;YAChE,SAAS;YACT,QAAQ;YACR,QAAQ;YACR,cAAc;YACd,SAAS;YACT,OAAO;YACP,QAAQ;SACR,CAAC;QAEO,2BAAsB,GAAG,IAAA,wEAAyC,EAAC;YAC3E,6BAA6B;YAC7B,qBAAqB;YACrB,kBAAkB;YAClB,0BAA0B;YAC1B,UAAU;YACV,kBAAkB;YAClB,cAAc;YACd,iBAAiB;SACjB,CAAC,CAAC;QAEM,0BAAqB,GAAG;YAChC,GAAG,IAAA,kEAAmC,EAAC,CAAC,SAAS,EAAE,SAAS,EAAE,sBAAsB,CAAC,CAAC;YACtF,GAAG,sDAA6B;SAChC,CAAC;IAiHH,CAAC;IA/GA,uBAAuB,CAAC,IAAkB;QACzC,OAAO,IAAA,oDAA4B,EAAC,IAAI,CAAC,CAAC;IAC3C,CAA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AC,eAAe,CAAC;QAC1C,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,EAAE,CAAC;YAC1C,OAAO,MAAM,CAAC;QACf,CAAC;QAED,MAAM,IAAI,KAAK,CACd,8FAA8F;YAC7F,4HAA4H,CAC7H,CAAC;IACH,CAAC;CACD,CAAA;;2BApKY,gBAAgB;IAD5B,IAAA,YAAO,GAAE;GACG,gBAAgB,CAoK5B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { ChatInstance } from '../chat-integration.service';
|
|
2
|
-
import type { IntegrationAction, IntegrationActionResult, IntegrationContextQuery, IntegrationMessageContext, IntegrationToolConnectionDescriptor } from '../integration-tools';
|
|
3
|
-
export declare function executeSlackContextQuery(params: {
|
|
4
|
-
chat: ChatInstance;
|
|
5
|
-
query: IntegrationContextQuery;
|
|
6
|
-
input: Record<string, unknown>;
|
|
7
|
-
}): Promise<unknown>;
|
|
8
|
-
export declare function executeSlackAction(params: {
|
|
9
|
-
chat: ChatInstance;
|
|
10
|
-
descriptor: IntegrationToolConnectionDescriptor;
|
|
11
|
-
action: IntegrationAction;
|
|
12
|
-
input: Record<string, unknown>;
|
|
13
|
-
currentMessageContext?: IntegrationMessageContext;
|
|
14
|
-
}): Promise<IntegrationActionResult | undefined>;
|
|
15
|
-
export declare function subscribeSlackThread(thread: {
|
|
16
|
-
subscribe?: () => Promise<void>;
|
|
17
|
-
}): Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slack-operations.js","sourceRoot":"","sources":["../../../../../src/modules/agents/integrations/platforms/slack-operations.ts"],"names":[],"mappings":";;;;;AAAA,6BAAwB;AACxB,oDAAgD;AAGhD,wEAAqE;AACrE,gEAKgC;AAShC,MAAM,QAAQ,GAAG,OAAO,CAAC;AAEzB,MAAM,aAAa,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC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|
-
import { z } from 'zod';
|
|
2
|
-
export declare const SLACK_ACTION_TOOL_DEFINITIONS: ({
|
|
3
|
-
name: "add_reaction";
|
|
4
|
-
inputSchema: z.ZodObject<{
|
|
5
|
-
action: z.ZodLiteral<"add_reaction">;
|
|
6
|
-
input: z.ZodObject<{
|
|
7
|
-
emoji: z.ZodString;
|
|
8
|
-
threadId: z.ZodOptional<z.ZodString>;
|
|
9
|
-
messageId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}, "strict", z.ZodTypeAny, {
|
|
11
|
-
emoji: string;
|
|
12
|
-
threadId?: string | undefined;
|
|
13
|
-
messageId?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
emoji: string;
|
|
16
|
-
threadId?: string | undefined;
|
|
17
|
-
messageId?: string | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
action: "add_reaction";
|
|
21
|
-
input: {
|
|
22
|
-
emoji: string;
|
|
23
|
-
threadId?: string | undefined;
|
|
24
|
-
messageId?: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
}, {
|
|
27
|
-
action: "add_reaction";
|
|
28
|
-
input: {
|
|
29
|
-
emoji: string;
|
|
30
|
-
threadId?: string | undefined;
|
|
31
|
-
messageId?: string | undefined;
|
|
32
|
-
};
|
|
33
|
-
}>;
|
|
34
|
-
description: string;
|
|
35
|
-
} | {
|
|
36
|
-
name: "do_not_respond";
|
|
37
|
-
inputSchema: z.ZodObject<{
|
|
38
|
-
action: z.ZodLiteral<"do_not_respond">;
|
|
39
|
-
input: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
40
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
action: "do_not_respond";
|
|
42
|
-
input: {};
|
|
43
|
-
}, {
|
|
44
|
-
action: "do_not_respond";
|
|
45
|
-
input: {};
|
|
46
|
-
}>;
|
|
47
|
-
description: string;
|
|
48
|
-
})[];
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SLACK_ACTION_TOOL_DEFINITIONS = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const addReactionActionInputSchema = zod_1.z.object({
|
|
6
|
-
action: zod_1.z.literal('add_reaction'),
|
|
7
|
-
input: zod_1.z
|
|
8
|
-
.object({
|
|
9
|
-
emoji: zod_1.z
|
|
10
|
-
.string()
|
|
11
|
-
.min(1)
|
|
12
|
-
.describe('Emoji name or shortcode to add, for example eyes or :white_check_mark:.'),
|
|
13
|
-
threadId: zod_1.z
|
|
14
|
-
.string()
|
|
15
|
-
.min(1)
|
|
16
|
-
.optional()
|
|
17
|
-
.describe('Optional Slack thread ID. Defaults to the latest message context.'),
|
|
18
|
-
messageId: zod_1.z
|
|
19
|
-
.string()
|
|
20
|
-
.min(1)
|
|
21
|
-
.optional()
|
|
22
|
-
.describe('Optional Slack message timestamp. Defaults to the latest message context.'),
|
|
23
|
-
})
|
|
24
|
-
.strict(),
|
|
25
|
-
});
|
|
26
|
-
const doNotRespondActionInputSchema = zod_1.z.object({
|
|
27
|
-
action: zod_1.z.literal('do_not_respond'),
|
|
28
|
-
input: zod_1.z.object({}).strict(),
|
|
29
|
-
});
|
|
30
|
-
exports.SLACK_ACTION_TOOL_DEFINITIONS = [
|
|
31
|
-
{
|
|
32
|
-
name: 'add_reaction',
|
|
33
|
-
inputSchema: addReactionActionInputSchema,
|
|
34
|
-
description: 'add_reaction: input.emoji is required. For Slack, optional input.threadId and input.messageId target a specific message; otherwise the latest message context is used.',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
name: 'do_not_respond',
|
|
38
|
-
inputSchema: doNotRespondActionInputSchema,
|
|
39
|
-
description: 'do_not_respond: no input. Ends the turn without sending any message. Use only for messages in subscribed group channels or threads that need no reaction from you, or when the user explicitly asked you not to reply. Never use it for direct messages or direct mentions. After calling it, stop immediately — do not write any text and never post a message saying you are staying silent.',
|
|
40
|
-
},
|
|
41
|
-
];
|
|
42
|
-
//# sourceMappingURL=slack-tool-definitions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slack-tool-definitions.js","sourceRoot":"","sources":["../../../../../src/modules/agents/integrations/platforms/slack-tool-definitions.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAIxB,MAAM,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,cAAc,CAAC;IACjC,KAAK,EAAE,OAAC;SACN,MAAM,CAAC;QACP,KAAK,EAAE,OAAC;aACN,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CAAC,yEAAyE,CAAC;QACrF,QAAQ,EAAE,OAAC;aACT,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CAAC,mEAAmE,CAAC;QAC/E,SAAS,EAAE,OAAC;aACV,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CAAC,2EAA2E,CAAC;KACvF,CAAC;SACD,MAAM,EAAE;CACV,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC;IACnC,KAAK,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEU,QAAA,6BAA6B,GAAG;IAC5C;QACC,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE,4BAA4B;QACzC,WAAW,EACV,wKAAwK;KACzK;IACD;QACC,IAAI,EAAE,gBAAgB;QACtB,WAAW,EAAE,6BAA6B;QAC1C,WAAW,EACV,gYAAgY;KACjY;CACuC,CAAC"}
|