@mastra/core 0.10.2-alpha.5 → 0.10.2-alpha.6
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 +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/{base-Cgbao62E.d.ts → base-BVo_KTj_.d.ts} +8 -3
- package/dist/{base-CirJSyr2.d.cts → base-CCeahyG8.d.cts} +8 -3
- package/dist/eval/index.d.cts +1 -1
- package/dist/eval/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/integration/index.d.cts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/llm/index.d.cts +1 -1
- package/dist/llm/index.d.ts +1 -1
- package/dist/mastra/index.d.cts +1 -1
- package/dist/mastra/index.d.ts +1 -1
- package/dist/mcp/index.d.cts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/memory/index.d.cts +1 -1
- package/dist/memory/index.d.ts +1 -1
- package/dist/network/index.d.cts +1 -1
- package/dist/network/index.d.ts +1 -1
- package/dist/relevance/index.d.cts +1 -1
- package/dist/relevance/index.d.ts +1 -1
- package/dist/runtime-context/index.d.cts +1 -1
- package/dist/runtime-context/index.d.ts +1 -1
- package/dist/server/index.d.cts +2 -2
- package/dist/server/index.d.ts +2 -2
- package/dist/storage/index.d.cts +2 -2
- package/dist/storage/index.d.ts +2 -2
- package/dist/telemetry/index.d.cts +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/tools/index.d.cts +1 -1
- package/dist/tools/index.d.ts +1 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/voice/index.d.cts +1 -1
- package/dist/voice/index.d.ts +1 -1
- package/dist/workflows/index.d.cts +2 -2
- package/dist/workflows/index.d.ts +2 -2
- package/dist/workflows/legacy/index.d.cts +2 -2
- package/dist/workflows/legacy/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/agent/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { u as Agent, ad as AgentConfig,
|
|
4
|
+
export { u as Agent, ad as AgentConfig, bQ as AgentGenerateOptions, bR as AgentStreamOptions, bP as DynamicArgument, bk as MastraLanguageModel, bS as MastraMessageContentV2, g as MastraMessageV2, bN as MessageList, w as ToolsInput, bO as ToolsetsInput } from '../base-CCeahyG8.cjs';
|
|
5
5
|
import '../base-BY9WFI65.cjs';
|
|
6
6
|
import '../types-Bo1uigWx.cjs';
|
|
7
7
|
import '../runtime-context/index.cjs';
|
package/dist/agent/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { Message as AiMessageType } from 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { u as Agent, ad as AgentConfig,
|
|
4
|
+
export { u as Agent, ad as AgentConfig, bQ as AgentGenerateOptions, bR as AgentStreamOptions, bP as DynamicArgument, bk as MastraLanguageModel, bS as MastraMessageContentV2, g as MastraMessageV2, bN as MessageList, w as ToolsInput, bO as ToolsetsInput } from '../base-BVo_KTj_.js';
|
|
5
5
|
import '../base-C0yUw8BC.js';
|
|
6
6
|
import '../types-Bo1uigWx.js';
|
|
7
7
|
import '../runtime-context/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
|
-
import { Tool as Tool$1, Schema, ToolExecutionOptions, UserContent, AssistantContent, ToolContent, EmbeddingModel, CoreMessage as CoreMessage$1, UIMessage, IDGenerator as IDGenerator$1, Message, CoreSystemMessage as CoreSystemMessage$1, LanguageModel as LanguageModel$1, GenerateTextResult, GenerateObjectResult, StreamTextResult, StreamObjectResult, DeepPartial, generateText, generateObject, streamText, streamObject, TelemetrySettings, CoreAssistantMessage as CoreAssistantMessage$1, CoreUserMessage as CoreUserMessage$1, CoreToolMessage as CoreToolMessage$1, EmbedResult as EmbedResult$1, EmbedManyResult as EmbedManyResult$1, LanguageModelV1, GenerateTextOnStepFinishCallback, StreamTextOnFinishCallback, StreamObjectOnFinishCallback, StreamTextOnStepFinishCallback } from 'ai';
|
|
2
|
+
import { Tool as Tool$1, Schema, ToolExecutionOptions, TextStreamPart, UserContent, AssistantContent, ToolContent, EmbeddingModel, CoreMessage as CoreMessage$1, UIMessage, IDGenerator as IDGenerator$1, Message, CoreSystemMessage as CoreSystemMessage$1, LanguageModel as LanguageModel$1, GenerateTextResult, GenerateObjectResult, StreamTextResult, StreamObjectResult, DeepPartial, generateText, generateObject, streamText, streamObject, TelemetrySettings, CoreAssistantMessage as CoreAssistantMessage$1, CoreUserMessage as CoreUserMessage$1, CoreToolMessage as CoreToolMessage$1, EmbedResult as EmbedResult$1, EmbedManyResult as EmbedManyResult$1, LanguageModelV1, GenerateTextOnStepFinishCallback, StreamTextOnFinishCallback, StreamObjectOnFinishCallback, StreamTextOnStepFinishCallback } from 'ai';
|
|
3
3
|
import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-C0yUw8BC.js';
|
|
4
4
|
import { z, ZodSchema } from 'zod';
|
|
5
5
|
import { JSONSchema7Type, JSONSchema7 } from 'json-schema';
|
|
@@ -1129,6 +1129,11 @@ type VariableReference<TStep extends Step<string, any, any> = Step<string, any,
|
|
|
1129
1129
|
value: any;
|
|
1130
1130
|
schema: z.ZodTypeAny;
|
|
1131
1131
|
};
|
|
1132
|
+
type StreamEvent = TextStreamPart<any> & {
|
|
1133
|
+
type: 'step-suspended';
|
|
1134
|
+
payload: any;
|
|
1135
|
+
id: string;
|
|
1136
|
+
};
|
|
1132
1137
|
type WatchEvent = {
|
|
1133
1138
|
type: 'watch';
|
|
1134
1139
|
payload: {
|
|
@@ -1515,7 +1520,7 @@ declare class Run<TSteps extends Step<string, any, any>[] = Step<string, any, an
|
|
|
1515
1520
|
inputData?: z.infer<TInput>;
|
|
1516
1521
|
runtimeContext?: RuntimeContext;
|
|
1517
1522
|
}): {
|
|
1518
|
-
stream: ReadableStream<
|
|
1523
|
+
stream: ReadableStream<StreamEvent>;
|
|
1519
1524
|
getWorkflowState: () => Promise<WorkflowResult<TOutput, TSteps>>;
|
|
1520
1525
|
};
|
|
1521
1526
|
watch(cb: (event: WatchEvent) => void, type?: 'watch' | 'watch-v2'): () => void;
|
|
@@ -3429,4 +3434,4 @@ declare abstract class MastraStorage extends MastraBase {
|
|
|
3429
3434
|
}): Promise<WorkflowRun | null>;
|
|
3430
3435
|
}
|
|
3431
3436
|
|
|
3432
|
-
export { type StepResolverOutput as $, type ApiRoute as A, type StepExecutionContext as B, type ContextWithMastra as C, type StepVariableType as D, type EvalRow as E, type StepNode as F, type StepGraph as G, type BaseCondition as H, type ActionContext as I, WhenConditionReturnValue as J, type StepDef as K, type LegacyWorkflowRuns as L, type Methods as M, type StepCondition as N, type StepConfig as O, type StepsRecord$1 as P, type WorkflowLogMessage as Q, type RetryConfig as R, type StorageColumn as S, type TABLE_NAMES as T, type WorkflowEvent as U, type VariableReference$1 as V, type WorkflowRuns as W, type ResolverFunctionInput as X, type ResolverFunctionOutput as Y, type SubscriberFunctionOutput as Z, type DependencyCheckOutput as _, Mastra as a, cloneWorkflow as a$, type WorkflowActors as a0, type WorkflowActionParams as a1, type WorkflowActions as a2, type LegacyWorkflowState as a3, type StepId as a4, type ExtractSchemaFromStep$1 as a5, type ExtractStepResult as a6, type StepInputType as a7, type ExtractSchemaType$1 as a8, type PathsToStringProps$1 as a9, type DefaultLLMTextObjectOptions as aA, type DefaultLLMStreamOptions as aB, type DefaultLLMStreamObjectOptions as aC, type LLMTextOptions as aD, type LLMTextObjectOptions as aE, type LLMStreamOptions as aF, type LLMInnerStreamOptions as aG, type LLMStreamObjectOptions as aH, createMockModel as aI, type Config as aJ, type MessageType as aK, type MessageResponse as aL, type MemoryConfig as aM, type SharedMemoryConfig as aN, type MemoryProcessorOpts as aO, MemoryProcessor as aP, memoryDefaultOptions as aQ, createTool as aR, type VercelTool as aS, type CoreTool as aT, type InternalCoreTool as aU, type StepFlowEntry as aV, type SerializedStep as aW, type SerializedStepFlowEntry as aX, createStep as aY, cloneStep as aZ, createWorkflow as a_, type LegacyWorkflowRunState as aa, type WorkflowResumeResult as ab, type ToolAction as ac, type AgentConfig as ad, MastraMemory as ae, type ToolExecutionContext as af, Tool as ag, type Step as ah, Workflow as ai, type WorkflowConfig as aj, type LanguageModel as ak, type CoreMessage as al, type CoreSystemMessage as am, type CoreAssistantMessage as an, type CoreUserMessage as ao, type CoreToolMessage as ap, type EmbedResult as aq, type EmbedManyResult as ar, type BaseStructuredOutputType as as, type StructuredOutputType as at, type StructuredOutputArrayItem as au, type StructuredOutput as av, type GenerateReturn as aw, type StreamReturn as ax, type OutputType as ay, type DefaultLLMTextOptions as az, type MastraAuthConfig as b, type WorkflowResult as b0, Run as b1, type ExecutionGraph as b2, ExecutionEngine as b3, type ExecuteFunction as b4, type StepSuccess as b5, type StepFailure as b6, type StepSuspended as b7, type StepRunning as b8, type StepResult as b9, type
|
|
3437
|
+
export { type StepResolverOutput as $, type ApiRoute as A, type StepExecutionContext as B, type ContextWithMastra as C, type StepVariableType as D, type EvalRow as E, type StepNode as F, type StepGraph as G, type BaseCondition as H, type ActionContext as I, WhenConditionReturnValue as J, type StepDef as K, type LegacyWorkflowRuns as L, type Methods as M, type StepCondition as N, type StepConfig as O, type StepsRecord$1 as P, type WorkflowLogMessage as Q, type RetryConfig as R, type StorageColumn as S, type TABLE_NAMES as T, type WorkflowEvent as U, type VariableReference$1 as V, type WorkflowRuns as W, type ResolverFunctionInput as X, type ResolverFunctionOutput as Y, type SubscriberFunctionOutput as Z, type DependencyCheckOutput as _, Mastra as a, cloneWorkflow as a$, type WorkflowActors as a0, type WorkflowActionParams as a1, type WorkflowActions as a2, type LegacyWorkflowState as a3, type StepId as a4, type ExtractSchemaFromStep$1 as a5, type ExtractStepResult as a6, type StepInputType as a7, type ExtractSchemaType$1 as a8, type PathsToStringProps$1 as a9, type DefaultLLMTextObjectOptions as aA, type DefaultLLMStreamOptions as aB, type DefaultLLMStreamObjectOptions as aC, type LLMTextOptions as aD, type LLMTextObjectOptions as aE, type LLMStreamOptions as aF, type LLMInnerStreamOptions as aG, type LLMStreamObjectOptions as aH, createMockModel as aI, type Config as aJ, type MessageType as aK, type MessageResponse as aL, type MemoryConfig as aM, type SharedMemoryConfig as aN, type MemoryProcessorOpts as aO, MemoryProcessor as aP, memoryDefaultOptions as aQ, createTool as aR, type VercelTool as aS, type CoreTool as aT, type InternalCoreTool as aU, type StepFlowEntry as aV, type SerializedStep as aW, type SerializedStepFlowEntry as aX, createStep as aY, cloneStep as aZ, createWorkflow as a_, type LegacyWorkflowRunState as aa, type WorkflowResumeResult as ab, type ToolAction as ac, type AgentConfig as ad, MastraMemory as ae, type ToolExecutionContext as af, Tool as ag, type Step as ah, Workflow as ai, type WorkflowConfig as aj, type LanguageModel as ak, type CoreMessage as al, type CoreSystemMessage as am, type CoreAssistantMessage as an, type CoreUserMessage as ao, type CoreToolMessage as ap, type EmbedResult as aq, type EmbedManyResult as ar, type BaseStructuredOutputType as as, type StructuredOutputType as at, type StructuredOutputArrayItem as au, type StructuredOutput as av, type GenerateReturn as aw, type StreamReturn as ax, type OutputType as ay, type DefaultLLMTextOptions as az, type MastraAuthConfig as b, type WorkflowResult as b0, Run as b1, type ExecutionGraph as b2, ExecutionEngine as b3, type ExecuteFunction as b4, type StepSuccess as b5, type StepFailure as b6, type StepSuspended as b7, type StepRunning as b8, type StepResult as b9, type VersionDetail as bA, type ArgumentInfo as bB, type PositionalArgumentInfo as bC, type NamedArgumentInfo as bD, type SubcommandInfo as bE, type CommandInfo as bF, type EnvironmentVariableInfo as bG, type PackageInfo as bH, type RemoteInfo as bI, type MCPServerConfig as bJ, type ServerInfo as bK, type ServerDetailInfo as bL, type MCPToolType as bM, MessageList as bN, type ToolsetsInput as bO, type DynamicArgument as bP, type AgentGenerateOptions as bQ, type AgentStreamOptions as bR, type MastraMessageContentV2 as bS, type StepsRecord as ba, type DynamicMapping as bb, type PathsToStringProps as bc, type ExtractSchemaType as bd, type ExtractSchemaFromStep as be, type VariableReference as bf, type StreamEvent as bg, type WatchEvent as bh, type ZodPathType as bi, type WorkflowRunState as bj, type MastraLanguageModel as bk, type MastraPrimitives as bl, AgentNetwork as bm, MCPServerBase as bn, type VoiceEventType as bo, type VoiceEventMap as bp, type VoiceConfig as bq, MastraVoice as br, CompositeVoice as bs, DefaultVoice as bt, type AgentNetworkConfig as bu, type ConvertedTool as bv, type MCPServerSSEOptions as bw, type MCPServerHonoSSEOptions as bx, type MCPServerHTTPOptions as by, type Repository as bz, MastraAuthProvider as c, type MastraAuthProviderOptions as d, MastraStorage as e, type StorageThreadType as f, type MastraMessageV2 as g, type StorageGetMessagesArg as h, type MastraMessageV1 as i, type WorkflowRun as j, type LegacyWorkflowRun as k, TABLE_WORKFLOW_SNAPSHOT as l, TABLE_EVALS as m, TABLE_MESSAGES as n, TABLE_THREADS as o, TABLE_TRACES as p, TABLE_SCHEMAS as q, type StepResult$1 as r, LegacyStep as s, LegacyWorkflow as t, Agent as u, type WorkflowContext as v, type ToolsInput as w, type StepAction as x, type LegacyWorkflowRunResult as y, type WorkflowOptions as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ai from 'ai';
|
|
2
|
-
import { Tool as Tool$1, Schema, ToolExecutionOptions, UserContent, AssistantContent, ToolContent, EmbeddingModel, CoreMessage as CoreMessage$1, UIMessage, IDGenerator as IDGenerator$1, Message, CoreSystemMessage as CoreSystemMessage$1, LanguageModel as LanguageModel$1, GenerateTextResult, GenerateObjectResult, StreamTextResult, StreamObjectResult, DeepPartial, generateText, generateObject, streamText, streamObject, TelemetrySettings, CoreAssistantMessage as CoreAssistantMessage$1, CoreUserMessage as CoreUserMessage$1, CoreToolMessage as CoreToolMessage$1, EmbedResult as EmbedResult$1, EmbedManyResult as EmbedManyResult$1, LanguageModelV1, GenerateTextOnStepFinishCallback, StreamTextOnFinishCallback, StreamObjectOnFinishCallback, StreamTextOnStepFinishCallback } from 'ai';
|
|
2
|
+
import { Tool as Tool$1, Schema, ToolExecutionOptions, TextStreamPart, UserContent, AssistantContent, ToolContent, EmbeddingModel, CoreMessage as CoreMessage$1, UIMessage, IDGenerator as IDGenerator$1, Message, CoreSystemMessage as CoreSystemMessage$1, LanguageModel as LanguageModel$1, GenerateTextResult, GenerateObjectResult, StreamTextResult, StreamObjectResult, DeepPartial, generateText, generateObject, streamText, streamObject, TelemetrySettings, CoreAssistantMessage as CoreAssistantMessage$1, CoreUserMessage as CoreUserMessage$1, CoreToolMessage as CoreToolMessage$1, EmbedResult as EmbedResult$1, EmbedManyResult as EmbedManyResult$1, LanguageModelV1, GenerateTextOnStepFinishCallback, StreamTextOnFinishCallback, StreamObjectOnFinishCallback, StreamTextOnStepFinishCallback } from 'ai';
|
|
3
3
|
import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-BY9WFI65.cjs';
|
|
4
4
|
import { z, ZodSchema } from 'zod';
|
|
5
5
|
import { JSONSchema7Type, JSONSchema7 } from 'json-schema';
|
|
@@ -1129,6 +1129,11 @@ type VariableReference<TStep extends Step<string, any, any> = Step<string, any,
|
|
|
1129
1129
|
value: any;
|
|
1130
1130
|
schema: z.ZodTypeAny;
|
|
1131
1131
|
};
|
|
1132
|
+
type StreamEvent = TextStreamPart<any> & {
|
|
1133
|
+
type: 'step-suspended';
|
|
1134
|
+
payload: any;
|
|
1135
|
+
id: string;
|
|
1136
|
+
};
|
|
1132
1137
|
type WatchEvent = {
|
|
1133
1138
|
type: 'watch';
|
|
1134
1139
|
payload: {
|
|
@@ -1515,7 +1520,7 @@ declare class Run<TSteps extends Step<string, any, any>[] = Step<string, any, an
|
|
|
1515
1520
|
inputData?: z.infer<TInput>;
|
|
1516
1521
|
runtimeContext?: RuntimeContext;
|
|
1517
1522
|
}): {
|
|
1518
|
-
stream: ReadableStream<
|
|
1523
|
+
stream: ReadableStream<StreamEvent>;
|
|
1519
1524
|
getWorkflowState: () => Promise<WorkflowResult<TOutput, TSteps>>;
|
|
1520
1525
|
};
|
|
1521
1526
|
watch(cb: (event: WatchEvent) => void, type?: 'watch' | 'watch-v2'): () => void;
|
|
@@ -3429,4 +3434,4 @@ declare abstract class MastraStorage extends MastraBase {
|
|
|
3429
3434
|
}): Promise<WorkflowRun | null>;
|
|
3430
3435
|
}
|
|
3431
3436
|
|
|
3432
|
-
export { type StepResolverOutput as $, type ApiRoute as A, type StepExecutionContext as B, type ContextWithMastra as C, type StepVariableType as D, type EvalRow as E, type StepNode as F, type StepGraph as G, type BaseCondition as H, type ActionContext as I, WhenConditionReturnValue as J, type StepDef as K, type LegacyWorkflowRuns as L, type Methods as M, type StepCondition as N, type StepConfig as O, type StepsRecord$1 as P, type WorkflowLogMessage as Q, type RetryConfig as R, type StorageColumn as S, type TABLE_NAMES as T, type WorkflowEvent as U, type VariableReference$1 as V, type WorkflowRuns as W, type ResolverFunctionInput as X, type ResolverFunctionOutput as Y, type SubscriberFunctionOutput as Z, type DependencyCheckOutput as _, Mastra as a, cloneWorkflow as a$, type WorkflowActors as a0, type WorkflowActionParams as a1, type WorkflowActions as a2, type LegacyWorkflowState as a3, type StepId as a4, type ExtractSchemaFromStep$1 as a5, type ExtractStepResult as a6, type StepInputType as a7, type ExtractSchemaType$1 as a8, type PathsToStringProps$1 as a9, type DefaultLLMTextObjectOptions as aA, type DefaultLLMStreamOptions as aB, type DefaultLLMStreamObjectOptions as aC, type LLMTextOptions as aD, type LLMTextObjectOptions as aE, type LLMStreamOptions as aF, type LLMInnerStreamOptions as aG, type LLMStreamObjectOptions as aH, createMockModel as aI, type Config as aJ, type MessageType as aK, type MessageResponse as aL, type MemoryConfig as aM, type SharedMemoryConfig as aN, type MemoryProcessorOpts as aO, MemoryProcessor as aP, memoryDefaultOptions as aQ, createTool as aR, type VercelTool as aS, type CoreTool as aT, type InternalCoreTool as aU, type StepFlowEntry as aV, type SerializedStep as aW, type SerializedStepFlowEntry as aX, createStep as aY, cloneStep as aZ, createWorkflow as a_, type LegacyWorkflowRunState as aa, type WorkflowResumeResult as ab, type ToolAction as ac, type AgentConfig as ad, MastraMemory as ae, type ToolExecutionContext as af, Tool as ag, type Step as ah, Workflow as ai, type WorkflowConfig as aj, type LanguageModel as ak, type CoreMessage as al, type CoreSystemMessage as am, type CoreAssistantMessage as an, type CoreUserMessage as ao, type CoreToolMessage as ap, type EmbedResult as aq, type EmbedManyResult as ar, type BaseStructuredOutputType as as, type StructuredOutputType as at, type StructuredOutputArrayItem as au, type StructuredOutput as av, type GenerateReturn as aw, type StreamReturn as ax, type OutputType as ay, type DefaultLLMTextOptions as az, type MastraAuthConfig as b, type WorkflowResult as b0, Run as b1, type ExecutionGraph as b2, ExecutionEngine as b3, type ExecuteFunction as b4, type StepSuccess as b5, type StepFailure as b6, type StepSuspended as b7, type StepRunning as b8, type StepResult as b9, type
|
|
3437
|
+
export { type StepResolverOutput as $, type ApiRoute as A, type StepExecutionContext as B, type ContextWithMastra as C, type StepVariableType as D, type EvalRow as E, type StepNode as F, type StepGraph as G, type BaseCondition as H, type ActionContext as I, WhenConditionReturnValue as J, type StepDef as K, type LegacyWorkflowRuns as L, type Methods as M, type StepCondition as N, type StepConfig as O, type StepsRecord$1 as P, type WorkflowLogMessage as Q, type RetryConfig as R, type StorageColumn as S, type TABLE_NAMES as T, type WorkflowEvent as U, type VariableReference$1 as V, type WorkflowRuns as W, type ResolverFunctionInput as X, type ResolverFunctionOutput as Y, type SubscriberFunctionOutput as Z, type DependencyCheckOutput as _, Mastra as a, cloneWorkflow as a$, type WorkflowActors as a0, type WorkflowActionParams as a1, type WorkflowActions as a2, type LegacyWorkflowState as a3, type StepId as a4, type ExtractSchemaFromStep$1 as a5, type ExtractStepResult as a6, type StepInputType as a7, type ExtractSchemaType$1 as a8, type PathsToStringProps$1 as a9, type DefaultLLMTextObjectOptions as aA, type DefaultLLMStreamOptions as aB, type DefaultLLMStreamObjectOptions as aC, type LLMTextOptions as aD, type LLMTextObjectOptions as aE, type LLMStreamOptions as aF, type LLMInnerStreamOptions as aG, type LLMStreamObjectOptions as aH, createMockModel as aI, type Config as aJ, type MessageType as aK, type MessageResponse as aL, type MemoryConfig as aM, type SharedMemoryConfig as aN, type MemoryProcessorOpts as aO, MemoryProcessor as aP, memoryDefaultOptions as aQ, createTool as aR, type VercelTool as aS, type CoreTool as aT, type InternalCoreTool as aU, type StepFlowEntry as aV, type SerializedStep as aW, type SerializedStepFlowEntry as aX, createStep as aY, cloneStep as aZ, createWorkflow as a_, type LegacyWorkflowRunState as aa, type WorkflowResumeResult as ab, type ToolAction as ac, type AgentConfig as ad, MastraMemory as ae, type ToolExecutionContext as af, Tool as ag, type Step as ah, Workflow as ai, type WorkflowConfig as aj, type LanguageModel as ak, type CoreMessage as al, type CoreSystemMessage as am, type CoreAssistantMessage as an, type CoreUserMessage as ao, type CoreToolMessage as ap, type EmbedResult as aq, type EmbedManyResult as ar, type BaseStructuredOutputType as as, type StructuredOutputType as at, type StructuredOutputArrayItem as au, type StructuredOutput as av, type GenerateReturn as aw, type StreamReturn as ax, type OutputType as ay, type DefaultLLMTextOptions as az, type MastraAuthConfig as b, type WorkflowResult as b0, Run as b1, type ExecutionGraph as b2, ExecutionEngine as b3, type ExecuteFunction as b4, type StepSuccess as b5, type StepFailure as b6, type StepSuspended as b7, type StepRunning as b8, type StepResult as b9, type VersionDetail as bA, type ArgumentInfo as bB, type PositionalArgumentInfo as bC, type NamedArgumentInfo as bD, type SubcommandInfo as bE, type CommandInfo as bF, type EnvironmentVariableInfo as bG, type PackageInfo as bH, type RemoteInfo as bI, type MCPServerConfig as bJ, type ServerInfo as bK, type ServerDetailInfo as bL, type MCPToolType as bM, MessageList as bN, type ToolsetsInput as bO, type DynamicArgument as bP, type AgentGenerateOptions as bQ, type AgentStreamOptions as bR, type MastraMessageContentV2 as bS, type StepsRecord as ba, type DynamicMapping as bb, type PathsToStringProps as bc, type ExtractSchemaType as bd, type ExtractSchemaFromStep as be, type VariableReference as bf, type StreamEvent as bg, type WatchEvent as bh, type ZodPathType as bi, type WorkflowRunState as bj, type MastraLanguageModel as bk, type MastraPrimitives as bl, AgentNetwork as bm, MCPServerBase as bn, type VoiceEventType as bo, type VoiceEventMap as bp, type VoiceConfig as bq, MastraVoice as br, CompositeVoice as bs, DefaultVoice as bt, type AgentNetworkConfig as bu, type ConvertedTool as bv, type MCPServerSSEOptions as bw, type MCPServerHonoSSEOptions as bx, type MCPServerHTTPOptions as by, type Repository as bz, MastraAuthProvider as c, type MastraAuthProviderOptions as d, MastraStorage as e, type StorageThreadType as f, type MastraMessageV2 as g, type StorageGetMessagesArg as h, type MastraMessageV1 as i, type WorkflowRun as j, type LegacyWorkflowRun as k, TABLE_WORKFLOW_SNAPSHOT as l, TABLE_EVALS as m, TABLE_MESSAGES as n, TABLE_THREADS as o, TABLE_TRACES as p, TABLE_SCHEMAS as q, type StepResult$1 as r, LegacyStep as s, LegacyWorkflow as t, Agent as u, type WorkflowContext as v, type ToolsInput as w, type StepAction as x, type LegacyWorkflowRunResult as y, type WorkflowOptions as z };
|
package/dist/eval/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as Metric, T as TestInfo, E as EvaluationResult } from '../types-Bo1uigWx.cjs';
|
|
2
2
|
export { a as MetricResult } from '../types-Bo1uigWx.cjs';
|
|
3
|
-
import { u as Agent } from '../base-
|
|
3
|
+
import { u as Agent } from '../base-CCeahyG8.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-BY9WFI65.cjs';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/eval/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { M as Metric, T as TestInfo, E as EvaluationResult } from '../types-Bo1uigWx.js';
|
|
2
2
|
export { a as MetricResult } from '../types-Bo1uigWx.js';
|
|
3
|
-
import { u as Agent } from '../base-
|
|
3
|
+
import { u as Agent } from '../base-BVo_KTj_.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import '../base-C0yUw8BC.js';
|
|
6
6
|
import '@opentelemetry/api';
|
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkHZ7ME4LD_cjs = require('./chunk-HZ7ME4LD.cjs');
|
|
4
|
-
var chunkP5XIIDTT_cjs = require('./chunk-P5XIIDTT.cjs');
|
|
5
4
|
var chunkTAHSAZUN_cjs = require('./chunk-TAHSAZUN.cjs');
|
|
5
|
+
var chunkP5XIIDTT_cjs = require('./chunk-P5XIIDTT.cjs');
|
|
6
6
|
var chunkII7UBNGM_cjs = require('./chunk-II7UBNGM.cjs');
|
|
7
7
|
var chunkX6VHQCYN_cjs = require('./chunk-X6VHQCYN.cjs');
|
|
8
8
|
var chunk3C6V2FEP_cjs = require('./chunk-3C6V2FEP.cjs');
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Metric } from './types-Bo1uigWx.cjs';
|
|
2
2
|
export { E as EvaluationResult, a as MetricResult, T as TestInfo } from './types-Bo1uigWx.cjs';
|
|
3
|
-
import { ac as ToolAction, u as Agent$1, ad as AgentConfig, e as MastraStorage$1, ae as MastraMemory$1, af as ToolExecutionContext, ag as Tool$1, ah as Step, ai as Workflow$1, aj as WorkflowConfig } from './base-
|
|
4
|
-
export { as as BaseStructuredOutputType, aJ as Config, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, aT as CoreTool, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, bb as DynamicMapping, ar as EmbedManyResult, aq as EmbedResult, E as EvalRow, b4 as ExecuteFunction, b3 as ExecutionEngine, b2 as ExecutionGraph, be as ExtractSchemaFromStep, bd as ExtractSchemaType, aw as GenerateReturn, aU as InternalCoreTool, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, k as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, ay as OutputType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, aX as SerializedStepFlowEntry, aN as SharedMemoryConfig, b6 as StepFailure, aV as StepFlowEntry, b9 as StepResult, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, bf as VariableReference, aS as VercelTool,
|
|
3
|
+
import { ac as ToolAction, u as Agent$1, ad as AgentConfig, e as MastraStorage$1, ae as MastraMemory$1, af as ToolExecutionContext, ag as Tool$1, ah as Step, ai as Workflow$1, aj as WorkflowConfig } from './base-CCeahyG8.cjs';
|
|
4
|
+
export { as as BaseStructuredOutputType, aJ as Config, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, aT as CoreTool, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, bb as DynamicMapping, ar as EmbedManyResult, aq as EmbedResult, E as EvalRow, b4 as ExecuteFunction, b3 as ExecutionEngine, b2 as ExecutionGraph, be as ExtractSchemaFromStep, bd as ExtractSchemaType, aw as GenerateReturn, aU as InternalCoreTool, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, k as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, ay as OutputType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, aX as SerializedStepFlowEntry, aN as SharedMemoryConfig, b6 as StepFailure, aV as StepFlowEntry, b9 as StepResult, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, bg as StreamEvent, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, bf as VariableReference, aS as VercelTool, bh as WatchEvent, b0 as WorkflowResult, j as WorkflowRun, bj as WorkflowRunState, W as WorkflowRuns, bi as ZodPathType, aZ as cloneStep, a$ as cloneWorkflow, aI as createMockModel, aY as createStep, aR as createTool, a_ as createWorkflow, aQ as memoryDefaultOptions } from './base-CCeahyG8.cjs';
|
|
5
5
|
import { M as MastraBase$1 } from './base-BY9WFI65.cjs';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-BY9WFI65.cjs';
|
|
7
7
|
import { R as RegisteredLogger } from './logger-BF2Sn7JX.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { M as Metric } from './types-Bo1uigWx.js';
|
|
2
2
|
export { E as EvaluationResult, a as MetricResult, T as TestInfo } from './types-Bo1uigWx.js';
|
|
3
|
-
import { ac as ToolAction, u as Agent$1, ad as AgentConfig, e as MastraStorage$1, ae as MastraMemory$1, af as ToolExecutionContext, ag as Tool$1, ah as Step, ai as Workflow$1, aj as WorkflowConfig } from './base-
|
|
4
|
-
export { as as BaseStructuredOutputType, aJ as Config, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, aT as CoreTool, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, bb as DynamicMapping, ar as EmbedManyResult, aq as EmbedResult, E as EvalRow, b4 as ExecuteFunction, b3 as ExecutionEngine, b2 as ExecutionGraph, be as ExtractSchemaFromStep, bd as ExtractSchemaType, aw as GenerateReturn, aU as InternalCoreTool, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, k as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, ay as OutputType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, aX as SerializedStepFlowEntry, aN as SharedMemoryConfig, b6 as StepFailure, aV as StepFlowEntry, b9 as StepResult, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, bf as VariableReference, aS as VercelTool,
|
|
3
|
+
import { ac as ToolAction, u as Agent$1, ad as AgentConfig, e as MastraStorage$1, ae as MastraMemory$1, af as ToolExecutionContext, ag as Tool$1, ah as Step, ai as Workflow$1, aj as WorkflowConfig } from './base-BVo_KTj_.js';
|
|
4
|
+
export { as as BaseStructuredOutputType, aJ as Config, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, aT as CoreTool, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, bb as DynamicMapping, ar as EmbedManyResult, aq as EmbedResult, E as EvalRow, b4 as ExecuteFunction, b3 as ExecutionEngine, b2 as ExecutionGraph, be as ExtractSchemaFromStep, bd as ExtractSchemaType, aw as GenerateReturn, aU as InternalCoreTool, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, k as LegacyWorkflowRun, L as LegacyWorkflowRuns, a as Mastra, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, ay as OutputType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, aX as SerializedStepFlowEntry, aN as SharedMemoryConfig, b6 as StepFailure, aV as StepFlowEntry, b9 as StepResult, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, S as StorageColumn, h as StorageGetMessagesArg, f as StorageThreadType, bg as StreamEvent, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, bf as VariableReference, aS as VercelTool, bh as WatchEvent, b0 as WorkflowResult, j as WorkflowRun, bj as WorkflowRunState, W as WorkflowRuns, bi as ZodPathType, aZ as cloneStep, a$ as cloneWorkflow, aI as createMockModel, aY as createStep, aR as createTool, a_ as createWorkflow, aQ as memoryDefaultOptions } from './base-BVo_KTj_.js';
|
|
5
5
|
import { M as MastraBase$1 } from './base-C0yUw8BC.js';
|
|
6
6
|
export { O as OtelConfig, S as SamplingStrategy, T as Telemetry } from './base-C0yUw8BC.js';
|
|
7
7
|
import { R as RegisteredLogger } from './logger-BF2Sn7JX.js';
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MastraTTS } from './chunk-ZPOETARN.js';
|
|
2
|
+
import { MastraVector } from './chunk-PMAVDBJY.js';
|
|
2
3
|
import { Workflow } from './chunk-24D3CMWO.js';
|
|
3
4
|
export { DefaultExecutionEngine, ExecutionEngine, Run, cloneStep, cloneWorkflow, createStep, createWorkflow } from './chunk-24D3CMWO.js';
|
|
4
|
-
import { MastraVector } from './chunk-PMAVDBJY.js';
|
|
5
5
|
export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityPrompt } from './chunk-6NJLWXMZ.js';
|
|
6
6
|
import { MastraStorage } from './chunk-7MWWPVCE.js';
|
|
7
7
|
export { Metric, evaluate } from './chunk-PK5QRKSG.js';
|
package/dist/llm/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { as as BaseStructuredOutputType, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, ar as EmbedManyResult, aq as EmbedResult, aw as GenerateReturn, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, ay as OutputType, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, aI as createMockModel } from '../base-
|
|
4
|
+
export { as as BaseStructuredOutputType, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, ar as EmbedManyResult, aq as EmbedResult, aw as GenerateReturn, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, ay as OutputType, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, aI as createMockModel } from '../base-CCeahyG8.cjs';
|
|
5
5
|
import '../runtime-context/index.cjs';
|
|
6
6
|
import '../base-BY9WFI65.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/llm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'ai';
|
|
2
2
|
import 'json-schema';
|
|
3
3
|
import 'zod';
|
|
4
|
-
export { as as BaseStructuredOutputType, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, ar as EmbedManyResult, aq as EmbedResult, aw as GenerateReturn, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, ay as OutputType, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, aI as createMockModel } from '../base-
|
|
4
|
+
export { as as BaseStructuredOutputType, an as CoreAssistantMessage, al as CoreMessage, am as CoreSystemMessage, ap as CoreToolMessage, ao as CoreUserMessage, aC as DefaultLLMStreamObjectOptions, aB as DefaultLLMStreamOptions, aA as DefaultLLMTextObjectOptions, az as DefaultLLMTextOptions, ar as EmbedManyResult, aq as EmbedResult, aw as GenerateReturn, aG as LLMInnerStreamOptions, aH as LLMStreamObjectOptions, aF as LLMStreamOptions, aE as LLMTextObjectOptions, aD as LLMTextOptions, ak as LanguageModel, ay as OutputType, ax as StreamReturn, av as StructuredOutput, au as StructuredOutputArrayItem, at as StructuredOutputType, aI as createMockModel } from '../base-BVo_KTj_.js';
|
|
5
5
|
import '../runtime-context/index.js';
|
|
6
6
|
import '../base-C0yUw8BC.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/mastra/index.d.cts
CHANGED
package/dist/mastra/index.d.ts
CHANGED
package/dist/mcp/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, bn as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-CCeahyG8.cjs';
|
|
2
2
|
import '../base-BY9WFI65.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import 'zod';
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bB as ArgumentInfo, bF as CommandInfo, bv as ConvertedTool, bG as EnvironmentVariableInfo, bn as MCPServerBase, bJ as MCPServerConfig, by as MCPServerHTTPOptions, bx as MCPServerHonoSSEOptions, bw as MCPServerSSEOptions, bM as MCPToolType, bD as NamedArgumentInfo, bH as PackageInfo, bC as PositionalArgumentInfo, bI as RemoteInfo, bz as Repository, bL as ServerDetailInfo, bK as ServerInfo, bE as SubcommandInfo, bA as VersionDetail } from '../base-BVo_KTj_.js';
|
|
2
2
|
import '../base-C0yUw8BC.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import 'zod';
|
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ae as MastraMemory, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, aN as SharedMemoryConfig, f as StorageThreadType, aQ as memoryDefaultOptions } from '../base-
|
|
1
|
+
export { ae as MastraMemory, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, aN as SharedMemoryConfig, f as StorageThreadType, aQ as memoryDefaultOptions } from '../base-CCeahyG8.cjs';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-BY9WFI65.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ae as MastraMemory, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, aN as SharedMemoryConfig, f as StorageThreadType, aQ as memoryDefaultOptions } from '../base-
|
|
1
|
+
export { ae as MastraMemory, i as MastraMessageV1, g as MastraMessageV2, aM as MemoryConfig, aP as MemoryProcessor, aO as MemoryProcessorOpts, aL as MessageResponse, aK as MessageType, aN as SharedMemoryConfig, f as StorageThreadType, aQ as memoryDefaultOptions } from '../base-BVo_KTj_.js';
|
|
2
2
|
export { Message as AiMessageType } from 'ai';
|
|
3
3
|
import '../base-C0yUw8BC.js';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/network/index.d.cts
CHANGED
package/dist/network/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare class RuntimeContext<Values extends Record<string, any> | unknown = unkn
|
|
|
11
11
|
/**
|
|
12
12
|
* Get a value with its type
|
|
13
13
|
*/
|
|
14
|
-
get<K extends Values extends Record<string, any> ? keyof Values : string, R = Values extends Record<string, any> ? (K extends keyof Values ? Values[K] : never) : unknown>(key:
|
|
14
|
+
get<K extends Values extends Record<string, any> ? keyof Values : string, R = Values extends Record<string, any> ? (K extends keyof Values ? Values[K] : never) : unknown>(key: K): R;
|
|
15
15
|
/**
|
|
16
16
|
* Check if a key exists in the container
|
|
17
17
|
*/
|
|
@@ -11,7 +11,7 @@ declare class RuntimeContext<Values extends Record<string, any> | unknown = unkn
|
|
|
11
11
|
/**
|
|
12
12
|
* Get a value with its type
|
|
13
13
|
*/
|
|
14
|
-
get<K extends Values extends Record<string, any> ? keyof Values : string, R = Values extends Record<string, any> ? (K extends keyof Values ? Values[K] : never) : unknown>(key:
|
|
14
|
+
get<K extends Values extends Record<string, any> ? keyof Values : string, R = Values extends Record<string, any> ? (K extends keyof Values ? Values[K] : never) : unknown>(key: K): R;
|
|
15
15
|
/**
|
|
16
16
|
* Check if a key exists in the container
|
|
17
17
|
*/
|
package/dist/server/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, c as MastraAuthProvider, d as MastraAuthProviderOptions } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-CCeahyG8.cjs';
|
|
4
|
+
export { C as ContextWithMastra, c as MastraAuthProvider, d as MastraAuthProviderOptions } from '../base-CCeahyG8.cjs';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-BY9WFI65.cjs';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, c as MastraAuthProvider, d as MastraAuthProviderOptions } from '../base-
|
|
3
|
+
import { M as Methods, a as Mastra, A as ApiRoute, b as MastraAuthConfig } from '../base-BVo_KTj_.js';
|
|
4
|
+
export { C as ContextWithMastra, c as MastraAuthProvider, d as MastraAuthProviderOptions } from '../base-BVo_KTj_.js';
|
|
5
5
|
import 'ai';
|
|
6
6
|
import '../base-C0yUw8BC.js';
|
|
7
7
|
import '@opentelemetry/api';
|
package/dist/storage/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MastraMessageV2, h as StorageGetMessagesArg, i as MastraMessageV1, E as EvalRow, W as WorkflowRuns, j as WorkflowRun } from '../base-
|
|
2
|
-
export { k as LegacyWorkflowRun, L as LegacyWorkflowRuns, m as TABLE_EVALS, n as TABLE_MESSAGES, q as TABLE_SCHEMAS, o as TABLE_THREADS, p as TABLE_TRACES, l as TABLE_WORKFLOW_SNAPSHOT } from '../base-
|
|
1
|
+
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MastraMessageV2, h as StorageGetMessagesArg, i as MastraMessageV1, E as EvalRow, W as WorkflowRuns, j as WorkflowRun } from '../base-CCeahyG8.cjs';
|
|
2
|
+
export { k as LegacyWorkflowRun, L as LegacyWorkflowRuns, m as TABLE_EVALS, n as TABLE_MESSAGES, q as TABLE_SCHEMAS, o as TABLE_THREADS, p as TABLE_TRACES, l as TABLE_WORKFLOW_SNAPSHOT } from '../base-CCeahyG8.cjs';
|
|
3
3
|
import '../base-BY9WFI65.cjs';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import 'zod';
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MastraMessageV2, h as StorageGetMessagesArg, i as MastraMessageV1, E as EvalRow, W as WorkflowRuns, j as WorkflowRun } from '../base-
|
|
2
|
-
export { k as LegacyWorkflowRun, L as LegacyWorkflowRuns, m as TABLE_EVALS, n as TABLE_MESSAGES, q as TABLE_SCHEMAS, o as TABLE_THREADS, p as TABLE_TRACES, l as TABLE_WORKFLOW_SNAPSHOT } from '../base-
|
|
1
|
+
import { e as MastraStorage, T as TABLE_NAMES, S as StorageColumn, f as StorageThreadType, g as MastraMessageV2, h as StorageGetMessagesArg, i as MastraMessageV1, E as EvalRow, W as WorkflowRuns, j as WorkflowRun } from '../base-BVo_KTj_.js';
|
|
2
|
+
export { k as LegacyWorkflowRun, L as LegacyWorkflowRuns, m as TABLE_EVALS, n as TABLE_MESSAGES, q as TABLE_SCHEMAS, o as TABLE_THREADS, p as TABLE_TRACES, l as TABLE_WORKFLOW_SNAPSHOT } from '../base-BVo_KTj_.js';
|
|
3
3
|
import '../base-C0yUw8BC.js';
|
|
4
4
|
import 'ai';
|
|
5
5
|
import 'zod';
|
|
@@ -3,7 +3,7 @@ import { SpanKind, Context } from '@opentelemetry/api';
|
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { I as IMastraLogger } from '../logger-BF2Sn7JX.cjs';
|
|
6
|
-
import { e as MastraStorage } from '../base-
|
|
6
|
+
import { e as MastraStorage } from '../base-CCeahyG8.cjs';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'ai';
|
|
9
9
|
import 'zod';
|
|
@@ -3,7 +3,7 @@ import { SpanKind, Context } from '@opentelemetry/api';
|
|
|
3
3
|
import { ExportResult } from '@opentelemetry/core';
|
|
4
4
|
import { SpanExporter, ReadableSpan } from '@opentelemetry/sdk-trace-base';
|
|
5
5
|
import { I as IMastraLogger } from '../logger-BF2Sn7JX.js';
|
|
6
|
-
import { e as MastraStorage } from '../base-
|
|
6
|
+
import { e as MastraStorage } from '../base-BVo_KTj_.js';
|
|
7
7
|
import 'stream';
|
|
8
8
|
import 'ai';
|
|
9
9
|
import 'zod';
|
package/dist/tools/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aT as CoreTool, aU as InternalCoreTool, ag as Tool, ac as ToolAction, af as ToolExecutionContext, aS as VercelTool, aR as createTool } from '../base-
|
|
1
|
+
export { aT as CoreTool, aU as InternalCoreTool, ag as Tool, ac as ToolAction, af as ToolExecutionContext, aS as VercelTool, aR as createTool } from '../base-CCeahyG8.cjs';
|
|
2
2
|
export { isVercelTool } from '../utils.cjs';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-BY9WFI65.cjs';
|
package/dist/tools/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aT as CoreTool, aU as InternalCoreTool, ag as Tool, ac as ToolAction, af as ToolExecutionContext, aS as VercelTool, aR as createTool } from '../base-
|
|
1
|
+
export { aT as CoreTool, aU as InternalCoreTool, ag as Tool, ac as ToolAction, af as ToolExecutionContext, aS as VercelTool, aR as createTool } from '../base-BVo_KTj_.js';
|
|
2
2
|
export { isVercelTool } from '../utils.js';
|
|
3
3
|
import 'ai';
|
|
4
4
|
import '../base-C0yUw8BC.js';
|
package/dist/utils.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aS as VercelTool, ac as ToolAction, a as Mastra,
|
|
1
|
+
import { aS as VercelTool, ac as ToolAction, a as Mastra, bl as MastraPrimitives, ae as MastraMemory, w as ToolsInput, aT as CoreTool, u as Agent, t as LegacyWorkflow, s as LegacyStep, B as StepExecutionContext, v as WorkflowContext, ai as Workflow, ah as Step, bm as AgentNetwork, bn as MCPServerBase } from './base-CCeahyG8.cjs';
|
|
2
2
|
import { LanguageModelV1, CoreMessage, Message } from 'ai';
|
|
3
3
|
import { MastraTTS } from './tts/index.cjs';
|
|
4
4
|
import { MastraVector } from './vector/index.cjs';
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aS as VercelTool, ac as ToolAction, a as Mastra,
|
|
1
|
+
import { aS as VercelTool, ac as ToolAction, a as Mastra, bl as MastraPrimitives, ae as MastraMemory, w as ToolsInput, aT as CoreTool, u as Agent, t as LegacyWorkflow, s as LegacyStep, B as StepExecutionContext, v as WorkflowContext, ai as Workflow, ah as Step, bm as AgentNetwork, bn as MCPServerBase } from './base-BVo_KTj_.js';
|
|
2
2
|
import { LanguageModelV1, CoreMessage, Message } from 'ai';
|
|
3
3
|
import { MastraTTS } from './tts/index.js';
|
|
4
4
|
import { MastraVector } from './vector/index.js';
|
package/dist/voice/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-CCeahyG8.cjs';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-BY9WFI65.cjs';
|
|
4
4
|
import '@opentelemetry/api';
|
package/dist/voice/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { bs as CompositeVoice, bt as DefaultVoice, br as MastraVoice, bq as VoiceConfig, bp as VoiceEventMap, bo as VoiceEventType } from '../base-BVo_KTj_.js';
|
|
2
2
|
import 'ai';
|
|
3
3
|
import '../base-C0yUw8BC.js';
|
|
4
4
|
import '@opentelemetry/api';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b3 as ExecutionEngine, b9 as StepResult, b2 as ExecutionGraph, aX as SerializedStepFlowEntry, aV as StepFlowEntry, ah as Step, b4 as ExecuteFunction } from '../base-
|
|
2
|
-
export { bb as DynamicMapping, be as ExtractSchemaFromStep, bd as ExtractSchemaType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, b6 as StepFailure, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, bf as VariableReference,
|
|
1
|
+
import { b3 as ExecutionEngine, b9 as StepResult, b2 as ExecutionGraph, aX as SerializedStepFlowEntry, aV as StepFlowEntry, ah as Step, b4 as ExecuteFunction } from '../base-CCeahyG8.cjs';
|
|
2
|
+
export { bb as DynamicMapping, be as ExtractSchemaFromStep, bd as ExtractSchemaType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, b6 as StepFailure, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, bg as StreamEvent, bf as VariableReference, bh as WatchEvent, ai as Workflow, aj as WorkflowConfig, b0 as WorkflowResult, bj as WorkflowRunState, bi as ZodPathType, aZ as cloneStep, a$ as cloneWorkflow, aY as createStep, a_ as createWorkflow } from '../base-CCeahyG8.cjs';
|
|
3
3
|
import { Span } from '@opentelemetry/api';
|
|
4
4
|
import { RuntimeContext } from '../runtime-context/index.cjs';
|
|
5
5
|
import 'ai';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b3 as ExecutionEngine, b9 as StepResult, b2 as ExecutionGraph, aX as SerializedStepFlowEntry, aV as StepFlowEntry, ah as Step, b4 as ExecuteFunction } from '../base-
|
|
2
|
-
export { bb as DynamicMapping, be as ExtractSchemaFromStep, bd as ExtractSchemaType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, b6 as StepFailure, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, bf as VariableReference,
|
|
1
|
+
import { b3 as ExecutionEngine, b9 as StepResult, b2 as ExecutionGraph, aX as SerializedStepFlowEntry, aV as StepFlowEntry, ah as Step, b4 as ExecuteFunction } from '../base-BVo_KTj_.js';
|
|
2
|
+
export { bb as DynamicMapping, be as ExtractSchemaFromStep, bd as ExtractSchemaType, bc as PathsToStringProps, b1 as Run, aW as SerializedStep, b6 as StepFailure, b8 as StepRunning, b5 as StepSuccess, b7 as StepSuspended, ba as StepsRecord, bg as StreamEvent, bf as VariableReference, bh as WatchEvent, ai as Workflow, aj as WorkflowConfig, b0 as WorkflowResult, bj as WorkflowRunState, bi as ZodPathType, aZ as cloneStep, a$ as cloneWorkflow, aY as createStep, a_ as createWorkflow } from '../base-BVo_KTj_.js';
|
|
3
3
|
import { Span } from '@opentelemetry/api';
|
|
4
4
|
import { RuntimeContext } from '../runtime-context/index.js';
|
|
5
5
|
import 'ai';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VariableReference, r as StepResult, s as LegacyStep, t as LegacyWorkflow, u as Agent, v as WorkflowContext, w as ToolsInput, a as Mastra, x as StepAction, y as LegacyWorkflowRunResult } from '../../base-
|
|
2
|
-
export { I as ActionContext, H as BaseCondition, _ as DependencyCheckOutput, a5 as ExtractSchemaFromStep, a8 as ExtractSchemaType, a6 as ExtractStepResult, aa as LegacyWorkflowRunState, a3 as LegacyWorkflowState, a9 as PathsToStringProps, X as ResolverFunctionInput, Y as ResolverFunctionOutput, R as RetryConfig, N as StepCondition, O as StepConfig, K as StepDef, B as StepExecutionContext, G as StepGraph, a4 as StepId, a7 as StepInputType, F as StepNode, $ as StepResolverOutput, D as StepVariableType, P as StepsRecord, Z as SubscriberFunctionOutput, J as WhenConditionReturnValue, a1 as WorkflowActionParams, a2 as WorkflowActions, a0 as WorkflowActors, U as WorkflowEvent, Q as WorkflowLogMessage, z as WorkflowOptions, ab as WorkflowResumeResult } from '../../base-
|
|
1
|
+
import { V as VariableReference, r as StepResult, s as LegacyStep, t as LegacyWorkflow, u as Agent, v as WorkflowContext, w as ToolsInput, a as Mastra, x as StepAction, y as LegacyWorkflowRunResult } from '../../base-CCeahyG8.cjs';
|
|
2
|
+
export { I as ActionContext, H as BaseCondition, _ as DependencyCheckOutput, a5 as ExtractSchemaFromStep, a8 as ExtractSchemaType, a6 as ExtractStepResult, aa as LegacyWorkflowRunState, a3 as LegacyWorkflowState, a9 as PathsToStringProps, X as ResolverFunctionInput, Y as ResolverFunctionOutput, R as RetryConfig, N as StepCondition, O as StepConfig, K as StepDef, B as StepExecutionContext, G as StepGraph, a4 as StepId, a7 as StepInputType, F as StepNode, $ as StepResolverOutput, D as StepVariableType, P as StepsRecord, Z as SubscriberFunctionOutput, J as WhenConditionReturnValue, a1 as WorkflowActionParams, a2 as WorkflowActions, a0 as WorkflowActors, U as WorkflowEvent, Q as WorkflowLogMessage, z as WorkflowOptions, ab as WorkflowResumeResult } from '../../base-CCeahyG8.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { M as Metric } from '../../types-Bo1uigWx.cjs';
|
|
5
5
|
import { I as IMastraLogger } from '../../logger-BF2Sn7JX.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as VariableReference, r as StepResult, s as LegacyStep, t as LegacyWorkflow, u as Agent, v as WorkflowContext, w as ToolsInput, a as Mastra, x as StepAction, y as LegacyWorkflowRunResult } from '../../base-
|
|
2
|
-
export { I as ActionContext, H as BaseCondition, _ as DependencyCheckOutput, a5 as ExtractSchemaFromStep, a8 as ExtractSchemaType, a6 as ExtractStepResult, aa as LegacyWorkflowRunState, a3 as LegacyWorkflowState, a9 as PathsToStringProps, X as ResolverFunctionInput, Y as ResolverFunctionOutput, R as RetryConfig, N as StepCondition, O as StepConfig, K as StepDef, B as StepExecutionContext, G as StepGraph, a4 as StepId, a7 as StepInputType, F as StepNode, $ as StepResolverOutput, D as StepVariableType, P as StepsRecord, Z as SubscriberFunctionOutput, J as WhenConditionReturnValue, a1 as WorkflowActionParams, a2 as WorkflowActions, a0 as WorkflowActors, U as WorkflowEvent, Q as WorkflowLogMessage, z as WorkflowOptions, ab as WorkflowResumeResult } from '../../base-
|
|
1
|
+
import { V as VariableReference, r as StepResult, s as LegacyStep, t as LegacyWorkflow, u as Agent, v as WorkflowContext, w as ToolsInput, a as Mastra, x as StepAction, y as LegacyWorkflowRunResult } from '../../base-BVo_KTj_.js';
|
|
2
|
+
export { I as ActionContext, H as BaseCondition, _ as DependencyCheckOutput, a5 as ExtractSchemaFromStep, a8 as ExtractSchemaType, a6 as ExtractStepResult, aa as LegacyWorkflowRunState, a3 as LegacyWorkflowState, a9 as PathsToStringProps, X as ResolverFunctionInput, Y as ResolverFunctionOutput, R as RetryConfig, N as StepCondition, O as StepConfig, K as StepDef, B as StepExecutionContext, G as StepGraph, a4 as StepId, a7 as StepInputType, F as StepNode, $ as StepResolverOutput, D as StepVariableType, P as StepsRecord, Z as SubscriberFunctionOutput, J as WhenConditionReturnValue, a1 as WorkflowActionParams, a2 as WorkflowActions, a0 as WorkflowActors, U as WorkflowEvent, Q as WorkflowLogMessage, z as WorkflowOptions, ab as WorkflowResumeResult } from '../../base-BVo_KTj_.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { M as Metric } from '../../types-Bo1uigWx.js';
|
|
5
5
|
import { I as IMastraLogger } from '../../logger-BF2Sn7JX.js';
|