@houwert/conductor 0.2.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/.claude-plugin/plugin.json +6 -0
- package/README.md +39 -0
- package/dist/commands/assert-not-visible.js +47 -0
- package/dist/commands/assert-visible.js +58 -0
- package/dist/commands/back.js +25 -0
- package/dist/commands/cheat-sheet.js +100 -0
- package/dist/commands/daemon.js +61 -0
- package/dist/commands/device-pool.js +202 -0
- package/dist/commands/erase-text.js +26 -0
- package/dist/commands/foreground-app.js +50 -0
- package/dist/commands/hide-keyboard.js +27 -0
- package/dist/commands/inspect.js +37 -0
- package/dist/commands/install.js +64 -0
- package/dist/commands/launch-app.js +42 -0
- package/dist/commands/list-apps.js +60 -0
- package/dist/commands/list-devices.js +61 -0
- package/dist/commands/open-link.js +22 -0
- package/dist/commands/press-key.js +91 -0
- package/dist/commands/run-flow-inline.js +25 -0
- package/dist/commands/run-flow.js +29 -0
- package/dist/commands/run-parallel.js +143 -0
- package/dist/commands/screenshot.js +29 -0
- package/dist/commands/scroll-until-visible.js +69 -0
- package/dist/commands/scroll.js +36 -0
- package/dist/commands/session.js +49 -0
- package/dist/commands/set-location.js +18 -0
- package/dist/commands/set-orientation.js +23 -0
- package/dist/commands/start-device.js +178 -0
- package/dist/commands/stop-app.js +32 -0
- package/dist/commands/swipe.js +72 -0
- package/dist/commands/tap.js +69 -0
- package/dist/commands/type.js +22 -0
- package/dist/daemon/client.js +112 -0
- package/dist/daemon/protocol.js +25 -0
- package/dist/daemon/server.js +208 -0
- package/dist/drivers/android.js +343 -0
- package/dist/drivers/bootstrap.js +371 -0
- package/dist/drivers/element-resolver.js +371 -0
- package/dist/drivers/flow-runner.js +1309 -0
- package/dist/drivers/ios.js +328 -0
- package/dist/drivers/js-engine.js +150 -0
- package/dist/drivers/wait.js +211 -0
- package/dist/index.js +426 -0
- package/dist/output.js +36 -0
- package/dist/pkg-root.js +28 -0
- package/dist/postinstall.js +12 -0
- package/dist/runner.js +190 -0
- package/dist/session.js +66 -0
- package/dist/update-check.js +109 -0
- package/dist/utils.js +19 -0
- package/dist/verbose.js +17 -0
- package/drivers/android/conductor-app.apk +0 -0
- package/drivers/android/conductor-server.apk +0 -0
- package/drivers/ios/conductor-driver-ios-config.xctestrun +126 -0
- package/drivers/ios/conductor-driver-ios.zip +0 -0
- package/drivers/ios/conductor-driver-iosUITests-Runner.zip +0 -0
- package/package.json +52 -0
- package/proto/conductor_android.proto +116 -0
- package/skills/conductor/SKILL.md +677 -0
- package/skills/conductor/references/flow-syntax.md +179 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package conductor_android;
|
|
4
|
+
|
|
5
|
+
service ConductorDriver {
|
|
6
|
+
|
|
7
|
+
rpc deviceInfo(DeviceInfoRequest) returns (DeviceInfo) {}
|
|
8
|
+
|
|
9
|
+
rpc viewHierarchy(ViewHierarchyRequest) returns (ViewHierarchyResponse) {}
|
|
10
|
+
|
|
11
|
+
rpc screenshot(ScreenshotRequest) returns (ScreenshotResponse) {}
|
|
12
|
+
|
|
13
|
+
rpc tap(TapRequest) returns (TapResponse) {}
|
|
14
|
+
|
|
15
|
+
rpc inputText(InputTextRequest) returns (InputTextResponse) {}
|
|
16
|
+
|
|
17
|
+
rpc eraseAllText(EraseAllTextRequest) returns (EraseAllTextResponse) {}
|
|
18
|
+
|
|
19
|
+
rpc setLocation(SetLocationRequest) returns (SetLocationResponse) {}
|
|
20
|
+
|
|
21
|
+
rpc isWindowUpdating(CheckWindowUpdatingRequest) returns (CheckWindowUpdatingResponse) {}
|
|
22
|
+
|
|
23
|
+
rpc launchApp(LaunchAppRequest) returns (LaunchAppResponse) {}
|
|
24
|
+
|
|
25
|
+
rpc addMedia(stream AddMediaRequest) returns (AddMediaResponse) {}
|
|
26
|
+
|
|
27
|
+
rpc enableMockLocationProviders(EmptyRequest) returns (EmptyResponse) {}
|
|
28
|
+
|
|
29
|
+
rpc disableLocationUpdates(EmptyRequest) returns (EmptyResponse) {}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message EmptyRequest {}
|
|
33
|
+
message EmptyResponse {}
|
|
34
|
+
|
|
35
|
+
message LaunchAppRequest {
|
|
36
|
+
|
|
37
|
+
string packageName = 1;
|
|
38
|
+
repeated ArgumentValue arguments = 2;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message ArgumentValue {
|
|
42
|
+
string key = 1;
|
|
43
|
+
string value = 2;
|
|
44
|
+
string type = 3;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
message LaunchAppResponse {}
|
|
48
|
+
|
|
49
|
+
// Device info
|
|
50
|
+
message DeviceInfoRequest {}
|
|
51
|
+
|
|
52
|
+
message DeviceInfo {
|
|
53
|
+
uint32 widthPixels = 1;
|
|
54
|
+
uint32 heightPixels = 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
message ScreenshotRequest {}
|
|
58
|
+
|
|
59
|
+
message ScreenshotResponse {
|
|
60
|
+
bytes bytes = 1;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// View hierarchy
|
|
64
|
+
message ViewHierarchyRequest {}
|
|
65
|
+
|
|
66
|
+
message ViewHierarchyResponse {
|
|
67
|
+
string hierarchy = 1;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Interactions
|
|
71
|
+
|
|
72
|
+
message TapRequest {
|
|
73
|
+
uint32 x = 1;
|
|
74
|
+
uint32 y = 2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message TapResponse {}
|
|
78
|
+
|
|
79
|
+
message InputTextRequest {
|
|
80
|
+
string text = 1;
|
|
81
|
+
}
|
|
82
|
+
message InputTextResponse {}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
message EraseAllTextRequest {
|
|
86
|
+
uint32 charactersToErase = 1;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
message EraseAllTextResponse {}
|
|
90
|
+
|
|
91
|
+
message SetLocationRequest {
|
|
92
|
+
double latitude = 1;
|
|
93
|
+
double longitude = 2;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
message SetLocationResponse {}
|
|
97
|
+
|
|
98
|
+
message CheckWindowUpdatingRequest {
|
|
99
|
+
string appId = 1;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
message CheckWindowUpdatingResponse {
|
|
103
|
+
bool isWindowUpdating = 1;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
message AddMediaRequest {
|
|
107
|
+
Payload payload = 1;
|
|
108
|
+
string media_name = 2;
|
|
109
|
+
string media_ext = 3;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message AddMediaResponse { }
|
|
113
|
+
|
|
114
|
+
message Payload {
|
|
115
|
+
bytes data = 1;
|
|
116
|
+
}
|