Repository navigation
ghosthand@0.9.0
-
Tap and type on an iPhone from the control plane. Hover the screen and click Take Control. A click on the screen is a tap there, a drag is a swipe with the same start, end and duration; the Mac keyboard types into the iPhone: text, arrows, backspace and shortcuts like ⌘A. ⌘V types the Mac clipboard as text. Esc or Release Control under the screen stops. It needs no lease, so it works also while an agent holds the iPhone (new app-only routes
POST /v1/phones/{phone}/tap,/swipe,/keyand/type, unix socket only). In Bluetooth mode a tap or swipe turns AssistiveTouch on; Release Control turns it off again if no lease holds the iPhone (new routePOST /v1/phones/{phone}/release); if the app quits without it, it goes off 60 s after the last input. -
Live screen in the control plane at 30 fps (was one frame every 2 s), only while the window is on screen. A preview takes about 5 ms (was 150 ms): it returns the newest capture frame, scales it on the GPU, and reads the lock state from the last phone list. The sidebar keeps a fixed order, by UDID.
-
Every USB iPhone comes back after a daemon restart. With several iPhones, macOS screen capture sometimes showed only some of them after a quick restart, until a replug. The daemon now restarts the screen capture helper (up to 3 times) until every trusted, unlocked USB iPhone is listed.
-
Use the iPhones of every Mac from any signed-in Mac. Breaking:
--url,--tokenandr1leases are gone. Sign each Mac in once (ghosthand setup).listthen shows the iPhones of all online Macs of the account, andacquire -d <id>takes one on its own Mac:ghosthand list # mac studio: ... / mac laptop: ... ghosthand acquire -d 7EF219AD-... --reason "reply to Anna" # studio:42 ghosthand tap -l studio:42 --text General --screenshot s.png
The local daemon sends each command for
studio:42to that Mac through ghosthand.dev, with its own session. No token to copy. A Mac with no iPhone takes the account's only one without-d. Leases taken through the tunnel URL now also carry the Mac (studio:42, like MCP); the plain42still works on its own Mac's URL.tunnel url --new-tokenstays for curl and scripts; the CLI no longer readsGHOSTHAND_URLandGHOSTHAND_TOKEN. Update every Mac: older daemons are skipped with a warning. The warning shows also when this Mac has no iPhone, solisttells which Mac to update instead of only "No iPhone found on USB". -
Longer tap press: 220...260 ms (was 150...190 ms) in Bluetooth mode, for
tap,double-tap,triple-tapand Take Control clicks. Short presses often did not register. -
Breaking: remote MCP tools never read or write Mac paths. File, photo, upload, app install and recording tools over MCP take and return file bytes, not paths on the daemon's Mac. The local CLI keeps its path arguments. Files uploaded to ghosthand.dev are served as downloads.