@mastra/core 1.23.1-alpha.0 → 1.24.0-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 +71 -0
- package/dist/agent/index.cjs +13 -13
- package/dist/agent/index.js +2 -2
- package/dist/agent/message-list/adapters/AIV5Adapter.d.ts.map +1 -1
- package/dist/agent/message-list/conversion/input-converter.d.ts.map +1 -1
- package/dist/agent/message-list/index.cjs +19 -19
- package/dist/agent/message-list/index.js +1 -1
- package/dist/agent/message-list/message-list.d.ts.map +1 -1
- package/dist/agent/message-list/state/types.d.ts +7 -4
- package/dist/agent/message-list/state/types.d.ts.map +1 -1
- package/dist/agent/message-list/utils/stamp-part.d.ts +4 -0
- package/dist/agent/message-list/utils/stamp-part.d.ts.map +1 -0
- 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-LB3GO6MV.js → chunk-234T424F.js} +5 -5
- package/dist/{chunk-LB3GO6MV.js.map → chunk-234T424F.js.map} +1 -1
- package/dist/{chunk-WCQOOGVM.cjs → chunk-365PDOQ4.cjs} +9 -9
- package/dist/{chunk-WCQOOGVM.cjs.map → chunk-365PDOQ4.cjs.map} +1 -1
- package/dist/{chunk-N7W2KRUH.js → chunk-3RI7ILBW.js} +3 -3
- package/dist/{chunk-N7W2KRUH.js.map → chunk-3RI7ILBW.js.map} +1 -1
- package/dist/{chunk-B4OOPFD3.cjs → chunk-4FFOOHE5.cjs} +27 -2
- package/dist/chunk-4FFOOHE5.cjs.map +1 -0
- package/dist/{chunk-S2546L42.js → chunk-7BBERBXP.js} +6 -6
- package/dist/{chunk-S2546L42.js.map → chunk-7BBERBXP.js.map} +1 -1
- package/dist/{chunk-BG3IPQZ7.cjs → chunk-B2FQ6L2I.cjs} +21 -21
- package/dist/{chunk-BG3IPQZ7.cjs.map → chunk-B2FQ6L2I.cjs.map} +1 -1
- package/dist/{chunk-UNQCLA7I.cjs → chunk-BFOZOAU2.cjs} +54 -26
- package/dist/chunk-BFOZOAU2.cjs.map +1 -0
- package/dist/{chunk-JC2RW3N5.js → chunk-CN6AFOVV.js} +4 -4
- package/dist/{chunk-JC2RW3N5.js.map → chunk-CN6AFOVV.js.map} +1 -1
- package/dist/{chunk-IAUQYADS.cjs → chunk-CY4AMNDV.cjs} +7 -7
- package/dist/{chunk-IAUQYADS.cjs.map → chunk-CY4AMNDV.cjs.map} +1 -1
- package/dist/{chunk-MW6HBUMV.cjs → chunk-D64ZY3NT.cjs} +29 -27
- package/dist/chunk-D64ZY3NT.cjs.map +1 -0
- package/dist/{chunk-JVXQTSRU.js → chunk-E7PBOS66.js} +3 -3
- package/dist/{chunk-JVXQTSRU.js.map → chunk-E7PBOS66.js.map} +1 -1
- package/dist/{chunk-GBUKRAUU.cjs → chunk-EAQQP6OK.cjs} +75 -75
- package/dist/{chunk-GBUKRAUU.cjs.map → chunk-EAQQP6OK.cjs.map} +1 -1
- package/dist/chunk-EGIEQEHP.js +35 -0
- package/dist/chunk-EGIEQEHP.js.map +1 -0
- package/dist/{chunk-C3RGHCOG.js → chunk-EJ62D3QH.js} +7 -7
- package/dist/{chunk-C3RGHCOG.js.map → chunk-EJ62D3QH.js.map} +1 -1
- package/dist/{chunk-J5JND5CL.cjs → chunk-FCW225T4.cjs} +84 -84
- package/dist/{chunk-J5JND5CL.cjs.map → chunk-FCW225T4.cjs.map} +1 -1
- package/dist/{chunk-OVQVLGT2.cjs → chunk-FLMCO42Y.cjs} +4 -4
- package/dist/{chunk-OVQVLGT2.cjs.map → chunk-FLMCO42Y.cjs.map} +1 -1
- package/dist/{chunk-RNKRA4W6.js → chunk-GAW7WFCY.js} +6 -6
- package/dist/{chunk-RNKRA4W6.js.map → chunk-GAW7WFCY.js.map} +1 -1
- package/dist/{chunk-7CWIKWHN.js → chunk-I7DUPZFN.js} +90 -43
- package/dist/chunk-I7DUPZFN.js.map +1 -0
- package/dist/{chunk-HMVCVSAM.js → chunk-IKUMKFM4.js} +5 -5
- package/dist/{chunk-HMVCVSAM.js.map → chunk-IKUMKFM4.js.map} +1 -1
- package/dist/{chunk-YTLU3Q7Q.js → chunk-JBFAGOAG.js} +13 -11
- package/dist/chunk-JBFAGOAG.js.map +1 -0
- package/dist/{chunk-6WRVZNQL.cjs → chunk-L56725IW.cjs} +7 -2
- package/dist/chunk-L56725IW.cjs.map +1 -0
- package/dist/{chunk-FDSY7ZGW.cjs → chunk-L73KZFX6.cjs} +10 -10
- package/dist/{chunk-FDSY7ZGW.cjs.map → chunk-L73KZFX6.cjs.map} +1 -1
- package/dist/{chunk-QX5YBALM.js → chunk-LUEXY2QV.js} +3 -3
- package/dist/{chunk-QX5YBALM.js.map → chunk-LUEXY2QV.js.map} +1 -1
- package/dist/{chunk-235IILEY.js → chunk-MD3VGE3F.js} +7 -2
- package/dist/chunk-MD3VGE3F.js.map +1 -0
- package/dist/{chunk-Q2RTFBSF.js → chunk-MK5IF24D.js} +8 -8
- package/dist/{chunk-Q2RTFBSF.js.map → chunk-MK5IF24D.js.map} +1 -1
- package/dist/{chunk-PJ5YCHXB.js → chunk-MZJQ7OKW.js} +3 -3
- package/dist/{chunk-PJ5YCHXB.js.map → chunk-MZJQ7OKW.js.map} +1 -1
- package/dist/{chunk-3UBTJXPW.cjs → chunk-P5C4HEAB.cjs} +32 -32
- package/dist/{chunk-3UBTJXPW.cjs.map → chunk-P5C4HEAB.cjs.map} +1 -1
- package/dist/{chunk-AMQICJHD.js → chunk-PCHML5XO.js} +11 -11
- package/dist/{chunk-AMQICJHD.js.map → chunk-PCHML5XO.js.map} +1 -1
- package/dist/{chunk-4LJ4M2DI.js → chunk-PQKSETS5.js} +3 -3
- package/dist/{chunk-4LJ4M2DI.js.map → chunk-PQKSETS5.js.map} +1 -1
- package/dist/{chunk-PHSDY5MP.cjs → chunk-QFGYBEP3.cjs} +10 -10
- package/dist/{chunk-PHSDY5MP.cjs.map → chunk-QFGYBEP3.cjs.map} +1 -1
- package/dist/{chunk-2M6QAFRM.cjs → chunk-RJAOQKHJ.cjs} +90 -43
- package/dist/chunk-RJAOQKHJ.cjs.map +1 -0
- package/dist/{chunk-WXCT24DY.cjs → chunk-SRQR5UN6.cjs} +27 -27
- package/dist/{chunk-WXCT24DY.cjs.map → chunk-SRQR5UN6.cjs.map} +1 -1
- package/dist/{chunk-7OU57YXD.cjs → chunk-SUEVJYTA.cjs} +185 -185
- package/dist/{chunk-7OU57YXD.cjs.map → chunk-SUEVJYTA.cjs.map} +1 -1
- package/dist/{chunk-LYCAEN2H.cjs → chunk-SYH64AGV.cjs} +219 -219
- package/dist/{chunk-LYCAEN2H.cjs.map → chunk-SYH64AGV.cjs.map} +1 -1
- package/dist/{chunk-ZHMULBPD.js → chunk-V2HSN7VZ.js} +26 -3
- package/dist/chunk-V2HSN7VZ.js.map +1 -0
- package/dist/{chunk-KPNURYWF.js → chunk-V657RNGK.js} +42 -14
- package/dist/chunk-V657RNGK.js.map +1 -0
- package/dist/{chunk-JGPMCTG4.cjs → chunk-XEDVYHBK.cjs} +3 -3
- package/dist/{chunk-JGPMCTG4.cjs.map → chunk-XEDVYHBK.cjs.map} +1 -1
- package/dist/{chunk-CLNGCSHU.cjs → chunk-XEM4OYJI.cjs} +15 -15
- package/dist/{chunk-CLNGCSHU.cjs.map → chunk-XEM4OYJI.cjs.map} +1 -1
- package/dist/{chunk-QG5JWMFX.cjs → chunk-XS3FHQ34.cjs} +11 -11
- package/dist/{chunk-QG5JWMFX.cjs.map → chunk-XS3FHQ34.cjs.map} +1 -1
- package/dist/{chunk-STZTHX32.js → chunk-XS75QEED.js} +5 -5
- package/dist/{chunk-STZTHX32.js.map → chunk-XS75QEED.js.map} +1 -1
- package/dist/{chunk-5OXVECLF.js → chunk-Y4SL4WJQ.js} +3 -3
- package/dist/{chunk-5OXVECLF.js.map → chunk-Y4SL4WJQ.js.map} +1 -1
- package/dist/chunk-ZPHI6QAA.cjs +40 -0
- package/dist/chunk-ZPHI6QAA.cjs.map +1 -0
- package/dist/datasets/index.cjs +17 -17
- package/dist/datasets/index.js +2 -2
- package/dist/docs/SKILL.md +2 -1
- package/dist/docs/assets/SOURCE_MAP.json +450 -450
- package/dist/docs/references/reference-observability-tracing-configuration.md +8 -1
- package/dist/docs/references/reference-observability-tracing-span-filtering.md +95 -0
- package/dist/docs/references/reference.md +1 -0
- package/dist/evals/index.cjs +23 -23
- package/dist/evals/index.js +3 -3
- package/dist/evals/scoreTraces/index.cjs +7 -7
- package/dist/evals/scoreTraces/index.js +3 -3
- package/dist/harness/index.cjs +9 -9
- package/dist/harness/index.js +6 -6
- 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 +11 -1
- package/dist/logger/index.cjs +6 -6
- package/dist/logger/index.js +1 -1
- 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.d.ts.map +1 -1
- package/dist/mastra/index.js +1 -1
- package/dist/mastra-5YHFXAJO.js +3 -0
- package/dist/{mastra-JWFZL5TC.js.map → mastra-5YHFXAJO.js.map} +1 -1
- package/dist/mastra-7CFH7DGM.cjs +12 -0
- package/dist/{mastra-ZQK3PKEU.cjs.map → mastra-7CFH7DGM.cjs.map} +1 -1
- package/dist/memory/index.cjs +19 -19
- package/dist/memory/index.js +1 -1
- package/dist/models-dev-X2MWNPAU.cjs +12 -0
- package/dist/{models-dev-6DVNVKP4.cjs.map → models-dev-X2MWNPAU.cjs.map} +1 -1
- package/dist/models-dev-ZXC3IYLG.js +3 -0
- package/dist/{models-dev-FOTHHSEK.js.map → models-dev-ZXC3IYLG.js.map} +1 -1
- package/dist/netlify-GOILLTQO.cjs +12 -0
- package/dist/{netlify-S2IW3O2X.cjs.map → netlify-GOILLTQO.cjs.map} +1 -1
- package/dist/netlify-HJL7EXHY.js +3 -0
- package/dist/{netlify-NMTX7SVL.js.map → netlify-HJL7EXHY.js.map} +1 -1
- package/dist/observability/context-storage.cjs +18 -28
- package/dist/observability/context-storage.cjs.map +1 -1
- package/dist/observability/context-storage.d.ts +9 -0
- package/dist/observability/context-storage.d.ts.map +1 -1
- package/dist/observability/context-storage.js +1 -28
- package/dist/observability/context-storage.js.map +1 -1
- package/dist/observability/index.cjs +33 -25
- package/dist/observability/index.d.ts +2 -0
- package/dist/observability/index.d.ts.map +1 -1
- package/dist/observability/index.js +3 -3
- package/dist/observability/rag-ingestion.d.ts +108 -0
- package/dist/observability/rag-ingestion.d.ts.map +1 -0
- package/dist/observability/types/core.d.ts +31 -1
- package/dist/observability/types/core.d.ts.map +1 -1
- package/dist/observability/types/tracing.d.ts +133 -1
- package/dist/observability/types/tracing.d.ts.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-25ELOB67.cjs +44 -0
- package/dist/{provider-registry-7WS3N5BF.cjs.map → provider-registry-25ELOB67.cjs.map} +1 -1
- package/dist/provider-registry-UWTCPEFF.js +3 -0
- package/dist/{provider-registry-YADLRYW6.js.map → provider-registry-UWTCPEFF.js.map} +1 -1
- package/dist/provider-registry.json +34 -6
- package/dist/relevance/index.cjs +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/constants.cjs +56 -56
- package/dist/storage/constants.js +1 -1
- package/dist/storage/index.cjs +286 -286
- package/dist/storage/index.js +3 -3
- package/dist/stream/index.cjs +11 -11
- package/dist/stream/index.js +2 -2
- package/dist/test-utils/llm-mock.cjs +4 -4
- package/dist/test-utils/llm-mock.js +1 -1
- package/dist/tool-loop-agent/index.cjs +4 -4
- package/dist/tool-loop-agent/index.js +1 -1
- package/dist/utils.cjs +25 -25
- package/dist/utils.js +1 -1
- package/dist/vector/index.cjs +7 -7
- package/dist/vector/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 +5 -5
- package/src/llm/model/provider-types.generated.d.ts +11 -1
- package/dist/chunk-235IILEY.js.map +0 -1
- package/dist/chunk-2M6QAFRM.cjs.map +0 -1
- package/dist/chunk-6WRVZNQL.cjs.map +0 -1
- package/dist/chunk-7CWIKWHN.js.map +0 -1
- package/dist/chunk-B4OOPFD3.cjs.map +0 -1
- package/dist/chunk-KPNURYWF.js.map +0 -1
- package/dist/chunk-MW6HBUMV.cjs.map +0 -1
- package/dist/chunk-UNQCLA7I.cjs.map +0 -1
- package/dist/chunk-YTLU3Q7Q.js.map +0 -1
- package/dist/chunk-ZHMULBPD.js.map +0 -1
- package/dist/mastra-JWFZL5TC.js +0 -3
- package/dist/mastra-ZQK3PKEU.cjs +0 -12
- package/dist/models-dev-6DVNVKP4.cjs +0 -12
- package/dist/models-dev-FOTHHSEK.js +0 -3
- package/dist/netlify-NMTX7SVL.js +0 -3
- package/dist/netlify-S2IW3O2X.cjs +0 -12
- package/dist/provider-registry-7WS3N5BF.cjs +0 -44
- package/dist/provider-registry-YADLRYW6.js +0 -3
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkQFGYBEP3_cjs = require('./chunk-QFGYBEP3.cjs');
|
|
4
|
+
var async_hooks = require('async_hooks');
|
|
5
|
+
|
|
6
|
+
var spanContextStorage = new async_hooks.AsyncLocalStorage();
|
|
7
|
+
function getCurrentSpan() {
|
|
8
|
+
return spanContextStorage.getStore();
|
|
9
|
+
}
|
|
10
|
+
var initialized = false;
|
|
11
|
+
function initContextStorage() {
|
|
12
|
+
if (initialized) return;
|
|
13
|
+
initialized = true;
|
|
14
|
+
chunkQFGYBEP3_cjs.setCurrentSpanResolver(getCurrentSpan);
|
|
15
|
+
chunkQFGYBEP3_cjs.setExecuteWithContext(executeWithContext);
|
|
16
|
+
chunkQFGYBEP3_cjs.setExecuteWithContextSync(executeWithContextSync);
|
|
17
|
+
}
|
|
18
|
+
async function executeWithContext(params) {
|
|
19
|
+
const { span, fn } = params;
|
|
20
|
+
const wrappedFn = span ? () => spanContextStorage.run(span, fn) : fn;
|
|
21
|
+
if (span?.executeInContext) {
|
|
22
|
+
return span.executeInContext(wrappedFn);
|
|
23
|
+
}
|
|
24
|
+
return wrappedFn();
|
|
25
|
+
}
|
|
26
|
+
function executeWithContextSync(params) {
|
|
27
|
+
const { span, fn } = params;
|
|
28
|
+
const wrappedFn = span ? () => spanContextStorage.run(span, fn) : fn;
|
|
29
|
+
if (span?.executeInContextSync) {
|
|
30
|
+
return span.executeInContextSync(wrappedFn);
|
|
31
|
+
}
|
|
32
|
+
return wrappedFn();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.executeWithContext = executeWithContext;
|
|
36
|
+
exports.executeWithContextSync = executeWithContextSync;
|
|
37
|
+
exports.getCurrentSpan = getCurrentSpan;
|
|
38
|
+
exports.initContextStorage = initContextStorage;
|
|
39
|
+
//# sourceMappingURL=chunk-ZPHI6QAA.cjs.map
|
|
40
|
+
//# sourceMappingURL=chunk-ZPHI6QAA.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/observability/context-storage.ts"],"names":["AsyncLocalStorage","setCurrentSpanResolver","setExecuteWithContext","setExecuteWithContextSync"],"mappings":";;;;;AAUA,IAAM,kBAAA,GAAqB,IAAIA,6BAAA,EAA2B;AAMnD,SAAS,cAAA,GAAsC;AACpD,EAAA,OAAO,mBAAmB,QAAA,EAAS;AACrC;AAEA,IAAI,WAAA,GAAc,KAAA;AAUX,SAAS,kBAAA,GAA2B;AACzC,EAAA,IAAI,WAAA,EAAa;AACjB,EAAA,WAAA,GAAc,IAAA;AACd,EAAAC,wCAAA,CAAuB,cAAc,CAAA;AACrC,EAAAC,uCAAA,CAAsB,kBAAkB,CAAA;AACxC,EAAAC,2CAAA,CAA0B,sBAAsB,CAAA;AAClD;AAqBA,eAAsB,mBAAsB,MAAA,EAA8D;AACxG,EAAA,MAAM,EAAE,IAAA,EAAM,EAAA,EAAG,GAAI,MAAA;AAGrB,EAAA,MAAM,YAAY,IAAA,GAAO,MAAM,mBAAmB,GAAA,CAAI,IAAA,EAAM,EAAE,CAAA,GAAI,EAAA;AAElE,EAAA,IAAI,MAAM,gBAAA,EAAkB;AAC1B,IAAA,OAAO,IAAA,CAAK,iBAAiB,SAAS,CAAA;AAAA,EACxC;AAEA,EAAA,OAAO,SAAA,EAAU;AACnB;AAqBO,SAAS,uBAA0B,MAAA,EAA4C;AACpF,EAAA,MAAM,EAAE,IAAA,EAAM,EAAA,EAAG,GAAI,MAAA;AAGrB,EAAA,MAAM,YAAY,IAAA,GAAO,MAAM,mBAAmB,GAAA,CAAI,IAAA,EAAM,EAAE,CAAA,GAAI,EAAA;AAElE,EAAA,IAAI,MAAM,oBAAA,EAAsB;AAC9B,IAAA,OAAO,IAAA,CAAK,qBAAqB,SAAS,CAAA;AAAA,EAC5C;AAEA,EAAA,OAAO,SAAA,EAAU;AACnB","file":"chunk-ZPHI6QAA.cjs","sourcesContent":["import { AsyncLocalStorage } from 'node:async_hooks';\n\nimport type { AnySpan } from './types';\nimport { setCurrentSpanResolver, setExecuteWithContext, setExecuteWithContextSync } from './utils';\n\n/**\n * Ambient storage for the current span. Populated by executeWithContext/executeWithContextSync\n * so that infrastructure code (e.g. DualLogger) can resolve the active span without\n * being passed it explicitly.\n */\nconst spanContextStorage = new AsyncLocalStorage<AnySpan>();\n\n/**\n * Returns the current span from AsyncLocalStorage, if one is active.\n * Used by DualLogger to forward logs to a span-correlated loggerVNext.\n */\nexport function getCurrentSpan(): AnySpan | undefined {\n return spanContextStorage.getStore();\n}\n\nlet initialized = false;\n\n/**\n * Registers the AsyncLocalStorage-backed context resolvers with the browser-safe\n * utils module. Must be called once at startup (e.g. from the Mastra constructor).\n *\n * This is an explicit initialization function rather than a top-level side-effect\n * because the package declares `\"sideEffects\": false` and tsup's tree-shaking\n * (`preset: 'smallest'`) strips bare side-effect imports.\n */\nexport function initContextStorage(): void {\n if (initialized) return;\n initialized = true;\n setCurrentSpanResolver(getCurrentSpan);\n setExecuteWithContext(executeWithContext);\n setExecuteWithContextSync(executeWithContextSync);\n}\n\n/**\n * Execute an async function within the span's tracing context if available.\n * Falls back to direct execution if no span exists.\n *\n * When a bridge is configured, this enables auto-instrumented operations\n * (HTTP requests, database queries, etc.) to be properly nested under the\n * current span in the external tracing system.\n *\n * @param span - The span to use as context (or undefined to execute without context)\n * @param fn - The async function to execute\n * @returns The result of the function execution\n *\n * @example\n * ```typescript\n * const result = await executeWithContext(llmSpan, async () =>\n * model.generateText(args)\n * );\n * ```\n */\nexport async function executeWithContext<T>(params: { span?: AnySpan; fn: () => Promise<T> }): Promise<T> {\n const { span, fn } = params;\n\n // Wrap fn so the span is available via getCurrentSpan() inside the async context.\n const wrappedFn = span ? () => spanContextStorage.run(span, fn) : fn;\n\n if (span?.executeInContext) {\n return span.executeInContext(wrappedFn);\n }\n\n return wrappedFn();\n}\n\n/**\n * Execute a synchronous function within the span's tracing context if available.\n * Falls back to direct execution if no span exists.\n *\n * When a bridge is configured, this enables auto-instrumented operations\n * (HTTP requests, database queries, etc.) to be properly nested under the\n * current span in the external tracing system.\n *\n * @param span - The span to use as context (or undefined to execute without context)\n * @param fn - The synchronous function to execute\n * @returns The result of the function execution\n *\n * @example\n * ```typescript\n * const result = executeWithContextSync(llmSpan, () =>\n * model.streamText(args)\n * );\n * ```\n */\nexport function executeWithContextSync<T>(params: { span?: AnySpan; fn: () => T }): T {\n const { span, fn } = params;\n\n // Wrap fn so the span is available via getCurrentSpan() inside the sync context.\n const wrappedFn = span ? () => spanContextStorage.run(span, fn) : fn;\n\n if (span?.executeInContextSync) {\n return span.executeInContextSync(wrappedFn);\n }\n\n return wrappedFn();\n}\n"]}
|
package/dist/datasets/index.cjs
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkL73KZFX6_cjs = require('../chunk-L73KZFX6.cjs');
|
|
4
|
+
var chunkSRQR5UN6_cjs = require('../chunk-SRQR5UN6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Dataset", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkL73KZFX6_cjs.Dataset; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DatasetsManager", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkL73KZFX6_cjs.DatasetsManager; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "compareExperiments", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkL73KZFX6_cjs.compareExperiments; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "computeMean", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkL73KZFX6_cjs.computeMean; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "computeScorerStats", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkL73KZFX6_cjs.computeScorerStats; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "executeTarget", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkL73KZFX6_cjs.executeTarget; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "isRegression", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkL73KZFX6_cjs.isRegression; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "resolveScorers", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkL73KZFX6_cjs.resolveScorers; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "runExperiment", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkL73KZFX6_cjs.runExperiment; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "runScorersForItem", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkL73KZFX6_cjs.runScorersForItem; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "SchemaUpdateValidationError", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkSRQR5UN6_cjs.SchemaUpdateValidationError; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "SchemaValidationError", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkSRQR5UN6_cjs.SchemaValidationError; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "SchemaValidator", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkSRQR5UN6_cjs.SchemaValidator; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "createValidator", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkSRQR5UN6_cjs.createValidator; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "getSchemaValidator", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkSRQR5UN6_cjs.getSchemaValidator; }
|
|
67
67
|
});
|
|
68
68
|
//# sourceMappingURL=index.cjs.map
|
|
69
69
|
//# sourceMappingURL=index.cjs.map
|
package/dist/datasets/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Dataset, DatasetsManager, compareExperiments, computeMean, computeScorerStats, executeTarget, isRegression, resolveScorers, runExperiment, runScorersForItem } from '../chunk-
|
|
2
|
-
export { SchemaUpdateValidationError, SchemaValidationError, SchemaValidator, createValidator, getSchemaValidator } from '../chunk-
|
|
1
|
+
export { Dataset, DatasetsManager, compareExperiments, computeMean, computeScorerStats, executeTarget, isRegression, resolveScorers, runExperiment, runScorersForItem } from '../chunk-IKUMKFM4.js';
|
|
2
|
+
export { SchemaUpdateValidationError, SchemaValidationError, SchemaValidator, createValidator, getSchemaValidator } from '../chunk-7BBERBXP.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/docs/SKILL.md
CHANGED
|
@@ -3,7 +3,7 @@ name: mastra-core
|
|
|
3
3
|
description: Documentation for @mastra/core. Use when working with @mastra/core APIs, configuration, or implementation.
|
|
4
4
|
metadata:
|
|
5
5
|
package: "@mastra/core"
|
|
6
|
-
version: "1.
|
|
6
|
+
version: "1.24.0-alpha.1"
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## When to use
|
|
@@ -211,6 +211,7 @@ Read the individual reference documents for detailed explanations and code examp
|
|
|
211
211
|
- [Reference: Tracing](references/reference-observability-tracing-instances.md) - Core Tracing classes and methods
|
|
212
212
|
- [Reference: Interfaces](references/reference-observability-tracing-interfaces.md) - Tracing type definitions and interfaces
|
|
213
213
|
- [Reference: SensitiveDataFilter](references/reference-observability-tracing-processors-sensitive-data-filter.md) - API reference for the SensitiveDataFilter processor
|
|
214
|
+
- [Reference: Span filtering](references/reference-observability-tracing-span-filtering.md) - Reference for excludeSpanTypes, spanFilter, and span filtering behavior
|
|
214
215
|
- [Reference: Spans](references/reference-observability-tracing-spans.md) - Span interfaces, methods, and lifecycle events
|
|
215
216
|
- [Reference: BatchPartsProcessor](references/reference-processors-batch-parts-processor.md) - Documentation for the BatchPartsProcessor in Mastra, which batches multiple stream parts together to reduce frequency of emissions.
|
|
216
217
|
- [Reference: LanguageDetector](references/reference-processors-language-detector.md) - Documentation for the LanguageDetector in Mastra, which detects language and can translate content in AI responses.
|