@alook/cli 0.0.35 → 0.0.37

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.
package/dist/index.js CHANGED
@@ -340,7 +340,7 @@ var TERMINAL_MEETING_STATUSES = [
340
340
  var DEV_WEB_URL = process.env.ALOOK_SERVER_URL || "http://localhost:3000";
341
341
  var DEV_WS_DO_URL = process.env.DEV_WS_DO_URL || "http://localhost:8789";
342
342
  var DEV_EMAIL_WORKER_URL = process.env.DEV_EMAIL_WORKER_URL || "http://localhost:8787";
343
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/external.js
343
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
344
344
  var exports_external = {};
345
345
  __export(exports_external, {
346
346
  xor: () => xor,
@@ -442,6 +442,7 @@ __export(exports_external, {
442
442
  iso: () => exports_iso,
443
443
  ipv6: () => ipv62,
444
444
  ipv4: () => ipv42,
445
+ invertCodec: () => invertCodec,
445
446
  intersection: () => intersection,
446
447
  int64: () => int64,
447
448
  int32: () => int32,
@@ -520,6 +521,7 @@ __export(exports_external, {
520
521
  ZodRealError: () => ZodRealError,
521
522
  ZodReadonly: () => ZodReadonly,
522
523
  ZodPromise: () => ZodPromise,
524
+ ZodPreprocess: () => ZodPreprocess,
523
525
  ZodPrefault: () => ZodPrefault,
524
526
  ZodPipe: () => ZodPipe,
525
527
  ZodOptional: () => ZodOptional,
@@ -581,7 +583,7 @@ __export(exports_external, {
581
583
  $brand: () => $brand
582
584
  });
583
585
 
584
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/index.js
586
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/index.js
585
587
  var exports_core2 = {};
586
588
  __export(exports_core2, {
587
589
  version: () => version,
@@ -780,6 +782,7 @@ __export(exports_core2, {
780
782
  $ZodRealError: () => $ZodRealError,
781
783
  $ZodReadonly: () => $ZodReadonly,
782
784
  $ZodPromise: () => $ZodPromise,
785
+ $ZodPreprocess: () => $ZodPreprocess,
783
786
  $ZodPrefault: () => $ZodPrefault,
784
787
  $ZodPipe: () => $ZodPipe,
785
788
  $ZodOptional: () => $ZodOptional,
@@ -859,8 +862,9 @@ __export(exports_core2, {
859
862
  $ZodAny: () => $ZodAny
860
863
  });
861
864
 
862
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.js
863
- var NEVER = Object.freeze({
865
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
866
+ var _a;
867
+ var NEVER = /* @__PURE__ */ Object.freeze({
864
868
  status: "aborted"
865
869
  });
866
870
  function $constructor(name, initializer, params) {
@@ -895,10 +899,10 @@ function $constructor(name, initializer, params) {
895
899
  }
896
900
  Object.defineProperty(Definition, "name", { value: name });
897
901
  function _(def) {
898
- var _a;
902
+ var _a2;
899
903
  const inst = params?.Parent ? new Definition : this;
900
904
  init(inst, def);
901
- (_a = inst._zod).deferred ?? (_a.deferred = []);
905
+ (_a2 = inst._zod).deferred ?? (_a2.deferred = []);
902
906
  for (const fn of inst._zod.deferred) {
903
907
  fn();
904
908
  }
@@ -929,13 +933,14 @@ class $ZodEncodeError extends Error {
929
933
  this.name = "ZodEncodeError";
930
934
  }
931
935
  }
932
- var globalConfig = {};
936
+ (_a = globalThis).__zod_globalConfig ?? (_a.__zod_globalConfig = {});
937
+ var globalConfig = globalThis.__zod_globalConfig;
933
938
  function config(newConfig) {
934
939
  if (newConfig)
935
940
  Object.assign(globalConfig, newConfig);
936
941
  return globalConfig;
937
942
  }
938
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js
943
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
939
944
  var exports_util = {};
940
945
  __export(exports_util, {
941
946
  unwrapMessage: () => unwrapMessage,
@@ -977,6 +982,7 @@ __export(exports_util, {
977
982
  floatSafeRemainder: () => floatSafeRemainder,
978
983
  finalizeIssue: () => finalizeIssue,
979
984
  extend: () => extend,
985
+ explicitlyAborted: () => explicitlyAborted,
980
986
  escapeRegex: () => escapeRegex,
981
987
  esc: () => esc,
982
988
  defineLazy: () => defineLazy,
@@ -1047,21 +1053,14 @@ function cleanRegex(source) {
1047
1053
  return source.slice(start, end);
1048
1054
  }
1049
1055
  function floatSafeRemainder(val, step) {
1050
- const valDecCount = (val.toString().split(".")[1] || "").length;
1051
- const stepString = step.toString();
1052
- let stepDecCount = (stepString.split(".")[1] || "").length;
1053
- if (stepDecCount === 0 && /\d?e-\d?/.test(stepString)) {
1054
- const match = stepString.match(/\d?e-(\d?)/);
1055
- if (match?.[1]) {
1056
- stepDecCount = Number.parseInt(match[1]);
1057
- }
1058
- }
1059
- const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
1060
- const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
1061
- const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
1062
- return valInt % stepInt / 10 ** decCount;
1056
+ const ratio = val / step;
1057
+ const roundedRatio = Math.round(ratio);
1058
+ const tolerance = Number.EPSILON * Math.max(Math.abs(ratio), 1);
1059
+ if (Math.abs(ratio - roundedRatio) < tolerance)
1060
+ return 0;
1061
+ return ratio - roundedRatio;
1063
1062
  }
1064
- var EVALUATING = Symbol("evaluating");
1063
+ var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
1065
1064
  function defineLazy(object, key, getter) {
1066
1065
  let value = undefined;
1067
1066
  Object.defineProperty(object, key, {
@@ -1139,7 +1138,10 @@ var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace :
1139
1138
  function isObject(data) {
1140
1139
  return typeof data === "object" && data !== null && !Array.isArray(data);
1141
1140
  }
1142
- var allowsEval = cached(() => {
1141
+ var allowsEval = /* @__PURE__ */ cached(() => {
1142
+ if (globalConfig.jitless) {
1143
+ return false;
1144
+ }
1143
1145
  if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
1144
1146
  return false;
1145
1147
  }
@@ -1172,6 +1174,10 @@ function shallowClone(o) {
1172
1174
  return { ...o };
1173
1175
  if (Array.isArray(o))
1174
1176
  return [...o];
1177
+ if (o instanceof Map)
1178
+ return new Map(o);
1179
+ if (o instanceof Set)
1180
+ return new Set(o);
1175
1181
  return o;
1176
1182
  }
1177
1183
  function numKeys(data) {
@@ -1227,8 +1233,15 @@ var getParsedType = (data) => {
1227
1233
  throw new Error(`Unknown data type: ${t}`);
1228
1234
  }
1229
1235
  };
1230
- var propertyKeyTypes = new Set(["string", "number", "symbol"]);
1231
- var primitiveTypes = new Set(["string", "number", "bigint", "boolean", "symbol", "undefined"]);
1236
+ var propertyKeyTypes = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
1237
+ var primitiveTypes = /* @__PURE__ */ new Set([
1238
+ "string",
1239
+ "number",
1240
+ "bigint",
1241
+ "boolean",
1242
+ "symbol",
1243
+ "undefined"
1244
+ ]);
1232
1245
  function escapeRegex(str) {
1233
1246
  return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
1234
1247
  }
@@ -1397,6 +1410,9 @@ function safeExtend(schema, shape) {
1397
1410
  return clone(schema, def);
1398
1411
  }
1399
1412
  function merge(a, b) {
1413
+ if (a._zod.def.checks?.length) {
1414
+ throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
1415
+ }
1400
1416
  const def = mergeDefs(a._zod.def, {
1401
1417
  get shape() {
1402
1418
  const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
@@ -1406,7 +1422,7 @@ function merge(a, b) {
1406
1422
  get catchall() {
1407
1423
  return b._zod.def.catchall;
1408
1424
  },
1409
- checks: []
1425
+ checks: b._zod.def.checks ?? []
1410
1426
  });
1411
1427
  return clone(a, def);
1412
1428
  }
@@ -1489,10 +1505,20 @@ function aborted(x, startIndex = 0) {
1489
1505
  }
1490
1506
  return false;
1491
1507
  }
1508
+ function explicitlyAborted(x, startIndex = 0) {
1509
+ if (x.aborted === true)
1510
+ return true;
1511
+ for (let i = startIndex;i < x.issues.length; i++) {
1512
+ if (x.issues[i]?.continue === false) {
1513
+ return true;
1514
+ }
1515
+ }
1516
+ return false;
1517
+ }
1492
1518
  function prefixIssues(path, issues) {
1493
1519
  return issues.map((iss) => {
1494
- var _a;
1495
- (_a = iss).path ?? (_a.path = []);
1520
+ var _a2;
1521
+ (_a2 = iss).path ?? (_a2.path = []);
1496
1522
  iss.path.unshift(path);
1497
1523
  return iss;
1498
1524
  });
@@ -1501,17 +1527,14 @@ function unwrapMessage(message) {
1501
1527
  return typeof message === "string" ? message : message?.message;
1502
1528
  }
1503
1529
  function finalizeIssue(iss, ctx, config2) {
1504
- const full = { ...iss, path: iss.path ?? [] };
1505
- if (!iss.message) {
1506
- const message = unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
1507
- full.message = message;
1508
- }
1509
- delete full.inst;
1510
- delete full.continue;
1511
- if (!ctx?.reportInput) {
1512
- delete full.input;
1530
+ const message = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
1531
+ const { inst: _inst, continue: _continue, input: _input, ...rest } = iss;
1532
+ rest.path ?? (rest.path = []);
1533
+ rest.message = message;
1534
+ if (ctx?.reportInput) {
1535
+ rest.input = _input;
1513
1536
  }
1514
- return full;
1537
+ return rest;
1515
1538
  }
1516
1539
  function getSizableOrigin(input) {
1517
1540
  if (input instanceof Set)
@@ -1609,7 +1632,7 @@ class Class {
1609
1632
  constructor(..._args) {}
1610
1633
  }
1611
1634
 
1612
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js
1635
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
1613
1636
  var initializer = (inst, def) => {
1614
1637
  inst.name = "$ZodError";
1615
1638
  Object.defineProperty(inst, "_zod", {
@@ -1643,30 +1666,33 @@ function flattenError(error, mapper = (issue2) => issue2.message) {
1643
1666
  }
1644
1667
  function formatError(error, mapper = (issue2) => issue2.message) {
1645
1668
  const fieldErrors = { _errors: [] };
1646
- const processError = (error2) => {
1669
+ const processError = (error2, path = []) => {
1647
1670
  for (const issue2 of error2.issues) {
1648
1671
  if (issue2.code === "invalid_union" && issue2.errors.length) {
1649
- issue2.errors.map((issues) => processError({ issues }));
1672
+ issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
1650
1673
  } else if (issue2.code === "invalid_key") {
1651
- processError({ issues: issue2.issues });
1674
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1652
1675
  } else if (issue2.code === "invalid_element") {
1653
- processError({ issues: issue2.issues });
1654
- } else if (issue2.path.length === 0) {
1655
- fieldErrors._errors.push(mapper(issue2));
1676
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1656
1677
  } else {
1657
- let curr = fieldErrors;
1658
- let i = 0;
1659
- while (i < issue2.path.length) {
1660
- const el = issue2.path[i];
1661
- const terminal = i === issue2.path.length - 1;
1662
- if (!terminal) {
1663
- curr[el] = curr[el] || { _errors: [] };
1664
- } else {
1665
- curr[el] = curr[el] || { _errors: [] };
1666
- curr[el]._errors.push(mapper(issue2));
1678
+ const fullpath = [...path, ...issue2.path];
1679
+ if (fullpath.length === 0) {
1680
+ fieldErrors._errors.push(mapper(issue2));
1681
+ } else {
1682
+ let curr = fieldErrors;
1683
+ let i = 0;
1684
+ while (i < fullpath.length) {
1685
+ const el = fullpath[i];
1686
+ const terminal = i === fullpath.length - 1;
1687
+ if (!terminal) {
1688
+ curr[el] = curr[el] || { _errors: [] };
1689
+ } else {
1690
+ curr[el] = curr[el] || { _errors: [] };
1691
+ curr[el]._errors.push(mapper(issue2));
1692
+ }
1693
+ curr = curr[el];
1694
+ i++;
1667
1695
  }
1668
- curr = curr[el];
1669
- i++;
1670
1696
  }
1671
1697
  }
1672
1698
  }
@@ -1677,14 +1703,14 @@ function formatError(error, mapper = (issue2) => issue2.message) {
1677
1703
  function treeifyError(error, mapper = (issue2) => issue2.message) {
1678
1704
  const result = { errors: [] };
1679
1705
  const processError = (error2, path = []) => {
1680
- var _a, _b;
1706
+ var _a2, _b;
1681
1707
  for (const issue2 of error2.issues) {
1682
1708
  if (issue2.code === "invalid_union" && issue2.errors.length) {
1683
- issue2.errors.map((issues) => processError({ issues }, issue2.path));
1709
+ issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
1684
1710
  } else if (issue2.code === "invalid_key") {
1685
- processError({ issues: issue2.issues }, issue2.path);
1711
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1686
1712
  } else if (issue2.code === "invalid_element") {
1687
- processError({ issues: issue2.issues }, issue2.path);
1713
+ processError({ issues: issue2.issues }, [...path, ...issue2.path]);
1688
1714
  } else {
1689
1715
  const fullpath = [...path, ...issue2.path];
1690
1716
  if (fullpath.length === 0) {
@@ -1698,7 +1724,7 @@ function treeifyError(error, mapper = (issue2) => issue2.message) {
1698
1724
  const terminal = i === fullpath.length - 1;
1699
1725
  if (typeof el === "string") {
1700
1726
  curr.properties ?? (curr.properties = {});
1701
- (_a = curr.properties)[el] ?? (_a[el] = { errors: [] });
1727
+ (_a2 = curr.properties)[el] ?? (_a2[el] = { errors: [] });
1702
1728
  curr = curr.properties[el];
1703
1729
  } else {
1704
1730
  curr.items ?? (curr.items = []);
@@ -1746,9 +1772,9 @@ function prettifyError(error) {
1746
1772
  `);
1747
1773
  }
1748
1774
 
1749
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js
1775
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
1750
1776
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
1751
- const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
1777
+ const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
1752
1778
  const result = schema._zod.run({ value, issues: [] }, ctx);
1753
1779
  if (result instanceof Promise) {
1754
1780
  throw new $ZodAsyncError;
@@ -1762,7 +1788,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
1762
1788
  };
1763
1789
  var parse = /* @__PURE__ */ _parse($ZodRealError);
1764
1790
  var _parseAsync = (_Err) => async (schema, value, _ctx, params) => {
1765
- const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
1791
+ const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
1766
1792
  let result = schema._zod.run({ value, issues: [] }, ctx);
1767
1793
  if (result instanceof Promise)
1768
1794
  result = await result;
@@ -1787,7 +1813,7 @@ var _safeParse = (_Err) => (schema, value, _ctx) => {
1787
1813
  };
1788
1814
  var safeParse = /* @__PURE__ */ _safeParse($ZodRealError);
1789
1815
  var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
1790
- const ctx = _ctx ? Object.assign(_ctx, { async: true }) : { async: true };
1816
+ const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
1791
1817
  let result = schema._zod.run({ value, issues: [] }, ctx);
1792
1818
  if (result instanceof Promise)
1793
1819
  result = await result;
@@ -1798,7 +1824,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
1798
1824
  };
1799
1825
  var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
1800
1826
  var _encode = (_Err) => (schema, value, _ctx) => {
1801
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1827
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1802
1828
  return _parse(_Err)(schema, value, ctx);
1803
1829
  };
1804
1830
  var encode = /* @__PURE__ */ _encode($ZodRealError);
@@ -1807,7 +1833,7 @@ var _decode = (_Err) => (schema, value, _ctx) => {
1807
1833
  };
1808
1834
  var decode = /* @__PURE__ */ _decode($ZodRealError);
1809
1835
  var _encodeAsync = (_Err) => async (schema, value, _ctx) => {
1810
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1836
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1811
1837
  return _parseAsync(_Err)(schema, value, ctx);
1812
1838
  };
1813
1839
  var encodeAsync = /* @__PURE__ */ _encodeAsync($ZodRealError);
@@ -1816,7 +1842,7 @@ var _decodeAsync = (_Err) => async (schema, value, _ctx) => {
1816
1842
  };
1817
1843
  var decodeAsync = /* @__PURE__ */ _decodeAsync($ZodRealError);
1818
1844
  var _safeEncode = (_Err) => (schema, value, _ctx) => {
1819
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1845
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1820
1846
  return _safeParse(_Err)(schema, value, ctx);
1821
1847
  };
1822
1848
  var safeEncode = /* @__PURE__ */ _safeEncode($ZodRealError);
@@ -1825,7 +1851,7 @@ var _safeDecode = (_Err) => (schema, value, _ctx) => {
1825
1851
  };
1826
1852
  var safeDecode = /* @__PURE__ */ _safeDecode($ZodRealError);
1827
1853
  var _safeEncodeAsync = (_Err) => async (schema, value, _ctx) => {
1828
- const ctx = _ctx ? Object.assign(_ctx, { direction: "backward" }) : { direction: "backward" };
1854
+ const ctx = _ctx ? { ..._ctx, direction: "backward" } : { direction: "backward" };
1829
1855
  return _safeParseAsync(_Err)(schema, value, ctx);
1830
1856
  };
1831
1857
  var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync($ZodRealError);
@@ -1833,7 +1859,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
1833
1859
  return _safeParseAsync(_Err)(schema, value, _ctx);
1834
1860
  };
1835
1861
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
1836
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/regexes.js
1862
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
1837
1863
  var exports_regexes = {};
1838
1864
  __export(exports_regexes, {
1839
1865
  xid: () => xid,
@@ -1873,6 +1899,7 @@ __export(exports_regexes, {
1873
1899
  ipv4: () => ipv4,
1874
1900
  integer: () => integer,
1875
1901
  idnEmail: () => idnEmail,
1902
+ httpProtocol: () => httpProtocol,
1876
1903
  html5Email: () => html5Email,
1877
1904
  hostname: () => hostname2,
1878
1905
  hex: () => hex,
@@ -1895,7 +1922,7 @@ __export(exports_regexes, {
1895
1922
  base64url: () => base64url,
1896
1923
  base64: () => base64
1897
1924
  });
1898
- var cuid = /^[cC][^\s-]{8,}$/;
1925
+ var cuid = /^[cC][0-9a-z]{6,}$/;
1899
1926
  var cuid2 = /^[0-9a-z]+$/;
1900
1927
  var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
1901
1928
  var xid = /^[0-9a-vA-V]{20}$/;
@@ -1934,6 +1961,7 @@ var base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/
1934
1961
  var base64url = /^[A-Za-z0-9_-]*$/;
1935
1962
  var hostname2 = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
1936
1963
  var domain = /^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/;
1964
+ var httpProtocol = /^https?$/;
1937
1965
  var e164 = /^\+[1-9]\d{6,14}$/;
1938
1966
  var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
1939
1967
  var date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
@@ -1990,12 +2018,12 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
1990
2018
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
1991
2019
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
1992
2020
 
1993
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js
2021
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
1994
2022
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
1995
- var _a;
2023
+ var _a2;
1996
2024
  inst._zod ?? (inst._zod = {});
1997
2025
  inst._zod.def = def;
1998
- (_a = inst._zod).onattach ?? (_a.onattach = []);
2026
+ (_a2 = inst._zod).onattach ?? (_a2.onattach = []);
1999
2027
  });
2000
2028
  var numericOriginMap = {
2001
2029
  number: "number",
@@ -2061,8 +2089,8 @@ var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan",
2061
2089
  var $ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
2062
2090
  $ZodCheck.init(inst, def);
2063
2091
  inst._zod.onattach.push((inst2) => {
2064
- var _a;
2065
- (_a = inst2._zod.bag).multipleOf ?? (_a.multipleOf = def.value);
2092
+ var _a2;
2093
+ (_a2 = inst2._zod.bag).multipleOf ?? (_a2.multipleOf = def.value);
2066
2094
  });
2067
2095
  inst._zod.check = (payload) => {
2068
2096
  if (typeof payload.value !== typeof def.value)
@@ -2195,9 +2223,9 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
2195
2223
  };
2196
2224
  });
2197
2225
  var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, def) => {
2198
- var _a;
2226
+ var _a2;
2199
2227
  $ZodCheck.init(inst, def);
2200
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
2228
+ (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2201
2229
  const val = payload.value;
2202
2230
  return !nullish(val) && val.size !== undefined;
2203
2231
  });
@@ -2223,9 +2251,9 @@ var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, d
2223
2251
  };
2224
2252
  });
2225
2253
  var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, def) => {
2226
- var _a;
2254
+ var _a2;
2227
2255
  $ZodCheck.init(inst, def);
2228
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
2256
+ (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2229
2257
  const val = payload.value;
2230
2258
  return !nullish(val) && val.size !== undefined;
2231
2259
  });
@@ -2251,9 +2279,9 @@ var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, d
2251
2279
  };
2252
2280
  });
2253
2281
  var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (inst, def) => {
2254
- var _a;
2282
+ var _a2;
2255
2283
  $ZodCheck.init(inst, def);
2256
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
2284
+ (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2257
2285
  const val = payload.value;
2258
2286
  return !nullish(val) && val.size !== undefined;
2259
2287
  });
@@ -2281,9 +2309,9 @@ var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (i
2281
2309
  };
2282
2310
  });
2283
2311
  var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
2284
- var _a;
2312
+ var _a2;
2285
2313
  $ZodCheck.init(inst, def);
2286
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
2314
+ (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2287
2315
  const val = payload.value;
2288
2316
  return !nullish(val) && val.length !== undefined;
2289
2317
  });
@@ -2310,9 +2338,9 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
2310
2338
  };
2311
2339
  });
2312
2340
  var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
2313
- var _a;
2341
+ var _a2;
2314
2342
  $ZodCheck.init(inst, def);
2315
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
2343
+ (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2316
2344
  const val = payload.value;
2317
2345
  return !nullish(val) && val.length !== undefined;
2318
2346
  });
@@ -2339,9 +2367,9 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
2339
2367
  };
2340
2368
  });
2341
2369
  var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
2342
- var _a;
2370
+ var _a2;
2343
2371
  $ZodCheck.init(inst, def);
2344
- (_a = inst._zod.def).when ?? (_a.when = (payload) => {
2372
+ (_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
2345
2373
  const val = payload.value;
2346
2374
  return !nullish(val) && val.length !== undefined;
2347
2375
  });
@@ -2370,7 +2398,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
2370
2398
  };
2371
2399
  });
2372
2400
  var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
2373
- var _a, _b;
2401
+ var _a2, _b;
2374
2402
  $ZodCheck.init(inst, def);
2375
2403
  inst._zod.onattach.push((inst2) => {
2376
2404
  const bag = inst2._zod.bag;
@@ -2381,7 +2409,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
2381
2409
  }
2382
2410
  });
2383
2411
  if (def.pattern)
2384
- (_a = inst._zod).check ?? (_a.check = (payload) => {
2412
+ (_a2 = inst._zod).check ?? (_a2.check = (payload) => {
2385
2413
  def.pattern.lastIndex = 0;
2386
2414
  if (def.pattern.test(payload.value))
2387
2415
  return;
@@ -2537,7 +2565,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
2537
2565
  };
2538
2566
  });
2539
2567
 
2540
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.js
2568
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
2541
2569
  class Doc {
2542
2570
  constructor(args = []) {
2543
2571
  this.content = [];
@@ -2575,16 +2603,16 @@ class Doc {
2575
2603
  }
2576
2604
  }
2577
2605
 
2578
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js
2606
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
2579
2607
  var version = {
2580
2608
  major: 4,
2581
- minor: 3,
2582
- patch: 6
2609
+ minor: 4,
2610
+ patch: 3
2583
2611
  };
2584
2612
 
2585
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js
2613
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
2586
2614
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2587
- var _a;
2615
+ var _a2;
2588
2616
  inst ?? (inst = {});
2589
2617
  inst._zod.def = def;
2590
2618
  inst._zod.bag = inst._zod.bag || {};
@@ -2599,7 +2627,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2599
2627
  }
2600
2628
  }
2601
2629
  if (checks.length === 0) {
2602
- (_a = inst._zod).deferred ?? (_a.deferred = []);
2630
+ (_a2 = inst._zod).deferred ?? (_a2.deferred = []);
2603
2631
  inst._zod.deferred?.push(() => {
2604
2632
  inst._zod.run = inst._zod.parse;
2605
2633
  });
@@ -2609,6 +2637,8 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
2609
2637
  let asyncResult;
2610
2638
  for (const ch of checks2) {
2611
2639
  if (ch._zod.def.when) {
2640
+ if (explicitlyAborted(payload))
2641
+ continue;
2612
2642
  const shouldRun = ch._zod.def.when(payload);
2613
2643
  if (!shouldRun)
2614
2644
  continue;
@@ -2748,6 +2778,19 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
2748
2778
  inst._zod.check = (payload) => {
2749
2779
  try {
2750
2780
  const trimmed = payload.value.trim();
2781
+ if (!def.normalize && def.protocol?.source === httpProtocol.source) {
2782
+ if (!/^https?:\/\//i.test(trimmed)) {
2783
+ payload.issues.push({
2784
+ code: "invalid_format",
2785
+ format: "url",
2786
+ note: "Invalid URL format",
2787
+ input: payload.value,
2788
+ inst,
2789
+ continue: !def.abort
2790
+ });
2791
+ return;
2792
+ }
2793
+ }
2751
2794
  const url = new URL(trimmed);
2752
2795
  if (def.hostname) {
2753
2796
  def.hostname.lastIndex = 0;
@@ -2901,6 +2944,8 @@ var $ZodCIDRv6 = /* @__PURE__ */ $constructor("$ZodCIDRv6", (inst, def) => {
2901
2944
  function isValidBase64(data) {
2902
2945
  if (data === "")
2903
2946
  return true;
2947
+ if (/\s/.test(data))
2948
+ return false;
2904
2949
  if (data.length % 4 !== 0)
2905
2950
  return false;
2906
2951
  try {
@@ -3090,8 +3135,6 @@ var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) =>
3090
3135
  $ZodType.init(inst, def);
3091
3136
  inst._zod.pattern = _undefined;
3092
3137
  inst._zod.values = new Set([undefined]);
3093
- inst._zod.optin = "optional";
3094
- inst._zod.optout = "optional";
3095
3138
  inst._zod.parse = (payload, _ctx) => {
3096
3139
  const input = payload.value;
3097
3140
  if (typeof input === "undefined")
@@ -3219,15 +3262,27 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
3219
3262
  return payload;
3220
3263
  };
3221
3264
  });
3222
- function handlePropertyResult(result, final, key, input, isOptionalOut) {
3265
+ function handlePropertyResult(result, final, key, input, isOptionalIn, isOptionalOut) {
3266
+ const isPresent = key in input;
3223
3267
  if (result.issues.length) {
3224
- if (isOptionalOut && !(key in input)) {
3268
+ if (isOptionalIn && isOptionalOut && !isPresent) {
3225
3269
  return;
3226
3270
  }
3227
3271
  final.issues.push(...prefixIssues(key, result.issues));
3228
3272
  }
3273
+ if (!isPresent && !isOptionalIn) {
3274
+ if (!result.issues.length) {
3275
+ final.issues.push({
3276
+ code: "invalid_type",
3277
+ expected: "nonoptional",
3278
+ input: undefined,
3279
+ path: [key]
3280
+ });
3281
+ }
3282
+ return;
3283
+ }
3229
3284
  if (result.value === undefined) {
3230
- if (key in input) {
3285
+ if (isPresent) {
3231
3286
  final.value[key] = undefined;
3232
3287
  }
3233
3288
  } else {
@@ -3255,8 +3310,11 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
3255
3310
  const keySet = def.keySet;
3256
3311
  const _catchall = def.catchall._zod;
3257
3312
  const t = _catchall.def.type;
3313
+ const isOptionalIn = _catchall.optin === "optional";
3258
3314
  const isOptionalOut = _catchall.optout === "optional";
3259
3315
  for (const key in input) {
3316
+ if (key === "__proto__")
3317
+ continue;
3260
3318
  if (keySet.has(key))
3261
3319
  continue;
3262
3320
  if (t === "never") {
@@ -3265,9 +3323,9 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
3265
3323
  }
3266
3324
  const r = _catchall.run({ value: input[key], issues: [] }, ctx);
3267
3325
  if (r instanceof Promise) {
3268
- proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
3326
+ proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
3269
3327
  } else {
3270
- handlePropertyResult(r, payload, key, input, isOptionalOut);
3328
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
3271
3329
  }
3272
3330
  }
3273
3331
  if (unrecognized.length) {
@@ -3333,12 +3391,13 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
3333
3391
  const shape = value.shape;
3334
3392
  for (const key of value.keys) {
3335
3393
  const el = shape[key];
3394
+ const isOptionalIn = el._zod.optin === "optional";
3336
3395
  const isOptionalOut = el._zod.optout === "optional";
3337
3396
  const r = el._zod.run({ value: input[key], issues: [] }, ctx);
3338
3397
  if (r instanceof Promise) {
3339
- proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
3398
+ proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalIn, isOptionalOut)));
3340
3399
  } else {
3341
- handlePropertyResult(r, payload, key, input, isOptionalOut);
3400
+ handlePropertyResult(r, payload, key, input, isOptionalIn, isOptionalOut);
3342
3401
  }
3343
3402
  }
3344
3403
  if (!catchall) {
@@ -3369,9 +3428,10 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
3369
3428
  const id = ids[key];
3370
3429
  const k = esc(key);
3371
3430
  const schema = shape[key];
3431
+ const isOptionalIn = schema?._zod?.optin === "optional";
3372
3432
  const isOptionalOut = schema?._zod?.optout === "optional";
3373
3433
  doc.write(`const ${id} = ${parseStr(key)};`);
3374
- if (isOptionalOut) {
3434
+ if (isOptionalIn && isOptionalOut) {
3375
3435
  doc.write(`
3376
3436
  if (${id}.issues.length) {
3377
3437
  if (${k} in input) {
@@ -3390,6 +3450,33 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
3390
3450
  newResult[${k}] = ${id}.value;
3391
3451
  }
3392
3452
 
3453
+ `);
3454
+ } else if (!isOptionalIn) {
3455
+ doc.write(`
3456
+ const ${id}_present = ${k} in input;
3457
+ if (${id}.issues.length) {
3458
+ payload.issues = payload.issues.concat(${id}.issues.map(iss => ({
3459
+ ...iss,
3460
+ path: iss.path ? [${k}, ...iss.path] : [${k}]
3461
+ })));
3462
+ }
3463
+ if (!${id}_present && !${id}.issues.length) {
3464
+ payload.issues.push({
3465
+ code: "invalid_type",
3466
+ expected: "nonoptional",
3467
+ input: undefined,
3468
+ path: [${k}]
3469
+ });
3470
+ }
3471
+
3472
+ if (${id}_present) {
3473
+ if (${id}.value === undefined) {
3474
+ newResult[${k}] = undefined;
3475
+ } else {
3476
+ newResult[${k}] = ${id}.value;
3477
+ }
3478
+ }
3479
+
3393
3480
  `);
3394
3481
  } else {
3395
3482
  doc.write(`
@@ -3483,10 +3570,9 @@ var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
3483
3570
  }
3484
3571
  return;
3485
3572
  });
3486
- const single = def.options.length === 1;
3487
- const first = def.options[0]._zod.run;
3573
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
3488
3574
  inst._zod.parse = (payload, ctx) => {
3489
- if (single) {
3575
+ if (first) {
3490
3576
  return first(payload, ctx);
3491
3577
  }
3492
3578
  let async = false;
@@ -3539,10 +3625,9 @@ function handleExclusiveUnionResults(results, final, inst, ctx) {
3539
3625
  var $ZodXor = /* @__PURE__ */ $constructor("$ZodXor", (inst, def) => {
3540
3626
  $ZodUnion.init(inst, def);
3541
3627
  def.inclusive = false;
3542
- const single = def.options.length === 1;
3543
- const first = def.options[0]._zod.run;
3628
+ const first = def.options.length === 1 ? def.options[0]._zod.run : null;
3544
3629
  inst._zod.parse = (payload, ctx) => {
3545
- if (single) {
3630
+ if (first) {
3546
3631
  return first(payload, ctx);
3547
3632
  }
3548
3633
  let async = false;
@@ -3617,7 +3702,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
3617
3702
  if (opt) {
3618
3703
  return opt._zod.run(payload, ctx);
3619
3704
  }
3620
- if (def.unionFallback) {
3705
+ if (def.unionFallback || ctx.direction === "backward") {
3621
3706
  return _super(payload, ctx);
3622
3707
  }
3623
3708
  payload.issues.push({
@@ -3625,6 +3710,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
3625
3710
  errors: [],
3626
3711
  note: "No matching discriminator",
3627
3712
  discriminator: def.discriminator,
3713
+ options: Array.from(disc.value.keys()),
3628
3714
  input,
3629
3715
  path: [def.discriminator],
3630
3716
  inst
@@ -3746,64 +3832,96 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
3746
3832
  }
3747
3833
  payload.value = [];
3748
3834
  const proms = [];
3749
- const reversedIndex = [...items].reverse().findIndex((item) => item._zod.optin !== "optional");
3750
- const optStart = reversedIndex === -1 ? 0 : items.length - reversedIndex;
3835
+ const optinStart = getTupleOptStart(items, "optin");
3836
+ const optoutStart = getTupleOptStart(items, "optout");
3751
3837
  if (!def.rest) {
3752
- const tooBig = input.length > items.length;
3753
- const tooSmall = input.length < optStart - 1;
3754
- if (tooBig || tooSmall) {
3838
+ if (input.length < optinStart) {
3755
3839
  payload.issues.push({
3756
- ...tooBig ? { code: "too_big", maximum: items.length, inclusive: true } : { code: "too_small", minimum: items.length },
3840
+ code: "too_small",
3841
+ minimum: optinStart,
3842
+ inclusive: true,
3757
3843
  input,
3758
3844
  inst,
3759
3845
  origin: "array"
3760
3846
  });
3761
3847
  return payload;
3762
3848
  }
3763
- }
3764
- let i = -1;
3765
- for (const item of items) {
3766
- i++;
3767
- if (i >= input.length) {
3768
- if (i >= optStart)
3769
- continue;
3849
+ if (input.length > items.length) {
3850
+ payload.issues.push({
3851
+ code: "too_big",
3852
+ maximum: items.length,
3853
+ inclusive: true,
3854
+ input,
3855
+ inst,
3856
+ origin: "array"
3857
+ });
3770
3858
  }
3771
- const result = item._zod.run({
3772
- value: input[i],
3773
- issues: []
3774
- }, ctx);
3775
- if (result instanceof Promise) {
3776
- proms.push(result.then((result2) => handleTupleResult(result2, payload, i)));
3859
+ }
3860
+ const itemResults = new Array(items.length);
3861
+ for (let i = 0;i < items.length; i++) {
3862
+ const r = items[i]._zod.run({ value: input[i], issues: [] }, ctx);
3863
+ if (r instanceof Promise) {
3864
+ proms.push(r.then((rr) => {
3865
+ itemResults[i] = rr;
3866
+ }));
3777
3867
  } else {
3778
- handleTupleResult(result, payload, i);
3868
+ itemResults[i] = r;
3779
3869
  }
3780
3870
  }
3781
3871
  if (def.rest) {
3872
+ let i = items.length - 1;
3782
3873
  const rest = input.slice(items.length);
3783
3874
  for (const el of rest) {
3784
3875
  i++;
3785
- const result = def.rest._zod.run({
3786
- value: el,
3787
- issues: []
3788
- }, ctx);
3876
+ const result = def.rest._zod.run({ value: el, issues: [] }, ctx);
3789
3877
  if (result instanceof Promise) {
3790
- proms.push(result.then((result2) => handleTupleResult(result2, payload, i)));
3878
+ proms.push(result.then((r) => handleTupleResult(r, payload, i)));
3791
3879
  } else {
3792
3880
  handleTupleResult(result, payload, i);
3793
3881
  }
3794
3882
  }
3795
3883
  }
3796
- if (proms.length)
3797
- return Promise.all(proms).then(() => payload);
3798
- return payload;
3884
+ if (proms.length) {
3885
+ return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input, optoutStart));
3886
+ }
3887
+ return handleTupleResults(itemResults, payload, items, input, optoutStart);
3799
3888
  };
3800
3889
  });
3890
+ function getTupleOptStart(items, key) {
3891
+ for (let i = items.length - 1;i >= 0; i--) {
3892
+ if (items[i]._zod[key] !== "optional")
3893
+ return i + 1;
3894
+ }
3895
+ return 0;
3896
+ }
3801
3897
  function handleTupleResult(result, final, index) {
3802
3898
  if (result.issues.length) {
3803
3899
  final.issues.push(...prefixIssues(index, result.issues));
3804
3900
  }
3805
3901
  final.value[index] = result.value;
3806
3902
  }
3903
+ function handleTupleResults(itemResults, final, items, input, optoutStart) {
3904
+ for (let i = 0;i < items.length; i++) {
3905
+ const r = itemResults[i];
3906
+ const isPresent = i < input.length;
3907
+ if (r.issues.length) {
3908
+ if (!isPresent && i >= optoutStart) {
3909
+ final.value.length = i;
3910
+ break;
3911
+ }
3912
+ final.issues.push(...prefixIssues(i, r.issues));
3913
+ }
3914
+ final.value[i] = r.value;
3915
+ }
3916
+ for (let i = final.value.length - 1;i >= input.length; i--) {
3917
+ if (items[i]._zod.optout === "optional" && final.value[i] === undefined) {
3918
+ final.value.length = i;
3919
+ } else {
3920
+ break;
3921
+ }
3922
+ }
3923
+ return final;
3924
+ }
3807
3925
  var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
3808
3926
  $ZodType.init(inst, def);
3809
3927
  inst._zod.parse = (payload, ctx) => {
@@ -3825,19 +3943,35 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
3825
3943
  for (const key of values) {
3826
3944
  if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
3827
3945
  recordKeys.add(typeof key === "number" ? key.toString() : key);
3946
+ const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
3947
+ if (keyResult instanceof Promise) {
3948
+ throw new Error("Async schemas not supported in object keys currently");
3949
+ }
3950
+ if (keyResult.issues.length) {
3951
+ payload.issues.push({
3952
+ code: "invalid_key",
3953
+ origin: "record",
3954
+ issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
3955
+ input: key,
3956
+ path: [key],
3957
+ inst
3958
+ });
3959
+ continue;
3960
+ }
3961
+ const outKey = keyResult.value;
3828
3962
  const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
3829
3963
  if (result instanceof Promise) {
3830
3964
  proms.push(result.then((result2) => {
3831
3965
  if (result2.issues.length) {
3832
3966
  payload.issues.push(...prefixIssues(key, result2.issues));
3833
3967
  }
3834
- payload.value[key] = result2.value;
3968
+ payload.value[outKey] = result2.value;
3835
3969
  }));
3836
3970
  } else {
3837
3971
  if (result.issues.length) {
3838
3972
  payload.issues.push(...prefixIssues(key, result.issues));
3839
3973
  }
3840
- payload.value[key] = result.value;
3974
+ payload.value[outKey] = result.value;
3841
3975
  }
3842
3976
  }
3843
3977
  }
@@ -3861,6 +3995,8 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
3861
3995
  for (const key of Reflect.ownKeys(input)) {
3862
3996
  if (key === "__proto__")
3863
3997
  continue;
3998
+ if (!Object.prototype.propertyIsEnumerable.call(input, key))
3999
+ continue;
3864
4000
  let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
3865
4001
  if (keyResult instanceof Promise) {
3866
4002
  throw new Error("Async schemas not supported in object keys currently");
@@ -4065,6 +4201,7 @@ var $ZodFile = /* @__PURE__ */ $constructor("$ZodFile", (inst, def) => {
4065
4201
  });
4066
4202
  var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
4067
4203
  $ZodType.init(inst, def);
4204
+ inst._zod.optin = "optional";
4068
4205
  inst._zod.parse = (payload, ctx) => {
4069
4206
  if (ctx.direction === "backward") {
4070
4207
  throw new $ZodEncodeError(inst.constructor.name);
@@ -4074,6 +4211,7 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
4074
4211
  const output = _out instanceof Promise ? _out : Promise.resolve(_out);
4075
4212
  return output.then((output2) => {
4076
4213
  payload.value = output2;
4214
+ payload.fallback = true;
4077
4215
  return payload;
4078
4216
  });
4079
4217
  }
@@ -4081,11 +4219,12 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
4081
4219
  throw new $ZodAsyncError;
4082
4220
  }
4083
4221
  payload.value = _out;
4222
+ payload.fallback = true;
4084
4223
  return payload;
4085
4224
  };
4086
4225
  });
4087
4226
  function handleOptionalResult(result, input) {
4088
- if (result.issues.length && input === undefined) {
4227
+ if (input === undefined && (result.issues.length || result.fallback)) {
4089
4228
  return { issues: [], value: undefined };
4090
4229
  }
4091
4230
  return result;
@@ -4103,10 +4242,11 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
4103
4242
  });
4104
4243
  inst._zod.parse = (payload, ctx) => {
4105
4244
  if (def.innerType._zod.optin === "optional") {
4245
+ const input = payload.value;
4106
4246
  const result = def.innerType._zod.run(payload, ctx);
4107
4247
  if (result instanceof Promise)
4108
- return result.then((r) => handleOptionalResult(r, payload.value));
4109
- return handleOptionalResult(result, payload.value);
4248
+ return result.then((r) => handleOptionalResult(r, input));
4249
+ return handleOptionalResult(result, input);
4110
4250
  }
4111
4251
  if (payload.value === undefined) {
4112
4252
  return payload;
@@ -4222,7 +4362,7 @@ var $ZodSuccess = /* @__PURE__ */ $constructor("$ZodSuccess", (inst, def) => {
4222
4362
  });
4223
4363
  var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
4224
4364
  $ZodType.init(inst, def);
4225
- defineLazy(inst._zod, "optin", () => def.innerType._zod.optin);
4365
+ inst._zod.optin = "optional";
4226
4366
  defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
4227
4367
  defineLazy(inst._zod, "values", () => def.innerType._zod.values);
4228
4368
  inst._zod.parse = (payload, ctx) => {
@@ -4242,6 +4382,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
4242
4382
  input: payload.value
4243
4383
  });
4244
4384
  payload.issues = [];
4385
+ payload.fallback = true;
4245
4386
  }
4246
4387
  return payload;
4247
4388
  });
@@ -4256,6 +4397,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
4256
4397
  input: payload.value
4257
4398
  });
4258
4399
  payload.issues = [];
4400
+ payload.fallback = true;
4259
4401
  }
4260
4402
  return payload;
4261
4403
  };
@@ -4301,7 +4443,7 @@ function handlePipeResult(left, next, ctx) {
4301
4443
  left.aborted = true;
4302
4444
  return left;
4303
4445
  }
4304
- return next._zod.run({ value: left.value, issues: left.issues }, ctx);
4446
+ return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
4305
4447
  }
4306
4448
  var $ZodCodec = /* @__PURE__ */ $constructor("$ZodCodec", (inst, def) => {
4307
4449
  $ZodType.init(inst, def);
@@ -4353,6 +4495,9 @@ function handleCodecTxResult(left, value, nextSchema, ctx) {
4353
4495
  }
4354
4496
  return nextSchema._zod.run({ value, issues: left.issues }, ctx);
4355
4497
  }
4498
+ var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
4499
+ $ZodPipe.init(inst, def);
4500
+ });
4356
4501
  var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
4357
4502
  $ZodType.init(inst, def);
4358
4503
  defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
@@ -4504,7 +4649,12 @@ var $ZodPromise = /* @__PURE__ */ $constructor("$ZodPromise", (inst, def) => {
4504
4649
  });
4505
4650
  var $ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
4506
4651
  $ZodType.init(inst, def);
4507
- defineLazy(inst._zod, "innerType", () => def.getter());
4652
+ defineLazy(inst._zod, "innerType", () => {
4653
+ const d = def;
4654
+ if (!d._cachedInner)
4655
+ d._cachedInner = def.getter();
4656
+ return d._cachedInner;
4657
+ });
4508
4658
  defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
4509
4659
  defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
4510
4660
  defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? undefined);
@@ -4544,7 +4694,7 @@ function handleRefineResult(result, payload, input, inst) {
4544
4694
  payload.issues.push(issue(_iss));
4545
4695
  }
4546
4696
  }
4547
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/index.js
4697
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/index.js
4548
4698
  var exports_locales = {};
4549
4699
  __export(exports_locales, {
4550
4700
  zhTW: () => zh_TW_default,
@@ -4561,6 +4711,7 @@ __export(exports_locales, {
4561
4711
  sv: () => sv_default,
4562
4712
  sl: () => sl_default,
4563
4713
  ru: () => ru_default,
4714
+ ro: () => ro_default,
4564
4715
  pt: () => pt_default,
4565
4716
  ps: () => ps_default,
4566
4717
  pl: () => pl_default,
@@ -4580,6 +4731,7 @@ __export(exports_locales, {
4580
4731
  id: () => id_default,
4581
4732
  hy: () => hy_default,
4582
4733
  hu: () => hu_default,
4734
+ hr: () => hr_default,
4583
4735
  he: () => he_default,
4584
4736
  frCA: () => fr_CA_default,
4585
4737
  fr: () => fr_default,
@@ -4588,6 +4740,7 @@ __export(exports_locales, {
4588
4740
  es: () => es_default,
4589
4741
  eo: () => eo_default,
4590
4742
  en: () => en_default,
4743
+ el: () => el_default,
4591
4744
  de: () => de_default,
4592
4745
  da: () => da_default,
4593
4746
  cs: () => cs_default,
@@ -4598,7 +4751,7 @@ __export(exports_locales, {
4598
4751
  ar: () => ar_default
4599
4752
  });
4600
4753
 
4601
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ar.js
4754
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.js
4602
4755
  var error = () => {
4603
4756
  const Sizable = {
4604
4757
  string: { unit: "حرف", verb: "أن يحوي" },
@@ -4704,7 +4857,7 @@ function ar_default() {
4704
4857
  localeError: error()
4705
4858
  };
4706
4859
  }
4707
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/az.js
4860
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.js
4708
4861
  var error2 = () => {
4709
4862
  const Sizable = {
4710
4863
  string: { unit: "simvol", verb: "olmalıdır" },
@@ -4809,7 +4962,7 @@ function az_default() {
4809
4962
  localeError: error2()
4810
4963
  };
4811
4964
  }
4812
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/be.js
4965
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.js
4813
4966
  function getBelarusianPlural(count, one, few, many) {
4814
4967
  const absCount = Math.abs(count);
4815
4968
  const lastDigit = absCount % 10;
@@ -4965,7 +5118,7 @@ function be_default() {
4965
5118
  localeError: error3()
4966
5119
  };
4967
5120
  }
4968
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/bg.js
5121
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.js
4969
5122
  var error4 = () => {
4970
5123
  const Sizable = {
4971
5124
  string: { unit: "символа", verb: "да съдържа" },
@@ -5085,7 +5238,7 @@ function bg_default() {
5085
5238
  localeError: error4()
5086
5239
  };
5087
5240
  }
5088
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ca.js
5241
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.js
5089
5242
  var error5 = () => {
5090
5243
  const Sizable = {
5091
5244
  string: { unit: "caràcters", verb: "contenir" },
@@ -5192,7 +5345,7 @@ function ca_default() {
5192
5345
  localeError: error5()
5193
5346
  };
5194
5347
  }
5195
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/cs.js
5348
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.js
5196
5349
  var error6 = () => {
5197
5350
  const Sizable = {
5198
5351
  string: { unit: "znaků", verb: "mít" },
@@ -5303,7 +5456,7 @@ function cs_default() {
5303
5456
  localeError: error6()
5304
5457
  };
5305
5458
  }
5306
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/da.js
5459
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.js
5307
5460
  var error7 = () => {
5308
5461
  const Sizable = {
5309
5462
  string: { unit: "tegn", verb: "havde" },
@@ -5418,7 +5571,7 @@ function da_default() {
5418
5571
  localeError: error7()
5419
5572
  };
5420
5573
  }
5421
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/de.js
5574
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.js
5422
5575
  var error8 = () => {
5423
5576
  const Sizable = {
5424
5577
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -5526,8 +5679,117 @@ function de_default() {
5526
5679
  localeError: error8()
5527
5680
  };
5528
5681
  }
5529
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/en.js
5682
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.js
5530
5683
  var error9 = () => {
5684
+ const Sizable = {
5685
+ string: { unit: "χαρακτήρες", verb: "να έχει" },
5686
+ file: { unit: "bytes", verb: "να έχει" },
5687
+ array: { unit: "στοιχεία", verb: "να έχει" },
5688
+ set: { unit: "στοιχεία", verb: "να έχει" },
5689
+ map: { unit: "καταχωρήσεις", verb: "να έχει" }
5690
+ };
5691
+ function getSizing(origin) {
5692
+ return Sizable[origin] ?? null;
5693
+ }
5694
+ const FormatDictionary = {
5695
+ regex: "είσοδος",
5696
+ email: "διεύθυνση email",
5697
+ url: "URL",
5698
+ emoji: "emoji",
5699
+ uuid: "UUID",
5700
+ uuidv4: "UUIDv4",
5701
+ uuidv6: "UUIDv6",
5702
+ nanoid: "nanoid",
5703
+ guid: "GUID",
5704
+ cuid: "cuid",
5705
+ cuid2: "cuid2",
5706
+ ulid: "ULID",
5707
+ xid: "XID",
5708
+ ksuid: "KSUID",
5709
+ datetime: "ISO ημερομηνία και ώρα",
5710
+ date: "ISO ημερομηνία",
5711
+ time: "ISO ώρα",
5712
+ duration: "ISO διάρκεια",
5713
+ ipv4: "διεύθυνση IPv4",
5714
+ ipv6: "διεύθυνση IPv6",
5715
+ mac: "διεύθυνση MAC",
5716
+ cidrv4: "εύρος IPv4",
5717
+ cidrv6: "εύρος IPv6",
5718
+ base64: "συμβολοσειρά κωδικοποιημένη σε base64",
5719
+ base64url: "συμβολοσειρά κωδικοποιημένη σε base64url",
5720
+ json_string: "συμβολοσειρά JSON",
5721
+ e164: "αριθμός E.164",
5722
+ jwt: "JWT",
5723
+ template_literal: "είσοδος"
5724
+ };
5725
+ const TypeDictionary = {
5726
+ nan: "NaN"
5727
+ };
5728
+ return (issue2) => {
5729
+ switch (issue2.code) {
5730
+ case "invalid_type": {
5731
+ const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
5732
+ const receivedType = parsedType(issue2.input);
5733
+ const received = TypeDictionary[receivedType] ?? receivedType;
5734
+ if (typeof issue2.expected === "string" && /^[A-Z]/.test(issue2.expected)) {
5735
+ return `Μη έγκυρη είσοδος: αναμενόταν instanceof ${issue2.expected}, λήφθηκε ${received}`;
5736
+ }
5737
+ return `Μη έγκυρη είσοδος: αναμενόταν ${expected}, λήφθηκε ${received}`;
5738
+ }
5739
+ case "invalid_value":
5740
+ if (issue2.values.length === 1)
5741
+ return `Μη έγκυρη είσοδος: αναμενόταν ${stringifyPrimitive(issue2.values[0])}`;
5742
+ return `Μη έγκυρη επιλογή: αναμενόταν ένα από ${joinValues(issue2.values, "|")}`;
5743
+ case "too_big": {
5744
+ const adj = issue2.inclusive ? "<=" : "<";
5745
+ const sizing = getSizing(issue2.origin);
5746
+ if (sizing)
5747
+ return `Πολύ μεγάλο: αναμενόταν ${issue2.origin ?? "τιμή"} να έχει ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "στοιχεία"}`;
5748
+ return `Πολύ μεγάλο: αναμενόταν ${issue2.origin ?? "τιμή"} να είναι ${adj}${issue2.maximum.toString()}`;
5749
+ }
5750
+ case "too_small": {
5751
+ const adj = issue2.inclusive ? ">=" : ">";
5752
+ const sizing = getSizing(issue2.origin);
5753
+ if (sizing) {
5754
+ return `Πολύ μικρό: αναμενόταν ${issue2.origin} να έχει ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
5755
+ }
5756
+ return `Πολύ μικρό: αναμενόταν ${issue2.origin} να είναι ${adj}${issue2.minimum.toString()}`;
5757
+ }
5758
+ case "invalid_format": {
5759
+ const _issue = issue2;
5760
+ if (_issue.format === "starts_with") {
5761
+ return `Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${_issue.prefix}"`;
5762
+ }
5763
+ if (_issue.format === "ends_with")
5764
+ return `Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${_issue.suffix}"`;
5765
+ if (_issue.format === "includes")
5766
+ return `Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${_issue.includes}"`;
5767
+ if (_issue.format === "regex")
5768
+ return `Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${_issue.pattern}`;
5769
+ return `Μη έγκυρο: ${FormatDictionary[_issue.format] ?? issue2.format}`;
5770
+ }
5771
+ case "not_multiple_of":
5772
+ return `Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${issue2.divisor}`;
5773
+ case "unrecognized_keys":
5774
+ return `Άγνωστ${issue2.keys.length > 1 ? "α" : "ο"} κλειδ${issue2.keys.length > 1 ? "ιά" : "ί"}: ${joinValues(issue2.keys, ", ")}`;
5775
+ case "invalid_key":
5776
+ return `Μη έγκυρο κλειδί στο ${issue2.origin}`;
5777
+ case "invalid_union":
5778
+ return "Μη έγκυρη είσοδος";
5779
+ case "invalid_element":
5780
+ return `Μη έγκυρη τιμή στο ${issue2.origin}`;
5781
+ default:
5782
+ return `Μη έγκυρη είσοδος`;
5783
+ }
5784
+ };
5785
+ };
5786
+ function el_default() {
5787
+ return {
5788
+ localeError: error9()
5789
+ };
5790
+ }
5791
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
5792
+ var error10 = () => {
5531
5793
  const Sizable = {
5532
5794
  string: { unit: "characters", verb: "to have" },
5533
5795
  file: { unit: "bytes", verb: "to have" },
@@ -5619,6 +5881,10 @@ var error9 = () => {
5619
5881
  case "invalid_key":
5620
5882
  return `Invalid key in ${issue2.origin}`;
5621
5883
  case "invalid_union":
5884
+ if (issue2.options && Array.isArray(issue2.options) && issue2.options.length > 0) {
5885
+ const opts = issue2.options.map((o) => `'${o}'`).join(" | ");
5886
+ return `Invalid discriminator value. Expected ${opts}`;
5887
+ }
5622
5888
  return "Invalid input";
5623
5889
  case "invalid_element":
5624
5890
  return `Invalid value in ${issue2.origin}`;
@@ -5629,11 +5895,11 @@ var error9 = () => {
5629
5895
  };
5630
5896
  function en_default() {
5631
5897
  return {
5632
- localeError: error9()
5898
+ localeError: error10()
5633
5899
  };
5634
5900
  }
5635
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/eo.js
5636
- var error10 = () => {
5901
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.js
5902
+ var error11 = () => {
5637
5903
  const Sizable = {
5638
5904
  string: { unit: "karaktrojn", verb: "havi" },
5639
5905
  file: { unit: "bajtojn", verb: "havi" },
@@ -5738,11 +6004,11 @@ var error10 = () => {
5738
6004
  };
5739
6005
  function eo_default() {
5740
6006
  return {
5741
- localeError: error10()
6007
+ localeError: error11()
5742
6008
  };
5743
6009
  }
5744
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/es.js
5745
- var error11 = () => {
6010
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.js
6011
+ var error12 = () => {
5746
6012
  const Sizable = {
5747
6013
  string: { unit: "caracteres", verb: "tener" },
5748
6014
  file: { unit: "bytes", verb: "tener" },
@@ -5870,11 +6136,11 @@ var error11 = () => {
5870
6136
  };
5871
6137
  function es_default() {
5872
6138
  return {
5873
- localeError: error11()
6139
+ localeError: error12()
5874
6140
  };
5875
6141
  }
5876
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fa.js
5877
- var error12 = () => {
6142
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.js
6143
+ var error13 = () => {
5878
6144
  const Sizable = {
5879
6145
  string: { unit: "کاراکتر", verb: "داشته باشد" },
5880
6146
  file: { unit: "بایت", verb: "داشته باشد" },
@@ -5984,11 +6250,11 @@ var error12 = () => {
5984
6250
  };
5985
6251
  function fa_default() {
5986
6252
  return {
5987
- localeError: error12()
6253
+ localeError: error13()
5988
6254
  };
5989
6255
  }
5990
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fi.js
5991
- var error13 = () => {
6256
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.js
6257
+ var error14 = () => {
5992
6258
  const Sizable = {
5993
6259
  string: { unit: "merkkiä", subject: "merkkijonon" },
5994
6260
  file: { unit: "tavua", subject: "tiedoston" },
@@ -6096,11 +6362,11 @@ var error13 = () => {
6096
6362
  };
6097
6363
  function fi_default() {
6098
6364
  return {
6099
- localeError: error13()
6365
+ localeError: error14()
6100
6366
  };
6101
6367
  }
6102
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr.js
6103
- var error14 = () => {
6368
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.js
6369
+ var error15 = () => {
6104
6370
  const Sizable = {
6105
6371
  string: { unit: "caractères", verb: "avoir" },
6106
6372
  file: { unit: "octets", verb: "avoir" },
@@ -6141,9 +6407,27 @@ var error14 = () => {
6141
6407
  template_literal: "entrée"
6142
6408
  };
6143
6409
  const TypeDictionary = {
6144
- nan: "NaN",
6410
+ string: "chaîne",
6145
6411
  number: "nombre",
6146
- array: "tableau"
6412
+ int: "entier",
6413
+ boolean: "booléen",
6414
+ bigint: "grand entier",
6415
+ symbol: "symbole",
6416
+ undefined: "indéfini",
6417
+ null: "null",
6418
+ never: "jamais",
6419
+ void: "vide",
6420
+ date: "date",
6421
+ array: "tableau",
6422
+ object: "objet",
6423
+ tuple: "tuple",
6424
+ record: "enregistrement",
6425
+ map: "carte",
6426
+ set: "ensemble",
6427
+ file: "fichier",
6428
+ nonoptional: "non-optionnel",
6429
+ nan: "NaN",
6430
+ function: "fonction"
6147
6431
  };
6148
6432
  return (issue2) => {
6149
6433
  switch (issue2.code) {
@@ -6164,16 +6448,15 @@ var error14 = () => {
6164
6448
  const adj = issue2.inclusive ? "<=" : "<";
6165
6449
  const sizing = getSizing(issue2.origin);
6166
6450
  if (sizing)
6167
- return `Trop grand : ${issue2.origin ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "élément(s)"}`;
6168
- return `Trop grand : ${issue2.origin ?? "valeur"} doit être ${adj}${issue2.maximum.toString()}`;
6451
+ return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "élément(s)"}`;
6452
+ return `Trop grand : ${TypeDictionary[issue2.origin] ?? "valeur"} doit être ${adj}${issue2.maximum.toString()}`;
6169
6453
  }
6170
6454
  case "too_small": {
6171
6455
  const adj = issue2.inclusive ? ">=" : ">";
6172
6456
  const sizing = getSizing(issue2.origin);
6173
- if (sizing) {
6174
- return `Trop petit : ${issue2.origin} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6175
- }
6176
- return `Trop petit : ${issue2.origin} doit être ${adj}${issue2.minimum.toString()}`;
6457
+ if (sizing)
6458
+ return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6459
+ return `Trop petit : ${TypeDictionary[issue2.origin] ?? "valeur"} doit être ${adj}${issue2.minimum.toString()}`;
6177
6460
  }
6178
6461
  case "invalid_format": {
6179
6462
  const _issue = issue2;
@@ -6204,11 +6487,11 @@ var error14 = () => {
6204
6487
  };
6205
6488
  function fr_default() {
6206
6489
  return {
6207
- localeError: error14()
6490
+ localeError: error15()
6208
6491
  };
6209
6492
  }
6210
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.js
6211
- var error15 = () => {
6493
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.js
6494
+ var error16 = () => {
6212
6495
  const Sizable = {
6213
6496
  string: { unit: "caractères", verb: "avoir" },
6214
6497
  file: { unit: "octets", verb: "avoir" },
@@ -6311,11 +6594,11 @@ var error15 = () => {
6311
6594
  };
6312
6595
  function fr_CA_default() {
6313
6596
  return {
6314
- localeError: error15()
6597
+ localeError: error16()
6315
6598
  };
6316
6599
  }
6317
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/he.js
6318
- var error16 = () => {
6600
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.js
6601
+ var error17 = () => {
6319
6602
  const TypeNames = {
6320
6603
  string: { label: "מחרוזת", gender: "f" },
6321
6604
  number: { label: "מספר", gender: "m" },
@@ -6504,23 +6787,23 @@ var error16 = () => {
6504
6787
  };
6505
6788
  function he_default() {
6506
6789
  return {
6507
- localeError: error16()
6790
+ localeError: error17()
6508
6791
  };
6509
6792
  }
6510
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hu.js
6511
- var error17 = () => {
6793
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.js
6794
+ var error18 = () => {
6512
6795
  const Sizable = {
6513
- string: { unit: "karakter", verb: "legyen" },
6514
- file: { unit: "byte", verb: "legyen" },
6515
- array: { unit: "elem", verb: "legyen" },
6516
- set: { unit: "elem", verb: "legyen" }
6796
+ string: { unit: "znakova", verb: "imati" },
6797
+ file: { unit: "bajtova", verb: "imati" },
6798
+ array: { unit: "stavki", verb: "imati" },
6799
+ set: { unit: "stavki", verb: "imati" }
6517
6800
  };
6518
6801
  function getSizing(origin) {
6519
6802
  return Sizable[origin] ?? null;
6520
6803
  }
6521
6804
  const FormatDictionary = {
6522
- regex: "bemenet",
6523
- email: "email cím",
6805
+ regex: "unos",
6806
+ email: "email adresa",
6524
6807
  url: "URL",
6525
6808
  emoji: "emoji",
6526
6809
  uuid: "UUID",
@@ -6533,25 +6816,37 @@ var error17 = () => {
6533
6816
  ulid: "ULID",
6534
6817
  xid: "XID",
6535
6818
  ksuid: "KSUID",
6536
- datetime: "ISO időbélyeg",
6537
- date: "ISO dátum",
6538
- time: "ISO idő",
6539
- duration: "ISO időintervallum",
6540
- ipv4: "IPv4 cím",
6541
- ipv6: "IPv6 cím",
6542
- cidrv4: "IPv4 tartomány",
6543
- cidrv6: "IPv6 tartomány",
6544
- base64: "base64-kódolt string",
6545
- base64url: "base64url-kódolt string",
6546
- json_string: "JSON string",
6547
- e164: "E.164 szám",
6819
+ datetime: "ISO datum i vrijeme",
6820
+ date: "ISO datum",
6821
+ time: "ISO vrijeme",
6822
+ duration: "ISO trajanje",
6823
+ ipv4: "IPv4 adresa",
6824
+ ipv6: "IPv6 adresa",
6825
+ cidrv4: "IPv4 raspon",
6826
+ cidrv6: "IPv6 raspon",
6827
+ base64: "base64 kodirani tekst",
6828
+ base64url: "base64url kodirani tekst",
6829
+ json_string: "JSON tekst",
6830
+ e164: "E.164 broj",
6548
6831
  jwt: "JWT",
6549
- template_literal: "bemenet"
6832
+ template_literal: "unos"
6550
6833
  };
6551
6834
  const TypeDictionary = {
6552
6835
  nan: "NaN",
6553
- number: "szám",
6554
- array: "tömb"
6836
+ string: "tekst",
6837
+ number: "broj",
6838
+ boolean: "boolean",
6839
+ array: "niz",
6840
+ object: "objekt",
6841
+ set: "skup",
6842
+ file: "datoteka",
6843
+ date: "datum",
6844
+ bigint: "bigint",
6845
+ symbol: "simbol",
6846
+ undefined: "undefined",
6847
+ null: "null",
6848
+ function: "funkcija",
6849
+ map: "mapa"
6555
6850
  };
6556
6851
  return (issue2) => {
6557
6852
  switch (issue2.code) {
@@ -6560,7 +6855,117 @@ var error17 = () => {
6560
6855
  const receivedType = parsedType(issue2.input);
6561
6856
  const received = TypeDictionary[receivedType] ?? receivedType;
6562
6857
  if (/^[A-Z]/.test(issue2.expected)) {
6563
- return `Érvénytelen bemenet: a várt érték instanceof ${issue2.expected}, a kapott érték ${received}`;
6858
+ return `Neispravan unos: očekuje se instanceof ${issue2.expected}, a primljeno je ${received}`;
6859
+ }
6860
+ return `Neispravan unos: očekuje se ${expected}, a primljeno je ${received}`;
6861
+ }
6862
+ case "invalid_value":
6863
+ if (issue2.values.length === 1)
6864
+ return `Neispravna vrijednost: očekivano ${stringifyPrimitive(issue2.values[0])}`;
6865
+ return `Neispravna opcija: očekivano jedno od ${joinValues(issue2.values, "|")}`;
6866
+ case "too_big": {
6867
+ const adj = issue2.inclusive ? "<=" : "<";
6868
+ const sizing = getSizing(issue2.origin);
6869
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
6870
+ if (sizing)
6871
+ return `Preveliko: očekivano da ${origin ?? "vrijednost"} ima ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemenata"}`;
6872
+ return `Preveliko: očekivano da ${origin ?? "vrijednost"} bude ${adj}${issue2.maximum.toString()}`;
6873
+ }
6874
+ case "too_small": {
6875
+ const adj = issue2.inclusive ? ">=" : ">";
6876
+ const sizing = getSizing(issue2.origin);
6877
+ const origin = TypeDictionary[issue2.origin] ?? issue2.origin;
6878
+ if (sizing) {
6879
+ return `Premalo: očekivano da ${origin} ima ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
6880
+ }
6881
+ return `Premalo: očekivano da ${origin} bude ${adj}${issue2.minimum.toString()}`;
6882
+ }
6883
+ case "invalid_format": {
6884
+ const _issue = issue2;
6885
+ if (_issue.format === "starts_with")
6886
+ return `Neispravan tekst: mora započinjati s "${_issue.prefix}"`;
6887
+ if (_issue.format === "ends_with")
6888
+ return `Neispravan tekst: mora završavati s "${_issue.suffix}"`;
6889
+ if (_issue.format === "includes")
6890
+ return `Neispravan tekst: mora sadržavati "${_issue.includes}"`;
6891
+ if (_issue.format === "regex")
6892
+ return `Neispravan tekst: mora odgovarati uzorku ${_issue.pattern}`;
6893
+ return `Neispravna ${FormatDictionary[_issue.format] ?? issue2.format}`;
6894
+ }
6895
+ case "not_multiple_of":
6896
+ return `Neispravan broj: mora biti višekratnik od ${issue2.divisor}`;
6897
+ case "unrecognized_keys":
6898
+ return `Neprepoznat${issue2.keys.length > 1 ? "i ključevi" : " ključ"}: ${joinValues(issue2.keys, ", ")}`;
6899
+ case "invalid_key":
6900
+ return `Neispravan ključ u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
6901
+ case "invalid_union":
6902
+ return "Neispravan unos";
6903
+ case "invalid_element":
6904
+ return `Neispravna vrijednost u ${TypeDictionary[issue2.origin] ?? issue2.origin}`;
6905
+ default:
6906
+ return `Neispravan unos`;
6907
+ }
6908
+ };
6909
+ };
6910
+ function hr_default() {
6911
+ return {
6912
+ localeError: error18()
6913
+ };
6914
+ }
6915
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.js
6916
+ var error19 = () => {
6917
+ const Sizable = {
6918
+ string: { unit: "karakter", verb: "legyen" },
6919
+ file: { unit: "byte", verb: "legyen" },
6920
+ array: { unit: "elem", verb: "legyen" },
6921
+ set: { unit: "elem", verb: "legyen" }
6922
+ };
6923
+ function getSizing(origin) {
6924
+ return Sizable[origin] ?? null;
6925
+ }
6926
+ const FormatDictionary = {
6927
+ regex: "bemenet",
6928
+ email: "email cím",
6929
+ url: "URL",
6930
+ emoji: "emoji",
6931
+ uuid: "UUID",
6932
+ uuidv4: "UUIDv4",
6933
+ uuidv6: "UUIDv6",
6934
+ nanoid: "nanoid",
6935
+ guid: "GUID",
6936
+ cuid: "cuid",
6937
+ cuid2: "cuid2",
6938
+ ulid: "ULID",
6939
+ xid: "XID",
6940
+ ksuid: "KSUID",
6941
+ datetime: "ISO időbélyeg",
6942
+ date: "ISO dátum",
6943
+ time: "ISO idő",
6944
+ duration: "ISO időintervallum",
6945
+ ipv4: "IPv4 cím",
6946
+ ipv6: "IPv6 cím",
6947
+ cidrv4: "IPv4 tartomány",
6948
+ cidrv6: "IPv6 tartomány",
6949
+ base64: "base64-kódolt string",
6950
+ base64url: "base64url-kódolt string",
6951
+ json_string: "JSON string",
6952
+ e164: "E.164 szám",
6953
+ jwt: "JWT",
6954
+ template_literal: "bemenet"
6955
+ };
6956
+ const TypeDictionary = {
6957
+ nan: "NaN",
6958
+ number: "szám",
6959
+ array: "tömb"
6960
+ };
6961
+ return (issue2) => {
6962
+ switch (issue2.code) {
6963
+ case "invalid_type": {
6964
+ const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
6965
+ const receivedType = parsedType(issue2.input);
6966
+ const received = TypeDictionary[receivedType] ?? receivedType;
6967
+ if (/^[A-Z]/.test(issue2.expected)) {
6968
+ return `Érvénytelen bemenet: a várt érték instanceof ${issue2.expected}, a kapott érték ${received}`;
6564
6969
  }
6565
6970
  return `Érvénytelen bemenet: a várt érték ${expected}, a kapott érték ${received}`;
6566
6971
  }
@@ -6612,10 +7017,10 @@ var error17 = () => {
6612
7017
  };
6613
7018
  function hu_default() {
6614
7019
  return {
6615
- localeError: error17()
7020
+ localeError: error19()
6616
7021
  };
6617
7022
  }
6618
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hy.js
7023
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.js
6619
7024
  function getArmenianPlural(count, one, many) {
6620
7025
  return Math.abs(count) === 1 ? one : many;
6621
7026
  }
@@ -6626,7 +7031,7 @@ function withDefiniteArticle(word) {
6626
7031
  const lastChar = word[word.length - 1];
6627
7032
  return word + (vowels.includes(lastChar) ? "ն" : "ը");
6628
7033
  }
6629
- var error18 = () => {
7034
+ var error20 = () => {
6630
7035
  const Sizable = {
6631
7036
  string: {
6632
7037
  unit: {
@@ -6759,11 +7164,11 @@ var error18 = () => {
6759
7164
  };
6760
7165
  function hy_default() {
6761
7166
  return {
6762
- localeError: error18()
7167
+ localeError: error20()
6763
7168
  };
6764
7169
  }
6765
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/id.js
6766
- var error19 = () => {
7170
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.js
7171
+ var error21 = () => {
6767
7172
  const Sizable = {
6768
7173
  string: { unit: "karakter", verb: "memiliki" },
6769
7174
  file: { unit: "byte", verb: "memiliki" },
@@ -6865,11 +7270,11 @@ var error19 = () => {
6865
7270
  };
6866
7271
  function id_default() {
6867
7272
  return {
6868
- localeError: error19()
7273
+ localeError: error21()
6869
7274
  };
6870
7275
  }
6871
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/is.js
6872
- var error20 = () => {
7276
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.js
7277
+ var error22 = () => {
6873
7278
  const Sizable = {
6874
7279
  string: { unit: "stafi", verb: "að hafa" },
6875
7280
  file: { unit: "bæti", verb: "að hafa" },
@@ -6974,11 +7379,11 @@ var error20 = () => {
6974
7379
  };
6975
7380
  function is_default() {
6976
7381
  return {
6977
- localeError: error20()
7382
+ localeError: error22()
6978
7383
  };
6979
7384
  }
6980
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/it.js
6981
- var error21 = () => {
7385
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.js
7386
+ var error23 = () => {
6982
7387
  const Sizable = {
6983
7388
  string: { unit: "caratteri", verb: "avere" },
6984
7389
  file: { unit: "byte", verb: "avere" },
@@ -7063,7 +7468,7 @@ var error21 = () => {
7063
7468
  return `Stringa non valida: deve includere "${_issue.includes}"`;
7064
7469
  if (_issue.format === "regex")
7065
7470
  return `Stringa non valida: deve corrispondere al pattern ${_issue.pattern}`;
7066
- return `Invalid ${FormatDictionary[_issue.format] ?? issue2.format}`;
7471
+ return `Input non valido: ${FormatDictionary[_issue.format] ?? issue2.format}`;
7067
7472
  }
7068
7473
  case "not_multiple_of":
7069
7474
  return `Numero non valido: deve essere un multiplo di ${issue2.divisor}`;
@@ -7082,11 +7487,11 @@ var error21 = () => {
7082
7487
  };
7083
7488
  function it_default() {
7084
7489
  return {
7085
- localeError: error21()
7490
+ localeError: error23()
7086
7491
  };
7087
7492
  }
7088
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ja.js
7089
- var error22 = () => {
7493
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.js
7494
+ var error24 = () => {
7090
7495
  const Sizable = {
7091
7496
  string: { unit: "文字", verb: "である" },
7092
7497
  file: { unit: "バイト", verb: "である" },
@@ -7189,11 +7594,11 @@ var error22 = () => {
7189
7594
  };
7190
7595
  function ja_default() {
7191
7596
  return {
7192
- localeError: error22()
7597
+ localeError: error24()
7193
7598
  };
7194
7599
  }
7195
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ka.js
7196
- var error23 = () => {
7600
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.js
7601
+ var error25 = () => {
7197
7602
  const Sizable = {
7198
7603
  string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
7199
7604
  file: { unit: "ბაიტი", verb: "უნდა შეიცავდეს" },
@@ -7226,9 +7631,9 @@ var error23 = () => {
7226
7631
  ipv6: "IPv6 მისამართი",
7227
7632
  cidrv4: "IPv4 დიაპაზონი",
7228
7633
  cidrv6: "IPv6 დიაპაზონი",
7229
- base64: "base64-კოდირებული სტრინგი",
7230
- base64url: "base64url-კოდირებული სტრინგი",
7231
- json_string: "JSON სტრინგი",
7634
+ base64: "base64-კოდირებული ველი",
7635
+ base64url: "base64url-კოდირებული ველი",
7636
+ json_string: "JSON ველი",
7232
7637
  e164: "E.164 ნომერი",
7233
7638
  jwt: "JWT",
7234
7639
  template_literal: "შეყვანა"
@@ -7236,7 +7641,7 @@ var error23 = () => {
7236
7641
  const TypeDictionary = {
7237
7642
  nan: "NaN",
7238
7643
  number: "რიცხვი",
7239
- string: "სტრინგი",
7644
+ string: "ველი",
7240
7645
  boolean: "ბულეანი",
7241
7646
  function: "ფუნქცია",
7242
7647
  array: "მასივი"
@@ -7274,14 +7679,14 @@ var error23 = () => {
7274
7679
  case "invalid_format": {
7275
7680
  const _issue = issue2;
7276
7681
  if (_issue.format === "starts_with") {
7277
- return `არასწორი სტრინგი: უნდა იწყებოდეს "${_issue.prefix}"-ით`;
7682
+ return `არასწორი ველი: უნდა იწყებოდეს "${_issue.prefix}"-ით`;
7278
7683
  }
7279
7684
  if (_issue.format === "ends_with")
7280
- return `არასწორი სტრინგი: უნდა მთავრდებოდეს "${_issue.suffix}"-ით`;
7685
+ return `არასწორი ველი: უნდა მთავრდებოდეს "${_issue.suffix}"-ით`;
7281
7686
  if (_issue.format === "includes")
7282
- return `არასწორი სტრინგი: უნდა შეიცავდეს "${_issue.includes}"-ს`;
7687
+ return `არასწორი ველი: უნდა შეიცავდეს "${_issue.includes}"-ს`;
7283
7688
  if (_issue.format === "regex")
7284
- return `არასწორი სტრინგი: უნდა შეესაბამებოდეს შაბლონს ${_issue.pattern}`;
7689
+ return `არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${_issue.pattern}`;
7285
7690
  return `არასწორი ${FormatDictionary[_issue.format] ?? issue2.format}`;
7286
7691
  }
7287
7692
  case "not_multiple_of":
@@ -7301,11 +7706,11 @@ var error23 = () => {
7301
7706
  };
7302
7707
  function ka_default() {
7303
7708
  return {
7304
- localeError: error23()
7709
+ localeError: error25()
7305
7710
  };
7306
7711
  }
7307
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/km.js
7308
- var error24 = () => {
7712
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.js
7713
+ var error26 = () => {
7309
7714
  const Sizable = {
7310
7715
  string: { unit: "តួអក្សរ", verb: "គួរមាន" },
7311
7716
  file: { unit: "បៃ", verb: "គួរមាន" },
@@ -7411,16 +7816,16 @@ var error24 = () => {
7411
7816
  };
7412
7817
  function km_default() {
7413
7818
  return {
7414
- localeError: error24()
7819
+ localeError: error26()
7415
7820
  };
7416
7821
  }
7417
7822
 
7418
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/kh.js
7823
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.js
7419
7824
  function kh_default() {
7420
7825
  return km_default();
7421
7826
  }
7422
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ko.js
7423
- var error25 = () => {
7827
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.js
7828
+ var error27 = () => {
7424
7829
  const Sizable = {
7425
7830
  string: { unit: "문자", verb: "to have" },
7426
7831
  file: { unit: "바이트", verb: "to have" },
@@ -7527,10 +7932,10 @@ var error25 = () => {
7527
7932
  };
7528
7933
  function ko_default() {
7529
7934
  return {
7530
- localeError: error25()
7935
+ localeError: error27()
7531
7936
  };
7532
7937
  }
7533
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/lt.js
7938
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.js
7534
7939
  var capitalizeFirstCharacter = (text) => {
7535
7940
  return text.charAt(0).toUpperCase() + text.slice(1);
7536
7941
  };
@@ -7544,7 +7949,7 @@ function getUnitTypeFromNumber(number2) {
7544
7949
  return "one";
7545
7950
  return "few";
7546
7951
  }
7547
- var error26 = () => {
7952
+ var error28 = () => {
7548
7953
  const Sizable = {
7549
7954
  string: {
7550
7955
  unit: {
@@ -7730,11 +8135,11 @@ var error26 = () => {
7730
8135
  };
7731
8136
  function lt_default() {
7732
8137
  return {
7733
- localeError: error26()
8138
+ localeError: error28()
7734
8139
  };
7735
8140
  }
7736
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/mk.js
7737
- var error27 = () => {
8141
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.js
8142
+ var error29 = () => {
7738
8143
  const Sizable = {
7739
8144
  string: { unit: "знаци", verb: "да имаат" },
7740
8145
  file: { unit: "бајти", verb: "да имаат" },
@@ -7839,11 +8244,11 @@ var error27 = () => {
7839
8244
  };
7840
8245
  function mk_default() {
7841
8246
  return {
7842
- localeError: error27()
8247
+ localeError: error29()
7843
8248
  };
7844
8249
  }
7845
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ms.js
7846
- var error28 = () => {
8250
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.js
8251
+ var error30 = () => {
7847
8252
  const Sizable = {
7848
8253
  string: { unit: "aksara", verb: "mempunyai" },
7849
8254
  file: { unit: "bait", verb: "mempunyai" },
@@ -7946,11 +8351,11 @@ var error28 = () => {
7946
8351
  };
7947
8352
  function ms_default() {
7948
8353
  return {
7949
- localeError: error28()
8354
+ localeError: error30()
7950
8355
  };
7951
8356
  }
7952
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/nl.js
7953
- var error29 = () => {
8357
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.js
8358
+ var error31 = () => {
7954
8359
  const Sizable = {
7955
8360
  string: { unit: "tekens", verb: "heeft" },
7956
8361
  file: { unit: "bytes", verb: "heeft" },
@@ -8056,11 +8461,11 @@ var error29 = () => {
8056
8461
  };
8057
8462
  function nl_default() {
8058
8463
  return {
8059
- localeError: error29()
8464
+ localeError: error31()
8060
8465
  };
8061
8466
  }
8062
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/no.js
8063
- var error30 = () => {
8467
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.js
8468
+ var error32 = () => {
8064
8469
  const Sizable = {
8065
8470
  string: { unit: "tegn", verb: "å ha" },
8066
8471
  file: { unit: "bytes", verb: "å ha" },
@@ -8164,11 +8569,11 @@ var error30 = () => {
8164
8569
  };
8165
8570
  function no_default() {
8166
8571
  return {
8167
- localeError: error30()
8572
+ localeError: error32()
8168
8573
  };
8169
8574
  }
8170
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ota.js
8171
- var error31 = () => {
8575
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.js
8576
+ var error33 = () => {
8172
8577
  const Sizable = {
8173
8578
  string: { unit: "harf", verb: "olmalıdır" },
8174
8579
  file: { unit: "bayt", verb: "olmalıdır" },
@@ -8273,11 +8678,11 @@ var error31 = () => {
8273
8678
  };
8274
8679
  function ota_default() {
8275
8680
  return {
8276
- localeError: error31()
8681
+ localeError: error33()
8277
8682
  };
8278
8683
  }
8279
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ps.js
8280
- var error32 = () => {
8684
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.js
8685
+ var error34 = () => {
8281
8686
  const Sizable = {
8282
8687
  string: { unit: "توکي", verb: "ولري" },
8283
8688
  file: { unit: "بایټس", verb: "ولري" },
@@ -8387,11 +8792,11 @@ var error32 = () => {
8387
8792
  };
8388
8793
  function ps_default() {
8389
8794
  return {
8390
- localeError: error32()
8795
+ localeError: error34()
8391
8796
  };
8392
8797
  }
8393
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pl.js
8394
- var error33 = () => {
8798
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.js
8799
+ var error35 = () => {
8395
8800
  const Sizable = {
8396
8801
  string: { unit: "znaków", verb: "mieć" },
8397
8802
  file: { unit: "bajtów", verb: "mieć" },
@@ -8496,11 +8901,11 @@ var error33 = () => {
8496
8901
  };
8497
8902
  function pl_default() {
8498
8903
  return {
8499
- localeError: error33()
8904
+ localeError: error35()
8500
8905
  };
8501
8906
  }
8502
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pt.js
8503
- var error34 = () => {
8907
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.js
8908
+ var error36 = () => {
8504
8909
  const Sizable = {
8505
8910
  string: { unit: "caracteres", verb: "ter" },
8506
8911
  file: { unit: "bytes", verb: "ter" },
@@ -8604,10 +9009,129 @@ var error34 = () => {
8604
9009
  };
8605
9010
  function pt_default() {
8606
9011
  return {
8607
- localeError: error34()
9012
+ localeError: error36()
9013
+ };
9014
+ }
9015
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.js
9016
+ var error37 = () => {
9017
+ const Sizable = {
9018
+ string: { unit: "caractere", verb: "să aibă" },
9019
+ file: { unit: "octeți", verb: "să aibă" },
9020
+ array: { unit: "elemente", verb: "să aibă" },
9021
+ set: { unit: "elemente", verb: "să aibă" },
9022
+ map: { unit: "intrări", verb: "să aibă" }
9023
+ };
9024
+ function getSizing(origin) {
9025
+ return Sizable[origin] ?? null;
9026
+ }
9027
+ const FormatDictionary = {
9028
+ regex: "intrare",
9029
+ email: "adresă de email",
9030
+ url: "URL",
9031
+ emoji: "emoji",
9032
+ uuid: "UUID",
9033
+ uuidv4: "UUIDv4",
9034
+ uuidv6: "UUIDv6",
9035
+ nanoid: "nanoid",
9036
+ guid: "GUID",
9037
+ cuid: "cuid",
9038
+ cuid2: "cuid2",
9039
+ ulid: "ULID",
9040
+ xid: "XID",
9041
+ ksuid: "KSUID",
9042
+ datetime: "dată și oră ISO",
9043
+ date: "dată ISO",
9044
+ time: "oră ISO",
9045
+ duration: "durată ISO",
9046
+ ipv4: "adresă IPv4",
9047
+ ipv6: "adresă IPv6",
9048
+ mac: "adresă MAC",
9049
+ cidrv4: "interval IPv4",
9050
+ cidrv6: "interval IPv6",
9051
+ base64: "șir codat base64",
9052
+ base64url: "șir codat base64url",
9053
+ json_string: "șir JSON",
9054
+ e164: "număr E.164",
9055
+ jwt: "JWT",
9056
+ template_literal: "intrare"
9057
+ };
9058
+ const TypeDictionary = {
9059
+ nan: "NaN",
9060
+ string: "șir",
9061
+ number: "număr",
9062
+ boolean: "boolean",
9063
+ function: "funcție",
9064
+ array: "matrice",
9065
+ object: "obiect",
9066
+ undefined: "nedefinit",
9067
+ symbol: "simbol",
9068
+ bigint: "număr mare",
9069
+ void: "void",
9070
+ never: "never",
9071
+ map: "hartă",
9072
+ set: "set"
9073
+ };
9074
+ return (issue2) => {
9075
+ switch (issue2.code) {
9076
+ case "invalid_type": {
9077
+ const expected = TypeDictionary[issue2.expected] ?? issue2.expected;
9078
+ const receivedType = parsedType(issue2.input);
9079
+ const received = TypeDictionary[receivedType] ?? receivedType;
9080
+ return `Intrare invalidă: așteptat ${expected}, primit ${received}`;
9081
+ }
9082
+ case "invalid_value":
9083
+ if (issue2.values.length === 1)
9084
+ return `Intrare invalidă: așteptat ${stringifyPrimitive(issue2.values[0])}`;
9085
+ return `Opțiune invalidă: așteptat una dintre ${joinValues(issue2.values, "|")}`;
9086
+ case "too_big": {
9087
+ const adj = issue2.inclusive ? "<=" : "<";
9088
+ const sizing = getSizing(issue2.origin);
9089
+ if (sizing)
9090
+ return `Prea mare: așteptat ca ${issue2.origin ?? "valoarea"} ${sizing.verb} ${adj}${issue2.maximum.toString()} ${sizing.unit ?? "elemente"}`;
9091
+ return `Prea mare: așteptat ca ${issue2.origin ?? "valoarea"} să fie ${adj}${issue2.maximum.toString()}`;
9092
+ }
9093
+ case "too_small": {
9094
+ const adj = issue2.inclusive ? ">=" : ">";
9095
+ const sizing = getSizing(issue2.origin);
9096
+ if (sizing) {
9097
+ return `Prea mic: așteptat ca ${issue2.origin} ${sizing.verb} ${adj}${issue2.minimum.toString()} ${sizing.unit}`;
9098
+ }
9099
+ return `Prea mic: așteptat ca ${issue2.origin} să fie ${adj}${issue2.minimum.toString()}`;
9100
+ }
9101
+ case "invalid_format": {
9102
+ const _issue = issue2;
9103
+ if (_issue.format === "starts_with") {
9104
+ return `Șir invalid: trebuie să înceapă cu "${_issue.prefix}"`;
9105
+ }
9106
+ if (_issue.format === "ends_with")
9107
+ return `Șir invalid: trebuie să se termine cu "${_issue.suffix}"`;
9108
+ if (_issue.format === "includes")
9109
+ return `Șir invalid: trebuie să includă "${_issue.includes}"`;
9110
+ if (_issue.format === "regex")
9111
+ return `Șir invalid: trebuie să se potrivească cu modelul ${_issue.pattern}`;
9112
+ return `Format invalid: ${FormatDictionary[_issue.format] ?? issue2.format}`;
9113
+ }
9114
+ case "not_multiple_of":
9115
+ return `Număr invalid: trebuie să fie multiplu de ${issue2.divisor}`;
9116
+ case "unrecognized_keys":
9117
+ return `Chei nerecunoscute: ${joinValues(issue2.keys, ", ")}`;
9118
+ case "invalid_key":
9119
+ return `Cheie invalidă în ${issue2.origin}`;
9120
+ case "invalid_union":
9121
+ return "Intrare invalidă";
9122
+ case "invalid_element":
9123
+ return `Valoare invalidă în ${issue2.origin}`;
9124
+ default:
9125
+ return `Intrare invalidă`;
9126
+ }
9127
+ };
9128
+ };
9129
+ function ro_default() {
9130
+ return {
9131
+ localeError: error37()
8608
9132
  };
8609
9133
  }
8610
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ru.js
9134
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.js
8611
9135
  function getRussianPlural(count, one, few, many) {
8612
9136
  const absCount = Math.abs(count);
8613
9137
  const lastDigit = absCount % 10;
@@ -8623,7 +9147,7 @@ function getRussianPlural(count, one, few, many) {
8623
9147
  }
8624
9148
  return many;
8625
9149
  }
8626
- var error35 = () => {
9150
+ var error38 = () => {
8627
9151
  const Sizable = {
8628
9152
  string: {
8629
9153
  unit: {
@@ -8760,11 +9284,11 @@ var error35 = () => {
8760
9284
  };
8761
9285
  function ru_default() {
8762
9286
  return {
8763
- localeError: error35()
9287
+ localeError: error38()
8764
9288
  };
8765
9289
  }
8766
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sl.js
8767
- var error36 = () => {
9290
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.js
9291
+ var error39 = () => {
8768
9292
  const Sizable = {
8769
9293
  string: { unit: "znakov", verb: "imeti" },
8770
9294
  file: { unit: "bajtov", verb: "imeti" },
@@ -8869,11 +9393,11 @@ var error36 = () => {
8869
9393
  };
8870
9394
  function sl_default() {
8871
9395
  return {
8872
- localeError: error36()
9396
+ localeError: error39()
8873
9397
  };
8874
9398
  }
8875
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sv.js
8876
- var error37 = () => {
9399
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.js
9400
+ var error40 = () => {
8877
9401
  const Sizable = {
8878
9402
  string: { unit: "tecken", verb: "att ha" },
8879
9403
  file: { unit: "bytes", verb: "att ha" },
@@ -8979,11 +9503,11 @@ var error37 = () => {
8979
9503
  };
8980
9504
  function sv_default() {
8981
9505
  return {
8982
- localeError: error37()
9506
+ localeError: error40()
8983
9507
  };
8984
9508
  }
8985
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ta.js
8986
- var error38 = () => {
9509
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.js
9510
+ var error41 = () => {
8987
9511
  const Sizable = {
8988
9512
  string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
8989
9513
  file: { unit: "பைட்டுகள்", verb: "கொண்டிருக்க வேண்டும்" },
@@ -9089,11 +9613,11 @@ var error38 = () => {
9089
9613
  };
9090
9614
  function ta_default() {
9091
9615
  return {
9092
- localeError: error38()
9616
+ localeError: error41()
9093
9617
  };
9094
9618
  }
9095
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/th.js
9096
- var error39 = () => {
9619
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.js
9620
+ var error42 = () => {
9097
9621
  const Sizable = {
9098
9622
  string: { unit: "ตัวอักษร", verb: "ควรมี" },
9099
9623
  file: { unit: "ไบต์", verb: "ควรมี" },
@@ -9199,11 +9723,11 @@ var error39 = () => {
9199
9723
  };
9200
9724
  function th_default() {
9201
9725
  return {
9202
- localeError: error39()
9726
+ localeError: error42()
9203
9727
  };
9204
9728
  }
9205
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/tr.js
9206
- var error40 = () => {
9729
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.js
9730
+ var error43 = () => {
9207
9731
  const Sizable = {
9208
9732
  string: { unit: "karakter", verb: "olmalı" },
9209
9733
  file: { unit: "bayt", verb: "olmalı" },
@@ -9304,11 +9828,11 @@ var error40 = () => {
9304
9828
  };
9305
9829
  function tr_default() {
9306
9830
  return {
9307
- localeError: error40()
9831
+ localeError: error43()
9308
9832
  };
9309
9833
  }
9310
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uk.js
9311
- var error41 = () => {
9834
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.js
9835
+ var error44 = () => {
9312
9836
  const Sizable = {
9313
9837
  string: { unit: "символів", verb: "матиме" },
9314
9838
  file: { unit: "байтів", verb: "матиме" },
@@ -9412,16 +9936,16 @@ var error41 = () => {
9412
9936
  };
9413
9937
  function uk_default() {
9414
9938
  return {
9415
- localeError: error41()
9939
+ localeError: error44()
9416
9940
  };
9417
9941
  }
9418
9942
 
9419
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ua.js
9943
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.js
9420
9944
  function ua_default() {
9421
9945
  return uk_default();
9422
9946
  }
9423
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ur.js
9424
- var error42 = () => {
9947
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.js
9948
+ var error45 = () => {
9425
9949
  const Sizable = {
9426
9950
  string: { unit: "حروف", verb: "ہونا" },
9427
9951
  file: { unit: "بائٹس", verb: "ہونا" },
@@ -9527,16 +10051,17 @@ var error42 = () => {
9527
10051
  };
9528
10052
  function ur_default() {
9529
10053
  return {
9530
- localeError: error42()
10054
+ localeError: error45()
9531
10055
  };
9532
10056
  }
9533
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uz.js
9534
- var error43 = () => {
10057
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.js
10058
+ var error46 = () => {
9535
10059
  const Sizable = {
9536
10060
  string: { unit: "belgi", verb: "bo‘lishi kerak" },
9537
10061
  file: { unit: "bayt", verb: "bo‘lishi kerak" },
9538
10062
  array: { unit: "element", verb: "bo‘lishi kerak" },
9539
- set: { unit: "element", verb: "bo‘lishi kerak" }
10063
+ set: { unit: "element", verb: "bo‘lishi kerak" },
10064
+ map: { unit: "yozuv", verb: "bo‘lishi kerak" }
9540
10065
  };
9541
10066
  function getSizing(origin) {
9542
10067
  return Sizable[origin] ?? null;
@@ -9636,11 +10161,11 @@ var error43 = () => {
9636
10161
  };
9637
10162
  function uz_default() {
9638
10163
  return {
9639
- localeError: error43()
10164
+ localeError: error46()
9640
10165
  };
9641
10166
  }
9642
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/vi.js
9643
- var error44 = () => {
10167
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.js
10168
+ var error47 = () => {
9644
10169
  const Sizable = {
9645
10170
  string: { unit: "ký tự", verb: "có" },
9646
10171
  file: { unit: "byte", verb: "có" },
@@ -9744,11 +10269,11 @@ var error44 = () => {
9744
10269
  };
9745
10270
  function vi_default() {
9746
10271
  return {
9747
- localeError: error44()
10272
+ localeError: error47()
9748
10273
  };
9749
10274
  }
9750
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.js
9751
- var error45 = () => {
10275
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.js
10276
+ var error48 = () => {
9752
10277
  const Sizable = {
9753
10278
  string: { unit: "字符", verb: "包含" },
9754
10279
  file: { unit: "字节", verb: "包含" },
@@ -9853,11 +10378,11 @@ var error45 = () => {
9853
10378
  };
9854
10379
  function zh_CN_default() {
9855
10380
  return {
9856
- localeError: error45()
10381
+ localeError: error48()
9857
10382
  };
9858
10383
  }
9859
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.js
9860
- var error46 = () => {
10384
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.js
10385
+ var error49 = () => {
9861
10386
  const Sizable = {
9862
10387
  string: { unit: "字元", verb: "擁有" },
9863
10388
  file: { unit: "位元組", verb: "擁有" },
@@ -9960,11 +10485,11 @@ var error46 = () => {
9960
10485
  };
9961
10486
  function zh_TW_default() {
9962
10487
  return {
9963
- localeError: error46()
10488
+ localeError: error49()
9964
10489
  };
9965
10490
  }
9966
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/yo.js
9967
- var error47 = () => {
10491
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.js
10492
+ var error50 = () => {
9968
10493
  const Sizable = {
9969
10494
  string: { unit: "àmi", verb: "ní" },
9970
10495
  file: { unit: "bytes", verb: "ní" },
@@ -10067,11 +10592,11 @@ var error47 = () => {
10067
10592
  };
10068
10593
  function yo_default() {
10069
10594
  return {
10070
- localeError: error47()
10595
+ localeError: error50()
10071
10596
  };
10072
10597
  }
10073
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
10074
- var _a;
10598
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
10599
+ var _a2;
10075
10600
  var $output = Symbol("ZodOutput");
10076
10601
  var $input = Symbol("ZodInput");
10077
10602
 
@@ -10118,9 +10643,9 @@ class $ZodRegistry {
10118
10643
  function registry() {
10119
10644
  return new $ZodRegistry;
10120
10645
  }
10121
- (_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
10646
+ (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
10122
10647
  var globalRegistry = globalThis.__zod_globalRegistry;
10123
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js
10648
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
10124
10649
  function _string(Class2, params) {
10125
10650
  return new Class2({
10126
10651
  type: "string",
@@ -10924,7 +11449,7 @@ function _refine(Class2, fn, _params) {
10924
11449
  });
10925
11450
  return schema;
10926
11451
  }
10927
- function _superRefine(fn) {
11452
+ function _superRefine(fn, params) {
10928
11453
  const ch = _check((payload) => {
10929
11454
  payload.addIssue = (issue2) => {
10930
11455
  if (typeof issue2 === "string") {
@@ -10941,7 +11466,7 @@ function _superRefine(fn) {
10941
11466
  }
10942
11467
  };
10943
11468
  return fn(payload.value, payload);
10944
- });
11469
+ }, params);
10945
11470
  return ch;
10946
11471
  }
10947
11472
  function _check(fn, params) {
@@ -11040,7 +11565,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
11040
11565
  const inst = new Class2(def);
11041
11566
  return inst;
11042
11567
  }
11043
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
11568
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
11044
11569
  function initializeContext(params) {
11045
11570
  let target = params?.target ?? "draft-2020-12";
11046
11571
  if (target === "draft-4")
@@ -11062,7 +11587,7 @@ function initializeContext(params) {
11062
11587
  };
11063
11588
  }
11064
11589
  function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
11065
- var _a2;
11590
+ var _a3;
11066
11591
  const def = schema._zod.def;
11067
11592
  const seen = ctx.seen.get(schema);
11068
11593
  if (seen) {
@@ -11109,8 +11634,8 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
11109
11634
  delete result.schema.examples;
11110
11635
  delete result.schema.default;
11111
11636
  }
11112
- if (ctx.io === "input" && result.schema._prefault)
11113
- (_a2 = result.schema).default ?? (_a2.default = result.schema._prefault);
11637
+ if (ctx.io === "input" && "_prefault" in result.schema)
11638
+ (_a3 = result.schema).default ?? (_a3.default = result.schema._prefault);
11114
11639
  delete result.schema._prefault;
11115
11640
  const _result = ctx.seen.get(schema);
11116
11641
  return _result.schema;
@@ -11287,10 +11812,15 @@ function finalize(ctx, schema) {
11287
11812
  result.$id = ctx.external.uri(id);
11288
11813
  }
11289
11814
  Object.assign(result, root.def ?? root.schema);
11815
+ const rootMetaId = ctx.metadataRegistry.get(schema)?.id;
11816
+ if (rootMetaId !== undefined && result.id === rootMetaId)
11817
+ delete result.id;
11290
11818
  const defs = ctx.external?.defs ?? {};
11291
11819
  for (const entry of ctx.seen.entries()) {
11292
11820
  const seen = entry[1];
11293
11821
  if (seen.def && seen.defId) {
11822
+ if (seen.def.id === seen.defId)
11823
+ delete seen.def.id;
11294
11824
  defs[seen.defId] = seen.def;
11295
11825
  }
11296
11826
  }
@@ -11345,6 +11875,8 @@ function isTransforming(_schema, _ctx) {
11345
11875
  return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
11346
11876
  }
11347
11877
  if (def.type === "pipe") {
11878
+ if (_schema._zod.traits.has("$ZodCodec"))
11879
+ return true;
11348
11880
  return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
11349
11881
  }
11350
11882
  if (def.type === "object") {
@@ -11385,7 +11917,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
11385
11917
  extractDefs(ctx, schema);
11386
11918
  return finalize(ctx, schema);
11387
11919
  };
11388
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
11920
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
11389
11921
  var formatMap = {
11390
11922
  guid: "uuid",
11391
11923
  url: "uri",
@@ -11432,39 +11964,28 @@ var numberProcessor = (schema, ctx, _json, _params) => {
11432
11964
  json.type = "integer";
11433
11965
  else
11434
11966
  json.type = "number";
11435
- if (typeof exclusiveMinimum === "number") {
11436
- if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
11967
+ const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
11968
+ const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
11969
+ const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
11970
+ if (exMin) {
11971
+ if (legacy) {
11437
11972
  json.minimum = exclusiveMinimum;
11438
11973
  json.exclusiveMinimum = true;
11439
11974
  } else {
11440
11975
  json.exclusiveMinimum = exclusiveMinimum;
11441
11976
  }
11442
- }
11443
- if (typeof minimum === "number") {
11977
+ } else if (typeof minimum === "number") {
11444
11978
  json.minimum = minimum;
11445
- if (typeof exclusiveMinimum === "number" && ctx.target !== "draft-04") {
11446
- if (exclusiveMinimum >= minimum)
11447
- delete json.minimum;
11448
- else
11449
- delete json.exclusiveMinimum;
11450
- }
11451
11979
  }
11452
- if (typeof exclusiveMaximum === "number") {
11453
- if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") {
11980
+ if (exMax) {
11981
+ if (legacy) {
11454
11982
  json.maximum = exclusiveMaximum;
11455
11983
  json.exclusiveMaximum = true;
11456
11984
  } else {
11457
11985
  json.exclusiveMaximum = exclusiveMaximum;
11458
11986
  }
11459
- }
11460
- if (typeof maximum === "number") {
11987
+ } else if (typeof maximum === "number") {
11461
11988
  json.maximum = maximum;
11462
- if (typeof exclusiveMaximum === "number" && ctx.target !== "draft-04") {
11463
- if (exclusiveMaximum <= maximum)
11464
- delete json.maximum;
11465
- else
11466
- delete json.exclusiveMaximum;
11467
- }
11468
11989
  }
11469
11990
  if (typeof multipleOf === "number")
11470
11991
  json.multipleOf = multipleOf;
@@ -11632,7 +12153,10 @@ var arrayProcessor = (schema, ctx, _json, params) => {
11632
12153
  if (typeof maximum === "number")
11633
12154
  json.maxItems = maximum;
11634
12155
  json.type = "array";
11635
- json.items = process2(def.element, ctx, { ...params, path: [...params.path, "items"] });
12156
+ json.items = process2(def.element, ctx, {
12157
+ ...params,
12158
+ path: [...params.path, "items"]
12159
+ });
11636
12160
  };
11637
12161
  var objectProcessor = (schema, ctx, _json, params) => {
11638
12162
  const json = _json;
@@ -11825,7 +12349,8 @@ var catchProcessor = (schema, ctx, json, params) => {
11825
12349
  };
11826
12350
  var pipeProcessor = (schema, ctx, _json, params) => {
11827
12351
  const def = schema._zod.def;
11828
- const innerType = ctx.io === "input" ? def.in._zod.def.type === "transform" ? def.out : def.in : def.out;
12352
+ const inIsTransform = def.in._zod.traits.has("$ZodTransform");
12353
+ const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
11829
12354
  process2(innerType, ctx, params);
11830
12355
  const seen = ctx.seen.get(schema);
11831
12356
  seen.ref = innerType;
@@ -11930,7 +12455,7 @@ function toJSONSchema(input, params) {
11930
12455
  extractDefs(ctx, input);
11931
12456
  return finalize(ctx, input);
11932
12457
  }
11933
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.js
12458
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.js
11934
12459
  class JSONSchemaGenerator {
11935
12460
  get metadataRegistry() {
11936
12461
  return this.ctx.metadataRegistry;
@@ -11989,9 +12514,9 @@ class JSONSchemaGenerator {
11989
12514
  return plainResult;
11990
12515
  }
11991
12516
  }
11992
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.js
12517
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.js
11993
12518
  var exports_json_schema = {};
11994
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12519
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
11995
12520
  var exports_schemas2 = {};
11996
12521
  __export(exports_schemas2, {
11997
12522
  xor: () => xor,
@@ -12051,6 +12576,7 @@ __export(exports_schemas2, {
12051
12576
  json: () => json,
12052
12577
  ipv6: () => ipv62,
12053
12578
  ipv4: () => ipv42,
12579
+ invertCodec: () => invertCodec,
12054
12580
  intersection: () => intersection,
12055
12581
  int64: () => int64,
12056
12582
  int32: () => int32,
@@ -12111,6 +12637,7 @@ __export(exports_schemas2, {
12111
12637
  ZodRecord: () => ZodRecord,
12112
12638
  ZodReadonly: () => ZodReadonly,
12113
12639
  ZodPromise: () => ZodPromise,
12640
+ ZodPreprocess: () => ZodPreprocess,
12114
12641
  ZodPrefault: () => ZodPrefault,
12115
12642
  ZodPipe: () => ZodPipe,
12116
12643
  ZodOptional: () => ZodOptional,
@@ -12160,7 +12687,7 @@ __export(exports_schemas2, {
12160
12687
  ZodAny: () => ZodAny
12161
12688
  });
12162
12689
 
12163
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/checks.js
12690
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/checks.js
12164
12691
  var exports_checks2 = {};
12165
12692
  __export(exports_checks2, {
12166
12693
  uppercase: () => _uppercase,
@@ -12194,7 +12721,7 @@ __export(exports_checks2, {
12194
12721
  endsWith: () => _endsWith
12195
12722
  });
12196
12723
 
12197
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js
12724
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
12198
12725
  var exports_iso = {};
12199
12726
  __export(exports_iso, {
12200
12727
  time: () => time2,
@@ -12235,7 +12762,7 @@ function duration2(params) {
12235
12762
  return _isoDuration(ZodISODuration, params);
12236
12763
  }
12237
12764
 
12238
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.js
12765
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
12239
12766
  var initializer2 = (inst, issues) => {
12240
12767
  $ZodError.init(inst, issues);
12241
12768
  inst.name = "ZodError";
@@ -12265,12 +12792,12 @@ var initializer2 = (inst, issues) => {
12265
12792
  }
12266
12793
  });
12267
12794
  };
12268
- var ZodError = $constructor("ZodError", initializer2);
12269
- var ZodRealError = $constructor("ZodError", initializer2, {
12795
+ var ZodError = /* @__PURE__ */ $constructor("ZodError", initializer2);
12796
+ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
12270
12797
  Parent: Error
12271
12798
  });
12272
12799
 
12273
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.js
12800
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
12274
12801
  var parse3 = /* @__PURE__ */ _parse(ZodRealError);
12275
12802
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
12276
12803
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -12284,7 +12811,44 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
12284
12811
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
12285
12812
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
12286
12813
 
12287
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
12814
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
12815
+ var _installedGroups = /* @__PURE__ */ new WeakMap;
12816
+ function _installLazyMethods(inst, group, methods) {
12817
+ const proto = Object.getPrototypeOf(inst);
12818
+ let installed = _installedGroups.get(proto);
12819
+ if (!installed) {
12820
+ installed = new Set;
12821
+ _installedGroups.set(proto, installed);
12822
+ }
12823
+ if (installed.has(group))
12824
+ return;
12825
+ installed.add(group);
12826
+ for (const key in methods) {
12827
+ const fn = methods[key];
12828
+ Object.defineProperty(proto, key, {
12829
+ configurable: true,
12830
+ enumerable: false,
12831
+ get() {
12832
+ const bound = fn.bind(this);
12833
+ Object.defineProperty(this, key, {
12834
+ configurable: true,
12835
+ writable: true,
12836
+ enumerable: true,
12837
+ value: bound
12838
+ });
12839
+ return bound;
12840
+ },
12841
+ set(v) {
12842
+ Object.defineProperty(this, key, {
12843
+ configurable: true,
12844
+ writable: true,
12845
+ enumerable: true,
12846
+ value: v
12847
+ });
12848
+ }
12849
+ });
12850
+ }
12851
+ }
12288
12852
  var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12289
12853
  $ZodType.init(inst, def);
12290
12854
  Object.assign(inst["~standard"], {
@@ -12297,23 +12861,6 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12297
12861
  inst.def = def;
12298
12862
  inst.type = def.type;
12299
12863
  Object.defineProperty(inst, "_def", { value: def });
12300
- inst.check = (...checks2) => {
12301
- return inst.clone(exports_util.mergeDefs(def, {
12302
- checks: [
12303
- ...def.checks ?? [],
12304
- ...checks2.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
12305
- ]
12306
- }), {
12307
- parent: true
12308
- });
12309
- };
12310
- inst.with = inst.check;
12311
- inst.clone = (def2, params) => clone(inst, def2, params);
12312
- inst.brand = () => inst;
12313
- inst.register = (reg, meta2) => {
12314
- reg.add(inst, meta2);
12315
- return inst;
12316
- };
12317
12864
  inst.parse = (data, params) => parse3(inst, data, params, { callee: inst.parse });
12318
12865
  inst.safeParse = (data, params) => safeParse2(inst, data, params);
12319
12866
  inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
@@ -12327,45 +12874,108 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
12327
12874
  inst.safeDecode = (data, params) => safeDecode2(inst, data, params);
12328
12875
  inst.safeEncodeAsync = async (data, params) => safeEncodeAsync2(inst, data, params);
12329
12876
  inst.safeDecodeAsync = async (data, params) => safeDecodeAsync2(inst, data, params);
12330
- inst.refine = (check, params) => inst.check(refine(check, params));
12331
- inst.superRefine = (refinement) => inst.check(superRefine(refinement));
12332
- inst.overwrite = (fn) => inst.check(_overwrite(fn));
12333
- inst.optional = () => optional(inst);
12334
- inst.exactOptional = () => exactOptional(inst);
12335
- inst.nullable = () => nullable(inst);
12336
- inst.nullish = () => optional(nullable(inst));
12337
- inst.nonoptional = (params) => nonoptional(inst, params);
12338
- inst.array = () => array(inst);
12339
- inst.or = (arg) => union([inst, arg]);
12340
- inst.and = (arg) => intersection(inst, arg);
12341
- inst.transform = (tx) => pipe(inst, transform(tx));
12342
- inst.default = (def2) => _default2(inst, def2);
12343
- inst.prefault = (def2) => prefault(inst, def2);
12344
- inst.catch = (params) => _catch2(inst, params);
12345
- inst.pipe = (target) => pipe(inst, target);
12346
- inst.readonly = () => readonly(inst);
12347
- inst.describe = (description) => {
12348
- const cl = inst.clone();
12349
- globalRegistry.add(cl, { description });
12350
- return cl;
12351
- };
12877
+ _installLazyMethods(inst, "ZodType", {
12878
+ check(...chks) {
12879
+ const def2 = this.def;
12880
+ return this.clone(exports_util.mergeDefs(def2, {
12881
+ checks: [
12882
+ ...def2.checks ?? [],
12883
+ ...chks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
12884
+ ]
12885
+ }), { parent: true });
12886
+ },
12887
+ with(...chks) {
12888
+ return this.check(...chks);
12889
+ },
12890
+ clone(def2, params) {
12891
+ return clone(this, def2, params);
12892
+ },
12893
+ brand() {
12894
+ return this;
12895
+ },
12896
+ register(reg, meta2) {
12897
+ reg.add(this, meta2);
12898
+ return this;
12899
+ },
12900
+ refine(check, params) {
12901
+ return this.check(refine(check, params));
12902
+ },
12903
+ superRefine(refinement, params) {
12904
+ return this.check(superRefine(refinement, params));
12905
+ },
12906
+ overwrite(fn) {
12907
+ return this.check(_overwrite(fn));
12908
+ },
12909
+ optional() {
12910
+ return optional(this);
12911
+ },
12912
+ exactOptional() {
12913
+ return exactOptional(this);
12914
+ },
12915
+ nullable() {
12916
+ return nullable(this);
12917
+ },
12918
+ nullish() {
12919
+ return optional(nullable(this));
12920
+ },
12921
+ nonoptional(params) {
12922
+ return nonoptional(this, params);
12923
+ },
12924
+ array() {
12925
+ return array(this);
12926
+ },
12927
+ or(arg) {
12928
+ return union([this, arg]);
12929
+ },
12930
+ and(arg) {
12931
+ return intersection(this, arg);
12932
+ },
12933
+ transform(tx) {
12934
+ return pipe(this, transform(tx));
12935
+ },
12936
+ default(d) {
12937
+ return _default2(this, d);
12938
+ },
12939
+ prefault(d) {
12940
+ return prefault(this, d);
12941
+ },
12942
+ catch(params) {
12943
+ return _catch2(this, params);
12944
+ },
12945
+ pipe(target) {
12946
+ return pipe(this, target);
12947
+ },
12948
+ readonly() {
12949
+ return readonly(this);
12950
+ },
12951
+ describe(description) {
12952
+ const cl = this.clone();
12953
+ globalRegistry.add(cl, { description });
12954
+ return cl;
12955
+ },
12956
+ meta(...args) {
12957
+ if (args.length === 0)
12958
+ return globalRegistry.get(this);
12959
+ const cl = this.clone();
12960
+ globalRegistry.add(cl, args[0]);
12961
+ return cl;
12962
+ },
12963
+ isOptional() {
12964
+ return this.safeParse(undefined).success;
12965
+ },
12966
+ isNullable() {
12967
+ return this.safeParse(null).success;
12968
+ },
12969
+ apply(fn) {
12970
+ return fn(this);
12971
+ }
12972
+ });
12352
12973
  Object.defineProperty(inst, "description", {
12353
12974
  get() {
12354
12975
  return globalRegistry.get(inst)?.description;
12355
12976
  },
12356
12977
  configurable: true
12357
12978
  });
12358
- inst.meta = (...args) => {
12359
- if (args.length === 0) {
12360
- return globalRegistry.get(inst);
12361
- }
12362
- const cl = inst.clone();
12363
- globalRegistry.add(cl, args[0]);
12364
- return cl;
12365
- };
12366
- inst.isOptional = () => inst.safeParse(undefined).success;
12367
- inst.isNullable = () => inst.safeParse(null).success;
12368
- inst.apply = (fn) => fn(inst);
12369
12979
  return inst;
12370
12980
  });
12371
12981
  var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
@@ -12376,21 +12986,53 @@ var _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
12376
12986
  inst.format = bag.format ?? null;
12377
12987
  inst.minLength = bag.minimum ?? null;
12378
12988
  inst.maxLength = bag.maximum ?? null;
12379
- inst.regex = (...args) => inst.check(_regex(...args));
12380
- inst.includes = (...args) => inst.check(_includes(...args));
12381
- inst.startsWith = (...args) => inst.check(_startsWith(...args));
12382
- inst.endsWith = (...args) => inst.check(_endsWith(...args));
12383
- inst.min = (...args) => inst.check(_minLength(...args));
12384
- inst.max = (...args) => inst.check(_maxLength(...args));
12385
- inst.length = (...args) => inst.check(_length(...args));
12386
- inst.nonempty = (...args) => inst.check(_minLength(1, ...args));
12387
- inst.lowercase = (params) => inst.check(_lowercase(params));
12388
- inst.uppercase = (params) => inst.check(_uppercase(params));
12389
- inst.trim = () => inst.check(_trim());
12390
- inst.normalize = (...args) => inst.check(_normalize(...args));
12391
- inst.toLowerCase = () => inst.check(_toLowerCase());
12392
- inst.toUpperCase = () => inst.check(_toUpperCase());
12393
- inst.slugify = () => inst.check(_slugify());
12989
+ _installLazyMethods(inst, "_ZodString", {
12990
+ regex(...args) {
12991
+ return this.check(_regex(...args));
12992
+ },
12993
+ includes(...args) {
12994
+ return this.check(_includes(...args));
12995
+ },
12996
+ startsWith(...args) {
12997
+ return this.check(_startsWith(...args));
12998
+ },
12999
+ endsWith(...args) {
13000
+ return this.check(_endsWith(...args));
13001
+ },
13002
+ min(...args) {
13003
+ return this.check(_minLength(...args));
13004
+ },
13005
+ max(...args) {
13006
+ return this.check(_maxLength(...args));
13007
+ },
13008
+ length(...args) {
13009
+ return this.check(_length(...args));
13010
+ },
13011
+ nonempty(...args) {
13012
+ return this.check(_minLength(1, ...args));
13013
+ },
13014
+ lowercase(params) {
13015
+ return this.check(_lowercase(params));
13016
+ },
13017
+ uppercase(params) {
13018
+ return this.check(_uppercase(params));
13019
+ },
13020
+ trim() {
13021
+ return this.check(_trim());
13022
+ },
13023
+ normalize(...args) {
13024
+ return this.check(_normalize(...args));
13025
+ },
13026
+ toLowerCase() {
13027
+ return this.check(_toLowerCase());
13028
+ },
13029
+ toUpperCase() {
13030
+ return this.check(_toUpperCase());
13031
+ },
13032
+ slugify() {
13033
+ return this.check(_slugify());
13034
+ }
13035
+ });
12394
13036
  });
12395
13037
  var ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
12396
13038
  $ZodString.init(inst, def);
@@ -12469,7 +13111,7 @@ function url(params) {
12469
13111
  }
12470
13112
  function httpUrl(params) {
12471
13113
  return _url(ZodURL, {
12472
- protocol: /^https?$/,
13114
+ protocol: exports_regexes.httpProtocol,
12473
13115
  hostname: exports_regexes.domain,
12474
13116
  ...exports_util.normalizeParams(params)
12475
13117
  });
@@ -12611,21 +13253,53 @@ var ZodNumber = /* @__PURE__ */ $constructor("ZodNumber", (inst, def) => {
12611
13253
  $ZodNumber.init(inst, def);
12612
13254
  ZodType.init(inst, def);
12613
13255
  inst._zod.processJSONSchema = (ctx, json, params) => numberProcessor(inst, ctx, json, params);
12614
- inst.gt = (value, params) => inst.check(_gt(value, params));
12615
- inst.gte = (value, params) => inst.check(_gte(value, params));
12616
- inst.min = (value, params) => inst.check(_gte(value, params));
12617
- inst.lt = (value, params) => inst.check(_lt(value, params));
12618
- inst.lte = (value, params) => inst.check(_lte(value, params));
12619
- inst.max = (value, params) => inst.check(_lte(value, params));
12620
- inst.int = (params) => inst.check(int(params));
12621
- inst.safe = (params) => inst.check(int(params));
12622
- inst.positive = (params) => inst.check(_gt(0, params));
12623
- inst.nonnegative = (params) => inst.check(_gte(0, params));
12624
- inst.negative = (params) => inst.check(_lt(0, params));
12625
- inst.nonpositive = (params) => inst.check(_lte(0, params));
12626
- inst.multipleOf = (value, params) => inst.check(_multipleOf(value, params));
12627
- inst.step = (value, params) => inst.check(_multipleOf(value, params));
12628
- inst.finite = () => inst;
13256
+ _installLazyMethods(inst, "ZodNumber", {
13257
+ gt(value, params) {
13258
+ return this.check(_gt(value, params));
13259
+ },
13260
+ gte(value, params) {
13261
+ return this.check(_gte(value, params));
13262
+ },
13263
+ min(value, params) {
13264
+ return this.check(_gte(value, params));
13265
+ },
13266
+ lt(value, params) {
13267
+ return this.check(_lt(value, params));
13268
+ },
13269
+ lte(value, params) {
13270
+ return this.check(_lte(value, params));
13271
+ },
13272
+ max(value, params) {
13273
+ return this.check(_lte(value, params));
13274
+ },
13275
+ int(params) {
13276
+ return this.check(int(params));
13277
+ },
13278
+ safe(params) {
13279
+ return this.check(int(params));
13280
+ },
13281
+ positive(params) {
13282
+ return this.check(_gt(0, params));
13283
+ },
13284
+ nonnegative(params) {
13285
+ return this.check(_gte(0, params));
13286
+ },
13287
+ negative(params) {
13288
+ return this.check(_lt(0, params));
13289
+ },
13290
+ nonpositive(params) {
13291
+ return this.check(_lte(0, params));
13292
+ },
13293
+ multipleOf(value, params) {
13294
+ return this.check(_multipleOf(value, params));
13295
+ },
13296
+ step(value, params) {
13297
+ return this.check(_multipleOf(value, params));
13298
+ },
13299
+ finite() {
13300
+ return this;
13301
+ }
13302
+ });
12629
13303
  const bag = inst._zod.bag;
12630
13304
  inst.minValue = Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
12631
13305
  inst.maxValue = Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
@@ -12772,11 +13446,23 @@ var ZodArray = /* @__PURE__ */ $constructor("ZodArray", (inst, def) => {
12772
13446
  ZodType.init(inst, def);
12773
13447
  inst._zod.processJSONSchema = (ctx, json, params) => arrayProcessor(inst, ctx, json, params);
12774
13448
  inst.element = def.element;
12775
- inst.min = (minLength, params) => inst.check(_minLength(minLength, params));
12776
- inst.nonempty = (params) => inst.check(_minLength(1, params));
12777
- inst.max = (maxLength, params) => inst.check(_maxLength(maxLength, params));
12778
- inst.length = (len, params) => inst.check(_length(len, params));
12779
- inst.unwrap = () => inst.element;
13449
+ _installLazyMethods(inst, "ZodArray", {
13450
+ min(n, params) {
13451
+ return this.check(_minLength(n, params));
13452
+ },
13453
+ nonempty(params) {
13454
+ return this.check(_minLength(1, params));
13455
+ },
13456
+ max(n, params) {
13457
+ return this.check(_maxLength(n, params));
13458
+ },
13459
+ length(n, params) {
13460
+ return this.check(_length(n, params));
13461
+ },
13462
+ unwrap() {
13463
+ return this.element;
13464
+ }
13465
+ });
12780
13466
  });
12781
13467
  function array(element, params) {
12782
13468
  return _array(ZodArray, element, params);
@@ -12792,23 +13478,47 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
12792
13478
  exports_util.defineLazy(inst, "shape", () => {
12793
13479
  return def.shape;
12794
13480
  });
12795
- inst.keyof = () => _enum2(Object.keys(inst._zod.def.shape));
12796
- inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall });
12797
- inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
12798
- inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
12799
- inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
12800
- inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
12801
- inst.extend = (incoming) => {
12802
- return exports_util.extend(inst, incoming);
12803
- };
12804
- inst.safeExtend = (incoming) => {
12805
- return exports_util.safeExtend(inst, incoming);
12806
- };
12807
- inst.merge = (other) => exports_util.merge(inst, other);
12808
- inst.pick = (mask) => exports_util.pick(inst, mask);
12809
- inst.omit = (mask) => exports_util.omit(inst, mask);
12810
- inst.partial = (...args) => exports_util.partial(ZodOptional, inst, args[0]);
12811
- inst.required = (...args) => exports_util.required(ZodNonOptional, inst, args[0]);
13481
+ _installLazyMethods(inst, "ZodObject", {
13482
+ keyof() {
13483
+ return _enum2(Object.keys(this._zod.def.shape));
13484
+ },
13485
+ catchall(catchall) {
13486
+ return this.clone({ ...this._zod.def, catchall });
13487
+ },
13488
+ passthrough() {
13489
+ return this.clone({ ...this._zod.def, catchall: unknown() });
13490
+ },
13491
+ loose() {
13492
+ return this.clone({ ...this._zod.def, catchall: unknown() });
13493
+ },
13494
+ strict() {
13495
+ return this.clone({ ...this._zod.def, catchall: never() });
13496
+ },
13497
+ strip() {
13498
+ return this.clone({ ...this._zod.def, catchall: undefined });
13499
+ },
13500
+ extend(incoming) {
13501
+ return exports_util.extend(this, incoming);
13502
+ },
13503
+ safeExtend(incoming) {
13504
+ return exports_util.safeExtend(this, incoming);
13505
+ },
13506
+ merge(other) {
13507
+ return exports_util.merge(this, other);
13508
+ },
13509
+ pick(mask) {
13510
+ return exports_util.pick(this, mask);
13511
+ },
13512
+ omit(mask) {
13513
+ return exports_util.omit(this, mask);
13514
+ },
13515
+ partial(...args) {
13516
+ return exports_util.partial(ZodOptional, this, args[0]);
13517
+ },
13518
+ required(...args) {
13519
+ return exports_util.required(ZodNonOptional, this, args[0]);
13520
+ }
13521
+ });
12812
13522
  });
12813
13523
  function object(shape, params) {
12814
13524
  const def = {
@@ -12913,6 +13623,14 @@ var ZodRecord = /* @__PURE__ */ $constructor("ZodRecord", (inst, def) => {
12913
13623
  inst.valueType = def.valueType;
12914
13624
  });
12915
13625
  function record(keyType, valueType, params) {
13626
+ if (!valueType || !valueType._zod) {
13627
+ return new ZodRecord({
13628
+ type: "record",
13629
+ keyType: string2(),
13630
+ valueType: keyType,
13631
+ ...exports_util.normalizeParams(valueType)
13632
+ });
13633
+ }
12916
13634
  return new ZodRecord({
12917
13635
  type: "record",
12918
13636
  keyType,
@@ -13084,10 +13802,12 @@ var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
13084
13802
  if (output instanceof Promise) {
13085
13803
  return output.then((output2) => {
13086
13804
  payload.value = output2;
13805
+ payload.fallback = true;
13087
13806
  return payload;
13088
13807
  });
13089
13808
  }
13090
13809
  payload.value = output;
13810
+ payload.fallback = true;
13091
13811
  return payload;
13092
13812
  };
13093
13813
  });
@@ -13241,6 +13961,20 @@ function codec(in_, out, params) {
13241
13961
  reverseTransform: params.encode
13242
13962
  });
13243
13963
  }
13964
+ function invertCodec(codec2) {
13965
+ const def = codec2._zod.def;
13966
+ return new ZodCodec({
13967
+ type: "pipe",
13968
+ in: def.out,
13969
+ out: def.in,
13970
+ transform: def.reverseTransform,
13971
+ reverseTransform: def.transform
13972
+ });
13973
+ }
13974
+ var ZodPreprocess = /* @__PURE__ */ $constructor("ZodPreprocess", (inst, def) => {
13975
+ ZodPipe.init(inst, def);
13976
+ $ZodPreprocess.init(inst, def);
13977
+ });
13244
13978
  var ZodReadonly = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
13245
13979
  $ZodReadonly.init(inst, def);
13246
13980
  ZodType.init(inst, def);
@@ -13319,8 +14053,8 @@ function custom(fn, _params) {
13319
14053
  function refine(fn, _params = {}) {
13320
14054
  return _refine(ZodCustom, fn, _params);
13321
14055
  }
13322
- function superRefine(fn) {
13323
- return _superRefine(fn);
14056
+ function superRefine(fn, params) {
14057
+ return _superRefine(fn, params);
13324
14058
  }
13325
14059
  var describe2 = describe;
13326
14060
  var meta2 = meta;
@@ -13358,9 +14092,13 @@ function json(params) {
13358
14092
  return jsonSchema;
13359
14093
  }
13360
14094
  function preprocess(fn, schema) {
13361
- return pipe(transform(fn), schema);
14095
+ return new ZodPreprocess({
14096
+ type: "pipe",
14097
+ in: transform(fn),
14098
+ out: schema
14099
+ });
13362
14100
  }
13363
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/compat.js
14101
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js
13364
14102
  var ZodIssueCode = {
13365
14103
  invalid_type: "invalid_type",
13366
14104
  too_big: "too_big",
@@ -13384,13 +14122,13 @@ function getErrorMap() {
13384
14122
  }
13385
14123
  var ZodFirstPartyTypeKind;
13386
14124
  (function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
13387
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.js
14125
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.js
13388
14126
  var z = {
13389
14127
  ...exports_schemas2,
13390
14128
  ...exports_checks2,
13391
14129
  iso: exports_iso
13392
14130
  };
13393
- var RECOGNIZED_KEYS = new Set([
14131
+ var RECOGNIZED_KEYS = /* @__PURE__ */ new Set([
13394
14132
  "$schema",
13395
14133
  "$ref",
13396
14134
  "$defs",
@@ -13764,12 +14502,6 @@ function convertBaseSchema(schema, ctx) {
13764
14502
  default:
13765
14503
  throw new Error(`Unsupported type: ${type}`);
13766
14504
  }
13767
- if (schema.description) {
13768
- zodSchema = zodSchema.describe(schema.description);
13769
- }
13770
- if (schema.default !== undefined) {
13771
- zodSchema = zodSchema.default(schema.default);
13772
- }
13773
14505
  return zodSchema;
13774
14506
  }
13775
14507
  function convertSchema(schema, ctx) {
@@ -13806,6 +14538,9 @@ function convertSchema(schema, ctx) {
13806
14538
  if (schema.readOnly === true) {
13807
14539
  baseSchema = z.readonly(baseSchema);
13808
14540
  }
14541
+ if (schema.default !== undefined) {
14542
+ baseSchema = baseSchema.default(schema.default);
14543
+ }
13809
14544
  const extraMeta = {};
13810
14545
  const coreMetadataKeys = ["$id", "id", "$comment", "$anchor", "$vocabulary", "$dynamicRef", "$dynamicAnchor"];
13811
14546
  for (const key of coreMetadataKeys) {
@@ -13827,25 +14562,34 @@ function convertSchema(schema, ctx) {
13827
14562
  if (Object.keys(extraMeta).length > 0) {
13828
14563
  ctx.registry.add(baseSchema, extraMeta);
13829
14564
  }
14565
+ if (schema.description) {
14566
+ baseSchema = baseSchema.describe(schema.description);
14567
+ }
13830
14568
  return baseSchema;
13831
14569
  }
13832
14570
  function fromJSONSchema(schema, params) {
13833
14571
  if (typeof schema === "boolean") {
13834
14572
  return schema ? z.any() : z.never();
13835
14573
  }
13836
- const version2 = detectVersion(schema, params?.defaultTarget);
13837
- const defs = schema.$defs || schema.definitions || {};
14574
+ let normalized;
14575
+ try {
14576
+ normalized = JSON.parse(JSON.stringify(schema));
14577
+ } catch {
14578
+ throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas");
14579
+ }
14580
+ const version2 = detectVersion(normalized, params?.defaultTarget);
14581
+ const defs = normalized.$defs || normalized.definitions || {};
13838
14582
  const ctx = {
13839
14583
  version: version2,
13840
14584
  defs,
13841
14585
  refs: new Map,
13842
14586
  processing: new Set,
13843
- rootSchema: schema,
14587
+ rootSchema: normalized,
13844
14588
  registry: params?.registry ?? globalRegistry
13845
14589
  };
13846
- return convertSchema(schema, ctx);
14590
+ return convertSchema(normalized, ctx);
13847
14591
  }
13848
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/coerce.js
14592
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
13849
14593
  var exports_coerce = {};
13850
14594
  __export(exports_coerce, {
13851
14595
  string: () => string3,
@@ -13870,7 +14614,7 @@ function date4(params) {
13870
14614
  return _coercedDate(ZodDate, params);
13871
14615
  }
13872
14616
 
13873
- // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/external.js
14617
+ // ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
13874
14618
  config(en_default());
13875
14619
  // ../shared/src/schemas.ts
13876
14620
  var TaskStatusSchema = exports_external.enum([
@@ -13939,7 +14683,8 @@ var TaskApiBaseSchema = exports_external.object({
13939
14683
  context_key: exports_external.string().nullable().optional(),
13940
14684
  context: exports_external.unknown().nullable().optional(),
13941
14685
  trace_id: exports_external.string().nullable().optional(),
13942
- parent_task_id: exports_external.string().nullable().optional()
14686
+ parent_task_id: exports_external.string().nullable().optional(),
14687
+ channel: exports_external.string().nullable().optional()
13943
14688
  });
13944
14689
  var TaskSenderApiSchema = exports_external.object({
13945
14690
  name: exports_external.string(),
@@ -14242,7 +14987,7 @@ var WorkspaceFileReportSchema = exports_external.object({
14242
14987
  error: exports_external.string().optional(),
14243
14988
  path: exports_external.string()
14244
14989
  });
14245
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/entity.js
14990
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/entity.js
14246
14991
  var entityKind = Symbol.for("drizzle:entityKind");
14247
14992
  var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
14248
14993
  function is(value, type) {
@@ -14267,10 +15012,10 @@ function is(value, type) {
14267
15012
  return false;
14268
15013
  }
14269
15014
 
14270
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/table.utils.js
15015
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/table.utils.js
14271
15016
  var TableName = Symbol.for("drizzle:Name");
14272
15017
 
14273
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/table.js
15018
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/table.js
14274
15019
  var Schema = Symbol.for("drizzle:Schema");
14275
15020
  var Columns = Symbol.for("drizzle:Columns");
14276
15021
  var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
@@ -14308,7 +15053,7 @@ class Table {
14308
15053
  }
14309
15054
  }
14310
15055
 
14311
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/column.js
15056
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/column.js
14312
15057
  class Column {
14313
15058
  constructor(table, config2) {
14314
15059
  this.table = table;
@@ -14358,7 +15103,7 @@ class Column {
14358
15103
  }
14359
15104
  }
14360
15105
 
14361
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/column-builder.js
15106
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/column-builder.js
14362
15107
  class ColumnBuilder {
14363
15108
  static [entityKind] = "ColumnBuilder";
14364
15109
  config;
@@ -14414,17 +15159,17 @@ class ColumnBuilder {
14414
15159
  }
14415
15160
  }
14416
15161
 
14417
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/tracing-utils.js
15162
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/tracing-utils.js
14418
15163
  function iife(fn, ...args) {
14419
15164
  return fn(...args);
14420
15165
  }
14421
15166
 
14422
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/pg-core/unique-constraint.js
15167
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/pg-core/unique-constraint.js
14423
15168
  function uniqueKeyName(table, columns) {
14424
15169
  return `${table[TableName]}_${columns.join("_")}_unique`;
14425
15170
  }
14426
15171
 
14427
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/pg-core/columns/common.js
15172
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/pg-core/columns/common.js
14428
15173
  class PgColumn extends Column {
14429
15174
  constructor(table, config2) {
14430
15175
  if (!config2.uniqueName) {
@@ -14473,7 +15218,7 @@ class ExtraConfigColumn extends PgColumn {
14473
15218
  }
14474
15219
  }
14475
15220
 
14476
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/pg-core/columns/enum.js
15221
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/pg-core/columns/enum.js
14477
15222
  class PgEnumObjectColumn extends PgColumn {
14478
15223
  static [entityKind] = "PgEnumObjectColumn";
14479
15224
  enum;
@@ -14503,7 +15248,7 @@ class PgEnumColumn extends PgColumn {
14503
15248
  }
14504
15249
  }
14505
15250
 
14506
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/subquery.js
15251
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/subquery.js
14507
15252
  class Subquery {
14508
15253
  static [entityKind] = "Subquery";
14509
15254
  constructor(sql, fields, alias, isWith = false, usedTables = []) {
@@ -14518,10 +15263,10 @@ class Subquery {
14518
15263
  }
14519
15264
  }
14520
15265
 
14521
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/version.js
15266
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/version.js
14522
15267
  var version2 = "0.45.2";
14523
15268
 
14524
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/tracing.js
15269
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/tracing.js
14525
15270
  var otel;
14526
15271
  var rawTracer;
14527
15272
  var tracer = {
@@ -14548,10 +15293,10 @@ var tracer = {
14548
15293
  }
14549
15294
  };
14550
15295
 
14551
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/view-common.js
15296
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/view-common.js
14552
15297
  var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
14553
15298
 
14554
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sql/sql.js
15299
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sql/sql.js
14555
15300
  function isSQLWrapper(value) {
14556
15301
  return value !== null && value !== undefined && typeof value.getSQL === "function";
14557
15302
  }
@@ -14911,7 +15656,7 @@ Subquery.prototype.getSQL = function() {
14911
15656
  return new SQL([this]);
14912
15657
  };
14913
15658
 
14914
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/utils.js
15659
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/utils.js
14915
15660
  function getColumnNameAndConfig(a, b) {
14916
15661
  return {
14917
15662
  name: typeof a === "string" && a.length > 0 ? a : "",
@@ -14920,7 +15665,7 @@ function getColumnNameAndConfig(a, b) {
14920
15665
  }
14921
15666
  var textDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder;
14922
15667
 
14923
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/foreign-keys.js
15668
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/foreign-keys.js
14924
15669
  class ForeignKeyBuilder {
14925
15670
  static [entityKind] = "SQLiteForeignKeyBuilder";
14926
15671
  reference;
@@ -14988,7 +15733,7 @@ function foreignKey(config2) {
14988
15733
  return new ForeignKeyBuilder(mappedConfig);
14989
15734
  }
14990
15735
 
14991
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/unique-constraint.js
15736
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/unique-constraint.js
14992
15737
  function uniqueKeyName2(table, columns) {
14993
15738
  return `${table[TableName]}_${columns.join("_")}_unique`;
14994
15739
  }
@@ -15033,7 +15778,7 @@ class UniqueConstraint {
15033
15778
  }
15034
15779
  }
15035
15780
 
15036
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/common.js
15781
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/common.js
15037
15782
  class SQLiteColumnBuilder extends ColumnBuilder {
15038
15783
  static [entityKind] = "SQLiteColumnBuilder";
15039
15784
  foreignKeyConfigs = [];
@@ -15084,7 +15829,7 @@ class SQLiteColumn extends Column {
15084
15829
  static [entityKind] = "SQLiteColumn";
15085
15830
  }
15086
15831
 
15087
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/blob.js
15832
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/blob.js
15088
15833
  class SQLiteBigIntBuilder extends SQLiteColumnBuilder {
15089
15834
  static [entityKind] = "SQLiteBigIntBuilder";
15090
15835
  constructor(name) {
@@ -15172,7 +15917,7 @@ function blob(a, b) {
15172
15917
  return new SQLiteBlobBufferBuilder(name);
15173
15918
  }
15174
15919
 
15175
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/custom.js
15920
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/custom.js
15176
15921
  class SQLiteCustomColumnBuilder extends SQLiteColumnBuilder {
15177
15922
  static [entityKind] = "SQLiteCustomColumnBuilder";
15178
15923
  constructor(name, fieldConfig, customTypeParams) {
@@ -15213,7 +15958,7 @@ function customType(customTypeParams) {
15213
15958
  };
15214
15959
  }
15215
15960
 
15216
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/integer.js
15961
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/integer.js
15217
15962
  class SQLiteBaseIntegerBuilder extends SQLiteColumnBuilder {
15218
15963
  static [entityKind] = "SQLiteBaseIntegerBuilder";
15219
15964
  constructor(name, dataType, columnType) {
@@ -15315,7 +16060,7 @@ function integer2(a, b) {
15315
16060
  return new SQLiteIntegerBuilder(name);
15316
16061
  }
15317
16062
 
15318
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/numeric.js
16063
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/numeric.js
15319
16064
  class SQLiteNumericBuilder extends SQLiteColumnBuilder {
15320
16065
  static [entityKind] = "SQLiteNumericBuilder";
15321
16066
  constructor(name) {
@@ -15385,7 +16130,7 @@ function numeric(a, b) {
15385
16130
  return mode === "number" ? new SQLiteNumericNumberBuilder(name) : mode === "bigint" ? new SQLiteNumericBigIntBuilder(name) : new SQLiteNumericBuilder(name);
15386
16131
  }
15387
16132
 
15388
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/real.js
16133
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/real.js
15389
16134
  class SQLiteRealBuilder extends SQLiteColumnBuilder {
15390
16135
  static [entityKind] = "SQLiteRealBuilder";
15391
16136
  constructor(name) {
@@ -15406,7 +16151,7 @@ function real(name) {
15406
16151
  return new SQLiteRealBuilder(name ?? "");
15407
16152
  }
15408
16153
 
15409
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/text.js
16154
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/text.js
15410
16155
  class SQLiteTextBuilder extends SQLiteColumnBuilder {
15411
16156
  static [entityKind] = "SQLiteTextBuilder";
15412
16157
  constructor(name, config2) {
@@ -15461,7 +16206,7 @@ function text(a, b = {}) {
15461
16206
  return new SQLiteTextBuilder(name, config2);
15462
16207
  }
15463
16208
 
15464
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/all.js
16209
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/columns/all.js
15465
16210
  function getSQLiteColumnBuilders() {
15466
16211
  return {
15467
16212
  blob,
@@ -15473,7 +16218,7 @@ function getSQLiteColumnBuilders() {
15473
16218
  };
15474
16219
  }
15475
16220
 
15476
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/table.js
16221
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/table.js
15477
16222
  var InlineForeignKeys = Symbol.for("drizzle:SQLiteInlineForeignKeys");
15478
16223
 
15479
16224
  class SQLiteTable extends Table {
@@ -15507,7 +16252,7 @@ var sqliteTable = (name, columns, extraConfig) => {
15507
16252
  return sqliteTableBase(name, columns, extraConfig);
15508
16253
  };
15509
16254
 
15510
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/indexes.js
16255
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/indexes.js
15511
16256
  class IndexBuilderOn {
15512
16257
  constructor(name, unique2) {
15513
16258
  this.name = name;
@@ -15550,7 +16295,7 @@ function index(name) {
15550
16295
  return new IndexBuilderOn(name, false);
15551
16296
  }
15552
16297
 
15553
- // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260426.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/primary-keys.js
16298
+ // ../../node_modules/.pnpm/drizzle-orm@0.45.2_@cloudflare+workers-types@4.20260504.1_@opentelemetry+api@1.9.1_bun-types@1.3.13_kysely@0.28.16/node_modules/drizzle-orm/sqlite-core/primary-keys.js
15554
16299
  function primaryKey(...config2) {
15555
16300
  if (config2[0].columns) {
15556
16301
  return new PrimaryKeyBuilder(config2[0].columns, config2[0].name);
@@ -15585,17 +16330,19 @@ class PrimaryKey {
15585
16330
  }
15586
16331
  }
15587
16332
 
15588
- // ../../node_modules/.pnpm/nanoid@5.1.9/node_modules/nanoid/index.js
16333
+ // ../../node_modules/.pnpm/nanoid@5.1.11/node_modules/nanoid/index.js
15589
16334
  import { webcrypto as crypto } from "node:crypto";
15590
16335
 
15591
- // ../../node_modules/.pnpm/nanoid@5.1.9/node_modules/nanoid/url-alphabet/index.js
16336
+ // ../../node_modules/.pnpm/nanoid@5.1.11/node_modules/nanoid/url-alphabet/index.js
15592
16337
  var urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
15593
16338
 
15594
- // ../../node_modules/.pnpm/nanoid@5.1.9/node_modules/nanoid/index.js
16339
+ // ../../node_modules/.pnpm/nanoid@5.1.11/node_modules/nanoid/index.js
15595
16340
  var POOL_SIZE_MULTIPLIER = 128;
15596
16341
  var pool;
15597
16342
  var poolOffset;
15598
16343
  function fillPool(bytes) {
16344
+ if (bytes < 0 || bytes > 1024)
16345
+ throw new RangeError("Wrong ID size");
15599
16346
  if (!pool || pool.length < bytes) {
15600
16347
  pool = Buffer.allocUnsafe(bytes * POOL_SIZE_MULTIPLIER);
15601
16348
  crypto.getRandomValues(pool);
@@ -16143,9 +16890,9 @@ class DaemonClient {
16143
16890
  completeTask(token, taskId, body) {
16144
16891
  return this.request("POST", `/api/daemon/tasks/${taskId}/complete`, token, body);
16145
16892
  }
16146
- failTask(token, taskId, error48) {
16893
+ failTask(token, taskId, error51) {
16147
16894
  return this.request("POST", `/api/daemon/tasks/${taskId}/fail`, token, {
16148
- error: error48
16895
+ error: error51
16149
16896
  });
16150
16897
  }
16151
16898
  supersedeTask(token, taskId) {
@@ -16375,7 +17122,8 @@ function fromApiTask(api2) {
16375
17122
  repos: undefined,
16376
17123
  createdAt: api2.created_at,
16377
17124
  traceId: api2.trace_id ?? null,
16378
- parentTaskId: api2.parent_task_id ?? null
17125
+ parentTaskId: api2.parent_task_id ?? null,
17126
+ channel: api2.channel ?? null
16379
17127
  };
16380
17128
  }
16381
17129
 
@@ -16941,10 +17689,10 @@ function pruneSessionRunnerLogs() {
16941
17689
  } catch {}
16942
17690
  }
16943
17691
  }
16944
- function isClientError(error48) {
16945
- if (!(error48 instanceof Error))
17692
+ function isClientError(error51) {
17693
+ if (!(error51 instanceof Error))
16946
17694
  return false;
16947
- const match = error48.message.match(/^HTTP (\d+):/);
17695
+ const match = error51.message.match(/^HTTP (\d+):/);
16948
17696
  if (!match)
16949
17697
  return false;
16950
17698
  const status = Number(match[1]);