@ricsam/browser-mcp 0.3.22 → 0.3.23

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.
package/README.md CHANGED
@@ -3,10 +3,10 @@
3
3
  Native Chrome companion. Requires Node >=22.14.0 and an installed
4
4
  Google Chrome. No browser download or startup occurs during npm installation.
5
5
 
6
- Release 0.3.22 uses one cross-platform Node package with matching server/chart 0.3.22, native protocol 3 and no database schema change. The runtime detects passkey prompts, which Chrome shows outside the page and which block input to the tab: agent input on that tab is refused with `passkey_prompt_open`, results, `pageState` and `browser_events` report the prompt, `browser_handle_dialog` cancels it, and live view tells the user during a takeover. With `--live-view`, the user who controls a tab also gets back, forward and reload. Takeover from the dashboard or an MCP App with `user_in_control` refusals and tab results without internal session identifiers (0.3.21), screenshots returned as soon as Chrome captures them with `pageState` timing (0.3.20), upload and secret-export capabilities in tool text with up-front transfer grant limits (0.3.19), private download routing (0.3.18), background screenshots and capture-only download retry remain. Verified readiness is still required before retrieving bytes. Keep administrative sign-ins outside automated profiles unless deliberately delegated: internal pages, local files and the Browser MCP dashboard are no longer blanket-blocked, subject to Chrome's interface limits. Older runtimes require an update for new capabilities. Stop the old CLI before upgrading, then restart the same named profile to preserve sign-ins and pairing; never replay uncertain actions automatically.
6
+ Release 0.3.23 uses one cross-platform Node package with matching server/chart 0.3.23, native protocol 3 and no database schema change. The runtime is unchanged from 0.3.22 apart from its version; the server's live view no longer shows the "You're in control" card. Passkey prompt detection, which refuses agent input on a tab with an open prompt (`passkey_prompt_open`), reports the prompt and cancels it with `browser_handle_dialog`, and back, forward and reload for the user who controls a tab with `--live-view` (0.3.22) remain. Takeover from the dashboard or an MCP App with `user_in_control` refusals and tab results without internal session identifiers (0.3.21), screenshots returned as soon as Chrome captures them with `pageState` timing (0.3.20), upload and secret-export capabilities in tool text with up-front transfer grant limits (0.3.19), private download routing (0.3.18), background screenshots and capture-only download retry remain. Verified readiness is still required before retrieving bytes. Keep administrative sign-ins outside automated profiles unless deliberately delegated: internal pages, local files and the Browser MCP dashboard are no longer blanket-blocked, subject to Chrome's interface limits. Older runtimes require an update for new capabilities. Stop the old CLI before upgrading, then restart the same named profile to preserve sign-ins and pairing; never replay uncertain actions automatically.
7
7
 
8
8
  ```sh
9
- npm install -g @ricsam/browser-mcp@0.3.22
9
+ npm install -g @ricsam/browser-mcp@0.3.23
10
10
  browser-mcp browser start --server https://browser-mcp.click --profile work
11
11
  browser-mcp browser status --profile work
12
12
  browser-mcp browser pause --profile work
@@ -54,7 +54,7 @@ function onceAsync(action) {
54
54
  // cli/src/browser/owned-chrome.ts
55
55
  import { randomUUID as randomUUID2 } from "node:crypto";
56
56
  // cli/package.json
57
- var version = "0.3.22";
57
+ var version = "0.3.23";
58
58
 
59
59
  // cli/src/browser/chrome-diagnostics.ts
60
60
  import { constants } from "node:fs";
@@ -7120,7 +7120,7 @@ class Relay {
7120
7120
  if (this.paused || this.stopping || socket !== this.socket || socket.readyState !== WebSocket2.OPEN)
7121
7121
  return;
7122
7122
  this.state = "authenticating";
7123
- socket.send(JSON.stringify({ type: "auth", token: this.token, client: { protocol: 3, version: "0.3.22", instanceId: this.runtime.instanceId, operations: [...BROWSER_OPERATIONS, ...this.runtime.plugins.flatMap((p) => p.operations), "session_end", "release_tab", "runtime_health", "runtime_recover"], capabilities: ["runtime-queue.v1", "runtime-quarantine.v1", "binary-artifacts.v1", "browser-controls.v1", "screenshot-ids.v1", "webmcp.page-context.v1", "clipboard.native.v1", "native-transfers.v1", "secrets.v1", "forwarding.v1", "live-view.v1", "live-control.v1", "live-navigate.v1"], liveView: { enabled: this.liveEnabled } } }));
7123
+ socket.send(JSON.stringify({ type: "auth", token: this.token, client: { protocol: 3, version: "0.3.23", instanceId: this.runtime.instanceId, operations: [...BROWSER_OPERATIONS, ...this.runtime.plugins.flatMap((p) => p.operations), "session_end", "release_tab", "runtime_health", "runtime_recover"], capabilities: ["runtime-queue.v1", "runtime-quarantine.v1", "binary-artifacts.v1", "browser-controls.v1", "screenshot-ids.v1", "webmcp.page-context.v1", "clipboard.native.v1", "native-transfers.v1", "secrets.v1", "forwarding.v1", "live-view.v1", "live-control.v1", "live-navigate.v1"], liveView: { enabled: this.liveEnabled } } }));
7124
7124
  });
7125
7125
  socket.on("message", (bytes, binary) => {
7126
7126
  if (binary || Buffer.byteLength(bytes.toString()) > LIMIT) {
@@ -8641,7 +8641,7 @@ async function startProfile(root, server, profile, options, groupSignal) {
8641
8641
  return;
8642
8642
  } else if (cmd !== "status")
8643
8643
  throw new Error("Invalid command");
8644
- socket.end(JSON.stringify({ ...relay.health(), instanceId: session.instanceId, profile, version: "0.3.22", protocol: 3 }) + `
8644
+ socket.end(JSON.stringify({ ...relay.health(), instanceId: session.instanceId, profile, version: "0.3.23", protocol: 3 }) + `
8645
8645
  `);
8646
8646
  })().catch(() => socket.destroy());
8647
8647
  });
package/dist/main.js CHANGED
@@ -8,7 +8,7 @@ var args = process.argv.slice(2);
8
8
  var command = args.shift();
9
9
  async function main() {
10
10
  if (!command || command === "--help" || command === "help") {
11
- console.log(`@ricsam/browser-mcp 0.3.22
11
+ console.log(`@ricsam/browser-mcp 0.3.23
12
12
  Usage: browser-mcp browser start|status|pause|resume|stop|recover [options]
13
13
  browser-mcp files upload|download [options]
14
14
  browser-mcp secrets export|exec [options]
@@ -18,11 +18,11 @@ Browser dependencies load only for browser commands. No automatic Chrome downloa
18
18
  return;
19
19
  }
20
20
  if (command === "--version") {
21
- console.log("0.3.22");
21
+ console.log("0.3.23");
22
22
  return;
23
23
  }
24
24
  if (command === "browser")
25
- return (await import("./chunk-678a5n25.js")).runBrowser(args);
25
+ return (await import("./chunk-fvjengps.js")).runBrowser(args);
26
26
  if (command === "files")
27
27
  return (await import("./chunk-zv1900tw.js")).runFilesCommand(args);
28
28
  if (command === "secrets")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/browser-mcp",
3
- "version": "0.3.22",
3
+ "version": "0.3.23",
4
4
  "description": "Dedicated native Chrome companion for Browser MCP",
5
5
  "type": "module",
6
6
  "bin": { "browser-mcp": "dist/main.js" },