@mastra/server 1.83.0-alpha.6 → 1.83.0-alpha.8

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 (81) hide show
  1. package/dist/_types/@internal_core@0.1.4/dist/storage/index.d.ts +59 -0
  2. package/dist/{api-schema-manifest-BuUPZy-0.js → api-schema-manifest-BE06Ub4o.js} +2 -2
  3. package/dist/{api-schema-manifest-BuUPZy-0.js.map → api-schema-manifest-BE06Ub4o.js.map} +1 -1
  4. package/dist/{api-schema-manifest-Bsbh_Rp6.cjs → api-schema-manifest-DR4f61oH.cjs} +2 -2
  5. package/dist/{api-schema-manifest-Bsbh_Rp6.cjs.map → api-schema-manifest-DR4f61oH.cjs.map} +1 -1
  6. package/dist/docs/SKILL.md +1 -1
  7. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  8. package/dist/{observability-Bc1UruQ9.js → observability-C2p6Cm2o.js} +3 -2
  9. package/dist/{observability-Bc1UruQ9.js.map → observability-C2p6Cm2o.js.map} +1 -1
  10. package/dist/{observability-CsgWy_Jd.cjs → observability-CsNcAGbL.cjs} +3 -2
  11. package/dist/{observability-CsgWy_Jd.cjs.map → observability-CsNcAGbL.cjs.map} +1 -1
  12. package/dist/{observability-new-endpoints-sgqxTIAg.cjs → observability-new-endpoints--h0vACab.cjs} +178 -94
  13. package/dist/observability-new-endpoints--h0vACab.cjs.map +1 -0
  14. package/dist/{observability-new-endpoints-ynMOfgxs.js → observability-new-endpoints-B42gwVg4.js} +87 -9
  15. package/dist/observability-new-endpoints-B42gwVg4.js.map +1 -0
  16. package/dist/{routes-u0J9BsY1.js → routes-D8NOiXGB.js} +4 -3
  17. package/dist/routes-D8NOiXGB.js.map +1 -0
  18. package/dist/{routes-B0HqAMAk.cjs → routes-DZDn2nLE.cjs} +4 -3
  19. package/dist/routes-DZDn2nLE.cjs.map +1 -0
  20. package/dist/server/handlers/observability-export.cjs +66 -0
  21. package/dist/server/handlers/observability-export.cjs.map +1 -0
  22. package/dist/server/handlers/observability-export.d.ts +12 -0
  23. package/dist/server/handlers/observability-export.d.ts.map +1 -0
  24. package/dist/server/handlers/observability-export.js +62 -0
  25. package/dist/server/handlers/observability-export.js.map +1 -0
  26. package/dist/server/handlers/observability-new-endpoints.cjs +2 -1
  27. package/dist/server/handlers/observability-new-endpoints.d.ts +334 -0
  28. package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
  29. package/dist/server/handlers/observability-new-endpoints.js +1 -1
  30. package/dist/server/handlers/observability-shared.cjs +13 -2
  31. package/dist/server/handlers/observability-shared.cjs.map +1 -1
  32. package/dist/server/handlers/observability-shared.d.ts +9 -0
  33. package/dist/server/handlers/observability-shared.d.ts.map +1 -1
  34. package/dist/server/handlers/observability-shared.js +13 -2
  35. package/dist/server/handlers/observability-shared.js.map +1 -1
  36. package/dist/server/handlers/observability-signal-context.cjs +69 -2
  37. package/dist/server/handlers/observability-signal-context.cjs.map +1 -0
  38. package/dist/server/handlers/observability-signal-context.js +70 -1
  39. package/dist/server/handlers/observability-signal-context.js.map +1 -0
  40. package/dist/server/handlers/observability.cjs +3 -2
  41. package/dist/server/handlers/observability.js +3 -3
  42. package/dist/server/handlers/responses.d.ts +11 -11
  43. package/dist/server/handlers/system.cjs +2 -2
  44. package/dist/server/handlers/system.d.ts +4 -0
  45. package/dist/server/handlers/system.d.ts.map +1 -1
  46. package/dist/server/handlers/system.js +2 -2
  47. package/dist/server/handlers/workspace.d.ts +23 -23
  48. package/dist/server/handlers.cjs +1 -1
  49. package/dist/server/handlers.js +1 -1
  50. package/dist/server/schemas/index.cjs +1 -1
  51. package/dist/server/schemas/index.js +1 -1
  52. package/dist/server/schemas/system.d.ts +4 -0
  53. package/dist/server/schemas/system.d.ts.map +1 -1
  54. package/dist/server/server-adapter/index.cjs +52 -2
  55. package/dist/server/server-adapter/index.cjs.map +1 -1
  56. package/dist/server/server-adapter/index.d.ts.map +1 -1
  57. package/dist/server/server-adapter/index.js +52 -2
  58. package/dist/server/server-adapter/index.js.map +1 -1
  59. package/dist/server/server-adapter/routes/observability.d.ts +166 -0
  60. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  61. package/dist/server/server-adapter/routes/responses.d.ts +11 -11
  62. package/dist/server/server-adapter/routes/system.d.ts +4 -0
  63. package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
  64. package/dist/server/server-adapter/routes/workspace.d.ts +23 -23
  65. package/dist/{observability-signal-context-CL5-rCWM.js → storage-CVkNJ5eB.js} +15 -69
  66. package/dist/storage-CVkNJ5eB.js.map +1 -0
  67. package/dist/{observability-signal-context-BYOFtbM_.cjs → storage-mEqRYYDg.cjs} +22 -70
  68. package/dist/storage-mEqRYYDg.cjs.map +1 -0
  69. package/dist/{system-CpGJI36-.cjs → system-C7u6PhUj.cjs} +3 -1
  70. package/dist/system-C7u6PhUj.cjs.map +1 -0
  71. package/dist/{system-D5hurfjV.js → system-sUWFGBbT.js} +3 -1
  72. package/dist/system-sUWFGBbT.js.map +1 -0
  73. package/package.json +5 -5
  74. package/dist/observability-new-endpoints-sgqxTIAg.cjs.map +0 -1
  75. package/dist/observability-new-endpoints-ynMOfgxs.js.map +0 -1
  76. package/dist/observability-signal-context-BYOFtbM_.cjs.map +0 -1
  77. package/dist/observability-signal-context-CL5-rCWM.js.map +0 -1
  78. package/dist/routes-B0HqAMAk.cjs.map +0 -1
  79. package/dist/routes-u0J9BsY1.js.map +0 -1
  80. package/dist/system-CpGJI36-.cjs.map +0 -1
  81. package/dist/system-D5hurfjV.js.map +0 -1
@@ -9,6 +9,7 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
9
9
  streamFormat?: 'sse' | 'stream';
10
10
  sseFlushOnConnect?: boolean;
11
11
  handler(params: {
12
+ rootSource?: "aggregated" | "legacy" | undefined;
12
13
  textSearch?: string | undefined;
13
14
  timeRange: {
14
15
  from: string;
@@ -37,6 +38,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
37
38
  traces: {
38
39
  traceId: string;
39
40
  rootSpanId: string;
41
+ rootKind?: "external" | "native" | undefined;
42
+ runtimeDurationMs?: number | null | undefined;
43
+ errorCount?: number | null | undefined;
40
44
  name: string;
41
45
  entityId: string | null;
42
46
  parentSpanId: string | null;
@@ -66,6 +70,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
66
70
  traces: {
67
71
  traceId: string;
68
72
  rootSpanId: string;
73
+ rootKind?: "external" | "native" | undefined;
74
+ runtimeDurationMs?: number | null | undefined;
75
+ errorCount?: number | null | undefined;
69
76
  name: string;
70
77
  entityId: string | null;
71
78
  parentSpanId: string | null;
@@ -99,6 +106,9 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
99
106
  traces: {
100
107
  traceId: string;
101
108
  rootSpanId: string;
109
+ rootKind?: "external" | "native" | undefined;
110
+ runtimeDurationMs?: number | null | undefined;
111
+ errorCount?: number | null | undefined;
102
112
  name: string;
103
113
  entityId: string | null;
104
114
  parentSpanId: string | null;
@@ -145,6 +155,10 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
145
155
  fga?: import("@mastra/core/auth").FGARouteConfig;
146
156
  onValidationError?: ValidationErrorHook;
147
157
  readonly __schemas?: import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodPreprocess<z.ZodObject<{
158
+ rootSource: z.ZodOptional<z.ZodEnum<{
159
+ aggregated: "aggregated";
160
+ legacy: "legacy";
161
+ }>>;
148
162
  textSearch: z.ZodOptional<z.ZodString>;
149
163
  timeRange: z.ZodObject<{
150
164
  from: z.ZodString;
@@ -181,6 +195,12 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
181
195
  traces: z.ZodArray<z.ZodObject<{
182
196
  traceId: z.ZodString;
183
197
  rootSpanId: z.ZodString;
198
+ rootKind: z.ZodOptional<z.ZodEnum<{
199
+ external: "external";
200
+ native: "native";
201
+ }>>;
202
+ runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
203
+ errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
184
204
  name: z.ZodString;
185
205
  entityId: z.ZodNullable<z.ZodString>;
186
206
  parentSpanId: z.ZodNullable<z.ZodString>;
@@ -213,6 +233,12 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
213
233
  traces: z.ZodArray<z.ZodObject<{
214
234
  traceId: z.ZodString;
215
235
  rootSpanId: z.ZodString;
236
+ rootKind: z.ZodOptional<z.ZodEnum<{
237
+ external: "external";
238
+ native: "native";
239
+ }>>;
240
+ runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
241
+ errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
216
242
  name: z.ZodString;
217
243
  entityId: z.ZodNullable<z.ZodString>;
218
244
  parentSpanId: z.ZodNullable<z.ZodString>;
@@ -249,6 +275,12 @@ export declare const QUERY_TRACES: Omit<import("@mastra/core/server").ApiRoute,
249
275
  traces: z.ZodArray<z.ZodObject<{
250
276
  traceId: z.ZodString;
251
277
  rootSpanId: z.ZodString;
278
+ rootKind: z.ZodOptional<z.ZodEnum<{
279
+ external: "external";
280
+ native: "native";
281
+ }>>;
282
+ runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
283
+ errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
252
284
  name: z.ZodString;
253
285
  entityId: z.ZodNullable<z.ZodString>;
254
286
  parentSpanId: z.ZodNullable<z.ZodString>;
@@ -2581,6 +2613,137 @@ export declare const CREATE_FEEDBACK: Omit<import("@mastra/core/server").ApiRout
2581
2613
  } & {
2582
2614
  readonly _mastraSchemaRoute: true;
2583
2615
  };
2616
+ export declare const REPLACE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
2617
+ method: string;
2618
+ path: `/${string}`;
2619
+ responseType: "json";
2620
+ streamFormat?: 'sse' | 'stream';
2621
+ sseFlushOnConnect?: boolean;
2622
+ handler(params: {
2623
+ feedbackId: string;
2624
+ } & {
2625
+ contextMode?: "provided" | "resolve" | undefined;
2626
+ feedback: {
2627
+ entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
2628
+ entityId?: string | null | undefined;
2629
+ entityName?: string | null | undefined;
2630
+ parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
2631
+ parentEntityId?: string | null | undefined;
2632
+ parentEntityName?: string | null | undefined;
2633
+ rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
2634
+ rootEntityId?: string | null | undefined;
2635
+ rootEntityName?: string | null | undefined;
2636
+ userId?: string | null | undefined;
2637
+ organizationId?: string | null | undefined;
2638
+ resourceId?: string | null | undefined;
2639
+ runId?: string | null | undefined;
2640
+ sessionId?: string | null | undefined;
2641
+ threadId?: string | null | undefined;
2642
+ requestId?: string | null | undefined;
2643
+ environment?: string | null | undefined;
2644
+ serviceName?: string | null | undefined;
2645
+ scope?: Record<string, unknown> | null | undefined;
2646
+ entityVersionId?: string | null | undefined;
2647
+ parentEntityVersionId?: string | null | undefined;
2648
+ rootEntityVersionId?: string | null | undefined;
2649
+ experimentId?: string | null | undefined;
2650
+ executionSource?: string | null | undefined;
2651
+ tags?: string[] | null | undefined;
2652
+ spanId?: string | null | undefined;
2653
+ feedbackSource?: string | null | undefined;
2654
+ source?: string | null | undefined;
2655
+ feedbackType: string;
2656
+ value: string | number;
2657
+ comment?: string | null | undefined;
2658
+ feedbackUserId?: string | null | undefined;
2659
+ sourceId?: string | null | undefined;
2660
+ metadata?: Record<string, unknown> | null | undefined;
2661
+ reviewStatus?: "needs-review" | "reviewed" | undefined;
2662
+ traceId: string;
2663
+ feedbackId: string;
2664
+ timestamp: string;
2665
+ };
2666
+ } & ServerContext): Promise<{
2667
+ success: boolean;
2668
+ data?: {
2669
+ feedbackId: string;
2670
+ traceId: string;
2671
+ spanId: string | null;
2672
+ timestamp: string;
2673
+ } | undefined;
2674
+ }>;
2675
+ pathParamSchema?: z.ZodSchema;
2676
+ queryParamSchema?: z.ZodSchema;
2677
+ bodySchema?: z.ZodSchema;
2678
+ responseSchema?: z.ZodSchema;
2679
+ openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
2680
+ maxBodySize?: number;
2681
+ deprecated?: boolean;
2682
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
2683
+ fga?: import("@mastra/core/auth").FGARouteConfig;
2684
+ onValidationError?: ValidationErrorHook;
2685
+ readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
2686
+ feedbackId: z.ZodString;
2687
+ }, z.core.$strip>, undefined, z.ZodObject<{
2688
+ contextMode: z.ZodOptional<z.ZodEnum<{
2689
+ provided: "provided";
2690
+ resolve: "resolve";
2691
+ }>>;
2692
+ feedback: z.ZodObject<{
2693
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
2694
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2695
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2696
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
2697
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2698
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2699
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
2700
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2701
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2702
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2703
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2705
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2706
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2707
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2708
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2709
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2710
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2712
+ entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2713
+ parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2714
+ rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2715
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2716
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2717
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2718
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2719
+ feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2720
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2721
+ feedbackType: z.ZodString;
2722
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
2723
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2724
+ feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2725
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2726
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2727
+ reviewStatus: z.ZodOptional<z.ZodEnum<{
2728
+ "needs-review": "needs-review";
2729
+ reviewed: "reviewed";
2730
+ }>>;
2731
+ traceId: z.ZodString;
2732
+ feedbackId: z.ZodString;
2733
+ timestamp: z.ZodISODateTime;
2734
+ }, z.core.$strip>;
2735
+ }, z.core.$strip>, z.ZodObject<{
2736
+ success: z.ZodBoolean;
2737
+ data: z.ZodOptional<z.ZodObject<{
2738
+ feedbackId: z.ZodString;
2739
+ traceId: z.ZodString;
2740
+ spanId: z.ZodNullable<z.ZodString>;
2741
+ timestamp: z.ZodISODateTime;
2742
+ }, z.core.$strip>>;
2743
+ }, z.core.$strip>> | undefined;
2744
+ } & {
2745
+ readonly _mastraSchemaRoute: true;
2746
+ };
2584
2747
  export declare const DELETE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
2585
2748
  method: string;
2586
2749
  path: `/${string}`;
@@ -4209,6 +4372,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
4209
4372
  };
4210
4373
  deltaPolling: boolean;
4211
4374
  traceQuery: boolean;
4375
+ traceQueryAggregatedRoots: boolean;
4212
4376
  traceQueryTextSearch: boolean;
4213
4377
  spanQueryTextSearch: boolean;
4214
4378
  traceQueryRootDuration: boolean;
@@ -4234,6 +4398,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
4234
4398
  spanQueryOutcomeFields: boolean;
4235
4399
  traceQueryOutcomeFields: boolean;
4236
4400
  traceRetentionDays?: number | undefined;
4401
+ feedbackReplacement: boolean;
4237
4402
  feedback: boolean;
4238
4403
  };
4239
4404
  }>;
@@ -4262,6 +4427,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
4262
4427
  }, z.core.$strip>;
4263
4428
  deltaPolling: z.ZodBoolean;
4264
4429
  traceQuery: z.ZodBoolean;
4430
+ traceQueryAggregatedRoots: z.ZodDefault<z.ZodBoolean>;
4265
4431
  traceQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
4266
4432
  spanQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
4267
4433
  traceQueryRootDuration: z.ZodBoolean;
@@ -4287,6 +4453,7 @@ export declare const GET_CAPABILITIES: Omit<import("@mastra/core/server").ApiRou
4287
4453
  spanQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
4288
4454
  traceQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
4289
4455
  traceRetentionDays: z.ZodOptional<z.ZodNumber>;
4456
+ feedbackReplacement: z.ZodDefault<z.ZodBoolean>;
4290
4457
  feedback: z.ZodBoolean;
4291
4458
  }, z.core.$strip>;
4292
4459
  }, z.core.$strip>> | undefined;
@@ -4301,6 +4468,7 @@ export declare const NEW_ROUTES: {
4301
4468
  streamFormat?: 'sse' | 'stream';
4302
4469
  sseFlushOnConnect?: boolean;
4303
4470
  handler(params: {
4471
+ rootSource?: "aggregated" | "legacy" | undefined;
4304
4472
  textSearch?: string | undefined;
4305
4473
  timeRange: {
4306
4474
  from: string;
@@ -4329,6 +4497,9 @@ export declare const NEW_ROUTES: {
4329
4497
  traces: {
4330
4498
  traceId: string;
4331
4499
  rootSpanId: string;
4500
+ rootKind?: "external" | "native" | undefined;
4501
+ runtimeDurationMs?: number | null | undefined;
4502
+ errorCount?: number | null | undefined;
4332
4503
  name: string;
4333
4504
  entityId: string | null;
4334
4505
  parentSpanId: string | null;
@@ -4358,6 +4529,9 @@ export declare const NEW_ROUTES: {
4358
4529
  traces: {
4359
4530
  traceId: string;
4360
4531
  rootSpanId: string;
4532
+ rootKind?: "external" | "native" | undefined;
4533
+ runtimeDurationMs?: number | null | undefined;
4534
+ errorCount?: number | null | undefined;
4361
4535
  name: string;
4362
4536
  entityId: string | null;
4363
4537
  parentSpanId: string | null;
@@ -4391,6 +4565,9 @@ export declare const NEW_ROUTES: {
4391
4565
  traces: {
4392
4566
  traceId: string;
4393
4567
  rootSpanId: string;
4568
+ rootKind?: "external" | "native" | undefined;
4569
+ runtimeDurationMs?: number | null | undefined;
4570
+ errorCount?: number | null | undefined;
4394
4571
  name: string;
4395
4572
  entityId: string | null;
4396
4573
  parentSpanId: string | null;
@@ -4437,6 +4614,10 @@ export declare const NEW_ROUTES: {
4437
4614
  fga?: import("@mastra/core/auth").FGARouteConfig;
4438
4615
  onValidationError?: ValidationErrorHook;
4439
4616
  readonly __schemas?: import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodPreprocess<z.ZodObject<{
4617
+ rootSource: z.ZodOptional<z.ZodEnum<{
4618
+ aggregated: "aggregated";
4619
+ legacy: "legacy";
4620
+ }>>;
4440
4621
  textSearch: z.ZodOptional<z.ZodString>;
4441
4622
  timeRange: z.ZodObject<{
4442
4623
  from: z.ZodString;
@@ -4473,6 +4654,12 @@ export declare const NEW_ROUTES: {
4473
4654
  traces: z.ZodArray<z.ZodObject<{
4474
4655
  traceId: z.ZodString;
4475
4656
  rootSpanId: z.ZodString;
4657
+ rootKind: z.ZodOptional<z.ZodEnum<{
4658
+ external: "external";
4659
+ native: "native";
4660
+ }>>;
4661
+ runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4662
+ errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4476
4663
  name: z.ZodString;
4477
4664
  entityId: z.ZodNullable<z.ZodString>;
4478
4665
  parentSpanId: z.ZodNullable<z.ZodString>;
@@ -4505,6 +4692,12 @@ export declare const NEW_ROUTES: {
4505
4692
  traces: z.ZodArray<z.ZodObject<{
4506
4693
  traceId: z.ZodString;
4507
4694
  rootSpanId: z.ZodString;
4695
+ rootKind: z.ZodOptional<z.ZodEnum<{
4696
+ external: "external";
4697
+ native: "native";
4698
+ }>>;
4699
+ runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4700
+ errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4508
4701
  name: z.ZodString;
4509
4702
  entityId: z.ZodNullable<z.ZodString>;
4510
4703
  parentSpanId: z.ZodNullable<z.ZodString>;
@@ -4541,6 +4734,12 @@ export declare const NEW_ROUTES: {
4541
4734
  traces: z.ZodArray<z.ZodObject<{
4542
4735
  traceId: z.ZodString;
4543
4736
  rootSpanId: z.ZodString;
4737
+ rootKind: z.ZodOptional<z.ZodEnum<{
4738
+ external: "external";
4739
+ native: "native";
4740
+ }>>;
4741
+ runtimeDurationMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4742
+ errorCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4544
4743
  name: z.ZodString;
4545
4744
  entityId: z.ZodNullable<z.ZodString>;
4546
4745
  parentSpanId: z.ZodNullable<z.ZodString>;
@@ -6346,6 +6545,137 @@ export declare const NEW_ROUTES: {
6346
6545
  } & {
6347
6546
  readonly _mastraSchemaRoute: true;
6348
6547
  };
6548
+ REPLACE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
6549
+ method: string;
6550
+ path: `/${string}`;
6551
+ responseType: "json";
6552
+ streamFormat?: 'sse' | 'stream';
6553
+ sseFlushOnConnect?: boolean;
6554
+ handler(params: {
6555
+ feedbackId: string;
6556
+ } & {
6557
+ contextMode?: "provided" | "resolve" | undefined;
6558
+ feedback: {
6559
+ entityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
6560
+ entityId?: string | null | undefined;
6561
+ entityName?: string | null | undefined;
6562
+ parentEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
6563
+ parentEntityId?: string | null | undefined;
6564
+ parentEntityName?: string | null | undefined;
6565
+ rootEntityType?: import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType | null | undefined;
6566
+ rootEntityId?: string | null | undefined;
6567
+ rootEntityName?: string | null | undefined;
6568
+ userId?: string | null | undefined;
6569
+ organizationId?: string | null | undefined;
6570
+ resourceId?: string | null | undefined;
6571
+ runId?: string | null | undefined;
6572
+ sessionId?: string | null | undefined;
6573
+ threadId?: string | null | undefined;
6574
+ requestId?: string | null | undefined;
6575
+ environment?: string | null | undefined;
6576
+ serviceName?: string | null | undefined;
6577
+ scope?: Record<string, unknown> | null | undefined;
6578
+ entityVersionId?: string | null | undefined;
6579
+ parentEntityVersionId?: string | null | undefined;
6580
+ rootEntityVersionId?: string | null | undefined;
6581
+ experimentId?: string | null | undefined;
6582
+ executionSource?: string | null | undefined;
6583
+ tags?: string[] | null | undefined;
6584
+ spanId?: string | null | undefined;
6585
+ feedbackSource?: string | null | undefined;
6586
+ source?: string | null | undefined;
6587
+ feedbackType: string;
6588
+ value: string | number;
6589
+ comment?: string | null | undefined;
6590
+ feedbackUserId?: string | null | undefined;
6591
+ sourceId?: string | null | undefined;
6592
+ metadata?: Record<string, unknown> | null | undefined;
6593
+ reviewStatus?: "needs-review" | "reviewed" | undefined;
6594
+ traceId: string;
6595
+ feedbackId: string;
6596
+ timestamp: string;
6597
+ };
6598
+ } & ServerContext): Promise<{
6599
+ success: boolean;
6600
+ data?: {
6601
+ feedbackId: string;
6602
+ traceId: string;
6603
+ spanId: string | null;
6604
+ timestamp: string;
6605
+ } | undefined;
6606
+ }>;
6607
+ pathParamSchema?: z.ZodSchema;
6608
+ queryParamSchema?: z.ZodSchema;
6609
+ bodySchema?: z.ZodSchema;
6610
+ responseSchema?: z.ZodSchema;
6611
+ openapi?: import("../server-adapter/openapi-utils").OpenAPIRoute;
6612
+ maxBodySize?: number;
6613
+ deprecated?: boolean;
6614
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
6615
+ fga?: import("@mastra/core/auth").FGARouteConfig;
6616
+ onValidationError?: ValidationErrorHook;
6617
+ readonly __schemas?: import("../server-adapter").RouteSchemas<z.ZodObject<{
6618
+ feedbackId: z.ZodString;
6619
+ }, z.core.$strip>, undefined, z.ZodObject<{
6620
+ contextMode: z.ZodOptional<z.ZodEnum<{
6621
+ provided: "provided";
6622
+ resolve: "resolve";
6623
+ }>>;
6624
+ feedback: z.ZodObject<{
6625
+ entityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
6626
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6627
+ entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6628
+ parentEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
6629
+ parentEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6630
+ parentEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6631
+ rootEntityType: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import("../../_types/@internal_core@0.1.4/dist/storage/index.js").EntityType>>>;
6632
+ rootEntityId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6633
+ rootEntityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6634
+ userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6635
+ organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6636
+ resourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6637
+ runId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6638
+ sessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6639
+ threadId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6640
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6641
+ environment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6642
+ serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6643
+ scope: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6644
+ entityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6645
+ parentEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6646
+ rootEntityVersionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6647
+ experimentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6648
+ executionSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6649
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6650
+ spanId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6651
+ feedbackSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6652
+ source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6653
+ feedbackType: z.ZodString;
6654
+ value: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
6655
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6656
+ feedbackUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6657
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6658
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
6659
+ reviewStatus: z.ZodOptional<z.ZodEnum<{
6660
+ "needs-review": "needs-review";
6661
+ reviewed: "reviewed";
6662
+ }>>;
6663
+ traceId: z.ZodString;
6664
+ feedbackId: z.ZodString;
6665
+ timestamp: z.ZodISODateTime;
6666
+ }, z.core.$strip>;
6667
+ }, z.core.$strip>, z.ZodObject<{
6668
+ success: z.ZodBoolean;
6669
+ data: z.ZodOptional<z.ZodObject<{
6670
+ feedbackId: z.ZodString;
6671
+ traceId: z.ZodString;
6672
+ spanId: z.ZodNullable<z.ZodString>;
6673
+ timestamp: z.ZodISODateTime;
6674
+ }, z.core.$strip>>;
6675
+ }, z.core.$strip>> | undefined;
6676
+ } & {
6677
+ readonly _mastraSchemaRoute: true;
6678
+ };
6349
6679
  DELETE_FEEDBACK: Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
6350
6680
  method: string;
6351
6681
  path: `/${string}`;
@@ -7974,6 +8304,7 @@ export declare const NEW_ROUTES: {
7974
8304
  };
7975
8305
  deltaPolling: boolean;
7976
8306
  traceQuery: boolean;
8307
+ traceQueryAggregatedRoots: boolean;
7977
8308
  traceQueryTextSearch: boolean;
7978
8309
  spanQueryTextSearch: boolean;
7979
8310
  traceQueryRootDuration: boolean;
@@ -7999,6 +8330,7 @@ export declare const NEW_ROUTES: {
7999
8330
  spanQueryOutcomeFields: boolean;
8000
8331
  traceQueryOutcomeFields: boolean;
8001
8332
  traceRetentionDays?: number | undefined;
8333
+ feedbackReplacement: boolean;
8002
8334
  feedback: boolean;
8003
8335
  };
8004
8336
  }>;
@@ -8027,6 +8359,7 @@ export declare const NEW_ROUTES: {
8027
8359
  }, z.core.$strip>;
8028
8360
  deltaPolling: z.ZodBoolean;
8029
8361
  traceQuery: z.ZodBoolean;
8362
+ traceQueryAggregatedRoots: z.ZodDefault<z.ZodBoolean>;
8030
8363
  traceQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
8031
8364
  spanQueryTextSearch: z.ZodDefault<z.ZodBoolean>;
8032
8365
  traceQueryRootDuration: z.ZodBoolean;
@@ -8052,6 +8385,7 @@ export declare const NEW_ROUTES: {
8052
8385
  spanQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
8053
8386
  traceQueryOutcomeFields: z.ZodDefault<z.ZodBoolean>;
8054
8387
  traceRetentionDays: z.ZodOptional<z.ZodNumber>;
8388
+ feedbackReplacement: z.ZodDefault<z.ZodBoolean>;
8055
8389
  feedback: z.ZodBoolean;
8056
8390
  }, z.core.$strip>;
8057
8391
  }, z.core.$strip>> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"observability-new-endpoints.d.ts","sourceRoot":"","sources":["../../../src/server/handlers/observability-new-endpoints.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAY3B,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAsB,MAAM,0BAA0B,CAAC;AA6O/F,eAAO,MAAM,YAAY;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCtB,CAAC"}
@@ -1 +1 @@
1
- export { t as AGGREGATE_SPANS, n as AGGREGATE_TRACES, r as CREATE_FEEDBACK, i as CREATE_SCORE, a as DELETE_FEEDBACK, o as DELETE_SCORES, s as GET_CAPABILITIES, c as GET_ENTITY_NAMES, l as GET_ENTITY_TYPES, u as GET_ENVIRONMENTS, d as GET_FEEDBACK, f as GET_FEEDBACK_AGGREGATE, p as GET_FEEDBACK_BREAKDOWN, m as GET_FEEDBACK_PERCENTILES, h as GET_FEEDBACK_TIME_SERIES, g as GET_METRIC_AGGREGATE, _ as GET_METRIC_BREAKDOWN, v as GET_METRIC_LABEL_KEYS, y as GET_METRIC_LABEL_VALUES, b as GET_METRIC_NAMES, x as GET_METRIC_PERCENTILES, S as GET_METRIC_TIME_SERIES, C as GET_SCORE, w as GET_SCORE_AGGREGATE, T as GET_SCORE_BREAKDOWN, E as GET_SCORE_PERCENTILES, D as GET_SCORE_TIME_SERIES, O as GET_SERVICE_NAMES, k as GET_TAGS, A as GET_TRACE_QUERY_FIELDS, j as GET_TRACE_QUERY_VALUES, M as LIST_FEEDBACK, N as LIST_LOGS, P as LIST_METRICS, F as LIST_SCORES, I as NEW_ROUTES, L as QUERY_SPANS, R as QUERY_THREADS, z as QUERY_TRACES, B as UPDATE_FEEDBACK_REVIEW_STATUS } from "../../observability-new-endpoints-ynMOfgxs.js";
1
+ export { t as AGGREGATE_SPANS, n as AGGREGATE_TRACES, r as CREATE_FEEDBACK, i as CREATE_SCORE, a as DELETE_FEEDBACK, o as DELETE_SCORES, s as GET_CAPABILITIES, c as GET_ENTITY_NAMES, l as GET_ENTITY_TYPES, u as GET_ENVIRONMENTS, d as GET_FEEDBACK, f as GET_FEEDBACK_AGGREGATE, p as GET_FEEDBACK_BREAKDOWN, m as GET_FEEDBACK_PERCENTILES, h as GET_FEEDBACK_TIME_SERIES, g as GET_METRIC_AGGREGATE, _ as GET_METRIC_BREAKDOWN, v as GET_METRIC_LABEL_KEYS, y as GET_METRIC_LABEL_VALUES, b as GET_METRIC_NAMES, x as GET_METRIC_PERCENTILES, S as GET_METRIC_TIME_SERIES, C as GET_SCORE, w as GET_SCORE_AGGREGATE, T as GET_SCORE_BREAKDOWN, E as GET_SCORE_PERCENTILES, D as GET_SCORE_TIME_SERIES, O as GET_SERVICE_NAMES, k as GET_TAGS, A as GET_TRACE_QUERY_FIELDS, j as GET_TRACE_QUERY_VALUES, M as LIST_FEEDBACK, N as LIST_LOGS, P as LIST_METRICS, F as LIST_SCORES, I as NEW_ROUTES, L as QUERY_SPANS, R as QUERY_THREADS, z as QUERY_TRACES, B as REPLACE_FEEDBACK, V as UPDATE_FEEDBACK_REVIEW_STATUS } from "../../observability-new-endpoints-B42gwVg4.js";
@@ -347,6 +347,7 @@ const NO_OBSERVABILITY_STORAGE_CAPABILITIES = {
347
347
  },
348
348
  deltaPolling: false,
349
349
  traceQuery: false,
350
+ traceQueryAggregatedRoots: false,
350
351
  traceQueryTextSearch: false,
351
352
  traceQueryRootDuration: false,
352
353
  traceQueryContextIds: false,
@@ -371,7 +372,8 @@ const NO_OBSERVABILITY_STORAGE_CAPABILITIES = {
371
372
  aggregateTimeToFirstMeasures: false,
372
373
  spanQueryOutcomeFields: false,
373
374
  traceQueryOutcomeFields: false,
374
- feedback: false
375
+ feedback: false,
376
+ feedbackReplacement: false
375
377
  };
376
378
  /**
377
379
  * Resolves which optional observability APIs the configured store can serve.
@@ -422,6 +424,7 @@ function getObservabilityStorageCapabilities(observabilityStore) {
422
424
  },
423
425
  deltaPolling: _mastra_core_features.coreFeatures.has("observability-delta-polling") && declares(OBSERVABILITY_DELTA_POLLING_STORAGE_FEATURE),
424
426
  traceQuery,
427
+ traceQueryAggregatedRoots: false,
425
428
  traceQueryTextSearch: traceQuery && _mastra_core_storage.observabilityTextSearchSchema !== void 0 && declares("trace-query-text-search"),
426
429
  traceQueryRootDuration: (traceQuery || threadQuery) && declares(OBSERVABILITY_TRACE_QUERY_ROOT_DURATION_STORAGE_FEATURE),
427
430
  traceQueryContextIds: (traceQuery || threadQuery) && declares(OBSERVABILITY_TRACE_QUERY_CONTEXT_IDS_STORAGE_FEATURE),
@@ -446,7 +449,8 @@ function getObservabilityStorageCapabilities(observabilityStore) {
446
449
  spanAggregate: newApiCore && supportsSpanAggregateCore() && declares(OBSERVABILITY_SPAN_AGGREGATE_STORAGE_FEATURE),
447
450
  spanAggregateModelDimensions: newApiCore && supportsSpanAggregateCore() && declares(OBSERVABILITY_SPAN_AGGREGATE_STORAGE_FEATURE) && declares(OBSERVABILITY_SPAN_AGGREGATE_MODEL_DIMENSIONS_STORAGE_FEATURE),
448
451
  aggregateTimeToFirstMeasures: newApiCore && supportsTraceAggregateCore() && (declares(OBSERVABILITY_TRACE_AGGREGATE_STORAGE_FEATURE) || declares(OBSERVABILITY_SPAN_AGGREGATE_STORAGE_FEATURE)) && declares(OBSERVABILITY_AGGREGATE_TIME_TO_FIRST_MEASURES_STORAGE_FEATURE),
449
- feedback: newApiCore && declares(OBSERVABILITY_FEEDBACK_STORAGE_FEATURE)
452
+ feedback: newApiCore && declares(OBSERVABILITY_FEEDBACK_STORAGE_FEATURE),
453
+ feedbackReplacement: newApiCore && declares("feedback-replacement") && typeof observabilityStore.replaceFeedback === "function"
450
454
  };
451
455
  }
452
456
  /**
@@ -612,6 +616,13 @@ const NEW_ROUTE_DEFS = {
612
616
  summary: "Create feedback",
613
617
  description: "Creates a single feedback record in the observability store"
614
618
  },
619
+ REPLACE_FEEDBACK: {
620
+ method: "PUT",
621
+ path: "/observability/feedback/:feedbackId",
622
+ summary: "Replace feedback",
623
+ description: "Replaces feedback while preserving its original identity and timestamp",
624
+ requiresPermission: "observability:write"
625
+ },
615
626
  DELETE_FEEDBACK: {
616
627
  method: "DELETE",
617
628
  path: "/observability/feedback",