Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Changelog

## 0.8.0 (unreleased)

- Mac computers: `validation()` and `extract()` run on a Mac opened with `open({ platform: 'mac', inference: true })`, answered by that Mac's own vision model next to the computer, usually in 2 to 3 seconds, with `engine: 'local'` on the result. They post the computer's `/steps`. They carry no inference charge: you pay the Mac's minutes. A false validation throws `VALIDATION_FAILED` unless `soft`, an answer the model can't confirm or an `extract()` that finds nothing throws `STEP_FAILED` with the model's reason, a Mac without its model answering throws `NOT_AVAILABLE_ON_PLATFORM` (`step_engine_unavailable`) naming the fix, a model busy with another step `SESSION_BUSY` (`step_engine_busy`), and a Linux computer `NOT_AVAILABLE_ON_PLATFORM` before anything is sent. `instruction()` on computers still throws `NOT_AVAILABLE_ON_PLATFORM`, now naming `tap({ target })` and `type({ target }, text)`.
- Mac computers: `inference: true` on a Mac target sends `inference: true` on create, and the computer's `inference` property reads `'ready'`, `'unavailable'` or `'unknown'` from each report (`undefined` without it). A create refused with `inference_not_enabled` (local inference is enabled per organization; ask support@revyl.ai) or `inference_unavailable` (no Mac with a model is up) throws `NOT_AVAILABLE_ON_PLATFORM` with that reason. `inference` on a Linux target throws `INVALID_ARGUMENT`. Leaving it out sends the same create as before.
- Local inference for app sessions: iOS and Web sessions opened with `computer.open()` inside a Mac opened with `inference: true` run their validations, and instructions that are a single tap, on the Mac's model first, with Revyl's hosted model as the fallback for every other step and for answers the Mac's model can't give within 25 seconds. **This is the default inside an inference Mac**; `inference: false` on the target turns it off for that session, and `inference: true` on Android throws `INVALID_ARGUMENT`. It sends `inference: 'local'` on the hosted start. A verdict the Mac's model gives is final. A start Revyl refuses with `computer_local_inference_unavailable` throws `NOT_AVAILABLE_ON_PLATFORM` with that reason and a message naming both fixes; it was reported as `SESSION_BUSY` (HTTP 409) before. Steps the Mac's model answers carry no inference charge, and app sessions inside a computer add no device minutes.
- `extract(text)` on every session reads one value off the screen and returns it in the new `StepResult.value`. On web, iOS and Android it runs on Revyl's agent as the live step `extract`; a session opened with `model` or `agent` throws `INVALID_ARGUMENT`. `StepResult.type` adds `'extract'`, and the new `StepResult.engine` (`'local'` or `'hosted'`) says who answered when Revyl says. `ExtractOptions` and `ComputerInferenceReadiness` are exported.
- Persistent computers: `openPersistent(name, { inference: true })` creates a computer that runs on Macs with their own model on every start; `withoutInference: true` starts a stopped one once without the model, and a backend that doesn't offer it throws `INVALID_ARGUMENT` saying so (it is sent only when true). `savedDiskExpiresAt` on `listPersistent()` and snapshot entries says when a save stops being able to start a computer, when Revyl reports one. `inference_not_enabled` and `inference_unavailable` map as on `open()`.
- Docs: three new guides, [checks on a Mac's own model](packages/verify/docs/guides/mac-model-checks.md), [apps inside an inference Mac](packages/verify/docs/guides/apps-inside-an-inference-mac.md) and [persistent computers and snapshots](packages/verify/docs/guides/persistent-computers.md), with use cases for a dev environment set up once, parallel copies from a snapshot, a browser that stays signed in and a long-running agent workspace. Persistent computers, shipped in 0.7.0 without docs, are now on the computers and API pages. The computers, API, errors and agents pages, the README and llms.txt no longer say validation doesn't run on computers or that there is no snapshot API, and the agents page adds the 30-second recording note. Runnable examples: `examples/mac-inference`, `python/examples/mac_inference.py` and `go/examples/macinference`.

## Go 0.7.0 (unreleased)

To be published as the `go/v0.7.0` tag.

- Computers: `Validation` and `Extract` work on a Mac opened with `verify.Target{Platform: verify.Mac, Inference: new(true)}`, on the Mac's own vision model, as in TypeScript 0.8.0. Results carry `Engine` `"local"`. `s.Inference()` reports the model's readiness as `verify.InferenceReady`, `verify.InferenceUnavailable` or `verify.InferenceUnknown`, refreshed at `Open`, `Attach`, `OpenPersistent` and `Report`, and is `""` on every other session. A step on a Mac opened without inference returns `ErrNotAvailableOnPlatform` with `Reason` `ReasonStepEngineUnavailable` and says to open it with inference. `step_engine_busy` and `screen_control_held` return `ErrSessionBusy`, and an uncertain answer returns `ErrStepFailed`, never a pass. On a Linux computer the steps return `ErrNotAvailableOnPlatform` before sending, and `Inference` on a Linux target returns `ErrInvalidArgument`. A create refused with `inference_not_enabled` or `inference_unavailable` returns `ErrNotAvailableOnPlatform` with `Reason` `ReasonInferenceNotEnabled` or `ReasonInferenceUnavailable`. `Instruction` on a computer still returns `ErrNotAvailableOnPlatform`, and its message now names `Tap(ctx, verify.Element("the Save button"))` and `Type(ctx, verify.Element("the search field"), text)`.
- `Extract(ctx, text, ExtractOptions{Timeout})` on every session reads one value off the screen into the new `StepResult.Value`, as in TypeScript 0.8.0. On web, iOS and Android it runs on Revyl's agent. It returns `ErrStepFailed` when nothing is read, and `ErrInvalidArgument` on a session opened with `WithModel`, `WithCustomModel` or `WithAgent`. The new `StepResult.Engine` (`"local"` or `"hosted"`) says who answered, only when Revyl says.
- iOS and Web sessions that `computer.Open` starts inside a Mac opened with inference run their steps on the Mac's model first, with Revyl's hosted model as the fallback, by default, as in TypeScript 0.8.0. `Inference: new(false)` in the `Target` opts out, and `Inference: new(true)` on Android returns `ErrInvalidArgument`. A start refused with `computer_local_inference_unavailable` returns `ErrNotAvailableOnPlatform` with `Reason` `ReasonComputerLocalInferenceUnavailable`, saying to try again shortly or pass `Inference: new(false)`.
- Persistent computers: `OpenPersistentOptions.Inference` asks for the Mac's model when the call creates the computer, and `WithoutInference` starts a stopped inference computer once without it, as in TypeScript 0.8.0. A backend that doesn't offer `WithoutInference` returns `ErrInvalidArgument` saying so. `PersistentComputer.SavedDiskExpiresAt` and `ComputerSnapshot.SavedDiskExpiresAt` show when a save stops being startable, when Revyl reports an end.
- `go/examples/macinference` runs `Validation` and `Extract` on a Mac opened with inference and, with `IOS_APP_ID` and `IOS_BUILD_ID` set, a soft validation in an iOS session inside it.
- Docs: the README documents `Validation` and `Extract` on a Mac opened with inference, `Extract` with `StepResult.Value` and `Engine` on every session, local inference for iOS and Web sessions inside an inference Mac, billing, and, for the first time, persistent computers and snapshots. It corrects the sentences and the "Which call works where" rows that said `Validation` isn't available on computers, and says that a `Recording` check already under way when the 15 minutes run out can take up to 30 seconds more.
- `verify.Version` and the `User-Agent` report 0.7.0. A call that uses none of these sends the same requests as v0.6.1.

## Python 0.6.0 (unreleased)

- Mac computers: `validation()` and `extract()` work on a Mac opened with `open(Target(platform="mac", inference=True))`, as in TypeScript 0.8.0. They run on the Mac's own vision model and return a `StepResult` with `engine="local"`; a false statement raises `VALIDATION_FAILED` unless `soft=True`, and an uncertain answer or nothing read raises `STEP_FAILED`. On a Mac opened without inference they raise `NOT_AVAILABLE_ON_PLATFORM` with `reason="step_engine_unavailable"` and a message saying to open it with inference; on a Linux computer they raise it before anything is sent. A busy model or someone holding the screen in the viewer raises `SESSION_BUSY` (`step_engine_busy`, `screen_control_held`). `instruction()` on computers still raises `NOT_AVAILABLE_ON_PLATFORM`, now naming `tap("the Save button")` and `type("the search field", text)`.
- `Target(..., inference=...)`: on a Mac target, `inference=True` asks for a Mac with its own model. A create refused with `inference_not_enabled` or `inference_unavailable` raises `NOT_AVAILABLE_ON_PLATFORM` with that `reason`, and the message says what to do. `inference=True` on a Linux target raises `INVALID_ARGUMENT`, as does `inference` on a `Target` passed to `open()` for Web, iOS or Android.
- `inference` on `Session` and `AsyncSession` is `"ready"`, `"unavailable"` or `"unknown"` on a Mac opened with inference, refreshed whenever Verify reads the computer's report (`open()`, `attach()`, `open_persistent()`, `report()`), and `None` on every other session, as in TypeScript 0.8.0. The `ComputerInferenceReadiness` type is exported.
- `extract(text)` on every `Session` and `AsyncSession` reads one value off the screen and returns a `StepResult` with `value`, as in TypeScript 0.8.0. On Web, iOS and Android it runs on Revyl's agent; a session opened with `model` or `agent` raises `INVALID_ARGUMENT`. `StepResult` gains `value` (extract steps only) and `engine` (`"local"` or `"hosted"` when Revyl says, else `None`).
- Local inference for app sessions inside an inference Mac, as in TypeScript 0.8.0: iOS and Web sessions from `computer.open()` inside a Mac opened with `inference=True` run their steps on the Mac's model first, with Revyl's hosted model as the fallback, by default. `Target(..., inference=False)` opts one session out; `inference=True` on Android raises `INVALID_ARGUMENT`. A start refused because the Mac's model isn't answering raises `NOT_AVAILABLE_ON_PLATFORM` with `reason="computer_local_inference_unavailable"` and a message saying to try again shortly or pass `inference=False`.
- Persistent computers, as in TypeScript 0.8.0: `open_persistent(name, inference=True)` creates a computer that runs on a Mac with its own model on every start; `without_inference=True` starts a stopped inference computer once without the model, and raises `INVALID_ARGUMENT` on a Revyl backend that doesn't offer it. `inference_not_enabled` and `inference_unavailable` raise `NOT_AVAILABLE_ON_PLATFORM` with that `reason`. `PersistentComputer` and `ComputerSnapshot` gain `saved_disk_expires_at`.
- `revyl_verify.__version__` and the `User-Agent` report 0.6.0. A call that uses none of these sends the same requests as 0.5.1.
- Docs: the README documents `validation()` and `extract()` on a Mac opened with inference, `extract()` on every session, local inference for iOS and Web sessions inside a Mac, what inference costs, and, for the first time, persistent computers and snapshots; the "which call works where" table, the platform table, the Mac `Target` fields, `StepResult` fields and troubleshooting no longer say validations are unavailable on computers, and the recording paragraph says a check already under way when `timeout` runs out can take up to 30 seconds more. New runnable example `python/examples/mac_inference.py`.

## 0.7.1 (2026-11-25)

- Web: `typeFocused()` with no text field focused throws `ACTION_FAILED` with the new reason `no_focused_input` and the message `Nothing was typed: no text field has focus (no_focused_input). Use type({ target: 'the email field' }, text), which taps the field and types into it, or tap the field first.` Revyl answers this with HTTP 409, which 0.7.0 reported as `SESSION_BUSY`, so a script or agent gave up on a call it could fix. Your own model's loop now feeds the message back to the model instead of ending the step, because `ACTION_FAILED` doesn't abort it. A session that really is busy, such as a second step while one runs, still throws `SESSION_BUSY`.
Expand Down
Loading
Loading