@swmansion/argent 0.35.1-next.75 → 0.35.1-next.77

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/dist/cli-cmds.mjs CHANGED
@@ -13407,6 +13407,8 @@ var FAILURE_CODES = {
13407
13407
  MACOS_APP_FILE_ACCESS_FAILED: "MACOS_APP_FILE_ACCESS_FAILED",
13408
13408
  /** The app's loaded Argent library lacks support for the requested operation. */
13409
13409
  MACOS_APP_LIBRARY_OUTDATED: "MACOS_APP_LIBRARY_OUTDATED",
13410
+ /** The user clicked, scrolled or typed in the app while argent's pointer moved, and took the pointer back. */
13411
+ MACOS_APP_POINTER_TAKEN_OVER: "MACOS_APP_POINTER_TAKEN_OVER",
13410
13412
  KEYBOARD_KEY_UNSUPPORTED: "KEYBOARD_KEY_UNSUPPORTED",
13411
13413
  KEYBOARD_CHARACTER_UNSUPPORTED: "KEYBOARD_CHARACTER_UNSUPPORTED",
13412
13414
  KEYBOARD_TEXT_AND_KEY_COMBINED: "KEYBOARD_TEXT_AND_KEY_COMBINED",
@@ -38904,7 +38906,7 @@ function isCi(env = process.env) {
38904
38906
  var SESSION_ID2 = randomUUID5();
38905
38907
  function readCliVersion() {
38906
38908
  if (true) {
38907
- return "0.35.1-next.74";
38909
+ return "0.35.1-next.77";
38908
38910
  }
38909
38911
  return "0.0.0";
38910
38912
  }
package/dist/client.js CHANGED
@@ -9703,6 +9703,8 @@ var FAILURE_CODES = {
9703
9703
  MACOS_APP_FILE_ACCESS_FAILED: "MACOS_APP_FILE_ACCESS_FAILED",
9704
9704
  /** The app's loaded Argent library lacks support for the requested operation. */
9705
9705
  MACOS_APP_LIBRARY_OUTDATED: "MACOS_APP_LIBRARY_OUTDATED",
9706
+ /** The user clicked, scrolled or typed in the app while argent's pointer moved, and took the pointer back. */
9707
+ MACOS_APP_POINTER_TAKEN_OVER: "MACOS_APP_POINTER_TAKEN_OVER",
9706
9708
  KEYBOARD_KEY_UNSUPPORTED: "KEYBOARD_KEY_UNSUPPORTED",
9707
9709
  KEYBOARD_CHARACTER_UNSUPPORTED: "KEYBOARD_CHARACTER_UNSUPPORTED",
9708
9710
  KEYBOARD_TEXT_AND_KEY_COMBINED: "KEYBOARD_TEXT_AND_KEY_COMBINED",
@@ -16243,6 +16243,8 @@ var FAILURE_CODES = {
16243
16243
  MACOS_APP_FILE_ACCESS_FAILED: "MACOS_APP_FILE_ACCESS_FAILED",
16244
16244
  /** The app's loaded Argent library lacks support for the requested operation. */
16245
16245
  MACOS_APP_LIBRARY_OUTDATED: "MACOS_APP_LIBRARY_OUTDATED",
16246
+ /** The user clicked, scrolled or typed in the app while argent's pointer moved, and took the pointer back. */
16247
+ MACOS_APP_POINTER_TAKEN_OVER: "MACOS_APP_POINTER_TAKEN_OVER",
16246
16248
  KEYBOARD_KEY_UNSUPPORTED: "KEYBOARD_KEY_UNSUPPORTED",
16247
16249
  KEYBOARD_CHARACTER_UNSUPPORTED: "KEYBOARD_CHARACTER_UNSUPPORTED",
16248
16250
  KEYBOARD_TEXT_AND_KEY_COMBINED: "KEYBOARD_TEXT_AND_KEY_COMBINED",
@@ -17136,7 +17138,7 @@ function isCi(env = process.env) {
17136
17138
  var SESSION_ID = randomUUID4();
17137
17139
  function readCliVersion() {
17138
17140
  if (true) {
17139
- return "0.35.1-next.74";
17141
+ return "0.35.1-next.77";
17140
17142
  }
17141
17143
  return "0.0.0";
17142
17144
  }
@@ -34138,6 +34138,8 @@ var FAILURE_CODES = {
34138
34138
  MACOS_APP_FILE_ACCESS_FAILED: "MACOS_APP_FILE_ACCESS_FAILED",
34139
34139
  /** The app's loaded Argent library lacks support for the requested operation. */
34140
34140
  MACOS_APP_LIBRARY_OUTDATED: "MACOS_APP_LIBRARY_OUTDATED",
34141
+ /** The user clicked, scrolled or typed in the app while argent's pointer moved, and took the pointer back. */
34142
+ MACOS_APP_POINTER_TAKEN_OVER: "MACOS_APP_POINTER_TAKEN_OVER",
34141
34143
  KEYBOARD_KEY_UNSUPPORTED: "KEYBOARD_KEY_UNSUPPORTED",
34142
34144
  KEYBOARD_CHARACTER_UNSUPPORTED: "KEYBOARD_CHARACTER_UNSUPPORTED",
34143
34145
  KEYBOARD_TEXT_AND_KEY_COMBINED: "KEYBOARD_TEXT_AND_KEY_COMBINED",
@@ -37171,6 +37173,7 @@ var AUTO_SCREENSHOT_TOOLS = /* @__PURE__ */ new Set([
37171
37173
  "gesture-swipe",
37172
37174
  "gesture-scroll",
37173
37175
  "gesture-drag",
37176
+ "gesture-hover",
37174
37177
  "gesture-custom",
37175
37178
  "gesture-pinch",
37176
37179
  "gesture-rotate",
@@ -37197,6 +37200,7 @@ var AUTO_SCREENSHOT_DELAY_MS_BY_TOOL = {
37197
37200
  "gesture-swipe": 1500,
37198
37201
  "gesture-scroll": 1500,
37199
37202
  "gesture-drag": 1500,
37203
+ "gesture-hover": 1500,
37200
37204
  "gesture-custom": 1500,
37201
37205
  "gesture-tap": 1500,
37202
37206
  "gesture-pinch": 1500,
@@ -37226,6 +37230,7 @@ var AUTO_DESCRIBE_TOOLS = /* @__PURE__ */ new Set([
37226
37230
  "gesture-swipe",
37227
37231
  "gesture-scroll",
37228
37232
  "gesture-drag",
37233
+ "gesture-hover",
37229
37234
  "gesture-custom",
37230
37235
  "gesture-pinch",
37231
37236
  "gesture-rotate",
@@ -38468,7 +38473,7 @@ async function startMcpServer(options) {
38468
38473
  const autoDescribeOn = autoDescribeEnabled();
38469
38474
  const whatsNewOn = whatsNewEnabled();
38470
38475
  const installedVersion = getInstalledVersion();
38471
- const highlightsVersion = true ? "0.35.1-next.74" : installedVersion;
38476
+ const highlightsVersion = true ? "0.35.1-next.77" : installedVersion;
38472
38477
  const captureTimeoutMs = options.captureTimeoutMs ?? CAPTURE_TIMEOUT_MS;
38473
38478
  const trees = createTreeMemory();
38474
38479
  const screenshots = createScreenshotMemory();
@@ -493,6 +493,18 @@ export interface ArgentToolArgs {
493
493
  /** Default true (constant speed). false decelerates into release to avoid fling. */
494
494
  momentum?: boolean;
495
495
  };
496
+ "gesture-hover": {
497
+ /** Mac app device ID from `list-devices`. */
498
+ udid: string;
499
+ /** Horizontal fraction of the area reported by `describe`, measured from the left. Required unless `leave` is true. */
500
+ x?: number;
501
+ /** Vertical fraction of the area reported by `describe`, measured from the top. Required unless `leave` is true. */
502
+ y?: number;
503
+ /** Approximate move duration in milliseconds from Argent's last pointer position (default 150). Use 0 to move directly. The pointer also moves directly when there is no starting position, such as immediately after `leave`. */
504
+ durationMs?: number;
505
+ /** Set true to move the pointer out of the window and clear the hover. Omit `x`, `y`, and `durationMs`. */
506
+ leave?: boolean;
507
+ };
496
508
  "gesture-pinch": {
497
509
  /** Device id from `list-devices` (iOS UDID, HarmonyOS id, or Android serial). */
498
510
  udid: string;