@mastra/core 1.23.0-alpha.5 → 1.23.0-alpha.7
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 +14 -0
- package/dist/agent/agent.d.ts +13 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/agent/workflows/prepare-stream/index.d.ts.map +1 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts +2 -1
- package/dist/agent/workflows/prepare-stream/map-results-step.d.ts.map +1 -1
- package/dist/browser/index.cjs +2 -2
- package/dist/browser/index.js +1 -1
- package/dist/channels/index.cjs +4 -4
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-XFLQVMNH.cjs → chunk-2COMJWSP.cjs} +18 -18
- package/dist/{chunk-XFLQVMNH.cjs.map → chunk-2COMJWSP.cjs.map} +1 -1
- package/dist/{chunk-I6XSSR4Z.js → chunk-2DOJSEKM.js} +20 -14
- package/dist/chunk-2DOJSEKM.js.map +1 -0
- package/dist/{chunk-Z63F3XHK.js → chunk-37G434JU.js} +3 -3
- package/dist/{chunk-Z63F3XHK.js.map → chunk-37G434JU.js.map} +1 -1
- package/dist/{chunk-VO6R5RZT.js → chunk-3PX4NVO4.js} +5 -5
- package/dist/{chunk-VO6R5RZT.js.map → chunk-3PX4NVO4.js.map} +1 -1
- package/dist/{chunk-QIJFD7ZC.js → chunk-4GR73476.js} +3 -3
- package/dist/{chunk-QIJFD7ZC.js.map → chunk-4GR73476.js.map} +1 -1
- package/dist/{chunk-QRK2HWHI.js → chunk-7R6CUMCQ.js} +7 -7
- package/dist/{chunk-QRK2HWHI.js.map → chunk-7R6CUMCQ.js.map} +1 -1
- package/dist/{chunk-TKH2A57J.cjs → chunk-AC4BKIH4.cjs} +185 -185
- package/dist/{chunk-TKH2A57J.cjs.map → chunk-AC4BKIH4.cjs.map} +1 -1
- package/dist/{chunk-UENWRQLR.cjs → chunk-AESXHP7M.cjs} +5 -5
- package/dist/{chunk-UENWRQLR.cjs.map → chunk-AESXHP7M.cjs.map} +1 -1
- package/dist/{chunk-YR7XRMDN.cjs → chunk-DUKZTMIA.cjs} +6 -6
- package/dist/{chunk-YR7XRMDN.cjs.map → chunk-DUKZTMIA.cjs.map} +1 -1
- package/dist/{chunk-HWAEQSOO.js → chunk-EBLC3SZU.js} +10 -10
- package/dist/{chunk-HWAEQSOO.js.map → chunk-EBLC3SZU.js.map} +1 -1
- package/dist/{chunk-Z34TVGNZ.js → chunk-EC7FJWDQ.js} +4 -4
- package/dist/{chunk-Z34TVGNZ.js.map → chunk-EC7FJWDQ.js.map} +1 -1
- package/dist/{chunk-ZHYPWNWS.js → chunk-EFX7OKPD.js} +4 -4
- package/dist/{chunk-ZHYPWNWS.js.map → chunk-EFX7OKPD.js.map} +1 -1
- package/dist/{chunk-QYQSXRFZ.js → chunk-FEUHTHXS.js} +35 -10
- package/dist/chunk-FEUHTHXS.js.map +1 -0
- package/dist/{chunk-L2MCWEEX.js → chunk-H4DMZG2G.js} +3 -3
- package/dist/{chunk-L2MCWEEX.js.map → chunk-H4DMZG2G.js.map} +1 -1
- package/dist/{chunk-V7AX2MSJ.cjs → chunk-J2R537Z7.cjs} +32 -26
- package/dist/chunk-J2R537Z7.cjs.map +1 -0
- package/dist/{chunk-EXORPYDN.js → chunk-JI4PAFKP.js} +3 -3
- package/dist/{chunk-EXORPYDN.js.map → chunk-JI4PAFKP.js.map} +1 -1
- package/dist/{chunk-JJFGNYVY.cjs → chunk-KYH7NFDR.cjs} +7 -7
- package/dist/{chunk-JJFGNYVY.cjs.map → chunk-KYH7NFDR.cjs.map} +1 -1
- package/dist/{chunk-JNXWDPCZ.js → chunk-N4QQVYW3.js} +4 -4
- package/dist/{chunk-JNXWDPCZ.js.map → chunk-N4QQVYW3.js.map} +1 -1
- package/dist/{chunk-XZCYFQ4N.cjs → chunk-OFMVPJGK.cjs} +51 -51
- package/dist/{chunk-XZCYFQ4N.cjs.map → chunk-OFMVPJGK.cjs.map} +1 -1
- package/dist/{chunk-ZUN5CMDY.cjs → chunk-OROK2RQF.cjs} +84 -84
- package/dist/{chunk-ZUN5CMDY.cjs.map → chunk-OROK2RQF.cjs.map} +1 -1
- package/dist/{chunk-7DONY7OL.cjs → chunk-R37UG42A.cjs} +3 -3
- package/dist/{chunk-7DONY7OL.cjs.map → chunk-R37UG42A.cjs.map} +1 -1
- package/dist/{chunk-FSHOQBGF.cjs → chunk-RN6YQCOU.cjs} +9 -9
- package/dist/{chunk-FSHOQBGF.cjs.map → chunk-RN6YQCOU.cjs.map} +1 -1
- package/dist/{chunk-6UQKQBIB.js → chunk-UKYZDPXL.js} +3 -3
- package/dist/{chunk-6UQKQBIB.js.map → chunk-UKYZDPXL.js.map} +1 -1
- package/dist/{chunk-7STIIXEL.cjs → chunk-VDZYHVUM.cjs} +3 -3
- package/dist/{chunk-7STIIXEL.cjs.map → chunk-VDZYHVUM.cjs.map} +1 -1
- package/dist/{chunk-4W26D7S6.cjs → chunk-WTRV3KTS.cjs} +7 -7
- package/dist/{chunk-4W26D7S6.cjs.map → chunk-WTRV3KTS.cjs.map} +1 -1
- package/dist/{chunk-Z67JQNEH.cjs → chunk-X4JUECE7.cjs} +9 -9
- package/dist/{chunk-Z67JQNEH.cjs.map → chunk-X4JUECE7.cjs.map} +1 -1
- package/dist/{chunk-DO4JBKMT.cjs → chunk-ZGOY2O3K.cjs} +74 -49
- package/dist/chunk-ZGOY2O3K.cjs.map +1 -0
- package/dist/{chunk-TG46FM6X.js → chunk-ZZK7VFFA.js} +3 -3
- package/dist/{chunk-TG46FM6X.js.map → chunk-ZZK7VFFA.js.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +242 -242
- package/dist/evals/index.cjs +5 -5
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +3 -3
- package/dist/evals/scoreTraces/index.js +1 -1
- package/dist/harness/harness.d.ts +2 -0
- package/dist/harness/harness.d.ts.map +1 -1
- package/dist/harness/index.cjs +20 -9
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +17 -6
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/types.d.ts +8 -0
- package/dist/harness/types.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/llm/index.cjs +20 -20
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +6 -3
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/mastra-GK6QM5DQ.js +3 -0
- package/dist/{mastra-O4WWP6N5.js.map → mastra-GK6QM5DQ.js.map} +1 -1
- package/dist/mastra-KE4XLMI2.cjs +12 -0
- package/dist/{mastra-VHS7LVQG.cjs.map → mastra-KE4XLMI2.cjs.map} +1 -1
- package/dist/memory/index.cjs +17 -17
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-CT6FMRSU.js +3 -0
- package/dist/{models-dev-4W7JQVWR.js.map → models-dev-CT6FMRSU.js.map} +1 -1
- package/dist/models-dev-UJDAX4F3.cjs +12 -0
- package/dist/{models-dev-3IPTEPRM.cjs.map → models-dev-UJDAX4F3.cjs.map} +1 -1
- package/dist/netlify-ECN64HAF.js +3 -0
- package/dist/{netlify-FZBGNFDI.js.map → netlify-ECN64HAF.js.map} +1 -1
- package/dist/netlify-ML4C3IKP.cjs +12 -0
- package/dist/{netlify-XT32D45G.cjs.map → netlify-ML4C3IKP.cjs.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-6FR6AKYW.js +3 -0
- package/dist/{provider-registry-AWL2JDVF.js.map → provider-registry-6FR6AKYW.js.map} +1 -1
- package/dist/provider-registry-DRMNUKIF.cjs +40 -0
- package/dist/{provider-registry-X5PBSJ2G.cjs.map → provider-registry-DRMNUKIF.cjs.map} +1 -1
- package/dist/provider-registry.json +12 -6
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +74 -74
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +25 -25
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/handlers/entry.d.ts.map +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +4 -4
- package/src/llm/model/provider-types.generated.d.ts +6 -3
- package/dist/chunk-DO4JBKMT.cjs.map +0 -1
- package/dist/chunk-I6XSSR4Z.js.map +0 -1
- package/dist/chunk-QYQSXRFZ.js.map +0 -1
- package/dist/chunk-V7AX2MSJ.cjs.map +0 -1
- package/dist/mastra-O4WWP6N5.js +0 -3
- package/dist/mastra-VHS7LVQG.cjs +0 -12
- package/dist/models-dev-3IPTEPRM.cjs +0 -12
- package/dist/models-dev-4W7JQVWR.js +0 -3
- package/dist/netlify-FZBGNFDI.js +0 -3
- package/dist/netlify-XT32D45G.cjs +0 -12
- package/dist/provider-registry-AWL2JDVF.js +0 -3
- package/dist/provider-registry-X5PBSJ2G.cjs +0 -40
package/dist/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureSerializable, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, safeStringify, selectFields, setNestedValue } from './chunk-
|
|
1
|
+
export { checkEvalStorageFields, createMastraProxy, deepEqual, deepMerge, delay, ensureSerializable, ensureToolProperties, fetchWithRetry, generateEmptyFromSchema, getNestedValue, isCoreMessage, isUiMessage, isZodType, makeCoreTool, makeCoreToolV5, maskStreamTags, omitKeys, parseFieldKey, parseSqlIdentifier, removeUndefinedValues, resolveSerializedZodOutput, safeStringify, selectFields, setNestedValue } from './chunk-37G434JU.js';
|
|
2
2
|
export { getZodDef, getZodTypeName, isZodArray, isZodObject } from './chunk-RT2LCNDN.js';
|
|
3
3
|
//# sourceMappingURL=utils.js.map
|
|
4
4
|
//# sourceMappingURL=utils.js.map
|
package/dist/vector/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk6XCINXZ7_cjs = require('../chunk-6XCINXZ7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkRN6YQCOU_cjs = require('../chunk-RN6YQCOU.cjs');
|
|
5
5
|
var chunkY3APFUXZ_cjs = require('../chunk-Y3APFUXZ.cjs');
|
|
6
6
|
var chunkJ7ZILJ2M_cjs = require('../chunk-J7ZILJ2M.cjs');
|
|
7
7
|
var chunkSQINVD7G_cjs = require('../chunk-SQINVD7G.cjs');
|
|
@@ -89,7 +89,7 @@ var MastraVector = class extends chunkFCQNDFEW_cjs.MastraBase {
|
|
|
89
89
|
function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
90
90
|
if (!vectors || vectors.length === 0) {
|
|
91
91
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
92
|
-
id:
|
|
92
|
+
id: chunkRN6YQCOU_cjs.createVectorErrorId(storeName, "UPSERT", "EMPTY_VECTORS"),
|
|
93
93
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
94
94
|
category: "USER" /* USER */,
|
|
95
95
|
details: {
|
|
@@ -99,7 +99,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
99
99
|
}
|
|
100
100
|
if (metadata && metadata.length > 0 && metadata.length !== vectors.length) {
|
|
101
101
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
102
|
-
id:
|
|
102
|
+
id: chunkRN6YQCOU_cjs.createVectorErrorId(storeName, "UPSERT", "METADATA_LENGTH_MISMATCH"),
|
|
103
103
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
104
104
|
category: "USER" /* USER */,
|
|
105
105
|
details: {
|
|
@@ -111,7 +111,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
111
111
|
}
|
|
112
112
|
if (ids && ids.length !== vectors.length) {
|
|
113
113
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
114
|
-
id:
|
|
114
|
+
id: chunkRN6YQCOU_cjs.createVectorErrorId(storeName, "UPSERT", "IDS_LENGTH_MISMATCH"),
|
|
115
115
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
116
116
|
category: "USER" /* USER */,
|
|
117
117
|
details: {
|
|
@@ -125,7 +125,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
125
125
|
function validateTopK(storeName, topK) {
|
|
126
126
|
if (!Number.isInteger(topK) || topK <= 0) {
|
|
127
127
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
128
|
-
id:
|
|
128
|
+
id: chunkRN6YQCOU_cjs.createVectorErrorId(storeName, "QUERY", "INVALID_TOP_K"),
|
|
129
129
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
130
130
|
category: "USER" /* USER */,
|
|
131
131
|
details: {
|
|
@@ -140,7 +140,7 @@ function validateVectorValues(storeName, vectors) {
|
|
|
140
140
|
const vector = vectors[i];
|
|
141
141
|
if (!vector) {
|
|
142
142
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
143
|
-
id:
|
|
143
|
+
id: chunkRN6YQCOU_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR"),
|
|
144
144
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
145
145
|
category: "USER" /* USER */,
|
|
146
146
|
details: {
|
|
@@ -153,7 +153,7 @@ function validateVectorValues(storeName, vectors) {
|
|
|
153
153
|
const value = vector[j];
|
|
154
154
|
if (value === null || value === void 0 || !Number.isFinite(value)) {
|
|
155
155
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
156
|
-
id:
|
|
156
|
+
id: chunkRN6YQCOU_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR_VALUE"),
|
|
157
157
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
158
158
|
category: "USER" /* USER */,
|
|
159
159
|
details: {
|
package/dist/vector/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BaseFilterTranslator } from '../chunk-BWYU7D33.js';
|
|
2
|
-
import { createVectorErrorId } from '../chunk-
|
|
2
|
+
import { createVectorErrorId } from '../chunk-H4DMZG2G.js';
|
|
3
3
|
export { embed as embedV2 } from '../chunk-2PHG443D.js';
|
|
4
4
|
export { embed as embedV3 } from '../chunk-SV4PQMBQ.js';
|
|
5
5
|
export { embed as embedV1 } from '../chunk-EB2EH2RY.js';
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOFMVPJGK_cjs = require('../../chunk-OFMVPJGK.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 chunkOFMVPJGK_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkOFMVPJGK_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkOFMVPJGK_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkOFMVPJGK_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkOFMVPJGK_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkOFMVPJGK_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkOFMVPJGK_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkOFMVPJGK_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkOFMVPJGK_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-3PX4NVO4.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entry.d.ts","sourceRoot":"","sources":["../../../src/workflows/handlers/entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,KAAK,EACV,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACZ,sBAAsB,EACtB,uBAAuB,EACvB,aAAa,EACb,UAAU,EACV,yBAAyB,EACzB,iBAAiB,EAClB,MAAM,UAAU,CAAC;AAgElB,MAAM,WAAW,uBAAuB;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;IAC5D,mBAAmB,EAAE,uBAAuB,EAAE,CAAC;IAC/C,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,cAAc,EAAE,iBAAiB,CAAC;IAClC,MAAM,CAAC,EAAE,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B,GACzB,OAAO,CAAC,oBAAoB,CAAC,CA2gB/B"}
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZGOY2O3K_cjs = require('../chunk-ZGOY2O3K.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 chunkZGOY2O3K_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZGOY2O3K_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZGOY2O3K_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZGOY2O3K_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZGOY2O3K_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZGOY2O3K_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZGOY2O3K_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZGOY2O3K_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZGOY2O3K_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZGOY2O3K_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZGOY2O3K_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZGOY2O3K_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZGOY2O3K_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkZGOY2O3K_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkZGOY2O3K_cjs.hydrateSerializedStepErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isProcessor", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkZGOY2O3K_cjs.isProcessor; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mapVariable", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkZGOY2O3K_cjs.mapVariable; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkZGOY2O3K_cjs.runCountDeprecationMessage; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "validateStepInput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkZGOY2O3K_cjs.validateStepInput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkZGOY2O3K_cjs.validateStepRequestContext; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkZGOY2O3K_cjs.validateStepResumeData; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkZGOY2O3K_cjs.validateStepStateData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkZGOY2O3K_cjs.validateStepSuspendData; }
|
|
98
98
|
});
|
|
99
99
|
//# sourceMappingURL=index.cjs.map
|
|
100
100
|
//# sourceMappingURL=index.cjs.map
|
package/dist/workflows/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-
|
|
1
|
+
export { DefaultExecutionEngine, ExecutionEngine, Run, Workflow, cleanStepResult, cloneStep, cloneWorkflow, createDeprecationProxy, createStep, createTimeTravelExecutionParams, createWorkflow, getResumeLabelsByStepId, getStepIds, getStepResult, hydrateSerializedStepErrors, isProcessor, mapVariable, runCountDeprecationMessage, validateStepInput, validateStepRequestContext, validateStepResumeData, validateStepStateData, validateStepSuspendData } from '../chunk-FEUHTHXS.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "1.23.0-alpha.
|
|
3
|
+
"version": "1.23.0-alpha.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -290,14 +290,14 @@
|
|
|
290
290
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
291
291
|
"zod": "^4.3.6",
|
|
292
292
|
"@internal/ai-sdk-v4": "0.0.26",
|
|
293
|
-
"@internal/ai-sdk-v5": "0.0.26",
|
|
294
293
|
"@internal/ai-v6": "0.0.26",
|
|
294
|
+
"@internal/ai-sdk-v5": "0.0.26",
|
|
295
295
|
"@internal/core": "0.0.0",
|
|
296
296
|
"@internal/external-types": "0.0.29",
|
|
297
297
|
"@internal/lint": "0.0.79",
|
|
298
|
-
"@internal/test-utils": "0.0.15",
|
|
299
298
|
"@internal/llm-recorder": "0.0.15",
|
|
300
|
-
"@internal/types-builder": "0.0.54"
|
|
299
|
+
"@internal/types-builder": "0.0.54",
|
|
300
|
+
"@internal/test-utils": "0.0.15"
|
|
301
301
|
},
|
|
302
302
|
"engines": {
|
|
303
303
|
"node": ">=22.13.0"
|
|
@@ -829,8 +829,8 @@ export type ProviderModelsMap = {
|
|
|
829
829
|
'gemma-3-4b-it',
|
|
830
830
|
'gemma-3n-e2b-it',
|
|
831
831
|
'gemma-3n-e4b-it',
|
|
832
|
-
'gemma-4-26b',
|
|
833
|
-
'gemma-4-31b',
|
|
832
|
+
'gemma-4-26b-it',
|
|
833
|
+
'gemma-4-31b-it',
|
|
834
834
|
];
|
|
835
835
|
readonly 'cloudferro-sherlock': readonly [
|
|
836
836
|
'MiniMaxAI/MiniMax-M2.5',
|
|
@@ -1674,6 +1674,7 @@ export type ProviderModelsMap = {
|
|
|
1674
1674
|
'anthropic/claude-sonnet-4.5',
|
|
1675
1675
|
'anthropic/claude-sonnet-4.6',
|
|
1676
1676
|
'arcee-ai/trinity-large-preview:free',
|
|
1677
|
+
'arcee-ai/trinity-large-thinking',
|
|
1677
1678
|
'arcee-ai/trinity-mini:free',
|
|
1678
1679
|
'black-forest-labs/flux.2-flex',
|
|
1679
1680
|
'black-forest-labs/flux.2-klein-4b',
|
|
@@ -1711,6 +1712,8 @@ export type ProviderModelsMap = {
|
|
|
1711
1712
|
'google/gemma-3n-e2b-it:free',
|
|
1712
1713
|
'google/gemma-3n-e4b-it',
|
|
1713
1714
|
'google/gemma-3n-e4b-it:free',
|
|
1715
|
+
'google/gemma-4-26b-a4b-it',
|
|
1716
|
+
'google/gemma-4-31b-it',
|
|
1714
1717
|
'inception/mercury',
|
|
1715
1718
|
'inception/mercury-2',
|
|
1716
1719
|
'inception/mercury-coder',
|
|
@@ -2809,7 +2812,7 @@ export type ProviderModelsMap = {
|
|
|
2809
2812
|
'zai-org/GLM-4.5-Air',
|
|
2810
2813
|
'zai-org/GLM-4.5-FP8',
|
|
2811
2814
|
];
|
|
2812
|
-
readonly vultr: readonly ['DeepSeek-V3.2', 'GLM-5-FP8', 'Kimi-K2.5', 'MiniMax-M2.5'];
|
|
2815
|
+
readonly vultr: readonly ['DeepSeek-V3.2', 'GLM-5-FP8', 'Kimi-K2.5', 'MiniMax-M2.5', 'gpt-oss-120b'];
|
|
2813
2816
|
readonly 'github-models': readonly [
|
|
2814
2817
|
'ai21-labs/ai21-jamba-1.5-large',
|
|
2815
2818
|
'ai21-labs/ai21-jamba-1.5-mini',
|