@mastra/server 1.68.0-alpha.0 → 1.68.0-alpha.11

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 (471) hide show
  1. package/dist/_types/@internal_core/dist/storage/index.d.ts +5 -3
  2. package/dist/_types/@internal_core/package.json +1 -0
  3. package/dist/_types/@internal_voice/dist/_types/@internal_core/dist/routes/index.d.ts +1 -1
  4. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/checks.d.ts +1 -1
  5. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/compat.d.ts +9 -11
  6. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/deep-partial.d.ts +14 -0
  7. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/errors.d.ts +3 -4
  8. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/external.d.ts +5 -2
  9. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/in-out.d.ts +8 -0
  10. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/index.d.ts +1 -2
  11. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/iso.d.ts +2 -17
  12. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/parse.d.ts +17 -4
  13. package/dist/_types/@internal_voice/dist/_types/zod/v4/classic/schemas.d.ts +68 -19
  14. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/api.d.ts +22 -12
  15. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/checks.d.ts +29 -13
  16. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/compile.d.ts +65 -0
  17. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/core.d.ts +16 -4
  18. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/doc.d.ts +3 -1
  19. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/errors.d.ts +4 -0
  20. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/index.d.ts +3 -0
  21. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/json-schema-generator.d.ts +2 -2
  22. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/json-schema-processors.d.ts +16 -0
  23. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/json-schema.d.ts +2 -1
  24. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/memoizer.d.ts +15 -0
  25. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/parse.d.ts +14 -11
  26. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/regexes.d.ts +5 -0
  27. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/schemas.d.ts +123 -34
  28. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/to-json-schema.d.ts +45 -5
  29. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/util.d.ts +79 -1
  30. package/dist/_types/@internal_voice/dist/_types/zod/v4/core/versions.d.ts +1 -1
  31. package/dist/_types/@internal_voice/dist/_types/zod/v4/index.d.cts +2 -2
  32. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/bn.d.ts +4 -0
  33. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/ckb.d.ts +4 -0
  34. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/gu.d.ts +4 -0
  35. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/hi.d.ts +4 -0
  36. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/index.d.ts +11 -0
  37. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/kn.d.ts +4 -0
  38. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/ne.d.ts +4 -0
  39. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/nn.d.ts +4 -0
  40. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/pt-BR.d.ts +4 -0
  41. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/sk.d.ts +4 -0
  42. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/tg.d.ts +4 -0
  43. package/dist/_types/@internal_voice/dist/_types/zod/v4/locales/tk.d.ts +4 -0
  44. package/dist/_types/@internal_voice/dist/routes/index.d.ts +15 -15
  45. package/dist/_types/@internal_voice/package.json +1 -0
  46. package/dist/_types/@mastra_schema-compat/dist/_types/@internal_ai-sdk-v4/dist/index.d.ts +1 -1
  47. package/dist/_types/@mastra_schema-compat/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +1 -1
  48. package/dist/_types/@mastra_schema-compat/dist/_types/@internal_ai-v6/dist/index.d.ts +1 -1
  49. package/dist/_types/@mastra_schema-compat/dist/provider-compats/anthropic.d.ts +2 -2
  50. package/dist/_types/@mastra_schema-compat/dist/provider-compats/deepseek.d.ts +2 -2
  51. package/dist/_types/@mastra_schema-compat/dist/provider-compats/google.d.ts +1 -1
  52. package/dist/_types/@mastra_schema-compat/dist/provider-compats/meta.d.ts +2 -2
  53. package/dist/_types/@mastra_schema-compat/dist/provider-compats/openai.d.ts +1 -1
  54. package/dist/_types/@mastra_schema-compat/dist/schema.types.d.ts +4 -4
  55. package/dist/_types/@mastra_schema-compat/dist/standard-schema/standard-schema.d.ts +2 -2
  56. package/dist/_types/@mastra_schema-compat/dist/standard-schema/standard-schema.types.d.ts +1 -1
  57. package/dist/_types/@mastra_schema-compat/dist/zod-to-json.d.ts +1 -1
  58. package/dist/_types/@mastra_schema-compat/package.json +1 -0
  59. package/dist/{a2a-8C4O2dVJ.js → a2a-BS0gTQk3.js} +94 -14
  60. package/dist/a2a-BS0gTQk3.js.map +1 -0
  61. package/dist/{a2a-MPoM5lzS.cjs → a2a-CBl-c-lm.cjs} +105 -13
  62. package/dist/a2a-CBl-c-lm.cjs.map +1 -0
  63. package/dist/{a2a-DQ8GeDz4.cjs → a2a-Cr-pxMJm.cjs} +151 -47
  64. package/dist/a2a-Cr-pxMJm.cjs.map +1 -0
  65. package/dist/{a2a-DUBjstWk.js → a2a-D2AP2MGB.js} +151 -47
  66. package/dist/a2a-D2AP2MGB.js.map +1 -0
  67. package/dist/{agent-versions-NGajm4l5.js → agent-versions-CiV6tT74.js} +2 -2
  68. package/dist/{agent-versions-NGajm4l5.js.map → agent-versions-CiV6tT74.js.map} +1 -1
  69. package/dist/{agent-versions-D99q4Gos.cjs → agent-versions-D2QdSbFn.cjs} +2 -2
  70. package/dist/{agent-versions-D99q4Gos.cjs.map → agent-versions-D2QdSbFn.cjs.map} +1 -1
  71. package/dist/{agents-CZE_MSQE.cjs → agents-BN8QmLxk.cjs} +25 -7
  72. package/dist/agents-BN8QmLxk.cjs.map +1 -0
  73. package/dist/{agents-ssoMemNs.js → agents-DCYUhwHn.js} +25 -7
  74. package/dist/agents-DCYUhwHn.js.map +1 -0
  75. package/dist/{api-schema-manifest-CeREx1dB.js → api-schema-manifest-DRBrp4e0.js} +3 -3
  76. package/dist/{api-schema-manifest-CeREx1dB.js.map → api-schema-manifest-DRBrp4e0.js.map} +1 -1
  77. package/dist/{api-schema-manifest-DzWP4nLu.cjs → api-schema-manifest-hEcC_Jev.cjs} +3 -3
  78. package/dist/{api-schema-manifest-DzWP4nLu.cjs.map → api-schema-manifest-hEcC_Jev.cjs.map} +1 -1
  79. package/dist/{background-tasks-kXPoCvgG.js → background-tasks-D7X7M0TU.js} +2 -2
  80. package/dist/{background-tasks-kXPoCvgG.js.map → background-tasks-D7X7M0TU.js.map} +1 -1
  81. package/dist/{background-tasks-CFJ0vNgp.cjs → background-tasks-NjqWJcUw.cjs} +2 -2
  82. package/dist/{background-tasks-CFJ0vNgp.cjs.map → background-tasks-NjqWJcUw.cjs.map} +1 -1
  83. package/dist/{builder-registry-r71f11_E.cjs → builder-registry-BtwztV7s.cjs} +4 -4
  84. package/dist/{builder-registry-r71f11_E.cjs.map → builder-registry-BtwztV7s.cjs.map} +1 -1
  85. package/dist/{builder-registry-DI3Ysclf.js → builder-registry-CZW_Z4DV.js} +4 -4
  86. package/dist/{builder-registry-DI3Ysclf.js.map → builder-registry-CZW_Z4DV.js.map} +1 -1
  87. package/dist/{channels-CGDo0Prv.cjs → channels-pCkdvG0z.cjs} +2 -2
  88. package/dist/{channels-CGDo0Prv.cjs.map → channels-pCkdvG0z.cjs.map} +1 -1
  89. package/dist/{channels-B_K1oJ7S.js → channels-uSO1ySnT.js} +2 -2
  90. package/dist/{channels-B_K1oJ7S.js.map → channels-uSO1ySnT.js.map} +1 -1
  91. package/dist/{conversations-b3vJRHF3.js → conversations-BQSekCFg.js} +2 -2
  92. package/dist/{conversations-b3vJRHF3.js.map → conversations-BQSekCFg.js.map} +1 -1
  93. package/dist/{conversations-DstENx2x.cjs → conversations-X5vg7ZxV.cjs} +2 -2
  94. package/dist/{conversations-DstENx2x.cjs.map → conversations-X5vg7ZxV.cjs.map} +1 -1
  95. package/dist/{datasets-zlaJQ9D0.cjs → datasets-DNNuDeQ2.cjs} +40 -10
  96. package/dist/datasets-DNNuDeQ2.cjs.map +1 -0
  97. package/dist/{datasets-CCC2huR0.js → datasets-L8o0f3nY.js} +40 -10
  98. package/dist/datasets-L8o0f3nY.js.map +1 -0
  99. package/dist/{dist-D6F_HzDS.cjs → dist-B0uCWZUF.cjs} +4 -4
  100. package/dist/{dist-D6F_HzDS.cjs.map → dist-B0uCWZUF.cjs.map} +1 -1
  101. package/dist/{dist-C9yKk16g.cjs → dist-BQ0VOLA9.cjs} +3 -3
  102. package/dist/{dist-C9yKk16g.cjs.map → dist-BQ0VOLA9.cjs.map} +1 -1
  103. package/dist/{dist-k6UeNFHu.js → dist-Bl3UrwJs.js} +3 -3
  104. package/dist/{dist-k6UeNFHu.js.map → dist-Bl3UrwJs.js.map} +1 -1
  105. package/dist/{dist-B6qmZNb0.cjs → dist-C2u5Kqxy.cjs} +3 -3
  106. package/dist/{dist-B6qmZNb0.cjs.map → dist-C2u5Kqxy.cjs.map} +1 -1
  107. package/dist/{dist-BKxbtiJd.cjs → dist-CF1rK7oZ.cjs} +874 -192
  108. package/dist/dist-CF1rK7oZ.cjs.map +1 -0
  109. package/dist/{dist-C76EmJsT.cjs → dist-CkFmsB2E.cjs} +3 -3
  110. package/dist/{dist-C76EmJsT.cjs.map → dist-CkFmsB2E.cjs.map} +1 -1
  111. package/dist/{dist-Da8AufS5.js → dist-D1rb-p2Y.js} +4 -4
  112. package/dist/{dist-Da8AufS5.js.map → dist-D1rb-p2Y.js.map} +1 -1
  113. package/dist/{dist-Chgswf37.js → dist-DD1mFVAc.js} +3 -3
  114. package/dist/{dist-Chgswf37.js.map → dist-DD1mFVAc.js.map} +1 -1
  115. package/dist/{dist-Wjq6PT76.js → dist-DJ7t3yBx.js} +3 -3
  116. package/dist/{dist-Wjq6PT76.js.map → dist-DJ7t3yBx.js.map} +1 -1
  117. package/dist/{dist-CLQt62Pi.cjs → dist-DO5NHh-t.cjs} +3 -3
  118. package/dist/{dist-CLQt62Pi.cjs.map → dist-DO5NHh-t.cjs.map} +1 -1
  119. package/dist/{dist-XnA2Lowr.js → dist-DiEECrlS.js} +3 -3
  120. package/dist/{dist-XnA2Lowr.js.map → dist-DiEECrlS.js.map} +1 -1
  121. package/dist/{dist-DoTDZ7wF.js → dist-Dx2Qp8Rj.js} +3 -3
  122. package/dist/{dist-DoTDZ7wF.js.map → dist-Dx2Qp8Rj.js.map} +1 -1
  123. package/dist/{dist-DOpm-tIl.js → dist-dfcZRhcQ.js} +871 -189
  124. package/dist/dist-dfcZRhcQ.js.map +1 -0
  125. package/dist/{dist-DpM-6UBk.cjs → dist-vM0zJcP5.cjs} +3 -3
  126. package/dist/{dist-DpM-6UBk.cjs.map → dist-vM0zJcP5.cjs.map} +1 -1
  127. package/dist/docs/SKILL.md +2 -2
  128. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  129. package/dist/docs/references/docs-connections-a2a.md +4 -3
  130. package/dist/docs/references/docs-server-custom-adapters.md +43 -0
  131. package/dist/docs/references/reference-observability-tracing-trace-query.md +289 -46
  132. package/dist/{dynamic-workflows-DeUG3lA2.cjs → dynamic-workflows-BiX72mRA.cjs} +2 -2
  133. package/dist/{dynamic-workflows-DeUG3lA2.cjs.map → dynamic-workflows-BiX72mRA.cjs.map} +1 -1
  134. package/dist/{dynamic-workflows-C3DXgmSP.js → dynamic-workflows-CVrxi8y7.js} +2 -2
  135. package/dist/{dynamic-workflows-C3DXgmSP.js.map → dynamic-workflows-CVrxi8y7.js.map} +1 -1
  136. package/dist/{editor-builder-D6P_hq7c.js → editor-builder-Blheim55.js} +2 -2
  137. package/dist/{editor-builder-D6P_hq7c.js.map → editor-builder-Blheim55.js.map} +1 -1
  138. package/dist/{editor-builder-BI5yHrbT.js → editor-builder-D287Qf1k.js} +3 -3
  139. package/dist/{editor-builder-BI5yHrbT.js.map → editor-builder-D287Qf1k.js.map} +1 -1
  140. package/dist/{editor-builder-CKAeON9r.cjs → editor-builder-D85orYra.cjs} +3 -3
  141. package/dist/{editor-builder-CKAeON9r.cjs.map → editor-builder-D85orYra.cjs.map} +1 -1
  142. package/dist/{editor-builder-BHf-g7q9.cjs → editor-builder-DhUUVbQ-.cjs} +2 -2
  143. package/dist/{editor-builder-BHf-g7q9.cjs.map → editor-builder-DhUUVbQ-.cjs.map} +1 -1
  144. package/dist/{mcp-BPmrXX9r.cjs → mcp-CdZzch5c.cjs} +11 -3
  145. package/dist/mcp-CdZzch5c.cjs.map +1 -0
  146. package/dist/{mcp-B_OMG3Ol.js → mcp-ea7f_n2D.js} +11 -3
  147. package/dist/mcp-ea7f_n2D.js.map +1 -0
  148. package/dist/{memory-BvKPIpyH.js → memory-CZT-ptes.js} +9 -3
  149. package/dist/memory-CZT-ptes.js.map +1 -0
  150. package/dist/{memory-CDYtqQnE.cjs → memory-D2TG_RVj.cjs} +9 -3
  151. package/dist/memory-D2TG_RVj.cjs.map +1 -0
  152. package/dist/message-history-CkUYxSaS.cjs +22 -0
  153. package/dist/message-history-CkUYxSaS.cjs.map +1 -0
  154. package/dist/message-history-_kbQlA4r.js +11 -0
  155. package/dist/message-history-_kbQlA4r.js.map +1 -0
  156. package/dist/{observability-new-endpoints-I2OxQzfY.cjs → observability-new-endpoints-CDrOjmJw.cjs} +253 -7
  157. package/dist/observability-new-endpoints-CDrOjmJw.cjs.map +1 -0
  158. package/dist/{observability-new-endpoints-pIq_OWa8.js → observability-new-endpoints-CWfdrnzJ.js} +238 -10
  159. package/dist/observability-new-endpoints-CWfdrnzJ.js.map +1 -0
  160. package/dist/{route-builder-DupY8fkI.cjs → route-builder-CbCx1upL.cjs} +5 -5
  161. package/dist/{route-builder-DupY8fkI.cjs.map → route-builder-CbCx1upL.cjs.map} +1 -1
  162. package/dist/{route-builder-BukcT_Kp.js → route-builder-DDOjv0sM.js} +3 -3
  163. package/dist/{route-builder-BukcT_Kp.js.map → route-builder-DDOjv0sM.js.map} +1 -1
  164. package/dist/{routes-PJ3eKHbs.cjs → routes-C_j75KdR.cjs} +14 -11
  165. package/dist/routes-C_j75KdR.cjs.map +1 -0
  166. package/dist/{routes-BJZtqLVx.js → routes-DOL9nlPr.js} +14 -11
  167. package/dist/routes-DOL9nlPr.js.map +1 -0
  168. package/dist/{schedules-DaEv0Usj.cjs → schedules-ByXP9Fgm.cjs} +15 -9
  169. package/dist/schedules-ByXP9Fgm.cjs.map +1 -0
  170. package/dist/{schedules-BzymFGR_.js → schedules-Cy6FhkZX.js} +15 -9
  171. package/dist/schedules-Cy6FhkZX.js.map +1 -0
  172. package/dist/{schema-D_ikovK6-DQrOVw5N.cjs → schema-BwlBcZRB-BLwYP0BY.cjs} +6 -6
  173. package/dist/{schema-D_ikovK6-DQrOVw5N.cjs.map → schema-BwlBcZRB-BLwYP0BY.cjs.map} +1 -1
  174. package/dist/{schema-D_ikovK6-BzTeMhWf.js → schema-BwlBcZRB-DUSSQ9TD.js} +6 -6
  175. package/dist/{schema-D_ikovK6-BzTeMhWf.js.map → schema-BwlBcZRB-DUSSQ9TD.js.map} +1 -1
  176. package/dist/schema-DM4T8wfR.cjs +1 -0
  177. package/dist/schema-Fa9iirVJ.js +2 -0
  178. package/dist/{scorer-versions-B6U7batJ.cjs → scorer-versions-DAsYq5b3.cjs} +2 -2
  179. package/dist/{scorer-versions-B6U7batJ.cjs.map → scorer-versions-DAsYq5b3.cjs.map} +1 -1
  180. package/dist/{scorer-versions-Dh2iaz4Y.js → scorer-versions-VpbcaDi8.js} +2 -2
  181. package/dist/{scorer-versions-Dh2iaz4Y.js.map → scorer-versions-VpbcaDi8.js.map} +1 -1
  182. package/dist/server/a2a/agent-card-signing.d.ts +8 -4
  183. package/dist/server/a2a/agent-card-signing.d.ts.map +1 -1
  184. package/dist/server/a2a/agent-card-v1.d.ts +6 -0
  185. package/dist/server/a2a/agent-card-v1.d.ts.map +1 -0
  186. package/dist/server/handlers/a2a.cjs +1 -1
  187. package/dist/server/handlers/a2a.d.ts +205 -61
  188. package/dist/server/handlers/a2a.d.ts.map +1 -1
  189. package/dist/server/handlers/a2a.js +1 -1
  190. package/dist/server/handlers/agent-builder.cjs +4 -4
  191. package/dist/server/handlers/agent-builder.d.ts +64 -64
  192. package/dist/server/handlers/agent-builder.js +4 -4
  193. package/dist/server/handlers/agent-controller.cjs +2 -2
  194. package/dist/server/handlers/agent-controller.d.ts +145 -145
  195. package/dist/server/handlers/agent-controller.js +2 -2
  196. package/dist/server/handlers/agent-versions.cjs +3 -3
  197. package/dist/server/handlers/agent-versions.d.ts +136 -40
  198. package/dist/server/handlers/agent-versions.d.ts.map +1 -1
  199. package/dist/server/handlers/agent-versions.js +3 -3
  200. package/dist/server/handlers/agents.cjs +11 -10
  201. package/dist/server/handlers/agents.cjs.map +1 -1
  202. package/dist/server/handlers/agents.d.ts +238 -152
  203. package/dist/server/handlers/agents.d.ts.map +1 -1
  204. package/dist/server/handlers/agents.js +10 -9
  205. package/dist/server/handlers/agents.js.map +1 -1
  206. package/dist/server/handlers/auth.cjs +2 -5
  207. package/dist/server/handlers/auth.cjs.map +1 -1
  208. package/dist/server/handlers/auth.d.ts +80 -80
  209. package/dist/server/handlers/auth.d.ts.map +1 -1
  210. package/dist/server/handlers/auth.js +2 -5
  211. package/dist/server/handlers/auth.js.map +1 -1
  212. package/dist/server/handlers/background-tasks.cjs +1 -1
  213. package/dist/server/handlers/background-tasks.d.ts +12 -12
  214. package/dist/server/handlers/background-tasks.js +1 -1
  215. package/dist/server/handlers/builder-registry.cjs +1 -1
  216. package/dist/server/handlers/builder-registry.d.ts +20 -20
  217. package/dist/server/handlers/builder-registry.js +1 -1
  218. package/dist/server/handlers/channels.cjs +1 -1
  219. package/dist/server/handlers/channels.d.ts +16 -16
  220. package/dist/server/handlers/channels.js +1 -1
  221. package/dist/server/handlers/conversations.cjs +2 -2
  222. package/dist/server/handlers/conversations.d.ts +16 -16
  223. package/dist/server/handlers/conversations.js +2 -2
  224. package/dist/server/handlers/datasets.cjs +18 -13
  225. package/dist/server/handlers/datasets.cjs.map +1 -1
  226. package/dist/server/handlers/datasets.d.ts +354 -142
  227. package/dist/server/handlers/datasets.d.ts.map +1 -1
  228. package/dist/server/handlers/datasets.js +18 -13
  229. package/dist/server/handlers/datasets.js.map +1 -1
  230. package/dist/server/handlers/dynamic-workflows.cjs +1 -1
  231. package/dist/server/handlers/dynamic-workflows.d.ts +76 -76
  232. package/dist/server/handlers/dynamic-workflows.js +1 -1
  233. package/dist/server/handlers/editor-builder.cjs +1 -1
  234. package/dist/server/handlers/editor-builder.d.ts +12 -12
  235. package/dist/server/handlers/editor-builder.js +1 -1
  236. package/dist/server/handlers/favorites-enrichment.cjs +1 -1
  237. package/dist/server/handlers/favorites-enrichment.js +1 -1
  238. package/dist/server/handlers/logs.cjs +1 -1
  239. package/dist/server/handlers/logs.d.ts +12 -12
  240. package/dist/server/handlers/logs.js +1 -1
  241. package/dist/server/handlers/mcp-client-versions.cjs +3 -3
  242. package/dist/server/handlers/mcp-client-versions.d.ts +28 -28
  243. package/dist/server/handlers/mcp-client-versions.js +3 -3
  244. package/dist/server/handlers/mcp.cjs +34 -3
  245. package/dist/server/handlers/mcp.cjs.map +1 -1
  246. package/dist/server/handlers/mcp.d.ts +55 -42
  247. package/dist/server/handlers/mcp.d.ts.map +1 -1
  248. package/dist/server/handlers/mcp.js +34 -3
  249. package/dist/server/handlers/mcp.js.map +1 -1
  250. package/dist/server/handlers/memory.cjs +3 -4
  251. package/dist/server/handlers/memory.cjs.map +1 -1
  252. package/dist/server/handlers/memory.d.ts +176 -152
  253. package/dist/server/handlers/memory.d.ts.map +1 -1
  254. package/dist/server/handlers/memory.js +3 -4
  255. package/dist/server/handlers/memory.js.map +1 -1
  256. package/dist/server/handlers/observability-new-endpoints.cjs +4 -1
  257. package/dist/server/handlers/observability-new-endpoints.d.ts +1092 -518
  258. package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
  259. package/dist/server/handlers/observability-new-endpoints.js +2 -2
  260. package/dist/server/handlers/observability-shared.cjs +41 -2
  261. package/dist/server/handlers/observability-shared.cjs.map +1 -1
  262. package/dist/server/handlers/observability-shared.d.ts +24 -0
  263. package/dist/server/handlers/observability-shared.d.ts.map +1 -1
  264. package/dist/server/handlers/observability-shared.js +37 -2
  265. package/dist/server/handlers/observability-shared.js.map +1 -1
  266. package/dist/server/handlers/observability.cjs +8 -2
  267. package/dist/server/handlers/observability.cjs.map +1 -1
  268. package/dist/server/handlers/observability.d.ts +33 -27
  269. package/dist/server/handlers/observability.d.ts.map +1 -1
  270. package/dist/server/handlers/observability.js +6 -3
  271. package/dist/server/handlers/observability.js.map +1 -1
  272. package/dist/server/handlers/plans.cjs +2 -2
  273. package/dist/server/handlers/plans.d.ts +4 -4
  274. package/dist/server/handlers/plans.js +2 -2
  275. package/dist/server/handlers/processor-providers.cjs +1 -1
  276. package/dist/server/handlers/processor-providers.d.ts +8 -8
  277. package/dist/server/handlers/processor-providers.js +1 -1
  278. package/dist/server/handlers/processors.cjs +1 -1
  279. package/dist/server/handlers/processors.d.ts +12 -12
  280. package/dist/server/handlers/processors.js +1 -1
  281. package/dist/server/handlers/prompt-block-versions.cjs +3 -3
  282. package/dist/server/handlers/prompt-block-versions.d.ts +28 -28
  283. package/dist/server/handlers/prompt-block-versions.js +3 -3
  284. package/dist/server/handlers/responses.cjs +1 -1
  285. package/dist/server/handlers/responses.d.ts +12 -12
  286. package/dist/server/handlers/responses.js +1 -1
  287. package/dist/server/handlers/schedules.cjs +1 -1
  288. package/dist/server/handlers/schedules.d.ts +52 -36
  289. package/dist/server/handlers/schedules.d.ts.map +1 -1
  290. package/dist/server/handlers/schedules.js +1 -1
  291. package/dist/server/handlers/scorer-versions.cjs +3 -3
  292. package/dist/server/handlers/scorer-versions.d.ts +28 -28
  293. package/dist/server/handlers/scorer-versions.js +3 -3
  294. package/dist/server/handlers/scores.cjs +1 -1
  295. package/dist/server/handlers/scores.d.ts +24 -24
  296. package/dist/server/handlers/scores.js +1 -1
  297. package/dist/server/handlers/stored-agent-favorites.cjs +4 -4
  298. package/dist/server/handlers/stored-agent-favorites.d.ts +8 -8
  299. package/dist/server/handlers/stored-agent-favorites.js +4 -4
  300. package/dist/server/handlers/stored-agents.cjs +5 -5
  301. package/dist/server/handlers/stored-agents.d.ts +140 -44
  302. package/dist/server/handlers/stored-agents.d.ts.map +1 -1
  303. package/dist/server/handlers/stored-agents.js +5 -5
  304. package/dist/server/handlers/stored-mcp-clients.cjs +3 -3
  305. package/dist/server/handlers/stored-mcp-clients.d.ts +20 -20
  306. package/dist/server/handlers/stored-mcp-clients.js +3 -3
  307. package/dist/server/handlers/stored-prompt-blocks.cjs +3 -3
  308. package/dist/server/handlers/stored-prompt-blocks.d.ts +20 -20
  309. package/dist/server/handlers/stored-prompt-blocks.js +3 -3
  310. package/dist/server/handlers/stored-scorers.cjs +3 -3
  311. package/dist/server/handlers/stored-scorers.d.ts +20 -20
  312. package/dist/server/handlers/stored-scorers.js +3 -3
  313. package/dist/server/handlers/stored-skill-favorites.cjs +4 -4
  314. package/dist/server/handlers/stored-skill-favorites.d.ts +8 -8
  315. package/dist/server/handlers/stored-skill-favorites.js +4 -4
  316. package/dist/server/handlers/stored-skills.cjs +4 -4
  317. package/dist/server/handlers/stored-skills.d.ts +24 -24
  318. package/dist/server/handlers/stored-skills.js +4 -4
  319. package/dist/server/handlers/stored-workspaces.cjs +2 -2
  320. package/dist/server/handlers/stored-workspaces.d.ts +20 -20
  321. package/dist/server/handlers/stored-workspaces.js +2 -2
  322. package/dist/server/handlers/system.cjs +7 -5
  323. package/dist/server/handlers/system.cjs.map +1 -1
  324. package/dist/server/handlers/system.d.ts +10 -8
  325. package/dist/server/handlers/system.d.ts.map +1 -1
  326. package/dist/server/handlers/system.js +7 -5
  327. package/dist/server/handlers/system.js.map +1 -1
  328. package/dist/server/handlers/tool-providers.cjs +1 -1
  329. package/dist/server/handlers/tool-providers.d.ts +52 -52
  330. package/dist/server/handlers/tool-providers.js +1 -1
  331. package/dist/server/handlers/tools.cjs +6 -6
  332. package/dist/server/handlers/tools.d.ts +26 -20
  333. package/dist/server/handlers/tools.d.ts.map +1 -1
  334. package/dist/server/handlers/tools.js +5 -5
  335. package/dist/server/handlers/validate-agent-instructions.cjs +1 -1
  336. package/dist/server/handlers/validate-agent-instructions.js +1 -1
  337. package/dist/server/handlers/vector.cjs +1 -1
  338. package/dist/server/handlers/vector.d.ts +32 -32
  339. package/dist/server/handlers/vector.js +1 -1
  340. package/dist/server/handlers/workflow-builder.cjs +1 -1
  341. package/dist/server/handlers/workflow-builder.d.ts +8 -8
  342. package/dist/server/handlers/workflow-builder.js +1 -1
  343. package/dist/server/handlers/workflows.cjs +3 -3
  344. package/dist/server/handlers/workflows.d.ts +108 -108
  345. package/dist/server/handlers/workflows.js +3 -3
  346. package/dist/server/handlers/workspace.cjs +2 -2
  347. package/dist/server/handlers/workspace.d.ts +172 -172
  348. package/dist/server/handlers/workspace.js +2 -2
  349. package/dist/server/handlers.cjs +2 -2
  350. package/dist/server/handlers.js +2 -2
  351. package/dist/server/schemas/a2a.d.ts +165 -9
  352. package/dist/server/schemas/a2a.d.ts.map +1 -1
  353. package/dist/server/schemas/agent-versions.d.ts +70 -10
  354. package/dist/server/schemas/agent-versions.d.ts.map +1 -1
  355. package/dist/server/schemas/agents.d.ts +49 -1
  356. package/dist/server/schemas/agents.d.ts.map +1 -1
  357. package/dist/server/schemas/datasets.d.ts +90 -4
  358. package/dist/server/schemas/datasets.d.ts.map +1 -1
  359. package/dist/server/schemas/feedback.d.ts +3 -3
  360. package/dist/server/schemas/index.cjs +14 -14
  361. package/dist/server/schemas/index.js +14 -14
  362. package/dist/server/schemas/mcp.d.ts +8 -2
  363. package/dist/server/schemas/mcp.d.ts.map +1 -1
  364. package/dist/server/schemas/memory-config.d.ts +10 -2
  365. package/dist/server/schemas/memory-config.d.ts.map +1 -1
  366. package/dist/server/schemas/memory.d.ts +36 -28
  367. package/dist/server/schemas/memory.d.ts.map +1 -1
  368. package/dist/server/schemas/message-history.d.ts +7 -0
  369. package/dist/server/schemas/message-history.d.ts.map +1 -0
  370. package/dist/server/schemas/schedules.d.ts +9 -3
  371. package/dist/server/schemas/schedules.d.ts.map +1 -1
  372. package/dist/server/schemas/stored-agents.d.ts +140 -20
  373. package/dist/server/schemas/stored-agents.d.ts.map +1 -1
  374. package/dist/server/schemas/system.d.ts +2 -0
  375. package/dist/server/schemas/system.d.ts.map +1 -1
  376. package/dist/server/schemas/workspace.d.ts +6 -6
  377. package/dist/server/schemas/workspace.d.ts.map +1 -1
  378. package/dist/server/server-adapter/api-schema-manifest.d.ts +1 -1
  379. package/dist/server/server-adapter/index.cjs +4 -3
  380. package/dist/server/server-adapter/index.cjs.map +1 -1
  381. package/dist/server/server-adapter/index.d.ts +1 -0
  382. package/dist/server/server-adapter/index.d.ts.map +1 -1
  383. package/dist/server/server-adapter/index.js +4 -4
  384. package/dist/server/server-adapter/index.js.map +1 -1
  385. package/dist/server/server-adapter/openapi-utils.d.ts +1 -1
  386. package/dist/server/server-adapter/routes/a2a.d.ts +193 -59
  387. package/dist/server/server-adapter/routes/a2a.d.ts.map +1 -1
  388. package/dist/server/server-adapter/routes/agent-builder.d.ts +64 -64
  389. package/dist/server/server-adapter/routes/channels.d.ts +16 -16
  390. package/dist/server/server-adapter/routes/conversations.d.ts +16 -16
  391. package/dist/server/server-adapter/routes/datasets.d.ts +354 -142
  392. package/dist/server/server-adapter/routes/datasets.d.ts.map +1 -1
  393. package/dist/server/server-adapter/routes/editor-builder.d.ts +40 -40
  394. package/dist/server/server-adapter/routes/legacy.d.ts +16 -16
  395. package/dist/server/server-adapter/routes/logs.d.ts +12 -12
  396. package/dist/server/server-adapter/routes/mcp.d.ts +54 -42
  397. package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -1
  398. package/dist/server/server-adapter/routes/memory.d.ts +176 -152
  399. package/dist/server/server-adapter/routes/memory.d.ts.map +1 -1
  400. package/dist/server/server-adapter/routes/observability.d.ts +652 -286
  401. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  402. package/dist/server/server-adapter/routes/processor-providers.d.ts +8 -8
  403. package/dist/server/server-adapter/routes/processors.d.ts +12 -12
  404. package/dist/server/server-adapter/routes/responses.d.ts +12 -12
  405. package/dist/server/server-adapter/routes/scorers.d.ts +24 -24
  406. package/dist/server/server-adapter/routes/stored-mcp-clients.d.ts +48 -48
  407. package/dist/server/server-adapter/routes/stored-prompt-blocks.d.ts +48 -48
  408. package/dist/server/server-adapter/routes/stored-scorers.d.ts +48 -48
  409. package/dist/server/server-adapter/routes/stored-skills.d.ts +32 -32
  410. package/dist/server/server-adapter/routes/stored-workspaces.d.ts +20 -20
  411. package/dist/server/server-adapter/routes/system.d.ts +10 -8
  412. package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
  413. package/dist/server/server-adapter/routes/tool-providers.d.ts +52 -52
  414. package/dist/server/server-adapter/routes/tools.d.ts +16 -12
  415. package/dist/server/server-adapter/routes/tools.d.ts.map +1 -1
  416. package/dist/server/server-adapter/routes/vectors.d.ts +32 -32
  417. package/dist/server/server-adapter/routes/workflows.d.ts +100 -100
  418. package/dist/server/server-adapter/routes/workspace.d.ts +90 -90
  419. package/dist/{stored-agents-BJMM5f9A.cjs → stored-agents-61cRlWax.cjs} +8 -4
  420. package/dist/stored-agents-61cRlWax.cjs.map +1 -0
  421. package/dist/{stored-agents-AC0najKd.js → stored-agents-CuEn_6cd.js} +8 -4
  422. package/dist/stored-agents-CuEn_6cd.js.map +1 -0
  423. package/dist/{stored-scorers-CWxW1_mY.cjs → stored-scorers-BLj27wz5.cjs} +2 -2
  424. package/dist/{stored-scorers-CWxW1_mY.cjs.map → stored-scorers-BLj27wz5.cjs.map} +1 -1
  425. package/dist/{stored-scorers-B8QVQCCs.js → stored-scorers-D7dAXnFk.js} +2 -2
  426. package/dist/{stored-scorers-B8QVQCCs.js.map → stored-scorers-D7dAXnFk.js.map} +1 -1
  427. package/dist/{system-Cfo5a63a.cjs → system-D85p7-oz.cjs} +3 -2
  428. package/dist/system-D85p7-oz.cjs.map +1 -0
  429. package/dist/{system-DT2JfUun.js → system-DMAG21IT.js} +3 -2
  430. package/dist/system-DMAG21IT.js.map +1 -0
  431. package/dist/{utils-WcR0QSUB.cjs → utils-DbHFc3hG.cjs} +5 -5
  432. package/dist/{utils-WcR0QSUB.cjs.map → utils-DbHFc3hG.cjs.map} +1 -1
  433. package/dist/{utils-Duk4hfT_.js → utils-mRt04Bqa.js} +3 -3
  434. package/dist/{utils-Duk4hfT_.js.map → utils-mRt04Bqa.js.map} +1 -1
  435. package/dist/{workflow-builder-D5dPsrog.cjs → workflow-builder-ZEU0Rafo.cjs} +4 -4
  436. package/dist/{workflow-builder-D5dPsrog.cjs.map → workflow-builder-ZEU0Rafo.cjs.map} +1 -1
  437. package/dist/{workflow-builder-Eape8SyU.js → workflow-builder-fkwRyZUG.js} +4 -4
  438. package/dist/{workflow-builder-Eape8SyU.js.map → workflow-builder-fkwRyZUG.js.map} +1 -1
  439. package/dist/{workspace-Cz9hE2ei.cjs → workspace-BE_j73fm.cjs} +21 -7
  440. package/dist/workspace-BE_j73fm.cjs.map +1 -0
  441. package/dist/{workspace-S5GiJ3Nx.js → workspace-SmQR_sZ4.js} +21 -7
  442. package/dist/workspace-SmQR_sZ4.js.map +1 -0
  443. package/package.json +11 -11
  444. package/dist/a2a-8C4O2dVJ.js.map +0 -1
  445. package/dist/a2a-DQ8GeDz4.cjs.map +0 -1
  446. package/dist/a2a-DUBjstWk.js.map +0 -1
  447. package/dist/a2a-MPoM5lzS.cjs.map +0 -1
  448. package/dist/agents-CZE_MSQE.cjs.map +0 -1
  449. package/dist/agents-ssoMemNs.js.map +0 -1
  450. package/dist/datasets-CCC2huR0.js.map +0 -1
  451. package/dist/datasets-zlaJQ9D0.cjs.map +0 -1
  452. package/dist/dist-BKxbtiJd.cjs.map +0 -1
  453. package/dist/dist-DOpm-tIl.js.map +0 -1
  454. package/dist/mcp-BPmrXX9r.cjs.map +0 -1
  455. package/dist/mcp-B_OMG3Ol.js.map +0 -1
  456. package/dist/memory-BvKPIpyH.js.map +0 -1
  457. package/dist/memory-CDYtqQnE.cjs.map +0 -1
  458. package/dist/observability-new-endpoints-I2OxQzfY.cjs.map +0 -1
  459. package/dist/observability-new-endpoints-pIq_OWa8.js.map +0 -1
  460. package/dist/routes-BJZtqLVx.js.map +0 -1
  461. package/dist/routes-PJ3eKHbs.cjs.map +0 -1
  462. package/dist/schedules-BzymFGR_.js.map +0 -1
  463. package/dist/schedules-DaEv0Usj.cjs.map +0 -1
  464. package/dist/schema-BF_cZG0Y.js +0 -2
  465. package/dist/schema-C7CvwM1d.cjs +0 -1
  466. package/dist/stored-agents-AC0najKd.js.map +0 -1
  467. package/dist/stored-agents-BJMM5f9A.cjs.map +0 -1
  468. package/dist/system-Cfo5a63a.cjs.map +0 -1
  469. package/dist/system-DT2JfUun.js.map +0 -1
  470. package/dist/workspace-Cz9hE2ei.cjs.map +0 -1
  471. package/dist/workspace-S5GiJ3Nx.js.map +0 -1
@@ -4,11 +4,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
4
4
  responseType: "json";
5
5
  streamFormat?: 'sse' | 'stream';
6
6
  sseFlushOnConnect?: boolean;
7
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<any>;
8
- pathParamSchema?: import("zod").ZodType;
9
- queryParamSchema?: import("zod").ZodType;
10
- bodySchema?: import("zod").ZodType;
11
- responseSchema?: import("zod").ZodType;
7
+ handler(params: {
8
+ [x: string]: unknown;
9
+ } & import(".").ServerContext): Promise<any>;
10
+ pathParamSchema?: import("zod").ZodSchema;
11
+ queryParamSchema?: import("zod").ZodSchema;
12
+ bodySchema?: import("zod").ZodSchema;
13
+ responseSchema?: import("zod").ZodSchema;
12
14
  openapi?: import("../openapi-utils").OpenAPIRoute;
13
15
  maxBodySize?: number;
14
16
  deprecated?: boolean;
@@ -26,11 +28,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
26
28
  responseType: "json";
27
29
  streamFormat?: 'sse' | 'stream';
28
30
  sseFlushOnConnect?: boolean;
29
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<any>;
30
- pathParamSchema?: import("zod").ZodType;
31
- queryParamSchema?: import("zod").ZodType;
32
- bodySchema?: import("zod").ZodType;
33
- responseSchema?: import("zod").ZodType;
31
+ handler(params: {
32
+ [x: string]: unknown;
33
+ } & import(".").ServerContext): Promise<any>;
34
+ pathParamSchema?: import("zod").ZodSchema;
35
+ queryParamSchema?: import("zod").ZodSchema;
36
+ bodySchema?: import("zod").ZodSchema;
37
+ responseSchema?: import("zod").ZodSchema;
34
38
  openapi?: import("../openapi-utils").OpenAPIRoute;
35
39
  maxBodySize?: number;
36
40
  deprecated?: boolean;
@@ -49,10 +53,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
49
53
  streamFormat?: 'sse' | 'stream';
50
54
  sseFlushOnConnect?: boolean;
51
55
  handler(params: any): Promise<any>;
52
- pathParamSchema?: import("zod").ZodType;
53
- queryParamSchema?: import("zod").ZodType;
54
- bodySchema?: import("zod").ZodType;
55
- responseSchema?: import("zod").ZodType;
56
+ pathParamSchema?: import("zod").ZodSchema;
57
+ queryParamSchema?: import("zod").ZodSchema;
58
+ bodySchema?: import("zod").ZodSchema;
59
+ responseSchema?: import("zod").ZodSchema;
56
60
  openapi?: import("../openapi-utils").OpenAPIRoute;
57
61
  maxBodySize?: number;
58
62
  deprecated?: boolean;
@@ -78,10 +82,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
78
82
  rawOutput?: unknown;
79
83
  rawWorkflowResult?: unknown;
80
84
  }>;
81
- pathParamSchema?: import("zod").ZodType;
82
- queryParamSchema?: import("zod").ZodType;
83
- bodySchema?: import("zod").ZodType;
84
- responseSchema?: import("zod").ZodType;
85
+ pathParamSchema?: import("zod").ZodSchema;
86
+ queryParamSchema?: import("zod").ZodSchema;
87
+ bodySchema?: import("zod").ZodSchema;
88
+ responseSchema?: import("zod").ZodSchema;
85
89
  openapi?: import("../openapi-utils").OpenAPIRoute;
86
90
  maxBodySize?: number;
87
91
  deprecated?: boolean;
@@ -115,10 +119,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
115
119
  message: string;
116
120
  traceCount: number;
117
121
  }>;
118
- pathParamSchema?: import("zod").ZodType;
119
- queryParamSchema?: import("zod").ZodType;
120
- bodySchema?: import("zod").ZodType;
121
- responseSchema?: import("zod").ZodType;
122
+ pathParamSchema?: import("zod").ZodSchema;
123
+ queryParamSchema?: import("zod").ZodSchema;
124
+ bodySchema?: import("zod").ZodSchema;
125
+ responseSchema?: import("zod").ZodSchema;
122
126
  openapi?: import("../openapi-utils").OpenAPIRoute;
123
127
  maxBodySize?: number;
124
128
  deprecated?: boolean;
@@ -147,7 +151,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
147
151
  handler(params: {
148
152
  traceId: string;
149
153
  spanId: string;
150
- } & Record<string, unknown> & import(".").ServerContext): Promise<{
154
+ } & {
155
+ [x: string]: unknown;
156
+ } & import(".").ServerContext): Promise<{
151
157
  pagination: {
152
158
  total: number;
153
159
  page: number;
@@ -193,10 +199,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
193
199
  generateReasonPrompt?: string | undefined;
194
200
  }[];
195
201
  }>;
196
- pathParamSchema?: import("zod").ZodType;
197
- queryParamSchema?: import("zod").ZodType;
198
- bodySchema?: import("zod").ZodType;
199
- responseSchema?: import("zod").ZodType;
202
+ pathParamSchema?: import("zod").ZodSchema;
203
+ queryParamSchema?: import("zod").ZodSchema;
204
+ bodySchema?: import("zod").ZodSchema;
205
+ responseSchema?: import("zod").ZodSchema;
200
206
  openapi?: import("../openapi-utils").OpenAPIRoute;
201
207
  maxBodySize?: number;
202
208
  deprecated?: boolean;
@@ -280,14 +286,27 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
280
286
  field: "endedAt" | "startedAt";
281
287
  direction: "asc" | "desc";
282
288
  }[] | undefined;
283
- page: {
289
+ page?: {
284
290
  limit: number;
285
291
  after?: string | null | undefined;
286
- };
292
+ } | undefined;
293
+ pagination?: {
294
+ page: number;
295
+ perPage: number;
296
+ } | undefined;
297
+ mode?: "delta" | undefined;
298
+ after?: string | undefined;
299
+ limit?: number | undefined;
287
300
  } & import(".").ServerContext): Promise<{
288
301
  traces: {
289
302
  traceId: string;
290
303
  rootSpanId: string;
304
+ name: string;
305
+ entityId: string | null;
306
+ parentSpanId: string | null;
307
+ createdAt: string;
308
+ metadata: Record<string, unknown> | null;
309
+ inputPreview: string | null;
291
310
  threadId: string | null;
292
311
  resourceId: string | null;
293
312
  startedAt: string;
@@ -300,6 +319,56 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
300
319
  page: {
301
320
  next: string | null;
302
321
  };
322
+ } | {
323
+ traces: {
324
+ traceId: string;
325
+ rootSpanId: string;
326
+ name: string;
327
+ entityId: string | null;
328
+ parentSpanId: string | null;
329
+ createdAt: string;
330
+ metadata: Record<string, unknown> | null;
331
+ inputPreview: string | null;
332
+ threadId: string | null;
333
+ resourceId: string | null;
334
+ startedAt: string;
335
+ endedAt: string;
336
+ entityName: string | null;
337
+ entityType: string | null;
338
+ environment: string | null;
339
+ status: "error" | "success";
340
+ }[];
341
+ pagination: {
342
+ total: number;
343
+ page: number;
344
+ perPage: number | false;
345
+ hasMore: boolean;
346
+ };
347
+ deltaCursor?: string | undefined;
348
+ } | {
349
+ traces: {
350
+ traceId: string;
351
+ rootSpanId: string;
352
+ name: string;
353
+ entityId: string | null;
354
+ parentSpanId: string | null;
355
+ createdAt: string;
356
+ metadata: Record<string, unknown> | null;
357
+ inputPreview: string | null;
358
+ threadId: string | null;
359
+ resourceId: string | null;
360
+ startedAt: string;
361
+ endedAt: string;
362
+ entityName: string | null;
363
+ entityType: string | null;
364
+ environment: string | null;
365
+ status: "error" | "success";
366
+ }[];
367
+ delta: {
368
+ limit: number;
369
+ hasMore: boolean;
370
+ };
371
+ deltaCursor: string;
303
372
  } | {
304
373
  groups: {
305
374
  threadId: string;
@@ -308,10 +377,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
308
377
  next: string | null;
309
378
  };
310
379
  }>;
311
- pathParamSchema?: import("zod").ZodType;
312
- queryParamSchema?: import("zod").ZodType;
313
- bodySchema?: import("zod").ZodType;
314
- responseSchema?: import("zod").ZodType;
380
+ pathParamSchema?: import("zod").ZodSchema;
381
+ queryParamSchema?: import("zod").ZodSchema;
382
+ bodySchema?: import("zod").ZodSchema;
383
+ responseSchema?: import("zod").ZodSchema;
315
384
  openapi?: import("../openapi-utils").OpenAPIRoute;
316
385
  maxBodySize?: number;
317
386
  deprecated?: boolean;
@@ -337,14 +406,27 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
337
406
  desc: "desc";
338
407
  }>;
339
408
  }, import("zod/v4/core").$strict>>>;
340
- page: import("zod").ZodDefault<import("zod").ZodObject<{
409
+ page: import("zod").ZodOptional<import("zod").ZodObject<{
341
410
  limit: import("zod").ZodDefault<import("zod").ZodNumber>;
342
411
  after: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
343
412
  }, import("zod/v4/core").$strict>>;
344
- }, import("zod/v4/core").$strict>>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
413
+ pagination: import("zod").ZodOptional<import("zod").ZodObject<{
414
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
415
+ perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
416
+ }, import("zod/v4/core").$strip>>;
417
+ mode: import("zod").ZodOptional<import("zod").ZodLiteral<"delta">>;
418
+ after: import("zod").ZodOptional<import("zod").ZodString>;
419
+ limit: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
420
+ }, import("zod/v4/core").$strict>, unknown>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
345
421
  traces: import("zod").ZodArray<import("zod").ZodObject<{
346
422
  traceId: import("zod").ZodString;
347
423
  rootSpanId: import("zod").ZodString;
424
+ name: import("zod").ZodString;
425
+ entityId: import("zod").ZodNullable<import("zod").ZodString>;
426
+ parentSpanId: import("zod").ZodNullable<import("zod").ZodString>;
427
+ createdAt: import("zod").ZodString;
428
+ metadata: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
429
+ inputPreview: import("zod").ZodNullable<import("zod").ZodString>;
348
430
  threadId: import("zod").ZodNullable<import("zod").ZodString>;
349
431
  resourceId: import("zod").ZodNullable<import("zod").ZodString>;
350
432
  startedAt: import("zod").ZodString;
@@ -360,6 +442,62 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
360
442
  page: import("zod").ZodObject<{
361
443
  next: import("zod").ZodNullable<import("zod").ZodString>;
362
444
  }, import("zod/v4/core").$strict>;
445
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
446
+ traces: import("zod").ZodArray<import("zod").ZodObject<{
447
+ traceId: import("zod").ZodString;
448
+ rootSpanId: import("zod").ZodString;
449
+ name: import("zod").ZodString;
450
+ entityId: import("zod").ZodNullable<import("zod").ZodString>;
451
+ parentSpanId: import("zod").ZodNullable<import("zod").ZodString>;
452
+ createdAt: import("zod").ZodString;
453
+ metadata: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
454
+ inputPreview: import("zod").ZodNullable<import("zod").ZodString>;
455
+ threadId: import("zod").ZodNullable<import("zod").ZodString>;
456
+ resourceId: import("zod").ZodNullable<import("zod").ZodString>;
457
+ startedAt: import("zod").ZodString;
458
+ endedAt: import("zod").ZodString;
459
+ entityName: import("zod").ZodNullable<import("zod").ZodString>;
460
+ entityType: import("zod").ZodNullable<import("zod").ZodString>;
461
+ environment: import("zod").ZodNullable<import("zod").ZodString>;
462
+ status: import("zod").ZodEnum<{
463
+ error: "error";
464
+ success: "success";
465
+ }>;
466
+ }, import("zod/v4/core").$strict>>;
467
+ pagination: import("zod").ZodObject<{
468
+ total: import("zod").ZodNumber;
469
+ page: import("zod").ZodNumber;
470
+ perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
471
+ hasMore: import("zod").ZodBoolean;
472
+ }, import("zod/v4/core").$strip>;
473
+ deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
474
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
475
+ traces: import("zod").ZodArray<import("zod").ZodObject<{
476
+ traceId: import("zod").ZodString;
477
+ rootSpanId: import("zod").ZodString;
478
+ name: import("zod").ZodString;
479
+ entityId: import("zod").ZodNullable<import("zod").ZodString>;
480
+ parentSpanId: import("zod").ZodNullable<import("zod").ZodString>;
481
+ createdAt: import("zod").ZodString;
482
+ metadata: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
483
+ inputPreview: import("zod").ZodNullable<import("zod").ZodString>;
484
+ threadId: import("zod").ZodNullable<import("zod").ZodString>;
485
+ resourceId: import("zod").ZodNullable<import("zod").ZodString>;
486
+ startedAt: import("zod").ZodString;
487
+ endedAt: import("zod").ZodString;
488
+ entityName: import("zod").ZodNullable<import("zod").ZodString>;
489
+ entityType: import("zod").ZodNullable<import("zod").ZodString>;
490
+ environment: import("zod").ZodNullable<import("zod").ZodString>;
491
+ status: import("zod").ZodEnum<{
492
+ error: "error";
493
+ success: "success";
494
+ }>;
495
+ }, import("zod/v4/core").$strict>>;
496
+ delta: import("zod").ZodObject<{
497
+ limit: import("zod").ZodNumber;
498
+ hasMore: import("zod").ZodBoolean;
499
+ }, import("zod/v4/core").$strip>;
500
+ deltaCursor: import("zod").ZodString;
363
501
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
364
502
  groups: import("zod").ZodArray<import("zod").ZodObject<{
365
503
  threadId: import("zod").ZodString;
@@ -376,7 +514,219 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
376
514
  responseType: "json";
377
515
  streamFormat?: 'sse' | 'stream';
378
516
  sseFlushOnConnect?: boolean;
379
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
517
+ handler(params: {
518
+ traces: {
519
+ timeRange: {
520
+ from: string;
521
+ to: string;
522
+ };
523
+ where?: import("@mastra/core/storage").TraceQueryPredicate | undefined;
524
+ };
525
+ where?: import("@mastra/core/storage").ThreadPredicate | undefined;
526
+ page: {
527
+ limit: number;
528
+ after?: string | null | undefined;
529
+ };
530
+ } & import(".").ServerContext): Promise<{
531
+ threads: {
532
+ threadId: string;
533
+ }[];
534
+ page: {
535
+ next: string | null;
536
+ };
537
+ }>;
538
+ pathParamSchema?: import("zod").ZodSchema;
539
+ queryParamSchema?: import("zod").ZodSchema;
540
+ bodySchema?: import("zod").ZodSchema;
541
+ responseSchema?: import("zod").ZodSchema;
542
+ openapi?: import("../openapi-utils").OpenAPIRoute;
543
+ maxBodySize?: number;
544
+ deprecated?: boolean;
545
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
546
+ fga?: import("@mastra/core/auth").FGARouteConfig;
547
+ onValidationError?: import("@mastra/core/server").ValidationErrorHook;
548
+ readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodPreprocess<import("zod").ZodObject<{
549
+ traces: import("zod").ZodObject<{
550
+ timeRange: import("zod").ZodObject<{
551
+ from: import("zod").ZodString;
552
+ to: import("zod").ZodString;
553
+ }, import("zod/v4/core").$strict>;
554
+ where: import("zod").ZodOptional<import("zod").ZodType<import("@mastra/core/storage").TraceQueryPredicate, unknown, import("zod/v4/core").$ZodTypeInternals<import("@mastra/core/storage").TraceQueryPredicate, unknown>>>;
555
+ }, import("zod/v4/core").$strict>;
556
+ where: import("zod").ZodOptional<import("zod").ZodType<import("@mastra/core/storage").ThreadPredicate, unknown, import("zod/v4/core").$ZodTypeInternals<import("@mastra/core/storage").ThreadPredicate, unknown>>>;
557
+ page: import("zod").ZodDefault<import("zod").ZodObject<{
558
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
559
+ after: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
560
+ }, import("zod/v4/core").$strict>>;
561
+ }, import("zod/v4/core").$strict>, unknown>, import("zod").ZodObject<{
562
+ threads: import("zod").ZodArray<import("zod").ZodObject<{
563
+ threadId: import("zod").ZodString;
564
+ }, import("zod/v4/core").$strict>>;
565
+ page: import("zod").ZodObject<{
566
+ next: import("zod").ZodNullable<import("zod").ZodString>;
567
+ }, import("zod/v4/core").$strict>;
568
+ }, import("zod/v4/core").$strict>> | undefined;
569
+ } & {
570
+ readonly _mastraSchemaRoute: true;
571
+ }, Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
572
+ method: string;
573
+ path: `/${string}`;
574
+ responseType: "json";
575
+ streamFormat?: 'sse' | 'stream';
576
+ sseFlushOnConnect?: boolean;
577
+ handler(params: {
578
+ timeRange: {
579
+ from: string;
580
+ to: string;
581
+ };
582
+ predicateScope: "feedback" | "scores" | "spans" | "trace";
583
+ search?: string | undefined;
584
+ limit: number;
585
+ } & import(".").ServerContext): Promise<{
586
+ canonicalFields: {
587
+ path: string;
588
+ valueKind: "number" | "presence" | "string" | "stringOrNumber" | "timestamp";
589
+ operators: ("eq" | "exists" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "notExists" | "notIn")[];
590
+ valueSuggestions: boolean;
591
+ }[];
592
+ observedFields: {
593
+ path: `metadata.${string}`;
594
+ valueKind: "string";
595
+ operators: ("eq" | "exists" | "in" | "ne" | "notExists" | "notIn")[];
596
+ valueSuggestions: true;
597
+ occurrences: number;
598
+ }[];
599
+ observedFieldsTruncated: boolean;
600
+ }>;
601
+ pathParamSchema?: import("zod").ZodSchema;
602
+ queryParamSchema?: import("zod").ZodSchema;
603
+ bodySchema?: import("zod").ZodSchema;
604
+ responseSchema?: import("zod").ZodSchema;
605
+ openapi?: import("../openapi-utils").OpenAPIRoute;
606
+ maxBodySize?: number;
607
+ deprecated?: boolean;
608
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
609
+ fga?: import("@mastra/core/auth").FGARouteConfig;
610
+ onValidationError?: import("@mastra/core/server").ValidationErrorHook;
611
+ readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
612
+ timeRange: import("zod").ZodObject<{
613
+ from: import("zod").ZodString;
614
+ to: import("zod").ZodString;
615
+ }, import("zod/v4/core").$strict>;
616
+ predicateScope: import("zod").ZodEnum<{
617
+ feedback: "feedback";
618
+ scores: "scores";
619
+ spans: "spans";
620
+ trace: "trace";
621
+ }>;
622
+ search: import("zod").ZodOptional<import("zod").ZodString>;
623
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
624
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
625
+ canonicalFields: import("zod").ZodArray<import("zod").ZodObject<{
626
+ path: import("zod").ZodString;
627
+ valueKind: import("zod").ZodEnum<{
628
+ number: "number";
629
+ presence: "presence";
630
+ string: "string";
631
+ stringOrNumber: "stringOrNumber";
632
+ timestamp: "timestamp";
633
+ }>;
634
+ operators: import("zod").ZodArray<import("zod").ZodEnum<{
635
+ eq: "eq";
636
+ exists: "exists";
637
+ gt: "gt";
638
+ gte: "gte";
639
+ in: "in";
640
+ lt: "lt";
641
+ lte: "lte";
642
+ ne: "ne";
643
+ notExists: "notExists";
644
+ notIn: "notIn";
645
+ }>>;
646
+ valueSuggestions: import("zod").ZodBoolean;
647
+ }, import("zod/v4/core").$strict>>;
648
+ observedFields: import("zod").ZodArray<import("zod").ZodObject<{
649
+ path: import("zod").ZodString & import("zod").ZodType<`metadata.${string}`, string, import("zod/v4/core").$ZodTypeInternals<`metadata.${string}`, string>>;
650
+ valueKind: import("zod").ZodLiteral<"string">;
651
+ operators: import("zod").ZodArray<import("zod").ZodEnum<{
652
+ eq: "eq";
653
+ exists: "exists";
654
+ in: "in";
655
+ ne: "ne";
656
+ notExists: "notExists";
657
+ notIn: "notIn";
658
+ }>>;
659
+ valueSuggestions: import("zod").ZodLiteral<true>;
660
+ occurrences: import("zod").ZodNumber;
661
+ }, import("zod/v4/core").$strict>>;
662
+ observedFieldsTruncated: import("zod").ZodBoolean;
663
+ }, import("zod/v4/core").$strict>> | undefined;
664
+ } & {
665
+ readonly _mastraSchemaRoute: true;
666
+ }, Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
667
+ method: string;
668
+ path: `/${string}`;
669
+ responseType: "json";
670
+ streamFormat?: 'sse' | 'stream';
671
+ sseFlushOnConnect?: boolean;
672
+ handler(params: {
673
+ timeRange: {
674
+ from: string;
675
+ to: string;
676
+ };
677
+ predicateScope: "feedback" | "scores" | "spans" | "trace";
678
+ path: string;
679
+ search?: string | undefined;
680
+ limit: number;
681
+ } & import(".").ServerContext): Promise<{
682
+ values: {
683
+ value: string;
684
+ count: number;
685
+ }[];
686
+ valuesTruncated: boolean;
687
+ }>;
688
+ pathParamSchema?: import("zod").ZodSchema;
689
+ queryParamSchema?: import("zod").ZodSchema;
690
+ bodySchema?: import("zod").ZodSchema;
691
+ responseSchema?: import("zod").ZodSchema;
692
+ openapi?: import("../openapi-utils").OpenAPIRoute;
693
+ maxBodySize?: number;
694
+ deprecated?: boolean;
695
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
696
+ fga?: import("@mastra/core/auth").FGARouteConfig;
697
+ onValidationError?: import("@mastra/core/server").ValidationErrorHook;
698
+ readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
699
+ timeRange: import("zod").ZodObject<{
700
+ from: import("zod").ZodString;
701
+ to: import("zod").ZodString;
702
+ }, import("zod/v4/core").$strict>;
703
+ predicateScope: import("zod").ZodEnum<{
704
+ feedback: "feedback";
705
+ scores: "scores";
706
+ spans: "spans";
707
+ trace: "trace";
708
+ }>;
709
+ path: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
710
+ search: import("zod").ZodOptional<import("zod").ZodString>;
711
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
712
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
713
+ values: import("zod").ZodArray<import("zod").ZodObject<{
714
+ value: import("zod").ZodString;
715
+ count: import("zod").ZodNumber;
716
+ }, import("zod/v4/core").$strict>>;
717
+ valuesTruncated: import("zod").ZodBoolean;
718
+ }, import("zod/v4/core").$strict>> | undefined;
719
+ } & {
720
+ readonly _mastraSchemaRoute: true;
721
+ }, Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
722
+ method: string;
723
+ path: `/${string}`;
724
+ responseType: "json";
725
+ streamFormat?: 'sse' | 'stream';
726
+ sseFlushOnConnect?: boolean;
727
+ handler(params: {
728
+ [x: string]: unknown;
729
+ } & import(".").ServerContext): Promise<{
380
730
  pagination?: {
381
731
  total: number;
382
732
  page: number;
@@ -389,13 +739,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
389
739
  } | undefined;
390
740
  deltaCursor?: string | undefined;
391
741
  metrics: {
392
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
742
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
393
743
  entityId?: string | null | undefined;
394
744
  entityName?: string | null | undefined;
395
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
745
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
396
746
  parentEntityId?: string | null | undefined;
397
747
  parentEntityName?: string | null | undefined;
398
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
748
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
399
749
  rootEntityId?: string | null | undefined;
400
750
  rootEntityName?: string | null | undefined;
401
751
  userId?: string | null | undefined;
@@ -430,10 +780,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
430
780
  metadata?: Record<string, unknown> | null | undefined;
431
781
  }[];
432
782
  }>;
433
- pathParamSchema?: import("zod").ZodType;
434
- queryParamSchema?: import("zod").ZodType;
435
- bodySchema?: import("zod").ZodType;
436
- responseSchema?: import("zod").ZodType;
783
+ pathParamSchema?: import("zod").ZodSchema;
784
+ queryParamSchema?: import("zod").ZodSchema;
785
+ bodySchema?: import("zod").ZodSchema;
786
+ responseSchema?: import("zod").ZodSchema;
437
787
  openapi?: import("../openapi-utils").OpenAPIRoute;
438
788
  maxBodySize?: number;
439
789
  deprecated?: boolean;
@@ -455,13 +805,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
455
805
  }, import("zod/v4/core").$strip>>;
456
806
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
457
807
  metrics: import("zod").ZodArray<import("zod").ZodObject<{
458
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
808
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
459
809
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
460
810
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
461
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
811
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
462
812
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
463
813
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
464
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
814
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
465
815
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
466
816
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
467
817
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -504,7 +854,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
504
854
  responseType: "json";
505
855
  streamFormat?: 'sse' | 'stream';
506
856
  sseFlushOnConnect?: boolean;
507
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
857
+ handler(params: {
858
+ [x: string]: unknown;
859
+ } & import(".").ServerContext): Promise<{
508
860
  pagination?: {
509
861
  total: number;
510
862
  page: number;
@@ -517,13 +869,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
517
869
  } | undefined;
518
870
  deltaCursor?: string | undefined;
519
871
  logs: {
520
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
872
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
521
873
  entityId?: string | null | undefined;
522
874
  entityName?: string | null | undefined;
523
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
875
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
524
876
  parentEntityId?: string | null | undefined;
525
877
  parentEntityName?: string | null | undefined;
526
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
878
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
527
879
  rootEntityId?: string | null | undefined;
528
880
  rootEntityName?: string | null | undefined;
529
881
  userId?: string | null | undefined;
@@ -553,10 +905,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
553
905
  metadata?: Record<string, unknown> | null | undefined;
554
906
  }[];
555
907
  }>;
556
- pathParamSchema?: import("zod").ZodType;
557
- queryParamSchema?: import("zod").ZodType;
558
- bodySchema?: import("zod").ZodType;
559
- responseSchema?: import("zod").ZodType;
908
+ pathParamSchema?: import("zod").ZodSchema;
909
+ queryParamSchema?: import("zod").ZodSchema;
910
+ bodySchema?: import("zod").ZodSchema;
911
+ responseSchema?: import("zod").ZodSchema;
560
912
  openapi?: import("../openapi-utils").OpenAPIRoute;
561
913
  maxBodySize?: number;
562
914
  deprecated?: boolean;
@@ -578,13 +930,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
578
930
  }, import("zod/v4/core").$strip>>;
579
931
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
580
932
  logs: import("zod").ZodArray<import("zod").ZodObject<{
581
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
933
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
582
934
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
583
935
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
584
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
936
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
585
937
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
586
938
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
587
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
939
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
588
940
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
589
941
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
590
942
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -628,7 +980,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
628
980
  responseType: "json";
629
981
  streamFormat?: 'sse' | 'stream';
630
982
  sseFlushOnConnect?: boolean;
631
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
983
+ handler(params: {
984
+ [x: string]: unknown;
985
+ } & import(".").ServerContext): Promise<{
632
986
  pagination?: {
633
987
  total: number;
634
988
  page: number;
@@ -641,13 +995,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
641
995
  } | undefined;
642
996
  deltaCursor?: string | undefined;
643
997
  scores: {
644
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
998
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
645
999
  entityId?: string | null | undefined;
646
1000
  entityName?: string | null | undefined;
647
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1001
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
648
1002
  parentEntityId?: string | null | undefined;
649
1003
  parentEntityName?: string | null | undefined;
650
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1004
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
651
1005
  rootEntityId?: string | null | undefined;
652
1006
  rootEntityName?: string | null | undefined;
653
1007
  userId?: string | null | undefined;
@@ -681,10 +1035,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
681
1035
  metadata?: Record<string, unknown> | null | undefined;
682
1036
  }[];
683
1037
  }>;
684
- pathParamSchema?: import("zod").ZodType;
685
- queryParamSchema?: import("zod").ZodType;
686
- bodySchema?: import("zod").ZodType;
687
- responseSchema?: import("zod").ZodType;
1038
+ pathParamSchema?: import("zod").ZodSchema;
1039
+ queryParamSchema?: import("zod").ZodSchema;
1040
+ bodySchema?: import("zod").ZodSchema;
1041
+ responseSchema?: import("zod").ZodSchema;
688
1042
  openapi?: import("../openapi-utils").OpenAPIRoute;
689
1043
  maxBodySize?: number;
690
1044
  deprecated?: boolean;
@@ -706,13 +1060,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
706
1060
  }, import("zod/v4/core").$strip>>;
707
1061
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
708
1062
  scores: import("zod").ZodArray<import("zod").ZodObject<{
709
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1063
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
710
1064
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
711
1065
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
712
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1066
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
713
1067
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
714
1068
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
715
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1069
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
716
1070
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
717
1071
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
718
1072
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -756,13 +1110,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
756
1110
  sseFlushOnConnect?: boolean;
757
1111
  handler(params: {
758
1112
  score: {
759
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1113
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
760
1114
  entityId?: string | null | undefined;
761
1115
  entityName?: string | null | undefined;
762
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1116
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
763
1117
  parentEntityId?: string | null | undefined;
764
1118
  parentEntityName?: string | null | undefined;
765
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1119
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
766
1120
  rootEntityId?: string | null | undefined;
767
1121
  rootEntityName?: string | null | undefined;
768
1122
  userId?: string | null | undefined;
@@ -797,10 +1151,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
797
1151
  } & import(".").ServerContext): Promise<{
798
1152
  success: boolean;
799
1153
  }>;
800
- pathParamSchema?: import("zod").ZodType;
801
- queryParamSchema?: import("zod").ZodType;
802
- bodySchema?: import("zod").ZodType;
803
- responseSchema?: import("zod").ZodType;
1154
+ pathParamSchema?: import("zod").ZodSchema;
1155
+ queryParamSchema?: import("zod").ZodSchema;
1156
+ bodySchema?: import("zod").ZodSchema;
1157
+ responseSchema?: import("zod").ZodSchema;
804
1158
  openapi?: import("../openapi-utils").OpenAPIRoute;
805
1159
  maxBodySize?: number;
806
1160
  deprecated?: boolean;
@@ -809,13 +1163,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
809
1163
  onValidationError?: import("@mastra/core/server").ValidationErrorHook;
810
1164
  readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
811
1165
  score: import("zod").ZodObject<{
812
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1166
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
813
1167
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
814
1168
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
815
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1169
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
816
1170
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
817
1171
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
818
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1172
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
819
1173
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
820
1174
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
821
1175
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -865,10 +1219,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
865
1219
  } & import(".").ServerContext): Promise<{
866
1220
  success: boolean;
867
1221
  }>;
868
- pathParamSchema?: import("zod").ZodType;
869
- queryParamSchema?: import("zod").ZodType;
870
- bodySchema?: import("zod").ZodType;
871
- responseSchema?: import("zod").ZodType;
1222
+ pathParamSchema?: import("zod").ZodSchema;
1223
+ queryParamSchema?: import("zod").ZodSchema;
1224
+ bodySchema?: import("zod").ZodSchema;
1225
+ responseSchema?: import("zod").ZodSchema;
872
1226
  openapi?: import("../openapi-utils").OpenAPIRoute;
873
1227
  maxBodySize?: number;
874
1228
  deprecated?: boolean;
@@ -894,13 +1248,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
894
1248
  scoreId: string;
895
1249
  } & import(".").ServerContext): Promise<{
896
1250
  score: {
897
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1251
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
898
1252
  entityId?: string | null | undefined;
899
1253
  entityName?: string | null | undefined;
900
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1254
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
901
1255
  parentEntityId?: string | null | undefined;
902
1256
  parentEntityName?: string | null | undefined;
903
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1257
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
904
1258
  rootEntityId?: string | null | undefined;
905
1259
  rootEntityName?: string | null | undefined;
906
1260
  userId?: string | null | undefined;
@@ -934,10 +1288,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
934
1288
  metadata?: Record<string, unknown> | null | undefined;
935
1289
  } | null;
936
1290
  }>;
937
- pathParamSchema?: import("zod").ZodType;
938
- queryParamSchema?: import("zod").ZodType;
939
- bodySchema?: import("zod").ZodType;
940
- responseSchema?: import("zod").ZodType;
1291
+ pathParamSchema?: import("zod").ZodSchema;
1292
+ queryParamSchema?: import("zod").ZodSchema;
1293
+ bodySchema?: import("zod").ZodSchema;
1294
+ responseSchema?: import("zod").ZodSchema;
941
1295
  openapi?: import("../openapi-utils").OpenAPIRoute;
942
1296
  maxBodySize?: number;
943
1297
  deprecated?: boolean;
@@ -948,13 +1302,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
948
1302
  scoreId: import("zod").ZodString;
949
1303
  }, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
950
1304
  score: import("zod").ZodNullable<import("zod").ZodObject<{
951
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1305
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
952
1306
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
953
1307
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
954
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1308
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
955
1309
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
956
1310
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
957
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1311
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
958
1312
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
959
1313
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
960
1314
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1009,7 +1363,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1009
1363
  } | undefined;
1010
1364
  traceId?: string | undefined;
1011
1365
  spanId?: string | undefined;
1012
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1366
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1013
1367
  entityName?: string | undefined;
1014
1368
  entityVersionId?: string | undefined;
1015
1369
  parentEntityVersionId?: string | undefined;
@@ -1019,9 +1373,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1019
1373
  experimentId?: string | undefined;
1020
1374
  serviceName?: string | undefined;
1021
1375
  environment?: string | undefined;
1022
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1376
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1023
1377
  parentEntityName?: string | undefined;
1024
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1378
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1025
1379
  rootEntityName?: string | undefined;
1026
1380
  resourceId?: string | undefined;
1027
1381
  runId?: string | undefined;
@@ -1041,10 +1395,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1041
1395
  previousValue?: number | null | undefined;
1042
1396
  changePercent?: number | null | undefined;
1043
1397
  }>;
1044
- pathParamSchema?: import("zod").ZodType;
1045
- queryParamSchema?: import("zod").ZodType;
1046
- bodySchema?: import("zod").ZodType;
1047
- responseSchema?: import("zod").ZodType;
1398
+ pathParamSchema?: import("zod").ZodSchema;
1399
+ queryParamSchema?: import("zod").ZodSchema;
1400
+ bodySchema?: import("zod").ZodSchema;
1401
+ responseSchema?: import("zod").ZodSchema;
1048
1402
  openapi?: import("../openapi-utils").OpenAPIRoute;
1049
1403
  maxBodySize?: number;
1050
1404
  deprecated?: boolean;
@@ -1072,7 +1426,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1072
1426
  }, import("zod/v4/core").$strip>>;
1073
1427
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1074
1428
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
1075
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1429
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1076
1430
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1077
1431
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1078
1432
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1082,9 +1436,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1082
1436
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1083
1437
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1084
1438
  environment: import("zod").ZodOptional<import("zod").ZodString>;
1085
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1439
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1086
1440
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1087
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1441
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1088
1442
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1089
1443
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1090
1444
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1130,7 +1484,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1130
1484
  } | undefined;
1131
1485
  traceId?: string | undefined;
1132
1486
  spanId?: string | undefined;
1133
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1487
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1134
1488
  entityName?: string | undefined;
1135
1489
  entityVersionId?: string | undefined;
1136
1490
  parentEntityVersionId?: string | undefined;
@@ -1140,9 +1494,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1140
1494
  experimentId?: string | undefined;
1141
1495
  serviceName?: string | undefined;
1142
1496
  environment?: string | undefined;
1143
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1497
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1144
1498
  parentEntityName?: string | undefined;
1145
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1499
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1146
1500
  rootEntityName?: string | undefined;
1147
1501
  resourceId?: string | undefined;
1148
1502
  runId?: string | undefined;
@@ -1162,10 +1516,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1162
1516
  value: number;
1163
1517
  }[];
1164
1518
  }>;
1165
- pathParamSchema?: import("zod").ZodType;
1166
- queryParamSchema?: import("zod").ZodType;
1167
- bodySchema?: import("zod").ZodType;
1168
- responseSchema?: import("zod").ZodType;
1519
+ pathParamSchema?: import("zod").ZodSchema;
1520
+ queryParamSchema?: import("zod").ZodSchema;
1521
+ bodySchema?: import("zod").ZodSchema;
1522
+ responseSchema?: import("zod").ZodSchema;
1169
1523
  openapi?: import("../openapi-utils").OpenAPIRoute;
1170
1524
  maxBodySize?: number;
1171
1525
  deprecated?: boolean;
@@ -1194,7 +1548,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1194
1548
  }, import("zod/v4/core").$strip>>;
1195
1549
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1196
1550
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
1197
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1551
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1198
1552
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1199
1553
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1200
1554
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1204,9 +1558,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1204
1558
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1205
1559
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1206
1560
  environment: import("zod").ZodOptional<import("zod").ZodString>;
1207
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1561
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1208
1562
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1209
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1563
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1210
1564
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1211
1565
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1212
1566
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1248,7 +1602,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1248
1602
  } | undefined;
1249
1603
  traceId?: string | undefined;
1250
1604
  spanId?: string | undefined;
1251
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1605
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1252
1606
  entityName?: string | undefined;
1253
1607
  entityVersionId?: string | undefined;
1254
1608
  parentEntityVersionId?: string | undefined;
@@ -1258,9 +1612,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1258
1612
  experimentId?: string | undefined;
1259
1613
  serviceName?: string | undefined;
1260
1614
  environment?: string | undefined;
1261
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1615
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1262
1616
  parentEntityName?: string | undefined;
1263
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1617
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1264
1618
  rootEntityName?: string | undefined;
1265
1619
  resourceId?: string | undefined;
1266
1620
  runId?: string | undefined;
@@ -1284,10 +1638,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1284
1638
  }[];
1285
1639
  }[];
1286
1640
  }>;
1287
- pathParamSchema?: import("zod").ZodType;
1288
- queryParamSchema?: import("zod").ZodType;
1289
- bodySchema?: import("zod").ZodType;
1290
- responseSchema?: import("zod").ZodType;
1641
+ pathParamSchema?: import("zod").ZodSchema;
1642
+ queryParamSchema?: import("zod").ZodSchema;
1643
+ bodySchema?: import("zod").ZodSchema;
1644
+ responseSchema?: import("zod").ZodSchema;
1291
1645
  openapi?: import("../openapi-utils").OpenAPIRoute;
1292
1646
  maxBodySize?: number;
1293
1647
  deprecated?: boolean;
@@ -1322,7 +1676,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1322
1676
  }, import("zod/v4/core").$strip>>;
1323
1677
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1324
1678
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
1325
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1679
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1326
1680
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1327
1681
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1328
1682
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1332,9 +1686,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1332
1686
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1333
1687
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1334
1688
  environment: import("zod").ZodOptional<import("zod").ZodString>;
1335
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1689
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1336
1690
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1337
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1691
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1338
1692
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1339
1693
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1340
1694
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1380,7 +1734,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1380
1734
  } | undefined;
1381
1735
  traceId?: string | undefined;
1382
1736
  spanId?: string | undefined;
1383
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1737
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1384
1738
  entityName?: string | undefined;
1385
1739
  entityVersionId?: string | undefined;
1386
1740
  parentEntityVersionId?: string | undefined;
@@ -1390,9 +1744,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1390
1744
  experimentId?: string | undefined;
1391
1745
  serviceName?: string | undefined;
1392
1746
  environment?: string | undefined;
1393
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1747
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1394
1748
  parentEntityName?: string | undefined;
1395
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1749
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1396
1750
  rootEntityName?: string | undefined;
1397
1751
  resourceId?: string | undefined;
1398
1752
  runId?: string | undefined;
@@ -1415,10 +1769,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1415
1769
  }[];
1416
1770
  }[];
1417
1771
  }>;
1418
- pathParamSchema?: import("zod").ZodType;
1419
- queryParamSchema?: import("zod").ZodType;
1420
- bodySchema?: import("zod").ZodType;
1421
- responseSchema?: import("zod").ZodType;
1772
+ pathParamSchema?: import("zod").ZodSchema;
1773
+ queryParamSchema?: import("zod").ZodSchema;
1774
+ bodySchema?: import("zod").ZodSchema;
1775
+ responseSchema?: import("zod").ZodSchema;
1422
1776
  openapi?: import("../openapi-utils").OpenAPIRoute;
1423
1777
  maxBodySize?: number;
1424
1778
  deprecated?: boolean;
@@ -1445,7 +1799,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1445
1799
  }, import("zod/v4/core").$strip>>;
1446
1800
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1447
1801
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
1448
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1802
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1449
1803
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1450
1804
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1451
1805
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1455,9 +1809,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1455
1809
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1456
1810
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1457
1811
  environment: import("zod").ZodOptional<import("zod").ZodString>;
1458
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1812
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1459
1813
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1460
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
1814
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1461
1815
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1462
1816
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1463
1817
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1488,7 +1842,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1488
1842
  responseType: "json";
1489
1843
  streamFormat?: 'sse' | 'stream';
1490
1844
  sseFlushOnConnect?: boolean;
1491
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
1845
+ handler(params: {
1846
+ [x: string]: unknown;
1847
+ } & import(".").ServerContext): Promise<{
1492
1848
  pagination?: {
1493
1849
  total: number;
1494
1850
  page: number;
@@ -1501,13 +1857,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1501
1857
  } | undefined;
1502
1858
  deltaCursor?: string | undefined;
1503
1859
  feedback: {
1504
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1860
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1505
1861
  entityId?: string | null | undefined;
1506
1862
  entityName?: string | null | undefined;
1507
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1863
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1508
1864
  parentEntityId?: string | null | undefined;
1509
1865
  parentEntityName?: string | null | undefined;
1510
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1866
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1511
1867
  rootEntityId?: string | null | undefined;
1512
1868
  rootEntityName?: string | null | undefined;
1513
1869
  userId?: string | null | undefined;
@@ -1547,10 +1903,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1547
1903
  } | undefined;
1548
1904
  }[];
1549
1905
  }>;
1550
- pathParamSchema?: import("zod").ZodType;
1551
- queryParamSchema?: import("zod").ZodType;
1552
- bodySchema?: import("zod").ZodType;
1553
- responseSchema?: import("zod").ZodType;
1906
+ pathParamSchema?: import("zod").ZodSchema;
1907
+ queryParamSchema?: import("zod").ZodSchema;
1908
+ bodySchema?: import("zod").ZodSchema;
1909
+ responseSchema?: import("zod").ZodSchema;
1554
1910
  openapi?: import("../openapi-utils").OpenAPIRoute;
1555
1911
  maxBodySize?: number;
1556
1912
  deprecated?: boolean;
@@ -1572,13 +1928,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1572
1928
  }, import("zod/v4/core").$strip>>;
1573
1929
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
1574
1930
  feedback: import("zod").ZodArray<import("zod").ZodObject<{
1575
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1931
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1576
1932
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1577
1933
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1578
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1934
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1579
1935
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1580
1936
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1581
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
1937
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1582
1938
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1583
1939
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1584
1940
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1631,13 +1987,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1631
1987
  sseFlushOnConnect?: boolean;
1632
1988
  handler(params: {
1633
1989
  feedback: {
1634
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1990
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1635
1991
  entityId?: string | null | undefined;
1636
1992
  entityName?: string | null | undefined;
1637
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1993
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1638
1994
  parentEntityId?: string | null | undefined;
1639
1995
  parentEntityName?: string | null | undefined;
1640
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1996
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1641
1997
  rootEntityId?: string | null | undefined;
1642
1998
  rootEntityName?: string | null | undefined;
1643
1999
  userId?: string | null | undefined;
@@ -1672,10 +2028,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1672
2028
  } & import(".").ServerContext): Promise<{
1673
2029
  success: boolean;
1674
2030
  }>;
1675
- pathParamSchema?: import("zod").ZodType;
1676
- queryParamSchema?: import("zod").ZodType;
1677
- bodySchema?: import("zod").ZodType;
1678
- responseSchema?: import("zod").ZodType;
2031
+ pathParamSchema?: import("zod").ZodSchema;
2032
+ queryParamSchema?: import("zod").ZodSchema;
2033
+ bodySchema?: import("zod").ZodSchema;
2034
+ responseSchema?: import("zod").ZodSchema;
1679
2035
  openapi?: import("../openapi-utils").OpenAPIRoute;
1680
2036
  maxBodySize?: number;
1681
2037
  deprecated?: boolean;
@@ -1684,13 +2040,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1684
2040
  onValidationError?: import("@mastra/core/server").ValidationErrorHook;
1685
2041
  readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
1686
2042
  feedback: import("zod").ZodObject<{
1687
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2043
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1688
2044
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1689
2045
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1690
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2046
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1691
2047
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1692
2048
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1693
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2049
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1694
2050
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1695
2051
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1696
2052
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1743,10 +2099,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1743
2099
  } & import(".").ServerContext): Promise<{
1744
2100
  success: boolean;
1745
2101
  }>;
1746
- pathParamSchema?: import("zod").ZodType;
1747
- queryParamSchema?: import("zod").ZodType;
1748
- bodySchema?: import("zod").ZodType;
1749
- responseSchema?: import("zod").ZodType;
2102
+ pathParamSchema?: import("zod").ZodSchema;
2103
+ queryParamSchema?: import("zod").ZodSchema;
2104
+ bodySchema?: import("zod").ZodSchema;
2105
+ responseSchema?: import("zod").ZodSchema;
1750
2106
  openapi?: import("../openapi-utils").OpenAPIRoute;
1751
2107
  maxBodySize?: number;
1752
2108
  deprecated?: boolean;
@@ -1773,13 +2129,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1773
2129
  } & {
1774
2130
  reviewStatus: "needs-review" | "reviewed";
1775
2131
  } & import(".").ServerContext): Promise<{
1776
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2132
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1777
2133
  entityId?: string | null | undefined;
1778
2134
  entityName?: string | null | undefined;
1779
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2135
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1780
2136
  parentEntityId?: string | null | undefined;
1781
2137
  parentEntityName?: string | null | undefined;
1782
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2138
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1783
2139
  rootEntityId?: string | null | undefined;
1784
2140
  rootEntityName?: string | null | undefined;
1785
2141
  userId?: string | null | undefined;
@@ -1812,10 +2168,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1812
2168
  metadata?: Record<string, unknown> | null | undefined;
1813
2169
  reviewStatus: "needs-review" | "reviewed";
1814
2170
  }>;
1815
- pathParamSchema?: import("zod").ZodType;
1816
- queryParamSchema?: import("zod").ZodType;
1817
- bodySchema?: import("zod").ZodType;
1818
- responseSchema?: import("zod").ZodType;
2171
+ pathParamSchema?: import("zod").ZodSchema;
2172
+ queryParamSchema?: import("zod").ZodSchema;
2173
+ bodySchema?: import("zod").ZodSchema;
2174
+ responseSchema?: import("zod").ZodSchema;
1819
2175
  openapi?: import("../openapi-utils").OpenAPIRoute;
1820
2176
  maxBodySize?: number;
1821
2177
  deprecated?: boolean;
@@ -1830,13 +2186,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1830
2186
  reviewed: "reviewed";
1831
2187
  }>;
1832
2188
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1833
- entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2189
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1834
2190
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1835
2191
  entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1836
- parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2192
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1837
2193
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1838
2194
  parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1839
- rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>>;
2195
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1840
2196
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1841
2197
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1842
2198
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1893,7 +2249,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1893
2249
  } | undefined;
1894
2250
  traceId?: string | undefined;
1895
2251
  spanId?: string | undefined;
1896
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2252
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1897
2253
  entityName?: string | undefined;
1898
2254
  entityVersionId?: string | undefined;
1899
2255
  parentEntityVersionId?: string | undefined;
@@ -1903,9 +2259,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1903
2259
  experimentId?: string | undefined;
1904
2260
  serviceName?: string | undefined;
1905
2261
  environment?: string | undefined;
1906
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2262
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1907
2263
  parentEntityName?: string | undefined;
1908
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2264
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1909
2265
  rootEntityName?: string | undefined;
1910
2266
  resourceId?: string | undefined;
1911
2267
  runId?: string | undefined;
@@ -1926,10 +2282,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1926
2282
  previousValue?: number | null | undefined;
1927
2283
  changePercent?: number | null | undefined;
1928
2284
  }>;
1929
- pathParamSchema?: import("zod").ZodType;
1930
- queryParamSchema?: import("zod").ZodType;
1931
- bodySchema?: import("zod").ZodType;
1932
- responseSchema?: import("zod").ZodType;
2285
+ pathParamSchema?: import("zod").ZodSchema;
2286
+ queryParamSchema?: import("zod").ZodSchema;
2287
+ bodySchema?: import("zod").ZodSchema;
2288
+ responseSchema?: import("zod").ZodSchema;
1933
2289
  openapi?: import("../openapi-utils").OpenAPIRoute;
1934
2290
  maxBodySize?: number;
1935
2291
  deprecated?: boolean;
@@ -1957,7 +2313,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1957
2313
  }, import("zod/v4/core").$strip>>;
1958
2314
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1959
2315
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
1960
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2316
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1961
2317
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1962
2318
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1963
2319
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1967,9 +2323,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1967
2323
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1968
2324
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1969
2325
  environment: import("zod").ZodOptional<import("zod").ZodString>;
1970
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2326
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1971
2327
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1972
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2328
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1973
2329
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1974
2330
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1975
2331
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2019,7 +2375,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2019
2375
  } | undefined;
2020
2376
  traceId?: string | undefined;
2021
2377
  spanId?: string | undefined;
2022
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2378
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2023
2379
  entityName?: string | undefined;
2024
2380
  entityVersionId?: string | undefined;
2025
2381
  parentEntityVersionId?: string | undefined;
@@ -2029,9 +2385,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2029
2385
  experimentId?: string | undefined;
2030
2386
  serviceName?: string | undefined;
2031
2387
  environment?: string | undefined;
2032
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2388
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2033
2389
  parentEntityName?: string | undefined;
2034
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2390
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2035
2391
  rootEntityName?: string | undefined;
2036
2392
  resourceId?: string | undefined;
2037
2393
  runId?: string | undefined;
@@ -2052,10 +2408,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2052
2408
  value: number;
2053
2409
  }[];
2054
2410
  }>;
2055
- pathParamSchema?: import("zod").ZodType;
2056
- queryParamSchema?: import("zod").ZodType;
2057
- bodySchema?: import("zod").ZodType;
2058
- responseSchema?: import("zod").ZodType;
2411
+ pathParamSchema?: import("zod").ZodSchema;
2412
+ queryParamSchema?: import("zod").ZodSchema;
2413
+ bodySchema?: import("zod").ZodSchema;
2414
+ responseSchema?: import("zod").ZodSchema;
2059
2415
  openapi?: import("../openapi-utils").OpenAPIRoute;
2060
2416
  maxBodySize?: number;
2061
2417
  deprecated?: boolean;
@@ -2084,7 +2440,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2084
2440
  }, import("zod/v4/core").$strip>>;
2085
2441
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2086
2442
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2087
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2443
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2088
2444
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2089
2445
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2090
2446
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2094,9 +2450,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2094
2450
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2095
2451
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2096
2452
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2097
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2453
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2098
2454
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2099
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2455
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2100
2456
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2101
2457
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2102
2458
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2142,7 +2498,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2142
2498
  } | undefined;
2143
2499
  traceId?: string | undefined;
2144
2500
  spanId?: string | undefined;
2145
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2501
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2146
2502
  entityName?: string | undefined;
2147
2503
  entityVersionId?: string | undefined;
2148
2504
  parentEntityVersionId?: string | undefined;
@@ -2152,9 +2508,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2152
2508
  experimentId?: string | undefined;
2153
2509
  serviceName?: string | undefined;
2154
2510
  environment?: string | undefined;
2155
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2511
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2156
2512
  parentEntityName?: string | undefined;
2157
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2513
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2158
2514
  rootEntityName?: string | undefined;
2159
2515
  resourceId?: string | undefined;
2160
2516
  runId?: string | undefined;
@@ -2179,10 +2535,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2179
2535
  }[];
2180
2536
  }[];
2181
2537
  }>;
2182
- pathParamSchema?: import("zod").ZodType;
2183
- queryParamSchema?: import("zod").ZodType;
2184
- bodySchema?: import("zod").ZodType;
2185
- responseSchema?: import("zod").ZodType;
2538
+ pathParamSchema?: import("zod").ZodSchema;
2539
+ queryParamSchema?: import("zod").ZodSchema;
2540
+ bodySchema?: import("zod").ZodSchema;
2541
+ responseSchema?: import("zod").ZodSchema;
2186
2542
  openapi?: import("../openapi-utils").OpenAPIRoute;
2187
2543
  maxBodySize?: number;
2188
2544
  deprecated?: boolean;
@@ -2217,7 +2573,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2217
2573
  }, import("zod/v4/core").$strip>>;
2218
2574
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2219
2575
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2220
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2576
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2221
2577
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2222
2578
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2223
2579
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2227,9 +2583,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2227
2583
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2228
2584
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2229
2585
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2230
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2586
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2231
2587
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2232
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2588
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2233
2589
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2234
2590
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2235
2591
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2279,7 +2635,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2279
2635
  } | undefined;
2280
2636
  traceId?: string | undefined;
2281
2637
  spanId?: string | undefined;
2282
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2638
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2283
2639
  entityName?: string | undefined;
2284
2640
  entityVersionId?: string | undefined;
2285
2641
  parentEntityVersionId?: string | undefined;
@@ -2289,9 +2645,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2289
2645
  experimentId?: string | undefined;
2290
2646
  serviceName?: string | undefined;
2291
2647
  environment?: string | undefined;
2292
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2648
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2293
2649
  parentEntityName?: string | undefined;
2294
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2650
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2295
2651
  rootEntityName?: string | undefined;
2296
2652
  resourceId?: string | undefined;
2297
2653
  runId?: string | undefined;
@@ -2315,10 +2671,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2315
2671
  }[];
2316
2672
  }[];
2317
2673
  }>;
2318
- pathParamSchema?: import("zod").ZodType;
2319
- queryParamSchema?: import("zod").ZodType;
2320
- bodySchema?: import("zod").ZodType;
2321
- responseSchema?: import("zod").ZodType;
2674
+ pathParamSchema?: import("zod").ZodSchema;
2675
+ queryParamSchema?: import("zod").ZodSchema;
2676
+ bodySchema?: import("zod").ZodSchema;
2677
+ responseSchema?: import("zod").ZodSchema;
2322
2678
  openapi?: import("../openapi-utils").OpenAPIRoute;
2323
2679
  maxBodySize?: number;
2324
2680
  deprecated?: boolean;
@@ -2345,7 +2701,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2345
2701
  }, import("zod/v4/core").$strip>>;
2346
2702
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2347
2703
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2348
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2704
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2349
2705
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2350
2706
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2351
2707
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2355,9 +2711,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2355
2711
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2356
2712
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2357
2713
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2358
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2714
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2359
2715
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2360
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2716
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2361
2717
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2362
2718
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2363
2719
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2405,7 +2761,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2405
2761
  } | undefined;
2406
2762
  traceId?: string | undefined;
2407
2763
  spanId?: string | undefined;
2408
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2764
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2409
2765
  entityName?: string | undefined;
2410
2766
  entityVersionId?: string | undefined;
2411
2767
  parentEntityVersionId?: string | undefined;
@@ -2415,9 +2771,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2415
2771
  experimentId?: string | undefined;
2416
2772
  serviceName?: string | undefined;
2417
2773
  environment?: string | undefined;
2418
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2774
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2419
2775
  parentEntityName?: string | undefined;
2420
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2776
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2421
2777
  rootEntityName?: string | undefined;
2422
2778
  resourceId?: string | undefined;
2423
2779
  runId?: string | undefined;
@@ -2444,10 +2800,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2444
2800
  previousEstimatedCost?: number | null | undefined;
2445
2801
  costChangePercent?: number | null | undefined;
2446
2802
  }>;
2447
- pathParamSchema?: import("zod").ZodType;
2448
- queryParamSchema?: import("zod").ZodType;
2449
- bodySchema?: import("zod").ZodType;
2450
- responseSchema?: import("zod").ZodType;
2803
+ pathParamSchema?: import("zod").ZodSchema;
2804
+ queryParamSchema?: import("zod").ZodSchema;
2805
+ bodySchema?: import("zod").ZodSchema;
2806
+ responseSchema?: import("zod").ZodSchema;
2451
2807
  openapi?: import("../openapi-utils").OpenAPIRoute;
2452
2808
  maxBodySize?: number;
2453
2809
  deprecated?: boolean;
@@ -2490,7 +2846,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2490
2846
  }, import("zod/v4/core").$strip>>;
2491
2847
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2492
2848
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2493
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2849
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2494
2850
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2495
2851
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2496
2852
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2500,9 +2856,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2500
2856
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2501
2857
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2502
2858
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2503
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2859
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2504
2860
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2505
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
2861
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2506
2862
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2507
2863
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2508
2864
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2555,7 +2911,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2555
2911
  } | undefined;
2556
2912
  traceId?: string | undefined;
2557
2913
  spanId?: string | undefined;
2558
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2914
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2559
2915
  entityName?: string | undefined;
2560
2916
  entityVersionId?: string | undefined;
2561
2917
  parentEntityVersionId?: string | undefined;
@@ -2565,9 +2921,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2565
2921
  experimentId?: string | undefined;
2566
2922
  serviceName?: string | undefined;
2567
2923
  environment?: string | undefined;
2568
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2924
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2569
2925
  parentEntityName?: string | undefined;
2570
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2926
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2571
2927
  rootEntityName?: string | undefined;
2572
2928
  resourceId?: string | undefined;
2573
2929
  runId?: string | undefined;
@@ -2594,10 +2950,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2594
2950
  costUnit?: string | null | undefined;
2595
2951
  }[];
2596
2952
  }>;
2597
- pathParamSchema?: import("zod").ZodType;
2598
- queryParamSchema?: import("zod").ZodType;
2599
- bodySchema?: import("zod").ZodType;
2600
- responseSchema?: import("zod").ZodType;
2953
+ pathParamSchema?: import("zod").ZodSchema;
2954
+ queryParamSchema?: import("zod").ZodSchema;
2955
+ bodySchema?: import("zod").ZodSchema;
2956
+ responseSchema?: import("zod").ZodSchema;
2601
2957
  openapi?: import("../openapi-utils").OpenAPIRoute;
2602
2958
  maxBodySize?: number;
2603
2959
  deprecated?: boolean;
@@ -2641,7 +2997,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2641
2997
  }, import("zod/v4/core").$strip>>;
2642
2998
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2643
2999
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2644
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3000
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2645
3001
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2646
3002
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2647
3003
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2651,9 +3007,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2651
3007
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2652
3008
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2653
3009
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2654
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3010
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2655
3011
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2656
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3012
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2657
3013
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2658
3014
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2659
3015
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2705,7 +3061,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2705
3061
  } | undefined;
2706
3062
  traceId?: string | undefined;
2707
3063
  spanId?: string | undefined;
2708
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3064
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2709
3065
  entityName?: string | undefined;
2710
3066
  entityVersionId?: string | undefined;
2711
3067
  parentEntityVersionId?: string | undefined;
@@ -2715,9 +3071,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2715
3071
  experimentId?: string | undefined;
2716
3072
  serviceName?: string | undefined;
2717
3073
  environment?: string | undefined;
2718
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3074
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2719
3075
  parentEntityName?: string | undefined;
2720
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3076
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2721
3077
  rootEntityName?: string | undefined;
2722
3078
  resourceId?: string | undefined;
2723
3079
  runId?: string | undefined;
@@ -2746,10 +3102,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2746
3102
  }[];
2747
3103
  }[];
2748
3104
  }>;
2749
- pathParamSchema?: import("zod").ZodType;
2750
- queryParamSchema?: import("zod").ZodType;
2751
- bodySchema?: import("zod").ZodType;
2752
- responseSchema?: import("zod").ZodType;
3105
+ pathParamSchema?: import("zod").ZodSchema;
3106
+ queryParamSchema?: import("zod").ZodSchema;
3107
+ bodySchema?: import("zod").ZodSchema;
3108
+ responseSchema?: import("zod").ZodSchema;
2753
3109
  openapi?: import("../openapi-utils").OpenAPIRoute;
2754
3110
  maxBodySize?: number;
2755
3111
  deprecated?: boolean;
@@ -2799,7 +3155,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2799
3155
  }, import("zod/v4/core").$strip>>;
2800
3156
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2801
3157
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2802
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3158
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2803
3159
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2804
3160
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2805
3161
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2809,9 +3165,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2809
3165
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2810
3166
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2811
3167
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2812
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3168
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2813
3169
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2814
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3170
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2815
3171
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2816
3172
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2817
3173
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2861,7 +3217,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2861
3217
  } | undefined;
2862
3218
  traceId?: string | undefined;
2863
3219
  spanId?: string | undefined;
2864
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3220
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2865
3221
  entityName?: string | undefined;
2866
3222
  entityVersionId?: string | undefined;
2867
3223
  parentEntityVersionId?: string | undefined;
@@ -2871,9 +3227,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2871
3227
  experimentId?: string | undefined;
2872
3228
  serviceName?: string | undefined;
2873
3229
  environment?: string | undefined;
2874
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3230
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2875
3231
  parentEntityName?: string | undefined;
2876
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3232
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2877
3233
  rootEntityName?: string | undefined;
2878
3234
  resourceId?: string | undefined;
2879
3235
  runId?: string | undefined;
@@ -2899,10 +3255,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2899
3255
  }[];
2900
3256
  }[];
2901
3257
  }>;
2902
- pathParamSchema?: import("zod").ZodType;
2903
- queryParamSchema?: import("zod").ZodType;
2904
- bodySchema?: import("zod").ZodType;
2905
- responseSchema?: import("zod").ZodType;
3258
+ pathParamSchema?: import("zod").ZodSchema;
3259
+ queryParamSchema?: import("zod").ZodSchema;
3260
+ bodySchema?: import("zod").ZodSchema;
3261
+ responseSchema?: import("zod").ZodSchema;
2906
3262
  openapi?: import("../openapi-utils").OpenAPIRoute;
2907
3263
  maxBodySize?: number;
2908
3264
  deprecated?: boolean;
@@ -2928,7 +3284,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2928
3284
  }, import("zod/v4/core").$strip>>;
2929
3285
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2930
3286
  spanId: import("zod").ZodOptional<import("zod").ZodString>;
2931
- entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3287
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2932
3288
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2933
3289
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2934
3290
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2938,9 +3294,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2938
3294
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2939
3295
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2940
3296
  environment: import("zod").ZodOptional<import("zod").ZodString>;
2941
- parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3297
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2942
3298
  parentEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2943
- rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3299
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2944
3300
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2945
3301
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2946
3302
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2974,13 +3330,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2974
3330
  responseType: "json";
2975
3331
  streamFormat?: 'sse' | 'stream';
2976
3332
  sseFlushOnConnect?: boolean;
2977
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3333
+ handler(params: {
3334
+ [x: string]: unknown;
3335
+ } & import(".").ServerContext): Promise<{
2978
3336
  names: string[];
2979
3337
  }>;
2980
- pathParamSchema?: import("zod").ZodType;
2981
- queryParamSchema?: import("zod").ZodType;
2982
- bodySchema?: import("zod").ZodType;
2983
- responseSchema?: import("zod").ZodType;
3338
+ pathParamSchema?: import("zod").ZodSchema;
3339
+ queryParamSchema?: import("zod").ZodSchema;
3340
+ bodySchema?: import("zod").ZodSchema;
3341
+ responseSchema?: import("zod").ZodSchema;
2984
3342
  openapi?: import("../openapi-utils").OpenAPIRoute;
2985
3343
  maxBodySize?: number;
2986
3344
  deprecated?: boolean;
@@ -3000,13 +3358,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3000
3358
  responseType: "json";
3001
3359
  streamFormat?: 'sse' | 'stream';
3002
3360
  sseFlushOnConnect?: boolean;
3003
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3361
+ handler(params: {
3362
+ [x: string]: unknown;
3363
+ } & import(".").ServerContext): Promise<{
3004
3364
  keys: string[];
3005
3365
  }>;
3006
- pathParamSchema?: import("zod").ZodType;
3007
- queryParamSchema?: import("zod").ZodType;
3008
- bodySchema?: import("zod").ZodType;
3009
- responseSchema?: import("zod").ZodType;
3366
+ pathParamSchema?: import("zod").ZodSchema;
3367
+ queryParamSchema?: import("zod").ZodSchema;
3368
+ bodySchema?: import("zod").ZodSchema;
3369
+ responseSchema?: import("zod").ZodSchema;
3010
3370
  openapi?: import("../openapi-utils").OpenAPIRoute;
3011
3371
  maxBodySize?: number;
3012
3372
  deprecated?: boolean;
@@ -3026,13 +3386,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3026
3386
  responseType: "json";
3027
3387
  streamFormat?: 'sse' | 'stream';
3028
3388
  sseFlushOnConnect?: boolean;
3029
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3389
+ handler(params: {
3390
+ [x: string]: unknown;
3391
+ } & import(".").ServerContext): Promise<{
3030
3392
  values: string[];
3031
3393
  }>;
3032
- pathParamSchema?: import("zod").ZodType;
3033
- queryParamSchema?: import("zod").ZodType;
3034
- bodySchema?: import("zod").ZodType;
3035
- responseSchema?: import("zod").ZodType;
3394
+ pathParamSchema?: import("zod").ZodSchema;
3395
+ queryParamSchema?: import("zod").ZodSchema;
3396
+ bodySchema?: import("zod").ZodSchema;
3397
+ responseSchema?: import("zod").ZodSchema;
3036
3398
  openapi?: import("../openapi-utils").OpenAPIRoute;
3037
3399
  maxBodySize?: number;
3038
3400
  deprecated?: boolean;
@@ -3053,12 +3415,12 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3053
3415
  streamFormat?: 'sse' | 'stream';
3054
3416
  sseFlushOnConnect?: boolean;
3055
3417
  handler(params: import(".").ServerContext): Promise<{
3056
- entityTypes: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType[];
3418
+ entityTypes: import("../../../_types/@internal_core/dist/storage/index.js").EntityType[];
3057
3419
  }>;
3058
- pathParamSchema?: import("zod").ZodType;
3059
- queryParamSchema?: import("zod").ZodType;
3060
- bodySchema?: import("zod").ZodType;
3061
- responseSchema?: import("zod").ZodType;
3420
+ pathParamSchema?: import("zod").ZodSchema;
3421
+ queryParamSchema?: import("zod").ZodSchema;
3422
+ bodySchema?: import("zod").ZodSchema;
3423
+ responseSchema?: import("zod").ZodSchema;
3062
3424
  openapi?: import("../openapi-utils").OpenAPIRoute;
3063
3425
  maxBodySize?: number;
3064
3426
  deprecated?: boolean;
@@ -3066,7 +3428,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3066
3428
  fga?: import("@mastra/core/auth").FGARouteConfig;
3067
3429
  onValidationError?: import("@mastra/core/server").ValidationErrorHook;
3068
3430
  readonly __schemas?: import(".").RouteSchemas<undefined, undefined, undefined, import("zod").ZodObject<{
3069
- entityTypes: import("zod").ZodArray<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType>>;
3431
+ entityTypes: import("zod").ZodArray<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
3070
3432
  }, import("zod/v4/core").$strip>> | undefined;
3071
3433
  } & {
3072
3434
  readonly _mastraSchemaRoute: true;
@@ -3076,13 +3438,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3076
3438
  responseType: "json";
3077
3439
  streamFormat?: 'sse' | 'stream';
3078
3440
  sseFlushOnConnect?: boolean;
3079
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3441
+ handler(params: {
3442
+ [x: string]: unknown;
3443
+ } & import(".").ServerContext): Promise<{
3080
3444
  names: string[];
3081
3445
  }>;
3082
- pathParamSchema?: import("zod").ZodType;
3083
- queryParamSchema?: import("zod").ZodType;
3084
- bodySchema?: import("zod").ZodType;
3085
- responseSchema?: import("zod").ZodType;
3446
+ pathParamSchema?: import("zod").ZodSchema;
3447
+ queryParamSchema?: import("zod").ZodSchema;
3448
+ bodySchema?: import("zod").ZodSchema;
3449
+ responseSchema?: import("zod").ZodSchema;
3086
3450
  openapi?: import("../openapi-utils").OpenAPIRoute;
3087
3451
  maxBodySize?: number;
3088
3452
  deprecated?: boolean;
@@ -3105,10 +3469,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3105
3469
  handler(params: import(".").ServerContext): Promise<{
3106
3470
  serviceNames: string[];
3107
3471
  }>;
3108
- pathParamSchema?: import("zod").ZodType;
3109
- queryParamSchema?: import("zod").ZodType;
3110
- bodySchema?: import("zod").ZodType;
3111
- responseSchema?: import("zod").ZodType;
3472
+ pathParamSchema?: import("zod").ZodSchema;
3473
+ queryParamSchema?: import("zod").ZodSchema;
3474
+ bodySchema?: import("zod").ZodSchema;
3475
+ responseSchema?: import("zod").ZodSchema;
3112
3476
  openapi?: import("../openapi-utils").OpenAPIRoute;
3113
3477
  maxBodySize?: number;
3114
3478
  deprecated?: boolean;
@@ -3129,10 +3493,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3129
3493
  handler(params: import(".").ServerContext): Promise<{
3130
3494
  environments: string[];
3131
3495
  }>;
3132
- pathParamSchema?: import("zod").ZodType;
3133
- queryParamSchema?: import("zod").ZodType;
3134
- bodySchema?: import("zod").ZodType;
3135
- responseSchema?: import("zod").ZodType;
3496
+ pathParamSchema?: import("zod").ZodSchema;
3497
+ queryParamSchema?: import("zod").ZodSchema;
3498
+ bodySchema?: import("zod").ZodSchema;
3499
+ responseSchema?: import("zod").ZodSchema;
3136
3500
  openapi?: import("../openapi-utils").OpenAPIRoute;
3137
3501
  maxBodySize?: number;
3138
3502
  deprecated?: boolean;
@@ -3150,13 +3514,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3150
3514
  responseType: "json";
3151
3515
  streamFormat?: 'sse' | 'stream';
3152
3516
  sseFlushOnConnect?: boolean;
3153
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3517
+ handler(params: {
3518
+ [x: string]: unknown;
3519
+ } & import(".").ServerContext): Promise<{
3154
3520
  tags: string[];
3155
3521
  }>;
3156
- pathParamSchema?: import("zod").ZodType;
3157
- queryParamSchema?: import("zod").ZodType;
3158
- bodySchema?: import("zod").ZodType;
3159
- responseSchema?: import("zod").ZodType;
3522
+ pathParamSchema?: import("zod").ZodSchema;
3523
+ queryParamSchema?: import("zod").ZodSchema;
3524
+ bodySchema?: import("zod").ZodSchema;
3525
+ responseSchema?: import("zod").ZodSchema;
3160
3526
  openapi?: import("../openapi-utils").OpenAPIRoute;
3161
3527
  maxBodySize?: number;
3162
3528
  deprecated?: boolean;