From 1f4d8c6ce9ba612dcc4969a12cf56147e7db2a06 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 17:24:10 +0000 Subject: [PATCH 1/2] Initial plan From 141f942b4ecf86da9a1d67cb3f77a7d5b39aad64 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 17:29:24 +0000 Subject: [PATCH 2/2] Docs: summarize deno#31890 Co-authored-by: sigmaSd <22427111+sigmaSd@users.noreply.github.com> --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 0c05e84..dc523f1 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,15 @@ deno run --allow-read --allow-write --allow-net --allow-env --allow-ffi minimal. - [Online Documentation](https://webui.me/docs/2.5/#/) +## Upstream Issue Summary (denoland/deno#31890) + +- Deno previously restricted TTY streams to file descriptors 0-2, which caused + Node compatibility crashes when packages created TTY streams on other fds. +- The fix adds an op to open TTY resources from any valid terminal fd by safely + duplicating the descriptor and validating it is a TTY. +- A JavaScript TTYStream wrapper now handles arbitrary fds, while ReadStream and + WriteStream keep the 0-2 fast paths for stdin/stdout/stderr. + ## CppCon 2019 Presentation [Borislav Stanimirov](https://ibob.bg/) explained at