From aebac3bf3c405fb96e00ed806aa4001017280117 Mon Sep 17 00:00:00 2001 From: sebi Date: Sat, 14 Nov 2026 08:43:14 -0500 Subject: [PATCH 1/2] =?UTF-8?q?chore(release):=202.2.0=20=E2=80=94=20agent?= =?UTF-8?q?s=20sharing=20a=20host=20see=20each=20other?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 7 ++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- docs/changelog/2.2.0.md | 14 ++++++++++++++ docs/changelog/unreleased.md | 11 ----------- 5 files changed, 22 insertions(+), 14 deletions(-) create mode 100644 docs/changelog/2.2.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 92714a0..e37d76c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to mcp-ssh are recorded here. Format: [Keep a Changelog](htt Each release's notes live in their own file under [`docs/changelog/`](docs/changelog/); this page is the index, newest first. Not released yet: [`docs/changelog/unreleased.md`](docs/changelog/unreleased.md) ([diff since the last release][Unreleased]). A pull request with a user-visible change adds its line there. +## [2.2.0] - 2026-11-14 + +Agents sharing a host see each other: `job list` opens with the agents active in the last 15 minutes and marks who started each job; polling or killing another agent's job says whose it is. The database schema moves to version 7. [Release notes](docs/changelog/2.2.0.md). + ## [2.1.0] - 2026-11-14 rmcp 3.9, and the follow-ups from the 2.0.0 audit: kills from a persisted row, the log cap on leftover processes, logging of refused tool calls, and open streams ending when their token is revoked. The database schema moves to version 6. [Release notes](docs/changelog/2.1.0.md). @@ -68,7 +72,8 @@ Opt-in interactive bash and a one-shot installer. [Release notes](docs/changelog First stable release: an MCP server giving an agent shell, file and job access to one host over authenticated Streamable HTTP. [Release notes](docs/changelog/1.0.0.md). -[Unreleased]: https://github.com/developerz-ai/mcp-ssh/compare/v2.1.0...HEAD +[Unreleased]: https://github.com/developerz-ai/mcp-ssh/compare/v2.2.0...HEAD +[2.2.0]: https://github.com/developerz-ai/mcp-ssh/compare/v2.1.0...v2.2.0 [2.1.0]: https://github.com/developerz-ai/mcp-ssh/compare/v2.0.0...v2.1.0 [2.0.0]: https://github.com/developerz-ai/mcp-ssh/compare/v1.4.0...v2.0.0 [1.4.0]: https://github.com/developerz-ai/mcp-ssh/compare/v1.3.0...v1.4.0 diff --git a/Cargo.lock b/Cargo.lock index 1645738..9150c32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1151,7 +1151,7 @@ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "mcp-ssh" -version = "2.1.0" +version = "2.2.0" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index e9051d1..8a95db5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mcp-ssh" -version = "2.1.0" +version = "2.2.0" edition = "2024" rust-version = "1.100" # = rust-toolchain.toml + Dockerfile base; bump together description = "Remote shell + file access for AI agents over authenticated MCP-HTTP — an ssh replacement you talk to over /mcp" diff --git a/docs/changelog/2.2.0.md b/docs/changelog/2.2.0.md new file mode 100644 index 0000000..441b680 --- /dev/null +++ b/docs/changelog/2.2.0.md @@ -0,0 +1,14 @@ +# 2.2.0 - 2026-11-14 + +Agents that share a host can now see each other: job owners, a presence line, and an end-to-end proof that two agents work side by side. The database schema moves to version 7. + +### Added + +- **Agents sharing a host can see each other.** `job(action="list")` opens with the agents (OAuth clients) that used the host in the last 15 minutes, the caller marked `you` — e.g. `2 agents active (last 15 min): you (Claude Code#4f2a), cursor#9b1c` — and each job gains `by`: `you`, the agent that started it, or `unknown` for older jobs. Polling or killing another agent's job still works (one service user), and the reply opens with `[started by another agent: …]`. +- `mcp-ssh jobs` shows a `BY` column; `mcp-ssh sessions` lists each logged-in agent with when it was last active. +- An end-to-end test proves two separately logged-in agents run commands and background jobs side by side without waiting on each other. + +### Changed + +- **Schema version 7.** `jobs` gains `client_id`/`client_name`; `clients` gains `client_name`/`last_used_unix`. An older binary, including its admin CLI, refuses a migrated database. A `client_name` from client registration is cleaned before it is stored or shown: control and invisible characters dropped, whitespace collapsed, at most 32 characters. +- `job(action="list")` is no longer bare JSON: the presence line comes first. diff --git a/docs/changelog/unreleased.md b/docs/changelog/unreleased.md index 1f6d33e..79e701b 100644 --- a/docs/changelog/unreleased.md +++ b/docs/changelog/unreleased.md @@ -1,12 +1 @@ # Unreleased - -### Added - -- **Agents sharing a host can see each other.** `job(action="list")` opens with the agents (OAuth clients) that used the host in the last 15 minutes, the caller marked `you` — e.g. `2 agents active (last 15 min): you (Claude Code#4f2a), cursor#9b1c` — and each job gains `by`: `you`, the agent that started it, or `unknown` for older jobs. Polling or killing another agent's job still works (one service user), and the reply opens with `[started by another agent: …]`. -- `mcp-ssh jobs` shows a `BY` column; `mcp-ssh sessions` lists each logged-in agent with when it was last active. -- An end-to-end test proves two separately logged-in agents run commands and background jobs side by side without waiting on each other. - -### Changed - -- **Schema version 7.** `jobs` gains `client_id`/`client_name`; `clients` gains `client_name`/`last_used_unix`. An older binary, including its admin CLI, refuses a migrated database. A `client_name` from client registration is cleaned before it is stored or shown: control and invisible characters dropped, whitespace collapsed, at most 32 characters. -- `job(action="list")` is no longer bare JSON: the presence line comes first. From ec27c8f1d5b87980899b36bf38d89e1b3b6d04e5 Mon Sep 17 00:00:00 2001 From: sebi Date: Sat, 14 Nov 2026 08:43:20 -0500 Subject: [PATCH 2/2] docs(changelog): match heading style Co-Authored-By: Claude Opus 5.5 --- docs/changelog/2.2.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/2.2.0.md b/docs/changelog/2.2.0.md index 441b680..7446985 100644 --- a/docs/changelog/2.2.0.md +++ b/docs/changelog/2.2.0.md @@ -1,4 +1,4 @@ -# 2.2.0 - 2026-11-14 +# 2.2.0 — 2026-11-14 Agents that share a host can now see each other: job owners, a presence line, and an end-to-end proof that two agents work side by side. The database schema moves to version 7.