@mastra/core 1.16.0-alpha.2 → 1.16.0-alpha.4
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 +78 -0
- package/dist/agent/agent.d.ts.map +1 -1
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/conversion/output-converter.d.ts.map +1 -1
- package/dist/agent/message-list/index.cjs +18 -18
- package/dist/agent/message-list/index.js +1 -1
- package/dist/{chunk-4DW75LWG.js → chunk-3HRPHNFN.js} +4 -4
- package/dist/{chunk-4DW75LWG.js.map → chunk-3HRPHNFN.js.map} +1 -1
- package/dist/{chunk-TQTUU6QD.cjs → chunk-4THMANGC.cjs} +82 -82
- package/dist/{chunk-TQTUU6QD.cjs.map → chunk-4THMANGC.cjs.map} +1 -1
- package/dist/{chunk-4R7XCDYZ.js → chunk-5SWCNP2L.js} +3 -3
- package/dist/{chunk-4R7XCDYZ.js.map → chunk-5SWCNP2L.js.map} +1 -1
- package/dist/{chunk-Q7EDK6IW.cjs → chunk-6VYFRSNT.cjs} +13 -13
- package/dist/{chunk-Q7EDK6IW.cjs.map → chunk-6VYFRSNT.cjs.map} +1 -1
- package/dist/{chunk-KWQ4YIWP.cjs → chunk-7L2ICIDI.cjs} +6 -6
- package/dist/{chunk-KWQ4YIWP.cjs.map → chunk-7L2ICIDI.cjs.map} +1 -1
- package/dist/{chunk-PLWEBAHH.cjs → chunk-BQA45RHN.cjs} +5 -5
- package/dist/{chunk-PLWEBAHH.cjs.map → chunk-BQA45RHN.cjs.map} +1 -1
- package/dist/{chunk-55W2K42G.js → chunk-GRMC2OYN.js} +32 -4
- package/dist/chunk-GRMC2OYN.js.map +1 -0
- package/dist/{chunk-CJVTGET7.js → chunk-IWIO6OOO.js} +3 -3
- package/dist/{chunk-CJVTGET7.js.map → chunk-IWIO6OOO.js.map} +1 -1
- package/dist/{chunk-L53XY7WT.js → chunk-J3NJXIJ4.js} +161 -63
- package/dist/chunk-J3NJXIJ4.js.map +1 -0
- package/dist/{chunk-GYLHNAH7.cjs → chunk-K4NN2KQQ.cjs} +32 -4
- package/dist/chunk-K4NN2KQQ.cjs.map +1 -0
- package/dist/{chunk-4MG6J5RS.cjs → chunk-LY7WIAF5.cjs} +3 -3
- package/dist/{chunk-4MG6J5RS.cjs.map → chunk-LY7WIAF5.cjs.map} +1 -1
- package/dist/{chunk-L4AQYWBK.cjs → chunk-M6632FUT.cjs} +7 -7
- package/dist/{chunk-L4AQYWBK.cjs.map → chunk-M6632FUT.cjs.map} +1 -1
- package/dist/{chunk-GXAKTLZ3.cjs → chunk-MDEWERCK.cjs} +185 -185
- package/dist/{chunk-GXAKTLZ3.cjs.map → chunk-MDEWERCK.cjs.map} +1 -1
- package/dist/{chunk-373WBBIV.js → chunk-MXISDFVM.js} +3 -3
- package/dist/{chunk-373WBBIV.js.map → chunk-MXISDFVM.js.map} +1 -1
- package/dist/{chunk-6FFPNMST.cjs → chunk-NEWK2BT5.cjs} +15 -15
- package/dist/{chunk-6FFPNMST.cjs.map → chunk-NEWK2BT5.cjs.map} +1 -1
- package/dist/{chunk-2DPHD6NF.cjs → chunk-NTF7UIBI.cjs} +95 -86
- package/dist/chunk-NTF7UIBI.cjs.map +1 -0
- package/dist/{chunk-O3WTNJXV.js → chunk-OPRJPAB7.js} +3 -3
- package/dist/{chunk-O3WTNJXV.js.map → chunk-OPRJPAB7.js.map} +1 -1
- package/dist/{chunk-GZ2ZPBMU.js → chunk-OYAS35A6.js} +21 -12
- package/dist/chunk-OYAS35A6.js.map +1 -0
- package/dist/{chunk-O6O5MD7Q.cjs → chunk-PCQBJ3NP.cjs} +5 -2
- package/dist/chunk-PCQBJ3NP.cjs.map +1 -0
- package/dist/{chunk-4B2CHAMZ.cjs → chunk-PNSY2ZGF.cjs} +9 -9
- package/dist/{chunk-4B2CHAMZ.cjs.map → chunk-PNSY2ZGF.cjs.map} +1 -1
- package/dist/{chunk-3XWXW2YI.cjs → chunk-RQBBPR64.cjs} +16 -15
- package/dist/chunk-RQBBPR64.cjs.map +1 -0
- package/dist/{chunk-YPJ5V2S5.js → chunk-S6VT4LMH.js} +5 -2
- package/dist/chunk-S6VT4LMH.js.map +1 -0
- package/dist/{chunk-HQKKB3UP.js → chunk-SVE7QF2W.js} +8 -8
- package/dist/{chunk-HQKKB3UP.js.map → chunk-SVE7QF2W.js.map} +1 -1
- package/dist/{chunk-DJLBGTUV.cjs → chunk-SXVV5X4E.cjs} +13 -13
- package/dist/chunk-SXVV5X4E.cjs.map +1 -0
- package/dist/{chunk-UA5AY2ES.js → chunk-UQ5BWWRH.js} +4 -4
- package/dist/{chunk-UA5AY2ES.js.map → chunk-UQ5BWWRH.js.map} +1 -1
- package/dist/{chunk-325Q6NH6.cjs → chunk-V2XNSBIT.cjs} +6 -6
- package/dist/{chunk-325Q6NH6.cjs.map → chunk-V2XNSBIT.cjs.map} +1 -1
- package/dist/{chunk-4TMCYZ72.cjs → chunk-XGTV24L5.cjs} +57 -57
- package/dist/{chunk-4TMCYZ72.cjs.map → chunk-XGTV24L5.cjs.map} +1 -1
- package/dist/{chunk-JY32HS2J.js → chunk-XKOCRXCP.js} +3 -3
- package/dist/{chunk-JY32HS2J.js.map → chunk-XKOCRXCP.js.map} +1 -1
- package/dist/{chunk-FQJZIBZ2.js → chunk-XU4ZIJEV.js} +6 -6
- package/dist/{chunk-FQJZIBZ2.js.map → chunk-XU4ZIJEV.js.map} +1 -1
- package/dist/{chunk-KQ3SJZG5.cjs → chunk-XW4B2RAG.cjs} +182 -84
- package/dist/chunk-XW4B2RAG.cjs.map +1 -0
- package/dist/{chunk-563KV7S2.js → chunk-YE4J2QEX.js} +4 -4
- package/dist/{chunk-563KV7S2.js.map → chunk-YE4J2QEX.js.map} +1 -1
- package/dist/{chunk-3OZVV5J7.js → chunk-YIUXBYAI.js} +12 -12
- package/dist/chunk-YIUXBYAI.js.map +1 -0
- package/dist/{chunk-P7KTLFJM.js → chunk-YXBNQTAA.js} +7 -7
- package/dist/{chunk-P7KTLFJM.js.map → chunk-YXBNQTAA.js.map} +1 -1
- package/dist/{chunk-D5DBRZH3.js → chunk-ZJMETLCP.js} +4 -3
- package/dist/chunk-ZJMETLCP.js.map +1 -0
- 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 +239 -239
- package/dist/docs/references/docs-memory-observational-memory.md +36 -0
- package/dist/docs/references/docs-observability-tracing-exporters-datadog.md +132 -2
- package/dist/docs/references/docs-workspace-skills.md +23 -0
- package/dist/docs/references/reference-memory-observational-memory.md +42 -3
- package/dist/docs/references/reference-tools-create-tool.md +1 -1
- package/dist/docs/references/reference-workspace-workspace-class.md +13 -1
- 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 +17 -17
- package/dist/harness/index.js +7 -7
- 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 +16 -16
- package/dist/llm/index.js +5 -5
- package/dist/llm/model/provider-types.generated.d.ts +3 -3
- package/dist/loop/index.cjs +14 -14
- package/dist/loop/index.js +1 -1
- package/dist/loop/network/index.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-JCB4Q53F.js +3 -0
- package/dist/{models-dev-OU3ACSEQ.js.map → models-dev-JCB4Q53F.js.map} +1 -1
- package/dist/models-dev-SV7R75OF.cjs +12 -0
- package/dist/{models-dev-OFI5OSM7.cjs.map → models-dev-SV7R75OF.cjs.map} +1 -1
- package/dist/netlify-KG6ZIIC5.js +3 -0
- package/dist/{netlify-OPNSZBGQ.js.map → netlify-KG6ZIIC5.js.map} +1 -1
- package/dist/netlify-SGAVTHDG.cjs +12 -0
- package/dist/{netlify-YVCTG2Z3.cjs.map → netlify-SGAVTHDG.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/processors/processors/skills.d.ts.map +1 -1
- package/dist/provider-registry-INQUWPG6.js +3 -0
- package/dist/{provider-registry-KYR3I44P.js.map → provider-registry-INQUWPG6.js.map} +1 -1
- package/dist/provider-registry-UIDQJHBI.cjs +40 -0
- package/dist/{provider-registry-73NPBVKH.cjs.map → provider-registry-UIDQJHBI.cjs.map} +1 -1
- package/dist/provider-registry.json +8 -8
- 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/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 +7 -7
- 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/tools/tool-builder/builder.d.ts.map +1 -1
- package/dist/tools/tool.d.ts.map +1 -1
- package/dist/tools/types.d.ts +1 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/validation.d.ts.map +1 -1
- package/dist/utils.cjs +23 -23
- package/dist/utils.d.ts +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.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/dist/workspace/index.cjs +68 -68
- package/dist/workspace/index.js +1 -1
- package/dist/workspace/skills/tools.d.ts.map +1 -1
- package/dist/workspace/skills/types.d.ts +9 -5
- package/dist/workspace/skills/types.d.ts.map +1 -1
- package/dist/workspace/skills/workspace-skills.d.ts.map +1 -1
- package/dist/workspace/workspace.d.ts +1 -1
- package/package.json +6 -6
- package/src/llm/model/provider-types.generated.d.ts +3 -3
- package/dist/chunk-2DPHD6NF.cjs.map +0 -1
- package/dist/chunk-3OZVV5J7.js.map +0 -1
- package/dist/chunk-3XWXW2YI.cjs.map +0 -1
- package/dist/chunk-55W2K42G.js.map +0 -1
- package/dist/chunk-D5DBRZH3.js.map +0 -1
- package/dist/chunk-DJLBGTUV.cjs.map +0 -1
- package/dist/chunk-GYLHNAH7.cjs.map +0 -1
- package/dist/chunk-GZ2ZPBMU.js.map +0 -1
- package/dist/chunk-KQ3SJZG5.cjs.map +0 -1
- package/dist/chunk-L53XY7WT.js.map +0 -1
- package/dist/chunk-O6O5MD7Q.cjs.map +0 -1
- package/dist/chunk-YPJ5V2S5.js.map +0 -1
- package/dist/models-dev-OFI5OSM7.cjs +0 -12
- package/dist/models-dev-OU3ACSEQ.js +0 -3
- package/dist/netlify-OPNSZBGQ.js +0 -3
- package/dist/netlify-YVCTG2Z3.cjs +0 -12
- package/dist/provider-registry-73NPBVKH.cjs +0 -40
- package/dist/provider-registry-KYR3I44P.js +0 -3
|
@@ -1,172 +1,172 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNTF7UIBI_cjs = require('../chunk-NTF7UIBI.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 chunkNTF7UIBI_cjs.BaseProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNTF7UIBI_cjs.BatchPartsProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNTF7UIBI_cjs.FilePartSchema; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNTF7UIBI_cjs.ImagePartSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkNTF7UIBI_cjs.LanguageDetector; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkNTF7UIBI_cjs.MessageContentSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessageHistory", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkNTF7UIBI_cjs.MessageHistory; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkNTF7UIBI_cjs.MessagePartSchema; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkNTF7UIBI_cjs.ModerationProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PIIDetector", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkNTF7UIBI_cjs.PIIDetector; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorInputPhaseSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorInputStepPhaseSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorMessageContentSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorMessageSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorOutputResultPhaseSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorOutputStepPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorRunner; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorState", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorState; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorStepInputSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorStepOutputSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkNTF7UIBI_cjs.ProcessorStepSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkNTF7UIBI_cjs.PromptInjectionDetector; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkNTF7UIBI_cjs.ReasoningPartSchema; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkNTF7UIBI_cjs.SemanticRecall; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SkillsProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkNTF7UIBI_cjs.SkillsProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkNTF7UIBI_cjs.SourcePartSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkNTF7UIBI_cjs.StepStartPartSchema; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkNTF7UIBI_cjs.StructuredOutputProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkNTF7UIBI_cjs.SystemPromptScrubber; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkNTF7UIBI_cjs.TextPartSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkNTF7UIBI_cjs.TokenLimiterProcessor; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkNTF7UIBI_cjs.TokenLimiterProcessor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkNTF7UIBI_cjs.ToolCallFilter; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkNTF7UIBI_cjs.ToolInvocationPartSchema; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "ToolSearchProcessor", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkNTF7UIBI_cjs.ToolSearchProcessor; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkNTF7UIBI_cjs.UnicodeNormalizer; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkNTF7UIBI_cjs.WorkingMemory; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkNTF7UIBI_cjs.WorkspaceInstructionsProcessor; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "globalEmbeddingCache", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkNTF7UIBI_cjs.globalEmbeddingCache; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkNTF7UIBI_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-OYAS35A6.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/processors/processors/skills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAS,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AAClF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAMhE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAMD;;;;GAIG;AACH,qBAAa,eAAgB,YAAW,SAAS,CAAC,kBAAkB,CAAC;IACnE,QAAQ,CAAC,EAAE,EAAG,kBAAkB,CAAU;IAC1C,QAAQ,CAAC,IAAI,sBAAsB;IAEnC,yBAAyB;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IAEvC,iCAAiC;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAc;gBAE1B,IAAI,EAAE,sBAAsB;IAKxC;;OAEG;IACH,OAAO,KAAK,MAAM,GAEjB;IAED;;;OAGG;IACG,UAAU,IAAI,OAAO,CACzB,KAAK,CAAC;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC,CACH;IAeD;;OAEG;IACH,OAAO,CAAC,cAAc;IAItB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAIxB;;;OAGG;YACW,qBAAqB;
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../../src/processors/processors/skills.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,KAAK,EAAS,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AAClF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAMhE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,SAAS,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAMD;;;;GAIG;AACH,qBAAa,eAAgB,YAAW,SAAS,CAAC,kBAAkB,CAAC;IACnE,QAAQ,CAAC,EAAE,EAAG,kBAAkB,CAAU;IAC1C,QAAQ,CAAC,IAAI,sBAAsB;IAEnC,yBAAyB;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAY;IAEvC,iCAAiC;IACjC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAc;gBAE1B,IAAI,EAAE,sBAAsB;IAKxC;;OAEG;IACH,OAAO,KAAK,MAAM,GAEjB;IAED;;;OAGG;IACG,UAAU,IAAI,OAAO,CACzB,KAAK,CAAC;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC,CACH;IAeD;;OAEG;IACH,OAAO,CAAC,cAAc;IAItB;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAIxB;;;OAGG;YACW,qBAAqB;IAkEnC;;OAEG;IACH,OAAO,CAAC,SAAS;IAajB;;;OAGG;IACG,gBAAgB,CAAC,EAAE,WAAW,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,oBAAoB;CA6BzF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { GatewayRegistry, PROVIDER_MODELS, PROVIDER_REGISTRY, getProviderConfig, getRegisteredProviders, isProviderRegistered, isValidModelId, parseModelString } from './chunk-YIUXBYAI.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-INQUWPG6.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-INQUWPG6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-INQUWPG6.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkSXVV5X4E_cjs = require('./chunk-SXVV5X4E.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkSXVV5X4E_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkSXVV5X4E_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkSXVV5X4E_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkSXVV5X4E_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkSXVV5X4E_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkSXVV5X4E_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkSXVV5X4E_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkSXVV5X4E_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-UIDQJHBI.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-UIDQJHBI.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-UIDQJHBI.cjs"}
|
|
@@ -2048,13 +2048,14 @@
|
|
|
2048
2048
|
"name": "Vivgrid",
|
|
2049
2049
|
"models": [
|
|
2050
2050
|
"deepseek-v3.2",
|
|
2051
|
-
"gemini-3-flash-preview",
|
|
2052
|
-
"gemini-3-pro-preview",
|
|
2051
|
+
"gemini-3.1-flash-lite-preview",
|
|
2052
|
+
"gemini-3.1-pro-preview",
|
|
2053
2053
|
"glm-5",
|
|
2054
2054
|
"gpt-5-mini",
|
|
2055
2055
|
"gpt-5.1-codex",
|
|
2056
2056
|
"gpt-5.1-codex-max",
|
|
2057
|
-
"gpt-5.2-codex"
|
|
2057
|
+
"gpt-5.2-codex",
|
|
2058
|
+
"gpt-5.4"
|
|
2058
2059
|
],
|
|
2059
2060
|
"docUrl": "https://docs.vivgrid.com/models",
|
|
2060
2061
|
"gateway": "models.dev",
|
|
@@ -2826,7 +2827,6 @@
|
|
|
2826
2827
|
"Llama-3_1-Nemotron-Ultra-253B-v1",
|
|
2827
2828
|
"MiniMax-M2.5",
|
|
2828
2829
|
"NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
2829
|
-
"Qwen2.5-Coder-32B-Instruct",
|
|
2830
2830
|
"gpt-oss-120b"
|
|
2831
2831
|
],
|
|
2832
2832
|
"docUrl": "https://api.vultrinference.com/",
|
|
@@ -5836,13 +5836,14 @@
|
|
|
5836
5836
|
],
|
|
5837
5837
|
"vivgrid": [
|
|
5838
5838
|
"deepseek-v3.2",
|
|
5839
|
-
"gemini-3-flash-preview",
|
|
5840
|
-
"gemini-3-pro-preview",
|
|
5839
|
+
"gemini-3.1-flash-lite-preview",
|
|
5840
|
+
"gemini-3.1-pro-preview",
|
|
5841
5841
|
"glm-5",
|
|
5842
5842
|
"gpt-5-mini",
|
|
5843
5843
|
"gpt-5.1-codex",
|
|
5844
5844
|
"gpt-5.1-codex-max",
|
|
5845
|
-
"gpt-5.2-codex"
|
|
5845
|
+
"gpt-5.2-codex",
|
|
5846
|
+
"gpt-5.4"
|
|
5846
5847
|
],
|
|
5847
5848
|
"moonshotai-cn": [
|
|
5848
5849
|
"kimi-k2-0711-preview",
|
|
@@ -6454,7 +6455,6 @@
|
|
|
6454
6455
|
"Llama-3_1-Nemotron-Ultra-253B-v1",
|
|
6455
6456
|
"MiniMax-M2.5",
|
|
6456
6457
|
"NVIDIA-Nemotron-3-Super-120B-A12B-NVFP4",
|
|
6457
|
-
"Qwen2.5-Coder-32B-Instruct",
|
|
6458
6458
|
"gpt-oss-120b"
|
|
6459
6459
|
],
|
|
6460
6460
|
"baseten": [
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNTF7UIBI_cjs = require('../chunk-NTF7UIBI.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 chunkNTF7UIBI_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 (chunkNTF7UIBI_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