Cluster membership panel has no pairing action for a discovered Mac
Description
In an existing cluster, a newly discovered, unpaired Mac is listed in Cluster > Add Mac, but its row only displays a status label. There is no action to select that Mac and start the guided pairing flow within the membership panel.
The expansion planner correctly accepts only paired devices. Consequently, discovery alone produces no expansion candidate, and the UI leaves the operator without an actionable pairing step for that discovered Mac.
Steps to reproduce
- Configure a cluster with at least two Macs.
- Start oMLX on another, unpaired Mac so discovery finds it.
- Open Cluster > Add Mac on the coordinator.
- Find the discovered Mac's row.
Actual behavior
The row has no pairing action. The approval form is only rendered for a peer that has already sent a join request. A discovered peer is excluded from membershipCandidates() until pairing succeeds.
Expected behavior
Provide Add this Mac on the discovered row. Keep a guided pairing form associated with that Mac while its state changes from discovered to awaiting approval. Enable approval only when that specific Mac's request arrives, using the existing six-digit code handshake.
After pairing, use the existing probe, placement preview and explicit apply flow. Pairing must not automatically replan or reload the currently serving model.
Environment and reproduction evidence
- oMLX 0.7.0, main revision
87460f4d50de79aef9b67e99e215c31f0a89b445. - Reported during an Apple Silicon cluster workflow.
- Reproduced with the shipped template and JavaScript: the discovered row has no button; expansion candidates are empty before pairing and include the new Mac afterward.
- This is separate from offline removal tracked in #4142 / #4143.
Source: jundot/omlx