dsh-browser-cdp 0.17.4 → 0.17.6
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 +24 -18
- package/dsh-plugin.json +1 -1
- package/lib/client.js +1999 -256
- package/lib/index.js +1 -1
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/it.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/ko.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +103 -99
package/lib/index.js
CHANGED
|
@@ -2437,7 +2437,7 @@ const Config$1 = z.object({
|
|
|
2437
2437
|
cdpProbeTimeoutMs: z.number().min(200).max(3e4).step(100).description("Timeout for one CDP endpoint probe (http endpoints answer /json/version)."),
|
|
2438
2438
|
cursorHud: z.boolean().description("Draw the agent cursor HUD into screenshots."),
|
|
2439
2439
|
cursorName: z.string().description("Name label shown in the cursor HUD."),
|
|
2440
|
-
allowLocalFallback: z.boolean().description("auto mode may fall back to launching a local browser when the activated target is unreachable. Off by default: the fallback must be explicit."),
|
|
2440
|
+
allowLocalFallback: z.boolean().description("auto mode may fall back to launching a local browser when the activated target is unreachable. Off by default: the fallback must be explicit.").volatile(),
|
|
2441
2441
|
legacyEgoToolNames: z.boolean().description("ALSO register the tools under their old ego_* names for scripts written before the bcdp_* rename. Off by default; mutually exclusive with installing the upstream ego-browser plugin (same tool names)."),
|
|
2442
2442
|
localHeadless: z.boolean().description("Run the locally launched browser headless."),
|
|
2443
2443
|
remoteEnabled: z.boolean().description("Master switch for REMOTE attach. Off = the configured target sequence is preserved but inert (nothing probes or connects remotely); flip back on any time. Does not affect cdpMode=local.").volatile(),
|
package/locale/de.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "CDP-Browser",
|
|
4
|
+
"description": "DSH-Browser-Plugin: hängt sich per CDP an ein laufendes Chrome/Edge (kein mitgebrachter Browser nötig); über 30 bcdp_*-Automatisierungswerkzeuge plus ein Echtzeit-Beobachtungspanel (Live-SSE-Bildschirmübertragung, direkte Mausbedienung, Download-Erfassung, Hinweise zur Mensch-Verifikation)."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "CDP Browser",
|
|
4
|
+
"description": "DSH browser plugin: attach to a running Chrome/Edge over CDP (no bundled browser needed); 30+ bcdp_* automation tools plus a realtime watch panel (live SSE screencast, direct mouse interaction, download capture, human-verification notices)."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/es.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Navegador CDP",
|
|
4
|
+
"description": "Complemento de navegador DSH: se conecta a un Chrome/Edge en ejecución mediante CDP (sin navegador incluido); más de 30 herramientas de automatización bcdp_* y un panel de observación en tiempo real (retransmisión SSE en vivo, interacción directa con el ratón, captura de descargas, avisos de verificación humana)."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/fr.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Navigateur CDP",
|
|
4
|
+
"description": "Plugin navigateur DSH : se rattache à un Chrome/Edge en cours d'exécution via CDP (aucun navigateur fourni) ; plus de 30 outils d'automatisation bcdp_* et un panneau d'observation en temps réel (diffusion SSE en direct, interaction souris directe, capture des téléchargements, alertes de vérification humaine)."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/it.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Browser CDP",
|
|
4
|
+
"description": "Plugin browser DSH: si aggancia a un Chrome/Edge in esecuzione via CDP (nessun browser incluso); oltre 30 strumenti di automazione bcdp_* più un pannello di osservazione in tempo reale (diretta SSE dello schermo, interazione diretta del mouse, cattura dei download, avvisi di verifica umana)."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/ja.json
ADDED
package/locale/ko.json
ADDED
package/locale/ru.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "CDP-браузер",
|
|
4
|
+
"description": "Плагин браузера DSH: подключается к запущенному Chrome/Edge по CDP (без встроенного браузера); более 30 инструментов автоматизации bcdp_* и панель наблюдения в реальном времени (живая трансляция экрана по SSE, прямые действия мышью, перехват загрузок, уведомления о проверке на человека)."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,99 +1,103 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-browser-cdp",
|
|
3
|
-
"version": "0.17.
|
|
4
|
-
"description": "dsh-browser-cdp: DSH browser plugin — attach to a running Chrome/Edge over CDP (no bundled browser needed); structured browser-automation tools (30+ bcdp_*) that drive the vendored ego runtime through ctx.subprocess, plus a realtime watch panel (live SSE screencast + direct mouse interaction + download capture + human-verification notice). Web shell: floating watch panel without dsh-better-sidebar, sidebar tab with it. Headless/TUI hosts: tools-only. [DSH 0.1.7+ line: declarative settings via Config .volatile() fields; for DSH 0.1.2-rc.1 ~ 0.1.6 use the 0.16.x line]",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./lib/index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./lib/index.js",
|
|
9
|
-
"./client": "./lib/client.js",
|
|
10
|
-
"./dsh-plugin.json": "./dsh-plugin.json",
|
|
11
|
-
"./
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"@deepseek-ai/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
"dsh": "
|
|
90
|
-
},
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
"
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-browser-cdp",
|
|
3
|
+
"version": "0.17.6",
|
|
4
|
+
"description": "dsh-browser-cdp: DSH browser plugin — attach to a running Chrome/Edge over CDP (no bundled browser needed); structured browser-automation tools (30+ bcdp_*) that drive the vendored ego runtime through ctx.subprocess, plus a realtime watch panel (live SSE screencast + direct mouse interaction + download capture + human-verification notice). Web shell: floating watch panel without dsh-better-sidebar, sidebar tab with it. Headless/TUI hosts: tools-only. [DSH 0.1.7+ line: declarative settings via Config .volatile() fields; for DSH 0.1.2-rc.1 ~ 0.1.6 use the 0.16.x line]",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./lib/index.js",
|
|
9
|
+
"./client": "./lib/client.js",
|
|
10
|
+
"./dsh-plugin.json": "./dsh-plugin.json",
|
|
11
|
+
"./locale/*.json": "./locale/*.json",
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"lib/",
|
|
16
|
+
"bin/",
|
|
17
|
+
"locale/",
|
|
18
|
+
"runtime/",
|
|
19
|
+
"cordis.patch.yml",
|
|
20
|
+
"dsh-plugin.json",
|
|
21
|
+
"THIRD_PARTY_NOTICES.md",
|
|
22
|
+
"!**/*.map"
|
|
23
|
+
],
|
|
24
|
+
"dsh": {
|
|
25
|
+
"engines": {
|
|
26
|
+
"dsh": ">=0.1.7-rc.1 <0.1.8-0"
|
|
27
|
+
},
|
|
28
|
+
"bundle": {
|
|
29
|
+
"patch": "./cordis.patch.yml"
|
|
30
|
+
},
|
|
31
|
+
"client": {
|
|
32
|
+
"platform": "web",
|
|
33
|
+
"inject": [
|
|
34
|
+
"@deepseek-ai/dsh-client-locale"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.client.json",
|
|
40
|
+
"test": "vitest run",
|
|
41
|
+
"build": "tsdown -c tsdown.config.ts"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@deepseek-ai/schemastery": "^3.18.4"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.7-rc.1 <0.1.8-0",
|
|
48
|
+
"@deepseek-ai/dsh-client-store": ">=0.1.7-rc.1 <0.1.8-0",
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": ">=0.1.7-rc.1 <0.1.8-0",
|
|
50
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-rc.1 <0.1.8-0",
|
|
51
|
+
"@deepseek-ai/dsh-settings": ">=0.1.7-rc.1 <0.1.8-0",
|
|
52
|
+
"@deepseek-ai/dsh-tools": ">=0.1.7-rc.1 <0.1.8-0",
|
|
53
|
+
"react": "^18.2.0"
|
|
54
|
+
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"@deepseek-ai/dsh-client-locale": {
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
"@deepseek-ai/dsh-client-store": {
|
|
60
|
+
"optional": true
|
|
61
|
+
},
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": {
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-slots": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@deepseek-ai/dsh-settings": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"@deepseek-ai/dsh-tools": {
|
|
72
|
+
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"react": {
|
|
75
|
+
"optional": true
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@deepseek-ai/cosmokit": "^1.8.5",
|
|
80
|
+
"@deepseek-ai/dsh-tools": ">=0.1.7-rc.1 <0.1.8-0",
|
|
81
|
+
"@types/node": "^22.20.1",
|
|
82
|
+
"@types/react": "~18.3.31",
|
|
83
|
+
"@types/ws": "^8.5.10",
|
|
84
|
+
"jsdom": "^26.0.0",
|
|
85
|
+
"tsdown": "^0.15.0",
|
|
86
|
+
"typescript": "^5.9.0",
|
|
87
|
+
"vitest": "^3.2.0",
|
|
88
|
+
"ws": "^8.18.0",
|
|
89
|
+
"@deepseek-ai/dsh-sandbox": "^0.1.7-rc.1"
|
|
90
|
+
},
|
|
91
|
+
"engines": {
|
|
92
|
+
"node": ">=22",
|
|
93
|
+
"dsh": ">=0.1.7-rc.1 <0.1.8-0"
|
|
94
|
+
},
|
|
95
|
+
"license": "MIT",
|
|
96
|
+
"repository": {
|
|
97
|
+
"type": "git",
|
|
98
|
+
"url": "git+https://github.com/drscrewdriver/dsh-browser-cdp.git"
|
|
99
|
+
},
|
|
100
|
+
"publishConfig": {
|
|
101
|
+
"tag": "dsh-0.1.7"
|
|
102
|
+
}
|
|
103
|
+
}
|