@swmansion/argent 0.34.1-next.96 → 0.34.1-next.98
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/bin/argent-android-devtools-0.4.0.apk +0 -0
- package/bin/darwin/argent-macos-helper +0 -0
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/bin/network-inspector/network-inspector.jar +0 -0
- package/bin/tcp/ax-service +0 -0
- package/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-args.generated.d.ts +32 -32
- package/dist/tool-server.cjs +250 -190
- package/dylibs/libArgentAudio.dylib +0 -0
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/macos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/macos/libNativeDevtoolsMacos.dylib +0 -0
- package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
- package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
- package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +2 -2
- package/skills/argent-create-e2e/references/live-authoring.md +7 -15
- package/skills/argent-device-interact/SKILL.md +25 -23
- package/skills/argent-macos-app-interact/SKILL.md +1 -1
- package/skills/argent-metro-debugger/SKILL.md +25 -25
- package/skills/argent-qa-e2e/SKILL.md +1 -1
- package/skills/argent-react-native-optimization/references/fix-reference.md +10 -10
- package/skills/argent-test-ui-flow/SKILL.md +1 -1
|
Binary file
|
|
Binary file
|
package/bin/darwin/ax-service
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/tcp/ax-service
CHANGED
|
Binary file
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -38575,7 +38575,7 @@ function isCi(env = process.env) {
|
|
|
38575
38575
|
var SESSION_ID2 = randomUUID5();
|
|
38576
38576
|
function readCliVersion() {
|
|
38577
38577
|
if (true) {
|
|
38578
|
-
return "0.34.1-next.
|
|
38578
|
+
return "0.34.1-next.98";
|
|
38579
38579
|
}
|
|
38580
38580
|
return "0.0.0";
|
|
38581
38581
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16998,7 +16998,7 @@ function isCi(env = process.env) {
|
|
|
16998
16998
|
var SESSION_ID = randomUUID4();
|
|
16999
16999
|
function readCliVersion() {
|
|
17000
17000
|
if (true) {
|
|
17001
|
-
return "0.34.1-next.
|
|
17001
|
+
return "0.34.1-next.98";
|
|
17002
17002
|
}
|
|
17003
17003
|
return "0.0.0";
|
|
17004
17004
|
}
|
|
@@ -16,19 +16,19 @@ export interface ArgentToolArgs {
|
|
|
16
16
|
bundleId?: string;
|
|
17
17
|
};
|
|
18
18
|
"await-network-request": {
|
|
19
|
-
/** Device ID passed as udid to network-capture-start
|
|
19
|
+
/** Device ID passed as udid to network-capture-start. The wait reuses its Metro target. */
|
|
20
20
|
udid: string;
|
|
21
|
-
/**
|
|
21
|
+
/** The bundleId used for network-capture-start. On Chromium, use a valid placeholder such as argent.capture. */
|
|
22
22
|
bundleId: string;
|
|
23
|
-
/** URL text or pattern
|
|
23
|
+
/** URL text or a pattern. Match a part with no secrets. The result includes the full URL and secret placeholders are rejected. */
|
|
24
24
|
url: string;
|
|
25
|
-
/** contains (default)
|
|
25
|
+
/** contains (default) and equals ignore case. matches uses a case-sensitive JavaScript regular expression with no implicit anchors. */
|
|
26
26
|
urlMatch?: "contains" | "equals" | "matches";
|
|
27
|
-
/** HTTP method
|
|
27
|
+
/** HTTP method, matched without regard to case. */
|
|
28
28
|
method?: string;
|
|
29
|
-
/** Exact HTTP status
|
|
29
|
+
/** Exact HTTP status or a class such as "2xx". Failed requests can match if they received response headers. */
|
|
30
30
|
status?: "1xx" | "2xx" | "3xx" | "4xx" | "5xx" | number;
|
|
31
|
-
/** complete (default)
|
|
31
|
+
/** complete (default) accepts a finished response, including HTTP errors. failed accepts a request error. any accepts either. */
|
|
32
32
|
outcome?: "complete" | "failed" | "any";
|
|
33
33
|
/** Wait limit in milliseconds. Default 10000. */
|
|
34
34
|
timeoutMs?: number;
|
|
@@ -572,13 +572,13 @@ export interface ArgentToolArgs {
|
|
|
572
572
|
"native-network-logs": {
|
|
573
573
|
/** Device ID from list-devices: an iOS simulator UDID or Android serial, or a Mac app id (macos-app-<bundle id>) */
|
|
574
574
|
udid: string;
|
|
575
|
-
/** App bundle ID on iOS or package name on Android
|
|
575
|
+
/** App bundle ID on iOS or package name on Android. On macOS, omit the macos-app- prefix. */
|
|
576
576
|
bundleId: string;
|
|
577
|
-
/**
|
|
577
|
+
/** Exclude requests to this Metro port on local addresses. Omit it to use the device's Metro port (usually 8081). */
|
|
578
578
|
port?: number;
|
|
579
|
-
/**
|
|
579
|
+
/** Take the newest matching requests and return them oldest first. Use 0 for capture status and totals without entries. */
|
|
580
580
|
limit?: number;
|
|
581
|
-
/**
|
|
581
|
+
/** Hide existing history from later lists. Cleared request IDs still work in view-network-request-details. */
|
|
582
582
|
clear?: boolean;
|
|
583
583
|
};
|
|
584
584
|
"native-profiler-analyze": {
|
|
@@ -658,43 +658,43 @@ export interface ArgentToolArgs {
|
|
|
658
658
|
hitTest?: boolean;
|
|
659
659
|
};
|
|
660
660
|
"network-capture-start": {
|
|
661
|
-
/**
|
|
661
|
+
/** Device ID from list-devices. For Mac builds started outside Argent, use macos-app-<bundle id>. */
|
|
662
662
|
udid: string;
|
|
663
|
-
/** App bundle ID on iOS or package name on Android. On Mac
|
|
663
|
+
/** App bundle ID on iOS or package name on Android. On Mac, omit the macos-app- prefix. On Chromium, use a valid placeholder such as argent.capture. */
|
|
664
664
|
bundleId: string;
|
|
665
|
-
/** The app's Metro port. Omit it
|
|
665
|
+
/** The app's Metro port for JS capture and native log filtering. Omit it only when the app uses the device's port (usually 8081); otherwise check the project's Metro start script. Chromium uses the CDP port in udid. */
|
|
666
666
|
port?: number;
|
|
667
|
-
/**
|
|
667
|
+
/** Omit to control both layers. Selecting one leaves the other alone. Chromium ignores this setting. */
|
|
668
668
|
layer?: "js" | "native";
|
|
669
|
-
/**
|
|
669
|
+
/** For iOS simulators and Android on shared Metro, use the logical ID for the intended device if requested. Reuse it for start and stop, and as device_id for JS reads. For Mac apps, omit logicalDeviceId and keep the Mac app id even on shared Metro. */
|
|
670
670
|
logicalDeviceId?: string;
|
|
671
671
|
};
|
|
672
672
|
"network-capture-stop": {
|
|
673
|
-
/**
|
|
673
|
+
/** Device ID from list-devices. For Mac builds started outside Argent, use macos-app-<bundle id>. */
|
|
674
674
|
udid: string;
|
|
675
|
-
/** App bundle ID on iOS or package name on Android. On Mac
|
|
675
|
+
/** App bundle ID on iOS or package name on Android. On Mac, omit the macos-app- prefix. On Chromium, use a valid placeholder such as argent.capture. */
|
|
676
676
|
bundleId: string;
|
|
677
|
-
/** The app's Metro port. Omit it
|
|
677
|
+
/** The app's Metro port for JS capture and native log filtering. Omit it only when the app uses the device's port (usually 8081); otherwise check the project's Metro start script. Chromium uses the CDP port in udid. */
|
|
678
678
|
port?: number;
|
|
679
|
-
/**
|
|
679
|
+
/** Omit to control both layers. Selecting one leaves the other alone. Chromium ignores this setting. */
|
|
680
680
|
layer?: "js" | "native";
|
|
681
|
-
/**
|
|
681
|
+
/** For iOS simulators and Android on shared Metro, use the logical ID for the intended device if requested. Reuse it for start and stop, and as device_id for JS reads. For Mac apps, omit logicalDeviceId and keep the Mac app id even on shared Metro. */
|
|
682
682
|
logicalDeviceId?: string;
|
|
683
683
|
};
|
|
684
684
|
"network-conditions": {
|
|
685
|
-
/**
|
|
685
|
+
/** Device ID from list-devices. */
|
|
686
686
|
udid: string;
|
|
687
|
-
/**
|
|
687
|
+
/** Bundle ID of the app to shape. Required on iOS and ignored elsewhere. */
|
|
688
688
|
bundleId?: string;
|
|
689
|
-
/**
|
|
689
|
+
/** Metro port to exempt from shaping on iOS and Android. Omit for the device's port (usually 8081). */
|
|
690
690
|
port?: number;
|
|
691
|
-
/**
|
|
691
|
+
/** Delay in milliseconds. Android adds it per round trip. iOS and Chromium use it as a minimum response delay. */
|
|
692
692
|
latencyMs?: number;
|
|
693
693
|
/** Download limit in kilobits per second. */
|
|
694
694
|
downloadKbps?: number;
|
|
695
695
|
/** Upload limit in kilobits per second. */
|
|
696
696
|
uploadKbps?: number;
|
|
697
|
-
/** Make requests fail as if the network were down. On Android, ports
|
|
697
|
+
/** Make requests fail as if the network were down. On Android, adb reverse ports stay reachable, but Metro at 10.0.2.2 does not. False alone resets the conditions. */
|
|
698
698
|
offline?: boolean;
|
|
699
699
|
};
|
|
700
700
|
"open-url": {
|
|
@@ -979,7 +979,7 @@ export interface ArgentToolArgs {
|
|
|
979
979
|
captureCurrent?: boolean;
|
|
980
980
|
/** Orientation override for live baseline/current captures. Rejected on HarmonyOS, which captures the display in its current orientation and has no override. Ignored on physical iPhones. */
|
|
981
981
|
rotation?: "Portrait" | "LandscapeLeft" | "LandscapeRight" | "PortraitUpsideDown";
|
|
982
|
-
/** Directory where diff artifacts should be written (default: a temp directory).
|
|
982
|
+
/** Directory where diff artifacts should be written (default: a temp directory). */
|
|
983
983
|
outputDir?: string;
|
|
984
984
|
};
|
|
985
985
|
"settings-permissions": {
|
|
@@ -1035,19 +1035,19 @@ export interface ArgentToolArgs {
|
|
|
1035
1035
|
"view-network-logs": {
|
|
1036
1036
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
1037
1037
|
port?: number;
|
|
1038
|
-
/** Device
|
|
1038
|
+
/** Device ID from list-devices. For iOS simulators and Android, use logicalDeviceId if capture started with it. For a Mac app, keep the Mac app id macos-app-<bundle id> on shared Metro and for builds started outside Argent. */
|
|
1039
1039
|
device_id: string;
|
|
1040
|
-
/**
|
|
1040
|
+
/** Zero-based page index. "latest" and null select the newest page. Each page contains up to 50 entries. */
|
|
1041
1041
|
pageIndex?: number | "latest" | null;
|
|
1042
1042
|
};
|
|
1043
1043
|
"view-network-request-details": {
|
|
1044
1044
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
1045
1045
|
port?: number;
|
|
1046
|
-
/** Device
|
|
1046
|
+
/** Device ID for the matching log. For JS capture on iOS simulators and Android, use the logicalDeviceId if capture started with it. For a Mac app, keep the Mac app id even on shared Metro. */
|
|
1047
1047
|
device_id: string;
|
|
1048
|
-
/**
|
|
1048
|
+
/** Request ID from either network log or await-network-request. */
|
|
1049
1049
|
requestId: string;
|
|
1050
|
-
/**
|
|
1050
|
+
/** Set false to omit the response body. The request body can still appear. */
|
|
1051
1051
|
includeBody?: boolean;
|
|
1052
1052
|
};
|
|
1053
1053
|
/** @deprecated Renamed to `e2e-add-echo`. */
|