agent-device 0.14.9 → 0.15.1
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/README.md +7 -4
- package/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.14.9.apk → agent-device-android-snapshot-helper-0.15.1.apk} +0 -0
- package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.15.1.apk.sha256 +1 -0
- package/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.14.9.manifest.json → agent-device-android-snapshot-helper-0.15.1.manifest.json} +6 -6
- package/dist/src/1393.js +1 -0
- package/dist/src/1769.js +7 -0
- package/dist/src/1974.js +2 -2
- package/dist/src/208.js +1 -1
- package/dist/src/2151.js +434 -0
- package/dist/src/221.js +4 -4
- package/dist/src/2842.js +1 -0
- package/dist/src/3572.js +1 -0
- package/dist/src/4057.js +1 -1
- package/dist/src/4829.js +1 -1
- package/dist/src/9542.js +2 -2
- package/dist/src/9639.js +2 -2
- package/dist/src/989.js +1 -1
- package/dist/src/android-adb.d.ts +38 -9
- package/dist/src/android-adb.js +1 -1
- package/dist/src/android-snapshot-helper.d.ts +23 -0
- package/dist/src/cli.js +60 -57
- package/dist/src/contracts.d.ts +1 -0
- package/dist/src/finders.d.ts +1 -0
- package/dist/src/index.d.ts +56 -27
- package/dist/src/internal/companion-tunnel.js +1 -1
- package/dist/src/internal/daemon.js +51 -23
- package/dist/src/remote-config.d.ts +17 -14
- package/dist/src/selectors.d.ts +2 -0
- package/dist/src/server.js +2 -20
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj/xcshareddata/xcschemes/AgentDeviceRunner.xcscheme +7 -1
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Alert.swift +155 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+CommandExecution.swift +131 -72
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Interaction.swift +734 -10
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Lifecycle.swift +89 -16
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Models.swift +5 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+Snapshot.swift +9 -0
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests+SystemModal.swift +4 -3
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/RunnerTests.swift +1 -2
- package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests.xctestplan +26 -0
- package/ios-runner/AgentDeviceRunner/RecordingScripts/recording-overlay.swift +7 -1
- package/package.json +30 -11
- package/server.json +3 -3
- package/skills/agent-device/SKILL.md +2 -7
- package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.14.9.apk.sha256 +0 -1
- package/dist/src/180.js +0 -1
- package/dist/src/6108.js +0 -26
- package/dist/src/6642.js +0 -1
- package/dist/src/7462.js +0 -1
- package/dist/src/8809.js +0 -8
- package/dist/src/command-schema.js +0 -382
|
@@ -59,6 +59,8 @@ declare type AndroidAdbProvider = {
|
|
|
59
59
|
reverse?: AndroidPortReverseProvider;
|
|
60
60
|
pull?: AndroidAdbPuller;
|
|
61
61
|
install?: AndroidAdbInstaller;
|
|
62
|
+
installBundle?: AndroidBundleInstaller;
|
|
63
|
+
text?: AndroidTextInjector;
|
|
62
64
|
};
|
|
63
65
|
|
|
64
66
|
declare type AndroidAdbPuller = (remotePath: string, localPath: string, options?: AndroidAdbTransferOptions) => Promise<AndroidAdbExecutorResult>;
|
|
@@ -67,6 +69,10 @@ declare type AndroidAdbSpawner = (args: string[], options?: ExecBackgroundOption
|
|
|
67
69
|
|
|
68
70
|
declare type AndroidAdbTransferOptions = AndroidAdbExecutorOptions;
|
|
69
71
|
|
|
72
|
+
declare type AndroidBundleInstaller = (bundlePath: string, options: {
|
|
73
|
+
mode: string;
|
|
74
|
+
}) => Promise<void>;
|
|
75
|
+
|
|
70
76
|
declare type AndroidPortReverseEndpoint = `tcp:${number}` | `localabstract:${string}`;
|
|
71
77
|
|
|
72
78
|
declare type AndroidPortReverseMapping = {
|
|
@@ -185,6 +191,22 @@ export declare type AndroidSnapshotHelperPreparedArtifact = AndroidSnapshotHelpe
|
|
|
185
191
|
cleanup?: () => Promise<void>;
|
|
186
192
|
};
|
|
187
193
|
|
|
194
|
+
declare type AndroidTextInjectionRequest = {
|
|
195
|
+
action: 'type' | 'fill';
|
|
196
|
+
text: string;
|
|
197
|
+
delayMs?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Present only for fill. Providers must make this target the focused/replaced
|
|
200
|
+
* input for the request, not inject into an unrelated currently focused field.
|
|
201
|
+
*/
|
|
202
|
+
target?: {
|
|
203
|
+
x: number;
|
|
204
|
+
y: number;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
declare type AndroidTextInjector = (request: AndroidTextInjectionRequest) => Promise<void>;
|
|
209
|
+
|
|
188
210
|
export declare function captureAndroidSnapshotWithHelper(options: AndroidSnapshotHelperCaptureOptions): Promise<AndroidSnapshotHelperOutput>;
|
|
189
211
|
|
|
190
212
|
export declare function ensureAndroidSnapshotHelper(options: {
|
|
@@ -257,6 +279,7 @@ declare type RawSnapshotNode = {
|
|
|
257
279
|
surface?: string;
|
|
258
280
|
hiddenContentAbove?: boolean;
|
|
259
281
|
hiddenContentBelow?: boolean;
|
|
282
|
+
presentationHints?: string[];
|
|
260
283
|
};
|
|
261
284
|
|
|
262
285
|
declare type Rect = {
|