@agentconnect.md/cli 1.18.0-rc.18 → 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 +32 -30
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -7896,8 +7896,12 @@ const MemoryDreamingPolicy = object({
|
|
|
7896
7896
|
enabled: boolean(),
|
|
7897
7897
|
/** How many recent sessions to mine (default 20). */
|
|
7898
7898
|
sessionWindow: number().int().min(1).max(100).optional(),
|
|
7899
|
-
/** Cron expression for scheduled dreams (same syntax as agent crons).
|
|
7899
|
+
/** Cron expression for scheduled dreams (same syntax as agent crons). A tick
|
|
7900
|
+
* that lands while a dream is already in flight is skipped, not queued. */
|
|
7900
7901
|
schedule: string().min(1).max(128).optional(),
|
|
7902
|
+
/** IANA zone the `schedule` is evaluated in (as on agent crons). Absent ⇒ the
|
|
7903
|
+
* daemon host's local time. */
|
|
7904
|
+
timezone: string().min(1).max(64).optional(),
|
|
7901
7905
|
/** Operator steering text applied through the whole dream pipeline. */
|
|
7902
7906
|
instructions: string().max(4096).optional(),
|
|
7903
7907
|
/** Also mine reusable procedures into candidate skills (never auto-installed). */
|
|
@@ -11079,7 +11083,7 @@ function classifyInvocation(argv) {
|
|
|
11079
11083
|
return "cli";
|
|
11080
11084
|
}
|
|
11081
11085
|
//#endregion
|
|
11082
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11086
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/constants.js
|
|
11083
11087
|
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11084
11088
|
const BINARY_TYPES = [
|
|
11085
11089
|
"nodebuffer",
|
|
@@ -11102,7 +11106,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11102
11106
|
};
|
|
11103
11107
|
}));
|
|
11104
11108
|
//#endregion
|
|
11105
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11109
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/buffer-util.js
|
|
11106
11110
|
var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11107
11111
|
const { EMPTY_BUFFER } = require_constants();
|
|
11108
11112
|
const FastBuffer = Buffer[Symbol.species];
|
|
@@ -11202,7 +11206,7 @@ var require_buffer_util = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11202
11206
|
} catch (e) {}
|
|
11203
11207
|
}));
|
|
11204
11208
|
//#endregion
|
|
11205
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11209
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/limiter.js
|
|
11206
11210
|
var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11207
11211
|
const kDone = Symbol("kDone");
|
|
11208
11212
|
const kRun = Symbol("kRun");
|
|
@@ -11253,7 +11257,7 @@ var require_limiter = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11253
11257
|
module.exports = Limiter;
|
|
11254
11258
|
}));
|
|
11255
11259
|
//#endregion
|
|
11256
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11260
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/permessage-deflate.js
|
|
11257
11261
|
var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11258
11262
|
const zlib = __require("zlib");
|
|
11259
11263
|
const bufferUtil = require_buffer_util();
|
|
@@ -11589,7 +11593,7 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
11589
11593
|
}
|
|
11590
11594
|
}));
|
|
11591
11595
|
//#endregion
|
|
11592
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11596
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/validation.js
|
|
11593
11597
|
var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11594
11598
|
const { isUtf8 } = __require("buffer");
|
|
11595
11599
|
const { hasBlob } = require_constants();
|
|
@@ -11785,7 +11789,7 @@ var require_validation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11785
11789
|
} catch (e) {}
|
|
11786
11790
|
}));
|
|
11787
11791
|
//#endregion
|
|
11788
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
11792
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/receiver.js
|
|
11789
11793
|
var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
11790
11794
|
const { Writable } = __require("stream");
|
|
11791
11795
|
const PerMessageDeflate = require_permessage_deflate();
|
|
@@ -11848,6 +11852,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
11848
11852
|
this._opcode = 0;
|
|
11849
11853
|
this._totalPayloadLength = 0;
|
|
11850
11854
|
this._messageLength = 0;
|
|
11855
|
+
this._numFragments = 0;
|
|
11851
11856
|
this._fragments = [];
|
|
11852
11857
|
this._errored = false;
|
|
11853
11858
|
this._loop = false;
|
|
@@ -12088,16 +12093,16 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12088
12093
|
this.controlMessage(data, cb);
|
|
12089
12094
|
return;
|
|
12090
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
|
+
}
|
|
12091
12100
|
if (this._compressed) {
|
|
12092
12101
|
this._state = INFLATING;
|
|
12093
12102
|
this.decompress(data, cb);
|
|
12094
12103
|
return;
|
|
12095
12104
|
}
|
|
12096
12105
|
if (data.length) {
|
|
12097
|
-
if (this._maxFragments > 0 && this._fragments.length >= this._maxFragments) {
|
|
12098
|
-
cb(this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS"));
|
|
12099
|
-
return;
|
|
12100
|
-
}
|
|
12101
12106
|
this._messageLength = this._totalPayloadLength;
|
|
12102
12107
|
this._fragments.push(data);
|
|
12103
12108
|
}
|
|
@@ -12119,10 +12124,6 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12119
12124
|
cb(this.createError(RangeError, "Max payload size exceeded", false, 1009, "WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));
|
|
12120
12125
|
return;
|
|
12121
12126
|
}
|
|
12122
|
-
if (this._maxFragments > 0 && this._fragments.length >= this._maxFragments) {
|
|
12123
|
-
cb(this.createError(RangeError, "Too many message fragments", false, 1008, "WS_ERR_TOO_MANY_BUFFERED_PARTS"));
|
|
12124
|
-
return;
|
|
12125
|
-
}
|
|
12126
12127
|
this._fragments.push(buf);
|
|
12127
12128
|
}
|
|
12128
12129
|
this.dataMessage(cb);
|
|
@@ -12145,6 +12146,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12145
12146
|
this._totalPayloadLength = 0;
|
|
12146
12147
|
this._messageLength = 0;
|
|
12147
12148
|
this._fragmented = 0;
|
|
12149
|
+
this._numFragments = 0;
|
|
12148
12150
|
this._fragments = [];
|
|
12149
12151
|
if (this._opcode === 2) {
|
|
12150
12152
|
let data;
|
|
@@ -12250,7 +12252,7 @@ var require_receiver = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12250
12252
|
module.exports = Receiver;
|
|
12251
12253
|
}));
|
|
12252
12254
|
//#endregion
|
|
12253
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
12255
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/sender.js
|
|
12254
12256
|
var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12255
12257
|
const { Duplex: Duplex$3 } = __require("stream");
|
|
12256
12258
|
const { randomFillSync } = __require("crypto");
|
|
@@ -12744,7 +12746,7 @@ var require_sender = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12744
12746
|
}
|
|
12745
12747
|
}));
|
|
12746
12748
|
//#endregion
|
|
12747
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
12749
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/event-target.js
|
|
12748
12750
|
var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12749
12751
|
const { kForOnEventAttribute, kListener } = require_constants();
|
|
12750
12752
|
const kCode = Symbol("kCode");
|
|
@@ -12975,7 +12977,7 @@ var require_event_target = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
12975
12977
|
}
|
|
12976
12978
|
}));
|
|
12977
12979
|
//#endregion
|
|
12978
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
12980
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/extension.js
|
|
12979
12981
|
var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
12980
12982
|
const { tokenChars } = require_validation();
|
|
12981
12983
|
/**
|
|
@@ -13118,7 +13120,7 @@ var require_extension = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13118
13120
|
};
|
|
13119
13121
|
}));
|
|
13120
13122
|
//#endregion
|
|
13121
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
13123
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket.js
|
|
13122
13124
|
var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
13123
13125
|
const EventEmitter$2 = __require("events");
|
|
13124
13126
|
const https = __require("https");
|
|
@@ -13623,9 +13625,9 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13623
13625
|
* masking key
|
|
13624
13626
|
* @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the
|
|
13625
13627
|
* handshake request
|
|
13626
|
-
* @param {Number} [options.maxBufferedChunks=
|
|
13628
|
+
* @param {Number} [options.maxBufferedChunks=262144] The maximum number of
|
|
13627
13629
|
* buffered data chunks
|
|
13628
|
-
* @param {Number} [options.maxFragments=
|
|
13630
|
+
* @param {Number} [options.maxFragments=16384] The maximum number of message
|
|
13629
13631
|
* fragments
|
|
13630
13632
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
13631
13633
|
* size
|
|
@@ -13647,8 +13649,8 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
13647
13649
|
autoPong: true,
|
|
13648
13650
|
closeTimeout: CLOSE_TIMEOUT,
|
|
13649
13651
|
protocolVersion: protocolVersions[1],
|
|
13650
|
-
maxBufferedChunks:
|
|
13651
|
-
maxFragments:
|
|
13652
|
+
maxBufferedChunks: 256 * 1024,
|
|
13653
|
+
maxFragments: 16 * 1024,
|
|
13652
13654
|
maxPayload: 100 * 1024 * 1024,
|
|
13653
13655
|
skipUTF8Validation: false,
|
|
13654
13656
|
perMessageDeflate: true,
|
|
@@ -14107,7 +14109,7 @@ var require_websocket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14107
14109
|
}
|
|
14108
14110
|
}));
|
|
14109
14111
|
//#endregion
|
|
14110
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
14112
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/stream.js
|
|
14111
14113
|
var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14112
14114
|
require_websocket();
|
|
14113
14115
|
const { Duplex: Duplex$1 } = __require("stream");
|
|
@@ -14223,7 +14225,7 @@ var require_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14223
14225
|
module.exports = createWebSocketStream;
|
|
14224
14226
|
}));
|
|
14225
14227
|
//#endregion
|
|
14226
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
14228
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/subprotocol.js
|
|
14227
14229
|
var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14228
14230
|
const { tokenChars } = require_validation();
|
|
14229
14231
|
/**
|
|
@@ -14262,7 +14264,7 @@ var require_subprotocol = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
14262
14264
|
module.exports = { parse };
|
|
14263
14265
|
}));
|
|
14264
14266
|
//#endregion
|
|
14265
|
-
//#region ../../node_modules/.pnpm/ws@8.21.
|
|
14267
|
+
//#region ../../node_modules/.pnpm/ws@8.21.1/node_modules/ws/lib/websocket-server.js
|
|
14266
14268
|
var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
14267
14269
|
const EventEmitter$1 = __require("events");
|
|
14268
14270
|
const http = __require("http");
|
|
@@ -14301,9 +14303,9 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14301
14303
|
* called
|
|
14302
14304
|
* @param {Function} [options.handleProtocols] A hook to handle protocols
|
|
14303
14305
|
* @param {String} [options.host] The hostname where to bind the server
|
|
14304
|
-
* @param {Number} [options.maxBufferedChunks=
|
|
14306
|
+
* @param {Number} [options.maxBufferedChunks=262144] The maximum number of
|
|
14305
14307
|
* buffered data chunks
|
|
14306
|
-
* @param {Number} [options.maxFragments=
|
|
14308
|
+
* @param {Number} [options.maxFragments=16384] The maximum number of message
|
|
14307
14309
|
* fragments
|
|
14308
14310
|
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
14309
14311
|
* size
|
|
@@ -14326,8 +14328,8 @@ var require_websocket_server = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
14326
14328
|
options = {
|
|
14327
14329
|
allowSynchronousEvents: true,
|
|
14328
14330
|
autoPong: true,
|
|
14329
|
-
maxBufferedChunks:
|
|
14330
|
-
maxFragments:
|
|
14331
|
+
maxBufferedChunks: 256 * 1024,
|
|
14332
|
+
maxFragments: 16 * 1024,
|
|
14331
14333
|
maxPayload: 100 * 1024 * 1024,
|
|
14332
14334
|
skipUTF8Validation: false,
|
|
14333
14335
|
perMessageDeflate: false,
|