diff --git a/.github/scripts/test_public_boundary.py b/.github/scripts/test_public_boundary.py index d7fa59b..3047562 100644 --- a/.github/scripts/test_public_boundary.py +++ b/.github/scripts/test_public_boundary.py @@ -26,7 +26,7 @@ def test_private_search_names_are_rejected_in_public_comments_and_copy(self) -> boundary.verify_paths_and_source(root) def test_repository_satisfies_public_boundary(self) -> None: - self.assertEqual(boundary.verify(REPOSITORY_ROOT), "1.0.15") + self.assertEqual(boundary.verify(REPOSITORY_ROOT), "1.0.16") def test_forbidden_private_source_is_detected(self) -> None: with tempfile.TemporaryDirectory(prefix="public-boundary-") as temporary: diff --git a/CHANGELOG.md b/CHANGELOG.md index 09c7197..3b0876f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 1.0.16 + +- Session: `resume` and `resume_list` can now leave out your own session on the + hosted gateway for clients that connect with the stateless 2026-07-28 protocol, + such as Claude Code 2.1.289. On that protocol the gateway keeps no state + between calls, so the session id that `init` stored (the 1.0.15 approach) did + not exist when `resume` ran, and `resume` returned the session `init` had just + opened. The caller now carries the id: `init` prints "Session id: " and the + `resume` call to make, and `resume` and `resume_list` add a one-line note naming + that call when no id was available. The stored-id fallbacks stay for stdio and + for initialize-era HTTP, where state persists. The `resume_id` parameter text + now says to pass the session id `init` returned. + ## 1.0.15 - Session: `resume` and `resume_list` now leave out the session `init` just diff --git a/Cargo.lock b/Cargo.lock index a5cf5eb..9f78515 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1624,7 +1624,7 @@ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "mcp-acceleration-products" -version = "1.0.15" +version = "1.0.16" dependencies = [ "async-trait", "chrono", @@ -1642,7 +1642,7 @@ dependencies = [ [[package]] name = "mcp-client" -version = "1.0.15" +version = "1.0.16" dependencies = [ "anyhow", "base64 0.23.1", @@ -1670,7 +1670,7 @@ dependencies = [ [[package]] name = "mcp-model-registry" -version = "1.0.15" +version = "1.0.16" dependencies = [ "mcp-types", "serde", @@ -1679,7 +1679,7 @@ dependencies = [ [[package]] name = "mcp-server" -version = "1.0.15" +version = "1.0.16" dependencies = [ "anyhow", "async-trait", @@ -1736,7 +1736,7 @@ dependencies = [ [[package]] name = "mcp-session" -version = "1.0.15" +version = "1.0.16" dependencies = [ "chrono", "dashmap", @@ -1755,7 +1755,7 @@ dependencies = [ [[package]] name = "mcp-tools" -version = "1.0.15" +version = "1.0.16" dependencies = [ "anyhow", "async-trait", @@ -1791,7 +1791,7 @@ dependencies = [ [[package]] name = "mcp-types" -version = "1.0.15" +version = "1.0.16" dependencies = [ "async-trait", "chrono", diff --git a/Cargo.toml b/Cargo.toml index aebd14d..c1b7aa9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ members = [ ] [workspace.package] -version = "1.0.15" +version = "1.0.16" edition = "2021" rust-version = "1.95" license = "MIT" @@ -90,12 +90,12 @@ fs2 = "0.4" notify = "8" # Workspace crates -mcp-types = { version = "=1.0.15", path = "crates/mcp-types" } -mcp-client = { version = "=1.0.15", path = "crates/mcp-client" } -mcp-session = { version = "=1.0.15", path = "crates/mcp-session" } -mcp-tools = { version = "=1.0.15", path = "crates/mcp-tools" } -mcp-model-registry = { version = "=1.0.15", path = "crates/mcp-model-registry" } -mcp-acceleration-products = { version = "=1.0.15", path = "crates/mcp-acceleration-products" } +mcp-types = { version = "=1.0.16", path = "crates/mcp-types" } +mcp-client = { version = "=1.0.16", path = "crates/mcp-client" } +mcp-session = { version = "=1.0.16", path = "crates/mcp-session" } +mcp-tools = { version = "=1.0.16", path = "crates/mcp-tools" } +mcp-model-registry = { version = "=1.0.16", path = "crates/mcp-model-registry" } +mcp-acceleration-products = { version = "=1.0.16", path = "crates/mcp-acceleration-products" } # Testing mockall = "0.15" diff --git a/package.json b/package.json index 5fc6fc4..32628dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@contextstream/mcp-server", "mcpName": "io.github.contextstream/mcp-server", - "version": "1.0.15", + "version": "1.0.16", "description": "Verified npm launcher for the open-source ContextStream Rust MCP server", "type": "module", "license": "MIT", diff --git a/server.json b/server.json index e616b38..7c67a5f 100644 --- a/server.json +++ b/server.json @@ -3,7 +3,7 @@ "name": "io.github.contextstream/mcp-server", "title": "ContextStream MCP Server", "description": "Project memory, semantic code search, and grounded agent context.", - "version": "1.0.15", + "version": "1.0.16", "repository": { "url": "https://github.com/contextstream/mcp-server", "source": "github" @@ -20,7 +20,7 @@ "registryType": "npm", "registryBaseUrl": "https://registry.npmjs.org", "identifier": "@contextstream/mcp-server", - "version": "1.0.15", + "version": "1.0.16", "transport": { "type": "stdio" },