RepoPrompt Remote is the iPhone and iPad companion for this RepoPrompt CE desktop fork. It lets you follow and control Agent Mode sessions from another room or on the other side of the earth while your Mac continues to run the agents, own the workspaces, and enforce every permission.
Important
RepoPrompt Remote is developed and tested with bobtheitguy31337/repoprompt-ce. That fork contains the matching macOS Remote Gateway. Other RepoPrompt CE builds or forks are not guaranteed to expose a compatible gateway.
- Browse the workspaces and chats available on your Mac.
- Follow live transcripts, run state, tool activity, and parent/child agent sessions.
- Send follow-ups and respond to questions or approval requests.
- Start sessions from the desktop's agents and workflows, including model and tool choices.
- Cancel or resume work when the authority granted by the Mac allows it.
- Attach files and photos from iOS to new chats and follow-ups on a matching Mac build.
- Reconnect and resynchronize after Wi-Fi or desktop interruptions.
- Optionally receive encrypted attention notifications through a self-hosted relay.
RepoPrompt Remote is a control surface—not a second agent runtime and not a network-exposed MCP server. It never opens repositories or runs providers on iOS. The paired Mac remains the source of truth and checks authorization again for every command.
| Component | Repository | Responsibility |
|---|---|---|
| RepoPrompt CE for macOS | bobtheitguy31337/repoprompt-ce |
Runs agents, owns workspaces and credentials, and hosts the opt-in Iroh Remote Gateway. |
| RepoPrompt Remote for iOS | This repository | Displays desktop state and sends authorized controls to the paired Mac. |
| Shared Swift protocol | Packages/RepoPromptRemoteProtocol |
Defines the Foundation-only snapshots, events, commands, and compatibility rules used by both apps. |
The tested desktop revision is pinned in desktop-compatibility.json, along with the upstream CE commit it incorporates. The desktop vendors the same Swift protocol sources so it can build independently. This repository's CI compares both copies and their compatibility fixtures at that revision. Keep the repositories next to one another for local integration checks:
<parent>/
├── repoprompt-ce/
└── repoprompt-remote/
- A Mac capable of building and running the compatible RepoPrompt CE fork.
- Xcode 26.3 or later and XcodeGen.
- iOS or iPadOS 17 or later, or an iOS Simulator.
- A network connection on both devices. A shared local network lets Iroh connect directly.
- For a physical device, an Apple Developer team and a development signing profile.
This repository currently provides a source build rather than an App Store download.
From the RepoPrompt Remote repository root, clone the compatible desktop revision beside it:
desktop_repo="$(python3 -c 'import json; print(json.load(open("desktop-compatibility.json"))["desktop_repository"])')"
desktop_revision="$(python3 -c 'import json; print(json.load(open("desktop-compatibility.json"))["desktop_revision"])')"
git clone "https://github.com/${desktop_repo}.git" ../repoprompt-ce
git -C ../repoprompt-ce checkout "$desktop_revision"Follow the desktop fork's build and launch instructions at the pinned revision.
brew install xcodegen
xcodegen generate
open RepoPromptRemote.xcodeprojIn Xcode, select the RepoPromptRemote scheme and run it on an iOS Simulator or a connected device. For a physical device, choose your own development team in Signing & Capabilities. If necessary, use a bundle identifier registered to that team in your local build settings; do not commit personal signing or device values.
The command-line helpers use the app target’s signing settings. Set DEVELOPMENT_TEAM for a per-build override. List connected devices with xcrun devicectl list devices, then set DEVICECTL_DEVICE_ID when calling ./install-phone.sh. The build helper accepts an optional XCODE_DEVICE_ID for device-specific builds.
SwiftPM downloads the same checksum-pinned Iroh XCFramework used by the desktop fork. Local Rust builds can opt into their generated framework by setting REPOPROMPT_IROH_USE_LOCAL_ARTIFACT=1 when invoking SwiftPM or Xcode. See the transport build instructions.
A signing-free Simulator build is also available from the command line:
xcodebuild -project RepoPromptRemote.xcodeproj \
-scheme RepoPromptRemote \
-sdk iphonesimulator \
-destination 'generic/platform=iOS Simulator' \
CODE_SIGNING_ALLOWED=NO build- In RepoPrompt CE on the Mac, open Settings → Remote.
- Enable pairing and generate a pairing code.
- On the iPhone or iPad, tap Pair with Mac and scan the QR code.
- Confirm the paired Mac appears in RepoPrompt Remote.
For Simulator development, use Copy pairing link on the Mac and paste the rpremote:// value into the Debug pairing field in the iOS app.
Only one phone is paired at a time. Pairing a replacement device invalidates the previous credential; you can also revoke a lost device from the Mac.
The iOS app sends pairing failures to the repoprompt-remote Sentry project when built with REPOPROMPT_SENTRY_DSN. Pass the client DSN as an Xcode build setting, or export it when using ./build-phone.sh. The release workflow reads the same name from a GitHub Actions repository variable. Debug builds also accept a launch environment override. Set REPOPROMPT_TELEMETRY_DISABLED=1 in the launch environment to turn off collection.
The macOS gateway sends its pairing diagnostics through the existing RepoPrompt CE Sentry configuration and telemetry preference. In Sentry, search Issues and Explore Logs across both projects for pairing_attempt:<uuid> to follow an attempt through preparation and confirmation. Failures before a pairing request reaches the Mac only have an iOS event. The diagnostic payload uses fixed stage and reason codes, the Iroh path category when available, and a UUID for each pairing attempt. It excludes pairing links, credentials, device names, endpoint addresses, and workspace content.
Remote access is opt-in. Iroh connects the paired devices directly or uses an Iroh relay when a direct path is unavailable.
- Pairing uses a short-lived, one-time secret.
- Iroh authenticates both endpoint identities before sending credentials or routing a request.
- Long-lived device credentials are stored in Keychain on both devices.
- The Mac applies
observe,respond,control, ordangerauthority to each request. - Secret answers are sent once and are excluded from remote snapshots and history.
- Reconnects use replayable events or a fresh authoritative snapshot when needed.
Use RepoPrompt Remote only on a network you trust. If a phone is lost or compromised, revoke it from RepoPrompt CE immediately. See the remote threat model for trust boundaries, mitigations, and residual risks.
The app works without push notifications. If you want attention alerts while it is in the background, this repository includes a provider-neutral Node 20 relay for APNs or FCM.
The relay receives routing metadata and an encrypted envelope—not plaintext prompts, paths, transcript content, commands, or secrets. It is still your responsibility to deploy it behind HTTPS and private access control and to supply provider credentials outside the repository. See the relay documentation for configuration and deployment notes.
Regenerate RepoPromptRemote.xcodeproj after changing project.yml:
xcodegen generateRun the shared protocol and relay test suites with:
swift test --package-path Packages/RepoPromptRemoteProtocol
npm --prefix relay testWhen updating the desktop fork from RepoPrompt/repoprompt-ce, merge upstream into the Remote integration in an isolated checkout, resolve the Remote adapters against the current Agent Mode APIs, and run the desktop Remote tests and product build. Then check the standalone contract copies and run the iOS test target:
python3 Scripts/check-desktop-compatibility.py ../repoprompt-ce
xcodebuild -project RepoPromptRemote.xcodeproj -scheme RepoPromptRemote \
-destination 'platform=iOS Simulator,name=iPhone 16 Pro' \
CODE_SIGNING_ALLOWED=NO testPass a different desktop checkout path when using a worktree. The parity check fails on changed, added, or removed Swift contract files and JSON fixtures; it does not replace desktop compilation or paired-device acceptance. Update desktop-compatibility.json to the tested desktop commit when delivering a coordinated update.
The CI workflow also generates the Xcode project and runs the app's unit tests on an available iOS Simulator.
See the desktop fork's remote-control architecture and this repository's security notes.
Packages/RepoPromptRemoteProtocol/ Shared Foundation-only Swift contract
Sources/RepoPromptRemote/ SwiftUI iOS/iPadOS application
Tests/RepoPromptRemoteTests/ Mobile presentation and client tests
relay/ Optional encrypted notification relay
docs/security/ Threat model and operational guidance
.github/workflows/ CI and manual archive workflows
Changes that affect the wire contract must remain compatible with both this app and the matching desktop fork. Keep both repositories checked out as siblings, regenerate the Xcode project when needed, and run the protocol and relay tests before opening a pull request.
RepoPrompt Remote is licensed under the Apache License, Version 2.0. Third-party components retain their respective licenses. See the Iroh transport notices.