AG X v2.0.3 - Antigravity fork with multi-provider support

Features:
- Welcome screen on first run (provider choice before LS starts)
- 15+ AI providers (Google Gemini, OpenAI, Anthropic, DeepSeek, Ollama, etc.)
- Provider config syncs to endpoints.json for translation proxy
- Built-in Node.js translation proxy for non-native backends
- Auto-update support, tray integration, URI scheme handler
This commit is contained in:
admin
2026-05-22 23:20:10 +04:00
Unverified
commit 43e2a2f78f
46 changed files with 7719 additions and 0 deletions

25
dist/__mocks__/electron-updater.js vendored Normal file
View File

@@ -0,0 +1,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.autoUpdater = exports.autoUpdaterEvents = void 0;
/**
* Shared electron-updater mock for all test files.
*
* This file is automatically used by Vitest when a test calls
* `vi.mock('electron-updater')` without a factory argument.
*
* The `autoUpdaterEvents` export allows tests to trigger event callbacks
* that were registered via `autoUpdater.on(event, callback)`.
*/
const vitest_1 = require("vitest");
exports.autoUpdaterEvents = {};
exports.autoUpdater = {
autoDownload: false,
autoInstallOnAppQuit: false,
forceDevUpdateConfig: false,
updateConfigPath: '',
on: vitest_1.vi.fn().mockImplementation((event, cb) => {
exports.autoUpdaterEvents[event] = cb;
}),
checkForUpdates: vitest_1.vi.fn().mockResolvedValue(undefined),
quitAndInstall: vitest_1.vi.fn(),
};