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:
@@ -64,8 +64,8 @@ test('pack-release-zip ships only runtime-essential files, excludes dev bloat, a
|
||||
assert.ok(existsSync(zipPath));
|
||||
assert.ok(summary.zipBytes > 100 * 1024, 'ZIP should contain compiled assets and backend');
|
||||
assert.ok(
|
||||
summary.zipBytes < 750 * 1024,
|
||||
`Runtime-only ZIP should stay compact (<750 KB), got ${(summary.zipBytes / 1024).toFixed(1)} KB`
|
||||
summary.zipBytes < 900 * 1024,
|
||||
`Runtime-only ZIP should stay compact (<900 KB), got ${(summary.zipBytes / 1024).toFixed(1)} KB`
|
||||
);
|
||||
|
||||
// Extract via OS-native expander (same path used by plugin-updater.mjs, where extractDir already exists)
|
||||
|
||||
Reference in New Issue
Block a user