@mastra/deployer 1.37.0-alpha.5 → 1.37.0-alpha.8

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 (89) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/arktype-aI7TBD0R-3P5RF7MP.js +8 -0
  3. package/dist/{arktype-aI7TBD0R-FXOAT7L5.js.map → arktype-aI7TBD0R-3P5RF7MP.js.map} +1 -1
  4. package/dist/{arktype-aI7TBD0R-CH6FW6SC.cjs → arktype-aI7TBD0R-MM5ZQA7T.cjs} +3 -3
  5. package/dist/{arktype-aI7TBD0R-CH6FW6SC.cjs.map → arktype-aI7TBD0R-MM5ZQA7T.cjs.map} +1 -1
  6. package/dist/chunk-25FDH34P.cjs +4 -0
  7. package/dist/{chunk-PJRU3FAS.cjs.map → chunk-25FDH34P.cjs.map} +1 -1
  8. package/dist/{chunk-GJADEAFP.cjs → chunk-3BPH376H.cjs} +3 -3
  9. package/dist/{chunk-GJADEAFP.cjs.map → chunk-3BPH376H.cjs.map} +1 -1
  10. package/dist/chunk-5AW6ZK5L.js +3 -0
  11. package/dist/{chunk-4MQB32L7.js.map → chunk-5AW6ZK5L.js.map} +1 -1
  12. package/dist/{chunk-N22YZ2SO.js → chunk-7S5IH2W7.js} +3 -3
  13. package/dist/{chunk-N22YZ2SO.js.map → chunk-7S5IH2W7.js.map} +1 -1
  14. package/dist/{chunk-B5MDFOOY.js → chunk-H3XBG3TG.js} +9 -9
  15. package/dist/{chunk-B5MDFOOY.js.map → chunk-H3XBG3TG.js.map} +1 -1
  16. package/dist/chunk-I5QGSZ76.cjs +16 -0
  17. package/dist/{chunk-UDZGL4UX.cjs.map → chunk-I5QGSZ76.cjs.map} +1 -1
  18. package/dist/{chunk-QHAPK6PL.cjs → chunk-O3MMPMLF.cjs} +9 -9
  19. package/dist/{chunk-QHAPK6PL.cjs.map → chunk-O3MMPMLF.cjs.map} +1 -1
  20. package/dist/{chunk-Z7S7UHLW.cjs → chunk-PUO4FNLE.cjs} +3 -3
  21. package/dist/{chunk-Z7S7UHLW.cjs.map → chunk-PUO4FNLE.cjs.map} +1 -1
  22. package/dist/chunk-QEZZJA2G.js +6 -0
  23. package/dist/{chunk-SMZZ3IKP.js.map → chunk-QEZZJA2G.js.map} +1 -1
  24. package/dist/chunk-SQEAL6BL.js +14 -0
  25. package/dist/{chunk-OM4GXHMV.js.map → chunk-SQEAL6BL.js.map} +1 -1
  26. package/dist/core-6CQRSKZJ.js +11866 -0
  27. package/dist/core-6CQRSKZJ.js.map +1 -0
  28. package/dist/core-AU3VAW4X.cjs +12141 -0
  29. package/dist/core-AU3VAW4X.cjs.map +1 -0
  30. package/dist/default-u_dwuiYb-EC2X54LJ.cjs +9 -0
  31. package/dist/{default-u_dwuiYb-ZN3QN5Z7.cjs.map → default-u_dwuiYb-EC2X54LJ.cjs.map} +1 -1
  32. package/dist/default-u_dwuiYb-LP5TT3QO.js +3 -0
  33. package/dist/{default-u_dwuiYb-4FNEQAC4.js.map → default-u_dwuiYb-LP5TT3QO.js.map} +1 -1
  34. package/dist/docs/SKILL.md +1 -1
  35. package/dist/docs/assets/SOURCE_MAP.json +1 -1
  36. package/dist/effect-QlVUlMFu-AG2UGFDX.cjs +17 -0
  37. package/dist/{effect-QlVUlMFu-7FMSB45N.cjs.map → effect-QlVUlMFu-AG2UGFDX.cjs.map} +1 -1
  38. package/dist/{effect-QlVUlMFu-H6SA273U.js → effect-QlVUlMFu-CMIANNDJ.js} +4 -4
  39. package/dist/{effect-QlVUlMFu-H6SA273U.js.map → effect-QlVUlMFu-CMIANNDJ.js.map} +1 -1
  40. package/dist/{esm-QZXXQQYB.js → esm-O6BGW5O2.js} +298 -45
  41. package/dist/esm-O6BGW5O2.js.map +1 -0
  42. package/dist/{esm-O5U7FUQQ.cjs → esm-XCKJ5Z6I.cjs} +339 -86
  43. package/dist/esm-XCKJ5Z6I.cjs.map +1 -0
  44. package/dist/server/index.cjs +56 -88
  45. package/dist/server/index.cjs.map +1 -1
  46. package/dist/server/index.js +56 -88
  47. package/dist/server/index.js.map +1 -1
  48. package/dist/{sury-CWZTCd75-SAXXZQP6.js → sury-CWZTCd75-3I5DBBFO.js} +4 -4
  49. package/dist/{sury-CWZTCd75-SAXXZQP6.js.map → sury-CWZTCd75-3I5DBBFO.js.map} +1 -1
  50. package/dist/sury-CWZTCd75-KWZ5SP6R.cjs +17 -0
  51. package/dist/{sury-CWZTCd75-TSCANIKB.cjs.map → sury-CWZTCd75-KWZ5SP6R.cjs.map} +1 -1
  52. package/dist/{typebox-Dei93FPO-V6KUC6LS.cjs → typebox-Dei93FPO-PLRBZ6HI.cjs} +3 -3
  53. package/dist/{typebox-Dei93FPO-V6KUC6LS.cjs.map → typebox-Dei93FPO-PLRBZ6HI.cjs.map} +1 -1
  54. package/dist/typebox-Dei93FPO-QYPV4NRU.js +8 -0
  55. package/dist/{typebox-Dei93FPO-Z2PFIK65.js.map → typebox-Dei93FPO-QYPV4NRU.js.map} +1 -1
  56. package/dist/{valibot--1zFm7rT-OWIZ7TCZ.js → valibot--1zFm7rT-C7A7FGJ2.js} +4 -4
  57. package/dist/{valibot--1zFm7rT-OWIZ7TCZ.js.map → valibot--1zFm7rT-C7A7FGJ2.js.map} +1 -1
  58. package/dist/valibot--1zFm7rT-KMUXFXU5.cjs +17 -0
  59. package/dist/{valibot--1zFm7rT-OFSJWS3O.cjs.map → valibot--1zFm7rT-KMUXFXU5.cjs.map} +1 -1
  60. package/dist/{valibot-D_HTw1Gn-FOK7YYT6.js → valibot-D_HTw1Gn-Q6P44V54.js} +5 -5
  61. package/dist/{valibot-D_HTw1Gn-FOK7YYT6.js.map → valibot-D_HTw1Gn-Q6P44V54.js.map} +1 -1
  62. package/dist/{valibot-D_HTw1Gn-CTPUDOX5.cjs → valibot-D_HTw1Gn-U6IRYYPK.cjs} +7 -7
  63. package/dist/{valibot-D_HTw1Gn-CTPUDOX5.cjs.map → valibot-D_HTw1Gn-U6IRYYPK.cjs.map} +1 -1
  64. package/dist/zod-Bwrt9trS-7ZKFPQIW.cjs +31 -0
  65. package/dist/zod-Bwrt9trS-7ZKFPQIW.cjs.map +1 -0
  66. package/dist/{zod-Bwrt9trS-6WLQRJO3.js → zod-Bwrt9trS-KSTCMD4H.js} +6 -6
  67. package/dist/zod-Bwrt9trS-KSTCMD4H.js.map +1 -0
  68. package/dist/{zod-DSgpEGAE-Z7XWMQKD.cjs → zod-DSgpEGAE-AWAPWX2N.cjs} +7 -7
  69. package/dist/{zod-DSgpEGAE-Z7XWMQKD.cjs.map → zod-DSgpEGAE-AWAPWX2N.cjs.map} +1 -1
  70. package/dist/{zod-DSgpEGAE-EQIA3EQN.js → zod-DSgpEGAE-HGCVPPB4.js} +5 -5
  71. package/dist/{zod-DSgpEGAE-EQIA3EQN.js.map → zod-DSgpEGAE-HGCVPPB4.js.map} +1 -1
  72. package/package.json +8 -9
  73. package/dist/arktype-aI7TBD0R-FXOAT7L5.js +0 -8
  74. package/dist/chunk-4MQB32L7.js +0 -3
  75. package/dist/chunk-OM4GXHMV.js +0 -14
  76. package/dist/chunk-PJRU3FAS.cjs +0 -4
  77. package/dist/chunk-SMZZ3IKP.js +0 -6
  78. package/dist/chunk-UDZGL4UX.cjs +0 -16
  79. package/dist/default-u_dwuiYb-4FNEQAC4.js +0 -3
  80. package/dist/default-u_dwuiYb-ZN3QN5Z7.cjs +0 -9
  81. package/dist/effect-QlVUlMFu-7FMSB45N.cjs +0 -17
  82. package/dist/esm-O5U7FUQQ.cjs.map +0 -1
  83. package/dist/esm-QZXXQQYB.js.map +0 -1
  84. package/dist/sury-CWZTCd75-TSCANIKB.cjs +0 -17
  85. package/dist/typebox-Dei93FPO-Z2PFIK65.js +0 -8
  86. package/dist/valibot--1zFm7rT-OFSJWS3O.cjs +0 -17
  87. package/dist/zod-Bwrt9trS-6WLQRJO3.js.map +0 -1
  88. package/dist/zod-Bwrt9trS-OH7I5GXF.cjs +0 -31
  89. package/dist/zod-Bwrt9trS-OH7I5GXF.cjs.map +0 -1
@@ -1,6 +1,4 @@
1
- import { ZodFirstPartyTypeKind } from 'zod/v3';
2
-
3
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/Options.js
1
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Options.js
4
2
  var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
5
3
  var jsonDescription = (jsonSchema, def) => {
6
4
  if (def.description) {
@@ -46,7 +44,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
46
44
  ...options
47
45
  };
48
46
 
49
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/Refs.js
47
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Refs.js
50
48
  var getRefs = (options) => {
51
49
  const _options = getDefaultOptions(options);
52
50
  const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
@@ -67,7 +65,7 @@ var getRefs = (options) => {
67
65
  };
68
66
  };
69
67
 
70
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
68
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
71
69
  function addErrorMessage(res, key, errorMessage, refs) {
72
70
  if (!refs?.errorMessages)
73
71
  return;
@@ -83,7 +81,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
83
81
  addErrorMessage(res, key, errorMessage, refs);
84
82
  }
85
83
 
86
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
84
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
87
85
  var getRelativePath = (pathA, pathB) => {
88
86
  let i = 0;
89
87
  for (; i < pathA.length && i < pathB.length; i++) {
@@ -93,7 +91,260 @@ var getRelativePath = (pathA, pathB) => {
93
91
  return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
94
92
  };
95
93
 
96
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
94
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.js
95
+ var util;
96
+ (function(util2) {
97
+ util2.assertEqual = (_) => {
98
+ };
99
+ function assertIs(_arg) {
100
+ }
101
+ util2.assertIs = assertIs;
102
+ function assertNever(_x) {
103
+ throw new Error();
104
+ }
105
+ util2.assertNever = assertNever;
106
+ util2.arrayToEnum = (items) => {
107
+ const obj = {};
108
+ for (const item of items) {
109
+ obj[item] = item;
110
+ }
111
+ return obj;
112
+ };
113
+ util2.getValidEnumValues = (obj) => {
114
+ const validKeys = util2.objectKeys(obj).filter((k) => typeof obj[obj[k]] !== "number");
115
+ const filtered = {};
116
+ for (const k of validKeys) {
117
+ filtered[k] = obj[k];
118
+ }
119
+ return util2.objectValues(filtered);
120
+ };
121
+ util2.objectValues = (obj) => {
122
+ return util2.objectKeys(obj).map(function(e) {
123
+ return obj[e];
124
+ });
125
+ };
126
+ util2.objectKeys = typeof Object.keys === "function" ? (obj) => Object.keys(obj) : (object) => {
127
+ const keys = [];
128
+ for (const key in object) {
129
+ if (Object.prototype.hasOwnProperty.call(object, key)) {
130
+ keys.push(key);
131
+ }
132
+ }
133
+ return keys;
134
+ };
135
+ util2.find = (arr, checker) => {
136
+ for (const item of arr) {
137
+ if (checker(item))
138
+ return item;
139
+ }
140
+ return void 0;
141
+ };
142
+ util2.isInteger = typeof Number.isInteger === "function" ? (val) => Number.isInteger(val) : (val) => typeof val === "number" && Number.isFinite(val) && Math.floor(val) === val;
143
+ function joinValues(array, separator = " | ") {
144
+ return array.map((val) => typeof val === "string" ? `'${val}'` : val).join(separator);
145
+ }
146
+ util2.joinValues = joinValues;
147
+ util2.jsonStringifyReplacer = (_, value) => {
148
+ if (typeof value === "bigint") {
149
+ return value.toString();
150
+ }
151
+ return value;
152
+ };
153
+ })(util || (util = {}));
154
+ var objectUtil;
155
+ (function(objectUtil2) {
156
+ objectUtil2.mergeShapes = (first, second) => {
157
+ return {
158
+ ...first,
159
+ ...second
160
+ // second overwrites first
161
+ };
162
+ };
163
+ })(objectUtil || (objectUtil = {}));
164
+ util.arrayToEnum([
165
+ "string",
166
+ "nan",
167
+ "number",
168
+ "integer",
169
+ "float",
170
+ "boolean",
171
+ "date",
172
+ "bigint",
173
+ "symbol",
174
+ "function",
175
+ "undefined",
176
+ "null",
177
+ "array",
178
+ "object",
179
+ "unknown",
180
+ "promise",
181
+ "void",
182
+ "never",
183
+ "map",
184
+ "set"
185
+ ]);
186
+
187
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.js
188
+ util.arrayToEnum([
189
+ "invalid_type",
190
+ "invalid_literal",
191
+ "custom",
192
+ "invalid_union",
193
+ "invalid_union_discriminator",
194
+ "invalid_enum_value",
195
+ "unrecognized_keys",
196
+ "invalid_arguments",
197
+ "invalid_return_type",
198
+ "invalid_date",
199
+ "invalid_string",
200
+ "too_small",
201
+ "too_big",
202
+ "invalid_intersection_types",
203
+ "not_multiple_of",
204
+ "not_finite"
205
+ ]);
206
+ var ZodError = class _ZodError extends Error {
207
+ get errors() {
208
+ return this.issues;
209
+ }
210
+ constructor(issues) {
211
+ super();
212
+ this.issues = [];
213
+ this.addIssue = (sub) => {
214
+ this.issues = [...this.issues, sub];
215
+ };
216
+ this.addIssues = (subs = []) => {
217
+ this.issues = [...this.issues, ...subs];
218
+ };
219
+ const actualProto = new.target.prototype;
220
+ if (Object.setPrototypeOf) {
221
+ Object.setPrototypeOf(this, actualProto);
222
+ } else {
223
+ this.__proto__ = actualProto;
224
+ }
225
+ this.name = "ZodError";
226
+ this.issues = issues;
227
+ }
228
+ format(_mapper) {
229
+ const mapper = _mapper || function(issue) {
230
+ return issue.message;
231
+ };
232
+ const fieldErrors = { _errors: [] };
233
+ const processError = (error) => {
234
+ for (const issue of error.issues) {
235
+ if (issue.code === "invalid_union") {
236
+ issue.unionErrors.map(processError);
237
+ } else if (issue.code === "invalid_return_type") {
238
+ processError(issue.returnTypeError);
239
+ } else if (issue.code === "invalid_arguments") {
240
+ processError(issue.argumentsError);
241
+ } else if (issue.path.length === 0) {
242
+ fieldErrors._errors.push(mapper(issue));
243
+ } else {
244
+ let curr = fieldErrors;
245
+ let i = 0;
246
+ while (i < issue.path.length) {
247
+ const el = issue.path[i];
248
+ const terminal = i === issue.path.length - 1;
249
+ if (!terminal) {
250
+ curr[el] = curr[el] || { _errors: [] };
251
+ } else {
252
+ curr[el] = curr[el] || { _errors: [] };
253
+ curr[el]._errors.push(mapper(issue));
254
+ }
255
+ curr = curr[el];
256
+ i++;
257
+ }
258
+ }
259
+ }
260
+ };
261
+ processError(this);
262
+ return fieldErrors;
263
+ }
264
+ static assert(value) {
265
+ if (!(value instanceof _ZodError)) {
266
+ throw new Error(`Not a ZodError: ${value}`);
267
+ }
268
+ }
269
+ toString() {
270
+ return this.message;
271
+ }
272
+ get message() {
273
+ return JSON.stringify(this.issues, util.jsonStringifyReplacer, 2);
274
+ }
275
+ get isEmpty() {
276
+ return this.issues.length === 0;
277
+ }
278
+ flatten(mapper = (issue) => issue.message) {
279
+ const fieldErrors = /* @__PURE__ */ Object.create(null);
280
+ const formErrors = [];
281
+ for (const sub of this.issues) {
282
+ if (sub.path.length > 0) {
283
+ const firstEl = sub.path[0];
284
+ fieldErrors[firstEl] = fieldErrors[firstEl] || [];
285
+ fieldErrors[firstEl].push(mapper(sub));
286
+ } else {
287
+ formErrors.push(mapper(sub));
288
+ }
289
+ }
290
+ return { formErrors, fieldErrors };
291
+ }
292
+ get formErrors() {
293
+ return this.flatten();
294
+ }
295
+ };
296
+ ZodError.create = (issues) => {
297
+ const error = new ZodError(issues);
298
+ return error;
299
+ };
300
+
301
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.js
302
+ var errorUtil;
303
+ (function(errorUtil2) {
304
+ errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
305
+ errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
306
+ })(errorUtil || (errorUtil = {}));
307
+ var ZodFirstPartyTypeKind;
308
+ (function(ZodFirstPartyTypeKind2) {
309
+ ZodFirstPartyTypeKind2["ZodString"] = "ZodString";
310
+ ZodFirstPartyTypeKind2["ZodNumber"] = "ZodNumber";
311
+ ZodFirstPartyTypeKind2["ZodNaN"] = "ZodNaN";
312
+ ZodFirstPartyTypeKind2["ZodBigInt"] = "ZodBigInt";
313
+ ZodFirstPartyTypeKind2["ZodBoolean"] = "ZodBoolean";
314
+ ZodFirstPartyTypeKind2["ZodDate"] = "ZodDate";
315
+ ZodFirstPartyTypeKind2["ZodSymbol"] = "ZodSymbol";
316
+ ZodFirstPartyTypeKind2["ZodUndefined"] = "ZodUndefined";
317
+ ZodFirstPartyTypeKind2["ZodNull"] = "ZodNull";
318
+ ZodFirstPartyTypeKind2["ZodAny"] = "ZodAny";
319
+ ZodFirstPartyTypeKind2["ZodUnknown"] = "ZodUnknown";
320
+ ZodFirstPartyTypeKind2["ZodNever"] = "ZodNever";
321
+ ZodFirstPartyTypeKind2["ZodVoid"] = "ZodVoid";
322
+ ZodFirstPartyTypeKind2["ZodArray"] = "ZodArray";
323
+ ZodFirstPartyTypeKind2["ZodObject"] = "ZodObject";
324
+ ZodFirstPartyTypeKind2["ZodUnion"] = "ZodUnion";
325
+ ZodFirstPartyTypeKind2["ZodDiscriminatedUnion"] = "ZodDiscriminatedUnion";
326
+ ZodFirstPartyTypeKind2["ZodIntersection"] = "ZodIntersection";
327
+ ZodFirstPartyTypeKind2["ZodTuple"] = "ZodTuple";
328
+ ZodFirstPartyTypeKind2["ZodRecord"] = "ZodRecord";
329
+ ZodFirstPartyTypeKind2["ZodMap"] = "ZodMap";
330
+ ZodFirstPartyTypeKind2["ZodSet"] = "ZodSet";
331
+ ZodFirstPartyTypeKind2["ZodFunction"] = "ZodFunction";
332
+ ZodFirstPartyTypeKind2["ZodLazy"] = "ZodLazy";
333
+ ZodFirstPartyTypeKind2["ZodLiteral"] = "ZodLiteral";
334
+ ZodFirstPartyTypeKind2["ZodEnum"] = "ZodEnum";
335
+ ZodFirstPartyTypeKind2["ZodEffects"] = "ZodEffects";
336
+ ZodFirstPartyTypeKind2["ZodNativeEnum"] = "ZodNativeEnum";
337
+ ZodFirstPartyTypeKind2["ZodOptional"] = "ZodOptional";
338
+ ZodFirstPartyTypeKind2["ZodNullable"] = "ZodNullable";
339
+ ZodFirstPartyTypeKind2["ZodDefault"] = "ZodDefault";
340
+ ZodFirstPartyTypeKind2["ZodCatch"] = "ZodCatch";
341
+ ZodFirstPartyTypeKind2["ZodPromise"] = "ZodPromise";
342
+ ZodFirstPartyTypeKind2["ZodBranded"] = "ZodBranded";
343
+ ZodFirstPartyTypeKind2["ZodPipeline"] = "ZodPipeline";
344
+ ZodFirstPartyTypeKind2["ZodReadonly"] = "ZodReadonly";
345
+ })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
346
+
347
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
97
348
  function parseAnyDef(refs) {
98
349
  if (refs.target !== "openAi") {
99
350
  return {};
@@ -108,6 +359,8 @@ function parseAnyDef(refs) {
108
359
  $ref: refs.$refStrategy === "relative" ? getRelativePath(anyDefinitionPath, refs.currentPath) : anyDefinitionPath.join("/")
109
360
  };
110
361
  }
362
+
363
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
111
364
  function parseArrayDef(def, refs) {
112
365
  const res = {
113
366
  type: "array"
@@ -131,7 +384,7 @@ function parseArrayDef(def, refs) {
131
384
  return res;
132
385
  }
133
386
 
134
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
387
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
135
388
  function parseBigintDef(def, refs) {
136
389
  const res = {
137
390
  type: "integer",
@@ -177,24 +430,24 @@ function parseBigintDef(def, refs) {
177
430
  return res;
178
431
  }
179
432
 
180
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
433
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
181
434
  function parseBooleanDef() {
182
435
  return {
183
436
  type: "boolean"
184
437
  };
185
438
  }
186
439
 
187
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
440
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
188
441
  function parseBrandedDef(_def, refs) {
189
442
  return parseDef(_def.type._def, refs);
190
443
  }
191
444
 
192
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
445
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
193
446
  var parseCatchDef = (def, refs) => {
194
447
  return parseDef(def.innerType._def, refs);
195
448
  };
196
449
 
197
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
450
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
198
451
  function parseDateDef(def, refs, overrideDateStrategy) {
199
452
  const strategy = overrideDateStrategy ?? refs.dateStrategy;
200
453
  if (Array.isArray(strategy)) {
@@ -253,7 +506,7 @@ var integerDateParser = (def, refs) => {
253
506
  return res;
254
507
  };
255
508
 
256
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
509
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
257
510
  function parseDefaultDef(_def, refs) {
258
511
  return {
259
512
  ...parseDef(_def.innerType._def, refs),
@@ -261,12 +514,12 @@ function parseDefaultDef(_def, refs) {
261
514
  };
262
515
  }
263
516
 
264
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
517
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
265
518
  function parseEffectsDef(_def, refs) {
266
519
  return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
267
520
  }
268
521
 
269
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
522
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
270
523
  function parseEnumDef(def) {
271
524
  return {
272
525
  type: "string",
@@ -274,7 +527,7 @@ function parseEnumDef(def) {
274
527
  };
275
528
  }
276
529
 
277
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
530
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
278
531
  var isJsonSchema7AllOfType = (type) => {
279
532
  if ("type" in type && type.type === "string")
280
533
  return false;
@@ -316,7 +569,7 @@ function parseIntersectionDef(def, refs) {
316
569
  } : void 0;
317
570
  }
318
571
 
319
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
572
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
320
573
  function parseLiteralDef(def, refs) {
321
574
  const parsedType = typeof def.value;
322
575
  if (parsedType !== "bigint" && parsedType !== "number" && parsedType !== "boolean" && parsedType !== "string") {
@@ -336,8 +589,8 @@ function parseLiteralDef(def, refs) {
336
589
  };
337
590
  }
338
591
 
339
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
340
- var emojiRegex = void 0;
592
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
593
+ var emojiRegex2 = void 0;
341
594
  var zodPatterns = {
342
595
  /**
343
596
  * `c` was changed to `[cC]` to replicate /i flag
@@ -361,10 +614,10 @@ var zodPatterns = {
361
614
  * https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b
362
615
  */
363
616
  emoji: () => {
364
- if (emojiRegex === void 0) {
365
- emojiRegex = RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$", "u");
617
+ if (emojiRegex2 === void 0) {
618
+ emojiRegex2 = RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$", "u");
366
619
  }
367
- return emojiRegex;
620
+ return emojiRegex2;
368
621
  },
369
622
  /**
370
623
  * Unused
@@ -648,7 +901,7 @@ function stringifyRegExpWithFlags(regex, refs) {
648
901
  return pattern;
649
902
  }
650
903
 
651
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
904
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
652
905
  function parseRecordDef(def, refs) {
653
906
  if (refs.target === "openAi") {
654
907
  console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
@@ -700,7 +953,7 @@ function parseRecordDef(def, refs) {
700
953
  return schema;
701
954
  }
702
955
 
703
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
956
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
704
957
  function parseMapDef(def, refs) {
705
958
  if (refs.mapStrategy === "record") {
706
959
  return parseRecordDef(def, refs);
@@ -725,7 +978,7 @@ function parseMapDef(def, refs) {
725
978
  };
726
979
  }
727
980
 
728
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
981
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
729
982
  function parseNativeEnumDef(def) {
730
983
  const object = def.values;
731
984
  const actualKeys = Object.keys(def.values).filter((key) => {
@@ -739,7 +992,7 @@ function parseNativeEnumDef(def) {
739
992
  };
740
993
  }
741
994
 
742
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
995
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
743
996
  function parseNeverDef(refs) {
744
997
  return refs.target === "openAi" ? void 0 : {
745
998
  not: parseAnyDef({
@@ -749,7 +1002,7 @@ function parseNeverDef(refs) {
749
1002
  };
750
1003
  }
751
1004
 
752
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
1005
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
753
1006
  function parseNullDef(refs) {
754
1007
  return refs.target === "openApi3" ? {
755
1008
  enum: ["null"],
@@ -759,7 +1012,7 @@ function parseNullDef(refs) {
759
1012
  };
760
1013
  }
761
1014
 
762
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
1015
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
763
1016
  var primitiveMappings = {
764
1017
  ZodString: "string",
765
1018
  ZodNumber: "number",
@@ -827,7 +1080,7 @@ var asAnyOf = (def, refs) => {
827
1080
  return anyOf.length ? { anyOf } : void 0;
828
1081
  };
829
1082
 
830
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
1083
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
831
1084
  function parseNullableDef(def, refs) {
832
1085
  if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
833
1086
  if (refs.target === "openApi3") {
@@ -859,7 +1112,7 @@ function parseNullableDef(def, refs) {
859
1112
  return base && { anyOf: [base, { type: "null" }] };
860
1113
  }
861
1114
 
862
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
1115
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
863
1116
  function parseNumberDef(def, refs) {
864
1117
  const res = {
865
1118
  type: "number"
@@ -908,7 +1161,7 @@ function parseNumberDef(def, refs) {
908
1161
  return res;
909
1162
  }
910
1163
 
911
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
1164
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
912
1165
  function parseObjectDef(def, refs) {
913
1166
  const forceOptionalIntoNullable = refs.target === "openAi";
914
1167
  const result = {
@@ -978,7 +1231,7 @@ function safeIsOptional(schema) {
978
1231
  }
979
1232
  }
980
1233
 
981
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
1234
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
982
1235
  var parseOptionalDef = (def, refs) => {
983
1236
  if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
984
1237
  return parseDef(def.innerType._def, refs);
@@ -997,7 +1250,7 @@ var parseOptionalDef = (def, refs) => {
997
1250
  } : parseAnyDef(refs);
998
1251
  };
999
1252
 
1000
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
1253
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
1001
1254
  var parsePipelineDef = (def, refs) => {
1002
1255
  if (refs.pipeStrategy === "input") {
1003
1256
  return parseDef(def.in._def, refs);
@@ -1017,12 +1270,12 @@ var parsePipelineDef = (def, refs) => {
1017
1270
  };
1018
1271
  };
1019
1272
 
1020
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
1273
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
1021
1274
  function parsePromiseDef(def, refs) {
1022
1275
  return parseDef(def.type._def, refs);
1023
1276
  }
1024
1277
 
1025
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
1278
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
1026
1279
  function parseSetDef(def, refs) {
1027
1280
  const items = parseDef(def.valueType._def, {
1028
1281
  ...refs,
@@ -1042,7 +1295,7 @@ function parseSetDef(def, refs) {
1042
1295
  return schema;
1043
1296
  }
1044
1297
 
1045
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
1298
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
1046
1299
  function parseTupleDef(def, refs) {
1047
1300
  if (def.rest) {
1048
1301
  return {
@@ -1070,24 +1323,24 @@ function parseTupleDef(def, refs) {
1070
1323
  }
1071
1324
  }
1072
1325
 
1073
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
1326
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
1074
1327
  function parseUndefinedDef(refs) {
1075
1328
  return {
1076
1329
  not: parseAnyDef(refs)
1077
1330
  };
1078
1331
  }
1079
1332
 
1080
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
1333
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
1081
1334
  function parseUnknownDef(refs) {
1082
1335
  return parseAnyDef(refs);
1083
1336
  }
1084
1337
 
1085
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
1338
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
1086
1339
  var parseReadonlyDef = (def, refs) => {
1087
1340
  return parseDef(def.innerType._def, refs);
1088
1341
  };
1089
1342
 
1090
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/selectParser.js
1343
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/selectParser.js
1091
1344
  var selectParser = (def, typeName, refs) => {
1092
1345
  switch (typeName) {
1093
1346
  case ZodFirstPartyTypeKind.ZodString:
@@ -1163,7 +1416,7 @@ var selectParser = (def, typeName, refs) => {
1163
1416
  }
1164
1417
  };
1165
1418
 
1166
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/parseDef.js
1419
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parseDef.js
1167
1420
  function parseDef(def, refs, forceResolution = false) {
1168
1421
  const seenItem = refs.seen.get(def);
1169
1422
  if (refs.override) {
@@ -1219,7 +1472,7 @@ var addMeta = (def, refs, jsonSchema) => {
1219
1472
  return jsonSchema;
1220
1473
  };
1221
1474
 
1222
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
1475
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
1223
1476
  var zodToJsonSchema = (schema, options) => {
1224
1477
  const refs = getRefs(options);
1225
1478
  let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
@@ -1281,9 +1534,9 @@ var zodToJsonSchema = (schema, options) => {
1281
1534
  return combined;
1282
1535
  };
1283
1536
 
1284
- // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.3.6/node_modules/zod-to-json-schema/dist/esm/index.js
1537
+ // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/index.js
1285
1538
  var esm_default = zodToJsonSchema;
1286
1539
 
1287
1540
  export { addErrorMessage, esm_default as default, defaultOptions, getDefaultOptions, getRefs, getRelativePath, ignoreOverride, jsonDescription, parseAnyDef, parseArrayDef, parseBigintDef, parseBooleanDef, parseBrandedDef, parseCatchDef, parseDateDef, parseDef, parseDefaultDef, parseEffectsDef, parseEnumDef, parseIntersectionDef, parseLiteralDef, parseMapDef, parseNativeEnumDef, parseNeverDef, parseNullDef, parseNullableDef, parseNumberDef, parseObjectDef, parseOptionalDef, parsePipelineDef, parsePromiseDef, parseReadonlyDef, parseRecordDef, parseSetDef, parseStringDef, parseTupleDef, parseUndefinedDef, parseUnionDef, parseUnknownDef, primitiveMappings, selectParser, setResponseValueAndErrors, zodPatterns, zodToJsonSchema };
1288
- //# sourceMappingURL=esm-QZXXQQYB.js.map
1289
- //# sourceMappingURL=esm-QZXXQQYB.js.map
1541
+ //# sourceMappingURL=esm-O6BGW5O2.js.map
1542
+ //# sourceMappingURL=esm-O6BGW5O2.js.map