@swmansion/argent 0.25.1-next.21 → 0.25.1-next.22

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
@@ -21857,7 +21857,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
21857
21857
  var SESSION_ID2 = randomUUID5();
21858
21858
  function readCliVersion() {
21859
21859
  if (true) {
21860
- return "0.25.1-next.21";
21860
+ return "0.25.1-next.22";
21861
21861
  }
21862
21862
  return "0.0.0";
21863
21863
  }
@@ -23211,7 +23211,8 @@ Subcommands:
23211
23211
 
23212
23212
  Options (run):
23213
23213
  --device <id> Device id to run against (auto-detected when omitted)
23214
- --platform <p> ios | android | chromium | vega \u2014 narrow auto-detection
23214
+ --platform <p> ios | android | chromium | vega | ios-remote \u2014 narrow
23215
+ auto-detection (ios never picks a remote simulator)
23215
23216
  --update-baselines Write/refresh screenshot baselines instead of diffing
23216
23217
  --output <dir> Also write failed snapshot images (baseline/current/diff)
23217
23218
  under <dir>/<flow>/ \u2014 a stable path for CI artifact
@@ -16710,7 +16710,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16710
16710
  var SESSION_ID = randomUUID4();
16711
16711
  function readCliVersion() {
16712
16712
  if (true) {
16713
- return "0.25.1-next.21";
16713
+ return "0.25.1-next.22";
16714
16714
  }
16715
16715
  return "0.0.0";
16716
16716
  }
@@ -94704,7 +94704,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94704
94704
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94705
94705
  function readCliVersion() {
94706
94706
  if (true) {
94707
- return "0.25.1-next.21";
94707
+ return "0.25.1-next.22";
94708
94708
  }
94709
94709
  return "0.0.0";
94710
94710
  }
@@ -146123,6 +146123,7 @@ function isIdleCondition(raw, kind) {
146123
146123
  return true;
146124
146124
  }
146125
146125
  var LAUNCH_PLATFORMS = ["ios", "android", "chromium", "vega"];
146126
+ var SELECTABLE_PLATFORMS = [...LAUNCH_PLATFORMS, "ios-remote"];
146126
146127
  var LAUNCH_MAP_KEYS = ["native", ...LAUNCH_PLATFORMS];
146127
146128
  function parseChromiumLaunch(raw) {
146128
146129
  if (typeof raw === "string" && raw.length > 0) return raw;
@@ -147375,7 +147376,7 @@ var DEVICE_BIND_KEYS = ["udid", "device_id", "device"];
147375
147376
  var DEVICE_BIND_LIST_KEYS = ["devices"];
147376
147377
  var DEVICE_ARG_KEYS = DEVICE_BIND_KEYS;
147377
147378
  function deviceEntryId(d) {
147378
- if (d.platform === "ios") return d.udid;
147379
+ if (d.platform === "ios" || d.platform === "ios-remote") return d.udid;
147379
147380
  if (d.platform === "chromium") return d.id;
147380
147381
  return d.serial;
147381
147382
  }
@@ -147383,6 +147384,8 @@ function isBooted(d) {
147383
147384
  switch (d.platform) {
147384
147385
  case "ios":
147385
147386
  return d.state === "Booted";
147387
+ case "ios-remote":
147388
+ return d.state === "Booted";
147386
147389
  case "android":
147387
147390
  return d.state === "device";
147388
147391
  case "vega":
@@ -154061,8 +154064,8 @@ var zodSchema66 = external_exports.object({
154061
154064
  device: external_exports.string().optional().describe(
154062
154065
  "Device id to run against (iOS UDID, Android/Vega serial, Chromium id) \u2014 the id list-devices reports. Auto-detected when omitted, but only when exactly one booted device matches (optionally narrowed by `platform`); with several booted the run fails and lists them, so pass this explicitly whenever more than one device is up."
154063
154066
  ),
154064
- platform: external_exports.enum(LAUNCH_PLATFORMS).optional().describe(
154065
- "Restrict auto-detection to this platform when several devices are booted. `chromium` does more than filter: with no `device` it SELECTS the self-boot branch for an e2e flow - the runner boots an Electron instance from the `launch` step's chromium value and tears it down after the run (a single-key `launch: { chromium: \u2026 }` map selects it on its own, without this parameter). When it selects that branch it never falls back to device auto-detection (a fragment, or an e2e launch map with no `chromium` key, still does), and the launch value must be a real Electron app path on the tool-server host: a bare-string `launch:` - what the recorder writes - holds an installed-app bundle id, so passing `chromium` for one fails the whole run with `Electron boot: path does not exist`. Edit the launch to `{ chromium: <app path> }` first."
154067
+ platform: external_exports.enum(SELECTABLE_PLATFORMS).optional().describe(
154068
+ "Restrict auto-detection to this platform when several devices are booted. `ios` selects local simulators only \u2014 pass `ios-remote` to select a remote one. `chromium` does more than filter: with no `device` it SELECTS the self-boot branch for an e2e flow - the runner boots an Electron instance from the `launch` step's chromium value and tears it down after the run (a single-key `launch: { chromium: \u2026 }` map selects it on its own, without this parameter). When it selects that branch it never falls back to device auto-detection (a fragment, or an e2e launch map with no `chromium` key, still does), and the launch value must be a real Electron app path on the tool-server host: a bare-string `launch:` - what the recorder writes - holds an installed-app bundle id, so passing `chromium` for one fails the whole run with `Electron boot: path does not exist`. Edit the launch to `{ chromium: <app path> }` first."
154066
154069
  ),
154067
154070
  updateBaselines: external_exports.boolean().optional().describe(
154068
154071
  "Write/refresh screenshot baselines for `snapshot` steps instead of diffing against them."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.25.1-next.21",
3
+ "version": "0.25.1-next.22",
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",