mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-27 01:19:25 +08:00
fix(panel): auto-provision Desktop shortcuts and add out-of-job 1-click host relaunch for 2.33.0+
- Add cross-platform desktop launcher manager (backend/desktop-launcher-config.mjs): automatically appends --remote-debugging-port=0 to user Desktop (including OneDrive), Start Menu, Taskbar pinned, and Startup Antigravity.lnk shortcuts plus existing HKCU Run entries on Windows and XDG .desktop launchers on Linux, with clean rollback when switching back to Sidebar Only mode - Remove ineffective Desktop argv.json provisioning (Electron Desktop 2.33.0 does not read argv.json) while retaining ~/.antigravity-ide/argv.json for Antigravity IDE - Add POST /api/bridge/relaunch (with hot-reload POST /api/settings fallback) using Shell.Application (-Sta + UTF-8 BOM .ps1) on Windows to break out of the host Job Object, exit tray instances, clean up stale DevToolsActivePort files, sanitize host environment variables, and relaunch with --remote-debugging-port=0 (plus open -a / nohup support on macOS and Linux, and live running-process path discovery across drives) - Surface dismissible BridgeStatusNotice banner directly at the top of App.js alongside Settings tabs so users can activate topbar/composer mounting in one click Closes #26
This commit is contained in:
@@ -1126,7 +1126,8 @@ test('P1 audit fixes: shared third-party pool & route single-source, pure frozen
|
||||
|
||||
assert.equal(normalizeI18nLanguage('system'), 'auto');
|
||||
assert.equal(typeof isEquivalentTelemetry, 'function');
|
||||
assert.equal(BRIDGE_API_ROUTE_DEFS.length, 9);
|
||||
assert.equal(BRIDGE_API_ROUTE_DEFS.length, 10);
|
||||
assert.ok(BRIDGE_API_ROUTE_DEFS.some((r) => r.path === '/api/bridge/relaunch'));
|
||||
|
||||
// 1. Third-party pool parity across backend, CLI statusline, and frontend metricRegistry
|
||||
const h = backendHarness();
|
||||
|
||||
Reference in New Issue
Block a user