@agentconnect.md/cli 1.18.0-rc.19 → 1.18.0-rc.22
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/index.js +27 -29
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -11083,7 +11083,7 @@ function classifyInvocation(argv) {
|
|
|
11083
11083
|
return "cli";
|
|
11084
11084
|
}
|
|
11085
11085
|
//#endregion
|
|
11086
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11086
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/constants.js
|
|
11087
11087
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11088
11088
|
const BINARY_TYPES = [
|
|
11089
11089
|
"nodebuffer",
|
|
@@ -11106,7 +11106,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11106
11106
|
};
|
|
11107
11107
|
}));
|
|
11108
11108
|
//#endregion
|
|
11109
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11109
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/buffer-util.js
|
|
11110
11110
|
var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11111
11111
|
const { EMPTY_BUFFER } = require_constants();
|
|
11112
11112
|
const FastBuffer = Buffer[Symbol.species];
|
|
@@ -11206,7 +11206,7 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11206
11206
|
} catch (e) {}
|
|
11207
11207
|
}));
|
|
11208
11208
|
//#endregion
|
|
11209
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11209
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/limiter.js
|
|
11210
11210
|
var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11211
11211
|
const kDone = Symbol("kDone");
|
|
11212
11212
|
const kRun = Symbol("kRun");
|
|
@@ -11257,7 +11257,7 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11257
11257
|
module.exports = Limiter;
|
|
11258
11258
|
}));
|
|
11259
11259
|
//#endregion
|
|
11260
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11260
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/permessage-deflate.js
|
|
11261
11261
|
var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11262
11262
|
const zlib = __require("zlib");
|
|
11263
11263
|
const bufferUtil = require_buffer_util();
|
|
@@ -11593,7 +11593,7 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
11593
11593
|
}
|
|
11594
11594
|
}));
|
|
11595
11595
|
//#endregion
|
|
11596
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11596
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/validation.js
|
|
11597
11597
|
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11598
11598
|
const { isUtf8 } = __require("buffer");
|
|
11599
11599
|
const { hasBlob } = require_constants();
|
|
@@ -11789,7 +11789,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11789
11789
|
} catch (e) {}
|
|
11790
11790
|
}));
|
|
11791
11791
|
//#endregion
|
|
11792
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11792
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/receiver.js
|
|
11793
11793
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11794
11794
|
const { Writable } = __require("stream");
|
|
11795
11795
|
const PerMessageDeflate = require_permessage_deflate();
|
|
@@ -11852,6 +11852,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11852
11852
|
this._opcode = 0;
|
|
11853
11853
|
this._totalPayloadLength = 0;
|
|
11854
11854
|
this._messageLength = 0;
|
|
11855
|
+
this._numFragments = 0;
|
|
11855
11856
|
this._fragments = [];
|
|
11856
11857
|
this._errored = false;
|
|
11857
11858
|
this._loop = false;
|
|
@@ -12092,16 +12093,16 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12092
12093
|
this.controlMessage(data, cb);
|
|
12093
12094
|
return;
|
|
12094
12095
|
}
|
|
12096
|
+
if (this._maxFragments > 0 && ++this._numFragments > this._maxFragments) {
|
|
12097
|
+
cb(this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS"));
|
|
12098
|
+
return;
|
|
12099
|
+
}
|
|
12095
12100
|
if (this._compressed) {
|
|
12096
12101
|
this._state = INFLATING;
|
|
12097
12102
|
this.decompress(data, cb);
|
|
12098
12103
|
return;
|
|
12099
12104
|
}
|
|
12100
12105
|
if (data.length) {
|
|
12101
|
-
if (this._maxFragments > 0 && this._fragments.length >= this._maxFragments) {
|
|
12102
|
-
cb(this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS"));
|
|
12103
|
-
return;
|
|
12104
|
-
}
|
|
12105
12106
|
this._messageLength = this._totalPayloadLength;
|
|
12106
12107
|
this._fragments.push(data);
|
|
12107
12108
|
}
|
|
@@ -12123,10 +12124,6 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12123
12124
|
cb(this.createError(RangeError, "Max payload size exceeded", false, 1009, "WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));
|
|
12124
12125
|
return;
|
|
12125
12126
|
}
|
|
12126
|
-
if (this._maxFragments > 0 && this._fragments.length >= this._maxFragments) {
|
|
12127
|
-
cb(this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS"));
|
|
12128
|
-
return;
|
|
12129
|
-
}
|
|
12130
12127
|
this._fragments.push(buf);
|
|
12131
12128
|
}
|
|
12132
12129
|
this.dataMessage(cb);
|
|
@@ -12149,6 +12146,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12149
12146
|
this._totalPayloadLength = 0;
|
|
12150
12147
|
this._messageLength = 0;
|
|
12151
12148
|
this._fragmented = 0;
|
|
12149
|
+
this._numFragments = 0;
|
|
12152
12150
|
this._fragments = [];
|
|
12153
12151
|
if (this._opcode === 2) {
|
|
12154
12152
|
let data;
|
|
@@ -12254,7 +12252,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12254
12252
|
module.exports = Receiver;
|
|
12255
12253
|
}));
|
|
12256
12254
|
//#endregion
|
|
12257
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
12255
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/sender.js
|
|
12258
12256
|
var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12259
12257
|
const { Duplex: Duplex$3 } = __require("stream");
|
|
12260
12258
|
const { randomFillSync } = __require("crypto");
|
|
@@ -12748,7 +12746,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12748
12746
|
}
|
|
12749
12747
|
}));
|
|
12750
12748
|
//#endregion
|
|
12751
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
12749
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/event-target.js
|
|
12752
12750
|
var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12753
12751
|
const { kForOnEventAttribute, kListener } = require_constants();
|
|
12754
12752
|
const kCode = Symbol("kCode");
|
|
@@ -12979,7 +12977,7 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12979
12977
|
}
|
|
12980
12978
|
}));
|
|
12981
12979
|
//#endregion
|
|
12982
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
12980
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/extension.js
|
|
12983
12981
|
var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12984
12982
|
const { tokenChars } = require_validation();
|
|
12985
12983
|
/**
|
|
@@ -13122,7 +13120,7 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13122
13120
|
};
|
|
13123
13121
|
}));
|
|
13124
13122
|
//#endregion
|
|
13125
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
13123
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket.js
|
|
13126
13124
|
var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13127
13125
|
const EventEmitter$2 = __require("events");
|
|
13128
13126
|
const https = __require("https");
|
|
@@ -13627,9 +13625,9 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13627
13625
|
* masking key
|
|
13628
13626
|
* @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the
|
|
13629
13627
|
* handshake request
|
|
13630
|
-
* @param {Number} [options.maxBufferedChunks=
|
|
13628
|
+
* @param {Number} [options.maxBufferedChunks=262144] The maximum number of
|
|
13631
13629
|
* buffered data chunks
|
|
13632
|
-
* @param {Number} [options.maxFragments=
|
|
13630
|
+
* @param {Number} [options.maxFragments=16384] The maximum number of message
|
|
13633
13631
|
* fragments
|
|
13634
13632
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
13635
13633
|
* size
|
|
@@ -13651,8 +13649,8 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13651
13649
|
autoPong: true,
|
|
13652
13650
|
closeTimeout: CLOSE_TIMEOUT,
|
|
13653
13651
|
protocolVersion: protocolVersions[1],
|
|
13654
|
-
maxBufferedChunks:
|
|
13655
|
-
maxFragments:
|
|
13652
|
+
maxBufferedChunks: 256 * 1024,
|
|
13653
|
+
maxFragments: 16 * 1024,
|
|
13656
13654
|
maxPayload: 100 * 1024 * 1024,
|
|
13657
13655
|
skipUTF8Validation: false,
|
|
13658
13656
|
perMessageDeflate: true,
|
|
@@ -14111,7 +14109,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14111
14109
|
}
|
|
14112
14110
|
}));
|
|
14113
14111
|
//#endregion
|
|
14114
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
14112
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/stream.js
|
|
14115
14113
|
var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14116
14114
|
require_websocket();
|
|
14117
14115
|
const { Duplex: Duplex$1 } = __require("stream");
|
|
@@ -14227,7 +14225,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14227
14225
|
module.exports = createWebSocketStream;
|
|
14228
14226
|
}));
|
|
14229
14227
|
//#endregion
|
|
14230
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
14228
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/subprotocol.js
|
|
14231
14229
|
var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14232
14230
|
const { tokenChars } = require_validation();
|
|
14233
14231
|
/**
|
|
@@ -14266,7 +14264,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14266
14264
|
module.exports = { parse };
|
|
14267
14265
|
}));
|
|
14268
14266
|
//#endregion
|
|
14269
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
14267
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket-server.js
|
|
14270
14268
|
var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14271
14269
|
const EventEmitter$1 = __require("events");
|
|
14272
14270
|
const http = __require("http");
|
|
@@ -14305,9 +14303,9 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14305
14303
|
* called
|
|
14306
14304
|
* @param {Function} [options.handleProtocols] A hook to handle protocols
|
|
14307
14305
|
* @param {String} [options.host] The hostname where to bind the server
|
|
14308
|
-
* @param {Number} [options.maxBufferedChunks=
|
|
14306
|
+
* @param {Number} [options.maxBufferedChunks=262144] The maximum number of
|
|
14309
14307
|
* buffered data chunks
|
|
14310
|
-
* @param {Number} [options.maxFragments=
|
|
14308
|
+
* @param {Number} [options.maxFragments=16384] The maximum number of message
|
|
14311
14309
|
* fragments
|
|
14312
14310
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
14313
14311
|
* size
|
|
@@ -14330,8 +14328,8 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14330
14328
|
options = {
|
|
14331
14329
|
allowSynchronousEvents: true,
|
|
14332
14330
|
autoPong: true,
|
|
14333
|
-
maxBufferedChunks:
|
|
14334
|
-
maxFragments:
|
|
14331
|
+
maxBufferedChunks: 256 * 1024,
|
|
14332
|
+
maxFragments: 16 * 1024,
|
|
14335
14333
|
maxPayload: 100 * 1024 * 1024,
|
|
14336
14334
|
skipUTF8Validation: false,
|
|
14337
14335
|
perMessageDeflate: false,
|