Skip to content

Commit 4029bcf

Browse files
committed
feat: support --settle on scroll and back (#1638)
Scroll-then-observe and back-then-observe are legitimate agent pairs, but the post-action observation registry never grew past the touch commands, so `--settle` on either was rejected with INVALID_ARGS — burning a tool call each in AppControlBench's bsky-16. Both commands now carry the `settle` descriptor trait, and every surface derives from it rather than a hand list: CLI allowed flags, MCP/SDK input fields, the flag-sourced timeout envelope, and MCP ref-pinning. The CLI flag/metadata helpers moved out of the interaction family into post-action-observation-grammar.ts (back is a system command), and SETTLE_REF_ISSUING_TOOLS became a derivation — a hand list would have silently stopped pinning the new commands' refs. settleAfterInteraction and the new settleObservationCommand are two entry points over one engine: same loop, storage, hints, and diff bounds, with the target-less path supplying its own baseline and no proximity point. The daemon reaches that command through the runtime surface, never by importing `commands/` (R2) — the same seam the touch handlers use for press/fill — and generic-settle.ts is loaded through a lazy `await import` returning a closure, so the interaction runtime subgraph stays out of this dispatcher's static graph (a static edge folded ~18 files into the daemon-server type cycle; R10 caught it). Both of generic-settle's orderings are load-bearing and tested: the baseline is frozen before dispatch (and before the Android dialog preflight), and the observation runs after markDeferredInteractionOutcome so settle's first capture folds in the #1542 stabilization rather than racing it. The ADR 0014 "a settled diff publishes refs" rule moved to settle-ref-issuance.ts, shared by both routes. One divergence is deliberate: scroll/back resolve no element, so the diff baseline is the session's STORED pre-action tree — "settled tree vs the last tree you observed" — not press's freshly resolved pre-action capture. Both commands also switch to preserve-daemon on timeout, which changes the non-settle path too: with --settle their dominant hang mode is now a wedged accessibility bridge, and a timed-out capture must not reset the daemon and lose every session (#1105). The reviewed-set gate records it. Live-validated on an iOS 26.2 simulator (Settings): scroll --settle settled in 1786ms with a +6/-6 diff carrying fresh refs; back --settle in 771ms with +15/-6. Alternating cost runs, one call vs the pair it replaces: scroll 2.9-3.0s vs 5.3-5.6s, back 3.1-3.2s vs 4.7-5.1s. Those include the #1627 deep-capture extension.
1 parent 0b8c1d7 commit 4029bcf

33 files changed

Lines changed: 1096 additions & 276 deletions

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Unreleased
44

5+
- `scroll` and `back` now accept `--settle` (with `--settle-quiet` and `--timeout`), collapsing scroll-then-observe and back-then-observe into one call (#1638). The response carries the same settled payload the touch commands return — verdict, changed-lines diff with fresh refs on added lines, the unchanged-interactive tail, and `refsGeneration` when the settled tree was stored — and is best-effort: it never fails the action. One difference is deliberate: `scroll`/`back` resolve no element, so the diff baseline is the session's stored pre-action tree ("the last tree you observed") rather than a freshly resolved pre-action capture. Both commands now also preserve the daemon on timeout, like the other settle-capable commands.
56
- Security: repository `./agent-device.json` now accepts only project-safe automation defaults. It rejects daemon endpoint/auth/transport/server settings, tenant/run/lease selectors, provider/cloud and Metro connection fields, headers, executable reporter modules, local write destinations, and other operator-controlled values before local module loading or any daemon health/RPC request. Put remote endpoint and token together in protected CI environment variables, user config, an explicit `--config` file, or the existing `connect`/`--remote-config` workflow. Daemon auth tokens no longer travel in serialized command flags.
67
- `viewport` is now rejected during capability admission on Apple targets instead of reaching the device and failing inside dispatch. No Apple backend can resize a screen — simulator and device geometry is fixed by the selected device type — so `viewport` on iOS/iPadOS/tvOS/macOS now fails with `UNSUPPORTED_OPERATION`, `viewport is not supported on this device`, and a hint pointing at `--platform web` and at picking a different simulator. `capabilities` no longer advertises `viewport` on Apple targets. Web viewport resizing (`agent-device viewport 1280 900 --platform web`) is unchanged, and Android was already denied.
78
- `--save-script` is now accepted only by the commands that declare it — `open`, `close`, and `replay`. A hand-built daemon request (or a `batch` step) that set `saveScript` on any other command, such as `record` or `trace`, used to arm script publication and could write a `.ad` artifact; it is now rejected with `INVALID_ARGS` before the request reaches admission, the device, or any handler. CLI, Node, and MCP usage of `--save-script` on its documented commands is unchanged.

‎CONTEXT.md‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,16 @@ task touches:
131131
eligibility gate, and the module owns only these post-action markers — never ADR 0014 ref-frame
132132
expiry or the ADR 0012/0016 staged protocols. Distinct from the same-response settled
133133
observation below.
134-
- Settled observation: opt-in (`--settle`) post-action payload on press/click/fill/longpress — the
135-
quiet-window stable loop re-captures until the UI settles, and the response carries the diff vs the
136-
pre-action tree (changed lines only, added lines with fresh refs, `refsGeneration` when the settled
137-
tree was stored). Best-effort: never fails the action; `settled: false` plus a hint on never-quiet
138-
content.
134+
- Settled observation: opt-in (`--settle`) post-action payload on press/click/fill/longpress and, on
135+
the generic route, scroll/back — the quiet-window stable loop re-captures until the UI settles, and
136+
the response carries the diff vs the pre-action tree (changed lines only, added lines with fresh
137+
refs, `refsGeneration` when the settled tree was stored). Best-effort: never fails the action;
138+
`settled: false` plus a hint on never-quiet content. Which commands support it is a descriptor
139+
trait (`postActionObservation`), and the CLI flags, MCP fields, timeout envelope, and ref-pinning
140+
all derive from it. The two routes differ in ONE way, deliberately: the touch commands diff against
141+
the freshly resolved pre-action capture, while scroll/back — which resolve nothing — diff against
142+
the session's stored pre-action tree, so their diff reads "settled tree vs the last tree you
143+
observed".
139144
- Resolution disclosure (ADR 0012 decision 2): additive `resolution` field on
140145
press/click/fill/longpress responses discloses how the acting path resolved its target —
141146
`runtime`/`unique` or `runtime`/`disambiguated` (with `matchCount`/`winnerDiagnostic`/`tiebreak`/

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ agent-device close
6161

6262
Use refs only from the latest output. Do not assume an earlier `@eN` still identifies the same element. After a command with `--settle`, use the refs in its diff. Take another snapshot only if the diff omits what you need.
6363

64+
`--settle` works the same way on `scroll` and `back`, so scroll-then-observe and back-then-observe are one call too.
65+
6466
Snapshots use the app's accessibility tree. Clear labels, roles, and test IDs make agent runs more reliable. Use screenshots and videos as evidence or when accessibility data is poor. Use refs and selectors for actions and assertions when you can.
6567

6668
![agent-device demo showing Codex using agent-device to create a new contact in the iOS Contacts app from a simple prompt](./website/docs/public/agent-device-contacts.gif)

‎packages/contracts/src/client-gesture.ts‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,10 @@ export type RotateGestureOptions = DeviceCommandBaseOptions & {
135135

136136
export type TransformGestureOptions = DeviceCommandBaseOptions & TransformGestureParams;
137137

138-
export type ScrollOptions = DeviceCommandBaseOptions & {
139-
direction: ScrollInputDirection;
140-
amount?: number;
141-
pixels?: number;
142-
durationMs?: number;
143-
};
138+
export type ScrollOptions = DeviceCommandBaseOptions &
139+
SettleCommandOptions & {
140+
direction: ScrollInputDirection;
141+
amount?: number;
142+
pixels?: number;
143+
durationMs?: number;
144+
};

‎packages/contracts/src/navigation.ts‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { BackMode } from './back-mode.ts';
22
import type { DeviceRotation } from './device-rotation.ts';
3+
import type { SettleObservation } from './interaction.ts';
34
import type { TvRemoteButton } from './tv-remote.ts';
45

56
/**
@@ -18,11 +19,17 @@ export type HomeCommandResult = {
1819
message: string;
1920
};
2021

21-
/** `back` — `{ action: 'back', mode, message: 'Back' }`; `mode` defaults to `'in-app'`. */
22+
/**
23+
* `back` — `{ action: 'back', mode, message: 'Back' }`; `mode` defaults to
24+
* `'in-app'`. The one field the generic route may add on top of the dispatch
25+
* handler's literal return: `settle`, the opt-in `--settle` observation
26+
* (#1638), attached after the command by the generic dispatcher.
27+
*/
2228
export type BackCommandResult = {
2329
action: 'back';
2430
mode: BackMode;
2531
message: string;
32+
settle?: SettleObservation;
2633
};
2734

2835
/** `orientation` — `{ action: 'orientation', orientation, message: 'Rotated to <orientation>' }`. */

‎src/commands/interaction/index.ts‎

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,9 @@ import type {
1919
TypeTextOptions,
2020
} from '@agent-device/contracts/client';
2121
import type { CommandSchemaOverride } from '../../cli-schema/types.ts';
22-
import {
23-
commandSupportsSettleObservation,
24-
commandSupportsVerifyEvidence,
25-
} from '../../core/command-descriptor/registry.ts';
26-
import {
27-
REPEATED_TOUCH_FLAGS,
28-
SELECTOR_SNAPSHOT_FLAGS,
29-
SETTLE_FLAGS,
30-
} from '../cli-grammar/flag-groups.ts';
31-
import { type FlagKey } from '../cli-grammar/flag-types.ts';
22+
import { REPEATED_TOUCH_FLAGS, SELECTOR_SNAPSHOT_FLAGS } from '../cli-grammar/flag-groups.ts';
3223
import { defineExecutableCommand } from '../command-contract.ts';
24+
import { postActionObservationCliFlags } from '../post-action-observation-grammar.ts';
3325
import {
3426
commonToClientOptions,
3527
toClientElementTarget,
@@ -137,20 +129,15 @@ const interactionCliSchemas = {
137129
],
138130
},
139131
scroll: {
140-
usageOverride: 'scroll <direction|top|bottom> [amount] [--pixels <n>] [--duration-ms <ms>]',
132+
usageOverride:
133+
'scroll <direction|top|bottom> [amount] [--pixels <n>] [--duration-ms <ms>] [--settle]',
141134
positionalArgs: ['directionOrEdge', 'amount?'],
142-
allowedFlags: ['pixels', 'durationMs'],
135+
allowedFlags: ['pixels', 'durationMs', ...postActionObservationCliFlags('scroll')],
143136
},
144137
} as const satisfies Record<string, CommandSchemaOverride>;
145138

146139
type InteractionCommandMetadata = (typeof interactionCommandMetadata)[number];
147140
type InteractionCommandName = InteractionCommandMetadata['name'];
148-
function postActionObservationCliFlags(command: InteractionCommandName): readonly FlagKey[] {
149-
const flags: FlagKey[] = [];
150-
if (commandSupportsVerifyEvidence(command)) flags.push('verify');
151-
if (commandSupportsSettleObservation(command)) flags.push(...SETTLE_FLAGS);
152-
return flags;
153-
}
154141

155142
const clickCommandDefinition = defineExecutableCommand(metadata('click'), (client, input) =>
156143
client.interactions.click(toClickOptions(input)),
@@ -318,6 +305,7 @@ const scrollCommandFacet = defineCommandFacet({
318305
cliSchema: interactionCliSchemas.scroll,
319306
cliReader: interactionCliReaders.scroll,
320307
daemonWriter: interactionDaemonWriters.scroll,
308+
cliOutputFormatter: interactionCliOutputFormatters.scroll,
321309
});
322310

323311
const getCommandFacet = defineCommandFacet({

‎src/commands/interaction/interactions.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export const interactionCliReaders = {
9797
},
9898
scroll: (positionals, flags) => ({
9999
...commonInputFromFlags(flags),
100+
...settleInputFromFlags(flags),
100101
direction: readScrollDirection(positionals[0]),
101102
amount: optionalCliNumber(positionals[1]),
102103
pixels: flags.pixels,

‎src/commands/interaction/metadata.ts‎

Lines changed: 2 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ import {
1616
type SwipeGesturePayload,
1717
type TransformGesturePayload,
1818
} from '@agent-device/contracts/interaction';
19-
import type { PostActionObservationSupportFor } from '../../core/command-descriptor/post-action-observation.ts';
20-
import {
21-
commandSupportsSettleObservation,
22-
commandSupportsVerifyEvidence,
23-
} from '../../core/command-descriptor/registry.ts';
2419
import { FIND_LOCATORS } from '@agent-device/selectors';
2520
import { defineCommandMetadata } from '../command-contract.ts';
2621
import {
@@ -44,6 +39,7 @@ import {
4439
type InferCommandInput,
4540
} from '../command-input.ts';
4641
import { defineFieldCommandMetadata } from '../field-command-contract.ts';
42+
import { postActionObservationFields } from '../post-action-observation-grammar.ts';
4743
import { SCROLL_INPUT_DIRECTIONS } from './runtime/gestures.ts';
4844

4945
const FIND_ACTION_VALUES = [
@@ -80,37 +76,6 @@ const interactionCommandDescriptions = {
8076

8177
type InteractionCommandName = keyof typeof interactionCommandDescriptions;
8278

83-
const verifyField = () =>
84-
booleanField(
85-
'Capture cheap post-action evidence (AX digest, node counts, changedFromBefore) instead of a follow-up snapshot.',
86-
);
87-
88-
const settleFields = () => ({
89-
settle: booleanField(
90-
'After the action, wait for the UI to go quiet and return the settled diff vs the pre-action tree in the same response. Best-effort; never fails the action.',
91-
),
92-
settleQuietMs: integerField('Settle: quiet window in milliseconds (default 500).', { min: 0 }),
93-
timeoutMs: integerField('Settle: wait deadline in milliseconds (default 10000).', { min: 1 }),
94-
});
95-
96-
type VerifyFieldMap = { verify: ReturnType<typeof verifyField> };
97-
type SettleFieldMap = ReturnType<typeof settleFields>;
98-
type PostActionObservationFields<TName extends string> =
99-
PostActionObservationSupportFor<TName> extends 'settle-and-verify'
100-
? VerifyFieldMap & SettleFieldMap
101-
: PostActionObservationSupportFor<TName> extends 'settle'
102-
? SettleFieldMap
103-
: {};
104-
105-
function postActionObservationFields<const TName extends InteractionCommandName>(
106-
command: TName,
107-
): PostActionObservationFields<TName> {
108-
return {
109-
...(commandSupportsVerifyEvidence(command) ? { verify: verifyField() } : {}),
110-
...(commandSupportsSettleObservation(command) ? settleFields() : {}),
111-
} as PostActionObservationFields<TName>;
112-
}
113-
11479
const clickFields = {
11580
target: requiredField(interactionTargetField()),
11681
button: enumField(CLICK_BUTTONS, 'Pointer button for platforms that support mouse buttons.'),
@@ -170,6 +135,7 @@ const scrollFields = {
170135
min: 0,
171136
max: SCROLL_DURATION_MAX_MS,
172137
}),
138+
...postActionObservationFields('scroll'),
173139
};
174140

175141
// #1271 stage 2 (ADR 0012 amendment): `get`/`is`/`find` are observation-only,

‎src/commands/interaction/output.ts‎

Lines changed: 10 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ import type { SnapshotNode } from '@agent-device/kernel/snapshot';
33
import type { CliOutput } from '../command-contract.ts';
44
import { displayLabel, formatRole } from '../../snapshot/snapshot-lines.ts';
55
import { readCommandMessage } from '../../utils/success-text.ts';
6-
import { messageCliOutput, resultOutput, type CliOutputFormatter } from '../output-common.ts';
6+
import {
7+
messageCliOutput,
8+
pinnedRefText,
9+
resultOutput,
10+
type CliOutputFormatter,
11+
} from '../output-common.ts';
12+
import { appendResponseNotes, messageWithSettleOutput } from '../settle-output.ts';
713

814
function getCliOutput(params: { result: CommandRequestResult; format?: string }): CliOutput {
915
const data = params.result as Record<string, unknown>;
@@ -16,17 +22,6 @@ function getCliOutput(params: { result: CommandRequestResult; format?: string })
1622
return defaultCommandCliOutput(data);
1723
}
1824

19-
// ADR 0014: a reusable ref in a PARTIAL result renders in ready-to-copy
20-
// `@eN~s<refsGeneration>` form so a human CLI caller can paste it into the next
21-
// mutation without a separate pin step. A mutating result carries no
22-
// `refsGeneration`, so its acted ref is never pinned.
23-
function pinnedRefText(ref: unknown, refsGeneration: unknown): string | undefined {
24-
if (typeof ref !== 'string' || ref.length === 0) return undefined;
25-
if (typeof refsGeneration !== 'number') return undefined;
26-
const body = ref.startsWith('@') ? ref.slice(1) : ref;
27-
return `@${body}~s${refsGeneration}`;
28-
}
29-
3025
function findCliOutput(result: CommandRequestResult): CliOutput {
3126
const data = result as Record<string, unknown>;
3227
// Interactive find actions (click/fill/focus/type) carry the same success message as
@@ -84,91 +79,12 @@ function tapCliOutput(result: CommandRequestResult): CliOutput {
8479
return { data, text: appendResponseNotes(`Tapped @${ref} (${x}, ${y})`, data) };
8580
}
8681

87-
function messageWithSettleCliOutput(result: CommandRequestResult): CliOutput {
88-
const data = result as Record<string, unknown>;
89-
const output = defaultCommandCliOutput(data);
90-
return { data: output.data, text: appendResponseNotes(output.text, data) };
91-
}
92-
93-
function appendResponseNotes(
94-
text: string | null | undefined,
95-
data: Record<string, unknown>,
96-
): string {
97-
const warning = typeof data.warning === 'string' ? `\nWarning: ${data.warning}` : '';
98-
return `${text ?? ''}${warning}${formatSettleText(data.settle)}`;
99-
}
100-
101-
type SettleTextView = {
102-
settled?: boolean;
103-
waitedMs?: number;
104-
hint?: string;
105-
diff?: {
106-
summary?: { additions?: number; removals?: number; unchanged?: number };
107-
lines?: Array<{ kind?: string; text?: string }>;
108-
truncated?: boolean;
109-
};
110-
tail?: Array<{ ref?: string; role?: string; label?: string }>;
111-
tailTruncated?: boolean;
112-
refsGeneration?: number;
113-
};
114-
115-
/**
116-
* Compact `--settle` (#1101) rendering appended to the tap line: the verdict,
117-
* the changed-count summary, and the changed lines themselves (the payload the
118-
* agent acts on). Empty for non-settle responses.
119-
*/
120-
function formatSettleText(settle: unknown): string {
121-
if (!settle || typeof settle !== 'object') return '';
122-
const view = settle as SettleTextView;
123-
const parts = [
124-
formatSettleVerdict(view),
125-
...formatSettleDiffLines(view.diff),
126-
...formatSettleTailLines(view),
127-
];
128-
if (view.hint) parts.push(`hint: ${view.hint}`);
129-
return `\n${parts.join('\n')}`;
130-
}
131-
132-
function formatSettleDiffLines(diff: SettleTextView['diff']): string[] {
133-
const lines = (diff?.lines ?? []).map(
134-
(line) => `${line.kind === 'removed' ? '-' : '+'} ${line.text ?? ''}`,
135-
);
136-
if (diff?.truncated) lines.push('… changed lines truncated');
137-
return lines;
138-
}
139-
140-
// Unchanged interactive tail: only present when the diff's added lines
141-
// carried zero refs (modal-dismiss/toast-only diff), so the settled tree's
142-
// remaining actionable elements would otherwise be invisible.
143-
function formatSettleTailLines(view: SettleTextView): string[] {
144-
const tail = view.tail ?? [];
145-
if (tail.length === 0) return [];
146-
const lines = [`unchanged interactive (${tail.length}):`];
147-
for (const entry of tail) {
148-
const label = entry.label ? ` "${entry.label}"` : '';
149-
// ADR 0014: the settled tail refs are reusable, so render them pinned when
150-
// the settle response carried its generation.
151-
const ref = pinnedRefText(entry.ref, view.refsGeneration) ?? `@${entry.ref ?? ''}`;
152-
lines.push(`= ${ref} [${entry.role ?? ''}]${label}`);
153-
}
154-
if (view.tailTruncated) {
155-
lines.push('… more interactive elements not shown, use snapshot -i');
156-
}
157-
return lines;
158-
}
159-
160-
function formatSettleVerdict(view: SettleTextView): string {
161-
const verdict = view.settled === true ? 'settled' : 'not settled';
162-
const summary = view.diff?.summary;
163-
if (!summary) return `${verdict} after ${view.waitedMs ?? 0}ms`;
164-
return `${verdict} after ${view.waitedMs ?? 0}ms: +${summary.additions ?? 0} -${summary.removals ?? 0} (~${summary.unchanged ?? 0} unchanged)`;
165-
}
166-
16782
export const interactionCliOutputFormatters = {
16883
click: resultOutput(tapCliOutput),
16984
press: resultOutput(tapCliOutput),
170-
fill: resultOutput(messageWithSettleCliOutput),
171-
longpress: resultOutput(messageWithSettleCliOutput),
85+
fill: messageWithSettleOutput,
86+
longpress: messageWithSettleOutput,
87+
scroll: messageWithSettleOutput,
17288
get: ({ input, result }) =>
17389
getCliOutput({
17490
result: result as CommandRequestResult,

‎src/commands/interaction/runtime/index.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ import {
5353
type GestureCommandOptions,
5454
type GestureCommandResult,
5555
} from './gesture-command.ts';
56+
import { settleObservationCommand, type SettleObservationCommandOptions } from './settle.ts';
57+
import type { SettleObservation } from '@agent-device/contracts/interaction';
5658

5759
export type SelectorCommands = {
5860
find: RuntimeCommand<FindReadCommandOptions, FindReadCommandResult>;
@@ -78,6 +80,13 @@ export type InteractionCommands = {
7880
longPress: RuntimeCommand<LongPressCommandOptions, LongPressCommandResult>;
7981
scroll: RuntimeCommand<ScrollCommandOptions, ScrollCommandResult>;
8082
gesture: RuntimeCommand<GestureCommandOptions, GestureCommandResult>;
83+
/**
84+
* #1638: the observation half of `--settle` for mutations that resolve no
85+
* element (`scroll`/`back`). It performs no device action — the caller's
86+
* command already did — so it lives here purely as the seam the generic
87+
* daemon route reaches the settle engine through.
88+
*/
89+
settleObservation: RuntimeCommand<SettleObservationCommandOptions, SettleObservation>;
8190
};
8291

8392
export type BoundSelectorCommands = {
@@ -135,6 +144,7 @@ export type BoundInteractionCommands = {
135144
) => Promise<LongPressCommandResult>;
136145
scroll: BoundRuntimeCommand<ScrollCommandOptions, ScrollCommandResult>;
137146
gesture: BoundRuntimeCommand<GestureCommandOptions, GestureCommandResult>;
147+
settleObservation: BoundRuntimeCommand<SettleObservationCommandOptions, SettleObservation>;
138148
};
139149

140150
export const selectorCommands: SelectorCommands = {
@@ -158,6 +168,7 @@ export const interactionCommands: InteractionCommands = {
158168
longPress: longPressCommand,
159169
scroll: scrollCommand,
160170
gesture: gestureCommand,
171+
settleObservation: settleObservationCommand,
161172
};
162173

163174
export function bindSelectorCommands(runtime: AgentDeviceRuntime): BoundSelectorCommands {
@@ -188,6 +199,7 @@ export function bindInteractionCommands(runtime: AgentDeviceRuntime): BoundInter
188199
interactionCommands.longPress(runtime, { ...options, target }),
189200
scroll: (options) => interactionCommands.scroll(runtime, options),
190201
gesture: (options) => interactionCommands.gesture(runtime, options),
202+
settleObservation: (options) => interactionCommands.settleObservation(runtime, options),
191203
};
192204
}
193205

0 commit comments

Comments
 (0)