Background
-
Account plan: Google One AI Premium (personal Pro subscription).
-
IDE: Cursor for macOS (VS Code-based).
-
Plugin: Gemini Code Assist (latest version).
Core issue
-
Identity misdetection: The plugin fails to recognize the “personal” plan and forces the enterprise flow, requiring selection of a Google Cloud project.
-
Phantom project ID: After manually removing
gemini.projectIdfrom settings.json, logging back in causes the plugin to repopulate a random project ID likekeen-defender-xxxorquirky-thinker-xxx. -
Backend API routing: After the forced login, the plugin tries to call
cloudaicompanion.googleapis.com(reserved for enterprise/standard editions). Since my account is personal, the backend returns a “Permission denied” error. -
Cross-account behavior: Logging in with another personal Pro subscription account shows the same forced project-selection dialog.
Troubleshooting attempted
-
Cleared configuration: removed related entries in settings.json and even tried locking the file.
-
Cleared local database: deleted the globalStorage folder and
state.vscdbdatabase in Cursor’s global storage path. -
Cleared credentials: removed the “Cursor Safe Storage” entry from macOS Keychain via
security delete-generic-password. -
Cleared caches and reinstalled: uninstalled the plugin, deleted the Partitions/Cache folder, rebooted, and reinstalled — yet the project ID reappears.
-
Verified CLI state:
gcloudCLI is not installed, so no system environment interference. -
Tried multiple accounts with the same issue.
This issue has persisted for two months and completely blocks usage. Please investigate and provide a resolution as soon as possible.