browserpilot-cdp 1.2.0 → 1.2.1

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
@@ -27,7 +27,7 @@
27
27
 
28
28
  ```text
29
29
  AI Coding Agents (Claude Code / Cursor / Codex / Antigravity / Custom SDK)
30
- │ MCP stdio (39 tools + images) / CLI (`browserpilot`) / TypeScript SDK
30
+ │ MCP stdio (43 tools + images) / CLI (`browserpilot`) / TypeScript SDK
31
31
  ▼
32
32
  ┌──────────────────────────────────────────────────────────────────────────────┐
33
33
  │ @browserpilot/server Authenticated Local Daemon (127.0.0.1 + 256-bit token) │
@@ -57,18 +57,15 @@ npm install -g browserpilot-cdp
57
57
  browserpilot setup
58
58
  ```
59
59
 
60
- 1. Open `chrome://extensions` in Chrome, enable **Developer mode**, click **Load unpacked**, and select the bundled `extension/` path printed by `browserpilot setup`.
61
- 2. Copy the Extension ID from Chrome and run:
62
- ```bash
63
- browserpilot setup --extension-id <YOUR_EXTENSION_ID>
64
- ```
60
+ 1. `browserpilot setup` automatically syncs the bundled extension to a stable upgrade-proof folder (`~/.browserpilot/extension`), computes its deterministic Chrome Extension ID, and registers the **Chrome Native Messaging Host** (`com.browserpilot.bridge`) — **no copying Extension IDs or manual auth tokens required**.
61
+ 2. Open `chrome://extensions` in Chrome, enable **Developer mode**, click **Load unpacked**, and select `~/.browserpilot/extension`. It connects automatically on the first millisecond!
65
62
  3. Add `browserpilot` to your AI coding agent MCP config (Claude Code / Cursor / Codex / Antigravity):
66
63
  ```json
67
64
  {
68
65
  "mcpServers": {
69
66
  "browserpilot": {
70
- "command": "npx",
71
- "args": ["-y", "browserpilot-cdp@latest", "mcp"]
67
+ "command": "browserpilot",
68
+ "args": ["mcp"]
72
69
  }
73
70
  }
74
71
  }