@swmansion/argent 0.36.1-next.1 → 0.36.1-next.10
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/README.md +1 -1
- package/dist/cli-cmds.mjs +9 -1
- package/dist/client.js +8 -0
- package/dist/installer.mjs +9 -1
- package/dist/mcp-server.mjs +9 -1
- package/dist/tool-args.generated.d.ts +37 -0
- package/dist/tool-server.cjs +1740 -620
- package/package.json +4 -3
- package/skills/argent-create-e2e/SKILL.md +1 -1
- package/skills/argent-create-e2e/references/e2e-yaml.md +8 -6
- package/skills/argent-create-e2e/references/live-authoring.md +5 -2
- package/skills/argent-device-interact/references/advanced.md +1 -0
- package/skills/argent-ios-device-interact/SKILL.md +1 -0
- package/skills/argent-qa-e2e/SKILL.md +3 -1
- package/skills/argent-settings-permissions/SKILL.md +10 -9
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ For a list of tools, ask your agent: “What can Argent do?”
|
|
|
29
29
|
|
|
30
30
|
## Documentation
|
|
31
31
|
|
|
32
|
-
[Installation](https://docs.swmansion.com/argent/docs/fundamentals/installation) · [Platforms](https://docs.swmansion.com/argent/docs/fundamentals/supported-platforms) · [CLI](https://docs.swmansion.com/argent/docs/reference/cli) · [Editors](https://docs.swmansion.com/argent/docs/reference/editors)
|
|
32
|
+
[Installation](https://docs.swmansion.com/argent/docs/fundamentals/installation/) · [Platforms](https://docs.swmansion.com/argent/docs/fundamentals/supported-platforms/) · [CLI](https://docs.swmansion.com/argent/docs/reference/cli/) · [Editors](https://docs.swmansion.com/argent/docs/reference/editors/)
|
|
33
33
|
|
|
34
34
|
## Privacy
|
|
35
35
|
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -13216,6 +13216,14 @@ var FAILURE_CODES = {
|
|
|
13216
13216
|
PASTE_CLIPBOARD_SET_FAILED: "PASTE_CLIPBOARD_SET_FAILED",
|
|
13217
13217
|
PASTE_CLIPBOARD_UNSUPPORTED: "PASTE_CLIPBOARD_UNSUPPORTED",
|
|
13218
13218
|
SETTINGS_PERMISSION_UNSUPPORTED: "SETTINGS_PERMISSION_UNSUPPORTED",
|
|
13219
|
+
// system-settings: a requested setting cannot be changed on this device (no
|
|
13220
|
+
// backend on the platform, API level too low, a TV, a wireless adb link the
|
|
13221
|
+
// change would cut), raised before any write vs. a write that reported
|
|
13222
|
+
// success while the read-back shows another value.
|
|
13223
|
+
SYSTEM_SETTING_UNSUPPORTED: "SYSTEM_SETTING_UNSUPPORTED",
|
|
13224
|
+
SYSTEM_SETTING_NOT_APPLIED: "SYSTEM_SETTING_NOT_APPLIED",
|
|
13225
|
+
IOS_SYSTEM_SETTING_FAILED: "IOS_SYSTEM_SETTING_FAILED",
|
|
13226
|
+
ANDROID_SYSTEM_SETTING_FAILED: "ANDROID_SYSTEM_SETTING_FAILED",
|
|
13219
13227
|
NATIVE_DEVTOOLS_DESCRIBE_ERROR: "NATIVE_DEVTOOLS_DESCRIBE_ERROR",
|
|
13220
13228
|
NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR",
|
|
13221
13229
|
NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR",
|
|
@@ -39185,7 +39193,7 @@ function isCi(env = process.env) {
|
|
|
39185
39193
|
var SESSION_ID2 = randomUUID5();
|
|
39186
39194
|
function readCliVersion() {
|
|
39187
39195
|
if (true) {
|
|
39188
|
-
return "0.36.1-next.
|
|
39196
|
+
return "0.36.1-next.10";
|
|
39189
39197
|
}
|
|
39190
39198
|
return "0.0.0";
|
|
39191
39199
|
}
|
package/dist/client.js
CHANGED
|
@@ -9505,6 +9505,14 @@ var FAILURE_CODES = {
|
|
|
9505
9505
|
PASTE_CLIPBOARD_SET_FAILED: "PASTE_CLIPBOARD_SET_FAILED",
|
|
9506
9506
|
PASTE_CLIPBOARD_UNSUPPORTED: "PASTE_CLIPBOARD_UNSUPPORTED",
|
|
9507
9507
|
SETTINGS_PERMISSION_UNSUPPORTED: "SETTINGS_PERMISSION_UNSUPPORTED",
|
|
9508
|
+
// system-settings: a requested setting cannot be changed on this device (no
|
|
9509
|
+
// backend on the platform, API level too low, a TV, a wireless adb link the
|
|
9510
|
+
// change would cut), raised before any write vs. a write that reported
|
|
9511
|
+
// success while the read-back shows another value.
|
|
9512
|
+
SYSTEM_SETTING_UNSUPPORTED: "SYSTEM_SETTING_UNSUPPORTED",
|
|
9513
|
+
SYSTEM_SETTING_NOT_APPLIED: "SYSTEM_SETTING_NOT_APPLIED",
|
|
9514
|
+
IOS_SYSTEM_SETTING_FAILED: "IOS_SYSTEM_SETTING_FAILED",
|
|
9515
|
+
ANDROID_SYSTEM_SETTING_FAILED: "ANDROID_SYSTEM_SETTING_FAILED",
|
|
9508
9516
|
NATIVE_DEVTOOLS_DESCRIBE_ERROR: "NATIVE_DEVTOOLS_DESCRIBE_ERROR",
|
|
9509
9517
|
NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR",
|
|
9510
9518
|
NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR",
|
package/dist/installer.mjs
CHANGED
|
@@ -16043,6 +16043,14 @@ var FAILURE_CODES = {
|
|
|
16043
16043
|
PASTE_CLIPBOARD_SET_FAILED: "PASTE_CLIPBOARD_SET_FAILED",
|
|
16044
16044
|
PASTE_CLIPBOARD_UNSUPPORTED: "PASTE_CLIPBOARD_UNSUPPORTED",
|
|
16045
16045
|
SETTINGS_PERMISSION_UNSUPPORTED: "SETTINGS_PERMISSION_UNSUPPORTED",
|
|
16046
|
+
// system-settings: a requested setting cannot be changed on this device (no
|
|
16047
|
+
// backend on the platform, API level too low, a TV, a wireless adb link the
|
|
16048
|
+
// change would cut), raised before any write vs. a write that reported
|
|
16049
|
+
// success while the read-back shows another value.
|
|
16050
|
+
SYSTEM_SETTING_UNSUPPORTED: "SYSTEM_SETTING_UNSUPPORTED",
|
|
16051
|
+
SYSTEM_SETTING_NOT_APPLIED: "SYSTEM_SETTING_NOT_APPLIED",
|
|
16052
|
+
IOS_SYSTEM_SETTING_FAILED: "IOS_SYSTEM_SETTING_FAILED",
|
|
16053
|
+
ANDROID_SYSTEM_SETTING_FAILED: "ANDROID_SYSTEM_SETTING_FAILED",
|
|
16046
16054
|
NATIVE_DEVTOOLS_DESCRIBE_ERROR: "NATIVE_DEVTOOLS_DESCRIBE_ERROR",
|
|
16047
16055
|
NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR",
|
|
16048
16056
|
NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR",
|
|
@@ -17191,7 +17199,7 @@ function isCi(env = process.env) {
|
|
|
17191
17199
|
var SESSION_ID = randomUUID4();
|
|
17192
17200
|
function readCliVersion() {
|
|
17193
17201
|
if (true) {
|
|
17194
|
-
return "0.36.1-next.
|
|
17202
|
+
return "0.36.1-next.10";
|
|
17195
17203
|
}
|
|
17196
17204
|
return "0.0.0";
|
|
17197
17205
|
}
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -33939,6 +33939,14 @@ var FAILURE_CODES = {
|
|
|
33939
33939
|
PASTE_CLIPBOARD_SET_FAILED: "PASTE_CLIPBOARD_SET_FAILED",
|
|
33940
33940
|
PASTE_CLIPBOARD_UNSUPPORTED: "PASTE_CLIPBOARD_UNSUPPORTED",
|
|
33941
33941
|
SETTINGS_PERMISSION_UNSUPPORTED: "SETTINGS_PERMISSION_UNSUPPORTED",
|
|
33942
|
+
// system-settings: a requested setting cannot be changed on this device (no
|
|
33943
|
+
// backend on the platform, API level too low, a TV, a wireless adb link the
|
|
33944
|
+
// change would cut), raised before any write vs. a write that reported
|
|
33945
|
+
// success while the read-back shows another value.
|
|
33946
|
+
SYSTEM_SETTING_UNSUPPORTED: "SYSTEM_SETTING_UNSUPPORTED",
|
|
33947
|
+
SYSTEM_SETTING_NOT_APPLIED: "SYSTEM_SETTING_NOT_APPLIED",
|
|
33948
|
+
IOS_SYSTEM_SETTING_FAILED: "IOS_SYSTEM_SETTING_FAILED",
|
|
33949
|
+
ANDROID_SYSTEM_SETTING_FAILED: "ANDROID_SYSTEM_SETTING_FAILED",
|
|
33942
33950
|
NATIVE_DEVTOOLS_DESCRIBE_ERROR: "NATIVE_DEVTOOLS_DESCRIBE_ERROR",
|
|
33943
33951
|
NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_VIEW_AT_POINT_ERROR",
|
|
33944
33952
|
NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR: "NATIVE_DEVTOOLS_USER_INTERACTABLE_VIEW_AT_POINT_ERROR",
|
|
@@ -38669,7 +38677,7 @@ async function startMcpServer(options) {
|
|
|
38669
38677
|
const autoDescribeOn = autoDescribeEnabled();
|
|
38670
38678
|
const whatsNewOn = whatsNewEnabled();
|
|
38671
38679
|
const installedVersion = getInstalledVersion();
|
|
38672
|
-
const highlightsVersion = true ? "0.36.1-next.
|
|
38680
|
+
const highlightsVersion = true ? "0.36.1-next.10" : installedVersion;
|
|
38673
38681
|
const captureTimeoutMs = options.captureTimeoutMs ?? CAPTURE_TIMEOUT_MS;
|
|
38674
38682
|
const trees = createTreeMemory();
|
|
38675
38683
|
const screenshots = createScreenshotMemory();
|
|
@@ -1127,6 +1127,43 @@ export interface ArgentToolArgs {
|
|
|
1127
1127
|
/** Target device id (iOS UDID, Android serial, or Chromium id) whose transport session to stop */
|
|
1128
1128
|
udid: string;
|
|
1129
1129
|
};
|
|
1130
|
+
"system-settings": {
|
|
1131
|
+
/** Device ID from `list-devices`. */
|
|
1132
|
+
udid: string;
|
|
1133
|
+
/** Provide at least one setting to change, or omit `settings` to read the device's settings. */
|
|
1134
|
+
settings?: {
|
|
1135
|
+
/** System color scheme. */
|
|
1136
|
+
appearance?: "light" | "dark";
|
|
1137
|
+
/** iOS Dynamic Type category or its Android font-scale equivalent. `large` is the standard size. */
|
|
1138
|
+
textSize?: "extra-small" | "small" | "medium" | "large" | "extra-large" | "extra-extra-large" | "extra-extra-extra-large" | "accessibility-medium" | "accessibility-large" | "accessibility-extra-large" | "accessibility-extra-extra-large" | "accessibility-extra-extra-extra-large";
|
|
1139
|
+
/** Bold text. Android API 31+. */
|
|
1140
|
+
boldText?: boolean;
|
|
1141
|
+
/** On Android, `true` turns animations off and `false` resets them to normal speed. */
|
|
1142
|
+
reduceMotion?: boolean;
|
|
1143
|
+
/** Higher display contrast. On Android, changing it recreates the foreground activity. Android API 34+. */
|
|
1144
|
+
increaseContrast?: boolean;
|
|
1145
|
+
/** Reduce transparency. iOS only. */
|
|
1146
|
+
reduceTransparency?: boolean;
|
|
1147
|
+
/** Preferred language tags, most preferred first (e.g. `de-DE`). iOS only. */
|
|
1148
|
+
language?: Array<string>;
|
|
1149
|
+
/** Locale identifier for date, number, and currency formats (e.g. `en_US`). iOS only. */
|
|
1150
|
+
region?: string;
|
|
1151
|
+
/** Clock format. Use `default` to follow the region. */
|
|
1152
|
+
clock?: "12h" | "24h" | "default";
|
|
1153
|
+
/** Turning airplane mode on also turns Bluetooth off. Android only. */
|
|
1154
|
+
airplaneMode?: boolean;
|
|
1155
|
+
/** Wi-Fi radio. Android only. */
|
|
1156
|
+
wifi?: boolean;
|
|
1157
|
+
/** Mobile data switch on cellular-capable devices. Android only. */
|
|
1158
|
+
cellular?: boolean;
|
|
1159
|
+
/** Device-wide location switch. Per-app access is separate. Android only. */
|
|
1160
|
+
locationServices?: boolean;
|
|
1161
|
+
/** Rotate the screen with the device. Available on emulators. Android only. */
|
|
1162
|
+
autoRotate?: boolean;
|
|
1163
|
+
/** Do Not Disturb filter. `total` is total silence. Android API 29+ only. */
|
|
1164
|
+
doNotDisturb?: "off" | "priority" | "alarms" | "total";
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1130
1167
|
"terminate-app": {
|
|
1131
1168
|
/** Target device id from `list-devices`. */
|
|
1132
1169
|
udid: string;
|