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(desktop): add local device pairing by Brendonovich · Pull Request #49291 · anomalyco/opencode

Conversation

@Brendonovich

@Brendonovich Brendonovich commented Sep 16, 2026 •
edited by opencode-agent Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Summary

  • Add desktop Settings → Pairing and a Pair device command with a local-network QR code and copyable direct connection link.
  • Keep an optional persisted Keep screen active setting for the desktop app.
  • Encode credentials in the direct server URL fragment so they are not sent in the initial HTTP request.
  • Load /connect before server connections and health checks so pairing credentials are saved before API requests.
  • Serve the web shell and assets before authentication while keeping API and OpenAPI requests authenticated.
  • Use a compact, theme-aware QR dialog with visible titles, copy feedback, and responsive sizing.

Pairing URL

http://<server>/connect#<base64url({ username: "opencode", password })>

The URL points straight at the advertised OpenCode server. The /connect route derives the server address from its own origin and stores the fragment-carried credentials before authenticated requests begin.

Validation

  • App pairing URL tests — 6 passed.
  • App typecheck — passed.
  • Desktop typecheck — passed.
  • Desktop migration registry check — passed.
  • CLI web-shell/authentication tests — 2 passed.

Sorry, something went wrong.

Uh oh!

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

All reactions
@Brendonovich
feat(desktop): add device pairing over local networks and Tailscale
5aabcf3
@Brendonovich
Brendonovich requested a review from Hona as a code owner September 16, 2026 06:48
@Brendonovich Brendonovich mentioned this pull request Sep 18, 2026
feat(app): add pairing to server settings #49700
Closed
@Brendonovich @Hona
chore: merge v2 into device pairing
b70d006
@nexxeln nexxeln mentioned this pull request Sep 19, 2026
feat(cli): pair with direct server links #49971
Merged
@Brendonovich @opencode-agent
refactor(app): simplify device pairing
e5027fc
@opencode-agent opencode-agent Bot changed the title feat(desktop): add device pairing over local networks and Tailscale feat(desktop): add local device pairing Sep 22, 2026
@Brendonovich
Brendonovich merged commit 080b767 into v2 Sep 22, 2026
10 checks passed

Uh oh!

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

@Brendonovich
Brendonovich deleted the device-pairing branch September 22, 2026 08:25
@imyu37 imyu37 mentioned this pull request Sep 29, 2026
[BUG]: zh/zht locale dictionaries missing 93 keys present in en (pairing, provider connect, file viewer) #52039
Closed
@imyu37 imyu37 mentioned this pull request Oct 8, 2026
[BUG]: zh/zht locale dictionaries missing 93 keys present in en (pairing, provider connect, file viewer) #53858
Open
@Hona Hona mentioned this pull request Oct 9, 2026
fix(desktop): restore fast cold dev startup #54060
Merged
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

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.

1 participant

@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.