@swmansion/argent 0.32.0 → 0.32.1-next.1

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 (57) 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/network-inspector/network-inspector.jar +0 -0
  6. package/bin/tcp/ax-service +0 -0
  7. package/dist/cli-cmds.mjs +1 -1
  8. package/dist/installer.mjs +7 -7
  9. package/dist/mcp-server.mjs +1 -1
  10. package/dist/tool-args.generated.d.ts +178 -178
  11. package/dist/tool-server.cjs +1281 -1459
  12. package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
  13. package/dylibs/libKeyboardPatch.dylib +0 -0
  14. package/dylibs/libNativeDevtoolsIos.dylib +0 -0
  15. package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
  16. package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
  17. package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
  18. package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
  19. package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
  20. package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
  21. package/package.json +1 -1
  22. package/rules/argent.md +19 -183
  23. package/skills/argent-android-emulator-setup/SKILL.md +5 -13
  24. package/skills/argent-create-e2e/SKILL.md +1 -1
  25. package/skills/argent-create-e2e/references/e2e-yaml.md +12 -17
  26. package/skills/argent-create-e2e/references/live-authoring.md +25 -65
  27. package/skills/argent-create-e2e/references/reliability-and-recovery.md +8 -8
  28. package/skills/argent-device-interact/SKILL.md +65 -367
  29. package/skills/argent-device-interact/references/chromium.md +4 -19
  30. package/skills/argent-device-interact/references/foldables.md +8 -0
  31. package/skills/argent-device-interact/references/harmonyos.md +13 -50
  32. package/skills/argent-ios-device-interact/SKILL.md +0 -1
  33. package/skills/argent-ios-device-setup/SKILL.md +1 -1
  34. package/skills/argent-ios-simulator-setup/SKILL.md +3 -9
  35. package/skills/argent-lens/SKILL.md +20 -75
  36. package/skills/argent-metro-debugger/SKILL.md +35 -101
  37. package/skills/argent-native-profiler/SKILL.md +23 -92
  38. package/skills/argent-qa-e2e/SKILL.md +5 -5
  39. package/skills/argent-react-native-app-workflow/SKILL.md +34 -203
  40. package/skills/argent-react-native-optimization/SKILL.md +10 -26
  41. package/skills/argent-react-native-optimization/references/fix-reference.md +11 -11
  42. package/skills/argent-react-native-optimization/references/lint-rules.md +4 -5
  43. package/skills/argent-react-native-optimization/references/semantic-checklist.md +2 -2
  44. package/skills/argent-react-native-profiler/SKILL.md +46 -110
  45. package/skills/argent-screen-recording/SKILL.md +18 -37
  46. package/skills/argent-screenshot-diff/SKILL.md +8 -52
  47. package/skills/argent-settings-permissions/SKILL.md +15 -117
  48. package/skills/argent-test-ui-flow/SKILL.md +20 -90
  49. package/skills/argent-tv-interact/SKILL.md +9 -34
  50. package/skills/argent-tv-interact/references/vega.md +23 -0
  51. package/agents/argent-environment-inspector.md +0 -107
  52. package/agents/references/quality-control-checklist.md +0 -45
  53. package/skills/argent-device-interact/references/gesture-examples.md +0 -114
  54. package/skills/argent-device-interact/references/secrets.md +0 -23
  55. package/skills/argent-metro-debugger/references/failure-scenarios.md +0 -14
  56. package/skills/argent-metro-debugger/references/source-maps.md +0 -27
  57. package/skills/argent-react-native-profiler/references/diagnostic-tools.md +0 -101
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -35809,7 +35809,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
35809
35809
  var SESSION_ID2 = randomUUID5();
35810
35810
  function readCliVersion() {
35811
35811
  if (true) {
35812
- return "0.32.0";
35812
+ return "0.32.1-next.0";
35813
35813
  }
35814
35814
  return "0.0.0";
35815
35815
  }
@@ -16934,7 +16934,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
16934
16934
  var SESSION_ID = randomUUID4();
16935
16935
  function readCliVersion() {
16936
16936
  if (true) {
16937
- return "0.32.0";
16937
+ return "0.32.1-next.0";
16938
16938
  }
16939
16939
  return "0.0.0";
16940
16940
  }
@@ -23581,7 +23581,7 @@ async function init2(args) {
23581
23581
  scope,
23582
23582
  customRoot
23583
23583
  });
23584
- log.step(import_picocolors11.default.bold("Step 3: Rules & Agents"));
23584
+ log.step(import_picocolors11.default.bold("Step 3: Rules"));
23585
23585
  const copyResults = copyRulesAndAgents(
23586
23586
  writtenAdapters,
23587
23587
  effectiveRoot,
@@ -23590,9 +23590,9 @@ async function init2(args) {
23590
23590
  AGENTS_DIR
23591
23591
  );
23592
23592
  if (copyResults.length > 0) {
23593
- note(copyResults.join("\n"), "Rules & Agents");
23593
+ note(copyResults.join("\n"), "Rules");
23594
23594
  } else {
23595
- log.info(import_picocolors11.default.dim("No rules or agents to copy for selected editors."));
23595
+ log.info(import_picocolors11.default.dim("No rules to copy for selected editors."));
23596
23596
  }
23597
23597
  await reportRetiredFiles(
23598
23598
  findRetiredRulesAndAgents(
@@ -23656,7 +23656,7 @@ function printSummary({
23656
23656
  selectedAdapters.length > 0 ? `${import_picocolors11.default.green("MCP server")} configured for ${selectedAdapters.map((a2) => a2.name).join(", ")} (${scope})` : `${import_picocolors11.default.yellow("MCP server")} NOT configured \u2014 no editor config was written`,
23657
23657
  `${import_picocolors11.default.green("Auto-approve")} ${allowlistEnabled ? "enabled" : "skipped"}`,
23658
23658
  `${import_picocolors11.default.green("Skills")} ${skillsMethod === "manual" ? "instructions printed" : "installed"}`,
23659
- `${import_picocolors11.default.green("Rules & agents")} ${copiedRules ? "copied" : "n/a"}`
23659
+ `${import_picocolors11.default.green("Rules")} ${copiedRules ? "copied" : "n/a"}`
23660
23660
  ];
23661
23661
  note(summaryLines.join("\n"), "Summary");
23662
23662
  if (installMode === "local") {
@@ -23667,7 +23667,7 @@ function printSummary({
23667
23667
  `${import_picocolors11.default.bold("Commit")} so your team shares the same setup:`,
23668
23668
  ` ${import_picocolors11.default.cyan("package.json")} + your lockfile`,
23669
23669
  ` the written MCP config (.mcp.json, .cursor/mcp.json, \u2026)`,
23670
- ` ${import_picocolors11.default.cyan(".argent/install.json")}${wroteProjectTelemetryOptOut ? ` + ${import_picocolors11.default.cyan(".argent/config.json")}` : ""}, and the skills/rules/agents files`,
23670
+ ` ${import_picocolors11.default.cyan(".argent/install.json")}${wroteProjectTelemetryOptOut ? ` + ${import_picocolors11.default.cyan(".argent/config.json")}` : ""}, and the skills and rules files`,
23671
23671
  "",
23672
23672
  `Teammates then get argent on ${import_picocolors11.default.cyan("npm install")} \u2014 no global install, no ${import_picocolors11.default.cyan("argent init")}.`,
23673
23673
  import_picocolors11.default.dim(
@@ -24521,7 +24521,7 @@ async function update(args) {
24521
24521
  });
24522
24522
  }
24523
24523
  if (ruleResults.length > 0) {
24524
- note(ruleResults.join("\n"), "Rules & Agents Updated");
24524
+ note(ruleResults.join("\n"), "Rules Updated");
24525
24525
  }
24526
24526
  await reportRetiredFiles(
24527
24527
  findRetiredRulesAndAgents(
@@ -29101,7 +29101,7 @@ function toMcpToolList(tools, options = {}) {
29101
29101
  }
29102
29102
 
29103
29103
  // ../argent-mcp/src/instructions.ts
29104
- var SERVER_INSTRUCTIONS = "Argent \u2014 iOS Simulator, Android Emulator, and Chromium app control for interacting, testing, profiling and debugging mobile and Chromium applications. Interaction tools return the screen after the action: a screenshot plus the accessibility element tree with normalized tap frames. Take coordinates from that tree; call describe (or debugger-component-tree) only when no fresh tree is available \u2014 never guess coordinates from pixels. Do not stop simulator servers when a task finishes: the next task reuses them. Call stop-all-simulator-servers when the user asks to clean up or ends the session, or when a skill tells you to recycle a device's services, always with devices: [...] naming the devices this session used. Never stop a Metro the user started unless they ask. One tool-server is shared by every agent using this argent install, so an unscoped call tears down their devices too \u2014 reserve it for a deliberate machine-wide cleanup.";
29104
+ var SERVER_INSTRUCTIONS = "Argent \u2014 iOS Simulator, Android Emulator, and Chromium app control for interacting, testing, profiling and debugging mobile and Chromium applications. Interaction tools return the screen after the action: a screenshot plus the accessibility element tree with normalized tap frames. Take coordinates from that tree; call describe only when no fresh tree is available \u2014 never guess coordinates from pixels. Do not stop simulator servers when a task finishes: the next task reuses them. Call stop-all-simulator-servers when the user asks to clean up or ends the session, or when a skill tells you to recycle a device's services, always with devices: [...] naming the devices this session used. Never stop a Metro the user started unless they ask. One tool-server is shared by every agent using this argent install, so an unscoped call tears down their devices too \u2014 reserve it for a deliberate machine-wide cleanup.";
29105
29105
 
29106
29106
  // ../argent-mcp/src/installed-version.ts
29107
29107
  import * as fs11 from "node:fs";