@mastra/core 0.9.2-alpha.0 → 0.9.2-alpha.1
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/agent/index.cjs +2 -2
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-7PRLYMXV.cjs → chunk-3BKYXIDL.cjs} +3 -0
- package/dist/{chunk-FA7FWCKH.js → chunk-GKTDO6XW.js} +1 -1
- package/dist/{chunk-ZWALP7T2.cjs → chunk-UPEXV5RA.cjs} +2 -2
- package/dist/{chunk-H2UWWO4L.js → chunk-UQ2VDYKC.js} +3 -0
- package/dist/index.cjs +27 -27
- package/dist/index.js +3 -3
- package/dist/network/index.cjs +2 -2
- package/dist/network/index.js +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/workflows/index.cjs +22 -22
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/vNext/index.cjs +2 -2
- package/dist/workflows/vNext/index.js +1 -1
- package/package.json +1 -1
package/dist/agent/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BKYXIDL_cjs = require('../chunk-3BKYXIDL.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Agent", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3BKYXIDL_cjs.Agent; }
|
|
10
10
|
});
|
package/dist/agent/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Agent } from '../chunk-
|
|
1
|
+
export { Agent } from '../chunk-UQ2VDYKC.js';
|
|
@@ -511,6 +511,9 @@ exports.Agent = class Agent extends (_a = chunkD63P5O4Q_cjs.MastraBase) {
|
|
|
511
511
|
});
|
|
512
512
|
return messagesBySanitizedContent.filter(message => {
|
|
513
513
|
if (typeof message.content === `string`) {
|
|
514
|
+
if (message.role === "assistant") {
|
|
515
|
+
return true;
|
|
516
|
+
}
|
|
514
517
|
return message.content !== "";
|
|
515
518
|
}
|
|
516
519
|
if (Array.isArray(message.content)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BKYXIDL_cjs = require('./chunk-3BKYXIDL.cjs');
|
|
4
4
|
var cohereAi = require('cohere-ai');
|
|
5
5
|
|
|
6
6
|
var CohereRelevanceScorer = class {
|
|
@@ -38,7 +38,7 @@ Relevance score (0-1):`;
|
|
|
38
38
|
var MastraAgentRelevanceScorer = class {
|
|
39
39
|
agent;
|
|
40
40
|
constructor(name, model) {
|
|
41
|
-
this.agent = new
|
|
41
|
+
this.agent = new chunk3BKYXIDL_cjs.Agent({
|
|
42
42
|
name: `Relevance Scorer ${name}`,
|
|
43
43
|
instructions: `You are a specialized agent for evaluating the relevance of text to queries.
|
|
44
44
|
Your task is to rate how well a text passage answers a given query.
|
|
@@ -504,6 +504,9 @@ var Agent = class extends (_a = MastraBase) {
|
|
|
504
504
|
});
|
|
505
505
|
return messagesBySanitizedContent.filter(message => {
|
|
506
506
|
if (typeof message.content === `string`) {
|
|
507
|
+
if (message.role === "assistant") {
|
|
508
|
+
return true;
|
|
509
|
+
}
|
|
507
510
|
return message.content !== "";
|
|
508
511
|
}
|
|
509
512
|
if (Array.isArray(message.content)) {
|
package/dist/index.cjs
CHANGED
|
@@ -7,8 +7,8 @@ var chunk33XQ5DGU_cjs = require('./chunk-33XQ5DGU.cjs');
|
|
|
7
7
|
var chunkVI3IQINW_cjs = require('./chunk-VI3IQINW.cjs');
|
|
8
8
|
var chunkYAJVZMZH_cjs = require('./chunk-YAJVZMZH.cjs');
|
|
9
9
|
var chunkXNBNJEES_cjs = require('./chunk-XNBNJEES.cjs');
|
|
10
|
-
var
|
|
11
|
-
var
|
|
10
|
+
var chunkUPEXV5RA_cjs = require('./chunk-UPEXV5RA.cjs');
|
|
11
|
+
var chunk3BKYXIDL_cjs = require('./chunk-3BKYXIDL.cjs');
|
|
12
12
|
var chunkMYHX5XVW_cjs = require('./chunk-MYHX5XVW.cjs');
|
|
13
13
|
var chunk7JRVDC7F_cjs = require('./chunk-7JRVDC7F.cjs');
|
|
14
14
|
var chunkRZCYBC7D_cjs = require('./chunk-RZCYBC7D.cjs');
|
|
@@ -18,7 +18,7 @@ var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
|
|
|
18
18
|
var chunkST5RMVLG_cjs = require('./chunk-ST5RMVLG.cjs');
|
|
19
19
|
|
|
20
20
|
// src/agent/index.warning.ts
|
|
21
|
-
var Agent2 = class extends
|
|
21
|
+
var Agent2 = class extends chunk3BKYXIDL_cjs.Agent {
|
|
22
22
|
constructor(config) {
|
|
23
23
|
super(config);
|
|
24
24
|
this.logger.warn('Please import "Agent from "@mastra/core/agent" instead of "@mastra/core"');
|
|
@@ -106,7 +106,7 @@ var MastraVector2 = class extends chunkYAJVZMZH_cjs.MastraVector {
|
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
// src/workflows/workflow.warning.ts
|
|
109
|
-
var Workflow2 = class extends
|
|
109
|
+
var Workflow2 = class extends chunk3BKYXIDL_cjs.Workflow {
|
|
110
110
|
constructor(args) {
|
|
111
111
|
super(args);
|
|
112
112
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -131,95 +131,95 @@ Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkUPEXV5RA_cjs.CohereRelevanceScorer; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkUPEXV5RA_cjs.MastraAgentRelevanceScorer; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkUPEXV5RA_cjs.createSimilarityPrompt; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "Step", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunk3BKYXIDL_cjs.Step; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunk3BKYXIDL_cjs.WhenConditionReturnValue; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "agentToStep", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunk3BKYXIDL_cjs.agentToStep; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunk3BKYXIDL_cjs.getActivePathsAndStatus; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunk3BKYXIDL_cjs.getResultActivePaths; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "getStepResult", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunk3BKYXIDL_cjs.getStepResult; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunk3BKYXIDL_cjs.getSuspendedPaths; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "isAgent", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunk3BKYXIDL_cjs.isAgent; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunk3BKYXIDL_cjs.isConditionalKey; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunk3BKYXIDL_cjs.isErrorEvent; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "isFinalState", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunk3BKYXIDL_cjs.isFinalState; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "isLimboState", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunk3BKYXIDL_cjs.isLimboState; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunk3BKYXIDL_cjs.isTransitionEvent; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "isVariableReference", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunk3BKYXIDL_cjs.isVariableReference; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "isWorkflow", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunk3BKYXIDL_cjs.isWorkflow; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunk3BKYXIDL_cjs.mergeChildValue; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunk3BKYXIDL_cjs.recursivelyCheckForFinalState; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "resolveVariables", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunk3BKYXIDL_cjs.resolveVariables; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunk3BKYXIDL_cjs.updateStepInHierarchy; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "workflowToStep", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunk3BKYXIDL_cjs.workflowToStep; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "InstrumentClass", {
|
|
225
225
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { MastraMemory } from './chunk-INXNZ5VE.js';
|
|
|
6
6
|
export { MemoryProcessor, memoryDefaultOptions } from './chunk-INXNZ5VE.js';
|
|
7
7
|
import { MastraVector } from './chunk-LXIAHZ45.js';
|
|
8
8
|
import { MastraStorage } from './chunk-52SRR7WR.js';
|
|
9
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-
|
|
10
|
-
import { Agent, Workflow } from './chunk-
|
|
11
|
-
export { Step, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-
|
|
9
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-GKTDO6XW.js';
|
|
10
|
+
import { Agent, Workflow } from './chunk-UQ2VDYKC.js';
|
|
11
|
+
export { Step, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-UQ2VDYKC.js';
|
|
12
12
|
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, hasActiveTelemetry, withSpan } from './chunk-KWYJUFY3.js';
|
|
13
13
|
import { Tool } from './chunk-JSUPD5IG.js';
|
|
14
14
|
export { checkEvalStorageFields, createMastraProxy, createTool, deepMerge, delay, ensureAllMessagesAreCoreMessages, ensureToolProperties, isVercelTool, isZodType, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput } from './chunk-JSUPD5IG.js';
|
package/dist/network/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BKYXIDL_cjs = require('../chunk-3BKYXIDL.cjs');
|
|
4
4
|
var chunk7JRVDC7F_cjs = require('../chunk-7JRVDC7F.cjs');
|
|
5
5
|
var chunkD63P5O4Q_cjs = require('../chunk-D63P5O4Q.cjs');
|
|
6
6
|
var chunkO7IW545H_cjs = require('../chunk-O7IW545H.cjs');
|
|
@@ -17,7 +17,7 @@ var AgentNetwork = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
17
17
|
this.#instructions = config.instructions;
|
|
18
18
|
this.#agents = config.agents;
|
|
19
19
|
this.#model = config.model;
|
|
20
|
-
this.#routingAgent = new
|
|
20
|
+
this.#routingAgent = new chunk3BKYXIDL_cjs.Agent({
|
|
21
21
|
name: config.name,
|
|
22
22
|
instructions: this.getInstructions(),
|
|
23
23
|
model: this.#model,
|
package/dist/network/index.js
CHANGED
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkUPEXV5RA_cjs = require('../chunk-UPEXV5RA.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkUPEXV5RA_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUPEXV5RA_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUPEXV5RA_cjs.createSimilarityPrompt; }
|
|
18
18
|
});
|
package/dist/relevance/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-
|
|
1
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-GKTDO6XW.js';
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BKYXIDL_cjs = require('../chunk-3BKYXIDL.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Step", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk3BKYXIDL_cjs.Step; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk3BKYXIDL_cjs.WhenConditionReturnValue; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Workflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk3BKYXIDL_cjs.Workflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk3BKYXIDL_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk3BKYXIDL_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk3BKYXIDL_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk3BKYXIDL_cjs.getStepResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunk3BKYXIDL_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunk3BKYXIDL_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunk3BKYXIDL_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunk3BKYXIDL_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunk3BKYXIDL_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk3BKYXIDL_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk3BKYXIDL_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk3BKYXIDL_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk3BKYXIDL_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk3BKYXIDL_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk3BKYXIDL_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk3BKYXIDL_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk3BKYXIDL_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk3BKYXIDL_cjs.workflowToStep; }
|
|
90
90
|
});
|
package/dist/workflows/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Step, WhenConditionReturnValue, Workflow, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../chunk-
|
|
1
|
+
export { Step, WhenConditionReturnValue, Workflow, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../chunk-UQ2VDYKC.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3BKYXIDL_cjs = require('../../chunk-3BKYXIDL.cjs');
|
|
4
4
|
var chunk7JRVDC7F_cjs = require('../../chunk-7JRVDC7F.cjs');
|
|
5
5
|
var chunkD63P5O4Q_cjs = require('../../chunk-D63P5O4Q.cjs');
|
|
6
6
|
var chunkO7IW545H_cjs = require('../../chunk-O7IW545H.cjs');
|
|
@@ -586,7 +586,7 @@ var DefaultExecutionEngine = class extends ExecutionEngine {
|
|
|
586
586
|
|
|
587
587
|
// src/workflows/vNext/workflow.ts
|
|
588
588
|
function createStep(params) {
|
|
589
|
-
if (params instanceof
|
|
589
|
+
if (params instanceof chunk3BKYXIDL_cjs.Agent) {
|
|
590
590
|
return {
|
|
591
591
|
id: params.name,
|
|
592
592
|
// @ts-ignore
|