n8n 2.45.0 → 2.45.2
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/auth/auth.service.d.ts +4 -2
- package/dist/auth/auth.service.js +8 -3
- package/dist/auth/auth.service.js.map +1 -1
- package/dist/build.tsbuildinfo +1 -1
- package/dist/commands/base-command.d.ts +2 -0
- package/dist/commands/base-command.js +35 -1
- package/dist/commands/base-command.js.map +1 -1
- package/dist/load-nodes-and-credentials.d.ts +1 -0
- package/dist/load-nodes-and-credentials.js +8 -2
- package/dist/load-nodes-and-credentials.js.map +1 -1
- package/dist/modules/agents/agent-modification-telemetry.service.d.ts +3 -1
- package/dist/modules/agents/agent-modification-telemetry.service.js +10 -2
- package/dist/modules/agents/agent-modification-telemetry.service.js.map +1 -1
- package/dist/modules/agents/agents.service.js +10 -5
- package/dist/modules/agents/agents.service.js.map +1 -1
- package/dist/modules/agents/builder/get-resource-locator-options.tool.d.ts +2 -2
- package/dist/modules/agents/repositories/agent.repository.d.ts +5 -0
- package/dist/modules/agents/repositories/agent.repository.js +48 -10
- package/dist/modules/agents/repositories/agent.repository.js.map +1 -1
- package/dist/modules/agents/utils/agent-ref.d.ts +3 -1
- package/dist/modules/agents/utils/agent-ref.js +3 -2
- package/dist/modules/agents/utils/agent-ref.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.controller.d.ts +12 -7
- package/dist/modules/breaking-changes/breaking-changes.controller.js +63 -14
- package/dist/modules/breaking-changes/breaking-changes.controller.js.map +1 -1
- package/dist/modules/breaking-changes/breaking-changes.migration.service.d.ts +1 -0
- package/dist/modules/breaking-changes/breaking-changes.migration.service.js +3 -2
- package/dist/modules/breaking-changes/breaking-changes.migration.service.js.map +1 -1
- package/dist/modules/breaking-changes/migration-report-csv.d.ts +3 -0
- package/dist/modules/breaking-changes/migration-report-csv.js +66 -0
- package/dist/modules/breaking-changes/migration-report-csv.js.map +1 -0
- package/dist/modules/breaking-changes/owners/migration-owner-assignment.service.d.ts +2 -1
- package/dist/modules/breaking-changes/owners/migration-owner-assignment.service.js +18 -1
- package/dist/modules/breaking-changes/owners/migration-owner-assignment.service.js.map +1 -1
- package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.js +2 -1
- package/dist/modules/breaking-changes/owners/migration-owner-suggestion.service.js.map +1 -1
- package/dist/modules/breaking-changes/owners/workflow-owner.d.ts +1 -0
- package/dist/modules/breaking-changes/owners/workflow-owner.js +4 -0
- package/dist/modules/breaking-changes/owners/workflow-owner.js.map +1 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.js +9 -1
- package/dist/modules/instance-ai/instance-ai.adapter.service.js.map +1 -1
- package/dist/modules/mcp/mcp-api-key.service.js +4 -1
- package/dist/modules/mcp/mcp-api-key.service.js.map +1 -1
- package/dist/modules/mcp/mcp.controller.js +2 -0
- package/dist/modules/mcp/mcp.controller.js.map +1 -1
- package/dist/modules/mcp/mcp.service.d.ts +1 -0
- package/dist/modules/mcp/mcp.service.js +18 -2
- package/dist/modules/mcp/mcp.service.js.map +1 -1
- package/dist/modules/mcp-discovery/activity-events.service.d.ts +14 -0
- package/dist/modules/mcp-discovery/activity-events.service.js +67 -0
- package/dist/modules/mcp-discovery/activity-events.service.js.map +1 -0
- package/dist/modules/mcp-discovery/activity.service.d.ts +16 -0
- package/dist/modules/mcp-discovery/activity.service.js +71 -0
- package/dist/modules/mcp-discovery/activity.service.js.map +1 -0
- package/dist/modules/mcp-discovery/eligibility.d.ts +21 -0
- package/dist/modules/mcp-discovery/eligibility.js +31 -0
- package/dist/modules/mcp-discovery/eligibility.js.map +1 -0
- package/dist/modules/mcp-discovery/enrollment.service.d.ts +19 -0
- package/dist/modules/mcp-discovery/enrollment.service.js +100 -0
- package/dist/modules/mcp-discovery/enrollment.service.js.map +1 -0
- package/dist/modules/mcp-discovery/events.d.ts +29 -0
- package/dist/modules/mcp-discovery/events.js +3 -0
- package/dist/modules/mcp-discovery/events.js.map +1 -0
- package/dist/modules/mcp-discovery/mcp-discovery.controller.d.ts +9 -0
- package/dist/modules/mcp-discovery/mcp-discovery.controller.js +39 -0
- package/dist/modules/mcp-discovery/mcp-discovery.controller.js.map +1 -0
- package/dist/modules/mcp-discovery/mcp-discovery.dto.d.ts +11 -0
- package/dist/modules/mcp-discovery/mcp-discovery.dto.js +12 -0
- package/dist/modules/mcp-discovery/mcp-discovery.dto.js.map +1 -0
- package/dist/modules/mcp-discovery/mcp-discovery.module.d.ts +4 -0
- package/dist/modules/mcp-discovery/mcp-discovery.module.js +26 -0
- package/dist/modules/mcp-discovery/mcp-discovery.module.js.map +1 -0
- package/dist/modules/mcp-discovery/types.d.ts +6 -0
- package/dist/modules/mcp-discovery/types.js +3 -0
- package/dist/modules/mcp-discovery/types.js.map +1 -0
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.d.ts +8 -2
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js +15 -11
- package/dist/modules/type-availability-policies/database/repositories/type-availability-policy-scope.repository.js.map +1 -1
- package/dist/modules/type-availability-policies/effective-policy.d.ts +17 -0
- package/dist/modules/type-availability-policies/effective-policy.js +33 -0
- package/dist/modules/type-availability-policies/effective-policy.js.map +1 -0
- package/dist/modules/type-availability-policies/policy-rule.types.d.ts +0 -4
- package/dist/modules/type-availability-policies/type-availability-policies.module.js +2 -0
- package/dist/modules/type-availability-policies/type-availability-policies.module.js.map +1 -1
- package/dist/modules/type-availability-policies/type-availability-policy-snapshot.d.ts +28 -0
- package/dist/modules/type-availability-policies/type-availability-policy-snapshot.js +138 -0
- package/dist/modules/type-availability-policies/type-availability-policy-snapshot.js.map +1 -0
- package/dist/modules/type-availability-policies/type-availability-policy.service.d.ts +8 -25
- package/dist/modules/type-availability-policies/type-availability-policy.service.js +42 -171
- package/dist/modules/type-availability-policies/type-availability-policy.service.js.map +1 -1
- package/dist/scaling/constants.d.ts +2 -2
- package/dist/scaling/pubsub/pubsub.event-map.d.ts +5 -1
- package/dist/scaling/pubsub/pubsub.types.d.ts +2 -1
- package/dist/scaling/pubsub/subscriber.service.js +2 -0
- package/dist/scaling/pubsub/subscriber.service.js.map +1 -1
- package/dist/user-management/email/templates/n8n-logo.png +0 -0
- package/package.json +36 -36
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migration-owner-suggestion.service.js","sourceRoot":"","sources":["../../../../src/modules/breaking-changes/owners/migration-owner-suggestion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAQiB;AACjB,gCAAkC;
|
|
1
|
+
{"version":3,"file":"migration-owner-suggestion.service.js","sourceRoot":"","sources":["../../../../src/modules/breaking-changes/owners/migration-owner-suggestion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,gCAQiB;AACjB,gCAAkC;AAGlC,qDAAkD;AASlD,MAAM,iBAAiB,GAAG,YAAY,CAAC;AAO1B,QAAA,2BAA2B,GAAG,EAAE,CAAC;AAevC,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IAC3C,YACkB,uBAAgD,EAChD,gCAAkE,EAClE,yBAAoD,EACpD,wBAAkD,EAClD,yBAAoD,EACpD,cAA8B;uCAL9B,uBAAuB;gDACvB,gCAAgC;yCAChC,yBAAyB;wCACzB,wBAAwB;yCACxB,yBAAyB;8BACzB,cAAc;IAC7B,CAAC;IAEJ,KAAK,CAAC,aAAa,CAAC,WAAqB;QACxC,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,EAAE,CAAC;QAExC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,iBAAiB,EAAE,CAAC;QAC7C,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,4BAA4B,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QAErF,MAAM,UAAU,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,gBAAgB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC;QACzF,MAAM,kBAAk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,CAAC,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC;YAC5C,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,EAAE,EAAgB,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;YACjF,IAAI,MAAM;gBAAE,MAAM,CAAC,GAAG,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;QAC5C,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC;CACD,CAAA;;0CA3GY,+BAA+B;IAD3C,IAAA,YAAO,GAAE;qCAGkC,4BAAuB,EACd,qCAAgC,EACvC,8BAAyB,EAC1B,6BAAwB,EACvB,8BAAyB,EACpC,mBAAc;GAPpC,+BAA+B,CA2G3C;AAWD,SAAS,aAAa,CAAC,OAAe,EAAE,KAAoB;IAC3D,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC;QAC/C,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC;QAC7C,CAAC,CAAC,OAAO,CAAC;IACX,MAAM,GAAG,GAAG,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACtC,OAAO,GAAG,EAAE,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { BreakingChangeWorkflowOwner, MigrationOwnerSource } from '@n8n/api-types';
|
|
2
2
|
import type { User } from '@n8n/db';
|
|
3
3
|
export declare function toWorkflowOwner(user: Pick<User, 'id' | 'firstName' | 'lastName' | 'email'>, source: MigrationOwnerSource): BreakingChangeWorkflowOwner;
|
|
4
|
+
export declare function canOwnFindings(user: Pick<User, 'disabled' | 'isPending'>): boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toWorkflowOwner = toWorkflowOwner;
|
|
4
|
+
exports.canOwnFindings = canOwnFindings;
|
|
4
5
|
function toWorkflowOwner(user, source) {
|
|
5
6
|
return {
|
|
6
7
|
id: user.id,
|
|
@@ -10,4 +11,7 @@ function toWorkflowOwner(user, source) {
|
|
|
10
11
|
source,
|
|
11
12
|
};
|
|
12
13
|
}
|
|
14
|
+
function canOwnFindings(user) {
|
|
15
|
+
return !user.disabled && !user.isPending;
|
|
16
|
+
}
|
|
13
17
|
//# sourceMappingURL=workflow-owner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-owner.js","sourceRoot":"","sources":["../../../../src/modules/breaking-changes/owners/workflow-owner.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow-owner.js","sourceRoot":"","sources":["../../../../src/modules/breaking-changes/owners/workflow-owner.ts"],"names":[],"mappings":";;;;AAIA,yBACC,IAA2D,EAC3D,MAA4B;IAE5B,OAAO;QACN,EAAE,EAAE,IAAI,CAAC,EAAE;QACX,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM;KACN,CAAC;AACH,CAAC;AAGD,wBAA+B,IAA0C;IACxE,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;AAC1C,CAAC"}
|
|
@@ -586,7 +586,7 @@ let InstanceAiAdapterService = class InstanceAiAdapterService {
|
|
|
586
586
|
const foldersOn = options.folderExploration === true;
|
|
587
587
|
const foldersAttributed = foldersOn && this.license.isLicensed('feat:folders');
|
|
588
588
|
const { folderRepository, folderFinderService, projectService } = this;
|
|
589
|
-
const { workflowService, workflowFinderService, workflowRepository, sharedWorkflowRepository, aiBuilderTemporaryWorkflowRepository, workflowHistoryService, enterpriseWorkflowService, executionRepository, executionPersistence, license, telemetry, collaborationService, policyEnforcementService, workflowDependencyQueryService, } = this;
|
|
589
|
+
const { workflowService, workflowFinderService, workflowRepository, sharedWorkflowRepository, aiBuilderTemporaryWorkflowRepository, workflowHistoryService, enterpriseWorkflowService, executionRepository, executionPersistence, license, telemetry, eventService, collaborationService, policyEnforcementService, workflowDependencyQueryService, } = this;
|
|
590
590
|
const logger = this.logger;
|
|
591
591
|
const maxExecutionTimeout = this.globalConfig.executions.maxTimeout;
|
|
592
592
|
const assertNotReadOnly = () => this.assertInstanceNotReadOnly('workflows');
|
|
@@ -1087,6 +1087,10 @@ let InstanceAiAdapterService = class InstanceAiAdapterService {
|
|
|
1087
1087
|
throw error;
|
|
1088
1088
|
}
|
|
1089
1089
|
if (threadId) {
|
|
1090
|
+
eventService.emit('experiment-assistant-change-saved', {
|
|
1091
|
+
userId: user.id,
|
|
1092
|
+
at: Date.now(),
|
|
1093
|
+
});
|
|
1090
1094
|
telemetry.track('Builder created workflow', {
|
|
1091
1095
|
...setupExperimentProperties,
|
|
1092
1096
|
user_id: user.id,
|
|
@@ -1163,6 +1167,10 @@ let InstanceAiAdapterService = class InstanceAiAdapterService {
|
|
|
1163
1167
|
throw error;
|
|
1164
1168
|
}
|
|
1165
1169
|
if (threadId) {
|
|
1170
|
+
eventService.emit('experiment-assistant-change-saved', {
|
|
1171
|
+
userId: user.id,
|
|
1172
|
+
at: Date.now(),
|
|
1173
|
+
});
|
|
1166
1174
|
telemetry.track('Builder modified workflow', {
|
|
1167
1175
|
...setupExperimentProperties,
|
|
1168
1176
|
user_id: user.id,
|