repoburg 1.3.314 → 1.3.315
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.
|
@@ -119096,13 +119096,24 @@ async function codexBrowserMcp(cwd) {
|
|
|
119096
119096
|
return { args, instructions: mcp.tabtape ? CODEX_BROWSER_CHECK_INSTRUCTIONS : null };
|
|
119097
119097
|
}
|
|
119098
119098
|
var prepared = false;
|
|
119099
|
+
function chromiumDownloadCommand(execPath = process.execPath) {
|
|
119100
|
+
const bin = path17.dirname(execPath);
|
|
119101
|
+
const npx = path17.join(bin, process.platform === "win32" ? "npx.cmd" : "npx");
|
|
119102
|
+
if (!fs11.existsSync(npx)) return null;
|
|
119103
|
+
return {
|
|
119104
|
+
command: npx,
|
|
119105
|
+
args: ["-y", "@playwright/mcp@latest", "install-browser", "chromium"],
|
|
119106
|
+
env: { ...process.env, PATH: [bin, process.env.PATH].filter(Boolean).join(path17.delimiter) }
|
|
119107
|
+
};
|
|
119108
|
+
}
|
|
119099
119109
|
function prepareBrowserMcp() {
|
|
119100
119110
|
if (prepared || disabled()) return;
|
|
119101
119111
|
prepared = true;
|
|
119102
119112
|
if (!playwrightMcpScript()) return;
|
|
119103
|
-
const
|
|
119113
|
+
const download = chromiumDownloadCommand();
|
|
119114
|
+
if (!download) return;
|
|
119104
119115
|
try {
|
|
119105
|
-
const child = spawn6(
|
|
119116
|
+
const child = spawn6(download.command, download.args, { stdio: "ignore", env: download.env });
|
|
119106
119117
|
child.on("error", (err) => console.warn("[browser-mcp] Chromium download failed to start:", err.message));
|
|
119107
119118
|
child.on("exit", (code) => {
|
|
119108
119119
|
if (code !== 0) console.warn(`[browser-mcp] Chromium download exited with ${code}`);
|
|
@@ -119109,13 +119109,24 @@ async function codexBrowserMcp(cwd) {
|
|
|
119109
119109
|
return { args, instructions: mcp.tabtape ? CODEX_BROWSER_CHECK_INSTRUCTIONS : null };
|
|
119110
119110
|
}
|
|
119111
119111
|
var prepared = false;
|
|
119112
|
+
function chromiumDownloadCommand(execPath = process.execPath) {
|
|
119113
|
+
const bin = path17.dirname(execPath);
|
|
119114
|
+
const npx = path17.join(bin, process.platform === "win32" ? "npx.cmd" : "npx");
|
|
119115
|
+
if (!fs11.existsSync(npx)) return null;
|
|
119116
|
+
return {
|
|
119117
|
+
command: npx,
|
|
119118
|
+
args: ["-y", "@playwright/mcp@latest", "install-browser", "chromium"],
|
|
119119
|
+
env: { ...process.env, PATH: [bin, process.env.PATH].filter(Boolean).join(path17.delimiter) }
|
|
119120
|
+
};
|
|
119121
|
+
}
|
|
119112
119122
|
function prepareBrowserMcp() {
|
|
119113
119123
|
if (prepared || disabled()) return;
|
|
119114
119124
|
prepared = true;
|
|
119115
119125
|
if (!playwrightMcpScript()) return;
|
|
119116
|
-
const
|
|
119126
|
+
const download = chromiumDownloadCommand();
|
|
119127
|
+
if (!download) return;
|
|
119117
119128
|
try {
|
|
119118
|
-
const child = spawn6(
|
|
119129
|
+
const child = spawn6(download.command, download.args, { stdio: "ignore", env: download.env });
|
|
119119
119130
|
child.on("error", (err) => console.warn("[browser-mcp] Chromium download failed to start:", err.message));
|
|
119120
119131
|
child.on("exit", (code) => {
|
|
119121
119132
|
if (code !== 0) console.warn(`[browser-mcp] Chromium download exited with ${code}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tree": "3f01773d2dfcfcfee7b73a8c7d7497c15ad692bc",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "1adc3b36222e55a938f3fb6bc90cb75cbeffec5b",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"repoburgVersion": "1.3.
|
|
6
|
-
"builtAt": "2026-11-09T07:
|
|
5
|
+
"repoburgVersion": "1.3.315",
|
|
6
|
+
"builtAt": "2026-11-09T07:25:50.840Z"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tree": "3f01773d2dfcfcfee7b73a8c7d7497c15ad692bc",
|
|
3
|
-
"commit": "
|
|
3
|
+
"commit": "1adc3b36222e55a938f3fb6bc90cb75cbeffec5b",
|
|
4
4
|
"dirty": false,
|
|
5
|
-
"repoburgVersion": "1.3.
|
|
6
|
-
"builtAt": "2026-11-09T07:
|
|
5
|
+
"repoburgVersion": "1.3.315",
|
|
6
|
+
"builtAt": "2026-11-09T07:25:50.840Z"
|
|
7
7
|
}
|