Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs: describe cua-perception and jev-use without preview wording

Francesco Bonacci1fadc40b3e40
diff --git a/docs/content/docs/how-to-guides/driver/jev-use.mdx b/docs/content/docs/how-to-guides/driver/jev-use.mdx
index 2de2869566..556eac4cbd 100644
--- a/docs/content/docs/how-to-guides/driver/jev-use.mdx
+++ b/docs/content/docs/how-to-guides/driver/jev-use.mdx
@@ -1,11 +1,11 @@
---
title: 'Use jev-use with Cua Driver'
-description: 'Try the jev-use public preview: TypeSafe Jev chooses bounded actions and Cua Driver fills and submits a browser form.'
+description: 'Use jev-use: TypeSafe Jev chooses bounded actions and Cua Driver fills and submits a browser form.'
---
import { Tabs, Tab } from 'fumadocs-ui/components/tabs';
-`jev-use` is a public-preview recipe for bounded computer use. In this example,
+`jev-use` is a recipe for bounded computer use. In this example,
[TypeSafe Jev](https://typesafe.ai/) chooses between action IDs supplied by the
application, and Cua Driver performs the selected action in the browser.
diff --git a/docs/content/docs/how-to-guides/driver/parse-visual-regions.mdx b/docs/content/docs/how-to-guides/driver/parse-visual-regions.mdx
index 8c4d927390..dd32df0e57 100644
--- a/docs/content/docs/how-to-guides/driver/parse-visual-regions.mdx
+++ b/docs/content/docs/how-to-guides/driver/parse-visual-regions.mdx
@@ -1,6 +1,6 @@
---
title: 'Parse visual regions with Cua Driver'
-description: 'Install the optional perception preview, parse one retained screenshot, take one bounded action, and reobserve.'
+description: 'Install the optional perception extension, parse one retained screenshot, take one bounded action, and reobserve.'
---
import { Callout } from 'fumadocs-ui/components/callout';
@@ -10,10 +10,10 @@ accessibility tree or typed browser state does not identify the target. Cua
Driver keeps capture and action authority; the optional perception extension
turns one retained screenshot into model-neutral regions.
-<Callout type="warning" title="Developer preview">
- The `cua-perception` extension is separate from the default Cua Driver install. Verified-catalog
- publication and the exact initial OCR/model artifact are still pending release verification. This
- page does not identify an artifact URL or claim that a stable release is available.
+<Callout type="info" title="Separate extension">
+ The `cua-perception` extension is separate from the default Cua Driver install. Each release is
+ published as a `cua-perception-v<version>` GitHub release with one signed catalog and archive per
+ platform. Pick the release by that tag; it is never the repository's Latest release.
</Callout>
<Callout type="warning" title="License precautions">
@@ -39,7 +39,7 @@ cua-driver describe parse_visual_regions
```
The default local Driver remains MIT licensed and works without this extension.
-The candidate records its OmniParser detector artifact as AGPL-3.0-only and its
+The extension's ledgers record its OmniParser detector artifact as AGPL-3.0-only and its
PP-OCR detector and recognizer artifacts as Apache-2.0. The packaged CPU ONNX
Runtime must identify its exact version, hash, license, and notices. Inspect the
catalog, manifest, SBOM, model ledger, source ledger, and built artifact rather
@@ -48,13 +48,23 @@ detector under AGPL-3.0-only with its corresponding source bundled; further
distribution and remote service require the applicable notices, corresponding
source and conversion material, and AGPL network source path. See the repository's [perception
third-party notices](https://github.com/trycua/cua/blob/main/libs/cua-driver/docs/perception-third-party-notices.md).
-Installing the preview does not add Python, and neither Driver nor the extension
+Installing the extension does not add Python, and neither Driver nor the extension
requires a Jev credential.
## Inspect the extension
-Use the catalog distributed with the reviewed release candidate, then read the
-candidate metadata before changing local state:
+Open the newest `cua-perception-v<version>` release on
+[GitHub](https://github.com/trycua/cua/releases?q=cua-perception-v) and download
+the catalog and archive for your platform into one directory. Driver resolves
+the archive beside the catalog.
+
+| Platform | Catalog | Archive |
+| --- | --- | --- |
+| macOS arm64 | `cua-perception-<version>-aarch64-apple-darwin.catalog.json` | `cua-perception-<version>-aarch64-apple-darwin.tar.gz` |
+| Linux x64 | `cua-perception-<version>-x86_64-unknown-linux-gnu.catalog.json` | `cua-perception-<version>-x86_64-unknown-linux-gnu.tar.gz` |
+| Windows x64 | `cua-perception-<version>-x86_64-pc-windows-msvc.catalog.json` | `cua-perception-<version>-x86_64-pc-windows-msvc.tar.gz` |
+
+Read the signed metadata before changing local state:
```bash
cua-driver extension inspect cua-perception --catalog <catalog.json>
@@ -102,7 +112,7 @@ action-coordinate mapping together. A current accessibility `snapshot_id` is
not a visual `capture_id`.
Use `get_desktop_state` only when the workflow explicitly authorizes desktop
-capture and a narrower window target cannot represent the task. If the preview
+capture and a narrower window target cannot represent the task. If the extension
requires a native-resolution source and refuses a resized capture, follow the
returned error and the exact build's configuration description; do not rescale
regions yourself.
@@ -195,7 +205,7 @@ The worker receives only the admitted screenshot and bounded parse options. It
does not receive desktop capture, accessibility, browser, input,
credential-store, or action authority.
-## Update or remove the preview
+## Update or remove the extension
Inspect replacement metadata before updating:
diff --git a/libs/cua-driver/examples/jev-use/README.md b/libs/cua-driver/examples/jev-use/README.md
index 90263a058d..4c351c8537 100644
--- a/libs/cua-driver/examples/jev-use/README.md
+++ b/libs/cua-driver/examples/jev-use/README.md
@@ -1,6 +1,6 @@
# jev-use with Cua Driver and TypeSafe Jev
-`jev-use` is a public-preview recipe that uses TypeSafe Jev to choose the next browser action
+`jev-use` is a recipe that uses TypeSafe Jev to choose the next browser action
while Cua Driver observes the page, performs that action, and verifies the
result. Equivalent Python and TypeScript programs run the same bounded loop.
diff --git a/libs/cua-driver/rust/Skills/cua-driver/VISUAL.md b/libs/cua-driver/rust/Skills/cua-driver/VISUAL.md
index 70d34a8b29..57c4cbba6b 100644
--- a/libs/cua-driver/rust/Skills/cua-driver/VISUAL.md
+++ b/libs/cua-driver/rust/Skills/cua-driver/VISUAL.md
@@ -5,23 +5,21 @@ text or icons that accessibility and typed browser state do not expose. The
tool returns model-neutral observations. It does not decide that a region is
interactive, choose an action, or grant permission to act.
-This capability is a developer preview delivered by the separately installed
-`cua-perception` extension. It is absent from the default Cua Driver
-installation. The default local Driver remains MIT licensed. The reviewed
-candidate records the OmniParser detector artifact as AGPL-3.0-only and the
-PP-OCR detector and recognizer as Apache-2.0. The packaged ONNX Runtime must
+This capability is delivered by the separately installed `cua-perception`
+extension. It is absent from the default Cua Driver installation. The default
+local Driver remains MIT licensed. The extension's ledgers record the
+OmniParser detector artifact as AGPL-3.0-only and the PP-OCR detector and
+recognizer as Apache-2.0. The packaged ONNX Runtime must
report its exact version, hash, license, and notices. Inspect the exact catalog,
manifest, SBOM, source ledger, model ledger, and built artifact rather than
-applying the Driver license to them. Publication remains blocked while the
-OmniParser ledger says `license-review-required`; distribution and remote
-service require the applicable notices, corresponding source/conversion
+applying the Driver license to them. Distribution and remote service require the applicable notices, corresponding source/conversion
material, and AGPL network source path.
## Inspect before installing
Never install the extension merely because a parse returned `not_installed`.
-Use the catalog distributed with the reviewed release candidate, then inspect
-the exact candidate:
+Use the signed catalog for this platform from a `cua-perception-v<version>`
+GitHub release, downloaded beside its archive, then inspect the exact artifact:
```bash
cua-driver extension inspect cua-perception --catalog <catalog.json>
@@ -41,10 +39,9 @@ after inspecting the proposed replacement. Use
`cua-driver extension remove cua-perception` to remove extension-owned artifacts
when they are not in use.
-Verified-catalog publication and the exact initial OCR/model artifact are still
-pending release verification. If `inspect` cannot present authenticated
-metadata for the exact artifact, stop. Do not invent an artifact URL, substitute
-an unsigned archive, or describe the preview as a stable release.
+If `inspect` cannot present authenticated metadata for the exact artifact,
+stop. Do not invent an artifact URL, substitute an unsigned archive, or infer
+availability from the repository's Latest release.
Installation is never a side effect of Driver startup, capture, parsing, or
update checks. Parsing does not download code or model weights. The extension
@@ -60,7 +57,7 @@ runtime:
1. Capture the exact native window with `get_window_state`, or an explicitly
authorized desktop with `get_desktop_state`. Use a
- native-resolution capture when the preview requires it and retain the
+ native-resolution capture when the extension requires it and retain the
returned `capture_id`, target, dimensions, and action-coordinate mapping.
2. Call `parse_visual_regions` with that `capture_id` and bounded options. For
example, request only `text`, set `min_confidence`, and cap `max_regions`.
@@ -97,7 +94,7 @@ move, scroll, navigation, display-layout change, or target-identity change.
- `not_installed`: the optional `cua-perception` extension is absent. Continue with
accessibility, browser, or caller-owned visual reasoning unless the user has
- chosen to inspect and install the preview.
+ chosen to inspect and install the extension.
- `capture_not_found`, `capture_expired`, `capture_stale`, or
`capture_generation_mismatch`: take a fresh capture and parse that new ID.
- `unsupported_target` or `unsupported_platform`: use another observation