open-agents-ai 0.185.47 → 0.185.48
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/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43441,6 +43441,12 @@ function detectPkgManager() {
|
|
|
43441
43441
|
if (plat === "darwin") {
|
|
43442
43442
|
if (hasCmd("brew"))
|
|
43443
43443
|
return "brew";
|
|
43444
|
+
try {
|
|
43445
|
+
execSync28('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"', { stdio: "pipe", timeout: 3e5, env: { ...process.env, NONINTERACTIVE: "1" } });
|
|
43446
|
+
if (hasCmd("brew"))
|
|
43447
|
+
return "brew";
|
|
43448
|
+
} catch {
|
|
43449
|
+
}
|
|
43444
43450
|
return null;
|
|
43445
43451
|
}
|
|
43446
43452
|
if (hasCmd("apt-get"))
|
package/package.json
CHANGED