chore: drop zod from peerDependencies (kept as direct dependency) (#1824)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
This commit is contained in:
parent
89fb0947b4
commit
fcde488227
1 changed files with 20 additions and 18 deletions
9
.changeset/drop-zod-peer-dep.md
Normal file
9
.changeset/drop-zod-peer-dep.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
'@modelcontextprotocol/client': patch
|
||||
'@modelcontextprotocol/server': patch
|
||||
---
|
||||
|
||||
Drop `zod` from `peerDependencies` (kept as direct dependency)
|
||||
|
||||
Since Standard Schema support landed, `zod` is purely an internal runtime dependency used for protocol message parsing. User-facing schemas (`registerTool`, `registerPrompt`) accept any Standard Schema library. `zod` remains in `dependencies` and auto-installs; users no longer
|
||||
need to install it alongside the SDK.
|
||||
Loading…
Reference in a new issue