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
{{ message }}
Repository navigation
[Feature]: Mobile - clone a new repository from a GitHub URL #21669
On mobile, the new-workspace sheet only creates git worktrees, and its Project picker only lists repositories already registered on the paired host. Pasting a GitHub URL into the source field just smart-matches against those known repos — if the host has never cloned the repository, the URL leads nowhere.
So starting work on a new repository from the phone always requires going to the desktop first (sidebar → Add Repo → paste URL → clone), or a terminal on the host. The desktop already has the full clone flow (cloneRemoteRepo with progress events); mobile has no entry point to it.
Proposed solution
Add a "Clone from URL" entry to the mobile new-workspace flow — either an option in the Project picker of the create sheet, or a paste intent that offers "clone " when the pasted URL matches no known repo.
Mobile sends only the URL plus a destination path (defaulting to the host's usual repos root) — both plain text, no host filesystem browsing needed.
The host reuses the existing clone path and reports progress, mirroring the desktop Add Repo flow.
After the clone lands, continue into the existing post-create flow (name → agent → setup script → launch).
Two constraints worth noting:
The clone request runs on the paired host and is not in the mobile RPC allowlist today, so the entry should be capability-gated and hidden against older hosts rather than erroring.
Cloning over SSH can legitimately exceed the generic 30s mobile RPC timeout (the worktree-create flow already handles this class of long request), so clone should ride the same long-request treatment.
Alternatives or additional context
Current workaround: create or clone the workspace on desktop, then open it from mobile — folder workspaces created on desktop are already visible and usable on mobile, so it's only the creation entry that's missing there too. Full folder-workspace creation on mobile (browsing host directories) would need a new directory-browsing RPC surface and is deliberately out of scope for this request.
Activity
dudupii commentedon Nov 26, 2026
Real-device proof of this flow, implemented in #21698 (screenshots from a real Android phone):
+→ New workspace / Add project