agent-device 0.12.8 → 0.13.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/README.md +20 -1
- package/dist/src/1974.js +2 -2
- package/dist/src/3883.js +1 -1
- package/dist/src/3918.js +28 -28
- package/dist/src/4829.js +1 -0
- package/dist/src/7847.js +1 -1
- package/dist/src/9076.js +1 -1
- package/dist/src/9152.js +1 -1
- package/dist/src/9323.js +5 -5
- package/dist/src/9542.js +2 -2
- package/dist/src/989.js +1 -1
- package/dist/src/bin.js +33 -33
- package/dist/src/commands/index.d.ts +4 -1
- package/dist/src/contracts.d.ts +3 -1
- package/dist/src/daemon.js +13 -13
- package/dist/src/index.d.ts +22 -11
- package/dist/src/metro.d.ts +9 -11
- package/package.json +20 -3
- package/skills/agent-device/SKILL.md +2 -1
- package/skills/agent-device/references/debugging.md +3 -1
- package/skills/agent-device/references/exploration.md +5 -2
- package/skills/agent-device/references/remote-tenancy.md +9 -6
- package/skills/agent-device/references/verification.md +6 -2
- package/skills/dogfood/SKILL.md +1 -0
- package/skills/react-devtools/SKILL.md +53 -0
- package/skills/react-devtools/references/commands.md +91 -0
- package/skills/react-devtools/references/profiling.md +74 -0
|
@@ -716,6 +716,8 @@ export declare type BoundAgentDeviceCommands = {
|
|
|
716
716
|
|
|
717
717
|
export declare type BoundRuntimeCommand<TOptions = Record<string, unknown>, TResult = CommandResult> = (options: TOptions) => Promise<TResult>;
|
|
718
718
|
|
|
719
|
+
declare type ClickButton = 'primary' | 'secondary' | 'middle';
|
|
720
|
+
|
|
719
721
|
export declare type ClickCommandOptions = PressCommandOptions;
|
|
720
722
|
|
|
721
723
|
export declare type CloseAppCommandOptions = CommandContext & {
|
|
@@ -1290,7 +1292,7 @@ export declare type PointTarget = {
|
|
|
1290
1292
|
|
|
1291
1293
|
export declare type PressCommandOptions = CommandContext & {
|
|
1292
1294
|
target: InteractionTarget;
|
|
1293
|
-
button?:
|
|
1295
|
+
button?: ClickButton;
|
|
1294
1296
|
count?: number;
|
|
1295
1297
|
intervalMs?: number;
|
|
1296
1298
|
holdMs?: number;
|
|
@@ -1449,6 +1451,7 @@ export declare type ScreenshotCommandOptions = CommandContext & {
|
|
|
1449
1451
|
out?: FileOutputRef;
|
|
1450
1452
|
fullscreen?: boolean;
|
|
1451
1453
|
overlayRefs?: boolean;
|
|
1454
|
+
maxSize?: number;
|
|
1452
1455
|
appId?: string;
|
|
1453
1456
|
appBundleId?: string;
|
|
1454
1457
|
surface?: 'app' | 'frontmost-app' | 'desktop' | 'menubar';
|
package/dist/src/contracts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type AppErrorCode =
|
|
1
|
+
export declare type AppErrorCode = KnownAppErrorCode | (string & {});
|
|
2
2
|
|
|
3
3
|
export declare function centerOfRect(rect: Rect): Point;
|
|
4
4
|
|
|
@@ -89,6 +89,8 @@ export declare type JsonRpcRequestEnvelope<TParams = unknown> = {
|
|
|
89
89
|
|
|
90
90
|
export declare const jsonRpcRequestSchema: RuntimeSchema<JsonRpcRequestEnvelope<unknown>>;
|
|
91
91
|
|
|
92
|
+
declare type KnownAppErrorCode = 'INVALID_ARGS' | 'DEVICE_NOT_FOUND' | 'DEVICE_IN_USE' | 'TOOL_MISSING' | 'APP_NOT_INSTALLED' | 'UNSUPPORTED_PLATFORM' | 'UNSUPPORTED_OPERATION' | 'NOT_IMPLEMENTED' | 'COMMAND_FAILED' | 'SESSION_NOT_FOUND' | 'UNAUTHORIZED' | 'AMBIGUOUS_MATCH' | 'UNKNOWN';
|
|
93
|
+
|
|
92
94
|
export declare type LeaseAllocatePayload = {
|
|
93
95
|
token?: string;
|
|
94
96
|
session?: string;
|