diff --git a/CHANGELOG.md b/CHANGELOG.md index 82d0320..ce3d13e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,35 @@ # agent-browser +## 0.25.0 + + +### New Features + +- **AI chat command** - Added `chat` command for AI-powered browser automation. Supports single-shot mode (`chat "open google.com"`) and an interactive REPL. The AI agent can execute any agent-browser command via tool calls. Requires `AI_GATEWAY_API_KEY`. Configure the model with `--model` or `AI_GATEWAY_MODEL` (#1160, #1163) +- **Dashboard AI chat** - The observability dashboard now includes a built-in AI chat interface for conversational browser control alongside live session views (#1160, #1163) +- **`snapshot --urls`** - New `-u`/`--urls` flag to include href URLs for link elements in snapshot output, giving agents direct access to link targets without additional queries (#1160) +- **Batch argument mode** - The `batch` command now accepts commands as inline arguments in addition to reading from stdin, simplifying single-invocation multi-command workflows (#1160) + +### Bug Fixes + +- Fixed **`getByRole`** matching wrong elements (e.g. `` stylesheet elements instead of `` anchors) by rewriting the implementation to use the CDP accessibility tree with ref-based element resolution instead of CSS selectors (#1145) +- Fixed **`upload` command** not supporting accessibility tree refs (`@eN`) for file upload element selection (#1156) +- Fixed **`AGENT_BROWSER_DEFAULT_TIMEOUT`** not being applied to `wait` commands. The environment variable now propagates to all wait variants (`wait`, `wait --url`, `wait --text`, `wait --load`, `wait --fn`, `wait --download`) (#1153) +- Fixed **dashboard download** error handling with improved retry logic for more reliable dashboard installation (#1154) + +### Tests + +- Fixed CI test failures on Windows and E2E (#1165) + +### Contributors + +- @ctate +- @jin-2-kakaoent +- @hyunjinee + + ## 0.24.1 - ### New Features - **Chrome profile login state reuse** - `--profile ` now resolves Chrome profile names (e.g. `Default`, `Profile 1`) and copies the profile to a temp directory to reuse login state, cookies, and extensions without modifying the original. Added `profiles` command to list available Chrome profiles with `--json` support (#1131) @@ -30,11 +57,9 @@ - @desenmeng - @jin-2-kakaoent - @snese - ## 0.24.0 - ### New Features - **AWS Bedrock AgentCore provider** - Added AWS Bedrock AgentCore as a cloud browser provider. Connect with `--provider agentcore` or `AGENT_BROWSER_PROVIDER=agentcore`. Uses lightweight manual SigV4 signing for authentication with support for the full AWS credential provider chain (environment variables, AWS CLI, SSO, IAM roles). Configure with `AGENTCORE_REGION`, `AGENTCORE_PROFILE_ID`, and `AGENTCORE_BROWSER_ID` environment variables. Returns session ID and Live View URL in the launch response (#397) @@ -47,7 +72,6 @@ - @ctate - @pahud - ## 0.23.4 diff --git a/cli/Cargo.lock b/cli/Cargo.lock index 31612c2..a6a334e 100644 --- a/cli/Cargo.lock +++ b/cli/Cargo.lock @@ -45,7 +45,7 @@ dependencies = [ [[package]] name = "agent-browser" -version = "0.24.1" +version = "0.25.0" dependencies = [ "aes-gcm", "async-trait", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 877e52a..94ad28d 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "agent-browser" -version = "0.24.1" +version = "0.25.0" edition = "2021" description = "Fast browser automation CLI for AI agents" license = "Apache-2.0" diff --git a/docs/src/app/changelog/page.mdx b/docs/src/app/changelog/page.mdx index 8926467..23c8721 100644 --- a/docs/src/app/changelog/page.mdx +++ b/docs/src/app/changelog/page.mdx @@ -1,5 +1,25 @@ # Changelog +## v0.25.0 + +

April 6, 2026

+ +### New Features + +- **AI chat command** - Added `chat` command for AI-powered browser automation. Supports single-shot mode (`chat "open google.com"`) and an interactive REPL. The AI agent can execute any agent-browser command via tool calls. Requires `AI_GATEWAY_API_KEY`. Configure the model with `--model` or `AI_GATEWAY_MODEL` (#1160, #1163) +- **Dashboard AI chat** - The observability dashboard now includes a built-in AI chat interface for conversational browser control alongside live session views (#1160, #1163) +- **`snapshot --urls`** - New `-u`/`--urls` flag to include href URLs for link elements in snapshot output, giving agents direct access to link targets without additional queries (#1160) +- **Batch argument mode** - The `batch` command now accepts commands as inline arguments in addition to reading from stdin, simplifying single-invocation multi-command workflows (#1160) + +### Bug Fixes + +- Fixed **`getByRole`** matching wrong elements (e.g. `` stylesheet elements instead of `
` anchors) by rewriting the implementation to use the CDP accessibility tree with ref-based element resolution instead of CSS selectors (#1145) +- Fixed **`upload` command** not supporting accessibility tree refs (`@eN`) for file upload element selection (#1156) +- Fixed **`AGENT_BROWSER_DEFAULT_TIMEOUT`** not being applied to `wait` commands. The environment variable now propagates to all wait variants (`wait`, `wait --url`, `wait --text`, `wait --load`, `wait --fn`, `wait --download`) (#1153) +- Fixed **dashboard download** error handling with improved retry logic for more reliable dashboard installation (#1154) + +--- + ## v0.24.1

April 4, 2026

diff --git a/package.json b/package.json index f80729a..33a78c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agent-browser", - "version": "0.24.1", + "version": "0.25.0", "description": "Browser automation CLI for AI agents", "type": "module", "files": [ diff --git a/packages/dashboard/package.json b/packages/dashboard/package.json index 0bb563e..7ef15a3 100644 --- a/packages/dashboard/package.json +++ b/packages/dashboard/package.json @@ -1,6 +1,6 @@ { "name": "dashboard", - "version": "0.24.1", + "version": "0.25.0", "private": true, "scripts": { "dev": "next dev",