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
- Use `install <app> <path>` when the app may already be installed and you do not need a fresh-state reset.
66
72
- Use `reinstall <app> <path>` when you explicitly need uninstall plus install as one deterministic step.
73
+
- Use `install-from-source <url>` when an existing artifact URL is already reachable by the daemon.
74
+
- Local `.apk`, `.aab`, `.app`, and `.ipa` paths go through `install` or `reinstall`; existing reachable URLs go through `install-from-source`.
75
+
- Do not download, re-zip, publish temporary GitHub releases, or move CI artifacts elsewhere just to make an install command work.
67
76
- Keep install and open as separate phases. Do not turn them into one default command flow.
68
77
- Supported binary formats:
69
78
- Android: `.apk` and `.aab`
70
79
- iOS: `.app` and `.ipa`
80
+
- Android URL sources can be direct `.apk` or `.aab` files.
81
+
- Trusted artifact service URLs, currently GitHub Actions and EAS, may point at archive-backed downloads that contain one installable artifact. This includes GitHub Actions artifact ZIPs whose URL path does not end in `.zip` and ZIPs containing one nested `.apk`, `.aab`, `.ipa`, or iOS `.app` tar archive.
82
+
- If a trusted artifact archive contains multiple installables, stop and ask for the intended artifact instead of guessing.
83
+
-`.aab` still requires `bundletool` in `PATH`, or `AGENT_DEVICE_BUNDLETOOL_JAR=<absolute-path-to-bundletool-all.jar>` with `java` in `PATH`, when the daemon installs the materialized artifact.
71
84
- For iOS `.ipa` files, `<app>` is used as the bundle id or bundle name hint when the archive contains multiple app bundles.
72
85
- After install or reinstall, later use `open <app>` with the exact discovered or known package/bundle identifier, not the artifact path.
`connect` resolves the remote profile, verifies daemon reachability through the normal client path, allocates or refreshes the tenant lease, prepares local Metro when the profile has Metro fields, starts the local Metro companion when the bridge needs it, and writes local non-secret connection state for later commands. `disconnect` closes the session when possible, stops the Metro companion owned by that connection, releases the lease, and removes local connection state.
37
38
39
+
After `connect`, normal `agent-device` commands use the active remote connection. Do not repeat `--remote-config` on every command.
- Use `install` or `reinstall` for local paths; remote daemons upload local artifacts automatically.
50
+
- Use `install-from-source` for artifact URLs the remote daemon can reach.
51
+
- For local-path versus URL artifact rules, follow [bootstrap-install.md](bootstrap-install.md).
52
+
38
53
Use `agent-device connection status --session adc-android` to inspect the active connection without reading JSON state manually. Status output must not include auth tokens.
0 commit comments