From d23af042bc192c6637aa7a2a83c5fe019ef58400 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 15:58:15 +0000 Subject: [PATCH 1/2] chore(deps): bump sse-stream from 0.2.6 to 0.3.0 Bumps [sse-stream](https://github.com/4t145/sse-stream) from 0.2.6 to 0.3.0. - [Release notes](https://github.com/4t145/sse-stream/releases) - [Changelog](https://github.com/4t145/sse-stream/blob/master/CHANGELOG.md) - [Commits](https://github.com/4t145/sse-stream/compare/release-0.2.6...release-0.3.0) --- updated-dependencies: - dependency-name: sse-stream dependency-version: 0.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 20 ++++++++++++++++++-- Cargo.toml | 2 +- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ef1521328..523739d19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -344,7 +344,7 @@ dependencies = [ "rmcp", "serde", "serde_json", - "sse-stream", + "sse-stream 0.3.0", "thiserror 2.0.21", "tokio", "tokio-stream", @@ -6628,7 +6628,7 @@ dependencies = [ "schemars 1.2.2", "serde", "serde_json", - "sse-stream", + "sse-stream 0.2.6", "thiserror 2.0.21", "tokio", "tokio-stream", @@ -7476,6 +7476,22 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "sse-stream" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d385160fc0fba84f7b9cc8ef3263e410d0e3ca7ab4927f1356df33145ace69a4" +dependencies = [ + "bytes", + "futures-util", + "http-body", + "http-body-util", + "memchr", + "pin-project-lite", + "simdutf8", + "thiserror 2.0.21", +] + [[package]] name = "stable_deref_trait" version = "1.2.1" diff --git a/Cargo.toml b/Cargo.toml index ed077d810..61540519d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ tokio-tungstenite = { version = "0.30.0", features = ["rustls-tls-webpki-roots"] # MCP and API clients rmcp = { version = "^3.5.1", default-features = false } -sse-stream = "0.2.6" +sse-stream = "0.3.0" async-openai = { version = "^0.42.0", features = ["byot", "chat-completion", "responses"] } reqwest = { version = "^0.13.4", default-features = false, features = ["json", "query", "rustls", "http2", "stream"] } oauth2 = "5.0" From 0d4753ee8a591a73aa017097f08ff8ddb942897d Mon Sep 17 00:00:00 2001 From: "patchwave[bot]" <288340492+patchwave[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 16:41:44 +0000 Subject: [PATCH 2/2] fix: align SSE types with rmcp client rmcp 3.5 still exposes StreamableHttpClient streams using the sse-stream 0.2 type, so the workspace's 0.3 upgrade creates an incompatible Sse type. Keep the upgraded workspace dependency while importing the trait's compatible type through an explicit 0.2 alias. [dependabot skip] Generated-by: PatchWave (https://patchwave.ai) PatchWave-Operation: fix --- Cargo.lock | 1 + crates/mcp-utils/Cargo.toml | 3 +++ crates/mcp-utils/src/client/sigv4.rs | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 523739d19..339b3fe41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -344,6 +344,7 @@ dependencies = [ "rmcp", "serde", "serde_json", + "sse-stream 0.2.6", "sse-stream 0.3.0", "thiserror 2.0.21", "tokio", diff --git a/crates/mcp-utils/Cargo.toml b/crates/mcp-utils/Cargo.toml index 16aec25a2..3f4077d2b 100644 --- a/crates/mcp-utils/Cargo.toml +++ b/crates/mcp-utils/Cargo.toml @@ -36,6 +36,7 @@ client = [ "dep:serde", "dep:serde_json", "dep:sse-stream", + "dep:sse-stream-rmcp", "dep:tokio-stream", "dep:utils", "rmcp/transport-streamable-http-client-reqwest", @@ -60,6 +61,8 @@ reqwest = { workspace = true, optional = true } serde = { workspace = true, optional = true } serde_json = { workspace = true, optional = true } sse-stream = { workspace = true, optional = true } +# rmcp 3.5's StreamableHttpClient trait uses Sse from sse-stream 0.2.x. +sse-stream-rmcp = { package = "sse-stream", version = "0.2.6", optional = true } tokio-stream = { workspace = true, features = ["sync"], optional = true } utils = { package = "aether-utils", path = "../utils", version = "0.2.19", optional = true } diff --git a/crates/mcp-utils/src/client/sigv4.rs b/crates/mcp-utils/src/client/sigv4.rs index 1f1e85548..3d41743aa 100644 --- a/crates/mcp-utils/src/client/sigv4.rs +++ b/crates/mcp-utils/src/client/sigv4.rs @@ -6,7 +6,7 @@ use rmcp::transport::auth::AuthError; use rmcp::transport::streamable_http_client::{ SseError, StreamableHttpClient, StreamableHttpError, StreamableHttpPostResponse, }; -use sse_stream::Sse; +use sse_stream_rmcp::Sse; use std::collections::HashMap; use std::sync::Arc;