Repository navigation
nebo.share names the device the page is open on - #10
Merged
Merged
Conversation
Nebo opens an app's page with ?client=<id>, the screen that opened it, beside ?thread=. share() now sends it with the file, so the Share dialog opens only on that device: a share made in the app on the phone no longer pops the dialog on the desktop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HtFKzcuyNHcb9tJBW1tz3e
localrivet
added a commit
to NeboLoop/nebo
that referenced
this pull request
Oct 9, 2026
…#776) nebo.share broadcast app_share_requested to every client with no origin, so the desktop came forward and opened the Share dialog for a share made in the app on the phone or the web app (and for a #775 "Share a link" the page answered there). The app page now opens with ?client=<clientId> beside ?thread=; the SDK sends it as `client` (NeboLoop/app-sdk#10; the body survives the neboapp:// proxy and the tunnel); share_file stamps the event with EventOrigin; the listener opens only through opensHere(data, 'nowhere'). An unclaimed share opens nowhere; the file is in Work either way. Claude-Session: https://claude.ai/code/session_01HtFKzcuyNHcb9tJBW1tz3e Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
nebo.sharenow names the device the page is open on, so Nebo opens the Share dialog only there.Nebo opens an app's page with
?client=<id>beside?thread=. The id names the screen that opened the page: the desktop window, the web app, or the mobile app.share()reads it and sends it asclientwith the file. The bot stamps it onapp_share_requestedasclient_id, and only that client opens the dialog. Before this change, a share made in the app on the phone also opened the dialog on the desktop.src/share.ts: sendsclient, read from the page's URL the same way asthread.dist/is rebuilt. Nebo servesdist/nebo.global.jsas/sdk/nebo.global.js(NeboLoop/neboapp/static/sdk).A bot from before this change ignores the extra field.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HtFKzcuyNHcb9tJBW1tz3e