Computer use CLI for AI agents
Rust accessibilityaccessibility-apiai-agentsautomationclicomputer-usecomputer-use-agentcomputer-use-agentsdesktop-automationmacosmcprust
chore(main): release 0.3.0 (#61)
github-actions[bot]20fa63179606
diff --git a/.release-please-manifest.json b/.release-please-manifest.jsonindex 045149954..0ee8c0128 100644--- a/.release-please-manifest.json+++ b/.release-please-manifest.json@@ -1,3 +1,3 @@{- ".": "0.2.3"+ ".": "0.3.0"}diff --git a/CHANGELOG.md b/CHANGELOG.mdindex cdf2d35a5..7e688f6f1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,9 +2,32 @@## Unreleased-### Notes+## [0.3.0](https://github.com/lahfir/agent-desktop/compare/v0.2.3...v0.3.0) (2026-06-20)-* **ffi:** `AdRefEntry` carries additional reliability metadata in this branch; C ABI consumers must rebuild against the updated `agent_desktop.h` header.+### ⚠ BREAKING CHANGES++* **ffi:** `AD_POLICY_KIND_PHYSICAL` is now `AD_POLICY_KIND_HEADED` (discriminant `2` unchanged).+* **ffi:** `AdRefEntry` and `AdDragParams` include additional reliability metadata; C ABI consumers must zero-initialize and validate with `AD_REF_ENTRY_SIZE`, `AD_DRAG_PARAMS_SIZE`, and the `ad_*_size()` accessors.+* `close-app` graceful responses now return `{ "method": "graceful", "requested": true }` instead of claiming `closed: true` before the app has exited.++### Features++* add Playwright-grade ref reliability with strict late resolution, session-scoped snapshots, deterministic stale/ambiguous target handling, and skeleton drill-down preservation ([#54](https://github.com/lahfir/agent-desktop/pull/54)).+* add Playwright-style headed/headless interaction policy: accessibility-first dispatch remains default, while `--headed` enables focused physical fallbacks only when needed ([#54](https://github.com/lahfir/agent-desktop/pull/54)).+* add retrying wait predicates, JSONL traces with secret redaction, richer actionability reports, and shared CLI/FFI execution through the same resolver/actionability/dispatch ladder ([#54](https://github.com/lahfir/agent-desktop/pull/54)).++### Bug Fixes++* harden macOS ref actions across focus/window raising, disclosure expansion, scroll, drag, numeric set-value, menu detection, stale-ref recovery, protected-process errors, and close-app confirmation ([#54](https://github.com/lahfir/agent-desktop/pull/54)).+* fail closed on unsafe fallback ambiguity and stale refs, including symlink-safe refstore/latest-snapshot reads and deadline-bound resolver work ([#54](https://github.com/lahfir/agent-desktop/pull/54)).++### Performance++* reduce repeated live actionability reads and add deadline-bound resolver behavior, with large-app snapshot and per-command CLI wall-clock gates in the E2E suite ([#54](https://github.com/lahfir/agent-desktop/pull/54)).++### Tests++* add real-app E2E coverage for headless/headed ref actions, sessions, snapshots, traces, waits, skeleton drill-down, menus, surfaces, drag, expand/collapse, and performance checks ([#54](https://github.com/lahfir/agent-desktop/pull/54)).## [0.2.3](https://github.com/lahfir/agent-desktop/compare/v0.2.2...v0.2.3) (2026-06-06)diff --git a/Cargo.lock b/Cargo.lockindex 94ea4ff7a..a787a21e2 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -13,7 +13,7 @@ dependencies = [[[package]]name = "agent-desktop"-version = "0.2.3"+version = "0.3.0"dependencies = ["agent-desktop-core","agent-desktop-linux",@@ -29,7 +29,7 @@ dependencies = [[[package]]name = "agent-desktop-core"-version = "0.2.3"+version = "0.3.0"dependencies = ["base64","libc",@@ -43,7 +43,7 @@ dependencies = [[[package]]name = "agent-desktop-ffi"-version = "0.2.3"+version = "0.3.0"dependencies = ["agent-desktop-core","agent-desktop-linux",@@ -56,7 +56,7 @@ dependencies = [[[package]]name = "agent-desktop-linux"-version = "0.2.3"+version = "0.3.0"dependencies = ["agent-desktop-core","thiserror",@@ -64,7 +64,7 @@ dependencies = [[[package]]name = "agent-desktop-macos"-version = "0.2.3"+version = "0.3.0"dependencies = ["accessibility-sys","agent-desktop-core",@@ -82,7 +82,7 @@ dependencies = [[[package]]name = "agent-desktop-windows"-version = "0.2.3"+version = "0.3.0"dependencies = ["agent-desktop-core","thiserror",diff --git a/Cargo.toml b/Cargo.tomlindex a572a0051..dad367460 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -6,7 +6,7 @@ resolver = "2"edition = "2024"rust-version = "1.85"license = "Apache-2.0"-version = "0.2.3" # x-release-please-version+version = "0.3.0" # x-release-please-version[workspace.dependencies]clap = { version = "4.6", features = ["derive"] }diff --git a/npm/package.json b/npm/package.jsonindex 011890732..e9cad301f 100644--- a/npm/package.json+++ b/npm/package.json@@ -1,6 +1,6 @@{"name": "agent-desktop",- "version": "0.2.3",+ "version": "0.3.0","description": "AI agent tool for observing and controlling desktop applications via native OS accessibility trees","license": "Apache-2.0","repository": {