bladebro 3.0.19 → 3.0.20
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/package.json +5 -5
- package/pi-extension.ts +11 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bladebro",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.20",
|
|
4
4
|
"description": "Stealthy and efficient agentic browser driver for AI agents. Few tools, full control, real stealth, max token efficiency.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"LICENSE"
|
|
45
45
|
],
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"bladebro-linux-x64": "3.0.
|
|
48
|
-
"bladebro-darwin-x64": "3.0.
|
|
49
|
-
"bladebro-darwin-arm64": "3.0.
|
|
50
|
-
"bladebro-windows-x64": "3.0.
|
|
47
|
+
"bladebro-linux-x64": "3.0.20",
|
|
48
|
+
"bladebro-darwin-x64": "3.0.20",
|
|
49
|
+
"bladebro-darwin-arm64": "3.0.20",
|
|
50
|
+
"bladebro-windows-x64": "3.0.20"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=14"
|
package/pi-extension.ts
CHANGED
|
@@ -92,8 +92,17 @@ class McpStdio {
|
|
|
92
92
|
|
|
93
93
|
this.proc.stdout!.on("data", (data: Buffer) => this.onData(data));
|
|
94
94
|
this.proc.stderr!.on("data", (data: Buffer) => {
|
|
95
|
-
//
|
|
96
|
-
|
|
95
|
+
// Forward only errors/warnings to pi stderr. Info lines like
|
|
96
|
+
// "[bladebro] MCP server ready" are suppressed to keep the
|
|
97
|
+
// agent TUI clean on startup.
|
|
98
|
+
const text = data.toString();
|
|
99
|
+
for (const line of text.split("\n")) {
|
|
100
|
+
const trimmed = line.trim();
|
|
101
|
+
if (!trimmed) continue;
|
|
102
|
+
if (/error|panic|fatal|warn|fail/i.test(trimmed)) {
|
|
103
|
+
process.stderr.write(line + "\n");
|
|
104
|
+
}
|
|
105
|
+
}
|
|
97
106
|
});
|
|
98
107
|
|
|
99
108
|
// MCP initialize handshake, then signal ready.
|