@agentconnect.md/daemon 1.0.0-rc.136 → 1.0.0-rc.138
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 +25 -12
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1565,10 +1565,12 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1565
1565
|
this.setOptionValueWithSource(name, val, valueSource);
|
|
1566
1566
|
};
|
|
1567
1567
|
this.on("option:" + oname, (val) => {
|
|
1568
|
-
|
|
1568
|
+
const invalidValueMessage = `error: option '${option.flags}' argument '${val}' is invalid.`;
|
|
1569
|
+
handleOptionValue(val, invalidValueMessage, "cli");
|
|
1569
1570
|
});
|
|
1570
1571
|
if (option.envVar) this.on("optionEnv:" + oname, (val) => {
|
|
1571
|
-
|
|
1572
|
+
const invalidValueMessage = `error: option '${option.flags}' value '${val}' from env '${option.envVar}' is invalid.`;
|
|
1573
|
+
handleOptionValue(val, invalidValueMessage, "env");
|
|
1572
1574
|
});
|
|
1573
1575
|
return this;
|
|
1574
1576
|
}
|
|
@@ -7035,11 +7037,12 @@ const ZodObject = /*@__PURE__*/ $constructor("ZodObject", (inst, def) => {
|
|
|
7035
7037
|
});
|
|
7036
7038
|
});
|
|
7037
7039
|
function object(shape, params) {
|
|
7038
|
-
|
|
7040
|
+
const def = {
|
|
7039
7041
|
type: "object",
|
|
7040
7042
|
shape: shape ?? {},
|
|
7041
7043
|
...normalizeParams(params)
|
|
7042
|
-
}
|
|
7044
|
+
};
|
|
7045
|
+
return new ZodObject(def);
|
|
7043
7046
|
}
|
|
7044
7047
|
function looseObject(shape, params) {
|
|
7045
7048
|
return new ZodObject({
|
|
@@ -7138,9 +7141,10 @@ const ZodEnum = /*@__PURE__*/ $constructor("ZodEnum", (inst, def) => {
|
|
|
7138
7141
|
};
|
|
7139
7142
|
});
|
|
7140
7143
|
function _enum(values, params) {
|
|
7144
|
+
const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
|
|
7141
7145
|
return new ZodEnum({
|
|
7142
7146
|
type: "enum",
|
|
7143
|
-
entries
|
|
7147
|
+
entries,
|
|
7144
7148
|
...normalizeParams(params)
|
|
7145
7149
|
});
|
|
7146
7150
|
}
|
|
@@ -18700,7 +18704,10 @@ var require_permessage_deflate = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
18700
18704
|
this._deflate = null;
|
|
18701
18705
|
this._inflate = null;
|
|
18702
18706
|
this.params = null;
|
|
18703
|
-
if (!zlibLimiter)
|
|
18707
|
+
if (!zlibLimiter) {
|
|
18708
|
+
const concurrency = this._options.concurrencyLimit !== void 0 ? this._options.concurrencyLimit : 10;
|
|
18709
|
+
zlibLimiter = new Limiter(concurrency);
|
|
18710
|
+
}
|
|
18704
18711
|
}
|
|
18705
18712
|
/**
|
|
18706
18713
|
* @type {String}
|
|
@@ -34572,7 +34579,8 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
34572
34579
|
req.onSocket(socket);
|
|
34573
34580
|
return;
|
|
34574
34581
|
}
|
|
34575
|
-
|
|
34582
|
+
const err = /* @__PURE__ */ new Error(`no Duplex stream was returned to agent-base for \`${req.method} ${req.path}\``);
|
|
34583
|
+
onerror(err);
|
|
34576
34584
|
};
|
|
34577
34585
|
if (typeof this.callback !== "function") {
|
|
34578
34586
|
onerror(/* @__PURE__ */ new Error("`callback` is not defined"));
|
|
@@ -46262,7 +46270,11 @@ var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
46262
46270
|
}
|
|
46263
46271
|
if (match === null) return null;
|
|
46264
46272
|
const major = match[2];
|
|
46265
|
-
|
|
46273
|
+
const minor = match[3] || "0";
|
|
46274
|
+
const patch = match[4] || "0";
|
|
46275
|
+
const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
|
|
46276
|
+
const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
|
|
46277
|
+
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
46266
46278
|
};
|
|
46267
46279
|
module.exports = coerce;
|
|
46268
46280
|
}));
|
|
@@ -46278,7 +46290,8 @@ var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
46278
46290
|
return clonedVersion && doTruncation(clonedVersion, truncation);
|
|
46279
46291
|
};
|
|
46280
46292
|
const cloneInputVersion = (version, options) => {
|
|
46281
|
-
|
|
46293
|
+
const versionStringToParse = version instanceof SemVer ? version.version : version;
|
|
46294
|
+
return parse(versionStringToParse, options);
|
|
46282
46295
|
};
|
|
46283
46296
|
const doTruncation = (version, truncation) => {
|
|
46284
46297
|
if (isPrerelease(truncation)) return version.version;
|
|
@@ -47784,7 +47797,7 @@ var require_lodash_includes = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
47784
47797
|
function toFinite(value) {
|
|
47785
47798
|
if (!value) return value === 0 ? value : 0;
|
|
47786
47799
|
value = toNumber(value);
|
|
47787
|
-
if (value === INFINITY || value === -
|
|
47800
|
+
if (value === INFINITY || value === -Infinity) return (value < 0 ? -1 : 1) * MAX_INTEGER;
|
|
47788
47801
|
return value === value ? value : 0;
|
|
47789
47802
|
}
|
|
47790
47803
|
/**
|
|
@@ -48141,7 +48154,7 @@ var require_lodash_isinteger = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
48141
48154
|
function toFinite(value) {
|
|
48142
48155
|
if (!value) return value === 0 ? value : 0;
|
|
48143
48156
|
value = toNumber(value);
|
|
48144
|
-
if (value === INFINITY || value === -
|
|
48157
|
+
if (value === INFINITY || value === -Infinity) return (value < 0 ? -1 : 1) * MAX_INTEGER;
|
|
48145
48158
|
return value === value ? value : 0;
|
|
48146
48159
|
}
|
|
48147
48160
|
/**
|
|
@@ -48677,7 +48690,7 @@ var require_lodash_once = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
48677
48690
|
function toFinite(value) {
|
|
48678
48691
|
if (!value) return value === 0 ? value : 0;
|
|
48679
48692
|
value = toNumber(value);
|
|
48680
|
-
if (value === INFINITY || value === -
|
|
48693
|
+
if (value === INFINITY || value === -Infinity) return (value < 0 ? -1 : 1) * MAX_INTEGER;
|
|
48681
48694
|
return value === value ? value : 0;
|
|
48682
48695
|
}
|
|
48683
48696
|
/**
|