@mastra/core 1.26.0-alpha.12 → 1.26.0-alpha.13
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 +2 -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-QRGHKCIG.js → chunk-24FTWXDR.js} +3 -3
- package/dist/{chunk-QRGHKCIG.js.map → chunk-24FTWXDR.js.map} +1 -1
- package/dist/{chunk-W7KMJBO2.cjs → chunk-2NQ2TF5F.cjs} +12 -12
- package/dist/{chunk-W7KMJBO2.cjs.map → chunk-2NQ2TF5F.cjs.map} +1 -1
- package/dist/{chunk-IPSDBZHB.cjs → chunk-34M2QMAZ.cjs} +292 -292
- package/dist/{chunk-IPSDBZHB.cjs.map → chunk-34M2QMAZ.cjs.map} +1 -1
- package/dist/{chunk-2E6D5DQ5.js → chunk-37OQ7B3U.js} +3 -3
- package/dist/{chunk-2E6D5DQ5.js.map → chunk-37OQ7B3U.js.map} +1 -1
- package/dist/{chunk-WUWY4NUR.cjs → chunk-4MLJKGJI.cjs} +22 -20
- package/dist/chunk-4MLJKGJI.cjs.map +1 -0
- package/dist/{chunk-BE3VZ4TY.cjs → chunk-7IMHDDED.cjs} +57 -57
- package/dist/{chunk-BE3VZ4TY.cjs.map → chunk-7IMHDDED.cjs.map} +1 -1
- package/dist/{chunk-PB3JPQ7B.js → chunk-DHKEEJPE.js} +3 -3
- package/dist/{chunk-PB3JPQ7B.js.map → chunk-DHKEEJPE.js.map} +1 -1
- package/dist/{chunk-NTLWGWDT.js → chunk-DLDGEMBE.js} +3 -3
- package/dist/{chunk-NTLWGWDT.js.map → chunk-DLDGEMBE.js.map} +1 -1
- package/dist/{chunk-N63HAAVB.cjs → chunk-ER7WPKHP.cjs} +7 -7
- package/dist/{chunk-N63HAAVB.cjs.map → chunk-ER7WPKHP.cjs.map} +1 -1
- package/dist/{chunk-X22POPDU.js → chunk-FE3JBPGZ.js} +9 -9
- package/dist/{chunk-X22POPDU.js.map → chunk-FE3JBPGZ.js.map} +1 -1
- package/dist/{chunk-7K6DJUAN.js → chunk-GDUBYVBH.js} +4 -4
- package/dist/{chunk-7K6DJUAN.js.map → chunk-GDUBYVBH.js.map} +1 -1
- package/dist/{chunk-SUQSRI7N.cjs → chunk-GSJT6X23.cjs} +6 -6
- package/dist/{chunk-SUQSRI7N.cjs.map → chunk-GSJT6X23.cjs.map} +1 -1
- package/dist/{chunk-LUBVBTV4.cjs → chunk-KEXLOZNA.cjs} +17 -17
- package/dist/{chunk-LUBVBTV4.cjs.map → chunk-KEXLOZNA.cjs.map} +1 -1
- package/dist/{chunk-E7XQRCBI.js → chunk-NTGYHDWA.js} +10 -8
- package/dist/chunk-NTGYHDWA.js.map +1 -0
- package/dist/{chunk-SMOA623A.js → chunk-SQAGQFGX.js} +3 -3
- package/dist/{chunk-SMOA623A.js.map → chunk-SQAGQFGX.js.map} +1 -1
- package/dist/{chunk-4M66KVRT.js → chunk-T5WE2PEP.js} +6 -6
- package/dist/{chunk-4M66KVRT.js.map → chunk-T5WE2PEP.js.map} +1 -1
- package/dist/{chunk-YXGUPFLQ.cjs → chunk-TITDW65H.cjs} +9 -9
- package/dist/{chunk-YXGUPFLQ.cjs.map → chunk-TITDW65H.cjs.map} +1 -1
- package/dist/{chunk-QKGC723H.cjs → chunk-WBZ5SRGR.cjs} +3 -3
- package/dist/{chunk-QKGC723H.cjs.map → chunk-WBZ5SRGR.cjs.map} +1 -1
- package/dist/{chunk-V2EI5DBA.cjs → chunk-WDJZB44P.cjs} +224 -224
- package/dist/{chunk-V2EI5DBA.cjs.map → chunk-WDJZB44P.cjs.map} +1 -1
- package/dist/{chunk-JD7WSJTA.js → chunk-WSVLXQT6.js} +4 -4
- package/dist/{chunk-JD7WSJTA.js.map → chunk-WSVLXQT6.js.map} +1 -1
- package/dist/{chunk-GP7MJGMS.js → chunk-WYPOS74A.js} +3 -3
- package/dist/{chunk-GP7MJGMS.js.map → chunk-WYPOS74A.js.map} +1 -1
- package/dist/{chunk-J4G423VO.cjs → chunk-YQ5QJC3S.cjs} +5 -5
- package/dist/{chunk-J4G423VO.cjs.map → chunk-YQ5QJC3S.cjs.map} +1 -1
- package/dist/datasets/index.cjs +11 -11
- package/dist/datasets/index.js +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +134 -134
- 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 +1 -0
- 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-47JQIPP2.cjs +12 -0
- package/dist/{mastra-GAT6GCQK.cjs.map → mastra-47JQIPP2.cjs.map} +1 -1
- package/dist/mastra-MEZUGGZZ.js +3 -0
- package/dist/{mastra-MYONAFWU.js.map → mastra-MEZUGGZZ.js.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-BUQGQZCQ.js +3 -0
- package/dist/{models-dev-D7X3KQB6.js.map → models-dev-BUQGQZCQ.js.map} +1 -1
- package/dist/models-dev-INA3VBAK.cjs +12 -0
- package/dist/{models-dev-E4OIS4CB.cjs.map → models-dev-INA3VBAK.cjs.map} +1 -1
- package/dist/netlify-BW7IYASM.cjs +12 -0
- package/dist/{netlify-KZCZ3W3P.cjs.map → netlify-BW7IYASM.cjs.map} +1 -1
- package/dist/netlify-EQPVEYNW.js +3 -0
- package/dist/{netlify-PIYWGUPG.js.map → netlify-EQPVEYNW.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 +45 -45
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-4FV6CXQI.cjs +44 -0
- package/dist/{provider-registry-7DRCW3PP.cjs.map → provider-registry-4FV6CXQI.cjs.map} +1 -1
- package/dist/provider-registry-EAKPPU44.js +3 -0
- package/dist/{provider-registry-4PDBM3Q4.js.map → provider-registry-EAKPPU44.js.map} +1 -1
- package/dist/provider-registry.json +2 -0
- 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 +4 -4
- package/src/llm/model/provider-types.generated.d.ts +1 -0
- package/dist/chunk-E7XQRCBI.js.map +0 -1
- package/dist/chunk-WUWY4NUR.cjs.map +0 -1
- package/dist/mastra-GAT6GCQK.cjs +0 -12
- package/dist/mastra-MYONAFWU.js +0 -3
- package/dist/models-dev-D7X3KQB6.js +0 -3
- package/dist/models-dev-E4OIS4CB.cjs +0 -12
- package/dist/netlify-KZCZ3W3P.cjs +0 -12
- package/dist/netlify-PIYWGUPG.js +0 -3
- package/dist/provider-registry-4PDBM3Q4.js +0 -3
- package/dist/provider-registry-7DRCW3PP.cjs +0 -44
package/CHANGELOG.md
CHANGED
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
|
|
4
4
|
var chunkUFKCK75F_cjs = require('../chunk-UFKCK75F.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Agent", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk2NQ2TF5F_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TripWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk2NQ2TF5F_cjs.TripWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isSupportedLanguageModel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk2NQ2TF5F_cjs.isSupportedLanguageModel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveThreadIdFromArgs", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk2NQ2TF5F_cjs.resolveThreadIdFromArgs; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk2NQ2TF5F_cjs.supportedLanguageModelSpecifications; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk2NQ2TF5F_cjs.tryGenerateWithJsonFallback; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk2NQ2TF5F_cjs.tryStreamWithJsonFallback; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "MessageList", {
|
|
37
37
|
enumerable: true,
|
package/dist/agent/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-
|
|
1
|
+
export { Agent, TripWire, isSupportedLanguageModel, resolveThreadIdFromArgs, supportedLanguageModelSpecifications, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-DLDGEMBE.js';
|
|
2
2
|
export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-EFTNMBKQ.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/browser/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
|
|
4
4
|
var chunkFCQNDFEW_cjs = require('../chunk-FCQNDFEW.cjs');
|
|
5
5
|
var chunk7GW2TQXP_cjs = require('../chunk-7GW2TQXP.cjs');
|
|
6
6
|
var fs = require('fs');
|
|
@@ -1145,7 +1145,7 @@ To fix this, either:
|
|
|
1145
1145
|
*/
|
|
1146
1146
|
getInputProcessors(configuredProcessors = []) {
|
|
1147
1147
|
const hasProcessor = configuredProcessors.some(
|
|
1148
|
-
(p) => !
|
|
1148
|
+
(p) => !chunk2NQ2TF5F_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
|
|
1149
1149
|
);
|
|
1150
1150
|
if (hasProcessor) return [];
|
|
1151
1151
|
return [new BrowserContextProcessor()];
|
package/dist/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isProcessorWorkflow } from '../chunk-
|
|
1
|
+
import { isProcessorWorkflow } from '../chunk-DLDGEMBE.js';
|
|
2
2
|
import { MastraBase } from '../chunk-WENZPAHS.js';
|
|
3
3
|
import { RegisteredLogger } from '../chunk-DBBWTK24.js';
|
|
4
4
|
import { existsSync, readdirSync, lstatSync, unlinkSync } from 'fs';
|
package/dist/channels/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2NQ2TF5F_cjs = require('../chunk-2NQ2TF5F.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AgentChannels", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk2NQ2TF5F_cjs.AgentChannels; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ChatChannelProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk2NQ2TF5F_cjs.ChatChannelProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MastraStateAdapter", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk2NQ2TF5F_cjs.MastraStateAdapter; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/channels/index.js
CHANGED
|
@@ -13372,7 +13372,7 @@ var MastraModelGateway = class {
|
|
|
13372
13372
|
};
|
|
13373
13373
|
|
|
13374
13374
|
// src/llm/model/gateways/constants.ts
|
|
13375
|
-
var MASTRA_USER_AGENT = `mastra/${"1.26.0-alpha.
|
|
13375
|
+
var MASTRA_USER_AGENT = `mastra/${"1.26.0-alpha.13"}` ;
|
|
13376
13376
|
var PROVIDERS_WITH_INSTALLED_PACKAGES = [
|
|
13377
13377
|
"anthropic",
|
|
13378
13378
|
"cerebras",
|
|
@@ -21368,5 +21368,5 @@ function createGoogleGenerativeAI(options = {}) {
|
|
|
21368
21368
|
createGoogleGenerativeAI();
|
|
21369
21369
|
|
|
21370
21370
|
export { AISDKError, AISDKError2, APICallError, APICallError2, EXCLUDED_PROVIDERS, EmptyResponseBodyError, EventSourceParserStream, GATEWAY_AUTH_HEADER, InvalidArgumentError, InvalidPromptError, InvalidResponseDataError, InvalidResponseDataError2, JSONParseError, LoadAPIKeyError, LoadSettingError, MASTRA_USER_AGENT, MastraModelGateway, NoSuchModelError, NoSuchModelError2, OpenAICompatibleChatLanguageModel, OpenAICompatibleCompletionLanguageModel, OpenAICompatibleEmbeddingModel, PROVIDERS_WITH_INSTALLED_PACKAGES, TooManyEmbeddingValuesForCallError, TooManyEmbeddingValuesForCallError2, TypeValidationError, UnsupportedFunctionalityError, UnsupportedFunctionalityError2, combineHeaders, combineHeaders2, convertBase64ToUint8Array, convertBase64ToUint8Array2, convertImageModelFileToDataUri, convertToBase64, convertToBase642, convertUint8ArrayToBase64, convertUint8ArrayToBase642, createAnthropic, createBinaryResponseHandler, createBinaryResponseHandler2, createEventSourceResponseHandler, createEventSourceResponseHandler2, createGoogleGenerativeAI, createJsonErrorResponseHandler, createJsonErrorResponseHandler2, createJsonResponseHandler, createJsonResponseHandler2, createOpenAI, createOpenAICompatible, createProviderDefinedToolFactory, createProviderDefinedToolFactoryWithOutputSchema, createProviderToolFactory, createProviderToolFactoryWithOutputSchema, createStatusCodeErrorResponseHandler2 as createStatusCodeErrorResponseHandler, delay2 as delay, dist_exports, extractResponseHeaders2 as extractResponseHeaders, generateId, generateId2, getFromApi2 as getFromApi, injectJsonInstructionIntoMessages2 as injectJsonInstructionIntoMessages, isParsableJson, isParsableJson2, lazySchema, lazySchema2, lazyValidator, loadApiKey, loadApiKey2, loadOptionalSetting, mediaTypeToExtension, mediaTypeToExtension2, parseProviderOptions, parseProviderOptions2, postFormDataToApi, postFormDataToApi2, postJsonToApi, postJsonToApi2, resolve, safeParseJSON2 as safeParseJSON, validateTypes, validateTypes2, withUserAgentSuffix, withUserAgentSuffix2, withoutTrailingSlash, withoutTrailingSlash2, zodSchema, zodSchema2 };
|
|
21371
|
-
//# sourceMappingURL=chunk-
|
|
21372
|
-
//# sourceMappingURL=chunk-
|
|
21371
|
+
//# sourceMappingURL=chunk-24FTWXDR.js.map
|
|
21372
|
+
//# sourceMappingURL=chunk-24FTWXDR.js.map
|