Skip to content

Conversation

@validatedev
Copy link
Contributor

@validatedev validatedev commented Jan 27, 2026

Summary

This pull request adds support for managing Antigravity provider accounts, including OAuth and manual token entry, in the Providers preferences pane. It introduces new UI options for adding, importing, and managing Antigravity credentials, updates the provider descriptor logic, and refines the token account entry experience for providers that require multiple fields. Additionally, it includes dependency and CI updates to support these features.

Antigravity Provider Account Management:

  • Added support for Antigravity accounts in the Providers preferences pane, including segmented manual entry (access token and optional refresh token), Google OAuth sign-in, and importing credentials from the Antigravity app database. The UI dynamically adapts based on provider and system configuration. [1] [2] [3] [4]
  • Implemented error handling and user feedback for credential import, including alerts for missing credentials, database not found, and full disk access requirements.

UI/UX Improvements:

  • Refined the token account entry row to support two-field entry for providers like Antigravity, and adjusted the layout and controls for better usability. [1] [2]
  • Added "Antigravity" to the provider picker in the debug pane for log viewing.

Dependency and Build Updates:

  • Added swift-protobuf as a package dependency and linked it to the main target. [1] [2]
  • Updated CI workflow to install SQLite3, required for reading the Antigravity database.

Security and Configuration:

  • Added a .gitguardian.yml configuration to ignore known public Antigravity OAuth credentials, preventing false positives in secret scanning.

Screenshot

CleanShot 2026-01-29 at 15 09 34@2x

Add OAuth-based authentication for Antigravity provider with multiple credential sources:
- OAuth flow with token refresh capability
- Manual token input in settings
- Local credential import from SQLite database
- Cloud Code API client for quota fetching
- Settings snapshot support for Antigravity provider
@gitguardian
Copy link

gitguardian bot commented Jan 27, 2026

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them.
While these secrets were previously flagged, we no longer have a reference to the
specific commits where they were detected. Once a secret has been leaked into a git
repository, you should consider it compromised, even if it was deleted immediately.
Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

@validatedev
Copy link
Contributor Author

For GitGuardian fail, I cannot do anything as these are the keys which are used by Antigravity itself.

… UI updates

- Added support for two-field token entry in the Antigravity settings.
- Updated the UI for selecting log providers to include Antigravity.
- Enhanced the settings snapshot to include new token management features.
- Implemented credential refresh handling and improved error messaging for Antigravity OAuth.
- Refactored related components for better maintainability and clarity.
@validatedev validatedev marked this pull request as ready for review January 28, 2026 15:06
@validatedev
Copy link
Contributor Author

@steipete when you have time you can review the PR, it’s functionally complete. There are some existing linting errors in CI across the whole repo, so I preferred not to touch those in this PR.

@validatedev validatedev force-pushed the feat/antigravity-oauth-extras branch from 68c145f to 4f76db3 Compare January 28, 2026 21:07
@validatedev validatedev marked this pull request as draft January 28, 2026 22:11
@validatedev
Copy link
Contributor Author

Saw some edge case bug, fixing it. Until then it is draft

@validatedev validatedev marked this pull request as ready for review January 29, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant