Repository navigation
Open a pasted session link on an already paired phone - #353
Conversation
Registry invitations may carry #pair=<code>&thread=<id~scope hash>. Parse the fragment strictly in the shared phone_link helper, keep the target out of registration, resolve it from the host's live catalog after pairing, and verify a fresh exact ready snapshot before navigating. Pairing and project fallback survive a failed resolution.
Add a user-triggered Paste session link action on Projects. The clipboard is read only when the button is tapped, and only a canonical HTTPS .ts.net origin with exactly one #thread target is accepted. A link naming another host is reported without switching hosts, so the person selects that paired host first. The pasted target reuses the paired invitation's signed resolve, subscribe and cancellation path. One OPEN SESSION note now carries both a pairing invitation's unavailable conversation and a pasted link's failure, replacing the misleading paired-only wording.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
/queue 06003b9 |
|
In line to merge. Commit 06003b9 is reviewed with nothing blocking; it has entered the merge queue. |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Part of #95. Builds on the exact invitation flow merged in #350. A person who already paired the phone can use Paste session link in Projects with the link copied from OX Desktop. The app reads the clipboard after the tap, requires the link to match the selected host, and opens only the exact conversation through the signed lookup shared with pairing invitations. A valid link to a different host asks the person to select that host.
Checked against
mainat7f33f063d4854c388fa4e0f8a403278a473d528e. The refreshed head passed the three session-link parser tests, five exact invitation lookup tests, formatting, and the diff check. The earlier head also passed mobile test Clippy and built an Android x86_64 APK. Physical clipboard and session routing still need a device run.