@swmansion/argent 0.34.1-next.57 → 0.34.1-next.59
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/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-args.generated.d.ts +16 -16
- package/dist/tool-server.cjs +1607 -1091
- package/package.json +1 -1
- package/skills/argent-macos-app-interact/SKILL.md +1 -1
- package/skills/argent-metro-debugger/SKILL.md +15 -3
- package/skills/argent-screen-recording/SKILL.md +5 -4
package/dist/cli-cmds.mjs
CHANGED
|
@@ -36289,7 +36289,7 @@ function isCi(env = process.env) {
|
|
|
36289
36289
|
var SESSION_ID2 = randomUUID5();
|
|
36290
36290
|
function readCliVersion() {
|
|
36291
36291
|
if (true) {
|
|
36292
|
-
return "0.34.1-next.
|
|
36292
|
+
return "0.34.1-next.59";
|
|
36293
36293
|
}
|
|
36294
36294
|
return "0.0.0";
|
|
36295
36295
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16946,7 +16946,7 @@ function isCi(env = process.env) {
|
|
|
16946
16946
|
var SESSION_ID = randomUUID4();
|
|
16947
16947
|
function readCliVersion() {
|
|
16948
16948
|
if (true) {
|
|
16949
|
-
return "0.34.1-next.
|
|
16949
|
+
return "0.34.1-next.59";
|
|
16950
16950
|
}
|
|
16951
16951
|
return "0.0.0";
|
|
16952
16952
|
}
|
|
@@ -141,7 +141,7 @@ export interface ArgentToolArgs {
|
|
|
141
141
|
"debugger-component-tree": {
|
|
142
142
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
143
143
|
port?: number;
|
|
144
|
-
/** Device id
|
|
144
|
+
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
145
145
|
device_id: string;
|
|
146
146
|
/** When true, only components visible on screen are returned. Set to false to include all mounted components, including those scrolled off-screen, e.g. to understand the full page structure. */
|
|
147
147
|
onScreenOnly?: boolean;
|
|
@@ -153,13 +153,13 @@ export interface ArgentToolArgs {
|
|
|
153
153
|
"debugger-connect": {
|
|
154
154
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
155
155
|
port?: number;
|
|
156
|
-
/** Device id from list-devices: iOS simulator UDID, Android serial, Vega serial (amazon-...),
|
|
156
|
+
/** Device id from list-devices: iOS simulator UDID, Android serial, Vega serial (amazon-...), Mac app id (macos-app-<bundle id>), or Chromium device id (chromium-cdp-<port>). */
|
|
157
157
|
device_id: string;
|
|
158
158
|
};
|
|
159
159
|
"debugger-evaluate": {
|
|
160
160
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
161
161
|
port?: number;
|
|
162
|
-
/** Device id
|
|
162
|
+
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
163
163
|
device_id: string;
|
|
164
164
|
/** JavaScript expression to evaluate in the app runtime */
|
|
165
165
|
expression: string;
|
|
@@ -167,11 +167,11 @@ export interface ArgentToolArgs {
|
|
|
167
167
|
"debugger-inspect-element": {
|
|
168
168
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
169
169
|
port?: number;
|
|
170
|
-
/** Device id
|
|
170
|
+
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
171
171
|
device_id: string;
|
|
172
|
-
/**
|
|
172
|
+
/** Horizontal position in logical pixels from the left edge of the screen, or in points from the left edge of the Mac app window, title bar included. */
|
|
173
173
|
x: number;
|
|
174
|
-
/**
|
|
174
|
+
/** Vertical position in logical pixels from the top edge of the screen, or in points from the top edge of the Mac app window, title bar included. */
|
|
175
175
|
y: number;
|
|
176
176
|
/** Lines of source context to include around the component definition */
|
|
177
177
|
contextLines?: number;
|
|
@@ -185,19 +185,19 @@ export interface ArgentToolArgs {
|
|
|
185
185
|
"debugger-log-registry": {
|
|
186
186
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
187
187
|
port?: number;
|
|
188
|
-
/** Device id
|
|
188
|
+
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
189
189
|
device_id: string;
|
|
190
190
|
};
|
|
191
191
|
"debugger-reload-metro": {
|
|
192
192
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
193
193
|
port?: number;
|
|
194
|
-
/** Device id
|
|
194
|
+
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
195
195
|
device_id: string;
|
|
196
196
|
};
|
|
197
197
|
"debugger-status": {
|
|
198
198
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
199
199
|
port?: number;
|
|
200
|
-
/** Device id
|
|
200
|
+
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
201
201
|
device_id: string;
|
|
202
202
|
};
|
|
203
203
|
describe: {
|
|
@@ -636,7 +636,7 @@ export interface ArgentToolArgs {
|
|
|
636
636
|
bundleId: string;
|
|
637
637
|
/** The app's Metro port: the JS layer is reached through it, and the native layers leave its requests out. Omit it to use this device's port, 8081 by default. */
|
|
638
638
|
port?: number;
|
|
639
|
-
/**
|
|
639
|
+
/** Use js for the app's JavaScript requests or native for requests captured by the native layer. Omit to control all supported layers. On Mac apps, this parameter supports only native. Read view-network-logs to start JavaScript capture in a React Native Mac app. */
|
|
640
640
|
layer?: "js" | "native";
|
|
641
641
|
/** Only when several devices share the Metro port: this device's logicalDeviceId, which the JS layer's reason lists. The JS layer connects to that runtime, and view-network-logs then takes it as device_id. The native layer always uses udid. */
|
|
642
642
|
logicalDeviceId?: string;
|
|
@@ -648,7 +648,7 @@ export interface ArgentToolArgs {
|
|
|
648
648
|
bundleId: string;
|
|
649
649
|
/** The app's Metro port: the JS layer is reached through it, and the native layers leave its requests out. Omit it to use this device's port, 8081 by default. */
|
|
650
650
|
port?: number;
|
|
651
|
-
/**
|
|
651
|
+
/** Use js for the app's JavaScript requests or native for requests captured by the native layer. Omit to control all supported layers. On Mac apps, this parameter supports only native. Read view-network-logs to start JavaScript capture in a React Native Mac app. */
|
|
652
652
|
layer?: "js" | "native";
|
|
653
653
|
/** Only when several devices share the Metro port: this device's logicalDeviceId, which the JS layer's reason lists. The JS layer connects to that runtime, and view-network-logs then takes it as device_id. The native layer always uses udid. */
|
|
654
654
|
logicalDeviceId?: string;
|
|
@@ -911,17 +911,17 @@ export interface ArgentToolArgs {
|
|
|
911
911
|
}>;
|
|
912
912
|
};
|
|
913
913
|
"screen-recording-start": {
|
|
914
|
-
/** Target
|
|
914
|
+
/** Target ID from `list-devices`. For a Mac app, use its device ID, such as `macos-app-com.example.notes`. */
|
|
915
915
|
udid: string;
|
|
916
916
|
/** Auto-stop cap in seconds (default 180). Set it to slightly more than the interaction you plan to capture. */
|
|
917
917
|
timeLimitSeconds?: number;
|
|
918
918
|
/** Default true. Collapse stretches where the screen does not change: the first second of each still stretch is kept, then unchanged frames are dropped until something moves again, so a long recording with brief activity comes back short instead of full of dead air. Set false to keep a faithful real-time recording. */
|
|
919
919
|
trimStatic?: boolean;
|
|
920
|
-
/**
|
|
920
|
+
/** Draw touch markers in the video (default true). Recordings of physical iPhones have no touch markers. For Mac apps, this shows the agent's pointer, a click ring, and a dot while a mouse button is held. */
|
|
921
921
|
showTouches?: boolean;
|
|
922
922
|
};
|
|
923
923
|
"screen-recording-stop": {
|
|
924
|
-
/** Target
|
|
924
|
+
/** Target ID from `list-devices`. For a Mac app, use its device ID, such as `macos-app-com.example.notes`. */
|
|
925
925
|
udid: string;
|
|
926
926
|
};
|
|
927
927
|
screenshot: {
|
|
@@ -1005,7 +1005,7 @@ export interface ArgentToolArgs {
|
|
|
1005
1005
|
"view-network-logs": {
|
|
1006
1006
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
1007
1007
|
port?: number;
|
|
1008
|
-
/** Device id from list-devices
|
|
1008
|
+
/** Device id from list-devices, or the logicalDeviceId used to start an iOS or Android capture on shared Metro. For macOS, use the Mac app id. */
|
|
1009
1009
|
device_id: string;
|
|
1010
1010
|
/** Page index (0-based) or "latest" for the most recent page. Each page contains up to 50 entries. */
|
|
1011
1011
|
pageIndex?: number | "latest" | null;
|
|
@@ -1013,7 +1013,7 @@ export interface ArgentToolArgs {
|
|
|
1013
1013
|
"view-network-request-details": {
|
|
1014
1014
|
/** Metro port. Omit it to use this device's port (8081 by default). Ignored for Chromium, whose CDP port is in device_id. */
|
|
1015
1015
|
port?: number;
|
|
1016
|
-
/** Device id
|
|
1016
|
+
/** Device id used to list the request. For macOS, use the Mac app id. */
|
|
1017
1017
|
device_id: string;
|
|
1018
1018
|
/** The requestId from view-network-logs, or a native ID (ios-, android- or macos-) from native-network-logs. */
|
|
1019
1019
|
requestId: string;
|