@mastra/core 0.10.4-alpha.2 → 0.10.4

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.
Files changed (53) hide show
  1. package/dist/agent/index.d.cts +2 -2
  2. package/dist/agent/index.d.ts +2 -2
  3. package/dist/{base-Bi9KB0TN.d.ts → base-BbdvunNJ.d.ts} +1 -1
  4. package/dist/{base-SdLa5kEB.d.cts → base-Bdc5hWla.d.cts} +28 -12
  5. package/dist/{base-CO-L7hF9.d.cts → base-DVVTzIQy.d.cts} +1 -1
  6. package/dist/{base-CKzmjMsr.d.ts → base-icHjkcs-.d.ts} +28 -12
  7. package/dist/base.d.cts +1 -1
  8. package/dist/base.d.ts +1 -1
  9. package/dist/bundler/index.d.cts +1 -1
  10. package/dist/bundler/index.d.ts +1 -1
  11. package/dist/deployer/index.d.cts +1 -1
  12. package/dist/deployer/index.d.ts +1 -1
  13. package/dist/eval/index.d.cts +2 -2
  14. package/dist/eval/index.d.ts +2 -2
  15. package/dist/index.d.cts +4 -4
  16. package/dist/index.d.ts +4 -4
  17. package/dist/integration/index.d.cts +2 -2
  18. package/dist/integration/index.d.ts +2 -2
  19. package/dist/llm/index.d.cts +2 -2
  20. package/dist/llm/index.d.ts +2 -2
  21. package/dist/mastra/index.d.cts +2 -2
  22. package/dist/mastra/index.d.ts +2 -2
  23. package/dist/mcp/index.d.cts +2 -2
  24. package/dist/mcp/index.d.ts +2 -2
  25. package/dist/memory/index.d.cts +2 -2
  26. package/dist/memory/index.d.ts +2 -2
  27. package/dist/network/index.d.cts +2 -2
  28. package/dist/network/index.d.ts +2 -2
  29. package/dist/relevance/index.d.cts +2 -2
  30. package/dist/relevance/index.d.ts +2 -2
  31. package/dist/server/index.d.cts +3 -3
  32. package/dist/server/index.d.ts +3 -3
  33. package/dist/storage/index.cjs +63 -0
  34. package/dist/storage/index.d.cts +27 -4
  35. package/dist/storage/index.d.ts +27 -4
  36. package/dist/storage/index.js +63 -0
  37. package/dist/telemetry/index.d.cts +2 -2
  38. package/dist/telemetry/index.d.ts +2 -2
  39. package/dist/tools/index.d.cts +3 -3
  40. package/dist/tools/index.d.ts +3 -3
  41. package/dist/tts/index.d.cts +1 -1
  42. package/dist/tts/index.d.ts +1 -1
  43. package/dist/utils.d.cts +2 -2
  44. package/dist/utils.d.ts +2 -2
  45. package/dist/vector/index.d.cts +1 -1
  46. package/dist/vector/index.d.ts +1 -1
  47. package/dist/voice/index.d.cts +2 -2
  48. package/dist/voice/index.d.ts +2 -2
  49. package/dist/workflows/index.d.cts +3 -3
  50. package/dist/workflows/index.d.ts +3 -3
  51. package/dist/workflows/legacy/index.d.cts +3 -3
  52. package/dist/workflows/legacy/index.d.ts +3 -3
  53. package/package.json +3 -3
@@ -1,8 +1,8 @@
1
1
  export { Message as AiMessageType } from 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { A as Agent, ar as AgentConfig, bT as AgentGenerateOptions, bU as AgentStreamOptions, bS as DynamicArgument, bq as MastraLanguageModel, bV as MastraMessageContentV2, s as MastraMessageV2, bQ as MessageList, T as ToolsInput, bR as ToolsetsInput } from '../base-SdLa5kEB.cjs';
5
- import '../base-CO-L7hF9.cjs';
4
+ export { A as Agent, as as AgentConfig, bU as AgentGenerateOptions, bV as AgentStreamOptions, bT as DynamicArgument, br as MastraLanguageModel, bW as MastraMessageContentV2, s as MastraMessageV2, bR as MessageList, T as ToolsInput, bS as ToolsetsInput } from '../base-Bdc5hWla.cjs';
5
+ import '../base-DVVTzIQy.cjs';
6
6
  import '../types-Bo1uigWx.cjs';
7
7
  import '../runtime-context/index.cjs';
8
8
  import '../logger-CpL0z5v_.cjs';
@@ -1,8 +1,8 @@
1
1
  export { Message as AiMessageType } from 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { A as Agent, ar as AgentConfig, bT as AgentGenerateOptions, bU as AgentStreamOptions, bS as DynamicArgument, bq as MastraLanguageModel, bV as MastraMessageContentV2, s as MastraMessageV2, bQ as MessageList, T as ToolsInput, bR as ToolsetsInput } from '../base-CKzmjMsr.js';
5
- import '../base-Bi9KB0TN.js';
4
+ export { A as Agent, as as AgentConfig, bU as AgentGenerateOptions, bV as AgentStreamOptions, bT as DynamicArgument, br as MastraLanguageModel, bW as MastraMessageContentV2, s as MastraMessageV2, bR as MessageList, T as ToolsInput, bS as ToolsetsInput } from '../base-icHjkcs-.js';
5
+ import '../base-BbdvunNJ.js';
6
6
  import '../types-Bo1uigWx.js';
7
7
  import '../runtime-context/index.js';
8
8
  import '../logger-DtVDdb81.js';
@@ -159,4 +159,4 @@ declare class MastraBase {
159
159
  } | undefined;
160
160
  }
161
161
 
162
- export { MastraBase as M, type OtelConfig as O, type SamplingStrategy as S, Telemetry as T, type Trace as a };
162
+ export { MastraBase as M, type OtelConfig as O, type SamplingStrategy as S, type Trace as T, Telemetry as a };
@@ -1,6 +1,6 @@
1
1
  import * as ai from 'ai';
2
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
- import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-CO-L7hF9.cjs';
3
+ import { M as MastraBase, a as Telemetry, O as OtelConfig, T as Trace } from './base-DVVTzIQy.cjs';
4
4
  import { z, ZodSchema } from 'zod';
5
5
  import { B as BaseLogMessage, R as RegisteredLogger, I as IMastraLogger, a as LogLevel } from './logger-CpL0z5v_.cjs';
6
6
  import { JSONSchema7Type, JSONSchema7 } from 'json-schema';
@@ -1613,6 +1613,16 @@ type EvalRow = {
1613
1613
  globalRunId: string;
1614
1614
  testInfo?: TestInfo;
1615
1615
  };
1616
+ type StorageGetTracesArg = {
1617
+ name?: string;
1618
+ scope?: string;
1619
+ page: number;
1620
+ perPage: number;
1621
+ attributes?: Record<string, string>;
1622
+ filters?: Record<string, any>;
1623
+ fromDate?: Date;
1624
+ toDate?: Date;
1625
+ };
1616
1626
 
1617
1627
  declare const TABLE_WORKFLOW_SNAPSHOT = "mastra_workflow_snapshot";
1618
1628
  declare const TABLE_EVALS = "mastra_evals";
@@ -3470,16 +3480,7 @@ declare abstract class MastraStorage extends MastraBase {
3470
3480
  messages: MastraMessageV2[];
3471
3481
  format: 'v2';
3472
3482
  }): Promise<MastraMessageV2[] | MastraMessageV1[]>;
3473
- abstract getTraces({ name, scope, page, perPage, attributes, filters, }: {
3474
- name?: string;
3475
- scope?: string;
3476
- page: number;
3477
- perPage: number;
3478
- attributes?: Record<string, string>;
3479
- filters?: Record<string, any>;
3480
- fromDate?: Date;
3481
- toDate?: Date;
3482
- }): Promise<any[]>;
3483
+ abstract getTraces(args: StorageGetTracesArg): Promise<any[]>;
3483
3484
  init(): Promise<void>;
3484
3485
  persistWorkflowSnapshot({ workflowName, runId, snapshot, }: {
3485
3486
  workflowName: string;
@@ -3503,6 +3504,21 @@ declare abstract class MastraStorage extends MastraBase {
3503
3504
  runId: string;
3504
3505
  workflowName?: string;
3505
3506
  }): Promise<WorkflowRun | null>;
3507
+ abstract getTracesPaginated(args: StorageGetTracesArg): Promise<PaginationInfo & {
3508
+ traces: Trace[];
3509
+ }>;
3510
+ abstract getThreadsByResourceIdPaginated(args: {
3511
+ resourceId: string;
3512
+ page: number;
3513
+ perPage: number;
3514
+ }): Promise<PaginationInfo & {
3515
+ threads: StorageThreadType[];
3516
+ }>;
3517
+ abstract getMessagesPaginated(args: StorageGetMessagesArg & {
3518
+ format?: 'v1' | 'v2';
3519
+ }): Promise<PaginationInfo & {
3520
+ messages: MastraMessageV1[] | MastraMessageV2[];
3521
+ }>;
3506
3522
  }
3507
3523
 
3508
- export { WhenConditionReturnValue as $, Agent as A, TABLE_WORKFLOW_SNAPSHOT as B, type CoreTool as C, TABLE_EVALS as D, type EvalRow as E, TABLE_MESSAGES as F, TABLE_THREADS as G, TABLE_TRACES as H, TABLE_SCHEMAS as I, type VariableReference$1 as J, type StepResult$1 as K, LegacyWorkflow as L, Mastra as M, type StepAction as N, type LegacyWorkflowRunResult as O, type PaginationArgs as P, type WorkflowOptions as Q, type StepVariableType as R, type StepExecutionContext as S, type ToolsInput as T, type StepNode as U, type VercelTool as V, type WorkflowContext as W, type StepGraph as X, type RetryConfig as Y, type BaseCondition as Z, type ActionContext as _, type MastraPrimitives as a, type StepFlowEntry as a$, type StepDef as a0, type StepCondition as a1, type StepConfig as a2, type StepsRecord$1 as a3, type WorkflowLogMessage as a4, type WorkflowEvent as a5, type ResolverFunctionInput as a6, type ResolverFunctionOutput as a7, type SubscriberFunctionOutput as a8, type DependencyCheckOutput as a9, type EmbedManyResult as aA, type BaseStructuredOutputType as aB, type StructuredOutputType as aC, type StructuredOutputArrayItem as aD, type StructuredOutput as aE, type GenerateReturn as aF, type StreamReturn as aG, type OutputType as aH, type DefaultLLMTextOptions as aI, type DefaultLLMTextObjectOptions as aJ, type DefaultLLMStreamOptions as aK, type DefaultLLMStreamObjectOptions as aL, type LLMTextOptions as aM, type LLMTextObjectOptions as aN, type LLMStreamOptions as aO, type LLMInnerStreamOptions as aP, type LLMStreamObjectOptions as aQ, createMockModel as aR, type Config as aS, type MessageType as aT, type MessageResponse as aU, type MemoryConfig as aV, type SharedMemoryConfig as aW, type TraceType as aX, type MemoryProcessorOpts as aY, MemoryProcessor as aZ, memoryDefaultOptions as a_, type StepResolverOutput as aa, type WorkflowActors as ab, type WorkflowActionParams as ac, type WorkflowActions as ad, type LegacyWorkflowState as ae, type StepId as af, type ExtractSchemaFromStep$1 as ag, type ExtractStepResult as ah, type StepInputType as ai, type ExtractSchemaType$1 as aj, type PathsToStringProps$1 as ak, type LegacyWorkflowRunState as al, type WorkflowResumeResult as am, Tool as an, createTool as ao, type InternalCoreTool as ap, type ToolExecutionContext as aq, type AgentConfig as ar, type WorkflowConfig as as, type LanguageModel as at, type CoreMessage as au, type CoreSystemMessage as av, type CoreAssistantMessage as aw, type CoreUserMessage as ax, type CoreToolMessage as ay, type EmbedResult as az, MastraMemory as b, type SerializedStep as b0, type SerializedStepFlowEntry as b1, createStep as b2, cloneStep as b3, createWorkflow as b4, cloneWorkflow as b5, type WorkflowResult as b6, Run as b7, type ExecutionGraph as b8, ExecutionEngine as b9, type MCPServerHonoSSEOptions as bA, type MCPServerHTTPOptions as bB, type Repository as bC, type VersionDetail as bD, type ArgumentInfo as bE, type PositionalArgumentInfo as bF, type NamedArgumentInfo as bG, type SubcommandInfo as bH, type CommandInfo as bI, type EnvironmentVariableInfo as bJ, type PackageInfo as bK, type RemoteInfo as bL, type MCPServerConfig as bM, type ServerInfo as bN, type ServerDetailInfo as bO, type MCPToolType as bP, MessageList as bQ, type ToolsetsInput as bR, type DynamicArgument as bS, type AgentGenerateOptions as bT, type AgentStreamOptions as bU, type MastraMessageContentV2 as bV, type ExecuteFunction as ba, type StepSuccess as bb, type StepFailure as bc, type StepSuspended as bd, type StepRunning as be, type StepResult as bf, type StepsRecord as bg, type DynamicMapping as bh, type PathsToStringProps as bi, type ExtractSchemaType as bj, type ExtractSchemaFromStep as bk, type VariableReference as bl, type StreamEvent as bm, type WatchEvent as bn, type ZodPathType as bo, type WorkflowRunState as bp, type MastraLanguageModel as bq, type VoiceEventType as br, type VoiceEventMap as bs, type VoiceConfig as bt, MastraVoice as bu, CompositeVoice as bv, DefaultVoice as bw, type AgentNetworkConfig as bx, type ConvertedTool as by, type MCPServerSSEOptions as bz, type ToolAction as c, LegacyStep as d, Workflow as e, type Step as f, AgentNetwork as g, MCPServerBase as h, type Methods as i, type ApiRoute as j, type MastraAuthConfig as k, type ContextWithMastra as l, MastraAuthProvider as m, type MastraAuthProviderOptions as n, MastraStorage as o, type TABLE_NAMES as p, type StorageColumn as q, type StorageThreadType as r, type MastraMessageV2 as s, type StorageGetMessagesArg as t, type MastraMessageV1 as u, type WorkflowRuns as v, type WorkflowRun as w, type LegacyWorkflowRuns as x, type LegacyWorkflowRun as y, type PaginationInfo as z };
3524
+ export { type ActionContext as $, Agent as A, type StorageGetTracesArg as B, type CoreTool as C, TABLE_WORKFLOW_SNAPSHOT as D, type EvalRow as E, TABLE_EVALS as F, TABLE_MESSAGES as G, TABLE_THREADS as H, TABLE_TRACES as I, TABLE_SCHEMAS as J, type VariableReference$1 as K, LegacyWorkflow as L, Mastra as M, type StepResult$1 as N, type StepAction as O, type PaginationInfo as P, type LegacyWorkflowRunResult as Q, type WorkflowOptions as R, type StepExecutionContext as S, type ToolsInput as T, type StepVariableType as U, type VercelTool as V, type WorkflowContext as W, type StepNode as X, type StepGraph as Y, type RetryConfig as Z, type BaseCondition as _, type MastraPrimitives as a, memoryDefaultOptions as a$, WhenConditionReturnValue as a0, type StepDef as a1, type StepCondition as a2, type StepConfig as a3, type StepsRecord$1 as a4, type WorkflowLogMessage as a5, type WorkflowEvent as a6, type ResolverFunctionInput as a7, type ResolverFunctionOutput as a8, type SubscriberFunctionOutput as a9, type EmbedResult as aA, type EmbedManyResult as aB, type BaseStructuredOutputType as aC, type StructuredOutputType as aD, type StructuredOutputArrayItem as aE, type StructuredOutput as aF, type GenerateReturn as aG, type StreamReturn as aH, type OutputType as aI, type DefaultLLMTextOptions as aJ, type DefaultLLMTextObjectOptions as aK, type DefaultLLMStreamOptions as aL, type DefaultLLMStreamObjectOptions as aM, type LLMTextOptions as aN, type LLMTextObjectOptions as aO, type LLMStreamOptions as aP, type LLMInnerStreamOptions as aQ, type LLMStreamObjectOptions as aR, createMockModel as aS, type Config as aT, type MessageType as aU, type MessageResponse as aV, type MemoryConfig as aW, type SharedMemoryConfig as aX, type TraceType as aY, type MemoryProcessorOpts as aZ, MemoryProcessor as a_, type DependencyCheckOutput as aa, type StepResolverOutput as ab, type WorkflowActors as ac, type WorkflowActionParams as ad, type WorkflowActions as ae, type LegacyWorkflowState as af, type StepId as ag, type ExtractSchemaFromStep$1 as ah, type ExtractStepResult as ai, type StepInputType as aj, type ExtractSchemaType$1 as ak, type PathsToStringProps$1 as al, type LegacyWorkflowRunState as am, type WorkflowResumeResult as an, Tool as ao, createTool as ap, type InternalCoreTool as aq, type ToolExecutionContext as ar, type AgentConfig as as, type WorkflowConfig as at, type LanguageModel as au, type CoreMessage as av, type CoreSystemMessage as aw, type CoreAssistantMessage as ax, type CoreUserMessage as ay, type CoreToolMessage as az, MastraMemory as b, type StepFlowEntry as b0, type SerializedStep as b1, type SerializedStepFlowEntry as b2, createStep as b3, cloneStep as b4, createWorkflow as b5, cloneWorkflow as b6, type WorkflowResult as b7, Run as b8, type ExecutionGraph as b9, type MCPServerSSEOptions as bA, type MCPServerHonoSSEOptions as bB, type MCPServerHTTPOptions as bC, type Repository as bD, type VersionDetail as bE, type ArgumentInfo as bF, type PositionalArgumentInfo as bG, type NamedArgumentInfo as bH, type SubcommandInfo as bI, type CommandInfo as bJ, type EnvironmentVariableInfo as bK, type PackageInfo as bL, type RemoteInfo as bM, type MCPServerConfig as bN, type ServerInfo as bO, type ServerDetailInfo as bP, type MCPToolType as bQ, MessageList as bR, type ToolsetsInput as bS, type DynamicArgument as bT, type AgentGenerateOptions as bU, type AgentStreamOptions as bV, type MastraMessageContentV2 as bW, ExecutionEngine as ba, type ExecuteFunction as bb, type StepSuccess as bc, type StepFailure as bd, type StepSuspended as be, type StepRunning as bf, type StepResult as bg, type StepsRecord as bh, type DynamicMapping as bi, type PathsToStringProps as bj, type ExtractSchemaType as bk, type ExtractSchemaFromStep as bl, type VariableReference as bm, type StreamEvent as bn, type WatchEvent as bo, type ZodPathType as bp, type WorkflowRunState as bq, type MastraLanguageModel as br, type VoiceEventType as bs, type VoiceEventMap as bt, type VoiceConfig as bu, MastraVoice as bv, CompositeVoice as bw, DefaultVoice as bx, type AgentNetworkConfig as by, type ConvertedTool as bz, type ToolAction as c, LegacyStep as d, Workflow as e, type Step as f, AgentNetwork as g, MCPServerBase as h, type Methods as i, type ApiRoute as j, type MastraAuthConfig as k, type ContextWithMastra as l, MastraAuthProvider as m, type MastraAuthProviderOptions as n, MastraStorage as o, type TABLE_NAMES as p, type StorageColumn as q, type StorageThreadType as r, type MastraMessageV2 as s, type StorageGetMessagesArg as t, type MastraMessageV1 as u, type WorkflowRuns as v, type WorkflowRun as w, type LegacyWorkflowRuns as x, type LegacyWorkflowRun as y, type PaginationArgs as z };
@@ -159,4 +159,4 @@ declare class MastraBase {
159
159
  } | undefined;
160
160
  }
161
161
 
162
- export { MastraBase as M, type OtelConfig as O, type SamplingStrategy as S, Telemetry as T, type Trace as a };
162
+ export { MastraBase as M, type OtelConfig as O, type SamplingStrategy as S, type Trace as T, Telemetry as a };
@@ -1,6 +1,6 @@
1
1
  import * as ai from 'ai';
2
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
- import { M as MastraBase, T as Telemetry, O as OtelConfig } from './base-Bi9KB0TN.js';
3
+ import { M as MastraBase, a as Telemetry, O as OtelConfig, T as Trace } from './base-BbdvunNJ.js';
4
4
  import { z, ZodSchema } from 'zod';
5
5
  import { B as BaseLogMessage, R as RegisteredLogger, I as IMastraLogger, a as LogLevel } from './logger-DtVDdb81.js';
6
6
  import { JSONSchema7Type, JSONSchema7 } from 'json-schema';
@@ -1613,6 +1613,16 @@ type EvalRow = {
1613
1613
  globalRunId: string;
1614
1614
  testInfo?: TestInfo;
1615
1615
  };
1616
+ type StorageGetTracesArg = {
1617
+ name?: string;
1618
+ scope?: string;
1619
+ page: number;
1620
+ perPage: number;
1621
+ attributes?: Record<string, string>;
1622
+ filters?: Record<string, any>;
1623
+ fromDate?: Date;
1624
+ toDate?: Date;
1625
+ };
1616
1626
 
1617
1627
  declare const TABLE_WORKFLOW_SNAPSHOT = "mastra_workflow_snapshot";
1618
1628
  declare const TABLE_EVALS = "mastra_evals";
@@ -3470,16 +3480,7 @@ declare abstract class MastraStorage extends MastraBase {
3470
3480
  messages: MastraMessageV2[];
3471
3481
  format: 'v2';
3472
3482
  }): Promise<MastraMessageV2[] | MastraMessageV1[]>;
3473
- abstract getTraces({ name, scope, page, perPage, attributes, filters, }: {
3474
- name?: string;
3475
- scope?: string;
3476
- page: number;
3477
- perPage: number;
3478
- attributes?: Record<string, string>;
3479
- filters?: Record<string, any>;
3480
- fromDate?: Date;
3481
- toDate?: Date;
3482
- }): Promise<any[]>;
3483
+ abstract getTraces(args: StorageGetTracesArg): Promise<any[]>;
3483
3484
  init(): Promise<void>;
3484
3485
  persistWorkflowSnapshot({ workflowName, runId, snapshot, }: {
3485
3486
  workflowName: string;
@@ -3503,6 +3504,21 @@ declare abstract class MastraStorage extends MastraBase {
3503
3504
  runId: string;
3504
3505
  workflowName?: string;
3505
3506
  }): Promise<WorkflowRun | null>;
3507
+ abstract getTracesPaginated(args: StorageGetTracesArg): Promise<PaginationInfo & {
3508
+ traces: Trace[];
3509
+ }>;
3510
+ abstract getThreadsByResourceIdPaginated(args: {
3511
+ resourceId: string;
3512
+ page: number;
3513
+ perPage: number;
3514
+ }): Promise<PaginationInfo & {
3515
+ threads: StorageThreadType[];
3516
+ }>;
3517
+ abstract getMessagesPaginated(args: StorageGetMessagesArg & {
3518
+ format?: 'v1' | 'v2';
3519
+ }): Promise<PaginationInfo & {
3520
+ messages: MastraMessageV1[] | MastraMessageV2[];
3521
+ }>;
3506
3522
  }
3507
3523
 
3508
- export { WhenConditionReturnValue as $, Agent as A, TABLE_WORKFLOW_SNAPSHOT as B, type CoreTool as C, TABLE_EVALS as D, type EvalRow as E, TABLE_MESSAGES as F, TABLE_THREADS as G, TABLE_TRACES as H, TABLE_SCHEMAS as I, type VariableReference$1 as J, type StepResult$1 as K, LegacyWorkflow as L, Mastra as M, type StepAction as N, type LegacyWorkflowRunResult as O, type PaginationArgs as P, type WorkflowOptions as Q, type StepVariableType as R, type StepExecutionContext as S, type ToolsInput as T, type StepNode as U, type VercelTool as V, type WorkflowContext as W, type StepGraph as X, type RetryConfig as Y, type BaseCondition as Z, type ActionContext as _, type MastraPrimitives as a, type StepFlowEntry as a$, type StepDef as a0, type StepCondition as a1, type StepConfig as a2, type StepsRecord$1 as a3, type WorkflowLogMessage as a4, type WorkflowEvent as a5, type ResolverFunctionInput as a6, type ResolverFunctionOutput as a7, type SubscriberFunctionOutput as a8, type DependencyCheckOutput as a9, type EmbedManyResult as aA, type BaseStructuredOutputType as aB, type StructuredOutputType as aC, type StructuredOutputArrayItem as aD, type StructuredOutput as aE, type GenerateReturn as aF, type StreamReturn as aG, type OutputType as aH, type DefaultLLMTextOptions as aI, type DefaultLLMTextObjectOptions as aJ, type DefaultLLMStreamOptions as aK, type DefaultLLMStreamObjectOptions as aL, type LLMTextOptions as aM, type LLMTextObjectOptions as aN, type LLMStreamOptions as aO, type LLMInnerStreamOptions as aP, type LLMStreamObjectOptions as aQ, createMockModel as aR, type Config as aS, type MessageType as aT, type MessageResponse as aU, type MemoryConfig as aV, type SharedMemoryConfig as aW, type TraceType as aX, type MemoryProcessorOpts as aY, MemoryProcessor as aZ, memoryDefaultOptions as a_, type StepResolverOutput as aa, type WorkflowActors as ab, type WorkflowActionParams as ac, type WorkflowActions as ad, type LegacyWorkflowState as ae, type StepId as af, type ExtractSchemaFromStep$1 as ag, type ExtractStepResult as ah, type StepInputType as ai, type ExtractSchemaType$1 as aj, type PathsToStringProps$1 as ak, type LegacyWorkflowRunState as al, type WorkflowResumeResult as am, Tool as an, createTool as ao, type InternalCoreTool as ap, type ToolExecutionContext as aq, type AgentConfig as ar, type WorkflowConfig as as, type LanguageModel as at, type CoreMessage as au, type CoreSystemMessage as av, type CoreAssistantMessage as aw, type CoreUserMessage as ax, type CoreToolMessage as ay, type EmbedResult as az, MastraMemory as b, type SerializedStep as b0, type SerializedStepFlowEntry as b1, createStep as b2, cloneStep as b3, createWorkflow as b4, cloneWorkflow as b5, type WorkflowResult as b6, Run as b7, type ExecutionGraph as b8, ExecutionEngine as b9, type MCPServerHonoSSEOptions as bA, type MCPServerHTTPOptions as bB, type Repository as bC, type VersionDetail as bD, type ArgumentInfo as bE, type PositionalArgumentInfo as bF, type NamedArgumentInfo as bG, type SubcommandInfo as bH, type CommandInfo as bI, type EnvironmentVariableInfo as bJ, type PackageInfo as bK, type RemoteInfo as bL, type MCPServerConfig as bM, type ServerInfo as bN, type ServerDetailInfo as bO, type MCPToolType as bP, MessageList as bQ, type ToolsetsInput as bR, type DynamicArgument as bS, type AgentGenerateOptions as bT, type AgentStreamOptions as bU, type MastraMessageContentV2 as bV, type ExecuteFunction as ba, type StepSuccess as bb, type StepFailure as bc, type StepSuspended as bd, type StepRunning as be, type StepResult as bf, type StepsRecord as bg, type DynamicMapping as bh, type PathsToStringProps as bi, type ExtractSchemaType as bj, type ExtractSchemaFromStep as bk, type VariableReference as bl, type StreamEvent as bm, type WatchEvent as bn, type ZodPathType as bo, type WorkflowRunState as bp, type MastraLanguageModel as bq, type VoiceEventType as br, type VoiceEventMap as bs, type VoiceConfig as bt, MastraVoice as bu, CompositeVoice as bv, DefaultVoice as bw, type AgentNetworkConfig as bx, type ConvertedTool as by, type MCPServerSSEOptions as bz, type ToolAction as c, LegacyStep as d, Workflow as e, type Step as f, AgentNetwork as g, MCPServerBase as h, type Methods as i, type ApiRoute as j, type MastraAuthConfig as k, type ContextWithMastra as l, MastraAuthProvider as m, type MastraAuthProviderOptions as n, MastraStorage as o, type TABLE_NAMES as p, type StorageColumn as q, type StorageThreadType as r, type MastraMessageV2 as s, type StorageGetMessagesArg as t, type MastraMessageV1 as u, type WorkflowRuns as v, type WorkflowRun as w, type LegacyWorkflowRuns as x, type LegacyWorkflowRun as y, type PaginationInfo as z };
3524
+ export { type ActionContext as $, Agent as A, type StorageGetTracesArg as B, type CoreTool as C, TABLE_WORKFLOW_SNAPSHOT as D, type EvalRow as E, TABLE_EVALS as F, TABLE_MESSAGES as G, TABLE_THREADS as H, TABLE_TRACES as I, TABLE_SCHEMAS as J, type VariableReference$1 as K, LegacyWorkflow as L, Mastra as M, type StepResult$1 as N, type StepAction as O, type PaginationInfo as P, type LegacyWorkflowRunResult as Q, type WorkflowOptions as R, type StepExecutionContext as S, type ToolsInput as T, type StepVariableType as U, type VercelTool as V, type WorkflowContext as W, type StepNode as X, type StepGraph as Y, type RetryConfig as Z, type BaseCondition as _, type MastraPrimitives as a, memoryDefaultOptions as a$, WhenConditionReturnValue as a0, type StepDef as a1, type StepCondition as a2, type StepConfig as a3, type StepsRecord$1 as a4, type WorkflowLogMessage as a5, type WorkflowEvent as a6, type ResolverFunctionInput as a7, type ResolverFunctionOutput as a8, type SubscriberFunctionOutput as a9, type EmbedResult as aA, type EmbedManyResult as aB, type BaseStructuredOutputType as aC, type StructuredOutputType as aD, type StructuredOutputArrayItem as aE, type StructuredOutput as aF, type GenerateReturn as aG, type StreamReturn as aH, type OutputType as aI, type DefaultLLMTextOptions as aJ, type DefaultLLMTextObjectOptions as aK, type DefaultLLMStreamOptions as aL, type DefaultLLMStreamObjectOptions as aM, type LLMTextOptions as aN, type LLMTextObjectOptions as aO, type LLMStreamOptions as aP, type LLMInnerStreamOptions as aQ, type LLMStreamObjectOptions as aR, createMockModel as aS, type Config as aT, type MessageType as aU, type MessageResponse as aV, type MemoryConfig as aW, type SharedMemoryConfig as aX, type TraceType as aY, type MemoryProcessorOpts as aZ, MemoryProcessor as a_, type DependencyCheckOutput as aa, type StepResolverOutput as ab, type WorkflowActors as ac, type WorkflowActionParams as ad, type WorkflowActions as ae, type LegacyWorkflowState as af, type StepId as ag, type ExtractSchemaFromStep$1 as ah, type ExtractStepResult as ai, type StepInputType as aj, type ExtractSchemaType$1 as ak, type PathsToStringProps$1 as al, type LegacyWorkflowRunState as am, type WorkflowResumeResult as an, Tool as ao, createTool as ap, type InternalCoreTool as aq, type ToolExecutionContext as ar, type AgentConfig as as, type WorkflowConfig as at, type LanguageModel as au, type CoreMessage as av, type CoreSystemMessage as aw, type CoreAssistantMessage as ax, type CoreUserMessage as ay, type CoreToolMessage as az, MastraMemory as b, type StepFlowEntry as b0, type SerializedStep as b1, type SerializedStepFlowEntry as b2, createStep as b3, cloneStep as b4, createWorkflow as b5, cloneWorkflow as b6, type WorkflowResult as b7, Run as b8, type ExecutionGraph as b9, type MCPServerSSEOptions as bA, type MCPServerHonoSSEOptions as bB, type MCPServerHTTPOptions as bC, type Repository as bD, type VersionDetail as bE, type ArgumentInfo as bF, type PositionalArgumentInfo as bG, type NamedArgumentInfo as bH, type SubcommandInfo as bI, type CommandInfo as bJ, type EnvironmentVariableInfo as bK, type PackageInfo as bL, type RemoteInfo as bM, type MCPServerConfig as bN, type ServerInfo as bO, type ServerDetailInfo as bP, type MCPToolType as bQ, MessageList as bR, type ToolsetsInput as bS, type DynamicArgument as bT, type AgentGenerateOptions as bU, type AgentStreamOptions as bV, type MastraMessageContentV2 as bW, ExecutionEngine as ba, type ExecuteFunction as bb, type StepSuccess as bc, type StepFailure as bd, type StepSuspended as be, type StepRunning as bf, type StepResult as bg, type StepsRecord as bh, type DynamicMapping as bi, type PathsToStringProps as bj, type ExtractSchemaType as bk, type ExtractSchemaFromStep as bl, type VariableReference as bm, type StreamEvent as bn, type WatchEvent as bo, type ZodPathType as bp, type WorkflowRunState as bq, type MastraLanguageModel as br, type VoiceEventType as bs, type VoiceEventMap as bt, type VoiceConfig as bu, MastraVoice as bv, CompositeVoice as bw, DefaultVoice as bx, type AgentNetworkConfig as by, type ConvertedTool as bz, type ToolAction as c, LegacyStep as d, Workflow as e, type Step as f, AgentNetwork as g, MCPServerBase as h, type Methods as i, type ApiRoute as j, type MastraAuthConfig as k, type ContextWithMastra as l, MastraAuthProvider as m, type MastraAuthProviderOptions as n, MastraStorage as o, type TABLE_NAMES as p, type StorageColumn as q, type StorageThreadType as r, type MastraMessageV2 as s, type StorageGetMessagesArg as t, type MastraMessageV1 as u, type WorkflowRuns as v, type WorkflowRun as w, type LegacyWorkflowRuns as x, type LegacyWorkflowRun as y, type PaginationArgs as z };
package/dist/base.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import '@opentelemetry/api';
2
2
  import './logger-CpL0z5v_.cjs';
3
- export { M as MastraBase } from './base-CO-L7hF9.cjs';
3
+ export { M as MastraBase } from './base-DVVTzIQy.cjs';
4
4
  import './error/index.cjs';
5
5
  import 'stream';
6
6
  import '@opentelemetry/sdk-trace-base';
package/dist/base.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import '@opentelemetry/api';
2
2
  import './logger-DtVDdb81.js';
3
- export { M as MastraBase } from './base-Bi9KB0TN.js';
3
+ export { M as MastraBase } from './base-BbdvunNJ.js';
4
4
  import './error/index.js';
5
5
  import 'stream';
6
6
  import '@opentelemetry/sdk-trace-base';
@@ -1,4 +1,4 @@
1
- import { M as MastraBase } from '../base-CO-L7hF9.cjs';
1
+ import { M as MastraBase } from '../base-DVVTzIQy.cjs';
2
2
  import '@opentelemetry/api';
3
3
  import '../logger-CpL0z5v_.cjs';
4
4
  import '../error/index.cjs';
@@ -1,4 +1,4 @@
1
- import { M as MastraBase } from '../base-Bi9KB0TN.js';
1
+ import { M as MastraBase } from '../base-BbdvunNJ.js';
2
2
  import '@opentelemetry/api';
3
3
  import '../logger-DtVDdb81.js';
4
4
  import '../error/index.js';
@@ -1,5 +1,5 @@
1
1
  import { MastraBundler, IBundler } from '../bundler/index.cjs';
2
- import '../base-CO-L7hF9.cjs';
2
+ import '../base-DVVTzIQy.cjs';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-CpL0z5v_.cjs';
5
5
  import '../error/index.cjs';
@@ -1,5 +1,5 @@
1
1
  import { MastraBundler, IBundler } from '../bundler/index.js';
2
- import '../base-Bi9KB0TN.js';
2
+ import '../base-BbdvunNJ.js';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-DtVDdb81.js';
5
5
  import '../error/index.js';
@@ -1,8 +1,8 @@
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 { A as Agent } from '../base-SdLa5kEB.cjs';
3
+ import { A as Agent } from '../base-Bdc5hWla.cjs';
4
4
  import 'ai';
5
- import '../base-CO-L7hF9.cjs';
5
+ import '../base-DVVTzIQy.cjs';
6
6
  import '@opentelemetry/api';
7
7
  import '../logger-CpL0z5v_.cjs';
8
8
  import '../error/index.cjs';
@@ -1,8 +1,8 @@
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 { A as Agent } from '../base-CKzmjMsr.js';
3
+ import { A as Agent } from '../base-icHjkcs-.js';
4
4
  import 'ai';
5
- import '../base-Bi9KB0TN.js';
5
+ import '../base-BbdvunNJ.js';
6
6
  import '@opentelemetry/api';
7
7
  import '../logger-DtVDdb81.js';
8
8
  import '../error/index.js';
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
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 { c as ToolAction, A as Agent$1, ar as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, aq as ToolExecutionContext, an as Tool$1, f as Step, e as Workflow$1, as as WorkflowConfig } from './base-SdLa5kEB.cjs';
4
- export { aB as BaseStructuredOutputType, aS as Config, aw as CoreAssistantMessage, au as CoreMessage, av as CoreSystemMessage, C as CoreTool, ay as CoreToolMessage, ax as CoreUserMessage, aL as DefaultLLMStreamObjectOptions, aK as DefaultLLMStreamOptions, aJ as DefaultLLMTextObjectOptions, aI as DefaultLLMTextOptions, bh as DynamicMapping, aA as EmbedManyResult, az as EmbedResult, E as EvalRow, ba as ExecuteFunction, b9 as ExecutionEngine, b8 as ExecutionGraph, bk as ExtractSchemaFromStep, bj as ExtractSchemaType, aF as GenerateReturn, ap as InternalCoreTool, aP as LLMInnerStreamOptions, aQ as LLMStreamObjectOptions, aO as LLMStreamOptions, aN as LLMTextObjectOptions, aM as LLMTextOptions, at as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aV as MemoryConfig, aZ as MemoryProcessor, aY as MemoryProcessorOpts, aU as MessageResponse, aT as MessageType, aH as OutputType, P as PaginationArgs, z as PaginationInfo, bi as PathsToStringProps, b7 as Run, b0 as SerializedStep, b1 as SerializedStepFlowEntry, aW as SharedMemoryConfig, bc as StepFailure, a$ as StepFlowEntry, bf as StepResult, be as StepRunning, bb as StepSuccess, bd as StepSuspended, bg as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bm as StreamEvent, aG as StreamReturn, aE as StructuredOutput, aD as StructuredOutputArrayItem, aC as StructuredOutputType, aX as TraceType, bl as VariableReference, V as VercelTool, bn as WatchEvent, b6 as WorkflowResult, w as WorkflowRun, bp as WorkflowRunState, v as WorkflowRuns, bo as ZodPathType, b3 as cloneStep, b5 as cloneWorkflow, aR as createMockModel, b2 as createStep, ao as createTool, b4 as createWorkflow, a_ as memoryDefaultOptions } from './base-SdLa5kEB.cjs';
5
- import { M as MastraBase$1 } from './base-CO-L7hF9.cjs';
6
- export { O as OtelConfig, S as SamplingStrategy, T as Telemetry, a as Trace } from './base-CO-L7hF9.cjs';
3
+ import { c as ToolAction, A as Agent$1, as as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ar as ToolExecutionContext, ao as Tool$1, f as Step, e as Workflow$1, at as WorkflowConfig } from './base-Bdc5hWla.cjs';
4
+ export { aC as BaseStructuredOutputType, aT as Config, ax as CoreAssistantMessage, av as CoreMessage, aw as CoreSystemMessage, C as CoreTool, az as CoreToolMessage, ay as CoreUserMessage, aM as DefaultLLMStreamObjectOptions, aL as DefaultLLMStreamOptions, aK as DefaultLLMTextObjectOptions, aJ as DefaultLLMTextOptions, bi as DynamicMapping, aB as EmbedManyResult, aA as EmbedResult, E as EvalRow, bb as ExecuteFunction, ba as ExecutionEngine, b9 as ExecutionGraph, bl as ExtractSchemaFromStep, bk as ExtractSchemaType, aG as GenerateReturn, aq as InternalCoreTool, aQ as LLMInnerStreamOptions, aR as LLMStreamObjectOptions, aP as LLMStreamOptions, aO as LLMTextObjectOptions, aN as LLMTextOptions, au as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aW as MemoryConfig, a_ as MemoryProcessor, aZ as MemoryProcessorOpts, aV as MessageResponse, aU as MessageType, aI as OutputType, z as PaginationArgs, P as PaginationInfo, bj as PathsToStringProps, b8 as Run, b1 as SerializedStep, b2 as SerializedStepFlowEntry, aX as SharedMemoryConfig, bd as StepFailure, b0 as StepFlowEntry, bg as StepResult, bf as StepRunning, bc as StepSuccess, be as StepSuspended, bh as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, B as StorageGetTracesArg, r as StorageThreadType, bn as StreamEvent, aH as StreamReturn, aF as StructuredOutput, aE as StructuredOutputArrayItem, aD as StructuredOutputType, aY as TraceType, bm as VariableReference, V as VercelTool, bo as WatchEvent, b7 as WorkflowResult, w as WorkflowRun, bq as WorkflowRunState, v as WorkflowRuns, bp as ZodPathType, b4 as cloneStep, b6 as cloneWorkflow, aS as createMockModel, b3 as createStep, ap as createTool, b5 as createWorkflow, a$ as memoryDefaultOptions } from './base-Bdc5hWla.cjs';
5
+ import { M as MastraBase$1 } from './base-DVVTzIQy.cjs';
6
+ export { O as OtelConfig, S as SamplingStrategy, a as Telemetry, T as Trace } from './base-DVVTzIQy.cjs';
7
7
  import { R as RegisteredLogger } from './logger-CpL0z5v_.cjs';
8
8
  import { MastraDeployer as MastraDeployer$1 } from './deployer/index.cjs';
9
9
  export { evaluate } from './eval/index.cjs';
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
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 { c as ToolAction, A as Agent$1, ar as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, aq as ToolExecutionContext, an as Tool$1, f as Step, e as Workflow$1, as as WorkflowConfig } from './base-CKzmjMsr.js';
4
- export { aB as BaseStructuredOutputType, aS as Config, aw as CoreAssistantMessage, au as CoreMessage, av as CoreSystemMessage, C as CoreTool, ay as CoreToolMessage, ax as CoreUserMessage, aL as DefaultLLMStreamObjectOptions, aK as DefaultLLMStreamOptions, aJ as DefaultLLMTextObjectOptions, aI as DefaultLLMTextOptions, bh as DynamicMapping, aA as EmbedManyResult, az as EmbedResult, E as EvalRow, ba as ExecuteFunction, b9 as ExecutionEngine, b8 as ExecutionGraph, bk as ExtractSchemaFromStep, bj as ExtractSchemaType, aF as GenerateReturn, ap as InternalCoreTool, aP as LLMInnerStreamOptions, aQ as LLMStreamObjectOptions, aO as LLMStreamOptions, aN as LLMTextObjectOptions, aM as LLMTextOptions, at as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aV as MemoryConfig, aZ as MemoryProcessor, aY as MemoryProcessorOpts, aU as MessageResponse, aT as MessageType, aH as OutputType, P as PaginationArgs, z as PaginationInfo, bi as PathsToStringProps, b7 as Run, b0 as SerializedStep, b1 as SerializedStepFlowEntry, aW as SharedMemoryConfig, bc as StepFailure, a$ as StepFlowEntry, bf as StepResult, be as StepRunning, bb as StepSuccess, bd as StepSuspended, bg as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, r as StorageThreadType, bm as StreamEvent, aG as StreamReturn, aE as StructuredOutput, aD as StructuredOutputArrayItem, aC as StructuredOutputType, aX as TraceType, bl as VariableReference, V as VercelTool, bn as WatchEvent, b6 as WorkflowResult, w as WorkflowRun, bp as WorkflowRunState, v as WorkflowRuns, bo as ZodPathType, b3 as cloneStep, b5 as cloneWorkflow, aR as createMockModel, b2 as createStep, ao as createTool, b4 as createWorkflow, a_ as memoryDefaultOptions } from './base-CKzmjMsr.js';
5
- import { M as MastraBase$1 } from './base-Bi9KB0TN.js';
6
- export { O as OtelConfig, S as SamplingStrategy, T as Telemetry, a as Trace } from './base-Bi9KB0TN.js';
3
+ import { c as ToolAction, A as Agent$1, as as AgentConfig, o as MastraStorage$1, b as MastraMemory$1, ar as ToolExecutionContext, ao as Tool$1, f as Step, e as Workflow$1, at as WorkflowConfig } from './base-icHjkcs-.js';
4
+ export { aC as BaseStructuredOutputType, aT as Config, ax as CoreAssistantMessage, av as CoreMessage, aw as CoreSystemMessage, C as CoreTool, az as CoreToolMessage, ay as CoreUserMessage, aM as DefaultLLMStreamObjectOptions, aL as DefaultLLMStreamOptions, aK as DefaultLLMTextObjectOptions, aJ as DefaultLLMTextOptions, bi as DynamicMapping, aB as EmbedManyResult, aA as EmbedResult, E as EvalRow, bb as ExecuteFunction, ba as ExecutionEngine, b9 as ExecutionGraph, bl as ExtractSchemaFromStep, bk as ExtractSchemaType, aG as GenerateReturn, aq as InternalCoreTool, aQ as LLMInnerStreamOptions, aR as LLMStreamObjectOptions, aP as LLMStreamOptions, aO as LLMTextObjectOptions, aN as LLMTextOptions, au as LanguageModel, y as LegacyWorkflowRun, x as LegacyWorkflowRuns, M as Mastra, u as MastraMessageV1, s as MastraMessageV2, aW as MemoryConfig, a_ as MemoryProcessor, aZ as MemoryProcessorOpts, aV as MessageResponse, aU as MessageType, aI as OutputType, z as PaginationArgs, P as PaginationInfo, bj as PathsToStringProps, b8 as Run, b1 as SerializedStep, b2 as SerializedStepFlowEntry, aX as SharedMemoryConfig, bd as StepFailure, b0 as StepFlowEntry, bg as StepResult, bf as StepRunning, bc as StepSuccess, be as StepSuspended, bh as StepsRecord, q as StorageColumn, t as StorageGetMessagesArg, B as StorageGetTracesArg, r as StorageThreadType, bn as StreamEvent, aH as StreamReturn, aF as StructuredOutput, aE as StructuredOutputArrayItem, aD as StructuredOutputType, aY as TraceType, bm as VariableReference, V as VercelTool, bo as WatchEvent, b7 as WorkflowResult, w as WorkflowRun, bq as WorkflowRunState, v as WorkflowRuns, bp as ZodPathType, b4 as cloneStep, b6 as cloneWorkflow, aS as createMockModel, b3 as createStep, ap as createTool, b5 as createWorkflow, a$ as memoryDefaultOptions } from './base-icHjkcs-.js';
5
+ import { M as MastraBase$1 } from './base-BbdvunNJ.js';
6
+ export { O as OtelConfig, S as SamplingStrategy, a as Telemetry, T as Trace } from './base-BbdvunNJ.js';
7
7
  import { R as RegisteredLogger } from './logger-DtVDdb81.js';
8
8
  import { MastraDeployer as MastraDeployer$1 } from './deployer/index.js';
9
9
  export { evaluate } from './eval/index.js';
@@ -1,5 +1,5 @@
1
- import '../base-CO-L7hF9.cjs';
2
- import { e as Workflow, c as ToolAction } from '../base-SdLa5kEB.cjs';
1
+ import '../base-DVVTzIQy.cjs';
2
+ import { e as Workflow, c as ToolAction } from '../base-Bdc5hWla.cjs';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-CpL0z5v_.cjs';
5
5
  import '../error/index.cjs';
@@ -1,5 +1,5 @@
1
- import '../base-Bi9KB0TN.js';
2
- import { e as Workflow, c as ToolAction } from '../base-CKzmjMsr.js';
1
+ import '../base-BbdvunNJ.js';
2
+ import { e as Workflow, c as ToolAction } from '../base-icHjkcs-.js';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-DtVDdb81.js';
5
5
  import '../error/index.js';
@@ -1,9 +1,9 @@
1
1
  import 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { aB as BaseStructuredOutputType, aw as CoreAssistantMessage, au as CoreMessage, av as CoreSystemMessage, ay as CoreToolMessage, ax as CoreUserMessage, aL as DefaultLLMStreamObjectOptions, aK as DefaultLLMStreamOptions, aJ as DefaultLLMTextObjectOptions, aI as DefaultLLMTextOptions, aA as EmbedManyResult, az as EmbedResult, aF as GenerateReturn, aP as LLMInnerStreamOptions, aQ as LLMStreamObjectOptions, aO as LLMStreamOptions, aN as LLMTextObjectOptions, aM as LLMTextOptions, at as LanguageModel, aH as OutputType, aG as StreamReturn, aE as StructuredOutput, aD as StructuredOutputArrayItem, aC as StructuredOutputType, aR as createMockModel } from '../base-SdLa5kEB.cjs';
4
+ export { aC as BaseStructuredOutputType, ax as CoreAssistantMessage, av as CoreMessage, aw as CoreSystemMessage, az as CoreToolMessage, ay as CoreUserMessage, aM as DefaultLLMStreamObjectOptions, aL as DefaultLLMStreamOptions, aK as DefaultLLMTextObjectOptions, aJ as DefaultLLMTextOptions, aB as EmbedManyResult, aA as EmbedResult, aG as GenerateReturn, aQ as LLMInnerStreamOptions, aR as LLMStreamObjectOptions, aP as LLMStreamOptions, aO as LLMTextObjectOptions, aN as LLMTextOptions, au as LanguageModel, aI as OutputType, aH as StreamReturn, aF as StructuredOutput, aE as StructuredOutputArrayItem, aD as StructuredOutputType, aS as createMockModel } from '../base-Bdc5hWla.cjs';
5
5
  import '../runtime-context/index.cjs';
6
- import '../base-CO-L7hF9.cjs';
6
+ import '../base-DVVTzIQy.cjs';
7
7
  import '@opentelemetry/api';
8
8
  import '../logger-CpL0z5v_.cjs';
9
9
  import '../error/index.cjs';
@@ -1,9 +1,9 @@
1
1
  import 'ai';
2
2
  import 'json-schema';
3
3
  import 'zod';
4
- export { aB as BaseStructuredOutputType, aw as CoreAssistantMessage, au as CoreMessage, av as CoreSystemMessage, ay as CoreToolMessage, ax as CoreUserMessage, aL as DefaultLLMStreamObjectOptions, aK as DefaultLLMStreamOptions, aJ as DefaultLLMTextObjectOptions, aI as DefaultLLMTextOptions, aA as EmbedManyResult, az as EmbedResult, aF as GenerateReturn, aP as LLMInnerStreamOptions, aQ as LLMStreamObjectOptions, aO as LLMStreamOptions, aN as LLMTextObjectOptions, aM as LLMTextOptions, at as LanguageModel, aH as OutputType, aG as StreamReturn, aE as StructuredOutput, aD as StructuredOutputArrayItem, aC as StructuredOutputType, aR as createMockModel } from '../base-CKzmjMsr.js';
4
+ export { aC as BaseStructuredOutputType, ax as CoreAssistantMessage, av as CoreMessage, aw as CoreSystemMessage, az as CoreToolMessage, ay as CoreUserMessage, aM as DefaultLLMStreamObjectOptions, aL as DefaultLLMStreamOptions, aK as DefaultLLMTextObjectOptions, aJ as DefaultLLMTextOptions, aB as EmbedManyResult, aA as EmbedResult, aG as GenerateReturn, aQ as LLMInnerStreamOptions, aR as LLMStreamObjectOptions, aP as LLMStreamOptions, aO as LLMTextObjectOptions, aN as LLMTextOptions, au as LanguageModel, aI as OutputType, aH as StreamReturn, aF as StructuredOutput, aE as StructuredOutputArrayItem, aD as StructuredOutputType, aS as createMockModel } from '../base-icHjkcs-.js';
5
5
  import '../runtime-context/index.js';
6
- import '../base-Bi9KB0TN.js';
6
+ import '../base-BbdvunNJ.js';
7
7
  import '@opentelemetry/api';
8
8
  import '../logger-DtVDdb81.js';
9
9
  import '../error/index.js';
@@ -1,8 +1,8 @@
1
1
  import '../logger-CpL0z5v_.cjs';
2
- export { aS as Config, M as Mastra } from '../base-SdLa5kEB.cjs';
2
+ export { aT as Config, M as Mastra } from '../base-Bdc5hWla.cjs';
3
3
  import '../deployer/index.cjs';
4
4
  import '../vector/index.cjs';
5
- import '../base-CO-L7hF9.cjs';
5
+ import '../base-DVVTzIQy.cjs';
6
6
  import '../tts/index.cjs';
7
7
  import '../error/index.cjs';
8
8
  import 'stream';
@@ -1,8 +1,8 @@
1
1
  import '../logger-DtVDdb81.js';
2
- export { aS as Config, M as Mastra } from '../base-CKzmjMsr.js';
2
+ export { aT as Config, M as Mastra } from '../base-icHjkcs-.js';
3
3
  import '../deployer/index.js';
4
4
  import '../vector/index.js';
5
- import '../base-Bi9KB0TN.js';
5
+ import '../base-BbdvunNJ.js';
6
6
  import '../tts/index.js';
7
7
  import '../error/index.js';
8
8
  import 'stream';
@@ -1,5 +1,5 @@
1
- export { bE as ArgumentInfo, bI as CommandInfo, by as ConvertedTool, bJ as EnvironmentVariableInfo, h as MCPServerBase, bM as MCPServerConfig, bB as MCPServerHTTPOptions, bA as MCPServerHonoSSEOptions, bz as MCPServerSSEOptions, bP as MCPToolType, bG as NamedArgumentInfo, bK as PackageInfo, bF as PositionalArgumentInfo, bL as RemoteInfo, bC as Repository, bO as ServerDetailInfo, bN as ServerInfo, bH as SubcommandInfo, bD as VersionDetail } from '../base-SdLa5kEB.cjs';
2
- import '../base-CO-L7hF9.cjs';
1
+ export { bF as ArgumentInfo, bJ as CommandInfo, bz as ConvertedTool, bK as EnvironmentVariableInfo, h as MCPServerBase, bN as MCPServerConfig, bC as MCPServerHTTPOptions, bB as MCPServerHonoSSEOptions, bA as MCPServerSSEOptions, bQ as MCPToolType, bH as NamedArgumentInfo, bL as PackageInfo, bG as PositionalArgumentInfo, bM as RemoteInfo, bD as Repository, bP as ServerDetailInfo, bO as ServerInfo, bI as SubcommandInfo, bE as VersionDetail } from '../base-Bdc5hWla.cjs';
2
+ import '../base-DVVTzIQy.cjs';
3
3
  import 'ai';
4
4
  import 'zod';
5
5
  import '../logger-CpL0z5v_.cjs';
@@ -1,5 +1,5 @@
1
- export { bE as ArgumentInfo, bI as CommandInfo, by as ConvertedTool, bJ as EnvironmentVariableInfo, h as MCPServerBase, bM as MCPServerConfig, bB as MCPServerHTTPOptions, bA as MCPServerHonoSSEOptions, bz as MCPServerSSEOptions, bP as MCPToolType, bG as NamedArgumentInfo, bK as PackageInfo, bF as PositionalArgumentInfo, bL as RemoteInfo, bC as Repository, bO as ServerDetailInfo, bN as ServerInfo, bH as SubcommandInfo, bD as VersionDetail } from '../base-CKzmjMsr.js';
2
- import '../base-Bi9KB0TN.js';
1
+ export { bF as ArgumentInfo, bJ as CommandInfo, bz as ConvertedTool, bK as EnvironmentVariableInfo, h as MCPServerBase, bN as MCPServerConfig, bC as MCPServerHTTPOptions, bB as MCPServerHonoSSEOptions, bA as MCPServerSSEOptions, bQ as MCPToolType, bH as NamedArgumentInfo, bL as PackageInfo, bG as PositionalArgumentInfo, bM as RemoteInfo, bD as Repository, bP as ServerDetailInfo, bO as ServerInfo, bI as SubcommandInfo, bE as VersionDetail } from '../base-icHjkcs-.js';
2
+ import '../base-BbdvunNJ.js';
3
3
  import 'ai';
4
4
  import 'zod';
5
5
  import '../logger-DtVDdb81.js';
@@ -1,6 +1,6 @@
1
- export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aV as MemoryConfig, aZ as MemoryProcessor, aY as MemoryProcessorOpts, aU as MessageResponse, aT as MessageType, aW as SharedMemoryConfig, r as StorageThreadType, aX as TraceType, a_ as memoryDefaultOptions } from '../base-SdLa5kEB.cjs';
1
+ export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aW as MemoryConfig, a_ as MemoryProcessor, aZ as MemoryProcessorOpts, aV as MessageResponse, aU as MessageType, aX as SharedMemoryConfig, r as StorageThreadType, aY as TraceType, a$ as memoryDefaultOptions } from '../base-Bdc5hWla.cjs';
2
2
  export { Message as AiMessageType } from 'ai';
3
- import '../base-CO-L7hF9.cjs';
3
+ import '../base-DVVTzIQy.cjs';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-CpL0z5v_.cjs';
6
6
  import '../error/index.cjs';
@@ -1,6 +1,6 @@
1
- export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aV as MemoryConfig, aZ as MemoryProcessor, aY as MemoryProcessorOpts, aU as MessageResponse, aT as MessageType, aW as SharedMemoryConfig, r as StorageThreadType, aX as TraceType, a_ as memoryDefaultOptions } from '../base-CKzmjMsr.js';
1
+ export { b as MastraMemory, u as MastraMessageV1, s as MastraMessageV2, aW as MemoryConfig, a_ as MemoryProcessor, aZ as MemoryProcessorOpts, aV as MessageResponse, aU as MessageType, aX as SharedMemoryConfig, r as StorageThreadType, aY as TraceType, a$ as memoryDefaultOptions } from '../base-icHjkcs-.js';
2
2
  export { Message as AiMessageType } from 'ai';
3
- import '../base-Bi9KB0TN.js';
3
+ import '../base-BbdvunNJ.js';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-DtVDdb81.js';
6
6
  import '../error/index.js';
@@ -1,6 +1,6 @@
1
- export { g as AgentNetwork, bx as AgentNetworkConfig } from '../base-SdLa5kEB.cjs';
1
+ export { g as AgentNetwork, by as AgentNetworkConfig } from '../base-Bdc5hWla.cjs';
2
2
  import 'ai';
3
- import '../base-CO-L7hF9.cjs';
3
+ import '../base-DVVTzIQy.cjs';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-CpL0z5v_.cjs';
6
6
  import '../error/index.cjs';
@@ -1,6 +1,6 @@
1
- export { g as AgentNetwork, bx as AgentNetworkConfig } from '../base-CKzmjMsr.js';
1
+ export { g as AgentNetwork, by as AgentNetworkConfig } from '../base-icHjkcs-.js';
2
2
  import 'ai';
3
- import '../base-Bi9KB0TN.js';
3
+ import '../base-BbdvunNJ.js';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-DtVDdb81.js';
6
6
  import '../error/index.js';
@@ -1,5 +1,5 @@
1
- import { bq as MastraLanguageModel } from '../base-SdLa5kEB.cjs';
2
- import '../base-CO-L7hF9.cjs';
1
+ import { br as MastraLanguageModel } from '../base-Bdc5hWla.cjs';
2
+ import '../base-DVVTzIQy.cjs';
3
3
  import 'ai';
4
4
  import 'zod';
5
5
  import '../logger-CpL0z5v_.cjs';
@@ -1,5 +1,5 @@
1
- import { bq as MastraLanguageModel } from '../base-CKzmjMsr.js';
2
- import '../base-Bi9KB0TN.js';
1
+ import { br as MastraLanguageModel } from '../base-icHjkcs-.js';
2
+ import '../base-BbdvunNJ.js';
3
3
  import 'ai';
4
4
  import 'zod';
5
5
  import '../logger-DtVDdb81.js';
@@ -1,9 +1,9 @@
1
1
  import { Handler, Context, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-SdLa5kEB.cjs';
4
- export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-SdLa5kEB.cjs';
3
+ import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-Bdc5hWla.cjs';
4
+ export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-Bdc5hWla.cjs';
5
5
  import 'ai';
6
- import '../base-CO-L7hF9.cjs';
6
+ import '../base-DVVTzIQy.cjs';
7
7
  import '@opentelemetry/api';
8
8
  import '../logger-CpL0z5v_.cjs';
9
9
  import '../error/index.cjs';
@@ -1,9 +1,9 @@
1
1
  import { Handler, Context, MiddlewareHandler } from 'hono';
2
2
  import { DescribeRouteOptions } from 'hono-openapi';
3
- import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-CKzmjMsr.js';
4
- export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-CKzmjMsr.js';
3
+ import { i as Methods, M as Mastra, j as ApiRoute, k as MastraAuthConfig } from '../base-icHjkcs-.js';
4
+ export { l as ContextWithMastra, m as MastraAuthProvider, n as MastraAuthProviderOptions } from '../base-icHjkcs-.js';
5
5
  import 'ai';
6
- import '../base-Bi9KB0TN.js';
6
+ import '../base-BbdvunNJ.js';
7
7
  import '@opentelemetry/api';
8
8
  import '../logger-DtVDdb81.js';
9
9
  import '../error/index.js';
@@ -191,6 +191,69 @@ var MockStore = class extends chunkZKUUYDOQ_cjs.MastraStorage {
191
191
  };
192
192
  return parsedRun;
193
193
  }
194
+ async getTracesPaginated({
195
+ name,
196
+ scope,
197
+ attributes,
198
+ page,
199
+ perPage,
200
+ fromDate,
201
+ toDate
202
+ }) {
203
+ this.logger.debug(`MockStore: getTracesPaginated called`);
204
+ let traces = Object.values(this.data.mastra_traces);
205
+ if (name) traces = traces.filter((t) => t.name?.startsWith(name));
206
+ if (scope) traces = traces.filter((t) => t.scope === scope);
207
+ if (attributes) {
208
+ traces = traces.filter(
209
+ (t) => Object.entries(attributes).every(([key, value]) => t.attributes?.[key] === value)
210
+ );
211
+ }
212
+ if (fromDate) traces = traces.filter((t) => new Date(t.createdAt) >= fromDate);
213
+ if (toDate) traces = traces.filter((t) => new Date(t.createdAt) <= toDate);
214
+ traces.sort((a, b) => new Date(b.startTime).getTime() - new Date(a.startTime).getTime());
215
+ const start = page * perPage;
216
+ const end = start + perPage;
217
+ return {
218
+ traces: traces.slice(start, end),
219
+ total: traces.length,
220
+ page,
221
+ perPage,
222
+ hasMore: traces.length > end
223
+ };
224
+ }
225
+ async getThreadsByResourceIdPaginated(args) {
226
+ this.logger.debug(`MockStore: getThreadsByResourceIdPaginated called for ${args.resourceId}`);
227
+ const threads = Object.values(this.data.mastra_threads).filter((t) => t.resourceId === args.resourceId);
228
+ return {
229
+ threads: threads.slice(args.page * args.perPage, (args.page + 1) * args.perPage),
230
+ total: threads.length,
231
+ page: args.page,
232
+ perPage: args.perPage,
233
+ hasMore: threads.length > (args.page + 1) * args.perPage
234
+ };
235
+ }
236
+ async getMessagesPaginated({
237
+ threadId,
238
+ selectBy
239
+ }) {
240
+ this.logger.debug(`MockStore: getMessagesPaginated called for thread ${threadId}`);
241
+ const { page = 0, perPage = 40 } = selectBy?.pagination || {};
242
+ let messages = Object.values(this.data.mastra_messages).filter((msg) => msg.threadId === threadId);
243
+ if (selectBy?.last) {
244
+ messages = messages.slice(-selectBy.last);
245
+ }
246
+ messages.sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime());
247
+ const start = page * perPage;
248
+ const end = start + perPage;
249
+ return {
250
+ messages: messages.slice(start, end),
251
+ total: messages.length,
252
+ page,
253
+ perPage,
254
+ hasMore: messages.length > end
255
+ };
256
+ }
194
257
  };
195
258
 
196
259
  Object.defineProperty(exports, "MastraStorage", {
@@ -1,6 +1,6 @@
1
- import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-SdLa5kEB.cjs';
2
- export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, P as PaginationArgs, z as PaginationInfo, D as TABLE_EVALS, F as TABLE_MESSAGES, I as TABLE_SCHEMAS, G as TABLE_THREADS, H as TABLE_TRACES, B as TABLE_WORKFLOW_SNAPSHOT } from '../base-SdLa5kEB.cjs';
3
- import '../base-CO-L7hF9.cjs';
1
+ import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun, P as PaginationInfo } from '../base-Bdc5hWla.cjs';
2
+ export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, z as PaginationArgs, B as StorageGetTracesArg, F as TABLE_EVALS, G as TABLE_MESSAGES, J as TABLE_SCHEMAS, H as TABLE_THREADS, I as TABLE_TRACES, D as TABLE_WORKFLOW_SNAPSHOT } from '../base-Bdc5hWla.cjs';
3
+ import { T as Trace } from '../base-DVVTzIQy.cjs';
4
4
  import 'ai';
5
5
  import 'zod';
6
6
  import '../logger-CpL0z5v_.cjs';
@@ -103,6 +103,29 @@ declare class MockStore extends MastraStorage {
103
103
  runId: string;
104
104
  workflowName?: string;
105
105
  }): Promise<WorkflowRun | null>;
106
+ getTracesPaginated({ name, scope, attributes, page, perPage, fromDate, toDate, }: {
107
+ name?: string;
108
+ scope?: string;
109
+ attributes?: Record<string, string>;
110
+ page: number;
111
+ perPage: number;
112
+ fromDate?: Date;
113
+ toDate?: Date;
114
+ }): Promise<PaginationInfo & {
115
+ traces: Trace[];
116
+ }>;
117
+ getThreadsByResourceIdPaginated(args: {
118
+ resourceId: string;
119
+ page: number;
120
+ perPage: number;
121
+ }): Promise<PaginationInfo & {
122
+ threads: StorageThreadType[];
123
+ }>;
124
+ getMessagesPaginated({ threadId, selectBy, }: StorageGetMessagesArg & {
125
+ format?: 'v1' | 'v2';
126
+ }): Promise<PaginationInfo & {
127
+ messages: MastraMessageV1[] | MastraMessageV2[];
128
+ }>;
106
129
  }
107
130
 
108
- export { EvalRow, MastraStorage, MockStore, StorageColumn, StorageGetMessagesArg, TABLE_NAMES, WorkflowRun, WorkflowRuns };
131
+ export { EvalRow, MastraStorage, MockStore, PaginationInfo, StorageColumn, StorageGetMessagesArg, TABLE_NAMES, WorkflowRun, WorkflowRuns };
@@ -1,6 +1,6 @@
1
- import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun } from '../base-CKzmjMsr.js';
2
- export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, P as PaginationArgs, z as PaginationInfo, D as TABLE_EVALS, F as TABLE_MESSAGES, I as TABLE_SCHEMAS, G as TABLE_THREADS, H as TABLE_TRACES, B as TABLE_WORKFLOW_SNAPSHOT } from '../base-CKzmjMsr.js';
3
- import '../base-Bi9KB0TN.js';
1
+ import { o as MastraStorage, p as TABLE_NAMES, q as StorageColumn, r as StorageThreadType, s as MastraMessageV2, t as StorageGetMessagesArg, u as MastraMessageV1, E as EvalRow, v as WorkflowRuns, w as WorkflowRun, P as PaginationInfo } from '../base-icHjkcs-.js';
2
+ export { y as LegacyWorkflowRun, x as LegacyWorkflowRuns, z as PaginationArgs, B as StorageGetTracesArg, F as TABLE_EVALS, G as TABLE_MESSAGES, J as TABLE_SCHEMAS, H as TABLE_THREADS, I as TABLE_TRACES, D as TABLE_WORKFLOW_SNAPSHOT } from '../base-icHjkcs-.js';
3
+ import { T as Trace } from '../base-BbdvunNJ.js';
4
4
  import 'ai';
5
5
  import 'zod';
6
6
  import '../logger-DtVDdb81.js';
@@ -103,6 +103,29 @@ declare class MockStore extends MastraStorage {
103
103
  runId: string;
104
104
  workflowName?: string;
105
105
  }): Promise<WorkflowRun | null>;
106
+ getTracesPaginated({ name, scope, attributes, page, perPage, fromDate, toDate, }: {
107
+ name?: string;
108
+ scope?: string;
109
+ attributes?: Record<string, string>;
110
+ page: number;
111
+ perPage: number;
112
+ fromDate?: Date;
113
+ toDate?: Date;
114
+ }): Promise<PaginationInfo & {
115
+ traces: Trace[];
116
+ }>;
117
+ getThreadsByResourceIdPaginated(args: {
118
+ resourceId: string;
119
+ page: number;
120
+ perPage: number;
121
+ }): Promise<PaginationInfo & {
122
+ threads: StorageThreadType[];
123
+ }>;
124
+ getMessagesPaginated({ threadId, selectBy, }: StorageGetMessagesArg & {
125
+ format?: 'v1' | 'v2';
126
+ }): Promise<PaginationInfo & {
127
+ messages: MastraMessageV1[] | MastraMessageV2[];
128
+ }>;
106
129
  }
107
130
 
108
- export { EvalRow, MastraStorage, MockStore, StorageColumn, StorageGetMessagesArg, TABLE_NAMES, WorkflowRun, WorkflowRuns };
131
+ export { EvalRow, MastraStorage, MockStore, PaginationInfo, StorageColumn, StorageGetMessagesArg, TABLE_NAMES, WorkflowRun, WorkflowRuns };
@@ -190,6 +190,69 @@ var MockStore = class extends MastraStorage {
190
190
  };
191
191
  return parsedRun;
192
192
  }
193
+ async getTracesPaginated({
194
+ name,
195
+ scope,
196
+ attributes,
197
+ page,
198
+ perPage,
199
+ fromDate,
200
+ toDate
201
+ }) {
202
+ this.logger.debug(`MockStore: getTracesPaginated called`);
203
+ let traces = Object.values(this.data.mastra_traces);
204
+ if (name) traces = traces.filter((t) => t.name?.startsWith(name));
205
+ if (scope) traces = traces.filter((t) => t.scope === scope);
206
+ if (attributes) {
207
+ traces = traces.filter(
208
+ (t) => Object.entries(attributes).every(([key, value]) => t.attributes?.[key] === value)
209
+ );
210
+ }
211
+ if (fromDate) traces = traces.filter((t) => new Date(t.createdAt) >= fromDate);
212
+ if (toDate) traces = traces.filter((t) => new Date(t.createdAt) <= toDate);
213
+ traces.sort((a, b) => new Date(b.startTime).getTime() - new Date(a.startTime).getTime());
214
+ const start = page * perPage;
215
+ const end = start + perPage;
216
+ return {
217
+ traces: traces.slice(start, end),
218
+ total: traces.length,
219
+ page,
220
+ perPage,
221
+ hasMore: traces.length > end
222
+ };
223
+ }
224
+ async getThreadsByResourceIdPaginated(args) {
225
+ this.logger.debug(`MockStore: getThreadsByResourceIdPaginated called for ${args.resourceId}`);
226
+ const threads = Object.values(this.data.mastra_threads).filter((t) => t.resourceId === args.resourceId);
227
+ return {
228
+ threads: threads.slice(args.page * args.perPage, (args.page + 1) * args.perPage),
229
+ total: threads.length,
230
+ page: args.page,
231
+ perPage: args.perPage,
232
+ hasMore: threads.length > (args.page + 1) * args.perPage
233
+ };
234
+ }
235
+ async getMessagesPaginated({
236
+ threadId,
237
+ selectBy
238
+ }) {
239
+ this.logger.debug(`MockStore: getMessagesPaginated called for thread ${threadId}`);
240
+ const { page = 0, perPage = 40 } = selectBy?.pagination || {};
241
+ let messages = Object.values(this.data.mastra_messages).filter((msg) => msg.threadId === threadId);
242
+ if (selectBy?.last) {
243
+ messages = messages.slice(-selectBy.last);
244
+ }
245
+ messages.sort((a, b) => new Date(a.createdAt).getTime() - new Date(b.createdAt).getTime());
246
+ const start = page * perPage;
247
+ const end = start + perPage;
248
+ return {
249
+ messages: messages.slice(start, end),
250
+ total: messages.length,
251
+ page,
252
+ perPage,
253
+ hasMore: messages.length > end
254
+ };
255
+ }
193
256
  };
194
257
 
195
258
  export { MockStore };
@@ -1,9 +1,9 @@
1
- export { O as OtelConfig, S as SamplingStrategy, T as Telemetry, a as Trace } from '../base-CO-L7hF9.cjs';
1
+ export { O as OtelConfig, S as SamplingStrategy, a as Telemetry, T as Trace } from '../base-DVVTzIQy.cjs';
2
2
  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-CpL0z5v_.cjs';
6
- import { o as MastraStorage } from '../base-SdLa5kEB.cjs';
6
+ import { o as MastraStorage } from '../base-Bdc5hWla.cjs';
7
7
  import '../error/index.cjs';
8
8
  import 'stream';
9
9
  import 'ai';
@@ -1,9 +1,9 @@
1
- export { O as OtelConfig, S as SamplingStrategy, T as Telemetry, a as Trace } from '../base-Bi9KB0TN.js';
1
+ export { O as OtelConfig, S as SamplingStrategy, a as Telemetry, T as Trace } from '../base-BbdvunNJ.js';
2
2
  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-DtVDdb81.js';
6
- import { o as MastraStorage } from '../base-CKzmjMsr.js';
6
+ import { o as MastraStorage } from '../base-icHjkcs-.js';
7
7
  import '../error/index.js';
8
8
  import 'stream';
9
9
  import 'ai';
@@ -1,6 +1,6 @@
1
- import { V as VercelTool, c as ToolAction } from '../base-SdLa5kEB.cjs';
2
- export { C as CoreTool, ap as InternalCoreTool, an as Tool, aq as ToolExecutionContext, ao as createTool } from '../base-SdLa5kEB.cjs';
3
- import '../base-CO-L7hF9.cjs';
1
+ import { V as VercelTool, c as ToolAction } from '../base-Bdc5hWla.cjs';
2
+ export { C as CoreTool, aq as InternalCoreTool, ao as Tool, ar as ToolExecutionContext, ap as createTool } from '../base-Bdc5hWla.cjs';
3
+ import '../base-DVVTzIQy.cjs';
4
4
  import 'ai';
5
5
  import 'zod';
6
6
  import '../logger-CpL0z5v_.cjs';
@@ -1,6 +1,6 @@
1
- import { V as VercelTool, c as ToolAction } from '../base-CKzmjMsr.js';
2
- export { C as CoreTool, ap as InternalCoreTool, an as Tool, aq as ToolExecutionContext, ao as createTool } from '../base-CKzmjMsr.js';
3
- import '../base-Bi9KB0TN.js';
1
+ import { V as VercelTool, c as ToolAction } from '../base-icHjkcs-.js';
2
+ export { C as CoreTool, aq as InternalCoreTool, ao as Tool, ar as ToolExecutionContext, ap as createTool } from '../base-icHjkcs-.js';
3
+ import '../base-BbdvunNJ.js';
4
4
  import 'ai';
5
5
  import 'zod';
6
6
  import '../logger-DtVDdb81.js';
@@ -1,4 +1,4 @@
1
- import { M as MastraBase } from '../base-CO-L7hF9.cjs';
1
+ import { M as MastraBase } from '../base-DVVTzIQy.cjs';
2
2
  import '@opentelemetry/api';
3
3
  import '../logger-CpL0z5v_.cjs';
4
4
  import '../error/index.cjs';
@@ -1,4 +1,4 @@
1
- import { M as MastraBase } from '../base-Bi9KB0TN.js';
1
+ import { M as MastraBase } from '../base-BbdvunNJ.js';
2
2
  import '@opentelemetry/api';
3
3
  import '../logger-DtVDdb81.js';
4
4
  import '../error/index.js';
package/dist/utils.d.cts CHANGED
@@ -1,11 +1,11 @@
1
- import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-SdLa5kEB.cjs';
1
+ import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-Bdc5hWla.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';
5
5
  import { M as Metric } from './types-Bo1uigWx.cjs';
6
6
  import { z } from 'zod';
7
7
  import { I as IMastraLogger } from './logger-CpL0z5v_.cjs';
8
- import './base-CO-L7hF9.cjs';
8
+ import './base-DVVTzIQy.cjs';
9
9
  import { RuntimeContext } from './runtime-context/index.cjs';
10
10
  import 'json-schema';
11
11
  import 'sift';
package/dist/utils.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-CKzmjMsr.js';
1
+ import { M as Mastra, a as MastraPrimitives, b as MastraMemory, T as ToolsInput, V as VercelTool, c as ToolAction, C as CoreTool, A as Agent, L as LegacyWorkflow, d as LegacyStep, S as StepExecutionContext, W as WorkflowContext, e as Workflow, f as Step, g as AgentNetwork, h as MCPServerBase } from './base-icHjkcs-.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';
5
5
  import { M as Metric } from './types-Bo1uigWx.js';
6
6
  import { z } from 'zod';
7
7
  import { I as IMastraLogger } from './logger-DtVDdb81.js';
8
- import './base-Bi9KB0TN.js';
8
+ import './base-BbdvunNJ.js';
9
9
  import { RuntimeContext } from './runtime-context/index.js';
10
10
  import 'json-schema';
11
11
  import 'sift';
@@ -1,4 +1,4 @@
1
- import { M as MastraBase } from '../base-CO-L7hF9.cjs';
1
+ import { M as MastraBase } from '../base-DVVTzIQy.cjs';
2
2
  import { VectorFilter } from './filter/index.cjs';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-CpL0z5v_.cjs';
@@ -1,4 +1,4 @@
1
- import { M as MastraBase } from '../base-Bi9KB0TN.js';
1
+ import { M as MastraBase } from '../base-BbdvunNJ.js';
2
2
  import { VectorFilter } from './filter/index.js';
3
3
  import '@opentelemetry/api';
4
4
  import '../logger-DtVDdb81.js';
@@ -1,6 +1,6 @@
1
- export { bv as CompositeVoice, bw as DefaultVoice, bu as MastraVoice, bt as VoiceConfig, bs as VoiceEventMap, br as VoiceEventType } from '../base-SdLa5kEB.cjs';
1
+ export { bw as CompositeVoice, bx as DefaultVoice, bv as MastraVoice, bu as VoiceConfig, bt as VoiceEventMap, bs as VoiceEventType } from '../base-Bdc5hWla.cjs';
2
2
  import 'ai';
3
- import '../base-CO-L7hF9.cjs';
3
+ import '../base-DVVTzIQy.cjs';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-CpL0z5v_.cjs';
6
6
  import '../error/index.cjs';
@@ -1,6 +1,6 @@
1
- export { bv as CompositeVoice, bw as DefaultVoice, bu as MastraVoice, bt as VoiceConfig, bs as VoiceEventMap, br as VoiceEventType } from '../base-CKzmjMsr.js';
1
+ export { bw as CompositeVoice, bx as DefaultVoice, bv as MastraVoice, bu as VoiceConfig, bt as VoiceEventMap, bs as VoiceEventType } from '../base-icHjkcs-.js';
2
2
  import 'ai';
3
- import '../base-Bi9KB0TN.js';
3
+ import '../base-BbdvunNJ.js';
4
4
  import '@opentelemetry/api';
5
5
  import '../logger-DtVDdb81.js';
6
6
  import '../error/index.js';
@@ -1,9 +1,9 @@
1
- import { b9 as ExecutionEngine, bf as StepResult, b8 as ExecutionGraph, b1 as SerializedStepFlowEntry, a$ as StepFlowEntry, f as Step, ba as ExecuteFunction } from '../base-SdLa5kEB.cjs';
2
- export { bh as DynamicMapping, bk as ExtractSchemaFromStep, bj as ExtractSchemaType, bi as PathsToStringProps, b7 as Run, b0 as SerializedStep, bc as StepFailure, be as StepRunning, bb as StepSuccess, bd as StepSuspended, bg as StepsRecord, bm as StreamEvent, bl as VariableReference, bn as WatchEvent, e as Workflow, as as WorkflowConfig, b6 as WorkflowResult, bp as WorkflowRunState, bo as ZodPathType, b3 as cloneStep, b5 as cloneWorkflow, b2 as createStep, b4 as createWorkflow } from '../base-SdLa5kEB.cjs';
1
+ import { ba as ExecutionEngine, bg as StepResult, b9 as ExecutionGraph, b2 as SerializedStepFlowEntry, b0 as StepFlowEntry, f as Step, bb as ExecuteFunction } from '../base-Bdc5hWla.cjs';
2
+ export { bi as DynamicMapping, bl as ExtractSchemaFromStep, bk as ExtractSchemaType, bj as PathsToStringProps, b8 as Run, b1 as SerializedStep, bd as StepFailure, bf as StepRunning, bc as StepSuccess, be as StepSuspended, bh as StepsRecord, bn as StreamEvent, bm as VariableReference, bo as WatchEvent, e as Workflow, at as WorkflowConfig, b7 as WorkflowResult, bq as WorkflowRunState, bp as ZodPathType, b4 as cloneStep, b6 as cloneWorkflow, b3 as createStep, b5 as createWorkflow } from '../base-Bdc5hWla.cjs';
3
3
  import { Span } from '@opentelemetry/api';
4
4
  import { RuntimeContext } from '../runtime-context/index.cjs';
5
5
  import 'ai';
6
- import '../base-CO-L7hF9.cjs';
6
+ import '../base-DVVTzIQy.cjs';
7
7
  import '../logger-CpL0z5v_.cjs';
8
8
  import '../error/index.cjs';
9
9
  import 'stream';
@@ -1,9 +1,9 @@
1
- import { b9 as ExecutionEngine, bf as StepResult, b8 as ExecutionGraph, b1 as SerializedStepFlowEntry, a$ as StepFlowEntry, f as Step, ba as ExecuteFunction } from '../base-CKzmjMsr.js';
2
- export { bh as DynamicMapping, bk as ExtractSchemaFromStep, bj as ExtractSchemaType, bi as PathsToStringProps, b7 as Run, b0 as SerializedStep, bc as StepFailure, be as StepRunning, bb as StepSuccess, bd as StepSuspended, bg as StepsRecord, bm as StreamEvent, bl as VariableReference, bn as WatchEvent, e as Workflow, as as WorkflowConfig, b6 as WorkflowResult, bp as WorkflowRunState, bo as ZodPathType, b3 as cloneStep, b5 as cloneWorkflow, b2 as createStep, b4 as createWorkflow } from '../base-CKzmjMsr.js';
1
+ import { ba as ExecutionEngine, bg as StepResult, b9 as ExecutionGraph, b2 as SerializedStepFlowEntry, b0 as StepFlowEntry, f as Step, bb as ExecuteFunction } from '../base-icHjkcs-.js';
2
+ export { bi as DynamicMapping, bl as ExtractSchemaFromStep, bk as ExtractSchemaType, bj as PathsToStringProps, b8 as Run, b1 as SerializedStep, bd as StepFailure, bf as StepRunning, bc as StepSuccess, be as StepSuspended, bh as StepsRecord, bn as StreamEvent, bm as VariableReference, bo as WatchEvent, e as Workflow, at as WorkflowConfig, b7 as WorkflowResult, bq as WorkflowRunState, bp as ZodPathType, b4 as cloneStep, b6 as cloneWorkflow, b3 as createStep, b5 as createWorkflow } from '../base-icHjkcs-.js';
3
3
  import { Span } from '@opentelemetry/api';
4
4
  import { RuntimeContext } from '../runtime-context/index.js';
5
5
  import 'ai';
6
- import '../base-Bi9KB0TN.js';
6
+ import '../base-BbdvunNJ.js';
7
7
  import '../logger-DtVDdb81.js';
8
8
  import '../error/index.js';
9
9
  import 'stream';
@@ -1,9 +1,9 @@
1
- import { J as VariableReference, K as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, N as StepAction, O as LegacyWorkflowRunResult } from '../../base-SdLa5kEB.cjs';
2
- export { _ as ActionContext, Z as BaseCondition, a9 as DependencyCheckOutput, ag as ExtractSchemaFromStep, aj as ExtractSchemaType, ah as ExtractStepResult, al as LegacyWorkflowRunState, ae as LegacyWorkflowState, ak as PathsToStringProps, a6 as ResolverFunctionInput, a7 as ResolverFunctionOutput, Y as RetryConfig, a1 as StepCondition, a2 as StepConfig, a0 as StepDef, S as StepExecutionContext, X as StepGraph, af as StepId, ai as StepInputType, U as StepNode, aa as StepResolverOutput, R as StepVariableType, a3 as StepsRecord, a8 as SubscriberFunctionOutput, $ as WhenConditionReturnValue, ac as WorkflowActionParams, ad as WorkflowActions, ab as WorkflowActors, a5 as WorkflowEvent, a4 as WorkflowLogMessage, Q as WorkflowOptions, am as WorkflowResumeResult } from '../../base-SdLa5kEB.cjs';
1
+ import { K as VariableReference, N as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, O as StepAction, Q as LegacyWorkflowRunResult } from '../../base-Bdc5hWla.cjs';
2
+ export { $ as ActionContext, _ as BaseCondition, aa as DependencyCheckOutput, ah as ExtractSchemaFromStep, ak as ExtractSchemaType, ai as ExtractStepResult, am as LegacyWorkflowRunState, af as LegacyWorkflowState, al as PathsToStringProps, a7 as ResolverFunctionInput, a8 as ResolverFunctionOutput, Z as RetryConfig, a2 as StepCondition, a3 as StepConfig, a1 as StepDef, S as StepExecutionContext, Y as StepGraph, ag as StepId, aj as StepInputType, X as StepNode, ab as StepResolverOutput, U as StepVariableType, a4 as StepsRecord, a9 as SubscriberFunctionOutput, a0 as WhenConditionReturnValue, ad as WorkflowActionParams, ae as WorkflowActions, ac as WorkflowActors, a6 as WorkflowEvent, a5 as WorkflowLogMessage, R as WorkflowOptions, an as WorkflowResumeResult } from '../../base-Bdc5hWla.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-CpL0z5v_.cjs';
6
- import '../../base-CO-L7hF9.cjs';
6
+ import '../../base-DVVTzIQy.cjs';
7
7
  import 'ai';
8
8
  import 'json-schema';
9
9
  import '../../tts/index.cjs';
@@ -1,9 +1,9 @@
1
- import { J as VariableReference, K as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, N as StepAction, O as LegacyWorkflowRunResult } from '../../base-CKzmjMsr.js';
2
- export { _ as ActionContext, Z as BaseCondition, a9 as DependencyCheckOutput, ag as ExtractSchemaFromStep, aj as ExtractSchemaType, ah as ExtractStepResult, al as LegacyWorkflowRunState, ae as LegacyWorkflowState, ak as PathsToStringProps, a6 as ResolverFunctionInput, a7 as ResolverFunctionOutput, Y as RetryConfig, a1 as StepCondition, a2 as StepConfig, a0 as StepDef, S as StepExecutionContext, X as StepGraph, af as StepId, ai as StepInputType, U as StepNode, aa as StepResolverOutput, R as StepVariableType, a3 as StepsRecord, a8 as SubscriberFunctionOutput, $ as WhenConditionReturnValue, ac as WorkflowActionParams, ad as WorkflowActions, ab as WorkflowActors, a5 as WorkflowEvent, a4 as WorkflowLogMessage, Q as WorkflowOptions, am as WorkflowResumeResult } from '../../base-CKzmjMsr.js';
1
+ import { K as VariableReference, N as StepResult, d as LegacyStep, L as LegacyWorkflow, A as Agent, W as WorkflowContext, T as ToolsInput, M as Mastra, O as StepAction, Q as LegacyWorkflowRunResult } from '../../base-icHjkcs-.js';
2
+ export { $ as ActionContext, _ as BaseCondition, aa as DependencyCheckOutput, ah as ExtractSchemaFromStep, ak as ExtractSchemaType, ai as ExtractStepResult, am as LegacyWorkflowRunState, af as LegacyWorkflowState, al as PathsToStringProps, a7 as ResolverFunctionInput, a8 as ResolverFunctionOutput, Z as RetryConfig, a2 as StepCondition, a3 as StepConfig, a1 as StepDef, S as StepExecutionContext, Y as StepGraph, ag as StepId, aj as StepInputType, X as StepNode, ab as StepResolverOutput, U as StepVariableType, a4 as StepsRecord, a9 as SubscriberFunctionOutput, a0 as WhenConditionReturnValue, ad as WorkflowActionParams, ae as WorkflowActions, ac as WorkflowActors, a6 as WorkflowEvent, a5 as WorkflowLogMessage, R as WorkflowOptions, an as WorkflowResumeResult } from '../../base-icHjkcs-.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-DtVDdb81.js';
6
- import '../../base-Bi9KB0TN.js';
6
+ import '../../base-BbdvunNJ.js';
7
7
  import 'ai';
8
8
  import 'json-schema';
9
9
  import '../../tts/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/core",
3
- "version": "0.10.4-alpha.2",
3
+ "version": "0.10.4",
4
4
  "license": "Elastic-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -124,7 +124,7 @@
124
124
  "radash": "^12.1.0",
125
125
  "sift": "^17.1.3",
126
126
  "xstate": "^5.19.2",
127
- "@mastra/schema-compat": "0.10.2-alpha.3"
127
+ "@mastra/schema-compat": "0.10.2"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "zod": "^3.0.0"
@@ -149,7 +149,7 @@
149
149
  "typescript": "^5.8.2",
150
150
  "vitest": "^3.2.2",
151
151
  "zod": "^3.25.56",
152
- "@internal/lint": "0.0.10"
152
+ "@internal/lint": "0.0.11"
153
153
  },
154
154
  "engines": {
155
155
  "node": ">=20"