mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
feat(account): add multi-account switcher and passphrase vault
- Enable Windows multi-account sign-in via loopback PKCE OAuth and unified borderless quota cards with Ultra 5x/20x tier detection and instant cached-list preloading - Keep active-account quota strictly on live host telemetry while supporting configurable background OAuth refresh intervals (10m-24h, default 1h) for saved backup accounts - Add optional scrypt + AES-256-GCM secondary passphrase encryption with per-email AAD binding, unlock backoff, key zeroing, at-rest token minimization, and OAuth client_id allowlisting - Harden account mutations with inline two-step switch/remove confirmations, HMAC action nonces, Webview context checks, standalone web 403 isolation, and user-only vault directory ACLs
This commit is contained in:
@@ -2859,7 +2859,7 @@ test('P2 regressions: bundler regex-after-paren lexer, shared URI/prompt/atomic
|
||||
assert.equal(latestQuery, '');
|
||||
assert.equal(sBox.clearBtnEl.hasAttribute('hidden'), true);
|
||||
|
||||
// 4. Declarative settingsBackup round-trips all 30 portable keys + coupled legacy flags
|
||||
// 4. Declarative settingsBackup round-trips all 31 portable keys + coupled legacy flags
|
||||
const exported = buildExportableSettingsJson({
|
||||
language: 'en-US',
|
||||
modernUi: false,
|
||||
@@ -2868,9 +2868,10 @@ test('P2 regressions: bundler regex-after-paren lexer, shared URI/prompt/atomic
|
||||
windowMountMode: 'composer',
|
||||
showStepFilterToolbar: true,
|
||||
experimentalQuotaReservation: true,
|
||||
accountQuotaRefreshMinutes: 180,
|
||||
});
|
||||
const parsedExport = JSON.parse(exported);
|
||||
assert.equal(Object.keys(parsedExport.settings).length, 30);
|
||||
assert.equal(Object.keys(parsedExport.settings).length, 31);
|
||||
const reimported = parseImportedSettingsJson(exported);
|
||||
assert.equal(reimported.ok, true);
|
||||
assert.equal(reimported.patch.modernUi, false);
|
||||
@@ -2883,4 +2884,5 @@ test('P2 regressions: bundler regex-after-paren lexer, shared URI/prompt/atomic
|
||||
assert.equal(reimported.patch.enableWindowOverlay, true);
|
||||
assert.equal(reimported.patch.showStepFilterToolbar, true);
|
||||
assert.equal(reimported.patch.experimentalQuotaReservation, true);
|
||||
assert.equal(reimported.patch.accountQuotaRefreshMinutes, 180);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user