@botpress/adk-cli 1.11.7 → 1.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +81 -93
- package/dist/commands.json +2 -2
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -348574,7 +348574,7 @@ var init_internal = __esm(() => {
|
|
|
348574
348574
|
});
|
|
348575
348575
|
init_define_PACKAGE_VERSIONS = __esm2({
|
|
348576
348576
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
348577
|
-
define_PACKAGE_VERSIONS_default = { runtime: "1.11.
|
|
348577
|
+
define_PACKAGE_VERSIONS_default = { runtime: "1.11.8", adk: "1.11.8", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
|
|
348578
348578
|
}
|
|
348579
348579
|
});
|
|
348580
348580
|
init_asset = __esm2({
|
|
@@ -654980,7 +654980,7 @@ var init_library2 = __esm(() => {
|
|
|
654980
654980
|
});
|
|
654981
654981
|
init_define_PACKAGE_VERSIONS2 = __esm4({
|
|
654982
654982
|
"<define:__PACKAGE_VERSIONS__>"() {
|
|
654983
|
-
define_PACKAGE_VERSIONS_default2 = { runtime: "1.11.
|
|
654983
|
+
define_PACKAGE_VERSIONS_default2 = { runtime: "1.11.8", adk: "1.11.8", sdk: "4.20.2", llmz: "0.0.33", zai: "2.5.0", cognitive: "0.2.0" };
|
|
654984
654984
|
}
|
|
654985
654985
|
});
|
|
654986
654986
|
init_assets2 = __esm4({
|
|
@@ -699802,7 +699802,7 @@ class AgentProjectGenerator {
|
|
|
699802
699802
|
deploy: "adk deploy"
|
|
699803
699803
|
},
|
|
699804
699804
|
dependencies: {
|
|
699805
|
-
"@botpress/runtime": "^1.11.
|
|
699805
|
+
"@botpress/runtime": "^1.11.8"
|
|
699806
699806
|
},
|
|
699807
699807
|
devDependencies: {
|
|
699808
699808
|
typescript: "^5.9.3"
|
|
@@ -702028,13 +702028,8 @@ configuration: {
|
|
|
702028
702028
|
"check:type": "tsc --noEmit"
|
|
702029
702029
|
},
|
|
702030
702030
|
private: true,
|
|
702031
|
-
dependencies: {
|
|
702032
|
-
"@botpress/client": "1.24.2",
|
|
702033
|
-
"@botpress/sdk": "4.15.7",
|
|
702034
|
-
"@botpress/runtime": "workspace:*"
|
|
702035
|
-
},
|
|
702031
|
+
dependencies: {},
|
|
702036
702032
|
devDependencies: {
|
|
702037
|
-
"@types/node": "^22.16.4",
|
|
702038
702033
|
typescript: "^5.9.3"
|
|
702039
702034
|
}
|
|
702040
702035
|
};
|
|
@@ -704062,7 +704057,7 @@ var import_ts_morph, __defProp11, __commonJS7 = (cb4, mod) => () => (mod || cb4(
|
|
|
704062
704057
|
`));
|
|
704063
704058
|
return code;
|
|
704064
704059
|
}
|
|
704065
|
-
}, ADK_VERSION = "1.11.
|
|
704060
|
+
}, ADK_VERSION = "1.11.8", relative22 = (from, to3) => {
|
|
704066
704061
|
const fromDir = path102.dirname(from);
|
|
704067
704062
|
const relative32 = path102.relative(fromDir, to3);
|
|
704068
704063
|
return relative32.startsWith(".") ? relative32 : `./${relative32}`;
|
|
@@ -704278,7 +704273,7 @@ var init_dist17 = __esm(() => {
|
|
|
704278
704273
|
require_package3 = __commonJS7((exports7, module) => {
|
|
704279
704274
|
module.exports = {
|
|
704280
704275
|
name: "@botpress/adk",
|
|
704281
|
-
version: "1.11.
|
|
704276
|
+
version: "1.11.8",
|
|
704282
704277
|
description: "Core ADK library for building AI agents on Botpress",
|
|
704283
704278
|
type: "module",
|
|
704284
704279
|
main: "dist/index.js",
|
|
@@ -704325,7 +704320,7 @@ var init_dist17 = __esm(() => {
|
|
|
704325
704320
|
"@botpress/cli": "^4.27.3",
|
|
704326
704321
|
"@botpress/client": "^1.27.2",
|
|
704327
704322
|
"@botpress/cognitive": "^0.2.0",
|
|
704328
|
-
"@botpress/runtime": "^1.11.
|
|
704323
|
+
"@botpress/runtime": "^1.11.8",
|
|
704329
704324
|
"@botpress/sdk": "^4.18.1",
|
|
704330
704325
|
"@bpinternal/jex": "^1.2.4",
|
|
704331
704326
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -710874,7 +710869,7 @@ var init_Separator = __esm(async () => {
|
|
|
710874
710869
|
var require_package4 = __commonJS((exports7, module) => {
|
|
710875
710870
|
module.exports = {
|
|
710876
710871
|
name: "@botpress/adk",
|
|
710877
|
-
version: "1.11.
|
|
710872
|
+
version: "1.11.8",
|
|
710878
710873
|
description: "Core ADK library for building AI agents on Botpress",
|
|
710879
710874
|
type: "module",
|
|
710880
710875
|
main: "dist/index.js",
|
|
@@ -710921,7 +710916,7 @@ var require_package4 = __commonJS((exports7, module) => {
|
|
|
710921
710916
|
"@botpress/cli": "^4.27.3",
|
|
710922
710917
|
"@botpress/client": "^1.27.2",
|
|
710923
710918
|
"@botpress/cognitive": "^0.2.0",
|
|
710924
|
-
"@botpress/runtime": "^1.11.
|
|
710919
|
+
"@botpress/runtime": "^1.11.8",
|
|
710925
710920
|
"@botpress/sdk": "^4.18.1",
|
|
710926
710921
|
"@bpinternal/jex": "^1.2.4",
|
|
710927
710922
|
"@bpinternal/yargs-extra": "^0.0.21",
|
|
@@ -712832,19 +712827,16 @@ function getInstalledRuntimeVersion(agentRoot) {
|
|
|
712832
712827
|
function checkRuntimeVersion(agentRoot) {
|
|
712833
712828
|
const expectedVersion = EXPECTED_RUNTIME_VERSION;
|
|
712834
712829
|
const installedVersion = getInstalledRuntimeVersion(agentRoot);
|
|
712835
|
-
if (expectedVersion === "BUILD_TIME_REPLACEMENT" || installedVersion === null) {
|
|
712836
|
-
return;
|
|
712837
|
-
}
|
|
712838
712830
|
const expected = semver2.parse(expectedVersion);
|
|
712839
712831
|
const installed = semver2.parse(installedVersion);
|
|
712840
712832
|
if (!expected || !installed) {
|
|
712841
712833
|
return;
|
|
712842
712834
|
}
|
|
712843
|
-
if (semver2.
|
|
712835
|
+
if (!semver2.satisfies(installed, SUPPORTED_RUNTIME_RANGE)) {
|
|
712844
712836
|
console.error(source_default.red.bold(`
|
|
712845
|
-
\u2717 Runtime Version
|
|
712837
|
+
\u2717 Runtime Version Incompatible`));
|
|
712846
712838
|
console.error(source_default.red(` Your project is using @botpress/runtime v${installedVersion}`));
|
|
712847
|
-
console.error(source_default.red(` This CLI requires @botpress/runtime
|
|
712839
|
+
console.error(source_default.red(` This CLI requires @botpress/runtime ${SUPPORTED_RUNTIME_RANGE}
|
|
712848
712840
|
`));
|
|
712849
712841
|
console.error(source_default.yellow(" To fix this, update your package.json:"));
|
|
712850
712842
|
console.error(source_default.white(` "@botpress/runtime": "^${expectedVersion}"
|
|
@@ -712854,21 +712846,17 @@ function checkRuntimeVersion(agentRoot) {
|
|
|
712854
712846
|
`));
|
|
712855
712847
|
process.exit(1);
|
|
712856
712848
|
}
|
|
712857
|
-
if (semver2.
|
|
712858
|
-
console.warn(source_default.yellow
|
|
712859
|
-
\u26A0
|
|
712860
|
-
console.warn(source_default.
|
|
712861
|
-
console.warn(source_default.yellow(` This CLI was built for @botpress/runtime v${expectedVersion}
|
|
712862
|
-
`));
|
|
712863
|
-
console.warn(source_default.dim(" Consider upgrading your CLI to the latest version:"));
|
|
712864
|
-
console.warn(source_default.dim(` adk self-upgrade
|
|
712849
|
+
if (semver2.lt(installed, expected)) {
|
|
712850
|
+
console.warn(source_default.yellow(`
|
|
712851
|
+
\u26A0 A newer version of @botpress/runtime is available (v${expectedVersion})`));
|
|
712852
|
+
console.warn(source_default.dim(` You are using v${installedVersion}
|
|
712865
712853
|
`));
|
|
712866
|
-
console.warn(source_default.dim("
|
|
712854
|
+
console.warn(source_default.dim(" To upgrade, update your package.json:"));
|
|
712867
712855
|
console.warn(source_default.dim(` "@botpress/runtime": "^${expectedVersion}"
|
|
712868
712856
|
`));
|
|
712869
712857
|
}
|
|
712870
712858
|
}
|
|
712871
|
-
var semver2, EXPECTED_RUNTIME_VERSION = "1.11.
|
|
712859
|
+
var semver2, EXPECTED_RUNTIME_VERSION = "1.11.8", SUPPORTED_RUNTIME_RANGE = ">=1.11.0";
|
|
712872
712860
|
var init_runtime_version_check = __esm(() => {
|
|
712873
712861
|
init_source();
|
|
712874
712862
|
semver2 = __toESM(require_semver2(), 1);
|
|
@@ -744043,8 +744031,8 @@ var init_dist18 = __esm(() => {
|
|
|
744043
744031
|
n3 && E && (a2 = E(n3.prototype));
|
|
744044
744032
|
}
|
|
744045
744033
|
return ye3[t9] = a2, a2;
|
|
744046
|
-
}, Io3 = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, Ke3 = ge2(), lt5 = Ys4(), Tk3 = Ke3.call(Ve, Array.prototype.concat), Ck3 = Ke3.call(Ao3, Array.prototype.splice), ko3 = Ke3.call(Ve, String.prototype.replace),
|
|
744047
|
-
var a2 =
|
|
744034
|
+
}, Io3 = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, Ke3 = ge2(), lt5 = Ys4(), Tk3 = Ke3.call(Ve, Array.prototype.concat), Ck3 = Ke3.call(Ao3, Array.prototype.splice), ko3 = Ke3.call(Ve, String.prototype.replace), gt3 = Ke3.call(Ve, String.prototype.slice), wk3 = Ke3.call(Ve, RegExp.prototype.exec), Uk3 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Gk3 = /\\(\\)?/g, Ek3 = function(t9) {
|
|
744035
|
+
var a2 = gt3(t9, 0, 1), r = gt3(t9, -1);
|
|
744048
744036
|
if (a2 === "%" && r !== "%")
|
|
744049
744037
|
throw new Ce3("invalid intrinsic syntax, expected closing `%`");
|
|
744050
744038
|
if (r === "%" && a2 !== "%")
|
|
@@ -744073,7 +744061,7 @@ var init_dist18 = __esm(() => {
|
|
|
744073
744061
|
var r = Ek3(t9), n3 = r.length > 0 ? r[0] : "", o2 = Lk3("%" + n3 + "%", a2), i2 = o2.name, p = o2.value, u2 = false, s2 = o2.alias;
|
|
744074
744062
|
s2 && (n3 = s2[0], Ck3(r, Tk3([0, 1], s2)));
|
|
744075
744063
|
for (var y = 1, P = true;y < r.length; y += 1) {
|
|
744076
|
-
var q3 = r[y], x =
|
|
744064
|
+
var q3 = r[y], x = gt3(q3, 0, 1), f = gt3(q3, -1);
|
|
744077
744065
|
if ((x === '"' || x === "'" || x === "`" || f === '"' || f === "'" || f === "`") && x !== f)
|
|
744078
744066
|
throw new Ce3("property names with quotes must have matching quotes");
|
|
744079
744067
|
if ((q3 === "constructor" || !P) && (u2 = true), n3 += "." + q3, i2 = "%" + n3 + "%", lt5(ye3, i2))
|
|
@@ -745989,7 +745977,7 @@ __export(exports_dist9, {
|
|
|
745989
745977
|
Plugin: () => ql3,
|
|
745990
745978
|
ParseStatus: () => Tt5,
|
|
745991
745979
|
ParseInputLazyPath: () => Ot5,
|
|
745992
|
-
OK: () =>
|
|
745980
|
+
OK: () => gt3,
|
|
745993
745981
|
NEVER: () => UP3,
|
|
745994
745982
|
InterfaceDefinition: () => Kl5,
|
|
745995
745983
|
IntegrationSpecificClient: () => ni3,
|
|
@@ -752536,7 +752524,7 @@ var import_browser_or_node9, Xa3, $v3, jv3, Kv3, ot5 = (t9, e11) => () => (t9 &&
|
|
|
752536
752524
|
}
|
|
752537
752525
|
return { status: e11.value, value: r };
|
|
752538
752526
|
}
|
|
752539
|
-
}, Tt5, pe3, Vn3,
|
|
752527
|
+
}, Tt5, pe3, Vn3, gt3, _o3, bo3, jr5, Si3, ue3, ki3, Kr5, Ii3, Lr5, Nx4, lg5, Dx5, Hx5, ug3 = class {
|
|
752540
752528
|
constructor(e11 = [], n3 = {}) {
|
|
752541
752529
|
this._options = b6(b6({}, Hx5), n3), this._items = [];
|
|
752542
752530
|
for (let r of e11)
|
|
@@ -754563,7 +754551,7 @@ var init_dist19 = __esm(() => {
|
|
|
754563
754551
|
Jv3 = {};
|
|
754564
754552
|
aa5(Jv3, { errors: () => sf5, fromJSONSchema: () => Xg3, fromJSONSchemaLegacy: () => lB3, fromObject: () => xo3, toJSONSchema: () => st5, toJSONSchemaLegacy: () => MB3, toTypescriptSchema: () => Ho5, toTypescriptType: () => Eo3 });
|
|
754565
754553
|
X3 = {};
|
|
754566
|
-
aa5(X3, { BRAND: () => Ux5, DIRTY: () => Vn3, EMPTY_PATH: () => Mx3, INVALID: () => pe3, NEVER: () => UP3, OK: () =>
|
|
754554
|
+
aa5(X3, { BRAND: () => Ux5, DIRTY: () => Vn3, EMPTY_PATH: () => Mx3, INVALID: () => pe3, NEVER: () => UP3, OK: () => gt3, ParseInputLazyPath: () => Ot5, ParseStatus: () => Tt5, Schema: () => he5, ZodAny: () => Kr5, ZodArray: () => Lr5, ZodBigInt: () => jo3, ZodBoolean: () => Ko5, ZodBranded: () => Lo3, ZodCatch: () => Fo3, ZodDate: () => Wo3, ZodDefault: () => ma5, ZodDiscriminatedUnion: () => gg3, ZodEffects: () => Sn3, ZodEnum: () => ir3, ZodError: () => Wt5, ZodFirstPartyTypeKind: () => tg3, ZodFunction: () => mg5, ZodIntersection: () => qo3, ZodIssueCode: () => G, ZodLazy: () => Go5, ZodLiteral: () => Vo3, ZodMap: () => vg5, ZodNaN: () => _g5, ZodNativeEnum: () => Jo3, ZodNever: () => zr5, ZodNull: () => Yo5, ZodNullable: () => Qn3, ZodNumber: () => Xo3, ZodObject: () => er3, ZodOptional: () => ln5, ZodParsedType: () => ne5, ZodPipeline: () => Qo3, ZodPromise: () => va5, ZodReadonly: () => Ta5, ZodRecord: () => Sg3, ZodRef: () => Ig5, ZodSchema: () => he5, ZodSet: () => Ag3, ZodString: () => yt5, ZodSymbol: () => jg3, ZodTransformer: () => Sn3, ZodTuple: () => nr3, ZodType: () => he5, ZodUndefined: () => _a5, ZodUnion: () => es5, ZodUnknown: () => Dr5, ZodVoid: () => Wg5, addIssueToContext: () => te3, agent: () => Wx3, aimodel: () => Jx5, any: () => sP3, array: () => fP3, bigint: () => nP3, boolean: () => Gg5, coerce: () => HP3, conversation: () => Kx3, createZodEnum: () => ha5, cuid2Regex: () => Og3, cuidRegex: () => Cg3, custom: () => dg3, datasource: () => Yx5, date: () => rP3, default: () => CP3, discriminatedUnion: () => yP3, effect: () => Jc5, emailRegex: () => Ng4, enum: () => EP3, errorUtil: () => ue3, event: () => zx5, function: () => xP3, getErrorMap: () => $r5, getParsedType: () => sn5, instanceof: () => eP3, intent: () => Vx4, intersection: () => mP3, ipv4Regex: () => Hg3, ipv6Regex: () => Ug3, isAborted: () => _o3, isAsync: () => Si3, isDirty: () => bo3, isEmojiRegex: () => Zx5, isValid: () => jr5, knowledgebase: () => Xx5, late: () => Qx3, lazy: () => PP3, literal: () => BP3, makeIssue: () => Ei3, map: () => bP3, message: () => Fx5, nan: () => tP3, nativeEnum: () => SP3, never: () => uP3, null: () => oP3, nullable: () => AP3, number: () => qg3, object: () => dP3, objectUtil: () => To5, oboolean: () => DP3, onumber: () => NP3, optional: () => IP3, ostring: () => MP3, pipeline: () => RP3, preprocess: () => OP3, processCreateParams: () => me3, promise: () => kP3, quotelessJson: () => Rx5, readonly: () => _P3, record: () => vP3, ref: () => TP3, set: () => wP3, setErrorMap: () => ig3, strictObject: () => pP3, string: () => zg5, symbol: () => iP3, table: () => qx5, tablerow: () => Gx3, transformer: () => Jc5, tuple: () => hP3, ulidRegex: () => Rg3, undefined: () => aP3, union: () => gP3, unknown: () => lP3, user: () => Lx3, util: () => be5, uuidRegex: () => Mg5, variable: () => jx5, void: () => cP3 });
|
|
754567
754555
|
d5(nf3, "primitiveToTypscriptLiteralType");
|
|
754568
754556
|
d5(se3, "primitiveToTypescriptValue");
|
|
754569
754557
|
d5(Jn3, "unknownToTypescriptValue");
|
|
@@ -755661,7 +755649,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
755661
755649
|
Tt5 = ag5;
|
|
755662
755650
|
pe3 = Object.freeze({ status: "aborted" });
|
|
755663
755651
|
Vn3 = d5((t9) => ({ status: "dirty", value: t9 }), "DIRTY");
|
|
755664
|
-
|
|
755652
|
+
gt3 = d5((t9) => ({ status: "valid", value: t9 }), "OK");
|
|
755665
755653
|
_o3 = d5((t9) => t9.status === "aborted", "isAborted");
|
|
755666
755654
|
bo3 = d5((t9) => t9.status === "dirty", "isDirty");
|
|
755667
755655
|
jr5 = d5((t9) => t9.status === "valid", "isValid");
|
|
@@ -755674,7 +755662,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
755674
755662
|
super(...arguments), this._any = true;
|
|
755675
755663
|
}
|
|
755676
755664
|
_parse(e11) {
|
|
755677
|
-
return
|
|
755665
|
+
return gt3(e11.data);
|
|
755678
755666
|
}
|
|
755679
755667
|
isEqual(e11) {
|
|
755680
755668
|
return e11 instanceof sg5;
|
|
@@ -755818,7 +755806,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
755818
755806
|
let r = this._getOrReturnCtx(e11);
|
|
755819
755807
|
return te3(r, { code: G.invalid_type, expected: ne5.boolean, received: r.parsedType }), pe3;
|
|
755820
755808
|
}
|
|
755821
|
-
return
|
|
755809
|
+
return gt3(e11.data);
|
|
755822
755810
|
}
|
|
755823
755811
|
isEqual(e11) {
|
|
755824
755812
|
return e11 instanceof cg5 ? this._def.coerce === e11._def.coerce : false;
|
|
@@ -756045,7 +756033,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756045
756033
|
let n3 = this._getOrReturnCtx(e11), r = this._def.values;
|
|
756046
756034
|
return te3(n3, { received: n3.data, code: G.invalid_enum_value, options: r }), pe3;
|
|
756047
756035
|
}
|
|
756048
|
-
return
|
|
756036
|
+
return gt3(e11.data);
|
|
756049
756037
|
}
|
|
756050
756038
|
get options() {
|
|
756051
756039
|
return this._def.values;
|
|
@@ -756113,7 +756101,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756113
756101
|
let o2 = { errorMap: n3.common.contextualErrorMap }, i2 = n3.data;
|
|
756114
756102
|
if (this._def.returns instanceof va5) {
|
|
756115
756103
|
let s2 = this;
|
|
756116
|
-
return
|
|
756104
|
+
return gt3(async function(...l4) {
|
|
756117
756105
|
let f = new Wt5([]), p = await s2._def.args.parseAsync(l4, o2).catch((h4) => {
|
|
756118
756106
|
throw f.addIssue(r(l4, h4)), f;
|
|
756119
756107
|
}), y = await Reflect.apply(i2, this, p);
|
|
@@ -756123,7 +756111,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756123
756111
|
});
|
|
756124
756112
|
} else {
|
|
756125
756113
|
let s2 = this;
|
|
756126
|
-
return
|
|
756114
|
+
return gt3(function(...l4) {
|
|
756127
756115
|
let f = s2._def.args.safeParse(l4, o2);
|
|
756128
756116
|
if (!f.success)
|
|
756129
756117
|
throw new Wt5([r(l4, f.error)]);
|
|
@@ -756316,7 +756304,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756316
756304
|
let a2 = be5.objectValues(n3);
|
|
756317
756305
|
return te3(r, { received: r.data, code: G.invalid_enum_value, options: a2 }), pe3;
|
|
756318
756306
|
}
|
|
756319
|
-
return
|
|
756307
|
+
return gt3(e11.data);
|
|
756320
756308
|
}
|
|
756321
756309
|
get enum() {
|
|
756322
756310
|
return this._def.values;
|
|
@@ -756346,7 +756334,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756346
756334
|
let r = this._getOrReturnCtx(e11);
|
|
756347
756335
|
return te3(r, { code: G.invalid_type, expected: ne5.null, received: r.parsedType }), pe3;
|
|
756348
756336
|
}
|
|
756349
|
-
return
|
|
756337
|
+
return gt3(e11.data);
|
|
756350
756338
|
}
|
|
756351
756339
|
isEqual(e11) {
|
|
756352
756340
|
return e11 instanceof xg3;
|
|
@@ -756366,7 +756354,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756366
756354
|
return new Br5(N5(b6({}, this._def), { innerType: this._def.innerType.clone() }));
|
|
756367
756355
|
}
|
|
756368
756356
|
_parse(e11) {
|
|
756369
|
-
return this._getType(e11) === ne5.null ?
|
|
756357
|
+
return this._getType(e11) === ne5.null ? gt3(null) : this._def.innerType._parse(e11);
|
|
756370
756358
|
}
|
|
756371
756359
|
unwrap() {
|
|
756372
756360
|
return this._def.innerType;
|
|
@@ -756639,7 +756627,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756639
756627
|
return new wi3(N5(b6({}, this._def), { innerType: this._def.innerType.clone() }));
|
|
756640
756628
|
}
|
|
756641
756629
|
_parse(e11) {
|
|
756642
|
-
return this._getType(e11) === ne5.undefined ?
|
|
756630
|
+
return this._getType(e11) === ne5.undefined ? gt3(undefined) : this._def.innerType._parse(e11);
|
|
756643
756631
|
}
|
|
756644
756632
|
unwrap() {
|
|
756645
756633
|
return this._def.innerType;
|
|
@@ -756706,7 +756694,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
756706
756694
|
if (n3.parsedType !== ne5.promise && n3.common.async === false)
|
|
756707
756695
|
return te3(n3, { code: G.invalid_type, expected: ne5.promise, received: n3.parsedType }), pe3;
|
|
756708
756696
|
let r = n3.parsedType === ne5.promise ? n3.data : Promise.resolve(n3.data);
|
|
756709
|
-
return
|
|
756697
|
+
return gt3(r.then((a2) => this._def.type.parseAsync(a2, { path: n3.path, errorMap: n3.common.contextualErrorMap })));
|
|
756710
756698
|
}
|
|
756711
756699
|
isEqual(e11) {
|
|
756712
756700
|
return e11 instanceof xi3 ? this._def.type.isEqual(e11._def.type) : false;
|
|
@@ -757041,7 +757029,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
757041
757029
|
let r = this._getOrReturnCtx(e11);
|
|
757042
757030
|
return te3(r, { code: G.invalid_type, expected: ne5.symbol, received: r.parsedType }), pe3;
|
|
757043
757031
|
}
|
|
757044
|
-
return
|
|
757032
|
+
return gt3(e11.data);
|
|
757045
757033
|
}
|
|
757046
757034
|
isEqual(e11) {
|
|
757047
757035
|
return e11 instanceof $g3;
|
|
@@ -757184,7 +757172,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
757184
757172
|
let r = this._getOrReturnCtx(e11);
|
|
757185
757173
|
return te3(r, { code: G.invalid_type, expected: ne5.undefined, received: r.parsedType }), pe3;
|
|
757186
757174
|
}
|
|
757187
|
-
return
|
|
757175
|
+
return gt3(e11.data);
|
|
757188
757176
|
}
|
|
757189
757177
|
isEqual(e11) {
|
|
757190
757178
|
return e11 instanceof Kg5;
|
|
@@ -757261,7 +757249,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
757261
757249
|
super(...arguments), this._unknown = true;
|
|
757262
757250
|
}
|
|
757263
757251
|
_parse(e11) {
|
|
757264
|
-
return
|
|
757252
|
+
return gt3(e11.data);
|
|
757265
757253
|
}
|
|
757266
757254
|
isEqual(e11) {
|
|
757267
757255
|
return e11 instanceof Lg5;
|
|
@@ -757276,7 +757264,7 @@ declare function ${r}${i2};${l4}`);
|
|
|
757276
757264
|
let r = this._getOrReturnCtx(e11);
|
|
757277
757265
|
return te3(r, { code: G.invalid_type, expected: ne5.void, received: r.parsedType }), pe3;
|
|
757278
757266
|
}
|
|
757279
|
-
return
|
|
757267
|
+
return gt3(e11.data);
|
|
757280
757268
|
}
|
|
757281
757269
|
isEqual(e11) {
|
|
757282
757270
|
return e11 instanceof Fg3;
|
|
@@ -885768,8 +885756,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
885768
885756
|
r7.negative = t62.negative ^ i6.negative, r7.length = 19;
|
|
885769
885757
|
var vt6 = (a7 + (h7 = Math.imul(m6, F42)) | 0) + ((8191 & (n7 = (n7 = Math.imul(m6, C42)) + Math.imul(f8, F42) | 0)) << 13) | 0;
|
|
885770
885758
|
a7 = ((e92 = Math.imul(f8, C42)) + (n7 >>> 13) | 0) + (vt6 >>> 26) | 0, vt6 &= 67108863, h7 = Math.imul(p7, F42), n7 = (n7 = Math.imul(p7, C42)) + Math.imul(M52, F42) | 0, e92 = Math.imul(M52, C42);
|
|
885771
|
-
var
|
|
885772
|
-
a7 = ((e92 = e92 + Math.imul(f8, J32) | 0) + (n7 >>> 13) | 0) + (
|
|
885759
|
+
var gt4 = (a7 + (h7 = h7 + Math.imul(m6, H32) | 0) | 0) + ((8191 & (n7 = (n7 = n7 + Math.imul(m6, J32) | 0) + Math.imul(f8, H32) | 0)) << 13) | 0;
|
|
885760
|
+
a7 = ((e92 = e92 + Math.imul(f8, J32) | 0) + (n7 >>> 13) | 0) + (gt4 >>> 26) | 0, gt4 &= 67108863, h7 = Math.imul(g62, F42), n7 = (n7 = Math.imul(g62, C42)) + Math.imul(c72, F42) | 0, e92 = Math.imul(c72, C42), h7 = h7 + Math.imul(p7, H32) | 0, n7 = (n7 = n7 + Math.imul(p7, J32) | 0) + Math.imul(M52, H32) | 0, e92 = e92 + Math.imul(M52, J32) | 0;
|
|
885773
885761
|
var ct6 = (a7 + (h7 = h7 + Math.imul(m6, G32) | 0) | 0) + ((8191 & (n7 = (n7 = n7 + Math.imul(m6, Q32) | 0) + Math.imul(f8, G32) | 0)) << 13) | 0;
|
|
885774
885762
|
a7 = ((e92 = e92 + Math.imul(f8, Q32) | 0) + (n7 >>> 13) | 0) + (ct6 >>> 26) | 0, ct6 &= 67108863, h7 = Math.imul(y7, F42), n7 = (n7 = Math.imul(y7, C42)) + Math.imul(b62, F42) | 0, e92 = Math.imul(b62, C42), h7 = h7 + Math.imul(g62, H32) | 0, n7 = (n7 = n7 + Math.imul(g62, J32) | 0) + Math.imul(c72, H32) | 0, e92 = e92 + Math.imul(c72, J32) | 0, h7 = h7 + Math.imul(p7, G32) | 0, n7 = (n7 = n7 + Math.imul(p7, Q32) | 0) + Math.imul(M52, G32) | 0, e92 = e92 + Math.imul(M52, Q32) | 0;
|
|
885775
885763
|
var wt6 = (a7 + (h7 = h7 + Math.imul(m6, W32) | 0) | 0) + ((8191 & (n7 = (n7 = n7 + Math.imul(m6, X32) | 0) + Math.imul(f8, W32) | 0)) << 13) | 0;
|
|
@@ -885803,7 +885791,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
885803
885791
|
var It4 = (a7 + (h7 = h7 + Math.imul(z5, pt4) | 0) | 0) + ((8191 & (n7 = (n7 = n7 + Math.imul(z5, Mt6) | 0) + Math.imul(E42, pt4) | 0)) << 13) | 0;
|
|
885804
885792
|
a7 = ((e92 = e92 + Math.imul(E42, Mt6) | 0) + (n7 >>> 13) | 0) + (It4 >>> 26) | 0, It4 &= 67108863;
|
|
885805
885793
|
var Tt6 = (a7 + (h7 = Math.imul(j4, pt4)) | 0) + ((8191 & (n7 = (n7 = Math.imul(j4, Mt6)) + Math.imul(K3, pt4) | 0)) << 13) | 0;
|
|
885806
|
-
return a7 = ((e92 = Math.imul(K3, Mt6)) + (n7 >>> 13) | 0) + (Tt6 >>> 26) | 0, Tt6 &= 67108863, u7[0] = vt6, u7[1] =
|
|
885794
|
+
return a7 = ((e92 = Math.imul(K3, Mt6)) + (n7 >>> 13) | 0) + (Tt6 >>> 26) | 0, Tt6 &= 67108863, u7[0] = vt6, u7[1] = gt4, u7[2] = ct6, u7[3] = wt6, u7[4] = yt6, u7[5] = bt4, u7[6] = _t22, u7[7] = kt4, u7[8] = At6, u7[9] = xt, u7[10] = St4, u7[11] = Zt6, u7[12] = Rt4, u7[13] = qt4, u7[14] = Bt6, u7[15] = Nt3, u7[16] = Lt6, u7[17] = It4, u7[18] = Tt6, a7 !== 0 && (u7[19] = a7, r7.length++), r7;
|
|
885807
885795
|
};
|
|
885808
885796
|
function M42(t62, i6, r7) {
|
|
885809
885797
|
return new v62().mulp(t62, i6, r7);
|
|
@@ -893611,8 +893599,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
893611
893599
|
init_buffer22();
|
|
893612
893600
|
init_process22();
|
|
893613
893601
|
var compare = require_compare2();
|
|
893614
|
-
var
|
|
893615
|
-
module2.exports =
|
|
893602
|
+
var gt4 = (a6, b52, loose) => compare(a6, b52, loose) > 0;
|
|
893603
|
+
module2.exports = gt4;
|
|
893616
893604
|
}
|
|
893617
893605
|
});
|
|
893618
893606
|
require_lt2 = __commonJS8({
|
|
@@ -893672,7 +893660,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
893672
893660
|
init_process22();
|
|
893673
893661
|
var eq7 = require_eq2();
|
|
893674
893662
|
var neq = require_neq2();
|
|
893675
|
-
var
|
|
893663
|
+
var gt4 = require_gt2();
|
|
893676
893664
|
var gte5 = require_gte2();
|
|
893677
893665
|
var lt6 = require_lt2();
|
|
893678
893666
|
var lte4 = require_lte2();
|
|
@@ -893701,7 +893689,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
893701
893689
|
case "!=":
|
|
893702
893690
|
return neq(a6, b52, loose);
|
|
893703
893691
|
case ">":
|
|
893704
|
-
return
|
|
893692
|
+
return gt4(a6, b52, loose);
|
|
893705
893693
|
case ">=":
|
|
893706
893694
|
return gte5(a6, b52, loose);
|
|
893707
893695
|
case "<":
|
|
@@ -894293,7 +894281,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894293
894281
|
init_buffer22();
|
|
894294
894282
|
init_process22();
|
|
894295
894283
|
var Range = require_range22();
|
|
894296
|
-
var
|
|
894284
|
+
var satisfies2 = (version42, range4, options) => {
|
|
894297
894285
|
try {
|
|
894298
894286
|
range4 = new Range(range4, options);
|
|
894299
894287
|
} catch (er4) {
|
|
@@ -894301,7 +894289,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894301
894289
|
}
|
|
894302
894290
|
return range4.test(version42);
|
|
894303
894291
|
};
|
|
894304
|
-
module2.exports =
|
|
894292
|
+
module2.exports = satisfies2;
|
|
894305
894293
|
}
|
|
894306
894294
|
});
|
|
894307
894295
|
require_to_comparators2 = __commonJS8({
|
|
@@ -894379,7 +894367,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894379
894367
|
init_process22();
|
|
894380
894368
|
var SemVer = require_semver6();
|
|
894381
894369
|
var Range = require_range22();
|
|
894382
|
-
var
|
|
894370
|
+
var gt4 = require_gt2();
|
|
894383
894371
|
var minVersion = (range4, loose) => {
|
|
894384
894372
|
range4 = new Range(range4, loose);
|
|
894385
894373
|
let minver = new SemVer("0.0.0");
|
|
@@ -894406,7 +894394,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894406
894394
|
compver.raw = compver.format();
|
|
894407
894395
|
case "":
|
|
894408
894396
|
case ">=":
|
|
894409
|
-
if (!setMin ||
|
|
894397
|
+
if (!setMin || gt4(compver, setMin)) {
|
|
894410
894398
|
setMin = compver;
|
|
894411
894399
|
}
|
|
894412
894400
|
break;
|
|
@@ -894417,7 +894405,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894417
894405
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
894418
894406
|
}
|
|
894419
894407
|
});
|
|
894420
|
-
if (setMin && (!minver ||
|
|
894408
|
+
if (setMin && (!minver || gt4(minver, setMin))) {
|
|
894421
894409
|
minver = setMin;
|
|
894422
894410
|
}
|
|
894423
894411
|
}
|
|
@@ -894454,8 +894442,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894454
894442
|
var Comparator = require_comparator2();
|
|
894455
894443
|
var { ANY } = Comparator;
|
|
894456
894444
|
var Range = require_range22();
|
|
894457
|
-
var
|
|
894458
|
-
var
|
|
894445
|
+
var satisfies2 = require_satisfies2();
|
|
894446
|
+
var gt4 = require_gt2();
|
|
894459
894447
|
var lt6 = require_lt2();
|
|
894460
894448
|
var lte4 = require_lte2();
|
|
894461
894449
|
var gte5 = require_gte2();
|
|
@@ -894465,7 +894453,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894465
894453
|
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
894466
894454
|
switch (hilo) {
|
|
894467
894455
|
case ">":
|
|
894468
|
-
gtfn =
|
|
894456
|
+
gtfn = gt4;
|
|
894469
894457
|
ltefn = lte4;
|
|
894470
894458
|
ltfn = lt6;
|
|
894471
894459
|
comp = ">";
|
|
@@ -894474,14 +894462,14 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894474
894462
|
case "<":
|
|
894475
894463
|
gtfn = lt6;
|
|
894476
894464
|
ltefn = gte5;
|
|
894477
|
-
ltfn =
|
|
894465
|
+
ltfn = gt4;
|
|
894478
894466
|
comp = "<";
|
|
894479
894467
|
ecomp = "<=";
|
|
894480
894468
|
break;
|
|
894481
894469
|
default:
|
|
894482
894470
|
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
894483
894471
|
}
|
|
894484
|
-
if (
|
|
894472
|
+
if (satisfies2(version42, range4, options)) {
|
|
894485
894473
|
return false;
|
|
894486
894474
|
}
|
|
894487
894475
|
for (let i6 = 0;i6 < range4.set.length; ++i6) {
|
|
@@ -894553,7 +894541,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894553
894541
|
init_dirname2();
|
|
894554
894542
|
init_buffer22();
|
|
894555
894543
|
init_process22();
|
|
894556
|
-
var
|
|
894544
|
+
var satisfies2 = require_satisfies2();
|
|
894557
894545
|
var compare = require_compare2();
|
|
894558
894546
|
module2.exports = (versions32, range4, options) => {
|
|
894559
894547
|
const set2 = [];
|
|
@@ -894561,7 +894549,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894561
894549
|
let prev = null;
|
|
894562
894550
|
const v62 = versions32.sort((a6, b52) => compare(a6, b52, options));
|
|
894563
894551
|
for (const version42 of v62) {
|
|
894564
|
-
const included =
|
|
894552
|
+
const included = satisfies2(version42, range4, options);
|
|
894565
894553
|
if (included) {
|
|
894566
894554
|
prev = version42;
|
|
894567
894555
|
if (!first) {
|
|
@@ -894606,7 +894594,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894606
894594
|
var Range = require_range22();
|
|
894607
894595
|
var Comparator = require_comparator2();
|
|
894608
894596
|
var { ANY } = Comparator;
|
|
894609
|
-
var
|
|
894597
|
+
var satisfies2 = require_satisfies2();
|
|
894610
894598
|
var compare = require_compare2();
|
|
894611
894599
|
var subset = (sub, dom, options = {}) => {
|
|
894612
894600
|
if (sub === dom) {
|
|
@@ -894653,10 +894641,10 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894653
894641
|
}
|
|
894654
894642
|
}
|
|
894655
894643
|
const eqSet = /* @__PURE__ */ new Set;
|
|
894656
|
-
let
|
|
894644
|
+
let gt4, lt6;
|
|
894657
894645
|
for (const c62 of sub) {
|
|
894658
894646
|
if (c62.operator === ">" || c62.operator === ">=") {
|
|
894659
|
-
|
|
894647
|
+
gt4 = higherGT(gt4, c62, options);
|
|
894660
894648
|
} else if (c62.operator === "<" || c62.operator === "<=") {
|
|
894661
894649
|
lt6 = lowerLT(lt6, c62, options);
|
|
894662
894650
|
} else {
|
|
@@ -894667,23 +894655,23 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894667
894655
|
return null;
|
|
894668
894656
|
}
|
|
894669
894657
|
let gtltComp;
|
|
894670
|
-
if (
|
|
894671
|
-
gtltComp = compare(
|
|
894658
|
+
if (gt4 && lt6) {
|
|
894659
|
+
gtltComp = compare(gt4.semver, lt6.semver, options);
|
|
894672
894660
|
if (gtltComp > 0) {
|
|
894673
894661
|
return null;
|
|
894674
|
-
} else if (gtltComp === 0 && (
|
|
894662
|
+
} else if (gtltComp === 0 && (gt4.operator !== ">=" || lt6.operator !== "<=")) {
|
|
894675
894663
|
return null;
|
|
894676
894664
|
}
|
|
894677
894665
|
}
|
|
894678
894666
|
for (const eq7 of eqSet) {
|
|
894679
|
-
if (
|
|
894667
|
+
if (gt4 && !satisfies2(eq7, String(gt4), options)) {
|
|
894680
894668
|
return null;
|
|
894681
894669
|
}
|
|
894682
|
-
if (lt6 && !
|
|
894670
|
+
if (lt6 && !satisfies2(eq7, String(lt6), options)) {
|
|
894683
894671
|
return null;
|
|
894684
894672
|
}
|
|
894685
894673
|
for (const c62 of dom) {
|
|
894686
|
-
if (!
|
|
894674
|
+
if (!satisfies2(eq7, String(c62), options)) {
|
|
894687
894675
|
return false;
|
|
894688
894676
|
}
|
|
894689
894677
|
}
|
|
@@ -894692,25 +894680,25 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894692
894680
|
let higher, lower;
|
|
894693
894681
|
let hasDomLT, hasDomGT;
|
|
894694
894682
|
let needDomLTPre = lt6 && !options.includePrerelease && lt6.semver.prerelease.length ? lt6.semver : false;
|
|
894695
|
-
let needDomGTPre =
|
|
894683
|
+
let needDomGTPre = gt4 && !options.includePrerelease && gt4.semver.prerelease.length ? gt4.semver : false;
|
|
894696
894684
|
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt6.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
894697
894685
|
needDomLTPre = false;
|
|
894698
894686
|
}
|
|
894699
894687
|
for (const c62 of dom) {
|
|
894700
894688
|
hasDomGT = hasDomGT || c62.operator === ">" || c62.operator === ">=";
|
|
894701
894689
|
hasDomLT = hasDomLT || c62.operator === "<" || c62.operator === "<=";
|
|
894702
|
-
if (
|
|
894690
|
+
if (gt4) {
|
|
894703
894691
|
if (needDomGTPre) {
|
|
894704
894692
|
if (c62.semver.prerelease && c62.semver.prerelease.length && c62.semver.major === needDomGTPre.major && c62.semver.minor === needDomGTPre.minor && c62.semver.patch === needDomGTPre.patch) {
|
|
894705
894693
|
needDomGTPre = false;
|
|
894706
894694
|
}
|
|
894707
894695
|
}
|
|
894708
894696
|
if (c62.operator === ">" || c62.operator === ">=") {
|
|
894709
|
-
higher = higherGT(
|
|
894710
|
-
if (higher === c62 && higher !==
|
|
894697
|
+
higher = higherGT(gt4, c62, options);
|
|
894698
|
+
if (higher === c62 && higher !== gt4) {
|
|
894711
894699
|
return false;
|
|
894712
894700
|
}
|
|
894713
|
-
} else if (
|
|
894701
|
+
} else if (gt4.operator === ">=" && !satisfies2(gt4.semver, String(c62), options)) {
|
|
894714
894702
|
return false;
|
|
894715
894703
|
}
|
|
894716
894704
|
}
|
|
@@ -894725,18 +894713,18 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894725
894713
|
if (lower === c62 && lower !== lt6) {
|
|
894726
894714
|
return false;
|
|
894727
894715
|
}
|
|
894728
|
-
} else if (lt6.operator === "<=" && !
|
|
894716
|
+
} else if (lt6.operator === "<=" && !satisfies2(lt6.semver, String(c62), options)) {
|
|
894729
894717
|
return false;
|
|
894730
894718
|
}
|
|
894731
894719
|
}
|
|
894732
|
-
if (!c62.operator && (lt6 ||
|
|
894720
|
+
if (!c62.operator && (lt6 || gt4) && gtltComp !== 0) {
|
|
894733
894721
|
return false;
|
|
894734
894722
|
}
|
|
894735
894723
|
}
|
|
894736
|
-
if (
|
|
894724
|
+
if (gt4 && hasDomLT && !lt6 && gtltComp !== 0) {
|
|
894737
894725
|
return false;
|
|
894738
894726
|
}
|
|
894739
|
-
if (lt6 && hasDomGT && !
|
|
894727
|
+
if (lt6 && hasDomGT && !gt4 && gtltComp !== 0) {
|
|
894740
894728
|
return false;
|
|
894741
894729
|
}
|
|
894742
894730
|
if (needDomGTPre || needDomLTPre) {
|
|
@@ -894785,7 +894773,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894785
894773
|
var compareBuild = require_compare_build2();
|
|
894786
894774
|
var sort2 = require_sort2();
|
|
894787
894775
|
var rsort = require_rsort2();
|
|
894788
|
-
var
|
|
894776
|
+
var gt4 = require_gt2();
|
|
894789
894777
|
var lt6 = require_lt2();
|
|
894790
894778
|
var eq7 = require_eq2();
|
|
894791
894779
|
var neq = require_neq2();
|
|
@@ -894795,7 +894783,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894795
894783
|
var coerce22 = require_coerce2();
|
|
894796
894784
|
var Comparator = require_comparator2();
|
|
894797
894785
|
var Range = require_range22();
|
|
894798
|
-
var
|
|
894786
|
+
var satisfies2 = require_satisfies2();
|
|
894799
894787
|
var toComparators = require_to_comparators2();
|
|
894800
894788
|
var maxSatisfying = require_max_satisfying2();
|
|
894801
894789
|
var minSatisfying = require_min_satisfying2();
|
|
@@ -894823,7 +894811,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894823
894811
|
compareBuild,
|
|
894824
894812
|
sort: sort2,
|
|
894825
894813
|
rsort,
|
|
894826
|
-
gt:
|
|
894814
|
+
gt: gt4,
|
|
894827
894815
|
lt: lt6,
|
|
894828
894816
|
eq: eq7,
|
|
894829
894817
|
neq,
|
|
@@ -894833,7 +894821,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
894833
894821
|
coerce: coerce22,
|
|
894834
894822
|
Comparator,
|
|
894835
894823
|
Range,
|
|
894836
|
-
satisfies,
|
|
894824
|
+
satisfies: satisfies2,
|
|
894837
894825
|
toComparators,
|
|
894838
894826
|
maxSatisfying,
|
|
894839
894827
|
minSatisfying,
|
|
@@ -906559,7 +906547,7 @@ if (!checkNodeVersion(true)) {
|
|
|
906559
906547
|
checkNodeVersion(false);
|
|
906560
906548
|
process.exit(1);
|
|
906561
906549
|
}
|
|
906562
|
-
var CLI_VERSION = "1.11.
|
|
906550
|
+
var CLI_VERSION = "1.11.8";
|
|
906563
906551
|
if (CLI_VERSION.startsWith("<<") && CLI_VERSION.endsWith(">>")) {
|
|
906564
906552
|
try {
|
|
906565
906553
|
const __filename3 = fileURLToPath15(import.meta.url);
|
package/dist/commands.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/adk-cli",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.8",
|
|
4
4
|
"description": "Command-line interface for the Botpress Agent Development Kit (ADK)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"url": "https://github.com/botpress/adk"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@botpress/adk": "^1.11.
|
|
44
|
+
"@botpress/adk": "^1.11.8",
|
|
45
45
|
"@botpress/cli": "^4.27.3",
|
|
46
|
-
"@botpress/runtime": "^1.11.
|
|
46
|
+
"@botpress/runtime": "^1.11.8",
|
|
47
47
|
"@botpress/webchat-client": "^0.4.0",
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
|
49
49
|
"adm-zip": "^0.5.16",
|