@mastra/core 1.24.0-alpha.1 → 1.24.1-alpha.0
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 +81 -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-BFOZOAU2.cjs → chunk-4636ENMP.cjs} +56 -108
- package/dist/chunk-4636ENMP.cjs.map +1 -0
- package/dist/{chunk-MK5IF24D.js → chunk-5CPRW7GV.js} +3 -3
- package/dist/{chunk-MK5IF24D.js.map → chunk-5CPRW7GV.js.map} +1 -1
- package/dist/{chunk-EJ62D3QH.js → chunk-6TQZIQ23.js} +6 -6
- package/dist/{chunk-EJ62D3QH.js.map → chunk-6TQZIQ23.js.map} +1 -1
- package/dist/{chunk-L73KZFX6.cjs → chunk-AX3PKXOT.cjs} +6 -6
- package/dist/{chunk-L73KZFX6.cjs.map → chunk-AX3PKXOT.cjs.map} +1 -1
- package/dist/{chunk-365PDOQ4.cjs → chunk-CNCOPROQ.cjs} +9 -9
- package/dist/{chunk-365PDOQ4.cjs.map → chunk-CNCOPROQ.cjs.map} +1 -1
- package/dist/{chunk-CY4AMNDV.cjs → chunk-H2SFI3RZ.cjs} +7 -7
- package/dist/{chunk-CY4AMNDV.cjs.map → chunk-H2SFI3RZ.cjs.map} +1 -1
- package/dist/{chunk-D64ZY3NT.cjs → chunk-HAF2U4ON.cjs} +17 -17
- package/dist/{chunk-D64ZY3NT.cjs.map → chunk-HAF2U4ON.cjs.map} +1 -1
- package/dist/{chunk-GAW7WFCY.js → chunk-IWMYLZQ6.js} +3 -3
- package/dist/{chunk-GAW7WFCY.js.map → chunk-IWMYLZQ6.js.map} +1 -1
- package/dist/{chunk-PCHML5XO.js → chunk-JG7M2F2C.js} +4 -4
- package/dist/{chunk-PCHML5XO.js.map → chunk-JG7M2F2C.js.map} +1 -1
- package/dist/{chunk-JBFAGOAG.js → chunk-JRTGAEET.js} +9 -9
- package/dist/{chunk-JBFAGOAG.js.map → chunk-JRTGAEET.js.map} +1 -1
- package/dist/{chunk-SYH64AGV.cjs → chunk-K2NJIVZ5.cjs} +14 -14
- package/dist/{chunk-SYH64AGV.cjs.map → chunk-K2NJIVZ5.cjs.map} +1 -1
- package/dist/{chunk-IKUMKFM4.js → chunk-KQABOPAK.js} +4 -4
- package/dist/{chunk-IKUMKFM4.js.map → chunk-KQABOPAK.js.map} +1 -1
- package/dist/{chunk-3RI7ILBW.js → chunk-MYYPIBLR.js} +3 -3
- package/dist/{chunk-3RI7ILBW.js.map → chunk-MYYPIBLR.js.map} +1 -1
- package/dist/{chunk-SUEVJYTA.cjs → chunk-NC3NDZWM.cjs} +185 -185
- package/dist/{chunk-SUEVJYTA.cjs.map → chunk-NC3NDZWM.cjs.map} +1 -1
- package/dist/{chunk-EAQQP6OK.cjs → chunk-NWGH6OSA.cjs} +48 -48
- package/dist/{chunk-EAQQP6OK.cjs.map → chunk-NWGH6OSA.cjs.map} +1 -1
- package/dist/{chunk-V657RNGK.js → chunk-Q55SOMNM.js} +44 -96
- package/dist/chunk-Q55SOMNM.js.map +1 -0
- package/dist/{chunk-LUEXY2QV.js → chunk-QBUDLHGF.js} +3 -3
- package/dist/{chunk-LUEXY2QV.js.map → chunk-QBUDLHGF.js.map} +1 -1
- package/dist/{chunk-CN6AFOVV.js → chunk-RKBY3V7R.js} +4 -4
- package/dist/{chunk-CN6AFOVV.js.map → chunk-RKBY3V7R.js.map} +1 -1
- package/dist/{chunk-XEDVYHBK.cjs → chunk-W7JPJ5VP.cjs} +3 -3
- package/dist/{chunk-XEDVYHBK.cjs.map → chunk-W7JPJ5VP.cjs.map} +1 -1
- package/dist/{chunk-B2FQ6L2I.cjs → chunk-XCFSSKCI.cjs} +5 -5
- package/dist/{chunk-B2FQ6L2I.cjs.map → chunk-XCFSSKCI.cjs.map} +1 -1
- package/dist/{chunk-PQKSETS5.js → chunk-XOJF3SNB.js} +3 -3
- package/dist/{chunk-PQKSETS5.js.map → chunk-XOJF3SNB.js.map} +1 -1
- package/dist/{chunk-FCW225T4.cjs → chunk-Y6I7BKY3.cjs} +77 -77
- package/dist/{chunk-FCW225T4.cjs.map → chunk-Y6I7BKY3.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +6 -1
- package/dist/docs/assets/SOURCE_MAP.json +133 -133
- package/dist/docs/references/docs-editor-overview.md +221 -0
- package/dist/docs/references/docs-editor-prompts.md +134 -0
- package/dist/docs/references/docs-editor-tools.md +152 -0
- package/dist/docs/references/docs-studio-overview.md +2 -0
- package/dist/docs/references/reference-client-js-agents.md +136 -0
- package/dist/docs/references/reference-core-getEditor.md +35 -0
- package/dist/docs/references/reference-editor-mastra-editor.md +168 -0
- package/dist/docs/references/reference.md +3 -0
- 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 +7 -7
- package/dist/harness/index.js +5 -5
- 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 +15 -40
- 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-KYZOJWVP.cjs +12 -0
- package/dist/{mastra-7CFH7DGM.cjs.map → mastra-KYZOJWVP.cjs.map} +1 -1
- package/dist/mastra-THXHB2YW.js +3 -0
- package/dist/{mastra-5YHFXAJO.js.map → mastra-THXHB2YW.js.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-JNR72RHW.cjs +12 -0
- package/dist/{models-dev-X2MWNPAU.cjs.map → models-dev-JNR72RHW.cjs.map} +1 -1
- package/dist/models-dev-Y4N5GCLA.js +3 -0
- package/dist/{models-dev-ZXC3IYLG.js.map → models-dev-Y4N5GCLA.js.map} +1 -1
- package/dist/netlify-C25NVF5O.cjs +12 -0
- package/dist/{netlify-GOILLTQO.cjs.map → netlify-C25NVF5O.cjs.map} +1 -1
- package/dist/netlify-IGYUFSZG.js +3 -0
- package/dist/{netlify-HJL7EXHY.js.map → netlify-IGYUFSZG.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-3HZNLU3V.js +3 -0
- package/dist/{provider-registry-UWTCPEFF.js.map → provider-registry-3HZNLU3V.js.map} +1 -1
- package/dist/provider-registry-PKUEVZXH.cjs +44 -0
- package/dist/{provider-registry-25ELOB67.cjs.map → provider-registry-PKUEVZXH.cjs.map} +1 -1
- package/dist/provider-registry.json +36 -88
- 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 +15 -40
- package/dist/chunk-BFOZOAU2.cjs.map +0 -1
- package/dist/chunk-V657RNGK.js.map +0 -1
- package/dist/mastra-5YHFXAJO.js +0 -3
- package/dist/mastra-7CFH7DGM.cjs +0 -12
- package/dist/models-dev-X2MWNPAU.cjs +0 -12
- package/dist/models-dev-ZXC3IYLG.js +0 -3
- package/dist/netlify-GOILLTQO.cjs +0 -12
- package/dist/netlify-HJL7EXHY.js +0 -3
- package/dist/provider-registry-25ELOB67.cjs +0 -44
- package/dist/provider-registry-UWTCPEFF.js +0 -3
|
@@ -1,180 +1,180 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AgentsMDInjector", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkK2NJIVZ5_cjs.AgentsMDInjector; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "BaseProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkK2NJIVZ5_cjs.BaseProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkK2NJIVZ5_cjs.BatchPartsProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkK2NJIVZ5_cjs.FilePartSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkK2NJIVZ5_cjs.ImagePartSchema; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkK2NJIVZ5_cjs.LanguageDetector; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkK2NJIVZ5_cjs.MessageContentSchema; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MessageHistory", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkK2NJIVZ5_cjs.MessageHistory; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkK2NJIVZ5_cjs.MessagePartSchema; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkK2NJIVZ5_cjs.ModerationProcessor; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "PIIDetector", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkK2NJIVZ5_cjs.PIIDetector; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorInputPhaseSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorInputStepPhaseSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorMessageContentSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorMessageSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorOutputResultPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorOutputStepPhaseSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorRunner; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorState", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorState; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorStepInputSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorStepOutputSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkK2NJIVZ5_cjs.ProcessorStepSchema; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkK2NJIVZ5_cjs.PromptInjectionDetector; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkK2NJIVZ5_cjs.ReasoningPartSchema; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkK2NJIVZ5_cjs.SemanticRecall; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SkillSearchProcessor", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkK2NJIVZ5_cjs.SkillSearchProcessor; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "SkillsProcessor", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkK2NJIVZ5_cjs.SkillsProcessor; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkK2NJIVZ5_cjs.SourcePartSchema; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkK2NJIVZ5_cjs.StepStartPartSchema; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkK2NJIVZ5_cjs.StructuredOutputProcessor; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkK2NJIVZ5_cjs.SystemPromptScrubber; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkK2NJIVZ5_cjs.TextPartSchema; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkK2NJIVZ5_cjs.TokenLimiterProcessor; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkK2NJIVZ5_cjs.TokenLimiterProcessor; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkK2NJIVZ5_cjs.ToolCallFilter; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkK2NJIVZ5_cjs.ToolInvocationPartSchema; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "ToolSearchProcessor", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkK2NJIVZ5_cjs.ToolSearchProcessor; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkK2NJIVZ5_cjs.UnicodeNormalizer; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkK2NJIVZ5_cjs.WorkingMemory; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkK2NJIVZ5_cjs.WorkspaceInstructionsProcessor; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "globalEmbeddingCache", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkK2NJIVZ5_cjs.globalEmbeddingCache; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkK2NJIVZ5_cjs.isProcessorWorkflow; }
|
|
178
178
|
});
|
|
179
179
|
//# sourceMappingURL=index.cjs.map
|
|
180
180
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AgentsMDInjector, BaseProcessor, BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-
|
|
1
|
+
export { AgentsMDInjector, BaseProcessor, BatchPartsProcessor, FilePartSchema, ImagePartSchema, LanguageDetector, MessageContentSchema, MessageHistory, MessagePartSchema, ModerationProcessor, PIIDetector, ProcessorInputPhaseSchema, ProcessorInputStepPhaseSchema, ProcessorMessageContentSchema, ProcessorMessageSchema, ProcessorOutputResultPhaseSchema, ProcessorOutputStepPhaseSchema, ProcessorOutputStreamPhaseSchema, ProcessorRunner, ProcessorState, ProcessorStepInputSchema, ProcessorStepOutputSchema, ProcessorStepSchema, PromptInjectionDetector, ReasoningPartSchema, SemanticRecall, SkillSearchProcessor, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-JG7M2F2C.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, isOfflineMode, isProviderRegistered, isValidModelId, parseModelString } from './chunk-Q55SOMNM.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-3HZNLU3V.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-3HZNLU3V.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-3HZNLU3V.js"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk4636ENMP_cjs = require('./chunk-4636ENMP.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunk4636ENMP_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunk4636ENMP_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk4636ENMP_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunk4636ENMP_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunk4636ENMP_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isOfflineMode", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunk4636ENMP_cjs.isOfflineMode; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunk4636ENMP_cjs.isProviderRegistered; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunk4636ENMP_cjs.isValidModelId; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunk4636ENMP_cjs.parseModelString; }
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=provider-registry-PKUEVZXH.cjs.map
|
|
44
|
+
//# sourceMappingURL=provider-registry-PKUEVZXH.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-PKUEVZXH.cjs"}
|
|
@@ -573,6 +573,7 @@
|
|
|
573
573
|
"glm-4.7-flashx",
|
|
574
574
|
"glm-5",
|
|
575
575
|
"glm-5-turbo",
|
|
576
|
+
"glm-5.1",
|
|
576
577
|
"glm-5v-turbo"
|
|
577
578
|
],
|
|
578
579
|
"docUrl": "https://docs.z.ai/guides/overview/pricing",
|
|
@@ -650,6 +651,7 @@
|
|
|
650
651
|
"google/gemini-3.1-flash-lite",
|
|
651
652
|
"google/gemini-3.1-pro",
|
|
652
653
|
"google/gemini-deep-research",
|
|
654
|
+
"google/gemma-4-31b",
|
|
653
655
|
"google/imagen-3",
|
|
654
656
|
"google/imagen-3-fast",
|
|
655
657
|
"google/imagen-4",
|
|
@@ -766,6 +768,7 @@
|
|
|
766
768
|
"gemini-3-flash",
|
|
767
769
|
"gemini-3.1-pro",
|
|
768
770
|
"glm-5",
|
|
771
|
+
"glm-5.1",
|
|
769
772
|
"gpt-5",
|
|
770
773
|
"gpt-5-codex",
|
|
771
774
|
"gpt-5-nano",
|
|
@@ -784,8 +787,7 @@
|
|
|
784
787
|
"kimi-k2.5",
|
|
785
788
|
"minimax-m2.5",
|
|
786
789
|
"minimax-m2.5-free",
|
|
787
|
-
"nemotron-3-super-free"
|
|
788
|
-
"qwen3.6-plus-free"
|
|
790
|
+
"nemotron-3-super-free"
|
|
789
791
|
],
|
|
790
792
|
"docUrl": "https://opencode.ai/docs/zen",
|
|
791
793
|
"gateway": "models.dev"
|
|
@@ -833,6 +835,7 @@
|
|
|
833
835
|
"glm-4.7-flash",
|
|
834
836
|
"glm-4.7-flashx",
|
|
835
837
|
"glm-5",
|
|
838
|
+
"glm-5.1",
|
|
836
839
|
"glm-5v-turbo"
|
|
837
840
|
],
|
|
838
841
|
"docUrl": "https://docs.z.ai/guides/overview/pricing",
|
|
@@ -1172,7 +1175,8 @@
|
|
|
1172
1175
|
"zai-org/GLM-4.7-Flash",
|
|
1173
1176
|
"zai-org/GLM-4.7-TEE",
|
|
1174
1177
|
"zai-org/GLM-5-TEE",
|
|
1175
|
-
"zai-org/GLM-5-Turbo"
|
|
1178
|
+
"zai-org/GLM-5-Turbo",
|
|
1179
|
+
"zai-org/GLM-5.1-TEE"
|
|
1176
1180
|
],
|
|
1177
1181
|
"docUrl": "https://llm.chutes.ai/v1/models",
|
|
1178
1182
|
"gateway": "models.dev"
|
|
@@ -1335,13 +1339,12 @@
|
|
|
1335
1339
|
"apiKeyHeader": "Authorization",
|
|
1336
1340
|
"name": "Friendli",
|
|
1337
1341
|
"models": [
|
|
1338
|
-
"MiniMaxAI/MiniMax-M2.1",
|
|
1339
1342
|
"MiniMaxAI/MiniMax-M2.5",
|
|
1340
1343
|
"Qwen/Qwen3-235B-A22B-Instruct-2507",
|
|
1341
1344
|
"meta-llama/Llama-3.1-8B-Instruct",
|
|
1342
1345
|
"meta-llama/Llama-3.3-70B-Instruct",
|
|
1343
|
-
"zai-org/GLM-
|
|
1344
|
-
"zai-org/GLM-5"
|
|
1346
|
+
"zai-org/GLM-5",
|
|
1347
|
+
"zai-org/GLM-5.1"
|
|
1345
1348
|
],
|
|
1346
1349
|
"docUrl": "https://friendli.ai/docs/guides/serverless_endpoints/introduction",
|
|
1347
1350
|
"gateway": "models.dev"
|
|
@@ -1548,6 +1551,7 @@
|
|
|
1548
1551
|
"nova-pro-v1",
|
|
1549
1552
|
"qwen3-32b",
|
|
1550
1553
|
"qwen3-coder-480b-a35b-instruct",
|
|
1554
|
+
"qwen3-coder-next",
|
|
1551
1555
|
"qwen3-next-80b-a3b-thinking"
|
|
1552
1556
|
],
|
|
1553
1557
|
"docUrl": "https://api.cortecs.ai/v1/models",
|
|
@@ -2090,7 +2094,9 @@
|
|
|
2090
2094
|
"google/gemma-3n-e4b-it",
|
|
2091
2095
|
"google/gemma-3n-e4b-it:free",
|
|
2092
2096
|
"google/gemma-4-26b-a4b-it",
|
|
2097
|
+
"google/gemma-4-26b-a4b-it:free",
|
|
2093
2098
|
"google/gemma-4-31b-it",
|
|
2099
|
+
"google/gemma-4-31b-it:free",
|
|
2094
2100
|
"inception/mercury",
|
|
2095
2101
|
"inception/mercury-2",
|
|
2096
2102
|
"inception/mercury-coder",
|
|
@@ -2181,7 +2187,7 @@
|
|
|
2181
2187
|
"qwen/qwen3-next-80b-a3b-thinking",
|
|
2182
2188
|
"qwen/qwen3.5-397b-a17b",
|
|
2183
2189
|
"qwen/qwen3.5-plus-02-15",
|
|
2184
|
-
"qwen/qwen3.6-plus
|
|
2190
|
+
"qwen/qwen3.6-plus",
|
|
2185
2191
|
"sourceful/riverflow-v2-fast-preview",
|
|
2186
2192
|
"sourceful/riverflow-v2-max-preview",
|
|
2187
2193
|
"sourceful/riverflow-v2-standard-preview",
|
|
@@ -2307,6 +2313,7 @@
|
|
|
2307
2313
|
"z-ai/glm-4.7-flashx",
|
|
2308
2314
|
"z-ai/glm-5",
|
|
2309
2315
|
"z-ai/glm-5-turbo",
|
|
2316
|
+
"z-ai/glm-5.1",
|
|
2310
2317
|
"z-ai/glm-5v-turbo"
|
|
2311
2318
|
],
|
|
2312
2319
|
"docUrl": "https://docs.zenmux.ai",
|
|
@@ -4108,47 +4115,12 @@
|
|
|
4108
4115
|
"apiKeyHeader": "Authorization",
|
|
4109
4116
|
"name": "Cloudflare Workers AI",
|
|
4110
4117
|
"models": [
|
|
4111
|
-
"@cf/
|
|
4112
|
-
"@cf/aisingapore/gemma-sea-lion-v4-27b-it",
|
|
4113
|
-
"@cf/baai/bge-base-en-v1.5",
|
|
4114
|
-
"@cf/baai/bge-large-en-v1.5",
|
|
4115
|
-
"@cf/baai/bge-m3",
|
|
4116
|
-
"@cf/baai/bge-reranker-base",
|
|
4117
|
-
"@cf/baai/bge-small-en-v1.5",
|
|
4118
|
-
"@cf/deepgram/aura-2-en",
|
|
4119
|
-
"@cf/deepgram/aura-2-es",
|
|
4120
|
-
"@cf/deepgram/nova-3",
|
|
4121
|
-
"@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
|
|
4122
|
-
"@cf/facebook/bart-large-cnn",
|
|
4123
|
-
"@cf/google/gemma-3-12b-it",
|
|
4124
|
-
"@cf/huggingface/distilbert-sst-2-int8",
|
|
4125
|
-
"@cf/ibm-granite/granite-4.0-h-micro",
|
|
4126
|
-
"@cf/meta/llama-2-7b-chat-fp16",
|
|
4127
|
-
"@cf/meta/llama-3-8b-instruct",
|
|
4128
|
-
"@cf/meta/llama-3-8b-instruct-awq",
|
|
4129
|
-
"@cf/meta/llama-3.1-8b-instruct",
|
|
4130
|
-
"@cf/meta/llama-3.1-8b-instruct-awq",
|
|
4131
|
-
"@cf/meta/llama-3.1-8b-instruct-fp8",
|
|
4132
|
-
"@cf/meta/llama-3.2-11b-vision-instruct",
|
|
4133
|
-
"@cf/meta/llama-3.2-1b-instruct",
|
|
4134
|
-
"@cf/meta/llama-3.2-3b-instruct",
|
|
4135
|
-
"@cf/meta/llama-3.3-70b-instruct-fp8-fast",
|
|
4118
|
+
"@cf/google/gemma-4-26b-a4b-it",
|
|
4136
4119
|
"@cf/meta/llama-4-scout-17b-16e-instruct",
|
|
4137
|
-
"@cf/meta/llama-guard-3-8b",
|
|
4138
|
-
"@cf/meta/m2m100-1.2b",
|
|
4139
|
-
"@cf/mistral/mistral-7b-instruct-v0.1",
|
|
4140
|
-
"@cf/mistralai/mistral-small-3.1-24b-instruct",
|
|
4141
4120
|
"@cf/moonshotai/kimi-k2.5",
|
|
4142
|
-
"@cf/myshell-ai/melotts",
|
|
4143
4121
|
"@cf/nvidia/nemotron-3-120b-a12b",
|
|
4144
4122
|
"@cf/openai/gpt-oss-120b",
|
|
4145
4123
|
"@cf/openai/gpt-oss-20b",
|
|
4146
|
-
"@cf/pfnet/plamo-embedding-1b",
|
|
4147
|
-
"@cf/pipecat-ai/smart-turn-v2",
|
|
4148
|
-
"@cf/qwen/qwen2.5-coder-32b-instruct",
|
|
4149
|
-
"@cf/qwen/qwen3-30b-a3b-fp8",
|
|
4150
|
-
"@cf/qwen/qwen3-embedding-0.6b",
|
|
4151
|
-
"@cf/qwen/qwq-32b",
|
|
4152
4124
|
"@cf/zai-org/glm-4.7-flash"
|
|
4153
4125
|
],
|
|
4154
4126
|
"docUrl": "https://developers.cloudflare.com/workers-ai/models/",
|
|
@@ -4325,6 +4297,7 @@
|
|
|
4325
4297
|
"accounts/fireworks/models/glm-4p5-air",
|
|
4326
4298
|
"accounts/fireworks/models/glm-4p7",
|
|
4327
4299
|
"accounts/fireworks/models/glm-5",
|
|
4300
|
+
"accounts/fireworks/models/glm-5p1",
|
|
4328
4301
|
"accounts/fireworks/models/gpt-oss-120b",
|
|
4329
4302
|
"accounts/fireworks/models/gpt-oss-20b",
|
|
4330
4303
|
"accounts/fireworks/models/kimi-k2-instruct",
|
|
@@ -4332,6 +4305,7 @@
|
|
|
4332
4305
|
"accounts/fireworks/models/kimi-k2p5",
|
|
4333
4306
|
"accounts/fireworks/models/minimax-m2p1",
|
|
4334
4307
|
"accounts/fireworks/models/minimax-m2p5",
|
|
4308
|
+
"accounts/fireworks/models/qwen3p6-plus",
|
|
4335
4309
|
"accounts/fireworks/routers/kimi-k2p5-turbo"
|
|
4336
4310
|
],
|
|
4337
4311
|
"docUrl": "https://fireworks.ai/docs/",
|
|
@@ -4342,7 +4316,7 @@
|
|
|
4342
4316
|
"apiKeyEnvVar": "OPENCODE_API_KEY",
|
|
4343
4317
|
"apiKeyHeader": "Authorization",
|
|
4344
4318
|
"name": "OpenCode Go",
|
|
4345
|
-
"models": ["glm-5", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
|
|
4319
|
+
"models": ["glm-5", "glm-5.1", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
|
|
4346
4320
|
"docUrl": "https://opencode.ai/docs/zen",
|
|
4347
4321
|
"gateway": "models.dev"
|
|
4348
4322
|
},
|
|
@@ -4896,6 +4870,7 @@
|
|
|
4896
4870
|
"glm-4.7-flashx",
|
|
4897
4871
|
"glm-5",
|
|
4898
4872
|
"glm-5-turbo",
|
|
4873
|
+
"glm-5.1",
|
|
4899
4874
|
"glm-5v-turbo"
|
|
4900
4875
|
],
|
|
4901
4876
|
"xai": [
|
|
@@ -4958,6 +4933,7 @@
|
|
|
4958
4933
|
"google/gemini-3.1-flash-lite",
|
|
4959
4934
|
"google/gemini-3.1-pro",
|
|
4960
4935
|
"google/gemini-deep-research",
|
|
4936
|
+
"google/gemma-4-31b",
|
|
4961
4937
|
"google/imagen-3",
|
|
4962
4938
|
"google/imagen-3-fast",
|
|
4963
4939
|
"google/imagen-4",
|
|
@@ -5066,6 +5042,7 @@
|
|
|
5066
5042
|
"gemini-3-flash",
|
|
5067
5043
|
"gemini-3.1-pro",
|
|
5068
5044
|
"glm-5",
|
|
5045
|
+
"glm-5.1",
|
|
5069
5046
|
"gpt-5",
|
|
5070
5047
|
"gpt-5-codex",
|
|
5071
5048
|
"gpt-5-nano",
|
|
@@ -5084,8 +5061,7 @@
|
|
|
5084
5061
|
"kimi-k2.5",
|
|
5085
5062
|
"minimax-m2.5",
|
|
5086
5063
|
"minimax-m2.5-free",
|
|
5087
|
-
"nemotron-3-super-free"
|
|
5088
|
-
"qwen3.6-plus-free"
|
|
5064
|
+
"nemotron-3-super-free"
|
|
5089
5065
|
],
|
|
5090
5066
|
"berget": [
|
|
5091
5067
|
"BAAI/bge-reranker-v2-m3",
|
|
@@ -5109,6 +5085,7 @@
|
|
|
5109
5085
|
"glm-4.7-flash",
|
|
5110
5086
|
"glm-4.7-flashx",
|
|
5111
5087
|
"glm-5",
|
|
5088
|
+
"glm-5.1",
|
|
5112
5089
|
"glm-5v-turbo"
|
|
5113
5090
|
],
|
|
5114
5091
|
"nvidia": [
|
|
@@ -5394,7 +5371,8 @@
|
|
|
5394
5371
|
"zai-org/GLM-4.7-Flash",
|
|
5395
5372
|
"zai-org/GLM-4.7-TEE",
|
|
5396
5373
|
"zai-org/GLM-5-TEE",
|
|
5397
|
-
"zai-org/GLM-5-Turbo"
|
|
5374
|
+
"zai-org/GLM-5-Turbo",
|
|
5375
|
+
"zai-org/GLM-5.1-TEE"
|
|
5398
5376
|
],
|
|
5399
5377
|
"lmstudio": ["openai/gpt-oss-20b", "qwen/qwen3-30b-a3b-2507", "qwen/qwen3-coder-30b"],
|
|
5400
5378
|
"kimi-for-coding": ["k2p5", "kimi-k2-thinking"],
|
|
@@ -5516,13 +5494,12 @@
|
|
|
5516
5494
|
"xai/grok-4-fast"
|
|
5517
5495
|
],
|
|
5518
5496
|
"friendli": [
|
|
5519
|
-
"MiniMaxAI/MiniMax-M2.1",
|
|
5520
5497
|
"MiniMaxAI/MiniMax-M2.5",
|
|
5521
5498
|
"Qwen/Qwen3-235B-A22B-Instruct-2507",
|
|
5522
5499
|
"meta-llama/Llama-3.1-8B-Instruct",
|
|
5523
5500
|
"meta-llama/Llama-3.3-70B-Instruct",
|
|
5524
|
-
"zai-org/GLM-
|
|
5525
|
-
"zai-org/GLM-5"
|
|
5501
|
+
"zai-org/GLM-5",
|
|
5502
|
+
"zai-org/GLM-5.1"
|
|
5526
5503
|
],
|
|
5527
5504
|
"302ai": [
|
|
5528
5505
|
"MiniMax-M1",
|
|
@@ -5705,6 +5682,7 @@
|
|
|
5705
5682
|
"nova-pro-v1",
|
|
5706
5683
|
"qwen3-32b",
|
|
5707
5684
|
"qwen3-coder-480b-a35b-instruct",
|
|
5685
|
+
"qwen3-coder-next",
|
|
5708
5686
|
"qwen3-next-80b-a3b-thinking"
|
|
5709
5687
|
],
|
|
5710
5688
|
"siliconflow-cn": [
|
|
@@ -6200,7 +6178,9 @@
|
|
|
6200
6178
|
"google/gemma-3n-e4b-it",
|
|
6201
6179
|
"google/gemma-3n-e4b-it:free",
|
|
6202
6180
|
"google/gemma-4-26b-a4b-it",
|
|
6181
|
+
"google/gemma-4-26b-a4b-it:free",
|
|
6203
6182
|
"google/gemma-4-31b-it",
|
|
6183
|
+
"google/gemma-4-31b-it:free",
|
|
6204
6184
|
"inception/mercury",
|
|
6205
6185
|
"inception/mercury-2",
|
|
6206
6186
|
"inception/mercury-coder",
|
|
@@ -6291,7 +6271,7 @@
|
|
|
6291
6271
|
"qwen/qwen3-next-80b-a3b-thinking",
|
|
6292
6272
|
"qwen/qwen3.5-397b-a17b",
|
|
6293
6273
|
"qwen/qwen3.5-plus-02-15",
|
|
6294
|
-
"qwen/qwen3.6-plus
|
|
6274
|
+
"qwen/qwen3.6-plus",
|
|
6295
6275
|
"sourceful/riverflow-v2-fast-preview",
|
|
6296
6276
|
"sourceful/riverflow-v2-max-preview",
|
|
6297
6277
|
"sourceful/riverflow-v2-standard-preview",
|
|
@@ -6408,6 +6388,7 @@
|
|
|
6408
6388
|
"z-ai/glm-4.7-flashx",
|
|
6409
6389
|
"z-ai/glm-5",
|
|
6410
6390
|
"z-ai/glm-5-turbo",
|
|
6391
|
+
"z-ai/glm-5.1",
|
|
6411
6392
|
"z-ai/glm-5v-turbo"
|
|
6412
6393
|
],
|
|
6413
6394
|
"perplexity": ["sonar", "sonar-deep-research", "sonar-pro", "sonar-reasoning-pro"],
|
|
@@ -7904,47 +7885,12 @@
|
|
|
7904
7885
|
"openai/gpt-oss-120b"
|
|
7905
7886
|
],
|
|
7906
7887
|
"cloudflare-workers-ai": [
|
|
7907
|
-
"@cf/
|
|
7908
|
-
"@cf/aisingapore/gemma-sea-lion-v4-27b-it",
|
|
7909
|
-
"@cf/baai/bge-base-en-v1.5",
|
|
7910
|
-
"@cf/baai/bge-large-en-v1.5",
|
|
7911
|
-
"@cf/baai/bge-m3",
|
|
7912
|
-
"@cf/baai/bge-reranker-base",
|
|
7913
|
-
"@cf/baai/bge-small-en-v1.5",
|
|
7914
|
-
"@cf/deepgram/aura-2-en",
|
|
7915
|
-
"@cf/deepgram/aura-2-es",
|
|
7916
|
-
"@cf/deepgram/nova-3",
|
|
7917
|
-
"@cf/deepseek-ai/deepseek-r1-distill-qwen-32b",
|
|
7918
|
-
"@cf/facebook/bart-large-cnn",
|
|
7919
|
-
"@cf/google/gemma-3-12b-it",
|
|
7920
|
-
"@cf/huggingface/distilbert-sst-2-int8",
|
|
7921
|
-
"@cf/ibm-granite/granite-4.0-h-micro",
|
|
7922
|
-
"@cf/meta/llama-2-7b-chat-fp16",
|
|
7923
|
-
"@cf/meta/llama-3-8b-instruct",
|
|
7924
|
-
"@cf/meta/llama-3-8b-instruct-awq",
|
|
7925
|
-
"@cf/meta/llama-3.1-8b-instruct",
|
|
7926
|
-
"@cf/meta/llama-3.1-8b-instruct-awq",
|
|
7927
|
-
"@cf/meta/llama-3.1-8b-instruct-fp8",
|
|
7928
|
-
"@cf/meta/llama-3.2-11b-vision-instruct",
|
|
7929
|
-
"@cf/meta/llama-3.2-1b-instruct",
|
|
7930
|
-
"@cf/meta/llama-3.2-3b-instruct",
|
|
7931
|
-
"@cf/meta/llama-3.3-70b-instruct-fp8-fast",
|
|
7888
|
+
"@cf/google/gemma-4-26b-a4b-it",
|
|
7932
7889
|
"@cf/meta/llama-4-scout-17b-16e-instruct",
|
|
7933
|
-
"@cf/meta/llama-guard-3-8b",
|
|
7934
|
-
"@cf/meta/m2m100-1.2b",
|
|
7935
|
-
"@cf/mistral/mistral-7b-instruct-v0.1",
|
|
7936
|
-
"@cf/mistralai/mistral-small-3.1-24b-instruct",
|
|
7937
7890
|
"@cf/moonshotai/kimi-k2.5",
|
|
7938
|
-
"@cf/myshell-ai/melotts",
|
|
7939
7891
|
"@cf/nvidia/nemotron-3-120b-a12b",
|
|
7940
7892
|
"@cf/openai/gpt-oss-120b",
|
|
7941
7893
|
"@cf/openai/gpt-oss-20b",
|
|
7942
|
-
"@cf/pfnet/plamo-embedding-1b",
|
|
7943
|
-
"@cf/pipecat-ai/smart-turn-v2",
|
|
7944
|
-
"@cf/qwen/qwen2.5-coder-32b-instruct",
|
|
7945
|
-
"@cf/qwen/qwen3-30b-a3b-fp8",
|
|
7946
|
-
"@cf/qwen/qwen3-embedding-0.6b",
|
|
7947
|
-
"@cf/qwen/qwq-32b",
|
|
7948
7894
|
"@cf/zai-org/glm-4.7-flash"
|
|
7949
7895
|
],
|
|
7950
7896
|
"siliconflow": [
|
|
@@ -8064,6 +8010,7 @@
|
|
|
8064
8010
|
"accounts/fireworks/models/glm-4p5-air",
|
|
8065
8011
|
"accounts/fireworks/models/glm-4p7",
|
|
8066
8012
|
"accounts/fireworks/models/glm-5",
|
|
8013
|
+
"accounts/fireworks/models/glm-5p1",
|
|
8067
8014
|
"accounts/fireworks/models/gpt-oss-120b",
|
|
8068
8015
|
"accounts/fireworks/models/gpt-oss-20b",
|
|
8069
8016
|
"accounts/fireworks/models/kimi-k2-instruct",
|
|
@@ -8071,9 +8018,10 @@
|
|
|
8071
8018
|
"accounts/fireworks/models/kimi-k2p5",
|
|
8072
8019
|
"accounts/fireworks/models/minimax-m2p1",
|
|
8073
8020
|
"accounts/fireworks/models/minimax-m2p5",
|
|
8021
|
+
"accounts/fireworks/models/qwen3p6-plus",
|
|
8074
8022
|
"accounts/fireworks/routers/kimi-k2p5-turbo"
|
|
8075
8023
|
],
|
|
8076
|
-
"opencode-go": ["glm-5", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
|
|
8024
|
+
"opencode-go": ["glm-5", "glm-5.1", "kimi-k2.5", "mimo-v2-omni", "mimo-v2-pro", "minimax-m2.5", "minimax-m2.7"],
|
|
8077
8025
|
"abacus": [
|
|
8078
8026
|
"Qwen/QwQ-32B",
|
|
8079
8027
|
"Qwen/Qwen2.5-72B-Instruct",
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkK2NJIVZ5_cjs = require('../chunk-K2NJIVZ5.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 chunkK2NJIVZ5_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 (chunkK2NJIVZ5_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