feat: add Gemini run mode

This commit is contained in:
Aamer Akhter
2026-06-19 13:10:17 -04:00
parent 1255e28f6f
commit 19139837e4
17 changed files with 520 additions and 40 deletions
+10
View File
@@ -61,6 +61,16 @@ describe('run mode UI', () => {
expect(app.runMode).toBe('claude');
expect(runBtnLabel.textContent).toBe('Run');
});
it('accepts Gemini mode from server sync and updates the run button label', async () => {
const { app, storage, runBtnLabel } = loadRunModeHarness();
storage.set('codeman_runMode', 'claude');
await app.loadAppSettingsFromServer(Promise.resolve({ runMode: 'gemini' }));
expect(app.runMode).toBe('gemini');
expect(runBtnLabel.textContent).toBe('Run GM');
});
});
describe('Codex quick start settings', () => {