pan pair
pan machines link '<url>' on the other machine
(the first use wins, browser or machine). See pan machines link.
The credential is always in the URL fragment (#pair=), never a query string, so it never
reaches a server log.
Output
localhost, 127.0.0.1, ::1 or *.localhost, pan pair warns that the
URL only works on this machine and tells you to pass --url with an address the other
device can reach and add that origin to OVERDECK_TRUSTED_ORIGINS. With --json the
warning goes to stderr; the JSON itself still goes to stdout.
Errors
- No running dashboard:
`Overdeck dashboard is not running; start it with `pan up`.`, exit 1. - A dashboard that rejects this machine’s internal token:
The dashboard rejected this machine's internal token (from $OVERDECK_HOME/internal-token, default ~/.overdeck/internal-token). The running dashboard holds a different token: it uses another OVERDECK_HOME, or it was started before that file existed. Restart it with `pan up` or `npx @overdeck/core`, then run this command again., exit 1. - Any other dashboard error:
pan pair failed: <message>, exit 1.