@mirsella/browser-mcp 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Shared Chromium profile with isolated conversation tabs for Codex and OpenCode.",
5
5
  "author": {
6
6
  "name": "mirsella"
package/README.md CHANGED
@@ -47,6 +47,12 @@ Concurrent Codex and OpenCode instances converge on the same private socket and
47
47
  profile. The broker remains available while at least one adapter is connected,
48
48
  then closes the browser and exits shortly after the final adapter disconnects.
49
49
 
50
+ The CDP port defaults to `9222`. If that port is occupied, the broker logs the
51
+ collision and selects a free loopback port without adopting or stopping the
52
+ other listener. Adapters keep the same configuration and share the selected
53
+ endpoint. A replacement broker reuses that port only when the exact persisted
54
+ browser generation is still running.
55
+
50
56
  OpenCode loads the JavaScript `./server` package export. Codex uses the
51
57
  plugin and MCP manifests plus the session hooks. Both integrations launch
52
58
  the same packaged Rust executable.
@@ -216,7 +222,7 @@ shared by both integrations):
216
222
  | `OPENCODE_BROWSER_PROFILE` | browser-dependent | Shared browser data directory |
217
223
  | `OPENCODE_BROWSER_HEADLESS` | `false` | Run without a visible window |
218
224
  | `OPENCODE_BROWSER_SESSION_LAYOUT` | `shared-window` | `shared-window` or `window-per-session` |
219
- | `OPENCODE_BROWSER_CDP_PORT` | `9222` | Loopback CDP port |
225
+ | `OPENCODE_BROWSER_CDP_PORT` | `9222` | Preferred loopback CDP port; a free port is selected on collision |
220
226
  | `OPENCODE_BROWSER_IDLE_MINUTES` | `30` | Fallback cleanup for routed sessions |
221
227
  | `OPENCODE_BROWSER_MAX_PAGES` | `5` | Max owned tabs per agent session |
222
228
  | `OPENCODE_BROWSER_STARTUP_SECONDS` | `20` | Browser startup deadline |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirsella/browser-mcp",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Session-isolated browser automation over MCP and Chrome DevTools Protocol",
5
5
  "type": "module",
6
6
  "exports": {
Binary file