@mastra/core 1.16.0-alpha.4 → 1.16.0-alpha.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/CHANGELOG.md +6 -0
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/index.cjs +18 -18
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/message-list/message-list.d.ts +13 -0
- package/dist/agent/message-list/message-list.d.ts.map +1 -1
- package/dist/{chunk-PNSY2ZGF.cjs → chunk-43LAX4OC.cjs} +9 -9
- package/dist/{chunk-PNSY2ZGF.cjs.map → chunk-43LAX4OC.cjs.map} +1 -1
- package/dist/{chunk-YXBNQTAA.js → chunk-7BMRL7A7.js} +6 -6
- package/dist/{chunk-YXBNQTAA.js.map → chunk-7BMRL7A7.js.map} +1 -1
- package/dist/{chunk-5SWCNP2L.js → chunk-7BZCZH6B.js} +3 -3
- package/dist/{chunk-5SWCNP2L.js.map → chunk-7BZCZH6B.js.map} +1 -1
- package/dist/{chunk-NTF7UIBI.cjs → chunk-ALCZ3AX7.cjs} +42 -39
- package/dist/chunk-ALCZ3AX7.cjs.map +1 -0
- package/dist/{chunk-PCQBJ3NP.cjs → chunk-ANLO4VM2.cjs} +33 -2
- package/dist/chunk-ANLO4VM2.cjs.map +1 -0
- package/dist/{chunk-UQ5BWWRH.js → chunk-BLBX5SP3.js} +3 -3
- package/dist/{chunk-UQ5BWWRH.js.map → chunk-BLBX5SP3.js.map} +1 -1
- package/dist/{chunk-V2XNSBIT.cjs → chunk-EEOZARYV.cjs} +6 -6
- package/dist/{chunk-V2XNSBIT.cjs.map → chunk-EEOZARYV.cjs.map} +1 -1
- package/dist/{chunk-IWIO6OOO.js → chunk-GC3I45ZY.js} +3 -3
- package/dist/{chunk-IWIO6OOO.js.map → chunk-GC3I45ZY.js.map} +1 -1
- package/dist/{chunk-SVE7QF2W.js → chunk-HA53QKBU.js} +8 -8
- package/dist/{chunk-SVE7QF2W.js.map → chunk-HA53QKBU.js.map} +1 -1
- package/dist/{chunk-4THMANGC.cjs → chunk-HXFCAKO3.cjs} +75 -75
- package/dist/{chunk-4THMANGC.cjs.map → chunk-HXFCAKO3.cjs.map} +1 -1
- package/dist/{chunk-NEWK2BT5.cjs → chunk-IK6ZBEOH.cjs} +15 -15
- package/dist/{chunk-NEWK2BT5.cjs.map → chunk-IK6ZBEOH.cjs.map} +1 -1
- package/dist/{chunk-OYAS35A6.js → chunk-KXRAP65E.js} +8 -5
- package/dist/chunk-KXRAP65E.js.map +1 -0
- package/dist/{chunk-XU4ZIJEV.js → chunk-OMQ7OGTD.js} +5 -5
- package/dist/{chunk-XU4ZIJEV.js.map → chunk-OMQ7OGTD.js.map} +1 -1
- package/dist/{chunk-LY7WIAF5.cjs → chunk-OUMEFQRG.cjs} +3 -3
- package/dist/{chunk-LY7WIAF5.cjs.map → chunk-OUMEFQRG.cjs.map} +1 -1
- package/dist/{chunk-OPRJPAB7.js → chunk-OUYKDP7F.js} +3 -3
- package/dist/{chunk-OPRJPAB7.js.map → chunk-OUYKDP7F.js.map} +1 -1
- package/dist/{chunk-XGTV24L5.cjs → chunk-P5L3FDO5.cjs} +55 -55
- package/dist/{chunk-XGTV24L5.cjs.map → chunk-P5L3FDO5.cjs.map} +1 -1
- package/dist/{chunk-MDEWERCK.cjs → chunk-PPDMILXE.cjs} +185 -185
- package/dist/{chunk-MDEWERCK.cjs.map → chunk-PPDMILXE.cjs.map} +1 -1
- package/dist/{chunk-BQA45RHN.cjs → chunk-QR67PGEX.cjs} +5 -5
- package/dist/{chunk-BQA45RHN.cjs.map → chunk-QR67PGEX.cjs.map} +1 -1
- package/dist/{chunk-6VYFRSNT.cjs → chunk-R67VVUDR.cjs} +6 -6
- package/dist/{chunk-6VYFRSNT.cjs.map → chunk-R67VVUDR.cjs.map} +1 -1
- package/dist/{chunk-MXISDFVM.js → chunk-RTRZMBMW.js} +3 -3
- package/dist/{chunk-MXISDFVM.js.map → chunk-RTRZMBMW.js.map} +1 -1
- package/dist/{chunk-S6VT4LMH.js → chunk-SLZ3WO42.js} +33 -2
- package/dist/chunk-SLZ3WO42.js.map +1 -0
- package/dist/{chunk-YE4J2QEX.js → chunk-V4WRIZUB.js} +4 -4
- package/dist/{chunk-YE4J2QEX.js.map → chunk-V4WRIZUB.js.map} +1 -1
- package/dist/{chunk-3HRPHNFN.js → chunk-VDL5NSEM.js} +4 -4
- package/dist/{chunk-3HRPHNFN.js.map → chunk-VDL5NSEM.js.map} +1 -1
- package/dist/{chunk-YIUXBYAI.js → chunk-WT6PBYLT.js} +4 -4
- package/dist/{chunk-YIUXBYAI.js.map → chunk-WT6PBYLT.js.map} +1 -1
- package/dist/{chunk-M6632FUT.cjs → chunk-YW7C25S4.cjs} +7 -7
- package/dist/{chunk-M6632FUT.cjs.map → chunk-YW7C25S4.cjs.map} +1 -1
- package/dist/{chunk-SXVV5X4E.cjs → chunk-Z2ZO3S34.cjs} +5 -5
- package/dist/{chunk-SXVV5X4E.cjs.map → chunk-Z2ZO3S34.cjs.map} +1 -1
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +225 -225
- 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 +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/loop/workflows/agentic-execution/llm-execution-step.d.ts.map +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-FQZJVFA3.cjs +12 -0
- package/dist/{models-dev-SV7R75OF.cjs.map → models-dev-FQZJVFA3.cjs.map} +1 -1
- package/dist/models-dev-IXIFPHTL.js +3 -0
- package/dist/{models-dev-JCB4Q53F.js.map → models-dev-IXIFPHTL.js.map} +1 -1
- package/dist/netlify-ZDPSLMHL.js +3 -0
- package/dist/{netlify-KG6ZIIC5.js.map → netlify-ZDPSLMHL.js.map} +1 -1
- package/dist/netlify-ZP6W4FNX.cjs +12 -0
- package/dist/{netlify-SGAVTHDG.cjs.map → netlify-ZP6W4FNX.cjs.map} +1 -1
- package/dist/processor-provider/index.cjs +10 -10
- package/dist/processor-provider/index.js +1 -1
- package/dist/processors/index.cjs +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-GQASCCYW.cjs +40 -0
- package/dist/{provider-registry-UIDQJHBI.cjs.map → provider-registry-GQASCCYW.cjs.map} +1 -1
- package/dist/provider-registry-JPXSL43R.js +3 -0
- package/dist/{provider-registry-INQUWPG6.js.map → provider-registry-JPXSL43R.js.map} +1 -1
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +74 -74
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/index.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +24 -24
- package/dist/workflows/index.js +1 -1
- package/package.json +6 -6
- package/dist/chunk-NTF7UIBI.cjs.map +0 -1
- package/dist/chunk-OYAS35A6.js.map +0 -1
- package/dist/chunk-PCQBJ3NP.cjs.map +0 -1
- package/dist/chunk-S6VT4LMH.js.map +0 -1
- package/dist/models-dev-JCB4Q53F.js +0 -3
- package/dist/models-dev-SV7R75OF.cjs +0 -12
- package/dist/netlify-KG6ZIIC5.js +0 -3
- package/dist/netlify-SGAVTHDG.cjs +0 -12
- package/dist/provider-registry-INQUWPG6.js +0 -3
- package/dist/provider-registry-UIDQJHBI.cjs +0 -40
|
@@ -1,172 +1,172 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkALCZ3AX7_cjs = require('../chunk-ALCZ3AX7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "BaseProcessor", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkALCZ3AX7_cjs.BaseProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkALCZ3AX7_cjs.BatchPartsProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkALCZ3AX7_cjs.FilePartSchema; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkALCZ3AX7_cjs.ImagePartSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkALCZ3AX7_cjs.LanguageDetector; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkALCZ3AX7_cjs.MessageContentSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessageHistory", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkALCZ3AX7_cjs.MessageHistory; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkALCZ3AX7_cjs.MessagePartSchema; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkALCZ3AX7_cjs.ModerationProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PIIDetector", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkALCZ3AX7_cjs.PIIDetector; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorInputPhaseSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorInputStepPhaseSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorMessageContentSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorMessageSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorOutputResultPhaseSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorOutputStepPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorRunner; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorState", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorState; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorStepInputSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorStepOutputSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkALCZ3AX7_cjs.ProcessorStepSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkALCZ3AX7_cjs.PromptInjectionDetector; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkALCZ3AX7_cjs.ReasoningPartSchema; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkALCZ3AX7_cjs.SemanticRecall; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SkillsProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkALCZ3AX7_cjs.SkillsProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkALCZ3AX7_cjs.SourcePartSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkALCZ3AX7_cjs.StepStartPartSchema; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkALCZ3AX7_cjs.StructuredOutputProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkALCZ3AX7_cjs.SystemPromptScrubber; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkALCZ3AX7_cjs.TextPartSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkALCZ3AX7_cjs.TokenLimiterProcessor; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkALCZ3AX7_cjs.TokenLimiterProcessor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkALCZ3AX7_cjs.ToolCallFilter; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkALCZ3AX7_cjs.ToolInvocationPartSchema; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "ToolSearchProcessor", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkALCZ3AX7_cjs.ToolSearchProcessor; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkALCZ3AX7_cjs.UnicodeNormalizer; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkALCZ3AX7_cjs.WorkingMemory; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkALCZ3AX7_cjs.WorkspaceInstructionsProcessor; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "globalEmbeddingCache", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkALCZ3AX7_cjs.globalEmbeddingCache; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkALCZ3AX7_cjs.isProcessorWorkflow; }
|
|
170
170
|
});
|
|
171
171
|
//# sourceMappingURL=index.cjs.map
|
|
172
172
|
//# sourceMappingURL=index.cjs.map
|
package/dist/processors/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { 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, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-
|
|
1
|
+
export { 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, SkillsProcessor, SourcePartSchema, StepStartPartSchema, StructuredOutputProcessor, SystemPromptScrubber, TextPartSchema, TokenLimiterProcessor as TokenLimiter, TokenLimiterProcessor, ToolCallFilter, ToolInvocationPartSchema, ToolSearchProcessor, UnicodeNormalizer, WorkingMemory, WorkspaceInstructionsProcessor, globalEmbeddingCache, isProcessorWorkflow } from '../chunk-KXRAP65E.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkZ2ZO3S34_cjs = require('./chunk-Z2ZO3S34.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkZ2ZO3S34_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkZ2ZO3S34_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkZ2ZO3S34_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkZ2ZO3S34_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkZ2ZO3S34_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkZ2ZO3S34_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkZ2ZO3S34_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkZ2ZO3S34_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-GQASCCYW.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-GQASCCYW.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-GQASCCYW.cjs"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { GatewayRegistry, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString } from './chunk-WT6PBYLT.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-JPXSL43R.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-JPXSL43R.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-JPXSL43R.js"}
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkALCZ3AX7_cjs = require('../chunk-ALCZ3AX7.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 chunkALCZ3AX7_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 (chunkALCZ3AX7_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