@ixnk/dsh-webrain 0.0.0-stage → 0.1.0
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 +144 -2
- package/cordis.patch.yml +32 -0
- package/docs/DETAIL.md +1 -0
- package/docs/DETAIL.zh.md +1 -0
- package/docs/preview.svg +44 -0
- package/icon.svg +16 -0
- package/locale/de.json +7 -0
- package/locale/en.json +7 -0
- package/locale/es.json +7 -0
- package/locale/fr.json +7 -0
- package/locale/ja.json +7 -0
- package/locale/pt.json +7 -0
- package/locale/ru.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +43 -4
package/README.md
CHANGED
|
@@ -1,3 +1,145 @@
|
|
|
1
|
-
#
|
|
1
|
+
# webrain for DeepSeek Harness
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (`dsh`)
|
|
4
|
+
bundle that connects [webrain](https://github.com/prokopis3/webrain)'s Model
|
|
5
|
+
Context Protocol server. Every webrain tool becomes callable by the agent as
|
|
6
|
+
`mcp__webrain__<tool>` — 19 tools for real-Chrome navigation, challenge-aware
|
|
7
|
+
scraping, extraction, crawling, screenshots, PDFs, and search.
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
webrain MCP (stdio: `webrain mcp`)
|
|
11
|
+
│ tools/list, tools/call
|
|
12
|
+
▼
|
|
13
|
+
@deepseek-ai/dsh-mcp-client → ctx.tools → mcp__webrain__webrain_navigate
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Requirements
|
|
17
|
+
|
|
18
|
+
- DeepSeek Harness with the `@deepseek-ai/dsh-mcp-client` package. Every shipped
|
|
19
|
+
profile provides it.
|
|
20
|
+
- The `webrain` binary on the `PATH` of the process that starts the harness:
|
|
21
|
+
- Windows: `scoop install webrain`
|
|
22
|
+
- macOS: `brew install prokopis3/webrain/webrain`
|
|
23
|
+
- anywhere else: a binary from
|
|
24
|
+
[Releases](https://github.com/prokopis3/webrain/releases)
|
|
25
|
+
- `webrain --version` must work from the shell that starts the harness.
|
|
26
|
+
- A browser engine, once: `webrain install` downloads Chrome for Testing into
|
|
27
|
+
webrain's engine cache. Without it, navigation fails with an engine error even
|
|
28
|
+
though the tool list is complete. `webrain doctor` diagnoses both.
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
In the Web UI: **Plugins** → **Add plugin**, paste a spec from below or choose
|
|
33
|
+
the bundle directory. From a shell:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# The @ixnk scope on the npm registry, once the release workflow published it:
|
|
37
|
+
dsh plugin --profile <profile> add @ixnk/dsh-webrain
|
|
38
|
+
|
|
39
|
+
# A pinned commit of this repository. pnpm 11 or newer is required for a Git
|
|
40
|
+
# subdirectory install; the parameters are separated with npm's "::" form
|
|
41
|
+
# because pnpm 11 rejects the "&path:" spelling it documents.
|
|
42
|
+
dsh plugin --profile <profile> add \
|
|
43
|
+
'github:prokopis3/webrain#<sha>::path:integrations/dsh-webrain'
|
|
44
|
+
|
|
45
|
+
# A checkout on this machine:
|
|
46
|
+
dsh plugin --profile <profile> add 'D:\path\to\webrain\integrations\dsh-webrain'
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
`dsh plugin` forwards its arguments to pnpm, so the verb is `add` (not
|
|
50
|
+
`install`), and installing a package into a profile that is a pnpm workspace
|
|
51
|
+
root can need `ignore-workspace-root-check=true` in
|
|
52
|
+
`$DSH_HOME/profiles/<profile>/.npmrc`. A live profile picks the bundle up
|
|
53
|
+
without a restart.
|
|
54
|
+
|
|
55
|
+
## What appears
|
|
56
|
+
|
|
57
|
+
- A bundle card named **webrain browser tools**, with its own icon and the
|
|
58
|
+
plugin name `webrain`.
|
|
59
|
+
- One enabled row: **MCP client** (row id `webrain-mcp`, `serverName:
|
|
60
|
+
webrain`). `@deepseek-ai/dsh-mcp-client` owns that row's title and generic
|
|
61
|
+
artwork — the webrain icon belongs to the bundle card.
|
|
62
|
+
- The tools `mcp__webrain__webrain_navigate`, `mcp__webrain__webrain_extract`,
|
|
63
|
+
`mcp__webrain__webrain_batch`, `mcp__webrain__webrain_observe`,
|
|
64
|
+
`mcp__webrain__webrain_guide`, and the rest of webrain's 19-tool surface.
|
|
65
|
+
|
|
66
|
+
## Verify
|
|
67
|
+
|
|
68
|
+
1. **Plugins** shows the *webrain browser tools* bundle and one enabled
|
|
69
|
+
**MCP client** row.
|
|
70
|
+
2. Ask the agent to call `mcp__webrain__webrain_guide`. It returns webrain's
|
|
71
|
+
browser/challenge/extraction decision guide.
|
|
72
|
+
3. Then a real task:
|
|
73
|
+
|
|
74
|
+
> Call `mcp__webrain__webrain_guide`, then open `https://example.com` and
|
|
75
|
+
> extract the heading.
|
|
76
|
+
|
|
77
|
+
## Configuration
|
|
78
|
+
|
|
79
|
+
The bundle inserts a row with id `webrain-mcp`. Override it with an
|
|
80
|
+
`id`-targeted patch in the profile's `cordis.patch.yml`
|
|
81
|
+
(`$DSH_HOME/profiles/<profile>/cordis.patch.yml`); restate the whole `config`,
|
|
82
|
+
because a patch replaces it wholly. With `patchReload: live` the change applies
|
|
83
|
+
without a restart:
|
|
84
|
+
|
|
85
|
+
```yaml
|
|
86
|
+
- id: webrain-mcp
|
|
87
|
+
name: '@deepseek-ai/dsh-mcp-client'
|
|
88
|
+
config:
|
|
89
|
+
serverName: webrain
|
|
90
|
+
transport: stdio
|
|
91
|
+
command: '/opt/homebrew/bin/webrain' # absolute path for GUI launches
|
|
92
|
+
args: ['mcp']
|
|
93
|
+
env:
|
|
94
|
+
CDP_URL: 'http://127.0.0.1:9222' # reuse an already-open Chrome
|
|
95
|
+
WEBRAIN_PROFILES_DIR: '/Users/me/Library/Application Support/webrain/profiles'
|
|
96
|
+
toolCallTimeoutMs: 600000 # default from the bundle: 300000
|
|
97
|
+
startupTimeoutMs: 60000
|
|
98
|
+
failOnStartupError: true
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
An absolute `command` matters on macOS when the harness is launched from
|
|
102
|
+
Finder: a GUI process sees a minimal `PATH`, so a Homebrew `webrain` is
|
|
103
|
+
invisible.
|
|
104
|
+
|
|
105
|
+
One `serverName` can be registered once per scope. If you also keep a
|
|
106
|
+
hand-written `webrain` MCP entry (for example the HTTP form,
|
|
107
|
+
`webrain mcp --http 9223`), disable or remove it — otherwise the bundle's row
|
|
108
|
+
fails with `mcp-client: serverName "webrain" is already in use by another
|
|
109
|
+
mcp-client instance`.
|
|
110
|
+
|
|
111
|
+
## What it touches
|
|
112
|
+
|
|
113
|
+
- The harness spawns one `webrain mcp` child process and speaks JSON-RPC over
|
|
114
|
+
its stdio. webrain's logs go to stderr.
|
|
115
|
+
- webrain keeps its own browser profiles and engine cache in the platform data
|
|
116
|
+
and cache directories (`…/webrain/profiles`, `…/webrain/browsers`),
|
|
117
|
+
overridable with `WEBRAIN_PROFILES_DIR` / `WEBRAIN_BROWSERS_DIR`;
|
|
118
|
+
`webrain help env` lists every variable. Nothing is stored in the harness
|
|
119
|
+
profile.
|
|
120
|
+
- Browsers, cookies, and screenshots stay on this machine. Pages are fetched
|
|
121
|
+
only when a tool asks for a URL.
|
|
122
|
+
- Uninstalling the bundle, or turning it off, unregisters the tools and stops
|
|
123
|
+
the child process. It does not delete webrain's browser profiles or engines.
|
|
124
|
+
|
|
125
|
+
## Troubleshooting
|
|
126
|
+
|
|
127
|
+
| Symptom | Cause | Fix |
|
|
128
|
+
|---|---|---|
|
|
129
|
+
| The **MCP client** row fails, no `mcp__webrain__*` tools | `webrain` is not on the harness's `PATH` | set an absolute `command`, or start the harness from a shell where `webrain --version` works; the Host log names the spawn failure |
|
|
130
|
+
| `mcp-client: serverName "webrain" is already in use by another mcp-client instance` | another MCP row uses `serverName: webrain` | disable or remove that row |
|
|
131
|
+
| `'pnpm' is not recognized` while installing | the harness process has no `pnpm` | install pnpm for the user that runs the harness, then retry |
|
|
132
|
+
| `ERR_PNPM_ADDING_TO_ROOT` while installing | the profile is a pnpm workspace root and pnpm refuses the add | add `ignore-workspace-root-check=true` to the profile's `.npmrc`, then retry |
|
|
133
|
+
| Tool calls time out on heavy pages | the default call budget is below the page's cost | raise `toolCallTimeoutMs` on the `webrain-mcp` row |
|
|
134
|
+
| Navigation fails with a missing browser/engine | `webrain install` never ran | run `webrain install`, then `webrain doctor` |
|
|
135
|
+
| `webrain_navigate` returns `challenge` | the page is gated | use real Chrome: `webrain launch <service> <profile> <url>` then `webrain login`, or point `CDP_URL` at that Chrome |
|
|
136
|
+
|
|
137
|
+
## Related
|
|
138
|
+
|
|
139
|
+
- `docs/mcp/deepseek-harness.mdx` — the user-facing guide in the webrain docs.
|
|
140
|
+
- `skills/webrain/SKILL.md` — webrain's operator skill for any MCP client.
|
|
141
|
+
- `docs/AGENT_DECISION_GUIDE.md` — which webrain tool for which task.
|
|
142
|
+
|
|
143
|
+
## License
|
|
144
|
+
|
|
145
|
+
MIT, the same license as webrain.
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# webrain for DeepSeek Harness.
|
|
2
|
+
#
|
|
3
|
+
# One MCP client row over stdio: the client spawns `webrain mcp`, discovers its
|
|
4
|
+
# tools, and re-registers them on ctx.tools as `mcp__webrain__<tool>`.
|
|
5
|
+
#
|
|
6
|
+
# The row id is webrain-mcp, not mcp-webrain, so a hand-written `mcp-webrain`
|
|
7
|
+
# entry in a profile patch keeps its own identity instead of being overwritten:
|
|
8
|
+
# both would still collide on `serverName`, which the harness rejects loudly, so
|
|
9
|
+
# remove the hand-written entry once this bundle is installed.
|
|
10
|
+
- insert:
|
|
11
|
+
- id: webrain-mcp
|
|
12
|
+
name: '@deepseek-ai/dsh-mcp-client'
|
|
13
|
+
config:
|
|
14
|
+
serverName: webrain
|
|
15
|
+
transport: stdio
|
|
16
|
+
# `webrain` resolves through PATH. Point `command` at an absolute path
|
|
17
|
+
# when a GUI-launched harness cannot see the install location (macOS
|
|
18
|
+
# Finder launches see a minimal PATH).
|
|
19
|
+
command: webrain
|
|
20
|
+
args: ['mcp']
|
|
21
|
+
# Browser work is not a REST call: one navigate + extract pair can
|
|
22
|
+
# spend minutes on a challenge page. The bridge default is 60 s.
|
|
23
|
+
toolCallTimeoutMs: 300000
|
|
24
|
+
startupTimeoutMs: 60000
|
|
25
|
+
# A missing binary fails this row visibly in Plugins (a labelled
|
|
26
|
+
# warning) instead of silently reporting no tools. The harness itself
|
|
27
|
+
# keeps running: app-boot permits an optional MCP entry to fail.
|
|
28
|
+
failOnStartupError: true
|
|
29
|
+
reconnect:
|
|
30
|
+
enabled: true
|
|
31
|
+
maxDelayMs: 30000
|
|
32
|
+
maxAttempts: 5
|
package/docs/DETAIL.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+

|
|
@@ -0,0 +1 @@
|
|
|
1
|
+

|
package/docs/preview.svg
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="300" viewBox="0 0 640 300">
|
|
2
|
+
<rect width="640" height="300" rx="20" fill="#f3f5f9"/>
|
|
3
|
+
|
|
4
|
+
<!-- Agent side: one tool-call transcript -->
|
|
5
|
+
<rect x="48" y="62" width="196" height="176" rx="20" fill="#ffffff" stroke="#b7c3d2" stroke-width="2"/>
|
|
6
|
+
<rect x="70" y="84" width="120" height="14" rx="7" fill="#0b63ce"/>
|
|
7
|
+
<rect x="70" y="112" width="152" height="26" rx="8" fill="#e4edf8"/>
|
|
8
|
+
<rect x="81" y="121" width="9" height="8" rx="2" fill="#0b63ce"/>
|
|
9
|
+
<rect x="98" y="122" width="86" height="6" rx="3" fill="#9cacc0"/>
|
|
10
|
+
<rect x="70" y="146" width="152" height="26" rx="8" fill="#e4edf8"/>
|
|
11
|
+
<rect x="81" y="155" width="9" height="8" rx="2" fill="#0b63ce"/>
|
|
12
|
+
<rect x="98" y="156" width="102" height="6" rx="3" fill="#9cacc0"/>
|
|
13
|
+
<rect x="70" y="180" width="152" height="26" rx="8" fill="#e4edf8"/>
|
|
14
|
+
<rect x="81" y="189" width="9" height="8" rx="2" fill="#0b63ce"/>
|
|
15
|
+
<rect x="98" y="190" width="72" height="6" rx="3" fill="#9cacc0"/>
|
|
16
|
+
|
|
17
|
+
<!-- Round trip: call out, result back -->
|
|
18
|
+
<path d="M262 128h108m-10-10 10 10-10 10" fill="none" stroke="#0b63ce" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
19
|
+
<path d="M370 176H262m10-10-10 10 10 10" fill="none" stroke="#7b8b9f" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
20
|
+
|
|
21
|
+
<!-- Browser side: a rendered page -->
|
|
22
|
+
<rect x="392" y="62" width="200" height="176" rx="20" fill="#ffffff" stroke="#b7c3d2" stroke-width="2"/>
|
|
23
|
+
<path d="M392 90h200" fill="none" stroke="#b7c3d2" stroke-width="2"/>
|
|
24
|
+
<g fill="#9cacc0">
|
|
25
|
+
<circle cx="410" cy="76" r="3"/>
|
|
26
|
+
<circle cx="422" cy="76" r="3"/>
|
|
27
|
+
<circle cx="434" cy="76" r="3"/>
|
|
28
|
+
</g>
|
|
29
|
+
<rect x="456" y="72" width="118" height="9" rx="4.5" fill="#e4edf8"/>
|
|
30
|
+
<rect x="412" y="106" width="160" height="44" rx="10" fill="#e4edf8"/>
|
|
31
|
+
<g fill="#0b63ce">
|
|
32
|
+
<rect x="412" y="164" width="48" height="24" rx="7"/>
|
|
33
|
+
<rect x="468" y="164" width="48" height="24" rx="7" opacity="0.72"/>
|
|
34
|
+
<rect x="524" y="164" width="48" height="24" rx="7" opacity="0.44"/>
|
|
35
|
+
</g>
|
|
36
|
+
<rect x="412" y="198" width="100" height="8" rx="4" fill="#9cacc0"/>
|
|
37
|
+
<rect x="412" y="214" width="72" height="8" rx="4" fill="#c9d4e2"/>
|
|
38
|
+
|
|
39
|
+
<!-- The fetched rain: a drop landing beside the page -->
|
|
40
|
+
<path d="M562 196c8 10.6 13 17.4 13 24.2a13 13 0 0 1-26 0c0-6.8 5-13.6 13-24.2Z" fill="#38a0ff"/>
|
|
41
|
+
<circle cx="562" cy="222" r="6.4" fill="#ffffff" opacity="0.86"/>
|
|
42
|
+
<path d="M552 222h20M562 212v20" fill="none" stroke="#0b63ce" stroke-width="1.6" opacity="0.7"/>
|
|
43
|
+
<ellipse cx="562" cy="222" rx="10" ry="6.4" fill="none" stroke="#0b63ce" stroke-width="1.6" opacity="0.7"/>
|
|
44
|
+
</svg>
|
package/icon.svg
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="webrain-drop" x1="18" y1="22.5" x2="18" y2="35" gradientUnits="userSpaceOnUse">
|
|
4
|
+
<stop offset="0" stop-color="#38a0ff"/>
|
|
5
|
+
<stop offset="1" stop-color="#0b63ce"/>
|
|
6
|
+
</linearGradient>
|
|
7
|
+
</defs>
|
|
8
|
+
<rect x="6" y="6" width="24" height="15.5" rx="3.6" fill="none" stroke="#0b63ce" stroke-width="2.2"/>
|
|
9
|
+
<path d="M6 11.4h24" fill="none" stroke="#0b63ce" stroke-width="1.6"/>
|
|
10
|
+
<g fill="#0b63ce">
|
|
11
|
+
<circle cx="9.6" cy="8.7" r="0.9"/>
|
|
12
|
+
<circle cx="12.4" cy="8.7" r="0.9"/>
|
|
13
|
+
<circle cx="15.2" cy="8.7" r="0.9"/>
|
|
14
|
+
</g>
|
|
15
|
+
<path d="M18 22.2c2.7 3.6 4.4 5.9 4.4 8.2a4.4 4.4 0 0 1-8.8 0c0-2.3 1.7-4.6 4.4-8.2Z" fill="url(#webrain-drop)"/>
|
|
16
|
+
</svg>
|
package/locale/de.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "webrain-Browserwerkzeuge",
|
|
4
|
+
"description": "Stellt dem Agenten webrains Browser-Automatisierungs- und Scraping-Werkzeuge als mcp__webrain__*-Werkzeuge bereit, geliefert von einem lokalen `webrain mcp`-Prozess. Beginne mit webrain_guide und steuere dann echtes Chrome für interaktive SPAs, angemeldete Seiten und Seiten mit CAPTCHA- oder Cloudflare-Prüfung; Browserzustand, Profile und Screenshots bleiben auf diesem Rechner. Erfordert die webrain-Binärdatei im PATH (scoop, Homebrew oder ein GitHub-Release) und einmal `webrain install` für eine Browser-Engine. Fehlt eines davon, schlägt diese MCP-Client-Zeile unter Plugins sichtbar fehl und es erscheinen keine webrain-Werkzeuge. Ausschalten des Bundles entfernt die Werkzeuge; die Konfiguration der Zeile nimmt ein bereits geöffnetes Chrome (CDP) oder WEBRAIN_*-Variablen entgegen.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/en.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "webrain browser tools",
|
|
4
|
+
"description": "Adds webrain's browser-automation and scraping tools to the agent as mcp__webrain__* tools, served by a local `webrain mcp` process. Start with webrain_guide, then drive real Chrome for interactive SPAs, signed-in pages, and CAPTCHA- or Cloudflare-gated pages; browser state, profiles, and screenshots stay on this machine. Requires the webrain binary on PATH (scoop, Homebrew, or a GitHub release) plus one `webrain install` for a browser engine; when either is missing, this MCP client row fails visibly in Plugins and no webrain tools appear. Turning the bundle off removes the tools, and the row's config accepts an already-open Chrome (CDP) or WEBRAIN_* variables.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/es.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Herramientas de navegador webrain",
|
|
4
|
+
"description": "Añade al agente las herramientas de automatización de navegador y scraping de webrain como herramientas mcp__webrain__*, servidas por un proceso local `webrain mcp`. Empieza con webrain_guide y después controla Chrome real para SPA interactivas, páginas con sesión iniciada y páginas protegidas por CAPTCHA o Cloudflare; el estado del navegador, los perfiles y las capturas permanecen en este equipo. Requiere el binario webrain en el PATH (scoop, Homebrew o una versión de GitHub) y ejecutar una vez `webrain install` para el motor de navegador; si falta cualquiera de los dos, esta fila de cliente MCP falla de forma visible en Complementos y no aparece ninguna herramienta de webrain. Desactivar el paquete retira las herramientas; la configuración de la fila acepta un Chrome ya abierto (CDP) o variables WEBRAIN_*.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/fr.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Outils de navigateur webrain",
|
|
4
|
+
"description": "Ajoute à l'agent les outils d'automatisation de navigateur et de scraping de webrain, exposés en outils mcp__webrain__* par un processus local `webrain mcp`. Commence par webrain_guide, puis pilote un vrai Chrome pour les SPA interactives, les pages authentifiées et les pages protégées par CAPTCHA ou Cloudflare ; l'état du navigateur, les profils et les captures restent sur cette machine. Le binaire webrain doit être dans le PATH (scoop, Homebrew ou une release GitHub), et `webrain install` doit avoir été lancé une fois pour le moteur de navigateur ; si l'un des deux manque, cette ligne de client MCP échoue visiblement dans Plugins et aucun outil webrain n'apparaît. Désactiver le bundle retire les outils ; la configuration de la ligne accepte un Chrome déjà ouvert (CDP) ou des variables WEBRAIN_*.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/ja.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "webrain ブラウザツール",
|
|
4
|
+
"description": "webrain のブラウザ自動化とスクレイピングのツールを、ローカルの `webrain mcp` プロセスが提供する mcp__webrain__* ツールとしてエージェントに追加します。まず webrain_guide を呼び、実際の Chrome でインタラクティブな SPA、ログイン済みのページ、CAPTCHA や Cloudflare の確認があるページを操作します。ブラウザの状態、プロファイル、スクリーンショットはこのマシンに残ります。webrain のバイナリが PATH にあり(scoop、Homebrew、GitHub リリース)、ブラウザエンジン用に `webrain install` を一度実行している必要があります。どちらかが欠けると、この MCP クライアントの行がプラグイン画面で明確に失敗し、webrain のツールは表示されません。バンドルを無効にするとツールは削除されます。この行の設定では、既に開いている Chrome(CDP)や WEBRAIN_* 変数を指定できます。",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/pt.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Ferramentas de navegador webrain",
|
|
4
|
+
"description": "Adiciona ao agente as ferramentas de automação de navegador e scraping do webrain como ferramentas mcp__webrain__*, servidas por um processo local `webrain mcp`. Comece por webrain_guide e depois conduza o Chrome real para SPAs interativas, páginas autenticadas e páginas protegidas por CAPTCHA ou Cloudflare; o estado do navegador, os perfis e as capturas ficam nesta máquina. Requer o binário webrain no PATH (scoop, Homebrew ou uma versão do GitHub) e uma execução de `webrain install` para o motor de navegador; quando qualquer um falta, esta linha de cliente MCP falha de forma visível em Plug-ins e nenhuma ferramenta webrain aparece. Desativar o pacote remove as ferramentas; a configuração da linha aceita um Chrome já aberto (CDP) ou variáveis WEBRAIN_*.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/ru.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Браузерные инструменты webrain",
|
|
4
|
+
"description": "Добавляет агенту инструменты автоматизации браузера и сбора данных webrain в виде инструментов mcp__webrain__*, которые предоставляет локальный процесс `webrain mcp`. Начните с webrain_guide, затем управляйте настоящим Chrome для интерактивных SPA, страниц со входом и страниц с проверкой CAPTCHA или Cloudflare; состояние браузера, профили и снимки экрана остаются на этой машине. Требуется бинарный файл webrain в PATH (scoop, Homebrew или релиз на GitHub) и однократный запуск `webrain install` для движка браузера; если чего-то нет, эта строка MCP-клиента явно падает на странице «Плагины» и инструменты webrain не появляются. Отключение пакета убирает инструменты; конфигурация строки принимает уже открытый Chrome (CDP) или переменные WEBRAIN_*.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/locale/zh.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "webrain 浏览器工具",
|
|
4
|
+
"description": "把 webrain 的浏览器自动化与抓取工具作为 mcp__webrain__* 工具交给智能体,由本地 `webrain mcp` 进程提供。先用 webrain_guide,再用真实 Chrome 处理交互式 SPA、需要登录的页面,以及带 CAPTCHA 或 Cloudflare 验证的页面;浏览器状态、配置文件和截图都留在本机。需要 PATH 上有 webrain 可执行文件(scoop、Homebrew 或 GitHub 发布版),并执行一次 `webrain install` 安装浏览器引擎;缺少任一项时,这个 MCP 客户端行会在「插件」页明确报错,也不会出现任何 webrain 工具。关闭该插件包即移除这些工具;该行的配置可指定已打开的 Chrome(CDP)或 WEBRAIN_* 变量。",
|
|
5
|
+
"detail": "docs/DETAIL.zh.md"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ixnk/dsh-webrain",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "webrain's browser-automation and scraping tools, connected to DeepSeek Harness over MCP.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "webrain contributors",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/prokopis3/webrain",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/prokopis3/webrain.git",
|
|
15
|
+
"directory": "integrations/dsh-webrain"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"dsh",
|
|
19
|
+
"dsh-bundle",
|
|
20
|
+
"deepseek-harness",
|
|
21
|
+
"webrain",
|
|
22
|
+
"mcp",
|
|
23
|
+
"browser-automation",
|
|
24
|
+
"scraping"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
"./locale/*.json": "./locale/*.json",
|
|
28
|
+
"./icon": "./icon.svg"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"check": "node scripts/check-bundle.mjs"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"cordis.patch.yml",
|
|
35
|
+
"locale/*.json",
|
|
36
|
+
"docs",
|
|
37
|
+
"icon.svg",
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
40
|
+
"dsh": {
|
|
41
|
+
"bundle": {
|
|
42
|
+
"patch": "./cordis.patch.yml"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|