Ship AIVPN smart protocol picker and bump to v3.0.0.

Heuristic selection (stealth/balanced/speed) for invites, guest create, and user connections.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
orohimaru2
2026-08-09 18:11:24 +03:00
co-authored by Cursor
parent 01196c066a
commit abbd160dd8
12 changed files with 587 additions and 52 deletions
+12
View File
@@ -685,6 +685,11 @@
});
if (count > 0) {
const aivpnOpt = document.createElement('option');
aivpnOpt.value = 'aivpn';
aivpnOpt.textContent = _('aivpn_protocol_option') || 'AIVPN (auto)';
select.insertBefore(aivpnOpt, select.firstChild);
count++;
if (group) group.style.display = '';
} else {
const opt = document.createElement('option');
@@ -766,6 +771,13 @@
});
document.getElementById('ucProtocol').addEventListener('change', (e) => {
if (e.target.value === 'aivpn') {
const mode = document.getElementById('ucMode');
if (mode && mode.value === 'existing') {
mode.value = 'new';
toggleUCMode();
}
}
if (document.getElementById('ucMode').value === 'existing') {
fetchExistingClients();
}