@swmansion/argent 0.29.1-next.3 → 0.29.1-next.5

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
@@ -24771,7 +24771,7 @@ async function uploadFile(sourcePath, endpoint, signal) {
24771
24771
  const tarPath = path4.join(tmpdir(), `argent-upload-${randomUUID3()}.tar.gz`);
24772
24772
  trackArchive(tarPath);
24773
24773
  try {
24774
- await createTarGzFile(sourcePath, tarPath);
24774
+ await createTarGzFile(await realpath2(sourcePath), tarPath);
24775
24775
  const contentHash = await sha256File(tarPath);
24776
24776
  return { uploadId: await uploadTar(tarPath, endpoint, signal), contentHash };
24777
24777
  } finally {
@@ -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.3";
30098
+ return "0.29.1-next.5";
30099
30099
  }
30100
30100
  return "0.0.0";
30101
30101
  }
package/dist/client.js CHANGED
@@ -9355,7 +9355,7 @@ async function uploadFile(sourcePath, endpoint, signal) {
9355
9355
  const tarPath = path9.join(tmpdir(), `argent-upload-${randomUUID4()}.tar.gz`);
9356
9356
  trackArchive(tarPath);
9357
9357
  try {
9358
- await createTarGzFile(sourcePath, tarPath);
9358
+ await createTarGzFile(await realpath2(sourcePath), tarPath);
9359
9359
  const contentHash = await sha256File(tarPath);
9360
9360
  return { uploadId: await uploadTar(tarPath, endpoint, signal), contentHash };
9361
9361
  } finally {
@@ -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.3";
16742
+ return "0.29.1-next.5";
16743
16743
  }
16744
16744
  return "0.0.0";
16745
16745
  }
@@ -24429,7 +24429,7 @@ async function uploadFile(sourcePath, endpoint, signal) {
24429
24429
  const tarPath = path4.join(tmpdir(), `argent-upload-${randomUUID3()}.tar.gz`);
24430
24430
  trackArchive(tarPath);
24431
24431
  try {
24432
- await createTarGzFile(sourcePath, tarPath);
24432
+ await createTarGzFile(await realpath2(sourcePath), tarPath);
24433
24433
  const contentHash = await sha256File(tarPath);
24434
24434
  return { uploadId: await uploadTar(tarPath, endpoint, signal), contentHash };
24435
24435
  } finally {
@@ -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.3";
94926
+ return "0.29.1-next.5";
94927
94927
  }
94928
94928
  return "0.0.0";
94929
94929
  }
@@ -153133,7 +153133,7 @@ var DIRECTIVE_COMMAND_HINTS = {
153133
153133
  launch: {
153134
153134
  tool: "restart-app",
153135
153135
  rewritten: true,
153136
- rewriteCondition: "when it carries only the bundle id (a call with an extra arg, e.g. an Android `activity`, is kept as a raw `tool: restart-app` step to convert during polish)"
153136
+ rewriteCondition: "when it carries only the bundle id, or `launchArgs` on iOS (any other extra arg, e.g. an Android `activity`, is kept as a raw `tool: restart-app` step, since no `launch:` form carries it)"
153137
153137
  },
153138
153138
  run: {
153139
153139
  tool: "flow-execute",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swmansion/argent",
3
- "version": "0.29.1-next.3",
3
+ "version": "0.29.1-next.5",
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",
package/rules/argent.md CHANGED
@@ -119,7 +119,7 @@ Prompt keywords: physical iPhone, real device, on my phone, USB, hardware
119
119
 
120
120
  TAPPING, SWIPING, TYPING, GESTURES, SCREENSHOTS, SCROLLING
121
121
  Skill: `argent-device-interact`
122
- When: Performing touch interactions, typing, pressing hardware buttons, launching/restarting apps, opening URLs, rotating or folding the device, taking standalone screenshots, or verifying a visible UI code change. Phone/tablet iOS and Android simulators and emulators only: for any TV target use the TV skill below, and for a physical iPhone use the entry above.
122
+ When: Performing touch interactions, typing, pressing hardware buttons, launching/restarting apps, opening URLs, rotating or folding the device, taking standalone screenshots, or verifying a visible UI code change. Covers phone/tablet iOS and Android simulators and emulators plus Chromium (CDP) apps: for any TV target use the TV skill below, and for a physical iPhone use the entry above.
123
123
 
124
124
  APP PERMISSIONS (GRANT / DENY / RESET WITHOUT THE SETTINGS UI)
125
125
  Skill: `argent-settings-permissions`
@@ -42,7 +42,7 @@ With two or more devices on one Metro, `debugger-connect` refuses a udid/serial
42
42
 
43
43
  | Tool | Purpose |
44
44
  | ----------------------- | --------------------------------------------------------------------------------------------- |
45
- | `debugger-reload-metro` | Reload all connected apps (like pressing "r" in Metro terminal). Needs a CDP target. |
45
+ | `debugger-reload-metro` | Reload the `device_id` app (all apps on the port when `method: "http"`). Needs a CDP target. |
46
46
  | `restart-app` | Terminate and relaunch the app by device id and bundleId. Use when app lost Metro connection. |
47
47
 
48
48
  ### Inspection & console