@kyo-so/cli 0.16.8 → 0.16.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/skills/kyoso-review/SKILL.md +2 -2
- package/CHANGELOG.md +55 -0
- package/README.ja.md +18 -15
- package/README.md +18 -15
- package/README.zh-CN.md +18 -15
- package/dist/bin/kyoso.js +1254 -1162
- package/dist/cli/knownSkillDigests.d.ts +5 -1
- package/dist/cli/manualMcpInvocation.d.ts +7 -0
- package/dist/cli/packageRunner.d.ts +3 -0
- package/dist/cli/pluginRuntimeContract.d.ts +4 -4
- package/dist/core/constants.d.ts +1 -1
- package/dist/index.js +1040 -977
- package/examples/claude-code-mcp.json +1 -1
- package/examples/codex-config.toml +2 -2
- package/package.json +3 -3
package/dist/bin/kyoso.js
CHANGED
|
@@ -20,12 +20,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
20
20
|
}
|
|
21
21
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
22
22
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
24
|
+
for (let key of __getOwnPropNames(mod))
|
|
25
|
+
if (!__hasOwnProp.call(to, key))
|
|
26
|
+
__defProp(to, key, {
|
|
27
|
+
get: __accessProp.bind(mod, key),
|
|
28
|
+
enumerable: true
|
|
29
|
+
});
|
|
30
|
+
}
|
|
29
31
|
if (canCache)
|
|
30
32
|
cache.set(mod, to);
|
|
31
33
|
return to;
|
|
@@ -47,7 +49,7 @@ var __export = (target, all) => {
|
|
|
47
49
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
48
50
|
|
|
49
51
|
// node_modules/typescript/lib/typescript.js
|
|
50
|
-
var require_typescript = __commonJS((exports, module)
|
|
52
|
+
var require_typescript = __commonJS(function(exports, module) {
|
|
51
53
|
var __dirname = "/home/runner/work/kyoso/kyoso/node_modules/typescript/lib", __filename = "/home/runner/work/kyoso/kyoso/node_modules/typescript/lib/typescript.js";
|
|
52
54
|
/*! *****************************************************************************
|
|
53
55
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -169605,523 +169607,523 @@ import { delimiter as delimiter3, resolve as resolve8 } from "node:path";
|
|
|
169605
169607
|
// node_modules/zod/v4/classic/external.js
|
|
169606
169608
|
var exports_external = {};
|
|
169607
169609
|
__export(exports_external, {
|
|
169608
|
-
|
|
169609
|
-
xid: () => xid2,
|
|
169610
|
-
void: () => _void2,
|
|
169611
|
-
uuidv7: () => uuidv7,
|
|
169612
|
-
uuidv6: () => uuidv6,
|
|
169613
|
-
uuidv4: () => uuidv4,
|
|
169614
|
-
uuid: () => uuid2,
|
|
169615
|
-
util: () => exports_util,
|
|
169616
|
-
url: () => url,
|
|
169617
|
-
uppercase: () => _uppercase,
|
|
169618
|
-
unknown: () => unknown,
|
|
169619
|
-
union: () => union,
|
|
169620
|
-
undefined: () => _undefined3,
|
|
169621
|
-
ulid: () => ulid2,
|
|
169622
|
-
uint64: () => uint64,
|
|
169623
|
-
uint32: () => uint32,
|
|
169624
|
-
tuple: () => tuple,
|
|
169625
|
-
trim: () => _trim,
|
|
169626
|
-
treeifyError: () => treeifyError,
|
|
169627
|
-
transform: () => transform,
|
|
169628
|
-
toUpperCase: () => _toUpperCase,
|
|
169629
|
-
toLowerCase: () => _toLowerCase,
|
|
169630
|
-
toJSONSchema: () => toJSONSchema,
|
|
169631
|
-
templateLiteral: () => templateLiteral,
|
|
169632
|
-
symbol: () => symbol,
|
|
169633
|
-
superRefine: () => superRefine,
|
|
169634
|
-
success: () => success,
|
|
169635
|
-
stringbool: () => stringbool,
|
|
169636
|
-
stringFormat: () => stringFormat,
|
|
169637
|
-
string: () => string2,
|
|
169638
|
-
strictObject: () => strictObject,
|
|
169639
|
-
startsWith: () => _startsWith,
|
|
169640
|
-
slugify: () => _slugify,
|
|
169641
|
-
size: () => _size,
|
|
169642
|
-
setErrorMap: () => setErrorMap,
|
|
169643
|
-
set: () => set,
|
|
169644
|
-
safeParseAsync: () => safeParseAsync2,
|
|
169645
|
-
safeParse: () => safeParse2,
|
|
169646
|
-
safeEncodeAsync: () => safeEncodeAsync2,
|
|
169647
|
-
safeEncode: () => safeEncode2,
|
|
169648
|
-
safeDecodeAsync: () => safeDecodeAsync2,
|
|
169649
|
-
safeDecode: () => safeDecode2,
|
|
169650
|
-
registry: () => registry,
|
|
169651
|
-
regexes: () => exports_regexes,
|
|
169652
|
-
regex: () => _regex,
|
|
169653
|
-
refine: () => refine,
|
|
169654
|
-
record: () => record,
|
|
169655
|
-
readonly: () => readonly,
|
|
169656
|
-
property: () => _property,
|
|
169657
|
-
promise: () => promise,
|
|
169658
|
-
prettifyError: () => prettifyError,
|
|
169659
|
-
preprocess: () => preprocess,
|
|
169660
|
-
prefault: () => prefault,
|
|
169661
|
-
positive: () => _positive,
|
|
169662
|
-
pipe: () => pipe,
|
|
169663
|
-
partialRecord: () => partialRecord,
|
|
169664
|
-
parseAsync: () => parseAsync2,
|
|
169665
|
-
parse: () => parse3,
|
|
169666
|
-
overwrite: () => _overwrite,
|
|
169667
|
-
optional: () => optional,
|
|
169668
|
-
object: () => object,
|
|
169669
|
-
number: () => number2,
|
|
169670
|
-
nullish: () => nullish2,
|
|
169671
|
-
nullable: () => nullable,
|
|
169672
|
-
null: () => _null3,
|
|
169673
|
-
normalize: () => _normalize,
|
|
169674
|
-
nonpositive: () => _nonpositive,
|
|
169675
|
-
nonoptional: () => nonoptional,
|
|
169676
|
-
nonnegative: () => _nonnegative,
|
|
169677
|
-
never: () => never,
|
|
169678
|
-
negative: () => _negative,
|
|
169679
|
-
nativeEnum: () => nativeEnum,
|
|
169680
|
-
nanoid: () => nanoid2,
|
|
169681
|
-
nan: () => nan,
|
|
169682
|
-
multipleOf: () => _multipleOf,
|
|
169683
|
-
minSize: () => _minSize,
|
|
169684
|
-
minLength: () => _minLength,
|
|
169685
|
-
mime: () => _mime,
|
|
169686
|
-
meta: () => meta2,
|
|
169687
|
-
maxSize: () => _maxSize,
|
|
169688
|
-
maxLength: () => _maxLength,
|
|
169689
|
-
map: () => map,
|
|
169690
|
-
mac: () => mac2,
|
|
169691
|
-
lte: () => _lte,
|
|
169692
|
-
lt: () => _lt,
|
|
169693
|
-
lowercase: () => _lowercase,
|
|
169694
|
-
looseRecord: () => looseRecord,
|
|
169695
|
-
looseObject: () => looseObject,
|
|
169696
|
-
locales: () => exports_locales,
|
|
169697
|
-
literal: () => literal,
|
|
169698
|
-
length: () => _length,
|
|
169699
|
-
lazy: () => lazy,
|
|
169700
|
-
ksuid: () => ksuid2,
|
|
169701
|
-
keyof: () => keyof,
|
|
169702
|
-
jwt: () => jwt,
|
|
169703
|
-
json: () => json,
|
|
169704
|
-
iso: () => exports_iso,
|
|
169705
|
-
ipv6: () => ipv62,
|
|
169706
|
-
ipv4: () => ipv42,
|
|
169707
|
-
invertCodec: () => invertCodec,
|
|
169708
|
-
intersection: () => intersection,
|
|
169709
|
-
int64: () => int64,
|
|
169710
|
-
int32: () => int32,
|
|
169711
|
-
int: () => int,
|
|
169712
|
-
instanceof: () => _instanceof,
|
|
169713
|
-
includes: () => _includes,
|
|
169714
|
-
httpUrl: () => httpUrl,
|
|
169715
|
-
hostname: () => hostname2,
|
|
169716
|
-
hex: () => hex2,
|
|
169717
|
-
hash: () => hash,
|
|
169718
|
-
guid: () => guid2,
|
|
169719
|
-
gte: () => _gte,
|
|
169720
|
-
gt: () => _gt,
|
|
169721
|
-
globalRegistry: () => globalRegistry,
|
|
169722
|
-
getErrorMap: () => getErrorMap,
|
|
169723
|
-
function: () => _function,
|
|
169724
|
-
fromJSONSchema: () => fromJSONSchema,
|
|
169725
|
-
formatError: () => formatError,
|
|
169726
|
-
float64: () => float64,
|
|
169727
|
-
float32: () => float32,
|
|
169728
|
-
flattenError: () => flattenError,
|
|
169729
|
-
file: () => file,
|
|
169730
|
-
exactOptional: () => exactOptional,
|
|
169731
|
-
enum: () => _enum2,
|
|
169732
|
-
endsWith: () => _endsWith,
|
|
169733
|
-
encodeAsync: () => encodeAsync2,
|
|
169734
|
-
encode: () => encode2,
|
|
169735
|
-
emoji: () => emoji2,
|
|
169736
|
-
email: () => email2,
|
|
169737
|
-
e164: () => e1642,
|
|
169738
|
-
discriminatedUnion: () => discriminatedUnion,
|
|
169739
|
-
describe: () => describe2,
|
|
169740
|
-
decodeAsync: () => decodeAsync2,
|
|
169741
|
-
decode: () => decode2,
|
|
169742
|
-
date: () => date3,
|
|
169743
|
-
custom: () => custom,
|
|
169744
|
-
cuid2: () => cuid22,
|
|
169745
|
-
cuid: () => cuid3,
|
|
169746
|
-
core: () => exports_core2,
|
|
169747
|
-
config: () => config,
|
|
169748
|
-
coerce: () => exports_coerce,
|
|
169749
|
-
codec: () => codec,
|
|
169750
|
-
clone: () => clone,
|
|
169751
|
-
cidrv6: () => cidrv62,
|
|
169752
|
-
cidrv4: () => cidrv42,
|
|
169753
|
-
check: () => check,
|
|
169754
|
-
catch: () => _catch2,
|
|
169755
|
-
boolean: () => boolean2,
|
|
169756
|
-
bigint: () => bigint2,
|
|
169757
|
-
base64url: () => base64url2,
|
|
169758
|
-
base64: () => base642,
|
|
169759
|
-
array: () => array,
|
|
169760
|
-
any: () => any,
|
|
169761
|
-
_function: () => _function,
|
|
169762
|
-
_default: () => _default2,
|
|
169763
|
-
_ZodString: () => _ZodString,
|
|
169764
|
-
ZodXor: () => ZodXor,
|
|
169765
|
-
ZodXID: () => ZodXID,
|
|
169766
|
-
ZodVoid: () => ZodVoid,
|
|
169767
|
-
ZodUnknown: () => ZodUnknown,
|
|
169768
|
-
ZodUnion: () => ZodUnion,
|
|
169769
|
-
ZodUndefined: () => ZodUndefined,
|
|
169770
|
-
ZodUUID: () => ZodUUID,
|
|
169771
|
-
ZodURL: () => ZodURL,
|
|
169772
|
-
ZodULID: () => ZodULID,
|
|
169773
|
-
ZodType: () => ZodType,
|
|
169774
|
-
ZodTuple: () => ZodTuple,
|
|
169775
|
-
ZodTransform: () => ZodTransform,
|
|
169776
|
-
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
169777
|
-
ZodSymbol: () => ZodSymbol,
|
|
169778
|
-
ZodSuccess: () => ZodSuccess,
|
|
169779
|
-
ZodStringFormat: () => ZodStringFormat,
|
|
169780
|
-
ZodString: () => ZodString,
|
|
169781
|
-
ZodSet: () => ZodSet,
|
|
169782
|
-
ZodRecord: () => ZodRecord,
|
|
169783
|
-
ZodRealError: () => ZodRealError,
|
|
169784
|
-
ZodReadonly: () => ZodReadonly,
|
|
169785
|
-
ZodPromise: () => ZodPromise,
|
|
169786
|
-
ZodPreprocess: () => ZodPreprocess,
|
|
169787
|
-
ZodPrefault: () => ZodPrefault,
|
|
169788
|
-
ZodPipe: () => ZodPipe,
|
|
169789
|
-
ZodOptional: () => ZodOptional,
|
|
169790
|
-
ZodObject: () => ZodObject,
|
|
169791
|
-
ZodNumberFormat: () => ZodNumberFormat,
|
|
169792
|
-
ZodNumber: () => ZodNumber,
|
|
169793
|
-
ZodNullable: () => ZodNullable,
|
|
169794
|
-
ZodNull: () => ZodNull,
|
|
169795
|
-
ZodNonOptional: () => ZodNonOptional,
|
|
169796
|
-
ZodNever: () => ZodNever,
|
|
169797
|
-
ZodNanoID: () => ZodNanoID,
|
|
169798
|
-
ZodNaN: () => ZodNaN,
|
|
169799
|
-
ZodMap: () => ZodMap,
|
|
169800
|
-
ZodMAC: () => ZodMAC,
|
|
169801
|
-
ZodLiteral: () => ZodLiteral,
|
|
169802
|
-
ZodLazy: () => ZodLazy,
|
|
169803
|
-
ZodKSUID: () => ZodKSUID,
|
|
169804
|
-
ZodJWT: () => ZodJWT,
|
|
169805
|
-
ZodIssueCode: () => ZodIssueCode,
|
|
169806
|
-
ZodIntersection: () => ZodIntersection,
|
|
169807
|
-
ZodISOTime: () => ZodISOTime,
|
|
169808
|
-
ZodISODuration: () => ZodISODuration,
|
|
169809
|
-
ZodISODateTime: () => ZodISODateTime,
|
|
169810
|
-
ZodISODate: () => ZodISODate,
|
|
169811
|
-
ZodIPv6: () => ZodIPv6,
|
|
169812
|
-
ZodIPv4: () => ZodIPv4,
|
|
169813
|
-
ZodGUID: () => ZodGUID,
|
|
169814
|
-
ZodFunction: () => ZodFunction,
|
|
169815
|
-
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
169816
|
-
ZodFile: () => ZodFile,
|
|
169817
|
-
ZodExactOptional: () => ZodExactOptional,
|
|
169818
|
-
ZodError: () => ZodError,
|
|
169819
|
-
ZodEnum: () => ZodEnum,
|
|
169820
|
-
ZodEmoji: () => ZodEmoji,
|
|
169821
|
-
ZodEmail: () => ZodEmail,
|
|
169822
|
-
ZodE164: () => ZodE164,
|
|
169823
|
-
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
169824
|
-
ZodDefault: () => ZodDefault,
|
|
169825
|
-
ZodDate: () => ZodDate,
|
|
169826
|
-
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
169827
|
-
ZodCustom: () => ZodCustom,
|
|
169828
|
-
ZodCodec: () => ZodCodec,
|
|
169829
|
-
ZodCatch: () => ZodCatch,
|
|
169830
|
-
ZodCUID2: () => ZodCUID2,
|
|
169831
|
-
ZodCUID: () => ZodCUID,
|
|
169832
|
-
ZodCIDRv6: () => ZodCIDRv6,
|
|
169833
|
-
ZodCIDRv4: () => ZodCIDRv4,
|
|
169834
|
-
ZodBoolean: () => ZodBoolean,
|
|
169835
|
-
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
169836
|
-
ZodBigInt: () => ZodBigInt,
|
|
169837
|
-
ZodBase64URL: () => ZodBase64URL,
|
|
169838
|
-
ZodBase64: () => ZodBase64,
|
|
169839
|
-
ZodArray: () => ZodArray,
|
|
169840
|
-
ZodAny: () => ZodAny,
|
|
169841
|
-
TimePrecision: () => TimePrecision,
|
|
169842
|
-
NEVER: () => NEVER,
|
|
169843
|
-
$output: () => $output,
|
|
169610
|
+
$brand: () => $brand,
|
|
169844
169611
|
$input: () => $input,
|
|
169845
|
-
$
|
|
169612
|
+
$output: () => $output,
|
|
169613
|
+
NEVER: () => NEVER,
|
|
169614
|
+
TimePrecision: () => TimePrecision,
|
|
169615
|
+
ZodAny: () => ZodAny,
|
|
169616
|
+
ZodArray: () => ZodArray,
|
|
169617
|
+
ZodBase64: () => ZodBase64,
|
|
169618
|
+
ZodBase64URL: () => ZodBase64URL,
|
|
169619
|
+
ZodBigInt: () => ZodBigInt,
|
|
169620
|
+
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
169621
|
+
ZodBoolean: () => ZodBoolean,
|
|
169622
|
+
ZodCIDRv4: () => ZodCIDRv4,
|
|
169623
|
+
ZodCIDRv6: () => ZodCIDRv6,
|
|
169624
|
+
ZodCUID: () => ZodCUID,
|
|
169625
|
+
ZodCUID2: () => ZodCUID2,
|
|
169626
|
+
ZodCatch: () => ZodCatch,
|
|
169627
|
+
ZodCodec: () => ZodCodec,
|
|
169628
|
+
ZodCustom: () => ZodCustom,
|
|
169629
|
+
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
169630
|
+
ZodDate: () => ZodDate,
|
|
169631
|
+
ZodDefault: () => ZodDefault,
|
|
169632
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
169633
|
+
ZodE164: () => ZodE164,
|
|
169634
|
+
ZodEmail: () => ZodEmail,
|
|
169635
|
+
ZodEmoji: () => ZodEmoji,
|
|
169636
|
+
ZodEnum: () => ZodEnum,
|
|
169637
|
+
ZodError: () => ZodError,
|
|
169638
|
+
ZodExactOptional: () => ZodExactOptional,
|
|
169639
|
+
ZodFile: () => ZodFile,
|
|
169640
|
+
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
169641
|
+
ZodFunction: () => ZodFunction,
|
|
169642
|
+
ZodGUID: () => ZodGUID,
|
|
169643
|
+
ZodIPv4: () => ZodIPv4,
|
|
169644
|
+
ZodIPv6: () => ZodIPv6,
|
|
169645
|
+
ZodISODate: () => ZodISODate,
|
|
169646
|
+
ZodISODateTime: () => ZodISODateTime,
|
|
169647
|
+
ZodISODuration: () => ZodISODuration,
|
|
169648
|
+
ZodISOTime: () => ZodISOTime,
|
|
169649
|
+
ZodIntersection: () => ZodIntersection,
|
|
169650
|
+
ZodIssueCode: () => ZodIssueCode,
|
|
169651
|
+
ZodJWT: () => ZodJWT,
|
|
169652
|
+
ZodKSUID: () => ZodKSUID,
|
|
169653
|
+
ZodLazy: () => ZodLazy,
|
|
169654
|
+
ZodLiteral: () => ZodLiteral,
|
|
169655
|
+
ZodMAC: () => ZodMAC,
|
|
169656
|
+
ZodMap: () => ZodMap,
|
|
169657
|
+
ZodNaN: () => ZodNaN,
|
|
169658
|
+
ZodNanoID: () => ZodNanoID,
|
|
169659
|
+
ZodNever: () => ZodNever,
|
|
169660
|
+
ZodNonOptional: () => ZodNonOptional,
|
|
169661
|
+
ZodNull: () => ZodNull,
|
|
169662
|
+
ZodNullable: () => ZodNullable,
|
|
169663
|
+
ZodNumber: () => ZodNumber,
|
|
169664
|
+
ZodNumberFormat: () => ZodNumberFormat,
|
|
169665
|
+
ZodObject: () => ZodObject,
|
|
169666
|
+
ZodOptional: () => ZodOptional,
|
|
169667
|
+
ZodPipe: () => ZodPipe,
|
|
169668
|
+
ZodPrefault: () => ZodPrefault,
|
|
169669
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
169670
|
+
ZodPromise: () => ZodPromise,
|
|
169671
|
+
ZodReadonly: () => ZodReadonly,
|
|
169672
|
+
ZodRealError: () => ZodRealError,
|
|
169673
|
+
ZodRecord: () => ZodRecord,
|
|
169674
|
+
ZodSet: () => ZodSet,
|
|
169675
|
+
ZodString: () => ZodString,
|
|
169676
|
+
ZodStringFormat: () => ZodStringFormat,
|
|
169677
|
+
ZodSuccess: () => ZodSuccess,
|
|
169678
|
+
ZodSymbol: () => ZodSymbol,
|
|
169679
|
+
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
169680
|
+
ZodTransform: () => ZodTransform,
|
|
169681
|
+
ZodTuple: () => ZodTuple,
|
|
169682
|
+
ZodType: () => ZodType,
|
|
169683
|
+
ZodULID: () => ZodULID,
|
|
169684
|
+
ZodURL: () => ZodURL,
|
|
169685
|
+
ZodUUID: () => ZodUUID,
|
|
169686
|
+
ZodUndefined: () => ZodUndefined,
|
|
169687
|
+
ZodUnion: () => ZodUnion,
|
|
169688
|
+
ZodUnknown: () => ZodUnknown,
|
|
169689
|
+
ZodVoid: () => ZodVoid,
|
|
169690
|
+
ZodXID: () => ZodXID,
|
|
169691
|
+
ZodXor: () => ZodXor,
|
|
169692
|
+
_ZodString: () => _ZodString,
|
|
169693
|
+
_default: () => _default2,
|
|
169694
|
+
_function: () => _function,
|
|
169695
|
+
any: () => any,
|
|
169696
|
+
array: () => array,
|
|
169697
|
+
base64: () => base642,
|
|
169698
|
+
base64url: () => base64url2,
|
|
169699
|
+
bigint: () => bigint2,
|
|
169700
|
+
boolean: () => boolean2,
|
|
169701
|
+
catch: () => _catch2,
|
|
169702
|
+
check: () => check,
|
|
169703
|
+
cidrv4: () => cidrv42,
|
|
169704
|
+
cidrv6: () => cidrv62,
|
|
169705
|
+
clone: () => clone,
|
|
169706
|
+
codec: () => codec,
|
|
169707
|
+
coerce: () => exports_coerce,
|
|
169708
|
+
config: () => config,
|
|
169709
|
+
core: () => exports_core2,
|
|
169710
|
+
cuid: () => cuid3,
|
|
169711
|
+
cuid2: () => cuid22,
|
|
169712
|
+
custom: () => custom,
|
|
169713
|
+
date: () => date3,
|
|
169714
|
+
decode: () => decode2,
|
|
169715
|
+
decodeAsync: () => decodeAsync2,
|
|
169716
|
+
describe: () => describe2,
|
|
169717
|
+
discriminatedUnion: () => discriminatedUnion,
|
|
169718
|
+
e164: () => e1642,
|
|
169719
|
+
email: () => email2,
|
|
169720
|
+
emoji: () => emoji2,
|
|
169721
|
+
encode: () => encode2,
|
|
169722
|
+
encodeAsync: () => encodeAsync2,
|
|
169723
|
+
endsWith: () => _endsWith,
|
|
169724
|
+
enum: () => _enum2,
|
|
169725
|
+
exactOptional: () => exactOptional,
|
|
169726
|
+
file: () => file,
|
|
169727
|
+
flattenError: () => flattenError,
|
|
169728
|
+
float32: () => float32,
|
|
169729
|
+
float64: () => float64,
|
|
169730
|
+
formatError: () => formatError,
|
|
169731
|
+
fromJSONSchema: () => fromJSONSchema,
|
|
169732
|
+
function: () => _function,
|
|
169733
|
+
getErrorMap: () => getErrorMap,
|
|
169734
|
+
globalRegistry: () => globalRegistry,
|
|
169735
|
+
gt: () => _gt,
|
|
169736
|
+
gte: () => _gte,
|
|
169737
|
+
guid: () => guid2,
|
|
169738
|
+
hash: () => hash,
|
|
169739
|
+
hex: () => hex2,
|
|
169740
|
+
hostname: () => hostname2,
|
|
169741
|
+
httpUrl: () => httpUrl,
|
|
169742
|
+
includes: () => _includes,
|
|
169743
|
+
instanceof: () => _instanceof,
|
|
169744
|
+
int: () => int,
|
|
169745
|
+
int32: () => int32,
|
|
169746
|
+
int64: () => int64,
|
|
169747
|
+
intersection: () => intersection,
|
|
169748
|
+
invertCodec: () => invertCodec,
|
|
169749
|
+
ipv4: () => ipv42,
|
|
169750
|
+
ipv6: () => ipv62,
|
|
169751
|
+
iso: () => exports_iso,
|
|
169752
|
+
json: () => json,
|
|
169753
|
+
jwt: () => jwt,
|
|
169754
|
+
keyof: () => keyof,
|
|
169755
|
+
ksuid: () => ksuid2,
|
|
169756
|
+
lazy: () => lazy,
|
|
169757
|
+
length: () => _length,
|
|
169758
|
+
literal: () => literal,
|
|
169759
|
+
locales: () => exports_locales,
|
|
169760
|
+
looseObject: () => looseObject,
|
|
169761
|
+
looseRecord: () => looseRecord,
|
|
169762
|
+
lowercase: () => _lowercase,
|
|
169763
|
+
lt: () => _lt,
|
|
169764
|
+
lte: () => _lte,
|
|
169765
|
+
mac: () => mac2,
|
|
169766
|
+
map: () => map,
|
|
169767
|
+
maxLength: () => _maxLength,
|
|
169768
|
+
maxSize: () => _maxSize,
|
|
169769
|
+
meta: () => meta2,
|
|
169770
|
+
mime: () => _mime,
|
|
169771
|
+
minLength: () => _minLength,
|
|
169772
|
+
minSize: () => _minSize,
|
|
169773
|
+
multipleOf: () => _multipleOf,
|
|
169774
|
+
nan: () => nan,
|
|
169775
|
+
nanoid: () => nanoid2,
|
|
169776
|
+
nativeEnum: () => nativeEnum,
|
|
169777
|
+
negative: () => _negative,
|
|
169778
|
+
never: () => never,
|
|
169779
|
+
nonnegative: () => _nonnegative,
|
|
169780
|
+
nonoptional: () => nonoptional,
|
|
169781
|
+
nonpositive: () => _nonpositive,
|
|
169782
|
+
normalize: () => _normalize,
|
|
169783
|
+
null: () => _null3,
|
|
169784
|
+
nullable: () => nullable,
|
|
169785
|
+
nullish: () => nullish2,
|
|
169786
|
+
number: () => number2,
|
|
169787
|
+
object: () => object,
|
|
169788
|
+
optional: () => optional,
|
|
169789
|
+
overwrite: () => _overwrite,
|
|
169790
|
+
parse: () => parse3,
|
|
169791
|
+
parseAsync: () => parseAsync2,
|
|
169792
|
+
partialRecord: () => partialRecord,
|
|
169793
|
+
pipe: () => pipe,
|
|
169794
|
+
positive: () => _positive,
|
|
169795
|
+
prefault: () => prefault,
|
|
169796
|
+
preprocess: () => preprocess,
|
|
169797
|
+
prettifyError: () => prettifyError,
|
|
169798
|
+
promise: () => promise,
|
|
169799
|
+
property: () => _property,
|
|
169800
|
+
readonly: () => readonly,
|
|
169801
|
+
record: () => record,
|
|
169802
|
+
refine: () => refine,
|
|
169803
|
+
regex: () => _regex,
|
|
169804
|
+
regexes: () => exports_regexes,
|
|
169805
|
+
registry: () => registry,
|
|
169806
|
+
safeDecode: () => safeDecode2,
|
|
169807
|
+
safeDecodeAsync: () => safeDecodeAsync2,
|
|
169808
|
+
safeEncode: () => safeEncode2,
|
|
169809
|
+
safeEncodeAsync: () => safeEncodeAsync2,
|
|
169810
|
+
safeParse: () => safeParse2,
|
|
169811
|
+
safeParseAsync: () => safeParseAsync2,
|
|
169812
|
+
set: () => set,
|
|
169813
|
+
setErrorMap: () => setErrorMap,
|
|
169814
|
+
size: () => _size,
|
|
169815
|
+
slugify: () => _slugify,
|
|
169816
|
+
startsWith: () => _startsWith,
|
|
169817
|
+
strictObject: () => strictObject,
|
|
169818
|
+
string: () => string2,
|
|
169819
|
+
stringFormat: () => stringFormat,
|
|
169820
|
+
stringbool: () => stringbool,
|
|
169821
|
+
success: () => success,
|
|
169822
|
+
superRefine: () => superRefine,
|
|
169823
|
+
symbol: () => symbol,
|
|
169824
|
+
templateLiteral: () => templateLiteral,
|
|
169825
|
+
toJSONSchema: () => toJSONSchema,
|
|
169826
|
+
toLowerCase: () => _toLowerCase,
|
|
169827
|
+
toUpperCase: () => _toUpperCase,
|
|
169828
|
+
transform: () => transform,
|
|
169829
|
+
treeifyError: () => treeifyError,
|
|
169830
|
+
trim: () => _trim,
|
|
169831
|
+
tuple: () => tuple,
|
|
169832
|
+
uint32: () => uint32,
|
|
169833
|
+
uint64: () => uint64,
|
|
169834
|
+
ulid: () => ulid2,
|
|
169835
|
+
undefined: () => _undefined3,
|
|
169836
|
+
union: () => union,
|
|
169837
|
+
unknown: () => unknown,
|
|
169838
|
+
uppercase: () => _uppercase,
|
|
169839
|
+
url: () => url,
|
|
169840
|
+
util: () => exports_util,
|
|
169841
|
+
uuid: () => uuid2,
|
|
169842
|
+
uuidv4: () => uuidv4,
|
|
169843
|
+
uuidv6: () => uuidv6,
|
|
169844
|
+
uuidv7: () => uuidv7,
|
|
169845
|
+
void: () => _void2,
|
|
169846
|
+
xid: () => xid2,
|
|
169847
|
+
xor: () => xor
|
|
169846
169848
|
});
|
|
169847
169849
|
|
|
169848
169850
|
// node_modules/zod/v4/core/index.js
|
|
169849
169851
|
var exports_core2 = {};
|
|
169850
169852
|
__export(exports_core2, {
|
|
169851
|
-
|
|
169852
|
-
util: () => exports_util,
|
|
169853
|
-
treeifyError: () => treeifyError,
|
|
169854
|
-
toJSONSchema: () => toJSONSchema,
|
|
169855
|
-
toDotPath: () => toDotPath,
|
|
169856
|
-
safeParseAsync: () => safeParseAsync,
|
|
169857
|
-
safeParse: () => safeParse,
|
|
169858
|
-
safeEncodeAsync: () => safeEncodeAsync,
|
|
169859
|
-
safeEncode: () => safeEncode,
|
|
169860
|
-
safeDecodeAsync: () => safeDecodeAsync,
|
|
169861
|
-
safeDecode: () => safeDecode,
|
|
169862
|
-
registry: () => registry,
|
|
169863
|
-
regexes: () => exports_regexes,
|
|
169864
|
-
process: () => process2,
|
|
169865
|
-
prettifyError: () => prettifyError,
|
|
169866
|
-
parseAsync: () => parseAsync,
|
|
169867
|
-
parse: () => parse,
|
|
169868
|
-
meta: () => meta,
|
|
169869
|
-
locales: () => exports_locales,
|
|
169870
|
-
isValidJWT: () => isValidJWT,
|
|
169871
|
-
isValidBase64URL: () => isValidBase64URL,
|
|
169872
|
-
isValidBase64: () => isValidBase64,
|
|
169873
|
-
initializeContext: () => initializeContext,
|
|
169874
|
-
globalRegistry: () => globalRegistry,
|
|
169875
|
-
globalConfig: () => globalConfig,
|
|
169876
|
-
formatError: () => formatError,
|
|
169877
|
-
flattenError: () => flattenError,
|
|
169878
|
-
finalize: () => finalize,
|
|
169879
|
-
extractDefs: () => extractDefs,
|
|
169880
|
-
encodeAsync: () => encodeAsync,
|
|
169881
|
-
encode: () => encode,
|
|
169882
|
-
describe: () => describe,
|
|
169883
|
-
decodeAsync: () => decodeAsync,
|
|
169884
|
-
decode: () => decode,
|
|
169885
|
-
createToJSONSchemaMethod: () => createToJSONSchemaMethod,
|
|
169886
|
-
createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
|
|
169887
|
-
config: () => config,
|
|
169888
|
-
clone: () => clone,
|
|
169889
|
-
_xor: () => _xor,
|
|
169890
|
-
_xid: () => _xid,
|
|
169891
|
-
_void: () => _void,
|
|
169892
|
-
_uuidv7: () => _uuidv7,
|
|
169893
|
-
_uuidv6: () => _uuidv6,
|
|
169894
|
-
_uuidv4: () => _uuidv4,
|
|
169895
|
-
_uuid: () => _uuid,
|
|
169896
|
-
_url: () => _url,
|
|
169897
|
-
_uppercase: () => _uppercase,
|
|
169898
|
-
_unknown: () => _unknown,
|
|
169899
|
-
_union: () => _union,
|
|
169900
|
-
_undefined: () => _undefined2,
|
|
169901
|
-
_ulid: () => _ulid,
|
|
169902
|
-
_uint64: () => _uint64,
|
|
169903
|
-
_uint32: () => _uint32,
|
|
169904
|
-
_tuple: () => _tuple,
|
|
169905
|
-
_trim: () => _trim,
|
|
169906
|
-
_transform: () => _transform,
|
|
169907
|
-
_toUpperCase: () => _toUpperCase,
|
|
169908
|
-
_toLowerCase: () => _toLowerCase,
|
|
169909
|
-
_templateLiteral: () => _templateLiteral,
|
|
169910
|
-
_symbol: () => _symbol,
|
|
169911
|
-
_superRefine: () => _superRefine,
|
|
169912
|
-
_success: () => _success,
|
|
169913
|
-
_stringbool: () => _stringbool,
|
|
169914
|
-
_stringFormat: () => _stringFormat,
|
|
169915
|
-
_string: () => _string,
|
|
169916
|
-
_startsWith: () => _startsWith,
|
|
169917
|
-
_slugify: () => _slugify,
|
|
169918
|
-
_size: () => _size,
|
|
169919
|
-
_set: () => _set,
|
|
169920
|
-
_safeParseAsync: () => _safeParseAsync,
|
|
169921
|
-
_safeParse: () => _safeParse,
|
|
169922
|
-
_safeEncodeAsync: () => _safeEncodeAsync,
|
|
169923
|
-
_safeEncode: () => _safeEncode,
|
|
169924
|
-
_safeDecodeAsync: () => _safeDecodeAsync,
|
|
169925
|
-
_safeDecode: () => _safeDecode,
|
|
169926
|
-
_regex: () => _regex,
|
|
169927
|
-
_refine: () => _refine,
|
|
169928
|
-
_record: () => _record,
|
|
169929
|
-
_readonly: () => _readonly,
|
|
169930
|
-
_property: () => _property,
|
|
169931
|
-
_promise: () => _promise,
|
|
169932
|
-
_positive: () => _positive,
|
|
169933
|
-
_pipe: () => _pipe,
|
|
169934
|
-
_parseAsync: () => _parseAsync,
|
|
169935
|
-
_parse: () => _parse,
|
|
169936
|
-
_overwrite: () => _overwrite,
|
|
169937
|
-
_optional: () => _optional,
|
|
169938
|
-
_number: () => _number,
|
|
169939
|
-
_nullable: () => _nullable,
|
|
169940
|
-
_null: () => _null2,
|
|
169941
|
-
_normalize: () => _normalize,
|
|
169942
|
-
_nonpositive: () => _nonpositive,
|
|
169943
|
-
_nonoptional: () => _nonoptional,
|
|
169944
|
-
_nonnegative: () => _nonnegative,
|
|
169945
|
-
_never: () => _never,
|
|
169946
|
-
_negative: () => _negative,
|
|
169947
|
-
_nativeEnum: () => _nativeEnum,
|
|
169948
|
-
_nanoid: () => _nanoid,
|
|
169949
|
-
_nan: () => _nan,
|
|
169950
|
-
_multipleOf: () => _multipleOf,
|
|
169951
|
-
_minSize: () => _minSize,
|
|
169952
|
-
_minLength: () => _minLength,
|
|
169953
|
-
_min: () => _gte,
|
|
169954
|
-
_mime: () => _mime,
|
|
169955
|
-
_maxSize: () => _maxSize,
|
|
169956
|
-
_maxLength: () => _maxLength,
|
|
169957
|
-
_max: () => _lte,
|
|
169958
|
-
_map: () => _map,
|
|
169959
|
-
_mac: () => _mac,
|
|
169960
|
-
_lte: () => _lte,
|
|
169961
|
-
_lt: () => _lt,
|
|
169962
|
-
_lowercase: () => _lowercase,
|
|
169963
|
-
_literal: () => _literal,
|
|
169964
|
-
_length: () => _length,
|
|
169965
|
-
_lazy: () => _lazy,
|
|
169966
|
-
_ksuid: () => _ksuid,
|
|
169967
|
-
_jwt: () => _jwt,
|
|
169968
|
-
_isoTime: () => _isoTime,
|
|
169969
|
-
_isoDuration: () => _isoDuration,
|
|
169970
|
-
_isoDateTime: () => _isoDateTime,
|
|
169971
|
-
_isoDate: () => _isoDate,
|
|
169972
|
-
_ipv6: () => _ipv6,
|
|
169973
|
-
_ipv4: () => _ipv4,
|
|
169974
|
-
_intersection: () => _intersection,
|
|
169975
|
-
_int64: () => _int64,
|
|
169976
|
-
_int32: () => _int32,
|
|
169977
|
-
_int: () => _int,
|
|
169978
|
-
_includes: () => _includes,
|
|
169979
|
-
_guid: () => _guid,
|
|
169980
|
-
_gte: () => _gte,
|
|
169981
|
-
_gt: () => _gt,
|
|
169982
|
-
_float64: () => _float64,
|
|
169983
|
-
_float32: () => _float32,
|
|
169984
|
-
_file: () => _file,
|
|
169985
|
-
_enum: () => _enum,
|
|
169986
|
-
_endsWith: () => _endsWith,
|
|
169987
|
-
_encodeAsync: () => _encodeAsync,
|
|
169988
|
-
_encode: () => _encode,
|
|
169989
|
-
_emoji: () => _emoji2,
|
|
169990
|
-
_email: () => _email,
|
|
169991
|
-
_e164: () => _e164,
|
|
169992
|
-
_discriminatedUnion: () => _discriminatedUnion,
|
|
169993
|
-
_default: () => _default,
|
|
169994
|
-
_decodeAsync: () => _decodeAsync,
|
|
169995
|
-
_decode: () => _decode,
|
|
169996
|
-
_date: () => _date,
|
|
169997
|
-
_custom: () => _custom,
|
|
169998
|
-
_cuid2: () => _cuid2,
|
|
169999
|
-
_cuid: () => _cuid,
|
|
170000
|
-
_coercedString: () => _coercedString,
|
|
170001
|
-
_coercedNumber: () => _coercedNumber,
|
|
170002
|
-
_coercedDate: () => _coercedDate,
|
|
170003
|
-
_coercedBoolean: () => _coercedBoolean,
|
|
170004
|
-
_coercedBigint: () => _coercedBigint,
|
|
170005
|
-
_cidrv6: () => _cidrv6,
|
|
170006
|
-
_cidrv4: () => _cidrv4,
|
|
170007
|
-
_check: () => _check,
|
|
170008
|
-
_catch: () => _catch,
|
|
170009
|
-
_boolean: () => _boolean,
|
|
170010
|
-
_bigint: () => _bigint,
|
|
170011
|
-
_base64url: () => _base64url,
|
|
170012
|
-
_base64: () => _base64,
|
|
170013
|
-
_array: () => _array,
|
|
170014
|
-
_any: () => _any,
|
|
170015
|
-
TimePrecision: () => TimePrecision,
|
|
170016
|
-
NEVER: () => NEVER,
|
|
170017
|
-
JSONSchemaGenerator: () => JSONSchemaGenerator,
|
|
170018
|
-
JSONSchema: () => exports_json_schema,
|
|
170019
|
-
Doc: () => Doc,
|
|
170020
|
-
$output: () => $output,
|
|
170021
|
-
$input: () => $input,
|
|
170022
|
-
$constructor: () => $constructor,
|
|
170023
|
-
$brand: () => $brand,
|
|
170024
|
-
$ZodXor: () => $ZodXor,
|
|
170025
|
-
$ZodXID: () => $ZodXID,
|
|
170026
|
-
$ZodVoid: () => $ZodVoid,
|
|
170027
|
-
$ZodUnknown: () => $ZodUnknown,
|
|
170028
|
-
$ZodUnion: () => $ZodUnion,
|
|
170029
|
-
$ZodUndefined: () => $ZodUndefined,
|
|
170030
|
-
$ZodUUID: () => $ZodUUID,
|
|
170031
|
-
$ZodURL: () => $ZodURL,
|
|
170032
|
-
$ZodULID: () => $ZodULID,
|
|
170033
|
-
$ZodType: () => $ZodType,
|
|
170034
|
-
$ZodTuple: () => $ZodTuple,
|
|
170035
|
-
$ZodTransform: () => $ZodTransform,
|
|
170036
|
-
$ZodTemplateLiteral: () => $ZodTemplateLiteral,
|
|
170037
|
-
$ZodSymbol: () => $ZodSymbol,
|
|
170038
|
-
$ZodSuccess: () => $ZodSuccess,
|
|
170039
|
-
$ZodStringFormat: () => $ZodStringFormat,
|
|
170040
|
-
$ZodString: () => $ZodString,
|
|
170041
|
-
$ZodSet: () => $ZodSet,
|
|
170042
|
-
$ZodRegistry: () => $ZodRegistry,
|
|
170043
|
-
$ZodRecord: () => $ZodRecord,
|
|
170044
|
-
$ZodRealError: () => $ZodRealError,
|
|
170045
|
-
$ZodReadonly: () => $ZodReadonly,
|
|
170046
|
-
$ZodPromise: () => $ZodPromise,
|
|
170047
|
-
$ZodPreprocess: () => $ZodPreprocess,
|
|
170048
|
-
$ZodPrefault: () => $ZodPrefault,
|
|
170049
|
-
$ZodPipe: () => $ZodPipe,
|
|
170050
|
-
$ZodOptional: () => $ZodOptional,
|
|
170051
|
-
$ZodObjectJIT: () => $ZodObjectJIT,
|
|
170052
|
-
$ZodObject: () => $ZodObject,
|
|
170053
|
-
$ZodNumberFormat: () => $ZodNumberFormat,
|
|
170054
|
-
$ZodNumber: () => $ZodNumber,
|
|
170055
|
-
$ZodNullable: () => $ZodNullable,
|
|
170056
|
-
$ZodNull: () => $ZodNull,
|
|
170057
|
-
$ZodNonOptional: () => $ZodNonOptional,
|
|
170058
|
-
$ZodNever: () => $ZodNever,
|
|
170059
|
-
$ZodNanoID: () => $ZodNanoID,
|
|
170060
|
-
$ZodNaN: () => $ZodNaN,
|
|
170061
|
-
$ZodMap: () => $ZodMap,
|
|
170062
|
-
$ZodMAC: () => $ZodMAC,
|
|
170063
|
-
$ZodLiteral: () => $ZodLiteral,
|
|
170064
|
-
$ZodLazy: () => $ZodLazy,
|
|
170065
|
-
$ZodKSUID: () => $ZodKSUID,
|
|
170066
|
-
$ZodJWT: () => $ZodJWT,
|
|
170067
|
-
$ZodIntersection: () => $ZodIntersection,
|
|
170068
|
-
$ZodISOTime: () => $ZodISOTime,
|
|
170069
|
-
$ZodISODuration: () => $ZodISODuration,
|
|
170070
|
-
$ZodISODateTime: () => $ZodISODateTime,
|
|
170071
|
-
$ZodISODate: () => $ZodISODate,
|
|
170072
|
-
$ZodIPv6: () => $ZodIPv6,
|
|
170073
|
-
$ZodIPv4: () => $ZodIPv4,
|
|
170074
|
-
$ZodGUID: () => $ZodGUID,
|
|
170075
|
-
$ZodFunction: () => $ZodFunction,
|
|
170076
|
-
$ZodFile: () => $ZodFile,
|
|
170077
|
-
$ZodExactOptional: () => $ZodExactOptional,
|
|
170078
|
-
$ZodError: () => $ZodError,
|
|
170079
|
-
$ZodEnum: () => $ZodEnum,
|
|
170080
|
-
$ZodEncodeError: () => $ZodEncodeError,
|
|
170081
|
-
$ZodEmoji: () => $ZodEmoji,
|
|
170082
|
-
$ZodEmail: () => $ZodEmail,
|
|
170083
|
-
$ZodE164: () => $ZodE164,
|
|
170084
|
-
$ZodDiscriminatedUnion: () => $ZodDiscriminatedUnion,
|
|
170085
|
-
$ZodDefault: () => $ZodDefault,
|
|
170086
|
-
$ZodDate: () => $ZodDate,
|
|
170087
|
-
$ZodCustomStringFormat: () => $ZodCustomStringFormat,
|
|
170088
|
-
$ZodCustom: () => $ZodCustom,
|
|
170089
|
-
$ZodCodec: () => $ZodCodec,
|
|
170090
|
-
$ZodCheckUpperCase: () => $ZodCheckUpperCase,
|
|
170091
|
-
$ZodCheckStringFormat: () => $ZodCheckStringFormat,
|
|
170092
|
-
$ZodCheckStartsWith: () => $ZodCheckStartsWith,
|
|
170093
|
-
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
|
|
170094
|
-
$ZodCheckRegex: () => $ZodCheckRegex,
|
|
170095
|
-
$ZodCheckProperty: () => $ZodCheckProperty,
|
|
170096
|
-
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
|
|
170097
|
-
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
|
|
170098
|
-
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
|
|
170099
|
-
$ZodCheckMinSize: () => $ZodCheckMinSize,
|
|
170100
|
-
$ZodCheckMinLength: () => $ZodCheckMinLength,
|
|
170101
|
-
$ZodCheckMimeType: () => $ZodCheckMimeType,
|
|
170102
|
-
$ZodCheckMaxSize: () => $ZodCheckMaxSize,
|
|
170103
|
-
$ZodCheckMaxLength: () => $ZodCheckMaxLength,
|
|
170104
|
-
$ZodCheckLowerCase: () => $ZodCheckLowerCase,
|
|
170105
|
-
$ZodCheckLessThan: () => $ZodCheckLessThan,
|
|
170106
|
-
$ZodCheckLengthEquals: () => $ZodCheckLengthEquals,
|
|
170107
|
-
$ZodCheckIncludes: () => $ZodCheckIncludes,
|
|
170108
|
-
$ZodCheckGreaterThan: () => $ZodCheckGreaterThan,
|
|
170109
|
-
$ZodCheckEndsWith: () => $ZodCheckEndsWith,
|
|
170110
|
-
$ZodCheckBigIntFormat: () => $ZodCheckBigIntFormat,
|
|
170111
|
-
$ZodCheck: () => $ZodCheck,
|
|
170112
|
-
$ZodCatch: () => $ZodCatch,
|
|
170113
|
-
$ZodCUID2: () => $ZodCUID2,
|
|
170114
|
-
$ZodCUID: () => $ZodCUID,
|
|
170115
|
-
$ZodCIDRv6: () => $ZodCIDRv6,
|
|
170116
|
-
$ZodCIDRv4: () => $ZodCIDRv4,
|
|
170117
|
-
$ZodBoolean: () => $ZodBoolean,
|
|
170118
|
-
$ZodBigIntFormat: () => $ZodBigIntFormat,
|
|
170119
|
-
$ZodBigInt: () => $ZodBigInt,
|
|
170120
|
-
$ZodBase64URL: () => $ZodBase64URL,
|
|
170121
|
-
$ZodBase64: () => $ZodBase64,
|
|
170122
|
-
$ZodAsyncError: () => $ZodAsyncError,
|
|
169853
|
+
$ZodAny: () => $ZodAny,
|
|
170123
169854
|
$ZodArray: () => $ZodArray,
|
|
170124
|
-
$
|
|
169855
|
+
$ZodAsyncError: () => $ZodAsyncError,
|
|
169856
|
+
$ZodBase64: () => $ZodBase64,
|
|
169857
|
+
$ZodBase64URL: () => $ZodBase64URL,
|
|
169858
|
+
$ZodBigInt: () => $ZodBigInt,
|
|
169859
|
+
$ZodBigIntFormat: () => $ZodBigIntFormat,
|
|
169860
|
+
$ZodBoolean: () => $ZodBoolean,
|
|
169861
|
+
$ZodCIDRv4: () => $ZodCIDRv4,
|
|
169862
|
+
$ZodCIDRv6: () => $ZodCIDRv6,
|
|
169863
|
+
$ZodCUID: () => $ZodCUID,
|
|
169864
|
+
$ZodCUID2: () => $ZodCUID2,
|
|
169865
|
+
$ZodCatch: () => $ZodCatch,
|
|
169866
|
+
$ZodCheck: () => $ZodCheck,
|
|
169867
|
+
$ZodCheckBigIntFormat: () => $ZodCheckBigIntFormat,
|
|
169868
|
+
$ZodCheckEndsWith: () => $ZodCheckEndsWith,
|
|
169869
|
+
$ZodCheckGreaterThan: () => $ZodCheckGreaterThan,
|
|
169870
|
+
$ZodCheckIncludes: () => $ZodCheckIncludes,
|
|
169871
|
+
$ZodCheckLengthEquals: () => $ZodCheckLengthEquals,
|
|
169872
|
+
$ZodCheckLessThan: () => $ZodCheckLessThan,
|
|
169873
|
+
$ZodCheckLowerCase: () => $ZodCheckLowerCase,
|
|
169874
|
+
$ZodCheckMaxLength: () => $ZodCheckMaxLength,
|
|
169875
|
+
$ZodCheckMaxSize: () => $ZodCheckMaxSize,
|
|
169876
|
+
$ZodCheckMimeType: () => $ZodCheckMimeType,
|
|
169877
|
+
$ZodCheckMinLength: () => $ZodCheckMinLength,
|
|
169878
|
+
$ZodCheckMinSize: () => $ZodCheckMinSize,
|
|
169879
|
+
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
|
|
169880
|
+
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
|
|
169881
|
+
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
|
|
169882
|
+
$ZodCheckProperty: () => $ZodCheckProperty,
|
|
169883
|
+
$ZodCheckRegex: () => $ZodCheckRegex,
|
|
169884
|
+
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
|
|
169885
|
+
$ZodCheckStartsWith: () => $ZodCheckStartsWith,
|
|
169886
|
+
$ZodCheckStringFormat: () => $ZodCheckStringFormat,
|
|
169887
|
+
$ZodCheckUpperCase: () => $ZodCheckUpperCase,
|
|
169888
|
+
$ZodCodec: () => $ZodCodec,
|
|
169889
|
+
$ZodCustom: () => $ZodCustom,
|
|
169890
|
+
$ZodCustomStringFormat: () => $ZodCustomStringFormat,
|
|
169891
|
+
$ZodDate: () => $ZodDate,
|
|
169892
|
+
$ZodDefault: () => $ZodDefault,
|
|
169893
|
+
$ZodDiscriminatedUnion: () => $ZodDiscriminatedUnion,
|
|
169894
|
+
$ZodE164: () => $ZodE164,
|
|
169895
|
+
$ZodEmail: () => $ZodEmail,
|
|
169896
|
+
$ZodEmoji: () => $ZodEmoji,
|
|
169897
|
+
$ZodEncodeError: () => $ZodEncodeError,
|
|
169898
|
+
$ZodEnum: () => $ZodEnum,
|
|
169899
|
+
$ZodError: () => $ZodError,
|
|
169900
|
+
$ZodExactOptional: () => $ZodExactOptional,
|
|
169901
|
+
$ZodFile: () => $ZodFile,
|
|
169902
|
+
$ZodFunction: () => $ZodFunction,
|
|
169903
|
+
$ZodGUID: () => $ZodGUID,
|
|
169904
|
+
$ZodIPv4: () => $ZodIPv4,
|
|
169905
|
+
$ZodIPv6: () => $ZodIPv6,
|
|
169906
|
+
$ZodISODate: () => $ZodISODate,
|
|
169907
|
+
$ZodISODateTime: () => $ZodISODateTime,
|
|
169908
|
+
$ZodISODuration: () => $ZodISODuration,
|
|
169909
|
+
$ZodISOTime: () => $ZodISOTime,
|
|
169910
|
+
$ZodIntersection: () => $ZodIntersection,
|
|
169911
|
+
$ZodJWT: () => $ZodJWT,
|
|
169912
|
+
$ZodKSUID: () => $ZodKSUID,
|
|
169913
|
+
$ZodLazy: () => $ZodLazy,
|
|
169914
|
+
$ZodLiteral: () => $ZodLiteral,
|
|
169915
|
+
$ZodMAC: () => $ZodMAC,
|
|
169916
|
+
$ZodMap: () => $ZodMap,
|
|
169917
|
+
$ZodNaN: () => $ZodNaN,
|
|
169918
|
+
$ZodNanoID: () => $ZodNanoID,
|
|
169919
|
+
$ZodNever: () => $ZodNever,
|
|
169920
|
+
$ZodNonOptional: () => $ZodNonOptional,
|
|
169921
|
+
$ZodNull: () => $ZodNull,
|
|
169922
|
+
$ZodNullable: () => $ZodNullable,
|
|
169923
|
+
$ZodNumber: () => $ZodNumber,
|
|
169924
|
+
$ZodNumberFormat: () => $ZodNumberFormat,
|
|
169925
|
+
$ZodObject: () => $ZodObject,
|
|
169926
|
+
$ZodObjectJIT: () => $ZodObjectJIT,
|
|
169927
|
+
$ZodOptional: () => $ZodOptional,
|
|
169928
|
+
$ZodPipe: () => $ZodPipe,
|
|
169929
|
+
$ZodPrefault: () => $ZodPrefault,
|
|
169930
|
+
$ZodPreprocess: () => $ZodPreprocess,
|
|
169931
|
+
$ZodPromise: () => $ZodPromise,
|
|
169932
|
+
$ZodReadonly: () => $ZodReadonly,
|
|
169933
|
+
$ZodRealError: () => $ZodRealError,
|
|
169934
|
+
$ZodRecord: () => $ZodRecord,
|
|
169935
|
+
$ZodRegistry: () => $ZodRegistry,
|
|
169936
|
+
$ZodSet: () => $ZodSet,
|
|
169937
|
+
$ZodString: () => $ZodString,
|
|
169938
|
+
$ZodStringFormat: () => $ZodStringFormat,
|
|
169939
|
+
$ZodSuccess: () => $ZodSuccess,
|
|
169940
|
+
$ZodSymbol: () => $ZodSymbol,
|
|
169941
|
+
$ZodTemplateLiteral: () => $ZodTemplateLiteral,
|
|
169942
|
+
$ZodTransform: () => $ZodTransform,
|
|
169943
|
+
$ZodTuple: () => $ZodTuple,
|
|
169944
|
+
$ZodType: () => $ZodType,
|
|
169945
|
+
$ZodULID: () => $ZodULID,
|
|
169946
|
+
$ZodURL: () => $ZodURL,
|
|
169947
|
+
$ZodUUID: () => $ZodUUID,
|
|
169948
|
+
$ZodUndefined: () => $ZodUndefined,
|
|
169949
|
+
$ZodUnion: () => $ZodUnion,
|
|
169950
|
+
$ZodUnknown: () => $ZodUnknown,
|
|
169951
|
+
$ZodVoid: () => $ZodVoid,
|
|
169952
|
+
$ZodXID: () => $ZodXID,
|
|
169953
|
+
$ZodXor: () => $ZodXor,
|
|
169954
|
+
$brand: () => $brand,
|
|
169955
|
+
$constructor: () => $constructor,
|
|
169956
|
+
$input: () => $input,
|
|
169957
|
+
$output: () => $output,
|
|
169958
|
+
Doc: () => Doc,
|
|
169959
|
+
JSONSchema: () => exports_json_schema,
|
|
169960
|
+
JSONSchemaGenerator: () => JSONSchemaGenerator,
|
|
169961
|
+
NEVER: () => NEVER,
|
|
169962
|
+
TimePrecision: () => TimePrecision,
|
|
169963
|
+
_any: () => _any,
|
|
169964
|
+
_array: () => _array,
|
|
169965
|
+
_base64: () => _base64,
|
|
169966
|
+
_base64url: () => _base64url,
|
|
169967
|
+
_bigint: () => _bigint,
|
|
169968
|
+
_boolean: () => _boolean,
|
|
169969
|
+
_catch: () => _catch,
|
|
169970
|
+
_check: () => _check,
|
|
169971
|
+
_cidrv4: () => _cidrv4,
|
|
169972
|
+
_cidrv6: () => _cidrv6,
|
|
169973
|
+
_coercedBigint: () => _coercedBigint,
|
|
169974
|
+
_coercedBoolean: () => _coercedBoolean,
|
|
169975
|
+
_coercedDate: () => _coercedDate,
|
|
169976
|
+
_coercedNumber: () => _coercedNumber,
|
|
169977
|
+
_coercedString: () => _coercedString,
|
|
169978
|
+
_cuid: () => _cuid,
|
|
169979
|
+
_cuid2: () => _cuid2,
|
|
169980
|
+
_custom: () => _custom,
|
|
169981
|
+
_date: () => _date,
|
|
169982
|
+
_decode: () => _decode,
|
|
169983
|
+
_decodeAsync: () => _decodeAsync,
|
|
169984
|
+
_default: () => _default,
|
|
169985
|
+
_discriminatedUnion: () => _discriminatedUnion,
|
|
169986
|
+
_e164: () => _e164,
|
|
169987
|
+
_email: () => _email,
|
|
169988
|
+
_emoji: () => _emoji2,
|
|
169989
|
+
_encode: () => _encode,
|
|
169990
|
+
_encodeAsync: () => _encodeAsync,
|
|
169991
|
+
_endsWith: () => _endsWith,
|
|
169992
|
+
_enum: () => _enum,
|
|
169993
|
+
_file: () => _file,
|
|
169994
|
+
_float32: () => _float32,
|
|
169995
|
+
_float64: () => _float64,
|
|
169996
|
+
_gt: () => _gt,
|
|
169997
|
+
_gte: () => _gte,
|
|
169998
|
+
_guid: () => _guid,
|
|
169999
|
+
_includes: () => _includes,
|
|
170000
|
+
_int: () => _int,
|
|
170001
|
+
_int32: () => _int32,
|
|
170002
|
+
_int64: () => _int64,
|
|
170003
|
+
_intersection: () => _intersection,
|
|
170004
|
+
_ipv4: () => _ipv4,
|
|
170005
|
+
_ipv6: () => _ipv6,
|
|
170006
|
+
_isoDate: () => _isoDate,
|
|
170007
|
+
_isoDateTime: () => _isoDateTime,
|
|
170008
|
+
_isoDuration: () => _isoDuration,
|
|
170009
|
+
_isoTime: () => _isoTime,
|
|
170010
|
+
_jwt: () => _jwt,
|
|
170011
|
+
_ksuid: () => _ksuid,
|
|
170012
|
+
_lazy: () => _lazy,
|
|
170013
|
+
_length: () => _length,
|
|
170014
|
+
_literal: () => _literal,
|
|
170015
|
+
_lowercase: () => _lowercase,
|
|
170016
|
+
_lt: () => _lt,
|
|
170017
|
+
_lte: () => _lte,
|
|
170018
|
+
_mac: () => _mac,
|
|
170019
|
+
_map: () => _map,
|
|
170020
|
+
_max: () => _lte,
|
|
170021
|
+
_maxLength: () => _maxLength,
|
|
170022
|
+
_maxSize: () => _maxSize,
|
|
170023
|
+
_mime: () => _mime,
|
|
170024
|
+
_min: () => _gte,
|
|
170025
|
+
_minLength: () => _minLength,
|
|
170026
|
+
_minSize: () => _minSize,
|
|
170027
|
+
_multipleOf: () => _multipleOf,
|
|
170028
|
+
_nan: () => _nan,
|
|
170029
|
+
_nanoid: () => _nanoid,
|
|
170030
|
+
_nativeEnum: () => _nativeEnum,
|
|
170031
|
+
_negative: () => _negative,
|
|
170032
|
+
_never: () => _never,
|
|
170033
|
+
_nonnegative: () => _nonnegative,
|
|
170034
|
+
_nonoptional: () => _nonoptional,
|
|
170035
|
+
_nonpositive: () => _nonpositive,
|
|
170036
|
+
_normalize: () => _normalize,
|
|
170037
|
+
_null: () => _null2,
|
|
170038
|
+
_nullable: () => _nullable,
|
|
170039
|
+
_number: () => _number,
|
|
170040
|
+
_optional: () => _optional,
|
|
170041
|
+
_overwrite: () => _overwrite,
|
|
170042
|
+
_parse: () => _parse,
|
|
170043
|
+
_parseAsync: () => _parseAsync,
|
|
170044
|
+
_pipe: () => _pipe,
|
|
170045
|
+
_positive: () => _positive,
|
|
170046
|
+
_promise: () => _promise,
|
|
170047
|
+
_property: () => _property,
|
|
170048
|
+
_readonly: () => _readonly,
|
|
170049
|
+
_record: () => _record,
|
|
170050
|
+
_refine: () => _refine,
|
|
170051
|
+
_regex: () => _regex,
|
|
170052
|
+
_safeDecode: () => _safeDecode,
|
|
170053
|
+
_safeDecodeAsync: () => _safeDecodeAsync,
|
|
170054
|
+
_safeEncode: () => _safeEncode,
|
|
170055
|
+
_safeEncodeAsync: () => _safeEncodeAsync,
|
|
170056
|
+
_safeParse: () => _safeParse,
|
|
170057
|
+
_safeParseAsync: () => _safeParseAsync,
|
|
170058
|
+
_set: () => _set,
|
|
170059
|
+
_size: () => _size,
|
|
170060
|
+
_slugify: () => _slugify,
|
|
170061
|
+
_startsWith: () => _startsWith,
|
|
170062
|
+
_string: () => _string,
|
|
170063
|
+
_stringFormat: () => _stringFormat,
|
|
170064
|
+
_stringbool: () => _stringbool,
|
|
170065
|
+
_success: () => _success,
|
|
170066
|
+
_superRefine: () => _superRefine,
|
|
170067
|
+
_symbol: () => _symbol,
|
|
170068
|
+
_templateLiteral: () => _templateLiteral,
|
|
170069
|
+
_toLowerCase: () => _toLowerCase,
|
|
170070
|
+
_toUpperCase: () => _toUpperCase,
|
|
170071
|
+
_transform: () => _transform,
|
|
170072
|
+
_trim: () => _trim,
|
|
170073
|
+
_tuple: () => _tuple,
|
|
170074
|
+
_uint32: () => _uint32,
|
|
170075
|
+
_uint64: () => _uint64,
|
|
170076
|
+
_ulid: () => _ulid,
|
|
170077
|
+
_undefined: () => _undefined2,
|
|
170078
|
+
_union: () => _union,
|
|
170079
|
+
_unknown: () => _unknown,
|
|
170080
|
+
_uppercase: () => _uppercase,
|
|
170081
|
+
_url: () => _url,
|
|
170082
|
+
_uuid: () => _uuid,
|
|
170083
|
+
_uuidv4: () => _uuidv4,
|
|
170084
|
+
_uuidv6: () => _uuidv6,
|
|
170085
|
+
_uuidv7: () => _uuidv7,
|
|
170086
|
+
_void: () => _void,
|
|
170087
|
+
_xid: () => _xid,
|
|
170088
|
+
_xor: () => _xor,
|
|
170089
|
+
clone: () => clone,
|
|
170090
|
+
config: () => config,
|
|
170091
|
+
createStandardJSONSchemaMethod: () => createStandardJSONSchemaMethod,
|
|
170092
|
+
createToJSONSchemaMethod: () => createToJSONSchemaMethod,
|
|
170093
|
+
decode: () => decode,
|
|
170094
|
+
decodeAsync: () => decodeAsync,
|
|
170095
|
+
describe: () => describe,
|
|
170096
|
+
encode: () => encode,
|
|
170097
|
+
encodeAsync: () => encodeAsync,
|
|
170098
|
+
extractDefs: () => extractDefs,
|
|
170099
|
+
finalize: () => finalize,
|
|
170100
|
+
flattenError: () => flattenError,
|
|
170101
|
+
formatError: () => formatError,
|
|
170102
|
+
globalConfig: () => globalConfig,
|
|
170103
|
+
globalRegistry: () => globalRegistry,
|
|
170104
|
+
initializeContext: () => initializeContext,
|
|
170105
|
+
isValidBase64: () => isValidBase64,
|
|
170106
|
+
isValidBase64URL: () => isValidBase64URL,
|
|
170107
|
+
isValidJWT: () => isValidJWT,
|
|
170108
|
+
locales: () => exports_locales,
|
|
170109
|
+
meta: () => meta,
|
|
170110
|
+
parse: () => parse,
|
|
170111
|
+
parseAsync: () => parseAsync,
|
|
170112
|
+
prettifyError: () => prettifyError,
|
|
170113
|
+
process: () => process2,
|
|
170114
|
+
regexes: () => exports_regexes,
|
|
170115
|
+
registry: () => registry,
|
|
170116
|
+
safeDecode: () => safeDecode,
|
|
170117
|
+
safeDecodeAsync: () => safeDecodeAsync,
|
|
170118
|
+
safeEncode: () => safeEncode,
|
|
170119
|
+
safeEncodeAsync: () => safeEncodeAsync,
|
|
170120
|
+
safeParse: () => safeParse,
|
|
170121
|
+
safeParseAsync: () => safeParseAsync,
|
|
170122
|
+
toDotPath: () => toDotPath,
|
|
170123
|
+
toJSONSchema: () => toJSONSchema,
|
|
170124
|
+
treeifyError: () => treeifyError,
|
|
170125
|
+
util: () => exports_util,
|
|
170126
|
+
version: () => version
|
|
170125
170127
|
});
|
|
170126
170128
|
|
|
170127
170129
|
// node_modules/zod/v4/core/core.js
|
|
@@ -170205,69 +170207,69 @@ function config(newConfig) {
|
|
|
170205
170207
|
// node_modules/zod/v4/core/util.js
|
|
170206
170208
|
var exports_util = {};
|
|
170207
170209
|
__export(exports_util, {
|
|
170208
|
-
|
|
170209
|
-
uint8ArrayToHex: () => uint8ArrayToHex,
|
|
170210
|
-
uint8ArrayToBase64url: () => uint8ArrayToBase64url,
|
|
170211
|
-
uint8ArrayToBase64: () => uint8ArrayToBase64,
|
|
170212
|
-
stringifyPrimitive: () => stringifyPrimitive,
|
|
170213
|
-
slugify: () => slugify,
|
|
170214
|
-
shallowClone: () => shallowClone,
|
|
170215
|
-
safeExtend: () => safeExtend,
|
|
170216
|
-
required: () => required,
|
|
170217
|
-
randomString: () => randomString,
|
|
170218
|
-
propertyKeyTypes: () => propertyKeyTypes,
|
|
170219
|
-
promiseAllObject: () => promiseAllObject,
|
|
170220
|
-
primitiveTypes: () => primitiveTypes,
|
|
170221
|
-
prefixIssues: () => prefixIssues,
|
|
170222
|
-
pick: () => pick,
|
|
170223
|
-
partial: () => partial,
|
|
170224
|
-
parsedType: () => parsedType,
|
|
170225
|
-
optionalKeys: () => optionalKeys,
|
|
170226
|
-
omit: () => omit,
|
|
170227
|
-
objectClone: () => objectClone,
|
|
170228
|
-
numKeys: () => numKeys,
|
|
170229
|
-
nullish: () => nullish,
|
|
170230
|
-
normalizeParams: () => normalizeParams,
|
|
170231
|
-
mergeDefs: () => mergeDefs,
|
|
170232
|
-
merge: () => merge,
|
|
170233
|
-
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
170234
|
-
joinValues: () => joinValues,
|
|
170235
|
-
issue: () => issue,
|
|
170236
|
-
isPlainObject: () => isPlainObject,
|
|
170237
|
-
isObject: () => isObject,
|
|
170238
|
-
hexToUint8Array: () => hexToUint8Array,
|
|
170239
|
-
getSizableOrigin: () => getSizableOrigin,
|
|
170240
|
-
getParsedType: () => getParsedType,
|
|
170241
|
-
getLengthableOrigin: () => getLengthableOrigin,
|
|
170242
|
-
getEnumValues: () => getEnumValues,
|
|
170243
|
-
getElementAtPath: () => getElementAtPath,
|
|
170244
|
-
floatSafeRemainder: () => floatSafeRemainder,
|
|
170245
|
-
finalizeIssue: () => finalizeIssue,
|
|
170246
|
-
extend: () => extend,
|
|
170247
|
-
explicitlyAborted: () => explicitlyAborted,
|
|
170248
|
-
escapeRegex: () => escapeRegex,
|
|
170249
|
-
esc: () => esc,
|
|
170250
|
-
defineLazy: () => defineLazy,
|
|
170251
|
-
createTransparentProxy: () => createTransparentProxy,
|
|
170252
|
-
cloneDef: () => cloneDef,
|
|
170253
|
-
clone: () => clone,
|
|
170254
|
-
cleanRegex: () => cleanRegex,
|
|
170255
|
-
cleanEnum: () => cleanEnum,
|
|
170256
|
-
captureStackTrace: () => captureStackTrace,
|
|
170257
|
-
cached: () => cached,
|
|
170258
|
-
base64urlToUint8Array: () => base64urlToUint8Array,
|
|
170259
|
-
base64ToUint8Array: () => base64ToUint8Array,
|
|
170260
|
-
assignProp: () => assignProp,
|
|
170261
|
-
assertNotEqual: () => assertNotEqual,
|
|
170262
|
-
assertNever: () => assertNever,
|
|
170263
|
-
assertIs: () => assertIs,
|
|
170264
|
-
assertEqual: () => assertEqual,
|
|
170265
|
-
assert: () => assert,
|
|
170266
|
-
allowsEval: () => allowsEval,
|
|
170267
|
-
aborted: () => aborted,
|
|
170268
|
-
NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
|
|
170210
|
+
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
170269
170211
|
Class: () => Class,
|
|
170270
|
-
|
|
170212
|
+
NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
|
|
170213
|
+
aborted: () => aborted,
|
|
170214
|
+
allowsEval: () => allowsEval,
|
|
170215
|
+
assert: () => assert,
|
|
170216
|
+
assertEqual: () => assertEqual,
|
|
170217
|
+
assertIs: () => assertIs,
|
|
170218
|
+
assertNever: () => assertNever,
|
|
170219
|
+
assertNotEqual: () => assertNotEqual,
|
|
170220
|
+
assignProp: () => assignProp,
|
|
170221
|
+
base64ToUint8Array: () => base64ToUint8Array,
|
|
170222
|
+
base64urlToUint8Array: () => base64urlToUint8Array,
|
|
170223
|
+
cached: () => cached,
|
|
170224
|
+
captureStackTrace: () => captureStackTrace,
|
|
170225
|
+
cleanEnum: () => cleanEnum,
|
|
170226
|
+
cleanRegex: () => cleanRegex,
|
|
170227
|
+
clone: () => clone,
|
|
170228
|
+
cloneDef: () => cloneDef,
|
|
170229
|
+
createTransparentProxy: () => createTransparentProxy,
|
|
170230
|
+
defineLazy: () => defineLazy,
|
|
170231
|
+
esc: () => esc,
|
|
170232
|
+
escapeRegex: () => escapeRegex,
|
|
170233
|
+
explicitlyAborted: () => explicitlyAborted,
|
|
170234
|
+
extend: () => extend,
|
|
170235
|
+
finalizeIssue: () => finalizeIssue,
|
|
170236
|
+
floatSafeRemainder: () => floatSafeRemainder,
|
|
170237
|
+
getElementAtPath: () => getElementAtPath,
|
|
170238
|
+
getEnumValues: () => getEnumValues,
|
|
170239
|
+
getLengthableOrigin: () => getLengthableOrigin,
|
|
170240
|
+
getParsedType: () => getParsedType,
|
|
170241
|
+
getSizableOrigin: () => getSizableOrigin,
|
|
170242
|
+
hexToUint8Array: () => hexToUint8Array,
|
|
170243
|
+
isObject: () => isObject,
|
|
170244
|
+
isPlainObject: () => isPlainObject,
|
|
170245
|
+
issue: () => issue,
|
|
170246
|
+
joinValues: () => joinValues,
|
|
170247
|
+
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
170248
|
+
merge: () => merge,
|
|
170249
|
+
mergeDefs: () => mergeDefs,
|
|
170250
|
+
normalizeParams: () => normalizeParams,
|
|
170251
|
+
nullish: () => nullish,
|
|
170252
|
+
numKeys: () => numKeys,
|
|
170253
|
+
objectClone: () => objectClone,
|
|
170254
|
+
omit: () => omit,
|
|
170255
|
+
optionalKeys: () => optionalKeys,
|
|
170256
|
+
parsedType: () => parsedType,
|
|
170257
|
+
partial: () => partial,
|
|
170258
|
+
pick: () => pick,
|
|
170259
|
+
prefixIssues: () => prefixIssues,
|
|
170260
|
+
primitiveTypes: () => primitiveTypes,
|
|
170261
|
+
promiseAllObject: () => promiseAllObject,
|
|
170262
|
+
propertyKeyTypes: () => propertyKeyTypes,
|
|
170263
|
+
randomString: () => randomString,
|
|
170264
|
+
required: () => required,
|
|
170265
|
+
safeExtend: () => safeExtend,
|
|
170266
|
+
shallowClone: () => shallowClone,
|
|
170267
|
+
slugify: () => slugify,
|
|
170268
|
+
stringifyPrimitive: () => stringifyPrimitive,
|
|
170269
|
+
uint8ArrayToBase64: () => uint8ArrayToBase64,
|
|
170270
|
+
uint8ArrayToBase64url: () => uint8ArrayToBase64url,
|
|
170271
|
+
uint8ArrayToHex: () => uint8ArrayToHex,
|
|
170272
|
+
unwrapMessage: () => unwrapMessage
|
|
170271
170273
|
});
|
|
170272
170274
|
function assertEqual(val) {
|
|
170273
170275
|
return val;
|
|
@@ -171124,65 +171126,65 @@ var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
|
171124
171126
|
// node_modules/zod/v4/core/regexes.js
|
|
171125
171127
|
var exports_regexes = {};
|
|
171126
171128
|
__export(exports_regexes, {
|
|
171127
|
-
|
|
171128
|
-
uuid7: () => uuid7,
|
|
171129
|
-
uuid6: () => uuid6,
|
|
171130
|
-
uuid4: () => uuid4,
|
|
171131
|
-
uuid: () => uuid,
|
|
171132
|
-
uppercase: () => uppercase,
|
|
171133
|
-
unicodeEmail: () => unicodeEmail,
|
|
171134
|
-
undefined: () => _undefined,
|
|
171135
|
-
ulid: () => ulid,
|
|
171136
|
-
time: () => time,
|
|
171137
|
-
string: () => string,
|
|
171138
|
-
sha512_hex: () => sha512_hex,
|
|
171139
|
-
sha512_base64url: () => sha512_base64url,
|
|
171140
|
-
sha512_base64: () => sha512_base64,
|
|
171141
|
-
sha384_hex: () => sha384_hex,
|
|
171142
|
-
sha384_base64url: () => sha384_base64url,
|
|
171143
|
-
sha384_base64: () => sha384_base64,
|
|
171144
|
-
sha256_hex: () => sha256_hex,
|
|
171145
|
-
sha256_base64url: () => sha256_base64url,
|
|
171146
|
-
sha256_base64: () => sha256_base64,
|
|
171147
|
-
sha1_hex: () => sha1_hex,
|
|
171148
|
-
sha1_base64url: () => sha1_base64url,
|
|
171149
|
-
sha1_base64: () => sha1_base64,
|
|
171150
|
-
rfc5322Email: () => rfc5322Email,
|
|
171151
|
-
number: () => number,
|
|
171152
|
-
null: () => _null,
|
|
171153
|
-
nanoid: () => nanoid,
|
|
171154
|
-
md5_hex: () => md5_hex,
|
|
171155
|
-
md5_base64url: () => md5_base64url,
|
|
171156
|
-
md5_base64: () => md5_base64,
|
|
171157
|
-
mac: () => mac,
|
|
171158
|
-
lowercase: () => lowercase,
|
|
171159
|
-
ksuid: () => ksuid,
|
|
171160
|
-
ipv6: () => ipv6,
|
|
171161
|
-
ipv4: () => ipv4,
|
|
171162
|
-
integer: () => integer,
|
|
171163
|
-
idnEmail: () => idnEmail,
|
|
171164
|
-
httpProtocol: () => httpProtocol,
|
|
171165
|
-
html5Email: () => html5Email,
|
|
171166
|
-
hostname: () => hostname,
|
|
171167
|
-
hex: () => hex,
|
|
171168
|
-
guid: () => guid,
|
|
171169
|
-
extendedDuration: () => extendedDuration,
|
|
171170
|
-
emoji: () => emoji,
|
|
171171
|
-
email: () => email,
|
|
171172
|
-
e164: () => e164,
|
|
171173
|
-
duration: () => duration,
|
|
171174
|
-
domain: () => domain,
|
|
171175
|
-
datetime: () => datetime,
|
|
171176
|
-
date: () => date,
|
|
171177
|
-
cuid2: () => cuid2,
|
|
171178
|
-
cuid: () => cuid,
|
|
171179
|
-
cidrv6: () => cidrv6,
|
|
171180
|
-
cidrv4: () => cidrv4,
|
|
171181
|
-
browserEmail: () => browserEmail,
|
|
171182
|
-
boolean: () => boolean,
|
|
171183
|
-
bigint: () => bigint,
|
|
171129
|
+
base64: () => base64,
|
|
171184
171130
|
base64url: () => base64url,
|
|
171185
|
-
|
|
171131
|
+
bigint: () => bigint,
|
|
171132
|
+
boolean: () => boolean,
|
|
171133
|
+
browserEmail: () => browserEmail,
|
|
171134
|
+
cidrv4: () => cidrv4,
|
|
171135
|
+
cidrv6: () => cidrv6,
|
|
171136
|
+
cuid: () => cuid,
|
|
171137
|
+
cuid2: () => cuid2,
|
|
171138
|
+
date: () => date,
|
|
171139
|
+
datetime: () => datetime,
|
|
171140
|
+
domain: () => domain,
|
|
171141
|
+
duration: () => duration,
|
|
171142
|
+
e164: () => e164,
|
|
171143
|
+
email: () => email,
|
|
171144
|
+
emoji: () => emoji,
|
|
171145
|
+
extendedDuration: () => extendedDuration,
|
|
171146
|
+
guid: () => guid,
|
|
171147
|
+
hex: () => hex,
|
|
171148
|
+
hostname: () => hostname,
|
|
171149
|
+
html5Email: () => html5Email,
|
|
171150
|
+
httpProtocol: () => httpProtocol,
|
|
171151
|
+
idnEmail: () => idnEmail,
|
|
171152
|
+
integer: () => integer,
|
|
171153
|
+
ipv4: () => ipv4,
|
|
171154
|
+
ipv6: () => ipv6,
|
|
171155
|
+
ksuid: () => ksuid,
|
|
171156
|
+
lowercase: () => lowercase,
|
|
171157
|
+
mac: () => mac,
|
|
171158
|
+
md5_base64: () => md5_base64,
|
|
171159
|
+
md5_base64url: () => md5_base64url,
|
|
171160
|
+
md5_hex: () => md5_hex,
|
|
171161
|
+
nanoid: () => nanoid,
|
|
171162
|
+
null: () => _null,
|
|
171163
|
+
number: () => number,
|
|
171164
|
+
rfc5322Email: () => rfc5322Email,
|
|
171165
|
+
sha1_base64: () => sha1_base64,
|
|
171166
|
+
sha1_base64url: () => sha1_base64url,
|
|
171167
|
+
sha1_hex: () => sha1_hex,
|
|
171168
|
+
sha256_base64: () => sha256_base64,
|
|
171169
|
+
sha256_base64url: () => sha256_base64url,
|
|
171170
|
+
sha256_hex: () => sha256_hex,
|
|
171171
|
+
sha384_base64: () => sha384_base64,
|
|
171172
|
+
sha384_base64url: () => sha384_base64url,
|
|
171173
|
+
sha384_hex: () => sha384_hex,
|
|
171174
|
+
sha512_base64: () => sha512_base64,
|
|
171175
|
+
sha512_base64url: () => sha512_base64url,
|
|
171176
|
+
sha512_hex: () => sha512_hex,
|
|
171177
|
+
string: () => string,
|
|
171178
|
+
time: () => time,
|
|
171179
|
+
ulid: () => ulid,
|
|
171180
|
+
undefined: () => _undefined,
|
|
171181
|
+
unicodeEmail: () => unicodeEmail,
|
|
171182
|
+
uppercase: () => uppercase,
|
|
171183
|
+
uuid: () => uuid,
|
|
171184
|
+
uuid4: () => uuid4,
|
|
171185
|
+
uuid6: () => uuid6,
|
|
171186
|
+
uuid7: () => uuid7,
|
|
171187
|
+
xid: () => xid
|
|
171186
171188
|
});
|
|
171187
171189
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
171188
171190
|
var cuid2 = /^[0-9a-z]+$/;
|
|
@@ -173959,58 +173961,58 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
173959
173961
|
// node_modules/zod/v4/locales/index.js
|
|
173960
173962
|
var exports_locales = {};
|
|
173961
173963
|
__export(exports_locales, {
|
|
173962
|
-
|
|
173963
|
-
zhCN: () => zh_CN_default,
|
|
173964
|
-
yo: () => yo_default,
|
|
173965
|
-
vi: () => vi_default,
|
|
173966
|
-
uz: () => uz_default,
|
|
173967
|
-
ur: () => ur_default,
|
|
173968
|
-
uk: () => uk_default,
|
|
173969
|
-
ua: () => ua_default,
|
|
173970
|
-
tr: () => tr_default,
|
|
173971
|
-
th: () => th_default,
|
|
173972
|
-
ta: () => ta_default,
|
|
173973
|
-
sv: () => sv_default,
|
|
173974
|
-
sl: () => sl_default,
|
|
173975
|
-
ru: () => ru_default,
|
|
173976
|
-
ro: () => ro_default,
|
|
173977
|
-
pt: () => pt_default,
|
|
173978
|
-
ps: () => ps_default,
|
|
173979
|
-
pl: () => pl_default,
|
|
173980
|
-
ota: () => ota_default,
|
|
173981
|
-
no: () => no_default,
|
|
173982
|
-
nl: () => nl_default,
|
|
173983
|
-
ms: () => ms_default,
|
|
173984
|
-
mk: () => mk_default,
|
|
173985
|
-
lt: () => lt_default,
|
|
173986
|
-
ko: () => ko_default,
|
|
173987
|
-
km: () => km_default,
|
|
173988
|
-
kh: () => kh_default,
|
|
173989
|
-
ka: () => ka_default,
|
|
173990
|
-
ja: () => ja_default,
|
|
173991
|
-
it: () => it_default,
|
|
173992
|
-
is: () => is_default,
|
|
173993
|
-
id: () => id_default,
|
|
173994
|
-
hy: () => hy_default,
|
|
173995
|
-
hu: () => hu_default,
|
|
173996
|
-
hr: () => hr_default,
|
|
173997
|
-
he: () => he_default,
|
|
173998
|
-
frCA: () => fr_CA_default,
|
|
173999
|
-
fr: () => fr_default,
|
|
174000
|
-
fi: () => fi_default,
|
|
174001
|
-
fa: () => fa_default,
|
|
174002
|
-
es: () => es_default,
|
|
174003
|
-
eo: () => eo_default,
|
|
174004
|
-
en: () => en_default,
|
|
174005
|
-
el: () => el_default,
|
|
174006
|
-
de: () => de_default,
|
|
174007
|
-
da: () => da_default,
|
|
174008
|
-
cs: () => cs_default,
|
|
174009
|
-
ca: () => ca_default,
|
|
174010
|
-
bg: () => bg_default,
|
|
174011
|
-
be: () => be_default,
|
|
173964
|
+
ar: () => ar_default,
|
|
174012
173965
|
az: () => az_default,
|
|
174013
|
-
|
|
173966
|
+
be: () => be_default,
|
|
173967
|
+
bg: () => bg_default,
|
|
173968
|
+
ca: () => ca_default,
|
|
173969
|
+
cs: () => cs_default,
|
|
173970
|
+
da: () => da_default,
|
|
173971
|
+
de: () => de_default,
|
|
173972
|
+
el: () => el_default,
|
|
173973
|
+
en: () => en_default,
|
|
173974
|
+
eo: () => eo_default,
|
|
173975
|
+
es: () => es_default,
|
|
173976
|
+
fa: () => fa_default,
|
|
173977
|
+
fi: () => fi_default,
|
|
173978
|
+
fr: () => fr_default,
|
|
173979
|
+
frCA: () => fr_CA_default,
|
|
173980
|
+
he: () => he_default,
|
|
173981
|
+
hr: () => hr_default,
|
|
173982
|
+
hu: () => hu_default,
|
|
173983
|
+
hy: () => hy_default,
|
|
173984
|
+
id: () => id_default,
|
|
173985
|
+
is: () => is_default,
|
|
173986
|
+
it: () => it_default,
|
|
173987
|
+
ja: () => ja_default,
|
|
173988
|
+
ka: () => ka_default,
|
|
173989
|
+
kh: () => kh_default,
|
|
173990
|
+
km: () => km_default,
|
|
173991
|
+
ko: () => ko_default,
|
|
173992
|
+
lt: () => lt_default,
|
|
173993
|
+
mk: () => mk_default,
|
|
173994
|
+
ms: () => ms_default,
|
|
173995
|
+
nl: () => nl_default,
|
|
173996
|
+
no: () => no_default,
|
|
173997
|
+
ota: () => ota_default,
|
|
173998
|
+
pl: () => pl_default,
|
|
173999
|
+
ps: () => ps_default,
|
|
174000
|
+
pt: () => pt_default,
|
|
174001
|
+
ro: () => ro_default,
|
|
174002
|
+
ru: () => ru_default,
|
|
174003
|
+
sl: () => sl_default,
|
|
174004
|
+
sv: () => sv_default,
|
|
174005
|
+
ta: () => ta_default,
|
|
174006
|
+
th: () => th_default,
|
|
174007
|
+
tr: () => tr_default,
|
|
174008
|
+
ua: () => ua_default,
|
|
174009
|
+
uk: () => uk_default,
|
|
174010
|
+
ur: () => ur_default,
|
|
174011
|
+
uz: () => uz_default,
|
|
174012
|
+
vi: () => vi_default,
|
|
174013
|
+
yo: () => yo_default,
|
|
174014
|
+
zhCN: () => zh_CN_default,
|
|
174015
|
+
zhTW: () => zh_TW_default
|
|
174014
174016
|
});
|
|
174015
174017
|
|
|
174016
174018
|
// node_modules/zod/v4/locales/ar.js
|
|
@@ -181781,219 +181783,219 @@ var exports_json_schema = {};
|
|
|
181781
181783
|
// node_modules/zod/v4/classic/schemas.js
|
|
181782
181784
|
var exports_schemas2 = {};
|
|
181783
181785
|
__export(exports_schemas2, {
|
|
181784
|
-
|
|
181785
|
-
xid: () => xid2,
|
|
181786
|
-
void: () => _void2,
|
|
181787
|
-
uuidv7: () => uuidv7,
|
|
181788
|
-
uuidv6: () => uuidv6,
|
|
181789
|
-
uuidv4: () => uuidv4,
|
|
181790
|
-
uuid: () => uuid2,
|
|
181791
|
-
url: () => url,
|
|
181792
|
-
unknown: () => unknown,
|
|
181793
|
-
union: () => union,
|
|
181794
|
-
undefined: () => _undefined3,
|
|
181795
|
-
ulid: () => ulid2,
|
|
181796
|
-
uint64: () => uint64,
|
|
181797
|
-
uint32: () => uint32,
|
|
181798
|
-
tuple: () => tuple,
|
|
181799
|
-
transform: () => transform,
|
|
181800
|
-
templateLiteral: () => templateLiteral,
|
|
181801
|
-
symbol: () => symbol,
|
|
181802
|
-
superRefine: () => superRefine,
|
|
181803
|
-
success: () => success,
|
|
181804
|
-
stringbool: () => stringbool,
|
|
181805
|
-
stringFormat: () => stringFormat,
|
|
181806
|
-
string: () => string2,
|
|
181807
|
-
strictObject: () => strictObject,
|
|
181808
|
-
set: () => set,
|
|
181809
|
-
refine: () => refine,
|
|
181810
|
-
record: () => record,
|
|
181811
|
-
readonly: () => readonly,
|
|
181812
|
-
promise: () => promise,
|
|
181813
|
-
preprocess: () => preprocess,
|
|
181814
|
-
prefault: () => prefault,
|
|
181815
|
-
pipe: () => pipe,
|
|
181816
|
-
partialRecord: () => partialRecord,
|
|
181817
|
-
optional: () => optional,
|
|
181818
|
-
object: () => object,
|
|
181819
|
-
number: () => number2,
|
|
181820
|
-
nullish: () => nullish2,
|
|
181821
|
-
nullable: () => nullable,
|
|
181822
|
-
null: () => _null3,
|
|
181823
|
-
nonoptional: () => nonoptional,
|
|
181824
|
-
never: () => never,
|
|
181825
|
-
nativeEnum: () => nativeEnum,
|
|
181826
|
-
nanoid: () => nanoid2,
|
|
181827
|
-
nan: () => nan,
|
|
181828
|
-
meta: () => meta2,
|
|
181829
|
-
map: () => map,
|
|
181830
|
-
mac: () => mac2,
|
|
181831
|
-
looseRecord: () => looseRecord,
|
|
181832
|
-
looseObject: () => looseObject,
|
|
181833
|
-
literal: () => literal,
|
|
181834
|
-
lazy: () => lazy,
|
|
181835
|
-
ksuid: () => ksuid2,
|
|
181836
|
-
keyof: () => keyof,
|
|
181837
|
-
jwt: () => jwt,
|
|
181838
|
-
json: () => json,
|
|
181839
|
-
ipv6: () => ipv62,
|
|
181840
|
-
ipv4: () => ipv42,
|
|
181841
|
-
invertCodec: () => invertCodec,
|
|
181842
|
-
intersection: () => intersection,
|
|
181843
|
-
int64: () => int64,
|
|
181844
|
-
int32: () => int32,
|
|
181845
|
-
int: () => int,
|
|
181846
|
-
instanceof: () => _instanceof,
|
|
181847
|
-
httpUrl: () => httpUrl,
|
|
181848
|
-
hostname: () => hostname2,
|
|
181849
|
-
hex: () => hex2,
|
|
181850
|
-
hash: () => hash,
|
|
181851
|
-
guid: () => guid2,
|
|
181852
|
-
function: () => _function,
|
|
181853
|
-
float64: () => float64,
|
|
181854
|
-
float32: () => float32,
|
|
181855
|
-
file: () => file,
|
|
181856
|
-
exactOptional: () => exactOptional,
|
|
181857
|
-
enum: () => _enum2,
|
|
181858
|
-
emoji: () => emoji2,
|
|
181859
|
-
email: () => email2,
|
|
181860
|
-
e164: () => e1642,
|
|
181861
|
-
discriminatedUnion: () => discriminatedUnion,
|
|
181862
|
-
describe: () => describe2,
|
|
181863
|
-
date: () => date3,
|
|
181864
|
-
custom: () => custom,
|
|
181865
|
-
cuid2: () => cuid22,
|
|
181866
|
-
cuid: () => cuid3,
|
|
181867
|
-
codec: () => codec,
|
|
181868
|
-
cidrv6: () => cidrv62,
|
|
181869
|
-
cidrv4: () => cidrv42,
|
|
181870
|
-
check: () => check,
|
|
181871
|
-
catch: () => _catch2,
|
|
181872
|
-
boolean: () => boolean2,
|
|
181873
|
-
bigint: () => bigint2,
|
|
181874
|
-
base64url: () => base64url2,
|
|
181875
|
-
base64: () => base642,
|
|
181876
|
-
array: () => array,
|
|
181877
|
-
any: () => any,
|
|
181878
|
-
_function: () => _function,
|
|
181879
|
-
_default: () => _default2,
|
|
181880
|
-
_ZodString: () => _ZodString,
|
|
181881
|
-
ZodXor: () => ZodXor,
|
|
181882
|
-
ZodXID: () => ZodXID,
|
|
181883
|
-
ZodVoid: () => ZodVoid,
|
|
181884
|
-
ZodUnknown: () => ZodUnknown,
|
|
181885
|
-
ZodUnion: () => ZodUnion,
|
|
181886
|
-
ZodUndefined: () => ZodUndefined,
|
|
181887
|
-
ZodUUID: () => ZodUUID,
|
|
181888
|
-
ZodURL: () => ZodURL,
|
|
181889
|
-
ZodULID: () => ZodULID,
|
|
181890
|
-
ZodType: () => ZodType,
|
|
181891
|
-
ZodTuple: () => ZodTuple,
|
|
181892
|
-
ZodTransform: () => ZodTransform,
|
|
181893
|
-
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
181894
|
-
ZodSymbol: () => ZodSymbol,
|
|
181895
|
-
ZodSuccess: () => ZodSuccess,
|
|
181896
|
-
ZodStringFormat: () => ZodStringFormat,
|
|
181897
|
-
ZodString: () => ZodString,
|
|
181898
|
-
ZodSet: () => ZodSet,
|
|
181899
|
-
ZodRecord: () => ZodRecord,
|
|
181900
|
-
ZodReadonly: () => ZodReadonly,
|
|
181901
|
-
ZodPromise: () => ZodPromise,
|
|
181902
|
-
ZodPreprocess: () => ZodPreprocess,
|
|
181903
|
-
ZodPrefault: () => ZodPrefault,
|
|
181904
|
-
ZodPipe: () => ZodPipe,
|
|
181905
|
-
ZodOptional: () => ZodOptional,
|
|
181906
|
-
ZodObject: () => ZodObject,
|
|
181907
|
-
ZodNumberFormat: () => ZodNumberFormat,
|
|
181908
|
-
ZodNumber: () => ZodNumber,
|
|
181909
|
-
ZodNullable: () => ZodNullable,
|
|
181910
|
-
ZodNull: () => ZodNull,
|
|
181911
|
-
ZodNonOptional: () => ZodNonOptional,
|
|
181912
|
-
ZodNever: () => ZodNever,
|
|
181913
|
-
ZodNanoID: () => ZodNanoID,
|
|
181914
|
-
ZodNaN: () => ZodNaN,
|
|
181915
|
-
ZodMap: () => ZodMap,
|
|
181916
|
-
ZodMAC: () => ZodMAC,
|
|
181917
|
-
ZodLiteral: () => ZodLiteral,
|
|
181918
|
-
ZodLazy: () => ZodLazy,
|
|
181919
|
-
ZodKSUID: () => ZodKSUID,
|
|
181920
|
-
ZodJWT: () => ZodJWT,
|
|
181921
|
-
ZodIntersection: () => ZodIntersection,
|
|
181922
|
-
ZodIPv6: () => ZodIPv6,
|
|
181923
|
-
ZodIPv4: () => ZodIPv4,
|
|
181924
|
-
ZodGUID: () => ZodGUID,
|
|
181925
|
-
ZodFunction: () => ZodFunction,
|
|
181926
|
-
ZodFile: () => ZodFile,
|
|
181927
|
-
ZodExactOptional: () => ZodExactOptional,
|
|
181928
|
-
ZodEnum: () => ZodEnum,
|
|
181929
|
-
ZodEmoji: () => ZodEmoji,
|
|
181930
|
-
ZodEmail: () => ZodEmail,
|
|
181931
|
-
ZodE164: () => ZodE164,
|
|
181932
|
-
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
181933
|
-
ZodDefault: () => ZodDefault,
|
|
181934
|
-
ZodDate: () => ZodDate,
|
|
181935
|
-
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
181936
|
-
ZodCustom: () => ZodCustom,
|
|
181937
|
-
ZodCodec: () => ZodCodec,
|
|
181938
|
-
ZodCatch: () => ZodCatch,
|
|
181939
|
-
ZodCUID2: () => ZodCUID2,
|
|
181940
|
-
ZodCUID: () => ZodCUID,
|
|
181941
|
-
ZodCIDRv6: () => ZodCIDRv6,
|
|
181942
|
-
ZodCIDRv4: () => ZodCIDRv4,
|
|
181943
|
-
ZodBoolean: () => ZodBoolean,
|
|
181944
|
-
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
181945
|
-
ZodBigInt: () => ZodBigInt,
|
|
181946
|
-
ZodBase64URL: () => ZodBase64URL,
|
|
181947
|
-
ZodBase64: () => ZodBase64,
|
|
181786
|
+
ZodAny: () => ZodAny,
|
|
181948
181787
|
ZodArray: () => ZodArray,
|
|
181949
|
-
|
|
181788
|
+
ZodBase64: () => ZodBase64,
|
|
181789
|
+
ZodBase64URL: () => ZodBase64URL,
|
|
181790
|
+
ZodBigInt: () => ZodBigInt,
|
|
181791
|
+
ZodBigIntFormat: () => ZodBigIntFormat,
|
|
181792
|
+
ZodBoolean: () => ZodBoolean,
|
|
181793
|
+
ZodCIDRv4: () => ZodCIDRv4,
|
|
181794
|
+
ZodCIDRv6: () => ZodCIDRv6,
|
|
181795
|
+
ZodCUID: () => ZodCUID,
|
|
181796
|
+
ZodCUID2: () => ZodCUID2,
|
|
181797
|
+
ZodCatch: () => ZodCatch,
|
|
181798
|
+
ZodCodec: () => ZodCodec,
|
|
181799
|
+
ZodCustom: () => ZodCustom,
|
|
181800
|
+
ZodCustomStringFormat: () => ZodCustomStringFormat,
|
|
181801
|
+
ZodDate: () => ZodDate,
|
|
181802
|
+
ZodDefault: () => ZodDefault,
|
|
181803
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion,
|
|
181804
|
+
ZodE164: () => ZodE164,
|
|
181805
|
+
ZodEmail: () => ZodEmail,
|
|
181806
|
+
ZodEmoji: () => ZodEmoji,
|
|
181807
|
+
ZodEnum: () => ZodEnum,
|
|
181808
|
+
ZodExactOptional: () => ZodExactOptional,
|
|
181809
|
+
ZodFile: () => ZodFile,
|
|
181810
|
+
ZodFunction: () => ZodFunction,
|
|
181811
|
+
ZodGUID: () => ZodGUID,
|
|
181812
|
+
ZodIPv4: () => ZodIPv4,
|
|
181813
|
+
ZodIPv6: () => ZodIPv6,
|
|
181814
|
+
ZodIntersection: () => ZodIntersection,
|
|
181815
|
+
ZodJWT: () => ZodJWT,
|
|
181816
|
+
ZodKSUID: () => ZodKSUID,
|
|
181817
|
+
ZodLazy: () => ZodLazy,
|
|
181818
|
+
ZodLiteral: () => ZodLiteral,
|
|
181819
|
+
ZodMAC: () => ZodMAC,
|
|
181820
|
+
ZodMap: () => ZodMap,
|
|
181821
|
+
ZodNaN: () => ZodNaN,
|
|
181822
|
+
ZodNanoID: () => ZodNanoID,
|
|
181823
|
+
ZodNever: () => ZodNever,
|
|
181824
|
+
ZodNonOptional: () => ZodNonOptional,
|
|
181825
|
+
ZodNull: () => ZodNull,
|
|
181826
|
+
ZodNullable: () => ZodNullable,
|
|
181827
|
+
ZodNumber: () => ZodNumber,
|
|
181828
|
+
ZodNumberFormat: () => ZodNumberFormat,
|
|
181829
|
+
ZodObject: () => ZodObject,
|
|
181830
|
+
ZodOptional: () => ZodOptional,
|
|
181831
|
+
ZodPipe: () => ZodPipe,
|
|
181832
|
+
ZodPrefault: () => ZodPrefault,
|
|
181833
|
+
ZodPreprocess: () => ZodPreprocess,
|
|
181834
|
+
ZodPromise: () => ZodPromise,
|
|
181835
|
+
ZodReadonly: () => ZodReadonly,
|
|
181836
|
+
ZodRecord: () => ZodRecord,
|
|
181837
|
+
ZodSet: () => ZodSet,
|
|
181838
|
+
ZodString: () => ZodString,
|
|
181839
|
+
ZodStringFormat: () => ZodStringFormat,
|
|
181840
|
+
ZodSuccess: () => ZodSuccess,
|
|
181841
|
+
ZodSymbol: () => ZodSymbol,
|
|
181842
|
+
ZodTemplateLiteral: () => ZodTemplateLiteral,
|
|
181843
|
+
ZodTransform: () => ZodTransform,
|
|
181844
|
+
ZodTuple: () => ZodTuple,
|
|
181845
|
+
ZodType: () => ZodType,
|
|
181846
|
+
ZodULID: () => ZodULID,
|
|
181847
|
+
ZodURL: () => ZodURL,
|
|
181848
|
+
ZodUUID: () => ZodUUID,
|
|
181849
|
+
ZodUndefined: () => ZodUndefined,
|
|
181850
|
+
ZodUnion: () => ZodUnion,
|
|
181851
|
+
ZodUnknown: () => ZodUnknown,
|
|
181852
|
+
ZodVoid: () => ZodVoid,
|
|
181853
|
+
ZodXID: () => ZodXID,
|
|
181854
|
+
ZodXor: () => ZodXor,
|
|
181855
|
+
_ZodString: () => _ZodString,
|
|
181856
|
+
_default: () => _default2,
|
|
181857
|
+
_function: () => _function,
|
|
181858
|
+
any: () => any,
|
|
181859
|
+
array: () => array,
|
|
181860
|
+
base64: () => base642,
|
|
181861
|
+
base64url: () => base64url2,
|
|
181862
|
+
bigint: () => bigint2,
|
|
181863
|
+
boolean: () => boolean2,
|
|
181864
|
+
catch: () => _catch2,
|
|
181865
|
+
check: () => check,
|
|
181866
|
+
cidrv4: () => cidrv42,
|
|
181867
|
+
cidrv6: () => cidrv62,
|
|
181868
|
+
codec: () => codec,
|
|
181869
|
+
cuid: () => cuid3,
|
|
181870
|
+
cuid2: () => cuid22,
|
|
181871
|
+
custom: () => custom,
|
|
181872
|
+
date: () => date3,
|
|
181873
|
+
describe: () => describe2,
|
|
181874
|
+
discriminatedUnion: () => discriminatedUnion,
|
|
181875
|
+
e164: () => e1642,
|
|
181876
|
+
email: () => email2,
|
|
181877
|
+
emoji: () => emoji2,
|
|
181878
|
+
enum: () => _enum2,
|
|
181879
|
+
exactOptional: () => exactOptional,
|
|
181880
|
+
file: () => file,
|
|
181881
|
+
float32: () => float32,
|
|
181882
|
+
float64: () => float64,
|
|
181883
|
+
function: () => _function,
|
|
181884
|
+
guid: () => guid2,
|
|
181885
|
+
hash: () => hash,
|
|
181886
|
+
hex: () => hex2,
|
|
181887
|
+
hostname: () => hostname2,
|
|
181888
|
+
httpUrl: () => httpUrl,
|
|
181889
|
+
instanceof: () => _instanceof,
|
|
181890
|
+
int: () => int,
|
|
181891
|
+
int32: () => int32,
|
|
181892
|
+
int64: () => int64,
|
|
181893
|
+
intersection: () => intersection,
|
|
181894
|
+
invertCodec: () => invertCodec,
|
|
181895
|
+
ipv4: () => ipv42,
|
|
181896
|
+
ipv6: () => ipv62,
|
|
181897
|
+
json: () => json,
|
|
181898
|
+
jwt: () => jwt,
|
|
181899
|
+
keyof: () => keyof,
|
|
181900
|
+
ksuid: () => ksuid2,
|
|
181901
|
+
lazy: () => lazy,
|
|
181902
|
+
literal: () => literal,
|
|
181903
|
+
looseObject: () => looseObject,
|
|
181904
|
+
looseRecord: () => looseRecord,
|
|
181905
|
+
mac: () => mac2,
|
|
181906
|
+
map: () => map,
|
|
181907
|
+
meta: () => meta2,
|
|
181908
|
+
nan: () => nan,
|
|
181909
|
+
nanoid: () => nanoid2,
|
|
181910
|
+
nativeEnum: () => nativeEnum,
|
|
181911
|
+
never: () => never,
|
|
181912
|
+
nonoptional: () => nonoptional,
|
|
181913
|
+
null: () => _null3,
|
|
181914
|
+
nullable: () => nullable,
|
|
181915
|
+
nullish: () => nullish2,
|
|
181916
|
+
number: () => number2,
|
|
181917
|
+
object: () => object,
|
|
181918
|
+
optional: () => optional,
|
|
181919
|
+
partialRecord: () => partialRecord,
|
|
181920
|
+
pipe: () => pipe,
|
|
181921
|
+
prefault: () => prefault,
|
|
181922
|
+
preprocess: () => preprocess,
|
|
181923
|
+
promise: () => promise,
|
|
181924
|
+
readonly: () => readonly,
|
|
181925
|
+
record: () => record,
|
|
181926
|
+
refine: () => refine,
|
|
181927
|
+
set: () => set,
|
|
181928
|
+
strictObject: () => strictObject,
|
|
181929
|
+
string: () => string2,
|
|
181930
|
+
stringFormat: () => stringFormat,
|
|
181931
|
+
stringbool: () => stringbool,
|
|
181932
|
+
success: () => success,
|
|
181933
|
+
superRefine: () => superRefine,
|
|
181934
|
+
symbol: () => symbol,
|
|
181935
|
+
templateLiteral: () => templateLiteral,
|
|
181936
|
+
transform: () => transform,
|
|
181937
|
+
tuple: () => tuple,
|
|
181938
|
+
uint32: () => uint32,
|
|
181939
|
+
uint64: () => uint64,
|
|
181940
|
+
ulid: () => ulid2,
|
|
181941
|
+
undefined: () => _undefined3,
|
|
181942
|
+
union: () => union,
|
|
181943
|
+
unknown: () => unknown,
|
|
181944
|
+
url: () => url,
|
|
181945
|
+
uuid: () => uuid2,
|
|
181946
|
+
uuidv4: () => uuidv4,
|
|
181947
|
+
uuidv6: () => uuidv6,
|
|
181948
|
+
uuidv7: () => uuidv7,
|
|
181949
|
+
void: () => _void2,
|
|
181950
|
+
xid: () => xid2,
|
|
181951
|
+
xor: () => xor
|
|
181950
181952
|
});
|
|
181951
181953
|
|
|
181952
181954
|
// node_modules/zod/v4/classic/checks.js
|
|
181953
181955
|
var exports_checks2 = {};
|
|
181954
181956
|
__export(exports_checks2, {
|
|
181955
|
-
|
|
181956
|
-
trim: () => _trim,
|
|
181957
|
-
toUpperCase: () => _toUpperCase,
|
|
181958
|
-
toLowerCase: () => _toLowerCase,
|
|
181959
|
-
startsWith: () => _startsWith,
|
|
181960
|
-
slugify: () => _slugify,
|
|
181961
|
-
size: () => _size,
|
|
181962
|
-
regex: () => _regex,
|
|
181963
|
-
property: () => _property,
|
|
181964
|
-
positive: () => _positive,
|
|
181965
|
-
overwrite: () => _overwrite,
|
|
181966
|
-
normalize: () => _normalize,
|
|
181967
|
-
nonpositive: () => _nonpositive,
|
|
181968
|
-
nonnegative: () => _nonnegative,
|
|
181969
|
-
negative: () => _negative,
|
|
181970
|
-
multipleOf: () => _multipleOf,
|
|
181971
|
-
minSize: () => _minSize,
|
|
181972
|
-
minLength: () => _minLength,
|
|
181973
|
-
mime: () => _mime,
|
|
181974
|
-
maxSize: () => _maxSize,
|
|
181975
|
-
maxLength: () => _maxLength,
|
|
181976
|
-
lte: () => _lte,
|
|
181977
|
-
lt: () => _lt,
|
|
181978
|
-
lowercase: () => _lowercase,
|
|
181979
|
-
length: () => _length,
|
|
181980
|
-
includes: () => _includes,
|
|
181981
|
-
gte: () => _gte,
|
|
181957
|
+
endsWith: () => _endsWith,
|
|
181982
181958
|
gt: () => _gt,
|
|
181983
|
-
|
|
181959
|
+
gte: () => _gte,
|
|
181960
|
+
includes: () => _includes,
|
|
181961
|
+
length: () => _length,
|
|
181962
|
+
lowercase: () => _lowercase,
|
|
181963
|
+
lt: () => _lt,
|
|
181964
|
+
lte: () => _lte,
|
|
181965
|
+
maxLength: () => _maxLength,
|
|
181966
|
+
maxSize: () => _maxSize,
|
|
181967
|
+
mime: () => _mime,
|
|
181968
|
+
minLength: () => _minLength,
|
|
181969
|
+
minSize: () => _minSize,
|
|
181970
|
+
multipleOf: () => _multipleOf,
|
|
181971
|
+
negative: () => _negative,
|
|
181972
|
+
nonnegative: () => _nonnegative,
|
|
181973
|
+
nonpositive: () => _nonpositive,
|
|
181974
|
+
normalize: () => _normalize,
|
|
181975
|
+
overwrite: () => _overwrite,
|
|
181976
|
+
positive: () => _positive,
|
|
181977
|
+
property: () => _property,
|
|
181978
|
+
regex: () => _regex,
|
|
181979
|
+
size: () => _size,
|
|
181980
|
+
slugify: () => _slugify,
|
|
181981
|
+
startsWith: () => _startsWith,
|
|
181982
|
+
toLowerCase: () => _toLowerCase,
|
|
181983
|
+
toUpperCase: () => _toUpperCase,
|
|
181984
|
+
trim: () => _trim,
|
|
181985
|
+
uppercase: () => _uppercase
|
|
181984
181986
|
});
|
|
181985
181987
|
|
|
181986
181988
|
// node_modules/zod/v4/classic/iso.js
|
|
181987
181989
|
var exports_iso = {};
|
|
181988
181990
|
__export(exports_iso, {
|
|
181989
|
-
|
|
181990
|
-
duration: () => duration2,
|
|
181991
|
-
datetime: () => datetime2,
|
|
181992
|
-
date: () => date2,
|
|
181993
|
-
ZodISOTime: () => ZodISOTime,
|
|
181994
|
-
ZodISODuration: () => ZodISODuration,
|
|
181991
|
+
ZodISODate: () => ZodISODate,
|
|
181995
181992
|
ZodISODateTime: () => ZodISODateTime,
|
|
181996
|
-
|
|
181993
|
+
ZodISODuration: () => ZodISODuration,
|
|
181994
|
+
ZodISOTime: () => ZodISOTime,
|
|
181995
|
+
date: () => date2,
|
|
181996
|
+
datetime: () => datetime2,
|
|
181997
|
+
duration: () => duration2,
|
|
181998
|
+
time: () => time2
|
|
181997
181999
|
});
|
|
181998
182000
|
var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
181999
182001
|
$ZodISODateTime.init(inst, def);
|
|
@@ -183854,11 +183856,11 @@ function fromJSONSchema(schema, params) {
|
|
|
183854
183856
|
// node_modules/zod/v4/classic/coerce.js
|
|
183855
183857
|
var exports_coerce = {};
|
|
183856
183858
|
__export(exports_coerce, {
|
|
183857
|
-
|
|
183858
|
-
number: () => number3,
|
|
183859
|
-
date: () => date4,
|
|
183859
|
+
bigint: () => bigint3,
|
|
183860
183860
|
boolean: () => boolean3,
|
|
183861
|
-
|
|
183861
|
+
date: () => date4,
|
|
183862
|
+
number: () => number3,
|
|
183863
|
+
string: () => string3
|
|
183862
183864
|
});
|
|
183863
183865
|
function string3(params) {
|
|
183864
183866
|
return _coercedString(ZodString, params);
|
|
@@ -183964,7 +183966,7 @@ var JUDGE_MAX_OUTPUT_TOKENS = 4096;
|
|
|
183964
183966
|
var RAW_OUTPUT_MAX_CHARS = 16384;
|
|
183965
183967
|
var TRACE_DIR = ".kyoso/traces";
|
|
183966
183968
|
var KYOSO_CHILD_AGENT = "KYOSO_CHILD_AGENT";
|
|
183967
|
-
var KYOSO_VERSION = "0.16.
|
|
183969
|
+
var KYOSO_VERSION = "0.16.10";
|
|
183968
183970
|
|
|
183969
183971
|
// src/utils/pathContainment.ts
|
|
183970
183972
|
import { resolve, sep as sep2 } from "node:path";
|
|
@@ -184269,7 +184271,7 @@ var defaultConfig = {
|
|
|
184269
184271
|
enabled: true,
|
|
184270
184272
|
type: "acp",
|
|
184271
184273
|
command: "npx",
|
|
184272
|
-
args: ["-y", "@agentclientprotocol/codex-acp@1.
|
|
184274
|
+
args: ["-y", "@agentclientprotocol/codex-acp@1.6.2"],
|
|
184273
184275
|
role: "implementation_reviewer",
|
|
184274
184276
|
timeoutMs: DEFAULT_AGENT_TIMEOUT_MS,
|
|
184275
184277
|
allowProjectProvider: [],
|
|
@@ -184294,7 +184296,7 @@ var defaultConfig = {
|
|
|
184294
184296
|
enabled: true,
|
|
184295
184297
|
type: "acp",
|
|
184296
184298
|
command: "npx",
|
|
184297
|
-
args: ["-y", "@agentclientprotocol/claude-agent-acp@0.
|
|
184299
|
+
args: ["-y", "@agentclientprotocol/claude-agent-acp@0.69.0"],
|
|
184298
184300
|
role: "architecture_security_reviewer",
|
|
184299
184301
|
timeoutMs: DEFAULT_AGENT_TIMEOUT_MS,
|
|
184300
184302
|
env: {
|
|
@@ -187258,9 +187260,9 @@ var PLUGIN_RUNTIME_COMPATIBILITY_SCHEMA_VERSION = 2;
|
|
|
187258
187260
|
var MINIMUM_SUPPORTED_CODEX_VERSION = "0.144.0-alpha.4";
|
|
187259
187261
|
var PLUGIN_RUNTIME_EXPECTED_CONTRACT = {
|
|
187260
187262
|
distribution: {
|
|
187261
|
-
pluginVersion: "0.7.
|
|
187263
|
+
pluginVersion: "0.7.18",
|
|
187262
187264
|
mcpCommand: "npx",
|
|
187263
|
-
mcpPackagePin: "@kyo-so/cli@0.16.
|
|
187265
|
+
mcpPackagePin: "@kyo-so/cli@0.16.9",
|
|
187264
187266
|
mcpExecutable: "kyoso"
|
|
187265
187267
|
},
|
|
187266
187268
|
marketplace: {
|
|
@@ -187667,17 +187669,20 @@ import {
|
|
|
187667
187669
|
|
|
187668
187670
|
// src/cli/packageRunner.ts
|
|
187669
187671
|
var KYOSO_PACKAGE_NAME = "@kyo-so/cli";
|
|
187672
|
+
var KYOSO_PACKAGE_ALIAS = "kyoso-cli";
|
|
187673
|
+
var KYOSO_PACKAGE_ALIAS_PREFIX = `${KYOSO_PACKAGE_ALIAS}@npm:`;
|
|
187670
187674
|
var KYOSO_EXECUTABLE_NAME = "kyoso";
|
|
187671
187675
|
var COMPLETE_SEMVER = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/;
|
|
187672
187676
|
function buildKyosoPackageCommand(options) {
|
|
187673
187677
|
const packageSpec = options.version === undefined ? KYOSO_PACKAGE_NAME : `${KYOSO_PACKAGE_NAME}@${assertCompleteSemVer(options.version)}`;
|
|
187678
|
+
const aliasedPackageSpec = `${KYOSO_PACKAGE_ALIAS_PREFIX}${packageSpec}`;
|
|
187674
187679
|
const cliArgs = [...options.cliArgs];
|
|
187675
187680
|
if (options.runner === "npx") {
|
|
187676
187681
|
return {
|
|
187677
187682
|
command: "npx",
|
|
187678
187683
|
args: [
|
|
187679
187684
|
"-y",
|
|
187680
|
-
`--package=${
|
|
187685
|
+
`--package=${aliasedPackageSpec}`,
|
|
187681
187686
|
KYOSO_EXECUTABLE_NAME,
|
|
187682
187687
|
...cliArgs
|
|
187683
187688
|
]
|
|
@@ -187685,7 +187690,7 @@ function buildKyosoPackageCommand(options) {
|
|
|
187685
187690
|
}
|
|
187686
187691
|
return {
|
|
187687
187692
|
command: "bunx",
|
|
187688
|
-
args: ["--package",
|
|
187693
|
+
args: ["--package", aliasedPackageSpec, KYOSO_EXECUTABLE_NAME, ...cliArgs]
|
|
187689
187694
|
};
|
|
187690
187695
|
}
|
|
187691
187696
|
function formatKyosoPackageCommand(options) {
|
|
@@ -187705,6 +187710,191 @@ function assertCompleteSemVer(value) {
|
|
|
187705
187710
|
throw new Error(`Kyoso package version must be a complete SemVer; received ${JSON.stringify(value)}.`);
|
|
187706
187711
|
}
|
|
187707
187712
|
|
|
187713
|
+
// src/cli/manualMcpInvocation.ts
|
|
187714
|
+
var GENERATED_MCP_ENV_VALUE_NAMES = new Set([
|
|
187715
|
+
"OPENAI_API_KEY",
|
|
187716
|
+
"ANTHROPIC_API_KEY",
|
|
187717
|
+
"CLAUDE_CODE_OAUTH_TOKEN",
|
|
187718
|
+
"OPENROUTER_API_KEY"
|
|
187719
|
+
]);
|
|
187720
|
+
var GENERATED_MCP_ENV_VAR_NAMES = new Set([
|
|
187721
|
+
"OPENAI_API_KEY",
|
|
187722
|
+
"CODEX_API_KEY",
|
|
187723
|
+
"CODEX_HOME",
|
|
187724
|
+
"CODEX_ACCESS_TOKEN",
|
|
187725
|
+
"OPENROUTER_API_KEY",
|
|
187726
|
+
"ANTHROPIC_API_KEY",
|
|
187727
|
+
"CLAUDE_CODE_OAUTH_TOKEN"
|
|
187728
|
+
]);
|
|
187729
|
+
function inspectManualMcpInvocation(value) {
|
|
187730
|
+
if (!isRecord9(value)) {
|
|
187731
|
+
return { kind: "unknown", reason: "MCP entry is not an object." };
|
|
187732
|
+
}
|
|
187733
|
+
if (typeof value.command !== "string" || value.command.length === 0) {
|
|
187734
|
+
return {
|
|
187735
|
+
kind: "unknown",
|
|
187736
|
+
reason: "MCP command is missing or is not a string."
|
|
187737
|
+
};
|
|
187738
|
+
}
|
|
187739
|
+
if (!Array.isArray(value.args) || !value.args.every(isString)) {
|
|
187740
|
+
return {
|
|
187741
|
+
kind: "unknown",
|
|
187742
|
+
reason: "MCP args are missing or are not an array of strings."
|
|
187743
|
+
};
|
|
187744
|
+
}
|
|
187745
|
+
const environment = inspectMcpEnvironment(value);
|
|
187746
|
+
if (value.command === "npx") {
|
|
187747
|
+
return applyEnvironmentSafety(inspectNpx(value.args), environment);
|
|
187748
|
+
}
|
|
187749
|
+
if (value.command === "bunx") {
|
|
187750
|
+
return applyEnvironmentSafety(inspectBunx(value.args), environment);
|
|
187751
|
+
}
|
|
187752
|
+
return {
|
|
187753
|
+
kind: "custom",
|
|
187754
|
+
reason: `MCP command ${JSON.stringify(value.command)} is not a Kyoso package runner.`
|
|
187755
|
+
};
|
|
187756
|
+
}
|
|
187757
|
+
function inspectMcpEnvironment(value) {
|
|
187758
|
+
if ("env" in value && !isGeneratedMcpEnvironment(value.env)) {
|
|
187759
|
+
return {
|
|
187760
|
+
kind: "custom",
|
|
187761
|
+
reason: "MCP environment is not limited to generated credential placeholders."
|
|
187762
|
+
};
|
|
187763
|
+
}
|
|
187764
|
+
if ("env_vars" in value && !isGeneratedMcpEnvironmentVariables(value.env_vars)) {
|
|
187765
|
+
return {
|
|
187766
|
+
kind: "custom",
|
|
187767
|
+
reason: "MCP environment variable forwarding is not limited to generated credential names."
|
|
187768
|
+
};
|
|
187769
|
+
}
|
|
187770
|
+
return;
|
|
187771
|
+
}
|
|
187772
|
+
function applyEnvironmentSafety(invocation, environment) {
|
|
187773
|
+
return environment ?? invocation;
|
|
187774
|
+
}
|
|
187775
|
+
function isGeneratedMcpEnvironment(value) {
|
|
187776
|
+
if (!isRecord9(value))
|
|
187777
|
+
return false;
|
|
187778
|
+
return Object.entries(value).every(([name, placeholder]) => GENERATED_MCP_ENV_VALUE_NAMES.has(name) && placeholder === `\${${name}}`);
|
|
187779
|
+
}
|
|
187780
|
+
function isGeneratedMcpEnvironmentVariables(value) {
|
|
187781
|
+
if (!Array.isArray(value) || !value.every(isString))
|
|
187782
|
+
return false;
|
|
187783
|
+
return new Set(value).size === value.length && value.every((name) => GENERATED_MCP_ENV_VAR_NAMES.has(name));
|
|
187784
|
+
}
|
|
187785
|
+
function inspectNpx(args) {
|
|
187786
|
+
const current = parseNpxCurrent(args);
|
|
187787
|
+
if (current) {
|
|
187788
|
+
return {
|
|
187789
|
+
kind: "current",
|
|
187790
|
+
runner: "npx",
|
|
187791
|
+
packageSpec: current.packageSpec,
|
|
187792
|
+
reason: "npx explicitly selects the Kyoso executable from its package."
|
|
187793
|
+
};
|
|
187794
|
+
}
|
|
187795
|
+
const legacy = parseNpxLegacy(args);
|
|
187796
|
+
if (legacy)
|
|
187797
|
+
return legacyInspection("npx", legacy, args);
|
|
187798
|
+
return {
|
|
187799
|
+
kind: "custom",
|
|
187800
|
+
runner: "npx",
|
|
187801
|
+
reason: "npx arguments do not exactly match a supported Kyoso invocation."
|
|
187802
|
+
};
|
|
187803
|
+
}
|
|
187804
|
+
function inspectBunx(args) {
|
|
187805
|
+
const current = parseBunxCurrent(args);
|
|
187806
|
+
if (current) {
|
|
187807
|
+
return {
|
|
187808
|
+
kind: "current",
|
|
187809
|
+
runner: "bunx",
|
|
187810
|
+
packageSpec: current.packageSpec,
|
|
187811
|
+
reason: "bunx explicitly selects the Kyoso executable from its package."
|
|
187812
|
+
};
|
|
187813
|
+
}
|
|
187814
|
+
const legacy = parseBunxLegacy(args);
|
|
187815
|
+
if (legacy)
|
|
187816
|
+
return legacyInspection("bunx", legacy, args);
|
|
187817
|
+
return {
|
|
187818
|
+
kind: "custom",
|
|
187819
|
+
runner: "bunx",
|
|
187820
|
+
reason: "bunx arguments do not exactly match a supported Kyoso invocation."
|
|
187821
|
+
};
|
|
187822
|
+
}
|
|
187823
|
+
function legacyInspection(runner, packageSpec, legacyArgs) {
|
|
187824
|
+
const version2 = versionFromKnownPackageSpec(packageSpec);
|
|
187825
|
+
if (version2 === undefined && packageSpec !== KYOSO_PACKAGE_NAME) {
|
|
187826
|
+
return {
|
|
187827
|
+
kind: "custom",
|
|
187828
|
+
runner,
|
|
187829
|
+
packageSpec,
|
|
187830
|
+
reason: "Kyoso package spec is a tag, range, or malformed pin and is preserved."
|
|
187831
|
+
};
|
|
187832
|
+
}
|
|
187833
|
+
return {
|
|
187834
|
+
kind: "legacy",
|
|
187835
|
+
runner,
|
|
187836
|
+
packageSpec,
|
|
187837
|
+
legacyArgs: [...legacyArgs],
|
|
187838
|
+
replacement: buildKyosoPackageCommand({
|
|
187839
|
+
runner,
|
|
187840
|
+
...version2 === undefined ? {} : { version: version2 },
|
|
187841
|
+
cliArgs: ["mcp"]
|
|
187842
|
+
}),
|
|
187843
|
+
reason: "Kyoso package runner relies on executable inference with a multi-bin package."
|
|
187844
|
+
};
|
|
187845
|
+
}
|
|
187846
|
+
function parseNpxCurrent(args) {
|
|
187847
|
+
if (args.length !== 4 || args[0] !== "-y" || args[2] !== KYOSO_EXECUTABLE_NAME || args[3] !== "mcp") {
|
|
187848
|
+
return;
|
|
187849
|
+
}
|
|
187850
|
+
const packageSpec = args[1]?.startsWith("--package=") ? args[1].slice("--package=".length) : undefined;
|
|
187851
|
+
return packageSpec && isKnownPackageSpec(packageSpec) ? { packageSpec } : undefined;
|
|
187852
|
+
}
|
|
187853
|
+
function parseBunxCurrent(args) {
|
|
187854
|
+
if (args.length !== 4 || args[0] !== "--package" || args[2] !== KYOSO_EXECUTABLE_NAME || args[3] !== "mcp") {
|
|
187855
|
+
return;
|
|
187856
|
+
}
|
|
187857
|
+
const packageSpec = args[1];
|
|
187858
|
+
return packageSpec && isKnownPackageSpec(packageSpec) ? { packageSpec } : undefined;
|
|
187859
|
+
}
|
|
187860
|
+
function parseNpxLegacy(args) {
|
|
187861
|
+
const packageIndex = args[0] === "-y" ? 1 : 0;
|
|
187862
|
+
if (args.length !== packageIndex + 2 || args[packageIndex + 1] !== "mcp") {
|
|
187863
|
+
return;
|
|
187864
|
+
}
|
|
187865
|
+
const packageSpec = args[packageIndex];
|
|
187866
|
+
return packageSpec && packageSpec.startsWith(KYOSO_PACKAGE_NAME) ? packageSpec : undefined;
|
|
187867
|
+
}
|
|
187868
|
+
function parseBunxLegacy(args) {
|
|
187869
|
+
if (args.length !== 2 || args[1] !== "mcp")
|
|
187870
|
+
return;
|
|
187871
|
+
const packageSpec = args[0];
|
|
187872
|
+
return packageSpec && packageSpec.startsWith(KYOSO_PACKAGE_NAME) ? packageSpec : undefined;
|
|
187873
|
+
}
|
|
187874
|
+
function isKnownPackageSpec(packageSpec) {
|
|
187875
|
+
const bare = packageSpecWithoutAlias(packageSpec);
|
|
187876
|
+
return bare === KYOSO_PACKAGE_NAME || versionFromKnownPackageSpec(bare) !== undefined;
|
|
187877
|
+
}
|
|
187878
|
+
function packageSpecWithoutAlias(packageSpec) {
|
|
187879
|
+
return packageSpec.startsWith(KYOSO_PACKAGE_ALIAS_PREFIX) ? packageSpec.slice(KYOSO_PACKAGE_ALIAS_PREFIX.length) : packageSpec;
|
|
187880
|
+
}
|
|
187881
|
+
function packageSpecCarriesAlias(packageSpec) {
|
|
187882
|
+
return packageSpec?.startsWith(KYOSO_PACKAGE_ALIAS_PREFIX) ?? false;
|
|
187883
|
+
}
|
|
187884
|
+
function versionFromKnownPackageSpec(packageSpec) {
|
|
187885
|
+
const prefix = `${KYOSO_PACKAGE_NAME}@`;
|
|
187886
|
+
if (!packageSpec.startsWith(prefix))
|
|
187887
|
+
return;
|
|
187888
|
+
const version2 = packageSpec.slice(prefix.length);
|
|
187889
|
+
return isCompleteSemVer(version2) ? version2 : undefined;
|
|
187890
|
+
}
|
|
187891
|
+
function isRecord9(value) {
|
|
187892
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
187893
|
+
}
|
|
187894
|
+
function isString(value) {
|
|
187895
|
+
return typeof value === "string";
|
|
187896
|
+
}
|
|
187897
|
+
|
|
187708
187898
|
// src/cli/integration.ts
|
|
187709
187899
|
function detectCli(options) {
|
|
187710
187900
|
const env = options.env ?? process.env;
|
|
@@ -187803,7 +187993,7 @@ function findKyosoPackage(executable) {
|
|
|
187803
187993
|
if (existsSync(packagePath)) {
|
|
187804
187994
|
try {
|
|
187805
187995
|
const parsed = JSON.parse(readFileSync(packagePath, "utf8"));
|
|
187806
|
-
if (
|
|
187996
|
+
if (isRecord10(parsed) && parsed.name === "@kyo-so/cli" && typeof parsed.version === "string" && parsed.version.trim().length > 0) {
|
|
187807
187997
|
return { directory, version: parsed.version };
|
|
187808
187998
|
}
|
|
187809
187999
|
} catch {}
|
|
@@ -187862,14 +188052,17 @@ function manualMcpWarnings(status, registrations, cli) {
|
|
|
187862
188052
|
"Manual MCP invocation could not be safely classified and was not treated as a ready Kyoso registration."
|
|
187863
188053
|
];
|
|
187864
188054
|
}
|
|
188055
|
+
const aliasWarnings = unaliasedManualMcpWarning(invocation);
|
|
187865
188056
|
if (invocation?.runner === "npx" && cli.npx !== "available") {
|
|
187866
188057
|
return [
|
|
188058
|
+
...aliasWarnings,
|
|
187867
188059
|
"Manual MCP registration uses npx, but npx is not available on PATH."
|
|
187868
188060
|
];
|
|
187869
188061
|
}
|
|
187870
188062
|
if (invocation?.runner === "bunx") {
|
|
187871
188063
|
if (cli.bunx === "missing") {
|
|
187872
188064
|
return [
|
|
188065
|
+
...aliasWarnings,
|
|
187873
188066
|
"Manual MCP registration uses bunx, but bunx is not available on PATH."
|
|
187874
188067
|
];
|
|
187875
188068
|
}
|
|
@@ -187879,10 +188072,20 @@ function manualMcpWarnings(status, registrations, cli) {
|
|
|
187879
188072
|
"bunx"
|
|
187880
188073
|
]) : undefined;
|
|
187881
188074
|
return [
|
|
188075
|
+
...aliasWarnings,
|
|
187882
188076
|
`Manual MCP registration uses bunx, but normal doctor does not verify the required Bun capability.${verificationCommand ? ` Run \`${verificationCommand}\` before treating it as ready.` : " Run setup with --write --runner bunx from an installed Kyoso CLI before treating it as ready."}`
|
|
187883
188077
|
];
|
|
187884
188078
|
}
|
|
187885
|
-
return
|
|
188079
|
+
return aliasWarnings;
|
|
188080
|
+
}
|
|
188081
|
+
function unaliasedManualMcpWarning(invocation) {
|
|
188082
|
+
const packageSpec = invocation?.packageSpec;
|
|
188083
|
+
if (invocation?.kind !== "current" || packageSpec === undefined || packageSpecCarriesAlias(packageSpec)) {
|
|
188084
|
+
return [];
|
|
188085
|
+
}
|
|
188086
|
+
return [
|
|
188087
|
+
`Manual MCP registration omits the ${KYOSO_PACKAGE_ALIAS} npm alias, so a package runner started from a ${KYOSO_PACKAGE_NAME} checkout can resolve that workspace instead of the published package. Replace its package spec with ${KYOSO_PACKAGE_ALIAS_PREFIX}${packageSpec}; setup preserves this registration and does not rewrite it.`
|
|
188088
|
+
];
|
|
187886
188089
|
}
|
|
187887
188090
|
function legacyManualMcpRepairWarning(registration, cli) {
|
|
187888
188091
|
if (!registration) {
|
|
@@ -187972,7 +188175,7 @@ function isWithin(path, parent) {
|
|
|
187972
188175
|
const relativePath = relative(resolve5(parent), resolve5(path));
|
|
187973
188176
|
return relativePath === "" || !relativePath.startsWith(`..${process.platform === "win32" ? "\\" : "/"}`) && relativePath !== ".." && !isAbsolute4(relativePath);
|
|
187974
188177
|
}
|
|
187975
|
-
function
|
|
188178
|
+
function isRecord10(value) {
|
|
187976
188179
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
187977
188180
|
}
|
|
187978
188181
|
|
|
@@ -188000,184 +188203,6 @@ import { homedir as homedir3, tmpdir as tmpdir2 } from "node:os";
|
|
|
188000
188203
|
import { basename as basename3, delimiter as delimiter2, dirname as dirname8, join as join6, resolve as resolve7 } from "node:path";
|
|
188001
188204
|
import { fileURLToPath } from "node:url";
|
|
188002
188205
|
|
|
188003
|
-
// src/cli/manualMcpInvocation.ts
|
|
188004
|
-
var GENERATED_MCP_ENV_VALUE_NAMES = new Set([
|
|
188005
|
-
"OPENAI_API_KEY",
|
|
188006
|
-
"ANTHROPIC_API_KEY",
|
|
188007
|
-
"CLAUDE_CODE_OAUTH_TOKEN",
|
|
188008
|
-
"OPENROUTER_API_KEY"
|
|
188009
|
-
]);
|
|
188010
|
-
var GENERATED_MCP_ENV_VAR_NAMES = new Set([
|
|
188011
|
-
"OPENAI_API_KEY",
|
|
188012
|
-
"CODEX_API_KEY",
|
|
188013
|
-
"CODEX_HOME",
|
|
188014
|
-
"CODEX_ACCESS_TOKEN",
|
|
188015
|
-
"OPENROUTER_API_KEY",
|
|
188016
|
-
"ANTHROPIC_API_KEY",
|
|
188017
|
-
"CLAUDE_CODE_OAUTH_TOKEN"
|
|
188018
|
-
]);
|
|
188019
|
-
function inspectManualMcpInvocation(value) {
|
|
188020
|
-
if (!isRecord10(value)) {
|
|
188021
|
-
return { kind: "unknown", reason: "MCP entry is not an object." };
|
|
188022
|
-
}
|
|
188023
|
-
if (typeof value.command !== "string" || value.command.length === 0) {
|
|
188024
|
-
return {
|
|
188025
|
-
kind: "unknown",
|
|
188026
|
-
reason: "MCP command is missing or is not a string."
|
|
188027
|
-
};
|
|
188028
|
-
}
|
|
188029
|
-
if (!Array.isArray(value.args) || !value.args.every(isString)) {
|
|
188030
|
-
return {
|
|
188031
|
-
kind: "unknown",
|
|
188032
|
-
reason: "MCP args are missing or are not an array of strings."
|
|
188033
|
-
};
|
|
188034
|
-
}
|
|
188035
|
-
const environment = inspectMcpEnvironment(value);
|
|
188036
|
-
if (value.command === "npx") {
|
|
188037
|
-
return applyEnvironmentSafety(inspectNpx(value.args), environment);
|
|
188038
|
-
}
|
|
188039
|
-
if (value.command === "bunx") {
|
|
188040
|
-
return applyEnvironmentSafety(inspectBunx(value.args), environment);
|
|
188041
|
-
}
|
|
188042
|
-
return {
|
|
188043
|
-
kind: "custom",
|
|
188044
|
-
reason: `MCP command ${JSON.stringify(value.command)} is not a Kyoso package runner.`
|
|
188045
|
-
};
|
|
188046
|
-
}
|
|
188047
|
-
function inspectMcpEnvironment(value) {
|
|
188048
|
-
if ("env" in value && !isGeneratedMcpEnvironment(value.env)) {
|
|
188049
|
-
return {
|
|
188050
|
-
kind: "custom",
|
|
188051
|
-
reason: "MCP environment is not limited to generated credential placeholders."
|
|
188052
|
-
};
|
|
188053
|
-
}
|
|
188054
|
-
if ("env_vars" in value && !isGeneratedMcpEnvironmentVariables(value.env_vars)) {
|
|
188055
|
-
return {
|
|
188056
|
-
kind: "custom",
|
|
188057
|
-
reason: "MCP environment variable forwarding is not limited to generated credential names."
|
|
188058
|
-
};
|
|
188059
|
-
}
|
|
188060
|
-
return;
|
|
188061
|
-
}
|
|
188062
|
-
function applyEnvironmentSafety(invocation, environment) {
|
|
188063
|
-
return environment ?? invocation;
|
|
188064
|
-
}
|
|
188065
|
-
function isGeneratedMcpEnvironment(value) {
|
|
188066
|
-
if (!isRecord10(value))
|
|
188067
|
-
return false;
|
|
188068
|
-
return Object.entries(value).every(([name, placeholder]) => GENERATED_MCP_ENV_VALUE_NAMES.has(name) && placeholder === `\${${name}}`);
|
|
188069
|
-
}
|
|
188070
|
-
function isGeneratedMcpEnvironmentVariables(value) {
|
|
188071
|
-
if (!Array.isArray(value) || !value.every(isString))
|
|
188072
|
-
return false;
|
|
188073
|
-
return new Set(value).size === value.length && value.every((name) => GENERATED_MCP_ENV_VAR_NAMES.has(name));
|
|
188074
|
-
}
|
|
188075
|
-
function inspectNpx(args) {
|
|
188076
|
-
const current = parseNpxCurrent(args);
|
|
188077
|
-
if (current) {
|
|
188078
|
-
return {
|
|
188079
|
-
kind: "current",
|
|
188080
|
-
runner: "npx",
|
|
188081
|
-
packageSpec: current.packageSpec,
|
|
188082
|
-
reason: "npx explicitly selects the Kyoso executable from its package."
|
|
188083
|
-
};
|
|
188084
|
-
}
|
|
188085
|
-
const legacy = parseNpxLegacy(args);
|
|
188086
|
-
if (legacy)
|
|
188087
|
-
return legacyInspection("npx", legacy, args);
|
|
188088
|
-
return {
|
|
188089
|
-
kind: "custom",
|
|
188090
|
-
runner: "npx",
|
|
188091
|
-
reason: "npx arguments do not exactly match a supported Kyoso invocation."
|
|
188092
|
-
};
|
|
188093
|
-
}
|
|
188094
|
-
function inspectBunx(args) {
|
|
188095
|
-
const current = parseBunxCurrent(args);
|
|
188096
|
-
if (current) {
|
|
188097
|
-
return {
|
|
188098
|
-
kind: "current",
|
|
188099
|
-
runner: "bunx",
|
|
188100
|
-
packageSpec: current.packageSpec,
|
|
188101
|
-
reason: "bunx explicitly selects the Kyoso executable from its package."
|
|
188102
|
-
};
|
|
188103
|
-
}
|
|
188104
|
-
const legacy = parseBunxLegacy(args);
|
|
188105
|
-
if (legacy)
|
|
188106
|
-
return legacyInspection("bunx", legacy, args);
|
|
188107
|
-
return {
|
|
188108
|
-
kind: "custom",
|
|
188109
|
-
runner: "bunx",
|
|
188110
|
-
reason: "bunx arguments do not exactly match a supported Kyoso invocation."
|
|
188111
|
-
};
|
|
188112
|
-
}
|
|
188113
|
-
function legacyInspection(runner, packageSpec, legacyArgs) {
|
|
188114
|
-
const version2 = versionFromKnownPackageSpec(packageSpec);
|
|
188115
|
-
if (version2 === undefined && packageSpec !== KYOSO_PACKAGE_NAME) {
|
|
188116
|
-
return {
|
|
188117
|
-
kind: "custom",
|
|
188118
|
-
runner,
|
|
188119
|
-
packageSpec,
|
|
188120
|
-
reason: "Kyoso package spec is a tag, range, or malformed pin and is preserved."
|
|
188121
|
-
};
|
|
188122
|
-
}
|
|
188123
|
-
return {
|
|
188124
|
-
kind: "legacy",
|
|
188125
|
-
runner,
|
|
188126
|
-
packageSpec,
|
|
188127
|
-
legacyArgs: [...legacyArgs],
|
|
188128
|
-
replacement: buildKyosoPackageCommand({
|
|
188129
|
-
runner,
|
|
188130
|
-
...version2 === undefined ? {} : { version: version2 },
|
|
188131
|
-
cliArgs: ["mcp"]
|
|
188132
|
-
}),
|
|
188133
|
-
reason: "Kyoso package runner relies on executable inference with a multi-bin package."
|
|
188134
|
-
};
|
|
188135
|
-
}
|
|
188136
|
-
function parseNpxCurrent(args) {
|
|
188137
|
-
if (args.length !== 4 || args[0] !== "-y" || args[2] !== KYOSO_EXECUTABLE_NAME || args[3] !== "mcp") {
|
|
188138
|
-
return;
|
|
188139
|
-
}
|
|
188140
|
-
const packageSpec = args[1]?.startsWith("--package=") ? args[1].slice("--package=".length) : undefined;
|
|
188141
|
-
return packageSpec && isKnownPackageSpec(packageSpec) ? { packageSpec } : undefined;
|
|
188142
|
-
}
|
|
188143
|
-
function parseBunxCurrent(args) {
|
|
188144
|
-
if (args.length !== 4 || args[0] !== "--package" || args[2] !== KYOSO_EXECUTABLE_NAME || args[3] !== "mcp") {
|
|
188145
|
-
return;
|
|
188146
|
-
}
|
|
188147
|
-
const packageSpec = args[1];
|
|
188148
|
-
return packageSpec && isKnownPackageSpec(packageSpec) ? { packageSpec } : undefined;
|
|
188149
|
-
}
|
|
188150
|
-
function parseNpxLegacy(args) {
|
|
188151
|
-
const packageIndex = args[0] === "-y" ? 1 : 0;
|
|
188152
|
-
if (args.length !== packageIndex + 2 || args[packageIndex + 1] !== "mcp") {
|
|
188153
|
-
return;
|
|
188154
|
-
}
|
|
188155
|
-
const packageSpec = args[packageIndex];
|
|
188156
|
-
return packageSpec && packageSpec.startsWith(KYOSO_PACKAGE_NAME) ? packageSpec : undefined;
|
|
188157
|
-
}
|
|
188158
|
-
function parseBunxLegacy(args) {
|
|
188159
|
-
if (args.length !== 2 || args[1] !== "mcp")
|
|
188160
|
-
return;
|
|
188161
|
-
const packageSpec = args[0];
|
|
188162
|
-
return packageSpec && packageSpec.startsWith(KYOSO_PACKAGE_NAME) ? packageSpec : undefined;
|
|
188163
|
-
}
|
|
188164
|
-
function isKnownPackageSpec(packageSpec) {
|
|
188165
|
-
return packageSpec === KYOSO_PACKAGE_NAME || versionFromKnownPackageSpec(packageSpec) !== undefined;
|
|
188166
|
-
}
|
|
188167
|
-
function versionFromKnownPackageSpec(packageSpec) {
|
|
188168
|
-
const prefix = `${KYOSO_PACKAGE_NAME}@`;
|
|
188169
|
-
if (!packageSpec.startsWith(prefix))
|
|
188170
|
-
return;
|
|
188171
|
-
const version2 = packageSpec.slice(prefix.length);
|
|
188172
|
-
return isCompleteSemVer(version2) ? version2 : undefined;
|
|
188173
|
-
}
|
|
188174
|
-
function isRecord10(value) {
|
|
188175
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
188176
|
-
}
|
|
188177
|
-
function isString(value) {
|
|
188178
|
-
return typeof value === "string";
|
|
188179
|
-
}
|
|
188180
|
-
|
|
188181
188206
|
// src/cli/skillInstall.ts
|
|
188182
188207
|
import { createHash as createHash3, randomUUID } from "node:crypto";
|
|
188183
188208
|
import {
|
|
@@ -188204,8 +188229,14 @@ import {
|
|
|
188204
188229
|
} from "node:path";
|
|
188205
188230
|
|
|
188206
188231
|
// src/cli/knownSkillDigests.ts
|
|
188207
|
-
var CURRENT_SKILL_DIGEST = "sha256:
|
|
188232
|
+
var CURRENT_SKILL_DIGEST = "sha256:3e11ba3cb7998c631d17d772f8f3493a9bbb7822db08cc5d67751a56b35c34f4";
|
|
188208
188233
|
var KNOWN_SKILL_DIGESTS_BY_VERSION = {
|
|
188234
|
+
"0.16.9": [
|
|
188235
|
+
{
|
|
188236
|
+
digest: "sha256:1ea8914f4657741fcd544822326f80e82033078f8e2b11b1f5aad420072dcb39",
|
|
188237
|
+
kind: "historical"
|
|
188238
|
+
}
|
|
188239
|
+
],
|
|
188209
188240
|
"0.15.2": [
|
|
188210
188241
|
{
|
|
188211
188242
|
digest: "sha256:d28acaadf490df9e58e12f195804f181a683d0d33344275d7989efbee26a4504",
|
|
@@ -192023,31 +192054,6 @@ var zAgentCapabilities = object({
|
|
|
192023
192054
|
})
|
|
192024
192055
|
});
|
|
192025
192056
|
var zAuthMethodId = string2();
|
|
192026
|
-
var zAuthEnvVar = object({
|
|
192027
|
-
name: string2(),
|
|
192028
|
-
label: defaultOnError(string2().nullish(), () => {
|
|
192029
|
-
return;
|
|
192030
|
-
}),
|
|
192031
|
-
secret: defaultOnError(boolean2().optional().default(true), () => true),
|
|
192032
|
-
optional: defaultOnError(boolean2().optional().default(false), () => false),
|
|
192033
|
-
_meta: defaultOnError(record(string2(), unknown()).nullish(), () => {
|
|
192034
|
-
return;
|
|
192035
|
-
})
|
|
192036
|
-
});
|
|
192037
|
-
var zAuthMethodEnvVar = object({
|
|
192038
|
-
id: zAuthMethodId,
|
|
192039
|
-
name: string2(),
|
|
192040
|
-
description: defaultOnError(string2().nullish(), () => {
|
|
192041
|
-
return;
|
|
192042
|
-
}),
|
|
192043
|
-
vars: requiredDefaultOnError(vecSkipError(zAuthEnvVar), () => []),
|
|
192044
|
-
link: defaultOnError(string2().nullish(), () => {
|
|
192045
|
-
return;
|
|
192046
|
-
}),
|
|
192047
|
-
_meta: defaultOnError(record(string2(), unknown()).nullish(), () => {
|
|
192048
|
-
return;
|
|
192049
|
-
})
|
|
192050
|
-
});
|
|
192051
192057
|
var zAuthMethodTerminal = object({
|
|
192052
192058
|
id: zAuthMethodId,
|
|
192053
192059
|
name: string2(),
|
|
@@ -192073,9 +192079,6 @@ var zAuthMethodAgent = object({
|
|
|
192073
192079
|
})
|
|
192074
192080
|
});
|
|
192075
192081
|
var zAuthMethod = union([
|
|
192076
|
-
zAuthMethodEnvVar.and(object({
|
|
192077
|
-
type: literal("env_var")
|
|
192078
|
-
})),
|
|
192079
192082
|
zAuthMethodTerminal.and(object({
|
|
192080
192083
|
type: literal("terminal")
|
|
192081
192084
|
})),
|
|
@@ -192698,6 +192701,34 @@ var zUsageUpdate = object({
|
|
|
192698
192701
|
return;
|
|
192699
192702
|
})
|
|
192700
192703
|
});
|
|
192704
|
+
var zCompactionId = string2();
|
|
192705
|
+
var zCompactionStatus = union([
|
|
192706
|
+
literal("in_progress"),
|
|
192707
|
+
literal("completed"),
|
|
192708
|
+
literal("failed"),
|
|
192709
|
+
literal("cancelled"),
|
|
192710
|
+
string2()
|
|
192711
|
+
]);
|
|
192712
|
+
var zCompactionUpdate = object({
|
|
192713
|
+
compactionId: zCompactionId,
|
|
192714
|
+
status: zCompactionStatus,
|
|
192715
|
+
summary: defaultOnError(vecSkipError(zContentBlock).nullish(), () => {
|
|
192716
|
+
return;
|
|
192717
|
+
}),
|
|
192718
|
+
error: defaultOnError(string2().nullish(), () => {
|
|
192719
|
+
return;
|
|
192720
|
+
}),
|
|
192721
|
+
_meta: defaultOnError(record(string2(), unknown()).nullish(), () => {
|
|
192722
|
+
return;
|
|
192723
|
+
})
|
|
192724
|
+
});
|
|
192725
|
+
var zCompactionSummaryChunk = object({
|
|
192726
|
+
compactionId: zCompactionId,
|
|
192727
|
+
content: zContentBlock,
|
|
192728
|
+
_meta: defaultOnError(record(string2(), unknown()).nullish(), () => {
|
|
192729
|
+
return;
|
|
192730
|
+
})
|
|
192731
|
+
});
|
|
192701
192732
|
var zSessionUpdate = union([
|
|
192702
192733
|
zContentChunk.and(object({
|
|
192703
192734
|
sessionUpdate: literal("user_message_chunk")
|
|
@@ -192737,6 +192768,12 @@ var zSessionUpdate = union([
|
|
|
192737
192768
|
})),
|
|
192738
192769
|
zUsageUpdate.and(object({
|
|
192739
192770
|
sessionUpdate: literal("usage_update")
|
|
192771
|
+
})),
|
|
192772
|
+
zCompactionUpdate.and(object({
|
|
192773
|
+
sessionUpdate: literal("compaction_update")
|
|
192774
|
+
})),
|
|
192775
|
+
zCompactionSummaryChunk.and(object({
|
|
192776
|
+
sessionUpdate: literal("compaction_summary_chunk")
|
|
192740
192777
|
}))
|
|
192741
192778
|
]);
|
|
192742
192779
|
var zSessionNotification = object({
|
|
@@ -192779,6 +192816,7 @@ var zFileSystemCapabilities = object({
|
|
|
192779
192816
|
return;
|
|
192780
192817
|
})
|
|
192781
192818
|
});
|
|
192819
|
+
var zCompactionCapabilities = record(string2(), unknown());
|
|
192782
192820
|
var zBooleanConfigOptionCapabilities = object({
|
|
192783
192821
|
_meta: defaultOnError(record(string2(), unknown()).nullish(), () => {
|
|
192784
192822
|
return;
|
|
@@ -192793,6 +192831,9 @@ var zSessionConfigOptionsCapabilities = object({
|
|
|
192793
192831
|
})
|
|
192794
192832
|
});
|
|
192795
192833
|
var zClientSessionCapabilities = object({
|
|
192834
|
+
compaction: defaultOnError(zCompactionCapabilities.nullish(), () => {
|
|
192835
|
+
return;
|
|
192836
|
+
}),
|
|
192796
192837
|
configOptions: defaultOnError(zSessionConfigOptionsCapabilities.nullish(), () => {
|
|
192797
192838
|
return;
|
|
192798
192839
|
}),
|
|
@@ -193631,7 +193672,7 @@ class RequestResponder {
|
|
|
193631
193672
|
});
|
|
193632
193673
|
}
|
|
193633
193674
|
}
|
|
193634
|
-
|
|
193675
|
+
var requestBatchSizes = new WeakMap;
|
|
193635
193676
|
class HandlerRegistration {
|
|
193636
193677
|
disposeHandler;
|
|
193637
193678
|
active = true;
|
|
@@ -193903,9 +193944,6 @@ class Connection {
|
|
|
193903
193944
|
if (done) {
|
|
193904
193945
|
break;
|
|
193905
193946
|
}
|
|
193906
|
-
if (!message) {
|
|
193907
|
-
continue;
|
|
193908
|
-
}
|
|
193909
193947
|
this.receiveWireMessage(message);
|
|
193910
193948
|
}
|
|
193911
193949
|
} finally {
|
|
@@ -193929,19 +193967,15 @@ class Connection {
|
|
|
193929
193967
|
this.receiveBatch(message);
|
|
193930
193968
|
return;
|
|
193931
193969
|
}
|
|
193932
|
-
if (!
|
|
193933
|
-
|
|
193970
|
+
if (!isRequestMessage(message) && !isNotificationMessage(message) && !isResponseShapedMessage(message)) {
|
|
193971
|
+
this.sendWireMessage(protocolErrorResponse(RequestError.invalidRequest(message))).catch(() => {});
|
|
193934
193972
|
return;
|
|
193935
193973
|
}
|
|
193936
193974
|
this.receiveMessage(message);
|
|
193937
193975
|
}
|
|
193938
193976
|
receiveBatch(batch) {
|
|
193939
193977
|
if (batch.length === 0) {
|
|
193940
|
-
this.sendWireMessage({
|
|
193941
|
-
jsonrpc: "2.0",
|
|
193942
|
-
id: null,
|
|
193943
|
-
error: RequestError.invalidRequest(batch).toErrorResponse()
|
|
193944
|
-
}).catch(() => {});
|
|
193978
|
+
this.sendWireMessage(protocolErrorResponse(RequestError.invalidRequest(batch))).catch(() => {});
|
|
193945
193979
|
return;
|
|
193946
193980
|
}
|
|
193947
193981
|
const responseBatch = isResponseBatch(batch);
|
|
@@ -193970,14 +194004,10 @@ class Connection {
|
|
|
193970
194004
|
continue;
|
|
193971
194005
|
}
|
|
193972
194006
|
if (!isRequestMessage(message) && !isNotificationMessage(message)) {
|
|
193973
|
-
collectResponse({
|
|
193974
|
-
jsonrpc: "2.0",
|
|
193975
|
-
id: null,
|
|
193976
|
-
error: RequestError.invalidRequest(message).toErrorResponse()
|
|
193977
|
-
}).catch(() => {});
|
|
194007
|
+
collectResponse(protocolErrorResponse(RequestError.invalidRequest(message))).catch(() => {});
|
|
193978
194008
|
continue;
|
|
193979
194009
|
}
|
|
193980
|
-
const processing = this.receiveMessage(message, isRequestMessage(message) ? collectResponse : undefined);
|
|
194010
|
+
const processing = this.receiveMessage(message, isRequestMessage(message) ? collectResponse : undefined, batch.length);
|
|
193981
194011
|
if (isNotificationMessage(message)) {
|
|
193982
194012
|
processing.finally(() => {
|
|
193983
194013
|
remainingNotifications -= 1;
|
|
@@ -193986,7 +194016,7 @@ class Connection {
|
|
|
193986
194016
|
}
|
|
193987
194017
|
}
|
|
193988
194018
|
}
|
|
193989
|
-
receiveMessage(message, sendResponse) {
|
|
194019
|
+
receiveMessage(message, sendResponse, batchSize) {
|
|
193990
194020
|
if (this.abortController.signal.aborted) {
|
|
193991
194021
|
return Promise.resolve();
|
|
193992
194022
|
}
|
|
@@ -193998,7 +194028,7 @@ class Connection {
|
|
|
193998
194028
|
if (!("id" in message)) {
|
|
193999
194029
|
this.handleProtocolNotification(message);
|
|
194000
194030
|
}
|
|
194001
|
-
return this.processIncomingMessage(this.toIncomingMessage(message, sendResponse)).catch((error51) => this.close(error51));
|
|
194031
|
+
return this.processIncomingMessage(this.toIncomingMessage(message, sendResponse, batchSize)).catch((error51) => this.close(error51));
|
|
194002
194032
|
} else if ("id" in message) {
|
|
194003
194033
|
this.handleResponse(message);
|
|
194004
194034
|
} else {
|
|
@@ -194048,7 +194078,7 @@ class Connection {
|
|
|
194048
194078
|
}
|
|
194049
194079
|
}
|
|
194050
194080
|
}
|
|
194051
|
-
toIncomingMessage(message, sendResponse) {
|
|
194081
|
+
toIncomingMessage(message, sendResponse, batchSize) {
|
|
194052
194082
|
if ("id" in message) {
|
|
194053
194083
|
const abortController = new AbortController;
|
|
194054
194084
|
this.incomingRequests.set(message.id, abortController);
|
|
@@ -194057,20 +194087,24 @@ class Connection {
|
|
|
194057
194087
|
this.incomingRequests.delete(message.id);
|
|
194058
194088
|
}
|
|
194059
194089
|
};
|
|
194090
|
+
const responder = new RequestResponder(message.id, (result) => {
|
|
194091
|
+
const response = {
|
|
194092
|
+
jsonrpc: "2.0",
|
|
194093
|
+
id: message.id,
|
|
194094
|
+
...result
|
|
194095
|
+
};
|
|
194096
|
+
return sendResponse ? sendResponse(response) : this.sendWireMessage(response);
|
|
194097
|
+
}, abortController.signal, finishRequest);
|
|
194098
|
+
if (batchSize !== undefined) {
|
|
194099
|
+
requestBatchSizes.set(responder, batchSize);
|
|
194100
|
+
}
|
|
194060
194101
|
return {
|
|
194061
194102
|
kind: "request",
|
|
194062
194103
|
method: message.method,
|
|
194063
194104
|
params: message.params,
|
|
194064
194105
|
raw: message,
|
|
194065
194106
|
signal: abortController.signal,
|
|
194066
|
-
responder
|
|
194067
|
-
const response = {
|
|
194068
|
-
jsonrpc: "2.0",
|
|
194069
|
-
id: message.id,
|
|
194070
|
-
...result
|
|
194071
|
-
};
|
|
194072
|
-
return sendResponse ? sendResponse(response) : this.sendWireMessage(response);
|
|
194073
|
-
}, abortController.signal, finishRequest)
|
|
194107
|
+
responder
|
|
194074
194108
|
};
|
|
194075
194109
|
}
|
|
194076
194110
|
return {
|
|
@@ -194237,6 +194271,13 @@ class RequestError extends Error {
|
|
|
194237
194271
|
};
|
|
194238
194272
|
}
|
|
194239
194273
|
}
|
|
194274
|
+
function protocolErrorResponse(error51) {
|
|
194275
|
+
return {
|
|
194276
|
+
jsonrpc: "2.0",
|
|
194277
|
+
id: null,
|
|
194278
|
+
error: error51.toErrorResponse()
|
|
194279
|
+
};
|
|
194280
|
+
}
|
|
194240
194281
|
|
|
194241
194282
|
// node_modules/@agentclientprotocol/sdk/dist/line-buffer.js
|
|
194242
194283
|
var newline = 10;
|
|
@@ -194289,22 +194330,40 @@ function ndJsonStream(output2, input2) {
|
|
|
194289
194330
|
const textDecoder = new TextDecoder;
|
|
194290
194331
|
let cancelled = false;
|
|
194291
194332
|
let inputReader;
|
|
194333
|
+
let outputWrite = Promise.resolve();
|
|
194334
|
+
const writeJson = (message) => {
|
|
194335
|
+
const content = JSON.stringify(message) + `
|
|
194336
|
+
`;
|
|
194337
|
+
const write = outputWrite.then(async () => {
|
|
194338
|
+
const writer = output2.getWriter();
|
|
194339
|
+
try {
|
|
194340
|
+
await writer.write(textEncoder.encode(content));
|
|
194341
|
+
} finally {
|
|
194342
|
+
writer.releaseLock();
|
|
194343
|
+
}
|
|
194344
|
+
});
|
|
194345
|
+
outputWrite = write.catch(() => {});
|
|
194346
|
+
return write;
|
|
194347
|
+
};
|
|
194292
194348
|
const readable = new ReadableStream({
|
|
194293
194349
|
async start(controller) {
|
|
194294
194350
|
const lines = new LineBuffer;
|
|
194295
|
-
const enqueueLine = (lineBytes) => {
|
|
194351
|
+
const enqueueLine = async (lineBytes) => {
|
|
194296
194352
|
const trimmedLine = textDecoder.decode(lineBytes).trim();
|
|
194297
|
-
if (trimmedLine) {
|
|
194298
|
-
|
|
194299
|
-
|
|
194300
|
-
|
|
194301
|
-
|
|
194302
|
-
|
|
194303
|
-
|
|
194304
|
-
|
|
194305
|
-
|
|
194306
|
-
|
|
194307
|
-
|
|
194353
|
+
if (!trimmedLine) {
|
|
194354
|
+
return;
|
|
194355
|
+
}
|
|
194356
|
+
let message;
|
|
194357
|
+
try {
|
|
194358
|
+
message = JSON.parse(trimmedLine);
|
|
194359
|
+
} catch {
|
|
194360
|
+
await writeJson(protocolErrorResponse(RequestError.parseError()));
|
|
194361
|
+
return;
|
|
194362
|
+
}
|
|
194363
|
+
if (isRecord12(message) || Array.isArray(message)) {
|
|
194364
|
+
controller.enqueue(message);
|
|
194365
|
+
} else {
|
|
194366
|
+
await writeJson(protocolErrorResponse(RequestError.invalidRequest(message)));
|
|
194308
194367
|
}
|
|
194309
194368
|
};
|
|
194310
194369
|
const reader = input2.getReader();
|
|
@@ -194322,7 +194381,7 @@ function ndJsonStream(output2, input2) {
|
|
|
194322
194381
|
continue;
|
|
194323
194382
|
}
|
|
194324
194383
|
for (const line of lines.push(value)) {
|
|
194325
|
-
enqueueLine(line);
|
|
194384
|
+
await enqueueLine(line);
|
|
194326
194385
|
if (cancelled) {
|
|
194327
194386
|
return;
|
|
194328
194387
|
}
|
|
@@ -194333,7 +194392,7 @@ function ndJsonStream(output2, input2) {
|
|
|
194333
194392
|
}
|
|
194334
194393
|
const lastLine = lines.flush();
|
|
194335
194394
|
if (lastLine) {
|
|
194336
|
-
enqueueLine(lastLine);
|
|
194395
|
+
await enqueueLine(lastLine);
|
|
194337
194396
|
}
|
|
194338
194397
|
} catch (err) {
|
|
194339
194398
|
if (cancelled) {
|
|
@@ -194358,15 +194417,8 @@ function ndJsonStream(output2, input2) {
|
|
|
194358
194417
|
}
|
|
194359
194418
|
});
|
|
194360
194419
|
const writable = new WritableStream({
|
|
194361
|
-
|
|
194362
|
-
|
|
194363
|
-
`;
|
|
194364
|
-
const writer = output2.getWriter();
|
|
194365
|
-
try {
|
|
194366
|
-
await writer.write(textEncoder.encode(content));
|
|
194367
|
-
} finally {
|
|
194368
|
-
writer.releaseLock();
|
|
194369
|
-
}
|
|
194420
|
+
write(message) {
|
|
194421
|
+
return writeJson(message);
|
|
194370
194422
|
}
|
|
194371
194423
|
});
|
|
194372
194424
|
return { readable, writable };
|
|
@@ -194878,11 +194930,11 @@ var clientRequestSpecs = {
|
|
|
194878
194930
|
releaseTerminal: requestSpec(CLIENT_METHODS.terminal_release, zReleaseTerminalRequest, emptyObjectResponse),
|
|
194879
194931
|
waitForTerminalExit: requestSpec(CLIENT_METHODS.terminal_wait_for_exit, zWaitForTerminalExitRequest),
|
|
194880
194932
|
killTerminal: requestSpec(CLIENT_METHODS.terminal_kill, zKillTerminalRequest, emptyObjectResponse),
|
|
194881
|
-
|
|
194933
|
+
createElicitation: requestSpec(CLIENT_METHODS.elicitation_create, zCreateElicitationRequest)
|
|
194882
194934
|
};
|
|
194883
194935
|
var clientNotificationSpecs = {
|
|
194884
194936
|
sessionUpdate: notificationSpec(CLIENT_METHODS.session_update, zSessionNotification),
|
|
194885
|
-
|
|
194937
|
+
completeElicitation: notificationSpec(CLIENT_METHODS.elicitation_complete, zCompleteElicitationNotification)
|
|
194886
194938
|
};
|
|
194887
194939
|
var agentRequestSpecsByMethod = specsByMethod(agentRequestSpecs);
|
|
194888
194940
|
var agentNotificationSpecsByMethod = specsByMethod(agentNotificationSpecs);
|
|
@@ -195200,6 +195252,46 @@ var legacyClientNotificationMethods = new Set([
|
|
|
195200
195252
|
CLIENT_METHODS.session_update,
|
|
195201
195253
|
CLIENT_METHODS.elicitation_complete
|
|
195202
195254
|
]);
|
|
195255
|
+
class TerminalHandle {
|
|
195256
|
+
id;
|
|
195257
|
+
sessionId;
|
|
195258
|
+
connection;
|
|
195259
|
+
constructor(id, sessionId, conn) {
|
|
195260
|
+
this.id = id;
|
|
195261
|
+
this.sessionId = sessionId;
|
|
195262
|
+
this.connection = conn;
|
|
195263
|
+
}
|
|
195264
|
+
static create(id, sessionId, conn) {
|
|
195265
|
+
return new TerminalHandle(id, sessionId, conn);
|
|
195266
|
+
}
|
|
195267
|
+
currentOutput() {
|
|
195268
|
+
return this.connection.sendRequest(CLIENT_METHODS.terminal_output, {
|
|
195269
|
+
sessionId: this.sessionId,
|
|
195270
|
+
terminalId: this.id
|
|
195271
|
+
});
|
|
195272
|
+
}
|
|
195273
|
+
waitForExit() {
|
|
195274
|
+
return this.connection.sendRequest(CLIENT_METHODS.terminal_wait_for_exit, {
|
|
195275
|
+
sessionId: this.sessionId,
|
|
195276
|
+
terminalId: this.id
|
|
195277
|
+
});
|
|
195278
|
+
}
|
|
195279
|
+
kill() {
|
|
195280
|
+
return this.connection.sendRequest(CLIENT_METHODS.terminal_kill, {
|
|
195281
|
+
sessionId: this.sessionId,
|
|
195282
|
+
terminalId: this.id
|
|
195283
|
+
}, emptyObjectResponse);
|
|
195284
|
+
}
|
|
195285
|
+
release() {
|
|
195286
|
+
return this.connection.sendRequest(CLIENT_METHODS.terminal_release, {
|
|
195287
|
+
sessionId: this.sessionId,
|
|
195288
|
+
terminalId: this.id
|
|
195289
|
+
}, emptyObjectResponse);
|
|
195290
|
+
}
|
|
195291
|
+
async[Symbol.asyncDispose]() {
|
|
195292
|
+
await this.release();
|
|
195293
|
+
}
|
|
195294
|
+
}
|
|
195203
195295
|
|
|
195204
195296
|
// src/acp/AcpAgentManager.ts
|
|
195205
195297
|
class BaseAcpAgentManager {
|