@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/app.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/eventemitter3/index.js
|
|
49
49
|
var require_eventemitter3 = __commonJS((exports, module) => {
|
|
50
50
|
var has = Object.prototype.hasOwnProperty;
|
|
51
51
|
var prefix = "~";
|
|
@@ -223,7 +223,7 @@ var require_eventemitter3 = __commonJS((exports, module) => {
|
|
|
223
223
|
}
|
|
224
224
|
});
|
|
225
225
|
|
|
226
|
-
//
|
|
226
|
+
// node_modules/crypto-js/core.js
|
|
227
227
|
var require_core = __commonJS((exports, module) => {
|
|
228
228
|
(function(root, factory) {
|
|
229
229
|
if (typeof exports === "object") {
|
|
@@ -508,7 +508,7 @@ var require_core = __commonJS((exports, module) => {
|
|
|
508
508
|
});
|
|
509
509
|
});
|
|
510
510
|
|
|
511
|
-
//
|
|
511
|
+
// node_modules/crypto-js/md5.js
|
|
512
512
|
var require_md5 = __commonJS((exports, module) => {
|
|
513
513
|
(function(root, factory) {
|
|
514
514
|
if (typeof exports === "object") {
|
|
@@ -685,7 +685,7 @@ var require_md5 = __commonJS((exports, module) => {
|
|
|
685
685
|
});
|
|
686
686
|
});
|
|
687
687
|
|
|
688
|
-
//
|
|
688
|
+
// node_modules/ws/lib/constants.js
|
|
689
689
|
var require_constants = __commonJS((exports, module) => {
|
|
690
690
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
691
691
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -693,7 +693,6 @@ var require_constants = __commonJS((exports, module) => {
|
|
|
693
693
|
BINARY_TYPES.push("blob");
|
|
694
694
|
module.exports = {
|
|
695
695
|
BINARY_TYPES,
|
|
696
|
-
CLOSE_TIMEOUT: 30000,
|
|
697
696
|
EMPTY_BUFFER: Buffer.alloc(0),
|
|
698
697
|
GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11",
|
|
699
698
|
hasBlob,
|
|
@@ -705,7 +704,7 @@ var require_constants = __commonJS((exports, module) => {
|
|
|
705
704
|
};
|
|
706
705
|
});
|
|
707
706
|
|
|
708
|
-
//
|
|
707
|
+
// node_modules/ws/lib/buffer-util.js
|
|
709
708
|
var require_buffer_util = __commonJS((exports, module) => {
|
|
710
709
|
var { EMPTY_BUFFER } = require_constants();
|
|
711
710
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -766,7 +765,7 @@ var require_buffer_util = __commonJS((exports, module) => {
|
|
|
766
765
|
};
|
|
767
766
|
});
|
|
768
767
|
|
|
769
|
-
//
|
|
768
|
+
// node_modules/ws/lib/limiter.js
|
|
770
769
|
var require_limiter = __commonJS((exports, module) => {
|
|
771
770
|
var kDone = Symbol("kDone");
|
|
772
771
|
var kRun = Symbol("kRun");
|
|
@@ -798,7 +797,7 @@ var require_limiter = __commonJS((exports, module) => {
|
|
|
798
797
|
module.exports = Limiter;
|
|
799
798
|
});
|
|
800
799
|
|
|
801
|
-
//
|
|
800
|
+
// node_modules/ws/lib/permessage-deflate.js
|
|
802
801
|
var require_permessage_deflate = __commonJS((exports, module) => {
|
|
803
802
|
var zlib = __require("zlib");
|
|
804
803
|
var bufferUtil = require_buffer_util();
|
|
@@ -1053,16 +1052,12 @@ var require_permessage_deflate = __commonJS((exports, module) => {
|
|
|
1053
1052
|
}
|
|
1054
1053
|
function inflateOnError(err) {
|
|
1055
1054
|
this[kPerMessageDeflate]._inflate = null;
|
|
1056
|
-
if (this[kError]) {
|
|
1057
|
-
this[kCallback](this[kError]);
|
|
1058
|
-
return;
|
|
1059
|
-
}
|
|
1060
1055
|
err[kStatusCode] = 1007;
|
|
1061
1056
|
this[kCallback](err);
|
|
1062
1057
|
}
|
|
1063
1058
|
});
|
|
1064
1059
|
|
|
1065
|
-
//
|
|
1060
|
+
// node_modules/ws/lib/validation.js
|
|
1066
1061
|
var require_validation = __commonJS((exports, module) => {
|
|
1067
1062
|
var { isUtf8 } = __require("buffer");
|
|
1068
1063
|
var { hasBlob } = require_constants();
|
|
@@ -1242,7 +1237,7 @@ var require_validation = __commonJS((exports, module) => {
|
|
|
1242
1237
|
}
|
|
1243
1238
|
});
|
|
1244
1239
|
|
|
1245
|
-
//
|
|
1240
|
+
// node_modules/ws/lib/receiver.js
|
|
1246
1241
|
var require_receiver = __commonJS((exports, module) => {
|
|
1247
1242
|
var { Writable } = __require("stream");
|
|
1248
1243
|
var PerMessageDeflate = require_permessage_deflate();
|
|
@@ -1623,7 +1618,7 @@ var require_receiver = __commonJS((exports, module) => {
|
|
|
1623
1618
|
module.exports = Receiver;
|
|
1624
1619
|
});
|
|
1625
1620
|
|
|
1626
|
-
//
|
|
1621
|
+
// node_modules/ws/lib/sender.js
|
|
1627
1622
|
var require_sender = __commonJS((exports, module) => {
|
|
1628
1623
|
var { Duplex } = __require("stream");
|
|
1629
1624
|
var { randomFillSync } = __require("crypto");
|
|
@@ -1977,7 +1972,7 @@ var require_sender = __commonJS((exports, module) => {
|
|
|
1977
1972
|
}
|
|
1978
1973
|
});
|
|
1979
1974
|
|
|
1980
|
-
//
|
|
1975
|
+
// node_modules/ws/lib/event-target.js
|
|
1981
1976
|
var require_event_target = __commonJS((exports, module) => {
|
|
1982
1977
|
var { kForOnEventAttribute, kListener } = require_constants();
|
|
1983
1978
|
var kCode = Symbol("kCode");
|
|
@@ -2128,7 +2123,7 @@ var require_event_target = __commonJS((exports, module) => {
|
|
|
2128
2123
|
}
|
|
2129
2124
|
});
|
|
2130
2125
|
|
|
2131
|
-
//
|
|
2126
|
+
// node_modules/ws/lib/extension.js
|
|
2132
2127
|
var require_extension = __commonJS((exports, module) => {
|
|
2133
2128
|
var { tokenChars } = require_validation();
|
|
2134
2129
|
function push(dest, name, elem) {
|
|
@@ -2293,7 +2288,7 @@ var require_extension = __commonJS((exports, module) => {
|
|
|
2293
2288
|
module.exports = { format, parse: parse5 };
|
|
2294
2289
|
});
|
|
2295
2290
|
|
|
2296
|
-
//
|
|
2291
|
+
// node_modules/ws/lib/websocket.js
|
|
2297
2292
|
var require_websocket = __commonJS((exports, module) => {
|
|
2298
2293
|
var EventEmitter2 = __require("events");
|
|
2299
2294
|
var https = __require("https");
|
|
@@ -2309,7 +2304,6 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
2309
2304
|
var { isBlob: isBlob2 } = require_validation();
|
|
2310
2305
|
var {
|
|
2311
2306
|
BINARY_TYPES,
|
|
2312
|
-
CLOSE_TIMEOUT,
|
|
2313
2307
|
EMPTY_BUFFER,
|
|
2314
2308
|
GUID,
|
|
2315
2309
|
kForOnEventAttribute,
|
|
@@ -2323,6 +2317,7 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
2323
2317
|
} = require_event_target();
|
|
2324
2318
|
var { format, parse: parse5 } = require_extension();
|
|
2325
2319
|
var { toBuffer } = require_buffer_util();
|
|
2320
|
+
var closeTimeout = 30 * 1000;
|
|
2326
2321
|
var kAborted = Symbol("kAborted");
|
|
2327
2322
|
var protocolVersions = [8, 13];
|
|
2328
2323
|
var readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"];
|
|
@@ -2362,7 +2357,6 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
2362
2357
|
initAsClient(this, address, protocols, options);
|
|
2363
2358
|
} else {
|
|
2364
2359
|
this._autoPong = options.autoPong;
|
|
2365
|
-
this._closeTimeout = options.closeTimeout;
|
|
2366
2360
|
this._isServer = true;
|
|
2367
2361
|
}
|
|
2368
2362
|
}
|
|
@@ -2654,7 +2648,6 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
2654
2648
|
const opts = {
|
|
2655
2649
|
allowSynchronousEvents: true,
|
|
2656
2650
|
autoPong: true,
|
|
2657
|
-
closeTimeout: CLOSE_TIMEOUT,
|
|
2658
2651
|
protocolVersion: protocolVersions[1],
|
|
2659
2652
|
maxPayload: 100 * 1024 * 1024,
|
|
2660
2653
|
skipUTF8Validation: false,
|
|
@@ -2672,7 +2665,6 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
2672
2665
|
port: undefined
|
|
2673
2666
|
};
|
|
2674
2667
|
websocket._autoPong = opts.autoPong;
|
|
2675
|
-
websocket._closeTimeout = opts.closeTimeout;
|
|
2676
2668
|
if (!protocolVersions.includes(opts.protocolVersion)) {
|
|
2677
2669
|
throw new RangeError(`Unsupported protocol version: ${opts.protocolVersion} ` + `(supported versions: ${protocolVersions.join(", ")})`);
|
|
2678
2670
|
}
|
|
@@ -3011,7 +3003,7 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
3011
3003
|
}
|
|
3012
3004
|
}
|
|
3013
3005
|
function setCloseTimer(websocket) {
|
|
3014
|
-
websocket._closeTimer = setTimeout(websocket._socket.destroy.bind(websocket._socket),
|
|
3006
|
+
websocket._closeTimer = setTimeout(websocket._socket.destroy.bind(websocket._socket), closeTimeout);
|
|
3015
3007
|
}
|
|
3016
3008
|
function socketOnClose() {
|
|
3017
3009
|
const websocket = this[kWebSocket];
|
|
@@ -3019,8 +3011,8 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
3019
3011
|
this.removeListener("data", socketOnData);
|
|
3020
3012
|
this.removeListener("end", socketOnEnd);
|
|
3021
3013
|
websocket._readyState = WebSocket.CLOSING;
|
|
3022
|
-
|
|
3023
|
-
|
|
3014
|
+
let chunk2;
|
|
3015
|
+
if (!this._readableState.endEmitted && !websocket._closeFrameReceived && !websocket._receiver._writableState.errorEmitted && (chunk2 = websocket._socket.read()) !== null) {
|
|
3024
3016
|
websocket._receiver.write(chunk2);
|
|
3025
3017
|
}
|
|
3026
3018
|
websocket._receiver.end();
|
|
@@ -3055,7 +3047,7 @@ var require_websocket = __commonJS((exports, module) => {
|
|
|
3055
3047
|
}
|
|
3056
3048
|
});
|
|
3057
3049
|
|
|
3058
|
-
//
|
|
3050
|
+
// node_modules/ws/lib/stream.js
|
|
3059
3051
|
var require_stream = __commonJS((exports, module) => {
|
|
3060
3052
|
var WebSocket = require_websocket();
|
|
3061
3053
|
var { Duplex } = __require("stream");
|
|
@@ -3158,7 +3150,7 @@ var require_stream = __commonJS((exports, module) => {
|
|
|
3158
3150
|
module.exports = createWebSocketStream;
|
|
3159
3151
|
});
|
|
3160
3152
|
|
|
3161
|
-
//
|
|
3153
|
+
// node_modules/ws/lib/subprotocol.js
|
|
3162
3154
|
var require_subprotocol = __commonJS((exports, module) => {
|
|
3163
3155
|
var { tokenChars } = require_validation();
|
|
3164
3156
|
function parse5(header) {
|
|
@@ -3203,7 +3195,7 @@ var require_subprotocol = __commonJS((exports, module) => {
|
|
|
3203
3195
|
module.exports = { parse: parse5 };
|
|
3204
3196
|
});
|
|
3205
3197
|
|
|
3206
|
-
//
|
|
3198
|
+
// node_modules/ws/lib/websocket-server.js
|
|
3207
3199
|
var require_websocket_server = __commonJS((exports, module) => {
|
|
3208
3200
|
var EventEmitter2 = __require("events");
|
|
3209
3201
|
var http = __require("http");
|
|
@@ -3213,7 +3205,7 @@ var require_websocket_server = __commonJS((exports, module) => {
|
|
|
3213
3205
|
var PerMessageDeflate = require_permessage_deflate();
|
|
3214
3206
|
var subprotocol = require_subprotocol();
|
|
3215
3207
|
var WebSocket = require_websocket();
|
|
3216
|
-
var {
|
|
3208
|
+
var { GUID, kWebSocket } = require_constants();
|
|
3217
3209
|
var keyRegex = /^[+/0-9A-Za-z]{22}==$/;
|
|
3218
3210
|
var RUNNING = 0;
|
|
3219
3211
|
var CLOSING = 1;
|
|
@@ -3230,7 +3222,6 @@ var require_websocket_server = __commonJS((exports, module) => {
|
|
|
3230
3222
|
perMessageDeflate: false,
|
|
3231
3223
|
handleProtocols: null,
|
|
3232
3224
|
clientTracking: true,
|
|
3233
|
-
closeTimeout: CLOSE_TIMEOUT,
|
|
3234
3225
|
verifyClient: null,
|
|
3235
3226
|
noServer: false,
|
|
3236
3227
|
backlog: null,
|
|
@@ -3351,11 +3342,9 @@ var require_websocket_server = __commonJS((exports, module) => {
|
|
|
3351
3342
|
abortHandshakeOrEmitwsClientError(this, req, socket, 400, message);
|
|
3352
3343
|
return;
|
|
3353
3344
|
}
|
|
3354
|
-
if (version2 !==
|
|
3345
|
+
if (version2 !== 8 && version2 !== 13) {
|
|
3355
3346
|
const message = "Missing or invalid Sec-WebSocket-Version header";
|
|
3356
|
-
abortHandshakeOrEmitwsClientError(this, req, socket, 400, message
|
|
3357
|
-
"Sec-WebSocket-Version": "13, 8"
|
|
3358
|
-
});
|
|
3347
|
+
abortHandshakeOrEmitwsClientError(this, req, socket, 400, message);
|
|
3359
3348
|
return;
|
|
3360
3349
|
}
|
|
3361
3350
|
if (!this.shouldHandle(req)) {
|
|
@@ -3494,13 +3483,13 @@ var require_websocket_server = __commonJS((exports, module) => {
|
|
|
3494
3483
|
\r
|
|
3495
3484
|
` + message);
|
|
3496
3485
|
}
|
|
3497
|
-
function abortHandshakeOrEmitwsClientError(server, req, socket, code, message
|
|
3486
|
+
function abortHandshakeOrEmitwsClientError(server, req, socket, code, message) {
|
|
3498
3487
|
if (server.listenerCount("wsClientError")) {
|
|
3499
3488
|
const err = new Error(message);
|
|
3500
3489
|
Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError);
|
|
3501
3490
|
server.emit("wsClientError", err, socket, req);
|
|
3502
3491
|
} else {
|
|
3503
|
-
abortHandshake(socket, code, message
|
|
3492
|
+
abortHandshake(socket, code, message);
|
|
3504
3493
|
}
|
|
3505
3494
|
}
|
|
3506
3495
|
});
|
|
@@ -3579,14 +3568,14 @@ function pick(obj, keys) {
|
|
|
3579
3568
|
return result;
|
|
3580
3569
|
}
|
|
3581
3570
|
|
|
3582
|
-
//
|
|
3571
|
+
// node_modules/eventemitter3/index.mjs
|
|
3583
3572
|
var import__ = __toESM(require_eventemitter3(), 1);
|
|
3584
|
-
//
|
|
3573
|
+
// node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
|
|
3585
3574
|
function isUnsafeProperty(key) {
|
|
3586
3575
|
return key === "__proto__";
|
|
3587
3576
|
}
|
|
3588
3577
|
|
|
3589
|
-
//
|
|
3578
|
+
// node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
|
|
3590
3579
|
function isPlainObject(value) {
|
|
3591
3580
|
if (!value || typeof value !== "object") {
|
|
3592
3581
|
return false;
|
|
@@ -3599,7 +3588,7 @@ function isPlainObject(value) {
|
|
|
3599
3588
|
return Object.prototype.toString.call(value) === "[object Object]";
|
|
3600
3589
|
}
|
|
3601
3590
|
|
|
3602
|
-
//
|
|
3591
|
+
// node_modules/es-toolkit/dist/object/merge.mjs
|
|
3603
3592
|
function merge(target, source) {
|
|
3604
3593
|
const sourceKeys = Object.keys(source);
|
|
3605
3594
|
for (let i = 0;i < sourceKeys.length; i++) {
|
|
@@ -3713,7 +3702,7 @@ var listenProcess = async ({ app, mockProcess, params = {}, timeout: timeout2 =
|
|
|
3713
3702
|
}
|
|
3714
3703
|
};
|
|
3715
3704
|
|
|
3716
|
-
//
|
|
3705
|
+
// node_modules/zod/v4/classic/external.js
|
|
3717
3706
|
var exports_external = {};
|
|
3718
3707
|
__export(exports_external, {
|
|
3719
3708
|
xor: () => xor2,
|
|
@@ -3954,7 +3943,7 @@ __export(exports_external, {
|
|
|
3954
3943
|
$brand: () => $brand
|
|
3955
3944
|
});
|
|
3956
3945
|
|
|
3957
|
-
//
|
|
3946
|
+
// node_modules/zod/v4/core/index.js
|
|
3958
3947
|
var exports_core2 = {};
|
|
3959
3948
|
__export(exports_core2, {
|
|
3960
3949
|
version: () => version,
|
|
@@ -4232,7 +4221,7 @@ __export(exports_core2, {
|
|
|
4232
4221
|
$ZodAny: () => $ZodAny
|
|
4233
4222
|
});
|
|
4234
4223
|
|
|
4235
|
-
//
|
|
4224
|
+
// node_modules/zod/v4/core/core.js
|
|
4236
4225
|
var NEVER = Object.freeze({
|
|
4237
4226
|
status: "aborted"
|
|
4238
4227
|
});
|
|
@@ -4308,7 +4297,7 @@ function config(newConfig) {
|
|
|
4308
4297
|
Object.assign(globalConfig, newConfig);
|
|
4309
4298
|
return globalConfig;
|
|
4310
4299
|
}
|
|
4311
|
-
//
|
|
4300
|
+
// node_modules/zod/v4/core/util.js
|
|
4312
4301
|
var exports_util = {};
|
|
4313
4302
|
__export(exports_util, {
|
|
4314
4303
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -4982,7 +4971,7 @@ class Class {
|
|
|
4982
4971
|
constructor(..._args) {}
|
|
4983
4972
|
}
|
|
4984
4973
|
|
|
4985
|
-
//
|
|
4974
|
+
// node_modules/zod/v4/core/errors.js
|
|
4986
4975
|
var initializer = (inst, def) => {
|
|
4987
4976
|
inst.name = "$ZodError";
|
|
4988
4977
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -5119,7 +5108,7 @@ function prettifyError(error) {
|
|
|
5119
5108
|
`);
|
|
5120
5109
|
}
|
|
5121
5110
|
|
|
5122
|
-
//
|
|
5111
|
+
// node_modules/zod/v4/core/parse.js
|
|
5123
5112
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
5124
5113
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
5125
5114
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -5206,7 +5195,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
5206
5195
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
5207
5196
|
};
|
|
5208
5197
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
5209
|
-
//
|
|
5198
|
+
// node_modules/zod/v4/core/regexes.js
|
|
5210
5199
|
var exports_regexes = {};
|
|
5211
5200
|
__export(exports_regexes, {
|
|
5212
5201
|
xid: () => xid,
|
|
@@ -5363,7 +5352,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
5363
5352
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
5364
5353
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
5365
5354
|
|
|
5366
|
-
//
|
|
5355
|
+
// node_modules/zod/v4/core/checks.js
|
|
5367
5356
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
5368
5357
|
var _a;
|
|
5369
5358
|
inst._zod ?? (inst._zod = {});
|
|
@@ -5910,7 +5899,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
5910
5899
|
};
|
|
5911
5900
|
});
|
|
5912
5901
|
|
|
5913
|
-
//
|
|
5902
|
+
// node_modules/zod/v4/core/doc.js
|
|
5914
5903
|
class Doc {
|
|
5915
5904
|
constructor(args = []) {
|
|
5916
5905
|
this.content = [];
|
|
@@ -5948,14 +5937,14 @@ class Doc {
|
|
|
5948
5937
|
}
|
|
5949
5938
|
}
|
|
5950
5939
|
|
|
5951
|
-
//
|
|
5940
|
+
// node_modules/zod/v4/core/versions.js
|
|
5952
5941
|
var version = {
|
|
5953
5942
|
major: 4,
|
|
5954
5943
|
minor: 3,
|
|
5955
5944
|
patch: 6
|
|
5956
5945
|
};
|
|
5957
5946
|
|
|
5958
|
-
//
|
|
5947
|
+
// node_modules/zod/v4/core/schemas.js
|
|
5959
5948
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
5960
5949
|
var _a;
|
|
5961
5950
|
inst ?? (inst = {});
|
|
@@ -7917,7 +7906,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
7917
7906
|
payload.issues.push(issue(_iss));
|
|
7918
7907
|
}
|
|
7919
7908
|
}
|
|
7920
|
-
//
|
|
7909
|
+
// node_modules/zod/v4/locales/index.js
|
|
7921
7910
|
var exports_locales = {};
|
|
7922
7911
|
__export(exports_locales, {
|
|
7923
7912
|
zhTW: () => zh_TW_default,
|
|
@@ -7971,7 +7960,7 @@ __export(exports_locales, {
|
|
|
7971
7960
|
ar: () => ar_default
|
|
7972
7961
|
});
|
|
7973
7962
|
|
|
7974
|
-
//
|
|
7963
|
+
// node_modules/zod/v4/locales/ar.js
|
|
7975
7964
|
var error = () => {
|
|
7976
7965
|
const Sizable = {
|
|
7977
7966
|
string: { unit: "حرف", verb: "أن يحوي" },
|
|
@@ -8077,7 +8066,7 @@ function ar_default() {
|
|
|
8077
8066
|
localeError: error()
|
|
8078
8067
|
};
|
|
8079
8068
|
}
|
|
8080
|
-
//
|
|
8069
|
+
// node_modules/zod/v4/locales/az.js
|
|
8081
8070
|
var error2 = () => {
|
|
8082
8071
|
const Sizable = {
|
|
8083
8072
|
string: { unit: "simvol", verb: "olmalıdır" },
|
|
@@ -8182,7 +8171,7 @@ function az_default() {
|
|
|
8182
8171
|
localeError: error2()
|
|
8183
8172
|
};
|
|
8184
8173
|
}
|
|
8185
|
-
//
|
|
8174
|
+
// node_modules/zod/v4/locales/be.js
|
|
8186
8175
|
function getBelarusianPlural(count, one, few, many) {
|
|
8187
8176
|
const absCount = Math.abs(count);
|
|
8188
8177
|
const lastDigit = absCount % 10;
|
|
@@ -8338,7 +8327,7 @@ function be_default() {
|
|
|
8338
8327
|
localeError: error3()
|
|
8339
8328
|
};
|
|
8340
8329
|
}
|
|
8341
|
-
//
|
|
8330
|
+
// node_modules/zod/v4/locales/bg.js
|
|
8342
8331
|
var error4 = () => {
|
|
8343
8332
|
const Sizable = {
|
|
8344
8333
|
string: { unit: "символа", verb: "да съдържа" },
|
|
@@ -8458,7 +8447,7 @@ function bg_default() {
|
|
|
8458
8447
|
localeError: error4()
|
|
8459
8448
|
};
|
|
8460
8449
|
}
|
|
8461
|
-
//
|
|
8450
|
+
// node_modules/zod/v4/locales/ca.js
|
|
8462
8451
|
var error5 = () => {
|
|
8463
8452
|
const Sizable = {
|
|
8464
8453
|
string: { unit: "caràcters", verb: "contenir" },
|
|
@@ -8565,7 +8554,7 @@ function ca_default() {
|
|
|
8565
8554
|
localeError: error5()
|
|
8566
8555
|
};
|
|
8567
8556
|
}
|
|
8568
|
-
//
|
|
8557
|
+
// node_modules/zod/v4/locales/cs.js
|
|
8569
8558
|
var error6 = () => {
|
|
8570
8559
|
const Sizable = {
|
|
8571
8560
|
string: { unit: "znaků", verb: "mít" },
|
|
@@ -8676,7 +8665,7 @@ function cs_default() {
|
|
|
8676
8665
|
localeError: error6()
|
|
8677
8666
|
};
|
|
8678
8667
|
}
|
|
8679
|
-
//
|
|
8668
|
+
// node_modules/zod/v4/locales/da.js
|
|
8680
8669
|
var error7 = () => {
|
|
8681
8670
|
const Sizable = {
|
|
8682
8671
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -8791,7 +8780,7 @@ function da_default() {
|
|
|
8791
8780
|
localeError: error7()
|
|
8792
8781
|
};
|
|
8793
8782
|
}
|
|
8794
|
-
//
|
|
8783
|
+
// node_modules/zod/v4/locales/de.js
|
|
8795
8784
|
var error8 = () => {
|
|
8796
8785
|
const Sizable = {
|
|
8797
8786
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -8899,7 +8888,7 @@ function de_default() {
|
|
|
8899
8888
|
localeError: error8()
|
|
8900
8889
|
};
|
|
8901
8890
|
}
|
|
8902
|
-
//
|
|
8891
|
+
// node_modules/zod/v4/locales/en.js
|
|
8903
8892
|
var error9 = () => {
|
|
8904
8893
|
const Sizable = {
|
|
8905
8894
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -9005,7 +8994,7 @@ function en_default() {
|
|
|
9005
8994
|
localeError: error9()
|
|
9006
8995
|
};
|
|
9007
8996
|
}
|
|
9008
|
-
//
|
|
8997
|
+
// node_modules/zod/v4/locales/eo.js
|
|
9009
8998
|
var error10 = () => {
|
|
9010
8999
|
const Sizable = {
|
|
9011
9000
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -9114,7 +9103,7 @@ function eo_default() {
|
|
|
9114
9103
|
localeError: error10()
|
|
9115
9104
|
};
|
|
9116
9105
|
}
|
|
9117
|
-
//
|
|
9106
|
+
// node_modules/zod/v4/locales/es.js
|
|
9118
9107
|
var error11 = () => {
|
|
9119
9108
|
const Sizable = {
|
|
9120
9109
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -9246,7 +9235,7 @@ function es_default() {
|
|
|
9246
9235
|
localeError: error11()
|
|
9247
9236
|
};
|
|
9248
9237
|
}
|
|
9249
|
-
//
|
|
9238
|
+
// node_modules/zod/v4/locales/fa.js
|
|
9250
9239
|
var error12 = () => {
|
|
9251
9240
|
const Sizable = {
|
|
9252
9241
|
string: { unit: "کاراکتر", verb: "داشته باشد" },
|
|
@@ -9360,7 +9349,7 @@ function fa_default() {
|
|
|
9360
9349
|
localeError: error12()
|
|
9361
9350
|
};
|
|
9362
9351
|
}
|
|
9363
|
-
//
|
|
9352
|
+
// node_modules/zod/v4/locales/fi.js
|
|
9364
9353
|
var error13 = () => {
|
|
9365
9354
|
const Sizable = {
|
|
9366
9355
|
string: { unit: "merkkiä", subject: "merkkijonon" },
|
|
@@ -9472,7 +9461,7 @@ function fi_default() {
|
|
|
9472
9461
|
localeError: error13()
|
|
9473
9462
|
};
|
|
9474
9463
|
}
|
|
9475
|
-
//
|
|
9464
|
+
// node_modules/zod/v4/locales/fr.js
|
|
9476
9465
|
var error14 = () => {
|
|
9477
9466
|
const Sizable = {
|
|
9478
9467
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -9580,7 +9569,7 @@ function fr_default() {
|
|
|
9580
9569
|
localeError: error14()
|
|
9581
9570
|
};
|
|
9582
9571
|
}
|
|
9583
|
-
//
|
|
9572
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
9584
9573
|
var error15 = () => {
|
|
9585
9574
|
const Sizable = {
|
|
9586
9575
|
string: { unit: "caractères", verb: "avoir" },
|
|
@@ -9687,7 +9676,7 @@ function fr_CA_default() {
|
|
|
9687
9676
|
localeError: error15()
|
|
9688
9677
|
};
|
|
9689
9678
|
}
|
|
9690
|
-
//
|
|
9679
|
+
// node_modules/zod/v4/locales/he.js
|
|
9691
9680
|
var error16 = () => {
|
|
9692
9681
|
const TypeNames = {
|
|
9693
9682
|
string: { label: "מחרוזת", gender: "f" },
|
|
@@ -9880,7 +9869,7 @@ function he_default() {
|
|
|
9880
9869
|
localeError: error16()
|
|
9881
9870
|
};
|
|
9882
9871
|
}
|
|
9883
|
-
//
|
|
9872
|
+
// node_modules/zod/v4/locales/hu.js
|
|
9884
9873
|
var error17 = () => {
|
|
9885
9874
|
const Sizable = {
|
|
9886
9875
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -9988,7 +9977,7 @@ function hu_default() {
|
|
|
9988
9977
|
localeError: error17()
|
|
9989
9978
|
};
|
|
9990
9979
|
}
|
|
9991
|
-
//
|
|
9980
|
+
// node_modules/zod/v4/locales/hy.js
|
|
9992
9981
|
function getArmenianPlural(count, one, many) {
|
|
9993
9982
|
return Math.abs(count) === 1 ? one : many;
|
|
9994
9983
|
}
|
|
@@ -10135,7 +10124,7 @@ function hy_default() {
|
|
|
10135
10124
|
localeError: error18()
|
|
10136
10125
|
};
|
|
10137
10126
|
}
|
|
10138
|
-
//
|
|
10127
|
+
// node_modules/zod/v4/locales/id.js
|
|
10139
10128
|
var error19 = () => {
|
|
10140
10129
|
const Sizable = {
|
|
10141
10130
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -10241,7 +10230,7 @@ function id_default() {
|
|
|
10241
10230
|
localeError: error19()
|
|
10242
10231
|
};
|
|
10243
10232
|
}
|
|
10244
|
-
//
|
|
10233
|
+
// node_modules/zod/v4/locales/is.js
|
|
10245
10234
|
var error20 = () => {
|
|
10246
10235
|
const Sizable = {
|
|
10247
10236
|
string: { unit: "stafi", verb: "að hafa" },
|
|
@@ -10350,7 +10339,7 @@ function is_default() {
|
|
|
10350
10339
|
localeError: error20()
|
|
10351
10340
|
};
|
|
10352
10341
|
}
|
|
10353
|
-
//
|
|
10342
|
+
// node_modules/zod/v4/locales/it.js
|
|
10354
10343
|
var error21 = () => {
|
|
10355
10344
|
const Sizable = {
|
|
10356
10345
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -10458,7 +10447,7 @@ function it_default() {
|
|
|
10458
10447
|
localeError: error21()
|
|
10459
10448
|
};
|
|
10460
10449
|
}
|
|
10461
|
-
//
|
|
10450
|
+
// node_modules/zod/v4/locales/ja.js
|
|
10462
10451
|
var error22 = () => {
|
|
10463
10452
|
const Sizable = {
|
|
10464
10453
|
string: { unit: "文字", verb: "である" },
|
|
@@ -10565,7 +10554,7 @@ function ja_default() {
|
|
|
10565
10554
|
localeError: error22()
|
|
10566
10555
|
};
|
|
10567
10556
|
}
|
|
10568
|
-
//
|
|
10557
|
+
// node_modules/zod/v4/locales/ka.js
|
|
10569
10558
|
var error23 = () => {
|
|
10570
10559
|
const Sizable = {
|
|
10571
10560
|
string: { unit: "სიმბოლო", verb: "უნდა შეიცავდეს" },
|
|
@@ -10677,7 +10666,7 @@ function ka_default() {
|
|
|
10677
10666
|
localeError: error23()
|
|
10678
10667
|
};
|
|
10679
10668
|
}
|
|
10680
|
-
//
|
|
10669
|
+
// node_modules/zod/v4/locales/km.js
|
|
10681
10670
|
var error24 = () => {
|
|
10682
10671
|
const Sizable = {
|
|
10683
10672
|
string: { unit: "តួអក្សរ", verb: "គួរមាន" },
|
|
@@ -10788,11 +10777,11 @@ function km_default() {
|
|
|
10788
10777
|
};
|
|
10789
10778
|
}
|
|
10790
10779
|
|
|
10791
|
-
//
|
|
10780
|
+
// node_modules/zod/v4/locales/kh.js
|
|
10792
10781
|
function kh_default() {
|
|
10793
10782
|
return km_default();
|
|
10794
10783
|
}
|
|
10795
|
-
//
|
|
10784
|
+
// node_modules/zod/v4/locales/ko.js
|
|
10796
10785
|
var error25 = () => {
|
|
10797
10786
|
const Sizable = {
|
|
10798
10787
|
string: { unit: "문자", verb: "to have" },
|
|
@@ -10903,7 +10892,7 @@ function ko_default() {
|
|
|
10903
10892
|
localeError: error25()
|
|
10904
10893
|
};
|
|
10905
10894
|
}
|
|
10906
|
-
//
|
|
10895
|
+
// node_modules/zod/v4/locales/lt.js
|
|
10907
10896
|
var capitalizeFirstCharacter = (text) => {
|
|
10908
10897
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
10909
10898
|
};
|
|
@@ -11106,7 +11095,7 @@ function lt_default() {
|
|
|
11106
11095
|
localeError: error26()
|
|
11107
11096
|
};
|
|
11108
11097
|
}
|
|
11109
|
-
//
|
|
11098
|
+
// node_modules/zod/v4/locales/mk.js
|
|
11110
11099
|
var error27 = () => {
|
|
11111
11100
|
const Sizable = {
|
|
11112
11101
|
string: { unit: "знаци", verb: "да имаат" },
|
|
@@ -11215,7 +11204,7 @@ function mk_default() {
|
|
|
11215
11204
|
localeError: error27()
|
|
11216
11205
|
};
|
|
11217
11206
|
}
|
|
11218
|
-
//
|
|
11207
|
+
// node_modules/zod/v4/locales/ms.js
|
|
11219
11208
|
var error28 = () => {
|
|
11220
11209
|
const Sizable = {
|
|
11221
11210
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -11322,7 +11311,7 @@ function ms_default() {
|
|
|
11322
11311
|
localeError: error28()
|
|
11323
11312
|
};
|
|
11324
11313
|
}
|
|
11325
|
-
//
|
|
11314
|
+
// node_modules/zod/v4/locales/nl.js
|
|
11326
11315
|
var error29 = () => {
|
|
11327
11316
|
const Sizable = {
|
|
11328
11317
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -11432,7 +11421,7 @@ function nl_default() {
|
|
|
11432
11421
|
localeError: error29()
|
|
11433
11422
|
};
|
|
11434
11423
|
}
|
|
11435
|
-
//
|
|
11424
|
+
// node_modules/zod/v4/locales/no.js
|
|
11436
11425
|
var error30 = () => {
|
|
11437
11426
|
const Sizable = {
|
|
11438
11427
|
string: { unit: "tegn", verb: "å ha" },
|
|
@@ -11540,7 +11529,7 @@ function no_default() {
|
|
|
11540
11529
|
localeError: error30()
|
|
11541
11530
|
};
|
|
11542
11531
|
}
|
|
11543
|
-
//
|
|
11532
|
+
// node_modules/zod/v4/locales/ota.js
|
|
11544
11533
|
var error31 = () => {
|
|
11545
11534
|
const Sizable = {
|
|
11546
11535
|
string: { unit: "harf", verb: "olmalıdır" },
|
|
@@ -11649,7 +11638,7 @@ function ota_default() {
|
|
|
11649
11638
|
localeError: error31()
|
|
11650
11639
|
};
|
|
11651
11640
|
}
|
|
11652
|
-
//
|
|
11641
|
+
// node_modules/zod/v4/locales/ps.js
|
|
11653
11642
|
var error32 = () => {
|
|
11654
11643
|
const Sizable = {
|
|
11655
11644
|
string: { unit: "توکي", verb: "ولري" },
|
|
@@ -11763,7 +11752,7 @@ function ps_default() {
|
|
|
11763
11752
|
localeError: error32()
|
|
11764
11753
|
};
|
|
11765
11754
|
}
|
|
11766
|
-
//
|
|
11755
|
+
// node_modules/zod/v4/locales/pl.js
|
|
11767
11756
|
var error33 = () => {
|
|
11768
11757
|
const Sizable = {
|
|
11769
11758
|
string: { unit: "znaków", verb: "mieć" },
|
|
@@ -11872,7 +11861,7 @@ function pl_default() {
|
|
|
11872
11861
|
localeError: error33()
|
|
11873
11862
|
};
|
|
11874
11863
|
}
|
|
11875
|
-
//
|
|
11864
|
+
// node_modules/zod/v4/locales/pt.js
|
|
11876
11865
|
var error34 = () => {
|
|
11877
11866
|
const Sizable = {
|
|
11878
11867
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -11980,7 +11969,7 @@ function pt_default() {
|
|
|
11980
11969
|
localeError: error34()
|
|
11981
11970
|
};
|
|
11982
11971
|
}
|
|
11983
|
-
//
|
|
11972
|
+
// node_modules/zod/v4/locales/ru.js
|
|
11984
11973
|
function getRussianPlural(count, one, few, many) {
|
|
11985
11974
|
const absCount = Math.abs(count);
|
|
11986
11975
|
const lastDigit = absCount % 10;
|
|
@@ -12136,7 +12125,7 @@ function ru_default() {
|
|
|
12136
12125
|
localeError: error35()
|
|
12137
12126
|
};
|
|
12138
12127
|
}
|
|
12139
|
-
//
|
|
12128
|
+
// node_modules/zod/v4/locales/sl.js
|
|
12140
12129
|
var error36 = () => {
|
|
12141
12130
|
const Sizable = {
|
|
12142
12131
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -12245,7 +12234,7 @@ function sl_default() {
|
|
|
12245
12234
|
localeError: error36()
|
|
12246
12235
|
};
|
|
12247
12236
|
}
|
|
12248
|
-
//
|
|
12237
|
+
// node_modules/zod/v4/locales/sv.js
|
|
12249
12238
|
var error37 = () => {
|
|
12250
12239
|
const Sizable = {
|
|
12251
12240
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -12355,7 +12344,7 @@ function sv_default() {
|
|
|
12355
12344
|
localeError: error37()
|
|
12356
12345
|
};
|
|
12357
12346
|
}
|
|
12358
|
-
//
|
|
12347
|
+
// node_modules/zod/v4/locales/ta.js
|
|
12359
12348
|
var error38 = () => {
|
|
12360
12349
|
const Sizable = {
|
|
12361
12350
|
string: { unit: "எழுத்துக்கள்", verb: "கொண்டிருக்க வேண்டும்" },
|
|
@@ -12465,7 +12454,7 @@ function ta_default() {
|
|
|
12465
12454
|
localeError: error38()
|
|
12466
12455
|
};
|
|
12467
12456
|
}
|
|
12468
|
-
//
|
|
12457
|
+
// node_modules/zod/v4/locales/th.js
|
|
12469
12458
|
var error39 = () => {
|
|
12470
12459
|
const Sizable = {
|
|
12471
12460
|
string: { unit: "ตัวอักษร", verb: "ควรมี" },
|
|
@@ -12575,7 +12564,7 @@ function th_default() {
|
|
|
12575
12564
|
localeError: error39()
|
|
12576
12565
|
};
|
|
12577
12566
|
}
|
|
12578
|
-
//
|
|
12567
|
+
// node_modules/zod/v4/locales/tr.js
|
|
12579
12568
|
var error40 = () => {
|
|
12580
12569
|
const Sizable = {
|
|
12581
12570
|
string: { unit: "karakter", verb: "olmalı" },
|
|
@@ -12680,7 +12669,7 @@ function tr_default() {
|
|
|
12680
12669
|
localeError: error40()
|
|
12681
12670
|
};
|
|
12682
12671
|
}
|
|
12683
|
-
//
|
|
12672
|
+
// node_modules/zod/v4/locales/uk.js
|
|
12684
12673
|
var error41 = () => {
|
|
12685
12674
|
const Sizable = {
|
|
12686
12675
|
string: { unit: "символів", verb: "матиме" },
|
|
@@ -12789,11 +12778,11 @@ function uk_default() {
|
|
|
12789
12778
|
};
|
|
12790
12779
|
}
|
|
12791
12780
|
|
|
12792
|
-
//
|
|
12781
|
+
// node_modules/zod/v4/locales/ua.js
|
|
12793
12782
|
function ua_default() {
|
|
12794
12783
|
return uk_default();
|
|
12795
12784
|
}
|
|
12796
|
-
//
|
|
12785
|
+
// node_modules/zod/v4/locales/ur.js
|
|
12797
12786
|
var error42 = () => {
|
|
12798
12787
|
const Sizable = {
|
|
12799
12788
|
string: { unit: "حروف", verb: "ہونا" },
|
|
@@ -12903,7 +12892,7 @@ function ur_default() {
|
|
|
12903
12892
|
localeError: error42()
|
|
12904
12893
|
};
|
|
12905
12894
|
}
|
|
12906
|
-
//
|
|
12895
|
+
// node_modules/zod/v4/locales/uz.js
|
|
12907
12896
|
var error43 = () => {
|
|
12908
12897
|
const Sizable = {
|
|
12909
12898
|
string: { unit: "belgi", verb: "bo‘lishi kerak" },
|
|
@@ -13012,7 +13001,7 @@ function uz_default() {
|
|
|
13012
13001
|
localeError: error43()
|
|
13013
13002
|
};
|
|
13014
13003
|
}
|
|
13015
|
-
//
|
|
13004
|
+
// node_modules/zod/v4/locales/vi.js
|
|
13016
13005
|
var error44 = () => {
|
|
13017
13006
|
const Sizable = {
|
|
13018
13007
|
string: { unit: "ký tự", verb: "có" },
|
|
@@ -13120,7 +13109,7 @@ function vi_default() {
|
|
|
13120
13109
|
localeError: error44()
|
|
13121
13110
|
};
|
|
13122
13111
|
}
|
|
13123
|
-
//
|
|
13112
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
13124
13113
|
var error45 = () => {
|
|
13125
13114
|
const Sizable = {
|
|
13126
13115
|
string: { unit: "字符", verb: "包含" },
|
|
@@ -13229,7 +13218,7 @@ function zh_CN_default() {
|
|
|
13229
13218
|
localeError: error45()
|
|
13230
13219
|
};
|
|
13231
13220
|
}
|
|
13232
|
-
//
|
|
13221
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
13233
13222
|
var error46 = () => {
|
|
13234
13223
|
const Sizable = {
|
|
13235
13224
|
string: { unit: "字元", verb: "擁有" },
|
|
@@ -13336,7 +13325,7 @@ function zh_TW_default() {
|
|
|
13336
13325
|
localeError: error46()
|
|
13337
13326
|
};
|
|
13338
13327
|
}
|
|
13339
|
-
//
|
|
13328
|
+
// node_modules/zod/v4/locales/yo.js
|
|
13340
13329
|
var error47 = () => {
|
|
13341
13330
|
const Sizable = {
|
|
13342
13331
|
string: { unit: "àmi", verb: "ní" },
|
|
@@ -13443,7 +13432,7 @@ function yo_default() {
|
|
|
13443
13432
|
localeError: error47()
|
|
13444
13433
|
};
|
|
13445
13434
|
}
|
|
13446
|
-
//
|
|
13435
|
+
// node_modules/zod/v4/core/registries.js
|
|
13447
13436
|
var _a;
|
|
13448
13437
|
var $output = Symbol("ZodOutput");
|
|
13449
13438
|
var $input = Symbol("ZodInput");
|
|
@@ -13493,7 +13482,7 @@ function registry() {
|
|
|
13493
13482
|
}
|
|
13494
13483
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
13495
13484
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
13496
|
-
//
|
|
13485
|
+
// node_modules/zod/v4/core/api.js
|
|
13497
13486
|
function _string(Class2, params) {
|
|
13498
13487
|
return new Class2({
|
|
13499
13488
|
type: "string",
|
|
@@ -14413,7 +14402,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
14413
14402
|
const inst = new Class2(def);
|
|
14414
14403
|
return inst;
|
|
14415
14404
|
}
|
|
14416
|
-
//
|
|
14405
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
14417
14406
|
function initializeContext(params) {
|
|
14418
14407
|
let target = params?.target ?? "draft-2020-12";
|
|
14419
14408
|
if (target === "draft-4")
|
|
@@ -14758,7 +14747,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
14758
14747
|
extractDefs(ctx, schema);
|
|
14759
14748
|
return finalize(ctx, schema);
|
|
14760
14749
|
};
|
|
14761
|
-
//
|
|
14750
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
14762
14751
|
var formatMap = {
|
|
14763
14752
|
guid: "uuid",
|
|
14764
14753
|
url: "uri",
|
|
@@ -15303,7 +15292,7 @@ function toJSONSchema(input, params) {
|
|
|
15303
15292
|
extractDefs(ctx, input);
|
|
15304
15293
|
return finalize(ctx, input);
|
|
15305
15294
|
}
|
|
15306
|
-
//
|
|
15295
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
15307
15296
|
class JSONSchemaGenerator {
|
|
15308
15297
|
get metadataRegistry() {
|
|
15309
15298
|
return this.ctx.metadataRegistry;
|
|
@@ -15362,9 +15351,9 @@ class JSONSchemaGenerator {
|
|
|
15362
15351
|
return plainResult;
|
|
15363
15352
|
}
|
|
15364
15353
|
}
|
|
15365
|
-
//
|
|
15354
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
15366
15355
|
var exports_json_schema = {};
|
|
15367
|
-
//
|
|
15356
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
15368
15357
|
var exports_schemas2 = {};
|
|
15369
15358
|
__export(exports_schemas2, {
|
|
15370
15359
|
xor: () => xor2,
|
|
@@ -15533,7 +15522,7 @@ __export(exports_schemas2, {
|
|
|
15533
15522
|
ZodAny: () => ZodAny
|
|
15534
15523
|
});
|
|
15535
15524
|
|
|
15536
|
-
//
|
|
15525
|
+
// node_modules/zod/v4/classic/checks.js
|
|
15537
15526
|
var exports_checks2 = {};
|
|
15538
15527
|
__export(exports_checks2, {
|
|
15539
15528
|
uppercase: () => _uppercase,
|
|
@@ -15567,7 +15556,7 @@ __export(exports_checks2, {
|
|
|
15567
15556
|
endsWith: () => _endsWith
|
|
15568
15557
|
});
|
|
15569
15558
|
|
|
15570
|
-
//
|
|
15559
|
+
// node_modules/zod/v4/classic/iso.js
|
|
15571
15560
|
var exports_iso = {};
|
|
15572
15561
|
__export(exports_iso, {
|
|
15573
15562
|
time: () => time2,
|
|
@@ -15608,7 +15597,7 @@ function duration2(params) {
|
|
|
15608
15597
|
return _isoDuration(ZodISODuration, params);
|
|
15609
15598
|
}
|
|
15610
15599
|
|
|
15611
|
-
//
|
|
15600
|
+
// node_modules/zod/v4/classic/errors.js
|
|
15612
15601
|
var initializer2 = (inst, issues) => {
|
|
15613
15602
|
$ZodError.init(inst, issues);
|
|
15614
15603
|
inst.name = "ZodError";
|
|
@@ -15643,7 +15632,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
15643
15632
|
Parent: Error
|
|
15644
15633
|
});
|
|
15645
15634
|
|
|
15646
|
-
//
|
|
15635
|
+
// node_modules/zod/v4/classic/parse.js
|
|
15647
15636
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
15648
15637
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
15649
15638
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -15657,7 +15646,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
15657
15646
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
15658
15647
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
15659
15648
|
|
|
15660
|
-
//
|
|
15649
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
15661
15650
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
15662
15651
|
$ZodType.init(inst, def);
|
|
15663
15652
|
Object.assign(inst["~standard"], {
|
|
@@ -16733,7 +16722,7 @@ function json(params) {
|
|
|
16733
16722
|
function preprocess(fn, schema) {
|
|
16734
16723
|
return pipe(transform(fn), schema);
|
|
16735
16724
|
}
|
|
16736
|
-
//
|
|
16725
|
+
// node_modules/zod/v4/classic/compat.js
|
|
16737
16726
|
var ZodIssueCode = {
|
|
16738
16727
|
invalid_type: "invalid_type",
|
|
16739
16728
|
too_big: "too_big",
|
|
@@ -16757,7 +16746,7 @@ function getErrorMap() {
|
|
|
16757
16746
|
}
|
|
16758
16747
|
var ZodFirstPartyTypeKind;
|
|
16759
16748
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
16760
|
-
//
|
|
16749
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
16761
16750
|
var z = {
|
|
16762
16751
|
...exports_schemas2,
|
|
16763
16752
|
...exports_checks2,
|
|
@@ -17218,7 +17207,7 @@ function fromJSONSchema(schema, params) {
|
|
|
17218
17207
|
};
|
|
17219
17208
|
return convertSchema(schema, ctx);
|
|
17220
17209
|
}
|
|
17221
|
-
//
|
|
17210
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
17222
17211
|
var exports_coerce = {};
|
|
17223
17212
|
__export(exports_coerce, {
|
|
17224
17213
|
string: () => string3,
|
|
@@ -17243,12 +17232,12 @@ function date4(params) {
|
|
|
17243
17232
|
return _coercedDate(ZodDate, params);
|
|
17244
17233
|
}
|
|
17245
17234
|
|
|
17246
|
-
//
|
|
17235
|
+
// node_modules/zod/v4/classic/external.js
|
|
17247
17236
|
config(en_default());
|
|
17248
|
-
//
|
|
17237
|
+
// node_modules/zod/index.js
|
|
17249
17238
|
var zod_default = exports_external;
|
|
17250
17239
|
|
|
17251
|
-
//
|
|
17240
|
+
// node_modules/nanoid/index.js
|
|
17252
17241
|
import { webcrypto as crypto } from "node:crypto";
|
|
17253
17242
|
var POOL_SIZE_MULTIPLIER = 128;
|
|
17254
17243
|
var pool;
|
|
@@ -18465,7 +18454,7 @@ class ServerBase {
|
|
|
18465
18454
|
}
|
|
18466
18455
|
}
|
|
18467
18456
|
|
|
18468
|
-
//
|
|
18457
|
+
// node_modules/ws/wrapper.mjs
|
|
18469
18458
|
var import_stream = __toESM(require_stream(), 1);
|
|
18470
18459
|
var import_receiver = __toESM(require_receiver(), 1);
|
|
18471
18460
|
var import_sender = __toESM(require_sender(), 1);
|
|
@@ -18899,7 +18888,7 @@ class App extends QueryRouterServer {
|
|
|
18899
18888
|
}
|
|
18900
18889
|
}
|
|
18901
18890
|
|
|
18902
|
-
//
|
|
18891
|
+
// node_modules/@kevisual/context/dist/app.js
|
|
18903
18892
|
var isBrowser22 = typeof window !== "undefined" && typeof window.document !== "undefined";
|
|
18904
18893
|
function getDefaultExportFromCjs(x) {
|
|
18905
18894
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -19456,7 +19445,7 @@ InitEnv.init();
|
|
|
19456
19445
|
// agent/app.ts
|
|
19457
19446
|
var app = useContextKey("app", () => new App);
|
|
19458
19447
|
|
|
19459
|
-
//
|
|
19448
|
+
// node_modules/@kevisual/js-filter/dist/index.js
|
|
19460
19449
|
class Lexer {
|
|
19461
19450
|
constructor(input) {
|
|
19462
19451
|
this.pos = 0;
|
|
@@ -20108,7 +20097,7 @@ app
|
|
|
20108
20097
|
10. **中间件找不到会返回 404**,错误信息中会包含找不到的中间件列表。
|
|
20109
20098
|
`;
|
|
20110
20099
|
// package.json
|
|
20111
|
-
var version2 = "0.2.
|
|
20100
|
+
var version2 = "0.2.3";
|
|
20112
20101
|
|
|
20113
20102
|
// agent/routes/route-create.ts
|
|
20114
20103
|
app.route({
|