feat: integrate native ChatGPT and Anthropic OAuth#395
Open
JollyRogerz wants to merge 11 commits intorowboatlabs:mainfrom
Open
feat: integrate native ChatGPT and Anthropic OAuth#395JollyRogerz wants to merge 11 commits intorowboatlabs:mainfrom
JollyRogerz wants to merge 11 commits intorowboatlabs:mainfrom
Conversation
|
@JollyRogerz is attempting to deploy a commit to the RowBoat Labs Team on Vercel. A member of the Team first needs to authorize it. |
This was referenced Feb 21, 2026
…UI to strictly render custom model grid
- Fix Anthropic OAuth: use correct redirect URI (port 8765, /callback path) and Bearer token auth. Removed OAuth button since Anthropic blocked third-party OAuth in Feb 2026; now shows API key link instead. - Fix Antigravity OAuth: dedicated port 51121, correct callback path - Fix OAuth event mapping: anthropic-native -> anthropic in settings + onboarding modal event listeners - Fast model switching: skip test for connected OAuth providers - Connection status indicators: green/red dots in model selector per provider - Status bar: persistent bar showing model, auth type, quota tier, session usage - Usage tracking: captures token counts from LLM finish-step events - New hooks: useOAuthState, useUsageTracking - Anthropic Bearer auth: custom fetch to send OAuth tokens as Authorization header instead of x-api-key (for future re-enablement)
- Add antigravity-gateway.ts: session init (loadCodeAssist/onboardUser), custom fetch that rewrites @ai-sdk/google requests into the Antigravity envelope format, SSE unwrapping with proper line buffering for large thoughtSignature fields, and Gemini request sanitization (removes empty parts/generationConfig that cause 400 errors) - Add Antigravity provider case to models.ts with automatic OAuth token refresh using the gateway's client credentials - Add Antigravity UI in settings-dialog: OAuth-only sign-in with built-in model catalog (Gemini 3 Flash/Pro, Claude Sonnet 4.6, Claude Opus 4.6) - Fix status bar cut-off by sidebar: move StatusBar inside SidebarInset so it shifts with the peer-aware sidebar layout - Fix dev startup: unset ELECTRON_RUN_AS_NODE in start script Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author
Update: Antigravity (Google Cloud Code) Gateway Integration AddedThis PR now includes a third OAuth provider beyond ChatGPT and Anthropic — Google's internal "Antigravity" Cloud Code gateway — which gives users free access to Gemini and Claude models using just a Google account (no API key required). What's workingCore gateway client (
Settings UI (
Bug fixes in this update:
Bugs fixed during development
Tested
Not included
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces Native OAuth support for ChatGPT Plus and Claude Pro, allowing users to leverage their existing subscriptions directly in Rowboat without needing proxies.
Motivation
Providing an alternative to pay-as-you-go API keys significantly lowers the barrier to entry for users who already pay for AI subscriptions.
Testing Performed
Risk & Limitations
auth.openai.comandclaude.ai). If OpenAI or Anthropic change their private SSO implementations, these flows may break and require maintenance.