agent-browser v0.40.0

v0.40.0
Added 4
  • `startAgentBrowserMcp` in `@agent-browser/sandbox/vercel` runs one MCP server per Vercel Sandbox, keeping a single `agent-browser mcp` process running over Sandbox stdin
  • `connectAgentBrowserMcp` connects to an MCP server over any runtime that exposes stdin and stdout streams
  • `--omit-command` option for `batch` and `omitCommand` option for the MCP batch tool, replacing repeated raw command arrays in JSON output with zero-based indexes
  • `network route --body` accepts `--allow-origin <origin>` (also available in the MCP `network_route` tool) to answer preflights and send CORS headers to that origin
Changed 2
Fixed 4
  • `state load` and launch-time storage restores no longer expose saved tokens to page scripts or write one origin's storage into another after a redirect; storage is written through DevTools only while the page is on the saved origin, and skipped origins are reported behavior changed · inferred, marked in the notes below
  • `<session>.config` files no longer accumulate in the socket directory after daemons exit
  • On Windows, a dead daemon no longer keeps holding a pinned tab
  • On Windows, two sessions with the same name in different socket directories no longer connect to each other's daemon

3 changes to check, marked in the notes below

From agent-browser

Breaking Changes
  • @agent-browser/eve now requires eve 0.84.0 or later. eve 0.84.0 rejects extensions built by earlier releases, so the extension is now built with it. Apps on older eve should stay on @agent-browser/eve@0.39 (#2226) requirement raised · vendor-flagged
New Features
  • Added one MCP server per Vercel Sandbox with startAgentBrowserMcp in @agent-browser/sandbox/vercel, which keeps a single agent-browser mcp running over Sandbox stdin, and connectAgentBrowserMcp for any runtime that exposes stdin and stdout streams (#2228)
  • Added --omit-command to batch and omitCommand to the MCP batch tool, replacing repeated raw command arrays in JSON output with zero-based indexes (#2216)
Bug Fixes
  • Fixed state load and launch-time storage restores exposing saved tokens to page scripts and writing one origin's storage into another after a redirect; storage is now written through DevTools only while the page is on the saved origin, and skipped origins are reported (#2212) behavior changed · inferred
  • Fixed <session>.config files piling up in the socket directory after daemons exit (#2128)
  • Fixed mocked cross-origin responses failing CORS: network route --body now takes --allow-origin <origin> (also in the MCP network_route tool) to answer preflights and send CORS headers to that origin, and sends a JSON body as application/json when no content type is set (#2229) behavior changed · inferred
  • Fixed Windows sessions where a dead daemon could keep holding a pinned tab, and where two sessions with the same name in different socket directories could connect to each other's daemon (#2223)
Contributors
  • @OwenKephart
  • @Railly
  • @lahfir
  • @hichipli
  • @jomatsu
View original

Upgraded? How did it go?

Discussion