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
+7
View File
@@ -1560,6 +1560,7 @@
hysteria: 'Hysteria 2',
naiveproxy: 'NaiveProxy',
mieru: 'Mieru',
aivpn: 'AIVPN (auto)',
xui: '3x-ui VLESS',
};
function protoTitle(key) {
@@ -1602,6 +1603,12 @@
opt.textContent = _('no_protocols');
protoSel.appendChild(opt);
} else {
const aivpnOpt = document.createElement('option');
aivpnOpt.value = 'aivpn';
aivpnOpt.textContent = _('aivpn_protocol_option') || 'AIVPN (auto)';
if (prefer === 'aivpn') aivpnOpt.selected = true;
protoSel.appendChild(aivpnOpt);
installed.forEach(key => {
const opt = document.createElement('option');
opt.value = key;