v0.20.2

vercel-labs/agent-browserv0.20.2Mar 14, 2026by github-actions[bot]

AI Summary

This patch adds Linux musl support, improves consecutive auto-connect command handling, and fixes JSON snapshot output and Windows test failures.

Key Highlights

  • Linux musl (Alpine) builds for x64 and arm64
  • Support for consecutive `--auto-connect` commands
  • Restored `refs` dict in JSON snapshot output

New Features

  • Linux musl builds
  • Consecutive auto-connect command support

Full Release Notes

### Patch Changes

-   944fa01: ### New Features

    -   **Linux musl (Alpine) builds** - Added pre-built binaries for **linux-musl** targeting both **x64** and **arm64** architectures, enabling native support for Alpine Linux and other musl-based distributions without requiring glibc (#784)

    ### Improvements

    -   **Consecutive `--auto-connect` commands** - Added support for issuing multiple consecutive `--auto-connect` commands without requiring a full browser relaunch; external connections are now correctly identified and reused (#786)
    -   **External browser disconnect behavior** - When using `--auto-connect` or `--cdp`, closing the agent session now disconnects cleanly without shutting down the user's browser process

    ### Bug Fixes

    -   **Restored `refs` dict in `--json` snapshot output** - The `refs` map containing role and name metadata for referenced elements is now correctly included in JSON snapshot responses (#787)
    -   Fixed e2e test assertions for `diff_snapshot` and `domain_filter` to correctly reflect expected behavior (#783)
    -   Fixed Chrome temp-dir cleanup test failing on Windows (#766)