You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rmcp went from 0.17.0 to 1.x with a hard cutover: most of its public
model and transport types picked up `#[non_exhaustive]`, `OAuthTokenResponse`
switched from `EmptyExtraTokenFields` to `VendorExtraTokenFields`, and
`StreamableHttpServerConfig` gained a required `allowed_hosts` field.
This commit migrates every call site in the gateway, MCP adapter,
credential store, and streamable-HTTP tests onto the new constructors
(`Implementation::new`, `ClientInfo::new`, `ServerInfo::new`,
`InitializeResult::new`, `CallToolRequestParams::new`,
`ReadResourceResult::new`, `GetPromptRequestParams::new`,
`OAuthClientConfig::new`, `StoredCredentials::new`,
`CallToolResult::success` / `::error`, `AuthorizationSession::for_scope_upgrade`,
`StreamableHttpServerConfig::default()`), bumps the `tests/rust` crate to
the same rmcp 1.5 so only one version is linked into the workspace,
and resolves a handful of latent clippy warnings (`op_ref` in
keychain_dpapi test, unused `use super::*` in shell_env on Windows) that
became reachable via `--all-targets`.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
0 commit comments