@tryvira/opencode 0.1.78 → 0.1.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +101 -96
  2. package/dist/server.js +101 -96
  3. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -1117,6 +1117,9 @@ var ViraClient = class {
1117
1117
  resolveRuntime(input2) {
1118
1118
  if (!input2.behaviorPoint && !input2.executionBoundary && !input2.semanticContext)
1119
1119
  throw new Error("SDK_RUNTIME_ROUTE_REQUIRED");
1120
+ const idempotencyKey = input2.idempotencyKey ?? `sdk:resolve:${globalThis.crypto.randomUUID()}`;
1121
+ if (!idempotencyKey.trim() || idempotencyKey !== idempotencyKey.trim())
1122
+ throw new Error("SDK_IDEMPOTENCY_KEY_INVALID");
1120
1123
  return this.request(
1121
1124
  {
1122
1125
  method: "POST",
@@ -1129,7 +1132,9 @@ var ViraClient = class {
1129
1132
  }
1130
1133
  },
1131
1134
  {
1132
- idempotencyKey: input2.idempotencyKey ?? `sdk:resolve:${input2.behaviorPoint ?? "boundary"}`,
1135
+ // One key per logical invocation: transport retries reuse this value,
1136
+ // while a later call for the same BehaviorPoint is billed separately.
1137
+ idempotencyKey,
1133
1138
  enforcing: true
1134
1139
  }
1135
1140
  );
@@ -2469,7 +2474,7 @@ function createViraHostRuntime(client, config2) {
2469
2474
  // ../runtime/src/accelerator-v4/composite-hook-session.ts
2470
2475
  import { createHash as createHash2, createHmac } from "node:crypto";
2471
2476
 
2472
- // ../../../../../opt/vira/node_modules/zod/v4/classic/external.js
2477
+ // ../../node_modules/zod/v4/classic/external.js
2473
2478
  var external_exports = {};
2474
2479
  __export(external_exports, {
2475
2480
  $brand: () => $brand,
@@ -2732,7 +2737,7 @@ __export(external_exports, {
2732
2737
  xor: () => xor
2733
2738
  });
2734
2739
 
2735
- // ../../../../../opt/vira/node_modules/zod/v4/core/index.js
2740
+ // ../../node_modules/zod/v4/core/index.js
2736
2741
  var core_exports2 = {};
2737
2742
  __export(core_exports2, {
2738
2743
  $ZodAny: () => $ZodAny,
@@ -3049,7 +3054,7 @@ __export(core_exports2, {
3049
3054
  withParser: () => withParser
3050
3055
  });
3051
3056
 
3052
- // ../../../../../opt/vira/node_modules/zod/v4/core/util.js
3057
+ // ../../node_modules/zod/v4/core/util.js
3053
3058
  var util_exports = {};
3054
3059
  __export(util_exports, {
3055
3060
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -3905,7 +3910,7 @@ function constantCatch(value) {
3905
3910
  return fn;
3906
3911
  }
3907
3912
 
3908
- // ../../../../../opt/vira/node_modules/zod/v4/core/core.js
3913
+ // ../../node_modules/zod/v4/core/core.js
3909
3914
  var _a;
3910
3915
  var NEVER = /* @__PURE__ */ Object.freeze({
3911
3916
  status: "aborted"
@@ -4027,7 +4032,7 @@ function config(newConfig) {
4027
4032
  return globalConfig;
4028
4033
  }
4029
4034
 
4030
- // ../../../../../opt/vira/node_modules/zod/v4/core/errors.js
4035
+ // ../../node_modules/zod/v4/core/errors.js
4031
4036
  function _getMessage() {
4032
4037
  const internals = this._zod;
4033
4038
  internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
@@ -4219,7 +4224,7 @@ function prettifyError(error62) {
4219
4224
  return lines.join("\n");
4220
4225
  }
4221
4226
 
4222
- // ../../../../../opt/vira/node_modules/zod/v4/core/parse.js
4227
+ // ../../node_modules/zod/v4/core/parse.js
4223
4228
  function finalizeParams(callee, params) {
4224
4229
  return { callee: params?.callee ?? callee, Err: params?.Err };
4225
4230
  }
@@ -4379,7 +4384,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
4379
4384
  };
4380
4385
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
4381
4386
 
4382
- // ../../../../../opt/vira/node_modules/zod/v4/core/regexes.js
4387
+ // ../../node_modules/zod/v4/core/regexes.js
4383
4388
  var regexes_exports = {};
4384
4389
  __export(regexes_exports, {
4385
4390
  anyString: () => anyString,
@@ -4551,7 +4556,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
4551
4556
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
4552
4557
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
4553
4558
 
4554
- // ../../../../../opt/vira/node_modules/zod/v4/core/checks.js
4559
+ // ../../node_modules/zod/v4/core/checks.js
4555
4560
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
4556
4561
  var _a3;
4557
4562
  inst._zod ?? (inst._zod = {});
@@ -5027,7 +5032,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
5027
5032
  };
5028
5033
  });
5029
5034
 
5030
- // ../../../../../opt/vira/node_modules/zod/v4/core/doc.js
5035
+ // ../../node_modules/zod/v4/core/doc.js
5031
5036
  var Doc = class {
5032
5037
  constructor(args = [], closed = {}) {
5033
5038
  this.content = [];
@@ -5068,14 +5073,14 @@ ${content.join("\n")}
5068
5073
  }
5069
5074
  };
5070
5075
 
5071
- // ../../../../../opt/vira/node_modules/zod/v4/core/versions.js
5076
+ // ../../node_modules/zod/v4/core/versions.js
5072
5077
  var version = {
5073
5078
  major: 4,
5074
5079
  minor: 6,
5075
5080
  patch: 7
5076
5081
  };
5077
5082
 
5078
- // ../../../../../opt/vira/node_modules/zod/v4/core/schemas.js
5083
+ // ../../node_modules/zod/v4/core/schemas.js
5079
5084
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
5080
5085
  var _a3;
5081
5086
  inst ?? (inst = {});
@@ -7517,7 +7522,7 @@ function handleRefineResult(result, payload, input2, inst) {
7517
7522
  }
7518
7523
  }
7519
7524
 
7520
- // ../../../../../opt/vira/node_modules/zod/v4/core/memoizer.js
7525
+ // ../../node_modules/zod/v4/core/memoizer.js
7521
7526
  var $ZodCyclicError = class extends Error {
7522
7527
  constructor() {
7523
7528
  super(`Cannot parse a reference cycle that closes through a transform`);
@@ -7794,7 +7799,7 @@ function isBackEdge(ctx, value) {
7794
7799
  return backEdges !== void 0 && isRef(value) && backEdges.has(value);
7795
7800
  }
7796
7801
 
7797
- // ../../../../../opt/vira/node_modules/zod/v4/locales/index.js
7802
+ // ../../node_modules/zod/v4/locales/index.js
7798
7803
  var locales_exports = {};
7799
7804
  __export(locales_exports, {
7800
7805
  ar: () => ar_default,
@@ -7862,7 +7867,7 @@ __export(locales_exports, {
7862
7867
  zhTW: () => zh_TW_default
7863
7868
  });
7864
7869
 
7865
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ar.js
7870
+ // ../../node_modules/zod/v4/locales/ar.js
7866
7871
  var error = () => {
7867
7872
  const Sizable = {
7868
7873
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -7974,7 +7979,7 @@ function ar_default() {
7974
7979
  };
7975
7980
  }
7976
7981
 
7977
- // ../../../../../opt/vira/node_modules/zod/v4/locales/az.js
7982
+ // ../../node_modules/zod/v4/locales/az.js
7978
7983
  var error2 = () => {
7979
7984
  const Sizable = {
7980
7985
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -8085,7 +8090,7 @@ function az_default() {
8085
8090
  };
8086
8091
  }
8087
8092
 
8088
- // ../../../../../opt/vira/node_modules/zod/v4/locales/be.js
8093
+ // ../../node_modules/zod/v4/locales/be.js
8089
8094
  function getBelarusianPlural(count, one, few, many) {
8090
8095
  const absCount = Math.abs(count);
8091
8096
  const lastDigit = absCount % 10;
@@ -8254,7 +8259,7 @@ function be_default() {
8254
8259
  };
8255
8260
  }
8256
8261
 
8257
- // ../../../../../opt/vira/node_modules/zod/v4/locales/bg.js
8262
+ // ../../node_modules/zod/v4/locales/bg.js
8258
8263
  var error4 = () => {
8259
8264
  const Sizable = {
8260
8265
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -8380,7 +8385,7 @@ function bg_default() {
8380
8385
  };
8381
8386
  }
8382
8387
 
8383
- // ../../../../../opt/vira/node_modules/zod/v4/locales/bn.js
8388
+ // ../../node_modules/zod/v4/locales/bn.js
8384
8389
  var error5 = () => {
8385
8390
  const Sizable = {
8386
8391
  string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
@@ -8494,7 +8499,7 @@ function bn_default() {
8494
8499
  };
8495
8500
  }
8496
8501
 
8497
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ca.js
8502
+ // ../../node_modules/zod/v4/locales/ca.js
8498
8503
  var error6 = () => {
8499
8504
  const Sizable = {
8500
8505
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -8608,7 +8613,7 @@ function ca_default() {
8608
8613
  };
8609
8614
  }
8610
8615
 
8611
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ckb.js
8616
+ // ../../node_modules/zod/v4/locales/ckb.js
8612
8617
  var error7 = () => {
8613
8618
  const Sizable = {
8614
8619
  string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
@@ -8741,7 +8746,7 @@ function ckb_default() {
8741
8746
  };
8742
8747
  }
8743
8748
 
8744
- // ../../../../../opt/vira/node_modules/zod/v4/locales/cs.js
8749
+ // ../../node_modules/zod/v4/locales/cs.js
8745
8750
  var error8 = () => {
8746
8751
  const Sizable = {
8747
8752
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -8858,7 +8863,7 @@ function cs_default() {
8858
8863
  };
8859
8864
  }
8860
8865
 
8861
- // ../../../../../opt/vira/node_modules/zod/v4/locales/da.js
8866
+ // ../../node_modules/zod/v4/locales/da.js
8862
8867
  var error9 = () => {
8863
8868
  const Sizable = {
8864
8869
  string: { unit: "tegn", verb: "havde" },
@@ -8979,7 +8984,7 @@ function da_default() {
8979
8984
  };
8980
8985
  }
8981
8986
 
8982
- // ../../../../../opt/vira/node_modules/zod/v4/locales/de.js
8987
+ // ../../node_modules/zod/v4/locales/de.js
8983
8988
  var error10 = () => {
8984
8989
  const Sizable = {
8985
8990
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -9093,7 +9098,7 @@ function de_default() {
9093
9098
  };
9094
9099
  }
9095
9100
 
9096
- // ../../../../../opt/vira/node_modules/zod/v4/locales/el.js
9101
+ // ../../node_modules/zod/v4/locales/el.js
9097
9102
  var error11 = () => {
9098
9103
  const Sizable = {
9099
9104
  string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
@@ -9206,7 +9211,7 @@ function el_default() {
9206
9211
  };
9207
9212
  }
9208
9213
 
9209
- // ../../../../../opt/vira/node_modules/zod/v4/locales/en.js
9214
+ // ../../node_modules/zod/v4/locales/en.js
9210
9215
  var error12 = () => {
9211
9216
  const Sizable = {
9212
9217
  string: { unit: "characters", verb: "to have" },
@@ -9331,7 +9336,7 @@ function en_default() {
9331
9336
  };
9332
9337
  }
9333
9338
 
9334
- // ../../../../../opt/vira/node_modules/zod/v4/locales/eo.js
9339
+ // ../../node_modules/zod/v4/locales/eo.js
9335
9340
  var error13 = () => {
9336
9341
  const Sizable = {
9337
9342
  string: { unit: "karaktrojn", verb: "havi" },
@@ -9446,7 +9451,7 @@ function eo_default() {
9446
9451
  };
9447
9452
  }
9448
9453
 
9449
- // ../../../../../opt/vira/node_modules/zod/v4/locales/es.js
9454
+ // ../../node_modules/zod/v4/locales/es.js
9450
9455
  var error14 = () => {
9451
9456
  const Sizable = {
9452
9457
  string: { unit: "caracteres", verb: "tener" },
@@ -9583,7 +9588,7 @@ function es_default() {
9583
9588
  };
9584
9589
  }
9585
9590
 
9586
- // ../../../../../opt/vira/node_modules/zod/v4/locales/fa.js
9591
+ // ../../node_modules/zod/v4/locales/fa.js
9587
9592
  var error15 = () => {
9588
9593
  const Sizable = {
9589
9594
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -9703,7 +9708,7 @@ function fa_default() {
9703
9708
  };
9704
9709
  }
9705
9710
 
9706
- // ../../../../../opt/vira/node_modules/zod/v4/locales/fi.js
9711
+ // ../../node_modules/zod/v4/locales/fi.js
9707
9712
  var error16 = () => {
9708
9713
  const Sizable = {
9709
9714
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -9821,7 +9826,7 @@ function fi_default() {
9821
9826
  };
9822
9827
  }
9823
9828
 
9824
- // ../../../../../opt/vira/node_modules/zod/v4/locales/fr.js
9829
+ // ../../node_modules/zod/v4/locales/fr.js
9825
9830
  var error17 = () => {
9826
9831
  const Sizable = {
9827
9832
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -9951,7 +9956,7 @@ function fr_default() {
9951
9956
  };
9952
9957
  }
9953
9958
 
9954
- // ../../../../../opt/vira/node_modules/zod/v4/locales/fr-CA.js
9959
+ // ../../node_modules/zod/v4/locales/fr-CA.js
9955
9960
  var error18 = () => {
9956
9961
  const Sizable = {
9957
9962
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -10064,7 +10069,7 @@ function fr_CA_default() {
10064
10069
  };
10065
10070
  }
10066
10071
 
10067
- // ../../../../../opt/vira/node_modules/zod/v4/locales/gu.js
10072
+ // ../../node_modules/zod/v4/locales/gu.js
10068
10073
  var error19 = () => {
10069
10074
  const Sizable = {
10070
10075
  string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
@@ -10178,7 +10183,7 @@ function gu_default() {
10178
10183
  };
10179
10184
  }
10180
10185
 
10181
- // ../../../../../opt/vira/node_modules/zod/v4/locales/he.js
10186
+ // ../../node_modules/zod/v4/locales/he.js
10182
10187
  var error20 = () => {
10183
10188
  const TypeNames = {
10184
10189
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -10380,7 +10385,7 @@ function he_default() {
10380
10385
  };
10381
10386
  }
10382
10387
 
10383
- // ../../../../../opt/vira/node_modules/zod/v4/locales/hi.js
10388
+ // ../../node_modules/zod/v4/locales/hi.js
10384
10389
  var error21 = () => {
10385
10390
  const Sizable = {
10386
10391
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
@@ -10492,7 +10497,7 @@ function hi_default() {
10492
10497
  };
10493
10498
  }
10494
10499
 
10495
- // ../../../../../opt/vira/node_modules/zod/v4/locales/hr.js
10500
+ // ../../node_modules/zod/v4/locales/hr.js
10496
10501
  var error22 = () => {
10497
10502
  const Sizable = {
10498
10503
  string: { unit: "znakova", verb: "imati" },
@@ -10619,7 +10624,7 @@ function hr_default() {
10619
10624
  };
10620
10625
  }
10621
10626
 
10622
- // ../../../../../opt/vira/node_modules/zod/v4/locales/hu.js
10627
+ // ../../node_modules/zod/v4/locales/hu.js
10623
10628
  var error23 = () => {
10624
10629
  const Sizable = {
10625
10630
  string: { unit: "karakter", verb: "legyen" },
@@ -10733,7 +10738,7 @@ function hu_default() {
10733
10738
  };
10734
10739
  }
10735
10740
 
10736
- // ../../../../../opt/vira/node_modules/zod/v4/locales/hy.js
10741
+ // ../../node_modules/zod/v4/locales/hy.js
10737
10742
  function getArmenianPlural(count, one, many) {
10738
10743
  return Math.abs(count) === 1 ? one : many;
10739
10744
  }
@@ -10892,7 +10897,7 @@ function hy_default() {
10892
10897
  };
10893
10898
  }
10894
10899
 
10895
- // ../../../../../opt/vira/node_modules/zod/v4/locales/id.js
10900
+ // ../../node_modules/zod/v4/locales/id.js
10896
10901
  var error25 = () => {
10897
10902
  const Sizable = {
10898
10903
  string: { unit: "karakter", verb: "memiliki" },
@@ -11004,7 +11009,7 @@ function id_default() {
11004
11009
  };
11005
11010
  }
11006
11011
 
11007
- // ../../../../../opt/vira/node_modules/zod/v4/locales/is.js
11012
+ // ../../node_modules/zod/v4/locales/is.js
11008
11013
  var error26 = () => {
11009
11014
  const Sizable = {
11010
11015
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -11119,7 +11124,7 @@ function is_default() {
11119
11124
  };
11120
11125
  }
11121
11126
 
11122
- // ../../../../../opt/vira/node_modules/zod/v4/locales/it.js
11127
+ // ../../node_modules/zod/v4/locales/it.js
11123
11128
  var error27 = () => {
11124
11129
  const Sizable = {
11125
11130
  string: { unit: "caratteri", verb: "avere" },
@@ -11233,7 +11238,7 @@ function it_default() {
11233
11238
  };
11234
11239
  }
11235
11240
 
11236
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ja.js
11241
+ // ../../node_modules/zod/v4/locales/ja.js
11237
11242
  var error28 = () => {
11238
11243
  const Sizable = {
11239
11244
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -11346,7 +11351,7 @@ function ja_default() {
11346
11351
  };
11347
11352
  }
11348
11353
 
11349
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ka.js
11354
+ // ../../node_modules/zod/v4/locales/ka.js
11350
11355
  var error29 = () => {
11351
11356
  const Sizable = {
11352
11357
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -11464,7 +11469,7 @@ function ka_default() {
11464
11469
  };
11465
11470
  }
11466
11471
 
11467
- // ../../../../../opt/vira/node_modules/zod/v4/locales/km.js
11472
+ // ../../node_modules/zod/v4/locales/km.js
11468
11473
  var error30 = () => {
11469
11474
  const Sizable = {
11470
11475
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -11580,12 +11585,12 @@ function km_default() {
11580
11585
  };
11581
11586
  }
11582
11587
 
11583
- // ../../../../../opt/vira/node_modules/zod/v4/locales/kh.js
11588
+ // ../../node_modules/zod/v4/locales/kh.js
11584
11589
  function kh_default() {
11585
11590
  return km_default();
11586
11591
  }
11587
11592
 
11588
- // ../../../../../opt/vira/node_modules/zod/v4/locales/kn.js
11593
+ // ../../node_modules/zod/v4/locales/kn.js
11589
11594
  var error31 = () => {
11590
11595
  const Sizable = {
11591
11596
  string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
@@ -11701,7 +11706,7 @@ function kn_default() {
11701
11706
  };
11702
11707
  }
11703
11708
 
11704
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ko.js
11709
+ // ../../node_modules/zod/v4/locales/ko.js
11705
11710
  var error32 = () => {
11706
11711
  const Sizable = {
11707
11712
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -11818,7 +11823,7 @@ function ko_default() {
11818
11823
  };
11819
11824
  }
11820
11825
 
11821
- // ../../../../../opt/vira/node_modules/zod/v4/locales/lt.js
11826
+ // ../../node_modules/zod/v4/locales/lt.js
11822
11827
  var capitalizeFirstCharacter = (text3) => {
11823
11828
  return text3.charAt(0).toUpperCase() + text3.slice(1);
11824
11829
  };
@@ -12026,7 +12031,7 @@ function lt_default() {
12026
12031
  };
12027
12032
  }
12028
12033
 
12029
- // ../../../../../opt/vira/node_modules/zod/v4/locales/mk.js
12034
+ // ../../node_modules/zod/v4/locales/mk.js
12030
12035
  var error34 = () => {
12031
12036
  const Sizable = {
12032
12037
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -12141,7 +12146,7 @@ function mk_default() {
12141
12146
  };
12142
12147
  }
12143
12148
 
12144
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ms.js
12149
+ // ../../node_modules/zod/v4/locales/ms.js
12145
12150
  var error35 = () => {
12146
12151
  const Sizable = {
12147
12152
  string: { unit: "aksara", verb: "mempunyai" },
@@ -12254,7 +12259,7 @@ function ms_default() {
12254
12259
  };
12255
12260
  }
12256
12261
 
12257
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ne.js
12262
+ // ../../node_modules/zod/v4/locales/ne.js
12258
12263
  var error36 = () => {
12259
12264
  const Sizable = {
12260
12265
  string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
@@ -12366,7 +12371,7 @@ function ne_default() {
12366
12371
  };
12367
12372
  }
12368
12373
 
12369
- // ../../../../../opt/vira/node_modules/zod/v4/locales/nl.js
12374
+ // ../../node_modules/zod/v4/locales/nl.js
12370
12375
  var error37 = () => {
12371
12376
  const Sizable = {
12372
12377
  string: { unit: "tekens", verb: "heeft" },
@@ -12482,7 +12487,7 @@ function nl_default() {
12482
12487
  };
12483
12488
  }
12484
12489
 
12485
- // ../../../../../opt/vira/node_modules/zod/v4/locales/nn.js
12490
+ // ../../node_modules/zod/v4/locales/nn.js
12486
12491
  var error38 = () => {
12487
12492
  const Sizable = {
12488
12493
  string: { unit: "teikn", verb: "\xE5 ha" },
@@ -12596,7 +12601,7 @@ function nn_default() {
12596
12601
  };
12597
12602
  }
12598
12603
 
12599
- // ../../../../../opt/vira/node_modules/zod/v4/locales/no.js
12604
+ // ../../node_modules/zod/v4/locales/no.js
12600
12605
  var error39 = () => {
12601
12606
  const Sizable = {
12602
12607
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -12710,7 +12715,7 @@ function no_default() {
12710
12715
  };
12711
12716
  }
12712
12717
 
12713
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ota.js
12718
+ // ../../node_modules/zod/v4/locales/ota.js
12714
12719
  var error40 = () => {
12715
12720
  const Sizable = {
12716
12721
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -12825,7 +12830,7 @@ function ota_default() {
12825
12830
  };
12826
12831
  }
12827
12832
 
12828
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ps.js
12833
+ // ../../node_modules/zod/v4/locales/ps.js
12829
12834
  var error41 = () => {
12830
12835
  const Sizable = {
12831
12836
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -12945,7 +12950,7 @@ function ps_default() {
12945
12950
  };
12946
12951
  }
12947
12952
 
12948
- // ../../../../../opt/vira/node_modules/zod/v4/locales/pl.js
12953
+ // ../../node_modules/zod/v4/locales/pl.js
12949
12954
  var error42 = () => {
12950
12955
  const Sizable = {
12951
12956
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -13060,7 +13065,7 @@ function pl_default() {
13060
13065
  };
13061
13066
  }
13062
13067
 
13063
- // ../../../../../opt/vira/node_modules/zod/v4/locales/pt.js
13068
+ // ../../node_modules/zod/v4/locales/pt.js
13064
13069
  var error43 = () => {
13065
13070
  const Sizable = {
13066
13071
  string: { unit: "caracteres" },
@@ -13204,7 +13209,7 @@ function pt_default() {
13204
13209
  };
13205
13210
  }
13206
13211
 
13207
- // ../../../../../opt/vira/node_modules/zod/v4/locales/pt-BR.js
13212
+ // ../../node_modules/zod/v4/locales/pt-BR.js
13208
13213
  var error44 = () => {
13209
13214
  const Sizable = {
13210
13215
  string: { unit: "caracteres" },
@@ -13349,7 +13354,7 @@ function pt_BR_default() {
13349
13354
  };
13350
13355
  }
13351
13356
 
13352
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ro.js
13357
+ // ../../node_modules/zod/v4/locales/ro.js
13353
13358
  var error45 = () => {
13354
13359
  const Sizable = {
13355
13360
  string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
@@ -13472,7 +13477,7 @@ function ro_default() {
13472
13477
  };
13473
13478
  }
13474
13479
 
13475
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ru.js
13480
+ // ../../node_modules/zod/v4/locales/ru.js
13476
13481
  function getRussianPlural(count, one, few, many) {
13477
13482
  const absCount = Math.abs(count);
13478
13483
  const lastDigit = absCount % 10;
@@ -13641,7 +13646,7 @@ function ru_default() {
13641
13646
  };
13642
13647
  }
13643
13648
 
13644
- // ../../../../../opt/vira/node_modules/zod/v4/locales/sk.js
13649
+ // ../../node_modules/zod/v4/locales/sk.js
13645
13650
  var error47 = () => {
13646
13651
  const Sizable = {
13647
13652
  string: { unit: "znakov", verb: "ma\u0165" },
@@ -13758,7 +13763,7 @@ function sk_default() {
13758
13763
  };
13759
13764
  }
13760
13765
 
13761
- // ../../../../../opt/vira/node_modules/zod/v4/locales/sl.js
13766
+ // ../../node_modules/zod/v4/locales/sl.js
13762
13767
  var error48 = () => {
13763
13768
  const Sizable = {
13764
13769
  string: { unit: "znakov", verb: "imeti" },
@@ -13873,7 +13878,7 @@ function sl_default() {
13873
13878
  };
13874
13879
  }
13875
13880
 
13876
- // ../../../../../opt/vira/node_modules/zod/v4/locales/sv.js
13881
+ // ../../node_modules/zod/v4/locales/sv.js
13877
13882
  var error49 = () => {
13878
13883
  const Sizable = {
13879
13884
  string: { unit: "tecken", verb: "att ha" },
@@ -13989,7 +13994,7 @@ function sv_default() {
13989
13994
  };
13990
13995
  }
13991
13996
 
13992
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ta.js
13997
+ // ../../node_modules/zod/v4/locales/ta.js
13993
13998
  var error50 = () => {
13994
13999
  const Sizable = {
13995
14000
  string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
@@ -14105,7 +14110,7 @@ function ta_default() {
14105
14110
  };
14106
14111
  }
14107
14112
 
14108
- // ../../../../../opt/vira/node_modules/zod/v4/locales/tg.js
14113
+ // ../../node_modules/zod/v4/locales/tg.js
14109
14114
  var error51 = () => {
14110
14115
  const Sizable = {
14111
14116
  string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
@@ -14222,7 +14227,7 @@ function tg_default() {
14222
14227
  };
14223
14228
  }
14224
14229
 
14225
- // ../../../../../opt/vira/node_modules/zod/v4/locales/th.js
14230
+ // ../../node_modules/zod/v4/locales/th.js
14226
14231
  var error52 = () => {
14227
14232
  const Sizable = {
14228
14233
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -14338,7 +14343,7 @@ function th_default() {
14338
14343
  };
14339
14344
  }
14340
14345
 
14341
- // ../../../../../opt/vira/node_modules/zod/v4/locales/tk.js
14346
+ // ../../node_modules/zod/v4/locales/tk.js
14342
14347
  var error53 = () => {
14343
14348
  const Sizable = {
14344
14349
  string: { unit: "simwol", verb: "bolmaly" },
@@ -14446,7 +14451,7 @@ function tk_default() {
14446
14451
  };
14447
14452
  }
14448
14453
 
14449
- // ../../../../../opt/vira/node_modules/zod/v4/locales/tr.js
14454
+ // ../../node_modules/zod/v4/locales/tr.js
14450
14455
  var error54 = () => {
14451
14456
  const Sizable = {
14452
14457
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -14557,7 +14562,7 @@ function tr_default() {
14557
14562
  };
14558
14563
  }
14559
14564
 
14560
- // ../../../../../opt/vira/node_modules/zod/v4/locales/uk.js
14565
+ // ../../node_modules/zod/v4/locales/uk.js
14561
14566
  var error55 = () => {
14562
14567
  const Sizable = {
14563
14568
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -14671,12 +14676,12 @@ function uk_default() {
14671
14676
  };
14672
14677
  }
14673
14678
 
14674
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ua.js
14679
+ // ../../node_modules/zod/v4/locales/ua.js
14675
14680
  function ua_default() {
14676
14681
  return uk_default();
14677
14682
  }
14678
14683
 
14679
- // ../../../../../opt/vira/node_modules/zod/v4/locales/ur.js
14684
+ // ../../node_modules/zod/v4/locales/ur.js
14680
14685
  var error56 = () => {
14681
14686
  const Sizable = {
14682
14687
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -14792,7 +14797,7 @@ function ur_default() {
14792
14797
  };
14793
14798
  }
14794
14799
 
14795
- // ../../../../../opt/vira/node_modules/zod/v4/locales/uz.js
14800
+ // ../../node_modules/zod/v4/locales/uz.js
14796
14801
  var error57 = () => {
14797
14802
  const Sizable = {
14798
14803
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -14906,7 +14911,7 @@ function uz_default() {
14906
14911
  };
14907
14912
  }
14908
14913
 
14909
- // ../../../../../opt/vira/node_modules/zod/v4/locales/vi.js
14914
+ // ../../node_modules/zod/v4/locales/vi.js
14910
14915
  var error58 = () => {
14911
14916
  const Sizable = {
14912
14917
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -15020,7 +15025,7 @@ function vi_default() {
15020
15025
  };
15021
15026
  }
15022
15027
 
15023
- // ../../../../../opt/vira/node_modules/zod/v4/locales/zh-CN.js
15028
+ // ../../node_modules/zod/v4/locales/zh-CN.js
15024
15029
  var error59 = () => {
15025
15030
  const Sizable = {
15026
15031
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -15135,7 +15140,7 @@ function zh_CN_default() {
15135
15140
  };
15136
15141
  }
15137
15142
 
15138
- // ../../../../../opt/vira/node_modules/zod/v4/locales/zh-TW.js
15143
+ // ../../node_modules/zod/v4/locales/zh-TW.js
15139
15144
  var error60 = () => {
15140
15145
  const Sizable = {
15141
15146
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -15248,7 +15253,7 @@ function zh_TW_default() {
15248
15253
  };
15249
15254
  }
15250
15255
 
15251
- // ../../../../../opt/vira/node_modules/zod/v4/locales/yo.js
15256
+ // ../../node_modules/zod/v4/locales/yo.js
15252
15257
  var error61 = () => {
15253
15258
  const Sizable = {
15254
15259
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -15361,7 +15366,7 @@ function yo_default() {
15361
15366
  };
15362
15367
  }
15363
15368
 
15364
- // ../../../../../opt/vira/node_modules/zod/v4/core/registries.js
15369
+ // ../../node_modules/zod/v4/core/registries.js
15365
15370
  var _a2;
15366
15371
  var $output = /* @__PURE__ */ Symbol("ZodOutput");
15367
15372
  var $input = /* @__PURE__ */ Symbol("ZodInput");
@@ -15411,7 +15416,7 @@ function registry() {
15411
15416
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
15412
15417
  var globalRegistry = globalThis.__zod_globalRegistry;
15413
15418
 
15414
- // ../../../../../opt/vira/node_modules/zod/v4/core/compile.js
15419
+ // ../../node_modules/zod/v4/core/compile.js
15415
15420
  var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
15416
15421
  var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
15417
15422
  var ZodCompileAsyncError = class extends Error {
@@ -17021,7 +17026,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
17021
17026
  return accessor;
17022
17027
  }
17023
17028
 
17024
- // ../../../../../opt/vira/node_modules/zod/v4/core/api.js
17029
+ // ../../node_modules/zod/v4/core/api.js
17025
17030
  function snapshotChecks(def) {
17026
17031
  if (def.checks)
17027
17032
  def.checks = [...def.checks];
@@ -18080,7 +18085,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
18080
18085
  return inst;
18081
18086
  }
18082
18087
 
18083
- // ../../../../../opt/vira/node_modules/zod/v4/core/to-json-schema.js
18088
+ // ../../node_modules/zod/v4/core/to-json-schema.js
18084
18089
  function assignProps(target, ...sources) {
18085
18090
  for (const source of sources) {
18086
18091
  for (const key of Reflect.ownKeys(source)) {
@@ -18610,7 +18615,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
18610
18615
  return finalize(ctx, schema);
18611
18616
  };
18612
18617
 
18613
- // ../../../../../opt/vira/node_modules/zod/v4/core/json-schema-processors.js
18618
+ // ../../node_modules/zod/v4/core/json-schema-processors.js
18614
18619
  var narrowMin = (agg, key, value) => {
18615
18620
  if (agg[key] === void 0 || value > agg[key])
18616
18621
  agg[key] = value;
@@ -19358,7 +19363,7 @@ function toJSONSchema(input2, params) {
19358
19363
  return finalize(ctx, input2);
19359
19364
  }
19360
19365
 
19361
- // ../../../../../opt/vira/node_modules/zod/v4/core/json-schema-generator.js
19366
+ // ../../node_modules/zod/v4/core/json-schema-generator.js
19362
19367
  var JSONSchemaGenerator = class {
19363
19368
  /** @deprecated Access via ctx instead */
19364
19369
  get metadataRegistry() {
@@ -19436,10 +19441,10 @@ var JSONSchemaGenerator = class {
19436
19441
  }
19437
19442
  };
19438
19443
 
19439
- // ../../../../../opt/vira/node_modules/zod/v4/core/json-schema.js
19444
+ // ../../node_modules/zod/v4/core/json-schema.js
19440
19445
  var json_schema_exports = {};
19441
19446
 
19442
- // ../../../../../opt/vira/node_modules/zod/v4/classic/schemas.js
19447
+ // ../../node_modules/zod/v4/classic/schemas.js
19443
19448
  var schemas_exports2 = {};
19444
19449
  __export(schemas_exports2, {
19445
19450
  ZodAny: () => ZodAny,
@@ -19620,7 +19625,7 @@ __export(schemas_exports2, {
19620
19625
  xor: () => xor
19621
19626
  });
19622
19627
 
19623
- // ../../../../../opt/vira/node_modules/zod/v4/classic/checks.js
19628
+ // ../../node_modules/zod/v4/classic/checks.js
19624
19629
  var checks_exports2 = {};
19625
19630
  __export(checks_exports2, {
19626
19631
  endsWith: () => _endsWith,
@@ -19655,7 +19660,7 @@ __export(checks_exports2, {
19655
19660
  uppercase: () => _uppercase
19656
19661
  });
19657
19662
 
19658
- // ../../../../../opt/vira/node_modules/zod/v4/classic/errors.js
19663
+ // ../../node_modules/zod/v4/classic/errors.js
19659
19664
  var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
19660
19665
  function _lazyMethod(proto, key, make) {
19661
19666
  Object.defineProperty(proto, key, {
@@ -19701,7 +19706,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
19701
19706
  Parent: Error
19702
19707
  });
19703
19708
 
19704
- // ../../../../../opt/vira/node_modules/zod/v4/classic/parse.js
19709
+ // ../../node_modules/zod/v4/classic/parse.js
19705
19710
  var parse2 = /* @__PURE__ */ _parse(ZodRealError);
19706
19711
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
19707
19712
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -19715,7 +19720,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
19715
19720
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
19716
19721
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
19717
19722
 
19718
- // ../../../../../opt/vira/node_modules/zod/v4/classic/schemas.js
19723
+ // ../../node_modules/zod/v4/classic/schemas.js
19719
19724
  function _ensureDefaultLocale() {
19720
19725
  if (!globalConfig.localeError)
19721
19726
  config(en_default());
@@ -21180,7 +21185,7 @@ function preprocess(fn, schema) {
21180
21185
  });
21181
21186
  }
21182
21187
 
21183
- // ../../../../../opt/vira/node_modules/zod/v4/classic/compat.js
21188
+ // ../../node_modules/zod/v4/classic/compat.js
21184
21189
  var ZodIssueCode = {
21185
21190
  invalid_type: "invalid_type",
21186
21191
  too_big: "too_big",
@@ -21206,7 +21211,7 @@ var ZodFirstPartyTypeKind;
21206
21211
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
21207
21212
  })(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
21208
21213
 
21209
- // ../../../../../opt/vira/node_modules/zod/v4/classic/iso.js
21214
+ // ../../node_modules/zod/v4/classic/iso.js
21210
21215
  var iso_exports = {};
21211
21216
  __export(iso_exports, {
21212
21217
  ZodISODate: () => ZodISODate,
@@ -21231,7 +21236,7 @@ function duration2(params) {
21231
21236
  return _isoDuration(ZodISODuration, params);
21232
21237
  }
21233
21238
 
21234
- // ../../../../../opt/vira/node_modules/zod/v4/classic/from-json-schema.js
21239
+ // ../../node_modules/zod/v4/classic/from-json-schema.js
21235
21240
  var z = {
21236
21241
  ...schemas_exports2,
21237
21242
  ...checks_exports2,
@@ -21964,7 +21969,7 @@ function fromJSONSchema(schema, params) {
21964
21969
  return convertSchema(normalized, ctx);
21965
21970
  }
21966
21971
 
21967
- // ../../../../../opt/vira/node_modules/zod/v4/core/visit.js
21972
+ // ../../node_modules/zod/v4/core/visit.js
21968
21973
  var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
21969
21974
  function visit(schema, fnOrHandlers) {
21970
21975
  const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
@@ -22119,7 +22124,7 @@ function visit(schema, fnOrHandlers) {
22119
22124
  return run(schema);
22120
22125
  }
22121
22126
 
22122
- // ../../../../../opt/vira/node_modules/zod/v4/classic/deep-partial.js
22127
+ // ../../node_modules/zod/v4/classic/deep-partial.js
22123
22128
  function deepPartial(schema) {
22124
22129
  return visit(schema, {
22125
22130
  object: (s) => s.partial(),
@@ -22131,7 +22136,7 @@ function deepPartial(schema) {
22131
22136
  });
22132
22137
  }
22133
22138
 
22134
- // ../../../../../opt/vira/node_modules/zod/v4/classic/in-out.js
22139
+ // ../../node_modules/zod/v4/classic/in-out.js
22135
22140
  function withChecks(side, checks) {
22136
22141
  if (!checks?.length)
22137
22142
  return side;
@@ -22161,7 +22166,7 @@ function output(schema) {
22161
22166
  });
22162
22167
  }
22163
22168
 
22164
- // ../../../../../opt/vira/node_modules/zod/v4/classic/coerce.js
22169
+ // ../../node_modules/zod/v4/classic/coerce.js
22165
22170
  var coerce_exports = {};
22166
22171
  __export(coerce_exports, {
22167
22172
  bigint: () => bigint3,