browserpilot-cdp 1.1.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 +8 -11
- package/dist/cli.js +1304 -126
- package/dist/cli.js.map +4 -4
- package/dist/index.js +1128 -69
- package/dist/index.js.map +4 -4
- package/dist/native-host.js +34 -6
- package/dist/native-host.js.map +2 -2
- package/extension/background.js +69 -3
- package/extension/background.js.map +2 -2
- package/extension/manifest.json +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
| Zero Playwright / Puppeteer runtime dependency | No | No (Puppeteer) | Yes | **Yes (100% Pure CDP)** |
|
|
17
17
|
| Chrome Native Messaging + Auth Token Daemon | No | No | Yes | **Yes (Dual Transport)** |
|
|
18
18
|
| Stateful JS Sandbox (`session new` / `exec -s 1 -e`) | Yes | No | No | **Yes** |
|
|
19
|
-
| First-class MCP Server (
|
|
19
|
+
| First-class MCP Server (43 tools + image blocks) | Partial (1-tool execute) | Yes | Yes | **Yes** |
|
|
20
20
|
| Companion Side Panel + Action Highlights + Ghost Cursor | Partial | No | Yes | **Yes** |
|
|
21
21
|
| Deep DevTools (Console, Network, Fetch Mock, CSS Rules, Debugger, Live Edit, React Fiber, Web Vitals, Tracing, Video Recording) | Yes (most) | Yes (most) | Partial | **Yes (All Built-in)** |
|
|
22
22
|
| Direct CDP Mode (`--remote-debugging-port` for CI/Headless) | Yes | Yes | No | **Yes** |
|
|
@@ -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
|
}
|
|
@@ -141,7 +138,7 @@ browserpilot skill # Print full Agent Skill in
|
|
|
141
138
|
|
|
142
139
|
---
|
|
143
140
|
|
|
144
|
-
## Complete MCP Tool Matrix (
|
|
141
|
+
## Complete MCP Tool Matrix (43 Tools)
|
|
145
142
|
|
|
146
143
|
| Category | Tools |
|
|
147
144
|
| :--- | :--- |
|
|
@@ -149,7 +146,7 @@ browserpilot skill # Print full Agent Skill in
|
|
|
149
146
|
| **Navigation & Perception** | `browser_navigate`, `browser_history`, `browser_snapshot`, `browser_screenshot`, `browser_labeled_screenshot`, `browser_clean_html`, `browser_markdown`, `browser_inspect_element`, `browser_pinned` |
|
|
150
147
|
| **Trusted Interaction** | `browser_click`, `browser_fill`, `browser_type`, `browser_press_key`, `browser_hover`, `browser_scroll`, `browser_drag`, `browser_select_option`, `browser_upload_file`, `browser_handle_dialog`, `browser_wait`, `browser_batch` |
|
|
151
148
|
| **DevTools Debugging** | `browser_evaluate`, `browser_console`, `browser_network`, `browser_network_intercept`, `browser_styles`, `browser_react_info`, `browser_debugger`, `browser_live_edit`, `browser_performance`, `browser_emulate`, `browser_cookies`, `browser_storage`, `browser_cdp` |
|
|
152
|
-
| **Media &
|
|
149
|
+
| **Downloads, Media & Recording** | `browser_downloads`, `browser_action_recorder`, `browser_record`, `browser_exec` |
|
|
153
150
|
|
|
154
151
|
---
|
|
155
152
|
|