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 +5 -8
- package/dist/cli.js +385 -70
- package/dist/cli.js.map +3 -3
- package/dist/index.js +246 -26
- package/dist/index.js.map +3 -3
- package/dist/native-host.js +34 -6
- package/dist/native-host.js.map +2 -2
- package/extension/background.js +26 -3
- package/extension/background.js.map +2 -2
- package/extension/manifest.json +1 -1
- package/package.json +1 -1
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 (
|
|
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.
|
|
61
|
-
2.
|
|
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": "
|
|
71
|
-
"args": ["
|
|
67
|
+
"command": "browserpilot",
|
|
68
|
+
"args": ["mcp"]
|
|
72
69
|
}
|
|
73
70
|
}
|
|
74
71
|
}
|