feat(extension): allow configuring Browser Bridge daemon port#1331
Open
Mr0bean wants to merge 7 commits intojackwener:mainfrom
Open
feat(extension): allow configuring Browser Bridge daemon port#1331Mr0bean wants to merge 7 commits intojackwener:mainfrom
Mr0bean wants to merge 7 commits intojackwener:mainfrom
Conversation
This was referenced May 5, 2026
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
Adds daemon port configuration support to the Browser Bridge extension so it can match
OPENCLI_DAEMON_PORTin multi-profile or managed-browser environments.Priority order:
chrome.storage.local(opencli_daemon_port_v1), editable from the extension popup.OPENCLI_DAEMON_PORTinjected by the extension Vite build.19825.Why
The CLI and daemon already support
OPENCLI_DAEMON_PORT, but the extension previously used a build-time constant. That made it difficult for managed environments to run multiple isolated Browser Bridge daemon ports without rewriting the built extension output.Changes
OPENCLI_DAEMON_PORTduring extension builds via Vite.Verification
npm run typecheck --prefix extensionnpx vitest run --project extension extension/src/background.test.tsnpx vitest run --project extensionOPENCLI_DAEMON_PORT=23456 npm run build --prefix extensionverified build-time injectionnpm run build --prefix extensionrebuilt committed dist with default fallback