@ai-sdk/mcp 0.0.24 → 0.0.26
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/CHANGELOG.md +13 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/mcp
|
|
2
2
|
|
|
3
|
+
## 0.0.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 83b0f15: fix(mcp): accept OAuth metadata without code challenge methods
|
|
8
|
+
|
|
9
|
+
## 0.0.25
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [2fd6076]
|
|
14
|
+
- @ai-sdk/provider-utils@3.0.30
|
|
15
|
+
|
|
3
16
|
## 0.0.24
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -86,7 +86,7 @@ declare const OAuthMetadataSchema: z.ZodObject<{
|
|
|
86
86
|
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
87
|
response_types_supported: z.ZodArray<z.ZodString>;
|
|
88
88
|
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
-
code_challenge_methods_supported: z.ZodArray<z.ZodString
|
|
89
|
+
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
90
|
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
91
|
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
92
92
|
}, z.core.$loose>;
|
|
@@ -109,7 +109,7 @@ declare const OpenIdProviderDiscoveryMetadataSchema: z.ZodObject<{
|
|
|
109
109
|
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
110
110
|
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
111
|
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
|
-
code_challenge_methods_supported: z.ZodArray<z.ZodString
|
|
112
|
+
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
113
|
}, z.core.$loose>;
|
|
114
114
|
declare const OAuthClientInformationSchema: z.ZodObject<{
|
|
115
115
|
client_id: z.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ declare const OAuthMetadataSchema: z.ZodObject<{
|
|
|
86
86
|
scopes_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
87
|
response_types_supported: z.ZodArray<z.ZodString>;
|
|
88
88
|
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
89
|
-
code_challenge_methods_supported: z.ZodArray<z.ZodString
|
|
89
|
+
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
90
90
|
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
91
|
token_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
92
92
|
}, z.core.$loose>;
|
|
@@ -109,7 +109,7 @@ declare const OpenIdProviderDiscoveryMetadataSchema: z.ZodObject<{
|
|
|
109
109
|
id_token_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
110
110
|
claims_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
111
|
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
|
-
code_challenge_methods_supported: z.ZodArray<z.ZodString
|
|
112
|
+
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
113
|
}, z.core.$loose>;
|
|
114
114
|
declare const OAuthClientInformationSchema: z.ZodObject<{
|
|
115
115
|
client_id: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -350,7 +350,7 @@ var OAuthMetadataSchema = import_v43.z.object({
|
|
|
350
350
|
scopes_supported: import_v43.z.array(import_v43.z.string()).optional(),
|
|
351
351
|
response_types_supported: import_v43.z.array(import_v43.z.string()),
|
|
352
352
|
grant_types_supported: import_v43.z.array(import_v43.z.string()).optional(),
|
|
353
|
-
code_challenge_methods_supported: import_v43.z.array(import_v43.z.string()),
|
|
353
|
+
code_challenge_methods_supported: import_v43.z.array(import_v43.z.string()).optional(),
|
|
354
354
|
token_endpoint_auth_methods_supported: import_v43.z.array(import_v43.z.string()).optional(),
|
|
355
355
|
token_endpoint_auth_signing_alg_values_supported: import_v43.z.array(import_v43.z.string()).optional()
|
|
356
356
|
}).passthrough();
|