cdp-tunnel 2.10.8 → 2.10.9

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
@@ -55,45 +55,40 @@
55
55
 
56
56
  ## Quick Start
57
57
 
58
- ### Option 1: Install via npm (Recommended)
58
+ ### Option 1: Install Extension Only (No npm needed)
59
59
 
60
- ```bash
61
- # Install globally
62
- npm install -g cdp-tunnel
63
-
64
- # Start server
65
- cdp-tunnel start
60
+ Download and install the Chrome extension directly:
66
61
 
67
- # Check status
68
- cdp-tunnel status
69
-
70
- # Install Chrome extension (opens interactive guide)
71
- cdp-tunnel extension
72
- ```
62
+ 1. Download [`cdp-tunnel-extension.zip`](https://github.com/dyyz1993/cdp-tunnel/releases/latest/download/cdp-tunnel-extension.zip) from the latest release
63
+ 2. Unzip it
64
+ 3. Open `chrome://extensions/` in Chrome
65
+ 4. Enable **Developer mode** (top right)
66
+ 5. Click **Load unpacked** → select the unzipped folder
67
+ 6. Start the proxy server separately (see Option 2 or 3 below)
73
68
 
74
- ### Option 2: Download Extension from GitHub Releases
69
+ ### Option 2: Install via npm (Recommended)
75
70
 
76
- **Download Extension:** [cdp-tunnel-extension.zip (v2.10.3)](https://github.com/dyyz1993/cdp-tunnel/releases/tag/v2.10.3)
71
+ ```bash
72
+ # One command to set up everything
73
+ npx cdp-tunnel setup
77
74
 
78
- 1. Download `cdp-tunnel-extension.zip` from the latest [GitHub Releases](https://github.com/dyyz1993/cdp-tunnel/releases)
79
- 2. Unzip the file
80
- 3. Open `chrome://extensions/` in Chrome
81
- 4. Enable "Developer mode"
82
- 5. Click "Load unpacked"
83
- 6. Select the unzipped extension directory
75
+ # Or install globally
76
+ npm install -g cdp-tunnel
77
+ cdp-tunnel setup # Start server + auto-load extension into Chrome
78
+ cdp-tunnel status # Check status
79
+ cdp-tunnel diagnose # Diagnose connection issues
80
+ ```
84
81
 
85
82
  ### Option 3: Manual Installation
86
83
 
87
84
  #### 1. Start the Proxy Server
88
85
 
89
86
  ```bash
90
- cd server
91
- npm install
92
- node proxy-server.js
87
+ npx cdp-tunnel start
88
+ # or manually:
89
+ npx cdp-tunnel start -p 9221
93
90
  ```
94
91
 
95
- The server will start on `localhost:9221`.
96
-
97
92
  #### 2. Install Chrome Extension
98
93
 
99
94
  1. Open `chrome://extensions/`
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "CDP Bridge",
4
- "version": "2.10.8",
4
+ "version": "2.10.9",
5
5
  "description": "Chrome DevTools Protocol Bridge for Playwright/Puppeteer automation",
6
6
  "permissions": [
7
7
  "debugger",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdp-tunnel",
3
- "version": "2.10.8",
3
+ "version": "2.10.9",
4
4
  "description": "Bridge Chrome's debugger API to WebSocket — control your existing browser with Playwright/Puppeteer via CDP",
5
5
  "main": "server/proxy-server.js",
6
6
  "bin": "./cli/index.js",