@zuplo/cli 6.70.57 → 6.70.59

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.
Files changed (32) hide show
  1. package/node_modules/@fastify/reply-from/node_modules/undici/lib/global.js +10 -1
  2. package/node_modules/@fastify/reply-from/node_modules/undici/package.json +1 -1
  3. package/node_modules/@zuplo/core/package.json +1 -1
  4. package/node_modules/@zuplo/graphql/package.json +1 -1
  5. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  6. package/node_modules/@zuplo/otel/package.json +1 -1
  7. package/node_modules/@zuplo/runtime/out/esm/{chunk-XAW2AYUG.js → chunk-AQGS5CID.js} +66 -66
  8. package/node_modules/@zuplo/runtime/out/esm/chunk-AQGS5CID.js.map +1 -0
  9. package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
  10. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +12 -12
  11. package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js.map +1 -1
  12. package/node_modules/@zuplo/runtime/out/types/index.d.ts +3 -1
  13. package/node_modules/@zuplo/runtime/out/types/mcp-gateway/index.d.ts +28 -0
  14. package/node_modules/@zuplo/runtime/package.json +1 -1
  15. package/node_modules/protobufjs/dist/light/protobuf.js +7 -5
  16. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  17. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  18. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  19. package/node_modules/protobufjs/dist/minimal/protobuf.js +3 -3
  20. package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  21. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +3 -3
  22. package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  23. package/node_modules/protobufjs/dist/protobuf.js +7 -5
  24. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  25. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  26. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  27. package/node_modules/protobufjs/package.json +1 -1
  28. package/node_modules/protobufjs/src/converter.js +4 -2
  29. package/node_modules/protobufjs/src/roots.js +1 -1
  30. package/package.json +6 -6
  31. package/node_modules/@zuplo/runtime/out/esm/chunk-XAW2AYUG.js.map +0 -1
  32. /package/node_modules/@zuplo/runtime/out/esm/{chunk-XAW2AYUG.js.LEGAL.txt → chunk-AQGS5CID.js.LEGAL.txt} +0 -0
@@ -7115,8 +7115,10 @@ export declare interface MTLSAuthMetadata {
7115
7115
  notAfter: string;
7116
7116
  /**
7117
7117
  * Certificate SHA-256 fingerprint formatted as uppercase colon-separated hex.
7118
+ * Omitted when the upstream proxy did not provide the fingerprint and the
7119
+ * full certificate body is unavailable.
7118
7120
  */
7119
- sha256Fingerprint: string;
7121
+ sha256Fingerprint?: string;
7120
7122
  }
7121
7123
 
7122
7124
  declare interface MultiRequests {
@@ -1382,6 +1382,8 @@ export declare interface McpEntraOAuthInboundPolicyOptions {
1382
1382
  * ```
1383
1383
  */
1384
1384
  export declare class McpGatewayPlugin extends SystemRuntimePlugin {
1385
+ #private;
1386
+ constructor(options?: McpGatewayPluginOptions);
1385
1387
  registerRoutes(options: {
1386
1388
  router: Router;
1387
1389
  runtimeSettings: RuntimeSettings;
@@ -1389,6 +1391,32 @@ export declare class McpGatewayPlugin extends SystemRuntimePlugin {
1389
1391
  }): void;
1390
1392
  }
1391
1393
 
1394
+ /**
1395
+ * Options for the {@link McpGatewayPlugin}.
1396
+ *
1397
+ * @beta
1398
+ */
1399
+ export declare interface McpGatewayPluginOptions {
1400
+ /**
1401
+ * Base path under which the gateway mounts its internal OAuth and
1402
+ * upstream-connection action routes (e.g. `/oauth/token`,
1403
+ * `/auth/connections/{id}/connect`). Namespacing these routes keeps them out
1404
+ * of your API's route namespace so a route such as `/oauth/token` in
1405
+ * `routes.oas.json` does not collide with the gateway's own endpoints.
1406
+ *
1407
+ * The OAuth discovery documents
1408
+ * (`/.well-known/oauth-authorization-server` and
1409
+ * `/.well-known/oauth-protected-resource/...`) always remain at the origin
1410
+ * root, because RFC 8414 / RFC 9728 locate them relative to the gateway
1411
+ * issuer; only the action routes move under `basePath`.
1412
+ *
1413
+ * Pass `"/"` to mount the action routes at the origin root.
1414
+ *
1415
+ * @default "/__zuplo"
1416
+ */
1417
+ basePath?: string;
1418
+ }
1419
+
1392
1420
  /**
1393
1421
  * Authenticate MCP gateway requests using a gateway-issued OAuth access token,
1394
1422
  * with browser login delegated to Google.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.70.57",
4
+ "version": "6.70.59",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.6.1 (c) 2016, daniel wirtz
3
- * compiled fri, 22 may 2026 02:52:08 utc
2
+ * protobuf.js v7.6.2 (c) 2016, daniel wirtz
3
+ * compiled sat, 30 may 2026 21:57:57 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1207,7 +1207,7 @@ function genValuePartial_fromObject(gen, field, fieldIndex, prop) {
1207
1207
  } gen
1208
1208
  ("}");
1209
1209
  } else gen
1210
- ("if(typeof d%s!==\"object\")", prop)
1210
+ ("if(!util.isObject(d%s))", prop)
1211
1211
  ("throw TypeError(%j)", field.fullName + ": object expected")
1212
1212
  ("m%s=types[%i].fromObject(d%s,n+1)", prop, fieldIndex, prop);
1213
1213
  } else {
@@ -1274,6 +1274,8 @@ converter.fromObject = function fromObject(mtype) {
1274
1274
  var gen = util.codegen(["d", "n"], mtype.name + "$fromObject")
1275
1275
  ("if(d instanceof this.ctor)")
1276
1276
  ("return d")
1277
+ ("if(!util.isObject(d))")
1278
+ ("throw TypeError(%j)", mtype.fullName + ": object expected")
1277
1279
  ("if(n===undefined)n=0")
1278
1280
  ("if(n>util.recursionLimit)")
1279
1281
  ("throw Error(\"maximum nesting depth exceeded\")");
@@ -1288,7 +1290,7 @@ converter.fromObject = function fromObject(mtype) {
1288
1290
  // Map fields
1289
1291
  if (field.map) { gen
1290
1292
  ("if(d%s){", prop)
1291
- ("if(typeof d%s!==\"object\")", prop)
1293
+ ("if(!util.isObject(d%s))", prop)
1292
1294
  ("throw TypeError(%j)", field.fullName + ": object expected")
1293
1295
  ("m%s={}", prop)
1294
1296
  ("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){", prop);
@@ -5049,7 +5051,7 @@ Root._configure = function(Type_, parse_, common_) {
5049
5051
 
5050
5052
  },{"16":16,"17":17,"23":23,"25":25,"35":35}],29:[function(require,module,exports){
5051
5053
  "use strict";
5052
- module.exports = {};
5054
+ module.exports = Object.create(null);
5053
5055
 
5054
5056
  /**
5055
5057
  * Named roots.