You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% opencode pair --remote
DESCRIPTION
Print one-time links to connect a browser or app
USAGE
opencode pair [flags]
FLAGS
--url string Use an external HTTP(S) server URL in pairing links
GLOBAL FLAGS
--help, -h Show help information
--version, -v Show version information
--wizard Start wizard mode for a command
--completions <bash|zsh|fish|sh> Print shell completion script (choices: bash, zsh, fish, sh)
--log-level <all|trace|debug|info|warn|warning|error|fatal|none> Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none)
--print-logs Print logs to stderr (server logs require --standalone)
ERROR
Unrecognized flag: --remote in command opencode pair
Thanks for the report! The help output you pasted lists only --url, so you're probably on an older v2 release. opencode pair --remote was first added in v2.0.25, and versions before that don't recognise the flag.
Could you:
Run opencode --version and post the exact version here.
Upgrade to the latest release (v2.0.28) and try opencode pair --remote again. From v2.0.27 on, the first run asks you to confirm before exposing your server to the internet. Use opencode pair --remote --yes for non-interactive use.
If it still fails after upgrading, please share the exact command and output. You can reply here or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.
I didn't find a duplicate, but these issues are related to pair --remote (ordered by likelihood of relevance) in case you run into them after upgrading:
We haven't heard back, so I'm closing this for now. Your help output lists only --url, which means you're on a release older than v2.0.25, where opencode pair --remote was first added. Upgrading to the latest v2 release should make the flag available. If opencode pair --remote still fails after upgrading, please reply with the output of opencode --version and the exact error, and we can reopen this. Thanks!
Activity
opencode-agent commentedon Oct 13, 2026
Thanks for the report! The help output you pasted lists only
--url, so you're probably on an older v2 release.opencode pair --remotewas first added in v2.0.25, and versions before that don't recognise the flag.Could you:
opencode --versionand post the exact version here.opencode pair --remoteagain. From v2.0.27 on, the first run asks you to confirm before exposing your server to the internet. Useopencode pair --remote --yesfor non-interactive use.If it still fails after upgrading, please share the exact command and output. You can reply here or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.
I didn't find a duplicate, but these issues are related to
pair --remote(ordered by likelihood of relevance) in case you run into them after upgrading:pair --remotefails with opentunnel.xyz service errorsopencode-agent commentedon Oct 16, 2026
We haven't heard back, so I'm closing this for now. Your help output lists only
--url, which means you're on a release older than v2.0.25, whereopencode pair --remotewas first added. Upgrading to the latest v2 release should make the flag available. Ifopencode pair --remotestill fails after upgrading, please reply with the output ofopencode --versionand the exact error, and we can reopen this. Thanks!lala007hjhihyhhhh-eng commentedon Nov 14, 2026
opencode pair --remote