@mastra/core 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.cjs +2 -2
- package/dist/agent/index.d.cts +3 -3
- package/dist/agent/index.d.ts +3 -3
- package/dist/agent/index.js +1 -1
- package/dist/{base-BwuLIP_x.d.ts → base-CbMRVSw8.d.ts} +142 -7
- package/dist/{base-BZViaFTt.d.ts → base-Cmunaaxb.d.ts} +1 -1
- package/dist/{base-BESiSy3v.d.cts → base-DsOQiX2q.d.cts} +142 -7
- package/dist/{base-DboIg_Cd.d.cts → base-ObPJ-w8K.d.cts} +1 -1
- package/dist/base.cjs +2 -2
- package/dist/base.d.cts +2 -2
- package/dist/base.d.ts +2 -2
- package/dist/base.js +1 -1
- package/dist/bundler/index.cjs +2 -2
- package/dist/bundler/index.d.cts +2 -2
- package/dist/bundler/index.d.ts +2 -2
- package/dist/bundler/index.js +1 -1
- package/dist/{chunk-6PNJOPFO.js → chunk-3CNO7YB5.js} +1 -1
- package/dist/{chunk-HJPMYDWO.cjs → chunk-4PYORXWM.cjs} +2 -2
- package/dist/{chunk-BPL5FORD.cjs → chunk-5ROCYEY7.cjs} +6 -6
- package/dist/{chunk-CMSZAZ3I.cjs → chunk-75XZXEUM.cjs} +8 -8
- package/dist/{chunk-GMAMAKLH.js → chunk-7VTZI3YN.js} +1 -1
- package/dist/{chunk-44N24GPK.js → chunk-DW4X6TXX.js} +4 -4
- package/dist/{chunk-DGCOY6YF.js → chunk-F6KZ3CUF.js} +1 -1
- package/dist/{chunk-KPKFLQFR.cjs → chunk-IQLRSKED.cjs} +2 -2
- package/dist/{chunk-SYQ7NK2E.cjs → chunk-JJ4YQTFT.cjs} +2 -2
- package/dist/{chunk-3JSTLSIP.js → chunk-L7CR75HA.js} +1 -0
- package/dist/{chunk-XLZRGA3F.cjs → chunk-LHUFN2BG.cjs} +29 -6
- package/dist/{chunk-WB2HREXE.cjs → chunk-NPOKIPWC.cjs} +1 -0
- package/dist/{chunk-GHONEERA.js → chunk-OC5LOLNS.js} +3 -3
- package/dist/{chunk-3LURIF6I.cjs → chunk-ONDCHP6G.cjs} +2 -2
- package/dist/{chunk-IIWRJFLQ.cjs → chunk-PL7PVTGF.cjs} +4 -4
- package/dist/{chunk-7TZAPEAT.js → chunk-RU7CSPAV.js} +1 -1
- package/dist/{chunk-ENT7U27Y.cjs → chunk-RUA6BSB6.cjs} +2 -2
- package/dist/{chunk-2BT7KDXB.js → chunk-S7PRIZBF.js} +1 -1
- package/dist/{chunk-4DD2PP2R.js → chunk-SMBKF6K5.js} +1 -1
- package/dist/{chunk-22HQQDJZ.js → chunk-U6V76AAB.js} +25 -2
- package/dist/{chunk-WOMOGDGR.cjs → chunk-U7ONOIBO.cjs} +2 -2
- package/dist/{chunk-4VHCCQ7P.js → chunk-VN4M67DA.js} +1 -1
- package/dist/{chunk-CLJYFFOS.js → chunk-WBE5RTFI.js} +1 -1
- package/dist/{chunk-FL3GQXQ2.cjs → chunk-WVVKLIUW.cjs} +2 -2
- package/dist/{chunk-ECNK7OU3.js → chunk-XLXJUYKH.js} +1 -1
- package/dist/{chunk-VA3TRXPD.cjs → chunk-YW6NIHPF.cjs} +2 -2
- package/dist/{chunk-QLYZGX5Z.js → chunk-ZABXT2MN.js} +1 -1
- package/dist/{chunk-2PTWBPQ6.cjs → chunk-ZG5FKEL2.cjs} +2 -2
- package/dist/deployer/index.cjs +2 -2
- package/dist/deployer/index.d.cts +2 -2
- package/dist/deployer/index.d.ts +2 -2
- package/dist/deployer/index.js +1 -1
- package/dist/eval/index.d.cts +3 -3
- package/dist/eval/index.d.ts +3 -3
- package/dist/{index-mKY1XrpK.d.cts → index-CquI0inB.d.cts} +1 -0
- package/dist/{index-mKY1XrpK.d.ts → index-CquI0inB.d.ts} +1 -0
- package/dist/index.cjs +46 -46
- package/dist/index.d.cts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +13 -13
- package/dist/integration/index.d.cts +3 -3
- package/dist/integration/index.d.ts +3 -3
- package/dist/llm/index.d.cts +3 -3
- package/dist/llm/index.d.ts +3 -3
- package/dist/logger/index.cjs +9 -9
- package/dist/logger/index.d.cts +1 -1
- package/dist/logger/index.d.ts +1 -1
- package/dist/logger/index.js +1 -1
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.cts +3 -3
- package/dist/mastra/index.d.ts +3 -3
- package/dist/mastra/index.js +1 -1
- package/dist/memory/index.cjs +2 -2
- package/dist/memory/index.d.cts +3 -3
- package/dist/memory/index.d.ts +3 -3
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +300 -0
- package/dist/network/index.d.cts +19 -0
- package/dist/network/index.d.ts +19 -0
- package/dist/network/index.js +298 -0
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.d.cts +3 -3
- package/dist/relevance/index.d.ts +3 -3
- package/dist/relevance/index.js +1 -1
- package/dist/storage/index.cjs +2 -2
- package/dist/storage/index.d.cts +3 -3
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +1 -1
- package/dist/storage/libsql/index.cjs +2 -2
- package/dist/storage/libsql/index.d.cts +3 -3
- package/dist/storage/libsql/index.d.ts +3 -3
- package/dist/storage/libsql/index.js +1 -1
- package/dist/telemetry/index.d.cts +3 -3
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/tools/index.d.cts +4 -18
- package/dist/tools/index.d.ts +4 -18
- package/dist/tts/index.cjs +2 -2
- package/dist/tts/index.d.cts +2 -2
- package/dist/tts/index.d.ts +2 -2
- package/dist/tts/index.js +1 -1
- package/dist/utils.d.cts +5 -5
- package/dist/utils.d.ts +5 -5
- package/dist/vector/index.cjs +2 -2
- package/dist/vector/index.d.cts +2 -2
- package/dist/vector/index.d.ts +2 -2
- package/dist/vector/index.js +1 -1
- package/dist/vector/libsql/index.cjs +3 -3
- package/dist/vector/libsql/index.d.cts +2 -2
- package/dist/vector/libsql/index.d.ts +2 -2
- package/dist/vector/libsql/index.js +1 -1
- package/dist/voice/index.cjs +2 -2
- package/dist/voice/index.d.cts +3 -3
- package/dist/voice/index.d.ts +3 -3
- package/dist/voice/index.js +1 -1
- package/dist/workflows/index.cjs +17 -17
- package/dist/workflows/index.d.cts +4 -4
- package/dist/workflows/index.d.ts +4 -4
- package/dist/workflows/index.js +1 -1
- package/package.json +1 -1
package/dist/storage/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWVVKLIUW_cjs = require('../chunk-WVVKLIUW.cjs');
|
|
4
4
|
var chunkF5UYWPV4_cjs = require('../chunk-F5UYWPV4.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 chunkWVVKLIUW_cjs.MastraStorage; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "TABLE_EVALS", {
|
|
13
13
|
enumerable: true,
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { E as EvalRow,
|
|
1
|
+
export { E as EvalRow, g as MastraStorage, i as StorageColumn, l as StorageGetMessagesArg, aK as TABLE_EVALS, aL as TABLE_MESSAGES, h as TABLE_NAMES, aM as TABLE_THREADS, aN as TABLE_TRACES, aJ as TABLE_WORKFLOW_SNAPSHOT, q as WorkflowRow } from '../base-DsOQiX2q.cjs';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-ObPJ-w8K.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../index-
|
|
5
|
+
import '../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { E as EvalRow,
|
|
1
|
+
export { E as EvalRow, g as MastraStorage, i as StorageColumn, l as StorageGetMessagesArg, aK as TABLE_EVALS, aL as TABLE_MESSAGES, h as TABLE_NAMES, aM as TABLE_THREADS, aN as TABLE_TRACES, aJ as TABLE_WORKFLOW_SNAPSHOT, q as WorkflowRow } from '../base-CbMRVSw8.js';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-Cmunaaxb.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../index-
|
|
5
|
+
import '../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/storage/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { MastraStorage } from '../chunk-
|
|
1
|
+
export { MastraStorage } from '../chunk-RU7CSPAV.js';
|
|
2
2
|
export { TABLE_EVALS, TABLE_MESSAGES, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT } from '../chunk-RG66XEJT.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWVVKLIUW_cjs = require('../../chunk-WVVKLIUW.cjs');
|
|
4
4
|
var chunkF5UYWPV4_cjs = require('../../chunk-F5UYWPV4.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 chunkWVVKLIUW_cjs.MastraStorage {
|
|
16
16
|
client;
|
|
17
17
|
constructor({ config }) {
|
|
18
18
|
super({ name: `LibSQLStore` });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as MastraStorage, h as TABLE_NAMES, i as StorageColumn, j as StorageThreadType, k as MessageType, l as StorageGetMessagesArg, E as EvalRow } from '../../base-DsOQiX2q.cjs';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../../base-
|
|
3
|
+
import '../../base-ObPJ-w8K.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../../index-
|
|
5
|
+
import '../../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as MastraStorage, h as TABLE_NAMES, i as StorageColumn, j as StorageThreadType, k as MessageType, l as StorageGetMessagesArg, E as EvalRow } from '../../base-CbMRVSw8.js';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../../base-
|
|
3
|
+
import '../../base-Cmunaaxb.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../../index-
|
|
5
|
+
import '../../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MastraStorage } from '../../chunk-
|
|
1
|
+
import { MastraStorage } from '../../chunk-RU7CSPAV.js';
|
|
2
2
|
import { TABLE_WORKFLOW_SNAPSHOT, TABLE_THREADS, TABLE_MESSAGES, TABLE_EVALS, TABLE_TRACES } from '../../chunk-RG66XEJT.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-ObPJ-w8K.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
|
-
import { L as Logger } from '../index-
|
|
6
|
-
import {
|
|
5
|
+
import { L as Logger } from '../index-CquI0inB.cjs';
|
|
6
|
+
import { g as MastraStorage } from '../base-DsOQiX2q.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-Cmunaaxb.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
|
-
import { L as Logger } from '../index-
|
|
6
|
-
import {
|
|
5
|
+
import { L as Logger } from '../index-CquI0inB.js';
|
|
6
|
+
import { g as MastraStorage } from '../base-CbMRVSw8.js';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import 'ai';
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import { m as ToolExecutionContext, T as ToolAction, M as Mastra } from '../base-BESiSy3v.cjs';
|
|
3
|
-
export { C as CoreTool, V as VercelTool } from '../base-BESiSy3v.cjs';
|
|
1
|
+
export { C as CoreTool, o as Tool, T as ToolAction, n as ToolExecutionContext, V as VercelTool, $ as createTool } from '../base-DsOQiX2q.cjs';
|
|
4
2
|
import 'ai';
|
|
5
|
-
import '../base-
|
|
3
|
+
import '../base-ObPJ-w8K.cjs';
|
|
6
4
|
import '@opentelemetry/api';
|
|
7
|
-
import '../index-
|
|
5
|
+
import '../index-CquI0inB.cjs';
|
|
8
6
|
import 'stream';
|
|
9
7
|
import 'pino';
|
|
10
8
|
import '@opentelemetry/sdk-trace-base';
|
|
11
9
|
import 'sift';
|
|
10
|
+
import 'zod';
|
|
12
11
|
import 'json-schema';
|
|
13
12
|
import '../types-CwTG2XyQ.cjs';
|
|
14
13
|
import '../deployer/index.cjs';
|
|
@@ -18,16 +17,3 @@ import '../vector/filter/index.cjs';
|
|
|
18
17
|
import 'xstate';
|
|
19
18
|
import 'node:events';
|
|
20
19
|
import '../tts/index.cjs';
|
|
21
|
-
|
|
22
|
-
declare class Tool<TSchemaIn extends z.ZodSchema | undefined = undefined, TSchemaOut extends z.ZodSchema | undefined = undefined, TContext extends ToolExecutionContext<TSchemaIn> = ToolExecutionContext<TSchemaIn>> implements ToolAction<TSchemaIn, TSchemaOut, TContext> {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
inputSchema?: TSchemaIn;
|
|
26
|
-
outputSchema?: TSchemaOut;
|
|
27
|
-
execute?: ToolAction<TSchemaIn, TSchemaOut, TContext>['execute'];
|
|
28
|
-
mastra?: Mastra;
|
|
29
|
-
constructor(opts: ToolAction<TSchemaIn, TSchemaOut, TContext>);
|
|
30
|
-
}
|
|
31
|
-
declare function createTool<TSchemaIn extends z.ZodSchema | undefined = undefined, TSchemaOut extends z.ZodSchema | undefined = undefined, TContext extends ToolExecutionContext<TSchemaIn> = ToolExecutionContext<TSchemaIn>>(opts: ToolAction<TSchemaIn, TSchemaOut, TContext>): Tool<TSchemaIn, TSchemaOut, TContext>;
|
|
32
|
-
|
|
33
|
-
export { Tool, ToolAction, ToolExecutionContext, createTool };
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import { m as ToolExecutionContext, T as ToolAction, M as Mastra } from '../base-BwuLIP_x.js';
|
|
3
|
-
export { C as CoreTool, V as VercelTool } from '../base-BwuLIP_x.js';
|
|
1
|
+
export { C as CoreTool, o as Tool, T as ToolAction, n as ToolExecutionContext, V as VercelTool, $ as createTool } from '../base-CbMRVSw8.js';
|
|
4
2
|
import 'ai';
|
|
5
|
-
import '../base-
|
|
3
|
+
import '../base-Cmunaaxb.js';
|
|
6
4
|
import '@opentelemetry/api';
|
|
7
|
-
import '../index-
|
|
5
|
+
import '../index-CquI0inB.js';
|
|
8
6
|
import 'stream';
|
|
9
7
|
import 'pino';
|
|
10
8
|
import '@opentelemetry/sdk-trace-base';
|
|
11
9
|
import 'sift';
|
|
10
|
+
import 'zod';
|
|
12
11
|
import 'json-schema';
|
|
13
12
|
import '../types-CwTG2XyQ.js';
|
|
14
13
|
import '../deployer/index.js';
|
|
@@ -18,16 +17,3 @@ import '../vector/filter/index.js';
|
|
|
18
17
|
import 'xstate';
|
|
19
18
|
import 'node:events';
|
|
20
19
|
import '../tts/index.js';
|
|
21
|
-
|
|
22
|
-
declare class Tool<TSchemaIn extends z.ZodSchema | undefined = undefined, TSchemaOut extends z.ZodSchema | undefined = undefined, TContext extends ToolExecutionContext<TSchemaIn> = ToolExecutionContext<TSchemaIn>> implements ToolAction<TSchemaIn, TSchemaOut, TContext> {
|
|
23
|
-
id: string;
|
|
24
|
-
description: string;
|
|
25
|
-
inputSchema?: TSchemaIn;
|
|
26
|
-
outputSchema?: TSchemaOut;
|
|
27
|
-
execute?: ToolAction<TSchemaIn, TSchemaOut, TContext>['execute'];
|
|
28
|
-
mastra?: Mastra;
|
|
29
|
-
constructor(opts: ToolAction<TSchemaIn, TSchemaOut, TContext>);
|
|
30
|
-
}
|
|
31
|
-
declare function createTool<TSchemaIn extends z.ZodSchema | undefined = undefined, TSchemaOut extends z.ZodSchema | undefined = undefined, TContext extends ToolExecutionContext<TSchemaIn> = ToolExecutionContext<TSchemaIn>>(opts: ToolAction<TSchemaIn, TSchemaOut, TContext>): Tool<TSchemaIn, TSchemaOut, TContext>;
|
|
32
|
-
|
|
33
|
-
export { Tool, ToolAction, ToolExecutionContext, createTool };
|
package/dist/tts/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4PYORXWM_cjs = require('../chunk-4PYORXWM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraTTS", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunk4PYORXWM_cjs.MastraTTS; }
|
|
10
10
|
});
|
package/dist/tts/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as MastraBase } from '../base-
|
|
1
|
+
import { M as MastraBase } from '../base-ObPJ-w8K.cjs';
|
|
2
2
|
import '@opentelemetry/api';
|
|
3
|
-
import '../index-
|
|
3
|
+
import '../index-CquI0inB.cjs';
|
|
4
4
|
import 'stream';
|
|
5
5
|
import 'pino';
|
|
6
6
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/tts/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as MastraBase } from '../base-
|
|
1
|
+
import { M as MastraBase } from '../base-Cmunaaxb.js';
|
|
2
2
|
import '@opentelemetry/api';
|
|
3
|
-
import '../index-
|
|
3
|
+
import '../index-CquI0inB.js';
|
|
4
4
|
import 'stream';
|
|
5
5
|
import 'pino';
|
|
6
6
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/tts/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraTTS } from '../chunk-
|
|
1
|
+
export { MastraTTS } from '../chunk-WBE5RTFI.js';
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import { V as VercelTool, T as ToolAction, a as ToolsInput, M as Mastra, b as MastraPrimitives, c as MastraMemory, C as CoreTool, A as Agent, W as Workflow, S as Step, d as StepExecutionContext, e as WorkflowContext, f as AgentNetwork } from './base-DsOQiX2q.cjs';
|
|
1
2
|
import { MastraTTS } from './tts/index.cjs';
|
|
2
3
|
import { MastraVector } from './vector/index.cjs';
|
|
3
|
-
import { V as VercelTool, T as ToolAction, a as ToolsInput, M as Mastra, b as MastraPrimitives, c as MastraMemory, C as CoreTool, A as Agent, W as Workflow, S as Step, d as StepExecutionContext, e as WorkflowContext } from './base-BESiSy3v.cjs';
|
|
4
4
|
import { M as Metric } from './types-CwTG2XyQ.cjs';
|
|
5
5
|
import { z, ZodObject } from 'zod';
|
|
6
|
-
import { L as Logger } from './index-
|
|
7
|
-
import './base-
|
|
8
|
-
import './vector/filter/index.cjs';
|
|
6
|
+
import { L as Logger } from './index-CquI0inB.cjs';
|
|
7
|
+
import './base-ObPJ-w8K.cjs';
|
|
9
8
|
import 'ai';
|
|
10
9
|
import 'sift';
|
|
11
10
|
import 'json-schema';
|
|
@@ -14,6 +13,7 @@ import './bundler/index.cjs';
|
|
|
14
13
|
import '@opentelemetry/api';
|
|
15
14
|
import 'xstate';
|
|
16
15
|
import 'node:events';
|
|
16
|
+
import './vector/filter/index.cjs';
|
|
17
17
|
import 'stream';
|
|
18
18
|
import 'pino';
|
|
19
19
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -89,6 +89,6 @@ declare function makeCoreTool(tool: ToolToConvert, options: ToolOptions, logType
|
|
|
89
89
|
declare function createMastraProxy({ mastra, logger }: {
|
|
90
90
|
mastra: Mastra;
|
|
91
91
|
logger: Logger;
|
|
92
|
-
}): Mastra<Record<string, Agent<any, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], any>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger
|
|
92
|
+
}): Mastra<Record<string, Agent<any, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], any>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger, Record<string, AgentNetwork>>;
|
|
93
93
|
|
|
94
94
|
export { type TagMaskOptions, createMastraProxy, deepMerge, delay, ensureToolProperties, isVercelTool, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput };
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
+
import { V as VercelTool, T as ToolAction, a as ToolsInput, M as Mastra, b as MastraPrimitives, c as MastraMemory, C as CoreTool, A as Agent, W as Workflow, S as Step, d as StepExecutionContext, e as WorkflowContext, f as AgentNetwork } from './base-CbMRVSw8.js';
|
|
1
2
|
import { MastraTTS } from './tts/index.js';
|
|
2
3
|
import { MastraVector } from './vector/index.js';
|
|
3
|
-
import { V as VercelTool, T as ToolAction, a as ToolsInput, M as Mastra, b as MastraPrimitives, c as MastraMemory, C as CoreTool, A as Agent, W as Workflow, S as Step, d as StepExecutionContext, e as WorkflowContext } from './base-BwuLIP_x.js';
|
|
4
4
|
import { M as Metric } from './types-CwTG2XyQ.js';
|
|
5
5
|
import { z, ZodObject } from 'zod';
|
|
6
|
-
import { L as Logger } from './index-
|
|
7
|
-
import './base-
|
|
8
|
-
import './vector/filter/index.js';
|
|
6
|
+
import { L as Logger } from './index-CquI0inB.js';
|
|
7
|
+
import './base-Cmunaaxb.js';
|
|
9
8
|
import 'ai';
|
|
10
9
|
import 'sift';
|
|
11
10
|
import 'json-schema';
|
|
@@ -14,6 +13,7 @@ import './bundler/index.js';
|
|
|
14
13
|
import '@opentelemetry/api';
|
|
15
14
|
import 'xstate';
|
|
16
15
|
import 'node:events';
|
|
16
|
+
import './vector/filter/index.js';
|
|
17
17
|
import 'stream';
|
|
18
18
|
import 'pino';
|
|
19
19
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -89,6 +89,6 @@ declare function makeCoreTool(tool: ToolToConvert, options: ToolOptions, logType
|
|
|
89
89
|
declare function createMastraProxy({ mastra, logger }: {
|
|
90
90
|
mastra: Mastra;
|
|
91
91
|
logger: Logger;
|
|
92
|
-
}): Mastra<Record<string, Agent<any, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], any>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger
|
|
92
|
+
}): Mastra<Record<string, Agent<any, Record<string, Metric>>>, Record<string, Workflow<Step<string, any, any, StepExecutionContext<any, WorkflowContext<any, Step<string, any, any, any>[], Record<string, any>>>>[], any>>, Record<string, MastraVector>, Record<string, MastraTTS>, Logger, Record<string, AgentNetwork>>;
|
|
93
93
|
|
|
94
94
|
export { type TagMaskOptions, createMastraProxy, deepMerge, delay, ensureToolProperties, isVercelTool, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, makeCoreTool, maskStreamTags, resolveSerializedZodOutput };
|
package/dist/vector/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRUA6BSB6_cjs = require('../chunk-RUA6BSB6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "MastraVector", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkRUA6BSB6_cjs.MastraVector; }
|
|
10
10
|
});
|
package/dist/vector/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as MastraBase } from '../base-
|
|
1
|
+
import { M as MastraBase } from '../base-ObPJ-w8K.cjs';
|
|
2
2
|
import { VectorFilter } from './filter/index.cjs';
|
|
3
3
|
import '@opentelemetry/api';
|
|
4
|
-
import '../index-
|
|
4
|
+
import '../index-CquI0inB.cjs';
|
|
5
5
|
import 'stream';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/vector/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { M as MastraBase } from '../base-
|
|
1
|
+
import { M as MastraBase } from '../base-Cmunaaxb.js';
|
|
2
2
|
import { VectorFilter } from './filter/index.js';
|
|
3
3
|
import '@opentelemetry/api';
|
|
4
|
-
import '../index-
|
|
4
|
+
import '../index-CquI0inB.js';
|
|
5
5
|
import 'stream';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/vector/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraVector } from '../chunk-
|
|
1
|
+
export { MastraVector } from '../chunk-ZABXT2MN.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkU7ONOIBO_cjs = require('../../chunk-U7ONOIBO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "DefaultVectorDB", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkU7ONOIBO_cjs.LibSQLVector; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "LibSQLVector", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkU7ONOIBO_cjs.LibSQLVector; }
|
|
14
14
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
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-ObPJ-w8K.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../../index-
|
|
5
|
+
import '../../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -1,8 +1,8 @@
|
|
|
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-Cmunaaxb.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../../index-
|
|
5
|
+
import '../../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LibSQLVector as DefaultVectorDB, LibSQLVector } from '../../chunk-
|
|
1
|
+
export { LibSQLVector as DefaultVectorDB, LibSQLVector } from '../../chunk-SMBKF6K5.js';
|
package/dist/voice/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkXB2TJ7LX_cjs = require('../chunk-XB2TJ7LX.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkPL7PVTGF_cjs = require('../chunk-PL7PVTGF.cjs');
|
|
5
5
|
var chunkRWTSGWWL_cjs = require('../chunk-RWTSGWWL.cjs');
|
|
6
6
|
|
|
7
7
|
// src/voice/voice.ts
|
|
@@ -10,7 +10,7 @@ _MastraVoice_decorators = [chunkXB2TJ7LX_cjs.InstrumentClass({
|
|
|
10
10
|
prefix: "voice",
|
|
11
11
|
excludeMethods: ["__setTools", "__setLogger", "__setTelemetry", "#log"]
|
|
12
12
|
})];
|
|
13
|
-
exports.MastraVoice = class MastraVoice extends (_a =
|
|
13
|
+
exports.MastraVoice = class MastraVoice extends (_a = chunkPL7PVTGF_cjs.MastraBase) {
|
|
14
14
|
listeningModel;
|
|
15
15
|
speechModel;
|
|
16
16
|
speaker;
|
package/dist/voice/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aF as CompositeVoice, aE as MastraVoice, aD as VoiceConfig, aC as VoiceEventMap, aB as VoiceEventType } from '../base-DsOQiX2q.cjs';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-ObPJ-w8K.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../index-
|
|
5
|
+
import '../index-CquI0inB.cjs';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/voice/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aF as CompositeVoice, aE as MastraVoice, aD as VoiceConfig, aC as VoiceEventMap, aB as VoiceEventType } from '../base-CbMRVSw8.js';
|
|
2
2
|
import 'ai';
|
|
3
|
-
import '../base-
|
|
3
|
+
import '../base-Cmunaaxb.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
|
-
import '../index-
|
|
5
|
+
import '../index-CquI0inB.js';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import 'pino';
|
|
8
8
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/voice/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InstrumentClass } from '../chunk-W5HVJX45.js';
|
|
2
|
-
import { MastraBase } from '../chunk-
|
|
2
|
+
import { MastraBase } from '../chunk-VN4M67DA.js';
|
|
3
3
|
import { __decoratorStart, __decorateElement, __runInitializers } from '../chunk-C6A6W6XS.js';
|
|
4
4
|
|
|
5
5
|
// src/voice/voice.ts
|
package/dist/workflows/index.cjs
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYW6NIHPF_cjs = require('../chunk-YW6NIHPF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "Step", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYW6NIHPF_cjs.Step; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "WhenConditionReturnValue", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYW6NIHPF_cjs.WhenConditionReturnValue; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "Workflow", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYW6NIHPF_cjs.Workflow; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "createStep", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYW6NIHPF_cjs.createStep; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "getActivePathsAndStatus", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYW6NIHPF_cjs.getActivePathsAndStatus; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "getResultActivePaths", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYW6NIHPF_cjs.getResultActivePaths; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "getStepResult", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYW6NIHPF_cjs.getStepResult; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "getSuspendedPaths", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYW6NIHPF_cjs.getSuspendedPaths; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isErrorEvent", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYW6NIHPF_cjs.isErrorEvent; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "isFinalState", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYW6NIHPF_cjs.isFinalState; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "isLimboState", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYW6NIHPF_cjs.isLimboState; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "isTransitionEvent", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkYW6NIHPF_cjs.isTransitionEvent; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "isVariableReference", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkYW6NIHPF_cjs.isVariableReference; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "mergeChildValue", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkYW6NIHPF_cjs.mergeChildValue; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "recursivelyCheckForFinalState", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkYW6NIHPF_cjs.recursivelyCheckForFinalState; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "updateStepInHierarchy", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkYW6NIHPF_cjs.updateStepInHierarchy; }
|
|
70
70
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a5 as VariableReference, ac as StepResult } from '../base-DsOQiX2q.cjs';
|
|
2
|
+
export { a7 as ActionContext, a6 as BaseCondition, ak as DependencyCheckOutput, ar as ExtractSchemaFromStep, au as ExtractSchemaType, as as ExtractStepResult, av as PathsToStringProps, ah as ResolverFunctionInput, ai as ResolverFunctionOutput, a4 as RetryConfig, S as Step, a0 as StepAction, aa as StepCondition, ab as StepConfig, a9 as StepDef, d as StepExecutionContext, a3 as StepGraph, aq as StepId, at as StepInputType, a2 as StepNode, al as StepResolverOutput, a1 as StepVariableType, ad as StepsRecord, aj as SubscriberFunctionOutput, a8 as WhenConditionReturnValue, W as Workflow, an as WorkflowActionParams, ao as WorkflowActions, am as WorkflowActors, e as WorkflowContext, ag as WorkflowEvent, af as WorkflowLogMessage, p as WorkflowOptions, ax as WorkflowResumeResult, ae as WorkflowRunResult, aw as WorkflowRunState, ap as WorkflowState, ay as createStep } from '../base-DsOQiX2q.cjs';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../base-
|
|
4
|
+
import '../base-ObPJ-w8K.cjs';
|
|
5
5
|
import '@opentelemetry/api';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-CquI0inB.cjs';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import '@opentelemetry/sdk-trace-base';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a5 as VariableReference, ac as StepResult } from '../base-CbMRVSw8.js';
|
|
2
|
+
export { a7 as ActionContext, a6 as BaseCondition, ak as DependencyCheckOutput, ar as ExtractSchemaFromStep, au as ExtractSchemaType, as as ExtractStepResult, av as PathsToStringProps, ah as ResolverFunctionInput, ai as ResolverFunctionOutput, a4 as RetryConfig, S as Step, a0 as StepAction, aa as StepCondition, ab as StepConfig, a9 as StepDef, d as StepExecutionContext, a3 as StepGraph, aq as StepId, at as StepInputType, a2 as StepNode, al as StepResolverOutput, a1 as StepVariableType, ad as StepsRecord, aj as SubscriberFunctionOutput, a8 as WhenConditionReturnValue, W as Workflow, an as WorkflowActionParams, ao as WorkflowActions, am as WorkflowActors, e as WorkflowContext, ag as WorkflowEvent, af as WorkflowLogMessage, p as WorkflowOptions, ax as WorkflowResumeResult, ae as WorkflowRunResult, aw as WorkflowRunState, ap as WorkflowState, ay as createStep } from '../base-CbMRVSw8.js';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../base-
|
|
4
|
+
import '../base-Cmunaaxb.js';
|
|
5
5
|
import '@opentelemetry/api';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-CquI0inB.js';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'pino';
|
|
9
9
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/workflows/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Step, WhenConditionReturnValue, Workflow, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, mergeChildValue, recursivelyCheckForFinalState, updateStepInHierarchy } from '../chunk-
|
|
1
|
+
export { Step, WhenConditionReturnValue, Workflow, createStep, getActivePathsAndStatus, getResultActivePaths, getStepResult, getSuspendedPaths, isErrorEvent, isFinalState, isLimboState, isTransitionEvent, isVariableReference, mergeChildValue, recursivelyCheckForFinalState, updateStepInHierarchy } from '../chunk-S7PRIZBF.js';
|