@swmansion/argent 0.27.1-next.9 → 0.28.0
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/assets/manifest.json +2 -2
- package/bin/argent-android-devtools-0.2.0.apk +0 -0
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/simulator-server +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/bin/linux/simulator-server +0 -0
- package/bin/linux-arm64/simulator-server +0 -0
- package/bin/tcp/ax-service +0 -0
- package/bin/win32/simulator-server.exe +0 -0
- package/dist/cli-cmds.mjs +9067 -791
- package/dist/client.d.ts +21 -4
- package/dist/client.js +8508 -332
- package/dist/installer.mjs +587 -562
- package/dist/mcp-server.mjs +8791 -449
- package/dist/tool-args.generated.d.ts +5 -5
- package/dist/tool-server.cjs +2437 -1348
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
- package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
- package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +1 -1
- package/skills/argent-create-flow/references/flow-yaml.md +5 -3
- package/skills/argent-create-flow/references/live-authoring.md +23 -3
- package/bin/argent-android-devtools-0.1.0.apk +0 -0
package/dist/client.d.ts
CHANGED
|
@@ -34,19 +34,24 @@ export interface UiTreeNode {
|
|
|
34
34
|
width: number;
|
|
35
35
|
height: number;
|
|
36
36
|
};
|
|
37
|
-
/** Android: the view class. */
|
|
37
|
+
/** Android: the view class. iOS: the XCUIElementType name, e.g. `TextField`. */
|
|
38
38
|
type?: string;
|
|
39
39
|
/** iOS: the accessibility trait names. */
|
|
40
40
|
traits?: string[];
|
|
41
41
|
roleDescription?: string;
|
|
42
42
|
/** Android: the raw content-desc. */
|
|
43
43
|
contentDescription?: string;
|
|
44
|
-
/**
|
|
44
|
+
/** Roots: the app's bundle id (iOS) or package (Android). */
|
|
45
45
|
bundleId?: string;
|
|
46
46
|
editable?: boolean;
|
|
47
47
|
heading?: boolean;
|
|
48
|
-
/**
|
|
48
|
+
/** On screen, but behind an in-app presentation (iOS) or a system alert. */
|
|
49
49
|
covered?: boolean;
|
|
50
|
+
placeholder?: string;
|
|
51
|
+
/** The input shows its placeholder: it holds no text, and `value` is unset. */
|
|
52
|
+
hintShowing?: boolean;
|
|
53
|
+
/** No part of the frame is on screen inside its ancestors: scrolled out or clipped. */
|
|
54
|
+
hidden?: boolean;
|
|
50
55
|
children: UiTreeNode[];
|
|
51
56
|
}
|
|
52
57
|
export interface UiTree {
|
|
@@ -57,11 +62,23 @@ export interface UiTree {
|
|
|
57
62
|
width: number;
|
|
58
63
|
height: number;
|
|
59
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* iOS: while a system alert shows, the system app first and the app it covers
|
|
67
|
+
* second. Android: one root per window, topmost first.
|
|
68
|
+
*/
|
|
60
69
|
roots: UiTreeNode[];
|
|
61
70
|
truncated: boolean;
|
|
62
71
|
alertVisible?: boolean;
|
|
63
72
|
keyboardVisible?: boolean;
|
|
64
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* The bundle id or package of the app in front, under any system alert.
|
|
75
|
+
* Android: unset when the alert hides the app's window.
|
|
76
|
+
*/
|
|
77
|
+
foregroundApp?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Fields this source cannot report. On Android they depend on the API level:
|
|
80
|
+
* `placeholder` and `hintShowing` need 26, `heading` 28.
|
|
81
|
+
*/
|
|
65
82
|
unsupportedFields: string[];
|
|
66
83
|
}
|
|
67
84
|
export interface CallToolOptions {
|