@tarileo/avileo-catalog-cli 0.3.11 → 0.3.13
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/README.md +39 -0
- package/dist/index.js +149 -103
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var __export = (target, all) => {
|
|
|
9
9
|
import { readFileSync as readFileSync2 } from "fs";
|
|
10
10
|
import { Command } from "commander";
|
|
11
11
|
|
|
12
|
-
// ../../../node_modules
|
|
12
|
+
// ../../../node_modules/zod/v4/classic/external.js
|
|
13
13
|
var external_exports = {};
|
|
14
14
|
__export(external_exports, {
|
|
15
15
|
$brand: () => $brand,
|
|
@@ -272,7 +272,7 @@ __export(external_exports, {
|
|
|
272
272
|
xor: () => xor
|
|
273
273
|
});
|
|
274
274
|
|
|
275
|
-
// ../../../node_modules
|
|
275
|
+
// ../../../node_modules/zod/v4/core/index.js
|
|
276
276
|
var core_exports2 = {};
|
|
277
277
|
__export(core_exports2, {
|
|
278
278
|
$ZodAny: () => $ZodAny,
|
|
@@ -589,7 +589,7 @@ __export(core_exports2, {
|
|
|
589
589
|
withParser: () => withParser
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
// ../../../node_modules
|
|
592
|
+
// ../../../node_modules/zod/v4/core/util.js
|
|
593
593
|
var util_exports = {};
|
|
594
594
|
__export(util_exports, {
|
|
595
595
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1445,7 +1445,7 @@ function constantCatch(value) {
|
|
|
1445
1445
|
return fn;
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
-
// ../../../node_modules
|
|
1448
|
+
// ../../../node_modules/zod/v4/core/core.js
|
|
1449
1449
|
var _a;
|
|
1450
1450
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
1451
1451
|
status: "aborted"
|
|
@@ -1567,7 +1567,7 @@ function config(newConfig) {
|
|
|
1567
1567
|
return globalConfig;
|
|
1568
1568
|
}
|
|
1569
1569
|
|
|
1570
|
-
// ../../../node_modules
|
|
1570
|
+
// ../../../node_modules/zod/v4/core/errors.js
|
|
1571
1571
|
function _getMessage() {
|
|
1572
1572
|
const internals = this._zod;
|
|
1573
1573
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -1759,7 +1759,7 @@ function prettifyError(error62) {
|
|
|
1759
1759
|
return lines.join("\n");
|
|
1760
1760
|
}
|
|
1761
1761
|
|
|
1762
|
-
// ../../../node_modules
|
|
1762
|
+
// ../../../node_modules/zod/v4/core/parse.js
|
|
1763
1763
|
function finalizeParams(callee, params) {
|
|
1764
1764
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
1765
1765
|
}
|
|
@@ -1919,7 +1919,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
1919
1919
|
};
|
|
1920
1920
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
1921
1921
|
|
|
1922
|
-
// ../../../node_modules
|
|
1922
|
+
// ../../../node_modules/zod/v4/core/regexes.js
|
|
1923
1923
|
var regexes_exports = {};
|
|
1924
1924
|
__export(regexes_exports, {
|
|
1925
1925
|
anyString: () => anyString,
|
|
@@ -2091,7 +2091,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2091
2091
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2092
2092
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2093
2093
|
|
|
2094
|
-
// ../../../node_modules
|
|
2094
|
+
// ../../../node_modules/zod/v4/core/checks.js
|
|
2095
2095
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2096
2096
|
var _a3;
|
|
2097
2097
|
inst._zod ?? (inst._zod = {});
|
|
@@ -2567,7 +2567,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
2567
2567
|
};
|
|
2568
2568
|
});
|
|
2569
2569
|
|
|
2570
|
-
// ../../../node_modules
|
|
2570
|
+
// ../../../node_modules/zod/v4/core/doc.js
|
|
2571
2571
|
var Doc = class {
|
|
2572
2572
|
constructor(args = [], closed = {}) {
|
|
2573
2573
|
this.content = [];
|
|
@@ -2608,14 +2608,14 @@ ${content.join("\n")}
|
|
|
2608
2608
|
}
|
|
2609
2609
|
};
|
|
2610
2610
|
|
|
2611
|
-
// ../../../node_modules
|
|
2611
|
+
// ../../../node_modules/zod/v4/core/versions.js
|
|
2612
2612
|
var version = {
|
|
2613
2613
|
major: 4,
|
|
2614
2614
|
minor: 6,
|
|
2615
2615
|
patch: 7
|
|
2616
2616
|
};
|
|
2617
2617
|
|
|
2618
|
-
// ../../../node_modules
|
|
2618
|
+
// ../../../node_modules/zod/v4/core/schemas.js
|
|
2619
2619
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
2620
2620
|
var _a3;
|
|
2621
2621
|
inst ?? (inst = {});
|
|
@@ -5057,7 +5057,7 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
5057
5057
|
}
|
|
5058
5058
|
}
|
|
5059
5059
|
|
|
5060
|
-
// ../../../node_modules
|
|
5060
|
+
// ../../../node_modules/zod/v4/core/memoizer.js
|
|
5061
5061
|
var $ZodCyclicError = class extends Error {
|
|
5062
5062
|
constructor() {
|
|
5063
5063
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -5334,7 +5334,7 @@ function isBackEdge(ctx, value) {
|
|
|
5334
5334
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
5335
5335
|
}
|
|
5336
5336
|
|
|
5337
|
-
// ../../../node_modules
|
|
5337
|
+
// ../../../node_modules/zod/v4/locales/index.js
|
|
5338
5338
|
var locales_exports = {};
|
|
5339
5339
|
__export(locales_exports, {
|
|
5340
5340
|
ar: () => ar_default,
|
|
@@ -5402,7 +5402,7 @@ __export(locales_exports, {
|
|
|
5402
5402
|
zhTW: () => zh_TW_default
|
|
5403
5403
|
});
|
|
5404
5404
|
|
|
5405
|
-
// ../../../node_modules
|
|
5405
|
+
// ../../../node_modules/zod/v4/locales/ar.js
|
|
5406
5406
|
var error = () => {
|
|
5407
5407
|
const Sizable = {
|
|
5408
5408
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -5514,7 +5514,7 @@ function ar_default() {
|
|
|
5514
5514
|
};
|
|
5515
5515
|
}
|
|
5516
5516
|
|
|
5517
|
-
// ../../../node_modules
|
|
5517
|
+
// ../../../node_modules/zod/v4/locales/az.js
|
|
5518
5518
|
var error2 = () => {
|
|
5519
5519
|
const Sizable = {
|
|
5520
5520
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -5625,7 +5625,7 @@ function az_default() {
|
|
|
5625
5625
|
};
|
|
5626
5626
|
}
|
|
5627
5627
|
|
|
5628
|
-
// ../../../node_modules
|
|
5628
|
+
// ../../../node_modules/zod/v4/locales/be.js
|
|
5629
5629
|
function getBelarusianPlural(count, one, few, many) {
|
|
5630
5630
|
const absCount = Math.abs(count);
|
|
5631
5631
|
const lastDigit = absCount % 10;
|
|
@@ -5794,7 +5794,7 @@ function be_default() {
|
|
|
5794
5794
|
};
|
|
5795
5795
|
}
|
|
5796
5796
|
|
|
5797
|
-
// ../../../node_modules
|
|
5797
|
+
// ../../../node_modules/zod/v4/locales/bg.js
|
|
5798
5798
|
var error4 = () => {
|
|
5799
5799
|
const Sizable = {
|
|
5800
5800
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -5920,7 +5920,7 @@ function bg_default() {
|
|
|
5920
5920
|
};
|
|
5921
5921
|
}
|
|
5922
5922
|
|
|
5923
|
-
// ../../../node_modules
|
|
5923
|
+
// ../../../node_modules/zod/v4/locales/bn.js
|
|
5924
5924
|
var error5 = () => {
|
|
5925
5925
|
const Sizable = {
|
|
5926
5926
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -6034,7 +6034,7 @@ function bn_default() {
|
|
|
6034
6034
|
};
|
|
6035
6035
|
}
|
|
6036
6036
|
|
|
6037
|
-
// ../../../node_modules
|
|
6037
|
+
// ../../../node_modules/zod/v4/locales/ca.js
|
|
6038
6038
|
var error6 = () => {
|
|
6039
6039
|
const Sizable = {
|
|
6040
6040
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -6148,7 +6148,7 @@ function ca_default() {
|
|
|
6148
6148
|
};
|
|
6149
6149
|
}
|
|
6150
6150
|
|
|
6151
|
-
// ../../../node_modules
|
|
6151
|
+
// ../../../node_modules/zod/v4/locales/ckb.js
|
|
6152
6152
|
var error7 = () => {
|
|
6153
6153
|
const Sizable = {
|
|
6154
6154
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -6281,7 +6281,7 @@ function ckb_default() {
|
|
|
6281
6281
|
};
|
|
6282
6282
|
}
|
|
6283
6283
|
|
|
6284
|
-
// ../../../node_modules
|
|
6284
|
+
// ../../../node_modules/zod/v4/locales/cs.js
|
|
6285
6285
|
var error8 = () => {
|
|
6286
6286
|
const Sizable = {
|
|
6287
6287
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -6398,7 +6398,7 @@ function cs_default() {
|
|
|
6398
6398
|
};
|
|
6399
6399
|
}
|
|
6400
6400
|
|
|
6401
|
-
// ../../../node_modules
|
|
6401
|
+
// ../../../node_modules/zod/v4/locales/da.js
|
|
6402
6402
|
var error9 = () => {
|
|
6403
6403
|
const Sizable = {
|
|
6404
6404
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -6519,7 +6519,7 @@ function da_default() {
|
|
|
6519
6519
|
};
|
|
6520
6520
|
}
|
|
6521
6521
|
|
|
6522
|
-
// ../../../node_modules
|
|
6522
|
+
// ../../../node_modules/zod/v4/locales/de.js
|
|
6523
6523
|
var error10 = () => {
|
|
6524
6524
|
const Sizable = {
|
|
6525
6525
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -6633,7 +6633,7 @@ function de_default() {
|
|
|
6633
6633
|
};
|
|
6634
6634
|
}
|
|
6635
6635
|
|
|
6636
|
-
// ../../../node_modules
|
|
6636
|
+
// ../../../node_modules/zod/v4/locales/el.js
|
|
6637
6637
|
var error11 = () => {
|
|
6638
6638
|
const Sizable = {
|
|
6639
6639
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -6746,7 +6746,7 @@ function el_default() {
|
|
|
6746
6746
|
};
|
|
6747
6747
|
}
|
|
6748
6748
|
|
|
6749
|
-
// ../../../node_modules
|
|
6749
|
+
// ../../../node_modules/zod/v4/locales/en.js
|
|
6750
6750
|
var error12 = () => {
|
|
6751
6751
|
const Sizable = {
|
|
6752
6752
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -6871,7 +6871,7 @@ function en_default() {
|
|
|
6871
6871
|
};
|
|
6872
6872
|
}
|
|
6873
6873
|
|
|
6874
|
-
// ../../../node_modules
|
|
6874
|
+
// ../../../node_modules/zod/v4/locales/eo.js
|
|
6875
6875
|
var error13 = () => {
|
|
6876
6876
|
const Sizable = {
|
|
6877
6877
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -6986,7 +6986,7 @@ function eo_default() {
|
|
|
6986
6986
|
};
|
|
6987
6987
|
}
|
|
6988
6988
|
|
|
6989
|
-
// ../../../node_modules
|
|
6989
|
+
// ../../../node_modules/zod/v4/locales/es.js
|
|
6990
6990
|
var error14 = () => {
|
|
6991
6991
|
const Sizable = {
|
|
6992
6992
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -7123,7 +7123,7 @@ function es_default() {
|
|
|
7123
7123
|
};
|
|
7124
7124
|
}
|
|
7125
7125
|
|
|
7126
|
-
// ../../../node_modules
|
|
7126
|
+
// ../../../node_modules/zod/v4/locales/fa.js
|
|
7127
7127
|
var error15 = () => {
|
|
7128
7128
|
const Sizable = {
|
|
7129
7129
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -7243,7 +7243,7 @@ function fa_default() {
|
|
|
7243
7243
|
};
|
|
7244
7244
|
}
|
|
7245
7245
|
|
|
7246
|
-
// ../../../node_modules
|
|
7246
|
+
// ../../../node_modules/zod/v4/locales/fi.js
|
|
7247
7247
|
var error16 = () => {
|
|
7248
7248
|
const Sizable = {
|
|
7249
7249
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -7361,7 +7361,7 @@ function fi_default() {
|
|
|
7361
7361
|
};
|
|
7362
7362
|
}
|
|
7363
7363
|
|
|
7364
|
-
// ../../../node_modules
|
|
7364
|
+
// ../../../node_modules/zod/v4/locales/fr.js
|
|
7365
7365
|
var error17 = () => {
|
|
7366
7366
|
const Sizable = {
|
|
7367
7367
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7491,7 +7491,7 @@ function fr_default() {
|
|
|
7491
7491
|
};
|
|
7492
7492
|
}
|
|
7493
7493
|
|
|
7494
|
-
// ../../../node_modules
|
|
7494
|
+
// ../../../node_modules/zod/v4/locales/fr-CA.js
|
|
7495
7495
|
var error18 = () => {
|
|
7496
7496
|
const Sizable = {
|
|
7497
7497
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -7604,7 +7604,7 @@ function fr_CA_default() {
|
|
|
7604
7604
|
};
|
|
7605
7605
|
}
|
|
7606
7606
|
|
|
7607
|
-
// ../../../node_modules
|
|
7607
|
+
// ../../../node_modules/zod/v4/locales/gu.js
|
|
7608
7608
|
var error19 = () => {
|
|
7609
7609
|
const Sizable = {
|
|
7610
7610
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -7718,7 +7718,7 @@ function gu_default() {
|
|
|
7718
7718
|
};
|
|
7719
7719
|
}
|
|
7720
7720
|
|
|
7721
|
-
// ../../../node_modules
|
|
7721
|
+
// ../../../node_modules/zod/v4/locales/he.js
|
|
7722
7722
|
var error20 = () => {
|
|
7723
7723
|
const TypeNames = {
|
|
7724
7724
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -7920,7 +7920,7 @@ function he_default() {
|
|
|
7920
7920
|
};
|
|
7921
7921
|
}
|
|
7922
7922
|
|
|
7923
|
-
// ../../../node_modules
|
|
7923
|
+
// ../../../node_modules/zod/v4/locales/hi.js
|
|
7924
7924
|
var error21 = () => {
|
|
7925
7925
|
const Sizable = {
|
|
7926
7926
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -8032,7 +8032,7 @@ function hi_default() {
|
|
|
8032
8032
|
};
|
|
8033
8033
|
}
|
|
8034
8034
|
|
|
8035
|
-
// ../../../node_modules
|
|
8035
|
+
// ../../../node_modules/zod/v4/locales/hr.js
|
|
8036
8036
|
var error22 = () => {
|
|
8037
8037
|
const Sizable = {
|
|
8038
8038
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -8159,7 +8159,7 @@ function hr_default() {
|
|
|
8159
8159
|
};
|
|
8160
8160
|
}
|
|
8161
8161
|
|
|
8162
|
-
// ../../../node_modules
|
|
8162
|
+
// ../../../node_modules/zod/v4/locales/hu.js
|
|
8163
8163
|
var error23 = () => {
|
|
8164
8164
|
const Sizable = {
|
|
8165
8165
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -8273,7 +8273,7 @@ function hu_default() {
|
|
|
8273
8273
|
};
|
|
8274
8274
|
}
|
|
8275
8275
|
|
|
8276
|
-
// ../../../node_modules
|
|
8276
|
+
// ../../../node_modules/zod/v4/locales/hy.js
|
|
8277
8277
|
function getArmenianPlural(count, one, many) {
|
|
8278
8278
|
return Math.abs(count) === 1 ? one : many;
|
|
8279
8279
|
}
|
|
@@ -8432,7 +8432,7 @@ function hy_default() {
|
|
|
8432
8432
|
};
|
|
8433
8433
|
}
|
|
8434
8434
|
|
|
8435
|
-
// ../../../node_modules
|
|
8435
|
+
// ../../../node_modules/zod/v4/locales/id.js
|
|
8436
8436
|
var error25 = () => {
|
|
8437
8437
|
const Sizable = {
|
|
8438
8438
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -8544,7 +8544,7 @@ function id_default() {
|
|
|
8544
8544
|
};
|
|
8545
8545
|
}
|
|
8546
8546
|
|
|
8547
|
-
// ../../../node_modules
|
|
8547
|
+
// ../../../node_modules/zod/v4/locales/is.js
|
|
8548
8548
|
var error26 = () => {
|
|
8549
8549
|
const Sizable = {
|
|
8550
8550
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -8659,7 +8659,7 @@ function is_default() {
|
|
|
8659
8659
|
};
|
|
8660
8660
|
}
|
|
8661
8661
|
|
|
8662
|
-
// ../../../node_modules
|
|
8662
|
+
// ../../../node_modules/zod/v4/locales/it.js
|
|
8663
8663
|
var error27 = () => {
|
|
8664
8664
|
const Sizable = {
|
|
8665
8665
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -8773,7 +8773,7 @@ function it_default() {
|
|
|
8773
8773
|
};
|
|
8774
8774
|
}
|
|
8775
8775
|
|
|
8776
|
-
// ../../../node_modules
|
|
8776
|
+
// ../../../node_modules/zod/v4/locales/ja.js
|
|
8777
8777
|
var error28 = () => {
|
|
8778
8778
|
const Sizable = {
|
|
8779
8779
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -8886,7 +8886,7 @@ function ja_default() {
|
|
|
8886
8886
|
};
|
|
8887
8887
|
}
|
|
8888
8888
|
|
|
8889
|
-
// ../../../node_modules
|
|
8889
|
+
// ../../../node_modules/zod/v4/locales/ka.js
|
|
8890
8890
|
var error29 = () => {
|
|
8891
8891
|
const Sizable = {
|
|
8892
8892
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -9004,7 +9004,7 @@ function ka_default() {
|
|
|
9004
9004
|
};
|
|
9005
9005
|
}
|
|
9006
9006
|
|
|
9007
|
-
// ../../../node_modules
|
|
9007
|
+
// ../../../node_modules/zod/v4/locales/km.js
|
|
9008
9008
|
var error30 = () => {
|
|
9009
9009
|
const Sizable = {
|
|
9010
9010
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -9120,12 +9120,12 @@ function km_default() {
|
|
|
9120
9120
|
};
|
|
9121
9121
|
}
|
|
9122
9122
|
|
|
9123
|
-
// ../../../node_modules
|
|
9123
|
+
// ../../../node_modules/zod/v4/locales/kh.js
|
|
9124
9124
|
function kh_default() {
|
|
9125
9125
|
return km_default();
|
|
9126
9126
|
}
|
|
9127
9127
|
|
|
9128
|
-
// ../../../node_modules
|
|
9128
|
+
// ../../../node_modules/zod/v4/locales/kn.js
|
|
9129
9129
|
var error31 = () => {
|
|
9130
9130
|
const Sizable = {
|
|
9131
9131
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -9241,7 +9241,7 @@ function kn_default() {
|
|
|
9241
9241
|
};
|
|
9242
9242
|
}
|
|
9243
9243
|
|
|
9244
|
-
// ../../../node_modules
|
|
9244
|
+
// ../../../node_modules/zod/v4/locales/ko.js
|
|
9245
9245
|
var error32 = () => {
|
|
9246
9246
|
const Sizable = {
|
|
9247
9247
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -9358,7 +9358,7 @@ function ko_default() {
|
|
|
9358
9358
|
};
|
|
9359
9359
|
}
|
|
9360
9360
|
|
|
9361
|
-
// ../../../node_modules
|
|
9361
|
+
// ../../../node_modules/zod/v4/locales/lt.js
|
|
9362
9362
|
var capitalizeFirstCharacter = (text) => {
|
|
9363
9363
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
9364
9364
|
};
|
|
@@ -9566,7 +9566,7 @@ function lt_default() {
|
|
|
9566
9566
|
};
|
|
9567
9567
|
}
|
|
9568
9568
|
|
|
9569
|
-
// ../../../node_modules
|
|
9569
|
+
// ../../../node_modules/zod/v4/locales/mk.js
|
|
9570
9570
|
var error34 = () => {
|
|
9571
9571
|
const Sizable = {
|
|
9572
9572
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -9681,7 +9681,7 @@ function mk_default() {
|
|
|
9681
9681
|
};
|
|
9682
9682
|
}
|
|
9683
9683
|
|
|
9684
|
-
// ../../../node_modules
|
|
9684
|
+
// ../../../node_modules/zod/v4/locales/ms.js
|
|
9685
9685
|
var error35 = () => {
|
|
9686
9686
|
const Sizable = {
|
|
9687
9687
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -9794,7 +9794,7 @@ function ms_default() {
|
|
|
9794
9794
|
};
|
|
9795
9795
|
}
|
|
9796
9796
|
|
|
9797
|
-
// ../../../node_modules
|
|
9797
|
+
// ../../../node_modules/zod/v4/locales/ne.js
|
|
9798
9798
|
var error36 = () => {
|
|
9799
9799
|
const Sizable = {
|
|
9800
9800
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -9906,7 +9906,7 @@ function ne_default() {
|
|
|
9906
9906
|
};
|
|
9907
9907
|
}
|
|
9908
9908
|
|
|
9909
|
-
// ../../../node_modules
|
|
9909
|
+
// ../../../node_modules/zod/v4/locales/nl.js
|
|
9910
9910
|
var error37 = () => {
|
|
9911
9911
|
const Sizable = {
|
|
9912
9912
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -10022,7 +10022,7 @@ function nl_default() {
|
|
|
10022
10022
|
};
|
|
10023
10023
|
}
|
|
10024
10024
|
|
|
10025
|
-
// ../../../node_modules
|
|
10025
|
+
// ../../../node_modules/zod/v4/locales/nn.js
|
|
10026
10026
|
var error38 = () => {
|
|
10027
10027
|
const Sizable = {
|
|
10028
10028
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -10136,7 +10136,7 @@ function nn_default() {
|
|
|
10136
10136
|
};
|
|
10137
10137
|
}
|
|
10138
10138
|
|
|
10139
|
-
// ../../../node_modules
|
|
10139
|
+
// ../../../node_modules/zod/v4/locales/no.js
|
|
10140
10140
|
var error39 = () => {
|
|
10141
10141
|
const Sizable = {
|
|
10142
10142
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -10250,7 +10250,7 @@ function no_default() {
|
|
|
10250
10250
|
};
|
|
10251
10251
|
}
|
|
10252
10252
|
|
|
10253
|
-
// ../../../node_modules
|
|
10253
|
+
// ../../../node_modules/zod/v4/locales/ota.js
|
|
10254
10254
|
var error40 = () => {
|
|
10255
10255
|
const Sizable = {
|
|
10256
10256
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -10365,7 +10365,7 @@ function ota_default() {
|
|
|
10365
10365
|
};
|
|
10366
10366
|
}
|
|
10367
10367
|
|
|
10368
|
-
// ../../../node_modules
|
|
10368
|
+
// ../../../node_modules/zod/v4/locales/ps.js
|
|
10369
10369
|
var error41 = () => {
|
|
10370
10370
|
const Sizable = {
|
|
10371
10371
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -10485,7 +10485,7 @@ function ps_default() {
|
|
|
10485
10485
|
};
|
|
10486
10486
|
}
|
|
10487
10487
|
|
|
10488
|
-
// ../../../node_modules
|
|
10488
|
+
// ../../../node_modules/zod/v4/locales/pl.js
|
|
10489
10489
|
var error42 = () => {
|
|
10490
10490
|
const Sizable = {
|
|
10491
10491
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -10600,7 +10600,7 @@ function pl_default() {
|
|
|
10600
10600
|
};
|
|
10601
10601
|
}
|
|
10602
10602
|
|
|
10603
|
-
// ../../../node_modules
|
|
10603
|
+
// ../../../node_modules/zod/v4/locales/pt.js
|
|
10604
10604
|
var error43 = () => {
|
|
10605
10605
|
const Sizable = {
|
|
10606
10606
|
string: { unit: "caracteres" },
|
|
@@ -10744,7 +10744,7 @@ function pt_default() {
|
|
|
10744
10744
|
};
|
|
10745
10745
|
}
|
|
10746
10746
|
|
|
10747
|
-
// ../../../node_modules
|
|
10747
|
+
// ../../../node_modules/zod/v4/locales/pt-BR.js
|
|
10748
10748
|
var error44 = () => {
|
|
10749
10749
|
const Sizable = {
|
|
10750
10750
|
string: { unit: "caracteres" },
|
|
@@ -10889,7 +10889,7 @@ function pt_BR_default() {
|
|
|
10889
10889
|
};
|
|
10890
10890
|
}
|
|
10891
10891
|
|
|
10892
|
-
// ../../../node_modules
|
|
10892
|
+
// ../../../node_modules/zod/v4/locales/ro.js
|
|
10893
10893
|
var error45 = () => {
|
|
10894
10894
|
const Sizable = {
|
|
10895
10895
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -11012,7 +11012,7 @@ function ro_default() {
|
|
|
11012
11012
|
};
|
|
11013
11013
|
}
|
|
11014
11014
|
|
|
11015
|
-
// ../../../node_modules
|
|
11015
|
+
// ../../../node_modules/zod/v4/locales/ru.js
|
|
11016
11016
|
function getRussianPlural(count, one, few, many) {
|
|
11017
11017
|
const absCount = Math.abs(count);
|
|
11018
11018
|
const lastDigit = absCount % 10;
|
|
@@ -11181,7 +11181,7 @@ function ru_default() {
|
|
|
11181
11181
|
};
|
|
11182
11182
|
}
|
|
11183
11183
|
|
|
11184
|
-
// ../../../node_modules
|
|
11184
|
+
// ../../../node_modules/zod/v4/locales/sk.js
|
|
11185
11185
|
var error47 = () => {
|
|
11186
11186
|
const Sizable = {
|
|
11187
11187
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -11298,7 +11298,7 @@ function sk_default() {
|
|
|
11298
11298
|
};
|
|
11299
11299
|
}
|
|
11300
11300
|
|
|
11301
|
-
// ../../../node_modules
|
|
11301
|
+
// ../../../node_modules/zod/v4/locales/sl.js
|
|
11302
11302
|
var error48 = () => {
|
|
11303
11303
|
const Sizable = {
|
|
11304
11304
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -11413,7 +11413,7 @@ function sl_default() {
|
|
|
11413
11413
|
};
|
|
11414
11414
|
}
|
|
11415
11415
|
|
|
11416
|
-
// ../../../node_modules
|
|
11416
|
+
// ../../../node_modules/zod/v4/locales/sv.js
|
|
11417
11417
|
var error49 = () => {
|
|
11418
11418
|
const Sizable = {
|
|
11419
11419
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -11529,7 +11529,7 @@ function sv_default() {
|
|
|
11529
11529
|
};
|
|
11530
11530
|
}
|
|
11531
11531
|
|
|
11532
|
-
// ../../../node_modules
|
|
11532
|
+
// ../../../node_modules/zod/v4/locales/ta.js
|
|
11533
11533
|
var error50 = () => {
|
|
11534
11534
|
const Sizable = {
|
|
11535
11535
|
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" },
|
|
@@ -11645,7 +11645,7 @@ function ta_default() {
|
|
|
11645
11645
|
};
|
|
11646
11646
|
}
|
|
11647
11647
|
|
|
11648
|
-
// ../../../node_modules
|
|
11648
|
+
// ../../../node_modules/zod/v4/locales/tg.js
|
|
11649
11649
|
var error51 = () => {
|
|
11650
11650
|
const Sizable = {
|
|
11651
11651
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -11762,7 +11762,7 @@ function tg_default() {
|
|
|
11762
11762
|
};
|
|
11763
11763
|
}
|
|
11764
11764
|
|
|
11765
|
-
// ../../../node_modules
|
|
11765
|
+
// ../../../node_modules/zod/v4/locales/th.js
|
|
11766
11766
|
var error52 = () => {
|
|
11767
11767
|
const Sizable = {
|
|
11768
11768
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -11878,7 +11878,7 @@ function th_default() {
|
|
|
11878
11878
|
};
|
|
11879
11879
|
}
|
|
11880
11880
|
|
|
11881
|
-
// ../../../node_modules
|
|
11881
|
+
// ../../../node_modules/zod/v4/locales/tk.js
|
|
11882
11882
|
var error53 = () => {
|
|
11883
11883
|
const Sizable = {
|
|
11884
11884
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -11986,7 +11986,7 @@ function tk_default() {
|
|
|
11986
11986
|
};
|
|
11987
11987
|
}
|
|
11988
11988
|
|
|
11989
|
-
// ../../../node_modules
|
|
11989
|
+
// ../../../node_modules/zod/v4/locales/tr.js
|
|
11990
11990
|
var error54 = () => {
|
|
11991
11991
|
const Sizable = {
|
|
11992
11992
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -12097,7 +12097,7 @@ function tr_default() {
|
|
|
12097
12097
|
};
|
|
12098
12098
|
}
|
|
12099
12099
|
|
|
12100
|
-
// ../../../node_modules
|
|
12100
|
+
// ../../../node_modules/zod/v4/locales/uk.js
|
|
12101
12101
|
var error55 = () => {
|
|
12102
12102
|
const Sizable = {
|
|
12103
12103
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -12211,12 +12211,12 @@ function uk_default() {
|
|
|
12211
12211
|
};
|
|
12212
12212
|
}
|
|
12213
12213
|
|
|
12214
|
-
// ../../../node_modules
|
|
12214
|
+
// ../../../node_modules/zod/v4/locales/ua.js
|
|
12215
12215
|
function ua_default() {
|
|
12216
12216
|
return uk_default();
|
|
12217
12217
|
}
|
|
12218
12218
|
|
|
12219
|
-
// ../../../node_modules
|
|
12219
|
+
// ../../../node_modules/zod/v4/locales/ur.js
|
|
12220
12220
|
var error56 = () => {
|
|
12221
12221
|
const Sizable = {
|
|
12222
12222
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -12332,7 +12332,7 @@ function ur_default() {
|
|
|
12332
12332
|
};
|
|
12333
12333
|
}
|
|
12334
12334
|
|
|
12335
|
-
// ../../../node_modules
|
|
12335
|
+
// ../../../node_modules/zod/v4/locales/uz.js
|
|
12336
12336
|
var error57 = () => {
|
|
12337
12337
|
const Sizable = {
|
|
12338
12338
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -12446,7 +12446,7 @@ function uz_default() {
|
|
|
12446
12446
|
};
|
|
12447
12447
|
}
|
|
12448
12448
|
|
|
12449
|
-
// ../../../node_modules
|
|
12449
|
+
// ../../../node_modules/zod/v4/locales/vi.js
|
|
12450
12450
|
var error58 = () => {
|
|
12451
12451
|
const Sizable = {
|
|
12452
12452
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -12560,7 +12560,7 @@ function vi_default() {
|
|
|
12560
12560
|
};
|
|
12561
12561
|
}
|
|
12562
12562
|
|
|
12563
|
-
// ../../../node_modules
|
|
12563
|
+
// ../../../node_modules/zod/v4/locales/zh-CN.js
|
|
12564
12564
|
var error59 = () => {
|
|
12565
12565
|
const Sizable = {
|
|
12566
12566
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -12675,7 +12675,7 @@ function zh_CN_default() {
|
|
|
12675
12675
|
};
|
|
12676
12676
|
}
|
|
12677
12677
|
|
|
12678
|
-
// ../../../node_modules
|
|
12678
|
+
// ../../../node_modules/zod/v4/locales/zh-TW.js
|
|
12679
12679
|
var error60 = () => {
|
|
12680
12680
|
const Sizable = {
|
|
12681
12681
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -12788,7 +12788,7 @@ function zh_TW_default() {
|
|
|
12788
12788
|
};
|
|
12789
12789
|
}
|
|
12790
12790
|
|
|
12791
|
-
// ../../../node_modules
|
|
12791
|
+
// ../../../node_modules/zod/v4/locales/yo.js
|
|
12792
12792
|
var error61 = () => {
|
|
12793
12793
|
const Sizable = {
|
|
12794
12794
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -12901,7 +12901,7 @@ function yo_default() {
|
|
|
12901
12901
|
};
|
|
12902
12902
|
}
|
|
12903
12903
|
|
|
12904
|
-
// ../../../node_modules
|
|
12904
|
+
// ../../../node_modules/zod/v4/core/registries.js
|
|
12905
12905
|
var _a2;
|
|
12906
12906
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
12907
12907
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -12951,7 +12951,7 @@ function registry() {
|
|
|
12951
12951
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
12952
12952
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
12953
12953
|
|
|
12954
|
-
// ../../../node_modules
|
|
12954
|
+
// ../../../node_modules/zod/v4/core/compile.js
|
|
12955
12955
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
12956
12956
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
12957
12957
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -14561,7 +14561,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
14561
14561
|
return accessor;
|
|
14562
14562
|
}
|
|
14563
14563
|
|
|
14564
|
-
// ../../../node_modules
|
|
14564
|
+
// ../../../node_modules/zod/v4/core/api.js
|
|
14565
14565
|
function snapshotChecks(def) {
|
|
14566
14566
|
if (def.checks)
|
|
14567
14567
|
def.checks = [...def.checks];
|
|
@@ -15620,7 +15620,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
15620
15620
|
return inst;
|
|
15621
15621
|
}
|
|
15622
15622
|
|
|
15623
|
-
// ../../../node_modules
|
|
15623
|
+
// ../../../node_modules/zod/v4/core/to-json-schema.js
|
|
15624
15624
|
function assignProps(target, ...sources) {
|
|
15625
15625
|
for (const source of sources) {
|
|
15626
15626
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -16150,7 +16150,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
16150
16150
|
return finalize(ctx, schema);
|
|
16151
16151
|
};
|
|
16152
16152
|
|
|
16153
|
-
// ../../../node_modules
|
|
16153
|
+
// ../../../node_modules/zod/v4/core/json-schema-processors.js
|
|
16154
16154
|
var narrowMin = (agg, key, value) => {
|
|
16155
16155
|
if (agg[key] === void 0 || value > agg[key])
|
|
16156
16156
|
agg[key] = value;
|
|
@@ -16898,7 +16898,7 @@ function toJSONSchema(input2, params) {
|
|
|
16898
16898
|
return finalize(ctx, input2);
|
|
16899
16899
|
}
|
|
16900
16900
|
|
|
16901
|
-
// ../../../node_modules
|
|
16901
|
+
// ../../../node_modules/zod/v4/core/json-schema-generator.js
|
|
16902
16902
|
var JSONSchemaGenerator = class {
|
|
16903
16903
|
/** @deprecated Access via ctx instead */
|
|
16904
16904
|
get metadataRegistry() {
|
|
@@ -16976,10 +16976,10 @@ var JSONSchemaGenerator = class {
|
|
|
16976
16976
|
}
|
|
16977
16977
|
};
|
|
16978
16978
|
|
|
16979
|
-
// ../../../node_modules
|
|
16979
|
+
// ../../../node_modules/zod/v4/core/json-schema.js
|
|
16980
16980
|
var json_schema_exports = {};
|
|
16981
16981
|
|
|
16982
|
-
// ../../../node_modules
|
|
16982
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
16983
16983
|
var schemas_exports2 = {};
|
|
16984
16984
|
__export(schemas_exports2, {
|
|
16985
16985
|
ZodAny: () => ZodAny,
|
|
@@ -17160,7 +17160,7 @@ __export(schemas_exports2, {
|
|
|
17160
17160
|
xor: () => xor
|
|
17161
17161
|
});
|
|
17162
17162
|
|
|
17163
|
-
// ../../../node_modules
|
|
17163
|
+
// ../../../node_modules/zod/v4/classic/checks.js
|
|
17164
17164
|
var checks_exports2 = {};
|
|
17165
17165
|
__export(checks_exports2, {
|
|
17166
17166
|
endsWith: () => _endsWith,
|
|
@@ -17195,7 +17195,7 @@ __export(checks_exports2, {
|
|
|
17195
17195
|
uppercase: () => _uppercase
|
|
17196
17196
|
});
|
|
17197
17197
|
|
|
17198
|
-
// ../../../node_modules
|
|
17198
|
+
// ../../../node_modules/zod/v4/classic/errors.js
|
|
17199
17199
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
17200
17200
|
function _lazyMethod(proto, key, make) {
|
|
17201
17201
|
Object.defineProperty(proto, key, {
|
|
@@ -17241,7 +17241,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
17241
17241
|
Parent: Error
|
|
17242
17242
|
});
|
|
17243
17243
|
|
|
17244
|
-
// ../../../node_modules
|
|
17244
|
+
// ../../../node_modules/zod/v4/classic/parse.js
|
|
17245
17245
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
17246
17246
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
17247
17247
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -17255,7 +17255,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
17255
17255
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
17256
17256
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
17257
17257
|
|
|
17258
|
-
// ../../../node_modules
|
|
17258
|
+
// ../../../node_modules/zod/v4/classic/schemas.js
|
|
17259
17259
|
function _ensureDefaultLocale() {
|
|
17260
17260
|
if (!globalConfig.localeError)
|
|
17261
17261
|
config(en_default());
|
|
@@ -18720,7 +18720,7 @@ function preprocess(fn, schema) {
|
|
|
18720
18720
|
});
|
|
18721
18721
|
}
|
|
18722
18722
|
|
|
18723
|
-
// ../../../node_modules
|
|
18723
|
+
// ../../../node_modules/zod/v4/classic/compat.js
|
|
18724
18724
|
var ZodIssueCode = {
|
|
18725
18725
|
invalid_type: "invalid_type",
|
|
18726
18726
|
too_big: "too_big",
|
|
@@ -18746,7 +18746,7 @@ var ZodFirstPartyTypeKind;
|
|
|
18746
18746
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
18747
18747
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
18748
18748
|
|
|
18749
|
-
// ../../../node_modules
|
|
18749
|
+
// ../../../node_modules/zod/v4/classic/iso.js
|
|
18750
18750
|
var iso_exports = {};
|
|
18751
18751
|
__export(iso_exports, {
|
|
18752
18752
|
ZodISODate: () => ZodISODate,
|
|
@@ -18771,7 +18771,7 @@ function duration2(params) {
|
|
|
18771
18771
|
return _isoDuration(ZodISODuration, params);
|
|
18772
18772
|
}
|
|
18773
18773
|
|
|
18774
|
-
// ../../../node_modules
|
|
18774
|
+
// ../../../node_modules/zod/v4/classic/from-json-schema.js
|
|
18775
18775
|
var z = {
|
|
18776
18776
|
...schemas_exports2,
|
|
18777
18777
|
...checks_exports2,
|
|
@@ -19504,7 +19504,7 @@ function fromJSONSchema(schema, params) {
|
|
|
19504
19504
|
return convertSchema(normalized, ctx);
|
|
19505
19505
|
}
|
|
19506
19506
|
|
|
19507
|
-
// ../../../node_modules
|
|
19507
|
+
// ../../../node_modules/zod/v4/core/visit.js
|
|
19508
19508
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
19509
19509
|
function visit(schema, fnOrHandlers) {
|
|
19510
19510
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -19659,7 +19659,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
19659
19659
|
return run(schema);
|
|
19660
19660
|
}
|
|
19661
19661
|
|
|
19662
|
-
// ../../../node_modules
|
|
19662
|
+
// ../../../node_modules/zod/v4/classic/deep-partial.js
|
|
19663
19663
|
function deepPartial(schema) {
|
|
19664
19664
|
return visit(schema, {
|
|
19665
19665
|
object: (s) => s.partial(),
|
|
@@ -19671,7 +19671,7 @@ function deepPartial(schema) {
|
|
|
19671
19671
|
});
|
|
19672
19672
|
}
|
|
19673
19673
|
|
|
19674
|
-
// ../../../node_modules
|
|
19674
|
+
// ../../../node_modules/zod/v4/classic/in-out.js
|
|
19675
19675
|
function withChecks(side, checks) {
|
|
19676
19676
|
if (!checks?.length)
|
|
19677
19677
|
return side;
|
|
@@ -19701,7 +19701,7 @@ function output(schema) {
|
|
|
19701
19701
|
});
|
|
19702
19702
|
}
|
|
19703
19703
|
|
|
19704
|
-
// ../../../node_modules
|
|
19704
|
+
// ../../../node_modules/zod/v4/classic/coerce.js
|
|
19705
19705
|
var coerce_exports = {};
|
|
19706
19706
|
__export(coerce_exports, {
|
|
19707
19707
|
bigint: () => bigint3,
|
|
@@ -19852,6 +19852,29 @@ function createAbortSignal(timeoutMs) {
|
|
|
19852
19852
|
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
19853
19853
|
return { signal: controller.signal, cancel: () => clearTimeout(timer) };
|
|
19854
19854
|
}
|
|
19855
|
+
function agentBaseUrl(config2) {
|
|
19856
|
+
if (config2.requireExplicitBaseUrl && config2.baseUrl === void 0) {
|
|
19857
|
+
throw new AgentValidationError("Esta conexi\xF3n requiere un origen de API expl\xEDcito.", {
|
|
19858
|
+
code: "INVALID_AGENT_CONFIG",
|
|
19859
|
+
status: 0
|
|
19860
|
+
});
|
|
19861
|
+
}
|
|
19862
|
+
const raw = config2.baseUrl ?? AVILEO_AGENT_API_URL;
|
|
19863
|
+
try {
|
|
19864
|
+
const parsed = new URL(raw.trim());
|
|
19865
|
+
if (!raw.trim() || !["http:", "https:"].includes(parsed.protocol) || parsed.username || parsed.password || parsed.search || parsed.hash)
|
|
19866
|
+
throw new Error();
|
|
19867
|
+
return parsed.toString().replace(/\/+$/, "");
|
|
19868
|
+
} catch {
|
|
19869
|
+
throw new AgentValidationError(
|
|
19870
|
+
"El origen de API debe ser absoluto, sin credenciales, query ni fragmento.",
|
|
19871
|
+
{
|
|
19872
|
+
code: "INVALID_AGENT_CONFIG",
|
|
19873
|
+
status: 0
|
|
19874
|
+
}
|
|
19875
|
+
);
|
|
19876
|
+
}
|
|
19877
|
+
}
|
|
19855
19878
|
var AgentHttpClient = class {
|
|
19856
19879
|
#apiKey;
|
|
19857
19880
|
#baseUrl;
|
|
@@ -19859,7 +19882,7 @@ var AgentHttpClient = class {
|
|
|
19859
19882
|
#timeoutMs;
|
|
19860
19883
|
constructor(config2) {
|
|
19861
19884
|
this.#apiKey = configuredApiKey(config2);
|
|
19862
|
-
this.#baseUrl = (config2
|
|
19885
|
+
this.#baseUrl = agentBaseUrl(config2);
|
|
19863
19886
|
this.#fetchImpl = config2.fetch ?? ((...args) => fetch(...args));
|
|
19864
19887
|
this.#timeoutMs = config2.timeoutMs;
|
|
19865
19888
|
}
|
|
@@ -19878,6 +19901,8 @@ var AgentHttpClient = class {
|
|
|
19878
19901
|
try {
|
|
19879
19902
|
response = await this.#fetchImpl(url2, {
|
|
19880
19903
|
method: options.method ?? "GET",
|
|
19904
|
+
// Custom Agent Key headers must not follow redirects to another origin.
|
|
19905
|
+
redirect: "error",
|
|
19881
19906
|
headers: {
|
|
19882
19907
|
...formData || options.body === void 0 ? {} : { "content-type": "application/json" },
|
|
19883
19908
|
...options.approvalId ? { "x-avileo-approval-id": options.approvalId } : {},
|
|
@@ -21258,8 +21283,8 @@ function apiOrigin(baseUrl) {
|
|
|
21258
21283
|
return `${parsed.protocol}//${parsed.host}`;
|
|
21259
21284
|
}
|
|
21260
21285
|
function overrideBaseUrl(env) {
|
|
21261
|
-
const raw = env.AVILEO_AGENT_BASE_URL
|
|
21262
|
-
return raw ? normalizeApiBaseUrl(raw)
|
|
21286
|
+
const raw = env.AVILEO_AGENT_BASE_URL;
|
|
21287
|
+
return raw === void 0 ? void 0 : normalizeApiBaseUrl(raw);
|
|
21263
21288
|
}
|
|
21264
21289
|
var AGENT_KEY_PATTERN = /^avileo_sk_[^\s]+$/;
|
|
21265
21290
|
function normalizeAgentKey(value, message) {
|
|
@@ -21300,6 +21325,11 @@ function readLocalCredential(env = process.env) {
|
|
|
21300
21325
|
}
|
|
21301
21326
|
function resolveCredential(env = process.env) {
|
|
21302
21327
|
const override = overrideBaseUrl(env);
|
|
21328
|
+
if (env.AVILEO_AGENT_REQUIRE_EXPLICIT_ORIGIN === "1" && override === void 0) {
|
|
21329
|
+
throw new CliOriginUnsupportedError(
|
|
21330
|
+
"Esta conexi\xF3n requiere AVILEO_AGENT_BASE_URL expl\xEDcito; no se usar\xE1 el origen de producci\xF3n."
|
|
21331
|
+
);
|
|
21332
|
+
}
|
|
21303
21333
|
const environmentValue = env.AVILEO_AGENT_API_KEY;
|
|
21304
21334
|
if (environmentValue !== void 0) {
|
|
21305
21335
|
return {
|
|
@@ -21354,7 +21384,8 @@ function createClientFromEnvironment({
|
|
|
21354
21384
|
}
|
|
21355
21385
|
return clientFactory({
|
|
21356
21386
|
apiKey: credential.apiKey,
|
|
21357
|
-
baseUrl: credential.baseUrl
|
|
21387
|
+
baseUrl: credential.baseUrl,
|
|
21388
|
+
...env.AVILEO_AGENT_REQUIRE_EXPLICIT_ORIGIN === "1" ? { requireExplicitBaseUrl: true } : {}
|
|
21358
21389
|
});
|
|
21359
21390
|
}
|
|
21360
21391
|
var CliConfigurationError = class extends Error {
|
|
@@ -22299,13 +22330,27 @@ async function openVerificationUri(uri) {
|
|
|
22299
22330
|
return false;
|
|
22300
22331
|
}
|
|
22301
22332
|
function resolveSelectedBaseUrl(options) {
|
|
22302
|
-
|
|
22303
|
-
|
|
22304
|
-
|
|
22305
|
-
|
|
22333
|
+
if (options.baseUrl !== void 0) return normalizeApiBaseUrl(options.baseUrl);
|
|
22334
|
+
const fromEnvironment = options.env.AVILEO_AGENT_BASE_URL;
|
|
22335
|
+
if (fromEnvironment !== void 0) return normalizeApiBaseUrl(fromEnvironment);
|
|
22336
|
+
if (options.env.AVILEO_AGENT_REQUIRE_EXPLICIT_ORIGIN === "1") {
|
|
22337
|
+
throw new CliOriginUnsupportedError(
|
|
22338
|
+
"Esta conexi\xF3n requiere --base-url o AVILEO_AGENT_BASE_URL expl\xEDcito."
|
|
22339
|
+
);
|
|
22340
|
+
}
|
|
22341
|
+
return AVILEO_AGENT_API_URL;
|
|
22342
|
+
}
|
|
22343
|
+
function assertIsolatedDevelopmentPairing(options) {
|
|
22344
|
+
if (options.env.AVILEO_AGENT_REQUIRE_EXPLICIT_ORIGIN === "1" && !options.env.AVILEO_AGENT_CONFIG_PATH?.trim()) {
|
|
22345
|
+
throw new CliProtocolError(
|
|
22346
|
+
"CLI_CONFIGURATION_ERROR",
|
|
22347
|
+
"La conexi\xF3n de desarrollo requiere AVILEO_AGENT_CONFIG_PATH privado; no se modificar\xE1 la credencial global."
|
|
22348
|
+
);
|
|
22349
|
+
}
|
|
22306
22350
|
}
|
|
22307
22351
|
async function login(options) {
|
|
22308
22352
|
const baseUrl = resolveSelectedBaseUrl(options);
|
|
22353
|
+
assertIsolatedDevelopmentPairing(options);
|
|
22309
22354
|
const deviceAuth = options.deviceAuthFactory({ baseUrl });
|
|
22310
22355
|
const start = await deviceAuth.start({ name: "Avileo CLI" });
|
|
22311
22356
|
const browserOpened = await options.openBrowser(start.verificationUri);
|
|
@@ -22362,6 +22407,7 @@ async function login(options) {
|
|
|
22362
22407
|
}
|
|
22363
22408
|
async function configure(options) {
|
|
22364
22409
|
const baseUrl = resolveSelectedBaseUrl(options);
|
|
22410
|
+
assertIsolatedDevelopmentPairing(options);
|
|
22365
22411
|
const apiKey = await options.readSecret("Agent Key de Avileo (no se mostrar\xE1): ");
|
|
22366
22412
|
saveLocalCredential({ apiKey, baseUrl }, options.env);
|
|
22367
22413
|
emitSuccess({
|