@zuplo/cli 7.13.2 → 7.13.3
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/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/decrypt.d.ts +3 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/verify.d.ts +3 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/types.d.ts +8 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_jwt.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/@modelcontextprotocol/client/node_modules/jose/package.json +1 -1
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/decrypt.d.ts +3 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/unsecured.d.ts +2 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/verify.d.ts +3 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/types.d.ts +8 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_jwt.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/package.json +1 -1
- package/node_modules/@zuplo/core/customer.cli.minified.js +868 -290
- package/node_modules/@zuplo/core/index.minified.js +875 -297
- package/node_modules/@zuplo/core/package.json +1 -1
- package/node_modules/@zuplo/graphql/package.json +1 -1
- package/node_modules/@zuplo/openapi-tools/package.json +1 -1
- package/node_modules/@zuplo/otel/package.json +1 -1
- package/node_modules/@zuplo/runtime/out/esm/{chunk-5VRGV7FV.js → chunk-DVFQRFED.js} +66 -66
- package/node_modules/@zuplo/runtime/out/esm/{chunk-5VRGV7FV.js.map → chunk-DVFQRFED.js.map} +1 -1
- package/node_modules/@zuplo/runtime/out/esm/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mcp-gateway/index.js +1 -1
- package/node_modules/@zuplo/runtime/out/esm/mocks/index.js +1 -1
- package/node_modules/@zuplo/runtime/package.json +1 -1
- package/node_modules/ansi-regex/index.js +13 -4
- package/node_modules/ansi-regex/package.json +30 -13
- package/node_modules/encodeurl/README.md +14 -0
- package/node_modules/encodeurl/index.js +5 -10
- package/node_modules/encodeurl/package.json +10 -6
- package/node_modules/express-rate-limit/dist/index.cjs +6 -2
- package/node_modules/express-rate-limit/dist/index.mjs +6 -2
- package/node_modules/express-rate-limit/package.json +10 -10
- package/node_modules/qs/CHANGELOG.md +42 -0
- package/node_modules/qs/README.md +38 -10
- package/node_modules/qs/dist/qs.js +18 -18
- package/node_modules/qs/lib/parse.js +16 -4
- package/node_modules/qs/lib/utils.js +13 -2
- package/node_modules/qs/package.json +1 -1
- package/node_modules/qs/test/parse.js +69 -0
- package/package.json +11 -11
- /package/node_modules/@zuplo/runtime/out/esm/{chunk-5VRGV7FV.js.LEGAL.txt → chunk-DVFQRFED.js.LEGAL.txt} +0 -0
package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/decrypt.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ export interface JWTDecryptOptions extends t.DecryptOptions, t.JWTClaimVerificat
|
|
|
8
8
|
*/
|
|
9
9
|
export interface JWTDecryptGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.CompactJWEHeaderParameters, t.FlattenedJWE, KeyType | t.KeyObject | t.JWK> {
|
|
10
10
|
}
|
|
11
|
+
export declare function jwtDecrypt<PayloadType, KeyType extends t.KeyInput, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTDecryptOptions): Promise<t.InferredJWTResult<t.JWTDecryptResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)>>;
|
|
12
|
+
export declare function jwtDecrypt<PayloadType, KeyType extends t.CryptoKey | Uint8Array, InferredPayloadType>(jwt: string | Uint8Array, getKey: JWTDecryptGetKey<KeyType>, options?: JWTDecryptOptions): Promise<t.InferredJWTResult<t.JWTDecryptResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & t.ResolvedKey<KeyType>>;
|
|
13
|
+
export declare function jwtDecrypt<PayloadType, KeyType extends t.KeyInput | JWTDecryptGetKey, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTDecryptOptions): Promise<t.InferredJWTResult<t.JWTDecryptResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & Partial<t.ResolvedKey>>;
|
|
11
14
|
/**
|
|
12
15
|
* Authenticates and decrypts a JWT in JWE Compact Serialization and validates its JWT Claims Set.
|
|
13
16
|
*
|
package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/unsecured.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export declare class UnsecuredJWT extends UnsecuredJWT_base {
|
|
|
14
14
|
/** Encodes the Unsecured JWT. */
|
|
15
15
|
encode(): string;
|
|
16
16
|
/** Decodes an unsecured JWT and validates its claims without authenticating the token. */
|
|
17
|
+
static decode<PayloadType, InferredPayloadType>(jwt: string, options?: t.JWTClaimVerificationOptions): t.InferredJWTResult<UnsecuredResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)>;
|
|
18
|
+
/** Decodes an unsecured JWT and validates its claims without authenticating the token. */
|
|
17
19
|
static decode<PayloadType = t.JWTPayload>(jwt: string, options?: t.JWTClaimVerificationOptions): UnsecuredResult<PayloadType>;
|
|
18
20
|
}
|
|
19
21
|
export {};
|
package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/jwt/verify.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ export interface JWTVerifyOptions extends t.VerifyOptions, t.JWTClaimVerificatio
|
|
|
8
8
|
*/
|
|
9
9
|
export interface JWTVerifyGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.CompactJWSHeaderParameters, t.FlattenedJWSInput, KeyType | t.KeyObject | t.JWK> {
|
|
10
10
|
}
|
|
11
|
+
export declare function jwtVerify<PayloadType, KeyType extends t.KeyInput, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTVerifyOptions): Promise<t.InferredJWTResult<t.JWTVerifyResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)>>;
|
|
12
|
+
export declare function jwtVerify<PayloadType, KeyType extends t.CryptoKey | Uint8Array, InferredPayloadType>(jwt: string | Uint8Array, getKey: JWTVerifyGetKey<KeyType>, options?: JWTVerifyOptions): Promise<t.InferredJWTResult<t.JWTVerifyResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & t.ResolvedKey<KeyType>>;
|
|
13
|
+
export declare function jwtVerify<PayloadType, KeyType extends t.KeyInput | JWTVerifyGetKey, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTVerifyOptions): Promise<t.InferredJWTResult<t.JWTVerifyResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & Partial<t.ResolvedKey>>;
|
|
11
14
|
/**
|
|
12
15
|
* Validates a JWT in JWS Compact Serialization (digital signature or MAC) and its JWT Claims Set.
|
|
13
16
|
*
|
|
@@ -665,6 +665,14 @@ export interface CompactVerifyResult {
|
|
|
665
665
|
protectedHeader: CompactJWSHeaderParameters
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
+
/**
|
|
669
|
+
* Infers the payload separately from its object check while preserving the result metadata. The
|
|
670
|
+
* guarded payload must be passed inline; moving the check here changes contextual inference.
|
|
671
|
+
*/
|
|
672
|
+
export type InferredJWTResult<Result, Payload> = Omit<Result, 'payload'> & {
|
|
673
|
+
payload: Payload & JWTPayload
|
|
674
|
+
}
|
|
675
|
+
|
|
668
676
|
/** Signed or MACed JSON Web Token (JWT) verification result. */
|
|
669
677
|
export interface JWTVerifyResult<PayloadType = JWTPayload> {
|
|
670
678
|
/** JWT Claims Set. */
|
package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/types/util/decode_jwt.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as t from '../types.d.ts';
|
|
2
|
+
export declare function decodeJwt<PayloadType, InferredPayloadType>(jwt: string): InferredPayloadType & t.JWTPayload & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never);
|
|
2
3
|
/**
|
|
3
4
|
* Decodes the Claims Set of a JWT in JWS Compact Serialization without validating its JWS Signature
|
|
4
5
|
* (digital signature or MAC) or claim types and values.
|
package/node_modules/@modelcontextprotocol/client/node_modules/jose/dist/webapi/jwks/remote.js
CHANGED
|
@@ -5,7 +5,7 @@ function isCloudflareWorkers() {
|
|
|
5
5
|
return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
|
|
6
6
|
}
|
|
7
7
|
let USER_AGENT;
|
|
8
|
-
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.
|
|
8
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.14");
|
|
9
9
|
const customFetch = /* @__PURE__ */ Symbol();
|
|
10
10
|
async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
|
|
11
11
|
const response = await fetchImpl(url, {
|
package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/decrypt.d.ts
CHANGED
|
@@ -8,6 +8,9 @@ export interface JWTDecryptOptions extends t.DecryptOptions, t.JWTClaimVerificat
|
|
|
8
8
|
*/
|
|
9
9
|
export interface JWTDecryptGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.CompactJWEHeaderParameters, t.FlattenedJWE, KeyType | t.KeyObject | t.JWK> {
|
|
10
10
|
}
|
|
11
|
+
export declare function jwtDecrypt<PayloadType, KeyType extends t.KeyInput, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTDecryptOptions): Promise<t.InferredJWTResult<t.JWTDecryptResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)>>;
|
|
12
|
+
export declare function jwtDecrypt<PayloadType, KeyType extends t.CryptoKey | Uint8Array, InferredPayloadType>(jwt: string | Uint8Array, getKey: JWTDecryptGetKey<KeyType>, options?: JWTDecryptOptions): Promise<t.InferredJWTResult<t.JWTDecryptResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & t.ResolvedKey<KeyType>>;
|
|
13
|
+
export declare function jwtDecrypt<PayloadType, KeyType extends t.KeyInput | JWTDecryptGetKey, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTDecryptOptions): Promise<t.InferredJWTResult<t.JWTDecryptResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & Partial<t.ResolvedKey>>;
|
|
11
14
|
/**
|
|
12
15
|
* Authenticates and decrypts a JWT in JWE Compact Serialization and validates its JWT Claims Set.
|
|
13
16
|
*
|
package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/jwt/unsecured.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export declare class UnsecuredJWT extends UnsecuredJWT_base {
|
|
|
14
14
|
/** Encodes the Unsecured JWT. */
|
|
15
15
|
encode(): string;
|
|
16
16
|
/** Decodes an unsecured JWT and validates its claims without authenticating the token. */
|
|
17
|
+
static decode<PayloadType, InferredPayloadType>(jwt: string, options?: t.JWTClaimVerificationOptions): t.InferredJWTResult<UnsecuredResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)>;
|
|
18
|
+
/** Decodes an unsecured JWT and validates its claims without authenticating the token. */
|
|
17
19
|
static decode<PayloadType = t.JWTPayload>(jwt: string, options?: t.JWTClaimVerificationOptions): UnsecuredResult<PayloadType>;
|
|
18
20
|
}
|
|
19
21
|
export {};
|
|
@@ -8,6 +8,9 @@ export interface JWTVerifyOptions extends t.VerifyOptions, t.JWTClaimVerificatio
|
|
|
8
8
|
*/
|
|
9
9
|
export interface JWTVerifyGetKey<KeyType extends t.CryptoKey | Uint8Array = t.CryptoKey | Uint8Array> extends t.GetKeyFunction<t.CompactJWSHeaderParameters, t.FlattenedJWSInput, KeyType | t.KeyObject | t.JWK> {
|
|
10
10
|
}
|
|
11
|
+
export declare function jwtVerify<PayloadType, KeyType extends t.KeyInput, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTVerifyOptions): Promise<t.InferredJWTResult<t.JWTVerifyResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)>>;
|
|
12
|
+
export declare function jwtVerify<PayloadType, KeyType extends t.CryptoKey | Uint8Array, InferredPayloadType>(jwt: string | Uint8Array, getKey: JWTVerifyGetKey<KeyType>, options?: JWTVerifyOptions): Promise<t.InferredJWTResult<t.JWTVerifyResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & t.ResolvedKey<KeyType>>;
|
|
13
|
+
export declare function jwtVerify<PayloadType, KeyType extends t.KeyInput | JWTVerifyGetKey, InferredPayloadType>(jwt: string | Uint8Array, key: KeyType, options?: JWTVerifyOptions): Promise<t.InferredJWTResult<t.JWTVerifyResult<unknown>, InferredPayloadType & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never)> & Partial<t.ResolvedKey>>;
|
|
11
14
|
/**
|
|
12
15
|
* Validates a JWT in JWS Compact Serialization (digital signature or MAC) and its JWT Claims Set.
|
|
13
16
|
*
|
|
@@ -665,6 +665,14 @@ export interface CompactVerifyResult {
|
|
|
665
665
|
protectedHeader: CompactJWSHeaderParameters
|
|
666
666
|
}
|
|
667
667
|
|
|
668
|
+
/**
|
|
669
|
+
* Infers the payload separately from its object check while preserving the result metadata. The
|
|
670
|
+
* guarded payload must be passed inline; moving the check here changes contextual inference.
|
|
671
|
+
*/
|
|
672
|
+
export type InferredJWTResult<Result, Payload> = Omit<Result, 'payload'> & {
|
|
673
|
+
payload: Payload & JWTPayload
|
|
674
|
+
}
|
|
675
|
+
|
|
668
676
|
/** Signed or MACed JSON Web Token (JWT) verification result. */
|
|
669
677
|
export interface JWTVerifyResult<PayloadType = JWTPayload> {
|
|
670
678
|
/** JWT Claims Set. */
|
package/node_modules/@modelcontextprotocol/sdk/node_modules/jose/dist/types/util/decode_jwt.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as t from '../types.d.ts';
|
|
2
|
+
export declare function decodeJwt<PayloadType, InferredPayloadType>(jwt: string): InferredPayloadType & t.JWTPayload & ([PayloadType] extends [object] ? unknown : unknown extends PayloadType ? unknown : never);
|
|
2
3
|
/**
|
|
3
4
|
* Decodes the Claims Set of a JWT in JWS Compact Serialization without validating its JWS Signature
|
|
4
5
|
* (digital signature or MAC) or claim types and values.
|
|
@@ -5,7 +5,7 @@ function isCloudflareWorkers() {
|
|
|
5
5
|
return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
|
|
6
6
|
}
|
|
7
7
|
let USER_AGENT;
|
|
8
|
-
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.
|
|
8
|
+
(typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT = "jose/v6.2.14");
|
|
9
9
|
const customFetch = /* @__PURE__ */ Symbol();
|
|
10
10
|
async function fetchJwks(url, headers, signal, fetchImpl = fetch) {
|
|
11
11
|
const response = await fetchImpl(url, {
|