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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antigravity-claude-proxy",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Proxy server to use Antigravity's Claude models with Claude Code CLI",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -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