dsh-site-bridge 0.7.4 → 0.7.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.
@@ -2,7 +2,7 @@
2
2
  "manifest_version": 3,
3
3
  "default_locale": "en",
4
4
  "name": "__MSG_appName__",
5
- "version": "0.7.4",
5
+ "version": "0.7.5",
6
6
  "description": "__MSG_appDesc__",
7
7
  "minimum_chrome_version": "116",
8
8
  "permissions": [
package/extension/sw.js CHANGED
@@ -254,7 +254,11 @@ async function attach(tabId, attachedBy = 'agent') {
254
254
  await evt('active', { tabId })
255
255
  return existing.target
256
256
  }
257
- await chrome.debugger.attach({ tabId }, '1.3')
257
+ try {
258
+ await chrome.debugger.attach({ tabId }, '1.3')
259
+ } catch (error) {
260
+ throw new Error(`chrome.debugger.attach отказал: ${String(error?.message ?? error)}`)
261
+ }
258
262
  await chrome.debugger.sendCommand({ tabId }, 'Network.enable', {
259
263
  maxTotalBufferSize: 64_000_000,
260
264
  maxResourceBufferSize: 16_000_000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-site-bridge",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "Chrome/Edge MV3 bridge for DeepSeek Harness: capture page markup (DOM, styles, selectors) and BFF traffic (xhr/fetch with headers and bodies) into a workspace snapshot bundle, drive the page with trusted CDP input, and verify injected scripts. Authorization never leaves the browser and is never written to disk.",
5
5
  "icon": "./icon.svg",
6
6
  "type": "module",