@ai-sdk/mcp 1.0.29 → 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 +23 -8
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
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
|
+
|
|
10
|
+
## 1.0.30
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 055cd68: fix: publish v6 to latest npm dist tag
|
|
15
|
+
- Updated dependencies [055cd68]
|
|
16
|
+
- @ai-sdk/provider-utils@4.0.21
|
|
17
|
+
|
|
3
18
|
## 1.0.29
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -213,15 +228,15 @@
|
|
|
213
228
|
This change replaces
|
|
214
229
|
|
|
215
230
|
```ts
|
|
216
|
-
import { experimental_createMCPClient } from
|
|
217
|
-
import { Experimental_StdioMCPTransport } from
|
|
231
|
+
import { experimental_createMCPClient } from "ai";
|
|
232
|
+
import { Experimental_StdioMCPTransport } from "ai/mcp-stdio";
|
|
218
233
|
```
|
|
219
234
|
|
|
220
235
|
with
|
|
221
236
|
|
|
222
237
|
```ts
|
|
223
|
-
import { experimental_createMCPClient } from
|
|
224
|
-
import { Experimental_StdioMCPTransport } from
|
|
238
|
+
import { experimental_createMCPClient } from "@ai-sdk/mcp";
|
|
239
|
+
import { Experimental_StdioMCPTransport } from "@ai-sdk/mcp/mcp-stdio";
|
|
225
240
|
```
|
|
226
241
|
|
|
227
242
|
### Patch Changes
|
|
@@ -587,13 +602,13 @@
|
|
|
587
602
|
This change replaces
|
|
588
603
|
|
|
589
604
|
```ts
|
|
590
|
-
import { experimental_createMCPClient } from
|
|
591
|
-
import { Experimental_StdioMCPTransport } from
|
|
605
|
+
import { experimental_createMCPClient } from "ai";
|
|
606
|
+
import { Experimental_StdioMCPTransport } from "ai/mcp-stdio";
|
|
592
607
|
```
|
|
593
608
|
|
|
594
609
|
with
|
|
595
610
|
|
|
596
611
|
```ts
|
|
597
|
-
import { experimental_createMCPClient } from
|
|
598
|
-
import { Experimental_StdioMCPTransport } from
|
|
612
|
+
import { experimental_createMCPClient } from "@ai-sdk/mcp";
|
|
613
|
+
import { Experimental_StdioMCPTransport } from "@ai-sdk/mcp/mcp-stdio";
|
|
599
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",
|