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.

chore(main): release cua-perception 0.2.0

cua-release-bot[bot]73af107e973d
diff --git a/.github/scripts/tests/release_please_perception_preview.cjs b/.github/scripts/tests/release_please_perception_preview.cjs
index abfa150302..6cf63292e9 100644
--- a/.github/scripts/tests/release_please_perception_preview.cjs
+++ b/.github/scripts/tests/release_please_perception_preview.cjs
@@ -76,7 +76,8 @@ async function main() {
},
);
assert.notEqual(release, undefined);
- assert.equal(release.version.toString(), '0.2.0');
+ const [major, minor] = manifest[perceptionPath].split('.').map(Number);
+ assert.equal(release.version.toString(), `${major}.${minor + 1}.0`);
assert.equal(perceptionConfig['skip-github-release'], true);
assert.equal(perceptionConfig.component, 'cua-perception');
assert.equal(perceptionConfig['version-file'], 'VERSION');
@@ -86,6 +87,7 @@ async function main() {
[
'libs/cua-driver/rust/crates/cua-perception/CHANGELOG.md',
'libs/cua-driver/rust/crates/cua-perception/Cargo.toml',
+ 'libs/cua-driver/rust/crates/cua-perception/tests/fixtures/parse-response.json',
'libs/cua-driver/rust/crates/cua-perception/VERSION',
].sort(),
);
diff --git a/.github/scripts/tests/test_cua_perception_release_topology.py b/.github/scripts/tests/test_cua_perception_release_topology.py
index af99b3ea60..2797460657 100644
--- a/.github/scripts/tests/test_cua_perception_release_topology.py
+++ b/.github/scripts/tests/test_cua_perception_release_topology.py
@@ -707,6 +707,11 @@ def test_release_stream_is_candidate_only_and_driver_remains_excluded() -> None:
"type": "toml",
"path": "Cargo.toml",
"jsonpath": "$.package.version",
+ },
+ {
+ "type": "json",
+ "path": "tests/fixtures/parse-response.json",
+ "jsonpath": "$.result.identity.extension.version",
}
]
assert "include-paths" not in config["packages"][path]
diff --git a/.github/scripts/tests/test_validate_release_versions.py b/.github/scripts/tests/test_validate_release_versions.py
index 19b9d39e19..c4985c06e2 100644
--- a/.github/scripts/tests/test_validate_release_versions.py
+++ b/.github/scripts/tests/test_validate_release_versions.py
@@ -52,9 +52,6 @@ def test_perception_product_cli_accepts_current_versions():
@pytest.mark.parametrize("product", ["perception", "all"])
def test_perception_versions_use_independent_authority(tmp_path: Path, product: str):
copy_release_sources(tmp_path)
- base = tmp_path / "libs/cua-driver/rust/crates/cua-perception"
- (base / "VERSION").write_text("0.1.0\n")
-
validate(tmp_path, product)
@@ -73,7 +70,7 @@ def test_perception_version_drift_fails(
):
copy_release_sources(tmp_path)
base = tmp_path / "libs/cua-driver/rust/crates/cua-perception"
- (base / "VERSION").write_text("0.1.0\n")
+ current = (base / "VERSION").read_text().strip()
if source == ".release-please-manifest.json":
path = tmp_path / source
manifest = json.loads(path.read_text())
@@ -83,7 +80,7 @@ def test_perception_version_drift_fails(
path = tmp_path / "libs/cua-driver/rust/Cargo.lock"
path.write_text(
re.sub(
- r'(\[\[package\]\]\nname = "cua-perception"\nversion = ")0\.1\.0("\n)',
+ rf'(\[\[package\]\]\nname = "cua-perception"\nversion = "){re.escape(current)}("\n)',
r"\g<1>9.9.9\2",
path.read_text(),
count=1,
@@ -91,7 +88,7 @@ def test_perception_version_drift_fails(
)
else:
path = base / source
- path.write_text(path.read_text().replace("0.1.0", "9.9.9", 1))
+ path.write_text(path.read_text().replace(current, "9.9.9", 1))
with pytest.raises(VersionError, match=re.escape(expected)):
validate(tmp_path, product)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 1d28947d16..d6eef869f4 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,5 +1,5 @@
{
- "libs/cua-driver/rust/crates/cua-perception": "0.1.0",
+ "libs/cua-driver/rust/crates/cua-perception": "0.2.0",
"libs/cua-driver": "0.28.2",
"libs/lume": "0.5.3",
"libs/python/cua-sandbox": "0.8.0"
diff --git a/libs/cua-driver/rust/Cargo.lock b/libs/cua-driver/rust/Cargo.lock
index 2c0c1f5cdd..da890eb542 100644
--- a/libs/cua-driver/rust/Cargo.lock
+++ b/libs/cua-driver/rust/Cargo.lock
@@ -1353,7 +1353,7 @@ dependencies = [
[[package]]
name = "cua-perception"
-version = "0.1.0"
+version = "0.2.0"
dependencies = [
"base64",
"image",
diff --git a/libs/cua-driver/rust/crates/cua-perception/CHANGELOG.md b/libs/cua-driver/rust/crates/cua-perception/CHANGELOG.md
index 94d2d17e06..4f0de2b30d 100644
--- a/libs/cua-driver/rust/crates/cua-perception/CHANGELOG.md
+++ b/libs/cua-driver/rust/crates/cua-perception/CHANGELOG.md
@@ -2,6 +2,13 @@
All notable changes to Cua Perception release candidates are documented here.
+## [0.2.0](https://github.com/trycua/cua/compare/cua-perception-v0.1.0...cua-perception-v0.2.0) (2026-09-23)
+
+
+### Features
+
+* **cua-driver:** add optional visual perception extension ([681bc44](https://github.com/trycua/cua/commit/681bc44807d1be81a4357f8e158f1c74a81d5a5b))
+
## 0.1.0
- Establish the candidate-only packaging and verification contract.
diff --git a/libs/cua-driver/rust/crates/cua-perception/Cargo.toml b/libs/cua-driver/rust/crates/cua-perception/Cargo.toml
index 42b37ff3bc..27eeb6e4fc 100644
--- a/libs/cua-driver/rust/crates/cua-perception/Cargo.toml
+++ b/libs/cua-driver/rust/crates/cua-perception/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "cua-perception"
-version = "0.1.0"
+version = "0.2.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
diff --git a/libs/cua-driver/rust/crates/cua-perception/VERSION b/libs/cua-driver/rust/crates/cua-perception/VERSION
index 6e8bf73aa5..0ea3a944b3 100644
--- a/libs/cua-driver/rust/crates/cua-perception/VERSION
+++ b/libs/cua-driver/rust/crates/cua-perception/VERSION
@@ -1 +1 @@
-0.1.0
+0.2.0
diff --git a/libs/cua-driver/rust/crates/cua-perception/tests/fixtures/parse-response.json b/libs/cua-driver/rust/crates/cua-perception/tests/fixtures/parse-response.json
index da02970699..e421c72c48 100644
--- a/libs/cua-driver/rust/crates/cua-perception/tests/fixtures/parse-response.json
+++ b/libs/cua-driver/rust/crates/cua-perception/tests/fixtures/parse-response.json
@@ -24,7 +24,7 @@
"identity": {
"extension": {
"id": "cua-perception",
- "version": "0.1.0"
+ "version": "0.2.0"
},
"backend": "deterministic_fixture",
"fixture_sha256": "431ced6916a2a21a156e38701afe55bbd7f88969fbbfc56d7fe099d47f265460"
diff --git a/release-please-config.json b/release-please-config.json
index 58a913cded..9041da5084 100644
--- a/release-please-config.json
+++ b/release-please-config.json
@@ -19,6 +19,11 @@
"type": "toml",
"path": "Cargo.toml",
"jsonpath": "$.package.version"
+ },
+ {
+ "type": "json",
+ "path": "tests/fixtures/parse-response.json",
+ "jsonpath": "$.result.identity.extension.version"
}
]
},