cdp-tunnel 2.10.3 → 2.10.5

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
@@ -71,15 +71,16 @@ cdp-tunnel status
71
71
  cdp-tunnel extension
72
72
  ```
73
73
 
74
- ### Option 2: Download from GitHub Releases
75
-
76
- 1. Go to [GitHub Releases](https://github.com/dyyz1993/cdp-tunnel/releases)
77
- 2. Download `cdp-tunnel-extension.zip` from the latest release
78
- 3. Unzip the file
79
- 4. Open `chrome://extensions/` in Chrome
80
- 5. Enable "Developer mode"
81
- 6. Click "Load unpacked"
82
- 7. Select the unzipped extension directory
74
+ ### Option 2: Download Extension from GitHub Releases
75
+
76
+ **Download Extension:** [cdp-tunnel-extension.zip (v2.10.3)](https://github.com/dyyz1993/cdp-tunnel/releases/tag/v2.10.3)
77
+
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
83
84
 
84
85
  ### Option 3: Manual Installation
85
86
 
@@ -334,6 +334,7 @@ var SpecialHandler = (function() {
334
334
  Logger.info('[TabGroup] chrome.tabs.group returned groupId:', groupId);
335
335
  EventBuilder.send('CDPTunnel.debug', { source: 'doGroup', phase: 'groupCreated', tabId: tabId, groupId: groupId }, null, wsManager);
336
336
  if (groupId) {
337
+ if (state) state.setGroupIdForClient(clientId, groupId);
337
338
  if (chrome.tabGroups) {
338
339
  chrome.tabGroups.update(groupId, {
339
340
  title: baseName,
@@ -344,14 +345,12 @@ var SpecialHandler = (function() {
344
345
  Logger.error('[TabGroup] Failed to update group:', chrome.runtime.lastError.message);
345
346
  EventBuilder.send('CDPTunnel.debug', { source: 'doGroup', phase: 'updateGroup', error: chrome.runtime.lastError.message, groupId: groupId }, null, wsManager);
346
347
  } else {
347
- if (state) state.setGroupIdForClient(clientId, groupId);
348
348
  updateTabGroupName(clientId, state, wsManager, context ? context.mode : null);
349
349
  Logger.info('[TabGroup] Group updated:', groupId, baseName);
350
350
  }
351
351
  if (callback) callback(true);
352
352
  });
353
353
  } else {
354
- if (state) state.setGroupIdForClient(clientId, groupId);
355
354
  Logger.info('[TabGroup] Group created but tabGroups.update unavailable (headless):', groupId);
356
355
  if (callback) callback(true);
357
356
  }
@@ -241,7 +241,6 @@ var WebSocketConnection = (function() {
241
241
  Logger.info('[WS:' + self.connectionId + '] Client connected, resuming event forwarding');
242
242
  self.state.setHasConnectedClient(true);
243
243
  self.state.addCDPClient(message.clientId, message.clientId);
244
- self._createGroupForClient(message.clientId, message.__mode);
245
244
  self._broadcastStateUpdate();
246
245
  break;
247
246
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "CDP Bridge",
4
- "version": "2.10.3",
4
+ "version": "2.10.5",
5
5
  "description": "Chrome DevTools Protocol Bridge for Playwright/Puppeteer automation",
6
6
  "permissions": [
7
7
  "debugger",
@@ -1,5 +1,5 @@
1
1
  var Config = {
2
- WS_URL: 'ws://localhost:56906/plugin',
2
+ WS_URL: 'ws://localhost:14026/plugin',
3
3
  RECONNECT_DELAY: 3000,
4
4
  DEBUGGER_VERSION: '1.3',
5
5
  HEARTBEAT_INTERVAL: 25000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdp-tunnel",
3
- "version": "2.10.3",
3
+ "version": "2.10.5",
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",