@mastra/server 1.32.0-alpha.4 → 1.32.1-alpha.0

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 (160) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/dist/chunk-2J4KEVXS.cjs +47 -0
  3. package/dist/chunk-2J4KEVXS.cjs.map +1 -0
  4. package/dist/{chunk-RGGZPBPR.cjs → chunk-3TFM333T.cjs} +5 -5
  5. package/dist/{chunk-RGGZPBPR.cjs.map → chunk-3TFM333T.cjs.map} +1 -1
  6. package/dist/{chunk-6V7NAUV4.cjs → chunk-64YJOWH2.cjs} +4 -4
  7. package/dist/chunk-64YJOWH2.cjs.map +1 -0
  8. package/dist/chunk-6KDKASVR.js +22 -0
  9. package/dist/chunk-6KDKASVR.js.map +1 -0
  10. package/dist/{chunk-M5I6LD6N.js → chunk-ALUAG74N.js} +3 -3
  11. package/dist/{chunk-M5I6LD6N.js.map → chunk-ALUAG74N.js.map} +1 -1
  12. package/dist/{chunk-MOWSRYNJ.js → chunk-CFK4R6LE.js} +3 -3
  13. package/dist/chunk-CFK4R6LE.js.map +1 -0
  14. package/dist/{chunk-4H5DNMAO.js → chunk-DFSUBEGE.js} +3 -3
  15. package/dist/{chunk-4H5DNMAO.js.map → chunk-DFSUBEGE.js.map} +1 -1
  16. package/dist/chunk-DLYZIVMO.cjs +35 -0
  17. package/dist/chunk-DLYZIVMO.cjs.map +1 -0
  18. package/dist/{chunk-FFNKVUBU.js → chunk-DSJM7F5A.js} +4 -4
  19. package/dist/chunk-DSJM7F5A.js.map +1 -0
  20. package/dist/{chunk-LX3ESTTN.cjs → chunk-ELU7GCBF.cjs} +10 -9
  21. package/dist/chunk-ELU7GCBF.cjs.map +1 -0
  22. package/dist/{chunk-6AYGQBID.cjs → chunk-F35U36E2.cjs} +19 -19
  23. package/dist/{chunk-6AYGQBID.cjs.map → chunk-F35U36E2.cjs.map} +1 -1
  24. package/dist/{chunk-SZT2CUS6.cjs → chunk-F6MVX6E6.cjs} +4 -4
  25. package/dist/{chunk-SZT2CUS6.cjs.map → chunk-F6MVX6E6.cjs.map} +1 -1
  26. package/dist/{chunk-XDGV7WG3.js → chunk-FE2MMCKW.js} +6 -6
  27. package/dist/chunk-FE2MMCKW.js.map +1 -0
  28. package/dist/{chunk-4Y77CVSI.js → chunk-H656FJUZ.js} +3 -3
  29. package/dist/{chunk-4Y77CVSI.js.map → chunk-H656FJUZ.js.map} +1 -1
  30. package/dist/chunk-KMGGICVD.js +13 -0
  31. package/dist/chunk-KMGGICVD.js.map +1 -0
  32. package/dist/{chunk-QMEGOGRN.js → chunk-KUCUFXLD.js} +5 -5
  33. package/dist/chunk-KUCUFXLD.js.map +1 -0
  34. package/dist/chunk-L4M23OMB.cjs +44 -0
  35. package/dist/chunk-L4M23OMB.cjs.map +1 -0
  36. package/dist/{chunk-EYSAQHCP.cjs → chunk-LYXVNT6L.cjs} +16 -16
  37. package/dist/chunk-LYXVNT6L.cjs.map +1 -0
  38. package/dist/{chunk-FQ7YYW4Q.js → chunk-MI3PFFAR.js} +4 -4
  39. package/dist/chunk-MI3PFFAR.js.map +1 -0
  40. package/dist/{chunk-PPD3LELX.js → chunk-MQVBXOMA.js} +4 -4
  41. package/dist/{chunk-PPD3LELX.js.map → chunk-MQVBXOMA.js.map} +1 -1
  42. package/dist/chunk-NF5SYJHK.js +21 -0
  43. package/dist/chunk-NF5SYJHK.js.map +1 -0
  44. package/dist/{chunk-RQVAWLYS.js → chunk-NVM46NSG.js} +6 -6
  45. package/dist/chunk-NVM46NSG.js.map +1 -0
  46. package/dist/{chunk-IYQS5YRY.cjs → chunk-PJYQMPXT.cjs} +7 -7
  47. package/dist/{chunk-IYQS5YRY.cjs.map → chunk-PJYQMPXT.cjs.map} +1 -1
  48. package/dist/{chunk-WYHOHNYZ.cjs → chunk-QAFWIUAD.cjs} +7 -7
  49. package/dist/{chunk-WYHOHNYZ.cjs.map → chunk-QAFWIUAD.cjs.map} +1 -1
  50. package/dist/{chunk-YTCMTRWU.cjs → chunk-R6JGZX7Q.cjs} +5 -5
  51. package/dist/chunk-R6JGZX7Q.cjs.map +1 -0
  52. package/dist/{chunk-6XEWLKEU.js → chunk-SOJ2UNB6.js} +3 -3
  53. package/dist/{chunk-6XEWLKEU.js.map → chunk-SOJ2UNB6.js.map} +1 -1
  54. package/dist/{chunk-OYVLXYUL.js → chunk-UOC4K3RU.js} +3 -3
  55. package/dist/chunk-UOC4K3RU.js.map +1 -0
  56. package/dist/{chunk-RHA7MWOI.cjs → chunk-URRUDXO5.cjs} +39 -39
  57. package/dist/chunk-URRUDXO5.cjs.map +1 -0
  58. package/dist/{chunk-P2PZPH24.cjs → chunk-UWBU3GWI.cjs} +4 -4
  59. package/dist/{chunk-P2PZPH24.cjs.map → chunk-UWBU3GWI.cjs.map} +1 -1
  60. package/dist/{chunk-L5GHLBMN.cjs → chunk-V4DZUIDM.cjs} +63 -63
  61. package/dist/chunk-V4DZUIDM.cjs.map +1 -0
  62. package/dist/{chunk-L3LU2FSK.js → chunk-V5AXCSSN.js} +4 -3
  63. package/dist/chunk-V5AXCSSN.js.map +1 -0
  64. package/dist/{chunk-IIM2YSQ4.js → chunk-W5JSRJAK.js} +4 -4
  65. package/dist/{chunk-IIM2YSQ4.js.map → chunk-W5JSRJAK.js.map} +1 -1
  66. package/dist/{chunk-CQUVNOZ6.cjs → chunk-WZKXMP2U.cjs} +55 -55
  67. package/dist/chunk-WZKXMP2U.cjs.map +1 -0
  68. package/dist/{chunk-2OGDU5U7.js → chunk-XCIJHMUE.js} +4 -4
  69. package/dist/chunk-XCIJHMUE.js.map +1 -0
  70. package/dist/{chunk-BOFX5I7S.cjs → chunk-XI4WY2MX.cjs} +13 -13
  71. package/dist/chunk-XI4WY2MX.cjs.map +1 -0
  72. package/dist/{chunk-Q5EQ3HQY.cjs → chunk-Y32L6Z5V.cjs} +8 -8
  73. package/dist/{chunk-Q5EQ3HQY.cjs.map → chunk-Y32L6Z5V.cjs.map} +1 -1
  74. package/dist/{chunk-4WWS6GKP.js → chunk-YEAIZPBY.js} +3 -3
  75. package/dist/{chunk-4WWS6GKP.js.map → chunk-YEAIZPBY.js.map} +1 -1
  76. package/dist/{chunk-W4VETOUS.cjs → chunk-YF6DVWNN.cjs} +21 -21
  77. package/dist/chunk-YF6DVWNN.cjs.map +1 -0
  78. package/dist/docs/SKILL.md +1 -1
  79. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  80. package/dist/server/fga-permissions.d.ts +31 -0
  81. package/dist/server/fga-permissions.d.ts.map +1 -0
  82. package/dist/server/handlers/a2a.cjs +10 -10
  83. package/dist/server/handlers/a2a.js +1 -1
  84. package/dist/server/handlers/agent-builder.cjs +16 -16
  85. package/dist/server/handlers/agent-builder.js +1 -1
  86. package/dist/server/handlers/agents.cjs +38 -38
  87. package/dist/server/handlers/agents.d.ts.map +1 -1
  88. package/dist/server/handlers/agents.js +1 -1
  89. package/dist/server/handlers/conversations.cjs +5 -5
  90. package/dist/server/handlers/conversations.js +1 -1
  91. package/dist/server/handlers/logs.cjs +4 -4
  92. package/dist/server/handlers/logs.js +1 -1
  93. package/dist/server/handlers/mcp.cjs +11 -11
  94. package/dist/server/handlers/mcp.d.ts.map +1 -1
  95. package/dist/server/handlers/mcp.js +1 -1
  96. package/dist/server/handlers/memory.cjs +27 -27
  97. package/dist/server/handlers/memory.js +1 -1
  98. package/dist/server/handlers/observability-new-endpoints.d.ts +6 -6
  99. package/dist/server/handlers/observability-storage-schemas.cjs +28 -0
  100. package/dist/server/handlers/observability-storage-schemas.cjs.map +1 -0
  101. package/dist/server/handlers/observability-storage-schemas.d.ts +31 -0
  102. package/dist/server/handlers/observability-storage-schemas.d.ts.map +1 -0
  103. package/dist/server/handlers/observability-storage-schemas.js +3 -0
  104. package/dist/server/handlers/observability-storage-schemas.js.map +1 -0
  105. package/dist/server/handlers/observability.cjs +10 -10
  106. package/dist/server/handlers/observability.d.ts +4 -208
  107. package/dist/server/handlers/observability.d.ts.map +1 -1
  108. package/dist/server/handlers/observability.js +1 -1
  109. package/dist/server/handlers/responses.cjs +4 -4
  110. package/dist/server/handlers/responses.js +1 -1
  111. package/dist/server/handlers/responses.storage.cjs +8 -8
  112. package/dist/server/handlers/responses.storage.js +1 -1
  113. package/dist/server/handlers/schedules-workflows-shim.cjs +12 -0
  114. package/dist/server/handlers/schedules-workflows-shim.cjs.map +1 -0
  115. package/dist/server/handlers/schedules-workflows-shim.d.ts +21 -0
  116. package/dist/server/handlers/schedules-workflows-shim.d.ts.map +1 -0
  117. package/dist/server/handlers/schedules-workflows-shim.js +3 -0
  118. package/dist/server/handlers/schedules-workflows-shim.js.map +1 -0
  119. package/dist/server/handlers/schedules.cjs +6 -6
  120. package/dist/server/handlers/schedules.d.ts.map +1 -1
  121. package/dist/server/handlers/schedules.js +1 -1
  122. package/dist/server/handlers/scores.cjs +7 -7
  123. package/dist/server/handlers/scores.js +1 -1
  124. package/dist/server/handlers/tools.cjs +6 -6
  125. package/dist/server/handlers/tools.js +1 -1
  126. package/dist/server/handlers/utils.cjs +10 -10
  127. package/dist/server/handlers/utils.d.ts.map +1 -1
  128. package/dist/server/handlers/utils.js +1 -1
  129. package/dist/server/handlers/voice.cjs +8 -8
  130. package/dist/server/handlers/voice.js +1 -1
  131. package/dist/server/handlers/workflows.cjs +24 -24
  132. package/dist/server/handlers/workflows.d.ts.map +1 -1
  133. package/dist/server/handlers/workflows.js +1 -1
  134. package/dist/server/handlers.cjs +32 -32
  135. package/dist/server/handlers.js +14 -14
  136. package/dist/server/schemas/index.cjs +73 -73
  137. package/dist/server/schemas/index.js +3 -3
  138. package/dist/server/server-adapter/index.cjs +157 -157
  139. package/dist/server/server-adapter/index.js +18 -18
  140. package/dist/server/server-adapter/routes/observability.d.ts +6 -210
  141. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  142. package/package.json +7 -7
  143. package/dist/chunk-2OGDU5U7.js.map +0 -1
  144. package/dist/chunk-6V7NAUV4.cjs.map +0 -1
  145. package/dist/chunk-BOFX5I7S.cjs.map +0 -1
  146. package/dist/chunk-CQUVNOZ6.cjs.map +0 -1
  147. package/dist/chunk-EYSAQHCP.cjs.map +0 -1
  148. package/dist/chunk-FFNKVUBU.js.map +0 -1
  149. package/dist/chunk-FQ7YYW4Q.js.map +0 -1
  150. package/dist/chunk-L3LU2FSK.js.map +0 -1
  151. package/dist/chunk-L5GHLBMN.cjs.map +0 -1
  152. package/dist/chunk-LX3ESTTN.cjs.map +0 -1
  153. package/dist/chunk-MOWSRYNJ.js.map +0 -1
  154. package/dist/chunk-OYVLXYUL.js.map +0 -1
  155. package/dist/chunk-QMEGOGRN.js.map +0 -1
  156. package/dist/chunk-RHA7MWOI.cjs.map +0 -1
  157. package/dist/chunk-RQVAWLYS.js.map +0 -1
  158. package/dist/chunk-W4VETOUS.cjs.map +0 -1
  159. package/dist/chunk-XDGV7WG3.js.map +0 -1
  160. package/dist/chunk-YTCMTRWU.cjs.map +0 -1
@@ -104,215 +104,11 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
104
104
  spanId: import("zod").ZodString;
105
105
  status: import("zod").ZodEnum<typeof import("@mastra/core/storage").TraceStatus>;
106
106
  }, import("zod/v4/core").$strip>>;
107
- }, import("zod/v4/core").$strip>>, "GET", "/observability/traces">, import(".").ServerRoute<Record<string, unknown>, {
108
- pagination: {
109
- total: number;
110
- page: number;
111
- perPage: number | false;
112
- hasMore: boolean;
113
- };
114
- branches: {
115
- createdAt: Date;
116
- updatedAt: Date | null;
117
- name: string;
118
- spanType: import("@mastra/core/observability").SpanType;
119
- isEvent: boolean;
120
- startedAt: Date;
121
- traceId: string;
122
- spanId: string;
123
- status: import("@mastra/core/storage").TraceStatus;
124
- experimentId?: string | null | undefined;
125
- attributes?: Record<string, unknown> | null | undefined;
126
- links?: unknown[] | null | undefined;
127
- input?: unknown;
128
- output?: unknown;
129
- error?: unknown;
130
- endedAt?: Date | null | undefined;
131
- requestContext?: Record<string, unknown> | null | undefined;
132
- metadata?: Record<string, unknown> | null | undefined;
133
- tags?: string[] | null | undefined;
134
- source?: string | null | undefined;
135
- entityType?: import("@mastra/core/storage").EntityType | null | undefined;
136
- entityId?: string | null | undefined;
137
- entityName?: string | null | undefined;
138
- parentEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
139
- parentEntityId?: string | null | undefined;
140
- parentEntityName?: string | null | undefined;
141
- rootEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
142
- rootEntityId?: string | null | undefined;
143
- rootEntityName?: string | null | undefined;
144
- userId?: string | null | undefined;
145
- organizationId?: string | null | undefined;
146
- resourceId?: string | null | undefined;
147
- runId?: string | null | undefined;
148
- sessionId?: string | null | undefined;
149
- threadId?: string | null | undefined;
150
- requestId?: string | null | undefined;
151
- environment?: string | null | undefined;
152
- serviceName?: string | null | undefined;
153
- scope?: Record<string, unknown> | null | undefined;
154
- entityVersionId?: string | null | undefined;
155
- parentEntityVersionId?: string | null | undefined;
156
- rootEntityVersionId?: string | null | undefined;
157
- parentSpanId?: string | null | undefined;
158
- }[];
159
- }, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<Readonly<{
160
- [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
161
- }>, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
162
- pagination: import("zod").ZodObject<{
163
- total: import("zod").ZodNumber;
164
- page: import("zod").ZodNumber;
165
- perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
166
- hasMore: import("zod").ZodBoolean;
167
- }, import("zod/v4/core").$strip>;
168
- branches: import("zod").ZodArray<import("zod").ZodObject<{
169
- createdAt: import("zod").ZodDate;
170
- updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
171
- experimentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
172
- attributes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
173
- links: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodUnknown>>>;
174
- input: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
175
- output: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
176
- error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
177
- endedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
178
- requestContext: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
179
- metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
180
- tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
181
- source: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
182
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
183
- entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
184
- entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
185
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
186
- parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
187
- parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
188
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
189
- rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
190
- rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
191
- userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
192
- organizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
193
- resourceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
194
- runId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
195
- sessionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
196
- threadId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
197
- requestId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
198
- environment: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
199
- serviceName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
200
- scope: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
201
- entityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
202
- parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
203
- rootEntityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
204
- name: import("zod").ZodString;
205
- spanType: import("zod").ZodEnum<typeof import("@mastra/core/observability").SpanType>;
206
- isEvent: import("zod").ZodBoolean;
207
- startedAt: import("zod").ZodDate;
208
- parentSpanId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
209
- traceId: import("zod").ZodString;
210
- spanId: import("zod").ZodString;
211
- status: import("zod").ZodEnum<typeof import("@mastra/core/storage").TraceStatus>;
212
- }, import("zod/v4/core").$strip>>;
213
- }, import("zod/v4/core").$strip>>, "GET", "/observability/branches">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
214
- traceId: import("zod").ZodString;
215
- spanId: import("zod").ZodString;
216
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<Readonly<{
107
+ }, import("zod/v4/core").$strip>>, "GET", "/observability/traces">, import(".").ServerRoute<Record<string, unknown>, any, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<Readonly<{
217
108
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
218
- }>, import("zod/v4/core").$strip>, undefined>, {
219
- traceId: string;
220
- spans: {
221
- createdAt: Date;
222
- updatedAt: Date | null;
223
- name: string;
224
- spanType: import("@mastra/core/observability").SpanType;
225
- isEvent: boolean;
226
- startedAt: Date;
227
- traceId: string;
228
- spanId: string;
229
- experimentId?: string | null | undefined;
230
- attributes?: Record<string, unknown> | null | undefined;
231
- links?: unknown[] | null | undefined;
232
- input?: unknown;
233
- output?: unknown;
234
- error?: unknown;
235
- endedAt?: Date | null | undefined;
236
- requestContext?: Record<string, unknown> | null | undefined;
237
- metadata?: Record<string, unknown> | null | undefined;
238
- tags?: string[] | null | undefined;
239
- source?: string | null | undefined;
240
- entityType?: import("@mastra/core/storage").EntityType | null | undefined;
241
- entityId?: string | null | undefined;
242
- entityName?: string | null | undefined;
243
- parentEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
244
- parentEntityId?: string | null | undefined;
245
- parentEntityName?: string | null | undefined;
246
- rootEntityType?: import("@mastra/core/storage").EntityType | null | undefined;
247
- rootEntityId?: string | null | undefined;
248
- rootEntityName?: string | null | undefined;
249
- userId?: string | null | undefined;
250
- organizationId?: string | null | undefined;
251
- resourceId?: string | null | undefined;
252
- runId?: string | null | undefined;
253
- sessionId?: string | null | undefined;
254
- threadId?: string | null | undefined;
255
- requestId?: string | null | undefined;
256
- environment?: string | null | undefined;
257
- serviceName?: string | null | undefined;
258
- scope?: Record<string, unknown> | null | undefined;
259
- entityVersionId?: string | null | undefined;
260
- parentEntityVersionId?: string | null | undefined;
261
- rootEntityVersionId?: string | null | undefined;
262
- parentSpanId?: string | null | undefined;
263
- }[];
264
- }, "json", import(".").RouteSchemas<import("zod").ZodObject<{
265
- traceId: import("zod").ZodString;
266
- spanId: import("zod").ZodString;
267
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<Readonly<{
109
+ }>, import("zod/v4/core").$strip>, undefined, any>, "GET", "/observability/branches">, import(".").ServerRoute<any, any, "json", import(".").RouteSchemas<any, import("zod").ZodObject<Readonly<{
268
110
  [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
269
- }>, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
270
- traceId: import("zod").ZodString;
271
- spans: import("zod").ZodArray<import("zod").ZodObject<{
272
- createdAt: import("zod").ZodDate;
273
- updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
274
- experimentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
275
- attributes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
276
- links: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodUnknown>>>;
277
- input: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
278
- output: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
279
- error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
280
- endedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
281
- requestContext: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
282
- metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
283
- tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
284
- source: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
285
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
286
- entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
287
- entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
288
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
289
- parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
290
- parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
291
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/storage").EntityType>>>;
292
- rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
293
- rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
294
- userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
295
- organizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
296
- resourceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
297
- runId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
298
- sessionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
299
- threadId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
300
- requestId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
301
- environment: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
302
- serviceName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
303
- scope: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
304
- entityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
305
- parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
306
- rootEntityVersionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
307
- name: import("zod").ZodString;
308
- spanType: import("zod").ZodEnum<typeof import("@mastra/core/observability").SpanType>;
309
- isEvent: import("zod").ZodBoolean;
310
- startedAt: import("zod").ZodDate;
311
- parentSpanId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
312
- traceId: import("zod").ZodString;
313
- spanId: import("zod").ZodString;
314
- }, import("zod/v4/core").$strip>>;
315
- }, import("zod/v4/core").$strip>>, "GET", "/observability/traces/:traceId/branches/:spanId">, import(".").ServerRoute<{
111
+ }>, import("zod/v4/core").$strip>, undefined, any>, "GET", "/observability/traces/:traceId/branches/:spanId">, import(".").ServerRoute<{
316
112
  traceId: string;
317
113
  }, {
318
114
  traceId: string;
@@ -2028,7 +1824,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
2028
1824
  }, import("zod/v4/core").$strip>>, string, `/${string}`>, import(".").ServerRoute<{
2029
1825
  name: string[];
2030
1826
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "count_distinct" | "last";
2031
- distinctColumn?: "name" | "model" | "provider" | "entityType" | "entityName" | "serviceName" | "environment" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "executionSource" | undefined;
1827
+ distinctColumn?: "name" | "model" | "provider" | "entityType" | "entityName" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "environment" | "serviceName" | "executionSource" | undefined;
2032
1828
  filters?: {
2033
1829
  name?: string[] | undefined;
2034
1830
  source?: string | undefined;
@@ -2154,7 +1950,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
2154
1950
  name: string[];
2155
1951
  groupBy: string[];
2156
1952
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "count_distinct" | "last";
2157
- distinctColumn?: "name" | "model" | "provider" | "entityType" | "entityName" | "serviceName" | "environment" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "executionSource" | undefined;
1953
+ distinctColumn?: "name" | "model" | "provider" | "entityType" | "entityName" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "environment" | "serviceName" | "executionSource" | undefined;
2158
1954
  filters?: {
2159
1955
  name?: string[] | undefined;
2160
1956
  source?: string | undefined;
@@ -2280,7 +2076,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Rec
2280
2076
  name: string[];
2281
2077
  interval: "5m" | "1h" | "1m" | "15m" | "1d";
2282
2078
  aggregation: "count" | "max" | "min" | "sum" | "avg" | "count_distinct" | "last";
2283
- distinctColumn?: "name" | "model" | "provider" | "entityType" | "entityName" | "serviceName" | "environment" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "executionSource" | undefined;
2079
+ distinctColumn?: "name" | "model" | "provider" | "entityType" | "entityName" | "parentEntityType" | "parentEntityName" | "rootEntityType" | "rootEntityName" | "environment" | "serviceName" | "executionSource" | undefined;
2284
2080
  filters?: {
2285
2081
  name?: string[] | undefined;
2286
2082
  source?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/observability.ts"],"names":[],"mappings":"AAwCA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAsCvB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.32.0-alpha.4",
3
+ "version": "1.32.1-alpha.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -114,13 +114,13 @@
114
114
  "zod": "^4.3.6",
115
115
  "zod-to-ts": "^2.0.0",
116
116
  "@internal/core": "0.0.0",
117
- "@internal/types-builder": "0.0.65",
118
- "@internal/test-utils": "0.0.26",
119
- "@internal/storage-test-utils": "0.0.86",
120
- "@mastra/core": "1.32.0-alpha.4",
121
- "@internal/lint": "0.0.90",
117
+ "@internal/storage-test-utils": "0.0.87",
118
+ "@internal/lint": "0.0.91",
119
+ "@internal/test-utils": "0.0.27",
120
+ "@internal/types-builder": "0.0.66",
121
+ "@mastra/agent-builder": "1.0.33",
122
122
  "@mastra/schema-compat": "1.2.9",
123
- "@mastra/agent-builder": "1.0.33-alpha.1"
123
+ "@mastra/core": "1.32.1-alpha.0"
124
124
  },
125
125
  "homepage": "https://mastra.ai",
126
126
  "repository": {