plug terminal into any coding assistant or agent#106
Merged
Conversation
… opencode, etc) - new `browser` subcommand: heredoc python exec + control-plane passthrough, session-optional (auto-creates browser-cli-<name>), prints screenshot paths - new `skill` subcommand: show/paths/install embedded SKILL.md into ~/.claude, ~/.codex, ~/.config/opencode, ~/.agents skill dirs - SKILL.md at repo root, modeled on browser-harness (helpers, screenshot viewing per assistant, gotchas) - public run_external_browser_command/script in agent crate; extracted shared preference/preflight fns so external CLI and in-session tool share heuristics - persistent managed/cloud browsers across one-shot invocations: marker-file reattach, BROWSER_USE_TERMINAL_PERSIST_BROWSERS + BU_EXTERNAL_BROWSER_STATE_DIR - new `browser recover stop-owned-browser` (+ help text), silence kill noise - screenshots capped at 1800px on external surface (codex view_image limit) - docs/assistant-plugins.md + README section, unit tests for new helpers
Contributor
There was a problem hiding this comment.
1 issue found across 5 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
Contributor
There was a problem hiding this comment.
1 issue found across 4 files (changes from recent commits).
Tip: Review your code locally with the cubic CLI to iterate faster.
Fix all with cubic | Re-trigger cubic
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.
browsersubcommand: heredoc python exec + control-plane passthrough, session-optional (auto-creates browser-cli-), prints screenshot pathsskillsubcommand: show/paths/install embedded SKILL.md into ~/.claude, ~/.codex, ~/.config/opencode, ~/.agents skill dirsbrowser recover stop-owned-browser(+ help text), silence kill noiseSummary by cubic
Plug the terminal into any coding assistant or agent by adding
browser,run, andskillsubcommands to drive a real browser from shell. Adds a background daemon, auto agent setup, persistent managed/cloud browsers between calls, and prints screenshot paths for easy viewing.New Features
browser exec: run Python with helpers; auto-createsbrowser-cli-<session>; prints “Screenshot saved to ”; caps screenshots at 1800px.browser status|connect|doctor|recover), includingbrowser recover stop-owned-browserto cleanly stop managed browsers.BROWSER_USE_TERMINAL_PERSIST_BROWSERSandBU_EXTERNAL_BROWSER_STATE_DIR.skillsubcommand installs embeddedSKILL.mdinto~/.claude,~/.codex,~/.config/opencode,~/.agents; guides viaAGENT_SETUP.mdanddocs/assistant-plugins.md. Addsrunto execute a browser task to completion with streaming, optional--model, support for custommodel_providerids, and coverage for the new Google provider.Refactors
run_external_browser_command/run_external_browser_scriptand extracted shared preference/preflight helpers; added unit tests.help,doctor,domain, etc.) as passive to avoid unintended auto-connect during assistant bootstraps.Written for commit 2afd0e0. Summary will update on new commits.