@scoutqa/mastra-core 0.24.6-fork.4 → 0.24.6-fork.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/agent/message-list/prompt/convert-to-mastra-v1.d.ts.map +1 -1
- package/dist/ai-tracing/index.cjs +36 -36
- package/dist/ai-tracing/index.js +1 -1
- package/dist/{chunk-VXHOOZSK.js → chunk-3E2CRAEN.js} +4 -4
- package/dist/{chunk-VXHOOZSK.js.map → chunk-3E2CRAEN.js.map} +1 -1
- package/dist/{chunk-HSX2K7HB.js → chunk-43KM3O3Y.js} +3 -3
- package/dist/{chunk-HSX2K7HB.js.map → chunk-43KM3O3Y.js.map} +1 -1
- package/dist/{chunk-BKE436B3.cjs → chunk-46XGIEXM.cjs} +4 -4
- package/dist/{chunk-BKE436B3.cjs.map → chunk-46XGIEXM.cjs.map} +1 -1
- package/dist/{chunk-UIPKWM5S.cjs → chunk-5WKBINKH.cjs} +15 -15
- package/dist/{chunk-UIPKWM5S.cjs.map → chunk-5WKBINKH.cjs.map} +1 -1
- package/dist/{chunk-CMRO5LJP.js → chunk-6D2K2CAA.js} +3 -3
- package/dist/{chunk-CMRO5LJP.js.map → chunk-6D2K2CAA.js.map} +1 -1
- package/dist/{chunk-WPYZUO5P.cjs → chunk-7JI4E5ZT.cjs} +4 -4
- package/dist/{chunk-WPYZUO5P.cjs.map → chunk-7JI4E5ZT.cjs.map} +1 -1
- package/dist/{chunk-D76TBUQZ.cjs → chunk-CYEQK4PM.cjs} +6 -6
- package/dist/{chunk-D76TBUQZ.cjs.map → chunk-CYEQK4PM.cjs.map} +1 -1
- package/dist/{chunk-3VCLYHY6.cjs → chunk-EE6EPC42.cjs} +8 -8
- package/dist/{chunk-3VCLYHY6.cjs.map → chunk-EE6EPC42.cjs.map} +1 -1
- package/dist/{chunk-BSXBT7PY.cjs → chunk-G2BAY47G.cjs} +13 -13
- package/dist/{chunk-BSXBT7PY.cjs.map → chunk-G2BAY47G.cjs.map} +1 -1
- package/dist/{chunk-AXYN5P4Y.cjs → chunk-G35PTSFZ.cjs} +5 -5
- package/dist/chunk-G35PTSFZ.cjs.map +1 -0
- package/dist/{chunk-TGKFH6R3.cjs → chunk-GSLXYI4Q.cjs} +11 -11
- package/dist/{chunk-TGKFH6R3.cjs.map → chunk-GSLXYI4Q.cjs.map} +1 -1
- package/dist/{chunk-3I7XXWZN.js → chunk-GUQQTFZO.js} +8 -8
- package/dist/{chunk-3I7XXWZN.js.map → chunk-GUQQTFZO.js.map} +1 -1
- package/dist/{chunk-GJSPBKAD.js → chunk-HUHWHXSH.js} +4 -4
- package/dist/chunk-HUHWHXSH.js.map +1 -0
- package/dist/{chunk-U574Z73I.cjs → chunk-IAJHRFO4.cjs} +4 -4
- package/dist/{chunk-U574Z73I.cjs.map → chunk-IAJHRFO4.cjs.map} +1 -1
- package/dist/{chunk-INOOZ2A2.js → chunk-IE7R3IAU.js} +3 -3
- package/dist/{chunk-INOOZ2A2.js.map → chunk-IE7R3IAU.js.map} +1 -1
- package/dist/{chunk-IWU4YSYT.cjs → chunk-JH3TO6JM.cjs} +3 -3
- package/dist/{chunk-IWU4YSYT.cjs.map → chunk-JH3TO6JM.cjs.map} +1 -1
- package/dist/{chunk-UZCAGQCP.js → chunk-LEHKW363.js} +4 -4
- package/dist/{chunk-UZCAGQCP.js.map → chunk-LEHKW363.js.map} +1 -1
- package/dist/{chunk-RJOVFHWN.cjs → chunk-LXD5LKS6.cjs} +4 -4
- package/dist/{chunk-RJOVFHWN.cjs.map → chunk-LXD5LKS6.cjs.map} +1 -1
- package/dist/{chunk-YRRJWUCV.js → chunk-MVLZ4EYA.js} +3 -3
- package/dist/{chunk-YRRJWUCV.js.map → chunk-MVLZ4EYA.js.map} +1 -1
- package/dist/{chunk-YMHVUGTM.js → chunk-PJZXRIKE.js} +4 -4
- package/dist/{chunk-YMHVUGTM.js.map → chunk-PJZXRIKE.js.map} +1 -1
- package/dist/{chunk-DNQ3WTBD.js → chunk-RNJCGNUX.js} +5 -5
- package/dist/{chunk-DNQ3WTBD.js.map → chunk-RNJCGNUX.js.map} +1 -1
- package/dist/{chunk-TWTYYRSV.js → chunk-UQHD3NRV.js} +9 -9
- package/dist/{chunk-TWTYYRSV.js.map → chunk-UQHD3NRV.js.map} +1 -1
- package/dist/{chunk-DRQRLD5G.js → chunk-UWTYVVVZ.js} +3 -3
- package/dist/{chunk-DRQRLD5G.js.map → chunk-UWTYVVVZ.js.map} +1 -1
- package/dist/{chunk-RZ4GHIRV.cjs → chunk-WDZGXPAR.cjs} +48 -48
- package/dist/{chunk-RZ4GHIRV.cjs.map → chunk-WDZGXPAR.cjs.map} +1 -1
- package/dist/{chunk-PE5PJBH7.js → chunk-WIMFJ2BA.js} +4 -4
- package/dist/{chunk-PE5PJBH7.js.map → chunk-WIMFJ2BA.js.map} +1 -1
- package/dist/{chunk-XWGHD4C7.cjs → chunk-YUZLCBBX.cjs} +7 -7
- package/dist/{chunk-XWGHD4C7.cjs.map → chunk-YUZLCBBX.cjs.map} +1 -1
- package/dist/index.cjs +72 -72
- package/dist/index.js +12 -12
- package/dist/llm/index.cjs +10 -10
- package/dist/llm/index.js +3 -3
- 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/memory/index.cjs +4 -4
- package/dist/memory/index.js +1 -1
- package/dist/netlify-AHVE3F5T.cjs +12 -0
- package/dist/{netlify-BAEMIQNH.cjs.map → netlify-AHVE3F5T.cjs.map} +1 -1
- package/dist/netlify-S32LMBD7.js +3 -0
- package/dist/{netlify-L7AZ74PV.js.map → netlify-S32LMBD7.js.map} +1 -1
- package/dist/processors/index.cjs +11 -11
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-HGTMCQNH.js +3 -0
- package/dist/{provider-registry-THITZUJ7.js.map → provider-registry-HGTMCQNH.js.map} +1 -1
- package/dist/provider-registry-P6WHQ7KJ.cjs +40 -0
- package/dist/{provider-registry-RUDYHG7J.cjs.map → provider-registry-P6WHQ7KJ.cjs.map} +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +9 -9
- package/dist/scores/index.js +2 -2
- package/dist/scores/scoreTraces/index.cjs +8 -8
- package/dist/scores/scoreTraces/index.js +3 -3
- package/dist/storage/index.cjs +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/utils.cjs +17 -17
- package/dist/utils.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +14 -14
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-AXYN5P4Y.cjs.map +0 -1
- package/dist/chunk-GJSPBKAD.js.map +0 -1
- package/dist/netlify-BAEMIQNH.cjs +0 -12
- package/dist/netlify-L7AZ74PV.js +0 -3
- package/dist/provider-registry-RUDYHG7J.cjs +0 -40
- package/dist/provider-registry-THITZUJ7.js +0 -3
package/dist/llm/index.cjs
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkYUZLCBBX_cjs = require('../chunk-YUZLCBBX.cjs');
|
|
4
|
+
var chunkLXD5LKS6_cjs = require('../chunk-LXD5LKS6.cjs');
|
|
5
5
|
var chunkZOYE65RA_cjs = require('../chunk-ZOYE65RA.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkJH3TO6JM_cjs = require('../chunk-JH3TO6JM.cjs');
|
|
7
7
|
var chunkUCPGYU55_cjs = require('../chunk-UCPGYU55.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "ModelRouterEmbeddingModel", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYUZLCBBX_cjs.ModelRouterEmbeddingModel; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ModelRouterLanguageModel", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYUZLCBBX_cjs.ModelRouterLanguageModel; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "resolveModelConfig", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYUZLCBBX_cjs.resolveModelConfig; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkLXD5LKS6_cjs.PROVIDER_REGISTRY; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getProviderConfig", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkLXD5LKS6_cjs.getProviderConfig; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "parseModelString", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkLXD5LKS6_cjs.parseModelString; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "ModelsDevGateway", {
|
|
36
36
|
enumerable: true,
|
|
@@ -38,7 +38,7 @@ Object.defineProperty(exports, "ModelsDevGateway", {
|
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "NetlifyGateway", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkJH3TO6JM_cjs.NetlifyGateway; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "MastraModelGateway", {
|
|
44
44
|
enumerable: true,
|
package/dist/llm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ModelRouterEmbeddingModel, ModelRouterLanguageModel, resolveModelConfig } from '../chunk-
|
|
2
|
-
export { PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-
|
|
1
|
+
export { ModelRouterEmbeddingModel, ModelRouterLanguageModel, resolveModelConfig } from '../chunk-3E2CRAEN.js';
|
|
2
|
+
export { PROVIDER_REGISTRY, getProviderConfig, parseModelString } from '../chunk-IE7R3IAU.js';
|
|
3
3
|
export { ModelsDevGateway } from '../chunk-R6XC4DV5.js';
|
|
4
|
-
export { NetlifyGateway } from '../chunk-
|
|
4
|
+
export { NetlifyGateway } from '../chunk-43KM3O3Y.js';
|
|
5
5
|
export { MastraModelGateway } from '../chunk-BJ6XIEC6.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
package/dist/loop/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWDZGXPAR_cjs = require('../chunk-WDZGXPAR.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 chunkWDZGXPAR_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 chunk5WKBINKH_cjs = require('../chunk-5WKBINKH.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 chunk5WKBINKH_cjs.Mastra; }
|
|
10
10
|
});
|
|
11
11
|
//# sourceMappingURL=index.cjs.map
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/mastra/index.js
CHANGED
package/dist/memory/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEE6EPC42_cjs = require('../chunk-EE6EPC42.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 chunkEE6EPC42_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEE6EPC42_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEE6EPC42_cjs.memoryDefaultOptions; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/memory/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkJH3TO6JM_cjs = require('./chunk-JH3TO6JM.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "NetlifyGateway", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkJH3TO6JM_cjs.NetlifyGateway; }
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=netlify-AHVE3F5T.cjs.map
|
|
12
|
+
//# sourceMappingURL=netlify-AHVE3F5T.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-AHVE3F5T.cjs"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"netlify-S32LMBD7.js"}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWDZGXPAR_cjs = require('../chunk-WDZGXPAR.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 chunkWDZGXPAR_cjs.BatchPartsProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkWDZGXPAR_cjs.LanguageDetector; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkWDZGXPAR_cjs.ModerationProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PIIDetector", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkWDZGXPAR_cjs.PIIDetector; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ProcessorState", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkWDZGXPAR_cjs.ProcessorState; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkWDZGXPAR_cjs.PromptInjectionDetector; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkWDZGXPAR_cjs.StructuredOutputProcessor; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkWDZGXPAR_cjs.SystemPromptScrubber; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkWDZGXPAR_cjs.TokenLimiterProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkWDZGXPAR_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-UQHD3NRV.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { GatewayRegistry, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString } from './chunk-IE7R3IAU.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-HGTMCQNH.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-HGTMCQNH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-HGTMCQNH.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkLXD5LKS6_cjs = require('./chunk-LXD5LKS6.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkLXD5LKS6_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkLXD5LKS6_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkLXD5LKS6_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkLXD5LKS6_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkLXD5LKS6_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkLXD5LKS6_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkLXD5LKS6_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkLXD5LKS6_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-P6WHQ7KJ.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-P6WHQ7KJ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-P6WHQ7KJ.cjs"}
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7JI4E5ZT_cjs = require('../chunk-7JI4E5ZT.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 chunk7JI4E5ZT_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7JI4E5ZT_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk7JI4E5ZT_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-MVLZ4EYA.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/dist/scores/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkGSLXYI4Q_cjs = require('../chunk-GSLXYI4Q.cjs');
|
|
4
|
+
var chunk46XGIEXM_cjs = require('../chunk-46XGIEXM.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 chunkGSLXYI4Q_cjs.MastraScorer; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createScorer", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkGSLXYI4Q_cjs.createScorer; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "runExperiment", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkGSLXYI4Q_cjs.runExperiment; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "saveScorePayloadSchema", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk46XGIEXM_cjs.saveScorePayloadSchema; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "scoreResultSchema", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk46XGIEXM_cjs.scoreResultSchema; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "scoringExtractStepResultSchema", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk46XGIEXM_cjs.scoringExtractStepResultSchema; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "scoringValueSchema", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk46XGIEXM_cjs.scoringValueSchema; }
|
|
35
35
|
});
|
|
36
36
|
//# sourceMappingURL=index.cjs.map
|
|
37
37
|
//# sourceMappingURL=index.cjs.map
|
package/dist/scores/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { MastraScorer, createScorer, runExperiment } from '../chunk-
|
|
2
|
-
export { saveScorePayloadSchema, scoreResultSchema, scoringExtractStepResultSchema, scoringValueSchema } from '../chunk-
|
|
1
|
+
export { MastraScorer, createScorer, runExperiment } from '../chunk-PJZXRIKE.js';
|
|
2
|
+
export { saveScorePayloadSchema, scoreResultSchema, scoringExtractStepResultSchema, scoringValueSchema } from '../chunk-UWTYVVVZ.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkG2BAY47G_cjs = require('../../chunk-G2BAY47G.cjs');
|
|
4
|
+
var chunk46XGIEXM_cjs = require('../../chunk-46XGIEXM.cjs');
|
|
5
|
+
var chunkG35PTSFZ_cjs = require('../../chunk-G35PTSFZ.cjs');
|
|
6
6
|
var chunk5NTO7S5I_cjs = require('../../chunk-5NTO7S5I.cjs');
|
|
7
7
|
var pMap = require('p-map');
|
|
8
8
|
var z = require('zod');
|
|
@@ -76,7 +76,7 @@ function normalizeMessageContent(content) {
|
|
|
76
76
|
role: "user",
|
|
77
77
|
parts: content.map((part) => ({ type: part.type, text: part.text }))
|
|
78
78
|
};
|
|
79
|
-
const converted =
|
|
79
|
+
const converted = chunkG35PTSFZ_cjs.convertMessages(tempMessage).to("AIV4.UI");
|
|
80
80
|
return converted[0]?.content || "";
|
|
81
81
|
}
|
|
82
82
|
function convertToUIMessage(message, createdAt) {
|
|
@@ -94,7 +94,7 @@ function convertToUIMessage(message, createdAt) {
|
|
|
94
94
|
parts: message.content.map((part) => ({ type: part.type, text: part.text }))
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
const converted =
|
|
97
|
+
const converted = chunkG35PTSFZ_cjs.convertMessages(messageInput).to("AIV4.UI");
|
|
98
98
|
const result = converted[0];
|
|
99
99
|
if (!result) {
|
|
100
100
|
throw new Error("Failed to convert message");
|
|
@@ -234,7 +234,7 @@ function transformTraceToScorerInputAndOutput(trace) {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
// src/scores/scoreTraces/scoreTracesWorkflow.ts
|
|
237
|
-
var getTraceStep =
|
|
237
|
+
var getTraceStep = chunkG2BAY47G_cjs.createStep({
|
|
238
238
|
id: "__process-trace-scoring",
|
|
239
239
|
inputSchema: z__default.default.object({
|
|
240
240
|
targets: z__default.default.array(
|
|
@@ -362,7 +362,7 @@ async function runScorerOnTarget({
|
|
|
362
362
|
await attachScoreToSpan({ storage, span, scoreRecord: savedScoreRecord });
|
|
363
363
|
}
|
|
364
364
|
async function validateAndSaveScore({ storage, scorerResult }) {
|
|
365
|
-
const payloadToSave =
|
|
365
|
+
const payloadToSave = chunk46XGIEXM_cjs.saveScorePayloadSchema.parse(scorerResult);
|
|
366
366
|
const result = await storage.saveScore(payloadToSave);
|
|
367
367
|
return result.score;
|
|
368
368
|
}
|
|
@@ -404,7 +404,7 @@ async function attachScoreToSpan({
|
|
|
404
404
|
updates: { links: [...existingLinks, link] }
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
-
var scoreTracesWorkflow =
|
|
407
|
+
var scoreTracesWorkflow = chunkG2BAY47G_cjs.createWorkflow({
|
|
408
408
|
id: "__batch-scoring-traces",
|
|
409
409
|
inputSchema: z__default.default.object({
|
|
410
410
|
targets: z__default.default.array(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createStep, createWorkflow } from '../../chunk-
|
|
2
|
-
import { saveScorePayloadSchema } from '../../chunk-
|
|
3
|
-
import { convertMessages } from '../../chunk-
|
|
1
|
+
import { createStep, createWorkflow } from '../../chunk-LEHKW363.js';
|
|
2
|
+
import { saveScorePayloadSchema } from '../../chunk-UWTYVVVZ.js';
|
|
3
|
+
import { convertMessages } from '../../chunk-HUHWHXSH.js';
|
|
4
4
|
import { MastraError } from '../../chunk-PZUZNPFM.js';
|
|
5
5
|
import pMap from 'p-map';
|
|
6
6
|
import z from 'zod';
|
package/dist/storage/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkTX4TTPYJ_cjs = require('../chunk-TX4TTPYJ.cjs');
|
|
4
4
|
var chunk4R2TBRS7_cjs = require('../chunk-4R2TBRS7.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkG35PTSFZ_cjs = require('../chunk-G35PTSFZ.cjs');
|
|
6
6
|
var chunk5NTO7S5I_cjs = require('../chunk-5NTO7S5I.cjs');
|
|
7
7
|
var chunk6VOPKVYH_cjs = require('../chunk-6VOPKVYH.cjs');
|
|
8
8
|
|
|
@@ -311,7 +311,7 @@ var InMemoryMemory = class extends MemoryStorage {
|
|
|
311
311
|
}) {
|
|
312
312
|
this.logger.debug(`MockStore: getMessagesById called`);
|
|
313
313
|
const rawMessages = messageIds.map((id) => this.collection.messages.get(id)).filter((message) => !!message);
|
|
314
|
-
const list = new
|
|
314
|
+
const list = new chunkG35PTSFZ_cjs.MessageList().add(rawMessages.map(this.parseStoredMessage), "memory");
|
|
315
315
|
if (format === "v1") return list.get.all.v1();
|
|
316
316
|
return list.get.all.v2();
|
|
317
317
|
}
|
|
@@ -341,7 +341,7 @@ var InMemoryMemory = class extends MemoryStorage {
|
|
|
341
341
|
};
|
|
342
342
|
this.collection.messages.set(key, storageMessage);
|
|
343
343
|
}
|
|
344
|
-
const list = new
|
|
344
|
+
const list = new chunkG35PTSFZ_cjs.MessageList().add(messages, "memory");
|
|
345
345
|
if (format === `v2`) return list.get.all.v2();
|
|
346
346
|
return list.get.all.v1();
|
|
347
347
|
}
|
package/dist/storage/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { MastraStorage } from '../chunk-JVV5LREI.js';
|
|
|
2
2
|
export { MastraStorage, ensureDate, resolveMessageLimit, serializeDate } from '../chunk-JVV5LREI.js';
|
|
3
3
|
import { TABLE_WORKFLOW_SNAPSHOT, TABLE_EVALS, TABLE_TRACES } from '../chunk-SJMKDSRF.js';
|
|
4
4
|
export { AI_SPAN_SCHEMA, SCORERS_SCHEMA, TABLE_AI_SPANS, TABLE_EVALS, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-SJMKDSRF.js';
|
|
5
|
-
import { MessageList } from '../chunk-
|
|
5
|
+
import { MessageList } from '../chunk-HUHWHXSH.js';
|
|
6
6
|
import { MastraError } from '../chunk-PZUZNPFM.js';
|
|
7
7
|
import { MastraBase } from '../chunk-VQASQG5D.js';
|
|
8
8
|
|
package/dist/stream/index.cjs
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkWDZGXPAR_cjs = require('../chunk-WDZGXPAR.cjs');
|
|
4
|
+
var chunkG35PTSFZ_cjs = require('../chunk-G35PTSFZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AISDKV5OutputStream", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkWDZGXPAR_cjs.AISDKV5OutputStream; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkWDZGXPAR_cjs.ChunkFrom; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkWDZGXPAR_cjs.MastraAgentNetworkStream; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkWDZGXPAR_cjs.MastraModelOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkWDZGXPAR_cjs.WorkflowRunOutput; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkWDZGXPAR_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkWDZGXPAR_cjs.convertMastraChunkToAISDKv5; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkG35PTSFZ_cjs.DefaultGeneratedFile; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "DefaultGeneratedFileWithType", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkG35PTSFZ_cjs.DefaultGeneratedFileWithType; }
|
|
43
43
|
});
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
45
45
|
//# sourceMappingURL=index.cjs.map
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-
|
|
2
|
-
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-
|
|
1
|
+
export { AISDKV5OutputStream, ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-UQHD3NRV.js';
|
|
2
|
+
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-HUHWHXSH.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 chunkCYEQK4PM_cjs = require('../chunk-CYEQK4PM.cjs');
|
|
4
4
|
var ai = require('ai');
|
|
5
5
|
var test = require('ai/test');
|
|
6
6
|
var test$1 = require('ai-v5/test');
|
|
@@ -96,7 +96,7 @@ function createMockModel({
|
|
|
96
96
|
});
|
|
97
97
|
return mockModel;
|
|
98
98
|
}
|
|
99
|
-
var MockProvider = class extends
|
|
99
|
+
var MockProvider = class extends chunkCYEQK4PM_cjs.MastraLLMV1 {
|
|
100
100
|
constructor({
|
|
101
101
|
spyGenerate,
|
|
102
102
|
spyStream,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MastraLLMV1 } from '../chunk-
|
|
1
|
+
import { MastraLLMV1 } from '../chunk-6D2K2CAA.js';
|
|
2
2
|
import { simulateReadableStream } from 'ai';
|
|
3
3
|
import { MockLanguageModelV1 } from 'ai/test';
|
|
4
4
|
import { MockLanguageModelV2, convertArrayToReadableStream } from 'ai-v5/test';
|