@mastra/core 0.15.3-alpha.0 → 0.15.3-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/dist/agent/index.cjs +8 -8
- package/dist/agent/index.js +1 -1
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/{chunk-6JAIHLZY.js → chunk-5NGEKEU7.js} +10 -3
- package/dist/chunk-5NGEKEU7.js.map +1 -0
- package/dist/{chunk-I2YGYG3Y.cjs → chunk-7OSUKFNG.cjs} +11 -4
- package/dist/chunk-7OSUKFNG.cjs.map +1 -0
- package/dist/{chunk-IAOFOXVA.js → chunk-BRNBKCHE.js} +3 -3
- package/dist/chunk-BRNBKCHE.js.map +1 -0
- package/dist/{chunk-GVMFAUQR.cjs → chunk-GEPX327P.cjs} +12 -2
- package/dist/chunk-GEPX327P.cjs.map +1 -0
- package/dist/{chunk-2KK7QQH2.cjs → chunk-HHLPYCQG.cjs} +4 -4
- package/dist/{chunk-2KK7QQH2.cjs.map → chunk-HHLPYCQG.cjs.map} +1 -1
- package/dist/{chunk-YPT3YX6U.cjs → chunk-HXYE4EJA.cjs} +7 -7
- package/dist/{chunk-YPT3YX6U.cjs.map → chunk-HXYE4EJA.cjs.map} +1 -1
- package/dist/{chunk-Q67FV4QB.js → chunk-IYCG5OVT.js} +3 -3
- package/dist/{chunk-Q67FV4QB.js.map → chunk-IYCG5OVT.js.map} +1 -1
- package/dist/{chunk-EEGBKQYC.js → chunk-T64BA34G.js} +3 -3
- package/dist/{chunk-EEGBKQYC.js.map → chunk-T64BA34G.js.map} +1 -1
- package/dist/{chunk-Y3WIANDM.js → chunk-UT6KEZRF.js} +3 -3
- package/dist/{chunk-Y3WIANDM.js.map → chunk-UT6KEZRF.js.map} +1 -1
- package/dist/{chunk-SFLYVXLG.cjs → chunk-VBAWR62U.cjs} +3 -3
- package/dist/chunk-VBAWR62U.cjs.map +1 -0
- package/dist/{chunk-7U76TYYN.cjs → chunk-WHEH32QU.cjs} +4 -4
- package/dist/{chunk-7U76TYYN.cjs.map → chunk-WHEH32QU.cjs.map} +1 -1
- package/dist/{chunk-IKOGUY3M.js → chunk-Z73WO76N.js} +4 -2
- package/dist/chunk-Z73WO76N.js.map +1 -0
- package/dist/index.cjs +27 -19
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/llm/model/model.d.ts.map +1 -1
- package/dist/loop/index.cjs +2 -2
- package/dist/loop/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/network/index.cjs +2 -2
- package/dist/network/index.js +1 -1
- package/dist/network/vNext/index.cjs +12 -12
- package/dist/network/vNext/index.js +1 -1
- package/dist/processors/index.cjs +8 -8
- package/dist/processors/index.js +2 -2
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +5 -5
- package/dist/scores/index.js +1 -1
- package/dist/stream/aisdk/v5/compat.d.ts +8 -117
- package/dist/stream/aisdk/v5/compat.d.ts.map +1 -1
- package/dist/stream/index.cjs +3 -3
- package/dist/stream/index.js +1 -1
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/vector/embed.d.ts +3 -0
- package/dist/vector/embed.d.ts.map +1 -0
- package/dist/vector/index.cjs +10 -2
- package/dist/vector/index.d.ts +1 -0
- package/dist/vector/index.d.ts.map +1 -1
- package/dist/vector/index.js +1 -1
- package/dist/vector/vector.d.ts +3 -0
- package/dist/vector/vector.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 +10 -10
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-6JAIHLZY.js.map +0 -1
- package/dist/chunk-GVMFAUQR.cjs.map +0 -1
- package/dist/chunk-I2YGYG3Y.cjs.map +0 -1
- package/dist/chunk-IAOFOXVA.js.map +0 -1
- package/dist/chunk-IKOGUY3M.js.map +0 -1
- package/dist/chunk-SFLYVXLG.cjs.map +0 -1
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7OSUKFNG_cjs = require('../chunk-7OSUKFNG.cjs');
|
|
4
4
|
var chunkQA2TWVUS_cjs = require('../chunk-QA2TWVUS.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 chunk7OSUKFNG_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk7OSUKFNG_cjs.LanguageDetectorInputProcessor; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ModerationInputProcessor", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk7OSUKFNG_cjs.ModerationInputProcessor; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "PIIDetectorInputProcessor", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk7OSUKFNG_cjs.PIIDetectorInputProcessor; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk7OSUKFNG_cjs.PromptInjectionDetectorInputProcessor; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "TripWire", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk7OSUKFNG_cjs.TripWire; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk7OSUKFNG_cjs.UnicodeNormalizerInputProcessor; }
|
|
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, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor } from '../chunk-
|
|
1
|
+
export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor } from '../chunk-5NGEKEU7.js';
|
|
2
2
|
export { MessageList, convertMessages } from '../chunk-C5C4PN54.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7OSUKFNG_cjs = require('../../chunk-7OSUKFNG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk7OSUKFNG_cjs.LanguageDetectorInputProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ModerationInputProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7OSUKFNG_cjs.ModerationInputProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PIIDetectorInputProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk7OSUKFNG_cjs.PIIDetectorInputProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk7OSUKFNG_cjs.PromptInjectionDetectorInputProcessor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk7OSUKFNG_cjs.UnicodeNormalizerInputProcessor; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=index.cjs.map
|
|
28
28
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-
|
|
1
|
+
export { LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, UnicodeNormalizerInputProcessor } from '../../chunk-5NGEKEU7.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefaultVoice } from './chunk-XM2ASGWH.js';
|
|
2
2
|
import { EMITTER_SYMBOL } from './chunk-GK5V7YTQ.js';
|
|
3
3
|
import { InstrumentClass, Telemetry } from './chunk-76MWMAR7.js';
|
|
4
|
-
import { MastraLLMV1 } from './chunk-
|
|
4
|
+
import { MastraLLMV1 } from './chunk-BRNBKCHE.js';
|
|
5
5
|
import { MessageList, DefaultGeneratedFile, DefaultGeneratedFileWithType } from './chunk-C5C4PN54.js';
|
|
6
6
|
import { executeHook } from './chunk-TTELJD4F.js';
|
|
7
7
|
import { ensureToolProperties, makeCoreTool, createMastraProxy, delay } from './chunk-FLXWZUIG.js';
|
|
@@ -454,6 +454,13 @@ function convertFullStreamChunkToUIMessageStream({
|
|
|
454
454
|
} : {})
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
+
case "tool-output":
|
|
458
|
+
{
|
|
459
|
+
return {
|
|
460
|
+
id: part.toolCallId,
|
|
461
|
+
...part.output
|
|
462
|
+
};
|
|
463
|
+
}
|
|
457
464
|
case "tool-error":
|
|
458
465
|
{
|
|
459
466
|
return {
|
|
@@ -15460,5 +15467,5 @@ function deepMergeWorkflowState(a, b) {
|
|
|
15460
15467
|
}
|
|
15461
15468
|
|
|
15462
15469
|
export { AISDKV5OutputStream, Agent, DefaultExecutionEngine, ExecutionEngine, LanguageDetector, LanguageDetectorInputProcessor, LegacyStep, LegacyWorkflow, MastraModelOutput, ModerationInputProcessor, ModerationProcessor, PIIDetector, PIIDetectorInputProcessor, PromptInjectionDetector, PromptInjectionDetectorInputProcessor, Run, StructuredOutputProcessor, TripWire, UnicodeNormalizer, UnicodeNormalizerInputProcessor, WhenConditionReturnValue, Workflow, agentToStep, cloneStep, cloneWorkflow, createStep, createWorkflow, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isConditionalKey, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, loop, mapVariable, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep };
|
|
15463
|
-
//# sourceMappingURL=chunk-
|
|
15464
|
-
//# sourceMappingURL=chunk-
|
|
15470
|
+
//# sourceMappingURL=chunk-5NGEKEU7.js.map
|
|
15471
|
+
//# sourceMappingURL=chunk-5NGEKEU7.js.map
|