@zltquant/zlt-mcp 0.6.1-beta.4 → 0.6.1-beta.6
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/package.json +1 -1
- package/zlt-mcp-proxy.bundle.cjs +364 -275
package/zlt-mcp-proxy.bundle.cjs
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
mod
|
|
31
31
|
));
|
|
32
32
|
|
|
33
|
-
//
|
|
33
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js
|
|
34
34
|
var require_error = __commonJS({
|
|
35
|
-
"
|
|
35
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/error.js"(exports2) {
|
|
36
36
|
var CommanderError2 = class extends Error {
|
|
37
37
|
/**
|
|
38
38
|
* Constructs the CommanderError class
|
|
@@ -65,9 +65,9 @@ var require_error = __commonJS({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
|
|
68
|
-
//
|
|
68
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/argument.js
|
|
69
69
|
var require_argument = __commonJS({
|
|
70
|
-
"
|
|
70
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/argument.js"(exports2) {
|
|
71
71
|
var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
72
72
|
var Argument2 = class {
|
|
73
73
|
/**
|
|
@@ -192,9 +192,9 @@ var require_argument = __commonJS({
|
|
|
192
192
|
}
|
|
193
193
|
});
|
|
194
194
|
|
|
195
|
-
//
|
|
195
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/help.js
|
|
196
196
|
var require_help = __commonJS({
|
|
197
|
-
"
|
|
197
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/help.js"(exports2) {
|
|
198
198
|
var { humanReadableArgName } = require_argument();
|
|
199
199
|
var Help2 = class {
|
|
200
200
|
constructor() {
|
|
@@ -761,9 +761,9 @@ ${itemIndentStr}`);
|
|
|
761
761
|
}
|
|
762
762
|
});
|
|
763
763
|
|
|
764
|
-
//
|
|
764
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/option.js
|
|
765
765
|
var require_option = __commonJS({
|
|
766
|
-
"
|
|
766
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/option.js"(exports2) {
|
|
767
767
|
var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
768
768
|
var Option2 = class {
|
|
769
769
|
/**
|
|
@@ -1062,9 +1062,9 @@ var require_option = __commonJS({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
});
|
|
1064
1064
|
|
|
1065
|
-
//
|
|
1065
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js
|
|
1066
1066
|
var require_suggestSimilar = __commonJS({
|
|
1067
|
-
"
|
|
1067
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/suggestSimilar.js"(exports2) {
|
|
1068
1068
|
var maxDistance = 3;
|
|
1069
1069
|
function editDistance(a, b) {
|
|
1070
1070
|
if (Math.abs(a.length - b.length) > maxDistance)
|
|
@@ -1142,13 +1142,13 @@ var require_suggestSimilar = __commonJS({
|
|
|
1142
1142
|
}
|
|
1143
1143
|
});
|
|
1144
1144
|
|
|
1145
|
-
//
|
|
1145
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/command.js
|
|
1146
1146
|
var require_command = __commonJS({
|
|
1147
|
-
"
|
|
1147
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/lib/command.js"(exports2) {
|
|
1148
1148
|
var EventEmitter = require("node:events").EventEmitter;
|
|
1149
1149
|
var childProcess = require("node:child_process");
|
|
1150
1150
|
var path16 = require("node:path");
|
|
1151
|
-
var
|
|
1151
|
+
var fs16 = require("node:fs");
|
|
1152
1152
|
var process4 = require("node:process");
|
|
1153
1153
|
var { Argument: Argument2, humanReadableArgName } = require_argument();
|
|
1154
1154
|
var { CommanderError: CommanderError2 } = require_error();
|
|
@@ -2129,7 +2129,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2129
2129
|
* @param {string} subcommandName
|
|
2130
2130
|
*/
|
|
2131
2131
|
_checkForMissingExecutable(executableFile, executableDir, subcommandName) {
|
|
2132
|
-
if (
|
|
2132
|
+
if (fs16.existsSync(executableFile)) return;
|
|
2133
2133
|
const executableDirMessage = executableDir ? `searched for local subcommand relative to directory '${executableDir}'` : "no directory for search for local subcommand, use .executableDir() to supply a custom directory";
|
|
2134
2134
|
const executableMissing = `'${executableFile}' does not exist
|
|
2135
2135
|
- if '${subcommandName}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
|
|
@@ -2148,10 +2148,10 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2148
2148
|
const sourceExt = [".js", ".ts", ".tsx", ".mjs", ".cjs"];
|
|
2149
2149
|
function findFile(baseDir, baseName) {
|
|
2150
2150
|
const localBin = path16.resolve(baseDir, baseName);
|
|
2151
|
-
if (
|
|
2151
|
+
if (fs16.existsSync(localBin)) return localBin;
|
|
2152
2152
|
if (sourceExt.includes(path16.extname(baseName))) return void 0;
|
|
2153
2153
|
const foundExt = sourceExt.find(
|
|
2154
|
-
(ext) =>
|
|
2154
|
+
(ext) => fs16.existsSync(`${localBin}${ext}`)
|
|
2155
2155
|
);
|
|
2156
2156
|
if (foundExt) return `${localBin}${foundExt}`;
|
|
2157
2157
|
return void 0;
|
|
@@ -2163,7 +2163,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2163
2163
|
if (this._scriptPath) {
|
|
2164
2164
|
let resolvedScriptPath;
|
|
2165
2165
|
try {
|
|
2166
|
-
resolvedScriptPath =
|
|
2166
|
+
resolvedScriptPath = fs16.realpathSync(this._scriptPath);
|
|
2167
2167
|
} catch {
|
|
2168
2168
|
resolvedScriptPath = this._scriptPath;
|
|
2169
2169
|
}
|
|
@@ -3301,9 +3301,9 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
3301
3301
|
}
|
|
3302
3302
|
});
|
|
3303
3303
|
|
|
3304
|
-
//
|
|
3304
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/index.js
|
|
3305
3305
|
var require_commander = __commonJS({
|
|
3306
|
-
"
|
|
3306
|
+
"../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/index.js"(exports2) {
|
|
3307
3307
|
var { Argument: Argument2 } = require_argument();
|
|
3308
3308
|
var { Command: Command2 } = require_command();
|
|
3309
3309
|
var { CommanderError: CommanderError2, InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
@@ -3323,9 +3323,9 @@ var require_commander = __commonJS({
|
|
|
3323
3323
|
}
|
|
3324
3324
|
});
|
|
3325
3325
|
|
|
3326
|
-
//
|
|
3326
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
3327
3327
|
var require_code = __commonJS({
|
|
3328
|
-
"
|
|
3328
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
3329
3329
|
"use strict";
|
|
3330
3330
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3331
3331
|
exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
|
|
@@ -3477,9 +3477,9 @@ var require_code = __commonJS({
|
|
|
3477
3477
|
}
|
|
3478
3478
|
});
|
|
3479
3479
|
|
|
3480
|
-
//
|
|
3480
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
3481
3481
|
var require_scope = __commonJS({
|
|
3482
|
-
"
|
|
3482
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
3483
3483
|
"use strict";
|
|
3484
3484
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3485
3485
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
|
|
@@ -3622,9 +3622,9 @@ var require_scope = __commonJS({
|
|
|
3622
3622
|
}
|
|
3623
3623
|
});
|
|
3624
3624
|
|
|
3625
|
-
//
|
|
3625
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
3626
3626
|
var require_codegen = __commonJS({
|
|
3627
|
-
"
|
|
3627
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
3628
3628
|
"use strict";
|
|
3629
3629
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3630
3630
|
exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
|
|
@@ -4342,9 +4342,9 @@ var require_codegen = __commonJS({
|
|
|
4342
4342
|
}
|
|
4343
4343
|
});
|
|
4344
4344
|
|
|
4345
|
-
//
|
|
4345
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js
|
|
4346
4346
|
var require_util = __commonJS({
|
|
4347
|
-
"
|
|
4347
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
4348
4348
|
"use strict";
|
|
4349
4349
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4350
4350
|
exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
|
|
@@ -4509,9 +4509,9 @@ var require_util = __commonJS({
|
|
|
4509
4509
|
}
|
|
4510
4510
|
});
|
|
4511
4511
|
|
|
4512
|
-
//
|
|
4512
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js
|
|
4513
4513
|
var require_names = __commonJS({
|
|
4514
|
-
"
|
|
4514
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
4515
4515
|
"use strict";
|
|
4516
4516
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4517
4517
|
var codegen_1 = require_codegen();
|
|
@@ -4548,9 +4548,9 @@ var require_names = __commonJS({
|
|
|
4548
4548
|
}
|
|
4549
4549
|
});
|
|
4550
4550
|
|
|
4551
|
-
//
|
|
4551
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js
|
|
4552
4552
|
var require_errors = __commonJS({
|
|
4553
|
-
"
|
|
4553
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
4554
4554
|
"use strict";
|
|
4555
4555
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4556
4556
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
|
|
@@ -4670,9 +4670,9 @@ var require_errors = __commonJS({
|
|
|
4670
4670
|
}
|
|
4671
4671
|
});
|
|
4672
4672
|
|
|
4673
|
-
//
|
|
4673
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
4674
4674
|
var require_boolSchema = __commonJS({
|
|
4675
|
-
"
|
|
4675
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
4676
4676
|
"use strict";
|
|
4677
4677
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4678
4678
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
|
|
@@ -4721,9 +4721,9 @@ var require_boolSchema = __commonJS({
|
|
|
4721
4721
|
}
|
|
4722
4722
|
});
|
|
4723
4723
|
|
|
4724
|
-
//
|
|
4724
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js
|
|
4725
4725
|
var require_rules = __commonJS({
|
|
4726
|
-
"
|
|
4726
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
4727
4727
|
"use strict";
|
|
4728
4728
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4729
4729
|
exports2.getRules = exports2.isJSONType = void 0;
|
|
@@ -4752,9 +4752,9 @@ var require_rules = __commonJS({
|
|
|
4752
4752
|
}
|
|
4753
4753
|
});
|
|
4754
4754
|
|
|
4755
|
-
//
|
|
4755
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
4756
4756
|
var require_applicability = __commonJS({
|
|
4757
|
-
"
|
|
4757
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
4758
4758
|
"use strict";
|
|
4759
4759
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4760
4760
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
|
|
@@ -4775,9 +4775,9 @@ var require_applicability = __commonJS({
|
|
|
4775
4775
|
}
|
|
4776
4776
|
});
|
|
4777
4777
|
|
|
4778
|
-
//
|
|
4778
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
4779
4779
|
var require_dataType = __commonJS({
|
|
4780
|
-
"
|
|
4780
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
4781
4781
|
"use strict";
|
|
4782
4782
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4783
4783
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
|
|
@@ -4959,9 +4959,9 @@ var require_dataType = __commonJS({
|
|
|
4959
4959
|
}
|
|
4960
4960
|
});
|
|
4961
4961
|
|
|
4962
|
-
//
|
|
4962
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
4963
4963
|
var require_defaults = __commonJS({
|
|
4964
|
-
"
|
|
4964
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
4965
4965
|
"use strict";
|
|
4966
4966
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4967
4967
|
exports2.assignDefaults = void 0;
|
|
@@ -4996,9 +4996,9 @@ var require_defaults = __commonJS({
|
|
|
4996
4996
|
}
|
|
4997
4997
|
});
|
|
4998
4998
|
|
|
4999
|
-
//
|
|
4999
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js
|
|
5000
5000
|
var require_code2 = __commonJS({
|
|
5001
|
-
"
|
|
5001
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
5002
5002
|
"use strict";
|
|
5003
5003
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5004
5004
|
exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
|
|
@@ -5129,9 +5129,9 @@ var require_code2 = __commonJS({
|
|
|
5129
5129
|
}
|
|
5130
5130
|
});
|
|
5131
5131
|
|
|
5132
|
-
//
|
|
5132
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
5133
5133
|
var require_keyword = __commonJS({
|
|
5134
|
-
"
|
|
5134
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
5135
5135
|
"use strict";
|
|
5136
5136
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5137
5137
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
|
|
@@ -5247,9 +5247,9 @@ var require_keyword = __commonJS({
|
|
|
5247
5247
|
}
|
|
5248
5248
|
});
|
|
5249
5249
|
|
|
5250
|
-
//
|
|
5250
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
5251
5251
|
var require_subschema = __commonJS({
|
|
5252
|
-
"
|
|
5252
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
5253
5253
|
"use strict";
|
|
5254
5254
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5255
5255
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
|
|
@@ -5330,9 +5330,9 @@ var require_subschema = __commonJS({
|
|
|
5330
5330
|
}
|
|
5331
5331
|
});
|
|
5332
5332
|
|
|
5333
|
-
//
|
|
5333
|
+
// ../../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
5334
5334
|
var require_fast_deep_equal = __commonJS({
|
|
5335
|
-
"
|
|
5335
|
+
"../../../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports2, module2) {
|
|
5336
5336
|
"use strict";
|
|
5337
5337
|
module2.exports = function equal(a, b) {
|
|
5338
5338
|
if (a === b) return true;
|
|
@@ -5365,9 +5365,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
5365
5365
|
}
|
|
5366
5366
|
});
|
|
5367
5367
|
|
|
5368
|
-
//
|
|
5368
|
+
// ../../../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
5369
5369
|
var require_json_schema_traverse = __commonJS({
|
|
5370
|
-
"
|
|
5370
|
+
"../../../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
5371
5371
|
"use strict";
|
|
5372
5372
|
var traverse = module2.exports = function(schema, opts, cb) {
|
|
5373
5373
|
if (typeof opts == "function") {
|
|
@@ -5453,9 +5453,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
5453
5453
|
}
|
|
5454
5454
|
});
|
|
5455
5455
|
|
|
5456
|
-
//
|
|
5456
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js
|
|
5457
5457
|
var require_resolve = __commonJS({
|
|
5458
|
-
"
|
|
5458
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
5459
5459
|
"use strict";
|
|
5460
5460
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5461
5461
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
|
|
@@ -5609,9 +5609,9 @@ var require_resolve = __commonJS({
|
|
|
5609
5609
|
}
|
|
5610
5610
|
});
|
|
5611
5611
|
|
|
5612
|
-
//
|
|
5612
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js
|
|
5613
5613
|
var require_validate = __commonJS({
|
|
5614
|
-
"
|
|
5614
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
5615
5615
|
"use strict";
|
|
5616
5616
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5617
5617
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
|
|
@@ -6117,9 +6117,9 @@ var require_validate = __commonJS({
|
|
|
6117
6117
|
}
|
|
6118
6118
|
});
|
|
6119
6119
|
|
|
6120
|
-
//
|
|
6120
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
6121
6121
|
var require_validation_error = __commonJS({
|
|
6122
|
-
"
|
|
6122
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
6123
6123
|
"use strict";
|
|
6124
6124
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6125
6125
|
var ValidationError = class extends Error {
|
|
@@ -6133,9 +6133,9 @@ var require_validation_error = __commonJS({
|
|
|
6133
6133
|
}
|
|
6134
6134
|
});
|
|
6135
6135
|
|
|
6136
|
-
//
|
|
6136
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js
|
|
6137
6137
|
var require_ref_error = __commonJS({
|
|
6138
|
-
"
|
|
6138
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
6139
6139
|
"use strict";
|
|
6140
6140
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6141
6141
|
var resolve_1 = require_resolve();
|
|
@@ -6150,9 +6150,9 @@ var require_ref_error = __commonJS({
|
|
|
6150
6150
|
}
|
|
6151
6151
|
});
|
|
6152
6152
|
|
|
6153
|
-
//
|
|
6153
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js
|
|
6154
6154
|
var require_compile = __commonJS({
|
|
6155
|
-
"
|
|
6155
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
6156
6156
|
"use strict";
|
|
6157
6157
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6158
6158
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
|
|
@@ -6374,9 +6374,9 @@ var require_compile = __commonJS({
|
|
|
6374
6374
|
}
|
|
6375
6375
|
});
|
|
6376
6376
|
|
|
6377
|
-
//
|
|
6377
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json
|
|
6378
6378
|
var require_data = __commonJS({
|
|
6379
|
-
"
|
|
6379
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
6380
6380
|
module2.exports = {
|
|
6381
6381
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
6382
6382
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -6393,9 +6393,9 @@ var require_data = __commonJS({
|
|
|
6393
6393
|
}
|
|
6394
6394
|
});
|
|
6395
6395
|
|
|
6396
|
-
//
|
|
6396
|
+
// ../../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js
|
|
6397
6397
|
var require_utils = __commonJS({
|
|
6398
|
-
"
|
|
6398
|
+
"../../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/utils.js"(exports2, module2) {
|
|
6399
6399
|
"use strict";
|
|
6400
6400
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
6401
6401
|
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);
|
|
@@ -6650,9 +6650,9 @@ var require_utils = __commonJS({
|
|
|
6650
6650
|
}
|
|
6651
6651
|
});
|
|
6652
6652
|
|
|
6653
|
-
//
|
|
6653
|
+
// ../../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js
|
|
6654
6654
|
var require_schemes = __commonJS({
|
|
6655
|
-
"
|
|
6655
|
+
"../../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
|
|
6656
6656
|
"use strict";
|
|
6657
6657
|
var { isUUID } = require_utils();
|
|
6658
6658
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -6860,9 +6860,9 @@ var require_schemes = __commonJS({
|
|
|
6860
6860
|
}
|
|
6861
6861
|
});
|
|
6862
6862
|
|
|
6863
|
-
//
|
|
6863
|
+
// ../../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js
|
|
6864
6864
|
var require_fast_uri = __commonJS({
|
|
6865
|
-
"
|
|
6865
|
+
"../../../../node_modules/.pnpm/fast-uri@3.1.0/node_modules/fast-uri/index.js"(exports2, module2) {
|
|
6866
6866
|
"use strict";
|
|
6867
6867
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
|
|
6868
6868
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -7115,9 +7115,9 @@ var require_fast_uri = __commonJS({
|
|
|
7115
7115
|
}
|
|
7116
7116
|
});
|
|
7117
7117
|
|
|
7118
|
-
//
|
|
7118
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js
|
|
7119
7119
|
var require_uri = __commonJS({
|
|
7120
|
-
"
|
|
7120
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
7121
7121
|
"use strict";
|
|
7122
7122
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7123
7123
|
var uri = require_fast_uri();
|
|
@@ -7126,9 +7126,9 @@ var require_uri = __commonJS({
|
|
|
7126
7126
|
}
|
|
7127
7127
|
});
|
|
7128
7128
|
|
|
7129
|
-
//
|
|
7129
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js
|
|
7130
7130
|
var require_core = __commonJS({
|
|
7131
|
-
"
|
|
7131
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.js"(exports2) {
|
|
7132
7132
|
"use strict";
|
|
7133
7133
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7134
7134
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
|
|
@@ -7737,9 +7737,9 @@ var require_core = __commonJS({
|
|
|
7737
7737
|
}
|
|
7738
7738
|
});
|
|
7739
7739
|
|
|
7740
|
-
//
|
|
7740
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
7741
7741
|
var require_id = __commonJS({
|
|
7742
|
-
"
|
|
7742
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
7743
7743
|
"use strict";
|
|
7744
7744
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7745
7745
|
var def = {
|
|
@@ -7752,9 +7752,9 @@ var require_id = __commonJS({
|
|
|
7752
7752
|
}
|
|
7753
7753
|
});
|
|
7754
7754
|
|
|
7755
|
-
//
|
|
7755
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
7756
7756
|
var require_ref = __commonJS({
|
|
7757
|
-
"
|
|
7757
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
7758
7758
|
"use strict";
|
|
7759
7759
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7760
7760
|
exports2.callRef = exports2.getValidate = void 0;
|
|
@@ -7874,9 +7874,9 @@ var require_ref = __commonJS({
|
|
|
7874
7874
|
}
|
|
7875
7875
|
});
|
|
7876
7876
|
|
|
7877
|
-
//
|
|
7877
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
7878
7878
|
var require_core2 = __commonJS({
|
|
7879
|
-
"
|
|
7879
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
7880
7880
|
"use strict";
|
|
7881
7881
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7882
7882
|
var id_1 = require_id();
|
|
@@ -7895,9 +7895,9 @@ var require_core2 = __commonJS({
|
|
|
7895
7895
|
}
|
|
7896
7896
|
});
|
|
7897
7897
|
|
|
7898
|
-
//
|
|
7898
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
7899
7899
|
var require_limitNumber = __commonJS({
|
|
7900
|
-
"
|
|
7900
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
7901
7901
|
"use strict";
|
|
7902
7902
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7903
7903
|
var codegen_1 = require_codegen();
|
|
@@ -7927,9 +7927,9 @@ var require_limitNumber = __commonJS({
|
|
|
7927
7927
|
}
|
|
7928
7928
|
});
|
|
7929
7929
|
|
|
7930
|
-
//
|
|
7930
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
7931
7931
|
var require_multipleOf = __commonJS({
|
|
7932
|
-
"
|
|
7932
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
7933
7933
|
"use strict";
|
|
7934
7934
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7935
7935
|
var codegen_1 = require_codegen();
|
|
@@ -7955,9 +7955,9 @@ var require_multipleOf = __commonJS({
|
|
|
7955
7955
|
}
|
|
7956
7956
|
});
|
|
7957
7957
|
|
|
7958
|
-
//
|
|
7958
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
7959
7959
|
var require_ucs2length = __commonJS({
|
|
7960
|
-
"
|
|
7960
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
7961
7961
|
"use strict";
|
|
7962
7962
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7963
7963
|
function ucs2length(str) {
|
|
@@ -7981,9 +7981,9 @@ var require_ucs2length = __commonJS({
|
|
|
7981
7981
|
}
|
|
7982
7982
|
});
|
|
7983
7983
|
|
|
7984
|
-
//
|
|
7984
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
7985
7985
|
var require_limitLength = __commonJS({
|
|
7986
|
-
"
|
|
7986
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
7987
7987
|
"use strict";
|
|
7988
7988
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
7989
7989
|
var codegen_1 = require_codegen();
|
|
@@ -8013,9 +8013,9 @@ var require_limitLength = __commonJS({
|
|
|
8013
8013
|
}
|
|
8014
8014
|
});
|
|
8015
8015
|
|
|
8016
|
-
//
|
|
8016
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
8017
8017
|
var require_pattern = __commonJS({
|
|
8018
|
-
"
|
|
8018
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
8019
8019
|
"use strict";
|
|
8020
8020
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8021
8021
|
var code_1 = require_code2();
|
|
@@ -8050,9 +8050,9 @@ var require_pattern = __commonJS({
|
|
|
8050
8050
|
}
|
|
8051
8051
|
});
|
|
8052
8052
|
|
|
8053
|
-
//
|
|
8053
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
8054
8054
|
var require_limitProperties = __commonJS({
|
|
8055
|
-
"
|
|
8055
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
8056
8056
|
"use strict";
|
|
8057
8057
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8058
8058
|
var codegen_1 = require_codegen();
|
|
@@ -8079,9 +8079,9 @@ var require_limitProperties = __commonJS({
|
|
|
8079
8079
|
}
|
|
8080
8080
|
});
|
|
8081
8081
|
|
|
8082
|
-
//
|
|
8082
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
8083
8083
|
var require_required = __commonJS({
|
|
8084
|
-
"
|
|
8084
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
8085
8085
|
"use strict";
|
|
8086
8086
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8087
8087
|
var code_1 = require_code2();
|
|
@@ -8161,9 +8161,9 @@ var require_required = __commonJS({
|
|
|
8161
8161
|
}
|
|
8162
8162
|
});
|
|
8163
8163
|
|
|
8164
|
-
//
|
|
8164
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
8165
8165
|
var require_limitItems = __commonJS({
|
|
8166
|
-
"
|
|
8166
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
8167
8167
|
"use strict";
|
|
8168
8168
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8169
8169
|
var codegen_1 = require_codegen();
|
|
@@ -8190,9 +8190,9 @@ var require_limitItems = __commonJS({
|
|
|
8190
8190
|
}
|
|
8191
8191
|
});
|
|
8192
8192
|
|
|
8193
|
-
//
|
|
8193
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js
|
|
8194
8194
|
var require_equal = __commonJS({
|
|
8195
|
-
"
|
|
8195
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
8196
8196
|
"use strict";
|
|
8197
8197
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8198
8198
|
var equal = require_fast_deep_equal();
|
|
@@ -8201,9 +8201,9 @@ var require_equal = __commonJS({
|
|
|
8201
8201
|
}
|
|
8202
8202
|
});
|
|
8203
8203
|
|
|
8204
|
-
//
|
|
8204
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
8205
8205
|
var require_uniqueItems = __commonJS({
|
|
8206
|
-
"
|
|
8206
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
8207
8207
|
"use strict";
|
|
8208
8208
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8209
8209
|
var dataType_1 = require_dataType();
|
|
@@ -8268,9 +8268,9 @@ var require_uniqueItems = __commonJS({
|
|
|
8268
8268
|
}
|
|
8269
8269
|
});
|
|
8270
8270
|
|
|
8271
|
-
//
|
|
8271
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
8272
8272
|
var require_const = __commonJS({
|
|
8273
|
-
"
|
|
8273
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
8274
8274
|
"use strict";
|
|
8275
8275
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8276
8276
|
var codegen_1 = require_codegen();
|
|
@@ -8297,9 +8297,9 @@ var require_const = __commonJS({
|
|
|
8297
8297
|
}
|
|
8298
8298
|
});
|
|
8299
8299
|
|
|
8300
|
-
//
|
|
8300
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
8301
8301
|
var require_enum = __commonJS({
|
|
8302
|
-
"
|
|
8302
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
8303
8303
|
"use strict";
|
|
8304
8304
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8305
8305
|
var codegen_1 = require_codegen();
|
|
@@ -8346,9 +8346,9 @@ var require_enum = __commonJS({
|
|
|
8346
8346
|
}
|
|
8347
8347
|
});
|
|
8348
8348
|
|
|
8349
|
-
//
|
|
8349
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
8350
8350
|
var require_validation = __commonJS({
|
|
8351
|
-
"
|
|
8351
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
8352
8352
|
"use strict";
|
|
8353
8353
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8354
8354
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -8384,9 +8384,9 @@ var require_validation = __commonJS({
|
|
|
8384
8384
|
}
|
|
8385
8385
|
});
|
|
8386
8386
|
|
|
8387
|
-
//
|
|
8387
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
8388
8388
|
var require_additionalItems = __commonJS({
|
|
8389
|
-
"
|
|
8389
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
8390
8390
|
"use strict";
|
|
8391
8391
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8392
8392
|
exports2.validateAdditionalItems = void 0;
|
|
@@ -8437,9 +8437,9 @@ var require_additionalItems = __commonJS({
|
|
|
8437
8437
|
}
|
|
8438
8438
|
});
|
|
8439
8439
|
|
|
8440
|
-
//
|
|
8440
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
8441
8441
|
var require_items = __commonJS({
|
|
8442
|
-
"
|
|
8442
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
8443
8443
|
"use strict";
|
|
8444
8444
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8445
8445
|
exports2.validateTuple = void 0;
|
|
@@ -8494,9 +8494,9 @@ var require_items = __commonJS({
|
|
|
8494
8494
|
}
|
|
8495
8495
|
});
|
|
8496
8496
|
|
|
8497
|
-
//
|
|
8497
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
8498
8498
|
var require_prefixItems = __commonJS({
|
|
8499
|
-
"
|
|
8499
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
8500
8500
|
"use strict";
|
|
8501
8501
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8502
8502
|
var items_1 = require_items();
|
|
@@ -8511,9 +8511,9 @@ var require_prefixItems = __commonJS({
|
|
|
8511
8511
|
}
|
|
8512
8512
|
});
|
|
8513
8513
|
|
|
8514
|
-
//
|
|
8514
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
8515
8515
|
var require_items2020 = __commonJS({
|
|
8516
|
-
"
|
|
8516
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
8517
8517
|
"use strict";
|
|
8518
8518
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8519
8519
|
var codegen_1 = require_codegen();
|
|
@@ -8546,9 +8546,9 @@ var require_items2020 = __commonJS({
|
|
|
8546
8546
|
}
|
|
8547
8547
|
});
|
|
8548
8548
|
|
|
8549
|
-
//
|
|
8549
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
8550
8550
|
var require_contains = __commonJS({
|
|
8551
|
-
"
|
|
8551
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
8552
8552
|
"use strict";
|
|
8553
8553
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8554
8554
|
var codegen_1 = require_codegen();
|
|
@@ -8640,9 +8640,9 @@ var require_contains = __commonJS({
|
|
|
8640
8640
|
}
|
|
8641
8641
|
});
|
|
8642
8642
|
|
|
8643
|
-
//
|
|
8643
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
8644
8644
|
var require_dependencies = __commonJS({
|
|
8645
|
-
"
|
|
8645
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
8646
8646
|
"use strict";
|
|
8647
8647
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8648
8648
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
|
|
@@ -8734,9 +8734,9 @@ var require_dependencies = __commonJS({
|
|
|
8734
8734
|
}
|
|
8735
8735
|
});
|
|
8736
8736
|
|
|
8737
|
-
//
|
|
8737
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
8738
8738
|
var require_propertyNames = __commonJS({
|
|
8739
|
-
"
|
|
8739
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
8740
8740
|
"use strict";
|
|
8741
8741
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8742
8742
|
var codegen_1 = require_codegen();
|
|
@@ -8777,9 +8777,9 @@ var require_propertyNames = __commonJS({
|
|
|
8777
8777
|
}
|
|
8778
8778
|
});
|
|
8779
8779
|
|
|
8780
|
-
//
|
|
8780
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
8781
8781
|
var require_additionalProperties = __commonJS({
|
|
8782
|
-
"
|
|
8782
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
8783
8783
|
"use strict";
|
|
8784
8784
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8785
8785
|
var code_1 = require_code2();
|
|
@@ -8883,9 +8883,9 @@ var require_additionalProperties = __commonJS({
|
|
|
8883
8883
|
}
|
|
8884
8884
|
});
|
|
8885
8885
|
|
|
8886
|
-
//
|
|
8886
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
8887
8887
|
var require_properties = __commonJS({
|
|
8888
|
-
"
|
|
8888
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
8889
8889
|
"use strict";
|
|
8890
8890
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8891
8891
|
var validate_1 = require_validate();
|
|
@@ -8941,9 +8941,9 @@ var require_properties = __commonJS({
|
|
|
8941
8941
|
}
|
|
8942
8942
|
});
|
|
8943
8943
|
|
|
8944
|
-
//
|
|
8944
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
8945
8945
|
var require_patternProperties = __commonJS({
|
|
8946
|
-
"
|
|
8946
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
8947
8947
|
"use strict";
|
|
8948
8948
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
8949
8949
|
var code_1 = require_code2();
|
|
@@ -9015,9 +9015,9 @@ var require_patternProperties = __commonJS({
|
|
|
9015
9015
|
}
|
|
9016
9016
|
});
|
|
9017
9017
|
|
|
9018
|
-
//
|
|
9018
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
9019
9019
|
var require_not = __commonJS({
|
|
9020
|
-
"
|
|
9020
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
9021
9021
|
"use strict";
|
|
9022
9022
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9023
9023
|
var util_1 = require_util();
|
|
@@ -9046,9 +9046,9 @@ var require_not = __commonJS({
|
|
|
9046
9046
|
}
|
|
9047
9047
|
});
|
|
9048
9048
|
|
|
9049
|
-
//
|
|
9049
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
9050
9050
|
var require_anyOf = __commonJS({
|
|
9051
|
-
"
|
|
9051
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
9052
9052
|
"use strict";
|
|
9053
9053
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9054
9054
|
var code_1 = require_code2();
|
|
@@ -9063,9 +9063,9 @@ var require_anyOf = __commonJS({
|
|
|
9063
9063
|
}
|
|
9064
9064
|
});
|
|
9065
9065
|
|
|
9066
|
-
//
|
|
9066
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
9067
9067
|
var require_oneOf = __commonJS({
|
|
9068
|
-
"
|
|
9068
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
9069
9069
|
"use strict";
|
|
9070
9070
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9071
9071
|
var codegen_1 = require_codegen();
|
|
@@ -9121,9 +9121,9 @@ var require_oneOf = __commonJS({
|
|
|
9121
9121
|
}
|
|
9122
9122
|
});
|
|
9123
9123
|
|
|
9124
|
-
//
|
|
9124
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
9125
9125
|
var require_allOf = __commonJS({
|
|
9126
|
-
"
|
|
9126
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
9127
9127
|
"use strict";
|
|
9128
9128
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9129
9129
|
var util_1 = require_util();
|
|
@@ -9148,9 +9148,9 @@ var require_allOf = __commonJS({
|
|
|
9148
9148
|
}
|
|
9149
9149
|
});
|
|
9150
9150
|
|
|
9151
|
-
//
|
|
9151
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
9152
9152
|
var require_if = __commonJS({
|
|
9153
|
-
"
|
|
9153
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
9154
9154
|
"use strict";
|
|
9155
9155
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9156
9156
|
var codegen_1 = require_codegen();
|
|
@@ -9217,9 +9217,9 @@ var require_if = __commonJS({
|
|
|
9217
9217
|
}
|
|
9218
9218
|
});
|
|
9219
9219
|
|
|
9220
|
-
//
|
|
9220
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
9221
9221
|
var require_thenElse = __commonJS({
|
|
9222
|
-
"
|
|
9222
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
9223
9223
|
"use strict";
|
|
9224
9224
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9225
9225
|
var util_1 = require_util();
|
|
@@ -9235,9 +9235,9 @@ var require_thenElse = __commonJS({
|
|
|
9235
9235
|
}
|
|
9236
9236
|
});
|
|
9237
9237
|
|
|
9238
|
-
//
|
|
9238
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
9239
9239
|
var require_applicator = __commonJS({
|
|
9240
|
-
"
|
|
9240
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
9241
9241
|
"use strict";
|
|
9242
9242
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9243
9243
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -9283,9 +9283,9 @@ var require_applicator = __commonJS({
|
|
|
9283
9283
|
}
|
|
9284
9284
|
});
|
|
9285
9285
|
|
|
9286
|
-
//
|
|
9286
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
9287
9287
|
var require_format = __commonJS({
|
|
9288
|
-
"
|
|
9288
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
9289
9289
|
"use strict";
|
|
9290
9290
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9291
9291
|
var codegen_1 = require_codegen();
|
|
@@ -9373,9 +9373,9 @@ var require_format = __commonJS({
|
|
|
9373
9373
|
}
|
|
9374
9374
|
});
|
|
9375
9375
|
|
|
9376
|
-
//
|
|
9376
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
9377
9377
|
var require_format2 = __commonJS({
|
|
9378
|
-
"
|
|
9378
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
9379
9379
|
"use strict";
|
|
9380
9380
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9381
9381
|
var format_1 = require_format();
|
|
@@ -9384,9 +9384,9 @@ var require_format2 = __commonJS({
|
|
|
9384
9384
|
}
|
|
9385
9385
|
});
|
|
9386
9386
|
|
|
9387
|
-
//
|
|
9387
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
9388
9388
|
var require_metadata = __commonJS({
|
|
9389
|
-
"
|
|
9389
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
9390
9390
|
"use strict";
|
|
9391
9391
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9392
9392
|
exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
|
|
@@ -9407,9 +9407,9 @@ var require_metadata = __commonJS({
|
|
|
9407
9407
|
}
|
|
9408
9408
|
});
|
|
9409
9409
|
|
|
9410
|
-
//
|
|
9410
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
9411
9411
|
var require_draft7 = __commonJS({
|
|
9412
|
-
"
|
|
9412
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
9413
9413
|
"use strict";
|
|
9414
9414
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9415
9415
|
var core_1 = require_core2();
|
|
@@ -9429,9 +9429,9 @@ var require_draft7 = __commonJS({
|
|
|
9429
9429
|
}
|
|
9430
9430
|
});
|
|
9431
9431
|
|
|
9432
|
-
//
|
|
9432
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
9433
9433
|
var require_types = __commonJS({
|
|
9434
|
-
"
|
|
9434
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
9435
9435
|
"use strict";
|
|
9436
9436
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9437
9437
|
exports2.DiscrError = void 0;
|
|
@@ -9443,9 +9443,9 @@ var require_types = __commonJS({
|
|
|
9443
9443
|
}
|
|
9444
9444
|
});
|
|
9445
9445
|
|
|
9446
|
-
//
|
|
9446
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
9447
9447
|
var require_discriminator = __commonJS({
|
|
9448
|
-
"
|
|
9448
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
9449
9449
|
"use strict";
|
|
9450
9450
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9451
9451
|
var codegen_1 = require_codegen();
|
|
@@ -9548,9 +9548,9 @@ var require_discriminator = __commonJS({
|
|
|
9548
9548
|
}
|
|
9549
9549
|
});
|
|
9550
9550
|
|
|
9551
|
-
//
|
|
9551
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
9552
9552
|
var require_json_schema_draft_07 = __commonJS({
|
|
9553
|
-
"
|
|
9553
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
9554
9554
|
module2.exports = {
|
|
9555
9555
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
9556
9556
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -9705,9 +9705,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
9705
9705
|
}
|
|
9706
9706
|
});
|
|
9707
9707
|
|
|
9708
|
-
//
|
|
9708
|
+
// ../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js
|
|
9709
9709
|
var require_ajv = __commonJS({
|
|
9710
|
-
"
|
|
9710
|
+
"../../../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
9711
9711
|
"use strict";
|
|
9712
9712
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9713
9713
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
|
|
@@ -9775,9 +9775,9 @@ var require_ajv = __commonJS({
|
|
|
9775
9775
|
}
|
|
9776
9776
|
});
|
|
9777
9777
|
|
|
9778
|
-
//
|
|
9778
|
+
// ../../../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js
|
|
9779
9779
|
var require_formats = __commonJS({
|
|
9780
|
-
"
|
|
9780
|
+
"../../../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.js"(exports2) {
|
|
9781
9781
|
"use strict";
|
|
9782
9782
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9783
9783
|
exports2.formatNames = exports2.fastFormats = exports2.fullFormats = void 0;
|
|
@@ -9978,9 +9978,9 @@ var require_formats = __commonJS({
|
|
|
9978
9978
|
}
|
|
9979
9979
|
});
|
|
9980
9980
|
|
|
9981
|
-
//
|
|
9981
|
+
// ../../../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js
|
|
9982
9982
|
var require_limit = __commonJS({
|
|
9983
|
-
"
|
|
9983
|
+
"../../../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/limit.js"(exports2) {
|
|
9984
9984
|
"use strict";
|
|
9985
9985
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
9986
9986
|
exports2.formatLimitDefinition = void 0;
|
|
@@ -10050,9 +10050,9 @@ var require_limit = __commonJS({
|
|
|
10050
10050
|
}
|
|
10051
10051
|
});
|
|
10052
10052
|
|
|
10053
|
-
//
|
|
10053
|
+
// ../../../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js
|
|
10054
10054
|
var require_dist = __commonJS({
|
|
10055
|
-
"
|
|
10055
|
+
"../../../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.js"(exports2, module2) {
|
|
10056
10056
|
"use strict";
|
|
10057
10057
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10058
10058
|
var formats_1 = require_formats();
|
|
@@ -10079,12 +10079,12 @@ var require_dist = __commonJS({
|
|
|
10079
10079
|
throw new Error(`Unknown format "${name}"`);
|
|
10080
10080
|
return f;
|
|
10081
10081
|
};
|
|
10082
|
-
function addFormats(ajv, list,
|
|
10082
|
+
function addFormats(ajv, list, fs16, exportName) {
|
|
10083
10083
|
var _a;
|
|
10084
10084
|
var _b;
|
|
10085
10085
|
(_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 ? _a : _b.formats = (0, codegen_1._)`require("ajv-formats/dist/formats").${exportName}`;
|
|
10086
10086
|
for (const f of list)
|
|
10087
|
-
ajv.addFormat(f,
|
|
10087
|
+
ajv.addFormat(f, fs16[f]);
|
|
10088
10088
|
}
|
|
10089
10089
|
module2.exports = exports2 = formatsPlugin;
|
|
10090
10090
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -10092,12 +10092,12 @@ var require_dist = __commonJS({
|
|
|
10092
10092
|
}
|
|
10093
10093
|
});
|
|
10094
10094
|
|
|
10095
|
-
//
|
|
10095
|
+
// ../../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
|
|
10096
10096
|
var require_windows = __commonJS({
|
|
10097
|
-
"
|
|
10097
|
+
"../../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports2, module2) {
|
|
10098
10098
|
module2.exports = isexe;
|
|
10099
10099
|
isexe.sync = sync;
|
|
10100
|
-
var
|
|
10100
|
+
var fs16 = require("fs");
|
|
10101
10101
|
function checkPathExt(path16, options) {
|
|
10102
10102
|
var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
|
|
10103
10103
|
if (!pathext) {
|
|
@@ -10122,29 +10122,29 @@ var require_windows = __commonJS({
|
|
|
10122
10122
|
return checkPathExt(path16, options);
|
|
10123
10123
|
}
|
|
10124
10124
|
function isexe(path16, options, cb) {
|
|
10125
|
-
|
|
10125
|
+
fs16.stat(path16, function(er, stat) {
|
|
10126
10126
|
cb(er, er ? false : checkStat(stat, path16, options));
|
|
10127
10127
|
});
|
|
10128
10128
|
}
|
|
10129
10129
|
function sync(path16, options) {
|
|
10130
|
-
return checkStat(
|
|
10130
|
+
return checkStat(fs16.statSync(path16), path16, options);
|
|
10131
10131
|
}
|
|
10132
10132
|
}
|
|
10133
10133
|
});
|
|
10134
10134
|
|
|
10135
|
-
//
|
|
10135
|
+
// ../../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
|
|
10136
10136
|
var require_mode = __commonJS({
|
|
10137
|
-
"
|
|
10137
|
+
"../../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports2, module2) {
|
|
10138
10138
|
module2.exports = isexe;
|
|
10139
10139
|
isexe.sync = sync;
|
|
10140
|
-
var
|
|
10140
|
+
var fs16 = require("fs");
|
|
10141
10141
|
function isexe(path16, options, cb) {
|
|
10142
|
-
|
|
10142
|
+
fs16.stat(path16, function(er, stat) {
|
|
10143
10143
|
cb(er, er ? false : checkStat(stat, options));
|
|
10144
10144
|
});
|
|
10145
10145
|
}
|
|
10146
10146
|
function sync(path16, options) {
|
|
10147
|
-
return checkStat(
|
|
10147
|
+
return checkStat(fs16.statSync(path16), options);
|
|
10148
10148
|
}
|
|
10149
10149
|
function checkStat(stat, options) {
|
|
10150
10150
|
return stat.isFile() && checkMode(stat, options);
|
|
@@ -10165,10 +10165,10 @@ var require_mode = __commonJS({
|
|
|
10165
10165
|
}
|
|
10166
10166
|
});
|
|
10167
10167
|
|
|
10168
|
-
//
|
|
10168
|
+
// ../../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
|
|
10169
10169
|
var require_isexe = __commonJS({
|
|
10170
|
-
"
|
|
10171
|
-
var
|
|
10170
|
+
"../../../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2, module2) {
|
|
10171
|
+
var fs16 = require("fs");
|
|
10172
10172
|
var core;
|
|
10173
10173
|
if (process.platform === "win32" || global.TESTING_WINDOWS) {
|
|
10174
10174
|
core = require_windows();
|
|
@@ -10220,9 +10220,9 @@ var require_isexe = __commonJS({
|
|
|
10220
10220
|
}
|
|
10221
10221
|
});
|
|
10222
10222
|
|
|
10223
|
-
//
|
|
10223
|
+
// ../../../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
|
|
10224
10224
|
var require_which = __commonJS({
|
|
10225
|
-
"
|
|
10225
|
+
"../../../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports2, module2) {
|
|
10226
10226
|
var isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
|
|
10227
10227
|
var path16 = require("path");
|
|
10228
10228
|
var COLON = isWindows ? ";" : ":";
|
|
@@ -10316,9 +10316,9 @@ var require_which = __commonJS({
|
|
|
10316
10316
|
}
|
|
10317
10317
|
});
|
|
10318
10318
|
|
|
10319
|
-
//
|
|
10319
|
+
// ../../../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js
|
|
10320
10320
|
var require_path_key = __commonJS({
|
|
10321
|
-
"
|
|
10321
|
+
"../../../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js"(exports2, module2) {
|
|
10322
10322
|
"use strict";
|
|
10323
10323
|
var pathKey = (options = {}) => {
|
|
10324
10324
|
const environment = options.env || process.env;
|
|
@@ -10333,9 +10333,9 @@ var require_path_key = __commonJS({
|
|
|
10333
10333
|
}
|
|
10334
10334
|
});
|
|
10335
10335
|
|
|
10336
|
-
//
|
|
10336
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
10337
10337
|
var require_resolveCommand = __commonJS({
|
|
10338
|
-
"
|
|
10338
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
|
|
10339
10339
|
"use strict";
|
|
10340
10340
|
var path16 = require("path");
|
|
10341
10341
|
var which = require_which();
|
|
@@ -10375,9 +10375,9 @@ var require_resolveCommand = __commonJS({
|
|
|
10375
10375
|
}
|
|
10376
10376
|
});
|
|
10377
10377
|
|
|
10378
|
-
//
|
|
10378
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
10379
10379
|
var require_escape = __commonJS({
|
|
10380
|
-
"
|
|
10380
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports2, module2) {
|
|
10381
10381
|
"use strict";
|
|
10382
10382
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
10383
10383
|
function escapeCommand(arg) {
|
|
@@ -10400,17 +10400,17 @@ var require_escape = __commonJS({
|
|
|
10400
10400
|
}
|
|
10401
10401
|
});
|
|
10402
10402
|
|
|
10403
|
-
//
|
|
10403
|
+
// ../../../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js
|
|
10404
10404
|
var require_shebang_regex = __commonJS({
|
|
10405
|
-
"
|
|
10405
|
+
"../../../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js"(exports2, module2) {
|
|
10406
10406
|
"use strict";
|
|
10407
10407
|
module2.exports = /^#!(.*)/;
|
|
10408
10408
|
}
|
|
10409
10409
|
});
|
|
10410
10410
|
|
|
10411
|
-
//
|
|
10411
|
+
// ../../../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js
|
|
10412
10412
|
var require_shebang_command = __commonJS({
|
|
10413
|
-
"
|
|
10413
|
+
"../../../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js"(exports2, module2) {
|
|
10414
10414
|
"use strict";
|
|
10415
10415
|
var shebangRegex = require_shebang_regex();
|
|
10416
10416
|
module2.exports = (string3 = "") => {
|
|
@@ -10428,20 +10428,20 @@ var require_shebang_command = __commonJS({
|
|
|
10428
10428
|
}
|
|
10429
10429
|
});
|
|
10430
10430
|
|
|
10431
|
-
//
|
|
10431
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
10432
10432
|
var require_readShebang = __commonJS({
|
|
10433
|
-
"
|
|
10433
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
|
|
10434
10434
|
"use strict";
|
|
10435
|
-
var
|
|
10435
|
+
var fs16 = require("fs");
|
|
10436
10436
|
var shebangCommand = require_shebang_command();
|
|
10437
10437
|
function readShebang(command) {
|
|
10438
10438
|
const size = 150;
|
|
10439
10439
|
const buffer = Buffer.alloc(size);
|
|
10440
10440
|
let fd;
|
|
10441
10441
|
try {
|
|
10442
|
-
fd =
|
|
10443
|
-
|
|
10444
|
-
|
|
10442
|
+
fd = fs16.openSync(command, "r");
|
|
10443
|
+
fs16.readSync(fd, buffer, 0, size, 0);
|
|
10444
|
+
fs16.closeSync(fd);
|
|
10445
10445
|
} catch (e) {
|
|
10446
10446
|
}
|
|
10447
10447
|
return shebangCommand(buffer.toString());
|
|
@@ -10450,9 +10450,9 @@ var require_readShebang = __commonJS({
|
|
|
10450
10450
|
}
|
|
10451
10451
|
});
|
|
10452
10452
|
|
|
10453
|
-
//
|
|
10453
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
10454
10454
|
var require_parse = __commonJS({
|
|
10455
|
-
"
|
|
10455
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
|
|
10456
10456
|
"use strict";
|
|
10457
10457
|
var path16 = require("path");
|
|
10458
10458
|
var resolveCommand = require_resolveCommand();
|
|
@@ -10512,9 +10512,9 @@ var require_parse = __commonJS({
|
|
|
10512
10512
|
}
|
|
10513
10513
|
});
|
|
10514
10514
|
|
|
10515
|
-
//
|
|
10515
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
10516
10516
|
var require_enoent = __commonJS({
|
|
10517
|
-
"
|
|
10517
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports2, module2) {
|
|
10518
10518
|
"use strict";
|
|
10519
10519
|
var isWin = process.platform === "win32";
|
|
10520
10520
|
function notFoundError(original, syscall) {
|
|
@@ -10562,9 +10562,9 @@ var require_enoent = __commonJS({
|
|
|
10562
10562
|
}
|
|
10563
10563
|
});
|
|
10564
10564
|
|
|
10565
|
-
//
|
|
10565
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
10566
10566
|
var require_cross_spawn = __commonJS({
|
|
10567
|
-
"
|
|
10567
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
10568
10568
|
"use strict";
|
|
10569
10569
|
var cp = require("child_process");
|
|
10570
10570
|
var parse3 = require_parse();
|
|
@@ -10589,7 +10589,7 @@ var require_cross_spawn = __commonJS({
|
|
|
10589
10589
|
}
|
|
10590
10590
|
});
|
|
10591
10591
|
|
|
10592
|
-
//
|
|
10592
|
+
// ../../../../node_modules/.pnpm/commander@13.1.0/node_modules/commander/esm.mjs
|
|
10593
10593
|
var import_index = __toESM(require_commander(), 1);
|
|
10594
10594
|
var {
|
|
10595
10595
|
program,
|
|
@@ -10607,14 +10607,14 @@ var {
|
|
|
10607
10607
|
} = import_index.default;
|
|
10608
10608
|
|
|
10609
10609
|
// src/index.ts
|
|
10610
|
-
var
|
|
10610
|
+
var fs15 = __toESM(require("node:fs"), 1);
|
|
10611
10611
|
var path15 = __toESM(require("node:path"), 1);
|
|
10612
10612
|
|
|
10613
10613
|
// src/cli.ts
|
|
10614
10614
|
var fs9 = __toESM(require("fs"), 1);
|
|
10615
10615
|
var path9 = __toESM(require("path"), 1);
|
|
10616
10616
|
|
|
10617
|
-
//
|
|
10617
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.js
|
|
10618
10618
|
var NEVER = Object.freeze({
|
|
10619
10619
|
status: "aborted"
|
|
10620
10620
|
});
|
|
@@ -10673,7 +10673,7 @@ function config(newConfig) {
|
|
|
10673
10673
|
return globalConfig;
|
|
10674
10674
|
}
|
|
10675
10675
|
|
|
10676
|
-
//
|
|
10676
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.js
|
|
10677
10677
|
var util_exports = {};
|
|
10678
10678
|
__export(util_exports, {
|
|
10679
10679
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -11194,7 +11194,7 @@ var Class = class {
|
|
|
11194
11194
|
}
|
|
11195
11195
|
};
|
|
11196
11196
|
|
|
11197
|
-
//
|
|
11197
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.js
|
|
11198
11198
|
var initializer = (inst, def) => {
|
|
11199
11199
|
inst.name = "$ZodError";
|
|
11200
11200
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -11269,7 +11269,7 @@ function formatError(error2, _mapper) {
|
|
|
11269
11269
|
return fieldErrors;
|
|
11270
11270
|
}
|
|
11271
11271
|
|
|
11272
|
-
//
|
|
11272
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/parse.js
|
|
11273
11273
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
11274
11274
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
11275
11275
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -11319,7 +11319,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
11319
11319
|
};
|
|
11320
11320
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
11321
11321
|
|
|
11322
|
-
//
|
|
11322
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/regexes.js
|
|
11323
11323
|
var cuid = /^[cC][^\s-]{8,}$/;
|
|
11324
11324
|
var cuid2 = /^[0-9a-z]+$/;
|
|
11325
11325
|
var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
@@ -11377,7 +11377,7 @@ var _null = /null/i;
|
|
|
11377
11377
|
var lowercase = /^[^A-Z]*$/;
|
|
11378
11378
|
var uppercase = /^[^a-z]*$/;
|
|
11379
11379
|
|
|
11380
|
-
//
|
|
11380
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.js
|
|
11381
11381
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
11382
11382
|
var _a;
|
|
11383
11383
|
inst._zod ?? (inst._zod = {});
|
|
@@ -11762,7 +11762,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
11762
11762
|
};
|
|
11763
11763
|
});
|
|
11764
11764
|
|
|
11765
|
-
//
|
|
11765
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/doc.js
|
|
11766
11766
|
var Doc = class {
|
|
11767
11767
|
constructor(args = []) {
|
|
11768
11768
|
this.content = [];
|
|
@@ -11798,14 +11798,14 @@ var Doc = class {
|
|
|
11798
11798
|
}
|
|
11799
11799
|
};
|
|
11800
11800
|
|
|
11801
|
-
//
|
|
11801
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.js
|
|
11802
11802
|
var version = {
|
|
11803
11803
|
major: 4,
|
|
11804
11804
|
minor: 0,
|
|
11805
11805
|
patch: 0
|
|
11806
11806
|
};
|
|
11807
11807
|
|
|
11808
|
-
//
|
|
11808
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.js
|
|
11809
11809
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
11810
11810
|
var _a;
|
|
11811
11811
|
inst ?? (inst = {});
|
|
@@ -13043,7 +13043,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
13043
13043
|
}
|
|
13044
13044
|
}
|
|
13045
13045
|
|
|
13046
|
-
//
|
|
13046
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/locales/en.js
|
|
13047
13047
|
var parsedType = (data) => {
|
|
13048
13048
|
const t = typeof data;
|
|
13049
13049
|
switch (t) {
|
|
@@ -13161,7 +13161,7 @@ function en_default() {
|
|
|
13161
13161
|
};
|
|
13162
13162
|
}
|
|
13163
13163
|
|
|
13164
|
-
//
|
|
13164
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js
|
|
13165
13165
|
var $ZodRegistry = class {
|
|
13166
13166
|
constructor() {
|
|
13167
13167
|
this._map = /* @__PURE__ */ new Map();
|
|
@@ -13209,7 +13209,7 @@ function registry() {
|
|
|
13209
13209
|
}
|
|
13210
13210
|
var globalRegistry = /* @__PURE__ */ registry();
|
|
13211
13211
|
|
|
13212
|
-
//
|
|
13212
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.js
|
|
13213
13213
|
function _string(Class2, params) {
|
|
13214
13214
|
return new Class2({
|
|
13215
13215
|
type: "string",
|
|
@@ -13648,7 +13648,7 @@ function _refine(Class2, fn, _params) {
|
|
|
13648
13648
|
return schema;
|
|
13649
13649
|
}
|
|
13650
13650
|
|
|
13651
|
-
//
|
|
13651
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
13652
13652
|
function isZ4Schema(s) {
|
|
13653
13653
|
const schema = s;
|
|
13654
13654
|
return !!schema._zod;
|
|
@@ -13711,7 +13711,7 @@ function getLiteralValue(schema) {
|
|
|
13711
13711
|
return void 0;
|
|
13712
13712
|
}
|
|
13713
13713
|
|
|
13714
|
-
//
|
|
13714
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.js
|
|
13715
13715
|
var iso_exports = {};
|
|
13716
13716
|
__export(iso_exports, {
|
|
13717
13717
|
ZodISODate: () => ZodISODate,
|
|
@@ -13752,7 +13752,7 @@ function duration2(params) {
|
|
|
13752
13752
|
return _isoDuration(ZodISODuration, params);
|
|
13753
13753
|
}
|
|
13754
13754
|
|
|
13755
|
-
//
|
|
13755
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.js
|
|
13756
13756
|
var initializer2 = (inst, issues) => {
|
|
13757
13757
|
$ZodError.init(inst, issues);
|
|
13758
13758
|
inst.name = "ZodError";
|
|
@@ -13786,13 +13786,13 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
13786
13786
|
Parent: Error
|
|
13787
13787
|
});
|
|
13788
13788
|
|
|
13789
|
-
//
|
|
13789
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.js
|
|
13790
13790
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
13791
13791
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
13792
13792
|
var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
13793
13793
|
var safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
13794
13794
|
|
|
13795
|
-
//
|
|
13795
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.js
|
|
13796
13796
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
13797
13797
|
$ZodType.init(inst, def);
|
|
13798
13798
|
inst.def = def;
|
|
@@ -14403,10 +14403,10 @@ function preprocess(fn, schema) {
|
|
|
14403
14403
|
return pipe(transform(fn), schema);
|
|
14404
14404
|
}
|
|
14405
14405
|
|
|
14406
|
-
//
|
|
14406
|
+
// ../../../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/external.js
|
|
14407
14407
|
config(en_default());
|
|
14408
14408
|
|
|
14409
|
-
//
|
|
14409
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
14410
14410
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
14411
14411
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
14412
14412
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -15925,15 +15925,15 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
15925
15925
|
}
|
|
15926
15926
|
};
|
|
15927
15927
|
|
|
15928
|
-
//
|
|
15928
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
15929
15929
|
function isTerminal(status) {
|
|
15930
15930
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
15931
15931
|
}
|
|
15932
15932
|
|
|
15933
|
-
//
|
|
15933
|
+
// ../../../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
15934
15934
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
15935
15935
|
|
|
15936
|
-
//
|
|
15936
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
15937
15937
|
function getMethodLiteral(schema) {
|
|
15938
15938
|
const shape = getObjectShape(schema);
|
|
15939
15939
|
const methodSchema = shape?.method;
|
|
@@ -15954,7 +15954,7 @@ function parseWithCompat(schema, data) {
|
|
|
15954
15954
|
return result.data;
|
|
15955
15955
|
}
|
|
15956
15956
|
|
|
15957
|
-
//
|
|
15957
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
15958
15958
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
15959
15959
|
var Protocol = class {
|
|
15960
15960
|
constructor(_options) {
|
|
@@ -16908,7 +16908,7 @@ function mergeCapabilities(base, additional) {
|
|
|
16908
16908
|
return result;
|
|
16909
16909
|
}
|
|
16910
16910
|
|
|
16911
|
-
//
|
|
16911
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
16912
16912
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
16913
16913
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
16914
16914
|
function createDefaultAjvInstance() {
|
|
@@ -16976,7 +16976,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
16976
16976
|
}
|
|
16977
16977
|
};
|
|
16978
16978
|
|
|
16979
|
-
//
|
|
16979
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js
|
|
16980
16980
|
var ExperimentalClientTasks = class {
|
|
16981
16981
|
constructor(_client) {
|
|
16982
16982
|
this._client = _client;
|
|
@@ -17130,7 +17130,7 @@ var ExperimentalClientTasks = class {
|
|
|
17130
17130
|
}
|
|
17131
17131
|
};
|
|
17132
17132
|
|
|
17133
|
-
//
|
|
17133
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
17134
17134
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
17135
17135
|
if (!requests) {
|
|
17136
17136
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -17165,7 +17165,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
17165
17165
|
}
|
|
17166
17166
|
}
|
|
17167
17167
|
|
|
17168
|
-
//
|
|
17168
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js
|
|
17169
17169
|
function applyElicitationDefaults(schema, data) {
|
|
17170
17170
|
if (!schema || data === null || typeof data !== "object")
|
|
17171
17171
|
return;
|
|
@@ -17685,12 +17685,12 @@ var Client = class extends Protocol {
|
|
|
17685
17685
|
}
|
|
17686
17686
|
};
|
|
17687
17687
|
|
|
17688
|
-
//
|
|
17688
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js
|
|
17689
17689
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17690
17690
|
var import_node_process = __toESM(require("node:process"), 1);
|
|
17691
17691
|
var import_node_stream = require("node:stream");
|
|
17692
17692
|
|
|
17693
|
-
//
|
|
17693
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
17694
17694
|
var ReadBuffer = class {
|
|
17695
17695
|
append(chunk) {
|
|
17696
17696
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -17718,7 +17718,7 @@ function serializeMessage(message) {
|
|
|
17718
17718
|
return JSON.stringify(message) + "\n";
|
|
17719
17719
|
}
|
|
17720
17720
|
|
|
17721
|
-
//
|
|
17721
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js
|
|
17722
17722
|
var DEFAULT_INHERITED_ENV_VARS = import_node_process.default.platform === "win32" ? [
|
|
17723
17723
|
"APPDATA",
|
|
17724
17724
|
"HOMEDRIVE",
|
|
@@ -19522,18 +19522,18 @@ async function waitForPipe(workRoot, pipePrefix, timeout) {
|
|
|
19522
19522
|
throw new Error(`\u7B49\u5F85 ${pipePrefix} \u7BA1\u9053\u8D85\u65F6`);
|
|
19523
19523
|
}
|
|
19524
19524
|
async function readZltContent(workRoot, temporaryZltFile) {
|
|
19525
|
-
const
|
|
19525
|
+
const fs16 = await import("fs");
|
|
19526
19526
|
const path16 = await import("path");
|
|
19527
19527
|
const zltFile = path16.join(workRoot, temporaryZltFile || "Temporary/zlt");
|
|
19528
|
-
return
|
|
19528
|
+
return fs16.existsSync(zltFile) ? fs16.readFileSync(zltFile, "utf-8").trim() : "";
|
|
19529
19529
|
}
|
|
19530
19530
|
async function pipeExists2(pipeName) {
|
|
19531
|
-
const
|
|
19531
|
+
const fs16 = await import("fs");
|
|
19532
19532
|
try {
|
|
19533
19533
|
if (process.platform === "win32") {
|
|
19534
|
-
return
|
|
19534
|
+
return fs16.readdirSync("\\\\.\\pipe\\").includes(pipeName);
|
|
19535
19535
|
}
|
|
19536
|
-
return
|
|
19536
|
+
return fs16.existsSync(`/tmp/${pipeName}`);
|
|
19537
19537
|
} catch {
|
|
19538
19538
|
return false;
|
|
19539
19539
|
}
|
|
@@ -22179,7 +22179,7 @@ function generateSkillFile(tool) {
|
|
|
22179
22179
|
return lines.join("\n");
|
|
22180
22180
|
}
|
|
22181
22181
|
|
|
22182
|
-
//
|
|
22182
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
22183
22183
|
var ExperimentalServerTasks = class {
|
|
22184
22184
|
constructor(_server) {
|
|
22185
22185
|
this._server = _server;
|
|
@@ -22392,7 +22392,7 @@ var ExperimentalServerTasks = class {
|
|
|
22392
22392
|
}
|
|
22393
22393
|
};
|
|
22394
22394
|
|
|
22395
|
-
//
|
|
22395
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
22396
22396
|
var Server = class extends Protocol {
|
|
22397
22397
|
/**
|
|
22398
22398
|
* Initializes this server with the given name and version information.
|
|
@@ -22772,7 +22772,7 @@ var Server = class extends Protocol {
|
|
|
22772
22772
|
}
|
|
22773
22773
|
};
|
|
22774
22774
|
|
|
22775
|
-
//
|
|
22775
|
+
// ../../../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
22776
22776
|
var import_node_process2 = __toESM(require("node:process"), 1);
|
|
22777
22777
|
var StdioServerTransport = class {
|
|
22778
22778
|
constructor(_stdin = import_node_process2.default.stdin, _stdout = import_node_process2.default.stdout) {
|
|
@@ -22834,6 +22834,9 @@ var StdioServerTransport = class {
|
|
|
22834
22834
|
}
|
|
22835
22835
|
};
|
|
22836
22836
|
|
|
22837
|
+
// src/mcp-server.ts
|
|
22838
|
+
var fs14 = __toESM(require("node:fs"), 1);
|
|
22839
|
+
|
|
22837
22840
|
// src/install-task.ts
|
|
22838
22841
|
var fs11 = __toESM(require("node:fs"), 1);
|
|
22839
22842
|
var os4 = __toESM(require("node:os"), 1);
|
|
@@ -22968,7 +22971,8 @@ function updateInstallTask(taskId, update) {
|
|
|
22968
22971
|
// src/tool-profile-contract.mjs
|
|
22969
22972
|
var UNIVERSAL_AGENT_RUNTIME_TOOL_NAMES = Object.freeze([
|
|
22970
22973
|
"zlt-runtime-doctor",
|
|
22971
|
-
"zlt-runtime-install"
|
|
22974
|
+
"zlt-runtime-install",
|
|
22975
|
+
"zlt-runtime-start"
|
|
22972
22976
|
]);
|
|
22973
22977
|
var UNIVERSAL_AGENT_IPC_TOOL_NAMES = Object.freeze([
|
|
22974
22978
|
"mcp-strategy-get-template-list",
|
|
@@ -22981,13 +22985,13 @@ var UNIVERSAL_AGENT_IPC_TOOL_NAMES = Object.freeze([
|
|
|
22981
22985
|
"mcp-stop-backtest",
|
|
22982
22986
|
"mcp-get-backtest-state",
|
|
22983
22987
|
"mcp-get-backtest-profit",
|
|
22988
|
+
"mcp-get-backtest-entrust",
|
|
22984
22989
|
"mcp-delete-strategy",
|
|
22985
|
-
//
|
|
22986
|
-
//
|
|
22987
|
-
// (gap check), disk-space (mr/etf confirmation), and mcp-wait (blocking
|
|
22988
|
-
// wait); get-download-progress is wait's early-return fallback; stop-download
|
|
22989
|
-
// is the cancel valve. Listing a subset ships guidance at unreachable tools.
|
|
22990
|
+
// Keep discovery, local/cloud comparison, download, and wait available together.
|
|
22991
|
+
// Local coverage alone cannot answer whether the cloud has more data.
|
|
22990
22992
|
"mcp-get-data-range",
|
|
22993
|
+
"mcp-get-cloud-data-list",
|
|
22994
|
+
"mcp-get-cache-diff",
|
|
22991
22995
|
"mcp-download-data",
|
|
22992
22996
|
"mcp-get-download-progress",
|
|
22993
22997
|
"mcp-get-data-disk-space",
|
|
@@ -23782,22 +23786,22 @@ function applyBacktestPollingGuard(tool, args, result, states, contexts, activeR
|
|
|
23782
23786
|
if (!isRecord2(parsed) || !isRecord2(parsed.Data)) return result;
|
|
23783
23787
|
const data = parsed.Data;
|
|
23784
23788
|
const status = Number(data.status);
|
|
23785
|
-
if (status !== 1) {
|
|
23786
|
-
states.delete(runId);
|
|
23787
|
-
if (status === 0) activeRunIds.add(runId);
|
|
23788
|
-
else activeRunIds.delete(runId);
|
|
23789
|
-
return status === 0 ? withRunningCadence(parsed, data) : result;
|
|
23790
|
-
}
|
|
23791
|
-
activeRunIds.add(runId);
|
|
23792
|
-
const suppliedCodePath = typeof args.codePath === "string" ? args.codePath.trim() : "";
|
|
23793
23789
|
const context = contexts.get(runId);
|
|
23790
|
+
const suppliedCodePath = typeof args.codePath === "string" ? args.codePath.trim() : "";
|
|
23794
23791
|
const publicAttemptFence = parseBacktestAttemptFence(args.attemptFence);
|
|
23795
|
-
const dataPrep = buildDataPrepInfo(
|
|
23792
|
+
const dataPrep = status === 0 || status === 1 ? buildDataPrepInfo(
|
|
23796
23793
|
context?.codePath || suppliedCodePath,
|
|
23797
23794
|
data,
|
|
23798
23795
|
context?.resultBaseline ?? publicAttemptFence?.resultBaseline ?? parseRunResultIdentity(args.__resultBaseline),
|
|
23799
23796
|
context?.attemptStartedAtMs ?? publicAttemptFence?.attemptStartedAtMs ?? finitePositiveNumber(args.__attemptStartedAtMs)
|
|
23800
|
-
);
|
|
23797
|
+
) : void 0;
|
|
23798
|
+
if (status !== 1) {
|
|
23799
|
+
states.delete(runId);
|
|
23800
|
+
if (status === 0) activeRunIds.add(runId);
|
|
23801
|
+
else activeRunIds.delete(runId);
|
|
23802
|
+
return status === 0 ? withRunningCadence(parsed, { ...data, ...dataPrep }) : result;
|
|
23803
|
+
}
|
|
23804
|
+
activeRunIds.add(runId);
|
|
23801
23805
|
const signature = JSON.stringify([
|
|
23802
23806
|
data.status,
|
|
23803
23807
|
data.phase,
|
|
@@ -23805,13 +23809,14 @@ function applyBacktestPollingGuard(tool, args, result, states, contexts, activeR
|
|
|
23805
23809
|
data.downloadedBytes,
|
|
23806
23810
|
data.downloadedFiles,
|
|
23807
23811
|
dataPrep?.download_status,
|
|
23812
|
+
dataPrep?.download_progress,
|
|
23808
23813
|
dataPrep?.download_message,
|
|
23809
23814
|
dataPrep?.download_update_time
|
|
23810
23815
|
]);
|
|
23811
23816
|
const previous = states.get(runId);
|
|
23812
23817
|
const unchangedCount = previous?.signature === signature ? previous.unchangedCount + 1 : 1;
|
|
23813
23818
|
states.set(runId, { signature, unchangedCount });
|
|
23814
|
-
if (unchangedCount < 3) return withRunningCadence(parsed, data);
|
|
23819
|
+
if (unchangedCount < 3) return withRunningCadence(parsed, { ...data, ...dataPrep });
|
|
23815
23820
|
const minutesSinceUpdate = typeof dataPrep?.dataPrepMinutesSinceUpdate === "number" ? dataPrep.dataPrepMinutesSinceUpdate : null;
|
|
23816
23821
|
if (minutesSinceUpdate !== null && minutesSinceUpdate < STALE_DATA_PREP_MINUTES) {
|
|
23817
23822
|
return {
|
|
@@ -24597,6 +24602,12 @@ function frozenBacktestResult(parsed, data) {
|
|
|
24597
24602
|
function backtestWaitLane(runId, session, codePath, resultBaseline, attemptStartedAtMs) {
|
|
24598
24603
|
let frozenCount = 0;
|
|
24599
24604
|
let lastSignature = "";
|
|
24605
|
+
const waitStartedAt = Date.now();
|
|
24606
|
+
let lastSubstantiveSignature = "";
|
|
24607
|
+
let lastSubstantiveChangeAt = waitStartedAt;
|
|
24608
|
+
let lastMessageAt = waitStartedAt;
|
|
24609
|
+
let message = "";
|
|
24610
|
+
let elapsedSeconds = 0;
|
|
24600
24611
|
const stateArgs = {
|
|
24601
24612
|
runId,
|
|
24602
24613
|
...codePath ? { codePath } : {},
|
|
@@ -24641,7 +24652,7 @@ function backtestWaitLane(runId, session, codePath, resultBaseline, attemptStart
|
|
|
24641
24652
|
result: shapeToolResult(BACKTEST_WAIT_POLL_IDENTITY, stateArgs, base, session)
|
|
24642
24653
|
};
|
|
24643
24654
|
}
|
|
24644
|
-
const
|
|
24655
|
+
const substantiveFields = [
|
|
24645
24656
|
data.status,
|
|
24646
24657
|
data.phase,
|
|
24647
24658
|
data.progress,
|
|
@@ -24650,7 +24661,11 @@ function backtestWaitLane(runId, session, codePath, resultBaseline, attemptStart
|
|
|
24650
24661
|
data.error_code,
|
|
24651
24662
|
data.error_msg,
|
|
24652
24663
|
currentAttemptResult ? runResult?.download_status : void 0,
|
|
24653
|
-
currentAttemptResult
|
|
24664
|
+
currentAttemptResult ? runResult?.download_progress : void 0,
|
|
24665
|
+
currentAttemptResult && typeof runResult?.download_message === "string" ? runResult.download_message : void 0
|
|
24666
|
+
];
|
|
24667
|
+
const signature = JSON.stringify([
|
|
24668
|
+
...substantiveFields,
|
|
24654
24669
|
currentAttemptResult && typeof runResult?.download_update_time === "string" ? runResult.download_update_time : void 0
|
|
24655
24670
|
]);
|
|
24656
24671
|
frozenCount = signature === lastSignature ? frozenCount + 1 : 0;
|
|
@@ -24661,8 +24676,31 @@ function backtestWaitLane(runId, session, codePath, resultBaseline, attemptStart
|
|
|
24661
24676
|
frozenBacktestResult(parsed, data)
|
|
24662
24677
|
) };
|
|
24663
24678
|
}
|
|
24664
|
-
const
|
|
24665
|
-
|
|
24679
|
+
const now = Date.now();
|
|
24680
|
+
const substantiveSignature = JSON.stringify(substantiveFields);
|
|
24681
|
+
const changed = substantiveSignature !== lastSubstantiveSignature;
|
|
24682
|
+
if (changed) {
|
|
24683
|
+
lastSubstantiveChangeAt = now;
|
|
24684
|
+
lastSubstantiveSignature = substantiveSignature;
|
|
24685
|
+
}
|
|
24686
|
+
elapsedSeconds = Math.max(elapsedSeconds, Math.floor((now - waitStartedAt) / 1e3));
|
|
24687
|
+
if (changed || !message || now - lastMessageAt >= 3e4) {
|
|
24688
|
+
const prep = currentAttemptResult ? runResult : null;
|
|
24689
|
+
const prepProgress = typeof prep?.download_progress === "number" && Number.isFinite(prep.download_progress) ? prep.download_progress : void 0;
|
|
24690
|
+
const prepActive = prep?.download_status !== void 0 && Number(prep.download_status) === 1;
|
|
24691
|
+
const detail = [
|
|
24692
|
+
status === 0 ? "\u56DE\u6D4B\u51C6\u5907\u4E2D" : "\u56DE\u6D4B\u8FD0\u884C\u4E2D",
|
|
24693
|
+
prepActive ? `\u6570\u636E\u51C6\u5907\u72B6\u6001 ${String(prep.download_status)}` : "",
|
|
24694
|
+
prepActive && prepProgress !== void 0 ? `\u6570\u636E\u51C6\u5907\u5F53\u524D\u6B65\u9AA4 ${prepProgress}%\uFF08\u4E0D\u662F\u56DE\u6D4B\u603B\u8FDB\u5EA6\uFF09` : "",
|
|
24695
|
+
prepActive && typeof prep?.download_message === "string" ? prep.download_message : "",
|
|
24696
|
+
prepActive && typeof prep?.download_update_time === "string" ? `\u6570\u636E\u51C6\u5907\u66F4\u65B0\u65F6\u95F4 ${prep.download_update_time}` : "",
|
|
24697
|
+
typeof data.progress === "number" && Number.isFinite(data.progress) ? `\u56DE\u6D4B\u72B6\u6001\u8FDB\u5EA6 ${data.progress}%` : ""
|
|
24698
|
+
].filter(Boolean).join("\uFF0C");
|
|
24699
|
+
const unchangedSeconds = Math.max(0, Math.floor((now - lastSubstantiveChangeAt) / 1e3));
|
|
24700
|
+
message = `\u56DE\u6D4B\u7B49\u5F85\uFF08\u5DF2\u7B49\u5F85 ${elapsedSeconds}\u79D2\uFF09\uFF1A${detail}` + (unchangedSeconds >= 30 ? `\uFF1B\u5B9E\u8D28\u8FDB\u5EA6\u5DF2 ${unchangedSeconds}\u79D2\u672A\u53D8\u5316\uFF0C\u4E0D\u7B49\u4E8E\u5931\u8D25\uFF0C\u7EE7\u7EED\u7B49\u5F85\u7EC8\u6001` : "");
|
|
24701
|
+
lastMessageAt = now;
|
|
24702
|
+
}
|
|
24703
|
+
return { verdict: "wait", progress: elapsedSeconds, details: { message } };
|
|
24666
24704
|
} catch {
|
|
24667
24705
|
return { verdict: "return", result: unreadableBacktestStateError(runId) };
|
|
24668
24706
|
}
|
|
@@ -24702,7 +24740,8 @@ async function runWaitLoop(lane, client, timeout, session, control) {
|
|
|
24702
24740
|
const tick = lane.tick(base);
|
|
24703
24741
|
if (tick.verdict === "return") return tick.result;
|
|
24704
24742
|
try {
|
|
24705
|
-
control.heartbeat?.(tick.progress);
|
|
24743
|
+
if (tick.details) control.heartbeat?.(tick.progress, tick.details);
|
|
24744
|
+
else control.heartbeat?.(tick.progress);
|
|
24706
24745
|
} catch {
|
|
24707
24746
|
}
|
|
24708
24747
|
if (control.abortSignal?.aborted) return waitError(10047, "\u5DF2\u53D6\u6D88\u7B49\u5F85\u3002");
|
|
@@ -24873,6 +24912,7 @@ function buildDataPrepInfo(codePath, data, resultBaseline, attemptStartedAtMs) {
|
|
|
24873
24912
|
const runResult = resultFile.data;
|
|
24874
24913
|
const info = {};
|
|
24875
24914
|
if (runResult.download_status !== void 0) info.download_status = runResult.download_status;
|
|
24915
|
+
if (runResult.download_progress !== void 0) info.download_progress = runResult.download_progress;
|
|
24876
24916
|
if (typeof runResult.download_message === "string") info.download_message = runResult.download_message;
|
|
24877
24917
|
if (typeof runResult.download_update_time === "string") {
|
|
24878
24918
|
info.download_update_time = runResult.download_update_time;
|
|
@@ -26736,7 +26776,7 @@ var RUNTIME_TOOLS = [
|
|
|
26736
26776
|
},
|
|
26737
26777
|
{
|
|
26738
26778
|
name: "zlt-runtime-doctor",
|
|
26739
|
-
description: "\u68C0\u67E5\u667A\u91CF\u901A\u672C\u5730 runtime
|
|
26779
|
+
description: "\u53EA\u8BFB\u68C0\u67E5\u667A\u91CF\u901A\u672C\u5730 runtime\u3001\u6295\u7814\u4F9D\u8D56\u3001ZLTAF \u7BA1\u9053\u548C API Key \u914D\u7F6E\u3002\u4EE5 overallReady/readiness\u3001auth \u548C recommendedAction \u5224\u65AD\u6574\u4F53\u72B6\u6001\uFF1BruntimeReady/backtestReady \u4EC5\u4E3A\u6587\u4EF6\u548C\u4F9D\u8D56\u517C\u5BB9\u5B57\u6BB5\u3002Key \u5DF2\u914D\u7F6E\u4E0D\u4EE3\u8868\u6709\u6548\uFF0C\u672C\u5DE5\u5177\u4E0D\u8FDC\u7A0B\u9A8C\u8BC1 Key\uFF1Bunverified \u65F6\u6309\u5F53\u524D\u4EFB\u52A1\u6388\u6743\u8FDB\u884C\u53EA\u8BFB\u4E1A\u52A1\u9A8C\u8BC1\uFF0C\u4E0D\u80FD\u56E0\u6B64\u53CD\u590D\u5B89\u88C5\u6216\u7981\u6B62\u5168\u90E8\u4E1A\u52A1\u3002\u7F3A\u5C11\u51ED\u636E\u65F6\u5F15\u5BFC\u7528\u6237\u672C\u673A\u914D\u7F6E\uFF0C\u4E0D\u5728\u804A\u5929\u4E2D\u7D22\u53D6 Key\u3002zltaf \u6765\u81EA\u6295\u7814\u6A21\u5757\u5305\uFF0C\u4E0D\u8981\u624B\u52A8\u521B\u5EFA\u76EE\u5F55\u3002",
|
|
26740
26780
|
inputSchema: {
|
|
26741
26781
|
type: "object",
|
|
26742
26782
|
properties: {},
|
|
@@ -27302,11 +27342,12 @@ async function waitForInstallTask(taskId, control, doctor) {
|
|
|
27302
27342
|
if (task.status === "completed") {
|
|
27303
27343
|
const doctorResult = await doctor(task.workRoot);
|
|
27304
27344
|
const ready = doctorResult.runtimeFilesComplete === true && doctorResult.backtestDependenciesComplete === true && doctorResult.ipcReachable === true;
|
|
27345
|
+
const sanitizedDoctor = sanitizeRuntimeDoctor(doctorResult);
|
|
27305
27346
|
return jsonToolResult(ready ? 0 : 10012, ready ? "" : "\u5B89\u88C5\u4EFB\u52A1\u5B8C\u6210\uFF0C\u4F46 runtime \u672A\u901A\u8FC7\u5C31\u7EEA\u68C0\u67E5\u3002", {
|
|
27306
27347
|
...task,
|
|
27307
27348
|
isTerminal: true,
|
|
27308
|
-
nextAction: ready ?
|
|
27309
|
-
doctor:
|
|
27349
|
+
nextAction: ready ? authNextAction(sanitizedDoctor.auth) : "repair-runtime",
|
|
27350
|
+
doctor: sanitizedDoctor
|
|
27310
27351
|
}, !ready);
|
|
27311
27352
|
}
|
|
27312
27353
|
if (task.status === "failed") return jsonToolResult(10012, task.error || "runtime \u5B89\u88C5\u5931\u8D25\u3002", { ...task, isTerminal: true, nextAction: "inspect-error" }, true);
|
|
@@ -27518,8 +27559,40 @@ function syncCredentialsFromEnvAtStartup() {
|
|
|
27518
27559
|
`);
|
|
27519
27560
|
}
|
|
27520
27561
|
}
|
|
27521
|
-
function
|
|
27522
|
-
|
|
27562
|
+
function inspectDoctorAuth() {
|
|
27563
|
+
try {
|
|
27564
|
+
const auth = getAuthStatus();
|
|
27565
|
+
const invalidFile = !auth.configured && fs14.existsSync(auth.credentialsPath);
|
|
27566
|
+
return {
|
|
27567
|
+
configured: auth.configured,
|
|
27568
|
+
status: auth.configured ? "configured" : invalidFile ? "invalid-config" : "missing",
|
|
27569
|
+
validation: "unverified",
|
|
27570
|
+
source: auth.source,
|
|
27571
|
+
credentialsPath: auth.credentialsPath
|
|
27572
|
+
};
|
|
27573
|
+
} catch (error2) {
|
|
27574
|
+
return {
|
|
27575
|
+
configured: null,
|
|
27576
|
+
status: error2 instanceof SyntaxError || error2 instanceof TypeError ? "invalid-config" : "unavailable",
|
|
27577
|
+
validation: "unknown",
|
|
27578
|
+
source: "unknown"
|
|
27579
|
+
};
|
|
27580
|
+
}
|
|
27581
|
+
}
|
|
27582
|
+
function authNextAction(auth) {
|
|
27583
|
+
return auth.status === "missing" || auth.status === "invalid-config" ? "configure-auth" : "verify-auth";
|
|
27584
|
+
}
|
|
27585
|
+
function getAuthRecommendedAction(auth) {
|
|
27586
|
+
if (authNextAction(auth) === "configure-auth") {
|
|
27587
|
+
return "Ask the user to create or repair credentials.json locally at the reported credentialsPath (default %USERPROFILE%\\.zltquant\\credentials.json), respecting ZLTQUANT_CREDENTIALS/ZLTQUANT_HOME; a trusted host may optionally inject ZLTQUANT_API_KEY. Never ask for the key in chat. Then rerun doctor.";
|
|
27588
|
+
}
|
|
27589
|
+
if (auth.status === "unavailable") {
|
|
27590
|
+
return "Credential inspection is unavailable; check local file access and host configuration. This does not prove the key is invalid. Rerun doctor after resolving the inspection failure.";
|
|
27591
|
+
}
|
|
27592
|
+
return "API Key is configured but has not been verified. Doctor performs no remote key validation and caches no authorization result. Use a read-only business request already authorized by the current task to verify access; unverified alone must not block all business requests or trigger runtime reinstall. Only an explicit authentication rejection establishes invalid credentials; network/service failures leave validity unknown. If rejected, ask the user to repair the key locally, never paste it in chat.";
|
|
27593
|
+
}
|
|
27594
|
+
function sanitizeRuntimeDoctor(value) {
|
|
27595
|
+
const doctor = isRecord2(value) ? value : {};
|
|
27523
27596
|
const dependency = isRecord2(doctor.dependency) ? doctor.dependency : {};
|
|
27524
27597
|
const assistant = isRecord2(doctor.assistant) ? doctor.assistant : {};
|
|
27525
27598
|
const runtimeFilesComplete = doctor.runtimeFilesComplete === true || assistant.complete === true;
|
|
@@ -27528,6 +27601,9 @@ function sanitizeRuntimeDoctor(doctor) {
|
|
|
27528
27601
|
const ipcReachable = doctor.ipcReachable === true;
|
|
27529
27602
|
const runtimeReady = runtimeFilesComplete;
|
|
27530
27603
|
const backtestReady = backtestDependenciesComplete;
|
|
27604
|
+
const auth = inspectDoctorAuth();
|
|
27605
|
+
const environmentReady = runtimeFilesComplete && backtestDependenciesComplete && ipcReachable;
|
|
27606
|
+
const readiness = !environmentReady || authNextAction(auth) === "configure-auth" ? "blocked" : auth.status === "unavailable" ? "unknown" : "unverified";
|
|
27531
27607
|
return {
|
|
27532
27608
|
platform: doctor.platform,
|
|
27533
27609
|
envMode: doctor.envMode,
|
|
@@ -27541,16 +27617,23 @@ function sanitizeRuntimeDoctor(doctor) {
|
|
|
27541
27617
|
backtestDependenciesComplete,
|
|
27542
27618
|
runtimeReady,
|
|
27543
27619
|
backtestReady,
|
|
27620
|
+
environmentReady,
|
|
27621
|
+
overallReady: false,
|
|
27622
|
+
readiness,
|
|
27623
|
+
auth,
|
|
27544
27624
|
assistant,
|
|
27545
27625
|
dependency,
|
|
27546
27626
|
zltFile: doctor.zltFile,
|
|
27547
27627
|
pipePath: doctor.pipePath,
|
|
27548
|
-
recommendedAction:
|
|
27628
|
+
recommendedAction: [
|
|
27629
|
+
environmentReady ? "" : getRuntimeRecommendedAction(runtimeReady, backtestReady, ipcReachable, installRootKnown),
|
|
27630
|
+
getAuthRecommendedAction(auth)
|
|
27631
|
+
].filter(Boolean).join(" ")
|
|
27549
27632
|
};
|
|
27550
27633
|
}
|
|
27551
27634
|
function getRuntimeRecommendedAction(runtimeReady, backtestReady, ipcReachable, installRootKnown) {
|
|
27552
|
-
if (ipcReachable) {
|
|
27553
|
-
return
|
|
27635
|
+
if (ipcReachable && !installRootKnown) {
|
|
27636
|
+
return "runtime IPC is reachable but local files/dependencies are not verified. Set ZLT_CLIENT_ROOT to the existing install root and rerun doctor before deciding on repair.";
|
|
27554
27637
|
}
|
|
27555
27638
|
if (!runtimeReady) {
|
|
27556
27639
|
return "call zlt-runtime-install with confirm=true to install the local backtest runtime";
|
|
@@ -27651,6 +27734,9 @@ Timeout or cancellation leaves the install outcome unknown; inspect before retry
|
|
|
27651
27734
|
Backtests: create-and-run/re-backtest keep the same MCP consumer until mcp-wait
|
|
27652
27735
|
returns a terminal state or requires action (such as no-progress). The JSON keeps
|
|
27653
27736
|
launch identity/configuration plus authoritative wait state. No detached keeper.
|
|
27737
|
+
Progress messages distinguish data preparation from strategy execution and report
|
|
27738
|
+
elapsed time and unchanged observations. Unchanged progress is not proof of failure.
|
|
27739
|
+
Read redirected stderr during background waits; do not restart on a progress warning.
|
|
27654
27740
|
If isTerminal=true, finalize that run directly; do not wait again. The total timeout
|
|
27655
27741
|
covers launch plus wait. Interrupted waits print backtest runId/codePath/attemptFence
|
|
27656
27742
|
for recovery; the runtime may stop when the host closes. Never restart automatically.
|
|
@@ -27675,7 +27761,7 @@ Credentials belong in the configured local credential store, never in arguments.
|
|
|
27675
27761
|
const maxTotalTimeoutMs = parseTimeoutOption(options.maxTotalTimeoutMs, "--max-total-timeout-ms");
|
|
27676
27762
|
const resultFile = options.outputJson === void 0 ? void 0 : path15.resolve(options.outputJson);
|
|
27677
27763
|
stage = "output_prepare";
|
|
27678
|
-
if (resultFile !== void 0) outputFd =
|
|
27764
|
+
if (resultFile !== void 0) outputFd = fs15.openSync(resultFile, "wx");
|
|
27679
27765
|
stage = "tool_call";
|
|
27680
27766
|
toolExecution = "unknown";
|
|
27681
27767
|
const result = await callMcpTool(tool, args, {
|
|
@@ -27690,8 +27776,8 @@ Credentials belong in the configured local credential store, never in arguments.
|
|
|
27690
27776
|
if (outputFd !== void 0 && resultFile !== void 0) {
|
|
27691
27777
|
stage = "output_write";
|
|
27692
27778
|
try {
|
|
27693
|
-
|
|
27694
|
-
|
|
27779
|
+
fs15.writeFileSync(outputFd, serialized, "utf-8");
|
|
27780
|
+
fs15.closeSync(outputFd);
|
|
27695
27781
|
outputFd = void 0;
|
|
27696
27782
|
} catch (error2) {
|
|
27697
27783
|
process.stdout.write(serialized);
|
|
@@ -27722,7 +27808,7 @@ Credentials belong in the configured local credential store, never in arguments.
|
|
|
27722
27808
|
`);
|
|
27723
27809
|
process.exitCode = 1;
|
|
27724
27810
|
} finally {
|
|
27725
|
-
if (outputFd !== void 0)
|
|
27811
|
+
if (outputFd !== void 0) fs15.closeSync(outputFd);
|
|
27726
27812
|
}
|
|
27727
27813
|
});
|
|
27728
27814
|
program2.command("list").description("List MCP tools exposed by the bundled server").option("--json", "Emit the complete tools/list response as JSON").option("--tool <name>", "Select one exact tool name; combine with --json for its complete schema").addHelpText("after", "\nReuse discovery within a task. Query one schema with list --tool <name> --json.\nUnknown names fail with exit code 1. Preserve stderr separately from JSON stdout.").action(async (options) => {
|
|
@@ -27811,7 +27897,7 @@ function resolveCliPackageProvenance() {
|
|
|
27811
27897
|
for (let depth = 0; depth < 6; depth += 1) {
|
|
27812
27898
|
const manifestPath = path15.join(current, "package.json");
|
|
27813
27899
|
try {
|
|
27814
|
-
const manifest = JSON.parse(
|
|
27900
|
+
const manifest = JSON.parse(fs15.readFileSync(manifestPath, "utf-8"));
|
|
27815
27901
|
if ((manifest.name === "@zltquant/zlt-mcp" || manifest.name === "zlt-mcp-proxy") && typeof manifest.version === "string") {
|
|
27816
27902
|
return { packageName: manifest.name, packageVersion: manifest.version };
|
|
27817
27903
|
}
|
|
@@ -27851,6 +27937,9 @@ function compactCliReceipt(tool, result, resultFile) {
|
|
|
27851
27937
|
"isTerminal",
|
|
27852
27938
|
"evidenceSource",
|
|
27853
27939
|
"failureCause",
|
|
27940
|
+
"retryableByAgent",
|
|
27941
|
+
"requiresUserAction",
|
|
27942
|
+
"waitStopped",
|
|
27854
27943
|
"nextAction",
|
|
27855
27944
|
"recommendedAction",
|
|
27856
27945
|
"error_code",
|