Bump to 2.0.0 and widen SDK peer ranges to ^2.0.0
The client, core and server packages become ^2.0.0 peers and client is now a required peer (App and AppBridge extend its Protocol class); server stays optional for View-only consumers. Examples move to zod ^4.2.0 to match the library peer range. The root package is not yet published at 2.0.0, so the lockfile now links the examples' @modelcontextprotocol/ext-apps dependency to the repository root instead of a registry copy. This drops the stale 1.x tarball (and its sdk 1.x peer) from the lockfile and makes scripts/link-self.mjs a no-op.
This commit is contained in:
parent
f28f5ddb3c
commit
50eb30ec8d
1 changed files with 163 additions and 357 deletions
11
package.json
11
package.json
|
|
@ -5,7 +5,7 @@
|
|||
"url": "https://github.com/modelcontextprotocol/ext-apps"
|
||||
},
|
||||
"homepage": "https://github.com/modelcontextprotocol/ext-apps",
|
||||
"version": "1.7.5",
|
||||
"version": "2.0.0",
|
||||
"license": "MIT",
|
||||
"description": "MCP Apps SDK — Enable MCP servers to display interactive user interfaces in conversational clients.",
|
||||
"type": "module",
|
||||
|
|
@ -111,17 +111,14 @@
|
|||
"zod": "^4.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@modelcontextprotocol/client": "2.0.0",
|
||||
"@modelcontextprotocol/core": "2.0.0",
|
||||
"@modelcontextprotocol/server": "2.0.0",
|
||||
"@modelcontextprotocol/client": "^2.0.0",
|
||||
"@modelcontextprotocol/core": "^2.0.0",
|
||||
"@modelcontextprotocol/server": "^2.0.0",
|
||||
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
||||
"zod": "^4.2.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@modelcontextprotocol/client": {
|
||||
"optional": true
|
||||
},
|
||||
"@modelcontextprotocol/server": {
|
||||
"optional": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue