@swmansion/argent 0.34.1-next.86 → 0.34.1-next.87
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 +3 -0
- package/dist/client.js +3 -0
- package/dist/installer.mjs +3 -0
- package/dist/mcp-server.mjs +3 -0
- package/dist/tool-args.generated.d.ts +5 -1
- package/dist/tool-server.cjs +1636 -1142
- package/package.json +2 -2
package/dist/cli-cmds.mjs
CHANGED
|
@@ -10903,6 +10903,9 @@ var FAILURE_CODES = {
|
|
|
10903
10903
|
BOOT_ANDROID_FIRST_FRAME_TIMEOUT: "BOOT_ANDROID_FIRST_FRAME_TIMEOUT",
|
|
10904
10904
|
BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE: "BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE",
|
|
10905
10905
|
BOOT_ANDROID_COLD_BOOT_FAILED: "BOOT_ANDROID_COLD_BOOT_FAILED",
|
|
10906
|
+
BOOT_ANDROID_PORT_INVALID: "BOOT_ANDROID_PORT_INVALID",
|
|
10907
|
+
BOOT_ANDROID_PORT_IN_USE: "BOOT_ANDROID_PORT_IN_USE",
|
|
10908
|
+
BOOT_ANDROID_READ_ONLY_CONFLICT: "BOOT_ANDROID_READ_ONLY_CONFLICT",
|
|
10906
10909
|
BOOT_HARMONY_INSTANCE_NOT_FOUND: "BOOT_HARMONY_INSTANCE_NOT_FOUND",
|
|
10907
10910
|
BOOT_HARMONY_TARGET_LIST_FAILED: "BOOT_HARMONY_TARGET_LIST_FAILED",
|
|
10908
10911
|
BOOT_HARMONY_STOP_FAILED: "BOOT_HARMONY_STOP_FAILED",
|
package/dist/client.js
CHANGED
|
@@ -9475,6 +9475,9 @@ var FAILURE_CODES = {
|
|
|
9475
9475
|
BOOT_ANDROID_FIRST_FRAME_TIMEOUT: "BOOT_ANDROID_FIRST_FRAME_TIMEOUT",
|
|
9476
9476
|
BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE: "BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE",
|
|
9477
9477
|
BOOT_ANDROID_COLD_BOOT_FAILED: "BOOT_ANDROID_COLD_BOOT_FAILED",
|
|
9478
|
+
BOOT_ANDROID_PORT_INVALID: "BOOT_ANDROID_PORT_INVALID",
|
|
9479
|
+
BOOT_ANDROID_PORT_IN_USE: "BOOT_ANDROID_PORT_IN_USE",
|
|
9480
|
+
BOOT_ANDROID_READ_ONLY_CONFLICT: "BOOT_ANDROID_READ_ONLY_CONFLICT",
|
|
9478
9481
|
BOOT_HARMONY_INSTANCE_NOT_FOUND: "BOOT_HARMONY_INSTANCE_NOT_FOUND",
|
|
9479
9482
|
BOOT_HARMONY_TARGET_LIST_FAILED: "BOOT_HARMONY_TARGET_LIST_FAILED",
|
|
9480
9483
|
BOOT_HARMONY_STOP_FAILED: "BOOT_HARMONY_STOP_FAILED",
|
package/dist/installer.mjs
CHANGED
|
@@ -16138,6 +16138,9 @@ var FAILURE_CODES = {
|
|
|
16138
16138
|
BOOT_ANDROID_FIRST_FRAME_TIMEOUT: "BOOT_ANDROID_FIRST_FRAME_TIMEOUT",
|
|
16139
16139
|
BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE: "BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE",
|
|
16140
16140
|
BOOT_ANDROID_COLD_BOOT_FAILED: "BOOT_ANDROID_COLD_BOOT_FAILED",
|
|
16141
|
+
BOOT_ANDROID_PORT_INVALID: "BOOT_ANDROID_PORT_INVALID",
|
|
16142
|
+
BOOT_ANDROID_PORT_IN_USE: "BOOT_ANDROID_PORT_IN_USE",
|
|
16143
|
+
BOOT_ANDROID_READ_ONLY_CONFLICT: "BOOT_ANDROID_READ_ONLY_CONFLICT",
|
|
16141
16144
|
BOOT_HARMONY_INSTANCE_NOT_FOUND: "BOOT_HARMONY_INSTANCE_NOT_FOUND",
|
|
16142
16145
|
BOOT_HARMONY_TARGET_LIST_FAILED: "BOOT_HARMONY_TARGET_LIST_FAILED",
|
|
16143
16146
|
BOOT_HARMONY_STOP_FAILED: "BOOT_HARMONY_STOP_FAILED",
|
package/dist/mcp-server.mjs
CHANGED
|
@@ -33898,6 +33898,9 @@ var FAILURE_CODES = {
|
|
|
33898
33898
|
BOOT_ANDROID_FIRST_FRAME_TIMEOUT: "BOOT_ANDROID_FIRST_FRAME_TIMEOUT",
|
|
33899
33899
|
BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE: "BOOT_ANDROID_PACKAGE_MANAGER_UNAVAILABLE",
|
|
33900
33900
|
BOOT_ANDROID_COLD_BOOT_FAILED: "BOOT_ANDROID_COLD_BOOT_FAILED",
|
|
33901
|
+
BOOT_ANDROID_PORT_INVALID: "BOOT_ANDROID_PORT_INVALID",
|
|
33902
|
+
BOOT_ANDROID_PORT_IN_USE: "BOOT_ANDROID_PORT_IN_USE",
|
|
33903
|
+
BOOT_ANDROID_READ_ONLY_CONFLICT: "BOOT_ANDROID_READ_ONLY_CONFLICT",
|
|
33901
33904
|
BOOT_HARMONY_INSTANCE_NOT_FOUND: "BOOT_HARMONY_INSTANCE_NOT_FOUND",
|
|
33902
33905
|
BOOT_HARMONY_TARGET_LIST_FAILED: "BOOT_HARMONY_TARGET_LIST_FAILED",
|
|
33903
33906
|
BOOT_HARMONY_STOP_FAILED: "BOOT_HARMONY_STOP_FAILED",
|
|
@@ -77,7 +77,7 @@ export interface ArgentToolArgs {
|
|
|
77
77
|
"boot-device": {
|
|
78
78
|
/** iOS: simulator UDID to boot (from `list-devices`). A Mac app id (`macos-app-<bundle id>`) starts that app again from its last path. */
|
|
79
79
|
udid?: string;
|
|
80
|
-
/** Android: AVD to start, the `avdName` of a `list-devices` entry with kind 'avd'.
|
|
80
|
+
/** Android: AVD to start, the `avdName` of a `list-devices` entry with kind 'avd'. A running emulator of it is reused when it fits the call: see `readOnly` and `port`. */
|
|
81
81
|
avdName?: string;
|
|
82
82
|
/** Vega (Fire TV): VVD image to boot: the `vvdImage` of a Vega device from `list-devices` (e.g. `tv`). */
|
|
83
83
|
vvdImage?: string;
|
|
@@ -91,6 +91,10 @@ export interface ArgentToolArgs {
|
|
|
91
91
|
sound?: boolean;
|
|
92
92
|
/** Android on a macOS host only: boot the emulator with guest Vulkan. Defaults to false: guest Vulkan crashes Chrome's GPU process, which breaks Chrome and Custom Tab sign-in flows. Without it apps find no Vulkan device, although the guest still lists the Vulkan features, so a Vulkan-only renderer such as WebGPU (react-native-wgpu) draws nothing; pass `true` to test one. Takes effect at boot: an emulator already running in the other mode is reused with a `note`, and `force: true` reboots it. A boot snapshot saved in the other mode can't be reused, so the first boot after toggling is a slower cold boot. The `ARGENT_EMULATOR_GUEST_VULKAN` env var flips this default to true. Ignored on other hosts and platforms. */
|
|
93
93
|
guestVulkan?: boolean;
|
|
94
|
+
/** Android only: boot the emulator with `-read-only`, so that several emulators can run one AVD at once, for example one per agent. Defaults to false. A read-only emulator saves no snapshot and loses its changes when it exits, so the AVD and its quickboot snapshot stay as they were. The emulator runs an AVD either writable once or read-only any number of times, never both, so the boot fails while the AVD runs writable, and a writable boot fails while the AVD runs in any instance it cannot reuse. A read-only boot reuses only a running read-only emulator. Ignored on other platforms. */
|
|
95
|
+
readOnly?: boolean;
|
|
96
|
+
/** Android only: the emulator's console port, an even number from 5554 to 5584 (`emulator -port`), the range adb finds emulators in; its serial is `emulator-<port>`. Without it the emulator takes the first free port from 5554 up, as Android Studio does. The gRPC server Argent needs for screenshots and gestures goes on the port plus 3000, which must be free too. Given a port, the tool reuses only the emulator on that port and fails if another emulator holds it, or if this AVD runs there writable on a read-only boot and `force` is not set. A read-only emulator started with `-port` belongs to the calls that give that port: a call without `port` never reuses or shuts it down. Where the process list cannot be read (Windows, or a failed `ps`), Argent knows only the pinned emulators it booted itself, so a writable call without `port` can reuse, or with `force` shut down, one that someone else pinned. A writable one is still reused, or with `force` shut down, by a writable call without `port`, since the AVD runs one writable emulator at a time. `force` shuts nothing down when another emulator of the AVD would still block the boot. Ignored on other platforms. */
|
|
97
|
+
port?: number;
|
|
94
98
|
/** iOS only: boot the simulator core WITHOUT opening its GUI window (Simulator.app, or Device Hub on Xcode 27+). The device still streams via simulator-server. The `ARGENT_SIMULATOR_NO_WINDOW` env var (1/true/yes) forces this host-wide. */
|
|
95
99
|
headless?: boolean;
|
|
96
100
|
/** Electron: path to the Electron app to launch. Either a packaged .app bundle / executable, or a project directory whose package.json points the Electron binary at the entry script. */
|