@mastra/core 1.15.0-alpha.0 → 1.15.0-alpha.2
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 +33 -0
- package/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/{chunk-JBYJDZT5.js → chunk-4YKZNIK6.js} +4 -4
- package/dist/{chunk-JBYJDZT5.js.map → chunk-4YKZNIK6.js.map} +1 -1
- package/dist/{chunk-I5ON7TPA.cjs → chunk-7BM5LQHF.cjs} +82 -82
- package/dist/{chunk-I5ON7TPA.cjs.map → chunk-7BM5LQHF.cjs.map} +1 -1
- package/dist/{chunk-IST54Q37.js → chunk-ASVFCNLS.js} +7 -7
- package/dist/{chunk-IST54Q37.js.map → chunk-ASVFCNLS.js.map} +1 -1
- package/dist/{chunk-DGSXFZGZ.js → chunk-CTJLKJMO.js} +10 -6
- package/dist/chunk-CTJLKJMO.js.map +1 -0
- package/dist/{chunk-4JBWS3Y6.js → chunk-EAWVRIHS.js} +3 -3
- package/dist/{chunk-4JBWS3Y6.js.map → chunk-EAWVRIHS.js.map} +1 -1
- package/dist/{chunk-7GXY5CDK.js → chunk-ECAVJWAH.js} +4 -4
- package/dist/{chunk-7GXY5CDK.js.map → chunk-ECAVJWAH.js.map} +1 -1
- package/dist/{chunk-EG3QZTQQ.cjs → chunk-EFYYAFWD.cjs} +19 -15
- package/dist/chunk-EFYYAFWD.cjs.map +1 -0
- package/dist/{chunk-ORYC6WMY.js → chunk-EYLPPZIF.js} +4 -2
- package/dist/chunk-EYLPPZIF.js.map +1 -0
- package/dist/{chunk-FIOAZZAM.js → chunk-FNOAF2SZ.js} +3 -3
- package/dist/{chunk-FIOAZZAM.js.map → chunk-FNOAF2SZ.js.map} +1 -1
- package/dist/{chunk-GMUEV4ML.cjs → chunk-FYQXIWRH.cjs} +4 -2
- package/dist/chunk-FYQXIWRH.cjs.map +1 -0
- package/dist/{chunk-KZLBDSIF.js → chunk-HIZDAENF.js} +3 -3
- package/dist/{chunk-KZLBDSIF.js.map → chunk-HIZDAENF.js.map} +1 -1
- package/dist/{chunk-7XPMIQIK.js → chunk-JIBMK2QP.js} +8 -8
- package/dist/{chunk-7XPMIQIK.js.map → chunk-JIBMK2QP.js.map} +1 -1
- package/dist/{chunk-CBLM3UY3.js → chunk-KCZ3R5SF.js} +3 -3
- package/dist/{chunk-CBLM3UY3.js.map → chunk-KCZ3R5SF.js.map} +1 -1
- package/dist/{chunk-Y2I3C7FR.cjs → chunk-M5BDH7B4.cjs} +6 -6
- package/dist/{chunk-Y2I3C7FR.cjs.map → chunk-M5BDH7B4.cjs.map} +1 -1
- package/dist/{chunk-4CC2ZV3B.js → chunk-MHTWFVXK.js} +3 -3
- package/dist/{chunk-4CC2ZV3B.js.map → chunk-MHTWFVXK.js.map} +1 -1
- package/dist/{chunk-REVBDBHI.cjs → chunk-NWPRZZ2K.cjs} +48 -48
- package/dist/{chunk-REVBDBHI.cjs.map → chunk-NWPRZZ2K.cjs.map} +1 -1
- package/dist/{chunk-PEKFBFE2.cjs → chunk-ORHPD25N.cjs} +7 -7
- package/dist/{chunk-PEKFBFE2.cjs.map → chunk-ORHPD25N.cjs.map} +1 -1
- package/dist/{chunk-SV6VG3XO.cjs → chunk-OX63O3QG.cjs} +5 -5
- package/dist/{chunk-SV6VG3XO.cjs.map → chunk-OX63O3QG.cjs.map} +1 -1
- package/dist/{chunk-NSJS72DA.cjs → chunk-Q64Z437G.cjs} +15 -15
- package/dist/{chunk-NSJS72DA.cjs.map → chunk-Q64Z437G.cjs.map} +1 -1
- package/dist/{chunk-W4R4TA4Z.cjs → chunk-RFZB2PQE.cjs} +9 -9
- package/dist/{chunk-W4R4TA4Z.cjs.map → chunk-RFZB2PQE.cjs.map} +1 -1
- package/dist/{chunk-J7UJLVIQ.cjs → chunk-TJB7IK7N.cjs} +19 -11
- package/dist/chunk-TJB7IK7N.cjs.map +1 -0
- package/dist/{chunk-OT7UVM2Z.cjs → chunk-X4RVX77L.cjs} +185 -185
- package/dist/{chunk-OT7UVM2Z.cjs.map → chunk-X4RVX77L.cjs.map} +1 -1
- package/dist/{chunk-XVOLOB5X.cjs → chunk-YV5UMIRV.cjs} +3 -3
- package/dist/{chunk-XVOLOB5X.cjs.map → chunk-YV5UMIRV.cjs.map} +1 -1
- package/dist/{chunk-SCTBRRU3.js → chunk-Z76WT6W3.js} +18 -10
- package/dist/chunk-Z76WT6W3.js.map +1 -0
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +10 -11
- package/dist/docs/assets/SOURCE_MAP.json +154 -154
- package/dist/docs/references/docs-agents-agent-approval.md +114 -193
- package/dist/docs/references/docs-agents-guardrails.md +120 -167
- package/dist/docs/references/docs-agents-networks.md +88 -205
- package/dist/docs/references/docs-agents-overview.md +47 -256
- package/dist/docs/references/docs-agents-processors.md +201 -297
- package/dist/docs/references/docs-agents-structured-output.md +13 -22
- package/dist/docs/references/docs-agents-supervisor-agents.md +24 -18
- package/dist/docs/references/docs-agents-using-tools.md +81 -104
- package/dist/docs/references/docs-memory-observational-memory.md +4 -2
- package/dist/docs/references/docs-memory-overview.md +219 -24
- package/dist/docs/references/docs-memory-semantic-recall.md +1 -1
- package/dist/docs/references/docs-memory-storage.md +4 -4
- package/dist/docs/references/docs-memory-working-memory.md +1 -1
- package/dist/docs/references/docs-observability-overview.md +1 -1
- package/dist/docs/references/docs-observability-tracing-exporters-arize.md +1 -1
- package/dist/docs/references/docs-server-request-context.md +1 -1
- package/dist/docs/references/docs-workflows-overview.md +1 -1
- package/dist/docs/references/docs-workspace-overview.md +1 -1
- package/dist/docs/references/guides-concepts-multi-agent-systems.md +75 -0
- package/dist/docs/references/reference-agents-agent.md +6 -8
- package/dist/docs/references/reference-agents-generate.md +74 -23
- package/dist/docs/references/reference-agents-getMemory.md +1 -1
- package/dist/docs/references/reference-agents-network.md +2 -2
- package/dist/docs/references/reference-ai-sdk-network-route.md +1 -1
- package/dist/docs/references/reference-ai-sdk-with-mastra.md +1 -1
- package/dist/docs/references/reference-core-getMemory.md +1 -2
- package/dist/docs/references/reference-core-listMemory.md +1 -2
- package/dist/docs/references/reference-harness-harness-class.md +2 -2
- package/dist/docs/references/reference-memory-observational-memory.md +3 -1
- package/dist/docs/references/reference-processors-processor-interface.md +2 -0
- package/dist/docs/references/reference-storage-overview.md +1 -1
- package/dist/docs/references/reference-templates-overview.md +1 -1
- package/dist/docs/references/reference-tools-create-tool.md +16 -4
- 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/harness.d.ts +3 -0
- package/dist/harness/harness.d.ts.map +1 -1
- package/dist/harness/index.cjs +48 -13
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +46 -11
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/types.d.ts +11 -0
- package/dist/harness/types.d.ts.map +1 -1
- 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/llm/model/model.d.ts.map +1 -1
- package/dist/llm/model/provider-types.generated.d.ts +6 -2
- 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/memory/index.cjs +14 -14
- package/dist/memory/index.js +1 -1
- package/dist/memory/types.d.ts +7 -0
- package/dist/memory/types.d.ts.map +1 -1
- package/dist/models-dev-E6FRPGHV.js +3 -0
- package/dist/{models-dev-5BT32JYX.js.map → models-dev-E6FRPGHV.js.map} +1 -1
- package/dist/models-dev-WIROJ2IM.cjs +12 -0
- package/dist/{models-dev-OTMJW4WK.cjs.map → models-dev-WIROJ2IM.cjs.map} +1 -1
- package/dist/netlify-7IRBQ2BY.cjs +12 -0
- package/dist/{netlify-DT2P2NQD.cjs.map → netlify-7IRBQ2BY.cjs.map} +1 -1
- package/dist/netlify-OAGRP6WY.js +3 -0
- package/dist/{netlify-FJCQU3OY.js.map → netlify-OAGRP6WY.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 +42 -42
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-2MHU2NP6.js +3 -0
- package/dist/{provider-registry-BCSAL2IQ.js.map → provider-registry-2MHU2NP6.js.map} +1 -1
- package/dist/provider-registry-FINEGQHE.cjs +40 -0
- package/dist/{provider-registry-65WCBR2K.cjs.map → provider-registry-FINEGQHE.cjs.map} +1 -1
- package/dist/provider-registry.json +14 -6
- 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/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/workflows/default.d.ts +2 -2
- package/dist/workflows/default.d.ts.map +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 +7 -7
- package/src/llm/model/provider-types.generated.d.ts +6 -2
- package/dist/chunk-DGSXFZGZ.js.map +0 -1
- package/dist/chunk-EG3QZTQQ.cjs.map +0 -1
- package/dist/chunk-GMUEV4ML.cjs.map +0 -1
- package/dist/chunk-J7UJLVIQ.cjs.map +0 -1
- package/dist/chunk-ORYC6WMY.js.map +0 -1
- package/dist/chunk-SCTBRRU3.js.map +0 -1
- package/dist/docs/references/docs-agents-agent-memory.md +0 -209
- package/dist/docs/references/docs-agents-network-approval.md +0 -278
- package/dist/models-dev-5BT32JYX.js +0 -3
- package/dist/models-dev-OTMJW4WK.cjs +0 -12
- package/dist/netlify-DT2P2NQD.cjs +0 -12
- package/dist/netlify-FJCQU3OY.js +0 -3
- package/dist/provider-registry-65WCBR2K.cjs +0 -40
- package/dist/provider-registry-BCSAL2IQ.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEFYYAFWD_cjs = require('../chunk-EFYYAFWD.cjs');
|
|
4
4
|
var v4 = require('zod/v4');
|
|
5
5
|
|
|
6
6
|
// src/processor-provider/types.ts
|
|
@@ -67,7 +67,7 @@ var unicodeNormalizerProvider = {
|
|
|
67
67
|
}),
|
|
68
68
|
availablePhases: ["processInput"],
|
|
69
69
|
createProcessor(config) {
|
|
70
|
-
return new
|
|
70
|
+
return new chunkEFYYAFWD_cjs.UnicodeNormalizer(config);
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
var tokenLimiterProvider = {
|
|
@@ -83,7 +83,7 @@ var tokenLimiterProvider = {
|
|
|
83
83
|
}),
|
|
84
84
|
availablePhases: ["processInput", "processOutputStream", "processOutputResult"],
|
|
85
85
|
createProcessor(config) {
|
|
86
|
-
return new
|
|
86
|
+
return new chunkEFYYAFWD_cjs.TokenLimiterProcessor(
|
|
87
87
|
config
|
|
88
88
|
);
|
|
89
89
|
}
|
|
@@ -99,7 +99,7 @@ var toolCallFilterProvider = {
|
|
|
99
99
|
}),
|
|
100
100
|
availablePhases: ["processInput"],
|
|
101
101
|
createProcessor(config) {
|
|
102
|
-
return new
|
|
102
|
+
return new chunkEFYYAFWD_cjs.ToolCallFilter(config);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
var batchPartsProvider = {
|
|
@@ -115,7 +115,7 @@ var batchPartsProvider = {
|
|
|
115
115
|
}),
|
|
116
116
|
availablePhases: ["processOutputStream"],
|
|
117
117
|
createProcessor(config) {
|
|
118
|
-
return new
|
|
118
|
+
return new chunkEFYYAFWD_cjs.BatchPartsProcessor(config);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
var moderationProvider = {
|
|
@@ -137,7 +137,7 @@ var moderationProvider = {
|
|
|
137
137
|
}),
|
|
138
138
|
availablePhases: ["processInput", "processOutputResult", "processOutputStream"],
|
|
139
139
|
createProcessor(config) {
|
|
140
|
-
return new
|
|
140
|
+
return new chunkEFYYAFWD_cjs.ModerationProcessor(config);
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
var promptInjectionDetectorProvider = {
|
|
@@ -158,7 +158,7 @@ var promptInjectionDetectorProvider = {
|
|
|
158
158
|
}),
|
|
159
159
|
availablePhases: ["processInput"],
|
|
160
160
|
createProcessor(config) {
|
|
161
|
-
return new
|
|
161
|
+
return new chunkEFYYAFWD_cjs.PromptInjectionDetector(config);
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
var piiDetectorProvider = {
|
|
@@ -181,7 +181,7 @@ var piiDetectorProvider = {
|
|
|
181
181
|
}),
|
|
182
182
|
availablePhases: ["processInput"],
|
|
183
183
|
createProcessor(config) {
|
|
184
|
-
return new
|
|
184
|
+
return new chunkEFYYAFWD_cjs.PIIDetector(config);
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
var languageDetectorProvider = {
|
|
@@ -204,7 +204,7 @@ var languageDetectorProvider = {
|
|
|
204
204
|
}),
|
|
205
205
|
availablePhases: ["processInput"],
|
|
206
206
|
createProcessor(config) {
|
|
207
|
-
return new
|
|
207
|
+
return new chunkEFYYAFWD_cjs.LanguageDetector(config);
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
var systemPromptScrubberProvider = {
|
|
@@ -225,7 +225,7 @@ var systemPromptScrubberProvider = {
|
|
|
225
225
|
}),
|
|
226
226
|
availablePhases: ["processOutputStream", "processOutputResult"],
|
|
227
227
|
createProcessor(config) {
|
|
228
|
-
return new
|
|
228
|
+
return new chunkEFYYAFWD_cjs.SystemPromptScrubber(config);
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
var BUILT_IN_PROCESSOR_PROVIDERS = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UnicodeNormalizer, TokenLimiterProcessor, ToolCallFilter, BatchPartsProcessor, ModerationProcessor, PromptInjectionDetector, PIIDetector, LanguageDetector, SystemPromptScrubber } from '../chunk-
|
|
1
|
+
import { UnicodeNormalizer, TokenLimiterProcessor, ToolCallFilter, BatchPartsProcessor, ModerationProcessor, PromptInjectionDetector, PIIDetector, LanguageDetector, SystemPromptScrubber } from '../chunk-CTJLKJMO.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
|
|
4
4
|
// src/processor-provider/types.ts
|
|
@@ -1,172 +1,172 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEFYYAFWD_cjs = require('../chunk-EFYYAFWD.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 chunkEFYYAFWD_cjs.BaseProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "BatchPartsProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEFYYAFWD_cjs.BatchPartsProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "FilePartSchema", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEFYYAFWD_cjs.FilePartSchema; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ImagePartSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkEFYYAFWD_cjs.ImagePartSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "LanguageDetector", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkEFYYAFWD_cjs.LanguageDetector; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "MessageContentSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkEFYYAFWD_cjs.MessageContentSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "MessageHistory", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkEFYYAFWD_cjs.MessageHistory; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "MessagePartSchema", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkEFYYAFWD_cjs.MessagePartSchema; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "ModerationProcessor", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkEFYYAFWD_cjs.ModerationProcessor; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "PIIDetector", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkEFYYAFWD_cjs.PIIDetector; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "ProcessorInputPhaseSchema", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorInputPhaseSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ProcessorInputStepPhaseSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorInputStepPhaseSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "ProcessorMessageContentSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorMessageContentSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "ProcessorMessageSchema", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorMessageSchema; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ProcessorOutputResultPhaseSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorOutputResultPhaseSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ProcessorOutputStepPhaseSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorOutputStepPhaseSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ProcessorOutputStreamPhaseSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorOutputStreamPhaseSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "ProcessorRunner", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorRunner; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "ProcessorState", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorState; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "ProcessorStepInputSchema", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorStepInputSchema; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ProcessorStepOutputSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorStepOutputSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "ProcessorStepSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkEFYYAFWD_cjs.ProcessorStepSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "PromptInjectionDetector", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkEFYYAFWD_cjs.PromptInjectionDetector; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ReasoningPartSchema", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkEFYYAFWD_cjs.ReasoningPartSchema; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "SemanticRecall", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkEFYYAFWD_cjs.SemanticRecall; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "SkillsProcessor", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkEFYYAFWD_cjs.SkillsProcessor; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "SourcePartSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkEFYYAFWD_cjs.SourcePartSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "StepStartPartSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkEFYYAFWD_cjs.StepStartPartSchema; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "StructuredOutputProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkEFYYAFWD_cjs.StructuredOutputProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "SystemPromptScrubber", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkEFYYAFWD_cjs.SystemPromptScrubber; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "TextPartSchema", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkEFYYAFWD_cjs.TextPartSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "TokenLimiter", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkEFYYAFWD_cjs.TokenLimiterProcessor; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "TokenLimiterProcessor", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkEFYYAFWD_cjs.TokenLimiterProcessor; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "ToolCallFilter", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkEFYYAFWD_cjs.ToolCallFilter; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "ToolInvocationPartSchema", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkEFYYAFWD_cjs.ToolInvocationPartSchema; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "ToolSearchProcessor", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkEFYYAFWD_cjs.ToolSearchProcessor; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "UnicodeNormalizer", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkEFYYAFWD_cjs.UnicodeNormalizer; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "WorkingMemory", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkEFYYAFWD_cjs.WorkingMemory; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "WorkspaceInstructionsProcessor", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkEFYYAFWD_cjs.WorkspaceInstructionsProcessor; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "globalEmbeddingCache", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkEFYYAFWD_cjs.globalEmbeddingCache; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "isProcessorWorkflow", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkEFYYAFWD_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-CTJLKJMO.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-Z76WT6W3.js';
|
|
2
|
+
//# sourceMappingURL=provider-registry-2MHU2NP6.js.map
|
|
3
|
+
//# sourceMappingURL=provider-registry-2MHU2NP6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-2MHU2NP6.js"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkTJB7IK7N_cjs = require('./chunk-TJB7IK7N.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "GatewayRegistry", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkTJB7IK7N_cjs.GatewayRegistry; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "PROVIDER_MODELS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkTJB7IK7N_cjs.PROVIDER_MODELS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "PROVIDER_REGISTRY", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkTJB7IK7N_cjs.PROVIDER_REGISTRY; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "getProviderConfig", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkTJB7IK7N_cjs.getProviderConfig; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "getRegisteredProviders", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkTJB7IK7N_cjs.getRegisteredProviders; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "isProviderRegistered", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkTJB7IK7N_cjs.isProviderRegistered; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "isValidModelId", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkTJB7IK7N_cjs.isValidModelId; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "parseModelString", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkTJB7IK7N_cjs.parseModelString; }
|
|
38
|
+
});
|
|
39
|
+
//# sourceMappingURL=provider-registry-FINEGQHE.cjs.map
|
|
40
|
+
//# sourceMappingURL=provider-registry-FINEGQHE.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"provider-registry-FINEGQHE.cjs"}
|
|
@@ -891,7 +891,8 @@
|
|
|
891
891
|
"gpt-5.4-nano",
|
|
892
892
|
"gpt-5.4-pro",
|
|
893
893
|
"kimi-k2.5",
|
|
894
|
-
"mimo-v2-
|
|
894
|
+
"mimo-v2-omni-free",
|
|
895
|
+
"mimo-v2-pro-free",
|
|
895
896
|
"minimax-m2.5",
|
|
896
897
|
"minimax-m2.5-free",
|
|
897
898
|
"nemotron-3-super-free"
|
|
@@ -1718,6 +1719,7 @@
|
|
|
1718
1719
|
"minimax/minimax-m2",
|
|
1719
1720
|
"minimax/minimax-m2.1",
|
|
1720
1721
|
"minimax/minimax-m2.5",
|
|
1722
|
+
"minimax/minimax-m2.7",
|
|
1721
1723
|
"mistralai/codestral-2508",
|
|
1722
1724
|
"mistralai/devstral-2512",
|
|
1723
1725
|
"mistralai/devstral-2512:free",
|
|
@@ -2140,7 +2142,7 @@
|
|
|
2140
2142
|
"apiKeyEnvVar": "OPENCODE_API_KEY",
|
|
2141
2143
|
"apiKeyHeader": "Authorization",
|
|
2142
2144
|
"name": "OpenCode Go",
|
|
2143
|
-
"models": ["glm-5", "kimi-k2.5", "minimax-m2.5"],
|
|
2145
|
+
"models": ["glm-5", "kimi-k2.5", "minimax-m2.5", "minimax-m2.7"],
|
|
2144
2146
|
"docUrl": "https://opencode.ai/docs/zen",
|
|
2145
2147
|
"gateway": "models.dev"
|
|
2146
2148
|
},
|
|
@@ -2154,7 +2156,7 @@
|
|
|
2154
2156
|
"gateway": "models.dev"
|
|
2155
2157
|
},
|
|
2156
2158
|
"firmware": {
|
|
2157
|
-
"url": "https://app.
|
|
2159
|
+
"url": "https://app.frogbot.ai/api/v1",
|
|
2158
2160
|
"apiKeyEnvVar": "FIRMWARE_API_KEY",
|
|
2159
2161
|
"apiKeyHeader": "Authorization",
|
|
2160
2162
|
"name": "Firmware",
|
|
@@ -2184,7 +2186,7 @@
|
|
|
2184
2186
|
"kimi-k2.5",
|
|
2185
2187
|
"minimax-m2-5"
|
|
2186
2188
|
],
|
|
2187
|
-
"docUrl": "https://docs.
|
|
2189
|
+
"docUrl": "https://docs.frogbot.ai",
|
|
2188
2190
|
"gateway": "models.dev"
|
|
2189
2191
|
},
|
|
2190
2192
|
"ovhcloud": {
|
|
@@ -2602,6 +2604,8 @@
|
|
|
2602
2604
|
"minimax/minimax-m2.1-lightning",
|
|
2603
2605
|
"minimax/minimax-m2.5",
|
|
2604
2606
|
"minimax/minimax-m2.5-highspeed",
|
|
2607
|
+
"minimax/minimax-m2.7",
|
|
2608
|
+
"minimax/minimax-m2.7-highspeed",
|
|
2605
2609
|
"mistral/codestral",
|
|
2606
2610
|
"mistral/codestral-embed",
|
|
2607
2611
|
"mistral/devstral-2",
|
|
@@ -4916,7 +4920,8 @@
|
|
|
4916
4920
|
"gpt-5.4-nano",
|
|
4917
4921
|
"gpt-5.4-pro",
|
|
4918
4922
|
"kimi-k2.5",
|
|
4919
|
-
"mimo-v2-
|
|
4923
|
+
"mimo-v2-omni-free",
|
|
4924
|
+
"mimo-v2-pro-free",
|
|
4920
4925
|
"minimax-m2.5",
|
|
4921
4926
|
"minimax-m2.5-free",
|
|
4922
4927
|
"nemotron-3-super-free"
|
|
@@ -5551,6 +5556,7 @@
|
|
|
5551
5556
|
"minimax/minimax-m2",
|
|
5552
5557
|
"minimax/minimax-m2.1",
|
|
5553
5558
|
"minimax/minimax-m2.5",
|
|
5559
|
+
"minimax/minimax-m2.7",
|
|
5554
5560
|
"mistralai/codestral-2508",
|
|
5555
5561
|
"mistralai/devstral-2512",
|
|
5556
5562
|
"mistralai/devstral-2512:free",
|
|
@@ -5882,7 +5888,7 @@
|
|
|
5882
5888
|
"glm-5",
|
|
5883
5889
|
"glm-5-turbo"
|
|
5884
5890
|
],
|
|
5885
|
-
"opencode-go": ["glm-5", "kimi-k2.5", "minimax-m2.5"],
|
|
5891
|
+
"opencode-go": ["glm-5", "kimi-k2.5", "minimax-m2.5", "minimax-m2.7"],
|
|
5886
5892
|
"drun": ["public/deepseek-r1", "public/deepseek-v3", "public/minimax-m25"],
|
|
5887
5893
|
"firmware": [
|
|
5888
5894
|
"claude-haiku-4-5",
|
|
@@ -6266,6 +6272,8 @@
|
|
|
6266
6272
|
"minimax/minimax-m2.1-lightning",
|
|
6267
6273
|
"minimax/minimax-m2.5",
|
|
6268
6274
|
"minimax/minimax-m2.5-highspeed",
|
|
6275
|
+
"minimax/minimax-m2.7",
|
|
6276
|
+
"minimax/minimax-m2.7-highspeed",
|
|
6269
6277
|
"mistral/codestral",
|
|
6270
6278
|
"mistral/codestral-embed",
|
|
6271
6279
|
"mistral/devstral-2",
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEFYYAFWD_cjs = require('../chunk-EFYYAFWD.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 chunkEFYYAFWD_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 (chunkEFYYAFWD_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
package/dist/stream/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEFYYAFWD_cjs = require('../chunk-EFYYAFWD.cjs');
|
|
4
4
|
var chunkO6O5MD7Q_cjs = require('../chunk-O6O5MD7Q.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ChunkFrom", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkEFYYAFWD_cjs.ChunkFrom; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "MastraAgentNetworkStream", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkEFYYAFWD_cjs.MastraAgentNetworkStream; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "MastraModelOutput", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkEFYYAFWD_cjs.MastraModelOutput; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "WorkflowRunOutput", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkEFYYAFWD_cjs.WorkflowRunOutput; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "convertFullStreamChunkToMastra", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkEFYYAFWD_cjs.convertFullStreamChunkToMastra; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "convertFullStreamChunkToUIMessageStream", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkEFYYAFWD_cjs.convertFullStreamChunkToUIMessageStream; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "convertMastraChunkToAISDKv5", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkEFYYAFWD_cjs.convertMastraChunkToAISDKv5; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "DefaultGeneratedFile", {
|
|
37
37
|
enumerable: true,
|
package/dist/stream/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-
|
|
1
|
+
export { ChunkFrom, MastraAgentNetworkStream, MastraModelOutput, WorkflowRunOutput, convertFullStreamChunkToMastra, convertFullStreamChunkToUIMessageStream, convertMastraChunkToAISDKv5 } from '../chunk-CTJLKJMO.js';
|
|
2
2
|
export { DefaultGeneratedFile, DefaultGeneratedFileWithType } from '../chunk-YPJ5V2S5.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFYQXIWRH_cjs = require('../chunk-FYQXIWRH.cjs');
|
|
4
4
|
var chunkSQINVD7G_cjs = require('../chunk-SQINVD7G.cjs');
|
|
5
5
|
var async_hooks = require('async_hooks');
|
|
6
6
|
|
|
@@ -14364,11 +14364,11 @@ var MastraLanguageModelV2Mock = class {
|
|
|
14364
14364
|
this.supportedUrls = this.#model.supportedUrls;
|
|
14365
14365
|
}
|
|
14366
14366
|
doGenerate(options) {
|
|
14367
|
-
const aiSDKModel = new
|
|
14367
|
+
const aiSDKModel = new chunkFYQXIWRH_cjs.AISDKV5LanguageModel(this.#model);
|
|
14368
14368
|
return aiSDKModel.doGenerate(options);
|
|
14369
14369
|
}
|
|
14370
14370
|
doStream(options) {
|
|
14371
|
-
const aiSDKModel = new
|
|
14371
|
+
const aiSDKModel = new chunkFYQXIWRH_cjs.AISDKV5LanguageModel(this.#model);
|
|
14372
14372
|
return aiSDKModel.doStream(options);
|
|
14373
14373
|
}
|
|
14374
14374
|
get doGenerateCalls() {
|
|
@@ -14471,7 +14471,7 @@ function createMockModel({
|
|
|
14471
14471
|
});
|
|
14472
14472
|
return mockModel;
|
|
14473
14473
|
}
|
|
14474
|
-
var MockProvider = class extends
|
|
14474
|
+
var MockProvider = class extends chunkFYQXIWRH_cjs.MastraLLMV1 {
|
|
14475
14475
|
constructor({
|
|
14476
14476
|
spyGenerate,
|
|
14477
14477
|
spyStream,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AISDKV5LanguageModel, MastraLLMV1 } from '../chunk-
|
|
1
|
+
import { AISDKV5LanguageModel, MastraLLMV1 } from '../chunk-EYLPPZIF.js';
|
|
2
2
|
import { simulateReadableStream, __require } from '../chunk-EB2EH2RY.js';
|
|
3
3
|
export { simulateReadableStream } from '../chunk-EB2EH2RY.js';
|
|
4
4
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkORHPD25N_cjs = require('../chunk-ORHPD25N.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "getSettings", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkORHPD25N_cjs.getSettings; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "isToolLoopAgentLike", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkORHPD25N_cjs.isToolLoopAgentLike; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "toolLoopAgentToMastraAgent", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkORHPD25N_cjs.toolLoopAgentToMastraAgent; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-
|
|
1
|
+
export { getSettings, isToolLoopAgentLike, toolLoopAgentToMastraAgent } from '../chunk-4YKZNIK6.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { RequestContext } from '../di/index.js';
|
|
2
2
|
import type { SerializedError } from '../error/index.js';
|
|
3
3
|
import type { PubSub } from '../events/pubsub.js';
|
|
4
4
|
import type { ObservabilityContext, Span, SpanType, TracingPolicy } from '../observability/index.js';
|
|
@@ -276,7 +276,7 @@ export declare class DefaultExecutionEngine extends ExecutionEngine {
|
|
|
276
276
|
*/
|
|
277
277
|
serializeRequestContext(requestContext: RequestContext): Record<string, any>;
|
|
278
278
|
/**
|
|
279
|
-
* Deserialize a plain object back to a RequestContext
|
|
279
|
+
* Deserialize a plain object back to a RequestContext instance.
|
|
280
280
|
* Used to restore context after durable execution replay.
|
|
281
281
|
*/
|
|
282
282
|
protected deserializeRequestContext(obj: Record<string, any>): RequestContext;
|