@mastra/core 0.19.0-alpha.1 → 0.19.0
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 +59 -0
- 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-LT6NPN3E.js → chunk-5BQOHHCI.js} +3 -3
- package/dist/{chunk-LT6NPN3E.js.map → chunk-5BQOHHCI.js.map} +1 -1
- package/dist/{chunk-YJQDN37F.cjs → chunk-BCWRUNMS.cjs} +4 -4
- package/dist/{chunk-YJQDN37F.cjs.map → chunk-BCWRUNMS.cjs.map} +1 -1
- package/dist/{chunk-JWSZSM7U.js → chunk-COC64XPP.js} +3 -3
- package/dist/{chunk-JWSZSM7U.js.map → chunk-COC64XPP.js.map} +1 -1
- package/dist/{chunk-OSZMRVWP.js → chunk-FV3SA5TI.js} +3 -3
- package/dist/{chunk-OSZMRVWP.js.map → chunk-FV3SA5TI.js.map} +1 -1
- package/dist/{chunk-4LGYM3WV.cjs → chunk-HNBU4PI7.cjs} +4 -4
- package/dist/{chunk-4LGYM3WV.cjs.map → chunk-HNBU4PI7.cjs.map} +1 -1
- package/dist/{chunk-JJW5JU2G.js → chunk-JKLLXBOY.js} +3 -3
- package/dist/{chunk-JJW5JU2G.js.map → chunk-JKLLXBOY.js.map} +1 -1
- package/dist/{chunk-47WWN5FW.cjs → chunk-LZBVDMVQ.cjs} +7 -7
- package/dist/{chunk-47WWN5FW.cjs.map → chunk-LZBVDMVQ.cjs.map} +1 -1
- package/dist/{chunk-3CCJVNYI.cjs → chunk-PG6ZNDSR.cjs} +12 -12
- package/dist/{chunk-3CCJVNYI.cjs.map → chunk-PG6ZNDSR.cjs.map} +1 -1
- package/dist/{chunk-PLATPKJA.cjs → chunk-RNIY63FP.cjs} +3 -3
- package/dist/{chunk-PLATPKJA.cjs.map → chunk-RNIY63FP.cjs.map} +1 -1
- package/dist/{chunk-MAGA2UEJ.js → chunk-VWO3JJXC.js} +3 -3
- package/dist/{chunk-MAGA2UEJ.js.map → chunk-VWO3JJXC.js.map} +1 -1
- package/dist/index.cjs +19 -19
- package/dist/index.js +4 -4
- 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/vNext/index.cjs +28 -28
- package/dist/network/vNext/index.cjs.map +1 -1
- package/dist/network/vNext/index.js +2 -2
- package/dist/network/vNext/index.js.map +1 -1
- package/dist/processors/index.cjs +10 -10
- package/dist/processors/index.js +1 -1
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.js +1 -1
- package/dist/scores/index.cjs +4 -4
- package/dist/scores/index.js +1 -1
- package/dist/scores/scoreTraces/index.cjs +3 -3
- package/dist/scores/scoreTraces/index.js +1 -1
- package/dist/stream/index.cjs +4 -4
- package/dist/stream/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 +12 -12
- 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 +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,64 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add spanId column to scores table ([#8154](https://github.com/mastra-ai/mastra/pull/8154))
|
|
8
|
+
|
|
9
|
+
- changed ai_trace_spans table schema to use text for span_type column. ([#8027](https://github.com/mastra-ai/mastra/pull/8027))
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Remove legacy helpers ([#8017](https://github.com/mastra-ai/mastra/pull/8017))
|
|
14
|
+
|
|
15
|
+
- add a way to hide the deploy mastra cloud button ([#8137](https://github.com/mastra-ai/mastra/pull/8137))
|
|
16
|
+
|
|
17
|
+
- Core error processing - safeParse error object ([#8312](https://github.com/mastra-ai/mastra/pull/8312))
|
|
18
|
+
|
|
19
|
+
- Fix score input and output types ([#8153](https://github.com/mastra-ai/mastra/pull/8153))
|
|
20
|
+
|
|
21
|
+
- fix cloudflare deployer build ([#8105](https://github.com/mastra-ai/mastra/pull/8105))
|
|
22
|
+
|
|
23
|
+
- make suspend optional and move types.ts containing DynamicArgument to types folder ([#8305](https://github.com/mastra-ai/mastra/pull/8305))
|
|
24
|
+
|
|
25
|
+
- When an error would happen in a function like onStepResult, there are other code that executes synchronously and will execute after the controller already closes. We need to make sure we're only trying to enqueue chunks when the controller is still open. ([#8186](https://github.com/mastra-ai/mastra/pull/8186))
|
|
26
|
+
|
|
27
|
+
- Bring back ToolInvocationOptions for createTool execute function ([#8206](https://github.com/mastra-ai/mastra/pull/8206))
|
|
28
|
+
|
|
29
|
+
- Throw is memory is not passed to the routing agent. ([#8313](https://github.com/mastra-ai/mastra/pull/8313))
|
|
30
|
+
|
|
31
|
+
- Return the selection reason as the result if the agent could not route and pick a primitive ([#8308](https://github.com/mastra-ai/mastra/pull/8308))
|
|
32
|
+
|
|
33
|
+
- Mastra model router ([#8235](https://github.com/mastra-ai/mastra/pull/8235))
|
|
34
|
+
|
|
35
|
+
- Fix generateVNext tripwire return value ([#8122](https://github.com/mastra-ai/mastra/pull/8122))
|
|
36
|
+
|
|
37
|
+
- Fixed createTool types due totight coupling to Zod's internal structure, which changed between v3 and v4. Instead of checking for exact Zod types, we now use structural typing - checking for the presence of parse/safeParse methods ([#8150](https://github.com/mastra-ai/mastra/pull/8150))
|
|
38
|
+
|
|
39
|
+
- Fixes agent.network() memory tools (working memory, vector search) as well as fixes tool calling and workflow calling in general. Various clean up for the agent.network() code path. ([#8157](https://github.com/mastra-ai/mastra/pull/8157))
|
|
40
|
+
|
|
41
|
+
- fixNetworkChunkType ([#8210](https://github.com/mastra-ai/mastra/pull/8210))
|
|
42
|
+
|
|
43
|
+
- Show model that worked when there are model fallbacks ([#8167](https://github.com/mastra-ai/mastra/pull/8167))
|
|
44
|
+
|
|
45
|
+
- Add input data validation to workflow step execution ([#7779](https://github.com/mastra-ai/mastra/pull/7779))
|
|
46
|
+
Add resume data validation to resume workflow method
|
|
47
|
+
Add input data validation to start workflow method
|
|
48
|
+
Use default value from inputSchema/resumeSchema
|
|
49
|
+
|
|
50
|
+
- Add types in the streamVNext codepath, fixes for various issues across multiple packages surfaced from type issues, align return types. ([#8010](https://github.com/mastra-ai/mastra/pull/8010))
|
|
51
|
+
|
|
52
|
+
- Support tracing options for workflow streaming endpoints ([#8278](https://github.com/mastra-ai/mastra/pull/8278))
|
|
53
|
+
|
|
54
|
+
- Adjust deprecation warnings ([#8326](https://github.com/mastra-ai/mastra/pull/8326))
|
|
55
|
+
|
|
56
|
+
- Improve error processing -don't mask useful errors ([#8270](https://github.com/mastra-ai/mastra/pull/8270))
|
|
57
|
+
|
|
58
|
+
- When step is created from agent or tool, add the description and component key to show that ([#8151](https://github.com/mastra-ai/mastra/pull/8151))
|
|
59
|
+
|
|
60
|
+
- [CLOUD-500] Refactor trace transform to agent payload ([#8280](https://github.com/mastra-ai/mastra/pull/8280))
|
|
61
|
+
|
|
3
62
|
## 0.19.0-alpha.1
|
|
4
63
|
|
|
5
64
|
### Minor Changes
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRNIY63FP_cjs = require('../chunk-RNIY63FP.cjs');
|
|
4
4
|
var chunkCQ73JM2N_cjs = require('../chunk-CQ73JM2N.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 chunkRNIY63FP_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkRNIY63FP_cjs.LanguageDetectorInputProcessor; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ModerationInputProcessor", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkRNIY63FP_cjs.ModerationInputProcessor; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "PIIDetectorInputProcessor", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkRNIY63FP_cjs.PIIDetectorInputProcessor; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkRNIY63FP_cjs.PromptInjectionDetectorInputProcessor; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "TripWire", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkRNIY63FP_cjs.TripWire; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkRNIY63FP_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-JKLLXBOY.js';
|
|
2
2
|
export { MessageList, convertMessages } from '../chunk-BUY5X7DT.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 chunkRNIY63FP_cjs = require('../../chunk-RNIY63FP.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 chunkRNIY63FP_cjs.LanguageDetectorInputProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ModerationInputProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkRNIY63FP_cjs.ModerationInputProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PIIDetectorInputProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkRNIY63FP_cjs.PIIDetectorInputProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkRNIY63FP_cjs.PromptInjectionDetectorInputProcessor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkRNIY63FP_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-JKLLXBOY.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { validateStepInput, getStepResult, Workflow, Run, ExecutionEngine } from './chunk-
|
|
1
|
+
import { validateStepInput, getStepResult, Workflow, Run, ExecutionEngine } from './chunk-JKLLXBOY.js';
|
|
2
2
|
import { STREAM_FORMAT_SYMBOL, EMITTER_SYMBOL } from './chunk-NLNKQD2T.js';
|
|
3
3
|
import { RuntimeContext } from './chunk-HLRWYUFN.js';
|
|
4
4
|
import { MastraError } from './chunk-WHFNGECY.js';
|
|
@@ -2486,5 +2486,5 @@ var EventedExecutionEngine = class extends ExecutionEngine {
|
|
|
2486
2486
|
};
|
|
2487
2487
|
|
|
2488
2488
|
export { EventedExecutionEngine, EventedRun, EventedWorkflow, StepExecutor, WorkflowEventProcessor, cloneStep, cloneWorkflow, createStep, createWorkflow };
|
|
2489
|
-
//# sourceMappingURL=chunk-
|
|
2490
|
-
//# sourceMappingURL=chunk-
|
|
2489
|
+
//# sourceMappingURL=chunk-5BQOHHCI.js.map
|
|
2490
|
+
//# sourceMappingURL=chunk-5BQOHHCI.js.map
|