@ixnk/dsh-webrain 0.1.1 → 0.1.2
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 +7 -0
- package/cordis.patch.yml +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,6 +91,7 @@ without a restart:
|
|
|
91
91
|
command: '/opt/homebrew/bin/webrain' # absolute path for GUI launches
|
|
92
92
|
args: ['mcp']
|
|
93
93
|
env:
|
|
94
|
+
WEBRAIN_STEALTH_NOISE: '0' # the bundle default; '1' restores noise
|
|
94
95
|
CDP_URL: 'http://127.0.0.1:9222' # reuse an already-open Chrome
|
|
95
96
|
WEBRAIN_PROFILES_DIR: '/Users/me/Library/Application Support/webrain/profiles'
|
|
96
97
|
toolCallTimeoutMs: 600000 # default from the bundle: 300000
|
|
@@ -102,6 +103,12 @@ An absolute `command` matters on macOS when the harness is launched from
|
|
|
102
103
|
Finder: a GUI process sees a minimal `PATH`, so a Homebrew `webrain` is
|
|
103
104
|
invisible.
|
|
104
105
|
|
|
106
|
+
The bundle starts webrain with `WEBRAIN_STEALTH_NOISE=0`: the fingerprint-noise
|
|
107
|
+
block is off, the same choice `webrain chat --serve` makes for itself. It is the
|
|
108
|
+
documented fix for a page that renders but never mounts (an SPA grid stays empty
|
|
109
|
+
while a hand-opened tab of the same URL works). Set it to `'1'` to restore the
|
|
110
|
+
noise shim, for example to reproduce a stealth-related report.
|
|
111
|
+
|
|
105
112
|
One `serverName` can be registered once per scope. If you also keep a
|
|
106
113
|
hand-written `webrain` MCP entry (for example the HTTP form,
|
|
107
114
|
`webrain mcp --http 9223`), disable or remove it — otherwise the bundle's row
|
package/cordis.patch.yml
CHANGED
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
# Finder launches see a minimal PATH).
|
|
19
19
|
command: webrain
|
|
20
20
|
args: ['mcp']
|
|
21
|
+
# Fingerprint noise off, the setting `webrain chat --serve` also picks
|
|
22
|
+
# for itself. It drops the canvas/audio noise block; when a page renders
|
|
23
|
+
# but never mounts (a Next.js/Angular grid stays empty while a
|
|
24
|
+
# hand-opened tab of the same URL works), this is the documented fix.
|
|
25
|
+
env:
|
|
26
|
+
WEBRAIN_STEALTH_NOISE: '0'
|
|
21
27
|
# Browser work is not a REST call: one navigate + extract pair can
|
|
22
28
|
# spend minutes on a challenge page. The bridge default is 60 s.
|
|
23
29
|
toolCallTimeoutMs: 300000
|