@mastra/core 0.8.0-alpha.6 → 0.8.0-alpha.7
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.d.cts +2 -2
- package/dist/agent/index.d.ts +2 -2
- package/dist/{base-CG-pwdsi.d.cts → base-2iKEEo-U.d.cts} +4 -1
- package/dist/{base-CvQbEqGB.d.cts → base-BihKcqDY.d.cts} +2 -0
- package/dist/{base-C03Bmiox.d.ts → base-BkKZJMd4.d.ts} +4 -1
- package/dist/{base-BA_in99t.d.ts → base-DT2poiVK.d.ts} +2 -0
- package/dist/base.d.cts +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/bundler/index.d.cts +1 -1
- package/dist/bundler/index.d.ts +1 -1
- package/dist/{chunk-U36KYVBN.cjs → chunk-2LIFCMY6.cjs} +2 -2
- package/dist/{chunk-F33LGPTB.js → chunk-2ZHFDR35.js} +3 -3
- package/dist/{chunk-AJCBPJMD.js → chunk-3FLA6LJB.js} +1 -1
- package/dist/{chunk-G3WLM62A.cjs → chunk-FGPCJCMB.cjs} +4 -4
- package/dist/{chunk-LDX52DYU.cjs → chunk-IUU6FRPI.cjs} +2 -2
- package/dist/{chunk-UNDYQBL5.cjs → chunk-JJ5OT2JE.cjs} +4 -0
- package/dist/{chunk-PMMCUMBH.js → chunk-Q5Q3V2SQ.js} +1 -1
- package/dist/{chunk-TF6POWG3.js → chunk-ZKVHS4RY.js} +4 -0
- package/dist/deployer/index.d.cts +1 -1
- package/dist/deployer/index.d.ts +1 -1
- package/dist/eval/index.d.cts +2 -2
- package/dist/eval/index.d.ts +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/integration/index.d.cts +2 -2
- package/dist/integration/index.d.ts +2 -2
- package/dist/llm/index.d.cts +2 -2
- package/dist/llm/index.d.ts +2 -2
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.cts +2 -2
- package/dist/mastra/index.d.ts +2 -2
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +3 -3
- package/dist/memory/index.d.cts +2 -2
- package/dist/memory/index.d.ts +2 -2
- package/dist/memory/index.js +1 -1
- package/dist/network/index.d.cts +2 -2
- package/dist/network/index.d.ts +2 -2
- package/dist/relevance/index.d.cts +2 -2
- package/dist/relevance/index.d.ts +2 -2
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/storage/index.js +1 -1
- package/dist/storage/libsql/index.cjs +2 -2
- package/dist/storage/libsql/index.d.cts +2 -2
- package/dist/storage/libsql/index.d.ts +2 -2
- package/dist/storage/libsql/index.js +1 -1
- package/dist/telemetry/index.d.cts +2 -2
- package/dist/telemetry/index.d.ts +2 -2
- package/dist/telemetry/otel-vendor.cjs +47 -1
- package/dist/telemetry/otel-vendor.d.cts +12 -0
- package/dist/telemetry/otel-vendor.d.ts +12 -0
- package/dist/telemetry/otel-vendor.js +49 -0
- package/dist/tools/index.d.cts +2 -2
- package/dist/tools/index.d.ts +2 -2
- package/dist/tts/index.d.cts +1 -1
- package/dist/tts/index.d.ts +1 -1
- package/dist/utils.d.cts +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/vector/index.d.cts +1 -1
- package/dist/vector/index.d.ts +1 -1
- package/dist/vector/libsql/index.d.cts +1 -1
- package/dist/vector/libsql/index.d.ts +1 -1
- package/dist/voice/index.d.cts +3 -3
- package/dist/voice/index.d.ts +3 -3
- package/dist/workflows/index.d.cts +3 -3
- package/dist/workflows/index.d.ts +3 -3
- package/package.json +2 -2
package/dist/agent/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-
|
|
5
|
-
import '../base-
|
|
4
|
+
export { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-2iKEEo-U.cjs';
|
|
5
|
+
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '../types-BtMyV38I.cjs';
|
|
7
7
|
import 'sift';
|
|
8
8
|
import '../index-CquI0inB.cjs';
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-
|
|
5
|
-
import '../base-
|
|
4
|
+
export { j as Agent, k as AgentConfig, aM as AgentGenerateOptions, aN as AgentStreamOptions, aG as MastraLanguageModel, aH as ToolsInput, aL as ToolsetsInput } from '../base-BkKZJMd4.js';
|
|
5
|
+
import '../base-DT2poiVK.js';
|
|
6
6
|
import '../types-BtMyV38I.js';
|
|
7
7
|
import 'sift';
|
|
8
8
|
import '../index-CquI0inB.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { Tool as Tool$1, ToolExecutionOptions, LanguageModelV1, CoreMessage as CoreMessage$1, GenerateTextResult, GenerateObjectResult, StreamTextResult, StreamObjectResult, EmbeddingModel, Message, UserContent, AssistantContent, TelemetrySettings, generateText, generateObject, streamText, streamObject, CoreSystemMessage as CoreSystemMessage$1, CoreAssistantMessage as CoreAssistantMessage$1, CoreUserMessage as CoreUserMessage$1, CoreToolMessage as CoreToolMessage$1, EmbedResult as EmbedResult$1, EmbedManyResult as EmbedManyResult$1, GenerateTextOnStepFinishCallback, StreamTextOnFinishCallback, StreamObjectOnFinishCallback, StreamTextOnStepFinishCallback, LanguageModel as LanguageModel$1, DeepPartial, ToolContent } from 'ai';
|
|
3
|
-
import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-
|
|
3
|
+
import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-BihKcqDY.cjs';
|
|
4
4
|
import { a as Metric, M as MetricResult, T as TestInfo } from './types-BtMyV38I.cjs';
|
|
5
5
|
import { Query } from 'sift';
|
|
6
6
|
import { z, ZodSchema } from 'zod';
|
|
@@ -2055,6 +2055,9 @@ declare abstract class MastraStorage extends MastraBase {
|
|
|
2055
2055
|
tableName: TABLE_NAMES;
|
|
2056
2056
|
records: Record<string, any>[];
|
|
2057
2057
|
}): Promise<void>;
|
|
2058
|
+
__batchTraceInsert({ records }: {
|
|
2059
|
+
records: Record<string, any>[];
|
|
2060
|
+
}): Promise<void>;
|
|
2058
2061
|
abstract load<R>({ tableName, keys }: {
|
|
2059
2062
|
tableName: TABLE_NAMES;
|
|
2060
2063
|
keys: Record<string, string>;
|
|
@@ -34,6 +34,8 @@ type OtelConfig = {
|
|
|
34
34
|
tracerName?: string;
|
|
35
35
|
/** Sampling configuration to control trace data volume */
|
|
36
36
|
sampling?: SamplingStrategy;
|
|
37
|
+
/** Whether to disable local export */
|
|
38
|
+
disableLocalExport?: boolean;
|
|
37
39
|
/** Export configuration for sending telemetry data */
|
|
38
40
|
export?: {
|
|
39
41
|
/** Export to an OTLP (OpenTelemetry Protocol) endpoint */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
2
|
import { Tool as Tool$1, ToolExecutionOptions, LanguageModelV1, CoreMessage as CoreMessage$1, GenerateTextResult, GenerateObjectResult, StreamTextResult, StreamObjectResult, EmbeddingModel, Message, UserContent, AssistantContent, TelemetrySettings, generateText, generateObject, streamText, streamObject, CoreSystemMessage as CoreSystemMessage$1, CoreAssistantMessage as CoreAssistantMessage$1, CoreUserMessage as CoreUserMessage$1, CoreToolMessage as CoreToolMessage$1, EmbedResult as EmbedResult$1, EmbedManyResult as EmbedManyResult$1, GenerateTextOnStepFinishCallback, StreamTextOnFinishCallback, StreamObjectOnFinishCallback, StreamTextOnStepFinishCallback, LanguageModel as LanguageModel$1, DeepPartial, ToolContent } from 'ai';
|
|
3
|
-
import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-
|
|
3
|
+
import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-DT2poiVK.js';
|
|
4
4
|
import { a as Metric, M as MetricResult, T as TestInfo } from './types-BtMyV38I.js';
|
|
5
5
|
import { Query } from 'sift';
|
|
6
6
|
import { z, ZodSchema } from 'zod';
|
|
@@ -2055,6 +2055,9 @@ declare abstract class MastraStorage extends MastraBase {
|
|
|
2055
2055
|
tableName: TABLE_NAMES;
|
|
2056
2056
|
records: Record<string, any>[];
|
|
2057
2057
|
}): Promise<void>;
|
|
2058
|
+
__batchTraceInsert({ records }: {
|
|
2059
|
+
records: Record<string, any>[];
|
|
2060
|
+
}): Promise<void>;
|
|
2058
2061
|
abstract load<R>({ tableName, keys }: {
|
|
2059
2062
|
tableName: TABLE_NAMES;
|
|
2060
2063
|
keys: Record<string, string>;
|
|
@@ -34,6 +34,8 @@ type OtelConfig = {
|
|
|
34
34
|
tracerName?: string;
|
|
35
35
|
/** Sampling configuration to control trace data volume */
|
|
36
36
|
sampling?: SamplingStrategy;
|
|
37
|
+
/** Whether to disable local export */
|
|
38
|
+
disableLocalExport?: boolean;
|
|
37
39
|
/** Export configuration for sending telemetry data */
|
|
38
40
|
export?: {
|
|
39
41
|
/** Export to an OTLP (OpenTelemetry Protocol) endpoint */
|
package/dist/base.d.cts
CHANGED
package/dist/base.d.ts
CHANGED
package/dist/bundler/index.d.cts
CHANGED
package/dist/bundler/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJJ5OT2JE_cjs = require('./chunk-JJ5OT2JE.cjs');
|
|
4
4
|
|
|
5
5
|
// src/storage/default-proxy-storage.ts
|
|
6
|
-
var DefaultProxyStorage = class extends
|
|
6
|
+
var DefaultProxyStorage = class extends chunkJJ5OT2JE_cjs.MastraStorage {
|
|
7
7
|
storage = null;
|
|
8
8
|
storageConfig;
|
|
9
9
|
isInitializingPromise = null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefaultProxyStorage } from './chunk-
|
|
1
|
+
import { DefaultProxyStorage } from './chunk-3FLA6LJB.js';
|
|
2
2
|
import { InstrumentClass, Telemetry } from './chunk-RT3BSWWR.js';
|
|
3
3
|
import { createLogger, LogLevel, noopLogger } from './chunk-2BVZNKLX.js';
|
|
4
4
|
import { __decoratorStart, __decorateElement, __runInitializers } from './chunk-C6A6W6XS.js';
|
|
@@ -73,7 +73,7 @@ var Mastra = class {
|
|
|
73
73
|
this.#telemetry = Telemetry.init(config?.telemetry);
|
|
74
74
|
if (this.#telemetry) {
|
|
75
75
|
this.#storage = this.#telemetry.traceClass(storage, {
|
|
76
|
-
excludeMethods: ["__setTelemetry", "__getTelemetry"]
|
|
76
|
+
excludeMethods: ["__setTelemetry", "__getTelemetry", "__batchTraceInsert"]
|
|
77
77
|
});
|
|
78
78
|
this.#storage.__setTelemetry(this.#telemetry);
|
|
79
79
|
} else {
|
|
@@ -304,7 +304,7 @@ This is a warning for now, but will throw an error in the future
|
|
|
304
304
|
}
|
|
305
305
|
if (this.#storage) {
|
|
306
306
|
this.#storage = this.#telemetry.traceClass(this.#storage, {
|
|
307
|
-
excludeMethods: ["__setTelemetry", "__getTelemetry"]
|
|
307
|
+
excludeMethods: ["__setTelemetry", "__getTelemetry", "__batchTraceInsert"]
|
|
308
308
|
});
|
|
309
309
|
this.#storage.__setTelemetry(this.#telemetry);
|
|
310
310
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2LIFCMY6_cjs = require('./chunk-2LIFCMY6.cjs');
|
|
4
4
|
var chunk4VGR4D7S_cjs = require('./chunk-4VGR4D7S.cjs');
|
|
5
5
|
var chunkO7IW545H_cjs = require('./chunk-O7IW545H.cjs');
|
|
6
6
|
var chunkRWTSGWWL_cjs = require('./chunk-RWTSGWWL.cjs');
|
|
@@ -66,7 +66,7 @@ exports.Mastra = class Mastra {
|
|
|
66
66
|
this.#logger = logger;
|
|
67
67
|
let storage = config?.storage;
|
|
68
68
|
if (!storage) {
|
|
69
|
-
storage = new
|
|
69
|
+
storage = new chunk2LIFCMY6_cjs.DefaultProxyStorage({
|
|
70
70
|
config: {
|
|
71
71
|
url: process.env.MASTRA_DEFAULT_STORAGE_URL || `:memory:`
|
|
72
72
|
}
|
|
@@ -75,7 +75,7 @@ exports.Mastra = class Mastra {
|
|
|
75
75
|
this.#telemetry = chunk4VGR4D7S_cjs.Telemetry.init(config?.telemetry);
|
|
76
76
|
if (this.#telemetry) {
|
|
77
77
|
this.#storage = this.#telemetry.traceClass(storage, {
|
|
78
|
-
excludeMethods: ["__setTelemetry", "__getTelemetry"]
|
|
78
|
+
excludeMethods: ["__setTelemetry", "__getTelemetry", "__batchTraceInsert"]
|
|
79
79
|
});
|
|
80
80
|
this.#storage.__setTelemetry(this.#telemetry);
|
|
81
81
|
} else {
|
|
@@ -306,7 +306,7 @@ This is a warning for now, but will throw an error in the future
|
|
|
306
306
|
}
|
|
307
307
|
if (this.#storage) {
|
|
308
308
|
this.#storage = this.#telemetry.traceClass(this.#storage, {
|
|
309
|
-
excludeMethods: ["__setTelemetry", "__getTelemetry"]
|
|
309
|
+
excludeMethods: ["__setTelemetry", "__getTelemetry", "__batchTraceInsert"]
|
|
310
310
|
});
|
|
311
311
|
this.#storage.__setTelemetry(this.#telemetry);
|
|
312
312
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAAMFAGE5_cjs = require('./chunk-AAMFAGE5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk2LIFCMY6_cjs = require('./chunk-2LIFCMY6.cjs');
|
|
5
5
|
var chunk64VPB7ZD_cjs = require('./chunk-64VPB7ZD.cjs');
|
|
6
6
|
var chunkD63P5O4Q_cjs = require('./chunk-D63P5O4Q.cjs');
|
|
7
7
|
var fs = require('fs');
|
|
@@ -139,7 +139,7 @@ var MastraMemory = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
139
139
|
};
|
|
140
140
|
constructor(config) {
|
|
141
141
|
super({ component: "MEMORY", name: config.name });
|
|
142
|
-
this.storage = config.storage || new
|
|
142
|
+
this.storage = config.storage || new chunk2LIFCMY6_cjs.DefaultProxyStorage({
|
|
143
143
|
config: {
|
|
144
144
|
url: "file:memory.db"
|
|
145
145
|
}
|
|
@@ -30,6 +30,10 @@ var MastraStorage = class extends chunkD63P5O4Q_cjs.MastraBase {
|
|
|
30
30
|
await this.init();
|
|
31
31
|
return this.batchInsert({ tableName, records });
|
|
32
32
|
}
|
|
33
|
+
async __batchTraceInsert({ records }) {
|
|
34
|
+
await this.init();
|
|
35
|
+
return this.batchInsert({ tableName: chunkTNILINST_cjs.TABLE_TRACES, records });
|
|
36
|
+
}
|
|
33
37
|
async __getThreadById({ threadId }) {
|
|
34
38
|
await this.init();
|
|
35
39
|
return this.getThreadById({ threadId });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LibSQLVector } from './chunk-YVPTMEI4.js';
|
|
2
|
-
import { DefaultProxyStorage } from './chunk-
|
|
2
|
+
import { DefaultProxyStorage } from './chunk-3FLA6LJB.js';
|
|
3
3
|
import { deepMerge } from './chunk-BC5B4EGI.js';
|
|
4
4
|
import { MastraBase } from './chunk-CLJQYXNM.js';
|
|
5
5
|
import { existsSync } from 'fs';
|
|
@@ -28,6 +28,10 @@ var MastraStorage = class extends MastraBase {
|
|
|
28
28
|
await this.init();
|
|
29
29
|
return this.batchInsert({ tableName, records });
|
|
30
30
|
}
|
|
31
|
+
async __batchTraceInsert({ records }) {
|
|
32
|
+
await this.init();
|
|
33
|
+
return this.batchInsert({ tableName: TABLE_TRACES, records });
|
|
34
|
+
}
|
|
31
35
|
async __getThreadById({ threadId }) {
|
|
32
36
|
await this.init();
|
|
33
37
|
return this.getThreadById({ threadId });
|
package/dist/deployer/index.d.ts
CHANGED
package/dist/eval/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.cjs';
|
|
2
2
|
export { M as MetricResult } from '../types-BtMyV38I.cjs';
|
|
3
|
-
import { j as Agent } from '../base-
|
|
3
|
+
import { j as Agent } from '../base-2iKEEo-U.cjs';
|
|
4
4
|
import 'ai';
|
|
5
|
-
import '../base-
|
|
5
|
+
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
|
7
7
|
import '../index-CquI0inB.cjs';
|
|
8
8
|
import 'stream';
|
package/dist/eval/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as Metric, T as TestInfo, E as EvaluationResult } from '../types-BtMyV38I.js';
|
|
2
2
|
export { M as MetricResult } from '../types-BtMyV38I.js';
|
|
3
|
-
import { j as Agent } from '../base-
|
|
3
|
+
import { j as Agent } from '../base-BkKZJMd4.js';
|
|
4
4
|
import 'ai';
|
|
5
|
-
import '../base-
|
|
5
|
+
import '../base-DT2poiVK.js';
|
|
6
6
|
import '@opentelemetry/api';
|
|
7
7
|
import '../index-CquI0inB.js';
|
|
8
8
|
import 'stream';
|
package/dist/index.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var chunk4RSVKCI7_cjs = require('./chunk-4RSVKCI7.cjs');
|
|
4
4
|
var chunk7I7AKQH3_cjs = require('./chunk-7I7AKQH3.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkFGPCJCMB_cjs = require('./chunk-FGPCJCMB.cjs');
|
|
6
|
+
var chunkIUU6FRPI_cjs = require('./chunk-IUU6FRPI.cjs');
|
|
7
7
|
var chunk7JBINHJX_cjs = require('./chunk-7JBINHJX.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkJJ5OT2JE_cjs = require('./chunk-JJ5OT2JE.cjs');
|
|
9
9
|
var chunkS3VEAYDK_cjs = require('./chunk-S3VEAYDK.cjs');
|
|
10
10
|
var chunkLK5H7SEM_cjs = require('./chunk-LK5H7SEM.cjs');
|
|
11
11
|
var chunk4VGR4D7S_cjs = require('./chunk-4VGR4D7S.cjs');
|
|
@@ -41,7 +41,7 @@ var MastraDeployer2 = class extends chunkRZCYBC7D_cjs.MastraDeployer {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
// src/storage/base.warning.ts
|
|
44
|
-
var MastraStorage2 = class extends
|
|
44
|
+
var MastraStorage2 = class extends chunkJJ5OT2JE_cjs.MastraStorage {
|
|
45
45
|
constructor({ name }) {
|
|
46
46
|
super({
|
|
47
47
|
name
|
|
@@ -73,7 +73,7 @@ function createLogger2(options) {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// src/memory/index.warning.ts
|
|
76
|
-
var MastraMemory2 = class extends
|
|
76
|
+
var MastraMemory2 = class extends chunkIUU6FRPI_cjs.MastraMemory {
|
|
77
77
|
constructor(_arg) {
|
|
78
78
|
super({ name: `Deprecated memory` });
|
|
79
79
|
this.logger.warn('Please import "MastraMemory" from "@mastra/core/memory" instead of "@mastra/core"');
|
|
@@ -114,11 +114,11 @@ var Workflow2 = class extends chunkLK5H7SEM_cjs.Workflow {
|
|
|
114
114
|
|
|
115
115
|
Object.defineProperty(exports, "Mastra", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkFGPCJCMB_cjs.Mastra; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkIUU6FRPI_cjs.MemoryProcessor; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
124
124
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as Metric } from './types-BtMyV38I.cjs';
|
|
2
2
|
export { E as EvaluationResult, M as MetricResult, T as TestInfo } from './types-BtMyV38I.cjs';
|
|
3
|
-
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-
|
|
4
|
-
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-
|
|
5
|
-
import { M as MastraBase$1 } from './base-
|
|
6
|
-
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-
|
|
3
|
+
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-2iKEEo-U.cjs';
|
|
4
|
+
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-2iKEEo-U.cjs';
|
|
5
|
+
import { M as MastraBase$1 } from './base-BihKcqDY.cjs';
|
|
6
|
+
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-BihKcqDY.cjs';
|
|
7
7
|
import { R as RegisteredLogger, a as LogLevel, T as TransportMap, L as Logger } from './index-CquI0inB.cjs';
|
|
8
8
|
export { B as BaseLogMessage, b as LoggerTransport, M as MultiLogger, c as combineLoggers, n as noopLogger } from './index-CquI0inB.cjs';
|
|
9
9
|
import { MastraDeployer as MastraDeployer$1 } from './deployer/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as Metric } from './types-BtMyV38I.js';
|
|
2
2
|
export { E as EvaluationResult, M as MetricResult, T as TestInfo } from './types-BtMyV38I.js';
|
|
3
|
-
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-
|
|
4
|
-
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-
|
|
5
|
-
import { M as MastraBase$1 } from './base-
|
|
6
|
-
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-
|
|
3
|
+
import { i as ToolAction, j as Agent$1, k as AgentConfig, e as MastraStorage$1, l as MastraMemory$1, m as ToolExecutionContext, n as Tool$1, o as Step, p as Workflow$1, q as WorkflowOptions } from './base-BkKZJMd4.js';
|
|
4
|
+
export { ae as ActionContext, ad as BaseCondition, B as BaseStructuredOutputType, Z as Config, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, a5 as CoreTool, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, as as DependencyCheckOutput, z as EmbedManyResult, y as EmbedResult, E as EvalRow, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, a as Mastra, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, O as OutputType, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, a0 as SharedMemoryConfig, a7 as StepAction, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, aj as StepResult, a8 as StepVariableType, ak as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType, ar as SubscriberFunctionOutput, ac as VariableReference, a4 as VercelTool, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, am as WorkflowContext, ao as WorkflowEvent, an as WorkflowLogMessage, aE as WorkflowResumeResult, r as WorkflowRow, al as WorkflowRunResult, W as WorkflowRunState, s as WorkflowRuns, ax as WorkflowState, aF as createStep, a3 as createTool } from './base-BkKZJMd4.js';
|
|
5
|
+
import { M as MastraBase$1 } from './base-DT2poiVK.js';
|
|
6
|
+
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-DT2poiVK.js';
|
|
7
7
|
import { R as RegisteredLogger, a as LogLevel, T as TransportMap, L as Logger } from './index-CquI0inB.js';
|
|
8
8
|
export { B as BaseLogMessage, b as LoggerTransport, M as MultiLogger, c as combineLoggers, n as noopLogger } from './index-CquI0inB.js';
|
|
9
9
|
import { MastraDeployer as MastraDeployer$1 } from './deployer/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MastraTTS } from './chunk-7QGBEEXJ.js';
|
|
2
2
|
import { Integration, OpenAPIToolset } from './chunk-4RMSGSQN.js';
|
|
3
|
-
export { Mastra } from './chunk-
|
|
4
|
-
import { MastraMemory } from './chunk-
|
|
5
|
-
export { MemoryProcessor } from './chunk-
|
|
3
|
+
export { Mastra } from './chunk-2ZHFDR35.js';
|
|
4
|
+
import { MastraMemory } from './chunk-Q5Q3V2SQ.js';
|
|
5
|
+
export { MemoryProcessor } from './chunk-Q5Q3V2SQ.js';
|
|
6
6
|
import { MastraVector } from './chunk-FY57LEMC.js';
|
|
7
|
-
import { MastraStorage } from './chunk-
|
|
7
|
+
import { MastraStorage } from './chunk-ZKVHS4RY.js';
|
|
8
8
|
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-KHMCAV4W.js';
|
|
9
9
|
import { Agent, Workflow } from './chunk-TFDALD5V.js';
|
|
10
10
|
export { Step, WhenConditionReturnValue, agentToStep, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isAgent, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, isWorkflow, mergeChildValue, recursivelyCheckForFinalState, resolveVariables, updateStepInHierarchy, workflowToStep } from './chunk-TFDALD5V.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../base-
|
|
2
|
-
import { p as Workflow, i as ToolAction } from '../base-
|
|
1
|
+
import '../base-BihKcqDY.cjs';
|
|
2
|
+
import { p as Workflow, i as ToolAction } from '../base-2iKEEo-U.cjs';
|
|
3
3
|
import '@opentelemetry/api';
|
|
4
4
|
import '../index-CquI0inB.cjs';
|
|
5
5
|
import 'stream';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../base-
|
|
2
|
-
import { p as Workflow, i as ToolAction } from '../base-
|
|
1
|
+
import '../base-DT2poiVK.js';
|
|
2
|
+
import { p as Workflow, i as ToolAction } from '../base-BkKZJMd4.js';
|
|
3
3
|
import '@opentelemetry/api';
|
|
4
4
|
import '../index-CquI0inB.js';
|
|
5
5
|
import 'stream';
|
package/dist/llm/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-
|
|
4
|
+
export { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-2iKEEo-U.cjs';
|
|
5
5
|
import '../index-CquI0inB.cjs';
|
|
6
|
-
import '../base-
|
|
6
|
+
import '../base-BihKcqDY.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
|
9
9
|
import '../types-BtMyV38I.cjs';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-
|
|
4
|
+
export { B as BaseStructuredOutputType, v as CoreAssistantMessage, t as CoreMessage, u as CoreSystemMessage, x as CoreToolMessage, w as CoreUserMessage, P as DefaultLLMStreamObjectOptions, N as DefaultLLMStreamOptions, K as DefaultLLMTextObjectOptions, J as DefaultLLMTextOptions, z as EmbedManyResult, y as EmbedResult, H as GenerateReturn, X as LLMInnerStreamOptions, Y as LLMStreamObjectOptions, U as LLMStreamOptions, R as LLMTextObjectOptions, Q as LLMTextOptions, L as LanguageModel, O as OutputType, I as StreamReturn, G as StructuredOutput, F as StructuredOutputArrayItem, D as StructuredOutputType } from '../base-BkKZJMd4.js';
|
|
5
5
|
import '../index-CquI0inB.js';
|
|
6
|
-
import '../base-
|
|
6
|
+
import '../base-DT2poiVK.js';
|
|
7
7
|
import '@opentelemetry/api';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
|
9
9
|
import '../types-BtMyV38I.js';
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFGPCJCMB_cjs = require('../chunk-FGPCJCMB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Mastra", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkFGPCJCMB_cjs.Mastra; }
|
|
10
10
|
});
|
package/dist/mastra/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Z as Config, a as Mastra } from '../base-
|
|
1
|
+
export { Z as Config, a as Mastra } from '../base-2iKEEo-U.cjs';
|
|
2
2
|
import '../index-CquI0inB.cjs';
|
|
3
3
|
import '../vector/index.cjs';
|
|
4
|
-
import '../base-
|
|
4
|
+
import '../base-BihKcqDY.cjs';
|
|
5
5
|
import '../tts/index.cjs';
|
|
6
6
|
import '../deployer/index.cjs';
|
|
7
7
|
import 'ai';
|
package/dist/mastra/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Z as Config, a as Mastra } from '../base-
|
|
1
|
+
export { Z as Config, a as Mastra } from '../base-BkKZJMd4.js';
|
|
2
2
|
import '../index-CquI0inB.js';
|
|
3
3
|
import '../vector/index.js';
|
|
4
|
-
import '../base-
|
|
4
|
+
import '../base-DT2poiVK.js';
|
|
5
5
|
import '../tts/index.js';
|
|
6
6
|
import '../deployer/index.js';
|
|
7
7
|
import 'ai';
|
package/dist/mastra/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Mastra } from '../chunk-
|
|
1
|
+
export { Mastra } from '../chunk-2ZHFDR35.js';
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIUU6FRPI_cjs = require('../chunk-IUU6FRPI.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraMemory", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIUU6FRPI_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIUU6FRPI_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-
|
|
1
|
+
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-2iKEEo-U.cjs';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-
|
|
1
|
+
export { l as MastraMemory, $ as MemoryConfig, a2 as MemoryProcessor, a1 as MemoryProcessorOpts, _ as MessageResponse, g as MessageType, a0 as SharedMemoryConfig, f as StorageThreadType } from '../base-BkKZJMd4.js';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-DT2poiVK.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
package/dist/memory/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor } from '../chunk-Q5Q3V2SQ.js';
|
package/dist/network/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { aJ as AgentNetwork, aK as AgentNetworkConfig } from '../base-
|
|
1
|
+
export { aJ as AgentNetwork, aK as AgentNetworkConfig } from '../base-2iKEEo-U.cjs';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
package/dist/network/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { aJ as AgentNetwork, aK as AgentNetworkConfig } from '../base-
|
|
1
|
+
export { aJ as AgentNetwork, aK as AgentNetworkConfig } from '../base-BkKZJMd4.js';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-DT2poiVK.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../base-
|
|
2
|
-
import { aG as MastraLanguageModel } from '../base-
|
|
1
|
+
import '../base-BihKcqDY.cjs';
|
|
2
|
+
import { aG as MastraLanguageModel } from '../base-2iKEEo-U.cjs';
|
|
3
3
|
import '@opentelemetry/api';
|
|
4
4
|
import '../index-CquI0inB.cjs';
|
|
5
5
|
import 'stream';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../base-
|
|
2
|
-
import { aG as MastraLanguageModel } from '../base-
|
|
1
|
+
import '../base-DT2poiVK.js';
|
|
2
|
+
import { aG as MastraLanguageModel } from '../base-BkKZJMd4.js';
|
|
3
3
|
import '@opentelemetry/api';
|
|
4
4
|
import '../index-CquI0inB.js';
|
|
5
5
|
import 'stream';
|
package/dist/server/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Handler, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-2iKEEo-U.cjs';
|
|
4
4
|
import 'ai';
|
|
5
|
-
import '../base-
|
|
5
|
+
import '../base-BihKcqDY.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
|
7
7
|
import '../index-CquI0inB.cjs';
|
|
8
8
|
import 'stream';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Handler, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute } from '../base-BkKZJMd4.js';
|
|
4
4
|
import 'ai';
|
|
5
|
-
import '../base-
|
|
5
|
+
import '../base-DT2poiVK.js';
|
|
6
6
|
import '@opentelemetry/api';
|
|
7
7
|
import '../index-CquI0inB.js';
|
|
8
8
|
import 'stream';
|
package/dist/storage/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJJ5OT2JE_cjs = require('../chunk-JJ5OT2JE.cjs');
|
|
4
4
|
var chunkTNILINST_cjs = require('../chunk-TNILINST.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "MastraStorage", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkJJ5OT2JE_cjs.MastraStorage; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TABLE_EVALS", {
|
|
13
13
|
enumerable: true,
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-
|
|
1
|
+
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-2iKEEo-U.cjs';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-
|
|
1
|
+
export { E as EvalRow, e as MastraStorage, S as StorageColumn, h as StorageGetMessagesArg, aP as TABLE_EVALS, aQ as TABLE_MESSAGES, T as TABLE_NAMES, aT as TABLE_SCHEMAS, aR as TABLE_THREADS, aS as TABLE_TRACES, aO as TABLE_WORKFLOW_SNAPSHOT, r as WorkflowRow, s as WorkflowRuns } from '../base-BkKZJMd4.js';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-DT2poiVK.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
package/dist/storage/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MastraStorage } from '../chunk-
|
|
1
|
+
export { MastraStorage } from '../chunk-ZKVHS4RY.js';
|
|
2
2
|
export { TABLE_EVALS, TABLE_MESSAGES, TABLE_SCHEMAS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-ANYT6KP7.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJJ5OT2JE_cjs = require('../../chunk-JJ5OT2JE.cjs');
|
|
4
4
|
var chunkTNILINST_cjs = require('../../chunk-TNILINST.cjs');
|
|
5
5
|
var path = require('path');
|
|
6
6
|
var client = require('@libsql/client');
|
|
@@ -12,7 +12,7 @@ function safelyParseJSON(jsonString) {
|
|
|
12
12
|
return {};
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
var LibSQLStore = class extends
|
|
15
|
+
var LibSQLStore = class extends chunkJJ5OT2JE_cjs.MastraStorage {
|
|
16
16
|
client;
|
|
17
17
|
constructor({ config }) {
|
|
18
18
|
super({ name: `LibSQLStore` });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-
|
|
2
|
-
import '../../base-
|
|
1
|
+
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-2iKEEo-U.cjs';
|
|
2
|
+
import '../../base-BihKcqDY.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../../types-BtMyV38I.cjs';
|
|
5
5
|
import 'sift';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-
|
|
2
|
-
import '../../base-
|
|
1
|
+
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MessageType, h as StorageGetMessagesArg, E as EvalRow, W as WorkflowRunState } from '../../base-BkKZJMd4.js';
|
|
2
|
+
import '../../base-DT2poiVK.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../../types-BtMyV38I.js';
|
|
5
5
|
import 'sift';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MastraStorage } from '../../chunk-
|
|
1
|
+
import { MastraStorage } from '../../chunk-ZKVHS4RY.js';
|
|
2
2
|
import { TABLE_WORKFLOW_SNAPSHOT, TABLE_THREADS, TABLE_MESSAGES, TABLE_EVALS, TABLE_TRACES } from '../../chunk-ANYT6KP7.js';
|
|
3
3
|
import { isAbsolute, join, resolve } from 'node:path';
|
|
4
4
|
import { createClient } from '@libsql/client';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from '../base-
|
|
1
|
+
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from '../base-BihKcqDY.cjs';
|
|
2
2
|
import { SpanKind } from '@opentelemetry/api';
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.cjs';
|
|
6
|
-
import { e as MastraStorage } from '../base-
|
|
6
|
+
import { e as MastraStorage } from '../base-2iKEEo-U.cjs';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import 'ai';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from '../base-
|
|
1
|
+
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from '../base-DT2poiVK.js';
|
|
2
2
|
import { SpanKind } from '@opentelemetry/api';
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.js';
|
|
6
|
-
import { e as MastraStorage } from '../base-
|
|
6
|
+
import { e as MastraStorage } from '../base-BkKZJMd4.js';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import 'ai';
|
|
@@ -8,8 +8,53 @@ var resources = require('@opentelemetry/resources');
|
|
|
8
8
|
var exporterTraceOtlpHttp = require('@opentelemetry/exporter-trace-otlp-http');
|
|
9
9
|
var exporterTraceOtlpGrpc = require('@opentelemetry/exporter-trace-otlp-grpc');
|
|
10
10
|
var sdkTraceBase = require('@opentelemetry/sdk-trace-base');
|
|
11
|
+
var core = require('@opentelemetry/core');
|
|
11
12
|
|
|
12
|
-
|
|
13
|
+
var CompositeExporter = class {
|
|
14
|
+
exporters;
|
|
15
|
+
constructor(exporters) {
|
|
16
|
+
this.exporters = exporters;
|
|
17
|
+
}
|
|
18
|
+
export(spans, resultCallback) {
|
|
19
|
+
const telemetryTraceIds = new Set(
|
|
20
|
+
spans.filter((span) => {
|
|
21
|
+
const attrs = span.attributes || {};
|
|
22
|
+
const httpTarget = attrs["http.target"];
|
|
23
|
+
return httpTarget === "/api/telemetry";
|
|
24
|
+
}).map((span) => span.spanContext().traceId)
|
|
25
|
+
);
|
|
26
|
+
const filteredSpans = spans.filter((span) => !telemetryTraceIds.has(span.spanContext().traceId));
|
|
27
|
+
if (filteredSpans.length === 0) {
|
|
28
|
+
resultCallback({ code: core.ExportResultCode.SUCCESS });
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
void Promise.all(
|
|
32
|
+
this.exporters.map(
|
|
33
|
+
(exporter) => new Promise((resolve) => {
|
|
34
|
+
if (exporter.export) {
|
|
35
|
+
exporter.export(filteredSpans, resolve);
|
|
36
|
+
} else {
|
|
37
|
+
resolve({ code: core.ExportResultCode.FAILED });
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
)
|
|
41
|
+
).then((results) => {
|
|
42
|
+
const hasError = results.some((r) => r.code === core.ExportResultCode.FAILED);
|
|
43
|
+
resultCallback({
|
|
44
|
+
code: hasError ? core.ExportResultCode.FAILED : core.ExportResultCode.SUCCESS
|
|
45
|
+
});
|
|
46
|
+
}).catch((error) => {
|
|
47
|
+
console.error("[CompositeExporter] Export error:", error);
|
|
48
|
+
resultCallback({ code: core.ExportResultCode.FAILED, error });
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
shutdown() {
|
|
52
|
+
return Promise.all(this.exporters.map((e) => e.shutdown?.() ?? Promise.resolve())).then(() => void 0);
|
|
53
|
+
}
|
|
54
|
+
forceFlush() {
|
|
55
|
+
return Promise.all(this.exporters.map((e) => e.forceFlush?.() ?? Promise.resolve())).then(() => void 0);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
13
58
|
|
|
14
59
|
Object.defineProperty(exports, "NodeSDK", {
|
|
15
60
|
enumerable: true,
|
|
@@ -55,3 +100,4 @@ Object.defineProperty(exports, "TraceIdRatioBasedSampler", {
|
|
|
55
100
|
enumerable: true,
|
|
56
101
|
get: function () { return sdkTraceBase.TraceIdRatioBasedSampler; }
|
|
57
102
|
});
|
|
103
|
+
exports.CompositeExporter = CompositeExporter;
|
|
@@ -5,4 +5,16 @@ export { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
|
|
|
5
5
|
export { Resource } from '@opentelemetry/resources';
|
|
6
6
|
export { OTLPTraceExporter as OTLPHttpExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
|
7
7
|
export { OTLPTraceExporter as OTLPGrpcExporter } from '@opentelemetry/exporter-trace-otlp-grpc';
|
|
8
|
+
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
8
9
|
export { AlwaysOffSampler, AlwaysOnSampler, ParentBasedSampler, Sampler, TraceIdRatioBasedSampler } from '@opentelemetry/sdk-trace-base';
|
|
10
|
+
import { ExportResult } from '@opentelemetry/core';
|
|
11
|
+
|
|
12
|
+
declare class CompositeExporter implements SpanExporter {
|
|
13
|
+
private exporters;
|
|
14
|
+
constructor(exporters: SpanExporter[]);
|
|
15
|
+
export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void;
|
|
16
|
+
shutdown(): Promise<void>;
|
|
17
|
+
forceFlush(): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { CompositeExporter };
|
|
@@ -5,4 +5,16 @@ export { ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
|
|
|
5
5
|
export { Resource } from '@opentelemetry/resources';
|
|
6
6
|
export { OTLPTraceExporter as OTLPHttpExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
|
7
7
|
export { OTLPTraceExporter as OTLPGrpcExporter } from '@opentelemetry/exporter-trace-otlp-grpc';
|
|
8
|
+
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
8
9
|
export { AlwaysOffSampler, AlwaysOnSampler, ParentBasedSampler, Sampler, TraceIdRatioBasedSampler } from '@opentelemetry/sdk-trace-base';
|
|
10
|
+
import { ExportResult } from '@opentelemetry/core';
|
|
11
|
+
|
|
12
|
+
declare class CompositeExporter implements SpanExporter {
|
|
13
|
+
private exporters;
|
|
14
|
+
constructor(exporters: SpanExporter[]);
|
|
15
|
+
export(spans: ReadableSpan[], resultCallback: (result: ExportResult) => void): void;
|
|
16
|
+
shutdown(): Promise<void>;
|
|
17
|
+
forceFlush(): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { CompositeExporter };
|
|
@@ -6,3 +6,52 @@ export { Resource } from '@opentelemetry/resources';
|
|
|
6
6
|
export { OTLPTraceExporter as OTLPHttpExporter } from '@opentelemetry/exporter-trace-otlp-http';
|
|
7
7
|
export { OTLPTraceExporter as OTLPGrpcExporter } from '@opentelemetry/exporter-trace-otlp-grpc';
|
|
8
8
|
export { AlwaysOffSampler, AlwaysOnSampler, ParentBasedSampler, TraceIdRatioBasedSampler } from '@opentelemetry/sdk-trace-base';
|
|
9
|
+
import { ExportResultCode } from '@opentelemetry/core';
|
|
10
|
+
|
|
11
|
+
var CompositeExporter = class {
|
|
12
|
+
exporters;
|
|
13
|
+
constructor(exporters) {
|
|
14
|
+
this.exporters = exporters;
|
|
15
|
+
}
|
|
16
|
+
export(spans, resultCallback) {
|
|
17
|
+
const telemetryTraceIds = new Set(
|
|
18
|
+
spans.filter((span) => {
|
|
19
|
+
const attrs = span.attributes || {};
|
|
20
|
+
const httpTarget = attrs["http.target"];
|
|
21
|
+
return httpTarget === "/api/telemetry";
|
|
22
|
+
}).map((span) => span.spanContext().traceId)
|
|
23
|
+
);
|
|
24
|
+
const filteredSpans = spans.filter((span) => !telemetryTraceIds.has(span.spanContext().traceId));
|
|
25
|
+
if (filteredSpans.length === 0) {
|
|
26
|
+
resultCallback({ code: ExportResultCode.SUCCESS });
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
void Promise.all(
|
|
30
|
+
this.exporters.map(
|
|
31
|
+
(exporter) => new Promise((resolve) => {
|
|
32
|
+
if (exporter.export) {
|
|
33
|
+
exporter.export(filteredSpans, resolve);
|
|
34
|
+
} else {
|
|
35
|
+
resolve({ code: ExportResultCode.FAILED });
|
|
36
|
+
}
|
|
37
|
+
})
|
|
38
|
+
)
|
|
39
|
+
).then((results) => {
|
|
40
|
+
const hasError = results.some((r) => r.code === ExportResultCode.FAILED);
|
|
41
|
+
resultCallback({
|
|
42
|
+
code: hasError ? ExportResultCode.FAILED : ExportResultCode.SUCCESS
|
|
43
|
+
});
|
|
44
|
+
}).catch((error) => {
|
|
45
|
+
console.error("[CompositeExporter] Export error:", error);
|
|
46
|
+
resultCallback({ code: ExportResultCode.FAILED, error });
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
shutdown() {
|
|
50
|
+
return Promise.all(this.exporters.map((e) => e.shutdown?.() ?? Promise.resolve())).then(() => void 0);
|
|
51
|
+
}
|
|
52
|
+
forceFlush() {
|
|
53
|
+
return Promise.all(this.exporters.map((e) => e.forceFlush?.() ?? Promise.resolve())).then(() => void 0);
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export { CompositeExporter };
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-
|
|
1
|
+
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-2iKEEo-U.cjs';
|
|
2
2
|
export { isVercelTool } from '../utils.cjs';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../base-
|
|
4
|
+
import '../base-BihKcqDY.cjs';
|
|
5
5
|
import '@opentelemetry/api';
|
|
6
6
|
import '../index-CquI0inB.cjs';
|
|
7
7
|
import 'stream';
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-
|
|
1
|
+
export { a5 as CoreTool, n as Tool, i as ToolAction, m as ToolExecutionContext, a4 as VercelTool, a3 as createTool } from '../base-BkKZJMd4.js';
|
|
2
2
|
export { isVercelTool } from '../utils.js';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../base-
|
|
4
|
+
import '../base-DT2poiVK.js';
|
|
5
5
|
import '@opentelemetry/api';
|
|
6
6
|
import '../index-CquI0inB.js';
|
|
7
7
|
import 'stream';
|
package/dist/tts/index.d.cts
CHANGED
package/dist/tts/index.d.ts
CHANGED
package/dist/utils.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-
|
|
1
|
+
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-2iKEEo-U.cjs';
|
|
2
2
|
import { CoreMessage, Message } from 'ai';
|
|
3
3
|
import { MastraTTS } from './tts/index.cjs';
|
|
4
4
|
import { MastraVector } from './vector/index.cjs';
|
|
5
5
|
import { z, ZodObject } from 'zod';
|
|
6
6
|
import { a as Metric } from './types-BtMyV38I.cjs';
|
|
7
7
|
import { L as Logger } from './index-CquI0inB.cjs';
|
|
8
|
-
import './base-
|
|
8
|
+
import './base-BihKcqDY.cjs';
|
|
9
9
|
import 'sift';
|
|
10
10
|
import 'json-schema';
|
|
11
11
|
import '@opentelemetry/api';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-
|
|
1
|
+
import { a4 as VercelTool, i as ToolAction, aH as ToolsInput, a as Mastra, aI as MastraPrimitives, l as MastraMemory, a5 as CoreTool, j as Agent, p as Workflow, o as Step, a6 as StepExecutionContext, am as WorkflowContext, aJ as AgentNetwork } from './base-BkKZJMd4.js';
|
|
2
2
|
import { CoreMessage, Message } from 'ai';
|
|
3
3
|
import { MastraTTS } from './tts/index.js';
|
|
4
4
|
import { MastraVector } from './vector/index.js';
|
|
5
5
|
import { z, ZodObject } from 'zod';
|
|
6
6
|
import { a as Metric } from './types-BtMyV38I.js';
|
|
7
7
|
import { L as Logger } from './index-CquI0inB.js';
|
|
8
|
-
import './base-
|
|
8
|
+
import './base-DT2poiVK.js';
|
|
9
9
|
import 'sift';
|
|
10
10
|
import 'json-schema';
|
|
11
11
|
import '@opentelemetry/api';
|
package/dist/vector/index.d.cts
CHANGED
package/dist/vector/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VectorFilter } from '../filter/index.cjs';
|
|
2
2
|
import { MastraVector, ParamsToArgs, QueryVectorParams, QueryVectorArgs, QueryResult, UpsertVectorParams, CreateIndexParams, IndexStats } from '../index.cjs';
|
|
3
|
-
import '../../base-
|
|
3
|
+
import '../../base-BihKcqDY.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VectorFilter } from '../filter/index.js';
|
|
2
2
|
import { MastraVector, ParamsToArgs, QueryVectorParams, QueryVectorArgs, QueryResult, UpsertVectorParams, CreateIndexParams, IndexStats } from '../index.js';
|
|
3
|
-
import '../../base-
|
|
3
|
+
import '../../base-DT2poiVK.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
package/dist/voice/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as MastraVoice } from '../base-
|
|
2
|
-
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-
|
|
3
|
-
import '../base-
|
|
1
|
+
import { b as MastraVoice } from '../base-2iKEEo-U.cjs';
|
|
2
|
+
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-2iKEEo-U.cjs';
|
|
3
|
+
import '../base-BihKcqDY.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../types-BtMyV38I.cjs';
|
|
6
6
|
import 'sift';
|
package/dist/voice/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as MastraVoice } from '../base-
|
|
2
|
-
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-
|
|
3
|
-
import '../base-
|
|
1
|
+
import { b as MastraVoice } from '../base-BkKZJMd4.js';
|
|
2
|
+
export { C as CompositeVoice, d as VoiceConfig, c as VoiceEventMap, V as VoiceEventType } from '../base-BkKZJMd4.js';
|
|
3
|
+
import '../base-DT2poiVK.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../types-BtMyV38I.js';
|
|
6
6
|
import 'sift';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-
|
|
2
|
-
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-
|
|
1
|
+
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-2iKEEo-U.cjs';
|
|
2
|
+
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-2iKEEo-U.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { a as Metric } from '../types-BtMyV38I.cjs';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.cjs';
|
|
6
|
-
import '../base-
|
|
6
|
+
import '../base-BihKcqDY.cjs';
|
|
7
7
|
import 'ai';
|
|
8
8
|
import 'sift';
|
|
9
9
|
import 'json-schema';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-
|
|
2
|
-
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-
|
|
1
|
+
import { ac as VariableReference, aj as StepResult, o as Step, p as Workflow, j as Agent, am as WorkflowContext, aH as ToolsInput, a as Mastra, a7 as StepAction, al as WorkflowRunResult } from '../base-BkKZJMd4.js';
|
|
2
|
+
export { ae as ActionContext, ad as BaseCondition, as as DependencyCheckOutput, az as ExtractSchemaFromStep, aC as ExtractSchemaType, aA as ExtractStepResult, aD as PathsToStringProps, ap as ResolverFunctionInput, aq as ResolverFunctionOutput, ab as RetryConfig, ah as StepCondition, ai as StepConfig, ag as StepDef, a6 as StepExecutionContext, aa as StepGraph, ay as StepId, aB as StepInputType, a9 as StepNode, at as StepResolverOutput, a8 as StepVariableType, ak as StepsRecord, ar as SubscriberFunctionOutput, af as WhenConditionReturnValue, av as WorkflowActionParams, aw as WorkflowActions, au as WorkflowActors, ao as WorkflowEvent, an as WorkflowLogMessage, q as WorkflowOptions, aE as WorkflowResumeResult, W as WorkflowRunState, ax as WorkflowState, aF as createStep } from '../base-BkKZJMd4.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { a as Metric } from '../types-BtMyV38I.js';
|
|
5
5
|
import { L as Logger } from '../index-CquI0inB.js';
|
|
6
|
-
import '../base-
|
|
6
|
+
import '../base-DT2poiVK.js';
|
|
7
7
|
import 'ai';
|
|
8
8
|
import 'sift';
|
|
9
9
|
import 'json-schema';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/core",
|
|
3
|
-
"version": "0.8.0-alpha.
|
|
3
|
+
"version": "0.8.0-alpha.7",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"cohere-ai": "^7.16.0",
|
|
112
112
|
"date-fns": "^3.6.0",
|
|
113
113
|
"dotenv": "^16.4.7",
|
|
114
|
-
"fastembed": "^1.14.
|
|
114
|
+
"fastembed": "^1.14.3",
|
|
115
115
|
"json-schema": "^0.4.0",
|
|
116
116
|
"json-schema-to-zod": "^2.6.0",
|
|
117
117
|
"hono": "^4.5.1",
|