{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "icodesign-remote-installer--keep-install-link-alive-after-agent-exits",
 "repo": "icodesign/remote-installer",
 "repo_url": "https://github.com/icodesign/remote-installer",
 "repo_slug": "icodesign-remote-installer",
 "title": "Keep an install link alive after an AI agent exits",
 "page_title": "How to keep an install link alive after an AI agent exits with Remote Installer",
 "summary": "Run a bounded share as a launchd background worker so the link survives the agent's session.",
 "who": "A developer using a coding agent on a Mac who needs the agent to hand back a working install URL and then finish its turn.",
 "problem": "When an agent command ends, a normal foreground share closes, so the install link stops working before the phone can use it.",
 "outcome": "The agent returns a JSON session with an install URL, the share keeps running under launchd, and the developer can check or stop it later.",
 "steps": [
  "Install the tool with `brew install icodesign/tap/remote-installer`.",
  "Run `npx --yes @icodesign/remote-installer share MyApp.ipa --background --expire-after 30m --json` and note the printed share ID. (inferred, check the README)",
  "Check the share with `remote-installer status`.",
  "Read the output with `remote-installer logs` if the phone cannot connect.",
  "Stop the share with `remote-installer stop` once installation is done."
 ],
 "agent_prompt": "Use the repo icodesign/remote-installer to run `npx --yes @icodesign/remote-installer share <path-to-ipa> --background --expire-after 30m --json` and return the install URL and share ID. Verify the response includes a bounded expiry before ending the turn.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The --background mode is macOS only and requires a bounded expiry, and the README says the share lifecycle does not survive plain & or nohup.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "A macOS computer (the Homebrew and npm builds support macOS arm64 and x86_64)",
  "A signed .ipa, signed device .app, or signed standalone .apk build",
  "For iOS, the target iPhone's UDID already included in the provisioning profile",
  "A tunnel provider: Cloudflare Quick Tunnels, Tailscale Serve, or Tailscale Funnel"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "remote-script",
   "notice": "A background worker keeps serving the build after the agent's turn ends, so the agent must always set a bounded expiry and the human must check the share status."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/icodesign-remote-installer/keep-install-link-alive-after-agent-exits/",
 "md": "https://dedupedai.com/use-cases/icodesign-remote-installer/keep-install-link-alive-after-agent-exits/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/icodesign-remote-installer--keep-install-link-alive-after-agent-exits.json",
 "api_version": "v1"
}
