@swmansion/argent 0.29.1-next.0 → 0.29.1-next.2

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
@@ -30095,7 +30095,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
30095
30095
  var SESSION_ID2 = randomUUID5();
30096
30096
  function readCliVersion() {
30097
30097
  if (true) {
30098
- return "0.29.1-next.0";
30098
+ return "0.29.1-next.2";
30099
30099
  }
30100
30100
  return "0.0.0";
30101
30101
  }
@@ -31532,6 +31532,9 @@ function parseRunArgs(argv) {
31532
31532
  json: options.json === true,
31533
31533
  jsonStream: options["json-stream"] === true
31534
31534
  };
31535
+ for (const name of ["device", "platform", "output"]) {
31536
+ if (options[name] === "") throw new FlagParseException(`--${name} requires a value`);
31537
+ }
31535
31538
  if (positionals[0] !== void 0) out.flowRef = positionals[0];
31536
31539
  if (options.device !== void 0) out.device = options.device;
31537
31540
  if (options.platform !== void 0) out.platform = options.platform;
@@ -33476,6 +33479,7 @@ function parseArgs(argv) {
33476
33479
  if (positionals.length > 0) {
33477
33480
  throw new UsageError(`Unexpected argument "${positionals[0]}"`);
33478
33481
  }
33482
+ if (options.agent === "") throw new UsageError("--agent requires a value");
33479
33483
  return {
33480
33484
  terminal: options.terminal,
33481
33485
  agent: options.agent,
@@ -35530,6 +35534,7 @@ function parseLinkFlags(argv) {
35530
35534
  }
35531
35535
  if (options.host !== void 0) flags2.host = validateHost(options.host);
35532
35536
  if (options.port !== void 0) flags2.port = validateConnectPort(options.port);
35537
+ if (options.token === "") throw new StartFlagError("--token requires a value");
35533
35538
  if (options.token !== void 0) flags2.token = options.token;
35534
35539
  return flags2;
35535
35540
  }
@@ -16739,7 +16739,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16739
16739
  var SESSION_ID = randomUUID4();
16740
16740
  function readCliVersion() {
16741
16741
  if (true) {
16742
- return "0.29.1-next.0";
16742
+ return "0.29.1-next.2";
16743
16743
  }
16744
16744
  return "0.0.0";
16745
16745
  }
@@ -94923,7 +94923,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
94923
94923
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
94924
94924
  function readCliVersion() {
94925
94925
  if (true) {
94926
- return "0.29.1-next.0";
94926
+ return "0.29.1-next.2";
94927
94927
  }
94928
94928
  return "0.0.0";
94929
94929
  }
@@ -120076,10 +120076,15 @@ var jsRuntimeDebuggerBlueprint = {
120076
120076
  }
120077
120077
  await cdp.send("ReactNativeApplication.enable", {}).catch(ignore);
120078
120078
  await cdp.send("Runtime.enable");
120079
- await cdp.send("Debugger.enable", { maxScriptsCacheSize: 1e8 });
120079
+ const enableDebugger = !!proxied || selected.target.reactNative?.capabilities?.prefersFuseboxFrontend !== true;
120080
+ if (enableDebugger) {
120081
+ await cdp.send("Debugger.enable", { maxScriptsCacheSize: 1e8 });
120082
+ }
120080
120083
  if (!proxied) {
120081
- await cdp.send("Debugger.setPauseOnExceptions", { state: "none" });
120082
- await cdp.send("Debugger.setAsyncCallStackDepth", { maxDepth: 32 }).catch(ignore);
120084
+ if (enableDebugger) {
120085
+ await cdp.send("Debugger.setPauseOnExceptions", { state: "none" });
120086
+ await cdp.send("Debugger.setAsyncCallStackDepth", { maxDepth: 32 }).catch(ignore);
120087
+ }
120083
120088
  await cdp.send("Runtime.runIfWaitingForDebugger").catch(ignore);
120084
120089
  }
120085
120090
  await cdp.addBinding("__argent_callback");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.29.1-next.0",
3
+ "version": "0.29.1-next.2",
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",