Skip to content

Make terminal pairing clear for headless OX hosts - #102

Merged
n0rpan merged 8 commits into
mainfrom
mobile/headless-pairing
Nov 29, 2026
Merged

n0rpan merged 8 commits into
mainfrom
mobile/headless-pairing

Conversation

@n0rpan

@n0rpan n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator

Track headless onboarding in #95. ox host pair groups the existing one-time invitation QR, pasteable link, address and manual code. It spells out port 443 where the mobile form would otherwise use OX's default port. ox host pair --window prints the address and the terminal approval commands, and the ox CLI now forwards pending, approve and deny to ox-host.

Stacked on #97 at 6681d36, checked against main at 3234845. Four pairing unit tests and the packaged host-service fixture passed, including the QR payload, manual entry output and real ox host dispatch. A real iPhone scan and a live tailnet pairing are pending.

Reuse the existing short-lived invitation for the QR code, pasteable link, Serve address and 12-character manual code, so a phone-only host can be paired from its terminal. Give the reusable five-minute pairing window a QR of its address, and delegate pending, approve and deny through ox host so the approval command the CLI prints actually runs.

Cover the invitation and window output in unit tests and in the packaged host-service test.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T23:59:23.884503Z a89291d Manual request
🔒 Security Review ✅ Completed 2026-11-28T20:05:27.601652Z efb01f9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Base automatically changed from mobile/native-app to main November 28, 2026 23:14
@n0rpan

n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: a89291d3f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@n0rpan n0rpan added the full-ci label Nov 28, 2026
@n0rpan

n0rpan commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator Author

In line to merge. Commit a89291d is reviewed with nothing blocking; it enters the merge queue when OX merge check passes.

@n0rpan

n0rpan commented Nov 28, 2026

Copy link
Copy Markdown
Collaborator Author

@codex security review

Asked for by the full-ci label, for commit a89291d.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: a89291d3f8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@n0rpan
n0rpan enabled auto-merge November 28, 2026 23:59
@n0rpan
n0rpan added this pull request to the merge queue Nov 29, 2026
Merged via the queue into main with commit 38fea04 Nov 29, 2026
49 of 57 checks passed
@n0rpan
n0rpan deleted the mobile/headless-pairing branch November 29, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant