Enable the computer_use toolset beyond macOS, matching cua-driver's
cross-platform runtime support.
- install: install_cua_driver() dispatches per-OS (Windows install.ps1 via
PowerShell, macOS/Linux install.sh); arch pre-check recognizes Windows
(AMD64/ARM64) and Linux (x86_64/aarch64); `hermes update` and
`hermes computer-use install --upgrade` run cross-platform.
- prompt/UI: COMPUTER_USE_GUIDANCE is now platform-aware (no macOS-only
wording on Windows/Linux; Windows gets the dispatch:"foreground" note);
de-macOS'd toolset labels, descriptions, and CLI help.
- version: removed the non-functional HERMES_CUA_DRIVER_VERSION "pin" (it
never gated anything); added a per-OS MIN_CUA_DRIVER_VERSION soft warning
(macOS 0.5.0, the Rust build 0.2.16), surfaced at startup and in
`computer-use status`. Local 0.0.0-* builds are exempt.
- deps: lazy-install the optional `mcp` SDK via tools/lazy_deps.py on first
use (tool.computer_use -> mcp==1.26.0) instead of dead-ending on
"No module named 'mcp'"; clearer backend-unavailable hint; don't cache a
backend whose start() failed.
- tests: cross-platform install, version-warning, lazy-install, and
corrected platform-gating tests (Linux gated off, Windows supported).
- docs: computer-use.md (EN + zh-Hans) updated for cross-platform use,
local-build testing, and the removed version pin.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>