Skip to content

Computer use CLI for AI agents

chore(main): release 0.5.0 (#100)

github-actions[bot]24ba049ec466
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 579ae9f66..f1c1e5884 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "0.4.7"
+ ".": "0.5.0"
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d95ad4e9b..b181539b8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,10 +1,23 @@
# Changelog
-## Unreleased
+## [0.5.0](https://github.com/lahfir/agent-desktop/compare/v0.4.7...v0.5.0) (2026-07-20)
-### Refactor
-* make sessions the first-class trace container: `session start/end/list/gc`, manifest-gated automatic JSONL segments under `sessions/<id>/trace/`, and `--trace <path>` override preserved ([#89](https://github.com/lahfir/agent-desktop/pull/89))
+### ⚠ BREAKING CHANGES
+
+* default-on auto-wait changes the timing of every previously-untouched ref-action call (bounded 5000 ms default; `--timeout-ms 0` restores single-shot). `ENVELOPE_VERSION` is now `2.1` (adds the `APP_UNRESPONSIVE` code and process state in error details). FFI ABI major is `3` (append-only struct evolution; `wait --event` is intentionally not exposed over FFI). The legacy string clipboard API is removed in favor of typed content. `key-down`/`key-up` fail closed until daemon-owned held input exists. `close-app` verifies termination and the osascript fallback path is removed. `--text` matching is subtree containment: `find --text X --first` returns the outermost matching container.
+
+### Features
+
+* implement Playwright-grade foundation contract ([3f32272](https://github.com/lahfir/agent-desktop/commit/3f322728b44548d2e22f4ee6ef4e6853af4e4550))
+ * default-on auto-wait: every ref action waits for actionability (visible, enabled, stable, unoccluded) before dispatching, under a bounded budget
+ * live `find` locator plus a serializable `LocatorQuery`, and honest `is --property visible`
+ * three-way `hit_test` occlusion gate and core `scroll_into_view` before element actions
+ * `list-displays` and honest `--screen` with per-display scale factor; `native_id` identity spine; window-id-first resolution
+ * `ProcessState` classification with the `APP_UNRESPONSIVE` code (envelope `2.1`); typed `ActionStep` delivery tier
+ * `LaunchOptions` (`--arg`/`--env`/`--cwd`/`--no-attach`); baseline-diff desktop signals via `wait --event`
+ * typed clipboard (`Text`/`Image`/`FileUrls`); mouse modifier chords and a `mouse-wheel` primitive
+ * capability-supertrait `PlatformAdapter` split with `not_supported()` defaults, so Windows and Linux inherit the contract
## [0.4.7](https://github.com/lahfir/agent-desktop/compare/v0.4.6...v0.4.7) (2026-07-02)
diff --git a/Cargo.lock b/Cargo.lock
index 0e53449b5..954edbda1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -13,7 +13,7 @@ dependencies = [
[[package]]
name = "agent-desktop"
-version = "0.4.7"
+version = "0.5.0"
dependencies = [
"agent-desktop-core",
"agent-desktop-linux",
@@ -29,7 +29,7 @@ dependencies = [
[[package]]
name = "agent-desktop-core"
-version = "0.4.7"
+version = "0.5.0"
dependencies = [
"base64",
"libc",
@@ -44,7 +44,7 @@ dependencies = [
[[package]]
name = "agent-desktop-ffi"
-version = "0.4.7"
+version = "0.5.0"
dependencies = [
"agent-desktop-core",
"agent-desktop-linux",
@@ -59,7 +59,7 @@ dependencies = [
[[package]]
name = "agent-desktop-linux"
-version = "0.4.7"
+version = "0.5.0"
dependencies = [
"agent-desktop-core",
"thiserror",
@@ -67,7 +67,7 @@ dependencies = [
[[package]]
name = "agent-desktop-macos"
-version = "0.4.7"
+version = "0.5.0"
dependencies = [
"accessibility-sys",
"agent-desktop-core",
@@ -86,7 +86,7 @@ dependencies = [
[[package]]
name = "agent-desktop-windows"
-version = "0.4.7"
+version = "0.5.0"
dependencies = [
"agent-desktop-core",
"thiserror",
diff --git a/Cargo.toml b/Cargo.toml
index 5354e977e..7dabf7bff 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,7 @@ resolver = "2"
edition = "2024"
rust-version = "1.89"
license = "Apache-2.0"
-version = "0.4.7" # x-release-please-version
+version = "0.5.0" # x-release-please-version
[workspace.dependencies]
clap = { version = "4.6", features = ["derive"] }
diff --git a/npm/package.json b/npm/package.json
index 791f6d63f..cf9534ae5 100644
--- a/npm/package.json
+++ b/npm/package.json
@@ -1,6 +1,6 @@
{
"name": "agent-desktop",
- "version": "0.4.7",
+ "version": "0.5.0",
"description": "AI agent tool for observing and controlling desktop applications via native OS accessibility trees",
"license": "Apache-2.0",
"repository": {