-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor: remove built-in Google auth in favor of external plugin #750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Delete src/auth/antigravity/ directory (28 files) - Delete src/google-auth.ts standalone wrapper - Delete src/cli/commands/auth.ts CLI command - Remove google_auth config option from schema - Update CLI to remove auth command registration - Update config-manager to remove google_auth handling - Update documentation to reference external opencode-antigravity-auth plugin only - Regenerate JSON schema Users should install the opencode-antigravity-auth plugin for Gemini authentication. BREAKING CHANGE: The google_auth config option is removed. Use the external plugin instead.
da94d33 to
3afdaad
Compare
|
@sisyphus-dev-ai review |
PR Review: Refactor to Remove Built-in Google AuthOverviewThis PR successfully removes the built-in Google Antigravity OAuth authentication in favor of the external ✅ What's Done Well
❌ Critical Issues - Dead Code Not Removed1. Entire
|
|
@sisyphus-dev-ai review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 40 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
✅ Updated Review: All Issues Resolved!SummaryExcellent work! All critical issues from the previous review have been successfully addressed. This PR is now ready to merge. ✅ What Was Fixed1. Dead Code RemovedAll the problematic files and directories have been deleted:
2. package.json Cleaned UpBoth issues in package.json have been resolved:
3. No Leftover ReferencesVerified via grep that no stray references remain: grep -r "google_auth" src/ # NO MATCHES
grep -r "createGoogleAntigravityAuthPlugin" src/ # NO MATCHES
grep -r "auth/antigravity" src/ # NO MATCHES4. Build & Type Checks Pass✓ bun run build # Success (497 modules bundled)
✓ bun run typecheck # Success (no type errors)📊 Impact Assessment
🎉 ConclusionThis refactor is complete and well-executed. The built-in Google auth has been successfully removed in favor of the external Ready to merge! 🚀 |
Summary
Removes the built-in Google authentication implementation in favor of the external
opencode-antigravity-authplugin.Changes
src/auth/antigravity/(28 files),src/google-auth.ts,src/cli/commands/auth.tssrc/index.ts,src/cli/index.ts,src/cli/config-manager.ts,src/config/schema.tsBreaking Change
The
google_authconfig option is removed. Users should installopencode-antigravity-authfor Gemini authentication.Migration
google_authfrom your config (if present)opencode plugin add opencode-antigravity-authSummary by cubic
Replaces the built-in Google (Antigravity OAuth) auth with the external opencode-antigravity-auth plugin. Breaking change: removes the google_auth config and all internal auth code.
Refactors
Migration
Written for commit d99d79a. Summary will update on new commits.