Skip to content

feat(browser): replace agent-browser with the commands api - #124

Merged
junhsss merged 2 commits into
mainfrom
jun/browser-commands-api
Oct 30, 2026
Merged

junhsss merged 2 commits into
mainfrom
jun/browser-commands-api

Conversation

@junhsss

@junhsss junhsss commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

steel browser ran a vendored agent-browser engine in a local daemon. Now each action is one request to POST /v1/sessions/{id}/commands, and the engine runs inside the session. No process stays running between commands.

  • Remove the daemon and the agent-browser crate. Cargo.lock drops from 415 to 288 packages.
  • Keep each session's id, last next, current tab, and last snapshot in ~/.config/steel/browser-sessions/<name>.json.
  • Retry on 503 and 429 with the same Idempotency-Key, and wait on running with status. A retried command never runs twice.
  • --session also takes a session ID, so the CLI can drive sessions that the SDK or MCP created.
  • Add --diff, dialog, status, cancel, get markdown, pdf, wait --download, keydown, keyup, and mouse. upload takes local files.
  • Remove cookies, storage, set, highlight, bringtofront, diff, scrollintoview, setvalue, and get styles. In 0.5 they print an alternative instead.
  • Raise the default inactivity timeout from 2 to 10 minutes. Only commands keep a session alive now.

@junhsss
junhsss requested a review from hussufo October 30, 2026 11:33
@junhsss
junhsss force-pushed the jun/browser-commands-api branch 2 times, most recently from 9b69b2f to 1a9157f Compare October 30, 2026 13:26
@junhsss
junhsss force-pushed the jun/browser-commands-api branch from 1a9157f to 8274211 Compare October 30, 2026 13:31
@junhsss
junhsss merged commit 5a915a7 into main Oct 30, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants