@mastra/server 1.82.0-alpha.0 → 1.82.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/{agent-builder-CX7Rgay-.cjs → agent-builder-C1SGph1p.cjs} +2 -2
  2. package/dist/{agent-builder-CX7Rgay-.cjs.map → agent-builder-C1SGph1p.cjs.map} +1 -1
  3. package/dist/{agent-builder-C_H7OUVX.js → agent-builder-Cq-jo2FP.js} +2 -2
  4. package/dist/{agent-builder-C_H7OUVX.js.map → agent-builder-Cq-jo2FP.js.map} +1 -1
  5. package/dist/{api-schema-manifest-CEMyoduN.js → api-schema-manifest-C8E9EB-q.js} +2 -2
  6. package/dist/{api-schema-manifest-CEMyoduN.js.map → api-schema-manifest-C8E9EB-q.js.map} +1 -1
  7. package/dist/{api-schema-manifest-BMJwl8fK.cjs → api-schema-manifest-CNjDZrQ8.cjs} +2 -2
  8. package/dist/{api-schema-manifest-BMJwl8fK.cjs.map → api-schema-manifest-CNjDZrQ8.cjs.map} +1 -1
  9. package/dist/{dist-CRO6e62N.cjs → dist-CPj7ZQaO.cjs} +33 -15
  10. package/dist/dist-CPj7ZQaO.cjs.map +1 -0
  11. package/dist/{dist-4RWkx1DC.cjs → dist-Ch5YGldj.cjs} +1 -1
  12. package/dist/{dist-DwXaR0sc.js → dist-DC2mND12.js} +33 -15
  13. package/dist/dist-DC2mND12.js.map +1 -0
  14. package/dist/dist-DDpKEjMk.js +1 -0
  15. package/dist/docs/SKILL.md +1 -1
  16. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  17. package/dist/docs/references/reference-observability-tracing-advanced-queries.md +58 -14
  18. package/dist/{observability-CbJDt-WY.js → observability-BS5rmyEH.js} +2 -2
  19. package/dist/{observability-CbJDt-WY.js.map → observability-BS5rmyEH.js.map} +1 -1
  20. package/dist/{observability-wSQo-vXB.cjs → observability-dUv60Mzz.cjs} +2 -2
  21. package/dist/{observability-wSQo-vXB.cjs.map → observability-dUv60Mzz.cjs.map} +1 -1
  22. package/dist/{observability-new-endpoints-DrDPcAjm.js → observability-new-endpoints-BORkWc9f.js} +6 -4
  23. package/dist/observability-new-endpoints-BORkWc9f.js.map +1 -0
  24. package/dist/{observability-new-endpoints-7KCQHib3.cjs → observability-new-endpoints-KJCQZLZr.cjs} +5 -3
  25. package/dist/observability-new-endpoints-KJCQZLZr.cjs.map +1 -0
  26. package/dist/{probe-image-size-CsYWL1Gs.cjs → probe-image-size-CSrQj2gm.cjs} +2 -2
  27. package/dist/{probe-image-size-CsYWL1Gs.cjs.map → probe-image-size-CSrQj2gm.cjs.map} +1 -1
  28. package/dist/{probe-image-size-BGSAADKy.js → probe-image-size-ssYltjkF.js} +2 -2
  29. package/dist/{probe-image-size-BGSAADKy.js.map → probe-image-size-ssYltjkF.js.map} +1 -1
  30. package/dist/{routes-BCpGBudO.cjs → routes-DSBYmGyo.cjs} +4 -4
  31. package/dist/{routes-BCpGBudO.cjs.map → routes-DSBYmGyo.cjs.map} +1 -1
  32. package/dist/{routes-DZgJrVh5.js → routes-X0Gh3f3T.js} +4 -4
  33. package/dist/{routes-DZgJrVh5.js.map → routes-X0Gh3f3T.js.map} +1 -1
  34. package/dist/server/handlers/agent-builder.cjs +1 -1
  35. package/dist/server/handlers/agent-builder.js +1 -1
  36. package/dist/server/handlers/observability-new-endpoints.cjs +1 -1
  37. package/dist/server/handlers/observability-new-endpoints.d.ts +77 -6
  38. package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
  39. package/dist/server/handlers/observability-new-endpoints.js +1 -1
  40. package/dist/server/handlers/observability-shared.cjs +22 -0
  41. package/dist/server/handlers/observability-shared.cjs.map +1 -1
  42. package/dist/server/handlers/observability-shared.d.ts +13 -0
  43. package/dist/server/handlers/observability-shared.d.ts.map +1 -1
  44. package/dist/server/handlers/observability-shared.js +20 -1
  45. package/dist/server/handlers/observability-shared.js.map +1 -1
  46. package/dist/server/handlers/observability.cjs +2 -2
  47. package/dist/server/handlers/observability.js +2 -2
  48. package/dist/server/handlers/system.cjs +2 -2
  49. package/dist/server/handlers/system.d.ts +2 -0
  50. package/dist/server/handlers/system.d.ts.map +1 -1
  51. package/dist/server/handlers/system.js +2 -2
  52. package/dist/server/handlers.cjs +2 -2
  53. package/dist/server/handlers.js +2 -2
  54. package/dist/server/schemas/index.cjs +1 -1
  55. package/dist/server/schemas/index.js +1 -1
  56. package/dist/server/schemas/system.d.ts +2 -0
  57. package/dist/server/schemas/system.d.ts.map +1 -1
  58. package/dist/server/server-adapter/index.cjs +1 -1
  59. package/dist/server/server-adapter/index.js +1 -1
  60. package/dist/server/server-adapter/routes/observability.d.ts +75 -6
  61. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  62. package/dist/server/server-adapter/routes/system.d.ts +2 -0
  63. package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
  64. package/dist/{system-DOwo7OGf.js → system-B0_hRqFE.js} +2 -1
  65. package/dist/system-B0_hRqFE.js.map +1 -0
  66. package/dist/{system-CHCn8IQ3.cjs → system-iruN6xnj.cjs} +2 -1
  67. package/dist/system-iruN6xnj.cjs.map +1 -0
  68. package/package.json +4 -4
  69. package/dist/dist-BOLBpPgs.js +0 -1
  70. package/dist/dist-CRO6e62N.cjs.map +0 -1
  71. package/dist/dist-DwXaR0sc.js.map +0 -1
  72. package/dist/observability-new-endpoints-7KCQHib3.cjs.map +0 -1
  73. package/dist/observability-new-endpoints-DrDPcAjm.js.map +0 -1
  74. package/dist/system-CHCn8IQ3.cjs.map +0 -1
  75. package/dist/system-DOwo7OGf.js.map +0 -1
@@ -566,7 +566,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
566
566
  where?: import("@mastra/core/storage").TraceQueryPredicate | undefined;
567
567
  groupBy: string[];
568
568
  interval?: "15m" | "1d" | "1h" | "1m" | "5m" | undefined;
569
- measures: ("cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`)[];
569
+ measures: ("cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "timeToFirstChunk.avg" | "timeToFirstChunk.count" | "timeToFirstChunk.max" | "timeToFirstChunk.min" | "timeToFirstChunk.p50" | "timeToFirstChunk.p90" | "timeToFirstChunk.p95" | "timeToFirstChunk.p99" | "timeToFirstToken.avg" | "timeToFirstToken.count" | "timeToFirstToken.max" | "timeToFirstToken.min" | "timeToFirstToken.p50" | "timeToFirstToken.p90" | "timeToFirstToken.p95" | "timeToFirstToken.p99" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`)[];
570
570
  having?: import("@mastra/core/storage").TraceQueryScalarPredicate | undefined;
571
571
  orderBy: {
572
572
  field: string;
@@ -577,7 +577,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
577
577
  rows: {
578
578
  dimensions?: Record<string, string | null> | undefined;
579
579
  bucket?: string | undefined;
580
- measures: Record<"cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`, number | null>;
580
+ measures: Record<"cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "timeToFirstChunk.avg" | "timeToFirstChunk.count" | "timeToFirstChunk.max" | "timeToFirstChunk.min" | "timeToFirstChunk.p50" | "timeToFirstChunk.p90" | "timeToFirstChunk.p95" | "timeToFirstChunk.p99" | "timeToFirstToken.avg" | "timeToFirstToken.count" | "timeToFirstToken.max" | "timeToFirstToken.min" | "timeToFirstToken.p50" | "timeToFirstToken.p90" | "timeToFirstToken.p95" | "timeToFirstToken.p99" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`, number | null>;
581
581
  cost?: {
582
582
  coverage: number | null;
583
583
  unit: string | null;
@@ -622,6 +622,22 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
622
622
  "duration.p99": "duration.p99";
623
623
  errorCount: "errorCount";
624
624
  errorRate: "errorRate";
625
+ "timeToFirstChunk.avg": "timeToFirstChunk.avg";
626
+ "timeToFirstChunk.count": "timeToFirstChunk.count";
627
+ "timeToFirstChunk.max": "timeToFirstChunk.max";
628
+ "timeToFirstChunk.min": "timeToFirstChunk.min";
629
+ "timeToFirstChunk.p50": "timeToFirstChunk.p50";
630
+ "timeToFirstChunk.p90": "timeToFirstChunk.p90";
631
+ "timeToFirstChunk.p95": "timeToFirstChunk.p95";
632
+ "timeToFirstChunk.p99": "timeToFirstChunk.p99";
633
+ "timeToFirstToken.avg": "timeToFirstToken.avg";
634
+ "timeToFirstToken.count": "timeToFirstToken.count";
635
+ "timeToFirstToken.max": "timeToFirstToken.max";
636
+ "timeToFirstToken.min": "timeToFirstToken.min";
637
+ "timeToFirstToken.p50": "timeToFirstToken.p50";
638
+ "timeToFirstToken.p90": "timeToFirstToken.p90";
639
+ "timeToFirstToken.p95": "timeToFirstToken.p95";
640
+ "timeToFirstToken.p99": "timeToFirstToken.p99";
625
641
  "tokens.cached.avg": "tokens.cached.avg";
626
642
  "tokens.cached.sum": "tokens.cached.sum";
627
643
  "tokens.input.avg": "tokens.input.avg";
@@ -659,6 +675,22 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
659
675
  "duration.p99": "duration.p99";
660
676
  errorCount: "errorCount";
661
677
  errorRate: "errorRate";
678
+ "timeToFirstChunk.avg": "timeToFirstChunk.avg";
679
+ "timeToFirstChunk.count": "timeToFirstChunk.count";
680
+ "timeToFirstChunk.max": "timeToFirstChunk.max";
681
+ "timeToFirstChunk.min": "timeToFirstChunk.min";
682
+ "timeToFirstChunk.p50": "timeToFirstChunk.p50";
683
+ "timeToFirstChunk.p90": "timeToFirstChunk.p90";
684
+ "timeToFirstChunk.p95": "timeToFirstChunk.p95";
685
+ "timeToFirstChunk.p99": "timeToFirstChunk.p99";
686
+ "timeToFirstToken.avg": "timeToFirstToken.avg";
687
+ "timeToFirstToken.count": "timeToFirstToken.count";
688
+ "timeToFirstToken.max": "timeToFirstToken.max";
689
+ "timeToFirstToken.min": "timeToFirstToken.min";
690
+ "timeToFirstToken.p50": "timeToFirstToken.p50";
691
+ "timeToFirstToken.p90": "timeToFirstToken.p90";
692
+ "timeToFirstToken.p95": "timeToFirstToken.p95";
693
+ "timeToFirstToken.p99": "timeToFirstToken.p99";
662
694
  "tokens.cached.avg": "tokens.cached.avg";
663
695
  "tokens.cached.sum": "tokens.cached.sum";
664
696
  "tokens.input.avg": "tokens.input.avg";
@@ -693,7 +725,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
693
725
  where?: import("@mastra/core/storage").TraceQueryScalarPredicate | undefined;
694
726
  groupBy: string[];
695
727
  interval?: "15m" | "1d" | "1h" | "1m" | "5m" | undefined;
696
- measures: ("cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`)[];
728
+ measures: ("cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "timeToFirstChunk.avg" | "timeToFirstChunk.count" | "timeToFirstChunk.max" | "timeToFirstChunk.min" | "timeToFirstChunk.p50" | "timeToFirstChunk.p90" | "timeToFirstChunk.p95" | "timeToFirstChunk.p99" | "timeToFirstToken.avg" | "timeToFirstToken.count" | "timeToFirstToken.max" | "timeToFirstToken.min" | "timeToFirstToken.p50" | "timeToFirstToken.p90" | "timeToFirstToken.p95" | "timeToFirstToken.p99" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`)[];
697
729
  having?: import("@mastra/core/storage").TraceQueryScalarPredicate | undefined;
698
730
  orderBy: {
699
731
  field: string;
@@ -704,7 +736,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
704
736
  rows: {
705
737
  dimensions?: Record<string, string | null> | undefined;
706
738
  bucket?: string | undefined;
707
- measures: Record<"cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`, number | null>;
739
+ measures: Record<"cost.avg" | "cost.sum" | "count" | "duration.avg" | "duration.max" | "duration.min" | "duration.p50" | "duration.p90" | "duration.p95" | "duration.p99" | "errorCount" | "errorRate" | "timeToFirstChunk.avg" | "timeToFirstChunk.count" | "timeToFirstChunk.max" | "timeToFirstChunk.min" | "timeToFirstChunk.p50" | "timeToFirstChunk.p90" | "timeToFirstChunk.p95" | "timeToFirstChunk.p99" | "timeToFirstToken.avg" | "timeToFirstToken.count" | "timeToFirstToken.max" | "timeToFirstToken.min" | "timeToFirstToken.p50" | "timeToFirstToken.p90" | "timeToFirstToken.p95" | "timeToFirstToken.p99" | "tokens.cached.avg" | "tokens.cached.sum" | "tokens.input.avg" | "tokens.input.sum" | "tokens.output.avg" | "tokens.output.sum" | "tokens.reasoning.avg" | "tokens.reasoning.sum" | "tokens.total.avg" | "tokens.total.sum" | `countDistinct.${string}`, number | null>;
708
740
  cost?: {
709
741
  coverage: number | null;
710
742
  unit: string | null;
@@ -749,6 +781,22 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
749
781
  "duration.p99": "duration.p99";
750
782
  errorCount: "errorCount";
751
783
  errorRate: "errorRate";
784
+ "timeToFirstChunk.avg": "timeToFirstChunk.avg";
785
+ "timeToFirstChunk.count": "timeToFirstChunk.count";
786
+ "timeToFirstChunk.max": "timeToFirstChunk.max";
787
+ "timeToFirstChunk.min": "timeToFirstChunk.min";
788
+ "timeToFirstChunk.p50": "timeToFirstChunk.p50";
789
+ "timeToFirstChunk.p90": "timeToFirstChunk.p90";
790
+ "timeToFirstChunk.p95": "timeToFirstChunk.p95";
791
+ "timeToFirstChunk.p99": "timeToFirstChunk.p99";
792
+ "timeToFirstToken.avg": "timeToFirstToken.avg";
793
+ "timeToFirstToken.count": "timeToFirstToken.count";
794
+ "timeToFirstToken.max": "timeToFirstToken.max";
795
+ "timeToFirstToken.min": "timeToFirstToken.min";
796
+ "timeToFirstToken.p50": "timeToFirstToken.p50";
797
+ "timeToFirstToken.p90": "timeToFirstToken.p90";
798
+ "timeToFirstToken.p95": "timeToFirstToken.p95";
799
+ "timeToFirstToken.p99": "timeToFirstToken.p99";
752
800
  "tokens.cached.avg": "tokens.cached.avg";
753
801
  "tokens.cached.sum": "tokens.cached.sum";
754
802
  "tokens.input.avg": "tokens.input.avg";
@@ -786,6 +834,22 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
786
834
  "duration.p99": "duration.p99";
787
835
  errorCount: "errorCount";
788
836
  errorRate: "errorRate";
837
+ "timeToFirstChunk.avg": "timeToFirstChunk.avg";
838
+ "timeToFirstChunk.count": "timeToFirstChunk.count";
839
+ "timeToFirstChunk.max": "timeToFirstChunk.max";
840
+ "timeToFirstChunk.min": "timeToFirstChunk.min";
841
+ "timeToFirstChunk.p50": "timeToFirstChunk.p50";
842
+ "timeToFirstChunk.p90": "timeToFirstChunk.p90";
843
+ "timeToFirstChunk.p95": "timeToFirstChunk.p95";
844
+ "timeToFirstChunk.p99": "timeToFirstChunk.p99";
845
+ "timeToFirstToken.avg": "timeToFirstToken.avg";
846
+ "timeToFirstToken.count": "timeToFirstToken.count";
847
+ "timeToFirstToken.max": "timeToFirstToken.max";
848
+ "timeToFirstToken.min": "timeToFirstToken.min";
849
+ "timeToFirstToken.p50": "timeToFirstToken.p50";
850
+ "timeToFirstToken.p90": "timeToFirstToken.p90";
851
+ "timeToFirstToken.p95": "timeToFirstToken.p95";
852
+ "timeToFirstToken.p99": "timeToFirstToken.p99";
789
853
  "tokens.cached.avg": "tokens.cached.avg";
790
854
  "tokens.cached.sum": "tokens.cached.sum";
791
855
  "tokens.input.avg": "tokens.input.avg";
@@ -1193,8 +1257,8 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1193
1257
  }[];
1194
1258
  measures: {
1195
1259
  name: string;
1196
- kind: "cost" | "count" | "duration" | "error" | "tokens";
1197
- statistic?: "avg" | "max" | "min" | "p50" | "p90" | "p95" | "p99" | "sum" | undefined;
1260
+ kind: "cost" | "count" | "duration" | "error" | "timeToFirstChunk" | "timeToFirstToken" | "tokens";
1261
+ statistic?: "avg" | "count" | "max" | "min" | "p50" | "p90" | "p95" | "p99" | "sum" | undefined;
1198
1262
  unit: "count" | "currency" | "milliseconds" | "ratio" | "tokens";
1199
1263
  approximate: boolean;
1200
1264
  }[];
@@ -1279,10 +1343,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1279
1343
  count: "count";
1280
1344
  duration: "duration";
1281
1345
  error: "error";
1346
+ timeToFirstChunk: "timeToFirstChunk";
1347
+ timeToFirstToken: "timeToFirstToken";
1282
1348
  tokens: "tokens";
1283
1349
  }>;
1284
1350
  statistic: import("zod").ZodOptional<import("zod").ZodEnum<{
1285
1351
  avg: "avg";
1352
+ count: "count";
1286
1353
  max: "max";
1287
1354
  min: "min";
1288
1355
  p50: "p50";
@@ -4224,6 +4291,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
4224
4291
  spanQueryContextFields: boolean;
4225
4292
  spanQueryModelFields: boolean;
4226
4293
  spanAggregateModelDimensions: boolean;
4294
+ aggregateTimeToFirstMeasures: boolean;
4227
4295
  spanQueryOutcomeFields: boolean;
4228
4296
  traceQueryOutcomeFields: boolean;
4229
4297
  traceRetentionDays?: number | undefined;
@@ -4273,6 +4341,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
4273
4341
  spanQueryContextFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
4274
4342
  spanQueryModelFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
4275
4343
  spanAggregateModelDimensions: import("zod").ZodDefault<import("zod").ZodBoolean>;
4344
+ aggregateTimeToFirstMeasures: import("zod").ZodDefault<import("zod").ZodBoolean>;
4276
4345
  spanQueryOutcomeFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
4277
4346
  traceQueryOutcomeFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
4278
4347
  traceRetentionDays: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/observability.ts"],"names":[],"mappings":"AAsDA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDvB,CAAC"}
@@ -64,6 +64,7 @@ export declare const SYSTEM_ROUTES: readonly [Omit<import("@mastra/core/server")
64
64
  spanQueryContextFields: boolean;
65
65
  spanQueryModelFields: boolean;
66
66
  spanAggregateModelDimensions: boolean;
67
+ aggregateTimeToFirstMeasures: boolean;
67
68
  spanQueryOutcomeFields: boolean;
68
69
  traceQueryOutcomeFields: boolean;
69
70
  traceRetentionDays?: number | undefined;
@@ -147,6 +148,7 @@ export declare const SYSTEM_ROUTES: readonly [Omit<import("@mastra/core/server")
147
148
  spanQueryContextFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
148
149
  spanQueryModelFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
149
150
  spanAggregateModelDimensions: import("zod").ZodDefault<import("zod").ZodBoolean>;
151
+ aggregateTimeToFirstMeasures: import("zod").ZodDefault<import("zod").ZodBoolean>;
150
152
  spanQueryOutcomeFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
151
153
  traceQueryOutcomeFields: import("zod").ZodDefault<import("zod").ZodBoolean>;
152
154
  traceRetentionDays: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/system.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6D,CAAC"}
1
+ {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/system.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA6D,CAAC"}
@@ -46,6 +46,7 @@ const observabilityStorageCapabilitiesSchema = z.object({
46
46
  spanQueryContextFields: z.boolean().default(false).describe("Additional identity, context and parent/root entity predicates in span queries. Treat a missing value as unavailable."),
47
47
  spanQueryModelFields: z.boolean().default(false).describe("`model` and `provider` predicates in span queries and span aggregates. Treat a missing value as unavailable."),
48
48
  spanAggregateModelDimensions: z.boolean().default(false).describe("`model` and `provider` in span aggregate `groupBy` and `countDistinct`. Treat a missing value as unavailable."),
49
+ aggregateTimeToFirstMeasures: z.boolean().default(false).describe("`timeToFirstToken.*` and `timeToFirstChunk.*` measures in trace and span aggregates. Treat a missing value as unavailable."),
49
50
  spanQueryOutcomeFields: z.boolean().default(false).describe("`outcome` and `stopReason` predicates in span queries and span aggregates (including `groupBy` and `countDistinct`), and `outcome`, `stopReason` and `stopReasonContext` on span rows. Treat a missing value as unavailable."),
50
51
  traceQueryOutcomeFields: z.boolean().default(false).describe("The root span's `outcome` and `stopReason` in trace-scope predicates and trace aggregates, both fields in `spans.some`/`spans.none` predicates and value discovery, and the root span's `outcome`, `stopReason` and `stopReasonContext` on trace rows. Treat a missing value as unavailable."),
51
52
  traceRetentionDays: z.number().int().positive().optional().describe("Days of traces the store keeps. Older traces are gone, so clients can stop users from picking dates before them. Omitted when the store does not report a limit."),
@@ -117,4 +118,4 @@ const apiSchemaManifestResponseSchema = z.object({
117
118
  });
118
119
  export { editorSourceSchema as a, observabilityRuntimeStrategySchema as c, editorSourceCapabilitiesSchema as i, observabilityStorageCapabilitiesSchema as l, apiSchemaManifestRouteSchema as n, mastraPackageSchema as o, apiSchemaResponseShapeSchema as r, observabilityDiscoveryCapabilitiesSchema as s, apiSchemaManifestResponseSchema as t, systemPackagesResponseSchema as u };
119
120
 
120
- //# sourceMappingURL=system-DOwo7OGf.js.map
121
+ //# sourceMappingURL=system-B0_hRqFE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system-B0_hRqFE.js","names":[],"sources":["../src/server/schemas/system.ts"],"sourcesContent":["import { z } from 'zod/v4';\n\nexport const mastraPackageSchema = z.object({\n name: z.string(),\n version: z.string(),\n});\n\nexport const observabilityRuntimeStrategySchema = z.enum([\n 'realtime',\n 'batch-with-updates',\n 'insert-only',\n 'event-sourced',\n]);\n\nexport const observabilityDiscoveryCapabilitiesSchema = z.object({\n entityTypes: z.boolean().describe('GET /observability/discovery/entity-types'),\n entityNames: z.boolean().describe('GET /observability/discovery/entity-names'),\n serviceNames: z.boolean().describe('GET /observability/discovery/service-names'),\n environments: z.boolean().describe('GET /observability/discovery/environments'),\n tags: z.boolean().describe('GET /observability/discovery/tags'),\n metrics: z.boolean().describe('GET /observability/discovery/metric-names, metric-label-keys and metric-label-values'),\n});\n\n/**\n * Optional observability APIs the configured observability store can serve.\n * Omitted when no observability store is configured.\n */\nexport const observabilityStorageCapabilitiesSchema = z.object({\n metrics: z.boolean().describe('Metrics endpoints (/observability/metrics and /observability/metrics/*)'),\n logs: z.boolean().describe('Logs endpoint (GET /observability/logs)'),\n discovery: observabilityDiscoveryCapabilitiesSchema.describe(\n 'Filter discovery endpoints. Unsupported discovery routes return empty results.',\n ),\n deltaPolling: z.boolean().describe(\"Cursor-based `mode: 'delta'` polling on observability list endpoints\"),\n traceQuery: z\n .boolean()\n .describe(\n 'Advanced trace queries (POST /observability/traces/query). When false, list traces with GET /observability/traces/light instead.',\n ),\n traceQueryRootDuration: z.boolean().describe('`durationMs` predicates in trace and thread queries'),\n traceQueryContextIds: z\n .boolean()\n .describe('`runId`, `sessionId`, `userId` and `organizationId` predicates in trace and thread queries'),\n traceQueryTimeToFirstChunk: z\n .boolean()\n .describe(\n '`timeToFirstChunkMs` in trace and span query results, and predicates on it in trace, thread and span queries',\n ),\n traceQueryRootSpanFields: z\n .boolean()\n .describe('Root span `name` and `spanType` in trace-scope predicates, aggregate `groupBy` and `countDistinct`'),\n traceQueryRootEntityId: z\n .boolean()\n .describe('Root span `entityId` in trace-scope predicates, aggregate `groupBy` and `countDistinct`'),\n traceQueryTimeToFirstChunkSort: z.boolean().describe('Sorting trace and span queries by `timeToFirstChunkMs`'),\n traceQueryTimeToFirstToken: z\n .boolean()\n .describe(\n '`timeToFirstTokenMs` in trace, thread and span query results, and predicates on it in trace, thread and span queries',\n ),\n traceQueryTimeToFirstTokenSort: z.boolean().describe('Sorting trace and span queries by `timeToFirstTokenMs`'),\n traceQueryDiscovery: z\n .boolean()\n .describe('Trace query field discovery (POST /observability/traces/query/fields and /values)'),\n traceQueryTenantScope: z.boolean().describe('Trusted tenant scoping of trace and thread queries'),\n traceAggregate: z\n .boolean()\n .describe(\n 'Trace aggregation (POST /observability/traces/aggregate). Unlike `traceQuery`, clients should treat a missing value as unavailable.',\n ),\n spanAggregate: z\n .boolean()\n .describe(\n 'Span aggregation (POST /observability/spans/aggregate). Unlike `spanQuery`, clients should treat a missing value as unavailable.',\n ),\n threadQuery: z.boolean().describe('Advanced thread queries (POST /observability/threads/query)'),\n threadQueryRows: z\n .boolean()\n .default(false)\n .describe(\n 'Full-history thread rows with activity windows, filters and sorting. Treat a missing value as unavailable.',\n ),\n spanQuery: z.boolean().describe('Span queries (POST /observability/spans/query)'),\n spanQueryContextFields: z\n .boolean()\n .default(false)\n .describe(\n 'Additional identity, context and parent/root entity predicates in span queries. Treat a missing value as unavailable.',\n ),\n spanQueryModelFields: z\n .boolean()\n .default(false)\n .describe(\n '`model` and `provider` predicates in span queries and span aggregates. Treat a missing value as unavailable.',\n ),\n spanAggregateModelDimensions: z\n .boolean()\n .default(false)\n .describe(\n '`model` and `provider` in span aggregate `groupBy` and `countDistinct`. Treat a missing value as unavailable.',\n ),\n aggregateTimeToFirstMeasures: z\n .boolean()\n .default(false)\n .describe(\n '`timeToFirstToken.*` and `timeToFirstChunk.*` measures in trace and span aggregates. Treat a missing value as unavailable.',\n ),\n spanQueryOutcomeFields: z\n .boolean()\n .default(false)\n .describe(\n '`outcome` and `stopReason` predicates in span queries and span aggregates (including `groupBy` and `countDistinct`), and `outcome`, `stopReason` and `stopReasonContext` on span rows. Treat a missing value as unavailable.',\n ),\n traceQueryOutcomeFields: z\n .boolean()\n .default(false)\n .describe(\n \"The root span's `outcome` and `stopReason` in trace-scope predicates and trace aggregates, both fields in `spans.some`/`spans.none` predicates and value discovery, and the root span's `outcome`, `stopReason` and `stopReasonContext` on trace rows. Treat a missing value as unavailable.\",\n ),\n traceRetentionDays: z\n .number()\n .int()\n .positive()\n .optional()\n .describe(\n 'Days of traces the store keeps. Older traces are gone, so clients can stop users from picking dates before them. Omitted when the store does not report a limit.',\n ),\n feedback: z\n .boolean()\n .describe(\n 'Feedback endpoints (/observability/feedback and /observability/feedback/*). Unsupported feedback routes return 501.',\n ),\n});\n\nexport const editorSourceSchema = z.enum(['code', 'db']);\n\nexport const editorSourceCapabilitiesSchema = z.object({\n source: editorSourceSchema,\n storage: z.enum(['database', 'filesystem', 'source-provider', 'unavailable']),\n provider: z\n .object({\n id: z.string(),\n displayName: z.string(),\n })\n .optional(),\n canSave: z.boolean(),\n canOpenChangeRequest: z.boolean(),\n unavailableReason: z.string().optional(),\n});\n\nexport const systemPackagesResponseSchema = z.object({\n packages: z.array(mastraPackageSchema),\n isDev: z.boolean(),\n cmsEnabled: z.boolean(),\n /** Whether the default LiveKit connection-details route is registered — not whether credentials or a worker exist. */\n liveKitConnectionRouteEnabled: z.boolean(),\n /** True when the default LiveKit trace recording review route is registered. */\n liveKitRecordingRouteEnabled: z.boolean().optional(),\n /**\n * The editor's configured source, when set. `'code'` swaps Studio's\n * Save/Publish UI for Download JSON + Open PR. `'db'` keeps the standard\n * Save/Publish flow. Omitted when the editor has no explicit source.\n */\n editorSource: editorSourceSchema.optional(),\n editorSourceCapabilities: editorSourceCapabilitiesSchema.optional(),\n observabilityEnabled: z.boolean(),\n storageType: z.string().optional(),\n observabilityStorageType: z.string().optional(),\n observabilityStorageCapabilities: observabilityStorageCapabilitiesSchema.optional(),\n observabilityRuntimeStrategy: observabilityRuntimeStrategySchema.optional(),\n});\n\nconst jsonSchemaRecordSchema = z.record(z.string(), z.unknown());\n\nexport const apiSchemaResponseShapeSchema = z.object({\n kind: z.enum(['array', 'record', 'object-property', 'single', 'unknown']),\n listProperty: z.string().optional(),\n paginationProperty: z.string().optional(),\n});\n\nexport const apiSchemaManifestRouteSchema = z.object({\n method: z.string(),\n path: z.string(),\n responseType: z.string(),\n pathParamSchema: jsonSchemaRecordSchema.optional(),\n queryParamSchema: jsonSchemaRecordSchema.optional(),\n bodySchema: jsonSchemaRecordSchema.optional(),\n responseSchema: jsonSchemaRecordSchema.optional(),\n responseShape: apiSchemaResponseShapeSchema,\n});\n\nexport const apiSchemaManifestResponseSchema = z.object({\n version: z.literal(1),\n routes: z.array(apiSchemaManifestRouteSchema),\n});\n\nexport type MastraPackage = z.infer<typeof mastraPackageSchema>;\nexport type SystemPackagesResponse = z.infer<typeof systemPackagesResponseSchema>;\n"],"mappings":";;AAEA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO;CACf,SAAS,EAAE,OAAO;AACpB,CAAC;AAED,MAAa,qCAAqC,EAAE,KAAK;CACvD;CACA;CACA;CACA;AACF,CAAC;AAED,MAAa,2CAA2C,EAAE,OAAO;CAC/D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC7E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC/E,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC9E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF;AACtH,CAAC;;;;;AAMD,MAAa,yCAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE;CACvG,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC;CACpE,WAAW,yCAAyC,SAClD,gFACF;CACA,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE;CACzG,YAAY,EACT,QAA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CAAC,CAAC,SAAS;AAC1C,CAAC;AAED,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO;CACjB,MAAM,EAAE,OAAO;CACf,cAAc,EAAE,OAAO;CACvB,iBAAiB,uBAAuB,SAAS;CACjD,kBAAkB,uBAAuB,SAAS;CAClD,YAAY,uBAAuB,SAAS;CAC5C,gBAAgB,uBAAuB,SAAS;CAChD,eAAe;AACjB,CAAC;AAED,MAAa,kCAAkC,EAAE,OAAO;CACtD,SAAS,EAAE,QAAQ,CAAC;CACpB,QAAQ,EAAE,MAAM,4BAA4B;AAC9C,CAAC"}
@@ -46,6 +46,7 @@ const observabilityStorageCapabilitiesSchema = zod_v4.z.object({
46
46
  spanQueryContextFields: zod_v4.z.boolean().default(false).describe("Additional identity, context and parent/root entity predicates in span queries. Treat a missing value as unavailable."),
47
47
  spanQueryModelFields: zod_v4.z.boolean().default(false).describe("`model` and `provider` predicates in span queries and span aggregates. Treat a missing value as unavailable."),
48
48
  spanAggregateModelDimensions: zod_v4.z.boolean().default(false).describe("`model` and `provider` in span aggregate `groupBy` and `countDistinct`. Treat a missing value as unavailable."),
49
+ aggregateTimeToFirstMeasures: zod_v4.z.boolean().default(false).describe("`timeToFirstToken.*` and `timeToFirstChunk.*` measures in trace and span aggregates. Treat a missing value as unavailable."),
49
50
  spanQueryOutcomeFields: zod_v4.z.boolean().default(false).describe("`outcome` and `stopReason` predicates in span queries and span aggregates (including `groupBy` and `countDistinct`), and `outcome`, `stopReason` and `stopReasonContext` on span rows. Treat a missing value as unavailable."),
50
51
  traceQueryOutcomeFields: zod_v4.z.boolean().default(false).describe("The root span's `outcome` and `stopReason` in trace-scope predicates and trace aggregates, both fields in `spans.some`/`spans.none` predicates and value discovery, and the root span's `outcome`, `stopReason` and `stopReasonContext` on trace rows. Treat a missing value as unavailable."),
51
52
  traceRetentionDays: zod_v4.z.number().int().positive().optional().describe("Days of traces the store keeps. Older traces are gone, so clients can stop users from picking dates before them. Omitted when the store does not report a limit."),
@@ -176,4 +177,4 @@ Object.defineProperty(exports, "systemPackagesResponseSchema", {
176
177
  }
177
178
  });
178
179
 
179
- //# sourceMappingURL=system-CHCn8IQ3.cjs.map
180
+ //# sourceMappingURL=system-iruN6xnj.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system-iruN6xnj.cjs","names":["z"],"sources":["../src/server/schemas/system.ts"],"sourcesContent":["import { z } from 'zod/v4';\n\nexport const mastraPackageSchema = z.object({\n name: z.string(),\n version: z.string(),\n});\n\nexport const observabilityRuntimeStrategySchema = z.enum([\n 'realtime',\n 'batch-with-updates',\n 'insert-only',\n 'event-sourced',\n]);\n\nexport const observabilityDiscoveryCapabilitiesSchema = z.object({\n entityTypes: z.boolean().describe('GET /observability/discovery/entity-types'),\n entityNames: z.boolean().describe('GET /observability/discovery/entity-names'),\n serviceNames: z.boolean().describe('GET /observability/discovery/service-names'),\n environments: z.boolean().describe('GET /observability/discovery/environments'),\n tags: z.boolean().describe('GET /observability/discovery/tags'),\n metrics: z.boolean().describe('GET /observability/discovery/metric-names, metric-label-keys and metric-label-values'),\n});\n\n/**\n * Optional observability APIs the configured observability store can serve.\n * Omitted when no observability store is configured.\n */\nexport const observabilityStorageCapabilitiesSchema = z.object({\n metrics: z.boolean().describe('Metrics endpoints (/observability/metrics and /observability/metrics/*)'),\n logs: z.boolean().describe('Logs endpoint (GET /observability/logs)'),\n discovery: observabilityDiscoveryCapabilitiesSchema.describe(\n 'Filter discovery endpoints. Unsupported discovery routes return empty results.',\n ),\n deltaPolling: z.boolean().describe(\"Cursor-based `mode: 'delta'` polling on observability list endpoints\"),\n traceQuery: z\n .boolean()\n .describe(\n 'Advanced trace queries (POST /observability/traces/query). When false, list traces with GET /observability/traces/light instead.',\n ),\n traceQueryRootDuration: z.boolean().describe('`durationMs` predicates in trace and thread queries'),\n traceQueryContextIds: z\n .boolean()\n .describe('`runId`, `sessionId`, `userId` and `organizationId` predicates in trace and thread queries'),\n traceQueryTimeToFirstChunk: z\n .boolean()\n .describe(\n '`timeToFirstChunkMs` in trace and span query results, and predicates on it in trace, thread and span queries',\n ),\n traceQueryRootSpanFields: z\n .boolean()\n .describe('Root span `name` and `spanType` in trace-scope predicates, aggregate `groupBy` and `countDistinct`'),\n traceQueryRootEntityId: z\n .boolean()\n .describe('Root span `entityId` in trace-scope predicates, aggregate `groupBy` and `countDistinct`'),\n traceQueryTimeToFirstChunkSort: z.boolean().describe('Sorting trace and span queries by `timeToFirstChunkMs`'),\n traceQueryTimeToFirstToken: z\n .boolean()\n .describe(\n '`timeToFirstTokenMs` in trace, thread and span query results, and predicates on it in trace, thread and span queries',\n ),\n traceQueryTimeToFirstTokenSort: z.boolean().describe('Sorting trace and span queries by `timeToFirstTokenMs`'),\n traceQueryDiscovery: z\n .boolean()\n .describe('Trace query field discovery (POST /observability/traces/query/fields and /values)'),\n traceQueryTenantScope: z.boolean().describe('Trusted tenant scoping of trace and thread queries'),\n traceAggregate: z\n .boolean()\n .describe(\n 'Trace aggregation (POST /observability/traces/aggregate). Unlike `traceQuery`, clients should treat a missing value as unavailable.',\n ),\n spanAggregate: z\n .boolean()\n .describe(\n 'Span aggregation (POST /observability/spans/aggregate). Unlike `spanQuery`, clients should treat a missing value as unavailable.',\n ),\n threadQuery: z.boolean().describe('Advanced thread queries (POST /observability/threads/query)'),\n threadQueryRows: z\n .boolean()\n .default(false)\n .describe(\n 'Full-history thread rows with activity windows, filters and sorting. Treat a missing value as unavailable.',\n ),\n spanQuery: z.boolean().describe('Span queries (POST /observability/spans/query)'),\n spanQueryContextFields: z\n .boolean()\n .default(false)\n .describe(\n 'Additional identity, context and parent/root entity predicates in span queries. Treat a missing value as unavailable.',\n ),\n spanQueryModelFields: z\n .boolean()\n .default(false)\n .describe(\n '`model` and `provider` predicates in span queries and span aggregates. Treat a missing value as unavailable.',\n ),\n spanAggregateModelDimensions: z\n .boolean()\n .default(false)\n .describe(\n '`model` and `provider` in span aggregate `groupBy` and `countDistinct`. Treat a missing value as unavailable.',\n ),\n aggregateTimeToFirstMeasures: z\n .boolean()\n .default(false)\n .describe(\n '`timeToFirstToken.*` and `timeToFirstChunk.*` measures in trace and span aggregates. Treat a missing value as unavailable.',\n ),\n spanQueryOutcomeFields: z\n .boolean()\n .default(false)\n .describe(\n '`outcome` and `stopReason` predicates in span queries and span aggregates (including `groupBy` and `countDistinct`), and `outcome`, `stopReason` and `stopReasonContext` on span rows. Treat a missing value as unavailable.',\n ),\n traceQueryOutcomeFields: z\n .boolean()\n .default(false)\n .describe(\n \"The root span's `outcome` and `stopReason` in trace-scope predicates and trace aggregates, both fields in `spans.some`/`spans.none` predicates and value discovery, and the root span's `outcome`, `stopReason` and `stopReasonContext` on trace rows. Treat a missing value as unavailable.\",\n ),\n traceRetentionDays: z\n .number()\n .int()\n .positive()\n .optional()\n .describe(\n 'Days of traces the store keeps. Older traces are gone, so clients can stop users from picking dates before them. Omitted when the store does not report a limit.',\n ),\n feedback: z\n .boolean()\n .describe(\n 'Feedback endpoints (/observability/feedback and /observability/feedback/*). Unsupported feedback routes return 501.',\n ),\n});\n\nexport const editorSourceSchema = z.enum(['code', 'db']);\n\nexport const editorSourceCapabilitiesSchema = z.object({\n source: editorSourceSchema,\n storage: z.enum(['database', 'filesystem', 'source-provider', 'unavailable']),\n provider: z\n .object({\n id: z.string(),\n displayName: z.string(),\n })\n .optional(),\n canSave: z.boolean(),\n canOpenChangeRequest: z.boolean(),\n unavailableReason: z.string().optional(),\n});\n\nexport const systemPackagesResponseSchema = z.object({\n packages: z.array(mastraPackageSchema),\n isDev: z.boolean(),\n cmsEnabled: z.boolean(),\n /** Whether the default LiveKit connection-details route is registered — not whether credentials or a worker exist. */\n liveKitConnectionRouteEnabled: z.boolean(),\n /** True when the default LiveKit trace recording review route is registered. */\n liveKitRecordingRouteEnabled: z.boolean().optional(),\n /**\n * The editor's configured source, when set. `'code'` swaps Studio's\n * Save/Publish UI for Download JSON + Open PR. `'db'` keeps the standard\n * Save/Publish flow. Omitted when the editor has no explicit source.\n */\n editorSource: editorSourceSchema.optional(),\n editorSourceCapabilities: editorSourceCapabilitiesSchema.optional(),\n observabilityEnabled: z.boolean(),\n storageType: z.string().optional(),\n observabilityStorageType: z.string().optional(),\n observabilityStorageCapabilities: observabilityStorageCapabilitiesSchema.optional(),\n observabilityRuntimeStrategy: observabilityRuntimeStrategySchema.optional(),\n});\n\nconst jsonSchemaRecordSchema = z.record(z.string(), z.unknown());\n\nexport const apiSchemaResponseShapeSchema = z.object({\n kind: z.enum(['array', 'record', 'object-property', 'single', 'unknown']),\n listProperty: z.string().optional(),\n paginationProperty: z.string().optional(),\n});\n\nexport const apiSchemaManifestRouteSchema = z.object({\n method: z.string(),\n path: z.string(),\n responseType: z.string(),\n pathParamSchema: jsonSchemaRecordSchema.optional(),\n queryParamSchema: jsonSchemaRecordSchema.optional(),\n bodySchema: jsonSchemaRecordSchema.optional(),\n responseSchema: jsonSchemaRecordSchema.optional(),\n responseShape: apiSchemaResponseShapeSchema,\n});\n\nexport const apiSchemaManifestResponseSchema = z.object({\n version: z.literal(1),\n routes: z.array(apiSchemaManifestRouteSchema),\n});\n\nexport type MastraPackage = z.infer<typeof mastraPackageSchema>;\nexport type SystemPackagesResponse = z.infer<typeof systemPackagesResponseSchema>;\n"],"mappings":";;AAEA,MAAa,sBAAsBA,OAAAA,EAAE,OAAO;CAC1C,MAAMA,OAAAA,EAAE,OAAO;CACf,SAASA,OAAAA,EAAE,OAAO;AACpB,CAAC;AAED,MAAa,qCAAqCA,OAAAA,EAAE,KAAK;CACvD;CACA;CACA;CACA;AACF,CAAC;AAED,MAAa,2CAA2CA,OAAAA,EAAE,OAAO;CAC/D,aAAaA,OAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC7E,aAAaA,OAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC7E,cAAcA,OAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC/E,cAAcA,OAAAA,EAAE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,CAAC;CACpB,QAAQA,OAAAA,EAAE,MAAM,4BAA4B;AAC9C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.82.0-alpha.0",
3
+ "version": "1.82.0-alpha.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -118,12 +118,12 @@
118
118
  "@internal/core": "0.1.4",
119
119
  "@internal/lint": "0.0.147",
120
120
  "@internal/storage-test-utils": "0.0.143",
121
+ "@internal/types-builder": "0.0.122",
121
122
  "@internal/test-utils": "0.0.83",
122
123
  "@internal/voice": "0.0.43",
123
- "@internal/types-builder": "0.0.122",
124
+ "@mastra/agent-builder": "1.1.33-alpha.1",
124
125
  "@mastra/schema-compat": "1.3.17",
125
- "@mastra/agent-builder": "1.1.33-alpha.0",
126
- "@mastra/core": "1.82.0-alpha.0"
126
+ "@mastra/core": "1.82.0-alpha.1"
127
127
  },
128
128
  "homepage": "https://mastra.ai",
129
129
  "repository": {
@@ -1 +0,0 @@
1
- export { n as openai } from "./dist-DwXaR0sc.js";