From 0c4b0b933887b25bf6b84de0ab80f446c5dcc9e1 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 23 May 2026 00:36:59 +0400 Subject: [PATCH] docs: CHANGELOG for v2.0.4 --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5b0592..f8eac84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,3 +36,21 @@ - Base Antigravity fork - Desktop app packaging (.deb) + +## [2.0.4] - 2025-05-23 + +### Fixed +- **Provider sync on every startup**: Active AG X provider is now always synced to `endpoints.json`, ensuring the Language Server uses the correct provider. Previously, sync only happened on first run, causing the LS to use stale/wrong provider data on subsequent starts. +- **Linux sandbox crash (SIGTRAP)**: Added `--no-sandbox` to all Electron child process spawns (translation proxy, API proxy). Without this fix, the SUID sandbox caused proxy processes to crash immediately, which forced fallback to Google OAuth. +- **--no-sandbox for all modes**: The `--no-sandbox` flag is now applied globally, not just in headless mode. +- **Welcome screen re-trigger**: Added `--ag-reset` command-line flag. Running `ag-x --ag-reset` will re-show the provider selection welcome screen. + +### Root Causes +1. `endpoints.json` was never updated after first-run → LS used wrong provider +2. Electron child processes crashed due to SUID sandbox requirement on Linux +3. No mechanism to re-show provider selection after initial setup + +### Changed Files +- `dist/main.js` — Always sync provider + AG_RESET flag + no-sandbox for all modes +- `dist/languageServer.js` — Add --no-sandbox to proxy spawn +- `dist/services/apiProxy.js` — Add --no-sandbox to proxy spawn