@swmansion/argent 0.35.1-next.15 → 0.35.1-next.17
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/mcp-server.mjs +2 -2
- package/dist/tool-args.generated.d.ts +321 -321
- package/dist/tool-server.cjs +494 -863
- package/package.json +2 -2
|
@@ -16,23 +16,23 @@ export interface ArgentToolArgs {
|
|
|
16
16
|
bundleId?: string;
|
|
17
17
|
};
|
|
18
18
|
"await-network-request": {
|
|
19
|
-
/** Device ID
|
|
19
|
+
/** Device ID used in `network-capture-start`. */
|
|
20
20
|
udid: string;
|
|
21
|
-
/**
|
|
21
|
+
/** `bundleId` used in `network-capture-start` (Chromium: placeholder like `argent.capture`). */
|
|
22
22
|
bundleId: string;
|
|
23
|
-
/** URL text
|
|
23
|
+
/** URL text/regex to match (no `{{secret:...}}` placeholders; full URL is returned). */
|
|
24
24
|
url: string;
|
|
25
|
-
/** contains (default)
|
|
25
|
+
/** `contains` (default) / `equals` (case-insensitive) or `matches` (case-sensitive JS regex). */
|
|
26
26
|
urlMatch?: "contains" | "equals" | "matches";
|
|
27
|
-
/** HTTP method
|
|
27
|
+
/** HTTP method (case-insensitive). */
|
|
28
28
|
method?: string;
|
|
29
|
-
/** Exact HTTP status or
|
|
29
|
+
/** Exact HTTP status or class (e.g. "2xx"). */
|
|
30
30
|
status?: "1xx" | "2xx" | "3xx" | "4xx" | "5xx" | number;
|
|
31
|
-
/** complete (default
|
|
31
|
+
/** `complete` (default, incl. HTTP errors), `failed` (network error), or `any`. */
|
|
32
32
|
outcome?: "complete" | "failed" | "any";
|
|
33
|
-
/**
|
|
33
|
+
/** Timeout in ms (default 10000). */
|
|
34
34
|
timeoutMs?: number;
|
|
35
|
-
/**
|
|
35
|
+
/** Poll interval in ms (default 400). */
|
|
36
36
|
pollIntervalMs?: number;
|
|
37
37
|
};
|
|
38
38
|
"await-screen-idle": {
|
|
@@ -46,11 +46,11 @@ export interface ArgentToolArgs {
|
|
|
46
46
|
minStableMs?: number;
|
|
47
47
|
};
|
|
48
48
|
"await-ui-element": {
|
|
49
|
-
/** Target device id from `list-devices
|
|
49
|
+
/** Target device id from `list-devices`. */
|
|
50
50
|
udid: string;
|
|
51
|
-
/**
|
|
51
|
+
/** `exists`: in tree; `visible`: non-zero on-screen frame; `hidden`: absent or zero-area; `text`: first visible match in reading order matches `expectedText`. On a Mac app, open menus match before alerts/sheets and the window. */
|
|
52
52
|
condition: "exists" | "visible" | "hidden" | "text";
|
|
53
|
-
/** Element
|
|
53
|
+
/** Element matcher (at least one field; all given fields must match). */
|
|
54
54
|
selector: {
|
|
55
55
|
/** Case-insensitive substring of the element's visible label or value. */
|
|
56
56
|
text?: string;
|
|
@@ -59,15 +59,15 @@ export interface ArgentToolArgs {
|
|
|
59
59
|
/** Case-insensitive substring of the element's role (e.g. AXButton, button, TextView). */
|
|
60
60
|
role?: string;
|
|
61
61
|
};
|
|
62
|
-
/** Required for
|
|
62
|
+
/** Required for `text`: expected substring or full string (see `textMatch`). */
|
|
63
63
|
expectedText?: string;
|
|
64
|
-
/**
|
|
64
|
+
/** Case-insensitive match mode for `text`: `contains` (default) or `equals`. */
|
|
65
65
|
textMatch?: "contains" | "equals";
|
|
66
|
-
/** iOS
|
|
66
|
+
/** iOS simulator only: fallback bundle id for `describe`. */
|
|
67
67
|
bundleId?: string;
|
|
68
|
-
/**
|
|
68
|
+
/** Timeout in ms (default 5000). */
|
|
69
69
|
timeoutMs?: number;
|
|
70
|
-
/**
|
|
70
|
+
/** Poll interval in ms (default 400). */
|
|
71
71
|
pollIntervalMs?: number;
|
|
72
72
|
};
|
|
73
73
|
await_user_selection: {
|
|
@@ -75,39 +75,39 @@ export interface ArgentToolArgs {
|
|
|
75
75
|
timeoutSeconds?: number;
|
|
76
76
|
};
|
|
77
77
|
"boot-device": {
|
|
78
|
-
/** iOS
|
|
78
|
+
/** iOS simulator UDID from `list-devices`. Or Mac app id (`macos-app-<bundle id>`) to relaunch from its last path. */
|
|
79
79
|
udid?: string;
|
|
80
|
-
/** Android
|
|
80
|
+
/** Android AVD name (`kind: 'avd'` from `list-devices`). Reuses a compatible running emulator. */
|
|
81
81
|
avdName?: string;
|
|
82
|
-
/** Vega (Fire TV)
|
|
82
|
+
/** Vega (Fire TV) VVD image name from `list-devices` (e.g. `tv`). */
|
|
83
83
|
vvdImage?: string;
|
|
84
|
-
/** HarmonyOS
|
|
84
|
+
/** HarmonyOS emulator instance name or `harmony-emulator-<name>` id from `list-devices`. */
|
|
85
85
|
harmonyInstance?: string;
|
|
86
|
-
/**
|
|
86
|
+
/** Overall boot budget in ms (Android default 480000, Vega 120000, HarmonyOS 180000). On HarmonyOS with `force`, this spans shutdown too. */
|
|
87
87
|
bootTimeoutMs?: number;
|
|
88
|
-
/** Shut down and
|
|
88
|
+
/** Shut down and reboot even if already running. On HarmonyOS, also ties a running instance to its `hdc` connect key. On a Mac app, quits and restarts the same .app build, including a copy running without the argent library (losing its unsaved changes); fails if the app shows a save prompt. Ignored for Electron. */
|
|
89
89
|
force?: boolean;
|
|
90
|
-
/** Android only
|
|
90
|
+
/** Android only: enable emulator audio (default false, or `boot-sound` flag). Pair with `force: true` to toggle a running emulator. */
|
|
91
91
|
sound?: boolean;
|
|
92
|
-
/** Android on a macOS host only:
|
|
92
|
+
/** Android on a macOS host only: enable guest Vulkan (default false; true needed for WebGPU/Vulkan renderers, may crash Chrome GPU). Pair with `force: true` to toggle. */
|
|
93
93
|
guestVulkan?: boolean;
|
|
94
|
-
/** Android only: boot
|
|
94
|
+
/** Android only: boot `-read-only` (default false) to run multiple concurrent instances of one AVD without saving snapshot changes. */
|
|
95
95
|
readOnly?: boolean;
|
|
96
|
-
/** Android only:
|
|
96
|
+
/** Android only: emulator console port (even, 5554–5584; serial `emulator-<port>`, gRPC on port+3000). Defaults to first free port. */
|
|
97
97
|
port?: number;
|
|
98
|
-
/** Local iOS simulator only: apply accessibility
|
|
98
|
+
/** Local iOS simulator only: apply accessibility prefs to a Shutdown simulator without booting. Cannot combine with `force: true`. */
|
|
99
99
|
prepareOnly?: boolean;
|
|
100
|
-
/** iOS only: boot
|
|
100
|
+
/** iOS only: boot simulator core without opening Simulator.app (`ARGENT_SIMULATOR_NO_WINDOW=1` forces host-wide). */
|
|
101
101
|
headless?: boolean;
|
|
102
|
-
/** Electron: path to
|
|
102
|
+
/** Electron: path to `.app` bundle, executable, or project directory with `package.json`. */
|
|
103
103
|
electronAppPath?: string;
|
|
104
|
-
/** Electron
|
|
104
|
+
/** Electron only: CDP remote-debugging port (default: free port; id `chromium-cdp-<port>`). */
|
|
105
105
|
electronPort?: number;
|
|
106
|
-
/** Electron
|
|
106
|
+
/** Electron only: extra CLI args forwarded to the Electron binary. */
|
|
107
107
|
electronArgs?: Array<string>;
|
|
108
|
-
/** Mac app: path to
|
|
108
|
+
/** Mac app: path to `.app` bundle (id `macos-app-<bundle id>`). */
|
|
109
109
|
macosAppPath?: string;
|
|
110
|
-
/** Mac app only: arguments
|
|
110
|
+
/** Mac app only: launch arguments (omitted = none). */
|
|
111
111
|
macosAppArgs?: Array<string>;
|
|
112
112
|
};
|
|
113
113
|
button: {
|
|
@@ -117,27 +117,27 @@ export interface ArgentToolArgs {
|
|
|
117
117
|
button: "home" | "back" | "power" | "volumeUp" | "volumeDown" | "appSwitch" | "actionButton";
|
|
118
118
|
};
|
|
119
119
|
"chromium-cookies": {
|
|
120
|
-
/** Chromium device id
|
|
120
|
+
/** Chromium device id (`chromium-cdp-<port>`). */
|
|
121
121
|
udid: string;
|
|
122
|
-
/** get: read cookies. set: create/update a cookie. delete: remove matching cookies. clear: remove ALL browser cookies. */
|
|
122
|
+
/** get: read cookies. set: create/update a cookie. delete: remove matching cookies. clear: remove ALL browser cookies across all domains (ignores url/domain). */
|
|
123
123
|
action: "get" | "set" | "delete" | "clear";
|
|
124
|
-
/** Cookie name. */
|
|
124
|
+
/** Cookie name (required for `set`/`delete`). */
|
|
125
125
|
name?: string;
|
|
126
|
-
/** Cookie value. */
|
|
126
|
+
/** Cookie value (required for `set`). */
|
|
127
127
|
value?: string;
|
|
128
|
-
/**
|
|
128
|
+
/** URL filter for `get` (defaults to the active page) or scope for `set`/`delete`. */
|
|
129
129
|
url?: string;
|
|
130
|
-
/**
|
|
130
|
+
/** Domain scope (`set`/`delete`). */
|
|
131
131
|
domain?: string;
|
|
132
|
-
/**
|
|
132
|
+
/** Path scope (default `/`). */
|
|
133
133
|
path?: string;
|
|
134
|
-
/**
|
|
134
|
+
/** Secure flag (`set`). */
|
|
135
135
|
secure?: boolean;
|
|
136
|
-
/**
|
|
136
|
+
/** HttpOnly flag (`set`). */
|
|
137
137
|
httpOnly?: boolean;
|
|
138
|
-
/**
|
|
138
|
+
/** SameSite policy (`set`). */
|
|
139
139
|
sameSite?: "Strict" | "Lax" | "None";
|
|
140
|
-
/**
|
|
140
|
+
/** Unix expiry in seconds (`set`; omit for session). */
|
|
141
141
|
expires?: number;
|
|
142
142
|
};
|
|
143
143
|
"chromium-storage": {
|
|
@@ -153,87 +153,87 @@ export interface ArgentToolArgs {
|
|
|
153
153
|
value?: string;
|
|
154
154
|
};
|
|
155
155
|
"chromium-tabs": {
|
|
156
|
-
/** Chromium device id
|
|
156
|
+
/** Chromium device id (`chromium-cdp-<port>`). */
|
|
157
157
|
udid: string;
|
|
158
|
-
/**
|
|
158
|
+
/** Tab operation. */
|
|
159
159
|
action: "list" | "select" | "new" | "close";
|
|
160
|
-
/**
|
|
160
|
+
/** Tab id (e.g. `t2`) or label (`select` required; `close` defaults to active). */
|
|
161
161
|
tab?: string;
|
|
162
|
-
/** `new`
|
|
162
|
+
/** URL for `new` (default `about:blank`). */
|
|
163
163
|
url?: string;
|
|
164
|
-
/**
|
|
164
|
+
/** Optional alias label for `new`. */
|
|
165
165
|
label?: string;
|
|
166
166
|
};
|
|
167
167
|
"debugger-component-tree": {
|
|
168
|
-
/** Metro port
|
|
168
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
169
169
|
port?: number;
|
|
170
|
-
/** Device id
|
|
170
|
+
/** Device id from `debugger-connect` (macOS: Mac app id). */
|
|
171
171
|
device_id: string;
|
|
172
|
-
/**
|
|
172
|
+
/** Only on-screen components (default true; false includes off-screen mounted nodes). */
|
|
173
173
|
onScreenOnly?: boolean;
|
|
174
|
-
/**
|
|
174
|
+
/** Max nodes to return (collapses single-child wrappers when exceeded). */
|
|
175
175
|
maxNodes?: number;
|
|
176
|
-
/**
|
|
176
|
+
/** Append filtered/skipped fiber counts summary. */
|
|
177
177
|
includeSkipped?: boolean;
|
|
178
178
|
};
|
|
179
179
|
"debugger-connect": {
|
|
180
|
-
/** Metro port
|
|
180
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
181
181
|
port?: number;
|
|
182
|
-
/** Device id from list-devices
|
|
182
|
+
/** Device id from `list-devices`: iOS UDID, Android/Vega serial, Mac app id (`macos-app-<bundle id>`), or Chromium id (`chromium-cdp-<port>`). Reuse this same id on subsequent `debugger-*` calls (or pass the error's `logicalDeviceId` if shared Metro is ambiguous). */
|
|
183
183
|
device_id: string;
|
|
184
184
|
};
|
|
185
185
|
"debugger-evaluate": {
|
|
186
|
-
/** Metro port
|
|
186
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
187
187
|
port?: number;
|
|
188
|
-
/** Device id
|
|
188
|
+
/** Device id from `debugger-connect` (macOS: Mac app id). */
|
|
189
189
|
device_id: string;
|
|
190
|
-
/** JavaScript expression to evaluate
|
|
190
|
+
/** JavaScript expression to evaluate. */
|
|
191
191
|
expression: string;
|
|
192
192
|
};
|
|
193
193
|
"debugger-inspect-element": {
|
|
194
|
-
/** Metro port
|
|
194
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
195
195
|
port?: number;
|
|
196
|
-
/** Device id
|
|
196
|
+
/** Device id from `debugger-connect` (macOS: Mac app id). */
|
|
197
197
|
device_id: string;
|
|
198
|
-
/**
|
|
198
|
+
/** X in logical pixels from screen left (or Mac app window left, title bar included). */
|
|
199
199
|
x: number;
|
|
200
|
-
/**
|
|
200
|
+
/** Y in logical pixels from screen top (or Mac app window top, title bar included). */
|
|
201
201
|
y: number;
|
|
202
|
-
/**
|
|
202
|
+
/** Source context lines around each component. */
|
|
203
203
|
contextLines?: number;
|
|
204
|
-
/**
|
|
204
|
+
/** Symbolicate via Metro and include code snippets (false = raw bundle frames). */
|
|
205
205
|
resolveSourceMaps?: boolean;
|
|
206
|
-
/**
|
|
206
|
+
/** Max hierarchy items, most specific first (default 35). */
|
|
207
207
|
maxItems?: number;
|
|
208
|
-
/**
|
|
208
|
+
/** Keep normally filtered items marked `skipped: true`. */
|
|
209
209
|
includeSkipped?: boolean;
|
|
210
210
|
};
|
|
211
211
|
"debugger-log-registry": {
|
|
212
|
-
/** Metro port
|
|
212
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
213
213
|
port?: number;
|
|
214
|
-
/** Device id
|
|
214
|
+
/** Device id from `debugger-connect` (macOS: Mac app id). */
|
|
215
215
|
device_id: string;
|
|
216
|
-
/**
|
|
216
|
+
/** Newest entries to inline (default 20). */
|
|
217
217
|
tail?: number;
|
|
218
|
-
/**
|
|
218
|
+
/** Filter inline `entries` by level (e.g. ["warning", "error"]). */
|
|
219
219
|
levels?: Array<"log" | "debug" | "info" | "error" | "warning" | "dir" | "dirxml" | "table" | "trace" | "clear" | "startGroup" | "startGroupCollapsed" | "endGroup" | "assert" | "profile" | "profileEnd" | "count" | "timeEnd">;
|
|
220
220
|
};
|
|
221
221
|
"debugger-reload-metro": {
|
|
222
|
-
/** Metro port
|
|
222
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
223
223
|
port?: number;
|
|
224
224
|
/** Device id used with debugger-connect. For macOS, use the Mac app id. */
|
|
225
225
|
device_id: string;
|
|
226
226
|
};
|
|
227
227
|
"debugger-status": {
|
|
228
|
-
/** Metro port
|
|
228
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
229
229
|
port?: number;
|
|
230
|
-
/** Device id
|
|
230
|
+
/** Device id from `debugger-connect` (macOS: Mac app id). */
|
|
231
231
|
device_id: string;
|
|
232
232
|
};
|
|
233
233
|
describe: {
|
|
234
|
-
/** Target device id from `list-devices
|
|
234
|
+
/** Target device id from `list-devices`. */
|
|
235
235
|
udid: string;
|
|
236
|
-
/**
|
|
236
|
+
/** iOS simulator only: fallback bundle id when AX-service returns empty (auto-detects frontmost if omitted). */
|
|
237
237
|
bundleId?: string;
|
|
238
238
|
};
|
|
239
239
|
"dismiss-update": {
|
|
@@ -251,15 +251,15 @@ export interface ArgentToolArgs {
|
|
|
251
251
|
shutdown?: boolean;
|
|
252
252
|
};
|
|
253
253
|
"e2e-add-script": {
|
|
254
|
-
/** E2E test name
|
|
254
|
+
/** E2E test name from `e2e-start-recording`. */
|
|
255
255
|
name: string;
|
|
256
|
-
/**
|
|
256
|
+
/** Project root from `e2e-start-recording`. */
|
|
257
257
|
project_root: string;
|
|
258
|
-
/**
|
|
258
|
+
/** Script path (.mjs/.mts/.js/.ts) relative to the test YAML. */
|
|
259
259
|
path: string;
|
|
260
|
-
/**
|
|
260
|
+
/** Timeout in ms (default 30000, min 100). */
|
|
261
261
|
timeout?: number;
|
|
262
|
-
/**
|
|
262
|
+
/** Env overrides (supports `{{secret:NAME}}` and `{{output:PATH}}`). */
|
|
263
263
|
env?: {
|
|
264
264
|
[key: string]: string;
|
|
265
265
|
};
|
|
@@ -267,37 +267,37 @@ export interface ArgentToolArgs {
|
|
|
267
267
|
shutdown?: boolean;
|
|
268
268
|
};
|
|
269
269
|
"e2e-add-step": {
|
|
270
|
-
/**
|
|
270
|
+
/** E2E test name from `e2e-start-recording`. */
|
|
271
271
|
name: string;
|
|
272
|
-
/**
|
|
272
|
+
/** Project root from `e2e-start-recording`. */
|
|
273
273
|
project_root: string;
|
|
274
|
-
/** MCP tool to
|
|
274
|
+
/** MCP tool id to run and record (e.g. "gesture-tap"; call `e2e-add-script` directly for scripts). */
|
|
275
275
|
command: string;
|
|
276
|
-
/**
|
|
276
|
+
/** JSON string of tool arguments (omit if none). */
|
|
277
277
|
args?: string;
|
|
278
|
-
/**
|
|
278
|
+
/** Replay delay in ms before this step. */
|
|
279
279
|
delayMs?: number;
|
|
280
280
|
/** Save the call in the shutdown list. Pending fragment cleanup runs before the call. stepCount counts shutdown entries. */
|
|
281
281
|
shutdown?: boolean;
|
|
282
282
|
};
|
|
283
283
|
"e2e-execute": {
|
|
284
|
-
/**
|
|
284
|
+
/** Saved e2e test name in `<project_root>/.argent/e2e/` (or `.argent/flows/`). */
|
|
285
285
|
name?: string;
|
|
286
|
-
/** Absolute path to the
|
|
286
|
+
/** Absolute path to the project root (script cwd; with e2e_test_path, run:/script:/baselines resolve beside the YAML). */
|
|
287
287
|
project_root: string;
|
|
288
|
-
/**
|
|
288
|
+
/** Internal; leave unset (derived from `project_root` and `name`). */
|
|
289
289
|
e2e_test_file?: string;
|
|
290
|
-
/** Absolute path to an e2e test
|
|
290
|
+
/** Absolute path to an e2e test `.yaml` on the client. */
|
|
291
291
|
e2e_test_path?: string;
|
|
292
|
-
/**
|
|
292
|
+
/** Target device id from `list-devices` (iOS UDID, Android/Vega serial, Chromium id, Mac app id). Auto-detected only when one booted device matches; pass explicitly if multiple are booted. */
|
|
293
293
|
device?: string;
|
|
294
|
-
/**
|
|
294
|
+
/** Filter auto-detection (`ios` = local simulator, `ios-remote` = remote). With `chromium` and no `device`, boots Electron from `launch: { chromium: <app path> }` and tears it down after. With `macos` and no `device`, runs on the Mac app named in `launch` (auto-detection never picks Mac apps otherwise). */
|
|
295
295
|
platform?: "ios" | "android" | "chromium" | "vega" | "macos" | "ios-remote";
|
|
296
|
-
/**
|
|
296
|
+
/** Refresh screenshot baselines for `snapshot` steps instead of diffing. */
|
|
297
297
|
updateBaselines?: boolean;
|
|
298
|
-
/** Set
|
|
298
|
+
/** Set true to confirm a fragment's `executionPrerequisite` is met; otherwise returns the prerequisite text without running. Not a dry run: a test with no prerequisite runs in full (read `executionPrerequisite` in the YAML to inspect without running). */
|
|
299
299
|
prerequisiteAcknowledged?: boolean;
|
|
300
|
-
/** Script
|
|
300
|
+
/** Script env overrides (also for `run:` fragments). Supports `{{secret:NAME}}`. */
|
|
301
301
|
env?: {
|
|
302
302
|
[key: string]: string;
|
|
303
303
|
};
|
|
@@ -307,9 +307,9 @@ export interface ArgentToolArgs {
|
|
|
307
307
|
flow_file?: string;
|
|
308
308
|
};
|
|
309
309
|
"e2e-finish-recording": {
|
|
310
|
-
/**
|
|
310
|
+
/** E2E test name from `e2e-start-recording`. */
|
|
311
311
|
name: string;
|
|
312
|
-
/**
|
|
312
|
+
/** Project root from `e2e-start-recording`. */
|
|
313
313
|
project_root: string;
|
|
314
314
|
};
|
|
315
315
|
"e2e-read-prerequisite": {
|
|
@@ -337,18 +337,18 @@ export interface ArgentToolArgs {
|
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
"e2e-start-recording": {
|
|
340
|
-
/**
|
|
340
|
+
/** E2E test name (letters, digits, `_`, `-`). */
|
|
341
341
|
name: string;
|
|
342
|
-
/** Absolute path to the project root
|
|
342
|
+
/** Absolute path to the project root containing `.argent/e2e/`. */
|
|
343
343
|
project_root: string;
|
|
344
|
-
/** Fragments only:
|
|
344
|
+
/** Fragments only: entry state assumed. Omit for standalone tests (Chromium records as a fragment, then add `launch: { chromium: <app path> }` and remove this). */
|
|
345
345
|
executionPrerequisite?: string;
|
|
346
|
-
/**
|
|
346
|
+
/** Supported target filter (`platform` and/or `runtimeKind`, ANDed). Omit for any. */
|
|
347
347
|
requires?: {
|
|
348
348
|
platform?: "ios" | "android" | "chromium" | "vega" | "macos" | Array<"ios" | "android" | "chromium" | "vega" | "macos">;
|
|
349
349
|
runtimeKind?: "mobile" | "tv";
|
|
350
350
|
};
|
|
351
|
-
/**
|
|
351
|
+
/** Top-level script env defaults. Supports `{{secret:NAME}}`. */
|
|
352
352
|
env?: {
|
|
353
353
|
[key: string]: string;
|
|
354
354
|
};
|
|
@@ -378,11 +378,11 @@ export interface ArgentToolArgs {
|
|
|
378
378
|
text: string;
|
|
379
379
|
};
|
|
380
380
|
fold: {
|
|
381
|
-
/**
|
|
381
|
+
/** Foldable device id from `list-devices` (iOS simulator UDID or Android emulator serial). */
|
|
382
382
|
udid: string;
|
|
383
|
-
/**
|
|
383
|
+
/** Target posture: `closed` (cover panel), `half-open`, or `open` (inner panel). */
|
|
384
384
|
posture?: "closed" | "half-open" | "open";
|
|
385
|
-
/**
|
|
385
|
+
/** Hinge angle in degrees (0 = closed, 180 = open). */
|
|
386
386
|
angle?: number;
|
|
387
387
|
};
|
|
388
388
|
"foreground-app": {
|
|
@@ -396,146 +396,146 @@ export interface ArgentToolArgs {
|
|
|
396
396
|
"gesture-custom": {
|
|
397
397
|
/** Target device id from `list-devices` (iOS UDID or Android serial). */
|
|
398
398
|
udid: string;
|
|
399
|
-
/** Starting
|
|
399
|
+
/** Starting screen edge for a single-finger system gesture (local iOS simulator). */
|
|
400
400
|
edge?: "top" | "right" | "bottom" | "left";
|
|
401
|
-
/**
|
|
401
|
+
/** Ordered touch events. */
|
|
402
402
|
events: Array<{
|
|
403
|
-
/** Touch event type */
|
|
403
|
+
/** Touch event type. */
|
|
404
404
|
type: "Down" | "Move" | "Up";
|
|
405
|
-
/**
|
|
405
|
+
/** Normalized x. */
|
|
406
406
|
x: number;
|
|
407
|
-
/**
|
|
407
|
+
/** Normalized y. */
|
|
408
408
|
y: number;
|
|
409
|
-
/** Second finger x
|
|
409
|
+
/** Second finger x. */
|
|
410
410
|
x2?: number;
|
|
411
|
-
/** Second finger y
|
|
411
|
+
/** Second finger y. */
|
|
412
412
|
y2?: number;
|
|
413
|
-
/** Delay before
|
|
413
|
+
/** Delay before event in ms (default 16). */
|
|
414
414
|
delayMs?: number;
|
|
415
415
|
}>;
|
|
416
|
-
/**
|
|
416
|
+
/** Insert N linearly interpolated Move events between consecutive events (default 0). */
|
|
417
417
|
interpolate?: number;
|
|
418
418
|
};
|
|
419
419
|
"gesture-drag": {
|
|
420
|
-
/**
|
|
420
|
+
/** Chromium device id (`chromium-cdp-<port>`) or Mac app id from `list-devices`. */
|
|
421
421
|
udid: string;
|
|
422
|
-
/**
|
|
422
|
+
/** Start x. */
|
|
423
423
|
fromX: number;
|
|
424
|
-
/**
|
|
424
|
+
/** Start y. */
|
|
425
425
|
fromY: number;
|
|
426
|
-
/**
|
|
426
|
+
/** End x. */
|
|
427
427
|
toX: number;
|
|
428
|
-
/**
|
|
428
|
+
/** End y. */
|
|
429
429
|
toY: number;
|
|
430
|
-
/**
|
|
430
|
+
/** Drag duration in ms (default 300; 800 for a Mac app long press). */
|
|
431
431
|
durationMs?: number;
|
|
432
|
-
/**
|
|
432
|
+
/** Default true (constant speed). false decelerates into release to avoid fling. */
|
|
433
433
|
momentum?: boolean;
|
|
434
434
|
};
|
|
435
435
|
"gesture-pinch": {
|
|
436
|
-
/**
|
|
436
|
+
/** Device id from `list-devices` (iOS UDID, HarmonyOS id, or Android serial). */
|
|
437
437
|
udid: string;
|
|
438
|
-
/**
|
|
438
|
+
/** Normalized center x. */
|
|
439
439
|
centerX: number;
|
|
440
|
-
/**
|
|
440
|
+
/** Normalized center y. */
|
|
441
441
|
centerY: number;
|
|
442
|
-
/** Initial
|
|
442
|
+
/** Initial normalized finger distance. */
|
|
443
443
|
startDistance: number;
|
|
444
|
-
/** Final distance
|
|
444
|
+
/** Final normalized finger distance (> start = zoom in). */
|
|
445
445
|
endDistance: number;
|
|
446
|
-
/**
|
|
446
|
+
/** Optional final center x (centroid drifts linearly). */
|
|
447
447
|
endCenterX?: number;
|
|
448
|
-
/**
|
|
448
|
+
/** Optional final center y. */
|
|
449
449
|
endCenterY?: number;
|
|
450
|
-
/**
|
|
450
|
+
/** Finger axis angle in degrees (0 = horizontal, 90 = vertical). */
|
|
451
451
|
angle?: number;
|
|
452
|
-
/**
|
|
452
|
+
/** Duration in ms (default 300); clamped to 1–15000ms on HarmonyOS. */
|
|
453
453
|
durationMs?: number;
|
|
454
454
|
};
|
|
455
455
|
"gesture-rotate": {
|
|
456
|
-
/**
|
|
456
|
+
/** Device id from `list-devices` (iOS UDID or Android serial). */
|
|
457
457
|
udid: string;
|
|
458
|
-
/**
|
|
458
|
+
/** Normalized rotation center x. */
|
|
459
459
|
centerX: number;
|
|
460
|
-
/**
|
|
460
|
+
/** Normalized rotation center y. */
|
|
461
461
|
centerY: number;
|
|
462
|
-
/**
|
|
462
|
+
/** Normalized finger orbit radius (e.g. 0.15). */
|
|
463
463
|
radius?: number;
|
|
464
|
-
/**
|
|
464
|
+
/** Horizontal radius fraction of screen width (pair with `radiusY`). */
|
|
465
465
|
radiusX?: number;
|
|
466
|
-
/**
|
|
466
|
+
/** Vertical radius fraction of screen height (pair with `radiusX`). */
|
|
467
467
|
radiusY?: number;
|
|
468
|
-
/**
|
|
468
|
+
/** Start angle in degrees (0 = right, 90 = down). */
|
|
469
469
|
startAngle: number;
|
|
470
|
-
/**
|
|
470
|
+
/** End angle in degrees (> startAngle = clockwise). */
|
|
471
471
|
endAngle: number;
|
|
472
|
-
/**
|
|
472
|
+
/** Duration in ms (default 300). */
|
|
473
473
|
durationMs?: number;
|
|
474
474
|
};
|
|
475
475
|
"gesture-scroll": {
|
|
476
|
-
/**
|
|
476
|
+
/** Chromium device id (`chromium-cdp-<port>`) or Mac app id from `list-devices`. */
|
|
477
477
|
udid: string;
|
|
478
|
-
/**
|
|
478
|
+
/** Normalized anchor x over the scrollable element. */
|
|
479
479
|
x: number;
|
|
480
|
-
/**
|
|
480
|
+
/** Normalized anchor y. */
|
|
481
481
|
y: number;
|
|
482
|
-
/** Horizontal scroll
|
|
482
|
+
/** Horizontal scroll fraction (+ right, - left). */
|
|
483
483
|
deltaX?: number;
|
|
484
|
-
/** Vertical scroll
|
|
484
|
+
/** Vertical scroll fraction (+ down, - up; e.g. 0.5). */
|
|
485
485
|
deltaY?: number;
|
|
486
|
-
/**
|
|
486
|
+
/** Scroll duration in ms (default 300); ignored on Mac apps. */
|
|
487
487
|
durationMs?: number;
|
|
488
488
|
};
|
|
489
489
|
"gesture-swipe": {
|
|
490
|
-
/** Target device id from `list-devices
|
|
490
|
+
/** Target device id from `list-devices`. */
|
|
491
491
|
udid: string;
|
|
492
|
-
/** Start x. */
|
|
492
|
+
/** Start x [0,1]. */
|
|
493
493
|
fromX: number;
|
|
494
|
-
/** Start y. */
|
|
494
|
+
/** Start y [0,1]. */
|
|
495
495
|
fromY: number;
|
|
496
|
-
/** End x. */
|
|
496
|
+
/** End x [0,1]. */
|
|
497
497
|
toX: number;
|
|
498
|
-
/** End y. */
|
|
498
|
+
/** End y [0,1]. */
|
|
499
499
|
toY: number;
|
|
500
|
-
/**
|
|
500
|
+
/** Swipe duration in ms (default 300). */
|
|
501
501
|
durationMs?: number;
|
|
502
|
-
/**
|
|
502
|
+
/** Default true (flinging swipe). Set false to ease out with no fling for deterministic scroll distance (requires durationMs >= 150). */
|
|
503
503
|
momentum?: boolean;
|
|
504
504
|
};
|
|
505
505
|
"gesture-tap": {
|
|
506
|
-
/** Target device id from `list-devices
|
|
506
|
+
/** Target device id from `list-devices`. */
|
|
507
507
|
udid: string;
|
|
508
|
-
/** Horizontal
|
|
508
|
+
/** Horizontal screen fraction [0,1]. */
|
|
509
509
|
x: number;
|
|
510
|
-
/** Vertical
|
|
510
|
+
/** Vertical screen fraction [0,1]. */
|
|
511
511
|
y: number;
|
|
512
|
-
/**
|
|
512
|
+
/** Tap/click count as one OS gesture (2 = double-tap; default 1). On physical iOS, higher counts loop single taps, which a double-tap recognizer may pair. */
|
|
513
513
|
clickCount?: number;
|
|
514
|
-
/**
|
|
514
|
+
/** Mac app only: mouse button ("left" default, or "right"). */
|
|
515
515
|
button?: "left" | "right";
|
|
516
|
-
/**
|
|
516
|
+
/** Mac app only: modifier keys held during click. */
|
|
517
517
|
modifiers?: Array<"control" | "option" | "shift" | "command">;
|
|
518
518
|
};
|
|
519
519
|
keyboard: {
|
|
520
|
-
/** Target device id from `list-devices
|
|
520
|
+
/** Target device id from `list-devices`. */
|
|
521
521
|
udid: string;
|
|
522
|
-
/** Text to type
|
|
522
|
+
/** Text to type. Cannot be combined with `key` (use two steps in `run-sequence` to type then press enter). Supports `{{secret:<NAME>}}` placeholders resolved server-side from `ARGENT_SECRET_<NAME>` / `.argent/secrets.env` (auto-screenshot is skipped; combine with submit in one `run-sequence` to keep the skip; never ask the user for plaintext). */
|
|
523
523
|
text?: string;
|
|
524
|
-
/** Named key
|
|
524
|
+
/** Named key. Cannot be combined with `text` (use two steps in `run-sequence`). Values: enter, escape, backspace, tab, space, arrow-up, arrow-down, arrow-left, arrow-right, f1-f12. Not supported on Apple TV / Android TV (use `tv-remote`). Physical iOS: enter/backspace only. HarmonyOS: enter, backspace, space, arrow-left/right. Mac app: also delete (forward delete), home, end, page-up/down, and modifier shortcuts (e.g. command+a). */
|
|
525
525
|
key?: string;
|
|
526
526
|
/** Press `key` this many times in one call, e.g. `{ key: "backspace", repeat: 12 }`. Only valid with `key`. */
|
|
527
527
|
repeat?: number;
|
|
528
|
-
/** Delay in ms between key presses (default 50
|
|
528
|
+
/** Delay in ms between key presses (default 50; ignored on platforms that type in one shot). */
|
|
529
529
|
delayMs?: number;
|
|
530
530
|
};
|
|
531
531
|
"launch-app": {
|
|
532
|
-
/** Target device id from `list-devices
|
|
532
|
+
/** Target device id from `list-devices`. */
|
|
533
533
|
udid: string;
|
|
534
|
-
/** App identifier
|
|
534
|
+
/** App identifier (iOS/Mac app bundle id, Android package name, Vega interactive component app id from manifest.toml e.g. `com.example.app.main`, HarmonyOS bundle name from `bm dump -a`, or Chromium tag). */
|
|
535
535
|
bundleId: string;
|
|
536
|
-
/** Android
|
|
536
|
+
/** Android only: Activity name (default: launcher activity). */
|
|
537
537
|
activity?: string;
|
|
538
|
-
/** Apple
|
|
538
|
+
/** Apple targets only: process launch args, e.g. `["-FeatureFlag", "YES"]`. Relaunches running simulators/phones to apply. */
|
|
539
539
|
launchArgs?: Array<string>;
|
|
540
540
|
};
|
|
541
541
|
"list-devices": Record<string, never>;
|
|
@@ -570,21 +570,21 @@ export interface ArgentToolArgs {
|
|
|
570
570
|
udid: string;
|
|
571
571
|
/** Bundle ID of the app (on a Mac app, the bundle id in the device id) */
|
|
572
572
|
bundleId: string;
|
|
573
|
-
/** UIView class name
|
|
573
|
+
/** Exact UIView class name (e.g. UIButton). */
|
|
574
574
|
className?: string;
|
|
575
|
-
/**
|
|
575
|
+
/** Exact accessibility identifier. */
|
|
576
576
|
identifier?: string;
|
|
577
|
-
/**
|
|
577
|
+
/** Exact accessibility label. */
|
|
578
578
|
label?: string;
|
|
579
|
-
/** UIView
|
|
579
|
+
/** UIView integer tag. */
|
|
580
580
|
tag?: number;
|
|
581
|
-
/** React Native nativeID
|
|
581
|
+
/** Exact React Native nativeID. */
|
|
582
582
|
nativeID?: string;
|
|
583
|
-
/** Include ancestor chain
|
|
583
|
+
/** Include ancestor chain (default true). */
|
|
584
584
|
includeAncestors?: boolean;
|
|
585
|
-
/** Include child views
|
|
585
|
+
/** Include child views (default true). */
|
|
586
586
|
includeChildren?: boolean;
|
|
587
|
-
/** View fields to
|
|
587
|
+
/** View fields to return (defaults: pointer, className, tag, frame, windowFrame, screenFrame, bounds, hidden, alpha, opaque, clipsToBounds, userInteractionEnabled, depth, identifier, label, layerName, nativeID; extra: center, transform, contentMode, backgroundColor, tintColor, value, firstResponder). */
|
|
588
588
|
fields?: Array<string>;
|
|
589
589
|
};
|
|
590
590
|
"native-full-hierarchy": {
|
|
@@ -592,25 +592,25 @@ export interface ArgentToolArgs {
|
|
|
592
592
|
udid: string;
|
|
593
593
|
/** Bundle ID of the app (on a Mac app, the bundle id in the device id) */
|
|
594
594
|
bundleId: string;
|
|
595
|
-
/**
|
|
595
|
+
/** Exact view fields to return (defaults: pointer, className, tag, frame, windowFrame, screenFrame, bounds, hidden, alpha, opaque, clipsToBounds, userInteractionEnabled, depth, identifier, label, layerName, nativeID; extra: center, transform, contentMode, backgroundColor, tintColor, value, firstResponder). */
|
|
596
596
|
fields?: Array<string>;
|
|
597
|
-
/** Exact UIView
|
|
597
|
+
/** Exact UIView classes to prune (e.g. ["UIImageView"]). */
|
|
598
598
|
skipClasses?: Array<string>;
|
|
599
|
-
/** Class
|
|
599
|
+
/** Class prefixes to prune (e.g. ["_TtGC7SwiftUI"] for SwiftUI; avoid broad "_UI"). */
|
|
600
600
|
skipClassPrefixes?: Array<string>;
|
|
601
|
-
/**
|
|
601
|
+
/** Max recursion depth (default 8). */
|
|
602
602
|
maxDepth?: number;
|
|
603
603
|
};
|
|
604
604
|
"native-network-logs": {
|
|
605
|
-
/** Device ID from list-devices
|
|
605
|
+
/** Device ID from `list-devices`: iOS simulator UDID, Android serial, or Mac app id (`macos-app-<bundle id>`). */
|
|
606
606
|
udid: string;
|
|
607
|
-
/**
|
|
607
|
+
/** Bundle ID (iOS) or package name (Android); on macOS, omit `macos-app-`. */
|
|
608
608
|
bundleId: string;
|
|
609
|
-
/**
|
|
609
|
+
/** Metro port to exclude from logs (omit for device default, usually 8081). */
|
|
610
610
|
port?: number;
|
|
611
|
-
/**
|
|
611
|
+
/** Newest requests to return oldest-first (default 50; 0 = status/totals only). */
|
|
612
612
|
limit?: number;
|
|
613
|
-
/** Hide
|
|
613
|
+
/** Hide current history from later lists (IDs still work in `view-network-request-details`). */
|
|
614
614
|
clear?: boolean;
|
|
615
615
|
};
|
|
616
616
|
"native-profiler-analyze": {
|
|
@@ -618,25 +618,25 @@ export interface ArgentToolArgs {
|
|
|
618
618
|
device_id: string;
|
|
619
619
|
};
|
|
620
620
|
"native-profiler-launch-analysis": {
|
|
621
|
-
/** measure
|
|
621
|
+
/** `measure`: 5 XCTest timed launches. `profile`: 1 Instruments App Launch trace. */
|
|
622
622
|
mode: "measure" | "profile";
|
|
623
|
-
/**
|
|
623
|
+
/** Installed Release build bundle ID (not built or installed by this tool). */
|
|
624
624
|
bundle_id: string;
|
|
625
|
-
/**
|
|
625
|
+
/** iPhone UDID (or booted simulator UDID with `allow_simulator: true`). */
|
|
626
626
|
device_id?: string;
|
|
627
|
-
/**
|
|
627
|
+
/** Allow booted simulator when no iPhone is selected. */
|
|
628
628
|
allow_simulator?: boolean;
|
|
629
|
-
/** profile mode only:
|
|
629
|
+
/** `profile` mode only: trace duration in s (default 8). */
|
|
630
630
|
duration_seconds?: number;
|
|
631
631
|
};
|
|
632
632
|
"native-profiler-start": {
|
|
633
633
|
/** Target device id from `list-devices` (iOS UDID, Mac app id or Android serial). */
|
|
634
634
|
device_id: string;
|
|
635
|
-
/** iOS
|
|
635
|
+
/** iOS executable/name or Android package (auto-detects foreground app if omitted); omit for Mac apps. */
|
|
636
636
|
app_process?: string;
|
|
637
|
-
/** iOS
|
|
637
|
+
/** iOS/Mac app Instruments `.tracetemplate` path or built-in name (e.g. "Time Profiler"; default: bundled template). */
|
|
638
638
|
template_path?: string;
|
|
639
|
-
/** iOS
|
|
639
|
+
/** iOS/Mac apps only: restart app with allocation stacks from launch (adds overhead; leave off for CPU/hang timing). */
|
|
640
640
|
malloc_stack_logging?: boolean;
|
|
641
641
|
};
|
|
642
642
|
"native-profiler-stop": {
|
|
@@ -648,21 +648,21 @@ export interface ArgentToolArgs {
|
|
|
648
648
|
udid: string;
|
|
649
649
|
/** Bundle ID of the app (on a Mac app, the bundle id in the device id) */
|
|
650
650
|
bundleId: string;
|
|
651
|
-
/** Raw X
|
|
651
|
+
/** Raw X in upright UI points (Mac app: from describe area top-left). Not normalized [0,1]. */
|
|
652
652
|
x: number;
|
|
653
|
-
/** Raw Y
|
|
653
|
+
/** Raw Y in upright UI points. Not normalized [0,1]. */
|
|
654
654
|
y: number;
|
|
655
|
-
/** Include ancestor chain
|
|
655
|
+
/** Include ancestor chain (default true). */
|
|
656
656
|
includeAncestors?: boolean;
|
|
657
|
-
/** Include child views
|
|
657
|
+
/** Include child views (default false). */
|
|
658
658
|
includeChildren?: boolean;
|
|
659
|
-
/** View fields to
|
|
659
|
+
/** View fields to return (defaults: pointer, className, tag, frame, windowFrame, screenFrame, bounds, hidden, alpha, opaque, clipsToBounds, userInteractionEnabled, depth, identifier, label, layerName, nativeID; extra: center, transform, contentMode, backgroundColor, tintColor, value, firstResponder). */
|
|
660
660
|
fields?: Array<string>;
|
|
661
|
-
/** Exact UIView class names
|
|
661
|
+
/** Exact UIView class names to prune. */
|
|
662
662
|
skipClasses?: Array<string>;
|
|
663
|
-
/** Class name prefixes to prune
|
|
663
|
+
/** Class name prefixes to prune. */
|
|
664
664
|
skipClassPrefixes?: Array<string>;
|
|
665
|
-
/**
|
|
665
|
+
/** Max serialization depth (default 150). */
|
|
666
666
|
maxDepth?: number;
|
|
667
667
|
};
|
|
668
668
|
"native-view-at-point": {
|
|
@@ -670,157 +670,157 @@ export interface ArgentToolArgs {
|
|
|
670
670
|
udid: string;
|
|
671
671
|
/** Bundle ID of the app (on a Mac app, the bundle id in the device id) */
|
|
672
672
|
bundleId: string;
|
|
673
|
-
/** Raw X
|
|
673
|
+
/** Raw X in upright UI points (Mac app: from describe area top-left). Not normalized [0,1]. */
|
|
674
674
|
x: number;
|
|
675
|
-
/** Raw Y
|
|
675
|
+
/** Raw Y in upright UI points. Not normalized [0,1]. */
|
|
676
676
|
y: number;
|
|
677
|
-
/** Include ancestor chain
|
|
677
|
+
/** Include ancestor chain (default true). */
|
|
678
678
|
includeAncestors?: boolean;
|
|
679
|
-
/** Include child views
|
|
679
|
+
/** Include child views (default false). */
|
|
680
680
|
includeChildren?: boolean;
|
|
681
|
-
/** View fields to
|
|
681
|
+
/** View fields to return (defaults: pointer, className, tag, frame, windowFrame, screenFrame, bounds, hidden, alpha, opaque, clipsToBounds, userInteractionEnabled, depth, identifier, label, layerName, nativeID; extra: center, transform, contentMode, backgroundColor, tintColor, value, firstResponder). */
|
|
682
682
|
fields?: Array<string>;
|
|
683
|
-
/** Exact UIView class names
|
|
683
|
+
/** Exact UIView class names to prune. */
|
|
684
684
|
skipClasses?: Array<string>;
|
|
685
|
-
/** Class name prefixes to prune
|
|
685
|
+
/** Class name prefixes to prune. */
|
|
686
686
|
skipClassPrefixes?: Array<string>;
|
|
687
|
-
/**
|
|
687
|
+
/** Max serialization depth (default 150). */
|
|
688
688
|
maxDepth?: number;
|
|
689
|
-
/** true
|
|
689
|
+
/** true: touch-receiving view (UIKit hit-test). false (default): deepest visible view. */
|
|
690
690
|
hitTest?: boolean;
|
|
691
691
|
};
|
|
692
692
|
"network-capture-start": {
|
|
693
|
-
/** Device ID from list-devices
|
|
693
|
+
/** Device ID from `list-devices` (external Mac builds: `macos-app-<bundle id>`). */
|
|
694
694
|
udid: string;
|
|
695
|
-
/**
|
|
695
|
+
/** Bundle ID (iOS) / package (Android) / Mac bundle ID / placeholder on Chromium (e.g. `argent.capture`). */
|
|
696
696
|
bundleId: string;
|
|
697
|
-
/**
|
|
697
|
+
/** Metro port for JS capture and native filtering (omit for device default, usually 8081; ignored on Chromium). */
|
|
698
698
|
port?: number;
|
|
699
|
-
/**
|
|
699
|
+
/** Control one layer only (default: both; ignored on Chromium). */
|
|
700
700
|
layer?: "js" | "native";
|
|
701
|
-
/**
|
|
701
|
+
/** Shared-Metro logical ID for iOS/Android if requested (reuse for start/stop/JS reads); omit on Mac apps. */
|
|
702
702
|
logicalDeviceId?: string;
|
|
703
703
|
};
|
|
704
704
|
"network-capture-stop": {
|
|
705
|
-
/** Device ID from list-devices
|
|
705
|
+
/** Device ID from `list-devices` (external Mac builds: `macos-app-<bundle id>`). */
|
|
706
706
|
udid: string;
|
|
707
|
-
/**
|
|
707
|
+
/** Bundle ID (iOS) / package (Android) / Mac bundle ID / placeholder on Chromium (e.g. `argent.capture`). */
|
|
708
708
|
bundleId: string;
|
|
709
|
-
/**
|
|
709
|
+
/** Metro port for JS capture and native filtering (omit for device default, usually 8081; ignored on Chromium). */
|
|
710
710
|
port?: number;
|
|
711
|
-
/**
|
|
711
|
+
/** Control one layer only (default: both; ignored on Chromium). */
|
|
712
712
|
layer?: "js" | "native";
|
|
713
|
-
/**
|
|
713
|
+
/** Shared-Metro logical ID for iOS/Android if requested (reuse for start/stop/JS reads); omit on Mac apps. */
|
|
714
714
|
logicalDeviceId?: string;
|
|
715
715
|
};
|
|
716
716
|
"network-conditions": {
|
|
717
|
-
/** Device ID from list-devices
|
|
717
|
+
/** Device ID from `list-devices`. */
|
|
718
718
|
udid: string;
|
|
719
|
-
/**
|
|
719
|
+
/** App bundle ID (required on iOS; ignored elsewhere). */
|
|
720
720
|
bundleId?: string;
|
|
721
|
-
/** Metro port
|
|
721
|
+
/** Metro port exempt from shaping (omit for device default, usually 8081). */
|
|
722
722
|
port?: number;
|
|
723
|
-
/**
|
|
723
|
+
/** Added latency in ms. */
|
|
724
724
|
latencyMs?: number;
|
|
725
|
-
/** Download
|
|
725
|
+
/** Download cap in kbps. */
|
|
726
726
|
downloadKbps?: number;
|
|
727
|
-
/** Upload
|
|
727
|
+
/** Upload cap in kbps. */
|
|
728
728
|
uploadKbps?: number;
|
|
729
|
-
/**
|
|
729
|
+
/** Simulate offline (on Android, `adb reverse` ports stay reachable while Metro at `10.0.2.2` does not; `false` alone resets conditions). */
|
|
730
730
|
offline?: boolean;
|
|
731
731
|
};
|
|
732
732
|
"open-url": {
|
|
733
|
-
/**
|
|
733
|
+
/** Device id from `list-devices` (iOS UDID, Android serial, HarmonyOS id, or Chromium id). */
|
|
734
734
|
udid: string;
|
|
735
|
-
/** URL or scheme
|
|
735
|
+
/** URL or custom scheme (e.g. https://example.com, myapp://path). */
|
|
736
736
|
url: string;
|
|
737
|
-
/** Physical iOS only:
|
|
737
|
+
/** Physical iOS only: receiving app (defaults to Safari for http/https; required otherwise). */
|
|
738
738
|
bundleId?: string;
|
|
739
739
|
};
|
|
740
740
|
paste: {
|
|
741
|
-
/**
|
|
741
|
+
/** Device id from `list-devices` (iOS simulator UDID, Android emulator serial, or Mac app id). */
|
|
742
742
|
udid: string;
|
|
743
|
-
/** Text to
|
|
743
|
+
/** Text to paste. Supports `{{secret:<NAME>}}` placeholders resolved server-side (never ask the user for plaintext). */
|
|
744
744
|
text: string;
|
|
745
745
|
};
|
|
746
746
|
"profiler-combined-report": {
|
|
747
|
-
/** Metro port
|
|
747
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
748
748
|
port?: number;
|
|
749
749
|
/** Device ID from list-devices used for the native profile (iOS simulator UDID, Android serial, or Mac app ID). */
|
|
750
750
|
device_id: string;
|
|
751
751
|
};
|
|
752
752
|
"profiler-commit-query": {
|
|
753
|
-
/** Metro port
|
|
753
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
754
754
|
port?: number;
|
|
755
755
|
/** Device ID used to record or load the React profile. For a Mac app, use its ID from list-devices. */
|
|
756
756
|
device_id: string;
|
|
757
|
-
/** Query mode
|
|
757
|
+
/** Query mode. */
|
|
758
758
|
mode: "by_component" | "by_time_range" | "by_index" | "cascade_tree" | "render_counts";
|
|
759
|
-
/** Component name
|
|
759
|
+
/** Component name (optional filter for `render_counts`). */
|
|
760
760
|
component_name?: string;
|
|
761
|
-
/**
|
|
761
|
+
/** Range in ms since profiling started. */
|
|
762
762
|
time_range_ms?: {
|
|
763
|
-
/** Start
|
|
763
|
+
/** Start ms. */
|
|
764
764
|
start: number;
|
|
765
|
-
/** End
|
|
765
|
+
/** End ms. */
|
|
766
766
|
end: number;
|
|
767
767
|
};
|
|
768
|
-
/** Commit index */
|
|
768
|
+
/** Commit index. */
|
|
769
769
|
commit_index?: number | null;
|
|
770
|
-
/** Max results
|
|
770
|
+
/** Max results (default 20; unlimited for `by_index`). */
|
|
771
771
|
top_n?: number;
|
|
772
772
|
};
|
|
773
773
|
"profiler-cpu-query": {
|
|
774
|
-
/** Metro port
|
|
774
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
775
775
|
port?: number;
|
|
776
776
|
/** Device ID used to record or load the React profile. For a Mac app, use its ID from list-devices. */
|
|
777
777
|
device_id: string;
|
|
778
|
-
/** Query mode
|
|
778
|
+
/** Query mode. */
|
|
779
779
|
mode: "top_functions" | "time_window" | "call_tree" | "component_cpu";
|
|
780
|
-
/**
|
|
780
|
+
/** Window in ms since profiling started (same clock as `profiler-commit-query`). */
|
|
781
781
|
time_window_ms?: {
|
|
782
|
-
/** Start
|
|
782
|
+
/** Start ms. */
|
|
783
783
|
start: number;
|
|
784
|
-
/** End
|
|
784
|
+
/** End ms. */
|
|
785
785
|
end: number;
|
|
786
786
|
};
|
|
787
|
-
/** Component name */
|
|
787
|
+
/** Component name. */
|
|
788
788
|
component_name?: string;
|
|
789
|
-
/** Function name */
|
|
789
|
+
/** Function name. */
|
|
790
790
|
function_name?: string;
|
|
791
|
-
/**
|
|
791
|
+
/** Max rows (default 15). */
|
|
792
792
|
top_n?: number;
|
|
793
|
-
/**
|
|
793
|
+
/** Include callers (`call_tree`). */
|
|
794
794
|
include_callers?: boolean;
|
|
795
|
-
/**
|
|
795
|
+
/** Only PascalCase React components. */
|
|
796
796
|
react_only?: boolean;
|
|
797
797
|
};
|
|
798
798
|
"profiler-load": {
|
|
799
|
-
/**
|
|
799
|
+
/** `list`, `load_react`, or `load_native`. */
|
|
800
800
|
mode: "list" | "load_react" | "load_native";
|
|
801
|
-
/**
|
|
801
|
+
/** Session ID from `list` (required for `load_*`). */
|
|
802
802
|
session_id?: string;
|
|
803
|
-
/** Metro port
|
|
803
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
804
804
|
port?: number;
|
|
805
|
-
/**
|
|
805
|
+
/** Device id from `list-devices` to bind the loaded session to. */
|
|
806
806
|
device_id: string;
|
|
807
|
-
/** Android package name
|
|
807
|
+
/** Android package name for legacy `.pftrace` sessions without metadata. */
|
|
808
808
|
app_process?: string;
|
|
809
809
|
};
|
|
810
810
|
"profiler-stack-query": {
|
|
811
811
|
/** Target device id from `list-devices` (iOS UDID, Mac app id or Android serial). */
|
|
812
812
|
device_id: string;
|
|
813
|
-
/** Query mode
|
|
813
|
+
/** Query mode. */
|
|
814
814
|
mode: "hang_stacks" | "function_callers" | "thread_breakdown" | "leak_stacks";
|
|
815
|
-
/** 0-based
|
|
815
|
+
/** 0-based hang index. */
|
|
816
816
|
hang_index?: number | null;
|
|
817
|
-
/** Native function name */
|
|
817
|
+
/** Native function name. */
|
|
818
818
|
function_name?: string;
|
|
819
|
-
/** Thread filter
|
|
819
|
+
/** Thread filter (substring for `thread_breakdown`; exact raw name or `"main"` for `function_callers`). */
|
|
820
820
|
thread?: string;
|
|
821
|
-
/** Object type filter */
|
|
821
|
+
/** Object type filter (`leak_stacks`). */
|
|
822
822
|
object_type?: string;
|
|
823
|
-
/** Max results
|
|
823
|
+
/** Max results (default 15). */
|
|
824
824
|
top_n?: number;
|
|
825
825
|
};
|
|
826
826
|
propose_variant: {
|
|
@@ -857,21 +857,21 @@ export interface ArgentToolArgs {
|
|
|
857
857
|
};
|
|
858
858
|
};
|
|
859
859
|
"react-profiler-analyze": {
|
|
860
|
-
/** Metro port
|
|
860
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
861
861
|
port?: number;
|
|
862
|
-
/** Device ID
|
|
862
|
+
/** Device ID from list-devices used for the profile (Mac app: its list-devices ID). */
|
|
863
863
|
device_id: string;
|
|
864
|
-
/** Absolute path to the RN project root
|
|
864
|
+
/** Absolute path to the RN project root. */
|
|
865
865
|
project_root: string;
|
|
866
|
-
/**
|
|
866
|
+
/** Fallback platform for source lookup if absent from recording. */
|
|
867
867
|
platform?: "ios" | "android" | "macos";
|
|
868
|
-
/**
|
|
868
|
+
/** RN version (e.g. "0.73.4"). */
|
|
869
869
|
rn_version?: string;
|
|
870
|
-
/** User actions to annotate
|
|
870
|
+
/** User actions to annotate report commits. */
|
|
871
871
|
annotations?: Array<{
|
|
872
|
-
/**
|
|
872
|
+
/** Ms since profiling started (`tapTimestampMs - startedAtEpochMs`). */
|
|
873
873
|
offsetMs: number;
|
|
874
|
-
/**
|
|
874
|
+
/** Action label. */
|
|
875
875
|
label: string;
|
|
876
876
|
}>;
|
|
877
877
|
};
|
|
@@ -882,7 +882,7 @@ export interface ArgentToolArgs {
|
|
|
882
882
|
project_root: string;
|
|
883
883
|
};
|
|
884
884
|
"react-profiler-cpu-summary": {
|
|
885
|
-
/** Metro port
|
|
885
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
886
886
|
port?: number;
|
|
887
887
|
/** Device ID used to record or load the React profile. For a Mac app, use its ID from list-devices. */
|
|
888
888
|
device_id: string;
|
|
@@ -892,7 +892,7 @@ export interface ArgentToolArgs {
|
|
|
892
892
|
react_only?: boolean;
|
|
893
893
|
};
|
|
894
894
|
"react-profiler-fiber-tree": {
|
|
895
|
-
/** Metro port
|
|
895
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
896
896
|
port?: number;
|
|
897
897
|
/** Device ID of the app to inspect. For a Mac app, use its ID from list-devices. During a recording, use the ID passed to react-profiler-start. */
|
|
898
898
|
device_id: string;
|
|
@@ -902,7 +902,7 @@ export interface ArgentToolArgs {
|
|
|
902
902
|
filter?: string;
|
|
903
903
|
};
|
|
904
904
|
"react-profiler-renders": {
|
|
905
|
-
/** Metro port
|
|
905
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
906
906
|
port?: number;
|
|
907
907
|
/** Device ID of the app to inspect. For a Mac app, use its ID from list-devices. During a recording, use the ID passed to react-profiler-start. */
|
|
908
908
|
device_id: string;
|
|
@@ -910,43 +910,43 @@ export interface ArgentToolArgs {
|
|
|
910
910
|
top_n?: number;
|
|
911
911
|
};
|
|
912
912
|
"react-profiler-start": {
|
|
913
|
-
/** Metro port
|
|
913
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
914
914
|
port?: number;
|
|
915
|
-
/** Device ID from list-devices, including a Mac app ID
|
|
915
|
+
/** Device ID from list-devices, including a Mac app ID (or `logicalDeviceId` on shared Metro if requested). */
|
|
916
916
|
device_id: string;
|
|
917
|
-
/** CPU sampling interval in microseconds */
|
|
917
|
+
/** CPU sampling interval in microseconds. */
|
|
918
918
|
sample_interval_us?: number;
|
|
919
|
-
/** Take over
|
|
919
|
+
/** Take over another active fresh session (ask user approval first). */
|
|
920
920
|
force?: boolean;
|
|
921
921
|
};
|
|
922
922
|
"react-profiler-status": {
|
|
923
|
-
/** Metro port
|
|
923
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
924
924
|
port?: number;
|
|
925
925
|
/** Device ID of the app to inspect. For a Mac app, use its ID from list-devices. During a recording, use the ID passed to react-profiler-start. */
|
|
926
926
|
device_id: string;
|
|
927
927
|
};
|
|
928
928
|
"react-profiler-stop": {
|
|
929
|
-
/** Metro port
|
|
929
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
930
930
|
port?: number;
|
|
931
931
|
/** Device ID passed to react-profiler-start. For a Mac app, use its ID from list-devices. */
|
|
932
932
|
device_id: string;
|
|
933
933
|
};
|
|
934
934
|
"reinstall-app": {
|
|
935
|
-
/**
|
|
935
|
+
/** Device id from `list-devices` (iOS UDID, HarmonyOS id, or Android serial). */
|
|
936
936
|
udid: string;
|
|
937
|
-
/**
|
|
937
|
+
/** Bundle id (iOS), package name (Android), component id (Vega), or bundleName (HarmonyOS). */
|
|
938
938
|
bundleId: string;
|
|
939
|
-
/** Path to
|
|
939
|
+
/** Path to `.app` (iOS), `.apk` (Android), `.vpkg` (Vega), or `.hap` (HarmonyOS). */
|
|
940
940
|
appPath: string;
|
|
941
941
|
};
|
|
942
942
|
"restart-app": {
|
|
943
|
-
/** Target device id from `list-devices
|
|
943
|
+
/** Target device id from `list-devices`. */
|
|
944
944
|
udid: string;
|
|
945
|
-
/** App identifier
|
|
945
|
+
/** App identifier (iOS/Mac app bundle id, Android package name, Vega interactive component app id, or HarmonyOS bundle name). */
|
|
946
946
|
bundleId: string;
|
|
947
|
-
/** Android
|
|
947
|
+
/** Android only: Activity name to relaunch (default: launcher activity). */
|
|
948
948
|
activity?: string;
|
|
949
|
-
/** Apple
|
|
949
|
+
/** Apple targets only: process launch args, e.g. `["-FeatureFlag", "YES"]`. */
|
|
950
950
|
launchArgs?: Array<string>;
|
|
951
951
|
};
|
|
952
952
|
rotate: {
|
|
@@ -956,30 +956,30 @@ export interface ArgentToolArgs {
|
|
|
956
956
|
orientation: "Portrait" | "LandscapeLeft" | "LandscapeRight" | "PortraitUpsideDown";
|
|
957
957
|
};
|
|
958
958
|
"run-sequence": {
|
|
959
|
-
/** Target device id from `list-devices
|
|
959
|
+
/** Target device id from `list-devices`, shared across all steps. */
|
|
960
960
|
udid: string;
|
|
961
|
-
/** Ordered
|
|
961
|
+
/** Ordered steps to execute. */
|
|
962
962
|
steps: Array<{
|
|
963
|
-
/**
|
|
963
|
+
/** Allowed tool name (see description). */
|
|
964
964
|
tool: string;
|
|
965
|
-
/** Tool arguments (
|
|
965
|
+
/** Tool arguments (omit `udid`, injected automatically). */
|
|
966
966
|
args: {
|
|
967
967
|
[key: string]: unknown;
|
|
968
968
|
};
|
|
969
|
-
/**
|
|
969
|
+
/** Extra pause in ms after step settle (default 100). */
|
|
970
970
|
delayMs?: number;
|
|
971
971
|
}>;
|
|
972
|
-
/** Wait up to 1000ms
|
|
972
|
+
/** Wait up to 1000ms for tree settle between screen-changing steps (default true). */
|
|
973
973
|
settle?: boolean;
|
|
974
974
|
};
|
|
975
975
|
"screen-recording-start": {
|
|
976
|
-
/** Target ID from `list-devices
|
|
976
|
+
/** Target ID from `list-devices` (Mac app: `macos-app-<bundle id>`). */
|
|
977
977
|
udid: string;
|
|
978
|
-
/** Auto-stop cap in seconds (default 180).
|
|
978
|
+
/** Auto-stop cap in seconds (default 180). */
|
|
979
979
|
timeLimitSeconds?: number;
|
|
980
|
-
/**
|
|
980
|
+
/** Collapse idle unchanged stretches after 1s (default true; false = real-time). */
|
|
981
981
|
trimStatic?: boolean;
|
|
982
|
-
/** Draw touch markers
|
|
982
|
+
/** Draw touch markers (default true; unsupported on physical iPhones). Mac apps: shows pointer, click ring, and hold dot. */
|
|
983
983
|
showTouches?: boolean;
|
|
984
984
|
};
|
|
985
985
|
"screen-recording-stop": {
|
|
@@ -987,41 +987,41 @@ export interface ArgentToolArgs {
|
|
|
987
987
|
udid: string;
|
|
988
988
|
};
|
|
989
989
|
screenshot: {
|
|
990
|
-
/** Target device id from `list-devices
|
|
990
|
+
/** Target device id from `list-devices`. */
|
|
991
991
|
udid: string;
|
|
992
|
-
/** Orientation override
|
|
992
|
+
/** Orientation override (rarely needed; captures already follow UI orientation). Rejected on HarmonyOS (captures display in current orientation). Ignored on physical iPhones. */
|
|
993
993
|
rotation?: "Portrait" | "LandscapeLeft" | "LandscapeRight" | "PortraitUpsideDown";
|
|
994
|
-
/** Scale factor
|
|
994
|
+
/** Scale factor (default 0.25 on iOS/Android/HarmonyOS or `ARGENT_SCREENSHOT_SCALE`, 576px long side on TV, 1.0 on Chromium, <=768px on Mac). */
|
|
995
995
|
scale?: number;
|
|
996
|
-
/** Set false only when
|
|
996
|
+
/** Set false only when saving a full-res (`scale: 1.0`) baseline/current for `screenshot-diff`. */
|
|
997
997
|
includeImageInContext?: boolean;
|
|
998
|
-
/**
|
|
998
|
+
/** Chromium only: downscaler when scale < 1 (default lanczos3). */
|
|
999
999
|
downscaler?: "lanczos3" | "box" | "bilinear" | "nearest";
|
|
1000
1000
|
};
|
|
1001
1001
|
"screenshot-diff": {
|
|
1002
|
-
/**
|
|
1002
|
+
/** Saved baseline PNG path (omit when `captureBaseline: true`). */
|
|
1003
1003
|
baselinePath?: string;
|
|
1004
|
-
/**
|
|
1004
|
+
/** Saved current PNG path (omit when `captureCurrent: true`). */
|
|
1005
1005
|
currentPath?: string;
|
|
1006
|
-
/** Target device id from `list-devices` (iOS UDID, HarmonyOS id, or Android serial, or
|
|
1006
|
+
/** Target device id from `list-devices` (iOS UDID, HarmonyOS id, or Android serial, or Mac app id). */
|
|
1007
1007
|
udid: string;
|
|
1008
|
-
/** Capture
|
|
1008
|
+
/** Capture baseline live from the device, at full resolution (mutually exclusive with `captureCurrent`). */
|
|
1009
1009
|
captureBaseline?: boolean;
|
|
1010
|
-
/** Capture
|
|
1010
|
+
/** Capture current live from the device, at full resolution (mutually exclusive with `captureBaseline`). */
|
|
1011
1011
|
captureCurrent?: boolean;
|
|
1012
|
-
/** Orientation override for live
|
|
1012
|
+
/** Orientation override for live captures. Rejected on HarmonyOS. Ignored on physical iPhones. */
|
|
1013
1013
|
rotation?: "Portrait" | "LandscapeLeft" | "LandscapeRight" | "PortraitUpsideDown";
|
|
1014
|
-
/**
|
|
1014
|
+
/** Output directory for diff artifacts (default: temp dir). */
|
|
1015
1015
|
outputDir?: string;
|
|
1016
1016
|
};
|
|
1017
1017
|
"settings-permissions": {
|
|
1018
|
-
/**
|
|
1018
|
+
/** Device id from `list-devices` (iOS simulator UDID or Android serial). */
|
|
1019
1019
|
udid: string;
|
|
1020
|
-
/** `grant` pre-
|
|
1020
|
+
/** `grant` (pre-authorize), `deny`, or `reset` (re-prompt on next use). */
|
|
1021
1021
|
action: "grant" | "deny" | "reset";
|
|
1022
|
-
/**
|
|
1022
|
+
/** Permission name (`notifications` = Android-only; `reminders` = iOS-only). */
|
|
1023
1023
|
permission: "camera" | "microphone" | "photos" | "contacts" | "notifications" | "calendar" | "location" | "location-always" | "media-library" | "motion" | "reminders";
|
|
1024
|
-
/**
|
|
1024
|
+
/** Target app bundle id (iOS) or package name (Android). */
|
|
1025
1025
|
bundleId: string;
|
|
1026
1026
|
};
|
|
1027
1027
|
shake: {
|
|
@@ -1049,11 +1049,11 @@ export interface ArgentToolArgs {
|
|
|
1049
1049
|
bundleId: string;
|
|
1050
1050
|
};
|
|
1051
1051
|
"tv-remote": {
|
|
1052
|
-
/**
|
|
1052
|
+
/** TV device id from `list-devices` (Apple TV, Android TV, or Vega). */
|
|
1053
1053
|
udid: string;
|
|
1054
|
-
/**
|
|
1054
|
+
/** Single remote button or array path run in one call (e.g. ["up","right","select"]; prefer an array over repeated calls). */
|
|
1055
1055
|
button: "up" | "down" | "left" | "right" | "select" | "back" | "home" | "menu" | "playPause" | "rewind" | "fastForward" | "next" | "previous" | "volumeUp" | "volumeDown" | "mute" | Array<"up" | "down" | "left" | "right" | "select" | "back" | "home" | "menu" | "playPause" | "rewind" | "fastForward" | "next" | "previous" | "volumeUp" | "volumeDown" | "mute">;
|
|
1056
|
-
/** Repeat
|
|
1056
|
+
/** Repeat `button` N times (default 1, e.g. `{ button: "down", repeat: 12 }`). */
|
|
1057
1057
|
repeat?: number;
|
|
1058
1058
|
};
|
|
1059
1059
|
"ui-tree": {
|
|
@@ -1065,21 +1065,21 @@ export interface ArgentToolArgs {
|
|
|
1065
1065
|
target?: "auto" | "global" | "local" | "both";
|
|
1066
1066
|
};
|
|
1067
1067
|
"view-network-logs": {
|
|
1068
|
-
/** Metro port
|
|
1068
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
1069
1069
|
port?: number;
|
|
1070
|
-
/** Device ID from list-devices
|
|
1070
|
+
/** Device ID from `list-devices` (or `logicalDeviceId` if shared Metro capture used it); Mac app: Mac app id `macos-app-<bundle id>`. */
|
|
1071
1071
|
device_id: string;
|
|
1072
|
-
/**
|
|
1072
|
+
/** 0-based page index, or `"latest"`/null for newest (50 entries/page). */
|
|
1073
1073
|
pageIndex?: number | "latest" | null;
|
|
1074
1074
|
};
|
|
1075
1075
|
"view-network-request-details": {
|
|
1076
|
-
/** Metro port
|
|
1076
|
+
/** Metro port (omit to use this device's port, default 8081; ignored on Chromium). */
|
|
1077
1077
|
port?: number;
|
|
1078
|
-
/** Device ID for the
|
|
1078
|
+
/** Device ID for the log (or `logicalDeviceId` if JS capture used it); Mac app: Mac app id. */
|
|
1079
1079
|
device_id: string;
|
|
1080
|
-
/** Request ID from
|
|
1080
|
+
/** Request ID from `view-network-logs`, `native-network-logs`, or `await-network-request`. */
|
|
1081
1081
|
requestId: string;
|
|
1082
|
-
/**
|
|
1082
|
+
/** Include response body (default true). */
|
|
1083
1083
|
includeBody?: boolean;
|
|
1084
1084
|
};
|
|
1085
1085
|
/** @deprecated Renamed to `e2e-add-echo`. */
|