cdp-tunnel 2.10.4 → 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.
@@ -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
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "CDP Bridge",
4
- "version": "2.10.4",
4
+ "version": "2.10.5",
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.4",
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",