mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
780ecbc7a4
* feat: support installing local artifacts over remote daemon transport When the CLI runs on a different machine than the daemon (via AGENT_DEVICE_DAEMON_BASE_URL), install/reinstall commands now transparently upload local app binaries (.apk/.ipa/.aab) and app bundles (.app dirs) to the daemon before installing. No new flags required — same CLI ergonomics. - Add POST /upload endpoint to daemon HTTP server with auth and streaming file/tar reception - Add client-side upload helper with timeout and tar packing for .app directories - Intercept install/reinstall in sendToDaemon for remote daemons, upload artifact, rewrite positional path - Clean up uploaded temp files after install completes (or fails) with 5-minute safety-net auto-cleanup for abandoned uploads - Sanitize artifact filenames to prevent path traversal Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: harden remote artifact upload flow * refactor: split upload registry from receiver --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>