@mastra/core 1.24.1-alpha.0 → 1.24.1-alpha.1
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 +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-MYYPIBLR.js → chunk-35VW6IXX.js} +3 -3
- package/dist/{chunk-MYYPIBLR.js.map → chunk-35VW6IXX.js.map} +1 -1
- package/dist/{chunk-6TQZIQ23.js → chunk-47CEV52O.js} +6 -6
- package/dist/{chunk-6TQZIQ23.js.map → chunk-47CEV52O.js.map} +1 -1
- package/dist/{chunk-4636ENMP.cjs → chunk-4MTDYIII.cjs} +20 -20
- package/dist/{chunk-4636ENMP.cjs.map → chunk-4MTDYIII.cjs.map} +1 -1
- package/dist/{chunk-JG7M2F2C.js → chunk-5SVDDL2G.js} +3 -3
- package/dist/{chunk-JG7M2F2C.js.map → chunk-5SVDDL2G.js.map} +1 -1
- package/dist/{chunk-KQABOPAK.js → chunk-7RO64H5E.js} +4 -4
- package/dist/{chunk-KQABOPAK.js.map → chunk-7RO64H5E.js.map} +1 -1
- package/dist/{chunk-IWMYLZQ6.js → chunk-ABEBCXBS.js} +3 -3
- package/dist/{chunk-IWMYLZQ6.js.map → chunk-ABEBCXBS.js.map} +1 -1
- package/dist/{chunk-QBUDLHGF.js → chunk-AX4KVIF5.js} +3 -3
- package/dist/{chunk-QBUDLHGF.js.map → chunk-AX4KVIF5.js.map} +1 -1
- package/dist/{chunk-HAF2U4ON.cjs → chunk-CWGTLGSP.cjs} +17 -17
- package/dist/{chunk-HAF2U4ON.cjs.map → chunk-CWGTLGSP.cjs.map} +1 -1
- package/dist/{chunk-W7JPJ5VP.cjs → chunk-IIKJ5JCQ.cjs} +3 -3
- package/dist/{chunk-W7JPJ5VP.cjs.map → chunk-IIKJ5JCQ.cjs.map} +1 -1
- package/dist/{chunk-JRTGAEET.js → chunk-LWVE3M3O.js} +9 -9
- package/dist/{chunk-JRTGAEET.js.map → chunk-LWVE3M3O.js.map} +1 -1
- package/dist/{chunk-NWGH6OSA.cjs → chunk-M4SXMLXQ.cjs} +48 -48
- package/dist/{chunk-NWGH6OSA.cjs.map → chunk-M4SXMLXQ.cjs.map} +1 -1
- package/dist/{chunk-XOJF3SNB.js → chunk-ME233XCK.js} +3 -3
- package/dist/{chunk-XOJF3SNB.js.map → chunk-ME233XCK.js.map} +1 -1
- package/dist/{chunk-NC3NDZWM.cjs → chunk-NLXCE3DZ.cjs} +185 -185
- package/dist/{chunk-NC3NDZWM.cjs.map → chunk-NLXCE3DZ.cjs.map} +1 -1
- package/dist/{chunk-K2NJIVZ5.cjs → chunk-NPYKTS7A.cjs} +13 -13
- package/dist/{chunk-K2NJIVZ5.cjs.map → chunk-NPYKTS7A.cjs.map} +1 -1
- package/dist/{chunk-5CPRW7GV.js → chunk-OFDFDY4Z.js} +3 -3
- package/dist/{chunk-5CPRW7GV.js.map → chunk-OFDFDY4Z.js.map} +1 -1
- package/dist/{chunk-AX3PKXOT.cjs → chunk-PPO7XBMN.cjs} +6 -6
- package/dist/{chunk-AX3PKXOT.cjs.map → chunk-PPO7XBMN.cjs.map} +1 -1
- package/dist/{chunk-H2SFI3RZ.cjs → chunk-PYASEKXX.cjs} +7 -7
- package/dist/{chunk-H2SFI3RZ.cjs.map → chunk-PYASEKXX.cjs.map} +1 -1
- package/dist/{chunk-CNCOPROQ.cjs → chunk-PZM6K6FM.cjs} +9 -9
- package/dist/{chunk-CNCOPROQ.cjs.map → chunk-PZM6K6FM.cjs.map} +1 -1
- package/dist/{chunk-XCFSSKCI.cjs → chunk-UHYAP2CY.cjs} +5 -5
- package/dist/{chunk-XCFSSKCI.cjs.map → chunk-UHYAP2CY.cjs.map} +1 -1
- package/dist/{chunk-Y6I7BKY3.cjs → chunk-UO7YAJUZ.cjs} +77 -77
- package/dist/{chunk-Y6I7BKY3.cjs.map → chunk-UO7YAJUZ.cjs.map} +1 -1
- package/dist/{chunk-RKBY3V7R.js → chunk-VU6HRJVR.js} +4 -4
- package/dist/{chunk-RKBY3V7R.js.map → chunk-VU6HRJVR.js.map} +1 -1
- package/dist/{chunk-Q55SOMNM.js → chunk-ZOAOX42T.js} +8 -8
- package/dist/{chunk-Q55SOMNM.js.map → chunk-ZOAOX42T.js.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 +130 -130
- 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 +15 -10
- package/dist/harness/index.cjs.map +1 -1
- package/dist/harness/index.js +13 -8
- package/dist/harness/index.js.map +1 -1
- package/dist/harness/tools.d.ts.map +1 -1
- 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/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-OH6I32WA.cjs +12 -0
- package/dist/{mastra-KYZOJWVP.cjs.map → mastra-OH6I32WA.cjs.map} +1 -1
- package/dist/mastra-YHTRM6PO.js +3 -0
- package/dist/{mastra-THXHB2YW.js.map → mastra-YHTRM6PO.js.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-AK3PM7JN.js +3 -0
- package/dist/{models-dev-Y4N5GCLA.js.map → models-dev-AK3PM7JN.js.map} +1 -1
- package/dist/models-dev-EG6RENUZ.cjs +12 -0
- package/dist/{models-dev-JNR72RHW.cjs.map → models-dev-EG6RENUZ.cjs.map} +1 -1
- package/dist/netlify-UT6JYWWM.js +3 -0
- package/dist/{netlify-IGYUFSZG.js.map → netlify-UT6JYWWM.js.map} +1 -1
- package/dist/netlify-YRTIOZZA.cjs +12 -0
- package/dist/{netlify-C25NVF5O.cjs.map → netlify-YRTIOZZA.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 +44 -44
- package/dist/processors/index.js +1 -1
- package/dist/provider-registry-LIYLQVA7.js +3 -0
- package/dist/{provider-registry-3HZNLU3V.js.map → provider-registry-LIYLQVA7.js.map} +1 -1
- package/dist/provider-registry-W3UHSSXG.cjs +44 -0
- package/dist/{provider-registry-PKUEVZXH.cjs.map → provider-registry-W3UHSSXG.cjs.map} +1 -1
- 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 +3 -3
- package/dist/mastra-KYZOJWVP.cjs +0 -12
- package/dist/mastra-THXHB2YW.js +0 -3
- package/dist/models-dev-JNR72RHW.cjs +0 -12
- package/dist/models-dev-Y4N5GCLA.js +0 -3
- package/dist/netlify-C25NVF5O.cjs +0 -12
- package/dist/netlify-IGYUFSZG.js +0 -3
- package/dist/provider-registry-3HZNLU3V.js +0 -3
- package/dist/provider-registry-PKUEVZXH.cjs +0 -44
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 1.24.1-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fixed subagent writing observations to the parent agent's memory thread. When a parent agent spawns a subagent via `createSubagentTool`, the subagent now receives its own isolated request context with `threadId` and `resourceId` cleared, preventing it from corrupting the parent's observation history. ([#15103](https://github.com/mastra-ai/mastra/pull/15103))
|
|
8
|
+
|
|
3
9
|
## 1.24.1-alpha.0
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNPYKTS7A_cjs = require('../chunk-NPYKTS7A.cjs');
|
|
4
4
|
var chunkRJAOQKHJ_cjs = require('../chunk-RJAOQKHJ.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 chunkNPYKTS7A_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TripWire", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkNPYKTS7A_cjs.TripWire; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "isSupportedLanguageModel", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkNPYKTS7A_cjs.isSupportedLanguageModel; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveThreadIdFromArgs", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkNPYKTS7A_cjs.resolveThreadIdFromArgs; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "supportedLanguageModelSpecifications", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkNPYKTS7A_cjs.supportedLanguageModelSpecifications; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkNPYKTS7A_cjs.tryGenerateWithJsonFallback; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkNPYKTS7A_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-5SVDDL2G.js';
|
|
2
2
|
export { MessageList, TypeDetector, aiV5ModelMessageToV2PromptMessage, convertMessages } from '../chunk-I7DUPZFN.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 chunkNPYKTS7A_cjs = require('../chunk-NPYKTS7A.cjs');
|
|
4
4
|
var chunkFCQNDFEW_cjs = require('../chunk-FCQNDFEW.cjs');
|
|
5
5
|
var chunk7GW2TQXP_cjs = require('../chunk-7GW2TQXP.cjs');
|
|
6
6
|
var events = require('events');
|
|
@@ -1037,7 +1037,7 @@ To fix this, either:
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
getInputProcessors(configuredProcessors = []) {
|
|
1039
1039
|
const hasProcessor = configuredProcessors.some(
|
|
1040
|
-
(p) => !
|
|
1040
|
+
(p) => !chunkNPYKTS7A_cjs.isProcessorWorkflow(p) && "id" in p && p.id === "browser-context"
|
|
1041
1041
|
);
|
|
1042
1042
|
if (hasProcessor) return [];
|
|
1043
1043
|
return [new BrowserContextProcessor()];
|
package/dist/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isProcessorWorkflow } from '../chunk-
|
|
1
|
+
import { isProcessorWorkflow } from '../chunk-5SVDDL2G.js';
|
|
2
2
|
import { MastraBase } from '../chunk-WENZPAHS.js';
|
|
3
3
|
import { RegisteredLogger } from '../chunk-DBBWTK24.js';
|
|
4
4
|
import { EventEmitter } from 'events';
|
package/dist/channels/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNPYKTS7A_cjs = require('../chunk-NPYKTS7A.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 chunkNPYKTS7A_cjs.AgentChannels; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ChatChannelProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNPYKTS7A_cjs.ChatChannelProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "MastraStateAdapter", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNPYKTS7A_cjs.MastraStateAdapter; }
|
|
18
18
|
});
|
|
19
19
|
//# sourceMappingURL=index.cjs.map
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/channels/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { lazySchema, zodSchema, createJsonErrorResponseHandler, createProviderDefinedToolFactory, createProviderDefinedToolFactoryWithOutputSchema, withoutTrailingSlash, OpenAICompatibleChatLanguageModel, generateId, withUserAgentSuffix, loadApiKey, parseProviderOptions, postJsonToApi, createJsonResponseHandler, combineHeaders, createEventSourceResponseHandler, InvalidResponseDataError, isParsableJson, injectJsonInstructionIntoMessages, APICallError, extractResponseHeaders, safeParseJSON, UnsupportedFunctionalityError, convertToBase64, NoSuchModelError, OpenAICompatibleCompletionLanguageModel, OpenAICompatibleEmbeddingModel, MastraModelGateway, EXCLUDED_PROVIDERS, PROVIDERS_WITH_INSTALLED_PACKAGES, createAnthropic, MASTRA_USER_AGENT, createOpenAI, createGoogleGenerativeAI, createOpenAICompatible, TooManyEmbeddingValuesForCallError, OpenAICompatibleImageModel, convertBase64ToUint8Array, mediaTypeToExtension, postFormDataToApi, validateTypes, convertUint8ArrayToBase64 } from './chunk-
|
|
1
|
+
import { lazySchema, zodSchema, createJsonErrorResponseHandler, createProviderDefinedToolFactory, createProviderDefinedToolFactoryWithOutputSchema, withoutTrailingSlash, OpenAICompatibleChatLanguageModel, generateId, withUserAgentSuffix, loadApiKey, parseProviderOptions, postJsonToApi, createJsonResponseHandler, combineHeaders, createEventSourceResponseHandler, InvalidResponseDataError, isParsableJson, injectJsonInstructionIntoMessages, APICallError, extractResponseHeaders, safeParseJSON, UnsupportedFunctionalityError, convertToBase64, NoSuchModelError, OpenAICompatibleCompletionLanguageModel, OpenAICompatibleEmbeddingModel, MastraModelGateway, EXCLUDED_PROVIDERS, PROVIDERS_WITH_INSTALLED_PACKAGES, createAnthropic, MASTRA_USER_AGENT, createOpenAI, createGoogleGenerativeAI, createOpenAICompatible, TooManyEmbeddingValuesForCallError, OpenAICompatibleImageModel, convertBase64ToUint8Array, mediaTypeToExtension, postFormDataToApi, validateTypes, convertUint8ArrayToBase64 } from './chunk-AX4KVIF5.js';
|
|
2
2
|
import { createGatewayProvider } from './chunk-Q6PTFJUZ.js';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
4
|
|
|
@@ -8002,5 +8002,5 @@ var ModelsDevGateway = class extends MastraModelGateway {
|
|
|
8002
8002
|
};
|
|
8003
8003
|
|
|
8004
8004
|
export { ModelsDevGateway, createOpenRouter, parseModelRouterId };
|
|
8005
|
-
//# sourceMappingURL=chunk-
|
|
8006
|
-
//# sourceMappingURL=chunk-
|
|
8005
|
+
//# sourceMappingURL=chunk-35VW6IXX.js.map
|
|
8006
|
+
//# sourceMappingURL=chunk-35VW6IXX.js.map
|