@mastra/server 1.82.0-alpha.2 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/dist/_types/@mastra_schema-compat@1.3.17/dist/_types/{@internal_ai-sdk-v5@0.0.94 → @internal_ai-sdk-v5@0.0.95}/dist/index.d.ts +1 -1
  2. package/dist/_types/@mastra_schema-compat@1.3.17/dist/_types/{@internal_ai-v6@0.0.94 → @internal_ai-v6@0.0.95}/dist/index.d.ts +3 -3
  3. package/dist/_types/@mastra_schema-compat@1.3.17/dist/provider-compats/anthropic.d.ts +1 -1
  4. package/dist/_types/@mastra_schema-compat@1.3.17/dist/provider-compats/deepseek.d.ts +1 -1
  5. package/dist/_types/@mastra_schema-compat@1.3.17/dist/provider-compats/meta.d.ts +1 -1
  6. package/dist/_types/@mastra_schema-compat@1.3.17/dist/schema.types.d.ts +3 -3
  7. package/dist/{a2a-C_2w6OWn.js → a2a-CoiG3TAj.js} +3 -3
  8. package/dist/{a2a-C_2w6OWn.js.map → a2a-CoiG3TAj.js.map} +1 -1
  9. package/dist/{a2a-CNfj0wRr.cjs → a2a-DvqRdny6.cjs} +3 -3
  10. package/dist/{a2a-CNfj0wRr.cjs.map → a2a-DvqRdny6.cjs.map} +1 -1
  11. package/dist/{agent-builder-CrFZJ1mg.js → agent-builder-C_L1i2eE.js} +43 -40
  12. package/dist/agent-builder-C_L1i2eE.js.map +1 -0
  13. package/dist/{agent-builder-B7B1DSP9.cjs → agent-builder-D0Up9Fw1.cjs} +43 -40
  14. package/dist/agent-builder-D0Up9Fw1.cjs.map +1 -0
  15. package/dist/{agents-DPvMjiDf.js → agents-CgcW6lHt.js} +5 -4
  16. package/dist/agents-CgcW6lHt.js.map +1 -0
  17. package/dist/{agents-Cp4FBxQB.cjs → agents-DOHGWXDa.cjs} +5 -4
  18. package/dist/agents-DOHGWXDa.cjs.map +1 -0
  19. package/dist/{api-schema-manifest-BTfM-0md.js → api-schema-manifest-Ci2qUYHc.js} +2 -2
  20. package/dist/{api-schema-manifest-BTfM-0md.js.map → api-schema-manifest-Ci2qUYHc.js.map} +1 -1
  21. package/dist/{api-schema-manifest-C55f0tmn.cjs → api-schema-manifest-DCHOlOuJ.cjs} +2 -2
  22. package/dist/{api-schema-manifest-C55f0tmn.cjs.map → api-schema-manifest-DCHOlOuJ.cjs.map} +1 -1
  23. package/dist/{builder-registry-CkPRx_vx.cjs → builder-registry-D1_hGKCJ.cjs} +2 -2
  24. package/dist/{builder-registry-CkPRx_vx.cjs.map → builder-registry-D1_hGKCJ.cjs.map} +1 -1
  25. package/dist/{builder-registry-6TFaV4oT.js → builder-registry-m_gHCe12.js} +2 -2
  26. package/dist/{builder-registry-6TFaV4oT.js.map → builder-registry-m_gHCe12.js.map} +1 -1
  27. package/dist/{conversations-6DxLemUg.cjs → conversations-Ch_VuVwY.cjs} +2 -2
  28. package/dist/{conversations-6DxLemUg.cjs.map → conversations-Ch_VuVwY.cjs.map} +1 -1
  29. package/dist/{conversations-DDMCe7th.js → conversations-xS7yHuG1.js} +2 -2
  30. package/dist/{conversations-DDMCe7th.js.map → conversations-xS7yHuG1.js.map} +1 -1
  31. package/dist/{dist-CzWU4AmA.cjs → dist-BKNKucT9.cjs} +422 -286
  32. package/dist/dist-BKNKucT9.cjs.map +1 -0
  33. package/dist/{dist-DDo4vt34.js → dist-CIYZuix4.js} +422 -286
  34. package/dist/dist-CIYZuix4.js.map +1 -0
  35. package/dist/{dist-CjEJaGGe.cjs → dist-DgKeISkr.cjs} +1 -1
  36. package/dist/dist-mNQb9_wX.js +1 -0
  37. package/dist/docs/SKILL.md +1 -1
  38. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  39. package/dist/{editor-builder-BO0Pebws.cjs → editor-builder-CKfy5eZY.cjs} +2 -2
  40. package/dist/{editor-builder-BO0Pebws.cjs.map → editor-builder-CKfy5eZY.cjs.map} +1 -1
  41. package/dist/{editor-builder-CuT_ltBK.js → editor-builder-Ceen28s8.js} +2 -2
  42. package/dist/{editor-builder-CuT_ltBK.js.map → editor-builder-Ceen28s8.js.map} +1 -1
  43. package/dist/{knowledge-DykIi0wH.js → knowledge-Ba74qr0v.js} +89 -2
  44. package/dist/knowledge-Ba74qr0v.js.map +1 -0
  45. package/dist/{knowledge-qu0om3W7.cjs → knowledge-urR7FFG8.cjs} +100 -1
  46. package/dist/knowledge-urR7FFG8.cjs.map +1 -0
  47. package/dist/{plans-UPUTbvxx.cjs → plans-Djcp3C0d.cjs} +2 -2
  48. package/dist/{plans-UPUTbvxx.cjs.map → plans-Djcp3C0d.cjs.map} +1 -1
  49. package/dist/{plans-k4FuteiT.js → plans-nHOnlGzr.js} +2 -2
  50. package/dist/{plans-k4FuteiT.js.map → plans-nHOnlGzr.js.map} +1 -1
  51. package/dist/{probe-image-size-BRHrC0Va.cjs → probe-image-size-BAwk1h6w.cjs} +2 -2
  52. package/dist/{probe-image-size-BRHrC0Va.cjs.map → probe-image-size-BAwk1h6w.cjs.map} +1 -1
  53. package/dist/{probe-image-size-BmIt3CH4.js → probe-image-size-DGTRKrgq.js} +2 -2
  54. package/dist/{probe-image-size-BmIt3CH4.js.map → probe-image-size-DGTRKrgq.js.map} +1 -1
  55. package/dist/{responses-opDOcZYI.cjs → responses-BdOStKtX.cjs} +2 -2
  56. package/dist/{responses-opDOcZYI.cjs.map → responses-BdOStKtX.cjs.map} +1 -1
  57. package/dist/{responses-C8HCkptA.js → responses-CEet9y8G.js} +2 -2
  58. package/dist/{responses-C8HCkptA.js.map → responses-CEet9y8G.js.map} +1 -1
  59. package/dist/{routes-BCoCimCB.js → routes-5FpkkzND.js} +15 -13
  60. package/dist/routes-5FpkkzND.js.map +1 -0
  61. package/dist/{routes-FKc6a2N0.cjs → routes-DU_FlwJP.cjs} +15 -13
  62. package/dist/routes-DU_FlwJP.cjs.map +1 -0
  63. package/dist/{scores-CrpJomkR.js → scores-BaDFGpmr.js} +2 -2
  64. package/dist/{scores-CrpJomkR.js.map → scores-BaDFGpmr.js.map} +1 -1
  65. package/dist/{scores-CNMXAquK.cjs → scores-Bw6Tuga5.cjs} +2 -2
  66. package/dist/{scores-CNMXAquK.cjs.map → scores-Bw6Tuga5.cjs.map} +1 -1
  67. package/dist/server/handlers/a2a.cjs +1 -1
  68. package/dist/server/handlers/a2a.js +1 -1
  69. package/dist/server/handlers/agent-builder.cjs +1 -1
  70. package/dist/server/handlers/agent-builder.d.ts.map +1 -1
  71. package/dist/server/handlers/agent-builder.js +1 -1
  72. package/dist/server/handlers/agent-versions.cjs +1 -1
  73. package/dist/server/handlers/agent-versions.js +1 -1
  74. package/dist/server/handlers/agents.cjs +1 -1
  75. package/dist/server/handlers/agents.d.ts.map +1 -1
  76. package/dist/server/handlers/agents.js +1 -1
  77. package/dist/server/handlers/builder-registry.cjs +1 -1
  78. package/dist/server/handlers/builder-registry.js +1 -1
  79. package/dist/server/handlers/conversations.cjs +1 -1
  80. package/dist/server/handlers/conversations.js +1 -1
  81. package/dist/server/handlers/editor-builder.cjs +1 -1
  82. package/dist/server/handlers/editor-builder.js +1 -1
  83. package/dist/server/handlers/favorites-enrichment.cjs +1 -1
  84. package/dist/server/handlers/favorites-enrichment.js +1 -1
  85. package/dist/server/handlers/knowledge.cjs +3 -1
  86. package/dist/server/handlers/knowledge.d.ts +95 -0
  87. package/dist/server/handlers/knowledge.d.ts.map +1 -1
  88. package/dist/server/handlers/knowledge.js +1 -1
  89. package/dist/server/handlers/mcp-client-versions.cjs +1 -1
  90. package/dist/server/handlers/mcp-client-versions.js +1 -1
  91. package/dist/server/handlers/plans.cjs +1 -1
  92. package/dist/server/handlers/plans.js +1 -1
  93. package/dist/server/handlers/prompt-block-versions.cjs +1 -1
  94. package/dist/server/handlers/prompt-block-versions.js +1 -1
  95. package/dist/server/handlers/responses.cjs +1 -1
  96. package/dist/server/handlers/responses.js +1 -1
  97. package/dist/server/handlers/scorer-versions.cjs +1 -1
  98. package/dist/server/handlers/scorer-versions.js +1 -1
  99. package/dist/server/handlers/scores.cjs +1 -1
  100. package/dist/server/handlers/scores.js +1 -1
  101. package/dist/server/handlers/stored-agent-favorites.cjs +2 -2
  102. package/dist/server/handlers/stored-agent-favorites.js +2 -2
  103. package/dist/server/handlers/stored-agents.cjs +2 -2
  104. package/dist/server/handlers/stored-agents.js +2 -2
  105. package/dist/server/handlers/stored-mcp-clients.cjs +1 -1
  106. package/dist/server/handlers/stored-mcp-clients.js +1 -1
  107. package/dist/server/handlers/stored-prompt-blocks.cjs +1 -1
  108. package/dist/server/handlers/stored-prompt-blocks.js +1 -1
  109. package/dist/server/handlers/stored-scorers.cjs +1 -1
  110. package/dist/server/handlers/stored-scorers.js +1 -1
  111. package/dist/server/handlers/stored-skill-favorites.cjs +2 -2
  112. package/dist/server/handlers/stored-skill-favorites.js +2 -2
  113. package/dist/server/handlers/stored-skills.cjs +2 -2
  114. package/dist/server/handlers/stored-skills.js +2 -2
  115. package/dist/server/handlers/stored-workspaces.cjs +1 -1
  116. package/dist/server/handlers/stored-workspaces.js +1 -1
  117. package/dist/server/handlers/system.cjs +1 -1
  118. package/dist/server/handlers/system.js +1 -1
  119. package/dist/server/handlers/tools.cjs +1 -1
  120. package/dist/server/handlers/tools.js +1 -1
  121. package/dist/server/handlers/validate-agent-instructions.cjs +1 -1
  122. package/dist/server/handlers/validate-agent-instructions.js +1 -1
  123. package/dist/server/handlers/workflows.cjs +1 -1
  124. package/dist/server/handlers/workflows.js +1 -1
  125. package/dist/server/handlers.cjs +9 -9
  126. package/dist/server/handlers.js +9 -9
  127. package/dist/server/schemas/agents.d.ts +1 -1
  128. package/dist/server/schemas/knowledge.d.ts +29 -0
  129. package/dist/server/schemas/knowledge.d.ts.map +1 -1
  130. package/dist/server/server-adapter/index.cjs +51 -3
  131. package/dist/server/server-adapter/index.cjs.map +1 -1
  132. package/dist/server/server-adapter/index.js +51 -3
  133. package/dist/server/server-adapter/index.js.map +1 -1
  134. package/dist/server/server-adapter/routes/knowledge.d.ts +93 -0
  135. package/dist/server/server-adapter/routes/knowledge.d.ts.map +1 -1
  136. package/dist/server/utils.d.ts +13 -7
  137. package/dist/server/utils.d.ts.map +1 -1
  138. package/dist/{tools-DP3yJsX7.js → tools-BAmCNGM5.js} +3 -3
  139. package/dist/{tools-DP3yJsX7.js.map → tools-BAmCNGM5.js.map} +1 -1
  140. package/dist/{tools-C6TLcPmD.cjs → tools-CI5oeJWT.cjs} +3 -3
  141. package/dist/{tools-C6TLcPmD.cjs.map → tools-CI5oeJWT.cjs.map} +1 -1
  142. package/dist/{utils-bQ6Jhog6.cjs → utils-BhBJHsqX.cjs} +45 -24
  143. package/dist/{utils-bQ6Jhog6.cjs.map → utils-BhBJHsqX.cjs.map} +1 -1
  144. package/dist/{utils-qaBKOShQ.js → utils-Dy_dQTlK.js} +45 -24
  145. package/dist/{utils-qaBKOShQ.js.map → utils-Dy_dQTlK.js.map} +1 -1
  146. package/dist/{workflows-DrDssVnE.js → workflows-BxXS5AfE.js} +3 -3
  147. package/dist/workflows-BxXS5AfE.js.map +1 -0
  148. package/dist/{workflows-CJxQkruy.cjs → workflows-Cdi6w8JW.cjs} +3 -3
  149. package/dist/workflows-Cdi6w8JW.cjs.map +1 -0
  150. package/package.json +13 -13
  151. package/dist/agent-builder-B7B1DSP9.cjs.map +0 -1
  152. package/dist/agent-builder-CrFZJ1mg.js.map +0 -1
  153. package/dist/agents-Cp4FBxQB.cjs.map +0 -1
  154. package/dist/agents-DPvMjiDf.js.map +0 -1
  155. package/dist/dist-CzWU4AmA.cjs.map +0 -1
  156. package/dist/dist-DDo4vt34.js.map +0 -1
  157. package/dist/dist-FafoYsHK.js +0 -1
  158. package/dist/knowledge-DykIi0wH.js.map +0 -1
  159. package/dist/knowledge-qu0om3W7.cjs.map +0 -1
  160. package/dist/routes-BCoCimCB.js.map +0 -1
  161. package/dist/routes-FKc6a2N0.cjs.map +0 -1
  162. package/dist/workflows-CJxQkruy.cjs.map +0 -1
  163. package/dist/workflows-DrDssVnE.js.map +0 -1
  164. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/@internal_core@0.1.4/dist/request-context/index.d.ts +0 -0
  165. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/@internal_core@0.1.4/dist/routes/index.d.ts +0 -0
  166. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/@internal_core@0.1.4/dist/types/index.d.ts +0 -0
  167. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/checks.d.ts +0 -0
  168. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/coerce.d.ts +0 -0
  169. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/compat.d.ts +0 -0
  170. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/deep-partial.d.ts +0 -0
  171. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/errors.d.ts +0 -0
  172. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/external.d.ts +0 -0
  173. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/from-json-schema.d.ts +0 -0
  174. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/in-out.d.ts +0 -0
  175. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/index.d.ts +0 -0
  176. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/iso.d.ts +0 -0
  177. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/parse.d.ts +0 -0
  178. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/classic/schemas.d.ts +0 -0
  179. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/api.d.ts +0 -0
  180. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/checks.d.ts +0 -0
  181. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/compile.d.ts +0 -0
  182. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/core.d.ts +0 -0
  183. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/doc.d.ts +0 -0
  184. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/errors.d.ts +0 -0
  185. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/index.d.ts +0 -0
  186. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/json-schema-generator.d.ts +0 -0
  187. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/json-schema-processors.d.ts +0 -0
  188. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/json-schema.d.ts +0 -0
  189. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/memoizer.d.ts +0 -0
  190. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/parse.d.ts +0 -0
  191. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/regexes.d.ts +0 -0
  192. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/registries.d.ts +0 -0
  193. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/schemas.d.ts +0 -0
  194. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/standard-schema.d.ts +0 -0
  195. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/to-json-schema.d.ts +0 -0
  196. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/util.d.ts +0 -0
  197. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/core/versions.d.ts +0 -0
  198. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/index.d.cts +0 -0
  199. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ar.d.ts +0 -0
  200. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/az.d.ts +0 -0
  201. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/be.d.ts +0 -0
  202. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/bg.d.ts +0 -0
  203. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/bn.d.ts +0 -0
  204. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ca.d.ts +0 -0
  205. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ckb.d.ts +0 -0
  206. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/cs.d.ts +0 -0
  207. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/da.d.ts +0 -0
  208. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/de.d.ts +0 -0
  209. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/el.d.ts +0 -0
  210. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/en.d.ts +0 -0
  211. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/eo.d.ts +0 -0
  212. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/es.d.ts +0 -0
  213. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/fa.d.ts +0 -0
  214. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/fi.d.ts +0 -0
  215. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/fr-CA.d.ts +0 -0
  216. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/fr.d.ts +0 -0
  217. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/gu.d.ts +0 -0
  218. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/he.d.ts +0 -0
  219. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/hi.d.ts +0 -0
  220. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/hr.d.ts +0 -0
  221. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/hu.d.ts +0 -0
  222. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/hy.d.ts +0 -0
  223. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/id.d.ts +0 -0
  224. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/index.d.ts +0 -0
  225. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/is.d.ts +0 -0
  226. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/it.d.ts +0 -0
  227. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ja.d.ts +0 -0
  228. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ka.d.ts +0 -0
  229. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/kh.d.ts +0 -0
  230. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/km.d.ts +0 -0
  231. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/kn.d.ts +0 -0
  232. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ko.d.ts +0 -0
  233. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/lt.d.ts +0 -0
  234. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/mk.d.ts +0 -0
  235. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ms.d.ts +0 -0
  236. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ne.d.ts +0 -0
  237. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/nl.d.ts +0 -0
  238. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/nn.d.ts +0 -0
  239. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/no.d.ts +0 -0
  240. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ota.d.ts +0 -0
  241. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/pl.d.ts +0 -0
  242. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ps.d.ts +0 -0
  243. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/pt-BR.d.ts +0 -0
  244. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/pt.d.ts +0 -0
  245. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ro.d.ts +0 -0
  246. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ru.d.ts +0 -0
  247. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/sk.d.ts +0 -0
  248. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/sl.d.ts +0 -0
  249. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/sv.d.ts +0 -0
  250. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ta.d.ts +0 -0
  251. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/tg.d.ts +0 -0
  252. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/th.d.ts +0 -0
  253. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/tk.d.ts +0 -0
  254. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/tr.d.ts +0 -0
  255. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ua.d.ts +0 -0
  256. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/uk.d.ts +0 -0
  257. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/ur.d.ts +0 -0
  258. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/uz.d.ts +0 -0
  259. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/vi.d.ts +0 -0
  260. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/yo.d.ts +0 -0
  261. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/zh-CN.d.ts +0 -0
  262. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/_types/zod@4.6.7/v4/locales/zh-TW.d.ts +0 -0
  263. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/dist/routes/index.d.ts +0 -0
  264. /package/dist/_types/{@internal_voice@0.0.43 → @internal_voice@0.0.44}/package.json +0 -0
  265. /package/dist/_types/@mastra_schema-compat@1.3.17/dist/_types/{@internal_ai-sdk-v4@0.0.94 → @internal_ai-sdk-v4@0.0.95}/dist/index.d.ts +0 -0
@@ -1,10 +1,10 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
3
- import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-qaBKOShQ.js";
3
+ import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-Dy_dQTlK.js";
4
4
  import { handleError } from "./error.js";
5
5
  import { C as storedAgentIdPathParams } from "../../stored-agents-DA8Zx6o9.js";
6
6
  import { assertReadAccess, getCallerAuthorId } from "./authorship.js";
7
- import { a as requireBuilderFeature } from "../../editor-builder-CuT_ltBK.js";
7
+ import { a as requireBuilderFeature } from "../../editor-builder-Ceen28s8.js";
8
8
  import { t as favoriteToggleResponseSchema } from "../../favorites-8aieznq3.js";
9
9
  // src/server/handlers/stored-agent-favorites.ts
10
10
  /**
@@ -3,14 +3,14 @@ require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_common = require("../../common-D5XxSuvu.cjs");
5
5
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
6
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
6
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
7
7
  const require_server_handlers_error = require("./error.cjs");
8
8
  const require_stored_agents = require("../../stored-agents-TQ2lIFbx.cjs");
9
9
  const require_server_handlers_authorship = require("./authorship.cjs");
10
10
  const require_server_handlers_author_enrichment = require("./author-enrichment.cjs");
11
11
  const require_server_handlers_validate_agent_instructions = require("./validate-agent-instructions.cjs");
12
12
  const require_server_handlers_version_helpers = require("./version-helpers.cjs");
13
- const require_editor_builder = require("../../editor-builder-BO0Pebws.cjs");
13
+ const require_editor_builder = require("../../editor-builder-CKfy5eZY.cjs");
14
14
  const require_server_handlers_favorites_enrichment = require("./favorites-enrichment.cjs");
15
15
  const require_server_handlers_validate_avatar = require("./validate-avatar.cjs");
16
16
  // src/server/handlers/stored-agents.ts
@@ -1,14 +1,14 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { d as statusQuerySchema } from "../../common-J-yUnHk9.js";
3
3
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
4
- import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-qaBKOShQ.js";
4
+ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-Dy_dQTlK.js";
5
5
  import { handleError } from "./error.js";
6
6
  import { C as storedAgentIdPathParams, O as updateStoredAgentBodySchema, a as exportStoredAgentBodySchema, c as getStoredAgentResponseSchema, d as listStoredAgentsResponseSchema, g as previewInstructionsResponseSchema, h as previewInstructionsBodySchema, i as deleteStoredAgentResponseSchema, k as updateStoredAgentResponseSchema, m as openStoredAgentChangeRequestResponseSchema, n as createStoredAgentBodySchema, o as exportStoredAgentResponseSchema, p as openStoredAgentChangeRequestBodySchema, r as createStoredAgentResponseSchema, s as getStoredAgentDependentsResponseSchema, u as listStoredAgentsQuerySchema } from "../../stored-agents-DA8Zx6o9.js";
7
7
  import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
8
8
  import { attachAuthor, prepareAuthorEnrichment } from "./author-enrichment.js";
9
9
  import { validateAgentInstructionReferences } from "./validate-agent-instructions.js";
10
10
  import { handleAutoVersioning } from "./version-helpers.js";
11
- import { i as isBuilderFeatureEnabled } from "../../editor-builder-CuT_ltBK.js";
11
+ import { i as isBuilderFeatureEnabled } from "../../editor-builder-Ceen28s8.js";
12
12
  import { enrichOrStripFavorites, prepareFavoritesEnrichment, stripFavoriteFields } from "./favorites-enrichment.js";
13
13
  import { validateMetadataAvatarUrl } from "./validate-avatar.js";
14
14
  // src/server/handlers/stored-agents.ts
@@ -3,7 +3,7 @@ require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_common = require("../../common-D5XxSuvu.cjs");
5
5
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
6
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
6
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
7
7
  const require_server_handlers_error = require("./error.cjs");
8
8
  const require_server_handlers_version_helpers = require("./version-helpers.cjs");
9
9
  const require_stored_mcp_clients = require("../../stored-mcp-clients-D14ULUvS.cjs");
@@ -1,7 +1,7 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { d as statusQuerySchema } from "../../common-J-yUnHk9.js";
3
3
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
4
- import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-qaBKOShQ.js";
4
+ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-Dy_dQTlK.js";
5
5
  import { handleError } from "./error.js";
6
6
  import { MCP_CLIENT_SNAPSHOT_CONFIG_FIELDS, handleAutoVersioning } from "./version-helpers.js";
7
7
  import { a as listStoredMCPClientsQuerySchema, i as getStoredMCPClientResponseSchema, l as updateStoredMCPClientBodySchema, n as createStoredMCPClientResponseSchema, o as listStoredMCPClientsResponseSchema, r as deleteStoredMCPClientResponseSchema, s as storedMCPClientIdPathParams, t as createStoredMCPClientBodySchema, u as updateStoredMCPClientResponseSchema } from "../../stored-mcp-clients-d_PaPgGc.js";
@@ -3,7 +3,7 @@ require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_common = require("../../common-D5XxSuvu.cjs");
5
5
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
6
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
6
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
7
7
  const require_server_handlers_error = require("./error.cjs");
8
8
  const require_server_handlers_version_helpers = require("./version-helpers.cjs");
9
9
  const require_stored_prompt_blocks = require("../../stored-prompt-blocks-CqaOxMZ-.cjs");
@@ -1,7 +1,7 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { d as statusQuerySchema } from "../../common-J-yUnHk9.js";
3
3
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
4
- import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-qaBKOShQ.js";
4
+ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-Dy_dQTlK.js";
5
5
  import { handleError } from "./error.js";
6
6
  import { handleAutoVersioning } from "./version-helpers.js";
7
7
  import { a as listStoredPromptBlocksQuerySchema, i as getStoredPromptBlockResponseSchema, l as updateStoredPromptBlockBodySchema, n as createStoredPromptBlockResponseSchema, o as listStoredPromptBlocksResponseSchema, r as deleteStoredPromptBlockResponseSchema, s as storedPromptBlockIdPathParams, t as createStoredPromptBlockBodySchema, u as updateStoredPromptBlockResponseSchema } from "../../stored-prompt-blocks-B5yfQnPC.js";
@@ -3,7 +3,7 @@ require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_common = require("../../common-D5XxSuvu.cjs");
5
5
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
6
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
6
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
7
7
  const require_server_handlers_error = require("./error.cjs");
8
8
  const require_server_handlers_version_helpers = require("./version-helpers.cjs");
9
9
  const require_stored_scorers = require("../../stored-scorers-FJOs5774.cjs");
@@ -1,7 +1,7 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { d as statusQuerySchema } from "../../common-J-yUnHk9.js";
3
3
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
4
- import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-qaBKOShQ.js";
4
+ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-Dy_dQTlK.js";
5
5
  import { handleError } from "./error.js";
6
6
  import { handleAutoVersioning } from "./version-helpers.js";
7
7
  import { a as listStoredScorersQuerySchema, i as getStoredScorerResponseSchema, l as updateStoredScorerBodySchema, n as createStoredScorerResponseSchema, o as listStoredScorersResponseSchema, r as deleteStoredScorerResponseSchema, s as storedScorerIdPathParams, t as createStoredScorerBodySchema, u as updateStoredScorerResponseSchema } from "../../stored-scorers-DhOq8ZQC.js";
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
5
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
5
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
6
6
  const require_server_handlers_error = require("./error.cjs");
7
7
  const require_server_handlers_authorship = require("./authorship.cjs");
8
- const require_editor_builder = require("../../editor-builder-BO0Pebws.cjs");
8
+ const require_editor_builder = require("../../editor-builder-CKfy5eZY.cjs");
9
9
  const require_favorites = require("../../favorites-D0CoxxQn.cjs");
10
10
  const require_stored_skills = require("../../stored-skills-xuecapXy.cjs");
11
11
  // src/server/handlers/stored-skill-favorites.ts
@@ -1,9 +1,9 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
3
- import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-qaBKOShQ.js";
3
+ import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-Dy_dQTlK.js";
4
4
  import { handleError } from "./error.js";
5
5
  import { assertReadAccess, getCallerAuthorId } from "./authorship.js";
6
- import { a as requireBuilderFeature } from "../../editor-builder-CuT_ltBK.js";
6
+ import { a as requireBuilderFeature } from "../../editor-builder-Ceen28s8.js";
7
7
  import { t as favoriteToggleResponseSchema } from "../../favorites-8aieznq3.js";
8
8
  import { p as storedSkillIdPathParams } from "../../stored-skills-GNJMp022.js";
9
9
  // src/server/handlers/stored-skill-favorites.ts
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
5
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
5
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
6
6
  const require_server_handlers_error = require("./error.cjs");
7
7
  const require_server_handlers_authorship = require("./authorship.cjs");
8
- const require_editor_builder = require("../../editor-builder-BO0Pebws.cjs");
8
+ const require_editor_builder = require("../../editor-builder-CKfy5eZY.cjs");
9
9
  const require_server_handlers_favorites_enrichment = require("./favorites-enrichment.cjs");
10
10
  const require_stored_skills = require("../../stored-skills-xuecapXy.cjs");
11
11
  let _mastra_core_workspace = require("@mastra/core/workspace");
@@ -1,9 +1,9 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
3
- import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-qaBKOShQ.js";
3
+ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-Dy_dQTlK.js";
4
4
  import { handleError } from "./error.js";
5
5
  import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
6
- import { i as isBuilderFeatureEnabled } from "../../editor-builder-CuT_ltBK.js";
6
+ import { i as isBuilderFeatureEnabled } from "../../editor-builder-Ceen28s8.js";
7
7
  import { enrichOrStripFavorites, prepareFavoritesEnrichment, stripFavoriteFields } from "./favorites-enrichment.js";
8
8
  import { a as deleteStoredSkillResponseSchema, c as listStoredSkillsResponseSchema, g as updateStoredSkillResponseSchema, h as updateStoredSkillBodySchema, i as createStoredSkillResponseSchema, l as publishStoredSkillBodySchema, o as getStoredSkillResponseSchema, p as storedSkillIdPathParams, r as createStoredSkillBodySchema, s as listStoredSkillsQuerySchema, u as publishStoredSkillResponseSchema } from "../../stored-skills-GNJMp022.js";
9
9
  import { LocalSkillSource } from "@mastra/core/workspace";
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
5
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
5
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
6
6
  const require_server_handlers_error = require("./error.cjs");
7
7
  const require_stored_workspaces = require("../../stored-workspaces-g5-GKY38.cjs");
8
8
  const require_server_handlers_authorship = require("./authorship.cjs");
@@ -1,6 +1,6 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
2
  import { n as createRoute } from "../../route-builder-BxPrwNog.js";
3
- import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-qaBKOShQ.js";
3
+ import { c as toSlug, i as getStoredResourceScope, n as assertStoredResourceScope, s as scopeStoredResourceMetadata } from "../../utils-Dy_dQTlK.js";
4
4
  import { handleError } from "./error.js";
5
5
  import { a as listStoredWorkspacesQuerySchema, c as storedWorkspaceIdPathParams, d as updateStoredWorkspaceResponseSchema, i as getStoredWorkspaceResponseSchema, n as createStoredWorkspaceResponseSchema, o as listStoredWorkspacesResponseSchema, r as deleteStoredWorkspaceResponseSchema, t as createStoredWorkspaceBodySchema, u as updateStoredWorkspaceBodySchema } from "../../stored-workspaces-Bswuz00o.js";
6
6
  import { assertReadAccess, assertWriteAccess, getCallerAuthorId, matchesAuthorFilter, resolveAuthorFilter } from "./authorship.js";
@@ -90,7 +90,7 @@ const GET_API_SCHEMA_ROUTE = require_route_builder.createRoute({
90
90
  tags: ["System"],
91
91
  requiresAuth: true,
92
92
  handler: async () => {
93
- const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-C55f0tmn.cjs"));
93
+ const { buildApiSchemaManifest } = await Promise.resolve().then(() => require("../../api-schema-manifest-DCHOlOuJ.cjs"));
94
94
  return buildApiSchemaManifest();
95
95
  }
96
96
  });
@@ -88,7 +88,7 @@ const GET_API_SCHEMA_ROUTE = createRoute({
88
88
  tags: ["System"],
89
89
  requiresAuth: true,
90
90
  handler: async () => {
91
- const { buildApiSchemaManifest } = await import("../../api-schema-manifest-BTfM-0md.js");
91
+ const { buildApiSchemaManifest } = await import("../../api-schema-manifest-Ci2qUYHc.js");
92
92
  return buildApiSchemaManifest();
93
93
  }
94
94
  });
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_tools = require("../../tools-C6TLcPmD.cjs");
3
+ const require_tools = require("../../tools-CI5oeJWT.cjs");
4
4
  exports.EXECUTE_AGENT_TOOL_ROUTE = require_tools.EXECUTE_AGENT_TOOL_ROUTE;
5
5
  exports.EXECUTE_TOOL_ROUTE = require_tools.EXECUTE_TOOL_ROUTE;
6
6
  exports.GET_AGENT_TOOL_ROUTE = require_tools.GET_AGENT_TOOL_ROUTE;
@@ -1 +1 @@
1
- export { t as EXECUTE_AGENT_TOOL_ROUTE, n as EXECUTE_TOOL_ROUTE, r as GET_AGENT_TOOL_ROUTE, i as GET_TOOL_BY_ID_ROUTE, a as LIST_TOOLS_ROUTE } from "../../tools-DP3yJsX7.js";
1
+ export { t as EXECUTE_AGENT_TOOL_ROUTE, n as EXECUTE_TOOL_ROUTE, r as GET_AGENT_TOOL_ROUTE, i as GET_TOOL_BY_ID_ROUTE, a as LIST_TOOLS_ROUTE } from "../../tools-BAmCNGM5.js";
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
4
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
5
5
  // src/server/handlers/validate-agent-instructions.ts
6
6
  const UNPUBLISHED_REFERENCES_MESSAGE = "Unable to use unpublished referenced prompt blocks: {ids}. Publish these prompt blocks and try again.";
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { t as HTTPException } from "../../http-exception-CzaWkxMl.js";
2
- import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-qaBKOShQ.js";
2
+ import { i as getStoredResourceScope, n as assertStoredResourceScope } from "../../utils-Dy_dQTlK.js";
3
3
  // src/server/handlers/validate-agent-instructions.ts
4
4
  const UNPUBLISHED_REFERENCES_MESSAGE = "Unable to use unpublished referenced prompt blocks: {ids}. Publish these prompt blocks and try again.";
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
- const require_workflows = require("../../workflows-CJxQkruy.cjs");
3
+ const require_workflows = require("../../workflows-Cdi6w8JW.cjs");
4
4
  exports.CANCEL_WORKFLOW_RUN_ROUTE = require_workflows.CANCEL_WORKFLOW_RUN_ROUTE;
5
5
  exports.CREATE_WORKFLOW_RUN_ROUTE = require_workflows.CREATE_WORKFLOW_RUN_ROUTE;
6
6
  exports.DELETE_WORKFLOW_RUN_BY_ID_ROUTE = require_workflows.DELETE_WORKFLOW_RUN_BY_ID_ROUTE;
@@ -1 +1 @@
1
- export { t as CANCEL_WORKFLOW_RUN_ROUTE, n as CREATE_WORKFLOW_RUN_ROUTE, r as DELETE_WORKFLOW_RUN_BY_ID_ROUTE, i as EXECUTE_WORKFLOW_STEP_ROUTE, a as GET_WORKFLOW_BY_ID_ROUTE, o as GET_WORKFLOW_RUN_BY_ID_ROUTE, s as LIST_WORKFLOWS_ROUTE, c as LIST_WORKFLOW_RUNS_ROUTE, l as LIST_WORKFLOW_RUN_COUNTS_ROUTE, u as OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE, d as OBSERVE_STREAM_WORKFLOW_ROUTE, f as RECEIVE_WORKFLOW_EVENT_ROUTE, p as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE, m as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE, h as RESTART_ASYNC_WORKFLOW_ROUTE, g as RESTART_WORKFLOW_ROUTE, _ as RESUME_ASYNC_WORKFLOW_ROUTE, v as RESUME_NO_WAIT_WORKFLOW_ROUTE, y as RESUME_STREAM_WORKFLOW_ROUTE, b as RESUME_WORKFLOW_ROUTE, x as START_ASYNC_WORKFLOW_ROUTE, S as START_WORKFLOW_RUN_ROUTE, C as STREAM_LEGACY_WORKFLOW_ROUTE, w as STREAM_WORKFLOW_ROUTE, T as TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE, E as TIME_TRAVEL_STREAM_WORKFLOW_ROUTE, D as TIME_TRAVEL_WORKFLOW_ROUTE, O as __setWorkflowRunCountsNow } from "../../workflows-DrDssVnE.js";
1
+ export { t as CANCEL_WORKFLOW_RUN_ROUTE, n as CREATE_WORKFLOW_RUN_ROUTE, r as DELETE_WORKFLOW_RUN_BY_ID_ROUTE, i as EXECUTE_WORKFLOW_STEP_ROUTE, a as GET_WORKFLOW_BY_ID_ROUTE, o as GET_WORKFLOW_RUN_BY_ID_ROUTE, s as LIST_WORKFLOWS_ROUTE, c as LIST_WORKFLOW_RUNS_ROUTE, l as LIST_WORKFLOW_RUN_COUNTS_ROUTE, u as OBSERVE_STREAM_LEGACY_WORKFLOW_ROUTE, d as OBSERVE_STREAM_WORKFLOW_ROUTE, f as RECEIVE_WORKFLOW_EVENT_ROUTE, p as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ASYNC_ROUTE, m as RESTART_ALL_ACTIVE_WORKFLOW_RUNS_ROUTE, h as RESTART_ASYNC_WORKFLOW_ROUTE, g as RESTART_WORKFLOW_ROUTE, _ as RESUME_ASYNC_WORKFLOW_ROUTE, v as RESUME_NO_WAIT_WORKFLOW_ROUTE, y as RESUME_STREAM_WORKFLOW_ROUTE, b as RESUME_WORKFLOW_ROUTE, x as START_ASYNC_WORKFLOW_ROUTE, S as START_WORKFLOW_RUN_ROUTE, C as STREAM_LEGACY_WORKFLOW_ROUTE, w as STREAM_WORKFLOW_ROUTE, T as TIME_TRAVEL_ASYNC_WORKFLOW_ROUTE, E as TIME_TRAVEL_STREAM_WORKFLOW_ROUTE, D as TIME_TRAVEL_WORKFLOW_ROUTE, O as __setWorkflowRunCountsNow } from "../../workflows-BxXS5AfE.js";
@@ -1,19 +1,19 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_server_handlers_error = require("./handlers/error.cjs");
4
- const require_workflows = require("../workflows-CJxQkruy.cjs");
5
- const require_agent_builder = require("../agent-builder-B7B1DSP9.cjs");
6
- const require_agents = require("../agents-Cp4FBxQB.cjs");
7
- const require_plans = require("../plans-UPUTbvxx.cjs");
8
- const require_a2a = require("../a2a-CNfj0wRr.cjs");
9
- const require_conversations = require("../conversations-6DxLemUg.cjs");
4
+ const require_workflows = require("../workflows-Cdi6w8JW.cjs");
5
+ const require_agent_builder = require("../agent-builder-D0Up9Fw1.cjs");
6
+ const require_agents = require("../agents-DOHGWXDa.cjs");
7
+ const require_plans = require("../plans-Djcp3C0d.cjs");
8
+ const require_a2a = require("../a2a-DvqRdny6.cjs");
9
+ const require_conversations = require("../conversations-Ch_VuVwY.cjs");
10
10
  const require_logs = require("../logs-BJN3M88A.cjs");
11
11
  const require_mcp = require("../mcp-B9BILfJP.cjs");
12
12
  const require_memory = require("../memory-Dqod_AK9.cjs");
13
13
  const require_observability = require("../observability-BtdW6mjq.cjs");
14
- const require_responses = require("../responses-opDOcZYI.cjs");
15
- const require_scores = require("../scores-CNMXAquK.cjs");
16
- const require_tools = require("../tools-C6TLcPmD.cjs");
14
+ const require_responses = require("../responses-BdOStKtX.cjs");
15
+ const require_scores = require("../scores-Bw6Tuga5.cjs");
16
+ const require_tools = require("../tools-CI5oeJWT.cjs");
17
17
  const require_workspace = require("../workspace-BU6sQpbV.cjs");
18
18
  const require_vector = require("../vector-BZ1bKtwM.cjs");
19
19
  const require_voice = require("../voice-CBbxcsCM.cjs");
@@ -1,17 +1,17 @@
1
1
  import { formatZodError, isZodError } from "./handlers/error.js";
2
- import { k as workflows_exports } from "../workflows-DrDssVnE.js";
3
- import { _ as agent_builder_exports } from "../agent-builder-CrFZJ1mg.js";
4
- import { H as agents_exports } from "../agents-DPvMjiDf.js";
5
- import { n as plans_exports } from "../plans-k4FuteiT.js";
6
- import { r as a2a_exports } from "../a2a-C_2w6OWn.js";
7
- import { a as conversations_exports } from "../conversations-DDMCe7th.js";
2
+ import { k as workflows_exports } from "../workflows-BxXS5AfE.js";
3
+ import { _ as agent_builder_exports } from "../agent-builder-C_L1i2eE.js";
4
+ import { H as agents_exports } from "../agents-CgcW6lHt.js";
5
+ import { n as plans_exports } from "../plans-nHOnlGzr.js";
6
+ import { r as a2a_exports } from "../a2a-CoiG3TAj.js";
7
+ import { a as conversations_exports } from "../conversations-xS7yHuG1.js";
8
8
  import { i as logs_exports } from "../logs-B57_NKDn.js";
9
9
  import { y as mcp_exports } from "../mcp-BkmWZD6M.js";
10
10
  import { O as memory_exports } from "../memory-ipOCmg0C.js";
11
11
  import { f as observability_exports } from "../observability-DBtyAJnb.js";
12
- import { i as responses_exports } from "../responses-C8HCkptA.js";
13
- import { s as scores_exports } from "../scores-CrpJomkR.js";
14
- import { o as tools_exports } from "../tools-DP3yJsX7.js";
12
+ import { i as responses_exports } from "../responses-CEet9y8G.js";
13
+ import { s as scores_exports } from "../scores-BaDFGpmr.js";
14
+ import { o as tools_exports } from "../tools-BAmCNGM5.js";
15
15
  import { E as workspace_exports } from "../workspace-CS-GYTve.js";
16
16
  import { g as vector_exports } from "../vector-BAs5o6mH.js";
17
17
  import { c as voice_exports } from "../voice-CzFWhWPJ.js";
@@ -28,7 +28,7 @@ type ModelSettings = {
28
28
  headers?: Record<string, string | undefined>;
29
29
  reasoning?: ReasoningLevel;
30
30
  };
31
- export { generateSpeechBodySchema, getListenerResponseSchema, speakResponseSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, voiceSpeakersResponseSchema, } from '../../_types/@internal_voice@0.0.43/dist/routes/index.js';
31
+ export { generateSpeechBodySchema, getListenerResponseSchema, speakResponseSchema, transcribeSpeechBodySchema, transcribeSpeechResponseSchema, voiceSpeakersResponseSchema, } from '../../_types/@internal_voice@0.0.44/dist/routes/index.js';
32
32
  type JsonValue = string | number | boolean | null | JsonValue[] | {
33
33
  [key: string]: JsonValue;
34
34
  };
@@ -24,6 +24,16 @@ export declare const knowledgeSearchQuerySchema: z.ZodObject<{
24
24
  scopeId: z.ZodOptional<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodString>>>;
25
25
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
26
26
  }, z.core.$strip>;
27
+ export declare const knowledgeLinkCountsQuerySchema: z.ZodObject<{
28
+ pageId: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>, z.ZodTransform<string[], string | string[]>>, z.ZodArray<z.ZodString>>;
29
+ }, z.core.$strip>;
30
+ export declare const knowledgePageLinksQuerySchema: z.ZodObject<{
31
+ direction: z.ZodOptional<z.ZodEnum<{
32
+ both: "both";
33
+ in: "in";
34
+ out: "out";
35
+ }>>;
36
+ }, z.core.$strip>;
27
37
  export declare const knowledgeActivityQuerySchema: z.ZodObject<{
28
38
  scopeId: z.ZodOptional<z.ZodString>;
29
39
  pageId: z.ZodOptional<z.ZodString>;
@@ -42,6 +52,25 @@ export declare const knowledgeGraphResponseSchema: z.ZodRecord<z.ZodString, z.Zo
42
52
  export declare const knowledgeSearchResponseSchema: z.ZodObject<{
43
53
  results: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
44
54
  }, z.core.$strip>;
55
+ export declare const knowledgeLinkCountsResponseSchema: z.ZodObject<{
56
+ counts: z.ZodRecord<z.ZodString, z.ZodObject<{
57
+ in: z.ZodNumber;
58
+ out: z.ZodNumber;
59
+ }, z.core.$strip>>;
60
+ }, z.core.$strip>;
61
+ export declare const knowledgePageLinksResponseSchema: z.ZodObject<{
62
+ edges: z.ZodArray<z.ZodObject<{
63
+ fromPageId: z.ZodString;
64
+ toPageId: z.ZodString;
65
+ kind: z.ZodEnum<{
66
+ body: "body";
67
+ note: "note";
68
+ }>;
69
+ count: z.ZodNumber;
70
+ }, z.core.$strip>>;
71
+ pages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
+ truncated: z.ZodBoolean;
73
+ }, z.core.$strip>;
45
74
  export declare const knowledgeActivityResponseSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
46
75
  export declare const knowledgeEventsResponseSchema: z.ZodObject<{
47
76
  kind: z.ZodEnum<{
@@ -1 +1 @@
1
- {"version":3,"file":"knowledge.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/knowledge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;iBAElC,CAAC;AAKH,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAC;AAQH,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;iBAKvC,CAAC;AAKH,eAAO,MAAM,2BAA2B;;;;;iBAEtC,CAAC;AACH,eAAO,MAAM,2BAA2B,wCAAU,CAAC;AACnD,eAAO,MAAM,2BAA2B,wCAAU,CAAC;AACnD,eAAO,MAAM,4BAA4B,wCAAU,CAAC;AACpD,eAAO,MAAM,6BAA6B;;iBAA0C,CAAC;AACrF,eAAO,MAAM,+BAA+B,wCAAU,CAAC;AACvD,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBAMxC,CAAC"}
1
+ {"version":3,"file":"knowledge.d.ts","sourceRoot":"","sources":["../../../src/server/schemas/knowledge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,eAAO,MAAM,mBAAmB;;iBAE9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;iBAElC,CAAC;AAKH,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;iBAGpC,CAAC;AAQH,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AAOH,eAAO,MAAM,8BAA8B;;iBAEzC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;iBAExC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;iBAKvC,CAAC;AAKH,eAAO,MAAM,2BAA2B;;;;;iBAEtC,CAAC;AACH,eAAO,MAAM,2BAA2B,wCAAU,CAAC;AACnD,eAAO,MAAM,2BAA2B,wCAAU,CAAC;AACnD,eAAO,MAAM,4BAA4B,wCAAU,CAAC;AACpD,eAAO,MAAM,6BAA6B;;iBAA0C,CAAC;AACrF,eAAO,MAAM,iCAAiC;;;;;iBAE5C,CAAC;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;iBAM3C,CAAC;AACH,eAAO,MAAM,+BAA+B,wCAAU,CAAC;AACvD,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBAMxC,CAAC"}
@@ -2,11 +2,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  require("../../rolldown-runtime-10nMEhjP.cjs");
3
3
  const require_http_exception = require("../../http-exception-Co3MbFUf.cjs");
4
4
  const require_route_builder = require("../../route-builder-CvARmqnA.cjs");
5
- const require_utils = require("../../utils-bQ6Jhog6.cjs");
5
+ const require_utils = require("../../utils-BhBJHsqX.cjs");
6
6
  const require_constants = require("../../constants-DMg8hUOR.cjs");
7
7
  const require_server_handlers_error = require("../handlers/error.cjs");
8
8
  const require_helpers = require("../../helpers-BKtUXhz2.cjs");
9
- const require_routes = require("../../routes-FKc6a2N0.cjs");
9
+ const require_routes = require("../../routes-DU_FlwJP.cjs");
10
10
  let zod_v4 = require("zod/v4");
11
11
  let stream = require("stream");
12
12
  let _mastra_core_request_context = require("@mastra/core/request-context");
@@ -500,7 +500,7 @@ function serializeStreamChunk(chunk) {
500
500
  try {
501
501
  return {
502
502
  ok: true,
503
- json: (0, _mastra_core_utils.safeStringify)(chunk)
503
+ json: (0, _mastra_core_utils.safeStringify)(withPlainPayloadError(chunk))
504
504
  };
505
505
  } catch (error) {
506
506
  return {
@@ -509,6 +509,54 @@ function serializeStreamChunk(chunk) {
509
509
  };
510
510
  }
511
511
  }
512
+ /**
513
+ * `JSON.stringify(new Error('x'))` keeps only own enumerable fields, so an Error subclass that sets `name`
514
+ * arrives as `{ name }` and clients show `[object Object]`. Send the message too; never the stack. An
515
+ * error whose class curates its JSON (`toJSON`, e.g. MastraError) keeps that shape, so fields it leaves
516
+ * out stay out.
517
+ */
518
+ function withPlainPayloadError(chunk) {
519
+ if (!chunk || typeof chunk !== "object" || !("payload" in chunk)) return chunk;
520
+ const { payload } = chunk;
521
+ if (!payload || typeof payload !== "object" || !("error" in payload)) return chunk;
522
+ const { error } = payload;
523
+ if (!(error instanceof Error)) return withoutStack(chunk, payload, error);
524
+ const plain = {
525
+ ...curatedJson(error) ?? error,
526
+ message: error.message
527
+ };
528
+ delete plain.stack;
529
+ if (!plain.name && error.name !== "Error") plain.name = error.name;
530
+ return {
531
+ ...chunk,
532
+ payload: {
533
+ ...payload,
534
+ error: plain
535
+ }
536
+ };
537
+ }
538
+ /** An error that is already a plain object (a replayed one) is kept as is, minus its stack. */
539
+ function withoutStack(chunk, payload, error) {
540
+ if (!error || typeof error !== "object" || Array.isArray(error) || !("stack" in error)) return chunk;
541
+ const { stack: _stack, ...rest } = error;
542
+ return {
543
+ ...chunk,
544
+ payload: {
545
+ ...payload,
546
+ error: rest
547
+ }
548
+ };
549
+ }
550
+ function curatedJson(error) {
551
+ const toJSON = error.toJSON;
552
+ if (typeof toJSON !== "function") return void 0;
553
+ try {
554
+ const json = toJSON.call(error);
555
+ return json && typeof json === "object" ? json : void 0;
556
+ } catch {
557
+ return;
558
+ }
559
+ }
512
560
  // src/server/server-adapter/index.ts
513
561
  function getCustomHTTPExceptionResponse(error) {
514
562
  if (!(error instanceof require_http_exception.HTTPException) || !error.res) return;