@duo-director/cli 0.2.1 → 0.2.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/THIRD_PARTY_NOTICES.md +3 -3
- package/dist/{cli-WTCBCBVN.js → cli-QTN5SRNE.js} +61 -15
- package/dist/duoctl.js +1 -1
- package/dist/runtime-tree.json +12 -12
- package/dist/ui/app.js +2 -2
- package/node_modules/@modelcontextprotocol/client/dist/{index-CEk3qkZM.d.cts → index-D_CiY-T3.d.cts} +3 -1
- package/node_modules/@modelcontextprotocol/client/dist/index-D_CiY-T3.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/{index-BCtJi0p5.d.mts → index-D_QDtbiv.d.mts} +3 -1
- package/node_modules/@modelcontextprotocol/client/dist/index-D_QDtbiv.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs +100 -55
- package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +157 -30
- package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +157 -30
- package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs +100 -55
- package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/{src-D0qEN74R.cjs → src-oZBjf3U1.cjs} +21 -4
- package/node_modules/@modelcontextprotocol/client/dist/src-oZBjf3U1.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/{src-DDAAhLnO.mjs → src-xKF0PJN-.mjs} +16 -5
- package/node_modules/@modelcontextprotocol/client/dist/src-xKF0PJN-.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +1 -1
- package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +1 -1
- package/node_modules/@modelcontextprotocol/client/package.json +3 -3
- package/node_modules/@modelcontextprotocol/core/dist/{auth--n_Yzytt.d.cts → auth-Anm-lwWi.d.mts} +9 -8
- package/node_modules/@modelcontextprotocol/core/dist/{auth--n_Yzytt.d.cts.map → auth-Anm-lwWi.d.mts.map} +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/{auth-CGP0BDVq.mjs → auth-BNDyLTqp.mjs} +5 -3
- package/node_modules/@modelcontextprotocol/core/dist/{auth-CGP0BDVq.mjs.map → auth-BNDyLTqp.mjs.map} +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/{auth-4-zilcqg.cjs → auth-D1CeV_Jr.cjs} +5 -3
- package/node_modules/@modelcontextprotocol/core/dist/{auth-4-zilcqg.cjs.map → auth-D1CeV_Jr.cjs.map} +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/{auth-YUQV3RRv.d.mts → auth-V9XJSCfa.d.cts} +9 -8
- package/node_modules/@modelcontextprotocol/core/dist/{auth-YUQV3RRv.d.mts.map → auth-V9XJSCfa.d.cts.map} +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +1 -1
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +1 -1
- package/node_modules/@modelcontextprotocol/core/package.json +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/{createMcpHandler-Bt6U_Fqb.d.mts → createMcpHandler-CfX6zgs1.d.mts} +3 -1
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CfX6zgs1.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/{createMcpHandler-BLVe3qmU.d.cts → createMcpHandler-LSKhyqpU.d.cts} +3 -1
- package/node_modules/@modelcontextprotocol/server/dist/{createMcpHandler-BLVe3qmU.d.cts.map → createMcpHandler-LSKhyqpU.d.cts.map} +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs +5 -3
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs +5 -3
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/{mcp-Dw2OlZ1f.mjs → mcp-DYuW2ZSs.mjs} +6 -2
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DYuW2ZSs.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/{mcp-DUcCQSTW.cjs → mcp-TfXCpFsH.cjs} +6 -2
- package/node_modules/@modelcontextprotocol/server/dist/mcp-TfXCpFsH.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/{src-D-y6h4N7.mjs → src-BHSMhZ_W.mjs} +8 -4
- package/node_modules/@modelcontextprotocol/server/dist/src-BHSMhZ_W.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/{src-CgFsfg3E.cjs → src-BtQ5YSyq.cjs} +8 -4
- package/node_modules/@modelcontextprotocol/server/dist/src-BtQ5YSyq.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +2 -2
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +1 -1
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +2 -2
- package/node_modules/@modelcontextprotocol/server/package.json +3 -3
- package/package.json +3 -3
- package/node_modules/@modelcontextprotocol/client/dist/index-BCtJi0p5.d.mts.map +0 -1
- package/node_modules/@modelcontextprotocol/client/dist/index-CEk3qkZM.d.cts.map +0 -1
- package/node_modules/@modelcontextprotocol/client/dist/src-D0qEN74R.cjs.map +0 -1
- package/node_modules/@modelcontextprotocol/client/dist/src-DDAAhLnO.mjs.map +0 -1
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-Bt6U_Fqb.d.mts.map +0 -1
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DUcCQSTW.cjs.map +0 -1
- package/node_modules/@modelcontextprotocol/server/dist/mcp-Dw2OlZ1f.mjs.map +0 -1
- package/node_modules/@modelcontextprotocol/server/dist/src-CgFsfg3E.cjs.map +0 -1
- package/node_modules/@modelcontextprotocol/server/dist/src-D-y6h4N7.mjs.map +0 -1
package/node_modules/@modelcontextprotocol/client/dist/{src-D0qEN74R.cjs → src-oZBjf3U1.cjs}
RENAMED
|
@@ -439,6 +439,13 @@ function resourceUrlFromServerUrl(url) {
|
|
|
439
439
|
resourceURL.hash = "";
|
|
440
440
|
return resourceURL;
|
|
441
441
|
}
|
|
442
|
+
/** Returns an authorization-server response body without `issuer`, which only the client sets, when it stores a value (SEP-2352). */
|
|
443
|
+
function withoutIssuer(body) {
|
|
444
|
+
if (typeof body !== "object" || body === null || Array.isArray(body)) return body;
|
|
445
|
+
const copy = { ...body };
|
|
446
|
+
delete copy.issuer;
|
|
447
|
+
return copy;
|
|
448
|
+
}
|
|
442
449
|
/**
|
|
443
450
|
* Checks if a requested resource URL matches a configured resource URL.
|
|
444
451
|
* A requested resource matches if it has the same scheme, domain, port,
|
|
@@ -3965,6 +3972,8 @@ const rev2026Codec = {
|
|
|
3965
3972
|
const rawInputRequests = raw["inputRequests"];
|
|
3966
3973
|
const inputRequests = isPlainObject$3(rawInputRequests) ? rawInputRequests : {};
|
|
3967
3974
|
const requestState = raw["requestState"];
|
|
3975
|
+
const metaParse = raw["_meta"] === void 0 ? void 0 : buildSchemas2026().ResultMetaSchema.safeParse(raw["_meta"]);
|
|
3976
|
+
const meta = metaParse?.success ? metaParse.data : void 0;
|
|
3968
3977
|
if (Object.keys(inputRequests).length === 0 && typeof requestState !== "string") return {
|
|
3969
3978
|
kind: "invalid",
|
|
3970
3979
|
error: new SdkError(SdkErrorCode.InvalidResult, `Invalid result for ${method}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`, {
|
|
@@ -3975,7 +3984,8 @@ const rev2026Codec = {
|
|
|
3975
3984
|
return {
|
|
3976
3985
|
kind: "input_required",
|
|
3977
3986
|
inputRequests,
|
|
3978
|
-
...typeof requestState === "string" && { requestState }
|
|
3987
|
+
...typeof requestState === "string" && { requestState },
|
|
3988
|
+
...meta !== void 0 && { _meta: meta }
|
|
3979
3989
|
};
|
|
3980
3990
|
}
|
|
3981
3991
|
if (rawResultType !== "complete") return {
|
|
@@ -6244,7 +6254,7 @@ var Protocol = class {
|
|
|
6244
6254
|
* Emits a notification, which is a one-way message that does not expect a response.
|
|
6245
6255
|
*/
|
|
6246
6256
|
async notification(notification, options) {
|
|
6247
|
-
return this._notificationViaCodec(this._resolveOutboundCodec(notification.method), notification, options);
|
|
6257
|
+
return await this._notificationViaCodec(this._resolveOutboundCodec(notification.method), notification, options);
|
|
6248
6258
|
}
|
|
6249
6259
|
/**
|
|
6250
6260
|
* The notification funnel proper, keyed by the resolved era codec —
|
|
@@ -6541,7 +6551,8 @@ function manualInputRequiredValue(decoded) {
|
|
|
6541
6551
|
return {
|
|
6542
6552
|
resultType: "input_required",
|
|
6543
6553
|
inputRequests: decoded.inputRequests,
|
|
6544
|
-
...decoded.requestState !== void 0 && { requestState: decoded.requestState }
|
|
6554
|
+
...decoded.requestState !== void 0 && { requestState: decoded.requestState },
|
|
6555
|
+
...decoded._meta !== void 0 && { _meta: decoded._meta }
|
|
6545
6556
|
};
|
|
6546
6557
|
}
|
|
6547
6558
|
|
|
@@ -7501,4 +7512,10 @@ Object.defineProperty(exports, 'withInputRequired', {
|
|
|
7501
7512
|
return withInputRequired;
|
|
7502
7513
|
}
|
|
7503
7514
|
});
|
|
7504
|
-
|
|
7515
|
+
Object.defineProperty(exports, 'withoutIssuer', {
|
|
7516
|
+
enumerable: true,
|
|
7517
|
+
get: function () {
|
|
7518
|
+
return withoutIssuer;
|
|
7519
|
+
}
|
|
7520
|
+
});
|
|
7521
|
+
//# sourceMappingURL=src-oZBjf3U1.cjs.map
|