Skip to content

Commit 0a40e28

Browse files
authored
chore(unstable): Start setting up v2 Schema scaffolding for experimentation (#1099)
* initial * cleanups * Cleanups * Docs * Shared RPC types * Remove unneeded method name conversions
1 parent bc7586b commit 0a40e28

30 files changed

Lines changed: 39158 additions & 130 deletions

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ All paths in the protocol should be absolute
1919

2020
- Add constants for the method names
2121
- Add variants to {Agent|Client}{Request|Response} enums
22-
- Add the method to markdown_generator.rs SideDocs functions
22+
- Add the method to src/bin/generate.rs SideDocs functions
2323
- Run `npm run generate` and fix any issues that appear
2424
- Run `npm run check`
2525
- Update the example agents and clients in tests and examples in both libraries

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ unstable = [
2828
"unstable_message_id",
2929
"unstable_boolean_config",
3030
]
31+
# Protocol v2 is intentionally NOT part of the `unstable` umbrella.
32+
# It introduces a parallel `v2` module and (eventually) a different wire
33+
# version, so it must be opted into explicitly to avoid silently
34+
# changing `ProtocolVersion::LATEST` for `unstable` users.
35+
unstable_protocol_v2 = []
3136
unstable_auth_methods = []
3237
unstable_cancel_request = []
3338
unstable_elicitation = []

0 commit comments

Comments
 (0)