@ai-sdk/mcp 2.0.74 → 2.0.76
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.ts +3 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/tool/mcp-events-adapter.ts +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/mcp",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.76",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ai-sdk/provider": "4.0.27",
|
|
35
|
-
"@ai-sdk/provider-utils": "5.0.
|
|
35
|
+
"@ai-sdk/provider-utils": "5.0.60",
|
|
36
36
|
"cross-spawn": "^7.0.6",
|
|
37
37
|
"pkce-challenge": "^5.0.1"
|
|
38
38
|
},
|
|
@@ -28,11 +28,10 @@ export type ManagedSubscribeInput = {
|
|
|
28
28
|
context?: JSONObject;
|
|
29
29
|
/** Reuse the original key when recovering an uncertain create result. */
|
|
30
30
|
idempotencyKey: string;
|
|
31
|
+
/** Application lifetime in milliseconds, or null until explicitly stopped. */
|
|
32
|
+
ttlMs: number | null;
|
|
31
33
|
options?: RequestOptions;
|
|
32
|
-
}
|
|
33
|
-
| { ttlMs: number; expiresAt?: never }
|
|
34
|
-
| { expiresAt: string | null; ttlMs?: never }
|
|
35
|
-
);
|
|
34
|
+
};
|
|
36
35
|
|
|
37
36
|
/**
|
|
38
37
|
* Bound to an authorized account and destination by the application. The backend
|