@n8n/ai-workflow-builder 1.14.1 → 1.16.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.
Files changed (37) hide show
  1. package/dist/ai-workflow-builder-agent.service.d.ts +2 -2
  2. package/dist/ai-workflow-builder-agent.service.js +6 -11
  3. package/dist/ai-workflow-builder-agent.service.js.map +1 -1
  4. package/dist/build.tsbuildinfo +1 -1
  5. package/dist/code-builder/code-workflow-builder.d.ts +3 -2
  6. package/dist/code-builder/code-workflow-builder.js +2 -2
  7. package/dist/code-builder/code-workflow-builder.js.map +1 -1
  8. package/dist/code-builder/index.d.ts +1 -1
  9. package/dist/code-builder/tools/code-builder-get.tool.d.ts +12 -12
  10. package/dist/multi-agent-workflow-subgraphs.d.ts +1 -43
  11. package/dist/multi-agent-workflow-subgraphs.js +3 -33
  12. package/dist/multi-agent-workflow-subgraphs.js.map +1 -1
  13. package/dist/prompts/agents/index.d.ts +0 -2
  14. package/dist/prompts/agents/index.js +1 -5
  15. package/dist/prompts/agents/index.js.map +1 -1
  16. package/dist/prompts/index.d.ts +0 -1
  17. package/dist/prompts/index.js +1 -5
  18. package/dist/prompts/index.js.map +1 -1
  19. package/dist/session-manager.service.d.ts +1 -1
  20. package/dist/session-manager.service.js +16 -5
  21. package/dist/session-manager.service.js.map +1 -1
  22. package/dist/types/session-storage.d.ts +2 -0
  23. package/dist/types/sessions.d.ts +2 -0
  24. package/dist/types/sessions.js.map +1 -1
  25. package/dist/workflow-builder-agent.d.ts +0 -3
  26. package/dist/workflow-builder-agent.js +1 -14
  27. package/dist/workflow-builder-agent.js.map +1 -1
  28. package/package.json +9 -9
  29. package/dist/prompts/agents/builder.prompt.d.ts +0 -7
  30. package/dist/prompts/agents/builder.prompt.js +0 -746
  31. package/dist/prompts/agents/builder.prompt.js.map +0 -1
  32. package/dist/subgraphs/builder.subgraph.d.ts +0 -196
  33. package/dist/subgraphs/builder.subgraph.js +0 -329
  34. package/dist/subgraphs/builder.subgraph.js.map +0 -1
  35. package/dist/utils/rlc-prefetch.d.ts +0 -21
  36. package/dist/utils/rlc-prefetch.js +0 -135
  37. package/dist/utils/rlc-prefetch.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder.prompt.js","sourceRoot":"","sources":["../../../src/prompts/agents/builder.prompt.ts"],"names":[],"mappings":";;;AAowBA,4DAYC;AAED,gDA8CC;AAxzBD,mEAAsF;AAEtF,wCAAoC;AACpC,qEAA4E;AAC5E,2DAAkD;AAOlD,MAAM,6BAA6B,GAAG,6DAAwC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAE1F,MAAM,IAAI,GACT,yHAAyH,CAAC;AAE3H,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCb,CAAC;AAEf,MAAM,gCAAgC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;sDA0Ba,CAAC;AAEvD,MAAM,6BAA6B,GAAG;;4GAEsE,CAAC;AAM7G,SAAS,sBAAsB,CAAC,eAAwB,EAAE,mBAA4B;IACrF,MAAM,IAAI,GAAG,eAAe,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,kBAAkB,CAAC;IAErF,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC;IACb,CAAC;IAED,IAAI,eAAe,EAAE,CAAC;QAErB,OAAO,IAAI;aACT,OAAO,CAAC,kBAAkB,EAAE,iBAAiB,CAAC;aAC9C,OAAO,CAAC,mBAAmB,EAAE,sCAAsC,CAAC;aACpE,OAAO,CAAC,mBAAmB,EAAE,6BAA6B,CAAC,CAAC;IAC/D,CAAC;IAGD,OAAO,IAAI;SACT,OAAO,CAAC,kBAAkB,EAAE,qCAAqC,CAAC;SAClE,OAAO,CACP,sCAAsC,EACtC,iBAAiB,6BAA6B,iBAAiB,CAC/D,CAAC;AACJ,CAAC;AAID,MAAM,aAAa,GAAG;;;;;;o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O,CAAC,iBAAiB,EAAE,eAAe,CAAC;SAC3C,OAAO,CAAC,uBAAuB,EAAE,uBAAO,CAAC,aAAa,CAAC;SACvD,OAAO,CAAC,qBAAqB,EAAE,mBAAmB,CAAC;SACnD,OAAO,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;SAC/C,OAAO,CAAC,2BAA2B,EAAE,yBAAyB,CAAC;SAC/D,OAAO,CAAC,qBAAqB,EAAE,mBAAmB,CAAC;SACnD,OAAO,CAAC,eAAe,EAAE,aAAa,CAAC;SAEvC,OAAO,CAAC,wBAAwB,EAAE,sBAAsB,CAAC;SAEzD,SAAS,CAAC,eAAe,EAAE,eAAe,EAAE,aAAa,CAAC;SAE1D,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,eAAe,CAAC;SAElE,OAAO,CAAC,sBAAsB,EAAE,oBAAoB,CAAC;SACrD,OAAO,CAAC,iBAAiB,EAAE,eAAe,CAAC;SAC3C,OAAO,CAAC,iBAAiB,EAAE,eAAe,CAAC;SAC3C,OAAO,CAAC,oBAAoB,EAAE,kBAAkB,CAAC;SACjD,KAAK,EAAE,CACT,CAAC;AACH,CAAC"}
@@ -1,196 +0,0 @@
1
- import type { BaseChatModel } from '@langchain/core/language_models/chat_models';
2
- import type { BaseMessage } from '@langchain/core/messages';
3
- import type { Logger } from '@n8n/backend-common';
4
- import type { INodeTypeDescription } from 'n8n-workflow';
5
- import type { ResourceLocatorCallback } from '../types/callbacks';
6
- import type { BuilderFeatureFlags } from '../workflow-builder-agent';
7
- import { BaseSubgraph } from './subgraph-interface';
8
- import type { ParentGraphState } from '../parent-graph-state';
9
- import type { CoordinationLogEntry } from '../types/coordination';
10
- import type { DiscoveryContext } from '../types/discovery-types';
11
- import type { WorkflowMetadata } from '../types/tools';
12
- import type { SimpleWorkflow, WorkflowOperation } from '../types/workflow';
13
- import { type RLCPrefetchResult } from '../utils/rlc-prefetch';
14
- export declare const BuilderSubgraphState: import("@langchain/langgraph").AnnotationRoot<{
15
- workflowJSON: import("@langchain/langgraph").BinaryOperatorAggregate<SimpleWorkflow, SimpleWorkflow>;
16
- userRequest: import("@langchain/langgraph").BinaryOperatorAggregate<string, string>;
17
- workflowContext: import("@langchain/langgraph").BinaryOperatorAggregate<{
18
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
19
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
20
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
21
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
22
- valuesExcluded?: boolean;
23
- pinnedNodes?: string[];
24
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
25
- } | undefined, {
26
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
27
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
28
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
29
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
30
- valuesExcluded?: boolean;
31
- pinnedNodes?: string[];
32
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
33
- } | undefined>;
34
- discoveryContext: import("@langchain/langgraph").BinaryOperatorAggregate<DiscoveryContext | null, DiscoveryContext | null>;
35
- instanceUrl: import("@langchain/langgraph").BinaryOperatorAggregate<string, string>;
36
- messages: import("@langchain/langgraph").BinaryOperatorAggregate<BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[], BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[]>;
37
- workflowOperations: import("@langchain/langgraph").BinaryOperatorAggregate<WorkflowOperation[] | null, WorkflowOperation[] | null>;
38
- cachedTemplates: import("@langchain/langgraph").BinaryOperatorAggregate<WorkflowMetadata[], WorkflowMetadata[]>;
39
- prefetchedRLCOptions: import("@langchain/langgraph").BinaryOperatorAggregate<RLCPrefetchResult[], RLCPrefetchResult[]>;
40
- }>;
41
- export interface BuilderSubgraphConfig {
42
- parsedNodeTypes: INodeTypeDescription[];
43
- llm: BaseChatModel;
44
- llmParameterUpdater?: BaseChatModel;
45
- logger?: Logger;
46
- instanceUrl?: string;
47
- featureFlags?: BuilderFeatureFlags;
48
- resourceLocatorCallback?: ResourceLocatorCallback;
49
- }
50
- export declare class BuilderSubgraph extends BaseSubgraph<BuilderSubgraphConfig, typeof BuilderSubgraphState.State, typeof ParentGraphState.State> {
51
- name: string;
52
- description: string;
53
- private config?;
54
- private agent;
55
- private toolMap;
56
- private instanceUrl;
57
- private nodeTypes;
58
- private resourceLocatorCallback?;
59
- private logger?;
60
- create(config: BuilderSubgraphConfig): import("@langchain/langgraph").CompiledStateGraph<{
61
- workflowJSON: SimpleWorkflow;
62
- userRequest: string;
63
- workflowContext: {
64
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
65
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
66
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
67
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
68
- valuesExcluded?: boolean;
69
- pinnedNodes?: string[];
70
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
71
- } | undefined;
72
- discoveryContext: DiscoveryContext | null;
73
- instanceUrl: string;
74
- messages: BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[];
75
- workflowOperations: WorkflowOperation[] | null;
76
- cachedTemplates: WorkflowMetadata[];
77
- prefetchedRLCOptions: RLCPrefetchResult[];
78
- }, {
79
- workflowJSON?: SimpleWorkflow | undefined;
80
- userRequest?: string | undefined;
81
- workflowContext?: {
82
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
83
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
84
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
85
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
86
- valuesExcluded?: boolean;
87
- pinnedNodes?: string[];
88
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
89
- } | undefined;
90
- discoveryContext?: DiscoveryContext | null | undefined;
91
- instanceUrl?: string | undefined;
92
- messages?: BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[] | undefined;
93
- workflowOperations?: WorkflowOperation[] | null | undefined;
94
- cachedTemplates?: WorkflowMetadata[] | undefined;
95
- prefetchedRLCOptions?: RLCPrefetchResult[] | undefined;
96
- }, "tools" | "process_operations" | "__start__" | "prefetch_rlc" | "agent", {
97
- workflowJSON: import("@langchain/langgraph").BinaryOperatorAggregate<SimpleWorkflow, SimpleWorkflow>;
98
- userRequest: import("@langchain/langgraph").BinaryOperatorAggregate<string, string>;
99
- workflowContext: import("@langchain/langgraph").BinaryOperatorAggregate<{
100
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
101
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
102
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
103
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
104
- valuesExcluded?: boolean;
105
- pinnedNodes?: string[];
106
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
107
- } | undefined, {
108
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
109
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
110
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
111
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
112
- valuesExcluded?: boolean;
113
- pinnedNodes?: string[];
114
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
115
- } | undefined>;
116
- discoveryContext: import("@langchain/langgraph").BinaryOperatorAggregate<DiscoveryContext | null, DiscoveryContext | null>;
117
- instanceUrl: import("@langchain/langgraph").BinaryOperatorAggregate<string, string>;
118
- messages: import("@langchain/langgraph").BinaryOperatorAggregate<BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[], BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[]>;
119
- workflowOperations: import("@langchain/langgraph").BinaryOperatorAggregate<WorkflowOperation[] | null, WorkflowOperation[] | null>;
120
- cachedTemplates: import("@langchain/langgraph").BinaryOperatorAggregate<WorkflowMetadata[], WorkflowMetadata[]>;
121
- prefetchedRLCOptions: import("@langchain/langgraph").BinaryOperatorAggregate<RLCPrefetchResult[], RLCPrefetchResult[]>;
122
- }, {
123
- workflowJSON: import("@langchain/langgraph").BinaryOperatorAggregate<SimpleWorkflow, SimpleWorkflow>;
124
- userRequest: import("@langchain/langgraph").BinaryOperatorAggregate<string, string>;
125
- workflowContext: import("@langchain/langgraph").BinaryOperatorAggregate<{
126
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
127
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
128
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
129
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
130
- valuesExcluded?: boolean;
131
- pinnedNodes?: string[];
132
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
133
- } | undefined, {
134
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
135
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
136
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
137
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
138
- valuesExcluded?: boolean;
139
- pinnedNodes?: string[];
140
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
141
- } | undefined>;
142
- discoveryContext: import("@langchain/langgraph").BinaryOperatorAggregate<DiscoveryContext | null, DiscoveryContext | null>;
143
- instanceUrl: import("@langchain/langgraph").BinaryOperatorAggregate<string, string>;
144
- messages: import("@langchain/langgraph").BinaryOperatorAggregate<BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[], BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[]>;
145
- workflowOperations: import("@langchain/langgraph").BinaryOperatorAggregate<WorkflowOperation[] | null, WorkflowOperation[] | null>;
146
- cachedTemplates: import("@langchain/langgraph").BinaryOperatorAggregate<WorkflowMetadata[], WorkflowMetadata[]>;
147
- prefetchedRLCOptions: import("@langchain/langgraph").BinaryOperatorAggregate<RLCPrefetchResult[], RLCPrefetchResult[]>;
148
- }, import("@langchain/langgraph").StateDefinition, {
149
- prefetch_rlc: {
150
- prefetchedRLCOptions: RLCPrefetchResult[];
151
- };
152
- agent: {
153
- messages: BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[];
154
- };
155
- tools: {
156
- messages?: BaseMessage[];
157
- workflowOperations?: WorkflowOperation[] | null;
158
- templateIds?: number[];
159
- cachedTemplates?: WorkflowMetadata[];
160
- bestPractices?: string;
161
- approvedDomains?: string[];
162
- webFetchCount?: number;
163
- allDomainsApproved?: boolean;
164
- fetchedUrlContent?: import("../utils/subgraph-helpers").FetchedUrlContentItem[];
165
- };
166
- }, unknown, unknown>;
167
- transformInput(parentState: typeof ParentGraphState.State): {
168
- userRequest: string;
169
- workflowJSON: SimpleWorkflow;
170
- workflowContext: {
171
- executionSchema?: import("n8n-workflow").NodeExecutionSchema[];
172
- currentWorkflow?: Partial<import("n8n-workflow").IWorkflowBase>;
173
- executionData?: import("n8n-workflow").IRunExecutionData["resultData"];
174
- expressionValues?: Record<string, import("../workflow-builder-agent").ExpressionValue[]>;
175
- valuesExcluded?: boolean;
176
- pinnedNodes?: string[];
177
- selectedNodes?: import("@n8n/api-types").SelectedNodeContext[];
178
- } | undefined;
179
- discoveryContext: DiscoveryContext | null;
180
- instanceUrl: string;
181
- messages: import("@langchain/core/messages").HumanMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>>[];
182
- cachedTemplates: WorkflowMetadata[];
183
- };
184
- transformOutput(subgraphOutput: typeof BuilderSubgraphState.State, _parentState: typeof ParentGraphState.State): {
185
- workflowJSON: SimpleWorkflow;
186
- workflowOperations: WorkflowOperation[];
187
- coordinationLog: CoordinationLogEntry[];
188
- cachedTemplates: WorkflowMetadata[];
189
- introspectionEvents: import("../tools/introspect.tool").IntrospectionEvent[];
190
- planOutput: null;
191
- planDecision: null;
192
- planFeedback: null;
193
- planPrevious: null;
194
- messages: BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>[];
195
- };
196
- }
@@ -1,329 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BuilderSubgraph = exports.BuilderSubgraphState = void 0;
4
- const prompts_1 = require("@langchain/core/prompts");
5
- const langgraph_1 = require("@langchain/langgraph");
6
- const errors_1 = require("../errors");
7
- const prompts_2 = require("../prompts");
8
- const auto_fix_1 = require("../validation/auto-fix");
9
- const checks_1 = require("../validation/checks");
10
- const subgraph_interface_1 = require("./subgraph-interface");
11
- const add_node_tool_1 = require("../tools/add-node.tool");
12
- const connect_nodes_tool_1 = require("../tools/connect-nodes.tool");
13
- const get_execution_logs_tool_1 = require("../tools/get-execution-logs.tool");
14
- const get_execution_schema_tool_1 = require("../tools/get-execution-schema.tool");
15
- const get_expression_data_mapping_tool_1 = require("../tools/get-expression-data-mapping.tool");
16
- const get_node_context_tool_1 = require("../tools/get-node-context.tool");
17
- const get_node_examples_tool_1 = require("../tools/get-node-examples.tool");
18
- const get_node_parameter_tool_1 = require("../tools/get-node-parameter.tool");
19
- const get_resource_locator_options_tool_1 = require("../tools/get-resource-locator-options.tool");
20
- const get_workflow_overview_tool_1 = require("../tools/get-workflow-overview.tool");
21
- const introspect_tool_1 = require("../tools/introspect.tool");
22
- const remove_connection_tool_1 = require("../tools/remove-connection.tool");
23
- const remove_node_tool_1 = require("../tools/remove-node.tool");
24
- const rename_node_tool_1 = require("../tools/rename-node.tool");
25
- const update_node_parameters_tool_1 = require("../tools/update-node-parameters.tool");
26
- const mermaid_utils_1 = require("../tools/utils/mermaid.utils");
27
- const validate_configuration_tool_1 = require("../tools/validate-configuration.tool");
28
- const validate_structure_tool_1 = require("../tools/validate-structure.tool");
29
- const coordination_1 = require("../types/coordination");
30
- const langchain_1 = require("../types/langchain");
31
- const cache_control_1 = require("../utils/cache-control");
32
- const context_builders_1 = require("../utils/context-builders");
33
- const operations_processor_1 = require("../utils/operations-processor");
34
- const plan_helpers_1 = require("../utils/plan-helpers");
35
- const rlc_prefetch_1 = require("../utils/rlc-prefetch");
36
- const state_reducers_1 = require("../utils/state-reducers");
37
- const subgraph_helpers_1 = require("../utils/subgraph-helpers");
38
- exports.BuilderSubgraphState = langgraph_1.Annotation.Root({
39
- workflowJSON: (0, langgraph_1.Annotation)({
40
- reducer: (x, y) => y ?? x,
41
- default: () => ({ nodes: [], connections: {}, name: '' }),
42
- }),
43
- userRequest: (0, langgraph_1.Annotation)({
44
- reducer: (x, y) => y ?? x,
45
- default: () => '',
46
- }),
47
- workflowContext: (0, langgraph_1.Annotation)({
48
- reducer: (x, y) => y ?? x,
49
- }),
50
- discoveryContext: (0, langgraph_1.Annotation)({
51
- reducer: (x, y) => y ?? x,
52
- default: () => null,
53
- }),
54
- instanceUrl: (0, langgraph_1.Annotation)({
55
- reducer: (x, y) => y ?? x,
56
- default: () => '',
57
- }),
58
- messages: (0, langgraph_1.Annotation)({
59
- reducer: (x, y) => x.concat(y),
60
- default: () => [],
61
- }),
62
- workflowOperations: (0, langgraph_1.Annotation)({
63
- reducer: (x, y) => {
64
- if (y === null)
65
- return [];
66
- if (!y || y.length === 0)
67
- return x ?? [];
68
- return [...(x ?? []), ...y];
69
- },
70
- default: () => [],
71
- }),
72
- cachedTemplates: (0, langgraph_1.Annotation)({
73
- reducer: state_reducers_1.cachedTemplatesReducer,
74
- default: () => [],
75
- }),
76
- prefetchedRLCOptions: (0, langgraph_1.Annotation)({
77
- reducer: (x, y) => y ?? x,
78
- default: () => [],
79
- }),
80
- });
81
- class BuilderSubgraph extends subgraph_interface_1.BaseSubgraph {
82
- name = 'builder_subgraph';
83
- description = 'Constructs workflow structure and configures node parameters';
84
- config;
85
- agent;
86
- toolMap;
87
- instanceUrl = '';
88
- nodeTypes = [];
89
- resourceLocatorCallback;
90
- logger;
91
- create(config) {
92
- this.config = config;
93
- this.instanceUrl = config.instanceUrl ?? '';
94
- this.nodeTypes = config.parsedNodeTypes;
95
- this.resourceLocatorCallback = config.resourceLocatorCallback;
96
- this.logger = config.logger;
97
- const includeExamples = config.featureFlags?.templateExamples === true;
98
- const enableIntrospection = config.featureFlags?.enableIntrospection === true;
99
- const parameterUpdaterLLM = config.llmParameterUpdater ?? config.llm;
100
- const baseTools = [
101
- (0, add_node_tool_1.createAddNodeTool)(config.parsedNodeTypes),
102
- (0, connect_nodes_tool_1.createConnectNodesTool)(config.parsedNodeTypes, config.logger),
103
- (0, remove_node_tool_1.createRemoveNodeTool)(config.logger),
104
- (0, remove_connection_tool_1.createRemoveConnectionTool)(config.logger),
105
- (0, rename_node_tool_1.createRenameNodeTool)(config.logger),
106
- (0, validate_structure_tool_1.createValidateStructureTool)(config.parsedNodeTypes),
107
- (0, update_node_parameters_tool_1.createUpdateNodeParametersTool)(config.parsedNodeTypes, parameterUpdaterLLM, config.logger, config.instanceUrl),
108
- (0, get_node_parameter_tool_1.createGetNodeParameterTool)(),
109
- (0, validate_configuration_tool_1.createValidateConfigurationTool)(config.parsedNodeTypes),
110
- (0, get_execution_schema_tool_1.createGetExecutionSchemaTool)(config.logger),
111
- (0, get_execution_logs_tool_1.createGetExecutionLogsTool)(config.logger),
112
- (0, get_expression_data_mapping_tool_1.createGetExpressionDataMappingTool)(config.logger),
113
- (0, get_workflow_overview_tool_1.createGetWorkflowOverviewTool)(config.logger),
114
- (0, get_node_context_tool_1.createGetNodeContextTool)(config.logger),
115
- ];
116
- if (config.resourceLocatorCallback) {
117
- baseTools.push((0, get_resource_locator_options_tool_1.createGetResourceLocatorOptionsTool)(config.parsedNodeTypes, config.resourceLocatorCallback, config.logger));
118
- }
119
- if (enableIntrospection) {
120
- baseTools.push((0, introspect_tool_1.createIntrospectTool)(config.logger));
121
- }
122
- const tools = includeExamples
123
- ? [
124
- ...baseTools,
125
- (0, get_node_examples_tool_1.createGetNodeConnectionExamplesTool)(config.logger),
126
- (0, get_node_examples_tool_1.createGetNodeConfigurationExamplesTool)(config.logger),
127
- ]
128
- : baseTools;
129
- this.toolMap = new Map(tools.map((bt) => [bt.tool.name, bt.tool]));
130
- const systemPromptTemplate = prompts_1.ChatPromptTemplate.fromMessages([
131
- [
132
- 'system',
133
- [
134
- {
135
- type: 'text',
136
- text: (0, prompts_2.buildBuilderPrompt)({ includeExamples, enableIntrospection }),
137
- },
138
- {
139
- type: 'text',
140
- text: prompts_2.INSTANCE_URL_PROMPT,
141
- cache_control: { type: 'ephemeral' },
142
- },
143
- ],
144
- ],
145
- ['placeholder', '{messages}'],
146
- ]);
147
- if (typeof config.llm.bindTools !== 'function') {
148
- throw new errors_1.LLMServiceError('LLM does not support tools', {
149
- llmModel: config.llm._llmType(),
150
- });
151
- }
152
- this.agent = systemPromptTemplate.pipe(config.llm.bindTools(tools.map((bt) => bt.tool)));
153
- const prefetchRLCNode = async (state) => {
154
- if (!this.resourceLocatorCallback) {
155
- return { prefetchedRLCOptions: [] };
156
- }
157
- const parametersToFetch = (0, rlc_prefetch_1.detectRLCParametersForPrefetch)(state.workflowJSON.nodes, this.nodeTypes);
158
- if (parametersToFetch.length === 0) {
159
- return { prefetchedRLCOptions: [] };
160
- }
161
- this.logger?.debug('Pre-fetching RLC options', {
162
- parameterCount: parametersToFetch.length,
163
- parameters: parametersToFetch.map((p) => `${p.nodeName}.${p.parameterPath}`),
164
- });
165
- const results = await (0, rlc_prefetch_1.prefetchRLCOptions)(parametersToFetch, state.workflowJSON.nodes, this.resourceLocatorCallback, this.logger);
166
- this.logger?.debug('RLC prefetch completed', {
167
- successCount: results.filter((r) => !r.error).length,
168
- errorCount: results.filter((r) => r.error).length,
169
- });
170
- const formattedOptions = (0, rlc_prefetch_1.formatPrefetchedOptionsForLLM)(results);
171
- if (formattedOptions && state.messages.length > 0) {
172
- const firstMessage = state.messages[0];
173
- if (typeof firstMessage.content === 'string') {
174
- firstMessage.content = `${firstMessage.content}\n\n${formattedOptions}`;
175
- }
176
- }
177
- return { prefetchedRLCOptions: results };
178
- };
179
- const callAgent = async (state) => {
180
- (0, cache_control_1.applySubgraphCacheMarkers)(state.messages);
181
- const response = await this.agent.invoke({
182
- messages: state.messages,
183
- instanceUrl: state.instanceUrl ?? '',
184
- });
185
- if (!(0, langchain_1.isBaseMessage)(response)) {
186
- throw new errors_1.LLMServiceError('Builder agent did not return a valid message');
187
- }
188
- return { messages: [response] };
189
- };
190
- const shouldContinue = (0, subgraph_helpers_1.createStandardShouldContinue)();
191
- const subgraph = new langgraph_1.StateGraph(exports.BuilderSubgraphState)
192
- .addNode('prefetch_rlc', prefetchRLCNode)
193
- .addNode('agent', callAgent)
194
- .addNode('tools', async (state) => await (0, subgraph_helpers_1.executeSubgraphTools)(state, this.toolMap))
195
- .addNode('process_operations', operations_processor_1.processOperations)
196
- .addEdge('__start__', 'prefetch_rlc')
197
- .addEdge('prefetch_rlc', 'agent')
198
- .addConditionalEdges('agent', shouldContinue)
199
- .addEdge('tools', 'process_operations')
200
- .addEdge('process_operations', 'agent');
201
- return subgraph.compile();
202
- }
203
- transformInput(parentState) {
204
- const userRequest = (0, subgraph_helpers_1.extractUserRequest)(parentState.messages);
205
- const contextParts = [];
206
- if (parentState.planOutput) {
207
- contextParts.push('=== APPROVED PLAN (FOLLOW THIS) ===');
208
- contextParts.push((0, plan_helpers_1.formatPlanAsText)(parentState.planOutput));
209
- if (parentState.workflowJSON?.nodes?.length > 0) {
210
- const overview = (0, mermaid_utils_1.mermaidStringify)({ workflow: parentState.workflowJSON }, { includeNodeType: true, includeNodeParameters: true, includeNodeName: true });
211
- contextParts.push('=== EXISTING WORKFLOW (do NOT recreate these nodes) ===', overview, 'Only make the changes described in the plan.');
212
- }
213
- }
214
- else {
215
- const conversationContext = (0, context_builders_1.buildConversationContext)(parentState.messages, parentState.coordinationLog, parentState.previousSummary);
216
- if (conversationContext) {
217
- contextParts.push('=== CONVERSATION CONTEXT ===');
218
- contextParts.push(conversationContext);
219
- }
220
- if (userRequest) {
221
- contextParts.push('=== USER REQUEST ===');
222
- contextParts.push(userRequest);
223
- }
224
- }
225
- const selectedNodesBlock = (0, context_builders_1.buildSelectedNodesContextBlock)(parentState.workflowContext);
226
- if (selectedNodesBlock) {
227
- contextParts.push('=== SELECTED NODES ===');
228
- contextParts.push(selectedNodesBlock);
229
- }
230
- if (parentState.discoveryContext) {
231
- const includeBestPractices = this.config?.featureFlags?.templateExamples === true;
232
- contextParts.push('=== DISCOVERY CONTEXT ===');
233
- contextParts.push((0, context_builders_1.buildDiscoveryContextBlock)(parentState.discoveryContext, includeBestPractices));
234
- }
235
- const builderErrorEntry = parentState.coordinationLog?.find((entry) => {
236
- if (entry.status !== 'error')
237
- return false;
238
- if (entry.phase !== 'builder')
239
- return false;
240
- return (entry.metadata.phase === 'error' &&
241
- 'partialBuilderData' in entry.metadata &&
242
- entry.metadata.partialBuilderData);
243
- });
244
- if (builderErrorEntry?.metadata.phase === 'error' &&
245
- builderErrorEntry.metadata.partialBuilderData) {
246
- const { nodeCount, nodeNames } = builderErrorEntry.metadata.partialBuilderData;
247
- contextParts.push((0, prompts_2.buildRecoveryModeContext)(nodeCount, nodeNames));
248
- }
249
- contextParts.push('=== CURRENT WORKFLOW ===');
250
- if (parentState.workflowJSON.nodes.length > 0) {
251
- contextParts.push((0, context_builders_1.buildWorkflowJsonBlock)(parentState.workflowJSON));
252
- }
253
- else {
254
- contextParts.push('Empty workflow - ready to build');
255
- }
256
- const schemaBlock = (0, context_builders_1.buildExecutionSchemaBlock)(parentState.workflowContext);
257
- if (schemaBlock) {
258
- contextParts.push('=== AVAILABLE DATA SCHEMA ===');
259
- contextParts.push(schemaBlock);
260
- }
261
- contextParts.push('=== EXECUTION CONTEXT ===');
262
- contextParts.push((0, context_builders_1.buildExecutionContextBlock)(parentState.workflowContext));
263
- const contextMessage = (0, context_builders_1.createContextMessage)(contextParts);
264
- return {
265
- userRequest,
266
- workflowJSON: parentState.workflowJSON,
267
- workflowContext: parentState.workflowContext,
268
- discoveryContext: parentState.discoveryContext,
269
- instanceUrl: this.instanceUrl,
270
- messages: [contextMessage],
271
- cachedTemplates: parentState.cachedTemplates,
272
- };
273
- }
274
- transformOutput(subgraphOutput, _parentState) {
275
- let workflowJSON = subgraphOutput.workflowJSON;
276
- let autoFixSummary;
277
- if (this.config?.parsedNodeTypes) {
278
- const violations = (0, checks_1.validateConnections)(workflowJSON, this.config.parsedNodeTypes);
279
- const autoFixResult = (0, auto_fix_1.autoFixConnections)(workflowJSON, this.config.parsedNodeTypes, violations);
280
- if (autoFixResult.fixed.length > 0) {
281
- workflowJSON = {
282
- ...workflowJSON,
283
- connections: autoFixResult.updatedConnections,
284
- };
285
- autoFixSummary = `Auto-fixed ${autoFixResult.fixed.length} connection(s): ${autoFixResult.fixed
286
- .map((fix) => `${fix.sourceNodeName} → ${fix.targetNodeName}`)
287
- .join(', ')}`;
288
- }
289
- }
290
- const nodes = workflowJSON.nodes;
291
- const connections = workflowJSON.connections;
292
- const connectionCount = Object.values(connections).flat().length;
293
- const lastMessage = subgraphOutput.messages[subgraphOutput.messages.length - 1];
294
- const summaryOrSetupInstructions = typeof lastMessage?.content === 'string'
295
- ? lastMessage.content
296
- : 'Build and configuration complete';
297
- const summary = autoFixSummary
298
- ? `Created and configured ${nodes.length} nodes with ${connectionCount} connections. ${autoFixSummary}`
299
- : `Created and configured ${nodes.length} nodes with ${connectionCount} connections`;
300
- const logEntry = {
301
- phase: 'builder',
302
- status: 'completed',
303
- timestamp: Date.now(),
304
- summary,
305
- output: summaryOrSetupInstructions,
306
- metadata: (0, coordination_1.createBuilderMetadata)({
307
- nodesCreated: nodes.length,
308
- connectionsCreated: connectionCount,
309
- nodeNames: nodes.map((n) => n.name),
310
- }),
311
- };
312
- const toolMessages = (0, subgraph_helpers_1.extractToolMessagesForPersistence)(subgraphOutput.messages);
313
- const introspectionEvents = (0, introspect_tool_1.extractIntrospectionEventsFromMessages)(subgraphOutput.messages);
314
- return {
315
- workflowJSON,
316
- workflowOperations: subgraphOutput.workflowOperations ?? [],
317
- coordinationLog: [logEntry],
318
- cachedTemplates: subgraphOutput.cachedTemplates,
319
- introspectionEvents,
320
- planOutput: null,
321
- planDecision: null,
322
- planFeedback: null,
323
- planPrevious: null,
324
- messages: toolMessages,
325
- };
326
- }
327
- }
328
- exports.BuilderSubgraph = BuilderSubgraph;
329
- //# sourceMappingURL=builder.subgraph.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"builder.subgraph.js","sourceRoot":"","sources":["../../src/subgraphs/builder.subgraph.ts"],"names":[],"mappings":";;;AAEA,qDAA6D;AAG7D,oDAA8D;AAI9D,qCAA2C;AAC3C,uCAA8F;AAE9F,oDAA2D;AAC3D,gDAA0D;AAG1D,6DAAoD;AAGpD,0DAA2D;AAC3D,oEAAqE;AACrE,8EAA8E;AAC9E,kFAAkF;AAClF,gGAA+F;AAC/F,0EAA0E;AAC1E,4EAGyC;AACzC,8EAA8E;AAC9E,kGAAiG;AACjG,oFAAoF;AACpF,8DAGkC;AAClC,4EAA6E;AAC7E,gEAAiE;AACjE,gEAAiE;AACjE,sFAAsF;AACtF,gEAAgE;AAChE,sFAAuF;AACvF,8EAA+E;AAG/E,wDAA8D;AAE9D,kDAAmD;AAGnD,0DAAmE;AACnE,gEAQmC;AACnC,wEAAkE;AAClE,wDAAyD;AACzD,wDAK+B;AAC/B,4D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AAC,0BAA0B,KAAK,CAAC,MAAM,eAAe,eAAe,iBAAiB,cAAc,EAAE;YACvG,CAAC,CAAC,0BAA0B,KAAK,CAAC,MAAM,eAAe,eAAe,cAAc,CAAC;QAEtF,MAAM,QAAQ,GAAyB;YACtC,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,WAAW;YACnB,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE;YACrB,OAAO;YACP,MAAM,EAAE,0BAA0B;YAClC,QAAQ,EAAE,IAAA,oCAAqB,EAAC;gBAC/B,YAAY,EAAE,KAAK,CAAC,MAAM;gBAC1B,kBAAkB,EAAE,eAAe;gBACnC,SAAS,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;aACnC,CAAC;SACF,CAAC;QAKF,MAAM,YAAY,GAAG,IAAA,oDAAiC,EAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAGhF,MAAM,mBAAmB,GAAG,IAAA,wDAAsC,EAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QAE5F,OAAO;YACN,YAAY;YACZ,kBAAkB,EAAE,cAAc,CAAC,kBAAkB,IAAI,EAAE;YAC3D,eAAe,EAAE,CAAC,QAAQ,CAAC;YAC3B,eAAe,EAAE,cAAc,CAAC,eAAe;YAC/C,mBAAmB;YACnB,UAAU,EAAE,IAAI;YAChB,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,YAAY;SACtB,CAAC;IACH,CAAC;CACD;AAzYD,0CAyYC"}
@@ -1,21 +0,0 @@
1
- import type { Logger } from '@n8n/backend-common';
2
- import type { INode, INodeTypeDescription, INodeListSearchItems } from 'n8n-workflow';
3
- import type { ResourceLocatorCallback } from '../types/callbacks';
4
- export interface RLCParameterInfo {
5
- nodeId: string;
6
- nodeName: string;
7
- nodeType: string;
8
- nodeTypeVersion: number;
9
- parameterPath: string;
10
- searchMethod: string;
11
- }
12
- export interface RLCPrefetchResult {
13
- nodeId: string;
14
- nodeName: string;
15
- parameterPath: string;
16
- options: INodeListSearchItems[];
17
- error?: string;
18
- }
19
- export declare function detectRLCParametersForPrefetch(nodes: INode[], nodeTypes: INodeTypeDescription[]): RLCParameterInfo[];
20
- export declare function prefetchRLCOptions(parameters: RLCParameterInfo[], nodes: INode[], resourceLocatorCallback: ResourceLocatorCallback, logger?: Logger, timeoutMs?: number): Promise<RLCPrefetchResult[]>;
21
- export declare function formatPrefetchedOptionsForLLM(results: RLCPrefetchResult[]): string;