Skip to content

Releases

Remote Harness MCP v0.7.5

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:12

Remote Harness MCP v0.7.5

Native Windows Desktop Control & Fast UI Automation

  • Windows desktop_input tool (core/desktop_input.py, PR #7 by @RogerYong, hardened & accelerated):
    • Zero-dependency mouse and keyboard automation via Windows user32.SendInput / SetCursorPos with Per-Monitor DPI v2 awareness: get_cursor, move, click (left/right/middle, single/double/triple), drag, scroll, type_text (layout-independent UTF-16 Unicode + Enter on \n), and key_press (single keys and modifier chords).
    • Fast Windows UI Automation (action="get_tree"): returns interactive UI elements (Button, Edit, Hyperlink, TabItem, ComboBox, MenuItem) and exact (x, y) center coordinates as compact JSON in ~600 ms — letting agents navigate Edge/Chrome and desktop apps without screenshots.
    • Batching (action="sequence" & action="wait"): execute up to 25 UI steps (click → wait → type → wait → get_tree) in a single MCP tool call.
    • Security & platform guards: blocked under MESH_READ_ONLY, --no-shell (MESH_ENABLE_SHELL=0), --folder (MESH_WRITE_ROOTS), active sandbox, Windows Session 0 (SESSIONNAME=Services), or MESH_ENABLE_DESKTOP_INPUT=0; automatically hidden on non-Windows hosts in tools/list auto-profile (38 tools in ALL_TOOLS, 40 via gateway; 36 on Windows / 35 on Linux & macOS by default).
  • Fast screen_capture mode (core/mcp_tools.py):
    • Optional format="jpeg", max_side, quality, and upload_gdrive=True parameters shrink full-res PNGs (~2.5 MB) to ~120 KB downscaled JPEGs and optionally return a Drive file_id in one call (falls back cleanly to stdlib PNG when Pillow is not installed).
  • MESH_SERVER_NAME override (core/server.py):
    • Customize serverInfo.name to distinguish multiple standalone nodes in MCP clients.

Documentation & OAuth Session Tips

  • Long Gemini session tips (PR #8 by @RogerYong + Russian mirror):
    • Documented MESH_OAUTH_TOKEN_TTL trade-offs, session refresh behavior, and immediate token revocation (standalone.oauth_tokens.json) in both README.md and README_RU.md.

Security Hardening & Repository Cleanup

  • Runtime, Gateway, Installers & CI Hardening (e9237f5):
    • Hardened -AdminService in install.ps1 (%ProgramFiles% + strict ACLs), script allowlisting in ops/windows/run-hidden.vbs, Zip Slip protection in tools/installer-exe/Launcher.cs, non-root Docker runtime (USER rhm, cap_drop: [ALL]), OIDC PKCE/nonce + atomic consume_flow, and isolated mktemp staging in deploy_gateway.sh.
  • Legacy Cleanup (bacb78d, 50eddf9):
    • Removed dead legacy v1/SDK modules, obsolete docs, and stale build clutter; updated docs/PROJECT_STRUCTURE.md to match the current architecture.

Remote Harness MCP v0.7.4

Choose a tag to compare

@github-actions github-actions released this 29 Nov 07:18

Remote Harness MCP v0.7.4

Security & OAuth 2.1 Hardening

  • Public Funnel OAuth DCR Protection (core/server.py):
    • Blocked unauthenticated Dynamic Client Registration (POST /oauth/register) and auto-approved OAuth flows on public/proxied hosts (Tailscale Funnel, Quick Tunnel, reverse proxies) by default (403 access_denied on /oauth/*, 404 on /.well-known/*). Token auth (?token= / Authorization: Bearer) continues to work unchanged; public DCR now requires explicit opt-in (MESH_OAUTH_ALLOW_PUBLIC_DCR=1).
  • Gemini Persistent Linking & Manual Confidential OAuth (PR #6 by @RogerYong, hardened):
    • Added pre-registered confidential OAuth client support (MESH_OAUTH_CLIENT_ID, MESH_OAUTH_CLIENT_SECRET, MESH_OAUTH_REDIRECT_URI with strict Google callback allowlist) and a local Consent UI with explicit Allow/Deny handling.
    • Added persistent refresh_token support (non-rotating, 30-day sliding TTL via MESH_OAUTH_REFRESH_TOKEN_TTL) and atomic 0600 disk persistence of SHA-256 token digests (standalone.oauth_tokens.json) so active sessions survive restarts without storing raw tokens.
    • Hardened static client mode so POST /oauth/register is strictly blocked (403) and legacy DCR clients are not loaded when a confidential client is configured.

Windows & CI Fixes

  • Reliable rhm restart on Windows (core/menu.py): Stops both python.exe and its parent cmd.exe log wrapper, verifies old PIDs actually exit, reports clear permission errors when the service runs elevated, and prints the new PID on success.
  • Elevated cmd.exe launcher fix (bin/rhm.cmd): Resolves Python automatically via rhm.env, %LOCALAPPDATA%\Programs\Python\Launcher\py.exe, and standard Python3* directories even when py is not in the elevated PATH.
  • Synced npm alias (npm/gemini-computer-use/package.json): Kept in lockstep at 0.7.4 with the main package.

Remote Harness MCP v0.7.3

Choose a tag to compare

@github-actions github-actions released this 29 Nov 04:12

Remote Harness MCP v0.7.3

Highlights

  • Autonomous Google Drive transfer (share_gdrive):
    • Upload single files, file lists (paths), or whole directories directly from any node (Windows, Linux, macOS, Android/Termux) to Google Drive via OAuth 2.0 Device Flow (drive.file non-sensitive scope) — zero relay VPS involvement and zero pip dependencies.
    • Tokens are stored strictly outside git repositories in core.paths.config_dir() (~/.config/remote-harness-mcp/gdrive_token.json, 0600 on POSIX), with optional BYO credentials (gdrive_client.json or RHM_GDRIVE_CLIENT_*).
    • Supports chunks=N batch ZIP packaging for parallel subagent workflows, immediate action="delete" (file_id / file_ids), and automatic background TTL cleanup for ephemeral (keep=False) transfers.
  • Polished rhm TUI (core/menu.py):
    • High-contrast ANSI color styling in interactive terminals (plain text preserved for --once, pipes, and NO_COLOR).
    • Fixed QR code layout so long paths or status notices never push the QR off the main screen.
    • Added interactive service restart (r / rhm restart) and service stop+quit (q / rhm stop), both protected by explicit [y/N] confirmation; moved Remote Control toggle to c.

Remote Harness MCP v0.7.2

Choose a tag to compare

@github-actions github-actions released this 26 Nov 19:05

Remote Harness MCP v0.7.2 — Windows Installer & In-Place Upgrade Fixes

Patch release fixing Windows visual installer (.exe) execution, drive selection, and clean in-place upgrades over an already-installed node.

Fixes

  • Fixed PowerShell 5.1 -File parameter binding crash (-AddToPath:$true): Windows PowerShell 5.1 passed -AddToPath:$true as the literal string "$true" to [bool]$AddToPath, aborting install.ps1 before startup. install.ps1 now accepts [object]$AddToPath = $true and normalizes both native booleans and string forms ($true/$false/true/false/1/0).
  • Fixed mojibake in Russian installer error output: install-gui.ps1 (Read-TextFileTolerant) now falls back to the system OEM codepage (CP866 on Russian Windows) when codePage is 65001 instead of re-decoding OEM stderr as UTF-8.
  • Fixed drive selection producing D:\0.7.1: install-gui.ps1 (Get-DefaultInstallDir) no longer defaults into the unpacked scratch directory ...\RemoteHarnessMCP\setup\<version>, and switching drives ignores version-like folder names (^\d+\.\d+\.\d+) and setup — selecting D: now defaults to D:\RemoteHarnessMCP.
  • In-place upgrade over existing installations: added Get-ExistingInstallDir to install-gui.ps1 and install.ps1 (checking rhm.env, RemoteHarnessMCPService, and Startup VBS). When an existing installation is detected, the installer targets that exact directory and locks the location fields with a clear notice (loc_existing_hint).
  • Graceful stop before upgrade: added Stop-ExistingNodeInstances in install.ps1 before Copy-NodePayload to stop running scheduled tasks (RemoteHarnessMCPService) and node/watchdog processes so file overwrites and port binding (SO_EXCLUSIVEADDRUSE) succeed cleanly before restarting the updated version.

Verification

  • install-gui.ps1 -SelfTest — all checks passed.
  • pytest tests/test_installer_location.py tests/test_installer_gui.py tests/test_funnel_installers.py — 56 passed, 1 skipped (including real Windows PowerShell 5.1 -File install.ps1 -DryRun -AddToPath:$true/-AddToPath:$false tests).

Remote Harness MCP v0.7.1

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:42

Remote Harness MCP v0.7.1 — Faster, leaner MCP surface, shell-free Git & Fetch, OAuth 2.1, and Zero-Admin Standalone Mode

First stable release of the 0.7.x architecture (no bridge required by default — each node publishes itself via Tailscale Funnel or quick tunnel), combining the fast Windows/Linux data layer, read_media multimodal support, GUI installer improvements, and a comprehensive set of context-efficiency, security, and onboarding upgrades.

Highlights & All Changes Since v0.7.0-rc1-alpha

1. Context Efficiency & Faster Search

  • ~50% smaller tools/list schema payload: compressed tool and parameter descriptions across core/mcp_tools.py and gateway.py (33 base tools: 33.5 KB → 16.9 KB; default desktop auto-profile of 34 tools: 17.1 KB; MESH_TOOLSETS=core of 22 tools: 10.4 KB, −69%).
  • Modular toolsets (MESH_TOOLSETS) & OS auto-profile: configure active tool groups (all, core, git, web, device, admin) via MESH_TOOLSETS; phone-only tools (device_messages, device_capture) are hidden by default on desktop nodes unless explicitly enabled. core/server.py now serves tools/list dynamically via mcp_tools.list_tools().
  • Compact grep_search output: added format="compact" returning flat relative paths (rel/path.py:line: text), cutting grep response tokens by >50% (13.5 KB vs 30.6 KB), while keeping format="json" clean without duplicate fields.
  • Bytes-level literal grep_search pre-filter: core/fs_search.py performs a fast needle_bytes in raw_bytes check before UTF-8 decoding and regex matching for literal patterns (fixed=True or plain literals with ignore_case=False).
  • Fast data layer & background indexing: zero-dependency fs_search, SQLite FTS5 fs_index with background/scheduled refresh, win_places, doc_read, batch_read, batch_edit (with dry_run), and multi-language run_script (python, powershell, bash, cmd).

2. New Shell-Free Tools & Multimodal Support

  • git_status & git_diff: read-only tools executing git directly (shell=False, -c core.fsmonitor=false -c core.hooksPath=), working even in read_only mode or with --no-shell.
  • fetch_url with SSRF protection: https://-only fetcher validating every resolved IP via ipaddress (blocking loopback, private, link-local, multicast, reserved, and IPv4-mapped IPv6), per-hop redirect validation (up to 5 hops), 300 KB body cap, and optional HTML-to-text stripping.
  • read_media & binary guard in read_file: read_file now detects binary files via NUL-byte check in the first 8 KB and returns a clean error with file size, MIME type, and a hint to use read_media (which returns native MCP image/PDF/audio/video/OCR content blocks, plus Windows OCR helper tools/ocr_windows.py).

3. Security, Reliability & Windows Hardening

  • Protected .git/ writes: core/policies.py (is_protected_git_path, check_write_allowed) blocks writes/edits to .git/hooks/* and .git/config across write_file, edit_file, and batch_edit (handling path traversal, symlinks, Windows case-insensitivity, and NTFS ADS).
  • Shell disable switch (--no-shell / MESH_ENABLE_SHELL=0): cleanly disables bash_exec, run_script, and run_job for file-only deployments.
  • No duplicate port bind on Windows: core/server.py disables allow_reuse_address and sets socket.SO_EXCLUSIVEADDRUSE on win32.
  • Async rotating usage journal: core/usage.py writes call logs through a background queue.SimpleQueue daemon thread with size-based rotation (1 MB × 3 backups) and flush(), cutting empty-call protocol overhead from ~16 ms to ~1 ms.

4. Onboarding, OAuth 2.1, Installer & Docs

  • Zero-admin single-folder mode (--folder, --no-shell, --quick-tunnel): launch a standalone sandboxed server on any project folder without admin privileges or Tailscale setup, with optional Cloudflare quick tunnel (cloudflared) auto-detection.
  • Minimal OAuth 2.1 (PKCE S256) in standalone mode: added GET /.well-known/oauth-authorization-server, GET /.well-known/oauth-protected-resource, POST /oauth/register, GET /oauth/authorize, and POST /oauth/token alongside static MESH_TOKEN.
  • Installer & rhm menu updates: selectable install location and component toggles in install-gui.ps1, localised drive labels, tunnel visibility and repair from rhm, and updated admin service / container docs.
  • Threat Model & README sync: added Threat Model / Модель угроз sections to README.md and README_RU.md, updated tool counts (36 node / 38 gateway), and added CI contract test tests/test_readme_tools_sync.py.
  • Cross-platform CI fix: fixed POSIX case-sensitive glob assertions in tests/test_fs_index.py so ubuntu-latest (py3.11, py3.13) and windows-latest (py3.13) all pass cleanly.

Upgrade / Install

  • curl (Linux / macOS / Termux):
    curl -fsSL https://raw.githubusercontent.com/LevRa7/remote-harness-mcp/main/install.sh | bash
  • PowerShell (Windows):
    irm https://raw.githubusercontent.com/LevRa7/remote-harness-mcp/main/install.ps1 | iex
  • npx:
    npx remote-harness-mcp@0.7.1
  • Existing nodes: run mesh_update (action="apply") or update from the rhm menu — GitHub Releases attaches mesh-payload-0.7.1.zip, RemoteHarnessMCP-Setup-0.7.1.exe, and their .sha256 checksums automatically.

Remote Harness MCP v0.7.0-rc1-alpha

Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Nov 06:55

Remote Harness MCP 0.7.0-rc1-alpha — no bridge: the node ships its own public endpoint

A pre-release of the architecture change. Until 0.6.x every node needed a relay: a
VPS with a shared domain that terminated TLS and forwarded calls over an outbound
WebSocket tunnel. From 0.7.0 the installer puts the whole stack on the machine and
publishes it with Tailscale Funnel; a node has its own HTTPS address and a
bridge is no longer part of the default install.

Tagged v0.7.0-rc1-alpha: it installs, updates and serves on this machine, but try
it on one node before rolling it out.

The architecture change

  • A node is its own public endpoint. https://<node>.<tailnet>.ts.net/sse?token=…
    terminates on the machine itself (Funnel forwards to 127.0.0.1:<port>). No VPS,
    no shared domain, no DNS, no inbound port on the router, and no second place that
    holds the node's token.
  • The installer defaults to it. install.ps1 -Mode standalone -Funnel and
    install.sh --mode=funnel are what the wizard and the shell installer now choose
    first; tunnel mode (-Mode tunnel, --mode=tunnel) still exists for many nodes
    behind one address.
  • Shares are served by the node, not built into a bridge path:
    https://<node>.<tailnet>/<slug>/<file> instead of <domain>/<node>/<slug>/<file>.
  • Tailscale is the only external dependency. The installer installs the client
    when it is missing, walks through the one-time browser sign-in, and needs Funnel
    allowed for the tailnet (a one-time ACL switch):
    "nodeAttrs": [{"target": ["autogroup:member"], "attr": ["funnel"]}].

Install, step by step

  1. install-gui.cmd (wizard, Funnel pre-selected) or the console installer.
  2. Tailscale installed and signed in; BackendState=Running waited for.
  3. <node>.<tailnet>.ts.net read from tailscale status --json, then MESH_TOKEN,
    MESH_ALLOWED_HOSTS and MESH_PUBLIC_URL written to standalone.env (0600).
  4. A free port chosen (8096, or the next free one) and autostart registered: the
    RemoteHarnessMCPService task (SYSTEM, before logon, restart on failure) or
    rhm-node.vbs at logon; the real outcome recorded in autostart.state.json.
  5. tailscale funnel --bg --https=443 http://127.0.0.1:<port> started and verified.
  6. The ready link printed and copied: paste it into the Gemini connector.

rhm now describes the installed node

  • The menu reads the node's own configuration directory (the service keeps it in
    %ProgramData%\remote-harness-mcp), the installer's autostart.state.json and
    standalone.env, so a Funnel node shows its own ts.net address and token
    instead of a bridge URL and an lk_… key left by an earlier tunnel install.
  • Status: is true for a Funnel node as well: with no heartbeat to read (the tunnel
    agent writes it, the standalone server does not), the menu probes the node's
    loopback /health and caches the answer for five seconds.
  • rhm --json additionally reports endpoint_mode, node and config_dir.

The rhm command survives a moved payload

  • The Windows shim no longer carries the payload path: it reads rhm.env next to
    itself, which every install rewrites. A stale path now prints which file is wrong
    and exits 127 instead of "No module named core.menu".
  • The POSIX shim reads ~/.config/remote-harness-mcp/launcher.env and now actually
    changes into the payload — the previous script ran python -m core.menu from
    whatever directory the caller happened to be in.

Migration from 0.6.x

  1. Run the installer again; the wizard already offers Funnel first.
  2. Replace the connector URL in Gemini with the new …ts.net/sse?token=… link.
  3. agent.env / domain.env from the tunnel era stay on disk as history — a Funnel
    node does not read them and never dials the bridge.
  4. The old bridge VPS can be switched off when no tunnel-mode node uses it.

Known limits of this alpha

  • Termux still has no Funnel (Android has no tailscaled): the phone keeps using
    tunnel or local-standalone mode.
  • Funnel exposes 443, 8443 and 10000 only.
  • The link is the credential: whoever holds it can run commands on that machine.
  • A pre-release is older than 0.7.0 itself, so a node on this build updates to the
    final release automatically once it ships (set MESH_UPDATE_CHANNEL=prerelease
    to keep following pre-releases).

Verification

  • tests/test_menu.py, tests/test_funnel_installers.py — desktop endpoint and
    launcher contract, including the new standalone liveness probe.
  • tests/test_version_single_source.py, tests/test_updater.py — the tag, the
    module, package.json and the docs name one version.
  • tests/test_standalone_env.py, tests/test_standalone_shares.py,
    tests/test_server_hardening.py — the allowlist and the standalone share route.

Remote Harness MCP v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 03:12

Remote Harness MCP 0.6.0 — device cabinet, security hardening, and a usable console menu

A feature-and-security release. It adds the first real device cabinet, closes the
findings of the 2026-11-19 audit, and replaces the console menu's repainting with
a proper terminal frame.

Device cabinet (P1)

  • One device inventory. registry.json (credentials) and account.db
    (owner, display name, tenant) are joined into a single list, so the cabinet
    shows every device of the signed-in owner with its platform, online state and
    last activity.
  • Pairing confirmation from the cabinet. A pairing code can be confirmed in
    the browser (P1-B) instead of only through the admin API.
  • Unclaimed devices are opt-in. A node registered before the cabinet existed
    is not shown to anybody until the owner adopts it with its link key (P1-C).

Security (2026-11-19 audit)

This release closes 20 findings of the audit; the remaining ones are documented
residuals (operator trust, release signing, separate share origin).

  • Shares are sandboxed: a user-published HTML file can no longer read the
    cabinet. Every relayed share carries Content-Security-Policy: sandbox …,
    X-Content-Type-Options: nosniff and Referrer-Policy: no-referrer; a
    protocol-relative Location is rejected.
  • No anonymous inventory: unknown node names answer with the same 401 as a
    wrong credential, an unknown or offline share answers 404, /health is a
    bare {"status":"healthy"} unless the caller proves a credential (or the
    operator sets MESH_PUBLIC_HEALTH=1), and /api/register no longer suggests
    which name is taken.
  • Link keys are hashed at rest. link_key_sha256 replaces the plaintext
    value; existing registries are migrated on startup, and a reinstall keeps the
    old digest as an overlap until an explicit rotate.
  • Credentials stop travelling in URLs: a device token in the query string is
    only accepted with MESH_ALLOW_LEGACY_QUERY=1, and rotate/revoke accept it in
    a header only. /api/register ignores a token supplied in the query.
  • Rate limits actually bind: client_ip trusts X-Forwarded-For only from
    MESH_TRUSTED_PROXIES (last hop), the rate-window map is bounded, pairing has
    a per-address quota and evicts the oldest request instead of failing everyone.
  • Smaller fixes: unknown MESH_REGISTER_MODE fails closed, usernames are
    limited to 40 characters, admin tokens are comma-separated and must be at
    least 32 characters (optional TOTP via MESH_ADMIN_TOTP_SECRET, optional
    MESH_ADMIN_REQUIRE_LOCALHOST=1), the registry read is cached per file
    identity, share relay bodies are capped and concurrency-limited, shell
    classification rejects pipelines after a "safe" prefix, and the secret
    redactor masks short and $-prefixed passwords.
  • Cabinet login: the OAuth flow is bound to the browser that started it, the
    CSRF check verifies Origin, login is rate-limited, and an optional
    MESH_OWNER_EMAILS / MESH_OWNER_DOMAINS allowlist keeps a shared gateway to
    its owners. MESH_CLOSE_REGISTER_WITH_ACCOUNT=1 closes self-registration when
    the cabinet is on.

Console menu (rhm)

  • A frame that fits. The menu is computed for the current window, never
    taller than it, and repainted through the Win32 console API
    (FillConsoleOutputCharacter/SetConsoleCursorPosition) so plain conhost
    works without ANSI or VT processing. Unchanged frames are not repainted.
  • Token and QR in the menu. Token: lk_… and the MCP endpoint are always
    visible; the QR is drawn beside the status block on a wide window, below it on
    a tall one, and e opens it full-screen otherwise.
  • Home has an edit affordance: Home: <path> [d] edit.
  • Keys work in any layout. Input is read as Win32 virtual-key codes
    (VK_D → d), so pressing the physical key works with the Russian layout too;
    the msvcrt fallback translates Cyrillic characters to their Latin keys.
  • rhm no longer crashes on start (Keys now implements the context-manager
    protocol) and prints once when stdout is redirected instead of repainting a
    stream.

Changes you should know before upgrading

  • The persistent goal is disabled by default. One objective stored on the
    node was shared by every chat, so the tool is absent from tools/list,
    mesh_status returns goal: null, and the menu hides the line. The old
    behaviour is available with MESH_GOAL=1; per-chat scoping is not implemented.
  • /health is private by default (see above).
  • An admin token shorter than 32 characters no longer works.
  • Unknown MESH_REGISTER_MODE values mean "closed".
  • A device token in a URL needs MESH_ALLOW_LEGACY_QUERY=1 (migrate, rotate,
    then remove the flag).
  • A reinstall rotates the link key; the previous URL keeps working until the
    owner rotates it explicitly.

Verification

python -m pytest tests -q → 1585 passed, 8 skipped.

Remote Harness MCP v0.5.2

Choose a tag to compare

@github-actions github-actions released this 16 Nov 01:36

Remote Harness MCP 0.5.2 — links follow the bridge, shares render correctly

A patch release for 0.5.1. It fixes four defects that made published files and
pages come back broken, and one that made every link name a domain the gateway
was no longer reached at.

What was broken

  1. Published links named the wrong domain. core/web_share builds
    <domain>/<node>/<slug>/… from core.domain, whose last fallback is the
    built-in default. On Windows the configured domain.env had been written to
    the pre-rename directory, and once the new config directory existed the
    resolver stopped looking there: the node silently fell back to the built-in
    default and minted every share and page link on smart-server.online while
    its tunnel went to the Tailscale name. Tokens (printed by the gateway) and
    links (printed by the node) disagreed, and only machines with a hosts
    override could open the links at all.

  2. Text shares rendered as mojibake. The share server answered
    Content-Type: text/plain with no charset, so a Russian Windows decoded the
    UTF-8 bytes as windows-1251: как became как.

  3. A published site returned 404 for its own assets. The nginx snippet
    answered 404 for .json, .log, .conf, .env, .yml/.yaml, .bak,
    .old, .sql, .ini paths and for /vendor/, /node_modules/,
    /wp-content/, /wp-admin/ — scanner-noise control that also matched real
    files inside a share (manifest.json, package.json, a vendored bundle).

  4. A BOM in shares.json emptied the share registry. PowerShell writes one
    with Set-Content -Encoding UTF8; json.load then failed, the failure was
    swallowed as "no shares", and every published link answered 404.

  5. The served install.sh had CRLF line endings (published from a Windows
    checkout), so curl … | bash died on $'in\r'.

The fix

  • The gateway announces its public domain to every node when the tunnel
    connects ({"type":"hello","public_base":…}) and the node adopts it for all
    link generation (core.agent.apply_gateway_hello). One config — the
    gateway's domain.env — switches tokens, file links and page links
    together
    ; a node's own domain.env remains the fallback for a gateway that
    does not announce one. Nodes log Public links: <url> (source: …) at startup,
    so a silent fallback can no longer hide.
  • Text responses carry ; charset=utf-8, added by the node's share handler and
    by the gateway's relay (which also covers a node still running older code).
    An explicit charset sent by the node is never overridden.
  • The share namespace /<node>/<slug>-<16 hex>/… is matched before the
    scanner rules in the nginx snippet.
  • shares.json is read with utf-8-sig.
  • The published installers bake the domain and are served with LF.

New tests pin the relay charset (including the "node sends no charset" case and
that an explicit charset survives), the BOM-tolerant registry, the hello payload
and its adoption by the node.

Upgrading

Nodes update through mesh_update / npx as usual. A node that keeps its own
domain.env keeps working either way; once it runs 0.5.2 it also follows a
domain change made on the gateway alone.

Remote Harness MCP v0.5.1

Choose a tag to compare

@github-actions github-actions released this 16 Nov 00:26

Remote Harness MCP 0.5.1 — a fresh install can start again

A patch release for 0.5.0, which could not be installed from scratch on either
platform.

What was broken

0.5.0 moved every OS-specific behaviour into a package, core/platforms/<os>/….
Both installers bootstrap a new node by fetching a list of files, and both lists
were flat (core/*.py): the package was never downloaded. A node installed that
way — curl … | bash on Linux, irm … | iex on Windows — died on the first
import:

ImportError: cannot import name 'platforms' from 'core'

A node that already had the code (mesh_update, npx, a git checkout) was not
affected, because the update payload ships the whole tree. Only a fresh
install was broken, which is exactly the case the curl and npx packages exist for.

The fix

  • install.sh and install.ps1 fetch core/platforms/… with its directories,
    and create each file's parent directory before writing (a nested path used to
    fail silently).
  • install.ps1 was also missing agent_harness.py, code_cache.py,
    device.py, hooks.py, policies.py, rekey.py, redact.py, schemas.py,
    subagents.py, termux.py and triggers.py; its list now matches
    install.sh.
  • tests/test_installer_bootstrap.py walks core/ recursively, checks that
    both installers agree with the tree, and then does what the installer does:
    copies exactly the listed files into a temporary directory and imports
    core.mcp_tools from it. That import is what failed here, so it is now a test.

Upgrading

Nodes on 0.5.0 update through mesh_update as usual — the payload is complete
there. Nothing else changed in this release.

npx remote-harness-mcp@0.5.1 and gemini-computer-use@0.5.1 publish the same
code; the curl installers on the shared domain were redeployed with it.

Remote Harness MCP v0.5.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 00:17

Remote Harness MCP 0.5.0 — the node can be steered, and it remembers

24 tools became 28: the node gained three ways to be driven from the chat
(node_control, goal, schedule) and one to look at its own screen
(screen_capture). Everything that used to require walking to the machine —
read-only, the working directory, the isolated container, pause — is now an MCP
call; and a long task no longer has to fit into a 30-second tool call.

New tools

Tool What it does
node_control The node's own switches: status, mode (read_only/approval/full), cd (the working directory every other tool resolves against), pause/resume, sandbox (the isolated Docker/Podman container) and remote_control. Changes apply to the next call; nothing restarts.
goal The objective this chat is working on, stored on the node: set, get, complete, blocked, clear. It survives a reconnect, an agent restart and a new session — the next initialize carries it back into the session instructions.
schedule Timers, the honest answer to "a tool call must return in ~30 s". after_sec, every_sec (≥10) or at="HH:MM" daily, with an optional command that starts as a background job when it fires. The firing becomes a continuation: it is injected into the session instructions and mesh_status until it is acknowledged with schedule(action="ack").
screen_capture The desktop of the node it runs on: GDI on Windows, CoreGraphics on macOS. A headless server answers available: false with the reason instead of a black image. Linux has no portable screen API — an X11 session needs a client library the node does not ship, Wayland refuses cross-client pixels, and a server has no display — so Linux reports that honestly rather than pretending.

Approvals: a confirmation continues the call

In approval mode a mutating call used to end with approval_required, which
made the model stop after every step and ask the user to continue. Now the node
queues the call, waits for the operator and runs it in the same call:

  • a in rhm approves once and the waiting call continues;
  • A (or rhm approvals allow) allows everything until revoked — one press for
    a whole task; R (rhm approvals off) restores the prompt;
  • changing the access mode revokes a standing "always", so switching to approval
    means approval again;
  • the cabinet (/account) no longer asks the node to approve the owner's own
    click — a logged-in person is not a model.

The cabinet

/account now does something: a device is linked once by name plus its link key
(lk_…) or device token, and the page then shows and changes the same switches
as rhm — the remote-control lock first (right after login, with the warning
that it can only be turned back on at the machine), then mode, working directory,
isolation and pause. Cabinet buttons, the console menu and rhm subcommands all
go through one implementation, core/settings.py, so they cannot disagree.

rhm without the menu

rhm status
rhm mode read_only|approval|full
rhm cd /path/to/project
rhm isolation on|off
rhm remote-control on|off
rhm pause | rhm resume
rhm approvals allow [minutes] | once | off
rhm goal "text" | rhm goal | rhm goal done "note"
rhm schedule | rhm schedule cancel <id> | rhm schedule ack [id]
rhm --json status

One platform contract instead of scattered if os.name branches

Every OS-dependent behaviour lives in core/platforms/ behind a single
PlatformBackend contract, and core/mcp_tools.py, core/vitals.py and
core/device.py delegate to it:

  • Windows — telemetry, process tree and screenshots through Win32/ctypes
    (GlobalMemoryStatusEx, GetSystemTimes, GetDiskFreeSpaceExW, Toolhelp32,
    GDI). No PowerShell, WMI, taskkill or Git is required, and a clean install
    answers.
  • Linux — /proc and /sys replace df/free/ps/uptime; process
    control is a syscall.
  • Android — /proc + /sys first, Termux:API only where Android forbids the
    rest (camera, SMS, location, clipboard).
  • macOS — sysctlbyname and statfs for telemetry (the numbers Activity
    Monitor shows), libproc for liveness and resident memory, CoreGraphics for a
    screenshot, pbcopy/pbpaste for the clipboard. The backend was announced in
    an earlier commit but not actually built; it exists now, and a test builds it
    on every host.

Fixes

  • Background jobs stream. A Python child whose stdout is a pipe
    block-buffers, so a long download reported nothing for minutes and looked
    stuck; every child now gets PYTHONUNBUFFERED=1 unless the operator set it.
  • One configuration directory. The agent wrote its heartbeat to the new
    directory while rhm and the watchdog read the pre-rename one, so a connected
    node looked dead and the watchdog could start a duplicate. The agent now
    resolves the directory through control.control_dir().
  • The watchdog, the doctor and the updater find the node again. They chose
    the configuration directory by "does the new path exist", and a cabinet
    database was enough to create it; agent.env decides now.
  • The gateway reports its public host. core/domain.py was importable but
    its own import failed on the deployed layout, so host was empty.
  • The bootstrap lists carry every module. core/goal.py,
    core/schedule.py, core/settings.py and core/web_settings.py are fetched
    by install.sh/install.ps1, so a fresh node is not missing a module a tool
    imports.

Upgrading

Nodes update themselves: the release publishes mesh-payload-0.5.0.zip with its
SHA-256, and mesh_update installs it, verifies the hash and restarts. The token
and the MCP URL already in Gemini are unchanged — see 0.4.8 if that question is
new. npx remote-harness-mcp@0.5.0 and the gemini-computer-use alias publish
the same code.