@mastra/server 0.0.0-working-memory-per-user-20250620161509 → 0.0.0-zod-v4-compat-part-2-20250820135355

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 (206) hide show
  1. package/LICENSE.md +11 -42
  2. package/dist/{chunk-VPNDC2DI.cjs → chunk-4CEZIJWJ.cjs} +16 -14
  3. package/dist/chunk-4CEZIJWJ.cjs.map +1 -0
  4. package/dist/{chunk-QLG2PFHE.js → chunk-4MQU6AJN.js} +5 -3
  5. package/dist/chunk-4MQU6AJN.js.map +1 -0
  6. package/dist/{chunk-57CJTIPW.cjs → chunk-4QSNRCOT.cjs} +4 -2
  7. package/dist/chunk-4QSNRCOT.cjs.map +1 -0
  8. package/dist/{chunk-WJY57THV.cjs → chunk-4US5W7PH.cjs} +26 -24
  9. package/dist/chunk-4US5W7PH.cjs.map +1 -0
  10. package/dist/chunk-57W7TS7P.cjs +547 -0
  11. package/dist/chunk-57W7TS7P.cjs.map +1 -0
  12. package/dist/{chunk-OCWPVYNI.cjs → chunk-7NADHFD2.cjs} +3 -0
  13. package/dist/chunk-7NADHFD2.cjs.map +1 -0
  14. package/dist/{chunk-IMBY5XUG.cjs → chunk-BED2O446.cjs} +11 -9
  15. package/dist/chunk-BED2O446.cjs.map +1 -0
  16. package/dist/chunk-CY4TP3FK.js +16 -0
  17. package/dist/chunk-CY4TP3FK.js.map +1 -0
  18. package/dist/{chunk-55DOQLP6.js → chunk-G7NVCO5M.js} +5 -3
  19. package/dist/chunk-G7NVCO5M.js.map +1 -0
  20. package/dist/{chunk-SDPGVWQJ.cjs → chunk-GASWM5HJ.cjs} +4 -2
  21. package/dist/chunk-GASWM5HJ.cjs.map +1 -0
  22. package/dist/{chunk-5UV7XQ4G.js → chunk-GBL4JYW7.js} +52 -16
  23. package/dist/chunk-GBL4JYW7.js.map +1 -0
  24. package/dist/chunk-GU4EWMZB.cjs +769 -0
  25. package/dist/chunk-GU4EWMZB.cjs.map +1 -0
  26. package/dist/chunk-GX25CWC7.cjs +588 -0
  27. package/dist/chunk-GX25CWC7.cjs.map +1 -0
  28. package/dist/{chunk-N2YBMSO2.js → chunk-HNYYFKON.js} +18 -15
  29. package/dist/chunk-HNYYFKON.js.map +1 -0
  30. package/dist/{chunk-R5VGYBV6.js → chunk-HWHKM67I.js} +6 -4
  31. package/dist/chunk-HWHKM67I.js.map +1 -0
  32. package/dist/{chunk-B4MQFJ7G.cjs → chunk-ILCWPBYQ.cjs} +9 -7
  33. package/dist/chunk-ILCWPBYQ.cjs.map +1 -0
  34. package/dist/{chunk-2GOU7Q4O.js → chunk-ITZX6VPI.js} +146 -73
  35. package/dist/chunk-ITZX6VPI.js.map +1 -0
  36. package/dist/chunk-LF2ZLOFP.js +767 -0
  37. package/dist/chunk-LF2ZLOFP.js.map +1 -0
  38. package/dist/{chunk-NYN7KFXL.js → chunk-MMROOK5J.js} +3 -0
  39. package/dist/chunk-MMROOK5J.js.map +1 -0
  40. package/dist/{chunk-BNEY4P4P.cjs → chunk-NCS2OXX6.cjs} +20 -18
  41. package/dist/chunk-NCS2OXX6.cjs.map +1 -0
  42. package/dist/{chunk-H5PTF3Y4.js → chunk-OW4FX5TS.js} +3 -1
  43. package/dist/chunk-OW4FX5TS.js.map +1 -0
  44. package/dist/{chunk-MLKGABMK.js → chunk-PZ5AY32C.js} +2 -0
  45. package/dist/chunk-PZ5AY32C.js.map +1 -0
  46. package/dist/{chunk-75ZPJI57.cjs → chunk-Q7SFCCGT.cjs} +2 -0
  47. package/dist/chunk-Q7SFCCGT.cjs.map +1 -0
  48. package/dist/chunk-RE4RPXT2.cjs +18 -0
  49. package/dist/chunk-RE4RPXT2.cjs.map +1 -0
  50. package/dist/{chunk-CPPYMJX5.cjs → chunk-RTI33BGT.cjs} +25 -22
  51. package/dist/chunk-RTI33BGT.cjs.map +1 -0
  52. package/dist/{chunk-E5IRS3XH.cjs → chunk-SKWJUK3M.cjs} +63 -26
  53. package/dist/chunk-SKWJUK3M.cjs.map +1 -0
  54. package/dist/{chunk-4DTDPTQC.cjs → chunk-SOIOAAJ4.cjs} +48 -45
  55. package/dist/chunk-SOIOAAJ4.cjs.map +1 -0
  56. package/dist/{chunk-BFOA2QQY.js → chunk-SQ7KKIH3.js} +5 -3
  57. package/dist/chunk-SQ7KKIH3.js.map +1 -0
  58. package/dist/{chunk-GHC4YV6R.js → chunk-TRWPUPGD.js} +3 -1
  59. package/dist/chunk-TRWPUPGD.js.map +1 -0
  60. package/dist/chunk-TXAQU2XN.js +151 -0
  61. package/dist/chunk-TXAQU2XN.js.map +1 -0
  62. package/dist/chunk-VIGPWTDA.cjs +159 -0
  63. package/dist/chunk-VIGPWTDA.cjs.map +1 -0
  64. package/dist/{chunk-XR7VJOOP.js → chunk-WHQZT6R2.js} +12 -9
  65. package/dist/chunk-WHQZT6R2.js.map +1 -0
  66. package/dist/{chunk-C7564HUT.js → chunk-Y3J45CVZ.js} +6 -4
  67. package/dist/chunk-Y3J45CVZ.js.map +1 -0
  68. package/dist/chunk-ZKJZQN24.js +571 -0
  69. package/dist/chunk-ZKJZQN24.js.map +1 -0
  70. package/dist/index.cjs +2 -0
  71. package/dist/index.cjs.map +1 -0
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.d.ts.map +1 -0
  74. package/dist/index.js +2 -0
  75. package/dist/index.js.map +1 -0
  76. package/dist/server/a2a/protocol.d.ts +8 -0
  77. package/dist/server/a2a/protocol.d.ts.map +1 -0
  78. package/dist/server/a2a/store.d.ts +14 -0
  79. package/dist/server/a2a/store.d.ts.map +1 -0
  80. package/dist/server/a2a/tasks.d.ts +20 -0
  81. package/dist/server/a2a/tasks.d.ts.map +1 -0
  82. package/dist/server/handlers/a2a.cjs +9 -7
  83. package/dist/server/handlers/a2a.cjs.map +1 -0
  84. package/dist/server/handlers/a2a.d.ts +66 -6
  85. package/dist/server/handlers/a2a.d.ts.map +1 -0
  86. package/dist/server/handlers/a2a.js +3 -1
  87. package/dist/server/handlers/a2a.js.map +1 -0
  88. package/dist/server/handlers/agents.cjs +13 -7
  89. package/dist/server/handlers/agents.cjs.map +1 -0
  90. package/dist/server/handlers/agents.d.ts +81 -6
  91. package/dist/server/handlers/agents.d.ts.map +1 -0
  92. package/dist/server/handlers/agents.js +3 -1
  93. package/dist/server/handlers/agents.js.map +1 -0
  94. package/dist/server/handlers/error.cjs +4 -2
  95. package/dist/server/handlers/error.cjs.map +1 -0
  96. package/dist/server/handlers/error.d.ts +2 -1
  97. package/dist/server/handlers/error.d.ts.map +1 -0
  98. package/dist/server/handlers/error.js +3 -1
  99. package/dist/server/handlers/error.js.map +1 -0
  100. package/dist/server/handlers/legacyWorkflows.cjs +13 -11
  101. package/dist/server/handlers/legacyWorkflows.cjs.map +1 -0
  102. package/dist/server/handlers/legacyWorkflows.d.ts +59 -10
  103. package/dist/server/handlers/legacyWorkflows.d.ts.map +1 -0
  104. package/dist/server/handlers/legacyWorkflows.js +3 -1
  105. package/dist/server/handlers/legacyWorkflows.js.map +1 -0
  106. package/dist/server/handlers/logs.cjs +6 -4
  107. package/dist/server/handlers/logs.cjs.map +1 -0
  108. package/dist/server/handlers/logs.d.ts +34 -3
  109. package/dist/server/handlers/logs.d.ts.map +1 -0
  110. package/dist/server/handlers/logs.js +3 -1
  111. package/dist/server/handlers/logs.js.map +1 -0
  112. package/dist/server/handlers/memory.cjs +39 -9
  113. package/dist/server/handlers/memory.cjs.map +1 -0
  114. package/dist/server/handlers/memory.d.ts +119 -8
  115. package/dist/server/handlers/memory.d.ts.map +1 -0
  116. package/dist/server/handlers/memory.js +3 -1
  117. package/dist/server/handlers/memory.js.map +1 -0
  118. package/dist/server/handlers/network.cjs +7 -5
  119. package/dist/server/handlers/network.cjs.map +1 -0
  120. package/dist/server/handlers/network.d.ts +50 -4
  121. package/dist/server/handlers/network.d.ts.map +1 -0
  122. package/dist/server/handlers/network.js +3 -1
  123. package/dist/server/handlers/network.js.map +1 -0
  124. package/dist/server/handlers/scores.cjs +32 -0
  125. package/dist/server/handlers/scores.cjs.map +1 -0
  126. package/dist/server/handlers/scores.d.ts +49 -0
  127. package/dist/server/handlers/scores.d.ts.map +1 -0
  128. package/dist/server/handlers/scores.js +3 -0
  129. package/dist/server/handlers/scores.js.map +1 -0
  130. package/dist/server/handlers/telemetry.cjs +5 -3
  131. package/dist/server/handlers/telemetry.cjs.map +1 -0
  132. package/dist/server/handlers/telemetry.d.ts +32 -2
  133. package/dist/server/handlers/telemetry.d.ts.map +1 -0
  134. package/dist/server/handlers/telemetry.js +3 -1
  135. package/dist/server/handlers/telemetry.js.map +1 -0
  136. package/dist/server/handlers/tools.cjs +7 -5
  137. package/dist/server/handlers/tools.cjs.map +1 -0
  138. package/dist/server/handlers/tools.d.ts +21 -4
  139. package/dist/server/handlers/tools.d.ts.map +1 -0
  140. package/dist/server/handlers/tools.js +3 -1
  141. package/dist/server/handlers/tools.js.map +1 -0
  142. package/dist/server/handlers/utils.cjs +4 -2
  143. package/dist/server/handlers/utils.cjs.map +1 -0
  144. package/dist/server/handlers/utils.d.ts +2 -1
  145. package/dist/server/handlers/utils.d.ts.map +1 -0
  146. package/dist/server/handlers/utils.js +3 -1
  147. package/dist/server/handlers/utils.js.map +1 -0
  148. package/dist/server/handlers/vNextNetwork.cjs +220 -0
  149. package/dist/server/handlers/vNextNetwork.cjs.map +1 -0
  150. package/dist/server/handlers/vNextNetwork.d.ts +179 -0
  151. package/dist/server/handlers/vNextNetwork.d.ts.map +1 -0
  152. package/dist/server/handlers/vNextNetwork.js +213 -0
  153. package/dist/server/handlers/vNextNetwork.js.map +1 -0
  154. package/dist/server/handlers/vector.cjs +9 -7
  155. package/dist/server/handlers/vector.cjs.map +1 -0
  156. package/dist/server/handlers/vector.d.ts +51 -6
  157. package/dist/server/handlers/vector.d.ts.map +1 -0
  158. package/dist/server/handlers/vector.js +3 -1
  159. package/dist/server/handlers/vector.js.map +1 -0
  160. package/dist/server/handlers/voice.cjs +7 -5
  161. package/dist/server/handlers/voice.cjs.map +1 -0
  162. package/dist/server/handlers/voice.d.ts +39 -4
  163. package/dist/server/handlers/voice.d.ts.map +1 -0
  164. package/dist/server/handlers/voice.js +3 -1
  165. package/dist/server/handlers/voice.js.map +1 -0
  166. package/dist/server/handlers/workflows.cjs +27 -13
  167. package/dist/server/handlers/workflows.cjs.map +1 -0
  168. package/dist/server/handlers/workflows.d.ts +88 -12
  169. package/dist/server/handlers/workflows.d.ts.map +1 -0
  170. package/dist/server/handlers/workflows.js +3 -1
  171. package/dist/server/handlers/workflows.js.map +1 -0
  172. package/dist/server/handlers.cjs +32 -25
  173. package/dist/server/handlers.cjs.map +1 -0
  174. package/dist/server/handlers.d.ts +13 -11
  175. package/dist/server/handlers.d.ts.map +1 -0
  176. package/dist/server/handlers.js +14 -11
  177. package/dist/server/handlers.js.map +1 -0
  178. package/dist/server/http-exception.d.ts +87 -0
  179. package/dist/server/http-exception.d.ts.map +1 -0
  180. package/dist/server/types.d.ts +10 -0
  181. package/dist/server/types.d.ts.map +1 -0
  182. package/package.json +11 -11
  183. package/dist/_tsup-dts-rollup.d.cts +0 -864
  184. package/dist/_tsup-dts-rollup.d.ts +0 -864
  185. package/dist/chunk-64U3UDTH.cjs +0 -13
  186. package/dist/chunk-6TJSHFCJ.cjs +0 -221
  187. package/dist/chunk-7TB34RLZ.cjs +0 -471
  188. package/dist/chunk-I7KJZNX5.js +0 -211
  189. package/dist/chunk-M5ABIP7D.js +0 -11
  190. package/dist/chunk-MN6F4D5A.cjs +0 -2004
  191. package/dist/chunk-OSZM4EAY.js +0 -2001
  192. package/dist/index.d.cts +0 -1
  193. package/dist/server/handlers/a2a.d.cts +0 -6
  194. package/dist/server/handlers/agents.d.cts +0 -6
  195. package/dist/server/handlers/error.d.cts +0 -1
  196. package/dist/server/handlers/legacyWorkflows.d.cts +0 -10
  197. package/dist/server/handlers/logs.d.cts +0 -3
  198. package/dist/server/handlers/memory.d.cts +0 -8
  199. package/dist/server/handlers/network.d.cts +0 -4
  200. package/dist/server/handlers/telemetry.d.cts +0 -2
  201. package/dist/server/handlers/tools.d.cts +0 -4
  202. package/dist/server/handlers/utils.d.cts +0 -1
  203. package/dist/server/handlers/vector.d.cts +0 -6
  204. package/dist/server/handlers/voice.d.cts +0 -4
  205. package/dist/server/handlers/workflows.d.cts +0 -12
  206. package/dist/server/handlers.d.cts +0 -11
@@ -0,0 +1,87 @@
1
+ /**
2
+ * @module
3
+ * This module provides the `HTTPException` class.
4
+ */
5
+ type InfoStatusCode = 100 | 101 | 102 | 103;
6
+ type SuccessStatusCode = 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226;
7
+ type DeprecatedStatusCode = 305 | 306;
8
+ type RedirectStatusCode = 300 | 301 | 302 | 303 | 304 | DeprecatedStatusCode | 307 | 308;
9
+ type ClientErrorStatusCode = 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451;
10
+ type ServerErrorStatusCode = 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511;
11
+ /**
12
+ * `UnofficialStatusCode` can be used to specify an unofficial status code.
13
+ * @example
14
+ *
15
+ * ```ts
16
+ * app.get('/unknown', (c) => {
17
+ * return c.text("Unknown Error", 520 as UnofficialStatusCode)
18
+ * })
19
+ * ```
20
+ */
21
+ export type UnofficialStatusCode = -1;
22
+ /**
23
+ * @deprecated
24
+ * Use `UnofficialStatusCode` instead.
25
+ */
26
+ export type UnOfficalStatusCode = UnofficialStatusCode;
27
+ /**
28
+ * If you want to use an unofficial status, use `UnofficialStatusCode`.
29
+ */
30
+ export type StatusCode = InfoStatusCode | SuccessStatusCode | RedirectStatusCode | ClientErrorStatusCode | ServerErrorStatusCode | UnofficialStatusCode;
31
+ /**
32
+ * Options for creating an `HTTPException`.
33
+ * @property res - Optional response object to use.
34
+ * @property message - Optional custom error message.
35
+ * @property cause - Optional cause of the error.
36
+ * @property stack - Optional stack trace for the error.
37
+ */
38
+ type HTTPExceptionOptions = {
39
+ res?: Response;
40
+ message?: string;
41
+ cause?: unknown;
42
+ stack?: string;
43
+ };
44
+ /**
45
+ * `HTTPException` must be used when a fatal error such as authentication failure occurs.
46
+ *
47
+ * @see {@link https://hono.dev/docs/api/exception}
48
+ *
49
+ * @param {StatusCode} status - status code of HTTPException
50
+ * @param {HTTPExceptionOptions} options - options of HTTPException
51
+ * @param {HTTPExceptionOptions["res"]} options.res - response of options of HTTPException
52
+ * @param {HTTPExceptionOptions["message"]} options.message - message of options of HTTPException
53
+ * @param {HTTPExceptionOptions["cause"]} options.cause - cause of options of HTTPException
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * import { HTTPException } from 'hono/http-exception'
58
+ *
59
+ * // ...
60
+ *
61
+ * app.post('/auth', async (c, next) => {
62
+ * // authentication
63
+ * if (authorized === false) {
64
+ * throw new HTTPException(401, { message: 'Custom error message' })
65
+ * }
66
+ * await next()
67
+ * })
68
+ * ```
69
+ */
70
+ export declare class HTTPException extends Error {
71
+ readonly res?: Response;
72
+ readonly status: StatusCode;
73
+ /**
74
+ * Creates an instance of `HTTPException`.
75
+ * @param status - HTTP status code for the exception. Defaults to 500.
76
+ * @param options - Additional options for the exception.
77
+ */
78
+ constructor(status?: StatusCode, options?: HTTPExceptionOptions);
79
+ /**
80
+ * Returns the response object associated with the exception.
81
+ * If a response object is not provided, a new response is created with the error message and status code.
82
+ * @returns The response object.
83
+ */
84
+ getResponse(): Response;
85
+ }
86
+ export {};
87
+ //# sourceMappingURL=http-exception.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http-exception.d.ts","sourceRoot":"","sources":["../../src/server/http-exception.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAEH,KAAK,cAAc,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAC5C,KAAK,iBAAiB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AACnF,KAAK,oBAAoB,GAAG,GAAG,GAAG,GAAG,CAAC;AACtC,KAAK,kBAAkB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,oBAAoB,GAAG,GAAG,GAAG,GAAG,CAAC;AACzF,KAAK,qBAAqB,GACtB,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,CAAC;AACR,KAAK,qBAAqB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAE7F;;;;;;;;;GASG;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,CAAC;AAEtC;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,cAAc,GACd,iBAAiB,GACjB,kBAAkB,GAClB,qBAAqB,GACrB,qBAAqB,GACrB,oBAAoB,CAAC;AAEzB;;;;;;GAMG;AACH,KAAK,oBAAoB,GAAG;IAC1B,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,QAAQ,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAE5B;;;;OAIG;gBACS,MAAM,GAAE,UAAgB,EAAE,OAAO,CAAC,EAAE,oBAAoB;IAOpE;;;;OAIG;IACH,WAAW,IAAI,QAAQ;CAYxB"}
@@ -0,0 +1,10 @@
1
+ import type { MastraError } from '@mastra/core/error';
2
+ import type { Mastra } from '@mastra/core/mastra';
3
+ export interface ApiError extends MastraError {
4
+ message: string;
5
+ status?: number;
6
+ }
7
+ export interface Context {
8
+ mastra: Mastra;
9
+ }
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/server/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,WAAW,QAAS,SAAQ,WAAW;IAC3C,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "0.0.0-working-memory-per-user-20250620161509",
3
+ "version": "0.0.0-zod-v4-compat-part-2-20250820135355",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -43,27 +43,27 @@
43
43
  },
44
44
  "keywords": [],
45
45
  "author": "",
46
- "license": "Elastic-2.0",
46
+ "license": "Apache-2.0",
47
47
  "peerDependencies": {
48
- "zod": "^3.0.0",
49
- "@mastra/core": "0.0.0-working-memory-per-user-20250620161509"
48
+ "zod": "^3.0.0 || ^4.0.0",
49
+ "@mastra/core": "0.0.0-zod-v4-compat-part-2-20250820135355"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@ai-sdk/openai": "^1.3.22",
53
53
  "@microsoft/api-extractor": "^7.52.8",
54
54
  "@types/node": "^20.19.0",
55
- "eslint": "^9.28.0",
55
+ "eslint": "^9.30.1",
56
56
  "superjson": "^2.2.2",
57
57
  "tsup": "^8.5.0",
58
58
  "typescript": "^5.8.3",
59
- "vitest": "^2.1.9",
60
- "zod": "^3.25.57",
61
- "zod-to-json-schema": "^3.24.5",
62
- "@mastra/core": "0.0.0-working-memory-per-user-20250620161509",
63
- "@internal/lint": "0.0.0-working-memory-per-user-20250620161509"
59
+ "vitest": "^3.2.4",
60
+ "zod": "^3.25.67",
61
+ "@internal/storage-test-utils": "0.0.22",
62
+ "@mastra/core": "0.0.0-zod-v4-compat-part-2-20250820135355",
63
+ "@internal/lint": "0.0.0-zod-v4-compat-part-2-20250820135355"
64
64
  },
65
65
  "scripts": {
66
- "build": "tsup src/index.ts src/server/handlers.ts src/server/handlers/*.ts !src/server/handlers/*.test.ts --format esm,cjs --clean --experimental-dts --treeshake=smallest --splitting",
66
+ "build": "tsup --silent --config tsup.config.ts",
67
67
  "build:watch": "pnpm build --watch",
68
68
  "pull:openapispec": "node src/server/openapi.script.js",
69
69
  "test": "vitest run",