GeezerVison is showing github.com — feat(cli): pair with direct server links by nexxeln · Pull Request #49971 · anomalyco/opencode
Conversation
nexxeln
commented
Sep 19, 2026
•
edited by opencode-agent
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Make
opencode pair print and encode a direct /connect URL for the advertised server.
- Keep credentials in the URL fragment so they are not included in the initial HTTP request.
- Let the app QR scanner accept direct pairing URLs as well as legacy raw JSON and query links.
- Document the direct pairing link.
Builds on #49291, now merged into v2.
Link format
http://<advertised-server>/connect#<base64url({ username: "opencode", password })>
The /connect page derives the server address from the URL origin, saves the credentials, and then starts authenticated requests. opencode pair --url <url> uses that URL as the direct link origin.
Validation
- App pairing URL and scanner tests — 11 passed.
- App typecheck — passed.
- CLI typecheck — passed.
- CLI web-shell/authentication tests — 2 passed.
- Documentation typecheck and generated-file check — passed.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
opencode-agent
Bot
changed the title
feat(cli): pair with a scannable app.opencode.ai link
feat(cli): pair with direct server links
Sep 22, 2026
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
Hona
Awaiting requested review from Hona
Hona is a code owner
Brendonovich
Awaiting requested review from Brendonovich
Brendonovich is a code owner
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.