@swmansion/argent 0.35.1-next.44 → 0.35.1-next.46
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 +238 -165
- package/dist/client.js +164 -97
- package/dist/installer.mjs +86 -76
- package/dist/mcp-server.mjs +192 -125
- package/dist/tool-args.generated.d.ts +10 -10
- package/dist/tool-server.cjs +633 -327
- package/package.json +2 -2
- package/skills/argent-create-e2e/references/e2e-yaml.md +22 -5
- package/skills/argent-create-e2e/references/live-authoring.md +1 -1
|
@@ -308,7 +308,7 @@ export interface ArgentToolArgs {
|
|
|
308
308
|
path: string;
|
|
309
309
|
/** Timeout in ms (default 30000, min 100). */
|
|
310
310
|
timeout?: number;
|
|
311
|
-
/**
|
|
311
|
+
/** Environment values for this script. Override same-name vars. Supports `{{secret:NAME}}`, `{{var:NAME}}`, and `{{output:PATH}}`. */
|
|
312
312
|
env?: {
|
|
313
313
|
[key: string]: string;
|
|
314
314
|
};
|
|
@@ -358,8 +358,8 @@ export interface ArgentToolArgs {
|
|
|
358
358
|
updateBaselines?: boolean;
|
|
359
359
|
/** 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). */
|
|
360
360
|
prerequisiteAcknowledged?: boolean;
|
|
361
|
-
/**
|
|
362
|
-
|
|
361
|
+
/** Overrides for the test's `vars:` defaults, including `run:` fragments. Values can contain `{{secret:NAME}}` placeholders. */
|
|
362
|
+
vars?: {
|
|
363
363
|
[key: string]: string;
|
|
364
364
|
};
|
|
365
365
|
/** @deprecated Renamed to `e2e_test_path`. */
|
|
@@ -387,13 +387,13 @@ export interface ArgentToolArgs {
|
|
|
387
387
|
/** @deprecated Renamed to `e2e_test_file`. */
|
|
388
388
|
flow_file?: string;
|
|
389
389
|
};
|
|
390
|
-
"e2e-set-
|
|
390
|
+
"e2e-set-vars": {
|
|
391
391
|
/** Test name passed to e2e-start-recording. */
|
|
392
392
|
name: string;
|
|
393
393
|
/** Absolute project root passed to e2e-start-recording. */
|
|
394
394
|
project_root: string;
|
|
395
|
-
/**
|
|
396
|
-
|
|
395
|
+
/** Set values by name. Use null to remove a name and `{{secret:NAME}}` for credentials. */
|
|
396
|
+
vars: {
|
|
397
397
|
[key: string]: string | null;
|
|
398
398
|
};
|
|
399
399
|
};
|
|
@@ -409,8 +409,8 @@ export interface ArgentToolArgs {
|
|
|
409
409
|
platform?: "ios" | "android" | "chromium" | "vega" | "macos" | Array<"ios" | "android" | "chromium" | "vega" | "macos">;
|
|
410
410
|
runtimeKind?: "mobile" | "tv";
|
|
411
411
|
};
|
|
412
|
-
/**
|
|
413
|
-
|
|
412
|
+
/** Test inputs to save under `vars:` and read with `{{var:NAME}}`. Use `{{secret:NAME}}` for credentials. */
|
|
413
|
+
vars?: {
|
|
414
414
|
[key: string]: string;
|
|
415
415
|
};
|
|
416
416
|
};
|
|
@@ -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`
|
|
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. */
|
|
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.
|
|
806
|
+
/** Text to paste. Use `{{secret:NAME}}` for credentials. Ask the user to configure missing secrets without sharing their values. */
|
|
807
807
|
text: string;
|
|
808
808
|
};
|
|
809
809
|
"profiler-combined-report": {
|