feat(ui): selectable NAT detection mode + netcheck Tauri command
detect_nat_type now accepts optional `mode` parameter:
- "relay" — relay-based Reflect only (original behavior)
- "stun" — public STUN servers only (no relay needed)
- "both" — relay + STUN in parallel (default, highest confidence)
New run_netcheck Tauri command exposes the full network diagnostic
(NAT type, IPv4/v6, port mapping, relay latencies, port allocation)
to the JS frontend.
JS usage:
await invoke('detect_nat_type', { relays, mode: 'stun' })
await invoke('run_netcheck', { relays })
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>