Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

Merge origin/main into fix/relay-attach-remote-node

reviewc4ed495e3a69
diff --cc CONTRIBUTING.md
index c4a7a09cf,39af3f67c..1501a4fce
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@@ -491,12 -495,12 +495,19 @@@ anything else. Board-level fields survi
the relay, so a key that works locks it onto a path that cannot work. CLAUDE.md, "Remote access",
has the details.
+- **A relay attach never decides where a session runs from what the phone sends.** The phone's
+ `pty.attach` goes through `PtyManager.prepareRelayAttach`, which routes an SSH project's node over
+ its project's master or refuses it, and gives a local node the env the desktop would. Never spawn
+ a session for a phone-named node id directly (`attachDetached` / `createDetached`): that is how an
+ SSH node became a local shell in this machine's `$HOME`. CLAUDE.md, "A remote node is NEVER
+ spawned locally".
++
+ - **Phone keys and store links are platform-neutral.** New paired keys are stamped
+ `nodeterm-mobile-<id>`, but revoke must keep matching the legacy `nodeterm-ios-<id>` stamp every
+ existing iPhone carries (`src/main/pairing-core.ts`). Link to a store only through
+ `mobileStoreLinks()` in `src/renderer/lib/links.ts` — the Play link stays hidden behind
+ `ANDROID_APP_PUBLISHED` until the listing exists, and a guard test refuses direct store URLs anywhere else in the renderer.
+
- **Relay pins are per role, and a revoke is one call.** Pin a peer only through its role's store
in `src/main/remote/approved-devices.ts` (`phonePins` is the only one anything auto-admits from —
never write a desktop peer there), and revoke only through `src/main/remote/peer-revoke.ts`, which