@mastra/core 0.20.0 → 0.20.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/{chunk-QR5VZWWT.js → chunk-5Y6WUVPK.js} +3 -3
- package/dist/{chunk-QR5VZWWT.js.map → chunk-5Y6WUVPK.js.map} +1 -1
- package/dist/{chunk-6R46VE63.js → chunk-7QV7MY5L.js} +3 -3
- package/dist/{chunk-6R46VE63.js.map → chunk-7QV7MY5L.js.map} +1 -1
- package/dist/{chunk-OKIHIKXV.cjs → chunk-AWOY6LM2.cjs} +4 -4
- package/dist/{chunk-OKIHIKXV.cjs.map → chunk-AWOY6LM2.cjs.map} +1 -1
- package/dist/{chunk-7EUC32F3.cjs → chunk-BKO3KH7C.cjs} +4 -4
- package/dist/{chunk-7EUC32F3.cjs.map → chunk-BKO3KH7C.cjs.map} +1 -1
- package/dist/{chunk-I6TOPBP6.cjs → chunk-ECDF5DEF.cjs} +12 -12
- package/dist/{chunk-I6TOPBP6.cjs.map → chunk-ECDF5DEF.cjs.map} +1 -1
- package/dist/{chunk-3NNB72OL.cjs → chunk-GZNVDMJ4.cjs} +7 -7
- package/dist/{chunk-3NNB72OL.cjs.map → chunk-GZNVDMJ4.cjs.map} +1 -1
- package/dist/{chunk-DQISKQDE.js → chunk-PWQVQXRH.js} +3 -3
- package/dist/chunk-PWQVQXRH.js.map +1 -0
- package/dist/{chunk-COYTVUIL.js → chunk-TFHKFNAC.js} +3 -3
- package/dist/{chunk-COYTVUIL.js.map → chunk-TFHKFNAC.js.map} +1 -1
- package/dist/{chunk-ZJ2UFCTS.js → chunk-VJF7D4VR.js} +3 -3
- package/dist/{chunk-ZJ2UFCTS.js.map → chunk-VJF7D4VR.js.map} +1 -1
- package/dist/{chunk-T4H33PBR.cjs → chunk-YNZE2LAE.cjs} +3 -3
- package/dist/chunk-YNZE2LAE.cjs.map +1 -0
- package/dist/index.cjs +19 -19
- package/dist/index.js +4 -4
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/processors/index.cjs +11 -11
- package/dist/processors/index.js +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +4 -4
- package/dist/scores/index.js +1 -1
- package/dist/scores/scoreTraces/index.cjs +3 -3
- package/dist/scores/scoreTraces/index.js +1 -1
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +12 -12
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.js +1 -1
- package/dist/workflows/workflow.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-DQISKQDE.js.map +0 -1
- package/dist/chunk-T4H33PBR.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var chunkNEWEONKX_cjs = require('./chunk-NEWEONKX.cjs');
|
|
4
4
|
var chunk4PRV2Y55_cjs = require('./chunk-4PRV2Y55.cjs');
|
|
5
5
|
var chunkIB27A3HF_cjs = require('./chunk-IB27A3HF.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkBKO3KH7C_cjs = require('./chunk-BKO3KH7C.cjs');
|
|
7
7
|
var chunkZNK5RN5D_cjs = require('./chunk-ZNK5RN5D.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkAWOY6LM2_cjs = require('./chunk-AWOY6LM2.cjs');
|
|
9
9
|
var chunkQLYANYE2_cjs = require('./chunk-QLYANYE2.cjs');
|
|
10
10
|
var chunk576KDLXN_cjs = require('./chunk-576KDLXN.cjs');
|
|
11
11
|
var chunkK4AYIXVH_cjs = require('./chunk-K4AYIXVH.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkYNZE2LAE_cjs = require('./chunk-YNZE2LAE.cjs');
|
|
13
13
|
var chunk2JUDZXVI_cjs = require('./chunk-2JUDZXVI.cjs');
|
|
14
14
|
var chunk2SH5WPUA_cjs = require('./chunk-2SH5WPUA.cjs');
|
|
15
15
|
var chunkTSNDVBUU_cjs = require('./chunk-TSNDVBUU.cjs');
|
|
@@ -18,7 +18,7 @@ var chunkA4RAEU6X_cjs = require('./chunk-A4RAEU6X.cjs');
|
|
|
18
18
|
var chunk4L3P3PCP_cjs = require('./chunk-4L3P3PCP.cjs');
|
|
19
19
|
|
|
20
20
|
// src/agent/index.warning.ts
|
|
21
|
-
var Agent2 = class extends
|
|
21
|
+
var Agent2 = class extends chunkYNZE2LAE_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"');
|
|
@@ -100,7 +100,7 @@ var MastraVector2 = class extends chunk4PRV2Y55_cjs.MastraVector {
|
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
// src/workflows/workflow.warning.ts
|
|
103
|
-
var Workflow2 = class extends
|
|
103
|
+
var Workflow2 = class extends chunkYNZE2LAE_cjs.Workflow {
|
|
104
104
|
constructor(args) {
|
|
105
105
|
super(args);
|
|
106
106
|
this.logger.warn('Please import "Workflow" from "@mastra/core/workflows" instead of "@mastra/core"');
|
|
@@ -129,7 +129,7 @@ Object.defineProperty(exports, "serializeDate", {
|
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "Mastra", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkBKO3KH7C_cjs.Mastra; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
135
135
|
enumerable: true,
|
|
@@ -141,15 +141,15 @@ Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkAWOY6LM2_cjs.CohereRelevanceScorer; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkAWOY6LM2_cjs.MastraAgentRelevanceScorer; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkAWOY6LM2_cjs.createSimilarityPrompt; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "Metric", {
|
|
155
155
|
enumerable: true,
|
|
@@ -161,43 +161,43 @@ Object.defineProperty(exports, "evaluate", {
|
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkYNZE2LAE_cjs.DefaultExecutionEngine; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkYNZE2LAE_cjs.ExecutionEngine; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "Run", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkYNZE2LAE_cjs.Run; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "cloneStep", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkYNZE2LAE_cjs.cloneStep; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkYNZE2LAE_cjs.cloneWorkflow; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "createStep", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkYNZE2LAE_cjs.createStep; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "createWorkflow", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkYNZE2LAE_cjs.createWorkflow; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "getStepResult", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkYNZE2LAE_cjs.getStepResult; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "mapVariable", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkYNZE2LAE_cjs.mapVariable; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "validateStepInput", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkYNZE2LAE_cjs.validateStepInput; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "InstrumentClass", {
|
|
203
203
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -3,15 +3,15 @@ import { MastraVector } from './chunk-KK5LUATU.js';
|
|
|
3
3
|
export { embed as embedV1, embed2 as embedV2 } from './chunk-KK5LUATU.js';
|
|
4
4
|
import { MastraStorage } from './chunk-NMSLDMQ6.js';
|
|
5
5
|
export { ensureDate, resolveMessageLimit, serializeDate } from './chunk-NMSLDMQ6.js';
|
|
6
|
-
export { Mastra } from './chunk-
|
|
6
|
+
export { Mastra } from './chunk-TFHKFNAC.js';
|
|
7
7
|
import { MastraMemory } from './chunk-KGBDRSMX.js';
|
|
8
8
|
export { MemoryProcessor, memoryDefaultOptions } from './chunk-KGBDRSMX.js';
|
|
9
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-
|
|
9
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-VJF7D4VR.js';
|
|
10
10
|
import { MastraDeployer } from './chunk-GBW5ZDLZ.js';
|
|
11
11
|
export { Metric, evaluate } from './chunk-M4AX46DS.js';
|
|
12
12
|
import { Integration, OpenAPIToolset } from './chunk-RYFQKXXS.js';
|
|
13
|
-
import { Agent, Workflow } from './chunk-
|
|
14
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from './chunk-
|
|
13
|
+
import { Agent, Workflow } from './chunk-PWQVQXRH.js';
|
|
14
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from './chunk-PWQVQXRH.js';
|
|
15
15
|
export { InstrumentClass, OTLPTraceExporter as OTLPStorageExporter, Telemetry, getBaggageValues, hasActiveTelemetry, withSpan } from './chunk-2DVGQK2L.js';
|
|
16
16
|
export { OpenAICompatibleModel, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from './chunk-AND6J5LG.js';
|
|
17
17
|
export { AvailableHooks, executeHook, registerHook } from './chunk-TTELJD4F.js';
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYNZE2LAE_cjs = require('../chunk-YNZE2LAE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "loop", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYNZE2LAE_cjs.loop; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBKO3KH7C_cjs = require('../chunk-BKO3KH7C.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkBKO3KH7C_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYNZE2LAE_cjs = require('../chunk-YNZE2LAE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYNZE2LAE_cjs.BatchPartsProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYNZE2LAE_cjs.LanguageDetector; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYNZE2LAE_cjs.ModerationProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PIIDetector", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYNZE2LAE_cjs.PIIDetector; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ProcessorState", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYNZE2LAE_cjs.ProcessorState; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYNZE2LAE_cjs.PromptInjectionDetector; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYNZE2LAE_cjs.StructuredOutputProcessor; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYNZE2LAE_cjs.SystemPromptScrubber; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYNZE2LAE_cjs.TokenLimiterProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYNZE2LAE_cjs.UnicodeNormalizer; }
|
|
46
46
|
});
|
|
47
47
|
//# sourceMappingURL=index.cjs.map
|
|
48
48
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BatchPartsProcessor, LanguageDetector, ModerationProcessor, PIIDetector, ProcessorState, PromptInjectionDetector, StructuredOutputProcessor, SystemPromptScrubber, TokenLimiterProcessor, UnicodeNormalizer } from '../chunk-
|
|
1
|
+
export { BatchPartsProcessor, LanguageDetector, ModerationProcessor, PIIDetector, ProcessorState, PromptInjectionDetector, StructuredOutputProcessor, SystemPromptScrubber, TokenLimiterProcessor, UnicodeNormalizer } from '../chunk-PWQVQXRH.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAWOY6LM2_cjs = require('../chunk-AWOY6LM2.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 chunkAWOY6LM2_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAWOY6LM2_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkAWOY6LM2_cjs.createSimilarityPrompt; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/relevance/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-
|
|
1
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-VJF7D4VR.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/scores/index.cjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGZNVDMJ4_cjs = require('../chunk-GZNVDMJ4.cjs');
|
|
4
4
|
var chunkYEEAHLAK_cjs = require('../chunk-YEEAHLAK.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "MastraScorer", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkGZNVDMJ4_cjs.MastraScorer; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createScorer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkGZNVDMJ4_cjs.createScorer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "runExperiment", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkGZNVDMJ4_cjs.runExperiment; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "saveScorePayloadSchema", {
|
|
21
21
|
enumerable: true,
|
package/dist/scores/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MastraScorer, createScorer, runExperiment } from '../chunk-
|
|
1
|
+
export { MastraScorer, createScorer, runExperiment } from '../chunk-5Y6WUVPK.js';
|
|
2
2
|
export { saveScorePayloadSchema, scoreResultSchema, scoringExtractStepResultSchema, scoringValueSchema } from '../chunk-WP2KQXPV.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkECDF5DEF_cjs = require('../../chunk-ECDF5DEF.cjs');
|
|
4
4
|
var chunkYEEAHLAK_cjs = require('../../chunk-YEEAHLAK.cjs');
|
|
5
5
|
var chunk7HUKQ6SZ_cjs = require('../../chunk-7HUKQ6SZ.cjs');
|
|
6
6
|
var chunkWM4VQWOZ_cjs = require('../../chunk-WM4VQWOZ.cjs');
|
|
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/scores/scoreTraces/scoreTracesWorkflow.ts
|
|
237
|
-
var getTraceStep =
|
|
237
|
+
var getTraceStep = chunkECDF5DEF_cjs.createStep({
|
|
238
238
|
id: "__process-trace-scoring",
|
|
239
239
|
inputSchema: z__default.default.object({
|
|
240
240
|
targets: z__default.default.array(
|
|
@@ -404,7 +404,7 @@ async function attachScoreToSpan({
|
|
|
404
404
|
updates: { links: [...existingLinks, link] }
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
-
var scoreTracesWorkflow =
|
|
407
|
+
var scoreTracesWorkflow = chunkECDF5DEF_cjs.createWorkflow({
|
|
408
408
|
id: "__batch-scoring-traces",
|
|
409
409
|
inputSchema: z__default.default.object({
|
|
410
410
|
targets: z__default.default.array(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-7QV7MY5L.js';
|
|
2
2
|
import { saveScorePayloadSchema } from '../../chunk-WP2KQXPV.js';
|
|
3
3
|
import { convertMessages } from '../../chunk-BOJNXNRV.js';
|
|
4
4
|
import { MastraError } from '../../chunk-T3JFFQH2.js';
|
package/dist/stream/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYNZE2LAE_cjs = require('../chunk-YNZE2LAE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AISDKV5OutputStream", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYNZE2LAE_cjs.AISDKV5OutputStream; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYNZE2LAE_cjs.ChunkFrom; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYNZE2LAE_cjs.MastraModelOutput; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/stream/index.js
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkECDF5DEF_cjs = require('../../chunk-ECDF5DEF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "EventedExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkECDF5DEF_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkECDF5DEF_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkECDF5DEF_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkECDF5DEF_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkECDF5DEF_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkECDF5DEF_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkECDF5DEF_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkECDF5DEF_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkECDF5DEF_cjs.createWorkflow; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-
|
|
1
|
+
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow } from '../../chunk-7QV7MY5L.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYNZE2LAE_cjs = require('../chunk-YNZE2LAE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DefaultExecutionEngine", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYNZE2LAE_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYNZE2LAE_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYNZE2LAE_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYNZE2LAE_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cloneStep", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYNZE2LAE_cjs.cloneStep; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYNZE2LAE_cjs.cloneWorkflow; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "createStep", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYNZE2LAE_cjs.createStep; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createWorkflow", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYNZE2LAE_cjs.createWorkflow; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "getStepResult", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYNZE2LAE_cjs.getStepResult; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "mapVariable", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYNZE2LAE_cjs.mapVariable; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "validateStepInput", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYNZE2LAE_cjs.validateStepInput; }
|
|
50
50
|
});
|
|
51
51
|
//# sourceMappingURL=index.cjs.map
|
|
52
52
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cloneStep, cloneWorkflow, createStep, createWorkflow, getStepResult, mapVariable, validateStepInput } from '../chunk-PWQVQXRH.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYNZE2LAE_cjs = require('../../chunk-YNZE2LAE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "LegacyStep", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYNZE2LAE_cjs.LegacyStep; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LegacyWorkflow", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYNZE2LAE_cjs.LegacyWorkflow; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYNZE2LAE_cjs.WhenConditionReturnValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "agentToStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYNZE2LAE_cjs.agentToStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYNZE2LAE_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYNZE2LAE_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYNZE2LAE_cjs.getStepResult2; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYNZE2LAE_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isAgent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYNZE2LAE_cjs.isAgent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isConditionalKey", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYNZE2LAE_cjs.isConditionalKey; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYNZE2LAE_cjs.isErrorEvent; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isFinalState", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkYNZE2LAE_cjs.isFinalState; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isLimboState", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkYNZE2LAE_cjs.isLimboState; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkYNZE2LAE_cjs.isTransitionEvent; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "isVariableReference", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkYNZE2LAE_cjs.isVariableReference; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isWorkflow", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkYNZE2LAE_cjs.isWorkflow; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkYNZE2LAE_cjs.mergeChildValue; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkYNZE2LAE_cjs.recursivelyCheckForFinalState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "resolveVariables", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkYNZE2LAE_cjs.resolveVariables; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkYNZE2LAE_cjs.updateStepInHierarchy; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "workflowToStep", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkYNZE2LAE_cjs.workflowToStep; }
|
|
90
90
|
});
|
|
91
91
|
//# sourceMappingURL=index.cjs.map
|
|
92
92
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult2 as getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-
|
|
1
|
+
export { LegacyStep, LegacyWorkflow, WhenConditionReturnValue, agentToStep, getActivePathsAndStatus, getResultActivePaths, getStepResult2 as getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from '../../chunk-PWQVQXRH.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|