dexrelay
v0.1.52
Published
Mac-side CLI/bootstrap runtime for the DexRelay iPhone app.
Maintainers
Readme
Bootstrap Payload
This folder is the publishable DexRelay Mac payload.
It is the source of truth for:
- the public install script
- the public
dexrelayCLI wrapper - the public npm package
- the helper
- the bootstrap bridge runtime
- the optional relay runtime pieces
- the public setup guide and skill doc
What this payload now represents
The current DexRelay product model is:
- install DexRelay on the Mac
- run
dexrelay pair - scan the QR on the phone
- use local Wi-Fi first
- use Tailscale fallback when the device leaves Wi-Fi
So this payload is no longer just “install a bridge on :4615”.
It now owns:
- QR pairing
- helper health and setup state
- direct LAN-first bootstrap
- Tailscale fallback host bootstrap
- relay runtime scaffolding
- Mac-side self-heal behavior
Public Cloudflare layout
https://assets.dexrelay.app/install.sh
https://assets.dexrelay.app/bridge.js
https://assets.dexrelay.app/relay-server.js
https://assets.dexrelay.app/relay-connector.js
https://assets.dexrelay.app/package.json
https://assets.dexrelay.app/dexrelay
https://assets.dexrelay.app/helper.py
https://assets.dexrelay.app/create-mac-project.sh
https://assets.dexrelay.app/git-project-automation.sh
https://assets.dexrelay.app/governancectl.py
https://assets.dexrelay.app/services.registry.json
https://assets.dexrelay.app/servicectl.py
https://assets.dexrelay.app/rebuild-workspace-services.py
https://assets.dexrelay.app/migrate-dexrelay-state.py
https://assets.dexrelay.app/setup-guide.html
https://assets.dexrelay.app/dexrelay-skill.mdImportant runtime defaults
- runtime root:
~/Library/Application Support/DexRelay/runtime - admin workspace:
~/src/DexRelay Admin - direct bridge port:
4615 - helper port:
4616 - relay server port:
4620
Canonical user commands
dexrelay installdexrelay statusdexrelay repairdexrelay pairdexrelay uninstalldexrelay wake on|off|status
Advanced:
dexrelay relay-pair
User-facing happy path
Normal user flow should be:
- run
npm i -g dexrelay - wait for DexRelay to bootstrap the Mac runtime automatically
- on the Mac, run
dexrelay pair - on the phone, scan the QR
- start coding
Secondary install path:
Tailscale is not supposed to be the first-run blocker for same-network onboarding anymore.
Instead:
- same Wi-Fi should work immediately
- Tailscale should keep DexRelay working away from Wi-Fi
Reliability expectations
After install, the payload is expected to leave behind:
- launchd-managed DexRelay services
- helper
- watchdog
- keep-awake
- relay runtime support where configured
That means:
dexrelay statusis the canonical health viewdexrelay repairis the canonical in-place fixdexrelay installis safe to rerun as an update or reinstall pathdexrelay installshould also migrate older project state from.codex/into.dexrelay/
Release rule
If any thread changes:
install.shdexrelayhelper.pybridge.jsrelay-server.jsrelay-connector.jsrebuild-workspace-services.pymigrate-dexrelay-state.py- public setup or skill docs
then the payload, docs, and installable skills must be released together.
The repo-owned Homebrew tap mirror is optional legacy infrastructure. It can be updated separately if needed, but it should not gate the standard DexRelay release.
See:
