A library shortcut opened mid-stream alerted "Can't open" instead of focusing the app #256

Merged
enricobuehler merged 1 commits from worktree-browse-link-same-host-focus into main 2026-08-15 21:58:02 +00:00
1 Commits
Author SHA1 Message Date
enricobuehler 8ef9b18d20 fix(apple): a browse shortcut opened mid-stream alerted instead of focusing the app
ci / web (pull_request) Successful in 1m9s
ci / rust-arm64 (pull_request) Successful in 1m22s
ci / bun-nix (pull_request) Successful in 1m33s
apple / swift (pull_request) Successful in 2m7s
apple / distribute (pull_request) Skipped
apple / screenshots (pull_request) Skipped
ci / docs-site (pull_request) Successful in 3m58s
ci / rust (pull_request) Successful in 11m39s
The connect route has always made the same-host exception the deep-link
spec demands (rule 2: streaming the same host -> no-op focus), but the
browse route refused on ANY live session -- so tapping a Dock library
shortcut to come back to a running stream popped "Can't open: Already
streaming X. End that session first." for the very host on glass.
Mirror the connect guard: same host -> the open already foregrounded the
app, which is all focus can mean mid-stream; a different host keeps the
notice. Android shipped this posture from day one; this is Apple parity.
2026-08-15 19:34:15 +02:00