Repository navigation
Releases
ghosthand@0.14.0
-
Auto-update. The daemon checks https://ghosthand.dev for a new release every hour, downloads it, checks its signature and notarization, and installs it once no lease is active. npm and
.pkginstalls update the same way.ghosthand daemon updateinstalls now;ghosthand daemon update --auto offturns automatic updates off;ghosthand daemon statusshows the state. Updates start with the next release after this one. -
Uploads up to 2 GB.
ghosthand upload, the MCP upload tool and remoterecord stopnow send files up to 2 GB (was 100 MB), in 64 MB parts that retry on network errors. -
Turn off the keep-awake key. Switch Control with a keyboard switch sees the daemon's keep-awake Control key as a switch press. Run
defaults write com.remorses.ghosthand KeepAwake -bool falseand set Auto-Lock to Never. It applies within 2 seconds, no restart needed. -
Free plan: 10 phone task prompts per month (UTC month). Pro stays unlimited.
-
XCTest mode keeps its runner across daemon restarts and updates, so iOS does not ask for the XCTest passcode again after each restart.
-
The on-screen keyboard comes back when you unplug the iPhone. The daemon keeps the Bluetooth link only while the iPhone is on USB; a replug reconnects without pairing again.
-
AssistiveTouch is turned off after a lease only when ghosthand turned it on. If you had it on before, it stays on.
-
Long commands no longer lose their lease. The idle time now starts when a command ends, so a long install or pairing wait does not expire the lease right after it succeeds.
-
screenshot --nativeno longer crashes the daemon or times out after 20 s. -
Control plane: iPhones with a Home button show an iPhone SE frame whose Home button sends Home; a standard menu bar makes Cmd+C work, and chat text is selectable.
-
Setup and remote MCP: a tip when the Mac is not listed in the iPhone's Bluetooth settings;
setup-statusreturns the user's next step, and empty states name the Mac. A Mac shows once after a reconnect, offline and unknown Mac errors are clearer, and MCP clients without client metadata documents can register. -
Phone tasks: the agent knows when you stopped a turn, Stop after a server restart no longer deletes the task, and
webfetchreads only ghosthand.dev. -
Security fixes: API tokens can no longer stop or restart the daemon, open pairing, change a phone's control mode or see its screen without a lease (these work only on the Mac). A folder pull never writes outside its destination, and the MCP consent page shows the client's host.
ghosthand@0.13.1
- Fixed a crash at launch on macOS 14 and 15 (Intel and Apple silicon):
Library not loaded: @rpath/libswiftCompatibilitySpan.dylib. The app now ships this Swift library inGhosthand.app/Contents/Frameworks; macOS 26 and later keep using their built-in copy. No Xcode or Swift toolchain is needed.
Fixes #1
ghosthand@0.13.0
-
New plans: free for one iPhone, Pro per Mac. Free accounts lease one iPhone, with no time or request limits; switch it with Remove on the dashboard. Pro is $99 per Mac per month: every iPhone on a paid Mac works, plus phone tasks and read access to the daemon source code. See https://ghosthand.dev/docs/pricing.
-
Acquire checks the device. The daemon sends hashes of the iPhone and Mac ids (never the raw ids) to ghosthand.dev. When the server cannot be reached, only an iPhone that was allowed before keeps working, until its check expires (
tunnel-offline). An iPhone the daemon cannot match to its USB id now fails withlockdown-unavailable. -
Mac installer. Download a notarized
.pkgfrom https://ghosthand.dev/download. It installs for the current user only (no admin password) and opens setup. The npm package and the installer ship the same signed app, so macOS permissions stay when you switch between them or upgrade. -
Remote MCP works before you set up a Mac. Claude, ChatGPT and other remote clients can connect https://ghosthand.dev/mcp at once. With no Mac online, tools explain how to download ghosthand or which Mac to wake.
-
Clearer first-time errors. With no iPhone ever connected, the error lists the plug-in, Trust and setup window steps.
-
ghosthand accountshows the plan (free, or Pro with the number of paid Macs). Trial wording is gone. -
Fewer telemetry requests. Error reports and usage counts go in one request.
ghosthand@0.12.0
-
Phone tasks see the screen. The
taskagent now runs on Claude Haiku and gets a screenshot of the settled screen after every action, so it can use icons and images that OCR cannot read. New task tools:tapText(tap a text on screen),unlock(with a passcode you give in the prompt; it never guesses one) andwebfetch(reads the ghosthand.dev docs when it is stuck). -
Control plane chat: a new prompt replaces the running turn. Press Enter while the agent works: the old turn stops at once and the new prompt runs on the same lease and task. The chat also works on a locked iPhone; the agent asks you for the passcode.
-
Screenshots after an action return as soon as the screen reacted.
--screenshotand--screentextno longer wait a fixed time: the daemon compares the screen with the one before the input and returns once it changed and stood still (up to 1 s for slow reactions). -
key homeworks without setup. It now sends the keyboard Home key, with AssistiveTouch on or off. The manual AssistiveTouch button mapping is no longer needed. -
Faster, more consistent default swipes: 80...180 ms (was 60...400 ms).
-
Taps land on the right spot when the iPhone lies on its side. iOS turns mouse input to the last orientation the iPhone was held in, so taps and back swipes went to the wrong place. The daemon now measures this once per lease and turns its input to match.
-
Faster input. The daemon runs as an interactive process, so macOS no longer delays its timers: a tap took up to 1.2 s, now about 400 ms. Keys right after a tap wait 300 ms so they never act before the tap.
-
--backgroundforsetupanddashboard: open the window behind your windows without taking focus, for agents that check it with accessibility tools. -
Steadier control plane. Rows stay one line and the cards keep their rows with or without a lease, so values never move the layout. The screen keeps each iPhone's aspect ratio across launches.
-
The tunnel reconnects after sleep and network changes, and leasing an iPhone on another Mac goes to that Mac directly.
-
Error reports and usage counts. The daemon sends unexpected errors, crash reports and hourly command counts (never screen text, typed text or prompts). Turn it off with
touch ~/.ghosthand/telemetry-off. See https://ghosthand.dev/docs/privacy.
ghosthand@0.11.0
-
New
ghosthand taskcommand: do a task in plain words. A fast agent on ghosthand.dev reads the screen with OCR and taps, swipes, scrolls and types until the task is done, then answers. Progress goes to stderr, the answer to stdout, then the task id:ghosthand task -l 42 "open Settings > General > About and tell me the iOS version" ghosthand task -l 42 --resume tsk_8f2k3x9a1b2c "now go back to the Home Screen"
--resume <id>continues a task with its history; without a prompt it follows the running turn. The agent knows the iPhone's name, model, iOS version, language and region. It never pays, buys, deletes data or types passwords unless the prompt asks exactly that. Also as the MCP tooltaskand the routePOST /v1/leases/{lease}/task. Needs a signed-in Mac. -
Agent chat in the control plane. A chat column next to the selected iPhone (toggle it with the sidebar button) runs
taskon that iPhone. Each prompt takes a lease labeled "Control plane chat", shows each tool call as one line, and releases the lease when the agent answers or you click Stop. The next prompt continues the same task; the pencil button starts a new one. -
Lease ids always carry their Mac.
acquireprintsstudio:42also for an iPhone on this Mac, so the id works from every Mac of the account.listalways groups iPhones undermac <slug>:(this Mac:while signed out). The plain42still works on its own Mac. -
The Mac no longer sleeps while the daemon runs. An idle Mac went into dark wake and USB screen capture stopped. The daemon now keeps idle sleep off, like
caffeinate -i. Sleep with the lid closed still needs an external display. -
Other Macs' iPhones show right after a daemon restart. The first
listafter a restart no longer misses them; it waits for the ghosthand.dev connection.
ghosthand@0.10.0
-
SIM info in
ghosthand info, over USB, also while locked. It shows the physical SIM tray and one line per SIM iOS reads (physical or eSIM) with its carrier bundle and MCC/MNC:ghosthand info -l 42 # sim tray: SIM card in # sim line 2: Vodafone_Ho_it, physical SIM, MCC 222 MNC 10
sim lines: none readmeans iOS reads no SIM. ICCID and IMSI are never read out. Also in--jsonand theinfoMCP tool. -
The control plane shows the iPhones of your other Macs, view only, grouped under each Mac's name. Their screen shows "visible only on ". The lists update when they change, with no polling.
-
Update notice in the CLI. When npm has a newer ghosthand, the CLI prints once:
ghosthand 0.11.0 is out, this CLI is 0.10.0. Update with npx ghosthand@latest(ornpm install -g ghosthand@latestfor global installs). The daemon checks npm at most once per hour, in the background. -
Setup window stays on its iPhone. After one iPhone finished setup, the window sometimes switched to another ready iPhone, so Copy prompt named the wrong one. The ready screen now has a Set up button when another iPhone still needs setup, and the window comes to the front when an agent runs
ghosthand setup. -
Empty states in the control plane are centered ("No iPhone connected", daemon errors, loading).
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.
ghosthand@0.8.0
-
Scripts on any computer: the HTTP API through the tunnel. Breaking: the TCP listener is gone. While a Mac is signed in, its API is at
https://ghosthand.dev/macs/<mac>/v1/..., with an API token. No port, no TLS files, works behind NAT:ghosthand tunnel url --new-token --name ci # prints export lines for GHOSTHAND_URL and GHOSTHAND_TOKEN curl -H "Authorization: Bearer $GHOSTHAND_TOKEN" $GHOSTHAND_URL/v1/devices ghosthand tunnel revoke <id>
Removed:
daemon start --port/--host/--tls-cert/--tls-key/--tokenand--ca/GHOSTHAND_CA. Usetunnel url. Lease ids: bare number on the CLI and HTTP API (r1on another computer),studio:42over MCP only. -
swipeis a fast, human-like flick: random speed, easing and a small sideways bow, lifted while still moving so lists keep their momentum.--durationfixes the speed.hold-dragkeeps the slow, exact drag. -
Faster input: screen capture stays open 60 s after the last command (was 1 s), so a warm
swipetakes about 0.4 s (was 1.2 s). -
More reliable taps: the default press is now 150...190 ms (was 110...130 ms), for
tap,double-tapandtriple-tap. -
listwarns about iPhones missing from screen capture: an iPhone plugged in while locked or untrusted never shows up in capture after you trust it.listand the setup window now tell you to unplug and replug the cable, instead of "not found". -
Setup shows the XCTest choice for iPhones with Developer Mode on, without
setup --xctest. -
MCP screenshots are JPEG: 2-3x smaller over the ghosthand.dev tunnel. The CLI and HTTP API still return PNG.
ghosthand@0.7.0
-
Breaking: commands are grouped under subcommands. Update scripts. MCP tool names stay dash-joined (
file-push):before after record-start,record-stoprecord start,record stopsetup-statussetup statuslogin,logoutaccount login,account logoutapp(control plane window)dashboard -
Files, photos, apps and device info over USB, no Developer Mode. Also MCP tools and HTTP routes:
ghosthand file list -l 42 /Documents --app org.videolan.vlc-ios ghosthand file push -l 42 clip.mp4 /Documents/clip.mp4 --app org.videolan.vlc-ios ghosthand photo pull -l 42 # newest Camera Roll files ghosthand photo delete -l 42 IMG_0001.PNG ghosthand app list -l 42 # with Home Screen positions ghosthand app install -l 42 app.ipa ghosthand info -l 42 # battery, storage, iOS build, works while locked ghosthand logs -l 42 ghosthand restart -l 42
photo deleteneeds the optional Allow Photos step inghosthand setup. -
ghosthand uploadputs a photo or video into Photos: it prints a 1-day link. Open it in Safari on the iPhone, tap Save, then Save Video or Save Image. Then apps like TikTok and Instagram can upload it. At most 100 MB. Guide: https://ghosthand.dev/docs/send-mediaghosthand upload clip.mp4
-
New gestures:
hold(long press),hold-drag(long press, then drag, e.g. to move Home Screen icons),double-tapandtriple-tap:ghosthand hold -l 42 --text "Photos" --duration 1500 ghosthand hold-drag -l 42 60 200 300 200 --hold 2500 ghosthand double-tap -l 42 --text "example"
-
Opt-in XCTest control mode: input and screenshots go through WebDriverAgent, built with your Xcode and Apple team, instead of the Bluetooth mouse and keyboard. Use it for system alerts that ignore the Bluetooth pointer. Needs Developer Mode. Same commands; a command the mode cannot do fails with
unsupported-in-mode. Guide: https://ghosthand.dev/docs/xctest-modeghosthand control -l 42 xctest ghosthand control -l 42 bluetooth
-
screenshot --nativetakes a real iOS screenshot (cmd+shift+3) and reads it over USB. It shows dialogs that USB capture hides. -
key homeclicks AssistiveTouch mouse button 3. Map it to Home once: Settings > Accessibility > Touch > AssistiveTouch > Devices > this Mac > Customize Additional Buttons. The old keyboard Home key is nowkey menu.key cmd+spaceopens Spotlight, the fast way to open any app:ghosthand key -l 42 cmd+space ghosthand type -l 42 Files ghosthand key -l 42 enter -
Swipes scroll lists on iOS 17 and later. Before, a swipe with Perform Touch Gestures on acted as a long press at its start point.
-
Faster typing and smoother pointer moves. About 43 ms per character, down from 60. Taps still land on the exact target.
-
Photos permission survives updates: Ghosthand.app keeps its macOS permission grants after a rebuild or npm upgrade.
-
screenshot --nativeno longer returns black images when iOS is still writing the file.
ghosthand@0.6.0
-
Breaking: new Bluetooth report map. Every iPhone must forget the Mac and pair again. The old map dropped key and button values above 127, so the Globe key never reached the iPhone. Forget the Mac on the iPhone, then pair again (
ghosthand forget --help). -
fn(Globe) key and combos:fnis a modifier,key fnalone is a Globe tap. Keys in a combo go down in order, so Full Keyboard Access commands liketab+hwork:ghosthand key -l 42 fn+h # Home Screen ghosthand key -l 42 fn+up # App Switcher ghosthand key -l 42 fn+c # Control Center ghosthand key -l 42 fn+n # Notification Center ghosthand key -l 42 dnd # Do Not Disturb
key --helpnow lists the iOS shortcuts that work on iPhone, e.g.cmd+athenbackspaceclears a field,alt+backspacedeletes the previous word. -
Horizontal scroll:
scroll left|rightfor carousels and wide tables. Also in the HTTP API and MCP:ghosthand scroll -l 42 right 3 --at 207,400 --screentext
-
The daemon starts at login:
ghosthand setupadds it to Login Items as a LaunchAgent. launchd restarts it after a crash;daemon stopkeeps it stopped. Turn it off in System Settings > General > Login Items; setup does not add it again. Skipped whenGHOSTHAND_SERVERis set. -
appandsetupwindows open in front: they start as Ghosthand.app and take focus, also when a window is already open. Activity Monitor shows the daemon asghosthand-daemon. -
daemon statusprints the log path. When a command fails without a clear reason, read the log:tail -n 100 ~/.ghosthand/daemon.log -
Clearer remote MCP error when no Mac is connected: it says to run
npx ghosthand setupon the Mac with the iPhone and sign in with the same Google account.