diff --git a/README.md b/README.md index 1cbfedd6..f82e8237 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Designed to support seamless developer productivity, headless automation, and AI [Demo](https://github.com/user-attachments/assets/656226a9-af13-4fdb-8eda-d7de747336a2) > [!NOTE] -> **Platform support:** the Colab CLI currently supports **Linux and macOS** only. Windows is not supported at this time. +> **Platform support:** Linux and macOS are supported. Native Windows support is **experimental**: SSH remote command execution and runtime cleanup have been verified on Windows 11 with Python 3.12 and Windows OpenSSH. Other Windows workflows are not fully validated; see [Windows SSH support](docs/06_ssh_access.md#windows-support-status) for prerequisites and limitations. > [!TIP] > Looking for in-notebook, interactive agent-assisted coding instead of a terminal workflow? See the [Colab MCP Server](https://github.com/googlecolab/colab-mcp). @@ -37,6 +37,20 @@ uv tool install google-colab-cli pip install google-colab-cli ``` +### Native Windows (Experimental) + +To use the Windows SSH fixes in this repository, install from a local checkout +of its `main` branch rather than assuming the PyPI package includes them: + +```powershell +uv tool install . +``` + +Install the Windows **OpenSSH Client** optional feature and ensure `ssh` and +`ssh-keygen` are on `PATH`. Local interactive console workflows still need +Windows validation, and local file editing has known temporary-file locking +limitations. `colab update --install` supports Linux and macOS only. + --- ## Quick Start @@ -182,6 +196,7 @@ For comprehensive architectural overviews and deep-dives into specific CLI sub-s * [File Management & Jupyter Contents API](docs/03_file_management.md) * [Authentication Providers & VM Automation](docs/04_automation_and_utility.md) * [Ephemeral Job Runner Design](docs/05_run_command.md) +* [SSH Access and Windows Support](docs/06_ssh_access.md) To view interactive walkthroughs of eleven real-world automated scenarios, check out the [Demo Walkthroughs](docs/demos.md). diff --git a/docs/06_ssh_access.md b/docs/06_ssh_access.md index 3e14467f..2470a80d 100644 --- a/docs/06_ssh_access.md +++ b/docs/06_ssh_access.md @@ -1,5 +1,6 @@ --- log: +2026-10-20: Aligned the README with experimental native Windows SSH support and documented prerequisites and remaining platform limitations. 2026-10-20: Passed the native Windows 11 / Python 3.12.14 live CPU SSH test: generated ProxyCommand, identity path with spaces, remote marker execution, and recorded-endpoint cleanup; the final sessions query reported no active assignments. SSH CI also passed on Windows, Linux, and macOS. 2026-10-20: Fixed Windows OpenSSH ProxyCommand argument quoting, local null-device selection, and cleanup signal registration. Added native Windows process/OpenSSH regression tests and a three-platform SSH CI job; live Colab verification remains required before claiming Windows support. 2026-09-25: Cleaned up keep-alive daemon references in session creation and teardown documentation. @@ -154,10 +155,17 @@ Portable tests also check registration without SIGHUP and the local null device. Existing POSIX shell quoting and teardown tests remain in the suite. The SSH CI workflow runs these and the existing SSH tests on Windows, Linux, -and macOS with Python 3.12. This covers SSH compatibility only. Interactive -console behavior, local file editing, self-update, and a live Colab session -require separate validation before the project's overall platform support -statement can change. +and macOS with Python 3.12. This covers SSH compatibility only. + +### Windows Support Status + +Native Windows support is experimental. The SSH workflow requires the Windows +OpenSSH Client optional feature, with `ssh` and `ssh-keygen` available on `PATH`. +The README documents installation from a repository checkout to use these fixes. +Interactive console behavior still requires Windows validation. The native +Windows test suite has known failures in help-output parsing, temporary-file +editing, and headless REPL console setup. `colab update --install` remains limited +to Linux and macOS; full native Windows feature parity is not claimed. `uv run python integration/repro_windows_ssh/test.py` provides a native Windows live test using cached OAuth2 credentials. It creates a CPU runtime, executes a