GeezerVison is showing github.com — feat(desktop): add local device pairing by Brendonovich · Pull Request #49291 · anomalyco/opencode
Conversation
Brendonovich
commented
Sep 16, 2026
•
edited by opencode-agent
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
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
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
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
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.