@swmansion/argent 0.25.2-next.8 → 0.25.2-next.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli-cmds.mjs CHANGED
@@ -21872,7 +21872,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
21872
21872
  var SESSION_ID2 = randomUUID5();
21873
21873
  function readCliVersion() {
21874
21874
  if (true) {
21875
- return "0.25.2-next.8";
21875
+ return "0.25.2-next.9";
21876
21876
  }
21877
21877
  return "0.0.0";
21878
21878
  }
@@ -16725,7 +16725,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16725
16725
  var SESSION_ID = randomUUID4();
16726
16726
  function readCliVersion() {
16727
16727
  if (true) {
16728
- return "0.25.2-next.8";
16728
+ return "0.25.2-next.9";
16729
16729
  }
16730
16730
  return "0.0.0";
16731
16731
  }
@@ -70657,8 +70657,13 @@ function defaultAndroidRoots() {
70657
70657
  "/opt/android-sdk",
70658
70658
  "/usr/lib/android-sdk",
70659
70659
  // Debian/Ubuntu `android-sdk` apt package
70660
- "/usr/local/share/android-sdk"
70661
- // Homebrew cask
70660
+ "/usr/local/share/android-sdk",
70661
+ // Homebrew cask (Intel prefix)
70662
+ // Where `brew install --cask android-commandlinetools` roots the SDK, so an
70663
+ // `sdkmanager`-installed platform-tools is found without setting ANDROID_HOME
70664
+ // — otherwise following the missing-adb hint still leaves the tool failing.
70665
+ "/opt/homebrew/share/android-commandlinetools",
70666
+ "/usr/local/share/android-commandlinetools"
70662
70667
  ];
70663
70668
  if (process.platform === "win32") {
70664
70669
  const localAppData = process.env.LOCALAPPDATA?.trim();
@@ -94799,7 +94804,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94799
94804
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94800
94805
  function readCliVersion() {
94801
94806
  if (true) {
94802
- return "0.25.2-next.8";
94807
+ return "0.25.2-next.9";
94803
94808
  }
94804
94809
  return "0.0.0";
94805
94810
  }
@@ -96058,8 +96063,8 @@ var DependencyMissingError = class extends Error {
96058
96063
  var CACHE_TTL_MS2 = 6e4;
96059
96064
  var cache3 = /* @__PURE__ */ new Map();
96060
96065
  var INSTALL_HINTS = {
96061
- "xcrun": "Xcode command-line tools are not installed. Run `xcode-select --install` (or install Xcode from the App Store) and retry. Only required for iOS simulators.",
96062
- "adb": "Android SDK Platform Tools not found. Install with `brew install --cask android-platform-tools` or via Android Studio \u2192 SDK Manager. If installed, ensure `adb` is on PATH or point `$ANDROID_HOME` (or the `android.sdkRoot` config key) at the SDK root (the resolver checks `<root>/platform-tools/adb`). Only required for Android devices and emulators.",
96066
+ "xcrun": "Xcode command-line tools not found \u2014 iOS/tvOS simulators need a macOS host with them installed. On macOS, run `xcode-select --install` (or install Xcode from the App Store) and retry.",
96067
+ "adb": "Android SDK Platform Tools not found. Install `platform-tools` via Android Studio \u2192 SDK Manager or `sdkmanager 'platform-tools'` (`brew install --cask android-platform-tools` on macOS). If installed, ensure `adb` is on PATH or point `$ANDROID_HOME` (or the `android.sdkRoot` config key) at the SDK root (the resolver checks `<root>/platform-tools/adb`). Only required for Android devices and emulators.",
96063
96068
  "emulator": "Android Emulator not found. Install via Android Studio \u2192 SDK Manager \u2192 Emulator, or `sdkmanager 'emulator'`. If installed, ensure `emulator` is on PATH or point `$ANDROID_HOME` (or the `android.sdkRoot` config key) at the SDK root (the resolver checks `<root>/emulator/emulator`). Only required to launch new Android emulators via `boot-device`.",
96064
96069
  "sim-remote": "`sim-remote` CLI not found on PATH. Install via the radon-cloud project (see its README) and run `sim-remote login` before invoking any ios-remote tool. Only required for remote iOS simulators.",
96065
96070
  "vega": "Vega SDK CLI not found. Install the Amazon Vega SDK and run `source ~/vega/env` so `vega` (or its `kepler` alias) is on PATH; the resolver also checks `~/vega/bin/vega`. Only required for Vega (Fire TV) devices."
@@ -142732,7 +142737,7 @@ async function startCaptureLocked(api, params) {
142732
142737
  const ffmpeg = await resolveFfmpeg();
142733
142738
  if (!ffmpeg) {
142734
142739
  throw new FailureError(
142735
- "`ffmpeg` was not found on PATH. Install it (e.g. `brew install ffmpeg`) to record the screen.",
142740
+ "`ffmpeg` was not found on PATH. Install a build with libx264 (`brew install ffmpeg` on macOS, `apt install ffmpeg` on Debian/Ubuntu) and retry.",
142736
142741
  {
142737
142742
  error_code: FAILURE_CODES.SCREEN_RECORDING_FFMPEG_NOT_FOUND,
142738
142743
  failure_stage: "screen_recording_resolve_ffmpeg",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.25.2-next.8",
3
+ "version": "0.25.2-next.9",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator and Android Emulator control",
6
6
  "license": "Apache-2.0",
@@ -44,5 +44,5 @@ A recording does not stop itself before its `timeLimitSeconds` cap, so a forgott
44
44
  - **The timeline is paced to a steady 30 fps**: a device only emits a frame when its screen changes, so captured frames are re-paced onto a fixed timeline rather than bunching up. With static-frame trimming off (`trimStatic: false`) that timeline is wall-clock accurate — a completely still screen still comes back as a full-length video (compressing to almost nothing) and `durationMs` matches the time you actually recorded. With trimming on (the default, see §3) still stretches past the grace window are collapsed, so `durationMs` is the trimmed video length and `wallClockMs` carries the real elapsed time.
45
45
  - **Android**: records at the device's native resolution; secure screens (DRM, some password fields) come out black.
46
46
  - **Unsupported**: tvOS simulators, physical iPhones, Chromium apps, Vega/Fire TV, and remote (`remote:`-prefixed) simulators — none of them expose a readable frame stream. For a single still frame use `screenshot`; for a replayable interaction script use `argent-create-flow` instead of a video.
47
- - **ffmpeg is required**: it is the encoder, so `screen-recording-start` fails up front with an install hint if it is missing (`brew install ffmpeg`). It is resolved from `PATH` plus the usual Homebrew prefixes.
47
+ - **ffmpeg is required**: it is the encoder, so `screen-recording-start` fails up front with an install hint if it is missing (`brew install ffmpeg` on macOS). It is resolved from `PATH` plus the usual Homebrew prefixes.
48
48
  - **Watermark**: the Argent logo + "By @swmansion" is stamped bottom-left while encoding, faint (20% opacity) and per-pixel contrast-matched to the background (light logo over dark UI, dark logo over light UI). On by default — turn it off with `argent disable video-watermark` (re-enable with `argent enable video-watermark`). The flag is read when the recording starts.