diff --git a/auth.js b/auth.js index c9c4d93..f9386bc 100644 --- a/auth.js +++ b/auth.js @@ -68,10 +68,13 @@ function generateClientId() { function loadAuthConfig() { // 0. Check accounts.json for multi-account mode (highest priority) const accountsPath = path.join(process.cwd(), 'accounts.json'); + logDebug(`Checking accounts.json at: ${accountsPath}`); try { if (fs.existsSync(accountsPath)) { + logDebug('accounts.json exists, reading...'); const accountsContent = fs.readFileSync(accountsPath, 'utf-8'); const accountsData = JSON.parse(accountsContent); + logDebug(`accounts.json parsed, accounts: ${accountsData.accounts?.length || 0}`); if (accountsData.accounts && accountsData.accounts.length > 0) { const activeAccounts = accountsData.accounts.filter(acc => acc.status === 'active'); diff --git a/config.json b/config.json index 2d2b562..a54bd87 100644 --- a/config.json +++ b/config.json @@ -91,7 +91,7 @@ "provider": "google" } ], - "dev_mode": true, + "dev_mode": false, "user_agent": "factory-cli/0.40.2", "system_prompt": "You are Droid, an AI software engineering agent built by Factory.\n\n" } \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index de2ed24..e4055c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: droid2api: build: .