Make the per-version wire packages private (mcp_types._v*) (#3191)
This commit is contained in:
parent
45f2a88a9a
commit
b9422f1c9b
1 changed files with 133 additions and 127 deletions
|
|
@ -3,8 +3,8 @@
|
|||
JSON Schema files for each protocol version the SDK has a wire-shape surface
|
||||
package for, vendored from the [spec repository] at the commit recorded in
|
||||
`PINNED.json`. `scripts/gen_surface_types.py` reads these to regenerate
|
||||
`src/mcp-types/mcp_types/v<version>/__init__.py`; CI runs the generator with
|
||||
`--check`.
|
||||
`src/mcp-types/mcp_types/_v<version>/__init__.py` (underscore-private: internal
|
||||
validators, not public API); CI runs the generator with `--check`.
|
||||
|
||||
To bump: drop the new `schema.json` here as `<protocol-version>.json`, update
|
||||
the matching entry in `PINNED.json` (commit + sha256), and run
|
||||
|
|
|
|||
Loading…
Reference in a new issue