Repository navigation
agent-browser: name sessions with _, which agent-browser 0.41.1+ requires - #1902
Merged
Merged
Conversation
…quires
agent-browser 0.41.1 (2026-11-01) refuses a `--session` outside letters,
digits, `-` and `_` before it starts anything (upstream #2272). Every session
Dormouse minted was `dormouse.<scope>.<key>`, so on a current agent-browser
every pane failed to open ("Invalid session name 'dormouse.1.tool.surface-2'")
and fell back to an iframe.
Sessions are now `dormouse_<scope>_<key>`, numbered `_2`, `_3`, ...; scope
and key are scrubbed to `[A-Za-z0-9_-]`, a Tool's key is `tool-<leaf>`, and
`dor agent-browser --key` takes `[A-Za-z0-9_-]+`. Every earlier release
accepts `_`. A pane saved with a dotted session keeps it and still fails on a
current agent-browser; there are no users to migrate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
ea2ecd1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5b118455.mouseterm.pages.dev |
| Branch Preview URL: | https://agent-browser-session-names.mouseterm.pages.dev |
dormouse-bot
approved these changes
Nov 28, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
agent-browser 0.41.1 (2026-11-01) rejects a
--sessioncontaining anything but letters, digits,-and_, before it starts a browser (upstreamvercel-labs/agent-browser#2272). Every session Dormouse minted wasdormouse.<scope>.<key>. So on any current agent-browser, every pane failed to open withInvalid session name 'dormouse.1.tool.surface-2'and fell back to an iframe.dormouse_<scope>_<key>, numbered_2,_3, … (sessionForKey,BrowserBindingReservations).[A-Za-z0-9_-], and a Tool's key istool-<leaf>.dor agent-browser --keynow takes[A-Za-z0-9_-]+, so a dotted key fails instead of colliding with its scrubbed twin._, including the 0.27.0 floor proposed in agent-browser: warn below a version floor, forward macOS editing chords #1900.docs/specs/dor-browser.md-> "Managed identity" updates the key charset and suffix rules; the rationale cites the upstream change. Test literals, the glossary, the help snapshot and the debug skill use the new form.Test plan
dor-lib-common,dor(363), and alllibsuitestsc -binlib,tsc --noEmitinstandalone,pnpm test:checks, spec lintdev:standalone🤖 Generated with Claude Code