free-pi-cli 0.2.13 → 0.2.15
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
__export,
|
|
4
4
|
__require
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-zycam199.js";
|
|
6
6
|
|
|
7
7
|
// src/main.ts
|
|
8
8
|
import { realpathSync } from "node:fs";
|
|
@@ -48,7 +48,7 @@ function openBrowser(url, platform = process.platform, spawnImpl = spawn) {
|
|
|
48
48
|
// package.json
|
|
49
49
|
var package_default = {
|
|
50
50
|
name: "free-pi-cli",
|
|
51
|
-
version: "0.2.
|
|
51
|
+
version: "0.2.15",
|
|
52
52
|
description: "Free, ad-supported distribution of the pi coding agent. Inference paid for by ads.",
|
|
53
53
|
license: "MIT",
|
|
54
54
|
type: "module",
|
|
@@ -193,523 +193,523 @@ import {
|
|
|
193
193
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
194
194
|
var exports_external = {};
|
|
195
195
|
__export(exports_external, {
|
|
196
|
-
xor: () => xor,
|
|
197
|
-
xid: () => xid2,
|
|
198
|
-
void: () => _void2,
|
|
199
|
-
uuidv7: () => uuidv7,
|
|
200
|
-
uuidv6: () => uuidv6,
|
|
201
|
-
uuidv4: () => uuidv4,
|
|
202
|
-
uuid: () => uuid2,
|
|
203
|
-
util: () => exports_util,
|
|
204
|
-
url: () => url,
|
|
205
|
-
uppercase: () => _uppercase,
|
|
206
|
-
unknown: () => unknown,
|
|
207
|
-
union: () => union,
|
|
208
|
-
undefined: () => _undefined3,
|
|
209
|
-
ulid: () => ulid2,
|
|
210
|
-
uint64: () => uint64,
|
|
211
|
-
uint32: () => uint32,
|
|
212
|
-
tuple: () => tuple,
|
|
213
|
-
trim: () => _trim,
|
|
214
|
-
treeifyError: () => treeifyError,
|
|
215
|
-
transform: () => transform,
|
|
216
|
-
toUpperCase: () => _toUpperCase,
|
|
217
|
-
toLowerCase: () => _toLowerCase,
|
|
218
|
-
toJSONSchema: () => toJSONSchema,
|
|
219
|
-
templateLiteral: () => templateLiteral,
|
|
220
|
-
symbol: () => symbol,
|
|
221
|
-
superRefine: () => superRefine,
|
|
222
|
-
success: () => success,
|
|
223
|
-
stringbool: () => stringbool,
|
|
224
|
-
stringFormat: () => stringFormat,
|
|
225
|
-
string: () => string2,
|
|
226
|
-
strictObject: () => strictObject,
|
|
227
|
-
startsWith: () => _startsWith,
|
|
228
|
-
slugify: () => _slugify,
|
|
229
|
-
size: () => _size,
|
|
230
|
-
setErrorMap: () => setErrorMap,
|
|
231
|
-
set: () => set,
|
|
232
|
-
safeParseAsync: () => safeParseAsync2,
|
|
233
|
-
safeParse: () => safeParse2,
|
|
234
|
-
safeEncodeAsync: () => safeEncodeAsync2,
|
|
235
|
-
safeEncode: () => safeEncode2,
|
|
236
|
-
safeDecodeAsync: () => safeDecodeAsync2,
|
|
237
|
-
safeDecode: () => safeDecode2,
|
|
238
|
-
registry: () => registry,
|
|
239
|
-
regexes: () => exports_regexes,
|
|
240
|
-
regex: () => _regex,
|
|
241
|
-
refine: () => refine,
|
|
242
|
-
record: () => record,
|
|
243
|
-
readonly: () => readonly,
|
|
244
|
-
property: () => _property,
|
|
245
|
-
promise: () => promise,
|
|
246
|
-
prettifyError: () => prettifyError,
|
|
247
|
-
preprocess: () => preprocess,
|
|
248
|
-
prefault: () => prefault,
|
|
249
|
-
positive: () => _positive,
|
|
250
|
-
pipe: () => pipe,
|
|
251
|
-
partialRecord: () => partialRecord,
|
|
252
|
-
parseAsync: () => parseAsync2,
|
|
253
|
-
parse: () => parse3,
|
|
254
|
-
overwrite: () => _overwrite,
|
|
255
|
-
optional: () => optional,
|
|
256
|
-
object: () => object,
|
|
257
|
-
number: () => number2,
|
|
258
|
-
nullish: () => nullish2,
|
|
259
|
-
nullable: () => nullable,
|
|
260
|
-
null: () => _null3,
|
|
261
|
-
normalize: () => _normalize,
|
|
262
|
-
nonpositive: () => _nonpositive,
|
|
263
|
-
nonoptional: () => nonoptional,
|
|
264
|
-
nonnegative: () => _nonnegative,
|
|
265
|
-
never: () => never,
|
|
266
|
-
negative: () => _negative,
|
|
267
|
-
nativeEnum: () => nativeEnum,
|
|
268
|
-
nanoid: () => nanoid2,
|
|
269
|
-
nan: () => nan,
|
|
270
|
-
multipleOf: () => _multipleOf,
|
|
271
|
-
minSize: () => _minSize,
|
|
272
|
-
minLength: () => _minLength,
|
|
273
|
-
mime: () => _mime,
|
|
274
|
-
meta: () => meta2,
|
|
275
|
-
maxSize: () => _maxSize,
|
|
276
|
-
maxLength: () => _maxLength,
|
|
277
|
-
map: () => map,
|
|
278
|
-
mac: () => mac2,
|
|
279
|
-
lte: () => _lte,
|
|
280
|
-
lt: () => _lt,
|
|
281
|
-
lowercase: () => _lowercase,
|
|
282
|
-
looseRecord: () => looseRecord,
|
|
283
|
-
looseObject: () => looseObject,
|
|
284
|
-
locales: () => exports_locales,
|
|
285
|
-
literal: () => literal,
|
|
286
|
-
length: () => _length,
|
|
287
|
-
lazy: () => lazy,
|
|
288
|
-
ksuid: () => ksuid2,
|
|
289
|
-
keyof: () => keyof,
|
|
290
|
-
jwt: () => jwt,
|
|
291
|
-
json: () => json,
|
|
292
|
-
iso: () => exports_iso,
|
|
293
|
-
ipv6: () => ipv62,
|
|
294
|
-
ipv4: () => ipv42,
|
|
295
|
-
invertCodec: () => invertCodec,
|
|
296
|
-
intersection: () => intersection,
|
|
297
|
-
int64: () => int64,
|
|
298
|
-
int32: () => int32,
|
|
299
|
-
int: () => int,
|
|
300
|
-
instanceof: () => _instanceof,
|
|
301
|
-
includes: () => _includes,
|
|
302
|
-
httpUrl: () => httpUrl,
|
|
303
|
-
hostname: () => hostname2,
|
|
304
|
-
hex: () => hex2,
|
|
305
|
-
hash: () => hash,
|
|
306
|
-
guid: () => guid2,
|
|
307
|
-
gte: () => _gte,
|
|
308
|
-
gt: () => _gt,
|
|
309
|
-
globalRegistry: () => globalRegistry,
|
|
310
|
-
getErrorMap: () => getErrorMap,
|
|
311
|
-
function: () => _function,
|
|
312
|
-
fromJSONSchema: () => fromJSONSchema,
|
|
313
|
-
formatError: () => formatError,
|
|
314
|
-
float64: () => float64,
|
|
315
|
-
float32: () => float32,
|
|
316
|
-
flattenError: () => flattenError,
|
|
317
|
-
file: () => file,
|
|
318
|
-
exactOptional: () => exactOptional,
|
|
319
|
-
enum: () => _enum2,
|
|
320
|
-
endsWith: () => _endsWith,
|
|
321
|
-
encodeAsync: () => encodeAsync2,
|
|
322
|
-
encode: () => encode2,
|
|
323
|
-
emoji: () => emoji2,
|
|
324
|
-
email: () => email2,
|
|
325
|
-
e164: () => e1642,
|
|
326
|
-
discriminatedUnion: () => discriminatedUnion,
|
|
327
|
-
describe: () => describe2,
|
|
328
|
-
decodeAsync: () => decodeAsync2,
|
|
329
|
-
decode: () => decode2,
|
|
330
|
-
date: () => date3,
|
|
331
|
-
custom: () => custom,
|
|
332
|
-
cuid2: () => cuid22,
|
|
333
|
-
cuid: () => cuid3,
|
|
334
|
-
core: () => exports_core2,
|
|
335
|
-
config: () => config,
|
|
336
|
-
coerce: () => exports_coerce,
|
|
337
|
-
codec: () => codec,
|
|
338
|
-
clone: () => clone,
|
|
339
|
-
cidrv6: () => cidrv62,
|
|
340
|
-
cidrv4: () => cidrv42,
|
|
341
|
-
check: () => check,
|
|
342
|
-
catch: () => _catch2,
|
|
343
|
-
boolean: () => boolean2,
|
|
344
|
-
bigint: () => bigint2,
|
|
345
|
-
base64url: () => base64url2,
|
|
346
|
-
base64: () => base642,
|
|
347
|
-
array: () => array,
|
|
348
|
-
any: () => any,
|
|
349
|
-
_function: () => _function,
|
|
350
|
-
_default: () => _default2,
|
|
351
|
-
_ZodString: () => _ZodString,
|
|
352
|
-
ZodXor: () => ZodXor,
|
|
353
|
-
ZodXID: () => ZodXID,
|
|
354
|
-
ZodVoid: () => ZodVoid,
|
|
355
|
-
ZodUnknown: () => ZodUnknown,
|
|
356
|
-
ZodUnion: () => ZodUnion,
|
|
357
|
-
ZodUndefined: () => ZodUndefined,
|
|
358
|
-
ZodUUID: () => ZodUUID,
|
|
359
|
-
ZodURL: () => ZodURL,
|
|
360
|
-
ZodULID: () => ZodULID,
|
|
361
|
-
ZodType: () => ZodType,
|
|
362
|
-
ZodTuple: () => ZodTuple,
|
|
363
|
-
ZodTransform: () => ZodTransform,
|
|
364
|
-
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
365
|
-
ZodSymbol: () => ZodSymbol,
|
|
366
|
-
ZodSuccess: () => ZodSuccess,
|
|
367
|
-
ZodStringFormat: () => ZodStringFormat,
|
|
368
|
-
ZodString: () => ZodString,
|
|
369
|
-
ZodSet: () => ZodSet,
|
|
370
|
-
ZodRecord: () => ZodRecord,
|
|
371
|
-
ZodRealError: () => ZodRealError,
|
|
372
|
-
ZodReadonly: () => ZodReadonly,
|
|
373
|
-
ZodPromise: () => ZodPromise,
|
|
374
|
-
ZodPreprocess: () => ZodPreprocess,
|
|
375
|
-
ZodPrefault: () => ZodPrefault,
|
|
376
|
-
ZodPipe: () => ZodPipe,
|
|
377
|
-
ZodOptional: () => ZodOptional,
|
|
378
|
-
ZodObject: () => ZodObject,
|
|
379
|
-
ZodNumberFormat: () => ZodNumberFormat,
|
|
380
|
-
ZodNumber: () => ZodNumber,
|
|
381
|
-
ZodNullable: () => ZodNullable,
|
|
382
|
-
ZodNull: () => ZodNull,
|
|
383
|
-
ZodNonOptional: () => ZodNonOptional,
|
|
384
|
-
ZodNever: () => ZodNever,
|
|
385
|
-
ZodNanoID: () => ZodNanoID,
|
|
386
|
-
ZodNaN: () => ZodNaN,
|
|
387
|
-
ZodMap: () => ZodMap,
|
|
388
|
-
ZodMAC: () => ZodMAC,
|
|
389
|
-
ZodLiteral: () => ZodLiteral,
|
|
390
|
-
ZodLazy: () => ZodLazy,
|
|
391
|
-
ZodKSUID: () => ZodKSUID,
|
|
392
|
-
ZodJWT: () => ZodJWT,
|
|
393
|
-
ZodIssueCode: () => ZodIssueCode,
|
|
394
|
-
ZodIntersection: () => ZodIntersection,
|
|
395
|
-
ZodISOTime: () => ZodISOTime,
|
|
396
|
-
ZodISODuration: () => ZodISODuration,
|
|
397
|
-
ZodISODateTime: () => ZodISODateTime,
|
|
398
|
-
ZodISODate: () => ZodISODate,
|
|
399
|
-
ZodIPv6: () => ZodIPv6,
|
|
400
|
-
ZodIPv4: () => ZodIPv4,
|
|
401
|
-
ZodGUID: () => ZodGUID,
|
|
402
|
-
ZodFunction: () => ZodFunction,
|
|
403
|
-
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
404
|
-
ZodFile: () => ZodFile,
|
|
405
|
-
ZodExactOptional: () => ZodExactOptional,
|
|
406
|
-
ZodError: () => ZodError,
|
|
407
|
-
ZodEnum: () => ZodEnum,
|
|
408
|
-
ZodEmoji: () => ZodEmoji,
|
|
409
|
-
ZodEmail: () => ZodEmail,
|
|
410
|
-
ZodE164: () => ZodE164,
|
|
411
|
-
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
412
|
-
ZodDefault: () => ZodDefault,
|
|
413
|
-
ZodDate: () => ZodDate,
|
|
414
|
-
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
415
|
-
ZodCustom: () => ZodCustom,
|
|
416
|
-
ZodCodec: () => ZodCodec,
|
|
417
|
-
ZodCatch: () => ZodCatch,
|
|
418
|
-
ZodCUID2: () => ZodCUID2,
|
|
419
|
-
ZodCUID: () => ZodCUID,
|
|
420
|
-
ZodCIDRv6: () => ZodCIDRv6,
|
|
421
|
-
ZodCIDRv4: () => ZodCIDRv4,
|
|
422
|
-
ZodBoolean: () => ZodBoolean,
|
|
423
|
-
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
424
|
-
ZodBigInt: () => ZodBigInt,
|
|
425
|
-
ZodBase64URL: () => ZodBase64URL,
|
|
426
|
-
ZodBase64: () => ZodBase64,
|
|
427
|
-
ZodArray: () => ZodArray,
|
|
428
|
-
ZodAny: () => ZodAny,
|
|
429
|
-
TimePrecision: () => TimePrecision,
|
|
430
|
-
NEVER: () => NEVER,
|
|
431
|
-
$output: () => $output,
|
|
432
|
-
$input: () => $input,
|
|
433
|
-
$brand: () => $brand
|
|
434
|
-
});
|
|
435
|
-
|
|
436
|
-
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/index.js
|
|
437
|
-
var exports_core2 = {};
|
|
438
|
-
__export(exports_core2, {
|
|
439
|
-
version: () => version,
|
|
440
|
-
util: () => exports_util,
|
|
441
|
-
treeifyError: () => treeifyError,
|
|
442
|
-
toJSONSchema: () => toJSONSchema,
|
|
443
|
-
toDotPath: () => toDotPath,
|
|
444
|
-
safeParseAsync: () => safeParseAsync,
|
|
445
|
-
safeParse: () => safeParse,
|
|
446
|
-
safeEncodeAsync: () => safeEncodeAsync,
|
|
447
|
-
safeEncode: () => safeEncode,
|
|
448
|
-
safeDecodeAsync: () => safeDecodeAsync,
|
|
449
|
-
safeDecode: () => safeDecode,
|
|
450
|
-
registry: () => registry,
|
|
451
|
-
regexes: () => exports_regexes,
|
|
452
|
-
process: () => process2,
|
|
453
|
-
prettifyError: () => prettifyError,
|
|
454
|
-
parseAsync: () => parseAsync,
|
|
455
|
-
parse: () => parse,
|
|
456
|
-
meta: () => meta,
|
|
457
|
-
locales: () => exports_locales,
|
|
458
|
-
isValidJWT: () => isValidJWT,
|
|
459
|
-
isValidBase64URL: () => isValidBase64URL,
|
|
460
|
-
isValidBase64: () => isValidBase64,
|
|
461
|
-
initializeContext: () => initializeContext,
|
|
462
|
-
globalRegistry: () => globalRegistry,
|
|
463
|
-
globalConfig: () => globalConfig,
|
|
464
|
-
formatError: () => formatError,
|
|
465
|
-
flattenError: () => flattenError,
|
|
466
|
-
finalize: () => finalize,
|
|
467
|
-
extractDefs: () => extractDefs,
|
|
468
|
-
encodeAsync: () => encodeAsync,
|
|
469
|
-
encode: () => encode,
|
|
470
|
-
describe: () => describe,
|
|
471
|
-
decodeAsync: () => decodeAsync,
|
|
472
|
-
decode: () => decode,
|
|
473
|
-
createToJSONSchemaMethod: () => createToJSONSchemaMethod,
|
|
474
|
-
createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
|
|
475
|
-
config: () => config,
|
|
476
|
-
clone: () => clone,
|
|
477
|
-
_xor: () => _xor,
|
|
478
|
-
_xid: () => _xid,
|
|
479
|
-
_void: () => _void,
|
|
480
|
-
_uuidv7: () => _uuidv7,
|
|
481
|
-
_uuidv6: () => _uuidv6,
|
|
482
|
-
_uuidv4: () => _uuidv4,
|
|
483
|
-
_uuid: () => _uuid,
|
|
484
|
-
_url: () => _url,
|
|
485
|
-
_uppercase: () => _uppercase,
|
|
486
|
-
_unknown: () => _unknown,
|
|
487
|
-
_union: () => _union,
|
|
488
|
-
_undefined: () => _undefined2,
|
|
489
|
-
_ulid: () => _ulid,
|
|
490
|
-
_uint64: () => _uint64,
|
|
491
|
-
_uint32: () => _uint32,
|
|
492
|
-
_tuple: () => _tuple,
|
|
493
|
-
_trim: () => _trim,
|
|
494
|
-
_transform: () => _transform,
|
|
495
|
-
_toUpperCase: () => _toUpperCase,
|
|
496
|
-
_toLowerCase: () => _toLowerCase,
|
|
497
|
-
_templateLiteral: () => _templateLiteral,
|
|
498
|
-
_symbol: () => _symbol,
|
|
499
|
-
_superRefine: () => _superRefine,
|
|
500
|
-
_success: () => _success,
|
|
501
|
-
_stringbool: () => _stringbool,
|
|
502
|
-
_stringFormat: () => _stringFormat,
|
|
503
|
-
_string: () => _string,
|
|
504
|
-
_startsWith: () => _startsWith,
|
|
505
|
-
_slugify: () => _slugify,
|
|
506
|
-
_size: () => _size,
|
|
507
|
-
_set: () => _set,
|
|
508
|
-
_safeParseAsync: () => _safeParseAsync,
|
|
509
|
-
_safeParse: () => _safeParse,
|
|
510
|
-
_safeEncodeAsync: () => _safeEncodeAsync,
|
|
511
|
-
_safeEncode: () => _safeEncode,
|
|
512
|
-
_safeDecodeAsync: () => _safeDecodeAsync,
|
|
513
|
-
_safeDecode: () => _safeDecode,
|
|
514
|
-
_regex: () => _regex,
|
|
515
|
-
_refine: () => _refine,
|
|
516
|
-
_record: () => _record,
|
|
517
|
-
_readonly: () => _readonly,
|
|
518
|
-
_property: () => _property,
|
|
519
|
-
_promise: () => _promise,
|
|
520
|
-
_positive: () => _positive,
|
|
521
|
-
_pipe: () => _pipe,
|
|
522
|
-
_parseAsync: () => _parseAsync,
|
|
523
|
-
_parse: () => _parse,
|
|
524
|
-
_overwrite: () => _overwrite,
|
|
525
|
-
_optional: () => _optional,
|
|
526
|
-
_number: () => _number,
|
|
527
|
-
_nullable: () => _nullable,
|
|
528
|
-
_null: () => _null2,
|
|
529
|
-
_normalize: () => _normalize,
|
|
530
|
-
_nonpositive: () => _nonpositive,
|
|
531
|
-
_nonoptional: () => _nonoptional,
|
|
532
|
-
_nonnegative: () => _nonnegative,
|
|
533
|
-
_never: () => _never,
|
|
534
|
-
_negative: () => _negative,
|
|
535
|
-
_nativeEnum: () => _nativeEnum,
|
|
536
|
-
_nanoid: () => _nanoid,
|
|
537
|
-
_nan: () => _nan,
|
|
538
|
-
_multipleOf: () => _multipleOf,
|
|
539
|
-
_minSize: () => _minSize,
|
|
540
|
-
_minLength: () => _minLength,
|
|
541
|
-
_min: () => _gte,
|
|
542
|
-
_mime: () => _mime,
|
|
543
|
-
_maxSize: () => _maxSize,
|
|
544
|
-
_maxLength: () => _maxLength,
|
|
545
|
-
_max: () => _lte,
|
|
546
|
-
_map: () => _map,
|
|
547
|
-
_mac: () => _mac,
|
|
548
|
-
_lte: () => _lte,
|
|
549
|
-
_lt: () => _lt,
|
|
550
|
-
_lowercase: () => _lowercase,
|
|
551
|
-
_literal: () => _literal,
|
|
552
|
-
_length: () => _length,
|
|
553
|
-
_lazy: () => _lazy,
|
|
554
|
-
_ksuid: () => _ksuid,
|
|
555
|
-
_jwt: () => _jwt,
|
|
556
|
-
_isoTime: () => _isoTime,
|
|
557
|
-
_isoDuration: () => _isoDuration,
|
|
558
|
-
_isoDateTime: () => _isoDateTime,
|
|
559
|
-
_isoDate: () => _isoDate,
|
|
560
|
-
_ipv6: () => _ipv6,
|
|
561
|
-
_ipv4: () => _ipv4,
|
|
562
|
-
_intersection: () => _intersection,
|
|
563
|
-
_int64: () => _int64,
|
|
564
|
-
_int32: () => _int32,
|
|
565
|
-
_int: () => _int,
|
|
566
|
-
_includes: () => _includes,
|
|
567
|
-
_guid: () => _guid,
|
|
568
|
-
_gte: () => _gte,
|
|
569
|
-
_gt: () => _gt,
|
|
570
|
-
_float64: () => _float64,
|
|
571
|
-
_float32: () => _float32,
|
|
572
|
-
_file: () => _file,
|
|
573
|
-
_enum: () => _enum,
|
|
574
|
-
_endsWith: () => _endsWith,
|
|
575
|
-
_encodeAsync: () => _encodeAsync,
|
|
576
|
-
_encode: () => _encode,
|
|
577
|
-
_emoji: () => _emoji2,
|
|
578
|
-
_email: () => _email,
|
|
579
|
-
_e164: () => _e164,
|
|
580
|
-
_discriminatedUnion: () => _discriminatedUnion,
|
|
581
|
-
_default: () => _default,
|
|
582
|
-
_decodeAsync: () => _decodeAsync,
|
|
583
|
-
_decode: () => _decode,
|
|
584
|
-
_date: () => _date,
|
|
585
|
-
_custom: () => _custom,
|
|
586
|
-
_cuid2: () => _cuid2,
|
|
587
|
-
_cuid: () => _cuid,
|
|
588
|
-
_coercedString: () => _coercedString,
|
|
589
|
-
_coercedNumber: () => _coercedNumber,
|
|
590
|
-
_coercedDate: () => _coercedDate,
|
|
591
|
-
_coercedBoolean: () => _coercedBoolean,
|
|
592
|
-
_coercedBigint: () => _coercedBigint,
|
|
593
|
-
_cidrv6: () => _cidrv6,
|
|
594
|
-
_cidrv4: () => _cidrv4,
|
|
595
|
-
_check: () => _check,
|
|
596
|
-
_catch: () => _catch,
|
|
597
|
-
_boolean: () => _boolean,
|
|
598
|
-
_bigint: () => _bigint,
|
|
599
|
-
_base64url: () => _base64url,
|
|
600
|
-
_base64: () => _base64,
|
|
601
|
-
_array: () => _array,
|
|
602
|
-
_any: () => _any,
|
|
603
|
-
TimePrecision: () => TimePrecision,
|
|
604
|
-
NEVER: () => NEVER,
|
|
605
|
-
JSONSchemaGenerator: () => JSONSchemaGenerator,
|
|
606
|
-
JSONSchema: () => exports_json_schema,
|
|
607
|
-
Doc: () => Doc,
|
|
608
|
-
$output: () => $output,
|
|
609
|
-
$input: () => $input,
|
|
610
|
-
$constructor: () => $constructor,
|
|
611
196
|
$brand: () => $brand,
|
|
612
|
-
$
|
|
613
|
-
$
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
197
|
+
$input: () => $input,
|
|
198
|
+
$output: () => $output,
|
|
199
|
+
NEVER: () => NEVER,
|
|
200
|
+
TimePrecision: () => TimePrecision,
|
|
201
|
+
ZodAny: () => ZodAny,
|
|
202
|
+
ZodArray: () => ZodArray,
|
|
203
|
+
ZodBase64: () => ZodBase64,
|
|
204
|
+
ZodBase64URL: () => ZodBase64URL,
|
|
205
|
+
ZodBigInt: () => ZodBigInt,
|
|
206
|
+
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
207
|
+
ZodBoolean: () => ZodBoolean,
|
|
208
|
+
ZodCIDRv4: () => ZodCIDRv4,
|
|
209
|
+
ZodCIDRv6: () => ZodCIDRv6,
|
|
210
|
+
ZodCUID: () => ZodCUID,
|
|
211
|
+
ZodCUID2: () => ZodCUID2,
|
|
212
|
+
ZodCatch: () => ZodCatch,
|
|
213
|
+
ZodCodec: () => ZodCodec,
|
|
214
|
+
ZodCustom: () => ZodCustom,
|
|
215
|
+
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
216
|
+
ZodDate: () => ZodDate,
|
|
217
|
+
ZodDefault: () => ZodDefault,
|
|
218
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
219
|
+
ZodE164: () => ZodE164,
|
|
220
|
+
ZodEmail: () => ZodEmail,
|
|
221
|
+
ZodEmoji: () => ZodEmoji,
|
|
222
|
+
ZodEnum: () => ZodEnum,
|
|
223
|
+
ZodError: () => ZodError,
|
|
224
|
+
ZodExactOptional: () => ZodExactOptional,
|
|
225
|
+
ZodFile: () => ZodFile,
|
|
226
|
+
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
227
|
+
ZodFunction: () => ZodFunction,
|
|
228
|
+
ZodGUID: () => ZodGUID,
|
|
229
|
+
ZodIPv4: () => ZodIPv4,
|
|
230
|
+
ZodIPv6: () => ZodIPv6,
|
|
231
|
+
ZodISODate: () => ZodISODate,
|
|
232
|
+
ZodISODateTime: () => ZodISODateTime,
|
|
233
|
+
ZodISODuration: () => ZodISODuration,
|
|
234
|
+
ZodISOTime: () => ZodISOTime,
|
|
235
|
+
ZodIntersection: () => ZodIntersection,
|
|
236
|
+
ZodIssueCode: () => ZodIssueCode,
|
|
237
|
+
ZodJWT: () => ZodJWT,
|
|
238
|
+
ZodKSUID: () => ZodKSUID,
|
|
239
|
+
ZodLazy: () => ZodLazy,
|
|
240
|
+
ZodLiteral: () => ZodLiteral,
|
|
241
|
+
ZodMAC: () => ZodMAC,
|
|
242
|
+
ZodMap: () => ZodMap,
|
|
243
|
+
ZodNaN: () => ZodNaN,
|
|
244
|
+
ZodNanoID: () => ZodNanoID,
|
|
245
|
+
ZodNever: () => ZodNever,
|
|
246
|
+
ZodNonOptional: () => ZodNonOptional,
|
|
247
|
+
ZodNull: () => ZodNull,
|
|
248
|
+
ZodNullable: () => ZodNullable,
|
|
249
|
+
ZodNumber: () => ZodNumber,
|
|
250
|
+
ZodNumberFormat: () => ZodNumberFormat,
|
|
251
|
+
ZodObject: () => ZodObject,
|
|
252
|
+
ZodOptional: () => ZodOptional,
|
|
253
|
+
ZodPipe: () => ZodPipe,
|
|
254
|
+
ZodPrefault: () => ZodPrefault,
|
|
255
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
256
|
+
ZodPromise: () => ZodPromise,
|
|
257
|
+
ZodReadonly: () => ZodReadonly,
|
|
258
|
+
ZodRealError: () => ZodRealError,
|
|
259
|
+
ZodRecord: () => ZodRecord,
|
|
260
|
+
ZodSet: () => ZodSet,
|
|
261
|
+
ZodString: () => ZodString,
|
|
262
|
+
ZodStringFormat: () => ZodStringFormat,
|
|
263
|
+
ZodSuccess: () => ZodSuccess,
|
|
264
|
+
ZodSymbol: () => ZodSymbol,
|
|
265
|
+
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
266
|
+
ZodTransform: () => ZodTransform,
|
|
267
|
+
ZodTuple: () => ZodTuple,
|
|
268
|
+
ZodType: () => ZodType,
|
|
269
|
+
ZodULID: () => ZodULID,
|
|
270
|
+
ZodURL: () => ZodURL,
|
|
271
|
+
ZodUUID: () => ZodUUID,
|
|
272
|
+
ZodUndefined: () => ZodUndefined,
|
|
273
|
+
ZodUnion: () => ZodUnion,
|
|
274
|
+
ZodUnknown: () => ZodUnknown,
|
|
275
|
+
ZodVoid: () => ZodVoid,
|
|
276
|
+
ZodXID: () => ZodXID,
|
|
277
|
+
ZodXor: () => ZodXor,
|
|
278
|
+
_ZodString: () => _ZodString,
|
|
279
|
+
_default: () => _default2,
|
|
280
|
+
_function: () => _function,
|
|
281
|
+
any: () => any,
|
|
282
|
+
array: () => array,
|
|
283
|
+
base64: () => base642,
|
|
284
|
+
base64url: () => base64url2,
|
|
285
|
+
bigint: () => bigint2,
|
|
286
|
+
boolean: () => boolean2,
|
|
287
|
+
catch: () => _catch2,
|
|
288
|
+
check: () => check,
|
|
289
|
+
cidrv4: () => cidrv42,
|
|
290
|
+
cidrv6: () => cidrv62,
|
|
291
|
+
clone: () => clone,
|
|
292
|
+
codec: () => codec,
|
|
293
|
+
coerce: () => exports_coerce,
|
|
294
|
+
config: () => config,
|
|
295
|
+
core: () => exports_core2,
|
|
296
|
+
cuid: () => cuid3,
|
|
297
|
+
cuid2: () => cuid22,
|
|
298
|
+
custom: () => custom,
|
|
299
|
+
date: () => date3,
|
|
300
|
+
decode: () => decode2,
|
|
301
|
+
decodeAsync: () => decodeAsync2,
|
|
302
|
+
describe: () => describe2,
|
|
303
|
+
discriminatedUnion: () => discriminatedUnion,
|
|
304
|
+
e164: () => e1642,
|
|
305
|
+
email: () => email2,
|
|
306
|
+
emoji: () => emoji2,
|
|
307
|
+
encode: () => encode2,
|
|
308
|
+
encodeAsync: () => encodeAsync2,
|
|
309
|
+
endsWith: () => _endsWith,
|
|
310
|
+
enum: () => _enum2,
|
|
311
|
+
exactOptional: () => exactOptional,
|
|
312
|
+
file: () => file,
|
|
313
|
+
flattenError: () => flattenError,
|
|
314
|
+
float32: () => float32,
|
|
315
|
+
float64: () => float64,
|
|
316
|
+
formatError: () => formatError,
|
|
317
|
+
fromJSONSchema: () => fromJSONSchema,
|
|
318
|
+
function: () => _function,
|
|
319
|
+
getErrorMap: () => getErrorMap,
|
|
320
|
+
globalRegistry: () => globalRegistry,
|
|
321
|
+
gt: () => _gt,
|
|
322
|
+
gte: () => _gte,
|
|
323
|
+
guid: () => guid2,
|
|
324
|
+
hash: () => hash,
|
|
325
|
+
hex: () => hex2,
|
|
326
|
+
hostname: () => hostname2,
|
|
327
|
+
httpUrl: () => httpUrl,
|
|
328
|
+
includes: () => _includes,
|
|
329
|
+
instanceof: () => _instanceof,
|
|
330
|
+
int: () => int,
|
|
331
|
+
int32: () => int32,
|
|
332
|
+
int64: () => int64,
|
|
333
|
+
intersection: () => intersection,
|
|
334
|
+
invertCodec: () => invertCodec,
|
|
335
|
+
ipv4: () => ipv42,
|
|
336
|
+
ipv6: () => ipv62,
|
|
337
|
+
iso: () => exports_iso,
|
|
338
|
+
json: () => json,
|
|
339
|
+
jwt: () => jwt,
|
|
340
|
+
keyof: () => keyof,
|
|
341
|
+
ksuid: () => ksuid2,
|
|
342
|
+
lazy: () => lazy,
|
|
343
|
+
length: () => _length,
|
|
344
|
+
literal: () => literal,
|
|
345
|
+
locales: () => exports_locales,
|
|
346
|
+
looseObject: () => looseObject,
|
|
347
|
+
looseRecord: () => looseRecord,
|
|
348
|
+
lowercase: () => _lowercase,
|
|
349
|
+
lt: () => _lt,
|
|
350
|
+
lte: () => _lte,
|
|
351
|
+
mac: () => mac2,
|
|
352
|
+
map: () => map,
|
|
353
|
+
maxLength: () => _maxLength,
|
|
354
|
+
maxSize: () => _maxSize,
|
|
355
|
+
meta: () => meta2,
|
|
356
|
+
mime: () => _mime,
|
|
357
|
+
minLength: () => _minLength,
|
|
358
|
+
minSize: () => _minSize,
|
|
359
|
+
multipleOf: () => _multipleOf,
|
|
360
|
+
nan: () => nan,
|
|
361
|
+
nanoid: () => nanoid2,
|
|
362
|
+
nativeEnum: () => nativeEnum,
|
|
363
|
+
negative: () => _negative,
|
|
364
|
+
never: () => never,
|
|
365
|
+
nonnegative: () => _nonnegative,
|
|
366
|
+
nonoptional: () => nonoptional,
|
|
367
|
+
nonpositive: () => _nonpositive,
|
|
368
|
+
normalize: () => _normalize,
|
|
369
|
+
null: () => _null3,
|
|
370
|
+
nullable: () => nullable,
|
|
371
|
+
nullish: () => nullish2,
|
|
372
|
+
number: () => number2,
|
|
373
|
+
object: () => object,
|
|
374
|
+
optional: () => optional,
|
|
375
|
+
overwrite: () => _overwrite,
|
|
376
|
+
parse: () => parse3,
|
|
377
|
+
parseAsync: () => parseAsync2,
|
|
378
|
+
partialRecord: () => partialRecord,
|
|
379
|
+
pipe: () => pipe,
|
|
380
|
+
positive: () => _positive,
|
|
381
|
+
prefault: () => prefault,
|
|
382
|
+
preprocess: () => preprocess,
|
|
383
|
+
prettifyError: () => prettifyError,
|
|
384
|
+
promise: () => promise,
|
|
385
|
+
property: () => _property,
|
|
386
|
+
readonly: () => readonly,
|
|
387
|
+
record: () => record,
|
|
388
|
+
refine: () => refine,
|
|
389
|
+
regex: () => _regex,
|
|
390
|
+
regexes: () => exports_regexes,
|
|
391
|
+
registry: () => registry,
|
|
392
|
+
safeDecode: () => safeDecode2,
|
|
393
|
+
safeDecodeAsync: () => safeDecodeAsync2,
|
|
394
|
+
safeEncode: () => safeEncode2,
|
|
395
|
+
safeEncodeAsync: () => safeEncodeAsync2,
|
|
396
|
+
safeParse: () => safeParse2,
|
|
397
|
+
safeParseAsync: () => safeParseAsync2,
|
|
398
|
+
set: () => set,
|
|
399
|
+
setErrorMap: () => setErrorMap,
|
|
400
|
+
size: () => _size,
|
|
401
|
+
slugify: () => _slugify,
|
|
402
|
+
startsWith: () => _startsWith,
|
|
403
|
+
strictObject: () => strictObject,
|
|
404
|
+
string: () => string2,
|
|
405
|
+
stringFormat: () => stringFormat,
|
|
406
|
+
stringbool: () => stringbool,
|
|
407
|
+
success: () => success,
|
|
408
|
+
superRefine: () => superRefine,
|
|
409
|
+
symbol: () => symbol,
|
|
410
|
+
templateLiteral: () => templateLiteral,
|
|
411
|
+
toJSONSchema: () => toJSONSchema,
|
|
412
|
+
toLowerCase: () => _toLowerCase,
|
|
413
|
+
toUpperCase: () => _toUpperCase,
|
|
414
|
+
transform: () => transform,
|
|
415
|
+
treeifyError: () => treeifyError,
|
|
416
|
+
trim: () => _trim,
|
|
417
|
+
tuple: () => tuple,
|
|
418
|
+
uint32: () => uint32,
|
|
419
|
+
uint64: () => uint64,
|
|
420
|
+
ulid: () => ulid2,
|
|
421
|
+
undefined: () => _undefined3,
|
|
422
|
+
union: () => union,
|
|
423
|
+
unknown: () => unknown,
|
|
424
|
+
uppercase: () => _uppercase,
|
|
425
|
+
url: () => url,
|
|
426
|
+
util: () => exports_util,
|
|
427
|
+
uuid: () => uuid2,
|
|
428
|
+
uuidv4: () => uuidv4,
|
|
429
|
+
uuidv6: () => uuidv6,
|
|
430
|
+
uuidv7: () => uuidv7,
|
|
431
|
+
void: () => _void2,
|
|
432
|
+
xid: () => xid2,
|
|
433
|
+
xor: () => xor
|
|
434
|
+
});
|
|
435
|
+
|
|
436
|
+
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/index.js
|
|
437
|
+
var exports_core2 = {};
|
|
438
|
+
__export(exports_core2, {
|
|
439
|
+
$ZodAny: () => $ZodAny,
|
|
711
440
|
$ZodArray: () => $ZodArray,
|
|
712
|
-
$
|
|
441
|
+
$ZodAsyncError: () => $ZodAsyncError,
|
|
442
|
+
$ZodBase64: () => $ZodBase64,
|
|
443
|
+
$ZodBase64URL: () => $ZodBase64URL,
|
|
444
|
+
$ZodBigInt: () => $ZodBigInt,
|
|
445
|
+
$ZodBigIntFormat: () => $ZodBigIntFormat,
|
|
446
|
+
$ZodBoolean: () => $ZodBoolean,
|
|
447
|
+
$ZodCIDRv4: () => $ZodCIDRv4,
|
|
448
|
+
$ZodCIDRv6: () => $ZodCIDRv6,
|
|
449
|
+
$ZodCUID: () => $ZodCUID,
|
|
450
|
+
$ZodCUID2: () => $ZodCUID2,
|
|
451
|
+
$ZodCatch: () => $ZodCatch,
|
|
452
|
+
$ZodCheck: () => $ZodCheck,
|
|
453
|
+
$ZodCheckBigIntFormat: () => $ZodCheckBigIntFormat,
|
|
454
|
+
$ZodCheckEndsWith: () => $ZodCheckEndsWith,
|
|
455
|
+
$ZodCheckGreaterThan: () => $ZodCheckGreaterThan,
|
|
456
|
+
$ZodCheckIncludes: () => $ZodCheckIncludes,
|
|
457
|
+
$ZodCheckLengthEquals: () => $ZodCheckLengthEquals,
|
|
458
|
+
$ZodCheckLessThan: () => $ZodCheckLessThan,
|
|
459
|
+
$ZodCheckLowerCase: () => $ZodCheckLowerCase,
|
|
460
|
+
$ZodCheckMaxLength: () => $ZodCheckMaxLength,
|
|
461
|
+
$ZodCheckMaxSize: () => $ZodCheckMaxSize,
|
|
462
|
+
$ZodCheckMimeType: () => $ZodCheckMimeType,
|
|
463
|
+
$ZodCheckMinLength: () => $ZodCheckMinLength,
|
|
464
|
+
$ZodCheckMinSize: () => $ZodCheckMinSize,
|
|
465
|
+
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
|
|
466
|
+
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
|
|
467
|
+
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
|
|
468
|
+
$ZodCheckProperty: () => $ZodCheckProperty,
|
|
469
|
+
$ZodCheckRegex: () => $ZodCheckRegex,
|
|
470
|
+
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
|
|
471
|
+
$ZodCheckStartsWith: () => $ZodCheckStartsWith,
|
|
472
|
+
$ZodCheckStringFormat: () => $ZodCheckStringFormat,
|
|
473
|
+
$ZodCheckUpperCase: () => $ZodCheckUpperCase,
|
|
474
|
+
$ZodCodec: () => $ZodCodec,
|
|
475
|
+
$ZodCustom: () => $ZodCustom,
|
|
476
|
+
$ZodCustomStringFormat: () => $ZodCustomStringFormat,
|
|
477
|
+
$ZodDate: () => $ZodDate,
|
|
478
|
+
$ZodDefault: () => $ZodDefault,
|
|
479
|
+
$ZodDiscriminatedUnion: () => $ZodDiscriminatedUnion,
|
|
480
|
+
$ZodE164: () => $ZodE164,
|
|
481
|
+
$ZodEmail: () => $ZodEmail,
|
|
482
|
+
$ZodEmoji: () => $ZodEmoji,
|
|
483
|
+
$ZodEncodeError: () => $ZodEncodeError,
|
|
484
|
+
$ZodEnum: () => $ZodEnum,
|
|
485
|
+
$ZodError: () => $ZodError,
|
|
486
|
+
$ZodExactOptional: () => $ZodExactOptional,
|
|
487
|
+
$ZodFile: () => $ZodFile,
|
|
488
|
+
$ZodFunction: () => $ZodFunction,
|
|
489
|
+
$ZodGUID: () => $ZodGUID,
|
|
490
|
+
$ZodIPv4: () => $ZodIPv4,
|
|
491
|
+
$ZodIPv6: () => $ZodIPv6,
|
|
492
|
+
$ZodISODate: () => $ZodISODate,
|
|
493
|
+
$ZodISODateTime: () => $ZodISODateTime,
|
|
494
|
+
$ZodISODuration: () => $ZodISODuration,
|
|
495
|
+
$ZodISOTime: () => $ZodISOTime,
|
|
496
|
+
$ZodIntersection: () => $ZodIntersection,
|
|
497
|
+
$ZodJWT: () => $ZodJWT,
|
|
498
|
+
$ZodKSUID: () => $ZodKSUID,
|
|
499
|
+
$ZodLazy: () => $ZodLazy,
|
|
500
|
+
$ZodLiteral: () => $ZodLiteral,
|
|
501
|
+
$ZodMAC: () => $ZodMAC,
|
|
502
|
+
$ZodMap: () => $ZodMap,
|
|
503
|
+
$ZodNaN: () => $ZodNaN,
|
|
504
|
+
$ZodNanoID: () => $ZodNanoID,
|
|
505
|
+
$ZodNever: () => $ZodNever,
|
|
506
|
+
$ZodNonOptional: () => $ZodNonOptional,
|
|
507
|
+
$ZodNull: () => $ZodNull,
|
|
508
|
+
$ZodNullable: () => $ZodNullable,
|
|
509
|
+
$ZodNumber: () => $ZodNumber,
|
|
510
|
+
$ZodNumberFormat: () => $ZodNumberFormat,
|
|
511
|
+
$ZodObject: () => $ZodObject,
|
|
512
|
+
$ZodObjectJIT: () => $ZodObjectJIT,
|
|
513
|
+
$ZodOptional: () => $ZodOptional,
|
|
514
|
+
$ZodPipe: () => $ZodPipe,
|
|
515
|
+
$ZodPrefault: () => $ZodPrefault,
|
|
516
|
+
$ZodPreprocess: () => $ZodPreprocess,
|
|
517
|
+
$ZodPromise: () => $ZodPromise,
|
|
518
|
+
$ZodReadonly: () => $ZodReadonly,
|
|
519
|
+
$ZodRealError: () => $ZodRealError,
|
|
520
|
+
$ZodRecord: () => $ZodRecord,
|
|
521
|
+
$ZodRegistry: () => $ZodRegistry,
|
|
522
|
+
$ZodSet: () => $ZodSet,
|
|
523
|
+
$ZodString: () => $ZodString,
|
|
524
|
+
$ZodStringFormat: () => $ZodStringFormat,
|
|
525
|
+
$ZodSuccess: () => $ZodSuccess,
|
|
526
|
+
$ZodSymbol: () => $ZodSymbol,
|
|
527
|
+
$ZodTemplateLiteral: () => $ZodTemplateLiteral,
|
|
528
|
+
$ZodTransform: () => $ZodTransform,
|
|
529
|
+
$ZodTuple: () => $ZodTuple,
|
|
530
|
+
$ZodType: () => $ZodType,
|
|
531
|
+
$ZodULID: () => $ZodULID,
|
|
532
|
+
$ZodURL: () => $ZodURL,
|
|
533
|
+
$ZodUUID: () => $ZodUUID,
|
|
534
|
+
$ZodUndefined: () => $ZodUndefined,
|
|
535
|
+
$ZodUnion: () => $ZodUnion,
|
|
536
|
+
$ZodUnknown: () => $ZodUnknown,
|
|
537
|
+
$ZodVoid: () => $ZodVoid,
|
|
538
|
+
$ZodXID: () => $ZodXID,
|
|
539
|
+
$ZodXor: () => $ZodXor,
|
|
540
|
+
$brand: () => $brand,
|
|
541
|
+
$constructor: () => $constructor,
|
|
542
|
+
$input: () => $input,
|
|
543
|
+
$output: () => $output,
|
|
544
|
+
Doc: () => Doc,
|
|
545
|
+
JSONSchema: () => exports_json_schema,
|
|
546
|
+
JSONSchemaGenerator: () => JSONSchemaGenerator,
|
|
547
|
+
NEVER: () => NEVER,
|
|
548
|
+
TimePrecision: () => TimePrecision,
|
|
549
|
+
_any: () => _any,
|
|
550
|
+
_array: () => _array,
|
|
551
|
+
_base64: () => _base64,
|
|
552
|
+
_base64url: () => _base64url,
|
|
553
|
+
_bigint: () => _bigint,
|
|
554
|
+
_boolean: () => _boolean,
|
|
555
|
+
_catch: () => _catch,
|
|
556
|
+
_check: () => _check,
|
|
557
|
+
_cidrv4: () => _cidrv4,
|
|
558
|
+
_cidrv6: () => _cidrv6,
|
|
559
|
+
_coercedBigint: () => _coercedBigint,
|
|
560
|
+
_coercedBoolean: () => _coercedBoolean,
|
|
561
|
+
_coercedDate: () => _coercedDate,
|
|
562
|
+
_coercedNumber: () => _coercedNumber,
|
|
563
|
+
_coercedString: () => _coercedString,
|
|
564
|
+
_cuid: () => _cuid,
|
|
565
|
+
_cuid2: () => _cuid2,
|
|
566
|
+
_custom: () => _custom,
|
|
567
|
+
_date: () => _date,
|
|
568
|
+
_decode: () => _decode,
|
|
569
|
+
_decodeAsync: () => _decodeAsync,
|
|
570
|
+
_default: () => _default,
|
|
571
|
+
_discriminatedUnion: () => _discriminatedUnion,
|
|
572
|
+
_e164: () => _e164,
|
|
573
|
+
_email: () => _email,
|
|
574
|
+
_emoji: () => _emoji2,
|
|
575
|
+
_encode: () => _encode,
|
|
576
|
+
_encodeAsync: () => _encodeAsync,
|
|
577
|
+
_endsWith: () => _endsWith,
|
|
578
|
+
_enum: () => _enum,
|
|
579
|
+
_file: () => _file,
|
|
580
|
+
_float32: () => _float32,
|
|
581
|
+
_float64: () => _float64,
|
|
582
|
+
_gt: () => _gt,
|
|
583
|
+
_gte: () => _gte,
|
|
584
|
+
_guid: () => _guid,
|
|
585
|
+
_includes: () => _includes,
|
|
586
|
+
_int: () => _int,
|
|
587
|
+
_int32: () => _int32,
|
|
588
|
+
_int64: () => _int64,
|
|
589
|
+
_intersection: () => _intersection,
|
|
590
|
+
_ipv4: () => _ipv4,
|
|
591
|
+
_ipv6: () => _ipv6,
|
|
592
|
+
_isoDate: () => _isoDate,
|
|
593
|
+
_isoDateTime: () => _isoDateTime,
|
|
594
|
+
_isoDuration: () => _isoDuration,
|
|
595
|
+
_isoTime: () => _isoTime,
|
|
596
|
+
_jwt: () => _jwt,
|
|
597
|
+
_ksuid: () => _ksuid,
|
|
598
|
+
_lazy: () => _lazy,
|
|
599
|
+
_length: () => _length,
|
|
600
|
+
_literal: () => _literal,
|
|
601
|
+
_lowercase: () => _lowercase,
|
|
602
|
+
_lt: () => _lt,
|
|
603
|
+
_lte: () => _lte,
|
|
604
|
+
_mac: () => _mac,
|
|
605
|
+
_map: () => _map,
|
|
606
|
+
_max: () => _lte,
|
|
607
|
+
_maxLength: () => _maxLength,
|
|
608
|
+
_maxSize: () => _maxSize,
|
|
609
|
+
_mime: () => _mime,
|
|
610
|
+
_min: () => _gte,
|
|
611
|
+
_minLength: () => _minLength,
|
|
612
|
+
_minSize: () => _minSize,
|
|
613
|
+
_multipleOf: () => _multipleOf,
|
|
614
|
+
_nan: () => _nan,
|
|
615
|
+
_nanoid: () => _nanoid,
|
|
616
|
+
_nativeEnum: () => _nativeEnum,
|
|
617
|
+
_negative: () => _negative,
|
|
618
|
+
_never: () => _never,
|
|
619
|
+
_nonnegative: () => _nonnegative,
|
|
620
|
+
_nonoptional: () => _nonoptional,
|
|
621
|
+
_nonpositive: () => _nonpositive,
|
|
622
|
+
_normalize: () => _normalize,
|
|
623
|
+
_null: () => _null2,
|
|
624
|
+
_nullable: () => _nullable,
|
|
625
|
+
_number: () => _number,
|
|
626
|
+
_optional: () => _optional,
|
|
627
|
+
_overwrite: () => _overwrite,
|
|
628
|
+
_parse: () => _parse,
|
|
629
|
+
_parseAsync: () => _parseAsync,
|
|
630
|
+
_pipe: () => _pipe,
|
|
631
|
+
_positive: () => _positive,
|
|
632
|
+
_promise: () => _promise,
|
|
633
|
+
_property: () => _property,
|
|
634
|
+
_readonly: () => _readonly,
|
|
635
|
+
_record: () => _record,
|
|
636
|
+
_refine: () => _refine,
|
|
637
|
+
_regex: () => _regex,
|
|
638
|
+
_safeDecode: () => _safeDecode,
|
|
639
|
+
_safeDecodeAsync: () => _safeDecodeAsync,
|
|
640
|
+
_safeEncode: () => _safeEncode,
|
|
641
|
+
_safeEncodeAsync: () => _safeEncodeAsync,
|
|
642
|
+
_safeParse: () => _safeParse,
|
|
643
|
+
_safeParseAsync: () => _safeParseAsync,
|
|
644
|
+
_set: () => _set,
|
|
645
|
+
_size: () => _size,
|
|
646
|
+
_slugify: () => _slugify,
|
|
647
|
+
_startsWith: () => _startsWith,
|
|
648
|
+
_string: () => _string,
|
|
649
|
+
_stringFormat: () => _stringFormat,
|
|
650
|
+
_stringbool: () => _stringbool,
|
|
651
|
+
_success: () => _success,
|
|
652
|
+
_superRefine: () => _superRefine,
|
|
653
|
+
_symbol: () => _symbol,
|
|
654
|
+
_templateLiteral: () => _templateLiteral,
|
|
655
|
+
_toLowerCase: () => _toLowerCase,
|
|
656
|
+
_toUpperCase: () => _toUpperCase,
|
|
657
|
+
_transform: () => _transform,
|
|
658
|
+
_trim: () => _trim,
|
|
659
|
+
_tuple: () => _tuple,
|
|
660
|
+
_uint32: () => _uint32,
|
|
661
|
+
_uint64: () => _uint64,
|
|
662
|
+
_ulid: () => _ulid,
|
|
663
|
+
_undefined: () => _undefined2,
|
|
664
|
+
_union: () => _union,
|
|
665
|
+
_unknown: () => _unknown,
|
|
666
|
+
_uppercase: () => _uppercase,
|
|
667
|
+
_url: () => _url,
|
|
668
|
+
_uuid: () => _uuid,
|
|
669
|
+
_uuidv4: () => _uuidv4,
|
|
670
|
+
_uuidv6: () => _uuidv6,
|
|
671
|
+
_uuidv7: () => _uuidv7,
|
|
672
|
+
_void: () => _void,
|
|
673
|
+
_xid: () => _xid,
|
|
674
|
+
_xor: () => _xor,
|
|
675
|
+
clone: () => clone,
|
|
676
|
+
config: () => config,
|
|
677
|
+
createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
|
|
678
|
+
createToJSONSchemaMethod: () => createToJSONSchemaMethod,
|
|
679
|
+
decode: () => decode,
|
|
680
|
+
decodeAsync: () => decodeAsync,
|
|
681
|
+
describe: () => describe,
|
|
682
|
+
encode: () => encode,
|
|
683
|
+
encodeAsync: () => encodeAsync,
|
|
684
|
+
extractDefs: () => extractDefs,
|
|
685
|
+
finalize: () => finalize,
|
|
686
|
+
flattenError: () => flattenError,
|
|
687
|
+
formatError: () => formatError,
|
|
688
|
+
globalConfig: () => globalConfig,
|
|
689
|
+
globalRegistry: () => globalRegistry,
|
|
690
|
+
initializeContext: () => initializeContext,
|
|
691
|
+
isValidBase64: () => isValidBase64,
|
|
692
|
+
isValidBase64URL: () => isValidBase64URL,
|
|
693
|
+
isValidJWT: () => isValidJWT,
|
|
694
|
+
locales: () => exports_locales,
|
|
695
|
+
meta: () => meta,
|
|
696
|
+
parse: () => parse,
|
|
697
|
+
parseAsync: () => parseAsync,
|
|
698
|
+
prettifyError: () => prettifyError,
|
|
699
|
+
process: () => process2,
|
|
700
|
+
regexes: () => exports_regexes,
|
|
701
|
+
registry: () => registry,
|
|
702
|
+
safeDecode: () => safeDecode,
|
|
703
|
+
safeDecodeAsync: () => safeDecodeAsync,
|
|
704
|
+
safeEncode: () => safeEncode,
|
|
705
|
+
safeEncodeAsync: () => safeEncodeAsync,
|
|
706
|
+
safeParse: () => safeParse,
|
|
707
|
+
safeParseAsync: () => safeParseAsync,
|
|
708
|
+
toDotPath: () => toDotPath,
|
|
709
|
+
toJSONSchema: () => toJSONSchema,
|
|
710
|
+
treeifyError: () => treeifyError,
|
|
711
|
+
util: () => exports_util,
|
|
712
|
+
version: () => version
|
|
713
713
|
});
|
|
714
714
|
|
|
715
715
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
@@ -793,69 +793,69 @@ function config(newConfig) {
|
|
|
793
793
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
794
794
|
var exports_util = {};
|
|
795
795
|
__export(exports_util, {
|
|
796
|
-
|
|
797
|
-
uint8ArrayToHex: () => uint8ArrayToHex,
|
|
798
|
-
uint8ArrayToBase64url: () => uint8ArrayToBase64url,
|
|
799
|
-
uint8ArrayToBase64: () => uint8ArrayToBase64,
|
|
800
|
-
stringifyPrimitive: () => stringifyPrimitive,
|
|
801
|
-
slugify: () => slugify,
|
|
802
|
-
shallowClone: () => shallowClone,
|
|
803
|
-
safeExtend: () => safeExtend,
|
|
804
|
-
required: () => required,
|
|
805
|
-
randomString: () => randomString,
|
|
806
|
-
propertyKeyTypes: () => propertyKeyTypes,
|
|
807
|
-
promiseAllObject: () => promiseAllObject,
|
|
808
|
-
primitiveTypes: () => primitiveTypes,
|
|
809
|
-
prefixIssues: () => prefixIssues,
|
|
810
|
-
pick: () => pick,
|
|
811
|
-
partial: () => partial,
|
|
812
|
-
parsedType: () => parsedType,
|
|
813
|
-
optionalKeys: () => optionalKeys,
|
|
814
|
-
omit: () => omit,
|
|
815
|
-
objectClone: () => objectClone,
|
|
816
|
-
numKeys: () => numKeys,
|
|
817
|
-
nullish: () => nullish,
|
|
818
|
-
normalizeParams: () => normalizeParams,
|
|
819
|
-
mergeDefs: () => mergeDefs,
|
|
820
|
-
merge: () => merge,
|
|
821
|
-
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
822
|
-
joinValues: () => joinValues,
|
|
823
|
-
issue: () => issue,
|
|
824
|
-
isPlainObject: () => isPlainObject,
|
|
825
|
-
isObject: () => isObject,
|
|
826
|
-
hexToUint8Array: () => hexToUint8Array,
|
|
827
|
-
getSizableOrigin: () => getSizableOrigin,
|
|
828
|
-
getParsedType: () => getParsedType,
|
|
829
|
-
getLengthableOrigin: () => getLengthableOrigin,
|
|
830
|
-
getEnumValues: () => getEnumValues,
|
|
831
|
-
getElementAtPath: () => getElementAtPath,
|
|
832
|
-
floatSafeRemainder: () => floatSafeRemainder,
|
|
833
|
-
finalizeIssue: () => finalizeIssue,
|
|
834
|
-
extend: () => extend,
|
|
835
|
-
explicitlyAborted: () => explicitlyAborted,
|
|
836
|
-
escapeRegex: () => escapeRegex,
|
|
837
|
-
esc: () => esc,
|
|
838
|
-
defineLazy: () => defineLazy,
|
|
839
|
-
createTransparentProxy: () => createTransparentProxy,
|
|
840
|
-
cloneDef: () => cloneDef,
|
|
841
|
-
clone: () => clone,
|
|
842
|
-
cleanRegex: () => cleanRegex,
|
|
843
|
-
cleanEnum: () => cleanEnum,
|
|
844
|
-
captureStackTrace: () => captureStackTrace,
|
|
845
|
-
cached: () => cached,
|
|
846
|
-
base64urlToUint8Array: () => base64urlToUint8Array,
|
|
847
|
-
base64ToUint8Array: () => base64ToUint8Array,
|
|
848
|
-
assignProp: () => assignProp,
|
|
849
|
-
assertNotEqual: () => assertNotEqual,
|
|
850
|
-
assertNever: () => assertNever,
|
|
851
|
-
assertIs: () => assertIs,
|
|
852
|
-
assertEqual: () => assertEqual,
|
|
853
|
-
assert: () => assert,
|
|
854
|
-
allowsEval: () => allowsEval,
|
|
855
|
-
aborted: () => aborted,
|
|
856
|
-
NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
|
|
796
|
+
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
857
797
|
Class: () => Class,
|
|
858
|
-
|
|
798
|
+
NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
|
|
799
|
+
aborted: () => aborted,
|
|
800
|
+
allowsEval: () => allowsEval,
|
|
801
|
+
assert: () => assert,
|
|
802
|
+
assertEqual: () => assertEqual,
|
|
803
|
+
assertIs: () => assertIs,
|
|
804
|
+
assertNever: () => assertNever,
|
|
805
|
+
assertNotEqual: () => assertNotEqual,
|
|
806
|
+
assignProp: () => assignProp,
|
|
807
|
+
base64ToUint8Array: () => base64ToUint8Array,
|
|
808
|
+
base64urlToUint8Array: () => base64urlToUint8Array,
|
|
809
|
+
cached: () => cached,
|
|
810
|
+
captureStackTrace: () => captureStackTrace,
|
|
811
|
+
cleanEnum: () => cleanEnum,
|
|
812
|
+
cleanRegex: () => cleanRegex,
|
|
813
|
+
clone: () => clone,
|
|
814
|
+
cloneDef: () => cloneDef,
|
|
815
|
+
createTransparentProxy: () => createTransparentProxy,
|
|
816
|
+
defineLazy: () => defineLazy,
|
|
817
|
+
esc: () => esc,
|
|
818
|
+
escapeRegex: () => escapeRegex,
|
|
819
|
+
explicitlyAborted: () => explicitlyAborted,
|
|
820
|
+
extend: () => extend,
|
|
821
|
+
finalizeIssue: () => finalizeIssue,
|
|
822
|
+
floatSafeRemainder: () => floatSafeRemainder,
|
|
823
|
+
getElementAtPath: () => getElementAtPath,
|
|
824
|
+
getEnumValues: () => getEnumValues,
|
|
825
|
+
getLengthableOrigin: () => getLengthableOrigin,
|
|
826
|
+
getParsedType: () => getParsedType,
|
|
827
|
+
getSizableOrigin: () => getSizableOrigin,
|
|
828
|
+
hexToUint8Array: () => hexToUint8Array,
|
|
829
|
+
isObject: () => isObject,
|
|
830
|
+
isPlainObject: () => isPlainObject,
|
|
831
|
+
issue: () => issue,
|
|
832
|
+
joinValues: () => joinValues,
|
|
833
|
+
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
834
|
+
merge: () => merge,
|
|
835
|
+
mergeDefs: () => mergeDefs,
|
|
836
|
+
normalizeParams: () => normalizeParams,
|
|
837
|
+
nullish: () => nullish,
|
|
838
|
+
numKeys: () => numKeys,
|
|
839
|
+
objectClone: () => objectClone,
|
|
840
|
+
omit: () => omit,
|
|
841
|
+
optionalKeys: () => optionalKeys,
|
|
842
|
+
parsedType: () => parsedType,
|
|
843
|
+
partial: () => partial,
|
|
844
|
+
pick: () => pick,
|
|
845
|
+
prefixIssues: () => prefixIssues,
|
|
846
|
+
primitiveTypes: () => primitiveTypes,
|
|
847
|
+
promiseAllObject: () => promiseAllObject,
|
|
848
|
+
propertyKeyTypes: () => propertyKeyTypes,
|
|
849
|
+
randomString: () => randomString,
|
|
850
|
+
required: () => required,
|
|
851
|
+
safeExtend: () => safeExtend,
|
|
852
|
+
shallowClone: () => shallowClone,
|
|
853
|
+
slugify: () => slugify,
|
|
854
|
+
stringifyPrimitive: () => stringifyPrimitive,
|
|
855
|
+
uint8ArrayToBase64: () => uint8ArrayToBase64,
|
|
856
|
+
uint8ArrayToBase64url: () => uint8ArrayToBase64url,
|
|
857
|
+
uint8ArrayToHex: () => uint8ArrayToHex,
|
|
858
|
+
unwrapMessage: () => unwrapMessage
|
|
859
859
|
});
|
|
860
860
|
function assertEqual(val) {
|
|
861
861
|
return val;
|
|
@@ -1712,65 +1712,65 @@ var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
|
1712
1712
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
1713
1713
|
var exports_regexes = {};
|
|
1714
1714
|
__export(exports_regexes, {
|
|
1715
|
-
|
|
1716
|
-
uuid7: () => uuid7,
|
|
1717
|
-
uuid6: () => uuid6,
|
|
1718
|
-
uuid4: () => uuid4,
|
|
1719
|
-
uuid: () => uuid,
|
|
1720
|
-
uppercase: () => uppercase,
|
|
1721
|
-
unicodeEmail: () => unicodeEmail,
|
|
1722
|
-
undefined: () => _undefined,
|
|
1723
|
-
ulid: () => ulid,
|
|
1724
|
-
time: () => time,
|
|
1725
|
-
string: () => string,
|
|
1726
|
-
sha512_hex: () => sha512_hex,
|
|
1727
|
-
sha512_base64url: () => sha512_base64url,
|
|
1728
|
-
sha512_base64: () => sha512_base64,
|
|
1729
|
-
sha384_hex: () => sha384_hex,
|
|
1730
|
-
sha384_base64url: () => sha384_base64url,
|
|
1731
|
-
sha384_base64: () => sha384_base64,
|
|
1732
|
-
sha256_hex: () => sha256_hex,
|
|
1733
|
-
sha256_base64url: () => sha256_base64url,
|
|
1734
|
-
sha256_base64: () => sha256_base64,
|
|
1735
|
-
sha1_hex: () => sha1_hex,
|
|
1736
|
-
sha1_base64url: () => sha1_base64url,
|
|
1737
|
-
sha1_base64: () => sha1_base64,
|
|
1738
|
-
rfc5322Email: () => rfc5322Email,
|
|
1739
|
-
number: () => number,
|
|
1740
|
-
null: () => _null,
|
|
1741
|
-
nanoid: () => nanoid,
|
|
1742
|
-
md5_hex: () => md5_hex,
|
|
1743
|
-
md5_base64url: () => md5_base64url,
|
|
1744
|
-
md5_base64: () => md5_base64,
|
|
1745
|
-
mac: () => mac,
|
|
1746
|
-
lowercase: () => lowercase,
|
|
1747
|
-
ksuid: () => ksuid,
|
|
1748
|
-
ipv6: () => ipv6,
|
|
1749
|
-
ipv4: () => ipv4,
|
|
1750
|
-
integer: () => integer,
|
|
1751
|
-
idnEmail: () => idnEmail,
|
|
1752
|
-
httpProtocol: () => httpProtocol,
|
|
1753
|
-
html5Email: () => html5Email,
|
|
1754
|
-
hostname: () => hostname,
|
|
1755
|
-
hex: () => hex,
|
|
1756
|
-
guid: () => guid,
|
|
1757
|
-
extendedDuration: () => extendedDuration,
|
|
1758
|
-
emoji: () => emoji,
|
|
1759
|
-
email: () => email,
|
|
1760
|
-
e164: () => e164,
|
|
1761
|
-
duration: () => duration,
|
|
1762
|
-
domain: () => domain,
|
|
1763
|
-
datetime: () => datetime,
|
|
1764
|
-
date: () => date,
|
|
1765
|
-
cuid2: () => cuid2,
|
|
1766
|
-
cuid: () => cuid,
|
|
1767
|
-
cidrv6: () => cidrv6,
|
|
1768
|
-
cidrv4: () => cidrv4,
|
|
1769
|
-
browserEmail: () => browserEmail,
|
|
1770
|
-
boolean: () => boolean,
|
|
1771
|
-
bigint: () => bigint,
|
|
1715
|
+
base64: () => base64,
|
|
1772
1716
|
base64url: () => base64url,
|
|
1773
|
-
|
|
1717
|
+
bigint: () => bigint,
|
|
1718
|
+
boolean: () => boolean,
|
|
1719
|
+
browserEmail: () => browserEmail,
|
|
1720
|
+
cidrv4: () => cidrv4,
|
|
1721
|
+
cidrv6: () => cidrv6,
|
|
1722
|
+
cuid: () => cuid,
|
|
1723
|
+
cuid2: () => cuid2,
|
|
1724
|
+
date: () => date,
|
|
1725
|
+
datetime: () => datetime,
|
|
1726
|
+
domain: () => domain,
|
|
1727
|
+
duration: () => duration,
|
|
1728
|
+
e164: () => e164,
|
|
1729
|
+
email: () => email,
|
|
1730
|
+
emoji: () => emoji,
|
|
1731
|
+
extendedDuration: () => extendedDuration,
|
|
1732
|
+
guid: () => guid,
|
|
1733
|
+
hex: () => hex,
|
|
1734
|
+
hostname: () => hostname,
|
|
1735
|
+
html5Email: () => html5Email,
|
|
1736
|
+
httpProtocol: () => httpProtocol,
|
|
1737
|
+
idnEmail: () => idnEmail,
|
|
1738
|
+
integer: () => integer,
|
|
1739
|
+
ipv4: () => ipv4,
|
|
1740
|
+
ipv6: () => ipv6,
|
|
1741
|
+
ksuid: () => ksuid,
|
|
1742
|
+
lowercase: () => lowercase,
|
|
1743
|
+
mac: () => mac,
|
|
1744
|
+
md5_base64: () => md5_base64,
|
|
1745
|
+
md5_base64url: () => md5_base64url,
|
|
1746
|
+
md5_hex: () => md5_hex,
|
|
1747
|
+
nanoid: () => nanoid,
|
|
1748
|
+
null: () => _null,
|
|
1749
|
+
number: () => number,
|
|
1750
|
+
rfc5322Email: () => rfc5322Email,
|
|
1751
|
+
sha1_base64: () => sha1_base64,
|
|
1752
|
+
sha1_base64url: () => sha1_base64url,
|
|
1753
|
+
sha1_hex: () => sha1_hex,
|
|
1754
|
+
sha256_base64: () => sha256_base64,
|
|
1755
|
+
sha256_base64url: () => sha256_base64url,
|
|
1756
|
+
sha256_hex: () => sha256_hex,
|
|
1757
|
+
sha384_base64: () => sha384_base64,
|
|
1758
|
+
sha384_base64url: () => sha384_base64url,
|
|
1759
|
+
sha384_hex: () => sha384_hex,
|
|
1760
|
+
sha512_base64: () => sha512_base64,
|
|
1761
|
+
sha512_base64url: () => sha512_base64url,
|
|
1762
|
+
sha512_hex: () => sha512_hex,
|
|
1763
|
+
string: () => string,
|
|
1764
|
+
time: () => time,
|
|
1765
|
+
ulid: () => ulid,
|
|
1766
|
+
undefined: () => _undefined,
|
|
1767
|
+
unicodeEmail: () => unicodeEmail,
|
|
1768
|
+
uppercase: () => uppercase,
|
|
1769
|
+
uuid: () => uuid,
|
|
1770
|
+
uuid4: () => uuid4,
|
|
1771
|
+
uuid6: () => uuid6,
|
|
1772
|
+
uuid7: () => uuid7,
|
|
1773
|
+
xid: () => xid
|
|
1774
1774
|
});
|
|
1775
1775
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
1776
1776
|
var cuid2 = /^[0-9a-z]+$/;
|
|
@@ -4547,58 +4547,58 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
4547
4547
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/index.js
|
|
4548
4548
|
var exports_locales = {};
|
|
4549
4549
|
__export(exports_locales, {
|
|
4550
|
-
|
|
4551
|
-
zhCN: () => zh_CN_default,
|
|
4552
|
-
yo: () => yo_default,
|
|
4553
|
-
vi: () => vi_default,
|
|
4554
|
-
uz: () => uz_default,
|
|
4555
|
-
ur: () => ur_default,
|
|
4556
|
-
uk: () => uk_default,
|
|
4557
|
-
ua: () => ua_default,
|
|
4558
|
-
tr: () => tr_default,
|
|
4559
|
-
th: () => th_default,
|
|
4560
|
-
ta: () => ta_default,
|
|
4561
|
-
sv: () => sv_default,
|
|
4562
|
-
sl: () => sl_default,
|
|
4563
|
-
ru: () => ru_default,
|
|
4564
|
-
ro: () => ro_default,
|
|
4565
|
-
pt: () => pt_default,
|
|
4566
|
-
ps: () => ps_default,
|
|
4567
|
-
pl: () => pl_default,
|
|
4568
|
-
ota: () => ota_default,
|
|
4569
|
-
no: () => no_default,
|
|
4570
|
-
nl: () => nl_default,
|
|
4571
|
-
ms: () => ms_default,
|
|
4572
|
-
mk: () => mk_default,
|
|
4573
|
-
lt: () => lt_default,
|
|
4574
|
-
ko: () => ko_default,
|
|
4575
|
-
km: () => km_default,
|
|
4576
|
-
kh: () => kh_default,
|
|
4577
|
-
ka: () => ka_default,
|
|
4578
|
-
ja: () => ja_default,
|
|
4579
|
-
it: () => it_default,
|
|
4580
|
-
is: () => is_default,
|
|
4581
|
-
id: () => id_default,
|
|
4582
|
-
hy: () => hy_default,
|
|
4583
|
-
hu: () => hu_default,
|
|
4584
|
-
hr: () => hr_default,
|
|
4585
|
-
he: () => he_default,
|
|
4586
|
-
frCA: () => fr_CA_default,
|
|
4587
|
-
fr: () => fr_default,
|
|
4588
|
-
fi: () => fi_default,
|
|
4589
|
-
fa: () => fa_default,
|
|
4590
|
-
es: () => es_default,
|
|
4591
|
-
eo: () => eo_default,
|
|
4592
|
-
en: () => en_default,
|
|
4593
|
-
el: () => el_default,
|
|
4594
|
-
de: () => de_default,
|
|
4595
|
-
da: () => da_default,
|
|
4596
|
-
cs: () => cs_default,
|
|
4597
|
-
ca: () => ca_default,
|
|
4598
|
-
bg: () => bg_default,
|
|
4599
|
-
be: () => be_default,
|
|
4550
|
+
ar: () => ar_default,
|
|
4600
4551
|
az: () => az_default,
|
|
4601
|
-
|
|
4552
|
+
be: () => be_default,
|
|
4553
|
+
bg: () => bg_default,
|
|
4554
|
+
ca: () => ca_default,
|
|
4555
|
+
cs: () => cs_default,
|
|
4556
|
+
da: () => da_default,
|
|
4557
|
+
de: () => de_default,
|
|
4558
|
+
el: () => el_default,
|
|
4559
|
+
en: () => en_default,
|
|
4560
|
+
eo: () => eo_default,
|
|
4561
|
+
es: () => es_default,
|
|
4562
|
+
fa: () => fa_default,
|
|
4563
|
+
fi: () => fi_default,
|
|
4564
|
+
fr: () => fr_default,
|
|
4565
|
+
frCA: () => fr_CA_default,
|
|
4566
|
+
he: () => he_default,
|
|
4567
|
+
hr: () => hr_default,
|
|
4568
|
+
hu: () => hu_default,
|
|
4569
|
+
hy: () => hy_default,
|
|
4570
|
+
id: () => id_default,
|
|
4571
|
+
is: () => is_default,
|
|
4572
|
+
it: () => it_default,
|
|
4573
|
+
ja: () => ja_default,
|
|
4574
|
+
ka: () => ka_default,
|
|
4575
|
+
kh: () => kh_default,
|
|
4576
|
+
km: () => km_default,
|
|
4577
|
+
ko: () => ko_default,
|
|
4578
|
+
lt: () => lt_default,
|
|
4579
|
+
mk: () => mk_default,
|
|
4580
|
+
ms: () => ms_default,
|
|
4581
|
+
nl: () => nl_default,
|
|
4582
|
+
no: () => no_default,
|
|
4583
|
+
ota: () => ota_default,
|
|
4584
|
+
pl: () => pl_default,
|
|
4585
|
+
ps: () => ps_default,
|
|
4586
|
+
pt: () => pt_default,
|
|
4587
|
+
ro: () => ro_default,
|
|
4588
|
+
ru: () => ru_default,
|
|
4589
|
+
sl: () => sl_default,
|
|
4590
|
+
sv: () => sv_default,
|
|
4591
|
+
ta: () => ta_default,
|
|
4592
|
+
th: () => th_default,
|
|
4593
|
+
tr: () => tr_default,
|
|
4594
|
+
ua: () => ua_default,
|
|
4595
|
+
uk: () => uk_default,
|
|
4596
|
+
ur: () => ur_default,
|
|
4597
|
+
uz: () => uz_default,
|
|
4598
|
+
vi: () => vi_default,
|
|
4599
|
+
yo: () => yo_default,
|
|
4600
|
+
zhCN: () => zh_CN_default,
|
|
4601
|
+
zhTW: () => zh_TW_default
|
|
4602
4602
|
});
|
|
4603
4603
|
|
|
4604
4604
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/locales/ar.js
|
|
@@ -12369,219 +12369,219 @@ var exports_json_schema = {};
|
|
|
12369
12369
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
12370
12370
|
var exports_schemas2 = {};
|
|
12371
12371
|
__export(exports_schemas2, {
|
|
12372
|
-
|
|
12373
|
-
xid: () => xid2,
|
|
12374
|
-
void: () => _void2,
|
|
12375
|
-
uuidv7: () => uuidv7,
|
|
12376
|
-
uuidv6: () => uuidv6,
|
|
12377
|
-
uuidv4: () => uuidv4,
|
|
12378
|
-
uuid: () => uuid2,
|
|
12379
|
-
url: () => url,
|
|
12380
|
-
unknown: () => unknown,
|
|
12381
|
-
union: () => union,
|
|
12382
|
-
undefined: () => _undefined3,
|
|
12383
|
-
ulid: () => ulid2,
|
|
12384
|
-
uint64: () => uint64,
|
|
12385
|
-
uint32: () => uint32,
|
|
12386
|
-
tuple: () => tuple,
|
|
12387
|
-
transform: () => transform,
|
|
12388
|
-
templateLiteral: () => templateLiteral,
|
|
12389
|
-
symbol: () => symbol,
|
|
12390
|
-
superRefine: () => superRefine,
|
|
12391
|
-
success: () => success,
|
|
12392
|
-
stringbool: () => stringbool,
|
|
12393
|
-
stringFormat: () => stringFormat,
|
|
12394
|
-
string: () => string2,
|
|
12395
|
-
strictObject: () => strictObject,
|
|
12396
|
-
set: () => set,
|
|
12397
|
-
refine: () => refine,
|
|
12398
|
-
record: () => record,
|
|
12399
|
-
readonly: () => readonly,
|
|
12400
|
-
promise: () => promise,
|
|
12401
|
-
preprocess: () => preprocess,
|
|
12402
|
-
prefault: () => prefault,
|
|
12403
|
-
pipe: () => pipe,
|
|
12404
|
-
partialRecord: () => partialRecord,
|
|
12405
|
-
optional: () => optional,
|
|
12406
|
-
object: () => object,
|
|
12407
|
-
number: () => number2,
|
|
12408
|
-
nullish: () => nullish2,
|
|
12409
|
-
nullable: () => nullable,
|
|
12410
|
-
null: () => _null3,
|
|
12411
|
-
nonoptional: () => nonoptional,
|
|
12412
|
-
never: () => never,
|
|
12413
|
-
nativeEnum: () => nativeEnum,
|
|
12414
|
-
nanoid: () => nanoid2,
|
|
12415
|
-
nan: () => nan,
|
|
12416
|
-
meta: () => meta2,
|
|
12417
|
-
map: () => map,
|
|
12418
|
-
mac: () => mac2,
|
|
12419
|
-
looseRecord: () => looseRecord,
|
|
12420
|
-
looseObject: () => looseObject,
|
|
12421
|
-
literal: () => literal,
|
|
12422
|
-
lazy: () => lazy,
|
|
12423
|
-
ksuid: () => ksuid2,
|
|
12424
|
-
keyof: () => keyof,
|
|
12425
|
-
jwt: () => jwt,
|
|
12426
|
-
json: () => json,
|
|
12427
|
-
ipv6: () => ipv62,
|
|
12428
|
-
ipv4: () => ipv42,
|
|
12429
|
-
invertCodec: () => invertCodec,
|
|
12430
|
-
intersection: () => intersection,
|
|
12431
|
-
int64: () => int64,
|
|
12432
|
-
int32: () => int32,
|
|
12433
|
-
int: () => int,
|
|
12434
|
-
instanceof: () => _instanceof,
|
|
12435
|
-
httpUrl: () => httpUrl,
|
|
12436
|
-
hostname: () => hostname2,
|
|
12437
|
-
hex: () => hex2,
|
|
12438
|
-
hash: () => hash,
|
|
12439
|
-
guid: () => guid2,
|
|
12440
|
-
function: () => _function,
|
|
12441
|
-
float64: () => float64,
|
|
12442
|
-
float32: () => float32,
|
|
12443
|
-
file: () => file,
|
|
12444
|
-
exactOptional: () => exactOptional,
|
|
12445
|
-
enum: () => _enum2,
|
|
12446
|
-
emoji: () => emoji2,
|
|
12447
|
-
email: () => email2,
|
|
12448
|
-
e164: () => e1642,
|
|
12449
|
-
discriminatedUnion: () => discriminatedUnion,
|
|
12450
|
-
describe: () => describe2,
|
|
12451
|
-
date: () => date3,
|
|
12452
|
-
custom: () => custom,
|
|
12453
|
-
cuid2: () => cuid22,
|
|
12454
|
-
cuid: () => cuid3,
|
|
12455
|
-
codec: () => codec,
|
|
12456
|
-
cidrv6: () => cidrv62,
|
|
12457
|
-
cidrv4: () => cidrv42,
|
|
12458
|
-
check: () => check,
|
|
12459
|
-
catch: () => _catch2,
|
|
12460
|
-
boolean: () => boolean2,
|
|
12461
|
-
bigint: () => bigint2,
|
|
12462
|
-
base64url: () => base64url2,
|
|
12463
|
-
base64: () => base642,
|
|
12464
|
-
array: () => array,
|
|
12465
|
-
any: () => any,
|
|
12466
|
-
_function: () => _function,
|
|
12467
|
-
_default: () => _default2,
|
|
12468
|
-
_ZodString: () => _ZodString,
|
|
12469
|
-
ZodXor: () => ZodXor,
|
|
12470
|
-
ZodXID: () => ZodXID,
|
|
12471
|
-
ZodVoid: () => ZodVoid,
|
|
12472
|
-
ZodUnknown: () => ZodUnknown,
|
|
12473
|
-
ZodUnion: () => ZodUnion,
|
|
12474
|
-
ZodUndefined: () => ZodUndefined,
|
|
12475
|
-
ZodUUID: () => ZodUUID,
|
|
12476
|
-
ZodURL: () => ZodURL,
|
|
12477
|
-
ZodULID: () => ZodULID,
|
|
12478
|
-
ZodType: () => ZodType,
|
|
12479
|
-
ZodTuple: () => ZodTuple,
|
|
12480
|
-
ZodTransform: () => ZodTransform,
|
|
12481
|
-
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
12482
|
-
ZodSymbol: () => ZodSymbol,
|
|
12483
|
-
ZodSuccess: () => ZodSuccess,
|
|
12484
|
-
ZodStringFormat: () => ZodStringFormat,
|
|
12485
|
-
ZodString: () => ZodString,
|
|
12486
|
-
ZodSet: () => ZodSet,
|
|
12487
|
-
ZodRecord: () => ZodRecord,
|
|
12488
|
-
ZodReadonly: () => ZodReadonly,
|
|
12489
|
-
ZodPromise: () => ZodPromise,
|
|
12490
|
-
ZodPreprocess: () => ZodPreprocess,
|
|
12491
|
-
ZodPrefault: () => ZodPrefault,
|
|
12492
|
-
ZodPipe: () => ZodPipe,
|
|
12493
|
-
ZodOptional: () => ZodOptional,
|
|
12494
|
-
ZodObject: () => ZodObject,
|
|
12495
|
-
ZodNumberFormat: () => ZodNumberFormat,
|
|
12496
|
-
ZodNumber: () => ZodNumber,
|
|
12497
|
-
ZodNullable: () => ZodNullable,
|
|
12498
|
-
ZodNull: () => ZodNull,
|
|
12499
|
-
ZodNonOptional: () => ZodNonOptional,
|
|
12500
|
-
ZodNever: () => ZodNever,
|
|
12501
|
-
ZodNanoID: () => ZodNanoID,
|
|
12502
|
-
ZodNaN: () => ZodNaN,
|
|
12503
|
-
ZodMap: () => ZodMap,
|
|
12504
|
-
ZodMAC: () => ZodMAC,
|
|
12505
|
-
ZodLiteral: () => ZodLiteral,
|
|
12506
|
-
ZodLazy: () => ZodLazy,
|
|
12507
|
-
ZodKSUID: () => ZodKSUID,
|
|
12508
|
-
ZodJWT: () => ZodJWT,
|
|
12509
|
-
ZodIntersection: () => ZodIntersection,
|
|
12510
|
-
ZodIPv6: () => ZodIPv6,
|
|
12511
|
-
ZodIPv4: () => ZodIPv4,
|
|
12512
|
-
ZodGUID: () => ZodGUID,
|
|
12513
|
-
ZodFunction: () => ZodFunction,
|
|
12514
|
-
ZodFile: () => ZodFile,
|
|
12515
|
-
ZodExactOptional: () => ZodExactOptional,
|
|
12516
|
-
ZodEnum: () => ZodEnum,
|
|
12517
|
-
ZodEmoji: () => ZodEmoji,
|
|
12518
|
-
ZodEmail: () => ZodEmail,
|
|
12519
|
-
ZodE164: () => ZodE164,
|
|
12520
|
-
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
12521
|
-
ZodDefault: () => ZodDefault,
|
|
12522
|
-
ZodDate: () => ZodDate,
|
|
12523
|
-
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
12524
|
-
ZodCustom: () => ZodCustom,
|
|
12525
|
-
ZodCodec: () => ZodCodec,
|
|
12526
|
-
ZodCatch: () => ZodCatch,
|
|
12527
|
-
ZodCUID2: () => ZodCUID2,
|
|
12528
|
-
ZodCUID: () => ZodCUID,
|
|
12529
|
-
ZodCIDRv6: () => ZodCIDRv6,
|
|
12530
|
-
ZodCIDRv4: () => ZodCIDRv4,
|
|
12531
|
-
ZodBoolean: () => ZodBoolean,
|
|
12532
|
-
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
12533
|
-
ZodBigInt: () => ZodBigInt,
|
|
12534
|
-
ZodBase64URL: () => ZodBase64URL,
|
|
12535
|
-
ZodBase64: () => ZodBase64,
|
|
12372
|
+
ZodAny: () => ZodAny,
|
|
12536
12373
|
ZodArray: () => ZodArray,
|
|
12537
|
-
|
|
12374
|
+
ZodBase64: () => ZodBase64,
|
|
12375
|
+
ZodBase64URL: () => ZodBase64URL,
|
|
12376
|
+
ZodBigInt: () => ZodBigInt,
|
|
12377
|
+
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
12378
|
+
ZodBoolean: () => ZodBoolean,
|
|
12379
|
+
ZodCIDRv4: () => ZodCIDRv4,
|
|
12380
|
+
ZodCIDRv6: () => ZodCIDRv6,
|
|
12381
|
+
ZodCUID: () => ZodCUID,
|
|
12382
|
+
ZodCUID2: () => ZodCUID2,
|
|
12383
|
+
ZodCatch: () => ZodCatch,
|
|
12384
|
+
ZodCodec: () => ZodCodec,
|
|
12385
|
+
ZodCustom: () => ZodCustom,
|
|
12386
|
+
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
12387
|
+
ZodDate: () => ZodDate,
|
|
12388
|
+
ZodDefault: () => ZodDefault,
|
|
12389
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
12390
|
+
ZodE164: () => ZodE164,
|
|
12391
|
+
ZodEmail: () => ZodEmail,
|
|
12392
|
+
ZodEmoji: () => ZodEmoji,
|
|
12393
|
+
ZodEnum: () => ZodEnum,
|
|
12394
|
+
ZodExactOptional: () => ZodExactOptional,
|
|
12395
|
+
ZodFile: () => ZodFile,
|
|
12396
|
+
ZodFunction: () => ZodFunction,
|
|
12397
|
+
ZodGUID: () => ZodGUID,
|
|
12398
|
+
ZodIPv4: () => ZodIPv4,
|
|
12399
|
+
ZodIPv6: () => ZodIPv6,
|
|
12400
|
+
ZodIntersection: () => ZodIntersection,
|
|
12401
|
+
ZodJWT: () => ZodJWT,
|
|
12402
|
+
ZodKSUID: () => ZodKSUID,
|
|
12403
|
+
ZodLazy: () => ZodLazy,
|
|
12404
|
+
ZodLiteral: () => ZodLiteral,
|
|
12405
|
+
ZodMAC: () => ZodMAC,
|
|
12406
|
+
ZodMap: () => ZodMap,
|
|
12407
|
+
ZodNaN: () => ZodNaN,
|
|
12408
|
+
ZodNanoID: () => ZodNanoID,
|
|
12409
|
+
ZodNever: () => ZodNever,
|
|
12410
|
+
ZodNonOptional: () => ZodNonOptional,
|
|
12411
|
+
ZodNull: () => ZodNull,
|
|
12412
|
+
ZodNullable: () => ZodNullable,
|
|
12413
|
+
ZodNumber: () => ZodNumber,
|
|
12414
|
+
ZodNumberFormat: () => ZodNumberFormat,
|
|
12415
|
+
ZodObject: () => ZodObject,
|
|
12416
|
+
ZodOptional: () => ZodOptional,
|
|
12417
|
+
ZodPipe: () => ZodPipe,
|
|
12418
|
+
ZodPrefault: () => ZodPrefault,
|
|
12419
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
12420
|
+
ZodPromise: () => ZodPromise,
|
|
12421
|
+
ZodReadonly: () => ZodReadonly,
|
|
12422
|
+
ZodRecord: () => ZodRecord,
|
|
12423
|
+
ZodSet: () => ZodSet,
|
|
12424
|
+
ZodString: () => ZodString,
|
|
12425
|
+
ZodStringFormat: () => ZodStringFormat,
|
|
12426
|
+
ZodSuccess: () => ZodSuccess,
|
|
12427
|
+
ZodSymbol: () => ZodSymbol,
|
|
12428
|
+
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
12429
|
+
ZodTransform: () => ZodTransform,
|
|
12430
|
+
ZodTuple: () => ZodTuple,
|
|
12431
|
+
ZodType: () => ZodType,
|
|
12432
|
+
ZodULID: () => ZodULID,
|
|
12433
|
+
ZodURL: () => ZodURL,
|
|
12434
|
+
ZodUUID: () => ZodUUID,
|
|
12435
|
+
ZodUndefined: () => ZodUndefined,
|
|
12436
|
+
ZodUnion: () => ZodUnion,
|
|
12437
|
+
ZodUnknown: () => ZodUnknown,
|
|
12438
|
+
ZodVoid: () => ZodVoid,
|
|
12439
|
+
ZodXID: () => ZodXID,
|
|
12440
|
+
ZodXor: () => ZodXor,
|
|
12441
|
+
_ZodString: () => _ZodString,
|
|
12442
|
+
_default: () => _default2,
|
|
12443
|
+
_function: () => _function,
|
|
12444
|
+
any: () => any,
|
|
12445
|
+
array: () => array,
|
|
12446
|
+
base64: () => base642,
|
|
12447
|
+
base64url: () => base64url2,
|
|
12448
|
+
bigint: () => bigint2,
|
|
12449
|
+
boolean: () => boolean2,
|
|
12450
|
+
catch: () => _catch2,
|
|
12451
|
+
check: () => check,
|
|
12452
|
+
cidrv4: () => cidrv42,
|
|
12453
|
+
cidrv6: () => cidrv62,
|
|
12454
|
+
codec: () => codec,
|
|
12455
|
+
cuid: () => cuid3,
|
|
12456
|
+
cuid2: () => cuid22,
|
|
12457
|
+
custom: () => custom,
|
|
12458
|
+
date: () => date3,
|
|
12459
|
+
describe: () => describe2,
|
|
12460
|
+
discriminatedUnion: () => discriminatedUnion,
|
|
12461
|
+
e164: () => e1642,
|
|
12462
|
+
email: () => email2,
|
|
12463
|
+
emoji: () => emoji2,
|
|
12464
|
+
enum: () => _enum2,
|
|
12465
|
+
exactOptional: () => exactOptional,
|
|
12466
|
+
file: () => file,
|
|
12467
|
+
float32: () => float32,
|
|
12468
|
+
float64: () => float64,
|
|
12469
|
+
function: () => _function,
|
|
12470
|
+
guid: () => guid2,
|
|
12471
|
+
hash: () => hash,
|
|
12472
|
+
hex: () => hex2,
|
|
12473
|
+
hostname: () => hostname2,
|
|
12474
|
+
httpUrl: () => httpUrl,
|
|
12475
|
+
instanceof: () => _instanceof,
|
|
12476
|
+
int: () => int,
|
|
12477
|
+
int32: () => int32,
|
|
12478
|
+
int64: () => int64,
|
|
12479
|
+
intersection: () => intersection,
|
|
12480
|
+
invertCodec: () => invertCodec,
|
|
12481
|
+
ipv4: () => ipv42,
|
|
12482
|
+
ipv6: () => ipv62,
|
|
12483
|
+
json: () => json,
|
|
12484
|
+
jwt: () => jwt,
|
|
12485
|
+
keyof: () => keyof,
|
|
12486
|
+
ksuid: () => ksuid2,
|
|
12487
|
+
lazy: () => lazy,
|
|
12488
|
+
literal: () => literal,
|
|
12489
|
+
looseObject: () => looseObject,
|
|
12490
|
+
looseRecord: () => looseRecord,
|
|
12491
|
+
mac: () => mac2,
|
|
12492
|
+
map: () => map,
|
|
12493
|
+
meta: () => meta2,
|
|
12494
|
+
nan: () => nan,
|
|
12495
|
+
nanoid: () => nanoid2,
|
|
12496
|
+
nativeEnum: () => nativeEnum,
|
|
12497
|
+
never: () => never,
|
|
12498
|
+
nonoptional: () => nonoptional,
|
|
12499
|
+
null: () => _null3,
|
|
12500
|
+
nullable: () => nullable,
|
|
12501
|
+
nullish: () => nullish2,
|
|
12502
|
+
number: () => number2,
|
|
12503
|
+
object: () => object,
|
|
12504
|
+
optional: () => optional,
|
|
12505
|
+
partialRecord: () => partialRecord,
|
|
12506
|
+
pipe: () => pipe,
|
|
12507
|
+
prefault: () => prefault,
|
|
12508
|
+
preprocess: () => preprocess,
|
|
12509
|
+
promise: () => promise,
|
|
12510
|
+
readonly: () => readonly,
|
|
12511
|
+
record: () => record,
|
|
12512
|
+
refine: () => refine,
|
|
12513
|
+
set: () => set,
|
|
12514
|
+
strictObject: () => strictObject,
|
|
12515
|
+
string: () => string2,
|
|
12516
|
+
stringFormat: () => stringFormat,
|
|
12517
|
+
stringbool: () => stringbool,
|
|
12518
|
+
success: () => success,
|
|
12519
|
+
superRefine: () => superRefine,
|
|
12520
|
+
symbol: () => symbol,
|
|
12521
|
+
templateLiteral: () => templateLiteral,
|
|
12522
|
+
transform: () => transform,
|
|
12523
|
+
tuple: () => tuple,
|
|
12524
|
+
uint32: () => uint32,
|
|
12525
|
+
uint64: () => uint64,
|
|
12526
|
+
ulid: () => ulid2,
|
|
12527
|
+
undefined: () => _undefined3,
|
|
12528
|
+
union: () => union,
|
|
12529
|
+
unknown: () => unknown,
|
|
12530
|
+
url: () => url,
|
|
12531
|
+
uuid: () => uuid2,
|
|
12532
|
+
uuidv4: () => uuidv4,
|
|
12533
|
+
uuidv6: () => uuidv6,
|
|
12534
|
+
uuidv7: () => uuidv7,
|
|
12535
|
+
void: () => _void2,
|
|
12536
|
+
xid: () => xid2,
|
|
12537
|
+
xor: () => xor
|
|
12538
12538
|
});
|
|
12539
12539
|
|
|
12540
12540
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/checks.js
|
|
12541
12541
|
var exports_checks2 = {};
|
|
12542
12542
|
__export(exports_checks2, {
|
|
12543
|
-
|
|
12544
|
-
trim: () => _trim,
|
|
12545
|
-
toUpperCase: () => _toUpperCase,
|
|
12546
|
-
toLowerCase: () => _toLowerCase,
|
|
12547
|
-
startsWith: () => _startsWith,
|
|
12548
|
-
slugify: () => _slugify,
|
|
12549
|
-
size: () => _size,
|
|
12550
|
-
regex: () => _regex,
|
|
12551
|
-
property: () => _property,
|
|
12552
|
-
positive: () => _positive,
|
|
12553
|
-
overwrite: () => _overwrite,
|
|
12554
|
-
normalize: () => _normalize,
|
|
12555
|
-
nonpositive: () => _nonpositive,
|
|
12556
|
-
nonnegative: () => _nonnegative,
|
|
12557
|
-
negative: () => _negative,
|
|
12558
|
-
multipleOf: () => _multipleOf,
|
|
12559
|
-
minSize: () => _minSize,
|
|
12560
|
-
minLength: () => _minLength,
|
|
12561
|
-
mime: () => _mime,
|
|
12562
|
-
maxSize: () => _maxSize,
|
|
12563
|
-
maxLength: () => _maxLength,
|
|
12564
|
-
lte: () => _lte,
|
|
12565
|
-
lt: () => _lt,
|
|
12566
|
-
lowercase: () => _lowercase,
|
|
12567
|
-
length: () => _length,
|
|
12568
|
-
includes: () => _includes,
|
|
12569
|
-
gte: () => _gte,
|
|
12543
|
+
endsWith: () => _endsWith,
|
|
12570
12544
|
gt: () => _gt,
|
|
12571
|
-
|
|
12545
|
+
gte: () => _gte,
|
|
12546
|
+
includes: () => _includes,
|
|
12547
|
+
length: () => _length,
|
|
12548
|
+
lowercase: () => _lowercase,
|
|
12549
|
+
lt: () => _lt,
|
|
12550
|
+
lte: () => _lte,
|
|
12551
|
+
maxLength: () => _maxLength,
|
|
12552
|
+
maxSize: () => _maxSize,
|
|
12553
|
+
mime: () => _mime,
|
|
12554
|
+
minLength: () => _minLength,
|
|
12555
|
+
minSize: () => _minSize,
|
|
12556
|
+
multipleOf: () => _multipleOf,
|
|
12557
|
+
negative: () => _negative,
|
|
12558
|
+
nonnegative: () => _nonnegative,
|
|
12559
|
+
nonpositive: () => _nonpositive,
|
|
12560
|
+
normalize: () => _normalize,
|
|
12561
|
+
overwrite: () => _overwrite,
|
|
12562
|
+
positive: () => _positive,
|
|
12563
|
+
property: () => _property,
|
|
12564
|
+
regex: () => _regex,
|
|
12565
|
+
size: () => _size,
|
|
12566
|
+
slugify: () => _slugify,
|
|
12567
|
+
startsWith: () => _startsWith,
|
|
12568
|
+
toLowerCase: () => _toLowerCase,
|
|
12569
|
+
toUpperCase: () => _toUpperCase,
|
|
12570
|
+
trim: () => _trim,
|
|
12571
|
+
uppercase: () => _uppercase
|
|
12572
12572
|
});
|
|
12573
12573
|
|
|
12574
12574
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
12575
12575
|
var exports_iso = {};
|
|
12576
12576
|
__export(exports_iso, {
|
|
12577
|
-
|
|
12578
|
-
duration: () => duration2,
|
|
12579
|
-
datetime: () => datetime2,
|
|
12580
|
-
date: () => date2,
|
|
12581
|
-
ZodISOTime: () => ZodISOTime,
|
|
12582
|
-
ZodISODuration: () => ZodISODuration,
|
|
12577
|
+
ZodISODate: () => ZodISODate,
|
|
12583
12578
|
ZodISODateTime: () => ZodISODateTime,
|
|
12584
|
-
|
|
12579
|
+
ZodISODuration: () => ZodISODuration,
|
|
12580
|
+
ZodISOTime: () => ZodISOTime,
|
|
12581
|
+
date: () => date2,
|
|
12582
|
+
datetime: () => datetime2,
|
|
12583
|
+
duration: () => duration2,
|
|
12584
|
+
time: () => time2
|
|
12585
12585
|
});
|
|
12586
12586
|
var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
12587
12587
|
$ZodISODateTime.init(inst, def);
|
|
@@ -14442,11 +14442,11 @@ function fromJSONSchema(schema, params) {
|
|
|
14442
14442
|
// ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
|
|
14443
14443
|
var exports_coerce = {};
|
|
14444
14444
|
__export(exports_coerce, {
|
|
14445
|
-
|
|
14446
|
-
number: () => number3,
|
|
14447
|
-
date: () => date4,
|
|
14445
|
+
bigint: () => bigint3,
|
|
14448
14446
|
boolean: () => boolean3,
|
|
14449
|
-
|
|
14447
|
+
date: () => date4,
|
|
14448
|
+
number: () => number3,
|
|
14449
|
+
string: () => string3
|
|
14450
14450
|
});
|
|
14451
14451
|
function string3(params) {
|
|
14452
14452
|
return _coercedString(ZodString, params);
|
|
@@ -14599,6 +14599,7 @@ var ConfigSchema = exports_external.object({
|
|
|
14599
14599
|
contextCharBudget: exports_external.number().int().default(800000),
|
|
14600
14600
|
accountsPerDayCeiling: exports_external.number().int().default(500),
|
|
14601
14601
|
authRatePerIpPerHour: exports_external.number().int().default(30),
|
|
14602
|
+
webBuyUrlRatePerProviderPerHour: exports_external.number().int().default(20),
|
|
14602
14603
|
tokenRatePerIpPerHour: exports_external.number().int().default(3600),
|
|
14603
14604
|
consentRatePerIpPerHour: exports_external.number().int().default(60),
|
|
14604
14605
|
adInlineTurnFrequency: exports_external.number().int().default(5),
|
|
@@ -14664,6 +14665,7 @@ function loadConfig(env = process.env) {
|
|
|
14664
14665
|
contextCharBudget: envNumber(env.CONTEXT_CHAR_BUDGET),
|
|
14665
14666
|
accountsPerDayCeiling: envNumber(env.ACCOUNTS_PER_DAY_CEILING),
|
|
14666
14667
|
authRatePerIpPerHour: envNumber(env.AUTH_RATE_PER_IP_PER_HOUR),
|
|
14668
|
+
webBuyUrlRatePerProviderPerHour: envNumber(env.WEB_BUY_URL_RATE_PER_PROVIDER_PER_HOUR),
|
|
14667
14669
|
tokenRatePerIpPerHour: envNumber(env.TOKEN_RATE_PER_IP_PER_HOUR),
|
|
14668
14670
|
consentRatePerIpPerHour: envNumber(env.CONSENT_RATE_PER_IP_PER_HOUR),
|
|
14669
14671
|
adInlineTurnFrequency: envNumber(env.AD_INLINE_TURN_FREQUENCY),
|
|
@@ -14832,19 +14834,21 @@ function renderErrorLine(message, theme) {
|
|
|
14832
14834
|
|
|
14833
14835
|
// ../pi-ads/src/banner.ts
|
|
14834
14836
|
var BANNER_WIDGET_ID = "freepi-ad";
|
|
14835
|
-
function createBannerRenderer() {
|
|
14837
|
+
function createBannerRenderer(opts = {}) {
|
|
14836
14838
|
let lastPostedToken;
|
|
14837
14839
|
return {
|
|
14838
14840
|
async render(deps, ctx, config3, columnsOverride) {
|
|
14839
14841
|
const ad = await fetchAdNext(deps, "banner");
|
|
14840
14842
|
if (!ad) {
|
|
14841
14843
|
ctx.ui.setWidget(BANNER_WIDGET_ID, undefined);
|
|
14844
|
+
opts.onBannerAd?.(undefined);
|
|
14842
14845
|
return;
|
|
14843
14846
|
}
|
|
14844
14847
|
const theme = ctx.ui.theme;
|
|
14845
14848
|
const columns = columnsOverride ?? process.stdout.columns ?? 80;
|
|
14846
14849
|
const lines = columns >= config3.adMinColumns ? renderAdCard(ad.creative, ad.click_url, theme, columns) : [renderPlainAdLine(ad.creative, ad.click_url, theme, columns)];
|
|
14847
14850
|
ctx.ui.setWidget(BANNER_WIDGET_ID, lines);
|
|
14851
|
+
opts.onBannerAd?.(ad.click_url);
|
|
14848
14852
|
if (lastPostedToken !== ad.click_token) {
|
|
14849
14853
|
lastPostedToken = ad.click_token;
|
|
14850
14854
|
await postImpression(deps, ad.ad_id, ad.click_token);
|
|
@@ -14975,7 +14979,7 @@ function createAdsExtension(opts) {
|
|
|
14975
14979
|
return {
|
|
14976
14980
|
name: "free-pi-ads",
|
|
14977
14981
|
factory(pi) {
|
|
14978
|
-
const banner = createBannerRenderer();
|
|
14982
|
+
const banner = createBannerRenderer({ onBannerAd: opts.onBannerAd });
|
|
14979
14983
|
const inline = createInlineRenderer();
|
|
14980
14984
|
let bannerInterval;
|
|
14981
14985
|
pi.on("session_start", async (_event, ctx) => {
|
|
@@ -15034,12 +15038,12 @@ function buildProviderConfig(baseUrl, jwt2, sessionId, models) {
|
|
|
15034
15038
|
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/system/memory/memory.mjs
|
|
15035
15039
|
var exports_memory = {};
|
|
15036
15040
|
__export(exports_memory, {
|
|
15037
|
-
|
|
15038
|
-
Metrics: () => Metrics,
|
|
15039
|
-
Discard: () => Discard,
|
|
15040
|
-
Create: () => Create,
|
|
15041
|
+
Assign: () => Assign,
|
|
15041
15042
|
Clone: () => Clone,
|
|
15042
|
-
|
|
15043
|
+
Create: () => Create,
|
|
15044
|
+
Discard: () => Discard,
|
|
15045
|
+
Metrics: () => Metrics,
|
|
15046
|
+
Update: () => Update
|
|
15043
15047
|
});
|
|
15044
15048
|
|
|
15045
15049
|
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/system/memory/metrics.mjs
|
|
@@ -15059,44 +15063,44 @@ function Assign(left, right) {
|
|
|
15059
15063
|
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/guard/guard.mjs
|
|
15060
15064
|
var exports_guard = {};
|
|
15061
15065
|
__export(exports_guard, {
|
|
15062
|
-
|
|
15063
|
-
Symbols: () => Symbols,
|
|
15064
|
-
SomeAll: () => SomeAll,
|
|
15065
|
-
Some: () => Some,
|
|
15066
|
-
ShiftLeft: () => ShiftLeft,
|
|
15067
|
-
Keys: () => Keys,
|
|
15068
|
-
IsValueLike: () => IsValueLike,
|
|
15069
|
-
IsUnsafePropertyKey: () => IsUnsafePropertyKey,
|
|
15070
|
-
IsUndefined: () => IsUndefined,
|
|
15071
|
-
IsSymbol: () => IsSymbol,
|
|
15072
|
-
IsString: () => IsString,
|
|
15073
|
-
IsObjectNotArray: () => IsObjectNotArray,
|
|
15074
|
-
IsObject: () => IsObject,
|
|
15075
|
-
IsNumber: () => IsNumber,
|
|
15076
|
-
IsNull: () => IsNull,
|
|
15077
|
-
IsMultipleOf: () => IsMultipleOf,
|
|
15078
|
-
IsMinLength: () => IsMinLength2,
|
|
15079
|
-
IsMaxLength: () => IsMaxLength2,
|
|
15080
|
-
IsLessThan: () => IsLessThan,
|
|
15081
|
-
IsLessEqualThan: () => IsLessEqualThan,
|
|
15082
|
-
IsInteger: () => IsInteger,
|
|
15083
|
-
IsGreaterThan: () => IsGreaterThan,
|
|
15084
|
-
IsGreaterEqualThan: () => IsGreaterEqualThan,
|
|
15085
|
-
IsFunction: () => IsFunction,
|
|
15086
|
-
IsEqual: () => IsEqual,
|
|
15087
|
-
IsDeepEqual: () => IsDeepEqual,
|
|
15088
|
-
IsConstructor: () => IsConstructor,
|
|
15089
|
-
IsClassInstance: () => IsClassInstance,
|
|
15090
|
-
IsBoolean: () => IsBoolean,
|
|
15091
|
-
IsBigInt: () => IsBigInt,
|
|
15092
|
-
IsArray: () => IsArray,
|
|
15093
|
-
HasPropertyKey: () => HasPropertyKey,
|
|
15094
|
-
GraphemeCount: () => GraphemeCount2,
|
|
15095
|
-
EveryAll: () => EveryAll,
|
|
15096
|
-
Every: () => Every,
|
|
15097
|
-
EntriesRegExp: () => EntriesRegExp,
|
|
15066
|
+
Counted: () => Counted,
|
|
15098
15067
|
Entries: () => Entries,
|
|
15099
|
-
|
|
15068
|
+
EntriesRegExp: () => EntriesRegExp,
|
|
15069
|
+
Every: () => Every,
|
|
15070
|
+
EveryAll: () => EveryAll,
|
|
15071
|
+
GraphemeCount: () => GraphemeCount2,
|
|
15072
|
+
HasPropertyKey: () => HasPropertyKey,
|
|
15073
|
+
IsArray: () => IsArray,
|
|
15074
|
+
IsBigInt: () => IsBigInt,
|
|
15075
|
+
IsBoolean: () => IsBoolean,
|
|
15076
|
+
IsClassInstance: () => IsClassInstance,
|
|
15077
|
+
IsConstructor: () => IsConstructor,
|
|
15078
|
+
IsDeepEqual: () => IsDeepEqual,
|
|
15079
|
+
IsEqual: () => IsEqual,
|
|
15080
|
+
IsFunction: () => IsFunction,
|
|
15081
|
+
IsGreaterEqualThan: () => IsGreaterEqualThan,
|
|
15082
|
+
IsGreaterThan: () => IsGreaterThan,
|
|
15083
|
+
IsInteger: () => IsInteger,
|
|
15084
|
+
IsLessEqualThan: () => IsLessEqualThan,
|
|
15085
|
+
IsLessThan: () => IsLessThan,
|
|
15086
|
+
IsMaxLength: () => IsMaxLength2,
|
|
15087
|
+
IsMinLength: () => IsMinLength2,
|
|
15088
|
+
IsMultipleOf: () => IsMultipleOf,
|
|
15089
|
+
IsNull: () => IsNull,
|
|
15090
|
+
IsNumber: () => IsNumber,
|
|
15091
|
+
IsObject: () => IsObject,
|
|
15092
|
+
IsObjectNotArray: () => IsObjectNotArray,
|
|
15093
|
+
IsString: () => IsString,
|
|
15094
|
+
IsSymbol: () => IsSymbol,
|
|
15095
|
+
IsUndefined: () => IsUndefined,
|
|
15096
|
+
IsUnsafePropertyKey: () => IsUnsafePropertyKey,
|
|
15097
|
+
IsValueLike: () => IsValueLike,
|
|
15098
|
+
Keys: () => Keys,
|
|
15099
|
+
ShiftLeft: () => ShiftLeft,
|
|
15100
|
+
Some: () => Some,
|
|
15101
|
+
SomeAll: () => SomeAll,
|
|
15102
|
+
Symbols: () => Symbols,
|
|
15103
|
+
Values: () => Values
|
|
15100
15104
|
});
|
|
15101
15105
|
|
|
15102
15106
|
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/guard/string.mjs
|
|
@@ -15361,39 +15365,39 @@ function Values(value) {
|
|
|
15361
15365
|
return Object.values(value);
|
|
15362
15366
|
}
|
|
15363
15367
|
function DeepEqualObject(left, right) {
|
|
15364
|
-
if (!IsObject(right))
|
|
15365
|
-
return false;
|
|
15366
|
-
const keys = Keys(left);
|
|
15367
|
-
return IsEqual(keys.length, Keys(right).length) && keys.every((key) => IsDeepEqual(left[key], right[key]));
|
|
15368
|
-
}
|
|
15369
|
-
function DeepEqualArray(left, right) {
|
|
15370
|
-
return IsArray(right) && IsEqual(left.length, right.length) && left.every((_, index) => IsDeepEqual(left[index], right[index]));
|
|
15371
|
-
}
|
|
15372
|
-
function IsDeepEqual(left, right) {
|
|
15373
|
-
return IsArray(left) ? DeepEqualArray(left, right) : IsObject(left) ? DeepEqualObject(left, right) : IsEqual(left, right);
|
|
15374
|
-
}
|
|
15375
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/guard/globals.mjs
|
|
15376
|
-
var exports_globals = {};
|
|
15377
|
-
__export(exports_globals, {
|
|
15378
|
-
|
|
15379
|
-
IsUint8Array: () => IsUint8Array,
|
|
15380
|
-
IsUint32Array: () => IsUint32Array,
|
|
15381
|
-
IsUint16Array: () => IsUint16Array,
|
|
15382
|
-
IsTypeArray: () => IsTypeArray,
|
|
15383
|
-
IsString: () => IsString2,
|
|
15384
|
-
IsSet: () => IsSet,
|
|
15385
|
-
IsRegExp: () => IsRegExp,
|
|
15386
|
-
IsNumber: () => IsNumber2,
|
|
15387
|
-
IsMap: () => IsMap,
|
|
15388
|
-
IsInt8Array: () => IsInt8Array,
|
|
15389
|
-
IsInt32Array: () => IsInt32Array,
|
|
15390
|
-
IsInt16Array: () => IsInt16Array,
|
|
15391
|
-
IsFloat64Array: () => IsFloat64Array,
|
|
15392
|
-
IsFloat32Array: () => IsFloat32Array,
|
|
15393
|
-
IsDate: () => IsDate,
|
|
15394
|
-
IsBoolean: () => IsBoolean2,
|
|
15368
|
+
if (!IsObject(right))
|
|
15369
|
+
return false;
|
|
15370
|
+
const keys = Keys(left);
|
|
15371
|
+
return IsEqual(keys.length, Keys(right).length) && keys.every((key) => IsDeepEqual(left[key], right[key]));
|
|
15372
|
+
}
|
|
15373
|
+
function DeepEqualArray(left, right) {
|
|
15374
|
+
return IsArray(right) && IsEqual(left.length, right.length) && left.every((_, index) => IsDeepEqual(left[index], right[index]));
|
|
15375
|
+
}
|
|
15376
|
+
function IsDeepEqual(left, right) {
|
|
15377
|
+
return IsArray(left) ? DeepEqualArray(left, right) : IsObject(left) ? DeepEqualObject(left, right) : IsEqual(left, right);
|
|
15378
|
+
}
|
|
15379
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/guard/globals.mjs
|
|
15380
|
+
var exports_globals = {};
|
|
15381
|
+
__export(exports_globals, {
|
|
15382
|
+
IsBigInt64Array: () => IsBigInt64Array,
|
|
15395
15383
|
IsBigUint64Array: () => IsBigUint64Array,
|
|
15396
|
-
|
|
15384
|
+
IsBoolean: () => IsBoolean2,
|
|
15385
|
+
IsDate: () => IsDate,
|
|
15386
|
+
IsFloat32Array: () => IsFloat32Array,
|
|
15387
|
+
IsFloat64Array: () => IsFloat64Array,
|
|
15388
|
+
IsInt16Array: () => IsInt16Array,
|
|
15389
|
+
IsInt32Array: () => IsInt32Array,
|
|
15390
|
+
IsInt8Array: () => IsInt8Array,
|
|
15391
|
+
IsMap: () => IsMap,
|
|
15392
|
+
IsNumber: () => IsNumber2,
|
|
15393
|
+
IsRegExp: () => IsRegExp,
|
|
15394
|
+
IsSet: () => IsSet,
|
|
15395
|
+
IsString: () => IsString2,
|
|
15396
|
+
IsTypeArray: () => IsTypeArray,
|
|
15397
|
+
IsUint16Array: () => IsUint16Array,
|
|
15398
|
+
IsUint32Array: () => IsUint32Array,
|
|
15399
|
+
IsUint8Array: () => IsUint8Array,
|
|
15400
|
+
IsUint8ClampedArray: () => IsUint8ClampedArray
|
|
15397
15401
|
});
|
|
15398
15402
|
function IsBoolean2(value) {
|
|
15399
15403
|
return value instanceof Boolean;
|
|
@@ -15514,9 +15518,9 @@ function Clone(value) {
|
|
|
15514
15518
|
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/system/settings/settings.mjs
|
|
15515
15519
|
var exports_settings = {};
|
|
15516
15520
|
__export(exports_settings, {
|
|
15517
|
-
|
|
15521
|
+
Get: () => Get,
|
|
15518
15522
|
Reset: () => Reset,
|
|
15519
|
-
|
|
15523
|
+
Set: () => Set2
|
|
15520
15524
|
});
|
|
15521
15525
|
var settings = {
|
|
15522
15526
|
immutableTypes: false,
|
|
@@ -17369,14 +17373,14 @@ function IsTemplateLiteral(value) {
|
|
|
17369
17373
|
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/extends/result.mjs
|
|
17370
17374
|
var exports_result = {};
|
|
17371
17375
|
__export(exports_result, {
|
|
17372
|
-
|
|
17373
|
-
IsExtendsUnion: () => IsExtendsUnion,
|
|
17374
|
-
IsExtendsTrueLike: () => IsExtendsTrueLike,
|
|
17375
|
-
IsExtendsTrue: () => IsExtendsTrue,
|
|
17376
|
-
IsExtendsFalse: () => IsExtendsFalse,
|
|
17377
|
-
ExtendsUnion: () => ExtendsUnion,
|
|
17376
|
+
ExtendsFalse: () => ExtendsFalse,
|
|
17378
17377
|
ExtendsTrue: () => ExtendsTrue,
|
|
17379
|
-
|
|
17378
|
+
ExtendsUnion: () => ExtendsUnion,
|
|
17379
|
+
IsExtendsFalse: () => IsExtendsFalse,
|
|
17380
|
+
IsExtendsTrue: () => IsExtendsTrue,
|
|
17381
|
+
IsExtendsTrueLike: () => IsExtendsTrueLike,
|
|
17382
|
+
IsExtendsUnion: () => IsExtendsUnion,
|
|
17383
|
+
Match: () => Match3
|
|
17380
17384
|
});
|
|
17381
17385
|
function ExtendsUnion(inferred) {
|
|
17382
17386
|
return exports_memory.Create({ ["~kind"]: "ExtendsUnion" }, { inferred });
|
|
@@ -19070,225 +19074,225 @@ function WithInstantiate(context, state, type, options) {
|
|
|
19070
19074
|
const instaniatedType = InstantiateType(context, state, type);
|
|
19071
19075
|
return WithAction(instaniatedType, options);
|
|
19072
19076
|
}
|
|
19073
|
-
|
|
19074
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/engine/rest/spread.mjs
|
|
19075
|
-
function SpreadElement(type) {
|
|
19076
|
-
const result = IsRest(type) ? IsTuple(type.items) ? RestSpread(type.items.items) : IsInfer(type.items) ? [type] : IsRef(type.items) ? [type] : [Never()] : [type];
|
|
19077
|
-
return result;
|
|
19078
|
-
}
|
|
19079
|
-
function RestSpread(types) {
|
|
19080
|
-
const result = types.reduce((result2, left) => {
|
|
19081
|
-
return [...result2, ...SpreadElement(left)];
|
|
19082
|
-
}, []);
|
|
19083
|
-
return result;
|
|
19084
|
-
}
|
|
19085
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/engine/instantiate.mjs
|
|
19086
|
-
function State(callstack, visited) {
|
|
19087
|
-
return { callstack, visited };
|
|
19088
|
-
}
|
|
19089
|
-
function CanInstantiate(types) {
|
|
19090
|
-
return exports_guard.ShiftLeft(types, (left, right) => IsRef(left) ? false : CanInstantiate(right), () => true);
|
|
19091
|
-
}
|
|
19092
|
-
function InstantiateProperties(context, state, properties2) {
|
|
19093
|
-
return exports_guard.Keys(properties2).reduce((result, key) => {
|
|
19094
|
-
return { ...result, [key]: InstantiateType(context, state, properties2[key]) };
|
|
19095
|
-
}, {});
|
|
19096
|
-
}
|
|
19097
|
-
function InstantiateElements(context, state, types) {
|
|
19098
|
-
const elements = InstantiateTypes(context, state, types);
|
|
19099
|
-
const result = RestSpread(elements);
|
|
19100
|
-
return result;
|
|
19101
|
-
}
|
|
19102
|
-
function InstantiateTypes(context, state, types) {
|
|
19103
|
-
return types.map((type) => InstantiateType(context, state, type));
|
|
19104
|
-
}
|
|
19105
|
-
function WithModifiers(type, instantiatedType) {
|
|
19106
|
-
const withOptional = IsOptional(type) ? AddOptionalAction(instantiatedType, {}) : instantiatedType;
|
|
19107
|
-
const withReadonly = IsReadonly(type) ? AddReadonlyAction(withOptional, {}) : withOptional;
|
|
19108
|
-
const withImmutable = IsImmutable(type) ? AddImmutableAction(withReadonly, {}) : withReadonly;
|
|
19109
|
-
return withImmutable;
|
|
19110
|
-
}
|
|
19111
|
-
function InstantiateDeferred(context, state, action, parameters, options) {
|
|
19112
|
-
return exports_guard.IsEqual(action, "AddImmutable") ? AddImmutableInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "RemoveImmutable") ? RemoveImmutableInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "AddReadonly") ? AddReadonlyInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "RemoveReadonly") ? RemoveReadonlyInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "AddOptional") ? AddOptionalInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "RemoveOptional") ? RemoveOptionalInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Capitalize") ? CapitalizeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Conditional") ? ConditionalInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : exports_guard.IsEqual(action, "ConstructorParameters") ? ConstructorParametersInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Evaluate") ? EvaluateInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Exclude") ? ExcludeInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Extract") ? ExtractInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Index") ? IndexInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "InstanceType") ? InstanceTypeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Interface") ? InterfaceInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "KeyOf") ? KeyOfInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Lowercase") ? LowercaseInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Mapped") ? MappedInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : exports_guard.IsEqual(action, "Module") ? ModuleInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "NonNullable") ? NonNullableInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Pick") ? PickInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Parameters") ? ParametersInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Partial") ? PartialInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Omit") ? OmitInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "ReadonlyObject") ? ReadonlyObjectInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Record") ? RecordInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Required") ? RequiredInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "ReturnType") ? ReturnTypeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "TemplateLiteral") ? TemplateLiteralInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Uncapitalize") ? UncapitalizeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Uppercase") ? UppercaseInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "With") ? WithInstantiate(context, state, parameters[0], parameters[1]) : Deferred(action, parameters, options);
|
|
19113
|
-
}
|
|
19114
|
-
function InstantiateImmediate(context, state, type) {
|
|
19115
|
-
const instantiatedType = IsRef(type) ? RefInstantiate(context, state, type, type.$ref) : IsArray2(type) ? _Array_(InstantiateType(context, state, type.items), ArrayOptions(type)) : IsCall(type) ? CallInstantiate(context, state, type.target, type.arguments) : IsConstructor2(type) ? Constructor(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.instanceType), ConstructorOptions(type)) : IsFunction2(type) ? _Function_(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.returnType), FunctionOptions(type)) : IsDependent(type) ? Dependent(InstantiateType(context, state, type.if), InstantiateType(context, state, type.then), InstantiateType(context, state, type.else), DependentOptions(type)) : IsIntersect(type) ? Intersect(InstantiateTypes(context, state, type.allOf), IntersectOptions(type)) : IsObject2(type) ? _Object_(InstantiateProperties(context, state, type.properties), ObjectOptions(type)) : IsRecord(type) ? RecordFromPattern(RecordPattern(type), InstantiateType(context, state, RecordValue(type))) : IsRest(type) ? Rest(InstantiateType(context, state, type.items)) : IsTuple(type) ? Tuple(InstantiateElements(context, state, type.items), TupleOptions(type)) : IsUnion(type) ? Union(InstantiateTypes(context, state, type.anyOf), UnionOptions(type)) : type;
|
|
19116
|
-
const withModifiers = WithModifiers(type, instantiatedType);
|
|
19117
|
-
return withModifiers;
|
|
19118
|
-
}
|
|
19119
|
-
function InstantiateType(context, state, type) {
|
|
19120
|
-
const result = IsDeferred(type) ? InstantiateDeferred(context, state, type.action, type.parameters, type.options) : InstantiateImmediate(context, state, type);
|
|
19121
|
-
return result;
|
|
19122
|
-
}
|
|
19123
|
-
function Instantiate(context, type) {
|
|
19124
|
-
return InstantiateType(context, State([], []), type);
|
|
19125
|
-
}
|
|
19126
|
-
|
|
19127
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs
|
|
19128
|
-
function AddImmutableOperation(type) {
|
|
19129
|
-
return exports_memory.Update(type, { "~immutable": true }, {});
|
|
19130
|
-
}
|
|
19131
|
-
function AddImmutableAction(type, options) {
|
|
19132
|
-
const result = exports_memory.Update(AddImmutableOperation(type), {}, options);
|
|
19133
|
-
return result;
|
|
19134
|
-
}
|
|
19135
|
-
function AddImmutableInstantiate(context, state, type, options) {
|
|
19136
|
-
const instantiatedType = InstantiateType(context, state, type);
|
|
19137
|
-
return AddImmutableAction(instantiatedType, options);
|
|
19138
|
-
}
|
|
19139
|
-
|
|
19140
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/action/_add_immutable.mjs
|
|
19141
|
-
function AddImmutableDeferred(type, options = {}) {
|
|
19142
|
-
return Deferred("AddImmutable", [type], options);
|
|
19143
|
-
}
|
|
19144
|
-
function AddImmutable(type, options = {}) {
|
|
19145
|
-
return AddImmutableAction(type, options);
|
|
19146
|
-
}
|
|
19147
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/action/evaluate.mjs
|
|
19148
|
-
function EvaluateDeferred(type, options = {}) {
|
|
19149
|
-
return Deferred("Evaluate", [type], options);
|
|
19150
|
-
}
|
|
19151
|
-
function Evaluate(type, options = {}) {
|
|
19152
|
-
return EvaluateAction(type, options);
|
|
19153
|
-
}
|
|
19154
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/action/module.mjs
|
|
19155
|
-
function ModuleDeferred(declarations, options = {}) {
|
|
19156
|
-
return Deferred("Module", [declarations], options);
|
|
19157
|
-
}
|
|
19158
|
-
function Module2(declarations, options = {}) {
|
|
19159
|
-
return ModuleInstantiate({}, State([], []), declarations, options);
|
|
19160
|
-
}
|
|
19161
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/script/script.mjs
|
|
19162
|
-
function Script2(...args) {
|
|
19163
|
-
const [context, input, options] = exports_arguments.Match(args, {
|
|
19164
|
-
2: (script, options2) => exports_guard.IsString(script) ? [{}, script, options2] : [script, options2, {}],
|
|
19165
|
-
3: (context2, script, options2) => [context2, script, options2],
|
|
19166
|
-
1: (script) => [{}, script, {}]
|
|
19167
|
-
});
|
|
19168
|
-
const result = Script(input);
|
|
19169
|
-
const parsed = exports_guard.IsArray(result) && exports_guard.IsEqual(result.length, 2) ? InstantiateType(context, State([], []), result[0]) : Never();
|
|
19170
|
-
return exports_memory.Update(parsed, {}, options);
|
|
19171
|
-
}
|
|
19172
|
-
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/typebox.mjs
|
|
19173
|
-
var exports_typebox = {};
|
|
19174
|
-
__export(exports_typebox, {
|
|
19175
|
-
|
|
19176
|
-
Void: () => Void,
|
|
19177
|
-
Uppercase: () => Uppercase,
|
|
19178
|
-
Unsafe: () => Unsafe,
|
|
19179
|
-
Unknown: () => Unknown,
|
|
19180
|
-
Union: () => Union,
|
|
19181
|
-
Undefined: () => Undefined,
|
|
19182
|
-
Uncapitalize: () => Uncapitalize,
|
|
19183
|
-
Tuple: () => Tuple,
|
|
19184
|
-
This: () => This,
|
|
19185
|
-
TemplateLiteral: () => TemplateLiteral2,
|
|
19186
|
-
Symbol: () => Symbol2,
|
|
19187
|
-
String: () => String2,
|
|
19188
|
-
Script: () => Script2,
|
|
19189
|
-
ReturnType: () => ReturnType,
|
|
19190
|
-
Rest: () => Rest,
|
|
19191
|
-
Required: () => Required,
|
|
19192
|
-
Refine: () => Refine,
|
|
19193
|
-
Ref: () => Ref,
|
|
19194
|
-
RecordValue: () => RecordValue,
|
|
19195
|
-
RecordPattern: () => RecordPattern,
|
|
19196
|
-
RecordKey: () => RecordKey,
|
|
19197
|
-
Record: () => Record,
|
|
19198
|
-
ReadonlyType: () => ReadonlyType,
|
|
19199
|
-
ReadonlyObject: () => ReadonlyObject,
|
|
19200
|
-
Readonly: () => Readonly,
|
|
19201
|
-
Pick: () => Pick,
|
|
19202
|
-
Partial: () => Partial,
|
|
19203
|
-
Parameters: () => Parameters,
|
|
19204
|
-
Parameter: () => Parameter,
|
|
19205
|
-
Optional: () => Optional,
|
|
19206
|
-
Omit: () => Omit,
|
|
19207
|
-
Object: () => _Object_,
|
|
19208
|
-
Number: () => Number2,
|
|
19209
|
-
Null: () => Null,
|
|
19210
|
-
NonNullable: () => NonNullable,
|
|
19211
|
-
Never: () => Never,
|
|
19212
|
-
Module: () => Module2,
|
|
19213
|
-
Mapped: () => Mapped,
|
|
19214
|
-
Lowercase: () => Lowercase,
|
|
19215
|
-
Literal: () => Literal,
|
|
19216
|
-
KeyOf: () => KeyOf2,
|
|
19217
|
-
IsVoid: () => IsVoid,
|
|
19218
|
-
IsUnsafe: () => IsUnsafe,
|
|
19219
|
-
IsUnknown: () => IsUnknown,
|
|
19220
|
-
IsUnion: () => IsUnion,
|
|
19221
|
-
IsUndefined: () => IsUndefined2,
|
|
19222
|
-
IsTuple: () => IsTuple,
|
|
19223
|
-
IsThis: () => IsThis,
|
|
19224
|
-
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
19225
|
-
IsSymbol: () => IsSymbol2,
|
|
19226
|
-
IsString: () => IsString3,
|
|
19227
|
-
IsSchema: () => IsSchema,
|
|
19228
|
-
IsRest: () => IsRest,
|
|
19229
|
-
IsRefine: () => IsRefine,
|
|
19230
|
-
IsRef: () => IsRef,
|
|
19231
|
-
IsRecord: () => IsRecord,
|
|
19232
|
-
IsReadonly: () => IsReadonly,
|
|
19233
|
-
IsParameter: () => IsParameter,
|
|
19234
|
-
IsOptional: () => IsOptional,
|
|
19235
|
-
IsObject: () => IsObject2,
|
|
19236
|
-
IsNumber: () => IsNumber3,
|
|
19237
|
-
IsNull: () => IsNull2,
|
|
19238
|
-
IsNever: () => IsNever,
|
|
19239
|
-
IsLiteral: () => IsLiteral,
|
|
19240
|
-
IsKind: () => IsKind,
|
|
19241
|
-
IsIntersect: () => IsIntersect,
|
|
19242
|
-
IsInteger: () => IsInteger2,
|
|
19243
|
-
IsInfer: () => IsInfer,
|
|
19244
|
-
IsImmutable: () => IsImmutable,
|
|
19245
|
-
IsIdentifier: () => IsIdentifier,
|
|
19246
|
-
IsGeneric: () => IsGeneric,
|
|
19247
|
-
IsFunction: () => IsFunction2,
|
|
19248
|
-
IsEnumValue: () => IsEnumValue,
|
|
19249
|
-
IsEnum: () => IsEnum,
|
|
19250
|
-
IsDependent: () => IsDependent,
|
|
19251
|
-
IsCyclic: () => IsCyclic,
|
|
19252
|
-
IsConstructor: () => IsConstructor2,
|
|
19253
|
-
IsCodec: () => IsCodec,
|
|
19254
|
-
IsCall: () => IsCall,
|
|
19255
|
-
IsBoolean: () => IsBoolean3,
|
|
19256
|
-
IsBigInt: () => IsBigInt2,
|
|
19257
|
-
IsArray: () => IsArray2,
|
|
19258
|
-
IsAny: () => IsAny,
|
|
19259
|
-
Intersect: () => Intersect,
|
|
19260
|
-
Interface: () => Interface,
|
|
19261
|
-
Integer: () => Integer,
|
|
19262
|
-
Instantiate: () => Instantiate,
|
|
19263
|
-
InstanceType: () => InstanceType,
|
|
19264
|
-
Infer: () => Infer,
|
|
19265
|
-
Index: () => Index,
|
|
19266
|
-
Immutable: () => Immutable,
|
|
19267
|
-
Identifier: () => Identifier,
|
|
19268
|
-
Generic: () => Generic,
|
|
19269
|
-
Function: () => _Function_,
|
|
19270
|
-
Extract: () => Extract,
|
|
19271
|
-
ExtendsResult: () => exports_result,
|
|
19272
|
-
Extends: () => Extends,
|
|
19273
|
-
Exclude: () => Exclude,
|
|
19274
|
-
Evaluate: () => Evaluate,
|
|
19275
|
-
Enum: () => Enum,
|
|
19276
|
-
EncodeBuilder: () => EncodeBuilder,
|
|
19277
|
-
Encode: () => Encode,
|
|
19278
|
-
Dependent: () => Dependent,
|
|
19279
|
-
DecodeBuilder: () => DecodeBuilder,
|
|
19280
|
-
Decode: () => Decode,
|
|
19281
|
-
Cyclic: () => Cyclic,
|
|
19282
|
-
ConstructorParameters: () => ConstructorParameters,
|
|
19283
|
-
Constructor: () => Constructor,
|
|
19284
|
-
Conditional: () => Conditional,
|
|
19285
|
-
Codec: () => Codec,
|
|
19286
|
-
Capitalize: () => Capitalize,
|
|
19287
|
-
Call: () => Call,
|
|
19288
|
-
Boolean: () => Boolean2,
|
|
19289
|
-
BigInt: () => BigInt2,
|
|
19077
|
+
|
|
19078
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/engine/rest/spread.mjs
|
|
19079
|
+
function SpreadElement(type) {
|
|
19080
|
+
const result = IsRest(type) ? IsTuple(type.items) ? RestSpread(type.items.items) : IsInfer(type.items) ? [type] : IsRef(type.items) ? [type] : [Never()] : [type];
|
|
19081
|
+
return result;
|
|
19082
|
+
}
|
|
19083
|
+
function RestSpread(types) {
|
|
19084
|
+
const result = types.reduce((result2, left) => {
|
|
19085
|
+
return [...result2, ...SpreadElement(left)];
|
|
19086
|
+
}, []);
|
|
19087
|
+
return result;
|
|
19088
|
+
}
|
|
19089
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/engine/instantiate.mjs
|
|
19090
|
+
function State(callstack, visited) {
|
|
19091
|
+
return { callstack, visited };
|
|
19092
|
+
}
|
|
19093
|
+
function CanInstantiate(types) {
|
|
19094
|
+
return exports_guard.ShiftLeft(types, (left, right) => IsRef(left) ? false : CanInstantiate(right), () => true);
|
|
19095
|
+
}
|
|
19096
|
+
function InstantiateProperties(context, state, properties2) {
|
|
19097
|
+
return exports_guard.Keys(properties2).reduce((result, key) => {
|
|
19098
|
+
return { ...result, [key]: InstantiateType(context, state, properties2[key]) };
|
|
19099
|
+
}, {});
|
|
19100
|
+
}
|
|
19101
|
+
function InstantiateElements(context, state, types) {
|
|
19102
|
+
const elements = InstantiateTypes(context, state, types);
|
|
19103
|
+
const result = RestSpread(elements);
|
|
19104
|
+
return result;
|
|
19105
|
+
}
|
|
19106
|
+
function InstantiateTypes(context, state, types) {
|
|
19107
|
+
return types.map((type) => InstantiateType(context, state, type));
|
|
19108
|
+
}
|
|
19109
|
+
function WithModifiers(type, instantiatedType) {
|
|
19110
|
+
const withOptional = IsOptional(type) ? AddOptionalAction(instantiatedType, {}) : instantiatedType;
|
|
19111
|
+
const withReadonly = IsReadonly(type) ? AddReadonlyAction(withOptional, {}) : withOptional;
|
|
19112
|
+
const withImmutable = IsImmutable(type) ? AddImmutableAction(withReadonly, {}) : withReadonly;
|
|
19113
|
+
return withImmutable;
|
|
19114
|
+
}
|
|
19115
|
+
function InstantiateDeferred(context, state, action, parameters, options) {
|
|
19116
|
+
return exports_guard.IsEqual(action, "AddImmutable") ? AddImmutableInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "RemoveImmutable") ? RemoveImmutableInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "AddReadonly") ? AddReadonlyInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "RemoveReadonly") ? RemoveReadonlyInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "AddOptional") ? AddOptionalInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "RemoveOptional") ? RemoveOptionalInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Capitalize") ? CapitalizeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Conditional") ? ConditionalInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : exports_guard.IsEqual(action, "ConstructorParameters") ? ConstructorParametersInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Evaluate") ? EvaluateInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Exclude") ? ExcludeInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Extract") ? ExtractInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Index") ? IndexInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "InstanceType") ? InstanceTypeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Interface") ? InterfaceInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "KeyOf") ? KeyOfInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Lowercase") ? LowercaseInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Mapped") ? MappedInstantiate(context, state, parameters[0], parameters[1], parameters[2], parameters[3], options) : exports_guard.IsEqual(action, "Module") ? ModuleInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "NonNullable") ? NonNullableInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Pick") ? PickInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Parameters") ? ParametersInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Partial") ? PartialInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Omit") ? OmitInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "ReadonlyObject") ? ReadonlyObjectInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Record") ? RecordInstantiate(context, state, parameters[0], parameters[1], options) : exports_guard.IsEqual(action, "Required") ? RequiredInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "ReturnType") ? ReturnTypeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "TemplateLiteral") ? TemplateLiteralInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Uncapitalize") ? UncapitalizeInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "Uppercase") ? UppercaseInstantiate(context, state, parameters[0], options) : exports_guard.IsEqual(action, "With") ? WithInstantiate(context, state, parameters[0], parameters[1]) : Deferred(action, parameters, options);
|
|
19117
|
+
}
|
|
19118
|
+
function InstantiateImmediate(context, state, type) {
|
|
19119
|
+
const instantiatedType = IsRef(type) ? RefInstantiate(context, state, type, type.$ref) : IsArray2(type) ? _Array_(InstantiateType(context, state, type.items), ArrayOptions(type)) : IsCall(type) ? CallInstantiate(context, state, type.target, type.arguments) : IsConstructor2(type) ? Constructor(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.instanceType), ConstructorOptions(type)) : IsFunction2(type) ? _Function_(InstantiateTypes(context, state, type.parameters), InstantiateType(context, state, type.returnType), FunctionOptions(type)) : IsDependent(type) ? Dependent(InstantiateType(context, state, type.if), InstantiateType(context, state, type.then), InstantiateType(context, state, type.else), DependentOptions(type)) : IsIntersect(type) ? Intersect(InstantiateTypes(context, state, type.allOf), IntersectOptions(type)) : IsObject2(type) ? _Object_(InstantiateProperties(context, state, type.properties), ObjectOptions(type)) : IsRecord(type) ? RecordFromPattern(RecordPattern(type), InstantiateType(context, state, RecordValue(type))) : IsRest(type) ? Rest(InstantiateType(context, state, type.items)) : IsTuple(type) ? Tuple(InstantiateElements(context, state, type.items), TupleOptions(type)) : IsUnion(type) ? Union(InstantiateTypes(context, state, type.anyOf), UnionOptions(type)) : type;
|
|
19120
|
+
const withModifiers = WithModifiers(type, instantiatedType);
|
|
19121
|
+
return withModifiers;
|
|
19122
|
+
}
|
|
19123
|
+
function InstantiateType(context, state, type) {
|
|
19124
|
+
const result = IsDeferred(type) ? InstantiateDeferred(context, state, type.action, type.parameters, type.options) : InstantiateImmediate(context, state, type);
|
|
19125
|
+
return result;
|
|
19126
|
+
}
|
|
19127
|
+
function Instantiate(context, type) {
|
|
19128
|
+
return InstantiateType(context, State([], []), type);
|
|
19129
|
+
}
|
|
19130
|
+
|
|
19131
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs
|
|
19132
|
+
function AddImmutableOperation(type) {
|
|
19133
|
+
return exports_memory.Update(type, { "~immutable": true }, {});
|
|
19134
|
+
}
|
|
19135
|
+
function AddImmutableAction(type, options) {
|
|
19136
|
+
const result = exports_memory.Update(AddImmutableOperation(type), {}, options);
|
|
19137
|
+
return result;
|
|
19138
|
+
}
|
|
19139
|
+
function AddImmutableInstantiate(context, state, type, options) {
|
|
19140
|
+
const instantiatedType = InstantiateType(context, state, type);
|
|
19141
|
+
return AddImmutableAction(instantiatedType, options);
|
|
19142
|
+
}
|
|
19143
|
+
|
|
19144
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/action/_add_immutable.mjs
|
|
19145
|
+
function AddImmutableDeferred(type, options = {}) {
|
|
19146
|
+
return Deferred("AddImmutable", [type], options);
|
|
19147
|
+
}
|
|
19148
|
+
function AddImmutable(type, options = {}) {
|
|
19149
|
+
return AddImmutableAction(type, options);
|
|
19150
|
+
}
|
|
19151
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/action/evaluate.mjs
|
|
19152
|
+
function EvaluateDeferred(type, options = {}) {
|
|
19153
|
+
return Deferred("Evaluate", [type], options);
|
|
19154
|
+
}
|
|
19155
|
+
function Evaluate(type, options = {}) {
|
|
19156
|
+
return EvaluateAction(type, options);
|
|
19157
|
+
}
|
|
19158
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/action/module.mjs
|
|
19159
|
+
function ModuleDeferred(declarations, options = {}) {
|
|
19160
|
+
return Deferred("Module", [declarations], options);
|
|
19161
|
+
}
|
|
19162
|
+
function Module2(declarations, options = {}) {
|
|
19163
|
+
return ModuleInstantiate({}, State([], []), declarations, options);
|
|
19164
|
+
}
|
|
19165
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/type/script/script.mjs
|
|
19166
|
+
function Script2(...args) {
|
|
19167
|
+
const [context, input, options] = exports_arguments.Match(args, {
|
|
19168
|
+
2: (script, options2) => exports_guard.IsString(script) ? [{}, script, options2] : [script, options2, {}],
|
|
19169
|
+
3: (context2, script, options2) => [context2, script, options2],
|
|
19170
|
+
1: (script) => [{}, script, {}]
|
|
19171
|
+
});
|
|
19172
|
+
const result = Script(input);
|
|
19173
|
+
const parsed = exports_guard.IsArray(result) && exports_guard.IsEqual(result.length, 2) ? InstantiateType(context, State([], []), result[0]) : Never();
|
|
19174
|
+
return exports_memory.Update(parsed, {}, options);
|
|
19175
|
+
}
|
|
19176
|
+
// ../../node_modules/.bun/typebox@1.3.16/node_modules/typebox/build/typebox.mjs
|
|
19177
|
+
var exports_typebox = {};
|
|
19178
|
+
__export(exports_typebox, {
|
|
19179
|
+
Any: () => Any,
|
|
19290
19180
|
Array: () => _Array_,
|
|
19291
|
-
|
|
19181
|
+
BigInt: () => BigInt2,
|
|
19182
|
+
Boolean: () => Boolean2,
|
|
19183
|
+
Call: () => Call,
|
|
19184
|
+
Capitalize: () => Capitalize,
|
|
19185
|
+
Codec: () => Codec,
|
|
19186
|
+
Conditional: () => Conditional,
|
|
19187
|
+
Constructor: () => Constructor,
|
|
19188
|
+
ConstructorParameters: () => ConstructorParameters,
|
|
19189
|
+
Cyclic: () => Cyclic,
|
|
19190
|
+
Decode: () => Decode,
|
|
19191
|
+
DecodeBuilder: () => DecodeBuilder,
|
|
19192
|
+
Dependent: () => Dependent,
|
|
19193
|
+
Encode: () => Encode,
|
|
19194
|
+
EncodeBuilder: () => EncodeBuilder,
|
|
19195
|
+
Enum: () => Enum,
|
|
19196
|
+
Evaluate: () => Evaluate,
|
|
19197
|
+
Exclude: () => Exclude,
|
|
19198
|
+
Extends: () => Extends,
|
|
19199
|
+
ExtendsResult: () => exports_result,
|
|
19200
|
+
Extract: () => Extract,
|
|
19201
|
+
Function: () => _Function_,
|
|
19202
|
+
Generic: () => Generic,
|
|
19203
|
+
Identifier: () => Identifier,
|
|
19204
|
+
Immutable: () => Immutable,
|
|
19205
|
+
Index: () => Index,
|
|
19206
|
+
Infer: () => Infer,
|
|
19207
|
+
InstanceType: () => InstanceType,
|
|
19208
|
+
Instantiate: () => Instantiate,
|
|
19209
|
+
Integer: () => Integer,
|
|
19210
|
+
Interface: () => Interface,
|
|
19211
|
+
Intersect: () => Intersect,
|
|
19212
|
+
IsAny: () => IsAny,
|
|
19213
|
+
IsArray: () => IsArray2,
|
|
19214
|
+
IsBigInt: () => IsBigInt2,
|
|
19215
|
+
IsBoolean: () => IsBoolean3,
|
|
19216
|
+
IsCall: () => IsCall,
|
|
19217
|
+
IsCodec: () => IsCodec,
|
|
19218
|
+
IsConstructor: () => IsConstructor2,
|
|
19219
|
+
IsCyclic: () => IsCyclic,
|
|
19220
|
+
IsDependent: () => IsDependent,
|
|
19221
|
+
IsEnum: () => IsEnum,
|
|
19222
|
+
IsEnumValue: () => IsEnumValue,
|
|
19223
|
+
IsFunction: () => IsFunction2,
|
|
19224
|
+
IsGeneric: () => IsGeneric,
|
|
19225
|
+
IsIdentifier: () => IsIdentifier,
|
|
19226
|
+
IsImmutable: () => IsImmutable,
|
|
19227
|
+
IsInfer: () => IsInfer,
|
|
19228
|
+
IsInteger: () => IsInteger2,
|
|
19229
|
+
IsIntersect: () => IsIntersect,
|
|
19230
|
+
IsKind: () => IsKind,
|
|
19231
|
+
IsLiteral: () => IsLiteral,
|
|
19232
|
+
IsNever: () => IsNever,
|
|
19233
|
+
IsNull: () => IsNull2,
|
|
19234
|
+
IsNumber: () => IsNumber3,
|
|
19235
|
+
IsObject: () => IsObject2,
|
|
19236
|
+
IsOptional: () => IsOptional,
|
|
19237
|
+
IsParameter: () => IsParameter,
|
|
19238
|
+
IsReadonly: () => IsReadonly,
|
|
19239
|
+
IsRecord: () => IsRecord,
|
|
19240
|
+
IsRef: () => IsRef,
|
|
19241
|
+
IsRefine: () => IsRefine,
|
|
19242
|
+
IsRest: () => IsRest,
|
|
19243
|
+
IsSchema: () => IsSchema,
|
|
19244
|
+
IsString: () => IsString3,
|
|
19245
|
+
IsSymbol: () => IsSymbol2,
|
|
19246
|
+
IsTemplateLiteral: () => IsTemplateLiteral,
|
|
19247
|
+
IsThis: () => IsThis,
|
|
19248
|
+
IsTuple: () => IsTuple,
|
|
19249
|
+
IsUndefined: () => IsUndefined2,
|
|
19250
|
+
IsUnion: () => IsUnion,
|
|
19251
|
+
IsUnknown: () => IsUnknown,
|
|
19252
|
+
IsUnsafe: () => IsUnsafe,
|
|
19253
|
+
IsVoid: () => IsVoid,
|
|
19254
|
+
KeyOf: () => KeyOf2,
|
|
19255
|
+
Literal: () => Literal,
|
|
19256
|
+
Lowercase: () => Lowercase,
|
|
19257
|
+
Mapped: () => Mapped,
|
|
19258
|
+
Module: () => Module2,
|
|
19259
|
+
Never: () => Never,
|
|
19260
|
+
NonNullable: () => NonNullable,
|
|
19261
|
+
Null: () => Null,
|
|
19262
|
+
Number: () => Number2,
|
|
19263
|
+
Object: () => _Object_,
|
|
19264
|
+
Omit: () => Omit,
|
|
19265
|
+
Optional: () => Optional,
|
|
19266
|
+
Parameter: () => Parameter,
|
|
19267
|
+
Parameters: () => Parameters,
|
|
19268
|
+
Partial: () => Partial,
|
|
19269
|
+
Pick: () => Pick,
|
|
19270
|
+
Readonly: () => Readonly,
|
|
19271
|
+
ReadonlyObject: () => ReadonlyObject,
|
|
19272
|
+
ReadonlyType: () => ReadonlyType,
|
|
19273
|
+
Record: () => Record,
|
|
19274
|
+
RecordKey: () => RecordKey,
|
|
19275
|
+
RecordPattern: () => RecordPattern,
|
|
19276
|
+
RecordValue: () => RecordValue,
|
|
19277
|
+
Ref: () => Ref,
|
|
19278
|
+
Refine: () => Refine,
|
|
19279
|
+
Required: () => Required,
|
|
19280
|
+
Rest: () => Rest,
|
|
19281
|
+
ReturnType: () => ReturnType,
|
|
19282
|
+
Script: () => Script2,
|
|
19283
|
+
String: () => String2,
|
|
19284
|
+
Symbol: () => Symbol2,
|
|
19285
|
+
TemplateLiteral: () => TemplateLiteral2,
|
|
19286
|
+
This: () => This,
|
|
19287
|
+
Tuple: () => Tuple,
|
|
19288
|
+
Uncapitalize: () => Uncapitalize,
|
|
19289
|
+
Undefined: () => Undefined,
|
|
19290
|
+
Union: () => Union,
|
|
19291
|
+
Unknown: () => Unknown,
|
|
19292
|
+
Unsafe: () => Unsafe,
|
|
19293
|
+
Uppercase: () => Uppercase,
|
|
19294
|
+
Void: () => Void,
|
|
19295
|
+
With: () => With2
|
|
19292
19296
|
});
|
|
19293
19297
|
// src/usage-tool.ts
|
|
19294
19298
|
var USAGE_TOOL_NAME = "free_pi_usage";
|
|
@@ -19476,6 +19480,19 @@ function createToolGuardExtension(opts) {
|
|
|
19476
19480
|
|
|
19477
19481
|
// src/changelog.ts
|
|
19478
19482
|
var CHANGELOG_HIGHLIGHTS = [
|
|
19483
|
+
{
|
|
19484
|
+
version: "0.2.15",
|
|
19485
|
+
highlights: [
|
|
19486
|
+
"New startup screen: the model, a welcome line, and the five free-pi commands.",
|
|
19487
|
+
"/support opens today's advertiser in your browser. It grants nothing."
|
|
19488
|
+
]
|
|
19489
|
+
},
|
|
19490
|
+
{
|
|
19491
|
+
version: "0.2.14",
|
|
19492
|
+
highlights: [
|
|
19493
|
+
"No user-facing changes. This version tests the automated npm publish from GitHub Actions."
|
|
19494
|
+
]
|
|
19495
|
+
},
|
|
19479
19496
|
{
|
|
19480
19497
|
version: "0.2.13",
|
|
19481
19498
|
highlights: [
|
|
@@ -19618,6 +19635,15 @@ async function buyCredits(opts, ctx) {
|
|
|
19618
19635
|
(opts.openBrowserImpl ?? openBrowser)(page.url);
|
|
19619
19636
|
ctx.ui.notify(buyPageText(page.url), "info");
|
|
19620
19637
|
}
|
|
19638
|
+
async function openAdvertiser(opts, ctx) {
|
|
19639
|
+
const url2 = opts.getAdvertiserUrl?.();
|
|
19640
|
+
if (!url2) {
|
|
19641
|
+
ctx.ui.notify("No advertiser loaded yet.", "info");
|
|
19642
|
+
return;
|
|
19643
|
+
}
|
|
19644
|
+
(opts.openBrowserImpl ?? openBrowser)(url2);
|
|
19645
|
+
ctx.ui.notify("Opening today's advertiser in your browser. Thank you for supporting free-pi.", "info");
|
|
19646
|
+
}
|
|
19621
19647
|
async function showUsage(opts, ctx) {
|
|
19622
19648
|
const r = await fetchUsageText(opts);
|
|
19623
19649
|
ctx.ui.notify(r.text, r.ok ? "info" : "error");
|
|
@@ -19646,6 +19672,68 @@ function createFreePiCommandsExtension(opts) {
|
|
|
19646
19672
|
description: "Buy more usage ($5 or $10 packs, card or USDC) — opens the buy page.",
|
|
19647
19673
|
handler: (_args, ctx) => buyCredits(opts, ctx)
|
|
19648
19674
|
});
|
|
19675
|
+
pi.registerCommand("support", {
|
|
19676
|
+
description: "Open today's advertiser in your browser to support free-pi.",
|
|
19677
|
+
handler: (_args, ctx) => openAdvertiser(opts, ctx)
|
|
19678
|
+
});
|
|
19679
|
+
}
|
|
19680
|
+
};
|
|
19681
|
+
}
|
|
19682
|
+
|
|
19683
|
+
// src/header.ts
|
|
19684
|
+
var COMMANDS = [
|
|
19685
|
+
{ name: "/usage", description: "spend and remaining budget today" },
|
|
19686
|
+
{ name: "/support", description: "visit today's advertiser" },
|
|
19687
|
+
{ name: "/buy-credits", description: "get more usage" },
|
|
19688
|
+
{ name: "/close-other-session", description: "free a stuck session on another machine" },
|
|
19689
|
+
{ name: "/update", description: "get the latest free-pi" }
|
|
19690
|
+
];
|
|
19691
|
+
var NAME_COLUMN = 24;
|
|
19692
|
+
var WELCOME_LINE = "Welcome to Free Pi, ad-supported inference. Please visit our advertisers to support us.";
|
|
19693
|
+
var EXPANDED_HINT_LINE = "esc interrupt · ctrl+c clear / exit · / commands · ! bash";
|
|
19694
|
+
function truncate2(text, maxWidth) {
|
|
19695
|
+
if (maxWidth <= 0)
|
|
19696
|
+
return "";
|
|
19697
|
+
if (text.length <= maxWidth)
|
|
19698
|
+
return text;
|
|
19699
|
+
if (maxWidth <= 1)
|
|
19700
|
+
return text.slice(0, maxWidth);
|
|
19701
|
+
return `${text.slice(0, maxWidth - 1)}…`;
|
|
19702
|
+
}
|
|
19703
|
+
function headerLines(theme, modelName, expanded, width = Number.POSITIVE_INFINITY) {
|
|
19704
|
+
const inner = width - 1;
|
|
19705
|
+
const fit = (plain, styled) => plain.length <= inner ? styled() : theme.fg("dim", truncate2(plain, inner));
|
|
19706
|
+
const titleRest = ` · ${modelName} · ctrl+o for help`;
|
|
19707
|
+
const title = fit(`free-pi${titleRest}`, () => `${theme.bold(theme.fg("accent", "free-pi"))}${theme.fg("dim", titleRest)}`);
|
|
19708
|
+
const commandLines = COMMANDS.map(({ name, description }) => {
|
|
19709
|
+
const padded = ` ${name}`.padEnd(NAME_COLUMN, " ");
|
|
19710
|
+
return fit(`${padded}${description}`, () => `${padded}${theme.fg("dim", description)}`);
|
|
19711
|
+
});
|
|
19712
|
+
const dim = (plain) => fit(plain, () => theme.fg("dim", plain));
|
|
19713
|
+
const lines = ["", title, "", dim(WELCOME_LINE), "", ...commandLines, ""];
|
|
19714
|
+
if (expanded)
|
|
19715
|
+
lines.push(dim(EXPANDED_HINT_LINE));
|
|
19716
|
+
return lines.map((line) => line === "" ? line : ` ${line}`);
|
|
19717
|
+
}
|
|
19718
|
+
function createHeaderExtension(opts) {
|
|
19719
|
+
return {
|
|
19720
|
+
name: "free-pi-header",
|
|
19721
|
+
factory(pi) {
|
|
19722
|
+
pi.on("session_start", (_event, ctx) => {
|
|
19723
|
+
ctx.ui.setHeader((tui, theme) => {
|
|
19724
|
+
let expanded = false;
|
|
19725
|
+
return {
|
|
19726
|
+
render(width) {
|
|
19727
|
+
return headerLines(theme, opts.modelName, expanded, width);
|
|
19728
|
+
},
|
|
19729
|
+
invalidate() {},
|
|
19730
|
+
setExpanded(next) {
|
|
19731
|
+
expanded = next;
|
|
19732
|
+
tui.requestRender();
|
|
19733
|
+
}
|
|
19734
|
+
};
|
|
19735
|
+
});
|
|
19736
|
+
});
|
|
19649
19737
|
}
|
|
19650
19738
|
};
|
|
19651
19739
|
}
|
|
@@ -19671,6 +19759,9 @@ function catalogModelsFor(opts) {
|
|
|
19671
19759
|
return [{ id, name: id }];
|
|
19672
19760
|
}
|
|
19673
19761
|
var ALLOWED_TOOL_NAMES = [...SAFE_TOOLS, USAGE_TOOL_NAME, BUY_TOOL_NAME];
|
|
19762
|
+
function resolveModelName(opts) {
|
|
19763
|
+
return opts.models?.[0]?.name || opts.model || MODEL_ID;
|
|
19764
|
+
}
|
|
19674
19765
|
function buildRuntimeOptions(opts, sessionId) {
|
|
19675
19766
|
const models = catalogModelsFor(opts);
|
|
19676
19767
|
const providerExtension = {
|
|
@@ -19679,10 +19770,14 @@ function buildRuntimeOptions(opts, sessionId) {
|
|
|
19679
19770
|
pi.registerProvider(PROVIDER_NAME, buildProviderConfig(opts.baseUrl, opts.jwt, sessionId, models));
|
|
19680
19771
|
}
|
|
19681
19772
|
};
|
|
19773
|
+
let advertiserUrl;
|
|
19682
19774
|
const adsExtension = createAdsExtension({
|
|
19683
19775
|
baseUrl: opts.baseUrl,
|
|
19684
19776
|
getToken: () => opts.jwt,
|
|
19685
|
-
sessionId
|
|
19777
|
+
sessionId,
|
|
19778
|
+
onBannerAd: (u) => {
|
|
19779
|
+
advertiserUrl = u;
|
|
19780
|
+
}
|
|
19686
19781
|
});
|
|
19687
19782
|
const usageToolExtension = createUsageToolExtension({
|
|
19688
19783
|
baseUrl: opts.baseUrl,
|
|
@@ -19700,7 +19795,11 @@ function buildRuntimeOptions(opts, sessionId) {
|
|
|
19700
19795
|
});
|
|
19701
19796
|
const commandsExtension = createFreePiCommandsExtension({
|
|
19702
19797
|
baseUrl: opts.baseUrl,
|
|
19703
|
-
getToken: () => opts.jwt
|
|
19798
|
+
getToken: () => opts.jwt,
|
|
19799
|
+
getAdvertiserUrl: () => advertiserUrl
|
|
19800
|
+
});
|
|
19801
|
+
const headerExtension = createHeaderExtension({
|
|
19802
|
+
modelName: resolveModelName(opts)
|
|
19704
19803
|
});
|
|
19705
19804
|
const extensionFactories = [
|
|
19706
19805
|
providerExtension,
|
|
@@ -19709,13 +19808,15 @@ function buildRuntimeOptions(opts, sessionId) {
|
|
|
19709
19808
|
buyToolExtension,
|
|
19710
19809
|
errorNoticeExtension,
|
|
19711
19810
|
toolGuardExtension,
|
|
19712
|
-
commandsExtension
|
|
19811
|
+
commandsExtension,
|
|
19812
|
+
headerExtension
|
|
19713
19813
|
];
|
|
19714
19814
|
const settingsManager = SettingsManager.inMemory({
|
|
19715
19815
|
defaultProvider: PROVIDER_NAME,
|
|
19716
19816
|
defaultModel: models[0].id,
|
|
19717
19817
|
defaultTools: [...SAFE_TOOLS],
|
|
19718
|
-
packages: []
|
|
19818
|
+
packages: [],
|
|
19819
|
+
quietStartup: true
|
|
19719
19820
|
});
|
|
19720
19821
|
return {
|
|
19721
19822
|
settingsManager,
|