wait_change
Wait for the terminal screen to change from a baseline, then capture a snapshot. Use after sending input to confirm the action landed; returns a new hash for subsequent waits.
Instructions
Block until the screen content changes, then snapshot.
The precise "did my action land?" primitive: call it right after send_line/
send_keys to wait for ANY change from the baseline (default: the screen at
call time; or pass a prior hash to change away from). Returns {"ok",
"changed", "hash", "alive", "text", "json"} — hash is the new screen hash,
reusable as the next baseline. Timeout is not an error: the call returns
ok=true with changed=false plus the final screen snapshot. Can't
false-positive on text that was already on screen, unlike wait_regex.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| timeout_ms | No | ||
| baseline_hash | No |