@ai-sdk/mcp 1.0.30 → 1.0.31
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 +15 -8
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @ai-sdk/mcp
|
|
2
2
|
|
|
3
|
+
## 1.0.31
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0469aed]
|
|
8
|
+
- @ai-sdk/provider-utils@4.0.22
|
|
9
|
+
|
|
3
10
|
## 1.0.30
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -221,15 +228,15 @@
|
|
|
221
228
|
This change replaces
|
|
222
229
|
|
|
223
230
|
```ts
|
|
224
|
-
import { experimental_createMCPClient } from
|
|
225
|
-
import { Experimental_StdioMCPTransport } from
|
|
231
|
+
import { experimental_createMCPClient } from "ai";
|
|
232
|
+
import { Experimental_StdioMCPTransport } from "ai/mcp-stdio";
|
|
226
233
|
```
|
|
227
234
|
|
|
228
235
|
with
|
|
229
236
|
|
|
230
237
|
```ts
|
|
231
|
-
import { experimental_createMCPClient } from
|
|
232
|
-
import { Experimental_StdioMCPTransport } from
|
|
238
|
+
import { experimental_createMCPClient } from "@ai-sdk/mcp";
|
|
239
|
+
import { Experimental_StdioMCPTransport } from "@ai-sdk/mcp/mcp-stdio";
|
|
233
240
|
```
|
|
234
241
|
|
|
235
242
|
### Patch Changes
|
|
@@ -595,13 +602,13 @@
|
|
|
595
602
|
This change replaces
|
|
596
603
|
|
|
597
604
|
```ts
|
|
598
|
-
import { experimental_createMCPClient } from
|
|
599
|
-
import { Experimental_StdioMCPTransport } from
|
|
605
|
+
import { experimental_createMCPClient } from "ai";
|
|
606
|
+
import { Experimental_StdioMCPTransport } from "ai/mcp-stdio";
|
|
600
607
|
```
|
|
601
608
|
|
|
602
609
|
with
|
|
603
610
|
|
|
604
611
|
```ts
|
|
605
|
-
import { experimental_createMCPClient } from
|
|
606
|
-
import { Experimental_StdioMCPTransport } from
|
|
612
|
+
import { experimental_createMCPClient } from "@ai-sdk/mcp";
|
|
613
|
+
import { Experimental_StdioMCPTransport } from "@ai-sdk/mcp/mcp-stdio";
|
|
607
614
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"pkce-challenge": "^5.0.0",
|
|
36
|
-
"@ai-sdk/provider": "
|
|
37
|
-
"@ai-sdk/provider
|
|
36
|
+
"@ai-sdk/provider-utils": "4.0.22",
|
|
37
|
+
"@ai-sdk/provider": "3.0.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "20.17.24",
|
|
@@ -70,9 +70,7 @@
|
|
|
70
70
|
"build": "pnpm clean && tsup --tsconfig tsconfig.build.json",
|
|
71
71
|
"build:watch": "pnpm clean && tsup --watch",
|
|
72
72
|
"clean": "rm -rf dist *.tsbuildinfo",
|
|
73
|
-
"lint": "eslint \"./**/*.ts*\"",
|
|
74
73
|
"type-check": "tsc --build",
|
|
75
|
-
"prettier-check": "prettier --check \"./**/*.ts*\"",
|
|
76
74
|
"test": "pnpm test:node && pnpm test:edge",
|
|
77
75
|
"test:update": "pnpm test:node -u",
|
|
78
76
|
"test:watch": "vitest --config vitest.node.config.js",
|