@atom8n/n8n 2.5.4 → 2.5.5

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.
@@ -16,8 +16,8 @@ declare const flagsSchema: z.ZodObject<{
16
16
  retries: z.ZodDefault<z.ZodNumber>;
17
17
  shortOutput: z.ZodOptional<z.ZodBoolean>;
18
18
  }, "strip", z.ZodTypeAny, {
19
- debug: boolean;
20
19
  concurrency: number;
20
+ debug: boolean;
21
21
  retries: number;
22
22
  output?: string | undefined;
23
23
  compare?: string | undefined;
@@ -28,9 +28,9 @@ declare const flagsSchema: z.ZodObject<{
28
28
  skipList?: string | undefined;
29
29
  shortOutput?: boolean | undefined;
30
30
  }, {
31
- debug?: boolean | undefined;
32
31
  output?: string | undefined;
33
32
  concurrency?: number | undefined;
33
+ debug?: boolean | undefined;
34
34
  compare?: string | undefined;
35
35
  ids?: string | undefined;
36
36
  snapshot?: string | undefined;
@@ -5,12 +5,12 @@ declare const flagsSchema: z.ZodObject<{
5
5
  rawOutput: z.ZodOptional<z.ZodBoolean>;
6
6
  file: z.ZodOptional<z.ZodString>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- id?: string | undefined;
9
8
  file?: string | undefined;
9
+ id?: string | undefined;
10
10
  rawOutput?: boolean | undefined;
11
11
  }, {
12
- id?: string | undefined;
13
12
  file?: string | undefined;
13
+ id?: string | undefined;
14
14
  rawOutput?: boolean | undefined;
15
15
  }>;
16
16
  export declare class Execute extends BaseCommand<z.infer<typeof flagsSchema>> {
@@ -9,16 +9,16 @@ declare const flagsSchema: z.ZodObject<{
9
9
  separate: z.ZodOptional<z.ZodBoolean>;
10
10
  decrypted: z.ZodOptional<z.ZodBoolean>;
11
11
  }, "strip", z.ZodTypeAny, {
12
- output?: string | undefined;
13
12
  id?: string | undefined;
13
+ output?: string | undefined;
14
14
  all?: boolean | undefined;
15
15
  backup?: boolean | undefined;
16
16
  pretty?: boolean | undefined;
17
17
  separate?: boolean | undefined;
18
18
  decrypted?: boolean | undefined;
19
19
  }, {
20
- output?: string | undefined;
21
20
  id?: string | undefined;
21
+ output?: string | undefined;
22
22
  all?: boolean | undefined;
23
23
  backup?: boolean | undefined;
24
24
  pretty?: boolean | undefined;
@@ -8,15 +8,15 @@ declare const flagsSchema: z.ZodObject<{
8
8
  pretty: z.ZodOptional<z.ZodBoolean>;
9
9
  separate: z.ZodOptional<z.ZodBoolean>;
10
10
  }, "strip", z.ZodTypeAny, {
11
- output?: string | undefined;
12
11
  id?: string | undefined;
12
+ output?: string | undefined;
13
13
  all?: boolean | undefined;
14
14
  backup?: boolean | undefined;
15
15
  pretty?: boolean | undefined;
16
16
  separate?: boolean | undefined;
17
17
  }, {
18
- output?: string | undefined;
19
18
  id?: string | undefined;
19
+ output?: string | undefined;
20
20
  all?: boolean | undefined;
21
21
  backup?: boolean | undefined;
22
22
  pretty?: boolean | undefined;
@@ -7,13 +7,13 @@ declare const flagsSchema: z.ZodObject<{
7
7
  projectId: z.ZodOptional<z.ZodString>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  separate: boolean;
10
- input?: string | undefined;
11
- projectId?: string | undefined;
12
10
  userId?: string | undefined;
13
- }, {
14
- input?: string | undefined;
15
11
  projectId?: string | undefined;
12
+ input?: string | undefined;
13
+ }, {
16
14
  userId?: string | undefined;
15
+ projectId?: string | undefined;
16
+ input?: string | undefined;
17
17
  separate?: boolean | undefined;
18
18
  }>;
19
19
  export declare class ImportCredentialsCommand extends BaseCommand<z.infer<typeof flagsSchema>> {
@@ -7,13 +7,13 @@ declare const flagsSchema: z.ZodObject<{
7
7
  projectId: z.ZodOptional<z.ZodString>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  separate: boolean;
10
- input?: string | undefined;
11
- projectId?: string | undefined;
12
10
  userId?: string | undefined;
13
- }, {
14
- input?: string | undefined;
15
11
  projectId?: string | undefined;
12
+ input?: string | undefined;
13
+ }, {
16
14
  userId?: string | undefined;
15
+ projectId?: string | undefined;
16
+ input?: string | undefined;
17
17
  separate?: boolean | undefined;
18
18
  }>;
19
19
  export declare class ImportWorkflowsCommand extends BaseCommand<z.infer<typeof flagsSchema>> {
@@ -5,12 +5,12 @@ declare const flagsSchema: z.ZodObject<{
5
5
  projectId: z.ZodOptional<z.ZodString>;
6
6
  deleteWorkflowsAndCredentials: z.ZodOptional<z.ZodBoolean>;
7
7
  }, "strip", z.ZodTypeAny, {
8
- projectId?: string | undefined;
9
8
  userId?: string | undefined;
9
+ projectId?: string | undefined;
10
10
  deleteWorkflowsAndCredentials?: boolean | undefined;
11
11
  }, {
12
- projectId?: string | undefined;
13
12
  userId?: string | undefined;
13
+ projectId?: string | undefined;
14
14
  deleteWorkflowsAndCredentials?: boolean | undefined;
15
15
  }>;
16
16
  export declare class Reset extends BaseCommand<z.infer<typeof flagsSchema>> {
@@ -7,15 +7,15 @@ declare const flagsSchema: z.ZodObject<{
7
7
  limit: z.ZodDefault<z.ZodNumber>;
8
8
  concurrency: z.ZodDefault<z.ZodNumber>;
9
9
  }, "strip", z.ZodTypeAny, {
10
- output: string;
11
10
  limit: number;
11
+ output: string;
12
12
  concurrency: number;
13
13
  input?: string | undefined;
14
14
  prompt?: string | undefined;
15
15
  }, {
16
+ limit?: number | undefined;
16
17
  output?: string | undefined;
17
18
  input?: string | undefined;
18
- limit?: number | undefined;
19
19
  concurrency?: number | undefined;
20
20
  prompt?: string | undefined;
21
21
  }>;
@@ -68,6 +68,10 @@ exports.PROVIDER_NODE_TYPE_MAP = {
68
68
  name: '@n8n/n8n-nodes-langchain.lmChatMistralCloud',
69
69
  version: 1,
70
70
  },
71
+ cursorAgent: {
72
+ name: '@n8n/n8n-nodes-langchain.lmChatCursorAgent',
73
+ version: 1,
74
+ },
71
75
  };
72
76
  exports.NODE_NAMES = {
73
77
  CHAT_TRIGGER: 'When chat message received',
@@ -30,6 +30,7 @@ export declare class ChatHubModelsService {
30
30
  private fetchGroqModels;
31
31
  private fetchXAiGrokModels;
32
32
  private fetchVercelAiGatewayModels;
33
+ private fetchCursorAgentModels;
33
34
  private fetchAgentWorkflowsAsModels;
34
35
  extractModelFromWorkflow({ name, activeVersion, id, shared }: WorkflowEntity, scopes: Scope[]): ChatModelDto | null;
35
36
  private transformAndFilterModels;
@@ -128,6 +128,10 @@ let ChatHubModelsService = class ChatHubModelsService {
128
128
  const rawModels = await this.fetchMistralCloudModels(credentials, additionalData);
129
129
  return { models: this.transformAndFilterModels(rawModels, 'mistralCloud') };
130
130
  }
131
+ case 'cursorAgent': {
132
+ const rawModels = this.fetchCursorAgentModels();
133
+ return { models: this.transformAndFilterModels(rawModels, 'cursorAgent') };
134
+ }
131
135
  case 'n8n':
132
136
  return { models: await this.fetchAgentWorkflowsAsModels(user) };
133
137
  case 'custom-agent':
@@ -530,6 +534,24 @@ let ChatHubModelsService = class ChatHubModelsService {
530
534
  },
531
535
  }, additionalData, chat_hub_constants_1.PROVIDER_NODE_TYPE_MAP.vercelAiGateway, {}, credentials);
532
536
  }
537
+ fetchCursorAgentModels() {
538
+ return [
539
+ { name: 'Auto', value: 'auto' },
540
+ { name: 'Composer 1', value: 'composer-1' },
541
+ { name: 'Composer 1.5', value: 'composer-1.5' },
542
+ { name: 'Gemini 3 Flash', value: 'gemini-3-flash' },
543
+ { name: 'Gemini 3 Pro', value: 'gemini-3-pro' },
544
+ { name: 'GPT-5.1 Codex Max', value: 'gpt-5.1-codex-max' },
545
+ { name: 'GPT-5.1 Codex Max High', value: 'gpt-5.1-codex-max-high' },
546
+ { name: 'GPT-5.2', value: 'gpt-5.2' },
547
+ { name: 'GPT-5.2 High', value: 'gpt-5.2-high' },
548
+ { name: 'Grok', value: 'grok' },
549
+ { name: 'Opus 4.5', value: 'opus-4.5' },
550
+ { name: 'Opus 4.5 Thinking', value: 'opus-4.5-thinking' },
551
+ { name: 'Sonnet 4.5', value: 'sonnet-4.5' },
552
+ { name: 'Sonnet 4.5 Thinking', value: 'sonnet-4.5-thinking' },
553
+ ];
554
+ }
533
555
  async fetchAgentWorkflowsAsModels(user) {
534
556
  const workflowsWithChatTrigger = await this.workflowService.getWorkflowsWithNodesIncluded(user, [n8n_workflow_1.CHAT_TRIGGER_NODE_TYPE], true);
535
557
  const activeWorkflows = workflowsWithChatTrigger
@@ -3,8 +3,8 @@ export declare class ChatHubModule implements ModuleInterface {
3
3
  init(): Promise<void>;
4
4
  settings(): Promise<{
5
5
  enabled: boolean;
6
- providers: Record<"openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud", {
7
- provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud";
6
+ providers: Record<"openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "cursorAgent", {
7
+ provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "cursorAgent";
8
8
  credentialId: string | null;
9
9
  allowedModels: {
10
10
  model: string;
@@ -16,6 +16,6 @@ export declare class ChatHubModule implements ModuleInterface {
16
16
  enabled?: boolean | undefined;
17
17
  }>;
18
18
  }>;
19
- entities(): Promise<(typeof import("./chat-hub-agent.entity").ChatHubAgent | typeof import("./chat-hub-session.entity").ChatHubSession | typeof import("./chat-hub-message.entity").ChatHubMessage)[]>;
19
+ entities(): Promise<(typeof import("./chat-hub-session.entity").ChatHubSession | typeof import("./chat-hub-message.entity").ChatHubMessage | typeof import("./chat-hub-agent.entity").ChatHubAgent)[]>;
20
20
  shutdown(): Promise<void>;
21
21
  }
@@ -8,8 +8,8 @@ export declare class ChatHubSettingsController {
8
8
  private readonly moduleRegistry;
9
9
  constructor(settings: ChatHubSettingsService, logger: Logger, moduleRegistry: ModuleRegistry);
10
10
  getSettings(_req: AuthenticatedRequest, _res: Response): Promise<{
11
- providers: Record<"openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud", {
12
- provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud";
11
+ providers: Record<"openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "cursorAgent", {
12
+ provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "cursorAgent";
13
13
  credentialId: string | null;
14
14
  allowedModels: {
15
15
  model: string;
@@ -23,7 +23,7 @@ export declare class ChatHubSettingsController {
23
23
  }>;
24
24
  getProviderSettings(_req: AuthenticatedRequest, _res: Response, provider: ChatHubLLMProvider): Promise<{
25
25
  settings: {
26
- provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud";
26
+ provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "cursorAgent";
27
27
  credentialId: string | null;
28
28
  allowedModels: {
29
29
  model: string;
@@ -36,7 +36,7 @@ export declare class ChatHubSettingsController {
36
36
  };
37
37
  }>;
38
38
  updateSettings(_req: AuthenticatedRequest, _res: Response, body: UpdateChatSettingsRequest): Promise<{
39
- provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud";
39
+ provider: "openai" | "anthropic" | "google" | "azureOpenAi" | "azureEntraId" | "ollama" | "awsBedrock" | "vercelAiGateway" | "xAiGrok" | "groq" | "openRouter" | "deepSeek" | "cohere" | "mistralCloud" | "cursorAgent";
40
40
  credentialId: string | null;
41
41
  allowedModels: {
42
42
  model: string;
@@ -58,31 +58,31 @@ export declare const chatTriggerParamsShape: z.ZodObject<{
58
58
  allowedFilesMimeTypes: z.ZodOptional<z.ZodString>;
59
59
  responseMode: z.ZodOptional<z.ZodEnum<["streaming", "lastNode", "responseNode", "responseNodes"]>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- responseMode?: "lastNode" | "responseNode" | "streaming" | "responseNodes" | undefined;
62
61
  allowFileUploads?: boolean | undefined;
63
62
  allowedFilesMimeTypes?: string | undefined;
63
+ responseMode?: "streaming" | "lastNode" | "responseNode" | "responseNodes" | undefined;
64
64
  }, {
65
- responseMode?: "lastNode" | "responseNode" | "streaming" | "responseNodes" | undefined;
66
65
  allowFileUploads?: boolean | undefined;
67
66
  allowedFilesMimeTypes?: string | undefined;
67
+ responseMode?: "streaming" | "lastNode" | "responseNode" | "responseNodes" | undefined;
68
68
  }>>;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  availableInChat: boolean;
71
+ agentName?: string | undefined;
72
+ agentDescription?: string | undefined;
71
73
  options?: {
72
- responseMode?: "lastNode" | "responseNode" | "streaming" | "responseNodes" | undefined;
73
74
  allowFileUploads?: boolean | undefined;
74
75
  allowedFilesMimeTypes?: string | undefined;
76
+ responseMode?: "streaming" | "lastNode" | "responseNode" | "responseNodes" | undefined;
75
77
  } | undefined;
78
+ }, {
79
+ availableInChat?: boolean | undefined;
76
80
  agentName?: string | undefined;
77
81
  agentDescription?: string | undefined;
78
- }, {
79
82
  options?: {
80
- responseMode?: "lastNode" | "responseNode" | "streaming" | "responseNodes" | undefined;
81
83
  allowFileUploads?: boolean | undefined;
82
84
  allowedFilesMimeTypes?: string | undefined;
85
+ responseMode?: "streaming" | "lastNode" | "responseNode" | "responseNodes" | undefined;
83
86
  } | undefined;
84
- agentName?: string | undefined;
85
- availableInChat?: boolean | undefined;
86
- agentDescription?: string | undefined;
87
87
  }>;
88
88
  export {};
@@ -197,6 +197,7 @@ exports.maxContextWindowTokens = {
197
197
  'mistral-small-2506': 128000,
198
198
  'mistral-small-latest': 128000,
199
199
  },
200
+ cursorAgent: {},
200
201
  };
201
202
  const CONTEXT_WINDOW_SAFETY_FACTOR = 0.95;
202
203
  const getMaxContextWindowTokens = (provider, model) => {
@@ -1,6 +1,6 @@
1
1
  import { Z } from 'zod-class';
2
2
  declare const ChatModelsRequestDto_base: Z.Class<{
3
- credentials: import("zod").ZodRecord<import("zod").ZodEnum<["openai", "anthropic", "google", "azureOpenAi", "azureEntraId", "ollama", "awsBedrock", "vercelAiGateway", "xAiGrok", "groq", "openRouter", "deepSeek", "cohere", "mistralCloud", "n8n", "custom-agent"]>, import("zod").ZodNullable<import("zod").ZodString>>;
3
+ credentials: import("zod").ZodRecord<import("zod").ZodEnum<["openai", "anthropic", "google", "azureOpenAi", "azureEntraId", "ollama", "awsBedrock", "vercelAiGateway", "xAiGrok", "groq", "openRouter", "deepSeek", "cohere", "mistralCloud", "cursorAgent", "n8n", "custom-agent"]>, import("zod").ZodNullable<import("zod").ZodString>>;
4
4
  }>;
5
5
  export declare class ChatModelsRequestDto extends ChatModelsRequestDto_base {
6
6
  }
@@ -9,14 +9,14 @@ declare const flagsSchema: z.ZodObject<{
9
9
  credential: z.ZodOptional<z.ZodString>;
10
10
  userId: z.ZodOptional<z.ZodString>;
11
11
  }, "strip", z.ZodTypeAny, {
12
+ userId?: string | undefined;
12
13
  credential?: string | undefined;
13
14
  uninstall?: boolean | undefined;
14
- userId?: string | undefined;
15
15
  package?: string | undefined;
16
16
  }, {
17
+ userId?: string | undefined;
17
18
  credential?: string | undefined;
18
19
  uninstall?: boolean | undefined;
19
- userId?: string | undefined;
20
20
  package?: string | undefined;
21
21
  }>;
22
22
  export declare class CommunityNode extends BaseCommand<z.infer<typeof flagsSchema>> {
@@ -1,7 +1,7 @@
1
1
  import type { ModuleInterface } from '@n8n/decorators';
2
2
  export declare class InsightsModule implements ModuleInterface {
3
3
  init(): Promise<void>;
4
- entities(): Promise<(typeof import("./database/entities/insights-metadata").InsightsMetadata | typeof import("./database/entities/insights-raw").InsightsRaw | typeof import("./database/entities/insights-by-period").InsightsByPeriod)[]>;
4
+ entities(): Promise<(typeof import("./database/entities/insights-raw").InsightsRaw | typeof import("./database/entities/insights-metadata").InsightsMetadata | typeof import("./database/entities/insights-by-period").InsightsByPeriod)[]>;
5
5
  settings(): Promise<{
6
6
  summary: boolean;
7
7
  dashboard: boolean;
@@ -12,11 +12,11 @@ declare const inputSchema: z.ZodObject<{
12
12
  type: z.ZodLiteral<"chat">;
13
13
  chatInput: z.ZodString;
14
14
  }, "strip", z.ZodTypeAny, {
15
- chatInput: string;
16
15
  type: "chat";
17
- }, {
18
16
  chatInput: string;
17
+ }, {
19
18
  type: "chat";
19
+ chatInput: string;
20
20
  }>, z.ZodObject<{
21
21
  type: z.ZodLiteral<"form">;
22
22
  formData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -34,65 +34,65 @@ declare const inputSchema: z.ZodObject<{
34
34
  body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
35
35
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
36
36
  }, "strip", z.ZodTypeAny, {
37
- method: "POST" | "OPTIONS" | "DELETE" | "GET" | "HEAD" | "PATCH" | "PUT";
37
+ method: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "OPTIONS";
38
+ headers?: Record<string, string> | undefined;
38
39
  body?: Record<string, unknown> | undefined;
39
40
  query?: Record<string, string> | undefined;
40
- headers?: Record<string, string> | undefined;
41
41
  }, {
42
- method?: "POST" | "OPTIONS" | "DELETE" | "GET" | "HEAD" | "PATCH" | "PUT" | undefined;
42
+ headers?: Record<string, string> | undefined;
43
+ method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "OPTIONS" | undefined;
43
44
  body?: Record<string, unknown> | undefined;
44
45
  query?: Record<string, string> | undefined;
45
- headers?: Record<string, string> | undefined;
46
46
  }>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  type: "webhook";
49
49
  webhookData: {
50
- method: "POST" | "OPTIONS" | "DELETE" | "GET" | "HEAD" | "PATCH" | "PUT";
50
+ method: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "OPTIONS";
51
+ headers?: Record<string, string> | undefined;
51
52
  body?: Record<string, unknown> | undefined;
52
53
  query?: Record<string, string> | undefined;
53
- headers?: Record<string, string> | undefined;
54
54
  };
55
55
  }, {
56
56
  type: "webhook";
57
57
  webhookData: {
58
- method?: "POST" | "OPTIONS" | "DELETE" | "GET" | "HEAD" | "PATCH" | "PUT" | undefined;
58
+ headers?: Record<string, string> | undefined;
59
+ method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "OPTIONS" | undefined;
59
60
  body?: Record<string, unknown> | undefined;
60
61
  query?: Record<string, string> | undefined;
61
- headers?: Record<string, string> | undefined;
62
62
  };
63
63
  }>]>>;
64
64
  }, "strip", z.ZodTypeAny, {
65
65
  workflowId: string;
66
66
  inputs?: {
67
- chatInput: string;
68
67
  type: "chat";
68
+ chatInput: string;
69
69
  } | {
70
70
  type: "form";
71
71
  formData: Record<string, unknown>;
72
72
  } | {
73
73
  type: "webhook";
74
74
  webhookData: {
75
- method: "POST" | "OPTIONS" | "DELETE" | "GET" | "HEAD" | "PATCH" | "PUT";
75
+ method: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "OPTIONS";
76
+ headers?: Record<string, string> | undefined;
76
77
  body?: Record<string, unknown> | undefined;
77
78
  query?: Record<string, string> | undefined;
78
- headers?: Record<string, string> | undefined;
79
79
  };
80
80
  } | undefined;
81
81
  }, {
82
82
  workflowId: string;
83
83
  inputs?: {
84
- chatInput: string;
85
84
  type: "chat";
85
+ chatInput: string;
86
86
  } | {
87
87
  type: "form";
88
88
  formData: Record<string, unknown>;
89
89
  } | {
90
90
  type: "webhook";
91
91
  webhookData: {
92
- method?: "POST" | "OPTIONS" | "DELETE" | "GET" | "HEAD" | "PATCH" | "PUT" | undefined;
92
+ headers?: Record<string, string> | undefined;
93
+ method?: "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT" | "OPTIONS" | undefined;
93
94
  body?: Record<string, unknown> | undefined;
94
95
  query?: Record<string, string> | undefined;
95
- headers?: Record<string, string> | undefined;
96
96
  };
97
97
  } | undefined;
98
98
  }>;
@@ -43,7 +43,7 @@ export declare class WorkflowService {
43
43
  private readonly nodeTypes;
44
44
  constructor(logger: Logger, sharedWorkflowRepository: SharedWorkflowRepository, workflowRepository: WorkflowRepository, workflowTagMappingRepository: WorkflowTagMappingRepository, binaryDataService: BinaryDataService, ownershipService: OwnershipService, tagService: TagService, workflowHistoryService: WorkflowHistoryService, externalHooks: ExternalHooks, activeWorkflowManager: ActiveWorkflowManager, roleService: RoleService, workflowSharingService: WorkflowSharingService, projectService: ProjectService, executionRepository: ExecutionRepository, eventService: EventService, globalConfig: GlobalConfig, folderRepository: FolderRepository, workflowFinderService: WorkflowFinderService, workflowPublishHistoryRepository: WorkflowPublishHistoryRepository, workflowValidationService: WorkflowValidationService, nodeTypes: NodeTypes);
45
45
  getMany(user: User, options?: ListQuery.Options, includeScopes?: boolean, includeFolders?: boolean, onlySharedWithMe?: boolean, requiredScopes?: Scope[]): Promise<{
46
- workflows: ((Pick<WorkflowEntity, "id"> & Partial<Pick<WorkflowEntity, "name" | "description" | "tags" | "active" | "versionId" | "activeVersionId" | "createdAt" | "updatedAt">>) | (import("@n8n/db").Folder & {
46
+ workflows: ((Pick<WorkflowEntity, "id"> & Partial<Pick<WorkflowEntity, "name" | "description" | "active" | "versionId" | "activeVersionId" | "createdAt" | "updatedAt" | "tags">>) | (import("@n8n/db").Folder & {
47
47
  workflowCount?: boolean;
48
48
  subFolderCount?: number;
49
49
  } & {
@@ -84,12 +84,12 @@ export declare class WorkflowService {
84
84
  id: string;
85
85
  name?: string | undefined;
86
86
  description?: string | null | undefined;
87
- tags?: import("@n8n/db").TagEntity[] | undefined;
88
87
  active?: boolean | undefined;
89
88
  versionId?: string | undefined;
90
89
  activeVersionId?: string | null | undefined;
91
90
  createdAt?: Date | undefined;
92
91
  updatedAt?: Date | undefined;
92
+ tags?: import("@n8n/db").TagEntity[] | undefined;
93
93
  scopes: Scope[];
94
94
  shared?: SharedWorkflow[] | undefined;
95
95
  resourceType: string;
@@ -51,20 +51,17 @@ export declare class WorkflowsController {
51
51
  sharedWithProjects: import("@n8n/db").SlimProject[];
52
52
  usedCredentials?: import("@n8n/db").CredentialUsedByWorkflow[];
53
53
  name: string;
54
- nodes: import("n8n-workflow").INode[];
55
54
  description: string | null;
56
- tags?: import("@n8n/db").TagEntity[] | undefined;
57
55
  id: string;
58
56
  active: boolean;
59
57
  versionId: string;
60
58
  activeVersionId: string | null;
61
59
  createdAt: Date;
62
60
  updatedAt: Date;
63
- generateId: () => void;
64
- connections: import("n8n-workflow").IConnections;
65
- setUpdateDate: () => void;
61
+ tags?: import("@n8n/db").TagEntity[] | undefined;
62
+ nodes: import("n8n-workflow").INode[];
66
63
  isArchived: boolean;
67
- parentFolder: import("@n8n/db").Folder | null;
64
+ connections: import("n8n-workflow").IConnections;
68
65
  settings?: import("n8n-workflow").IWorkflowSettings | undefined;
69
66
  staticData?: import("n8n-workflow").IDataObject | undefined;
70
67
  meta?: import("n8n-workflow").WorkflowFEMeta | undefined;
@@ -74,7 +71,10 @@ export declare class WorkflowsController {
74
71
  activeVersion: import("@n8n/db").WorkflowHistory | null;
75
72
  versionCounter: number;
76
73
  triggerCount: number;
74
+ parentFolder: import("@n8n/db").Folder | null;
77
75
  testRuns: import("@n8n/db").TestRun[];
76
+ generateId: () => void;
77
+ setUpdateDate: () => void;
78
78
  }>;
79
79
  getAll(req: WorkflowRequest.GetMany, res: express.Response): Promise<void>;
80
80
  getNewName(req: WorkflowRequest.NewName): Promise<{
@@ -88,20 +88,17 @@ export declare class WorkflowsController {
88
88
  sharedWithProjects: import("@n8n/db").SlimProject[];
89
89
  usedCredentials?: import("@n8n/db").CredentialUsedByWorkflow[];
90
90
  name: string;
91
- nodes: import("n8n-workflow").INode[];
92
91
  description: string | null;
93
- tags?: import("@n8n/db").TagEntity[] | undefined;
94
92
  id: string;
95
93
  active: boolean;
96
94
  versionId: string;
97
95
  activeVersionId: string | null;
98
96
  createdAt: Date;
99
97
  updatedAt: Date;
100
- generateId: () => void;
101
- connections: import("n8n-workflow").IConnections;
102
- setUpdateDate: () => void;
98
+ tags?: import("@n8n/db").TagEntity[] | undefined;
99
+ nodes: import("n8n-workflow").INode[];
103
100
  isArchived: boolean;
104
- parentFolder: import("@n8n/db").Folder | null;
101
+ connections: import("n8n-workflow").IConnections;
105
102
  settings?: import("n8n-workflow").IWorkflowSettings | undefined;
106
103
  staticData?: import("n8n-workflow").IDataObject | undefined;
107
104
  meta?: import("n8n-workflow").WorkflowFEMeta | undefined;
@@ -111,7 +108,10 @@ export declare class WorkflowsController {
111
108
  activeVersion: import("@n8n/db").WorkflowHistory | null;
112
109
  versionCounter: number;
113
110
  triggerCount: number;
111
+ parentFolder: import("@n8n/db").Folder | null;
114
112
  testRuns: import("@n8n/db").TestRun[];
113
+ generateId: () => void;
114
+ setUpdateDate: () => void;
115
115
  } | {
116
116
  scopes: import("@n8n/permissions").Scope[];
117
117
  checksum: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atom8n/n8n",
3
- "version": "2.5.4",
3
+ "version": "2.5.5",
4
4
  "description": "n8n Workflow Automation Tool",
5
5
  "main": "dist/index",
6
6
  "types": "dist/index.d.ts",
@@ -56,8 +56,8 @@
56
56
  "dist"
57
57
  ],
58
58
  "devDependencies": {
59
- "@n8n/typescript-config": "npm:@atom8n/typescript-config@1.6.4",
60
- "@n8n/backend-test-utils": "npm:@atom8n/backend-test-utils@1.5.4",
59
+ "@n8n/typescript-config": "npm:@atom8n/typescript-config@1.6.5",
60
+ "@n8n/backend-test-utils": "npm:@atom8n/backend-test-utils@1.5.5",
61
61
  "@redocly/cli": "^1.28.5",
62
62
  "@types/aws4": "^1.5.1",
63
63
  "@types/bcryptjs": "^2.4.2",
@@ -96,22 +96,22 @@
96
96
  "@azure/keyvault-secrets": "4.8.0",
97
97
  "@google-cloud/secret-manager": "5.6.0",
98
98
  "@modelcontextprotocol/sdk": "1.24.0",
99
- "@n8n/ai-workflow-builder": "npm:@atom8n/ai-workflow-builder@1.5.4",
100
- "@n8n/api-types": "npm:@atom8n/api-types@1.5.4",
101
- "@n8n/backend-common": "npm:@atom8n/backend-common@1.5.4",
102
- "@n8n/client-oauth2": "npm:@atom8n/client-oauth2@1.3.4",
103
- "@n8n/config": "npm:@atom8n/config@2.4.4",
104
- "@n8n/constants": "npm:@atom8n/constants@0.18.4",
105
- "@n8n/db": "npm:@atom8n/db@1.5.4",
106
- "@n8n/decorators": "npm:@atom8n/decorators@1.5.4",
107
- "@n8n/di": "npm:@atom8n/di@0.13.4",
108
- "@n8n/errors": "npm:@atom8n/errors@0.8.4",
99
+ "@n8n/ai-workflow-builder": "npm:@atom8n/ai-workflow-builder@1.5.5",
100
+ "@n8n/api-types": "npm:@atom8n/api-types@1.5.5",
101
+ "@n8n/backend-common": "npm:@atom8n/backend-common@1.5.5",
102
+ "@n8n/client-oauth2": "npm:@atom8n/client-oauth2@1.3.5",
103
+ "@n8n/config": "npm:@atom8n/config@2.4.5",
104
+ "@n8n/constants": "npm:@atom8n/constants@0.18.5",
105
+ "@n8n/db": "npm:@atom8n/db@1.5.5",
106
+ "@n8n/decorators": "npm:@atom8n/decorators@1.5.5",
107
+ "@n8n/di": "npm:@atom8n/di@0.13.5",
108
+ "@n8n/errors": "npm:@atom8n/errors@0.8.5",
109
109
  "@n8n/localtunnel": "3.0.0",
110
- "@n8n/n8n-nodes-langchain": "npm:@atom8n/n8n-nodes-langchain@2.5.4",
111
- "@n8n/permissions": "npm:@atom8n/permissions@0.48.4",
112
- "@n8n/task-runner": "npm:@atom8n/task-runner@2.5.4",
110
+ "@n8n/n8n-nodes-langchain": "npm:@atom8n/n8n-nodes-langchain@2.5.5",
111
+ "@n8n/permissions": "npm:@atom8n/permissions@0.48.5",
112
+ "@n8n/task-runner": "npm:@atom8n/task-runner@2.5.5",
113
113
  "@n8n/typeorm": "0.3.20-15",
114
- "@n8n/utils": "npm:@atom8n/utils@1.24.4",
114
+ "@n8n/utils": "npm:@atom8n/utils@1.24.5",
115
115
  "@n8n_io/ai-assistant-sdk": "1.19.1",
116
116
  "@n8n_io/license-sdk": "2.24.1",
117
117
  "@rudderstack/rudder-sdk-node": "2.1.4",
@@ -152,10 +152,10 @@
152
152
  "lodash": "4.17.21",
153
153
  "luxon": "3.4.4",
154
154
  "mysql2": "3.15.0",
155
- "n8n-core": "npm:@atom8n/n8n-core@2.5.4",
156
- "n8n-editor-ui": "npm:@atom8n/n8n-editor-ui@2.5.4",
157
- "n8n-nodes-base": "npm:@atom8n/n8n-nodes-base@2.5.4",
158
- "n8n-workflow": "npm:@atom8n/n8n-workflow@2.5.4",
155
+ "n8n-core": "npm:@atom8n/n8n-core@2.5.5",
156
+ "n8n-editor-ui": "npm:@atom8n/n8n-editor-ui@2.5.5",
157
+ "n8n-nodes-base": "npm:@atom8n/n8n-nodes-base@2.5.5",
158
+ "n8n-workflow": "npm:@atom8n/n8n-workflow@2.5.5",
159
159
  "nanoid": "3.3.8",
160
160
  "nodemailer": "7.0.11",
161
161
  "oauth-1.0a": "2.2.6",