@swmansion/argent 0.35.1-next.59 → 0.35.1-next.60
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
CHANGED
|
@@ -38696,7 +38696,7 @@ function isCi(env = process.env) {
|
|
|
38696
38696
|
var SESSION_ID2 = randomUUID5();
|
|
38697
38697
|
function readCliVersion() {
|
|
38698
38698
|
if (true) {
|
|
38699
|
-
return "0.35.1-next.
|
|
38699
|
+
return "0.35.1-next.60";
|
|
38700
38700
|
}
|
|
38701
38701
|
return "0.0.0";
|
|
38702
38702
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -17119,7 +17119,7 @@ function isCi(env = process.env) {
|
|
|
17119
17119
|
var SESSION_ID = randomUUID4();
|
|
17120
17120
|
function readCliVersion() {
|
|
17121
17121
|
if (true) {
|
|
17122
|
-
return "0.35.1-next.
|
|
17122
|
+
return "0.35.1-next.60";
|
|
17123
17123
|
}
|
|
17124
17124
|
return "0.0.0";
|
|
17125
17125
|
}
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -38255,7 +38255,7 @@ async function startMcpServer(options) {
|
|
|
38255
38255
|
const autoDescribeOn = autoDescribeEnabled();
|
|
38256
38256
|
const whatsNewOn = whatsNewEnabled();
|
|
38257
38257
|
const installedVersion = getInstalledVersion();
|
|
38258
|
-
const highlightsVersion = true ? "0.35.1-next.
|
|
38258
|
+
const highlightsVersion = true ? "0.35.1-next.60" : installedVersion;
|
|
38259
38259
|
const captureTimeoutMs = options.captureTimeoutMs ?? CAPTURE_TIMEOUT_MS;
|
|
38260
38260
|
const trees = createTreeMemory();
|
|
38261
38261
|
const screenshots = createScreenshotMemory();
|
|
@@ -580,7 +580,7 @@ export interface ArgentToolArgs {
|
|
|
580
580
|
keyboard: {
|
|
581
581
|
/** Target device id from `list-devices`. */
|
|
582
582
|
udid: string;
|
|
583
|
-
/** Text to type. Cannot be combined with `key`. Use `{{secret:NAME}}` for credentials. Ask the user to configure missing secrets without sharing their values. Secret placeholders suppress the automatic screenshot for the call. Use one `run-sequence` to type a secret and press Enter with the same protection. */
|
|
583
|
+
/** Text to type. Cannot be combined with `key`. Use `{{secret:NAME}}` for credentials, looked up where the MCP server started, first match wins: the `ARGENT_SECRET_NAME` env var, the project's `.argent/secrets.env`, `ARGENT_SECRET_NAME` in the project's `.env.local` or `.env`, then `~/.argent/secrets.env`. Ask the user to configure missing secrets there without sharing their values. Secret placeholders suppress the automatic screenshot for the call. Use one `run-sequence` to type a secret and press Enter with the same protection. */
|
|
584
584
|
text?: string;
|
|
585
585
|
/** Named key. Cannot be combined with `text` or `clear` (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). */
|
|
586
586
|
key?: string;
|
|
@@ -803,7 +803,7 @@ export interface ArgentToolArgs {
|
|
|
803
803
|
paste: {
|
|
804
804
|
/** Device id from `list-devices` (iOS simulator UDID, Android emulator serial, or Mac app id). */
|
|
805
805
|
udid: string;
|
|
806
|
-
/** Text to paste. Use `{{secret:NAME}}` for credentials
|
|
806
|
+
/** Text to paste. Use `{{secret:NAME}}` for credentials, looked up in the same sources as `keyboard`. Ask the user to configure missing secrets there without sharing their values. */
|
|
807
807
|
text: string;
|
|
808
808
|
};
|
|
809
809
|
"profiler-combined-report": {
|
package/dist/tool-server.cjs
CHANGED
|
@@ -73041,7 +73041,7 @@ function isCi(env = process.env) {
|
|
|
73041
73041
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
73042
73042
|
function readCliVersion() {
|
|
73043
73043
|
if (true) {
|
|
73044
|
-
return "0.35.1-next.
|
|
73044
|
+
return "0.35.1-next.60";
|
|
73045
73045
|
}
|
|
73046
73046
|
return "0.0.0";
|
|
73047
73047
|
}
|
|
@@ -141533,7 +141533,7 @@ var capability18 = {
|
|
|
141533
141533
|
var zodSchema27 = external_exports.object({
|
|
141534
141534
|
udid: external_exports.string().describe("Target device id from `list-devices`."),
|
|
141535
141535
|
text: external_exports.string().optional().describe(
|
|
141536
|
-
"Text to type. Cannot be combined with `key`. Use `{{secret:NAME}}` for credentials. Ask the user to configure missing secrets without sharing their values. Secret placeholders suppress the automatic screenshot for the call. Use one `run-sequence` to type a secret and press Enter with the same protection."
|
|
141536
|
+
"Text to type. Cannot be combined with `key`. Use `{{secret:NAME}}` for credentials, looked up where the MCP server started, first match wins: the `ARGENT_SECRET_NAME` env var, the project's `.argent/secrets.env`, `ARGENT_SECRET_NAME` in the project's `.env.local` or `.env`, then `~/.argent/secrets.env`. Ask the user to configure missing secrets there without sharing their values. Secret placeholders suppress the automatic screenshot for the call. Use one `run-sequence` to type a secret and press Enter with the same protection."
|
|
141537
141537
|
),
|
|
141538
141538
|
key: external_exports.string().optional().describe(
|
|
141539
141539
|
"Named key. Cannot be combined with `text` or `clear` (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.<flag:harmonyos> HarmonyOS: enter, backspace, space, arrow-left/right.</flag:harmonyos><flag:macos-apps> Mac app: also delete (forward delete), home, end, page-up/down, and modifier shortcuts (e.g. command+a).</flag:macos-apps>"
|
|
@@ -141565,7 +141565,7 @@ function createKeyboardTool(registry2) {
|
|
|
141565
141565
|
id: "keyboard",
|
|
141566
141566
|
description: `Type text or press a named key on the focused field (tap or focus the field first; with no focus input is silently dropped).
|
|
141567
141567
|
Use when entering text or triggering named keys (enter, escape, backspace, arrows).
|
|
141568
|
-
Returns { typed, keys, cleared?, verified?, warning?, reactivated? }. Fails if an unsupported key is passed or the input backend is unreachable (partial typing is not rolled back; re-read before retrying). On iOS simulators, typing into an empty field verifies readback (\`verified: false\` warns). React Native: after typing, the next tap outside may only close the keyboard (tap again if so); where the field submits on return, \`key: "enter"\` avoids the extra tap.`,
|
|
141568
|
+
Returns { typed, keys, cleared?, verified?, warning?, reactivated? }. Fails if an unsupported key or untypeable character is passed or the input backend is unreachable (partial typing is not rolled back: on an iOS simulator or Chromium, the characters before an untypeable one stay typed; re-read before retrying). On iOS simulators, typing into an empty field verifies readback (\`verified: false\` warns). React Native: after typing, the next tap outside may only close the keyboard (tap again if so); where the field submits on return, \`key: "enter"\` avoids the extra tap.`,
|
|
141569
141569
|
zodSchema: zodSchema27,
|
|
141570
141570
|
alwaysLoad: true,
|
|
141571
141571
|
searchHint: "type text keyboard input named key enter escape arrow tv vega fire tv <flag:harmonyos>harmony harmonyos </flag:harmonyos>search field hid leanback",
|
|
@@ -141686,7 +141686,7 @@ var pasteZodSchema = external_exports.object({
|
|
|
141686
141686
|
"Device id from `list-devices` (iOS simulator UDID, Android emulator serial<flag:macos-apps>, or Mac app id</flag:macos-apps>)."
|
|
141687
141687
|
),
|
|
141688
141688
|
text: external_exports.string().min(1).describe(
|
|
141689
|
-
"Text to paste. Use `{{secret:NAME}}` for credentials
|
|
141689
|
+
"Text to paste. Use `{{secret:NAME}}` for credentials, looked up in the same sources as `keyboard`. Ask the user to configure missing secrets there without sharing their values."
|
|
141690
141690
|
)
|
|
141691
141691
|
});
|
|
141692
141692
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swmansion/argent",
|
|
3
|
-
"version": "0.35.1-next.
|
|
3
|
+
"version": "0.35.1-next.60",
|
|
4
4
|
"mcpName": "io.github.software-mansion/argent",
|
|
5
5
|
"description": "MCP server for iOS Simulator, Android Emulator, Chromium app and Mac app control",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"vitest": "^5.0.5",
|
|
99
99
|
"yaml": "^2.9.1"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "177b511f94591765d857507362f76af6928012df"
|
|
102
102
|
}
|
|
@@ -30,7 +30,7 @@ Over a link, `e2e-add-step` refuses a call whose step a replay over the same lin
|
|
|
30
30
|
|
|
31
31
|
Obey these lifecycle rules:
|
|
32
32
|
|
|
33
|
-
1.
|
|
33
|
+
1. Give each concurrent recording its own device and a name unique to the task. Steps run live, so two recordings on one device change each other's screens. Another caller can also take over the same `name` + `project_root` pair without an ownership check. The pair is keyed by the file the filesystem resolves to, not the spelling you passed, so a differently-cased name or a symlinked `.argent/e2e` collides too. That collision is reported: the second start says `restarted`, and the first recording's next call fails naming both spellings.
|
|
34
34
|
2. Treat `e2e-start-recording` as destructive. It truncates the named YAML even when it holds a finished or committed test. `restarted` reports only a displaced live take.
|
|
35
35
|
3. If a call says the recording is inactive, do not restart under that name. The completed take can still be on disk. Copy it aside or record under a fresh name.
|
|
36
36
|
4. Read `recorded` after each call. The recorder does not always store the tool call you made, and that line is where a rewrite shows up. The recorder still appends `await-ui-element` and `await-network-request` steps that return `success: false`. Check the warning before continuing. To see the whole file mid-recording, read it at `savedTo`. A `null` `savedTo` means only the write on your side failed: the step is still in the recording, the next step rewrites the whole file, and `e2e-finish-recording` returns `e2eTestFile` regardless.
|