v0.31.0

vercel-labs/agent-browserv0.31.0Jun 25, 2026by github-actions[bot]

AI Summary

Added restore workflow for stable, isolated browser state management. Also hardened session lifecycle handling with explicit compatibility checks and safer auto-save behavior.

Key Highlights

  • Restore workflow with session id and namespace support
  • Worktree-scoped session management
  • Hardened session lifecycle handling
  • Safer auto-save behavior after failed restores

New Features

  • Restore workflow

Full Release Notes

### New Features

- **Restore workflow** - Added `--restore`, `--restore-save`, restore validation flags, worktree-scoped `session id`, `session info`, and `--namespace` so agent runs can use stable, isolated, automatically restored browser state without managing state files by hand (#1486)

### Improvements

- Hardened **session lifecycle handling** with explicit daemon and browser compatibility checks, lifecycle status output, MCP support for restore options, and safer auto-save behavior that avoids overwriting good state after a failed restore or failed validation (#1486)

### Bug Fixes

- Fixed **restore lifecycle edge cases** around switching restore keys with a live browser, daemon configuration startup races, launch mode validation, and clearing restore failures after an explicit state load (#1486)

### Contributors

- @ctate