@swmansion/argent 0.34.1-next.2 → 0.34.1-next.21

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 (39) hide show
  1. package/LICENSE +1 -0
  2. package/bin/argent-android-devtools-0.4.0.apk +0 -0
  3. package/bin/darwin/argent-macos-helper +0 -0
  4. package/bin/darwin/ax-service +0 -0
  5. package/bin/darwin/tvos-ax-service +0 -0
  6. package/bin/darwin/tvos-hid-daemon +0 -0
  7. package/bin/network-inspector/network-inspector.jar +0 -0
  8. package/bin/tcp/ax-service +0 -0
  9. package/dist/cli-cmds.mjs +111 -25
  10. package/dist/client.js +58 -10
  11. package/dist/installer-help.js +4 -0
  12. package/dist/installer-help.js.map +1 -1
  13. package/dist/installer.mjs +230 -160
  14. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentLaunchPerformanceTests.swift +21 -0
  15. package/dist/ios-device-runner/ArgentRunner/ArgentRunnerUITests/ArgentRunnerSession+Commands.swift +9 -3
  16. package/dist/mcp-server.mjs +68 -15
  17. package/dist/tool-args.generated.d.ts +31 -1
  18. package/dist/tool-server.cjs +5433 -2503
  19. package/dylibs/libArgentAudio.dylib +0 -0
  20. package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
  21. package/dylibs/libKeyboardPatch.dylib +0 -0
  22. package/dylibs/libNativeDevtoolsIos.dylib +0 -0
  23. package/dylibs/macos/libArgentInjectionBootstrap.dylib +0 -0
  24. package/dylibs/macos/libNativeDevtoolsMacos.dylib +0 -0
  25. package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
  26. package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
  27. package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
  28. package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
  29. package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
  30. package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
  31. package/package.json +1 -1
  32. package/rules/argent.md +6 -23
  33. package/skills/argent-ios-device-interact/SKILL.md +2 -2
  34. package/skills/argent-macos-app-interact/SKILL.md +15 -5
  35. package/skills/argent-macos-app-interact/references/e2e.md +1 -1
  36. package/skills/argent-native-profiler/SKILL.md +14 -2
  37. package/skills/argent-react-native-app-workflow/SKILL.md +1 -1
  38. package/skills/argent-react-native-optimization/SKILL.md +10 -1
  39. package/skills/argent-react-native-profiler/SKILL.md +4 -3
package/LICENSE CHANGED
@@ -184,6 +184,7 @@ License, Version 2.0 above:
184
184
 
185
185
  bin/simulator-server
186
186
  bin/ax-service
187
+ dylibs/libArgentAudio.dylib
187
188
  dylibs/libArgentInjectionBootstrap.dylib
188
189
  dylibs/libKeyboardPatch.dylib
189
190
  dylibs/libNativeDevtoolsIos.dylib
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -9477,6 +9477,11 @@ var FLAG_REGISTRY = [
9477
9477
  name: "forward-secrets",
9478
9478
  description: "Over `argent link` or ARGENT_TOOLS_URL, resolve each `{{secret:NAME}}` a call names on this machine and send the value with the call, so a remote tool-server can type a secret it does not hold. The linked tool-server then receives every secret of this machine that a call names, so link only one you trust with all of them. Values go only over https:// with the certificate checked, or to a loopback address. Off by default."
9479
9479
  },
9480
+ {
9481
+ name: "ios-audio-always-inserted",
9482
+ description: "Insert the iOS audio hook (libArgentAudio.dylib) into every app an armed simulator launches, so audio-input works without restart-app. Dormant until the app opens audio. On by default; `argent disable ios-audio-always-inserted` inserts it only on the first audio tool call, for apps launched after that call.",
9483
+ defaultEnabled: true
9484
+ },
9480
9485
  {
9481
9486
  name: "video-watermark",
9482
9487
  description: "Overlay the argent corner watermark on recorded screen videos. On by default; turn it off with `argent disable video-watermark`.",
@@ -9484,7 +9489,7 @@ var FLAG_REGISTRY = [
9484
9489
  },
9485
9490
  {
9486
9491
  name: "macos-apps",
9487
- description: "Drive native Mac apps (AppKit, SwiftUI, react-native-macos) from inside the app. Adds the macos platform to list-devices and boot-device, and the file-panel and menu-bar tools. On by default; turn it off with `argent disable macos-apps`.",
9492
+ description: "Control native Mac apps, including Mac Catalyst. Adds the macos platform to list-devices and boot-device, and the file-panel and menu-bar tools. On by default; turn it off with `argent disable macos-apps`.",
9488
9493
  defaultEnabled: true
9489
9494
  }
9490
9495
  ];
@@ -9966,14 +9971,6 @@ var CONFIG_SCHEMA = [
9966
9971
  // drained/reset, not just the file rewritten.
9967
9972
  manageCommand: "argent telemetry"
9968
9973
  },
9969
- {
9970
- key: "allowlist.enabled",
9971
- description: "Whether `argent update` re-applies editor auto-approve allowlist rules. Unset (the default) keeps the current behavior: update refreshes the rules for editors that already have argent configured. Set to `false` to keep update from touching editor allowlists. `false` in either scope wins, so a committed project opt-out holds for every teammate.",
9972
- scopes: ["project", "global"],
9973
- parse: asBoolean,
9974
- merge: "prioritize-restrictive",
9975
- example: "false"
9976
- },
9977
9974
  {
9978
9975
  key: "lens.agent",
9979
9976
  description: "Coding-agent id remembered by `argent lens` to skip the picker.",
@@ -10220,7 +10217,18 @@ function interpolateFileInputPath(template, args) {
10220
10217
  });
10221
10218
  return missing ? null : out;
10222
10219
  }
10223
- var TOOL_FILE_EXTENSIONS = [".png", ".yaml"];
10220
+ var TOOL_FILE_EXTENSIONS = [
10221
+ ".png",
10222
+ ".yaml",
10223
+ ".wav",
10224
+ ".mp3",
10225
+ ".m4a",
10226
+ ".aac",
10227
+ ".caf",
10228
+ ".aif",
10229
+ ".aiff",
10230
+ ".flac"
10231
+ ];
10224
10232
  function hasToolFileExtension(file2) {
10225
10233
  const name = file2.toLowerCase();
10226
10234
  return TOOL_FILE_EXTENSIONS.some((extension) => name.endsWith(extension));
@@ -10552,6 +10560,10 @@ var FAILURE_CODES = {
10552
10560
  AX_DAEMON_READY_TIMEOUT: "AX_DAEMON_READY_TIMEOUT",
10553
10561
  AX_DAEMON_EXITED_BEFORE_READY: "AX_DAEMON_EXITED_BEFORE_READY",
10554
10562
  AX_DAEMON_PROCESS_ERROR: "AX_DAEMON_PROCESS_ERROR",
10563
+ // The daemon died on a fault signal (SIGSEGV, SIGABRT, ...), before or after
10564
+ // it connected. Kept apart from the two codes above so a crash is not read
10565
+ // as an ordinary exit.
10566
+ AX_DAEMON_CRASHED: "AX_DAEMON_CRASHED",
10555
10567
  AX_FACTORY_OPTIONS_MISSING: "AX_FACTORY_OPTIONS_MISSING",
10556
10568
  AX_WRONG_PLATFORM: "AX_WRONG_PLATFORM",
10557
10569
  AX_DEVICE_ID_INVALID: "AX_DEVICE_ID_INVALID",
@@ -10634,6 +10646,7 @@ var FAILURE_CODES = {
10634
10646
  DEBUGGER_CDP_PROTOCOL_ERROR: "DEBUGGER_CDP_PROTOCOL_ERROR",
10635
10647
  DEBUGGER_CDP_CONNECT_FAILED: "DEBUGGER_CDP_CONNECT_FAILED",
10636
10648
  DEBUGGER_CDP_SOCKET_CLOSED_BEFORE_OPEN: "DEBUGGER_CDP_SOCKET_CLOSED_BEFORE_OPEN",
10649
+ DEBUGGER_CDP_ORIGIN_REJECTED: "DEBUGGER_CDP_ORIGIN_REJECTED",
10637
10650
  DEBUGGER_CDP_NOT_CONNECTED: "DEBUGGER_CDP_NOT_CONNECTED",
10638
10651
  DEBUGGER_CDP_REQUEST_TIMEOUT: "DEBUGGER_CDP_REQUEST_TIMEOUT",
10639
10652
  DEBUGGER_CDP_CONNECTION_CLOSED: "DEBUGGER_CDP_CONNECTION_CLOSED",
@@ -10708,6 +10721,32 @@ var FAILURE_CODES = {
10708
10721
  NATIVE_PROFILER_PERFETTO_PROCESS_ERROR: "NATIVE_PROFILER_PERFETTO_PROCESS_ERROR",
10709
10722
  NATIVE_PROFILER_PERFETTO_READY_TIMEOUT: "NATIVE_PROFILER_PERFETTO_READY_TIMEOUT",
10710
10723
  NATIVE_PROFILER_PERFETTO_READY_EXITED: "NATIVE_PROFILER_PERFETTO_READY_EXITED",
10724
+ /**
10725
+ * native-profiler-launch-analysis. Input problems use TOOL_INPUT_INVALID and
10726
+ * devicectl steps IOS_DEVICECTL_COMMAND_FAILED.
10727
+ * @see [workflow.ts](../../tool-server/src/utils/ios-launch-time/workflow.ts)
10728
+ */
10729
+ // Not macOS, or an Xcode that cannot record the launch on this target.
10730
+ LAUNCH_ANALYSIS_UNSUPPORTED_HOST: "LAUNCH_ANALYSIS_UNSUPPORTED_HOST",
10731
+ // No usable iPhone or simulator was selected, or Argent's runner holds it.
10732
+ LAUNCH_ANALYSIS_DEVICE_UNAVAILABLE: "LAUNCH_ANALYSIS_DEVICE_UNAVAILABLE",
10733
+ // The bundle_id app is not installed on the selected device.
10734
+ LAUNCH_ANALYSIS_APP_NOT_INSTALLED: "LAUNCH_ANALYSIS_APP_NOT_INSTALLED",
10735
+ // The runner's xcodebuild failed on code signing or provisioning.
10736
+ LAUNCH_ANALYSIS_SIGNING_FAILED: "LAUNCH_ANALYSIS_SIGNING_FAILED",
10737
+ // The iPhone's free developer profile has no slot for Argent's runner.
10738
+ LAUNCH_ANALYSIS_FREE_PROFILE_LIMIT: "LAUNCH_ANALYSIS_FREE_PROFILE_LIMIT",
10739
+ // simctl could not wait for boot, find, launch or terminate the app.
10740
+ LAUNCH_ANALYSIS_SIMCTL_FAILED: "LAUNCH_ANALYSIS_SIMCTL_FAILED",
10741
+ LAUNCH_ANALYSIS_RECORD_FAILED: "LAUNCH_ANALYSIS_RECORD_FAILED",
10742
+ // xctrace could not export the TOC, the CPU samples or the first-frame marker.
10743
+ LAUNCH_ANALYSIS_EXPORT_FAILED: "LAUNCH_ANALYSIS_EXPORT_FAILED",
10744
+ // The App Launch trace has no first frame of the app, so it has no launch window.
10745
+ LAUNCH_ANALYSIS_NO_FIRST_FRAME: "LAUNCH_ANALYSIS_NO_FIRST_FRAME",
10746
+ // The XCTest launch run of Argent's runner failed.
10747
+ LAUNCH_ANALYSIS_RUNNER_TEST_FAILED: "LAUNCH_ANALYSIS_RUNNER_TEST_FAILED",
10748
+ // The launch test ran, but Argent read no launch measurements from its result.
10749
+ LAUNCH_ANALYSIS_NO_SAMPLES: "LAUNCH_ANALYSIS_NO_SAMPLES",
10711
10750
  // iOS and Android share one capture path (simulator-server frames into
10712
10751
  // ffmpeg), so these name the failing stage, not the device family.
10713
10752
  SCREEN_RECORDING_FACTORY_OPTIONS_MISSING: "SCREEN_RECORDING_FACTORY_OPTIONS_MISSING",
@@ -10722,6 +10761,13 @@ var FAILURE_CODES = {
10722
10761
  SCREEN_RECORDING_SERVER_SHUTTING_DOWN: "SCREEN_RECORDING_SERVER_SHUTTING_DOWN",
10723
10762
  SCREEN_RECORDING_STREAM_UNAVAILABLE: "SCREEN_RECORDING_STREAM_UNAVAILABLE",
10724
10763
  SCREEN_RECORDING_FFMPEG_NOT_FOUND: "SCREEN_RECORDING_FFMPEG_NOT_FOUND",
10764
+ AUDIO_CLIP_CONVERSION_FAILED: "AUDIO_CLIP_CONVERSION_FAILED",
10765
+ AUDIO_HOOK_NOT_ACTIVE: "AUDIO_HOOK_NOT_ACTIVE",
10766
+ AUDIO_ENV_SETUP_FAILED: "AUDIO_ENV_SETUP_FAILED",
10767
+ AUDIO_WRONG_PLATFORM: "AUDIO_WRONG_PLATFORM",
10768
+ AUDIO_HOOK_UNAVAILABLE: "AUDIO_HOOK_UNAVAILABLE",
10769
+ AUDIO_INJECTION_NOT_OURS: "AUDIO_INJECTION_NOT_OURS",
10770
+ AUDIO_SIMULATOR_NOT_BOOTED: "AUDIO_SIMULATOR_NOT_BOOTED",
10725
10771
  FLOW_PROJECT_ROOT_INVALID: "FLOW_PROJECT_ROOT_INVALID",
10726
10772
  FLOW_NAME_INVALID: "FLOW_NAME_INVALID",
10727
10773
  FLOW_NO_ACTIVE_RECORDING: "FLOW_NO_ACTIVE_RECORDING",
@@ -10785,6 +10831,8 @@ var FAILURE_CODES = {
10785
10831
  MACOS_APP_BUNDLE_ID_MISMATCH: "MACOS_APP_BUNDLE_ID_MISMATCH",
10786
10832
  MACOS_APP_OPEN_URL_FAILED: "MACOS_APP_OPEN_URL_FAILED",
10787
10833
  MACOS_APP_FILE_ACCESS_FAILED: "MACOS_APP_FILE_ACCESS_FAILED",
10834
+ /** The app's loaded Argent library lacks support for the requested operation. */
10835
+ MACOS_APP_LIBRARY_OUTDATED: "MACOS_APP_LIBRARY_OUTDATED",
10788
10836
  KEYBOARD_KEY_UNSUPPORTED: "KEYBOARD_KEY_UNSUPPORTED",
10789
10837
  KEYBOARD_CHARACTER_UNSUPPORTED: "KEYBOARD_CHARACTER_UNSUPPORTED",
10790
10838
  KEYBOARD_TEXT_AND_KEY_COMBINED: "KEYBOARD_TEXT_AND_KEY_COMBINED",
@@ -10854,13 +10902,16 @@ var FAILURE_COMMANDS = [
10854
10902
  "ax_service",
10855
10903
  "simulator_server",
10856
10904
  "ffmpeg",
10905
+ "afconvert",
10857
10906
  "cdp",
10858
10907
  "electron",
10859
10908
  "npm",
10860
10909
  "npx",
10861
10910
  "unknown",
10862
10911
  "devicectl",
10863
- "xcodebuild"
10912
+ "xcodebuild",
10913
+ // `xcrun xcresulttool`, which reads an XCTest result bundle.
10914
+ "xcresulttool"
10864
10915
  ];
10865
10916
  var FAILURE_SIGNAL_NAMES = [
10866
10917
  "SIGABRT",
@@ -35333,7 +35384,8 @@ var DEVICE_KINDS = [
35333
35384
  "emulator",
35334
35385
  "vvd",
35335
35386
  "device",
35336
- "app"
35387
+ "app",
35388
+ "catalyst"
35337
35389
  ];
35338
35390
  var DEBUGGER_NOT_CONNECTED_REASONS = [
35339
35391
  "metro_not_running",
@@ -35471,7 +35523,8 @@ var ALLOWED = {
35471
35523
  install_mode: INSTALL_MODE
35472
35524
  },
35473
35525
  "installation:allowlist_decision": {
35474
- is_enabled: bool
35526
+ is_enabled: bool,
35527
+ decided_by: oneOf(["flag", "default", "prompt"])
35475
35528
  },
35476
35529
  "installation:stale_config_cleanup": {
35477
35530
  removed_count: COUNT,
@@ -36081,7 +36134,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
36081
36134
  var SESSION_ID2 = randomUUID5();
36082
36135
  function readCliVersion() {
36083
36136
  if (true) {
36084
- return "0.34.1-next.1";
36137
+ return "0.34.1-next.21";
36085
36138
  }
36086
36139
  return "0.0.0";
36087
36140
  }
@@ -37021,6 +37074,7 @@ function isValidationIssue(value) {
37021
37074
  }
37022
37075
 
37023
37076
  // ../argent-cli/src/e2e.ts
37077
+ var import_yaml3 = __toESM(require_dist(), 1);
37024
37078
  import * as fsp from "node:fs/promises";
37025
37079
  import { constants as fsConstants2 } from "node:fs";
37026
37080
  import { createHash as createHash5 } from "node:crypto";
@@ -37157,7 +37211,8 @@ warning, and each script step's output), then its outcome. After the last test
37157
37211
  it lists every failed test with its reason and a command that re-runs that test
37158
37212
  alone, then a final summary; --recursive walks subdirectories too
37159
37213
  (__baselines__, node_modules and dot-directories other than .argent are
37160
- skipped). A test that fails its steps keeps the batch running, as does one the
37214
+ skipped). A directory run and list skip a YAML file that is not an e2e test.
37215
+ A test that fails its steps keeps the batch running, as does one the
37161
37216
  server rejects up front \u2014 an invalid file, or a device it cannot resolve. A
37162
37217
  transport failure, a rejection the server does not mark as validation, or a
37163
37218
  reply that is not a report stops the batch and counts the remaining tests
@@ -37197,8 +37252,8 @@ Subcommands:
37197
37252
  subdirectories), or in .argent/e2e and
37198
37253
  .argent/flows (legacy) with notes on stderr.
37199
37254
  --json prints { "e2eTests": [...] } instead, with
37200
- path per entry, plus name, legacy and shadowedBy
37201
- when no dir is given
37255
+ path and an optional warning per entry, plus name,
37256
+ legacy and shadowedBy when no dir is given
37202
37257
 
37203
37258
  Options (run):
37204
37259
  --device <id> Device id to run against (auto-detected when omitted)
@@ -37599,6 +37654,29 @@ async function isRunnableFlowFile(filePath) {
37599
37654
  return false;
37600
37655
  }
37601
37656
  }
37657
+ var E2E_FILE_WARNING_TEXT = {
37658
+ "syntax-error": "has a YAML syntax error",
37659
+ "empty": "is empty"
37660
+ };
37661
+ async function checkE2eTestShape(filePath) {
37662
+ let content;
37663
+ try {
37664
+ content = (await fsp.readFile(filePath, "utf8")).trim();
37665
+ } catch {
37666
+ return "ok";
37667
+ }
37668
+ if (content.length === 0) return "empty";
37669
+ if (!content.includes("steps") && !/^version:/m.test(content)) return "skip";
37670
+ let parsed;
37671
+ try {
37672
+ parsed = (0, import_yaml3.parse)(content, { logLevel: "error" });
37673
+ } catch {
37674
+ return "syntax-error";
37675
+ }
37676
+ if (typeof parsed !== "object" || parsed === null) return "skip";
37677
+ const { version: version2 } = parsed;
37678
+ return Number.isInteger(version2) && Number(version2) > 1 || "steps" in parsed ? "ok" : "skip";
37679
+ }
37602
37680
  async function resolveFlowRef(ref, projectRoot) {
37603
37681
  if (!SAFE_FLOW_NAME.test(ref)) return { suppliedPath: ref, fromName: false };
37604
37682
  const picked = await resolveE2eFile(projectRoot, ref);
@@ -37642,11 +37720,15 @@ async function collectFlowFiles(dir, recursive2) {
37642
37720
  }
37643
37721
  if (!entry.name.endsWith(".yaml")) continue;
37644
37722
  if (!SAFE_FLOW_NAME.test(path17.basename(entry.name, ".yaml"))) continue;
37645
- if (await isRunnableFlowFile(path17.join(current, entry.name))) found.push(entryRel);
37723
+ const filePath = path17.join(current, entry.name);
37724
+ if (!await isRunnableFlowFile(filePath)) continue;
37725
+ const shape = await checkE2eTestShape(filePath);
37726
+ if (shape === "skip") continue;
37727
+ found.push({ path: entryRel, ...shape !== "ok" && { warning: shape } });
37646
37728
  }
37647
37729
  };
37648
37730
  await walk(dir, "");
37649
- return found.sort();
37731
+ return found.sort((a2, b) => a2.path < b.path ? -1 : a2.path > b.path ? 1 : 0);
37650
37732
  }
37651
37733
  var RUN_TOOL_ID = "e2e-execute";
37652
37734
  function buildRunPayload(flowPath, projectRoot, args) {
@@ -37779,7 +37861,7 @@ async function runFlowDirectory(dir, args, projectRoot, options) {
37779
37861
  };
37780
37862
  let flows;
37781
37863
  try {
37782
- flows = await collectFlowFiles(dir, args.recursive);
37864
+ flows = (await collectFlowFiles(dir, args.recursive)).map((file2) => file2.path);
37783
37865
  } catch {
37784
37866
  return reject(`Could not read e2e test directory: ${dir}`);
37785
37867
  }
@@ -37947,9 +38029,9 @@ Pass the fully resolved path to the directory.`
37947
38029
  let anyDir = false;
37948
38030
  const dirs = listDir === void 0 ? E2E_DIRS : [listDir];
37949
38031
  for (const dir of dirs) {
37950
- let rels;
38032
+ let files;
37951
38033
  try {
37952
- rels = await collectFlowFiles(path17.resolve(dir), listDir === void 0 || recursive2);
38034
+ files = await collectFlowFiles(path17.resolve(dir), listDir === void 0 || recursive2);
37953
38035
  } catch (err) {
37954
38036
  const code = err.code;
37955
38037
  if (listDir === void 0 && (code === "ENOENT" || code === "ENOTDIR")) continue;
@@ -37958,10 +38040,11 @@ Pass the fully resolved path to the directory.`
37958
38040
  );
37959
38041
  }
37960
38042
  anyDir = true;
37961
- for (const rel of rels) {
38043
+ for (const { path: rel, warning } of files) {
37962
38044
  const shown = path17.join(dir, rel);
38045
+ const warningField = warning !== void 0 && { warning };
37963
38046
  if (listDir !== void 0) {
37964
- entries.push({ path: optionSafePath(shown) });
38047
+ entries.push({ path: optionSafePath(shown), ...warningField });
37965
38048
  continue;
37966
38049
  }
37967
38050
  const name = path17.dirname(rel) === "." ? path17.basename(rel, ".yaml") : void 0;
@@ -37971,7 +38054,8 @@ Pass the fully resolved path to the directory.`
37971
38054
  path: shown,
37972
38055
  ...name !== void 0 && { name },
37973
38056
  legacy: dir !== E2E_DIR,
37974
- ...shadowedBy !== void 0 && { shadowedBy }
38057
+ ...shadowedBy !== void 0 && { shadowedBy },
38058
+ ...warningField
37975
38059
  });
37976
38060
  }
37977
38061
  }
@@ -37995,6 +38079,8 @@ Pass the fully resolved path to the directory.`
37995
38079
  console.error(
37996
38080
  `warning: ${entry.path} is shadowed by ${entry.shadowedBy} when run by name`
37997
38081
  );
38082
+ if (entry.warning !== void 0)
38083
+ console.error(`warning: ${entry.path} ${E2E_FILE_WARNING_TEXT[entry.warning]}`);
37998
38084
  }
37999
38085
  const legacyCount = entries.filter((entry) => entry.legacy).length;
38000
38086
  if (legacyCount > 0) {
package/dist/client.js CHANGED
@@ -7798,6 +7798,11 @@ var FLAG_REGISTRY = [
7798
7798
  name: "forward-secrets",
7799
7799
  description: "Over `argent link` or ARGENT_TOOLS_URL, resolve each `{{secret:NAME}}` a call names on this machine and send the value with the call, so a remote tool-server can type a secret it does not hold. The linked tool-server then receives every secret of this machine that a call names, so link only one you trust with all of them. Values go only over https:// with the certificate checked, or to a loopback address. Off by default."
7800
7800
  },
7801
+ {
7802
+ name: "ios-audio-always-inserted",
7803
+ description: "Insert the iOS audio hook (libArgentAudio.dylib) into every app an armed simulator launches, so audio-input works without restart-app. Dormant until the app opens audio. On by default; `argent disable ios-audio-always-inserted` inserts it only on the first audio tool call, for apps launched after that call.",
7804
+ defaultEnabled: true
7805
+ },
7801
7806
  {
7802
7807
  name: "video-watermark",
7803
7808
  description: "Overlay the argent corner watermark on recorded screen videos. On by default; turn it off with `argent disable video-watermark`.",
@@ -7805,7 +7810,7 @@ var FLAG_REGISTRY = [
7805
7810
  },
7806
7811
  {
7807
7812
  name: "macos-apps",
7808
- description: "Drive native Mac apps (AppKit, SwiftUI, react-native-macos) from inside the app. Adds the macos platform to list-devices and boot-device, and the file-panel and menu-bar tools. On by default; turn it off with `argent disable macos-apps`.",
7813
+ description: "Control native Mac apps, including Mac Catalyst. Adds the macos platform to list-devices and boot-device, and the file-panel and menu-bar tools. On by default; turn it off with `argent disable macos-apps`.",
7809
7814
  defaultEnabled: true
7810
7815
  }
7811
7816
  ];
@@ -8136,14 +8141,6 @@ var CONFIG_SCHEMA = [
8136
8141
  // drained/reset, not just the file rewritten.
8137
8142
  manageCommand: "argent telemetry"
8138
8143
  },
8139
- {
8140
- key: "allowlist.enabled",
8141
- description: "Whether `argent update` re-applies editor auto-approve allowlist rules. Unset (the default) keeps the current behavior: update refreshes the rules for editors that already have argent configured. Set to `false` to keep update from touching editor allowlists. `false` in either scope wins, so a committed project opt-out holds for every teammate.",
8142
- scopes: ["project", "global"],
8143
- parse: asBoolean,
8144
- merge: "prioritize-restrictive",
8145
- example: "false"
8146
- },
8147
8144
  {
8148
8145
  key: "lens.agent",
8149
8146
  description: "Coding-agent id remembered by `argent lens` to skip the picker.",
@@ -8796,7 +8793,18 @@ function interpolateFileInputPath(template, args) {
8796
8793
  });
8797
8794
  return missing ? null : out;
8798
8795
  }
8799
- var TOOL_FILE_EXTENSIONS = [".png", ".yaml"];
8796
+ var TOOL_FILE_EXTENSIONS = [
8797
+ ".png",
8798
+ ".yaml",
8799
+ ".wav",
8800
+ ".mp3",
8801
+ ".m4a",
8802
+ ".aac",
8803
+ ".caf",
8804
+ ".aif",
8805
+ ".aiff",
8806
+ ".flac"
8807
+ ];
8800
8808
  function hasToolFileExtension(file) {
8801
8809
  const name = file.toLowerCase();
8802
8810
  return TOOL_FILE_EXTENSIONS.some((extension) => name.endsWith(extension));
@@ -9125,6 +9133,10 @@ var FAILURE_CODES = {
9125
9133
  AX_DAEMON_READY_TIMEOUT: "AX_DAEMON_READY_TIMEOUT",
9126
9134
  AX_DAEMON_EXITED_BEFORE_READY: "AX_DAEMON_EXITED_BEFORE_READY",
9127
9135
  AX_DAEMON_PROCESS_ERROR: "AX_DAEMON_PROCESS_ERROR",
9136
+ // The daemon died on a fault signal (SIGSEGV, SIGABRT, ...), before or after
9137
+ // it connected. Kept apart from the two codes above so a crash is not read
9138
+ // as an ordinary exit.
9139
+ AX_DAEMON_CRASHED: "AX_DAEMON_CRASHED",
9128
9140
  AX_FACTORY_OPTIONS_MISSING: "AX_FACTORY_OPTIONS_MISSING",
9129
9141
  AX_WRONG_PLATFORM: "AX_WRONG_PLATFORM",
9130
9142
  AX_DEVICE_ID_INVALID: "AX_DEVICE_ID_INVALID",
@@ -9207,6 +9219,7 @@ var FAILURE_CODES = {
9207
9219
  DEBUGGER_CDP_PROTOCOL_ERROR: "DEBUGGER_CDP_PROTOCOL_ERROR",
9208
9220
  DEBUGGER_CDP_CONNECT_FAILED: "DEBUGGER_CDP_CONNECT_FAILED",
9209
9221
  DEBUGGER_CDP_SOCKET_CLOSED_BEFORE_OPEN: "DEBUGGER_CDP_SOCKET_CLOSED_BEFORE_OPEN",
9222
+ DEBUGGER_CDP_ORIGIN_REJECTED: "DEBUGGER_CDP_ORIGIN_REJECTED",
9210
9223
  DEBUGGER_CDP_NOT_CONNECTED: "DEBUGGER_CDP_NOT_CONNECTED",
9211
9224
  DEBUGGER_CDP_REQUEST_TIMEOUT: "DEBUGGER_CDP_REQUEST_TIMEOUT",
9212
9225
  DEBUGGER_CDP_CONNECTION_CLOSED: "DEBUGGER_CDP_CONNECTION_CLOSED",
@@ -9281,6 +9294,32 @@ var FAILURE_CODES = {
9281
9294
  NATIVE_PROFILER_PERFETTO_PROCESS_ERROR: "NATIVE_PROFILER_PERFETTO_PROCESS_ERROR",
9282
9295
  NATIVE_PROFILER_PERFETTO_READY_TIMEOUT: "NATIVE_PROFILER_PERFETTO_READY_TIMEOUT",
9283
9296
  NATIVE_PROFILER_PERFETTO_READY_EXITED: "NATIVE_PROFILER_PERFETTO_READY_EXITED",
9297
+ /**
9298
+ * native-profiler-launch-analysis. Input problems use TOOL_INPUT_INVALID and
9299
+ * devicectl steps IOS_DEVICECTL_COMMAND_FAILED.
9300
+ * @see [workflow.ts](../../tool-server/src/utils/ios-launch-time/workflow.ts)
9301
+ */
9302
+ // Not macOS, or an Xcode that cannot record the launch on this target.
9303
+ LAUNCH_ANALYSIS_UNSUPPORTED_HOST: "LAUNCH_ANALYSIS_UNSUPPORTED_HOST",
9304
+ // No usable iPhone or simulator was selected, or Argent's runner holds it.
9305
+ LAUNCH_ANALYSIS_DEVICE_UNAVAILABLE: "LAUNCH_ANALYSIS_DEVICE_UNAVAILABLE",
9306
+ // The bundle_id app is not installed on the selected device.
9307
+ LAUNCH_ANALYSIS_APP_NOT_INSTALLED: "LAUNCH_ANALYSIS_APP_NOT_INSTALLED",
9308
+ // The runner's xcodebuild failed on code signing or provisioning.
9309
+ LAUNCH_ANALYSIS_SIGNING_FAILED: "LAUNCH_ANALYSIS_SIGNING_FAILED",
9310
+ // The iPhone's free developer profile has no slot for Argent's runner.
9311
+ LAUNCH_ANALYSIS_FREE_PROFILE_LIMIT: "LAUNCH_ANALYSIS_FREE_PROFILE_LIMIT",
9312
+ // simctl could not wait for boot, find, launch or terminate the app.
9313
+ LAUNCH_ANALYSIS_SIMCTL_FAILED: "LAUNCH_ANALYSIS_SIMCTL_FAILED",
9314
+ LAUNCH_ANALYSIS_RECORD_FAILED: "LAUNCH_ANALYSIS_RECORD_FAILED",
9315
+ // xctrace could not export the TOC, the CPU samples or the first-frame marker.
9316
+ LAUNCH_ANALYSIS_EXPORT_FAILED: "LAUNCH_ANALYSIS_EXPORT_FAILED",
9317
+ // The App Launch trace has no first frame of the app, so it has no launch window.
9318
+ LAUNCH_ANALYSIS_NO_FIRST_FRAME: "LAUNCH_ANALYSIS_NO_FIRST_FRAME",
9319
+ // The XCTest launch run of Argent's runner failed.
9320
+ LAUNCH_ANALYSIS_RUNNER_TEST_FAILED: "LAUNCH_ANALYSIS_RUNNER_TEST_FAILED",
9321
+ // The launch test ran, but Argent read no launch measurements from its result.
9322
+ LAUNCH_ANALYSIS_NO_SAMPLES: "LAUNCH_ANALYSIS_NO_SAMPLES",
9284
9323
  // iOS and Android share one capture path (simulator-server frames into
9285
9324
  // ffmpeg), so these name the failing stage, not the device family.
9286
9325
  SCREEN_RECORDING_FACTORY_OPTIONS_MISSING: "SCREEN_RECORDING_FACTORY_OPTIONS_MISSING",
@@ -9295,6 +9334,13 @@ var FAILURE_CODES = {
9295
9334
  SCREEN_RECORDING_SERVER_SHUTTING_DOWN: "SCREEN_RECORDING_SERVER_SHUTTING_DOWN",
9296
9335
  SCREEN_RECORDING_STREAM_UNAVAILABLE: "SCREEN_RECORDING_STREAM_UNAVAILABLE",
9297
9336
  SCREEN_RECORDING_FFMPEG_NOT_FOUND: "SCREEN_RECORDING_FFMPEG_NOT_FOUND",
9337
+ AUDIO_CLIP_CONVERSION_FAILED: "AUDIO_CLIP_CONVERSION_FAILED",
9338
+ AUDIO_HOOK_NOT_ACTIVE: "AUDIO_HOOK_NOT_ACTIVE",
9339
+ AUDIO_ENV_SETUP_FAILED: "AUDIO_ENV_SETUP_FAILED",
9340
+ AUDIO_WRONG_PLATFORM: "AUDIO_WRONG_PLATFORM",
9341
+ AUDIO_HOOK_UNAVAILABLE: "AUDIO_HOOK_UNAVAILABLE",
9342
+ AUDIO_INJECTION_NOT_OURS: "AUDIO_INJECTION_NOT_OURS",
9343
+ AUDIO_SIMULATOR_NOT_BOOTED: "AUDIO_SIMULATOR_NOT_BOOTED",
9298
9344
  FLOW_PROJECT_ROOT_INVALID: "FLOW_PROJECT_ROOT_INVALID",
9299
9345
  FLOW_NAME_INVALID: "FLOW_NAME_INVALID",
9300
9346
  FLOW_NO_ACTIVE_RECORDING: "FLOW_NO_ACTIVE_RECORDING",
@@ -9358,6 +9404,8 @@ var FAILURE_CODES = {
9358
9404
  MACOS_APP_BUNDLE_ID_MISMATCH: "MACOS_APP_BUNDLE_ID_MISMATCH",
9359
9405
  MACOS_APP_OPEN_URL_FAILED: "MACOS_APP_OPEN_URL_FAILED",
9360
9406
  MACOS_APP_FILE_ACCESS_FAILED: "MACOS_APP_FILE_ACCESS_FAILED",
9407
+ /** The app's loaded Argent library lacks support for the requested operation. */
9408
+ MACOS_APP_LIBRARY_OUTDATED: "MACOS_APP_LIBRARY_OUTDATED",
9361
9409
  KEYBOARD_KEY_UNSUPPORTED: "KEYBOARD_KEY_UNSUPPORTED",
9362
9410
  KEYBOARD_CHARACTER_UNSUPPORTED: "KEYBOARD_CHARACTER_UNSUPPORTED",
9363
9411
  KEYBOARD_TEXT_AND_KEY_COMBINED: "KEYBOARD_TEXT_AND_KEY_COMBINED",
@@ -95,6 +95,10 @@ export const INSTALLER_COMMAND_META = {
95
95
  options: [
96
96
  NON_INTERACTIVE_OPTION,
97
97
  NO_TELEMETRY_OPTION,
98
+ {
99
+ flag: "--no-allowlist",
100
+ description: "Skip adding Argent tools to editor auto-approve lists.",
101
+ },
98
102
  {
99
103
  flag: "--from <path>",
100
104
  description: "Install from a local tarball or package spec instead of the npm release.",
@@ -1 +1 @@
1
- {"version":3,"file":"installer-help.js","sourceRoot":"","sources":["../src/installer-help.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,MAAM;IACN,SAAS;IACT,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,KAAK;CACG,CAAC;AAIX,MAAM,UAAU,kBAAkB,CAAC,OAA2B;IAC5D,OAAO,kBAAkB,CAAC,QAAQ,CAAC,OAA2B,CAAC,CAAC;AAClE,CAAC;AAED;;;;;;GAMG;AACH,SAAS,UAAU,CAAC,GAAW;IAC7B,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvD,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,OAAO,IAAI,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AAClG,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAgD;IAC7E,IAAI,EAAE,CAAC,QAAQ,CAAC;IAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;IACnB,MAAM,EAAE,CAAC,WAAW,EAAE,gBAAgB,CAAC;IACvC,SAAS,EAAE,EAAE;IACb,MAAM,EAAE,EAAE;IACV,gFAAgF;IAChF,GAAG,EAAE,EAAE;CACR,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,UAAU,sBAAsB,CAAC,OAA2B,EAAE,IAAc;IAChF,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC;QAAE,OAAO,KAAK,CAAC;IAC/C,IAAI,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;QAAE,OAAO,IAAI,CAAC;IACvC,MAAM,UAAU,GAAG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