Help needed: Personal Gemini Code Assist subscription misidentified as Enterprise in Cursor causing endless loop bug

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.projectId from settings.json, logging back in causes the plugin to repopulate a random project ID like keen-defender-xxx or quirky-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.vscdb database 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: gcloud CLI 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.