@browser-terminal-use/bridge
v1.3.0
Published
<p align="center"> <img src="https://raw.githubusercontent.com/chaokunyang/browser-terminal-use/aa9e7888f2d8e33728caf83a236d65426f301cf1/assets/logo/browser-terminal-use-logo.svg" alt="Browser Terminal Use logo" width="760" /> </p>
Downloads
69
Readme
@browser-terminal-use/bridge
Local daemon for Browser Terminal Use.
This package exposes browterm-daemon, a WebSocket bridge that:
- accepts CLI requests,
- dispatches execution requests to the Chrome extension,
- streams output back to clients,
- returns final exit code and execution result.
Install
npm i -g @browser-terminal-use/bridgeOr run without global install:
npx @browser-terminal-use/bridge --helpUsage
browterm-daemon --host 127.0.0.1 --port 17373CLI options
--host <host> Bind host (default: 127.0.0.1)
--port <port> Bind port (default: 17373)
--token <token> Optional shared token for CLI+extension auth (improves security)
--default-timeout-ms <ms> Default request timeout (default: 120000)
--max-timeout-ms <ms> Maximum timeout allowed (default: 600000)
--ping-interval-ms <ms> Ping interval (default: 15000)
--debug Enable debug logs
--help Show helpEnvironment variables
BT_BRIDGE_HOST
BT_BRIDGE_PORT
BT_DEFAULT_TIMEOUT_MS
BT_MAX_TIMEOUT_MS
BT_PING_INTERVAL_MS
BT_LOG_LEVELEndpoints
- WebSocket:
ws://<host>:<port>/cli - WebSocket:
ws://<host>:<port>/extension - HTTP health:
http://<host>:<port>/v1/health
Notes
- The daemon processes one execution request at a time to keep terminal state deterministic.
- Pair this package with
@browser-terminal-use/cliand the Browser Terminal Use Chrome extension.
