docs: CHANGELOG for v2.0.4

This commit is contained in:
admin
2026-05-23 00:36:59 +04:00
Unverified
parent b3c7be44e6
commit 0c4b0b9338

View File

@@ -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