@swmansion/argent 0.25.1-next.25 → 0.25.1-next.26

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.25";
21860
+ return "0.25.1-next.26";
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.25";
16713
+ return "0.25.1-next.26";
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.25";
94707
+ return "0.25.1-next.26";
94708
94708
  }
94709
94709
  return "0.0.0";
94710
94710
  }
@@ -121302,6 +121302,10 @@ function dispatchByPlatform(opts) {
121302
121302
  };
121303
121303
  }
121304
121304
 
121305
+ // ../tool-server/src/utils/bundle-id.ts
121306
+ var BUNDLE_ID_PATTERN = /^[A-Za-z0-9_][A-Za-z0-9._-]*$/;
121307
+ var BUNDLE_ID_MESSAGE = "bundleId may only contain letters, digits, '.', '_' and '-', and may not start with '-' or '.'";
121308
+
121305
121309
  // ../tool-server/src/tools/launch-app/platforms/ios.ts
121306
121310
  var import_node_child_process25 = require("node:child_process");
121307
121311
  var import_node_util18 = require("node:util");
@@ -121551,11 +121555,10 @@ var vegaImpl = {
121551
121555
  };
121552
121556
 
121553
121557
  // ../tool-server/src/tools/launch-app/index.ts
121554
- var BUNDLE_ID_PATTERN = /^[A-Za-z_][A-Za-z0-9._-]*$/;
121555
121558
  var ACTIVITY_PATTERN = /^[A-Za-z_.][A-Za-z0-9._/-]*$/;
121556
121559
  var zodSchema10 = external_exports.object({
121557
121560
  udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id)."),
121558
- bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN, "bundleId may only contain letters, digits, '.', '_' and '-'").describe(
121561
+ bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).describe(
121559
121562
  "App identifier. iOS: bundle id (e.g. com.apple.MobileSMS). Android: package name from build.gradle `applicationId` (e.g. com.android.settings). Chromium: any tag matching the same alphabet (letters, digits, '.', '_' and '-'); the call is a no-op since the renderer is already running."
121560
121563
  ),
121561
121564
  activity: external_exports.string().regex(ACTIVITY_PATTERN, "activity may only contain letters, digits, '.', '_', '-' and '/'").optional().describe(
@@ -121765,11 +121768,10 @@ var vegaImpl2 = {
121765
121768
  };
121766
121769
 
121767
121770
  // ../tool-server/src/tools/restart-app/index.ts
121768
- var BUNDLE_ID_PATTERN2 = /^[A-Za-z_][A-Za-z0-9._-]*$/;
121769
121771
  var ACTIVITY_PATTERN2 = /^[A-Za-z_.][A-Za-z0-9._/-]*$/;
121770
121772
  var zodSchema11 = external_exports.object({
121771
121773
  udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
121772
- bundleId: external_exports.string().min(1).regex(BUNDLE_ID_PATTERN2, "bundleId may only contain letters, digits, '.', '_' and '-'").describe("App identifier. iOS: bundle id. Android: package name."),
121774
+ bundleId: external_exports.string().min(1).regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).describe("App identifier. iOS: bundle id. Android: package name."),
121773
121775
  activity: external_exports.string().regex(ACTIVITY_PATTERN2, "activity may only contain letters, digits, '.', '_', '-' and '/'").optional().describe(
121774
121776
  "Android-only: relaunch a non-launcher Activity (e.g. `.SettingsActivity` or `com.example/com.example.SettingsActivity`). If omitted, the app's default launcher activity is used. Ignored on iOS."
121775
121777
  )
@@ -121951,10 +121953,9 @@ ${stderr}`;
121951
121953
  };
121952
121954
 
121953
121955
  // ../tool-server/src/tools/reinstall-app/index.ts
121954
- var BUNDLE_ID_PATTERN3 = /^[A-Za-z_][A-Za-z0-9._-]*$/;
121955
121956
  var zodSchema12 = external_exports.object({
121956
121957
  udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID or Android serial)."),
121957
- bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN3, "bundleId may only contain letters, digits, '.', '_' and '-'").describe(
121958
+ bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).describe(
121958
121959
  "App identifier that matches the bundle at `appPath`. iOS: bundle id (used to uninstall first). Android: package name (used to uninstall first; the install itself identifies the app from the APK). Vega: interactive component app id (e.g. com.example.app.main), used to uninstall first."
121959
121960
  ),
121960
121961
  appPath: external_exports.string().describe(
@@ -122274,7 +122275,6 @@ var androidImpl4 = {
122274
122275
  };
122275
122276
 
122276
122277
  // ../tool-server/src/tools/settings-permissions/index.ts
122277
- var BUNDLE_ID_PATTERN4 = /^[A-Za-z_][A-Za-z0-9._-]*$/;
122278
122278
  var zodSchema13 = external_exports.object({
122279
122279
  udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS simulator UDID or Android serial)."),
122280
122280
  action: external_exports.enum(PERMISSION_ACTIONS).describe(
@@ -122283,7 +122283,7 @@ var zodSchema13 = external_exports.object({
122283
122283
  permission: external_exports.enum(PERMISSION_NAMES).describe(
122284
122284
  "The permission to change. `notifications` is Android-only (iOS has no simctl service for it); `reminders` is iOS-only; `camera` works on Android and on iOS only when the target simulator's runtime models the service (varies by simruntime, not by the installed Xcode)."
122285
122285
  ),
122286
- bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN4, "bundleId may only contain letters, digits, '.', '_' and '-'").describe(
122286
+ bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).describe(
122287
122287
  "App to change the permission for \u2014 required for every action. iOS: bundle id (e.g. com.example.app). Android: package name. `reset` is per-app too: simctl's device-wide reset (no bundleId) silently leaves existing per-app grants untouched on recent iOS, so the permission is always reset for this one app."
122288
122288
  )
122289
122289
  });
@@ -122447,13 +122447,12 @@ var chromiumImpl2 = {
122447
122447
  };
122448
122448
 
122449
122449
  // ../tool-server/src/tools/open-url/index.ts
122450
- var BUNDLE_ID_PATTERN5 = /^[A-Za-z_][A-Za-z0-9._-]*$/;
122451
122450
  var zodSchema14 = external_exports.object({
122452
122451
  udid: external_exports.string().min(1).describe("Target device id from `list-devices` (iOS UDID, Android serial, or Chromium id)."),
122453
122452
  url: external_exports.string().describe(
122454
122453
  "URL or scheme to open (e.g. https://example.com, messages://, tel:555, geo:37.0,-122.0). For Chromium this navigates the renderer."
122455
122454
  ),
122456
- bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN5, "bundleId may only contain letters, digits, '.', '_' and '-'").optional().describe(
122455
+ bundleId: external_exports.string().regex(BUNDLE_ID_PATTERN, BUNDLE_ID_MESSAGE).optional().describe(
122457
122456
  "Physical iOS only: the app that receives the URL. Defaults to Safari for http(s); required for any other scheme. Ignored elsewhere."
122458
122457
  )
122459
122458
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.25.1-next.25",
3
+ "version": "0.25.1-next.26",
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",