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.
- package/extension/manifest.json +1 -1
- package/extension/sw.js +5 -1
- package/package.json +1 -1
package/extension/manifest.json
CHANGED
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
|
-
|
|
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.
|
|
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",
|