Remote Control

Pocket Dev Environment: control your Mac from your phone.

Full development toolkit on your phone over an encrypted relay.

  • AI chat (Copilot CLI + Claude CLI), shell, file browser, git ops
  • Build/test/lint with auto project detection (Node, Swift, Xcode)
  • System monitor: CPU, RAM, disk, battery, Xcode, ports
  • Multi-agent pipeline with 31 commands, 7 operating modes, CLI-aware phase tracker (native TaskList on Claude Code, bash render elsewhere), multi-repo orchestration with per-repo branch picker, identity routing, agent-log Cost Breakdown, diff risk + test gap detectors, per-repo triage memory
  • Audit log, secret redaction, blocklist v2, safe mode
  • AES-256-GCM encryption via private GitHub Gist
  • Path-jailed file operations: only whitelisted project dirs
  • No tunnels or open ports; works on company laptops
Private RepositoryThis is a private repository. You need collaborator access to view the source code on GitHub.
~500ms
Latency
AES-256
Encryption
Web + iOS
Clients
13
iOS Kits
Stable
Status

Tech Stack

Node.jsTypeScriptSwift / SwiftUITuist Modular ArchitectureAES-256-GCMGitHub Gist APIVercelWeb Crypto API

How It Works

Data Flow
📱
Phone (Browser)
Type message or tap chip
🌐
Vercel API
POST /api/relay
🔐
GitHub Gist
AES-256-GCM encrypted JSON
💻
Mac CLI
Poll → decrypt → execute
🤖
AI Engine
Copilot CLI / Claude CLI
Command Types
💬AI Chat
Hello, help me with...
🖥️Shell
/ls -la ~/projects
📸Special
/screenshot
🔒Special
/lock
🚀Pipeline
multi-agent "#316"
Security
AES-256-GCMEnd-to-end encryption
URL Hash KeyNever sent to server
Private GistOnly token holder reads
1h ExpiryAuto-cleanup
KeychainToken from macOS Keychain
Quick Chips
Generalstatus, help, clear
Systemlock, sleep, screenshot
Smart Mobilebuild, test, lint
Multi-Agentpipeline, jira, issue
Remote Controlshutdown, restart

Features

AI Chat

  • Copilot CLI - default, free with GitHub Copilot license
  • Claude CLI - switch with one tap in header
  • Toggle between engines anytime during session

File Browser

  • /files - browse project directories with icons and sizes
  • /cat - read files with line numbers and range support
  • /edit - single-line edit (audit logged, blocked in safe mode)
  • /search - project-wide grep across source files
  • Path jail: only whitelisted directories accessible

Git Operations

  • /git status, diff, log, branch, stash (read-only)
  • /git commit, push, pr (write ops)
  • Identity auto-set per repo (personal vs work)
  • Force push blocked as security rule

Build & Test

  • /build - auto-detects Node.js, Swift, Xcode projects
  • /test - run test suite from phone
  • /lint - run project linter
  • Blocked in safe mode for safety

System Monitor

  • /monitor - CPU, RAM, disk, battery, uptime, versions
  • /xcode - version, processes, simulators, DerivedData
  • /ports - listening ports on dev machine
  • Real-time system health from your phone

Native iOS App

  • SwiftUI app on Tuist Modular Architecture — 13 Kits + Chat module
  • `rctrl://connect#...` URL scheme: tap Mac CLI link → app auto-handles handoff (web SPA fallback)
  • Same end-to-end AES-256-GCM session model as web SPA — key in URL fragment, never sent to server
  • Composition root with protocol-driven DI (DependencyKit) + Sendable types throughout
  • Strict 5-target module pattern (Interface / Implementation / Tests / Tests-Mocks / Example) per Kit
  • Drop-in companion to the CLI for users who want a native shell instead of mobile Safari

Multi-Agent

  • 8-phase pipeline with 31 cross-CLI slash commands accessible from phone
  • 204 unified skills shipped to both Claude Code (colon form) and Copilot CLI (dash form) — byte-identical
  • Cross-platform credential helper: `~/.claude/lib/credential-store.sh` auto-delegates to a deterministic Python helper (`keychain.py`) on macOS / Linux and PowerShell `CredentialManager` on Windows; writes both `-l` and `-s` Keychain attributes so manually-added tokens stay findable
  • Live phase tracker: native TaskList widget on Claude (strict phase-number ordering enforced), ASCII bars + elapsed time per phase via `phase-tracker.sh` everywhere else
  • 7+ operating modes: full / :dev (Opus) / :autopilot / :local / :dev-autopilot / :dev-local / :dev-local-autopilot / :local-autopilot
  • Autopilot Phase 2 safety classifier: high-risk plans (security path, schema migration, delete-without-test) trigger a one-time pause even with autopilot on
  • Phase 7 Work Summary: single-screen executive block in PR / Jira / Confluence — scope delivered, file diff, review outcome, phase tick strip
  • Multi-repo orchestration: multi-select picker, per-repo worktrees + base-branch, post-dev integration build (Phase 6 Step 0)
  • Platform identity routing: git identity auto-picked from repo origin URL
  • CLI-aware parallel review: Claude Code 2-model (Opus + Sonnet) · Copilot CLI 3-model (GPT + Opus + Sonnet) · Opus triage on both

Security

  • AES-256-GCM encryption, key never leaves URL hash
  • Audit log: every command logged locally
  • Secret filter: tokens/keys/passwords auto-redacted
  • Blocklist v2: 25+ patterns block credential theft/exfil
  • Safe mode (--safe): read-only commands only
  • Session auto-expires in 1 hour

Remote Control

  • /screenshot - capture screen, view on phone
  • /lock, /sleep, /shutdown, /restart with confirmations
  • Quick chips organized by category
  • Command history with ↑↓ navigation