antigravity-claude-proxy 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/account-manager.js +6 -0
package/package.json
CHANGED
package/src/account-manager.js
CHANGED
|
@@ -64,6 +64,12 @@ export class AccountManager {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
console.log(`[AccountManager] Loaded ${this.#accounts.length} account(s) from config`);
|
|
67
|
+
|
|
68
|
+
// If config exists but has no accounts, fall back to Antigravity database
|
|
69
|
+
if (this.#accounts.length === 0) {
|
|
70
|
+
console.log('[AccountManager] No accounts in config. Falling back to Antigravity database');
|
|
71
|
+
await this.#loadDefaultAccount();
|
|
72
|
+
}
|
|
67
73
|
} catch (error) {
|
|
68
74
|
if (error.code === 'ENOENT') {
|
|
69
75
|
// No config file - use single account from Antigravity database
|