← Commit history

Initial commit: app/adom-desktop-rustdesk-bridge

John Lauer ·be0a58f3c9 ·4mo ago
2 files changed +111
README.mdadded+31
@@ -0,0 +1,31 @@+# Adom Desktop — RustDesk Bridge++Drive **RustDesk** remote-desktop sessions from cloud Claude (or any Adom Desktop caller) on the user's real machine. It wraps the `rustdesk.exe` CLI + Windows process/window queries behind first-class `rustdesk_*` verbs.++It's the **client-side sibling of the RDP bridge** — reach for RustDesk where RDP can't: **Windows Home** (which can't host RDP at all), or any host without an RDP server. On the same network (e.g. over a VPN) RustDesk auto-negotiates a direct peer-to-peer link.++## Verbs (Phase 1 — client side)++| Verb | Args | What it does |+|---|---|---|+| `rustdesk_connect` | `{to, password?}` | Launch `rustdesk --connect <to> [--password <pw>]`. `to` = RustDesk ID or IP. |+| `rustdesk_client_status` | — | Installed client path + active outbound sessions (parsed from the live windows). |+| `rustdesk_disconnect` | `{to?}` | Close the session window for `to` (or all sessions). |+| `rustdesk_ensure_client` | — | Ensure the client binary is present; download the portable build if missing. |++## Install / activate++```bash+# 1. register the bridge into Adom Desktop+adom-desktop bridge_install '{"manifestUrl":"https://wiki.adom.inc/api/v1/pages/adom-desktop-rustdesk-bridge/files/rustdesk-bridge-manifest.json"}'+# 2. make sure the RustDesk client is on the machine (downloads the portable build if not)+adom-desktop rustdesk_ensure_client+# 3. connect+adom-desktop rustdesk_connect '{"to":"48174343","password":"<one-time-or-permanent>"}'+```++## Roadmap — Phase 2 (host/server side)++`rustdesk_get_id`, `rustdesk_set_password`, `rustdesk_host_status`, `rustdesk_enable_direct_ip`, `rustdesk_set_relay`, `rustdesk_install_service` — the controlled-machine side (permanent password, unattended access, self-hosted relay).++> **Provenance — verbs + manifest.** Authored by hand for this bridge; the `bridge.json` + `server.py` shipped in this page's Files are the source of truth. Mirrors the conventions of the bundled `rdp` and `blender` Adom Desktop bridges.
page.jsonadded+80
@@ -0,0 +1,80 @@+{+  "slug": "adom-desktop-rustdesk-bridge",+  "title": "Adom Desktop - RustDesk Bridge",+  "type": "app",+  "version": "0.1.1",+  "description": "Drive RustDesk remote-desktop sessions from cloud Claude via Adom Desktop — connect out to any host by ID or IP (with a password), and list/close sessions. Works where RDP can't (Windows Home). The client-side sibling of the RDP bridge.",+  "tags": [+    "bridge",+    "rustdesk",+    "remote-desktop",+    "remote-access",+    "screen-share",+    "adom-desktop"+  ],+  "dependencies": {},+  "scripts": {+    "install": "./install.sh",+    "uninstall": "./uninstall.sh"+  },+  "discovery_triggers": [+    "rustdesk",+    "connect via rustdesk",+    "remote desktop",+    "remote into my machine",+    "control a remote host",+    "screen share my other machine",+    "view my other pc",+    "remote desktop to a windows home pc",+    "rdp alternative",+    "vnc alternative",+    "watch the install on my test laptop"+  ],+  "discovery_pitch": "Drive a RustDesk session from cloud Claude — connect out to any host by ID or IP with a password and manage the session. Works where RDP can't (Windows Home).",+  "sample_prompts": [+    {+      "label": "Connect",+      "prompt": "Connect to host 48174343 via rustdesk"+    },+    {+      "label": "Watch install",+      "prompt": "Open a rustdesk session to my test laptop and watch the HD install"+    },+    {+      "label": "List sessions",+      "prompt": "What rustdesk sessions are open?"+    },+    {+      "label": "Disconnect",+      "prompt": "Disconnect the rustdesk session to 48174343"+    }+  ],+  "metadata": {+    "activate": {+      "kind": "adom-desktop-bridge",+      "skill": "adom/adom-desktop-rustdesk-bridge",+      "bridgeManifestUrl": "https://wiki.adom.inc/api/v1/pages/adom-desktop-rustdesk-bridge/files/rustdesk-bridge-manifest.json",+      "postInstall": [+        "rustdesk_ensure_client"+      ],+      "requires": [+        "adom-desktop"+      ],+      "verbPrefixes": [+        "rustdesk_"+      ]+    }+  },+  "hero": {+    "type": "billboard",+    "headline": "RustDesk Bridge",+    "subhead": "Drive a remote desktop from cloud Claude — even on Windows Home.",+    "screenshot": "docs/hero.png"+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "John Lauer",+    "email": "[email protected]"+  }+}\ No newline at end of file