@hasna/skills 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +525 -585
- package/bin/mcp.js +376 -323
- package/bin/migrate.js +1 -164
- package/bin/server.js +58 -220
- package/bin/worker.js +97 -258
- package/dist/admin-contract.js +168 -166
- package/dist/index.d.ts +1 -1
- package/dist/index.js +448 -365
- package/dist/lib/remote-client.d.ts +7 -0
- package/dist/lib/remote-quote-errors.d.ts +12 -0
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +401 -301
- package/dist/storage.js +35 -33
- package/package.json +1 -1
package/bin/mcp.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;
|
|
@@ -112,55 +114,55 @@ var init_core = __esm(() => {
|
|
|
112
114
|
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/core/util.js
|
|
113
115
|
var exports_util = {};
|
|
114
116
|
__export(exports_util, {
|
|
115
|
-
|
|
116
|
-
stringifyPrimitive: () => stringifyPrimitive,
|
|
117
|
-
required: () => required,
|
|
118
|
-
randomString: () => randomString,
|
|
119
|
-
propertyKeyTypes: () => propertyKeyTypes,
|
|
120
|
-
promiseAllObject: () => promiseAllObject,
|
|
121
|
-
primitiveTypes: () => primitiveTypes,
|
|
122
|
-
prefixIssues: () => prefixIssues,
|
|
123
|
-
pick: () => pick,
|
|
124
|
-
partial: () => partial,
|
|
125
|
-
optionalKeys: () => optionalKeys,
|
|
126
|
-
omit: () => omit,
|
|
127
|
-
numKeys: () => numKeys,
|
|
128
|
-
nullish: () => nullish,
|
|
129
|
-
normalizeParams: () => normalizeParams,
|
|
130
|
-
merge: () => merge,
|
|
131
|
-
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
132
|
-
joinValues: () => joinValues,
|
|
133
|
-
issue: () => issue,
|
|
134
|
-
isPlainObject: () => isPlainObject,
|
|
135
|
-
isObject: () => isObject,
|
|
136
|
-
getSizableOrigin: () => getSizableOrigin,
|
|
137
|
-
getParsedType: () => getParsedType,
|
|
138
|
-
getLengthableOrigin: () => getLengthableOrigin,
|
|
139
|
-
getEnumValues: () => getEnumValues,
|
|
140
|
-
getElementAtPath: () => getElementAtPath,
|
|
141
|
-
floatSafeRemainder: () => floatSafeRemainder,
|
|
142
|
-
finalizeIssue: () => finalizeIssue,
|
|
143
|
-
extend: () => extend,
|
|
144
|
-
escapeRegex: () => escapeRegex,
|
|
145
|
-
esc: () => esc,
|
|
146
|
-
defineLazy: () => defineLazy,
|
|
147
|
-
createTransparentProxy: () => createTransparentProxy,
|
|
148
|
-
clone: () => clone,
|
|
149
|
-
cleanRegex: () => cleanRegex,
|
|
150
|
-
cleanEnum: () => cleanEnum,
|
|
151
|
-
captureStackTrace: () => captureStackTrace,
|
|
152
|
-
cached: () => cached,
|
|
153
|
-
assignProp: () => assignProp,
|
|
154
|
-
assertNotEqual: () => assertNotEqual,
|
|
155
|
-
assertNever: () => assertNever,
|
|
156
|
-
assertIs: () => assertIs,
|
|
157
|
-
assertEqual: () => assertEqual,
|
|
158
|
-
assert: () => assert,
|
|
159
|
-
allowsEval: () => allowsEval,
|
|
160
|
-
aborted: () => aborted,
|
|
161
|
-
NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
|
|
117
|
+
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
162
118
|
Class: () => Class,
|
|
163
|
-
|
|
119
|
+
NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
|
|
120
|
+
aborted: () => aborted,
|
|
121
|
+
allowsEval: () => allowsEval,
|
|
122
|
+
assert: () => assert,
|
|
123
|
+
assertEqual: () => assertEqual,
|
|
124
|
+
assertIs: () => assertIs,
|
|
125
|
+
assertNever: () => assertNever,
|
|
126
|
+
assertNotEqual: () => assertNotEqual,
|
|
127
|
+
assignProp: () => assignProp,
|
|
128
|
+
cached: () => cached,
|
|
129
|
+
captureStackTrace: () => captureStackTrace,
|
|
130
|
+
cleanEnum: () => cleanEnum,
|
|
131
|
+
cleanRegex: () => cleanRegex,
|
|
132
|
+
clone: () => clone,
|
|
133
|
+
createTransparentProxy: () => createTransparentProxy,
|
|
134
|
+
defineLazy: () => defineLazy,
|
|
135
|
+
esc: () => esc,
|
|
136
|
+
escapeRegex: () => escapeRegex,
|
|
137
|
+
extend: () => extend,
|
|
138
|
+
finalizeIssue: () => finalizeIssue,
|
|
139
|
+
floatSafeRemainder: () => floatSafeRemainder,
|
|
140
|
+
getElementAtPath: () => getElementAtPath,
|
|
141
|
+
getEnumValues: () => getEnumValues,
|
|
142
|
+
getLengthableOrigin: () => getLengthableOrigin,
|
|
143
|
+
getParsedType: () => getParsedType,
|
|
144
|
+
getSizableOrigin: () => getSizableOrigin,
|
|
145
|
+
isObject: () => isObject,
|
|
146
|
+
isPlainObject: () => isPlainObject,
|
|
147
|
+
issue: () => issue,
|
|
148
|
+
joinValues: () => joinValues,
|
|
149
|
+
jsonStringifyReplacer: () => jsonStringifyReplacer,
|
|
150
|
+
merge: () => merge,
|
|
151
|
+
normalizeParams: () => normalizeParams,
|
|
152
|
+
nullish: () => nullish,
|
|
153
|
+
numKeys: () => numKeys,
|
|
154
|
+
omit: () => omit,
|
|
155
|
+
optionalKeys: () => optionalKeys,
|
|
156
|
+
partial: () => partial,
|
|
157
|
+
pick: () => pick,
|
|
158
|
+
prefixIssues: () => prefixIssues,
|
|
159
|
+
primitiveTypes: () => primitiveTypes,
|
|
160
|
+
promiseAllObject: () => promiseAllObject,
|
|
161
|
+
propertyKeyTypes: () => propertyKeyTypes,
|
|
162
|
+
randomString: () => randomString,
|
|
163
|
+
required: () => required,
|
|
164
|
+
stringifyPrimitive: () => stringifyPrimitive,
|
|
165
|
+
unwrapMessage: () => unwrapMessage
|
|
164
166
|
});
|
|
165
167
|
function assertEqual(val) {
|
|
166
168
|
return val;
|
|
@@ -3899,14 +3901,14 @@ var init_checks2 = __esm(() => {
|
|
|
3899
3901
|
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v4/classic/iso.js
|
|
3900
3902
|
var exports_iso = {};
|
|
3901
3903
|
__export(exports_iso, {
|
|
3902
|
-
|
|
3903
|
-
duration: () => duration2,
|
|
3904
|
-
datetime: () => datetime2,
|
|
3905
|
-
date: () => date2,
|
|
3906
|
-
ZodISOTime: () => ZodISOTime,
|
|
3907
|
-
ZodISODuration: () => ZodISODuration,
|
|
3904
|
+
ZodISODate: () => ZodISODate,
|
|
3908
3905
|
ZodISODateTime: () => ZodISODateTime,
|
|
3909
|
-
|
|
3906
|
+
ZodISODuration: () => ZodISODuration,
|
|
3907
|
+
ZodISOTime: () => ZodISOTime,
|
|
3908
|
+
date: () => date2,
|
|
3909
|
+
datetime: () => datetime2,
|
|
3910
|
+
duration: () => duration2,
|
|
3911
|
+
time: () => time2
|
|
3910
3912
|
});
|
|
3911
3913
|
function datetime2(params) {
|
|
3912
3914
|
return _isoDateTime(ZodISODateTime, params);
|
|
@@ -5586,7 +5588,7 @@ var package_default;
|
|
|
5586
5588
|
var init_package = __esm(() => {
|
|
5587
5589
|
package_default = {
|
|
5588
5590
|
name: "@hasna/skills",
|
|
5589
|
-
version: "0.5.
|
|
5591
|
+
version: "0.5.4",
|
|
5590
5592
|
description: "Skills library for AI coding agents",
|
|
5591
5593
|
type: "module",
|
|
5592
5594
|
bin: {
|
|
@@ -6504,31 +6506,31 @@ var init_local_opt_in = __esm(() => {
|
|
|
6504
6506
|
// src/lib/fleet-credentials.ts
|
|
6505
6507
|
var exports_fleet_credentials = {};
|
|
6506
6508
|
__export(exports_fleet_credentials, {
|
|
6507
|
-
|
|
6508
|
-
skillsCredentialFiles: () => skillsCredentialFiles,
|
|
6509
|
-
skillsCredentialFilePath: () => skillsCredentialFilePath,
|
|
6510
|
-
selectsSkillsLocalMode: () => selectsSkillsLocalMode,
|
|
6511
|
-
resolveSkillsFleet: () => resolveSkillsFleet,
|
|
6512
|
-
resolveSkillsConnection: () => resolveSkillsConnection,
|
|
6513
|
-
resolveSkillsApiOrigin: () => resolveSkillsApiOrigin,
|
|
6514
|
-
resolveSkillsApiKey: () => resolveSkillsApiKey,
|
|
6515
|
-
resetLocalSkillsModeNotice: () => resetLocalSkillsModeNotice,
|
|
6516
|
-
requireSkillsFleet: () => requireSkillsFleet,
|
|
6517
|
-
requireSkillsApiOrigin: () => requireSkillsApiOrigin,
|
|
6518
|
-
requireSkillsApiKey: () => requireSkillsApiKey,
|
|
6519
|
-
noticeLocalSkillsMode: () => noticeLocalSkillsMode,
|
|
6520
|
-
normalizeSkillsApiOrigin: () => normalizeSkillsApiOrigin,
|
|
6521
|
-
isSkillsLocalOptIn: () => isSkillsLocalOptIn,
|
|
6522
|
-
isSkillsFleetCredentialError: () => isSkillsFleetCredentialError,
|
|
6523
|
-
configuredSkillsApiUrl: () => configuredSkillsApiUrl,
|
|
6524
|
-
SkillsFleetCredentialError: () => SkillsFleetCredentialError,
|
|
6525
|
-
SKILLS_LOCAL_OPT_IN_ENV_KEYS: () => SKILLS_LOCAL_OPT_IN_ENV_KEYS,
|
|
6526
|
-
SKILLS_APP: () => SKILLS_APP,
|
|
6527
|
-
SKILLS_API_URL_ENV_KEYS: () => SKILLS_API_URL_ENV_KEYS,
|
|
6528
|
-
SKILLS_API_URL_ENV: () => SKILLS_API_URL_ENV,
|
|
6529
|
-
SKILLS_API_KEY_ENV_KEYS: () => SKILLS_API_KEY_ENV_KEYS,
|
|
6509
|
+
MissingSkillsFleetError: () => MissingSkillsFleetError,
|
|
6530
6510
|
SKILLS_API_KEY_ENV: () => SKILLS_API_KEY_ENV,
|
|
6531
|
-
|
|
6511
|
+
SKILLS_API_KEY_ENV_KEYS: () => SKILLS_API_KEY_ENV_KEYS,
|
|
6512
|
+
SKILLS_API_URL_ENV: () => SKILLS_API_URL_ENV,
|
|
6513
|
+
SKILLS_API_URL_ENV_KEYS: () => SKILLS_API_URL_ENV_KEYS,
|
|
6514
|
+
SKILLS_APP: () => SKILLS_APP,
|
|
6515
|
+
SKILLS_LOCAL_OPT_IN_ENV_KEYS: () => SKILLS_LOCAL_OPT_IN_ENV_KEYS,
|
|
6516
|
+
SkillsFleetCredentialError: () => SkillsFleetCredentialError,
|
|
6517
|
+
configuredSkillsApiUrl: () => configuredSkillsApiUrl,
|
|
6518
|
+
isSkillsFleetCredentialError: () => isSkillsFleetCredentialError,
|
|
6519
|
+
isSkillsLocalOptIn: () => isSkillsLocalOptIn,
|
|
6520
|
+
normalizeSkillsApiOrigin: () => normalizeSkillsApiOrigin,
|
|
6521
|
+
noticeLocalSkillsMode: () => noticeLocalSkillsMode,
|
|
6522
|
+
requireSkillsApiKey: () => requireSkillsApiKey,
|
|
6523
|
+
requireSkillsApiOrigin: () => requireSkillsApiOrigin,
|
|
6524
|
+
requireSkillsFleet: () => requireSkillsFleet,
|
|
6525
|
+
resetLocalSkillsModeNotice: () => resetLocalSkillsModeNotice,
|
|
6526
|
+
resolveSkillsApiKey: () => resolveSkillsApiKey,
|
|
6527
|
+
resolveSkillsApiOrigin: () => resolveSkillsApiOrigin,
|
|
6528
|
+
resolveSkillsConnection: () => resolveSkillsConnection,
|
|
6529
|
+
resolveSkillsFleet: () => resolveSkillsFleet,
|
|
6530
|
+
selectsSkillsLocalMode: () => selectsSkillsLocalMode,
|
|
6531
|
+
skillsCredentialFilePath: () => skillsCredentialFilePath,
|
|
6532
|
+
skillsCredentialFiles: () => skillsCredentialFiles,
|
|
6533
|
+
skillsCredentialOrReason: () => skillsCredentialOrReason
|
|
6532
6534
|
});
|
|
6533
6535
|
function isCredentialResolutionError(error2) {
|
|
6534
6536
|
return error2 instanceof CredentialResolutionError || typeof error2 === "object" && error2 !== null && error2.name === "CredentialResolutionError";
|
|
@@ -10634,113 +10636,113 @@ var init_types2 = __esm(() => {
|
|
|
10634
10636
|
// ../../node_modules/.bun/zod@3.25.76/node_modules/zod/v3/external.js
|
|
10635
10637
|
var exports_external = {};
|
|
10636
10638
|
__export(exports_external, {
|
|
10637
|
-
|
|
10638
|
-
util: () => util,
|
|
10639
|
-
unknown: () => unknownType,
|
|
10640
|
-
union: () => unionType,
|
|
10641
|
-
undefined: () => undefinedType,
|
|
10642
|
-
tuple: () => tupleType,
|
|
10643
|
-
transformer: () => effectsType,
|
|
10644
|
-
symbol: () => symbolType,
|
|
10645
|
-
string: () => stringType,
|
|
10646
|
-
strictObject: () => strictObjectType,
|
|
10647
|
-
setErrorMap: () => setErrorMap,
|
|
10648
|
-
set: () => setType,
|
|
10649
|
-
record: () => recordType,
|
|
10650
|
-
quotelessJson: () => quotelessJson,
|
|
10651
|
-
promise: () => promiseType,
|
|
10652
|
-
preprocess: () => preprocessType,
|
|
10653
|
-
pipeline: () => pipelineType,
|
|
10654
|
-
ostring: () => ostring,
|
|
10655
|
-
optional: () => optionalType,
|
|
10656
|
-
onumber: () => onumber,
|
|
10657
|
-
oboolean: () => oboolean,
|
|
10658
|
-
objectUtil: () => objectUtil,
|
|
10659
|
-
object: () => objectType,
|
|
10660
|
-
number: () => numberType,
|
|
10661
|
-
nullable: () => nullableType,
|
|
10662
|
-
null: () => nullType,
|
|
10663
|
-
never: () => neverType,
|
|
10664
|
-
nativeEnum: () => nativeEnumType,
|
|
10665
|
-
nan: () => nanType,
|
|
10666
|
-
map: () => mapType,
|
|
10667
|
-
makeIssue: () => makeIssue,
|
|
10668
|
-
literal: () => literalType,
|
|
10669
|
-
lazy: () => lazyType,
|
|
10670
|
-
late: () => late,
|
|
10671
|
-
isValid: () => isValid,
|
|
10672
|
-
isDirty: () => isDirty,
|
|
10673
|
-
isAsync: () => isAsync,
|
|
10674
|
-
isAborted: () => isAborted,
|
|
10675
|
-
intersection: () => intersectionType,
|
|
10676
|
-
instanceof: () => instanceOfType,
|
|
10677
|
-
getParsedType: () => getParsedType2,
|
|
10678
|
-
getErrorMap: () => getErrorMap,
|
|
10679
|
-
function: () => functionType,
|
|
10680
|
-
enum: () => enumType,
|
|
10681
|
-
effect: () => effectsType,
|
|
10682
|
-
discriminatedUnion: () => discriminatedUnionType,
|
|
10683
|
-
defaultErrorMap: () => en_default2,
|
|
10684
|
-
datetimeRegex: () => datetimeRegex,
|
|
10685
|
-
date: () => dateType,
|
|
10686
|
-
custom: () => custom2,
|
|
10687
|
-
coerce: () => coerce,
|
|
10688
|
-
boolean: () => booleanType,
|
|
10689
|
-
bigint: () => bigIntType,
|
|
10690
|
-
array: () => arrayType,
|
|
10691
|
-
any: () => anyType,
|
|
10692
|
-
addIssueToContext: () => addIssueToContext,
|
|
10693
|
-
ZodVoid: () => ZodVoid,
|
|
10694
|
-
ZodUnknown: () => ZodUnknown2,
|
|
10695
|
-
ZodUnion: () => ZodUnion2,
|
|
10696
|
-
ZodUndefined: () => ZodUndefined,
|
|
10697
|
-
ZodType: () => ZodType2,
|
|
10698
|
-
ZodTuple: () => ZodTuple,
|
|
10699
|
-
ZodTransformer: () => ZodEffects,
|
|
10700
|
-
ZodSymbol: () => ZodSymbol,
|
|
10701
|
-
ZodString: () => ZodString2,
|
|
10702
|
-
ZodSet: () => ZodSet,
|
|
10703
|
-
ZodSchema: () => ZodType2,
|
|
10704
|
-
ZodRecord: () => ZodRecord2,
|
|
10705
|
-
ZodReadonly: () => ZodReadonly2,
|
|
10706
|
-
ZodPromise: () => ZodPromise,
|
|
10707
|
-
ZodPipeline: () => ZodPipeline,
|
|
10708
|
-
ZodParsedType: () => ZodParsedType,
|
|
10709
|
-
ZodOptional: () => ZodOptional2,
|
|
10710
|
-
ZodObject: () => ZodObject2,
|
|
10711
|
-
ZodNumber: () => ZodNumber2,
|
|
10712
|
-
ZodNullable: () => ZodNullable2,
|
|
10713
|
-
ZodNull: () => ZodNull2,
|
|
10714
|
-
ZodNever: () => ZodNever2,
|
|
10715
|
-
ZodNativeEnum: () => ZodNativeEnum,
|
|
10716
|
-
ZodNaN: () => ZodNaN,
|
|
10717
|
-
ZodMap: () => ZodMap,
|
|
10718
|
-
ZodLiteral: () => ZodLiteral2,
|
|
10719
|
-
ZodLazy: () => ZodLazy,
|
|
10720
|
-
ZodIssueCode: () => ZodIssueCode,
|
|
10721
|
-
ZodIntersection: () => ZodIntersection2,
|
|
10722
|
-
ZodFunction: () => ZodFunction,
|
|
10723
|
-
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
10724
|
-
ZodError: () => ZodError2,
|
|
10725
|
-
ZodEnum: () => ZodEnum2,
|
|
10726
|
-
ZodEffects: () => ZodEffects,
|
|
10727
|
-
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion2,
|
|
10728
|
-
ZodDefault: () => ZodDefault2,
|
|
10729
|
-
ZodDate: () => ZodDate,
|
|
10730
|
-
ZodCatch: () => ZodCatch2,
|
|
10731
|
-
ZodBranded: () => ZodBranded,
|
|
10732
|
-
ZodBoolean: () => ZodBoolean2,
|
|
10733
|
-
ZodBigInt: () => ZodBigInt,
|
|
10734
|
-
ZodArray: () => ZodArray2,
|
|
10735
|
-
ZodAny: () => ZodAny,
|
|
10736
|
-
Schema: () => ZodType2,
|
|
10737
|
-
ParseStatus: () => ParseStatus,
|
|
10738
|
-
OK: () => OK,
|
|
10739
|
-
NEVER: () => NEVER2,
|
|
10740
|
-
INVALID: () => INVALID,
|
|
10741
|
-
EMPTY_PATH: () => EMPTY_PATH,
|
|
10639
|
+
BRAND: () => BRAND,
|
|
10742
10640
|
DIRTY: () => DIRTY,
|
|
10743
|
-
|
|
10641
|
+
EMPTY_PATH: () => EMPTY_PATH,
|
|
10642
|
+
INVALID: () => INVALID,
|
|
10643
|
+
NEVER: () => NEVER2,
|
|
10644
|
+
OK: () => OK,
|
|
10645
|
+
ParseStatus: () => ParseStatus,
|
|
10646
|
+
Schema: () => ZodType2,
|
|
10647
|
+
ZodAny: () => ZodAny,
|
|
10648
|
+
ZodArray: () => ZodArray2,
|
|
10649
|
+
ZodBigInt: () => ZodBigInt,
|
|
10650
|
+
ZodBoolean: () => ZodBoolean2,
|
|
10651
|
+
ZodBranded: () => ZodBranded,
|
|
10652
|
+
ZodCatch: () => ZodCatch2,
|
|
10653
|
+
ZodDate: () => ZodDate,
|
|
10654
|
+
ZodDefault: () => ZodDefault2,
|
|
10655
|
+
ZodDiscriminatedUnion: () => ZodDiscriminatedUnion2,
|
|
10656
|
+
ZodEffects: () => ZodEffects,
|
|
10657
|
+
ZodEnum: () => ZodEnum2,
|
|
10658
|
+
ZodError: () => ZodError2,
|
|
10659
|
+
ZodFirstPartyTypeKind: () => ZodFirstPartyTypeKind,
|
|
10660
|
+
ZodFunction: () => ZodFunction,
|
|
10661
|
+
ZodIntersection: () => ZodIntersection2,
|
|
10662
|
+
ZodIssueCode: () => ZodIssueCode,
|
|
10663
|
+
ZodLazy: () => ZodLazy,
|
|
10664
|
+
ZodLiteral: () => ZodLiteral2,
|
|
10665
|
+
ZodMap: () => ZodMap,
|
|
10666
|
+
ZodNaN: () => ZodNaN,
|
|
10667
|
+
ZodNativeEnum: () => ZodNativeEnum,
|
|
10668
|
+
ZodNever: () => ZodNever2,
|
|
10669
|
+
ZodNull: () => ZodNull2,
|
|
10670
|
+
ZodNullable: () => ZodNullable2,
|
|
10671
|
+
ZodNumber: () => ZodNumber2,
|
|
10672
|
+
ZodObject: () => ZodObject2,
|
|
10673
|
+
ZodOptional: () => ZodOptional2,
|
|
10674
|
+
ZodParsedType: () => ZodParsedType,
|
|
10675
|
+
ZodPipeline: () => ZodPipeline,
|
|
10676
|
+
ZodPromise: () => ZodPromise,
|
|
10677
|
+
ZodReadonly: () => ZodReadonly2,
|
|
10678
|
+
ZodRecord: () => ZodRecord2,
|
|
10679
|
+
ZodSchema: () => ZodType2,
|
|
10680
|
+
ZodSet: () => ZodSet,
|
|
10681
|
+
ZodString: () => ZodString2,
|
|
10682
|
+
ZodSymbol: () => ZodSymbol,
|
|
10683
|
+
ZodTransformer: () => ZodEffects,
|
|
10684
|
+
ZodTuple: () => ZodTuple,
|
|
10685
|
+
ZodType: () => ZodType2,
|
|
10686
|
+
ZodUndefined: () => ZodUndefined,
|
|
10687
|
+
ZodUnion: () => ZodUnion2,
|
|
10688
|
+
ZodUnknown: () => ZodUnknown2,
|
|
10689
|
+
ZodVoid: () => ZodVoid,
|
|
10690
|
+
addIssueToContext: () => addIssueToContext,
|
|
10691
|
+
any: () => anyType,
|
|
10692
|
+
array: () => arrayType,
|
|
10693
|
+
bigint: () => bigIntType,
|
|
10694
|
+
boolean: () => booleanType,
|
|
10695
|
+
coerce: () => coerce,
|
|
10696
|
+
custom: () => custom2,
|
|
10697
|
+
date: () => dateType,
|
|
10698
|
+
datetimeRegex: () => datetimeRegex,
|
|
10699
|
+
defaultErrorMap: () => en_default2,
|
|
10700
|
+
discriminatedUnion: () => discriminatedUnionType,
|
|
10701
|
+
effect: () => effectsType,
|
|
10702
|
+
enum: () => enumType,
|
|
10703
|
+
function: () => functionType,
|
|
10704
|
+
getErrorMap: () => getErrorMap,
|
|
10705
|
+
getParsedType: () => getParsedType2,
|
|
10706
|
+
instanceof: () => instanceOfType,
|
|
10707
|
+
intersection: () => intersectionType,
|
|
10708
|
+
isAborted: () => isAborted,
|
|
10709
|
+
isAsync: () => isAsync,
|
|
10710
|
+
isDirty: () => isDirty,
|
|
10711
|
+
isValid: () => isValid,
|
|
10712
|
+
late: () => late,
|
|
10713
|
+
lazy: () => lazyType,
|
|
10714
|
+
literal: () => literalType,
|
|
10715
|
+
makeIssue: () => makeIssue,
|
|
10716
|
+
map: () => mapType,
|
|
10717
|
+
nan: () => nanType,
|
|
10718
|
+
nativeEnum: () => nativeEnumType,
|
|
10719
|
+
never: () => neverType,
|
|
10720
|
+
null: () => nullType,
|
|
10721
|
+
nullable: () => nullableType,
|
|
10722
|
+
number: () => numberType,
|
|
10723
|
+
object: () => objectType,
|
|
10724
|
+
objectUtil: () => objectUtil,
|
|
10725
|
+
oboolean: () => oboolean,
|
|
10726
|
+
onumber: () => onumber,
|
|
10727
|
+
optional: () => optionalType,
|
|
10728
|
+
ostring: () => ostring,
|
|
10729
|
+
pipeline: () => pipelineType,
|
|
10730
|
+
preprocess: () => preprocessType,
|
|
10731
|
+
promise: () => promiseType,
|
|
10732
|
+
quotelessJson: () => quotelessJson,
|
|
10733
|
+
record: () => recordType,
|
|
10734
|
+
set: () => setType,
|
|
10735
|
+
setErrorMap: () => setErrorMap,
|
|
10736
|
+
strictObject: () => strictObjectType,
|
|
10737
|
+
string: () => stringType,
|
|
10738
|
+
symbol: () => symbolType,
|
|
10739
|
+
transformer: () => effectsType,
|
|
10740
|
+
tuple: () => tupleType,
|
|
10741
|
+
undefined: () => undefinedType,
|
|
10742
|
+
union: () => unionType,
|
|
10743
|
+
unknown: () => unknownType,
|
|
10744
|
+
util: () => util,
|
|
10745
|
+
void: () => voidType
|
|
10744
10746
|
});
|
|
10745
10747
|
var init_external2 = __esm(() => {
|
|
10746
10748
|
init_errors3();
|
|
@@ -13303,7 +13305,7 @@ var init_protocol = __esm(() => {
|
|
|
13303
13305
|
});
|
|
13304
13306
|
|
|
13305
13307
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
13306
|
-
var require_code = __commonJS((exports)
|
|
13308
|
+
var require_code = __commonJS(function(exports) {
|
|
13307
13309
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13308
13310
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = undefined;
|
|
13309
13311
|
|
|
@@ -13457,7 +13459,7 @@ var require_code = __commonJS((exports) => {
|
|
|
13457
13459
|
});
|
|
13458
13460
|
|
|
13459
13461
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
13460
|
-
var require_scope = __commonJS((exports)
|
|
13462
|
+
var require_scope = __commonJS(function(exports) {
|
|
13461
13463
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13462
13464
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = undefined;
|
|
13463
13465
|
var code_1 = require_code();
|
|
@@ -13603,7 +13605,7 @@ var require_scope = __commonJS((exports) => {
|
|
|
13603
13605
|
});
|
|
13604
13606
|
|
|
13605
13607
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
13606
|
-
var require_codegen = __commonJS((exports)
|
|
13608
|
+
var require_codegen = __commonJS(function(exports) {
|
|
13607
13609
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13608
13610
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = undefined;
|
|
13609
13611
|
var code_1 = require_code();
|
|
@@ -14313,7 +14315,7 @@ var require_codegen = __commonJS((exports) => {
|
|
|
14313
14315
|
});
|
|
14314
14316
|
|
|
14315
14317
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/util.js
|
|
14316
|
-
var require_util = __commonJS((exports)
|
|
14318
|
+
var require_util = __commonJS(function(exports) {
|
|
14317
14319
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14318
14320
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = undefined;
|
|
14319
14321
|
var codegen_1 = require_codegen();
|
|
@@ -14477,7 +14479,7 @@ var require_util = __commonJS((exports) => {
|
|
|
14477
14479
|
});
|
|
14478
14480
|
|
|
14479
14481
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/names.js
|
|
14480
|
-
var require_names = __commonJS((exports)
|
|
14482
|
+
var require_names = __commonJS(function(exports) {
|
|
14481
14483
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14482
14484
|
var codegen_1 = require_codegen();
|
|
14483
14485
|
var names = {
|
|
@@ -14502,7 +14504,7 @@ var require_names = __commonJS((exports) => {
|
|
|
14502
14504
|
});
|
|
14503
14505
|
|
|
14504
14506
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js
|
|
14505
|
-
var require_errors = __commonJS((exports)
|
|
14507
|
+
var require_errors = __commonJS(function(exports) {
|
|
14506
14508
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14507
14509
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = undefined;
|
|
14508
14510
|
var codegen_1 = require_codegen();
|
|
@@ -14620,7 +14622,7 @@ var require_errors = __commonJS((exports) => {
|
|
|
14620
14622
|
});
|
|
14621
14623
|
|
|
14622
14624
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
14623
|
-
var require_boolSchema = __commonJS((exports)
|
|
14625
|
+
var require_boolSchema = __commonJS(function(exports) {
|
|
14624
14626
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14625
14627
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = undefined;
|
|
14626
14628
|
var errors_1 = require_errors();
|
|
@@ -14668,7 +14670,7 @@ var require_boolSchema = __commonJS((exports) => {
|
|
|
14668
14670
|
});
|
|
14669
14671
|
|
|
14670
14672
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js
|
|
14671
|
-
var require_rules = __commonJS((exports)
|
|
14673
|
+
var require_rules = __commonJS(function(exports) {
|
|
14672
14674
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14673
14675
|
exports.getRules = exports.isJSONType = undefined;
|
|
14674
14676
|
var _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
|
|
@@ -14696,7 +14698,7 @@ var require_rules = __commonJS((exports) => {
|
|
|
14696
14698
|
});
|
|
14697
14699
|
|
|
14698
14700
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
14699
|
-
var require_applicability = __commonJS((exports)
|
|
14701
|
+
var require_applicability = __commonJS(function(exports) {
|
|
14700
14702
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14701
14703
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = undefined;
|
|
14702
14704
|
function schemaHasRulesForType({ schema, self }, type) {
|
|
@@ -14716,7 +14718,7 @@ var require_applicability = __commonJS((exports) => {
|
|
|
14716
14718
|
});
|
|
14717
14719
|
|
|
14718
14720
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
14719
|
-
var require_dataType = __commonJS((exports)
|
|
14721
|
+
var require_dataType = __commonJS(function(exports) {
|
|
14720
14722
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14721
14723
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = undefined;
|
|
14722
14724
|
var rules_1 = require_rules();
|
|
@@ -14897,7 +14899,7 @@ var require_dataType = __commonJS((exports) => {
|
|
|
14897
14899
|
});
|
|
14898
14900
|
|
|
14899
14901
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
14900
|
-
var require_defaults = __commonJS((exports)
|
|
14902
|
+
var require_defaults = __commonJS(function(exports) {
|
|
14901
14903
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14902
14904
|
exports.assignDefaults = undefined;
|
|
14903
14905
|
var codegen_1 = require_codegen();
|
|
@@ -14931,7 +14933,7 @@ var require_defaults = __commonJS((exports) => {
|
|
|
14931
14933
|
});
|
|
14932
14934
|
|
|
14933
14935
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js
|
|
14934
|
-
var require_code2 = __commonJS((exports)
|
|
14936
|
+
var require_code2 = __commonJS(function(exports) {
|
|
14935
14937
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14936
14938
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = undefined;
|
|
14937
14939
|
var codegen_1 = require_codegen();
|
|
@@ -15060,7 +15062,7 @@ var require_code2 = __commonJS((exports) => {
|
|
|
15060
15062
|
});
|
|
15061
15063
|
|
|
15062
15064
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
15063
|
-
var require_keyword = __commonJS((exports)
|
|
15065
|
+
var require_keyword = __commonJS(function(exports) {
|
|
15064
15066
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15065
15067
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = undefined;
|
|
15066
15068
|
var codegen_1 = require_codegen();
|
|
@@ -15175,7 +15177,7 @@ var require_keyword = __commonJS((exports) => {
|
|
|
15175
15177
|
});
|
|
15176
15178
|
|
|
15177
15179
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
15178
|
-
var require_subschema = __commonJS((exports)
|
|
15180
|
+
var require_subschema = __commonJS(function(exports) {
|
|
15179
15181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15180
15182
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = undefined;
|
|
15181
15183
|
var codegen_1 = require_codegen();
|
|
@@ -15255,7 +15257,7 @@ var require_subschema = __commonJS((exports) => {
|
|
|
15255
15257
|
});
|
|
15256
15258
|
|
|
15257
15259
|
// ../../node_modules/.bun/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
15258
|
-
var require_fast_deep_equal = __commonJS((exports, module)
|
|
15260
|
+
var require_fast_deep_equal = __commonJS(function(exports, module) {
|
|
15259
15261
|
module.exports = function equal(a, b) {
|
|
15260
15262
|
if (a === b)
|
|
15261
15263
|
return true;
|
|
@@ -15297,7 +15299,7 @@ var require_fast_deep_equal = __commonJS((exports, module) => {
|
|
|
15297
15299
|
});
|
|
15298
15300
|
|
|
15299
15301
|
// ../../node_modules/.bun/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
15300
|
-
var require_json_schema_traverse = __commonJS((exports, module)
|
|
15302
|
+
var require_json_schema_traverse = __commonJS(function(exports, module) {
|
|
15301
15303
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
15302
15304
|
if (typeof opts == "function") {
|
|
15303
15305
|
cb = opts;
|
|
@@ -15380,7 +15382,7 @@ var require_json_schema_traverse = __commonJS((exports, module) => {
|
|
|
15380
15382
|
});
|
|
15381
15383
|
|
|
15382
15384
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js
|
|
15383
|
-
var require_resolve = __commonJS((exports)
|
|
15385
|
+
var require_resolve = __commonJS(function(exports) {
|
|
15384
15386
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15385
15387
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = undefined;
|
|
15386
15388
|
var util_1 = require_util();
|
|
@@ -15533,7 +15535,7 @@ var require_resolve = __commonJS((exports) => {
|
|
|
15533
15535
|
});
|
|
15534
15536
|
|
|
15535
15537
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js
|
|
15536
|
-
var require_validate = __commonJS((exports)
|
|
15538
|
+
var require_validate = __commonJS(function(exports) {
|
|
15537
15539
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15538
15540
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = undefined;
|
|
15539
15541
|
var boolSchema_1 = require_boolSchema();
|
|
@@ -16038,7 +16040,7 @@ var require_validate = __commonJS((exports) => {
|
|
|
16038
16040
|
});
|
|
16039
16041
|
|
|
16040
16042
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
16041
|
-
var require_validation_error = __commonJS((exports)
|
|
16043
|
+
var require_validation_error = __commonJS(function(exports) {
|
|
16042
16044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16043
16045
|
|
|
16044
16046
|
class ValidationError extends Error {
|
|
@@ -16052,7 +16054,7 @@ var require_validation_error = __commonJS((exports) => {
|
|
|
16052
16054
|
});
|
|
16053
16055
|
|
|
16054
16056
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js
|
|
16055
|
-
var require_ref_error = __commonJS((exports)
|
|
16057
|
+
var require_ref_error = __commonJS(function(exports) {
|
|
16056
16058
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16057
16059
|
var resolve_1 = require_resolve();
|
|
16058
16060
|
|
|
@@ -16067,7 +16069,7 @@ var require_ref_error = __commonJS((exports) => {
|
|
|
16067
16069
|
});
|
|
16068
16070
|
|
|
16069
16071
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/compile/index.js
|
|
16070
|
-
var require_compile = __commonJS((exports)
|
|
16072
|
+
var require_compile = __commonJS(function(exports) {
|
|
16071
16073
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16072
16074
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = undefined;
|
|
16073
16075
|
var codegen_1 = require_codegen();
|
|
@@ -16288,7 +16290,7 @@ var require_compile = __commonJS((exports) => {
|
|
|
16288
16290
|
});
|
|
16289
16291
|
|
|
16290
16292
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/refs/data.json
|
|
16291
|
-
var require_data = __commonJS((exports, module)
|
|
16293
|
+
var require_data = __commonJS(function(exports, module) {
|
|
16292
16294
|
module.exports = {
|
|
16293
16295
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
16294
16296
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -16305,7 +16307,7 @@ var require_data = __commonJS((exports, module) => {
|
|
|
16305
16307
|
});
|
|
16306
16308
|
|
|
16307
16309
|
// ../../node_modules/.bun/fast-uri@3.1.7/node_modules/fast-uri/lib/utils.js
|
|
16308
|
-
var require_utils = __commonJS((exports, module)
|
|
16310
|
+
var require_utils = __commonJS(function(exports, module) {
|
|
16309
16311
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
16310
16312
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
16311
16313
|
var isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
@@ -16822,7 +16824,7 @@ var require_utils = __commonJS((exports, module) => {
|
|
|
16822
16824
|
});
|
|
16823
16825
|
|
|
16824
16826
|
// ../../node_modules/.bun/fast-uri@3.1.7/node_modules/fast-uri/lib/schemes.js
|
|
16825
|
-
var require_schemes = __commonJS((exports, module)
|
|
16827
|
+
var require_schemes = __commonJS(function(exports, module) {
|
|
16826
16828
|
var { isUUID } = require_utils();
|
|
16827
16829
|
var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
16828
16830
|
var supportedSchemeNames = [
|
|
@@ -16997,7 +16999,7 @@ var require_schemes = __commonJS((exports, module) => {
|
|
|
16997
16999
|
});
|
|
16998
17000
|
|
|
16999
17001
|
// ../../node_modules/.bun/fast-uri@3.1.7/node_modules/fast-uri/index.js
|
|
17000
|
-
var require_fast_uri = __commonJS((exports, module)
|
|
17002
|
+
var require_fast_uri = __commonJS(function(exports, module) {
|
|
17001
17003
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
17002
17004
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
17003
17005
|
var VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
|
|
@@ -17399,7 +17401,7 @@ var require_fast_uri = __commonJS((exports, module) => {
|
|
|
17399
17401
|
});
|
|
17400
17402
|
|
|
17401
17403
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js
|
|
17402
|
-
var require_uri = __commonJS((exports)
|
|
17404
|
+
var require_uri = __commonJS(function(exports) {
|
|
17403
17405
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17404
17406
|
var uri = require_fast_uri();
|
|
17405
17407
|
uri.code = 'require("ajv/dist/runtime/uri").default';
|
|
@@ -17407,7 +17409,7 @@ var require_uri = __commonJS((exports) => {
|
|
|
17407
17409
|
});
|
|
17408
17410
|
|
|
17409
17411
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/core.js
|
|
17410
|
-
var require_core = __commonJS((exports)
|
|
17412
|
+
var require_core = __commonJS(function(exports) {
|
|
17411
17413
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17412
17414
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = undefined;
|
|
17413
17415
|
var validate_1 = require_validate();
|
|
@@ -18000,7 +18002,7 @@ var require_core = __commonJS((exports) => {
|
|
|
18000
18002
|
});
|
|
18001
18003
|
|
|
18002
18004
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
18003
|
-
var require_id = __commonJS((exports)
|
|
18005
|
+
var require_id = __commonJS(function(exports) {
|
|
18004
18006
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18005
18007
|
var def = {
|
|
18006
18008
|
keyword: "id",
|
|
@@ -18012,7 +18014,7 @@ var require_id = __commonJS((exports) => {
|
|
|
18012
18014
|
});
|
|
18013
18015
|
|
|
18014
18016
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
18015
|
-
var require_ref = __commonJS((exports)
|
|
18017
|
+
var require_ref = __commonJS(function(exports) {
|
|
18016
18018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18017
18019
|
exports.callRef = exports.getValidate = undefined;
|
|
18018
18020
|
var ref_error_1 = require_ref_error();
|
|
@@ -18131,7 +18133,7 @@ var require_ref = __commonJS((exports) => {
|
|
|
18131
18133
|
});
|
|
18132
18134
|
|
|
18133
18135
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
18134
|
-
var require_core2 = __commonJS((exports)
|
|
18136
|
+
var require_core2 = __commonJS(function(exports) {
|
|
18135
18137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18136
18138
|
var id_1 = require_id();
|
|
18137
18139
|
var ref_1 = require_ref();
|
|
@@ -18149,7 +18151,7 @@ var require_core2 = __commonJS((exports) => {
|
|
|
18149
18151
|
});
|
|
18150
18152
|
|
|
18151
18153
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
18152
|
-
var require_limitNumber = __commonJS((exports)
|
|
18154
|
+
var require_limitNumber = __commonJS(function(exports) {
|
|
18153
18155
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18154
18156
|
var codegen_1 = require_codegen();
|
|
18155
18157
|
var ops = codegen_1.operators;
|
|
@@ -18178,7 +18180,7 @@ var require_limitNumber = __commonJS((exports) => {
|
|
|
18178
18180
|
});
|
|
18179
18181
|
|
|
18180
18182
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
18181
|
-
var require_multipleOf = __commonJS((exports)
|
|
18183
|
+
var require_multipleOf = __commonJS(function(exports) {
|
|
18182
18184
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18183
18185
|
var codegen_1 = require_codegen();
|
|
18184
18186
|
var error2 = {
|
|
@@ -18203,7 +18205,7 @@ var require_multipleOf = __commonJS((exports) => {
|
|
|
18203
18205
|
});
|
|
18204
18206
|
|
|
18205
18207
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
18206
|
-
var require_ucs2length = __commonJS((exports)
|
|
18208
|
+
var require_ucs2length = __commonJS(function(exports) {
|
|
18207
18209
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18208
18210
|
function ucs2length(str) {
|
|
18209
18211
|
const len = str.length;
|
|
@@ -18226,7 +18228,7 @@ var require_ucs2length = __commonJS((exports) => {
|
|
|
18226
18228
|
});
|
|
18227
18229
|
|
|
18228
18230
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
18229
|
-
var require_limitLength = __commonJS((exports)
|
|
18231
|
+
var require_limitLength = __commonJS(function(exports) {
|
|
18230
18232
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18231
18233
|
var codegen_1 = require_codegen();
|
|
18232
18234
|
var util_1 = require_util();
|
|
@@ -18255,7 +18257,7 @@ var require_limitLength = __commonJS((exports) => {
|
|
|
18255
18257
|
});
|
|
18256
18258
|
|
|
18257
18259
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
18258
|
-
var require_pattern = __commonJS((exports)
|
|
18260
|
+
var require_pattern = __commonJS(function(exports) {
|
|
18259
18261
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18260
18262
|
var code_1 = require_code2();
|
|
18261
18263
|
var util_1 = require_util();
|
|
@@ -18289,7 +18291,7 @@ var require_pattern = __commonJS((exports) => {
|
|
|
18289
18291
|
});
|
|
18290
18292
|
|
|
18291
18293
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
18292
|
-
var require_limitProperties = __commonJS((exports)
|
|
18294
|
+
var require_limitProperties = __commonJS(function(exports) {
|
|
18293
18295
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18294
18296
|
var codegen_1 = require_codegen();
|
|
18295
18297
|
var error2 = {
|
|
@@ -18315,7 +18317,7 @@ var require_limitProperties = __commonJS((exports) => {
|
|
|
18315
18317
|
});
|
|
18316
18318
|
|
|
18317
18319
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
18318
|
-
var require_required = __commonJS((exports)
|
|
18320
|
+
var require_required = __commonJS(function(exports) {
|
|
18319
18321
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18320
18322
|
var code_1 = require_code2();
|
|
18321
18323
|
var codegen_1 = require_codegen();
|
|
@@ -18394,7 +18396,7 @@ var require_required = __commonJS((exports) => {
|
|
|
18394
18396
|
});
|
|
18395
18397
|
|
|
18396
18398
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
18397
|
-
var require_limitItems = __commonJS((exports)
|
|
18399
|
+
var require_limitItems = __commonJS(function(exports) {
|
|
18398
18400
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18399
18401
|
var codegen_1 = require_codegen();
|
|
18400
18402
|
var error2 = {
|
|
@@ -18420,7 +18422,7 @@ var require_limitItems = __commonJS((exports) => {
|
|
|
18420
18422
|
});
|
|
18421
18423
|
|
|
18422
18424
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js
|
|
18423
|
-
var require_equal = __commonJS((exports)
|
|
18425
|
+
var require_equal = __commonJS(function(exports) {
|
|
18424
18426
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18425
18427
|
var equal = require_fast_deep_equal();
|
|
18426
18428
|
equal.code = 'require("ajv/dist/runtime/equal").default';
|
|
@@ -18428,7 +18430,7 @@ var require_equal = __commonJS((exports) => {
|
|
|
18428
18430
|
});
|
|
18429
18431
|
|
|
18430
18432
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
18431
|
-
var require_uniqueItems = __commonJS((exports)
|
|
18433
|
+
var require_uniqueItems = __commonJS(function(exports) {
|
|
18432
18434
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18433
18435
|
var dataType_1 = require_dataType();
|
|
18434
18436
|
var codegen_1 = require_codegen();
|
|
@@ -18492,7 +18494,7 @@ var require_uniqueItems = __commonJS((exports) => {
|
|
|
18492
18494
|
});
|
|
18493
18495
|
|
|
18494
18496
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
18495
|
-
var require_const = __commonJS((exports)
|
|
18497
|
+
var require_const = __commonJS(function(exports) {
|
|
18496
18498
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18497
18499
|
var codegen_1 = require_codegen();
|
|
18498
18500
|
var util_1 = require_util();
|
|
@@ -18518,7 +18520,7 @@ var require_const = __commonJS((exports) => {
|
|
|
18518
18520
|
});
|
|
18519
18521
|
|
|
18520
18522
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
18521
|
-
var require_enum = __commonJS((exports)
|
|
18523
|
+
var require_enum = __commonJS(function(exports) {
|
|
18522
18524
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18523
18525
|
var codegen_1 = require_codegen();
|
|
18524
18526
|
var util_1 = require_util();
|
|
@@ -18564,7 +18566,7 @@ var require_enum = __commonJS((exports) => {
|
|
|
18564
18566
|
});
|
|
18565
18567
|
|
|
18566
18568
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
18567
|
-
var require_validation = __commonJS((exports)
|
|
18569
|
+
var require_validation = __commonJS(function(exports) {
|
|
18568
18570
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18569
18571
|
var limitNumber_1 = require_limitNumber();
|
|
18570
18572
|
var multipleOf_1 = require_multipleOf();
|
|
@@ -18594,7 +18596,7 @@ var require_validation = __commonJS((exports) => {
|
|
|
18594
18596
|
});
|
|
18595
18597
|
|
|
18596
18598
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
18597
|
-
var require_additionalItems = __commonJS((exports)
|
|
18599
|
+
var require_additionalItems = __commonJS(function(exports) {
|
|
18598
18600
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18599
18601
|
exports.validateAdditionalItems = undefined;
|
|
18600
18602
|
var codegen_1 = require_codegen();
|
|
@@ -18644,7 +18646,7 @@ var require_additionalItems = __commonJS((exports) => {
|
|
|
18644
18646
|
});
|
|
18645
18647
|
|
|
18646
18648
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
18647
|
-
var require_items = __commonJS((exports)
|
|
18649
|
+
var require_items = __commonJS(function(exports) {
|
|
18648
18650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18649
18651
|
exports.validateTuple = undefined;
|
|
18650
18652
|
var codegen_1 = require_codegen();
|
|
@@ -18698,7 +18700,7 @@ var require_items = __commonJS((exports) => {
|
|
|
18698
18700
|
});
|
|
18699
18701
|
|
|
18700
18702
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
18701
|
-
var require_prefixItems = __commonJS((exports)
|
|
18703
|
+
var require_prefixItems = __commonJS(function(exports) {
|
|
18702
18704
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18703
18705
|
var items_1 = require_items();
|
|
18704
18706
|
var def = {
|
|
@@ -18712,7 +18714,7 @@ var require_prefixItems = __commonJS((exports) => {
|
|
|
18712
18714
|
});
|
|
18713
18715
|
|
|
18714
18716
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
18715
|
-
var require_items2020 = __commonJS((exports)
|
|
18717
|
+
var require_items2020 = __commonJS(function(exports) {
|
|
18716
18718
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18717
18719
|
var codegen_1 = require_codegen();
|
|
18718
18720
|
var util_1 = require_util();
|
|
@@ -18744,7 +18746,7 @@ var require_items2020 = __commonJS((exports) => {
|
|
|
18744
18746
|
});
|
|
18745
18747
|
|
|
18746
18748
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
18747
|
-
var require_contains = __commonJS((exports)
|
|
18749
|
+
var require_contains = __commonJS(function(exports) {
|
|
18748
18750
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18749
18751
|
var codegen_1 = require_codegen();
|
|
18750
18752
|
var util_1 = require_util();
|
|
@@ -18835,7 +18837,7 @@ var require_contains = __commonJS((exports) => {
|
|
|
18835
18837
|
});
|
|
18836
18838
|
|
|
18837
18839
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
18838
|
-
var require_dependencies = __commonJS((exports)
|
|
18840
|
+
var require_dependencies = __commonJS(function(exports) {
|
|
18839
18841
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18840
18842
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = undefined;
|
|
18841
18843
|
var codegen_1 = require_codegen();
|
|
@@ -18920,7 +18922,7 @@ var require_dependencies = __commonJS((exports) => {
|
|
|
18920
18922
|
});
|
|
18921
18923
|
|
|
18922
18924
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
18923
|
-
var require_propertyNames = __commonJS((exports)
|
|
18925
|
+
var require_propertyNames = __commonJS(function(exports) {
|
|
18924
18926
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18925
18927
|
var codegen_1 = require_codegen();
|
|
18926
18928
|
var util_1 = require_util();
|
|
@@ -18960,7 +18962,7 @@ var require_propertyNames = __commonJS((exports) => {
|
|
|
18960
18962
|
});
|
|
18961
18963
|
|
|
18962
18964
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
18963
|
-
var require_additionalProperties = __commonJS((exports)
|
|
18965
|
+
var require_additionalProperties = __commonJS(function(exports) {
|
|
18964
18966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18965
18967
|
var code_1 = require_code2();
|
|
18966
18968
|
var codegen_1 = require_codegen();
|
|
@@ -19063,7 +19065,7 @@ var require_additionalProperties = __commonJS((exports) => {
|
|
|
19063
19065
|
});
|
|
19064
19066
|
|
|
19065
19067
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
19066
|
-
var require_properties = __commonJS((exports)
|
|
19068
|
+
var require_properties = __commonJS(function(exports) {
|
|
19067
19069
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19068
19070
|
var validate_1 = require_validate();
|
|
19069
19071
|
var code_1 = require_code2();
|
|
@@ -19118,7 +19120,7 @@ var require_properties = __commonJS((exports) => {
|
|
|
19118
19120
|
});
|
|
19119
19121
|
|
|
19120
19122
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
19121
|
-
var require_patternProperties = __commonJS((exports)
|
|
19123
|
+
var require_patternProperties = __commonJS(function(exports) {
|
|
19122
19124
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19123
19125
|
var code_1 = require_code2();
|
|
19124
19126
|
var codegen_1 = require_codegen();
|
|
@@ -19189,7 +19191,7 @@ var require_patternProperties = __commonJS((exports) => {
|
|
|
19189
19191
|
});
|
|
19190
19192
|
|
|
19191
19193
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
19192
|
-
var require_not = __commonJS((exports)
|
|
19194
|
+
var require_not = __commonJS(function(exports) {
|
|
19193
19195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19194
19196
|
var util_1 = require_util();
|
|
19195
19197
|
var def = {
|
|
@@ -19217,7 +19219,7 @@ var require_not = __commonJS((exports) => {
|
|
|
19217
19219
|
});
|
|
19218
19220
|
|
|
19219
19221
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
19220
|
-
var require_anyOf = __commonJS((exports)
|
|
19222
|
+
var require_anyOf = __commonJS(function(exports) {
|
|
19221
19223
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19222
19224
|
var code_1 = require_code2();
|
|
19223
19225
|
var def = {
|
|
@@ -19231,7 +19233,7 @@ var require_anyOf = __commonJS((exports) => {
|
|
|
19231
19233
|
});
|
|
19232
19234
|
|
|
19233
19235
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
19234
|
-
var require_oneOf = __commonJS((exports)
|
|
19236
|
+
var require_oneOf = __commonJS(function(exports) {
|
|
19235
19237
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19236
19238
|
var codegen_1 = require_codegen();
|
|
19237
19239
|
var util_1 = require_util();
|
|
@@ -19286,7 +19288,7 @@ var require_oneOf = __commonJS((exports) => {
|
|
|
19286
19288
|
});
|
|
19287
19289
|
|
|
19288
19290
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
19289
|
-
var require_allOf = __commonJS((exports)
|
|
19291
|
+
var require_allOf = __commonJS(function(exports) {
|
|
19290
19292
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19291
19293
|
var util_1 = require_util();
|
|
19292
19294
|
var def = {
|
|
@@ -19310,7 +19312,7 @@ var require_allOf = __commonJS((exports) => {
|
|
|
19310
19312
|
});
|
|
19311
19313
|
|
|
19312
19314
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
19313
|
-
var require_if = __commonJS((exports)
|
|
19315
|
+
var require_if = __commonJS(function(exports) {
|
|
19314
19316
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19315
19317
|
var codegen_1 = require_codegen();
|
|
19316
19318
|
var util_1 = require_util();
|
|
@@ -19376,7 +19378,7 @@ var require_if = __commonJS((exports) => {
|
|
|
19376
19378
|
});
|
|
19377
19379
|
|
|
19378
19380
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
19379
|
-
var require_thenElse = __commonJS((exports)
|
|
19381
|
+
var require_thenElse = __commonJS(function(exports) {
|
|
19380
19382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19381
19383
|
var util_1 = require_util();
|
|
19382
19384
|
var def = {
|
|
@@ -19391,7 +19393,7 @@ var require_thenElse = __commonJS((exports) => {
|
|
|
19391
19393
|
});
|
|
19392
19394
|
|
|
19393
19395
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
19394
|
-
var require_applicator = __commonJS((exports)
|
|
19396
|
+
var require_applicator = __commonJS(function(exports) {
|
|
19395
19397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19396
19398
|
var additionalItems_1 = require_additionalItems();
|
|
19397
19399
|
var prefixItems_1 = require_prefixItems();
|
|
@@ -19434,7 +19436,7 @@ var require_applicator = __commonJS((exports) => {
|
|
|
19434
19436
|
});
|
|
19435
19437
|
|
|
19436
19438
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
19437
|
-
var require_format = __commonJS((exports)
|
|
19439
|
+
var require_format = __commonJS(function(exports) {
|
|
19438
19440
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19439
19441
|
var codegen_1 = require_codegen();
|
|
19440
19442
|
var error2 = {
|
|
@@ -19521,7 +19523,7 @@ var require_format = __commonJS((exports) => {
|
|
|
19521
19523
|
});
|
|
19522
19524
|
|
|
19523
19525
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
19524
|
-
var require_format2 = __commonJS((exports)
|
|
19526
|
+
var require_format2 = __commonJS(function(exports) {
|
|
19525
19527
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19526
19528
|
var format_1 = require_format();
|
|
19527
19529
|
var format = [format_1.default];
|
|
@@ -19529,7 +19531,7 @@ var require_format2 = __commonJS((exports) => {
|
|
|
19529
19531
|
});
|
|
19530
19532
|
|
|
19531
19533
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
19532
|
-
var require_metadata = __commonJS((exports)
|
|
19534
|
+
var require_metadata = __commonJS(function(exports) {
|
|
19533
19535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19534
19536
|
exports.contentVocabulary = exports.metadataVocabulary = undefined;
|
|
19535
19537
|
exports.metadataVocabulary = [
|
|
@@ -19549,7 +19551,7 @@ var require_metadata = __commonJS((exports) => {
|
|
|
19549
19551
|
});
|
|
19550
19552
|
|
|
19551
19553
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
19552
|
-
var require_draft7 = __commonJS((exports)
|
|
19554
|
+
var require_draft7 = __commonJS(function(exports) {
|
|
19553
19555
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19554
19556
|
var core_1 = require_core2();
|
|
19555
19557
|
var validation_1 = require_validation();
|
|
@@ -19568,7 +19570,7 @@ var require_draft7 = __commonJS((exports) => {
|
|
|
19568
19570
|
});
|
|
19569
19571
|
|
|
19570
19572
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
19571
|
-
var require_types = __commonJS((exports)
|
|
19573
|
+
var require_types = __commonJS(function(exports) {
|
|
19572
19574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19573
19575
|
exports.DiscrError = undefined;
|
|
19574
19576
|
var DiscrError;
|
|
@@ -19579,7 +19581,7 @@ var require_types = __commonJS((exports) => {
|
|
|
19579
19581
|
});
|
|
19580
19582
|
|
|
19581
19583
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
19582
|
-
var require_discriminator = __commonJS((exports)
|
|
19584
|
+
var require_discriminator = __commonJS(function(exports) {
|
|
19583
19585
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19584
19586
|
var codegen_1 = require_codegen();
|
|
19585
19587
|
var types_1 = require_types();
|
|
@@ -19681,7 +19683,7 @@ var require_discriminator = __commonJS((exports) => {
|
|
|
19681
19683
|
});
|
|
19682
19684
|
|
|
19683
19685
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
19684
|
-
var require_json_schema_draft_07 = __commonJS((exports, module)
|
|
19686
|
+
var require_json_schema_draft_07 = __commonJS(function(exports, module) {
|
|
19685
19687
|
module.exports = {
|
|
19686
19688
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
19687
19689
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -19836,7 +19838,7 @@ var require_json_schema_draft_07 = __commonJS((exports, module) => {
|
|
|
19836
19838
|
});
|
|
19837
19839
|
|
|
19838
19840
|
// ../../node_modules/.bun/ajv@8.20.0/node_modules/ajv/dist/ajv.js
|
|
19839
|
-
var require_ajv = __commonJS((exports, module)
|
|
19841
|
+
var require_ajv = __commonJS(function(exports, module) {
|
|
19840
19842
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19841
19843
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = undefined;
|
|
19842
19844
|
var core_1 = require_core();
|
|
@@ -19904,7 +19906,7 @@ var require_ajv = __commonJS((exports, module) => {
|
|
|
19904
19906
|
});
|
|
19905
19907
|
|
|
19906
19908
|
// ../../node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/formats.js
|
|
19907
|
-
var require_formats = __commonJS((exports)
|
|
19909
|
+
var require_formats = __commonJS(function(exports) {
|
|
19908
19910
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19909
19911
|
exports.formatNames = exports.fastFormats = exports.fullFormats = undefined;
|
|
19910
19912
|
function fmtDef(validate, compare) {
|
|
@@ -20081,7 +20083,7 @@ var require_formats = __commonJS((exports) => {
|
|
|
20081
20083
|
});
|
|
20082
20084
|
|
|
20083
20085
|
// ../../node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/limit.js
|
|
20084
|
-
var require_limit = __commonJS((exports)
|
|
20086
|
+
var require_limit = __commonJS(function(exports) {
|
|
20085
20087
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20086
20088
|
exports.formatLimitDefinition = undefined;
|
|
20087
20089
|
var ajv_1 = require_ajv();
|
|
@@ -20150,7 +20152,7 @@ var require_limit = __commonJS((exports) => {
|
|
|
20150
20152
|
});
|
|
20151
20153
|
|
|
20152
20154
|
// ../../node_modules/.bun/ajv-formats@3.0.1/node_modules/ajv-formats/dist/index.js
|
|
20153
|
-
var require_dist = __commonJS((exports, module)
|
|
20155
|
+
var require_dist = __commonJS(function(exports, module) {
|
|
20154
20156
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20155
20157
|
var formats_1 = require_formats();
|
|
20156
20158
|
var limit_1 = require_limit();
|
|
@@ -23123,39 +23125,6 @@ var init_skill_validation = __esm(() => {
|
|
|
23123
23125
|
VALID_PROVENANCE_SOURCES = new Set(["official", "custom", "remote", "private", "private-hosted", "upstream", "extension"]);
|
|
23124
23126
|
VALID_BIN_COMMAND = /^[a-z0-9][a-z0-9._-]*$/;
|
|
23125
23127
|
});
|
|
23126
|
-
|
|
23127
|
-
// src/lib/skill-entry-path.ts
|
|
23128
|
-
class SkillEntryPaths {
|
|
23129
|
-
files = new Set;
|
|
23130
|
-
directories = new Set;
|
|
23131
|
-
add(path, maxBytes, invalid, limit) {
|
|
23132
|
-
if (path.length > maxBytes)
|
|
23133
|
-
limit();
|
|
23134
|
-
const encoded = new TextEncoder().encode(path);
|
|
23135
|
-
if (encoded.byteLength > maxBytes)
|
|
23136
|
-
limit();
|
|
23137
|
-
if (new TextDecoder("utf-8", { fatal: true, ignoreBOM: true }).decode(encoded) !== path)
|
|
23138
|
-
invalid("Invalid UTF-8 entry path");
|
|
23139
|
-
if (!path || /[\\:\x00-\x1f\x7f]/u.test(path))
|
|
23140
|
-
invalid("Unsafe entry path");
|
|
23141
|
-
if (path.split("/").some((segment) => !segment || segment === "." || segment === ".."))
|
|
23142
|
-
invalid("Unsafe entry path segment");
|
|
23143
|
-
const key = path.normalize("NFC").toLowerCase().normalize("NFC");
|
|
23144
|
-
if (this.files.has(key) || this.directories.has(key))
|
|
23145
|
-
invalid("Duplicate or conflicting entry path");
|
|
23146
|
-
const parents = key.split("/");
|
|
23147
|
-
parents.pop();
|
|
23148
|
-
while (parents.length) {
|
|
23149
|
-
const parent = parents.join("/");
|
|
23150
|
-
if (this.files.has(parent))
|
|
23151
|
-
invalid("Conflicting entry file ancestor");
|
|
23152
|
-
this.directories.add(parent);
|
|
23153
|
-
parents.pop();
|
|
23154
|
-
}
|
|
23155
|
-
this.files.add(key);
|
|
23156
|
-
}
|
|
23157
|
-
}
|
|
23158
|
-
|
|
23159
23128
|
// src/lib/skill-hash.ts
|
|
23160
23129
|
import { createHash } from "crypto";
|
|
23161
23130
|
import { existsSync as existsSync5, readdirSync as readdirSync4, readFileSync as readFileSync5, statSync as statSync4 } from "fs";
|
|
@@ -27687,10 +27656,10 @@ var init_run_routing = __esm(() => {
|
|
|
27687
27656
|
// src/lib/blog-article.ts
|
|
27688
27657
|
var exports_blog_article = {};
|
|
27689
27658
|
__export(exports_blog_article, {
|
|
27690
|
-
|
|
27691
|
-
ARTICLE_MAX_COUNT: () => ARTICLE_MAX_COUNT,
|
|
27659
|
+
ARTICLE_COUNT_ERROR: () => ARTICLE_COUNT_ERROR,
|
|
27692
27660
|
ARTICLE_GENERATION_SLUG: () => ARTICLE_GENERATION_SLUG,
|
|
27693
|
-
|
|
27661
|
+
ARTICLE_MAX_COUNT: () => ARTICLE_MAX_COUNT,
|
|
27662
|
+
validateBlogArticleRunOptions: () => validateBlogArticleRunOptions
|
|
27694
27663
|
});
|
|
27695
27664
|
function validateBlogArticleRunOptions(input, args = [], validation = {}) {
|
|
27696
27665
|
const options = collectRunOptions(input, args);
|
|
@@ -27817,11 +27786,11 @@ var init_blog_article = __esm(() => {
|
|
|
27817
27786
|
// src/lib/remote-files.ts
|
|
27818
27787
|
var exports_remote_files = {};
|
|
27819
27788
|
__export(exports_remote_files, {
|
|
27820
|
-
|
|
27821
|
-
readBoundedResponse: () => readBoundedResponse,
|
|
27822
|
-
describeRemoteFiles: () => describeRemoteFiles,
|
|
27789
|
+
MAX_REMOTE_FILE_BYTES: () => MAX_REMOTE_FILE_BYTES,
|
|
27823
27790
|
decodeRemoteFiles: () => decodeRemoteFiles,
|
|
27824
|
-
|
|
27791
|
+
describeRemoteFiles: () => describeRemoteFiles,
|
|
27792
|
+
readBoundedResponse: () => readBoundedResponse,
|
|
27793
|
+
sha256: () => sha256
|
|
27825
27794
|
});
|
|
27826
27795
|
import { createHash as createHash3 } from "crypto";
|
|
27827
27796
|
function describeRemoteFiles(files) {
|
|
@@ -28424,17 +28393,84 @@ function parseUpdatedWorkspace(value) {
|
|
|
28424
28393
|
return { organization: { id: organization2.id, slug: organization2.slug, name: organization2.name } };
|
|
28425
28394
|
}
|
|
28426
28395
|
|
|
28396
|
+
// src/lib/remote-quote-errors.ts
|
|
28397
|
+
async function readQuoteUnavailableCode(response) {
|
|
28398
|
+
const maximum = 16 * 1024;
|
|
28399
|
+
const length = response.headers.get("content-length");
|
|
28400
|
+
if (response.status !== 503 || response.headers.get("content-type")?.split(";")[0]?.trim().toLowerCase() !== "application/json" || length !== null && (!/^\d+$/.test(length) || Number(length) > maximum)) {
|
|
28401
|
+
response.body?.cancel().catch(() => {});
|
|
28402
|
+
return null;
|
|
28403
|
+
}
|
|
28404
|
+
const reader = response.body?.getReader();
|
|
28405
|
+
if (!reader)
|
|
28406
|
+
return null;
|
|
28407
|
+
let timer;
|
|
28408
|
+
let deadlineExceeded = false;
|
|
28409
|
+
const expired = Symbol("quote body deadline");
|
|
28410
|
+
const deadline = new Promise((resolve2) => {
|
|
28411
|
+
timer = setTimeout(() => {
|
|
28412
|
+
deadlineExceeded = true;
|
|
28413
|
+
resolve2(expired);
|
|
28414
|
+
reader.cancel().catch(() => {});
|
|
28415
|
+
}, 1500);
|
|
28416
|
+
});
|
|
28417
|
+
const chunks = [];
|
|
28418
|
+
let size = 0;
|
|
28419
|
+
try {
|
|
28420
|
+
while (true) {
|
|
28421
|
+
const next = await Promise.race([reader.read(), deadline]);
|
|
28422
|
+
if (next === expired || deadlineExceeded)
|
|
28423
|
+
return null;
|
|
28424
|
+
if (next.done)
|
|
28425
|
+
break;
|
|
28426
|
+
size += next.value.byteLength;
|
|
28427
|
+
if (size > maximum)
|
|
28428
|
+
return null;
|
|
28429
|
+
chunks.push(next.value);
|
|
28430
|
+
}
|
|
28431
|
+
const bytes = new Uint8Array(size);
|
|
28432
|
+
let offset = 0;
|
|
28433
|
+
for (const chunk of chunks) {
|
|
28434
|
+
bytes.set(chunk, offset);
|
|
28435
|
+
offset += chunk.byteLength;
|
|
28436
|
+
}
|
|
28437
|
+
const value = JSON.parse(new TextDecoder("utf-8", { fatal: true }).decode(bytes));
|
|
28438
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
28439
|
+
return null;
|
|
28440
|
+
const code = value.code;
|
|
28441
|
+
return typeof code === "string" && Object.hasOwn(quoteUnavailableMessages, code) ? code : null;
|
|
28442
|
+
} catch {
|
|
28443
|
+
return null;
|
|
28444
|
+
} finally {
|
|
28445
|
+
clearTimeout(timer);
|
|
28446
|
+
reader.cancel().catch(() => {});
|
|
28447
|
+
reader.releaseLock();
|
|
28448
|
+
}
|
|
28449
|
+
}
|
|
28450
|
+
var quoteUnavailableMessages;
|
|
28451
|
+
var init_remote_quote_errors = __esm(() => {
|
|
28452
|
+
quoteUnavailableMessages = Object.freeze({
|
|
28453
|
+
HOSTED_PROVIDER_UNAVAILABLE: "Hosted execution is temporarily unavailable on this Skills instance.",
|
|
28454
|
+
HOSTED_CONNECTORS_UNAVAILABLE: "Hosted connector execution is unavailable on this Skills instance.",
|
|
28455
|
+
SKILL_IMPLEMENTATION_UNAVAILABLE: "This skill has no hosted execution implementation.",
|
|
28456
|
+
HOSTED_PRICING_UNAVAILABLE: "Hosted execution is unavailable while this skill's pricing is reviewed.",
|
|
28457
|
+
RUNTIME_ALLOWLIST_REQUIRED: "Hosted execution is unavailable until this Skills instance enables its skill catalog.",
|
|
28458
|
+
RUNTIME_SKILL_NOT_ALLOWED: "This skill is not enabled for hosted execution on this Skills instance."
|
|
28459
|
+
});
|
|
28460
|
+
});
|
|
28461
|
+
|
|
28427
28462
|
// src/lib/remote-client.ts
|
|
28428
28463
|
var exports_remote_client = {};
|
|
28429
28464
|
__export(exports_remote_client, {
|
|
28430
|
-
|
|
28431
|
-
|
|
28432
|
-
RemoteWorkspaceSelectionError: () => RemoteWorkspaceSelectionError,
|
|
28433
|
-
RemoteWorkspaceMemberError: () => RemoteWorkspaceMemberError,
|
|
28434
|
-
RemoteSkillsClient: () => RemoteSkillsClient,
|
|
28435
|
-
RemoteRouteUnsupportedError: () => RemoteRouteUnsupportedError,
|
|
28465
|
+
RemoteCapabilityUnavailableError: () => RemoteCapabilityUnavailableError,
|
|
28466
|
+
RemoteQuoteUnavailableError: () => RemoteQuoteUnavailableError,
|
|
28436
28467
|
RemoteRequestError: () => RemoteRequestError,
|
|
28437
|
-
|
|
28468
|
+
RemoteRouteUnsupportedError: () => RemoteRouteUnsupportedError,
|
|
28469
|
+
RemoteSkillsClient: () => RemoteSkillsClient,
|
|
28470
|
+
RemoteWorkspaceMemberError: () => RemoteWorkspaceMemberError,
|
|
28471
|
+
RemoteWorkspaceSelectionError: () => RemoteWorkspaceSelectionError,
|
|
28472
|
+
createRemoteSkillsClient: () => createRemoteSkillsClient,
|
|
28473
|
+
createRemoteSkillsClientReadOnly: () => createRemoteSkillsClientReadOnly
|
|
28438
28474
|
});
|
|
28439
28475
|
|
|
28440
28476
|
class RemoteSkillsClient {
|
|
@@ -28469,6 +28505,11 @@ class RemoteSkillsClient {
|
|
|
28469
28505
|
throw new RemoteRouteUnsupportedError(routePath, response.status, this.apiUrl);
|
|
28470
28506
|
}
|
|
28471
28507
|
if (!response.ok) {
|
|
28508
|
+
if (opts.quoteRefusal && options?.method === "POST" && /^\/api\/v1\/skills\/[^/?#]+\/quote$/.test(routePath) && response.status === 503) {
|
|
28509
|
+
const code = await readQuoteUnavailableCode(response);
|
|
28510
|
+
if (code)
|
|
28511
|
+
throw new RemoteQuoteUnavailableError(routePath, code);
|
|
28512
|
+
}
|
|
28472
28513
|
if (path === "/api/v1/billing/checkout" && options?.method === "POST" && response.status === 503 && await responseBodyCarriesCode(response, ["SUBSCRIPTION_CHECKOUT_UNAVAILABLE"])) {
|
|
28473
28514
|
throw new RemoteCapabilityUnavailableError;
|
|
28474
28515
|
}
|
|
@@ -28526,7 +28567,7 @@ class RemoteSkillsClient {
|
|
|
28526
28567
|
const response = await this.requestNewRoute(`/api/v1/skills/${encodeURIComponent(slug)}/quote`, {
|
|
28527
28568
|
method: "POST",
|
|
28528
28569
|
body: JSON.stringify({ input, args })
|
|
28529
|
-
});
|
|
28570
|
+
}, { quoteRefusal: true });
|
|
28530
28571
|
return parseRemoteRunQuote(await response.json());
|
|
28531
28572
|
}
|
|
28532
28573
|
getCapabilities() {
|
|
@@ -29125,7 +29166,7 @@ async function createRemoteSkillsClient(env = process.env) {
|
|
|
29125
29166
|
function createRemoteSkillsClientReadOnly(env = process.env) {
|
|
29126
29167
|
return createRemoteSkillsClient(env);
|
|
29127
29168
|
}
|
|
29128
|
-
var RemoteRouteUnsupportedError, RemoteRequestError, RemoteWorkspaceMemberError, RemoteWorkspaceSelectionError, RemoteCapabilityUnavailableError, INVALID_SKILL_VERSION_RESPONSE = "Remote skill version payload did not match the expected contract.";
|
|
29169
|
+
var RemoteRouteUnsupportedError, RemoteRequestError, RemoteQuoteUnavailableError, RemoteWorkspaceMemberError, RemoteWorkspaceSelectionError, RemoteCapabilityUnavailableError, INVALID_SKILL_VERSION_RESPONSE = "Remote skill version payload did not match the expected contract.";
|
|
29129
29170
|
var init_remote_client = __esm(() => {
|
|
29130
29171
|
init_remote_invitations();
|
|
29131
29172
|
init_remote_workspace_leave();
|
|
@@ -29136,6 +29177,7 @@ var init_remote_client = __esm(() => {
|
|
|
29136
29177
|
init_fleet_credentials();
|
|
29137
29178
|
init_remote_account();
|
|
29138
29179
|
init_remote_files();
|
|
29180
|
+
init_remote_quote_errors();
|
|
29139
29181
|
RemoteRouteUnsupportedError = class RemoteRouteUnsupportedError extends Error {
|
|
29140
29182
|
path;
|
|
29141
29183
|
status;
|
|
@@ -29158,6 +29200,17 @@ var init_remote_client = __esm(() => {
|
|
|
29158
29200
|
this.name = "RemoteRequestError";
|
|
29159
29201
|
}
|
|
29160
29202
|
};
|
|
29203
|
+
RemoteQuoteUnavailableError = class RemoteQuoteUnavailableError extends RemoteRequestError {
|
|
29204
|
+
code;
|
|
29205
|
+
constructor(path, code) {
|
|
29206
|
+
super(path, 503);
|
|
29207
|
+
this.code = code;
|
|
29208
|
+
if (!Object.hasOwn(quoteUnavailableMessages, code))
|
|
29209
|
+
throw new Error("Unknown quote refusal code");
|
|
29210
|
+
this.name = "RemoteQuoteUnavailableError";
|
|
29211
|
+
this.message = quoteUnavailableMessages[code];
|
|
29212
|
+
}
|
|
29213
|
+
};
|
|
29161
29214
|
RemoteWorkspaceMemberError = class RemoteWorkspaceMemberError extends RemoteRequestError {
|
|
29162
29215
|
code;
|
|
29163
29216
|
constructor(path, code) {
|
|
@@ -31080,8 +31133,8 @@ var init_remote_customer_tools = __esm(() => {
|
|
|
31080
31133
|
// src/mcp/server.ts
|
|
31081
31134
|
var exports_server = {};
|
|
31082
31135
|
__export(exports_server, {
|
|
31083
|
-
|
|
31084
|
-
|
|
31136
|
+
buildServer: () => buildServer,
|
|
31137
|
+
server: () => server
|
|
31085
31138
|
});
|
|
31086
31139
|
function buildServer() {
|
|
31087
31140
|
const server = new McpServer({
|
|
@@ -31779,7 +31832,7 @@ var init_dist = __esm(() => {
|
|
|
31779
31832
|
});
|
|
31780
31833
|
|
|
31781
31834
|
// ../../node_modules/.bun/content-type@1.0.5/node_modules/content-type/index.js
|
|
31782
|
-
var require_content_type = __commonJS((exports)
|
|
31835
|
+
var require_content_type = __commonJS(function(exports) {
|
|
31783
31836
|
/*!
|
|
31784
31837
|
* content-type
|
|
31785
31838
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
@@ -32654,13 +32707,13 @@ var init_streamableHttp = __esm(() => {
|
|
|
32654
32707
|
// src/mcp/http.ts
|
|
32655
32708
|
var exports_http = {};
|
|
32656
32709
|
__export(exports_http, {
|
|
32657
|
-
|
|
32658
|
-
parseMcpHttpPort: () => parseMcpHttpPort,
|
|
32659
|
-
isMcpStdioMode: () => isMcpStdioMode,
|
|
32660
|
-
isMcpHttpMode: () => isMcpHttpMode,
|
|
32661
|
-
handleMcpHttpNodeRequest: () => handleMcpHttpNodeRequest,
|
|
32710
|
+
MCP_HTTP_DEFAULT_PORT: () => MCP_HTTP_DEFAULT_PORT,
|
|
32662
32711
|
MCP_HTTP_SERVICE_NAME: () => MCP_HTTP_SERVICE_NAME,
|
|
32663
|
-
|
|
32712
|
+
handleMcpHttpNodeRequest: () => handleMcpHttpNodeRequest,
|
|
32713
|
+
isMcpHttpMode: () => isMcpHttpMode,
|
|
32714
|
+
isMcpStdioMode: () => isMcpStdioMode,
|
|
32715
|
+
parseMcpHttpPort: () => parseMcpHttpPort,
|
|
32716
|
+
startSkillsMcpHttpServer: () => startSkillsMcpHttpServer
|
|
32664
32717
|
});
|
|
32665
32718
|
import { createServer } from "http";
|
|
32666
32719
|
function isMcpHttpMode(argv = process.argv.slice(2)) {
|
|
@@ -32832,6 +32885,6 @@ if (import.meta.main) {
|
|
|
32832
32885
|
});
|
|
32833
32886
|
}
|
|
32834
32887
|
export {
|
|
32835
|
-
|
|
32836
|
-
|
|
32888
|
+
assertSkillsMcpConfigured,
|
|
32889
|
+
startMcpStdio
|
|
32837
32890
|
};
|