@cloudbase/cloudbase-mcp 2.21.1-beta.0 → 2.21.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/148.index.cjs +28 -31
- package/dist/880.index.cjs +5 -10
- package/dist/cli.cjs +2 -2
- package/dist/index.cjs +948 -788
- package/dist/index.d.ts +12 -1
- package/dist/index.js +106 -51
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -346,11 +346,10 @@ exports["default"] = ClassDatabase;
|
|
|
346
346
|
(__unused_webpack_module, exports) {
|
|
347
347
|
|
|
348
348
|
"use strict";
|
|
349
|
-
var __webpack_unused_export__;
|
|
350
349
|
|
|
351
350
|
//@ts-nocheck
|
|
352
351
|
// DO NOT EDIT THIS FILE, IT IS AUTO GENERATED BY build.ts
|
|
353
|
-
|
|
352
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
354
353
|
exports.parser = void 0;
|
|
355
354
|
/* parser generated by jison 0.4.18 */
|
|
356
355
|
/*
|
|
@@ -1540,7 +1539,7 @@ var parser = (function () {
|
|
|
1540
1539
|
})();
|
|
1541
1540
|
exports.parser = parser;
|
|
1542
1541
|
parser.parser = parser;
|
|
1543
|
-
|
|
1542
|
+
exports["default"] = parser;
|
|
1544
1543
|
|
|
1545
1544
|
|
|
1546
1545
|
/***/ },
|
|
@@ -2461,9 +2460,8 @@ CloudApiService.serviceCacheMap = {};
|
|
|
2461
2460
|
(__unused_webpack_module, exports) {
|
|
2462
2461
|
|
|
2463
2462
|
"use strict";
|
|
2464
|
-
var __webpack_unused_export__;
|
|
2465
2463
|
|
|
2466
|
-
|
|
2464
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2467
2465
|
class CloudBaseError extends Error {
|
|
2468
2466
|
constructor(message, options = {}) {
|
|
2469
2467
|
super();
|
|
@@ -3613,9 +3611,8 @@ __decorate([
|
|
|
3613
3611
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
3614
3612
|
|
|
3615
3613
|
"use strict";
|
|
3616
|
-
var __webpack_unused_export__;
|
|
3617
3614
|
|
|
3618
|
-
|
|
3615
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3619
3616
|
exports.BillingService = void 0;
|
|
3620
3617
|
const utils_1 = __webpack_require__(87911);
|
|
3621
3618
|
class BillingService {
|
|
@@ -4540,10 +4537,9 @@ function parseObjectToDiffConfigItem(data) {
|
|
|
4540
4537
|
(__unused_webpack_module, exports) {
|
|
4541
4538
|
|
|
4542
4539
|
"use strict";
|
|
4543
|
-
var __webpack_unused_export__;
|
|
4544
4540
|
|
|
4545
|
-
|
|
4546
|
-
exports.ReleaseTypeEnum =
|
|
4541
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4542
|
+
exports.ReleaseTypeEnum = exports.CloudrunServerType = void 0;
|
|
4547
4543
|
var CloudrunServerType;
|
|
4548
4544
|
(function (CloudrunServerType) {
|
|
4549
4545
|
/**
|
|
@@ -4554,7 +4550,7 @@ var CloudrunServerType;
|
|
|
4554
4550
|
* 容器型服务
|
|
4555
4551
|
*/
|
|
4556
4552
|
CloudrunServerType["Container"] = "container";
|
|
4557
|
-
})(CloudrunServerType || (
|
|
4553
|
+
})(CloudrunServerType || (exports.CloudrunServerType = CloudrunServerType = {}));
|
|
4558
4554
|
var ReleaseTypeEnum;
|
|
4559
4555
|
(function (ReleaseTypeEnum) {
|
|
4560
4556
|
/**
|
|
@@ -4574,9 +4570,8 @@ var ReleaseTypeEnum;
|
|
|
4574
4570
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
4575
4571
|
|
|
4576
4572
|
"use strict";
|
|
4577
|
-
var __webpack_unused_export__;
|
|
4578
4573
|
|
|
4579
|
-
|
|
4574
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4580
4575
|
exports.CommonService = void 0;
|
|
4581
4576
|
const utils_1 = __webpack_require__(87911);
|
|
4582
4577
|
const error_1 = __webpack_require__(38911);
|
|
@@ -4622,14 +4617,13 @@ exports.CommonService = CommonService;
|
|
|
4622
4617
|
(__unused_webpack_module, exports) {
|
|
4623
4618
|
|
|
4624
4619
|
"use strict";
|
|
4625
|
-
var __webpack_unused_export__;
|
|
4626
4620
|
|
|
4627
4621
|
// // cloudbase cli 配置的字段名
|
|
4628
4622
|
// export class ConfigItems {
|
|
4629
4623
|
// static credentail = 'credential'
|
|
4630
4624
|
// }
|
|
4631
|
-
|
|
4632
|
-
exports.SCF_TEMP_COS = exports.COS_SDK_KEEPALIVE = exports.COS_SDK_PROTOCOL = exports.INTERNAL_ENDPOINT_REGION = exports.USE_INTERNAL_ENDPOINT = exports.SCF_STATUS =
|
|
4625
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4626
|
+
exports.SCF_TEMP_COS = exports.COS_SDK_KEEPALIVE = exports.COS_SDK_PROTOCOL = exports.INTERNAL_ENDPOINT_REGION = exports.USE_INTERNAL_ENDPOINT = exports.SCF_STATUS = exports.ROLE_NAME = exports.PUBLIC_RSA_KEY = exports.ERROR = exports.SERVICE_TYPE = exports.ENDPOINT = exports.RUN_ENV = exports.SDK_VERSION = exports.ENV_NAME = void 0;
|
|
4633
4627
|
exports.ENV_NAME = {
|
|
4634
4628
|
ENV_SECRETID: 'TENCENTCLOUD_SECRETID',
|
|
4635
4629
|
ENV_SECRETKEY: 'TENCENTCLOUD_SECRETKEY',
|
|
@@ -4638,17 +4632,17 @@ exports.ENV_NAME = {
|
|
|
4638
4632
|
ENV_RUNENV: 'TENCENTCLOUD_RUNENV',
|
|
4639
4633
|
ENV_RUNENV_SCF: 'TENCENTCLOUD_RUNENV=SCF'
|
|
4640
4634
|
};
|
|
4641
|
-
|
|
4635
|
+
exports.SDK_VERSION = 'TCB-NODE-MANAGER/1.0.O';
|
|
4642
4636
|
exports.RUN_ENV = {
|
|
4643
4637
|
SCF: 'SCF'
|
|
4644
4638
|
};
|
|
4645
|
-
|
|
4639
|
+
exports.ENDPOINT = {
|
|
4646
4640
|
TCB: 'tcb.tencentcloudapi.com',
|
|
4647
4641
|
SCF: 'scf.tencentcloudapi.com',
|
|
4648
4642
|
COS: 'cos.tencentcloudapi.com',
|
|
4649
4643
|
FLEXDB: 'flexdb.tencentcloudapi.com'
|
|
4650
4644
|
};
|
|
4651
|
-
|
|
4645
|
+
exports.SERVICE_TYPE = {
|
|
4652
4646
|
TCB: 'tcb'
|
|
4653
4647
|
};
|
|
4654
4648
|
exports.ERROR = {
|
|
@@ -4665,7 +4659,7 @@ bgILIJe9UB8e9dvFqgqH2oA8Vqwi0YqDcvFLFJk2BJbm/0QYtZ563FumW8LEXAgu
|
|
|
4665
4659
|
UeHi/0OZN9vQ33jWMQIDAQAB
|
|
4666
4660
|
-----END PUBLIC KEY-----
|
|
4667
4661
|
`;
|
|
4668
|
-
|
|
4662
|
+
exports.ROLE_NAME = {
|
|
4669
4663
|
TCB: 'TCB_QcsRole'
|
|
4670
4664
|
};
|
|
4671
4665
|
exports.SCF_STATUS = {
|
|
@@ -4705,9 +4699,8 @@ exports.SCF_TEMP_COS = {
|
|
|
4705
4699
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
4706
4700
|
|
|
4707
4701
|
"use strict";
|
|
4708
|
-
var __webpack_unused_export__;
|
|
4709
4702
|
|
|
4710
|
-
|
|
4703
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4711
4704
|
exports.CloudBaseContext = void 0;
|
|
4712
4705
|
const constant_1 = __webpack_require__(12777);
|
|
4713
4706
|
class CloudBaseContext {
|
|
@@ -5105,9 +5098,8 @@ __decorate([
|
|
|
5105
5098
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
5106
5099
|
|
|
5107
5100
|
"use strict";
|
|
5108
|
-
var __webpack_unused_export__;
|
|
5109
5101
|
|
|
5110
|
-
|
|
5102
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5111
5103
|
exports.DocsService = void 0;
|
|
5112
5104
|
const http_request_1 = __webpack_require__(39419);
|
|
5113
5105
|
const DOCS_BASE_URL = 'https://docs.cloudbase.net';
|
|
@@ -5420,7 +5412,7 @@ const error_1 = __webpack_require__(38911);
|
|
|
5420
5412
|
const utils_1 = __webpack_require__(87911);
|
|
5421
5413
|
const constant_1 = __webpack_require__(12777);
|
|
5422
5414
|
const billing_1 = __webpack_require__(87617);
|
|
5423
|
-
const uuid_1 = __webpack_require__(
|
|
5415
|
+
const uuid_1 = __webpack_require__(79893);
|
|
5424
5416
|
class EnvService {
|
|
5425
5417
|
constructor(environment) {
|
|
5426
5418
|
this.environment = environment;
|
|
@@ -6261,9 +6253,8 @@ __decorate([
|
|
|
6261
6253
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
6262
6254
|
|
|
6263
6255
|
"use strict";
|
|
6264
|
-
var __webpack_unused_export__;
|
|
6265
6256
|
|
|
6266
|
-
|
|
6257
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6267
6258
|
exports.Environment = void 0;
|
|
6268
6259
|
const database_1 = __webpack_require__(20183);
|
|
6269
6260
|
const function_1 = __webpack_require__(4638);
|
|
@@ -6435,9 +6426,8 @@ exports.Environment = Environment;
|
|
|
6435
6426
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
6436
6427
|
|
|
6437
6428
|
"use strict";
|
|
6438
|
-
var __webpack_unused_export__;
|
|
6439
6429
|
|
|
6440
|
-
|
|
6430
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6441
6431
|
exports.EnvironmentManager = void 0;
|
|
6442
6432
|
const environment_1 = __webpack_require__(90944);
|
|
6443
6433
|
const constant_1 = __webpack_require__(12777);
|
|
@@ -6488,9 +6478,8 @@ exports.EnvironmentManager = EnvironmentManager;
|
|
|
6488
6478
|
(__unused_webpack_module, exports) {
|
|
6489
6479
|
|
|
6490
6480
|
"use strict";
|
|
6491
|
-
var __webpack_unused_export__;
|
|
6492
6481
|
|
|
6493
|
-
|
|
6482
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6494
6483
|
exports.CloudBaseError = void 0;
|
|
6495
6484
|
class CloudBaseError extends Error {
|
|
6496
6485
|
constructor(message, options = {}) {
|
|
@@ -10309,9 +10298,8 @@ __decorate([
|
|
|
10309
10298
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
10310
10299
|
|
|
10311
10300
|
"use strict";
|
|
10312
|
-
var __webpack_unused_export__;
|
|
10313
10301
|
|
|
10314
|
-
|
|
10302
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
10315
10303
|
exports.SandboxService = void 0;
|
|
10316
10304
|
const utils_1 = __webpack_require__(87911);
|
|
10317
10305
|
class SandboxService {
|
|
@@ -13759,9 +13747,8 @@ __decorate([
|
|
|
13759
13747
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
13760
13748
|
|
|
13761
13749
|
"use strict";
|
|
13762
|
-
var __webpack_unused_export__;
|
|
13763
13750
|
|
|
13764
|
-
|
|
13751
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13765
13752
|
exports.ThirdService = void 0;
|
|
13766
13753
|
const utils_1 = __webpack_require__(87911);
|
|
13767
13754
|
class ThirdService {
|
|
@@ -15042,9 +15029,8 @@ function successLog(msg) {
|
|
|
15042
15029
|
(__unused_webpack_module, exports) {
|
|
15043
15030
|
|
|
15044
15031
|
"use strict";
|
|
15045
|
-
var __webpack_unused_export__;
|
|
15046
15032
|
|
|
15047
|
-
|
|
15033
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15048
15034
|
exports.AsyncTaskParallelController = void 0;
|
|
15049
15035
|
/**
|
|
15050
15036
|
* 异步任务并发控制器,以一定的并发数执行所有任务
|
|
@@ -15120,9 +15106,8 @@ exports.AsyncTaskParallelController = AsyncTaskParallelController;
|
|
|
15120
15106
|
(__unused_webpack_module, exports) {
|
|
15121
15107
|
|
|
15122
15108
|
"use strict";
|
|
15123
|
-
var __webpack_unused_export__;
|
|
15124
15109
|
|
|
15125
|
-
|
|
15110
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
15126
15111
|
exports.checkIsInScf = checkIsInScf;
|
|
15127
15112
|
function checkIsInScf() {
|
|
15128
15113
|
// TENCENTCLOUD_RUNENV
|
|
@@ -17693,9 +17678,8 @@ exports.getDirectorySync = getDirectorySync;
|
|
|
17693
17678
|
(__unused_webpack_module, exports) {
|
|
17694
17679
|
|
|
17695
17680
|
"use strict";
|
|
17696
|
-
var __webpack_unused_export__;
|
|
17697
17681
|
|
|
17698
|
-
|
|
17682
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17699
17683
|
exports.getPropertyByPath = void 0;
|
|
17700
17684
|
// Resolves property names or property paths defined with period-delimited
|
|
17701
17685
|
// strings or arrays of strings. Property names that are found on the source
|
|
@@ -17993,9 +17977,8 @@ exports.getRegion = getRegion;
|
|
|
17993
17977
|
(__unused_webpack_module, exports) {
|
|
17994
17978
|
|
|
17995
17979
|
"use strict";
|
|
17996
|
-
var __webpack_unused_export__;
|
|
17997
17980
|
|
|
17998
|
-
|
|
17981
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
17999
17982
|
exports.REQUEST_TIMEOUT = void 0;
|
|
18000
17983
|
exports.REQUEST_TIMEOUT = 15000;
|
|
18001
17984
|
|
|
@@ -18215,10 +18198,9 @@ exports.delSync = delSync;
|
|
|
18215
18198
|
(__unused_webpack_module, exports) {
|
|
18216
18199
|
|
|
18217
18200
|
"use strict";
|
|
18218
|
-
var __webpack_unused_export__;
|
|
18219
18201
|
|
|
18220
|
-
|
|
18221
|
-
exports.getHTML = exports.
|
|
18202
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
18203
|
+
exports.getHTML = exports.html = void 0;
|
|
18222
18204
|
const getDataFail = `<!DOCTYPE html>
|
|
18223
18205
|
<html>
|
|
18224
18206
|
<head>
|
|
@@ -18570,15 +18552,15 @@ const loginSuccess = `<!DOCTYPE html>
|
|
|
18570
18552
|
</div>
|
|
18571
18553
|
</body>
|
|
18572
18554
|
</html>`;
|
|
18573
|
-
exports.
|
|
18555
|
+
exports.html = {
|
|
18574
18556
|
getDataFail,
|
|
18575
18557
|
getDataSuccess,
|
|
18576
18558
|
loginFail,
|
|
18577
18559
|
loginSuccess
|
|
18578
18560
|
};
|
|
18579
18561
|
function getHTML(type) {
|
|
18580
|
-
if (type in exports.
|
|
18581
|
-
return exports.
|
|
18562
|
+
if (type in exports.html) {
|
|
18563
|
+
return exports.html[type];
|
|
18582
18564
|
}
|
|
18583
18565
|
throw new Error(`html ${type} not found`);
|
|
18584
18566
|
}
|
|
@@ -21015,12 +20997,11 @@ module.exports = diagnostics;
|
|
|
21015
20997
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21016
20998
|
|
|
21017
20999
|
"use strict";
|
|
21018
|
-
var __webpack_unused_export__;
|
|
21019
21000
|
|
|
21020
|
-
|
|
21021
|
-
exports.createFileSystemAdapter = exports.
|
|
21001
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21002
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
21022
21003
|
const fs = __webpack_require__(29021);
|
|
21023
|
-
exports.
|
|
21004
|
+
exports.FILE_SYSTEM_ADAPTER = {
|
|
21024
21005
|
lstat: fs.lstat,
|
|
21025
21006
|
stat: fs.stat,
|
|
21026
21007
|
lstatSync: fs.lstatSync,
|
|
@@ -21030,9 +21011,9 @@ exports.v = {
|
|
|
21030
21011
|
};
|
|
21031
21012
|
function createFileSystemAdapter(fsMethods) {
|
|
21032
21013
|
if (fsMethods === undefined) {
|
|
21033
|
-
return exports.
|
|
21014
|
+
return exports.FILE_SYSTEM_ADAPTER;
|
|
21034
21015
|
}
|
|
21035
|
-
return Object.assign(Object.assign({}, exports.
|
|
21016
|
+
return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
|
|
21036
21017
|
}
|
|
21037
21018
|
exports.createFileSystemAdapter = createFileSystemAdapter;
|
|
21038
21019
|
|
|
@@ -21043,9 +21024,8 @@ exports.createFileSystemAdapter = createFileSystemAdapter;
|
|
|
21043
21024
|
(__unused_webpack_module, exports) {
|
|
21044
21025
|
|
|
21045
21026
|
"use strict";
|
|
21046
|
-
var __webpack_unused_export__;
|
|
21047
21027
|
|
|
21048
|
-
|
|
21028
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21049
21029
|
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
21050
21030
|
const NODE_PROCESS_VERSION_PARTS = process.versions.node.split('.');
|
|
21051
21031
|
if (NODE_PROCESS_VERSION_PARTS[0] === undefined || NODE_PROCESS_VERSION_PARTS[1] === undefined) {
|
|
@@ -21069,9 +21049,8 @@ exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = IS_MATCHED_BY_MAJOR || IS_MATCHED_B
|
|
|
21069
21049
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21070
21050
|
|
|
21071
21051
|
"use strict";
|
|
21072
|
-
var __webpack_unused_export__;
|
|
21073
21052
|
|
|
21074
|
-
|
|
21053
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21075
21054
|
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
21076
21055
|
const async = __webpack_require__(57839);
|
|
21077
21056
|
const sync = __webpack_require__(8868);
|
|
@@ -21104,10 +21083,9 @@ function getSettings(settingsOrOptions = {}) {
|
|
|
21104
21083
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21105
21084
|
|
|
21106
21085
|
"use strict";
|
|
21107
|
-
var __webpack_unused_export__;
|
|
21108
21086
|
|
|
21109
|
-
|
|
21110
|
-
|
|
21087
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21088
|
+
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
21111
21089
|
const fsStat = __webpack_require__(69651);
|
|
21112
21090
|
const rpl = __webpack_require__(60896);
|
|
21113
21091
|
const constants_1 = __webpack_require__(40051);
|
|
@@ -21146,7 +21124,7 @@ function readdirWithFileTypes(directory, settings, callback) {
|
|
|
21146
21124
|
});
|
|
21147
21125
|
});
|
|
21148
21126
|
}
|
|
21149
|
-
|
|
21127
|
+
exports.readdirWithFileTypes = readdirWithFileTypes;
|
|
21150
21128
|
function makeRplTaskEntry(entry, settings) {
|
|
21151
21129
|
return (done) => {
|
|
21152
21130
|
if (!entry.dirent.isSymbolicLink()) {
|
|
@@ -21202,7 +21180,7 @@ function readdir(directory, settings, callback) {
|
|
|
21202
21180
|
});
|
|
21203
21181
|
});
|
|
21204
21182
|
}
|
|
21205
|
-
|
|
21183
|
+
exports.readdir = readdir;
|
|
21206
21184
|
function callFailureCallback(callback, error) {
|
|
21207
21185
|
callback(error);
|
|
21208
21186
|
}
|
|
@@ -21217,9 +21195,8 @@ function callSuccessCallback(callback, result) {
|
|
|
21217
21195
|
(__unused_webpack_module, exports) {
|
|
21218
21196
|
|
|
21219
21197
|
"use strict";
|
|
21220
|
-
var __webpack_unused_export__;
|
|
21221
21198
|
|
|
21222
|
-
|
|
21199
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21223
21200
|
exports.joinPathSegments = void 0;
|
|
21224
21201
|
function joinPathSegments(a, b, separator) {
|
|
21225
21202
|
/**
|
|
@@ -21239,10 +21216,9 @@ exports.joinPathSegments = joinPathSegments;
|
|
|
21239
21216
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21240
21217
|
|
|
21241
21218
|
"use strict";
|
|
21242
|
-
var __webpack_unused_export__;
|
|
21243
21219
|
|
|
21244
|
-
|
|
21245
|
-
|
|
21220
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21221
|
+
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
21246
21222
|
const fsStat = __webpack_require__(69651);
|
|
21247
21223
|
const constants_1 = __webpack_require__(40051);
|
|
21248
21224
|
const utils = __webpack_require__(83436);
|
|
@@ -21276,7 +21252,7 @@ function readdirWithFileTypes(directory, settings) {
|
|
|
21276
21252
|
return entry;
|
|
21277
21253
|
});
|
|
21278
21254
|
}
|
|
21279
|
-
|
|
21255
|
+
exports.readdirWithFileTypes = readdirWithFileTypes;
|
|
21280
21256
|
function readdir(directory, settings) {
|
|
21281
21257
|
const names = settings.fs.readdirSync(directory);
|
|
21282
21258
|
return names.map((name) => {
|
|
@@ -21293,7 +21269,7 @@ function readdir(directory, settings) {
|
|
|
21293
21269
|
return entry;
|
|
21294
21270
|
});
|
|
21295
21271
|
}
|
|
21296
|
-
|
|
21272
|
+
exports.readdir = readdir;
|
|
21297
21273
|
|
|
21298
21274
|
|
|
21299
21275
|
/***/ },
|
|
@@ -21302,9 +21278,8 @@ __webpack_unused_export__ = readdir;
|
|
|
21302
21278
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21303
21279
|
|
|
21304
21280
|
"use strict";
|
|
21305
|
-
var __webpack_unused_export__;
|
|
21306
21281
|
|
|
21307
|
-
|
|
21282
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21308
21283
|
const path = __webpack_require__(33873);
|
|
21309
21284
|
const fsStat = __webpack_require__(69651);
|
|
21310
21285
|
const fs = __webpack_require__(93220);
|
|
@@ -21362,9 +21337,8 @@ exports.createDirentFromStats = createDirentFromStats;
|
|
|
21362
21337
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21363
21338
|
|
|
21364
21339
|
"use strict";
|
|
21365
|
-
var __webpack_unused_export__;
|
|
21366
21340
|
|
|
21367
|
-
|
|
21341
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21368
21342
|
exports.fs = void 0;
|
|
21369
21343
|
const fs = __webpack_require__(77813);
|
|
21370
21344
|
exports.fs = fs;
|
|
@@ -21376,12 +21350,11 @@ exports.fs = fs;
|
|
|
21376
21350
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21377
21351
|
|
|
21378
21352
|
"use strict";
|
|
21379
|
-
var __webpack_unused_export__;
|
|
21380
21353
|
|
|
21381
|
-
|
|
21382
|
-
exports.createFileSystemAdapter = exports.
|
|
21354
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21355
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
21383
21356
|
const fs = __webpack_require__(29021);
|
|
21384
|
-
exports.
|
|
21357
|
+
exports.FILE_SYSTEM_ADAPTER = {
|
|
21385
21358
|
lstat: fs.lstat,
|
|
21386
21359
|
stat: fs.stat,
|
|
21387
21360
|
lstatSync: fs.lstatSync,
|
|
@@ -21389,9 +21362,9 @@ exports.v = {
|
|
|
21389
21362
|
};
|
|
21390
21363
|
function createFileSystemAdapter(fsMethods) {
|
|
21391
21364
|
if (fsMethods === undefined) {
|
|
21392
|
-
return exports.
|
|
21365
|
+
return exports.FILE_SYSTEM_ADAPTER;
|
|
21393
21366
|
}
|
|
21394
|
-
return Object.assign(Object.assign({}, exports.
|
|
21367
|
+
return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
|
|
21395
21368
|
}
|
|
21396
21369
|
exports.createFileSystemAdapter = createFileSystemAdapter;
|
|
21397
21370
|
|
|
@@ -21402,9 +21375,8 @@ exports.createFileSystemAdapter = createFileSystemAdapter;
|
|
|
21402
21375
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21403
21376
|
|
|
21404
21377
|
"use strict";
|
|
21405
|
-
var __webpack_unused_export__;
|
|
21406
21378
|
|
|
21407
|
-
|
|
21379
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21408
21380
|
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
21409
21381
|
const async = __webpack_require__(11074);
|
|
21410
21382
|
const sync = __webpack_require__(36407);
|
|
@@ -21437,9 +21409,8 @@ function getSettings(settingsOrOptions = {}) {
|
|
|
21437
21409
|
(__unused_webpack_module, exports) {
|
|
21438
21410
|
|
|
21439
21411
|
"use strict";
|
|
21440
|
-
var __webpack_unused_export__;
|
|
21441
21412
|
|
|
21442
|
-
|
|
21413
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21443
21414
|
exports.read = void 0;
|
|
21444
21415
|
function read(path, settings, callback) {
|
|
21445
21416
|
settings.fs.lstat(path, (lstatError, lstat) => {
|
|
@@ -21482,9 +21453,8 @@ function callSuccessCallback(callback, result) {
|
|
|
21482
21453
|
(__unused_webpack_module, exports) {
|
|
21483
21454
|
|
|
21484
21455
|
"use strict";
|
|
21485
|
-
var __webpack_unused_export__;
|
|
21486
21456
|
|
|
21487
|
-
|
|
21457
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21488
21458
|
exports.read = void 0;
|
|
21489
21459
|
function read(path, settings) {
|
|
21490
21460
|
const lstat = settings.fs.lstatSync(path);
|
|
@@ -21514,9 +21484,8 @@ exports.read = read;
|
|
|
21514
21484
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21515
21485
|
|
|
21516
21486
|
"use strict";
|
|
21517
|
-
var __webpack_unused_export__;
|
|
21518
21487
|
|
|
21519
|
-
|
|
21488
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21520
21489
|
const fs = __webpack_require__(29469);
|
|
21521
21490
|
class Settings {
|
|
21522
21491
|
constructor(_options = {}) {
|
|
@@ -21539,15 +21508,14 @@ exports["default"] = Settings;
|
|
|
21539
21508
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21540
21509
|
|
|
21541
21510
|
"use strict";
|
|
21542
|
-
var __webpack_unused_export__;
|
|
21543
21511
|
|
|
21544
|
-
|
|
21545
|
-
|
|
21512
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21513
|
+
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
21546
21514
|
const async_1 = __webpack_require__(2926);
|
|
21547
21515
|
const stream_1 = __webpack_require__(15392);
|
|
21548
21516
|
const sync_1 = __webpack_require__(72187);
|
|
21549
21517
|
const settings_1 = __webpack_require__(12530);
|
|
21550
|
-
|
|
21518
|
+
exports.Settings = settings_1.default;
|
|
21551
21519
|
function walk(directory, optionsOrSettingsOrCallback, callback) {
|
|
21552
21520
|
if (typeof optionsOrSettingsOrCallback === 'function') {
|
|
21553
21521
|
new async_1.default(directory, getSettings()).read(optionsOrSettingsOrCallback);
|
|
@@ -21582,9 +21550,8 @@ function getSettings(settingsOrOptions = {}) {
|
|
|
21582
21550
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21583
21551
|
|
|
21584
21552
|
"use strict";
|
|
21585
|
-
var __webpack_unused_export__;
|
|
21586
21553
|
|
|
21587
|
-
|
|
21554
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21588
21555
|
const async_1 = __webpack_require__(18472);
|
|
21589
21556
|
class AsyncProvider {
|
|
21590
21557
|
constructor(_root, _settings) {
|
|
@@ -21621,9 +21588,8 @@ function callSuccessCallback(callback, entries) {
|
|
|
21621
21588
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21622
21589
|
|
|
21623
21590
|
"use strict";
|
|
21624
|
-
var __webpack_unused_export__;
|
|
21625
21591
|
|
|
21626
|
-
|
|
21592
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21627
21593
|
const stream_1 = __webpack_require__(27910);
|
|
21628
21594
|
const async_1 = __webpack_require__(18472);
|
|
21629
21595
|
class StreamProvider {
|
|
@@ -21664,9 +21630,8 @@ exports["default"] = StreamProvider;
|
|
|
21664
21630
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21665
21631
|
|
|
21666
21632
|
"use strict";
|
|
21667
|
-
var __webpack_unused_export__;
|
|
21668
21633
|
|
|
21669
|
-
|
|
21634
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21670
21635
|
const sync_1 = __webpack_require__(47065);
|
|
21671
21636
|
class SyncProvider {
|
|
21672
21637
|
constructor(_root, _settings) {
|
|
@@ -21687,9 +21652,8 @@ exports["default"] = SyncProvider;
|
|
|
21687
21652
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21688
21653
|
|
|
21689
21654
|
"use strict";
|
|
21690
|
-
var __webpack_unused_export__;
|
|
21691
21655
|
|
|
21692
|
-
|
|
21656
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21693
21657
|
const events_1 = __webpack_require__(94735);
|
|
21694
21658
|
const fsScandir = __webpack_require__(46114);
|
|
21695
21659
|
const fastq = __webpack_require__(34387);
|
|
@@ -21793,9 +21757,8 @@ exports["default"] = AsyncReader;
|
|
|
21793
21757
|
(__unused_webpack_module, exports) {
|
|
21794
21758
|
|
|
21795
21759
|
"use strict";
|
|
21796
|
-
var __webpack_unused_export__;
|
|
21797
21760
|
|
|
21798
|
-
|
|
21761
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21799
21762
|
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
21800
21763
|
function isFatalError(settings, error) {
|
|
21801
21764
|
if (settings.errorFilter === null) {
|
|
@@ -21833,9 +21796,8 @@ exports.joinPathSegments = joinPathSegments;
|
|
|
21833
21796
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21834
21797
|
|
|
21835
21798
|
"use strict";
|
|
21836
|
-
var __webpack_unused_export__;
|
|
21837
21799
|
|
|
21838
|
-
|
|
21800
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21839
21801
|
const common = __webpack_require__(30839);
|
|
21840
21802
|
class Reader {
|
|
21841
21803
|
constructor(_root, _settings) {
|
|
@@ -21853,9 +21815,8 @@ exports["default"] = Reader;
|
|
|
21853
21815
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21854
21816
|
|
|
21855
21817
|
"use strict";
|
|
21856
|
-
var __webpack_unused_export__;
|
|
21857
21818
|
|
|
21858
|
-
|
|
21819
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21859
21820
|
const fsScandir = __webpack_require__(46114);
|
|
21860
21821
|
const common = __webpack_require__(30839);
|
|
21861
21822
|
const reader_1 = __webpack_require__(30909);
|
|
@@ -21921,9 +21882,8 @@ exports["default"] = SyncReader;
|
|
|
21921
21882
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
21922
21883
|
|
|
21923
21884
|
"use strict";
|
|
21924
|
-
var __webpack_unused_export__;
|
|
21925
21885
|
|
|
21926
|
-
|
|
21886
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
21927
21887
|
const path = __webpack_require__(33873);
|
|
21928
21888
|
const fsScandir = __webpack_require__(46114);
|
|
21929
21889
|
class Settings {
|
|
@@ -25814,9 +25774,8 @@ module.exports = AggregateError;
|
|
|
25814
25774
|
(__unused_webpack_module, exports) {
|
|
25815
25775
|
|
|
25816
25776
|
"use strict";
|
|
25817
|
-
var __webpack_unused_export__;
|
|
25818
25777
|
|
|
25819
|
-
|
|
25778
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25820
25779
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
25821
25780
|
function fmtDef(validate, compare) {
|
|
25822
25781
|
return { validate, compare };
|
|
@@ -26008,10 +25967,9 @@ module.exports["default"] = formatsPlugin;
|
|
|
26008
25967
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
26009
25968
|
|
|
26010
25969
|
"use strict";
|
|
26011
|
-
var __webpack_unused_export__;
|
|
26012
25970
|
|
|
26013
|
-
|
|
26014
|
-
exports.
|
|
25971
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
25972
|
+
exports.formatLimitDefinition = void 0;
|
|
26015
25973
|
const context_1 = __webpack_require__(634);
|
|
26016
25974
|
const codegen_1 = __webpack_require__(5603);
|
|
26017
25975
|
const ops = codegen_1.operators;
|
|
@@ -26025,7 +25983,7 @@ const error = {
|
|
|
26025
25983
|
message: ({ keyword, schemaCode }) => codegen_1.str `should be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
26026
25984
|
params: ({ keyword, schemaCode }) => codegen_1._ `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,
|
|
26027
25985
|
};
|
|
26028
|
-
exports.
|
|
25986
|
+
exports.formatLimitDefinition = {
|
|
26029
25987
|
keyword: Object.keys(KWDs),
|
|
26030
25988
|
type: "string",
|
|
26031
25989
|
schemaType: "string",
|
|
@@ -26073,7 +26031,7 @@ exports.A = {
|
|
|
26073
26031
|
dependencies: ["format"],
|
|
26074
26032
|
};
|
|
26075
26033
|
const formatLimitPlugin = (ajv) => {
|
|
26076
|
-
ajv.addKeyword(exports.
|
|
26034
|
+
ajv.addKeyword(exports.formatLimitDefinition);
|
|
26077
26035
|
return ajv;
|
|
26078
26036
|
};
|
|
26079
26037
|
exports["default"] = formatLimitPlugin;
|
|
@@ -31678,19 +31636,18 @@ function validateKeyword(definition, throwError) {
|
|
|
31678
31636
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
31679
31637
|
|
|
31680
31638
|
"use strict";
|
|
31681
|
-
var __webpack_unused_export__;
|
|
31682
31639
|
|
|
31683
|
-
|
|
31684
|
-
|
|
31640
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
31641
|
+
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
31685
31642
|
const context_1 = __webpack_require__(634);
|
|
31686
|
-
|
|
31643
|
+
exports.KeywordCxt = context_1.default;
|
|
31687
31644
|
var codegen_1 = __webpack_require__(5603);
|
|
31688
|
-
|
|
31689
|
-
|
|
31690
|
-
|
|
31691
|
-
|
|
31692
|
-
|
|
31693
|
-
|
|
31645
|
+
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
|
|
31646
|
+
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
|
|
31647
|
+
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
|
|
31648
|
+
Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } }));
|
|
31649
|
+
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } }));
|
|
31650
|
+
Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } }));
|
|
31694
31651
|
const core_1 = __webpack_require__(58556);
|
|
31695
31652
|
const draft7_1 = __webpack_require__(86394);
|
|
31696
31653
|
const draft7MetaSchema = __webpack_require__(25845);
|
|
@@ -32728,10 +32685,9 @@ exports.ValueScope = ValueScope;
|
|
|
32728
32685
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
32729
32686
|
|
|
32730
32687
|
"use strict";
|
|
32731
|
-
var __webpack_unused_export__;
|
|
32732
32688
|
|
|
32733
|
-
|
|
32734
|
-
|
|
32689
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
32690
|
+
exports.getData = void 0;
|
|
32735
32691
|
const dataType_1 = __webpack_require__(50838);
|
|
32736
32692
|
const util_1 = __webpack_require__(95325);
|
|
32737
32693
|
const errors_1 = __webpack_require__(79938);
|
|
@@ -32967,7 +32923,7 @@ function getData($data, { dataLevel, dataNames, dataPathArr }) {
|
|
|
32967
32923
|
return `Cannot access ${pointerType} ${up} levels up, current level is ${dataLevel}`;
|
|
32968
32924
|
}
|
|
32969
32925
|
}
|
|
32970
|
-
|
|
32926
|
+
exports.getData = getData;
|
|
32971
32927
|
//# sourceMappingURL=context.js.map
|
|
32972
32928
|
|
|
32973
32929
|
/***/ },
|
|
@@ -33008,13 +32964,12 @@ module.exports = {
|
|
|
33008
32964
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33009
32965
|
|
|
33010
32966
|
"use strict";
|
|
33011
|
-
var __webpack_unused_export__;
|
|
33012
32967
|
|
|
33013
|
-
|
|
33014
|
-
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.
|
|
32968
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
32969
|
+
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
33015
32970
|
const codegen_1 = __webpack_require__(5603);
|
|
33016
32971
|
const names_1 = __webpack_require__(92197);
|
|
33017
|
-
exports.
|
|
32972
|
+
exports.keywordError = {
|
|
33018
32973
|
message: ({ keyword }) => codegen_1.str `should pass "${keyword}" keyword validation`,
|
|
33019
32974
|
};
|
|
33020
32975
|
exports.keyword$DataError = {
|
|
@@ -33022,7 +32977,7 @@ exports.keyword$DataError = {
|
|
|
33022
32977
|
? codegen_1.str `"${keyword}" keyword must be ${schemaType} ($data)`
|
|
33023
32978
|
: codegen_1.str `"${keyword}" keyword is invalid ($data)`,
|
|
33024
32979
|
};
|
|
33025
|
-
function reportError(cxt, error = exports.
|
|
32980
|
+
function reportError(cxt, error = exports.keywordError, overrideAllErrors) {
|
|
33026
32981
|
const { it } = cxt;
|
|
33027
32982
|
const { gen, compositeRule, allErrors } = it;
|
|
33028
32983
|
const errObj = errorObjectCode(cxt, error);
|
|
@@ -33034,7 +32989,7 @@ function reportError(cxt, error = exports.y, overrideAllErrors) {
|
|
|
33034
32989
|
}
|
|
33035
32990
|
}
|
|
33036
32991
|
exports.reportError = reportError;
|
|
33037
|
-
function reportExtraError(cxt, error = exports.
|
|
32992
|
+
function reportExtraError(cxt, error = exports.keywordError) {
|
|
33038
32993
|
const { it } = cxt;
|
|
33039
32994
|
const { gen, compositeRule, allErrors } = it;
|
|
33040
32995
|
const errObj = errorObjectCode(cxt, error);
|
|
@@ -33137,10 +33092,9 @@ function ajvErrorObject(cxt, error) {
|
|
|
33137
33092
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33138
33093
|
|
|
33139
33094
|
"use strict";
|
|
33140
|
-
var __webpack_unused_export__;
|
|
33141
33095
|
|
|
33142
|
-
|
|
33143
|
-
exports.resolveSchema =
|
|
33096
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33097
|
+
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
33144
33098
|
const codegen_1 = __webpack_require__(5603);
|
|
33145
33099
|
const error_classes_1 = __webpack_require__(20028);
|
|
33146
33100
|
const names_1 = __webpack_require__(92197);
|
|
@@ -33292,7 +33246,7 @@ function getCompilingSchema(schEnv) {
|
|
|
33292
33246
|
return sch;
|
|
33293
33247
|
}
|
|
33294
33248
|
}
|
|
33295
|
-
|
|
33249
|
+
exports.getCompilingSchema = getCompilingSchema;
|
|
33296
33250
|
function sameSchemaEnv(s1, s2) {
|
|
33297
33251
|
return s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;
|
|
33298
33252
|
}
|
|
@@ -33380,9 +33334,8 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) {
|
|
|
33380
33334
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33381
33335
|
|
|
33382
33336
|
"use strict";
|
|
33383
|
-
var __webpack_unused_export__;
|
|
33384
33337
|
|
|
33385
|
-
|
|
33338
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33386
33339
|
const codegen_1 = __webpack_require__(5603);
|
|
33387
33340
|
const names = {
|
|
33388
33341
|
// validation function arguments
|
|
@@ -33416,9 +33369,8 @@ exports["default"] = names;
|
|
|
33416
33369
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33417
33370
|
|
|
33418
33371
|
"use strict";
|
|
33419
|
-
var __webpack_unused_export__;
|
|
33420
33372
|
|
|
33421
|
-
|
|
33373
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33422
33374
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
33423
33375
|
const util_1 = __webpack_require__(95325);
|
|
33424
33376
|
const equal = __webpack_require__(7040);
|
|
@@ -33576,9 +33528,8 @@ exports.getSchemaRefs = getSchemaRefs;
|
|
|
33576
33528
|
(__unused_webpack_module, exports) {
|
|
33577
33529
|
|
|
33578
33530
|
"use strict";
|
|
33579
|
-
var __webpack_unused_export__;
|
|
33580
33531
|
|
|
33581
|
-
|
|
33532
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33582
33533
|
exports.getRules = exports.isJSONType = void 0;
|
|
33583
33534
|
const _jsonTypes = ["string", "number", "integer", "boolean", "null", "object", "array"];
|
|
33584
33535
|
const jsonTypes = new Set(_jsonTypes);
|
|
@@ -33610,9 +33561,8 @@ exports.getRules = getRules;
|
|
|
33610
33561
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33611
33562
|
|
|
33612
33563
|
"use strict";
|
|
33613
|
-
var __webpack_unused_export__;
|
|
33614
33564
|
|
|
33615
|
-
|
|
33565
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33616
33566
|
exports.applySubschema = exports.Type = void 0;
|
|
33617
33567
|
const validate_1 = __webpack_require__(40456);
|
|
33618
33568
|
const util_1 = __webpack_require__(95325);
|
|
@@ -33725,9 +33675,8 @@ function getErrorPath(dataProp, dataPropType, jsPropertySyntax) {
|
|
|
33725
33675
|
(__unused_webpack_module, exports) {
|
|
33726
33676
|
|
|
33727
33677
|
"use strict";
|
|
33728
|
-
var __webpack_unused_export__;
|
|
33729
33678
|
|
|
33730
|
-
|
|
33679
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33731
33680
|
// https://mathiasbynens.be/notes/javascript-encoding
|
|
33732
33681
|
// https://github.com/bestiejs/punycode.js - punycode.ucs2.decode
|
|
33733
33682
|
function ucs2length(str) {
|
|
@@ -33756,10 +33705,9 @@ exports["default"] = ucs2length;
|
|
|
33756
33705
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33757
33706
|
|
|
33758
33707
|
"use strict";
|
|
33759
|
-
var __webpack_unused_export__;
|
|
33760
33708
|
|
|
33761
|
-
|
|
33762
|
-
|
|
33709
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33710
|
+
exports.func = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
33763
33711
|
const codegen_1 = __webpack_require__(5603);
|
|
33764
33712
|
const validate_1 = __webpack_require__(40456);
|
|
33765
33713
|
// TODO refactor to use Set
|
|
@@ -33800,7 +33748,7 @@ function schemaHasRules(schema, rules) {
|
|
|
33800
33748
|
return true;
|
|
33801
33749
|
return false;
|
|
33802
33750
|
}
|
|
33803
|
-
|
|
33751
|
+
exports.schemaHasRules = schemaHasRules;
|
|
33804
33752
|
function schemaHasRulesButRef(schema, RULES) {
|
|
33805
33753
|
if (typeof schema == "boolean")
|
|
33806
33754
|
return !schema;
|
|
@@ -33896,14 +33844,14 @@ exports.evaluatedPropsToName = evaluatedPropsToName;
|
|
|
33896
33844
|
function setEvaluated(gen, props, ps) {
|
|
33897
33845
|
Object.keys(ps).forEach((p) => gen.assign(codegen_1._ `${props}${codegen_1.getProperty(p)}`, true));
|
|
33898
33846
|
}
|
|
33899
|
-
|
|
33847
|
+
exports.setEvaluated = setEvaluated;
|
|
33900
33848
|
function func(gen, f) {
|
|
33901
33849
|
return gen.scopeValue("func", {
|
|
33902
33850
|
ref: f,
|
|
33903
33851
|
code: f.code,
|
|
33904
33852
|
});
|
|
33905
33853
|
}
|
|
33906
|
-
|
|
33854
|
+
exports.func = func;
|
|
33907
33855
|
//# sourceMappingURL=util.js.map
|
|
33908
33856
|
|
|
33909
33857
|
/***/ },
|
|
@@ -33912,9 +33860,8 @@ __webpack_unused_export__ = func;
|
|
|
33912
33860
|
(__unused_webpack_module, exports) {
|
|
33913
33861
|
|
|
33914
33862
|
"use strict";
|
|
33915
|
-
var __webpack_unused_export__;
|
|
33916
33863
|
|
|
33917
|
-
|
|
33864
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33918
33865
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
33919
33866
|
function schemaHasRulesForType({ schema, self }, type) {
|
|
33920
33867
|
const group = self.RULES.types[type];
|
|
@@ -33939,9 +33886,8 @@ exports.shouldUseRule = shouldUseRule;
|
|
|
33939
33886
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33940
33887
|
|
|
33941
33888
|
"use strict";
|
|
33942
|
-
var __webpack_unused_export__;
|
|
33943
33889
|
|
|
33944
|
-
|
|
33890
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
33945
33891
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
33946
33892
|
const errors_1 = __webpack_require__(79938);
|
|
33947
33893
|
const codegen_1 = __webpack_require__(5603);
|
|
@@ -33997,9 +33943,8 @@ function falseSchemaError(it, overrideAllErrors) {
|
|
|
33997
33943
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
33998
33944
|
|
|
33999
33945
|
"use strict";
|
|
34000
|
-
var __webpack_unused_export__;
|
|
34001
33946
|
|
|
34002
|
-
|
|
33947
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34003
33948
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
34004
33949
|
const rules_1 = __webpack_require__(71458);
|
|
34005
33950
|
const applicability_1 = __webpack_require__(72081);
|
|
@@ -34207,9 +34152,8 @@ function getTypeErrorContext(it) {
|
|
|
34207
34152
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
34208
34153
|
|
|
34209
34154
|
"use strict";
|
|
34210
|
-
var __webpack_unused_export__;
|
|
34211
34155
|
|
|
34212
|
-
|
|
34156
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34213
34157
|
exports.assignDefaults = void 0;
|
|
34214
34158
|
const codegen_1 = __webpack_require__(5603);
|
|
34215
34159
|
const _1 = __webpack_require__(40456);
|
|
@@ -34250,10 +34194,9 @@ function assignDefault(it, prop, defaultValue) {
|
|
|
34250
34194
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
34251
34195
|
|
|
34252
34196
|
"use strict";
|
|
34253
|
-
var __webpack_unused_export__;
|
|
34254
34197
|
|
|
34255
|
-
|
|
34256
|
-
exports.checkStrictMode =
|
|
34198
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34199
|
+
exports.checkStrictMode = exports.schemaCxtHasRules = exports.subschemaCode = exports.validateFunctionCode = void 0;
|
|
34257
34200
|
const boolSchema_1 = __webpack_require__(87913);
|
|
34258
34201
|
const dataType_1 = __webpack_require__(50838);
|
|
34259
34202
|
const iterate_1 = __webpack_require__(52486);
|
|
@@ -34352,7 +34295,7 @@ function schemaCxtHasRules({ schema, self }) {
|
|
|
34352
34295
|
return true;
|
|
34353
34296
|
return false;
|
|
34354
34297
|
}
|
|
34355
|
-
|
|
34298
|
+
exports.schemaCxtHasRules = schemaCxtHasRules;
|
|
34356
34299
|
function isSchemaObj(it) {
|
|
34357
34300
|
return typeof it.schema != "boolean";
|
|
34358
34301
|
}
|
|
@@ -34445,9 +34388,8 @@ exports.checkStrictMode = checkStrictMode;
|
|
|
34445
34388
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
34446
34389
|
|
|
34447
34390
|
"use strict";
|
|
34448
|
-
var __webpack_unused_export__;
|
|
34449
34391
|
|
|
34450
|
-
|
|
34392
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34451
34393
|
exports.schemaKeywords = void 0;
|
|
34452
34394
|
const applicability_1 = __webpack_require__(72081);
|
|
34453
34395
|
const dataType_1 = __webpack_require__(50838);
|
|
@@ -34562,9 +34504,8 @@ function strictTypesError(it, msg) {
|
|
|
34562
34504
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
34563
34505
|
|
|
34564
34506
|
"use strict";
|
|
34565
|
-
var __webpack_unused_export__;
|
|
34566
34507
|
|
|
34567
|
-
|
|
34508
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34568
34509
|
exports.keywordCode = void 0;
|
|
34569
34510
|
const context_1 = __webpack_require__(634);
|
|
34570
34511
|
const errors_1 = __webpack_require__(79938);
|
|
@@ -34677,19 +34618,18 @@ function useKeyword(gen, keyword, result) {
|
|
|
34677
34618
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
34678
34619
|
|
|
34679
34620
|
"use strict";
|
|
34680
|
-
var __webpack_unused_export__;
|
|
34681
34621
|
|
|
34682
|
-
|
|
34683
|
-
|
|
34622
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
34623
|
+
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
34684
34624
|
const context_1 = __webpack_require__(634);
|
|
34685
|
-
|
|
34625
|
+
exports.KeywordCxt = context_1.default;
|
|
34686
34626
|
var codegen_1 = __webpack_require__(5603);
|
|
34687
|
-
|
|
34688
|
-
|
|
34689
|
-
|
|
34690
|
-
|
|
34691
|
-
|
|
34692
|
-
|
|
34627
|
+
Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
|
|
34628
|
+
Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
|
|
34629
|
+
Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
|
|
34630
|
+
Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } }));
|
|
34631
|
+
Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } }));
|
|
34632
|
+
Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } }));
|
|
34693
34633
|
const error_classes_1 = __webpack_require__(20028);
|
|
34694
34634
|
const rules_1 = __webpack_require__(71458);
|
|
34695
34635
|
const compile_1 = __webpack_require__(66669);
|
|
@@ -35276,9 +35216,8 @@ function schemaOrData(schema) {
|
|
|
35276
35216
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35277
35217
|
|
|
35278
35218
|
"use strict";
|
|
35279
|
-
var __webpack_unused_export__;
|
|
35280
35219
|
|
|
35281
|
-
|
|
35220
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35282
35221
|
const codegen_1 = __webpack_require__(5603);
|
|
35283
35222
|
const subschema_1 = __webpack_require__(79196);
|
|
35284
35223
|
const util_1 = __webpack_require__(95325);
|
|
@@ -35329,9 +35268,8 @@ exports["default"] = def;
|
|
|
35329
35268
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35330
35269
|
|
|
35331
35270
|
"use strict";
|
|
35332
|
-
var __webpack_unused_export__;
|
|
35333
35271
|
|
|
35334
|
-
|
|
35272
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35335
35273
|
const code_1 = __webpack_require__(40483);
|
|
35336
35274
|
const codegen_1 = __webpack_require__(5603);
|
|
35337
35275
|
const names_1 = __webpack_require__(92197);
|
|
@@ -35444,9 +35382,8 @@ exports["default"] = def;
|
|
|
35444
35382
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35445
35383
|
|
|
35446
35384
|
"use strict";
|
|
35447
|
-
var __webpack_unused_export__;
|
|
35448
35385
|
|
|
35449
|
-
|
|
35386
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35450
35387
|
const util_1 = __webpack_require__(95325);
|
|
35451
35388
|
const def = {
|
|
35452
35389
|
keyword: "allOf",
|
|
@@ -35475,9 +35412,8 @@ exports["default"] = def;
|
|
|
35475
35412
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35476
35413
|
|
|
35477
35414
|
"use strict";
|
|
35478
|
-
var __webpack_unused_export__;
|
|
35479
35415
|
|
|
35480
|
-
|
|
35416
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35481
35417
|
const code_1 = __webpack_require__(40483);
|
|
35482
35418
|
const def = {
|
|
35483
35419
|
keyword: "anyOf",
|
|
@@ -35497,9 +35433,8 @@ exports["default"] = def;
|
|
|
35497
35433
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35498
35434
|
|
|
35499
35435
|
"use strict";
|
|
35500
|
-
var __webpack_unused_export__;
|
|
35501
35436
|
|
|
35502
|
-
|
|
35437
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35503
35438
|
const codegen_1 = __webpack_require__(5603);
|
|
35504
35439
|
const subschema_1 = __webpack_require__(79196);
|
|
35505
35440
|
const util_1 = __webpack_require__(95325);
|
|
@@ -35594,14 +35529,13 @@ exports["default"] = def;
|
|
|
35594
35529
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35595
35530
|
|
|
35596
35531
|
"use strict";
|
|
35597
|
-
var __webpack_unused_export__;
|
|
35598
35532
|
|
|
35599
|
-
|
|
35600
|
-
|
|
35533
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35534
|
+
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
35601
35535
|
const codegen_1 = __webpack_require__(5603);
|
|
35602
35536
|
const util_1 = __webpack_require__(95325);
|
|
35603
35537
|
const code_1 = __webpack_require__(40483);
|
|
35604
|
-
exports.
|
|
35538
|
+
exports.error = {
|
|
35605
35539
|
message: ({ params: { property, depsCount, deps } }) => {
|
|
35606
35540
|
const property_ies = depsCount === 1 ? "property" : "properties";
|
|
35607
35541
|
return codegen_1.str `should have ${property_ies} ${deps} when property ${property} is present`;
|
|
@@ -35615,7 +35549,7 @@ const def = {
|
|
|
35615
35549
|
keyword: "dependencies",
|
|
35616
35550
|
type: "object",
|
|
35617
35551
|
schemaType: "object",
|
|
35618
|
-
error: exports.
|
|
35552
|
+
error: exports.error,
|
|
35619
35553
|
code(cxt) {
|
|
35620
35554
|
const [propDeps, schDeps] = splitDependencies(cxt);
|
|
35621
35555
|
validatePropertyDeps(cxt, propDeps);
|
|
@@ -35662,7 +35596,7 @@ function validatePropertyDeps(cxt, propertyDeps = cxt.schema) {
|
|
|
35662
35596
|
}
|
|
35663
35597
|
}
|
|
35664
35598
|
}
|
|
35665
|
-
|
|
35599
|
+
exports.validatePropertyDeps = validatePropertyDeps;
|
|
35666
35600
|
function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
|
|
35667
35601
|
const { gen, data, keyword, it } = cxt;
|
|
35668
35602
|
const valid = gen.name("valid");
|
|
@@ -35677,7 +35611,7 @@ function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
|
|
|
35677
35611
|
cxt.ok(valid);
|
|
35678
35612
|
}
|
|
35679
35613
|
}
|
|
35680
|
-
|
|
35614
|
+
exports.validateSchemaDeps = validateSchemaDeps;
|
|
35681
35615
|
exports["default"] = def;
|
|
35682
35616
|
//# sourceMappingURL=dependencies.js.map
|
|
35683
35617
|
|
|
@@ -35687,9 +35621,8 @@ exports["default"] = def;
|
|
|
35687
35621
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35688
35622
|
|
|
35689
35623
|
"use strict";
|
|
35690
|
-
var __webpack_unused_export__;
|
|
35691
35624
|
|
|
35692
|
-
|
|
35625
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35693
35626
|
const codegen_1 = __webpack_require__(5603);
|
|
35694
35627
|
const util_1 = __webpack_require__(95325);
|
|
35695
35628
|
const validate_1 = __webpack_require__(40456);
|
|
@@ -35762,9 +35695,8 @@ exports["default"] = def;
|
|
|
35762
35695
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35763
35696
|
|
|
35764
35697
|
"use strict";
|
|
35765
|
-
var __webpack_unused_export__;
|
|
35766
35698
|
|
|
35767
|
-
|
|
35699
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35768
35700
|
const additionalItems_1 = __webpack_require__(93971);
|
|
35769
35701
|
const items_1 = __webpack_require__(13120);
|
|
35770
35702
|
const contains_1 = __webpack_require__(11915);
|
|
@@ -35807,9 +35739,8 @@ exports["default"] = applicator;
|
|
|
35807
35739
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35808
35740
|
|
|
35809
35741
|
"use strict";
|
|
35810
|
-
var __webpack_unused_export__;
|
|
35811
35742
|
|
|
35812
|
-
|
|
35743
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35813
35744
|
const codegen_1 = __webpack_require__(5603);
|
|
35814
35745
|
const util_1 = __webpack_require__(95325);
|
|
35815
35746
|
const validate_1 = __webpack_require__(40456);
|
|
@@ -35866,9 +35797,8 @@ exports["default"] = def;
|
|
|
35866
35797
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35867
35798
|
|
|
35868
35799
|
"use strict";
|
|
35869
|
-
var __webpack_unused_export__;
|
|
35870
35800
|
|
|
35871
|
-
|
|
35801
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35872
35802
|
const util_1 = __webpack_require__(95325);
|
|
35873
35803
|
const def = {
|
|
35874
35804
|
keyword: "not",
|
|
@@ -35902,9 +35832,8 @@ exports["default"] = def;
|
|
|
35902
35832
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35903
35833
|
|
|
35904
35834
|
"use strict";
|
|
35905
|
-
var __webpack_unused_export__;
|
|
35906
35835
|
|
|
35907
|
-
|
|
35836
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35908
35837
|
const codegen_1 = __webpack_require__(5603);
|
|
35909
35838
|
const util_1 = __webpack_require__(95325);
|
|
35910
35839
|
const error = {
|
|
@@ -35968,9 +35897,8 @@ exports["default"] = def;
|
|
|
35968
35897
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
35969
35898
|
|
|
35970
35899
|
"use strict";
|
|
35971
|
-
var __webpack_unused_export__;
|
|
35972
35900
|
|
|
35973
|
-
|
|
35901
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
35974
35902
|
const code_1 = __webpack_require__(40483);
|
|
35975
35903
|
const codegen_1 = __webpack_require__(5603);
|
|
35976
35904
|
const subschema_1 = __webpack_require__(79196);
|
|
@@ -36046,9 +35974,8 @@ exports["default"] = def;
|
|
|
36046
35974
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36047
35975
|
|
|
36048
35976
|
"use strict";
|
|
36049
|
-
var __webpack_unused_export__;
|
|
36050
35977
|
|
|
36051
|
-
|
|
35978
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36052
35979
|
const context_1 = __webpack_require__(634);
|
|
36053
35980
|
const code_1 = __webpack_require__(40483);
|
|
36054
35981
|
const util_1 = __webpack_require__(95325);
|
|
@@ -36108,9 +36035,8 @@ exports["default"] = def;
|
|
|
36108
36035
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36109
36036
|
|
|
36110
36037
|
"use strict";
|
|
36111
|
-
var __webpack_unused_export__;
|
|
36112
36038
|
|
|
36113
|
-
|
|
36039
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36114
36040
|
const codegen_1 = __webpack_require__(5603);
|
|
36115
36041
|
const util_1 = __webpack_require__(95325);
|
|
36116
36042
|
const error = {
|
|
@@ -36154,9 +36080,8 @@ exports["default"] = def;
|
|
|
36154
36080
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36155
36081
|
|
|
36156
36082
|
"use strict";
|
|
36157
|
-
var __webpack_unused_export__;
|
|
36158
36083
|
|
|
36159
|
-
|
|
36084
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36160
36085
|
const validate_1 = __webpack_require__(40456);
|
|
36161
36086
|
const def = {
|
|
36162
36087
|
keyword: ["then", "else"],
|
|
@@ -36175,10 +36100,9 @@ exports["default"] = def;
|
|
|
36175
36100
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36176
36101
|
|
|
36177
36102
|
"use strict";
|
|
36178
|
-
var __webpack_unused_export__;
|
|
36179
36103
|
|
|
36180
|
-
|
|
36181
|
-
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty =
|
|
36104
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36105
|
+
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
36182
36106
|
const codegen_1 = __webpack_require__(5603);
|
|
36183
36107
|
const util_1 = __webpack_require__(95325);
|
|
36184
36108
|
const subschema_1 = __webpack_require__(79196);
|
|
@@ -36207,7 +36131,7 @@ function hasPropFunc(gen) {
|
|
|
36207
36131
|
code: codegen_1._ `Object.prototype.hasOwnProperty`,
|
|
36208
36132
|
});
|
|
36209
36133
|
}
|
|
36210
|
-
|
|
36134
|
+
exports.hasPropFunc = hasPropFunc;
|
|
36211
36135
|
function isOwnProperty(gen, data, property) {
|
|
36212
36136
|
return codegen_1._ `${hasPropFunc(gen)}.call(${data}, ${property})`;
|
|
36213
36137
|
}
|
|
@@ -36310,9 +36234,8 @@ exports.validateUnion = validateUnion;
|
|
|
36310
36234
|
(__unused_webpack_module, exports) {
|
|
36311
36235
|
|
|
36312
36236
|
"use strict";
|
|
36313
|
-
var __webpack_unused_export__;
|
|
36314
36237
|
|
|
36315
|
-
|
|
36238
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36316
36239
|
const def = {
|
|
36317
36240
|
keyword: "id",
|
|
36318
36241
|
code() {
|
|
@@ -36328,9 +36251,8 @@ exports["default"] = def;
|
|
|
36328
36251
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36329
36252
|
|
|
36330
36253
|
"use strict";
|
|
36331
|
-
var __webpack_unused_export__;
|
|
36332
36254
|
|
|
36333
|
-
|
|
36255
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36334
36256
|
const id_1 = __webpack_require__(19729);
|
|
36335
36257
|
const ref_1 = __webpack_require__(95963);
|
|
36336
36258
|
const core = [
|
|
@@ -36352,10 +36274,9 @@ exports["default"] = core;
|
|
|
36352
36274
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36353
36275
|
|
|
36354
36276
|
"use strict";
|
|
36355
|
-
var __webpack_unused_export__;
|
|
36356
36277
|
|
|
36357
|
-
|
|
36358
|
-
|
|
36278
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36279
|
+
exports.callRef = exports.getValidate = void 0;
|
|
36359
36280
|
const error_classes_1 = __webpack_require__(20028);
|
|
36360
36281
|
const code_1 = __webpack_require__(40483);
|
|
36361
36282
|
const codegen_1 = __webpack_require__(5603);
|
|
@@ -36409,7 +36330,7 @@ function getValidate(cxt, sch) {
|
|
|
36409
36330
|
? gen.scopeValue("validate", { ref: sch.validate })
|
|
36410
36331
|
: codegen_1._ `${gen.scopeValue("wrapper", { ref: sch })}.validate`;
|
|
36411
36332
|
}
|
|
36412
|
-
|
|
36333
|
+
exports.getValidate = getValidate;
|
|
36413
36334
|
function callRef(cxt, v, sch, $async) {
|
|
36414
36335
|
const { gen, it } = cxt;
|
|
36415
36336
|
const { allErrors, schemaEnv: env, opts } = it;
|
|
@@ -36473,7 +36394,7 @@ function callRef(cxt, v, sch, $async) {
|
|
|
36473
36394
|
}
|
|
36474
36395
|
}
|
|
36475
36396
|
}
|
|
36476
|
-
|
|
36397
|
+
exports.callRef = callRef;
|
|
36477
36398
|
exports["default"] = def;
|
|
36478
36399
|
//# sourceMappingURL=ref.js.map
|
|
36479
36400
|
|
|
@@ -36483,9 +36404,8 @@ exports["default"] = def;
|
|
|
36483
36404
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36484
36405
|
|
|
36485
36406
|
"use strict";
|
|
36486
|
-
var __webpack_unused_export__;
|
|
36487
36407
|
|
|
36488
|
-
|
|
36408
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36489
36409
|
const core_1 = __webpack_require__(82530);
|
|
36490
36410
|
const validation_1 = __webpack_require__(26390);
|
|
36491
36411
|
const applicator_1 = __webpack_require__(43716);
|
|
@@ -36508,9 +36428,8 @@ exports["default"] = draft7Vocabularies;
|
|
|
36508
36428
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36509
36429
|
|
|
36510
36430
|
"use strict";
|
|
36511
|
-
var __webpack_unused_export__;
|
|
36512
36431
|
|
|
36513
|
-
|
|
36432
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36514
36433
|
const codegen_1 = __webpack_require__(5603);
|
|
36515
36434
|
const error = {
|
|
36516
36435
|
message: ({ schemaCode }) => codegen_1.str `should match format "${schemaCode}"`,
|
|
@@ -36607,9 +36526,8 @@ exports["default"] = def;
|
|
|
36607
36526
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36608
36527
|
|
|
36609
36528
|
"use strict";
|
|
36610
|
-
var __webpack_unused_export__;
|
|
36611
36529
|
|
|
36612
|
-
|
|
36530
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36613
36531
|
const format_1 = __webpack_require__(13215);
|
|
36614
36532
|
const format = [format_1.default];
|
|
36615
36533
|
exports["default"] = format;
|
|
@@ -36621,9 +36539,8 @@ exports["default"] = format;
|
|
|
36621
36539
|
(__unused_webpack_module, exports) {
|
|
36622
36540
|
|
|
36623
36541
|
"use strict";
|
|
36624
|
-
var __webpack_unused_export__;
|
|
36625
36542
|
|
|
36626
|
-
|
|
36543
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36627
36544
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
36628
36545
|
exports.metadataVocabulary = [
|
|
36629
36546
|
"title",
|
|
@@ -36647,9 +36564,8 @@ exports.contentVocabulary = [
|
|
|
36647
36564
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36648
36565
|
|
|
36649
36566
|
"use strict";
|
|
36650
|
-
var __webpack_unused_export__;
|
|
36651
36567
|
|
|
36652
|
-
|
|
36568
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36653
36569
|
const codegen_1 = __webpack_require__(5603);
|
|
36654
36570
|
const equal = __webpack_require__(7040);
|
|
36655
36571
|
const error = {
|
|
@@ -36678,9 +36594,8 @@ exports["default"] = def;
|
|
|
36678
36594
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36679
36595
|
|
|
36680
36596
|
"use strict";
|
|
36681
|
-
var __webpack_unused_export__;
|
|
36682
36597
|
|
|
36683
|
-
|
|
36598
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36684
36599
|
const codegen_1 = __webpack_require__(5603);
|
|
36685
36600
|
const equal = __webpack_require__(7040);
|
|
36686
36601
|
const error = {
|
|
@@ -36735,9 +36650,8 @@ exports["default"] = def;
|
|
|
36735
36650
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36736
36651
|
|
|
36737
36652
|
"use strict";
|
|
36738
|
-
var __webpack_unused_export__;
|
|
36739
36653
|
|
|
36740
|
-
|
|
36654
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36741
36655
|
const limitNumber_1 = __webpack_require__(57940);
|
|
36742
36656
|
const multipleOf_1 = __webpack_require__(27689);
|
|
36743
36657
|
const limitLength_1 = __webpack_require__(33217);
|
|
@@ -36776,9 +36690,8 @@ exports["default"] = validation;
|
|
|
36776
36690
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36777
36691
|
|
|
36778
36692
|
"use strict";
|
|
36779
|
-
var __webpack_unused_export__;
|
|
36780
36693
|
|
|
36781
|
-
|
|
36694
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36782
36695
|
const codegen_1 = __webpack_require__(5603);
|
|
36783
36696
|
const error = {
|
|
36784
36697
|
message({ keyword, schemaCode }) {
|
|
@@ -36808,9 +36721,8 @@ exports["default"] = def;
|
|
|
36808
36721
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36809
36722
|
|
|
36810
36723
|
"use strict";
|
|
36811
|
-
var __webpack_unused_export__;
|
|
36812
36724
|
|
|
36813
|
-
|
|
36725
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36814
36726
|
const codegen_1 = __webpack_require__(5603);
|
|
36815
36727
|
const ucs2length_1 = __webpack_require__(42860);
|
|
36816
36728
|
const error = {
|
|
@@ -36852,9 +36764,8 @@ exports["default"] = def;
|
|
|
36852
36764
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36853
36765
|
|
|
36854
36766
|
"use strict";
|
|
36855
|
-
var __webpack_unused_export__;
|
|
36856
36767
|
|
|
36857
|
-
|
|
36768
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36858
36769
|
const codegen_1 = __webpack_require__(5603);
|
|
36859
36770
|
const ops = codegen_1.operators;
|
|
36860
36771
|
const KWDs = {
|
|
@@ -36887,9 +36798,8 @@ exports["default"] = def;
|
|
|
36887
36798
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36888
36799
|
|
|
36889
36800
|
"use strict";
|
|
36890
|
-
var __webpack_unused_export__;
|
|
36891
36801
|
|
|
36892
|
-
|
|
36802
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36893
36803
|
const codegen_1 = __webpack_require__(5603);
|
|
36894
36804
|
const error = {
|
|
36895
36805
|
message({ keyword, schemaCode }) {
|
|
@@ -36919,9 +36829,8 @@ exports["default"] = def;
|
|
|
36919
36829
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36920
36830
|
|
|
36921
36831
|
"use strict";
|
|
36922
|
-
var __webpack_unused_export__;
|
|
36923
36832
|
|
|
36924
|
-
|
|
36833
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36925
36834
|
const codegen_1 = __webpack_require__(5603);
|
|
36926
36835
|
const error = {
|
|
36927
36836
|
message: ({ schemaCode }) => codegen_1.str `should be multiple of ${schemaCode}`,
|
|
@@ -36953,9 +36862,8 @@ exports["default"] = def;
|
|
|
36953
36862
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36954
36863
|
|
|
36955
36864
|
"use strict";
|
|
36956
|
-
var __webpack_unused_export__;
|
|
36957
36865
|
|
|
36958
|
-
|
|
36866
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36959
36867
|
const code_1 = __webpack_require__(40483);
|
|
36960
36868
|
const codegen_1 = __webpack_require__(5603);
|
|
36961
36869
|
const error = {
|
|
@@ -36983,9 +36891,8 @@ exports["default"] = def;
|
|
|
36983
36891
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
36984
36892
|
|
|
36985
36893
|
"use strict";
|
|
36986
|
-
var __webpack_unused_export__;
|
|
36987
36894
|
|
|
36988
|
-
|
|
36895
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
36989
36896
|
const code_1 = __webpack_require__(40483);
|
|
36990
36897
|
const codegen_1 = __webpack_require__(5603);
|
|
36991
36898
|
const validate_1 = __webpack_require__(40456);
|
|
@@ -37070,9 +36977,8 @@ exports["default"] = def;
|
|
|
37070
36977
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
37071
36978
|
|
|
37072
36979
|
"use strict";
|
|
37073
|
-
var __webpack_unused_export__;
|
|
37074
36980
|
|
|
37075
|
-
|
|
36981
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
37076
36982
|
const dataType_1 = __webpack_require__(50838);
|
|
37077
36983
|
const codegen_1 = __webpack_require__(5603);
|
|
37078
36984
|
const equal = __webpack_require__(7040);
|
|
@@ -49575,10 +49481,9 @@ function descending(a, b)
|
|
|
49575
49481
|
(__unused_webpack_module, exports) {
|
|
49576
49482
|
|
|
49577
49483
|
"use strict";
|
|
49578
|
-
var __webpack_unused_export__;
|
|
49579
49484
|
|
|
49580
49485
|
/* CONSTS */
|
|
49581
|
-
|
|
49486
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49582
49487
|
exports.NOOP = exports.LIMIT_FILES_DESCRIPTORS = exports.LIMIT_BASENAME_LENGTH = exports.IS_USER_ROOT = exports.IS_POSIX = exports.DEFAULT_TIMEOUT_SYNC = exports.DEFAULT_TIMEOUT_ASYNC = exports.DEFAULT_WRITE_OPTIONS = exports.DEFAULT_READ_OPTIONS = exports.DEFAULT_FOLDER_MODE = exports.DEFAULT_FILE_MODE = exports.DEFAULT_ENCODING = void 0;
|
|
49583
49488
|
const DEFAULT_ENCODING = 'utf8';
|
|
49584
49489
|
exports.DEFAULT_ENCODING = DEFAULT_ENCODING;
|
|
@@ -49612,11 +49517,10 @@ exports.NOOP = NOOP;
|
|
|
49612
49517
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
49613
49518
|
|
|
49614
49519
|
"use strict";
|
|
49615
|
-
var __webpack_unused_export__;
|
|
49616
49520
|
|
|
49617
49521
|
/* IMPORT */
|
|
49618
|
-
|
|
49619
|
-
exports.writeFileSync =
|
|
49522
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49523
|
+
exports.writeFileSync = exports.writeFile = exports.readFileSync = exports.readFile = void 0;
|
|
49620
49524
|
const path = __webpack_require__(33873);
|
|
49621
49525
|
const consts_1 = __webpack_require__(87026);
|
|
49622
49526
|
const fs_1 = __webpack_require__(14215);
|
|
@@ -49630,7 +49534,7 @@ function readFile(filePath, options = consts_1.DEFAULT_READ_OPTIONS) {
|
|
|
49630
49534
|
const timeout = Date.now() + ((_a = options.timeout) !== null && _a !== void 0 ? _a : consts_1.DEFAULT_TIMEOUT_ASYNC);
|
|
49631
49535
|
return fs_1.default.readFileRetry(timeout)(filePath, options);
|
|
49632
49536
|
}
|
|
49633
|
-
|
|
49537
|
+
exports.readFile = readFile;
|
|
49634
49538
|
;
|
|
49635
49539
|
function readFileSync(filePath, options = consts_1.DEFAULT_READ_OPTIONS) {
|
|
49636
49540
|
var _a;
|
|
@@ -49639,7 +49543,7 @@ function readFileSync(filePath, options = consts_1.DEFAULT_READ_OPTIONS) {
|
|
|
49639
49543
|
const timeout = Date.now() + ((_a = options.timeout) !== null && _a !== void 0 ? _a : consts_1.DEFAULT_TIMEOUT_SYNC);
|
|
49640
49544
|
return fs_1.default.readFileSyncRetry(timeout)(filePath, options);
|
|
49641
49545
|
}
|
|
49642
|
-
|
|
49546
|
+
exports.readFileSync = readFileSync;
|
|
49643
49547
|
;
|
|
49644
49548
|
const writeFile = (filePath, data, options, callback) => {
|
|
49645
49549
|
if (lang_1.default.isFunction(options))
|
|
@@ -49649,7 +49553,7 @@ const writeFile = (filePath, data, options, callback) => {
|
|
|
49649
49553
|
promise.then(callback, callback);
|
|
49650
49554
|
return promise;
|
|
49651
49555
|
};
|
|
49652
|
-
|
|
49556
|
+
exports.writeFile = writeFile;
|
|
49653
49557
|
const writeFileAsync = async (filePath, data, options = consts_1.DEFAULT_WRITE_OPTIONS) => {
|
|
49654
49558
|
var _a;
|
|
49655
49559
|
if (lang_1.default.isString(options))
|
|
@@ -49798,10 +49702,9 @@ exports.writeFileSync = writeFileSync;
|
|
|
49798
49702
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
49799
49703
|
|
|
49800
49704
|
"use strict";
|
|
49801
|
-
var __webpack_unused_export__;
|
|
49802
49705
|
|
|
49803
49706
|
/* IMPORT */
|
|
49804
|
-
|
|
49707
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49805
49708
|
exports.attemptifySync = exports.attemptifyAsync = void 0;
|
|
49806
49709
|
const consts_1 = __webpack_require__(87026);
|
|
49807
49710
|
/* ATTEMPTIFY */
|
|
@@ -49832,10 +49735,9 @@ exports.attemptifySync = attemptifySync;
|
|
|
49832
49735
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
49833
49736
|
|
|
49834
49737
|
"use strict";
|
|
49835
|
-
var __webpack_unused_export__;
|
|
49836
49738
|
|
|
49837
49739
|
/* IMPORT */
|
|
49838
|
-
|
|
49740
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49839
49741
|
const fs = __webpack_require__(29021);
|
|
49840
49742
|
const util_1 = __webpack_require__(28354);
|
|
49841
49743
|
const attemptify_1 = __webpack_require__(48697);
|
|
@@ -49883,10 +49785,9 @@ exports["default"] = FS;
|
|
|
49883
49785
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
49884
49786
|
|
|
49885
49787
|
"use strict";
|
|
49886
|
-
var __webpack_unused_export__;
|
|
49887
49788
|
|
|
49888
49789
|
/* IMPORT */
|
|
49889
|
-
|
|
49790
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49890
49791
|
const consts_1 = __webpack_require__(87026);
|
|
49891
49792
|
/* FS HANDLERS */
|
|
49892
49793
|
const Handlers = {
|
|
@@ -49920,10 +49821,9 @@ exports["default"] = Handlers;
|
|
|
49920
49821
|
(__unused_webpack_module, exports) {
|
|
49921
49822
|
|
|
49922
49823
|
"use strict";
|
|
49923
|
-
var __webpack_unused_export__;
|
|
49924
49824
|
|
|
49925
49825
|
/* LANG */
|
|
49926
|
-
|
|
49826
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49927
49827
|
const Lang = {
|
|
49928
49828
|
isFunction: (x) => {
|
|
49929
49829
|
return typeof x === 'function';
|
|
@@ -49945,10 +49845,9 @@ exports["default"] = Lang;
|
|
|
49945
49845
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
49946
49846
|
|
|
49947
49847
|
"use strict";
|
|
49948
|
-
var __webpack_unused_export__;
|
|
49949
49848
|
|
|
49950
49849
|
/* IMPORT */
|
|
49951
|
-
|
|
49850
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
49952
49851
|
exports.retryifySync = exports.retryifyAsync = void 0;
|
|
49953
49852
|
const retryify_queue_1 = __webpack_require__(59524);
|
|
49954
49853
|
/* RETRYIFY */
|
|
@@ -49999,10 +49898,9 @@ exports.retryifySync = retryifySync;
|
|
|
49999
49898
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
50000
49899
|
|
|
50001
49900
|
"use strict";
|
|
50002
|
-
var __webpack_unused_export__;
|
|
50003
49901
|
|
|
50004
49902
|
/* IMPORT */
|
|
50005
|
-
|
|
49903
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
50006
49904
|
const consts_1 = __webpack_require__(87026);
|
|
50007
49905
|
/* RETRYIFY QUEUE */
|
|
50008
49906
|
const RetryfyQueue = {
|
|
@@ -50066,10 +49964,9 @@ exports["default"] = RetryfyQueue;
|
|
|
50066
49964
|
(__unused_webpack_module, exports) {
|
|
50067
49965
|
|
|
50068
49966
|
"use strict";
|
|
50069
|
-
var __webpack_unused_export__;
|
|
50070
49967
|
|
|
50071
49968
|
/* IMPORT */
|
|
50072
|
-
|
|
49969
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
50073
49970
|
/* VARIABLES */
|
|
50074
49971
|
const Queues = {};
|
|
50075
49972
|
/* SCHEDULER */
|
|
@@ -50110,10 +50007,9 @@ exports["default"] = Scheduler;
|
|
|
50110
50007
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
50111
50008
|
|
|
50112
50009
|
"use strict";
|
|
50113
|
-
var __webpack_unused_export__;
|
|
50114
50010
|
|
|
50115
50011
|
/* IMPORT */
|
|
50116
|
-
|
|
50012
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
50117
50013
|
const path = __webpack_require__(33873);
|
|
50118
50014
|
const consts_1 = __webpack_require__(87026);
|
|
50119
50015
|
const fs_1 = __webpack_require__(14215);
|
|
@@ -74758,14 +74654,25 @@ module.exports = {
|
|
|
74758
74654
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
74759
74655
|
|
|
74760
74656
|
"use strict";
|
|
74657
|
+
// ESM COMPAT FLAG
|
|
74658
|
+
__webpack_require__.r(__webpack_exports__);
|
|
74761
74659
|
|
|
74762
74660
|
// EXPORTS
|
|
74763
74661
|
__webpack_require__.d(__webpack_exports__, {
|
|
74764
|
-
|
|
74662
|
+
crc1: () => (/* reexport */ crc_crc1),
|
|
74663
|
+
crc16: () => (/* reexport */ crc_crc16),
|
|
74664
|
+
crc16ccitt: () => (/* reexport */ crc_crc16ccitt),
|
|
74665
|
+
crc16kermit: () => (/* reexport */ crc_crc16kermit),
|
|
74666
|
+
crc16modbus: () => (/* reexport */ crc_crc16modbus),
|
|
74667
|
+
crc16xmodem: () => (/* reexport */ crc_crc16xmodem),
|
|
74668
|
+
crc24: () => (/* reexport */ crc_crc24),
|
|
74669
|
+
crc32: () => (/* reexport */ crc_crc32),
|
|
74670
|
+
crc8: () => (/* reexport */ crc_crc8),
|
|
74671
|
+
crc81wire: () => (/* reexport */ crc_crc81wire),
|
|
74672
|
+
crcjam: () => (/* reexport */ crc_crcjam),
|
|
74673
|
+
"default": () => (/* binding */ crc)
|
|
74765
74674
|
});
|
|
74766
74675
|
|
|
74767
|
-
// UNUSED EXPORTS: crc1, crc16, crc16ccitt, crc16kermit, crc16modbus, crc16xmodem, crc24, crc8, crc81wire, crcjam, default
|
|
74768
|
-
|
|
74769
74676
|
// EXTERNAL MODULE: external "buffer"
|
|
74770
74677
|
var external_buffer_ = __webpack_require__(79428);
|
|
74771
74678
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/create_buffer.js
|
|
@@ -74809,7 +74716,7 @@ const crc1 = define_crc('crc1', function(buf, previous) {
|
|
|
74809
74716
|
return crc % 256;
|
|
74810
74717
|
});
|
|
74811
74718
|
|
|
74812
|
-
/* harmony default export */ const crc_crc1 = (
|
|
74719
|
+
/* harmony default export */ const crc_crc1 = (crc1);
|
|
74813
74720
|
|
|
74814
74721
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc8.js
|
|
74815
74722
|
|
|
@@ -74852,7 +74759,7 @@ const crc8 = define_crc('crc-8', function(buf, previous) {
|
|
|
74852
74759
|
return crc;
|
|
74853
74760
|
});
|
|
74854
74761
|
|
|
74855
|
-
/* harmony default export */ const crc_crc8 = (
|
|
74762
|
+
/* harmony default export */ const crc_crc8 = (crc8);
|
|
74856
74763
|
|
|
74857
74764
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc81wire.js
|
|
74858
74765
|
|
|
@@ -74895,7 +74802,7 @@ const crc81wire = define_crc('dallas-1-wire', function(buf, previous) {
|
|
|
74895
74802
|
return crc;
|
|
74896
74803
|
});
|
|
74897
74804
|
|
|
74898
|
-
/* harmony default export */ const crc_crc81wire = (
|
|
74805
|
+
/* harmony default export */ const crc_crc81wire = (crc81wire);
|
|
74899
74806
|
|
|
74900
74807
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc16.js
|
|
74901
74808
|
|
|
@@ -74954,7 +74861,7 @@ const crc16 = define_crc('crc-16', function(buf, previous) {
|
|
|
74954
74861
|
return crc;
|
|
74955
74862
|
});
|
|
74956
74863
|
|
|
74957
|
-
/* harmony default export */ const crc_crc16 = (
|
|
74864
|
+
/* harmony default export */ const crc_crc16 = (crc16);
|
|
74958
74865
|
|
|
74959
74866
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc16ccitt.js
|
|
74960
74867
|
|
|
@@ -75013,7 +74920,7 @@ const crc16ccitt = define_crc('ccitt', function(buf, previous) {
|
|
|
75013
74920
|
return crc;
|
|
75014
74921
|
});
|
|
75015
74922
|
|
|
75016
|
-
/* harmony default export */ const crc_crc16ccitt = (
|
|
74923
|
+
/* harmony default export */ const crc_crc16ccitt = (crc16ccitt);
|
|
75017
74924
|
|
|
75018
74925
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc16modbus.js
|
|
75019
74926
|
|
|
@@ -75072,7 +74979,7 @@ const crc16modbus = define_crc('crc-16-modbus', function(buf, previous) {
|
|
|
75072
74979
|
return crc;
|
|
75073
74980
|
});
|
|
75074
74981
|
|
|
75075
|
-
/* harmony default export */ const crc_crc16modbus = (
|
|
74982
|
+
/* harmony default export */ const crc_crc16modbus = (crc16modbus);
|
|
75076
74983
|
|
|
75077
74984
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc16xmodem.js
|
|
75078
74985
|
|
|
@@ -75101,7 +75008,7 @@ const crc16xmodem = define_crc('xmodem', function(buf, previous) {
|
|
|
75101
75008
|
return crc;
|
|
75102
75009
|
});
|
|
75103
75010
|
|
|
75104
|
-
/* harmony default export */ const crc_crc16xmodem = (
|
|
75011
|
+
/* harmony default export */ const crc_crc16xmodem = (crc16xmodem);
|
|
75105
75012
|
|
|
75106
75013
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc16kermit.js
|
|
75107
75014
|
|
|
@@ -75160,7 +75067,7 @@ const crc16kermit = define_crc('kermit', function(buf, previous) {
|
|
|
75160
75067
|
return crc;
|
|
75161
75068
|
});
|
|
75162
75069
|
|
|
75163
|
-
/* harmony default export */ const crc_crc16kermit = (
|
|
75070
|
+
/* harmony default export */ const crc_crc16kermit = (crc16kermit);
|
|
75164
75071
|
|
|
75165
75072
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc24.js
|
|
75166
75073
|
|
|
@@ -75219,7 +75126,7 @@ const crc24 = define_crc('crc-24', function(buf, previous) {
|
|
|
75219
75126
|
return crc;
|
|
75220
75127
|
});
|
|
75221
75128
|
|
|
75222
|
-
/* harmony default export */ const crc_crc24 = (
|
|
75129
|
+
/* harmony default export */ const crc_crc24 = (crc24);
|
|
75223
75130
|
|
|
75224
75131
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/crc32.js
|
|
75225
75132
|
|
|
@@ -75401,20 +75308,9 @@ const crcjam = define_crc('jam', function(buf, previous = -1) {
|
|
|
75401
75308
|
return crc;
|
|
75402
75309
|
});
|
|
75403
75310
|
|
|
75404
|
-
/* harmony default export */ const crc_crcjam = (
|
|
75311
|
+
/* harmony default export */ const crc_crcjam = (crcjam);
|
|
75405
75312
|
|
|
75406
75313
|
;// ../node_modules/.pnpm/crc@3.8.0/node_modules/crc/index.js
|
|
75407
|
-
/* unused harmony import specifier */ var node_modules_crc_crc1;
|
|
75408
|
-
/* unused harmony import specifier */ var node_modules_crc_crc8;
|
|
75409
|
-
/* unused harmony import specifier */ var node_modules_crc_crc81wire;
|
|
75410
|
-
/* unused harmony import specifier */ var node_modules_crc_crc16;
|
|
75411
|
-
/* unused harmony import specifier */ var node_modules_crc_crc16ccitt;
|
|
75412
|
-
/* unused harmony import specifier */ var node_modules_crc_crc16modbus;
|
|
75413
|
-
/* unused harmony import specifier */ var node_modules_crc_crc16xmodem;
|
|
75414
|
-
/* unused harmony import specifier */ var node_modules_crc_crc16kermit;
|
|
75415
|
-
/* unused harmony import specifier */ var node_modules_crc_crc24;
|
|
75416
|
-
/* unused harmony import specifier */ var node_modules_crc_crc32;
|
|
75417
|
-
/* unused harmony import specifier */ var node_modules_crc_crcjam;
|
|
75418
75314
|
|
|
75419
75315
|
|
|
75420
75316
|
|
|
@@ -75439,19 +75335,19 @@ const crcjam = define_crc('jam', function(buf, previous = -1) {
|
|
|
75439
75335
|
|
|
75440
75336
|
|
|
75441
75337
|
|
|
75442
|
-
/* harmony default export */ const crc = (
|
|
75443
|
-
crc1:
|
|
75444
|
-
crc8:
|
|
75445
|
-
crc81wire:
|
|
75446
|
-
crc16:
|
|
75447
|
-
crc16ccitt:
|
|
75448
|
-
crc16modbus:
|
|
75449
|
-
crc16xmodem:
|
|
75450
|
-
crc16kermit:
|
|
75451
|
-
crc24:
|
|
75452
|
-
crc32:
|
|
75453
|
-
crcjam:
|
|
75454
|
-
})
|
|
75338
|
+
/* harmony default export */ const crc = ({
|
|
75339
|
+
crc1: crc_crc1,
|
|
75340
|
+
crc8: crc_crc8,
|
|
75341
|
+
crc81wire: crc_crc81wire,
|
|
75342
|
+
crc16: crc_crc16,
|
|
75343
|
+
crc16ccitt: crc_crc16ccitt,
|
|
75344
|
+
crc16modbus: crc_crc16modbus,
|
|
75345
|
+
crc16xmodem: crc_crc16xmodem,
|
|
75346
|
+
crc16kermit: crc_crc16kermit,
|
|
75347
|
+
crc24: crc_crc24,
|
|
75348
|
+
crc32: crc_crc32,
|
|
75349
|
+
crcjam: crc_crcjam,
|
|
75350
|
+
});
|
|
75455
75351
|
|
|
75456
75352
|
|
|
75457
75353
|
/***/ },
|
|
@@ -79446,10 +79342,9 @@ module.exports = FastGlob;
|
|
|
79446
79342
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79447
79343
|
|
|
79448
79344
|
"use strict";
|
|
79449
|
-
var __webpack_unused_export__;
|
|
79450
79345
|
|
|
79451
|
-
|
|
79452
|
-
|
|
79346
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79347
|
+
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
79453
79348
|
const utils = __webpack_require__(321);
|
|
79454
79349
|
function generate(input, settings) {
|
|
79455
79350
|
const patterns = processPatterns(input, settings);
|
|
@@ -79516,17 +79411,17 @@ function convertPatternsToTasks(positive, negative, dynamic) {
|
|
|
79516
79411
|
}
|
|
79517
79412
|
return tasks;
|
|
79518
79413
|
}
|
|
79519
|
-
|
|
79414
|
+
exports.convertPatternsToTasks = convertPatternsToTasks;
|
|
79520
79415
|
function getPositivePatterns(patterns) {
|
|
79521
79416
|
return utils.pattern.getPositivePatterns(patterns);
|
|
79522
79417
|
}
|
|
79523
|
-
|
|
79418
|
+
exports.getPositivePatterns = getPositivePatterns;
|
|
79524
79419
|
function getNegativePatternsAsPositive(patterns, ignore) {
|
|
79525
79420
|
const negative = utils.pattern.getNegativePatterns(patterns).concat(ignore);
|
|
79526
79421
|
const positive = negative.map(utils.pattern.convertToPositivePattern);
|
|
79527
79422
|
return positive;
|
|
79528
79423
|
}
|
|
79529
|
-
|
|
79424
|
+
exports.getNegativePatternsAsPositive = getNegativePatternsAsPositive;
|
|
79530
79425
|
function groupPatternsByBaseDirectory(patterns) {
|
|
79531
79426
|
const group = {};
|
|
79532
79427
|
return patterns.reduce((collection, pattern) => {
|
|
@@ -79540,13 +79435,13 @@ function groupPatternsByBaseDirectory(patterns) {
|
|
|
79540
79435
|
return collection;
|
|
79541
79436
|
}, group);
|
|
79542
79437
|
}
|
|
79543
|
-
|
|
79438
|
+
exports.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
|
|
79544
79439
|
function convertPatternGroupsToTasks(positive, negative, dynamic) {
|
|
79545
79440
|
return Object.keys(positive).map((base) => {
|
|
79546
79441
|
return convertPatternGroupToTask(base, positive[base], negative, dynamic);
|
|
79547
79442
|
});
|
|
79548
79443
|
}
|
|
79549
|
-
|
|
79444
|
+
exports.convertPatternGroupsToTasks = convertPatternGroupsToTasks;
|
|
79550
79445
|
function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
79551
79446
|
return {
|
|
79552
79447
|
dynamic,
|
|
@@ -79556,7 +79451,7 @@ function convertPatternGroupToTask(base, positive, negative, dynamic) {
|
|
|
79556
79451
|
patterns: [].concat(positive, negative.map(utils.pattern.convertToNegativePattern))
|
|
79557
79452
|
};
|
|
79558
79453
|
}
|
|
79559
|
-
|
|
79454
|
+
exports.convertPatternGroupToTask = convertPatternGroupToTask;
|
|
79560
79455
|
|
|
79561
79456
|
|
|
79562
79457
|
/***/ },
|
|
@@ -79565,9 +79460,8 @@ __webpack_unused_export__ = convertPatternGroupToTask;
|
|
|
79565
79460
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79566
79461
|
|
|
79567
79462
|
"use strict";
|
|
79568
|
-
var __webpack_unused_export__;
|
|
79569
79463
|
|
|
79570
|
-
|
|
79464
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79571
79465
|
const async_1 = __webpack_require__(88248);
|
|
79572
79466
|
const provider_1 = __webpack_require__(42941);
|
|
79573
79467
|
class ProviderAsync extends provider_1.default {
|
|
@@ -79597,9 +79491,8 @@ exports["default"] = ProviderAsync;
|
|
|
79597
79491
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79598
79492
|
|
|
79599
79493
|
"use strict";
|
|
79600
|
-
var __webpack_unused_export__;
|
|
79601
79494
|
|
|
79602
|
-
|
|
79495
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79603
79496
|
const utils = __webpack_require__(321);
|
|
79604
79497
|
const partial_1 = __webpack_require__(33709);
|
|
79605
79498
|
class DeepFilter {
|
|
@@ -79668,9 +79561,8 @@ exports["default"] = DeepFilter;
|
|
|
79668
79561
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79669
79562
|
|
|
79670
79563
|
"use strict";
|
|
79671
|
-
var __webpack_unused_export__;
|
|
79672
79564
|
|
|
79673
|
-
|
|
79565
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79674
79566
|
const utils = __webpack_require__(321);
|
|
79675
79567
|
class EntryFilter {
|
|
79676
79568
|
constructor(_settings, _micromatchOptions) {
|
|
@@ -79762,9 +79654,8 @@ exports["default"] = EntryFilter;
|
|
|
79762
79654
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79763
79655
|
|
|
79764
79656
|
"use strict";
|
|
79765
|
-
var __webpack_unused_export__;
|
|
79766
79657
|
|
|
79767
|
-
|
|
79658
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79768
79659
|
const utils = __webpack_require__(321);
|
|
79769
79660
|
class ErrorFilter {
|
|
79770
79661
|
constructor(_settings) {
|
|
@@ -79786,9 +79677,8 @@ exports["default"] = ErrorFilter;
|
|
|
79786
79677
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79787
79678
|
|
|
79788
79679
|
"use strict";
|
|
79789
|
-
var __webpack_unused_export__;
|
|
79790
79680
|
|
|
79791
|
-
|
|
79681
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79792
79682
|
const utils = __webpack_require__(321);
|
|
79793
79683
|
class Matcher {
|
|
79794
79684
|
constructor(_patterns, _settings, _micromatchOptions) {
|
|
@@ -79840,9 +79730,8 @@ exports["default"] = Matcher;
|
|
|
79840
79730
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79841
79731
|
|
|
79842
79732
|
"use strict";
|
|
79843
|
-
var __webpack_unused_export__;
|
|
79844
79733
|
|
|
79845
|
-
|
|
79734
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79846
79735
|
const matcher_1 = __webpack_require__(92850);
|
|
79847
79736
|
class PartialMatcher extends matcher_1.default {
|
|
79848
79737
|
match(filepath) {
|
|
@@ -79887,9 +79776,8 @@ exports["default"] = PartialMatcher;
|
|
|
79887
79776
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79888
79777
|
|
|
79889
79778
|
"use strict";
|
|
79890
|
-
var __webpack_unused_export__;
|
|
79891
79779
|
|
|
79892
|
-
|
|
79780
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79893
79781
|
const path = __webpack_require__(33873);
|
|
79894
79782
|
const deep_1 = __webpack_require__(24786);
|
|
79895
79783
|
const entry_1 = __webpack_require__(17890);
|
|
@@ -79944,9 +79832,8 @@ exports["default"] = Provider;
|
|
|
79944
79832
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79945
79833
|
|
|
79946
79834
|
"use strict";
|
|
79947
|
-
var __webpack_unused_export__;
|
|
79948
79835
|
|
|
79949
|
-
|
|
79836
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79950
79837
|
const stream_1 = __webpack_require__(27910);
|
|
79951
79838
|
const stream_2 = __webpack_require__(49938);
|
|
79952
79839
|
const provider_1 = __webpack_require__(42941);
|
|
@@ -79984,9 +79871,8 @@ exports["default"] = ProviderStream;
|
|
|
79984
79871
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
79985
79872
|
|
|
79986
79873
|
"use strict";
|
|
79987
|
-
var __webpack_unused_export__;
|
|
79988
79874
|
|
|
79989
|
-
|
|
79875
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
79990
79876
|
const sync_1 = __webpack_require__(28681);
|
|
79991
79877
|
const provider_1 = __webpack_require__(42941);
|
|
79992
79878
|
class ProviderSync extends provider_1.default {
|
|
@@ -80016,9 +79902,8 @@ exports["default"] = ProviderSync;
|
|
|
80016
79902
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80017
79903
|
|
|
80018
79904
|
"use strict";
|
|
80019
|
-
var __webpack_unused_export__;
|
|
80020
79905
|
|
|
80021
|
-
|
|
79906
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80022
79907
|
const utils = __webpack_require__(321);
|
|
80023
79908
|
class EntryTransformer {
|
|
80024
79909
|
constructor(_settings) {
|
|
@@ -80051,9 +79936,8 @@ exports["default"] = EntryTransformer;
|
|
|
80051
79936
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80052
79937
|
|
|
80053
79938
|
"use strict";
|
|
80054
|
-
var __webpack_unused_export__;
|
|
80055
79939
|
|
|
80056
|
-
|
|
79940
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80057
79941
|
const fsWalk = __webpack_require__(72071);
|
|
80058
79942
|
const reader_1 = __webpack_require__(52173);
|
|
80059
79943
|
const stream_1 = __webpack_require__(49938);
|
|
@@ -80095,9 +79979,8 @@ exports["default"] = ReaderAsync;
|
|
|
80095
79979
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80096
79980
|
|
|
80097
79981
|
"use strict";
|
|
80098
|
-
var __webpack_unused_export__;
|
|
80099
79982
|
|
|
80100
|
-
|
|
79983
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80101
79984
|
const path = __webpack_require__(33873);
|
|
80102
79985
|
const fsStat = __webpack_require__(69651);
|
|
80103
79986
|
const utils = __webpack_require__(321);
|
|
@@ -80137,9 +80020,8 @@ exports["default"] = Reader;
|
|
|
80137
80020
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80138
80021
|
|
|
80139
80022
|
"use strict";
|
|
80140
|
-
var __webpack_unused_export__;
|
|
80141
80023
|
|
|
80142
|
-
|
|
80024
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80143
80025
|
const stream_1 = __webpack_require__(27910);
|
|
80144
80026
|
const fsStat = __webpack_require__(69651);
|
|
80145
80027
|
const fsWalk = __webpack_require__(72071);
|
|
@@ -80201,9 +80083,8 @@ exports["default"] = ReaderStream;
|
|
|
80201
80083
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80202
80084
|
|
|
80203
80085
|
"use strict";
|
|
80204
|
-
var __webpack_unused_export__;
|
|
80205
80086
|
|
|
80206
|
-
|
|
80087
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80207
80088
|
const fsStat = __webpack_require__(69651);
|
|
80208
80089
|
const fsWalk = __webpack_require__(72071);
|
|
80209
80090
|
const reader_1 = __webpack_require__(52173);
|
|
@@ -80253,10 +80134,9 @@ exports["default"] = ReaderSync;
|
|
|
80253
80134
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80254
80135
|
|
|
80255
80136
|
"use strict";
|
|
80256
|
-
var __webpack_unused_export__;
|
|
80257
80137
|
|
|
80258
|
-
|
|
80259
|
-
exports.
|
|
80138
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80139
|
+
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
80260
80140
|
const fs = __webpack_require__(29021);
|
|
80261
80141
|
const os = __webpack_require__(21820);
|
|
80262
80142
|
/**
|
|
@@ -80264,7 +80144,7 @@ const os = __webpack_require__(21820);
|
|
|
80264
80144
|
* https://github.com/nodejs/node/blob/7faeddf23a98c53896f8b574a6e66589e8fb1eb8/lib/os.js#L106-L107
|
|
80265
80145
|
*/
|
|
80266
80146
|
const CPU_COUNT = Math.max(os.cpus().length, 1);
|
|
80267
|
-
exports.
|
|
80147
|
+
exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
|
|
80268
80148
|
lstat: fs.lstat,
|
|
80269
80149
|
lstatSync: fs.lstatSync,
|
|
80270
80150
|
stat: fs.stat,
|
|
@@ -80309,7 +80189,7 @@ class Settings {
|
|
|
80309
80189
|
return option === undefined ? value : option;
|
|
80310
80190
|
}
|
|
80311
80191
|
_getFileSystemMethods(methods = {}) {
|
|
80312
|
-
return Object.assign(Object.assign({}, exports.
|
|
80192
|
+
return Object.assign(Object.assign({}, exports.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
|
|
80313
80193
|
}
|
|
80314
80194
|
}
|
|
80315
80195
|
exports["default"] = Settings;
|
|
@@ -80393,9 +80273,8 @@ exports.createDirentFromStats = createDirentFromStats;
|
|
|
80393
80273
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
80394
80274
|
|
|
80395
80275
|
"use strict";
|
|
80396
|
-
var __webpack_unused_export__;
|
|
80397
80276
|
|
|
80398
|
-
|
|
80277
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
80399
80278
|
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
80400
80279
|
const array = __webpack_require__(18144);
|
|
80401
80280
|
exports.array = array;
|
|
@@ -81912,7 +81791,6 @@ module.exports = readDocType;
|
|
|
81912
81791
|
/***/ 34337
|
|
81913
81792
|
(__unused_webpack_module, exports) {
|
|
81914
81793
|
|
|
81915
|
-
var __webpack_unused_export__;
|
|
81916
81794
|
|
|
81917
81795
|
const defaultOptions = {
|
|
81918
81796
|
preserveOrder: false,
|
|
@@ -81960,7 +81838,7 @@ const buildOptions = function(options) {
|
|
|
81960
81838
|
};
|
|
81961
81839
|
|
|
81962
81840
|
exports.buildOptions = buildOptions;
|
|
81963
|
-
|
|
81841
|
+
exports.defaultOptions = defaultOptions;
|
|
81964
81842
|
|
|
81965
81843
|
/***/ },
|
|
81966
81844
|
|
|
@@ -83084,10 +82962,16 @@ function createFromFd(fd, options) {
|
|
|
83084
82962
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
83085
82963
|
|
|
83086
82964
|
"use strict";
|
|
82965
|
+
__webpack_require__.r(__webpack_exports__);
|
|
83087
82966
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
83088
|
-
/* harmony export */
|
|
82967
|
+
/* harmony export */ assign: () => (/* binding */ assign),
|
|
82968
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
82969
|
+
/* harmony export */ defaultI18n: () => (/* binding */ defaultI18n),
|
|
82970
|
+
/* harmony export */ format: () => (/* binding */ format),
|
|
82971
|
+
/* harmony export */ parse: () => (/* binding */ parse),
|
|
82972
|
+
/* harmony export */ setGlobalDateI18n: () => (/* binding */ setGlobalDateI18n),
|
|
82973
|
+
/* harmony export */ setGlobalDateMasks: () => (/* binding */ setGlobalDateMasks)
|
|
83089
82974
|
/* harmony export */ });
|
|
83090
|
-
/* unused harmony exports assign, parse, defaultI18n, setGlobalDateI18n, setGlobalDateMasks */
|
|
83091
82975
|
var token = /d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g;
|
|
83092
82976
|
var twoDigitsOptional = "\\d\\d?";
|
|
83093
82977
|
var twoDigits = "\\d\\d";
|
|
@@ -83480,15 +83364,15 @@ function parse(dateStr, format, i18n) {
|
|
|
83480
83364
|
// Don't allow invalid dates
|
|
83481
83365
|
return dateTZ;
|
|
83482
83366
|
}
|
|
83483
|
-
var fecha =
|
|
83367
|
+
var fecha = {
|
|
83484
83368
|
format: format,
|
|
83485
83369
|
parse: parse,
|
|
83486
83370
|
defaultI18n: defaultI18n,
|
|
83487
83371
|
setGlobalDateI18n: setGlobalDateI18n,
|
|
83488
83372
|
setGlobalDateMasks: setGlobalDateMasks
|
|
83489
|
-
}
|
|
83373
|
+
};
|
|
83490
83374
|
|
|
83491
|
-
/*
|
|
83375
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (fecha);
|
|
83492
83376
|
|
|
83493
83377
|
//# sourceMappingURL=fecha.js.map
|
|
83494
83378
|
|
|
@@ -98968,10 +98852,9 @@ function Writable(fn, options) {
|
|
|
98968
98852
|
(__unused_webpack_module, exports) {
|
|
98969
98853
|
|
|
98970
98854
|
"use strict";
|
|
98971
|
-
var __webpack_unused_export__;
|
|
98972
98855
|
|
|
98973
|
-
|
|
98974
|
-
|
|
98856
|
+
exports.__esModule = true;
|
|
98857
|
+
exports.LinesAndColumns = void 0;
|
|
98975
98858
|
var LF = '\n';
|
|
98976
98859
|
var CR = '\r';
|
|
98977
98860
|
var LinesAndColumns = /** @class */ (function () {
|
|
@@ -99029,7 +98912,7 @@ var LinesAndColumns = /** @class */ (function () {
|
|
|
99029
98912
|
};
|
|
99030
98913
|
return LinesAndColumns;
|
|
99031
98914
|
}());
|
|
99032
|
-
|
|
98915
|
+
exports.LinesAndColumns = LinesAndColumns;
|
|
99033
98916
|
exports["default"] = LinesAndColumns;
|
|
99034
98917
|
|
|
99035
98918
|
|
|
@@ -149906,7 +149789,6 @@ module.exports.win32 = win32;
|
|
|
149906
149789
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
149907
149790
|
|
|
149908
149791
|
"use strict";
|
|
149909
|
-
var __webpack_unused_export__;
|
|
149910
149792
|
|
|
149911
149793
|
const {promisify} = __webpack_require__(28354);
|
|
149912
149794
|
const fs = __webpack_require__(29021);
|
|
@@ -149944,12 +149826,12 @@ function isTypeSync(fsStatType, statsMethodName, filePath) {
|
|
|
149944
149826
|
}
|
|
149945
149827
|
}
|
|
149946
149828
|
|
|
149947
|
-
|
|
149829
|
+
exports.isFile = isType.bind(null, 'stat', 'isFile');
|
|
149948
149830
|
exports.isDirectory = isType.bind(null, 'stat', 'isDirectory');
|
|
149949
|
-
|
|
149950
|
-
|
|
149831
|
+
exports.isSymlink = isType.bind(null, 'lstat', 'isSymbolicLink');
|
|
149832
|
+
exports.isFileSync = isTypeSync.bind(null, 'statSync', 'isFile');
|
|
149951
149833
|
exports.isDirectorySync = isTypeSync.bind(null, 'statSync', 'isDirectory');
|
|
149952
|
-
|
|
149834
|
+
exports.isSymlinkSync = isTypeSync.bind(null, 'lstatSync', 'isSymbolicLink');
|
|
149953
149835
|
|
|
149954
149836
|
|
|
149955
149837
|
/***/ },
|
|
@@ -155176,7 +155058,7 @@ function ReadableState(options, stream) {
|
|
|
155176
155058
|
this.decoder = null;
|
|
155177
155059
|
this.encoding = null;
|
|
155178
155060
|
if (options.encoding) {
|
|
155179
|
-
if (!StringDecoder) StringDecoder = (__webpack_require__(30982)
|
|
155061
|
+
if (!StringDecoder) StringDecoder = (__webpack_require__(30982).StringDecoder);
|
|
155180
155062
|
this.decoder = new StringDecoder(options.encoding);
|
|
155181
155063
|
this.encoding = options.encoding;
|
|
155182
155064
|
}
|
|
@@ -155332,7 +155214,7 @@ Readable.prototype.isPaused = function () {
|
|
|
155332
155214
|
|
|
155333
155215
|
// backwards compatibility.
|
|
155334
155216
|
Readable.prototype.setEncoding = function (enc) {
|
|
155335
|
-
if (!StringDecoder) StringDecoder = (__webpack_require__(30982)
|
|
155217
|
+
if (!StringDecoder) StringDecoder = (__webpack_require__(30982).StringDecoder);
|
|
155336
155218
|
this._readableState.decoder = new StringDecoder(enc);
|
|
155337
155219
|
this._readableState.encoding = enc;
|
|
155338
155220
|
return this;
|
|
@@ -157277,7 +157159,7 @@ createErrorType('ERR_UNKNOWN_ENCODING', function (arg) {
|
|
|
157277
157159
|
}, TypeError);
|
|
157278
157160
|
createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event');
|
|
157279
157161
|
|
|
157280
|
-
module.exports.
|
|
157162
|
+
module.exports.codes = codes;
|
|
157281
157163
|
|
|
157282
157164
|
|
|
157283
157165
|
/***/ },
|
|
@@ -157528,7 +157410,7 @@ var BufferList = __webpack_require__(71117);
|
|
|
157528
157410
|
var destroyImpl = __webpack_require__(69652);
|
|
157529
157411
|
var _require = __webpack_require__(54527),
|
|
157530
157412
|
getHighWaterMark = _require.getHighWaterMark;
|
|
157531
|
-
var _require$codes = (__webpack_require__(96317)
|
|
157413
|
+
var _require$codes = (__webpack_require__(96317).codes),
|
|
157532
157414
|
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
|
|
157533
157415
|
ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF,
|
|
157534
157416
|
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
|
|
@@ -157620,7 +157502,7 @@ function ReadableState(options, stream, isDuplex) {
|
|
|
157620
157502
|
this.decoder = null;
|
|
157621
157503
|
this.encoding = null;
|
|
157622
157504
|
if (options.encoding) {
|
|
157623
|
-
if (!StringDecoder) StringDecoder = (__webpack_require__(65493)
|
|
157505
|
+
if (!StringDecoder) StringDecoder = (__webpack_require__(65493).StringDecoder);
|
|
157624
157506
|
this.decoder = new StringDecoder(options.encoding);
|
|
157625
157507
|
this.encoding = options.encoding;
|
|
157626
157508
|
}
|
|
@@ -157763,7 +157645,7 @@ Readable.prototype.isPaused = function () {
|
|
|
157763
157645
|
|
|
157764
157646
|
// backwards compatibility.
|
|
157765
157647
|
Readable.prototype.setEncoding = function (enc) {
|
|
157766
|
-
if (!StringDecoder) StringDecoder = (__webpack_require__(65493)
|
|
157648
|
+
if (!StringDecoder) StringDecoder = (__webpack_require__(65493).StringDecoder);
|
|
157767
157649
|
var decoder = new StringDecoder(enc);
|
|
157768
157650
|
this._readableState.decoder = decoder;
|
|
157769
157651
|
// If setEncoding(null), decoder.encoding equals utf8
|
|
@@ -158563,7 +158445,7 @@ function indexOf(xs, x) {
|
|
|
158563
158445
|
|
|
158564
158446
|
|
|
158565
158447
|
module.exports = Transform;
|
|
158566
|
-
var _require$codes = (__webpack_require__(96317)
|
|
158448
|
+
var _require$codes = (__webpack_require__(96317).codes),
|
|
158567
158449
|
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
|
|
158568
158450
|
ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
|
|
158569
158451
|
ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING,
|
|
@@ -158770,7 +158652,7 @@ function _isUint8Array(obj) {
|
|
|
158770
158652
|
var destroyImpl = __webpack_require__(69652);
|
|
158771
158653
|
var _require = __webpack_require__(54527),
|
|
158772
158654
|
getHighWaterMark = _require.getHighWaterMark;
|
|
158773
|
-
var _require$codes = (__webpack_require__(96317)
|
|
158655
|
+
var _require$codes = (__webpack_require__(96317).codes),
|
|
158774
158656
|
ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE,
|
|
158775
158657
|
ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED,
|
|
158776
158658
|
ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK,
|
|
@@ -159827,7 +159709,7 @@ module.exports = {
|
|
|
159827
159709
|
|
|
159828
159710
|
|
|
159829
159711
|
|
|
159830
|
-
var ERR_STREAM_PREMATURE_CLOSE = (__webpack_require__(96317)
|
|
159712
|
+
var ERR_STREAM_PREMATURE_CLOSE = (__webpack_require__(96317).codes).ERR_STREAM_PREMATURE_CLOSE;
|
|
159831
159713
|
function once(callback) {
|
|
159832
159714
|
var called = false;
|
|
159833
159715
|
return function () {
|
|
@@ -159924,7 +159806,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
159924
159806
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
159925
159807
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
159926
159808
|
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
159927
|
-
var ERR_INVALID_ARG_TYPE = (__webpack_require__(96317)
|
|
159809
|
+
var ERR_INVALID_ARG_TYPE = (__webpack_require__(96317).codes).ERR_INVALID_ARG_TYPE;
|
|
159928
159810
|
function from(Readable, iterable, opts) {
|
|
159929
159811
|
var iterator;
|
|
159930
159812
|
if (iterable && typeof iterable.next === 'function') {
|
|
@@ -159989,7 +159871,7 @@ function once(callback) {
|
|
|
159989
159871
|
callback.apply(void 0, arguments);
|
|
159990
159872
|
};
|
|
159991
159873
|
}
|
|
159992
|
-
var _require$codes = (__webpack_require__(96317)
|
|
159874
|
+
var _require$codes = (__webpack_require__(96317).codes),
|
|
159993
159875
|
ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS,
|
|
159994
159876
|
ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED;
|
|
159995
159877
|
function noop(err) {
|
|
@@ -160070,7 +159952,7 @@ module.exports = pipeline;
|
|
|
160070
159952
|
"use strict";
|
|
160071
159953
|
|
|
160072
159954
|
|
|
160073
|
-
var ERR_INVALID_OPT_VALUE = (__webpack_require__(96317)
|
|
159955
|
+
var ERR_INVALID_OPT_VALUE = (__webpack_require__(96317).codes).ERR_INVALID_OPT_VALUE;
|
|
160074
159956
|
function highWaterMarkFrom(options, isDuplex, duplexKey) {
|
|
160075
159957
|
return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null;
|
|
160076
159958
|
}
|
|
@@ -160706,7 +160588,7 @@ Auth.prototype.onResponse = function (response) {
|
|
|
160706
160588
|
}
|
|
160707
160589
|
}
|
|
160708
160590
|
|
|
160709
|
-
exports.
|
|
160591
|
+
exports.Auth = Auth
|
|
160710
160592
|
|
|
160711
160593
|
|
|
160712
160594
|
/***/ },
|
|
@@ -161052,7 +160934,7 @@ Har.prototype.options = function (options) {
|
|
|
161052
160934
|
return options
|
|
161053
160935
|
}
|
|
161054
160936
|
|
|
161055
|
-
exports.
|
|
160937
|
+
exports.Har = Har
|
|
161056
160938
|
|
|
161057
160939
|
|
|
161058
160940
|
/***/ },
|
|
@@ -161343,7 +161225,7 @@ Multipart.prototype.onRequest = function (options) {
|
|
|
161343
161225
|
self.body = self.build(parts, chunked)
|
|
161344
161226
|
}
|
|
161345
161227
|
|
|
161346
|
-
exports.
|
|
161228
|
+
exports.Multipart = Multipart
|
|
161347
161229
|
|
|
161348
161230
|
|
|
161349
161231
|
/***/ },
|
|
@@ -161499,7 +161381,7 @@ OAuth.prototype.onRequest = function (_oauth) {
|
|
|
161499
161381
|
}
|
|
161500
161382
|
}
|
|
161501
161383
|
|
|
161502
|
-
exports.
|
|
161384
|
+
exports.OAuth = OAuth
|
|
161503
161385
|
|
|
161504
161386
|
|
|
161505
161387
|
/***/ },
|
|
@@ -161557,7 +161439,7 @@ Querystring.prototype.rfc3986 = function (str) {
|
|
|
161557
161439
|
|
|
161558
161440
|
Querystring.prototype.unescape = querystring.unescape
|
|
161559
161441
|
|
|
161560
|
-
exports.
|
|
161442
|
+
exports.Querystring = Querystring
|
|
161561
161443
|
|
|
161562
161444
|
|
|
161563
161445
|
/***/ },
|
|
@@ -161719,7 +161601,7 @@ Redirect.prototype.onResponse = function (response) {
|
|
|
161719
161601
|
return true
|
|
161720
161602
|
}
|
|
161721
161603
|
|
|
161722
|
-
exports.
|
|
161604
|
+
exports.Redirect = Redirect
|
|
161723
161605
|
|
|
161724
161606
|
|
|
161725
161607
|
/***/ },
|
|
@@ -161902,7 +161784,7 @@ Tunnel.prototype.setup = function (options) {
|
|
|
161902
161784
|
|
|
161903
161785
|
Tunnel.defaultProxyHeaderWhiteList = defaultProxyHeaderWhiteList
|
|
161904
161786
|
Tunnel.defaultProxyHeaderExclusiveList = defaultProxyHeaderExclusiveList
|
|
161905
|
-
exports
|
|
161787
|
+
exports.Tunnel = Tunnel
|
|
161906
161788
|
|
|
161907
161789
|
|
|
161908
161790
|
/***/ },
|
|
@@ -161932,14 +161814,14 @@ var isTypedArray = (__webpack_require__(19780).strict)
|
|
|
161932
161814
|
var helpers = __webpack_require__(71562)
|
|
161933
161815
|
var cookies = __webpack_require__(84052)
|
|
161934
161816
|
var getProxyFromURI = __webpack_require__(76441)
|
|
161935
|
-
var Querystring = (__webpack_require__(9422)
|
|
161936
|
-
var Har = (__webpack_require__(20800)
|
|
161937
|
-
var Auth = (__webpack_require__(51985)
|
|
161938
|
-
var OAuth = (__webpack_require__(3612)
|
|
161817
|
+
var Querystring = (__webpack_require__(9422).Querystring)
|
|
161818
|
+
var Har = (__webpack_require__(20800).Har)
|
|
161819
|
+
var Auth = (__webpack_require__(51985).Auth)
|
|
161820
|
+
var OAuth = (__webpack_require__(3612).OAuth)
|
|
161939
161821
|
var hawk = __webpack_require__(84270)
|
|
161940
|
-
var Multipart = (__webpack_require__(62243)
|
|
161941
|
-
var Redirect = (__webpack_require__(50191)
|
|
161942
|
-
var Tunnel = (__webpack_require__(84581)
|
|
161822
|
+
var Multipart = (__webpack_require__(62243).Multipart)
|
|
161823
|
+
var Redirect = (__webpack_require__(50191).Redirect)
|
|
161824
|
+
var Tunnel = (__webpack_require__(84581).Tunnel)
|
|
161943
161825
|
var now = __webpack_require__(30535)
|
|
161944
161826
|
var Buffer = (__webpack_require__(26859).Buffer)
|
|
161945
161827
|
|
|
@@ -177637,7 +177519,6 @@ function opensshCipherInfo(cipher) {
|
|
|
177637
177519
|
/***/ 11120
|
|
177638
177520
|
(__unused_webpack_module, exports) {
|
|
177639
177521
|
|
|
177640
|
-
var __webpack_unused_export__;
|
|
177641
177522
|
exports.get = function(belowFn) {
|
|
177642
177523
|
var oldLimit = Error.stackTraceLimit;
|
|
177643
177524
|
Error.stackTraceLimit = Infinity;
|
|
@@ -177771,7 +177652,7 @@ boolProperties.forEach(function (property) {
|
|
|
177771
177652
|
}
|
|
177772
177653
|
});
|
|
177773
177654
|
|
|
177774
|
-
|
|
177655
|
+
exports._createParsedCallSite = function(properties) {
|
|
177775
177656
|
return new CallSite(properties);
|
|
177776
177657
|
};
|
|
177777
177658
|
|
|
@@ -178011,7 +177892,7 @@ function normalizeEncoding(enc) {
|
|
|
178011
177892
|
// StringDecoder provides an interface for efficiently splitting a series of
|
|
178012
177893
|
// buffers into a series of JS strings without breaking apart multi-byte
|
|
178013
177894
|
// characters.
|
|
178014
|
-
exports.
|
|
177895
|
+
exports.StringDecoder = StringDecoder;
|
|
178015
177896
|
function StringDecoder(encoding) {
|
|
178016
177897
|
this.encoding = normalizeEncoding(encoding);
|
|
178017
177898
|
var nb;
|
|
@@ -178314,7 +178195,7 @@ function normalizeEncoding(enc) {
|
|
|
178314
178195
|
// StringDecoder provides an interface for efficiently splitting a series of
|
|
178315
178196
|
// buffers into a series of JS strings without breaking apart multi-byte
|
|
178316
178197
|
// characters.
|
|
178317
|
-
exports.
|
|
178198
|
+
exports.StringDecoder = StringDecoder;
|
|
178318
178199
|
function StringDecoder(encoding) {
|
|
178319
178200
|
this.encoding = normalizeEncoding(encoding);
|
|
178320
178201
|
var nb;
|
|
@@ -179694,7 +179575,7 @@ exports.decode = function (buf, filenameEncoding) {
|
|
|
179694
179575
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
179695
179576
|
|
|
179696
179577
|
exports.extract = __webpack_require__(54643)
|
|
179697
|
-
|
|
179578
|
+
exports.pack = __webpack_require__(71069)
|
|
179698
179579
|
|
|
179699
179580
|
|
|
179700
179581
|
/***/ },
|
|
@@ -181396,9 +181277,9 @@ var net = __webpack_require__(91645);
|
|
|
181396
181277
|
var urlParse = (__webpack_require__(79551).parse);
|
|
181397
181278
|
var util = __webpack_require__(28354);
|
|
181398
181279
|
var pubsuffix = __webpack_require__(23980);
|
|
181399
|
-
var Store = (__webpack_require__(32217)
|
|
181400
|
-
var MemoryCookieStore = (__webpack_require__(82028)
|
|
181401
|
-
var pathMatch = (__webpack_require__(88444)
|
|
181280
|
+
var Store = (__webpack_require__(32217).Store);
|
|
181281
|
+
var MemoryCookieStore = (__webpack_require__(82028).MemoryCookieStore);
|
|
181282
|
+
var pathMatch = (__webpack_require__(88444).pathMatch);
|
|
181402
181283
|
var VERSION = __webpack_require__(77468);
|
|
181403
181284
|
|
|
181404
181285
|
var punycode;
|
|
@@ -182882,9 +182763,9 @@ exports.canonicalDomain = canonicalDomain;
|
|
|
182882
182763
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
182883
182764
|
*/
|
|
182884
182765
|
|
|
182885
|
-
var Store = (__webpack_require__(32217)
|
|
182766
|
+
var Store = (__webpack_require__(32217).Store);
|
|
182886
182767
|
var permuteDomain = (__webpack_require__(79874).permuteDomain);
|
|
182887
|
-
var pathMatch = (__webpack_require__(88444)
|
|
182768
|
+
var pathMatch = (__webpack_require__(88444).pathMatch);
|
|
182888
182769
|
var util = __webpack_require__(28354);
|
|
182889
182770
|
|
|
182890
182771
|
function MemoryCookieStore() {
|
|
@@ -182892,7 +182773,7 @@ function MemoryCookieStore() {
|
|
|
182892
182773
|
this.idx = {};
|
|
182893
182774
|
}
|
|
182894
182775
|
util.inherits(MemoryCookieStore, Store);
|
|
182895
|
-
exports.
|
|
182776
|
+
exports.MemoryCookieStore = MemoryCookieStore;
|
|
182896
182777
|
MemoryCookieStore.prototype.idx = null;
|
|
182897
182778
|
|
|
182898
182779
|
// Since it's just a struct in RAM, this Store is synchronous
|
|
@@ -183100,7 +182981,7 @@ function pathMatch (reqPath, cookiePath) {
|
|
|
183100
182981
|
return false;
|
|
183101
182982
|
}
|
|
183102
182983
|
|
|
183103
|
-
exports.
|
|
182984
|
+
exports.pathMatch = pathMatch;
|
|
183104
182985
|
|
|
183105
182986
|
|
|
183106
182987
|
/***/ },
|
|
@@ -183254,7 +183135,7 @@ exports.getPublicSuffix = getPublicSuffix;
|
|
|
183254
183135
|
|
|
183255
183136
|
function Store() {
|
|
183256
183137
|
}
|
|
183257
|
-
exports.
|
|
183138
|
+
exports.Store = Store;
|
|
183258
183139
|
|
|
183259
183140
|
// Stores may be synchronous, but are still required to use a
|
|
183260
183141
|
// Continuation-Passing Style API. The CookieJar itself will expose a "*Sync"
|
|
@@ -183311,7 +183192,6 @@ module.exports = '2.5.0'
|
|
|
183311
183192
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
183312
183193
|
|
|
183313
183194
|
"use strict";
|
|
183314
|
-
var __webpack_unused_export__;
|
|
183315
183195
|
|
|
183316
183196
|
|
|
183317
183197
|
var punycode = __webpack_require__(11997);
|
|
@@ -183495,7 +183375,7 @@ module.exports.toASCII = function(domain_name, useSTD3, processing_option, verif
|
|
|
183495
183375
|
return labels.join(".");
|
|
183496
183376
|
};
|
|
183497
183377
|
|
|
183498
|
-
|
|
183378
|
+
module.exports.toUnicode = function(domain_name, useSTD3) {
|
|
183499
183379
|
var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL);
|
|
183500
183380
|
|
|
183501
183381
|
return {
|
|
@@ -184636,15 +184516,14 @@ function logCloudBaseResult(logger, result) {
|
|
|
184636
184516
|
(__unused_webpack_module, exports) {
|
|
184637
184517
|
|
|
184638
184518
|
"use strict";
|
|
184639
|
-
var __webpack_unused_export__;
|
|
184640
184519
|
|
|
184641
184520
|
/* eslint-disable */
|
|
184642
184521
|
/**
|
|
184643
184522
|
* Generated by scripts/generate-tcb-action-index.mjs from mcp/assets/control-plane/tcb-openapi.yaml.
|
|
184644
184523
|
* Do not edit this file manually.
|
|
184645
184524
|
*/
|
|
184646
|
-
|
|
184647
|
-
|
|
184525
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
184526
|
+
exports.TCB_ACTION_INDEX = exports.TCB_ACTION_INDEX_MAP = void 0;
|
|
184648
184527
|
exports.TCB_ACTION_INDEX_MAP = {
|
|
184649
184528
|
"CheckTcbService": {
|
|
184650
184529
|
"action": "CheckTcbService",
|
|
@@ -185423,7 +185302,7 @@ exports.TCB_ACTION_INDEX_MAP = {
|
|
|
185423
185302
|
"paramsType": "/**\n * 修改文档型数据库表索引信息\n */\ntype UpdateTableParams = {\n /**\n * 待创建索引信息\n */\n \"CreateIndexes\"?: ({\n /**\n * 索引名称\n */\n \"IndexName\"?: string;\n /**\n * 本类型用于接口中描述待创建索引结构\n */\n \"MgoKeySchema\"?: {\n /**\n * 索引字段\n */\n \"MgoIndexKeys\"?: ({\n /**\n * 无\n */\n \"Direction\"?: string;\n /**\n * 无\n */\n \"Name\"?: string;\n })[];\n /**\n * 是否稀疏索引\n */\n \"MgoIsSparse\"?: boolean;\n /**\n * 是否唯一索引\n */\n \"MgoIsUnique\"?: boolean;\n };\n })[];\n /**\n * 待删除索引信息\n */\n \"DropIndexes\"?: ({\n /**\n * 索引名称\n */\n \"IndexName\"?: string;\n })[];\n /**\n * 云开发环境ID\n */\n \"EnvId\"?: string;\n /**\n * MongoDB连接器配置\n */\n \"MongoConnector\"?: {\n /**\n * MongoDB数据库名\n */\n \"DatabaseName\"?: string;\n /**\n * 连接器实例ID\n */\n \"InstanceId\"?: string;\n };\n /**\n * 表名\n */\n \"TableName\": string;\n /**\n * FlexDB实例ID\n */\n \"Tag\"?: string;\n};"
|
|
185424
185303
|
}
|
|
185425
185304
|
};
|
|
185426
|
-
|
|
185305
|
+
exports.TCB_ACTION_INDEX = Object.values(exports.TCB_ACTION_INDEX_MAP);
|
|
185427
185306
|
|
|
185428
185307
|
|
|
185429
185308
|
/***/ },
|
|
@@ -185760,9 +185639,8 @@ Object.defineProperty(exports, "telemetryReporter", ({ enumerable: true, get: fu
|
|
|
185760
185639
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
185761
185640
|
|
|
185762
185641
|
"use strict";
|
|
185763
|
-
var __webpack_unused_export__;
|
|
185764
185642
|
|
|
185765
|
-
|
|
185643
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
185766
185644
|
exports.registerAgentTools = registerAgentTools;
|
|
185767
185645
|
const zod_1 = __webpack_require__(18587);
|
|
185768
185646
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -185984,9 +185862,8 @@ function registerAgentTools(server) {
|
|
|
185984
185862
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
185985
185863
|
|
|
185986
185864
|
"use strict";
|
|
185987
|
-
var __webpack_unused_export__;
|
|
185988
185865
|
|
|
185989
|
-
|
|
185866
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
185990
185867
|
exports.registerAppAuthTools = registerAppAuthTools;
|
|
185991
185868
|
const zod_1 = __webpack_require__(18587);
|
|
185992
185869
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -186593,9 +186470,8 @@ function registerAppAuthTools(server) {
|
|
|
186593
186470
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
186594
186471
|
|
|
186595
186472
|
"use strict";
|
|
186596
|
-
var __webpack_unused_export__;
|
|
186597
186473
|
|
|
186598
|
-
|
|
186474
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
186599
186475
|
exports.registerAppTools = registerAppTools;
|
|
186600
186476
|
const zod_1 = __webpack_require__(18587);
|
|
186601
186477
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -187063,10 +186939,9 @@ function registerAppTools(server) {
|
|
|
187063
186939
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
187064
186940
|
|
|
187065
186941
|
"use strict";
|
|
187066
|
-
var __webpack_unused_export__;
|
|
187067
186942
|
|
|
187068
|
-
|
|
187069
|
-
|
|
186943
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
186944
|
+
exports.buildCapiErrorMessage = buildCapiErrorMessage;
|
|
187070
186945
|
exports.registerCapiTools = registerCapiTools;
|
|
187071
186946
|
const zod_1 = __webpack_require__(18587);
|
|
187072
186947
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -188291,9 +188166,8 @@ for await (let x of res.textStream) {
|
|
|
188291
188166
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
188292
188167
|
|
|
188293
188168
|
"use strict";
|
|
188294
|
-
var __webpack_unused_export__;
|
|
188295
188169
|
|
|
188296
|
-
|
|
188170
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
188297
188171
|
exports.registerDataModelTools = registerDataModelTools;
|
|
188298
188172
|
const zod_1 = __webpack_require__(18587);
|
|
188299
188173
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -189302,9 +189176,8 @@ classDiagram
|
|
|
189302
189176
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
189303
189177
|
|
|
189304
189178
|
"use strict";
|
|
189305
|
-
var __webpack_unused_export__;
|
|
189306
189179
|
|
|
189307
|
-
|
|
189180
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
189308
189181
|
exports.registerDatabaseTools = registerDatabaseTools;
|
|
189309
189182
|
const zod_1 = __webpack_require__(18587);
|
|
189310
189183
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -190254,9 +190127,8 @@ async function deleteDocuments({ collectionName, instanceId, query, isMulti, get
|
|
|
190254
190127
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
190255
190128
|
|
|
190256
190129
|
"use strict";
|
|
190257
|
-
var __webpack_unused_export__;
|
|
190258
190130
|
|
|
190259
|
-
|
|
190131
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
190260
190132
|
exports.registerSQLDatabaseTools = registerSQLDatabaseTools;
|
|
190261
190133
|
const zod_1 = __webpack_require__(18587);
|
|
190262
190134
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -191625,7 +191497,6 @@ function registerDownloadTools(server) {
|
|
|
191625
191497
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
191626
191498
|
|
|
191627
191499
|
"use strict";
|
|
191628
|
-
var __webpack_unused_export__;
|
|
191629
191500
|
|
|
191630
191501
|
/**
|
|
191631
191502
|
* Environment Setup Module
|
|
@@ -191635,10 +191506,10 @@ var __webpack_unused_export__;
|
|
|
191635
191506
|
* - Free environment creation based on promotional activities
|
|
191636
191507
|
* - Error handling and telemetry reporting
|
|
191637
191508
|
*/
|
|
191638
|
-
|
|
191509
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
191639
191510
|
exports.checkAndInitTcbService = checkAndInitTcbService;
|
|
191640
191511
|
exports.checkAndCreateFreeEnv = checkAndCreateFreeEnv;
|
|
191641
|
-
|
|
191512
|
+
exports.getUinForTelemetry = getUinForTelemetry;
|
|
191642
191513
|
const auth_js_1 = __webpack_require__(561);
|
|
191643
191514
|
const logger_js_1 = __webpack_require__(40781);
|
|
191644
191515
|
const telemetry_js_1 = __webpack_require__(5198);
|
|
@@ -193190,29 +193061,7 @@ function registerEnvTools(server) {
|
|
|
193190
193061
|
});
|
|
193191
193062
|
} // end: wxide guard for auth tool
|
|
193192
193063
|
// queryEnv - 环境查询(合并 listEnvs + getEnvInfo + getEnvAuthDomains)
|
|
193193
|
-
|
|
193194
|
-
title: "CloudBase 环境查询",
|
|
193195
|
-
description: "查询 CloudBase 环境相关信息,支持查询环境列表、指定环境详情和安全域名。(曾用名:envQuery、listEnvs、getEnvInfo、getEnvAuthDomains)当 action=list 时,会按 DescribeEnvs 语义做列表/筛选,标准返回字段为 EnvId、Alias、Status、EnvType、Region、PackageId、PackageName、IsDefault,并支持通过 fields 白名单裁剪这些字段;aliasExact=true 时会按别名精确筛选,避免把前缀相近的环境误当作候选;即使传入 envId,action=list 也只返回摘要,不会返回完整资源明细或 expiry。如需查询某个已知 EnvId 对应环境的详细信息(包括资源字段和计费信息),必须使用 action=info 并传入目标环境的 envId 参数。action=info 会在可用时补充 BillingInfo(如 ExpireTime、PayMode、IsAutoRenew 等计费字段)。",
|
|
193196
|
-
inputSchema: {
|
|
193197
|
-
action: zod_1.z
|
|
193198
|
-
.enum(["list", "info", "domains"])
|
|
193199
|
-
.describe("查询类型:list=环境列表/摘要筛选(按 DescribeEnvs 语义筛选,支持通过 envId 筛选,返回 EnvId、Alias、Status、EnvType、Region、PackageId、PackageName、IsDefault,不支持 expiry),info=指定环境的详细信息(必须传入 envId,返回资源字段和计费信息),domains=安全域名列表"),
|
|
193200
|
-
alias: zod_1.z.string().optional().describe("按环境别名筛选。action=list 时可选"),
|
|
193201
|
-
aliasExact: zod_1.z.boolean().optional().describe("按环境别名精确筛选。action=list 时可选;与 alias 配合使用"),
|
|
193202
|
-
envId: zod_1.z.string().optional().describe("按环境 ID 筛选。action=list 时可选(仅按 DescribeEnvs 语义做筛选,仍返回摘要);action=info 时必填(返回该环境的详细信息,包含资源字段和计费信息)。如果任务已经给出了明确的 EnvId 并要求查询详情,请直接使用 action=info + envId,而不是 action=list"),
|
|
193203
|
-
limit: zod_1.z.number().int().positive().optional().describe("返回数量上限。action=list 时可选"),
|
|
193204
|
-
offset: zod_1.z.number().int().min(0).optional().describe("分页偏移。action=list 时可选"),
|
|
193205
|
-
fields: zod_1.z
|
|
193206
|
-
.array(zod_1.z.enum(DEFAULT_ENV_FIELDS))
|
|
193207
|
-
.optional()
|
|
193208
|
-
.describe("返回字段白名单。仅支持 EnvId、Alias、Status、EnvType、Region、PackageId、PackageName、IsDefault。action=list 时可选"),
|
|
193209
|
-
},
|
|
193210
|
-
annotations: {
|
|
193211
|
-
readOnlyHint: true,
|
|
193212
|
-
openWorldHint: true,
|
|
193213
|
-
category: "env",
|
|
193214
|
-
},
|
|
193215
|
-
}, async ({ action, alias, aliasExact, envId, limit, offset, fields, }) => {
|
|
193064
|
+
const queryEnvHandler = async ({ action, alias, aliasExact, envId, limit, offset, fields, }) => {
|
|
193216
193065
|
try {
|
|
193217
193066
|
let result;
|
|
193218
193067
|
switch (action) {
|
|
@@ -193394,7 +193243,34 @@ function registerEnvTools(server) {
|
|
|
193394
193243
|
],
|
|
193395
193244
|
};
|
|
193396
193245
|
}
|
|
193397
|
-
}
|
|
193246
|
+
};
|
|
193247
|
+
// Register primary tool name (queryEnv)
|
|
193248
|
+
const queryEnvToolSchema = {
|
|
193249
|
+
title: "CloudBase 环境查询",
|
|
193250
|
+
description: "查询 CloudBase 环境相关信息,支持查询环境列表、指定环境详情和安全域名。(曾用名:envQuery、listEnvs、getEnvInfo、getEnvAuthDomains)当 action=list 时,会按 DescribeEnvs 语义做列表/筛选,标准返回字段为 EnvId、Alias、Status、EnvType、Region、PackageId、PackageName、IsDefault,并支持通过 fields 白名单裁剪这些字段;aliasExact=true 时会按别名精确筛选,避免把前缀相近的环境误当作候选;即使传入 envId,action=list 也只返回摘要,不会返回完整资源明细或 expiry。如需查询某个已知 EnvId 对应环境的详细信息(包括资源字段和计费信息),必须使用 action=info 并传入目标环境的 envId 参数。action=info 会在可用时补充 BillingInfo(如 ExpireTime、PayMode、IsAutoRenew 等计费字段)。",
|
|
193251
|
+
inputSchema: {
|
|
193252
|
+
action: zod_1.z
|
|
193253
|
+
.enum(["list", "info", "domains"])
|
|
193254
|
+
.describe("查询类型:list=环境列表/摘要筛选(按 DescribeEnvs 语义筛选,支持通过 envId 筛选,返回 EnvId、Alias、Status、EnvType、Region、PackageId、PackageName、IsDefault,不支持 expiry),info=指定环境的详细信息(必须传入 envId,返回资源字段和计费信息),domains=安全域名列表"),
|
|
193255
|
+
alias: zod_1.z.string().optional().describe("按环境别名筛选。action=list 时可选"),
|
|
193256
|
+
aliasExact: zod_1.z.boolean().optional().describe("按环境别名精确筛选。action=list 时可选;与 alias 配合使用"),
|
|
193257
|
+
envId: zod_1.z.string().optional().describe("按环境 ID 筛选。action=list 时可选(仅按 DescribeEnvs 语义做筛选,仍返回摘要);action=info 时必填(返回该环境的详细信息,包含资源字段和计费信息)。如果任务已经给出了明确的 EnvId 并要求查询详情,请直接使用 action=info + envId,而不是 action=list"),
|
|
193258
|
+
limit: zod_1.z.number().int().positive().optional().describe("返回数量上限。action=list 时可选"),
|
|
193259
|
+
offset: zod_1.z.number().int().min(0).optional().describe("分页偏移。action=list 时可选"),
|
|
193260
|
+
fields: zod_1.z
|
|
193261
|
+
.array(zod_1.z.enum(DEFAULT_ENV_FIELDS))
|
|
193262
|
+
.optional()
|
|
193263
|
+
.describe("返回字段白名单。仅支持 EnvId、Alias、Status、EnvType、Region、PackageId、PackageName、IsDefault。action=list 时可选"),
|
|
193264
|
+
},
|
|
193265
|
+
annotations: {
|
|
193266
|
+
readOnlyHint: true,
|
|
193267
|
+
openWorldHint: true,
|
|
193268
|
+
category: "env",
|
|
193269
|
+
},
|
|
193270
|
+
};
|
|
193271
|
+
server.registerTool?.("queryEnv", queryEnvToolSchema, queryEnvHandler);
|
|
193272
|
+
// 向后兼容:envQuery 作为 queryEnv 的别名注册
|
|
193273
|
+
server.registerTool?.("envQuery", queryEnvToolSchema, queryEnvHandler);
|
|
193398
193274
|
// envDomainManagement - 环境域名管理(合并 createEnvDomain + deleteEnvDomain)
|
|
193399
193275
|
// 微信 IDE 场景不需要域名管理
|
|
193400
193276
|
if (server.ide !== 'wxide') {
|
|
@@ -194639,7 +194515,7 @@ function registerFunctionTools(server) {
|
|
|
194639
194515
|
inputSchema: {
|
|
194640
194516
|
action: zod_1.z
|
|
194641
194517
|
.enum(exports.MANAGE_FUNCTION_ACTIONS)
|
|
194642
|
-
.describe("写操作类型,例如 createFunction、updateFunctionCode、invokeFunction、deleteFunction、" +
|
|
194518
|
+
.describe("写操作类型,例如 createFunction、updateFunctionCode、incrementalDeployFunction、invokeFunction、deleteFunction、" +
|
|
194643
194519
|
"createFunctionTrigger(定时任务 / cron / timer)、deleteFunctionTrigger、attachLayer、detachLayer"),
|
|
194644
194520
|
func: CREATE_FUNCTION_SCHEMA.optional().describe("createFunction 操作的函数配置"),
|
|
194645
194521
|
functionRootPath: zod_1.z.string().optional().describe("创建或更新函数代码时默认推荐的本地目录方式。" +
|
|
@@ -194675,6 +194551,7 @@ function registerFunctionTools(server) {
|
|
|
194675
194551
|
.describe("updateFunctionLayers 的目标层列表,顺序即最终顺序"),
|
|
194676
194552
|
codeSecret: zod_1.z.string().optional().describe("层绑定时的代码保护密钥"),
|
|
194677
194553
|
confirm: zod_1.z.boolean().optional().describe("危险操作确认开关。deleteFunction、deleteFunctionTrigger、deleteLayerVersion、detachLayer 等删除类操作需要显式传入 confirm=true"),
|
|
194554
|
+
incrementalFile: zod_1.z.string().optional().describe("incrementalDeployFunction 增量部署时的变更文件路径"),
|
|
194678
194555
|
},
|
|
194679
194556
|
annotations: {
|
|
194680
194557
|
readOnlyHint: false,
|
|
@@ -194693,9 +194570,8 @@ function registerFunctionTools(server) {
|
|
|
194693
194570
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
194694
194571
|
|
|
194695
194572
|
"use strict";
|
|
194696
|
-
var __webpack_unused_export__;
|
|
194697
194573
|
|
|
194698
|
-
|
|
194574
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
194699
194575
|
exports.registerGatewayTools = registerGatewayTools;
|
|
194700
194576
|
const zod_1 = __webpack_require__(18587);
|
|
194701
194577
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -195503,13 +195379,16 @@ async function resolveHostingStaticDomain(cloudbase, logger) {
|
|
|
195503
195379
|
return undefined;
|
|
195504
195380
|
}
|
|
195505
195381
|
}
|
|
195506
|
-
|
|
195382
|
+
// Returns the first hosting store record from DescribeStaticStore, which is
|
|
195383
|
+
// the authoritative source for Mini Program-sourced environments (those envs
|
|
195384
|
+
// do not populate StaticStorages in DescribeEnvs / getEnvInfo).
|
|
195385
|
+
// Throws when no valid store is found so upload can fail fast with a clear msg.
|
|
195386
|
+
async function getHostingStoreOrThrow(cloudbase, cloudBaseOptions, logger) {
|
|
195507
195387
|
const envId = await (0, cloudbase_manager_js_1.getEnvId)(cloudBaseOptions);
|
|
195508
|
-
const
|
|
195509
|
-
|
|
195510
|
-
|
|
195511
|
-
|
|
195512
|
-
return;
|
|
195388
|
+
const result = await callTcbHostingAction(cloudbase, 'DescribeStaticStore', { EnvId: envId }, logger);
|
|
195389
|
+
const hostingInfo = extractStaticStores(result);
|
|
195390
|
+
if (hostingInfo.length > 0 && hostingInfo[0].Bucket) {
|
|
195391
|
+
return hostingInfo[0];
|
|
195513
195392
|
}
|
|
195514
195393
|
throw new Error(`当前环境 ${envId} 未发现静态托管资源配置,无法上传文件。请先确认 MCP 已绑定到已开通静态托管的 CloudBase 环境;如需切换环境,请调用 auth(action="set_env", envId="目标环境ID") 后重试。`);
|
|
195515
195394
|
}
|
|
@@ -195717,8 +195596,9 @@ function registerHostingTools(server) {
|
|
|
195717
195596
|
throw new Error('manageHosting(action="upload") 需要提供 localPath + cloudPath,或提供 files 多文件上传列表。');
|
|
195718
195597
|
}
|
|
195719
195598
|
let result;
|
|
195599
|
+
let store;
|
|
195720
195600
|
try {
|
|
195721
|
-
await
|
|
195601
|
+
store = await getHostingStoreOrThrow(cloudbase, cloudBaseOptions, server.logger);
|
|
195722
195602
|
result = await cloudbase.hosting.uploadFiles({
|
|
195723
195603
|
localPath: input.localPath,
|
|
195724
195604
|
cloudPath: input.cloudPath,
|
|
@@ -195730,7 +195610,11 @@ function registerHostingTools(server) {
|
|
|
195730
195610
|
throw new Error(buildUploadErrorMessage(error, input.localPath));
|
|
195731
195611
|
}
|
|
195732
195612
|
(0, cloudbase_manager_js_1.logCloudBaseResult)(server.logger, result);
|
|
195733
|
-
|
|
195613
|
+
// Prefer CdnDomain from the DescribeStaticStore result we already
|
|
195614
|
+
// fetched; fall back to getEnvInfo for environments that populate
|
|
195615
|
+
// StaticDomain there but not in DescribeStaticStore.
|
|
195616
|
+
const cdnFromStore = (store.CdnDomain ?? store.StaticDomain);
|
|
195617
|
+
const staticDomain = cdnFromStore || await resolveHostingStaticDomain(cloudbase, server.logger);
|
|
195734
195618
|
const accessUrl = buildHostingAccessUrl(staticDomain, input.cloudPath, input.localPath);
|
|
195735
195619
|
try {
|
|
195736
195620
|
const envId = await (0, cloudbase_manager_js_1.getEnvId)(cloudBaseOptions);
|
|
@@ -195971,9 +195855,8 @@ function registerHostingTools(server) {
|
|
|
195971
195855
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
195972
195856
|
|
|
195973
195857
|
"use strict";
|
|
195974
|
-
var __webpack_unused_export__;
|
|
195975
195858
|
|
|
195976
|
-
|
|
195859
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
195977
195860
|
exports.registerInviteCodeTools = registerInviteCodeTools;
|
|
195978
195861
|
const zod_1 = __webpack_require__(18587);
|
|
195979
195862
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -196037,9 +195920,8 @@ function registerInviteCodeTools(server) {
|
|
|
196037
195920
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
196038
195921
|
|
|
196039
195922
|
"use strict";
|
|
196040
|
-
var __webpack_unused_export__;
|
|
196041
195923
|
|
|
196042
|
-
|
|
195924
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
196043
195925
|
exports.registerLogTools = registerLogTools;
|
|
196044
195926
|
const zod_1 = __webpack_require__(18587);
|
|
196045
195927
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -196173,9 +196055,8 @@ function registerLogTools(server) {
|
|
|
196173
196055
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
196174
196056
|
|
|
196175
196057
|
"use strict";
|
|
196176
|
-
var __webpack_unused_export__;
|
|
196177
196058
|
|
|
196178
|
-
|
|
196059
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
196179
196060
|
exports.registerPermissionTools = registerPermissionTools;
|
|
196180
196061
|
const zod_1 = __webpack_require__(18587);
|
|
196181
196062
|
const cloudbase_manager_js_1 = __webpack_require__(33109);
|
|
@@ -197985,7 +197866,7 @@ function registerSetupTools(server) {
|
|
|
197985
197866
|
server.registerTool("downloadTemplate", {
|
|
197986
197867
|
title: "下载项目模板",
|
|
197987
197868
|
description: `自动下载并部署CloudBase项目模板。
|
|
197988
|
-
**Note**: Call this tool when the user requests to create a new project using a CloudBase template.\n\n支持的模板:\n- react: React + CloudBase 全栈应用模板\n- vue: Vue + CloudBase 全栈应用模板\n- miniprogram: 微信小程序 + 云开发模板 \n- uniapp: UniApp + CloudBase 跨端应用模板\n- rules: 只包含AI编辑器配置文件(包含Cursor、WindSurf、CodeBuddy等所有主流编辑器配置),适合在已有项目中补充AI编辑器配置\n\n支持的IDE类型:\n- all: 下载所有IDE配置\n- cursor: Cursor AI编辑器\n- 其他IDE类型见下方列表\n\n注意:如果未传入 ide 参数且无法从环境变量检测到 IDE,将提示错误并要求传入 ide 参数\n- windsurf: WindSurf AI编辑器\n- codebuddy: CodeBuddy AI编辑器\n- claude-code: Claude Code AI编辑器\n- cline: Cline AI编辑器\n- gemini-cli: Gemini CLI\n- opencode: OpenCode AI编辑器\n- qwen-code: 通义灵码\n- baidu-comate: 百度Comate\n- openai-codex-cli: OpenAI Codex CLI\n- augment-code: Augment Code\n- github-copilot: GitHub Copilot\n- roocode: RooCode AI编辑器\n- tongyi-lingma: 通义灵码\n- trae: Trae AI编辑器\n- qoder: Qoder AI编辑器\n- antigravity: Google Antigravity AI编辑器\n- vscode: Visual Studio Code\n- kiro: Kiro AI编辑器\n- aider: Aider AI编辑器\n\n特别说明:\n- rules 模板会自动包含当前 mcp 版本号信息(版本号:${ true ? "2.21.1-beta.
|
|
197869
|
+
**Note**: Call this tool when the user requests to create a new project using a CloudBase template.\n\n支持的模板:\n- react: React + CloudBase 全栈应用模板\n- vue: Vue + CloudBase 全栈应用模板\n- miniprogram: 微信小程序 + 云开发模板 \n- uniapp: UniApp + CloudBase 跨端应用模板\n- rules: 只包含AI编辑器配置文件(包含Cursor、WindSurf、CodeBuddy等所有主流编辑器配置),适合在已有项目中补充AI编辑器配置\n\n支持的IDE类型:\n- all: 下载所有IDE配置\n- cursor: Cursor AI编辑器\n- 其他IDE类型见下方列表\n\n注意:如果未传入 ide 参数且无法从环境变量检测到 IDE,将提示错误并要求传入 ide 参数\n- windsurf: WindSurf AI编辑器\n- codebuddy: CodeBuddy AI编辑器\n- claude-code: Claude Code AI编辑器\n- cline: Cline AI编辑器\n- gemini-cli: Gemini CLI\n- opencode: OpenCode AI编辑器\n- qwen-code: 通义灵码\n- baidu-comate: 百度Comate\n- openai-codex-cli: OpenAI Codex CLI\n- augment-code: Augment Code\n- github-copilot: GitHub Copilot\n- roocode: RooCode AI编辑器\n- tongyi-lingma: 通义灵码\n- trae: Trae AI编辑器\n- qoder: Qoder AI编辑器\n- antigravity: Google Antigravity AI编辑器\n- vscode: Visual Studio Code\n- kiro: Kiro AI编辑器\n- aider: Aider AI编辑器\n\n特别说明:\n- rules 模板会自动包含当前 mcp 版本号信息(版本号:${ true ? "2.21.1-beta.2" : 0}),便于后续维护和版本追踪\n- 下载 rules 模板时,如果项目中已存在 README.md 文件,系统会自动保护该文件不被覆盖(除非设置 overwrite=true)`,
|
|
197989
197870
|
inputSchema: {
|
|
197990
197871
|
template: zod_1.z
|
|
197991
197872
|
.enum(["react", "vue", "miniprogram", "uniapp", "rules"])
|
|
@@ -198359,10 +198240,24 @@ function registerStorageTools(server) {
|
|
|
198359
198240
|
};
|
|
198360
198241
|
}
|
|
198361
198242
|
case 'url': {
|
|
198362
|
-
|
|
198243
|
+
let temporaryUrl = "";
|
|
198244
|
+
let fileId = "";
|
|
198245
|
+
if (storageOverrides?.getFileUrl) {
|
|
198246
|
+
const urlResult = await storageOverrides.getFileUrl({
|
|
198363
198247
|
cloudPath: input.cloudPath,
|
|
198364
|
-
maxAge: input.maxAge || 3600
|
|
198365
|
-
}
|
|
198248
|
+
maxAge: input.maxAge || 3600,
|
|
198249
|
+
});
|
|
198250
|
+
temporaryUrl = urlResult.url;
|
|
198251
|
+
fileId = urlResult.fileId || "";
|
|
198252
|
+
}
|
|
198253
|
+
else {
|
|
198254
|
+
const result = await storageService.getTemporaryUrl([{
|
|
198255
|
+
cloudPath: input.cloudPath,
|
|
198256
|
+
maxAge: input.maxAge || 3600
|
|
198257
|
+
}]);
|
|
198258
|
+
temporaryUrl = result[0]?.url || "";
|
|
198259
|
+
fileId = result[0]?.fileId || "";
|
|
198260
|
+
}
|
|
198366
198261
|
const publicAccess = await resolveStoragePublicAccess({
|
|
198367
198262
|
cloudPath: input.cloudPath,
|
|
198368
198263
|
cloudBaseOptions,
|
|
@@ -198377,9 +198272,9 @@ function registerStorageTools(server) {
|
|
|
198377
198272
|
data: {
|
|
198378
198273
|
action: 'url',
|
|
198379
198274
|
cloudPath: input.cloudPath,
|
|
198380
|
-
temporaryUrl
|
|
198275
|
+
temporaryUrl,
|
|
198381
198276
|
expireTime: `${input.maxAge || 3600}秒`,
|
|
198382
|
-
fileId
|
|
198277
|
+
fileId,
|
|
198383
198278
|
storageCdnDomain: publicAccess.storageCdnDomain,
|
|
198384
198279
|
publicUrl: publicAccess.publicUrl,
|
|
198385
198280
|
note: "temporaryUrl 是临时签名链接,会按 expireTime 过期。publicUrl 基于 DescribeEnvs 返回的 Storages[0].CdnDomain 推导,⚠️ 仅在存储桶 ACL 为公有读(所有用户可读)时才能被匿名访问;默认私有读写存储桶返回的 publicUrl 会 403,此时请继续使用 temporaryUrl 或先将目标路径设置为公有读。"
|
|
@@ -198484,15 +198379,42 @@ function registerStorageTools(server) {
|
|
|
198484
198379
|
});
|
|
198485
198380
|
}
|
|
198486
198381
|
}
|
|
198487
|
-
|
|
198382
|
+
// 上传成功后获取临时 URL 和公网访问信息
|
|
198383
|
+
let temporaryUrl = "";
|
|
198384
|
+
let fileId = "";
|
|
198385
|
+
if (storageOverrides?.getFileUrl) {
|
|
198386
|
+
const urlResult = await storageOverrides.getFileUrl({
|
|
198488
198387
|
cloudPath: input.cloudPath,
|
|
198489
|
-
maxAge: 3600
|
|
198490
|
-
}
|
|
198491
|
-
|
|
198492
|
-
|
|
198493
|
-
|
|
198494
|
-
|
|
198495
|
-
|
|
198388
|
+
maxAge: 3600,
|
|
198389
|
+
});
|
|
198390
|
+
temporaryUrl = urlResult.url;
|
|
198391
|
+
fileId = urlResult.fileId || "";
|
|
198392
|
+
}
|
|
198393
|
+
else {
|
|
198394
|
+
try {
|
|
198395
|
+
const fileUrls = await storageService.getTemporaryUrl([{
|
|
198396
|
+
cloudPath: input.cloudPath,
|
|
198397
|
+
maxAge: 3600
|
|
198398
|
+
}]);
|
|
198399
|
+
temporaryUrl = fileUrls[0]?.url || "";
|
|
198400
|
+
fileId = fileUrls[0]?.fileId || "";
|
|
198401
|
+
}
|
|
198402
|
+
catch {
|
|
198403
|
+
// StorageOverrides 下 getTemporaryUrl 可能不可用
|
|
198404
|
+
}
|
|
198405
|
+
}
|
|
198406
|
+
let publicAccess = {};
|
|
198407
|
+
try {
|
|
198408
|
+
publicAccess = await resolveStoragePublicAccess({
|
|
198409
|
+
cloudPath: input.cloudPath,
|
|
198410
|
+
cloudBaseOptions,
|
|
198411
|
+
manager,
|
|
198412
|
+
});
|
|
198413
|
+
}
|
|
198414
|
+
catch {
|
|
198415
|
+
// DescribeEnvs 可能不支持(IDE 模式下会绕过)
|
|
198416
|
+
publicAccess = {};
|
|
198417
|
+
}
|
|
198496
198418
|
return {
|
|
198497
198419
|
content: [
|
|
198498
198420
|
{
|
|
@@ -198504,7 +198426,7 @@ function registerStorageTools(server) {
|
|
|
198504
198426
|
localPath: input.localPath,
|
|
198505
198427
|
cloudPath: input.cloudPath,
|
|
198506
198428
|
isDirectory: input.isDirectory,
|
|
198507
|
-
temporaryUrl
|
|
198429
|
+
temporaryUrl,
|
|
198508
198430
|
expireTime: "1小时",
|
|
198509
198431
|
storageCdnDomain: publicAccess.storageCdnDomain,
|
|
198510
198432
|
publicUrl: publicAccess.publicUrl,
|
|
@@ -198715,9 +198637,8 @@ function shouldRegisterTool(toolName) {
|
|
|
198715
198637
|
(__unused_webpack_module, exports) {
|
|
198716
198638
|
|
|
198717
198639
|
"use strict";
|
|
198718
|
-
var __webpack_unused_export__;
|
|
198719
198640
|
|
|
198720
|
-
|
|
198641
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
198721
198642
|
exports.jsonContent = jsonContent;
|
|
198722
198643
|
function jsonContent(body) {
|
|
198723
198644
|
return {
|
|
@@ -198867,9 +198788,8 @@ exports.error = error;
|
|
|
198867
198788
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
198868
198789
|
|
|
198869
198790
|
"use strict";
|
|
198870
|
-
var __webpack_unused_export__;
|
|
198871
198791
|
|
|
198872
|
-
|
|
198792
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
198873
198793
|
exports.sendDeployNotification = sendDeployNotification;
|
|
198874
198794
|
const logger_js_1 = __webpack_require__(40781);
|
|
198875
198795
|
/**
|
|
@@ -199158,7 +199078,7 @@ class TelemetryReporter {
|
|
|
199158
199078
|
const nodeVersion = process.version; // Node.js版本
|
|
199159
199079
|
const arch = os_1.default.arch(); // 系统架构
|
|
199160
199080
|
// 从构建时注入的版本号获取MCP版本信息
|
|
199161
|
-
const mcpVersion = process.env.npm_package_version || "2.21.1-beta.
|
|
199081
|
+
const mcpVersion = process.env.npm_package_version || "2.21.1-beta.2" || 0;
|
|
199162
199082
|
return {
|
|
199163
199083
|
userAgent: `${osType} ${osRelease} ${arch} ${nodeVersion} CloudBase-MCP/${mcpVersion}`,
|
|
199164
199084
|
deviceId: this.deviceId,
|
|
@@ -199443,11 +199363,10 @@ exports.reportToolkitLifecycle = reportToolkitLifecycle;
|
|
|
199443
199363
|
(__unused_webpack_module, exports) {
|
|
199444
199364
|
|
|
199445
199365
|
"use strict";
|
|
199446
|
-
var __webpack_unused_export__;
|
|
199447
199366
|
|
|
199448
|
-
|
|
199367
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
199449
199368
|
exports.isInternationalRegion = void 0;
|
|
199450
|
-
|
|
199369
|
+
exports.isValidRegion = isValidRegion;
|
|
199451
199370
|
const REGION = {
|
|
199452
199371
|
SHANGHAI: 'ap-shanghai',
|
|
199453
199372
|
SINGAPORE: 'ap-singapore',
|
|
@@ -199465,10 +199384,9 @@ function isValidRegion(region) {
|
|
|
199465
199384
|
(__unused_webpack_module, exports) {
|
|
199466
199385
|
|
|
199467
199386
|
"use strict";
|
|
199468
|
-
var __webpack_unused_export__;
|
|
199469
199387
|
|
|
199470
|
-
|
|
199471
|
-
|
|
199388
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
199389
|
+
exports.ToolPayloadError = void 0;
|
|
199472
199390
|
exports.buildJsonToolResult = buildJsonToolResult;
|
|
199473
199391
|
exports.isToolPayloadError = isToolPayloadError;
|
|
199474
199392
|
exports.toolPayloadErrorToResult = toolPayloadErrorToResult;
|
|
@@ -199492,7 +199410,7 @@ class ToolPayloadError extends Error {
|
|
|
199492
199410
|
this.payload = payload;
|
|
199493
199411
|
}
|
|
199494
199412
|
}
|
|
199495
|
-
|
|
199413
|
+
exports.ToolPayloadError = ToolPayloadError;
|
|
199496
199414
|
function isToolPayloadError(error) {
|
|
199497
199415
|
return error instanceof ToolPayloadError;
|
|
199498
199416
|
}
|
|
@@ -199580,7 +199498,7 @@ ${envIdSection}
|
|
|
199580
199498
|
## 环境信息
|
|
199581
199499
|
- 操作系统: ${os_1.default.type()} ${os_1.default.release()}
|
|
199582
199500
|
- Node.js版本: ${process.version}
|
|
199583
|
-
- MCP 版本:${process.env.npm_package_version || "2.21.1-beta.
|
|
199501
|
+
- MCP 版本:${process.env.npm_package_version || "2.21.1-beta.2" || 0}
|
|
199584
199502
|
- 系统架构: ${os_1.default.arch()}
|
|
199585
199503
|
- 时间: ${new Date().toISOString()}
|
|
199586
199504
|
- 请求ID: ${requestId}
|
|
@@ -199661,7 +199579,7 @@ function createWrappedHandler(name, handler, server) {
|
|
|
199661
199579
|
requestId: (typeof error === 'object' && error && 'requestId' in error) ? error.requestId : '',
|
|
199662
199580
|
ide: server.ide || process.env.INTEGRATION_IDE || ''
|
|
199663
199581
|
});
|
|
199664
|
-
const mcpVersion = true ? "2.21.1-beta.
|
|
199582
|
+
const mcpVersion = true ? "2.21.1-beta.2" : 0;
|
|
199665
199583
|
const requestIdSuffix = requestId ? `\n🆔 RequestId: ${requestId}` : '';
|
|
199666
199584
|
const enhancedErrorMessage = `${errorMessage}${requestIdSuffix}\n\n📦 CloudBase MCP v${mcpVersion}\n🔗 遇到问题?请复制以下链接到浏览器打开\n即可自动携带错误详情快速创建 GitHub Issue:\n${issueLink}`;
|
|
199667
199585
|
// 创建新的错误对象,保持原有的错误类型但更新消息
|
|
@@ -205954,26 +205872,29 @@ module.exports = v4;
|
|
|
205954
205872
|
|
|
205955
205873
|
/***/ },
|
|
205956
205874
|
|
|
205957
|
-
/***/
|
|
205875
|
+
/***/ 79893
|
|
205958
205876
|
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
205959
205877
|
|
|
205960
205878
|
"use strict";
|
|
205879
|
+
// ESM COMPAT FLAG
|
|
205880
|
+
__webpack_require__.r(__webpack_exports__);
|
|
205961
205881
|
|
|
205962
205882
|
// EXPORTS
|
|
205963
205883
|
__webpack_require__.d(__webpack_exports__, {
|
|
205964
|
-
|
|
205884
|
+
NIL: () => (/* reexport */ nil),
|
|
205885
|
+
parse: () => (/* reexport */ esm_node_parse),
|
|
205886
|
+
stringify: () => (/* reexport */ esm_node_stringify),
|
|
205887
|
+
v1: () => (/* reexport */ esm_node_v1),
|
|
205888
|
+
v3: () => (/* reexport */ esm_node_v3),
|
|
205889
|
+
v4: () => (/* reexport */ esm_node_v4),
|
|
205890
|
+
v5: () => (/* reexport */ esm_node_v5),
|
|
205891
|
+
validate: () => (/* reexport */ esm_node_validate),
|
|
205892
|
+
version: () => (/* reexport */ esm_node_version)
|
|
205965
205893
|
});
|
|
205966
205894
|
|
|
205967
|
-
// UNUSED EXPORTS: NIL, parse, stringify, v1, v3, v5, validate, version
|
|
205968
|
-
|
|
205969
205895
|
// EXTERNAL MODULE: external "crypto"
|
|
205970
205896
|
var external_crypto_ = __webpack_require__(55511);
|
|
205971
205897
|
var external_crypto_default = /*#__PURE__*/__webpack_require__.n(external_crypto_);
|
|
205972
|
-
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/native.js
|
|
205973
|
-
|
|
205974
|
-
/* harmony default export */ const esm_node_native = ({
|
|
205975
|
-
randomUUID: (external_crypto_default()).randomUUID
|
|
205976
|
-
});
|
|
205977
205898
|
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/rng.js
|
|
205978
205899
|
|
|
205979
205900
|
const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
|
|
@@ -205987,8 +205908,17 @@ function rng() {
|
|
|
205987
205908
|
|
|
205988
205909
|
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
|
205989
205910
|
}
|
|
205911
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/regex.js
|
|
205912
|
+
/* harmony default export */ const regex = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);
|
|
205913
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/validate.js
|
|
205914
|
+
|
|
205915
|
+
|
|
205916
|
+
function validate(uuid) {
|
|
205917
|
+
return typeof uuid === 'string' && regex.test(uuid);
|
|
205918
|
+
}
|
|
205919
|
+
|
|
205920
|
+
/* harmony default export */ const esm_node_validate = (validate);
|
|
205990
205921
|
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/stringify.js
|
|
205991
|
-
/* unused harmony import specifier */ var validate;
|
|
205992
205922
|
|
|
205993
205923
|
/**
|
|
205994
205924
|
* Convert array of 16 byte values to UUID string format of the form:
|
|
@@ -206014,14 +205944,237 @@ function stringify(arr, offset = 0) {
|
|
|
206014
205944
|
// "undefined" in the uuid)
|
|
206015
205945
|
// - Invalid input values for the RFC `version` or `variant` fields
|
|
206016
205946
|
|
|
206017
|
-
if (!
|
|
205947
|
+
if (!esm_node_validate(uuid)) {
|
|
206018
205948
|
throw TypeError('Stringified UUID is invalid');
|
|
206019
205949
|
}
|
|
206020
205950
|
|
|
206021
205951
|
return uuid;
|
|
206022
205952
|
}
|
|
206023
205953
|
|
|
206024
|
-
/* harmony default export */ const esm_node_stringify = (
|
|
205954
|
+
/* harmony default export */ const esm_node_stringify = (stringify);
|
|
205955
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/v1.js
|
|
205956
|
+
|
|
205957
|
+
// **`v1()` - Generate time-based UUID**
|
|
205958
|
+
//
|
|
205959
|
+
// Inspired by https://github.com/LiosK/UUID.js
|
|
205960
|
+
// and http://docs.python.org/library/uuid.html
|
|
205961
|
+
|
|
205962
|
+
let _nodeId;
|
|
205963
|
+
|
|
205964
|
+
let _clockseq; // Previous uuid creation time
|
|
205965
|
+
|
|
205966
|
+
|
|
205967
|
+
let _lastMSecs = 0;
|
|
205968
|
+
let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details
|
|
205969
|
+
|
|
205970
|
+
function v1(options, buf, offset) {
|
|
205971
|
+
let i = buf && offset || 0;
|
|
205972
|
+
const b = buf || new Array(16);
|
|
205973
|
+
options = options || {};
|
|
205974
|
+
let node = options.node || _nodeId;
|
|
205975
|
+
let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not
|
|
205976
|
+
// specified. We do this lazily to minimize issues related to insufficient
|
|
205977
|
+
// system entropy. See #189
|
|
205978
|
+
|
|
205979
|
+
if (node == null || clockseq == null) {
|
|
205980
|
+
const seedBytes = options.random || (options.rng || rng)();
|
|
205981
|
+
|
|
205982
|
+
if (node == null) {
|
|
205983
|
+
// Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)
|
|
205984
|
+
node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
|
|
205985
|
+
}
|
|
205986
|
+
|
|
205987
|
+
if (clockseq == null) {
|
|
205988
|
+
// Per 4.2.2, randomize (14 bit) clockseq
|
|
205989
|
+
clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;
|
|
205990
|
+
}
|
|
205991
|
+
} // UUID timestamps are 100 nano-second units since the Gregorian epoch,
|
|
205992
|
+
// (1582-10-15 00:00). JSNumbers aren't precise enough for this, so
|
|
205993
|
+
// time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'
|
|
205994
|
+
// (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.
|
|
205995
|
+
|
|
205996
|
+
|
|
205997
|
+
let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock
|
|
205998
|
+
// cycle to simulate higher resolution clock
|
|
205999
|
+
|
|
206000
|
+
let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)
|
|
206001
|
+
|
|
206002
|
+
const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression
|
|
206003
|
+
|
|
206004
|
+
if (dt < 0 && options.clockseq === undefined) {
|
|
206005
|
+
clockseq = clockseq + 1 & 0x3fff;
|
|
206006
|
+
} // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new
|
|
206007
|
+
// time interval
|
|
206008
|
+
|
|
206009
|
+
|
|
206010
|
+
if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {
|
|
206011
|
+
nsecs = 0;
|
|
206012
|
+
} // Per 4.2.1.2 Throw error if too many uuids are requested
|
|
206013
|
+
|
|
206014
|
+
|
|
206015
|
+
if (nsecs >= 10000) {
|
|
206016
|
+
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
|
|
206017
|
+
}
|
|
206018
|
+
|
|
206019
|
+
_lastMSecs = msecs;
|
|
206020
|
+
_lastNSecs = nsecs;
|
|
206021
|
+
_clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch
|
|
206022
|
+
|
|
206023
|
+
msecs += 12219292800000; // `time_low`
|
|
206024
|
+
|
|
206025
|
+
const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;
|
|
206026
|
+
b[i++] = tl >>> 24 & 0xff;
|
|
206027
|
+
b[i++] = tl >>> 16 & 0xff;
|
|
206028
|
+
b[i++] = tl >>> 8 & 0xff;
|
|
206029
|
+
b[i++] = tl & 0xff; // `time_mid`
|
|
206030
|
+
|
|
206031
|
+
const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;
|
|
206032
|
+
b[i++] = tmh >>> 8 & 0xff;
|
|
206033
|
+
b[i++] = tmh & 0xff; // `time_high_and_version`
|
|
206034
|
+
|
|
206035
|
+
b[i++] = tmh >>> 24 & 0xf | 0x10; // include version
|
|
206036
|
+
|
|
206037
|
+
b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)
|
|
206038
|
+
|
|
206039
|
+
b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`
|
|
206040
|
+
|
|
206041
|
+
b[i++] = clockseq & 0xff; // `node`
|
|
206042
|
+
|
|
206043
|
+
for (let n = 0; n < 6; ++n) {
|
|
206044
|
+
b[i + n] = node[n];
|
|
206045
|
+
}
|
|
206046
|
+
|
|
206047
|
+
return buf || unsafeStringify(b);
|
|
206048
|
+
}
|
|
206049
|
+
|
|
206050
|
+
/* harmony default export */ const esm_node_v1 = (v1);
|
|
206051
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/parse.js
|
|
206052
|
+
|
|
206053
|
+
|
|
206054
|
+
function parse(uuid) {
|
|
206055
|
+
if (!esm_node_validate(uuid)) {
|
|
206056
|
+
throw TypeError('Invalid UUID');
|
|
206057
|
+
}
|
|
206058
|
+
|
|
206059
|
+
let v;
|
|
206060
|
+
const arr = new Uint8Array(16); // Parse ########-....-....-....-............
|
|
206061
|
+
|
|
206062
|
+
arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
|
|
206063
|
+
arr[1] = v >>> 16 & 0xff;
|
|
206064
|
+
arr[2] = v >>> 8 & 0xff;
|
|
206065
|
+
arr[3] = v & 0xff; // Parse ........-####-....-....-............
|
|
206066
|
+
|
|
206067
|
+
arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
|
|
206068
|
+
arr[5] = v & 0xff; // Parse ........-....-####-....-............
|
|
206069
|
+
|
|
206070
|
+
arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
|
|
206071
|
+
arr[7] = v & 0xff; // Parse ........-....-....-####-............
|
|
206072
|
+
|
|
206073
|
+
arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
|
|
206074
|
+
arr[9] = v & 0xff; // Parse ........-....-....-....-############
|
|
206075
|
+
// (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes)
|
|
206076
|
+
|
|
206077
|
+
arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;
|
|
206078
|
+
arr[11] = v / 0x100000000 & 0xff;
|
|
206079
|
+
arr[12] = v >>> 24 & 0xff;
|
|
206080
|
+
arr[13] = v >>> 16 & 0xff;
|
|
206081
|
+
arr[14] = v >>> 8 & 0xff;
|
|
206082
|
+
arr[15] = v & 0xff;
|
|
206083
|
+
return arr;
|
|
206084
|
+
}
|
|
206085
|
+
|
|
206086
|
+
/* harmony default export */ const esm_node_parse = (parse);
|
|
206087
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/v35.js
|
|
206088
|
+
|
|
206089
|
+
|
|
206090
|
+
|
|
206091
|
+
function stringToBytes(str) {
|
|
206092
|
+
str = unescape(encodeURIComponent(str)); // UTF8 escape
|
|
206093
|
+
|
|
206094
|
+
const bytes = [];
|
|
206095
|
+
|
|
206096
|
+
for (let i = 0; i < str.length; ++i) {
|
|
206097
|
+
bytes.push(str.charCodeAt(i));
|
|
206098
|
+
}
|
|
206099
|
+
|
|
206100
|
+
return bytes;
|
|
206101
|
+
}
|
|
206102
|
+
|
|
206103
|
+
const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
|
|
206104
|
+
const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
|
|
206105
|
+
function v35(name, version, hashfunc) {
|
|
206106
|
+
function generateUUID(value, namespace, buf, offset) {
|
|
206107
|
+
var _namespace;
|
|
206108
|
+
|
|
206109
|
+
if (typeof value === 'string') {
|
|
206110
|
+
value = stringToBytes(value);
|
|
206111
|
+
}
|
|
206112
|
+
|
|
206113
|
+
if (typeof namespace === 'string') {
|
|
206114
|
+
namespace = esm_node_parse(namespace);
|
|
206115
|
+
}
|
|
206116
|
+
|
|
206117
|
+
if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
|
|
206118
|
+
throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
|
|
206119
|
+
} // Compute hash of namespace and value, Per 4.3
|
|
206120
|
+
// Future: Use spread syntax when supported on all platforms, e.g. `bytes =
|
|
206121
|
+
// hashfunc([...namespace, ... value])`
|
|
206122
|
+
|
|
206123
|
+
|
|
206124
|
+
let bytes = new Uint8Array(16 + value.length);
|
|
206125
|
+
bytes.set(namespace);
|
|
206126
|
+
bytes.set(value, namespace.length);
|
|
206127
|
+
bytes = hashfunc(bytes);
|
|
206128
|
+
bytes[6] = bytes[6] & 0x0f | version;
|
|
206129
|
+
bytes[8] = bytes[8] & 0x3f | 0x80;
|
|
206130
|
+
|
|
206131
|
+
if (buf) {
|
|
206132
|
+
offset = offset || 0;
|
|
206133
|
+
|
|
206134
|
+
for (let i = 0; i < 16; ++i) {
|
|
206135
|
+
buf[offset + i] = bytes[i];
|
|
206136
|
+
}
|
|
206137
|
+
|
|
206138
|
+
return buf;
|
|
206139
|
+
}
|
|
206140
|
+
|
|
206141
|
+
return unsafeStringify(bytes);
|
|
206142
|
+
} // Function#name is not settable on some platforms (#270)
|
|
206143
|
+
|
|
206144
|
+
|
|
206145
|
+
try {
|
|
206146
|
+
generateUUID.name = name; // eslint-disable-next-line no-empty
|
|
206147
|
+
} catch (err) {} // For CommonJS default export support
|
|
206148
|
+
|
|
206149
|
+
|
|
206150
|
+
generateUUID.DNS = DNS;
|
|
206151
|
+
generateUUID.URL = URL;
|
|
206152
|
+
return generateUUID;
|
|
206153
|
+
}
|
|
206154
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/md5.js
|
|
206155
|
+
|
|
206156
|
+
|
|
206157
|
+
function md5(bytes) {
|
|
206158
|
+
if (Array.isArray(bytes)) {
|
|
206159
|
+
bytes = Buffer.from(bytes);
|
|
206160
|
+
} else if (typeof bytes === 'string') {
|
|
206161
|
+
bytes = Buffer.from(bytes, 'utf8');
|
|
206162
|
+
}
|
|
206163
|
+
|
|
206164
|
+
return external_crypto_default().createHash('md5').update(bytes).digest();
|
|
206165
|
+
}
|
|
206166
|
+
|
|
206167
|
+
/* harmony default export */ const esm_node_md5 = (md5);
|
|
206168
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/v3.js
|
|
206169
|
+
|
|
206170
|
+
|
|
206171
|
+
const v3 = v35('v3', 0x30, esm_node_md5);
|
|
206172
|
+
/* harmony default export */ const esm_node_v3 = (v3);
|
|
206173
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/native.js
|
|
206174
|
+
|
|
206175
|
+
/* harmony default export */ const esm_node_native = ({
|
|
206176
|
+
randomUUID: (external_crypto_default()).randomUUID
|
|
206177
|
+
});
|
|
206025
206178
|
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/v4.js
|
|
206026
206179
|
|
|
206027
206180
|
|
|
@@ -206052,6 +206205,39 @@ function v4(options, buf, offset) {
|
|
|
206052
206205
|
}
|
|
206053
206206
|
|
|
206054
206207
|
/* harmony default export */ const esm_node_v4 = (v4);
|
|
206208
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/sha1.js
|
|
206209
|
+
|
|
206210
|
+
|
|
206211
|
+
function sha1(bytes) {
|
|
206212
|
+
if (Array.isArray(bytes)) {
|
|
206213
|
+
bytes = Buffer.from(bytes);
|
|
206214
|
+
} else if (typeof bytes === 'string') {
|
|
206215
|
+
bytes = Buffer.from(bytes, 'utf8');
|
|
206216
|
+
}
|
|
206217
|
+
|
|
206218
|
+
return external_crypto_default().createHash('sha1').update(bytes).digest();
|
|
206219
|
+
}
|
|
206220
|
+
|
|
206221
|
+
/* harmony default export */ const esm_node_sha1 = (sha1);
|
|
206222
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/v5.js
|
|
206223
|
+
|
|
206224
|
+
|
|
206225
|
+
const v5 = v35('v5', 0x50, esm_node_sha1);
|
|
206226
|
+
/* harmony default export */ const esm_node_v5 = (v5);
|
|
206227
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/nil.js
|
|
206228
|
+
/* harmony default export */ const nil = ('00000000-0000-0000-0000-000000000000');
|
|
206229
|
+
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/version.js
|
|
206230
|
+
|
|
206231
|
+
|
|
206232
|
+
function version(uuid) {
|
|
206233
|
+
if (!esm_node_validate(uuid)) {
|
|
206234
|
+
throw TypeError('Invalid UUID');
|
|
206235
|
+
}
|
|
206236
|
+
|
|
206237
|
+
return parseInt(uuid.slice(14, 15), 16);
|
|
206238
|
+
}
|
|
206239
|
+
|
|
206240
|
+
/* harmony default export */ const esm_node_version = (version);
|
|
206055
206241
|
;// ../node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-node/index.js
|
|
206056
206242
|
|
|
206057
206243
|
|
|
@@ -207614,14 +207800,14 @@ module.exports = {
|
|
|
207614
207800
|
|
|
207615
207801
|
|
|
207616
207802
|
exports.URL = __webpack_require__(90567)["interface"];
|
|
207617
|
-
|
|
207618
|
-
|
|
207619
|
-
|
|
207620
|
-
|
|
207621
|
-
|
|
207622
|
-
|
|
207623
|
-
|
|
207624
|
-
|
|
207803
|
+
exports.serializeURL = __webpack_require__(93403).serializeURL;
|
|
207804
|
+
exports.serializeURLOrigin = __webpack_require__(93403).serializeURLOrigin;
|
|
207805
|
+
exports.basicURLParse = __webpack_require__(93403).basicURLParse;
|
|
207806
|
+
exports.setTheUsername = __webpack_require__(93403).setTheUsername;
|
|
207807
|
+
exports.setThePassword = __webpack_require__(93403).setThePassword;
|
|
207808
|
+
exports.serializeHost = __webpack_require__(93403).serializeHost;
|
|
207809
|
+
exports.serializeInteger = __webpack_require__(93403).serializeInteger;
|
|
207810
|
+
exports.parseURL = __webpack_require__(93403).parseURL;
|
|
207625
207811
|
|
|
207626
207812
|
|
|
207627
207813
|
/***/ },
|
|
@@ -208935,10 +209121,9 @@ module.exports.parseURL = function (input, options) {
|
|
|
208935
209121
|
(module) {
|
|
208936
209122
|
|
|
208937
209123
|
"use strict";
|
|
208938
|
-
var __webpack_unused_export__;
|
|
208939
209124
|
|
|
208940
209125
|
|
|
208941
|
-
|
|
209126
|
+
module.exports.mixin = function mixin(target, source) {
|
|
208942
209127
|
const keys = Object.getOwnPropertyNames(source);
|
|
208943
209128
|
for (let i = 0; i < keys.length; ++i) {
|
|
208944
209129
|
Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i]));
|
|
@@ -208948,11 +209133,11 @@ __webpack_unused_export__ = function mixin(target, source) {
|
|
|
208948
209133
|
module.exports.wrapperSymbol = Symbol("wrapper");
|
|
208949
209134
|
module.exports.implSymbol = Symbol("impl");
|
|
208950
209135
|
|
|
208951
|
-
|
|
209136
|
+
module.exports.wrapperForImpl = function (impl) {
|
|
208952
209137
|
return impl[module.exports.wrapperSymbol];
|
|
208953
209138
|
};
|
|
208954
209139
|
|
|
208955
|
-
|
|
209140
|
+
module.exports.implForWrapper = function (wrapper) {
|
|
208956
209141
|
return wrapper[module.exports.implSymbol];
|
|
208957
209142
|
};
|
|
208958
209143
|
|
|
@@ -214825,9 +215010,8 @@ module.exports = webpackEmptyContext;
|
|
|
214825
215010
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
214826
215011
|
|
|
214827
215012
|
"use strict";
|
|
214828
|
-
var __webpack_unused_export__;
|
|
214829
215013
|
|
|
214830
|
-
|
|
215014
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
214831
215015
|
exports.applyExtends = void 0;
|
|
214832
215016
|
const fs = __webpack_require__(29021);
|
|
214833
215017
|
const path = __webpack_require__(33873);
|
|
@@ -214899,9 +215083,8 @@ exports.applyExtends = applyExtends;
|
|
|
214899
215083
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
214900
215084
|
|
|
214901
215085
|
"use strict";
|
|
214902
|
-
var __webpack_unused_export__;
|
|
214903
215086
|
|
|
214904
|
-
|
|
215087
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
214905
215088
|
exports.argsert = void 0;
|
|
214906
215089
|
const yerror_1 = __webpack_require__(45448);
|
|
214907
215090
|
const parse_command_1 = __webpack_require__(96772);
|
|
@@ -214973,10 +215156,9 @@ function argumentTypeError(observedType, allowedTypes, position) {
|
|
|
214973
215156
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
214974
215157
|
|
|
214975
215158
|
"use strict";
|
|
214976
|
-
var __webpack_unused_export__;
|
|
214977
215159
|
|
|
214978
|
-
|
|
214979
|
-
exports.isCommandBuilderCallback =
|
|
215160
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215161
|
+
exports.isCommandBuilderCallback = exports.isCommandBuilderDefinition = exports.isCommandHandlerDefinition = exports.command = void 0;
|
|
214980
215162
|
const common_types_1 = __webpack_require__(60134);
|
|
214981
215163
|
const is_promise_1 = __webpack_require__(14803);
|
|
214982
215164
|
const middleware_1 = __webpack_require__(22503);
|
|
@@ -215376,13 +215558,13 @@ exports.command = command;
|
|
|
215376
215558
|
function isCommandHandlerDefinition(cmd) {
|
|
215377
215559
|
return typeof cmd === 'object';
|
|
215378
215560
|
}
|
|
215379
|
-
|
|
215561
|
+
exports.isCommandHandlerDefinition = isCommandHandlerDefinition;
|
|
215380
215562
|
function isCommandBuilderDefinition(builder) {
|
|
215381
215563
|
return typeof builder === 'object' &&
|
|
215382
215564
|
!!builder.builder &&
|
|
215383
215565
|
typeof builder.handler === 'function';
|
|
215384
215566
|
}
|
|
215385
|
-
|
|
215567
|
+
exports.isCommandBuilderDefinition = isCommandBuilderDefinition;
|
|
215386
215568
|
function isCommandBuilderCallback(builder) {
|
|
215387
215569
|
return typeof builder === 'function';
|
|
215388
215570
|
}
|
|
@@ -215398,9 +215580,8 @@ function isCommandBuilderOptionDefinitions(builder) {
|
|
|
215398
215580
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
215399
215581
|
|
|
215400
215582
|
"use strict";
|
|
215401
|
-
var __webpack_unused_export__;
|
|
215402
215583
|
|
|
215403
|
-
|
|
215584
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215404
215585
|
exports.objectKeys = exports.assertSingleKey = exports.assertNotStrictEqual = void 0;
|
|
215405
215586
|
const assert_1 = __webpack_require__(12412);
|
|
215406
215587
|
/**
|
|
@@ -215432,9 +215613,8 @@ exports.objectKeys = objectKeys;
|
|
|
215432
215613
|
(__unused_webpack_module, exports) {
|
|
215433
215614
|
|
|
215434
215615
|
"use strict";
|
|
215435
|
-
var __webpack_unused_export__;
|
|
215436
215616
|
|
|
215437
|
-
|
|
215617
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215438
215618
|
exports.completionZshTemplate = exports.completionShTemplate = void 0;
|
|
215439
215619
|
exports.completionShTemplate = `###-begin-{{app_name}}-completions-###
|
|
215440
215620
|
#
|
|
@@ -215491,9 +215671,8 @@ compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
|
215491
215671
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
215492
215672
|
|
|
215493
215673
|
"use strict";
|
|
215494
|
-
var __webpack_unused_export__;
|
|
215495
215674
|
|
|
215496
|
-
|
|
215675
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215497
215676
|
exports.completion = void 0;
|
|
215498
215677
|
const command_1 = __webpack_require__(64178);
|
|
215499
215678
|
const templates = __webpack_require__(29195);
|
|
@@ -215635,9 +215814,8 @@ function isSyncCompletionFunction(completionFunction) {
|
|
|
215635
215814
|
(__unused_webpack_module, exports) {
|
|
215636
215815
|
|
|
215637
215816
|
"use strict";
|
|
215638
|
-
var __webpack_unused_export__;
|
|
215639
215817
|
|
|
215640
|
-
|
|
215818
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215641
215819
|
exports.isPromise = void 0;
|
|
215642
215820
|
function isPromise(maybePromise) {
|
|
215643
215821
|
return !!maybePromise &&
|
|
@@ -215653,7 +215831,6 @@ exports.isPromise = isPromise;
|
|
|
215653
215831
|
(__unused_webpack_module, exports) {
|
|
215654
215832
|
|
|
215655
215833
|
"use strict";
|
|
215656
|
-
var __webpack_unused_export__;
|
|
215657
215834
|
|
|
215658
215835
|
/*
|
|
215659
215836
|
Copyright (c) 2011 Andrei Mackenzie
|
|
@@ -215675,7 +215852,7 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
|
215675
215852
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
215676
215853
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
215677
215854
|
*/
|
|
215678
|
-
|
|
215855
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215679
215856
|
exports.levenshtein = void 0;
|
|
215680
215857
|
// levenshtein distance algorithm, pulled from Andrei Mackenzie's MIT licensed.
|
|
215681
215858
|
// gist, which can be found here: https://gist.github.com/andrei-m/982927
|
|
@@ -215720,9 +215897,8 @@ exports.levenshtein = levenshtein;
|
|
|
215720
215897
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
215721
215898
|
|
|
215722
215899
|
"use strict";
|
|
215723
|
-
var __webpack_unused_export__;
|
|
215724
215900
|
|
|
215725
|
-
|
|
215901
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215726
215902
|
exports.applyMiddleware = exports.commandMiddlewareFactory = exports.globalMiddlewareFactory = void 0;
|
|
215727
215903
|
const argsert_1 = __webpack_require__(22393);
|
|
215728
215904
|
const is_promise_1 = __webpack_require__(14803);
|
|
@@ -215786,9 +215962,8 @@ exports.applyMiddleware = applyMiddleware;
|
|
|
215786
215962
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
215787
215963
|
|
|
215788
215964
|
"use strict";
|
|
215789
|
-
var __webpack_unused_export__;
|
|
215790
215965
|
|
|
215791
|
-
|
|
215966
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215792
215967
|
exports.objFilter = void 0;
|
|
215793
215968
|
const common_types_1 = __webpack_require__(60134);
|
|
215794
215969
|
function objFilter(original = {}, filter = () => true) {
|
|
@@ -215809,9 +215984,8 @@ exports.objFilter = objFilter;
|
|
|
215809
215984
|
(__unused_webpack_module, exports) {
|
|
215810
215985
|
|
|
215811
215986
|
"use strict";
|
|
215812
|
-
var __webpack_unused_export__;
|
|
215813
215987
|
|
|
215814
|
-
|
|
215988
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215815
215989
|
exports.parseCommand = void 0;
|
|
215816
215990
|
function parseCommand(cmd) {
|
|
215817
215991
|
const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, ' ');
|
|
@@ -215854,9 +216028,8 @@ exports.parseCommand = parseCommand;
|
|
|
215854
216028
|
(__unused_webpack_module, exports) {
|
|
215855
216029
|
|
|
215856
216030
|
"use strict";
|
|
215857
|
-
var __webpack_unused_export__;
|
|
215858
216031
|
|
|
215859
|
-
|
|
216032
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215860
216033
|
exports.getProcessArgvBin = exports.getProcessArgvWithoutBin = void 0;
|
|
215861
216034
|
function getProcessArgvBinIndex() {
|
|
215862
216035
|
// The binary name is the first command line argument for:
|
|
@@ -215894,9 +216067,8 @@ exports.getProcessArgvBin = getProcessArgvBin;
|
|
|
215894
216067
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
215895
216068
|
|
|
215896
216069
|
"use strict";
|
|
215897
|
-
var __webpack_unused_export__;
|
|
215898
216070
|
|
|
215899
|
-
|
|
216071
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
215900
216072
|
exports.usage = void 0;
|
|
215901
216073
|
// this file handles outputting usage instructions,
|
|
215902
216074
|
// failures, etc. keeps logging in one place.
|
|
@@ -216443,9 +216615,8 @@ exports.usage = usage;
|
|
|
216443
216615
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
216444
216616
|
|
|
216445
216617
|
"use strict";
|
|
216446
|
-
var __webpack_unused_export__;
|
|
216447
216618
|
|
|
216448
|
-
|
|
216619
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
216449
216620
|
exports.validation = void 0;
|
|
216450
216621
|
const argsert_1 = __webpack_require__(22393);
|
|
216451
216622
|
const common_types_1 = __webpack_require__(60134);
|
|
@@ -216782,9 +216953,8 @@ exports.validation = validation;
|
|
|
216782
216953
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
216783
216954
|
|
|
216784
216955
|
"use strict";
|
|
216785
|
-
var __webpack_unused_export__;
|
|
216786
216956
|
|
|
216787
|
-
|
|
216957
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
216788
216958
|
exports.isYargsInstance = exports.rebase = exports.Yargs = void 0;
|
|
216789
216959
|
const command_1 = __webpack_require__(64178);
|
|
216790
216960
|
const common_types_1 = __webpack_require__(60134);
|
|
@@ -217981,9 +218151,8 @@ exports.isYargsInstance = isYargsInstance;
|
|
|
217981
218151
|
(__unused_webpack_module, exports) {
|
|
217982
218152
|
|
|
217983
218153
|
"use strict";
|
|
217984
|
-
var __webpack_unused_export__;
|
|
217985
218154
|
|
|
217986
|
-
|
|
218155
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
217987
218156
|
exports.YError = void 0;
|
|
217988
218157
|
class YError extends Error {
|
|
217989
218158
|
constructor(msg) {
|
|
@@ -218100,7 +218269,6 @@ module.exports = webpackEmptyContext;
|
|
|
218100
218269
|
/***/ 90966
|
|
218101
218270
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
218102
218271
|
|
|
218103
|
-
var __webpack_unused_export__;
|
|
218104
218272
|
var fs = __webpack_require__(29021);
|
|
218105
218273
|
var zlib = __webpack_require__(74075);
|
|
218106
218274
|
var fd_slicer = __webpack_require__(52499);
|
|
@@ -218111,15 +218279,15 @@ var Transform = (__webpack_require__(27910).Transform);
|
|
|
218111
218279
|
var PassThrough = (__webpack_require__(27910).PassThrough);
|
|
218112
218280
|
var Writable = (__webpack_require__(27910).Writable);
|
|
218113
218281
|
|
|
218114
|
-
|
|
218115
|
-
|
|
218282
|
+
exports.open = open;
|
|
218283
|
+
exports.fromFd = fromFd;
|
|
218116
218284
|
exports.fromBuffer = fromBuffer;
|
|
218117
|
-
|
|
218118
|
-
|
|
218119
|
-
|
|
218120
|
-
|
|
218121
|
-
|
|
218122
|
-
|
|
218285
|
+
exports.fromRandomAccessReader = fromRandomAccessReader;
|
|
218286
|
+
exports.dosDateTimeToDate = dosDateTimeToDate;
|
|
218287
|
+
exports.validateFileName = validateFileName;
|
|
218288
|
+
exports.ZipFile = ZipFile;
|
|
218289
|
+
exports.Entry = Entry;
|
|
218290
|
+
exports.RandomAccessReader = RandomAccessReader;
|
|
218123
218291
|
|
|
218124
218292
|
function open(path, options, callback) {
|
|
218125
218293
|
if (typeof options === "function") {
|
|
@@ -219486,9 +219654,8 @@ __exportStar(__webpack_require__(72578), exports);
|
|
|
219486
219654
|
(__unused_webpack_module, exports) {
|
|
219487
219655
|
|
|
219488
219656
|
"use strict";
|
|
219489
|
-
var __webpack_unused_export__;
|
|
219490
219657
|
|
|
219491
|
-
|
|
219658
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
219492
219659
|
exports.errorUtil = void 0;
|
|
219493
219660
|
var errorUtil;
|
|
219494
219661
|
(function (errorUtil) {
|
|
@@ -224148,10 +224315,9 @@ module.exports = require("tls");
|
|
|
224148
224315
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
224149
224316
|
|
|
224150
224317
|
"use strict";
|
|
224151
|
-
var __webpack_unused_export__;
|
|
224152
224318
|
|
|
224153
224319
|
|
|
224154
|
-
|
|
224320
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
224155
224321
|
|
|
224156
224322
|
var picocolors = __webpack_require__(6437);
|
|
224157
224323
|
var jsTokens = __webpack_require__(15513);
|
|
@@ -224363,8 +224529,8 @@ function index (rawLines, lineNumber, colNumber, opts = {}) {
|
|
|
224363
224529
|
}
|
|
224364
224530
|
|
|
224365
224531
|
exports.codeFrameColumns = codeFrameColumns;
|
|
224366
|
-
|
|
224367
|
-
|
|
224532
|
+
exports["default"] = index;
|
|
224533
|
+
exports.highlight = highlight;
|
|
224368
224534
|
//# sourceMappingURL=index.js.map
|
|
224369
224535
|
|
|
224370
224536
|
|
|
@@ -224560,16 +224726,15 @@ function isKeyword(word) {
|
|
|
224560
224726
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
224561
224727
|
|
|
224562
224728
|
"use strict";
|
|
224563
|
-
var __webpack_unused_export__;
|
|
224564
224729
|
|
|
224565
|
-
|
|
224566
|
-
exports.Completable =
|
|
224567
|
-
|
|
224730
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
224731
|
+
exports.Completable = exports.McpZodTypeKind = void 0;
|
|
224732
|
+
exports.completable = completable;
|
|
224568
224733
|
const zod_1 = __webpack_require__(18587);
|
|
224569
224734
|
var McpZodTypeKind;
|
|
224570
224735
|
(function (McpZodTypeKind) {
|
|
224571
224736
|
McpZodTypeKind["Completable"] = "McpCompletable";
|
|
224572
|
-
})(McpZodTypeKind || (
|
|
224737
|
+
})(McpZodTypeKind || (exports.McpZodTypeKind = McpZodTypeKind = {}));
|
|
224573
224738
|
class Completable extends zod_1.ZodType {
|
|
224574
224739
|
_parse(input) {
|
|
224575
224740
|
const { ctx } = this._processInputParams(input);
|
|
@@ -224871,10 +225036,9 @@ exports.Server = Server;
|
|
|
224871
225036
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
224872
225037
|
|
|
224873
225038
|
"use strict";
|
|
224874
|
-
var __webpack_unused_export__;
|
|
224875
225039
|
|
|
224876
|
-
|
|
224877
|
-
|
|
225040
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
225041
|
+
exports.ResourceTemplate = exports.McpServer = void 0;
|
|
224878
225042
|
const index_js_1 = __webpack_require__(57908);
|
|
224879
225043
|
const zod_to_json_schema_1 = __webpack_require__(19137);
|
|
224880
225044
|
const zod_1 = __webpack_require__(18587);
|
|
@@ -225501,7 +225665,7 @@ class ResourceTemplate {
|
|
|
225501
225665
|
return (_a = this._callbacks.complete) === null || _a === void 0 ? void 0 : _a[variable];
|
|
225502
225666
|
}
|
|
225503
225667
|
}
|
|
225504
|
-
|
|
225668
|
+
exports.ResourceTemplate = ResourceTemplate;
|
|
225505
225669
|
const EMPTY_OBJECT_JSON_SCHEMA = {
|
|
225506
225670
|
type: "object",
|
|
225507
225671
|
};
|
|
@@ -225642,16 +225806,15 @@ exports.StdioServerTransport = StdioServerTransport;
|
|
|
225642
225806
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
225643
225807
|
|
|
225644
225808
|
"use strict";
|
|
225645
|
-
var __webpack_unused_export__;
|
|
225646
225809
|
|
|
225647
|
-
|
|
225648
|
-
exports.Protocol = exports.
|
|
225810
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
225811
|
+
exports.Protocol = exports.DEFAULT_REQUEST_TIMEOUT_MSEC = void 0;
|
|
225649
225812
|
exports.mergeCapabilities = mergeCapabilities;
|
|
225650
225813
|
const types_js_1 = __webpack_require__(21443);
|
|
225651
225814
|
/**
|
|
225652
225815
|
* The default request timeout, in miliseconds.
|
|
225653
225816
|
*/
|
|
225654
|
-
exports.
|
|
225817
|
+
exports.DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
225655
225818
|
/**
|
|
225656
225819
|
* Implements MCP protocol framing on top of a pluggable transport, including
|
|
225657
225820
|
* features like request/response linking, notifications, and progress.
|
|
@@ -225940,7 +226103,7 @@ class Protocol {
|
|
|
225940
226103
|
var _a;
|
|
225941
226104
|
cancel((_a = options === null || options === void 0 ? void 0 : options.signal) === null || _a === void 0 ? void 0 : _a.reason);
|
|
225942
226105
|
});
|
|
225943
|
-
const timeout = (_e = options === null || options === void 0 ? void 0 : options.timeout) !== null && _e !== void 0 ? _e : exports.
|
|
226106
|
+
const timeout = (_e = options === null || options === void 0 ? void 0 : options.timeout) !== null && _e !== void 0 ? _e : exports.DEFAULT_REQUEST_TIMEOUT_MSEC;
|
|
225944
226107
|
const timeoutHandler = () => cancel(new types_js_1.McpError(types_js_1.ErrorCode.RequestTimeout, "Request timed out", { timeout }));
|
|
225945
226108
|
this._setupTimeout(messageId, timeout, options === null || options === void 0 ? void 0 : options.maxTotalTimeout, timeoutHandler, (_f = options === null || options === void 0 ? void 0 : options.resetTimeoutOnProgress) !== null && _f !== void 0 ? _f : false);
|
|
225946
226109
|
this._transport.send(jsonrpcRequest, { relatedRequestId, resumptionToken, onresumptiontoken }).catch((error) => {
|
|
@@ -226024,11 +226187,10 @@ function mergeCapabilities(base, additional) {
|
|
|
226024
226187
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
226025
226188
|
|
|
226026
226189
|
"use strict";
|
|
226027
|
-
var __webpack_unused_export__;
|
|
226028
226190
|
|
|
226029
|
-
|
|
226191
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
226030
226192
|
exports.ReadBuffer = void 0;
|
|
226031
|
-
|
|
226193
|
+
exports.deserializeMessage = deserializeMessage;
|
|
226032
226194
|
exports.serializeMessage = serializeMessage;
|
|
226033
226195
|
const types_js_1 = __webpack_require__(21443);
|
|
226034
226196
|
/**
|
|
@@ -226069,10 +226231,9 @@ function serializeMessage(message) {
|
|
|
226069
226231
|
(__unused_webpack_module, exports) {
|
|
226070
226232
|
|
|
226071
226233
|
"use strict";
|
|
226072
|
-
var __webpack_unused_export__;
|
|
226073
226234
|
|
|
226074
226235
|
// Claude-authored implementation of RFC 6570 URI Templates
|
|
226075
|
-
|
|
226236
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
226076
226237
|
exports.UriTemplate = void 0;
|
|
226077
226238
|
const MAX_TEMPLATE_LENGTH = 1000000; // 1MB
|
|
226078
226239
|
const MAX_VARIABLE_LENGTH = 1000000; // 1MB
|
|
@@ -226322,15 +226483,14 @@ exports.UriTemplate = UriTemplate;
|
|
|
226322
226483
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
226323
226484
|
|
|
226324
226485
|
"use strict";
|
|
226325
|
-
var __webpack_unused_export__;
|
|
226326
226486
|
|
|
226327
|
-
|
|
226328
|
-
exports.
|
|
226329
|
-
|
|
226330
|
-
exports.McpError =
|
|
226487
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
226488
|
+
exports.UnsubscribeRequestSchema = exports.SubscribeRequestSchema = exports.ResourceListChangedNotificationSchema = exports.ReadResourceResultSchema = exports.ReadResourceRequestSchema = exports.ListResourceTemplatesResultSchema = exports.ListResourceTemplatesRequestSchema = exports.ListResourcesResultSchema = exports.ListResourcesRequestSchema = exports.ResourceTemplateSchema = exports.ResourceSchema = exports.BlobResourceContentsSchema = exports.TextResourceContentsSchema = exports.ResourceContentsSchema = exports.PaginatedResultSchema = exports.PaginatedRequestSchema = exports.ProgressNotificationSchema = exports.ProgressSchema = exports.PingRequestSchema = exports.isInitializedNotification = exports.InitializedNotificationSchema = exports.InitializeResultSchema = exports.ServerCapabilitiesSchema = exports.isInitializeRequest = exports.InitializeRequestSchema = exports.ClientCapabilitiesSchema = exports.ImplementationSchema = exports.BaseMetadataSchema = exports.CancelledNotificationSchema = exports.EmptyResultSchema = exports.JSONRPCMessageSchema = exports.isJSONRPCError = exports.JSONRPCErrorSchema = exports.ErrorCode = exports.isJSONRPCResponse = exports.JSONRPCResponseSchema = exports.isJSONRPCNotification = exports.JSONRPCNotificationSchema = exports.isJSONRPCRequest = exports.JSONRPCRequestSchema = exports.RequestIdSchema = exports.ResultSchema = exports.NotificationSchema = exports.RequestSchema = exports.CursorSchema = exports.ProgressTokenSchema = exports.JSONRPC_VERSION = exports.SUPPORTED_PROTOCOL_VERSIONS = exports.DEFAULT_NEGOTIATED_PROTOCOL_VERSION = exports.LATEST_PROTOCOL_VERSION = void 0;
|
|
226489
|
+
exports.ClientResultSchema = exports.ClientNotificationSchema = exports.ClientRequestSchema = exports.RootsListChangedNotificationSchema = exports.ListRootsResultSchema = exports.ListRootsRequestSchema = exports.RootSchema = exports.CompleteResultSchema = exports.CompleteRequestSchema = exports.PromptReferenceSchema = exports.ResourceReferenceSchema = exports.ResourceTemplateReferenceSchema = exports.ElicitResultSchema = exports.ElicitRequestSchema = exports.PrimitiveSchemaDefinitionSchema = exports.EnumSchemaSchema = exports.NumberSchemaSchema = exports.StringSchemaSchema = exports.BooleanSchemaSchema = exports.CreateMessageResultSchema = exports.CreateMessageRequestSchema = exports.SamplingMessageSchema = exports.ModelPreferencesSchema = exports.ModelHintSchema = exports.LoggingMessageNotificationSchema = exports.SetLevelRequestSchema = exports.LoggingLevelSchema = exports.ToolListChangedNotificationSchema = exports.CallToolRequestSchema = exports.CompatibilityCallToolResultSchema = exports.CallToolResultSchema = exports.ListToolsResultSchema = exports.ListToolsRequestSchema = exports.ToolSchema = exports.ToolAnnotationsSchema = exports.PromptListChangedNotificationSchema = exports.GetPromptResultSchema = exports.PromptMessageSchema = exports.ContentBlockSchema = exports.ResourceLinkSchema = exports.EmbeddedResourceSchema = exports.AudioContentSchema = exports.ImageContentSchema = exports.TextContentSchema = exports.GetPromptRequestSchema = exports.ListPromptsResultSchema = exports.ListPromptsRequestSchema = exports.PromptSchema = exports.PromptArgumentSchema = exports.ResourceUpdatedNotificationSchema = void 0;
|
|
226490
|
+
exports.McpError = exports.ServerResultSchema = exports.ServerNotificationSchema = exports.ServerRequestSchema = void 0;
|
|
226331
226491
|
const zod_1 = __webpack_require__(18587);
|
|
226332
226492
|
exports.LATEST_PROTOCOL_VERSION = "2025-06-18";
|
|
226333
|
-
|
|
226493
|
+
exports.DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
|
|
226334
226494
|
exports.SUPPORTED_PROTOCOL_VERSIONS = [
|
|
226335
226495
|
exports.LATEST_PROTOCOL_VERSION,
|
|
226336
226496
|
"2025-03-26",
|
|
@@ -226338,21 +226498,21 @@ exports.SUPPORTED_PROTOCOL_VERSIONS = [
|
|
|
226338
226498
|
"2024-10-07",
|
|
226339
226499
|
];
|
|
226340
226500
|
/* JSON-RPC types */
|
|
226341
|
-
exports.
|
|
226501
|
+
exports.JSONRPC_VERSION = "2.0";
|
|
226342
226502
|
/**
|
|
226343
226503
|
* A progress token, used to associate progress notifications with the original request.
|
|
226344
226504
|
*/
|
|
226345
|
-
exports.
|
|
226505
|
+
exports.ProgressTokenSchema = zod_1.z.union([zod_1.z.string(), zod_1.z.number().int()]);
|
|
226346
226506
|
/**
|
|
226347
226507
|
* An opaque token used to represent a cursor for pagination.
|
|
226348
226508
|
*/
|
|
226349
|
-
exports.
|
|
226509
|
+
exports.CursorSchema = zod_1.z.string();
|
|
226350
226510
|
const RequestMetaSchema = zod_1.z
|
|
226351
226511
|
.object({
|
|
226352
226512
|
/**
|
|
226353
226513
|
* If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
|
|
226354
226514
|
*/
|
|
226355
|
-
progressToken: zod_1.z.optional(exports.
|
|
226515
|
+
progressToken: zod_1.z.optional(exports.ProgressTokenSchema),
|
|
226356
226516
|
})
|
|
226357
226517
|
.passthrough();
|
|
226358
226518
|
const BaseRequestParamsSchema = zod_1.z
|
|
@@ -226360,7 +226520,7 @@ const BaseRequestParamsSchema = zod_1.z
|
|
|
226360
226520
|
_meta: zod_1.z.optional(RequestMetaSchema),
|
|
226361
226521
|
})
|
|
226362
226522
|
.passthrough();
|
|
226363
|
-
exports.
|
|
226523
|
+
exports.RequestSchema = zod_1.z.object({
|
|
226364
226524
|
method: zod_1.z.string(),
|
|
226365
226525
|
params: zod_1.z.optional(BaseRequestParamsSchema),
|
|
226366
226526
|
});
|
|
@@ -226373,11 +226533,11 @@ const BaseNotificationParamsSchema = zod_1.z
|
|
|
226373
226533
|
_meta: zod_1.z.optional(zod_1.z.object({}).passthrough()),
|
|
226374
226534
|
})
|
|
226375
226535
|
.passthrough();
|
|
226376
|
-
exports.
|
|
226536
|
+
exports.NotificationSchema = zod_1.z.object({
|
|
226377
226537
|
method: zod_1.z.string(),
|
|
226378
226538
|
params: zod_1.z.optional(BaseNotificationParamsSchema),
|
|
226379
226539
|
});
|
|
226380
|
-
exports.
|
|
226540
|
+
exports.ResultSchema = zod_1.z
|
|
226381
226541
|
.object({
|
|
226382
226542
|
/**
|
|
226383
226543
|
* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
|
|
@@ -226389,41 +226549,41 @@ exports.Jh = zod_1.z
|
|
|
226389
226549
|
/**
|
|
226390
226550
|
* A uniquely identifying ID for a request in JSON-RPC.
|
|
226391
226551
|
*/
|
|
226392
|
-
exports.
|
|
226552
|
+
exports.RequestIdSchema = zod_1.z.union([zod_1.z.string(), zod_1.z.number().int()]);
|
|
226393
226553
|
/**
|
|
226394
226554
|
* A request that expects a response.
|
|
226395
226555
|
*/
|
|
226396
|
-
exports.
|
|
226556
|
+
exports.JSONRPCRequestSchema = zod_1.z
|
|
226397
226557
|
.object({
|
|
226398
|
-
jsonrpc: zod_1.z.literal(exports.
|
|
226399
|
-
id: exports.
|
|
226558
|
+
jsonrpc: zod_1.z.literal(exports.JSONRPC_VERSION),
|
|
226559
|
+
id: exports.RequestIdSchema,
|
|
226400
226560
|
})
|
|
226401
|
-
.merge(exports.
|
|
226561
|
+
.merge(exports.RequestSchema)
|
|
226402
226562
|
.strict();
|
|
226403
|
-
const isJSONRPCRequest = (value) => exports.
|
|
226563
|
+
const isJSONRPCRequest = (value) => exports.JSONRPCRequestSchema.safeParse(value).success;
|
|
226404
226564
|
exports.isJSONRPCRequest = isJSONRPCRequest;
|
|
226405
226565
|
/**
|
|
226406
226566
|
* A notification which does not expect a response.
|
|
226407
226567
|
*/
|
|
226408
|
-
exports.
|
|
226568
|
+
exports.JSONRPCNotificationSchema = zod_1.z
|
|
226409
226569
|
.object({
|
|
226410
|
-
jsonrpc: zod_1.z.literal(exports.
|
|
226570
|
+
jsonrpc: zod_1.z.literal(exports.JSONRPC_VERSION),
|
|
226411
226571
|
})
|
|
226412
|
-
.merge(exports.
|
|
226572
|
+
.merge(exports.NotificationSchema)
|
|
226413
226573
|
.strict();
|
|
226414
|
-
const isJSONRPCNotification = (value) => exports.
|
|
226574
|
+
const isJSONRPCNotification = (value) => exports.JSONRPCNotificationSchema.safeParse(value).success;
|
|
226415
226575
|
exports.isJSONRPCNotification = isJSONRPCNotification;
|
|
226416
226576
|
/**
|
|
226417
226577
|
* A successful (non-error) response to a request.
|
|
226418
226578
|
*/
|
|
226419
|
-
exports.
|
|
226579
|
+
exports.JSONRPCResponseSchema = zod_1.z
|
|
226420
226580
|
.object({
|
|
226421
|
-
jsonrpc: zod_1.z.literal(exports.
|
|
226422
|
-
id: exports.
|
|
226423
|
-
result: exports.
|
|
226581
|
+
jsonrpc: zod_1.z.literal(exports.JSONRPC_VERSION),
|
|
226582
|
+
id: exports.RequestIdSchema,
|
|
226583
|
+
result: exports.ResultSchema,
|
|
226424
226584
|
})
|
|
226425
226585
|
.strict();
|
|
226426
|
-
const isJSONRPCResponse = (value) => exports.
|
|
226586
|
+
const isJSONRPCResponse = (value) => exports.JSONRPCResponseSchema.safeParse(value).success;
|
|
226427
226587
|
exports.isJSONRPCResponse = isJSONRPCResponse;
|
|
226428
226588
|
/**
|
|
226429
226589
|
* Error codes defined by the JSON-RPC specification.
|
|
@@ -226443,10 +226603,10 @@ var ErrorCode;
|
|
|
226443
226603
|
/**
|
|
226444
226604
|
* A response to a request that indicates an error occurred.
|
|
226445
226605
|
*/
|
|
226446
|
-
exports.
|
|
226606
|
+
exports.JSONRPCErrorSchema = zod_1.z
|
|
226447
226607
|
.object({
|
|
226448
|
-
jsonrpc: zod_1.z.literal(exports.
|
|
226449
|
-
id: exports.
|
|
226608
|
+
jsonrpc: zod_1.z.literal(exports.JSONRPC_VERSION),
|
|
226609
|
+
id: exports.RequestIdSchema,
|
|
226450
226610
|
error: zod_1.z.object({
|
|
226451
226611
|
/**
|
|
226452
226612
|
* The error type that occurred.
|
|
@@ -226463,19 +226623,19 @@ exports.RD = zod_1.z
|
|
|
226463
226623
|
}),
|
|
226464
226624
|
})
|
|
226465
226625
|
.strict();
|
|
226466
|
-
const isJSONRPCError = (value) => exports.
|
|
226626
|
+
const isJSONRPCError = (value) => exports.JSONRPCErrorSchema.safeParse(value).success;
|
|
226467
226627
|
exports.isJSONRPCError = isJSONRPCError;
|
|
226468
226628
|
exports.JSONRPCMessageSchema = zod_1.z.union([
|
|
226469
|
-
exports.
|
|
226470
|
-
exports.
|
|
226471
|
-
exports.
|
|
226472
|
-
exports.
|
|
226629
|
+
exports.JSONRPCRequestSchema,
|
|
226630
|
+
exports.JSONRPCNotificationSchema,
|
|
226631
|
+
exports.JSONRPCResponseSchema,
|
|
226632
|
+
exports.JSONRPCErrorSchema,
|
|
226473
226633
|
]);
|
|
226474
226634
|
/* Empty result */
|
|
226475
226635
|
/**
|
|
226476
226636
|
* A response that indicates success but carries no data.
|
|
226477
226637
|
*/
|
|
226478
|
-
exports.EmptyResultSchema = exports.
|
|
226638
|
+
exports.EmptyResultSchema = exports.ResultSchema.strict();
|
|
226479
226639
|
/* Cancellation */
|
|
226480
226640
|
/**
|
|
226481
226641
|
* This notification can be sent by either side to indicate that it is cancelling a previously-issued request.
|
|
@@ -226486,7 +226646,7 @@ exports.EmptyResultSchema = exports.Jh.strict();
|
|
|
226486
226646
|
*
|
|
226487
226647
|
* A client MUST NOT attempt to cancel its `initialize` request.
|
|
226488
226648
|
*/
|
|
226489
|
-
exports.CancelledNotificationSchema = exports.
|
|
226649
|
+
exports.CancelledNotificationSchema = exports.NotificationSchema.extend({
|
|
226490
226650
|
method: zod_1.z.literal("notifications/cancelled"),
|
|
226491
226651
|
params: BaseNotificationParamsSchema.extend({
|
|
226492
226652
|
/**
|
|
@@ -226494,7 +226654,7 @@ exports.CancelledNotificationSchema = exports.nH.extend({
|
|
|
226494
226654
|
*
|
|
226495
226655
|
* This MUST correspond to the ID of a request previously issued in the same direction.
|
|
226496
226656
|
*/
|
|
226497
|
-
requestId: exports.
|
|
226657
|
+
requestId: exports.RequestIdSchema,
|
|
226498
226658
|
/**
|
|
226499
226659
|
* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.
|
|
226500
226660
|
*/
|
|
@@ -226505,7 +226665,7 @@ exports.CancelledNotificationSchema = exports.nH.extend({
|
|
|
226505
226665
|
/**
|
|
226506
226666
|
* Base metadata interface for common properties across resources, tools, prompts, and implementations.
|
|
226507
226667
|
*/
|
|
226508
|
-
exports.
|
|
226668
|
+
exports.BaseMetadataSchema = zod_1.z
|
|
226509
226669
|
.object({
|
|
226510
226670
|
/** Intended for programmatic or logical use, but used as a display name in past specs or fallback */
|
|
226511
226671
|
name: zod_1.z.string(),
|
|
@@ -226524,13 +226684,13 @@ exports.Uk = zod_1.z
|
|
|
226524
226684
|
/**
|
|
226525
226685
|
* Describes the name and version of an MCP implementation.
|
|
226526
226686
|
*/
|
|
226527
|
-
exports.
|
|
226687
|
+
exports.ImplementationSchema = exports.BaseMetadataSchema.extend({
|
|
226528
226688
|
version: zod_1.z.string(),
|
|
226529
226689
|
});
|
|
226530
226690
|
/**
|
|
226531
226691
|
* Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.
|
|
226532
226692
|
*/
|
|
226533
|
-
exports.
|
|
226693
|
+
exports.ClientCapabilitiesSchema = zod_1.z
|
|
226534
226694
|
.object({
|
|
226535
226695
|
/**
|
|
226536
226696
|
* Experimental, non-standard capabilities that the client supports.
|
|
@@ -226560,23 +226720,23 @@ exports.tL = zod_1.z
|
|
|
226560
226720
|
/**
|
|
226561
226721
|
* This request is sent from the client to the server when it first connects, asking it to begin initialization.
|
|
226562
226722
|
*/
|
|
226563
|
-
exports.InitializeRequestSchema = exports.
|
|
226723
|
+
exports.InitializeRequestSchema = exports.RequestSchema.extend({
|
|
226564
226724
|
method: zod_1.z.literal("initialize"),
|
|
226565
226725
|
params: BaseRequestParamsSchema.extend({
|
|
226566
226726
|
/**
|
|
226567
226727
|
* The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.
|
|
226568
226728
|
*/
|
|
226569
226729
|
protocolVersion: zod_1.z.string(),
|
|
226570
|
-
capabilities: exports.
|
|
226571
|
-
clientInfo: exports.
|
|
226730
|
+
capabilities: exports.ClientCapabilitiesSchema,
|
|
226731
|
+
clientInfo: exports.ImplementationSchema,
|
|
226572
226732
|
}),
|
|
226573
226733
|
});
|
|
226574
226734
|
const isInitializeRequest = (value) => exports.InitializeRequestSchema.safeParse(value).success;
|
|
226575
|
-
|
|
226735
|
+
exports.isInitializeRequest = isInitializeRequest;
|
|
226576
226736
|
/**
|
|
226577
226737
|
* Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
|
|
226578
226738
|
*/
|
|
226579
|
-
exports.
|
|
226739
|
+
exports.ServerCapabilitiesSchema = zod_1.z
|
|
226580
226740
|
.object({
|
|
226581
226741
|
/**
|
|
226582
226742
|
* Experimental, non-standard capabilities that the server supports.
|
|
@@ -226632,13 +226792,13 @@ exports.Vb = zod_1.z
|
|
|
226632
226792
|
/**
|
|
226633
226793
|
* After receiving an initialize request from the client, the server sends this response.
|
|
226634
226794
|
*/
|
|
226635
|
-
exports.
|
|
226795
|
+
exports.InitializeResultSchema = exports.ResultSchema.extend({
|
|
226636
226796
|
/**
|
|
226637
226797
|
* The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect.
|
|
226638
226798
|
*/
|
|
226639
226799
|
protocolVersion: zod_1.z.string(),
|
|
226640
|
-
capabilities: exports.
|
|
226641
|
-
serverInfo: exports.
|
|
226800
|
+
capabilities: exports.ServerCapabilitiesSchema,
|
|
226801
|
+
serverInfo: exports.ImplementationSchema,
|
|
226642
226802
|
/**
|
|
226643
226803
|
* Instructions describing how to use the server and its features.
|
|
226644
226804
|
*
|
|
@@ -226649,20 +226809,20 @@ exports.Rk = exports.Jh.extend({
|
|
|
226649
226809
|
/**
|
|
226650
226810
|
* This notification is sent from the client to the server after initialization has finished.
|
|
226651
226811
|
*/
|
|
226652
|
-
exports.InitializedNotificationSchema = exports.
|
|
226812
|
+
exports.InitializedNotificationSchema = exports.NotificationSchema.extend({
|
|
226653
226813
|
method: zod_1.z.literal("notifications/initialized"),
|
|
226654
226814
|
});
|
|
226655
226815
|
const isInitializedNotification = (value) => exports.InitializedNotificationSchema.safeParse(value).success;
|
|
226656
|
-
|
|
226816
|
+
exports.isInitializedNotification = isInitializedNotification;
|
|
226657
226817
|
/* Ping */
|
|
226658
226818
|
/**
|
|
226659
226819
|
* A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.
|
|
226660
226820
|
*/
|
|
226661
|
-
exports.PingRequestSchema = exports.
|
|
226821
|
+
exports.PingRequestSchema = exports.RequestSchema.extend({
|
|
226662
226822
|
method: zod_1.z.literal("ping"),
|
|
226663
226823
|
});
|
|
226664
226824
|
/* Progress notifications */
|
|
226665
|
-
exports
|
|
226825
|
+
exports.ProgressSchema = zod_1.z
|
|
226666
226826
|
.object({
|
|
226667
226827
|
/**
|
|
226668
226828
|
* The progress thus far. This should increase every time progress is made, even if the total is unknown.
|
|
@@ -226681,37 +226841,37 @@ exports.$L = zod_1.z
|
|
|
226681
226841
|
/**
|
|
226682
226842
|
* An out-of-band notification used to inform the receiver of a progress update for a long-running request.
|
|
226683
226843
|
*/
|
|
226684
|
-
exports.ProgressNotificationSchema = exports.
|
|
226844
|
+
exports.ProgressNotificationSchema = exports.NotificationSchema.extend({
|
|
226685
226845
|
method: zod_1.z.literal("notifications/progress"),
|
|
226686
|
-
params: BaseNotificationParamsSchema.merge(exports
|
|
226846
|
+
params: BaseNotificationParamsSchema.merge(exports.ProgressSchema).extend({
|
|
226687
226847
|
/**
|
|
226688
226848
|
* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.
|
|
226689
226849
|
*/
|
|
226690
|
-
progressToken: exports.
|
|
226850
|
+
progressToken: exports.ProgressTokenSchema,
|
|
226691
226851
|
}),
|
|
226692
226852
|
});
|
|
226693
226853
|
/* Pagination */
|
|
226694
|
-
exports.
|
|
226854
|
+
exports.PaginatedRequestSchema = exports.RequestSchema.extend({
|
|
226695
226855
|
params: BaseRequestParamsSchema.extend({
|
|
226696
226856
|
/**
|
|
226697
226857
|
* An opaque token representing the current pagination position.
|
|
226698
226858
|
* If provided, the server should return results starting after this cursor.
|
|
226699
226859
|
*/
|
|
226700
|
-
cursor: zod_1.z.optional(exports.
|
|
226860
|
+
cursor: zod_1.z.optional(exports.CursorSchema),
|
|
226701
226861
|
}).optional(),
|
|
226702
226862
|
});
|
|
226703
|
-
exports.
|
|
226863
|
+
exports.PaginatedResultSchema = exports.ResultSchema.extend({
|
|
226704
226864
|
/**
|
|
226705
226865
|
* An opaque token representing the pagination position after the last returned result.
|
|
226706
226866
|
* If present, there may be more results available.
|
|
226707
226867
|
*/
|
|
226708
|
-
nextCursor: zod_1.z.optional(exports.
|
|
226868
|
+
nextCursor: zod_1.z.optional(exports.CursorSchema),
|
|
226709
226869
|
});
|
|
226710
226870
|
/* Resources */
|
|
226711
226871
|
/**
|
|
226712
226872
|
* The contents of a specific resource or sub-resource.
|
|
226713
226873
|
*/
|
|
226714
|
-
exports.
|
|
226874
|
+
exports.ResourceContentsSchema = zod_1.z
|
|
226715
226875
|
.object({
|
|
226716
226876
|
/**
|
|
226717
226877
|
* The URI of this resource.
|
|
@@ -226728,13 +226888,13 @@ exports.YF = zod_1.z
|
|
|
226728
226888
|
_meta: zod_1.z.optional(zod_1.z.object({}).passthrough()),
|
|
226729
226889
|
})
|
|
226730
226890
|
.passthrough();
|
|
226731
|
-
exports.
|
|
226891
|
+
exports.TextResourceContentsSchema = exports.ResourceContentsSchema.extend({
|
|
226732
226892
|
/**
|
|
226733
226893
|
* The text of the item. This must only be set if the item can actually be represented as text (not binary data).
|
|
226734
226894
|
*/
|
|
226735
226895
|
text: zod_1.z.string(),
|
|
226736
226896
|
});
|
|
226737
|
-
exports.
|
|
226897
|
+
exports.BlobResourceContentsSchema = exports.ResourceContentsSchema.extend({
|
|
226738
226898
|
/**
|
|
226739
226899
|
* A base64-encoded string representing the binary data of the item.
|
|
226740
226900
|
*/
|
|
@@ -226743,7 +226903,7 @@ exports.Z5 = exports.YF.extend({
|
|
|
226743
226903
|
/**
|
|
226744
226904
|
* A known resource that the server is capable of reading.
|
|
226745
226905
|
*/
|
|
226746
|
-
exports.
|
|
226906
|
+
exports.ResourceSchema = exports.BaseMetadataSchema.extend({
|
|
226747
226907
|
/**
|
|
226748
226908
|
* The URI of this resource.
|
|
226749
226909
|
*/
|
|
@@ -226767,7 +226927,7 @@ exports.Ox = exports.Uk.extend({
|
|
|
226767
226927
|
/**
|
|
226768
226928
|
* A template description for resources available on the server.
|
|
226769
226929
|
*/
|
|
226770
|
-
exports.
|
|
226930
|
+
exports.ResourceTemplateSchema = exports.BaseMetadataSchema.extend({
|
|
226771
226931
|
/**
|
|
226772
226932
|
* A URI template (according to RFC 6570) that can be used to construct resource URIs.
|
|
226773
226933
|
*/
|
|
@@ -226791,31 +226951,31 @@ exports.dM = exports.Uk.extend({
|
|
|
226791
226951
|
/**
|
|
226792
226952
|
* Sent from the client to request a list of resources the server has.
|
|
226793
226953
|
*/
|
|
226794
|
-
exports.ListResourcesRequestSchema = exports.
|
|
226954
|
+
exports.ListResourcesRequestSchema = exports.PaginatedRequestSchema.extend({
|
|
226795
226955
|
method: zod_1.z.literal("resources/list"),
|
|
226796
226956
|
});
|
|
226797
226957
|
/**
|
|
226798
226958
|
* The server's response to a resources/list request from the client.
|
|
226799
226959
|
*/
|
|
226800
|
-
exports.
|
|
226801
|
-
resources: zod_1.z.array(exports.
|
|
226960
|
+
exports.ListResourcesResultSchema = exports.PaginatedResultSchema.extend({
|
|
226961
|
+
resources: zod_1.z.array(exports.ResourceSchema),
|
|
226802
226962
|
});
|
|
226803
226963
|
/**
|
|
226804
226964
|
* Sent from the client to request a list of resource templates the server has.
|
|
226805
226965
|
*/
|
|
226806
|
-
exports.ListResourceTemplatesRequestSchema = exports.
|
|
226966
|
+
exports.ListResourceTemplatesRequestSchema = exports.PaginatedRequestSchema.extend({
|
|
226807
226967
|
method: zod_1.z.literal("resources/templates/list"),
|
|
226808
226968
|
});
|
|
226809
226969
|
/**
|
|
226810
226970
|
* The server's response to a resources/templates/list request from the client.
|
|
226811
226971
|
*/
|
|
226812
|
-
exports.
|
|
226813
|
-
resourceTemplates: zod_1.z.array(exports.
|
|
226972
|
+
exports.ListResourceTemplatesResultSchema = exports.PaginatedResultSchema.extend({
|
|
226973
|
+
resourceTemplates: zod_1.z.array(exports.ResourceTemplateSchema),
|
|
226814
226974
|
});
|
|
226815
226975
|
/**
|
|
226816
226976
|
* Sent from the client to the server, to read a specific resource URI.
|
|
226817
226977
|
*/
|
|
226818
|
-
exports.ReadResourceRequestSchema = exports.
|
|
226978
|
+
exports.ReadResourceRequestSchema = exports.RequestSchema.extend({
|
|
226819
226979
|
method: zod_1.z.literal("resources/read"),
|
|
226820
226980
|
params: BaseRequestParamsSchema.extend({
|
|
226821
226981
|
/**
|
|
@@ -226827,19 +226987,19 @@ exports.ReadResourceRequestSchema = exports.F0.extend({
|
|
|
226827
226987
|
/**
|
|
226828
226988
|
* The server's response to a resources/read request from the client.
|
|
226829
226989
|
*/
|
|
226830
|
-
exports.
|
|
226831
|
-
contents: zod_1.z.array(zod_1.z.union([exports.
|
|
226990
|
+
exports.ReadResourceResultSchema = exports.ResultSchema.extend({
|
|
226991
|
+
contents: zod_1.z.array(zod_1.z.union([exports.TextResourceContentsSchema, exports.BlobResourceContentsSchema])),
|
|
226832
226992
|
});
|
|
226833
226993
|
/**
|
|
226834
226994
|
* An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.
|
|
226835
226995
|
*/
|
|
226836
|
-
exports.
|
|
226996
|
+
exports.ResourceListChangedNotificationSchema = exports.NotificationSchema.extend({
|
|
226837
226997
|
method: zod_1.z.literal("notifications/resources/list_changed"),
|
|
226838
226998
|
});
|
|
226839
226999
|
/**
|
|
226840
227000
|
* Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.
|
|
226841
227001
|
*/
|
|
226842
|
-
exports.
|
|
227002
|
+
exports.SubscribeRequestSchema = exports.RequestSchema.extend({
|
|
226843
227003
|
method: zod_1.z.literal("resources/subscribe"),
|
|
226844
227004
|
params: BaseRequestParamsSchema.extend({
|
|
226845
227005
|
/**
|
|
@@ -226851,7 +227011,7 @@ exports.tB = exports.F0.extend({
|
|
|
226851
227011
|
/**
|
|
226852
227012
|
* Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request.
|
|
226853
227013
|
*/
|
|
226854
|
-
exports.
|
|
227014
|
+
exports.UnsubscribeRequestSchema = exports.RequestSchema.extend({
|
|
226855
227015
|
method: zod_1.z.literal("resources/unsubscribe"),
|
|
226856
227016
|
params: BaseRequestParamsSchema.extend({
|
|
226857
227017
|
/**
|
|
@@ -226863,7 +227023,7 @@ exports.cl = exports.F0.extend({
|
|
|
226863
227023
|
/**
|
|
226864
227024
|
* A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.
|
|
226865
227025
|
*/
|
|
226866
|
-
exports.
|
|
227026
|
+
exports.ResourceUpdatedNotificationSchema = exports.NotificationSchema.extend({
|
|
226867
227027
|
method: zod_1.z.literal("notifications/resources/updated"),
|
|
226868
227028
|
params: BaseNotificationParamsSchema.extend({
|
|
226869
227029
|
/**
|
|
@@ -226876,7 +227036,7 @@ exports.cL = exports.nH.extend({
|
|
|
226876
227036
|
/**
|
|
226877
227037
|
* Describes an argument that a prompt can accept.
|
|
226878
227038
|
*/
|
|
226879
|
-
exports.
|
|
227039
|
+
exports.PromptArgumentSchema = zod_1.z
|
|
226880
227040
|
.object({
|
|
226881
227041
|
/**
|
|
226882
227042
|
* The name of the argument.
|
|
@@ -226895,7 +227055,7 @@ exports.RL = zod_1.z
|
|
|
226895
227055
|
/**
|
|
226896
227056
|
* A prompt or prompt template that the server offers.
|
|
226897
227057
|
*/
|
|
226898
|
-
exports.
|
|
227058
|
+
exports.PromptSchema = exports.BaseMetadataSchema.extend({
|
|
226899
227059
|
/**
|
|
226900
227060
|
* An optional description of what this prompt provides
|
|
226901
227061
|
*/
|
|
@@ -226903,7 +227063,7 @@ exports.Uz = exports.Uk.extend({
|
|
|
226903
227063
|
/**
|
|
226904
227064
|
* A list of arguments to use for templating the prompt.
|
|
226905
227065
|
*/
|
|
226906
|
-
arguments: zod_1.z.optional(zod_1.z.array(exports.
|
|
227066
|
+
arguments: zod_1.z.optional(zod_1.z.array(exports.PromptArgumentSchema)),
|
|
226907
227067
|
/**
|
|
226908
227068
|
* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
|
|
226909
227069
|
* for notes on _meta usage.
|
|
@@ -226913,19 +227073,19 @@ exports.Uz = exports.Uk.extend({
|
|
|
226913
227073
|
/**
|
|
226914
227074
|
* Sent from the client to request a list of prompts and prompt templates the server has.
|
|
226915
227075
|
*/
|
|
226916
|
-
exports.ListPromptsRequestSchema = exports.
|
|
227076
|
+
exports.ListPromptsRequestSchema = exports.PaginatedRequestSchema.extend({
|
|
226917
227077
|
method: zod_1.z.literal("prompts/list"),
|
|
226918
227078
|
});
|
|
226919
227079
|
/**
|
|
226920
227080
|
* The server's response to a prompts/list request from the client.
|
|
226921
227081
|
*/
|
|
226922
|
-
exports.
|
|
226923
|
-
prompts: zod_1.z.array(exports.
|
|
227082
|
+
exports.ListPromptsResultSchema = exports.PaginatedResultSchema.extend({
|
|
227083
|
+
prompts: zod_1.z.array(exports.PromptSchema),
|
|
226924
227084
|
});
|
|
226925
227085
|
/**
|
|
226926
227086
|
* Used by the client to get a prompt provided by the server.
|
|
226927
227087
|
*/
|
|
226928
|
-
exports.GetPromptRequestSchema = exports.
|
|
227088
|
+
exports.GetPromptRequestSchema = exports.RequestSchema.extend({
|
|
226929
227089
|
method: zod_1.z.literal("prompts/get"),
|
|
226930
227090
|
params: BaseRequestParamsSchema.extend({
|
|
226931
227091
|
/**
|
|
@@ -226941,7 +227101,7 @@ exports.GetPromptRequestSchema = exports.F0.extend({
|
|
|
226941
227101
|
/**
|
|
226942
227102
|
* Text provided to or from an LLM.
|
|
226943
227103
|
*/
|
|
226944
|
-
exports.
|
|
227104
|
+
exports.TextContentSchema = zod_1.z
|
|
226945
227105
|
.object({
|
|
226946
227106
|
type: zod_1.z.literal("text"),
|
|
226947
227107
|
/**
|
|
@@ -226958,7 +227118,7 @@ exports.yu = zod_1.z
|
|
|
226958
227118
|
/**
|
|
226959
227119
|
* An image provided to or from an LLM.
|
|
226960
227120
|
*/
|
|
226961
|
-
exports.
|
|
227121
|
+
exports.ImageContentSchema = zod_1.z
|
|
226962
227122
|
.object({
|
|
226963
227123
|
type: zod_1.z.literal("image"),
|
|
226964
227124
|
/**
|
|
@@ -226979,7 +227139,7 @@ exports.gX = zod_1.z
|
|
|
226979
227139
|
/**
|
|
226980
227140
|
* An Audio provided to or from an LLM.
|
|
226981
227141
|
*/
|
|
226982
|
-
exports.
|
|
227142
|
+
exports.AudioContentSchema = zod_1.z
|
|
226983
227143
|
.object({
|
|
226984
227144
|
type: zod_1.z.literal("audio"),
|
|
226985
227145
|
/**
|
|
@@ -227000,10 +227160,10 @@ exports.vr = zod_1.z
|
|
|
227000
227160
|
/**
|
|
227001
227161
|
* The contents of a resource, embedded into a prompt or tool call result.
|
|
227002
227162
|
*/
|
|
227003
|
-
exports.
|
|
227163
|
+
exports.EmbeddedResourceSchema = zod_1.z
|
|
227004
227164
|
.object({
|
|
227005
227165
|
type: zod_1.z.literal("resource"),
|
|
227006
|
-
resource: zod_1.z.union([exports.
|
|
227166
|
+
resource: zod_1.z.union([exports.TextResourceContentsSchema, exports.BlobResourceContentsSchema]),
|
|
227007
227167
|
/**
|
|
227008
227168
|
* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
|
|
227009
227169
|
* for notes on _meta usage.
|
|
@@ -227016,42 +227176,42 @@ exports.w9 = zod_1.z
|
|
|
227016
227176
|
*
|
|
227017
227177
|
* Note: resource links returned by tools are not guaranteed to appear in the results of `resources/list` requests.
|
|
227018
227178
|
*/
|
|
227019
|
-
exports.
|
|
227179
|
+
exports.ResourceLinkSchema = exports.ResourceSchema.extend({
|
|
227020
227180
|
type: zod_1.z.literal("resource_link"),
|
|
227021
227181
|
});
|
|
227022
227182
|
/**
|
|
227023
227183
|
* A content block that can be used in prompts and tool results.
|
|
227024
227184
|
*/
|
|
227025
|
-
exports.
|
|
227026
|
-
exports.
|
|
227027
|
-
exports.
|
|
227028
|
-
exports.
|
|
227029
|
-
exports.
|
|
227030
|
-
exports.
|
|
227185
|
+
exports.ContentBlockSchema = zod_1.z.union([
|
|
227186
|
+
exports.TextContentSchema,
|
|
227187
|
+
exports.ImageContentSchema,
|
|
227188
|
+
exports.AudioContentSchema,
|
|
227189
|
+
exports.ResourceLinkSchema,
|
|
227190
|
+
exports.EmbeddedResourceSchema,
|
|
227031
227191
|
]);
|
|
227032
227192
|
/**
|
|
227033
227193
|
* Describes a message returned as part of a prompt.
|
|
227034
227194
|
*/
|
|
227035
|
-
exports.
|
|
227195
|
+
exports.PromptMessageSchema = zod_1.z
|
|
227036
227196
|
.object({
|
|
227037
227197
|
role: zod_1.z.enum(["user", "assistant"]),
|
|
227038
|
-
content: exports.
|
|
227198
|
+
content: exports.ContentBlockSchema,
|
|
227039
227199
|
})
|
|
227040
227200
|
.passthrough();
|
|
227041
227201
|
/**
|
|
227042
227202
|
* The server's response to a prompts/get request from the client.
|
|
227043
227203
|
*/
|
|
227044
|
-
exports.
|
|
227204
|
+
exports.GetPromptResultSchema = exports.ResultSchema.extend({
|
|
227045
227205
|
/**
|
|
227046
227206
|
* An optional description for the prompt.
|
|
227047
227207
|
*/
|
|
227048
227208
|
description: zod_1.z.optional(zod_1.z.string()),
|
|
227049
|
-
messages: zod_1.z.array(exports.
|
|
227209
|
+
messages: zod_1.z.array(exports.PromptMessageSchema),
|
|
227050
227210
|
});
|
|
227051
227211
|
/**
|
|
227052
227212
|
* An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.
|
|
227053
227213
|
*/
|
|
227054
|
-
exports.
|
|
227214
|
+
exports.PromptListChangedNotificationSchema = exports.NotificationSchema.extend({
|
|
227055
227215
|
method: zod_1.z.literal("notifications/prompts/list_changed"),
|
|
227056
227216
|
});
|
|
227057
227217
|
/* Tools */
|
|
@@ -227065,7 +227225,7 @@ exports.br = exports.nH.extend({
|
|
|
227065
227225
|
* Clients should never make tool use decisions based on ToolAnnotations
|
|
227066
227226
|
* received from untrusted servers.
|
|
227067
227227
|
*/
|
|
227068
|
-
exports.
|
|
227228
|
+
exports.ToolAnnotationsSchema = zod_1.z
|
|
227069
227229
|
.object({
|
|
227070
227230
|
/**
|
|
227071
227231
|
* A human-readable title for the tool.
|
|
@@ -227109,7 +227269,7 @@ exports.G8 = zod_1.z
|
|
|
227109
227269
|
/**
|
|
227110
227270
|
* Definition for a tool the client can call.
|
|
227111
227271
|
*/
|
|
227112
|
-
exports.
|
|
227272
|
+
exports.ToolSchema = exports.BaseMetadataSchema.extend({
|
|
227113
227273
|
/**
|
|
227114
227274
|
* A human-readable description of the tool.
|
|
227115
227275
|
*/
|
|
@@ -227137,7 +227297,7 @@ exports.Dn = exports.Uk.extend({
|
|
|
227137
227297
|
/**
|
|
227138
227298
|
* Optional additional tool information.
|
|
227139
227299
|
*/
|
|
227140
|
-
annotations: zod_1.z.optional(exports.
|
|
227300
|
+
annotations: zod_1.z.optional(exports.ToolAnnotationsSchema),
|
|
227141
227301
|
/**
|
|
227142
227302
|
* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)
|
|
227143
227303
|
* for notes on _meta usage.
|
|
@@ -227147,26 +227307,26 @@ exports.Dn = exports.Uk.extend({
|
|
|
227147
227307
|
/**
|
|
227148
227308
|
* Sent from the client to request a list of tools the server has.
|
|
227149
227309
|
*/
|
|
227150
|
-
exports.ListToolsRequestSchema = exports.
|
|
227310
|
+
exports.ListToolsRequestSchema = exports.PaginatedRequestSchema.extend({
|
|
227151
227311
|
method: zod_1.z.literal("tools/list"),
|
|
227152
227312
|
});
|
|
227153
227313
|
/**
|
|
227154
227314
|
* The server's response to a tools/list request from the client.
|
|
227155
227315
|
*/
|
|
227156
|
-
exports.
|
|
227157
|
-
tools: zod_1.z.array(exports.
|
|
227316
|
+
exports.ListToolsResultSchema = exports.PaginatedResultSchema.extend({
|
|
227317
|
+
tools: zod_1.z.array(exports.ToolSchema),
|
|
227158
227318
|
});
|
|
227159
227319
|
/**
|
|
227160
227320
|
* The server's response to a tool call.
|
|
227161
227321
|
*/
|
|
227162
|
-
exports.
|
|
227322
|
+
exports.CallToolResultSchema = exports.ResultSchema.extend({
|
|
227163
227323
|
/**
|
|
227164
227324
|
* A list of content objects that represent the result of the tool call.
|
|
227165
227325
|
*
|
|
227166
227326
|
* If the Tool does not define an outputSchema, this field MUST be present in the result.
|
|
227167
227327
|
* For backwards compatibility, this field is always present, but it may be empty.
|
|
227168
227328
|
*/
|
|
227169
|
-
content: zod_1.z.array(exports.
|
|
227329
|
+
content: zod_1.z.array(exports.ContentBlockSchema).default([]),
|
|
227170
227330
|
/**
|
|
227171
227331
|
* An object containing structured tool output.
|
|
227172
227332
|
*
|
|
@@ -227192,13 +227352,13 @@ exports.TF = exports.Jh.extend({
|
|
|
227192
227352
|
/**
|
|
227193
227353
|
* CallToolResultSchema extended with backwards compatibility to protocol version 2024-10-07.
|
|
227194
227354
|
*/
|
|
227195
|
-
|
|
227355
|
+
exports.CompatibilityCallToolResultSchema = exports.CallToolResultSchema.or(exports.ResultSchema.extend({
|
|
227196
227356
|
toolResult: zod_1.z.unknown(),
|
|
227197
227357
|
}));
|
|
227198
227358
|
/**
|
|
227199
227359
|
* Used by the client to invoke a tool provided by the server.
|
|
227200
227360
|
*/
|
|
227201
|
-
exports.CallToolRequestSchema = exports.
|
|
227361
|
+
exports.CallToolRequestSchema = exports.RequestSchema.extend({
|
|
227202
227362
|
method: zod_1.z.literal("tools/call"),
|
|
227203
227363
|
params: BaseRequestParamsSchema.extend({
|
|
227204
227364
|
name: zod_1.z.string(),
|
|
@@ -227208,14 +227368,14 @@ exports.CallToolRequestSchema = exports.F0.extend({
|
|
|
227208
227368
|
/**
|
|
227209
227369
|
* An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.
|
|
227210
227370
|
*/
|
|
227211
|
-
exports.
|
|
227371
|
+
exports.ToolListChangedNotificationSchema = exports.NotificationSchema.extend({
|
|
227212
227372
|
method: zod_1.z.literal("notifications/tools/list_changed"),
|
|
227213
227373
|
});
|
|
227214
227374
|
/* Logging */
|
|
227215
227375
|
/**
|
|
227216
227376
|
* The severity of a log message.
|
|
227217
227377
|
*/
|
|
227218
|
-
exports.
|
|
227378
|
+
exports.LoggingLevelSchema = zod_1.z.enum([
|
|
227219
227379
|
"debug",
|
|
227220
227380
|
"info",
|
|
227221
227381
|
"notice",
|
|
@@ -227228,25 +227388,25 @@ exports.FP = zod_1.z.enum([
|
|
|
227228
227388
|
/**
|
|
227229
227389
|
* A request from the client to the server, to enable or adjust logging.
|
|
227230
227390
|
*/
|
|
227231
|
-
exports.SetLevelRequestSchema = exports.
|
|
227391
|
+
exports.SetLevelRequestSchema = exports.RequestSchema.extend({
|
|
227232
227392
|
method: zod_1.z.literal("logging/setLevel"),
|
|
227233
227393
|
params: BaseRequestParamsSchema.extend({
|
|
227234
227394
|
/**
|
|
227235
227395
|
* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.
|
|
227236
227396
|
*/
|
|
227237
|
-
level: exports.
|
|
227397
|
+
level: exports.LoggingLevelSchema,
|
|
227238
227398
|
}),
|
|
227239
227399
|
});
|
|
227240
227400
|
/**
|
|
227241
227401
|
* Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.
|
|
227242
227402
|
*/
|
|
227243
|
-
exports.
|
|
227403
|
+
exports.LoggingMessageNotificationSchema = exports.NotificationSchema.extend({
|
|
227244
227404
|
method: zod_1.z.literal("notifications/message"),
|
|
227245
227405
|
params: BaseNotificationParamsSchema.extend({
|
|
227246
227406
|
/**
|
|
227247
227407
|
* The severity of this log message.
|
|
227248
227408
|
*/
|
|
227249
|
-
level: exports.
|
|
227409
|
+
level: exports.LoggingLevelSchema,
|
|
227250
227410
|
/**
|
|
227251
227411
|
* An optional name of the logger issuing this message.
|
|
227252
227412
|
*/
|
|
@@ -227261,7 +227421,7 @@ exports.B = exports.nH.extend({
|
|
|
227261
227421
|
/**
|
|
227262
227422
|
* Hints to use for model selection.
|
|
227263
227423
|
*/
|
|
227264
|
-
exports.
|
|
227424
|
+
exports.ModelHintSchema = zod_1.z
|
|
227265
227425
|
.object({
|
|
227266
227426
|
/**
|
|
227267
227427
|
* A hint for a model name.
|
|
@@ -227272,12 +227432,12 @@ exports.ug = zod_1.z
|
|
|
227272
227432
|
/**
|
|
227273
227433
|
* The server's preferences for model selection, requested of the client during sampling.
|
|
227274
227434
|
*/
|
|
227275
|
-
exports.
|
|
227435
|
+
exports.ModelPreferencesSchema = zod_1.z
|
|
227276
227436
|
.object({
|
|
227277
227437
|
/**
|
|
227278
227438
|
* Optional hints to use for model selection.
|
|
227279
227439
|
*/
|
|
227280
|
-
hints: zod_1.z.optional(zod_1.z.array(exports.
|
|
227440
|
+
hints: zod_1.z.optional(zod_1.z.array(exports.ModelHintSchema)),
|
|
227281
227441
|
/**
|
|
227282
227442
|
* How much to prioritize cost when selecting a model.
|
|
227283
227443
|
*/
|
|
@@ -227295,19 +227455,19 @@ exports.Fp = zod_1.z
|
|
|
227295
227455
|
/**
|
|
227296
227456
|
* Describes a message issued to or received from an LLM API.
|
|
227297
227457
|
*/
|
|
227298
|
-
exports.
|
|
227458
|
+
exports.SamplingMessageSchema = zod_1.z
|
|
227299
227459
|
.object({
|
|
227300
227460
|
role: zod_1.z.enum(["user", "assistant"]),
|
|
227301
|
-
content: zod_1.z.union([exports.
|
|
227461
|
+
content: zod_1.z.union([exports.TextContentSchema, exports.ImageContentSchema, exports.AudioContentSchema]),
|
|
227302
227462
|
})
|
|
227303
227463
|
.passthrough();
|
|
227304
227464
|
/**
|
|
227305
227465
|
* A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.
|
|
227306
227466
|
*/
|
|
227307
|
-
exports.
|
|
227467
|
+
exports.CreateMessageRequestSchema = exports.RequestSchema.extend({
|
|
227308
227468
|
method: zod_1.z.literal("sampling/createMessage"),
|
|
227309
227469
|
params: BaseRequestParamsSchema.extend({
|
|
227310
|
-
messages: zod_1.z.array(exports.
|
|
227470
|
+
messages: zod_1.z.array(exports.SamplingMessageSchema),
|
|
227311
227471
|
/**
|
|
227312
227472
|
* An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt.
|
|
227313
227473
|
*/
|
|
@@ -227329,13 +227489,13 @@ exports.u9 = exports.F0.extend({
|
|
|
227329
227489
|
/**
|
|
227330
227490
|
* The server's preferences for which model to select.
|
|
227331
227491
|
*/
|
|
227332
|
-
modelPreferences: zod_1.z.optional(exports.
|
|
227492
|
+
modelPreferences: zod_1.z.optional(exports.ModelPreferencesSchema),
|
|
227333
227493
|
}),
|
|
227334
227494
|
});
|
|
227335
227495
|
/**
|
|
227336
227496
|
* The client's response to a sampling/create_message request from the server. The client should inform the user before returning the sampled message, to allow them to inspect the response (human in the loop) and decide whether to allow the server to see it.
|
|
227337
227497
|
*/
|
|
227338
|
-
exports.CreateMessageResultSchema = exports.
|
|
227498
|
+
exports.CreateMessageResultSchema = exports.ResultSchema.extend({
|
|
227339
227499
|
/**
|
|
227340
227500
|
* The name of the model that generated the message.
|
|
227341
227501
|
*/
|
|
@@ -227346,16 +227506,16 @@ exports.CreateMessageResultSchema = exports.Jh.extend({
|
|
|
227346
227506
|
stopReason: zod_1.z.optional(zod_1.z.enum(["endTurn", "stopSequence", "maxTokens"]).or(zod_1.z.string())),
|
|
227347
227507
|
role: zod_1.z.enum(["user", "assistant"]),
|
|
227348
227508
|
content: zod_1.z.discriminatedUnion("type", [
|
|
227349
|
-
exports.
|
|
227350
|
-
exports.
|
|
227351
|
-
exports.
|
|
227509
|
+
exports.TextContentSchema,
|
|
227510
|
+
exports.ImageContentSchema,
|
|
227511
|
+
exports.AudioContentSchema
|
|
227352
227512
|
]),
|
|
227353
227513
|
});
|
|
227354
227514
|
/* Elicitation */
|
|
227355
227515
|
/**
|
|
227356
227516
|
* Primitive schema definition for boolean fields.
|
|
227357
227517
|
*/
|
|
227358
|
-
exports.
|
|
227518
|
+
exports.BooleanSchemaSchema = zod_1.z
|
|
227359
227519
|
.object({
|
|
227360
227520
|
type: zod_1.z.literal("boolean"),
|
|
227361
227521
|
title: zod_1.z.optional(zod_1.z.string()),
|
|
@@ -227366,7 +227526,7 @@ exports.v6 = zod_1.z
|
|
|
227366
227526
|
/**
|
|
227367
227527
|
* Primitive schema definition for string fields.
|
|
227368
227528
|
*/
|
|
227369
|
-
exports.
|
|
227529
|
+
exports.StringSchemaSchema = zod_1.z
|
|
227370
227530
|
.object({
|
|
227371
227531
|
type: zod_1.z.literal("string"),
|
|
227372
227532
|
title: zod_1.z.optional(zod_1.z.string()),
|
|
@@ -227379,7 +227539,7 @@ exports.qY = zod_1.z
|
|
|
227379
227539
|
/**
|
|
227380
227540
|
* Primitive schema definition for number fields.
|
|
227381
227541
|
*/
|
|
227382
|
-
exports.
|
|
227542
|
+
exports.NumberSchemaSchema = zod_1.z
|
|
227383
227543
|
.object({
|
|
227384
227544
|
type: zod_1.z.enum(["number", "integer"]),
|
|
227385
227545
|
title: zod_1.z.optional(zod_1.z.string()),
|
|
@@ -227391,7 +227551,7 @@ exports.CK = zod_1.z
|
|
|
227391
227551
|
/**
|
|
227392
227552
|
* Primitive schema definition for enum fields.
|
|
227393
227553
|
*/
|
|
227394
|
-
exports.
|
|
227554
|
+
exports.EnumSchemaSchema = zod_1.z
|
|
227395
227555
|
.object({
|
|
227396
227556
|
type: zod_1.z.literal("string"),
|
|
227397
227557
|
title: zod_1.z.optional(zod_1.z.string()),
|
|
@@ -227403,17 +227563,17 @@ exports.yA = zod_1.z
|
|
|
227403
227563
|
/**
|
|
227404
227564
|
* Union of all primitive schema definitions.
|
|
227405
227565
|
*/
|
|
227406
|
-
exports.
|
|
227407
|
-
exports.
|
|
227408
|
-
exports.
|
|
227409
|
-
exports.
|
|
227410
|
-
exports.
|
|
227566
|
+
exports.PrimitiveSchemaDefinitionSchema = zod_1.z.union([
|
|
227567
|
+
exports.BooleanSchemaSchema,
|
|
227568
|
+
exports.StringSchemaSchema,
|
|
227569
|
+
exports.NumberSchemaSchema,
|
|
227570
|
+
exports.EnumSchemaSchema,
|
|
227411
227571
|
]);
|
|
227412
227572
|
/**
|
|
227413
227573
|
* A request from the server to elicit user input via the client.
|
|
227414
227574
|
* The client should present the message and form fields to the user.
|
|
227415
227575
|
*/
|
|
227416
|
-
exports
|
|
227576
|
+
exports.ElicitRequestSchema = exports.RequestSchema.extend({
|
|
227417
227577
|
method: zod_1.z.literal("elicitation/create"),
|
|
227418
227578
|
params: BaseRequestParamsSchema.extend({
|
|
227419
227579
|
/**
|
|
@@ -227426,7 +227586,7 @@ exports.$9 = exports.F0.extend({
|
|
|
227426
227586
|
requestedSchema: zod_1.z
|
|
227427
227587
|
.object({
|
|
227428
227588
|
type: zod_1.z.literal("object"),
|
|
227429
|
-
properties: zod_1.z.record(zod_1.z.string(), exports.
|
|
227589
|
+
properties: zod_1.z.record(zod_1.z.string(), exports.PrimitiveSchemaDefinitionSchema),
|
|
227430
227590
|
required: zod_1.z.optional(zod_1.z.array(zod_1.z.string())),
|
|
227431
227591
|
})
|
|
227432
227592
|
.passthrough(),
|
|
@@ -227435,7 +227595,7 @@ exports.$9 = exports.F0.extend({
|
|
|
227435
227595
|
/**
|
|
227436
227596
|
* The client's response to an elicitation/create request from the server.
|
|
227437
227597
|
*/
|
|
227438
|
-
exports.ElicitResultSchema = exports.
|
|
227598
|
+
exports.ElicitResultSchema = exports.ResultSchema.extend({
|
|
227439
227599
|
/**
|
|
227440
227600
|
* The user's response action.
|
|
227441
227601
|
*/
|
|
@@ -227449,7 +227609,7 @@ exports.ElicitResultSchema = exports.Jh.extend({
|
|
|
227449
227609
|
/**
|
|
227450
227610
|
* A reference to a resource or resource template definition.
|
|
227451
227611
|
*/
|
|
227452
|
-
exports.
|
|
227612
|
+
exports.ResourceTemplateReferenceSchema = zod_1.z
|
|
227453
227613
|
.object({
|
|
227454
227614
|
type: zod_1.z.literal("ref/resource"),
|
|
227455
227615
|
/**
|
|
@@ -227461,11 +227621,11 @@ exports.Rz = zod_1.z
|
|
|
227461
227621
|
/**
|
|
227462
227622
|
* @deprecated Use ResourceTemplateReferenceSchema instead
|
|
227463
227623
|
*/
|
|
227464
|
-
|
|
227624
|
+
exports.ResourceReferenceSchema = exports.ResourceTemplateReferenceSchema;
|
|
227465
227625
|
/**
|
|
227466
227626
|
* Identifies a prompt.
|
|
227467
227627
|
*/
|
|
227468
|
-
exports.
|
|
227628
|
+
exports.PromptReferenceSchema = zod_1.z
|
|
227469
227629
|
.object({
|
|
227470
227630
|
type: zod_1.z.literal("ref/prompt"),
|
|
227471
227631
|
/**
|
|
@@ -227477,10 +227637,10 @@ exports.PS = zod_1.z
|
|
|
227477
227637
|
/**
|
|
227478
227638
|
* A request from the client to the server, to ask for completion options.
|
|
227479
227639
|
*/
|
|
227480
|
-
exports.CompleteRequestSchema = exports.
|
|
227640
|
+
exports.CompleteRequestSchema = exports.RequestSchema.extend({
|
|
227481
227641
|
method: zod_1.z.literal("completion/complete"),
|
|
227482
227642
|
params: BaseRequestParamsSchema.extend({
|
|
227483
|
-
ref: zod_1.z.union([exports.
|
|
227643
|
+
ref: zod_1.z.union([exports.PromptReferenceSchema, exports.ResourceTemplateReferenceSchema]),
|
|
227484
227644
|
/**
|
|
227485
227645
|
* The argument's information
|
|
227486
227646
|
*/
|
|
@@ -227507,7 +227667,7 @@ exports.CompleteRequestSchema = exports.F0.extend({
|
|
|
227507
227667
|
/**
|
|
227508
227668
|
* The server's response to a completion/complete request
|
|
227509
227669
|
*/
|
|
227510
|
-
exports.
|
|
227670
|
+
exports.CompleteResultSchema = exports.ResultSchema.extend({
|
|
227511
227671
|
completion: zod_1.z
|
|
227512
227672
|
.object({
|
|
227513
227673
|
/**
|
|
@@ -227529,7 +227689,7 @@ exports.GU = exports.Jh.extend({
|
|
|
227529
227689
|
/**
|
|
227530
227690
|
* Represents a root directory or file that the server can operate on.
|
|
227531
227691
|
*/
|
|
227532
|
-
exports.
|
|
227692
|
+
exports.RootSchema = zod_1.z
|
|
227533
227693
|
.object({
|
|
227534
227694
|
/**
|
|
227535
227695
|
* The URI identifying the root. This *must* start with file:// for now.
|
|
@@ -227549,23 +227709,23 @@ exports.QS = zod_1.z
|
|
|
227549
227709
|
/**
|
|
227550
227710
|
* Sent from the server to request a list of root URIs from the client.
|
|
227551
227711
|
*/
|
|
227552
|
-
exports.
|
|
227712
|
+
exports.ListRootsRequestSchema = exports.RequestSchema.extend({
|
|
227553
227713
|
method: zod_1.z.literal("roots/list"),
|
|
227554
227714
|
});
|
|
227555
227715
|
/**
|
|
227556
227716
|
* The client's response to a roots/list request from the server.
|
|
227557
227717
|
*/
|
|
227558
|
-
exports.ListRootsResultSchema = exports.
|
|
227559
|
-
roots: zod_1.z.array(exports.
|
|
227718
|
+
exports.ListRootsResultSchema = exports.ResultSchema.extend({
|
|
227719
|
+
roots: zod_1.z.array(exports.RootSchema),
|
|
227560
227720
|
});
|
|
227561
227721
|
/**
|
|
227562
227722
|
* A notification from the client to the server, informing it that the list of roots has changed.
|
|
227563
227723
|
*/
|
|
227564
|
-
exports.
|
|
227724
|
+
exports.RootsListChangedNotificationSchema = exports.NotificationSchema.extend({
|
|
227565
227725
|
method: zod_1.z.literal("notifications/roots/list_changed"),
|
|
227566
227726
|
});
|
|
227567
227727
|
/* Client messages */
|
|
227568
|
-
|
|
227728
|
+
exports.ClientRequestSchema = zod_1.z.union([
|
|
227569
227729
|
exports.PingRequestSchema,
|
|
227570
227730
|
exports.InitializeRequestSchema,
|
|
227571
227731
|
exports.CompleteRequestSchema,
|
|
@@ -227575,50 +227735,50 @@ __webpack_unused_export__ = zod_1.z.union([
|
|
|
227575
227735
|
exports.ListResourcesRequestSchema,
|
|
227576
227736
|
exports.ListResourceTemplatesRequestSchema,
|
|
227577
227737
|
exports.ReadResourceRequestSchema,
|
|
227578
|
-
exports.
|
|
227579
|
-
exports.
|
|
227738
|
+
exports.SubscribeRequestSchema,
|
|
227739
|
+
exports.UnsubscribeRequestSchema,
|
|
227580
227740
|
exports.CallToolRequestSchema,
|
|
227581
227741
|
exports.ListToolsRequestSchema,
|
|
227582
227742
|
]);
|
|
227583
|
-
|
|
227743
|
+
exports.ClientNotificationSchema = zod_1.z.union([
|
|
227584
227744
|
exports.CancelledNotificationSchema,
|
|
227585
227745
|
exports.ProgressNotificationSchema,
|
|
227586
227746
|
exports.InitializedNotificationSchema,
|
|
227587
|
-
exports.
|
|
227747
|
+
exports.RootsListChangedNotificationSchema,
|
|
227588
227748
|
]);
|
|
227589
|
-
|
|
227749
|
+
exports.ClientResultSchema = zod_1.z.union([
|
|
227590
227750
|
exports.EmptyResultSchema,
|
|
227591
227751
|
exports.CreateMessageResultSchema,
|
|
227592
227752
|
exports.ElicitResultSchema,
|
|
227593
227753
|
exports.ListRootsResultSchema,
|
|
227594
227754
|
]);
|
|
227595
227755
|
/* Server messages */
|
|
227596
|
-
|
|
227756
|
+
exports.ServerRequestSchema = zod_1.z.union([
|
|
227597
227757
|
exports.PingRequestSchema,
|
|
227598
|
-
exports.
|
|
227599
|
-
exports
|
|
227600
|
-
exports.
|
|
227758
|
+
exports.CreateMessageRequestSchema,
|
|
227759
|
+
exports.ElicitRequestSchema,
|
|
227760
|
+
exports.ListRootsRequestSchema,
|
|
227601
227761
|
]);
|
|
227602
|
-
|
|
227762
|
+
exports.ServerNotificationSchema = zod_1.z.union([
|
|
227603
227763
|
exports.CancelledNotificationSchema,
|
|
227604
227764
|
exports.ProgressNotificationSchema,
|
|
227605
|
-
exports.
|
|
227606
|
-
exports.
|
|
227607
|
-
exports.
|
|
227608
|
-
exports.
|
|
227609
|
-
exports.
|
|
227765
|
+
exports.LoggingMessageNotificationSchema,
|
|
227766
|
+
exports.ResourceUpdatedNotificationSchema,
|
|
227767
|
+
exports.ResourceListChangedNotificationSchema,
|
|
227768
|
+
exports.ToolListChangedNotificationSchema,
|
|
227769
|
+
exports.PromptListChangedNotificationSchema,
|
|
227610
227770
|
]);
|
|
227611
|
-
|
|
227771
|
+
exports.ServerResultSchema = zod_1.z.union([
|
|
227612
227772
|
exports.EmptyResultSchema,
|
|
227613
|
-
exports.
|
|
227614
|
-
exports.
|
|
227615
|
-
exports.
|
|
227616
|
-
exports.
|
|
227617
|
-
exports.
|
|
227618
|
-
exports.
|
|
227619
|
-
exports.
|
|
227620
|
-
exports.
|
|
227621
|
-
exports.
|
|
227773
|
+
exports.InitializeResultSchema,
|
|
227774
|
+
exports.CompleteResultSchema,
|
|
227775
|
+
exports.GetPromptResultSchema,
|
|
227776
|
+
exports.ListPromptsResultSchema,
|
|
227777
|
+
exports.ListResourcesResultSchema,
|
|
227778
|
+
exports.ListResourceTemplatesResultSchema,
|
|
227779
|
+
exports.ReadResourceResultSchema,
|
|
227780
|
+
exports.CallToolResultSchema,
|
|
227781
|
+
exports.ListToolsResultSchema,
|
|
227622
227782
|
]);
|
|
227623
227783
|
class McpError extends Error {
|
|
227624
227784
|
constructor(code, message, data) {
|
|
@@ -243885,7 +244045,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
|
|
|
243885
244045
|
(module) {
|
|
243886
244046
|
|
|
243887
244047
|
"use strict";
|
|
243888
|
-
module.exports = {"version":"3.19.0"};
|
|
244048
|
+
module.exports = /*#__PURE__*/JSON.parse('{"name":"winston","description":"A logger for just about everything.","version":"3.19.0","author":"Charlie Robbins <charlie.robbins@gmail.com>","maintainers":["David Hyde <dabh@alumni.stanford.edu>"],"repository":{"type":"git","url":"https://github.com/winstonjs/winston.git"},"keywords":["winston","logger","logging","logs","sysadmin","bunyan","pino","loglevel","tools","json","stream"],"dependencies":{"@dabh/diagnostics":"^2.0.8","@colors/colors":"^1.6.0","async":"^3.2.3","is-stream":"^2.0.0","logform":"^2.7.0","one-time":"^1.0.0","readable-stream":"^3.4.0","safe-stable-stringify":"^2.3.1","stack-trace":"0.0.x","triple-beam":"^1.3.0","winston-transport":"^4.9.0"},"devDependencies":{"@babel/cli":"^7.23.9","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@dabh/eslint-config-populist":"^4.4.0","@types/node":"^20.11.24","abstract-winston-transport":"^0.5.1","assume":"^2.2.0","cross-spawn-async":"^2.2.5","eslint":"^8.57.0","hock":"^1.4.1","jest":"^29.7.0","rimraf":"5.0.10","split2":"^4.1.0","std-mocks":"^2.0.0","through2":"^4.0.2","winston-compat":"^0.1.5"},"main":"./lib/winston.js","browser":"./dist/winston","types":"./index.d.ts","scripts":{"lint":"eslint lib/*.js lib/winston/*.js lib/winston/**/*.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist","test":"jest","test:unit":"jest -c test/jest.config.unit.js","test:integration":"jest -c test/jest.config.integration.js","test:typescript":"npx --package typescript tsc --project test","build":"babel lib -d dist","prebuild":"rimraf dist","prepublishOnly":"npm run build"},"engines":{"node":">= 12.0.0"},"license":"MIT"}');
|
|
243889
244049
|
|
|
243890
244050
|
/***/ }
|
|
243891
244051
|
|