Skip to content

feat: Detect Antigravity IDE for usage tracking#183

Merged
virrrat merged 4 commits intomainfrom
antigravity-usage
Apr 7, 2026
Merged

feat: Detect Antigravity IDE for usage tracking#183
virrrat merged 4 commits intomainfrom
antigravity-usage

Conversation

@virrrat
Copy link
Copy Markdown
Contributor

@virrrat virrrat commented Apr 7, 2026

Tested: image

@virrrat virrrat requested review from arunjayaramreddy and medb April 7, 2026 08:51
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces an is_antigravity environment detection function and integrates it into the get_client_environment_label utility. Feedback highlights the need to update the get_client_environment_label docstring to include the new environment in the priority list. Additionally, existing tests for environment labeling should be updated to mock the new detector to maintain isolation, and a new test case should be added to verify the 'antigravity' label mapping.

@virrrat virrrat merged commit c6636e1 into main Apr 7, 2026
6 checks passed
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.

2 participants