Repository navigation
feat(core): add Vercel AI Gateway sign-in - #3
Draft
pcomans-bot wants to merge 1 commit into
Draft
pcomans-bot wants to merge 1 commit into
pcomans-bot wants to merge 1 commit into
Conversation
This was referenced Oct 27, 2026
pcomans-bot
force-pushed
the
vercel-gateway-signin
branch
from
October 27, 2026 21:13
7fb9d81 to
f7a92c7
Compare
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.
Issue for this PR
Split from anomalyco#59456 (part 2 of 3).
Depends on anomalyco#59729 (fork review: #2). This draft targets the prompts feature branch so only the Vercel change appears in the diff; upstream submission is queued until anomalyco#59729 merges.
Type of change
What does this PR do?
Builds on the integration setup prompts from part 1. Adds Vercel device sign-in, team selection, key naming/expiration, and confirmation before creating an AI Gateway key. Only the derived Gateway key is saved. Budget management is an optional dashboard link; manual key entry remains available.
OAuth client ID is
REPLACE_ME. A production release needs an OpenCode-owned public client, Team read access, AI Gateway API-key write access, and confirmed device-grant support from Vercel. No borrowed client ID is included. Key replacement is part 3.How did you verify your code works?
bun run checkpassed.Manual verification covered the combined implementation: @pcomans tested setup and model availability on macOS before the split and before the temporary OAuth client ID was removed. This split PR has not been manually tested end to end.
Visual
Screenshots / recordings
Setup screenshot gallery (sample data).
Checklist