@mastra/core 1.18.1-alpha.1 → 1.19.0-alpha.2
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 +12 -0
- package/dist/agent/agent-legacy.d.ts +3 -1
- package/dist/agent/agent-legacy.d.ts.map +1 -1
- package/dist/agent/agent.d.ts +3 -1
- 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/{chunk-AV4YSAZL.cjs → chunk-2OYWVA6F.cjs} +17 -2
- package/dist/chunk-2OYWVA6F.cjs.map +1 -0
- package/dist/{chunk-YMPV2RMB.cjs → chunk-2RTFET56.cjs} +7 -7
- package/dist/{chunk-YMPV2RMB.cjs.map → chunk-2RTFET56.cjs.map} +1 -1
- package/dist/{chunk-6VRSFFQ4.cjs → chunk-4TUILCMR.cjs} +6 -6
- package/dist/{chunk-6VRSFFQ4.cjs.map → chunk-4TUILCMR.cjs.map} +1 -1
- package/dist/{chunk-WMF4CWAL.cjs → chunk-5OBBDZBA.cjs} +185 -185
- package/dist/{chunk-WMF4CWAL.cjs.map → chunk-5OBBDZBA.cjs.map} +1 -1
- package/dist/{chunk-7IE4K74P.js → chunk-6TEEIOHA.js} +4 -4
- package/dist/{chunk-7IE4K74P.js.map → chunk-6TEEIOHA.js.map} +1 -1
- package/dist/{chunk-JTJCFEIY.js → chunk-6XYHMM2X.js} +8 -8
- package/dist/{chunk-JTJCFEIY.js.map → chunk-6XYHMM2X.js.map} +1 -1
- package/dist/{chunk-AJZQPWAV.js → chunk-BS5UESNT.js} +41 -30
- package/dist/chunk-BS5UESNT.js.map +1 -0
- package/dist/{chunk-BZ2MSXOF.js → chunk-CSIKD56W.js} +3 -3
- package/dist/{chunk-BZ2MSXOF.js.map → chunk-CSIKD56W.js.map} +1 -1
- package/dist/{chunk-7V3UNILV.js → chunk-D5EXC3XM.js} +4 -4
- package/dist/{chunk-7V3UNILV.js.map → chunk-D5EXC3XM.js.map} +1 -1
- package/dist/{chunk-VEP4CV7E.cjs → chunk-E2SMTTP6.cjs} +15 -15
- package/dist/{chunk-VEP4CV7E.cjs.map → chunk-E2SMTTP6.cjs.map} +1 -1
- package/dist/{chunk-6R5PT6ZP.cjs → chunk-E3JUOJME.cjs} +5 -5
- package/dist/{chunk-6R5PT6ZP.cjs.map → chunk-E3JUOJME.cjs.map} +1 -1
- package/dist/{chunk-FA4PTEBK.js → chunk-EWPUWV33.js} +18 -3
- package/dist/chunk-EWPUWV33.js.map +1 -0
- package/dist/{chunk-QNNFMCSE.js → chunk-F4PVOQKD.js} +3 -3
- package/dist/{chunk-QNNFMCSE.js.map → chunk-F4PVOQKD.js.map} +1 -1
- package/dist/{chunk-XDZOEUNU.cjs → chunk-GFQPMPSV.cjs} +7 -113
- package/dist/chunk-GFQPMPSV.cjs.map +1 -0
- package/dist/{chunk-5ANYSU2W.cjs → chunk-GNA52EF4.cjs} +9 -9
- package/dist/{chunk-5ANYSU2W.cjs.map → chunk-GNA52EF4.cjs.map} +1 -1
- package/dist/{chunk-UJX2TJIF.js → chunk-IOHKSHT4.js} +3 -3
- package/dist/{chunk-UJX2TJIF.js.map → chunk-IOHKSHT4.js.map} +1 -1
- package/dist/{chunk-LVZKPNQO.cjs → chunk-IQV2SVCE.cjs} +52 -52
- package/dist/{chunk-LVZKPNQO.cjs.map → chunk-IQV2SVCE.cjs.map} +1 -1
- package/dist/{chunk-XNBGNCVV.cjs → chunk-L2FL7HMV.cjs} +25 -25
- package/dist/{chunk-XNBGNCVV.cjs.map → chunk-L2FL7HMV.cjs.map} +1 -1
- package/dist/{chunk-PB3KXPNE.js → chunk-M62LMDHE.js} +7 -7
- package/dist/{chunk-PB3KXPNE.js.map → chunk-M62LMDHE.js.map} +1 -1
- package/dist/{chunk-YCT2YQDL.cjs → chunk-MN7WNZE6.cjs} +6 -6
- package/dist/{chunk-YCT2YQDL.cjs.map → chunk-MN7WNZE6.cjs.map} +1 -1
- package/dist/{chunk-QADPCUBX.cjs → chunk-NWOPWLJ3.cjs} +82 -82
- package/dist/{chunk-QADPCUBX.cjs.map → chunk-NWOPWLJ3.cjs.map} +1 -1
- package/dist/{chunk-WLNT3YJ7.cjs → chunk-O542TXPV.cjs} +97 -86
- package/dist/chunk-O542TXPV.cjs.map +1 -0
- package/dist/{chunk-X4Q4KB6C.js → chunk-OZHBY6NY.js} +3 -3
- package/dist/{chunk-X4Q4KB6C.js.map → chunk-OZHBY6NY.js.map} +1 -1
- package/dist/{chunk-OLHODPXN.js → chunk-PPCEPCG7.js} +3 -3
- package/dist/{chunk-OLHODPXN.js.map → chunk-PPCEPCG7.js.map} +1 -1
- package/dist/{chunk-EXDBQKH4.cjs → chunk-QB4YHCVA.cjs} +15 -15
- package/dist/{chunk-EXDBQKH4.cjs.map → chunk-QB4YHCVA.cjs.map} +1 -1
- package/dist/{chunk-VMBWVH4B.js → chunk-QIOD3LOP.js} +3 -3
- package/dist/{chunk-VMBWVH4B.js.map → chunk-QIOD3LOP.js.map} +1 -1
- package/dist/{chunk-2W7R236U.cjs → chunk-RD76XK7E.cjs} +3 -3
- package/dist/{chunk-2W7R236U.cjs.map → chunk-RD76XK7E.cjs.map} +1 -1
- package/dist/{chunk-EAJDF6UV.js → chunk-SVIEJH5H.js} +3 -3
- package/dist/{chunk-EAJDF6UV.js.map → chunk-SVIEJH5H.js.map} +1 -1
- package/dist/{chunk-RF4TETYQ.js → chunk-VYZRHQUD.js} +5 -5
- package/dist/{chunk-RF4TETYQ.js.map → chunk-VYZRHQUD.js.map} +1 -1
- package/dist/{chunk-L2GYXPJJ.cjs → chunk-WKAEIA42.cjs} +9 -9
- package/dist/{chunk-L2GYXPJJ.cjs.map → chunk-WKAEIA42.cjs.map} +1 -1
- package/dist/{chunk-OTJAMDX5.js → chunk-X5BBF6AG.js} +3 -3
- package/dist/{chunk-OTJAMDX5.js.map → chunk-X5BBF6AG.js.map} +1 -1
- package/dist/{chunk-HQCBFWL2.js → chunk-Z6I5PBGG.js} +6 -112
- package/dist/chunk-Z6I5PBGG.js.map +1 -0
- 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 +232 -232
- 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/index.cjs +19 -19
- package/dist/harness/index.js +8 -8
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/integration/index.cjs +2 -2
- package/dist/integration/index.js +1 -1
- package/dist/llm/index.cjs +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +1 -50
- 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/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-VAVD7BDV.cjs +12 -0
- package/dist/{models-dev-WD6XLSFC.cjs.map → models-dev-VAVD7BDV.cjs.map} +1 -1
- package/dist/models-dev-VFIUOVG4.js +3 -0
- package/dist/{models-dev-XG4KIUFT.js.map → models-dev-VFIUOVG4.js.map} +1 -1
- package/dist/netlify-KL3UR26O.cjs +12 -0
- package/dist/{netlify-FMBBUFKT.cjs.map → netlify-KL3UR26O.cjs.map} +1 -1
- package/dist/netlify-Q3SJTV4U.js +3 -0
- package/dist/{netlify-NDOVF45T.js.map → netlify-Q3SJTV4U.js.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-COX4XKGI.js +3 -0
- package/dist/{provider-registry-KHXFOGCK.js.map → provider-registry-COX4XKGI.js.map} +1 -1
- package/dist/provider-registry-IAU4XHVY.cjs +40 -0
- package/dist/{provider-registry-VUG7E4SG.cjs.map → provider-registry-IAU4XHVY.cjs.map} +1 -1
- package/dist/provider-registry.json +2 -108
- 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/tools/index.cjs +8 -8
- package/dist/tools/index.js +1 -1
- package/dist/tools/is-vercel-tool.cjs +2 -2
- package/dist/tools/is-vercel-tool.js +1 -1
- package/dist/tools/validation.d.ts.map +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/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/dist/workspace/index.cjs +68 -68
- package/dist/workspace/index.js +1 -1
- package/package.json +4 -4
- package/src/llm/model/provider-types.generated.d.ts +1 -50
- package/dist/chunk-AJZQPWAV.js.map +0 -1
- package/dist/chunk-AV4YSAZL.cjs.map +0 -1
- package/dist/chunk-FA4PTEBK.js.map +0 -1
- package/dist/chunk-HQCBFWL2.js.map +0 -1
- package/dist/chunk-WLNT3YJ7.cjs.map +0 -1
- package/dist/chunk-XDZOEUNU.cjs.map +0 -1
- package/dist/models-dev-WD6XLSFC.cjs +0 -12
- package/dist/models-dev-XG4KIUFT.js +0 -3
- package/dist/netlify-FMBBUFKT.cjs +0 -12
- package/dist/netlify-NDOVF45T.js +0 -3
- package/dist/provider-registry-KHXFOGCK.js +0 -3
- package/dist/provider-registry-VUG7E4SG.cjs +0 -40
package/dist/utils.cjs
CHANGED
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkE2SMTTP6_cjs = require('./chunk-E2SMTTP6.cjs');
|
|
4
4
|
var chunkRLPRSIR2_cjs = require('./chunk-RLPRSIR2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "checkEvalStorageFields", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkE2SMTTP6_cjs.checkEvalStorageFields; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createMastraProxy", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkE2SMTTP6_cjs.createMastraProxy; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "deepEqual", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkE2SMTTP6_cjs.deepEqual; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "deepMerge", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkE2SMTTP6_cjs.deepMerge; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "delay", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkE2SMTTP6_cjs.delay; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "ensureSerializable", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkE2SMTTP6_cjs.ensureSerializable; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "ensureToolProperties", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkE2SMTTP6_cjs.ensureToolProperties; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "fetchWithRetry", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkE2SMTTP6_cjs.fetchWithRetry; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "generateEmptyFromSchema", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkE2SMTTP6_cjs.generateEmptyFromSchema; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "getNestedValue", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkE2SMTTP6_cjs.getNestedValue; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isCoreMessage", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkE2SMTTP6_cjs.isCoreMessage; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "isUiMessage", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkE2SMTTP6_cjs.isUiMessage; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "isZodType", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkE2SMTTP6_cjs.isZodType; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "makeCoreTool", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkE2SMTTP6_cjs.makeCoreTool; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "makeCoreToolV5", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkE2SMTTP6_cjs.makeCoreToolV5; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "maskStreamTags", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkE2SMTTP6_cjs.maskStreamTags; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "omitKeys", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkE2SMTTP6_cjs.omitKeys; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "parseFieldKey", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkE2SMTTP6_cjs.parseFieldKey; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "parseSqlIdentifier", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkE2SMTTP6_cjs.parseSqlIdentifier; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "removeUndefinedValues", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkE2SMTTP6_cjs.removeUndefinedValues; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "resolveSerializedZodOutput", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkE2SMTTP6_cjs.resolveSerializedZodOutput; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "safeStringify", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkE2SMTTP6_cjs.safeStringify; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "selectFields", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkE2SMTTP6_cjs.selectFields; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "setNestedValue", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkE2SMTTP6_cjs.setNestedValue; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "getZodDef", {
|
|
105
105
|
enumerable: true,
|
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-OZHBY6NY.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 chunkGNA52EF4_cjs = require('../chunk-GNA52EF4.cjs');
|
|
5
5
|
var chunkY3APFUXZ_cjs = require('../chunk-Y3APFUXZ.cjs');
|
|
6
6
|
var chunkDP4YQ2HF_cjs = require('../chunk-DP4YQ2HF.cjs');
|
|
7
7
|
var chunkSQINVD7G_cjs = require('../chunk-SQINVD7G.cjs');
|
|
@@ -92,7 +92,7 @@ var MastraVector = class extends chunkRO47SMI7_cjs.MastraBase {
|
|
|
92
92
|
function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
93
93
|
if (!vectors || vectors.length === 0) {
|
|
94
94
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
95
|
-
id:
|
|
95
|
+
id: chunkGNA52EF4_cjs.createVectorErrorId(storeName, "UPSERT", "EMPTY_VECTORS"),
|
|
96
96
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
97
97
|
category: "USER" /* USER */,
|
|
98
98
|
details: {
|
|
@@ -102,7 +102,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
102
102
|
}
|
|
103
103
|
if (metadata && metadata.length > 0 && metadata.length !== vectors.length) {
|
|
104
104
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
105
|
-
id:
|
|
105
|
+
id: chunkGNA52EF4_cjs.createVectorErrorId(storeName, "UPSERT", "METADATA_LENGTH_MISMATCH"),
|
|
106
106
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
107
107
|
category: "USER" /* USER */,
|
|
108
108
|
details: {
|
|
@@ -114,7 +114,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
114
114
|
}
|
|
115
115
|
if (ids && ids.length !== vectors.length) {
|
|
116
116
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
117
|
-
id:
|
|
117
|
+
id: chunkGNA52EF4_cjs.createVectorErrorId(storeName, "UPSERT", "IDS_LENGTH_MISMATCH"),
|
|
118
118
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
119
119
|
category: "USER" /* USER */,
|
|
120
120
|
details: {
|
|
@@ -128,7 +128,7 @@ function validateUpsertInput(storeName, vectors, metadata, ids) {
|
|
|
128
128
|
function validateTopK(storeName, topK) {
|
|
129
129
|
if (!Number.isInteger(topK) || topK <= 0) {
|
|
130
130
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
131
|
-
id:
|
|
131
|
+
id: chunkGNA52EF4_cjs.createVectorErrorId(storeName, "QUERY", "INVALID_TOP_K"),
|
|
132
132
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
133
133
|
category: "USER" /* USER */,
|
|
134
134
|
details: {
|
|
@@ -143,7 +143,7 @@ function validateVectorValues(storeName, vectors) {
|
|
|
143
143
|
const vector = vectors[i];
|
|
144
144
|
if (!vector) {
|
|
145
145
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
146
|
-
id:
|
|
146
|
+
id: chunkGNA52EF4_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR"),
|
|
147
147
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
148
148
|
category: "USER" /* USER */,
|
|
149
149
|
details: {
|
|
@@ -156,7 +156,7 @@ function validateVectorValues(storeName, vectors) {
|
|
|
156
156
|
const value = vector[j];
|
|
157
157
|
if (value === null || value === void 0 || !Number.isFinite(value)) {
|
|
158
158
|
throw new chunk4U7ZLI36_cjs.MastraError({
|
|
159
|
-
id:
|
|
159
|
+
id: chunkGNA52EF4_cjs.createVectorErrorId(storeName, "UPSERT", "INVALID_VECTOR_VALUE"),
|
|
160
160
|
domain: "MASTRA_VECTOR" /* MASTRA_VECTOR */,
|
|
161
161
|
category: "USER" /* USER */,
|
|
162
162
|
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-PPCEPCG7.js';
|
|
3
3
|
export { embed as embedV2 } from '../chunk-2PHG443D.js';
|
|
4
4
|
export { embed as embedV3 } from '../chunk-KBPJLEWI.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 chunkIQV2SVCE_cjs = require('../../chunk-IQV2SVCE.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 chunkIQV2SVCE_cjs.EventedExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "EventedRun", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIQV2SVCE_cjs.EventedRun; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EventedWorkflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIQV2SVCE_cjs.EventedWorkflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "StepExecutor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIQV2SVCE_cjs.StepExecutor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "WorkflowEventProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIQV2SVCE_cjs.WorkflowEventProcessor; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIQV2SVCE_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkIQV2SVCE_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createStep", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkIQV2SVCE_cjs.createStep; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createWorkflow", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkIQV2SVCE_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-VYZRHQUD.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkO542TXPV_cjs = require('../chunk-O542TXPV.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 chunkO542TXPV_cjs.DefaultExecutionEngine; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ExecutionEngine", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkO542TXPV_cjs.ExecutionEngine; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Run", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkO542TXPV_cjs.Run; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "Workflow", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkO542TXPV_cjs.Workflow; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "cleanStepResult", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkO542TXPV_cjs.cleanStepResult; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "cloneStep", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkO542TXPV_cjs.cloneStep; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "cloneWorkflow", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkO542TXPV_cjs.cloneWorkflow; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "createDeprecationProxy", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkO542TXPV_cjs.createDeprecationProxy; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "createStep", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkO542TXPV_cjs.createStep; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "createTimeTravelExecutionParams", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkO542TXPV_cjs.createTimeTravelExecutionParams; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "createWorkflow", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkO542TXPV_cjs.createWorkflow; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "getResumeLabelsByStepId", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkO542TXPV_cjs.getResumeLabelsByStepId; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "getStepIds", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkO542TXPV_cjs.getStepIds; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "getStepResult", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkO542TXPV_cjs.getStepResult; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "hydrateSerializedStepErrors", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkO542TXPV_cjs.hydrateSerializedStepErrors; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "isProcessor", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkO542TXPV_cjs.isProcessor; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "mapVariable", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkO542TXPV_cjs.mapVariable; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "runCountDeprecationMessage", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkO542TXPV_cjs.runCountDeprecationMessage; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "validateStepInput", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkO542TXPV_cjs.validateStepInput; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "validateStepRequestContext", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkO542TXPV_cjs.validateStepRequestContext; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "validateStepResumeData", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkO542TXPV_cjs.validateStepResumeData; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "validateStepStateData", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkO542TXPV_cjs.validateStepStateData; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "validateStepSuspendData", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkO542TXPV_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-BS5UESNT.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|