@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/148.index.cjs
CHANGED
|
@@ -3473,10 +3473,10 @@ var finalhandler = __webpack_require__(88808);
|
|
|
3473
3473
|
var debug = __webpack_require__(79664)('express:application');
|
|
3474
3474
|
var View = __webpack_require__(49368);
|
|
3475
3475
|
var http = __webpack_require__(50588);
|
|
3476
|
-
var methods = (__webpack_require__(24204)
|
|
3477
|
-
var compileETag = (__webpack_require__(24204)
|
|
3478
|
-
var compileQueryParser = (__webpack_require__(24204)
|
|
3479
|
-
var compileTrust = (__webpack_require__(24204)
|
|
3476
|
+
var methods = (__webpack_require__(24204).methods);
|
|
3477
|
+
var compileETag = (__webpack_require__(24204).compileETag);
|
|
3478
|
+
var compileQueryParser = (__webpack_require__(24204).compileQueryParser);
|
|
3479
|
+
var compileTrust = (__webpack_require__(24204).compileTrust);
|
|
3480
3480
|
var resolve = (__webpack_require__(26743).resolve);
|
|
3481
3481
|
var once = __webpack_require__(6945)
|
|
3482
3482
|
var Router = __webpack_require__(8649);
|
|
@@ -4730,9 +4730,9 @@ var path = __webpack_require__(26743);
|
|
|
4730
4730
|
var pathIsAbsolute = (__webpack_require__(26743).isAbsolute);
|
|
4731
4731
|
var statuses = __webpack_require__(43437)
|
|
4732
4732
|
var sign = (__webpack_require__(51618).sign);
|
|
4733
|
-
var normalizeType = (__webpack_require__(24204)
|
|
4734
|
-
var normalizeTypes = (__webpack_require__(24204)
|
|
4735
|
-
var setCharset = (__webpack_require__(24204)
|
|
4733
|
+
var normalizeType = (__webpack_require__(24204).normalizeType);
|
|
4734
|
+
var normalizeTypes = (__webpack_require__(24204).normalizeTypes);
|
|
4735
|
+
var setCharset = (__webpack_require__(24204).setCharset);
|
|
4736
4736
|
var cookie = __webpack_require__(30374);
|
|
4737
4737
|
var send = __webpack_require__(75940);
|
|
4738
4738
|
var extname = path.extname;
|
|
@@ -5778,7 +5778,7 @@ var querystring = __webpack_require__(11723);
|
|
|
5778
5778
|
* A list of lowercased HTTP methods that are supported by Node.js.
|
|
5779
5779
|
* @api private
|
|
5780
5780
|
*/
|
|
5781
|
-
exports.
|
|
5781
|
+
exports.methods = METHODS.map((method) => method.toLowerCase());
|
|
5782
5782
|
|
|
5783
5783
|
/**
|
|
5784
5784
|
* Return strong ETag for `body`.
|
|
@@ -5789,7 +5789,7 @@ exports.vX = METHODS.map((method) => method.toLowerCase());
|
|
|
5789
5789
|
* @api private
|
|
5790
5790
|
*/
|
|
5791
5791
|
|
|
5792
|
-
exports.
|
|
5792
|
+
exports.etag = createETagGenerator({ weak: false })
|
|
5793
5793
|
|
|
5794
5794
|
/**
|
|
5795
5795
|
* Return weak ETag for `body`.
|
|
@@ -5800,7 +5800,7 @@ exports.wN = createETagGenerator({ weak: false })
|
|
|
5800
5800
|
* @api private
|
|
5801
5801
|
*/
|
|
5802
5802
|
|
|
5803
|
-
exports.
|
|
5803
|
+
exports.wetag = createETagGenerator({ weak: true })
|
|
5804
5804
|
|
|
5805
5805
|
/**
|
|
5806
5806
|
* Normalize the given `type`, for example "html" becomes "text/html".
|
|
@@ -5810,7 +5810,7 @@ exports.N5 = createETagGenerator({ weak: true })
|
|
|
5810
5810
|
* @api private
|
|
5811
5811
|
*/
|
|
5812
5812
|
|
|
5813
|
-
exports.
|
|
5813
|
+
exports.normalizeType = function(type){
|
|
5814
5814
|
return ~type.indexOf('/')
|
|
5815
5815
|
? acceptParams(type)
|
|
5816
5816
|
: { value: (mime.lookup(type) || 'application/octet-stream'), params: {} }
|
|
@@ -5824,8 +5824,8 @@ exports.AZ = function(type){
|
|
|
5824
5824
|
* @api private
|
|
5825
5825
|
*/
|
|
5826
5826
|
|
|
5827
|
-
exports.
|
|
5828
|
-
return types.map(exports.
|
|
5827
|
+
exports.normalizeTypes = function(types) {
|
|
5828
|
+
return types.map(exports.normalizeType);
|
|
5829
5829
|
};
|
|
5830
5830
|
|
|
5831
5831
|
|
|
@@ -5879,7 +5879,7 @@ function acceptParams (str) {
|
|
|
5879
5879
|
* @api private
|
|
5880
5880
|
*/
|
|
5881
5881
|
|
|
5882
|
-
exports.
|
|
5882
|
+
exports.compileETag = function(val) {
|
|
5883
5883
|
var fn;
|
|
5884
5884
|
|
|
5885
5885
|
if (typeof val === 'function') {
|
|
@@ -5889,12 +5889,12 @@ exports.Rx = function(val) {
|
|
|
5889
5889
|
switch (val) {
|
|
5890
5890
|
case true:
|
|
5891
5891
|
case 'weak':
|
|
5892
|
-
fn = exports.
|
|
5892
|
+
fn = exports.wetag;
|
|
5893
5893
|
break;
|
|
5894
5894
|
case false:
|
|
5895
5895
|
break;
|
|
5896
5896
|
case 'strong':
|
|
5897
|
-
fn = exports.
|
|
5897
|
+
fn = exports.etag;
|
|
5898
5898
|
break;
|
|
5899
5899
|
default:
|
|
5900
5900
|
throw new TypeError('unknown value for etag function: ' + val);
|
|
@@ -5911,7 +5911,7 @@ exports.Rx = function(val) {
|
|
|
5911
5911
|
* @api private
|
|
5912
5912
|
*/
|
|
5913
5913
|
|
|
5914
|
-
exports.
|
|
5914
|
+
exports.compileQueryParser = function compileQueryParser(val) {
|
|
5915
5915
|
var fn;
|
|
5916
5916
|
|
|
5917
5917
|
if (typeof val === 'function') {
|
|
@@ -5943,7 +5943,7 @@ exports.HD = function compileQueryParser(val) {
|
|
|
5943
5943
|
* @api private
|
|
5944
5944
|
*/
|
|
5945
5945
|
|
|
5946
|
-
exports.
|
|
5946
|
+
exports.compileTrust = function(val) {
|
|
5947
5947
|
if (typeof val === 'function') return val;
|
|
5948
5948
|
|
|
5949
5949
|
if (val === true) {
|
|
@@ -5974,7 +5974,7 @@ exports.y6 = function(val) {
|
|
|
5974
5974
|
* @api private
|
|
5975
5975
|
*/
|
|
5976
5976
|
|
|
5977
|
-
exports.
|
|
5977
|
+
exports.setCharset = function setCharset(type, charset) {
|
|
5978
5978
|
if (!type || !charset) {
|
|
5979
5979
|
return type;
|
|
5980
5980
|
}
|
|
@@ -13133,15 +13133,14 @@ function fresh (url, parsedUrl) {
|
|
|
13133
13133
|
(__unused_webpack_module, exports) {
|
|
13134
13134
|
|
|
13135
13135
|
"use strict";
|
|
13136
|
-
var __webpack_unused_export__;
|
|
13137
13136
|
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
|
|
13141
|
-
|
|
13137
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13138
|
+
exports.TokenData = void 0;
|
|
13139
|
+
exports.parse = parse;
|
|
13140
|
+
exports.compile = compile;
|
|
13142
13141
|
exports.match = match;
|
|
13143
|
-
|
|
13144
|
-
|
|
13142
|
+
exports.pathToRegexp = pathToRegexp;
|
|
13143
|
+
exports.stringify = stringify;
|
|
13145
13144
|
const DEFAULT_DELIMITER = "/";
|
|
13146
13145
|
const NOOP_VALUE = (value) => value;
|
|
13147
13146
|
const ID_START = /^[$_\p{ID_Start}]$/u;
|
|
@@ -13275,7 +13274,7 @@ class TokenData {
|
|
|
13275
13274
|
this.tokens = tokens;
|
|
13276
13275
|
}
|
|
13277
13276
|
}
|
|
13278
|
-
|
|
13277
|
+
exports.TokenData = TokenData;
|
|
13279
13278
|
/**
|
|
13280
13279
|
* Parse a string for the raw tokens.
|
|
13281
13280
|
*/
|
|
@@ -24308,8 +24307,6 @@ async function defaultBrowserId() {
|
|
|
24308
24307
|
}
|
|
24309
24308
|
|
|
24310
24309
|
;// ../node_modules/.pnpm/run-applescript@7.1.0/node_modules/run-applescript/index.js
|
|
24311
|
-
/* unused harmony import specifier */ var process;
|
|
24312
|
-
/* unused harmony import specifier */ var execFileSync;
|
|
24313
24310
|
|
|
24314
24311
|
|
|
24315
24312
|
|
|
@@ -24333,13 +24330,13 @@ async function runAppleScript(script, {humanReadableOutput = true, signal} = {})
|
|
|
24333
24330
|
}
|
|
24334
24331
|
|
|
24335
24332
|
function runAppleScriptSync(script, {humanReadableOutput = true} = {}) {
|
|
24336
|
-
if (
|
|
24333
|
+
if (external_node_process_.platform !== 'darwin') {
|
|
24337
24334
|
throw new Error('macOS only');
|
|
24338
24335
|
}
|
|
24339
24336
|
|
|
24340
24337
|
const outputArguments = humanReadableOutput ? [] : ['-ss'];
|
|
24341
24338
|
|
|
24342
|
-
const stdout = execFileSync('osascript', ['-e', script, ...outputArguments], {
|
|
24339
|
+
const stdout = (0,external_node_child_process_.execFileSync)('osascript', ['-e', script, ...outputArguments], {
|
|
24343
24340
|
encoding: 'utf8',
|
|
24344
24341
|
stdio: ['ignore', 'pipe', 'ignore'],
|
|
24345
24342
|
timeout: 500,
|
package/dist/880.index.cjs
CHANGED
|
@@ -2998,12 +2998,11 @@ async function getInteractiveServerSafe(mcpServer) {
|
|
|
2998
2998
|
(__unused_webpack_module, exports) {
|
|
2999
2999
|
|
|
3000
3000
|
"use strict";
|
|
3001
|
-
var __webpack_unused_export__;
|
|
3002
3001
|
|
|
3003
3002
|
/**
|
|
3004
3003
|
* Reusable UI components for env setup page
|
|
3005
3004
|
*/
|
|
3006
|
-
|
|
3005
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3007
3006
|
exports.renderHeader = renderHeader;
|
|
3008
3007
|
exports.renderSearchBox = renderSearchBox;
|
|
3009
3008
|
exports.renderEnvItem = renderEnvItem;
|
|
@@ -3273,12 +3272,11 @@ function escapeHtml(text) {
|
|
|
3273
3272
|
(__unused_webpack_module, exports) {
|
|
3274
3273
|
|
|
3275
3274
|
"use strict";
|
|
3276
|
-
var __webpack_unused_export__;
|
|
3277
3275
|
|
|
3278
3276
|
/**
|
|
3279
3277
|
* HTML template structure
|
|
3280
3278
|
*/
|
|
3281
|
-
|
|
3279
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3282
3280
|
exports.buildHTMLPage = buildHTMLPage;
|
|
3283
3281
|
function buildHTMLPage(css, body, scripts) {
|
|
3284
3282
|
return `
|
|
@@ -3305,12 +3303,11 @@ function buildHTMLPage(css, body, scripts) {
|
|
|
3305
3303
|
(__unused_webpack_module, exports, __webpack_require__) {
|
|
3306
3304
|
|
|
3307
3305
|
"use strict";
|
|
3308
|
-
var __webpack_unused_export__;
|
|
3309
3306
|
|
|
3310
3307
|
/**
|
|
3311
3308
|
* Main renderer for env setup page
|
|
3312
3309
|
*/
|
|
3313
|
-
|
|
3310
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3314
3311
|
exports.renderEnvSetupPage = renderEnvSetupPage;
|
|
3315
3312
|
const components_js_1 = __webpack_require__(44415);
|
|
3316
3313
|
const html_js_1 = __webpack_require__(4182);
|
|
@@ -3379,12 +3376,11 @@ function renderEnvSetupPage(options) {
|
|
|
3379
3376
|
(__unused_webpack_module, exports) {
|
|
3380
3377
|
|
|
3381
3378
|
"use strict";
|
|
3382
|
-
var __webpack_unused_export__;
|
|
3383
3379
|
|
|
3384
3380
|
/**
|
|
3385
3381
|
* JavaScript logic for env setup page
|
|
3386
3382
|
*/
|
|
3387
|
-
|
|
3383
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3388
3384
|
exports.getJavaScripts = getJavaScripts;
|
|
3389
3385
|
function getJavaScripts(wsPort) {
|
|
3390
3386
|
return `
|
|
@@ -3650,12 +3646,11 @@ function getJavaScripts(wsPort) {
|
|
|
3650
3646
|
(__unused_webpack_module, exports) {
|
|
3651
3647
|
|
|
3652
3648
|
"use strict";
|
|
3653
|
-
var __webpack_unused_export__;
|
|
3654
3649
|
|
|
3655
3650
|
/**
|
|
3656
3651
|
* CSS styles for env setup page
|
|
3657
3652
|
*/
|
|
3658
|
-
|
|
3653
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3659
3654
|
exports.CSS_STYLES = void 0;
|
|
3660
3655
|
exports.CSS_STYLES = `
|
|
3661
3656
|
<style>
|