Adom Bridge
Public Made by Adomby adom
Adom Bridge unleashes your AI onto your full PC: full power, full safety. The AI breaks out of the container it runs in and onto your real machine, managing and running your entire laptop as you: launch apps, move files, drive any window, control KiCad, Fusion 360 or your real signed-in browser. Works with any AI, cloud or local (Claude Desktop, Claude Code, Codex), no Hydrogen required. Bridge and its bridges are an operating system for AI, with managed Node and Python runtimes, and a human-onl
Relay `serve` has no supervision in containers → recurring 500 reconnect loops; add a keepalive convention/skill
Problem (hit live, 2026-07-23)
A container that runs adom-desktop serve to stay connected into AD has no supervision for the relay process. When serve dies (e.g. the Claude Code session that launched it is torn down), the container's /proxy/8765/ endpoint has no upstream and returns HTTP 500 on every WebSocket upgrade. Every connected desktop AD then falls into an endless Connection error: HTTP 500 → Reconnecting in 30s loop.
Observed on the AdomPNP dev container: the relay had died overnight; the Essemtec machine's AD (essemtec-PC4203) and a laptop both 500-looped for hours until the relay was manually restarted. A sibling container (gallia) with a live relay was unaffected, which is the tell that this is per-container relay death, not a gateway problem.
Why it recurs
Service containers (factory-backups, factoryos) self-heal because they ship a watchdog cron. But a default dev container has neither crontab nor a usable systemd (systemctl is-system-running → offline, PID 1 is sh), so there is no native supervisor. An agent that runs adom-desktop serve to bridge the container into AD has no obvious, portable way to keep it alive, and typically doesn't realize it needs to.
Ask
- Ship supervision in AD itself — e.g.
adom-desktop serve --supervise(or aservethat self-restarts / writes a small keepalive), so a single documented command survives the launching session. This is the robust fix and removes the footgun entirely. - Failing that, a skill/guidance convention: when an agent runs
adom-desktop servein a container, it should also install a keepalive that works even without cron/systemd (asetsid-detached supervisor loop reparented to init is the portable fallback). Surfacing this in the adom-desktop / adom-desktop-discovery skill ("if you connect a container into AD, keep the relay alive like this") would make agents do it by default.
Workaround in place
Detached supervisor loop (~/adom-relay-keepalive.sh, setsid, 60s check on 127.0.0.1:8766/health, relaunch if down). Proven: killing the relay revives it in ~10s. Caveat: without cron there is no @reboot, so it does not survive a full container restart — which is exactly why native supervision (option 1) is preferable.