@swmansion/argent 0.31.1-next.9 → 0.31.2-next.0

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.
Files changed (31) hide show
  1. package/bin/argent-android-devtools-0.3.0.apk +0 -0
  2. package/bin/darwin/ax-service +0 -0
  3. package/bin/darwin/tvos-ax-service +0 -0
  4. package/bin/darwin/tvos-hid-daemon +0 -0
  5. package/bin/tcp/ax-service +0 -0
  6. package/dist/cli-cmds.mjs +10 -5
  7. package/dist/installer.mjs +525 -312
  8. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentRunnerSession+Commands.swift +2 -0
  9. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentRunnerSession+Gestures.swift +96 -0
  10. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentRunnerUITests-Bridging-Header.h +1 -0
  11. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentTouchSynthesizer.h +40 -0
  12. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentTouchSynthesizer.m +149 -0
  13. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/RunnerProtocol.swift +22 -5
  14. package/dist/mcp-server.mjs +7 -1
  15. package/dist/tool-args.generated.d.ts +2 -2
  16. package/dist/tool-server.cjs +1531 -992
  17. package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
  18. package/dylibs/libKeyboardPatch.dylib +0 -0
  19. package/dylibs/libNativeDevtoolsIos.dylib +0 -0
  20. package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
  21. package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
  22. package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
  23. package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
  24. package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
  25. package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
  26. package/package.json +1 -1
  27. package/rules/argent.md +1 -1
  28. package/skills/argent-create-e2e/SKILL.md +1 -1
  29. package/skills/argent-ios-device-interact/SKILL.md +3 -3
  30. package/skills/argent-qa-e2e/SKILL.md +1 -1
  31. package/skills/argent-screen-recording/SKILL.md +5 -4
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -10741,6 +10741,9 @@ var FAILURE_COMMANDS = [
10741
10741
  "hdc",
10742
10742
  "deveco_emulator",
10743
10743
  "xcrun_simctl",
10744
+ // The `sim-remote` CLI, which stands in for simctl (and more) against a
10745
+ // remote simulator.
10746
+ "sim_remote",
10744
10747
  "xctrace",
10745
10748
  "native_devtools",
10746
10749
  "android_devtools",
@@ -35737,7 +35740,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
35737
35740
  var SESSION_ID2 = randomUUID5();
35738
35741
  function readCliVersion() {
35739
35742
  if (true) {
35740
- return "0.31.1-next.8";
35743
+ return "0.31.2-next.0";
35741
35744
  }
35742
35745
  return "0.0.0";
35743
35746
  }
@@ -38156,7 +38159,7 @@ Listing tools contacts the argent tool-server, starting one if none is running.
38156
38159
  // ../argent-cli/src/server.ts
38157
38160
  import * as fs13 from "node:fs";
38158
38161
  import * as path19 from "node:path";
38159
- import { homedir as homedir5, networkInterfaces } from "node:os";
38162
+ import { constants as constants2, homedir as homedir5, networkInterfaces } from "node:os";
38160
38163
  import { spawn as spawn3 } from "node:child_process";
38161
38164
  var STATE_DIR2 = path19.join(homedir5(), ".argent");
38162
38165
  var LOG_FILE2 = path19.join(STATE_DIR2, "tool-server.log");
@@ -38232,7 +38235,10 @@ function logsCmd(follow) {
38232
38235
  return;
38233
38236
  }
38234
38237
  const child = spawn3("tail", ["-f", LOG_FILE2], { stdio: "inherit" });
38235
- child.on("exit", (code) => process.exit(code ?? 0));
38238
+ child.on(
38239
+ "exit",
38240
+ (code, signal) => process.exit(code ?? (signal ? 128 + (signalNumber(signal) ?? 0) : 0))
38241
+ );
38236
38242
  }
38237
38243
  var StartFlagError = class extends Error {
38238
38244
  };
@@ -38507,8 +38513,7 @@ async function runForeground(paths, port, host, idleTimeoutMinutes, token) {
38507
38513
  });
38508
38514
  }
38509
38515
  function signalNumber(signal) {
38510
- const map2 = { SIGINT: 2, SIGTERM: 15, SIGHUP: 1, SIGKILL: 9 };
38511
- return map2[signal] ?? null;
38516
+ return constants2.signals[signal] ?? null;
38512
38517
  }
38513
38518
  function printServerHelp() {
38514
38519
  console.log(`Usage: