feat(install-source): accept archive URLs from any public host
Summary
install-from-source URL sources from any public host can now be archives (or a bare .ipa on iOS). Previously iOS refused every URL outside GitHub Actions/EAS, and both platforms refused to extract archives from other hosts. Use case: a hub hands the device host a short-lived signed blob URL, so no GitHub token leaves the hub.
agent-device install-from-source "https://<signed-blob-host>/build.zip?sig=…" --platform ios
Threat model: the allowlist checked only the first URL and admitted any repo's artifact. Host-side safety comes from per-hop SSRF approval, cross-origin header stripping, byte caps, and extractArchiveSafely, which apply to every source. None of this makes app contents safe: a simulator .app is effectively host code, which any repo's artifact, public EAS URLs, and uploads already reached. Daemon auth is the boundary; security-trust.md now says so.
isTrustedInstallSourceUrl stays exported as @deprecated (public SDK since v0.11.16, used by a downstream bridge per #387), pending a maintainer decision on removal.
Lands after #3111 (host-kit directory-mode fix). 9 files.
Validation
Tested commit 1cf8109d8.
pnpm check:affected --run: all checks passed (vitest-related 364 files / 2381 tests).- The new iOS test fails on the old gate ("only supported for trusted artifact services").
- Live run on an iOS 27.0 simulator:
install-from-source https://github.com/callstack/agent-device/releases/download/v0.21.18/agent-device-ios-runner-0.21.18.app.tar.gz --platform ios(areleases/downloadURL, outside the allowlist) installedcom.callstack.agentdevice.runner.uitests.xctrunner. The simulator's prior runner was restored afterwards. - Android archive URL: unit coverage only, no live run.