feat: complete rebranding to Gemini Nexus with improved UI, proxies and documentation

This commit is contained in:
Gemini Nexus Bot committed 2026-04-22 00:00:56 -03:00
1 parent e524a340cb
commit 433dccbaa9
108 files changed
+1004 -1139

No files matched your search

+6 -6
View File
@@ -16,8 +16,8 @@ vi.mock('../../utils/paths', async () => {
const path = await import('path');
const tempDbPath = path.join(process.cwd(), 'temp_test.vscdb');
return {
getAntigravityDbPath: () => tempDbPath,
getAntigravityDbPaths: () => [tempDbPath],
getGeminiNexusDbPath: () => tempDbPath,
getGeminiNexusDbPaths: () => [tempDbPath],
getAgentDir: () => path.join(process.cwd(), 'temp_test_agent'),
};
});
@@ -39,7 +39,7 @@ describe.skip('Database Handler', () => {
const db = new Database(tempDbPath);
db.exec('CREATE TABLE IF NOT EXISTS ItemTable (key TEXT PRIMARY KEY, value TEXT)');
db.prepare('INSERT INTO ItemTable (key, value) VALUES (?, ?)').run(
'antigravityAuthStatus',
'geminiNexusAuthStatus',
JSON.stringify({
user: { email: '[email protected]', name: 'Test User' },
}),
@@ -76,7 +76,7 @@ describe.skip('Database Handler', () => {
};
const backup = backupAccount(account);
expect(backup.account).toEqual(account);
expect(backup.data['antigravityAuthStatus']).toBeDefined();
expect(backup.data['geminiNexusAuthStatus']).toBeDefined();
});
it('should restore account', () => {
@@ -90,7 +90,7 @@ describe.skip('Database Handler', () => {
last_used: new Date().toISOString(),
},
data: {
antigravityAuthStatus: JSON.stringify({
geminiNexusAuthStatus: JSON.stringify({
user: { email: '[email protected]' },
}),
newKey: 'newValue',
@@ -101,7 +101,7 @@ describe.skip('Database Handler', () => {
const db = new Database(tempDbPath);
const row = db
.prepare("SELECT value FROM ItemTable WHERE key = 'antigravityAuthStatus'")
.prepare("SELECT value FROM ItemTable WHERE key = 'geminiNexusAuthStatus'")
.get() as { value: string };
const value = JSON.parse(row.value);
expect(value.user.email).toBe('[email protected]');