@mastra/core 0.10.1 → 0.10.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/index.cjs +7 -2
- package/dist/agent/index.d.cts +9 -9
- package/dist/agent/index.d.ts +9 -9
- package/dist/agent/index.js +2 -1
- package/dist/{base-B96VvaWm.d.cts → base-BIRXTC4Q.d.cts} +1456 -1361
- package/dist/{base-QP4OC4dB.d.ts → base-BUTjc86H.d.ts} +1456 -1361
- package/dist/{chunk-XRF2JEZJ.cjs → chunk-2CK6E5UF.cjs} +24 -0
- package/dist/{chunk-STLR3SIQ.cjs → chunk-4I6LG5EO.cjs} +6 -92
- package/dist/{chunk-2YYOF7DO.js → chunk-5UFUPI3G.js} +5 -91
- package/dist/{chunk-MTIZRZZI.js → chunk-75EMTCUM.js} +24 -0
- package/dist/{chunk-VRACJIAE.js → chunk-A4RQDNP3.js} +2 -2
- package/dist/{chunk-RFERFI6B.js → chunk-D3237VN7.js} +183 -369
- package/dist/{chunk-U3L3NEOM.cjs → chunk-DXLVS7ML.cjs} +1 -19
- package/dist/{chunk-2PW6UJMW.js → chunk-EQTIDVPN.js} +2 -19
- package/dist/{chunk-SFZZYGKB.cjs → chunk-EZYCQBP2.cjs} +2 -2
- package/dist/{chunk-MAFHTHTJ.cjs → chunk-GXEDBJC5.cjs} +4 -4
- package/dist/{chunk-5JRD3NDP.cjs → chunk-I5OLBJ26.cjs} +6 -77
- package/dist/chunk-LCCQWUQP.js +962 -0
- package/dist/{chunk-RARKB3F2.js → chunk-NY4KJJWC.js} +1 -1
- package/dist/{chunk-SLKAWVQR.cjs → chunk-QUCBJ363.cjs} +192 -378
- package/dist/{chunk-SKG2NIZW.cjs → chunk-RK6DHZUA.cjs} +2 -2
- package/dist/{chunk-OCT2762Q.js → chunk-RMTG7VWR.js} +1 -1
- package/dist/chunk-XAO67QBR.cjs +964 -0
- package/dist/{chunk-BPTSLJHA.js → chunk-ZJYHZO6Y.js} +2 -73
- package/dist/eval/index.d.cts +8 -8
- package/dist/eval/index.d.ts +8 -8
- package/dist/index.cjs +41 -45
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +10 -10
- package/dist/integration/index.cjs +3 -3
- package/dist/integration/index.d.cts +9 -9
- package/dist/integration/index.d.ts +9 -9
- package/dist/integration/index.js +1 -1
- package/dist/llm/index.d.cts +8 -8
- package/dist/llm/index.d.ts +8 -8
- package/dist/mastra/index.cjs +2 -2
- package/dist/mastra/index.d.cts +6 -6
- package/dist/mastra/index.d.ts +6 -6
- package/dist/mastra/index.js +1 -1
- package/dist/mcp/index.d.cts +11 -11
- package/dist/mcp/index.d.ts +11 -11
- package/dist/memory/index.cjs +4 -4
- package/dist/memory/index.d.cts +9 -9
- package/dist/memory/index.d.ts +9 -9
- package/dist/memory/index.js +1 -1
- package/dist/network/index.cjs +4 -4
- package/dist/network/index.d.cts +9 -9
- package/dist/network/index.d.ts +9 -9
- package/dist/network/index.js +2 -2
- package/dist/relevance/index.cjs +4 -4
- package/dist/relevance/index.d.cts +11 -11
- package/dist/relevance/index.d.ts +11 -11
- package/dist/relevance/index.js +1 -1
- package/dist/server/index.d.cts +9 -9
- package/dist/server/index.d.ts +9 -9
- package/dist/storage/index.d.cts +18 -18
- package/dist/storage/index.d.ts +18 -18
- package/dist/telemetry/index.d.cts +9 -9
- package/dist/telemetry/index.d.ts +9 -9
- package/dist/tools/index.cjs +4 -4
- package/dist/tools/index.d.cts +9 -9
- package/dist/tools/index.d.ts +9 -9
- package/dist/tools/index.js +1 -1
- package/dist/utils.cjs +15 -19
- package/dist/utils.d.cts +10 -11
- package/dist/utils.d.ts +10 -11
- package/dist/utils.js +1 -1
- package/dist/voice/index.d.cts +9 -9
- package/dist/voice/index.d.ts +9 -9
- package/dist/workflows/index.cjs +9 -9
- package/dist/workflows/index.d.cts +9 -9
- package/dist/workflows/index.d.ts +9 -9
- package/dist/workflows/index.js +1 -1
- package/dist/workflows/legacy/index.cjs +22 -22
- package/dist/workflows/legacy/index.d.cts +9 -9
- package/dist/workflows/legacy/index.d.ts +9 -9
- package/dist/workflows/legacy/index.js +1 -1
- package/package.json +5 -2
package/dist/llm/index.d.cts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-
|
|
4
|
+
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-BIRXTC4Q.cjs';
|
|
5
5
|
import '../runtime-context/index.cjs';
|
|
6
6
|
import '../base-aPYtPBT2.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
|
8
8
|
import '../logger-EhZkzZOr.cjs';
|
|
9
9
|
import 'stream';
|
|
10
10
|
import '@opentelemetry/sdk-trace-base';
|
|
11
|
-
import '../types-Bo1uigWx.cjs';
|
|
12
|
-
import 'sift';
|
|
13
|
-
import '../deployer/index.cjs';
|
|
14
|
-
import '../bundler/index.cjs';
|
|
15
|
-
import 'node:http';
|
|
16
|
-
import 'hono';
|
|
17
11
|
import '../tts/index.cjs';
|
|
18
12
|
import '../vector/index.cjs';
|
|
19
13
|
import '../vector/filter/index.cjs';
|
|
14
|
+
import '../types-Bo1uigWx.cjs';
|
|
15
|
+
import 'sift';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.cjs';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.cjs';
|
|
24
|
+
import '../bundler/index.cjs';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-
|
|
4
|
+
export { ap as BaseStructuredOutputType, ak as CoreAssistantMessage, ai as CoreMessage, aj as CoreSystemMessage, am as CoreToolMessage, al as CoreUserMessage, az as DefaultLLMStreamObjectOptions, ay as DefaultLLMStreamOptions, ax as DefaultLLMTextObjectOptions, aw as DefaultLLMTextOptions, ao as EmbedManyResult, an as EmbedResult, at as GenerateReturn, aD as LLMInnerStreamOptions, aE as LLMStreamObjectOptions, aC as LLMStreamOptions, aB as LLMTextObjectOptions, aA as LLMTextOptions, ah as LanguageModel, av as OutputType, au as StreamReturn, as as StructuredOutput, ar as StructuredOutputArrayItem, aq as StructuredOutputType, aF as createMockModel } from '../base-BUTjc86H.js';
|
|
5
5
|
import '../runtime-context/index.js';
|
|
6
6
|
import '../base-tc5kgDTD.js';
|
|
7
7
|
import '@opentelemetry/api';
|
|
8
8
|
import '../logger-EhZkzZOr.js';
|
|
9
9
|
import 'stream';
|
|
10
10
|
import '@opentelemetry/sdk-trace-base';
|
|
11
|
-
import '../types-Bo1uigWx.js';
|
|
12
|
-
import 'sift';
|
|
13
|
-
import '../deployer/index.js';
|
|
14
|
-
import '../bundler/index.js';
|
|
15
|
-
import 'node:http';
|
|
16
|
-
import 'hono';
|
|
17
11
|
import '../tts/index.js';
|
|
18
12
|
import '../vector/index.js';
|
|
19
13
|
import '../vector/filter/index.js';
|
|
14
|
+
import '../types-Bo1uigWx.js';
|
|
15
|
+
import 'sift';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.js';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.js';
|
|
24
|
+
import '../bundler/index.js';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/mastra/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2CK6E5UF_cjs = require('../chunk-2CK6E5UF.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 chunk2CK6E5UF_cjs.Mastra; }
|
|
10
10
|
});
|
package/dist/mastra/index.d.cts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { aG as Config, a as Mastra } from '../base-
|
|
1
|
+
export { aG as Config, a as Mastra } from '../base-BIRXTC4Q.cjs';
|
|
2
2
|
import '../deployer/index.cjs';
|
|
3
3
|
import '../logger-EhZkzZOr.cjs';
|
|
4
4
|
import '../vector/index.cjs';
|
|
5
5
|
import '../base-aPYtPBT2.cjs';
|
|
6
6
|
import '../tts/index.cjs';
|
|
7
7
|
import 'ai';
|
|
8
|
-
import '../types-Bo1uigWx.cjs';
|
|
9
|
-
import 'sift';
|
|
10
8
|
import 'zod';
|
|
11
9
|
import 'json-schema';
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
10
|
+
import '../types-Bo1uigWx.cjs';
|
|
11
|
+
import 'sift';
|
|
14
12
|
import '../runtime-context/index.cjs';
|
|
15
13
|
import '@opentelemetry/api';
|
|
16
14
|
import 'xstate';
|
|
17
15
|
import 'node:events';
|
|
16
|
+
import 'node:http';
|
|
17
|
+
import 'hono';
|
|
18
18
|
import 'events';
|
|
19
19
|
import '../workflows/constants.cjs';
|
|
20
|
+
import 'ai/test';
|
|
20
21
|
import 'hono/cors';
|
|
21
22
|
import 'hono-openapi';
|
|
22
|
-
import 'ai/test';
|
|
23
23
|
import '../bundler/index.cjs';
|
|
24
24
|
import 'stream';
|
|
25
25
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/mastra/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export { aG as Config, a as Mastra } from '../base-
|
|
1
|
+
export { aG as Config, a as Mastra } from '../base-BUTjc86H.js';
|
|
2
2
|
import '../deployer/index.js';
|
|
3
3
|
import '../logger-EhZkzZOr.js';
|
|
4
4
|
import '../vector/index.js';
|
|
5
5
|
import '../base-tc5kgDTD.js';
|
|
6
6
|
import '../tts/index.js';
|
|
7
7
|
import 'ai';
|
|
8
|
-
import '../types-Bo1uigWx.js';
|
|
9
|
-
import 'sift';
|
|
10
8
|
import 'zod';
|
|
11
9
|
import 'json-schema';
|
|
12
|
-
import '
|
|
13
|
-
import '
|
|
10
|
+
import '../types-Bo1uigWx.js';
|
|
11
|
+
import 'sift';
|
|
14
12
|
import '../runtime-context/index.js';
|
|
15
13
|
import '@opentelemetry/api';
|
|
16
14
|
import 'xstate';
|
|
17
15
|
import 'node:events';
|
|
16
|
+
import 'node:http';
|
|
17
|
+
import 'hono';
|
|
18
18
|
import 'events';
|
|
19
19
|
import '../workflows/constants.js';
|
|
20
|
+
import 'ai/test';
|
|
20
21
|
import 'hono/cors';
|
|
21
22
|
import 'hono-openapi';
|
|
22
|
-
import 'ai/test';
|
|
23
23
|
import '../bundler/index.js';
|
|
24
24
|
import 'stream';
|
|
25
25
|
import '@opentelemetry/sdk-trace-base';
|
package/dist/mastra/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Mastra } from '../chunk-
|
|
1
|
+
export { Mastra } from '../chunk-75EMTCUM.js';
|
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { by as ArgumentInfo, bC as CommandInfo, bs as ConvertedTool, bD as EnvironmentVariableInfo, bk as MCPServerBase, bG as MCPServerConfig, bv as MCPServerHTTPOptions, bu as MCPServerHonoSSEOptions, bt as MCPServerSSEOptions, bJ as MCPToolType, bA as NamedArgumentInfo, bE as PackageInfo, bz as PositionalArgumentInfo, bF as RemoteInfo, bw as Repository, bI as ServerDetailInfo, bH as ServerInfo, bB as SubcommandInfo, bx as VersionDetail } from '../base-BIRXTC4Q.cjs';
|
|
2
2
|
import '../base-aPYtPBT2.cjs';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../types-Bo1uigWx.cjs';
|
|
5
|
-
import 'sift';
|
|
6
4
|
import 'zod';
|
|
7
5
|
import 'json-schema';
|
|
8
|
-
import '../deployer/index.cjs';
|
|
9
|
-
import '../bundler/index.cjs';
|
|
10
|
-
import '@opentelemetry/api';
|
|
11
6
|
import '../logger-EhZkzZOr.cjs';
|
|
12
7
|
import 'stream';
|
|
13
|
-
import '@opentelemetry/sdk-trace-base';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.cjs';
|
|
17
8
|
import '../tts/index.cjs';
|
|
9
|
+
import '@opentelemetry/api';
|
|
10
|
+
import '@opentelemetry/sdk-trace-base';
|
|
18
11
|
import '../vector/index.cjs';
|
|
19
12
|
import '../vector/filter/index.cjs';
|
|
13
|
+
import '../types-Bo1uigWx.cjs';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.cjs';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.cjs';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.cjs';
|
|
24
|
+
import '../bundler/index.cjs';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { by as ArgumentInfo, bC as CommandInfo, bs as ConvertedTool, bD as EnvironmentVariableInfo, bk as MCPServerBase, bG as MCPServerConfig, bv as MCPServerHTTPOptions, bu as MCPServerHonoSSEOptions, bt as MCPServerSSEOptions, bJ as MCPToolType, bA as NamedArgumentInfo, bE as PackageInfo, bz as PositionalArgumentInfo, bF as RemoteInfo, bw as Repository, bI as ServerDetailInfo, bH as ServerInfo, bB as SubcommandInfo, bx as VersionDetail } from '../base-BUTjc86H.js';
|
|
2
2
|
import '../base-tc5kgDTD.js';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../types-Bo1uigWx.js';
|
|
5
|
-
import 'sift';
|
|
6
4
|
import 'zod';
|
|
7
5
|
import 'json-schema';
|
|
8
|
-
import '../deployer/index.js';
|
|
9
|
-
import '../bundler/index.js';
|
|
10
|
-
import '@opentelemetry/api';
|
|
11
6
|
import '../logger-EhZkzZOr.js';
|
|
12
7
|
import 'stream';
|
|
13
|
-
import '@opentelemetry/sdk-trace-base';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.js';
|
|
17
8
|
import '../tts/index.js';
|
|
9
|
+
import '@opentelemetry/api';
|
|
10
|
+
import '@opentelemetry/sdk-trace-base';
|
|
18
11
|
import '../vector/index.js';
|
|
19
12
|
import '../vector/filter/index.js';
|
|
13
|
+
import '../types-Bo1uigWx.js';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.js';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.js';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.js';
|
|
24
|
+
import '../bundler/index.js';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/memory/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4I6LG5EO_cjs = require('../chunk-4I6LG5EO.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 chunk4I6LG5EO_cjs.MastraMemory; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MemoryProcessor", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk4I6LG5EO_cjs.MemoryProcessor; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "memoryDefaultOptions", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk4I6LG5EO_cjs.memoryDefaultOptions; }
|
|
18
18
|
});
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { ab as MastraMemory,
|
|
1
|
+
export { ab as MastraMemory, aH as MastraMessageV1, aK as MemoryConfig, aN as MemoryProcessor, aM as MemoryProcessorOpts, aJ as MessageResponse, aI as MessageType, aL as SharedMemoryConfig, d as StorageThreadType, aO as memoryDefaultOptions } from '../base-BIRXTC4Q.cjs';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-aPYtPBT2.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../logger-EhZkzZOr.cjs';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import '@opentelemetry/sdk-trace-base';
|
|
8
|
-
import '../types-Bo1uigWx.cjs';
|
|
9
|
-
import 'sift';
|
|
10
8
|
import 'zod';
|
|
11
9
|
import 'json-schema';
|
|
12
|
-
import '../deployer/index.cjs';
|
|
13
|
-
import '../bundler/index.cjs';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.cjs';
|
|
17
10
|
import '../tts/index.cjs';
|
|
18
11
|
import '../vector/index.cjs';
|
|
19
12
|
import '../vector/filter/index.cjs';
|
|
13
|
+
import '../types-Bo1uigWx.cjs';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.cjs';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.cjs';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.cjs';
|
|
24
|
+
import '../bundler/index.cjs';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export { ab as MastraMemory,
|
|
1
|
+
export { ab as MastraMemory, aH as MastraMessageV1, aK as MemoryConfig, aN as MemoryProcessor, aM as MemoryProcessorOpts, aJ as MessageResponse, aI as MessageType, aL as SharedMemoryConfig, d as StorageThreadType, aO as memoryDefaultOptions } from '../base-BUTjc86H.js';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-tc5kgDTD.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../logger-EhZkzZOr.js';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import '@opentelemetry/sdk-trace-base';
|
|
8
|
-
import '../types-Bo1uigWx.js';
|
|
9
|
-
import 'sift';
|
|
10
8
|
import 'zod';
|
|
11
9
|
import 'json-schema';
|
|
12
|
-
import '../deployer/index.js';
|
|
13
|
-
import '../bundler/index.js';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.js';
|
|
17
10
|
import '../tts/index.js';
|
|
18
11
|
import '../vector/index.js';
|
|
19
12
|
import '../vector/filter/index.js';
|
|
13
|
+
import '../types-Bo1uigWx.js';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.js';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.js';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.js';
|
|
24
|
+
import '../bundler/index.js';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/memory/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-
|
|
1
|
+
export { MastraMemory, MemoryProcessor, memoryDefaultOptions } from '../chunk-5UFUPI3G.js';
|
package/dist/network/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkQUCBJ363_cjs = require('../chunk-QUCBJ363.cjs');
|
|
4
|
+
var chunkDXLVS7ML_cjs = require('../chunk-DXLVS7ML.cjs');
|
|
5
5
|
var chunkYEULQPUY_cjs = require('../chunk-YEULQPUY.cjs');
|
|
6
6
|
var chunkSWW4EBUZ_cjs = require('../chunk-SWW4EBUZ.cjs');
|
|
7
7
|
var zod = require('zod');
|
|
@@ -17,7 +17,7 @@ var AgentNetwork = class extends chunkYEULQPUY_cjs.MastraBase {
|
|
|
17
17
|
this.#instructions = config.instructions;
|
|
18
18
|
this.#agents = config.agents;
|
|
19
19
|
this.#model = config.model;
|
|
20
|
-
this.#routingAgent = new
|
|
20
|
+
this.#routingAgent = new chunkQUCBJ363_cjs.Agent({
|
|
21
21
|
name: config.name,
|
|
22
22
|
instructions: this.getInstructions(),
|
|
23
23
|
model: this.#model,
|
|
@@ -29,7 +29,7 @@ var AgentNetwork = class extends chunkYEULQPUY_cjs.MastraBase {
|
|
|
29
29
|
}
|
|
30
30
|
getTools() {
|
|
31
31
|
return {
|
|
32
|
-
transmit:
|
|
32
|
+
transmit: chunkDXLVS7ML_cjs.createTool({
|
|
33
33
|
id: "transmit",
|
|
34
34
|
description: "Call one or more specialized agents to handle specific tasks",
|
|
35
35
|
inputSchema: zod.z.object({
|
package/dist/network/index.d.cts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bj as AgentNetwork, br as AgentNetworkConfig } from '../base-BIRXTC4Q.cjs';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-aPYtPBT2.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../logger-EhZkzZOr.cjs';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import '@opentelemetry/sdk-trace-base';
|
|
8
|
-
import '../types-Bo1uigWx.cjs';
|
|
9
|
-
import 'sift';
|
|
10
8
|
import 'zod';
|
|
11
9
|
import 'json-schema';
|
|
12
|
-
import '../deployer/index.cjs';
|
|
13
|
-
import '../bundler/index.cjs';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.cjs';
|
|
17
10
|
import '../tts/index.cjs';
|
|
18
11
|
import '../vector/index.cjs';
|
|
19
12
|
import '../vector/filter/index.cjs';
|
|
13
|
+
import '../types-Bo1uigWx.cjs';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.cjs';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.cjs';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.cjs';
|
|
24
|
+
import '../bundler/index.cjs';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/network/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bj as AgentNetwork, br as AgentNetworkConfig } from '../base-BUTjc86H.js';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-tc5kgDTD.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
5
5
|
import '../logger-EhZkzZOr.js';
|
|
6
6
|
import 'stream';
|
|
7
7
|
import '@opentelemetry/sdk-trace-base';
|
|
8
|
-
import '../types-Bo1uigWx.js';
|
|
9
|
-
import 'sift';
|
|
10
8
|
import 'zod';
|
|
11
9
|
import 'json-schema';
|
|
12
|
-
import '../deployer/index.js';
|
|
13
|
-
import '../bundler/index.js';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.js';
|
|
17
10
|
import '../tts/index.js';
|
|
18
11
|
import '../vector/index.js';
|
|
19
12
|
import '../vector/filter/index.js';
|
|
13
|
+
import '../types-Bo1uigWx.js';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.js';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.js';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.js';
|
|
24
|
+
import '../bundler/index.js';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
package/dist/network/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Agent } from '../chunk-
|
|
2
|
-
import { createTool } from '../chunk-
|
|
1
|
+
import { Agent } from '../chunk-D3237VN7.js';
|
|
2
|
+
import { createTool } from '../chunk-EQTIDVPN.js';
|
|
3
3
|
import { MastraBase } from '../chunk-FI7R232B.js';
|
|
4
4
|
import { RegisteredLogger } from '../chunk-VHLL4AZK.js';
|
|
5
5
|
import { z } from 'zod';
|
package/dist/relevance/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEZYCQBP2_cjs = require('../chunk-EZYCQBP2.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CohereRelevanceScorer", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkEZYCQBP2_cjs.CohereRelevanceScorer; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "MastraAgentRelevanceScorer", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkEZYCQBP2_cjs.MastraAgentRelevanceScorer; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "createSimilarityPrompt", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkEZYCQBP2_cjs.createSimilarityPrompt; }
|
|
18
18
|
});
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bh as MastraLanguageModel } from '../base-BIRXTC4Q.cjs';
|
|
2
2
|
import '../base-aPYtPBT2.cjs';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../types-Bo1uigWx.cjs';
|
|
5
|
-
import 'sift';
|
|
6
4
|
import 'zod';
|
|
7
5
|
import 'json-schema';
|
|
8
|
-
import '../deployer/index.cjs';
|
|
9
|
-
import '../bundler/index.cjs';
|
|
10
|
-
import '@opentelemetry/api';
|
|
11
6
|
import '../logger-EhZkzZOr.cjs';
|
|
12
7
|
import 'stream';
|
|
13
|
-
import '@opentelemetry/sdk-trace-base';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.cjs';
|
|
17
8
|
import '../tts/index.cjs';
|
|
9
|
+
import '@opentelemetry/api';
|
|
10
|
+
import '@opentelemetry/sdk-trace-base';
|
|
18
11
|
import '../vector/index.cjs';
|
|
19
12
|
import '../vector/filter/index.cjs';
|
|
13
|
+
import '../types-Bo1uigWx.cjs';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.cjs';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.cjs';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.cjs';
|
|
24
|
+
import '../bundler/index.cjs';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
|
27
27
|
|
|
28
28
|
interface RelevanceScoreProvider {
|
|
29
29
|
getRelevanceScore(text1: string, text2: string): Promise<number>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bh as MastraLanguageModel } from '../base-BUTjc86H.js';
|
|
2
2
|
import '../base-tc5kgDTD.js';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../types-Bo1uigWx.js';
|
|
5
|
-
import 'sift';
|
|
6
4
|
import 'zod';
|
|
7
5
|
import 'json-schema';
|
|
8
|
-
import '../deployer/index.js';
|
|
9
|
-
import '../bundler/index.js';
|
|
10
|
-
import '@opentelemetry/api';
|
|
11
6
|
import '../logger-EhZkzZOr.js';
|
|
12
7
|
import 'stream';
|
|
13
|
-
import '@opentelemetry/sdk-trace-base';
|
|
14
|
-
import 'node:http';
|
|
15
|
-
import 'hono';
|
|
16
|
-
import '../runtime-context/index.js';
|
|
17
8
|
import '../tts/index.js';
|
|
9
|
+
import '@opentelemetry/api';
|
|
10
|
+
import '@opentelemetry/sdk-trace-base';
|
|
18
11
|
import '../vector/index.js';
|
|
19
12
|
import '../vector/filter/index.js';
|
|
13
|
+
import '../types-Bo1uigWx.js';
|
|
14
|
+
import 'sift';
|
|
15
|
+
import '../runtime-context/index.js';
|
|
20
16
|
import 'xstate';
|
|
21
17
|
import 'node:events';
|
|
18
|
+
import 'node:http';
|
|
19
|
+
import 'hono';
|
|
22
20
|
import 'events';
|
|
23
21
|
import '../workflows/constants.js';
|
|
22
|
+
import 'ai/test';
|
|
23
|
+
import '../deployer/index.js';
|
|
24
|
+
import '../bundler/index.js';
|
|
24
25
|
import 'hono/cors';
|
|
25
26
|
import 'hono-openapi';
|
|
26
|
-
import 'ai/test';
|
|
27
27
|
|
|
28
28
|
interface RelevanceScoreProvider {
|
|
29
29
|
getRelevanceScore(text1: string, text2: string): Promise<number>;
|
package/dist/relevance/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-
|
|
1
|
+
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from '../chunk-NY4KJJWC.js';
|
package/dist/server/index.d.cts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Handler, Context, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-
|
|
4
|
-
export { C as ContextWithMastra } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-BIRXTC4Q.cjs';
|
|
4
|
+
export { C as ContextWithMastra } from '../base-BIRXTC4Q.cjs';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-aPYtPBT2.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
|
8
8
|
import '../logger-EhZkzZOr.cjs';
|
|
9
9
|
import 'stream';
|
|
10
10
|
import '@opentelemetry/sdk-trace-base';
|
|
11
|
-
import '../types-Bo1uigWx.cjs';
|
|
12
|
-
import 'sift';
|
|
13
11
|
import 'zod';
|
|
14
12
|
import 'json-schema';
|
|
15
|
-
import '../deployer/index.cjs';
|
|
16
|
-
import '../bundler/index.cjs';
|
|
17
|
-
import 'node:http';
|
|
18
|
-
import '../runtime-context/index.cjs';
|
|
19
13
|
import '../tts/index.cjs';
|
|
20
14
|
import '../vector/index.cjs';
|
|
21
15
|
import '../vector/filter/index.cjs';
|
|
16
|
+
import '../types-Bo1uigWx.cjs';
|
|
17
|
+
import 'sift';
|
|
18
|
+
import '../runtime-context/index.cjs';
|
|
22
19
|
import 'xstate';
|
|
23
20
|
import 'node:events';
|
|
21
|
+
import 'node:http';
|
|
24
22
|
import 'events';
|
|
25
23
|
import '../workflows/constants.cjs';
|
|
26
|
-
import 'hono/cors';
|
|
27
24
|
import 'ai/test';
|
|
25
|
+
import '../deployer/index.cjs';
|
|
26
|
+
import '../bundler/index.cjs';
|
|
27
|
+
import 'hono/cors';
|
|
28
28
|
|
|
29
29
|
type ParamsFromPath<P extends string> = {
|
|
30
30
|
[K in P extends `${string}:${infer Param}/${string}` | `${string}:${infer Param}` ? Param : never]: string;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { Handler, Context, MiddlewareHandler } from 'hono';
|
|
2
2
|
import { DescribeRouteOptions } from 'hono-openapi';
|
|
3
|
-
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-
|
|
4
|
-
export { C as ContextWithMastra } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-BUTjc86H.js';
|
|
4
|
+
export { C as ContextWithMastra } from '../base-BUTjc86H.js';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-tc5kgDTD.js';
|
|
7
7
|
import '@opentelemetry/api';
|
|
8
8
|
import '../logger-EhZkzZOr.js';
|
|
9
9
|
import 'stream';
|
|
10
10
|
import '@opentelemetry/sdk-trace-base';
|
|
11
|
-
import '../types-Bo1uigWx.js';
|
|
12
|
-
import 'sift';
|
|
13
11
|
import 'zod';
|
|
14
12
|
import 'json-schema';
|
|
15
|
-
import '../deployer/index.js';
|
|
16
|
-
import '../bundler/index.js';
|
|
17
|
-
import 'node:http';
|
|
18
|
-
import '../runtime-context/index.js';
|
|
19
13
|
import '../tts/index.js';
|
|
20
14
|
import '../vector/index.js';
|
|
21
15
|
import '../vector/filter/index.js';
|
|
16
|
+
import '../types-Bo1uigWx.js';
|
|
17
|
+
import 'sift';
|
|
18
|
+
import '../runtime-context/index.js';
|
|
22
19
|
import 'xstate';
|
|
23
20
|
import 'node:events';
|
|
21
|
+
import 'node:http';
|
|
24
22
|
import 'events';
|
|
25
23
|
import '../workflows/constants.js';
|
|
26
|
-
import 'hono/cors';
|
|
27
24
|
import 'ai/test';
|
|
25
|
+
import '../deployer/index.js';
|
|
26
|
+
import '../bundler/index.js';
|
|
27
|
+
import 'hono/cors';
|
|
28
28
|
|
|
29
29
|
type ParamsFromPath<P extends string> = {
|
|
30
30
|
[K in P extends `${string}:${infer Param}/${string}` | `${string}:${infer Param}` ? Param : never]: string;
|