Repository navigation
Conversation
The desktop deep-link handler only routed agent links, so the treq://auth/callback?token=... link from browser sign-in never reached the frontend and sign-in never completed in release builds. Classify each link as agent, auth callback or unknown, and send auth callbacks to one window as deep-link-received, where AppStoreEffects exchanges the token. One window only, because the token can be exchanged once. On Windows and Linux a deep link starts a second process. Add tauri-plugin-single-instance with its deep-link feature, registered first, so the link reaches the running app and its window comes to the front. Register the treq scheme at startup on Linux (AppImage) and in Windows dev builds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V9MDdxQJAhjXsAKyCpVwwt
Collaborator
Author
Manual test stepsNone of these were run. The environment that built this PR had no desktop session, no OAuth provider and no OS URL handler, so a real sign-in and real OS deep-link delivery are untested. The unit tests only cover routing ( Use a release build ( macOS
Windows (installer build)
Linux (.deb and AppImage)
Regressions (all platforms)
Known gaps and trade-offs
Generated by Claude Code |
This branch was successfully deployed
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.
treq://auth/callbacklinks now go to one window asdeep-link-received. One window only, because the token can be exchanged oncetauri-plugin-single-instance(deep-link feature, registered first) so on Windows and Linux the link reaches the running app and focuses it. Trade-off: a dev build and an installed Treq (bothcom.treq) can no longer run at the same timeFixes TREQ-319
🤖 Generated with Claude Code
https://claude.ai/code/session_01V9MDdxQJAhjXsAKyCpVwwt
Generated by Claude Code