@mastra/core 1.24.1-alpha.0 → 1.24.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/CHANGELOG.md +14 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +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-W7JPJ5VP.cjs → chunk-26ZXSSBE.cjs} +3 -3
- package/dist/chunk-26ZXSSBE.cjs.map +1 -0
- package/dist/{chunk-IWMYLZQ6.js → chunk-3GZBQLYX.js} +3 -3
- package/dist/{chunk-IWMYLZQ6.js.map → chunk-3GZBQLYX.js.map} +1 -1
- package/dist/{chunk-5CPRW7GV.js → chunk-4RGVQ5CO.js} +3 -3
- package/dist/{chunk-5CPRW7GV.js.map → chunk-4RGVQ5CO.js.map} +1 -1
- package/dist/{chunk-JG7M2F2C.js → chunk-4TUIZXRS.js} +3 -3
- package/dist/{chunk-JG7M2F2C.js.map → chunk-4TUIZXRS.js.map} +1 -1
- package/dist/{chunk-XCFSSKCI.cjs → chunk-53O3B7YA.cjs} +5 -5
- package/dist/{chunk-XCFSSKCI.cjs.map → chunk-53O3B7YA.cjs.map} +1 -1
- package/dist/{chunk-Y6I7BKY3.cjs → chunk-5POWUC5M.cjs} +77 -77
- package/dist/{chunk-Y6I7BKY3.cjs.map → chunk-5POWUC5M.cjs.map} +1 -1
- package/dist/{chunk-CNCOPROQ.cjs → chunk-F3QBBJBD.cjs} +9 -9
- package/dist/{chunk-CNCOPROQ.cjs.map → chunk-F3QBBJBD.cjs.map} +1 -1
- package/dist/{chunk-QBUDLHGF.js → chunk-GYRJZMNH.js} +3 -3
- package/dist/chunk-GYRJZMNH.js.map +1 -0
- package/dist/{chunk-Q55SOMNM.js → chunk-HCFZEQOD.js} +16 -10
- package/dist/chunk-HCFZEQOD.js.map +1 -0
- package/dist/{chunk-NWGH6OSA.cjs → chunk-IQH7JT26.cjs} +48 -48
- package/dist/{chunk-NWGH6OSA.cjs.map → chunk-IQH7JT26.cjs.map} +1 -1
- package/dist/{chunk-JRTGAEET.js → chunk-KYMJARXA.js} +9 -9
- package/dist/{chunk-JRTGAEET.js.map → chunk-KYMJARXA.js.map} +1 -1
- package/dist/{chunk-HAF2U4ON.cjs → chunk-LILBXY3Z.cjs} +17 -17
- package/dist/{chunk-HAF2U4ON.cjs.map → chunk-LILBXY3Z.cjs.map} +1 -1
- package/dist/{chunk-RKBY3V7R.js → chunk-PI6G5HKZ.js} +4 -4
- package/dist/{chunk-RKBY3V7R.js.map → chunk-PI6G5HKZ.js.map} +1 -1
- package/dist/{chunk-XOJF3SNB.js → chunk-PVBMRGDA.js} +3 -3
- package/dist/{chunk-XOJF3SNB.js.map → chunk-PVBMRGDA.js.map} +1 -1
- package/dist/{chunk-6TQZIQ23.js → chunk-QWTELAMT.js} +6 -6
- package/dist/{chunk-6TQZIQ23.js.map → chunk-QWTELAMT.js.map} +1 -1
- package/dist/{chunk-NC3NDZWM.cjs → chunk-RFARTLSL.cjs} +185 -185
- package/dist/{chunk-NC3NDZWM.cjs.map → chunk-RFARTLSL.cjs.map} +1 -1
- package/dist/{chunk-MYYPIBLR.js → chunk-RJXIBFWM.js} +3 -3
- package/dist/{chunk-MYYPIBLR.js.map → chunk-RJXIBFWM.js.map} +1 -1
- package/dist/{chunk-4636ENMP.cjs → chunk-TSAH7BD4.cjs} +28 -22
- package/dist/chunk-TSAH7BD4.cjs.map +1 -0
- package/dist/{chunk-AX3PKXOT.cjs → chunk-TSSVO2DE.cjs} +6 -6
- package/dist/{chunk-AX3PKXOT.cjs.map → chunk-TSSVO2DE.cjs.map} +1 -1
- package/dist/{chunk-KQABOPAK.js → chunk-WGOLVEGM.js} +4 -4
- package/dist/{chunk-KQABOPAK.js.map → chunk-WGOLVEGM.js.map} +1 -1
- package/dist/{chunk-H2SFI3RZ.cjs → chunk-ZMGEKD6A.cjs} +7 -7
- package/dist/{chunk-H2SFI3RZ.cjs.map → chunk-ZMGEKD6A.cjs.map} +1 -1
- package/dist/{chunk-K2NJIVZ5.cjs → chunk-ZYCSOEMD.cjs} +13 -13
- package/dist/{chunk-K2NJIVZ5.cjs.map → chunk-ZYCSOEMD.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +133 -133
- 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 +15 -10
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +13 -8
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/tools.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 +3 -0
- 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-F5NHIZT4.js +3 -0
- package/dist/{mastra-THXHB2YW.js.map → mastra-F5NHIZT4.js.map} +1 -1
- package/dist/mastra-UZMVHX5W.cjs +12 -0
- package/dist/{mastra-KYZOJWVP.cjs.map → mastra-UZMVHX5W.cjs.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-6G5YAXMB.js +3 -0
- package/dist/{models-dev-Y4N5GCLA.js.map → models-dev-6G5YAXMB.js.map} +1 -1
- package/dist/models-dev-VFHWG4YA.cjs +12 -0
- package/dist/{models-dev-JNR72RHW.cjs.map → models-dev-VFHWG4YA.cjs.map} +1 -1
- package/dist/netlify-MGGY5TEN.cjs +12 -0
- package/dist/{netlify-C25NVF5O.cjs.map → netlify-MGGY5TEN.cjs.map} +1 -1
- package/dist/netlify-U7FEFJEC.js +3 -0
- package/dist/{netlify-IGYUFSZG.js.map → netlify-U7FEFJEC.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-7SHON2PJ.cjs +44 -0
- package/dist/{provider-registry-PKUEVZXH.cjs.map → provider-registry-7SHON2PJ.cjs.map} +1 -1
- package/dist/provider-registry-YLBLTJRK.js +3 -0
- package/dist/{provider-registry-3HZNLU3V.js.map → provider-registry-YLBLTJRK.js.map} +1 -1
- package/dist/provider-registry.json +8 -2
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/stream/index.cjs +8 -8
- package/dist/stream/index.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/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/package.json +9 -9
- package/src/llm/model/provider-types.generated.d.ts +3 -0
- package/dist/chunk-4636ENMP.cjs.map +0 -1
- package/dist/chunk-Q55SOMNM.js.map +0 -1
- package/dist/chunk-QBUDLHGF.js.map +0 -1
- package/dist/chunk-W7JPJ5VP.cjs.map +0 -1
- package/dist/mastra-KYZOJWVP.cjs +0 -12
- package/dist/mastra-THXHB2YW.js +0 -3
- package/dist/models-dev-JNR72RHW.cjs +0 -12
- package/dist/models-dev-Y4N5GCLA.js +0 -3
- package/dist/netlify-C25NVF5O.cjs +0 -12
- package/dist/netlify-IGYUFSZG.js +0 -3
- package/dist/provider-registry-3HZNLU3V.js +0 -3
- package/dist/provider-registry-PKUEVZXH.cjs +0 -44
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/harness/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/harness/tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAG3B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAKrE,OAAO,KAAK,EAAyB,eAAe,EAAE,MAAM,SAAS,CAAC;AAKtE;;;;GAIG;AACH,eAAO,MAAM,WAAW;;;;;;sHA4DtB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;yHAkEzB,CAAC;AAMH,QAAA,MAAM,cAAc;;;;;;;;iBAOlB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;wHAwDxB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,aAAa,sKAoFxB,CAAC;AAMH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,mBAAmB,CAAC;IACvD,sEAAsE;IACtE,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,yBAAyB;;;;uHAiOjE;AAgBD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACvD,CAkBA"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLILBXY3Z_cjs = require('./chunk-LILBXY3Z.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 chunkLILBXY3Z_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
package/dist/llm/index.cjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
3
|
+
var chunk5POWUC5M_cjs = require('../chunk-5POWUC5M.cjs');
|
|
4
|
+
var chunkTSAH7BD4_cjs = require('../chunk-TSAH7BD4.cjs');
|
|
5
|
+
var chunkRFARTLSL_cjs = require('../chunk-RFARTLSL.cjs');
|
|
6
|
+
var chunkF3QBBJBD_cjs = require('../chunk-F3QBBJBD.cjs');
|
|
7
|
+
var chunk26ZXSSBE_cjs = require('../chunk-26ZXSSBE.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AzureOpenAIGateway", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk5POWUC5M_cjs.AzureOpenAIGateway; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "EMBEDDING_MODELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk5POWUC5M_cjs.EMBEDDING_MODELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk5POWUC5M_cjs.ModelRouterEmbeddingModel; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk5POWUC5M_cjs.ModelRouterLanguageModel; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "defaultGateways", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk5POWUC5M_cjs.defaultGateways; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk5POWUC5M_cjs.resolveModelConfig; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GatewayRegistry", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkTSAH7BD4_cjs.GatewayRegistry; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MastraGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkTSAH7BD4_cjs.MastraGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkTSAH7BD4_cjs.PROVIDER_REGISTRY; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkTSAH7BD4_cjs.getProviderConfig; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "parseModelString", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkTSAH7BD4_cjs.parseModelString; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkRFARTLSL_cjs.ModelsDevGateway; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkF3QBBJBD_cjs.NetlifyGateway; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "GATEWAY_AUTH_HEADER", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk26ZXSSBE_cjs.GATEWAY_AUTH_HEADER; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk26ZXSSBE_cjs.MastraModelGateway; }
|
|
70
70
|
});
|
|
71
71
|
//# sourceMappingURL=index.cjs.map
|
|
72
72
|
//# sourceMappingURL=index.cjs.map
|
package/dist/llm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-
|
|
2
|
-
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-
|
|
3
|
-
export { ModelsDevGateway } from '../chunk-
|
|
4
|
-
export { NetlifyGateway } from '../chunk-
|
|
5
|
-
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-
|
|
1
|
+
export { AzureOpenAIGateway, EMBEDDING_MODELS, ModelRouterEmbeddingModel, ModelRouterLanguageModel, defaultGateways, resolveModelConfig } from '../chunk-QWTELAMT.js';
|
|
2
|
+
export { GatewayRegistry, MastraGateway, PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-HCFZEQOD.js';
|
|
3
|
+
export { ModelsDevGateway } from '../chunk-RJXIBFWM.js';
|
|
4
|
+
export { NetlifyGateway } from '../chunk-PVBMRGDA.js';
|
|
5
|
+
export { GATEWAY_AUTH_HEADER, MastraModelGateway } from '../chunk-GYRJZMNH.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -18,6 +18,7 @@ export type ProviderModelsMap = {
|
|
|
18
18
|
'gemma3:12b',
|
|
19
19
|
'gemma3:27b',
|
|
20
20
|
'gemma3:4b',
|
|
21
|
+
'gemma4:31b',
|
|
21
22
|
'glm-4.6',
|
|
22
23
|
'glm-4.7',
|
|
23
24
|
'glm-5',
|
|
@@ -2425,10 +2426,12 @@ export type ProviderModelsMap = {
|
|
|
2425
2426
|
'hf:moonshotai/Kimi-K2-Thinking',
|
|
2426
2427
|
'hf:moonshotai/Kimi-K2.5',
|
|
2427
2428
|
'hf:nvidia/Kimi-K2.5-NVFP4',
|
|
2429
|
+
'hf:nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4',
|
|
2428
2430
|
'hf:openai/gpt-oss-120b',
|
|
2429
2431
|
'hf:zai-org/GLM-4.6',
|
|
2430
2432
|
'hf:zai-org/GLM-4.7',
|
|
2431
2433
|
'hf:zai-org/GLM-4.7-Flash',
|
|
2434
|
+
'hf:zai-org/GLM-5',
|
|
2432
2435
|
];
|
|
2433
2436
|
readonly llmgateway: readonly [
|
|
2434
2437
|
'auto',
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "createScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZYCSOEMD_cjs.createScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "formatCheckFeedback", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZYCSOEMD_cjs.formatCheckFeedback; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "formatCompletionFeedback", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZYCSOEMD_cjs.formatCompletionFeedback; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "formatStreamCompletionFeedback", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZYCSOEMD_cjs.formatStreamCompletionFeedback; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "formatValidationFeedback", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZYCSOEMD_cjs.formatValidationFeedback; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "generateFinalResult", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZYCSOEMD_cjs.generateFinalResult; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateStructuredFinalResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZYCSOEMD_cjs.generateStructuredFinalResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "loop", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZYCSOEMD_cjs.loop; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "runChecks", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZYCSOEMD_cjs.runChecks; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "runCompletionScorers", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZYCSOEMD_cjs.runCompletionScorers; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "runDefaultCompletionCheck", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZYCSOEMD_cjs.runDefaultCompletionCheck; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "runStreamCompletionScorers", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZYCSOEMD_cjs.runStreamCompletionScorers; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "runValidation", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZYCSOEMD_cjs.runValidation; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=index.cjs.map
|
|
60
60
|
//# sourceMappingURL=index.cjs.map
|
package/dist/loop/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-
|
|
1
|
+
export { createScorer, formatCheckFeedback, formatCompletionFeedback, formatStreamCompletionFeedback, formatValidationFeedback, generateFinalResult, generateStructuredFinalResult, loop, runChecks, runCompletionScorers, runDefaultCompletionCheck, runStreamCompletionScorers, runValidation } from '../chunk-4TUIZXRS.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLILBXY3Z_cjs = require('../chunk-LILBXY3Z.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 chunkLILBXY3Z_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-F5NHIZT4.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTSAH7BD4_cjs = require('./chunk-TSAH7BD4.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "MastraGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkTSAH7BD4_cjs.MastraGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=mastra-UZMVHX5W.cjs.map
|
|
12
|
+
//# sourceMappingURL=mastra-UZMVHX5W.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"mastra-UZMVHX5W.cjs"}
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZYCSOEMD_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZYCSOEMD_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MockMemory", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZYCSOEMD_cjs.MockMemory; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "SYSTEM_REMINDER_END_TAG", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkZYCSOEMD_cjs.SYSTEM_REMINDER_END_TAG; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "SYSTEM_REMINDER_START_TAG", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkZYCSOEMD_cjs.SYSTEM_REMINDER_START_TAG; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "WORKING_MEMORY_END_TAG", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkZYCSOEMD_cjs.WORKING_MEMORY_END_TAG; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "WORKING_MEMORY_START_TAG", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkZYCSOEMD_cjs.WORKING_MEMORY_START_TAG; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "extractWorkingMemoryContent", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkZYCSOEMD_cjs.extractWorkingMemoryContent; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "extractWorkingMemoryTags", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkZYCSOEMD_cjs.extractWorkingMemoryTags; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "filterSystemReminderMessages", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkZYCSOEMD_cjs.filterSystemReminderMessages; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "getThreadOMMetadata", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkZYCSOEMD_cjs.getThreadOMMetadata; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isObservationalMemoryEnabled", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkZYCSOEMD_cjs.isObservationalMemoryEnabled; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isSystemReminderMessage", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkZYCSOEMD_cjs.isSystemReminderMessage; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkZYCSOEMD_cjs.memoryDefaultOptions; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "parseMemoryRequestContext", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkZYCSOEMD_cjs.parseMemoryRequestContext; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "removeSystemReminderTags", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkZYCSOEMD_cjs.removeSystemReminderTags; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "removeWorkingMemoryTags", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkZYCSOEMD_cjs.removeWorkingMemoryTags; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "setThreadOMMetadata", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkZYCSOEMD_cjs.setThreadOMMetadata; }
|
|
78
78
|
});
|
|
79
79
|
//# sourceMappingURL=index.cjs.map
|
|
80
80
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, MockMemory, SYSTEM_REMINDER_END_TAG, SYSTEM_REMINDER_START_TAG, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, filterSystemReminderMessages, getThreadOMMetadata, isObservationalMemoryEnabled, isSystemReminderMessage, memoryDefaultOptions, parseMemoryRequestContext, removeSystemReminderTags, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, MockMemory, SYSTEM_REMINDER_END_TAG, SYSTEM_REMINDER_START_TAG, WORKING_MEMORY_END_TAG, WORKING_MEMORY_START_TAG, extractWorkingMemoryContent, extractWorkingMemoryTags, filterSystemReminderMessages, getThreadOMMetadata, isObservationalMemoryEnabled, isSystemReminderMessage, memoryDefaultOptions, parseMemoryRequestContext, removeSystemReminderTags, removeWorkingMemoryTags, setThreadOMMetadata } from '../chunk-4TUIZXRS.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-6G5YAXMB.js"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkRFARTLSL_cjs = require('./chunk-RFARTLSL.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkRFARTLSL_cjs.ModelsDevGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=models-dev-VFHWG4YA.cjs.map
|
|
12
|
+
//# sourceMappingURL=models-dev-VFHWG4YA.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"models-dev-VFHWG4YA.cjs"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkF3QBBJBD_cjs = require('./chunk-F3QBBJBD.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "NetlifyGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkF3QBBJBD_cjs.NetlifyGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=netlify-MGGY5TEN.cjs.map
|
|
12
|
+
//# sourceMappingURL=netlify-MGGY5TEN.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-MGGY5TEN.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-U7FEFJEC.js"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZYCSOEMD_cjs = require('../chunk-ZYCSOEMD.cjs');
|
|
4
4
|
var v4 = require('zod/v4');
|
|
5
5
|
|
|
6
6
|
// src/processor-provider/types.ts
|
|
@@ -67,7 +67,7 @@ var unicodeNormalizerProvider = {
|
|
|
67
67
|
}),
|
|
68
68
|
availablePhases: ["processInput"],
|
|
69
69
|
createProcessor(config) {
|
|
70
|
-
return new
|
|
70
|
+
return new chunkZYCSOEMD_cjs.UnicodeNormalizer(config);
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
var tokenLimiterProvider = {
|
|
@@ -83,7 +83,7 @@ var tokenLimiterProvider = {
|
|
|
83
83
|
}),
|
|
84
84
|
availablePhases: ["processInput", "processOutputStream", "processOutputResult"],
|
|
85
85
|
createProcessor(config) {
|
|
86
|
-
return new
|
|
86
|
+
return new chunkZYCSOEMD_cjs.TokenLimiterProcessor(
|
|
87
87
|
config
|
|
88
88
|
);
|
|
89
89
|
}
|
|
@@ -99,7 +99,7 @@ var toolCallFilterProvider = {
|
|
|
99
99
|
}),
|
|
100
100
|
availablePhases: ["processInput"],
|
|
101
101
|
createProcessor(config) {
|
|
102
|
-
return new
|
|
102
|
+
return new chunkZYCSOEMD_cjs.ToolCallFilter(config);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
var batchPartsProvider = {
|
|
@@ -115,7 +115,7 @@ var batchPartsProvider = {
|
|
|
115
115
|
}),
|
|
116
116
|
availablePhases: ["processOutputStream"],
|
|
117
117
|
createProcessor(config) {
|
|
118
|
-
return new
|
|
118
|
+
return new chunkZYCSOEMD_cjs.BatchPartsProcessor(config);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
var moderationProvider = {
|
|
@@ -137,7 +137,7 @@ var moderationProvider = {
|
|
|
137
137
|
}),
|
|
138
138
|
availablePhases: ["processInput", "processOutputResult", "processOutputStream"],
|
|
139
139
|
createProcessor(config) {
|
|
140
|
-
return new
|
|
140
|
+
return new chunkZYCSOEMD_cjs.ModerationProcessor(config);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
var promptInjectionDetectorProvider = {
|
|
@@ -158,7 +158,7 @@ var promptInjectionDetectorProvider = {
|
|
|
158
158
|
}),
|
|
159
159
|
availablePhases: ["processInput"],
|
|
160
160
|
createProcessor(config) {
|
|
161
|
-
return new
|
|
161
|
+
return new chunkZYCSOEMD_cjs.PromptInjectionDetector(config);
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
var piiDetectorProvider = {
|
|
@@ -181,7 +181,7 @@ var piiDetectorProvider = {
|
|
|
181
181
|
}),
|
|
182
182
|
availablePhases: ["processInput"],
|
|
183
183
|
createProcessor(config) {
|
|
184
|
-
return new
|
|
184
|
+
return new chunkZYCSOEMD_cjs.PIIDetector(config);
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
var languageDetectorProvider = {
|
|
@@ -204,7 +204,7 @@ var languageDetectorProvider = {
|
|
|
204
204
|
}),
|
|
205
205
|
availablePhases: ["processInput"],
|
|
206
206
|
createProcessor(config) {
|
|
207
|
-
return new
|
|
207
|
+
return new chunkZYCSOEMD_cjs.LanguageDetector(config);
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
var systemPromptScrubberProvider = {
|
|
@@ -225,7 +225,7 @@ var systemPromptScrubberProvider = {
|
|
|
225
225
|
}),
|
|
226
226
|
availablePhases: ["processOutputStream", "processOutputResult"],
|
|
227
227
|
createProcessor(config) {
|
|
228
|
-
return new
|
|
228
|
+
return new chunkZYCSOEMD_cjs.SystemPromptScrubber(config);
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
var BUILT_IN_PROCESSOR_PROVIDERS = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UnicodeNormalizer, TokenLimiterProcessor, ToolCallFilter, BatchPartsProcessor, ModerationProcessor, PromptInjectionDetector, PIIDetector, LanguageDetector, SystemPromptScrubber } from '../chunk-
|
|
1
|
+
import { UnicodeNormalizer, TokenLimiterProcessor, ToolCallFilter, BatchPartsProcessor, ModerationProcessor, PromptInjectionDetector, PIIDetector, LanguageDetector, SystemPromptScrubber } from '../chunk-4TUIZXRS.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
// src/processor-provider/types.ts
|