From 7dd7b1d50edbfc0692d4bb90854b1bcb96bdd38e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 27 Sep 2026 07:04:42 +0000 Subject: [PATCH 1/2] build(deps): bump the cargo-minor-and-patch group across 1 directory with 6 updates Bumps the cargo-minor-and-patch group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [http](https://github.com/hyperium/http) | `1.4.2` | `1.5.0` | | [hyper](https://github.com/hyperium/hyper) | `1.10.1` | `1.11.1` | | [ipnet](https://github.com/krisprice/ipnet) | `2.12.0` | `2.12.2` | | [tokio-rustls](https://github.com/rustls/tokio-rustls) | `0.26.4` | `0.26.5` | | [rio-vt](https://github.com/raphamorim/rio) | `0.5.26` | `0.5.28` | | [rmcp](https://github.com/modelcontextprotocol/rust-sdk) | `3.4.0` | `3.4.1` | Updates `http` from 1.4.2 to 1.5.0 - [Release notes](https://github.com/hyperium/http/releases) - [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/http/compare/v1.4.2...v1.5.0) Updates `hyper` from 1.10.1 to 1.11.1 - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper/compare/v1.10.1...v1.11.1) Updates `ipnet` from 2.12.0 to 2.12.2 - [Release notes](https://github.com/krisprice/ipnet/releases) - [Changelog](https://github.com/krisprice/ipnet/blob/master/RELEASES.md) - [Commits](https://github.com/krisprice/ipnet/commits) Updates `tokio-rustls` from 0.26.4 to 0.26.5 - [Release notes](https://github.com/rustls/tokio-rustls/releases) - [Commits](https://github.com/rustls/tokio-rustls/compare/v/0.26.4...v/0.26.5) Updates `rio-vt` from 0.5.26 to 0.5.28 - [Release notes](https://github.com/raphamorim/rio/releases) - [Commits](https://github.com/raphamorim/rio/compare/v0.5.26...v0.5.28) Updates `rmcp` from 3.4.0 to 3.4.1 - [Release notes](https://github.com/modelcontextprotocol/rust-sdk/releases) - [Changelog](https://github.com/modelcontextprotocol/rust-sdk/blob/main/release-plz.toml) - [Commits](https://github.com/modelcontextprotocol/rust-sdk/compare/rmcp-v3.4.0...rmcp-v3.4.1) --- updated-dependencies: - dependency-name: http dependency-version: 1.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor-and-patch - dependency-name: hyper dependency-version: 1.11.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: cargo-minor-and-patch - dependency-name: ipnet dependency-version: 2.12.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: tokio-rustls dependency-version: 0.26.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: rio-vt dependency-version: 0.5.28 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch - dependency-name: rmcp dependency-version: 3.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: cargo-minor-and-patch ... Signed-off-by: dependabot[bot] --- Cargo.lock | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5c8252d5..07fd58f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1713,9 +1713,9 @@ dependencies = [ [[package]] name = "corcovado" -version = "0.5.27" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "827f3f138247dad8789d88f58bbed344ff06c80dbcab48a3e4532f4db773e010" +checksum = "aac575a85cf04f046f88f7daf6ef350ebf79545ae54fe9bb081efbb638ed3194" dependencies = [ "libc", "miow 0.5.0", @@ -4503,9 +4503,9 @@ dependencies = [ [[package]] name = "http" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6970f50e31d6fc17d3fa27329444bfa74e196cf62e95052a3f6fee181dba6425" +checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0" dependencies = [ "bytes", "itoa", @@ -4557,9 +4557,9 @@ dependencies = [ [[package]] name = "hyper" -version = "1.10.1" +version = "1.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55281c53a1894c864990125767da440a4e630446785086f52523b20033b74498" +checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43" dependencies = [ "atomic-waker", "bytes", @@ -4949,9 +4949,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.12.0" +version = "2.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d98f6fed1fde3f8c21bc40a1abb88dd75e67924f9cffc3ef95607bad8017f8e2" +checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0" dependencies = [ "serde", ] @@ -8636,9 +8636,9 @@ dependencies = [ [[package]] name = "rio-grapheme-width" -version = "0.5.27" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d03598bb9bae51d4c91b67167b6e348adf893fa2ecc3466754d776109b8526" +checksum = "5a901dda1fe16da68fbe8788db5f2b4525f95b43f064618d2bb6c7361c4e9150" dependencies = [ "phf 0.13.1", "ucd-trie", @@ -8646,9 +8646,9 @@ dependencies = [ [[package]] name = "rio-graphics" -version = "0.5.27" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae16923db8d9ff3901f4077568a53ef6323beff12f8a18700eeae1abcf4ac03f" +checksum = "40bdcb0a124c88c7e75a4f2b2953b158981bf541613b4b0146e21d07f4a104ac" dependencies = [ "rustc-hash 2.1.3", "tracing", @@ -8657,15 +8657,15 @@ dependencies = [ [[package]] name = "rio-unicode" -version = "0.5.27" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e85bdb66b7d6c0c5bd80ec6dcfaadd45b3379a2439a43648b6bff2d7ecd2f8ba" +checksum = "48266e8c525eb4fb8d3ad899e1a050404fb782f876cad2df800dd5455126a99b" [[package]] name = "rio-vt" -version = "0.5.26" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26e0107383748c79f096674a343953ff527d13eacafc581cc123e8888679c3fd" +checksum = "3f80220ae32041e4cef8719cab57d3579cbe0dc26dd1cb1ca0693f85491e1696" dependencies = [ "base64 0.23.1", "bitflags 2.13.2", @@ -8692,9 +8692,9 @@ dependencies = [ [[package]] name = "rmcp" -version = "3.4.0" +version = "3.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b23c62fe489ac1d401ab32688cfacac3737a8978dc3343e5361464c7724fd3cb" +checksum = "5b6317cd8c13e3ec9033cf2aa5aa92cd743f0f4f8a93cddc42ea0ae6ce3b8898" dependencies = [ "async-trait", "base64 0.23.1", @@ -8724,9 +8724,9 @@ dependencies = [ [[package]] name = "rmcp-macros" -version = "3.4.0" +version = "3.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd740c45d66ceb87e5579082abc27bd771665e464e9660a17a048c721b2a6025" +checksum = "d2ee366004e5f87c103be91c6c09337811517ae8d2f919ece9da7c21444b85c5" dependencies = [ "darling 0.24.0", "proc-macro2", @@ -10500,9 +10500,9 @@ dependencies = [ [[package]] name = "teletypewriter" -version = "0.5.27" +version = "0.5.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "023e8f45440d8a7768f49511a128208d5899555d8c48df594552d70043e2b2fb" +checksum = "edbf8e5a8f36cd22c3092b4895a1c5b41b9748e63ef92030b0353b1e05531e46" dependencies = [ "corcovado", "dirs 6.0.0", @@ -10751,9 +10751,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.4" +version = "0.26.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" +checksum = "b0c85f2c3ef0b1cd58b36682f4b17aaa995f0e5db534d85692b4903abce21f67" dependencies = [ "rustls", "tokio", From d4207a1fb217c9e7d53d4e8d4580272f954a51cb Mon Sep 17 00:00:00 2001 From: Tryanks Date: Sun, 27 Sep 2026 14:48:16 +0800 Subject: [PATCH 2/2] Adapt the terminal to rio-vt 0.5.28 RioEvent::Title and RioEvent::Bell now carry the route id of the PTY that raised them; a Tcode grid has one PTY, so the id is ignored. teletypewriter 0.5.28 drops kill_pid and gives Child a lifecycle that never signals a reaped pid. PtyHandle::kill now calls Child::terminate: SIGHUP to the child's process group, SIGKILL after a one second grace, then reap. Previously only the shell's own pid got SIGHUP, so a shell trapping HUP or its background jobs survived a kill; Windows already terminated the child outright. --- crates/term/src/grid_emulator.rs | 4 ++-- crates/term/src/pty.rs | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/crates/term/src/grid_emulator.rs b/crates/term/src/grid_emulator.rs index 3b5e4dc3..5bd3741c 100644 --- a/crates/term/src/grid_emulator.rs +++ b/crates/term/src/grid_emulator.rs @@ -142,7 +142,7 @@ struct GridListener { impl EventListener for GridListener { fn send_event(&self, event: RioEvent, _window_id: WindowId) { match event { - RioEvent::Title(title) => { + RioEvent::Title(_, title) => { *self.osc_title.lock_recover() = Some(title.clone()); let _ = self .notifications @@ -157,7 +157,7 @@ impl EventListener for GridListener { .notifications .try_send(GridEvent::CursorBlinkingChanged); } - RioEvent::Bell => { + RioEvent::Bell(_) => { let _ = self.notifications.try_send(GridEvent::Bell); } RioEvent::Render diff --git a/crates/term/src/pty.rs b/crates/term/src/pty.rs index 102a4bde..585ef308 100644 --- a/crates/term/src/pty.rs +++ b/crates/term/src/pty.rs @@ -463,7 +463,7 @@ impl RawPtyEventLoop { let _ = self.pty.set_winsize(WinsizeBuilder::from(size)); } Ok(PtyCommand::Kill) => { - let _ = terminate_pty(&self.pty); + let _ = self.pty.child.terminate(); } Ok(PtyCommand::Shutdown) | Err(mpsc::TryRecvError::Disconnected) => return false, Err(mpsc::TryRecvError::Empty) => return true, @@ -565,12 +565,6 @@ impl PendingWrite { } } -#[cfg(unix)] -fn terminate_pty(pty: &tty::Pty) -> io::Result<()> { - tty::kill_pid(*pty.child.pid); - Ok(()) -} - fn refresh_process_info( info: &pty_info::PtyInfo, shared: &Mutex,