@mastra/core 1.0.0-beta.16 → 1.0.0-beta.18
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 +23 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-UT6MASE5.cjs → chunk-2OOMJRXZ.cjs} +3 -3
- package/dist/{chunk-UT6MASE5.cjs.map → chunk-2OOMJRXZ.cjs.map} +1 -1
- package/dist/{chunk-F7PAZAGE.js → chunk-2XX35XRX.js} +8 -9
- package/dist/chunk-2XX35XRX.js.map +1 -0
- package/dist/{chunk-QD776HMB.js → chunk-5YYAQUEF.js} +3 -3
- package/dist/{chunk-QD776HMB.js.map → chunk-5YYAQUEF.js.map} +1 -1
- package/dist/{chunk-UTMBASR5.js → chunk-6R4744NH.js} +4 -4
- package/dist/{chunk-UTMBASR5.js.map → chunk-6R4744NH.js.map} +1 -1
- package/dist/{chunk-CSCTVLD5.js → chunk-6RFJWX4V.js} +3 -3
- package/dist/{chunk-CSCTVLD5.js.map → chunk-6RFJWX4V.js.map} +1 -1
- package/dist/{chunk-KKYAYRIO.js → chunk-ABMWK6JU.js} +4 -4
- package/dist/{chunk-KKYAYRIO.js.map → chunk-ABMWK6JU.js.map} +1 -1
- package/dist/{chunk-37YWZMBX.js → chunk-AIJLACR2.js} +9 -5
- package/dist/chunk-AIJLACR2.js.map +1 -0
- package/dist/{chunk-WDXYPI3P.js → chunk-AR5CF3IN.js} +3 -3
- package/dist/{chunk-WDXYPI3P.js.map → chunk-AR5CF3IN.js.map} +1 -1
- package/dist/{chunk-4UH5LAF5.cjs → chunk-BWZ6UOBF.cjs} +15 -15
- package/dist/{chunk-4UH5LAF5.cjs.map → chunk-BWZ6UOBF.cjs.map} +1 -1
- package/dist/{chunk-DT5RMENY.js → chunk-CHVWQDMP.js} +39 -5
- package/dist/chunk-CHVWQDMP.js.map +1 -0
- package/dist/{chunk-OXV6QFSV.cjs → chunk-G6YCU7HJ.cjs} +8 -8
- package/dist/{chunk-OXV6QFSV.cjs.map → chunk-G6YCU7HJ.cjs.map} +1 -1
- package/dist/{chunk-5DL6Y7PJ.cjs → chunk-GFALVOBW.cjs} +35 -36
- package/dist/chunk-GFALVOBW.cjs.map +1 -0
- package/dist/{chunk-NNFF3URD.js → chunk-IHPCE24V.js} +8 -8
- package/dist/{chunk-NNFF3URD.js.map → chunk-IHPCE24V.js.map} +1 -1
- package/dist/{chunk-33VDGXRH.cjs → chunk-IY5QWADY.cjs} +16 -16
- package/dist/{chunk-33VDGXRH.cjs.map → chunk-IY5QWADY.cjs.map} +1 -1
- package/dist/{chunk-FB5QMTJJ.js → chunk-JBEKXEX6.js} +4 -4
- package/dist/{chunk-FB5QMTJJ.js.map → chunk-JBEKXEX6.js.map} +1 -1
- package/dist/{chunk-4KVIXN7K.cjs → chunk-NGRUGDFP.cjs} +14 -14
- package/dist/{chunk-4KVIXN7K.cjs.map → chunk-NGRUGDFP.cjs.map} +1 -1
- package/dist/{chunk-6YUHA5UH.cjs → chunk-O4YSWWLB.cjs} +5 -5
- package/dist/{chunk-6YUHA5UH.cjs.map → chunk-O4YSWWLB.cjs.map} +1 -1
- package/dist/{chunk-A6JNGJIU.cjs → chunk-P3XQ3TNY.cjs} +30 -30
- package/dist/{chunk-A6JNGJIU.cjs.map → chunk-P3XQ3TNY.cjs.map} +1 -1
- package/dist/{chunk-4N6WB4EZ.js → chunk-POSO2X6D.js} +6 -6
- package/dist/{chunk-4N6WB4EZ.js.map → chunk-POSO2X6D.js.map} +1 -1
- package/dist/{chunk-GNUITL2N.js → chunk-RC7RN5MY.js} +3 -3
- package/dist/{chunk-GNUITL2N.js.map → chunk-RC7RN5MY.js.map} +1 -1
- package/dist/{chunk-AQ22JIR7.cjs → chunk-SDR22R4D.cjs} +16 -16
- package/dist/{chunk-AQ22JIR7.cjs.map → chunk-SDR22R4D.cjs.map} +1 -1
- package/dist/{chunk-7KL2YFFK.cjs → chunk-SGRMJZMJ.cjs} +15 -15
- package/dist/{chunk-7KL2YFFK.cjs.map → chunk-SGRMJZMJ.cjs.map} +1 -1
- package/dist/{chunk-K4XAKG7L.js → chunk-TI6D7CAN.js} +4 -4
- package/dist/{chunk-K4XAKG7L.js.map → chunk-TI6D7CAN.js.map} +1 -1
- package/dist/{chunk-H2NHG7QL.cjs → chunk-VW7YQWDW.cjs} +9 -5
- package/dist/chunk-VW7YQWDW.cjs.map +1 -0
- package/dist/{chunk-NCAMNQC3.cjs → chunk-XIYLL4DN.cjs} +40 -6
- package/dist/chunk-XIYLL4DN.cjs.map +1 -0
- package/dist/{chunk-NK4UN2LF.cjs → chunk-XR7RX2PS.cjs} +5 -5
- package/dist/{chunk-NK4UN2LF.cjs.map → chunk-XR7RX2PS.cjs.map} +1 -1
- package/dist/{chunk-J4SXS7KN.js → chunk-Y52PV3W4.js} +4 -4
- package/dist/{chunk-J4SXS7KN.js.map → chunk-Y52PV3W4.js.map} +1 -1
- package/dist/{chunk-3ZRMVPQA.cjs → chunk-ZSQ7L6AW.cjs} +7 -7
- package/dist/{chunk-3ZRMVPQA.cjs.map → chunk-ZSQ7L6AW.cjs.map} +1 -1
- package/dist/evals/index.cjs +19 -19
- package/dist/evals/index.js +2 -2
- package/dist/evals/scoreTraces/index.cjs +5 -5
- package/dist/evals/scoreTraces/index.js +2 -2
- 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 +11 -11
- package/dist/llm/index.js +3 -3
- package/dist/llm/model/provider-types.generated.d.ts +14 -1
- 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 +11 -11
- package/dist/memory/index.js +1 -1
- package/dist/netlify-CUYK2MZ2.cjs +12 -0
- package/dist/{netlify-5Y33S7WL.cjs.map → netlify-CUYK2MZ2.cjs.map} +1 -1
- package/dist/netlify-J4QPOROO.js +3 -0
- package/dist/{netlify-3MHHJG2E.js.map → netlify-J4QPOROO.js.map} +1 -1
- package/dist/processors/index.cjs +37 -37
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-IGILEKIM.js +3 -0
- package/dist/{provider-registry-LXSWMVEC.js.map → provider-registry-IGILEKIM.js.map} +1 -1
- package/dist/provider-registry-XNQEGR56.cjs +40 -0
- package/dist/{provider-registry-YJ2P5YY5.cjs.map → provider-registry-XNQEGR56.cjs.map} +1 -1
- package/dist/provider-registry.json +36 -2
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +14 -14
- package/dist/storage/constants.js +1 -1
- package/dist/storage/index.cjs +92 -92
- package/dist/storage/index.js +2 -2
- package/dist/stream/index.cjs +9 -9
- 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 +4 -4
- 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/utils/zod-utils.d.ts +7 -1
- package/dist/utils/zod-utils.d.ts.map +1 -1
- package/dist/utils.cjs +27 -27
- package/dist/utils.js +2 -2
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +23 -23
- package/dist/workflows/index.js +1 -1
- package/package.json +5 -5
- package/src/llm/model/provider-types.generated.d.ts +14 -1
- package/dist/chunk-37YWZMBX.js.map +0 -1
- package/dist/chunk-5DL6Y7PJ.cjs.map +0 -1
- package/dist/chunk-DT5RMENY.js.map +0 -1
- package/dist/chunk-F7PAZAGE.js.map +0 -1
- package/dist/chunk-H2NHG7QL.cjs.map +0 -1
- package/dist/chunk-NCAMNQC3.cjs.map +0 -1
- package/dist/netlify-3MHHJG2E.js +0 -3
- package/dist/netlify-5Y33S7WL.cjs +0 -12
- package/dist/provider-registry-LXSWMVEC.js +0 -3
- package/dist/provider-registry-YJ2P5YY5.cjs +0 -40
|
@@ -1,152 +1,152 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGFALVOBW_cjs = require('../chunk-GFALVOBW.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 chunkGFALVOBW_cjs.BatchPartsProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkGFALVOBW_cjs.FilePartSchema; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkGFALVOBW_cjs.ImagePartSchema; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkGFALVOBW_cjs.LanguageDetector; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkGFALVOBW_cjs.MessageContentSchema; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MessageHistory", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkGFALVOBW_cjs.MessageHistory; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkGFALVOBW_cjs.MessagePartSchema; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkGFALVOBW_cjs.ModerationProcessor; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "PIIDetector", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkGFALVOBW_cjs.PIIDetector; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorInputPhaseSchema; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorInputStepPhaseSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorMessageContentSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorMessageSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorOutputResultPhaseSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorOutputStepPhaseSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorRunner; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorState", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorState; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorStepInputSchema; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorStepOutputSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkGFALVOBW_cjs.ProcessorStepSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkGFALVOBW_cjs.PromptInjectionDetector; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkGFALVOBW_cjs.ReasoningPartSchema; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkGFALVOBW_cjs.SemanticRecall; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkGFALVOBW_cjs.SourcePartSchema; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkGFALVOBW_cjs.StepStartPartSchema; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkGFALVOBW_cjs.StructuredOutputProcessor; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkGFALVOBW_cjs.SystemPromptScrubber; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkGFALVOBW_cjs.TextPartSchema; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkGFALVOBW_cjs.TokenLimiterProcessor; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkGFALVOBW_cjs.TokenLimiterProcessor; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkGFALVOBW_cjs.ToolCallFilter; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkGFALVOBW_cjs.ToolInvocationPartSchema; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkGFALVOBW_cjs.UnicodeNormalizer; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkGFALVOBW_cjs.WorkingMemory; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkGFALVOBW_cjs.isProcessorWorkflow; }
|
|
150
150
|
});
|
|
151
151
|
//# sourceMappingURL=index.cjs.map
|
|
152
152
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, UnicodeNormalizer, WorkingMemory, isProcessorWorkflow } from '../chunk-
|
|
1
|
+
export { BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, UnicodeNormalizer, WorkingMemory, isProcessorWorkflow } from '../chunk-2XX35XRX.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-CHVWQDMP.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-IGILEKIM.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-IGILEKIM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-IGILEKIM.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXIYLL4DN_cjs = require('./chunk-XIYLL4DN.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkXIYLL4DN_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkXIYLL4DN_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkXIYLL4DN_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkXIYLL4DN_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkXIYLL4DN_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkXIYLL4DN_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkXIYLL4DN_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkXIYLL4DN_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-XNQEGR56.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-XNQEGR56.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-XNQEGR56.cjs"}
|
|
@@ -1058,8 +1058,8 @@
|
|
|
1058
1058
|
"apiKeyHeader": "Authorization",
|
|
1059
1059
|
"name": "OpenCode Zen",
|
|
1060
1060
|
"models": [
|
|
1061
|
-
"alpha-doubao-seed-code",
|
|
1062
1061
|
"alpha-gd4",
|
|
1062
|
+
"alpha-glm-4.7",
|
|
1063
1063
|
"big-pickle",
|
|
1064
1064
|
"claude-3-5-haiku",
|
|
1065
1065
|
"claude-haiku-4-5",
|
|
@@ -1737,6 +1737,27 @@
|
|
|
1737
1737
|
"docUrl": "https://lmstudio.ai/models",
|
|
1738
1738
|
"gateway": "models.dev"
|
|
1739
1739
|
},
|
|
1740
|
+
"friendli": {
|
|
1741
|
+
"url": "https://api.friendli.ai/serverless/v1",
|
|
1742
|
+
"apiKeyEnvVar": "FRIENDLI_TOKEN",
|
|
1743
|
+
"apiKeyHeader": "Authorization",
|
|
1744
|
+
"name": "Friendli",
|
|
1745
|
+
"models": [
|
|
1746
|
+
"LGAI-EXAONE-EXAONE-4.0.1-32B",
|
|
1747
|
+
"Qwen-Qwen3-235B-A22B-Instruct-2507",
|
|
1748
|
+
"Qwen-Qwen3-235B-A22B-Thinking-2507",
|
|
1749
|
+
"Qwen-Qwen3-30B-A3B",
|
|
1750
|
+
"Qwen-Qwen3-32B",
|
|
1751
|
+
"deepseek-ai-DeepSeek-R1-0528",
|
|
1752
|
+
"meta-llama-3.1-8b-instruct",
|
|
1753
|
+
"meta-llama-3.3-70b-instruct",
|
|
1754
|
+
"meta-llama-Llama-4-Maverick-17B-128E-Instruct",
|
|
1755
|
+
"meta-llama-Llama-4-Scout-17B-16E-Instruct",
|
|
1756
|
+
"zai-org-GLM-4.6"
|
|
1757
|
+
],
|
|
1758
|
+
"docUrl": "https://friendli.ai/docs/guides/serverless_endpoints/introduction",
|
|
1759
|
+
"gateway": "models.dev"
|
|
1760
|
+
},
|
|
1740
1761
|
"anthropic": {
|
|
1741
1762
|
"apiKeyEnvVar": "ANTHROPIC_API_KEY",
|
|
1742
1763
|
"name": "Anthropic",
|
|
@@ -2890,8 +2911,8 @@
|
|
|
2890
2911
|
"zai-org/GLM-4.6"
|
|
2891
2912
|
],
|
|
2892
2913
|
"opencode": [
|
|
2893
|
-
"alpha-doubao-seed-code",
|
|
2894
2914
|
"alpha-gd4",
|
|
2915
|
+
"alpha-glm-4.7",
|
|
2895
2916
|
"big-pickle",
|
|
2896
2917
|
"claude-3-5-haiku",
|
|
2897
2918
|
"claude-haiku-4-5",
|
|
@@ -3389,6 +3410,19 @@
|
|
|
3389
3410
|
],
|
|
3390
3411
|
"morph": ["auto", "morph-v3-fast", "morph-v3-large"],
|
|
3391
3412
|
"lmstudio": ["openai/gpt-oss-20b", "qwen/qwen3-30b-a3b-2507", "qwen/qwen3-coder-30b"],
|
|
3413
|
+
"friendli": [
|
|
3414
|
+
"LGAI-EXAONE-EXAONE-4.0.1-32B",
|
|
3415
|
+
"Qwen-Qwen3-235B-A22B-Instruct-2507",
|
|
3416
|
+
"Qwen-Qwen3-235B-A22B-Thinking-2507",
|
|
3417
|
+
"Qwen-Qwen3-30B-A3B",
|
|
3418
|
+
"Qwen-Qwen3-32B",
|
|
3419
|
+
"deepseek-ai-DeepSeek-R1-0528",
|
|
3420
|
+
"meta-llama-3.1-8b-instruct",
|
|
3421
|
+
"meta-llama-3.3-70b-instruct",
|
|
3422
|
+
"meta-llama-Llama-4-Maverick-17B-128E-Instruct",
|
|
3423
|
+
"meta-llama-Llama-4-Scout-17B-16E-Instruct",
|
|
3424
|
+
"zai-org-GLM-4.6"
|
|
3425
|
+
],
|
|
3392
3426
|
"anthropic": [
|
|
3393
3427
|
"claude-3-5-haiku-20241022",
|
|
3394
3428
|
"claude-3-5-haiku-latest",
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGFALVOBW_cjs = require('../chunk-GFALVOBW.cjs');
|
|
4
4
|
|
|
5
5
|
// src/relevance/relevance-score-provider.ts
|
|
6
6
|
function createSimilarityPrompt(query, text) {
|
|
@@ -17,7 +17,7 @@ Relevance score (0-1):`;
|
|
|
17
17
|
var MastraAgentRelevanceScorer = class {
|
|
18
18
|
agent;
|
|
19
19
|
constructor(name, model) {
|
|
20
|
-
this.agent = new
|
|
20
|
+
this.agent = new chunkGFALVOBW_cjs.Agent({
|
|
21
21
|
id: `relevance-scorer-${name}`,
|
|
22
22
|
name: `Relevance Scorer ${name}`,
|
|
23
23
|
instructions: `You are a specialized agent for evaluating the relevance of text to queries.
|
|
@@ -37,7 +37,7 @@ Always return just the number, no explanation.`,
|
|
|
37
37
|
const prompt = createSimilarityPrompt(query, text);
|
|
38
38
|
const model = await this.agent.getModel();
|
|
39
39
|
let response;
|
|
40
|
-
if (
|
|
40
|
+
if (chunkGFALVOBW_cjs.isSupportedLanguageModel(model)) {
|
|
41
41
|
const responseText = await this.agent.generate(prompt);
|
|
42
42
|
response = responseText.text;
|
|
43
43
|
} else {
|
package/dist/relevance/index.js
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXR7RX2PS_cjs = require('../chunk-XR7RX2PS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AGENTS_SCHEMA", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkXR7RX2PS_cjs.AGENTS_SCHEMA; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "OLD_SPAN_SCHEMA", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkXR7RX2PS_cjs.OLD_SPAN_SCHEMA; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "SCORERS_SCHEMA", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkXR7RX2PS_cjs.SCORERS_SCHEMA; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "SPAN_SCHEMA", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkXR7RX2PS_cjs.SPAN_SCHEMA; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "TABLE_AGENTS", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_AGENTS; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "TABLE_MESSAGES", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_MESSAGES; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "TABLE_RESOURCES", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_RESOURCES; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "TABLE_SCHEMAS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_SCHEMAS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "TABLE_SCORERS", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_SCORERS; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "TABLE_SPANS", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_SPANS; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "TABLE_THREADS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_THREADS; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "TABLE_TRACES", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_TRACES; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "TABLE_WORKFLOW_SNAPSHOT", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkXR7RX2PS_cjs.TABLE_WORKFLOW_SNAPSHOT; }
|
|
58
58
|
});
|
|
59
59
|
//# sourceMappingURL=constants.cjs.map
|
|
60
60
|
//# sourceMappingURL=constants.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AGENTS_SCHEMA, OLD_SPAN_SCHEMA, SCORERS_SCHEMA, SPAN_SCHEMA, TABLE_AGENTS, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_SPANS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-
|
|
1
|
+
export { AGENTS_SCHEMA, OLD_SPAN_SCHEMA, SCORERS_SCHEMA, SPAN_SCHEMA, TABLE_AGENTS, TABLE_MESSAGES, TABLE_RESOURCES, TABLE_SCHEMAS, TABLE_SCORERS, TABLE_SPANS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-6RFJWX4V.js';
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
|
3
3
|
//# sourceMappingURL=constants.js.map
|