@swmansion/argent 0.34.1-next.61 → 0.34.1-next.63

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Ad](https://swm-delivery.com/www/images/zone-gh-argent-2?n=1)](https://swm-delivery.com/www/delivery/ck-slug.php?zoneid=zone-gh-argent-2&n=1)
8
8
  [![Ad](https://swm-delivery.com/www/images/zone-gh-argent-3?n=1)](https://swm-delivery.com/www/delivery/ck-slug.php?zoneid=zone-gh-argent-3&n=1)
9
9
 
10
- **[Argent](https://argent.swmansion.com)** gives your AI assistant direct control of iOS simulators, Android emulators and devices, TVs (Apple TV, Android TV, Fire TV), Electron/Chromium apps and native Mac apps. Tap a button, profile a screen, reproduce a bug - without leaving the CLI.
10
+ **[Argent](https://argent.swmansion.com)** is an MCP server, CLI and agent skills that let AI coding agents (Claude Code, Codex, Cursor and others) control iOS simulators, Android emulators and devices, TVs (Apple TV, Android TV, Fire TV), Electron/Chromium apps and native Mac apps. Tap a button, profile a screen, reproduce a bug - without leaving the CLI.
11
11
 
12
12
  ```bash
13
13
  npx @swmansion/argent@latest init # pnpm: pnpm dlx @swmansion/argent@latest init
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -36289,7 +36289,7 @@ function isCi(env = process.env) {
36289
36289
  var SESSION_ID2 = randomUUID5();
36290
36290
  function readCliVersion() {
36291
36291
  if (true) {
36292
- return "0.34.1-next.61";
36292
+ return "0.34.1-next.63";
36293
36293
  }
36294
36294
  return "0.0.0";
36295
36295
  }
@@ -16946,7 +16946,7 @@ function isCi(env = process.env) {
16946
16946
  var SESSION_ID = randomUUID4();
16947
16947
  function readCliVersion() {
16948
16948
  if (true) {
16949
- return "0.34.1-next.61";
16949
+ return "0.34.1-next.63";
16950
16950
  }
16951
16951
  return "0.0.0";
16952
16952
  }
@@ -79,7 +79,7 @@ export interface ArgentToolArgs {
79
79
  electronPort?: number;
80
80
  /** Electron-only: extra CLI arguments forwarded to the Electron binary after the app path. */
81
81
  electronArgs?: Array<string>;
82
- /** Mac app: path to the .app bundle to start with the argent library; its device id is `macos-app-<bundle id>`. A Release build with the hardened runtime cannot be driven; a hardened Debug build needs the step the error names. */
82
+ /** Mac app: path to the .app bundle to start with the argent library; its device id is `macos-app-<bundle id>`. An exported or notarized Release build with the hardened runtime cannot be driven without extra entitlements; a hardened Debug build needs the step the error names. */
83
83
  macosAppPath?: string;
84
84
  /** Mac app only: arguments for the app executable. Omitted, the app starts with none, also when an earlier start had some. */
85
85
  macosAppArgs?: Array<string>;
@@ -101448,7 +101448,7 @@ function isCi(env = process.env) {
101448
101448
  var SESSION_ID = (0, import_node_crypto3.randomUUID)();
101449
101449
  function readCliVersion() {
101450
101450
  if (true) {
101451
- return "0.34.1-next.61";
101451
+ return "0.34.1-next.63";
101452
101452
  }
101453
101453
  return "0.0.0";
101454
101454
  }
@@ -127667,6 +127667,7 @@ async function removeUnusedLibraries(libRoot, keep) {
127667
127667
  } catch {
127668
127668
  }
127669
127669
  }
127670
+ var EXPORTED_RELEASE_NOTE = "An exported or notarized Release build with the hardened runtime cannot be driven without extra entitlements.";
127670
127671
  async function signatureTeam(file2) {
127671
127672
  try {
127672
127673
  return parseCodesignDisplay(await execFileAsync16("codesign", ["-dv", file2], { timeout: 1e4 })).teamId;
@@ -127696,7 +127697,7 @@ async function stageLibraryFor(info, shipped, readTeam = signatureTeam) {
127696
127697
  throw macosFailure(
127697
127698
  `${info.bundleId} is a ${debug ? "Debug" : "release"} build with the hardened runtime, signed by the team ${teamId}, so macOS loads the argent library into it only when the same team signed the library. Either build it without the hardened runtime (ENABLE_HARDENED_RUNTIME = NO in the Debug configuration), add the entitlement com.apple.security.cs.disable-library-validation to the Debug build, or sign argent's library with your own Apple Development identity of team ${teamId}:
127698
127699
  codesign --force --sign "<identity of team ${teamId}>" ${files.map((file2) => `"${file2}"`).join(" ")}
127699
- then start the app again. Signing uses the keychain, so the user runs this command, not the agent.${debug ? " A Release build with the hardened runtime cannot be driven." : ""}`,
127700
+ then start the app again. Signing uses the keychain, so the user runs this command, not the agent.${debug ? ` ${EXPORTED_RELEASE_NOTE}` : ""}`,
127700
127701
  FAILURE_CODES.MACOS_APP_HARDENED_RUNTIME,
127701
127702
  "macos_app_launch",
127702
127703
  "unsupported"
@@ -128084,7 +128085,7 @@ function hardenedRuntimeRefusal(info) {
128084
128085
  if (!getTaskAllow) {
128085
128086
  return `${info.bundleId} is a release build with the hardened runtime and the entitlement com.apple.security.cs.allow-dyld-environment-variables, signed ad hoc, so macOS loads the argent library into it only with the entitlement com.apple.security.cs.disable-library-validation. Start its Debug build instead.`;
128086
128087
  }
128087
- return `${info.bundleId} is a Debug build with the hardened runtime, so macOS does not load the argent library into it. Build it without the hardened runtime (ENABLE_HARDENED_RUNTIME = NO in the Debug configuration), or add the entitlement com.apple.security.cs.disable-library-validation to the Debug build. A Release build with the hardened runtime cannot be driven.`;
128088
+ return `${info.bundleId} is a Debug build with the hardened runtime, so macOS does not load the argent library into it. Build it without the hardened runtime (ENABLE_HARDENED_RUNTIME = NO in the Debug configuration), or add the entitlement com.apple.security.cs.disable-library-validation to the Debug build. ${EXPORTED_RELEASE_NOTE}`;
128088
128089
  }
128089
128090
  async function findMacosAppByBundleId(bundleId) {
128090
128091
  if (!isMacosBundleId(bundleId)) return null;
@@ -157976,7 +157977,7 @@ var zodSchema10 = external_exports.object({
157976
157977
  "Electron-only: extra CLI arguments forwarded to the Electron binary after the app path."
157977
157978
  ),
157978
157979
  macosAppPath: external_exports.string().optional().describe(
157979
- "Mac app: path to the .app bundle to start with the argent library; its device id is `macos-app-<bundle id>`. A Release build with the hardened runtime cannot be driven; a hardened Debug build needs the step the error names."
157980
+ "Mac app: path to the .app bundle to start with the argent library; its device id is `macos-app-<bundle id>`. An exported or notarized Release build with the hardened runtime cannot be driven without extra entitlements; a hardened Debug build needs the step the error names."
157980
157981
  ).meta({ [FLAG_META_KEY]: MACOS_APPS_FLAG }),
157981
157982
  macosAppArgs: external_exports.array(external_exports.string()).optional().describe(
157982
157983
  "Mac app only: arguments for the app executable. Omitted, the app starts with none, also when an earlier start had some."
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.34.1-next.61",
3
+ "version": "0.34.1-next.63",
4
4
  "mcpName": "io.github.software-mansion/argent",
5
5
  "description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
6
6
  "license": "Apache-2.0",