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

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 (445) hide show
  1. package/dist/_types/@internal_core/dist/storage/index.d.ts +3 -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-B9H0fBkm.cjs} +24 -6
  72. package/dist/agents-B9H0fBkm.cjs.map +1 -0
  73. package/dist/{agents-ssoMemNs.js → agents-Bic13NAO.js} +24 -6
  74. package/dist/agents-Bic13NAO.js.map +1 -0
  75. package/dist/{api-schema-manifest-CeREx1dB.js → api-schema-manifest-DDpGD3_2.js} +3 -3
  76. package/dist/{api-schema-manifest-CeREx1dB.js.map → api-schema-manifest-DDpGD3_2.js.map} +1 -1
  77. package/dist/{api-schema-manifest-DzWP4nLu.cjs → api-schema-manifest-Wh8dZzaC.cjs} +3 -3
  78. package/dist/{api-schema-manifest-DzWP4nLu.cjs.map → api-schema-manifest-Wh8dZzaC.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-DI3Ysclf.js → builder-registry-D6MI5ZLX.js} +3 -3
  84. package/dist/{builder-registry-DI3Ysclf.js.map → builder-registry-D6MI5ZLX.js.map} +1 -1
  85. package/dist/{builder-registry-r71f11_E.cjs → builder-registry-DYGJZJTi.cjs} +3 -3
  86. package/dist/{builder-registry-r71f11_E.cjs.map → builder-registry-DYGJZJTi.cjs.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-DstENx2x.cjs → conversations-DHgZXodJ.cjs} +2 -2
  92. package/dist/{conversations-DstENx2x.cjs.map → conversations-DHgZXodJ.cjs.map} +1 -1
  93. package/dist/{conversations-b3vJRHF3.js → conversations-DzzjfNa9.js} +2 -2
  94. package/dist/{conversations-b3vJRHF3.js.map → conversations-DzzjfNa9.js.map} +1 -1
  95. package/dist/{dist-D6F_HzDS.cjs → dist-B0uCWZUF.cjs} +4 -4
  96. package/dist/{dist-D6F_HzDS.cjs.map → dist-B0uCWZUF.cjs.map} +1 -1
  97. package/dist/{dist-C9yKk16g.cjs → dist-BQ0VOLA9.cjs} +3 -3
  98. package/dist/{dist-C9yKk16g.cjs.map → dist-BQ0VOLA9.cjs.map} +1 -1
  99. package/dist/{dist-k6UeNFHu.js → dist-Bl3UrwJs.js} +3 -3
  100. package/dist/{dist-k6UeNFHu.js.map → dist-Bl3UrwJs.js.map} +1 -1
  101. package/dist/{dist-B6qmZNb0.cjs → dist-C2u5Kqxy.cjs} +3 -3
  102. package/dist/{dist-B6qmZNb0.cjs.map → dist-C2u5Kqxy.cjs.map} +1 -1
  103. package/dist/{dist-BKxbtiJd.cjs → dist-CF1rK7oZ.cjs} +874 -192
  104. package/dist/dist-CF1rK7oZ.cjs.map +1 -0
  105. package/dist/{dist-C76EmJsT.cjs → dist-CkFmsB2E.cjs} +3 -3
  106. package/dist/{dist-C76EmJsT.cjs.map → dist-CkFmsB2E.cjs.map} +1 -1
  107. package/dist/{dist-Da8AufS5.js → dist-D1rb-p2Y.js} +4 -4
  108. package/dist/{dist-Da8AufS5.js.map → dist-D1rb-p2Y.js.map} +1 -1
  109. package/dist/{dist-Chgswf37.js → dist-DD1mFVAc.js} +3 -3
  110. package/dist/{dist-Chgswf37.js.map → dist-DD1mFVAc.js.map} +1 -1
  111. package/dist/{dist-Wjq6PT76.js → dist-DJ7t3yBx.js} +3 -3
  112. package/dist/{dist-Wjq6PT76.js.map → dist-DJ7t3yBx.js.map} +1 -1
  113. package/dist/{dist-CLQt62Pi.cjs → dist-DO5NHh-t.cjs} +3 -3
  114. package/dist/{dist-CLQt62Pi.cjs.map → dist-DO5NHh-t.cjs.map} +1 -1
  115. package/dist/{dist-XnA2Lowr.js → dist-DiEECrlS.js} +3 -3
  116. package/dist/{dist-XnA2Lowr.js.map → dist-DiEECrlS.js.map} +1 -1
  117. package/dist/{dist-DoTDZ7wF.js → dist-Dx2Qp8Rj.js} +3 -3
  118. package/dist/{dist-DoTDZ7wF.js.map → dist-Dx2Qp8Rj.js.map} +1 -1
  119. package/dist/{dist-DOpm-tIl.js → dist-dfcZRhcQ.js} +871 -189
  120. package/dist/dist-dfcZRhcQ.js.map +1 -0
  121. package/dist/{dist-DpM-6UBk.cjs → dist-vM0zJcP5.cjs} +3 -3
  122. package/dist/{dist-DpM-6UBk.cjs.map → dist-vM0zJcP5.cjs.map} +1 -1
  123. package/dist/docs/SKILL.md +2 -2
  124. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  125. package/dist/docs/references/docs-connections-a2a.md +4 -3
  126. package/dist/docs/references/docs-server-custom-adapters.md +43 -0
  127. package/dist/docs/references/reference-observability-tracing-trace-query.md +219 -46
  128. package/dist/{dynamic-workflows-DeUG3lA2.cjs → dynamic-workflows-BiX72mRA.cjs} +2 -2
  129. package/dist/{dynamic-workflows-DeUG3lA2.cjs.map → dynamic-workflows-BiX72mRA.cjs.map} +1 -1
  130. package/dist/{dynamic-workflows-C3DXgmSP.js → dynamic-workflows-CVrxi8y7.js} +2 -2
  131. package/dist/{dynamic-workflows-C3DXgmSP.js.map → dynamic-workflows-CVrxi8y7.js.map} +1 -1
  132. package/dist/{editor-builder-BI5yHrbT.js → editor-builder-BRRYGWMU.js} +3 -3
  133. package/dist/{editor-builder-BI5yHrbT.js.map → editor-builder-BRRYGWMU.js.map} +1 -1
  134. package/dist/{editor-builder-D6P_hq7c.js → editor-builder-D2gMZkny.js} +2 -2
  135. package/dist/{editor-builder-D6P_hq7c.js.map → editor-builder-D2gMZkny.js.map} +1 -1
  136. package/dist/{editor-builder-CKAeON9r.cjs → editor-builder-DZAS7tNU.cjs} +3 -3
  137. package/dist/{editor-builder-CKAeON9r.cjs.map → editor-builder-DZAS7tNU.cjs.map} +1 -1
  138. package/dist/{editor-builder-BHf-g7q9.cjs → editor-builder-ITPZxpzq.cjs} +2 -2
  139. package/dist/{editor-builder-BHf-g7q9.cjs.map → editor-builder-ITPZxpzq.cjs.map} +1 -1
  140. package/dist/{mcp-BPmrXX9r.cjs → mcp-CdZzch5c.cjs} +11 -3
  141. package/dist/mcp-CdZzch5c.cjs.map +1 -0
  142. package/dist/{mcp-B_OMG3Ol.js → mcp-ea7f_n2D.js} +11 -3
  143. package/dist/mcp-ea7f_n2D.js.map +1 -0
  144. package/dist/{memory-CDYtqQnE.cjs → memory-BNvFGYtR.cjs} +4 -2
  145. package/dist/memory-BNvFGYtR.cjs.map +1 -0
  146. package/dist/{memory-BvKPIpyH.js → memory-CxfzZmoW.js} +4 -2
  147. package/dist/memory-CxfzZmoW.js.map +1 -0
  148. package/dist/message-history-CkUYxSaS.cjs +22 -0
  149. package/dist/message-history-CkUYxSaS.cjs.map +1 -0
  150. package/dist/message-history-_kbQlA4r.js +11 -0
  151. package/dist/message-history-_kbQlA4r.js.map +1 -0
  152. package/dist/{observability-new-endpoints-I2OxQzfY.cjs → observability-new-endpoints-BUC8-mAb.cjs} +230 -6
  153. package/dist/observability-new-endpoints-BUC8-mAb.cjs.map +1 -0
  154. package/dist/{observability-new-endpoints-pIq_OWa8.js → observability-new-endpoints-CZyppvEy.js} +214 -8
  155. package/dist/observability-new-endpoints-CZyppvEy.js.map +1 -0
  156. package/dist/{route-builder-DupY8fkI.cjs → route-builder-CbCx1upL.cjs} +5 -5
  157. package/dist/{route-builder-DupY8fkI.cjs.map → route-builder-CbCx1upL.cjs.map} +1 -1
  158. package/dist/{route-builder-BukcT_Kp.js → route-builder-DDOjv0sM.js} +3 -3
  159. package/dist/{route-builder-BukcT_Kp.js.map → route-builder-DDOjv0sM.js.map} +1 -1
  160. package/dist/{routes-PJ3eKHbs.cjs → routes-7alDuT9Q.cjs} +14 -11
  161. package/dist/routes-7alDuT9Q.cjs.map +1 -0
  162. package/dist/{routes-BJZtqLVx.js → routes-gccKFI1D.js} +14 -11
  163. package/dist/routes-gccKFI1D.js.map +1 -0
  164. package/dist/{schedules-DaEv0Usj.cjs → schedules-ByXP9Fgm.cjs} +15 -9
  165. package/dist/schedules-ByXP9Fgm.cjs.map +1 -0
  166. package/dist/{schedules-BzymFGR_.js → schedules-Cy6FhkZX.js} +15 -9
  167. package/dist/schedules-Cy6FhkZX.js.map +1 -0
  168. package/dist/{schema-D_ikovK6-DQrOVw5N.cjs → schema-BwlBcZRB-BLwYP0BY.cjs} +6 -6
  169. package/dist/{schema-D_ikovK6-DQrOVw5N.cjs.map → schema-BwlBcZRB-BLwYP0BY.cjs.map} +1 -1
  170. package/dist/{schema-D_ikovK6-BzTeMhWf.js → schema-BwlBcZRB-DUSSQ9TD.js} +6 -6
  171. package/dist/{schema-D_ikovK6-BzTeMhWf.js.map → schema-BwlBcZRB-DUSSQ9TD.js.map} +1 -1
  172. package/dist/schema-DM4T8wfR.cjs +1 -0
  173. package/dist/schema-Fa9iirVJ.js +2 -0
  174. package/dist/{scorer-versions-B6U7batJ.cjs → scorer-versions-DAsYq5b3.cjs} +2 -2
  175. package/dist/{scorer-versions-B6U7batJ.cjs.map → scorer-versions-DAsYq5b3.cjs.map} +1 -1
  176. package/dist/{scorer-versions-Dh2iaz4Y.js → scorer-versions-VpbcaDi8.js} +2 -2
  177. package/dist/{scorer-versions-Dh2iaz4Y.js.map → scorer-versions-VpbcaDi8.js.map} +1 -1
  178. package/dist/server/a2a/agent-card-signing.d.ts +8 -4
  179. package/dist/server/a2a/agent-card-signing.d.ts.map +1 -1
  180. package/dist/server/a2a/agent-card-v1.d.ts +6 -0
  181. package/dist/server/a2a/agent-card-v1.d.ts.map +1 -0
  182. package/dist/server/handlers/a2a.cjs +1 -1
  183. package/dist/server/handlers/a2a.d.ts +205 -61
  184. package/dist/server/handlers/a2a.d.ts.map +1 -1
  185. package/dist/server/handlers/a2a.js +1 -1
  186. package/dist/server/handlers/agent-builder.cjs +4 -4
  187. package/dist/server/handlers/agent-builder.d.ts +64 -64
  188. package/dist/server/handlers/agent-builder.js +4 -4
  189. package/dist/server/handlers/agent-controller.cjs +2 -2
  190. package/dist/server/handlers/agent-controller.d.ts +145 -145
  191. package/dist/server/handlers/agent-controller.js +2 -2
  192. package/dist/server/handlers/agent-versions.cjs +3 -3
  193. package/dist/server/handlers/agent-versions.d.ts +136 -40
  194. package/dist/server/handlers/agent-versions.d.ts.map +1 -1
  195. package/dist/server/handlers/agent-versions.js +3 -3
  196. package/dist/server/handlers/agents.cjs +7 -7
  197. package/dist/server/handlers/agents.d.ts +236 -152
  198. package/dist/server/handlers/agents.d.ts.map +1 -1
  199. package/dist/server/handlers/agents.js +6 -6
  200. package/dist/server/handlers/auth.cjs +1 -1
  201. package/dist/server/handlers/auth.d.ts +80 -80
  202. package/dist/server/handlers/auth.js +1 -1
  203. package/dist/server/handlers/background-tasks.cjs +1 -1
  204. package/dist/server/handlers/background-tasks.d.ts +12 -12
  205. package/dist/server/handlers/background-tasks.js +1 -1
  206. package/dist/server/handlers/builder-registry.cjs +1 -1
  207. package/dist/server/handlers/builder-registry.d.ts +20 -20
  208. package/dist/server/handlers/builder-registry.js +1 -1
  209. package/dist/server/handlers/channels.cjs +1 -1
  210. package/dist/server/handlers/channels.d.ts +16 -16
  211. package/dist/server/handlers/channels.js +1 -1
  212. package/dist/server/handlers/conversations.cjs +2 -2
  213. package/dist/server/handlers/conversations.d.ts +16 -16
  214. package/dist/server/handlers/conversations.js +2 -2
  215. package/dist/server/handlers/datasets.cjs +3 -3
  216. package/dist/server/handlers/datasets.cjs.map +1 -1
  217. package/dist/server/handlers/datasets.d.ts +142 -142
  218. package/dist/server/handlers/datasets.js +3 -3
  219. package/dist/server/handlers/datasets.js.map +1 -1
  220. package/dist/server/handlers/dynamic-workflows.cjs +1 -1
  221. package/dist/server/handlers/dynamic-workflows.d.ts +76 -76
  222. package/dist/server/handlers/dynamic-workflows.js +1 -1
  223. package/dist/server/handlers/editor-builder.cjs +1 -1
  224. package/dist/server/handlers/editor-builder.d.ts +12 -12
  225. package/dist/server/handlers/editor-builder.js +1 -1
  226. package/dist/server/handlers/favorites-enrichment.cjs +1 -1
  227. package/dist/server/handlers/favorites-enrichment.js +1 -1
  228. package/dist/server/handlers/logs.cjs +1 -1
  229. package/dist/server/handlers/logs.d.ts +12 -12
  230. package/dist/server/handlers/logs.js +1 -1
  231. package/dist/server/handlers/mcp-client-versions.cjs +2 -2
  232. package/dist/server/handlers/mcp-client-versions.d.ts +28 -28
  233. package/dist/server/handlers/mcp-client-versions.js +2 -2
  234. package/dist/server/handlers/mcp.cjs +34 -3
  235. package/dist/server/handlers/mcp.cjs.map +1 -1
  236. package/dist/server/handlers/mcp.d.ts +55 -42
  237. package/dist/server/handlers/mcp.d.ts.map +1 -1
  238. package/dist/server/handlers/mcp.js +34 -3
  239. package/dist/server/handlers/mcp.js.map +1 -1
  240. package/dist/server/handlers/memory.cjs +3 -4
  241. package/dist/server/handlers/memory.cjs.map +1 -1
  242. package/dist/server/handlers/memory.d.ts +160 -152
  243. package/dist/server/handlers/memory.d.ts.map +1 -1
  244. package/dist/server/handlers/memory.js +3 -4
  245. package/dist/server/handlers/memory.js.map +1 -1
  246. package/dist/server/handlers/observability-new-endpoints.cjs +4 -1
  247. package/dist/server/handlers/observability-new-endpoints.d.ts +974 -518
  248. package/dist/server/handlers/observability-new-endpoints.d.ts.map +1 -1
  249. package/dist/server/handlers/observability-new-endpoints.js +2 -2
  250. package/dist/server/handlers/observability-shared.cjs +41 -2
  251. package/dist/server/handlers/observability-shared.cjs.map +1 -1
  252. package/dist/server/handlers/observability-shared.d.ts +24 -0
  253. package/dist/server/handlers/observability-shared.d.ts.map +1 -1
  254. package/dist/server/handlers/observability-shared.js +37 -2
  255. package/dist/server/handlers/observability-shared.js.map +1 -1
  256. package/dist/server/handlers/observability.cjs +8 -2
  257. package/dist/server/handlers/observability.cjs.map +1 -1
  258. package/dist/server/handlers/observability.d.ts +33 -27
  259. package/dist/server/handlers/observability.d.ts.map +1 -1
  260. package/dist/server/handlers/observability.js +6 -3
  261. package/dist/server/handlers/observability.js.map +1 -1
  262. package/dist/server/handlers/plans.cjs +2 -2
  263. package/dist/server/handlers/plans.d.ts +4 -4
  264. package/dist/server/handlers/plans.js +2 -2
  265. package/dist/server/handlers/processor-providers.cjs +1 -1
  266. package/dist/server/handlers/processor-providers.d.ts +8 -8
  267. package/dist/server/handlers/processor-providers.js +1 -1
  268. package/dist/server/handlers/processors.cjs +1 -1
  269. package/dist/server/handlers/processors.d.ts +12 -12
  270. package/dist/server/handlers/processors.js +1 -1
  271. package/dist/server/handlers/prompt-block-versions.cjs +2 -2
  272. package/dist/server/handlers/prompt-block-versions.d.ts +28 -28
  273. package/dist/server/handlers/prompt-block-versions.js +2 -2
  274. package/dist/server/handlers/responses.cjs +1 -1
  275. package/dist/server/handlers/responses.d.ts +12 -12
  276. package/dist/server/handlers/responses.js +1 -1
  277. package/dist/server/handlers/schedules.cjs +1 -1
  278. package/dist/server/handlers/schedules.d.ts +52 -36
  279. package/dist/server/handlers/schedules.d.ts.map +1 -1
  280. package/dist/server/handlers/schedules.js +1 -1
  281. package/dist/server/handlers/scorer-versions.cjs +3 -3
  282. package/dist/server/handlers/scorer-versions.d.ts +28 -28
  283. package/dist/server/handlers/scorer-versions.js +3 -3
  284. package/dist/server/handlers/scores.cjs +1 -1
  285. package/dist/server/handlers/scores.d.ts +24 -24
  286. package/dist/server/handlers/scores.js +1 -1
  287. package/dist/server/handlers/stored-agent-favorites.cjs +4 -4
  288. package/dist/server/handlers/stored-agent-favorites.d.ts +8 -8
  289. package/dist/server/handlers/stored-agent-favorites.js +4 -4
  290. package/dist/server/handlers/stored-agents.cjs +4 -4
  291. package/dist/server/handlers/stored-agents.d.ts +140 -44
  292. package/dist/server/handlers/stored-agents.d.ts.map +1 -1
  293. package/dist/server/handlers/stored-agents.js +4 -4
  294. package/dist/server/handlers/stored-mcp-clients.cjs +2 -2
  295. package/dist/server/handlers/stored-mcp-clients.d.ts +20 -20
  296. package/dist/server/handlers/stored-mcp-clients.js +2 -2
  297. package/dist/server/handlers/stored-prompt-blocks.cjs +2 -2
  298. package/dist/server/handlers/stored-prompt-blocks.d.ts +20 -20
  299. package/dist/server/handlers/stored-prompt-blocks.js +2 -2
  300. package/dist/server/handlers/stored-scorers.cjs +3 -3
  301. package/dist/server/handlers/stored-scorers.d.ts +20 -20
  302. package/dist/server/handlers/stored-scorers.js +3 -3
  303. package/dist/server/handlers/stored-skill-favorites.cjs +3 -3
  304. package/dist/server/handlers/stored-skill-favorites.d.ts +8 -8
  305. package/dist/server/handlers/stored-skill-favorites.js +3 -3
  306. package/dist/server/handlers/stored-skills.cjs +3 -3
  307. package/dist/server/handlers/stored-skills.d.ts +24 -24
  308. package/dist/server/handlers/stored-skills.js +3 -3
  309. package/dist/server/handlers/stored-workspaces.cjs +2 -2
  310. package/dist/server/handlers/stored-workspaces.d.ts +20 -20
  311. package/dist/server/handlers/stored-workspaces.js +2 -2
  312. package/dist/server/handlers/system.cjs +7 -5
  313. package/dist/server/handlers/system.cjs.map +1 -1
  314. package/dist/server/handlers/system.d.ts +10 -8
  315. package/dist/server/handlers/system.d.ts.map +1 -1
  316. package/dist/server/handlers/system.js +7 -5
  317. package/dist/server/handlers/system.js.map +1 -1
  318. package/dist/server/handlers/tool-providers.cjs +1 -1
  319. package/dist/server/handlers/tool-providers.d.ts +52 -52
  320. package/dist/server/handlers/tool-providers.js +1 -1
  321. package/dist/server/handlers/tools.cjs +6 -6
  322. package/dist/server/handlers/tools.d.ts +26 -20
  323. package/dist/server/handlers/tools.d.ts.map +1 -1
  324. package/dist/server/handlers/tools.js +5 -5
  325. package/dist/server/handlers/validate-agent-instructions.cjs +1 -1
  326. package/dist/server/handlers/validate-agent-instructions.js +1 -1
  327. package/dist/server/handlers/vector.cjs +1 -1
  328. package/dist/server/handlers/vector.d.ts +32 -32
  329. package/dist/server/handlers/vector.js +1 -1
  330. package/dist/server/handlers/workflow-builder.cjs +1 -1
  331. package/dist/server/handlers/workflow-builder.d.ts +8 -8
  332. package/dist/server/handlers/workflow-builder.js +1 -1
  333. package/dist/server/handlers/workflows.cjs +3 -3
  334. package/dist/server/handlers/workflows.d.ts +108 -108
  335. package/dist/server/handlers/workflows.js +3 -3
  336. package/dist/server/handlers/workspace.cjs +1 -1
  337. package/dist/server/handlers/workspace.d.ts +160 -160
  338. package/dist/server/handlers/workspace.js +1 -1
  339. package/dist/server/handlers.cjs +2 -2
  340. package/dist/server/handlers.js +2 -2
  341. package/dist/server/schemas/a2a.d.ts +165 -9
  342. package/dist/server/schemas/a2a.d.ts.map +1 -1
  343. package/dist/server/schemas/agent-versions.d.ts +70 -10
  344. package/dist/server/schemas/agent-versions.d.ts.map +1 -1
  345. package/dist/server/schemas/agents.d.ts +48 -1
  346. package/dist/server/schemas/agents.d.ts.map +1 -1
  347. package/dist/server/schemas/datasets.d.ts +4 -4
  348. package/dist/server/schemas/feedback.d.ts +3 -3
  349. package/dist/server/schemas/index.cjs +11 -11
  350. package/dist/server/schemas/index.js +11 -11
  351. package/dist/server/schemas/mcp.d.ts +8 -2
  352. package/dist/server/schemas/mcp.d.ts.map +1 -1
  353. package/dist/server/schemas/memory-config.d.ts +10 -2
  354. package/dist/server/schemas/memory-config.d.ts.map +1 -1
  355. package/dist/server/schemas/memory.d.ts +32 -28
  356. package/dist/server/schemas/memory.d.ts.map +1 -1
  357. package/dist/server/schemas/message-history.d.ts +7 -0
  358. package/dist/server/schemas/message-history.d.ts.map +1 -0
  359. package/dist/server/schemas/schedules.d.ts +9 -3
  360. package/dist/server/schemas/schedules.d.ts.map +1 -1
  361. package/dist/server/schemas/stored-agents.d.ts +140 -20
  362. package/dist/server/schemas/stored-agents.d.ts.map +1 -1
  363. package/dist/server/schemas/system.d.ts +2 -0
  364. package/dist/server/schemas/system.d.ts.map +1 -1
  365. package/dist/server/server-adapter/api-schema-manifest.d.ts +1 -1
  366. package/dist/server/server-adapter/index.cjs +3 -3
  367. package/dist/server/server-adapter/index.js +3 -3
  368. package/dist/server/server-adapter/openapi-utils.d.ts +1 -1
  369. package/dist/server/server-adapter/routes/a2a.d.ts +193 -59
  370. package/dist/server/server-adapter/routes/a2a.d.ts.map +1 -1
  371. package/dist/server/server-adapter/routes/agent-builder.d.ts +64 -64
  372. package/dist/server/server-adapter/routes/channels.d.ts +16 -16
  373. package/dist/server/server-adapter/routes/conversations.d.ts +16 -16
  374. package/dist/server/server-adapter/routes/datasets.d.ts +142 -142
  375. package/dist/server/server-adapter/routes/editor-builder.d.ts +40 -40
  376. package/dist/server/server-adapter/routes/legacy.d.ts +16 -16
  377. package/dist/server/server-adapter/routes/logs.d.ts +12 -12
  378. package/dist/server/server-adapter/routes/mcp.d.ts +54 -42
  379. package/dist/server/server-adapter/routes/mcp.d.ts.map +1 -1
  380. package/dist/server/server-adapter/routes/memory.d.ts +160 -152
  381. package/dist/server/server-adapter/routes/memory.d.ts.map +1 -1
  382. package/dist/server/server-adapter/routes/observability.d.ts +593 -286
  383. package/dist/server/server-adapter/routes/observability.d.ts.map +1 -1
  384. package/dist/server/server-adapter/routes/processor-providers.d.ts +8 -8
  385. package/dist/server/server-adapter/routes/processors.d.ts +12 -12
  386. package/dist/server/server-adapter/routes/responses.d.ts +12 -12
  387. package/dist/server/server-adapter/routes/scorers.d.ts +24 -24
  388. package/dist/server/server-adapter/routes/stored-mcp-clients.d.ts +48 -48
  389. package/dist/server/server-adapter/routes/stored-prompt-blocks.d.ts +48 -48
  390. package/dist/server/server-adapter/routes/stored-scorers.d.ts +48 -48
  391. package/dist/server/server-adapter/routes/stored-skills.d.ts +32 -32
  392. package/dist/server/server-adapter/routes/stored-workspaces.d.ts +20 -20
  393. package/dist/server/server-adapter/routes/system.d.ts +10 -8
  394. package/dist/server/server-adapter/routes/system.d.ts.map +1 -1
  395. package/dist/server/server-adapter/routes/tool-providers.d.ts +52 -52
  396. package/dist/server/server-adapter/routes/tools.d.ts +16 -12
  397. package/dist/server/server-adapter/routes/tools.d.ts.map +1 -1
  398. package/dist/server/server-adapter/routes/vectors.d.ts +32 -32
  399. package/dist/server/server-adapter/routes/workflows.d.ts +100 -100
  400. package/dist/server/server-adapter/routes/workspace.d.ts +84 -84
  401. package/dist/{stored-agents-BJMM5f9A.cjs → stored-agents-61cRlWax.cjs} +8 -4
  402. package/dist/stored-agents-61cRlWax.cjs.map +1 -0
  403. package/dist/{stored-agents-AC0najKd.js → stored-agents-CuEn_6cd.js} +8 -4
  404. package/dist/stored-agents-CuEn_6cd.js.map +1 -0
  405. package/dist/{stored-scorers-CWxW1_mY.cjs → stored-scorers-BLj27wz5.cjs} +2 -2
  406. package/dist/{stored-scorers-CWxW1_mY.cjs.map → stored-scorers-BLj27wz5.cjs.map} +1 -1
  407. package/dist/{stored-scorers-B8QVQCCs.js → stored-scorers-D7dAXnFk.js} +2 -2
  408. package/dist/{stored-scorers-B8QVQCCs.js.map → stored-scorers-D7dAXnFk.js.map} +1 -1
  409. package/dist/{system-Cfo5a63a.cjs → system-D85p7-oz.cjs} +3 -2
  410. package/dist/system-D85p7-oz.cjs.map +1 -0
  411. package/dist/{system-DT2JfUun.js → system-DMAG21IT.js} +3 -2
  412. package/dist/system-DMAG21IT.js.map +1 -0
  413. package/dist/{utils-WcR0QSUB.cjs → utils-DbHFc3hG.cjs} +5 -5
  414. package/dist/{utils-WcR0QSUB.cjs.map → utils-DbHFc3hG.cjs.map} +1 -1
  415. package/dist/{utils-Duk4hfT_.js → utils-mRt04Bqa.js} +3 -3
  416. package/dist/{utils-Duk4hfT_.js.map → utils-mRt04Bqa.js.map} +1 -1
  417. package/dist/{workflow-builder-D5dPsrog.cjs → workflow-builder-B6FVVlj_.cjs} +4 -4
  418. package/dist/{workflow-builder-D5dPsrog.cjs.map → workflow-builder-B6FVVlj_.cjs.map} +1 -1
  419. package/dist/{workflow-builder-Eape8SyU.js → workflow-builder-Cu0uWpzj.js} +4 -4
  420. package/dist/{workflow-builder-Eape8SyU.js.map → workflow-builder-Cu0uWpzj.js.map} +1 -1
  421. package/package.json +10 -10
  422. package/dist/a2a-8C4O2dVJ.js.map +0 -1
  423. package/dist/a2a-DQ8GeDz4.cjs.map +0 -1
  424. package/dist/a2a-DUBjstWk.js.map +0 -1
  425. package/dist/a2a-MPoM5lzS.cjs.map +0 -1
  426. package/dist/agents-CZE_MSQE.cjs.map +0 -1
  427. package/dist/agents-ssoMemNs.js.map +0 -1
  428. package/dist/dist-BKxbtiJd.cjs.map +0 -1
  429. package/dist/dist-DOpm-tIl.js.map +0 -1
  430. package/dist/mcp-BPmrXX9r.cjs.map +0 -1
  431. package/dist/mcp-B_OMG3Ol.js.map +0 -1
  432. package/dist/memory-BvKPIpyH.js.map +0 -1
  433. package/dist/memory-CDYtqQnE.cjs.map +0 -1
  434. package/dist/observability-new-endpoints-I2OxQzfY.cjs.map +0 -1
  435. package/dist/observability-new-endpoints-pIq_OWa8.js.map +0 -1
  436. package/dist/routes-BJZtqLVx.js.map +0 -1
  437. package/dist/routes-PJ3eKHbs.cjs.map +0 -1
  438. package/dist/schedules-BzymFGR_.js.map +0 -1
  439. package/dist/schedules-DaEv0Usj.cjs.map +0 -1
  440. package/dist/schema-BF_cZG0Y.js +0 -2
  441. package/dist/schema-C7CvwM1d.cjs +0 -1
  442. package/dist/stored-agents-AC0najKd.js.map +0 -1
  443. package/dist/stored-agents-BJMM5f9A.cjs.map +0 -1
  444. package/dist/system-Cfo5a63a.cjs.map +0 -1
  445. package/dist/system-DT2JfUun.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,24 @@ 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;
287
297
  } & import(".").ServerContext): Promise<{
288
298
  traces: {
289
299
  traceId: string;
290
300
  rootSpanId: string;
301
+ name: string;
302
+ entityId: string | null;
303
+ parentSpanId: string | null;
304
+ createdAt: string;
305
+ metadata: Record<string, unknown> | null;
306
+ inputPreview: string | null;
291
307
  threadId: string | null;
292
308
  resourceId: string | null;
293
309
  startedAt: string;
@@ -300,6 +316,31 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
300
316
  page: {
301
317
  next: string | null;
302
318
  };
319
+ } | {
320
+ traces: {
321
+ traceId: string;
322
+ rootSpanId: string;
323
+ name: string;
324
+ entityId: string | null;
325
+ parentSpanId: string | null;
326
+ createdAt: string;
327
+ metadata: Record<string, unknown> | null;
328
+ inputPreview: string | null;
329
+ threadId: string | null;
330
+ resourceId: string | null;
331
+ startedAt: string;
332
+ endedAt: string;
333
+ entityName: string | null;
334
+ entityType: string | null;
335
+ environment: string | null;
336
+ status: "error" | "success";
337
+ }[];
338
+ pagination: {
339
+ total: number;
340
+ page: number;
341
+ perPage: number | false;
342
+ hasMore: boolean;
343
+ };
303
344
  } | {
304
345
  groups: {
305
346
  threadId: string;
@@ -308,10 +349,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
308
349
  next: string | null;
309
350
  };
310
351
  }>;
311
- pathParamSchema?: import("zod").ZodType;
312
- queryParamSchema?: import("zod").ZodType;
313
- bodySchema?: import("zod").ZodType;
314
- responseSchema?: import("zod").ZodType;
352
+ pathParamSchema?: import("zod").ZodSchema;
353
+ queryParamSchema?: import("zod").ZodSchema;
354
+ bodySchema?: import("zod").ZodSchema;
355
+ responseSchema?: import("zod").ZodSchema;
315
356
  openapi?: import("../openapi-utils").OpenAPIRoute;
316
357
  maxBodySize?: number;
317
358
  deprecated?: boolean;
@@ -337,14 +378,24 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
337
378
  desc: "desc";
338
379
  }>;
339
380
  }, import("zod/v4/core").$strict>>>;
340
- page: import("zod").ZodDefault<import("zod").ZodObject<{
381
+ page: import("zod").ZodOptional<import("zod").ZodObject<{
341
382
  limit: import("zod").ZodDefault<import("zod").ZodNumber>;
342
383
  after: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
343
384
  }, import("zod/v4/core").$strict>>;
344
- }, import("zod/v4/core").$strict>>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
385
+ pagination: import("zod").ZodOptional<import("zod").ZodObject<{
386
+ page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
387
+ perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
388
+ }, import("zod/v4/core").$strip>>;
389
+ }, import("zod/v4/core").$strict>, unknown>, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
345
390
  traces: import("zod").ZodArray<import("zod").ZodObject<{
346
391
  traceId: import("zod").ZodString;
347
392
  rootSpanId: import("zod").ZodString;
393
+ name: import("zod").ZodString;
394
+ entityId: import("zod").ZodNullable<import("zod").ZodString>;
395
+ parentSpanId: import("zod").ZodNullable<import("zod").ZodString>;
396
+ createdAt: import("zod").ZodString;
397
+ metadata: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
398
+ inputPreview: import("zod").ZodNullable<import("zod").ZodString>;
348
399
  threadId: import("zod").ZodNullable<import("zod").ZodString>;
349
400
  resourceId: import("zod").ZodNullable<import("zod").ZodString>;
350
401
  startedAt: import("zod").ZodString;
@@ -360,6 +411,34 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
360
411
  page: import("zod").ZodObject<{
361
412
  next: import("zod").ZodNullable<import("zod").ZodString>;
362
413
  }, import("zod/v4/core").$strict>;
414
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
415
+ traces: import("zod").ZodArray<import("zod").ZodObject<{
416
+ traceId: import("zod").ZodString;
417
+ rootSpanId: import("zod").ZodString;
418
+ name: import("zod").ZodString;
419
+ entityId: import("zod").ZodNullable<import("zod").ZodString>;
420
+ parentSpanId: import("zod").ZodNullable<import("zod").ZodString>;
421
+ createdAt: import("zod").ZodString;
422
+ metadata: import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
423
+ inputPreview: import("zod").ZodNullable<import("zod").ZodString>;
424
+ threadId: import("zod").ZodNullable<import("zod").ZodString>;
425
+ resourceId: import("zod").ZodNullable<import("zod").ZodString>;
426
+ startedAt: import("zod").ZodString;
427
+ endedAt: import("zod").ZodString;
428
+ entityName: import("zod").ZodNullable<import("zod").ZodString>;
429
+ entityType: import("zod").ZodNullable<import("zod").ZodString>;
430
+ environment: import("zod").ZodNullable<import("zod").ZodString>;
431
+ status: import("zod").ZodEnum<{
432
+ error: "error";
433
+ success: "success";
434
+ }>;
435
+ }, import("zod/v4/core").$strict>>;
436
+ pagination: import("zod").ZodObject<{
437
+ total: import("zod").ZodNumber;
438
+ page: import("zod").ZodNumber;
439
+ perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
440
+ hasMore: import("zod").ZodBoolean;
441
+ }, import("zod/v4/core").$strip>;
363
442
  }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
364
443
  groups: import("zod").ZodArray<import("zod").ZodObject<{
365
444
  threadId: import("zod").ZodString;
@@ -376,7 +455,219 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
376
455
  responseType: "json";
377
456
  streamFormat?: 'sse' | 'stream';
378
457
  sseFlushOnConnect?: boolean;
379
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
458
+ handler(params: {
459
+ traces: {
460
+ timeRange: {
461
+ from: string;
462
+ to: string;
463
+ };
464
+ where?: import("@mastra/core/storage").TraceQueryPredicate | undefined;
465
+ };
466
+ where?: import("@mastra/core/storage").ThreadPredicate | undefined;
467
+ page: {
468
+ limit: number;
469
+ after?: string | null | undefined;
470
+ };
471
+ } & import(".").ServerContext): Promise<{
472
+ threads: {
473
+ threadId: string;
474
+ }[];
475
+ page: {
476
+ next: string | null;
477
+ };
478
+ }>;
479
+ pathParamSchema?: import("zod").ZodSchema;
480
+ queryParamSchema?: import("zod").ZodSchema;
481
+ bodySchema?: import("zod").ZodSchema;
482
+ responseSchema?: import("zod").ZodSchema;
483
+ openapi?: import("../openapi-utils").OpenAPIRoute;
484
+ maxBodySize?: number;
485
+ deprecated?: boolean;
486
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
487
+ fga?: import("@mastra/core/auth").FGARouteConfig;
488
+ onValidationError?: import("@mastra/core/server").ValidationErrorHook;
489
+ readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodPreprocess<import("zod").ZodObject<{
490
+ traces: import("zod").ZodObject<{
491
+ timeRange: import("zod").ZodObject<{
492
+ from: import("zod").ZodString;
493
+ to: import("zod").ZodString;
494
+ }, import("zod/v4/core").$strict>;
495
+ where: import("zod").ZodOptional<import("zod").ZodType<import("@mastra/core/storage").TraceQueryPredicate, unknown, import("zod/v4/core").$ZodTypeInternals<import("@mastra/core/storage").TraceQueryPredicate, unknown>>>;
496
+ }, import("zod/v4/core").$strict>;
497
+ where: import("zod").ZodOptional<import("zod").ZodType<import("@mastra/core/storage").ThreadPredicate, unknown, import("zod/v4/core").$ZodTypeInternals<import("@mastra/core/storage").ThreadPredicate, unknown>>>;
498
+ page: import("zod").ZodDefault<import("zod").ZodObject<{
499
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
500
+ after: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
501
+ }, import("zod/v4/core").$strict>>;
502
+ }, import("zod/v4/core").$strict>, unknown>, import("zod").ZodObject<{
503
+ threads: import("zod").ZodArray<import("zod").ZodObject<{
504
+ threadId: import("zod").ZodString;
505
+ }, import("zod/v4/core").$strict>>;
506
+ page: import("zod").ZodObject<{
507
+ next: import("zod").ZodNullable<import("zod").ZodString>;
508
+ }, import("zod/v4/core").$strict>;
509
+ }, import("zod/v4/core").$strict>> | undefined;
510
+ } & {
511
+ readonly _mastraSchemaRoute: true;
512
+ }, Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
513
+ method: string;
514
+ path: `/${string}`;
515
+ responseType: "json";
516
+ streamFormat?: 'sse' | 'stream';
517
+ sseFlushOnConnect?: boolean;
518
+ handler(params: {
519
+ timeRange: {
520
+ from: string;
521
+ to: string;
522
+ };
523
+ predicateScope: "feedback" | "scores" | "spans" | "trace";
524
+ search?: string | undefined;
525
+ limit: number;
526
+ } & import(".").ServerContext): Promise<{
527
+ canonicalFields: {
528
+ path: string;
529
+ valueKind: "number" | "presence" | "string" | "stringOrNumber" | "timestamp";
530
+ operators: ("eq" | "exists" | "gt" | "gte" | "in" | "lt" | "lte" | "ne" | "notExists" | "notIn")[];
531
+ valueSuggestions: boolean;
532
+ }[];
533
+ observedFields: {
534
+ path: `metadata.${string}`;
535
+ valueKind: "string";
536
+ operators: ("eq" | "exists" | "in" | "ne" | "notExists" | "notIn")[];
537
+ valueSuggestions: true;
538
+ occurrences: number;
539
+ }[];
540
+ observedFieldsTruncated: boolean;
541
+ }>;
542
+ pathParamSchema?: import("zod").ZodSchema;
543
+ queryParamSchema?: import("zod").ZodSchema;
544
+ bodySchema?: import("zod").ZodSchema;
545
+ responseSchema?: import("zod").ZodSchema;
546
+ openapi?: import("../openapi-utils").OpenAPIRoute;
547
+ maxBodySize?: number;
548
+ deprecated?: boolean;
549
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
550
+ fga?: import("@mastra/core/auth").FGARouteConfig;
551
+ onValidationError?: import("@mastra/core/server").ValidationErrorHook;
552
+ readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
553
+ timeRange: import("zod").ZodObject<{
554
+ from: import("zod").ZodString;
555
+ to: import("zod").ZodString;
556
+ }, import("zod/v4/core").$strict>;
557
+ predicateScope: import("zod").ZodEnum<{
558
+ feedback: "feedback";
559
+ scores: "scores";
560
+ spans: "spans";
561
+ trace: "trace";
562
+ }>;
563
+ search: import("zod").ZodOptional<import("zod").ZodString>;
564
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
565
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
566
+ canonicalFields: import("zod").ZodArray<import("zod").ZodObject<{
567
+ path: import("zod").ZodString;
568
+ valueKind: import("zod").ZodEnum<{
569
+ number: "number";
570
+ presence: "presence";
571
+ string: "string";
572
+ stringOrNumber: "stringOrNumber";
573
+ timestamp: "timestamp";
574
+ }>;
575
+ operators: import("zod").ZodArray<import("zod").ZodEnum<{
576
+ eq: "eq";
577
+ exists: "exists";
578
+ gt: "gt";
579
+ gte: "gte";
580
+ in: "in";
581
+ lt: "lt";
582
+ lte: "lte";
583
+ ne: "ne";
584
+ notExists: "notExists";
585
+ notIn: "notIn";
586
+ }>>;
587
+ valueSuggestions: import("zod").ZodBoolean;
588
+ }, import("zod/v4/core").$strict>>;
589
+ observedFields: import("zod").ZodArray<import("zod").ZodObject<{
590
+ path: import("zod").ZodString & import("zod").ZodType<`metadata.${string}`, string, import("zod/v4/core").$ZodTypeInternals<`metadata.${string}`, string>>;
591
+ valueKind: import("zod").ZodLiteral<"string">;
592
+ operators: import("zod").ZodArray<import("zod").ZodEnum<{
593
+ eq: "eq";
594
+ exists: "exists";
595
+ in: "in";
596
+ ne: "ne";
597
+ notExists: "notExists";
598
+ notIn: "notIn";
599
+ }>>;
600
+ valueSuggestions: import("zod").ZodLiteral<true>;
601
+ occurrences: import("zod").ZodNumber;
602
+ }, import("zod/v4/core").$strict>>;
603
+ observedFieldsTruncated: import("zod").ZodBoolean;
604
+ }, import("zod/v4/core").$strict>> | undefined;
605
+ } & {
606
+ readonly _mastraSchemaRoute: true;
607
+ }, Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
608
+ method: string;
609
+ path: `/${string}`;
610
+ responseType: "json";
611
+ streamFormat?: 'sse' | 'stream';
612
+ sseFlushOnConnect?: boolean;
613
+ handler(params: {
614
+ timeRange: {
615
+ from: string;
616
+ to: string;
617
+ };
618
+ predicateScope: "feedback" | "scores" | "spans" | "trace";
619
+ path: string;
620
+ search?: string | undefined;
621
+ limit: number;
622
+ } & import(".").ServerContext): Promise<{
623
+ values: {
624
+ value: string;
625
+ count: number;
626
+ }[];
627
+ valuesTruncated: boolean;
628
+ }>;
629
+ pathParamSchema?: import("zod").ZodSchema;
630
+ queryParamSchema?: import("zod").ZodSchema;
631
+ bodySchema?: import("zod").ZodSchema;
632
+ responseSchema?: import("zod").ZodSchema;
633
+ openapi?: import("../openapi-utils").OpenAPIRoute;
634
+ maxBodySize?: number;
635
+ deprecated?: boolean;
636
+ requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
637
+ fga?: import("@mastra/core/auth").FGARouteConfig;
638
+ onValidationError?: import("@mastra/core/server").ValidationErrorHook;
639
+ readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
640
+ timeRange: import("zod").ZodObject<{
641
+ from: import("zod").ZodString;
642
+ to: import("zod").ZodString;
643
+ }, import("zod/v4/core").$strict>;
644
+ predicateScope: import("zod").ZodEnum<{
645
+ feedback: "feedback";
646
+ scores: "scores";
647
+ spans: "spans";
648
+ trace: "trace";
649
+ }>;
650
+ path: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
651
+ search: import("zod").ZodOptional<import("zod").ZodString>;
652
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
653
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
654
+ values: import("zod").ZodArray<import("zod").ZodObject<{
655
+ value: import("zod").ZodString;
656
+ count: import("zod").ZodNumber;
657
+ }, import("zod/v4/core").$strict>>;
658
+ valuesTruncated: import("zod").ZodBoolean;
659
+ }, import("zod/v4/core").$strict>> | undefined;
660
+ } & {
661
+ readonly _mastraSchemaRoute: true;
662
+ }, Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
663
+ method: string;
664
+ path: `/${string}`;
665
+ responseType: "json";
666
+ streamFormat?: 'sse' | 'stream';
667
+ sseFlushOnConnect?: boolean;
668
+ handler(params: {
669
+ [x: string]: unknown;
670
+ } & import(".").ServerContext): Promise<{
380
671
  pagination?: {
381
672
  total: number;
382
673
  page: number;
@@ -389,13 +680,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
389
680
  } | undefined;
390
681
  deltaCursor?: string | undefined;
391
682
  metrics: {
392
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
683
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
393
684
  entityId?: string | null | undefined;
394
685
  entityName?: string | null | undefined;
395
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
686
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
396
687
  parentEntityId?: string | null | undefined;
397
688
  parentEntityName?: string | null | undefined;
398
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
689
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
399
690
  rootEntityId?: string | null | undefined;
400
691
  rootEntityName?: string | null | undefined;
401
692
  userId?: string | null | undefined;
@@ -430,10 +721,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
430
721
  metadata?: Record<string, unknown> | null | undefined;
431
722
  }[];
432
723
  }>;
433
- pathParamSchema?: import("zod").ZodType;
434
- queryParamSchema?: import("zod").ZodType;
435
- bodySchema?: import("zod").ZodType;
436
- responseSchema?: import("zod").ZodType;
724
+ pathParamSchema?: import("zod").ZodSchema;
725
+ queryParamSchema?: import("zod").ZodSchema;
726
+ bodySchema?: import("zod").ZodSchema;
727
+ responseSchema?: import("zod").ZodSchema;
437
728
  openapi?: import("../openapi-utils").OpenAPIRoute;
438
729
  maxBodySize?: number;
439
730
  deprecated?: boolean;
@@ -455,13 +746,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
455
746
  }, import("zod/v4/core").$strip>>;
456
747
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
457
748
  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>>>;
749
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
459
750
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
460
751
  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>>>;
752
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
462
753
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
463
754
  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>>>;
755
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
465
756
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
466
757
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
467
758
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -504,7 +795,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
504
795
  responseType: "json";
505
796
  streamFormat?: 'sse' | 'stream';
506
797
  sseFlushOnConnect?: boolean;
507
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
798
+ handler(params: {
799
+ [x: string]: unknown;
800
+ } & import(".").ServerContext): Promise<{
508
801
  pagination?: {
509
802
  total: number;
510
803
  page: number;
@@ -517,13 +810,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
517
810
  } | undefined;
518
811
  deltaCursor?: string | undefined;
519
812
  logs: {
520
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
813
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
521
814
  entityId?: string | null | undefined;
522
815
  entityName?: string | null | undefined;
523
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
816
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
524
817
  parentEntityId?: string | null | undefined;
525
818
  parentEntityName?: string | null | undefined;
526
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
819
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
527
820
  rootEntityId?: string | null | undefined;
528
821
  rootEntityName?: string | null | undefined;
529
822
  userId?: string | null | undefined;
@@ -553,10 +846,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
553
846
  metadata?: Record<string, unknown> | null | undefined;
554
847
  }[];
555
848
  }>;
556
- pathParamSchema?: import("zod").ZodType;
557
- queryParamSchema?: import("zod").ZodType;
558
- bodySchema?: import("zod").ZodType;
559
- responseSchema?: import("zod").ZodType;
849
+ pathParamSchema?: import("zod").ZodSchema;
850
+ queryParamSchema?: import("zod").ZodSchema;
851
+ bodySchema?: import("zod").ZodSchema;
852
+ responseSchema?: import("zod").ZodSchema;
560
853
  openapi?: import("../openapi-utils").OpenAPIRoute;
561
854
  maxBodySize?: number;
562
855
  deprecated?: boolean;
@@ -578,13 +871,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
578
871
  }, import("zod/v4/core").$strip>>;
579
872
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
580
873
  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>>>;
874
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
582
875
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
583
876
  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>>>;
877
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
585
878
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
586
879
  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>>>;
880
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
588
881
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
589
882
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
590
883
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -628,7 +921,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
628
921
  responseType: "json";
629
922
  streamFormat?: 'sse' | 'stream';
630
923
  sseFlushOnConnect?: boolean;
631
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
924
+ handler(params: {
925
+ [x: string]: unknown;
926
+ } & import(".").ServerContext): Promise<{
632
927
  pagination?: {
633
928
  total: number;
634
929
  page: number;
@@ -641,13 +936,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
641
936
  } | undefined;
642
937
  deltaCursor?: string | undefined;
643
938
  scores: {
644
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
939
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
645
940
  entityId?: string | null | undefined;
646
941
  entityName?: string | null | undefined;
647
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
942
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
648
943
  parentEntityId?: string | null | undefined;
649
944
  parentEntityName?: string | null | undefined;
650
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
945
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
651
946
  rootEntityId?: string | null | undefined;
652
947
  rootEntityName?: string | null | undefined;
653
948
  userId?: string | null | undefined;
@@ -681,10 +976,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
681
976
  metadata?: Record<string, unknown> | null | undefined;
682
977
  }[];
683
978
  }>;
684
- pathParamSchema?: import("zod").ZodType;
685
- queryParamSchema?: import("zod").ZodType;
686
- bodySchema?: import("zod").ZodType;
687
- responseSchema?: import("zod").ZodType;
979
+ pathParamSchema?: import("zod").ZodSchema;
980
+ queryParamSchema?: import("zod").ZodSchema;
981
+ bodySchema?: import("zod").ZodSchema;
982
+ responseSchema?: import("zod").ZodSchema;
688
983
  openapi?: import("../openapi-utils").OpenAPIRoute;
689
984
  maxBodySize?: number;
690
985
  deprecated?: boolean;
@@ -706,13 +1001,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
706
1001
  }, import("zod/v4/core").$strip>>;
707
1002
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
708
1003
  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>>>;
1004
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
710
1005
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
711
1006
  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>>>;
1007
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
713
1008
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
714
1009
  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>>>;
1010
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
716
1011
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
717
1012
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
718
1013
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -756,13 +1051,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
756
1051
  sseFlushOnConnect?: boolean;
757
1052
  handler(params: {
758
1053
  score: {
759
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1054
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
760
1055
  entityId?: string | null | undefined;
761
1056
  entityName?: string | null | undefined;
762
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1057
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
763
1058
  parentEntityId?: string | null | undefined;
764
1059
  parentEntityName?: string | null | undefined;
765
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1060
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
766
1061
  rootEntityId?: string | null | undefined;
767
1062
  rootEntityName?: string | null | undefined;
768
1063
  userId?: string | null | undefined;
@@ -797,10 +1092,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
797
1092
  } & import(".").ServerContext): Promise<{
798
1093
  success: boolean;
799
1094
  }>;
800
- pathParamSchema?: import("zod").ZodType;
801
- queryParamSchema?: import("zod").ZodType;
802
- bodySchema?: import("zod").ZodType;
803
- responseSchema?: import("zod").ZodType;
1095
+ pathParamSchema?: import("zod").ZodSchema;
1096
+ queryParamSchema?: import("zod").ZodSchema;
1097
+ bodySchema?: import("zod").ZodSchema;
1098
+ responseSchema?: import("zod").ZodSchema;
804
1099
  openapi?: import("../openapi-utils").OpenAPIRoute;
805
1100
  maxBodySize?: number;
806
1101
  deprecated?: boolean;
@@ -809,13 +1104,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
809
1104
  onValidationError?: import("@mastra/core/server").ValidationErrorHook;
810
1105
  readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
811
1106
  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>>>;
1107
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
813
1108
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
814
1109
  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>>>;
1110
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
816
1111
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
817
1112
  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>>>;
1113
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
819
1114
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
820
1115
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
821
1116
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -865,10 +1160,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
865
1160
  } & import(".").ServerContext): Promise<{
866
1161
  success: boolean;
867
1162
  }>;
868
- pathParamSchema?: import("zod").ZodType;
869
- queryParamSchema?: import("zod").ZodType;
870
- bodySchema?: import("zod").ZodType;
871
- responseSchema?: import("zod").ZodType;
1163
+ pathParamSchema?: import("zod").ZodSchema;
1164
+ queryParamSchema?: import("zod").ZodSchema;
1165
+ bodySchema?: import("zod").ZodSchema;
1166
+ responseSchema?: import("zod").ZodSchema;
872
1167
  openapi?: import("../openapi-utils").OpenAPIRoute;
873
1168
  maxBodySize?: number;
874
1169
  deprecated?: boolean;
@@ -894,13 +1189,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
894
1189
  scoreId: string;
895
1190
  } & import(".").ServerContext): Promise<{
896
1191
  score: {
897
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1192
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
898
1193
  entityId?: string | null | undefined;
899
1194
  entityName?: string | null | undefined;
900
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1195
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
901
1196
  parentEntityId?: string | null | undefined;
902
1197
  parentEntityName?: string | null | undefined;
903
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1198
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
904
1199
  rootEntityId?: string | null | undefined;
905
1200
  rootEntityName?: string | null | undefined;
906
1201
  userId?: string | null | undefined;
@@ -934,10 +1229,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
934
1229
  metadata?: Record<string, unknown> | null | undefined;
935
1230
  } | null;
936
1231
  }>;
937
- pathParamSchema?: import("zod").ZodType;
938
- queryParamSchema?: import("zod").ZodType;
939
- bodySchema?: import("zod").ZodType;
940
- responseSchema?: import("zod").ZodType;
1232
+ pathParamSchema?: import("zod").ZodSchema;
1233
+ queryParamSchema?: import("zod").ZodSchema;
1234
+ bodySchema?: import("zod").ZodSchema;
1235
+ responseSchema?: import("zod").ZodSchema;
941
1236
  openapi?: import("../openapi-utils").OpenAPIRoute;
942
1237
  maxBodySize?: number;
943
1238
  deprecated?: boolean;
@@ -948,13 +1243,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
948
1243
  scoreId: import("zod").ZodString;
949
1244
  }, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
950
1245
  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>>>;
1246
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
952
1247
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
953
1248
  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>>>;
1249
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
955
1250
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
956
1251
  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>>>;
1252
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
958
1253
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
959
1254
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
960
1255
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1009,7 +1304,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1009
1304
  } | undefined;
1010
1305
  traceId?: string | undefined;
1011
1306
  spanId?: string | undefined;
1012
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1307
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1013
1308
  entityName?: string | undefined;
1014
1309
  entityVersionId?: string | undefined;
1015
1310
  parentEntityVersionId?: string | undefined;
@@ -1019,9 +1314,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1019
1314
  experimentId?: string | undefined;
1020
1315
  serviceName?: string | undefined;
1021
1316
  environment?: string | undefined;
1022
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1317
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1023
1318
  parentEntityName?: string | undefined;
1024
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1319
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1025
1320
  rootEntityName?: string | undefined;
1026
1321
  resourceId?: string | undefined;
1027
1322
  runId?: string | undefined;
@@ -1041,10 +1336,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1041
1336
  previousValue?: number | null | undefined;
1042
1337
  changePercent?: number | null | undefined;
1043
1338
  }>;
1044
- pathParamSchema?: import("zod").ZodType;
1045
- queryParamSchema?: import("zod").ZodType;
1046
- bodySchema?: import("zod").ZodType;
1047
- responseSchema?: import("zod").ZodType;
1339
+ pathParamSchema?: import("zod").ZodSchema;
1340
+ queryParamSchema?: import("zod").ZodSchema;
1341
+ bodySchema?: import("zod").ZodSchema;
1342
+ responseSchema?: import("zod").ZodSchema;
1048
1343
  openapi?: import("../openapi-utils").OpenAPIRoute;
1049
1344
  maxBodySize?: number;
1050
1345
  deprecated?: boolean;
@@ -1072,7 +1367,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1072
1367
  }, import("zod/v4/core").$strip>>;
1073
1368
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1074
1369
  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>>;
1370
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1076
1371
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1077
1372
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1078
1373
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1082,9 +1377,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1082
1377
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1083
1378
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1084
1379
  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>>;
1380
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1086
1381
  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>>;
1382
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1088
1383
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1089
1384
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1090
1385
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1130,7 +1425,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1130
1425
  } | undefined;
1131
1426
  traceId?: string | undefined;
1132
1427
  spanId?: string | undefined;
1133
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1428
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1134
1429
  entityName?: string | undefined;
1135
1430
  entityVersionId?: string | undefined;
1136
1431
  parentEntityVersionId?: string | undefined;
@@ -1140,9 +1435,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1140
1435
  experimentId?: string | undefined;
1141
1436
  serviceName?: string | undefined;
1142
1437
  environment?: string | undefined;
1143
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1438
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1144
1439
  parentEntityName?: string | undefined;
1145
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1440
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1146
1441
  rootEntityName?: string | undefined;
1147
1442
  resourceId?: string | undefined;
1148
1443
  runId?: string | undefined;
@@ -1162,10 +1457,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1162
1457
  value: number;
1163
1458
  }[];
1164
1459
  }>;
1165
- pathParamSchema?: import("zod").ZodType;
1166
- queryParamSchema?: import("zod").ZodType;
1167
- bodySchema?: import("zod").ZodType;
1168
- responseSchema?: import("zod").ZodType;
1460
+ pathParamSchema?: import("zod").ZodSchema;
1461
+ queryParamSchema?: import("zod").ZodSchema;
1462
+ bodySchema?: import("zod").ZodSchema;
1463
+ responseSchema?: import("zod").ZodSchema;
1169
1464
  openapi?: import("../openapi-utils").OpenAPIRoute;
1170
1465
  maxBodySize?: number;
1171
1466
  deprecated?: boolean;
@@ -1194,7 +1489,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1194
1489
  }, import("zod/v4/core").$strip>>;
1195
1490
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1196
1491
  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>>;
1492
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1198
1493
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1199
1494
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1200
1495
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1204,9 +1499,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1204
1499
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1205
1500
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1206
1501
  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>>;
1502
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1208
1503
  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>>;
1504
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1210
1505
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1211
1506
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1212
1507
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1248,7 +1543,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1248
1543
  } | undefined;
1249
1544
  traceId?: string | undefined;
1250
1545
  spanId?: string | undefined;
1251
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1546
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1252
1547
  entityName?: string | undefined;
1253
1548
  entityVersionId?: string | undefined;
1254
1549
  parentEntityVersionId?: string | undefined;
@@ -1258,9 +1553,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1258
1553
  experimentId?: string | undefined;
1259
1554
  serviceName?: string | undefined;
1260
1555
  environment?: string | undefined;
1261
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1556
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1262
1557
  parentEntityName?: string | undefined;
1263
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1558
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1264
1559
  rootEntityName?: string | undefined;
1265
1560
  resourceId?: string | undefined;
1266
1561
  runId?: string | undefined;
@@ -1284,10 +1579,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1284
1579
  }[];
1285
1580
  }[];
1286
1581
  }>;
1287
- pathParamSchema?: import("zod").ZodType;
1288
- queryParamSchema?: import("zod").ZodType;
1289
- bodySchema?: import("zod").ZodType;
1290
- responseSchema?: import("zod").ZodType;
1582
+ pathParamSchema?: import("zod").ZodSchema;
1583
+ queryParamSchema?: import("zod").ZodSchema;
1584
+ bodySchema?: import("zod").ZodSchema;
1585
+ responseSchema?: import("zod").ZodSchema;
1291
1586
  openapi?: import("../openapi-utils").OpenAPIRoute;
1292
1587
  maxBodySize?: number;
1293
1588
  deprecated?: boolean;
@@ -1322,7 +1617,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1322
1617
  }, import("zod/v4/core").$strip>>;
1323
1618
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1324
1619
  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>>;
1620
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1326
1621
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1327
1622
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1328
1623
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1332,9 +1627,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1332
1627
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1333
1628
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1334
1629
  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>>;
1630
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1336
1631
  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>>;
1632
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1338
1633
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1339
1634
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1340
1635
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1380,7 +1675,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1380
1675
  } | undefined;
1381
1676
  traceId?: string | undefined;
1382
1677
  spanId?: string | undefined;
1383
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1678
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1384
1679
  entityName?: string | undefined;
1385
1680
  entityVersionId?: string | undefined;
1386
1681
  parentEntityVersionId?: string | undefined;
@@ -1390,9 +1685,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1390
1685
  experimentId?: string | undefined;
1391
1686
  serviceName?: string | undefined;
1392
1687
  environment?: string | undefined;
1393
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1688
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1394
1689
  parentEntityName?: string | undefined;
1395
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
1690
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1396
1691
  rootEntityName?: string | undefined;
1397
1692
  resourceId?: string | undefined;
1398
1693
  runId?: string | undefined;
@@ -1415,10 +1710,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1415
1710
  }[];
1416
1711
  }[];
1417
1712
  }>;
1418
- pathParamSchema?: import("zod").ZodType;
1419
- queryParamSchema?: import("zod").ZodType;
1420
- bodySchema?: import("zod").ZodType;
1421
- responseSchema?: import("zod").ZodType;
1713
+ pathParamSchema?: import("zod").ZodSchema;
1714
+ queryParamSchema?: import("zod").ZodSchema;
1715
+ bodySchema?: import("zod").ZodSchema;
1716
+ responseSchema?: import("zod").ZodSchema;
1422
1717
  openapi?: import("../openapi-utils").OpenAPIRoute;
1423
1718
  maxBodySize?: number;
1424
1719
  deprecated?: boolean;
@@ -1445,7 +1740,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1445
1740
  }, import("zod/v4/core").$strip>>;
1446
1741
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1447
1742
  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>>;
1743
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1449
1744
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1450
1745
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1451
1746
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1455,9 +1750,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1455
1750
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1456
1751
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1457
1752
  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>>;
1753
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1459
1754
  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>>;
1755
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1461
1756
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1462
1757
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1463
1758
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1488,7 +1783,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1488
1783
  responseType: "json";
1489
1784
  streamFormat?: 'sse' | 'stream';
1490
1785
  sseFlushOnConnect?: boolean;
1491
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
1786
+ handler(params: {
1787
+ [x: string]: unknown;
1788
+ } & import(".").ServerContext): Promise<{
1492
1789
  pagination?: {
1493
1790
  total: number;
1494
1791
  page: number;
@@ -1501,13 +1798,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1501
1798
  } | undefined;
1502
1799
  deltaCursor?: string | undefined;
1503
1800
  feedback: {
1504
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1801
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1505
1802
  entityId?: string | null | undefined;
1506
1803
  entityName?: string | null | undefined;
1507
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1804
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1508
1805
  parentEntityId?: string | null | undefined;
1509
1806
  parentEntityName?: string | null | undefined;
1510
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1807
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1511
1808
  rootEntityId?: string | null | undefined;
1512
1809
  rootEntityName?: string | null | undefined;
1513
1810
  userId?: string | null | undefined;
@@ -1547,10 +1844,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1547
1844
  } | undefined;
1548
1845
  }[];
1549
1846
  }>;
1550
- pathParamSchema?: import("zod").ZodType;
1551
- queryParamSchema?: import("zod").ZodType;
1552
- bodySchema?: import("zod").ZodType;
1553
- responseSchema?: import("zod").ZodType;
1847
+ pathParamSchema?: import("zod").ZodSchema;
1848
+ queryParamSchema?: import("zod").ZodSchema;
1849
+ bodySchema?: import("zod").ZodSchema;
1850
+ responseSchema?: import("zod").ZodSchema;
1554
1851
  openapi?: import("../openapi-utils").OpenAPIRoute;
1555
1852
  maxBodySize?: number;
1556
1853
  deprecated?: boolean;
@@ -1572,13 +1869,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1572
1869
  }, import("zod/v4/core").$strip>>;
1573
1870
  deltaCursor: import("zod").ZodOptional<import("zod").ZodString>;
1574
1871
  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>>>;
1872
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1576
1873
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1577
1874
  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>>>;
1875
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1579
1876
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1580
1877
  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>>>;
1878
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1582
1879
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1583
1880
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1584
1881
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1631,13 +1928,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1631
1928
  sseFlushOnConnect?: boolean;
1632
1929
  handler(params: {
1633
1930
  feedback: {
1634
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1931
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1635
1932
  entityId?: string | null | undefined;
1636
1933
  entityName?: string | null | undefined;
1637
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1934
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1638
1935
  parentEntityId?: string | null | undefined;
1639
1936
  parentEntityName?: string | null | undefined;
1640
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
1937
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1641
1938
  rootEntityId?: string | null | undefined;
1642
1939
  rootEntityName?: string | null | undefined;
1643
1940
  userId?: string | null | undefined;
@@ -1672,10 +1969,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1672
1969
  } & import(".").ServerContext): Promise<{
1673
1970
  success: boolean;
1674
1971
  }>;
1675
- pathParamSchema?: import("zod").ZodType;
1676
- queryParamSchema?: import("zod").ZodType;
1677
- bodySchema?: import("zod").ZodType;
1678
- responseSchema?: import("zod").ZodType;
1972
+ pathParamSchema?: import("zod").ZodSchema;
1973
+ queryParamSchema?: import("zod").ZodSchema;
1974
+ bodySchema?: import("zod").ZodSchema;
1975
+ responseSchema?: import("zod").ZodSchema;
1679
1976
  openapi?: import("../openapi-utils").OpenAPIRoute;
1680
1977
  maxBodySize?: number;
1681
1978
  deprecated?: boolean;
@@ -1684,13 +1981,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1684
1981
  onValidationError?: import("@mastra/core/server").ValidationErrorHook;
1685
1982
  readonly __schemas?: import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
1686
1983
  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>>>;
1984
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1688
1985
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1689
1986
  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>>>;
1987
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1691
1988
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1692
1989
  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>>>;
1990
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1694
1991
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1695
1992
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1696
1993
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1743,10 +2040,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1743
2040
  } & import(".").ServerContext): Promise<{
1744
2041
  success: boolean;
1745
2042
  }>;
1746
- pathParamSchema?: import("zod").ZodType;
1747
- queryParamSchema?: import("zod").ZodType;
1748
- bodySchema?: import("zod").ZodType;
1749
- responseSchema?: import("zod").ZodType;
2043
+ pathParamSchema?: import("zod").ZodSchema;
2044
+ queryParamSchema?: import("zod").ZodSchema;
2045
+ bodySchema?: import("zod").ZodSchema;
2046
+ responseSchema?: import("zod").ZodSchema;
1750
2047
  openapi?: import("../openapi-utils").OpenAPIRoute;
1751
2048
  maxBodySize?: number;
1752
2049
  deprecated?: boolean;
@@ -1773,13 +2070,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1773
2070
  } & {
1774
2071
  reviewStatus: "needs-review" | "reviewed";
1775
2072
  } & import(".").ServerContext): Promise<{
1776
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2073
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1777
2074
  entityId?: string | null | undefined;
1778
2075
  entityName?: string | null | undefined;
1779
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2076
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1780
2077
  parentEntityId?: string | null | undefined;
1781
2078
  parentEntityName?: string | null | undefined;
1782
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | null | undefined;
2079
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | null | undefined;
1783
2080
  rootEntityId?: string | null | undefined;
1784
2081
  rootEntityName?: string | null | undefined;
1785
2082
  userId?: string | null | undefined;
@@ -1812,10 +2109,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1812
2109
  metadata?: Record<string, unknown> | null | undefined;
1813
2110
  reviewStatus: "needs-review" | "reviewed";
1814
2111
  }>;
1815
- pathParamSchema?: import("zod").ZodType;
1816
- queryParamSchema?: import("zod").ZodType;
1817
- bodySchema?: import("zod").ZodType;
1818
- responseSchema?: import("zod").ZodType;
2112
+ pathParamSchema?: import("zod").ZodSchema;
2113
+ queryParamSchema?: import("zod").ZodSchema;
2114
+ bodySchema?: import("zod").ZodSchema;
2115
+ responseSchema?: import("zod").ZodSchema;
1819
2116
  openapi?: import("../openapi-utils").OpenAPIRoute;
1820
2117
  maxBodySize?: number;
1821
2118
  deprecated?: boolean;
@@ -1830,13 +2127,13 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1830
2127
  reviewed: "reviewed";
1831
2128
  }>;
1832
2129
  }, 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>>>;
2130
+ entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1834
2131
  entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1835
2132
  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>>>;
2133
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1837
2134
  parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1838
2135
  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>>>;
2136
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>>;
1840
2137
  rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1841
2138
  rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
1842
2139
  userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
@@ -1893,7 +2190,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1893
2190
  } | undefined;
1894
2191
  traceId?: string | undefined;
1895
2192
  spanId?: string | undefined;
1896
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2193
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1897
2194
  entityName?: string | undefined;
1898
2195
  entityVersionId?: string | undefined;
1899
2196
  parentEntityVersionId?: string | undefined;
@@ -1903,9 +2200,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1903
2200
  experimentId?: string | undefined;
1904
2201
  serviceName?: string | undefined;
1905
2202
  environment?: string | undefined;
1906
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2203
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1907
2204
  parentEntityName?: string | undefined;
1908
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2205
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
1909
2206
  rootEntityName?: string | undefined;
1910
2207
  resourceId?: string | undefined;
1911
2208
  runId?: string | undefined;
@@ -1926,10 +2223,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1926
2223
  previousValue?: number | null | undefined;
1927
2224
  changePercent?: number | null | undefined;
1928
2225
  }>;
1929
- pathParamSchema?: import("zod").ZodType;
1930
- queryParamSchema?: import("zod").ZodType;
1931
- bodySchema?: import("zod").ZodType;
1932
- responseSchema?: import("zod").ZodType;
2226
+ pathParamSchema?: import("zod").ZodSchema;
2227
+ queryParamSchema?: import("zod").ZodSchema;
2228
+ bodySchema?: import("zod").ZodSchema;
2229
+ responseSchema?: import("zod").ZodSchema;
1933
2230
  openapi?: import("../openapi-utils").OpenAPIRoute;
1934
2231
  maxBodySize?: number;
1935
2232
  deprecated?: boolean;
@@ -1957,7 +2254,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1957
2254
  }, import("zod/v4/core").$strip>>;
1958
2255
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
1959
2256
  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>>;
2257
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1961
2258
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
1962
2259
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
1963
2260
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1967,9 +2264,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
1967
2264
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
1968
2265
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
1969
2266
  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>>;
2267
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1971
2268
  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>>;
2269
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
1973
2270
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
1974
2271
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
1975
2272
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2019,7 +2316,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2019
2316
  } | undefined;
2020
2317
  traceId?: string | undefined;
2021
2318
  spanId?: string | undefined;
2022
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2319
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2023
2320
  entityName?: string | undefined;
2024
2321
  entityVersionId?: string | undefined;
2025
2322
  parentEntityVersionId?: string | undefined;
@@ -2029,9 +2326,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2029
2326
  experimentId?: string | undefined;
2030
2327
  serviceName?: string | undefined;
2031
2328
  environment?: string | undefined;
2032
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2329
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2033
2330
  parentEntityName?: string | undefined;
2034
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2331
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2035
2332
  rootEntityName?: string | undefined;
2036
2333
  resourceId?: string | undefined;
2037
2334
  runId?: string | undefined;
@@ -2052,10 +2349,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2052
2349
  value: number;
2053
2350
  }[];
2054
2351
  }>;
2055
- pathParamSchema?: import("zod").ZodType;
2056
- queryParamSchema?: import("zod").ZodType;
2057
- bodySchema?: import("zod").ZodType;
2058
- responseSchema?: import("zod").ZodType;
2352
+ pathParamSchema?: import("zod").ZodSchema;
2353
+ queryParamSchema?: import("zod").ZodSchema;
2354
+ bodySchema?: import("zod").ZodSchema;
2355
+ responseSchema?: import("zod").ZodSchema;
2059
2356
  openapi?: import("../openapi-utils").OpenAPIRoute;
2060
2357
  maxBodySize?: number;
2061
2358
  deprecated?: boolean;
@@ -2084,7 +2381,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2084
2381
  }, import("zod/v4/core").$strip>>;
2085
2382
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2086
2383
  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>>;
2384
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2088
2385
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2089
2386
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2090
2387
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2094,9 +2391,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2094
2391
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2095
2392
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2096
2393
  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>>;
2394
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2098
2395
  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>>;
2396
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2100
2397
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2101
2398
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2102
2399
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2142,7 +2439,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2142
2439
  } | undefined;
2143
2440
  traceId?: string | undefined;
2144
2441
  spanId?: string | undefined;
2145
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2442
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2146
2443
  entityName?: string | undefined;
2147
2444
  entityVersionId?: string | undefined;
2148
2445
  parentEntityVersionId?: string | undefined;
@@ -2152,9 +2449,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2152
2449
  experimentId?: string | undefined;
2153
2450
  serviceName?: string | undefined;
2154
2451
  environment?: string | undefined;
2155
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2452
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2156
2453
  parentEntityName?: string | undefined;
2157
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2454
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2158
2455
  rootEntityName?: string | undefined;
2159
2456
  resourceId?: string | undefined;
2160
2457
  runId?: string | undefined;
@@ -2179,10 +2476,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2179
2476
  }[];
2180
2477
  }[];
2181
2478
  }>;
2182
- pathParamSchema?: import("zod").ZodType;
2183
- queryParamSchema?: import("zod").ZodType;
2184
- bodySchema?: import("zod").ZodType;
2185
- responseSchema?: import("zod").ZodType;
2479
+ pathParamSchema?: import("zod").ZodSchema;
2480
+ queryParamSchema?: import("zod").ZodSchema;
2481
+ bodySchema?: import("zod").ZodSchema;
2482
+ responseSchema?: import("zod").ZodSchema;
2186
2483
  openapi?: import("../openapi-utils").OpenAPIRoute;
2187
2484
  maxBodySize?: number;
2188
2485
  deprecated?: boolean;
@@ -2217,7 +2514,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2217
2514
  }, import("zod/v4/core").$strip>>;
2218
2515
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2219
2516
  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>>;
2517
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2221
2518
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2222
2519
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2223
2520
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2227,9 +2524,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2227
2524
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2228
2525
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2229
2526
  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>>;
2527
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2231
2528
  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>>;
2529
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2233
2530
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2234
2531
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2235
2532
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2279,7 +2576,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2279
2576
  } | undefined;
2280
2577
  traceId?: string | undefined;
2281
2578
  spanId?: string | undefined;
2282
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2579
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2283
2580
  entityName?: string | undefined;
2284
2581
  entityVersionId?: string | undefined;
2285
2582
  parentEntityVersionId?: string | undefined;
@@ -2289,9 +2586,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2289
2586
  experimentId?: string | undefined;
2290
2587
  serviceName?: string | undefined;
2291
2588
  environment?: string | undefined;
2292
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2589
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2293
2590
  parentEntityName?: string | undefined;
2294
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2591
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2295
2592
  rootEntityName?: string | undefined;
2296
2593
  resourceId?: string | undefined;
2297
2594
  runId?: string | undefined;
@@ -2315,10 +2612,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2315
2612
  }[];
2316
2613
  }[];
2317
2614
  }>;
2318
- pathParamSchema?: import("zod").ZodType;
2319
- queryParamSchema?: import("zod").ZodType;
2320
- bodySchema?: import("zod").ZodType;
2321
- responseSchema?: import("zod").ZodType;
2615
+ pathParamSchema?: import("zod").ZodSchema;
2616
+ queryParamSchema?: import("zod").ZodSchema;
2617
+ bodySchema?: import("zod").ZodSchema;
2618
+ responseSchema?: import("zod").ZodSchema;
2322
2619
  openapi?: import("../openapi-utils").OpenAPIRoute;
2323
2620
  maxBodySize?: number;
2324
2621
  deprecated?: boolean;
@@ -2345,7 +2642,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2345
2642
  }, import("zod/v4/core").$strip>>;
2346
2643
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2347
2644
  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>>;
2645
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2349
2646
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2350
2647
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2351
2648
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2355,9 +2652,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2355
2652
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2356
2653
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2357
2654
  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>>;
2655
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2359
2656
  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>>;
2657
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2361
2658
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2362
2659
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2363
2660
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2405,7 +2702,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2405
2702
  } | undefined;
2406
2703
  traceId?: string | undefined;
2407
2704
  spanId?: string | undefined;
2408
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2705
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2409
2706
  entityName?: string | undefined;
2410
2707
  entityVersionId?: string | undefined;
2411
2708
  parentEntityVersionId?: string | undefined;
@@ -2415,9 +2712,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2415
2712
  experimentId?: string | undefined;
2416
2713
  serviceName?: string | undefined;
2417
2714
  environment?: string | undefined;
2418
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2715
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2419
2716
  parentEntityName?: string | undefined;
2420
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2717
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2421
2718
  rootEntityName?: string | undefined;
2422
2719
  resourceId?: string | undefined;
2423
2720
  runId?: string | undefined;
@@ -2444,10 +2741,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2444
2741
  previousEstimatedCost?: number | null | undefined;
2445
2742
  costChangePercent?: number | null | undefined;
2446
2743
  }>;
2447
- pathParamSchema?: import("zod").ZodType;
2448
- queryParamSchema?: import("zod").ZodType;
2449
- bodySchema?: import("zod").ZodType;
2450
- responseSchema?: import("zod").ZodType;
2744
+ pathParamSchema?: import("zod").ZodSchema;
2745
+ queryParamSchema?: import("zod").ZodSchema;
2746
+ bodySchema?: import("zod").ZodSchema;
2747
+ responseSchema?: import("zod").ZodSchema;
2451
2748
  openapi?: import("../openapi-utils").OpenAPIRoute;
2452
2749
  maxBodySize?: number;
2453
2750
  deprecated?: boolean;
@@ -2490,7 +2787,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2490
2787
  }, import("zod/v4/core").$strip>>;
2491
2788
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2492
2789
  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>>;
2790
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2494
2791
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2495
2792
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2496
2793
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2500,9 +2797,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2500
2797
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2501
2798
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2502
2799
  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>>;
2800
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2504
2801
  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>>;
2802
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2506
2803
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2507
2804
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2508
2805
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2555,7 +2852,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2555
2852
  } | undefined;
2556
2853
  traceId?: string | undefined;
2557
2854
  spanId?: string | undefined;
2558
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2855
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2559
2856
  entityName?: string | undefined;
2560
2857
  entityVersionId?: string | undefined;
2561
2858
  parentEntityVersionId?: string | undefined;
@@ -2565,9 +2862,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2565
2862
  experimentId?: string | undefined;
2566
2863
  serviceName?: string | undefined;
2567
2864
  environment?: string | undefined;
2568
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2865
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2569
2866
  parentEntityName?: string | undefined;
2570
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
2867
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2571
2868
  rootEntityName?: string | undefined;
2572
2869
  resourceId?: string | undefined;
2573
2870
  runId?: string | undefined;
@@ -2594,10 +2891,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2594
2891
  costUnit?: string | null | undefined;
2595
2892
  }[];
2596
2893
  }>;
2597
- pathParamSchema?: import("zod").ZodType;
2598
- queryParamSchema?: import("zod").ZodType;
2599
- bodySchema?: import("zod").ZodType;
2600
- responseSchema?: import("zod").ZodType;
2894
+ pathParamSchema?: import("zod").ZodSchema;
2895
+ queryParamSchema?: import("zod").ZodSchema;
2896
+ bodySchema?: import("zod").ZodSchema;
2897
+ responseSchema?: import("zod").ZodSchema;
2601
2898
  openapi?: import("../openapi-utils").OpenAPIRoute;
2602
2899
  maxBodySize?: number;
2603
2900
  deprecated?: boolean;
@@ -2641,7 +2938,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2641
2938
  }, import("zod/v4/core").$strip>>;
2642
2939
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2643
2940
  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>>;
2941
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2645
2942
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2646
2943
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2647
2944
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2651,9 +2948,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2651
2948
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2652
2949
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2653
2950
  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>>;
2951
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2655
2952
  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>>;
2953
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2657
2954
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2658
2955
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2659
2956
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2705,7 +3002,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2705
3002
  } | undefined;
2706
3003
  traceId?: string | undefined;
2707
3004
  spanId?: string | undefined;
2708
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3005
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2709
3006
  entityName?: string | undefined;
2710
3007
  entityVersionId?: string | undefined;
2711
3008
  parentEntityVersionId?: string | undefined;
@@ -2715,9 +3012,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2715
3012
  experimentId?: string | undefined;
2716
3013
  serviceName?: string | undefined;
2717
3014
  environment?: string | undefined;
2718
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3015
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2719
3016
  parentEntityName?: string | undefined;
2720
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3017
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2721
3018
  rootEntityName?: string | undefined;
2722
3019
  resourceId?: string | undefined;
2723
3020
  runId?: string | undefined;
@@ -2746,10 +3043,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2746
3043
  }[];
2747
3044
  }[];
2748
3045
  }>;
2749
- pathParamSchema?: import("zod").ZodType;
2750
- queryParamSchema?: import("zod").ZodType;
2751
- bodySchema?: import("zod").ZodType;
2752
- responseSchema?: import("zod").ZodType;
3046
+ pathParamSchema?: import("zod").ZodSchema;
3047
+ queryParamSchema?: import("zod").ZodSchema;
3048
+ bodySchema?: import("zod").ZodSchema;
3049
+ responseSchema?: import("zod").ZodSchema;
2753
3050
  openapi?: import("../openapi-utils").OpenAPIRoute;
2754
3051
  maxBodySize?: number;
2755
3052
  deprecated?: boolean;
@@ -2799,7 +3096,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2799
3096
  }, import("zod/v4/core").$strip>>;
2800
3097
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2801
3098
  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>>;
3099
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2803
3100
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2804
3101
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2805
3102
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2809,9 +3106,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2809
3106
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2810
3107
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2811
3108
  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>>;
3109
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2813
3110
  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>>;
3111
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2815
3112
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2816
3113
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2817
3114
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2861,7 +3158,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2861
3158
  } | undefined;
2862
3159
  traceId?: string | undefined;
2863
3160
  spanId?: string | undefined;
2864
- entityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3161
+ entityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2865
3162
  entityName?: string | undefined;
2866
3163
  entityVersionId?: string | undefined;
2867
3164
  parentEntityVersionId?: string | undefined;
@@ -2871,9 +3168,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2871
3168
  experimentId?: string | undefined;
2872
3169
  serviceName?: string | undefined;
2873
3170
  environment?: string | undefined;
2874
- parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3171
+ parentEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2875
3172
  parentEntityName?: string | undefined;
2876
- rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType | undefined;
3173
+ rootEntityType?: import("../../../_types/@internal_core/dist/storage/index.js").EntityType | undefined;
2877
3174
  rootEntityName?: string | undefined;
2878
3175
  resourceId?: string | undefined;
2879
3176
  runId?: string | undefined;
@@ -2899,10 +3196,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2899
3196
  }[];
2900
3197
  }[];
2901
3198
  }>;
2902
- pathParamSchema?: import("zod").ZodType;
2903
- queryParamSchema?: import("zod").ZodType;
2904
- bodySchema?: import("zod").ZodType;
2905
- responseSchema?: import("zod").ZodType;
3199
+ pathParamSchema?: import("zod").ZodSchema;
3200
+ queryParamSchema?: import("zod").ZodSchema;
3201
+ bodySchema?: import("zod").ZodSchema;
3202
+ responseSchema?: import("zod").ZodSchema;
2906
3203
  openapi?: import("../openapi-utils").OpenAPIRoute;
2907
3204
  maxBodySize?: number;
2908
3205
  deprecated?: boolean;
@@ -2928,7 +3225,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2928
3225
  }, import("zod/v4/core").$strip>>;
2929
3226
  traceId: import("zod").ZodOptional<import("zod").ZodString>;
2930
3227
  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>>;
3228
+ entityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2932
3229
  entityName: import("zod").ZodOptional<import("zod").ZodString>;
2933
3230
  entityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
2934
3231
  parentEntityVersionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2938,9 +3235,9 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2938
3235
  experimentId: import("zod").ZodOptional<import("zod").ZodString>;
2939
3236
  serviceName: import("zod").ZodOptional<import("zod").ZodString>;
2940
3237
  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>>;
3238
+ parentEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2942
3239
  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>>;
3240
+ rootEntityType: import("zod").ZodOptional<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
2944
3241
  rootEntityName: import("zod").ZodOptional<import("zod").ZodString>;
2945
3242
  resourceId: import("zod").ZodOptional<import("zod").ZodString>;
2946
3243
  runId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -2974,13 +3271,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
2974
3271
  responseType: "json";
2975
3272
  streamFormat?: 'sse' | 'stream';
2976
3273
  sseFlushOnConnect?: boolean;
2977
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3274
+ handler(params: {
3275
+ [x: string]: unknown;
3276
+ } & import(".").ServerContext): Promise<{
2978
3277
  names: string[];
2979
3278
  }>;
2980
- pathParamSchema?: import("zod").ZodType;
2981
- queryParamSchema?: import("zod").ZodType;
2982
- bodySchema?: import("zod").ZodType;
2983
- responseSchema?: import("zod").ZodType;
3279
+ pathParamSchema?: import("zod").ZodSchema;
3280
+ queryParamSchema?: import("zod").ZodSchema;
3281
+ bodySchema?: import("zod").ZodSchema;
3282
+ responseSchema?: import("zod").ZodSchema;
2984
3283
  openapi?: import("../openapi-utils").OpenAPIRoute;
2985
3284
  maxBodySize?: number;
2986
3285
  deprecated?: boolean;
@@ -3000,13 +3299,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3000
3299
  responseType: "json";
3001
3300
  streamFormat?: 'sse' | 'stream';
3002
3301
  sseFlushOnConnect?: boolean;
3003
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3302
+ handler(params: {
3303
+ [x: string]: unknown;
3304
+ } & import(".").ServerContext): Promise<{
3004
3305
  keys: string[];
3005
3306
  }>;
3006
- pathParamSchema?: import("zod").ZodType;
3007
- queryParamSchema?: import("zod").ZodType;
3008
- bodySchema?: import("zod").ZodType;
3009
- responseSchema?: import("zod").ZodType;
3307
+ pathParamSchema?: import("zod").ZodSchema;
3308
+ queryParamSchema?: import("zod").ZodSchema;
3309
+ bodySchema?: import("zod").ZodSchema;
3310
+ responseSchema?: import("zod").ZodSchema;
3010
3311
  openapi?: import("../openapi-utils").OpenAPIRoute;
3011
3312
  maxBodySize?: number;
3012
3313
  deprecated?: boolean;
@@ -3026,13 +3327,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3026
3327
  responseType: "json";
3027
3328
  streamFormat?: 'sse' | 'stream';
3028
3329
  sseFlushOnConnect?: boolean;
3029
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3330
+ handler(params: {
3331
+ [x: string]: unknown;
3332
+ } & import(".").ServerContext): Promise<{
3030
3333
  values: string[];
3031
3334
  }>;
3032
- pathParamSchema?: import("zod").ZodType;
3033
- queryParamSchema?: import("zod").ZodType;
3034
- bodySchema?: import("zod").ZodType;
3035
- responseSchema?: import("zod").ZodType;
3335
+ pathParamSchema?: import("zod").ZodSchema;
3336
+ queryParamSchema?: import("zod").ZodSchema;
3337
+ bodySchema?: import("zod").ZodSchema;
3338
+ responseSchema?: import("zod").ZodSchema;
3036
3339
  openapi?: import("../openapi-utils").OpenAPIRoute;
3037
3340
  maxBodySize?: number;
3038
3341
  deprecated?: boolean;
@@ -3053,12 +3356,12 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3053
3356
  streamFormat?: 'sse' | 'stream';
3054
3357
  sseFlushOnConnect?: boolean;
3055
3358
  handler(params: import(".").ServerContext): Promise<{
3056
- entityTypes: import("../../../_types/@internal_core/dist/storage/index.d.ts").EntityType[];
3359
+ entityTypes: import("../../../_types/@internal_core/dist/storage/index.js").EntityType[];
3057
3360
  }>;
3058
- pathParamSchema?: import("zod").ZodType;
3059
- queryParamSchema?: import("zod").ZodType;
3060
- bodySchema?: import("zod").ZodType;
3061
- responseSchema?: import("zod").ZodType;
3361
+ pathParamSchema?: import("zod").ZodSchema;
3362
+ queryParamSchema?: import("zod").ZodSchema;
3363
+ bodySchema?: import("zod").ZodSchema;
3364
+ responseSchema?: import("zod").ZodSchema;
3062
3365
  openapi?: import("../openapi-utils").OpenAPIRoute;
3063
3366
  maxBodySize?: number;
3064
3367
  deprecated?: boolean;
@@ -3066,7 +3369,7 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3066
3369
  fga?: import("@mastra/core/auth").FGARouteConfig;
3067
3370
  onValidationError?: import("@mastra/core/server").ValidationErrorHook;
3068
3371
  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>>;
3372
+ entityTypes: import("zod").ZodArray<import("zod").ZodEnum<typeof import("../../../_types/@internal_core/dist/storage/index.js").EntityType>>;
3070
3373
  }, import("zod/v4/core").$strip>> | undefined;
3071
3374
  } & {
3072
3375
  readonly _mastraSchemaRoute: true;
@@ -3076,13 +3379,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3076
3379
  responseType: "json";
3077
3380
  streamFormat?: 'sse' | 'stream';
3078
3381
  sseFlushOnConnect?: boolean;
3079
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3382
+ handler(params: {
3383
+ [x: string]: unknown;
3384
+ } & import(".").ServerContext): Promise<{
3080
3385
  names: string[];
3081
3386
  }>;
3082
- pathParamSchema?: import("zod").ZodType;
3083
- queryParamSchema?: import("zod").ZodType;
3084
- bodySchema?: import("zod").ZodType;
3085
- responseSchema?: import("zod").ZodType;
3387
+ pathParamSchema?: import("zod").ZodSchema;
3388
+ queryParamSchema?: import("zod").ZodSchema;
3389
+ bodySchema?: import("zod").ZodSchema;
3390
+ responseSchema?: import("zod").ZodSchema;
3086
3391
  openapi?: import("../openapi-utils").OpenAPIRoute;
3087
3392
  maxBodySize?: number;
3088
3393
  deprecated?: boolean;
@@ -3105,10 +3410,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3105
3410
  handler(params: import(".").ServerContext): Promise<{
3106
3411
  serviceNames: string[];
3107
3412
  }>;
3108
- pathParamSchema?: import("zod").ZodType;
3109
- queryParamSchema?: import("zod").ZodType;
3110
- bodySchema?: import("zod").ZodType;
3111
- responseSchema?: import("zod").ZodType;
3413
+ pathParamSchema?: import("zod").ZodSchema;
3414
+ queryParamSchema?: import("zod").ZodSchema;
3415
+ bodySchema?: import("zod").ZodSchema;
3416
+ responseSchema?: import("zod").ZodSchema;
3112
3417
  openapi?: import("../openapi-utils").OpenAPIRoute;
3113
3418
  maxBodySize?: number;
3114
3419
  deprecated?: boolean;
@@ -3129,10 +3434,10 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3129
3434
  handler(params: import(".").ServerContext): Promise<{
3130
3435
  environments: string[];
3131
3436
  }>;
3132
- pathParamSchema?: import("zod").ZodType;
3133
- queryParamSchema?: import("zod").ZodType;
3134
- bodySchema?: import("zod").ZodType;
3135
- responseSchema?: import("zod").ZodType;
3437
+ pathParamSchema?: import("zod").ZodSchema;
3438
+ queryParamSchema?: import("zod").ZodSchema;
3439
+ bodySchema?: import("zod").ZodSchema;
3440
+ responseSchema?: import("zod").ZodSchema;
3136
3441
  openapi?: import("../openapi-utils").OpenAPIRoute;
3137
3442
  maxBodySize?: number;
3138
3443
  deprecated?: boolean;
@@ -3150,13 +3455,15 @@ export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute, Om
3150
3455
  responseType: "json";
3151
3456
  streamFormat?: 'sse' | 'stream';
3152
3457
  sseFlushOnConnect?: boolean;
3153
- handler(params: Record<string, unknown> & import(".").ServerContext): Promise<{
3458
+ handler(params: {
3459
+ [x: string]: unknown;
3460
+ } & import(".").ServerContext): Promise<{
3154
3461
  tags: string[];
3155
3462
  }>;
3156
- pathParamSchema?: import("zod").ZodType;
3157
- queryParamSchema?: import("zod").ZodType;
3158
- bodySchema?: import("zod").ZodType;
3159
- responseSchema?: import("zod").ZodType;
3463
+ pathParamSchema?: import("zod").ZodSchema;
3464
+ queryParamSchema?: import("zod").ZodSchema;
3465
+ bodySchema?: import("zod").ZodSchema;
3466
+ responseSchema?: import("zod").ZodSchema;
3160
3467
  openapi?: import("../openapi-utils").OpenAPIRoute;
3161
3468
  maxBodySize?: number;
3162
3469
  deprecated?: boolean;