@mastra/server 1.62.0-alpha.2 → 1.62.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ name: mastra-server
3
3
  description: Documentation for @mastra/server. Use when working with @mastra/server APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/server"
6
- version: "1.62.0-alpha.2"
6
+ version: "1.62.0-alpha.3"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.62.0-alpha.2",
2
+ "version": "1.62.0-alpha.3",
3
3
  "package": "@mastra/server",
4
4
  "exports": {},
5
5
  "modules": {}
@@ -30,7 +30,7 @@ var agent_builder_exports = /* @__PURE__ */ require_rolldown_runtime.__exportAll
30
30
  });
31
31
  let agentBuilderWorkflowsPromise;
32
32
  async function loadAgentBuilderWorkflows() {
33
- agentBuilderWorkflowsPromise ??= Promise.resolve().then(() => require("../../dist-DERatX43.cjs")).then((mod) => mod.agentBuilderWorkflows);
33
+ agentBuilderWorkflowsPromise ??= Promise.resolve().then(() => require("../../dist-LHYHUQ8P.cjs")).then((mod) => mod.agentBuilderWorkflows);
34
34
  return agentBuilderWorkflowsPromise;
35
35
  }
36
36
  async function registerAgentBuilderWorkflows(mastra) {
@@ -29,7 +29,7 @@ var agent_builder_exports = /* @__PURE__ */ __exportAll({
29
29
  });
30
30
  let agentBuilderWorkflowsPromise;
31
31
  async function loadAgentBuilderWorkflows() {
32
- agentBuilderWorkflowsPromise ??= import("../../dist-Cw-T1gX6.js").then((mod) => mod.agentBuilderWorkflows);
32
+ agentBuilderWorkflowsPromise ??= import("../../dist-HzWDFjPH.js").then((mod) => mod.agentBuilderWorkflows);
33
33
  return agentBuilderWorkflowsPromise;
34
34
  }
35
35
  async function registerAgentBuilderWorkflows(mastra) {
@@ -265,9 +265,15 @@ export declare const CREATE_SCORE: Omit<import("@mastra/core/server").ApiRoute,
265
265
  runId?: string | null | undefined;
266
266
  entityType?: import("../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
267
267
  tags?: string[] | null | undefined;
268
+ scoreId?: string | null | undefined;
268
269
  traceId?: string | null | undefined;
269
270
  spanId?: string | null | undefined;
271
+ scorerName?: string | null | undefined;
272
+ scorerVersion?: string | null | undefined;
273
+ scoreSource?: string | null | undefined;
270
274
  source?: string | null | undefined;
275
+ reason?: string | null | undefined;
276
+ scoreTraceId?: string | null | undefined;
271
277
  metadata?: Record<string, unknown> | null | undefined;
272
278
  executionSource?: string | null | undefined;
273
279
  entityId?: string | null | undefined;
@@ -291,12 +297,6 @@ export declare const CREATE_SCORE: Omit<import("@mastra/core/server").ApiRoute,
291
297
  parentEntityVersionId?: string | null | undefined;
292
298
  rootEntityVersionId?: string | null | undefined;
293
299
  experimentId?: string | null | undefined;
294
- scoreId?: string | null | undefined;
295
- scorerName?: string | null | undefined;
296
- scorerVersion?: string | null | undefined;
297
- scoreSource?: string | null | undefined;
298
- reason?: string | null | undefined;
299
- scoreTraceId?: string | null | undefined;
300
300
  };
301
301
  } & ServerContext): Promise<{
302
302
  success: boolean;
@@ -316,9 +316,17 @@ export declare const CREATE_SCORE: Omit<import("@mastra/core/server").ApiRoute,
316
316
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
317
  entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
318
318
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
319
+ scorerId: z.ZodString;
320
+ score: z.ZodNumber;
321
+ scoreId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
322
  traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
323
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
+ scorerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
325
+ scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
326
+ scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
327
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
328
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
329
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
322
330
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
323
331
  executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
332
  entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -342,14 +350,6 @@ export declare const CREATE_SCORE: Omit<import("@mastra/core/server").ApiRoute,
342
350
  parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
351
  rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
352
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
- scorerId: z.ZodString;
346
- score: z.ZodNumber;
347
- scoreId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
348
- scorerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
349
- scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
350
- scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
- reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
- scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
353
  }, z.core.$strip>;
354
354
  }, z.core.$strip>, z.ZodObject<{
355
355
  success: z.ZodBoolean;
@@ -2875,9 +2875,15 @@ export declare const NEW_ROUTES: {
2875
2875
  runId?: string | null | undefined;
2876
2876
  entityType?: import("../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2877
2877
  tags?: string[] | null | undefined;
2878
+ scoreId?: string | null | undefined;
2878
2879
  traceId?: string | null | undefined;
2879
2880
  spanId?: string | null | undefined;
2881
+ scorerName?: string | null | undefined;
2882
+ scorerVersion?: string | null | undefined;
2883
+ scoreSource?: string | null | undefined;
2880
2884
  source?: string | null | undefined;
2885
+ reason?: string | null | undefined;
2886
+ scoreTraceId?: string | null | undefined;
2881
2887
  metadata?: Record<string, unknown> | null | undefined;
2882
2888
  executionSource?: string | null | undefined;
2883
2889
  entityId?: string | null | undefined;
@@ -2901,12 +2907,6 @@ export declare const NEW_ROUTES: {
2901
2907
  parentEntityVersionId?: string | null | undefined;
2902
2908
  rootEntityVersionId?: string | null | undefined;
2903
2909
  experimentId?: string | null | undefined;
2904
- scoreId?: string | null | undefined;
2905
- scorerName?: string | null | undefined;
2906
- scorerVersion?: string | null | undefined;
2907
- scoreSource?: string | null | undefined;
2908
- reason?: string | null | undefined;
2909
- scoreTraceId?: string | null | undefined;
2910
2910
  };
2911
2911
  } & ServerContext): Promise<{
2912
2912
  success: boolean;
@@ -2926,9 +2926,17 @@ export declare const NEW_ROUTES: {
2926
2926
  runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2927
2927
  entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2928
2928
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2929
+ scorerId: z.ZodString;
2930
+ score: z.ZodNumber;
2931
+ scoreId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2929
2932
  traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2930
2933
  spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2934
+ scorerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2935
+ scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2936
+ scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2931
2937
  source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2938
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2939
+ scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2932
2940
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2933
2941
  executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2934
2942
  entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2952,14 +2960,6 @@ export declare const NEW_ROUTES: {
2952
2960
  parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2953
2961
  rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2954
2962
  experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2955
- scorerId: z.ZodString;
2956
- score: z.ZodNumber;
2957
- scoreId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2958
- scorerName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2959
- scorerVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2960
- scoreSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2961
- reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2962
- scoreTraceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2963
2963
  }, z.core.$strip>;
2964
2964
  }, z.core.$strip>, z.ZodObject<{
2965
2965
  success: z.ZodBoolean;
@@ -652,9 +652,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
652
652
  runId?: string | null | undefined;
653
653
  entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
654
654
  tags?: string[] | null | undefined;
655
+ scoreId?: string | null | undefined;
655
656
  traceId?: string | null | undefined;
656
657
  spanId?: string | null | undefined;
658
+ scorerName?: string | null | undefined;
659
+ scorerVersion?: string | null | undefined;
660
+ scoreSource?: string | null | undefined;
657
661
  source?: string | null | undefined;
662
+ reason?: string | null | undefined;
663
+ scoreTraceId?: string | null | undefined;
658
664
  metadata?: Record<string, unknown> | null | undefined;
659
665
  executionSource?: string | null | undefined;
660
666
  entityId?: string | null | undefined;
@@ -678,12 +684,6 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
678
684
  parentEntityVersionId?: string | null | undefined;
679
685
  rootEntityVersionId?: string | null | undefined;
680
686
  experimentId?: string | null | undefined;
681
- scoreId?: string | null | undefined;
682
- scorerName?: string | null | undefined;
683
- scorerVersion?: string | null | undefined;
684
- scoreSource?: string | null | undefined;
685
- reason?: string | null | undefined;
686
- scoreTraceId?: string | null | undefined;
687
687
  };
688
688
  } & import(".").ServerContext): Promise<{
689
689
  success: boolean;
@@ -703,9 +703,17 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
703
703
  runId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
704
704
  entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
705
705
  tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
706
+ scorerId: import("zod").ZodString;
707
+ score: import("zod").ZodNumber;
708
+ scoreId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
706
709
  traceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
707
710
  spanId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
711
+ scorerName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
712
+ scorerVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
713
+ scoreSource: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
708
714
  source: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
715
+ reason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
716
+ scoreTraceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
709
717
  metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
710
718
  executionSource: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
711
719
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -729,14 +737,6 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
729
737
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
730
738
  rootEntityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
731
739
  experimentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
732
- scorerId: import("zod").ZodString;
733
- score: import("zod").ZodNumber;
734
- scoreId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
735
- scorerName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
736
- scorerVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
737
- scoreSource: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
738
- reason: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
739
- scoreTraceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
740
740
  }, import("zod/v4/core").$strip>;
741
741
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
742
742
  success: import("zod").ZodBoolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.62.0-alpha.2",
3
+ "version": "1.62.0-alpha.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -116,14 +116,14 @@
116
116
  "vitest": "4.1.10",
117
117
  "zod": "^4.4.3",
118
118
  "zod-to-ts": "^2.1.0",
119
- "@internal/storage-test-utils": "0.0.121",
120
119
  "@internal/core": "0.1.2",
121
120
  "@internal/lint": "0.0.125",
121
+ "@internal/storage-test-utils": "0.0.121",
122
122
  "@internal/test-utils": "0.0.61",
123
123
  "@internal/types-builder": "0.0.100",
124
- "@mastra/agent-builder": "1.1.13",
125
124
  "@internal/voice": "0.0.23",
126
- "@mastra/core": "1.62.0-alpha.2",
125
+ "@mastra/agent-builder": "1.1.14-alpha.0",
126
+ "@mastra/core": "1.62.0-alpha.3",
127
127
  "@mastra/schema-compat": "1.3.7"
128
128
  },
129
129
  "homepage": "https://mastra.ai",