Skip to content

Raise the agent-browser floor to 0.45.0 and delete the select-all fallback (due 2027-05-25) #1899

Backlog

Description

@nedtwigg

Due 2027-05-25: six months after agent-browser 0.45.0 (released 2026-11-25), the first date the floor may reach it under docs/specs/dor-browser.md -> "agent-browser".

Why

0.45.0 forwards CDP commands on stream key events (upstream vercel-labs/agent-browser#1453). Dormouse sends them for macOS Cmd editing chords since #1900, but keeps a host-side select-all for older daemons. The floor is 0.27.0 until then.

To do

  1. Pick the newest release that is at least six months old on the day. It is 0.45.0 or later; a later one also deletes whatever was kept for releases before it.
  2. Verify it against a real daemon: pane typing, Cmd+A/Z/Shift+Z, Cmd+arrows, Cmd+Backspace, copy/cut/paste, pop-out and pop-in, a Windows launch.
  3. Raise AGENT_BROWSER_MIN_VERSION in dor/src/commands/agent-browser.ts.
  4. Delete the select-all fallback: send selectAll as a key command (add it to VIEWER_KEY_COMMANDS in lib/src/lib/platform/browser-automation.ts), and drop selectAll from EDIT_OPS in lib/src/components/wall/agent-browser-input.ts, EDIT_SCRIPTS in lib/src/host/browser-host.ts, and BrowserEditOp. Copy and cut stay on the host path, since they write the OS clipboard.
  5. Look for any other code or comment kept for a release below the new floor (git grep for version numbers in lib/src/host/agent-browser-host.ts and docs/specs/dor-browser.rationale.md), delete it, and update the rationale entries.
  6. Update the editing-chords line in docs/specs/dor-browser.md -> "Browser Connection" and the floor history in docs/specs/dor-browser.rationale.md -> "agent-browser".

Activity

  1. added
    enhancement
    on Nov 28, 2026
  2. nedtwigg commented on Nov 28, 2026

    @nedtwigg
    MemberAuthor

    A lesson to carry into this bump. agent-browser 0.41.1 (2026-11-01) began rejecting dotted --session names, so every Dormouse pane failed to open and fell back to an iframe. Nobody noticed for four weeks, until an upgrade to 0.45.0 while testing #1900. #1902 fixed it by switching to dormouse_<scope>_<key>.

    The floor policy only checks a release when the floor moves, so it can't catch an upstream break in a release above the floor. Here it took dogfooding on the latest agent-browser. While doing the verification step above, also skim the release notes from the current floor up to the latest release for --session, stream protocol, and launch-option changes. 0.44.0's stream Origin check is another one; it was harmless only because the host connects from Node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions