Skip to content

feat(net): enable pairing by computer name or IP - #2540

Merged
TheAnimatrix merged 1 commit into
masterfrom
enable-pair-with-ip
Dec 1, 2026
Merged

TheAnimatrix merged 1 commit into
masterfrom
enable-pair-with-ip

Conversation

@TheAnimatrix

@TheAnimatrix TheAnimatrix commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Pair with IP is hidden in the desktop app because the bundled helper still speaks wire minor 3.

Change

The app bundles mousse-net 50936f5 (mousse-agent/mousse-net#65), which enables Pair with IP in both pairing dialogs. On the same LAN or Tailscale network, the host can read out a computer name or IP, port, and 12-character code. The other person types them in and the host taps Allow.

The app and helper still share the same 45 address examples. A minor 3 peer can still connect. A minor 2 peer shows Needs update.

Verification

  • Tier 5. The new helper lists Pair with IP only at minor 4. Its minor 3 check proves that neither capability appears and that direct pairing operations are refused.
  • 47 Windows checks passed on the exact merged helper tree, covering direct pairing by name and IP, existing ticket approvals, the relay fallback, and old-version behavior. Ran cargo fmt --all --check and cargo test --locked -p mousse-helper --test app_pair_ip --test app_relay_first --test app_both_ways --test app_version_refusals.
  • 378 tests passed in 11 app files. Both TypeScript checks passed. Ran node scripts/verify.mjs tests/netEngine/pairWithIp.test.ts tests/netEngine/directAddress.test.ts tests/netEngine/activeInvites.test.ts tests/netEngine/confirmedLink.test.ts tests/netEngine/versionRefusals.test.ts tests/netEngine/buildNetHelperSource.test.ts tests/netEngine/packagedNetHelper.test.ts tests/renderer/pairWithIpDialogs.test.ts tests/renderer/pairingLink.test.ts tests/renderer/engineDevicesSection.test.ts tests/renderer/computerUpdateWay.test.ts --typecheck all.
  • Two isolated app profiles on Windows used the real helper to pair by typed name and by IP. In both runs, the device appeared as connected after the host chose Allow.
  • The Windows release helper built with
    ode scripts/build-net-helper.mjs --require and reported 50936f5+release as its source, with no test control.
  • Two physical computers (Windows x64 and macOS arm64) paired through isolated app profiles using the release helper from the pinned commit. LAN IP, Tailscale IP and a Tailscale DNS name all connected after Allow. Both devices reported the pairing.

Independent review found no blockers. No review fixes were needed.

Refs #2079

@TheAnimatrix
TheAnimatrix merged commit 4a185af into master Dec 1, 2026
13 checks passed
@TheAnimatrix
TheAnimatrix deleted the enable-pair-with-ip branch December 1, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant