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

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.22";
21860
+ return "0.25.1-next.24";
21861
21861
  }
21862
21862
  return "0.0.0";
21863
21863
  }
@@ -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.22";
16713
+ return "0.25.1-next.24";
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.22";
94707
+ return "0.25.1-next.24";
94708
94708
  }
94709
94709
  return "0.0.0";
94710
94710
  }
@@ -109023,7 +109023,7 @@ async function discoverPrimaryPage(port, signal) {
109023
109023
  );
109024
109024
  }
109025
109025
  throw new FailureError(
109026
- `Chromium CDP on port ${port} reported no page targets. Is the app started with --remote-debugging-port=${port}?`,
109026
+ `Chromium CDP on port ${port} answered but exposes no page target (the app is running with no window). Open an app window and retry.`,
109027
109027
  {
109028
109028
  error_code: FAILURE_CODES.CHROMIUM_CDP_NO_PAGE_TARGET,
109029
109029
  failure_stage: "chromium_cdp_discover_page_none",
@@ -122069,7 +122069,7 @@ function buildIosHandler(backend) {
122069
122069
  const { udid, action, permission, bundleId } = params;
122070
122070
  const services = IOS_SERVICES[permission];
122071
122071
  if (services.length === 0) {
122072
- throw new FailureError(
122072
+ throw new InvalidToolInputError(
122073
122073
  `Permission '${permission}' cannot be changed on the iOS simulator \u2014 \`xcrun simctl privacy\` has no service for it. Interact with the notification permission dialog in the app instead.`,
122074
122074
  {
122075
122075
  error_code: FAILURE_CODES.SETTINGS_PERMISSION_UNSUPPORTED,
@@ -122204,7 +122204,7 @@ var androidImpl4 = {
122204
122204
  const { udid, action, permission, bundleId } = params;
122205
122205
  const permissions = permissionsFor(permission, action);
122206
122206
  if (permissions.length === 0) {
122207
- throw new FailureError(
122207
+ throw new InvalidToolInputError(
122208
122208
  `Permission '${permission}' has no Android runtime-permission equivalent, so there is nothing to ${action}.`,
122209
122209
  {
122210
122210
  error_code: FAILURE_CODES.SETTINGS_PERMISSION_UNSUPPORTED,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.25.1-next.22",
3
+ "version": "0.25.1-next.24",
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",