# v0.4.55 (2026-05-18)
## Features - Xiaomi MiMo Token Plan: region selector (Singapore / China / Europe) — keys are cluster-specific - Antigravity: risk confirmation dialog before first connection - Gemini CLI: surface upstream retry delay on 429 errors ## Fixes - MITM: cannot kill process on macOS under sudo (lsof not found in PATH) - Stream: false-positive stall timeout on Claude reasoning / Kiro responses - Tunnel: cannot re-enable after disable (stuck state) - Tunnel: cloudflared error messages now include log tail for easier debugging - Language switcher: applies selected locale immediately on close (#1234) - Antigravity OAuth: metadata now matches the official client ## Improvements - Gemini CLI: bump engine to 0.34.0 - Re-hide `qwen` (OAuth EOL) and `iflow` (not ready) providers
This commit is contained in:
@@ -124,7 +124,10 @@ async function canAccessPublicLlmApi(request) {
|
||||
}
|
||||
|
||||
async function canAccessLocalOnlyRoute(request) {
|
||||
return await hasValidCliToken(request);
|
||||
if (await hasValidCliToken(request)) return true;
|
||||
// Browser on host: loopback Host + Origin (blocks tunnel/CSRF) + JWT cookie (blocks unauth raw clients)
|
||||
if (isLocalRequest(request) && await hasValidToken(request)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
async function hasValidToken(request) {
|
||||
|
||||
Reference in New Issue
Block a user