GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(cli): pair with direct server links by nexxeln · Pull Request #49971 · anomalyco/opencode

Conversation

@nexxeln

@nexxeln nexxeln commented Sep 19, 2026 •
edited by opencode-agent Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@nexxeln
nexxeln requested review from Brendonovich and Hona as code owners September 19, 2026 13:10
@opencode-agent
opencode-agent Bot force-pushed the pair-url branch from f9b2f88 to 1d071b7 Compare September 22, 2026 07:05
@opencode-agent 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
Base automatically changed from device-pairing to v2 September 22, 2026 08:24
nexxeln and others added 2 commits September 22, 2026 08:31
@nexxeln @Hona
feat(app): accept pairing links in the qr scanner
43efa55
@Brendonovich @Hona
feat(cli): pair with direct server links
4dbcefc
@opencode-agent
opencode-agent Bot force-pushed the pair-url branch from 1d071b7 to 4dbcefc Compare September 22, 2026 08:32
@nexxeln
nexxeln merged commit 788f0af into v2 Sep 22, 2026
10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@nexxeln
nexxeln deleted the pair-url branch September 22, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Hona Hona Awaiting requested review from Hona Hona is a code owner
@Brendonovich 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

Labels

None yet

Projects

None yet

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.

2 participants

@nexxeln @Brendonovich
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.