@kevisual/router 0.2.2 → 0.2.4
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/app.js +112 -123
- package/dist/commander.d.ts +11 -14
- package/dist/commander.js +96 -90
- package/dist/opencode.d.ts +11 -14
- package/dist/opencode.js +84 -84
- package/dist/router-browser.d.ts +14 -14
- package/dist/router-browser.js +85 -85
- package/dist/router-define.d.ts +12 -12
- package/dist/router-simple.d.ts +2 -3
- package/dist/router-simple.js +1 -1
- package/dist/router.d.ts +16 -22
- package/dist/router.js +108 -119
- package/dist/ws.d.ts +11 -14
- package/dist/ws.js +23 -34
- package/package.json +3 -4
- package/src/commander.ts +6 -4
package/dist/commander.js
CHANGED
|
@@ -45,7 +45,7 @@ var __export = (target, all) => {
|
|
|
45
45
|
};
|
|
46
46
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
47
47
|
|
|
48
|
-
//
|
|
48
|
+
// node_modules/commander/lib/error.js
|
|
49
49
|
var require_error = __commonJS((exports) => {
|
|
50
50
|
class CommanderError extends Error {
|
|
51
51
|
constructor(exitCode, code, message) {
|
|
@@ -69,7 +69,7 @@ var require_error = __commonJS((exports) => {
|
|
|
69
69
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
//
|
|
72
|
+
// node_modules/commander/lib/argument.js
|
|
73
73
|
var require_argument = __commonJS((exports) => {
|
|
74
74
|
var { InvalidArgumentError } = require_error();
|
|
75
75
|
|
|
@@ -149,7 +149,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
149
149
|
exports.humanReadableArgName = humanReadableArgName;
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
//
|
|
152
|
+
// node_modules/commander/lib/help.js
|
|
153
153
|
var require_help = __commonJS((exports) => {
|
|
154
154
|
var { humanReadableArgName } = require_argument();
|
|
155
155
|
|
|
@@ -506,7 +506,7 @@ ${itemIndentStr}`);
|
|
|
506
506
|
exports.stripColor = stripColor;
|
|
507
507
|
});
|
|
508
508
|
|
|
509
|
-
//
|
|
509
|
+
// node_modules/commander/lib/option.js
|
|
510
510
|
var require_option = __commonJS((exports) => {
|
|
511
511
|
var { InvalidArgumentError } = require_error();
|
|
512
512
|
|
|
@@ -690,7 +690,7 @@ var require_option = __commonJS((exports) => {
|
|
|
690
690
|
exports.DualOptions = DualOptions;
|
|
691
691
|
});
|
|
692
692
|
|
|
693
|
-
//
|
|
693
|
+
// node_modules/commander/lib/suggestSimilar.js
|
|
694
694
|
var require_suggestSimilar = __commonJS((exports) => {
|
|
695
695
|
var maxDistance = 3;
|
|
696
696
|
function editDistance(a, b) {
|
|
@@ -763,7 +763,7 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
763
763
|
exports.suggestSimilar = suggestSimilar;
|
|
764
764
|
});
|
|
765
765
|
|
|
766
|
-
//
|
|
766
|
+
// node_modules/commander/lib/command.js
|
|
767
767
|
var require_command = __commonJS((exports) => {
|
|
768
768
|
var EventEmitter = __require("node:events").EventEmitter;
|
|
769
769
|
var childProcess = __require("node:child_process");
|
|
@@ -2118,7 +2118,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2118
2118
|
exports.useColor = useColor;
|
|
2119
2119
|
});
|
|
2120
2120
|
|
|
2121
|
-
//
|
|
2121
|
+
// node_modules/commander/index.js
|
|
2122
2122
|
var require_commander = __commonJS((exports) => {
|
|
2123
2123
|
var { Argument } = require_argument();
|
|
2124
2124
|
var { Command } = require_command();
|
|
@@ -2138,7 +2138,7 @@ var require_commander = __commonJS((exports) => {
|
|
|
2138
2138
|
exports.InvalidOptionArgumentError = InvalidArgumentError;
|
|
2139
2139
|
});
|
|
2140
2140
|
|
|
2141
|
-
//
|
|
2141
|
+
// node_modules/commander/esm.mjs
|
|
2142
2142
|
var import__ = __toESM(require_commander(), 1);
|
|
2143
2143
|
var {
|
|
2144
2144
|
program,
|
|
@@ -2154,7 +2154,7 @@ var {
|
|
|
2154
2154
|
Help
|
|
2155
2155
|
} = import__.default;
|
|
2156
2156
|
|
|
2157
|
-
//
|
|
2157
|
+
// node_modules/@kevisual/remote-app/dist/app.js
|
|
2158
2158
|
var __create2 = Object.create;
|
|
2159
2159
|
var __getProtoOf2 = Object.getPrototypeOf;
|
|
2160
2160
|
var __defProp2 = Object.defineProperty;
|
|
@@ -2638,7 +2638,7 @@ class RemoteApp {
|
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
2640
|
|
|
2641
|
-
//
|
|
2641
|
+
// node_modules/zod/v4/classic/external.js
|
|
2642
2642
|
var exports_external = {};
|
|
2643
2643
|
__export(exports_external, {
|
|
2644
2644
|
xor: () => xor,
|
|
@@ -2879,7 +2879,7 @@ __export(exports_external, {
|
|
|
2879
2879
|
$brand: () => $brand
|
|
2880
2880
|
});
|
|
2881
2881
|
|
|
2882
|
-
//
|
|
2882
|
+
// node_modules/zod/v4/core/index.js
|
|
2883
2883
|
var exports_core2 = {};
|
|
2884
2884
|
__export(exports_core2, {
|
|
2885
2885
|
version: () => version,
|
|
@@ -3157,7 +3157,7 @@ __export(exports_core2, {
|
|
|
3157
3157
|
$ZodAny: () => $ZodAny
|
|
3158
3158
|
});
|
|
3159
3159
|
|
|
3160
|
-
//
|
|
3160
|
+
// node_modules/zod/v4/core/core.js
|
|
3161
3161
|
var NEVER = Object.freeze({
|
|
3162
3162
|
status: "aborted"
|
|
3163
3163
|
});
|
|
@@ -3233,7 +3233,7 @@ function config(newConfig) {
|
|
|
3233
3233
|
Object.assign(globalConfig, newConfig);
|
|
3234
3234
|
return globalConfig;
|
|
3235
3235
|
}
|
|
3236
|
-
//
|
|
3236
|
+
// node_modules/zod/v4/core/util.js
|
|
3237
3237
|
var exports_util = {};
|
|
3238
3238
|
__export(exports_util, {
|
|
3239
3239
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -3907,7 +3907,7 @@ class Class {
|
|
|
3907
3907
|
constructor(..._args) {}
|
|
3908
3908
|
}
|
|
3909
3909
|
|
|
3910
|
-
//
|
|
3910
|
+
// node_modules/zod/v4/core/errors.js
|
|
3911
3911
|
var initializer = (inst, def) => {
|
|
3912
3912
|
inst.name = "$ZodError";
|
|
3913
3913
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -4044,7 +4044,7 @@ function prettifyError(error) {
|
|
|
4044
4044
|
`);
|
|
4045
4045
|
}
|
|
4046
4046
|
|
|
4047
|
-
//
|
|
4047
|
+
// node_modules/zod/v4/core/parse.js
|
|
4048
4048
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
4049
4049
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
4050
4050
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -4131,7 +4131,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
4131
4131
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
4132
4132
|
};
|
|
4133
4133
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
4134
|
-
//
|
|
4134
|
+
// node_modules/zod/v4/core/regexes.js
|
|
4135
4135
|
var exports_regexes = {};
|
|
4136
4136
|
__export(exports_regexes, {
|
|
4137
4137
|
xid: () => xid,
|
|
@@ -4288,7 +4288,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
4288
4288
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
4289
4289
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
4290
4290
|
|
|
4291
|
-
//
|
|
4291
|
+
// node_modules/zod/v4/core/checks.js
|
|
4292
4292
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
4293
4293
|
var _a;
|
|
4294
4294
|
inst._zod ?? (inst._zod = {});
|
|
@@ -4835,7 +4835,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
4835
4835
|
};
|
|
4836
4836
|
});
|
|
4837
4837
|
|
|
4838
|
-
//
|
|
4838
|
+
// node_modules/zod/v4/core/doc.js
|
|
4839
4839
|
class Doc {
|
|
4840
4840
|
constructor(args = []) {
|
|
4841
4841
|
this.content = [];
|
|
@@ -4873,14 +4873,14 @@ class Doc {
|
|
|
4873
4873
|
}
|
|
4874
4874
|
}
|
|
4875
4875
|
|
|
4876
|
-
//
|
|
4876
|
+
// node_modules/zod/v4/core/versions.js
|
|
4877
4877
|
var version = {
|
|
4878
4878
|
major: 4,
|
|
4879
4879
|
minor: 3,
|
|
4880
4880
|
patch: 6
|
|
4881
4881
|
};
|
|
4882
4882
|
|
|
4883
|
-
//
|
|
4883
|
+
// node_modules/zod/v4/core/schemas.js
|
|
4884
4884
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
4885
4885
|
var _a;
|
|
4886
4886
|
inst ?? (inst = {});
|
|
@@ -6842,7 +6842,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
6842
6842
|
payload.issues.push(issue(_iss));
|
|
6843
6843
|
}
|
|
6844
6844
|
}
|
|
6845
|
-
//
|
|
6845
|
+
// node_modules/zod/v4/locales/index.js
|
|
6846
6846
|
var exports_locales = {};
|
|
6847
6847
|
__export(exports_locales, {
|
|
6848
6848
|
zhTW: () => zh_TW_default,
|
|
@@ -6896,7 +6896,7 @@ __export(exports_locales, {
|
|
|
6896
6896
|
ar: () => ar_default
|
|
6897
6897
|
});
|
|
6898
6898
|
|
|
6899
|
-
//
|
|
6899
|
+
// node_modules/zod/v4/locales/ar.js
|
|
6900
6900
|
var error = () => {
|
|
6901
6901
|
const Sizable = {
|
|
6902
6902
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -7002,7 +7002,7 @@ function ar_default() {
|
|
|
7002
7002
|
localeError: error()
|
|
7003
7003
|
};
|
|
7004
7004
|
}
|
|
7005
|
-
//
|
|
7005
|
+
// node_modules/zod/v4/locales/az.js
|
|
7006
7006
|
var error2 = () => {
|
|
7007
7007
|
const Sizable = {
|
|
7008
7008
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -7107,7 +7107,7 @@ function az_default() {
|
|
|
7107
7107
|
localeError: error2()
|
|
7108
7108
|
};
|
|
7109
7109
|
}
|
|
7110
|
-
//
|
|
7110
|
+
// node_modules/zod/v4/locales/be.js
|
|
7111
7111
|
function getBelarusianPlural(count, one, few, many) {
|
|
7112
7112
|
const absCount = Math.abs(count);
|
|
7113
7113
|
const lastDigit = absCount % 10;
|
|
@@ -7263,7 +7263,7 @@ function be_default() {
|
|
|
7263
7263
|
localeError: error3()
|
|
7264
7264
|
};
|
|
7265
7265
|
}
|
|
7266
|
-
//
|
|
7266
|
+
// node_modules/zod/v4/locales/bg.js
|
|
7267
7267
|
var error4 = () => {
|
|
7268
7268
|
const Sizable = {
|
|
7269
7269
|
string: { unit: "символа", verb: "да съдържа" },
|
|
@@ -7383,7 +7383,7 @@ function bg_default() {
|
|
|
7383
7383
|
localeError: error4()
|
|
7384
7384
|
};
|
|
7385
7385
|
}
|
|
7386
|
-
//
|
|
7386
|
+
// node_modules/zod/v4/locales/ca.js
|
|
7387
7387
|
var error5 = () => {
|
|
7388
7388
|
const Sizable = {
|
|
7389
7389
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -7490,7 +7490,7 @@ function ca_default() {
|
|
|
7490
7490
|
localeError: error5()
|
|
7491
7491
|
};
|
|
7492
7492
|
}
|
|
7493
|
-
//
|
|
7493
|
+
// node_modules/zod/v4/locales/cs.js
|
|
7494
7494
|
var error6 = () => {
|
|
7495
7495
|
const Sizable = {
|
|
7496
7496
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -7601,7 +7601,7 @@ function cs_default() {
|
|
|
7601
7601
|
localeError: error6()
|
|
7602
7602
|
};
|
|
7603
7603
|
}
|
|
7604
|
-
//
|
|
7604
|
+
// node_modules/zod/v4/locales/da.js
|
|
7605
7605
|
var error7 = () => {
|
|
7606
7606
|
const Sizable = {
|
|
7607
7607
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -7716,7 +7716,7 @@ function da_default() {
|
|
|
7716
7716
|
localeError: error7()
|
|
7717
7717
|
};
|
|
7718
7718
|
}
|
|
7719
|
-
//
|
|
7719
|
+
// node_modules/zod/v4/locales/de.js
|
|
7720
7720
|
var error8 = () => {
|
|
7721
7721
|
const Sizable = {
|
|
7722
7722
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -7824,7 +7824,7 @@ function de_default() {
|
|
|
7824
7824
|
localeError: error8()
|
|
7825
7825
|
};
|
|
7826
7826
|
}
|
|
7827
|
-
//
|
|
7827
|
+
// node_modules/zod/v4/locales/en.js
|
|
7828
7828
|
var error9 = () => {
|
|
7829
7829
|
const Sizable = {
|
|
7830
7830
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -7930,7 +7930,7 @@ function en_default() {
|
|
|
7930
7930
|
localeError: error9()
|
|
7931
7931
|
};
|
|
7932
7932
|
}
|
|
7933
|
-
//
|
|
7933
|
+
// node_modules/zod/v4/locales/eo.js
|
|
7934
7934
|
var error10 = () => {
|
|
7935
7935
|
const Sizable = {
|
|
7936
7936
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -8039,7 +8039,7 @@ function eo_default() {
|
|
|
8039
8039
|
localeError: error10()
|
|
8040
8040
|
};
|
|
8041
8041
|
}
|
|
8042
|
-
//
|
|
8042
|
+
// node_modules/zod/v4/locales/es.js
|
|
8043
8043
|
var error11 = () => {
|
|
8044
8044
|
const Sizable = {
|
|
8045
8045
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -8171,7 +8171,7 @@ function es_default() {
|
|
|
8171
8171
|
localeError: error11()
|
|
8172
8172
|
};
|
|
8173
8173
|
}
|
|
8174
|
-
//
|
|
8174
|
+
// node_modules/zod/v4/locales/fa.js
|
|
8175
8175
|
var error12 = () => {
|
|
8176
8176
|
const Sizable = {
|
|
8177
8177
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
@@ -8285,7 +8285,7 @@ function fa_default() {
|
|
|
8285
8285
|
localeError: error12()
|
|
8286
8286
|
};
|
|
8287
8287
|
}
|
|
8288
|
-
//
|
|
8288
|
+
// node_modules/zod/v4/locales/fi.js
|
|
8289
8289
|
var error13 = () => {
|
|
8290
8290
|
const Sizable = {
|
|
8291
8291
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
@@ -8397,7 +8397,7 @@ function fi_default() {
|
|
|
8397
8397
|
localeError: error13()
|
|
8398
8398
|
};
|
|
8399
8399
|
}
|
|
8400
|
-
//
|
|
8400
|
+
// node_modules/zod/v4/locales/fr.js
|
|
8401
8401
|
var error14 = () => {
|
|
8402
8402
|
const Sizable = {
|
|
8403
8403
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -8505,7 +8505,7 @@ function fr_default() {
|
|
|
8505
8505
|
localeError: error14()
|
|
8506
8506
|
};
|
|
8507
8507
|
}
|
|
8508
|
-
//
|
|
8508
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
8509
8509
|
var error15 = () => {
|
|
8510
8510
|
const Sizable = {
|
|
8511
8511
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -8612,7 +8612,7 @@ function fr_CA_default() {
|
|
|
8612
8612
|
localeError: error15()
|
|
8613
8613
|
};
|
|
8614
8614
|
}
|
|
8615
|
-
//
|
|
8615
|
+
// node_modules/zod/v4/locales/he.js
|
|
8616
8616
|
var error16 = () => {
|
|
8617
8617
|
const TypeNames = {
|
|
8618
8618
|
string: { label: "מחרוזת", gender: "f" },
|
|
@@ -8805,7 +8805,7 @@ function he_default() {
|
|
|
8805
8805
|
localeError: error16()
|
|
8806
8806
|
};
|
|
8807
8807
|
}
|
|
8808
|
-
//
|
|
8808
|
+
// node_modules/zod/v4/locales/hu.js
|
|
8809
8809
|
var error17 = () => {
|
|
8810
8810
|
const Sizable = {
|
|
8811
8811
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -8913,7 +8913,7 @@ function hu_default() {
|
|
|
8913
8913
|
localeError: error17()
|
|
8914
8914
|
};
|
|
8915
8915
|
}
|
|
8916
|
-
//
|
|
8916
|
+
// node_modules/zod/v4/locales/hy.js
|
|
8917
8917
|
function getArmenianPlural(count, one, many) {
|
|
8918
8918
|
return Math.abs(count) === 1 ? one : many;
|
|
8919
8919
|
}
|
|
@@ -9060,7 +9060,7 @@ function hy_default() {
|
|
|
9060
9060
|
localeError: error18()
|
|
9061
9061
|
};
|
|
9062
9062
|
}
|
|
9063
|
-
//
|
|
9063
|
+
// node_modules/zod/v4/locales/id.js
|
|
9064
9064
|
var error19 = () => {
|
|
9065
9065
|
const Sizable = {
|
|
9066
9066
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -9166,7 +9166,7 @@ function id_default() {
|
|
|
9166
9166
|
localeError: error19()
|
|
9167
9167
|
};
|
|
9168
9168
|
}
|
|
9169
|
-
//
|
|
9169
|
+
// node_modules/zod/v4/locales/is.js
|
|
9170
9170
|
var error20 = () => {
|
|
9171
9171
|
const Sizable = {
|
|
9172
9172
|
string: { unit: "stafi", verb: "að hafa" },
|
|
@@ -9275,7 +9275,7 @@ function is_default() {
|
|
|
9275
9275
|
localeError: error20()
|
|
9276
9276
|
};
|
|
9277
9277
|
}
|
|
9278
|
-
//
|
|
9278
|
+
// node_modules/zod/v4/locales/it.js
|
|
9279
9279
|
var error21 = () => {
|
|
9280
9280
|
const Sizable = {
|
|
9281
9281
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -9383,7 +9383,7 @@ function it_default() {
|
|
|
9383
9383
|
localeError: error21()
|
|
9384
9384
|
};
|
|
9385
9385
|
}
|
|
9386
|
-
//
|
|
9386
|
+
// node_modules/zod/v4/locales/ja.js
|
|
9387
9387
|
var error22 = () => {
|
|
9388
9388
|
const Sizable = {
|
|
9389
9389
|
string: { unit: "文字", verb: "である" },
|
|
@@ -9490,7 +9490,7 @@ function ja_default() {
|
|
|
9490
9490
|
localeError: error22()
|
|
9491
9491
|
};
|
|
9492
9492
|
}
|
|
9493
|
-
//
|
|
9493
|
+
// node_modules/zod/v4/locales/ka.js
|
|
9494
9494
|
var error23 = () => {
|
|
9495
9495
|
const Sizable = {
|
|
9496
9496
|
string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
|
|
@@ -9602,7 +9602,7 @@ function ka_default() {
|
|
|
9602
9602
|
localeError: error23()
|
|
9603
9603
|
};
|
|
9604
9604
|
}
|
|
9605
|
-
//
|
|
9605
|
+
// node_modules/zod/v4/locales/km.js
|
|
9606
9606
|
var error24 = () => {
|
|
9607
9607
|
const Sizable = {
|
|
9608
9608
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
@@ -9713,11 +9713,11 @@ function km_default() {
|
|
|
9713
9713
|
};
|
|
9714
9714
|
}
|
|
9715
9715
|
|
|
9716
|
-
//
|
|
9716
|
+
// node_modules/zod/v4/locales/kh.js
|
|
9717
9717
|
function kh_default() {
|
|
9718
9718
|
return km_default();
|
|
9719
9719
|
}
|
|
9720
|
-
//
|
|
9720
|
+
// node_modules/zod/v4/locales/ko.js
|
|
9721
9721
|
var error25 = () => {
|
|
9722
9722
|
const Sizable = {
|
|
9723
9723
|
string: { unit: "문자", verb: "to have" },
|
|
@@ -9828,7 +9828,7 @@ function ko_default() {
|
|
|
9828
9828
|
localeError: error25()
|
|
9829
9829
|
};
|
|
9830
9830
|
}
|
|
9831
|
-
//
|
|
9831
|
+
// node_modules/zod/v4/locales/lt.js
|
|
9832
9832
|
var capitalizeFirstCharacter = (text) => {
|
|
9833
9833
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
9834
9834
|
};
|
|
@@ -10031,7 +10031,7 @@ function lt_default() {
|
|
|
10031
10031
|
localeError: error26()
|
|
10032
10032
|
};
|
|
10033
10033
|
}
|
|
10034
|
-
//
|
|
10034
|
+
// node_modules/zod/v4/locales/mk.js
|
|
10035
10035
|
var error27 = () => {
|
|
10036
10036
|
const Sizable = {
|
|
10037
10037
|
string: { unit: "знаци", verb: "да имаат" },
|
|
@@ -10140,7 +10140,7 @@ function mk_default() {
|
|
|
10140
10140
|
localeError: error27()
|
|
10141
10141
|
};
|
|
10142
10142
|
}
|
|
10143
|
-
//
|
|
10143
|
+
// node_modules/zod/v4/locales/ms.js
|
|
10144
10144
|
var error28 = () => {
|
|
10145
10145
|
const Sizable = {
|
|
10146
10146
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -10247,7 +10247,7 @@ function ms_default() {
|
|
|
10247
10247
|
localeError: error28()
|
|
10248
10248
|
};
|
|
10249
10249
|
}
|
|
10250
|
-
//
|
|
10250
|
+
// node_modules/zod/v4/locales/nl.js
|
|
10251
10251
|
var error29 = () => {
|
|
10252
10252
|
const Sizable = {
|
|
10253
10253
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -10357,7 +10357,7 @@ function nl_default() {
|
|
|
10357
10357
|
localeError: error29()
|
|
10358
10358
|
};
|
|
10359
10359
|
}
|
|
10360
|
-
//
|
|
10360
|
+
// node_modules/zod/v4/locales/no.js
|
|
10361
10361
|
var error30 = () => {
|
|
10362
10362
|
const Sizable = {
|
|
10363
10363
|
string: { unit: "tegn", verb: "å ha" },
|
|
@@ -10465,7 +10465,7 @@ function no_default() {
|
|
|
10465
10465
|
localeError: error30()
|
|
10466
10466
|
};
|
|
10467
10467
|
}
|
|
10468
|
-
//
|
|
10468
|
+
// node_modules/zod/v4/locales/ota.js
|
|
10469
10469
|
var error31 = () => {
|
|
10470
10470
|
const Sizable = {
|
|
10471
10471
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
@@ -10574,7 +10574,7 @@ function ota_default() {
|
|
|
10574
10574
|
localeError: error31()
|
|
10575
10575
|
};
|
|
10576
10576
|
}
|
|
10577
|
-
//
|
|
10577
|
+
// node_modules/zod/v4/locales/ps.js
|
|
10578
10578
|
var error32 = () => {
|
|
10579
10579
|
const Sizable = {
|
|
10580
10580
|
string: { unit: "توکي", verb: "ولري" },
|
|
@@ -10688,7 +10688,7 @@ function ps_default() {
|
|
|
10688
10688
|
localeError: error32()
|
|
10689
10689
|
};
|
|
10690
10690
|
}
|
|
10691
|
-
//
|
|
10691
|
+
// node_modules/zod/v4/locales/pl.js
|
|
10692
10692
|
var error33 = () => {
|
|
10693
10693
|
const Sizable = {
|
|
10694
10694
|
string: { unit: "znaków", verb: "mieć" },
|
|
@@ -10797,7 +10797,7 @@ function pl_default() {
|
|
|
10797
10797
|
localeError: error33()
|
|
10798
10798
|
};
|
|
10799
10799
|
}
|
|
10800
|
-
//
|
|
10800
|
+
// node_modules/zod/v4/locales/pt.js
|
|
10801
10801
|
var error34 = () => {
|
|
10802
10802
|
const Sizable = {
|
|
10803
10803
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -10905,7 +10905,7 @@ function pt_default() {
|
|
|
10905
10905
|
localeError: error34()
|
|
10906
10906
|
};
|
|
10907
10907
|
}
|
|
10908
|
-
//
|
|
10908
|
+
// node_modules/zod/v4/locales/ru.js
|
|
10909
10909
|
function getRussianPlural(count, one, few, many) {
|
|
10910
10910
|
const absCount = Math.abs(count);
|
|
10911
10911
|
const lastDigit = absCount % 10;
|
|
@@ -11061,7 +11061,7 @@ function ru_default() {
|
|
|
11061
11061
|
localeError: error35()
|
|
11062
11062
|
};
|
|
11063
11063
|
}
|
|
11064
|
-
//
|
|
11064
|
+
// node_modules/zod/v4/locales/sl.js
|
|
11065
11065
|
var error36 = () => {
|
|
11066
11066
|
const Sizable = {
|
|
11067
11067
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -11170,7 +11170,7 @@ function sl_default() {
|
|
|
11170
11170
|
localeError: error36()
|
|
11171
11171
|
};
|
|
11172
11172
|
}
|
|
11173
|
-
//
|
|
11173
|
+
// node_modules/zod/v4/locales/sv.js
|
|
11174
11174
|
var error37 = () => {
|
|
11175
11175
|
const Sizable = {
|
|
11176
11176
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -11280,7 +11280,7 @@ function sv_default() {
|
|
|
11280
11280
|
localeError: error37()
|
|
11281
11281
|
};
|
|
11282
11282
|
}
|
|
11283
|
-
//
|
|
11283
|
+
// node_modules/zod/v4/locales/ta.js
|
|
11284
11284
|
var error38 = () => {
|
|
11285
11285
|
const Sizable = {
|
|
11286
11286
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -11390,7 +11390,7 @@ function ta_default() {
|
|
|
11390
11390
|
localeError: error38()
|
|
11391
11391
|
};
|
|
11392
11392
|
}
|
|
11393
|
-
//
|
|
11393
|
+
// node_modules/zod/v4/locales/th.js
|
|
11394
11394
|
var error39 = () => {
|
|
11395
11395
|
const Sizable = {
|
|
11396
11396
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
@@ -11500,7 +11500,7 @@ function th_default() {
|
|
|
11500
11500
|
localeError: error39()
|
|
11501
11501
|
};
|
|
11502
11502
|
}
|
|
11503
|
-
//
|
|
11503
|
+
// node_modules/zod/v4/locales/tr.js
|
|
11504
11504
|
var error40 = () => {
|
|
11505
11505
|
const Sizable = {
|
|
11506
11506
|
string: { unit: "karakter", verb: "olmalı" },
|
|
@@ -11605,7 +11605,7 @@ function tr_default() {
|
|
|
11605
11605
|
localeError: error40()
|
|
11606
11606
|
};
|
|
11607
11607
|
}
|
|
11608
|
-
//
|
|
11608
|
+
// node_modules/zod/v4/locales/uk.js
|
|
11609
11609
|
var error41 = () => {
|
|
11610
11610
|
const Sizable = {
|
|
11611
11611
|
string: { unit: "символів", verb: "матиме" },
|
|
@@ -11714,11 +11714,11 @@ function uk_default() {
|
|
|
11714
11714
|
};
|
|
11715
11715
|
}
|
|
11716
11716
|
|
|
11717
|
-
//
|
|
11717
|
+
// node_modules/zod/v4/locales/ua.js
|
|
11718
11718
|
function ua_default() {
|
|
11719
11719
|
return uk_default();
|
|
11720
11720
|
}
|
|
11721
|
-
//
|
|
11721
|
+
// node_modules/zod/v4/locales/ur.js
|
|
11722
11722
|
var error42 = () => {
|
|
11723
11723
|
const Sizable = {
|
|
11724
11724
|
string: { unit: "حروف", verb: "ہونا" },
|
|
@@ -11828,7 +11828,7 @@ function ur_default() {
|
|
|
11828
11828
|
localeError: error42()
|
|
11829
11829
|
};
|
|
11830
11830
|
}
|
|
11831
|
-
//
|
|
11831
|
+
// node_modules/zod/v4/locales/uz.js
|
|
11832
11832
|
var error43 = () => {
|
|
11833
11833
|
const Sizable = {
|
|
11834
11834
|
string: { unit: "belgi", verb: "bo‘lishi kerak" },
|
|
@@ -11937,7 +11937,7 @@ function uz_default() {
|
|
|
11937
11937
|
localeError: error43()
|
|
11938
11938
|
};
|
|
11939
11939
|
}
|
|
11940
|
-
//
|
|
11940
|
+
// node_modules/zod/v4/locales/vi.js
|
|
11941
11941
|
var error44 = () => {
|
|
11942
11942
|
const Sizable = {
|
|
11943
11943
|
string: { unit: "ký tự", verb: "có" },
|
|
@@ -12045,7 +12045,7 @@ function vi_default() {
|
|
|
12045
12045
|
localeError: error44()
|
|
12046
12046
|
};
|
|
12047
12047
|
}
|
|
12048
|
-
//
|
|
12048
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
12049
12049
|
var error45 = () => {
|
|
12050
12050
|
const Sizable = {
|
|
12051
12051
|
string: { unit: "字符", verb: "包含" },
|
|
@@ -12154,7 +12154,7 @@ function zh_CN_default() {
|
|
|
12154
12154
|
localeError: error45()
|
|
12155
12155
|
};
|
|
12156
12156
|
}
|
|
12157
|
-
//
|
|
12157
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
12158
12158
|
var error46 = () => {
|
|
12159
12159
|
const Sizable = {
|
|
12160
12160
|
string: { unit: "字元", verb: "擁有" },
|
|
@@ -12261,7 +12261,7 @@ function zh_TW_default() {
|
|
|
12261
12261
|
localeError: error46()
|
|
12262
12262
|
};
|
|
12263
12263
|
}
|
|
12264
|
-
//
|
|
12264
|
+
// node_modules/zod/v4/locales/yo.js
|
|
12265
12265
|
var error47 = () => {
|
|
12266
12266
|
const Sizable = {
|
|
12267
12267
|
string: { unit: "àmi", verb: "ní" },
|
|
@@ -12368,7 +12368,7 @@ function yo_default() {
|
|
|
12368
12368
|
localeError: error47()
|
|
12369
12369
|
};
|
|
12370
12370
|
}
|
|
12371
|
-
//
|
|
12371
|
+
// node_modules/zod/v4/core/registries.js
|
|
12372
12372
|
var _a;
|
|
12373
12373
|
var $output = Symbol("ZodOutput");
|
|
12374
12374
|
var $input = Symbol("ZodInput");
|
|
@@ -12418,7 +12418,7 @@ function registry() {
|
|
|
12418
12418
|
}
|
|
12419
12419
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
12420
12420
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
12421
|
-
//
|
|
12421
|
+
// node_modules/zod/v4/core/api.js
|
|
12422
12422
|
function _string(Class2, params) {
|
|
12423
12423
|
return new Class2({
|
|
12424
12424
|
type: "string",
|
|
@@ -13338,7 +13338,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
13338
13338
|
const inst = new Class2(def);
|
|
13339
13339
|
return inst;
|
|
13340
13340
|
}
|
|
13341
|
-
//
|
|
13341
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
13342
13342
|
function initializeContext(params) {
|
|
13343
13343
|
let target = params?.target ?? "draft-2020-12";
|
|
13344
13344
|
if (target === "draft-4")
|
|
@@ -13683,7 +13683,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
13683
13683
|
extractDefs(ctx, schema);
|
|
13684
13684
|
return finalize(ctx, schema);
|
|
13685
13685
|
};
|
|
13686
|
-
//
|
|
13686
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
13687
13687
|
var formatMap = {
|
|
13688
13688
|
guid: "uuid",
|
|
13689
13689
|
url: "uri",
|
|
@@ -14228,7 +14228,7 @@ function toJSONSchema(input, params) {
|
|
|
14228
14228
|
extractDefs(ctx, input);
|
|
14229
14229
|
return finalize(ctx, input);
|
|
14230
14230
|
}
|
|
14231
|
-
//
|
|
14231
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
14232
14232
|
class JSONSchemaGenerator {
|
|
14233
14233
|
get metadataRegistry() {
|
|
14234
14234
|
return this.ctx.metadataRegistry;
|
|
@@ -14287,9 +14287,9 @@ class JSONSchemaGenerator {
|
|
|
14287
14287
|
return plainResult;
|
|
14288
14288
|
}
|
|
14289
14289
|
}
|
|
14290
|
-
//
|
|
14290
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
14291
14291
|
var exports_json_schema = {};
|
|
14292
|
-
//
|
|
14292
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
14293
14293
|
var exports_schemas2 = {};
|
|
14294
14294
|
__export(exports_schemas2, {
|
|
14295
14295
|
xor: () => xor,
|
|
@@ -14458,7 +14458,7 @@ __export(exports_schemas2, {
|
|
|
14458
14458
|
ZodAny: () => ZodAny
|
|
14459
14459
|
});
|
|
14460
14460
|
|
|
14461
|
-
//
|
|
14461
|
+
// node_modules/zod/v4/classic/checks.js
|
|
14462
14462
|
var exports_checks2 = {};
|
|
14463
14463
|
__export(exports_checks2, {
|
|
14464
14464
|
uppercase: () => _uppercase,
|
|
@@ -14492,7 +14492,7 @@ __export(exports_checks2, {
|
|
|
14492
14492
|
endsWith: () => _endsWith
|
|
14493
14493
|
});
|
|
14494
14494
|
|
|
14495
|
-
//
|
|
14495
|
+
// node_modules/zod/v4/classic/iso.js
|
|
14496
14496
|
var exports_iso = {};
|
|
14497
14497
|
__export(exports_iso, {
|
|
14498
14498
|
time: () => time2,
|
|
@@ -14533,7 +14533,7 @@ function duration2(params) {
|
|
|
14533
14533
|
return _isoDuration(ZodISODuration, params);
|
|
14534
14534
|
}
|
|
14535
14535
|
|
|
14536
|
-
//
|
|
14536
|
+
// node_modules/zod/v4/classic/errors.js
|
|
14537
14537
|
var initializer2 = (inst, issues) => {
|
|
14538
14538
|
$ZodError.init(inst, issues);
|
|
14539
14539
|
inst.name = "ZodError";
|
|
@@ -14568,7 +14568,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
14568
14568
|
Parent: Error
|
|
14569
14569
|
});
|
|
14570
14570
|
|
|
14571
|
-
//
|
|
14571
|
+
// node_modules/zod/v4/classic/parse.js
|
|
14572
14572
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
14573
14573
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
14574
14574
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -14582,7 +14582,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
14582
14582
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
14583
14583
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
14584
14584
|
|
|
14585
|
-
//
|
|
14585
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
14586
14586
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
14587
14587
|
$ZodType.init(inst, def);
|
|
14588
14588
|
Object.assign(inst["~standard"], {
|
|
@@ -15658,7 +15658,7 @@ function json(params) {
|
|
|
15658
15658
|
function preprocess(fn, schema) {
|
|
15659
15659
|
return pipe(transform(fn), schema);
|
|
15660
15660
|
}
|
|
15661
|
-
//
|
|
15661
|
+
// node_modules/zod/v4/classic/compat.js
|
|
15662
15662
|
var ZodIssueCode = {
|
|
15663
15663
|
invalid_type: "invalid_type",
|
|
15664
15664
|
too_big: "too_big",
|
|
@@ -15682,7 +15682,7 @@ function getErrorMap() {
|
|
|
15682
15682
|
}
|
|
15683
15683
|
var ZodFirstPartyTypeKind;
|
|
15684
15684
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
15685
|
-
//
|
|
15685
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
15686
15686
|
var z = {
|
|
15687
15687
|
...exports_schemas2,
|
|
15688
15688
|
...exports_checks2,
|
|
@@ -16143,7 +16143,7 @@ function fromJSONSchema(schema, params) {
|
|
|
16143
16143
|
};
|
|
16144
16144
|
return convertSchema(schema, ctx);
|
|
16145
16145
|
}
|
|
16146
|
-
//
|
|
16146
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
16147
16147
|
var exports_coerce = {};
|
|
16148
16148
|
__export(exports_coerce, {
|
|
16149
16149
|
string: () => string3,
|
|
@@ -16168,9 +16168,9 @@ function date4(params) {
|
|
|
16168
16168
|
return _coercedDate(ZodDate, params);
|
|
16169
16169
|
}
|
|
16170
16170
|
|
|
16171
|
-
//
|
|
16171
|
+
// node_modules/zod/v4/classic/external.js
|
|
16172
16172
|
config(en_default());
|
|
16173
|
-
//
|
|
16173
|
+
// node_modules/zod/index.js
|
|
16174
16174
|
var zod_default = exports_external;
|
|
16175
16175
|
|
|
16176
16176
|
// src/commander.ts
|
|
@@ -16189,7 +16189,7 @@ var parseArgs = (args) => {
|
|
|
16189
16189
|
return JSON.parse(args);
|
|
16190
16190
|
} catch {
|
|
16191
16191
|
const result = {};
|
|
16192
|
-
const pairs = args.match(/(\S+?)=(
|
|
16192
|
+
const pairs = args.match(/(\S+?)=(.*?)(?=\s|$)/g);
|
|
16193
16193
|
if (pairs && pairs.length > 0) {
|
|
16194
16194
|
for (const pair of pairs) {
|
|
16195
16195
|
const idx = pair.indexOf("=");
|
|
@@ -16200,7 +16200,9 @@ var parseArgs = (args) => {
|
|
|
16200
16200
|
value = true;
|
|
16201
16201
|
else if (raw === "false")
|
|
16202
16202
|
value = false;
|
|
16203
|
-
else if (raw
|
|
16203
|
+
else if (raw === "")
|
|
16204
|
+
value = true;
|
|
16205
|
+
else if (!isNaN(Number(raw)))
|
|
16204
16206
|
value = Number(raw);
|
|
16205
16207
|
result[key] = value;
|
|
16206
16208
|
}
|
|
@@ -16328,7 +16330,7 @@ var createCliList = (app) => {
|
|
|
16328
16330
|
q: zod_default.string().optional().describe("查询关键词,支持模糊匹配命令"),
|
|
16329
16331
|
path: zod_default.string().optional().describe("按路径前缀过滤,如 user、admin"),
|
|
16330
16332
|
tags: zod_default.string().optional().describe("按标签过滤,多个标签用逗号分隔"),
|
|
16331
|
-
sort: zod_default.enum(["key", "path", "
|
|
16333
|
+
sort: zod_default.enum(["key", "path", "-key", "-path"]).optional().describe("排序方式"),
|
|
16332
16334
|
limit: zod_default.number().optional().describe("限制返回数量"),
|
|
16333
16335
|
offset: zod_default.number().optional().describe("偏移量,用于分页"),
|
|
16334
16336
|
format: zod_default.enum(["table", "simple", "json"]).optional().describe("输出格式")
|
|
@@ -16368,6 +16370,10 @@ var createCliList = (app) => {
|
|
|
16368
16370
|
return a.path.localeCompare(b.path);
|
|
16369
16371
|
if (sort === "key")
|
|
16370
16372
|
return a.key.localeCompare(b.key);
|
|
16373
|
+
if (sort === "-path")
|
|
16374
|
+
return b.path.localeCompare(a.path);
|
|
16375
|
+
if (sort === "-key")
|
|
16376
|
+
return b.key.localeCompare(a.key);
|
|
16371
16377
|
return a.key.localeCompare(b.key);
|
|
16372
16378
|
});
|
|
16373
16379
|
}
|