@swmansion/argent 0.28.1-next.10 → 0.28.1-next.12
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/client.d.ts +9 -0
- package/dist/installer.mjs +1 -1
- package/dist/tool-args.generated.d.ts +4 -0
- package/dist/tool-server.cjs +226 -158
- package/package.json +1 -1
package/dist/cli-cmds.mjs
CHANGED
|
@@ -30092,7 +30092,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
30092
30092
|
var SESSION_ID2 = randomUUID5();
|
|
30093
30093
|
function readCliVersion() {
|
|
30094
30094
|
if (true) {
|
|
30095
|
-
return "0.28.1-next.
|
|
30095
|
+
return "0.28.1-next.12";
|
|
30096
30096
|
}
|
|
30097
30097
|
return "0.0.0";
|
|
30098
30098
|
}
|
package/dist/client.d.ts
CHANGED
|
@@ -81,6 +81,15 @@ export interface UiTree {
|
|
|
81
81
|
*/
|
|
82
82
|
unsupportedFields: string[];
|
|
83
83
|
}
|
|
84
|
+
/** The `foreground-app` result: which app is in front, as `UiTree.foregroundApp` reports it. */
|
|
85
|
+
export interface ForegroundApp {
|
|
86
|
+
/** iOS bundle id or Android package of the app in front; under a system alert, the app it covers. Unset when unknown. */
|
|
87
|
+
bundleId?: string;
|
|
88
|
+
/** iOS: the app's display name. */
|
|
89
|
+
name?: string;
|
|
90
|
+
/** A system alert or dialog covers the app. Unset when unknown. */
|
|
91
|
+
alertVisible?: boolean;
|
|
92
|
+
}
|
|
84
93
|
export interface CallToolOptions {
|
|
85
94
|
/** Receive progress events while a long-running tool works. */
|
|
86
95
|
onProgress?: (event: unknown) => void;
|
package/dist/installer.mjs
CHANGED
|
@@ -16736,7 +16736,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16736
16736
|
var SESSION_ID = randomUUID4();
|
|
16737
16737
|
function readCliVersion() {
|
|
16738
16738
|
if (true) {
|
|
16739
|
-
return "0.28.1-next.
|
|
16739
|
+
return "0.28.1-next.12";
|
|
16740
16740
|
}
|
|
16741
16741
|
return "0.0.0";
|
|
16742
16742
|
}
|
|
@@ -268,6 +268,10 @@ export interface ArgentToolArgs {
|
|
|
268
268
|
/** The hinge angle in degrees, 0 (closed) to 180 (open). Exactly one of `posture` and `angle`. */
|
|
269
269
|
angle?: number;
|
|
270
270
|
};
|
|
271
|
+
"foreground-app": {
|
|
272
|
+
/** Target device id from `list-devices`. */
|
|
273
|
+
udid: string;
|
|
274
|
+
};
|
|
271
275
|
"gather-workspace-data": {
|
|
272
276
|
/** Absolute path to the project root directory to inspect (e.g. /Users/dev/MyApp) */
|
|
273
277
|
workspacePath: string;
|