Bump rmcp (#5096)
This commit is contained in:
Generated
+4
-4
@@ -5475,9 +5475,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rmcp"
|
name = "rmcp"
|
||||||
version = "0.7.0"
|
version = "0.8.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "534fd1cd0601e798ac30545ff2b7f4a62c6f14edd4aaed1cc5eb1e85f69f09af"
|
checksum = "6f35acda8f89fca5fd8c96cae3c6d5b4c38ea0072df4c8030915f3b5ff469c1c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"chrono",
|
"chrono",
|
||||||
@@ -5503,9 +5503,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rmcp-macros"
|
name = "rmcp-macros"
|
||||||
version = "0.7.0"
|
version = "0.8.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "9ba777eb0e5f53a757e36f0e287441da0ab766564ba7201600eeb92a4753022e"
|
checksum = "c9f1d5220aaa23b79c3d02e18f7a554403b3ccea544bbb6c69d6bcb3e854a274"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"darling 0.21.0",
|
"darling 0.21.0",
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ description = "An AI agent"
|
|||||||
uninlined_format_args = "allow"
|
uninlined_format_args = "allow"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
rmcp = { version = "0.7.0", features = ["schemars", "auth"] }
|
rmcp = { version = "0.8.1", features = ["schemars", "auth"] }
|
||||||
|
|
||||||
# Patch for Windows cross-compilation issue with crunchy
|
# Patch for Windows cross-compilation issue with crunchy
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ workspace = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
goose = { path = "../goose" }
|
goose = { path = "../goose" }
|
||||||
rmcp = { version = "0.7.0", features = ["server", "client", "transport-io", "macros"] }
|
rmcp = { version = "0.8.1", features = ["server", "client", "transport-io", "macros"] }
|
||||||
anyhow = "1.0.94"
|
anyhow = "1.0.94"
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
tokio-stream = { version = "0.1", features = ["io-util"] }
|
tokio-stream = { version = "0.1", features = ["io-util"] }
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ pub async fn oauth_flow(
|
|||||||
let mut oauth_state = OAuthState::new(mcp_server_url, None).await?;
|
let mut oauth_state = OAuthState::new(mcp_server_url, None).await?;
|
||||||
let redirect_uri = format!("http://localhost:{}/oauth_callback", used_addr.port());
|
let redirect_uri = format!("http://localhost:{}/oauth_callback", used_addr.port());
|
||||||
oauth_state
|
oauth_state
|
||||||
.start_authorization(&[], redirect_uri.as_str())
|
.start_authorization(&[], redirect_uri.as_str(), Some("goose"))
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
let authorization_url = oauth_state.get_authorization_url().await?;
|
let authorization_url = oauth_state.get_authorization_url().await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user