crawlio-browser 1.4.3 → 1.4.4
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/dist/mcp-server/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
WS_PORT,
|
|
8
8
|
WS_RECONNECT_GRACE,
|
|
9
9
|
WS_STALE_THRESHOLD
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QZGTL4WX.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp-server/index.ts
|
|
13
13
|
import { randomBytes as randomBytes2 } from "crypto";
|
|
@@ -4027,7 +4027,7 @@ function createCodeModeTools(bridge2, crawlio2) {
|
|
|
4027
4027
|
process.title = "Crawlio Agent";
|
|
4028
4028
|
var initMode = process.argv.includes("init") || process.argv.includes("--setup") || process.argv.includes("setup");
|
|
4029
4029
|
if (initMode) {
|
|
4030
|
-
const { runInit } = await import("./init-
|
|
4030
|
+
const { runInit } = await import("./init-I76TEVJC.js");
|
|
4031
4031
|
await runInit(process.argv.slice(2));
|
|
4032
4032
|
process.exit(0);
|
|
4033
4033
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PKG_VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QZGTL4WX.js";
|
|
4
4
|
|
|
5
5
|
// src/mcp-server/init.ts
|
|
6
6
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -76,14 +76,21 @@ function buildAddMcpArgs(options) {
|
|
|
76
76
|
}
|
|
77
77
|
function buildStdioEntry(options) {
|
|
78
78
|
if (platform() === "darwin") {
|
|
79
|
-
const
|
|
80
|
-
const wrapperPath = createAppWrapper(
|
|
79
|
+
const serverPath2 = getServerEntryPath();
|
|
80
|
+
const wrapperPath = createAppWrapper(serverPath2);
|
|
81
81
|
if (wrapperPath) {
|
|
82
82
|
const args2 = [];
|
|
83
83
|
if (options?.full) args2.push("--full");
|
|
84
84
|
return { command: wrapperPath, args: args2 };
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
+
const serverPath = getServerEntryPath();
|
|
88
|
+
if (existsSync(serverPath)) {
|
|
89
|
+
const nodePath = resolveNodePath();
|
|
90
|
+
const args2 = [serverPath];
|
|
91
|
+
if (options?.full) args2.push("--full");
|
|
92
|
+
return { command: nodePath, args: args2 };
|
|
93
|
+
}
|
|
87
94
|
const args = ["-y", `crawlio-browser@${PKG_VERSION}`];
|
|
88
95
|
if (options?.full) args.push("--full");
|
|
89
96
|
return { command: "npx", args };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "crawlio-browser",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "MCP server with 96 CDP-backed tools for browser automation — screenshots, DOM, network capture, framework detection, cookies, storage, session recording, performance metrics via Chrome",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/mcp-server/index.js",
|