@mastra/core 0.23.2-alpha.1 → 0.23.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 +47 -0
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/input-processor/index.cjs +6 -6
- package/dist/agent/input-processor/index.js +1 -1
- package/dist/ai-tracing/index.cjs +36 -36
- package/dist/ai-tracing/index.js +1 -1
- package/dist/{chunk-SSUYDJ33.js → chunk-4RWU3F4F.js} +6 -6
- package/dist/{chunk-SSUYDJ33.js.map → chunk-4RWU3F4F.js.map} +1 -1
- package/dist/{chunk-PC66YVU2.cjs → chunk-5YHNPD6A.cjs} +4 -4
- package/dist/{chunk-PC66YVU2.cjs.map → chunk-5YHNPD6A.cjs.map} +1 -1
- package/dist/{chunk-PC6XLPN6.js → chunk-DTTOVV72.js} +4 -4
- package/dist/{chunk-PC6XLPN6.js.map → chunk-DTTOVV72.js.map} +1 -1
- package/dist/{chunk-G627JTDD.js → chunk-E3PG7G6E.js} +3 -3
- package/dist/{chunk-G627JTDD.js.map → chunk-E3PG7G6E.js.map} +1 -1
- package/dist/{chunk-E6B7LJNW.js → chunk-ELFP5KHN.js} +4 -4
- package/dist/{chunk-E6B7LJNW.js.map → chunk-ELFP5KHN.js.map} +1 -1
- package/dist/{chunk-HWB3BXCB.cjs → chunk-EV64MRWJ.cjs} +13 -13
- package/dist/{chunk-HWB3BXCB.cjs.map → chunk-EV64MRWJ.cjs.map} +1 -1
- package/dist/{chunk-KPJGR6YE.cjs → chunk-F7DVKNKD.cjs} +45 -45
- package/dist/{chunk-KPJGR6YE.cjs.map → chunk-F7DVKNKD.cjs.map} +1 -1
- package/dist/{chunk-PFRQP22W.js → chunk-JZGCSEW5.js} +4 -4
- package/dist/{chunk-PFRQP22W.js.map → chunk-JZGCSEW5.js.map} +1 -1
- package/dist/{chunk-EEU36GPI.js → chunk-KAEQISOW.js} +3 -3
- package/dist/{chunk-EEU36GPI.js.map → chunk-KAEQISOW.js.map} +1 -1
- package/dist/{chunk-E4FTCZ22.cjs → chunk-MCASUJWY.cjs} +6 -6
- package/dist/{chunk-E4FTCZ22.cjs.map → chunk-MCASUJWY.cjs.map} +1 -1
- package/dist/{chunk-DXURMKD6.cjs → chunk-MJMID7LX.cjs} +4 -4
- package/dist/{chunk-DXURMKD6.cjs.map → chunk-MJMID7LX.cjs.map} +1 -1
- package/dist/{chunk-Y2M35YNB.js → chunk-ML3WETVK.js} +8 -8
- package/dist/{chunk-Y2M35YNB.js.map → chunk-ML3WETVK.js.map} +1 -1
- package/dist/{chunk-KR7Z74UQ.js → chunk-NR77P3TK.js} +3 -3
- package/dist/{chunk-KR7Z74UQ.js.map → chunk-NR77P3TK.js.map} +1 -1
- package/dist/{chunk-HVAUEU7R.cjs → chunk-OLFLBDUQ.cjs} +13 -13
- package/dist/{chunk-HVAUEU7R.cjs.map → chunk-OLFLBDUQ.cjs.map} +1 -1
- package/dist/{chunk-6JZPTKZS.js → chunk-OSAYWQD3.js} +3 -3
- package/dist/{chunk-6JZPTKZS.js.map → chunk-OSAYWQD3.js.map} +1 -1
- package/dist/{chunk-4JDICTTI.cjs → chunk-P35FNLTQ.cjs} +4 -4
- package/dist/{chunk-4JDICTTI.cjs.map → chunk-P35FNLTQ.cjs.map} +1 -1
- package/dist/{chunk-TBSOTUXP.cjs → chunk-PHMC6B3L.cjs} +9 -9
- package/dist/{chunk-TBSOTUXP.cjs.map → chunk-PHMC6B3L.cjs.map} +1 -1
- package/dist/{chunk-5STM6FQO.js → chunk-Q7Y7FU4Y.js} +3 -3
- package/dist/{chunk-5STM6FQO.js.map → chunk-Q7Y7FU4Y.js.map} +1 -1
- package/dist/{chunk-TXXVTUOF.cjs → chunk-UZKIGB7M.cjs} +4 -4
- package/dist/{chunk-TXXVTUOF.cjs.map → chunk-UZKIGB7M.cjs.map} +1 -1
- package/dist/{chunk-KYGQ36G7.cjs → chunk-WCTRQHTG.cjs} +6 -6
- package/dist/{chunk-KYGQ36G7.cjs.map → chunk-WCTRQHTG.cjs.map} +1 -1
- package/dist/index.cjs +56 -56
- package/dist/index.js +9 -9
- 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/memory/index.cjs +4 -4
- package/dist/memory/index.js +1 -1
- package/dist/processors/index.cjs +11 -11
- 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 +9 -9
- package/dist/scores/index.js +2 -2
- package/dist/scores/scoreTraces/index.cjs +8 -8
- package/dist/scores/scoreTraces/index.js +3 -3
- package/dist/storage/index.cjs +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +2 -2
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/utils.cjs +17 -17
- package/dist/utils.js +1 -1
- package/dist/workflows/evented/index.cjs +10 -10
- package/dist/workflows/evented/index.js +1 -1
- package/dist/workflows/index.cjs +14 -14
- 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 +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# @mastra/core
|
|
2
2
|
|
|
3
|
+
## 0.23.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix agent onChunk callback receiving wrapped chunk instead of direct chunk ([#9402](https://github.com/mastra-ai/mastra/pull/9402))
|
|
8
|
+
|
|
9
|
+
- Ensure model_generation spans end before agent_run spans. ([#9393](https://github.com/mastra-ai/mastra/pull/9393))
|
|
10
|
+
|
|
11
|
+
- Fix OpenAI schema validation errors in processors ([#9400](https://github.com/mastra-ai/mastra/pull/9400))
|
|
12
|
+
|
|
13
|
+
- Don't call `os.homedir()` at top level (but lazy invoke it) to accommodate sandboxed environments ([#9357](https://github.com/mastra-ai/mastra/pull/9357))
|
|
14
|
+
|
|
15
|
+
- Detect thenable objects returned by AI model providers ([#9414](https://github.com/mastra-ai/mastra/pull/9414))
|
|
16
|
+
|
|
17
|
+
- Bug fix: Use input processors that are passed in generate or stream agent options rather than always defaulting to the processors set on the Agent class. ([#9422](https://github.com/mastra-ai/mastra/pull/9422))
|
|
18
|
+
|
|
19
|
+
- Fix tool input validation to use schema-compat transformed schemas ([#9360](https://github.com/mastra-ai/mastra/pull/9360))
|
|
20
|
+
|
|
21
|
+
Previously, tool input validation used the original Zod schema while the LLM received a schema-compat transformed version. This caused validation failures when LLMs (like OpenAI o3 or Claude 3.5 Haiku) sent arguments matching the transformed schema but not the original.
|
|
22
|
+
|
|
23
|
+
For example:
|
|
24
|
+
- OpenAI o3 reasoning models convert `.optional()` to `.nullable()`, sending `null` values
|
|
25
|
+
- Claude 3.5 Haiku strips `min`/`max` string constraints, sending shorter strings
|
|
26
|
+
- Validation would reject these valid responses because it checked against the original schema
|
|
27
|
+
|
|
28
|
+
The fix ensures validation uses the same schema-compat processed schema that was sent to the LLM, eliminating this mismatch.
|
|
29
|
+
|
|
30
|
+
- Add import for WritableStream in execution-engine and dedupe llm.getModel in agent.ts ([#9341](https://github.com/mastra-ai/mastra/pull/9341))
|
|
31
|
+
|
|
32
|
+
- pass writableStream parameter to workflow execution ([#9339](https://github.com/mastra-ai/mastra/pull/9339))
|
|
33
|
+
|
|
34
|
+
- Save correct status in snapshot for all workflow parallel steps. ([#9398](https://github.com/mastra-ai/mastra/pull/9398))
|
|
35
|
+
This ensures when you poll workflow run result using `getWorkflowRunExecutionResult(runId)`, you get the right status for all parallel steps
|
|
36
|
+
|
|
37
|
+
- Add ability to pass agent options when wrapping an agent with createStep. This allows configuring agent execution settings when using agents as workflow steps. ([#9359](https://github.com/mastra-ai/mastra/pull/9359))
|
|
38
|
+
|
|
39
|
+
- Fix network loop iteration counter and usage promise handling: ([#9415](https://github.com/mastra-ai/mastra/pull/9415))
|
|
40
|
+
- Fixed iteration counter in network loop that was stuck at 0 due to falsy check. Properly handled zero values to ensure maxSteps is correctly enforced.
|
|
41
|
+
- Fixed usage promise resolution in RunOutput stream by properly resolving or rejecting the promise on stream close, preventing hanging promises when streams complete.
|
|
42
|
+
|
|
43
|
+
- Workflow validation zod v4 support ([#9363](https://github.com/mastra-ai/mastra/pull/9363))
|
|
44
|
+
|
|
45
|
+
- Fix usage tracking with agent network ([#9413](https://github.com/mastra-ai/mastra/pull/9413))
|
|
46
|
+
|
|
47
|
+
- Updated dependencies [[`6bb26c4`](https://github.com/mastra-ai/mastra/commit/6bb26c4e82795d70515577a7cbd1e186c07ccf24), [`8d8f674`](https://github.com/mastra-ai/mastra/commit/8d8f67428ad1bcc944e2666179c886bae80120f5)]:
|
|
48
|
+
- @mastra/schema-compat@0.11.6
|
|
49
|
+
|
|
3
50
|
## 0.23.2-alpha.1
|
|
4
51
|
|
|
5
52
|
### Patch Changes
|
package/dist/agent/index.cjs
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkF7DVKNKD_cjs = require('../chunk-F7DVKNKD.cjs');
|
|
4
|
+
var chunkMJMID7LX_cjs = require('../chunk-MJMID7LX.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 chunkF7DVKNKD_cjs.Agent; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "LanguageDetectorInputProcessor", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkF7DVKNKD_cjs.LanguageDetectorInputProcessor; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ModerationInputProcessor", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkF7DVKNKD_cjs.ModerationInputProcessor; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "PIIDetectorInputProcessor", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkF7DVKNKD_cjs.PIIDetectorInputProcessor; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkF7DVKNKD_cjs.PromptInjectionDetectorInputProcessor; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "TripWire", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkF7DVKNKD_cjs.TripWire; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkF7DVKNKD_cjs.UnicodeNormalizerInputProcessor; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "tryGenerateWithJsonFallback", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkF7DVKNKD_cjs.tryGenerateWithJsonFallback; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "tryStreamWithJsonFallback", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkF7DVKNKD_cjs.tryStreamWithJsonFallback; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "MessageList", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkMJMID7LX_cjs.MessageList; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "convertMessages", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkMJMID7LX_cjs.convertMessages; }
|
|
51
51
|
});
|
|
52
52
|
//# sourceMappingURL=index.cjs.map
|
|
53
53
|
//# sourceMappingURL=index.cjs.map
|
package/dist/agent/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-
|
|
2
|
-
export { MessageList, convertMessages } from '../chunk-
|
|
1
|
+
export { Agent, LanguageDetectorInputProcessor, ModerationInputProcessor, PIIDetectorInputProcessor, PromptInjectionDetectorInputProcessor, TripWire, UnicodeNormalizerInputProcessor, tryGenerateWithJsonFallback, tryStreamWithJsonFallback } from '../chunk-ML3WETVK.js';
|
|
2
|
+
export { MessageList, convertMessages } from '../chunk-E3PG7G6E.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 chunkF7DVKNKD_cjs = require('../../chunk-F7DVKNKD.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 chunkF7DVKNKD_cjs.LanguageDetectorInputProcessor; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "ModerationInputProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkF7DVKNKD_cjs.ModerationInputProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PIIDetectorInputProcessor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkF7DVKNKD_cjs.PIIDetectorInputProcessor; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PromptInjectionDetectorInputProcessor", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkF7DVKNKD_cjs.PromptInjectionDetectorInputProcessor; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "UnicodeNormalizerInputProcessor", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkF7DVKNKD_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-ML3WETVK.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,148 +1,148 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkP35FNLTQ_cjs = require('../chunk-P35FNLTQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AISpanType", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkP35FNLTQ_cjs.AISpanType; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "AITracingEventType", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkP35FNLTQ_cjs.AITracingEventType; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BaseAISpan", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkP35FNLTQ_cjs.BaseAISpan; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "BaseAITracing", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkP35FNLTQ_cjs.BaseAITracing; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "BaseExporter", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkP35FNLTQ_cjs.BaseExporter; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CloudExporter", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkP35FNLTQ_cjs.CloudExporter; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ConsoleExporter", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkP35FNLTQ_cjs.ConsoleExporter; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "DefaultAISpan", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkP35FNLTQ_cjs.DefaultAISpan; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "DefaultAITracing", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkP35FNLTQ_cjs.DefaultAITracing; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "DefaultExporter", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkP35FNLTQ_cjs.DefaultExporter; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "InternalSpans", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkP35FNLTQ_cjs.InternalSpans; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ModelSpanTracker", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkP35FNLTQ_cjs.ModelSpanTracker; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "NoOpAISpan", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkP35FNLTQ_cjs.NoOpAISpan; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "SamplingStrategyType", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkP35FNLTQ_cjs.SamplingStrategyType; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "SensitiveDataFilter", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkP35FNLTQ_cjs.SensitiveDataFilter; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "clearAITracingRegistry", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkP35FNLTQ_cjs.clearAITracingRegistry; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "deepClean", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkP35FNLTQ_cjs.deepClean; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "getAITracing", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkP35FNLTQ_cjs.getAITracing; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "getAllAITracing", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkP35FNLTQ_cjs.getAllAITracing; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "getDefaultAITracing", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkP35FNLTQ_cjs.getDefaultAITracing; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "getNestedValue", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkP35FNLTQ_cjs.getNestedValue; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "getOrCreateSpan", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkP35FNLTQ_cjs.getOrCreateSpan; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "getSelectedAITracing", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkP35FNLTQ_cjs.getSelectedAITracing; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "getValidTraceId", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkP35FNLTQ_cjs.getValidTraceId; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "hasAITracing", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkP35FNLTQ_cjs.hasAITracing; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "isMastra", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkP35FNLTQ_cjs.isMastra; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "omitKeys", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkP35FNLTQ_cjs.omitKeys; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "registerAITracing", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkP35FNLTQ_cjs.registerAITracing; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "selectFields", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkP35FNLTQ_cjs.selectFields; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "setNestedValue", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkP35FNLTQ_cjs.setNestedValue; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "setSelector", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkP35FNLTQ_cjs.setSelector; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "setupAITracing", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkP35FNLTQ_cjs.setupAITracing; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "shutdownAITracingRegistry", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkP35FNLTQ_cjs.shutdownAITracingRegistry; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "unregisterAITracing", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkP35FNLTQ_cjs.unregisterAITracing; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "wrapMastra", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkP35FNLTQ_cjs.wrapMastra; }
|
|
146
146
|
});
|
|
147
147
|
//# sourceMappingURL=index.cjs.map
|
|
148
148
|
//# sourceMappingURL=index.cjs.map
|
package/dist/ai-tracing/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AISpanType, AITracingEventType, BaseAISpan, BaseAITracing, BaseExporter, CloudExporter, ConsoleExporter, DefaultAISpan, DefaultAITracing, DefaultExporter, InternalSpans, ModelSpanTracker, NoOpAISpan, SamplingStrategyType, SensitiveDataFilter, clearAITracingRegistry, deepClean, getAITracing, getAllAITracing, getDefaultAITracing, getNestedValue, getOrCreateSpan, getSelectedAITracing, getValidTraceId, hasAITracing, isMastra, omitKeys, registerAITracing, selectFields, setNestedValue, setSelector, setupAITracing, shutdownAITracingRegistry, unregisterAITracing, wrapMastra } from '../chunk-
|
|
1
|
+
export { AISpanType, AITracingEventType, BaseAISpan, BaseAITracing, BaseExporter, CloudExporter, ConsoleExporter, DefaultAISpan, DefaultAITracing, DefaultExporter, InternalSpans, ModelSpanTracker, NoOpAISpan, SamplingStrategyType, SensitiveDataFilter, clearAITracingRegistry, deepClean, getAITracing, getAllAITracing, getDefaultAITracing, getNestedValue, getOrCreateSpan, getSelectedAITracing, getValidTraceId, hasAITracing, isMastra, omitKeys, registerAITracing, selectFields, setNestedValue, setSelector, setupAITracing, shutdownAITracingRegistry, unregisterAITracing, wrapMastra } from '../chunk-DTTOVV72.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { WorkflowEventProcessor } from './chunk-
|
|
2
|
-
import { saveScorePayloadSchema } from './chunk-
|
|
1
|
+
import { WorkflowEventProcessor } from './chunk-ELFP5KHN.js';
|
|
2
|
+
import { saveScorePayloadSchema } from './chunk-KAEQISOW.js';
|
|
3
3
|
import { augmentWithInit } from './chunk-436FFEF6.js';
|
|
4
4
|
import { PubSub } from './chunk-BVUMKER5.js';
|
|
5
5
|
import { InstrumentClass, Telemetry } from './chunk-BLUDYAPI.js';
|
|
6
|
-
import { registerHook } from './chunk-TTELJD4F.js';
|
|
7
6
|
import { InMemoryServerCache } from './chunk-3NTOFNIU.js';
|
|
8
|
-
import {
|
|
7
|
+
import { registerHook } from './chunk-TTELJD4F.js';
|
|
8
|
+
import { setupAITracing, getAllAITracing, shutdownAITracingRegistry } from './chunk-DTTOVV72.js';
|
|
9
9
|
import { noopLogger } from './chunk-PFXXH2RP.js';
|
|
10
10
|
import { MastraError } from './chunk-PZUZNPFM.js';
|
|
11
11
|
import { ConsoleLogger, LogLevel } from './chunk-UXG7PYML.js';
|
|
@@ -1644,5 +1644,5 @@ Mastra = /*@__PURE__*/(_ => {
|
|
|
1644
1644
|
})();
|
|
1645
1645
|
|
|
1646
1646
|
export { Mastra };
|
|
1647
|
-
//# sourceMappingURL=chunk-
|
|
1648
|
-
//# sourceMappingURL=chunk-
|
|
1647
|
+
//# sourceMappingURL=chunk-4RWU3F4F.js.map
|
|
1648
|
+
//# sourceMappingURL=chunk-4RWU3F4F.js.map
|