Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

feat(ios): allow skipping computer pairing

leepokai2887ef088c56
diff --git a/apps/ios/Views/PairingView.swift b/apps/ios/Views/PairingView.swift
index 1c5b1c3f..c57ccb44 100644
--- a/apps/ios/Views/PairingView.swift
+++ b/apps/ios/Views/PairingView.swift
@@ -7,6 +7,8 @@ import VisionKit
struct PairingView<Leading: View>: View {
/// Adding another computer from the computers sheet: has a close button; closes once paired.
var inModal = false
+ /// Finish onboarding without pairing; modal pairing simply closes when skipped.
+ var onSkip: (() -> Void)? = nil
/// Top-left on the first page (back to the welcome, the account switcher).
@ViewBuilder var leading: Leading
@@ -43,6 +45,21 @@ struct PairingView<Leading: View>: View {
}
.frame(maxHeight: .infinity)
.clipped()
+
+ if step == .scan {
+ Button {
+ withAnimation(Motion.reduced(Motion.layout, reduceMotion)) {
+ if inModal { dismissModal() } else { onSkip?() }
+ }
+ } label: {
+ Text("Skip").font(.headline).frame(maxWidth: .infinity, minHeight: 50)
+ }
+ .buttonStyle(.secondary)
+ .accessibilityHint("Pair a computer later from Computers & settings.")
+ .padding(.horizontal, 24)
+ .padding(.bottom, 12)
+ .transition(.opacity)
+ }
}
.background(Palette.background)
}
diff --git a/apps/ios/Views/RootView.swift b/apps/ios/Views/RootView.swift
index 8a937b53..cb392994 100644
--- a/apps/ios/Views/RootView.swift
+++ b/apps/ios/Views/RootView.swift
@@ -19,13 +19,13 @@ struct RootView: View {
var body: some View {
Group {
- if accounts.computers.isEmpty && accounts.cloudComputers.isEmpty {
- if !onboardingCompleted && !welcomed && !account.isSignedIn {
+ if !onboardingCompleted && accounts.computers.isEmpty && accounts.cloudComputers.isEmpty {
+ if !welcomed && !account.isSignedIn {
WelcomeView { withAnimation(Motion.reduced(Motion.layout, reduceMotion)) { welcomed = true } }
.transition(.move(edge: .leading).combined(with: .opacity))
} else {
- PairingView {
- if onboardingCompleted || account.isSignedIn {
+ PairingView(onSkip: { onboardingCompleted = true }) {
+ if account.isSignedIn {
AccountSwitcherButton()
} else {
BackButton { withAnimation(Motion.reduced(Motion.layout, reduceMotion)) { welcomed = false } }
@@ -39,7 +39,7 @@ struct RootView: View {
}
.background(Palette.background)
.onChange(of: accounts.computers.isEmpty, initial: true) { _, empty in
- // Existing installations have already completed setup. Keep this
+ // Pairing or explicitly skipping completes setup. Keep this
// device-level milestone across account changes and unpairing.
if !empty { onboardingCompleted = true }
}
diff --git a/docs/guides/accounts-and-ssh.md b/docs/guides/accounts-and-ssh.md
index 3d035c2b..a498c348 100644
--- a/docs/guides/accounts-and-ssh.md
+++ b/docs/guides/accounts-and-ssh.md
@@ -84,6 +84,12 @@ on a real device before release. Build success and enabled dashboard settings do
not prove that an Apple authorization completed successfully.
QR pairing does not require matching email addresses or even a signed-in computer.
+The iPhone's scan step always offers **Skip**, including when signed out or when
+the account has no computers. Skipping finishes onboarding and opens the main
+tabs; this choice survives relaunches and account changes. The empty Bots screen
+offers **Computers** to pair later. Skipping while adding a computer from settings
+only closes that pairing sheet. It does not grant access to a computer or change
+the account approval flow. **Start over** resets the onboarding choice.
On the Mac, open Codync in the menu bar and choose **Pair iPhone**, then scan the
code on the phone (or paste its `codync://pair` link). The host approves the phone's